taro-css-to-react-native 3.5.4 → 3.5.5-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -28,7 +28,7 @@ function borderDirectionFactory() {
|
|
|
28
28
|
}), _defineProperty(_anyOrderFactory, "".concat(prefix, "Color"), {
|
|
29
29
|
tokens: [COLOR],
|
|
30
30
|
"default": 'black'
|
|
31
|
-
}), _defineProperty(_anyOrderFactory, ""
|
|
31
|
+
}), _defineProperty(_anyOrderFactory, "borderStyle", {
|
|
32
32
|
tokens: [(0, _tokenTypes.regExpToken)(/^(solid|dashed|dotted)$/)],
|
|
33
33
|
"default": 'solid'
|
|
34
34
|
}), _anyOrderFactory));
|
package/package.json
CHANGED
|
@@ -14,7 +14,8 @@ function borderDirectionFactory (direction = '') {
|
|
|
14
14
|
tokens: [COLOR],
|
|
15
15
|
default: 'black',
|
|
16
16
|
},
|
|
17
|
-
|
|
17
|
+
// RN 不支持 borderTopStyle,解析成 borderStyle
|
|
18
|
+
[`borderStyle`]: {
|
|
18
19
|
tokens: [regExpToken(/^(solid|dashed|dotted)$/)],
|
|
19
20
|
default: 'solid',
|
|
20
21
|
},
|