@luxonis/common-fe-components 1.18.2 → 1.19.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 (367) hide show
  1. package/dist/components/custom/Alert.d.ts +0 -1
  2. package/dist/components/custom/Alert.d.ts.map +1 -1
  3. package/dist/components/custom/Badge.d.ts +0 -1
  4. package/dist/components/custom/Badge.d.ts.map +1 -1
  5. package/dist/components/custom/Button.d.ts +2 -2
  6. package/dist/components/custom/CardList.d.ts.map +1 -1
  7. package/dist/components/custom/CardList.js +1 -1
  8. package/dist/components/custom/CardList.js.map +1 -1
  9. package/dist/components/custom/Checkbox.d.ts.map +1 -1
  10. package/dist/components/custom/Command.d.ts.map +1 -1
  11. package/dist/components/custom/Command.js.map +1 -1
  12. package/dist/components/custom/DropdownMenu.d.ts +819 -915
  13. package/dist/components/custom/DropdownMenu.d.ts.map +1 -1
  14. package/dist/components/custom/Dropzone.d.ts +1 -1
  15. package/dist/components/custom/Dropzone.d.ts.map +1 -1
  16. package/dist/components/custom/EmptyView.d.ts +0 -1
  17. package/dist/components/custom/EmptyView.d.ts.map +1 -1
  18. package/dist/components/custom/ErrorView.d.ts.map +1 -1
  19. package/dist/components/custom/FilterDropdown.d.ts.map +1 -1
  20. package/dist/components/custom/Form.d.ts.map +1 -1
  21. package/dist/components/custom/Grid.d.ts +1 -0
  22. package/dist/components/custom/Grid.d.ts.map +1 -1
  23. package/dist/components/custom/Grid.js +11 -3
  24. package/dist/components/custom/Grid.js.map +1 -1
  25. package/dist/components/custom/Icon.d.ts +0 -1
  26. package/dist/components/custom/Icon.d.ts.map +1 -1
  27. package/dist/components/custom/IconHelp.d.ts +0 -1
  28. package/dist/components/custom/IconHelp.d.ts.map +1 -1
  29. package/dist/components/custom/KpiDisplay.d.ts +0 -1
  30. package/dist/components/custom/KpiDisplay.d.ts.map +1 -1
  31. package/dist/components/custom/Markdown.d.ts +0 -1
  32. package/dist/components/custom/Markdown.d.ts.map +1 -1
  33. package/dist/components/custom/Modal.d.ts +2 -2
  34. package/dist/components/custom/Modal.d.ts.map +1 -1
  35. package/dist/components/custom/ProgressTicker.d.ts +0 -1
  36. package/dist/components/custom/ProgressTicker.d.ts.map +1 -1
  37. package/dist/components/custom/RadioGroup.d.ts +1642 -1834
  38. package/dist/components/custom/RadioGroup.d.ts.map +1 -1
  39. package/dist/components/custom/SelectCards.d.ts.map +1 -1
  40. package/dist/components/custom/Slider.d.ts +1635 -1827
  41. package/dist/components/custom/Slider.d.ts.map +1 -1
  42. package/dist/components/custom/SourceCode.d.ts +0 -1
  43. package/dist/components/custom/SourceCode.d.ts.map +1 -1
  44. package/dist/components/custom/StatusBar.d.ts +0 -1
  45. package/dist/components/custom/StatusBar.d.ts.map +1 -1
  46. package/dist/components/custom/Stepper.d.ts.map +1 -1
  47. package/dist/components/custom/Text.d.ts.map +1 -1
  48. package/dist/components/custom/TimePicker.d.ts +0 -1
  49. package/dist/components/custom/TimePicker.d.ts.map +1 -1
  50. package/dist/components/custom/Toast.d.ts.map +1 -1
  51. package/dist/components/custom/Toast.js +1 -1
  52. package/dist/components/custom/Toast.js.map +1 -1
  53. package/dist/components/custom/Tooltip.d.ts.map +1 -1
  54. package/dist/components/custom/Tooltip.js.map +1 -1
  55. package/dist/components/custom/TurnstileWidget.d.ts +0 -1
  56. package/dist/components/custom/TurnstileWidget.d.ts.map +1 -1
  57. package/dist/components/custom/VideoPlayer.d.ts.map +1 -1
  58. package/dist/components/custom/devices/devices.d.ts.map +1 -1
  59. package/dist/components/shadow-panda/Accordion.js +1 -1
  60. package/dist/components/shadow-panda/Accordion.js.map +1 -1
  61. package/dist/components/shadow-panda/Avatar.d.ts +0 -1
  62. package/dist/components/shadow-panda/Avatar.d.ts.map +1 -1
  63. package/dist/components/shadow-panda/Avatar.js +1 -1
  64. package/dist/components/shadow-panda/Avatar.js.map +1 -1
  65. package/dist/components/shadow-panda/DropdownMenu.d.ts +3 -3
  66. package/dist/components/shadow-panda/DropdownMenu.d.ts.map +1 -1
  67. package/dist/components/shadow-panda/DropdownMenu.js +1 -1
  68. package/dist/components/shadow-panda/DropdownMenu.js.map +1 -1
  69. package/dist/components/shadow-panda/Form.d.ts +1 -1
  70. package/dist/components/shadow-panda/Form.d.ts.map +1 -1
  71. package/dist/components/shadow-panda/Tabs.d.ts +0 -1
  72. package/dist/components/shadow-panda/Tabs.d.ts.map +1 -1
  73. package/dist/components/shadow-panda/Tabs.js +1 -1
  74. package/dist/components/shadow-panda/Tabs.js.map +1 -1
  75. package/dist/components/shadow-panda/_Alert.d.ts.map +1 -1
  76. package/dist/components/shadow-panda/_Button.d.ts +1 -1
  77. package/dist/components/shadow-panda/_Button.d.ts.map +1 -1
  78. package/dist/components/shadow-panda/_Command.d.ts +23 -23
  79. package/dist/components/shadow-panda/_Command.js +1 -1
  80. package/dist/components/shadow-panda/_Command.js.map +1 -1
  81. package/dist/components/shadow-panda/_Dialog.js +1 -1
  82. package/dist/components/shadow-panda/_Dialog.js.map +1 -1
  83. package/dist/components/shadow-panda/_RadioGroup.js +1 -1
  84. package/dist/components/shadow-panda/_RadioGroup.js.map +1 -1
  85. package/dist/components/shadow-panda/_Select.js +1 -1
  86. package/dist/components/shadow-panda/_Select.js.map +1 -1
  87. package/dist/components/shadow-panda/_Slider.d.ts +6 -6
  88. package/dist/components/shadow-panda/_Slider.d.ts.map +1 -1
  89. package/dist/components/shadow-panda/_Toast.d.ts +0 -1
  90. package/dist/components/shadow-panda/_Toast.d.ts.map +1 -1
  91. package/dist/components/shadow-panda/_Tooltip.d.ts +0 -1
  92. package/dist/components/shadow-panda/_Tooltip.d.ts.map +1 -1
  93. package/dist/components/shadow-panda/_Tooltip.js +1 -1
  94. package/dist/components/shadow-panda/_Tooltip.js.map +1 -1
  95. package/dist/components/skeletons/Button.d.ts.map +1 -1
  96. package/dist/components/skeletons/Grid.d.ts +5 -5
  97. package/dist/components/skeletons/Grid.d.ts.map +1 -1
  98. package/dist/components/skeletons/Grid.js +9 -12
  99. package/dist/components/skeletons/Grid.js.map +1 -1
  100. package/dist/components/skeletons/Input.d.ts.map +1 -1
  101. package/dist/components/skeletons/Table.d.ts.map +1 -1
  102. package/dist/components/skeletons/Textarea.d.ts.map +1 -1
  103. package/dist/hooks/dropzone.d.ts.map +1 -1
  104. package/dist/hooks/modal.d.ts.map +1 -1
  105. package/dist/hooks/use-toast.d.ts.map +1 -1
  106. package/dist/hooks/use-translations.d.ts +0 -1
  107. package/dist/hooks/use-translations.d.ts.map +1 -1
  108. package/dist/icons/style-provider.d.ts.map +1 -1
  109. package/dist/icons/svg/AccessDenied.d.ts +0 -1
  110. package/dist/icons/svg/AccessDenied.d.ts.map +1 -1
  111. package/dist/icons/svg/Empty.d.ts +0 -1
  112. package/dist/icons/svg/Empty.d.ts.map +1 -1
  113. package/dist/icons/svg/Error.d.ts +0 -1
  114. package/dist/icons/svg/Error.d.ts.map +1 -1
  115. package/dist/icons/svg/Logo.d.ts +1 -1
  116. package/dist/icons/svg/Logo.d.ts.map +1 -1
  117. package/dist/panda.buildinfo.json +15 -24
  118. package/dist/panda.css +1675 -1736
  119. package/dist/panda.d.ts.map +1 -1
  120. package/dist/panda.js +1 -2
  121. package/dist/panda.js.map +1 -1
  122. package/dist/styled-system/css/conditions.mjs +2 -4
  123. package/dist/styled-system/css/css.d.mts +2 -15
  124. package/dist/styled-system/css/css.mjs +1 -2
  125. package/dist/styled-system/css/cva.d.mts +1 -1
  126. package/dist/styled-system/css/cva.mjs +3 -5
  127. package/dist/styled-system/css/sva.mjs +3 -9
  128. package/dist/styled-system/helpers.mjs +54 -90
  129. package/dist/styled-system/jsx/aspect-ratio.mjs +1 -1
  130. package/dist/styled-system/jsx/bleed.mjs +1 -1
  131. package/dist/styled-system/jsx/box.mjs +1 -1
  132. package/dist/styled-system/jsx/center.mjs +1 -1
  133. package/dist/styled-system/jsx/circle.mjs +1 -1
  134. package/dist/styled-system/jsx/container.mjs +1 -1
  135. package/dist/styled-system/jsx/divider.mjs +1 -1
  136. package/dist/styled-system/jsx/factory.mjs +7 -8
  137. package/dist/styled-system/jsx/flex.mjs +1 -1
  138. package/dist/styled-system/jsx/float.mjs +1 -1
  139. package/dist/styled-system/jsx/grid-item.mjs +1 -1
  140. package/dist/styled-system/jsx/grid.mjs +1 -1
  141. package/dist/styled-system/jsx/hstack.mjs +1 -1
  142. package/dist/styled-system/jsx/index.d.mts +1 -1
  143. package/dist/styled-system/jsx/index.mjs +2 -2
  144. package/dist/styled-system/jsx/is-valid-prop.d.mts +1 -7
  145. package/dist/styled-system/jsx/is-valid-prop.mjs +3 -3
  146. package/dist/styled-system/jsx/link-box.d.mts +10 -0
  147. package/dist/styled-system/jsx/link-box.mjs +14 -0
  148. package/dist/styled-system/jsx/link-overlay.mjs +1 -1
  149. package/dist/styled-system/jsx/spacer.mjs +1 -1
  150. package/dist/styled-system/jsx/square.mjs +1 -1
  151. package/dist/styled-system/jsx/stack.mjs +1 -1
  152. package/dist/styled-system/jsx/visually-hidden.mjs +1 -1
  153. package/dist/styled-system/jsx/vstack.mjs +1 -1
  154. package/dist/styled-system/jsx/wrap.mjs +1 -1
  155. package/dist/styled-system/patterns/aspect-ratio.d.mts +1 -1
  156. package/dist/styled-system/patterns/aspect-ratio.mjs +2 -5
  157. package/dist/styled-system/patterns/bleed.d.mts +3 -3
  158. package/dist/styled-system/patterns/bleed.mjs +7 -12
  159. package/dist/styled-system/patterns/box.d.mts +1 -1
  160. package/dist/styled-system/patterns/box.mjs +2 -5
  161. package/dist/styled-system/patterns/center.d.mts +1 -1
  162. package/dist/styled-system/patterns/center.mjs +2 -5
  163. package/dist/styled-system/patterns/circle.d.mts +2 -2
  164. package/dist/styled-system/patterns/circle.mjs +2 -5
  165. package/dist/styled-system/patterns/container.d.mts +1 -1
  166. package/dist/styled-system/patterns/container.mjs +2 -5
  167. package/dist/styled-system/patterns/divider.d.mts +1 -1
  168. package/dist/styled-system/patterns/divider.mjs +4 -8
  169. package/dist/styled-system/patterns/flex.d.mts +8 -8
  170. package/dist/styled-system/patterns/flex.mjs +2 -5
  171. package/dist/styled-system/patterns/float.d.mts +1 -1
  172. package/dist/styled-system/patterns/float.mjs +3 -10
  173. package/dist/styled-system/patterns/grid-item.d.mts +1 -1
  174. package/dist/styled-system/patterns/grid-item.mjs +2 -5
  175. package/dist/styled-system/patterns/grid.d.mts +4 -4
  176. package/dist/styled-system/patterns/grid.mjs +6 -11
  177. package/dist/styled-system/patterns/hstack.d.mts +3 -3
  178. package/dist/styled-system/patterns/hstack.mjs +4 -8
  179. package/dist/styled-system/patterns/index.d.mts +2 -2
  180. package/dist/styled-system/patterns/index.mjs +2 -2
  181. package/dist/styled-system/patterns/link-box.d.mts +21 -0
  182. package/dist/styled-system/patterns/link-box.mjs +19 -0
  183. package/dist/styled-system/patterns/link-overlay.d.mts +1 -1
  184. package/dist/styled-system/patterns/link-overlay.mjs +5 -5
  185. package/dist/styled-system/patterns/spacer.d.mts +1 -1
  186. package/dist/styled-system/patterns/spacer.mjs +2 -5
  187. package/dist/styled-system/patterns/square.d.mts +2 -2
  188. package/dist/styled-system/patterns/square.mjs +2 -5
  189. package/dist/styled-system/patterns/stack.d.mts +5 -5
  190. package/dist/styled-system/patterns/stack.mjs +4 -8
  191. package/dist/styled-system/patterns/visually-hidden.d.mts +1 -1
  192. package/dist/styled-system/patterns/visually-hidden.mjs +2 -5
  193. package/dist/styled-system/patterns/vstack.d.mts +3 -3
  194. package/dist/styled-system/patterns/vstack.mjs +4 -8
  195. package/dist/styled-system/patterns/wrap.d.mts +6 -6
  196. package/dist/styled-system/patterns/wrap.mjs +2 -5
  197. package/dist/styled-system/recipes/accordion.d.mts +1 -6
  198. package/dist/styled-system/recipes/accordion.mjs +4 -6
  199. package/dist/styled-system/recipes/alert-description.d.mts +1 -6
  200. package/dist/styled-system/recipes/alert-description.mjs +2 -4
  201. package/dist/styled-system/recipes/alert-dialog.d.mts +1 -6
  202. package/dist/styled-system/recipes/alert-dialog.mjs +4 -6
  203. package/dist/styled-system/recipes/alert-title.d.mts +1 -6
  204. package/dist/styled-system/recipes/alert-title.mjs +2 -4
  205. package/dist/styled-system/recipes/alert.d.mts +2 -10
  206. package/dist/styled-system/recipes/alert.mjs +2 -4
  207. package/dist/styled-system/recipes/avatar.d.mts +1 -6
  208. package/dist/styled-system/recipes/avatar.mjs +4 -6
  209. package/dist/styled-system/recipes/badge.d.mts +2 -10
  210. package/dist/styled-system/recipes/badge.mjs +2 -4
  211. package/dist/styled-system/recipes/blockquote.d.mts +1 -6
  212. package/dist/styled-system/recipes/blockquote.mjs +2 -4
  213. package/dist/styled-system/recipes/button.d.mts +2 -13
  214. package/dist/styled-system/recipes/button.mjs +2 -4
  215. package/dist/styled-system/recipes/calendar.d.mts +1 -6
  216. package/dist/styled-system/recipes/calendar.mjs +4 -6
  217. package/dist/styled-system/recipes/card-content.d.mts +1 -6
  218. package/dist/styled-system/recipes/card-content.mjs +2 -4
  219. package/dist/styled-system/recipes/card-description.d.mts +1 -6
  220. package/dist/styled-system/recipes/card-description.mjs +2 -4
  221. package/dist/styled-system/recipes/card-footer.d.mts +1 -6
  222. package/dist/styled-system/recipes/card-footer.mjs +2 -4
  223. package/dist/styled-system/recipes/card-header.d.mts +1 -6
  224. package/dist/styled-system/recipes/card-header.mjs +2 -4
  225. package/dist/styled-system/recipes/card-title.d.mts +1 -6
  226. package/dist/styled-system/recipes/card-title.mjs +2 -4
  227. package/dist/styled-system/recipes/card.d.mts +1 -6
  228. package/dist/styled-system/recipes/card.mjs +2 -4
  229. package/dist/styled-system/recipes/checkbox.d.mts +1 -6
  230. package/dist/styled-system/recipes/checkbox.mjs +4 -6
  231. package/dist/styled-system/recipes/collapsible.d.mts +1 -6
  232. package/dist/styled-system/recipes/collapsible.mjs +4 -6
  233. package/dist/styled-system/recipes/command-dialog.d.mts +1 -6
  234. package/dist/styled-system/recipes/command-dialog.mjs +4 -6
  235. package/dist/styled-system/recipes/command.d.mts +1 -6
  236. package/dist/styled-system/recipes/command.mjs +4 -6
  237. package/dist/styled-system/recipes/context-menu.d.mts +2 -10
  238. package/dist/styled-system/recipes/context-menu.mjs +4 -6
  239. package/dist/styled-system/recipes/create-recipe.d.mts +1 -0
  240. package/dist/styled-system/recipes/create-recipe.mjs +5 -8
  241. package/dist/styled-system/recipes/dialog.d.mts +1 -6
  242. package/dist/styled-system/recipes/dialog.mjs +4 -6
  243. package/dist/styled-system/recipes/dropdown-menu.d.mts +1 -6
  244. package/dist/styled-system/recipes/dropdown-menu.mjs +4 -6
  245. package/dist/styled-system/recipes/form-control.d.mts +1 -6
  246. package/dist/styled-system/recipes/form-control.mjs +2 -4
  247. package/dist/styled-system/recipes/form-description.d.mts +1 -6
  248. package/dist/styled-system/recipes/form-description.mjs +2 -4
  249. package/dist/styled-system/recipes/form-item.d.mts +1 -6
  250. package/dist/styled-system/recipes/form-item.mjs +2 -4
  251. package/dist/styled-system/recipes/form-label.d.mts +1 -6
  252. package/dist/styled-system/recipes/form-label.mjs +2 -4
  253. package/dist/styled-system/recipes/form-message.d.mts +1 -6
  254. package/dist/styled-system/recipes/form-message.mjs +2 -4
  255. package/dist/styled-system/recipes/h1.d.mts +1 -6
  256. package/dist/styled-system/recipes/h1.mjs +2 -4
  257. package/dist/styled-system/recipes/h2.d.mts +1 -6
  258. package/dist/styled-system/recipes/h2.mjs +2 -4
  259. package/dist/styled-system/recipes/h3.d.mts +1 -6
  260. package/dist/styled-system/recipes/h3.mjs +2 -4
  261. package/dist/styled-system/recipes/h4.d.mts +1 -6
  262. package/dist/styled-system/recipes/h4.mjs +2 -4
  263. package/dist/styled-system/recipes/hover-card.d.mts +1 -6
  264. package/dist/styled-system/recipes/hover-card.mjs +4 -6
  265. package/dist/styled-system/recipes/icon.d.mts +2 -22
  266. package/dist/styled-system/recipes/icon.mjs +2 -4
  267. package/dist/styled-system/recipes/inline-code.d.mts +1 -6
  268. package/dist/styled-system/recipes/inline-code.mjs +2 -4
  269. package/dist/styled-system/recipes/input.d.mts +1 -6
  270. package/dist/styled-system/recipes/input.mjs +2 -4
  271. package/dist/styled-system/recipes/label.d.mts +1 -6
  272. package/dist/styled-system/recipes/label.mjs +2 -4
  273. package/dist/styled-system/recipes/large.d.mts +1 -6
  274. package/dist/styled-system/recipes/large.mjs +2 -4
  275. package/dist/styled-system/recipes/lead.d.mts +1 -6
  276. package/dist/styled-system/recipes/lead.mjs +2 -4
  277. package/dist/styled-system/recipes/link.d.mts +1 -6
  278. package/dist/styled-system/recipes/link.mjs +2 -4
  279. package/dist/styled-system/recipes/list.d.mts +1 -6
  280. package/dist/styled-system/recipes/list.mjs +2 -4
  281. package/dist/styled-system/recipes/menubar.d.mts +1 -6
  282. package/dist/styled-system/recipes/menubar.mjs +4 -6
  283. package/dist/styled-system/recipes/muted.d.mts +1 -6
  284. package/dist/styled-system/recipes/muted.mjs +2 -4
  285. package/dist/styled-system/recipes/navigation-menu.d.mts +1 -6
  286. package/dist/styled-system/recipes/navigation-menu.mjs +4 -6
  287. package/dist/styled-system/recipes/p.d.mts +1 -6
  288. package/dist/styled-system/recipes/p.mjs +2 -4
  289. package/dist/styled-system/recipes/popover.d.mts +1 -6
  290. package/dist/styled-system/recipes/popover.mjs +4 -6
  291. package/dist/styled-system/recipes/progress.d.mts +1 -6
  292. package/dist/styled-system/recipes/progress.mjs +4 -6
  293. package/dist/styled-system/recipes/radio-group.d.mts +1 -6
  294. package/dist/styled-system/recipes/radio-group.mjs +4 -6
  295. package/dist/styled-system/recipes/scroll-area.d.mts +1 -6
  296. package/dist/styled-system/recipes/scroll-area.mjs +4 -6
  297. package/dist/styled-system/recipes/select.d.mts +1 -6
  298. package/dist/styled-system/recipes/select.mjs +4 -6
  299. package/dist/styled-system/recipes/separator.d.mts +2 -10
  300. package/dist/styled-system/recipes/separator.mjs +2 -4
  301. package/dist/styled-system/recipes/sheet.d.mts +2 -10
  302. package/dist/styled-system/recipes/sheet.mjs +4 -6
  303. package/dist/styled-system/recipes/skeleton.d.mts +1 -6
  304. package/dist/styled-system/recipes/skeleton.mjs +2 -4
  305. package/dist/styled-system/recipes/slider.d.mts +1 -6
  306. package/dist/styled-system/recipes/slider.mjs +4 -6
  307. package/dist/styled-system/recipes/small.d.mts +1 -6
  308. package/dist/styled-system/recipes/small.mjs +2 -4
  309. package/dist/styled-system/recipes/switch-recipe.d.mts +1 -6
  310. package/dist/styled-system/recipes/switch-recipe.mjs +4 -6
  311. package/dist/styled-system/recipes/table-body.d.mts +1 -6
  312. package/dist/styled-system/recipes/table-body.mjs +2 -4
  313. package/dist/styled-system/recipes/table-caption.d.mts +1 -6
  314. package/dist/styled-system/recipes/table-caption.mjs +2 -4
  315. package/dist/styled-system/recipes/table-cell.d.mts +1 -6
  316. package/dist/styled-system/recipes/table-cell.mjs +2 -4
  317. package/dist/styled-system/recipes/table-container.d.mts +1 -6
  318. package/dist/styled-system/recipes/table-container.mjs +2 -4
  319. package/dist/styled-system/recipes/table-footer.d.mts +1 -6
  320. package/dist/styled-system/recipes/table-footer.mjs +2 -4
  321. package/dist/styled-system/recipes/table-head.d.mts +1 -6
  322. package/dist/styled-system/recipes/table-head.mjs +2 -4
  323. package/dist/styled-system/recipes/table-header.d.mts +1 -6
  324. package/dist/styled-system/recipes/table-header.mjs +2 -4
  325. package/dist/styled-system/recipes/table-row.d.mts +1 -6
  326. package/dist/styled-system/recipes/table-row.mjs +2 -4
  327. package/dist/styled-system/recipes/table.d.mts +1 -6
  328. package/dist/styled-system/recipes/table.mjs +2 -4
  329. package/dist/styled-system/recipes/tabs.d.mts +1 -6
  330. package/dist/styled-system/recipes/tabs.mjs +4 -6
  331. package/dist/styled-system/recipes/textarea.d.mts +1 -6
  332. package/dist/styled-system/recipes/textarea.mjs +2 -4
  333. package/dist/styled-system/recipes/toast-viewport.d.mts +1 -6
  334. package/dist/styled-system/recipes/toast-viewport.mjs +2 -4
  335. package/dist/styled-system/recipes/toast.d.mts +2 -10
  336. package/dist/styled-system/recipes/toast.mjs +4 -6
  337. package/dist/styled-system/recipes/toggle.d.mts +2 -13
  338. package/dist/styled-system/recipes/toggle.mjs +2 -4
  339. package/dist/styled-system/recipes/tooltip.d.mts +1 -6
  340. package/dist/styled-system/recipes/tooltip.mjs +4 -6
  341. package/dist/styled-system/recipes/typography-table-container.d.mts +1 -6
  342. package/dist/styled-system/recipes/typography-table-container.mjs +2 -4
  343. package/dist/styled-system/recipes/typography-table.d.mts +1 -6
  344. package/dist/styled-system/recipes/typography-table.mjs +2 -4
  345. package/dist/styled-system/tokens/index.mjs +1683 -1711
  346. package/dist/styled-system/tokens/tokens.d.mts +20 -20
  347. package/dist/styled-system/types/composition.d.mts +12 -65
  348. package/dist/styled-system/types/conditions.d.mts +44 -98
  349. package/dist/styled-system/types/global.d.mts +0 -1
  350. package/dist/styled-system/types/jsx.d.mts +1 -1
  351. package/dist/styled-system/types/pattern.d.mts +2 -17
  352. package/dist/styled-system/types/prop-type.d.mts +231 -58
  353. package/dist/styled-system/types/recipe.d.mts +10 -33
  354. package/dist/styled-system/types/selectors.d.mts +1 -1
  355. package/dist/styled-system/types/static-css.d.mts +4 -13
  356. package/dist/styled-system/types/style-props.d.mts +678 -7541
  357. package/dist/styled-system/types/system-types.d.mts +11 -111
  358. package/dist/translations/i18n-react.d.ts +0 -1
  359. package/dist/translations/i18n-react.d.ts.map +1 -1
  360. package/dist/translations/i18n-util.async.d.ts.map +1 -1
  361. package/dist/translations/i18n-util.d.ts +2 -2
  362. package/dist/translations/i18n-util.d.ts.map +1 -1
  363. package/package.json +9 -9
  364. package/dist/styled-system/jsx/cq.d.mts +0 -10
  365. package/dist/styled-system/jsx/cq.mjs +0 -14
  366. package/dist/styled-system/patterns/cq.d.mts +0 -22
  367. package/dist/styled-system/patterns/cq.mjs +0 -21
@@ -1,9 +1,9 @@
1
- import { getPatternStyles, patternFns } from '../helpers.mjs';
1
+ import { mapObject } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const hstackConfig = {
5
5
  transform(props) {
6
- const { justify, gap, ...rest } = props;
6
+ const { justify, gap = "10px", ...rest } = props;
7
7
  return {
8
8
  display: "flex",
9
9
  alignItems: "center",
@@ -12,13 +12,9 @@ transform(props) {
12
12
  flexDirection: "row",
13
13
  ...rest
14
14
  };
15
- },
16
- defaultValues:{gap:'10px'}}
15
+ }}
17
16
 
18
- export const getHstackStyle = (styles = {}) => {
19
- const _styles = getPatternStyles(hstackConfig, styles)
20
- return hstackConfig.transform(_styles, patternFns)
21
- }
17
+ export const getHstackStyle = (styles = {}) => hstackConfig.transform(styles, { map: mapObject })
22
18
 
23
19
  export const hstack = (styles) => css(getHstackStyle(styles))
24
20
  hstack.raw = getHstackStyle
@@ -8,6 +8,7 @@ export * from './spacer.d.mts';
8
8
  export * from './square.d.mts';
9
9
  export * from './circle.d.mts';
10
10
  export * from './center.d.mts';
11
+ export * from './link-box.d.mts';
11
12
  export * from './link-overlay.d.mts';
12
13
  export * from './aspect-ratio.d.mts';
13
14
  export * from './grid.d.mts';
@@ -17,5 +18,4 @@ export * from './container.d.mts';
17
18
  export * from './divider.d.mts';
18
19
  export * from './float.d.mts';
19
20
  export * from './bleed.d.mts';
20
- export * from './visually-hidden.d.mts';
21
- export * from './cq.d.mts';
21
+ export * from './visually-hidden.d.mts';
@@ -7,6 +7,7 @@ export * from './spacer.mjs';
7
7
  export * from './square.mjs';
8
8
  export * from './circle.mjs';
9
9
  export * from './center.mjs';
10
+ export * from './link-box.mjs';
10
11
  export * from './link-overlay.mjs';
11
12
  export * from './aspect-ratio.mjs';
12
13
  export * from './grid.mjs';
@@ -16,5 +17,4 @@ export * from './container.mjs';
16
17
  export * from './divider.mjs';
17
18
  export * from './float.mjs';
18
19
  export * from './bleed.mjs';
19
- export * from './visually-hidden.mjs';
20
- export * from './cq.mjs';
20
+ export * from './visually-hidden.mjs';
@@ -0,0 +1,21 @@
1
+ /* eslint-disable */
2
+ import type { SystemStyleObject, ConditionalValue } from '../types/index.d.mts';
3
+ import type { Properties } from '../types/csstype.d.mts';
4
+ import type { PropertyValue } from '../types/prop-type.d.mts';
5
+ import type { DistributiveOmit } from '../types/system-types.d.mts';
6
+ import type { Tokens } from '../tokens/index.d.mts';
7
+
8
+ export interface LinkBoxProperties {
9
+
10
+ }
11
+
12
+
13
+ interface LinkBoxStyles extends LinkBoxProperties, DistributiveOmit<SystemStyleObject, keyof LinkBoxProperties > {}
14
+
15
+ interface LinkBoxPatternFn {
16
+ (styles?: LinkBoxStyles): string
17
+ raw: (styles?: LinkBoxStyles) => SystemStyleObject
18
+ }
19
+
20
+
21
+ export declare const linkBox: LinkBoxPatternFn;
@@ -0,0 +1,19 @@
1
+ import { mapObject } from '../helpers.mjs';
2
+ import { css } from '../css/index.mjs';
3
+
4
+ const linkBoxConfig = {
5
+ transform(props) {
6
+ return {
7
+ position: "relative",
8
+ "& :where(a, abbr)": {
9
+ position: "relative",
10
+ zIndex: "1"
11
+ },
12
+ ...props
13
+ };
14
+ }}
15
+
16
+ export const getLinkBoxStyle = (styles = {}) => linkBoxConfig.transform(styles, { map: mapObject })
17
+
18
+ export const linkBox = (styles) => css(getLinkBoxStyle(styles))
19
+ linkBox.raw = getLinkBoxStyle
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types/index.d.mts';
3
3
  import type { Properties } from '../types/csstype.d.mts';
4
- import type { SystemProperties } from '../types/style-props.d.mts';
4
+ import type { PropertyValue } from '../types/prop-type.d.mts';
5
5
  import type { DistributiveOmit } from '../types/system-types.d.mts';
6
6
  import type { Tokens } from '../tokens/index.d.mts';
7
7
 
@@ -1,12 +1,15 @@
1
- import { getPatternStyles, patternFns } from '../helpers.mjs';
1
+ import { mapObject } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const linkOverlayConfig = {
5
5
  transform(props) {
6
6
  return {
7
+ position: "static",
7
8
  _before: {
8
9
  content: '""',
10
+ display: "block",
9
11
  position: "absolute",
12
+ cursor: "inherit",
10
13
  inset: "0",
11
14
  zIndex: "0",
12
15
  ...props["_before"]
@@ -15,10 +18,7 @@ transform(props) {
15
18
  };
16
19
  }}
17
20
 
18
- export const getLinkOverlayStyle = (styles = {}) => {
19
- const _styles = getPatternStyles(linkOverlayConfig, styles)
20
- return linkOverlayConfig.transform(_styles, patternFns)
21
- }
21
+ export const getLinkOverlayStyle = (styles = {}) => linkOverlayConfig.transform(styles, { map: mapObject })
22
22
 
23
23
  export const linkOverlay = (styles) => css(getLinkOverlayStyle(styles))
24
24
  linkOverlay.raw = getLinkOverlayStyle
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types/index.d.mts';
3
3
  import type { Properties } from '../types/csstype.d.mts';
4
- import type { SystemProperties } from '../types/style-props.d.mts';
4
+ import type { PropertyValue } from '../types/prop-type.d.mts';
5
5
  import type { DistributiveOmit } from '../types/system-types.d.mts';
6
6
  import type { Tokens } from '../tokens/index.d.mts';
7
7
 
@@ -1,4 +1,4 @@
1
- import { getPatternStyles, patternFns } from '../helpers.mjs';
1
+ import { mapObject } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const spacerConfig = {
@@ -12,10 +12,7 @@ transform(props, { map }) {
12
12
  };
13
13
  }}
14
14
 
15
- export const getSpacerStyle = (styles = {}) => {
16
- const _styles = getPatternStyles(spacerConfig, styles)
17
- return spacerConfig.transform(_styles, patternFns)
18
- }
15
+ export const getSpacerStyle = (styles = {}) => spacerConfig.transform(styles, { map: mapObject })
19
16
 
20
17
  export const spacer = (styles) => css(getSpacerStyle(styles))
21
18
  spacer.raw = getSpacerStyle
@@ -1,12 +1,12 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types/index.d.mts';
3
3
  import type { Properties } from '../types/csstype.d.mts';
4
- import type { SystemProperties } from '../types/style-props.d.mts';
4
+ import type { PropertyValue } from '../types/prop-type.d.mts';
5
5
  import type { DistributiveOmit } from '../types/system-types.d.mts';
6
6
  import type { Tokens } from '../tokens/index.d.mts';
7
7
 
8
8
  export interface SquareProperties {
9
- size?: SystemProperties["width"]
9
+ size?: PropertyValue<'width'>
10
10
  }
11
11
 
12
12
 
@@ -1,4 +1,4 @@
1
- import { getPatternStyles, patternFns } from '../helpers.mjs';
1
+ import { mapObject } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const squareConfig = {
@@ -15,10 +15,7 @@ transform(props) {
15
15
  };
16
16
  }}
17
17
 
18
- export const getSquareStyle = (styles = {}) => {
19
- const _styles = getPatternStyles(squareConfig, styles)
20
- return squareConfig.transform(_styles, patternFns)
21
- }
18
+ export const getSquareStyle = (styles = {}) => squareConfig.transform(styles, { map: mapObject })
22
19
 
23
20
  export const square = (styles) => css(getSquareStyle(styles))
24
21
  square.raw = getSquareStyle
@@ -1,15 +1,15 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types/index.d.mts';
3
3
  import type { Properties } from '../types/csstype.d.mts';
4
- import type { SystemProperties } from '../types/style-props.d.mts';
4
+ import type { PropertyValue } from '../types/prop-type.d.mts';
5
5
  import type { DistributiveOmit } from '../types/system-types.d.mts';
6
6
  import type { Tokens } from '../tokens/index.d.mts';
7
7
 
8
8
  export interface StackProperties {
9
- align?: SystemProperties["alignItems"]
10
- justify?: SystemProperties["justifyContent"]
11
- direction?: SystemProperties["flexDirection"]
12
- gap?: SystemProperties["gap"]
9
+ align?: PropertyValue<'alignItems'>
10
+ justify?: PropertyValue<'justifyContent'>
11
+ direction?: PropertyValue<'flexDirection'>
12
+ gap?: PropertyValue<'gap'>
13
13
  }
14
14
 
15
15
 
@@ -1,9 +1,9 @@
1
- import { getPatternStyles, patternFns } from '../helpers.mjs';
1
+ import { mapObject } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const stackConfig = {
5
5
  transform(props) {
6
- const { align, justify, direction, gap, ...rest } = props;
6
+ const { align, justify, direction = "column", gap = "10px", ...rest } = props;
7
7
  return {
8
8
  display: "flex",
9
9
  flexDirection: direction,
@@ -12,13 +12,9 @@ transform(props) {
12
12
  gap,
13
13
  ...rest
14
14
  };
15
- },
16
- defaultValues:{direction:'column',gap:'10px'}}
15
+ }}
17
16
 
18
- export const getStackStyle = (styles = {}) => {
19
- const _styles = getPatternStyles(stackConfig, styles)
20
- return stackConfig.transform(_styles, patternFns)
21
- }
17
+ export const getStackStyle = (styles = {}) => stackConfig.transform(styles, { map: mapObject })
22
18
 
23
19
  export const stack = (styles) => css(getStackStyle(styles))
24
20
  stack.raw = getStackStyle
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types/index.d.mts';
3
3
  import type { Properties } from '../types/csstype.d.mts';
4
- import type { SystemProperties } from '../types/style-props.d.mts';
4
+ import type { PropertyValue } from '../types/prop-type.d.mts';
5
5
  import type { DistributiveOmit } from '../types/system-types.d.mts';
6
6
  import type { Tokens } from '../tokens/index.d.mts';
7
7
 
@@ -1,4 +1,4 @@
1
- import { getPatternStyles, patternFns } from '../helpers.mjs';
1
+ import { mapObject } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const visuallyHiddenConfig = {
@@ -9,10 +9,7 @@ transform(props) {
9
9
  };
10
10
  }}
11
11
 
12
- export const getVisuallyHiddenStyle = (styles = {}) => {
13
- const _styles = getPatternStyles(visuallyHiddenConfig, styles)
14
- return visuallyHiddenConfig.transform(_styles, patternFns)
15
- }
12
+ export const getVisuallyHiddenStyle = (styles = {}) => visuallyHiddenConfig.transform(styles, { map: mapObject })
16
13
 
17
14
  export const visuallyHidden = (styles) => css(getVisuallyHiddenStyle(styles))
18
15
  visuallyHidden.raw = getVisuallyHiddenStyle
@@ -1,13 +1,13 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types/index.d.mts';
3
3
  import type { Properties } from '../types/csstype.d.mts';
4
- import type { SystemProperties } from '../types/style-props.d.mts';
4
+ import type { PropertyValue } from '../types/prop-type.d.mts';
5
5
  import type { DistributiveOmit } from '../types/system-types.d.mts';
6
6
  import type { Tokens } from '../tokens/index.d.mts';
7
7
 
8
8
  export interface VstackProperties {
9
- justify?: SystemProperties["justifyContent"]
10
- gap?: SystemProperties["gap"]
9
+ justify?: PropertyValue<'justifyContent'>
10
+ gap?: PropertyValue<'gap'>
11
11
  }
12
12
 
13
13
 
@@ -1,9 +1,9 @@
1
- import { getPatternStyles, patternFns } from '../helpers.mjs';
1
+ import { mapObject } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const vstackConfig = {
5
5
  transform(props) {
6
- const { justify, gap, ...rest } = props;
6
+ const { justify, gap = "10px", ...rest } = props;
7
7
  return {
8
8
  display: "flex",
9
9
  alignItems: "center",
@@ -12,13 +12,9 @@ transform(props) {
12
12
  flexDirection: "column",
13
13
  ...rest
14
14
  };
15
- },
16
- defaultValues:{gap:'10px'}}
15
+ }}
17
16
 
18
- export const getVstackStyle = (styles = {}) => {
19
- const _styles = getPatternStyles(vstackConfig, styles)
20
- return vstackConfig.transform(_styles, patternFns)
21
- }
17
+ export const getVstackStyle = (styles = {}) => vstackConfig.transform(styles, { map: mapObject })
22
18
 
23
19
  export const vstack = (styles) => css(getVstackStyle(styles))
24
20
  vstack.raw = getVstackStyle
@@ -1,16 +1,16 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types/index.d.mts';
3
3
  import type { Properties } from '../types/csstype.d.mts';
4
- import type { SystemProperties } from '../types/style-props.d.mts';
4
+ import type { PropertyValue } from '../types/prop-type.d.mts';
5
5
  import type { DistributiveOmit } from '../types/system-types.d.mts';
6
6
  import type { Tokens } from '../tokens/index.d.mts';
7
7
 
8
8
  export interface WrapProperties {
9
- gap?: SystemProperties["gap"]
10
- rowGap?: SystemProperties["gap"]
11
- columnGap?: SystemProperties["gap"]
12
- align?: SystemProperties["alignItems"]
13
- justify?: SystemProperties["justifyContent"]
9
+ gap?: PropertyValue<'gap'>
10
+ rowGap?: PropertyValue<'gap'>
11
+ columnGap?: PropertyValue<'gap'>
12
+ align?: PropertyValue<'alignItems'>
13
+ justify?: PropertyValue<'justifyContent'>
14
14
  }
15
15
 
16
16
 
@@ -1,4 +1,4 @@
1
- import { getPatternStyles, patternFns } from '../helpers.mjs';
1
+ import { mapObject } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const wrapConfig = {
@@ -16,10 +16,7 @@ transform(props) {
16
16
  };
17
17
  }}
18
18
 
19
- export const getWrapStyle = (styles = {}) => {
20
- const _styles = getPatternStyles(wrapConfig, styles)
21
- return wrapConfig.transform(_styles, patternFns)
22
- }
19
+ export const getWrapStyle = (styles = {}) => wrapConfig.transform(styles, { map: mapObject })
23
20
 
24
21
  export const wrap = (styles) => css(getWrapStyle(styles))
25
22
  wrap.raw = getWrapStyle
@@ -21,12 +21,7 @@ export interface AccordionRecipe {
21
21
  variantMap: AccordionVariantMap
22
22
  variantKeys: Array<keyof AccordionVariant>
23
23
  splitVariantProps<Props extends AccordionVariantProps>(props: Props): [AccordionVariantProps, Pretty<DistributiveOmit<Props, keyof AccordionVariantProps>>]
24
- getVariantProps: (props?: AccordionVariantProps) => AccordionVariantProps
25
24
  }
26
25
 
27
- /**
28
- * Styles for the Accordion component
29
-
30
-
31
- */
26
+ /** Styles for the Accordion component */
32
27
  export declare const accordion: AccordionRecipe
@@ -1,4 +1,4 @@
1
- import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
1
+ import { splitProps, getSlotCompoundVariant } from '../helpers.mjs';
2
2
  import { createRecipe } from './create-recipe.mjs';
3
3
 
4
4
  const accordionDefaultVariants = {}
@@ -48,12 +48,11 @@ const accordionSlotNames = [
48
48
  ]
49
49
  const accordionSlotFns = /* @__PURE__ */ accordionSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, accordionDefaultVariants, getSlotCompoundVariant(accordionCompoundVariants, slotName))])
50
50
 
51
- const accordionFn = memo((props = {}) => {
52
- return Object.fromEntries(accordionSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
53
- })
51
+ const accordionFn = (props = {}) => {
52
+ return Object.fromEntries(accordionSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
53
+ }
54
54
 
55
55
  const accordionVariantKeys = []
56
- const getVariantProps = (variants) => ({ ...accordionDefaultVariants, ...compact(variants) })
57
56
 
58
57
  export const accordion = /* @__PURE__ */ Object.assign(accordionFn, {
59
58
  __recipe__: false,
@@ -64,5 +63,4 @@ export const accordion = /* @__PURE__ */ Object.assign(accordionFn, {
64
63
  splitVariantProps(props) {
65
64
  return splitProps(props, accordionVariantKeys)
66
65
  },
67
- getVariantProps
68
66
  })
@@ -21,12 +21,7 @@ export interface AlertDescriptionRecipe {
21
21
  variantMap: AlertDescriptionVariantMap
22
22
  variantKeys: Array<keyof AlertDescriptionVariant>
23
23
  splitVariantProps<Props extends AlertDescriptionVariantProps>(props: Props): [AlertDescriptionVariantProps, Pretty<DistributiveOmit<Props, keyof AlertDescriptionVariantProps>>]
24
- getVariantProps: (props?: AlertDescriptionVariantProps) => AlertDescriptionVariantProps
25
24
  }
26
25
 
27
- /**
28
- * Styles for the AlertDescription component
29
-
30
-
31
- */
26
+ /** Styles for the AlertDescription component */
32
27
  export declare const alertDescription: AlertDescriptionRecipe
@@ -1,4 +1,4 @@
1
- import { memo, splitProps } from '../helpers.mjs';
1
+ import { splitProps } from '../helpers.mjs';
2
2
  import { createRecipe, mergeRecipes } from './create-recipe.mjs';
3
3
 
4
4
  const alertDescriptionFn = /* @__PURE__ */ createRecipe('alertDescription', {}, [])
@@ -7,10 +7,9 @@ const alertDescriptionVariantMap = {}
7
7
 
8
8
  const alertDescriptionVariantKeys = Object.keys(alertDescriptionVariantMap)
9
9
 
10
- export const alertDescription = /* @__PURE__ */ Object.assign(memo(alertDescriptionFn.recipeFn), {
10
+ export const alertDescription = /* @__PURE__ */ Object.assign(alertDescriptionFn, {
11
11
  __recipe__: true,
12
12
  __name__: 'alertDescription',
13
- __getCompoundVariantCss__: alertDescriptionFn.__getCompoundVariantCss__,
14
13
  raw: (props) => props,
15
14
  variantKeys: alertDescriptionVariantKeys,
16
15
  variantMap: alertDescriptionVariantMap,
@@ -20,5 +19,4 @@ export const alertDescription = /* @__PURE__ */ Object.assign(memo(alertDescript
20
19
  splitVariantProps(props) {
21
20
  return splitProps(props, alertDescriptionVariantKeys)
22
21
  },
23
- getVariantProps: alertDescriptionFn.getVariantProps,
24
22
  })
@@ -21,12 +21,7 @@ export interface AlertDialogRecipe {
21
21
  variantMap: AlertDialogVariantMap
22
22
  variantKeys: Array<keyof AlertDialogVariant>
23
23
  splitVariantProps<Props extends AlertDialogVariantProps>(props: Props): [AlertDialogVariantProps, Pretty<DistributiveOmit<Props, keyof AlertDialogVariantProps>>]
24
- getVariantProps: (props?: AlertDialogVariantProps) => AlertDialogVariantProps
25
24
  }
26
25
 
27
- /**
28
- * Styles for the AlertDialog component
29
-
30
-
31
- */
26
+ /** Styles for the AlertDialog component */
32
27
  export declare const alertDialog: AlertDialogRecipe
@@ -1,4 +1,4 @@
1
- import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
1
+ import { splitProps, getSlotCompoundVariant } from '../helpers.mjs';
2
2
  import { createRecipe } from './create-recipe.mjs';
3
3
 
4
4
  const alertDialogDefaultVariants = {}
@@ -96,12 +96,11 @@ const alertDialogSlotNames = [
96
96
  ]
97
97
  const alertDialogSlotFns = /* @__PURE__ */ alertDialogSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, alertDialogDefaultVariants, getSlotCompoundVariant(alertDialogCompoundVariants, slotName))])
98
98
 
99
- const alertDialogFn = memo((props = {}) => {
100
- return Object.fromEntries(alertDialogSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
101
- })
99
+ const alertDialogFn = (props = {}) => {
100
+ return Object.fromEntries(alertDialogSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
101
+ }
102
102
 
103
103
  const alertDialogVariantKeys = []
104
- const getVariantProps = (variants) => ({ ...alertDialogDefaultVariants, ...compact(variants) })
105
104
 
106
105
  export const alertDialog = /* @__PURE__ */ Object.assign(alertDialogFn, {
107
106
  __recipe__: false,
@@ -112,5 +111,4 @@ export const alertDialog = /* @__PURE__ */ Object.assign(alertDialogFn, {
112
111
  splitVariantProps(props) {
113
112
  return splitProps(props, alertDialogVariantKeys)
114
113
  },
115
- getVariantProps
116
114
  })
@@ -21,12 +21,7 @@ export interface AlertTitleRecipe {
21
21
  variantMap: AlertTitleVariantMap
22
22
  variantKeys: Array<keyof AlertTitleVariant>
23
23
  splitVariantProps<Props extends AlertTitleVariantProps>(props: Props): [AlertTitleVariantProps, Pretty<DistributiveOmit<Props, keyof AlertTitleVariantProps>>]
24
- getVariantProps: (props?: AlertTitleVariantProps) => AlertTitleVariantProps
25
24
  }
26
25
 
27
- /**
28
- * Styles for the AlertTitle component
29
-
30
-
31
- */
26
+ /** Styles for the AlertTitle component */
32
27
  export declare const alertTitle: AlertTitleRecipe
@@ -1,4 +1,4 @@
1
- import { memo, splitProps } from '../helpers.mjs';
1
+ import { splitProps } from '../helpers.mjs';
2
2
  import { createRecipe, mergeRecipes } from './create-recipe.mjs';
3
3
 
4
4
  const alertTitleFn = /* @__PURE__ */ createRecipe('alertTitle', {}, [])
@@ -7,10 +7,9 @@ const alertTitleVariantMap = {}
7
7
 
8
8
  const alertTitleVariantKeys = Object.keys(alertTitleVariantMap)
9
9
 
10
- export const alertTitle = /* @__PURE__ */ Object.assign(memo(alertTitleFn.recipeFn), {
10
+ export const alertTitle = /* @__PURE__ */ Object.assign(alertTitleFn, {
11
11
  __recipe__: true,
12
12
  __name__: 'alertTitle',
13
- __getCompoundVariantCss__: alertTitleFn.__getCompoundVariantCss__,
14
13
  raw: (props) => props,
15
14
  variantKeys: alertTitleVariantKeys,
16
15
  variantMap: alertTitleVariantMap,
@@ -20,5 +19,4 @@ export const alertTitle = /* @__PURE__ */ Object.assign(memo(alertTitleFn.recipe
20
19
  splitVariantProps(props) {
21
20
  return splitProps(props, alertTitleVariantKeys)
22
21
  },
23
- getVariantProps: alertTitleFn.getVariantProps,
24
22
  })
@@ -3,10 +3,7 @@ import type { ConditionalValue } from '../types/index.d.mts';
3
3
  import type { DistributiveOmit, Pretty } from '../types/system-types.d.mts';
4
4
 
5
5
  interface AlertVariant {
6
- /**
7
- * @default "default"
8
- */
9
- variant: "default" | "destructive"
6
+ variant: "default" | "destructive"
10
7
  }
11
8
 
12
9
  type AlertVariantMap = {
@@ -24,12 +21,7 @@ export interface AlertRecipe {
24
21
  variantMap: AlertVariantMap
25
22
  variantKeys: Array<keyof AlertVariant>
26
23
  splitVariantProps<Props extends AlertVariantProps>(props: Props): [AlertVariantProps, Pretty<DistributiveOmit<Props, keyof AlertVariantProps>>]
27
- getVariantProps: (props?: AlertVariantProps) => AlertVariantProps
28
24
  }
29
25
 
30
- /**
31
- * Styles for the Alert component
32
-
33
-
34
- */
26
+ /** Styles for the Alert component */
35
27
  export declare const alert: AlertRecipe
@@ -1,4 +1,4 @@
1
- import { memo, splitProps } from '../helpers.mjs';
1
+ import { splitProps } from '../helpers.mjs';
2
2
  import { createRecipe, mergeRecipes } from './create-recipe.mjs';
3
3
 
4
4
  const alertFn = /* @__PURE__ */ createRecipe('alert', {
@@ -14,10 +14,9 @@ const alertVariantMap = {
14
14
 
15
15
  const alertVariantKeys = Object.keys(alertVariantMap)
16
16
 
17
- export const alert = /* @__PURE__ */ Object.assign(memo(alertFn.recipeFn), {
17
+ export const alert = /* @__PURE__ */ Object.assign(alertFn, {
18
18
  __recipe__: true,
19
19
  __name__: 'alert',
20
- __getCompoundVariantCss__: alertFn.__getCompoundVariantCss__,
21
20
  raw: (props) => props,
22
21
  variantKeys: alertVariantKeys,
23
22
  variantMap: alertVariantMap,
@@ -27,5 +26,4 @@ export const alert = /* @__PURE__ */ Object.assign(memo(alertFn.recipeFn), {
27
26
  splitVariantProps(props) {
28
27
  return splitProps(props, alertVariantKeys)
29
28
  },
30
- getVariantProps: alertFn.getVariantProps,
31
29
  })
@@ -21,12 +21,7 @@ export interface AvatarRecipe {
21
21
  variantMap: AvatarVariantMap
22
22
  variantKeys: Array<keyof AvatarVariant>
23
23
  splitVariantProps<Props extends AvatarVariantProps>(props: Props): [AvatarVariantProps, Pretty<DistributiveOmit<Props, keyof AvatarVariantProps>>]
24
- getVariantProps: (props?: AvatarVariantProps) => AvatarVariantProps
25
24
  }
26
25
 
27
- /**
28
- * Styles for the Avatar component
29
-
30
-
31
- */
26
+ /** Styles for the Avatar component */
32
27
  export declare const avatar: AvatarRecipe
@@ -1,4 +1,4 @@
1
- import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
1
+ import { splitProps, getSlotCompoundVariant } from '../helpers.mjs';
2
2
  import { createRecipe } from './create-recipe.mjs';
3
3
 
4
4
  const avatarDefaultVariants = {}
@@ -32,12 +32,11 @@ const avatarSlotNames = [
32
32
  ]
33
33
  const avatarSlotFns = /* @__PURE__ */ avatarSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, avatarDefaultVariants, getSlotCompoundVariant(avatarCompoundVariants, slotName))])
34
34
 
35
- const avatarFn = memo((props = {}) => {
36
- return Object.fromEntries(avatarSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
37
- })
35
+ const avatarFn = (props = {}) => {
36
+ return Object.fromEntries(avatarSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
37
+ }
38
38
 
39
39
  const avatarVariantKeys = []
40
- const getVariantProps = (variants) => ({ ...avatarDefaultVariants, ...compact(variants) })
41
40
 
42
41
  export const avatar = /* @__PURE__ */ Object.assign(avatarFn, {
43
42
  __recipe__: false,
@@ -48,5 +47,4 @@ export const avatar = /* @__PURE__ */ Object.assign(avatarFn, {
48
47
  splitVariantProps(props) {
49
48
  return splitProps(props, avatarVariantKeys)
50
49
  },
51
- getVariantProps
52
50
  })