File tree 3 files changed +22
-3
lines changed
3 files changed +22
-3
lines changed Original file line number Diff line number Diff line change
1
+ ## 0.3.0
2
+
3
+ * [ BREAKING] Component spec format changed from using ` . ` as a delimiter between
4
+ module and export name to ` ? ` .
5
+
6
+ Update:
7
+
8
+ Label {
9
+ base: mylib.Label;
10
+ color: red;
11
+ }
12
+
13
+ To:
14
+
15
+ Label {
16
+ base: mylib?Label;
17
+ color: red;
18
+ }
19
+
1
20
## 0.2.0
2
21
3
22
* [ FEATURE] When specifying ` base ` for a styled component it is treated as an
Original file line number Diff line number Diff line change 6
6
import * as types from 'babel-types' ;
7
7
8
8
// TODO: More robust regexpes required!
9
- const PARSE_REF_RE = / ^ ( [ a - z A - Z 0 - 9 _ \ -\/ ] + ) ( \. ( [ a - z A - Z 0 - 9 _ ] + ) ) ? $ / ;
10
- const PARSE_NAMED_REF_RE = / ^ ( [ a - z A - Z 0 - 9 _ ] + ) = ( [ a - z A - Z 0 - 9 _ \- \/ ] + ) ( \. ( [ a - z A - Z 0 - 9 _ ] + ) ) ? $ / ;
9
+ const PARSE_REF_RE = / ^ ( [ a - z A - Z 0 - 9 \. _ \ -\/ ] + ) ( \? ( [ a - z A - Z 0 - 9 _ ] + ) ) ? $ / ;
10
+ const PARSE_NAMED_REF_RE = / ^ ( [ a - z A - Z 0 - 9 _ ] + ) = ( [ a - z A - Z 0 - 9 _ \. \ -\/ ] + ) ( \? ( [ a - z A - Z 0 - 9 _ ] + ) ) ? $ / ;
11
11
12
12
export type ComponentRef = {
13
13
source : string ;
Original file line number Diff line number Diff line change 1
1
Label {
2
- base : lib. Label;
2
+ base : lib? Label;
3
3
color : red;
4
4
}
You can’t perform that action at this time.
0 commit comments