@mekari/pixel3-styled-system 0.1.6 → 0.1.7
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 AvatarGroupSlotRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof AvatarGroupSlotRecipeVariant]: Array<AvatarGroupSlotRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type AvatarGroupSlotRecipeSlot = "root" | "excess"
|
|
14
|
+
|
|
13
15
|
export type AvatarGroupSlotRecipeVariantProps = {
|
|
14
16
|
[key in keyof AvatarGroupSlotRecipeVariant]?: ConditionalValue<AvatarGroupSlotRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface AvatarGroupSlotRecipeRecipe {
|
|
20
|
+
__slot: AvatarGroupSlotRecipeSlot
|
|
18
21
|
__type: AvatarGroupSlotRecipeVariantProps
|
|
19
|
-
(props?: AvatarGroupSlotRecipeVariantProps): Pretty<Record<
|
|
22
|
+
(props?: AvatarGroupSlotRecipeVariantProps): Pretty<Record<AvatarGroupSlotRecipeSlot, string>>
|
|
20
23
|
raw: (props?: AvatarGroupSlotRecipeVariantProps) => AvatarGroupSlotRecipeVariantProps
|
|
21
24
|
variantMap: AvatarGroupSlotRecipeVariantMap
|
|
22
25
|
variantKeys: Array<keyof AvatarGroupSlotRecipeVariant>
|
|
@@ -29,6 +29,7 @@ export const avatarGroupSlotRecipe = /* @__PURE__ */ Object.assign(avatarGroupSl
|
|
|
29
29
|
__recipe__: false,
|
|
30
30
|
__name__: 'avatarGroupSlotRecipe',
|
|
31
31
|
raw: (props) => props,
|
|
32
|
+
classNameMap: {},
|
|
32
33
|
variantKeys: avatarGroupSlotRecipeVariantKeys,
|
|
33
34
|
variantMap: {
|
|
34
35
|
"size": [
|
|
@@ -19,13 +19,16 @@ type AvatarSlotRecipeVariantMap = {
|
|
|
19
19
|
[key in keyof AvatarSlotRecipeVariant]: Array<AvatarSlotRecipeVariant[key]>
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
+
type AvatarSlotRecipeSlot = "root" | "fallback" | "image" | "icon"
|
|
23
|
+
|
|
22
24
|
export type AvatarSlotRecipeVariantProps = {
|
|
23
25
|
[key in keyof AvatarSlotRecipeVariant]?: AvatarSlotRecipeVariant[key] | undefined
|
|
24
26
|
}
|
|
25
27
|
|
|
26
28
|
export interface AvatarSlotRecipeRecipe {
|
|
29
|
+
__slot: AvatarSlotRecipeSlot
|
|
27
30
|
__type: AvatarSlotRecipeVariantProps
|
|
28
|
-
(props?: AvatarSlotRecipeVariantProps): Pretty<Record<
|
|
31
|
+
(props?: AvatarSlotRecipeVariantProps): Pretty<Record<AvatarSlotRecipeSlot, string>>
|
|
29
32
|
raw: (props?: AvatarSlotRecipeVariantProps) => AvatarSlotRecipeVariantProps
|
|
30
33
|
variantMap: AvatarSlotRecipeVariantMap
|
|
31
34
|
variantKeys: Array<keyof AvatarSlotRecipeVariant>
|
|
@@ -21,11 +21,14 @@ type BadgeRecipeVariantMap = {
|
|
|
21
21
|
[key in keyof BadgeRecipeVariant]: Array<BadgeRecipeVariant[key]>
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
|
|
25
|
+
|
|
24
26
|
export type BadgeRecipeVariantProps = {
|
|
25
27
|
[key in keyof BadgeRecipeVariant]?: BadgeRecipeVariant[key] | undefined
|
|
26
28
|
}
|
|
27
29
|
|
|
28
30
|
export interface BadgeRecipeRecipe {
|
|
31
|
+
|
|
29
32
|
__type: BadgeRecipeVariantProps
|
|
30
33
|
(props?: BadgeRecipeVariantProps): string
|
|
31
34
|
raw: (props?: BadgeRecipeVariantProps) => BadgeRecipeVariantProps
|
|
@@ -10,11 +10,14 @@ type BannerCloseButtonRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof BannerCloseButtonRecipeVariant]: Array<BannerCloseButtonRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
|
|
14
|
+
|
|
13
15
|
export type BannerCloseButtonRecipeVariantProps = {
|
|
14
16
|
[key in keyof BannerCloseButtonRecipeVariant]?: ConditionalValue<BannerCloseButtonRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface BannerCloseButtonRecipeRecipe {
|
|
20
|
+
|
|
18
21
|
__type: BannerCloseButtonRecipeVariantProps
|
|
19
22
|
(props?: BannerCloseButtonRecipeVariantProps): string
|
|
20
23
|
raw: (props?: BannerCloseButtonRecipeVariantProps) => BannerCloseButtonRecipeVariantProps
|
|
@@ -10,11 +10,14 @@ type BannerDescriptionRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof BannerDescriptionRecipeVariant]: Array<BannerDescriptionRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
|
|
14
|
+
|
|
13
15
|
export type BannerDescriptionRecipeVariantProps = {
|
|
14
16
|
[key in keyof BannerDescriptionRecipeVariant]?: ConditionalValue<BannerDescriptionRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface BannerDescriptionRecipeRecipe {
|
|
20
|
+
|
|
18
21
|
__type: BannerDescriptionRecipeVariantProps
|
|
19
22
|
(props?: BannerDescriptionRecipeVariantProps): string
|
|
20
23
|
raw: (props?: BannerDescriptionRecipeVariantProps) => BannerDescriptionRecipeVariantProps
|
|
@@ -10,13 +10,16 @@ type BannerIconSlotRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof BannerIconSlotRecipeVariant]: Array<BannerIconSlotRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type BannerIconSlotRecipeSlot = "root" | "custom"
|
|
14
|
+
|
|
13
15
|
export type BannerIconSlotRecipeVariantProps = {
|
|
14
16
|
[key in keyof BannerIconSlotRecipeVariant]?: ConditionalValue<BannerIconSlotRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface BannerIconSlotRecipeRecipe {
|
|
20
|
+
__slot: BannerIconSlotRecipeSlot
|
|
18
21
|
__type: BannerIconSlotRecipeVariantProps
|
|
19
|
-
(props?: BannerIconSlotRecipeVariantProps): Pretty<Record<
|
|
22
|
+
(props?: BannerIconSlotRecipeVariantProps): Pretty<Record<BannerIconSlotRecipeSlot, string>>
|
|
20
23
|
raw: (props?: BannerIconSlotRecipeVariantProps) => BannerIconSlotRecipeVariantProps
|
|
21
24
|
variantMap: BannerIconSlotRecipeVariantMap
|
|
22
25
|
variantKeys: Array<keyof BannerIconSlotRecipeVariant>
|
|
@@ -27,6 +27,7 @@ export const bannerIconSlotRecipe = /* @__PURE__ */ Object.assign(bannerIconSlot
|
|
|
27
27
|
__recipe__: false,
|
|
28
28
|
__name__: 'bannerIconSlotRecipe',
|
|
29
29
|
raw: (props) => props,
|
|
30
|
+
classNameMap: {},
|
|
30
31
|
variantKeys: bannerIconSlotRecipeVariantKeys,
|
|
31
32
|
variantMap: {},
|
|
32
33
|
splitVariantProps(props) {
|
|
@@ -10,11 +10,14 @@ type BannerLinkRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof BannerLinkRecipeVariant]: Array<BannerLinkRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
|
|
14
|
+
|
|
13
15
|
export type BannerLinkRecipeVariantProps = {
|
|
14
16
|
[key in keyof BannerLinkRecipeVariant]?: ConditionalValue<BannerLinkRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface BannerLinkRecipeRecipe {
|
|
20
|
+
|
|
18
21
|
__type: BannerLinkRecipeVariantProps
|
|
19
22
|
(props?: BannerLinkRecipeVariantProps): string
|
|
20
23
|
raw: (props?: BannerLinkRecipeVariantProps) => BannerLinkRecipeVariantProps
|
|
@@ -13,13 +13,16 @@ type BannerSlotRecipeVariantMap = {
|
|
|
13
13
|
[key in keyof BannerSlotRecipeVariant]: Array<BannerSlotRecipeVariant[key]>
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
type BannerSlotRecipeSlot = "root" | "body"
|
|
17
|
+
|
|
16
18
|
export type BannerSlotRecipeVariantProps = {
|
|
17
19
|
[key in keyof BannerSlotRecipeVariant]?: ConditionalValue<BannerSlotRecipeVariant[key]> | undefined
|
|
18
20
|
}
|
|
19
21
|
|
|
20
22
|
export interface BannerSlotRecipeRecipe {
|
|
23
|
+
__slot: BannerSlotRecipeSlot
|
|
21
24
|
__type: BannerSlotRecipeVariantProps
|
|
22
|
-
(props?: BannerSlotRecipeVariantProps): Pretty<Record<
|
|
25
|
+
(props?: BannerSlotRecipeVariantProps): Pretty<Record<BannerSlotRecipeSlot, string>>
|
|
23
26
|
raw: (props?: BannerSlotRecipeVariantProps) => BannerSlotRecipeVariantProps
|
|
24
27
|
variantMap: BannerSlotRecipeVariantMap
|
|
25
28
|
variantKeys: Array<keyof BannerSlotRecipeVariant>
|
|
@@ -10,11 +10,14 @@ type BannerTitleRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof BannerTitleRecipeVariant]: Array<BannerTitleRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
|
|
14
|
+
|
|
13
15
|
export type BannerTitleRecipeVariantProps = {
|
|
14
16
|
[key in keyof BannerTitleRecipeVariant]?: ConditionalValue<BannerTitleRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface BannerTitleRecipeRecipe {
|
|
20
|
+
|
|
18
21
|
__type: BannerTitleRecipeVariantProps
|
|
19
22
|
(props?: BannerTitleRecipeVariantProps): string
|
|
20
23
|
raw: (props?: BannerTitleRecipeVariantProps) => BannerTitleRecipeVariantProps
|
|
@@ -13,13 +13,16 @@ type BroadcastSlotRecipeVariantMap = {
|
|
|
13
13
|
[key in keyof BroadcastSlotRecipeVariant]: Array<BroadcastSlotRecipeVariant[key]>
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
type BroadcastSlotRecipeSlot = "root" | "container" | "wrapper" | "icon" | "label" | "textLink" | "action" | "close"
|
|
17
|
+
|
|
16
18
|
export type BroadcastSlotRecipeVariantProps = {
|
|
17
19
|
[key in keyof BroadcastSlotRecipeVariant]?: ConditionalValue<BroadcastSlotRecipeVariant[key]> | undefined
|
|
18
20
|
}
|
|
19
21
|
|
|
20
22
|
export interface BroadcastSlotRecipeRecipe {
|
|
23
|
+
__slot: BroadcastSlotRecipeSlot
|
|
21
24
|
__type: BroadcastSlotRecipeVariantProps
|
|
22
|
-
(props?: BroadcastSlotRecipeVariantProps): Pretty<Record<
|
|
25
|
+
(props?: BroadcastSlotRecipeVariantProps): Pretty<Record<BroadcastSlotRecipeSlot, string>>
|
|
23
26
|
raw: (props?: BroadcastSlotRecipeVariantProps) => BroadcastSlotRecipeVariantProps
|
|
24
27
|
variantMap: BroadcastSlotRecipeVariantMap
|
|
25
28
|
variantKeys: Array<keyof BroadcastSlotRecipeVariant>
|
|
@@ -55,6 +55,7 @@ export const broadcastSlotRecipe = /* @__PURE__ */ Object.assign(broadcastSlotRe
|
|
|
55
55
|
__recipe__: false,
|
|
56
56
|
__name__: 'broadcastSlotRecipe',
|
|
57
57
|
raw: (props) => props,
|
|
58
|
+
classNameMap: {},
|
|
58
59
|
variantKeys: broadcastSlotRecipeVariantKeys,
|
|
59
60
|
variantMap: {
|
|
60
61
|
"variant": [
|
|
@@ -10,11 +10,14 @@ type ButtonGroupRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof ButtonGroupRecipeVariant]: Array<ButtonGroupRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
|
|
14
|
+
|
|
13
15
|
export type ButtonGroupRecipeVariantProps = {
|
|
14
16
|
[key in keyof ButtonGroupRecipeVariant]?: ConditionalValue<ButtonGroupRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface ButtonGroupRecipeRecipe {
|
|
20
|
+
|
|
18
21
|
__type: ButtonGroupRecipeVariantProps
|
|
19
22
|
(props?: ButtonGroupRecipeVariantProps): string
|
|
20
23
|
raw: (props?: ButtonGroupRecipeVariantProps) => ButtonGroupRecipeVariantProps
|
|
@@ -17,11 +17,14 @@ type ButtonRecipeVariantMap = {
|
|
|
17
17
|
[key in keyof ButtonRecipeVariant]: Array<ButtonRecipeVariant[key]>
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
|
|
21
|
+
|
|
20
22
|
export type ButtonRecipeVariantProps = {
|
|
21
23
|
[key in keyof ButtonRecipeVariant]?: ButtonRecipeVariant[key] | undefined
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
export interface ButtonRecipeRecipe {
|
|
27
|
+
|
|
25
28
|
__type: ButtonRecipeVariantProps
|
|
26
29
|
(props?: ButtonRecipeVariantProps): string
|
|
27
30
|
raw: (props?: ButtonRecipeVariantProps) => ButtonRecipeVariantProps
|
|
@@ -10,11 +10,14 @@ type CalendarPanelRangeRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof CalendarPanelRangeRecipeVariant]: Array<CalendarPanelRangeRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
|
|
14
|
+
|
|
13
15
|
export type CalendarPanelRangeRecipeVariantProps = {
|
|
14
16
|
[key in keyof CalendarPanelRangeRecipeVariant]?: ConditionalValue<CalendarPanelRangeRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface CalendarPanelRangeRecipeRecipe {
|
|
20
|
+
|
|
18
21
|
__type: CalendarPanelRangeRecipeVariantProps
|
|
19
22
|
(props?: CalendarPanelRangeRecipeVariantProps): string
|
|
20
23
|
raw: (props?: CalendarPanelRangeRecipeVariantProps) => CalendarPanelRangeRecipeVariantProps
|
|
@@ -10,13 +10,16 @@ type CarouselSlotRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof CarouselSlotRecipeVariant]: Array<CarouselSlotRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type CarouselSlotRecipeSlot = "root" | "buttonRight" | "buttonLeft"
|
|
14
|
+
|
|
13
15
|
export type CarouselSlotRecipeVariantProps = {
|
|
14
16
|
[key in keyof CarouselSlotRecipeVariant]?: ConditionalValue<CarouselSlotRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface CarouselSlotRecipeRecipe {
|
|
20
|
+
__slot: CarouselSlotRecipeSlot
|
|
18
21
|
__type: CarouselSlotRecipeVariantProps
|
|
19
|
-
(props?: CarouselSlotRecipeVariantProps): Pretty<Record<
|
|
22
|
+
(props?: CarouselSlotRecipeVariantProps): Pretty<Record<CarouselSlotRecipeSlot, string>>
|
|
20
23
|
raw: (props?: CarouselSlotRecipeVariantProps) => CarouselSlotRecipeVariantProps
|
|
21
24
|
variantMap: CarouselSlotRecipeVariantMap
|
|
22
25
|
variantKeys: Array<keyof CarouselSlotRecipeVariant>
|
|
@@ -31,6 +31,7 @@ export const carouselSlotRecipe = /* @__PURE__ */ Object.assign(carouselSlotReci
|
|
|
31
31
|
__recipe__: false,
|
|
32
32
|
__name__: 'carouselSlotRecipe',
|
|
33
33
|
raw: (props) => props,
|
|
34
|
+
classNameMap: {},
|
|
34
35
|
variantKeys: carouselSlotRecipeVariantKeys,
|
|
35
36
|
variantMap: {},
|
|
36
37
|
splitVariantProps(props) {
|
|
@@ -10,13 +10,16 @@ type ChartSlotRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof ChartSlotRecipeVariant]: Array<ChartSlotRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type ChartSlotRecipeSlot = "root" | "chartHeader" | "chartWrapper" | "chartContainer" | "canvasContainer" | "chartLegend" | "legendWrapper" | "legendBox" | "chartTooltip" | "tooltipWrapper" | "tooltipRow" | "tooltipItem" | "tooltipBox"
|
|
14
|
+
|
|
13
15
|
export type ChartSlotRecipeVariantProps = {
|
|
14
16
|
[key in keyof ChartSlotRecipeVariant]?: ConditionalValue<ChartSlotRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface ChartSlotRecipeRecipe {
|
|
20
|
+
__slot: ChartSlotRecipeSlot
|
|
18
21
|
__type: ChartSlotRecipeVariantProps
|
|
19
|
-
(props?: ChartSlotRecipeVariantProps): Pretty<Record<
|
|
22
|
+
(props?: ChartSlotRecipeVariantProps): Pretty<Record<ChartSlotRecipeSlot, string>>
|
|
20
23
|
raw: (props?: ChartSlotRecipeVariantProps) => ChartSlotRecipeVariantProps
|
|
21
24
|
variantMap: ChartSlotRecipeVariantMap
|
|
22
25
|
variantKeys: Array<keyof ChartSlotRecipeVariant>
|
|
@@ -71,6 +71,7 @@ export const chartSlotRecipe = /* @__PURE__ */ Object.assign(chartSlotRecipeFn,
|
|
|
71
71
|
__recipe__: false,
|
|
72
72
|
__name__: 'chartSlotRecipe',
|
|
73
73
|
raw: (props) => props,
|
|
74
|
+
classNameMap: {},
|
|
74
75
|
variantKeys: chartSlotRecipeVariantKeys,
|
|
75
76
|
variantMap: {},
|
|
76
77
|
splitVariantProps(props) {
|
|
@@ -10,13 +10,16 @@ type CheckboxSlotRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof CheckboxSlotRecipeVariant]: Array<CheckboxSlotRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type CheckboxSlotRecipeSlot = "root" | "control" | "label"
|
|
14
|
+
|
|
13
15
|
export type CheckboxSlotRecipeVariantProps = {
|
|
14
16
|
[key in keyof CheckboxSlotRecipeVariant]?: ConditionalValue<CheckboxSlotRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface CheckboxSlotRecipeRecipe {
|
|
20
|
+
__slot: CheckboxSlotRecipeSlot
|
|
18
21
|
__type: CheckboxSlotRecipeVariantProps
|
|
19
|
-
(props?: CheckboxSlotRecipeVariantProps): Pretty<Record<
|
|
22
|
+
(props?: CheckboxSlotRecipeVariantProps): Pretty<Record<CheckboxSlotRecipeSlot, string>>
|
|
20
23
|
raw: (props?: CheckboxSlotRecipeVariantProps) => CheckboxSlotRecipeVariantProps
|
|
21
24
|
variantMap: CheckboxSlotRecipeVariantMap
|
|
22
25
|
variantKeys: Array<keyof CheckboxSlotRecipeVariant>
|
|
@@ -31,6 +31,7 @@ export const checkboxSlotRecipe = /* @__PURE__ */ Object.assign(checkboxSlotReci
|
|
|
31
31
|
__recipe__: false,
|
|
32
32
|
__name__: 'checkboxSlotRecipe',
|
|
33
33
|
raw: (props) => props,
|
|
34
|
+
classNameMap: {},
|
|
34
35
|
variantKeys: checkboxSlotRecipeVariantKeys,
|
|
35
36
|
variantMap: {},
|
|
36
37
|
splitVariantProps(props) {
|
|
@@ -10,13 +10,16 @@ type ColorPickerSlotRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof ColorPickerSlotRecipeVariant]: Array<ColorPickerSlotRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type ColorPickerSlotRecipeSlot = "root" | "popoverTrigger" | "boxColor" | "inputTrigger" | "iconDropdown" | "popoverContent" | "wrapperAdvance" | "wrapperBasic" | "wrapperSaturation" | "wrapperHue" | "wrapperInput" | "boxPreset" | "wrapperPreset" | "wrapperBasicPreset"
|
|
14
|
+
|
|
13
15
|
export type ColorPickerSlotRecipeVariantProps = {
|
|
14
16
|
[key in keyof ColorPickerSlotRecipeVariant]?: ConditionalValue<ColorPickerSlotRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface ColorPickerSlotRecipeRecipe {
|
|
20
|
+
__slot: ColorPickerSlotRecipeSlot
|
|
18
21
|
__type: ColorPickerSlotRecipeVariantProps
|
|
19
|
-
(props?: ColorPickerSlotRecipeVariantProps): Pretty<Record<
|
|
22
|
+
(props?: ColorPickerSlotRecipeVariantProps): Pretty<Record<ColorPickerSlotRecipeSlot, string>>
|
|
20
23
|
raw: (props?: ColorPickerSlotRecipeVariantProps) => ColorPickerSlotRecipeVariantProps
|
|
21
24
|
variantMap: ColorPickerSlotRecipeVariantMap
|
|
22
25
|
variantKeys: Array<keyof ColorPickerSlotRecipeVariant>
|
|
@@ -75,6 +75,7 @@ export const colorPickerSlotRecipe = /* @__PURE__ */ Object.assign(colorPickerSl
|
|
|
75
75
|
__recipe__: false,
|
|
76
76
|
__name__: 'colorPickerSlotRecipe',
|
|
77
77
|
raw: (props) => props,
|
|
78
|
+
classNameMap: {},
|
|
78
79
|
variantKeys: colorPickerSlotRecipeVariantKeys,
|
|
79
80
|
variantMap: {},
|
|
80
81
|
splitVariantProps(props) {
|
|
@@ -10,11 +10,14 @@ type DateItemRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof DateItemRecipeVariant]: Array<DateItemRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
|
|
14
|
+
|
|
13
15
|
export type DateItemRecipeVariantProps = {
|
|
14
16
|
[key in keyof DateItemRecipeVariant]?: ConditionalValue<DateItemRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface DateItemRecipeRecipe {
|
|
20
|
+
|
|
18
21
|
__type: DateItemRecipeVariantProps
|
|
19
22
|
(props?: DateItemRecipeVariantProps): string
|
|
20
23
|
raw: (props?: DateItemRecipeVariantProps) => DateItemRecipeVariantProps
|
|
@@ -10,13 +10,16 @@ type DatePickerSlotRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof DatePickerSlotRecipeVariant]: Array<DatePickerSlotRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type DatePickerSlotRecipeSlot = "root" | "popoverContent"
|
|
14
|
+
|
|
13
15
|
export type DatePickerSlotRecipeVariantProps = {
|
|
14
16
|
[key in keyof DatePickerSlotRecipeVariant]?: ConditionalValue<DatePickerSlotRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface DatePickerSlotRecipeRecipe {
|
|
20
|
+
__slot: DatePickerSlotRecipeSlot
|
|
18
21
|
__type: DatePickerSlotRecipeVariantProps
|
|
19
|
-
(props?: DatePickerSlotRecipeVariantProps): Pretty<Record<
|
|
22
|
+
(props?: DatePickerSlotRecipeVariantProps): Pretty<Record<DatePickerSlotRecipeSlot, string>>
|
|
20
23
|
raw: (props?: DatePickerSlotRecipeVariantProps) => DatePickerSlotRecipeVariantProps
|
|
21
24
|
variantMap: DatePickerSlotRecipeVariantMap
|
|
22
25
|
variantKeys: Array<keyof DatePickerSlotRecipeVariant>
|
|
@@ -29,6 +29,7 @@ export const datePickerSlotRecipe = /* @__PURE__ */ Object.assign(datePickerSlot
|
|
|
29
29
|
__recipe__: false,
|
|
30
30
|
__name__: 'datePickerSlotRecipe',
|
|
31
31
|
raw: (props) => props,
|
|
32
|
+
classNameMap: {},
|
|
32
33
|
variantKeys: datePickerSlotRecipeVariantKeys,
|
|
33
34
|
variantMap: {
|
|
34
35
|
"variant": [
|
|
@@ -10,11 +10,14 @@ type DayItemRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof DayItemRecipeVariant]: Array<DayItemRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
|
|
14
|
+
|
|
13
15
|
export type DayItemRecipeVariantProps = {
|
|
14
16
|
[key in keyof DayItemRecipeVariant]?: ConditionalValue<DayItemRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface DayItemRecipeRecipe {
|
|
20
|
+
|
|
18
21
|
__type: DayItemRecipeVariantProps
|
|
19
22
|
(props?: DayItemRecipeVariantProps): string
|
|
20
23
|
raw: (props?: DayItemRecipeVariantProps) => DayItemRecipeVariantProps
|
|
@@ -10,13 +10,16 @@ type DividerSlotRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof DividerSlotRecipeVariant]: Array<DividerSlotRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type DividerSlotRecipeSlot = "root" | "label"
|
|
14
|
+
|
|
13
15
|
export type DividerSlotRecipeVariantProps = {
|
|
14
16
|
[key in keyof DividerSlotRecipeVariant]?: ConditionalValue<DividerSlotRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface DividerSlotRecipeRecipe {
|
|
20
|
+
__slot: DividerSlotRecipeSlot
|
|
18
21
|
__type: DividerSlotRecipeVariantProps
|
|
19
|
-
(props?: DividerSlotRecipeVariantProps): Pretty<Record<
|
|
22
|
+
(props?: DividerSlotRecipeVariantProps): Pretty<Record<DividerSlotRecipeSlot, string>>
|
|
20
23
|
raw: (props?: DividerSlotRecipeVariantProps) => DividerSlotRecipeVariantProps
|
|
21
24
|
variantMap: DividerSlotRecipeVariantMap
|
|
22
25
|
variantKeys: Array<keyof DividerSlotRecipeVariant>
|
|
@@ -27,6 +27,7 @@ export const dividerSlotRecipe = /* @__PURE__ */ Object.assign(dividerSlotRecipe
|
|
|
27
27
|
__recipe__: false,
|
|
28
28
|
__name__: 'dividerSlotRecipe',
|
|
29
29
|
raw: (props) => props,
|
|
30
|
+
classNameMap: {},
|
|
30
31
|
variantKeys: dividerSlotRecipeVariantKeys,
|
|
31
32
|
variantMap: {},
|
|
32
33
|
splitVariantProps(props) {
|
|
@@ -10,13 +10,16 @@ type DropzoneSlotRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof DropzoneSlotRecipeVariant]: Array<DropzoneSlotRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type DropzoneSlotRecipeSlot = "root" | "wrapper" | "box" | "logoBox" | "productBox" | "avatarBox" | "overlayWrapper" | "overlay" | "preview" | "overlayPreview" | "clearButton"
|
|
14
|
+
|
|
13
15
|
export type DropzoneSlotRecipeVariantProps = {
|
|
14
16
|
[key in keyof DropzoneSlotRecipeVariant]?: ConditionalValue<DropzoneSlotRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface DropzoneSlotRecipeRecipe {
|
|
20
|
+
__slot: DropzoneSlotRecipeSlot
|
|
18
21
|
__type: DropzoneSlotRecipeVariantProps
|
|
19
|
-
(props?: DropzoneSlotRecipeVariantProps): Pretty<Record<
|
|
22
|
+
(props?: DropzoneSlotRecipeVariantProps): Pretty<Record<DropzoneSlotRecipeSlot, string>>
|
|
20
23
|
raw: (props?: DropzoneSlotRecipeVariantProps) => DropzoneSlotRecipeVariantProps
|
|
21
24
|
variantMap: DropzoneSlotRecipeVariantMap
|
|
22
25
|
variantKeys: Array<keyof DropzoneSlotRecipeVariant>
|
|
@@ -63,6 +63,7 @@ export const dropzoneSlotRecipe = /* @__PURE__ */ Object.assign(dropzoneSlotReci
|
|
|
63
63
|
__recipe__: false,
|
|
64
64
|
__name__: 'dropzoneSlotRecipe',
|
|
65
65
|
raw: (props) => props,
|
|
66
|
+
classNameMap: {},
|
|
66
67
|
variantKeys: dropzoneSlotRecipeVariantKeys,
|
|
67
68
|
variantMap: {},
|
|
68
69
|
splitVariantProps(props) {
|
|
@@ -10,13 +10,16 @@ type FormControlSlotRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof FormControlSlotRecipeVariant]: Array<FormControlSlotRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type FormControlSlotRecipeSlot = "root" | "label" | "required" | "helpText" | "errorMessage"
|
|
14
|
+
|
|
13
15
|
export type FormControlSlotRecipeVariantProps = {
|
|
14
16
|
[key in keyof FormControlSlotRecipeVariant]?: ConditionalValue<FormControlSlotRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface FormControlSlotRecipeRecipe {
|
|
20
|
+
__slot: FormControlSlotRecipeSlot
|
|
18
21
|
__type: FormControlSlotRecipeVariantProps
|
|
19
|
-
(props?: FormControlSlotRecipeVariantProps): Pretty<Record<
|
|
22
|
+
(props?: FormControlSlotRecipeVariantProps): Pretty<Record<FormControlSlotRecipeSlot, string>>
|
|
20
23
|
raw: (props?: FormControlSlotRecipeVariantProps) => FormControlSlotRecipeVariantProps
|
|
21
24
|
variantMap: FormControlSlotRecipeVariantMap
|
|
22
25
|
variantKeys: Array<keyof FormControlSlotRecipeVariant>
|
|
@@ -39,6 +39,7 @@ export const formControlSlotRecipe = /* @__PURE__ */ Object.assign(formControlSl
|
|
|
39
39
|
__recipe__: false,
|
|
40
40
|
__name__: 'formControlSlotRecipe',
|
|
41
41
|
raw: (props) => props,
|
|
42
|
+
classNameMap: {},
|
|
42
43
|
variantKeys: formControlSlotRecipeVariantKeys,
|
|
43
44
|
variantMap: {},
|
|
44
45
|
splitVariantProps(props) {
|
package/recipes/icon-recipe.d.ts
CHANGED
|
@@ -13,11 +13,14 @@ type IconRecipeVariantMap = {
|
|
|
13
13
|
[key in keyof IconRecipeVariant]: Array<IconRecipeVariant[key]>
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
|
|
17
|
+
|
|
16
18
|
export type IconRecipeVariantProps = {
|
|
17
19
|
[key in keyof IconRecipeVariant]?: ConditionalValue<IconRecipeVariant[key]> | undefined
|
|
18
20
|
}
|
|
19
21
|
|
|
20
22
|
export interface IconRecipeRecipe {
|
|
23
|
+
|
|
21
24
|
__type: IconRecipeVariantProps
|
|
22
25
|
(props?: IconRecipeVariantProps): string
|
|
23
26
|
raw: (props?: IconRecipeVariantProps) => IconRecipeVariantProps
|
|
@@ -17,13 +17,16 @@ type InputAddonSlotRecipeVariantMap = {
|
|
|
17
17
|
[key in keyof InputAddonSlotRecipeVariant]: Array<InputAddonSlotRecipeVariant[key]>
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
type InputAddonSlotRecipeSlot = "root"
|
|
21
|
+
|
|
20
22
|
export type InputAddonSlotRecipeVariantProps = {
|
|
21
23
|
[key in keyof InputAddonSlotRecipeVariant]?: ConditionalValue<InputAddonSlotRecipeVariant[key]> | undefined
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
export interface InputAddonSlotRecipeRecipe {
|
|
27
|
+
__slot: InputAddonSlotRecipeSlot
|
|
25
28
|
__type: InputAddonSlotRecipeVariantProps
|
|
26
|
-
(props?: InputAddonSlotRecipeVariantProps): Pretty<Record<
|
|
29
|
+
(props?: InputAddonSlotRecipeVariantProps): Pretty<Record<InputAddonSlotRecipeSlot, string>>
|
|
27
30
|
raw: (props?: InputAddonSlotRecipeVariantProps) => InputAddonSlotRecipeVariantProps
|
|
28
31
|
variantMap: InputAddonSlotRecipeVariantMap
|
|
29
32
|
variantKeys: Array<keyof InputAddonSlotRecipeVariant>
|
|
@@ -29,6 +29,7 @@ export const inputAddonSlotRecipe = /* @__PURE__ */ Object.assign(inputAddonSlot
|
|
|
29
29
|
__recipe__: false,
|
|
30
30
|
__name__: 'inputAddonSlotRecipe',
|
|
31
31
|
raw: (props) => props,
|
|
32
|
+
classNameMap: {},
|
|
32
33
|
variantKeys: inputAddonSlotRecipeVariantKeys,
|
|
33
34
|
variantMap: {
|
|
34
35
|
"placement": [
|
|
@@ -10,13 +10,16 @@ type InputGroupSlotRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof InputGroupSlotRecipeVariant]: Array<InputGroupSlotRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type InputGroupSlotRecipeSlot = "root"
|
|
14
|
+
|
|
13
15
|
export type InputGroupSlotRecipeVariantProps = {
|
|
14
16
|
[key in keyof InputGroupSlotRecipeVariant]?: ConditionalValue<InputGroupSlotRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface InputGroupSlotRecipeRecipe {
|
|
20
|
+
__slot: InputGroupSlotRecipeSlot
|
|
18
21
|
__type: InputGroupSlotRecipeVariantProps
|
|
19
|
-
(props?: InputGroupSlotRecipeVariantProps): Pretty<Record<
|
|
22
|
+
(props?: InputGroupSlotRecipeVariantProps): Pretty<Record<InputGroupSlotRecipeSlot, string>>
|
|
20
23
|
raw: (props?: InputGroupSlotRecipeVariantProps) => InputGroupSlotRecipeVariantProps
|
|
21
24
|
variantMap: InputGroupSlotRecipeVariantMap
|
|
22
25
|
variantKeys: Array<keyof InputGroupSlotRecipeVariant>
|
|
@@ -23,6 +23,7 @@ export const inputGroupSlotRecipe = /* @__PURE__ */ Object.assign(inputGroupSlot
|
|
|
23
23
|
__recipe__: false,
|
|
24
24
|
__name__: 'inputGroupSlotRecipe',
|
|
25
25
|
raw: (props) => props,
|
|
26
|
+
classNameMap: {},
|
|
26
27
|
variantKeys: inputGroupSlotRecipeVariantKeys,
|
|
27
28
|
variantMap: {},
|
|
28
29
|
splitVariantProps(props) {
|
|
@@ -17,13 +17,16 @@ type InputSlotRecipeVariantMap = {
|
|
|
17
17
|
[key in keyof InputSlotRecipeVariant]: Array<InputSlotRecipeVariant[key]>
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
type InputSlotRecipeSlot = "root" | "control" | "clear"
|
|
21
|
+
|
|
20
22
|
export type InputSlotRecipeVariantProps = {
|
|
21
23
|
[key in keyof InputSlotRecipeVariant]?: ConditionalValue<InputSlotRecipeVariant[key]> | undefined
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
export interface InputSlotRecipeRecipe {
|
|
27
|
+
__slot: InputSlotRecipeSlot
|
|
25
28
|
__type: InputSlotRecipeVariantProps
|
|
26
|
-
(props?: InputSlotRecipeVariantProps): Pretty<Record<
|
|
29
|
+
(props?: InputSlotRecipeVariantProps): Pretty<Record<InputSlotRecipeSlot, string>>
|
|
27
30
|
raw: (props?: InputSlotRecipeVariantProps) => InputSlotRecipeVariantProps
|
|
28
31
|
variantMap: InputSlotRecipeVariantMap
|
|
29
32
|
variantKeys: Array<keyof InputSlotRecipeVariant>
|