@mekari/pixel3-theme 0.6.0-dev.0 → 0.6.1-dev.0
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 +47 -44
- package/dist/index.mjs +47 -44
- package/package.json +1 -1
- package/src/global-css.ts +4 -0
- package/src/recipes/avatar.ts +0 -2
- package/src/recipes/badge.ts +2 -1
- package/src/recipes/button.ts +15 -16
- package/src/recipes/form-control.ts +0 -1
- package/src/recipes/icon.ts +0 -1
- package/src/recipes/input.ts +0 -2
- package/src/recipes/modal.ts +5 -1
- package/src/recipes/table.ts +1 -1
- package/src/recipes/tabs.ts +15 -9
- package/src/recipes/tooltip.ts +7 -10
package/dist/index.js
CHANGED
|
@@ -91,6 +91,10 @@ var globalCss = (0, import_dev.defineGlobalStyles)({
|
|
|
91
91
|
"*, *::before, *::after": {
|
|
92
92
|
borderStyle: "solid",
|
|
93
93
|
boxSizing: "border-box"
|
|
94
|
+
},
|
|
95
|
+
"[data-sonner-toaster]": {
|
|
96
|
+
display: "flex",
|
|
97
|
+
justifyContent: "center"
|
|
94
98
|
}
|
|
95
99
|
});
|
|
96
100
|
|
|
@@ -437,7 +441,6 @@ var avatarSlotRecipe = (0, import_dev4.defineSlotRecipe)({
|
|
|
437
441
|
size: "md",
|
|
438
442
|
variant: "circle"
|
|
439
443
|
},
|
|
440
|
-
// TODO: Check why this recipe need to generate statically
|
|
441
444
|
staticCss: ["*"]
|
|
442
445
|
});
|
|
443
446
|
var avatarGroupSlotRecipe = (0, import_dev4.defineSlotRecipe)({
|
|
@@ -513,7 +516,6 @@ var avatarGroupSlotRecipe = (0, import_dev4.defineSlotRecipe)({
|
|
|
513
516
|
},
|
|
514
517
|
compoundVariants: [],
|
|
515
518
|
defaultVariants: {},
|
|
516
|
-
// TODO: Check why this recipe need to generate statically
|
|
517
519
|
staticCss: ["*"]
|
|
518
520
|
});
|
|
519
521
|
|
|
@@ -932,11 +934,11 @@ var buttonRecipe = (0, import_dev6.defineRecipe)({
|
|
|
932
934
|
paddingX: "2",
|
|
933
935
|
paddingY: "1",
|
|
934
936
|
_hasIcon: {
|
|
935
|
-
"[data-icon-position=left]": {
|
|
937
|
+
"&[data-icon-position=left]": {
|
|
936
938
|
paddingLeft: "1.5",
|
|
937
939
|
paddingRight: "2"
|
|
938
940
|
},
|
|
939
|
-
"[data-icon-position=right]": {
|
|
941
|
+
"&[data-icon-position=right]": {
|
|
940
942
|
paddingLeft: "2",
|
|
941
943
|
paddingRight: "1.5"
|
|
942
944
|
}
|
|
@@ -945,11 +947,11 @@ var buttonRecipe = (0, import_dev6.defineRecipe)({
|
|
|
945
947
|
paddingX: "xs",
|
|
946
948
|
paddingY: "3xs",
|
|
947
949
|
_hasIcon: {
|
|
948
|
-
"[data-icon-position=left]": {
|
|
950
|
+
"&[data-icon-position=left]": {
|
|
949
951
|
paddingLeft: "2xs",
|
|
950
952
|
paddingRight: "xs"
|
|
951
953
|
},
|
|
952
|
-
"[data-icon-position=right]": {
|
|
954
|
+
"&[data-icon-position=right]": {
|
|
953
955
|
paddingLeft: "xs",
|
|
954
956
|
paddingRight: "2xs"
|
|
955
957
|
}
|
|
@@ -983,25 +985,25 @@ var buttonRecipe = (0, import_dev6.defineRecipe)({
|
|
|
983
985
|
paddingY: "2",
|
|
984
986
|
_hasIcon: {
|
|
985
987
|
"&[data-icon-position=left]": {
|
|
986
|
-
paddingLeft: "3
|
|
987
|
-
paddingRight: "4
|
|
988
|
+
paddingLeft: "3",
|
|
989
|
+
paddingRight: "4"
|
|
988
990
|
},
|
|
989
|
-
"&
|
|
990
|
-
paddingLeft: "4
|
|
991
|
-
paddingRight: "3
|
|
991
|
+
"&[data-icon-position=right]": {
|
|
992
|
+
paddingLeft: "4",
|
|
993
|
+
paddingRight: "3"
|
|
992
994
|
}
|
|
993
995
|
},
|
|
994
996
|
_nextTheme: {
|
|
995
997
|
paddingX: "md",
|
|
996
998
|
paddingY: "xs",
|
|
997
999
|
_hasIcon: {
|
|
998
|
-
"[data-icon-position=left]": {
|
|
999
|
-
paddingLeft: "sm
|
|
1000
|
-
paddingRight: "md
|
|
1000
|
+
"&[data-icon-position=left]": {
|
|
1001
|
+
paddingLeft: "sm",
|
|
1002
|
+
paddingRight: "md"
|
|
1001
1003
|
},
|
|
1002
|
-
"[data-icon-position=right]": {
|
|
1003
|
-
paddingLeft: "md
|
|
1004
|
-
paddingRight: "sm
|
|
1004
|
+
"&[data-icon-position=right]": {
|
|
1005
|
+
paddingLeft: "md",
|
|
1006
|
+
paddingRight: "sm"
|
|
1005
1007
|
}
|
|
1006
1008
|
}
|
|
1007
1009
|
}
|
|
@@ -1096,7 +1098,6 @@ var buttonRecipe = (0, import_dev6.defineRecipe)({
|
|
|
1096
1098
|
variant: "primary",
|
|
1097
1099
|
size: "md"
|
|
1098
1100
|
},
|
|
1099
|
-
// TODO: Check why this recipe need to generate statically
|
|
1100
1101
|
staticCss: ["*"]
|
|
1101
1102
|
});
|
|
1102
1103
|
var buttonGroupRecipe = (0, import_dev6.defineRecipe)({
|
|
@@ -1297,7 +1298,6 @@ var inputSlotRecipe = (0, import_dev7.defineSlotRecipe)({
|
|
|
1297
1298
|
size: "md",
|
|
1298
1299
|
variant: "outline"
|
|
1299
1300
|
},
|
|
1300
|
-
// TODO: Check why this recipe need to generate statically
|
|
1301
1301
|
staticCss: ["*"]
|
|
1302
1302
|
});
|
|
1303
1303
|
var inputGroupSlotRecipe = (0, import_dev7.defineSlotRecipe)({
|
|
@@ -1459,7 +1459,6 @@ var inputAddonSlotRecipe = (0, import_dev7.defineSlotRecipe)({
|
|
|
1459
1459
|
size: "md",
|
|
1460
1460
|
placement: "left"
|
|
1461
1461
|
},
|
|
1462
|
-
// TODO: Check why this recipe need to generate statically
|
|
1463
1462
|
staticCss: ["*"]
|
|
1464
1463
|
});
|
|
1465
1464
|
|
|
@@ -1707,7 +1706,6 @@ var iconRecipe = (0, import_dev10.defineRecipe)({
|
|
|
1707
1706
|
defaultVariants: {
|
|
1708
1707
|
size: "md"
|
|
1709
1708
|
},
|
|
1710
|
-
// TODO: Check why this recipe need to generate statically
|
|
1711
1709
|
staticCss: ["*"]
|
|
1712
1710
|
});
|
|
1713
1711
|
|
|
@@ -1951,7 +1949,8 @@ var badgeRecipe = (0, import_dev14.defineRecipe)({
|
|
|
1951
1949
|
display: "inline-flex",
|
|
1952
1950
|
alignItems: "center",
|
|
1953
1951
|
justifyContent: "center",
|
|
1954
|
-
borderRadius: "999px"
|
|
1952
|
+
borderRadius: "999px",
|
|
1953
|
+
width: "fit-content"
|
|
1955
1954
|
},
|
|
1956
1955
|
variants: {
|
|
1957
1956
|
variant: {
|
|
@@ -2243,21 +2242,18 @@ var tooltipRecipe = (0, import_dev16.defineRecipe)({
|
|
|
2243
2242
|
className: "tooltip",
|
|
2244
2243
|
jsx: ["MpTooltip", "mp-tooltip"],
|
|
2245
2244
|
base: {
|
|
2245
|
+
pointerEvents: "none",
|
|
2246
|
+
maxW: "280px",
|
|
2246
2247
|
px: "2",
|
|
2247
2248
|
py: "1",
|
|
2248
2249
|
borderRadius: "sm",
|
|
2249
|
-
|
|
2250
|
-
pointerEvents: "none",
|
|
2251
|
-
fontSize: "sm",
|
|
2252
|
-
lineHeight: "20px",
|
|
2253
|
-
shadow: "md",
|
|
2254
|
-
maxW: "300px",
|
|
2255
|
-
zIndex: "tooltip",
|
|
2256
|
-
boxShadow: "sm",
|
|
2257
|
-
bg: "overlay",
|
|
2258
|
-
color: "white",
|
|
2250
|
+
textStyle: "label.md",
|
|
2259
2251
|
whiteSpace: "normal",
|
|
2260
2252
|
overflowWrap: "break-word",
|
|
2253
|
+
zIndex: "tooltip",
|
|
2254
|
+
boxShadow: "xs",
|
|
2255
|
+
background: "overlay",
|
|
2256
|
+
color: "white",
|
|
2261
2257
|
_nextTheme: {
|
|
2262
2258
|
background: "background.overlay",
|
|
2263
2259
|
color: "text.inverse.static"
|
|
@@ -2302,6 +2298,9 @@ var tabListSlotRecipe = (0, import_dev17.defineSlotRecipe)({
|
|
|
2302
2298
|
maxWidth: "full",
|
|
2303
2299
|
_nextTheme: {
|
|
2304
2300
|
color: "text.secondary"
|
|
2301
|
+
},
|
|
2302
|
+
"&[data-has-margin-bottom=false]": {
|
|
2303
|
+
marginBottom: 0
|
|
2305
2304
|
}
|
|
2306
2305
|
}
|
|
2307
2306
|
}
|
|
@@ -2321,6 +2320,9 @@ var tabRecipe = (0, import_dev17.defineRecipe)({
|
|
|
2321
2320
|
pb: "4",
|
|
2322
2321
|
px: "1",
|
|
2323
2322
|
color: "gray.600",
|
|
2323
|
+
"[data-has-margin-bottom=false] &": {
|
|
2324
|
+
marginBottom: "0px"
|
|
2325
|
+
},
|
|
2324
2326
|
_hover: {
|
|
2325
2327
|
color: "dark"
|
|
2326
2328
|
},
|
|
@@ -2438,10 +2440,8 @@ var tabSelectedBorderRecipe = (0, import_dev17.defineRecipe)({
|
|
|
2438
2440
|
false: {
|
|
2439
2441
|
background: "transparent",
|
|
2440
2442
|
_groupHover: {
|
|
2441
|
-
background: "gray.400"
|
|
2442
|
-
|
|
2443
|
-
_nextTheme: {
|
|
2444
|
-
_groupHover: {
|
|
2443
|
+
background: "gray.400",
|
|
2444
|
+
_nextTheme: {
|
|
2445
2445
|
background: "border.bold"
|
|
2446
2446
|
}
|
|
2447
2447
|
}
|
|
@@ -2455,12 +2455,12 @@ var tabSelectedBorderRecipe = (0, import_dev17.defineRecipe)({
|
|
|
2455
2455
|
isSelected: true,
|
|
2456
2456
|
css: {
|
|
2457
2457
|
background: "blue.400",
|
|
2458
|
-
_groupHover: {
|
|
2459
|
-
background: "blue.400"
|
|
2460
|
-
},
|
|
2461
2458
|
_nextTheme: {
|
|
2462
|
-
background: "border.selected"
|
|
2463
|
-
|
|
2459
|
+
background: "border.selected"
|
|
2460
|
+
},
|
|
2461
|
+
_groupHover: {
|
|
2462
|
+
background: "blue.400",
|
|
2463
|
+
_nextTheme: {
|
|
2464
2464
|
background: "border.selected"
|
|
2465
2465
|
}
|
|
2466
2466
|
}
|
|
@@ -3061,7 +3061,7 @@ var tableRecipe = (0, import_dev22.defineRecipe)({
|
|
|
3061
3061
|
fontWeight: "regular",
|
|
3062
3062
|
backgroundColor: "white",
|
|
3063
3063
|
_nextTheme: {
|
|
3064
|
-
background: "background.
|
|
3064
|
+
background: "background.stage"
|
|
3065
3065
|
}
|
|
3066
3066
|
},
|
|
3067
3067
|
"& th[data-table-cell-fixed=true], & td[data-table-cell-fixed=true]": {
|
|
@@ -3213,7 +3213,6 @@ var formControlSlotRecipe = (0, import_dev24.defineSlotRecipe)({
|
|
|
3213
3213
|
},
|
|
3214
3214
|
required: {
|
|
3215
3215
|
color: "red.400",
|
|
3216
|
-
marginLeft: "1",
|
|
3217
3216
|
_nextTheme: {
|
|
3218
3217
|
color: "text.danger"
|
|
3219
3218
|
}
|
|
@@ -3595,11 +3594,15 @@ var modalSlotRecipe = (0, import_dev27.defineSlotRecipe)({
|
|
|
3595
3594
|
height: "100%",
|
|
3596
3595
|
border: "none",
|
|
3597
3596
|
borderRadius: "none"
|
|
3597
|
+
},
|
|
3598
|
+
header: {
|
|
3599
|
+
borderTopLeftRadius: "0",
|
|
3600
|
+
borderTopRightRadius: "0"
|
|
3598
3601
|
}
|
|
3599
3602
|
},
|
|
3600
3603
|
false: {
|
|
3601
3604
|
contentRoot: {
|
|
3602
|
-
top: "
|
|
3605
|
+
top: "80px"
|
|
3603
3606
|
},
|
|
3604
3607
|
contentChild: {
|
|
3605
3608
|
height: "100%",
|
package/dist/index.mjs
CHANGED
|
@@ -65,6 +65,10 @@ var globalCss = defineGlobalStyles({
|
|
|
65
65
|
"*, *::before, *::after": {
|
|
66
66
|
borderStyle: "solid",
|
|
67
67
|
boxSizing: "border-box"
|
|
68
|
+
},
|
|
69
|
+
"[data-sonner-toaster]": {
|
|
70
|
+
display: "flex",
|
|
71
|
+
justifyContent: "center"
|
|
68
72
|
}
|
|
69
73
|
});
|
|
70
74
|
|
|
@@ -411,7 +415,6 @@ var avatarSlotRecipe = defineSlotRecipe2({
|
|
|
411
415
|
size: "md",
|
|
412
416
|
variant: "circle"
|
|
413
417
|
},
|
|
414
|
-
// TODO: Check why this recipe need to generate statically
|
|
415
418
|
staticCss: ["*"]
|
|
416
419
|
});
|
|
417
420
|
var avatarGroupSlotRecipe = defineSlotRecipe2({
|
|
@@ -487,7 +490,6 @@ var avatarGroupSlotRecipe = defineSlotRecipe2({
|
|
|
487
490
|
},
|
|
488
491
|
compoundVariants: [],
|
|
489
492
|
defaultVariants: {},
|
|
490
|
-
// TODO: Check why this recipe need to generate statically
|
|
491
493
|
staticCss: ["*"]
|
|
492
494
|
});
|
|
493
495
|
|
|
@@ -906,11 +908,11 @@ var buttonRecipe = defineRecipe({
|
|
|
906
908
|
paddingX: "2",
|
|
907
909
|
paddingY: "1",
|
|
908
910
|
_hasIcon: {
|
|
909
|
-
"[data-icon-position=left]": {
|
|
911
|
+
"&[data-icon-position=left]": {
|
|
910
912
|
paddingLeft: "1.5",
|
|
911
913
|
paddingRight: "2"
|
|
912
914
|
},
|
|
913
|
-
"[data-icon-position=right]": {
|
|
915
|
+
"&[data-icon-position=right]": {
|
|
914
916
|
paddingLeft: "2",
|
|
915
917
|
paddingRight: "1.5"
|
|
916
918
|
}
|
|
@@ -919,11 +921,11 @@ var buttonRecipe = defineRecipe({
|
|
|
919
921
|
paddingX: "xs",
|
|
920
922
|
paddingY: "3xs",
|
|
921
923
|
_hasIcon: {
|
|
922
|
-
"[data-icon-position=left]": {
|
|
924
|
+
"&[data-icon-position=left]": {
|
|
923
925
|
paddingLeft: "2xs",
|
|
924
926
|
paddingRight: "xs"
|
|
925
927
|
},
|
|
926
|
-
"[data-icon-position=right]": {
|
|
928
|
+
"&[data-icon-position=right]": {
|
|
927
929
|
paddingLeft: "xs",
|
|
928
930
|
paddingRight: "2xs"
|
|
929
931
|
}
|
|
@@ -957,25 +959,25 @@ var buttonRecipe = defineRecipe({
|
|
|
957
959
|
paddingY: "2",
|
|
958
960
|
_hasIcon: {
|
|
959
961
|
"&[data-icon-position=left]": {
|
|
960
|
-
paddingLeft: "3
|
|
961
|
-
paddingRight: "4
|
|
962
|
+
paddingLeft: "3",
|
|
963
|
+
paddingRight: "4"
|
|
962
964
|
},
|
|
963
|
-
"&
|
|
964
|
-
paddingLeft: "4
|
|
965
|
-
paddingRight: "3
|
|
965
|
+
"&[data-icon-position=right]": {
|
|
966
|
+
paddingLeft: "4",
|
|
967
|
+
paddingRight: "3"
|
|
966
968
|
}
|
|
967
969
|
},
|
|
968
970
|
_nextTheme: {
|
|
969
971
|
paddingX: "md",
|
|
970
972
|
paddingY: "xs",
|
|
971
973
|
_hasIcon: {
|
|
972
|
-
"[data-icon-position=left]": {
|
|
973
|
-
paddingLeft: "sm
|
|
974
|
-
paddingRight: "md
|
|
974
|
+
"&[data-icon-position=left]": {
|
|
975
|
+
paddingLeft: "sm",
|
|
976
|
+
paddingRight: "md"
|
|
975
977
|
},
|
|
976
|
-
"[data-icon-position=right]": {
|
|
977
|
-
paddingLeft: "md
|
|
978
|
-
paddingRight: "sm
|
|
978
|
+
"&[data-icon-position=right]": {
|
|
979
|
+
paddingLeft: "md",
|
|
980
|
+
paddingRight: "sm"
|
|
979
981
|
}
|
|
980
982
|
}
|
|
981
983
|
}
|
|
@@ -1070,7 +1072,6 @@ var buttonRecipe = defineRecipe({
|
|
|
1070
1072
|
variant: "primary",
|
|
1071
1073
|
size: "md"
|
|
1072
1074
|
},
|
|
1073
|
-
// TODO: Check why this recipe need to generate statically
|
|
1074
1075
|
staticCss: ["*"]
|
|
1075
1076
|
});
|
|
1076
1077
|
var buttonGroupRecipe = defineRecipe({
|
|
@@ -1271,7 +1272,6 @@ var inputSlotRecipe = defineSlotRecipe4({
|
|
|
1271
1272
|
size: "md",
|
|
1272
1273
|
variant: "outline"
|
|
1273
1274
|
},
|
|
1274
|
-
// TODO: Check why this recipe need to generate statically
|
|
1275
1275
|
staticCss: ["*"]
|
|
1276
1276
|
});
|
|
1277
1277
|
var inputGroupSlotRecipe = defineSlotRecipe4({
|
|
@@ -1433,7 +1433,6 @@ var inputAddonSlotRecipe = defineSlotRecipe4({
|
|
|
1433
1433
|
size: "md",
|
|
1434
1434
|
placement: "left"
|
|
1435
1435
|
},
|
|
1436
|
-
// TODO: Check why this recipe need to generate statically
|
|
1437
1436
|
staticCss: ["*"]
|
|
1438
1437
|
});
|
|
1439
1438
|
|
|
@@ -1681,7 +1680,6 @@ var iconRecipe = defineRecipe3({
|
|
|
1681
1680
|
defaultVariants: {
|
|
1682
1681
|
size: "md"
|
|
1683
1682
|
},
|
|
1684
|
-
// TODO: Check why this recipe need to generate statically
|
|
1685
1683
|
staticCss: ["*"]
|
|
1686
1684
|
});
|
|
1687
1685
|
|
|
@@ -1925,7 +1923,8 @@ var badgeRecipe = defineRecipe6({
|
|
|
1925
1923
|
display: "inline-flex",
|
|
1926
1924
|
alignItems: "center",
|
|
1927
1925
|
justifyContent: "center",
|
|
1928
|
-
borderRadius: "999px"
|
|
1926
|
+
borderRadius: "999px",
|
|
1927
|
+
width: "fit-content"
|
|
1929
1928
|
},
|
|
1930
1929
|
variants: {
|
|
1931
1930
|
variant: {
|
|
@@ -2217,21 +2216,18 @@ var tooltipRecipe = defineRecipe8({
|
|
|
2217
2216
|
className: "tooltip",
|
|
2218
2217
|
jsx: ["MpTooltip", "mp-tooltip"],
|
|
2219
2218
|
base: {
|
|
2219
|
+
pointerEvents: "none",
|
|
2220
|
+
maxW: "280px",
|
|
2220
2221
|
px: "2",
|
|
2221
2222
|
py: "1",
|
|
2222
2223
|
borderRadius: "sm",
|
|
2223
|
-
|
|
2224
|
-
pointerEvents: "none",
|
|
2225
|
-
fontSize: "sm",
|
|
2226
|
-
lineHeight: "20px",
|
|
2227
|
-
shadow: "md",
|
|
2228
|
-
maxW: "300px",
|
|
2229
|
-
zIndex: "tooltip",
|
|
2230
|
-
boxShadow: "sm",
|
|
2231
|
-
bg: "overlay",
|
|
2232
|
-
color: "white",
|
|
2224
|
+
textStyle: "label.md",
|
|
2233
2225
|
whiteSpace: "normal",
|
|
2234
2226
|
overflowWrap: "break-word",
|
|
2227
|
+
zIndex: "tooltip",
|
|
2228
|
+
boxShadow: "xs",
|
|
2229
|
+
background: "overlay",
|
|
2230
|
+
color: "white",
|
|
2235
2231
|
_nextTheme: {
|
|
2236
2232
|
background: "background.overlay",
|
|
2237
2233
|
color: "text.inverse.static"
|
|
@@ -2276,6 +2272,9 @@ var tabListSlotRecipe = defineSlotRecipe7({
|
|
|
2276
2272
|
maxWidth: "full",
|
|
2277
2273
|
_nextTheme: {
|
|
2278
2274
|
color: "text.secondary"
|
|
2275
|
+
},
|
|
2276
|
+
"&[data-has-margin-bottom=false]": {
|
|
2277
|
+
marginBottom: 0
|
|
2279
2278
|
}
|
|
2280
2279
|
}
|
|
2281
2280
|
}
|
|
@@ -2295,6 +2294,9 @@ var tabRecipe = defineRecipe9({
|
|
|
2295
2294
|
pb: "4",
|
|
2296
2295
|
px: "1",
|
|
2297
2296
|
color: "gray.600",
|
|
2297
|
+
"[data-has-margin-bottom=false] &": {
|
|
2298
|
+
marginBottom: "0px"
|
|
2299
|
+
},
|
|
2298
2300
|
_hover: {
|
|
2299
2301
|
color: "dark"
|
|
2300
2302
|
},
|
|
@@ -2412,10 +2414,8 @@ var tabSelectedBorderRecipe = defineRecipe9({
|
|
|
2412
2414
|
false: {
|
|
2413
2415
|
background: "transparent",
|
|
2414
2416
|
_groupHover: {
|
|
2415
|
-
background: "gray.400"
|
|
2416
|
-
|
|
2417
|
-
_nextTheme: {
|
|
2418
|
-
_groupHover: {
|
|
2417
|
+
background: "gray.400",
|
|
2418
|
+
_nextTheme: {
|
|
2419
2419
|
background: "border.bold"
|
|
2420
2420
|
}
|
|
2421
2421
|
}
|
|
@@ -2429,12 +2429,12 @@ var tabSelectedBorderRecipe = defineRecipe9({
|
|
|
2429
2429
|
isSelected: true,
|
|
2430
2430
|
css: {
|
|
2431
2431
|
background: "blue.400",
|
|
2432
|
-
_groupHover: {
|
|
2433
|
-
background: "blue.400"
|
|
2434
|
-
},
|
|
2435
2432
|
_nextTheme: {
|
|
2436
|
-
background: "border.selected"
|
|
2437
|
-
|
|
2433
|
+
background: "border.selected"
|
|
2434
|
+
},
|
|
2435
|
+
_groupHover: {
|
|
2436
|
+
background: "blue.400",
|
|
2437
|
+
_nextTheme: {
|
|
2438
2438
|
background: "border.selected"
|
|
2439
2439
|
}
|
|
2440
2440
|
}
|
|
@@ -3035,7 +3035,7 @@ var tableRecipe = defineRecipe10({
|
|
|
3035
3035
|
fontWeight: "regular",
|
|
3036
3036
|
backgroundColor: "white",
|
|
3037
3037
|
_nextTheme: {
|
|
3038
|
-
background: "background.
|
|
3038
|
+
background: "background.stage"
|
|
3039
3039
|
}
|
|
3040
3040
|
},
|
|
3041
3041
|
"& th[data-table-cell-fixed=true], & td[data-table-cell-fixed=true]": {
|
|
@@ -3187,7 +3187,6 @@ var formControlSlotRecipe = defineSlotRecipe13({
|
|
|
3187
3187
|
},
|
|
3188
3188
|
required: {
|
|
3189
3189
|
color: "red.400",
|
|
3190
|
-
marginLeft: "1",
|
|
3191
3190
|
_nextTheme: {
|
|
3192
3191
|
color: "text.danger"
|
|
3193
3192
|
}
|
|
@@ -3569,11 +3568,15 @@ var modalSlotRecipe = defineSlotRecipe16({
|
|
|
3569
3568
|
height: "100%",
|
|
3570
3569
|
border: "none",
|
|
3571
3570
|
borderRadius: "none"
|
|
3571
|
+
},
|
|
3572
|
+
header: {
|
|
3573
|
+
borderTopLeftRadius: "0",
|
|
3574
|
+
borderTopRightRadius: "0"
|
|
3572
3575
|
}
|
|
3573
3576
|
},
|
|
3574
3577
|
false: {
|
|
3575
3578
|
contentRoot: {
|
|
3576
|
-
top: "
|
|
3579
|
+
top: "80px"
|
|
3577
3580
|
},
|
|
3578
3581
|
contentChild: {
|
|
3579
3582
|
height: "100%",
|
package/package.json
CHANGED
package/src/global-css.ts
CHANGED
package/src/recipes/avatar.ts
CHANGED
|
@@ -187,7 +187,6 @@ const avatarSlotRecipe = defineSlotRecipe({
|
|
|
187
187
|
size: 'md',
|
|
188
188
|
variant: 'circle'
|
|
189
189
|
},
|
|
190
|
-
// TODO: Check why this recipe need to generate statically
|
|
191
190
|
staticCss: ['*']
|
|
192
191
|
})
|
|
193
192
|
|
|
@@ -264,7 +263,6 @@ const avatarGroupSlotRecipe = defineSlotRecipe({
|
|
|
264
263
|
},
|
|
265
264
|
compoundVariants: [],
|
|
266
265
|
defaultVariants: {},
|
|
267
|
-
// TODO: Check why this recipe need to generate statically
|
|
268
266
|
staticCss: ['*']
|
|
269
267
|
})
|
|
270
268
|
|
package/src/recipes/badge.ts
CHANGED
package/src/recipes/button.ts
CHANGED
|
@@ -295,11 +295,11 @@ const buttonRecipe = defineRecipe({
|
|
|
295
295
|
paddingX: '2',
|
|
296
296
|
paddingY: '1',
|
|
297
297
|
_hasIcon: {
|
|
298
|
-
'[data-icon-position=left]': {
|
|
298
|
+
'&[data-icon-position=left]': {
|
|
299
299
|
paddingLeft: '1.5',
|
|
300
300
|
paddingRight: '2'
|
|
301
301
|
},
|
|
302
|
-
'[data-icon-position=right]': {
|
|
302
|
+
'&[data-icon-position=right]': {
|
|
303
303
|
paddingLeft: '2',
|
|
304
304
|
paddingRight: '1.5'
|
|
305
305
|
}
|
|
@@ -309,11 +309,11 @@ const buttonRecipe = defineRecipe({
|
|
|
309
309
|
paddingX: 'xs',
|
|
310
310
|
paddingY: '3xs',
|
|
311
311
|
_hasIcon: {
|
|
312
|
-
'[data-icon-position=left]': {
|
|
312
|
+
'&[data-icon-position=left]': {
|
|
313
313
|
paddingLeft: '2xs',
|
|
314
314
|
paddingRight: 'xs'
|
|
315
315
|
},
|
|
316
|
-
'[data-icon-position=right]': {
|
|
316
|
+
'&[data-icon-position=right]': {
|
|
317
317
|
paddingLeft: 'xs',
|
|
318
318
|
paddingRight: '2xs'
|
|
319
319
|
}
|
|
@@ -347,12 +347,12 @@ const buttonRecipe = defineRecipe({
|
|
|
347
347
|
paddingY: '2',
|
|
348
348
|
_hasIcon: {
|
|
349
349
|
'&[data-icon-position=left]': {
|
|
350
|
-
paddingLeft: '3
|
|
351
|
-
paddingRight: '4
|
|
350
|
+
paddingLeft: '3',
|
|
351
|
+
paddingRight: '4'
|
|
352
352
|
},
|
|
353
|
-
'&
|
|
354
|
-
paddingLeft: '4
|
|
355
|
-
paddingRight: '3
|
|
353
|
+
'&[data-icon-position=right]': {
|
|
354
|
+
paddingLeft: '4',
|
|
355
|
+
paddingRight: '3'
|
|
356
356
|
}
|
|
357
357
|
},
|
|
358
358
|
|
|
@@ -360,13 +360,13 @@ const buttonRecipe = defineRecipe({
|
|
|
360
360
|
paddingX: 'md',
|
|
361
361
|
paddingY: 'xs',
|
|
362
362
|
_hasIcon: {
|
|
363
|
-
'[data-icon-position=left]': {
|
|
364
|
-
paddingLeft: 'sm
|
|
365
|
-
paddingRight: 'md
|
|
363
|
+
'&[data-icon-position=left]': {
|
|
364
|
+
paddingLeft: 'sm',
|
|
365
|
+
paddingRight: 'md'
|
|
366
366
|
},
|
|
367
|
-
'[data-icon-position=right]': {
|
|
368
|
-
paddingLeft: 'md
|
|
369
|
-
paddingRight: 'sm
|
|
367
|
+
'&[data-icon-position=right]': {
|
|
368
|
+
paddingLeft: 'md',
|
|
369
|
+
paddingRight: 'sm'
|
|
370
370
|
}
|
|
371
371
|
}
|
|
372
372
|
}
|
|
@@ -461,7 +461,6 @@ const buttonRecipe = defineRecipe({
|
|
|
461
461
|
variant: 'primary',
|
|
462
462
|
size: 'md'
|
|
463
463
|
},
|
|
464
|
-
// TODO: Check why this recipe need to generate statically
|
|
465
464
|
staticCss: ['*']
|
|
466
465
|
})
|
|
467
466
|
|
package/src/recipes/icon.ts
CHANGED
package/src/recipes/input.ts
CHANGED
|
@@ -170,7 +170,6 @@ const inputSlotRecipe = defineSlotRecipe({
|
|
|
170
170
|
size: 'md',
|
|
171
171
|
variant: 'outline'
|
|
172
172
|
},
|
|
173
|
-
// TODO: Check why this recipe need to generate statically
|
|
174
173
|
staticCss: ['*']
|
|
175
174
|
})
|
|
176
175
|
|
|
@@ -334,7 +333,6 @@ const inputAddonSlotRecipe = defineSlotRecipe({
|
|
|
334
333
|
size: 'md',
|
|
335
334
|
placement: 'left'
|
|
336
335
|
},
|
|
337
|
-
// TODO: Check why this recipe need to generate statically
|
|
338
336
|
staticCss: ['*']
|
|
339
337
|
})
|
|
340
338
|
|
package/src/recipes/modal.ts
CHANGED
|
@@ -130,11 +130,15 @@ export const modalSlotRecipe = defineSlotRecipe({
|
|
|
130
130
|
height: '100%',
|
|
131
131
|
border: 'none',
|
|
132
132
|
borderRadius: 'none'
|
|
133
|
+
},
|
|
134
|
+
header: {
|
|
135
|
+
borderTopLeftRadius: '0',
|
|
136
|
+
borderTopRightRadius: '0'
|
|
133
137
|
}
|
|
134
138
|
},
|
|
135
139
|
false: {
|
|
136
140
|
contentRoot: {
|
|
137
|
-
top: '
|
|
141
|
+
top: '80px'
|
|
138
142
|
},
|
|
139
143
|
contentChild: {
|
|
140
144
|
height: '100%',
|
package/src/recipes/table.ts
CHANGED
|
@@ -102,7 +102,7 @@ const tableRecipe = defineRecipe({
|
|
|
102
102
|
fontWeight: 'regular',
|
|
103
103
|
backgroundColor: 'white',
|
|
104
104
|
_nextTheme: {
|
|
105
|
-
background: 'background.
|
|
105
|
+
background: 'background.stage'
|
|
106
106
|
}
|
|
107
107
|
},
|
|
108
108
|
'& th[data-table-cell-fixed=true], & td[data-table-cell-fixed=true]': {
|
package/src/recipes/tabs.ts
CHANGED
|
@@ -35,6 +35,9 @@ const tabListSlotRecipe = defineSlotRecipe({
|
|
|
35
35
|
maxWidth: 'full',
|
|
36
36
|
_nextTheme: {
|
|
37
37
|
color: 'text.secondary'
|
|
38
|
+
},
|
|
39
|
+
'&[data-has-margin-bottom=false]': {
|
|
40
|
+
marginBottom: 0
|
|
38
41
|
}
|
|
39
42
|
}
|
|
40
43
|
}
|
|
@@ -55,6 +58,11 @@ const tabRecipe = defineRecipe({
|
|
|
55
58
|
pb: '4',
|
|
56
59
|
px: '1',
|
|
57
60
|
color: 'gray.600',
|
|
61
|
+
|
|
62
|
+
'[data-has-margin-bottom=false] &': {
|
|
63
|
+
marginBottom: '0px'
|
|
64
|
+
},
|
|
65
|
+
|
|
58
66
|
_hover: {
|
|
59
67
|
color: 'dark'
|
|
60
68
|
},
|
|
@@ -174,10 +182,8 @@ const tabSelectedBorderRecipe = defineRecipe({
|
|
|
174
182
|
false: {
|
|
175
183
|
background: 'transparent',
|
|
176
184
|
_groupHover: {
|
|
177
|
-
background: 'gray.400'
|
|
178
|
-
|
|
179
|
-
_nextTheme: {
|
|
180
|
-
_groupHover: {
|
|
185
|
+
background: 'gray.400',
|
|
186
|
+
_nextTheme: {
|
|
181
187
|
background: 'border.bold'
|
|
182
188
|
}
|
|
183
189
|
}
|
|
@@ -191,12 +197,12 @@ const tabSelectedBorderRecipe = defineRecipe({
|
|
|
191
197
|
isSelected: true,
|
|
192
198
|
css: {
|
|
193
199
|
background: 'blue.400',
|
|
194
|
-
_groupHover: {
|
|
195
|
-
background: 'blue.400'
|
|
196
|
-
},
|
|
197
200
|
_nextTheme: {
|
|
198
|
-
background: 'border.selected'
|
|
199
|
-
|
|
201
|
+
background: 'border.selected'
|
|
202
|
+
},
|
|
203
|
+
_groupHover: {
|
|
204
|
+
background: 'blue.400',
|
|
205
|
+
_nextTheme: {
|
|
200
206
|
background: 'border.selected'
|
|
201
207
|
}
|
|
202
208
|
}
|
package/src/recipes/tooltip.ts
CHANGED
|
@@ -4,21 +4,18 @@ const tooltipRecipe = defineRecipe({
|
|
|
4
4
|
className: 'tooltip',
|
|
5
5
|
jsx: ['MpTooltip', 'mp-tooltip'],
|
|
6
6
|
base: {
|
|
7
|
+
pointerEvents: 'none',
|
|
8
|
+
maxW: '280px',
|
|
7
9
|
px: '2',
|
|
8
10
|
py: '1',
|
|
9
11
|
borderRadius: 'sm',
|
|
10
|
-
|
|
11
|
-
pointerEvents: 'none',
|
|
12
|
-
fontSize: 'sm',
|
|
13
|
-
lineHeight: '20px',
|
|
14
|
-
shadow: 'md',
|
|
15
|
-
maxW: '300px',
|
|
16
|
-
zIndex: 'tooltip',
|
|
17
|
-
boxShadow: 'sm',
|
|
18
|
-
bg: 'overlay',
|
|
19
|
-
color: 'white',
|
|
12
|
+
textStyle: 'label.md',
|
|
20
13
|
whiteSpace: 'normal',
|
|
21
14
|
overflowWrap: 'break-word',
|
|
15
|
+
zIndex: 'tooltip',
|
|
16
|
+
boxShadow: 'xs',
|
|
17
|
+
background: 'overlay',
|
|
18
|
+
color: 'white',
|
|
22
19
|
_nextTheme: {
|
|
23
20
|
background: 'background.overlay',
|
|
24
21
|
color: 'text.inverse.static'
|