@stokelp/styled-system 2.93.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 (137) 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 +11 -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/icon-button.d.ts +3 -2
  85. package/recipes/icon.d.ts +3 -0
  86. package/recipes/illustration.d.ts +3 -2
  87. package/recipes/input-addon.d.ts +3 -2
  88. package/recipes/input-group.d.ts +3 -2
  89. package/recipes/input.d.ts +3 -2
  90. package/recipes/menu.d.ts +4 -1
  91. package/recipes/menu.mjs +1 -0
  92. package/recipes/pagination.d.ts +4 -3
  93. package/recipes/pagination.mjs +1 -0
  94. package/recipes/phone-number-input.d.ts +3 -2
  95. package/recipes/popover.d.ts +4 -1
  96. package/recipes/popover.mjs +1 -0
  97. package/recipes/price-tag.d.ts +4 -1
  98. package/recipes/price-tag.mjs +1 -0
  99. package/recipes/product-card-catalog.d.ts +4 -3
  100. package/recipes/product-card-catalog.mjs +1 -0
  101. package/recipes/radio-button-group.d.ts +4 -1
  102. package/recipes/radio-button-group.mjs +1 -0
  103. package/recipes/radio-card-group.d.ts +4 -1
  104. package/recipes/radio-card-group.mjs +1 -0
  105. package/recipes/radio-group.d.ts +4 -1
  106. package/recipes/radio-group.mjs +1 -0
  107. package/recipes/select-language.d.ts +4 -1
  108. package/recipes/select-language.mjs +1 -0
  109. package/recipes/select.d.ts +4 -1
  110. package/recipes/select.mjs +1 -0
  111. package/recipes/status-tag-select.d.ts +4 -1
  112. package/recipes/status-tag-select.mjs +1 -0
  113. package/recipes/switch-card.d.ts +4 -1
  114. package/recipes/switch-card.mjs +1 -0
  115. package/recipes/switch-recipe.d.ts +4 -1
  116. package/recipes/switch-recipe.mjs +1 -0
  117. package/recipes/table-container.d.ts +3 -0
  118. package/recipes/table-empty-row.d.ts +3 -0
  119. package/recipes/table-group-title.d.ts +3 -0
  120. package/recipes/table.d.ts +4 -1
  121. package/recipes/table.mjs +1 -0
  122. package/recipes/tabs-chip.d.ts +3 -2
  123. package/recipes/tabs.d.ts +4 -1
  124. package/recipes/tabs.mjs +1 -0
  125. package/recipes/tag.d.ts +4 -3
  126. package/recipes/tag.mjs +1 -0
  127. package/recipes/text.d.ts +3 -0
  128. package/recipes/textarea.d.ts +3 -0
  129. package/recipes/tooltip.d.ts +4 -1
  130. package/recipes/tooltip.mjs +1 -0
  131. package/tokens/tokens.d.ts +1 -1
  132. package/types/composition.d.ts +83 -23
  133. package/types/conditions.d.ts +11 -7
  134. package/types/jsx.d.ts +25 -10
  135. package/types/prop-type.d.ts +10 -2
  136. package/types/style-props.d.ts +15 -4
  137. package/types/system-types.d.ts +76 -0
@@ -14,7 +14,6 @@ export interface GridItemProperties {
14
14
  rowEnd?: ConditionalValue<number>
15
15
  }
16
16
 
17
-
18
17
  interface GridItemStyles extends GridItemProperties, DistributiveOmit<SystemStyleObject, keyof GridItemProperties > {}
19
18
 
20
19
  interface GridItemPatternFn {
@@ -13,7 +13,6 @@ export interface GridProperties {
13
13
  minChildWidth?: ConditionalValue<Tokens["sizes"] | Properties["width"]>
14
14
  }
15
15
 
16
-
17
16
  interface GridStyles extends GridProperties, DistributiveOmit<SystemStyleObject, keyof GridProperties > {}
18
17
 
19
18
  interface GridPatternFn {
package/patterns/grid.mjs CHANGED
@@ -15,7 +15,7 @@ transform(props15, { map, isCssUnit }) {
15
15
  };
16
16
  },
17
17
  defaultValues(props15) {
18
- return { gap: props15.columnGap || props15.rowGap ? void 0 : "10px" };
18
+ return { gap: props15.columnGap || props15.rowGap ? void 0 : "8px" };
19
19
  }}
20
20
 
21
21
  export const getGridStyle = (styles = {}) => {
@@ -10,7 +10,6 @@ export interface HstackProperties {
10
10
  gap?: SystemProperties["gap"]
11
11
  }
12
12
 
13
-
14
13
  interface HstackStyles extends HstackProperties, DistributiveOmit<SystemStyleObject, keyof HstackProperties > {}
15
14
 
16
15
  interface HstackPatternFn {
@@ -13,7 +13,7 @@ transform(props15) {
13
13
  ...rest
14
14
  };
15
15
  },
16
- defaultValues:{gap:'10px'}}
16
+ defaultValues:{gap:'8px'}}
17
17
 
18
18
  export const getHstackStyle = (styles = {}) => {
19
19
  const _styles = getPatternStyles(hstackConfig, styles)
@@ -9,7 +9,6 @@ export interface LinkOverlayProperties {
9
9
 
10
10
  }
11
11
 
12
-
13
12
  interface LinkOverlayStyles extends LinkOverlayProperties, DistributiveOmit<SystemStyleObject, keyof LinkOverlayProperties > {}
14
13
 
15
14
  interface LinkOverlayPatternFn {
@@ -9,7 +9,6 @@ export interface SpacerProperties {
9
9
  size?: ConditionalValue<Tokens["spacing"]>
10
10
  }
11
11
 
12
-
13
12
  interface SpacerStyles extends SpacerProperties, DistributiveOmit<SystemStyleObject, keyof SpacerProperties > {}
14
13
 
15
14
  interface SpacerPatternFn {
@@ -9,7 +9,6 @@ export interface SquareProperties {
9
9
  size?: SystemProperties["width"]
10
10
  }
11
11
 
12
-
13
12
  interface SquareStyles extends SquareProperties, DistributiveOmit<SystemStyleObject, keyof SquareProperties > {}
14
13
 
15
14
  interface SquarePatternFn {
@@ -12,7 +12,6 @@ export interface StackProperties {
12
12
  gap?: SystemProperties["gap"]
13
13
  }
14
14
 
15
-
16
15
  interface StackStyles extends StackProperties, DistributiveOmit<SystemStyleObject, keyof StackProperties > {}
17
16
 
18
17
  interface StackPatternFn {
@@ -13,7 +13,7 @@ transform(props15) {
13
13
  ...rest
14
14
  };
15
15
  },
16
- defaultValues:{direction:'column',gap:'10px'}}
16
+ defaultValues:{direction:'column',gap:'8px'}}
17
17
 
18
18
  export const getStackStyle = (styles = {}) => {
19
19
  const _styles = getPatternStyles(stackConfig, styles)
@@ -9,7 +9,6 @@ export interface VisuallyHiddenProperties {
9
9
 
10
10
  }
11
11
 
12
-
13
12
  interface VisuallyHiddenStyles extends VisuallyHiddenProperties, DistributiveOmit<SystemStyleObject, keyof VisuallyHiddenProperties > {}
14
13
 
15
14
  interface VisuallyHiddenPatternFn {
@@ -10,7 +10,6 @@ export interface VstackProperties {
10
10
  gap?: SystemProperties["gap"]
11
11
  }
12
12
 
13
-
14
13
  interface VstackStyles extends VstackProperties, DistributiveOmit<SystemStyleObject, keyof VstackProperties > {}
15
14
 
16
15
  interface VstackPatternFn {
@@ -13,7 +13,7 @@ transform(props15) {
13
13
  ...rest
14
14
  };
15
15
  },
16
- defaultValues:{gap:'10px'}}
16
+ defaultValues:{gap:'8px'}}
17
17
 
18
18
  export const getVstackStyle = (styles = {}) => {
19
19
  const _styles = getPatternStyles(vstackConfig, styles)
@@ -13,7 +13,6 @@ export interface WrapProperties {
13
13
  justify?: SystemProperties["justifyContent"]
14
14
  }
15
15
 
16
-
17
16
  interface WrapStyles extends WrapProperties, DistributiveOmit<SystemStyleObject, keyof WrapProperties > {}
18
17
 
19
18
  interface WrapPatternFn {
package/patterns/wrap.mjs CHANGED
@@ -3,7 +3,7 @@ import { css } from '../css/index.mjs';
3
3
 
4
4
  const wrapConfig = {
5
5
  transform(props15) {
6
- const { columnGap, rowGap, gap = columnGap || rowGap ? void 0 : "10px", align, justify, ...rest } = props15;
6
+ const { columnGap, rowGap, gap = columnGap || rowGap ? void 0 : "8px", align, justify, ...rest } = props15;
7
7
  return {
8
8
  display: "flex",
9
9
  flexWrap: "wrap",
@@ -13,13 +13,16 @@ type AccordionVariantMap = {
13
13
  [key in keyof AccordionVariant]: Array<AccordionVariant[key]>
14
14
  }
15
15
 
16
+ type AccordionSlot = "root" | "item" | "itemTrigger" | "itemContent" | "itemIndicator"
17
+
16
18
  export type AccordionVariantProps = {
17
19
  [key in keyof AccordionVariant]?: ConditionalValue<AccordionVariant[key]> | undefined
18
20
  }
19
21
 
20
22
  export interface AccordionRecipe {
23
+ __slot: AccordionSlot
21
24
  __type: AccordionVariantProps
22
- (props?: AccordionVariantProps): Pretty<Record<"root" | "item" | "itemTrigger" | "itemContent" | "itemIndicator", string>>
25
+ (props?: AccordionVariantProps): Pretty<Record<AccordionSlot, string>>
23
26
  raw: (props?: AccordionVariantProps) => AccordionVariantProps
24
27
  variantMap: AccordionVariantMap
25
28
  variantKeys: Array<keyof AccordionVariant>
@@ -43,6 +43,7 @@ export const accordion = /* @__PURE__ */ Object.assign(accordionFn, {
43
43
  __recipe__: false,
44
44
  __name__: 'accordion',
45
45
  raw: (props) => props,
46
+ classNameMap: {},
46
47
  variantKeys: accordionVariantKeys,
47
48
  variantMap: {
48
49
  "size": [
@@ -10,13 +10,16 @@ type ActionCardVariantMap = {
10
10
  [key in keyof ActionCardVariant]: Array<ActionCardVariant[key]>
11
11
  }
12
12
 
13
+ type ActionCardSlot = "root" | "title" | "description" | "icon"
14
+
13
15
  export type ActionCardVariantProps = {
14
16
  [key in keyof ActionCardVariant]?: ConditionalValue<ActionCardVariant[key]> | undefined
15
17
  }
16
18
 
17
19
  export interface ActionCardRecipe {
20
+ __slot: ActionCardSlot
18
21
  __type: ActionCardVariantProps
19
- (props?: ActionCardVariantProps): Pretty<Record<"root" | "title" | "description" | "icon", string>>
22
+ (props?: ActionCardVariantProps): Pretty<Record<ActionCardSlot, string>>
20
23
  raw: (props?: ActionCardVariantProps) => ActionCardVariantProps
21
24
  variantMap: ActionCardVariantMap
22
25
  variantKeys: Array<keyof ActionCardVariant>
@@ -26,7 +29,5 @@ export interface ActionCardRecipe {
26
29
 
27
30
  /**
28
31
  * The styles for the ActionCard component
29
-
30
-
31
32
  */
32
33
  export declare const actionCard: ActionCardRecipe
@@ -35,6 +35,7 @@ export const actionCard = /* @__PURE__ */ Object.assign(actionCardFn, {
35
35
  __recipe__: false,
36
36
  __name__: 'actionCard',
37
37
  raw: (props) => props,
38
+ classNameMap: {},
38
39
  variantKeys: actionCardVariantKeys,
39
40
  variantMap: {},
40
41
  splitVariantProps(props) {
@@ -13,13 +13,16 @@ type AlertVariantMap = {
13
13
  [key in keyof AlertVariant]: Array<AlertVariant[key]>
14
14
  }
15
15
 
16
+ type AlertSlot = "root" | "icon" | "title" | "description"
17
+
16
18
  export type AlertVariantProps = {
17
19
  [key in keyof AlertVariant]?: ConditionalValue<AlertVariant[key]> | undefined
18
20
  }
19
21
 
20
22
  export interface AlertRecipe {
23
+ __slot: AlertSlot
21
24
  __type: AlertVariantProps
22
- (props?: AlertVariantProps): Pretty<Record<"root" | "icon" | "title" | "description", string>>
25
+ (props?: AlertVariantProps): Pretty<Record<AlertSlot, string>>
23
26
  raw: (props?: AlertVariantProps) => AlertVariantProps
24
27
  variantMap: AlertVariantMap
25
28
  variantKeys: Array<keyof AlertVariant>
@@ -29,7 +32,5 @@ export interface AlertRecipe {
29
32
 
30
33
  /**
31
34
  * The styles for the Alert component
32
-
33
-
34
35
  */
35
36
  export declare const alert: AlertRecipe
package/recipes/alert.mjs CHANGED
@@ -39,6 +39,7 @@ export const alert = /* @__PURE__ */ Object.assign(alertFn, {
39
39
  __recipe__: false,
40
40
  __name__: 'alert',
41
41
  raw: (props) => props,
42
+ classNameMap: {},
42
43
  variantKeys: alertVariantKeys,
43
44
  variantMap: {
44
45
  "severity": [
@@ -21,13 +21,16 @@ type AppNavigationLanguageSelectVariantMap = {
21
21
  [key in keyof AppNavigationLanguageSelectVariant]: Array<AppNavigationLanguageSelectVariant[key]>
22
22
  }
23
23
 
24
+ type AppNavigationLanguageSelectSlot = "label" | "positioner" | "trigger" | "indicator" | "clearTrigger" | "item" | "itemText" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "list" | "content" | "root" | "control" | "valueText"
25
+
24
26
  export type AppNavigationLanguageSelectVariantProps = {
25
27
  [key in keyof AppNavigationLanguageSelectVariant]?: ConditionalValue<AppNavigationLanguageSelectVariant[key]> | undefined
26
28
  }
27
29
 
28
30
  export interface AppNavigationLanguageSelectRecipe {
31
+ __slot: AppNavigationLanguageSelectSlot
29
32
  __type: AppNavigationLanguageSelectVariantProps
30
- (props?: AppNavigationLanguageSelectVariantProps): Pretty<Record<"label" | "positioner" | "trigger" | "indicator" | "clearTrigger" | "item" | "itemText" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "list" | "content" | "root" | "control" | "valueText", string>>
33
+ (props?: AppNavigationLanguageSelectVariantProps): Pretty<Record<AppNavigationLanguageSelectSlot, string>>
31
34
  raw: (props?: AppNavigationLanguageSelectVariantProps) => AppNavigationLanguageSelectVariantProps
32
35
  variantMap: AppNavigationLanguageSelectVariantMap
33
36
  variantKeys: Array<keyof AppNavigationLanguageSelectVariant>
@@ -87,6 +87,7 @@ export const appNavigationLanguageSelect = /* @__PURE__ */ Object.assign(appNavi
87
87
  __recipe__: false,
88
88
  __name__: 'appNavigationLanguageSelect',
89
89
  raw: (props) => props,
90
+ classNameMap: {},
90
91
  variantKeys: appNavigationLanguageSelectVariantKeys,
91
92
  variantMap: {
92
93
  "isMiniaturized": [
@@ -13,13 +13,16 @@ type AppNavigationVariantMap = {
13
13
  [key in keyof AppNavigationVariant]: Array<AppNavigationVariant[key]>
14
14
  }
15
15
 
16
+ type AppNavigationSlot = "root" | "header" | "miniaturizeTrigger" | "body" | "item" | "itemLabel" | "itemIcon" | "itemAlpha" | "itemContent" | "itemSubItems" | "footer"
17
+
16
18
  export type AppNavigationVariantProps = {
17
19
  [key in keyof AppNavigationVariant]?: ConditionalValue<AppNavigationVariant[key]> | undefined
18
20
  }
19
21
 
20
22
  export interface AppNavigationRecipe {
23
+ __slot: AppNavigationSlot
21
24
  __type: AppNavigationVariantProps
22
- (props?: AppNavigationVariantProps): Pretty<Record<"root" | "header" | "miniaturizeTrigger" | "body" | "item" | "itemLabel" | "itemIcon" | "itemAlpha" | "itemContent" | "itemSubItems" | "footer", string>>
25
+ (props?: AppNavigationVariantProps): Pretty<Record<AppNavigationSlot, string>>
23
26
  raw: (props?: AppNavigationVariantProps) => AppNavigationVariantProps
24
27
  variantMap: AppNavigationVariantMap
25
28
  variantKeys: Array<keyof AppNavigationVariant>
@@ -29,7 +32,5 @@ export interface AppNavigationRecipe {
29
32
 
30
33
  /**
31
34
  * The styles for the AppNavigation component
32
-
33
-
34
35
  */
35
36
  export declare const appNavigation: AppNavigationRecipe
@@ -67,6 +67,7 @@ export const appNavigation = /* @__PURE__ */ Object.assign(appNavigationFn, {
67
67
  __recipe__: false,
68
68
  __name__: 'appNavigation',
69
69
  raw: (props) => props,
70
+ classNameMap: {},
70
71
  variantKeys: appNavigationVariantKeys,
71
72
  variantMap: {
72
73
  "variant": [
@@ -13,11 +13,14 @@ type AvatarGroupVariantMap = {
13
13
  [key in keyof AvatarGroupVariant]: Array<AvatarGroupVariant[key]>
14
14
  }
15
15
 
16
+
17
+
16
18
  export type AvatarGroupVariantProps = {
17
19
  [key in keyof AvatarGroupVariant]?: ConditionalValue<AvatarGroupVariant[key]> | undefined
18
20
  }
19
21
 
20
22
  export interface AvatarGroupRecipe {
23
+
21
24
  __type: AvatarGroupVariantProps
22
25
  (props?: AvatarGroupVariantProps): string
23
26
  raw: (props?: AvatarGroupVariantProps) => AvatarGroupVariantProps
@@ -17,13 +17,16 @@ type AvatarVariantMap = {
17
17
  [key in keyof AvatarVariant]: Array<AvatarVariant[key]>
18
18
  }
19
19
 
20
+ type AvatarSlot = "root" | "image" | "fallback"
21
+
20
22
  export type AvatarVariantProps = {
21
23
  [key in keyof AvatarVariant]?: ConditionalValue<AvatarVariant[key]> | undefined
22
24
  }
23
25
 
24
26
  export interface AvatarRecipe {
27
+ __slot: AvatarSlot
25
28
  __type: AvatarVariantProps
26
- (props?: AvatarVariantProps): Pretty<Record<"root" | "image" | "fallback", string>>
29
+ (props?: AvatarVariantProps): Pretty<Record<AvatarSlot, string>>
27
30
  raw: (props?: AvatarVariantProps) => AvatarVariantProps
28
31
  variantMap: AvatarVariantMap
29
32
  variantKeys: Array<keyof AvatarVariant>
@@ -37,6 +37,7 @@ export const avatar = /* @__PURE__ */ Object.assign(avatarFn, {
37
37
  __recipe__: false,
38
38
  __name__: 'avatar',
39
39
  raw: (props) => props,
40
+ classNameMap: {},
40
41
  variantKeys: avatarVariantKeys,
41
42
  variantMap: {
42
43
  "size": [
@@ -10,13 +10,16 @@ type BreadcrumbVariantMap = {
10
10
  [key in keyof BreadcrumbVariant]: Array<BreadcrumbVariant[key]>
11
11
  }
12
12
 
13
+ type BreadcrumbSlot = "root" | "list" | "item" | "link"
14
+
13
15
  export type BreadcrumbVariantProps = {
14
16
  [key in keyof BreadcrumbVariant]?: ConditionalValue<BreadcrumbVariant[key]> | undefined
15
17
  }
16
18
 
17
19
  export interface BreadcrumbRecipe {
20
+ __slot: BreadcrumbSlot
18
21
  __type: BreadcrumbVariantProps
19
- (props?: BreadcrumbVariantProps): Pretty<Record<"root" | "list" | "item" | "link", string>>
22
+ (props?: BreadcrumbVariantProps): Pretty<Record<BreadcrumbSlot, string>>
20
23
  raw: (props?: BreadcrumbVariantProps) => BreadcrumbVariantProps
21
24
  variantMap: BreadcrumbVariantMap
22
25
  variantKeys: Array<keyof BreadcrumbVariant>
@@ -35,6 +35,7 @@ export const breadcrumb = /* @__PURE__ */ Object.assign(breadcrumbFn, {
35
35
  __recipe__: false,
36
36
  __name__: 'breadcrumb',
37
37
  raw: (props) => props,
38
+ classNameMap: {},
38
39
  variantKeys: breadcrumbVariantKeys,
39
40
  variantMap: {},
40
41
  splitVariantProps(props) {
@@ -10,11 +10,14 @@ type ButtonFilterVariantMap = {
10
10
  [key in keyof ButtonFilterVariant]: Array<ButtonFilterVariant[key]>
11
11
  }
12
12
 
13
+
14
+
13
15
  export type ButtonFilterVariantProps = {
14
16
  [key in keyof ButtonFilterVariant]?: ConditionalValue<ButtonFilterVariant[key]> | undefined
15
17
  }
16
18
 
17
19
  export interface ButtonFilterRecipe {
20
+
18
21
  __type: ButtonFilterVariantProps
19
22
  (props?: ButtonFilterVariantProps): string
20
23
  raw: (props?: ButtonFilterVariantProps) => ButtonFilterVariantProps
@@ -26,7 +29,5 @@ export interface ButtonFilterRecipe {
26
29
 
27
30
  /**
28
31
  * The styles for the ButtonFilter component
29
-
30
-
31
32
  */
32
33
  export declare const buttonFilter: ButtonFilterRecipe
@@ -21,11 +21,14 @@ type ButtonVariantMap = {
21
21
  [key in keyof ButtonVariant]: Array<ButtonVariant[key]>
22
22
  }
23
23
 
24
+
25
+
24
26
  export type ButtonVariantProps = {
25
27
  [key in keyof ButtonVariant]?: ButtonVariant[key] | undefined
26
28
  }
27
29
 
28
30
  export interface ButtonRecipe {
31
+
29
32
  __type: ButtonVariantProps
30
33
  (props?: ButtonVariantProps): string
31
34
  raw: (props?: ButtonVariantProps) => ButtonVariantProps
@@ -37,7 +40,5 @@ export interface ButtonRecipe {
37
40
 
38
41
  /**
39
42
  * The styles for the Button component
40
-
41
-
42
43
  */
43
44
  export declare const button: ButtonRecipe
@@ -10,11 +10,14 @@ type ChatDocumentMessageVariantMap = {
10
10
  [key in keyof ChatDocumentMessageVariant]: Array<ChatDocumentMessageVariant[key]>
11
11
  }
12
12
 
13
+
14
+
13
15
  export type ChatDocumentMessageVariantProps = {
14
16
  [key in keyof ChatDocumentMessageVariant]?: ConditionalValue<ChatDocumentMessageVariant[key]> | undefined
15
17
  }
16
18
 
17
19
  export interface ChatDocumentMessageRecipe {
20
+
18
21
  __type: ChatDocumentMessageVariantProps
19
22
  (props?: ChatDocumentMessageVariantProps): string
20
23
  raw: (props?: ChatDocumentMessageVariantProps) => ChatDocumentMessageVariantProps
@@ -26,7 +29,5 @@ export interface ChatDocumentMessageRecipe {
26
29
 
27
30
  /**
28
31
  * The styles for the Chat document message component
29
-
30
-
31
32
  */
32
33
  export declare const chatDocumentMessage: ChatDocumentMessageRecipe
@@ -17,11 +17,14 @@ type ChatMessageVariantMap = {
17
17
  [key in keyof ChatMessageVariant]: Array<ChatMessageVariant[key]>
18
18
  }
19
19
 
20
+
21
+
20
22
  export type ChatMessageVariantProps = {
21
23
  [key in keyof ChatMessageVariant]?: ConditionalValue<ChatMessageVariant[key]> | undefined
22
24
  }
23
25
 
24
26
  export interface ChatMessageRecipe {
27
+
25
28
  __type: ChatMessageVariantProps
26
29
  (props?: ChatMessageVariantProps): string
27
30
  raw: (props?: ChatMessageVariantProps) => ChatMessageVariantProps
@@ -33,7 +36,5 @@ export interface ChatMessageRecipe {
33
36
 
34
37
  /**
35
38
  * The styles for the Chat message component
36
-
37
-
38
39
  */
39
40
  export declare const chatMessage: ChatMessageRecipe
@@ -13,11 +13,14 @@ type ChatProfileAvatarVariantMap = {
13
13
  [key in keyof ChatProfileAvatarVariant]: Array<ChatProfileAvatarVariant[key]>
14
14
  }
15
15
 
16
+
17
+
16
18
  export type ChatProfileAvatarVariantProps = {
17
19
  [key in keyof ChatProfileAvatarVariant]?: ConditionalValue<ChatProfileAvatarVariant[key]> | undefined
18
20
  }
19
21
 
20
22
  export interface ChatProfileAvatarRecipe {
23
+
21
24
  __type: ChatProfileAvatarVariantProps
22
25
  (props?: ChatProfileAvatarVariantProps): string
23
26
  raw: (props?: ChatProfileAvatarVariantProps) => ChatProfileAvatarVariantProps
@@ -29,7 +32,5 @@ export interface ChatProfileAvatarRecipe {
29
32
 
30
33
  /**
31
34
  * The styles for the Chat profile avatar component
32
-
33
-
34
35
  */
35
36
  export declare const chatProfileAvatar: ChatProfileAvatarRecipe
@@ -10,11 +10,14 @@ type ChatTextInputVariantMap = {
10
10
  [key in keyof ChatTextInputVariant]: Array<ChatTextInputVariant[key]>
11
11
  }
12
12
 
13
+
14
+
13
15
  export type ChatTextInputVariantProps = {
14
16
  [key in keyof ChatTextInputVariant]?: ConditionalValue<ChatTextInputVariant[key]> | undefined
15
17
  }
16
18
 
17
19
  export interface ChatTextInputRecipe {
20
+
18
21
  __type: ChatTextInputVariantProps
19
22
  (props?: ChatTextInputVariantProps): string
20
23
  raw: (props?: ChatTextInputVariantProps) => ChatTextInputVariantProps
@@ -26,7 +29,5 @@ export interface ChatTextInputRecipe {
26
29
 
27
30
  /**
28
31
  * The styles for the Chat input text component
29
-
30
-
31
32
  */
32
33
  export declare const chatTextInput: ChatTextInputRecipe
package/recipes/chat.d.ts CHANGED
@@ -10,13 +10,16 @@ type ChatVariantMap = {
10
10
  [key in keyof ChatVariant]: Array<ChatVariant[key]>
11
11
  }
12
12
 
13
+ type ChatSlot = "root" | "message-container" | "message" | "document-message"
14
+
13
15
  export type ChatVariantProps = {
14
16
  [key in keyof ChatVariant]?: ConditionalValue<ChatVariant[key]> | undefined
15
17
  }
16
18
 
17
19
  export interface ChatRecipe {
20
+ __slot: ChatSlot
18
21
  __type: ChatVariantProps
19
- (props?: ChatVariantProps): Pretty<Record<"root" | "message-container" | "message" | "document-message", string>>
22
+ (props?: ChatVariantProps): Pretty<Record<ChatSlot, string>>
20
23
  raw: (props?: ChatVariantProps) => ChatVariantProps
21
24
  variantMap: ChatVariantMap
22
25
  variantKeys: Array<keyof ChatVariant>
@@ -26,7 +29,5 @@ export interface ChatRecipe {
26
29
 
27
30
  /**
28
31
  * The styles for the Chat component.
29
-
30
-
31
32
  */
32
33
  export declare const chat: ChatRecipe
package/recipes/chat.mjs CHANGED
@@ -35,6 +35,7 @@ export const chat = /* @__PURE__ */ Object.assign(chatFn, {
35
35
  __recipe__: false,
36
36
  __name__: 'chat',
37
37
  raw: (props) => props,
38
+ classNameMap: {},
38
39
  variantKeys: chatVariantKeys,
39
40
  variantMap: {},
40
41
  splitVariantProps(props) {
@@ -13,13 +13,16 @@ type CheckboxCardVariantMap = {
13
13
  [key in keyof CheckboxCardVariant]: Array<CheckboxCardVariant[key]>
14
14
  }
15
15
 
16
+ type CheckboxCardSlot = "root" | "label" | "control" | "indicator" | "group" | "image" | "content" | "title" | "description"
17
+
16
18
  export type CheckboxCardVariantProps = {
17
19
  [key in keyof CheckboxCardVariant]?: ConditionalValue<CheckboxCardVariant[key]> | undefined
18
20
  }
19
21
 
20
22
  export interface CheckboxCardRecipe {
23
+ __slot: CheckboxCardSlot
21
24
  __type: CheckboxCardVariantProps
22
- (props?: CheckboxCardVariantProps): Pretty<Record<"root" | "label" | "control" | "indicator" | "group" | "image" | "content" | "title" | "description", string>>
25
+ (props?: CheckboxCardVariantProps): Pretty<Record<CheckboxCardSlot, string>>
23
26
  raw: (props?: CheckboxCardVariantProps) => CheckboxCardVariantProps
24
27
  variantMap: CheckboxCardVariantMap
25
28
  variantKeys: Array<keyof CheckboxCardVariant>
@@ -59,6 +59,7 @@ export const checkboxCard = /* @__PURE__ */ Object.assign(checkboxCardFn, {
59
59
  __recipe__: false,
60
60
  __name__: 'checkboxCard',
61
61
  raw: (props) => props,
62
+ classNameMap: {},
62
63
  variantKeys: checkboxCardVariantKeys,
63
64
  variantMap: {
64
65
  "size": [
@@ -10,11 +10,14 @@ type CheckboxGroupVariantMap = {
10
10
  [key in keyof CheckboxGroupVariant]: Array<CheckboxGroupVariant[key]>
11
11
  }
12
12
 
13
+
14
+
13
15
  export type CheckboxGroupVariantProps = {
14
16
  [key in keyof CheckboxGroupVariant]?: ConditionalValue<CheckboxGroupVariant[key]> | undefined
15
17
  }
16
18
 
17
19
  export interface CheckboxGroupRecipe {
20
+
18
21
  __type: CheckboxGroupVariantProps
19
22
  (props?: CheckboxGroupVariantProps): string
20
23
  raw: (props?: CheckboxGroupVariantProps) => CheckboxGroupVariantProps
@@ -13,13 +13,16 @@ type CheckboxVariantMap = {
13
13
  [key in keyof CheckboxVariant]: Array<CheckboxVariant[key]>
14
14
  }
15
15
 
16
+ type CheckboxSlot = "root" | "label" | "control" | "indicator" | "group"
17
+
16
18
  export type CheckboxVariantProps = {
17
19
  [key in keyof CheckboxVariant]?: ConditionalValue<CheckboxVariant[key]> | undefined
18
20
  }
19
21
 
20
22
  export interface CheckboxRecipe {
23
+ __slot: CheckboxSlot
21
24
  __type: CheckboxVariantProps
22
- (props?: CheckboxVariantProps): Pretty<Record<"root" | "label" | "control" | "indicator" | "group", string>>
25
+ (props?: CheckboxVariantProps): Pretty<Record<CheckboxSlot, string>>
23
26
  raw: (props?: CheckboxVariantProps) => CheckboxVariantProps
24
27
  variantMap: CheckboxVariantMap
25
28
  variantKeys: Array<keyof CheckboxVariant>
@@ -43,6 +43,7 @@ export const checkbox = /* @__PURE__ */ Object.assign(checkboxFn, {
43
43
  __recipe__: false,
44
44
  __name__: 'checkbox',
45
45
  raw: (props) => props,
46
+ classNameMap: {},
46
47
  variantKeys: checkboxVariantKeys,
47
48
  variantMap: {
48
49
  "size": [
package/recipes/chip.d.ts CHANGED
@@ -17,13 +17,16 @@ type ChipVariantMap = {
17
17
  [key in keyof ChipVariant]: Array<ChipVariant[key]>
18
18
  }
19
19
 
20
+ type ChipSlot = "root" | "avatar" | "body" | "clearTrigger"
21
+
20
22
  export type ChipVariantProps = {
21
23
  [key in keyof ChipVariant]?: ConditionalValue<ChipVariant[key]> | undefined
22
24
  }
23
25
 
24
26
  export interface ChipRecipe {
27
+ __slot: ChipSlot
25
28
  __type: ChipVariantProps
26
- (props?: ChipVariantProps): Pretty<Record<"root" | "avatar" | "body" | "clearTrigger", string>>
29
+ (props?: ChipVariantProps): Pretty<Record<ChipSlot, string>>
27
30
  raw: (props?: ChipVariantProps) => ChipVariantProps
28
31
  variantMap: ChipVariantMap
29
32
  variantKeys: Array<keyof ChipVariant>
@@ -33,7 +36,5 @@ export interface ChipRecipe {
33
36
 
34
37
  /**
35
38
  * The styles for the Chip component
36
-
37
-
38
39
  */
39
40
  export declare const chip: ChipRecipe