@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
@@ -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
 
@@ -15,6 +15,8 @@ interface Recursive<T> {
15
15
  * -----------------------------------------------------------------------------*/
16
16
 
17
17
  type TextStyleProperty =
18
+ | 'color'
19
+ | 'direction'
18
20
  | 'font'
19
21
  | 'fontFamily'
20
22
  | 'fontFeatureSettings'
@@ -35,6 +37,7 @@ type TextStyleProperty =
35
37
  | 'fontVariantPosition'
36
38
  | 'fontVariationSettings'
37
39
  | 'fontWeight'
40
+ | 'hangingPunctuation'
38
41
  | 'hypens'
39
42
  | 'hyphenateCharacter'
40
43
  | 'hyphenateLimitChars'
@@ -43,11 +46,17 @@ type TextStyleProperty =
43
46
  | 'lineHeight'
44
47
  | 'quotes'
45
48
  | 'overflowWrap'
49
+ | 'tabSize'
50
+ | 'textAlign'
51
+ | 'textAlignLast'
46
52
  | 'textCombineUpright'
47
53
  | 'textDecoration'
48
54
  | 'textDecorationColor'
49
55
  | 'textDecorationLine'
56
+ | 'textDecorationSkip'
57
+ | 'textDecorationSkipBox'
50
58
  | 'textDecorationSkipInk'
59
+ | 'textDecorationSkipInset'
51
60
  | 'textDecorationStyle'
52
61
  | 'textDecorationThickness'
53
62
  | 'textEmphasis'
@@ -60,16 +69,21 @@ type TextStyleProperty =
60
69
  | 'textOverflow'
61
70
  | 'textRendering'
62
71
  | 'textShadow'
72
+ | 'textStroke'
73
+ | 'textStrokeColor'
74
+ | 'textStrokeWidth'
63
75
  | 'textTransform'
64
76
  | 'textUnderlineOffset'
65
77
  | 'textUnderlinePosition'
66
78
  | 'textWrap'
67
79
  | 'textWrapMode'
68
80
  | 'textWrapStyle'
81
+ | 'unicodeBidi'
69
82
  | 'verticalAlign'
70
83
  | 'whiteSpace'
71
84
  | 'wordBreak'
72
85
  | 'wordSpacing'
86
+ | 'writingMode'
73
87
 
74
88
  export type TextStyle = CompositionStyleObject<TextStyleProperty>
75
89
 
@@ -79,17 +93,11 @@ export type TextStyles = Recursive<Token<TextStyle>>
79
93
  * Layer styles
80
94
  * -----------------------------------------------------------------------------*/
81
95
 
82
- type Placement =
83
- | 'Top'
84
- | 'Right'
85
- | 'Bottom'
86
- | 'Left'
87
- | 'Inline'
88
- | 'Block'
89
- | 'InlineStart'
90
- | 'InlineEnd'
91
- | 'BlockStart'
92
- | 'BlockEnd'
96
+ type LogicalPlacement = 'Inline' | 'Block' | 'InlineStart' | 'InlineEnd' | 'BlockStart' | 'BlockEnd'
97
+
98
+ type PhysicalPlacement = 'Top' | 'Right' | 'Bottom' | 'Left'
99
+
100
+ type Placement = PhysicalPlacement | LogicalPlacement
93
101
 
94
102
  type Radius =
95
103
  | `Top${'Right' | 'Left'}`
@@ -98,20 +106,80 @@ type Radius =
98
106
  | `End${'Start' | 'End'}`
99
107
 
100
108
  type LayerStyleProperty =
109
+ | 'aspectRatio'
101
110
  | 'background'
102
111
  | 'backgroundColor'
103
112
  | 'backgroundImage'
104
- | 'borderRadius'
105
113
  | 'border'
106
- | 'borderWidth'
107
114
  | 'borderColor'
115
+ | 'borderImage'
116
+ | 'borderImageOutset'
117
+ | 'borderImageRepeat'
118
+ | 'borderImageSlice'
119
+ | 'borderImageSource'
120
+ | 'borderImageWidth'
121
+ | 'borderRadius'
108
122
  | 'borderStyle'
123
+ | 'borderWidth'
124
+ | `border${Placement}`
125
+ | `border${Placement}Color`
126
+ | `border${Placement}Style`
127
+ | `border${Placement}Width`
128
+ | 'borderRadius'
129
+ | `border${Radius}Radius`
109
130
  | 'boxShadow'
131
+ | 'boxShadowColor'
132
+ | 'clipPath'
133
+ | 'color'
134
+ | 'contain'
135
+ | 'content'
136
+ | 'contentVisibility'
137
+ | 'cursor'
138
+ | 'display'
110
139
  | 'filter'
111
140
  | 'backdropFilter'
112
- | 'transform'
113
- | 'color'
141
+ | 'height'
142
+ | 'width'
143
+ | 'minHeight'
144
+ | 'minWidth'
145
+ | 'maxHeight'
146
+ | 'maxWidth'
147
+ | `margin${Placement}`
148
+ | 'inset'
149
+ | `inset${LogicalPlacement}`
150
+ | Lowercase<PhysicalPlacement>
151
+ | 'isolation'
152
+ | 'mask'
153
+ | 'maskClip'
154
+ | 'maskComposite'
155
+ | 'maskImage'
156
+ | 'maskMode'
157
+ | 'maskOrigin'
158
+ | 'maskPosition'
159
+ | 'maskRepeat'
160
+ | 'maskSize'
161
+ | 'mixBlendMode'
162
+ | 'objectFit'
163
+ | 'objectPosition'
114
164
  | 'opacity'
165
+ | 'outline'
166
+ | 'outlineColor'
167
+ | 'outlineOffset'
168
+ | 'outlineStyle'
169
+ | 'outlineWidth'
170
+ | 'overflow'
171
+ | 'overflowX'
172
+ | 'overflowY'
173
+ | 'padding'
174
+ | `padding${Placement}`
175
+ | 'pointerEvents'
176
+ | 'position'
177
+ | 'resize'
178
+ | 'transform'
179
+ | 'transition'
180
+ | 'visibility'
181
+ | 'willChange'
182
+ | 'zIndex'
115
183
  | 'backgroundBlendMode'
116
184
  | 'backgroundAttachment'
117
185
  | 'backgroundClip'
@@ -119,14 +187,6 @@ type LayerStyleProperty =
119
187
  | 'backgroundPosition'
120
188
  | 'backgroundRepeat'
121
189
  | 'backgroundSize'
122
- | `border${Placement}`
123
- | `border${Placement}Width`
124
- | 'borderRadius'
125
- | `border${Radius}Radius`
126
- | `border${Placement}Color`
127
- | `border${Placement}Style`
128
- | 'padding'
129
- | `padding${Placement}`
130
190
 
131
191
  export type LayerStyle = CompositionStyleObject<LayerStyleProperty>
132
192
 
@@ -20,7 +20,7 @@ export interface Conditions {
20
20
  "_visited": string
21
21
  /** `&:target` */
22
22
  "_target": string
23
- /** `&:is(:read-only, [data-read-only])` */
23
+ /** `&:is(:read-only, [data-read-only], [aria-readonly=true])` */
24
24
  "_readOnly": string
25
25
  /** `&:read-write` */
26
26
  "_readWrite": string
@@ -48,7 +48,7 @@ export interface Conditions {
48
48
  "_firstLetter": string
49
49
  /** `&::first-line` */
50
50
  "_firstLine": string
51
- /** `&::marker` */
51
+ /** `&::marker, &::-webkit-details-marker` */
52
52
  "_marker": string
53
53
  /** `&::selection` */
54
54
  "_selection": string
@@ -82,7 +82,7 @@ export interface Conditions {
82
82
  "_peerFocusWithin": string
83
83
  /** `.peer:is(:focus-visible, [data-focus-visible]) ~ &` */
84
84
  "_peerFocusVisible": string
85
- /** `.peer:is(:disabled, [disabled], [data-disabled]) ~ &` */
85
+ /** `.peer:is(:disabled, [disabled], [data-disabled], [aria-disabled=true]) ~ &` */
86
86
  "_peerDisabled": string
87
87
  /** `.peer:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) ~ &` */
88
88
  "_peerChecked": string
@@ -102,13 +102,13 @@ export interface Conditions {
102
102
  "_groupFocusWithin": string
103
103
  /** `.group:is(:focus-visible, [data-focus-visible]) &` */
104
104
  "_groupFocusVisible": string
105
- /** `.group:is(:disabled, [disabled], [data-disabled]) &` */
105
+ /** `.group:is(:disabled, [disabled], [data-disabled], [aria-disabled=true]) &` */
106
106
  "_groupDisabled": string
107
107
  /** `.group:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) &` */
108
108
  "_groupChecked": string
109
109
  /** `.group:is([aria-expanded=true], [data-expanded], [data-state="expanded"]) &` */
110
110
  "_groupExpanded": string
111
- /** `.group:is(:invalid, [data-invalid]) &` */
111
+ /** `.group:is(:invalid, [data-invalid], [aria-invalid=true]) &` */
112
112
  "_groupInvalid": string
113
113
  /** `&:where(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state=indeterminate])` */
114
114
  "_indeterminate": string
@@ -196,9 +196,9 @@ export interface Conditions {
196
196
  "_lessContrast": string
197
197
  /** `@media (prefers-contrast: more)` */
198
198
  "_moreContrast": string
199
- /** `[dir=ltr] &` */
199
+ /** `:where([dir=ltr], :dir(ltr)) &` */
200
200
  "_ltr": string
201
- /** `[dir=rtl] &` */
201
+ /** `:where([dir=rtl], :dir(rtl)) &` */
202
202
  "_rtl": string
203
203
  /** `&::-webkit-scrollbar` */
204
204
  "_scrollbar": string
@@ -214,6 +214,10 @@ export interface Conditions {
214
214
  "_icon": string
215
215
  /** `@starting-style` */
216
216
  "_starting": string
217
+ /** `@media (scripting: none)` */
218
+ "_noscript": string
219
+ /** `@media (inverted-colors: inverted)` */
220
+ "_invertedColors": string
217
221
  /** `&:where([aria-collapsed=true], [data-collapsed], [data-state="collapsed"])` */
218
222
  "_collapsed": string
219
223
  /** `@media screen and (min-width: 37.5rem)` */
package/types/jsx.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable */
2
- import type { ComponentPropsWithoutRef, ElementType, ElementRef, JSX, Ref } from 'react'
2
+ import type { ElementType, JSX, ComponentPropsWithRef, ComponentType, Component } from 'react'
3
3
  import type { RecipeDefinition, RecipeSelection, RecipeVariantRecord } from './recipe';
4
4
  import type { Assign, DistributiveOmit, DistributiveUnion, JsxHTMLProps, JsxStyleProps, Pretty } from './system-types';
5
5
 
@@ -7,26 +7,41 @@ interface Dict {
7
7
  [k: string]: unknown
8
8
  }
9
9
 
10
- export type ComponentProps<T extends ElementType> = DistributiveOmit<ComponentPropsWithoutRef<T>, 'ref'> & {
11
- ref?: Ref<ElementRef<T>>
10
+ export interface UnstyledProps {
11
+ /**
12
+ * Whether to remove recipe styles
13
+ */
14
+ unstyled?: boolean | undefined
12
15
  }
13
16
 
17
+ export interface AsProps {
18
+ /**
19
+ * The element to render as
20
+ */
21
+ as?: ElementType | undefined
22
+ }
23
+
24
+ export type ComponentProps<T extends ElementType> = T extends ComponentType<infer P> | Component<infer P>
25
+ ? JSX.LibraryManagedAttributes<T, P>
26
+ : ComponentPropsWithRef<T>
27
+
14
28
  export interface StyledComponent<T extends ElementType, P extends Dict = {}> {
15
- (props: JsxHTMLProps<ComponentProps<T>, Assign<JsxStyleProps, P>>): JSX.Element
16
- displayName?: string
29
+ (props: JsxHTMLProps<ComponentProps<T> & UnstyledProps & AsProps, Assign<JsxStyleProps, P>>): JSX.Element
30
+ displayName?: string | undefined
17
31
  }
18
32
 
19
33
  interface RecipeFn {
20
34
  __type: any
21
35
  }
22
36
 
23
- interface JsxFactoryOptions<TProps extends Dict> {
37
+ export interface JsxFactoryOptions<TProps extends Dict> {
24
38
  dataAttr?: boolean
25
- defaultProps?: TProps
26
- shouldForwardProp?(prop: string, variantKeys: string[]): boolean
39
+ defaultProps?: Partial<TProps>
40
+ shouldForwardProp?: (prop: string, variantKeys: string[]) => boolean
41
+ forwardProps?: string[]
27
42
  }
28
43
 
29
- export type JsxRecipeProps<T extends ElementType, P extends Dict> = JsxHTMLProps<ComponentProps<T>, P>;
44
+ export type JsxRecipeProps<T extends ElementType, P extends Dict> = JsxHTMLProps<ComponentProps<T> & UnstyledProps & AsProps, P>;
30
45
 
31
46
  export type JsxElement<T extends ElementType, P extends Dict> = T extends StyledComponent<infer A, infer B>
32
47
  ? StyledComponent<A, Pretty<DistributiveUnion<P, B>>>
@@ -47,6 +62,6 @@ export type JsxElements = {
47
62
 
48
63
  export type Styled = JsxFactory & JsxElements
49
64
 
50
- export type HTMLStyledProps<T extends ElementType> = JsxHTMLProps<ComponentProps<T>, JsxStyleProps>
65
+ export type HTMLStyledProps<T extends ElementType> = JsxHTMLProps<ComponentProps<T> & UnstyledProps & AsProps, JsxStyleProps>
51
66
 
52
67
  export type StyledVariantProps<T extends StyledComponent<any, any>> = T extends StyledComponent<any, infer Props> ? Props : never
@@ -57,6 +57,12 @@ export interface UtilityValues {
57
57
  outlineColor: Tokens["colors"];
58
58
  outline: Tokens["borders"];
59
59
  outlineOffset: Tokens["spacing"];
60
+ focusRing: "outside" | "inside" | "mixed" | "none";
61
+ focusVisibleRing: "outside" | "inside" | "mixed" | "none";
62
+ focusRingColor: Tokens["colors"];
63
+ focusRingOffset: Tokens["spacing"];
64
+ focusRingWidth: CssProperties["outlineWidth"];
65
+ focusRingStyle: CssProperties["outlineStyle"];
60
66
  divideColor: Tokens["colors"];
61
67
  divideStyle: CssProperties["borderStyle"];
62
68
  width: "auto" | Tokens["sizes"] | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6" | "1/12" | "2/12" | "3/12" | "4/12" | "5/12" | "6/12" | "7/12" | "8/12" | "9/12" | "10/12" | "11/12" | "screen";
@@ -71,6 +77,7 @@ export interface UtilityValues {
71
77
  minBlockSize: "auto" | Tokens["sizes"] | "svh" | "lvh" | "dvh" | "screen" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6";
72
78
  maxHeight: "auto" | Tokens["sizes"] | "svh" | "lvh" | "dvh" | "screen" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6";
73
79
  maxBlockSize: "auto" | Tokens["sizes"] | "svh" | "lvh" | "dvh" | "screen" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6";
80
+ boxSize: Tokens["sizes"];
74
81
  color: Tokens["colors"];
75
82
  fontFamily: Tokens["fonts"];
76
83
  fontSize: Tokens["fontSizes"];
@@ -87,6 +94,7 @@ export interface UtilityValues {
87
94
  background: Tokens["colors"];
88
95
  backgroundColor: Tokens["colors"];
89
96
  backgroundGradient: "to-t" | "to-tr" | "to-r" | "to-br" | "to-b" | "to-bl" | "to-l" | "to-tl";
97
+ backgroundLinear: "to-t" | "to-tr" | "to-r" | "to-br" | "to-b" | "to-bl" | "to-l" | "to-tl";
90
98
  textGradient: "to-t" | "to-tr" | "to-r" | "to-br" | "to-b" | "to-bl" | "to-l" | "to-tl";
91
99
  gradientFrom: Tokens["colors"];
92
100
  gradientTo: Tokens["colors"];
@@ -140,7 +148,8 @@ export interface UtilityValues {
140
148
  transitionTimingFunction: Tokens["easings"];
141
149
  transitionDelay: Tokens["durations"];
142
150
  transitionDuration: Tokens["durations"];
143
- transition: "all" | "common" | "background" | "colors" | "opacity" | "shadow" | "transform";
151
+ transitionProperty: "common" | "colors" | "size" | "position" | "background";
152
+ transition: "all" | "common" | "size" | "position" | "background" | "colors" | "opacity" | "shadow" | "transform";
144
153
  animation: Tokens["animations"];
145
154
  animationName: "blob" | "bounce" | "fade-in" | "fade-out" | "slide-from-top" | "slide-from-bottom" | "slide-from-left" | "slide-from-right" | "slide-to-top" | "slide-to-bottom" | "slide-to-left" | "slide-to-right" | "fadeIn" | "fadeInFromRight" | "fadeInFromLeft" | "fadeInFromBottom" | "fadeInSkew" | "fadeOut" | "fadeOutFromRight" | "fadeOutSkew" | "ping" | "pulse" | "skeleton-pulse" | "slide-in" | "slide-in-left" | "slide-in-modal" | "slide-in-top-modal" | "slide-in-right" | "slide-out" | "slide-out-left" | "slide-out-modal" | "slide-out-top-modal" | "slide-out-right" | "slideInFromBottom" | "slideOutToBottom" | "collapse-in" | "collapse-out" | "spin";
146
155
  animationTimingFunction: Tokens["easings"];
@@ -194,7 +203,6 @@ export interface UtilityValues {
194
203
  srOnly: boolean;
195
204
  debug: boolean;
196
205
  containerName: CssProperties["containerName"];
197
- boxSize: Tokens["sizes"];
198
206
  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";
199
207
  textStyle: "body.lg" | "body.md" | "body.sm" | "heading.h1" | "heading.h2" | "heading.h3" | "heading.h4" | "heading.h5" | "heading.h6";
200
208
  }
@@ -8,8 +8,7 @@ type AnyString = (string & {})
8
8
  type CssVars = `var(--${string})`
9
9
  type CssVarValue = ConditionalValue<Token | AnyString | (number & {})>
10
10
 
11
- type CssVarName = | AnyString
12
- type CssVarKeys = `--${CssVarName}`
11
+ type CssVarKeys = `--${string}` & {}
13
12
 
14
13
  export type CssVarProperties = {
15
14
  [key in CssVarKeys]?: CssVarValue
@@ -5908,7 +5907,7 @@ transitionDuration?: ConditionalValue<UtilityValues["transitionDuration"] | CssV
5908
5907
  *
5909
5908
  * @see https://developer.mozilla.org/docs/Web/CSS/transition-property
5910
5909
  */
5911
- transitionProperty?: ConditionalValue<CssProperties["transitionProperty"] | AnyString>
5910
+ transitionProperty?: ConditionalValue<UtilityValues["transitionProperty"] | CssVars | CssProperties["transitionProperty"] | AnyString>
5912
5911
  /**
5913
5912
  * The **`transition-timing-function`** CSS property sets how intermediate values are calculated for CSS properties being affected by a transition effect.
5914
5913
  *
@@ -6993,6 +6992,9 @@ bgBlendMode?: ConditionalValue<CssProperties["backgroundBlendMode"] | AnyString>
6993
6992
  */
6994
6993
  bgSize?: ConditionalValue<CssProperties["backgroundSize"] | AnyString>
6995
6994
  bgGradient?: ConditionalValue<UtilityValues["backgroundGradient"] | CssVars | AnyString>
6995
+ bgLinear?: ConditionalValue<UtilityValues["backgroundLinear"] | CssVars | AnyString>
6996
+ bgRadial?: ConditionalValue<string | number | AnyString>
6997
+ bgConic?: ConditionalValue<string | number | AnyString>
6996
6998
  /**
6997
6999
  * The **`border-radius`** CSS property rounds the corners of an element's outer border edge. You can set a single radius to make circular corners, or two radii to make elliptical corners.
6998
7000
  *
@@ -7360,13 +7362,23 @@ scrollPaddingX?: ConditionalValue<UtilityValues["scrollPaddingInline"] | CssVars
7360
7362
  hideBelow?: ConditionalValue<UtilityValues["hideBelow"] | CssVars | AnyString>
7361
7363
  spaceX?: ConditionalValue<UtilityValues["spaceX"] | CssVars | AnyString>
7362
7364
  spaceY?: ConditionalValue<UtilityValues["spaceY"] | CssVars | AnyString>
7365
+ focusRing?: ConditionalValue<UtilityValues["focusRing"] | CssVars | AnyString>
7366
+ focusVisibleRing?: ConditionalValue<UtilityValues["focusVisibleRing"] | CssVars | AnyString>
7367
+ focusRingColor?: ConditionalValue<UtilityValues["focusRingColor"] | CssVars | AnyString>
7368
+ focusRingOffset?: ConditionalValue<UtilityValues["focusRingOffset"] | CssVars | AnyString>
7369
+ focusRingWidth?: ConditionalValue<UtilityValues["focusRingWidth"] | CssVars | AnyString>
7370
+ focusRingStyle?: ConditionalValue<UtilityValues["focusRingStyle"] | CssVars | AnyString>
7363
7371
  divideX?: ConditionalValue<string | number | AnyString>
7364
7372
  divideY?: ConditionalValue<string | number | AnyString>
7365
7373
  divideColor?: ConditionalValue<UtilityValues["divideColor"] | CssVars | AnyString>
7366
7374
  divideStyle?: ConditionalValue<UtilityValues["divideStyle"] | CssVars | AnyString>
7375
+ boxSize?: ConditionalValue<UtilityValues["boxSize"] | CssVars | AnyString>
7367
7376
  fontSmoothing?: ConditionalValue<UtilityValues["fontSmoothing"] | CssVars | AnyString>
7368
7377
  truncate?: ConditionalValue<UtilityValues["truncate"] | CssVars | AnyString>
7369
7378
  backgroundGradient?: ConditionalValue<UtilityValues["backgroundGradient"] | CssVars | AnyString>
7379
+ backgroundLinear?: ConditionalValue<UtilityValues["backgroundLinear"] | CssVars | AnyString>
7380
+ backgroundRadial?: ConditionalValue<string | number | AnyString>
7381
+ backgroundConic?: ConditionalValue<string | number | AnyString>
7370
7382
  textGradient?: ConditionalValue<UtilityValues["textGradient"] | CssVars | AnyString>
7371
7383
  gradientFromPosition?: ConditionalValue<string | number | AnyString>
7372
7384
  gradientToPosition?: ConditionalValue<string | number | AnyString>
@@ -7487,7 +7499,6 @@ scrollSnapMarginLeft?: ConditionalValue<UtilityValues["scrollSnapMarginLeft"] |
7487
7499
  scrollSnapMarginRight?: ConditionalValue<UtilityValues["scrollSnapMarginRight"] | CssVars | AnyString>
7488
7500
  srOnly?: ConditionalValue<UtilityValues["srOnly"] | CssVars | AnyString>
7489
7501
  debug?: ConditionalValue<UtilityValues["debug"] | CssVars | AnyString>
7490
- boxSize?: ConditionalValue<UtilityValues["boxSize"] | CssVars | AnyString>
7491
7502
  colorPalette?: ConditionalValue<UtilityValues["colorPalette"] | CssVars | AnyString>
7492
7503
  textStyle?: ConditionalValue<UtilityValues["textStyle"] | CssVars | AnyString>
7493
7504
  }