@mekari/pixel3-styled-system 0.1.6-dev.0 → 0.1.7-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/css/conditions.mjs +1 -1
- package/css/css.mjs +1 -1
- package/css/sva.mjs +9 -4
- package/helpers.mjs +11 -22
- package/jsx/create-style-context.d.ts +58 -0
- package/jsx/create-style-context.mjs +116 -0
- package/jsx/factory.mjs +13 -2
- package/jsx/index.d.ts +1 -0
- package/jsx/index.mjs +1 -0
- package/jsx/is-valid-prop.mjs +1 -1
- package/package.json +1 -1
- package/recipes/accordion-slot-recipe.d.ts +4 -1
- package/recipes/accordion-slot-recipe.mjs +1 -0
- package/recipes/airene-bubble-slot-recipe.d.ts +4 -1
- package/recipes/airene-bubble-slot-recipe.mjs +1 -0
- package/recipes/airene-button-slot-recipe.d.ts +4 -1
- package/recipes/airene-button-slot-recipe.mjs +1 -0
- package/recipes/airene-input-slot-recipe.d.ts +4 -1
- package/recipes/airene-input-slot-recipe.mjs +1 -0
- package/recipes/autocomplete-slot-recipe.d.ts +4 -1
- package/recipes/autocomplete-slot-recipe.mjs +1 -0
- package/recipes/avatar-group-slot-recipe.d.ts +4 -1
- package/recipes/avatar-group-slot-recipe.mjs +1 -0
- package/recipes/avatar-slot-recipe.d.ts +4 -1
- package/recipes/avatar-slot-recipe.mjs +1 -0
- package/recipes/badge-recipe.d.ts +3 -0
- package/recipes/banner-close-button-recipe.d.ts +3 -0
- package/recipes/banner-description-recipe.d.ts +3 -0
- package/recipes/banner-icon-slot-recipe.d.ts +4 -1
- package/recipes/banner-icon-slot-recipe.mjs +1 -0
- package/recipes/banner-link-recipe.d.ts +3 -0
- package/recipes/banner-slot-recipe.d.ts +4 -1
- package/recipes/banner-slot-recipe.mjs +1 -0
- package/recipes/banner-title-recipe.d.ts +3 -0
- package/recipes/broadcast-slot-recipe.d.ts +4 -1
- package/recipes/broadcast-slot-recipe.mjs +1 -0
- package/recipes/button-group-recipe.d.ts +3 -0
- package/recipes/button-recipe.d.ts +3 -0
- package/recipes/calendar-panel-range-recipe.d.ts +3 -0
- package/recipes/carousel-slot-recipe.d.ts +4 -1
- package/recipes/carousel-slot-recipe.mjs +1 -0
- package/recipes/chart-slot-recipe.d.ts +4 -1
- package/recipes/chart-slot-recipe.mjs +1 -0
- package/recipes/checkbox-slot-recipe.d.ts +4 -1
- package/recipes/checkbox-slot-recipe.mjs +1 -0
- package/recipes/color-picker-slot-recipe.d.ts +4 -1
- package/recipes/color-picker-slot-recipe.mjs +1 -0
- package/recipes/date-item-recipe.d.ts +3 -0
- package/recipes/date-picker-slot-recipe.d.ts +4 -1
- package/recipes/date-picker-slot-recipe.mjs +1 -0
- package/recipes/day-item-recipe.d.ts +3 -0
- package/recipes/divider-slot-recipe.d.ts +4 -1
- package/recipes/divider-slot-recipe.mjs +1 -0
- package/recipes/dropzone-slot-recipe.d.ts +4 -1
- package/recipes/dropzone-slot-recipe.mjs +1 -0
- package/recipes/form-control-slot-recipe.d.ts +4 -1
- package/recipes/form-control-slot-recipe.mjs +1 -0
- package/recipes/icon-recipe.d.ts +3 -0
- package/recipes/input-addon-slot-recipe.d.ts +4 -1
- package/recipes/input-addon-slot-recipe.mjs +1 -0
- package/recipes/input-group-slot-recipe.d.ts +4 -1
- package/recipes/input-group-slot-recipe.mjs +1 -0
- package/recipes/input-slot-recipe.d.ts +4 -1
- package/recipes/input-slot-recipe.mjs +1 -0
- package/recipes/input-tag-slot-recipe.d.ts +4 -1
- package/recipes/input-tag-slot-recipe.mjs +1 -0
- package/recipes/modal-slot-recipe.d.ts +4 -1
- package/recipes/modal-slot-recipe.mjs +1 -0
- package/recipes/month-item-recipe.d.ts +3 -0
- package/recipes/pinbar-slot-recipe.d.ts +4 -1
- package/recipes/pinbar-slot-recipe.mjs +1 -0
- package/recipes/popover-content-recipe.d.ts +3 -0
- package/recipes/popover-list-item-recipe.d.ts +3 -0
- package/recipes/popover-list-recipe.d.ts +3 -0
- package/recipes/progress-slot-recipe.d.ts +4 -1
- package/recipes/progress-slot-recipe.mjs +1 -0
- package/recipes/radio-slot-recipe.d.ts +4 -1
- package/recipes/radio-slot-recipe.mjs +1 -0
- package/recipes/rating-slot-recipe.d.ts +4 -1
- package/recipes/rating-slot-recipe.mjs +1 -0
- package/recipes/rich-text-editor-slot-recipe.d.ts +4 -1
- package/recipes/rich-text-editor-slot-recipe.mjs +1 -0
- package/recipes/rtestyle-provider-recipe.d.ts +3 -0
- package/recipes/scrollbar-recipe.d.ts +3 -0
- package/recipes/segmented-control-slot-recipe.d.ts +4 -1
- package/recipes/segmented-control-slot-recipe.mjs +1 -0
- package/recipes/select-slot-recipe.d.ts +4 -1
- package/recipes/select-slot-recipe.mjs +1 -0
- package/recipes/shared-slot-recipe.d.ts +4 -1
- package/recipes/shared-slot-recipe.mjs +1 -0
- package/recipes/skeleton-recipe.d.ts +3 -0
- package/recipes/slider-slot-recipe.d.ts +4 -1
- package/recipes/slider-slot-recipe.mjs +1 -0
- package/recipes/spinner-recipe.d.ts +3 -0
- package/recipes/tab-list-slot-recipe.d.ts +4 -1
- package/recipes/tab-list-slot-recipe.mjs +1 -0
- package/recipes/tab-recipe.d.ts +3 -0
- package/recipes/tab-selected-border-recipe.d.ts +3 -0
- package/recipes/table-container-recipe.d.ts +3 -0
- package/recipes/table-date-slot-recipe.d.ts +4 -1
- package/recipes/table-date-slot-recipe.mjs +1 -0
- package/recipes/table-month-slot-recipe.d.ts +4 -1
- package/recipes/table-month-slot-recipe.mjs +1 -0
- package/recipes/table-recipe.d.ts +3 -0
- package/recipes/table-year-slot-recipe.d.ts +4 -1
- package/recipes/table-year-slot-recipe.mjs +1 -0
- package/recipes/tag-slot-recipe.d.ts +4 -1
- package/recipes/tag-slot-recipe.mjs +1 -0
- package/recipes/text-recipe.d.ts +3 -0
- package/recipes/textarea-recipe.d.ts +3 -0
- package/recipes/textlink-recipe.d.ts +3 -0
- package/recipes/time-item-recipe.d.ts +3 -0
- package/recipes/time-panel-slot-recipe.d.ts +4 -1
- package/recipes/time-panel-slot-recipe.mjs +1 -0
- package/recipes/timeline-accordion-slot-recipe.d.ts +4 -1
- package/recipes/timeline-accordion-slot-recipe.mjs +1 -0
- package/recipes/timeline-document-slot-recipe.d.ts +4 -1
- package/recipes/timeline-document-slot-recipe.mjs +1 -0
- package/recipes/timeline-log-slot-recipe.d.ts +4 -1
- package/recipes/timeline-log-slot-recipe.mjs +1 -0
- package/recipes/timeline-separator-slot-recipe.d.ts +4 -1
- package/recipes/timeline-separator-slot-recipe.mjs +1 -0
- package/recipes/timeline-slot-recipe.d.ts +4 -1
- package/recipes/timeline-slot-recipe.mjs +1 -0
- package/recipes/toast-slot-recipe.d.ts +4 -1
- package/recipes/toast-slot-recipe.mjs +1 -0
- package/recipes/toggle-slot-recipe.d.ts +4 -1
- package/recipes/toggle-slot-recipe.mjs +1 -0
- package/recipes/tooltip-recipe.d.ts +3 -0
- package/recipes/tour-slot-recipe.d.ts +4 -1
- package/recipes/tour-slot-recipe.mjs +1 -0
- package/recipes/upload-list-slot-recipe.d.ts +4 -1
- package/recipes/upload-list-slot-recipe.mjs +1 -0
- package/recipes/upload-slot-recipe.d.ts +4 -1
- package/recipes/upload-slot-recipe.mjs +1 -0
- package/recipes/year-item-recipe.d.ts +3 -0
- package/types/composition.d.ts +83 -23
- package/types/conditions.d.ts +7 -3
- package/types/jsx.d.ts +24 -5
- package/types/prop-type.d.ts +10 -1
- package/types/style-props.d.ts +14 -1
- package/types/system-types.d.ts +76 -0
|
@@ -10,13 +10,16 @@ type InputTagSlotRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof InputTagSlotRecipeVariant]: Array<InputTagSlotRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type InputTagSlotRecipeSlot = "root" | "trigger" | "input" | "content" | "resetButton" | "dropdownButton" | "addButton" | "loading" | "empty" | "suggestionWrapper" | "suggestionLoading"
|
|
14
|
+
|
|
13
15
|
export type InputTagSlotRecipeVariantProps = {
|
|
14
16
|
[key in keyof InputTagSlotRecipeVariant]?: ConditionalValue<InputTagSlotRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface InputTagSlotRecipeRecipe {
|
|
20
|
+
__slot: InputTagSlotRecipeSlot
|
|
18
21
|
__type: InputTagSlotRecipeVariantProps
|
|
19
|
-
(props?: InputTagSlotRecipeVariantProps): Pretty<Record<
|
|
22
|
+
(props?: InputTagSlotRecipeVariantProps): Pretty<Record<InputTagSlotRecipeSlot, string>>
|
|
20
23
|
raw: (props?: InputTagSlotRecipeVariantProps) => InputTagSlotRecipeVariantProps
|
|
21
24
|
variantMap: InputTagSlotRecipeVariantMap
|
|
22
25
|
variantKeys: Array<keyof InputTagSlotRecipeVariant>
|
|
@@ -63,6 +63,7 @@ export const inputTagSlotRecipe = /* @__PURE__ */ Object.assign(inputTagSlotReci
|
|
|
63
63
|
__recipe__: false,
|
|
64
64
|
__name__: 'inputTagSlotRecipe',
|
|
65
65
|
raw: (props) => props,
|
|
66
|
+
classNameMap: {},
|
|
66
67
|
variantKeys: inputTagSlotRecipeVariantKeys,
|
|
67
68
|
variantMap: {},
|
|
68
69
|
splitVariantProps(props) {
|
|
@@ -13,13 +13,16 @@ type ModalSlotRecipeVariantMap = {
|
|
|
13
13
|
[key in keyof ModalSlotRecipeVariant]: Array<ModalSlotRecipeVariant[key]>
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
type ModalSlotRecipeSlot = "root" | "rootChild" | "body" | "contentRoot" | "contentChild" | "header" | "footer" | "body" | "overlay"
|
|
17
|
+
|
|
16
18
|
export type ModalSlotRecipeVariantProps = {
|
|
17
19
|
[key in keyof ModalSlotRecipeVariant]?: ConditionalValue<ModalSlotRecipeVariant[key]> | undefined
|
|
18
20
|
}
|
|
19
21
|
|
|
20
22
|
export interface ModalSlotRecipeRecipe {
|
|
23
|
+
__slot: ModalSlotRecipeSlot
|
|
21
24
|
__type: ModalSlotRecipeVariantProps
|
|
22
|
-
(props?: ModalSlotRecipeVariantProps): Pretty<Record<
|
|
25
|
+
(props?: ModalSlotRecipeVariantProps): Pretty<Record<ModalSlotRecipeSlot, string>>
|
|
23
26
|
raw: (props?: ModalSlotRecipeVariantProps) => ModalSlotRecipeVariantProps
|
|
24
27
|
variantMap: ModalSlotRecipeVariantMap
|
|
25
28
|
variantKeys: Array<keyof ModalSlotRecipeVariant>
|
|
@@ -10,11 +10,14 @@ type MonthItemRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof MonthItemRecipeVariant]: Array<MonthItemRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
|
|
14
|
+
|
|
13
15
|
export type MonthItemRecipeVariantProps = {
|
|
14
16
|
[key in keyof MonthItemRecipeVariant]?: ConditionalValue<MonthItemRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface MonthItemRecipeRecipe {
|
|
20
|
+
|
|
18
21
|
__type: MonthItemRecipeVariantProps
|
|
19
22
|
(props?: MonthItemRecipeVariantProps): string
|
|
20
23
|
raw: (props?: MonthItemRecipeVariantProps) => MonthItemRecipeVariantProps
|
|
@@ -10,13 +10,16 @@ type PinbarSlotRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof PinbarSlotRecipeVariant]: Array<PinbarSlotRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type PinbarSlotRecipeSlot = "root" | "pinbar"
|
|
14
|
+
|
|
13
15
|
export type PinbarSlotRecipeVariantProps = {
|
|
14
16
|
[key in keyof PinbarSlotRecipeVariant]?: ConditionalValue<PinbarSlotRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface PinbarSlotRecipeRecipe {
|
|
20
|
+
__slot: PinbarSlotRecipeSlot
|
|
18
21
|
__type: PinbarSlotRecipeVariantProps
|
|
19
|
-
(props?: PinbarSlotRecipeVariantProps): Pretty<Record<
|
|
22
|
+
(props?: PinbarSlotRecipeVariantProps): Pretty<Record<PinbarSlotRecipeSlot, string>>
|
|
20
23
|
raw: (props?: PinbarSlotRecipeVariantProps) => PinbarSlotRecipeVariantProps
|
|
21
24
|
variantMap: PinbarSlotRecipeVariantMap
|
|
22
25
|
variantKeys: Array<keyof PinbarSlotRecipeVariant>
|
|
@@ -27,6 +27,7 @@ export const pinbarSlotRecipe = /* @__PURE__ */ Object.assign(pinbarSlotRecipeFn
|
|
|
27
27
|
__recipe__: false,
|
|
28
28
|
__name__: 'pinbarSlotRecipe',
|
|
29
29
|
raw: (props) => props,
|
|
30
|
+
classNameMap: {},
|
|
30
31
|
variantKeys: pinbarSlotRecipeVariantKeys,
|
|
31
32
|
variantMap: {},
|
|
32
33
|
splitVariantProps(props) {
|
|
@@ -17,11 +17,14 @@ type PopoverContentRecipeVariantMap = {
|
|
|
17
17
|
[key in keyof PopoverContentRecipeVariant]: Array<PopoverContentRecipeVariant[key]>
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
|
|
21
|
+
|
|
20
22
|
export type PopoverContentRecipeVariantProps = {
|
|
21
23
|
[key in keyof PopoverContentRecipeVariant]?: ConditionalValue<PopoverContentRecipeVariant[key]> | undefined
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
export interface PopoverContentRecipeRecipe {
|
|
27
|
+
|
|
25
28
|
__type: PopoverContentRecipeVariantProps
|
|
26
29
|
(props?: PopoverContentRecipeVariantProps): string
|
|
27
30
|
raw: (props?: PopoverContentRecipeVariantProps) => PopoverContentRecipeVariantProps
|
|
@@ -10,11 +10,14 @@ type PopoverListItemRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof PopoverListItemRecipeVariant]: Array<PopoverListItemRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
|
|
14
|
+
|
|
13
15
|
export type PopoverListItemRecipeVariantProps = {
|
|
14
16
|
[key in keyof PopoverListItemRecipeVariant]?: ConditionalValue<PopoverListItemRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface PopoverListItemRecipeRecipe {
|
|
20
|
+
|
|
18
21
|
__type: PopoverListItemRecipeVariantProps
|
|
19
22
|
(props?: PopoverListItemRecipeVariantProps): string
|
|
20
23
|
raw: (props?: PopoverListItemRecipeVariantProps) => PopoverListItemRecipeVariantProps
|
|
@@ -10,11 +10,14 @@ type PopoverListRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof PopoverListRecipeVariant]: Array<PopoverListRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
|
|
14
|
+
|
|
13
15
|
export type PopoverListRecipeVariantProps = {
|
|
14
16
|
[key in keyof PopoverListRecipeVariant]?: ConditionalValue<PopoverListRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface PopoverListRecipeRecipe {
|
|
20
|
+
|
|
18
21
|
__type: PopoverListRecipeVariantProps
|
|
19
22
|
(props?: PopoverListRecipeVariantProps): string
|
|
20
23
|
raw: (props?: PopoverListRecipeVariantProps) => PopoverListRecipeVariantProps
|
|
@@ -17,13 +17,16 @@ type ProgressSlotRecipeVariantMap = {
|
|
|
17
17
|
[key in keyof ProgressSlotRecipeVariant]: Array<ProgressSlotRecipeVariant[key]>
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
type ProgressSlotRecipeSlot = "root" | "linear" | "circularBase" | "circularTrack"
|
|
21
|
+
|
|
20
22
|
export type ProgressSlotRecipeVariantProps = {
|
|
21
23
|
[key in keyof ProgressSlotRecipeVariant]?: ConditionalValue<ProgressSlotRecipeVariant[key]> | undefined
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
export interface ProgressSlotRecipeRecipe {
|
|
27
|
+
__slot: ProgressSlotRecipeSlot
|
|
25
28
|
__type: ProgressSlotRecipeVariantProps
|
|
26
|
-
(props?: ProgressSlotRecipeVariantProps): Pretty<Record<
|
|
29
|
+
(props?: ProgressSlotRecipeVariantProps): Pretty<Record<ProgressSlotRecipeSlot, string>>
|
|
27
30
|
raw: (props?: ProgressSlotRecipeVariantProps) => ProgressSlotRecipeVariantProps
|
|
28
31
|
variantMap: ProgressSlotRecipeVariantMap
|
|
29
32
|
variantKeys: Array<keyof ProgressSlotRecipeVariant>
|
|
@@ -10,13 +10,16 @@ type RadioSlotRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof RadioSlotRecipeVariant]: Array<RadioSlotRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type RadioSlotRecipeSlot = "root" | "control" | "label"
|
|
14
|
+
|
|
13
15
|
export type RadioSlotRecipeVariantProps = {
|
|
14
16
|
[key in keyof RadioSlotRecipeVariant]?: ConditionalValue<RadioSlotRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface RadioSlotRecipeRecipe {
|
|
20
|
+
__slot: RadioSlotRecipeSlot
|
|
18
21
|
__type: RadioSlotRecipeVariantProps
|
|
19
|
-
(props?: RadioSlotRecipeVariantProps): Pretty<Record<
|
|
22
|
+
(props?: RadioSlotRecipeVariantProps): Pretty<Record<RadioSlotRecipeSlot, string>>
|
|
20
23
|
raw: (props?: RadioSlotRecipeVariantProps) => RadioSlotRecipeVariantProps
|
|
21
24
|
variantMap: RadioSlotRecipeVariantMap
|
|
22
25
|
variantKeys: Array<keyof RadioSlotRecipeVariant>
|
|
@@ -31,6 +31,7 @@ export const radioSlotRecipe = /* @__PURE__ */ Object.assign(radioSlotRecipeFn,
|
|
|
31
31
|
__recipe__: false,
|
|
32
32
|
__name__: 'radioSlotRecipe',
|
|
33
33
|
raw: (props) => props,
|
|
34
|
+
classNameMap: {},
|
|
34
35
|
variantKeys: radioSlotRecipeVariantKeys,
|
|
35
36
|
variantMap: {},
|
|
36
37
|
splitVariantProps(props) {
|
|
@@ -10,13 +10,16 @@ type RatingSlotRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof RatingSlotRecipeVariant]: Array<RatingSlotRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type RatingSlotRecipeSlot = "root" | "wrapper" | "value" | "backgroundIconWrapper" | "activeIconWrapper"
|
|
14
|
+
|
|
13
15
|
export type RatingSlotRecipeVariantProps = {
|
|
14
16
|
[key in keyof RatingSlotRecipeVariant]?: ConditionalValue<RatingSlotRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface RatingSlotRecipeRecipe {
|
|
20
|
+
__slot: RatingSlotRecipeSlot
|
|
18
21
|
__type: RatingSlotRecipeVariantProps
|
|
19
|
-
(props?: RatingSlotRecipeVariantProps): Pretty<Record<
|
|
22
|
+
(props?: RatingSlotRecipeVariantProps): Pretty<Record<RatingSlotRecipeSlot, string>>
|
|
20
23
|
raw: (props?: RatingSlotRecipeVariantProps) => RatingSlotRecipeVariantProps
|
|
21
24
|
variantMap: RatingSlotRecipeVariantMap
|
|
22
25
|
variantKeys: Array<keyof RatingSlotRecipeVariant>
|
|
@@ -39,6 +39,7 @@ export const ratingSlotRecipe = /* @__PURE__ */ Object.assign(ratingSlotRecipeFn
|
|
|
39
39
|
__recipe__: false,
|
|
40
40
|
__name__: 'ratingSlotRecipe',
|
|
41
41
|
raw: (props) => props,
|
|
42
|
+
classNameMap: {},
|
|
42
43
|
variantKeys: ratingSlotRecipeVariantKeys,
|
|
43
44
|
variantMap: {},
|
|
44
45
|
splitVariantProps(props) {
|
|
@@ -10,13 +10,16 @@ type RichTextEditorSlotRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof RichTextEditorSlotRecipeVariant]: Array<RichTextEditorSlotRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type RichTextEditorSlotRecipeSlot = "root" | "toolbar" | "area"
|
|
14
|
+
|
|
13
15
|
export type RichTextEditorSlotRecipeVariantProps = {
|
|
14
16
|
[key in keyof RichTextEditorSlotRecipeVariant]?: ConditionalValue<RichTextEditorSlotRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface RichTextEditorSlotRecipeRecipe {
|
|
20
|
+
__slot: RichTextEditorSlotRecipeSlot
|
|
18
21
|
__type: RichTextEditorSlotRecipeVariantProps
|
|
19
|
-
(props?: RichTextEditorSlotRecipeVariantProps): Pretty<Record<
|
|
22
|
+
(props?: RichTextEditorSlotRecipeVariantProps): Pretty<Record<RichTextEditorSlotRecipeSlot, string>>
|
|
20
23
|
raw: (props?: RichTextEditorSlotRecipeVariantProps) => RichTextEditorSlotRecipeVariantProps
|
|
21
24
|
variantMap: RichTextEditorSlotRecipeVariantMap
|
|
22
25
|
variantKeys: Array<keyof RichTextEditorSlotRecipeVariant>
|
|
@@ -31,6 +31,7 @@ export const richTextEditorSlotRecipe = /* @__PURE__ */ Object.assign(richTextEd
|
|
|
31
31
|
__recipe__: false,
|
|
32
32
|
__name__: 'richTextEditorSlotRecipe',
|
|
33
33
|
raw: (props) => props,
|
|
34
|
+
classNameMap: {},
|
|
34
35
|
variantKeys: richTextEditorSlotRecipeVariantKeys,
|
|
35
36
|
variantMap: {},
|
|
36
37
|
splitVariantProps(props) {
|
|
@@ -10,11 +10,14 @@ type RTEStyleProviderRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof RTEStyleProviderRecipeVariant]: Array<RTEStyleProviderRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
|
|
14
|
+
|
|
13
15
|
export type RTEStyleProviderRecipeVariantProps = {
|
|
14
16
|
[key in keyof RTEStyleProviderRecipeVariant]?: ConditionalValue<RTEStyleProviderRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface RTEStyleProviderRecipeRecipe {
|
|
20
|
+
|
|
18
21
|
__type: RTEStyleProviderRecipeVariantProps
|
|
19
22
|
(props?: RTEStyleProviderRecipeVariantProps): string
|
|
20
23
|
raw: (props?: RTEStyleProviderRecipeVariantProps) => RTEStyleProviderRecipeVariantProps
|
|
@@ -10,11 +10,14 @@ type ScrollbarRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof ScrollbarRecipeVariant]: Array<ScrollbarRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
|
|
14
|
+
|
|
13
15
|
export type ScrollbarRecipeVariantProps = {
|
|
14
16
|
[key in keyof ScrollbarRecipeVariant]?: ConditionalValue<ScrollbarRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface ScrollbarRecipeRecipe {
|
|
20
|
+
|
|
18
21
|
__type: ScrollbarRecipeVariantProps
|
|
19
22
|
(props?: ScrollbarRecipeVariantProps): string
|
|
20
23
|
raw: (props?: ScrollbarRecipeVariantProps) => ScrollbarRecipeVariantProps
|
|
@@ -10,13 +10,16 @@ type SegmentedControlSlotRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof SegmentedControlSlotRecipeVariant]: Array<SegmentedControlSlotRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type SegmentedControlSlotRecipeSlot = "root" | "item" | "hidden" | "control" | "label" | "icon"
|
|
14
|
+
|
|
13
15
|
export type SegmentedControlSlotRecipeVariantProps = {
|
|
14
16
|
[key in keyof SegmentedControlSlotRecipeVariant]?: ConditionalValue<SegmentedControlSlotRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface SegmentedControlSlotRecipeRecipe {
|
|
20
|
+
__slot: SegmentedControlSlotRecipeSlot
|
|
18
21
|
__type: SegmentedControlSlotRecipeVariantProps
|
|
19
|
-
(props?: SegmentedControlSlotRecipeVariantProps): Pretty<Record<
|
|
22
|
+
(props?: SegmentedControlSlotRecipeVariantProps): Pretty<Record<SegmentedControlSlotRecipeSlot, string>>
|
|
20
23
|
raw: (props?: SegmentedControlSlotRecipeVariantProps) => SegmentedControlSlotRecipeVariantProps
|
|
21
24
|
variantMap: SegmentedControlSlotRecipeVariantMap
|
|
22
25
|
variantKeys: Array<keyof SegmentedControlSlotRecipeVariant>
|
|
@@ -43,6 +43,7 @@ export const segmentedControlSlotRecipe = /* @__PURE__ */ Object.assign(segmente
|
|
|
43
43
|
__recipe__: false,
|
|
44
44
|
__name__: 'segmentedControlSlotRecipe',
|
|
45
45
|
raw: (props) => props,
|
|
46
|
+
classNameMap: {},
|
|
46
47
|
variantKeys: segmentedControlSlotRecipeVariantKeys,
|
|
47
48
|
variantMap: {},
|
|
48
49
|
splitVariantProps(props) {
|
|
@@ -13,13 +13,16 @@ type SelectSlotRecipeVariantMap = {
|
|
|
13
13
|
[key in keyof SelectSlotRecipeVariant]: Array<SelectSlotRecipeVariant[key]>
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
type SelectSlotRecipeSlot = "root" | "control" | "clear" | "arrow"
|
|
17
|
+
|
|
16
18
|
export type SelectSlotRecipeVariantProps = {
|
|
17
19
|
[key in keyof SelectSlotRecipeVariant]?: ConditionalValue<SelectSlotRecipeVariant[key]> | undefined
|
|
18
20
|
}
|
|
19
21
|
|
|
20
22
|
export interface SelectSlotRecipeRecipe {
|
|
23
|
+
__slot: SelectSlotRecipeSlot
|
|
21
24
|
__type: SelectSlotRecipeVariantProps
|
|
22
|
-
(props?: SelectSlotRecipeVariantProps): Pretty<Record<
|
|
25
|
+
(props?: SelectSlotRecipeVariantProps): Pretty<Record<SelectSlotRecipeSlot, string>>
|
|
23
26
|
raw: (props?: SelectSlotRecipeVariantProps) => SelectSlotRecipeVariantProps
|
|
24
27
|
variantMap: SelectSlotRecipeVariantMap
|
|
25
28
|
variantKeys: Array<keyof SelectSlotRecipeVariant>
|
|
@@ -10,13 +10,16 @@ type SharedSlotRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof SharedSlotRecipeVariant]: Array<SharedSlotRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type SharedSlotRecipeSlot = "hidden"
|
|
14
|
+
|
|
13
15
|
export type SharedSlotRecipeVariantProps = {
|
|
14
16
|
[key in keyof SharedSlotRecipeVariant]?: ConditionalValue<SharedSlotRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface SharedSlotRecipeRecipe {
|
|
20
|
+
__slot: SharedSlotRecipeSlot
|
|
18
21
|
__type: SharedSlotRecipeVariantProps
|
|
19
|
-
(props?: SharedSlotRecipeVariantProps): Pretty<Record<
|
|
22
|
+
(props?: SharedSlotRecipeVariantProps): Pretty<Record<SharedSlotRecipeSlot, string>>
|
|
20
23
|
raw: (props?: SharedSlotRecipeVariantProps) => SharedSlotRecipeVariantProps
|
|
21
24
|
variantMap: SharedSlotRecipeVariantMap
|
|
22
25
|
variantKeys: Array<keyof SharedSlotRecipeVariant>
|
|
@@ -23,6 +23,7 @@ export const sharedSlotRecipe = /* @__PURE__ */ Object.assign(sharedSlotRecipeFn
|
|
|
23
23
|
__recipe__: false,
|
|
24
24
|
__name__: 'sharedSlotRecipe',
|
|
25
25
|
raw: (props) => props,
|
|
26
|
+
classNameMap: {},
|
|
26
27
|
variantKeys: sharedSlotRecipeVariantKeys,
|
|
27
28
|
variantMap: {},
|
|
28
29
|
splitVariantProps(props) {
|
|
@@ -13,11 +13,14 @@ type SkeletonRecipeVariantMap = {
|
|
|
13
13
|
[key in keyof SkeletonRecipeVariant]: Array<SkeletonRecipeVariant[key]>
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
|
|
17
|
+
|
|
16
18
|
export type SkeletonRecipeVariantProps = {
|
|
17
19
|
[key in keyof SkeletonRecipeVariant]?: SkeletonRecipeVariant[key] | undefined
|
|
18
20
|
}
|
|
19
21
|
|
|
20
22
|
export interface SkeletonRecipeRecipe {
|
|
23
|
+
|
|
21
24
|
__type: SkeletonRecipeVariantProps
|
|
22
25
|
(props?: SkeletonRecipeVariantProps): string
|
|
23
26
|
raw: (props?: SkeletonRecipeVariantProps) => SkeletonRecipeVariantProps
|
|
@@ -10,13 +10,16 @@ type SliderSlotRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof SliderSlotRecipeVariant]: Array<SliderSlotRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type SliderSlotRecipeSlot = "root" | "labelWrapper" | "sliderWrapper" | "progress" | "slider" | "inputWrapper" | "input" | "legendWrapper"
|
|
14
|
+
|
|
13
15
|
export type SliderSlotRecipeVariantProps = {
|
|
14
16
|
[key in keyof SliderSlotRecipeVariant]?: ConditionalValue<SliderSlotRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface SliderSlotRecipeRecipe {
|
|
20
|
+
__slot: SliderSlotRecipeSlot
|
|
18
21
|
__type: SliderSlotRecipeVariantProps
|
|
19
|
-
(props?: SliderSlotRecipeVariantProps): Pretty<Record<
|
|
22
|
+
(props?: SliderSlotRecipeVariantProps): Pretty<Record<SliderSlotRecipeSlot, string>>
|
|
20
23
|
raw: (props?: SliderSlotRecipeVariantProps) => SliderSlotRecipeVariantProps
|
|
21
24
|
variantMap: SliderSlotRecipeVariantMap
|
|
22
25
|
variantKeys: Array<keyof SliderSlotRecipeVariant>
|
|
@@ -51,6 +51,7 @@ export const sliderSlotRecipe = /* @__PURE__ */ Object.assign(sliderSlotRecipeFn
|
|
|
51
51
|
__recipe__: false,
|
|
52
52
|
__name__: 'sliderSlotRecipe',
|
|
53
53
|
raw: (props) => props,
|
|
54
|
+
classNameMap: {},
|
|
54
55
|
variantKeys: sliderSlotRecipeVariantKeys,
|
|
55
56
|
variantMap: {},
|
|
56
57
|
splitVariantProps(props) {
|
|
@@ -13,11 +13,14 @@ type SpinnerRecipeVariantMap = {
|
|
|
13
13
|
[key in keyof SpinnerRecipeVariant]: Array<SpinnerRecipeVariant[key]>
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
|
|
17
|
+
|
|
16
18
|
export type SpinnerRecipeVariantProps = {
|
|
17
19
|
[key in keyof SpinnerRecipeVariant]?: ConditionalValue<SpinnerRecipeVariant[key]> | undefined
|
|
18
20
|
}
|
|
19
21
|
|
|
20
22
|
export interface SpinnerRecipeRecipe {
|
|
23
|
+
|
|
21
24
|
__type: SpinnerRecipeVariantProps
|
|
22
25
|
(props?: SpinnerRecipeVariantProps): string
|
|
23
26
|
raw: (props?: SpinnerRecipeVariantProps) => SpinnerRecipeVariantProps
|
|
@@ -10,13 +10,16 @@ type TabListSlotRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof TabListSlotRecipeVariant]: Array<TabListSlotRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type TabListSlotRecipeSlot = "root" | "list"
|
|
14
|
+
|
|
13
15
|
export type TabListSlotRecipeVariantProps = {
|
|
14
16
|
[key in keyof TabListSlotRecipeVariant]?: ConditionalValue<TabListSlotRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface TabListSlotRecipeRecipe {
|
|
20
|
+
__slot: TabListSlotRecipeSlot
|
|
18
21
|
__type: TabListSlotRecipeVariantProps
|
|
19
|
-
(props?: TabListSlotRecipeVariantProps): Pretty<Record<
|
|
22
|
+
(props?: TabListSlotRecipeVariantProps): Pretty<Record<TabListSlotRecipeSlot, string>>
|
|
20
23
|
raw: (props?: TabListSlotRecipeVariantProps) => TabListSlotRecipeVariantProps
|
|
21
24
|
variantMap: TabListSlotRecipeVariantMap
|
|
22
25
|
variantKeys: Array<keyof TabListSlotRecipeVariant>
|
|
@@ -27,6 +27,7 @@ export const tabListSlotRecipe = /* @__PURE__ */ Object.assign(tabListSlotRecipe
|
|
|
27
27
|
__recipe__: false,
|
|
28
28
|
__name__: 'tabListSlotRecipe',
|
|
29
29
|
raw: (props) => props,
|
|
30
|
+
classNameMap: {},
|
|
30
31
|
variantKeys: tabListSlotRecipeVariantKeys,
|
|
31
32
|
variantMap: {},
|
|
32
33
|
splitVariantProps(props) {
|
package/recipes/tab-recipe.d.ts
CHANGED
|
@@ -17,11 +17,14 @@ type TabRecipeVariantMap = {
|
|
|
17
17
|
[key in keyof TabRecipeVariant]: Array<TabRecipeVariant[key]>
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
|
|
21
|
+
|
|
20
22
|
export type TabRecipeVariantProps = {
|
|
21
23
|
[key in keyof TabRecipeVariant]?: TabRecipeVariant[key] | undefined
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
export interface TabRecipeRecipe {
|
|
27
|
+
|
|
25
28
|
__type: TabRecipeVariantProps
|
|
26
29
|
(props?: TabRecipeVariantProps): string
|
|
27
30
|
raw: (props?: TabRecipeVariantProps) => TabRecipeVariantProps
|
|
@@ -17,11 +17,14 @@ type TabSelectedBorderRecipeVariantMap = {
|
|
|
17
17
|
[key in keyof TabSelectedBorderRecipeVariant]: Array<TabSelectedBorderRecipeVariant[key]>
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
|
|
21
|
+
|
|
20
22
|
export type TabSelectedBorderRecipeVariantProps = {
|
|
21
23
|
[key in keyof TabSelectedBorderRecipeVariant]?: TabSelectedBorderRecipeVariant[key] | undefined
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
export interface TabSelectedBorderRecipeRecipe {
|
|
27
|
+
|
|
25
28
|
__type: TabSelectedBorderRecipeVariantProps
|
|
26
29
|
(props?: TabSelectedBorderRecipeVariantProps): string
|
|
27
30
|
raw: (props?: TabSelectedBorderRecipeVariantProps) => TabSelectedBorderRecipeVariantProps
|
|
@@ -10,11 +10,14 @@ type TableContainerRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof TableContainerRecipeVariant]: Array<TableContainerRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
|
|
14
|
+
|
|
13
15
|
export type TableContainerRecipeVariantProps = {
|
|
14
16
|
[key in keyof TableContainerRecipeVariant]?: ConditionalValue<TableContainerRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface TableContainerRecipeRecipe {
|
|
20
|
+
|
|
18
21
|
__type: TableContainerRecipeVariantProps
|
|
19
22
|
(props?: TableContainerRecipeVariantProps): string
|
|
20
23
|
raw: (props?: TableContainerRecipeVariantProps) => TableContainerRecipeVariantProps
|
|
@@ -10,13 +10,16 @@ type TableDateSlotRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof TableDateSlotRecipeVariant]: Array<TableDateSlotRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type TableDateSlotRecipeSlot = "headerRoot" | "headerLabel" | "dayWrapper" | "dateItemRoot" | "dateItemWrapper" | "shortcutLabelWrapper"
|
|
14
|
+
|
|
13
15
|
export type TableDateSlotRecipeVariantProps = {
|
|
14
16
|
[key in keyof TableDateSlotRecipeVariant]?: ConditionalValue<TableDateSlotRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface TableDateSlotRecipeRecipe {
|
|
20
|
+
__slot: TableDateSlotRecipeSlot
|
|
18
21
|
__type: TableDateSlotRecipeVariantProps
|
|
19
|
-
(props?: TableDateSlotRecipeVariantProps): Pretty<Record<
|
|
22
|
+
(props?: TableDateSlotRecipeVariantProps): Pretty<Record<TableDateSlotRecipeSlot, string>>
|
|
20
23
|
raw: (props?: TableDateSlotRecipeVariantProps) => TableDateSlotRecipeVariantProps
|
|
21
24
|
variantMap: TableDateSlotRecipeVariantMap
|
|
22
25
|
variantKeys: Array<keyof TableDateSlotRecipeVariant>
|
|
@@ -43,6 +43,7 @@ export const tableDateSlotRecipe = /* @__PURE__ */ Object.assign(tableDateSlotRe
|
|
|
43
43
|
__recipe__: false,
|
|
44
44
|
__name__: 'tableDateSlotRecipe',
|
|
45
45
|
raw: (props) => props,
|
|
46
|
+
classNameMap: {},
|
|
46
47
|
variantKeys: tableDateSlotRecipeVariantKeys,
|
|
47
48
|
variantMap: {},
|
|
48
49
|
splitVariantProps(props) {
|
|
@@ -10,13 +10,16 @@ type TableMonthSlotRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof TableMonthSlotRecipeVariant]: Array<TableMonthSlotRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type TableMonthSlotRecipeSlot = "headerRoot" | "headerLabel" | "monthItemRoot" | "monthItemWrapper" | "shortcutLabelWrapper"
|
|
14
|
+
|
|
13
15
|
export type TableMonthSlotRecipeVariantProps = {
|
|
14
16
|
[key in keyof TableMonthSlotRecipeVariant]?: ConditionalValue<TableMonthSlotRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface TableMonthSlotRecipeRecipe {
|
|
20
|
+
__slot: TableMonthSlotRecipeSlot
|
|
18
21
|
__type: TableMonthSlotRecipeVariantProps
|
|
19
|
-
(props?: TableMonthSlotRecipeVariantProps): Pretty<Record<
|
|
22
|
+
(props?: TableMonthSlotRecipeVariantProps): Pretty<Record<TableMonthSlotRecipeSlot, string>>
|
|
20
23
|
raw: (props?: TableMonthSlotRecipeVariantProps) => TableMonthSlotRecipeVariantProps
|
|
21
24
|
variantMap: TableMonthSlotRecipeVariantMap
|
|
22
25
|
variantKeys: Array<keyof TableMonthSlotRecipeVariant>
|
|
@@ -39,6 +39,7 @@ export const tableMonthSlotRecipe = /* @__PURE__ */ Object.assign(tableMonthSlot
|
|
|
39
39
|
__recipe__: false,
|
|
40
40
|
__name__: 'tableMonthSlotRecipe',
|
|
41
41
|
raw: (props) => props,
|
|
42
|
+
classNameMap: {},
|
|
42
43
|
variantKeys: tableMonthSlotRecipeVariantKeys,
|
|
43
44
|
variantMap: {},
|
|
44
45
|
splitVariantProps(props) {
|
|
@@ -10,11 +10,14 @@ type TableRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof TableRecipeVariant]: Array<TableRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
|
|
14
|
+
|
|
13
15
|
export type TableRecipeVariantProps = {
|
|
14
16
|
[key in keyof TableRecipeVariant]?: ConditionalValue<TableRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface TableRecipeRecipe {
|
|
20
|
+
|
|
18
21
|
__type: TableRecipeVariantProps
|
|
19
22
|
(props?: TableRecipeVariantProps): string
|
|
20
23
|
raw: (props?: TableRecipeVariantProps) => TableRecipeVariantProps
|
|
@@ -10,13 +10,16 @@ type TableYearSlotRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof TableYearSlotRecipeVariant]: Array<TableYearSlotRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type TableYearSlotRecipeSlot = "headerRoot" | "headerLabel" | "yearItemRoot" | "yearItemWrapper" | "shortcutLabelWrapper"
|
|
14
|
+
|
|
13
15
|
export type TableYearSlotRecipeVariantProps = {
|
|
14
16
|
[key in keyof TableYearSlotRecipeVariant]?: ConditionalValue<TableYearSlotRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface TableYearSlotRecipeRecipe {
|
|
20
|
+
__slot: TableYearSlotRecipeSlot
|
|
18
21
|
__type: TableYearSlotRecipeVariantProps
|
|
19
|
-
(props?: TableYearSlotRecipeVariantProps): Pretty<Record<
|
|
22
|
+
(props?: TableYearSlotRecipeVariantProps): Pretty<Record<TableYearSlotRecipeSlot, string>>
|
|
20
23
|
raw: (props?: TableYearSlotRecipeVariantProps) => TableYearSlotRecipeVariantProps
|
|
21
24
|
variantMap: TableYearSlotRecipeVariantMap
|
|
22
25
|
variantKeys: Array<keyof TableYearSlotRecipeVariant>
|
|
@@ -39,6 +39,7 @@ export const tableYearSlotRecipe = /* @__PURE__ */ Object.assign(tableYearSlotRe
|
|
|
39
39
|
__recipe__: false,
|
|
40
40
|
__name__: 'tableYearSlotRecipe',
|
|
41
41
|
raw: (props) => props,
|
|
42
|
+
classNameMap: {},
|
|
42
43
|
variantKeys: tableYearSlotRecipeVariantKeys,
|
|
43
44
|
variantMap: {},
|
|
44
45
|
splitVariantProps(props) {
|
|
@@ -17,13 +17,16 @@ type TagSlotRecipeVariantMap = {
|
|
|
17
17
|
[key in keyof TagSlotRecipeVariant]: Array<TagSlotRecipeVariant[key]>
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
type TagSlotRecipeSlot = "root" | "close"
|
|
21
|
+
|
|
20
22
|
export type TagSlotRecipeVariantProps = {
|
|
21
23
|
[key in keyof TagSlotRecipeVariant]?: TagSlotRecipeVariant[key] | undefined
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
export interface TagSlotRecipeRecipe {
|
|
27
|
+
__slot: TagSlotRecipeSlot
|
|
25
28
|
__type: TagSlotRecipeVariantProps
|
|
26
|
-
(props?: TagSlotRecipeVariantProps): Pretty<Record<
|
|
29
|
+
(props?: TagSlotRecipeVariantProps): Pretty<Record<TagSlotRecipeSlot, string>>
|
|
27
30
|
raw: (props?: TagSlotRecipeVariantProps) => TagSlotRecipeVariantProps
|
|
28
31
|
variantMap: TagSlotRecipeVariantMap
|
|
29
32
|
variantKeys: Array<keyof TagSlotRecipeVariant>
|