@mekari/pixel3-theme 0.2.2-dev.2 → 0.2.2-dev.4
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 +62 -50
- package/dist/index.mjs +117 -105
- package/dist/recipes/divider.d.mts +2 -2
- package/dist/recipes/divider.d.ts +2 -2
- package/dist/recipes/index.d.mts +1 -1
- package/dist/recipes/index.d.ts +1 -1
- package/dist/semanticTokens/colors.d.mts +6 -6
- package/dist/semanticTokens/colors.d.ts +6 -6
- package/dist/semanticTokens/index.d.mts +6 -6
- package/dist/semanticTokens/index.d.ts +6 -6
- package/package.json +1 -1
- package/src/recipes/date-picker.ts +13 -4
- package/src/recipes/divider.ts +37 -31
- package/src/recipes/index.ts +2 -2
- package/src/recipes/modal.ts +4 -1
- package/src/recipes/select.ts +4 -4
- package/src/recipes/tag.ts +8 -14
- package/src/semanticTokens/colors.ts +18 -18
package/dist/index.js
CHANGED
|
@@ -234,12 +234,6 @@ var tagSlotRecipe = (0, import_dev3.defineSlotRecipe)({
|
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
size: "sm",
|
|
240
|
-
css: {
|
|
241
|
-
close: { paddingTop: "0" }
|
|
242
|
-
}
|
|
243
237
|
}
|
|
244
238
|
],
|
|
245
239
|
defaultVariants: {
|
|
@@ -1507,15 +1501,15 @@ var selectSlotRecipe = (0, import_dev8.defineSlotRecipe)({
|
|
|
1507
1501
|
}
|
|
1508
1502
|
},
|
|
1509
1503
|
_focus: {
|
|
1510
|
-
borderColor: "
|
|
1504
|
+
borderColor: "border.focused",
|
|
1511
1505
|
boxShadow: "focus",
|
|
1512
1506
|
_hover: {
|
|
1513
|
-
borderColor: "
|
|
1507
|
+
borderColor: "border.focused"
|
|
1514
1508
|
},
|
|
1515
1509
|
_invalid: {
|
|
1516
|
-
borderColor: "
|
|
1510
|
+
borderColor: "border.focused",
|
|
1517
1511
|
_hover: {
|
|
1518
|
-
borderColor: "
|
|
1512
|
+
borderColor: "border.focused"
|
|
1519
1513
|
}
|
|
1520
1514
|
}
|
|
1521
1515
|
},
|
|
@@ -3341,43 +3335,49 @@ var inputTagSlotRecipe = (0, import_dev25.defineSlotRecipe)({
|
|
|
3341
3335
|
|
|
3342
3336
|
// src/recipes/divider.ts
|
|
3343
3337
|
var import_dev26 = require("@pandacss/dev");
|
|
3344
|
-
var
|
|
3338
|
+
var dividerSlotRecipe = (0, import_dev26.defineSlotRecipe)({
|
|
3345
3339
|
className: "divider",
|
|
3346
3340
|
jsx: ["MpDivider", "mp-divider"],
|
|
3341
|
+
slots: ["root", "label"],
|
|
3347
3342
|
base: {
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
},
|
|
3356
|
-
variants: {
|
|
3357
|
-
variant: {
|
|
3358
|
-
solid: {
|
|
3359
|
-
borderStyle: "solid"
|
|
3360
|
-
},
|
|
3361
|
-
dashed: {
|
|
3362
|
-
borderStyle: "dashed"
|
|
3343
|
+
root: {
|
|
3344
|
+
position: "relative",
|
|
3345
|
+
borderColor: "gray.100",
|
|
3346
|
+
color: "gray.100",
|
|
3347
|
+
_nextTheme: {
|
|
3348
|
+
color: "text.secondary",
|
|
3349
|
+
borderColor: "border.default"
|
|
3363
3350
|
}
|
|
3364
3351
|
},
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3352
|
+
label: {
|
|
3353
|
+
display: "flex",
|
|
3354
|
+
alignItems: "center",
|
|
3355
|
+
borderColor: "gray.100",
|
|
3356
|
+
color: "gray.600",
|
|
3357
|
+
_nextTheme: {
|
|
3358
|
+
color: "text.secondary"
|
|
3370
3359
|
},
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3360
|
+
_before: {
|
|
3361
|
+
content: '""',
|
|
3362
|
+
flex: 1,
|
|
3363
|
+
borderTopWidth: "0.0625rem",
|
|
3364
|
+
marginRight: "2",
|
|
3365
|
+
borderColor: "gray.100",
|
|
3366
|
+
_nextTheme: {
|
|
3367
|
+
borderColor: "border.default"
|
|
3368
|
+
}
|
|
3369
|
+
},
|
|
3370
|
+
_after: {
|
|
3371
|
+
content: '""',
|
|
3372
|
+
flex: 1,
|
|
3373
|
+
borderTopWidth: "0.0625rem",
|
|
3374
|
+
marginLeft: "2",
|
|
3375
|
+
borderColor: "gray.100",
|
|
3376
|
+
_nextTheme: {
|
|
3377
|
+
borderColor: "border.default"
|
|
3378
|
+
}
|
|
3375
3379
|
}
|
|
3376
3380
|
}
|
|
3377
|
-
},
|
|
3378
|
-
compoundVariants: [],
|
|
3379
|
-
defaultVariants: {
|
|
3380
|
-
orientation: "horizontal"
|
|
3381
3381
|
}
|
|
3382
3382
|
});
|
|
3383
3383
|
|
|
@@ -3484,7 +3484,10 @@ var modalSlotRecipe = (0, import_dev27.defineSlotRecipe)({
|
|
|
3484
3484
|
top: "0",
|
|
3485
3485
|
w: "100vw",
|
|
3486
3486
|
h: "100vh",
|
|
3487
|
-
zIndex: "overlay"
|
|
3487
|
+
zIndex: "overlay",
|
|
3488
|
+
_nextTheme: {
|
|
3489
|
+
background: "background.overlay"
|
|
3490
|
+
}
|
|
3488
3491
|
}
|
|
3489
3492
|
},
|
|
3490
3493
|
variants: {
|
|
@@ -4702,7 +4705,10 @@ var monthItemRecipe = (0, import_dev34.defineRecipe)({
|
|
|
4702
4705
|
color: "gray.400",
|
|
4703
4706
|
cursor: "not-allowed",
|
|
4704
4707
|
borderColor: "transparent",
|
|
4705
|
-
backgroundColor: "transparent"
|
|
4708
|
+
backgroundColor: "transparent",
|
|
4709
|
+
_nextTheme: {
|
|
4710
|
+
color: "text.disabled"
|
|
4711
|
+
}
|
|
4706
4712
|
},
|
|
4707
4713
|
_nextTheme: {
|
|
4708
4714
|
color: "text.default"
|
|
@@ -4781,7 +4787,10 @@ var yearItemRecipe = (0, import_dev34.defineRecipe)({
|
|
|
4781
4787
|
color: "gray.400",
|
|
4782
4788
|
cursor: "not-allowed",
|
|
4783
4789
|
borderColor: "transparent",
|
|
4784
|
-
backgroundColor: "transparent"
|
|
4790
|
+
backgroundColor: "transparent",
|
|
4791
|
+
_nextTheme: {
|
|
4792
|
+
color: "text.disabled"
|
|
4793
|
+
}
|
|
4785
4794
|
},
|
|
4786
4795
|
_nextTheme: {
|
|
4787
4796
|
color: "text.default"
|
|
@@ -4860,7 +4869,10 @@ var timeItemRecipe = (0, import_dev34.defineRecipe)({
|
|
|
4860
4869
|
color: "gray.400",
|
|
4861
4870
|
cursor: "not-allowed",
|
|
4862
4871
|
borderColor: "transparent",
|
|
4863
|
-
backgroundColor: "transparent"
|
|
4872
|
+
backgroundColor: "transparent",
|
|
4873
|
+
_nextTheme: {
|
|
4874
|
+
color: "text.disabled"
|
|
4875
|
+
}
|
|
4864
4876
|
},
|
|
4865
4877
|
_nextTheme: {
|
|
4866
4878
|
color: "text.default"
|
|
@@ -5836,7 +5848,6 @@ var recipes = {
|
|
|
5836
5848
|
tabSelectedBorderRecipe,
|
|
5837
5849
|
tableRecipe,
|
|
5838
5850
|
tableContainerRecipe,
|
|
5839
|
-
dividerRecipe,
|
|
5840
5851
|
bannerTitleRecipe,
|
|
5841
5852
|
bannerDescriptionRecipe,
|
|
5842
5853
|
bannerLinkRecipe,
|
|
@@ -5852,6 +5863,7 @@ var recipes = {
|
|
|
5852
5863
|
var slotRecipes = {
|
|
5853
5864
|
accordionSlotRecipe,
|
|
5854
5865
|
checkboxSlotRecipe,
|
|
5866
|
+
dividerSlotRecipe,
|
|
5855
5867
|
radioSlotRecipe,
|
|
5856
5868
|
sharedSlotRecipe,
|
|
5857
5869
|
progressSlotRecipe,
|
|
@@ -6727,14 +6739,14 @@ var colors3 = import_dev61.defineSemanticTokens.colors({
|
|
|
6727
6739
|
pressed: {
|
|
6728
6740
|
value: {
|
|
6729
6741
|
base: "{colors.indigo.900}",
|
|
6730
|
-
|
|
6742
|
+
_light: "{colors.indigo.900}",
|
|
6731
6743
|
_dark: "{colors.indigo.200}"
|
|
6732
6744
|
}
|
|
6733
6745
|
},
|
|
6734
6746
|
selected: {
|
|
6735
6747
|
value: {
|
|
6736
6748
|
base: "{colors.indigo.700}",
|
|
6737
|
-
|
|
6749
|
+
_light: "{colors.indigo.700}",
|
|
6738
6750
|
_dark: "{colors.indigo.400}"
|
|
6739
6751
|
}
|
|
6740
6752
|
}
|
|
@@ -6803,7 +6815,7 @@ var colors3 = import_dev61.defineSemanticTokens.colors({
|
|
|
6803
6815
|
pressed: {
|
|
6804
6816
|
value: {
|
|
6805
6817
|
base: "{colors.red.900}",
|
|
6806
|
-
|
|
6818
|
+
_light: "{colors.red.900}",
|
|
6807
6819
|
_dark: "{colors.red.200}"
|
|
6808
6820
|
}
|
|
6809
6821
|
}
|
|
@@ -6849,7 +6861,7 @@ var colors3 = import_dev61.defineSemanticTokens.colors({
|
|
|
6849
6861
|
pressed: {
|
|
6850
6862
|
value: {
|
|
6851
6863
|
base: "{colors.yellow.500}",
|
|
6852
|
-
|
|
6864
|
+
_light: "{colors.yellow.500}",
|
|
6853
6865
|
_dark: "{colors.yellow.500}"
|
|
6854
6866
|
}
|
|
6855
6867
|
}
|
|
@@ -6895,7 +6907,7 @@ var colors3 = import_dev61.defineSemanticTokens.colors({
|
|
|
6895
6907
|
pressed: {
|
|
6896
6908
|
value: {
|
|
6897
6909
|
base: "{colors.green.900}",
|
|
6898
|
-
|
|
6910
|
+
_light: "{colors.green.900}",
|
|
6899
6911
|
_dark: "{colors.green.200}"
|
|
6900
6912
|
}
|
|
6901
6913
|
}
|
|
@@ -6941,7 +6953,7 @@ var colors3 = import_dev61.defineSemanticTokens.colors({
|
|
|
6941
6953
|
pressed: {
|
|
6942
6954
|
value: {
|
|
6943
6955
|
base: "{colors.violet.900}",
|
|
6944
|
-
|
|
6956
|
+
_light: "{colors.violet.900}",
|
|
6945
6957
|
_dark: "{colors.violet.200}"
|
|
6946
6958
|
}
|
|
6947
6959
|
}
|