File tree Expand file tree Collapse file tree 3 files changed +22
-3
lines changed
Expand file tree Collapse file tree 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+
120## 0.2.0
221
322* [ FEATURE] When specifying ` base ` for a styled component it is treated as an
Original file line number Diff line number Diff line change 66import * as types from 'babel-types' ;
77
88// 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 _ ] + ) ) ? $ / ;
1111
1212export type ComponentRef = {
1313 source : string ;
Original file line number Diff line number Diff line change 11Label {
2- base : lib. Label;
2+ base : lib? Label;
33 color : red;
44}
You can’t perform that action at this time.
0 commit comments