react-native-unistyles 3.0.0-alpha.27 → 3.0.0-alpha.28
Sign up to get free protection for your applications and to get access to all the features.
- package/cxx/core/UnistylesRegistry.cpp +4 -8
- package/cxx/core/UnistylesRegistry.h +1 -1
- package/cxx/core/UnistylesState.cpp +2 -10
- package/cxx/core/UnistylesState.h +1 -1
- package/cxx/hybridObjects/HybridStyleSheet.cpp +1 -2
- package/cxx/parser/Parser.cpp +73 -4
- package/cxx/parser/Parser.h +2 -0
- package/lib/commonjs/core/index.js.map +1 -1
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/mq.js +1 -4
- package/lib/commonjs/mq.js.map +2 -1
- package/lib/commonjs/specs/NativePlatform/NativePlatform.nitro.js.map +1 -0
- package/lib/commonjs/specs/NavigtionBar/UnistylesNavigationBar.nitro.js.map +1 -1
- package/lib/commonjs/specs/NavigtionBar/index.js.map +2 -1
- package/lib/commonjs/specs/ShadowRegistry/ShadowRegistry.nitro.js.map +1 -1
- package/lib/commonjs/specs/ShadowRegistry/types.js +3 -0
- package/lib/commonjs/specs/ShadowRegistry/types.js.map +1 -1
- package/lib/commonjs/specs/StatusBar/UnistylesStatusBar.nitro.js.map +1 -1
- package/lib/commonjs/specs/StatusBar/index.js.map +2 -1
- package/lib/commonjs/specs/StyleSheet/UnistylesStyleSheet.nitro.js +2 -4
- package/lib/commonjs/specs/StyleSheet/UnistylesStyleSheet.nitro.js.map +1 -1
- package/lib/commonjs/specs/index.js.map +1 -1
- package/lib/commonjs/specs/types.js +10 -10
- package/lib/commonjs/specs/types.js.map +1 -1
- package/lib/commonjs/types/stylesheet.js.map +1 -1
- package/lib/commonjs/web/convert/index.js +1 -7
- package/lib/commonjs/web/convert/shadow.js +1 -5
- package/lib/commonjs/web/convert/shadow.js.map +2 -1
- package/lib/commonjs/web/convert/textShadow.js +1 -4
- package/lib/commonjs/web/convert/textShadow.js.map +2 -1
- package/lib/commonjs/web/convert/transform.js.map +2 -1
- package/lib/commonjs/web/create.js +1 -5
- package/lib/commonjs/web/create.js.map +2 -1
- package/lib/commonjs/web/mock.js.map +2 -1
- package/lib/commonjs/web/runtime.js.map +2 -1
- package/lib/commonjs/web/state.js.map +1 -1
- package/lib/commonjs/web/utils/common.js +1 -3
- package/lib/commonjs/web/utils/common.js.map +2 -1
- package/lib/commonjs/web/utils/unistyle.js.map +1 -1
- package/lib/commonjs/web/variants/index.js.map +1 -1
- package/lib/module/common.js.map +1 -1
- package/lib/module/core/useBreakpoint.js.map +1 -1
- package/lib/module/core/useBreakpoint.native.js.map +2 -1
- package/lib/module/core/useTheme.js.map +2 -1
- package/lib/module/core/useTheme.native.js.map +2 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/mq.js +1 -4
- package/lib/module/mq.js.map +2 -1
- package/lib/module/specs/NativePlatform/NativePlatform.nitro.js +5 -6
- package/lib/module/specs/NativePlatform/NativePlatform.nitro.js.map +1 -1
- package/lib/module/specs/NavigtionBar/UnistylesNavigationBar.nitro.js.map +1 -1
- package/lib/module/specs/NavigtionBar/index.js.map +2 -1
- package/lib/module/specs/ShadowRegistry/ShadowRegistry.nitro.js.map +1 -0
- package/lib/module/specs/ShadowRegistry/index.js.map +2 -1
- package/lib/module/specs/ShadowRegistry/types.js +2 -0
- package/lib/module/specs/ShadowRegistry/types.js.map +1 -1
- package/lib/module/specs/StatusBar/UnistylesStatusBar.nitro.js.map +1 -1
- package/lib/module/specs/StyleSheet/UnistylesStyleSheet.nitro.js +1 -1
- package/lib/module/specs/StyleSheet/UnistylesStyleSheet.nitro.js.map +1 -0
- package/lib/module/specs/TurboUnistyles/NativeTurboUnistyles.js +2 -3
- package/lib/module/specs/TurboUnistyles/NativeTurboUnistyles.js.map +2 -1
- package/lib/module/specs/UnistylesRuntime/UnistylesRuntime.nitro.js.map +1 -1
- package/lib/module/specs/index.web.js.map +2 -1
- package/lib/module/specs/types.js.map +1 -1
- package/lib/module/types/stylesheet.js.map +1 -1
- package/lib/module/web/convert/boxShadow.js +1 -4
- package/lib/module/web/convert/boxShadow.js.map +2 -1
- package/lib/module/web/convert/pseudo.js.map +2 -1
- package/lib/module/web/convert/shadow.js +1 -5
- package/lib/module/web/convert/shadow.js.map +2 -1
- package/lib/module/web/convert/style.js.map +2 -1
- package/lib/module/web/convert/textShadow.js +1 -4
- package/lib/module/web/convert/textShadow.js.map +2 -1
- package/lib/module/web/convert/transform.js.map +2 -1
- package/lib/module/web/convert/utils.js.map +2 -1
- package/lib/module/web/index.js +1 -2
- package/lib/module/web/index.js.map +2 -1
- package/lib/module/web/listener.js.map +2 -1
- package/lib/module/web/mock.js.map +2 -1
- package/lib/module/web/registry.js +1 -3
- package/lib/module/web/registry.js.map +2 -1
- package/lib/module/web/runtime.js.map +2 -1
- package/lib/module/web/shadowRegistry.js +1 -9
- package/lib/module/web/shadowRegistry.js.map +2 -1
- package/lib/module/web/state.js.map +1 -1
- package/lib/module/web/utils/index.js.map +1 -1
- package/lib/module/web/utils/unistyle.js.map +2 -1
- package/lib/module/web/variants/index.js.map +1 -1
- package/lib/module/web/variants/useVariants.js +1 -2
- package/lib/module/web/variants/useVariants.js.map +2 -1
- package/lib/typescript/src/global.d.ts +0 -2
- package/lib/typescript/src/global.d.ts.map +1 -1
- package/lib/typescript/src/types/stylesheet.d.ts +4 -2
- package/lib/typescript/src/types/stylesheet.d.ts.map +1 -1
- package/lib/typescript/src/web/create.d.ts +204 -0
- package/lib/typescript/src/web/create.d.ts.map +1 -1
- package/lib/typescript/src/web/index.d.ts +204 -0
- package/lib/typescript/src/web/index.d.ts.map +1 -1
- package/lib/typescript/src/web/runtime.d.ts +3 -3
- package/lib/typescript/src/web/runtime.d.ts.map +1 -1
- package/lib/typescript/src/web/state.d.ts +1 -1
- package/lib/typescript/src/web/state.d.ts.map +1 -1
- package/lib/typescript/src/web/utils/unistyle.d.ts +2 -2
- package/lib/typescript/src/web/utils/unistyle.d.ts.map +1 -1
- package/package.json +13 -13
- package/src/common.js +4 -0
- package/src/core/index.js +2 -0
- package/src/core/useBreakpoint.js +14 -0
- package/src/core/useBreakpoint.native.js +16 -0
- package/src/core/useTheme.js +14 -0
- package/src/core/useTheme.native.js +16 -0
- package/src/global.ts +1 -4
- package/src/index.js +3 -0
- package/src/mq.js +38 -0
- package/src/specs/NativePlatform/NativePlatform.nitro.js +18 -0
- package/src/specs/NativePlatform/index.js +1 -0
- package/src/specs/NavigtionBar/UnistylesNavigationBar.nitro.js +1 -0
- package/src/specs/NavigtionBar/index.js +9 -0
- package/src/specs/ShadowRegistry/ShadowRegistry.nitro.js +1 -0
- package/src/specs/ShadowRegistry/index.js +26 -0
- package/src/specs/ShadowRegistry/types.js +1 -0
- package/src/specs/StatusBar/UnistylesStatusBar.nitro.js +1 -0
- package/src/specs/StatusBar/index.js +25 -0
- package/src/specs/StyleSheet/UnistylesStyleSheet.nitro.js +1 -0
- package/src/specs/StyleSheet/index.js +13 -0
- package/src/specs/TurboUnistyles/NativeTurboUnistyles.js +2 -0
- package/src/specs/TurboUnistyles/index.js +1 -0
- package/src/specs/UnistylesRuntime/UnistylesRuntime.nitro.js +1 -0
- package/src/specs/UnistylesRuntime/index.js +20 -0
- package/src/specs/index.js +8 -0
- package/src/specs/index.web.js +2 -0
- package/src/specs/types.js +17 -0
- package/src/types/stylesheet.ts +5 -3
- package/src/web/convert/boxShadow.js +59 -0
- package/src/web/convert/index.js +56 -0
- package/src/web/convert/pseudo.js +131 -0
- package/src/web/convert/shadow.js +50 -0
- package/src/web/convert/style.js +137 -0
- package/src/web/convert/textShadow.js +56 -0
- package/src/web/convert/transform.js +65 -0
- package/src/web/convert/types.js +2 -0
- package/src/web/convert/utils.js +39 -0
- package/src/web/create.js +39 -0
- package/src/web/index.js +22 -0
- package/src/web/listener.js +26 -0
- package/src/web/mock.js +21 -0
- package/src/web/mq.js +14 -0
- package/src/web/registry.js +168 -0
- package/src/web/runtime.js +160 -0
- package/src/web/runtime.ts +1 -1
- package/src/web/shadowRegistry.js +99 -0
- package/src/web/state.ts +3 -3
- package/src/web/utils/common.js +79 -0
- package/src/web/utils/index.js +2 -0
- package/src/web/utils/unistyle.js +72 -0
- package/src/web/utils/unistyle.ts +2 -2
- package/src/web/variants/getVariants.js +26 -0
- package/src/web/variants/index.js +2 -0
- package/src/web/variants/useVariants.js +50 -0
@@ -151,6 +151,11 @@ export declare const create: (stylesheet: StyleSheetWithSuperPowers<StyleSheet>)
|
|
151
151
|
portrait?: "box-none" | "none" | "box-only" | "auto" | undefined;
|
152
152
|
landscape?: "box-none" | "none" | "box-only" | "auto" | undefined;
|
153
153
|
} | undefined;
|
154
|
+
isolation?: "auto" | "isolate" | {
|
155
|
+
[x: symbol]: "auto" | "isolate" | undefined;
|
156
|
+
portrait?: "auto" | "isolate" | undefined;
|
157
|
+
landscape?: "auto" | "isolate" | undefined;
|
158
|
+
} | undefined;
|
154
159
|
cursor?: import("react-native").CursorValue | {
|
155
160
|
[x: symbol]: import("react-native").CursorValue | undefined;
|
156
161
|
portrait?: import("react-native").CursorValue | undefined;
|
@@ -436,6 +441,101 @@ export declare const create: (stylesheet: StyleSheetWithSuperPowers<StyleSheet>)
|
|
436
441
|
portrait?: "inherit" | "ltr" | "rtl" | undefined;
|
437
442
|
landscape?: "inherit" | "ltr" | "rtl" | undefined;
|
438
443
|
} | undefined;
|
444
|
+
inset?: import("react-native").DimensionValue | {
|
445
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
446
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
447
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
448
|
+
} | undefined;
|
449
|
+
insetBlock?: import("react-native").DimensionValue | {
|
450
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
451
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
452
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
453
|
+
} | undefined;
|
454
|
+
insetBlockEnd?: import("react-native").DimensionValue | {
|
455
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
456
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
457
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
458
|
+
} | undefined;
|
459
|
+
insetBlockStart?: import("react-native").DimensionValue | {
|
460
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
461
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
462
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
463
|
+
} | undefined;
|
464
|
+
insetInline?: import("react-native").DimensionValue | {
|
465
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
466
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
467
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
468
|
+
} | undefined;
|
469
|
+
insetInlineEnd?: import("react-native").DimensionValue | {
|
470
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
471
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
472
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
473
|
+
} | undefined;
|
474
|
+
insetInlineStart?: import("react-native").DimensionValue | {
|
475
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
476
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
477
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
478
|
+
} | undefined;
|
479
|
+
marginBlock?: import("react-native").DimensionValue | {
|
480
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
481
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
482
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
483
|
+
} | undefined;
|
484
|
+
marginBlockEnd?: import("react-native").DimensionValue | {
|
485
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
486
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
487
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
488
|
+
} | undefined;
|
489
|
+
marginBlockStart?: import("react-native").DimensionValue | {
|
490
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
491
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
492
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
493
|
+
} | undefined;
|
494
|
+
marginInline?: import("react-native").DimensionValue | {
|
495
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
496
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
497
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
498
|
+
} | undefined;
|
499
|
+
marginInlineEnd?: import("react-native").DimensionValue | {
|
500
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
501
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
502
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
503
|
+
} | undefined;
|
504
|
+
marginInlineStart?: import("react-native").DimensionValue | {
|
505
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
506
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
507
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
508
|
+
} | undefined;
|
509
|
+
paddingBlock?: import("react-native").DimensionValue | {
|
510
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
511
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
512
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
513
|
+
} | undefined;
|
514
|
+
paddingBlockEnd?: import("react-native").DimensionValue | {
|
515
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
516
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
517
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
518
|
+
} | undefined;
|
519
|
+
paddingBlockStart?: import("react-native").DimensionValue | {
|
520
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
521
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
522
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
523
|
+
} | undefined;
|
524
|
+
paddingInline?: import("react-native").DimensionValue | {
|
525
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
526
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
527
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
528
|
+
} | undefined;
|
529
|
+
paddingInlineEnd?: import("react-native").DimensionValue | {
|
530
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
531
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
532
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
533
|
+
} | undefined;
|
534
|
+
paddingInlineStart?: import("react-native").DimensionValue | {
|
535
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
536
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
537
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
538
|
+
} | undefined;
|
439
539
|
shadowColor?: import("react-native").ColorValue | {
|
440
540
|
[x: symbol]: import("react-native").ColorValue | undefined;
|
441
541
|
portrait?: import("react-native").ColorValue | undefined;
|
@@ -614,6 +714,8 @@ export declare const create: (stylesheet: StyleSheetWithSuperPowers<StyleSheet>)
|
|
614
714
|
compoundVariants?: Array<{
|
615
715
|
styles: Omit<import("../types").UnistylesValues, "variants" | "compoundVariants">;
|
616
716
|
}> | undefined;
|
717
|
+
boxShadow?: string | import("../types/stylesheet").ToDeepUnistyles<import("react-native").BoxShadowValue>[] | undefined;
|
718
|
+
filter?: string | import("../types/stylesheet").ToDeepUnistyles<import("react-native").FilterFunction>[] | undefined;
|
617
719
|
shadowOffset?: import("../types/stylesheet").ToDeepUnistyles<import("../types/core").ShadowOffset> | undefined;
|
618
720
|
transform?: import("../types/stylesheet").ToDeepUnistyles<import("../types/core").TransformStyles>[] | undefined;
|
619
721
|
textShadowOffset?: import("../types/stylesheet").ToDeepUnistyles<import("../types/core").ShadowOffset> | undefined;
|
@@ -768,6 +870,11 @@ export declare const create: (stylesheet: StyleSheetWithSuperPowers<StyleSheet>)
|
|
768
870
|
portrait?: "box-none" | "none" | "box-only" | "auto" | undefined;
|
769
871
|
landscape?: "box-none" | "none" | "box-only" | "auto" | undefined;
|
770
872
|
} | undefined;
|
873
|
+
isolation?: "auto" | "isolate" | {
|
874
|
+
[x: symbol]: "auto" | "isolate" | undefined;
|
875
|
+
portrait?: "auto" | "isolate" | undefined;
|
876
|
+
landscape?: "auto" | "isolate" | undefined;
|
877
|
+
} | undefined;
|
771
878
|
cursor?: import("react-native").CursorValue | {
|
772
879
|
[x: symbol]: import("react-native").CursorValue | undefined;
|
773
880
|
portrait?: import("react-native").CursorValue | undefined;
|
@@ -1053,6 +1160,101 @@ export declare const create: (stylesheet: StyleSheetWithSuperPowers<StyleSheet>)
|
|
1053
1160
|
portrait?: "inherit" | "ltr" | "rtl" | undefined;
|
1054
1161
|
landscape?: "inherit" | "ltr" | "rtl" | undefined;
|
1055
1162
|
} | undefined;
|
1163
|
+
inset?: import("react-native").DimensionValue | {
|
1164
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1165
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1166
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1167
|
+
} | undefined;
|
1168
|
+
insetBlock?: import("react-native").DimensionValue | {
|
1169
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1170
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1171
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1172
|
+
} | undefined;
|
1173
|
+
insetBlockEnd?: import("react-native").DimensionValue | {
|
1174
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1175
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1176
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1177
|
+
} | undefined;
|
1178
|
+
insetBlockStart?: import("react-native").DimensionValue | {
|
1179
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1180
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1181
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1182
|
+
} | undefined;
|
1183
|
+
insetInline?: import("react-native").DimensionValue | {
|
1184
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1185
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1186
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1187
|
+
} | undefined;
|
1188
|
+
insetInlineEnd?: import("react-native").DimensionValue | {
|
1189
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1190
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1191
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1192
|
+
} | undefined;
|
1193
|
+
insetInlineStart?: import("react-native").DimensionValue | {
|
1194
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1195
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1196
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1197
|
+
} | undefined;
|
1198
|
+
marginBlock?: import("react-native").DimensionValue | {
|
1199
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1200
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1201
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1202
|
+
} | undefined;
|
1203
|
+
marginBlockEnd?: import("react-native").DimensionValue | {
|
1204
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1205
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1206
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1207
|
+
} | undefined;
|
1208
|
+
marginBlockStart?: import("react-native").DimensionValue | {
|
1209
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1210
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1211
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1212
|
+
} | undefined;
|
1213
|
+
marginInline?: import("react-native").DimensionValue | {
|
1214
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1215
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1216
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1217
|
+
} | undefined;
|
1218
|
+
marginInlineEnd?: import("react-native").DimensionValue | {
|
1219
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1220
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1221
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1222
|
+
} | undefined;
|
1223
|
+
marginInlineStart?: import("react-native").DimensionValue | {
|
1224
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1225
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1226
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1227
|
+
} | undefined;
|
1228
|
+
paddingBlock?: import("react-native").DimensionValue | {
|
1229
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1230
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1231
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1232
|
+
} | undefined;
|
1233
|
+
paddingBlockEnd?: import("react-native").DimensionValue | {
|
1234
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1235
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1236
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1237
|
+
} | undefined;
|
1238
|
+
paddingBlockStart?: import("react-native").DimensionValue | {
|
1239
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1240
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1241
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1242
|
+
} | undefined;
|
1243
|
+
paddingInline?: import("react-native").DimensionValue | {
|
1244
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1245
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1246
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1247
|
+
} | undefined;
|
1248
|
+
paddingInlineEnd?: import("react-native").DimensionValue | {
|
1249
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1250
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1251
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1252
|
+
} | undefined;
|
1253
|
+
paddingInlineStart?: import("react-native").DimensionValue | {
|
1254
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1255
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1256
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1257
|
+
} | undefined;
|
1056
1258
|
shadowColor?: import("react-native").ColorValue | {
|
1057
1259
|
[x: symbol]: import("react-native").ColorValue | undefined;
|
1058
1260
|
portrait?: import("react-native").ColorValue | undefined;
|
@@ -1231,6 +1433,8 @@ export declare const create: (stylesheet: StyleSheetWithSuperPowers<StyleSheet>)
|
|
1231
1433
|
compoundVariants?: Array<{
|
1232
1434
|
styles: Omit<import("../types").UnistylesValues, "variants" | "compoundVariants">;
|
1233
1435
|
}> | undefined;
|
1436
|
+
boxShadow?: string | import("../types/stylesheet").ToDeepUnistyles<import("react-native").BoxShadowValue>[] | undefined;
|
1437
|
+
filter?: string | import("../types/stylesheet").ToDeepUnistyles<import("react-native").FilterFunction>[] | undefined;
|
1234
1438
|
shadowOffset?: import("../types/stylesheet").ToDeepUnistyles<import("../types/core").ShadowOffset> | undefined;
|
1235
1439
|
transform?: import("../types/stylesheet").ToDeepUnistyles<import("../types/core").TransformStyles>[] | undefined;
|
1236
1440
|
textShadowOffset?: import("../types/stylesheet").ToDeepUnistyles<import("../types/core").ShadowOffset> | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../../src/web/create.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,yBAAyB,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAKhF,eAAO,MAAM,MAAM,eAAgB,yBAAyB,CAAC,UAAU,CAAC
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../../src/web/create.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,yBAAyB,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAKhF,eAAO,MAAM,MAAM,eAAgB,yBAAyB,CAAC,UAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2CvE,CAAA"}
|
@@ -152,6 +152,11 @@ export declare const StyleSheet: {
|
|
152
152
|
portrait?: "box-none" | "none" | "box-only" | "auto" | undefined;
|
153
153
|
landscape?: "box-none" | "none" | "box-only" | "auto" | undefined;
|
154
154
|
} | undefined;
|
155
|
+
isolation?: "auto" | "isolate" | {
|
156
|
+
[x: symbol]: "auto" | "isolate" | undefined;
|
157
|
+
portrait?: "auto" | "isolate" | undefined;
|
158
|
+
landscape?: "auto" | "isolate" | undefined;
|
159
|
+
} | undefined;
|
155
160
|
cursor?: import("react-native").CursorValue | {
|
156
161
|
[x: symbol]: import("react-native").CursorValue | undefined;
|
157
162
|
portrait?: import("react-native").CursorValue | undefined;
|
@@ -437,6 +442,101 @@ export declare const StyleSheet: {
|
|
437
442
|
portrait?: "inherit" | "ltr" | "rtl" | undefined;
|
438
443
|
landscape?: "inherit" | "ltr" | "rtl" | undefined;
|
439
444
|
} | undefined;
|
445
|
+
inset?: import("react-native").DimensionValue | {
|
446
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
447
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
448
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
449
|
+
} | undefined;
|
450
|
+
insetBlock?: import("react-native").DimensionValue | {
|
451
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
452
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
453
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
454
|
+
} | undefined;
|
455
|
+
insetBlockEnd?: import("react-native").DimensionValue | {
|
456
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
457
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
458
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
459
|
+
} | undefined;
|
460
|
+
insetBlockStart?: import("react-native").DimensionValue | {
|
461
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
462
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
463
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
464
|
+
} | undefined;
|
465
|
+
insetInline?: import("react-native").DimensionValue | {
|
466
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
467
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
468
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
469
|
+
} | undefined;
|
470
|
+
insetInlineEnd?: import("react-native").DimensionValue | {
|
471
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
472
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
473
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
474
|
+
} | undefined;
|
475
|
+
insetInlineStart?: import("react-native").DimensionValue | {
|
476
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
477
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
478
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
479
|
+
} | undefined;
|
480
|
+
marginBlock?: import("react-native").DimensionValue | {
|
481
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
482
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
483
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
484
|
+
} | undefined;
|
485
|
+
marginBlockEnd?: import("react-native").DimensionValue | {
|
486
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
487
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
488
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
489
|
+
} | undefined;
|
490
|
+
marginBlockStart?: import("react-native").DimensionValue | {
|
491
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
492
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
493
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
494
|
+
} | undefined;
|
495
|
+
marginInline?: import("react-native").DimensionValue | {
|
496
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
497
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
498
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
499
|
+
} | undefined;
|
500
|
+
marginInlineEnd?: import("react-native").DimensionValue | {
|
501
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
502
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
503
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
504
|
+
} | undefined;
|
505
|
+
marginInlineStart?: import("react-native").DimensionValue | {
|
506
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
507
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
508
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
509
|
+
} | undefined;
|
510
|
+
paddingBlock?: import("react-native").DimensionValue | {
|
511
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
512
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
513
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
514
|
+
} | undefined;
|
515
|
+
paddingBlockEnd?: import("react-native").DimensionValue | {
|
516
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
517
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
518
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
519
|
+
} | undefined;
|
520
|
+
paddingBlockStart?: import("react-native").DimensionValue | {
|
521
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
522
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
523
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
524
|
+
} | undefined;
|
525
|
+
paddingInline?: import("react-native").DimensionValue | {
|
526
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
527
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
528
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
529
|
+
} | undefined;
|
530
|
+
paddingInlineEnd?: import("react-native").DimensionValue | {
|
531
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
532
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
533
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
534
|
+
} | undefined;
|
535
|
+
paddingInlineStart?: import("react-native").DimensionValue | {
|
536
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
537
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
538
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
539
|
+
} | undefined;
|
440
540
|
shadowColor?: import("react-native").ColorValue | {
|
441
541
|
[x: symbol]: import("react-native").ColorValue | undefined;
|
442
542
|
portrait?: import("react-native").ColorValue | undefined;
|
@@ -615,6 +715,8 @@ export declare const StyleSheet: {
|
|
615
715
|
compoundVariants?: Array<{
|
616
716
|
styles: Omit<import("../types").UnistylesValues, "variants" | "compoundVariants">;
|
617
717
|
}> | undefined;
|
718
|
+
boxShadow?: string | import("../types/stylesheet").ToDeepUnistyles<import("react-native").BoxShadowValue>[] | undefined;
|
719
|
+
filter?: string | import("../types/stylesheet").ToDeepUnistyles<import("react-native").FilterFunction>[] | undefined;
|
618
720
|
shadowOffset?: import("../types/stylesheet").ToDeepUnistyles<import("../types/core").ShadowOffset> | undefined;
|
619
721
|
transform?: import("../types/stylesheet").ToDeepUnistyles<import("../types/core").TransformStyles>[] | undefined;
|
620
722
|
textShadowOffset?: import("../types/stylesheet").ToDeepUnistyles<import("../types/core").ShadowOffset> | undefined;
|
@@ -769,6 +871,11 @@ export declare const StyleSheet: {
|
|
769
871
|
portrait?: "box-none" | "none" | "box-only" | "auto" | undefined;
|
770
872
|
landscape?: "box-none" | "none" | "box-only" | "auto" | undefined;
|
771
873
|
} | undefined;
|
874
|
+
isolation?: "auto" | "isolate" | {
|
875
|
+
[x: symbol]: "auto" | "isolate" | undefined;
|
876
|
+
portrait?: "auto" | "isolate" | undefined;
|
877
|
+
landscape?: "auto" | "isolate" | undefined;
|
878
|
+
} | undefined;
|
772
879
|
cursor?: import("react-native").CursorValue | {
|
773
880
|
[x: symbol]: import("react-native").CursorValue | undefined;
|
774
881
|
portrait?: import("react-native").CursorValue | undefined;
|
@@ -1054,6 +1161,101 @@ export declare const StyleSheet: {
|
|
1054
1161
|
portrait?: "inherit" | "ltr" | "rtl" | undefined;
|
1055
1162
|
landscape?: "inherit" | "ltr" | "rtl" | undefined;
|
1056
1163
|
} | undefined;
|
1164
|
+
inset?: import("react-native").DimensionValue | {
|
1165
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1166
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1167
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1168
|
+
} | undefined;
|
1169
|
+
insetBlock?: import("react-native").DimensionValue | {
|
1170
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1171
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1172
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1173
|
+
} | undefined;
|
1174
|
+
insetBlockEnd?: import("react-native").DimensionValue | {
|
1175
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1176
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1177
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1178
|
+
} | undefined;
|
1179
|
+
insetBlockStart?: import("react-native").DimensionValue | {
|
1180
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1181
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1182
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1183
|
+
} | undefined;
|
1184
|
+
insetInline?: import("react-native").DimensionValue | {
|
1185
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1186
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1187
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1188
|
+
} | undefined;
|
1189
|
+
insetInlineEnd?: import("react-native").DimensionValue | {
|
1190
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1191
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1192
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1193
|
+
} | undefined;
|
1194
|
+
insetInlineStart?: import("react-native").DimensionValue | {
|
1195
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1196
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1197
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1198
|
+
} | undefined;
|
1199
|
+
marginBlock?: import("react-native").DimensionValue | {
|
1200
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1201
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1202
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1203
|
+
} | undefined;
|
1204
|
+
marginBlockEnd?: import("react-native").DimensionValue | {
|
1205
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1206
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1207
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1208
|
+
} | undefined;
|
1209
|
+
marginBlockStart?: import("react-native").DimensionValue | {
|
1210
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1211
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1212
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1213
|
+
} | undefined;
|
1214
|
+
marginInline?: import("react-native").DimensionValue | {
|
1215
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1216
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1217
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1218
|
+
} | undefined;
|
1219
|
+
marginInlineEnd?: import("react-native").DimensionValue | {
|
1220
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1221
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1222
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1223
|
+
} | undefined;
|
1224
|
+
marginInlineStart?: import("react-native").DimensionValue | {
|
1225
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1226
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1227
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1228
|
+
} | undefined;
|
1229
|
+
paddingBlock?: import("react-native").DimensionValue | {
|
1230
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1231
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1232
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1233
|
+
} | undefined;
|
1234
|
+
paddingBlockEnd?: import("react-native").DimensionValue | {
|
1235
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1236
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1237
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1238
|
+
} | undefined;
|
1239
|
+
paddingBlockStart?: import("react-native").DimensionValue | {
|
1240
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1241
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1242
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1243
|
+
} | undefined;
|
1244
|
+
paddingInline?: import("react-native").DimensionValue | {
|
1245
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1246
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1247
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1248
|
+
} | undefined;
|
1249
|
+
paddingInlineEnd?: import("react-native").DimensionValue | {
|
1250
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1251
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1252
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1253
|
+
} | undefined;
|
1254
|
+
paddingInlineStart?: import("react-native").DimensionValue | {
|
1255
|
+
[x: symbol]: import("react-native").DimensionValue | undefined;
|
1256
|
+
portrait?: import("react-native").DimensionValue | undefined;
|
1257
|
+
landscape?: import("react-native").DimensionValue | undefined;
|
1258
|
+
} | undefined;
|
1057
1259
|
shadowColor?: import("react-native").ColorValue | {
|
1058
1260
|
[x: symbol]: import("react-native").ColorValue | undefined;
|
1059
1261
|
portrait?: import("react-native").ColorValue | undefined;
|
@@ -1232,6 +1434,8 @@ export declare const StyleSheet: {
|
|
1232
1434
|
compoundVariants?: Array<{
|
1233
1435
|
styles: Omit<import("../types").UnistylesValues, "variants" | "compoundVariants">;
|
1234
1436
|
}> | undefined;
|
1437
|
+
boxShadow?: string | import("../types/stylesheet").ToDeepUnistyles<import("react-native").BoxShadowValue>[] | undefined;
|
1438
|
+
filter?: string | import("../types/stylesheet").ToDeepUnistyles<import("react-native").FilterFunction>[] | undefined;
|
1235
1439
|
shadowOffset?: import("../types/stylesheet").ToDeepUnistyles<import("../types/core").ShadowOffset> | undefined;
|
1236
1440
|
transform?: import("../types/stylesheet").ToDeepUnistyles<import("../types/core").TransformStyles>[] | undefined;
|
1237
1441
|
textShadowOffset?: import("../types/stylesheet").ToDeepUnistyles<import("../types/core").ShadowOffset> | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/web/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/web/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAUN,MAAM,KAAK,MAAM;yBACT,KAAK,CAAC,MAAM,CAAC;;CAErC,CAAA;AAED,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAA;AAC5C,OAAO,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAA;AAC1D,cAAc,QAAQ,CAAA;AAGtB,eAAO,MAAM,eAAe,eAAW,CAAA"}
|
@@ -7,11 +7,11 @@ declare class UnistylesRuntimeBuilder {
|
|
7
7
|
private getLightMedia;
|
8
8
|
private getDarkMedia;
|
9
9
|
get colorScheme(): ColorScheme;
|
10
|
-
get themeName():
|
10
|
+
get themeName(): undefined;
|
11
11
|
get contentSizeCategory(): WebContentSizeCategory;
|
12
12
|
get breakpoint(): keyof import("..").UnistylesBreakpoints | undefined;
|
13
13
|
get orientation(): Orientation;
|
14
|
-
get theme():
|
14
|
+
get theme(): never;
|
15
15
|
get pixelRatio(): number;
|
16
16
|
get screen(): {
|
17
17
|
width: number;
|
@@ -35,7 +35,7 @@ declare class UnistylesRuntimeBuilder {
|
|
35
35
|
setRootViewBackgroundColor: (hex: string, alpha?: number) => void;
|
36
36
|
setImmersiveMode: () => void;
|
37
37
|
updateTheme: (themeName: AppThemeName, updater: (currentTheme: AppTheme) => AppTheme) => void;
|
38
|
-
getTheme: (themeName?:
|
38
|
+
getTheme: (themeName?: undefined) => never;
|
39
39
|
}
|
40
40
|
export declare const UnistylesRuntime: UnistylesRuntimeBuilder;
|
41
41
|
export {};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../../../src/web/runtime.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,KAAK,QAAQ,EAAE,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC3F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AAMjD,cAAM,uBAAuB;IACzB,UAAU,wBAAuB;IACjC,SAAS,wBAAsB;IAE/B,OAAO,CAAC,aAAa;IAYrB,OAAO,CAAC,YAAY;IAYpB,IAAI,WAAW,gBASd;IAED,IAAI,SAAS,
|
1
|
+
{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../../../src/web/runtime.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,KAAK,QAAQ,EAAE,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC3F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AAMjD,cAAM,uBAAuB;IACzB,UAAU,wBAAuB;IACjC,SAAS,wBAAsB;IAE/B,OAAO,CAAC,aAAa;IAYrB,OAAO,CAAC,YAAY;IAYpB,IAAI,WAAW,gBASd;IAED,IAAI,SAAS,cAEZ;IAED,IAAI,mBAAmB,2BAEtB;IAED,IAAI,UAAU,wDAEb;IAED,IAAI,WAAW,gBAMd;IAED,IAAI,KAAK,UAER;IAED,IAAI,UAAU,WAEb;IAED,IAAI,MAAM;;;MAYT;IAED,IAAI,SAAS,WAEZ;IAED,IAAI,MAAM;;;;;;MAQT;IAED,IAAI,SAAS,oDAEZ;IAED,IAAI,GAAG,YAEN;IAED,IAAI,iBAAiB,YAEpB;IAED,IAAI,aAAa,2DAEhB;IAED,IAAI,WAAW,IAAI,oBAAoB,CAuBtC;IAED,QAAQ,cAAe,YAAY,UAQlC;IAED,iBAAiB,cAAe,OAAO,UAQtC;IAED,0BAA0B,QAAS,MAAM,UAAU,MAAM,UAMxD;IAED,gBAAgB,aAAW;IAE3B,WAAW,cAAe,YAAY,WAAW,CAAC,YAAY,EAAE,QAAQ,KAAK,QAAQ,UAQpF;IAED,QAAQ,mCAYP;CACJ;AAED,eAAO,MAAM,gBAAgB,yBAAgC,CAAA"}
|
@@ -2,7 +2,7 @@ import type { UnistylesConfig } from '../specs/StyleSheet';
|
|
2
2
|
import type { AppBreakpoint, AppThemeName } from '../specs/types';
|
3
3
|
import type { UnistylesBreakpoints } from '../global';
|
4
4
|
declare class UnistylesStateBuilder {
|
5
|
-
themes: Map<string,
|
5
|
+
themes: Map<string, never>;
|
6
6
|
themeName?: AppThemeName;
|
7
7
|
private matchingBreakpoints;
|
8
8
|
get breakpoint(): AppBreakpoint | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/web/state.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAC1D,OAAO,KAAK,EAAE,aAAa,
|
1
|
+
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/web/state.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAC1D,OAAO,KAAK,EAAE,aAAa,EAAY,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC3E,OAAO,KAAK,EAAE,oBAAoB,EAAmB,MAAM,WAAW,CAAA;AAMtE,cAAM,qBAAqB;IACvB,MAAM,qBAAoC;IAC1C,SAAS,CAAC,EAAE,YAAY,CAAA;IAExB,OAAO,CAAC,mBAAmB,CAA6B;IAExD,IAAI,UAAU,IAKkB,aAAa,GAAG,SAAS,CACxD;IAED,WAAW,CAAC,EAAE,oBAAoB,CAAA;IAElC,iBAAiB,UAAQ;IAEzB,IAAI,WAAY,eAAe,UAU9B;IAED,OAAO,CAAC,UAAU,CAIjB;IAED,OAAO,CAAC,YAAY,CAyBnB;IAED,OAAO,CAAC,eAAe,CAkBtB;CACJ;AAED,eAAO,MAAM,cAAc,uBAA8B,CAAA"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import type { UnistyleDependency } from '../../specs/NativePlatform';
|
2
|
-
import {
|
2
|
+
import { ColorScheme } from '../../specs/types';
|
3
3
|
import type { StyleSheet, StyleSheetWithSuperPowers, UnistylesValues } from '../../types/stylesheet';
|
4
|
-
export declare const schemeToTheme: (scheme: ColorScheme) =>
|
4
|
+
export declare const schemeToTheme: (scheme: ColorScheme) => string;
|
5
5
|
export declare const hexToRGBA: (hex: string, opacity: number) => string;
|
6
6
|
export type UnistyleSecrets = {
|
7
7
|
__uni__stylesheet: StyleSheetWithSuperPowers<StyleSheet>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"unistyle.d.ts","sourceRoot":"","sources":["../../../../../src/web/utils/unistyle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;AACpE,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"unistyle.d.ts","sourceRoot":"","sources":["../../../../../src/web/utils/unistyle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;AACpE,OAAO,EAAE,WAAW,EAAe,MAAM,mBAAmB,CAAA;AAC5D,OAAO,KAAK,EAAE,UAAU,EAAE,yBAAyB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAKpG,eAAO,MAAM,aAAa,WAAY,WAAW,KAAG,MAQnD,CAAA;AAED,eAAO,MAAM,SAAS,QAAS,MAAM,WAAW,MAAM,WAM5B,CAAA;AAE1B,MAAM,MAAM,eAAe,GAAG;IAC1B,iBAAiB,EAAE,yBAAyB,CAAC,UAAU,CAAC,CAAC;IACzD,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,GAAG,CAAC,WAAW,CAAC,CAAA;IAC7B,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACpC,WAAW,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,CAAA;CAC3B,CAAA;AAED,eAAO,MAAM,aAAa,GAAI,CAAC,UAAU,CAAC,WAAW,eAAe,MAKnE,CAAA;AAED,eAAO,MAAM,cAAc,WAAY,GAAG,sBAUzC,CAAA;AAED,eAAO,MAAM,SAAS,WAAY,eAAe,OAUhD,CAAA;AAED,eAAO,MAAM,YAAY,YAAa,WAAW,YAAoC,CAAA;AAErF,eAAO,MAAM,sBAAsB,UAAW,MAAM,uBAUnD,CAAA;AAED,eAAO,MAAM,aAAa,UAAW,MAAM,WAmB1C,CAAA;AAED,eAAO,MAAM,2BAA2B,UAAW,GAAG,yBAIrD,CAAA"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "react-native-unistyles",
|
3
|
-
"version": "3.0.0-alpha.
|
3
|
+
"version": "3.0.0-alpha.28",
|
4
4
|
"description": "Level up your React Native StyleSheet",
|
5
5
|
"scripts": {
|
6
6
|
"test": "jest",
|
@@ -60,27 +60,27 @@
|
|
60
60
|
"registry": "https://registry.npmjs.org/"
|
61
61
|
},
|
62
62
|
"devDependencies": {
|
63
|
-
"@babel/plugin-syntax-jsx": "7.25.
|
64
|
-
"@biomejs/biome": "1.
|
65
|
-
"@commitlint/config-conventional": "19.
|
66
|
-
"@react-native/normalize-colors": "0.
|
67
|
-
"@release-it/conventional-changelog": "8.0.
|
63
|
+
"@babel/plugin-syntax-jsx": "7.25.9",
|
64
|
+
"@biomejs/biome": "1.9.4",
|
65
|
+
"@commitlint/config-conventional": "19.5.0",
|
66
|
+
"@react-native/normalize-colors": "0.76.0",
|
67
|
+
"@release-it/conventional-changelog": "8.0.2",
|
68
68
|
"@testing-library/react-hooks": "8.0.1",
|
69
|
-
"@types/jest": "29.5.
|
70
|
-
"@types/react": "18.3.
|
69
|
+
"@types/jest": "29.5.14",
|
70
|
+
"@types/react": "18.3.12",
|
71
71
|
"babel-plugin-tester": "11.0.4",
|
72
|
-
"commitlint": "19.
|
72
|
+
"commitlint": "19.5.0",
|
73
73
|
"concurrently": "8.2.2",
|
74
|
-
"husky": "9.1.
|
74
|
+
"husky": "9.1.6",
|
75
75
|
"jest": "29.7.0",
|
76
76
|
"metro-react-native-babel-preset": "0.77.0",
|
77
77
|
"nitro-codegen": "0.13.0",
|
78
78
|
"react": "18.3.1",
|
79
|
-
"react-native": "0.
|
80
|
-
"react-native-builder-bob": "0.30.
|
79
|
+
"react-native": "0.76.0",
|
80
|
+
"react-native-builder-bob": "0.30.2",
|
81
81
|
"react-native-nitro-modules": "0.13.0",
|
82
82
|
"react-test-renderer": "18.3.1",
|
83
|
-
"release-it": "17.
|
83
|
+
"release-it": "17.10.0",
|
84
84
|
"typescript": "5.6.3"
|
85
85
|
},
|
86
86
|
"peerDependencies": {
|