@tamagui/react-native-web-internals 1.132.21 → 1.132.22
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/esm/StyleSheet/__tests__/compiler-createReactDOMStyle-test.native.js +73 -43
- package/dist/esm/StyleSheet/__tests__/compiler-createReactDOMStyle-test.native.js.map +6 -1
- package/dist/esm/StyleSheet/__tests__/compiler-test.native.js +174 -166
- package/dist/esm/StyleSheet/__tests__/compiler-test.native.js.map +6 -1
- package/dist/esm/StyleSheet/__tests__/dom-createOrderedCSSStyleSheet-test.native.js +18 -20
- package/dist/esm/StyleSheet/__tests__/dom-createOrderedCSSStyleSheet-test.native.js.map +6 -1
- package/dist/esm/StyleSheet/__tests__/index-test.native.js +203 -149
- package/dist/esm/StyleSheet/__tests__/index-test.native.js.map +6 -1
- package/dist/esm/StyleSheet/__tests__/preprocess-test.native.js +16 -16
- package/dist/esm/StyleSheet/__tests__/preprocess-test.native.js.map +6 -1
- package/dist/esm/StyleSheet/__tests__/validate-test.native.js +11 -10
- package/dist/esm/StyleSheet/__tests__/validate-test.native.js.map +6 -1
- package/dist/esm/StyleSheet/compiler/createReactDOMStyle.native.js +114 -63
- package/dist/esm/StyleSheet/compiler/createReactDOMStyle.native.js.map +6 -1
- package/dist/esm/StyleSheet/compiler/hash.native.js +4 -2
- package/dist/esm/StyleSheet/compiler/hash.native.js.map +6 -1
- package/dist/esm/StyleSheet/compiler/hyphenateStyleName.native.js +7 -6
- package/dist/esm/StyleSheet/compiler/hyphenateStyleName.native.js.map +6 -1
- package/dist/esm/StyleSheet/compiler/index.native.js +221 -220
- package/dist/esm/StyleSheet/compiler/index.native.js.map +6 -1
- package/dist/esm/StyleSheet/compiler/normalizeColor.native.js +15 -17
- package/dist/esm/StyleSheet/compiler/normalizeColor.native.js.map +6 -1
- package/dist/esm/StyleSheet/compiler/normalizeValueWithProperty.native.js +6 -4
- package/dist/esm/StyleSheet/compiler/normalizeValueWithProperty.native.js.map +6 -1
- package/dist/esm/StyleSheet/compiler/resolveShadowValue.native.js +13 -25
- package/dist/esm/StyleSheet/compiler/resolveShadowValue.native.js.map +6 -1
- package/dist/esm/StyleSheet/dom/createCSSStyleSheet.native.js +15 -10
- package/dist/esm/StyleSheet/dom/createCSSStyleSheet.native.js.map +6 -1
- package/dist/esm/StyleSheet/dom/createOrderedCSSStyleSheet.native.js +22 -22
- package/dist/esm/StyleSheet/dom/createOrderedCSSStyleSheet.native.js.map +6 -1
- package/dist/esm/StyleSheet/dom/index.native.js +34 -29
- package/dist/esm/StyleSheet/dom/index.native.js.map +6 -1
- package/dist/esm/StyleSheet/index.native.js +16 -12
- package/dist/esm/StyleSheet/index.native.js.map +6 -1
- package/dist/esm/StyleSheet/preprocess.native.js +44 -73
- package/dist/esm/StyleSheet/preprocess.native.js.map +6 -1
- package/dist/esm/StyleSheet/validate.native.js +33 -32
- package/dist/esm/StyleSheet/validate.native.js.map +6 -1
- package/dist/esm/TextAncestorContext.native.js +6 -4
- package/dist/esm/TextAncestorContext.native.js.map +6 -1
- package/dist/esm/colorProps.native.js +4 -2
- package/dist/esm/colorProps.native.js.map +6 -1
- package/dist/esm/index.native.js +78 -43
- package/dist/esm/index.native.js.map +6 -1
- package/dist/esm/modules/AccessibilityUtil/__tests__/propsToAccessibilityComponent-test.native.js +9 -9
- package/dist/esm/modules/AccessibilityUtil/__tests__/propsToAccessibilityComponent-test.native.js.map +6 -1
- package/dist/esm/modules/AccessibilityUtil/__tests__/propsToAriaRole-test.native.js +6 -6
- package/dist/esm/modules/AccessibilityUtil/__tests__/propsToAriaRole-test.native.js.map +6 -1
- package/dist/esm/modules/AccessibilityUtil/index.native.js +12 -10
- package/dist/esm/modules/AccessibilityUtil/index.native.js.map +6 -1
- package/dist/esm/modules/AccessibilityUtil/isDisabled.native.js +7 -6
- package/dist/esm/modules/AccessibilityUtil/isDisabled.native.js.map +6 -1
- package/dist/esm/modules/AccessibilityUtil/propsToAccessibilityComponent.native.js +34 -34
- package/dist/esm/modules/AccessibilityUtil/propsToAccessibilityComponent.native.js.map +6 -1
- package/dist/esm/modules/AccessibilityUtil/propsToAriaRole.native.js +24 -25
- package/dist/esm/modules/AccessibilityUtil/propsToAriaRole.native.js.map +6 -1
- package/dist/esm/modules/AssetRegistry/index.native.js +5 -2
- package/dist/esm/modules/AssetRegistry/index.native.js.map +6 -1
- package/dist/esm/modules/ImageLoader/index.native.js +75 -79
- package/dist/esm/modules/ImageLoader/index.native.js.map +6 -1
- package/dist/esm/modules/InteractionManager.native.js +133 -135
- package/dist/esm/modules/InteractionManager.native.js.map +6 -1
- package/dist/esm/modules/Platform/__tests__/index-test.native.js +9 -9
- package/dist/esm/modules/Platform/__tests__/index-test.native.js.map +6 -1
- package/dist/esm/modules/Platform/index.native.js +9 -8
- package/dist/esm/modules/Platform/index.native.js.map +6 -1
- package/dist/esm/modules/TextInputState/index.native.js +31 -30
- package/dist/esm/modules/TextInputState/index.native.js.map +6 -1
- package/dist/esm/modules/UIManager/__tests__/index-test.native.js +49 -51
- package/dist/esm/modules/UIManager/__tests__/index-test.native.js.map +6 -1
- package/dist/esm/modules/UIManager/index.native.js +39 -36
- package/dist/esm/modules/UIManager/index.native.js.map +6 -1
- package/dist/esm/modules/canUseDOM.native.js +6 -4
- package/dist/esm/modules/canUseDOM.native.js.map +6 -1
- package/dist/esm/modules/createDOMProps/__tests__/index-test.native.js +45 -51
- package/dist/esm/modules/createDOMProps/__tests__/index-test.native.js.map +6 -1
- package/dist/esm/modules/createDOMProps/index.native.js +92 -96
- package/dist/esm/modules/createDOMProps/index.native.js.map +6 -1
- package/dist/esm/modules/createEventHandle/__tests__/index-test.native.js +189 -189
- package/dist/esm/modules/createEventHandle/__tests__/index-test.native.js.map +6 -1
- package/dist/esm/modules/createEventHandle/index.native.js +24 -17
- package/dist/esm/modules/createEventHandle/index.native.js.map +6 -1
- package/dist/esm/modules/dismissKeyboard/index.native.js +8 -7
- package/dist/esm/modules/dismissKeyboard/index.native.js.map +6 -1
- package/dist/esm/modules/forwardedProps/index.native.js +128 -126
- package/dist/esm/modules/forwardedProps/index.native.js.map +6 -1
- package/dist/esm/modules/getBoundingClientRect/index.native.js +11 -9
- package/dist/esm/modules/getBoundingClientRect/index.native.js.map +6 -1
- package/dist/esm/modules/invariant.native.js +22 -12
- package/dist/esm/modules/invariant.native.js.map +6 -1
- package/dist/esm/modules/isSelectionValid/index.native.js +5 -6
- package/dist/esm/modules/isSelectionValid/index.native.js.map +6 -1
- package/dist/esm/modules/isWebColor/index.native.js +7 -6
- package/dist/esm/modules/isWebColor/index.native.js.map +6 -1
- package/dist/esm/modules/mergeRefs/__tests__/index-test.native.js +7 -9
- package/dist/esm/modules/mergeRefs/__tests__/index-test.native.js.map +6 -1
- package/dist/esm/modules/mergeRefs/index.native.js +8 -5
- package/dist/esm/modules/mergeRefs/index.native.js.map +6 -1
- package/dist/esm/modules/modality/__tests__/index-test.native.js +8 -8
- package/dist/esm/modules/modality/__tests__/index-test.native.js.map +6 -1
- package/dist/esm/modules/modality/index.native.js +19 -55
- package/dist/esm/modules/modality/index.native.js.map +6 -1
- package/dist/esm/modules/multiplyStyleLengthValue/__tests__/index-test.native.js +4 -4
- package/dist/esm/modules/multiplyStyleLengthValue/__tests__/index-test.native.js.map +6 -1
- package/dist/esm/modules/multiplyStyleLengthValue/index.native.js +15 -17
- package/dist/esm/modules/multiplyStyleLengthValue/index.native.js.map +6 -1
- package/dist/esm/modules/normalizeColor/index.native.js +17 -19
- package/dist/esm/modules/normalizeColor/index.native.js.map +6 -1
- package/dist/esm/modules/pick/index.native.js +6 -3
- package/dist/esm/modules/pick/index.native.js.map +6 -1
- package/dist/esm/modules/processColor/__tests__/index-test.native.js +27 -36
- package/dist/esm/modules/processColor/__tests__/index-test.native.js.map +6 -1
- package/dist/esm/modules/processColor/index.native.js +9 -5
- package/dist/esm/modules/processColor/index.native.js.map +6 -1
- package/dist/esm/modules/requestIdleCallback/index.native.js +19 -21
- package/dist/esm/modules/requestIdleCallback/index.native.js.map +6 -1
- package/dist/esm/modules/setValueForStyles/dangerousStyleValue.native.js +5 -3
- package/dist/esm/modules/setValueForStyles/dangerousStyleValue.native.js.map +6 -1
- package/dist/esm/modules/setValueForStyles/index.native.js +10 -8
- package/dist/esm/modules/setValueForStyles/index.native.js.map +6 -1
- package/dist/esm/modules/unitlessNumbers/index.native.js +66 -60
- package/dist/esm/modules/unitlessNumbers/index.native.js.map +6 -1
- package/dist/esm/modules/useElementLayout/index.native.js +9 -5
- package/dist/esm/modules/useElementLayout/index.native.js.map +6 -1
- package/dist/esm/modules/useEvent/__tests__/index-test.native.js +214 -210
- package/dist/esm/modules/useEvent/__tests__/index-test.native.js.map +6 -1
- package/dist/esm/modules/useEvent/index.native.js +24 -21
- package/dist/esm/modules/useEvent/index.native.js.map +6 -1
- package/dist/esm/modules/useHover/__tests__/index-test.native.js +134 -161
- package/dist/esm/modules/useHover/__tests__/index-test.native.js.map +6 -1
- package/dist/esm/modules/useHover/index.native.js +51 -65
- package/dist/esm/modules/useHover/index.native.js.map +6 -1
- package/dist/esm/modules/useLayoutEffect/index.native.js +6 -5
- package/dist/esm/modules/useLayoutEffect/index.native.js.map +6 -1
- package/dist/esm/modules/useLocale/index.native.js +12 -14
- package/dist/esm/modules/useLocale/index.native.js.map +6 -1
- package/dist/esm/modules/useLocale/isLocaleRTL.native.js +25 -9
- package/dist/esm/modules/useLocale/isLocaleRTL.native.js.map +6 -1
- package/dist/esm/modules/useMergeRefs/__tests__/index-test.native.js +54 -54
- package/dist/esm/modules/useMergeRefs/__tests__/index-test.native.js.map +6 -1
- package/dist/esm/modules/useMergeRefs/index.native.js +16 -9
- package/dist/esm/modules/useMergeRefs/index.native.js.map +6 -1
- package/dist/esm/modules/usePlatformMethods/index.native.js +11 -12
- package/dist/esm/modules/usePlatformMethods/index.native.js.map +6 -1
- package/dist/esm/modules/useStable/__tests__/index-test.native.js +36 -45
- package/dist/esm/modules/useStable/__tests__/index-test.native.js.map +6 -1
- package/dist/esm/modules/useStable/index.native.js +4 -2
- package/dist/esm/modules/useStable/index.native.js.map +6 -1
- package/dist/esm/styleTypes.native.js +1 -2
- package/dist/esm/styleTypes.native.js.map +6 -1
- package/dist/esm/types.native.js +1 -2
- package/dist/esm/types.native.js.map +6 -1
- package/package.json +8 -8
|
@@ -1,27 +1,33 @@
|
|
|
1
1
|
import { atomic, classic, inline } from "../compiler";
|
|
2
|
-
describe("StyleSheet/compile", function
|
|
3
|
-
describe("atomic", function
|
|
4
|
-
test("converts style to atomic CSS", function
|
|
2
|
+
describe("StyleSheet/compile", function() {
|
|
3
|
+
describe("atomic", function() {
|
|
4
|
+
test("converts style to atomic CSS", function() {
|
|
5
5
|
var result = atomic({
|
|
6
|
-
animationDirection: [
|
|
7
|
-
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
6
|
+
animationDirection: [
|
|
7
|
+
"alternate",
|
|
8
|
+
"alternate-reverse"
|
|
9
|
+
],
|
|
10
|
+
animationKeyframes: [
|
|
11
|
+
{
|
|
12
|
+
"0%": {
|
|
13
|
+
top: 0
|
|
14
|
+
},
|
|
15
|
+
"50%": {
|
|
16
|
+
top: 5
|
|
17
|
+
},
|
|
18
|
+
"100%": {
|
|
19
|
+
top: 10
|
|
20
|
+
}
|
|
20
21
|
},
|
|
21
|
-
|
|
22
|
-
|
|
22
|
+
{
|
|
23
|
+
from: {
|
|
24
|
+
left: 0
|
|
25
|
+
},
|
|
26
|
+
to: {
|
|
27
|
+
left: 10
|
|
28
|
+
}
|
|
23
29
|
}
|
|
24
|
-
|
|
30
|
+
],
|
|
25
31
|
fontFamily: "System",
|
|
26
32
|
marginHorizontal: 10,
|
|
27
33
|
marginStart: 1,
|
|
@@ -31,10 +37,12 @@ describe("StyleSheet/compile", function () {
|
|
|
31
37
|
pointerEvents: "box-only",
|
|
32
38
|
start: "12.34%",
|
|
33
39
|
textAlign: "start",
|
|
34
|
-
transform: [
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
40
|
+
transform: [
|
|
41
|
+
{
|
|
42
|
+
translateX: 50,
|
|
43
|
+
scale: -1
|
|
44
|
+
}
|
|
45
|
+
]
|
|
38
46
|
});
|
|
39
47
|
expect(result).toMatchInlineSnapshot(`
|
|
40
48
|
[
|
|
@@ -176,34 +184,42 @@ describe("StyleSheet/compile", function () {
|
|
|
176
184
|
]
|
|
177
185
|
`);
|
|
178
186
|
});
|
|
179
|
-
}), describe("classic", function
|
|
180
|
-
test("converts style to classic CSS", function
|
|
187
|
+
}), describe("classic", function() {
|
|
188
|
+
test("converts style to classic CSS", function() {
|
|
181
189
|
var result = classic({
|
|
182
|
-
animationDirection: [
|
|
183
|
-
|
|
184
|
-
"
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
190
|
+
animationDirection: [
|
|
191
|
+
"alternate",
|
|
192
|
+
"alternate-reverse"
|
|
193
|
+
],
|
|
194
|
+
animationKeyframes: [
|
|
195
|
+
{
|
|
196
|
+
"0%": {
|
|
197
|
+
top: 0
|
|
198
|
+
},
|
|
199
|
+
"50%": {
|
|
200
|
+
top: 5
|
|
201
|
+
},
|
|
202
|
+
"100%": {
|
|
203
|
+
top: 10
|
|
204
|
+
}
|
|
196
205
|
},
|
|
197
|
-
|
|
198
|
-
|
|
206
|
+
{
|
|
207
|
+
from: {
|
|
208
|
+
left: 0
|
|
209
|
+
},
|
|
210
|
+
to: {
|
|
211
|
+
left: 10
|
|
212
|
+
}
|
|
199
213
|
}
|
|
200
|
-
|
|
214
|
+
],
|
|
201
215
|
marginHorizontal: 10,
|
|
202
216
|
font: "14px System",
|
|
203
|
-
transform: [
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
217
|
+
transform: [
|
|
218
|
+
{
|
|
219
|
+
translateX: 50,
|
|
220
|
+
scale: -1
|
|
221
|
+
}
|
|
222
|
+
]
|
|
207
223
|
}, "text");
|
|
208
224
|
expect(result).toMatchInlineSnapshot(`
|
|
209
225
|
[
|
|
@@ -226,8 +242,8 @@ describe("StyleSheet/compile", function () {
|
|
|
226
242
|
]
|
|
227
243
|
`);
|
|
228
244
|
});
|
|
229
|
-
}), describe("inline", function
|
|
230
|
-
test("converts style to inline styles", function
|
|
245
|
+
}), describe("inline", function() {
|
|
246
|
+
test("converts style to inline styles", function() {
|
|
231
247
|
var result = inline({
|
|
232
248
|
marginHorizontal: 10,
|
|
233
249
|
display: "flex",
|
|
@@ -241,10 +257,13 @@ describe("StyleSheet/compile", function () {
|
|
|
241
257
|
"marginRight": "10px",
|
|
242
258
|
}
|
|
243
259
|
`);
|
|
244
|
-
}), describe("logical style polyfill", function
|
|
245
|
-
[
|
|
260
|
+
}), describe("logical style polyfill", function() {
|
|
261
|
+
[
|
|
262
|
+
!1,
|
|
263
|
+
!0
|
|
264
|
+
].forEach(function(isRTL) {
|
|
246
265
|
var dir = isRTL ? "rtl" : "ltr";
|
|
247
|
-
test(`ignores "left" properties for ${dir}`, function
|
|
266
|
+
test(`ignores "left" properties for ${dir}`, function() {
|
|
248
267
|
var initial = {
|
|
249
268
|
borderLeftColor: "rgba(255,0,0,1.00)",
|
|
250
269
|
borderLeftStyle: "solid",
|
|
@@ -254,7 +273,7 @@ describe("StyleSheet/compile", function () {
|
|
|
254
273
|
paddingLeft: "10px"
|
|
255
274
|
};
|
|
256
275
|
expect(inline(initial, isRTL)).toEqual(initial);
|
|
257
|
-
}), test(`ignores "right" properties for ${dir}`, function
|
|
276
|
+
}), test(`ignores "right" properties for ${dir}`, function() {
|
|
258
277
|
var initial = {
|
|
259
278
|
borderRightColor: "rgba(255,0,0,1.00)",
|
|
260
279
|
borderRightStyle: "solid",
|
|
@@ -264,7 +283,7 @@ describe("StyleSheet/compile", function () {
|
|
|
264
283
|
paddingRight: "10px"
|
|
265
284
|
};
|
|
266
285
|
expect(inline(initial, isRTL)).toEqual(initial);
|
|
267
|
-
}), test(`ignores "left" values for ${dir}`, function
|
|
286
|
+
}), test(`ignores "left" values for ${dir}`, function() {
|
|
268
287
|
var initial = {
|
|
269
288
|
clear: "left",
|
|
270
289
|
float: "left",
|
|
@@ -272,7 +291,7 @@ describe("StyleSheet/compile", function () {
|
|
|
272
291
|
transitionProperty: "left"
|
|
273
292
|
};
|
|
274
293
|
expect(inline(initial, isRTL)).toEqual(initial);
|
|
275
|
-
}), test(`ignores "right" values for ${dir}`, function
|
|
294
|
+
}), test(`ignores "right" values for ${dir}`, function() {
|
|
276
295
|
var initial = {
|
|
277
296
|
clear: "right",
|
|
278
297
|
float: "right",
|
|
@@ -280,129 +299,118 @@ describe("StyleSheet/compile", function () {
|
|
|
280
299
|
transitionProperty: "right"
|
|
281
300
|
};
|
|
282
301
|
expect(inline(initial, isRTL)).toEqual(initial);
|
|
283
|
-
}), test(`converts "start" properties for ${dir}`, function
|
|
302
|
+
}), test(`converts "start" properties for ${dir}`, function() {
|
|
284
303
|
var initial = {
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
paddingRight: "10px"
|
|
307
|
-
};
|
|
304
|
+
borderStartColor: "red",
|
|
305
|
+
borderStartStyle: "solid",
|
|
306
|
+
borderStartWidth: 1,
|
|
307
|
+
start: 1,
|
|
308
|
+
marginStart: 5,
|
|
309
|
+
paddingStart: 10
|
|
310
|
+
}, expectedLTR = {
|
|
311
|
+
borderLeftColor: "rgba(255,0,0,1.00)",
|
|
312
|
+
borderLeftStyle: "solid",
|
|
313
|
+
borderLeftWidth: "1px",
|
|
314
|
+
left: "1px",
|
|
315
|
+
marginLeft: "5px",
|
|
316
|
+
paddingLeft: "10px"
|
|
317
|
+
}, expectedRTL = {
|
|
318
|
+
borderRightColor: "rgba(255,0,0,1.00)",
|
|
319
|
+
borderRightStyle: "solid",
|
|
320
|
+
borderRightWidth: "1px",
|
|
321
|
+
right: "1px",
|
|
322
|
+
marginRight: "5px",
|
|
323
|
+
paddingRight: "10px"
|
|
324
|
+
};
|
|
308
325
|
expect(inline(initial, isRTL)).toEqual(isRTL ? expectedRTL : expectedLTR);
|
|
309
|
-
}), test(`converts "end" properties for ${dir}`, function
|
|
326
|
+
}), test(`converts "end" properties for ${dir}`, function() {
|
|
310
327
|
var initial = {
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
paddingLeft: "10px"
|
|
333
|
-
};
|
|
328
|
+
borderEndColor: "red",
|
|
329
|
+
borderEndStyle: "solid",
|
|
330
|
+
borderEndWidth: 1,
|
|
331
|
+
end: 1,
|
|
332
|
+
marginEnd: 5,
|
|
333
|
+
paddingEnd: 10
|
|
334
|
+
}, expectedLTR = {
|
|
335
|
+
borderRightColor: "rgba(255,0,0,1.00)",
|
|
336
|
+
borderRightStyle: "solid",
|
|
337
|
+
borderRightWidth: "1px",
|
|
338
|
+
right: "1px",
|
|
339
|
+
marginRight: "5px",
|
|
340
|
+
paddingRight: "10px"
|
|
341
|
+
}, expectedRTL = {
|
|
342
|
+
borderLeftColor: "rgba(255,0,0,1.00)",
|
|
343
|
+
borderLeftStyle: "solid",
|
|
344
|
+
borderLeftWidth: "1px",
|
|
345
|
+
left: "1px",
|
|
346
|
+
marginLeft: "5px",
|
|
347
|
+
paddingLeft: "10px"
|
|
348
|
+
};
|
|
334
349
|
expect(inline(initial, isRTL)).toEqual(isRTL ? expectedRTL : expectedLTR);
|
|
335
|
-
}), test(`converts "start" values for ${dir}`, function
|
|
350
|
+
}), test(`converts "start" values for ${dir}`, function() {
|
|
336
351
|
var initial = {
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
transitionProperty: "right"
|
|
353
|
-
};
|
|
352
|
+
clear: "start",
|
|
353
|
+
float: "start",
|
|
354
|
+
textAlign: "start",
|
|
355
|
+
transitionProperty: "start"
|
|
356
|
+
}, expectedLTR = {
|
|
357
|
+
clear: "left",
|
|
358
|
+
float: "left",
|
|
359
|
+
textAlign: "left",
|
|
360
|
+
transitionProperty: "left"
|
|
361
|
+
}, expectedRTL = {
|
|
362
|
+
clear: "right",
|
|
363
|
+
float: "right",
|
|
364
|
+
textAlign: "right",
|
|
365
|
+
transitionProperty: "right"
|
|
366
|
+
};
|
|
354
367
|
expect(inline(initial, isRTL)).toEqual(isRTL ? expectedRTL : expectedLTR);
|
|
355
|
-
}), test(`converts "end" values for ${dir}`, function
|
|
368
|
+
}), test(`converts "end" values for ${dir}`, function() {
|
|
356
369
|
var initial = {
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
transitionProperty: "left"
|
|
373
|
-
};
|
|
370
|
+
clear: "end",
|
|
371
|
+
float: "end",
|
|
372
|
+
textAlign: "end",
|
|
373
|
+
transitionProperty: "end"
|
|
374
|
+
}, expectedLTR = {
|
|
375
|
+
clear: "right",
|
|
376
|
+
float: "right",
|
|
377
|
+
textAlign: "right",
|
|
378
|
+
transitionProperty: "right"
|
|
379
|
+
}, expectedRTL = {
|
|
380
|
+
clear: "left",
|
|
381
|
+
float: "left",
|
|
382
|
+
textAlign: "left",
|
|
383
|
+
transitionProperty: "left"
|
|
384
|
+
};
|
|
374
385
|
expect(inline(initial, isRTL)).toEqual(isRTL ? expectedRTL : expectedLTR);
|
|
375
|
-
}), test("end/start properties take precedence over left/right", function
|
|
386
|
+
}), test("end/start properties take precedence over left/right", function() {
|
|
376
387
|
var initialLTR = {
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
marginRight: "10px",
|
|
400
|
-
left: "10px"
|
|
401
|
-
};
|
|
388
|
+
borderStartWidth: 10,
|
|
389
|
+
borderLeftWidth: 0,
|
|
390
|
+
end: 10,
|
|
391
|
+
right: 0,
|
|
392
|
+
marginStart: 10,
|
|
393
|
+
marginLeft: 0
|
|
394
|
+
}, expectedLTR = {
|
|
395
|
+
borderLeftWidth: "10px",
|
|
396
|
+
marginLeft: "10px",
|
|
397
|
+
right: "10px"
|
|
398
|
+
}, initialRTL = {
|
|
399
|
+
borderStartWidth: 10,
|
|
400
|
+
borderRightWidth: 0,
|
|
401
|
+
end: 10,
|
|
402
|
+
left: 0,
|
|
403
|
+
marginStart: 10,
|
|
404
|
+
marginRight: 0
|
|
405
|
+
}, expectedRTL = {
|
|
406
|
+
borderRightWidth: "10px",
|
|
407
|
+
marginRight: "10px",
|
|
408
|
+
left: "10px"
|
|
409
|
+
};
|
|
402
410
|
expect(inline(isRTL ? initialRTL : initialLTR, isRTL)).toEqual(isRTL ? expectedRTL : expectedLTR);
|
|
403
411
|
});
|
|
404
412
|
});
|
|
405
413
|
});
|
|
406
414
|
});
|
|
407
415
|
});
|
|
408
|
-
//# sourceMappingURL=compiler-test.
|
|
416
|
+
//# sourceMappingURL=compiler-test.js.map
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/StyleSheet/__tests__/compiler-test.tsx"],
|
|
4
|
+
"mappings": "AAOA,SAASA,QAAQC,SAASC,cAAc;AAExCC,SAAS,sBAAsB,WAAA;AAC7BA,WAAS,UAAU,WAAA;AACjBC,SAAK,gCAAgC,WAAA;AACnC,UAAMC,SAASL,OAAO;QACpBM,oBAAoB;UAAC;UAAa;;QAClCC,oBAAoB;UAClB;YAAE,MAAM;cAAEC,KAAK;YAAE;YAAG,OAAO;cAAEA,KAAK;YAAE;YAAG,QAAQ;cAAEA,KAAK;YAAG;UAAE;UAC3D;YAAEC,MAAM;cAAEC,MAAM;YAAE;YAAGC,IAAI;cAAED,MAAM;YAAG;UAAE;;QAExCE,YAAY;QACZC,kBAAkB;QAClBC,aAAa;QACbC,WAAW;QACXC,sBAAsB;QACtBC,gBAAgB;QAChBC,eAAe;QACfC,OAAO;QACPC,WAAW;QACXC,WAAW;UACT;YACEC,YAAY;YACZC,OAAO;UACT;;MAEJ,CAAA;AAEAC,aAAOnB,MAAAA,EAAQoB,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0IpC;IACH,CAAA;EACF,CAAA,GAEAtB,SAAS,WAAW,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AAQ8B,aAAaD,YAAY7B,KAAAA,CAAAA,EAAQQ,QACrDR,QAAQuB,cAAcD,WAAAA;QAE1B,CAAA;MACF,CAAA;IACF,CAAA;EACF,CAAA;AACF,CAAA;",
|
|
5
|
+
"names": ["atomic", "classic", "inline", "describe", "test", "result", "animationDirection", "animationKeyframes", "top", "from", "left", "to", "fontFamily", "marginHorizontal", "marginStart", "marginEnd", "placeholderTextColor", "scrollbarWidth", "pointerEvents", "start", "textAlign", "transform", "translateX", "scale", "expect", "toMatchInlineSnapshot", "font", "display", "flexShrink", "forEach", "isRTL", "dir", "initial", "borderLeftColor", "borderLeftStyle", "borderLeftWidth", "marginLeft", "paddingLeft", "toEqual", "borderRightColor", "borderRightStyle", "borderRightWidth", "right", "marginRight", "paddingRight", "clear", "float", "transitionProperty", "borderStartColor", "borderStartStyle", "borderStartWidth", "paddingStart", "expectedLTR", "expectedRTL", "borderEndColor", "borderEndStyle", "borderEndWidth", "end", "paddingEnd", "initialLTR", "initialRTL"]
|
|
6
|
+
}
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import createOrderedCSSStyleSheet from "../dom/createOrderedCSSStyleSheet
|
|
2
|
-
var insertStyleElement = function
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
describe("#insert", function () {
|
|
12
|
-
test("insertion order for same group", function () {
|
|
1
|
+
import createOrderedCSSStyleSheet from "../dom/createOrderedCSSStyleSheet";
|
|
2
|
+
var insertStyleElement = function() {
|
|
3
|
+
var element = document.createElement("style"), head = document.head;
|
|
4
|
+
return head.insertBefore(element, head.firstChild), element;
|
|
5
|
+
}, removeStyleElement = function(element) {
|
|
6
|
+
document.head.removeChild(element);
|
|
7
|
+
};
|
|
8
|
+
describe("createOrderedCSSStyleSheet", function() {
|
|
9
|
+
describe("#insert", function() {
|
|
10
|
+
test("insertion order for same group", function() {
|
|
13
11
|
var sheet = createOrderedCSSStyleSheet();
|
|
14
12
|
expect(sheet.getTextContent()).toMatchInlineSnapshot('""'), sheet.insert(".a {}", 0), expect(sheet.getTextContent()).toMatchInlineSnapshot(`
|
|
15
13
|
"[stylesheet-group=\\"0\\"]{}
|
|
@@ -24,13 +22,13 @@ describe("createOrderedCSSStyleSheet", function () {
|
|
|
24
22
|
.b {}
|
|
25
23
|
.c {}"
|
|
26
24
|
`);
|
|
27
|
-
}), test("deduplication for same group", function
|
|
25
|
+
}), test("deduplication for same group", function() {
|
|
28
26
|
var sheet = createOrderedCSSStyleSheet();
|
|
29
27
|
sheet.insert(".a {}", 0), sheet.insert(".a {}", 0), sheet.insert(".a {}", 0), expect(sheet.getTextContent()).toMatchInlineSnapshot(`
|
|
30
28
|
"[stylesheet-group=\\"0\\"]{}
|
|
31
29
|
.a {}"
|
|
32
30
|
`);
|
|
33
|
-
}), test("order for same group", function
|
|
31
|
+
}), test("order for same group", function() {
|
|
34
32
|
var sheet = createOrderedCSSStyleSheet();
|
|
35
33
|
sheet.insert(".c {}", 0), sheet.insert(".b {}", 0), sheet.insert(".a {}", 0), expect(sheet.getTextContent()).toMatchInlineSnapshot(`
|
|
36
34
|
"[stylesheet-group=\\"0\\"]{}
|
|
@@ -38,7 +36,7 @@ describe("createOrderedCSSStyleSheet", function () {
|
|
|
38
36
|
.b {}
|
|
39
37
|
.c {}"
|
|
40
38
|
`);
|
|
41
|
-
}), test("insertion order for different groups", function
|
|
39
|
+
}), test("insertion order for different groups", function() {
|
|
42
40
|
var sheet = createOrderedCSSStyleSheet();
|
|
43
41
|
sheet.insert(".nine-1 {}", 9.9), sheet.insert(".nine-2 {}", 9.9), sheet.insert(".three {}", 3), sheet.insert(".one {}", 1), sheet.insert(".two {}", 2.2), sheet.insert(".four-1 {}", 4), sheet.insert(".four-2 {}", 4), sheet.insert(".twenty {}", 20), sheet.insert(".ten {}", 10), sheet.insert(".twenty-point2 {}", 20.2), expect(sheet.getTextContent()).toMatchInlineSnapshot(`
|
|
44
42
|
"[stylesheet-group=\\"1\\"]{}
|
|
@@ -61,11 +59,11 @@ describe("createOrderedCSSStyleSheet", function () {
|
|
|
61
59
|
.twenty-point2 {}"
|
|
62
60
|
`);
|
|
63
61
|
});
|
|
64
|
-
}), describe("client-side hydration", function
|
|
62
|
+
}), describe("client-side hydration", function() {
|
|
65
63
|
var element;
|
|
66
|
-
beforeEach(function
|
|
64
|
+
beforeEach(function() {
|
|
67
65
|
element != null && removeStyleElement(element), element = insertStyleElement();
|
|
68
|
-
}), test("from SSR CSS", function
|
|
66
|
+
}), test("from SSR CSS", function() {
|
|
69
67
|
var serverSheet = createOrderedCSSStyleSheet();
|
|
70
68
|
serverSheet.insert(".one { width: 10px; }", 1), serverSheet.insert(".two-1 { height: 20px; }", 2), serverSheet.insert(".two-2 { color: red; }", 2), serverSheet.insert("@keyframes anim { 0% { opacity: 1; } }", 2);
|
|
71
69
|
var textContent = serverSheet.getTextContent();
|
|
@@ -81,7 +79,7 @@ describe("createOrderedCSSStyleSheet", function () {
|
|
|
81
79
|
0% {opacity: 1;}
|
|
82
80
|
}"
|
|
83
81
|
`);
|
|
84
|
-
}), test("works when the group marker is in single quotes", function
|
|
82
|
+
}), test("works when the group marker is in single quotes", function() {
|
|
85
83
|
var serverSheet = createOrderedCSSStyleSheet();
|
|
86
84
|
serverSheet.insert(".a { color: red }", 0), serverSheet.insert(".b { color: red }", 1);
|
|
87
85
|
var textContent = serverSheet.getTextContent().replace(/"/g, "'");
|
|
@@ -97,4 +95,4 @@ describe("createOrderedCSSStyleSheet", function () {
|
|
|
97
95
|
});
|
|
98
96
|
});
|
|
99
97
|
});
|
|
100
|
-
//# sourceMappingURL=dom-createOrderedCSSStyleSheet-test.
|
|
98
|
+
//# sourceMappingURL=dom-createOrderedCSSStyleSheet-test.js.map
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/StyleSheet/__tests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kB,YAAYjB,SAASkB,eAAeF,WAAAA,CAAAA;AAC5C,UAAMG,cAActB,2BAA2BE,QAAQU,KAAK;AAC5DU,kBAAYN,OAAO,qBAAqB,CAAA,GACxCH,OAAOS,YAAYR,eAAc,CAAA,EAAIC,sBAAsB;;;;;;OAM1D;IACH,CAAA;EACF,CAAA;AACF,CAAA;",
|
|
5
|
+
"names": ["createOrderedCSSStyleSheet", "insertStyleElement", "element", "document", "createElement", "head", "insertBefore", "firstChild", "removeStyleElement", "removeChild", "describe", "test", "sheet", "expect", "getTextContent", "toMatchInlineSnapshot", "insert", "beforeEach", "serverSheet", "textContent", "appendChild", "createTextNode", "clientSheet", "replace"]
|
|
6
|
+
}
|