@jamadd/react-native-template-ui 0.1.7 → 0.1.9
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/lib/commonjs/components/btn/ThemedBtn.js +1 -1
- package/lib/commonjs/components/btn/ThemedBtn.js.map +1 -1
- package/lib/commonjs/components/btn/ThemedIconTextBtn.js +1 -1
- package/lib/commonjs/components/btn/ThemedIconTextBtn.js.map +1 -1
- package/lib/commonjs/components/icon/ThemedIcon.js +1 -1
- package/lib/commonjs/components/icon/ThemedIcon.js.map +1 -1
- package/lib/commonjs/components/loading/ThemedLoading.js +1 -1
- package/lib/commonjs/components/loading/ThemedLoading.js.map +1 -1
- package/lib/commonjs/components/overlay/alert/AlertBtn.js +2 -2
- package/lib/commonjs/components/overlay/alert/AlertBtn.js.map +1 -1
- package/lib/commonjs/components/overlay/alert/AlertBtns.js.map +1 -1
- package/lib/commonjs/hooks/switch.js +16 -16
- package/lib/commonjs/hooks/switch.js.map +1 -1
- package/lib/commonjs/utils/theme/const.js +15 -16
- package/lib/commonjs/utils/theme/const.js.map +1 -1
- package/lib/module/components/btn/ThemedBtn.js +1 -1
- package/lib/module/components/btn/ThemedBtn.js.map +1 -1
- package/lib/module/components/btn/ThemedIconTextBtn.js +1 -1
- package/lib/module/components/btn/ThemedIconTextBtn.js.map +1 -1
- package/lib/module/components/icon/ThemedIcon.js +1 -1
- package/lib/module/components/icon/ThemedIcon.js.map +1 -1
- package/lib/module/components/loading/ThemedLoading.js +1 -1
- package/lib/module/components/loading/ThemedLoading.js.map +1 -1
- package/lib/module/components/overlay/alert/AlertBtn.js +2 -2
- package/lib/module/components/overlay/alert/AlertBtn.js.map +1 -1
- package/lib/module/components/overlay/alert/AlertBtns.js.map +1 -1
- package/lib/module/hooks/switch.js +16 -16
- package/lib/module/hooks/switch.js.map +1 -1
- package/lib/module/utils/theme/const.js +15 -21
- package/lib/module/utils/theme/const.js.map +1 -1
- package/lib/typescript/commonjs/src/components/overlay/alert/AlertBtns.d.ts +2 -2
- package/lib/typescript/commonjs/src/components/overlay/alert/AlertBtns.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/text/Text.d.ts +56 -20
- package/lib/typescript/commonjs/src/components/text/Text.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/view/AnimatedBox.d.ts +29 -15
- package/lib/typescript/commonjs/src/components/view/AnimatedBox.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/view/Box.d.ts +58 -30
- package/lib/typescript/commonjs/src/components/view/Box.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/hooks/btn.d.ts +20 -20
- package/lib/typescript/commonjs/src/hooks/theme.d.ts +6 -2
- package/lib/typescript/commonjs/src/hooks/theme.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/test/utils/func.d.ts +3 -1
- package/lib/typescript/commonjs/src/test/utils/func.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/overlay.d.ts +2 -2
- package/lib/typescript/commonjs/src/types/overlay.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/utils/theme/const.d.ts +54 -1
- package/lib/typescript/commonjs/src/utils/theme/const.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/utils/theme/restyle.d.ts +18 -6
- package/lib/typescript/commonjs/src/utils/theme/restyle.d.ts.map +1 -1
- package/lib/typescript/module/src/components/overlay/alert/AlertBtns.d.ts +2 -2
- package/lib/typescript/module/src/components/overlay/alert/AlertBtns.d.ts.map +1 -1
- package/lib/typescript/module/src/components/text/Text.d.ts +56 -20
- package/lib/typescript/module/src/components/text/Text.d.ts.map +1 -1
- package/lib/typescript/module/src/components/view/AnimatedBox.d.ts +29 -15
- package/lib/typescript/module/src/components/view/AnimatedBox.d.ts.map +1 -1
- package/lib/typescript/module/src/components/view/Box.d.ts +58 -30
- package/lib/typescript/module/src/components/view/Box.d.ts.map +1 -1
- package/lib/typescript/module/src/hooks/btn.d.ts +20 -20
- package/lib/typescript/module/src/hooks/theme.d.ts +6 -2
- package/lib/typescript/module/src/hooks/theme.d.ts.map +1 -1
- package/lib/typescript/module/src/test/utils/func.d.ts +3 -1
- package/lib/typescript/module/src/test/utils/func.d.ts.map +1 -1
- package/lib/typescript/module/src/types/overlay.d.ts +2 -2
- package/lib/typescript/module/src/types/overlay.d.ts.map +1 -1
- package/lib/typescript/module/src/utils/theme/const.d.ts +54 -1
- package/lib/typescript/module/src/utils/theme/const.d.ts.map +1 -1
- package/lib/typescript/module/src/utils/theme/restyle.d.ts +18 -6
- package/lib/typescript/module/src/utils/theme/restyle.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/restyle").BackgroundColorProps<{
|
|
2
2
|
colors: {
|
|
3
3
|
transparent: import("../..").Palette;
|
|
4
|
-
|
|
4
|
+
themePri: import("../..").Palette;
|
|
5
|
+
themeSec: import("../..").Palette;
|
|
6
|
+
themePriT: import("../..").Palette;
|
|
5
7
|
background: import("../..").Palette;
|
|
6
8
|
backgroundOverlay: import("../..").Palette;
|
|
7
9
|
text: import("../..").Palette;
|
|
@@ -106,7 +108,9 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
|
|
|
106
108
|
}> & import("@shopify/restyle").OpacityProps<{
|
|
107
109
|
colors: {
|
|
108
110
|
transparent: import("../..").Palette;
|
|
109
|
-
|
|
111
|
+
themePri: import("../..").Palette;
|
|
112
|
+
themeSec: import("../..").Palette;
|
|
113
|
+
themePriT: import("../..").Palette;
|
|
110
114
|
background: import("../..").Palette;
|
|
111
115
|
backgroundOverlay: import("../..").Palette;
|
|
112
116
|
text: import("../..").Palette;
|
|
@@ -211,7 +215,9 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
|
|
|
211
215
|
}> & import("@shopify/restyle").VisibleProps<{
|
|
212
216
|
colors: {
|
|
213
217
|
transparent: import("../..").Palette;
|
|
214
|
-
|
|
218
|
+
themePri: import("../..").Palette;
|
|
219
|
+
themeSec: import("../..").Palette;
|
|
220
|
+
themePriT: import("../..").Palette;
|
|
215
221
|
background: import("../..").Palette;
|
|
216
222
|
backgroundOverlay: import("../..").Palette;
|
|
217
223
|
text: import("../..").Palette;
|
|
@@ -316,7 +322,9 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
|
|
|
316
322
|
}> & import("@shopify/restyle").LayoutProps<{
|
|
317
323
|
colors: {
|
|
318
324
|
transparent: import("../..").Palette;
|
|
319
|
-
|
|
325
|
+
themePri: import("../..").Palette;
|
|
326
|
+
themeSec: import("../..").Palette;
|
|
327
|
+
themePriT: import("../..").Palette;
|
|
320
328
|
background: import("../..").Palette;
|
|
321
329
|
backgroundOverlay: import("../..").Palette;
|
|
322
330
|
text: import("../..").Palette;
|
|
@@ -421,7 +429,9 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
|
|
|
421
429
|
}> & import("@shopify/restyle").SpacingProps<{
|
|
422
430
|
colors: {
|
|
423
431
|
transparent: import("../..").Palette;
|
|
424
|
-
|
|
432
|
+
themePri: import("../..").Palette;
|
|
433
|
+
themeSec: import("../..").Palette;
|
|
434
|
+
themePriT: import("../..").Palette;
|
|
425
435
|
background: import("../..").Palette;
|
|
426
436
|
backgroundOverlay: import("../..").Palette;
|
|
427
437
|
text: import("../..").Palette;
|
|
@@ -581,49 +591,49 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
|
|
|
581
591
|
desktop: number;
|
|
582
592
|
}>;
|
|
583
593
|
} & {
|
|
584
|
-
borderColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
594
|
+
borderColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
585
595
|
smallPhone: number;
|
|
586
596
|
phone: number;
|
|
587
597
|
smallTablet: number;
|
|
588
598
|
tablet: number;
|
|
589
599
|
desktop: number;
|
|
590
600
|
}> | undefined;
|
|
591
|
-
borderTopColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
601
|
+
borderTopColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
592
602
|
smallPhone: number;
|
|
593
603
|
phone: number;
|
|
594
604
|
smallTablet: number;
|
|
595
605
|
tablet: number;
|
|
596
606
|
desktop: number;
|
|
597
607
|
}> | undefined;
|
|
598
|
-
borderRightColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
608
|
+
borderRightColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
599
609
|
smallPhone: number;
|
|
600
610
|
phone: number;
|
|
601
611
|
smallTablet: number;
|
|
602
612
|
tablet: number;
|
|
603
613
|
desktop: number;
|
|
604
614
|
}> | undefined;
|
|
605
|
-
borderLeftColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
615
|
+
borderLeftColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
606
616
|
smallPhone: number;
|
|
607
617
|
phone: number;
|
|
608
618
|
smallTablet: number;
|
|
609
619
|
tablet: number;
|
|
610
620
|
desktop: number;
|
|
611
621
|
}> | undefined;
|
|
612
|
-
borderBottomColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
622
|
+
borderBottomColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
613
623
|
smallPhone: number;
|
|
614
624
|
phone: number;
|
|
615
625
|
smallTablet: number;
|
|
616
626
|
tablet: number;
|
|
617
627
|
desktop: number;
|
|
618
628
|
}> | undefined;
|
|
619
|
-
borderStartColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
629
|
+
borderStartColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
620
630
|
smallPhone: number;
|
|
621
631
|
phone: number;
|
|
622
632
|
smallTablet: number;
|
|
623
633
|
tablet: number;
|
|
624
634
|
desktop: number;
|
|
625
635
|
}> | undefined;
|
|
626
|
-
borderEndColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
636
|
+
borderEndColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
627
637
|
smallPhone: number;
|
|
628
638
|
phone: number;
|
|
629
639
|
smallTablet: number;
|
|
@@ -727,7 +737,7 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
|
|
|
727
737
|
desktop: number;
|
|
728
738
|
}>;
|
|
729
739
|
} & {
|
|
730
|
-
shadowColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
740
|
+
shadowColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
731
741
|
smallPhone: number;
|
|
732
742
|
phone: number;
|
|
733
743
|
smallTablet: number;
|
|
@@ -795,7 +805,9 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
|
|
|
795
805
|
} & import("@shopify/restyle").SpacingShorthandProps<{
|
|
796
806
|
colors: {
|
|
797
807
|
transparent: import("../..").Palette;
|
|
798
|
-
|
|
808
|
+
themePri: import("../..").Palette;
|
|
809
|
+
themeSec: import("../..").Palette;
|
|
810
|
+
themePriT: import("../..").Palette;
|
|
799
811
|
background: import("../..").Palette;
|
|
800
812
|
backgroundOverlay: import("../..").Palette;
|
|
801
813
|
text: import("../..").Palette;
|
|
@@ -900,7 +912,9 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
|
|
|
900
912
|
}> & import("@shopify/restyle").BackgroundColorShorthandProps<{
|
|
901
913
|
colors: {
|
|
902
914
|
transparent: import("../..").Palette;
|
|
903
|
-
|
|
915
|
+
themePri: import("../..").Palette;
|
|
916
|
+
themeSec: import("../..").Palette;
|
|
917
|
+
themePriT: import("../..").Palette;
|
|
904
918
|
background: import("../..").Palette;
|
|
905
919
|
backgroundOverlay: import("../..").Palette;
|
|
906
920
|
text: import("../..").Palette;
|
|
@@ -1008,7 +1022,9 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
|
|
|
1008
1022
|
defaultProps?: Partial<import("@shopify/restyle").BackgroundColorProps<{
|
|
1009
1023
|
colors: {
|
|
1010
1024
|
transparent: import("../..").Palette;
|
|
1011
|
-
|
|
1025
|
+
themePri: import("../..").Palette;
|
|
1026
|
+
themeSec: import("../..").Palette;
|
|
1027
|
+
themePriT: import("../..").Palette;
|
|
1012
1028
|
background: import("../..").Palette;
|
|
1013
1029
|
backgroundOverlay: import("../..").Palette;
|
|
1014
1030
|
text: import("../..").Palette;
|
|
@@ -1113,7 +1129,9 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
|
|
|
1113
1129
|
}> & import("@shopify/restyle").OpacityProps<{
|
|
1114
1130
|
colors: {
|
|
1115
1131
|
transparent: import("../..").Palette;
|
|
1116
|
-
|
|
1132
|
+
themePri: import("../..").Palette;
|
|
1133
|
+
themeSec: import("../..").Palette;
|
|
1134
|
+
themePriT: import("../..").Palette;
|
|
1117
1135
|
background: import("../..").Palette;
|
|
1118
1136
|
backgroundOverlay: import("../..").Palette;
|
|
1119
1137
|
text: import("../..").Palette;
|
|
@@ -1218,7 +1236,9 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
|
|
|
1218
1236
|
}> & import("@shopify/restyle").VisibleProps<{
|
|
1219
1237
|
colors: {
|
|
1220
1238
|
transparent: import("../..").Palette;
|
|
1221
|
-
|
|
1239
|
+
themePri: import("../..").Palette;
|
|
1240
|
+
themeSec: import("../..").Palette;
|
|
1241
|
+
themePriT: import("../..").Palette;
|
|
1222
1242
|
background: import("../..").Palette;
|
|
1223
1243
|
backgroundOverlay: import("../..").Palette;
|
|
1224
1244
|
text: import("../..").Palette;
|
|
@@ -1323,7 +1343,9 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
|
|
|
1323
1343
|
}> & import("@shopify/restyle").LayoutProps<{
|
|
1324
1344
|
colors: {
|
|
1325
1345
|
transparent: import("../..").Palette;
|
|
1326
|
-
|
|
1346
|
+
themePri: import("../..").Palette;
|
|
1347
|
+
themeSec: import("../..").Palette;
|
|
1348
|
+
themePriT: import("../..").Palette;
|
|
1327
1349
|
background: import("../..").Palette;
|
|
1328
1350
|
backgroundOverlay: import("../..").Palette;
|
|
1329
1351
|
text: import("../..").Palette;
|
|
@@ -1428,7 +1450,9 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
|
|
|
1428
1450
|
}> & import("@shopify/restyle").SpacingProps<{
|
|
1429
1451
|
colors: {
|
|
1430
1452
|
transparent: import("../..").Palette;
|
|
1431
|
-
|
|
1453
|
+
themePri: import("../..").Palette;
|
|
1454
|
+
themeSec: import("../..").Palette;
|
|
1455
|
+
themePriT: import("../..").Palette;
|
|
1432
1456
|
background: import("../..").Palette;
|
|
1433
1457
|
backgroundOverlay: import("../..").Palette;
|
|
1434
1458
|
text: import("../..").Palette;
|
|
@@ -1588,49 +1612,49 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
|
|
|
1588
1612
|
desktop: number;
|
|
1589
1613
|
}>;
|
|
1590
1614
|
} & {
|
|
1591
|
-
borderColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
1615
|
+
borderColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
1592
1616
|
smallPhone: number;
|
|
1593
1617
|
phone: number;
|
|
1594
1618
|
smallTablet: number;
|
|
1595
1619
|
tablet: number;
|
|
1596
1620
|
desktop: number;
|
|
1597
1621
|
}> | undefined;
|
|
1598
|
-
borderTopColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
1622
|
+
borderTopColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
1599
1623
|
smallPhone: number;
|
|
1600
1624
|
phone: number;
|
|
1601
1625
|
smallTablet: number;
|
|
1602
1626
|
tablet: number;
|
|
1603
1627
|
desktop: number;
|
|
1604
1628
|
}> | undefined;
|
|
1605
|
-
borderRightColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
1629
|
+
borderRightColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
1606
1630
|
smallPhone: number;
|
|
1607
1631
|
phone: number;
|
|
1608
1632
|
smallTablet: number;
|
|
1609
1633
|
tablet: number;
|
|
1610
1634
|
desktop: number;
|
|
1611
1635
|
}> | undefined;
|
|
1612
|
-
borderLeftColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
1636
|
+
borderLeftColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
1613
1637
|
smallPhone: number;
|
|
1614
1638
|
phone: number;
|
|
1615
1639
|
smallTablet: number;
|
|
1616
1640
|
tablet: number;
|
|
1617
1641
|
desktop: number;
|
|
1618
1642
|
}> | undefined;
|
|
1619
|
-
borderBottomColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
1643
|
+
borderBottomColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
1620
1644
|
smallPhone: number;
|
|
1621
1645
|
phone: number;
|
|
1622
1646
|
smallTablet: number;
|
|
1623
1647
|
tablet: number;
|
|
1624
1648
|
desktop: number;
|
|
1625
1649
|
}> | undefined;
|
|
1626
|
-
borderStartColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
1650
|
+
borderStartColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
1627
1651
|
smallPhone: number;
|
|
1628
1652
|
phone: number;
|
|
1629
1653
|
smallTablet: number;
|
|
1630
1654
|
tablet: number;
|
|
1631
1655
|
desktop: number;
|
|
1632
1656
|
}> | undefined;
|
|
1633
|
-
borderEndColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
1657
|
+
borderEndColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
1634
1658
|
smallPhone: number;
|
|
1635
1659
|
phone: number;
|
|
1636
1660
|
smallTablet: number;
|
|
@@ -1734,7 +1758,7 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
|
|
|
1734
1758
|
desktop: number;
|
|
1735
1759
|
}>;
|
|
1736
1760
|
} & {
|
|
1737
|
-
shadowColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
1761
|
+
shadowColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
1738
1762
|
smallPhone: number;
|
|
1739
1763
|
phone: number;
|
|
1740
1764
|
smallTablet: number;
|
|
@@ -1802,7 +1826,9 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
|
|
|
1802
1826
|
} & import("@shopify/restyle").SpacingShorthandProps<{
|
|
1803
1827
|
colors: {
|
|
1804
1828
|
transparent: import("../..").Palette;
|
|
1805
|
-
|
|
1829
|
+
themePri: import("../..").Palette;
|
|
1830
|
+
themeSec: import("../..").Palette;
|
|
1831
|
+
themePriT: import("../..").Palette;
|
|
1806
1832
|
background: import("../..").Palette;
|
|
1807
1833
|
backgroundOverlay: import("../..").Palette;
|
|
1808
1834
|
text: import("../..").Palette;
|
|
@@ -1907,7 +1933,9 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
|
|
|
1907
1933
|
}> & import("@shopify/restyle").BackgroundColorShorthandProps<{
|
|
1908
1934
|
colors: {
|
|
1909
1935
|
transparent: import("../..").Palette;
|
|
1910
|
-
|
|
1936
|
+
themePri: import("../..").Palette;
|
|
1937
|
+
themeSec: import("../..").Palette;
|
|
1938
|
+
themePriT: import("../..").Palette;
|
|
1911
1939
|
background: import("../..").Palette;
|
|
1912
1940
|
backgroundOverlay: import("../..").Palette;
|
|
1913
1941
|
text: import("../..").Palette;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../../../../src/components/view/Box.tsx"],"names":[],"mappings":"AAIA,QAAA,MAAM,GAAG
|
|
1
|
+
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../../../../src/components/view/Box.tsx"],"names":[],"mappings":"AAIA,QAAA,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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...pro
|
|
|
114
114
|
testOnly_pressed?: null | boolean | undefined | undefined;
|
|
115
115
|
unstable_pressDelay?: number | undefined | undefined;
|
|
116
116
|
scaleRatio?: BtnScaleRatio;
|
|
117
|
-
backgroundColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
117
|
+
backgroundColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
118
118
|
smallPhone: number;
|
|
119
119
|
phone: number;
|
|
120
120
|
smallTablet: number;
|
|
@@ -464,49 +464,49 @@ export declare function useThemedPressable({ onPress, onPressDelayConfig, ...pro
|
|
|
464
464
|
tablet: number;
|
|
465
465
|
desktop: number;
|
|
466
466
|
}>;
|
|
467
|
-
borderColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
467
|
+
borderColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
468
468
|
smallPhone: number;
|
|
469
469
|
phone: number;
|
|
470
470
|
smallTablet: number;
|
|
471
471
|
tablet: number;
|
|
472
472
|
desktop: number;
|
|
473
473
|
}> | undefined;
|
|
474
|
-
borderTopColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
474
|
+
borderTopColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
475
475
|
smallPhone: number;
|
|
476
476
|
phone: number;
|
|
477
477
|
smallTablet: number;
|
|
478
478
|
tablet: number;
|
|
479
479
|
desktop: number;
|
|
480
480
|
}> | undefined;
|
|
481
|
-
borderRightColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
481
|
+
borderRightColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
482
482
|
smallPhone: number;
|
|
483
483
|
phone: number;
|
|
484
484
|
smallTablet: number;
|
|
485
485
|
tablet: number;
|
|
486
486
|
desktop: number;
|
|
487
487
|
}> | undefined;
|
|
488
|
-
borderLeftColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
488
|
+
borderLeftColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
489
489
|
smallPhone: number;
|
|
490
490
|
phone: number;
|
|
491
491
|
smallTablet: number;
|
|
492
492
|
tablet: number;
|
|
493
493
|
desktop: number;
|
|
494
494
|
}> | undefined;
|
|
495
|
-
borderBottomColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
495
|
+
borderBottomColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
496
496
|
smallPhone: number;
|
|
497
497
|
phone: number;
|
|
498
498
|
smallTablet: number;
|
|
499
499
|
tablet: number;
|
|
500
500
|
desktop: number;
|
|
501
501
|
}> | undefined;
|
|
502
|
-
borderStartColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
502
|
+
borderStartColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
503
503
|
smallPhone: number;
|
|
504
504
|
phone: number;
|
|
505
505
|
smallTablet: number;
|
|
506
506
|
tablet: number;
|
|
507
507
|
desktop: number;
|
|
508
508
|
}> | undefined;
|
|
509
|
-
borderEndColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
509
|
+
borderEndColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
510
510
|
smallPhone: number;
|
|
511
511
|
phone: number;
|
|
512
512
|
smallTablet: number;
|
|
@@ -607,7 +607,7 @@ export declare function useThemedPressable({ onPress, onPressDelayConfig, ...pro
|
|
|
607
607
|
tablet: number;
|
|
608
608
|
desktop: number;
|
|
609
609
|
}>;
|
|
610
|
-
shadowColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
610
|
+
shadowColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
611
611
|
smallPhone: number;
|
|
612
612
|
phone: number;
|
|
613
613
|
smallTablet: number;
|
|
@@ -817,7 +817,7 @@ export declare function useThemedPressable({ onPress, onPressDelayConfig, ...pro
|
|
|
817
817
|
tablet: number;
|
|
818
818
|
desktop: number;
|
|
819
819
|
}> | undefined;
|
|
820
|
-
bg?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
820
|
+
bg?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
821
821
|
smallPhone: number;
|
|
822
822
|
phone: number;
|
|
823
823
|
smallTablet: number;
|
|
@@ -1175,49 +1175,49 @@ export declare function useThemedPressable({ onPress, onPressDelayConfig, ...pro
|
|
|
1175
1175
|
tablet: number;
|
|
1176
1176
|
desktop: number;
|
|
1177
1177
|
}>;
|
|
1178
|
-
borderColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
1178
|
+
borderColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
1179
1179
|
smallPhone: number;
|
|
1180
1180
|
phone: number;
|
|
1181
1181
|
smallTablet: number;
|
|
1182
1182
|
tablet: number;
|
|
1183
1183
|
desktop: number;
|
|
1184
1184
|
}> | undefined;
|
|
1185
|
-
borderTopColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
1185
|
+
borderTopColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
1186
1186
|
smallPhone: number;
|
|
1187
1187
|
phone: number;
|
|
1188
1188
|
smallTablet: number;
|
|
1189
1189
|
tablet: number;
|
|
1190
1190
|
desktop: number;
|
|
1191
1191
|
}> | undefined;
|
|
1192
|
-
borderRightColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
1192
|
+
borderRightColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
1193
1193
|
smallPhone: number;
|
|
1194
1194
|
phone: number;
|
|
1195
1195
|
smallTablet: number;
|
|
1196
1196
|
tablet: number;
|
|
1197
1197
|
desktop: number;
|
|
1198
1198
|
}> | undefined;
|
|
1199
|
-
borderLeftColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
1199
|
+
borderLeftColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
1200
1200
|
smallPhone: number;
|
|
1201
1201
|
phone: number;
|
|
1202
1202
|
smallTablet: number;
|
|
1203
1203
|
tablet: number;
|
|
1204
1204
|
desktop: number;
|
|
1205
1205
|
}> | undefined;
|
|
1206
|
-
borderBottomColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
1206
|
+
borderBottomColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
1207
1207
|
smallPhone: number;
|
|
1208
1208
|
phone: number;
|
|
1209
1209
|
smallTablet: number;
|
|
1210
1210
|
tablet: number;
|
|
1211
1211
|
desktop: number;
|
|
1212
1212
|
}> | undefined;
|
|
1213
|
-
borderStartColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
1213
|
+
borderStartColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
1214
1214
|
smallPhone: number;
|
|
1215
1215
|
phone: number;
|
|
1216
1216
|
smallTablet: number;
|
|
1217
1217
|
tablet: number;
|
|
1218
1218
|
desktop: number;
|
|
1219
1219
|
}> | undefined;
|
|
1220
|
-
borderEndColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
1220
|
+
borderEndColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
1221
1221
|
smallPhone: number;
|
|
1222
1222
|
phone: number;
|
|
1223
1223
|
smallTablet: number;
|
|
@@ -1493,14 +1493,14 @@ export declare function useThemedPressable({ onPress, onPressDelayConfig, ...pro
|
|
|
1493
1493
|
tablet: number;
|
|
1494
1494
|
desktop: number;
|
|
1495
1495
|
}> | undefined;
|
|
1496
|
-
backgroundColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
1496
|
+
backgroundColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
1497
1497
|
smallPhone: number;
|
|
1498
1498
|
phone: number;
|
|
1499
1499
|
smallTablet: number;
|
|
1500
1500
|
tablet: number;
|
|
1501
1501
|
desktop: number;
|
|
1502
1502
|
}> | undefined;
|
|
1503
|
-
bg?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
1503
|
+
bg?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
1504
1504
|
smallPhone: number;
|
|
1505
1505
|
phone: number;
|
|
1506
1506
|
smallTablet: number;
|
|
@@ -1579,7 +1579,7 @@ export declare function useThemedPressable({ onPress, onPressDelayConfig, ...pro
|
|
|
1579
1579
|
accessibilityShowsLargeContentViewer?: boolean | undefined | undefined;
|
|
1580
1580
|
accessibilityLargeContentTitle?: string | undefined | undefined;
|
|
1581
1581
|
accessibilityRespondsToUserInteraction?: boolean | undefined | undefined;
|
|
1582
|
-
shadowColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "
|
|
1582
|
+
shadowColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "themePri" | "themeSec" | "themePriT" | "background" | "backgroundOverlay" | "text" | "textOverlay" | "textBtn" | "border" | "separator" | "err", {
|
|
1583
1583
|
smallPhone: number;
|
|
1584
1584
|
phone: number;
|
|
1585
1585
|
smallTablet: number;
|
|
@@ -3,7 +3,9 @@ import { type ColorSchemeName } from 'react-native';
|
|
|
3
3
|
import type { Theme, ThemeBreakpoints } from '../types/theme';
|
|
4
4
|
export declare function useThemeColors(): {
|
|
5
5
|
transparent: import("..").Palette;
|
|
6
|
-
|
|
6
|
+
themePri: import("..").Palette;
|
|
7
|
+
themeSec: import("..").Palette;
|
|
8
|
+
themePriT: import("..").Palette;
|
|
7
9
|
background: import("..").Palette;
|
|
8
10
|
backgroundOverlay: import("..").Palette;
|
|
9
11
|
text: import("..").Palette;
|
|
@@ -111,7 +113,9 @@ export declare function useIsDarkColorScheme(overrideColorScheme?: ColorSchemeNa
|
|
|
111
113
|
export declare function useColorSchemeTheme(overrideColorScheme?: ColorSchemeName): {
|
|
112
114
|
colors: {
|
|
113
115
|
transparent: import("..").Palette;
|
|
114
|
-
|
|
116
|
+
themePri: import("..").Palette;
|
|
117
|
+
themeSec: import("..").Palette;
|
|
118
|
+
themePriT: import("..").Palette;
|
|
115
119
|
background: import("..").Palette;
|
|
116
120
|
backgroundOverlay: import("..").Palette;
|
|
117
121
|
text: import("..").Palette;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,eAAe,EACrB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAkB,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,KAAK,EAAE,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAQ9D,wBAAgB,cAAc
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,eAAe,EACrB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAkB,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,KAAK,EAAE,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAQ9D,wBAAgB,cAAc;;;;;;;;;;;;;EAE7B;AAED,wBAAgB,eAAe;;;;;;;;;;;EAE9B;AAED,wBAAgB,mBAAmB;;;;;;EAElC;AAED,wBAAgB,wBAAwB,CAAC,CAAC,SAAS,SAAS,EAC1D,SAAS,EAAE,eAAe,CAAC,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,iBAGpD;AAED,wBAAgB,kBAAkB,IASkB,gBAAgB,CACnE;AAED,wBAAgB,gBAAgB;;;;EAE/B;AAED,wBAAgB,mBAAmB;;;;;EAElC;AAED,wBAAgB,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEnC;AAED,wBAAgB,oBAAoB,CAAC,mBAAmB,CAAC,EAAE,eAAe,WAIzE;AAED,wBAAgB,mBAAmB,CAAC,mBAAmB,CAAC,EAAE,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAExE"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export declare function getThemeColors(): Promise<{
|
|
2
2
|
transparent: import("../..").Palette;
|
|
3
|
-
|
|
3
|
+
themePri: import("../..").Palette;
|
|
4
|
+
themeSec: import("../..").Palette;
|
|
5
|
+
themePriT: import("../..").Palette;
|
|
4
6
|
background: import("../..").Palette;
|
|
5
7
|
backgroundOverlay: import("../..").Palette;
|
|
6
8
|
text: import("../..").Palette;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"func.d.ts","sourceRoot":"","sources":["../../../../../../src/test/utils/func.ts"],"names":[],"mappings":"AAQA,wBAAsB,cAAc
|
|
1
|
+
{"version":3,"file":"func.d.ts","sourceRoot":"","sources":["../../../../../../src/test/utils/func.ts"],"names":[],"mappings":"AAQA,wBAAsB,cAAc;;;;;;;;;;;;;GAEnC;AAED,wBAAsB,eAAe;;;;;;;;;;;GAEpC;AAED,wBAAsB,mBAAmB;;;;;;GAExC;AAED,wBAAsB,gBAAgB;;;;GAErC;AAED,wBAAsB,mBAAmB;;;;;GAExC;AAED,wBAAsB,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAEzC;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,UAsBnC"}
|
|
@@ -27,17 +27,17 @@ export type AlertProps = Omit<OverlayProps, 'onDismiss'> & {
|
|
|
27
27
|
titleTextProps?: Omit<CustomThemedTextProps, 'text'>;
|
|
28
28
|
desc?: string;
|
|
29
29
|
descTextProps?: Omit<CustomThemedTextProps, 'text'>;
|
|
30
|
-
btns?:
|
|
30
|
+
btns?: AlertBtnProps[][];
|
|
31
31
|
btnsWrapProps?: Omit<ThemedViewProps, 'children'>;
|
|
32
32
|
btnProps?: Omit<ThemedBtnProps, 'onPress' | 'text'>;
|
|
33
33
|
onDismiss?: OverlayOnDismiss<OverlayDismissAlertResult>;
|
|
34
34
|
};
|
|
35
|
+
export type AlertBtnsProps = Pick<AlertProps, 'btns' | 'btnsWrapProps'>;
|
|
35
36
|
export type AlertBtnProps = Pick<ThemedBtnProps, 'text'> & {
|
|
36
37
|
type?: AlertBtnType;
|
|
37
38
|
onPress?: ThemedBtnProps['onPress'];
|
|
38
39
|
props?: Omit<ThemedBtnProps, 'onPress' | 'text'>;
|
|
39
40
|
};
|
|
40
|
-
export type AlertBtnsProps = AlertBtnProps[][];
|
|
41
41
|
export type ActionSheetProps = (Omit<OverlayProps, 'onDismiss'> & Omit<ActionSheetWrapProps, 'children'> & ActionSheetHeaderProps & {
|
|
42
42
|
title?: string;
|
|
43
43
|
expandable?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../../../../src/types/overlay.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE1D,OAAO,KAAK,EACV,YAAY,EAEZ,aAAa,EACb,SAAS,EACV,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC5D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,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