cetec-design-system 1.1.0 → 1.2.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/{cetec-preset-BCioTXu9.js → cetec-preset-kUkA_FyU.js} +160 -169
- package/dist/cetec-preset-kUkA_FyU.js.map +1 -0
- package/dist/index.js +868 -806
- package/dist/index.js.map +1 -1
- package/dist/panda.buildinfo.json +135 -6
- package/dist/preset.js +1 -1
- package/dist/specs/conditions.json +53 -53
- package/dist/specs/recipes.json +322 -267
- package/dist/styles.css +8192 -7522
- package/dist/types/index.d.ts +60 -55
- package/package.json +1 -1
- package/src/recipes/icon.ts +17 -6
- package/src/recipes/{index.ts → recipes-regular.ts} +0 -16
- package/src/recipes/recipes-slot.ts +14 -0
- package/src/recipes/textInput.ts +22 -0
- package/src/styles/utilities/conditions.ts +57 -53
- package/dist/cetec-preset-BCioTXu9.js.map +0 -1
|
@@ -42,22 +42,22 @@ const conditions$1 = {
|
|
|
42
42
|
focus: "&:is(:focus, [data-focus=true])",
|
|
43
43
|
focusWithin: "&:focus-within",
|
|
44
44
|
focusVisible: "&:is(:focus-visible, [data-focus-visible=true])",
|
|
45
|
-
disabled: "&:is(:disabled, [disabled], [data-disabled], [aria-disabled=true])",
|
|
45
|
+
disabled: "&:is(:disabled, [disabled], [data-disabled=true], [aria-disabled=true])",
|
|
46
46
|
deleted: "&:is(:deleted, [deleted], [data-deleted=true])",
|
|
47
47
|
active: "&:is(:active, [data-active=true])",
|
|
48
48
|
visited: "&:visited",
|
|
49
49
|
target: "&:target",
|
|
50
|
-
readOnly: "&:is(:read-only, [data-read-only], [aria-readonly=true])",
|
|
50
|
+
readOnly: "&:is(:read-only, [readonly], [data-read-only=true], [aria-readonly=true])",
|
|
51
51
|
readWrite: "&:read-write",
|
|
52
|
-
empty: "&:is(:empty, [data-empty])",
|
|
53
|
-
checked: '&:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"])',
|
|
52
|
+
empty: "&:is(:empty, [data-empty=true])",
|
|
53
|
+
checked: '&:is(:checked, [data-checked=true], [aria-checked=true], [data-state="checked"])',
|
|
54
54
|
enabled: "&:enabled",
|
|
55
|
-
expanded: '&:is([aria-expanded=true], [data-expanded], [data-state="expanded"])',
|
|
56
|
-
collapsed: '&:is([aria-collapsed=true], [data-collapsed], [data-state="collapsed"])',
|
|
57
|
-
highlighted: "&[data-highlighted]",
|
|
58
|
-
complete: "&[data-complete]",
|
|
59
|
-
incomplete: "&[data-incomplete]",
|
|
60
|
-
dragging: "&[data-dragging]",
|
|
55
|
+
expanded: '&:is([aria-expanded=true], [data-expanded=true], [data-state="expanded"])',
|
|
56
|
+
collapsed: '&:is([aria-collapsed=true], [data-collapsed=true], [data-state="collapsed"])',
|
|
57
|
+
highlighted: "&[data-highlighted=true]",
|
|
58
|
+
complete: "&[data-complete=true]",
|
|
59
|
+
incomplete: "&[data-incomplete=true]",
|
|
60
|
+
dragging: "&[data-dragging=true]",
|
|
61
61
|
utility: "&[data-utility=true]",
|
|
62
62
|
before: "&::before",
|
|
63
63
|
after: "&::after",
|
|
@@ -75,65 +75,65 @@ const conditions$1 = {
|
|
|
75
75
|
firstOfType: "&:first-of-type",
|
|
76
76
|
lastOfType: "&:last-of-type",
|
|
77
77
|
onlyOfType: "&:only-of-type",
|
|
78
|
-
peerFocus: ".peer:is(:focus, [data-focus]) ~ &",
|
|
79
|
-
peerHover: ".peer:is(:hover, [data-hover]) ~ &",
|
|
80
|
-
peerActive: ".peer:is(:active, [data-active]) ~ &",
|
|
78
|
+
peerFocus: ".peer:is(:focus, [data-focus=true]) ~ &",
|
|
79
|
+
peerHover: ".peer:is(:hover, [data-hover=true]) ~ &",
|
|
80
|
+
peerActive: ".peer:is(:active, [data-active=true]) ~ &",
|
|
81
81
|
peerFocusWithin: ".peer:focus-within ~ &",
|
|
82
82
|
peerFocusVisible: ".peer:is(:focus-visible, [data-focus-visible]) ~ &",
|
|
83
|
-
peerDisabled: ".peer:is(:disabled, [disabled], [data-disabled], [aria-disabled=true]) ~ &",
|
|
84
|
-
peerChecked: '.peer:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) ~ &',
|
|
85
|
-
peerInvalid: ".peer:is(:invalid, [data-invalid], [aria-invalid=true]) ~ &",
|
|
86
|
-
peerExpanded: '.peer:is([aria-expanded=true], [data-expanded], [data-state="expanded"]) ~ &',
|
|
83
|
+
peerDisabled: ".peer:is(:disabled, [disabled], [data-disabled=true], [aria-disabled=true]) ~ &",
|
|
84
|
+
peerChecked: '.peer:is(:checked, [data-checked=true], [aria-checked=true], [data-state="checked"]) ~ &',
|
|
85
|
+
peerInvalid: ".peer:is(:invalid, [data-invalid=true], [aria-invalid=true]) ~ &",
|
|
86
|
+
peerExpanded: '.peer:is([aria-expanded=true], [data-expanded=true], [data-state="expanded"]) ~ &',
|
|
87
87
|
peerPlaceholderShown: ".peer:placeholder-shown ~ &",
|
|
88
|
-
groupFocus: ".group:is(:focus, [data-focus]) &",
|
|
89
|
-
groupHover: ".group:is(:hover, [data-hover]) &",
|
|
90
|
-
groupActive: ".group:is(:active, [data-active]) &",
|
|
88
|
+
groupFocus: ".group:is(:focus, [data-focus=true]) &",
|
|
89
|
+
groupHover: ".group:is(:hover, [data-hover=true]) &",
|
|
90
|
+
groupActive: ".group:is(:active, [data-active=true]) &",
|
|
91
91
|
groupFocusWithin: ".group:focus-within &",
|
|
92
|
-
groupFocusVisible: ".group:is(:focus-visible, [data-focus-visible]) &",
|
|
93
|
-
groupDisabled: ".group:is(:disabled, [disabled], [data-disabled], [aria-disabled=true]) &",
|
|
94
|
-
groupChecked: '.group:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) &',
|
|
95
|
-
groupExpanded: '.group:is([aria-expanded=true], [data-expanded], [data-state="expanded"]) &',
|
|
96
|
-
groupInvalid: ".group:is(:invalid, [data-invalid], [aria-invalid=true]) &",
|
|
97
|
-
indeterminate: '&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state="indeterminate"])',
|
|
98
|
-
required: "&:is(:required, [data-required], [aria-required=true])",
|
|
99
|
-
valid: "&:is(:valid, [data-valid])",
|
|
100
|
-
invalid: "&:is(:invalid, [data-invalid], [aria-invalid=true])",
|
|
101
|
-
error: "&:is([data-error
|
|
92
|
+
groupFocusVisible: ".group:is(:focus-visible, [data-focus-visible=true]) &",
|
|
93
|
+
groupDisabled: ".group:is(:disabled, [disabled], [data-disabled=true], [aria-disabled=true]) &",
|
|
94
|
+
groupChecked: '.group:is(:checked, [data-checked=true], [aria-checked=true], [data-state="checked"]) &',
|
|
95
|
+
groupExpanded: '.group:is([aria-expanded=true], [data-expanded=true], [data-state="expanded"]) &',
|
|
96
|
+
groupInvalid: ".group:is(:invalid, [data-invalid=true], [aria-invalid=true]) &",
|
|
97
|
+
indeterminate: '&:is(:indeterminate, [data-indeterminate=true], [aria-checked=mixed], [data-state="indeterminate"])',
|
|
98
|
+
required: "&:is(:required, [data-required=true], [aria-required=true])",
|
|
99
|
+
valid: "&:is(:valid, [data-valid=true])",
|
|
100
|
+
invalid: "&:is(:invalid, [data-invalid=true], [aria-invalid=true])",
|
|
101
|
+
error: "&:is([data-error=true])",
|
|
102
102
|
autofill: "&:autofill",
|
|
103
|
-
inRange: "&:is(:in-range, [data-in-range])",
|
|
104
|
-
outOfRange: "&:is(:out-of-range, [data-outside-range])",
|
|
105
|
-
placeholder: "&::placeholder, &[data-placeholder]",
|
|
106
|
-
placeholderShown: "&:is(:placeholder-shown, [data-placeholder-shown])",
|
|
107
|
-
pressed: "&:is([aria-pressed=true], [data-pressed])",
|
|
103
|
+
inRange: "&:is(:in-range, [data-in-range=true])",
|
|
104
|
+
outOfRange: "&:is(:out-of-range, [data-outside-range=true])",
|
|
105
|
+
placeholder: "&::placeholder, &[data-placeholder=true]",
|
|
106
|
+
placeholderShown: "&:is(:placeholder-shown, [data-placeholder-shown=true])",
|
|
107
|
+
pressed: "&:is([aria-pressed=true], [data-pressed=true])",
|
|
108
108
|
selected: "&:is([aria-selected=true], [data-selected=true])",
|
|
109
|
-
grabbed: "&:is([aria-grabbed=true], [data-grabbed])",
|
|
110
|
-
underValue:
|
|
111
|
-
overValue:
|
|
112
|
-
atValue:
|
|
109
|
+
grabbed: "&:is([aria-grabbed=true], [data-grabbed=true])",
|
|
110
|
+
underValue: '&[data-state="under-value"]',
|
|
111
|
+
overValue: '&[data-state="over-value"]',
|
|
112
|
+
atValue: '&[data-state="at-value"]',
|
|
113
113
|
default: "&:default",
|
|
114
114
|
optional: "&:optional",
|
|
115
|
-
open: '&:is([open], [data-open], [data-state="open"], :popover-open)',
|
|
116
|
-
closed: '&:is([closed], [data-closed], [data-state="closed"])',
|
|
117
|
-
fullscreen: "&:is(:fullscreen, [data-fullscreen])",
|
|
118
|
-
loading: "&:is([data-loading], [aria-busy=true])",
|
|
119
|
-
hidden: "&:is([hidden], [data-hidden])",
|
|
120
|
-
current: "&:is([aria-current=true], [data-current])",
|
|
115
|
+
open: '&:is([open], [data-open=true], [data-state="open"], :popover-open)',
|
|
116
|
+
closed: '&:is([closed], [data-closed=true], [data-state="closed"])',
|
|
117
|
+
fullscreen: "&:is(:fullscreen, [data-fullscreen=true])",
|
|
118
|
+
loading: "&:is([data-loading=true], [aria-busy=true])",
|
|
119
|
+
hidden: "&:is([hidden], [data-hidden=true])",
|
|
120
|
+
current: "&:is([aria-current=true], [data-current=true])",
|
|
121
121
|
currentPage: "&[aria-current=page]",
|
|
122
122
|
currentStep: "&[aria-current=step]",
|
|
123
|
-
today: "&:is([data-today])",
|
|
124
|
-
unavailable: "&[data-unavailable]",
|
|
125
|
-
rangeStart: "&[data-range-start]",
|
|
126
|
-
rangeEnd: "&[data-range-end]",
|
|
127
|
-
now: "&[data-now]",
|
|
128
|
-
topmost: "&[data-topmost]",
|
|
123
|
+
today: "&:is([data-today=true])",
|
|
124
|
+
unavailable: "&[data-unavailable=true]",
|
|
125
|
+
rangeStart: "&[data-range-start=true]",
|
|
126
|
+
rangeEnd: "&[data-range-end=true]",
|
|
127
|
+
now: "&[data-now=true]",
|
|
128
|
+
topmost: "&[data-topmost=true]",
|
|
129
129
|
motionReduce: "@media (prefers-reduced-motion: reduce)",
|
|
130
130
|
motionSafe: "@media (prefers-reduced-motion: no-preference)",
|
|
131
131
|
paused: "&:is([data-paused=true])",
|
|
132
132
|
print: "@media print",
|
|
133
133
|
landscape: "@media (orientation: landscape)",
|
|
134
134
|
portrait: "@media (orientation: portrait)",
|
|
135
|
-
dark:
|
|
136
|
-
light:
|
|
135
|
+
dark: '.dark &, &:is([data-color-mode="dark"] *), [data-color-mode="dark"] &',
|
|
136
|
+
light: '.light &, &:is([data-color-mode="light"] *), [data-color-mode="light"] &',
|
|
137
137
|
osDark: "@media (prefers-color-scheme: dark)",
|
|
138
138
|
osLight: "@media (prefers-color-scheme: light)",
|
|
139
139
|
highContrast: "@media (forced-colors: active)",
|
|
@@ -4866,7 +4866,7 @@ const spinnerVariants = {
|
|
|
4866
4866
|
}
|
|
4867
4867
|
}
|
|
4868
4868
|
};
|
|
4869
|
-
const spinnerRecipe
|
|
4869
|
+
const spinnerRecipe = defineSlotRecipe({
|
|
4870
4870
|
className: "spinner",
|
|
4871
4871
|
jsx: ["Spinner"],
|
|
4872
4872
|
slots: ["container", "spinnerDiv"],
|
|
@@ -4954,7 +4954,7 @@ const boxRecipe = defineRecipe({
|
|
|
4954
4954
|
variants: boxVariants,
|
|
4955
4955
|
defaultVariants: {}
|
|
4956
4956
|
});
|
|
4957
|
-
const toggleRecipe
|
|
4957
|
+
const toggleRecipe = defineSlotRecipe({
|
|
4958
4958
|
className: "toggle",
|
|
4959
4959
|
jsx: ["Toggle"],
|
|
4960
4960
|
slots: ["container", "input", "indicator"],
|
|
@@ -5204,7 +5204,7 @@ const cardRecipe = defineRecipe({
|
|
|
5204
5204
|
variant: "default"
|
|
5205
5205
|
}
|
|
5206
5206
|
});
|
|
5207
|
-
const listRecipe
|
|
5207
|
+
const listRecipe = defineRecipe({
|
|
5208
5208
|
className: "list",
|
|
5209
5209
|
jsx: ["List"],
|
|
5210
5210
|
base: {
|
|
@@ -5217,7 +5217,7 @@ const listRecipe$1 = defineRecipe({
|
|
|
5217
5217
|
},
|
|
5218
5218
|
variants: {}
|
|
5219
5219
|
});
|
|
5220
|
-
const listItemRecipe
|
|
5220
|
+
const listItemRecipe = defineSlotRecipe({
|
|
5221
5221
|
className: "listItem",
|
|
5222
5222
|
jsx: ["ListItem"],
|
|
5223
5223
|
slots: [
|
|
@@ -5520,7 +5520,7 @@ const listItemRecipe$1 = defineSlotRecipe({
|
|
|
5520
5520
|
selected: false
|
|
5521
5521
|
}
|
|
5522
5522
|
});
|
|
5523
|
-
const listItemGroupRecipe
|
|
5523
|
+
const listItemGroupRecipe = defineSlotRecipe({
|
|
5524
5524
|
className: "listItemGroup",
|
|
5525
5525
|
jsx: ["ListItemGroup"],
|
|
5526
5526
|
slots: ["wrapper", "groupLabel", "divider"],
|
|
@@ -5581,7 +5581,7 @@ const listItemGroupRecipe$1 = defineSlotRecipe({
|
|
|
5581
5581
|
density: "compact"
|
|
5582
5582
|
}
|
|
5583
5583
|
});
|
|
5584
|
-
const highlightTextRecipe
|
|
5584
|
+
const highlightTextRecipe = defineRecipe({
|
|
5585
5585
|
className: "highlightText",
|
|
5586
5586
|
jsx: ["HighlightText"],
|
|
5587
5587
|
base: {
|
|
@@ -5982,16 +5982,48 @@ const checkboxInputRecipe = defineRecipe({
|
|
|
5982
5982
|
base: checkboxInputBase,
|
|
5983
5983
|
variants: {}
|
|
5984
5984
|
});
|
|
5985
|
-
const
|
|
5986
|
-
w:
|
|
5987
|
-
|
|
5988
|
-
fill: "icon.decorative"
|
|
5989
|
-
};
|
|
5985
|
+
const sizeVariants = Object.fromEntries(
|
|
5986
|
+
Object.keys(numericSizes).map((key) => [key, { w: key }])
|
|
5987
|
+
);
|
|
5990
5988
|
const iconRecipe = defineRecipe({
|
|
5991
5989
|
className: "icon",
|
|
5992
5990
|
jsx: ["Icon"],
|
|
5993
|
-
base:
|
|
5991
|
+
base: {
|
|
5992
|
+
aspectRatio: "square",
|
|
5993
|
+
fill: "icon.decorative"
|
|
5994
|
+
},
|
|
5995
|
+
variants: {
|
|
5996
|
+
size: sizeVariants
|
|
5997
|
+
},
|
|
5998
|
+
defaultVariants: {
|
|
5999
|
+
size: "24"
|
|
6000
|
+
},
|
|
6001
|
+
staticCss: [{ size: ["*"] }]
|
|
5994
6002
|
});
|
|
6003
|
+
const regularRecipes = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6004
|
+
__proto__: null,
|
|
6005
|
+
boxRecipe,
|
|
6006
|
+
cardRecipe,
|
|
6007
|
+
checkboxInputRecipe,
|
|
6008
|
+
codeRecipe,
|
|
6009
|
+
dividerRecipe,
|
|
6010
|
+
headingRecipe,
|
|
6011
|
+
highlightTextRecipe,
|
|
6012
|
+
iconRecipe,
|
|
6013
|
+
labelRecipe,
|
|
6014
|
+
linkRecipe,
|
|
6015
|
+
listItemGroupRecipe,
|
|
6016
|
+
listItemRecipe,
|
|
6017
|
+
listRecipe,
|
|
6018
|
+
preRecipe,
|
|
6019
|
+
radioInputRecipe,
|
|
6020
|
+
spinnerRecipe,
|
|
6021
|
+
tagRecipe,
|
|
6022
|
+
textRecipe,
|
|
6023
|
+
textareaRecipe,
|
|
6024
|
+
toggleInputRecipe,
|
|
6025
|
+
toggleRecipe
|
|
6026
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
5995
6027
|
const buttonBaseStyles = {
|
|
5996
6028
|
container: {
|
|
5997
6029
|
...globalBaseStyles,
|
|
@@ -6210,7 +6242,7 @@ const buttonVariants = {
|
|
|
6210
6242
|
}
|
|
6211
6243
|
}
|
|
6212
6244
|
};
|
|
6213
|
-
const buttonRecipe
|
|
6245
|
+
const buttonRecipe = defineSlotRecipe({
|
|
6214
6246
|
className: "button",
|
|
6215
6247
|
jsx: ["Button"],
|
|
6216
6248
|
slots: ["container", "icon"],
|
|
@@ -6333,7 +6365,7 @@ const buttonRecipe$1 = defineSlotRecipe({
|
|
|
6333
6365
|
size: "md"
|
|
6334
6366
|
}
|
|
6335
6367
|
});
|
|
6336
|
-
const iconButtonRecipe
|
|
6368
|
+
const iconButtonRecipe = defineSlotRecipe({
|
|
6337
6369
|
className: "iconButton",
|
|
6338
6370
|
jsx: ["IconButton"],
|
|
6339
6371
|
slots: ["container", "icon"],
|
|
@@ -6388,7 +6420,7 @@ const iconButtonRecipe$1 = defineSlotRecipe({
|
|
|
6388
6420
|
size: "md"
|
|
6389
6421
|
}
|
|
6390
6422
|
});
|
|
6391
|
-
const checkboxRecipe
|
|
6423
|
+
const checkboxRecipe = defineSlotRecipe({
|
|
6392
6424
|
className: "checkbox",
|
|
6393
6425
|
jsx: ["Checkbox"],
|
|
6394
6426
|
slots: ["container", "input", "indicator", "checkBg"],
|
|
@@ -6473,7 +6505,7 @@ const checkboxRecipe$1 = defineSlotRecipe({
|
|
|
6473
6505
|
}
|
|
6474
6506
|
}
|
|
6475
6507
|
});
|
|
6476
|
-
const radioRecipe
|
|
6508
|
+
const radioRecipe = defineSlotRecipe({
|
|
6477
6509
|
className: "radio",
|
|
6478
6510
|
jsx: ["Radio"],
|
|
6479
6511
|
slots: ["container", "input", "indicator", "radioBg"],
|
|
@@ -6552,7 +6584,7 @@ const radioRecipe$1 = defineSlotRecipe({
|
|
|
6552
6584
|
}
|
|
6553
6585
|
}
|
|
6554
6586
|
});
|
|
6555
|
-
const tooltipRecipe
|
|
6587
|
+
const tooltipRecipe = defineSlotRecipe({
|
|
6556
6588
|
className: "tooltip",
|
|
6557
6589
|
jsx: ["Tooltip"],
|
|
6558
6590
|
slots: ["tooltipContent", "title", "text"],
|
|
@@ -6933,7 +6965,7 @@ const menuVariants = {
|
|
|
6933
6965
|
}
|
|
6934
6966
|
}
|
|
6935
6967
|
};
|
|
6936
|
-
const menuRecipe
|
|
6968
|
+
const menuRecipe = defineSlotRecipe({
|
|
6937
6969
|
className: "menu",
|
|
6938
6970
|
jsx: ["Menu", "MenuItem", "MenuGroup", "SubMenu"],
|
|
6939
6971
|
slots: [
|
|
@@ -6986,6 +7018,20 @@ const textInputBase = {
|
|
|
6986
7018
|
outlineColor: "border.danger"
|
|
6987
7019
|
}
|
|
6988
7020
|
},
|
|
7021
|
+
_invalid: {
|
|
7022
|
+
borderColor: "border.danger",
|
|
7023
|
+
_focusWithin: {
|
|
7024
|
+
borderColor: "border.danger",
|
|
7025
|
+
outlineColor: "border.danger"
|
|
7026
|
+
}
|
|
7027
|
+
},
|
|
7028
|
+
_valid: {
|
|
7029
|
+
borderColor: "border.success",
|
|
7030
|
+
_focusWithin: {
|
|
7031
|
+
borderColor: "border.success",
|
|
7032
|
+
outlineColor: "border.success"
|
|
7033
|
+
}
|
|
7034
|
+
},
|
|
6989
7035
|
_disabled: {
|
|
6990
7036
|
opacity: 0.4,
|
|
6991
7037
|
cursor: "not-allowed",
|
|
@@ -6994,6 +7040,14 @@ const textInputBase = {
|
|
|
6994
7040
|
borderColor: "border.input"
|
|
6995
7041
|
}
|
|
6996
7042
|
},
|
|
7043
|
+
_readOnly: {
|
|
7044
|
+
opacity: 0.4,
|
|
7045
|
+
cursor: "not-allowed",
|
|
7046
|
+
_focusWithin: {
|
|
7047
|
+
outlineColor: "transparent",
|
|
7048
|
+
borderColor: "border.input"
|
|
7049
|
+
}
|
|
7050
|
+
},
|
|
6997
7051
|
_groupDisabled: {
|
|
6998
7052
|
opacity: 1
|
|
6999
7053
|
// let FormField handle disabled state opacity
|
|
@@ -7149,7 +7203,7 @@ const textInputCompoundVariants = [
|
|
|
7149
7203
|
}
|
|
7150
7204
|
}
|
|
7151
7205
|
];
|
|
7152
|
-
const textInputRecipe
|
|
7206
|
+
const textInputRecipe = defineSlotRecipe({
|
|
7153
7207
|
className: "textInput",
|
|
7154
7208
|
jsx: ["TextInput"],
|
|
7155
7209
|
slots: ["container", "input", "icon"],
|
|
@@ -7223,7 +7277,7 @@ const formFieldVariants = {
|
|
|
7223
7277
|
}
|
|
7224
7278
|
}
|
|
7225
7279
|
};
|
|
7226
|
-
const formFieldRecipe
|
|
7280
|
+
const formFieldRecipe = defineSlotRecipe({
|
|
7227
7281
|
className: "formField",
|
|
7228
7282
|
jsx: ["FormField"],
|
|
7229
7283
|
slots: ["container", "inputs", "labelWrapper"],
|
|
@@ -7234,7 +7288,7 @@ const formFieldRecipe$1 = defineSlotRecipe({
|
|
|
7234
7288
|
size: "md"
|
|
7235
7289
|
}
|
|
7236
7290
|
});
|
|
7237
|
-
const avatarRecipe
|
|
7291
|
+
const avatarRecipe = defineSlotRecipe({
|
|
7238
7292
|
className: "avatar",
|
|
7239
7293
|
jsx: ["Avatar"],
|
|
7240
7294
|
slots: ["root", "image", "fallback", "presence", "status"],
|
|
@@ -7435,7 +7489,7 @@ const avatarRecipe$1 = defineSlotRecipe({
|
|
|
7435
7489
|
shape: "circle"
|
|
7436
7490
|
}
|
|
7437
7491
|
});
|
|
7438
|
-
const badgeRecipe
|
|
7492
|
+
const badgeRecipe = defineSlotRecipe({
|
|
7439
7493
|
className: "badge",
|
|
7440
7494
|
jsx: ["Badge"],
|
|
7441
7495
|
slots: ["root", "indicator"],
|
|
@@ -7697,7 +7751,7 @@ const chipBase = {
|
|
|
7697
7751
|
}
|
|
7698
7752
|
}
|
|
7699
7753
|
};
|
|
7700
|
-
const chipRecipe
|
|
7754
|
+
const chipRecipe = defineSlotRecipe({
|
|
7701
7755
|
className: "chip",
|
|
7702
7756
|
jsx: ["Chip"],
|
|
7703
7757
|
slots: ["container", "chipIcon"],
|
|
@@ -7930,7 +7984,7 @@ const modalVariants = {
|
|
|
7930
7984
|
}
|
|
7931
7985
|
}
|
|
7932
7986
|
};
|
|
7933
|
-
const modalRecipe
|
|
7987
|
+
const modalRecipe = defineSlotRecipe({
|
|
7934
7988
|
className: "modal",
|
|
7935
7989
|
jsx: ["Modal", "ModalHeader", "ModalBody", "ModalFooter"],
|
|
7936
7990
|
slots: [
|
|
@@ -8139,7 +8193,7 @@ const datePickerVariants = {
|
|
|
8139
8193
|
}
|
|
8140
8194
|
}
|
|
8141
8195
|
};
|
|
8142
|
-
const datePickerRecipe
|
|
8196
|
+
const datePickerRecipe = defineSlotRecipe({
|
|
8143
8197
|
className: "datePicker",
|
|
8144
8198
|
jsx: ["DatePicker", "DateRangePicker"],
|
|
8145
8199
|
slots: [
|
|
@@ -8331,7 +8385,7 @@ const timePickerVariants = {
|
|
|
8331
8385
|
}
|
|
8332
8386
|
}
|
|
8333
8387
|
};
|
|
8334
|
-
const timePickerRecipe
|
|
8388
|
+
const timePickerRecipe = defineSlotRecipe({
|
|
8335
8389
|
className: "timePicker",
|
|
8336
8390
|
jsx: ["TimePicker", "TimeRangePicker"],
|
|
8337
8391
|
slots: [
|
|
@@ -8349,7 +8403,7 @@ const timePickerRecipe$1 = defineSlotRecipe({
|
|
|
8349
8403
|
size: "md"
|
|
8350
8404
|
}
|
|
8351
8405
|
});
|
|
8352
|
-
const breadcrumbsRecipe
|
|
8406
|
+
const breadcrumbsRecipe = defineSlotRecipe({
|
|
8353
8407
|
className: "breadcrumbs",
|
|
8354
8408
|
jsx: ["Breadcrumbs"],
|
|
8355
8409
|
slots: ["wrapper", "slash", "linkSegment", "currentSegment"],
|
|
@@ -8394,44 +8448,23 @@ const breadcrumbsRecipe$1 = defineSlotRecipe({
|
|
|
8394
8448
|
}
|
|
8395
8449
|
}
|
|
8396
8450
|
});
|
|
8397
|
-
const
|
|
8451
|
+
const slotRecipes = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8398
8452
|
__proto__: null,
|
|
8399
|
-
avatarRecipe
|
|
8400
|
-
badgeRecipe
|
|
8401
|
-
|
|
8402
|
-
|
|
8403
|
-
|
|
8404
|
-
|
|
8405
|
-
|
|
8406
|
-
|
|
8407
|
-
|
|
8408
|
-
|
|
8409
|
-
|
|
8410
|
-
|
|
8411
|
-
|
|
8412
|
-
|
|
8413
|
-
|
|
8414
|
-
iconButtonRecipe: iconButtonRecipe$1,
|
|
8415
|
-
iconRecipe,
|
|
8416
|
-
labelRecipe,
|
|
8417
|
-
linkRecipe,
|
|
8418
|
-
listItemGroupRecipe: listItemGroupRecipe$1,
|
|
8419
|
-
listItemRecipe: listItemRecipe$1,
|
|
8420
|
-
listRecipe: listRecipe$1,
|
|
8421
|
-
menuRecipe: menuRecipe$1,
|
|
8422
|
-
modalRecipe: modalRecipe$1,
|
|
8423
|
-
preRecipe,
|
|
8424
|
-
radioInputRecipe,
|
|
8425
|
-
radioRecipe: radioRecipe$1,
|
|
8426
|
-
spinnerRecipe: spinnerRecipe$1,
|
|
8427
|
-
tagRecipe,
|
|
8428
|
-
textInputRecipe: textInputRecipe$1,
|
|
8429
|
-
textRecipe,
|
|
8430
|
-
textareaRecipe,
|
|
8431
|
-
timePickerRecipe: timePickerRecipe$1,
|
|
8432
|
-
toggleInputRecipe,
|
|
8433
|
-
toggleRecipe: toggleRecipe$1,
|
|
8434
|
-
tooltipRecipe: tooltipRecipe$1
|
|
8453
|
+
avatarRecipe,
|
|
8454
|
+
badgeRecipe,
|
|
8455
|
+
breadcrumbsRecipe,
|
|
8456
|
+
buttonRecipe,
|
|
8457
|
+
checkboxRecipe,
|
|
8458
|
+
chipRecipe,
|
|
8459
|
+
datePickerRecipe,
|
|
8460
|
+
formFieldRecipe,
|
|
8461
|
+
iconButtonRecipe,
|
|
8462
|
+
menuRecipe,
|
|
8463
|
+
modalRecipe,
|
|
8464
|
+
radioRecipe,
|
|
8465
|
+
textInputRecipe,
|
|
8466
|
+
timePickerRecipe,
|
|
8467
|
+
tooltipRecipe
|
|
8435
8468
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
8436
8469
|
const colors = defineSemanticTokens.colors({
|
|
8437
8470
|
bg: {
|
|
@@ -9596,36 +9629,18 @@ const zIndex = defineSemanticTokens.zIndex({
|
|
|
9596
9629
|
modal: { value: "{zIndex.1101}" },
|
|
9597
9630
|
tooltip: { value: "{zIndex.1200}" }
|
|
9598
9631
|
});
|
|
9599
|
-
const
|
|
9600
|
-
badgeRecipe,
|
|
9601
|
-
buttonRecipe,
|
|
9602
|
-
iconButtonRecipe,
|
|
9603
|
-
checkboxRecipe,
|
|
9604
|
-
radioRecipe,
|
|
9605
|
-
tooltipRecipe,
|
|
9606
|
-
menuRecipe,
|
|
9607
|
-
toggleRecipe,
|
|
9608
|
-
chipRecipe,
|
|
9609
|
-
avatarRecipe,
|
|
9610
|
-
modalRecipe,
|
|
9611
|
-
formFieldRecipe,
|
|
9612
|
-
spinnerRecipe,
|
|
9613
|
-
textInputRecipe,
|
|
9614
|
-
datePickerRecipe,
|
|
9615
|
-
timePickerRecipe,
|
|
9616
|
-
breadcrumbsRecipe,
|
|
9617
|
-
listRecipe,
|
|
9618
|
-
listItemRecipe,
|
|
9619
|
-
highlightTextRecipe,
|
|
9620
|
-
listItemGroupRecipe,
|
|
9621
|
-
...regularRecipes
|
|
9622
|
-
} = componentRecipes;
|
|
9623
|
-
const transformedRecipes = Object.fromEntries(
|
|
9632
|
+
const presetRecipes = Object.fromEntries(
|
|
9624
9633
|
Object.entries(regularRecipes).map(([key, value]) => [
|
|
9625
9634
|
key.replace(/Recipe$/, ""),
|
|
9626
9635
|
value
|
|
9627
9636
|
])
|
|
9628
9637
|
);
|
|
9638
|
+
const presetSlotRecipes = Object.fromEntries(
|
|
9639
|
+
Object.entries(slotRecipes).map(([key, value]) => [
|
|
9640
|
+
key.replace(/Recipe$/, ""),
|
|
9641
|
+
value
|
|
9642
|
+
])
|
|
9643
|
+
);
|
|
9629
9644
|
const {
|
|
9630
9645
|
box: _box,
|
|
9631
9646
|
divider: _divider,
|
|
@@ -9661,32 +9676,8 @@ const cetecPreset = definePreset$1({
|
|
|
9661
9676
|
keyframes,
|
|
9662
9677
|
layerStyles,
|
|
9663
9678
|
textStyles,
|
|
9664
|
-
recipes:
|
|
9665
|
-
|
|
9666
|
-
list: listRecipe,
|
|
9667
|
-
listItem: listItemRecipe,
|
|
9668
|
-
highlightText: highlightTextRecipe
|
|
9669
|
-
},
|
|
9670
|
-
slotRecipes: {
|
|
9671
|
-
badge: badgeRecipe,
|
|
9672
|
-
button: buttonRecipe,
|
|
9673
|
-
iconButton: iconButtonRecipe,
|
|
9674
|
-
checkbox: checkboxRecipe,
|
|
9675
|
-
radio: radioRecipe,
|
|
9676
|
-
tooltip: tooltipRecipe,
|
|
9677
|
-
menu: menuRecipe,
|
|
9678
|
-
toggle: toggleRecipe,
|
|
9679
|
-
chip: chipRecipe,
|
|
9680
|
-
avatar: avatarRecipe,
|
|
9681
|
-
modal: modalRecipe,
|
|
9682
|
-
formField: formFieldRecipe,
|
|
9683
|
-
spinner: spinnerRecipe,
|
|
9684
|
-
textInput: textInputRecipe,
|
|
9685
|
-
datePicker: datePickerRecipe,
|
|
9686
|
-
timePicker: timePickerRecipe,
|
|
9687
|
-
breadcrumbs: breadcrumbsRecipe,
|
|
9688
|
-
listItemGroup: listItemGroupRecipe
|
|
9689
|
-
}
|
|
9679
|
+
recipes: presetRecipes,
|
|
9680
|
+
slotRecipes: presetSlotRecipes
|
|
9690
9681
|
}
|
|
9691
9682
|
},
|
|
9692
9683
|
utilities: {
|
|
@@ -9732,4 +9723,4 @@ export {
|
|
|
9732
9723
|
breakpoints as b,
|
|
9733
9724
|
containerSizes as c
|
|
9734
9725
|
};
|
|
9735
|
-
//# sourceMappingURL=cetec-preset-
|
|
9726
|
+
//# sourceMappingURL=cetec-preset-kUkA_FyU.js.map
|