@stokelp/styled-system 2.93.0 → 2.95.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 (141) 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 +1 -1
  12. package/panda.buildinfo.json +12 -10
  13. package/patterns/aspect-ratio.d.ts +0 -1
  14. package/patterns/bleed.d.ts +0 -1
  15. package/patterns/box.d.ts +0 -1
  16. package/patterns/center.d.ts +0 -1
  17. package/patterns/circle.d.ts +0 -1
  18. package/patterns/container.d.ts +0 -1
  19. package/patterns/cq.d.ts +0 -1
  20. package/patterns/divider.d.ts +0 -1
  21. package/patterns/flex.d.ts +0 -1
  22. package/patterns/float.d.ts +0 -1
  23. package/patterns/grid-item.d.ts +0 -1
  24. package/patterns/grid.d.ts +0 -1
  25. package/patterns/grid.mjs +1 -1
  26. package/patterns/hstack.d.ts +0 -1
  27. package/patterns/hstack.mjs +1 -1
  28. package/patterns/link-overlay.d.ts +0 -1
  29. package/patterns/spacer.d.ts +0 -1
  30. package/patterns/square.d.ts +0 -1
  31. package/patterns/stack.d.ts +0 -1
  32. package/patterns/stack.mjs +1 -1
  33. package/patterns/visually-hidden.d.ts +0 -1
  34. package/patterns/vstack.d.ts +0 -1
  35. package/patterns/vstack.mjs +1 -1
  36. package/patterns/wrap.d.ts +0 -1
  37. package/patterns/wrap.mjs +1 -1
  38. package/recipes/accordion.d.ts +4 -1
  39. package/recipes/accordion.mjs +1 -0
  40. package/recipes/action-card.d.ts +4 -3
  41. package/recipes/action-card.mjs +1 -0
  42. package/recipes/alert.d.ts +4 -3
  43. package/recipes/alert.mjs +1 -0
  44. package/recipes/app-navigation-language-select.d.ts +4 -1
  45. package/recipes/app-navigation-language-select.mjs +1 -0
  46. package/recipes/app-navigation.d.ts +4 -3
  47. package/recipes/app-navigation.mjs +1 -0
  48. package/recipes/avatar-group.d.ts +3 -0
  49. package/recipes/avatar.d.ts +4 -1
  50. package/recipes/avatar.mjs +1 -0
  51. package/recipes/breadcrumb.d.ts +4 -1
  52. package/recipes/breadcrumb.mjs +1 -0
  53. package/recipes/button-filter.d.ts +3 -2
  54. package/recipes/button.d.ts +3 -2
  55. package/recipes/chat-document-message.d.ts +3 -2
  56. package/recipes/chat-message.d.ts +3 -2
  57. package/recipes/chat-profile-avatar.d.ts +3 -2
  58. package/recipes/chat-text-input.d.ts +3 -2
  59. package/recipes/chat.d.ts +4 -3
  60. package/recipes/chat.mjs +1 -0
  61. package/recipes/checkbox-card.d.ts +4 -1
  62. package/recipes/checkbox-card.mjs +1 -0
  63. package/recipes/checkbox-group.d.ts +3 -0
  64. package/recipes/checkbox.d.ts +4 -1
  65. package/recipes/checkbox.mjs +1 -0
  66. package/recipes/chip.d.ts +4 -3
  67. package/recipes/chip.mjs +1 -0
  68. package/recipes/collapsible.d.ts +4 -1
  69. package/recipes/collapsible.mjs +1 -0
  70. package/recipes/combobox.d.ts +4 -1
  71. package/recipes/combobox.mjs +1 -0
  72. package/recipes/datepicker.d.ts +4 -1
  73. package/recipes/datepicker.mjs +1 -0
  74. package/recipes/dialog.d.ts +4 -1
  75. package/recipes/dialog.mjs +1 -0
  76. package/recipes/drawer.d.ts +4 -1
  77. package/recipes/drawer.mjs +1 -0
  78. package/recipes/flag.d.ts +3 -0
  79. package/recipes/form-control.d.ts +3 -2
  80. package/recipes/form-helper-text.d.ts +3 -2
  81. package/recipes/form-label.d.ts +4 -3
  82. package/recipes/form-label.mjs +1 -0
  83. package/recipes/heading.d.ts +3 -0
  84. package/recipes/highlighted-input.d.ts +33 -0
  85. package/recipes/highlighted-input.mjs +45 -0
  86. package/recipes/icon-button.d.ts +3 -2
  87. package/recipes/icon.d.ts +3 -0
  88. package/recipes/illustration.d.ts +3 -2
  89. package/recipes/index.d.ts +2 -1
  90. package/recipes/index.mjs +2 -1
  91. package/recipes/input-addon.d.ts +3 -2
  92. package/recipes/input-group.d.ts +3 -2
  93. package/recipes/input.d.ts +3 -2
  94. package/recipes/menu.d.ts +4 -1
  95. package/recipes/menu.mjs +1 -0
  96. package/recipes/pagination.d.ts +4 -3
  97. package/recipes/pagination.mjs +1 -0
  98. package/recipes/phone-number-input.d.ts +3 -2
  99. package/recipes/popover.d.ts +4 -1
  100. package/recipes/popover.mjs +1 -0
  101. package/recipes/price-tag.d.ts +4 -1
  102. package/recipes/price-tag.mjs +1 -0
  103. package/recipes/product-card-catalog.d.ts +4 -3
  104. package/recipes/product-card-catalog.mjs +1 -0
  105. package/recipes/radio-button-group.d.ts +4 -1
  106. package/recipes/radio-button-group.mjs +1 -0
  107. package/recipes/radio-card-group.d.ts +4 -1
  108. package/recipes/radio-card-group.mjs +1 -0
  109. package/recipes/radio-group.d.ts +4 -1
  110. package/recipes/radio-group.mjs +1 -0
  111. package/recipes/select-language.d.ts +4 -1
  112. package/recipes/select-language.mjs +1 -0
  113. package/recipes/select.d.ts +4 -1
  114. package/recipes/select.mjs +1 -0
  115. package/recipes/status-tag-select.d.ts +4 -1
  116. package/recipes/status-tag-select.mjs +1 -0
  117. package/recipes/switch-card.d.ts +4 -1
  118. package/recipes/switch-card.mjs +1 -0
  119. package/recipes/switch-recipe.d.ts +4 -1
  120. package/recipes/switch-recipe.mjs +1 -0
  121. package/recipes/table-container.d.ts +3 -0
  122. package/recipes/table-empty-row.d.ts +3 -0
  123. package/recipes/table-group-title.d.ts +3 -0
  124. package/recipes/table.d.ts +4 -1
  125. package/recipes/table.mjs +1 -0
  126. package/recipes/tabs-chip.d.ts +3 -2
  127. package/recipes/tabs.d.ts +4 -1
  128. package/recipes/tabs.mjs +1 -0
  129. package/recipes/tag.d.ts +4 -3
  130. package/recipes/tag.mjs +1 -0
  131. package/recipes/text.d.ts +3 -0
  132. package/recipes/textarea.d.ts +3 -0
  133. package/recipes/tooltip.d.ts +4 -1
  134. package/recipes/tooltip.mjs +1 -0
  135. package/tokens/tokens.d.ts +1 -1
  136. package/types/composition.d.ts +83 -23
  137. package/types/conditions.d.ts +11 -7
  138. package/types/jsx.d.ts +25 -10
  139. package/types/prop-type.d.ts +10 -2
  140. package/types/style-props.d.ts +15 -4
  141. package/types/system-types.d.ts +76 -0
@@ -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) {
@@ -13,11 +13,14 @@ type TabsChipVariantMap = {
13
13
  [key in keyof TabsChipVariant]: Array<TabsChipVariant[key]>
14
14
  }
15
15
 
16
+
17
+
16
18
  export type TabsChipVariantProps = {
17
19
  [key in keyof TabsChipVariant]?: ConditionalValue<TabsChipVariant[key]> | undefined
18
20
  }
19
21
 
20
22
  export interface TabsChipRecipe {
23
+
21
24
  __type: TabsChipVariantProps
22
25
  (props?: TabsChipVariantProps): string
23
26
  raw: (props?: TabsChipVariantProps) => TabsChipVariantProps
@@ -29,7 +32,5 @@ export interface TabsChipRecipe {
29
32
 
30
33
  /**
31
34
  * The styles for the TabsChip component
32
-
33
-
34
35
  */
35
36
  export declare const tabsChip: TabsChipRecipe
package/recipes/tabs.d.ts CHANGED
@@ -17,13 +17,16 @@ type TabsVariantMap = {
17
17
  [key in keyof TabsVariant]: Array<TabsVariant[key]>
18
18
  }
19
19
 
20
+ type TabsSlot = "root" | "list" | "trigger" | "content" | "indicator"
21
+
20
22
  export type TabsVariantProps = {
21
23
  [key in keyof TabsVariant]?: ConditionalValue<TabsVariant[key]> | undefined
22
24
  }
23
25
 
24
26
  export interface TabsRecipe {
27
+ __slot: TabsSlot
25
28
  __type: TabsVariantProps
26
- (props?: TabsVariantProps): Pretty<Record<"root" | "list" | "trigger" | "content" | "indicator", string>>
29
+ (props?: TabsVariantProps): Pretty<Record<TabsSlot, string>>
27
30
  raw: (props?: TabsVariantProps) => TabsVariantProps
28
31
  variantMap: TabsVariantMap
29
32
  variantKeys: Array<keyof TabsVariant>
package/recipes/tabs.mjs CHANGED
@@ -45,6 +45,7 @@ export const tabs = /* @__PURE__ */ Object.assign(tabsFn, {
45
45
  __recipe__: false,
46
46
  __name__: 'tabs',
47
47
  raw: (props) => props,
48
+ classNameMap: {},
48
49
  variantKeys: tabsVariantKeys,
49
50
  variantMap: {
50
51
  "lineVariant": [
package/recipes/tag.d.ts CHANGED
@@ -17,13 +17,16 @@ type TagVariantMap = {
17
17
  [key in keyof TagVariant]: Array<TagVariant[key]>
18
18
  }
19
19
 
20
+ type TagSlot = "root" | "badge"
21
+
20
22
  export type TagVariantProps = {
21
23
  [key in keyof TagVariant]?: ConditionalValue<TagVariant[key]> | undefined
22
24
  }
23
25
 
24
26
  export interface TagRecipe {
27
+ __slot: TagSlot
25
28
  __type: TagVariantProps
26
- (props?: TagVariantProps): Pretty<Record<"root" | "badge", string>>
29
+ (props?: TagVariantProps): Pretty<Record<TagSlot, string>>
27
30
  raw: (props?: TagVariantProps) => TagVariantProps
28
31
  variantMap: TagVariantMap
29
32
  variantKeys: Array<keyof TagVariant>
@@ -33,7 +36,5 @@ export interface TagRecipe {
33
36
 
34
37
  /**
35
38
  * The styles for the Tag component
36
-
37
-
38
39
  */
39
40
  export declare const tag: TagRecipe
package/recipes/tag.mjs CHANGED
@@ -33,6 +33,7 @@ export const tag = /* @__PURE__ */ Object.assign(tagFn, {
33
33
  __recipe__: false,
34
34
  __name__: 'tag',
35
35
  raw: (props) => props,
36
+ classNameMap: {},
36
37
  variantKeys: tagVariantKeys,
37
38
  variantMap: {
38
39
  "size": [
package/recipes/text.d.ts CHANGED
@@ -16,11 +16,14 @@ type TextVariantMap = {
16
16
  [key in keyof TextVariant]: Array<TextVariant[key]>
17
17
  }
18
18
 
19
+
20
+
19
21
  export type TextVariantProps = {
20
22
  [key in keyof TextVariant]?: ConditionalValue<TextVariant[key]> | undefined
21
23
  }
22
24
 
23
25
  export interface TextRecipe {
26
+
24
27
  __type: TextVariantProps
25
28
  (props?: TextVariantProps): string
26
29
  raw: (props?: TextVariantProps) => TextVariantProps
@@ -10,11 +10,14 @@ type TextareaVariantMap = {
10
10
  [key in keyof TextareaVariant]: Array<TextareaVariant[key]>
11
11
  }
12
12
 
13
+
14
+
13
15
  export type TextareaVariantProps = {
14
16
  [key in keyof TextareaVariant]?: ConditionalValue<TextareaVariant[key]> | undefined
15
17
  }
16
18
 
17
19
  export interface TextareaRecipe {
20
+
18
21
  __type: TextareaVariantProps
19
22
  (props?: TextareaVariantProps): string
20
23
  raw: (props?: TextareaVariantProps) => TextareaVariantProps
@@ -10,13 +10,16 @@ type TooltipVariantMap = {
10
10
  [key in keyof TooltipVariant]: Array<TooltipVariant[key]>
11
11
  }
12
12
 
13
+ type TooltipSlot = "trigger" | "arrow" | "arrowTip" | "positioner" | "content"
14
+
13
15
  export type TooltipVariantProps = {
14
16
  [key in keyof TooltipVariant]?: ConditionalValue<TooltipVariant[key]> | undefined
15
17
  }
16
18
 
17
19
  export interface TooltipRecipe {
20
+ __slot: TooltipSlot
18
21
  __type: TooltipVariantProps
19
- (props?: TooltipVariantProps): Pretty<Record<"trigger" | "arrow" | "arrowTip" | "positioner" | "content", string>>
22
+ (props?: TooltipVariantProps): Pretty<Record<TooltipSlot, string>>
20
23
  raw: (props?: TooltipVariantProps) => TooltipVariantProps
21
24
  variantMap: TooltipVariantMap
22
25
  variantKeys: Array<keyof TooltipVariant>
@@ -39,6 +39,7 @@ export const tooltip = /* @__PURE__ */ Object.assign(tooltipFn, {
39
39
  __recipe__: false,
40
40
  __name__: 'tooltip',
41
41
  raw: (props) => props,
42
+ classNameMap: {},
42
43
  variantKeys: tooltipVariantKeys,
43
44
  variantMap: {},
44
45
  splitVariantProps(props) {
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable */
2
- export type Token = "animations.backdrop-in" | "animations.backdrop-out" | "animations.bounce" | "animations.dialog-in" | "animations.dialog-out" | "animations.drawer-in-left" | "animations.drawer-in-right" | "animations.drawer-out-left" | "animations.drawer-out-right" | "animations.fade-in" | "animations.ping" | "animations.pulse" | "animations.skeleton-pulse" | "animations.spin" | "animations.collapse-in" | "animations.collapse-out" | "aspectRatios.golden" | "aspectRatios.landscape" | "aspectRatios.portrait" | "aspectRatios.square" | "aspectRatios.ultrawide" | "aspectRatios.wide" | "blurs.2xl" | "blurs.3xl" | "blurs.base" | "blurs.lg" | "blurs.md" | "blurs.sm" | "blurs.xl" | "borders.border.none" | "colors.black" | "colors.current" | "colors.transparent" | "colors.white" | "colors.purple.100" | "colors.purple.200" | "colors.purple.300" | "colors.purple.400" | "colors.purple.500" | "colors.purple.600" | "colors.purple.700" | "colors.purple.800" | "colors.purple.900" | "colors.blue.100" | "colors.blue.200" | "colors.blue.300" | "colors.blue.400" | "colors.blue.500" | "colors.blue.600" | "colors.blue.700" | "colors.blue.800" | "colors.blue.900" | "colors.grey.10" | "colors.grey.50" | "colors.grey.100" | "colors.grey.200" | "colors.grey.300" | "colors.grey.400" | "colors.grey.500" | "colors.grey.600" | "colors.grey.700" | "colors.grey.800" | "colors.grey.900" | "colors.red.100" | "colors.red.200" | "colors.red.300" | "colors.red.400" | "colors.red.500" | "colors.red.600" | "colors.red.700" | "colors.red.800" | "colors.red.900" | "colors.green.100" | "colors.green.200" | "colors.green.300" | "colors.green.400" | "colors.green.500" | "colors.green.600" | "colors.green.700" | "colors.green.800" | "colors.green.900" | "colors.yellow.100" | "colors.yellow.200" | "colors.yellow.300" | "colors.yellow.400" | "colors.yellow.500" | "colors.yellow.600" | "colors.yellow.700" | "colors.yellow.800" | "colors.yellow.900" | "durations.fast" | "durations.faster" | "durations.fastest" | "durations.normal" | "durations.slow" | "durations.slower" | "durations.slowest" | "easings.default" | "easings.ease-bounce-1" | "easings.ease-bounce-2" | "easings.ease-bounce-3" | "easings.ease-bounce-4" | "easings.ease-bounce-5" | "easings.ease-spring-1" | "easings.ease-spring-2" | "easings.ease-spring-3" | "easings.ease-spring-4" | "easings.ease-spring-5" | "easings.emphasized-in" | "easings.emphasized-out" | "easings.in" | "easings.in-out" | "easings.linear" | "easings.out" | "easings.pulse" | "fontSizes.body.lg" | "fontSizes.body.md" | "fontSizes.body.sm" | "fontSizes.heading.desktop.2xl" | "fontSizes.heading.desktop.lg" | "fontSizes.heading.desktop.md" | "fontSizes.heading.desktop.sm" | "fontSizes.heading.desktop.xs" | "fontSizes.heading.mobile.2xl" | "fontSizes.heading.mobile.lg" | "fontSizes.heading.mobile.md" | "fontSizes.heading.mobile.sm" | "fontSizes.heading.mobile.xs" | "fontWeights.black" | "fontWeights.bold" | "fontWeights.extrabold" | "fontWeights.extralight" | "fontWeights.light" | "fontWeights.medium" | "fontWeights.normal" | "fontWeights.semibold" | "fontWeights.thin" | "fonts.satoshi" | "fonts.cabinet" | "fonts.mono" | "fonts.sans" | "fonts.serif" | "letterSpacings.normal" | "letterSpacings.tight" | "letterSpacings.tighter" | "letterSpacings.wide" | "letterSpacings.wider" | "letterSpacings.widest" | "radii.radius-0" | "radii.radius-2" | "radii.radius-4" | "radii.radius-6" | "radii.radius-8" | "radii.radius-10" | "radii.radius-12" | "radii.radius-16" | "radii.radius-20" | "radii.radius-24" | "radii.radius-28" | "radii.radius-32" | "radii.radius-36" | "radii.radius-40" | "radii.radius-44" | "radii.radius-48" | "radii.radius-52" | "radii.radius-56" | "radii.radius-60" | "radii.radius-64" | "radii.full" | "shadows.2xl" | "shadows.inner" | "shadows.lg" | "shadows.md" | "shadows.sm" | "shadows.xl" | "shadows.xs" | "sizes.size-0" | "sizes.size-12" | "sizes.size-14" | "sizes.size-16" | "sizes.size-18" | "sizes.size-2" | "sizes.size-20" | "sizes.size-24" | "sizes.size-28" | "sizes.size-32" | "sizes.size-36" | "sizes.size-4" | "sizes.size-40" | "sizes.size-6" | "sizes.size-44" | "sizes.size-8" | "sizes.full" | "sizes.max" | "sizes.size-48" | "sizes.fit" | "sizes.size-52" | "sizes.min" | "sizes.size-56" | "sizes.size-60" | "sizes.size-64" | "sizes.size-68" | "sizes.size-72" | "sizes.size-76" | "sizes.size-80" | "sizes.breakpoint-xl" | "sizes.breakpoint-lg" | "sizes.breakpoint-md" | "sizes.breakpoint-sm" | "spacing.space-0" | "spacing.space-12" | "spacing.space-10" | "spacing.space-14" | "spacing.space-16" | "spacing.space-18" | "spacing.space-2" | "spacing.space-20" | "spacing.space-24" | "spacing.space-28" | "spacing.space-32" | "spacing.space-36" | "spacing.space-4" | "spacing.space-40" | "spacing.space-6" | "spacing.space-44" | "spacing.space-8" | "spacing.space-48" | "spacing.space-52" | "spacing.space-56" | "spacing.space-60" | "spacing.space-64" | "spacing.space-68" | "spacing.space-72" | "spacing.space-76" | "spacing.space-80" | "zIndex.banner" | "zIndex.base" | "zIndex.docked" | "zIndex.dropdown" | "zIndex.hide" | "zIndex.modal" | "zIndex.overlay" | "zIndex.popover" | "zIndex.skipLink" | "zIndex.sticky" | "zIndex.toast" | "zIndex.tooltip" | "breakpoints.xl" | "breakpoints.lg" | "breakpoints.md" | "breakpoints.sm" | "colors.decorative.red.light" | "colors.decorative.red.mid" | "colors.decorative.red.dark" | "colors.decorative.blue.light" | "colors.decorative.blue.mid" | "colors.decorative.blue.dark" | "colors.decorative.yellow.light" | "colors.decorative.yellow.mid" | "colors.decorative.yellow.dark" | "colors.decorative.purple.light" | "colors.decorative.purple.mid" | "colors.decorative.purple.dark" | "colors.decorative.green.light" | "colors.decorative.green.mid" | "colors.decorative.green.dark" | "colors.decorative.brown.light" | "colors.decorative.brown.mid" | "colors.decorative.brown.dark" | "colors.typology.fish.light" | "colors.typology.fish.mid" | "colors.typology.fish.dark" | "colors.typology.meat.light" | "colors.typology.meat.mid" | "colors.typology.meat.dark" | "colors.typology.fruit.light" | "colors.typology.fruit.mid" | "colors.typology.fruit.dark" | "colors.typology.vegetable.light" | "colors.typology.vegetable.mid" | "colors.typology.vegetable.dark" | "colors.typology.cereal.light" | "colors.typology.cereal.mid" | "colors.typology.cereal.dark" | "colors.typology.oil.light" | "colors.typology.oil.mid" | "colors.typology.oil.dark" | "colors.typology.aromatic.light" | "colors.typology.aromatic.mid" | "colors.typology.aromatic.dark" | "colors.primary.100" | "colors.primary.200" | "colors.primary.300" | "colors.primary.400" | "colors.primary.500" | "colors.primary.600" | "colors.primary.700" | "colors.primary.800" | "colors.primary.900" | "colors.secondary.100" | "colors.secondary.200" | "colors.secondary.300" | "colors.secondary.400" | "colors.secondary.500" | "colors.secondary.600" | "colors.secondary.700" | "colors.secondary.800" | "colors.secondary.900" | "colors.error.100" | "colors.error.200" | "colors.error.300" | "colors.error.400" | "colors.error.500" | "colors.error.600" | "colors.error.700" | "colors.error.800" | "colors.error.900" | "colors.success.100" | "colors.success.200" | "colors.success.300" | "colors.success.400" | "colors.success.500" | "colors.success.600" | "colors.success.700" | "colors.success.800" | "colors.success.900" | "colors.warning.100" | "colors.warning.200" | "colors.warning.300" | "colors.warning.400" | "colors.warning.500" | "colors.warning.600" | "colors.warning.700" | "colors.warning.800" | "colors.warning.900" | "colors.text" | "colors.text.disabled" | "colors.text.heading" | "spacing.-space-0" | "spacing.-space-12" | "spacing.-space-10" | "spacing.-space-14" | "spacing.-space-16" | "spacing.-space-18" | "spacing.-space-2" | "spacing.-space-20" | "spacing.-space-24" | "spacing.-space-28" | "spacing.-space-32" | "spacing.-space-36" | "spacing.-space-4" | "spacing.-space-40" | "spacing.-space-6" | "spacing.-space-44" | "spacing.-space-8" | "spacing.-space-48" | "spacing.-space-52" | "spacing.-space-56" | "spacing.-space-60" | "spacing.-space-64" | "spacing.-space-68" | "spacing.-space-72" | "spacing.-space-76" | "spacing.-space-80" | "colors.colorPalette" | "colors.colorPalette.100" | "colors.colorPalette.200" | "colors.colorPalette.300" | "colors.colorPalette.400" | "colors.colorPalette.500" | "colors.colorPalette.600" | "colors.colorPalette.700" | "colors.colorPalette.800" | "colors.colorPalette.900" | "colors.colorPalette.10" | "colors.colorPalette.50" | "colors.colorPalette.red.light" | "colors.colorPalette.light" | "colors.colorPalette.red.mid" | "colors.colorPalette.mid" | "colors.colorPalette.red.dark" | "colors.colorPalette.dark" | "colors.colorPalette.blue.light" | "colors.colorPalette.blue.mid" | "colors.colorPalette.blue.dark" | "colors.colorPalette.yellow.light" | "colors.colorPalette.yellow.mid" | "colors.colorPalette.yellow.dark" | "colors.colorPalette.purple.light" | "colors.colorPalette.purple.mid" | "colors.colorPalette.purple.dark" | "colors.colorPalette.green.light" | "colors.colorPalette.green.mid" | "colors.colorPalette.green.dark" | "colors.colorPalette.brown.light" | "colors.colorPalette.brown.mid" | "colors.colorPalette.brown.dark" | "colors.colorPalette.fish.light" | "colors.colorPalette.fish.mid" | "colors.colorPalette.fish.dark" | "colors.colorPalette.meat.light" | "colors.colorPalette.meat.mid" | "colors.colorPalette.meat.dark" | "colors.colorPalette.fruit.light" | "colors.colorPalette.fruit.mid" | "colors.colorPalette.fruit.dark" | "colors.colorPalette.vegetable.light" | "colors.colorPalette.vegetable.mid" | "colors.colorPalette.vegetable.dark" | "colors.colorPalette.cereal.light" | "colors.colorPalette.cereal.mid" | "colors.colorPalette.cereal.dark" | "colors.colorPalette.oil.light" | "colors.colorPalette.oil.mid" | "colors.colorPalette.oil.dark" | "colors.colorPalette.aromatic.light" | "colors.colorPalette.aromatic.mid" | "colors.colorPalette.aromatic.dark" | "colors.colorPalette.disabled" | "colors.colorPalette.heading"
2
+ export type Token = `animations.${AnimationToken}` | `aspectRatios.${AspectRatioToken}` | `blurs.${BlurToken}` | `borders.${BorderToken}` | `colors.${ColorToken}` | `durations.${DurationToken}` | `easings.${EasingToken}` | `fontSizes.${FontSizeToken}` | `fontWeights.${FontWeightToken}` | `fonts.${FontToken}` | `letterSpacings.${LetterSpacingToken}` | `radii.${RadiusToken}` | `shadows.${ShadowToken}` | `sizes.${SizeToken}` | `spacing.${SpacingToken}` | `zIndex.${ZIndexToken}` | `breakpoints.${BreakpointToken}`
3
3
 
4
4
  export type ColorPalette = "black" | "current" | "transparent" | "white" | "purple" | "blue" | "grey" | "red" | "green" | "yellow" | "decorative" | "decorative.red" | "decorative.blue" | "decorative.yellow" | "decorative.purple" | "decorative.green" | "decorative.brown" | "typology" | "typology.fish" | "typology.meat" | "typology.fruit" | "typology.vegetable" | "typology.cereal" | "typology.oil" | "typology.aromatic" | "primary" | "secondary" | "error" | "success" | "warning" | "text"
5
5