@mekari/pixel3-styled-system 0.0.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/.turbo/turbo-build.log +16 -0
- package/chunks/packages__accordion__src__accordion.css +10 -0
- package/chunks/packages__avatar2__src__modules__avatar.recipes.css +166 -0
- package/chunks/packages__avatar__src__avatar.style.css +150 -0
- package/chunks/packages__avatar__src__avatar.styles.css +171 -0
- package/chunks/packages__avatar__src__modules__avatar.recipes.css +191 -0
- package/chunks/packages__core__node_modules__@mekari__pixel3-accordion__src__accordion.css +10 -0
- package/chunks/packages__core__node_modules__@mekari__pixel3-avatar2__src__modules__avatar.recipes.css +166 -0
- package/chunks/packages__core__node_modules__@mekari__pixel3-avatar__src__avatar.css +16 -0
- package/chunks/packages__core__node_modules__@mekari__pixel3-avatar__src__avatar.style.css +150 -0
- package/chunks/packages__core__node_modules__@mekari__pixel3-avatar__src__avatar.styles.css +171 -0
- package/chunks/packages__core__node_modules__@mekari__pixel3-avatar__src__modules__avatar.recipes.css +191 -0
- package/css/conditions.mjs +34 -0
- package/css/css.d.ts +9 -0
- package/css/css.mjs +44 -0
- package/css/cva.d.ts +6 -0
- package/css/cva.mjs +85 -0
- package/css/cx.d.ts +5 -0
- package/css/cx.mjs +15 -0
- package/css/index.d.ts +5 -0
- package/css/index.mjs +4 -0
- package/css/sva.d.ts +4 -0
- package/css/sva.mjs +35 -0
- package/global.css +59 -0
- package/helpers.mjs +300 -0
- package/jsx/aspect-ratio.d.ts +10 -0
- package/jsx/aspect-ratio.mjs +16 -0
- package/jsx/bleed.d.ts +10 -0
- package/jsx/bleed.mjs +16 -0
- package/jsx/box.d.ts +10 -0
- package/jsx/box.mjs +16 -0
- package/jsx/center.d.ts +10 -0
- package/jsx/center.mjs +16 -0
- package/jsx/circle.d.ts +10 -0
- package/jsx/circle.mjs +16 -0
- package/jsx/container.d.ts +10 -0
- package/jsx/container.mjs +16 -0
- package/jsx/divider.d.ts +10 -0
- package/jsx/divider.mjs +16 -0
- package/jsx/factory-helper.mjs +22 -0
- package/jsx/factory.d.ts +4 -0
- package/jsx/factory.mjs +85 -0
- package/jsx/flex.d.ts +10 -0
- package/jsx/flex.mjs +16 -0
- package/jsx/float.d.ts +10 -0
- package/jsx/float.mjs +16 -0
- package/jsx/grid-item.d.ts +10 -0
- package/jsx/grid-item.mjs +16 -0
- package/jsx/grid.d.ts +10 -0
- package/jsx/grid.mjs +16 -0
- package/jsx/hstack.d.ts +10 -0
- package/jsx/hstack.mjs +16 -0
- package/jsx/index.d.ts +27 -0
- package/jsx/index.mjs +22 -0
- package/jsx/is-valid-prop.d.ts +5 -0
- package/jsx/is-valid-prop.mjs +17 -0
- package/jsx/link-box.d.ts +10 -0
- package/jsx/link-box.mjs +16 -0
- package/jsx/link-overlay.d.ts +10 -0
- package/jsx/link-overlay.mjs +16 -0
- package/jsx/spacer.d.ts +10 -0
- package/jsx/spacer.mjs +16 -0
- package/jsx/square.d.ts +10 -0
- package/jsx/square.mjs +16 -0
- package/jsx/stack.d.ts +10 -0
- package/jsx/stack.mjs +16 -0
- package/jsx/visually-hidden.d.ts +10 -0
- package/jsx/visually-hidden.mjs +16 -0
- package/jsx/vstack.d.ts +10 -0
- package/jsx/vstack.mjs +16 -0
- package/jsx/wrap.d.ts +10 -0
- package/jsx/wrap.mjs +16 -0
- package/package.json +40 -0
- package/patterns/aspect-ratio.d.ts +21 -0
- package/patterns/aspect-ratio.mjs +35 -0
- package/patterns/bleed.d.ts +22 -0
- package/patterns/bleed.mjs +19 -0
- package/patterns/box.d.ts +21 -0
- package/patterns/box.mjs +12 -0
- package/patterns/center.d.ts +21 -0
- package/patterns/center.mjs +18 -0
- package/patterns/circle.d.ts +21 -0
- package/patterns/circle.mjs +22 -0
- package/patterns/container.d.ts +21 -0
- package/patterns/container.mjs +18 -0
- package/patterns/divider.d.ts +23 -0
- package/patterns/divider.mjs +21 -0
- package/patterns/flex.d.ts +27 -0
- package/patterns/flex.mjs +23 -0
- package/patterns/float.d.ts +24 -0
- package/patterns/float.mjs +45 -0
- package/patterns/grid-item.d.ts +26 -0
- package/patterns/grid-item.mjs +22 -0
- package/patterns/grid.d.ts +25 -0
- package/patterns/grid.mjs +22 -0
- package/patterns/hstack.d.ts +22 -0
- package/patterns/hstack.mjs +20 -0
- package/patterns/index.d.ts +21 -0
- package/patterns/index.mjs +20 -0
- package/patterns/link-box.d.ts +21 -0
- package/patterns/link-box.mjs +19 -0
- package/patterns/link-overlay.d.ts +21 -0
- package/patterns/link-overlay.mjs +24 -0
- package/patterns/spacer.d.ts +21 -0
- package/patterns/spacer.mjs +18 -0
- package/patterns/square.d.ts +21 -0
- package/patterns/square.mjs +21 -0
- package/patterns/stack.d.ts +24 -0
- package/patterns/stack.mjs +20 -0
- package/patterns/visually-hidden.d.ts +21 -0
- package/patterns/visually-hidden.mjs +15 -0
- package/patterns/vstack.d.ts +22 -0
- package/patterns/vstack.mjs +20 -0
- package/patterns/wrap.d.ts +25 -0
- package/patterns/wrap.mjs +22 -0
- package/recipes/accordion.d.ts +27 -0
- package/recipes/accordion.mjs +50 -0
- package/recipes/avatar-group-recipe.d.ts +27 -0
- package/recipes/avatar-group-recipe.mjs +43 -0
- package/recipes/avatar-group-slot-recipe.d.ts +27 -0
- package/recipes/avatar-group-slot-recipe.mjs +43 -0
- package/recipes/avatar-recipe.d.ts +30 -0
- package/recipes/avatar-recipe.mjs +122 -0
- package/recipes/avatar-slot-recipe.d.ts +29 -0
- package/recipes/avatar-slot-recipe.mjs +116 -0
- package/recipes/badge-recipe.d.ts +29 -0
- package/recipes/badge-recipe.mjs +160 -0
- package/recipes/button-group-recipe.d.ts +27 -0
- package/recipes/button-group-recipe.mjs +22 -0
- package/recipes/button-recipe.d.ts +28 -0
- package/recipes/button-recipe.mjs +94 -0
- package/recipes/checkbox-slot-recipe.d.ts +27 -0
- package/recipes/checkbox-slot-recipe.mjs +38 -0
- package/recipes/create-recipe.d.ts +1 -0
- package/recipes/create-recipe.mjs +79 -0
- package/recipes/icon-recipe.d.ts +27 -0
- package/recipes/icon-recipe.mjs +29 -0
- package/recipes/index.d.ts +30 -0
- package/recipes/index.mjs +29 -0
- package/recipes/input-addon-recipe.d.ts +29 -0
- package/recipes/input-addon-recipe.mjs +107 -0
- package/recipes/input-addon-slot-recipe.d.ts +28 -0
- package/recipes/input-addon-slot-recipe.mjs +45 -0
- package/recipes/input-group-recipe.d.ts +27 -0
- package/recipes/input-group-recipe.mjs +30 -0
- package/recipes/input-group-slot-recipe.d.ts +27 -0
- package/recipes/input-group-slot-recipe.mjs +30 -0
- package/recipes/input-recipe.d.ts +30 -0
- package/recipes/input-recipe.mjs +63 -0
- package/recipes/input-slot-recipe.d.ts +28 -0
- package/recipes/input-slot-recipe.mjs +53 -0
- package/recipes/popover-content-recipe.d.ts +28 -0
- package/recipes/popover-content-recipe.mjs +34 -0
- package/recipes/popover-list-item-recipe.d.ts +27 -0
- package/recipes/popover-list-item-recipe.mjs +22 -0
- package/recipes/popover-list-recipe.d.ts +27 -0
- package/recipes/popover-list-recipe.mjs +22 -0
- package/recipes/progress-slot-recipe.d.ts +28 -0
- package/recipes/progress-slot-recipe.mjs +57 -0
- package/recipes/radio-slot-recipe.d.ts +27 -0
- package/recipes/radio-slot-recipe.mjs +38 -0
- package/recipes/select-slot-recipe.d.ts +27 -0
- package/recipes/select-slot-recipe.mjs +51 -0
- package/recipes/selected-border-recipe.d.ts +28 -0
- package/recipes/selected-border-recipe.mjs +88 -0
- package/recipes/shared-slot-recipe.d.ts +27 -0
- package/recipes/shared-slot-recipe.mjs +30 -0
- package/recipes/spinner-recipe.d.ts +27 -0
- package/recipes/spinner-recipe.mjs +29 -0
- package/recipes/tab-list-recipe.d.ts +27 -0
- package/recipes/tab-list-recipe.mjs +22 -0
- package/recipes/tab-recipe.d.ts +28 -0
- package/recipes/tab-recipe.mjs +87 -0
- package/recipes/table-container-recipe.d.ts +27 -0
- package/recipes/table-container-recipe.mjs +22 -0
- package/recipes/table-head-recipe.d.ts +27 -0
- package/recipes/table-head-recipe.mjs +22 -0
- package/recipes/table-recipe.d.ts +27 -0
- package/recipes/table-recipe.mjs +22 -0
- package/recipes/tag-recipe.d.ts +28 -0
- package/recipes/tag-recipe.mjs +66 -0
- package/recipes/tag-slot-recipe.d.ts +28 -0
- package/recipes/tag-slot-recipe.mjs +66 -0
- package/recipes/text-recipe.d.ts +28 -0
- package/recipes/text-recipe.mjs +40 -0
- package/recipes/textarea-recipe.d.ts +27 -0
- package/recipes/textarea-recipe.mjs +26 -0
- package/recipes/toggle-slot-recipe.d.ts +27 -0
- package/recipes/toggle-slot-recipe.mjs +38 -0
- package/recipes/tooltip-recipe.d.ts +27 -0
- package/recipes/tooltip-recipe.mjs +22 -0
- package/reset.css +214 -0
- package/styles.css +246 -0
- package/tokens/index.css +179 -0
- package/tokens/index.d.ts +9 -0
- package/tokens/index.mjs +848 -0
- package/tokens/keyframes.css +23 -0
- package/tokens/tokens.d.ts +57 -0
- package/types/composition.d.ts +111 -0
- package/types/conditions.d.ts +256 -0
- package/types/csstype.d.ts +20749 -0
- package/types/global.d.ts +19 -0
- package/types/index.d.ts +8 -0
- package/types/jsx.d.ts +54 -0
- package/types/parts.d.ts +8 -0
- package/types/pattern.d.ts +63 -0
- package/types/prop-type.d.ts +317 -0
- package/types/recipe.d.ts +146 -0
- package/types/selectors.d.ts +59 -0
- package/types/style-props.d.ts +653 -0
- package/types/system-types.d.ts +93 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { ConditionalValue } from '../types/index';
|
|
3
|
+
import type { DistributiveOmit, Pretty } from '../types/system-types';
|
|
4
|
+
|
|
5
|
+
interface InputSlotRecipeVariant {
|
|
6
|
+
variant: "unstyled" | "outline"
|
|
7
|
+
size: "sm" | "md"
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
type InputSlotRecipeVariantMap = {
|
|
11
|
+
[key in keyof InputSlotRecipeVariant]: Array<InputSlotRecipeVariant[key]>
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export type InputSlotRecipeVariantProps = {
|
|
15
|
+
[key in keyof InputSlotRecipeVariant]?: ConditionalValue<InputSlotRecipeVariant[key]> | undefined
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface InputSlotRecipeRecipe {
|
|
19
|
+
__type: InputSlotRecipeVariantProps
|
|
20
|
+
(props?: InputSlotRecipeVariantProps): Pretty<Record<"root" | "control" | "clear", string>>
|
|
21
|
+
raw: (props?: InputSlotRecipeVariantProps) => InputSlotRecipeVariantProps
|
|
22
|
+
variantMap: InputSlotRecipeVariantMap
|
|
23
|
+
variantKeys: Array<keyof InputSlotRecipeVariant>
|
|
24
|
+
splitVariantProps<Props extends InputSlotRecipeVariantProps>(props: Props): [InputSlotRecipeVariantProps, Pretty<DistributiveOmit<Props, keyof InputSlotRecipeVariantProps>>]
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
export declare const inputSlotRecipe: InputSlotRecipeRecipe
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { splitProps, getSlotCompoundVariant } from '../helpers.mjs';
|
|
2
|
+
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
+
|
|
4
|
+
const inputSlotRecipeDefaultVariants = {
|
|
5
|
+
"size": "md",
|
|
6
|
+
"variant": "outline"
|
|
7
|
+
}
|
|
8
|
+
const inputSlotRecipeCompoundVariants = []
|
|
9
|
+
|
|
10
|
+
const inputSlotRecipeSlotNames = [
|
|
11
|
+
[
|
|
12
|
+
"root",
|
|
13
|
+
"input__root"
|
|
14
|
+
],
|
|
15
|
+
[
|
|
16
|
+
"control",
|
|
17
|
+
"input__control"
|
|
18
|
+
],
|
|
19
|
+
[
|
|
20
|
+
"clear",
|
|
21
|
+
"input__clear"
|
|
22
|
+
]
|
|
23
|
+
]
|
|
24
|
+
const inputSlotRecipeSlotFns = /* @__PURE__ */ inputSlotRecipeSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, inputSlotRecipeDefaultVariants, getSlotCompoundVariant(inputSlotRecipeCompoundVariants, slotName))])
|
|
25
|
+
|
|
26
|
+
const inputSlotRecipeFn = (props = {}) => {
|
|
27
|
+
return Object.fromEntries(inputSlotRecipeSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
const inputSlotRecipeVariantKeys = [
|
|
31
|
+
"variant",
|
|
32
|
+
"size"
|
|
33
|
+
]
|
|
34
|
+
|
|
35
|
+
export const inputSlotRecipe = /* @__PURE__ */ Object.assign(inputSlotRecipeFn, {
|
|
36
|
+
__recipe__: false,
|
|
37
|
+
__name__: 'inputSlotRecipe',
|
|
38
|
+
raw: (props) => props,
|
|
39
|
+
variantKeys: inputSlotRecipeVariantKeys,
|
|
40
|
+
variantMap: {
|
|
41
|
+
"variant": [
|
|
42
|
+
"unstyled",
|
|
43
|
+
"outline"
|
|
44
|
+
],
|
|
45
|
+
"size": [
|
|
46
|
+
"sm",
|
|
47
|
+
"md"
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
splitVariantProps(props) {
|
|
51
|
+
return splitProps(props, inputSlotRecipeVariantKeys)
|
|
52
|
+
},
|
|
53
|
+
})
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { ConditionalValue } from '../types/index';
|
|
3
|
+
import type { DistributiveOmit, Pretty } from '../types/system-types';
|
|
4
|
+
|
|
5
|
+
interface PopoverContentRecipeVariant {
|
|
6
|
+
isUnstyled: boolean
|
|
7
|
+
isDark: boolean
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
type PopoverContentRecipeVariantMap = {
|
|
11
|
+
[key in keyof PopoverContentRecipeVariant]: Array<PopoverContentRecipeVariant[key]>
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export type PopoverContentRecipeVariantProps = {
|
|
15
|
+
[key in keyof PopoverContentRecipeVariant]?: ConditionalValue<PopoverContentRecipeVariant[key]> | undefined
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface PopoverContentRecipeRecipe {
|
|
19
|
+
__type: PopoverContentRecipeVariantProps
|
|
20
|
+
(props?: PopoverContentRecipeVariantProps): string
|
|
21
|
+
raw: (props?: PopoverContentRecipeVariantProps) => PopoverContentRecipeVariantProps
|
|
22
|
+
variantMap: PopoverContentRecipeVariantMap
|
|
23
|
+
variantKeys: Array<keyof PopoverContentRecipeVariant>
|
|
24
|
+
splitVariantProps<Props extends PopoverContentRecipeVariantProps>(props: Props): [PopoverContentRecipeVariantProps, Pretty<DistributiveOmit<Props, keyof PopoverContentRecipeVariantProps>>]
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
export declare const popoverContentRecipe: PopoverContentRecipeRecipe
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { splitProps } from '../helpers.mjs';
|
|
2
|
+
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
+
|
|
4
|
+
const popoverContentRecipeFn = /* @__PURE__ */ createRecipe('popover', {
|
|
5
|
+
"isDark": false,
|
|
6
|
+
"isUnstyled": false
|
|
7
|
+
}, [])
|
|
8
|
+
|
|
9
|
+
const popoverContentRecipeVariantMap = {
|
|
10
|
+
"isUnstyled": [
|
|
11
|
+
"true",
|
|
12
|
+
"false"
|
|
13
|
+
],
|
|
14
|
+
"isDark": [
|
|
15
|
+
"true",
|
|
16
|
+
"false"
|
|
17
|
+
]
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
const popoverContentRecipeVariantKeys = Object.keys(popoverContentRecipeVariantMap)
|
|
21
|
+
|
|
22
|
+
export const popoverContentRecipe = /* @__PURE__ */ Object.assign(popoverContentRecipeFn, {
|
|
23
|
+
__recipe__: true,
|
|
24
|
+
__name__: 'popoverContentRecipe',
|
|
25
|
+
raw: (props) => props,
|
|
26
|
+
variantKeys: popoverContentRecipeVariantKeys,
|
|
27
|
+
variantMap: popoverContentRecipeVariantMap,
|
|
28
|
+
merge(recipe) {
|
|
29
|
+
return mergeRecipes(this, recipe)
|
|
30
|
+
},
|
|
31
|
+
splitVariantProps(props) {
|
|
32
|
+
return splitProps(props, popoverContentRecipeVariantKeys)
|
|
33
|
+
},
|
|
34
|
+
})
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { ConditionalValue } from '../types/index';
|
|
3
|
+
import type { DistributiveOmit, Pretty } from '../types/system-types';
|
|
4
|
+
|
|
5
|
+
interface PopoverListItemRecipeVariant {
|
|
6
|
+
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
type PopoverListItemRecipeVariantMap = {
|
|
10
|
+
[key in keyof PopoverListItemRecipeVariant]: Array<PopoverListItemRecipeVariant[key]>
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type PopoverListItemRecipeVariantProps = {
|
|
14
|
+
[key in keyof PopoverListItemRecipeVariant]?: ConditionalValue<PopoverListItemRecipeVariant[key]> | undefined
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface PopoverListItemRecipeRecipe {
|
|
18
|
+
__type: PopoverListItemRecipeVariantProps
|
|
19
|
+
(props?: PopoverListItemRecipeVariantProps): string
|
|
20
|
+
raw: (props?: PopoverListItemRecipeVariantProps) => PopoverListItemRecipeVariantProps
|
|
21
|
+
variantMap: PopoverListItemRecipeVariantMap
|
|
22
|
+
variantKeys: Array<keyof PopoverListItemRecipeVariant>
|
|
23
|
+
splitVariantProps<Props extends PopoverListItemRecipeVariantProps>(props: Props): [PopoverListItemRecipeVariantProps, Pretty<DistributiveOmit<Props, keyof PopoverListItemRecipeVariantProps>>]
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
export declare const popoverListItemRecipe: PopoverListItemRecipeRecipe
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { splitProps } from '../helpers.mjs';
|
|
2
|
+
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
+
|
|
4
|
+
const popoverListItemRecipeFn = /* @__PURE__ */ createRecipe('popover-list-item', {}, [])
|
|
5
|
+
|
|
6
|
+
const popoverListItemRecipeVariantMap = {}
|
|
7
|
+
|
|
8
|
+
const popoverListItemRecipeVariantKeys = Object.keys(popoverListItemRecipeVariantMap)
|
|
9
|
+
|
|
10
|
+
export const popoverListItemRecipe = /* @__PURE__ */ Object.assign(popoverListItemRecipeFn, {
|
|
11
|
+
__recipe__: true,
|
|
12
|
+
__name__: 'popoverListItemRecipe',
|
|
13
|
+
raw: (props) => props,
|
|
14
|
+
variantKeys: popoverListItemRecipeVariantKeys,
|
|
15
|
+
variantMap: popoverListItemRecipeVariantMap,
|
|
16
|
+
merge(recipe) {
|
|
17
|
+
return mergeRecipes(this, recipe)
|
|
18
|
+
},
|
|
19
|
+
splitVariantProps(props) {
|
|
20
|
+
return splitProps(props, popoverListItemRecipeVariantKeys)
|
|
21
|
+
},
|
|
22
|
+
})
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { ConditionalValue } from '../types/index';
|
|
3
|
+
import type { DistributiveOmit, Pretty } from '../types/system-types';
|
|
4
|
+
|
|
5
|
+
interface PopoverListRecipeVariant {
|
|
6
|
+
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
type PopoverListRecipeVariantMap = {
|
|
10
|
+
[key in keyof PopoverListRecipeVariant]: Array<PopoverListRecipeVariant[key]>
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type PopoverListRecipeVariantProps = {
|
|
14
|
+
[key in keyof PopoverListRecipeVariant]?: ConditionalValue<PopoverListRecipeVariant[key]> | undefined
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface PopoverListRecipeRecipe {
|
|
18
|
+
__type: PopoverListRecipeVariantProps
|
|
19
|
+
(props?: PopoverListRecipeVariantProps): string
|
|
20
|
+
raw: (props?: PopoverListRecipeVariantProps) => PopoverListRecipeVariantProps
|
|
21
|
+
variantMap: PopoverListRecipeVariantMap
|
|
22
|
+
variantKeys: Array<keyof PopoverListRecipeVariant>
|
|
23
|
+
splitVariantProps<Props extends PopoverListRecipeVariantProps>(props: Props): [PopoverListRecipeVariantProps, Pretty<DistributiveOmit<Props, keyof PopoverListRecipeVariantProps>>]
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
export declare const popoverListRecipe: PopoverListRecipeRecipe
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { splitProps } from '../helpers.mjs';
|
|
2
|
+
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
+
|
|
4
|
+
const popoverListRecipeFn = /* @__PURE__ */ createRecipe('popover-list', {}, [])
|
|
5
|
+
|
|
6
|
+
const popoverListRecipeVariantMap = {}
|
|
7
|
+
|
|
8
|
+
const popoverListRecipeVariantKeys = Object.keys(popoverListRecipeVariantMap)
|
|
9
|
+
|
|
10
|
+
export const popoverListRecipe = /* @__PURE__ */ Object.assign(popoverListRecipeFn, {
|
|
11
|
+
__recipe__: true,
|
|
12
|
+
__name__: 'popoverListRecipe',
|
|
13
|
+
raw: (props) => props,
|
|
14
|
+
variantKeys: popoverListRecipeVariantKeys,
|
|
15
|
+
variantMap: popoverListRecipeVariantMap,
|
|
16
|
+
merge(recipe) {
|
|
17
|
+
return mergeRecipes(this, recipe)
|
|
18
|
+
},
|
|
19
|
+
splitVariantProps(props) {
|
|
20
|
+
return splitProps(props, popoverListRecipeVariantKeys)
|
|
21
|
+
},
|
|
22
|
+
})
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { ConditionalValue } from '../types/index';
|
|
3
|
+
import type { DistributiveOmit, Pretty } from '../types/system-types';
|
|
4
|
+
|
|
5
|
+
interface ProgressSlotRecipeVariant {
|
|
6
|
+
size: "md" | "sm"
|
|
7
|
+
variant: "linear" | "circular"
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
type ProgressSlotRecipeVariantMap = {
|
|
11
|
+
[key in keyof ProgressSlotRecipeVariant]: Array<ProgressSlotRecipeVariant[key]>
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export type ProgressSlotRecipeVariantProps = {
|
|
15
|
+
[key in keyof ProgressSlotRecipeVariant]?: ConditionalValue<ProgressSlotRecipeVariant[key]> | undefined
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface ProgressSlotRecipeRecipe {
|
|
19
|
+
__type: ProgressSlotRecipeVariantProps
|
|
20
|
+
(props?: ProgressSlotRecipeVariantProps): Pretty<Record<"root" | "linear" | "circularBase" | "circularTrack", string>>
|
|
21
|
+
raw: (props?: ProgressSlotRecipeVariantProps) => ProgressSlotRecipeVariantProps
|
|
22
|
+
variantMap: ProgressSlotRecipeVariantMap
|
|
23
|
+
variantKeys: Array<keyof ProgressSlotRecipeVariant>
|
|
24
|
+
splitVariantProps<Props extends ProgressSlotRecipeVariantProps>(props: Props): [ProgressSlotRecipeVariantProps, Pretty<DistributiveOmit<Props, keyof ProgressSlotRecipeVariantProps>>]
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
export declare const progressSlotRecipe: ProgressSlotRecipeRecipe
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { splitProps, getSlotCompoundVariant } from '../helpers.mjs';
|
|
2
|
+
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
+
|
|
4
|
+
const progressSlotRecipeDefaultVariants = {
|
|
5
|
+
"variant": "linear",
|
|
6
|
+
"size": "md"
|
|
7
|
+
}
|
|
8
|
+
const progressSlotRecipeCompoundVariants = []
|
|
9
|
+
|
|
10
|
+
const progressSlotRecipeSlotNames = [
|
|
11
|
+
[
|
|
12
|
+
"root",
|
|
13
|
+
"progress__root"
|
|
14
|
+
],
|
|
15
|
+
[
|
|
16
|
+
"linear",
|
|
17
|
+
"progress__linear"
|
|
18
|
+
],
|
|
19
|
+
[
|
|
20
|
+
"circularBase",
|
|
21
|
+
"progress__circularBase"
|
|
22
|
+
],
|
|
23
|
+
[
|
|
24
|
+
"circularTrack",
|
|
25
|
+
"progress__circularTrack"
|
|
26
|
+
]
|
|
27
|
+
]
|
|
28
|
+
const progressSlotRecipeSlotFns = /* @__PURE__ */ progressSlotRecipeSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, progressSlotRecipeDefaultVariants, getSlotCompoundVariant(progressSlotRecipeCompoundVariants, slotName))])
|
|
29
|
+
|
|
30
|
+
const progressSlotRecipeFn = (props = {}) => {
|
|
31
|
+
return Object.fromEntries(progressSlotRecipeSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
const progressSlotRecipeVariantKeys = [
|
|
35
|
+
"size",
|
|
36
|
+
"variant"
|
|
37
|
+
]
|
|
38
|
+
|
|
39
|
+
export const progressSlotRecipe = /* @__PURE__ */ Object.assign(progressSlotRecipeFn, {
|
|
40
|
+
__recipe__: false,
|
|
41
|
+
__name__: 'progressSlotRecipe',
|
|
42
|
+
raw: (props) => props,
|
|
43
|
+
variantKeys: progressSlotRecipeVariantKeys,
|
|
44
|
+
variantMap: {
|
|
45
|
+
"size": [
|
|
46
|
+
"md",
|
|
47
|
+
"sm"
|
|
48
|
+
],
|
|
49
|
+
"variant": [
|
|
50
|
+
"linear",
|
|
51
|
+
"circular"
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
splitVariantProps(props) {
|
|
55
|
+
return splitProps(props, progressSlotRecipeVariantKeys)
|
|
56
|
+
},
|
|
57
|
+
})
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { ConditionalValue } from '../types/index';
|
|
3
|
+
import type { DistributiveOmit, Pretty } from '../types/system-types';
|
|
4
|
+
|
|
5
|
+
interface RadioSlotRecipeVariant {
|
|
6
|
+
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
type RadioSlotRecipeVariantMap = {
|
|
10
|
+
[key in keyof RadioSlotRecipeVariant]: Array<RadioSlotRecipeVariant[key]>
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type RadioSlotRecipeVariantProps = {
|
|
14
|
+
[key in keyof RadioSlotRecipeVariant]?: ConditionalValue<RadioSlotRecipeVariant[key]> | undefined
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface RadioSlotRecipeRecipe {
|
|
18
|
+
__type: RadioSlotRecipeVariantProps
|
|
19
|
+
(props?: RadioSlotRecipeVariantProps): Pretty<Record<"root" | "control" | "label", string>>
|
|
20
|
+
raw: (props?: RadioSlotRecipeVariantProps) => RadioSlotRecipeVariantProps
|
|
21
|
+
variantMap: RadioSlotRecipeVariantMap
|
|
22
|
+
variantKeys: Array<keyof RadioSlotRecipeVariant>
|
|
23
|
+
splitVariantProps<Props extends RadioSlotRecipeVariantProps>(props: Props): [RadioSlotRecipeVariantProps, Pretty<DistributiveOmit<Props, keyof RadioSlotRecipeVariantProps>>]
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
export declare const radioSlotRecipe: RadioSlotRecipeRecipe
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { splitProps, getSlotCompoundVariant } from '../helpers.mjs';
|
|
2
|
+
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
+
|
|
4
|
+
const radioSlotRecipeDefaultVariants = {}
|
|
5
|
+
const radioSlotRecipeCompoundVariants = []
|
|
6
|
+
|
|
7
|
+
const radioSlotRecipeSlotNames = [
|
|
8
|
+
[
|
|
9
|
+
"root",
|
|
10
|
+
"radio__root"
|
|
11
|
+
],
|
|
12
|
+
[
|
|
13
|
+
"control",
|
|
14
|
+
"radio__control"
|
|
15
|
+
],
|
|
16
|
+
[
|
|
17
|
+
"label",
|
|
18
|
+
"radio__label"
|
|
19
|
+
]
|
|
20
|
+
]
|
|
21
|
+
const radioSlotRecipeSlotFns = /* @__PURE__ */ radioSlotRecipeSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, radioSlotRecipeDefaultVariants, getSlotCompoundVariant(radioSlotRecipeCompoundVariants, slotName))])
|
|
22
|
+
|
|
23
|
+
const radioSlotRecipeFn = (props = {}) => {
|
|
24
|
+
return Object.fromEntries(radioSlotRecipeSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
const radioSlotRecipeVariantKeys = []
|
|
28
|
+
|
|
29
|
+
export const radioSlotRecipe = /* @__PURE__ */ Object.assign(radioSlotRecipeFn, {
|
|
30
|
+
__recipe__: false,
|
|
31
|
+
__name__: 'radioSlotRecipe',
|
|
32
|
+
raw: (props) => props,
|
|
33
|
+
variantKeys: radioSlotRecipeVariantKeys,
|
|
34
|
+
variantMap: {},
|
|
35
|
+
splitVariantProps(props) {
|
|
36
|
+
return splitProps(props, radioSlotRecipeVariantKeys)
|
|
37
|
+
},
|
|
38
|
+
})
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { ConditionalValue } from '../types/index';
|
|
3
|
+
import type { DistributiveOmit, Pretty } from '../types/system-types';
|
|
4
|
+
|
|
5
|
+
interface SelectSlotRecipeVariant {
|
|
6
|
+
size: "sm" | "md"
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
type SelectSlotRecipeVariantMap = {
|
|
10
|
+
[key in keyof SelectSlotRecipeVariant]: Array<SelectSlotRecipeVariant[key]>
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type SelectSlotRecipeVariantProps = {
|
|
14
|
+
[key in keyof SelectSlotRecipeVariant]?: ConditionalValue<SelectSlotRecipeVariant[key]> | undefined
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface SelectSlotRecipeRecipe {
|
|
18
|
+
__type: SelectSlotRecipeVariantProps
|
|
19
|
+
(props?: SelectSlotRecipeVariantProps): Pretty<Record<"root" | "control" | "clear" | "arrow", string>>
|
|
20
|
+
raw: (props?: SelectSlotRecipeVariantProps) => SelectSlotRecipeVariantProps
|
|
21
|
+
variantMap: SelectSlotRecipeVariantMap
|
|
22
|
+
variantKeys: Array<keyof SelectSlotRecipeVariant>
|
|
23
|
+
splitVariantProps<Props extends SelectSlotRecipeVariantProps>(props: Props): [SelectSlotRecipeVariantProps, Pretty<DistributiveOmit<Props, keyof SelectSlotRecipeVariantProps>>]
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
export declare const selectSlotRecipe: SelectSlotRecipeRecipe
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { splitProps, getSlotCompoundVariant } from '../helpers.mjs';
|
|
2
|
+
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
+
|
|
4
|
+
const selectSlotRecipeDefaultVariants = {
|
|
5
|
+
"size": "md"
|
|
6
|
+
}
|
|
7
|
+
const selectSlotRecipeCompoundVariants = []
|
|
8
|
+
|
|
9
|
+
const selectSlotRecipeSlotNames = [
|
|
10
|
+
[
|
|
11
|
+
"root",
|
|
12
|
+
"select__root"
|
|
13
|
+
],
|
|
14
|
+
[
|
|
15
|
+
"control",
|
|
16
|
+
"select__control"
|
|
17
|
+
],
|
|
18
|
+
[
|
|
19
|
+
"clear",
|
|
20
|
+
"select__clear"
|
|
21
|
+
],
|
|
22
|
+
[
|
|
23
|
+
"arrow",
|
|
24
|
+
"select__arrow"
|
|
25
|
+
]
|
|
26
|
+
]
|
|
27
|
+
const selectSlotRecipeSlotFns = /* @__PURE__ */ selectSlotRecipeSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, selectSlotRecipeDefaultVariants, getSlotCompoundVariant(selectSlotRecipeCompoundVariants, slotName))])
|
|
28
|
+
|
|
29
|
+
const selectSlotRecipeFn = (props = {}) => {
|
|
30
|
+
return Object.fromEntries(selectSlotRecipeSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
const selectSlotRecipeVariantKeys = [
|
|
34
|
+
"size"
|
|
35
|
+
]
|
|
36
|
+
|
|
37
|
+
export const selectSlotRecipe = /* @__PURE__ */ Object.assign(selectSlotRecipeFn, {
|
|
38
|
+
__recipe__: false,
|
|
39
|
+
__name__: 'selectSlotRecipe',
|
|
40
|
+
raw: (props) => props,
|
|
41
|
+
variantKeys: selectSlotRecipeVariantKeys,
|
|
42
|
+
variantMap: {
|
|
43
|
+
"size": [
|
|
44
|
+
"sm",
|
|
45
|
+
"md"
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
splitVariantProps(props) {
|
|
49
|
+
return splitProps(props, selectSlotRecipeVariantKeys)
|
|
50
|
+
},
|
|
51
|
+
})
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { ConditionalValue } from '../types/index';
|
|
3
|
+
import type { DistributiveOmit, Pretty } from '../types/system-types';
|
|
4
|
+
|
|
5
|
+
interface SelectedBorderRecipeVariant {
|
|
6
|
+
variantColor: "blue" | "green" | "orange" | "red" | "gray"
|
|
7
|
+
isSelected: boolean
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
type SelectedBorderRecipeVariantMap = {
|
|
11
|
+
[key in keyof SelectedBorderRecipeVariant]: Array<SelectedBorderRecipeVariant[key]>
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export type SelectedBorderRecipeVariantProps = {
|
|
15
|
+
[key in keyof SelectedBorderRecipeVariant]?: SelectedBorderRecipeVariant[key] | undefined
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface SelectedBorderRecipeRecipe {
|
|
19
|
+
__type: SelectedBorderRecipeVariantProps
|
|
20
|
+
(props?: SelectedBorderRecipeVariantProps): string
|
|
21
|
+
raw: (props?: SelectedBorderRecipeVariantProps) => SelectedBorderRecipeVariantProps
|
|
22
|
+
variantMap: SelectedBorderRecipeVariantMap
|
|
23
|
+
variantKeys: Array<keyof SelectedBorderRecipeVariant>
|
|
24
|
+
splitVariantProps<Props extends SelectedBorderRecipeVariantProps>(props: Props): [SelectedBorderRecipeVariantProps, Pretty<DistributiveOmit<Props, keyof SelectedBorderRecipeVariantProps>>]
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
export declare const selectedBorderRecipe: SelectedBorderRecipeRecipe
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { splitProps } from '../helpers.mjs';
|
|
2
|
+
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
+
|
|
4
|
+
const selectedBorderRecipeFn = /* @__PURE__ */ createRecipe('selected-border', {
|
|
5
|
+
"variantColor": "blue",
|
|
6
|
+
"isSelected": false
|
|
7
|
+
}, [
|
|
8
|
+
{
|
|
9
|
+
"variantColor": "blue",
|
|
10
|
+
"isSelected": true,
|
|
11
|
+
"css": {
|
|
12
|
+
"background": "blue.400",
|
|
13
|
+
"_groupHover": {
|
|
14
|
+
"background": "blue.500"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"variantColor": "green",
|
|
20
|
+
"isSelected": true,
|
|
21
|
+
"css": {
|
|
22
|
+
"background": "green.400",
|
|
23
|
+
"_groupHover": {
|
|
24
|
+
"background": "green.500"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"variantColor": "orange",
|
|
30
|
+
"isSelected": true,
|
|
31
|
+
"css": {
|
|
32
|
+
"background": "orange.400",
|
|
33
|
+
"_groupHover": {
|
|
34
|
+
"background": "orange.500"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"variantColor": "red",
|
|
40
|
+
"isSelected": true,
|
|
41
|
+
"css": {
|
|
42
|
+
"background": "red.400",
|
|
43
|
+
"_groupHover": {
|
|
44
|
+
"background": "red.500"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"variantColor": "gray",
|
|
50
|
+
"isSelected": true,
|
|
51
|
+
"css": {
|
|
52
|
+
"background": "gray.400",
|
|
53
|
+
"_groupHover": {
|
|
54
|
+
"background": "gray.500"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
])
|
|
59
|
+
|
|
60
|
+
const selectedBorderRecipeVariantMap = {
|
|
61
|
+
"variantColor": [
|
|
62
|
+
"blue",
|
|
63
|
+
"green",
|
|
64
|
+
"orange",
|
|
65
|
+
"red",
|
|
66
|
+
"gray"
|
|
67
|
+
],
|
|
68
|
+
"isSelected": [
|
|
69
|
+
"false",
|
|
70
|
+
"true"
|
|
71
|
+
]
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
const selectedBorderRecipeVariantKeys = Object.keys(selectedBorderRecipeVariantMap)
|
|
75
|
+
|
|
76
|
+
export const selectedBorderRecipe = /* @__PURE__ */ Object.assign(selectedBorderRecipeFn, {
|
|
77
|
+
__recipe__: true,
|
|
78
|
+
__name__: 'selectedBorderRecipe',
|
|
79
|
+
raw: (props) => props,
|
|
80
|
+
variantKeys: selectedBorderRecipeVariantKeys,
|
|
81
|
+
variantMap: selectedBorderRecipeVariantMap,
|
|
82
|
+
merge(recipe) {
|
|
83
|
+
return mergeRecipes(this, recipe)
|
|
84
|
+
},
|
|
85
|
+
splitVariantProps(props) {
|
|
86
|
+
return splitProps(props, selectedBorderRecipeVariantKeys)
|
|
87
|
+
},
|
|
88
|
+
})
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { ConditionalValue } from '../types/index';
|
|
3
|
+
import type { DistributiveOmit, Pretty } from '../types/system-types';
|
|
4
|
+
|
|
5
|
+
interface SharedSlotRecipeVariant {
|
|
6
|
+
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
type SharedSlotRecipeVariantMap = {
|
|
10
|
+
[key in keyof SharedSlotRecipeVariant]: Array<SharedSlotRecipeVariant[key]>
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type SharedSlotRecipeVariantProps = {
|
|
14
|
+
[key in keyof SharedSlotRecipeVariant]?: ConditionalValue<SharedSlotRecipeVariant[key]> | undefined
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface SharedSlotRecipeRecipe {
|
|
18
|
+
__type: SharedSlotRecipeVariantProps
|
|
19
|
+
(props?: SharedSlotRecipeVariantProps): Pretty<Record<"hidden", string>>
|
|
20
|
+
raw: (props?: SharedSlotRecipeVariantProps) => SharedSlotRecipeVariantProps
|
|
21
|
+
variantMap: SharedSlotRecipeVariantMap
|
|
22
|
+
variantKeys: Array<keyof SharedSlotRecipeVariant>
|
|
23
|
+
splitVariantProps<Props extends SharedSlotRecipeVariantProps>(props: Props): [SharedSlotRecipeVariantProps, Pretty<DistributiveOmit<Props, keyof SharedSlotRecipeVariantProps>>]
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
export declare const sharedSlotRecipe: SharedSlotRecipeRecipe
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { splitProps, getSlotCompoundVariant } from '../helpers.mjs';
|
|
2
|
+
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
+
|
|
4
|
+
const sharedSlotRecipeDefaultVariants = {}
|
|
5
|
+
const sharedSlotRecipeCompoundVariants = []
|
|
6
|
+
|
|
7
|
+
const sharedSlotRecipeSlotNames = [
|
|
8
|
+
[
|
|
9
|
+
"hidden",
|
|
10
|
+
"shared__hidden"
|
|
11
|
+
]
|
|
12
|
+
]
|
|
13
|
+
const sharedSlotRecipeSlotFns = /* @__PURE__ */ sharedSlotRecipeSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, sharedSlotRecipeDefaultVariants, getSlotCompoundVariant(sharedSlotRecipeCompoundVariants, slotName))])
|
|
14
|
+
|
|
15
|
+
const sharedSlotRecipeFn = (props = {}) => {
|
|
16
|
+
return Object.fromEntries(sharedSlotRecipeSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
const sharedSlotRecipeVariantKeys = []
|
|
20
|
+
|
|
21
|
+
export const sharedSlotRecipe = /* @__PURE__ */ Object.assign(sharedSlotRecipeFn, {
|
|
22
|
+
__recipe__: false,
|
|
23
|
+
__name__: 'sharedSlotRecipe',
|
|
24
|
+
raw: (props) => props,
|
|
25
|
+
variantKeys: sharedSlotRecipeVariantKeys,
|
|
26
|
+
variantMap: {},
|
|
27
|
+
splitVariantProps(props) {
|
|
28
|
+
return splitProps(props, sharedSlotRecipeVariantKeys)
|
|
29
|
+
},
|
|
30
|
+
})
|