@stokelp/styled-system 2.92.0 → 2.94.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.
Files changed (152) hide show
  1. package/css/conditions.mjs +1 -1
  2. package/css/css.mjs +1 -1
  3. package/css/sva.mjs +9 -4
  4. package/helpers.mjs +12 -20
  5. package/jsx/create-style-context.d.ts +54 -0
  6. package/jsx/create-style-context.mjs +98 -0
  7. package/jsx/factory.mjs +14 -5
  8. package/jsx/index.d.ts +1 -0
  9. package/jsx/index.mjs +1 -0
  10. package/jsx/is-valid-prop.mjs +1 -1
  11. package/package.json +2 -2
  12. package/panda.buildinfo.json +18 -17
  13. package/patterns/aspect-ratio.d.ts +0 -1
  14. package/patterns/aspect-ratio.mjs +2 -2
  15. package/patterns/bleed.d.ts +0 -1
  16. package/patterns/bleed.mjs +3 -3
  17. package/patterns/box.d.ts +0 -1
  18. package/patterns/box.mjs +2 -2
  19. package/patterns/center.d.ts +0 -1
  20. package/patterns/center.mjs +3 -3
  21. package/patterns/circle.d.ts +0 -1
  22. package/patterns/circle.mjs +4 -4
  23. package/patterns/container.d.ts +0 -1
  24. package/patterns/container.mjs +2 -2
  25. package/patterns/cq.d.ts +0 -1
  26. package/patterns/cq.mjs +2 -2
  27. package/patterns/divider.d.ts +0 -1
  28. package/patterns/divider.mjs +2 -2
  29. package/patterns/flex.d.ts +0 -1
  30. package/patterns/flex.mjs +2 -2
  31. package/patterns/float.d.ts +0 -1
  32. package/patterns/float.mjs +5 -5
  33. package/patterns/grid-item.d.ts +0 -1
  34. package/patterns/grid-item.mjs +2 -2
  35. package/patterns/grid.d.ts +0 -1
  36. package/patterns/grid.mjs +4 -4
  37. package/patterns/hstack.d.ts +0 -1
  38. package/patterns/hstack.mjs +3 -3
  39. package/patterns/link-overlay.d.ts +0 -1
  40. package/patterns/link-overlay.mjs +3 -3
  41. package/patterns/spacer.d.ts +0 -1
  42. package/patterns/spacer.mjs +3 -3
  43. package/patterns/square.d.ts +0 -1
  44. package/patterns/square.mjs +4 -4
  45. package/patterns/stack.d.ts +0 -1
  46. package/patterns/stack.mjs +3 -3
  47. package/patterns/visually-hidden.d.ts +0 -1
  48. package/patterns/visually-hidden.mjs +2 -2
  49. package/patterns/vstack.d.ts +0 -1
  50. package/patterns/vstack.mjs +3 -3
  51. package/patterns/wrap.d.ts +0 -1
  52. package/patterns/wrap.mjs +2 -2
  53. package/recipes/accordion.d.ts +4 -1
  54. package/recipes/accordion.mjs +1 -0
  55. package/recipes/action-card.d.ts +4 -3
  56. package/recipes/action-card.mjs +1 -0
  57. package/recipes/alert.d.ts +4 -3
  58. package/recipes/alert.mjs +1 -0
  59. package/recipes/app-navigation-language-select.d.ts +4 -1
  60. package/recipes/app-navigation-language-select.mjs +1 -0
  61. package/recipes/app-navigation.d.ts +4 -3
  62. package/recipes/app-navigation.mjs +1 -0
  63. package/recipes/avatar-group.d.ts +3 -0
  64. package/recipes/avatar.d.ts +4 -1
  65. package/recipes/avatar.mjs +1 -0
  66. package/recipes/breadcrumb.d.ts +4 -1
  67. package/recipes/breadcrumb.mjs +1 -0
  68. package/recipes/button-filter.d.ts +3 -2
  69. package/recipes/button.d.ts +3 -2
  70. package/recipes/chat-document-message.d.ts +3 -2
  71. package/recipes/chat-message.d.ts +3 -2
  72. package/recipes/chat-profile-avatar.d.ts +3 -2
  73. package/recipes/chat-text-input.d.ts +3 -2
  74. package/recipes/chat.d.ts +4 -3
  75. package/recipes/chat.mjs +1 -0
  76. package/recipes/checkbox-card.d.ts +4 -1
  77. package/recipes/checkbox-card.mjs +1 -0
  78. package/recipes/checkbox-group.d.ts +3 -0
  79. package/recipes/checkbox.d.ts +4 -1
  80. package/recipes/checkbox.mjs +1 -0
  81. package/recipes/chip.d.ts +4 -3
  82. package/recipes/chip.mjs +1 -0
  83. package/recipes/collapsible.d.ts +4 -1
  84. package/recipes/collapsible.mjs +5 -0
  85. package/recipes/combobox.d.ts +4 -1
  86. package/recipes/combobox.mjs +5 -0
  87. package/recipes/datepicker.d.ts +4 -1
  88. package/recipes/datepicker.mjs +19 -14
  89. package/recipes/dialog.d.ts +4 -1
  90. package/recipes/dialog.mjs +1 -0
  91. package/recipes/drawer.d.ts +4 -1
  92. package/recipes/drawer.mjs +1 -0
  93. package/recipes/flag.d.ts +3 -0
  94. package/recipes/form-control.d.ts +3 -2
  95. package/recipes/form-helper-text.d.ts +3 -2
  96. package/recipes/form-label.d.ts +4 -3
  97. package/recipes/form-label.mjs +1 -0
  98. package/recipes/heading.d.ts +3 -0
  99. package/recipes/icon-button.d.ts +3 -2
  100. package/recipes/icon.d.ts +3 -0
  101. package/recipes/illustration.d.ts +3 -2
  102. package/recipes/input-addon.d.ts +3 -2
  103. package/recipes/input-group.d.ts +3 -2
  104. package/recipes/input.d.ts +3 -2
  105. package/recipes/menu.d.ts +4 -1
  106. package/recipes/menu.mjs +1 -0
  107. package/recipes/pagination.d.ts +4 -3
  108. package/recipes/pagination.mjs +1 -0
  109. package/recipes/phone-number-input.d.ts +3 -2
  110. package/recipes/popover.d.ts +4 -1
  111. package/recipes/popover.mjs +1 -0
  112. package/recipes/price-tag.d.ts +4 -1
  113. package/recipes/price-tag.mjs +1 -0
  114. package/recipes/product-card-catalog.d.ts +4 -3
  115. package/recipes/product-card-catalog.mjs +1 -0
  116. package/recipes/radio-button-group.d.ts +4 -1
  117. package/recipes/radio-button-group.mjs +1 -0
  118. package/recipes/radio-card-group.d.ts +4 -1
  119. package/recipes/radio-card-group.mjs +1 -0
  120. package/recipes/radio-group.d.ts +4 -1
  121. package/recipes/radio-group.mjs +1 -0
  122. package/recipes/select-language.d.ts +4 -1
  123. package/recipes/select-language.mjs +1 -0
  124. package/recipes/select.d.ts +4 -1
  125. package/recipes/select.mjs +1 -0
  126. package/recipes/status-tag-select.d.ts +4 -1
  127. package/recipes/status-tag-select.mjs +1 -0
  128. package/recipes/switch-card.d.ts +4 -1
  129. package/recipes/switch-card.mjs +1 -0
  130. package/recipes/switch-recipe.d.ts +4 -1
  131. package/recipes/switch-recipe.mjs +1 -0
  132. package/recipes/table-container.d.ts +3 -0
  133. package/recipes/table-empty-row.d.ts +3 -0
  134. package/recipes/table-group-title.d.ts +3 -0
  135. package/recipes/table.d.ts +4 -1
  136. package/recipes/table.mjs +1 -0
  137. package/recipes/tabs-chip.d.ts +3 -2
  138. package/recipes/tabs.d.ts +4 -1
  139. package/recipes/tabs.mjs +1 -0
  140. package/recipes/tag.d.ts +4 -3
  141. package/recipes/tag.mjs +1 -0
  142. package/recipes/text.d.ts +3 -0
  143. package/recipes/textarea.d.ts +3 -0
  144. package/recipes/tooltip.d.ts +4 -1
  145. package/recipes/tooltip.mjs +1 -0
  146. package/tokens/tokens.d.ts +1 -1
  147. package/types/composition.d.ts +83 -23
  148. package/types/conditions.d.ts +11 -7
  149. package/types/jsx.d.ts +25 -10
  150. package/types/prop-type.d.ts +10 -2
  151. package/types/style-props.d.ts +15 -4
  152. package/types/system-types.d.ts +76 -0
@@ -35,6 +35,7 @@ export const formLabel = /* @__PURE__ */ Object.assign(formLabelFn, {
35
35
  __recipe__: false,
36
36
  __name__: 'formLabel',
37
37
  raw: (props) => props,
38
+ classNameMap: {},
38
39
  variantKeys: formLabelVariantKeys,
39
40
  variantMap: {
40
41
  "variant": [
@@ -15,11 +15,14 @@ type HeadingVariantMap = {
15
15
  [key in keyof HeadingVariant]: Array<HeadingVariant[key]>
16
16
  }
17
17
 
18
+
19
+
18
20
  export type HeadingVariantProps = {
19
21
  [key in keyof HeadingVariant]?: ConditionalValue<HeadingVariant[key]> | undefined
20
22
  }
21
23
 
22
24
  export interface HeadingRecipe {
25
+
23
26
  __type: HeadingVariantProps
24
27
  (props?: HeadingVariantProps): string
25
28
  raw: (props?: HeadingVariantProps) => HeadingVariantProps
@@ -21,11 +21,14 @@ type IconButtonVariantMap = {
21
21
  [key in keyof IconButtonVariant]: Array<IconButtonVariant[key]>
22
22
  }
23
23
 
24
+
25
+
24
26
  export type IconButtonVariantProps = {
25
27
  [key in keyof IconButtonVariant]?: IconButtonVariant[key] | undefined
26
28
  }
27
29
 
28
30
  export interface IconButtonRecipe {
31
+
29
32
  __type: IconButtonVariantProps
30
33
  (props?: IconButtonVariantProps): string
31
34
  raw: (props?: IconButtonVariantProps) => IconButtonVariantProps
@@ -37,7 +40,5 @@ export interface IconButtonRecipe {
37
40
 
38
41
  /**
39
42
  * The styles for the IconButton component
40
-
41
-
42
43
  */
43
44
  export declare const iconButton: IconButtonRecipe
package/recipes/icon.d.ts CHANGED
@@ -13,11 +13,14 @@ type IconVariantMap = {
13
13
  [key in keyof IconVariant]: Array<IconVariant[key]>
14
14
  }
15
15
 
16
+
17
+
16
18
  export type IconVariantProps = {
17
19
  [key in keyof IconVariant]?: ConditionalValue<IconVariant[key]> | undefined
18
20
  }
19
21
 
20
22
  export interface IconRecipe {
23
+
21
24
  __type: IconVariantProps
22
25
  (props?: IconVariantProps): string
23
26
  raw: (props?: IconVariantProps) => IconVariantProps
@@ -13,11 +13,14 @@ type IllustrationVariantMap = {
13
13
  [key in keyof IllustrationVariant]: Array<IllustrationVariant[key]>
14
14
  }
15
15
 
16
+
17
+
16
18
  export type IllustrationVariantProps = {
17
19
  [key in keyof IllustrationVariant]?: ConditionalValue<IllustrationVariant[key]> | undefined
18
20
  }
19
21
 
20
22
  export interface IllustrationRecipe {
23
+
21
24
  __type: IllustrationVariantProps
22
25
  (props?: IllustrationVariantProps): string
23
26
  raw: (props?: IllustrationVariantProps) => IllustrationVariantProps
@@ -29,7 +32,5 @@ export interface IllustrationRecipe {
29
32
 
30
33
  /**
31
34
  * The styles for the Illustration component
32
-
33
-
34
35
  */
35
36
  export declare const illustration: IllustrationRecipe
@@ -10,11 +10,14 @@ type InputAddonVariantMap = {
10
10
  [key in keyof InputAddonVariant]: Array<InputAddonVariant[key]>
11
11
  }
12
12
 
13
+
14
+
13
15
  export type InputAddonVariantProps = {
14
16
  [key in keyof InputAddonVariant]?: ConditionalValue<InputAddonVariant[key]> | undefined
15
17
  }
16
18
 
17
19
  export interface InputAddonRecipe {
20
+
18
21
  __type: InputAddonVariantProps
19
22
  (props?: InputAddonVariantProps): string
20
23
  raw: (props?: InputAddonVariantProps) => InputAddonVariantProps
@@ -26,7 +29,5 @@ export interface InputAddonRecipe {
26
29
 
27
30
  /**
28
31
  * The styles for the InputAddon component
29
-
30
-
31
32
  */
32
33
  export declare const inputAddon: InputAddonRecipe
@@ -10,11 +10,14 @@ type InputGroupVariantMap = {
10
10
  [key in keyof InputGroupVariant]: Array<InputGroupVariant[key]>
11
11
  }
12
12
 
13
+
14
+
13
15
  export type InputGroupVariantProps = {
14
16
  [key in keyof InputGroupVariant]?: ConditionalValue<InputGroupVariant[key]> | undefined
15
17
  }
16
18
 
17
19
  export interface InputGroupRecipe {
20
+
18
21
  __type: InputGroupVariantProps
19
22
  (props?: InputGroupVariantProps): string
20
23
  raw: (props?: InputGroupVariantProps) => InputGroupVariantProps
@@ -26,7 +29,5 @@ export interface InputGroupRecipe {
26
29
 
27
30
  /**
28
31
  * The styles for the InputGroup component
29
-
30
-
31
32
  */
32
33
  export declare const inputGroup: InputGroupRecipe
@@ -13,11 +13,14 @@ type InputVariantMap = {
13
13
  [key in keyof InputVariant]: Array<InputVariant[key]>
14
14
  }
15
15
 
16
+
17
+
16
18
  export type InputVariantProps = {
17
19
  [key in keyof InputVariant]?: ConditionalValue<InputVariant[key]> | undefined
18
20
  }
19
21
 
20
22
  export interface InputRecipe {
23
+
21
24
  __type: InputVariantProps
22
25
  (props?: InputVariantProps): string
23
26
  raw: (props?: InputVariantProps) => InputVariantProps
@@ -29,7 +32,5 @@ export interface InputRecipe {
29
32
 
30
33
  /**
31
34
  * The styles for the Input component
32
-
33
-
34
35
  */
35
36
  export declare const input: InputRecipe
package/recipes/menu.d.ts CHANGED
@@ -13,13 +13,16 @@ type MenuVariantMap = {
13
13
  [key in keyof MenuVariant]: Array<MenuVariant[key]>
14
14
  }
15
15
 
16
+ type MenuSlot = "arrow" | "arrowTip" | "content" | "contextTrigger" | "indicator" | "item" | "itemGroup" | "itemGroupLabel" | "itemIndicator" | "itemText" | "positioner" | "separator" | "trigger" | "triggerItem"
17
+
16
18
  export type MenuVariantProps = {
17
19
  [key in keyof MenuVariant]?: ConditionalValue<MenuVariant[key]> | undefined
18
20
  }
19
21
 
20
22
  export interface MenuRecipe {
23
+ __slot: MenuSlot
21
24
  __type: MenuVariantProps
22
- (props?: MenuVariantProps): Pretty<Record<"arrow" | "arrowTip" | "content" | "contextTrigger" | "indicator" | "item" | "itemGroup" | "itemGroupLabel" | "itemIndicator" | "itemText" | "positioner" | "separator" | "trigger" | "triggerItem", string>>
25
+ (props?: MenuVariantProps): Pretty<Record<MenuSlot, string>>
23
26
  raw: (props?: MenuVariantProps) => MenuVariantProps
24
27
  variantMap: MenuVariantMap
25
28
  variantKeys: Array<keyof MenuVariant>
package/recipes/menu.mjs CHANGED
@@ -79,6 +79,7 @@ export const menu = /* @__PURE__ */ Object.assign(menuFn, {
79
79
  __recipe__: false,
80
80
  __name__: 'menu',
81
81
  raw: (props) => props,
82
+ classNameMap: {},
82
83
  variantKeys: menuVariantKeys,
83
84
  variantMap: {
84
85
  "size": [
@@ -10,13 +10,16 @@ type PaginationVariantMap = {
10
10
  [key in keyof PaginationVariant]: Array<PaginationVariant[key]>
11
11
  }
12
12
 
13
+ type PaginationSlot = "root" | "item" | "dots"
14
+
13
15
  export type PaginationVariantProps = {
14
16
  [key in keyof PaginationVariant]?: ConditionalValue<PaginationVariant[key]> | undefined
15
17
  }
16
18
 
17
19
  export interface PaginationRecipe {
20
+ __slot: PaginationSlot
18
21
  __type: PaginationVariantProps
19
- (props?: PaginationVariantProps): Pretty<Record<"root" | "item" | "dots", string>>
22
+ (props?: PaginationVariantProps): Pretty<Record<PaginationSlot, string>>
20
23
  raw: (props?: PaginationVariantProps) => PaginationVariantProps
21
24
  variantMap: PaginationVariantMap
22
25
  variantKeys: Array<keyof PaginationVariant>
@@ -26,7 +29,5 @@ export interface PaginationRecipe {
26
29
 
27
30
  /**
28
31
  * The styles for the pagination component
29
-
30
-
31
32
  */
32
33
  export declare const pagination: PaginationRecipe
@@ -31,6 +31,7 @@ export const pagination = /* @__PURE__ */ Object.assign(paginationFn, {
31
31
  __recipe__: false,
32
32
  __name__: 'pagination',
33
33
  raw: (props) => props,
34
+ classNameMap: {},
34
35
  variantKeys: paginationVariantKeys,
35
36
  variantMap: {},
36
37
  splitVariantProps(props) {
@@ -13,11 +13,14 @@ type PhoneNumberInputVariantMap = {
13
13
  [key in keyof PhoneNumberInputVariant]: Array<PhoneNumberInputVariant[key]>
14
14
  }
15
15
 
16
+
17
+
16
18
  export type PhoneNumberInputVariantProps = {
17
19
  [key in keyof PhoneNumberInputVariant]?: ConditionalValue<PhoneNumberInputVariant[key]> | undefined
18
20
  }
19
21
 
20
22
  export interface PhoneNumberInputRecipe {
23
+
21
24
  __type: PhoneNumberInputVariantProps
22
25
  (props?: PhoneNumberInputVariantProps): string
23
26
  raw: (props?: PhoneNumberInputVariantProps) => PhoneNumberInputVariantProps
@@ -29,7 +32,5 @@ export interface PhoneNumberInputRecipe {
29
32
 
30
33
  /**
31
34
  * The styles for the PhoneNumberInput component
32
-
33
-
34
35
  */
35
36
  export declare const phoneNumberInput: PhoneNumberInputRecipe
@@ -10,13 +10,16 @@ type PopoverVariantMap = {
10
10
  [key in keyof PopoverVariant]: Array<PopoverVariant[key]>
11
11
  }
12
12
 
13
+ type PopoverSlot = "arrow" | "arrowTip" | "anchor" | "trigger" | "indicator" | "positioner" | "content" | "title" | "description" | "closeTrigger"
14
+
13
15
  export type PopoverVariantProps = {
14
16
  [key in keyof PopoverVariant]?: ConditionalValue<PopoverVariant[key]> | undefined
15
17
  }
16
18
 
17
19
  export interface PopoverRecipe {
20
+ __slot: PopoverSlot
18
21
  __type: PopoverVariantProps
19
- (props?: PopoverVariantProps): Pretty<Record<"arrow" | "arrowTip" | "anchor" | "trigger" | "indicator" | "positioner" | "content" | "title" | "description" | "closeTrigger", string>>
22
+ (props?: PopoverVariantProps): Pretty<Record<PopoverSlot, string>>
20
23
  raw: (props?: PopoverVariantProps) => PopoverVariantProps
21
24
  variantMap: PopoverVariantMap
22
25
  variantKeys: Array<keyof PopoverVariant>
@@ -59,6 +59,7 @@ export const popover = /* @__PURE__ */ Object.assign(popoverFn, {
59
59
  __recipe__: false,
60
60
  __name__: 'popover',
61
61
  raw: (props) => props,
62
+ classNameMap: {},
62
63
  variantKeys: popoverVariantKeys,
63
64
  variantMap: {},
64
65
  splitVariantProps(props) {
@@ -13,13 +13,16 @@ type PriceTagVariantMap = {
13
13
  [key in keyof PriceTagVariant]: Array<PriceTagVariant[key]>
14
14
  }
15
15
 
16
+ type PriceTagSlot = "root" | "price" | "unit"
17
+
16
18
  export type PriceTagVariantProps = {
17
19
  [key in keyof PriceTagVariant]?: ConditionalValue<PriceTagVariant[key]> | undefined
18
20
  }
19
21
 
20
22
  export interface PriceTagRecipe {
23
+ __slot: PriceTagSlot
21
24
  __type: PriceTagVariantProps
22
- (props?: PriceTagVariantProps): Pretty<Record<"root" | "price" | "unit", string>>
25
+ (props?: PriceTagVariantProps): Pretty<Record<PriceTagSlot, string>>
23
26
  raw: (props?: PriceTagVariantProps) => PriceTagVariantProps
24
27
  variantMap: PriceTagVariantMap
25
28
  variantKeys: Array<keyof PriceTagVariant>
@@ -35,6 +35,7 @@ export const priceTag = /* @__PURE__ */ Object.assign(priceTagFn, {
35
35
  __recipe__: false,
36
36
  __name__: 'priceTag',
37
37
  raw: (props) => props,
38
+ classNameMap: {},
38
39
  variantKeys: priceTagVariantKeys,
39
40
  variantMap: {
40
41
  "size": [
@@ -10,13 +10,16 @@ type ProductCardCatalogVariantMap = {
10
10
  [key in keyof ProductCardCatalogVariant]: Array<ProductCardCatalogVariant[key]>
11
11
  }
12
12
 
13
+ type ProductCardCatalogSlot = "root" | "title" | "image" | "imageContainer" | "content" | "description" | "highlight" | "tag" | "badgeList" | "badge" | "shortLivedTag"
14
+
13
15
  export type ProductCardCatalogVariantProps = {
14
16
  [key in keyof ProductCardCatalogVariant]?: ConditionalValue<ProductCardCatalogVariant[key]> | undefined
15
17
  }
16
18
 
17
19
  export interface ProductCardCatalogRecipe {
20
+ __slot: ProductCardCatalogSlot
18
21
  __type: ProductCardCatalogVariantProps
19
- (props?: ProductCardCatalogVariantProps): Pretty<Record<"root" | "title" | "image" | "imageContainer" | "content" | "description" | "highlight" | "tag" | "badgeList" | "badge" | "shortLivedTag", string>>
22
+ (props?: ProductCardCatalogVariantProps): Pretty<Record<ProductCardCatalogSlot, string>>
20
23
  raw: (props?: ProductCardCatalogVariantProps) => ProductCardCatalogVariantProps
21
24
  variantMap: ProductCardCatalogVariantMap
22
25
  variantKeys: Array<keyof ProductCardCatalogVariant>
@@ -26,7 +29,5 @@ export interface ProductCardCatalogRecipe {
26
29
 
27
30
  /**
28
31
  * The styles for the ProductCardCatalog component
29
-
30
-
31
32
  */
32
33
  export declare const productCardCatalog: ProductCardCatalogRecipe
@@ -63,6 +63,7 @@ export const productCardCatalog = /* @__PURE__ */ Object.assign(productCardCatal
63
63
  __recipe__: false,
64
64
  __name__: 'productCardCatalog',
65
65
  raw: (props) => props,
66
+ classNameMap: {},
66
67
  variantKeys: productCardCatalogVariantKeys,
67
68
  variantMap: {},
68
69
  splitVariantProps(props) {
@@ -13,13 +13,16 @@ type RadioButtonGroupVariantMap = {
13
13
  [key in keyof RadioButtonGroupVariant]: Array<RadioButtonGroupVariant[key]>
14
14
  }
15
15
 
16
+ type RadioButtonGroupSlot = "root" | "label" | "item" | "itemText" | "itemControl" | "indicator"
17
+
16
18
  export type RadioButtonGroupVariantProps = {
17
19
  [key in keyof RadioButtonGroupVariant]?: ConditionalValue<RadioButtonGroupVariant[key]> | undefined
18
20
  }
19
21
 
20
22
  export interface RadioButtonGroupRecipe {
23
+ __slot: RadioButtonGroupSlot
21
24
  __type: RadioButtonGroupVariantProps
22
- (props?: RadioButtonGroupVariantProps): Pretty<Record<"root" | "label" | "item" | "itemText" | "itemControl" | "indicator", string>>
25
+ (props?: RadioButtonGroupVariantProps): Pretty<Record<RadioButtonGroupSlot, string>>
23
26
  raw: (props?: RadioButtonGroupVariantProps) => RadioButtonGroupVariantProps
24
27
  variantMap: RadioButtonGroupVariantMap
25
28
  variantKeys: Array<keyof RadioButtonGroupVariant>
@@ -47,6 +47,7 @@ export const radioButtonGroup = /* @__PURE__ */ Object.assign(radioButtonGroupFn
47
47
  __recipe__: false,
48
48
  __name__: 'radioButtonGroup',
49
49
  raw: (props) => props,
50
+ classNameMap: {},
50
51
  variantKeys: radioButtonGroupVariantKeys,
51
52
  variantMap: {
52
53
  "size": [
@@ -13,13 +13,16 @@ type RadioCardGroupVariantMap = {
13
13
  [key in keyof RadioCardGroupVariant]: Array<RadioCardGroupVariant[key]>
14
14
  }
15
15
 
16
+ type RadioCardGroupSlot = "root" | "label" | "item" | "itemText" | "itemControl" | "indicator" | "itemImage" | "itemContent" | "itemTitle" | "itemDescription"
17
+
16
18
  export type RadioCardGroupVariantProps = {
17
19
  [key in keyof RadioCardGroupVariant]?: ConditionalValue<RadioCardGroupVariant[key]> | undefined
18
20
  }
19
21
 
20
22
  export interface RadioCardGroupRecipe {
23
+ __slot: RadioCardGroupSlot
21
24
  __type: RadioCardGroupVariantProps
22
- (props?: RadioCardGroupVariantProps): Pretty<Record<"root" | "label" | "item" | "itemText" | "itemControl" | "indicator" | "itemImage" | "itemContent" | "itemTitle" | "itemDescription", string>>
25
+ (props?: RadioCardGroupVariantProps): Pretty<Record<RadioCardGroupSlot, string>>
23
26
  raw: (props?: RadioCardGroupVariantProps) => RadioCardGroupVariantProps
24
27
  variantMap: RadioCardGroupVariantMap
25
28
  variantKeys: Array<keyof RadioCardGroupVariant>
@@ -63,6 +63,7 @@ export const radioCardGroup = /* @__PURE__ */ Object.assign(radioCardGroupFn, {
63
63
  __recipe__: false,
64
64
  __name__: 'radioCardGroup',
65
65
  raw: (props) => props,
66
+ classNameMap: {},
66
67
  variantKeys: radioCardGroupVariantKeys,
67
68
  variantMap: {
68
69
  "size": [
@@ -13,13 +13,16 @@ type RadioGroupVariantMap = {
13
13
  [key in keyof RadioGroupVariant]: Array<RadioGroupVariant[key]>
14
14
  }
15
15
 
16
+ type RadioGroupSlot = "root" | "label" | "item" | "itemText" | "itemControl" | "indicator"
17
+
16
18
  export type RadioGroupVariantProps = {
17
19
  [key in keyof RadioGroupVariant]?: ConditionalValue<RadioGroupVariant[key]> | undefined
18
20
  }
19
21
 
20
22
  export interface RadioGroupRecipe {
23
+ __slot: RadioGroupSlot
21
24
  __type: RadioGroupVariantProps
22
- (props?: RadioGroupVariantProps): Pretty<Record<"root" | "label" | "item" | "itemText" | "itemControl" | "indicator", string>>
25
+ (props?: RadioGroupVariantProps): Pretty<Record<RadioGroupSlot, string>>
23
26
  raw: (props?: RadioGroupVariantProps) => RadioGroupVariantProps
24
27
  variantMap: RadioGroupVariantMap
25
28
  variantKeys: Array<keyof RadioGroupVariant>
@@ -47,6 +47,7 @@ export const radioGroup = /* @__PURE__ */ Object.assign(radioGroupFn, {
47
47
  __recipe__: false,
48
48
  __name__: 'radioGroup',
49
49
  raw: (props) => props,
50
+ classNameMap: {},
50
51
  variantKeys: radioGroupVariantKeys,
51
52
  variantMap: {
52
53
  "size": [
@@ -13,13 +13,16 @@ type SelectLanguageVariantMap = {
13
13
  [key in keyof SelectLanguageVariant]: Array<SelectLanguageVariant[key]>
14
14
  }
15
15
 
16
+ type SelectLanguageSlot = "label" | "positioner" | "trigger" | "indicator" | "clearTrigger" | "item" | "itemText" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "list" | "content" | "root" | "control" | "valueText"
17
+
16
18
  export type SelectLanguageVariantProps = {
17
19
  [key in keyof SelectLanguageVariant]?: ConditionalValue<SelectLanguageVariant[key]> | undefined
18
20
  }
19
21
 
20
22
  export interface SelectLanguageRecipe {
23
+ __slot: SelectLanguageSlot
21
24
  __type: SelectLanguageVariantProps
22
- (props?: SelectLanguageVariantProps): Pretty<Record<"label" | "positioner" | "trigger" | "indicator" | "clearTrigger" | "item" | "itemText" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "list" | "content" | "root" | "control" | "valueText", string>>
25
+ (props?: SelectLanguageVariantProps): Pretty<Record<SelectLanguageSlot, string>>
23
26
  raw: (props?: SelectLanguageVariantProps) => SelectLanguageVariantProps
24
27
  variantMap: SelectLanguageVariantMap
25
28
  variantKeys: Array<keyof SelectLanguageVariant>
@@ -83,6 +83,7 @@ export const selectLanguage = /* @__PURE__ */ Object.assign(selectLanguageFn, {
83
83
  __recipe__: false,
84
84
  __name__: 'selectLanguage',
85
85
  raw: (props) => props,
86
+ classNameMap: {},
86
87
  variantKeys: selectLanguageVariantKeys,
87
88
  variantMap: {
88
89
  "variant": [
@@ -14,13 +14,16 @@ type SelectVariantMap = {
14
14
  [key in keyof SelectVariant]: Array<SelectVariant[key]>
15
15
  }
16
16
 
17
+ type SelectSlot = "label" | "positioner" | "trigger" | "indicator" | "clearTrigger" | "item" | "itemText" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "list" | "content" | "root" | "control" | "valueText"
18
+
17
19
  export type SelectVariantProps = {
18
20
  [key in keyof SelectVariant]?: ConditionalValue<SelectVariant[key]> | undefined
19
21
  }
20
22
 
21
23
  export interface SelectRecipe {
24
+ __slot: SelectSlot
22
25
  __type: SelectVariantProps
23
- (props?: SelectVariantProps): Pretty<Record<"label" | "positioner" | "trigger" | "indicator" | "clearTrigger" | "item" | "itemText" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "list" | "content" | "root" | "control" | "valueText", string>>
26
+ (props?: SelectVariantProps): Pretty<Record<SelectSlot, string>>
24
27
  raw: (props?: SelectVariantProps) => SelectVariantProps
25
28
  variantMap: SelectVariantMap
26
29
  variantKeys: Array<keyof SelectVariant>
@@ -84,6 +84,7 @@ export const select = /* @__PURE__ */ Object.assign(selectFn, {
84
84
  __recipe__: false,
85
85
  __name__: 'select',
86
86
  raw: (props) => props,
87
+ classNameMap: {},
87
88
  variantKeys: selectVariantKeys,
88
89
  variantMap: {
89
90
  "hideClearTrigger": [
@@ -17,13 +17,16 @@ type StatusTagSelectVariantMap = {
17
17
  [key in keyof StatusTagSelectVariant]: Array<StatusTagSelectVariant[key]>
18
18
  }
19
19
 
20
+ type StatusTagSelectSlot = "label" | "positioner" | "trigger" | "indicator" | "clearTrigger" | "item" | "itemText" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "list" | "content" | "root" | "control" | "valueText"
21
+
20
22
  export type StatusTagSelectVariantProps = {
21
23
  [key in keyof StatusTagSelectVariant]?: ConditionalValue<StatusTagSelectVariant[key]> | undefined
22
24
  }
23
25
 
24
26
  export interface StatusTagSelectRecipe {
27
+ __slot: StatusTagSelectSlot
25
28
  __type: StatusTagSelectVariantProps
26
- (props?: StatusTagSelectVariantProps): Pretty<Record<"label" | "positioner" | "trigger" | "indicator" | "clearTrigger" | "item" | "itemText" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "list" | "content" | "root" | "control" | "valueText", string>>
29
+ (props?: StatusTagSelectVariantProps): Pretty<Record<StatusTagSelectSlot, string>>
27
30
  raw: (props?: StatusTagSelectVariantProps) => StatusTagSelectVariantProps
28
31
  variantMap: StatusTagSelectVariantMap
29
32
  variantKeys: Array<keyof StatusTagSelectVariant>
@@ -85,6 +85,7 @@ export const statusTagSelect = /* @__PURE__ */ Object.assign(statusTagSelectFn,
85
85
  __recipe__: false,
86
86
  __name__: 'statusTagSelect',
87
87
  raw: (props) => props,
88
+ classNameMap: {},
88
89
  variantKeys: statusTagSelectVariantKeys,
89
90
  variantMap: {
90
91
  "size": [
@@ -13,13 +13,16 @@ type SwitchCardVariantMap = {
13
13
  [key in keyof SwitchCardVariant]: Array<SwitchCardVariant[key]>
14
14
  }
15
15
 
16
+ type SwitchCardSlot = "root" | "label" | "control" | "thumb" | "image" | "content" | "title" | "description"
17
+
16
18
  export type SwitchCardVariantProps = {
17
19
  [key in keyof SwitchCardVariant]?: ConditionalValue<SwitchCardVariant[key]> | undefined
18
20
  }
19
21
 
20
22
  export interface SwitchCardRecipe {
23
+ __slot: SwitchCardSlot
21
24
  __type: SwitchCardVariantProps
22
- (props?: SwitchCardVariantProps): Pretty<Record<"root" | "label" | "control" | "thumb" | "image" | "content" | "title" | "description", string>>
25
+ (props?: SwitchCardVariantProps): Pretty<Record<SwitchCardSlot, string>>
23
26
  raw: (props?: SwitchCardVariantProps) => SwitchCardVariantProps
24
27
  variantMap: SwitchCardVariantMap
25
28
  variantKeys: Array<keyof SwitchCardVariant>
@@ -55,6 +55,7 @@ export const switchCard = /* @__PURE__ */ Object.assign(switchCardFn, {
55
55
  __recipe__: false,
56
56
  __name__: 'switchCard',
57
57
  raw: (props) => props,
58
+ classNameMap: {},
58
59
  variantKeys: switchCardVariantKeys,
59
60
  variantMap: {
60
61
  "size": [
@@ -13,13 +13,16 @@ type SwitchRecipeVariantMap = {
13
13
  [key in keyof SwitchRecipeVariant]: Array<SwitchRecipeVariant[key]>
14
14
  }
15
15
 
16
+ type SwitchRecipeSlot = "root" | "label" | "control" | "thumb"
17
+
16
18
  export type SwitchRecipeVariantProps = {
17
19
  [key in keyof SwitchRecipeVariant]?: ConditionalValue<SwitchRecipeVariant[key]> | undefined
18
20
  }
19
21
 
20
22
  export interface SwitchRecipeRecipe {
23
+ __slot: SwitchRecipeSlot
21
24
  __type: SwitchRecipeVariantProps
22
- (props?: SwitchRecipeVariantProps): Pretty<Record<"root" | "label" | "control" | "thumb", string>>
25
+ (props?: SwitchRecipeVariantProps): Pretty<Record<SwitchRecipeSlot, string>>
23
26
  raw: (props?: SwitchRecipeVariantProps) => SwitchRecipeVariantProps
24
27
  variantMap: SwitchRecipeVariantMap
25
28
  variantKeys: Array<keyof SwitchRecipeVariant>
@@ -39,6 +39,7 @@ export const switchRecipe = /* @__PURE__ */ Object.assign(switchRecipeFn, {
39
39
  __recipe__: false,
40
40
  __name__: 'switchRecipe',
41
41
  raw: (props) => props,
42
+ classNameMap: {},
42
43
  variantKeys: switchRecipeVariantKeys,
43
44
  variantMap: {
44
45
  "size": [
@@ -10,11 +10,14 @@ type TableContainerVariantMap = {
10
10
  [key in keyof TableContainerVariant]: Array<TableContainerVariant[key]>
11
11
  }
12
12
 
13
+
14
+
13
15
  export type TableContainerVariantProps = {
14
16
  [key in keyof TableContainerVariant]?: ConditionalValue<TableContainerVariant[key]> | undefined
15
17
  }
16
18
 
17
19
  export interface TableContainerRecipe {
20
+
18
21
  __type: TableContainerVariantProps
19
22
  (props?: TableContainerVariantProps): string
20
23
  raw: (props?: TableContainerVariantProps) => TableContainerVariantProps
@@ -10,11 +10,14 @@ type TableEmptyRowVariantMap = {
10
10
  [key in keyof TableEmptyRowVariant]: Array<TableEmptyRowVariant[key]>
11
11
  }
12
12
 
13
+
14
+
13
15
  export type TableEmptyRowVariantProps = {
14
16
  [key in keyof TableEmptyRowVariant]?: ConditionalValue<TableEmptyRowVariant[key]> | undefined
15
17
  }
16
18
 
17
19
  export interface TableEmptyRowRecipe {
20
+
18
21
  __type: TableEmptyRowVariantProps
19
22
  (props?: TableEmptyRowVariantProps): string
20
23
  raw: (props?: TableEmptyRowVariantProps) => TableEmptyRowVariantProps
@@ -13,11 +13,14 @@ type TableGroupTitleVariantMap = {
13
13
  [key in keyof TableGroupTitleVariant]: Array<TableGroupTitleVariant[key]>
14
14
  }
15
15
 
16
+
17
+
16
18
  export type TableGroupTitleVariantProps = {
17
19
  [key in keyof TableGroupTitleVariant]?: ConditionalValue<TableGroupTitleVariant[key]> | undefined
18
20
  }
19
21
 
20
22
  export interface TableGroupTitleRecipe {
23
+
21
24
  __type: TableGroupTitleVariantProps
22
25
  (props?: TableGroupTitleVariantProps): string
23
26
  raw: (props?: TableGroupTitleVariantProps) => TableGroupTitleVariantProps
@@ -10,13 +10,16 @@ type TableVariantMap = {
10
10
  [key in keyof TableVariant]: Array<TableVariant[key]>
11
11
  }
12
12
 
13
+ type TableSlot = "root" | "thead" | "tbody" | "tr" | "th" | "td" | "sortIndicatorRoot" | "sortIndicator"
14
+
13
15
  export type TableVariantProps = {
14
16
  [key in keyof TableVariant]?: ConditionalValue<TableVariant[key]> | undefined
15
17
  }
16
18
 
17
19
  export interface TableRecipe {
20
+ __slot: TableSlot
18
21
  __type: TableVariantProps
19
- (props?: TableVariantProps): Pretty<Record<"root" | "thead" | "tbody" | "tr" | "th" | "td" | "sortIndicatorRoot" | "sortIndicator", string>>
22
+ (props?: TableVariantProps): Pretty<Record<TableSlot, string>>
20
23
  raw: (props?: TableVariantProps) => TableVariantProps
21
24
  variantMap: TableVariantMap
22
25
  variantKeys: Array<keyof TableVariant>
package/recipes/table.mjs CHANGED
@@ -51,6 +51,7 @@ export const table = /* @__PURE__ */ Object.assign(tableFn, {
51
51
  __recipe__: false,
52
52
  __name__: 'table',
53
53
  raw: (props) => props,
54
+ classNameMap: {},
54
55
  variantKeys: tableVariantKeys,
55
56
  variantMap: {},
56
57
  splitVariantProps(props) {