@stokelp/styled-system 2.127.0 → 3.0.1
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/css/conditions.d.ts +7 -0
- package/css/conditions.js +32 -0
- package/css/css.d.ts +6 -6
- package/css/css.js +63 -0
- package/css/cva.d.ts +3 -4
- package/css/cva.js +51 -0
- package/css/cx.d.ts +5 -4
- package/css/{cx.mjs → cx.js} +5 -4
- package/css/first-that-works.d.ts +22 -0
- package/css/first-that-works.js +1 -0
- package/css/index.d.ts +8 -5
- package/css/index.js +8 -0
- package/css/keyframes.d.ts +5 -0
- package/css/keyframes.js +8 -0
- package/css/position-try.d.ts +5 -0
- package/css/position-try.js +11 -0
- package/css/sva.d.ts +2 -3
- package/css/sva.js +49 -0
- package/css/view-transition.d.ts +7 -0
- package/css/view-transition.js +18 -0
- package/dist/panda/buildinfo.json +20580 -0
- package/dist/panda/lib.json +15 -0
- package/dist/panda/preset.mjs +9505 -0
- package/helpers.d.ts +67 -0
- package/helpers.js +624 -0
- package/jsx/aspect-ratio.d.ts +5 -8
- package/jsx/aspect-ratio.js +11 -0
- package/jsx/bleed.d.ts +6 -9
- package/jsx/bleed.js +11 -0
- package/jsx/box.d.ts +6 -9
- package/jsx/box.js +11 -0
- package/jsx/center.d.ts +6 -9
- package/jsx/center.js +11 -0
- package/jsx/circle.d.ts +6 -9
- package/jsx/circle.js +11 -0
- package/jsx/container.d.ts +6 -9
- package/jsx/container.js +11 -0
- package/jsx/cq.d.ts +6 -9
- package/jsx/cq.js +11 -0
- package/jsx/create-recipe-context.d.ts +31 -0
- package/jsx/create-recipe-context.js +38 -0
- package/jsx/create-slot-recipe-context.d.ts +49 -0
- package/jsx/create-slot-recipe-context.js +124 -0
- package/jsx/divider.d.ts +6 -9
- package/jsx/divider.js +11 -0
- package/jsx/factory.d.ts +3 -3
- package/jsx/factory.js +91 -0
- package/jsx/flex.d.ts +6 -9
- package/jsx/flex.js +11 -0
- package/jsx/float.d.ts +6 -9
- package/jsx/float.js +11 -0
- package/jsx/grid-item.d.ts +6 -9
- package/jsx/grid-item.js +11 -0
- package/jsx/grid.d.ts +6 -9
- package/jsx/grid.js +11 -0
- package/jsx/helper.d.ts +34 -0
- package/jsx/helper.js +92 -0
- package/jsx/hstack.d.ts +6 -9
- package/jsx/hstack.js +11 -0
- package/jsx/index.d.ts +25 -25
- package/jsx/index.js +24 -0
- package/jsx/is-valid-prop.d.ts +5 -10
- package/jsx/is-valid-prop.js +12 -0
- package/jsx/link-overlay.d.ts +6 -9
- package/jsx/link-overlay.js +11 -0
- package/jsx/spacer.d.ts +6 -9
- package/jsx/spacer.js +11 -0
- package/jsx/square.d.ts +6 -9
- package/jsx/square.js +11 -0
- package/jsx/stack.d.ts +6 -9
- package/jsx/stack.js +11 -0
- package/jsx/visually-hidden.d.ts +6 -9
- package/jsx/visually-hidden.js +11 -0
- package/jsx/vstack.d.ts +6 -9
- package/jsx/vstack.js +11 -0
- package/jsx/wrap.d.ts +6 -9
- package/jsx/wrap.js +11 -0
- package/package.json +32 -18
- package/patterns/aspect-ratio.d.ts +8 -9
- package/patterns/aspect-ratio.js +37 -0
- package/patterns/bleed.d.ts +9 -10
- package/patterns/bleed.js +30 -0
- package/patterns/box.d.ts +8 -11
- package/patterns/box.js +16 -0
- package/patterns/center.d.ts +8 -9
- package/patterns/center.js +22 -0
- package/patterns/circle.d.ts +8 -9
- package/patterns/circle.js +26 -0
- package/patterns/container.d.ts +8 -11
- package/patterns/container.js +26 -0
- package/patterns/cq.d.ts +10 -10
- package/patterns/cq.js +24 -0
- package/patterns/divider.d.ts +11 -11
- package/patterns/divider.js +31 -0
- package/patterns/flex.d.ts +14 -15
- package/patterns/flex.js +27 -0
- package/patterns/float.d.ts +12 -12
- package/patterns/float.js +78 -0
- package/patterns/grid-item.d.ts +13 -14
- package/patterns/grid-item.js +26 -0
- package/patterns/grid.d.ts +13 -13
- package/patterns/grid.js +30 -0
- package/patterns/hstack.d.ts +9 -10
- package/patterns/hstack.js +27 -0
- package/patterns/index.d.ts +20 -21
- package/patterns/index.js +20 -0
- package/patterns/link-overlay.d.ts +8 -11
- package/patterns/link-overlay.js +25 -0
- package/patterns/runtime.js +25 -0
- package/patterns/spacer.d.ts +9 -9
- package/patterns/spacer.js +25 -0
- package/patterns/square.d.ts +8 -9
- package/patterns/square.js +25 -0
- package/patterns/stack.d.ts +11 -12
- package/patterns/stack.js +30 -0
- package/patterns/visually-hidden.d.ts +8 -11
- package/patterns/visually-hidden.js +19 -0
- package/patterns/vstack.d.ts +9 -10
- package/patterns/vstack.js +27 -0
- package/patterns/wrap.d.ts +12 -13
- package/patterns/wrap.js +26 -0
- package/recipes/accordion.d.ts +10 -26
- package/recipes/accordion.js +5 -0
- package/recipes/action-card.d.ts +9 -26
- package/recipes/action-card.js +5 -0
- package/recipes/alert.d.ts +10 -28
- package/recipes/alert.js +5 -0
- package/recipes/app-navigation-language-select.d.ts +12 -34
- package/recipes/app-navigation-language-select.js +5 -0
- package/recipes/app-navigation.d.ts +10 -28
- package/recipes/app-navigation.js +5 -0
- package/recipes/avatar-group.d.ts +8 -26
- package/recipes/avatar-group.js +5 -0
- package/recipes/avatar.d.ts +11 -30
- package/recipes/avatar.js +5 -0
- package/recipes/breadcrumb.d.ts +9 -24
- package/recipes/breadcrumb.js +5 -0
- package/recipes/button-filter.d.ts +8 -27
- package/recipes/button-filter.js +5 -0
- package/recipes/button.d.ts +10 -37
- package/recipes/button.js +5 -0
- package/recipes/chat-document-message.d.ts +8 -27
- package/recipes/chat-document-message.js +5 -0
- package/recipes/chat-message.d.ts +10 -33
- package/recipes/chat-message.js +5 -0
- package/recipes/chat-profile-avatar.d.ts +9 -29
- package/recipes/chat-profile-avatar.js +5 -0
- package/recipes/chat-text-input.d.ts +8 -27
- package/recipes/chat-text-input.js +5 -0
- package/recipes/chat.d.ts +9 -26
- package/recipes/chat.js +5 -0
- package/recipes/checkbox-card.d.ts +10 -26
- package/recipes/checkbox-card.js +5 -0
- package/recipes/checkbox-group.d.ts +7 -24
- package/recipes/checkbox-group.js +5 -0
- package/recipes/checkbox.d.ts +10 -26
- package/recipes/checkbox.js +5 -0
- package/recipes/chip.d.ts +11 -32
- package/recipes/chip.js +5 -0
- package/recipes/collapsible.d.ts +9 -24
- package/recipes/collapsible.js +5 -0
- package/recipes/combobox.d.ts +11 -27
- package/recipes/combobox.js +5 -0
- package/recipes/datepicker.d.ts +9 -24
- package/recipes/datepicker.js +5 -0
- package/recipes/dialog.d.ts +9 -24
- package/recipes/dialog.js +5 -0
- package/recipes/drawer.d.ts +10 -26
- package/recipes/drawer.js +5 -0
- package/recipes/flag.d.ts +8 -26
- package/recipes/flag.js +5 -0
- package/recipes/form-control.d.ts +8 -27
- package/recipes/form-control.js +5 -0
- package/recipes/form-helper-text.d.ts +8 -27
- package/recipes/form-helper-text.js +5 -0
- package/recipes/form-label.d.ts +10 -28
- package/recipes/form-label.js +5 -0
- package/recipes/heading.d.ts +10 -28
- package/recipes/heading.js +5 -0
- package/recipes/highlighted-input.d.ts +9 -26
- package/recipes/highlighted-input.js +5 -0
- package/recipes/icon-button.d.ts +10 -37
- package/recipes/icon-button.js +5 -0
- package/recipes/icon.d.ts +8 -26
- package/recipes/icon.js +5 -0
- package/recipes/illustration.d.ts +9 -29
- package/recipes/illustration.js +5 -0
- package/recipes/index.d.ts +62 -63
- package/recipes/index.js +62 -0
- package/recipes/input-addon.d.ts +8 -27
- package/recipes/input-addon.js +5 -0
- package/recipes/input-group.d.ts +8 -27
- package/recipes/input-group.js +5 -0
- package/recipes/input.d.ts +9 -29
- package/recipes/input.js +5 -0
- package/recipes/menu.d.ts +10 -26
- package/recipes/menu.js +5 -0
- package/recipes/mobile-navigation.d.ts +10 -28
- package/recipes/mobile-navigation.js +5 -0
- package/recipes/pagination.d.ts +9 -26
- package/recipes/pagination.js +5 -0
- package/recipes/phone-number-input.d.ts +9 -29
- package/recipes/phone-number-input.js +5 -0
- package/recipes/popover.d.ts +9 -24
- package/recipes/popover.js +5 -0
- package/recipes/price-tag.d.ts +10 -26
- package/recipes/price-tag.js +5 -0
- package/recipes/product-card-catalog.d.ts +9 -26
- package/recipes/product-card-catalog.js +5 -0
- package/recipes/radio-button-group.d.ts +10 -26
- package/recipes/radio-button-group.js +5 -0
- package/recipes/radio-card-group.d.ts +10 -26
- package/recipes/radio-card-group.js +5 -0
- package/recipes/radio-group.d.ts +10 -26
- package/recipes/radio-group.js +5 -0
- package/recipes/runtime.js +133 -0
- package/recipes/select-language.d.ts +10 -26
- package/recipes/select-language.js +5 -0
- package/recipes/select.d.ts +11 -27
- package/recipes/select.js +5 -0
- package/recipes/status-tag-select.d.ts +11 -30
- package/recipes/status-tag-select.js +5 -0
- package/recipes/steps.d.ts +9 -24
- package/recipes/steps.js +5 -0
- package/recipes/switch-card.d.ts +10 -26
- package/recipes/switch-card.js +5 -0
- package/recipes/switch-recipe.d.ts +10 -26
- package/recipes/switch-recipe.js +5 -0
- package/recipes/table-container.d.ts +7 -24
- package/recipes/table-container.js +5 -0
- package/recipes/table-empty-row.d.ts +7 -24
- package/recipes/table-empty-row.js +5 -0
- package/recipes/table-group-title.d.ts +8 -26
- package/recipes/table-group-title.js +5 -0
- package/recipes/table.d.ts +9 -24
- package/recipes/table.js +5 -0
- package/recipes/tabs-chip.d.ts +9 -29
- package/recipes/tabs-chip.js +5 -0
- package/recipes/tabs.d.ts +11 -30
- package/recipes/tabs.js +5 -0
- package/recipes/tag.d.ts +11 -32
- package/recipes/tag.js +5 -0
- package/recipes/text.d.ts +12 -30
- package/recipes/text.js +5 -0
- package/recipes/textarea.d.ts +7 -24
- package/recipes/textarea.js +5 -0
- package/recipes/tooltip.d.ts +9 -24
- package/recipes/tooltip.js +5 -0
- package/tokens/index.d.ts +4 -5
- package/tokens/index.js +18 -0
- package/types/index.d.ts +6 -8
- package/types/jsx.d.ts +37 -28
- package/types/pattern.d.ts +18 -70
- package/types/recipe.d.ts +58 -150
- package/types/register.d.ts +40 -0
- package/types/system.d.ts +1816 -0
- package/types/tokens.d.ts +72 -0
- package/css/conditions.mjs +0 -36
- package/css/css.mjs +0 -45
- package/css/cva.mjs +0 -87
- package/css/index.mjs +0 -4
- package/css/sva.mjs +0 -46
- package/helpers.mjs +0 -328
- package/jsx/aspect-ratio.mjs +0 -14
- package/jsx/bleed.mjs +0 -14
- package/jsx/box.mjs +0 -14
- package/jsx/center.mjs +0 -14
- package/jsx/circle.mjs +0 -14
- package/jsx/container.mjs +0 -14
- package/jsx/cq.mjs +0 -14
- package/jsx/create-style-context.d.ts +0 -54
- package/jsx/create-style-context.mjs +0 -118
- package/jsx/divider.mjs +0 -14
- package/jsx/factory-helper.mjs +0 -22
- package/jsx/factory.mjs +0 -89
- package/jsx/flex.mjs +0 -14
- package/jsx/float.mjs +0 -14
- package/jsx/grid-item.mjs +0 -14
- package/jsx/grid.mjs +0 -14
- package/jsx/hstack.mjs +0 -14
- package/jsx/index.mjs +0 -23
- package/jsx/is-valid-prop.mjs +0 -17
- package/jsx/link-overlay.mjs +0 -14
- package/jsx/spacer.mjs +0 -14
- package/jsx/square.mjs +0 -14
- package/jsx/stack.mjs +0 -14
- package/jsx/visually-hidden.mjs +0 -14
- package/jsx/vstack.mjs +0 -14
- package/jsx/wrap.mjs +0 -14
- package/panda.buildinfo.json +0 -471
- package/patterns/aspect-ratio.mjs +0 -38
- package/patterns/bleed.mjs +0 -24
- package/patterns/box.mjs +0 -15
- package/patterns/center.mjs +0 -21
- package/patterns/circle.mjs +0 -25
- package/patterns/container.mjs +0 -21
- package/patterns/cq.mjs +0 -21
- package/patterns/divider.mjs +0 -25
- package/patterns/flex.mjs +0 -26
- package/patterns/float.mjs +0 -52
- package/patterns/grid-item.mjs +0 -25
- package/patterns/grid.mjs +0 -27
- package/patterns/hstack.mjs +0 -24
- package/patterns/index.mjs +0 -20
- package/patterns/link-overlay.mjs +0 -24
- package/patterns/spacer.mjs +0 -25
- package/patterns/square.mjs +0 -24
- package/patterns/stack.mjs +0 -24
- package/patterns/visually-hidden.mjs +0 -18
- package/patterns/vstack.mjs +0 -24
- package/patterns/wrap.mjs +0 -25
- package/recipes/accordion.mjs +0 -57
- package/recipes/action-card.mjs +0 -45
- package/recipes/alert.mjs +0 -57
- package/recipes/app-navigation-language-select.mjs +0 -109
- package/recipes/app-navigation.mjs +0 -84
- package/recipes/avatar-group.mjs +0 -32
- package/recipes/avatar.mjs +0 -57
- package/recipes/breadcrumb.mjs +0 -45
- package/recipes/button-filter.mjs +0 -24
- package/recipes/button.mjs +0 -212
- package/recipes/chat-document-message.mjs +0 -24
- package/recipes/chat-message.mjs +0 -36
- package/recipes/chat-profile-avatar.mjs +0 -31
- package/recipes/chat-text-input.mjs +0 -24
- package/recipes/chat.mjs +0 -45
- package/recipes/checkbox-card.mjs +0 -73
- package/recipes/checkbox-group.mjs +0 -24
- package/recipes/checkbox.mjs +0 -57
- package/recipes/chip.mjs +0 -76
- package/recipes/collapsible.mjs +0 -45
- package/recipes/combobox.mjs +0 -101
- package/recipes/create-recipe.mjs +0 -82
- package/recipes/datepicker.mjs +0 -133
- package/recipes/dialog.mjs +0 -69
- package/recipes/drawer.mjs +0 -78
- package/recipes/flag.mjs +0 -33
- package/recipes/form-control.mjs +0 -24
- package/recipes/form-helper-text.mjs +0 -24
- package/recipes/form-label.mjs +0 -50
- package/recipes/heading.mjs +0 -41
- package/recipes/highlighted-input.mjs +0 -45
- package/recipes/icon-button.mjs +0 -233
- package/recipes/icon.mjs +0 -34
- package/recipes/illustration.mjs +0 -37
- package/recipes/index.mjs +0 -62
- package/recipes/input-addon.mjs +0 -24
- package/recipes/input-group.mjs +0 -24
- package/recipes/input.mjs +0 -30
- package/recipes/menu.mjs +0 -93
- package/recipes/mobile-navigation.mjs +0 -56
- package/recipes/pagination.mjs +0 -41
- package/recipes/phone-number-input.mjs +0 -30
- package/recipes/popover.mjs +0 -69
- package/recipes/price-tag.mjs +0 -51
- package/recipes/product-card-catalog.mjs +0 -73
- package/recipes/radio-button-group.mjs +0 -62
- package/recipes/radio-card-group.mjs +0 -77
- package/recipes/radio-group.mjs +0 -61
- package/recipes/select-language.mjs +0 -98
- package/recipes/select.mjs +0 -101
- package/recipes/status-tag-select.mjs +0 -108
- package/recipes/steps.mjs +0 -69
- package/recipes/switch-card.mjs +0 -69
- package/recipes/switch-recipe.mjs +0 -53
- package/recipes/table-container.mjs +0 -24
- package/recipes/table-empty-row.mjs +0 -24
- package/recipes/table-group-title.mjs +0 -32
- package/recipes/table.mjs +0 -61
- package/recipes/tabs-chip.mjs +0 -35
- package/recipes/tabs.mjs +0 -63
- package/recipes/tag.mjs +0 -61
- package/recipes/text.mjs +0 -41
- package/recipes/textarea.mjs +0 -24
- package/recipes/tooltip.mjs +0 -49
- package/tokens/index.mjs +0 -1728
- package/tokens/tokens.d.ts +0 -63
- package/types/composition.d.ts +0 -227
- package/types/conditions.d.ts +0 -300
- package/types/csstype.d.ts +0 -22570
- package/types/global.d.ts +0 -20
- package/types/parts.d.ts +0 -8
- package/types/prop-type.d.ts +0 -251
- package/types/selectors.d.ts +0 -59
- package/types/static-css.d.ts +0 -56
- package/types/style-props.d.ts +0 -8089
- package/types/system-types.d.ts +0 -151
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const selectLanguageDefaultVariants = {
|
|
5
|
-
"variant": "default"
|
|
6
|
-
}
|
|
7
|
-
const selectLanguageCompoundVariants = []
|
|
8
|
-
|
|
9
|
-
const selectLanguageSlotNames = [
|
|
10
|
-
[
|
|
11
|
-
"label",
|
|
12
|
-
"select-language__label"
|
|
13
|
-
],
|
|
14
|
-
[
|
|
15
|
-
"positioner",
|
|
16
|
-
"select-language__positioner"
|
|
17
|
-
],
|
|
18
|
-
[
|
|
19
|
-
"trigger",
|
|
20
|
-
"select-language__trigger"
|
|
21
|
-
],
|
|
22
|
-
[
|
|
23
|
-
"indicator",
|
|
24
|
-
"select-language__indicator"
|
|
25
|
-
],
|
|
26
|
-
[
|
|
27
|
-
"clearTrigger",
|
|
28
|
-
"select-language__clearTrigger"
|
|
29
|
-
],
|
|
30
|
-
[
|
|
31
|
-
"item",
|
|
32
|
-
"select-language__item"
|
|
33
|
-
],
|
|
34
|
-
[
|
|
35
|
-
"itemText",
|
|
36
|
-
"select-language__itemText"
|
|
37
|
-
],
|
|
38
|
-
[
|
|
39
|
-
"itemIndicator",
|
|
40
|
-
"select-language__itemIndicator"
|
|
41
|
-
],
|
|
42
|
-
[
|
|
43
|
-
"itemGroup",
|
|
44
|
-
"select-language__itemGroup"
|
|
45
|
-
],
|
|
46
|
-
[
|
|
47
|
-
"itemGroupLabel",
|
|
48
|
-
"select-language__itemGroupLabel"
|
|
49
|
-
],
|
|
50
|
-
[
|
|
51
|
-
"list",
|
|
52
|
-
"select-language__list"
|
|
53
|
-
],
|
|
54
|
-
[
|
|
55
|
-
"content",
|
|
56
|
-
"select-language__content"
|
|
57
|
-
],
|
|
58
|
-
[
|
|
59
|
-
"root",
|
|
60
|
-
"select-language__root"
|
|
61
|
-
],
|
|
62
|
-
[
|
|
63
|
-
"control",
|
|
64
|
-
"select-language__control"
|
|
65
|
-
],
|
|
66
|
-
[
|
|
67
|
-
"valueText",
|
|
68
|
-
"select-language__valueText"
|
|
69
|
-
]
|
|
70
|
-
]
|
|
71
|
-
const selectLanguageSlotFns = /* @__PURE__ */ selectLanguageSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, selectLanguageDefaultVariants, getSlotCompoundVariant(selectLanguageCompoundVariants, slotName))])
|
|
72
|
-
|
|
73
|
-
const selectLanguageFn = memo((props = {}) => {
|
|
74
|
-
return Object.fromEntries(selectLanguageSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
75
|
-
})
|
|
76
|
-
|
|
77
|
-
const selectLanguageVariantKeys = [
|
|
78
|
-
"variant"
|
|
79
|
-
]
|
|
80
|
-
const getVariantProps = (variants) => ({ ...selectLanguageDefaultVariants, ...compact(variants) })
|
|
81
|
-
|
|
82
|
-
export const selectLanguage = /* @__PURE__ */ Object.assign(selectLanguageFn, {
|
|
83
|
-
__recipe__: false,
|
|
84
|
-
__name__: 'selectLanguage',
|
|
85
|
-
raw: (props) => props,
|
|
86
|
-
classNameMap: {},
|
|
87
|
-
variantKeys: selectLanguageVariantKeys,
|
|
88
|
-
variantMap: {
|
|
89
|
-
"variant": [
|
|
90
|
-
"default",
|
|
91
|
-
"compact"
|
|
92
|
-
]
|
|
93
|
-
},
|
|
94
|
-
splitVariantProps(props) {
|
|
95
|
-
return splitProps(props, selectLanguageVariantKeys)
|
|
96
|
-
},
|
|
97
|
-
getVariantProps
|
|
98
|
-
})
|
package/recipes/select.mjs
DELETED
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const selectDefaultVariants = {
|
|
5
|
-
"size": "md"
|
|
6
|
-
}
|
|
7
|
-
const selectCompoundVariants = []
|
|
8
|
-
|
|
9
|
-
const selectSlotNames = [
|
|
10
|
-
[
|
|
11
|
-
"label",
|
|
12
|
-
"select__label"
|
|
13
|
-
],
|
|
14
|
-
[
|
|
15
|
-
"positioner",
|
|
16
|
-
"select__positioner"
|
|
17
|
-
],
|
|
18
|
-
[
|
|
19
|
-
"trigger",
|
|
20
|
-
"select__trigger"
|
|
21
|
-
],
|
|
22
|
-
[
|
|
23
|
-
"indicator",
|
|
24
|
-
"select__indicator"
|
|
25
|
-
],
|
|
26
|
-
[
|
|
27
|
-
"clearTrigger",
|
|
28
|
-
"select__clearTrigger"
|
|
29
|
-
],
|
|
30
|
-
[
|
|
31
|
-
"item",
|
|
32
|
-
"select__item"
|
|
33
|
-
],
|
|
34
|
-
[
|
|
35
|
-
"itemText",
|
|
36
|
-
"select__itemText"
|
|
37
|
-
],
|
|
38
|
-
[
|
|
39
|
-
"itemIndicator",
|
|
40
|
-
"select__itemIndicator"
|
|
41
|
-
],
|
|
42
|
-
[
|
|
43
|
-
"itemGroup",
|
|
44
|
-
"select__itemGroup"
|
|
45
|
-
],
|
|
46
|
-
[
|
|
47
|
-
"itemGroupLabel",
|
|
48
|
-
"select__itemGroupLabel"
|
|
49
|
-
],
|
|
50
|
-
[
|
|
51
|
-
"list",
|
|
52
|
-
"select__list"
|
|
53
|
-
],
|
|
54
|
-
[
|
|
55
|
-
"content",
|
|
56
|
-
"select__content"
|
|
57
|
-
],
|
|
58
|
-
[
|
|
59
|
-
"root",
|
|
60
|
-
"select__root"
|
|
61
|
-
],
|
|
62
|
-
[
|
|
63
|
-
"control",
|
|
64
|
-
"select__control"
|
|
65
|
-
],
|
|
66
|
-
[
|
|
67
|
-
"valueText",
|
|
68
|
-
"select__valueText"
|
|
69
|
-
]
|
|
70
|
-
]
|
|
71
|
-
const selectSlotFns = /* @__PURE__ */ selectSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, selectDefaultVariants, getSlotCompoundVariant(selectCompoundVariants, slotName))])
|
|
72
|
-
|
|
73
|
-
const selectFn = memo((props = {}) => {
|
|
74
|
-
return Object.fromEntries(selectSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
75
|
-
})
|
|
76
|
-
|
|
77
|
-
const selectVariantKeys = [
|
|
78
|
-
"hideClearTrigger",
|
|
79
|
-
"size"
|
|
80
|
-
]
|
|
81
|
-
const getVariantProps = (variants) => ({ ...selectDefaultVariants, ...compact(variants) })
|
|
82
|
-
|
|
83
|
-
export const select = /* @__PURE__ */ Object.assign(selectFn, {
|
|
84
|
-
__recipe__: false,
|
|
85
|
-
__name__: 'select',
|
|
86
|
-
raw: (props) => props,
|
|
87
|
-
classNameMap: {},
|
|
88
|
-
variantKeys: selectVariantKeys,
|
|
89
|
-
variantMap: {
|
|
90
|
-
"hideClearTrigger": [
|
|
91
|
-
"true"
|
|
92
|
-
],
|
|
93
|
-
"size": [
|
|
94
|
-
"md"
|
|
95
|
-
]
|
|
96
|
-
},
|
|
97
|
-
splitVariantProps(props) {
|
|
98
|
-
return splitProps(props, selectVariantKeys)
|
|
99
|
-
},
|
|
100
|
-
getVariantProps
|
|
101
|
-
})
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const statusTagSelectDefaultVariants = {
|
|
5
|
-
"size": "md",
|
|
6
|
-
"severity": "neutral"
|
|
7
|
-
}
|
|
8
|
-
const statusTagSelectCompoundVariants = []
|
|
9
|
-
|
|
10
|
-
const statusTagSelectSlotNames = [
|
|
11
|
-
[
|
|
12
|
-
"label",
|
|
13
|
-
"status-tag-select__label"
|
|
14
|
-
],
|
|
15
|
-
[
|
|
16
|
-
"positioner",
|
|
17
|
-
"status-tag-select__positioner"
|
|
18
|
-
],
|
|
19
|
-
[
|
|
20
|
-
"trigger",
|
|
21
|
-
"status-tag-select__trigger"
|
|
22
|
-
],
|
|
23
|
-
[
|
|
24
|
-
"indicator",
|
|
25
|
-
"status-tag-select__indicator"
|
|
26
|
-
],
|
|
27
|
-
[
|
|
28
|
-
"clearTrigger",
|
|
29
|
-
"status-tag-select__clearTrigger"
|
|
30
|
-
],
|
|
31
|
-
[
|
|
32
|
-
"item",
|
|
33
|
-
"status-tag-select__item"
|
|
34
|
-
],
|
|
35
|
-
[
|
|
36
|
-
"itemText",
|
|
37
|
-
"status-tag-select__itemText"
|
|
38
|
-
],
|
|
39
|
-
[
|
|
40
|
-
"itemIndicator",
|
|
41
|
-
"status-tag-select__itemIndicator"
|
|
42
|
-
],
|
|
43
|
-
[
|
|
44
|
-
"itemGroup",
|
|
45
|
-
"status-tag-select__itemGroup"
|
|
46
|
-
],
|
|
47
|
-
[
|
|
48
|
-
"itemGroupLabel",
|
|
49
|
-
"status-tag-select__itemGroupLabel"
|
|
50
|
-
],
|
|
51
|
-
[
|
|
52
|
-
"list",
|
|
53
|
-
"status-tag-select__list"
|
|
54
|
-
],
|
|
55
|
-
[
|
|
56
|
-
"content",
|
|
57
|
-
"status-tag-select__content"
|
|
58
|
-
],
|
|
59
|
-
[
|
|
60
|
-
"root",
|
|
61
|
-
"status-tag-select__root"
|
|
62
|
-
],
|
|
63
|
-
[
|
|
64
|
-
"control",
|
|
65
|
-
"status-tag-select__control"
|
|
66
|
-
],
|
|
67
|
-
[
|
|
68
|
-
"valueText",
|
|
69
|
-
"status-tag-select__valueText"
|
|
70
|
-
]
|
|
71
|
-
]
|
|
72
|
-
const statusTagSelectSlotFns = /* @__PURE__ */ statusTagSelectSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, statusTagSelectDefaultVariants, getSlotCompoundVariant(statusTagSelectCompoundVariants, slotName))])
|
|
73
|
-
|
|
74
|
-
const statusTagSelectFn = memo((props = {}) => {
|
|
75
|
-
return Object.fromEntries(statusTagSelectSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
76
|
-
})
|
|
77
|
-
|
|
78
|
-
const statusTagSelectVariantKeys = [
|
|
79
|
-
"size",
|
|
80
|
-
"severity"
|
|
81
|
-
]
|
|
82
|
-
const getVariantProps = (variants) => ({ ...statusTagSelectDefaultVariants, ...compact(variants) })
|
|
83
|
-
|
|
84
|
-
export const statusTagSelect = /* @__PURE__ */ Object.assign(statusTagSelectFn, {
|
|
85
|
-
__recipe__: false,
|
|
86
|
-
__name__: 'statusTagSelect',
|
|
87
|
-
raw: (props) => props,
|
|
88
|
-
classNameMap: {},
|
|
89
|
-
variantKeys: statusTagSelectVariantKeys,
|
|
90
|
-
variantMap: {
|
|
91
|
-
"size": [
|
|
92
|
-
"lg",
|
|
93
|
-
"md",
|
|
94
|
-
"sm"
|
|
95
|
-
],
|
|
96
|
-
"severity": [
|
|
97
|
-
"success",
|
|
98
|
-
"warning",
|
|
99
|
-
"error",
|
|
100
|
-
"info",
|
|
101
|
-
"neutral"
|
|
102
|
-
]
|
|
103
|
-
},
|
|
104
|
-
splitVariantProps(props) {
|
|
105
|
-
return splitProps(props, statusTagSelectVariantKeys)
|
|
106
|
-
},
|
|
107
|
-
getVariantProps
|
|
108
|
-
})
|
package/recipes/steps.mjs
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const stepsDefaultVariants = {}
|
|
5
|
-
const stepsCompoundVariants = []
|
|
6
|
-
|
|
7
|
-
const stepsSlotNames = [
|
|
8
|
-
[
|
|
9
|
-
"root",
|
|
10
|
-
"steps__root"
|
|
11
|
-
],
|
|
12
|
-
[
|
|
13
|
-
"list",
|
|
14
|
-
"steps__list"
|
|
15
|
-
],
|
|
16
|
-
[
|
|
17
|
-
"item",
|
|
18
|
-
"steps__item"
|
|
19
|
-
],
|
|
20
|
-
[
|
|
21
|
-
"trigger",
|
|
22
|
-
"steps__trigger"
|
|
23
|
-
],
|
|
24
|
-
[
|
|
25
|
-
"indicator",
|
|
26
|
-
"steps__indicator"
|
|
27
|
-
],
|
|
28
|
-
[
|
|
29
|
-
"separator",
|
|
30
|
-
"steps__separator"
|
|
31
|
-
],
|
|
32
|
-
[
|
|
33
|
-
"content",
|
|
34
|
-
"steps__content"
|
|
35
|
-
],
|
|
36
|
-
[
|
|
37
|
-
"nextTrigger",
|
|
38
|
-
"steps__nextTrigger"
|
|
39
|
-
],
|
|
40
|
-
[
|
|
41
|
-
"prevTrigger",
|
|
42
|
-
"steps__prevTrigger"
|
|
43
|
-
],
|
|
44
|
-
[
|
|
45
|
-
"progress",
|
|
46
|
-
"steps__progress"
|
|
47
|
-
]
|
|
48
|
-
]
|
|
49
|
-
const stepsSlotFns = /* @__PURE__ */ stepsSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, stepsDefaultVariants, getSlotCompoundVariant(stepsCompoundVariants, slotName))])
|
|
50
|
-
|
|
51
|
-
const stepsFn = memo((props = {}) => {
|
|
52
|
-
return Object.fromEntries(stepsSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
53
|
-
})
|
|
54
|
-
|
|
55
|
-
const stepsVariantKeys = []
|
|
56
|
-
const getVariantProps = (variants) => ({ ...stepsDefaultVariants, ...compact(variants) })
|
|
57
|
-
|
|
58
|
-
export const steps = /* @__PURE__ */ Object.assign(stepsFn, {
|
|
59
|
-
__recipe__: false,
|
|
60
|
-
__name__: 'steps',
|
|
61
|
-
raw: (props) => props,
|
|
62
|
-
classNameMap: {},
|
|
63
|
-
variantKeys: stepsVariantKeys,
|
|
64
|
-
variantMap: {},
|
|
65
|
-
splitVariantProps(props) {
|
|
66
|
-
return splitProps(props, stepsVariantKeys)
|
|
67
|
-
},
|
|
68
|
-
getVariantProps
|
|
69
|
-
})
|
package/recipes/switch-card.mjs
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const switchCardDefaultVariants = {
|
|
5
|
-
"size": "md"
|
|
6
|
-
}
|
|
7
|
-
const switchCardCompoundVariants = []
|
|
8
|
-
|
|
9
|
-
const switchCardSlotNames = [
|
|
10
|
-
[
|
|
11
|
-
"root",
|
|
12
|
-
"switch-card__root"
|
|
13
|
-
],
|
|
14
|
-
[
|
|
15
|
-
"label",
|
|
16
|
-
"switch-card__label"
|
|
17
|
-
],
|
|
18
|
-
[
|
|
19
|
-
"control",
|
|
20
|
-
"switch-card__control"
|
|
21
|
-
],
|
|
22
|
-
[
|
|
23
|
-
"thumb",
|
|
24
|
-
"switch-card__thumb"
|
|
25
|
-
],
|
|
26
|
-
[
|
|
27
|
-
"image",
|
|
28
|
-
"switch-card__image"
|
|
29
|
-
],
|
|
30
|
-
[
|
|
31
|
-
"content",
|
|
32
|
-
"switch-card__content"
|
|
33
|
-
],
|
|
34
|
-
[
|
|
35
|
-
"title",
|
|
36
|
-
"switch-card__title"
|
|
37
|
-
],
|
|
38
|
-
[
|
|
39
|
-
"description",
|
|
40
|
-
"switch-card__description"
|
|
41
|
-
]
|
|
42
|
-
]
|
|
43
|
-
const switchCardSlotFns = /* @__PURE__ */ switchCardSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, switchCardDefaultVariants, getSlotCompoundVariant(switchCardCompoundVariants, slotName))])
|
|
44
|
-
|
|
45
|
-
const switchCardFn = memo((props = {}) => {
|
|
46
|
-
return Object.fromEntries(switchCardSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
47
|
-
})
|
|
48
|
-
|
|
49
|
-
const switchCardVariantKeys = [
|
|
50
|
-
"size"
|
|
51
|
-
]
|
|
52
|
-
const getVariantProps = (variants) => ({ ...switchCardDefaultVariants, ...compact(variants) })
|
|
53
|
-
|
|
54
|
-
export const switchCard = /* @__PURE__ */ Object.assign(switchCardFn, {
|
|
55
|
-
__recipe__: false,
|
|
56
|
-
__name__: 'switchCard',
|
|
57
|
-
raw: (props) => props,
|
|
58
|
-
classNameMap: {},
|
|
59
|
-
variantKeys: switchCardVariantKeys,
|
|
60
|
-
variantMap: {
|
|
61
|
-
"size": [
|
|
62
|
-
"md"
|
|
63
|
-
]
|
|
64
|
-
},
|
|
65
|
-
splitVariantProps(props) {
|
|
66
|
-
return splitProps(props, switchCardVariantKeys)
|
|
67
|
-
},
|
|
68
|
-
getVariantProps
|
|
69
|
-
})
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const switchRecipeDefaultVariants = {
|
|
5
|
-
"size": "md"
|
|
6
|
-
}
|
|
7
|
-
const switchRecipeCompoundVariants = []
|
|
8
|
-
|
|
9
|
-
const switchRecipeSlotNames = [
|
|
10
|
-
[
|
|
11
|
-
"root",
|
|
12
|
-
"switch__root"
|
|
13
|
-
],
|
|
14
|
-
[
|
|
15
|
-
"label",
|
|
16
|
-
"switch__label"
|
|
17
|
-
],
|
|
18
|
-
[
|
|
19
|
-
"control",
|
|
20
|
-
"switch__control"
|
|
21
|
-
],
|
|
22
|
-
[
|
|
23
|
-
"thumb",
|
|
24
|
-
"switch__thumb"
|
|
25
|
-
]
|
|
26
|
-
]
|
|
27
|
-
const switchRecipeSlotFns = /* @__PURE__ */ switchRecipeSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, switchRecipeDefaultVariants, getSlotCompoundVariant(switchRecipeCompoundVariants, slotName))])
|
|
28
|
-
|
|
29
|
-
const switchRecipeFn = memo((props = {}) => {
|
|
30
|
-
return Object.fromEntries(switchRecipeSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
31
|
-
})
|
|
32
|
-
|
|
33
|
-
const switchRecipeVariantKeys = [
|
|
34
|
-
"size"
|
|
35
|
-
]
|
|
36
|
-
const getVariantProps = (variants) => ({ ...switchRecipeDefaultVariants, ...compact(variants) })
|
|
37
|
-
|
|
38
|
-
export const switchRecipe = /* @__PURE__ */ Object.assign(switchRecipeFn, {
|
|
39
|
-
__recipe__: false,
|
|
40
|
-
__name__: 'switchRecipe',
|
|
41
|
-
raw: (props) => props,
|
|
42
|
-
classNameMap: {},
|
|
43
|
-
variantKeys: switchRecipeVariantKeys,
|
|
44
|
-
variantMap: {
|
|
45
|
-
"size": [
|
|
46
|
-
"md"
|
|
47
|
-
]
|
|
48
|
-
},
|
|
49
|
-
splitVariantProps(props) {
|
|
50
|
-
return splitProps(props, switchRecipeVariantKeys)
|
|
51
|
-
},
|
|
52
|
-
getVariantProps
|
|
53
|
-
})
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const tableContainerFn = /* @__PURE__ */ createRecipe('table-container', {}, [])
|
|
5
|
-
|
|
6
|
-
const tableContainerVariantMap = {}
|
|
7
|
-
|
|
8
|
-
const tableContainerVariantKeys = Object.keys(tableContainerVariantMap)
|
|
9
|
-
|
|
10
|
-
export const tableContainer = /* @__PURE__ */ Object.assign(memo(tableContainerFn.recipeFn), {
|
|
11
|
-
__recipe__: true,
|
|
12
|
-
__name__: 'tableContainer',
|
|
13
|
-
__getCompoundVariantCss__: tableContainerFn.__getCompoundVariantCss__,
|
|
14
|
-
raw: (props) => props,
|
|
15
|
-
variantKeys: tableContainerVariantKeys,
|
|
16
|
-
variantMap: tableContainerVariantMap,
|
|
17
|
-
merge(recipe) {
|
|
18
|
-
return mergeRecipes(this, recipe)
|
|
19
|
-
},
|
|
20
|
-
splitVariantProps(props) {
|
|
21
|
-
return splitProps(props, tableContainerVariantKeys)
|
|
22
|
-
},
|
|
23
|
-
getVariantProps: tableContainerFn.getVariantProps,
|
|
24
|
-
})
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const tableEmptyRowFn = /* @__PURE__ */ createRecipe('table-empty-row', {}, [])
|
|
5
|
-
|
|
6
|
-
const tableEmptyRowVariantMap = {}
|
|
7
|
-
|
|
8
|
-
const tableEmptyRowVariantKeys = Object.keys(tableEmptyRowVariantMap)
|
|
9
|
-
|
|
10
|
-
export const tableEmptyRow = /* @__PURE__ */ Object.assign(memo(tableEmptyRowFn.recipeFn), {
|
|
11
|
-
__recipe__: true,
|
|
12
|
-
__name__: 'tableEmptyRow',
|
|
13
|
-
__getCompoundVariantCss__: tableEmptyRowFn.__getCompoundVariantCss__,
|
|
14
|
-
raw: (props) => props,
|
|
15
|
-
variantKeys: tableEmptyRowVariantKeys,
|
|
16
|
-
variantMap: tableEmptyRowVariantMap,
|
|
17
|
-
merge(recipe) {
|
|
18
|
-
return mergeRecipes(this, recipe)
|
|
19
|
-
},
|
|
20
|
-
splitVariantProps(props) {
|
|
21
|
-
return splitProps(props, tableEmptyRowVariantKeys)
|
|
22
|
-
},
|
|
23
|
-
getVariantProps: tableEmptyRowFn.getVariantProps,
|
|
24
|
-
})
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const tableGroupTitleFn = /* @__PURE__ */ createRecipe('table-group-title', {
|
|
5
|
-
"variant": "primary"
|
|
6
|
-
}, [])
|
|
7
|
-
|
|
8
|
-
const tableGroupTitleVariantMap = {
|
|
9
|
-
"variant": [
|
|
10
|
-
"primary",
|
|
11
|
-
"secondary",
|
|
12
|
-
"success"
|
|
13
|
-
]
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
const tableGroupTitleVariantKeys = Object.keys(tableGroupTitleVariantMap)
|
|
17
|
-
|
|
18
|
-
export const tableGroupTitle = /* @__PURE__ */ Object.assign(memo(tableGroupTitleFn.recipeFn), {
|
|
19
|
-
__recipe__: true,
|
|
20
|
-
__name__: 'tableGroupTitle',
|
|
21
|
-
__getCompoundVariantCss__: tableGroupTitleFn.__getCompoundVariantCss__,
|
|
22
|
-
raw: (props) => props,
|
|
23
|
-
variantKeys: tableGroupTitleVariantKeys,
|
|
24
|
-
variantMap: tableGroupTitleVariantMap,
|
|
25
|
-
merge(recipe) {
|
|
26
|
-
return mergeRecipes(this, recipe)
|
|
27
|
-
},
|
|
28
|
-
splitVariantProps(props) {
|
|
29
|
-
return splitProps(props, tableGroupTitleVariantKeys)
|
|
30
|
-
},
|
|
31
|
-
getVariantProps: tableGroupTitleFn.getVariantProps,
|
|
32
|
-
})
|
package/recipes/table.mjs
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const tableDefaultVariants = {}
|
|
5
|
-
const tableCompoundVariants = []
|
|
6
|
-
|
|
7
|
-
const tableSlotNames = [
|
|
8
|
-
[
|
|
9
|
-
"root",
|
|
10
|
-
"table__root"
|
|
11
|
-
],
|
|
12
|
-
[
|
|
13
|
-
"thead",
|
|
14
|
-
"table__thead"
|
|
15
|
-
],
|
|
16
|
-
[
|
|
17
|
-
"tbody",
|
|
18
|
-
"table__tbody"
|
|
19
|
-
],
|
|
20
|
-
[
|
|
21
|
-
"tr",
|
|
22
|
-
"table__tr"
|
|
23
|
-
],
|
|
24
|
-
[
|
|
25
|
-
"th",
|
|
26
|
-
"table__th"
|
|
27
|
-
],
|
|
28
|
-
[
|
|
29
|
-
"td",
|
|
30
|
-
"table__td"
|
|
31
|
-
],
|
|
32
|
-
[
|
|
33
|
-
"sortIndicatorRoot",
|
|
34
|
-
"table__sortIndicatorRoot"
|
|
35
|
-
],
|
|
36
|
-
[
|
|
37
|
-
"sortIndicator",
|
|
38
|
-
"table__sortIndicator"
|
|
39
|
-
]
|
|
40
|
-
]
|
|
41
|
-
const tableSlotFns = /* @__PURE__ */ tableSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, tableDefaultVariants, getSlotCompoundVariant(tableCompoundVariants, slotName))])
|
|
42
|
-
|
|
43
|
-
const tableFn = memo((props = {}) => {
|
|
44
|
-
return Object.fromEntries(tableSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
45
|
-
})
|
|
46
|
-
|
|
47
|
-
const tableVariantKeys = []
|
|
48
|
-
const getVariantProps = (variants) => ({ ...tableDefaultVariants, ...compact(variants) })
|
|
49
|
-
|
|
50
|
-
export const table = /* @__PURE__ */ Object.assign(tableFn, {
|
|
51
|
-
__recipe__: false,
|
|
52
|
-
__name__: 'table',
|
|
53
|
-
raw: (props) => props,
|
|
54
|
-
classNameMap: {},
|
|
55
|
-
variantKeys: tableVariantKeys,
|
|
56
|
-
variantMap: {},
|
|
57
|
-
splitVariantProps(props) {
|
|
58
|
-
return splitProps(props, tableVariantKeys)
|
|
59
|
-
},
|
|
60
|
-
getVariantProps
|
|
61
|
-
})
|
package/recipes/tabs-chip.mjs
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const tabsChipFn = /* @__PURE__ */ createRecipe('tabs-chip', {
|
|
5
|
-
"colorScheme": "neutral"
|
|
6
|
-
}, [])
|
|
7
|
-
|
|
8
|
-
const tabsChipVariantMap = {
|
|
9
|
-
"colorScheme": [
|
|
10
|
-
"neutral",
|
|
11
|
-
"info",
|
|
12
|
-
"success",
|
|
13
|
-
"warning",
|
|
14
|
-
"error",
|
|
15
|
-
"grey"
|
|
16
|
-
]
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
const tabsChipVariantKeys = Object.keys(tabsChipVariantMap)
|
|
20
|
-
|
|
21
|
-
export const tabsChip = /* @__PURE__ */ Object.assign(memo(tabsChipFn.recipeFn), {
|
|
22
|
-
__recipe__: true,
|
|
23
|
-
__name__: 'tabsChip',
|
|
24
|
-
__getCompoundVariantCss__: tabsChipFn.__getCompoundVariantCss__,
|
|
25
|
-
raw: (props) => props,
|
|
26
|
-
variantKeys: tabsChipVariantKeys,
|
|
27
|
-
variantMap: tabsChipVariantMap,
|
|
28
|
-
merge(recipe) {
|
|
29
|
-
return mergeRecipes(this, recipe)
|
|
30
|
-
},
|
|
31
|
-
splitVariantProps(props) {
|
|
32
|
-
return splitProps(props, tabsChipVariantKeys)
|
|
33
|
-
},
|
|
34
|
-
getVariantProps: tabsChipFn.getVariantProps,
|
|
35
|
-
})
|