@tarojs/rn-style-transformer 4.0.5-alpha.7 → 4.0.5
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.
- package/dist/transforms/StyleSheet/ImageStylePropTypes.d.ts +6 -0
- package/dist/transforms/StyleSheet/ImageStylePropTypes.js +1 -1
- package/dist/transforms/StyleSheet/ImageStylePropTypes.js.map +1 -1
- package/dist/transforms/StyleSheet/LayoutPropTypes.d.ts +12 -0
- package/dist/transforms/StyleSheet/LayoutPropTypes.js +25 -3
- package/dist/transforms/StyleSheet/LayoutPropTypes.js.map +1 -1
- package/dist/transforms/StyleSheet/TextStylePropTypes.d.ts +27 -33
- package/dist/transforms/StyleSheet/TextStylePropTypes.js +32 -48
- package/dist/transforms/StyleSheet/TextStylePropTypes.js.map +1 -1
- package/dist/transforms/StyleSheet/TransformPropTypes.d.ts +1 -0
- package/dist/transforms/StyleSheet/TransformPropTypes.js +7 -0
- package/dist/transforms/StyleSheet/TransformPropTypes.js.map +1 -1
- package/dist/transforms/StyleSheet/ViewStylePropTypes.d.ts +18 -0
- package/dist/transforms/StyleSheet/ViewStylePropTypes.js +7 -2
- package/dist/transforms/StyleSheet/ViewStylePropTypes.js.map +1 -1
- package/package.json +6 -6
|
@@ -6,7 +6,9 @@ declare const ImageStylePropTypes: {
|
|
|
6
6
|
borderColor: any;
|
|
7
7
|
borderWidth: ReactPropTypes.Requireable<number>;
|
|
8
8
|
borderRadius: ReactPropTypes.Requireable<number>;
|
|
9
|
+
cursor: ReactPropTypes.Requireable<string>;
|
|
9
10
|
overflow: ReactPropTypes.Requireable<string>;
|
|
11
|
+
objectFit: ReactPropTypes.Requireable<string>;
|
|
10
12
|
/**
|
|
11
13
|
* Changes the color of all the non-transparent pixels to the tintColor.
|
|
12
14
|
*/
|
|
@@ -59,6 +61,7 @@ declare const ImageStylePropTypes: {
|
|
|
59
61
|
}> | ReactPropTypes.InferProps<{
|
|
60
62
|
skewY: ReactPropTypes.Requireable<string>;
|
|
61
63
|
}> | null | undefined> | null | undefined)[]>;
|
|
64
|
+
transformOrigin: ReactPropTypes.Requireable<NonNullable<string | (NonNullable<string | number | null | undefined> | null | undefined)[] | null | undefined>>;
|
|
62
65
|
transformMatrix: (props: any, propName: any, _componentName: any) => Error | undefined;
|
|
63
66
|
decomposedMatrix: (props: any, propName: any, _componentName: any) => Error | undefined;
|
|
64
67
|
scaleX: (props: any, propName: any, componentName: any, ...rest: any[]) => any;
|
|
@@ -124,5 +127,8 @@ declare const ImageStylePropTypes: {
|
|
|
124
127
|
aspectRatio: ReactPropTypes.Requireable<number>;
|
|
125
128
|
zIndex: ReactPropTypes.Requireable<number>;
|
|
126
129
|
direction: ReactPropTypes.Requireable<string>;
|
|
130
|
+
rowGap: ReactPropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
131
|
+
columnGap: ReactPropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
132
|
+
gap: ReactPropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
127
133
|
};
|
|
128
134
|
export default ImageStylePropTypes;
|
|
@@ -41,7 +41,7 @@ const ImageResizeMode_1 = __importDefault(require("./ImageResizeMode"));
|
|
|
41
41
|
const LayoutPropTypes_1 = __importDefault(require("./LayoutPropTypes"));
|
|
42
42
|
const ShadowPropTypesIOS_1 = __importDefault(require("./ShadowPropTypesIOS"));
|
|
43
43
|
const TransformPropTypes_1 = __importDefault(require("./TransformPropTypes"));
|
|
44
|
-
const ImageStylePropTypes = Object.assign(Object.assign(Object.assign(Object.assign({}, LayoutPropTypes_1.default), ShadowPropTypesIOS_1.default), TransformPropTypes_1.default), { resizeMode: ReactPropTypes.oneOf(Object.keys(ImageResizeMode_1.default)), backfaceVisibility: ReactPropTypes.oneOf(['visible', 'hidden']), backgroundColor: ColorPropType_1.default, borderColor: ColorPropType_1.default, borderWidth: ReactPropTypes.number, borderRadius: ReactPropTypes.number, overflow: ReactPropTypes.oneOf(['visible', 'hidden']),
|
|
44
|
+
const ImageStylePropTypes = Object.assign(Object.assign(Object.assign(Object.assign({}, LayoutPropTypes_1.default), ShadowPropTypesIOS_1.default), TransformPropTypes_1.default), { resizeMode: ReactPropTypes.oneOf(Object.keys(ImageResizeMode_1.default)), backfaceVisibility: ReactPropTypes.oneOf(['visible', 'hidden']), backgroundColor: ColorPropType_1.default, borderColor: ColorPropType_1.default, borderWidth: ReactPropTypes.number, borderRadius: ReactPropTypes.number, cursor: ReactPropTypes.oneOf(['auto', 'pointer']), overflow: ReactPropTypes.oneOf(['visible', 'hidden']), objectFit: ReactPropTypes.oneOf(['cover', 'contain', 'fill', 'scale-down']),
|
|
45
45
|
/**
|
|
46
46
|
* Changes the color of all the non-transparent pixels to the tintColor.
|
|
47
47
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageStylePropTypes.js","sourceRoot":"","sources":["../../../src/transforms/StyleSheet/ImageStylePropTypes.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,YAAY,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEZ,2DAA4C;AAE5C,oEAA2C;AAC3C,wEAA+C;AAC/C,wEAA+C;AAC/C,8EAAqD;AACrD,8EAAqD;AAErD,MAAM,mBAAmB,+DACpB,yBAAe,GACf,4BAAkB,GAClB,4BAAkB,KACrB,UAAU,EAAE,cAAc,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,yBAAe,CAAC,CAAC,EAC9D,kBAAkB,EAAE,cAAc,CAAC,KAAK,CAAC,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,EAC/D,eAAe,EAAE,uBAAa,EAC9B,WAAW,EAAE,uBAAa,EAC1B,WAAW,EAAE,cAAc,CAAC,MAAM,EAClC,YAAY,EAAE,cAAc,CAAC,MAAM,EACnC,QAAQ,EAAE,cAAc,CAAC,KAAK,CAAC,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"ImageStyl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,17 @@ declare const LayoutPropTypes: {
|
|
|
384
384
|
* @platform ios
|
|
385
385
|
*/
|
|
386
386
|
direction: ReactPropTypes.Requireable<string>;
|
|
387
|
+
/**
|
|
388
|
+
* In React Native, gap works the same way it does in CSS.
|
|
389
|
+
* If there are two or more children in a container, they will be separated from each other
|
|
390
|
+
* by the value of the gap - but the children will not be separated from the edges of their parent container.
|
|
391
|
+
* For horizontal gaps, use columnGap, for vertical gaps, use rowGap, and to apply both at the same time, it's gap.
|
|
392
|
+
* When align-content or justify-content are set to space-between or space-around, the separation
|
|
393
|
+
* between children may be larger than the gap value.
|
|
394
|
+
* See https://developer.mozilla.org/en-US/docs/Web/CSS/gap for more details.
|
|
395
|
+
*/
|
|
396
|
+
rowGap: ReactPropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
397
|
+
columnGap: ReactPropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
398
|
+
gap: ReactPropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
387
399
|
};
|
|
388
400
|
export default LayoutPropTypes;
|
|
@@ -380,7 +380,7 @@ const LayoutPropTypes = {
|
|
|
380
380
|
* for more details on how `position` differs between React Native
|
|
381
381
|
* and CSS.
|
|
382
382
|
*/
|
|
383
|
-
position: ReactPropTypes.oneOf(['absolute', 'relative']),
|
|
383
|
+
position: ReactPropTypes.oneOf(['absolute', 'relative', 'static']),
|
|
384
384
|
/** `flexDirection` controls which directions children of a container go.
|
|
385
385
|
* `row` goes left to right, `column` goes top to bottom, and you may
|
|
386
386
|
* be able to guess what the other two do. It works like `flex-direction`
|
|
@@ -455,7 +455,8 @@ const LayoutPropTypes = {
|
|
|
455
455
|
'center',
|
|
456
456
|
'stretch',
|
|
457
457
|
'space-between',
|
|
458
|
-
'space-around'
|
|
458
|
+
'space-around',
|
|
459
|
+
'space-evenly'
|
|
459
460
|
]),
|
|
460
461
|
/** `overflow` controls how children are measured and displayed.
|
|
461
462
|
* `overflow: hidden` causes views to be clipped while `overflow: scroll`
|
|
@@ -527,7 +528,28 @@ const LayoutPropTypes = {
|
|
|
527
528
|
* for more details.
|
|
528
529
|
* @platform ios
|
|
529
530
|
*/
|
|
530
|
-
direction: ReactPropTypes.oneOf(['inherit', 'ltr', 'rtl'])
|
|
531
|
+
direction: ReactPropTypes.oneOf(['inherit', 'ltr', 'rtl']),
|
|
532
|
+
/**
|
|
533
|
+
* In React Native, gap works the same way it does in CSS.
|
|
534
|
+
* If there are two or more children in a container, they will be separated from each other
|
|
535
|
+
* by the value of the gap - but the children will not be separated from the edges of their parent container.
|
|
536
|
+
* For horizontal gaps, use columnGap, for vertical gaps, use rowGap, and to apply both at the same time, it's gap.
|
|
537
|
+
* When align-content or justify-content are set to space-between or space-around, the separation
|
|
538
|
+
* between children may be larger than the gap value.
|
|
539
|
+
* See https://developer.mozilla.org/en-US/docs/Web/CSS/gap for more details.
|
|
540
|
+
*/
|
|
541
|
+
rowGap: ReactPropTypes.oneOfType([
|
|
542
|
+
ReactPropTypes.number,
|
|
543
|
+
ReactPropTypes.string
|
|
544
|
+
]),
|
|
545
|
+
columnGap: ReactPropTypes.oneOfType([
|
|
546
|
+
ReactPropTypes.number,
|
|
547
|
+
ReactPropTypes.string
|
|
548
|
+
]),
|
|
549
|
+
gap: ReactPropTypes.oneOfType([
|
|
550
|
+
ReactPropTypes.number,
|
|
551
|
+
ReactPropTypes.string
|
|
552
|
+
]),
|
|
531
553
|
};
|
|
532
554
|
exports.default = LayoutPropTypes;
|
|
533
555
|
//# sourceMappingURL=LayoutPropTypes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayoutPropTypes.js","sourceRoot":"","sources":["../../../src/transforms/StyleSheet/LayoutPropTypes.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,2DAA4C;AAE5C;;;;;;;;;;;;GAYG;AACH,MAAM,eAAe,GAAG;IACtB;;;;OAIG;IACH,OAAO,EAAE,cAAc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;KACtB,CAAC;IACF,SAAS,EAAE,cAAc,CAAC,SAAS,CAAC;QAClC,cAAc,CAAC,MAAM;QACrB,cAAc,CAAC,MAAM;KACtB,CAAC;IACF,GAAG,EAAE,cAAc,CAAC,SAAS,CAAC;QAC5B,cAAc,CAAC,MAAM;QACrB,cAAc,CAAC,MAAM;KACtB,CAAC;CACH,CAAA;AAED,kBAAe,eAAe,CAAA"}
|
|
@@ -19,19 +19,12 @@ declare const TextStylePropTypes: {
|
|
|
19
19
|
* in that case the closest one is chosen.
|
|
20
20
|
*/
|
|
21
21
|
fontWeight: ReactPropTypes.Requireable<string>;
|
|
22
|
-
/**
|
|
23
|
-
* @platform ios
|
|
24
|
-
*/
|
|
25
|
-
fontVariant: ReactPropTypes.Requireable<(string | null | undefined)[]>;
|
|
26
22
|
textShadowOffset: ReactPropTypes.Requireable<ReactPropTypes.InferProps<{
|
|
27
23
|
width: ReactPropTypes.Requireable<number>;
|
|
28
24
|
height: ReactPropTypes.Requireable<number>;
|
|
29
25
|
}>>;
|
|
30
26
|
textShadowRadius: ReactPropTypes.Requireable<number>;
|
|
31
27
|
textShadowColor: any;
|
|
32
|
-
/**
|
|
33
|
-
* @platform ios
|
|
34
|
-
*/
|
|
35
28
|
letterSpacing: ReactPropTypes.Requireable<number>;
|
|
36
29
|
lineHeight: ReactPropTypes.Requireable<number>;
|
|
37
30
|
/**
|
|
@@ -39,10 +32,21 @@ declare const TextStylePropTypes: {
|
|
|
39
32
|
* fallbacks to `left` on Android.
|
|
40
33
|
*/
|
|
41
34
|
textAlign: ReactPropTypes.Requireable<string>;
|
|
35
|
+
textDecorationLine: ReactPropTypes.Requireable<string>;
|
|
36
|
+
textTransform: ReactPropTypes.Requireable<string>;
|
|
37
|
+
userSelect: ReactPropTypes.Requireable<string>;
|
|
38
|
+
/**
|
|
39
|
+
* @platform ios
|
|
40
|
+
*/
|
|
41
|
+
fontVariant: ReactPropTypes.Requireable<(string | null | undefined)[]>;
|
|
42
|
+
textDecorationColor: any;
|
|
43
|
+
textDecorationStyle: ReactPropTypes.Requireable<string>;
|
|
44
|
+
writingDirection: ReactPropTypes.Requireable<string>;
|
|
42
45
|
/**
|
|
43
46
|
* @platform android
|
|
44
47
|
*/
|
|
45
48
|
textAlignVertical: ReactPropTypes.Requireable<string>;
|
|
49
|
+
verticalAlign: ReactPropTypes.Requireable<string>;
|
|
46
50
|
/**
|
|
47
51
|
* Set to `false` to remove extra font padding intended to make space for certain ascenders / descenders.
|
|
48
52
|
* With some fonts, this padding can make text look slightly misaligned when centered vertically.
|
|
@@ -50,23 +54,12 @@ declare const TextStylePropTypes: {
|
|
|
50
54
|
* @platform android
|
|
51
55
|
*/
|
|
52
56
|
includeFontPadding: ReactPropTypes.Requireable<boolean>;
|
|
53
|
-
textDecorationLine: ReactPropTypes.Requireable<string>;
|
|
54
|
-
/**
|
|
55
|
-
* @platform ios
|
|
56
|
-
*/
|
|
57
|
-
textDecorationStyle: ReactPropTypes.Requireable<string>;
|
|
58
|
-
/**
|
|
59
|
-
* @platform ios
|
|
60
|
-
*/
|
|
61
|
-
textDecorationColor: any;
|
|
62
|
-
textTransform: ReactPropTypes.Requireable<string>;
|
|
63
|
-
/**
|
|
64
|
-
* @platform ios
|
|
65
|
-
*/
|
|
66
|
-
writingDirection: ReactPropTypes.Requireable<string>;
|
|
67
57
|
backfaceVisibility: ReactPropTypes.Requireable<string>;
|
|
68
58
|
backgroundColor: any;
|
|
69
59
|
borderColor: any;
|
|
60
|
+
borderBlockColor: any;
|
|
61
|
+
borderBlockStartColor: any;
|
|
62
|
+
borderBlockEndColor: any;
|
|
70
63
|
borderTopColor: any;
|
|
71
64
|
borderRightColor: any;
|
|
72
65
|
borderBottomColor: any;
|
|
@@ -82,6 +75,10 @@ declare const TextStylePropTypes: {
|
|
|
82
75
|
borderBottomRightRadius: ReactPropTypes.Requireable<number>;
|
|
83
76
|
borderBottomStartRadius: ReactPropTypes.Requireable<number>;
|
|
84
77
|
borderBottomEndRadius: ReactPropTypes.Requireable<number>;
|
|
78
|
+
borderStartStartRadius: ReactPropTypes.Requireable<number>;
|
|
79
|
+
borderStartEndRadius: ReactPropTypes.Requireable<number>;
|
|
80
|
+
borderEndStartRadius: ReactPropTypes.Requireable<number>;
|
|
81
|
+
borderEndEndRadius: ReactPropTypes.Requireable<number>;
|
|
85
82
|
borderStyle: ReactPropTypes.Requireable<string>;
|
|
86
83
|
borderWidth: ReactPropTypes.Requireable<number>;
|
|
87
84
|
borderTopWidth: ReactPropTypes.Requireable<number>;
|
|
@@ -89,7 +86,10 @@ declare const TextStylePropTypes: {
|
|
|
89
86
|
borderBottomWidth: ReactPropTypes.Requireable<number>;
|
|
90
87
|
borderLeftWidth: ReactPropTypes.Requireable<number>;
|
|
91
88
|
opacity: ReactPropTypes.Requireable<number>;
|
|
89
|
+
pointerEvents: ReactPropTypes.Requireable<string>;
|
|
90
|
+
cursor: ReactPropTypes.Requireable<string>;
|
|
92
91
|
elevation: ReactPropTypes.Requireable<number>;
|
|
92
|
+
borderCurve: ReactPropTypes.Requireable<string>;
|
|
93
93
|
transform: ReactPropTypes.Requireable<(NonNullable<ReactPropTypes.InferProps<{
|
|
94
94
|
perspective: ReactPropTypes.Requireable<number>;
|
|
95
95
|
}> | ReactPropTypes.InferProps<{
|
|
@@ -115,33 +115,24 @@ declare const TextStylePropTypes: {
|
|
|
115
115
|
}> | ReactPropTypes.InferProps<{
|
|
116
116
|
skewY: ReactPropTypes.Requireable<string>;
|
|
117
117
|
}> | null | undefined> | null | undefined)[]>;
|
|
118
|
+
transformOrigin: ReactPropTypes.Requireable<NonNullable<string | (NonNullable<string | number | null | undefined> | null | undefined)[] | null | undefined>>;
|
|
118
119
|
transformMatrix: (props: any, propName: any, _componentName: any) => Error | undefined;
|
|
119
120
|
decomposedMatrix: (props: any, propName: any, _componentName: any) => Error | undefined;
|
|
120
121
|
scaleX: (props: any, propName: any, componentName: any, ...rest: any[]) => any;
|
|
121
|
-
/**
|
|
122
|
-
* @platform ios
|
|
123
|
-
*/
|
|
124
122
|
scaleY: (props: any, propName: any, componentName: any, ...rest: any[]) => any;
|
|
125
123
|
rotation: (props: any, propName: any, componentName: any, ...rest: any[]) => any;
|
|
126
124
|
translateX: (props: any, propName: any, componentName: any, ...rest: any[]) => any;
|
|
127
125
|
translateY: (props: any, propName: any, componentName: any, ...rest: any[]) => any;
|
|
128
126
|
shadowColor: any;
|
|
129
127
|
shadowOffset: ReactPropTypes.Requireable<ReactPropTypes.InferProps<{
|
|
130
|
-
width: ReactPropTypes.Requireable<number>;
|
|
131
|
-
* @platform ios
|
|
132
|
-
*/
|
|
128
|
+
width: ReactPropTypes.Requireable<number>;
|
|
133
129
|
height: ReactPropTypes.Requireable<number>;
|
|
134
130
|
}>>;
|
|
135
131
|
shadowOpacity: ReactPropTypes.Requireable<number>;
|
|
136
132
|
shadowRadius: ReactPropTypes.Requireable<number>;
|
|
137
133
|
display: ReactPropTypes.Requireable<string>;
|
|
138
134
|
width: ReactPropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
139
|
-
height: ReactPropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
140
|
-
* Set to `false` to remove extra font padding intended to make space for certain ascenders / descenders.
|
|
141
|
-
* With some fonts, this padding can make text look slightly misaligned when centered vertically.
|
|
142
|
-
* For best results also set `textAlignVertical` to `center`. Default is true.
|
|
143
|
-
* @platform android
|
|
144
|
-
*/
|
|
135
|
+
height: ReactPropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
145
136
|
start: ReactPropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
146
137
|
end: ReactPropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
147
138
|
top: ReactPropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
@@ -187,5 +178,8 @@ declare const TextStylePropTypes: {
|
|
|
187
178
|
aspectRatio: ReactPropTypes.Requireable<number>;
|
|
188
179
|
zIndex: ReactPropTypes.Requireable<number>;
|
|
189
180
|
direction: ReactPropTypes.Requireable<string>;
|
|
181
|
+
rowGap: ReactPropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
182
|
+
columnGap: ReactPropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
183
|
+
gap: ReactPropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
190
184
|
};
|
|
191
185
|
export default TextStylePropTypes;
|
|
@@ -55,78 +55,62 @@ const TextStylePropTypes = Object.assign(Object.assign({}, ViewStylePropTypes_1.
|
|
|
55
55
|
'600',
|
|
56
56
|
'700',
|
|
57
57
|
'800',
|
|
58
|
-
'900'
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
'
|
|
65
|
-
'
|
|
66
|
-
'
|
|
67
|
-
'
|
|
68
|
-
'
|
|
69
|
-
])
|
|
58
|
+
'900',
|
|
59
|
+
'ultralight',
|
|
60
|
+
'thin',
|
|
61
|
+
'light',
|
|
62
|
+
'medium',
|
|
63
|
+
'regular',
|
|
64
|
+
'semibold',
|
|
65
|
+
'condensedBold',
|
|
66
|
+
'condensed',
|
|
67
|
+
'heavy',
|
|
68
|
+
'black'
|
|
69
|
+
]), textShadowOffset: ReactPropTypes.shape({
|
|
70
70
|
width: ReactPropTypes.number,
|
|
71
71
|
height: ReactPropTypes.number
|
|
72
|
-
}), textShadowRadius: ReactPropTypes.number, textShadowColor: ColorPropType_1.default,
|
|
73
|
-
/**
|
|
74
|
-
* @platform ios
|
|
75
|
-
*/
|
|
76
|
-
letterSpacing: ReactPropTypes.number, lineHeight: ReactPropTypes.number,
|
|
72
|
+
}), textShadowRadius: ReactPropTypes.number, textShadowColor: ColorPropType_1.default, letterSpacing: ReactPropTypes.number, lineHeight: ReactPropTypes.number,
|
|
77
73
|
/**
|
|
78
74
|
* Specifies text alignment. The value 'justify' is only supported on iOS and
|
|
79
75
|
* fallbacks to `left` on Android.
|
|
80
76
|
*/
|
|
81
77
|
textAlign: ReactPropTypes.oneOf([
|
|
82
|
-
'auto'
|
|
78
|
+
'auto',
|
|
83
79
|
'left',
|
|
84
80
|
'right',
|
|
85
81
|
'center',
|
|
86
82
|
'justify'
|
|
87
|
-
]),
|
|
88
|
-
|
|
89
|
-
* @platform android
|
|
90
|
-
*/
|
|
91
|
-
textAlignVertical: ReactPropTypes.oneOf([
|
|
92
|
-
'auto' /* default */,
|
|
93
|
-
'top',
|
|
94
|
-
'bottom',
|
|
95
|
-
'center'
|
|
96
|
-
]),
|
|
97
|
-
/**
|
|
98
|
-
* Set to `false` to remove extra font padding intended to make space for certain ascenders / descenders.
|
|
99
|
-
* With some fonts, this padding can make text look slightly misaligned when centered vertically.
|
|
100
|
-
* For best results also set `textAlignVertical` to `center`. Default is true.
|
|
101
|
-
* @platform android
|
|
102
|
-
*/
|
|
103
|
-
includeFontPadding: ReactPropTypes.bool, textDecorationLine: ReactPropTypes.oneOf([
|
|
104
|
-
'none' /* default */,
|
|
83
|
+
]), textDecorationLine: ReactPropTypes.oneOf([
|
|
84
|
+
'none',
|
|
105
85
|
'underline',
|
|
106
86
|
'line-through',
|
|
107
87
|
'underline line-through'
|
|
108
|
-
]),
|
|
88
|
+
]), textTransform: ReactPropTypes.oneOf(['none', 'capitalize', 'uppercase', 'lowercase']), userSelect: ReactPropTypes.oneOf(['auto', 'none', 'text', 'contain', 'all']),
|
|
109
89
|
/**
|
|
110
90
|
* @platform ios
|
|
111
91
|
*/
|
|
112
|
-
|
|
92
|
+
fontVariant: ReactPropTypes.arrayOf(ReactPropTypes.oneOf([
|
|
93
|
+
'small-caps',
|
|
94
|
+
'oldstyle-nums',
|
|
95
|
+
'lining-nums',
|
|
96
|
+
'tabular-nums',
|
|
97
|
+
'proportional-nums'
|
|
98
|
+
])), textDecorationColor: ColorPropType_1.default, textDecorationStyle: ReactPropTypes.oneOf([
|
|
113
99
|
'solid' /* default */,
|
|
114
100
|
'double',
|
|
115
101
|
'dotted',
|
|
116
102
|
'dashed'
|
|
117
|
-
]),
|
|
103
|
+
]), writingDirection: ReactPropTypes.oneOf(['auto' /* default */, 'ltr', 'rtl']),
|
|
118
104
|
/**
|
|
119
|
-
* @platform
|
|
105
|
+
* @platform android
|
|
120
106
|
*/
|
|
121
|
-
|
|
122
|
-
'none' /* default */,
|
|
123
|
-
'capitalize',
|
|
124
|
-
'uppercase',
|
|
125
|
-
'lowercase'
|
|
126
|
-
]),
|
|
107
|
+
textAlignVertical: ReactPropTypes.oneOf(['auto', 'top', 'bottom', 'center']), verticalAlign: ReactPropTypes.oneOf(['auto', 'top', 'bottom', 'middle']),
|
|
127
108
|
/**
|
|
128
|
-
*
|
|
109
|
+
* Set to `false` to remove extra font padding intended to make space for certain ascenders / descenders.
|
|
110
|
+
* With some fonts, this padding can make text look slightly misaligned when centered vertically.
|
|
111
|
+
* For best results also set `textAlignVertical` to `center`. Default is true.
|
|
112
|
+
* @platform android
|
|
129
113
|
*/
|
|
130
|
-
|
|
114
|
+
includeFontPadding: ReactPropTypes.bool });
|
|
131
115
|
exports.default = TextStylePropTypes;
|
|
132
116
|
//# sourceMappingURL=TextStylePropTypes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextStylePropTypes.js","sourceRoot":"","sources":["../../../src/transforms/StyleSheet/TextStylePropTypes.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,YAAY,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEZ,2DAA4C;AAE5C,oEAA2C;AAC3C,8EAAqD;AAErD,MAAM,kBAAkB,mCACnB,4BAAkB,KAErB,KAAK,EAAE,uBAAa,EACpB,UAAU,EAAE,cAAc,CAAC,MAAM,EACjC,QAAQ,EAAE,cAAc,CAAC,MAAM,EAC/B,SAAS,EAAE,cAAc,CAAC,KAAK,CAAC,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;IACrD;;;;OAIG;IACH,UAAU,EAAE,cAAc,CAAC,KAAK,CAAC;QAC/B,QAAQ,CAAC,aAAa;QACtB,MAAM;QACN,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;
|
|
1
|
+
{"version":3,"file":"TextStylePropTypes.js","sourceRoot":"","sources":["../../../src/transforms/StyleSheet/TextStylePropTypes.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,YAAY,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEZ,2DAA4C;AAE5C,oEAA2C;AAC3C,8EAAqD;AAErD,MAAM,kBAAkB,mCACnB,4BAAkB,KAErB,KAAK,EAAE,uBAAa,EACpB,UAAU,EAAE,cAAc,CAAC,MAAM,EACjC,QAAQ,EAAE,cAAc,CAAC,MAAM,EAC/B,SAAS,EAAE,cAAc,CAAC,KAAK,CAAC,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;IACrD;;;;OAIG;IACH,UAAU,EAAE,cAAc,CAAC,KAAK,CAAC;QAC/B,QAAQ,CAAC,aAAa;QACtB,MAAM;QACN,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,YAAY;QACZ,MAAM;QACN,OAAO;QACP,QAAQ;QACR,SAAS;QACT,UAAU;QACV,eAAe;QACf,WAAW;QACX,OAAO;QACP,OAAO;KACR,CAAC,EACF,gBAAgB,EAAE,cAAc,CAAC,KAAK,CAAC;QACrC,KAAK,EAAE,cAAc,CAAC,MAAM;QAC5B,MAAM,EAAE,cAAc,CAAC,MAAM;KAC9B,CAAC,EACF,gBAAgB,EAAE,cAAc,CAAC,MAAM,EACvC,eAAe,EAAE,uBAAa,EAC9B,aAAa,EAAE,cAAc,CAAC,MAAM,EACpC,UAAU,EAAE,cAAc,CAAC,MAAM;IACjC;;;OAGG;IACH,SAAS,EAAE,cAAc,CAAC,KAAK,CAAC;QAC9B,MAAM;QACN,MAAM;QACN,OAAO;QACP,QAAQ;QACR,SAAS;KACV,CAAC,EACF,kBAAkB,EAAE,cAAc,CAAC,KAAK,CAAC;QACvC,MAAM;QACN,WAAW;QACX,cAAc;QACd,wBAAwB;KACzB,CAAC,EACF,aAAa,EAAE,cAAc,CAAC,KAAK,CAAC,CAAC,MAAM,EAAE,YAAY,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC,EACrF,UAAU,EAAE,cAAc,CAAC,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC;IAE5E;;OAEG;IACH,WAAW,EAAE,cAAc,CAAC,OAAO,CACjC,cAAc,CAAC,KAAK,CAAC;QACnB,YAAY;QACZ,eAAe;QACf,aAAa;QACb,cAAc;QACd,mBAAmB;KACpB,CAAC,CACH,EACD,mBAAmB,EAAE,uBAAa,EAClC,mBAAmB,EAAE,cAAc,CAAC,KAAK,CAAC;QACxC,OAAO,CAAC,aAAa;QACrB,QAAQ;QACR,QAAQ;QACR,QAAQ;KACT,CAAC,EACF,gBAAgB,EAAE,cAAc,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,aAAa,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAE5E;;OAEG;IACH,iBAAiB,EAAE,cAAc,CAAC,KAAK,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC,EAC5E,aAAa,EAAE,cAAc,CAAC,KAAK,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;IACxE;;;;;OAKG;IACH,kBAAkB,EAAE,cAAc,CAAC,IAAI,GACxC,CAAA;AAED,kBAAe,kBAAkB,CAAA"}
|
|
@@ -50,6 +50,7 @@ declare const TransformPropTypes: {
|
|
|
50
50
|
}> | ReactPropTypes.InferProps<{
|
|
51
51
|
skewY: ReactPropTypes.Requireable<string>;
|
|
52
52
|
}> | null | undefined> | null | undefined)[]>;
|
|
53
|
+
transformOrigin: ReactPropTypes.Requireable<NonNullable<string | (NonNullable<string | number | null | undefined> | null | undefined)[] | null | undefined>>;
|
|
53
54
|
/**
|
|
54
55
|
* Deprecated. Use the transform prop instead.
|
|
55
56
|
*/
|
|
@@ -80,6 +80,13 @@ const TransformPropTypes = {
|
|
|
80
80
|
ReactPropTypes.shape({ skewX: ReactPropTypes.string }),
|
|
81
81
|
ReactPropTypes.shape({ skewY: ReactPropTypes.string })
|
|
82
82
|
])),
|
|
83
|
+
transformOrigin: ReactPropTypes.oneOfType([
|
|
84
|
+
ReactPropTypes.arrayOf(ReactPropTypes.oneOfType([
|
|
85
|
+
ReactPropTypes.number,
|
|
86
|
+
ReactPropTypes.string
|
|
87
|
+
])),
|
|
88
|
+
ReactPropTypes.string
|
|
89
|
+
]),
|
|
83
90
|
/**
|
|
84
91
|
* Deprecated. Use the transform prop instead.
|
|
85
92
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransformPropTypes.js","sourceRoot":"","sources":["../../../src/transforms/StyleSheet/TransformPropTypes.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,YAAY,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEZ,2DAA4C;AAE5C,8EAAqD;AAErD,MAAM,uBAAuB,GAAG,UAC9B,KAAK,EACL,QAAQ,EACR,cAAc;IAEd,IAAI,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC;QACpB,OAAO,IAAI,KAAK,CACd,oDAAoD;YACpD,6CAA6C,CAC9C,CAAA;IACH,CAAC;AACH,CAAC,CAAA;AAED,MAAM,wBAAwB,GAAG,UAC/B,KAAK,EACL,QAAQ,EACR,cAAc;IAEd,IAAI,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC;QACpB,OAAO,IAAI,KAAK,CACd,qDAAqD;YACrD,iCAAiC,CAClC,CAAA;IACH,CAAC;AACH,CAAC,CAAA;AAED,MAAM,kBAAkB,GAAG;IACzB;;;;;;;;;;;;;;;OAeG;IACH,SAA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c,CAAC,KAAK,CAAC,EAAE,UAAU,EAAE,cAAc,CAAC,MAAM,EAAE,CAAC;QAC3D,cAAc,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,cAAc,CAAC,MAAM,EAAE,CAAC;QACtD,cAAc,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,cAAc,CAAC,MAAM,EAAE,CAAC;KACvD,CAAC,CACH;IACD,eAAe,EAAE,cAAc,CAAC,SAAS,CAAC;QACxC,cAAc,CAAC,OAAO,CACpB,cAAc,CAAC,SAAS,CAAC;YACvB,cAAc,CAAC,MAAM;YACrB,cAAc,CAAC,MAAM;SACtB,CAAC,CACH;QACD,cAAc,CAAC,MAAM;KACtB,CAAC;IAEF;;OAEG;IACH,eAAe,EAAE,uBAAuB;IACxC;;OAEG;IACH,gBAAgB,EAAE,wBAAwB;IAE1C,qDAAqD;IACrD,MAAM,EAAE,IAAA,4BAAkB,EACxB,cAAc,CAAC,MAAM,EACrB,iCAAiC,CAClC;IACD,MAAM,EAAE,IAAA,4BAAkB,EACxB,cAAc,CAAC,MAAM,EACrB,iCAAiC,CAClC;IACD,QAAQ,EAAE,IAAA,4BAAkB,EAC1B,cAAc,CAAC,MAAM,EACrB,iCAAiC,CAClC;IACD,UAAU,EAAE,IAAA,4BAAkB,EAC5B,cAAc,CAAC,MAAM,EACrB,iCAAiC,CAClC;IACD,UAAU,EAAE,IAAA,4BAAkB,EAC5B,cAAc,CAAC,MAAM,EACrB,iCAAiC,CAClC;CACF,CAAA;AAED,kBAAe,kBAAkB,CAAA"}
|
|
@@ -15,6 +15,9 @@ declare const ViewStylePropTypes: {
|
|
|
15
15
|
backfaceVisibility: ReactPropTypes.Requireable<string>;
|
|
16
16
|
backgroundColor: any;
|
|
17
17
|
borderColor: any;
|
|
18
|
+
borderBlockColor: any;
|
|
19
|
+
borderBlockStartColor: any;
|
|
20
|
+
borderBlockEndColor: any;
|
|
18
21
|
borderTopColor: any;
|
|
19
22
|
borderRightColor: any;
|
|
20
23
|
borderBottomColor: any;
|
|
@@ -30,6 +33,10 @@ declare const ViewStylePropTypes: {
|
|
|
30
33
|
borderBottomRightRadius: ReactPropTypes.Requireable<number>;
|
|
31
34
|
borderBottomStartRadius: ReactPropTypes.Requireable<number>;
|
|
32
35
|
borderBottomEndRadius: ReactPropTypes.Requireable<number>;
|
|
36
|
+
borderStartStartRadius: ReactPropTypes.Requireable<number>;
|
|
37
|
+
borderStartEndRadius: ReactPropTypes.Requireable<number>;
|
|
38
|
+
borderEndStartRadius: ReactPropTypes.Requireable<number>;
|
|
39
|
+
borderEndEndRadius: ReactPropTypes.Requireable<number>;
|
|
33
40
|
borderStyle: ReactPropTypes.Requireable<string>;
|
|
34
41
|
borderWidth: ReactPropTypes.Requireable<number>;
|
|
35
42
|
borderTopWidth: ReactPropTypes.Requireable<number>;
|
|
@@ -37,6 +44,8 @@ declare const ViewStylePropTypes: {
|
|
|
37
44
|
borderBottomWidth: ReactPropTypes.Requireable<number>;
|
|
38
45
|
borderLeftWidth: ReactPropTypes.Requireable<number>;
|
|
39
46
|
opacity: ReactPropTypes.Requireable<number>;
|
|
47
|
+
pointerEvents: ReactPropTypes.Requireable<string>;
|
|
48
|
+
cursor: ReactPropTypes.Requireable<string>;
|
|
40
49
|
/**
|
|
41
50
|
* (Android-only) Sets the elevation of a view, using Android's underlying
|
|
42
51
|
* [elevation API](https://developer.android.com/training/material/shadows-clipping.html#Elevation).
|
|
@@ -45,6 +54,11 @@ declare const ViewStylePropTypes: {
|
|
|
45
54
|
* @platform android
|
|
46
55
|
*/
|
|
47
56
|
elevation: ReactPropTypes.Requireable<number>;
|
|
57
|
+
/**
|
|
58
|
+
* On iOS 13+, it is possible to change the corner curve of borders.
|
|
59
|
+
* @platform ios
|
|
60
|
+
*/
|
|
61
|
+
borderCurve: ReactPropTypes.Requireable<string>;
|
|
48
62
|
transform: ReactPropTypes.Requireable<(NonNullable<ReactPropTypes.InferProps<{
|
|
49
63
|
perspective: ReactPropTypes.Requireable<number>;
|
|
50
64
|
}> | ReactPropTypes.InferProps<{
|
|
@@ -70,6 +84,7 @@ declare const ViewStylePropTypes: {
|
|
|
70
84
|
}> | ReactPropTypes.InferProps<{
|
|
71
85
|
skewY: ReactPropTypes.Requireable<string>;
|
|
72
86
|
}> | null | undefined> | null | undefined)[]>;
|
|
87
|
+
transformOrigin: ReactPropTypes.Requireable<NonNullable<string | (NonNullable<string | number | null | undefined> | null | undefined)[] | null | undefined>>;
|
|
73
88
|
transformMatrix: (props: any, propName: any, _componentName: any) => Error | undefined;
|
|
74
89
|
decomposedMatrix: (props: any, propName: any, _componentName: any) => Error | undefined;
|
|
75
90
|
scaleX: (props: any, propName: any, componentName: any, ...rest: any[]) => any;
|
|
@@ -132,5 +147,8 @@ declare const ViewStylePropTypes: {
|
|
|
132
147
|
aspectRatio: ReactPropTypes.Requireable<number>;
|
|
133
148
|
zIndex: ReactPropTypes.Requireable<number>;
|
|
134
149
|
direction: ReactPropTypes.Requireable<string>;
|
|
150
|
+
rowGap: ReactPropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
151
|
+
columnGap: ReactPropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
152
|
+
gap: ReactPropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
135
153
|
};
|
|
136
154
|
export default ViewStylePropTypes;
|
|
@@ -43,7 +43,7 @@ const TransformPropTypes_1 = __importDefault(require("./TransformPropTypes"));
|
|
|
43
43
|
/**
|
|
44
44
|
* Warning: Some of these properties may not be supported in all releases.
|
|
45
45
|
*/
|
|
46
|
-
const ViewStylePropTypes = Object.assign(Object.assign(Object.assign(Object.assign({}, LayoutPropTypes_1.default), ShadowPropTypesIOS_1.default), TransformPropTypes_1.default), { backfaceVisibility: ReactPropTypes.oneOf(['visible', 'hidden']), backgroundColor: ColorPropType_1.default, borderColor: ColorPropType_1.default, borderTopColor: ColorPropType_1.default, borderRightColor: ColorPropType_1.default, borderBottomColor: ColorPropType_1.default, borderLeftColor: ColorPropType_1.default, borderStartColor: ColorPropType_1.default, borderEndColor: ColorPropType_1.default, borderRadius: ReactPropTypes.number, borderTopLeftRadius: ReactPropTypes.number, borderTopRightRadius: ReactPropTypes.number, borderTopStartRadius: ReactPropTypes.number, borderTopEndRadius: ReactPropTypes.number, borderBottomLeftRadius: ReactPropTypes.number, borderBottomRightRadius: ReactPropTypes.number, borderBottomStartRadius: ReactPropTypes.number, borderBottomEndRadius: ReactPropTypes.number, borderStyle: ReactPropTypes.oneOf(['solid', 'dotted', 'dashed']), borderWidth: ReactPropTypes.number, borderTopWidth: ReactPropTypes.number, borderRightWidth: ReactPropTypes.number, borderBottomWidth: ReactPropTypes.number, borderLeftWidth: ReactPropTypes.number, opacity: ReactPropTypes.number,
|
|
46
|
+
const ViewStylePropTypes = Object.assign(Object.assign(Object.assign(Object.assign({}, LayoutPropTypes_1.default), ShadowPropTypesIOS_1.default), TransformPropTypes_1.default), { backfaceVisibility: ReactPropTypes.oneOf(['visible', 'hidden']), backgroundColor: ColorPropType_1.default, borderColor: ColorPropType_1.default, borderBlockColor: ColorPropType_1.default, borderBlockStartColor: ColorPropType_1.default, borderBlockEndColor: ColorPropType_1.default, borderTopColor: ColorPropType_1.default, borderRightColor: ColorPropType_1.default, borderBottomColor: ColorPropType_1.default, borderLeftColor: ColorPropType_1.default, borderStartColor: ColorPropType_1.default, borderEndColor: ColorPropType_1.default, borderRadius: ReactPropTypes.number, borderTopLeftRadius: ReactPropTypes.number, borderTopRightRadius: ReactPropTypes.number, borderTopStartRadius: ReactPropTypes.number, borderTopEndRadius: ReactPropTypes.number, borderBottomLeftRadius: ReactPropTypes.number, borderBottomRightRadius: ReactPropTypes.number, borderBottomStartRadius: ReactPropTypes.number, borderBottomEndRadius: ReactPropTypes.number, borderStartStartRadius: ReactPropTypes.number, borderStartEndRadius: ReactPropTypes.number, borderEndStartRadius: ReactPropTypes.number, borderEndEndRadius: ReactPropTypes.number, borderStyle: ReactPropTypes.oneOf(['solid', 'dotted', 'dashed']), borderWidth: ReactPropTypes.number, borderTopWidth: ReactPropTypes.number, borderRightWidth: ReactPropTypes.number, borderBottomWidth: ReactPropTypes.number, borderLeftWidth: ReactPropTypes.number, opacity: ReactPropTypes.number, pointerEvents: ReactPropTypes.oneOf(['box-none', 'none', 'box-only', 'auto']), cursor: ReactPropTypes.oneOf(['auto', 'pointer']),
|
|
47
47
|
/**
|
|
48
48
|
* (Android-only) Sets the elevation of a view, using Android's underlying
|
|
49
49
|
* [elevation API](https://developer.android.com/training/material/shadows-clipping.html#Elevation).
|
|
@@ -51,6 +51,11 @@ const ViewStylePropTypes = Object.assign(Object.assign(Object.assign(Object.assi
|
|
|
51
51
|
* Only supported on Android 5.0+, has no effect on earlier versions.
|
|
52
52
|
* @platform android
|
|
53
53
|
*/
|
|
54
|
-
elevation: ReactPropTypes.number
|
|
54
|
+
elevation: ReactPropTypes.number,
|
|
55
|
+
/**
|
|
56
|
+
* On iOS 13+, it is possible to change the corner curve of borders.
|
|
57
|
+
* @platform ios
|
|
58
|
+
*/
|
|
59
|
+
borderCurve: ReactPropTypes.oneOf(['circular', 'continuous']) });
|
|
55
60
|
exports.default = ViewStylePropTypes;
|
|
56
61
|
//# sourceMappingURL=ViewStylePropTypes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ViewStylePropTypes.js","sourceRoot":"","sources":["../../../src/transforms/StyleSheet/ViewStylePropTypes.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,YAAY,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEZ,2DAA4C;AAE5C,oEAA2C;AAC3C,wEAA+C;AAC/C,8EAAqD;AACrD,8EAAqD;AAErD;;GAEG;AACH,MAAM,kBAAkB,+DACnB,yBAAe,GACf,4BAAkB,GAClB,4BAAkB,KACrB,kBAAkB,EAAE,cAAc,CAAC,KAAK,CAAC,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,EAC/D,eAAe,EAAE,uBAAa,EAC9B,WAA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U,EAAE,MAAM,CAAC,CAAC,EAC7E,MAAM,EAAE,cAAc,CAAC,KAAK,CAAC,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IAEjD;;;;;;OAMG;IACH,SAAS,EAAE,cAAc,CAAC,MAAM;IAEhC;;;OAGG;IACH,WAAW,EAAE,cAAc,CAAC,KAAK,CAAC,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC,GAC9D,CAAA;AAED,kBAAe,kBAAkB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/rn-style-transformer",
|
|
3
|
-
"version": "4.0.5
|
|
3
|
+
"version": "4.0.5",
|
|
4
4
|
"description": "提供 Taro RN 统一处理样式文件能力",
|
|
5
5
|
"author": "O2Team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"sass": "^1.75.0",
|
|
32
32
|
"stylelint": "^16.4.0",
|
|
33
33
|
"stylus": "^0.63.0",
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
34
|
+
"@tarojs/helper": "4.0.5",
|
|
35
|
+
"postcss-pxtransform": "4.0.5",
|
|
36
|
+
"stylelint-config-taro-rn": "4.0.5",
|
|
37
|
+
"stylelint-taro-rn": "4.0.5",
|
|
38
|
+
"taro-css-to-react-native": "4.0.5"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@babel/core": "^7.14.5",
|