@cieloazul310/digital-go-pandacss-preset 0.2.1 → 0.2.2
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/index.js +106 -102
- package/dist/index.mjs +106 -102
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -58,8 +58,8 @@ var accordion_default = (0, import_dev.defineSlotRecipe)({
|
|
|
58
58
|
borderBottomWidth: "1px",
|
|
59
59
|
borderBottomColor: "solid-gray.420",
|
|
60
60
|
"--icon-size": {
|
|
61
|
-
base: "
|
|
62
|
-
md: "
|
|
61
|
+
base: "{spacing.5}",
|
|
62
|
+
md: "{spacing.8}"
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
65
|
itemTrigger: {
|
|
@@ -83,8 +83,8 @@ var accordion_default = (0, import_dev.defineSlotRecipe)({
|
|
|
83
83
|
*/
|
|
84
84
|
py: { base: 2, md: 3.5 },
|
|
85
85
|
pl: {
|
|
86
|
-
base: "calc(var(--icon-size) +
|
|
87
|
-
md: "calc(var(--icon-size) +
|
|
86
|
+
base: "calc(var(--icon-size) + {spacing.3})",
|
|
87
|
+
md: "calc(var(--icon-size) + {spacing.5})"
|
|
88
88
|
},
|
|
89
89
|
pr: { base: 2, md: 4 },
|
|
90
90
|
cursor: { _hover: "pointer" },
|
|
@@ -101,8 +101,8 @@ var accordion_default = (0, import_dev.defineSlotRecipe)({
|
|
|
101
101
|
outlineStyle: "solid",
|
|
102
102
|
outlineWidth: "4px",
|
|
103
103
|
outlineColor: "black",
|
|
104
|
-
outlineOffset:
|
|
105
|
-
focusBox: "calc(
|
|
104
|
+
outlineOffset: 0.5,
|
|
105
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
106
106
|
},
|
|
107
107
|
/**
|
|
108
108
|
* remove button style
|
|
@@ -155,8 +155,8 @@ var accordion_default = (0, import_dev.defineSlotRecipe)({
|
|
|
155
155
|
desktop:pl-[calc(var(--icon-size)+(20/16*1rem))] desktop:pr-4 desktop:py-6
|
|
156
156
|
*/
|
|
157
157
|
pl: {
|
|
158
|
-
base: "calc(var(--icon-size) +
|
|
159
|
-
md: "calc(var(--icon-size) +
|
|
158
|
+
base: "calc(var(--icon-size) + {spacing.3})",
|
|
159
|
+
md: "calc(var(--icon-size) + {spacing.5})"
|
|
160
160
|
},
|
|
161
161
|
pr: { base: 2, md: 4 },
|
|
162
162
|
py: { base: 4, md: 6 }
|
|
@@ -178,13 +178,13 @@ var blockquote_default = (0, import_dev2.defineRecipe)({
|
|
|
178
178
|
* padding-left: calc(24 / 16 * 1rem);
|
|
179
179
|
*/
|
|
180
180
|
my: 0,
|
|
181
|
-
mx:
|
|
181
|
+
mx: 10,
|
|
182
182
|
borderLeftWidth: "8px",
|
|
183
183
|
borderColor: "solid-gray.536",
|
|
184
|
-
pt:
|
|
185
|
-
pr:
|
|
186
|
-
pb:
|
|
187
|
-
pl:
|
|
184
|
+
pt: 2,
|
|
185
|
+
pr: 4,
|
|
186
|
+
pb: 2,
|
|
187
|
+
pl: 6,
|
|
188
188
|
"& > *:first-child": {
|
|
189
189
|
mt: 0
|
|
190
190
|
},
|
|
@@ -325,8 +325,8 @@ var link_default = (0, import_dev3.defineRecipe)({
|
|
|
325
325
|
outlineStyle: "solid",
|
|
326
326
|
outlineWidth: "4px",
|
|
327
327
|
outlineColor: "black",
|
|
328
|
-
outlineOffset:
|
|
329
|
-
focusBox: "calc(
|
|
328
|
+
outlineOffset: 0.5,
|
|
329
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
330
330
|
},
|
|
331
331
|
/**
|
|
332
332
|
* with icon
|
|
@@ -429,8 +429,8 @@ var button_default = (0, import_dev5.defineRecipe)({
|
|
|
429
429
|
outlineStyle: "solid",
|
|
430
430
|
outlineWidth: "4px",
|
|
431
431
|
outlineColor: "black",
|
|
432
|
-
outlineOffset:
|
|
433
|
-
focusBox: "calc(
|
|
432
|
+
outlineOffset: 0.5,
|
|
433
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
434
434
|
},
|
|
435
435
|
/**
|
|
436
436
|
* aria-disabled:pointer-events-none aria-disabled:forced-colors:border-[GrayText] aria-disabled:forced-colors:text-[GrayText]
|
|
@@ -442,10 +442,14 @@ var button_default = (0, import_dev5.defineRecipe)({
|
|
|
442
442
|
* button default
|
|
443
443
|
*/
|
|
444
444
|
display: "inline-flex",
|
|
445
|
+
columnGap: 1,
|
|
445
446
|
textAlign: "center",
|
|
446
447
|
alignItems: "center",
|
|
447
448
|
justifyContent: "center",
|
|
448
|
-
cursor: "pointer"
|
|
449
|
+
cursor: "pointer",
|
|
450
|
+
_icon: {
|
|
451
|
+
flexShrink: 0
|
|
452
|
+
}
|
|
449
453
|
},
|
|
450
454
|
variants: {
|
|
451
455
|
variant: {
|
|
@@ -536,7 +540,7 @@ var button_default = (0, import_dev5.defineRecipe)({
|
|
|
536
540
|
/**
|
|
537
541
|
* lg: 'min-w-[calc(136/16*1rem)] min-h-14 rounded-8 px-4 py-3 text-oln-16B-100'
|
|
538
542
|
*/
|
|
539
|
-
minWidth: "calc(
|
|
543
|
+
minWidth: "calc({spacing.1} * 34)",
|
|
540
544
|
minHeight: 14,
|
|
541
545
|
rounded: 8,
|
|
542
546
|
px: 4,
|
|
@@ -562,6 +566,7 @@ var button_default = (0, import_dev5.defineRecipe)({
|
|
|
562
566
|
minWidth: 20,
|
|
563
567
|
minHeight: 9,
|
|
564
568
|
textStyle: "oln-16B-100",
|
|
569
|
+
px: 3,
|
|
565
570
|
py: 0.5,
|
|
566
571
|
rounded: 6,
|
|
567
572
|
_after: {
|
|
@@ -632,8 +637,8 @@ var card_default = (0, import_dev6.defineSlotRecipe)({
|
|
|
632
637
|
outlineStyle: "solid",
|
|
633
638
|
outlineWidth: "4px",
|
|
634
639
|
outlineColor: "black",
|
|
635
|
-
outlineOffset:
|
|
636
|
-
focusBox: "calc(
|
|
640
|
+
outlineOffset: 0.5,
|
|
641
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
637
642
|
}
|
|
638
643
|
},
|
|
639
644
|
image: {
|
|
@@ -758,8 +763,8 @@ var checkbox_default = (0, import_dev7.defineSlotRecipe)({
|
|
|
758
763
|
outlineStyle: "solid",
|
|
759
764
|
outlineWidth: "4px",
|
|
760
765
|
outlineColor: "black",
|
|
761
|
-
outlineOffset:
|
|
762
|
-
focusBox: "calc(
|
|
766
|
+
outlineOffset: 0.5,
|
|
767
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
763
768
|
}
|
|
764
769
|
},
|
|
765
770
|
/**
|
|
@@ -771,8 +776,8 @@ var checkbox_default = (0, import_dev7.defineSlotRecipe)({
|
|
|
771
776
|
outlineStyle: "solid",
|
|
772
777
|
outlineWidth: "4px",
|
|
773
778
|
outlineColor: "black",
|
|
774
|
-
outlineOffset:
|
|
775
|
-
focusBox: "calc(
|
|
779
|
+
outlineOffset: 0.5,
|
|
780
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
776
781
|
}
|
|
777
782
|
},
|
|
778
783
|
indicator: {
|
|
@@ -1016,8 +1021,8 @@ var buttonCommon = {
|
|
|
1016
1021
|
outlineStyle: "solid",
|
|
1017
1022
|
outlineWidth: "4px",
|
|
1018
1023
|
outlineColor: "black",
|
|
1019
|
-
outlineOffset:
|
|
1020
|
-
focusBox: "calc(
|
|
1024
|
+
outlineOffset: 0.5,
|
|
1025
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
1021
1026
|
}
|
|
1022
1027
|
};
|
|
1023
1028
|
var chip_tag_default = (0, import_dev9.defineSlotRecipe)({
|
|
@@ -1154,8 +1159,8 @@ var input_default = (0, import_dev11.defineRecipe)({
|
|
|
1154
1159
|
outlineStyle: "solid",
|
|
1155
1160
|
outlineWidth: "4px",
|
|
1156
1161
|
outlineColor: "black",
|
|
1157
|
-
outlineOffset:
|
|
1158
|
-
focusBox: "calc(
|
|
1162
|
+
outlineOffset: 0.5,
|
|
1163
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
1159
1164
|
},
|
|
1160
1165
|
/**
|
|
1161
1166
|
* aria-disabled:pointer-events-none
|
|
@@ -1226,8 +1231,8 @@ var select_box_default = (0, import_dev12.defineRecipe)({
|
|
|
1226
1231
|
outlineStyle: "solid",
|
|
1227
1232
|
outlineWidth: "4px",
|
|
1228
1233
|
outlineColor: "black",
|
|
1229
|
-
outlineOffset:
|
|
1230
|
-
focusBox: "calc(
|
|
1234
|
+
outlineOffset: 0.5,
|
|
1235
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
1231
1236
|
}
|
|
1232
1237
|
},
|
|
1233
1238
|
variants: {
|
|
@@ -1387,10 +1392,10 @@ var description_list_default = (0, import_dev14.defineSlotRecipe)({
|
|
|
1387
1392
|
* gap: calc(8 / 16 * 1rem) 0;
|
|
1388
1393
|
* overflow-wrap: anywhere;
|
|
1389
1394
|
*/
|
|
1390
|
-
mt:
|
|
1391
|
-
mb:
|
|
1395
|
+
mt: 4,
|
|
1396
|
+
mb: 4,
|
|
1392
1397
|
display: "grid",
|
|
1393
|
-
rowGap:
|
|
1398
|
+
rowGap: 2,
|
|
1394
1399
|
overflowWrap: "anywhere"
|
|
1395
1400
|
},
|
|
1396
1401
|
term: {
|
|
@@ -1406,7 +1411,7 @@ var description_list_default = (0, import_dev14.defineSlotRecipe)({
|
|
|
1406
1411
|
/**
|
|
1407
1412
|
* margin-left: calc(32 / 16 * 1rem);
|
|
1408
1413
|
*/
|
|
1409
|
-
ml:
|
|
1414
|
+
ml: 8
|
|
1410
1415
|
}
|
|
1411
1416
|
},
|
|
1412
1417
|
variants: {
|
|
@@ -1419,7 +1424,7 @@ var description_list_default = (0, import_dev14.defineSlotRecipe)({
|
|
|
1419
1424
|
* display: list-item;
|
|
1420
1425
|
* list-style-type: disc;
|
|
1421
1426
|
*/
|
|
1422
|
-
ml:
|
|
1427
|
+
ml: 8,
|
|
1423
1428
|
display: "list-item",
|
|
1424
1429
|
listStyleType: "disc"
|
|
1425
1430
|
}
|
|
@@ -1427,7 +1432,7 @@ var description_list_default = (0, import_dev14.defineSlotRecipe)({
|
|
|
1427
1432
|
custom: {
|
|
1428
1433
|
marker: {
|
|
1429
1434
|
display: "inline-block",
|
|
1430
|
-
minWidth:
|
|
1435
|
+
minWidth: 8,
|
|
1431
1436
|
height: "1em"
|
|
1432
1437
|
}
|
|
1433
1438
|
}
|
|
@@ -1490,8 +1495,8 @@ var disclosure_default = (0, import_dev15.defineSlotRecipe)({
|
|
|
1490
1495
|
outlineStyle: "solid",
|
|
1491
1496
|
outlineWidth: "4px",
|
|
1492
1497
|
outlineColor: "black",
|
|
1493
|
-
outlineOffset:
|
|
1494
|
-
focusBox: "calc(
|
|
1498
|
+
outlineOffset: 0.5,
|
|
1499
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
1495
1500
|
}
|
|
1496
1501
|
},
|
|
1497
1502
|
indicator: {
|
|
@@ -1670,8 +1675,8 @@ var emergency_banner_default = (0, import_dev18.defineSlotRecipe)({
|
|
|
1670
1675
|
* block px-2.5 py-3.5 border-[6px] bg-white desktop:p-[calc(26/16*1rem)] border-warning-orange-1
|
|
1671
1676
|
*/
|
|
1672
1677
|
display: "block",
|
|
1673
|
-
px: { base: 2.5, md:
|
|
1674
|
-
py: { base: 3.5, md:
|
|
1678
|
+
px: { base: 2.5, md: 6.5 },
|
|
1679
|
+
py: { base: 3.5, md: 6.5 },
|
|
1675
1680
|
bg: "white",
|
|
1676
1681
|
borderWidth: "6px",
|
|
1677
1682
|
borderColor: "warning.orange.1",
|
|
@@ -1694,8 +1699,8 @@ var emergency_banner_default = (0, import_dev18.defineSlotRecipe)({
|
|
|
1694
1699
|
mt: { base: 2, md: 4 }
|
|
1695
1700
|
},
|
|
1696
1701
|
action: {
|
|
1697
|
-
pt: { base:
|
|
1698
|
-
pb: { md:
|
|
1702
|
+
pt: { base: 2, md: 3 },
|
|
1703
|
+
pb: { md: 1 },
|
|
1699
1704
|
display: { md: "flex" },
|
|
1700
1705
|
justifyContent: { md: "flex" }
|
|
1701
1706
|
},
|
|
@@ -1720,7 +1725,7 @@ var emergency_banner_default = (0, import_dev18.defineSlotRecipe)({
|
|
|
1720
1725
|
position: "relative",
|
|
1721
1726
|
display: "block",
|
|
1722
1727
|
mx: "auto",
|
|
1723
|
-
p: { base:
|
|
1728
|
+
p: { base: 4.5, md: 5 },
|
|
1724
1729
|
width: { base: "full", md: "fit-content" },
|
|
1725
1730
|
minWidth: "50%",
|
|
1726
1731
|
borderWidth: { base: "2px", md: "4px" },
|
|
@@ -1740,14 +1745,14 @@ var emergency_banner_default = (0, import_dev18.defineSlotRecipe)({
|
|
|
1740
1745
|
inset: 0,
|
|
1741
1746
|
borderColor: "white",
|
|
1742
1747
|
borderWidth: { base: "2px", md: "4px" },
|
|
1743
|
-
rounded: { base:
|
|
1748
|
+
rounded: { base: 2.5, md: 12 }
|
|
1744
1749
|
},
|
|
1745
1750
|
_focusVisible: {
|
|
1746
1751
|
outlineStyle: "solid",
|
|
1747
1752
|
outlineWidth: "4px",
|
|
1748
1753
|
outlineColor: "black",
|
|
1749
|
-
outlineOffset:
|
|
1750
|
-
focusBox: "calc(
|
|
1754
|
+
outlineOffset: 0.5,
|
|
1755
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
1751
1756
|
}
|
|
1752
1757
|
}
|
|
1753
1758
|
}
|
|
@@ -1839,8 +1844,8 @@ var textarea_default = (0, import_dev22.defineRecipe)({
|
|
|
1839
1844
|
outlineStyle: "solid",
|
|
1840
1845
|
outlineWidth: "4px",
|
|
1841
1846
|
outlineColor: "black",
|
|
1842
|
-
outlineOffset:
|
|
1843
|
-
focusBox: "calc(
|
|
1847
|
+
outlineOffset: 0.5,
|
|
1848
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
1844
1849
|
}
|
|
1845
1850
|
}
|
|
1846
1851
|
});
|
|
@@ -2552,8 +2557,8 @@ var hamburger_menu_button_default = (0, import_dev26.defineRecipe)({
|
|
|
2552
2557
|
outlineStyle: "solid",
|
|
2553
2558
|
outlineWidth: "4px",
|
|
2554
2559
|
outlineColor: "black",
|
|
2555
|
-
outlineOffset:
|
|
2556
|
-
focusBox: "calc(
|
|
2560
|
+
outlineOffset: 0.5,
|
|
2561
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
2557
2562
|
},
|
|
2558
2563
|
/**
|
|
2559
2564
|
* override reset
|
|
@@ -2685,8 +2690,8 @@ var menu_item_default = (0, import_dev29.defineRecipe)({
|
|
|
2685
2690
|
outlineStyle: "solid",
|
|
2686
2691
|
outlineWidth: "4px",
|
|
2687
2692
|
outlineColor: "black",
|
|
2688
|
-
outlineOffset:
|
|
2689
|
-
focusBox: "
|
|
2693
|
+
outlineOffset: 0.5,
|
|
2694
|
+
focusBox: "{spacing.1.5}",
|
|
2690
2695
|
zIndex: 1
|
|
2691
2696
|
},
|
|
2692
2697
|
_highlighted: {
|
|
@@ -2694,8 +2699,8 @@ var menu_item_default = (0, import_dev29.defineRecipe)({
|
|
|
2694
2699
|
outlineStyle: "solid",
|
|
2695
2700
|
outlineWidth: "4px",
|
|
2696
2701
|
outlineColor: "black",
|
|
2697
|
-
outlineOffset:
|
|
2698
|
-
focusBox: "
|
|
2702
|
+
outlineOffset: 0.5,
|
|
2703
|
+
focusBox: "{spacing.1.5}",
|
|
2699
2704
|
zIndex: 1
|
|
2700
2705
|
}
|
|
2701
2706
|
},
|
|
@@ -2740,7 +2745,7 @@ var menu_default = (0, import_dev30.defineSlotRecipe)({
|
|
|
2740
2745
|
content: {
|
|
2741
2746
|
minWidth: "fit-content",
|
|
2742
2747
|
width: "auto",
|
|
2743
|
-
maxHeight: "calc(
|
|
2748
|
+
maxHeight: "calc({spacing.1} * 75.5)",
|
|
2744
2749
|
py: 2,
|
|
2745
2750
|
borderWidth: "1px",
|
|
2746
2751
|
borderColor: "solid-gray.420",
|
|
@@ -2776,8 +2781,8 @@ var menu_default = (0, import_dev30.defineSlotRecipe)({
|
|
|
2776
2781
|
outlineStyle: "solid",
|
|
2777
2782
|
outlineWidth: "4px",
|
|
2778
2783
|
outlineColor: "black",
|
|
2779
|
-
outlineOffset:
|
|
2780
|
-
focusBox: "calc(
|
|
2784
|
+
outlineOffset: 0.5,
|
|
2785
|
+
focusBox: "calc({spacing.1} / 2)",
|
|
2781
2786
|
zIndex: 1
|
|
2782
2787
|
}
|
|
2783
2788
|
/**
|
|
@@ -2794,7 +2799,7 @@ var menu_default = (0, import_dev30.defineSlotRecipe)({
|
|
|
2794
2799
|
isCondensed: {
|
|
2795
2800
|
true: {
|
|
2796
2801
|
content: {
|
|
2797
|
-
maxHeight: "calc(
|
|
2802
|
+
maxHeight: "calc({spacing.2} * 28)"
|
|
2798
2803
|
},
|
|
2799
2804
|
itemGroupLabel: {
|
|
2800
2805
|
py: 1.5,
|
|
@@ -2900,8 +2905,8 @@ var notification_banner_default = (0, import_dev32.defineSlotRecipe)({
|
|
|
2900
2905
|
* [--icon-size:calc(24/16*1rem)] desktop:[--icon-size:calc(36/16*1rem)]
|
|
2901
2906
|
*/
|
|
2902
2907
|
"--icon-size": {
|
|
2903
|
-
base: "
|
|
2904
|
-
md: "
|
|
2908
|
+
base: "{spacing.6}",
|
|
2909
|
+
md: "{spacing.9}"
|
|
2905
2910
|
},
|
|
2906
2911
|
"--icon-scale": {
|
|
2907
2912
|
base: 24 / 36,
|
|
@@ -2939,7 +2944,7 @@ var notification_banner_default = (0, import_dev32.defineSlotRecipe)({
|
|
|
2939
2944
|
/**
|
|
2940
2945
|
* mt-[calc(2/16*1rem)] desktop:mt-0
|
|
2941
2946
|
*/
|
|
2942
|
-
mt: { base:
|
|
2947
|
+
mt: { base: 0.5, md: 0 },
|
|
2943
2948
|
/**
|
|
2944
2949
|
* h-auto max-w-full
|
|
2945
2950
|
*/
|
|
@@ -3012,9 +3017,9 @@ var notification_banner_default = (0, import_dev32.defineSlotRecipe)({
|
|
|
3012
3017
|
* }
|
|
3013
3018
|
* }
|
|
3014
3019
|
*/
|
|
3015
|
-
mb:
|
|
3020
|
+
mb: -2,
|
|
3016
3021
|
display: "grid",
|
|
3017
|
-
gap: { base:
|
|
3022
|
+
gap: { base: 2, md: 4 },
|
|
3018
3023
|
gridColumn: { base: "1 / 4", md: "2 / 4" },
|
|
3019
3024
|
gridAutoFlow: { md: "column" },
|
|
3020
3025
|
justifyContent: { md: "end" }
|
|
@@ -3358,8 +3363,8 @@ var radio_group_default = (0, import_dev35.defineSlotRecipe)({
|
|
|
3358
3363
|
outlineStyle: "solid",
|
|
3359
3364
|
outlineWidth: "4px",
|
|
3360
3365
|
outlineColor: "black",
|
|
3361
|
-
outlineOffset:
|
|
3362
|
-
focusBox: "calc(
|
|
3366
|
+
outlineOffset: 0.5,
|
|
3367
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
3363
3368
|
}
|
|
3364
3369
|
},
|
|
3365
3370
|
/**
|
|
@@ -3371,8 +3376,8 @@ var radio_group_default = (0, import_dev35.defineSlotRecipe)({
|
|
|
3371
3376
|
outlineStyle: "solid",
|
|
3372
3377
|
outlineWidth: "4px",
|
|
3373
3378
|
outlineColor: "black",
|
|
3374
|
-
outlineOffset:
|
|
3375
|
-
focusBox: "calc(
|
|
3379
|
+
outlineOffset: 0.5,
|
|
3380
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
3376
3381
|
},
|
|
3377
3382
|
_before: {
|
|
3378
3383
|
/**
|
|
@@ -3458,7 +3463,7 @@ var radio_group_default = (0, import_dev35.defineSlotRecipe)({
|
|
|
3458
3463
|
/**
|
|
3459
3464
|
* data-[size=sm]:border-[calc(2/16*1rem)]
|
|
3460
3465
|
*/
|
|
3461
|
-
borderWidth: "
|
|
3466
|
+
borderWidth: "{spacing.0.5}"
|
|
3462
3467
|
},
|
|
3463
3468
|
itemText: {
|
|
3464
3469
|
/**
|
|
@@ -3487,7 +3492,7 @@ var radio_group_default = (0, import_dev35.defineSlotRecipe)({
|
|
|
3487
3492
|
/**
|
|
3488
3493
|
* data-[size=md]:border-[calc(2/16*1rem)]
|
|
3489
3494
|
*/
|
|
3490
|
-
borderWidth: "
|
|
3495
|
+
borderWidth: "{spacing.0.5}"
|
|
3491
3496
|
},
|
|
3492
3497
|
itemText: {
|
|
3493
3498
|
/**
|
|
@@ -3516,7 +3521,7 @@ var radio_group_default = (0, import_dev35.defineSlotRecipe)({
|
|
|
3516
3521
|
/**
|
|
3517
3522
|
* data-[size=lg]:border-[calc(3/16*1rem)]
|
|
3518
3523
|
*/
|
|
3519
|
-
borderWidth: "calc(3 /
|
|
3524
|
+
borderWidth: "calc({spacing.1} * 3 / 4)"
|
|
3520
3525
|
},
|
|
3521
3526
|
itemText: {
|
|
3522
3527
|
/**
|
|
@@ -3569,8 +3574,8 @@ var resource_list_default = (0, import_dev36.defineSlotRecipe)({
|
|
|
3569
3574
|
outlineStyle: "solid",
|
|
3570
3575
|
outlineWidth: "4px",
|
|
3571
3576
|
outlineColor: "black",
|
|
3572
|
-
outlineOffset:
|
|
3573
|
-
focusBox: "calc(
|
|
3577
|
+
outlineOffset: 0.5,
|
|
3578
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
3574
3579
|
}
|
|
3575
3580
|
},
|
|
3576
3581
|
action: {
|
|
@@ -3794,7 +3799,7 @@ var step_navigation_default = (0, import_dev38.defineSlotRecipe)({
|
|
|
3794
3799
|
*/
|
|
3795
3800
|
width: "calc(var(--_step-width, 320) / 16 * 1rem)",
|
|
3796
3801
|
minWidth: "calc(var(--_step-min-width, 160) / 16 * 1rem)",
|
|
3797
|
-
px:
|
|
3802
|
+
px: 4
|
|
3798
3803
|
},
|
|
3799
3804
|
_vertical: {
|
|
3800
3805
|
/**
|
|
@@ -3802,7 +3807,7 @@ var step_navigation_default = (0, import_dev38.defineSlotRecipe)({
|
|
|
3802
3807
|
* padding-bottom: calc(24 / 16 * 1rem);
|
|
3803
3808
|
*/
|
|
3804
3809
|
flex: 1,
|
|
3805
|
-
pb:
|
|
3810
|
+
pb: 6
|
|
3806
3811
|
}
|
|
3807
3812
|
},
|
|
3808
3813
|
trigger: {
|
|
@@ -3842,7 +3847,7 @@ var step_navigation_default = (0, import_dev38.defineSlotRecipe)({
|
|
|
3842
3847
|
position: "relative",
|
|
3843
3848
|
display: "flex",
|
|
3844
3849
|
alignItems: "baseline",
|
|
3845
|
-
columnGap:
|
|
3850
|
+
columnGap: 4,
|
|
3846
3851
|
textAlign: "left"
|
|
3847
3852
|
}
|
|
3848
3853
|
},
|
|
@@ -3870,7 +3875,7 @@ var step_navigation_default = (0, import_dev38.defineSlotRecipe)({
|
|
|
3870
3875
|
position: "relative",
|
|
3871
3876
|
display: "grid",
|
|
3872
3877
|
placeContent: "center",
|
|
3873
|
-
m:
|
|
3878
|
+
m: 1,
|
|
3874
3879
|
boxSizing: "border-box",
|
|
3875
3880
|
width: "fit-content",
|
|
3876
3881
|
height: "var(--_number-size)",
|
|
@@ -3881,7 +3886,7 @@ var step_navigation_default = (0, import_dev38.defineSlotRecipe)({
|
|
|
3881
3886
|
borderColor: "colorPalette.primary",
|
|
3882
3887
|
bg: "white",
|
|
3883
3888
|
py: 0,
|
|
3884
|
-
px:
|
|
3889
|
+
px: 0.5,
|
|
3885
3890
|
textStyle: "std-20B-150",
|
|
3886
3891
|
textDecoration: "inherit",
|
|
3887
3892
|
textDecorationThickness: "inherit",
|
|
@@ -3905,8 +3910,8 @@ var step_navigation_default = (0, import_dev38.defineSlotRecipe)({
|
|
|
3905
3910
|
outlineWidth: "var(--_outline-width)",
|
|
3906
3911
|
outlineStyle: "solid",
|
|
3907
3912
|
outlineColor: "colorPalette.primary",
|
|
3908
|
-
outlineOffset:
|
|
3909
|
-
boxShadow: "0 0 0
|
|
3913
|
+
outlineOffset: 0.5,
|
|
3914
|
+
boxShadow: "0 0 0 {spacing.0.5} white"
|
|
3910
3915
|
},
|
|
3911
3916
|
_complete: {
|
|
3912
3917
|
bg: "colorPalette.bg",
|
|
@@ -3919,8 +3924,8 @@ var step_navigation_default = (0, import_dev38.defineSlotRecipe)({
|
|
|
3919
3924
|
* background-color: var(--color-neutral-white);
|
|
3920
3925
|
*/
|
|
3921
3926
|
position: "absolute",
|
|
3922
|
-
top:
|
|
3923
|
-
left: "calc(50% +
|
|
3927
|
+
top: -2.5,
|
|
3928
|
+
left: "calc(50% + {spacing.1.5})",
|
|
3924
3929
|
borderRadius: "full",
|
|
3925
3930
|
bg: "colorPalette.primary",
|
|
3926
3931
|
width: "36px",
|
|
@@ -3941,7 +3946,7 @@ var step_navigation_default = (0, import_dev38.defineSlotRecipe)({
|
|
|
3941
3946
|
* flex-shrink: 0;
|
|
3942
3947
|
*/
|
|
3943
3948
|
flexShrink: 0,
|
|
3944
|
-
mx:
|
|
3949
|
+
mx: 1
|
|
3945
3950
|
}
|
|
3946
3951
|
},
|
|
3947
3952
|
title: {
|
|
@@ -3999,7 +4004,7 @@ var step_navigation_default = (0, import_dev38.defineSlotRecipe)({
|
|
|
3999
4004
|
* );
|
|
4000
4005
|
*/
|
|
4001
4006
|
mt: "calc(var(--_description-margin) - (var(--_number-size) / 2 + var(--_number-margin) - 0.875rem))",
|
|
4002
|
-
pl: "calc(var(--_number-size) + var(--_number-margin) + var(--_number-margin) +
|
|
4007
|
+
pl: "calc(var(--_number-size) + var(--_number-margin) + var(--_number-margin) + {spacing.4})"
|
|
4003
4008
|
}
|
|
4004
4009
|
},
|
|
4005
4010
|
separator: {
|
|
@@ -4032,7 +4037,7 @@ var step_navigation_default = (0, import_dev38.defineSlotRecipe)({
|
|
|
4032
4037
|
* border-right: 1px solid;
|
|
4033
4038
|
*/
|
|
4034
4039
|
left: "calc(var(--_number-size) / 2 + var(--_number-margin))",
|
|
4035
|
-
top: "calc(50% -
|
|
4040
|
+
top: "calc(50% - {spacing.4})",
|
|
4036
4041
|
height: "100%",
|
|
4037
4042
|
borderRightWidth: "1px"
|
|
4038
4043
|
}
|
|
@@ -4050,11 +4055,11 @@ var step_navigation_default = (0, import_dev38.defineSlotRecipe)({
|
|
|
4050
4055
|
* --_title-margin: calc(24 / 16 * 1rem);
|
|
4051
4056
|
* --_description-margin: calc(8 / 16 * 1rem);
|
|
4052
4057
|
*/
|
|
4053
|
-
"--_number-size": "
|
|
4054
|
-
"--_number-margin": "
|
|
4055
|
-
"--_outline-width": "
|
|
4056
|
-
"--_title-margin": "
|
|
4057
|
-
"--_description-margin": "
|
|
4058
|
+
"--_number-size": "{spacing.11}",
|
|
4059
|
+
"--_number-margin": "{spacing.1}",
|
|
4060
|
+
"--_outline-width": "{spacing.0.5}",
|
|
4061
|
+
"--_title-margin": "{spacing.6}",
|
|
4062
|
+
"--_description-margin": "{spacing.2}"
|
|
4058
4063
|
}
|
|
4059
4064
|
},
|
|
4060
4065
|
indicator: {
|
|
@@ -4072,11 +4077,11 @@ var step_navigation_default = (0, import_dev38.defineSlotRecipe)({
|
|
|
4072
4077
|
* --_title-margin: calc(16 / 16 * 1rem);
|
|
4073
4078
|
* --_description-margin: calc(4 / 16 * 1rem);
|
|
4074
4079
|
*/
|
|
4075
|
-
"--_number-size": "
|
|
4076
|
-
"--_number-margin": "calc(3 /
|
|
4077
|
-
"--_outline-width": "calc(1 /
|
|
4078
|
-
"--_title-margin": "
|
|
4079
|
-
"--_description-margin": "
|
|
4080
|
+
"--_number-size": "{spacing.8}",
|
|
4081
|
+
"--_number-margin": "calc({spacing.1} * 3 / 4)",
|
|
4082
|
+
"--_outline-width": "calc({spacing.1} / 4)",
|
|
4083
|
+
"--_title-margin": "{spacing.4}",
|
|
4084
|
+
"--_description-margin": "{spacing.1}"
|
|
4080
4085
|
},
|
|
4081
4086
|
indicator: {
|
|
4082
4087
|
/**
|
|
@@ -4084,9 +4089,8 @@ var step_navigation_default = (0, import_dev38.defineSlotRecipe)({
|
|
|
4084
4089
|
* border-width: 1px;
|
|
4085
4090
|
* font-size: calc(16 / 16 * 1rem);
|
|
4086
4091
|
*/
|
|
4087
|
-
m: "calc(3 /
|
|
4092
|
+
m: "calc({spacing.1} * 3 / 4)",
|
|
4088
4093
|
borderWidth: "1px",
|
|
4089
|
-
// fontSize: "calc(16 / 16 * 1rem)",
|
|
4090
4094
|
textStyle: "std-16B-170",
|
|
4091
4095
|
"[data-orientation=horizontal] > &": {
|
|
4092
4096
|
/**
|
|
@@ -4097,7 +4101,7 @@ var step_navigation_default = (0, import_dev38.defineSlotRecipe)({
|
|
|
4097
4101
|
ml: "auto"
|
|
4098
4102
|
},
|
|
4099
4103
|
"[data-orientation=vertical] > &": {
|
|
4100
|
-
mx:
|
|
4104
|
+
mx: 1
|
|
4101
4105
|
},
|
|
4102
4106
|
_after: {
|
|
4103
4107
|
transform: "scale(0.33)"
|
|
@@ -4325,8 +4329,8 @@ var tabs_default = (0, import_dev40.defineSlotRecipe)({
|
|
|
4325
4329
|
outlineStyle: "solid",
|
|
4326
4330
|
outlineWidth: "4px",
|
|
4327
4331
|
outlineColor: "black",
|
|
4328
|
-
outlineOffset:
|
|
4329
|
-
focusBox: "calc(
|
|
4332
|
+
outlineOffset: 0.5,
|
|
4333
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
4330
4334
|
},
|
|
4331
4335
|
_selected: {
|
|
4332
4336
|
/**
|
|
@@ -4527,8 +4531,8 @@ var utility_link_default = (0, import_dev43.defineRecipe)({
|
|
|
4527
4531
|
outlineStyle: "solid",
|
|
4528
4532
|
outlineWidth: "4px",
|
|
4529
4533
|
outlineColor: "black",
|
|
4530
|
-
outlineOffset:
|
|
4531
|
-
focusBox: "calc(
|
|
4534
|
+
outlineOffset: 0.5,
|
|
4535
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
4532
4536
|
},
|
|
4533
4537
|
/**
|
|
4534
4538
|
* with icon
|
package/dist/index.mjs
CHANGED
|
@@ -25,8 +25,8 @@ var accordion_default = defineSlotRecipe({
|
|
|
25
25
|
borderBottomWidth: "1px",
|
|
26
26
|
borderBottomColor: "solid-gray.420",
|
|
27
27
|
"--icon-size": {
|
|
28
|
-
base: "
|
|
29
|
-
md: "
|
|
28
|
+
base: "{spacing.5}",
|
|
29
|
+
md: "{spacing.8}"
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
itemTrigger: {
|
|
@@ -50,8 +50,8 @@ var accordion_default = defineSlotRecipe({
|
|
|
50
50
|
*/
|
|
51
51
|
py: { base: 2, md: 3.5 },
|
|
52
52
|
pl: {
|
|
53
|
-
base: "calc(var(--icon-size) +
|
|
54
|
-
md: "calc(var(--icon-size) +
|
|
53
|
+
base: "calc(var(--icon-size) + {spacing.3})",
|
|
54
|
+
md: "calc(var(--icon-size) + {spacing.5})"
|
|
55
55
|
},
|
|
56
56
|
pr: { base: 2, md: 4 },
|
|
57
57
|
cursor: { _hover: "pointer" },
|
|
@@ -68,8 +68,8 @@ var accordion_default = defineSlotRecipe({
|
|
|
68
68
|
outlineStyle: "solid",
|
|
69
69
|
outlineWidth: "4px",
|
|
70
70
|
outlineColor: "black",
|
|
71
|
-
outlineOffset:
|
|
72
|
-
focusBox: "calc(
|
|
71
|
+
outlineOffset: 0.5,
|
|
72
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
73
73
|
},
|
|
74
74
|
/**
|
|
75
75
|
* remove button style
|
|
@@ -122,8 +122,8 @@ var accordion_default = defineSlotRecipe({
|
|
|
122
122
|
desktop:pl-[calc(var(--icon-size)+(20/16*1rem))] desktop:pr-4 desktop:py-6
|
|
123
123
|
*/
|
|
124
124
|
pl: {
|
|
125
|
-
base: "calc(var(--icon-size) +
|
|
126
|
-
md: "calc(var(--icon-size) +
|
|
125
|
+
base: "calc(var(--icon-size) + {spacing.3})",
|
|
126
|
+
md: "calc(var(--icon-size) + {spacing.5})"
|
|
127
127
|
},
|
|
128
128
|
pr: { base: 2, md: 4 },
|
|
129
129
|
py: { base: 4, md: 6 }
|
|
@@ -145,13 +145,13 @@ var blockquote_default = defineRecipe({
|
|
|
145
145
|
* padding-left: calc(24 / 16 * 1rem);
|
|
146
146
|
*/
|
|
147
147
|
my: 0,
|
|
148
|
-
mx:
|
|
148
|
+
mx: 10,
|
|
149
149
|
borderLeftWidth: "8px",
|
|
150
150
|
borderColor: "solid-gray.536",
|
|
151
|
-
pt:
|
|
152
|
-
pr:
|
|
153
|
-
pb:
|
|
154
|
-
pl:
|
|
151
|
+
pt: 2,
|
|
152
|
+
pr: 4,
|
|
153
|
+
pb: 2,
|
|
154
|
+
pl: 6,
|
|
155
155
|
"& > *:first-child": {
|
|
156
156
|
mt: 0
|
|
157
157
|
},
|
|
@@ -292,8 +292,8 @@ var link_default = defineRecipe2({
|
|
|
292
292
|
outlineStyle: "solid",
|
|
293
293
|
outlineWidth: "4px",
|
|
294
294
|
outlineColor: "black",
|
|
295
|
-
outlineOffset:
|
|
296
|
-
focusBox: "calc(
|
|
295
|
+
outlineOffset: 0.5,
|
|
296
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
297
297
|
},
|
|
298
298
|
/**
|
|
299
299
|
* with icon
|
|
@@ -396,8 +396,8 @@ var button_default = defineRecipe3({
|
|
|
396
396
|
outlineStyle: "solid",
|
|
397
397
|
outlineWidth: "4px",
|
|
398
398
|
outlineColor: "black",
|
|
399
|
-
outlineOffset:
|
|
400
|
-
focusBox: "calc(
|
|
399
|
+
outlineOffset: 0.5,
|
|
400
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
401
401
|
},
|
|
402
402
|
/**
|
|
403
403
|
* aria-disabled:pointer-events-none aria-disabled:forced-colors:border-[GrayText] aria-disabled:forced-colors:text-[GrayText]
|
|
@@ -409,10 +409,14 @@ var button_default = defineRecipe3({
|
|
|
409
409
|
* button default
|
|
410
410
|
*/
|
|
411
411
|
display: "inline-flex",
|
|
412
|
+
columnGap: 1,
|
|
412
413
|
textAlign: "center",
|
|
413
414
|
alignItems: "center",
|
|
414
415
|
justifyContent: "center",
|
|
415
|
-
cursor: "pointer"
|
|
416
|
+
cursor: "pointer",
|
|
417
|
+
_icon: {
|
|
418
|
+
flexShrink: 0
|
|
419
|
+
}
|
|
416
420
|
},
|
|
417
421
|
variants: {
|
|
418
422
|
variant: {
|
|
@@ -503,7 +507,7 @@ var button_default = defineRecipe3({
|
|
|
503
507
|
/**
|
|
504
508
|
* lg: 'min-w-[calc(136/16*1rem)] min-h-14 rounded-8 px-4 py-3 text-oln-16B-100'
|
|
505
509
|
*/
|
|
506
|
-
minWidth: "calc(
|
|
510
|
+
minWidth: "calc({spacing.1} * 34)",
|
|
507
511
|
minHeight: 14,
|
|
508
512
|
rounded: 8,
|
|
509
513
|
px: 4,
|
|
@@ -529,6 +533,7 @@ var button_default = defineRecipe3({
|
|
|
529
533
|
minWidth: 20,
|
|
530
534
|
minHeight: 9,
|
|
531
535
|
textStyle: "oln-16B-100",
|
|
536
|
+
px: 3,
|
|
532
537
|
py: 0.5,
|
|
533
538
|
rounded: 6,
|
|
534
539
|
_after: {
|
|
@@ -599,8 +604,8 @@ var card_default = defineSlotRecipe3({
|
|
|
599
604
|
outlineStyle: "solid",
|
|
600
605
|
outlineWidth: "4px",
|
|
601
606
|
outlineColor: "black",
|
|
602
|
-
outlineOffset:
|
|
603
|
-
focusBox: "calc(
|
|
607
|
+
outlineOffset: 0.5,
|
|
608
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
604
609
|
}
|
|
605
610
|
},
|
|
606
611
|
image: {
|
|
@@ -725,8 +730,8 @@ var checkbox_default = defineSlotRecipe4({
|
|
|
725
730
|
outlineStyle: "solid",
|
|
726
731
|
outlineWidth: "4px",
|
|
727
732
|
outlineColor: "black",
|
|
728
|
-
outlineOffset:
|
|
729
|
-
focusBox: "calc(
|
|
733
|
+
outlineOffset: 0.5,
|
|
734
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
730
735
|
}
|
|
731
736
|
},
|
|
732
737
|
/**
|
|
@@ -738,8 +743,8 @@ var checkbox_default = defineSlotRecipe4({
|
|
|
738
743
|
outlineStyle: "solid",
|
|
739
744
|
outlineWidth: "4px",
|
|
740
745
|
outlineColor: "black",
|
|
741
|
-
outlineOffset:
|
|
742
|
-
focusBox: "calc(
|
|
746
|
+
outlineOffset: 0.5,
|
|
747
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
743
748
|
}
|
|
744
749
|
},
|
|
745
750
|
indicator: {
|
|
@@ -983,8 +988,8 @@ var buttonCommon = {
|
|
|
983
988
|
outlineStyle: "solid",
|
|
984
989
|
outlineWidth: "4px",
|
|
985
990
|
outlineColor: "black",
|
|
986
|
-
outlineOffset:
|
|
987
|
-
focusBox: "calc(
|
|
991
|
+
outlineOffset: 0.5,
|
|
992
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
988
993
|
}
|
|
989
994
|
};
|
|
990
995
|
var chip_tag_default = defineSlotRecipe5({
|
|
@@ -1121,8 +1126,8 @@ var input_default = defineRecipe6({
|
|
|
1121
1126
|
outlineStyle: "solid",
|
|
1122
1127
|
outlineWidth: "4px",
|
|
1123
1128
|
outlineColor: "black",
|
|
1124
|
-
outlineOffset:
|
|
1125
|
-
focusBox: "calc(
|
|
1129
|
+
outlineOffset: 0.5,
|
|
1130
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
1126
1131
|
},
|
|
1127
1132
|
/**
|
|
1128
1133
|
* aria-disabled:pointer-events-none
|
|
@@ -1193,8 +1198,8 @@ var select_box_default = defineRecipe7({
|
|
|
1193
1198
|
outlineStyle: "solid",
|
|
1194
1199
|
outlineWidth: "4px",
|
|
1195
1200
|
outlineColor: "black",
|
|
1196
|
-
outlineOffset:
|
|
1197
|
-
focusBox: "calc(
|
|
1201
|
+
outlineOffset: 0.5,
|
|
1202
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
1198
1203
|
}
|
|
1199
1204
|
},
|
|
1200
1205
|
variants: {
|
|
@@ -1354,10 +1359,10 @@ var description_list_default = defineSlotRecipe7({
|
|
|
1354
1359
|
* gap: calc(8 / 16 * 1rem) 0;
|
|
1355
1360
|
* overflow-wrap: anywhere;
|
|
1356
1361
|
*/
|
|
1357
|
-
mt:
|
|
1358
|
-
mb:
|
|
1362
|
+
mt: 4,
|
|
1363
|
+
mb: 4,
|
|
1359
1364
|
display: "grid",
|
|
1360
|
-
rowGap:
|
|
1365
|
+
rowGap: 2,
|
|
1361
1366
|
overflowWrap: "anywhere"
|
|
1362
1367
|
},
|
|
1363
1368
|
term: {
|
|
@@ -1373,7 +1378,7 @@ var description_list_default = defineSlotRecipe7({
|
|
|
1373
1378
|
/**
|
|
1374
1379
|
* margin-left: calc(32 / 16 * 1rem);
|
|
1375
1380
|
*/
|
|
1376
|
-
ml:
|
|
1381
|
+
ml: 8
|
|
1377
1382
|
}
|
|
1378
1383
|
},
|
|
1379
1384
|
variants: {
|
|
@@ -1386,7 +1391,7 @@ var description_list_default = defineSlotRecipe7({
|
|
|
1386
1391
|
* display: list-item;
|
|
1387
1392
|
* list-style-type: disc;
|
|
1388
1393
|
*/
|
|
1389
|
-
ml:
|
|
1394
|
+
ml: 8,
|
|
1390
1395
|
display: "list-item",
|
|
1391
1396
|
listStyleType: "disc"
|
|
1392
1397
|
}
|
|
@@ -1394,7 +1399,7 @@ var description_list_default = defineSlotRecipe7({
|
|
|
1394
1399
|
custom: {
|
|
1395
1400
|
marker: {
|
|
1396
1401
|
display: "inline-block",
|
|
1397
|
-
minWidth:
|
|
1402
|
+
minWidth: 8,
|
|
1398
1403
|
height: "1em"
|
|
1399
1404
|
}
|
|
1400
1405
|
}
|
|
@@ -1457,8 +1462,8 @@ var disclosure_default = defineSlotRecipe8({
|
|
|
1457
1462
|
outlineStyle: "solid",
|
|
1458
1463
|
outlineWidth: "4px",
|
|
1459
1464
|
outlineColor: "black",
|
|
1460
|
-
outlineOffset:
|
|
1461
|
-
focusBox: "calc(
|
|
1465
|
+
outlineOffset: 0.5,
|
|
1466
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
1462
1467
|
}
|
|
1463
1468
|
},
|
|
1464
1469
|
indicator: {
|
|
@@ -1637,8 +1642,8 @@ var emergency_banner_default = defineSlotRecipe10({
|
|
|
1637
1642
|
* block px-2.5 py-3.5 border-[6px] bg-white desktop:p-[calc(26/16*1rem)] border-warning-orange-1
|
|
1638
1643
|
*/
|
|
1639
1644
|
display: "block",
|
|
1640
|
-
px: { base: 2.5, md:
|
|
1641
|
-
py: { base: 3.5, md:
|
|
1645
|
+
px: { base: 2.5, md: 6.5 },
|
|
1646
|
+
py: { base: 3.5, md: 6.5 },
|
|
1642
1647
|
bg: "white",
|
|
1643
1648
|
borderWidth: "6px",
|
|
1644
1649
|
borderColor: "warning.orange.1",
|
|
@@ -1661,8 +1666,8 @@ var emergency_banner_default = defineSlotRecipe10({
|
|
|
1661
1666
|
mt: { base: 2, md: 4 }
|
|
1662
1667
|
},
|
|
1663
1668
|
action: {
|
|
1664
|
-
pt: { base:
|
|
1665
|
-
pb: { md:
|
|
1669
|
+
pt: { base: 2, md: 3 },
|
|
1670
|
+
pb: { md: 1 },
|
|
1666
1671
|
display: { md: "flex" },
|
|
1667
1672
|
justifyContent: { md: "flex" }
|
|
1668
1673
|
},
|
|
@@ -1687,7 +1692,7 @@ var emergency_banner_default = defineSlotRecipe10({
|
|
|
1687
1692
|
position: "relative",
|
|
1688
1693
|
display: "block",
|
|
1689
1694
|
mx: "auto",
|
|
1690
|
-
p: { base:
|
|
1695
|
+
p: { base: 4.5, md: 5 },
|
|
1691
1696
|
width: { base: "full", md: "fit-content" },
|
|
1692
1697
|
minWidth: "50%",
|
|
1693
1698
|
borderWidth: { base: "2px", md: "4px" },
|
|
@@ -1707,14 +1712,14 @@ var emergency_banner_default = defineSlotRecipe10({
|
|
|
1707
1712
|
inset: 0,
|
|
1708
1713
|
borderColor: "white",
|
|
1709
1714
|
borderWidth: { base: "2px", md: "4px" },
|
|
1710
|
-
rounded: { base:
|
|
1715
|
+
rounded: { base: 2.5, md: 12 }
|
|
1711
1716
|
},
|
|
1712
1717
|
_focusVisible: {
|
|
1713
1718
|
outlineStyle: "solid",
|
|
1714
1719
|
outlineWidth: "4px",
|
|
1715
1720
|
outlineColor: "black",
|
|
1716
|
-
outlineOffset:
|
|
1717
|
-
focusBox: "calc(
|
|
1721
|
+
outlineOffset: 0.5,
|
|
1722
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
1718
1723
|
}
|
|
1719
1724
|
}
|
|
1720
1725
|
}
|
|
@@ -1806,8 +1811,8 @@ var textarea_default = defineRecipe12({
|
|
|
1806
1811
|
outlineStyle: "solid",
|
|
1807
1812
|
outlineWidth: "4px",
|
|
1808
1813
|
outlineColor: "black",
|
|
1809
|
-
outlineOffset:
|
|
1810
|
-
focusBox: "calc(
|
|
1814
|
+
outlineOffset: 0.5,
|
|
1815
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
1811
1816
|
}
|
|
1812
1817
|
}
|
|
1813
1818
|
});
|
|
@@ -2519,8 +2524,8 @@ var hamburger_menu_button_default = defineRecipe13({
|
|
|
2519
2524
|
outlineStyle: "solid",
|
|
2520
2525
|
outlineWidth: "4px",
|
|
2521
2526
|
outlineColor: "black",
|
|
2522
|
-
outlineOffset:
|
|
2523
|
-
focusBox: "calc(
|
|
2527
|
+
outlineOffset: 0.5,
|
|
2528
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
2524
2529
|
},
|
|
2525
2530
|
/**
|
|
2526
2531
|
* override reset
|
|
@@ -2652,8 +2657,8 @@ var menu_item_default = defineRecipe16({
|
|
|
2652
2657
|
outlineStyle: "solid",
|
|
2653
2658
|
outlineWidth: "4px",
|
|
2654
2659
|
outlineColor: "black",
|
|
2655
|
-
outlineOffset:
|
|
2656
|
-
focusBox: "
|
|
2660
|
+
outlineOffset: 0.5,
|
|
2661
|
+
focusBox: "{spacing.1.5}",
|
|
2657
2662
|
zIndex: 1
|
|
2658
2663
|
},
|
|
2659
2664
|
_highlighted: {
|
|
@@ -2661,8 +2666,8 @@ var menu_item_default = defineRecipe16({
|
|
|
2661
2666
|
outlineStyle: "solid",
|
|
2662
2667
|
outlineWidth: "4px",
|
|
2663
2668
|
outlineColor: "black",
|
|
2664
|
-
outlineOffset:
|
|
2665
|
-
focusBox: "
|
|
2669
|
+
outlineOffset: 0.5,
|
|
2670
|
+
focusBox: "{spacing.1.5}",
|
|
2666
2671
|
zIndex: 1
|
|
2667
2672
|
}
|
|
2668
2673
|
},
|
|
@@ -2707,7 +2712,7 @@ var menu_default = defineSlotRecipe14({
|
|
|
2707
2712
|
content: {
|
|
2708
2713
|
minWidth: "fit-content",
|
|
2709
2714
|
width: "auto",
|
|
2710
|
-
maxHeight: "calc(
|
|
2715
|
+
maxHeight: "calc({spacing.1} * 75.5)",
|
|
2711
2716
|
py: 2,
|
|
2712
2717
|
borderWidth: "1px",
|
|
2713
2718
|
borderColor: "solid-gray.420",
|
|
@@ -2743,8 +2748,8 @@ var menu_default = defineSlotRecipe14({
|
|
|
2743
2748
|
outlineStyle: "solid",
|
|
2744
2749
|
outlineWidth: "4px",
|
|
2745
2750
|
outlineColor: "black",
|
|
2746
|
-
outlineOffset:
|
|
2747
|
-
focusBox: "calc(
|
|
2751
|
+
outlineOffset: 0.5,
|
|
2752
|
+
focusBox: "calc({spacing.1} / 2)",
|
|
2748
2753
|
zIndex: 1
|
|
2749
2754
|
}
|
|
2750
2755
|
/**
|
|
@@ -2761,7 +2766,7 @@ var menu_default = defineSlotRecipe14({
|
|
|
2761
2766
|
isCondensed: {
|
|
2762
2767
|
true: {
|
|
2763
2768
|
content: {
|
|
2764
|
-
maxHeight: "calc(
|
|
2769
|
+
maxHeight: "calc({spacing.2} * 28)"
|
|
2765
2770
|
},
|
|
2766
2771
|
itemGroupLabel: {
|
|
2767
2772
|
py: 1.5,
|
|
@@ -2867,8 +2872,8 @@ var notification_banner_default = defineSlotRecipe16({
|
|
|
2867
2872
|
* [--icon-size:calc(24/16*1rem)] desktop:[--icon-size:calc(36/16*1rem)]
|
|
2868
2873
|
*/
|
|
2869
2874
|
"--icon-size": {
|
|
2870
|
-
base: "
|
|
2871
|
-
md: "
|
|
2875
|
+
base: "{spacing.6}",
|
|
2876
|
+
md: "{spacing.9}"
|
|
2872
2877
|
},
|
|
2873
2878
|
"--icon-scale": {
|
|
2874
2879
|
base: 24 / 36,
|
|
@@ -2906,7 +2911,7 @@ var notification_banner_default = defineSlotRecipe16({
|
|
|
2906
2911
|
/**
|
|
2907
2912
|
* mt-[calc(2/16*1rem)] desktop:mt-0
|
|
2908
2913
|
*/
|
|
2909
|
-
mt: { base:
|
|
2914
|
+
mt: { base: 0.5, md: 0 },
|
|
2910
2915
|
/**
|
|
2911
2916
|
* h-auto max-w-full
|
|
2912
2917
|
*/
|
|
@@ -2979,9 +2984,9 @@ var notification_banner_default = defineSlotRecipe16({
|
|
|
2979
2984
|
* }
|
|
2980
2985
|
* }
|
|
2981
2986
|
*/
|
|
2982
|
-
mb:
|
|
2987
|
+
mb: -2,
|
|
2983
2988
|
display: "grid",
|
|
2984
|
-
gap: { base:
|
|
2989
|
+
gap: { base: 2, md: 4 },
|
|
2985
2990
|
gridColumn: { base: "1 / 4", md: "2 / 4" },
|
|
2986
2991
|
gridAutoFlow: { md: "column" },
|
|
2987
2992
|
justifyContent: { md: "end" }
|
|
@@ -3325,8 +3330,8 @@ var radio_group_default = defineSlotRecipe18({
|
|
|
3325
3330
|
outlineStyle: "solid",
|
|
3326
3331
|
outlineWidth: "4px",
|
|
3327
3332
|
outlineColor: "black",
|
|
3328
|
-
outlineOffset:
|
|
3329
|
-
focusBox: "calc(
|
|
3333
|
+
outlineOffset: 0.5,
|
|
3334
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
3330
3335
|
}
|
|
3331
3336
|
},
|
|
3332
3337
|
/**
|
|
@@ -3338,8 +3343,8 @@ var radio_group_default = defineSlotRecipe18({
|
|
|
3338
3343
|
outlineStyle: "solid",
|
|
3339
3344
|
outlineWidth: "4px",
|
|
3340
3345
|
outlineColor: "black",
|
|
3341
|
-
outlineOffset:
|
|
3342
|
-
focusBox: "calc(
|
|
3346
|
+
outlineOffset: 0.5,
|
|
3347
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
3343
3348
|
},
|
|
3344
3349
|
_before: {
|
|
3345
3350
|
/**
|
|
@@ -3425,7 +3430,7 @@ var radio_group_default = defineSlotRecipe18({
|
|
|
3425
3430
|
/**
|
|
3426
3431
|
* data-[size=sm]:border-[calc(2/16*1rem)]
|
|
3427
3432
|
*/
|
|
3428
|
-
borderWidth: "
|
|
3433
|
+
borderWidth: "{spacing.0.5}"
|
|
3429
3434
|
},
|
|
3430
3435
|
itemText: {
|
|
3431
3436
|
/**
|
|
@@ -3454,7 +3459,7 @@ var radio_group_default = defineSlotRecipe18({
|
|
|
3454
3459
|
/**
|
|
3455
3460
|
* data-[size=md]:border-[calc(2/16*1rem)]
|
|
3456
3461
|
*/
|
|
3457
|
-
borderWidth: "
|
|
3462
|
+
borderWidth: "{spacing.0.5}"
|
|
3458
3463
|
},
|
|
3459
3464
|
itemText: {
|
|
3460
3465
|
/**
|
|
@@ -3483,7 +3488,7 @@ var radio_group_default = defineSlotRecipe18({
|
|
|
3483
3488
|
/**
|
|
3484
3489
|
* data-[size=lg]:border-[calc(3/16*1rem)]
|
|
3485
3490
|
*/
|
|
3486
|
-
borderWidth: "calc(3 /
|
|
3491
|
+
borderWidth: "calc({spacing.1} * 3 / 4)"
|
|
3487
3492
|
},
|
|
3488
3493
|
itemText: {
|
|
3489
3494
|
/**
|
|
@@ -3536,8 +3541,8 @@ var resource_list_default = defineSlotRecipe19({
|
|
|
3536
3541
|
outlineStyle: "solid",
|
|
3537
3542
|
outlineWidth: "4px",
|
|
3538
3543
|
outlineColor: "black",
|
|
3539
|
-
outlineOffset:
|
|
3540
|
-
focusBox: "calc(
|
|
3544
|
+
outlineOffset: 0.5,
|
|
3545
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
3541
3546
|
}
|
|
3542
3547
|
},
|
|
3543
3548
|
action: {
|
|
@@ -3761,7 +3766,7 @@ var step_navigation_default = defineSlotRecipe21({
|
|
|
3761
3766
|
*/
|
|
3762
3767
|
width: "calc(var(--_step-width, 320) / 16 * 1rem)",
|
|
3763
3768
|
minWidth: "calc(var(--_step-min-width, 160) / 16 * 1rem)",
|
|
3764
|
-
px:
|
|
3769
|
+
px: 4
|
|
3765
3770
|
},
|
|
3766
3771
|
_vertical: {
|
|
3767
3772
|
/**
|
|
@@ -3769,7 +3774,7 @@ var step_navigation_default = defineSlotRecipe21({
|
|
|
3769
3774
|
* padding-bottom: calc(24 / 16 * 1rem);
|
|
3770
3775
|
*/
|
|
3771
3776
|
flex: 1,
|
|
3772
|
-
pb:
|
|
3777
|
+
pb: 6
|
|
3773
3778
|
}
|
|
3774
3779
|
},
|
|
3775
3780
|
trigger: {
|
|
@@ -3809,7 +3814,7 @@ var step_navigation_default = defineSlotRecipe21({
|
|
|
3809
3814
|
position: "relative",
|
|
3810
3815
|
display: "flex",
|
|
3811
3816
|
alignItems: "baseline",
|
|
3812
|
-
columnGap:
|
|
3817
|
+
columnGap: 4,
|
|
3813
3818
|
textAlign: "left"
|
|
3814
3819
|
}
|
|
3815
3820
|
},
|
|
@@ -3837,7 +3842,7 @@ var step_navigation_default = defineSlotRecipe21({
|
|
|
3837
3842
|
position: "relative",
|
|
3838
3843
|
display: "grid",
|
|
3839
3844
|
placeContent: "center",
|
|
3840
|
-
m:
|
|
3845
|
+
m: 1,
|
|
3841
3846
|
boxSizing: "border-box",
|
|
3842
3847
|
width: "fit-content",
|
|
3843
3848
|
height: "var(--_number-size)",
|
|
@@ -3848,7 +3853,7 @@ var step_navigation_default = defineSlotRecipe21({
|
|
|
3848
3853
|
borderColor: "colorPalette.primary",
|
|
3849
3854
|
bg: "white",
|
|
3850
3855
|
py: 0,
|
|
3851
|
-
px:
|
|
3856
|
+
px: 0.5,
|
|
3852
3857
|
textStyle: "std-20B-150",
|
|
3853
3858
|
textDecoration: "inherit",
|
|
3854
3859
|
textDecorationThickness: "inherit",
|
|
@@ -3872,8 +3877,8 @@ var step_navigation_default = defineSlotRecipe21({
|
|
|
3872
3877
|
outlineWidth: "var(--_outline-width)",
|
|
3873
3878
|
outlineStyle: "solid",
|
|
3874
3879
|
outlineColor: "colorPalette.primary",
|
|
3875
|
-
outlineOffset:
|
|
3876
|
-
boxShadow: "0 0 0
|
|
3880
|
+
outlineOffset: 0.5,
|
|
3881
|
+
boxShadow: "0 0 0 {spacing.0.5} white"
|
|
3877
3882
|
},
|
|
3878
3883
|
_complete: {
|
|
3879
3884
|
bg: "colorPalette.bg",
|
|
@@ -3886,8 +3891,8 @@ var step_navigation_default = defineSlotRecipe21({
|
|
|
3886
3891
|
* background-color: var(--color-neutral-white);
|
|
3887
3892
|
*/
|
|
3888
3893
|
position: "absolute",
|
|
3889
|
-
top:
|
|
3890
|
-
left: "calc(50% +
|
|
3894
|
+
top: -2.5,
|
|
3895
|
+
left: "calc(50% + {spacing.1.5})",
|
|
3891
3896
|
borderRadius: "full",
|
|
3892
3897
|
bg: "colorPalette.primary",
|
|
3893
3898
|
width: "36px",
|
|
@@ -3908,7 +3913,7 @@ var step_navigation_default = defineSlotRecipe21({
|
|
|
3908
3913
|
* flex-shrink: 0;
|
|
3909
3914
|
*/
|
|
3910
3915
|
flexShrink: 0,
|
|
3911
|
-
mx:
|
|
3916
|
+
mx: 1
|
|
3912
3917
|
}
|
|
3913
3918
|
},
|
|
3914
3919
|
title: {
|
|
@@ -3966,7 +3971,7 @@ var step_navigation_default = defineSlotRecipe21({
|
|
|
3966
3971
|
* );
|
|
3967
3972
|
*/
|
|
3968
3973
|
mt: "calc(var(--_description-margin) - (var(--_number-size) / 2 + var(--_number-margin) - 0.875rem))",
|
|
3969
|
-
pl: "calc(var(--_number-size) + var(--_number-margin) + var(--_number-margin) +
|
|
3974
|
+
pl: "calc(var(--_number-size) + var(--_number-margin) + var(--_number-margin) + {spacing.4})"
|
|
3970
3975
|
}
|
|
3971
3976
|
},
|
|
3972
3977
|
separator: {
|
|
@@ -3999,7 +4004,7 @@ var step_navigation_default = defineSlotRecipe21({
|
|
|
3999
4004
|
* border-right: 1px solid;
|
|
4000
4005
|
*/
|
|
4001
4006
|
left: "calc(var(--_number-size) / 2 + var(--_number-margin))",
|
|
4002
|
-
top: "calc(50% -
|
|
4007
|
+
top: "calc(50% - {spacing.4})",
|
|
4003
4008
|
height: "100%",
|
|
4004
4009
|
borderRightWidth: "1px"
|
|
4005
4010
|
}
|
|
@@ -4017,11 +4022,11 @@ var step_navigation_default = defineSlotRecipe21({
|
|
|
4017
4022
|
* --_title-margin: calc(24 / 16 * 1rem);
|
|
4018
4023
|
* --_description-margin: calc(8 / 16 * 1rem);
|
|
4019
4024
|
*/
|
|
4020
|
-
"--_number-size": "
|
|
4021
|
-
"--_number-margin": "
|
|
4022
|
-
"--_outline-width": "
|
|
4023
|
-
"--_title-margin": "
|
|
4024
|
-
"--_description-margin": "
|
|
4025
|
+
"--_number-size": "{spacing.11}",
|
|
4026
|
+
"--_number-margin": "{spacing.1}",
|
|
4027
|
+
"--_outline-width": "{spacing.0.5}",
|
|
4028
|
+
"--_title-margin": "{spacing.6}",
|
|
4029
|
+
"--_description-margin": "{spacing.2}"
|
|
4025
4030
|
}
|
|
4026
4031
|
},
|
|
4027
4032
|
indicator: {
|
|
@@ -4039,11 +4044,11 @@ var step_navigation_default = defineSlotRecipe21({
|
|
|
4039
4044
|
* --_title-margin: calc(16 / 16 * 1rem);
|
|
4040
4045
|
* --_description-margin: calc(4 / 16 * 1rem);
|
|
4041
4046
|
*/
|
|
4042
|
-
"--_number-size": "
|
|
4043
|
-
"--_number-margin": "calc(3 /
|
|
4044
|
-
"--_outline-width": "calc(1 /
|
|
4045
|
-
"--_title-margin": "
|
|
4046
|
-
"--_description-margin": "
|
|
4047
|
+
"--_number-size": "{spacing.8}",
|
|
4048
|
+
"--_number-margin": "calc({spacing.1} * 3 / 4)",
|
|
4049
|
+
"--_outline-width": "calc({spacing.1} / 4)",
|
|
4050
|
+
"--_title-margin": "{spacing.4}",
|
|
4051
|
+
"--_description-margin": "{spacing.1}"
|
|
4047
4052
|
},
|
|
4048
4053
|
indicator: {
|
|
4049
4054
|
/**
|
|
@@ -4051,9 +4056,8 @@ var step_navigation_default = defineSlotRecipe21({
|
|
|
4051
4056
|
* border-width: 1px;
|
|
4052
4057
|
* font-size: calc(16 / 16 * 1rem);
|
|
4053
4058
|
*/
|
|
4054
|
-
m: "calc(3 /
|
|
4059
|
+
m: "calc({spacing.1} * 3 / 4)",
|
|
4055
4060
|
borderWidth: "1px",
|
|
4056
|
-
// fontSize: "calc(16 / 16 * 1rem)",
|
|
4057
4061
|
textStyle: "std-16B-170",
|
|
4058
4062
|
"[data-orientation=horizontal] > &": {
|
|
4059
4063
|
/**
|
|
@@ -4064,7 +4068,7 @@ var step_navigation_default = defineSlotRecipe21({
|
|
|
4064
4068
|
ml: "auto"
|
|
4065
4069
|
},
|
|
4066
4070
|
"[data-orientation=vertical] > &": {
|
|
4067
|
-
mx:
|
|
4071
|
+
mx: 1
|
|
4068
4072
|
},
|
|
4069
4073
|
_after: {
|
|
4070
4074
|
transform: "scale(0.33)"
|
|
@@ -4292,8 +4296,8 @@ var tabs_default = defineSlotRecipe23({
|
|
|
4292
4296
|
outlineStyle: "solid",
|
|
4293
4297
|
outlineWidth: "4px",
|
|
4294
4298
|
outlineColor: "black",
|
|
4295
|
-
outlineOffset:
|
|
4296
|
-
focusBox: "calc(
|
|
4299
|
+
outlineOffset: 0.5,
|
|
4300
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
4297
4301
|
},
|
|
4298
4302
|
_selected: {
|
|
4299
4303
|
/**
|
|
@@ -4494,8 +4498,8 @@ var utility_link_default = defineRecipe19({
|
|
|
4494
4498
|
outlineStyle: "solid",
|
|
4495
4499
|
outlineWidth: "4px",
|
|
4496
4500
|
outlineColor: "black",
|
|
4497
|
-
outlineOffset:
|
|
4498
|
-
focusBox: "calc(
|
|
4501
|
+
outlineOffset: 0.5,
|
|
4502
|
+
focusBox: "calc({spacing.1} / 2)"
|
|
4499
4503
|
},
|
|
4500
4504
|
/**
|
|
4501
4505
|
* with icon
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cieloazul310/digital-go-pandacss-preset",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"homepage": "https://github.com/cieloazul310/digital-go-design-system-with-panda",
|
|
6
6
|
"author": {
|
|
@@ -39,13 +39,13 @@
|
|
|
39
39
|
"format": "prettier --parser typescript --write ."
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@cieloazul310/digital-go-pandacss-plugin": "^0.2.
|
|
43
|
-
"@cieloazul310/digital-go-pandacss-utils": "^0.2.
|
|
42
|
+
"@cieloazul310/digital-go-pandacss-plugin": "^0.2.2",
|
|
43
|
+
"@cieloazul310/digital-go-pandacss-utils": "^0.2.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@pandacss/dev": "^1.4.2",
|
|
47
|
-
"@repo/eslint-config": "^0.2.
|
|
48
|
-
"@repo/typescript-config": "^0.2.
|
|
47
|
+
"@repo/eslint-config": "^0.2.2",
|
|
48
|
+
"@repo/typescript-config": "^0.2.2",
|
|
49
49
|
"@zag-js/accordion": "^1.26.2",
|
|
50
50
|
"@zag-js/anatomy": "^1.26.2",
|
|
51
51
|
"@zag-js/checkbox": "^1.26.2",
|