@luxonis/common-fe-components 1.18.1 → 1.18.2

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 (373) hide show
  1. package/dist/components/custom/Alert.d.ts +1 -0
  2. package/dist/components/custom/Alert.d.ts.map +1 -1
  3. package/dist/components/custom/Badge.d.ts +1 -0
  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 +922 -826
  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 +1 -0
  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/Icon.d.ts +1 -0
  22. package/dist/components/custom/Icon.d.ts.map +1 -1
  23. package/dist/components/custom/IconHelp.d.ts +1 -0
  24. package/dist/components/custom/IconHelp.d.ts.map +1 -1
  25. package/dist/components/custom/KpiDisplay.d.ts +1 -0
  26. package/dist/components/custom/KpiDisplay.d.ts.map +1 -1
  27. package/dist/components/custom/Markdown.d.ts +1 -0
  28. package/dist/components/custom/Markdown.d.ts.map +1 -1
  29. package/dist/components/custom/Modal.d.ts +2 -2
  30. package/dist/components/custom/Modal.d.ts.map +1 -1
  31. package/dist/components/custom/Modal.js +2 -2
  32. package/dist/components/custom/Modal.js.map +1 -1
  33. package/dist/components/custom/ProgressTicker.d.ts +1 -0
  34. package/dist/components/custom/ProgressTicker.d.ts.map +1 -1
  35. package/dist/components/custom/RadioGroup.d.ts +1834 -1642
  36. package/dist/components/custom/RadioGroup.d.ts.map +1 -1
  37. package/dist/components/custom/SelectCards.d.ts.map +1 -1
  38. package/dist/components/custom/Slider.d.ts +1837 -1645
  39. package/dist/components/custom/Slider.d.ts.map +1 -1
  40. package/dist/components/custom/SourceCode.d.ts +1 -0
  41. package/dist/components/custom/SourceCode.d.ts.map +1 -1
  42. package/dist/components/custom/StatusBar.d.ts +1 -0
  43. package/dist/components/custom/StatusBar.d.ts.map +1 -1
  44. package/dist/components/custom/Stepper.d.ts.map +1 -1
  45. package/dist/components/custom/Text.d.ts.map +1 -1
  46. package/dist/components/custom/TimePicker.d.ts +1 -0
  47. package/dist/components/custom/TimePicker.d.ts.map +1 -1
  48. package/dist/components/custom/Toast.d.ts.map +1 -1
  49. package/dist/components/custom/Toast.js +1 -1
  50. package/dist/components/custom/Toast.js.map +1 -1
  51. package/dist/components/custom/Tooltip.d.ts.map +1 -1
  52. package/dist/components/custom/Tooltip.js.map +1 -1
  53. package/dist/components/custom/TurnstileWidget.d.ts +1 -0
  54. package/dist/components/custom/TurnstileWidget.d.ts.map +1 -1
  55. package/dist/components/custom/VideoPlayer.d.ts.map +1 -1
  56. package/dist/components/custom/devices/devices.d.ts.map +1 -1
  57. package/dist/components/shadow-panda/Accordion.js +1 -1
  58. package/dist/components/shadow-panda/Accordion.js.map +1 -1
  59. package/dist/components/shadow-panda/Avatar.d.ts +1 -0
  60. package/dist/components/shadow-panda/Avatar.d.ts.map +1 -1
  61. package/dist/components/shadow-panda/Avatar.js +1 -1
  62. package/dist/components/shadow-panda/Avatar.js.map +1 -1
  63. package/dist/components/shadow-panda/DropdownMenu.d.ts +3 -3
  64. package/dist/components/shadow-panda/DropdownMenu.d.ts.map +1 -1
  65. package/dist/components/shadow-panda/DropdownMenu.js +1 -1
  66. package/dist/components/shadow-panda/DropdownMenu.js.map +1 -1
  67. package/dist/components/shadow-panda/Form.d.ts +1 -1
  68. package/dist/components/shadow-panda/Form.d.ts.map +1 -1
  69. package/dist/components/shadow-panda/Tabs.d.ts +1 -0
  70. package/dist/components/shadow-panda/Tabs.d.ts.map +1 -1
  71. package/dist/components/shadow-panda/Tabs.js +1 -1
  72. package/dist/components/shadow-panda/Tabs.js.map +1 -1
  73. package/dist/components/shadow-panda/_Alert.d.ts.map +1 -1
  74. package/dist/components/shadow-panda/_Button.d.ts +1 -1
  75. package/dist/components/shadow-panda/_Button.d.ts.map +1 -1
  76. package/dist/components/shadow-panda/_Command.d.ts +25 -25
  77. package/dist/components/shadow-panda/_Command.js +1 -1
  78. package/dist/components/shadow-panda/_Command.js.map +1 -1
  79. package/dist/components/shadow-panda/_Dialog.js +1 -1
  80. package/dist/components/shadow-panda/_Dialog.js.map +1 -1
  81. package/dist/components/shadow-panda/_RadioGroup.js +1 -1
  82. package/dist/components/shadow-panda/_RadioGroup.js.map +1 -1
  83. package/dist/components/shadow-panda/_Select.js +1 -1
  84. package/dist/components/shadow-panda/_Select.js.map +1 -1
  85. package/dist/components/shadow-panda/_Slider.d.ts +6 -6
  86. package/dist/components/shadow-panda/_Slider.d.ts.map +1 -1
  87. package/dist/components/shadow-panda/_Toast.d.ts +1 -0
  88. package/dist/components/shadow-panda/_Toast.d.ts.map +1 -1
  89. package/dist/components/shadow-panda/_Tooltip.d.ts +1 -0
  90. package/dist/components/shadow-panda/_Tooltip.d.ts.map +1 -1
  91. package/dist/components/shadow-panda/_Tooltip.js +1 -1
  92. package/dist/components/shadow-panda/_Tooltip.js.map +1 -1
  93. package/dist/components/skeletons/Button.d.ts.map +1 -1
  94. package/dist/components/skeletons/Grid.d.ts +5 -5
  95. package/dist/components/skeletons/Grid.d.ts.map +1 -1
  96. package/dist/components/skeletons/Grid.js +12 -9
  97. package/dist/components/skeletons/Grid.js.map +1 -1
  98. package/dist/components/skeletons/Input.d.ts.map +1 -1
  99. package/dist/components/skeletons/Table.d.ts.map +1 -1
  100. package/dist/components/skeletons/Textarea.d.ts.map +1 -1
  101. package/dist/hooks/dropzone.d.ts.map +1 -1
  102. package/dist/hooks/modal.d.ts.map +1 -1
  103. package/dist/hooks/use-toast.d.ts.map +1 -1
  104. package/dist/hooks/use-translations.d.ts +1 -0
  105. package/dist/hooks/use-translations.d.ts.map +1 -1
  106. package/dist/icons/style-provider.d.ts.map +1 -1
  107. package/dist/icons/svg/AccessDenied.d.ts +1 -0
  108. package/dist/icons/svg/AccessDenied.d.ts.map +1 -1
  109. package/dist/icons/svg/Empty.d.ts +1 -0
  110. package/dist/icons/svg/Empty.d.ts.map +1 -1
  111. package/dist/icons/svg/Error.d.ts +1 -0
  112. package/dist/icons/svg/Error.d.ts.map +1 -1
  113. package/dist/icons/svg/Logo.d.ts +1 -1
  114. package/dist/icons/svg/Logo.d.ts.map +1 -1
  115. package/dist/panda.buildinfo.json +25 -16
  116. package/dist/panda.css +1683 -1622
  117. package/dist/panda.d.ts.map +1 -1
  118. package/dist/panda.js +2 -1
  119. package/dist/panda.js.map +1 -1
  120. package/dist/styled-system/css/conditions.mjs +4 -2
  121. package/dist/styled-system/css/css.d.mts +15 -2
  122. package/dist/styled-system/css/css.mjs +2 -1
  123. package/dist/styled-system/css/cva.d.mts +1 -1
  124. package/dist/styled-system/css/cva.mjs +5 -3
  125. package/dist/styled-system/css/sva.mjs +9 -3
  126. package/dist/styled-system/helpers.mjs +90 -54
  127. package/dist/styled-system/jsx/aspect-ratio.mjs +1 -1
  128. package/dist/styled-system/jsx/bleed.mjs +1 -1
  129. package/dist/styled-system/jsx/box.mjs +1 -1
  130. package/dist/styled-system/jsx/center.mjs +1 -1
  131. package/dist/styled-system/jsx/circle.mjs +1 -1
  132. package/dist/styled-system/jsx/container.mjs +1 -1
  133. package/dist/styled-system/jsx/cq.d.mts +10 -0
  134. package/dist/styled-system/jsx/cq.mjs +14 -0
  135. package/dist/styled-system/jsx/divider.mjs +1 -1
  136. package/dist/styled-system/jsx/factory.mjs +8 -7
  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 +7 -1
  145. package/dist/styled-system/jsx/is-valid-prop.mjs +3 -3
  146. package/dist/styled-system/jsx/link-overlay.mjs +1 -1
  147. package/dist/styled-system/jsx/spacer.mjs +1 -1
  148. package/dist/styled-system/jsx/square.mjs +1 -1
  149. package/dist/styled-system/jsx/stack.mjs +1 -1
  150. package/dist/styled-system/jsx/visually-hidden.mjs +1 -1
  151. package/dist/styled-system/jsx/vstack.mjs +1 -1
  152. package/dist/styled-system/jsx/wrap.mjs +1 -1
  153. package/dist/styled-system/patterns/aspect-ratio.d.mts +1 -1
  154. package/dist/styled-system/patterns/aspect-ratio.mjs +5 -2
  155. package/dist/styled-system/patterns/bleed.d.mts +3 -3
  156. package/dist/styled-system/patterns/bleed.mjs +12 -7
  157. package/dist/styled-system/patterns/box.d.mts +1 -1
  158. package/dist/styled-system/patterns/box.mjs +5 -2
  159. package/dist/styled-system/patterns/center.d.mts +1 -1
  160. package/dist/styled-system/patterns/center.mjs +5 -2
  161. package/dist/styled-system/patterns/circle.d.mts +2 -2
  162. package/dist/styled-system/patterns/circle.mjs +5 -2
  163. package/dist/styled-system/patterns/container.d.mts +1 -1
  164. package/dist/styled-system/patterns/container.mjs +5 -2
  165. package/dist/styled-system/patterns/cq.d.mts +22 -0
  166. package/dist/styled-system/patterns/cq.mjs +21 -0
  167. package/dist/styled-system/patterns/divider.d.mts +1 -1
  168. package/dist/styled-system/patterns/divider.mjs +8 -4
  169. package/dist/styled-system/patterns/flex.d.mts +8 -8
  170. package/dist/styled-system/patterns/flex.mjs +5 -2
  171. package/dist/styled-system/patterns/float.d.mts +1 -1
  172. package/dist/styled-system/patterns/float.mjs +10 -3
  173. package/dist/styled-system/patterns/grid-item.d.mts +1 -1
  174. package/dist/styled-system/patterns/grid-item.mjs +5 -2
  175. package/dist/styled-system/patterns/grid.d.mts +4 -4
  176. package/dist/styled-system/patterns/grid.mjs +11 -6
  177. package/dist/styled-system/patterns/hstack.d.mts +3 -3
  178. package/dist/styled-system/patterns/hstack.mjs +8 -4
  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-overlay.d.mts +1 -1
  182. package/dist/styled-system/patterns/link-overlay.mjs +5 -5
  183. package/dist/styled-system/patterns/spacer.d.mts +1 -1
  184. package/dist/styled-system/patterns/spacer.mjs +5 -2
  185. package/dist/styled-system/patterns/square.d.mts +2 -2
  186. package/dist/styled-system/patterns/square.mjs +5 -2
  187. package/dist/styled-system/patterns/stack.d.mts +5 -5
  188. package/dist/styled-system/patterns/stack.mjs +8 -4
  189. package/dist/styled-system/patterns/visually-hidden.d.mts +1 -1
  190. package/dist/styled-system/patterns/visually-hidden.mjs +5 -2
  191. package/dist/styled-system/patterns/vstack.d.mts +3 -3
  192. package/dist/styled-system/patterns/vstack.mjs +8 -4
  193. package/dist/styled-system/patterns/wrap.d.mts +6 -6
  194. package/dist/styled-system/patterns/wrap.mjs +5 -2
  195. package/dist/styled-system/recipes/accordion.d.mts +6 -1
  196. package/dist/styled-system/recipes/accordion.mjs +6 -4
  197. package/dist/styled-system/recipes/alert-description.d.mts +6 -1
  198. package/dist/styled-system/recipes/alert-description.mjs +4 -2
  199. package/dist/styled-system/recipes/alert-dialog.d.mts +6 -1
  200. package/dist/styled-system/recipes/alert-dialog.mjs +6 -4
  201. package/dist/styled-system/recipes/alert-title.d.mts +6 -1
  202. package/dist/styled-system/recipes/alert-title.mjs +4 -2
  203. package/dist/styled-system/recipes/alert.d.mts +10 -2
  204. package/dist/styled-system/recipes/alert.mjs +4 -2
  205. package/dist/styled-system/recipes/avatar.d.mts +6 -1
  206. package/dist/styled-system/recipes/avatar.mjs +6 -4
  207. package/dist/styled-system/recipes/badge.d.mts +10 -2
  208. package/dist/styled-system/recipes/badge.mjs +4 -2
  209. package/dist/styled-system/recipes/blockquote.d.mts +6 -1
  210. package/dist/styled-system/recipes/blockquote.mjs +4 -2
  211. package/dist/styled-system/recipes/button.d.mts +13 -2
  212. package/dist/styled-system/recipes/button.mjs +4 -2
  213. package/dist/styled-system/recipes/calendar.d.mts +6 -1
  214. package/dist/styled-system/recipes/calendar.mjs +6 -4
  215. package/dist/styled-system/recipes/card-content.d.mts +6 -1
  216. package/dist/styled-system/recipes/card-content.mjs +4 -2
  217. package/dist/styled-system/recipes/card-description.d.mts +6 -1
  218. package/dist/styled-system/recipes/card-description.mjs +4 -2
  219. package/dist/styled-system/recipes/card-footer.d.mts +6 -1
  220. package/dist/styled-system/recipes/card-footer.mjs +4 -2
  221. package/dist/styled-system/recipes/card-header.d.mts +6 -1
  222. package/dist/styled-system/recipes/card-header.mjs +4 -2
  223. package/dist/styled-system/recipes/card-title.d.mts +6 -1
  224. package/dist/styled-system/recipes/card-title.mjs +4 -2
  225. package/dist/styled-system/recipes/card.d.mts +6 -1
  226. package/dist/styled-system/recipes/card.mjs +4 -2
  227. package/dist/styled-system/recipes/checkbox.d.mts +6 -1
  228. package/dist/styled-system/recipes/checkbox.mjs +6 -4
  229. package/dist/styled-system/recipes/collapsible.d.mts +6 -1
  230. package/dist/styled-system/recipes/collapsible.mjs +6 -4
  231. package/dist/styled-system/recipes/command-dialog.d.mts +6 -1
  232. package/dist/styled-system/recipes/command-dialog.mjs +6 -4
  233. package/dist/styled-system/recipes/command.d.mts +6 -1
  234. package/dist/styled-system/recipes/command.mjs +6 -4
  235. package/dist/styled-system/recipes/context-menu.d.mts +10 -2
  236. package/dist/styled-system/recipes/context-menu.mjs +6 -4
  237. package/dist/styled-system/recipes/create-recipe.mjs +8 -5
  238. package/dist/styled-system/recipes/dialog.d.mts +6 -1
  239. package/dist/styled-system/recipes/dialog.mjs +6 -4
  240. package/dist/styled-system/recipes/dropdown-menu.d.mts +6 -1
  241. package/dist/styled-system/recipes/dropdown-menu.mjs +6 -4
  242. package/dist/styled-system/recipes/form-control.d.mts +6 -1
  243. package/dist/styled-system/recipes/form-control.mjs +4 -2
  244. package/dist/styled-system/recipes/form-description.d.mts +6 -1
  245. package/dist/styled-system/recipes/form-description.mjs +4 -2
  246. package/dist/styled-system/recipes/form-item.d.mts +6 -1
  247. package/dist/styled-system/recipes/form-item.mjs +4 -2
  248. package/dist/styled-system/recipes/form-label.d.mts +6 -1
  249. package/dist/styled-system/recipes/form-label.mjs +4 -2
  250. package/dist/styled-system/recipes/form-message.d.mts +6 -1
  251. package/dist/styled-system/recipes/form-message.mjs +4 -2
  252. package/dist/styled-system/recipes/h1.d.mts +6 -1
  253. package/dist/styled-system/recipes/h1.mjs +4 -2
  254. package/dist/styled-system/recipes/h2.d.mts +6 -1
  255. package/dist/styled-system/recipes/h2.mjs +4 -2
  256. package/dist/styled-system/recipes/h3.d.mts +6 -1
  257. package/dist/styled-system/recipes/h3.mjs +4 -2
  258. package/dist/styled-system/recipes/h4.d.mts +6 -1
  259. package/dist/styled-system/recipes/h4.mjs +4 -2
  260. package/dist/styled-system/recipes/hover-card.d.mts +6 -1
  261. package/dist/styled-system/recipes/hover-card.mjs +6 -4
  262. package/dist/styled-system/recipes/icon.d.mts +22 -2
  263. package/dist/styled-system/recipes/icon.mjs +4 -2
  264. package/dist/styled-system/recipes/inline-code.d.mts +6 -1
  265. package/dist/styled-system/recipes/inline-code.mjs +4 -2
  266. package/dist/styled-system/recipes/input.d.mts +6 -1
  267. package/dist/styled-system/recipes/input.mjs +4 -2
  268. package/dist/styled-system/recipes/label.d.mts +6 -1
  269. package/dist/styled-system/recipes/label.mjs +4 -2
  270. package/dist/styled-system/recipes/large.d.mts +6 -1
  271. package/dist/styled-system/recipes/large.mjs +4 -2
  272. package/dist/styled-system/recipes/lead.d.mts +6 -1
  273. package/dist/styled-system/recipes/lead.mjs +4 -2
  274. package/dist/styled-system/recipes/link.d.mts +6 -1
  275. package/dist/styled-system/recipes/link.mjs +4 -2
  276. package/dist/styled-system/recipes/list.d.mts +6 -1
  277. package/dist/styled-system/recipes/list.mjs +4 -2
  278. package/dist/styled-system/recipes/menubar.d.mts +6 -1
  279. package/dist/styled-system/recipes/menubar.mjs +6 -4
  280. package/dist/styled-system/recipes/muted.d.mts +6 -1
  281. package/dist/styled-system/recipes/muted.mjs +4 -2
  282. package/dist/styled-system/recipes/navigation-menu.d.mts +6 -1
  283. package/dist/styled-system/recipes/navigation-menu.mjs +6 -4
  284. package/dist/styled-system/recipes/p.d.mts +6 -1
  285. package/dist/styled-system/recipes/p.mjs +4 -2
  286. package/dist/styled-system/recipes/popover.d.mts +6 -1
  287. package/dist/styled-system/recipes/popover.mjs +6 -4
  288. package/dist/styled-system/recipes/progress.d.mts +6 -1
  289. package/dist/styled-system/recipes/progress.mjs +6 -4
  290. package/dist/styled-system/recipes/radio-group.d.mts +6 -1
  291. package/dist/styled-system/recipes/radio-group.mjs +6 -4
  292. package/dist/styled-system/recipes/scroll-area.d.mts +6 -1
  293. package/dist/styled-system/recipes/scroll-area.mjs +6 -4
  294. package/dist/styled-system/recipes/select.d.mts +6 -1
  295. package/dist/styled-system/recipes/select.mjs +6 -4
  296. package/dist/styled-system/recipes/separator.d.mts +10 -2
  297. package/dist/styled-system/recipes/separator.mjs +4 -2
  298. package/dist/styled-system/recipes/sheet.d.mts +10 -2
  299. package/dist/styled-system/recipes/sheet.mjs +6 -4
  300. package/dist/styled-system/recipes/skeleton.d.mts +6 -1
  301. package/dist/styled-system/recipes/skeleton.mjs +4 -2
  302. package/dist/styled-system/recipes/slider.d.mts +6 -1
  303. package/dist/styled-system/recipes/slider.mjs +6 -4
  304. package/dist/styled-system/recipes/small.d.mts +6 -1
  305. package/dist/styled-system/recipes/small.mjs +4 -2
  306. package/dist/styled-system/recipes/switch-recipe.d.mts +6 -1
  307. package/dist/styled-system/recipes/switch-recipe.mjs +6 -4
  308. package/dist/styled-system/recipes/table-body.d.mts +6 -1
  309. package/dist/styled-system/recipes/table-body.mjs +4 -2
  310. package/dist/styled-system/recipes/table-caption.d.mts +6 -1
  311. package/dist/styled-system/recipes/table-caption.mjs +4 -2
  312. package/dist/styled-system/recipes/table-cell.d.mts +6 -1
  313. package/dist/styled-system/recipes/table-cell.mjs +4 -2
  314. package/dist/styled-system/recipes/table-container.d.mts +6 -1
  315. package/dist/styled-system/recipes/table-container.mjs +4 -2
  316. package/dist/styled-system/recipes/table-footer.d.mts +6 -1
  317. package/dist/styled-system/recipes/table-footer.mjs +4 -2
  318. package/dist/styled-system/recipes/table-head.d.mts +6 -1
  319. package/dist/styled-system/recipes/table-head.mjs +4 -2
  320. package/dist/styled-system/recipes/table-header.d.mts +6 -1
  321. package/dist/styled-system/recipes/table-header.mjs +4 -2
  322. package/dist/styled-system/recipes/table-row.d.mts +6 -1
  323. package/dist/styled-system/recipes/table-row.mjs +4 -2
  324. package/dist/styled-system/recipes/table.d.mts +6 -1
  325. package/dist/styled-system/recipes/table.mjs +4 -2
  326. package/dist/styled-system/recipes/tabs.d.mts +6 -1
  327. package/dist/styled-system/recipes/tabs.mjs +6 -4
  328. package/dist/styled-system/recipes/textarea.d.mts +6 -1
  329. package/dist/styled-system/recipes/textarea.mjs +4 -2
  330. package/dist/styled-system/recipes/toast-viewport.d.mts +6 -1
  331. package/dist/styled-system/recipes/toast-viewport.mjs +4 -2
  332. package/dist/styled-system/recipes/toast.d.mts +10 -2
  333. package/dist/styled-system/recipes/toast.mjs +6 -4
  334. package/dist/styled-system/recipes/toggle.d.mts +13 -2
  335. package/dist/styled-system/recipes/toggle.mjs +4 -2
  336. package/dist/styled-system/recipes/tooltip.d.mts +6 -1
  337. package/dist/styled-system/recipes/tooltip.mjs +6 -4
  338. package/dist/styled-system/recipes/typography-table-container.d.mts +6 -1
  339. package/dist/styled-system/recipes/typography-table-container.mjs +4 -2
  340. package/dist/styled-system/recipes/typography-table.d.mts +6 -1
  341. package/dist/styled-system/recipes/typography-table.mjs +4 -2
  342. package/dist/styled-system/tokens/index.mjs +1711 -1683
  343. package/dist/styled-system/tokens/tokens.d.mts +20 -20
  344. package/dist/styled-system/types/composition.d.mts +65 -12
  345. package/dist/styled-system/types/conditions.d.mts +98 -44
  346. package/dist/styled-system/types/global.d.mts +1 -0
  347. package/dist/styled-system/types/jsx.d.mts +1 -1
  348. package/dist/styled-system/types/pattern.d.mts +17 -2
  349. package/dist/styled-system/types/prop-type.d.mts +58 -231
  350. package/dist/styled-system/types/recipe.d.mts +33 -10
  351. package/dist/styled-system/types/selectors.d.mts +1 -1
  352. package/dist/styled-system/types/static-css.d.mts +13 -4
  353. package/dist/styled-system/types/style-props.d.mts +7541 -678
  354. package/dist/styled-system/types/system-types.d.mts +111 -11
  355. package/dist/translations/i18n-react.d.ts +1 -0
  356. package/dist/translations/i18n-react.d.ts.map +1 -1
  357. package/dist/translations/i18n-util.async.d.ts.map +1 -1
  358. package/dist/translations/i18n-util.d.ts +2 -2
  359. package/dist/translations/i18n-util.d.ts.map +1 -1
  360. package/package.json +7 -7
  361. package/dist/components/custom/oak4/oak4-device-info.d.ts +0 -13
  362. package/dist/components/custom/oak4/oak4-device-info.d.ts.map +0 -1
  363. package/dist/components/custom/oak4/oak4-device-info.js +0 -100
  364. package/dist/components/custom/oak4/oak4-device-info.js.map +0 -1
  365. package/dist/components/custom/oak4/oak4-model.d.ts +0 -4
  366. package/dist/components/custom/oak4/oak4-model.d.ts.map +0 -1
  367. package/dist/components/custom/oak4/oak4-model.js +0 -3
  368. package/dist/components/custom/oak4/oak4-model.js.map +0 -1
  369. package/dist/styled-system/jsx/link-box.d.mts +0 -10
  370. package/dist/styled-system/jsx/link-box.mjs +0 -14
  371. package/dist/styled-system/patterns/link-box.d.mts +0 -21
  372. package/dist/styled-system/patterns/link-box.mjs +0 -19
  373. package/dist/styled-system/recipes/create-recipe.d.mts +0 -1
@@ -1,5 +1,5 @@
1
1
  import { createElement, forwardRef } from 'react'
2
- import { mergeCss } from '../css/css.mjs';
2
+
3
3
  import { splitProps } from '../helpers.mjs';
4
4
  import { getGridStyle } from '../patterns/grid.mjs';
5
5
  import { styled } from './factory.mjs';
@@ -1,5 +1,5 @@
1
1
  import { createElement, forwardRef } from 'react'
2
- import { mergeCss } from '../css/css.mjs';
2
+
3
3
  import { splitProps } from '../helpers.mjs';
4
4
  import { getHstackStyle } from '../patterns/hstack.mjs';
5
5
  import { styled } from './factory.mjs';
@@ -10,7 +10,6 @@ export * from './spacer.d.mts';
10
10
  export * from './square.d.mts';
11
11
  export * from './circle.d.mts';
12
12
  export * from './center.d.mts';
13
- export * from './link-box.d.mts';
14
13
  export * from './link-overlay.d.mts';
15
14
  export * from './aspect-ratio.d.mts';
16
15
  export * from './grid.d.mts';
@@ -21,4 +20,5 @@ export * from './divider.d.mts';
21
20
  export * from './float.d.mts';
22
21
  export * from './bleed.d.mts';
23
22
  export * from './visually-hidden.d.mts';
23
+ export * from './cq.d.mts';
24
24
  export type { HTMLStyledProps, StyledComponent } from '../types/jsx.d.mts';
@@ -9,7 +9,6 @@ export * from './spacer.mjs';
9
9
  export * from './square.mjs';
10
10
  export * from './circle.mjs';
11
11
  export * from './center.mjs';
12
- export * from './link-box.mjs';
13
12
  export * from './link-overlay.mjs';
14
13
  export * from './aspect-ratio.mjs';
15
14
  export * from './grid.mjs';
@@ -19,4 +18,5 @@ export * from './container.mjs';
19
18
  export * from './divider.mjs';
20
19
  export * from './float.mjs';
21
20
  export * from './bleed.mjs';
22
- export * from './visually-hidden.mjs';
21
+ export * from './visually-hidden.mjs';
22
+ export * from './cq.mjs';
@@ -1,5 +1,11 @@
1
1
  /* eslint-disable */
2
+ import type { DistributiveOmit, HTMLPandaProps, JsxStyleProps, Pretty } from '../types';
3
+
2
4
  declare const isCssProperty: (value: string) => boolean;
3
- declare const splitCssProps: <TProps extends Record<string, unknown>>(props: TProps) => [Pick<TProps, CssProperty>, Omit<TProps, CssProperty>]
5
+
6
+ type CssPropKey = keyof JsxStyleProps
7
+ type OmittedCssProps<T> = Pretty<DistributiveOmit<T, CssPropKey>>
8
+
9
+ declare const splitCssProps: <T>(props: T) => [JsxStyleProps, OmittedCssProps<T>]
4
10
 
5
11
  export { isCssProperty, splitCssProps };
@@ -1,9 +1,9 @@
1
1
  import { splitProps } from '../helpers.mjs';
2
2
  import { memo } from '../helpers.mjs';
3
3
  // src/index.ts
4
- var userGeneratedStr = "css,pos,insetEnd,end,insetStart,start,flexDir,p,pl,pr,pt,pb,py,paddingY,paddingX,px,pe,paddingEnd,ps,paddingStart,ml,mr,mt,mb,m,my,marginY,mx,marginX,me,marginEnd,ms,marginStart,ringWidth,ringColor,ring,ringOffset,w,minW,maxW,h,minH,maxH,tracking,leading,bgPosition,bgPositionX,bgPositionY,bgAttachment,bgClip,bg,bgColor,bgOrigin,bgImage,bgRepeat,bgBlendMode,bgSize,bgGradient,rounded,roundedTopLeft,roundedTopRight,roundedBottomRight,roundedBottomLeft,roundedTop,roundedRight,roundedBottom,roundedLeft,roundedStartStart,roundedStartEnd,roundedStart,roundedEndStart,roundedEndEnd,roundedEnd,borderX,borderXWidth,borderXColor,borderY,borderYWidth,borderYColor,borderStart,borderStartWidth,borderStartColor,borderEnd,borderEndWidth,borderEndColor,shadow,shadowColor,x,y,bga,bca,ca,aspectRatio,boxDecorationBreak,zIndex,boxSizing,objectPosition,objectFit,overscrollBehavior,overscrollBehaviorX,overscrollBehaviorY,position,top,left,insetInline,insetBlock,inset,insetBlockEnd,insetBlockStart,insetInlineEnd,insetInlineStart,right,bottom,insetX,insetY,float,visibility,display,hideFrom,hideBelow,flexBasis,flex,flexDirection,flexGrow,flexShrink,gridTemplateColumns,gridTemplateRows,gridColumn,gridRow,gridColumnStart,gridColumnEnd,gridAutoFlow,gridAutoColumns,gridAutoRows,gap,gridGap,gridRowGap,gridColumnGap,rowGap,columnGap,justifyContent,alignContent,alignItems,alignSelf,padding,paddingLeft,paddingRight,paddingTop,paddingBottom,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingInline,paddingInlineEnd,paddingInlineStart,marginLeft,marginRight,marginTop,marginBottom,margin,marginBlock,marginBlockEnd,marginBlockStart,marginInline,marginInlineEnd,marginInlineStart,outlineWidth,outlineColor,outline,outlineOffset,divideX,divideY,divideColor,divideStyle,width,inlineSize,minWidth,minInlineSize,maxWidth,maxInlineSize,height,blockSize,minHeight,minBlockSize,maxHeight,maxBlockSize,color,fontFamily,fontSize,fontWeight,fontSmoothing,fontVariantNumeric,letterSpacing,lineHeight,textAlign,textDecoration,textDecorationColor,textEmphasisColor,textDecorationStyle,textDecorationThickness,textUnderlineOffset,textTransform,textIndent,textShadow,textOverflow,verticalAlign,wordBreak,textWrap,truncate,lineClamp,listStyleType,listStylePosition,listStyleImage,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundAttachment,backgroundClip,background,backgroundColor,backgroundOrigin,backgroundImage,backgroundRepeat,backgroundBlendMode,backgroundSize,backgroundGradient,textGradient,gradientFrom,gradientTo,gradientVia,borderRadius,borderTopLeftRadius,borderTopRightRadius,borderBottomRightRadius,borderBottomLeftRadius,borderTopRadius,borderRightRadius,borderBottomRadius,borderLeftRadius,borderStartStartRadius,borderStartEndRadius,borderStartRadius,borderEndStartRadius,borderEndEndRadius,borderEndRadius,border,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,borderColor,borderInline,borderInlineWidth,borderInlineColor,borderBlock,borderBlockWidth,borderBlockColor,borderLeft,borderLeftColor,borderInlineStart,borderInlineStartWidth,borderInlineStartColor,borderRight,borderRightColor,borderInlineEnd,borderInlineEndWidth,borderInlineEndColor,borderTop,borderTopColor,borderBottom,borderBottomColor,borderBlockEnd,borderBlockEndColor,borderBlockStart,borderBlockStartColor,opacity,boxShadow,boxShadowColor,mixBlendMode,filter,brightness,contrast,grayscale,hueRotate,invert,saturate,sepia,dropShadow,blur,backdropFilter,backdropBlur,backdropBrightness,backdropContrast,backdropGrayscale,backdropHueRotate,backdropInvert,backdropOpacity,backdropSaturate,backdropSepia,borderCollapse,borderSpacing,borderSpacingX,borderSpacingY,tableLayout,transitionTimingFunction,transitionDelay,transitionDuration,transitionProperty,transition,animation,animationName,animationDelay,transformOrigin,scale,scaleX,scaleY,translate,translateX,translateY,accentColor,caretColor,scrollBehavior,scrollbar,scrollMargin,scrollMarginX,scrollMarginY,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollMarginBottom,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollPadding,scrollPaddingBlock,scrollPaddingBlockStart,scrollPaddingBlockEnd,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingX,scrollPaddingY,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollPaddingBottom,scrollSnapAlign,scrollSnapStop,scrollSnapType,scrollSnapStrictness,scrollSnapMargin,scrollSnapMarginTop,scrollSnapMarginBottom,scrollSnapMarginLeft,scrollSnapMarginRight,touchAction,userSelect,fill,stroke,strokeWidth,srOnly,debug,appearance,backfaceVisibility,clipPath,hyphens,mask,maskImage,maskSize,textSizeAdjust,animateIn,animateOut,fadeIn,fadeOut,zoomIn,zoomOut,spinIn,spinOut,slideInFromTop,slideInFromBottom,slideInFromLeft,slideInFromRight,slideOutToTop,slideOutToBottom,slideOutToLeft,slideOutToRight,backgroundAlpha,gradientFromAlpha,gradientToAlpha,borderAlpha,container,focusRingWidth,focusRingColor,focusRingOffsetWidth,focusRingOffsetColor,focusRingInset,spaceY,spaceX,textAlpha,colorPalette,textStyle,layerStyle,_hover,_focus,_focusWithin,_focusVisible,_disabled,_active,_visited,_target,_readOnly,_readWrite,_empty,_checked,_enabled,_expanded,_highlighted,_before,_after,_firstLetter,_firstLine,_marker,_selection,_file,_backdrop,_first,_last,_only,_even,_odd,_firstOfType,_lastOfType,_onlyOfType,_peerFocus,_peerHover,_peerActive,_peerFocusWithin,_peerFocusVisible,_peerDisabled,_peerChecked,_peerInvalid,_peerExpanded,_peerPlaceholderShown,_groupFocus,_groupHover,_groupActive,_groupFocusWithin,_groupFocusVisible,_groupDisabled,_groupChecked,_groupExpanded,_groupInvalid,_indeterminate,_required,_valid,_invalid,_autofill,_inRange,_outOfRange,_placeholder,_placeholderShown,_pressed,_selected,_default,_optional,_open,_closed,_fullscreen,_loading,_currentPage,_currentStep,_motionReduce,_motionSafe,_print,_landscape,_portrait,_dark,_light,_osDark,_osLight,_highContrast,_lessContrast,_moreContrast,_ltr,_rtl,_scrollbar,_scrollbarThumb,_scrollbarTrack,_horizontal,_vertical,sm,smOnly,smDown,md,mdOnly,mdDown,lg,lgOnly,lgDown,2lg,2lgOnly,2lgDown,xl,xlOnly,xlDown,2xl,2xlOnly,2xlDown,smToMd,smToLg,smTo2lg,smToXl,smTo2xl,mdToLg,mdTo2lg,mdToXl,mdTo2xl,lgTo2lg,lgToXl,lgTo2xl,2lgToXl,2lgTo2xl,xlTo2xl"
4
+ var userGeneratedStr = "css,pos,insetX,insetY,insetEnd,end,insetStart,start,flexDir,p,pl,pr,pt,pb,py,paddingY,paddingX,px,pe,paddingEnd,ps,paddingStart,ml,mr,mt,mb,m,my,marginY,mx,marginX,me,marginEnd,ms,marginStart,ringWidth,ringColor,ring,ringOffset,w,minW,maxW,h,minH,maxH,tracking,leading,textShadowColor,bgPosition,bgPositionX,bgPositionY,bgAttachment,bgClip,bg,bgColor,bgOrigin,bgImage,bgRepeat,bgBlendMode,bgSize,bgGradient,rounded,roundedTopLeft,roundedTopRight,roundedBottomRight,roundedBottomLeft,roundedTop,roundedRight,roundedBottom,roundedLeft,roundedStartStart,roundedStartEnd,roundedStart,roundedEndStart,roundedEndEnd,roundedEnd,borderX,borderXWidth,borderXColor,borderY,borderYWidth,borderYColor,borderStart,borderStartWidth,borderStartColor,borderEnd,borderEndWidth,borderEndColor,shadow,shadowColor,x,y,z,scrollMarginY,scrollMarginX,scrollPaddingY,scrollPaddingX,bga,bca,ca,aspectRatio,boxDecorationBreak,zIndex,boxSizing,objectPosition,objectFit,overscrollBehavior,overscrollBehaviorX,overscrollBehaviorY,position,top,left,inset,insetInline,insetBlock,insetBlockEnd,insetBlockStart,insetInlineEnd,insetInlineStart,right,bottom,float,visibility,display,hideFrom,hideBelow,flexBasis,flex,flexDirection,flexGrow,flexShrink,gridTemplateColumns,gridTemplateRows,gridColumn,gridRow,gridColumnStart,gridColumnEnd,gridAutoFlow,gridAutoColumns,gridAutoRows,gap,gridGap,gridRowGap,gridColumnGap,rowGap,columnGap,justifyContent,alignContent,alignItems,alignSelf,padding,paddingLeft,paddingRight,paddingTop,paddingBottom,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingInline,paddingInlineEnd,paddingInlineStart,marginLeft,marginRight,marginTop,marginBottom,margin,marginBlock,marginBlockEnd,marginBlockStart,marginInline,marginInlineEnd,marginInlineStart,spaceX,spaceY,outlineWidth,outlineColor,outline,outlineOffset,divideX,divideY,divideColor,divideStyle,width,inlineSize,minWidth,minInlineSize,maxWidth,maxInlineSize,height,blockSize,minHeight,minBlockSize,maxHeight,maxBlockSize,color,fontFamily,fontSize,fontSizeAdjust,fontPalette,fontKerning,fontFeatureSettings,fontWeight,fontSmoothing,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariationSettings,fontVariantNumeric,letterSpacing,lineHeight,textAlign,textDecoration,textDecorationColor,textEmphasisColor,textDecorationStyle,textDecorationThickness,textUnderlineOffset,textTransform,textIndent,textShadow,textOverflow,verticalAlign,wordBreak,textWrap,truncate,lineClamp,listStyleType,listStylePosition,listStyleImage,listStyle,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundAttachment,backgroundClip,background,backgroundColor,backgroundOrigin,backgroundImage,backgroundRepeat,backgroundBlendMode,backgroundSize,backgroundGradient,textGradient,gradientFromPosition,gradientToPosition,gradientFrom,gradientTo,gradientVia,gradientViaPosition,borderRadius,borderTopLeftRadius,borderTopRightRadius,borderBottomRightRadius,borderBottomLeftRadius,borderTopRadius,borderRightRadius,borderBottomRadius,borderLeftRadius,borderStartStartRadius,borderStartEndRadius,borderStartRadius,borderEndStartRadius,borderEndEndRadius,borderEndRadius,border,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,borderColor,borderInline,borderInlineWidth,borderInlineColor,borderBlock,borderBlockWidth,borderBlockColor,borderLeft,borderLeftColor,borderInlineStart,borderInlineStartWidth,borderInlineStartColor,borderRight,borderRightColor,borderInlineEnd,borderInlineEndWidth,borderInlineEndColor,borderTop,borderTopColor,borderBottom,borderBottomColor,borderBlockEnd,borderBlockEndColor,borderBlockStart,borderBlockStartColor,opacity,boxShadow,boxShadowColor,mixBlendMode,filter,brightness,contrast,grayscale,hueRotate,invert,saturate,sepia,dropShadow,blur,backdropFilter,backdropBlur,backdropBrightness,backdropContrast,backdropGrayscale,backdropHueRotate,backdropInvert,backdropOpacity,backdropSaturate,backdropSepia,borderCollapse,borderSpacing,borderSpacingX,borderSpacingY,tableLayout,transitionTimingFunction,transitionDelay,transitionDuration,transitionProperty,transition,animation,animationName,animationTimingFunction,animationDuration,animationDelay,animationPlayState,animationComposition,animationFillMode,animationDirection,animationIterationCount,animationRange,animationState,animationRangeStart,animationRangeEnd,animationTimeline,transformOrigin,transformBox,transformStyle,transform,rotate,rotateX,rotateY,rotateZ,scale,scaleX,scaleY,translate,translateX,translateY,translateZ,accentColor,caretColor,scrollBehavior,scrollbar,scrollbarColor,scrollbarGutter,scrollbarWidth,scrollMargin,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollMarginBottom,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollPadding,scrollPaddingBlock,scrollPaddingBlockStart,scrollPaddingBlockEnd,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollPaddingBottom,scrollSnapAlign,scrollSnapStop,scrollSnapType,scrollSnapStrictness,scrollSnapMargin,scrollSnapMarginTop,scrollSnapMarginBottom,scrollSnapMarginLeft,scrollSnapMarginRight,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,touchAction,userSelect,overflow,overflowWrap,overflowX,overflowY,overflowAnchor,overflowBlock,overflowInline,overflowClipBox,overflowClipMargin,overscrollBehaviorBlock,overscrollBehaviorInline,fill,stroke,strokeWidth,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,srOnly,debug,appearance,backfaceVisibility,clipPath,hyphens,mask,maskImage,maskSize,textSizeAdjust,container,containerName,containerType,animateIn,animateOut,fadeIn,fadeOut,zoomIn,zoomOut,spinIn,spinOut,slideInFromTop,slideInFromBottom,slideInFromLeft,slideInFromRight,slideOutToTop,slideOutToBottom,slideOutToLeft,slideOutToRight,backgroundAlpha,gradientFromAlpha,gradientToAlpha,borderAlpha,focusRingWidth,focusRingColor,focusRingOffsetWidth,focusRingOffsetColor,focusRingInset,textAlpha,colorPalette,_hover,_focus,_focusWithin,_focusVisible,_disabled,_active,_visited,_target,_readOnly,_readWrite,_empty,_checked,_enabled,_expanded,_highlighted,_complete,_incomplete,_dragging,_before,_after,_firstLetter,_firstLine,_marker,_selection,_file,_backdrop,_first,_last,_only,_even,_odd,_firstOfType,_lastOfType,_onlyOfType,_peerFocus,_peerHover,_peerActive,_peerFocusWithin,_peerFocusVisible,_peerDisabled,_peerChecked,_peerInvalid,_peerExpanded,_peerPlaceholderShown,_groupFocus,_groupHover,_groupActive,_groupFocusWithin,_groupFocusVisible,_groupDisabled,_groupChecked,_groupExpanded,_groupInvalid,_indeterminate,_required,_valid,_invalid,_autofill,_inRange,_outOfRange,_placeholder,_placeholderShown,_pressed,_selected,_grabbed,_underValue,_overValue,_atValue,_default,_optional,_open,_closed,_fullscreen,_loading,_hidden,_current,_currentPage,_currentStep,_today,_unavailable,_rangeStart,_rangeEnd,_now,_topmost,_motionReduce,_motionSafe,_print,_landscape,_portrait,_dark,_light,_osDark,_osLight,_highContrast,_lessContrast,_moreContrast,_ltr,_rtl,_scrollbar,_scrollbarThumb,_scrollbarTrack,_horizontal,_vertical,_icon,_starting,sm,smOnly,smDown,md,mdOnly,mdDown,lg,lgOnly,lgDown,2lg,2lgOnly,2lgDown,xl,xlOnly,xlDown,2xl,2xlOnly,2xlDown,smToMd,smToLg,smTo2lg,smToXl,smTo2xl,mdToLg,mdTo2lg,mdToXl,mdTo2xl,lgTo2lg,lgToXl,lgTo2xl,2lgToXl,2lgTo2xl,xlTo2xl,@/xs,@/sm,@/md,@/lg,@/xl,@/2xl,@/3xl,@/4xl,@/5xl,@/6xl,@/7xl,@/8xl,textStyle,layerStyle"
5
5
  var userGenerated = userGeneratedStr.split(",");
6
- var cssPropertiesStr = "WebkitAppearance,WebkitBorderBefore,WebkitBorderBeforeColor,WebkitBorderBeforeStyle,WebkitBorderBeforeWidth,WebkitBoxReflect,WebkitLineClamp,WebkitMask,WebkitMaskAttachment,WebkitMaskClip,WebkitMaskComposite,WebkitMaskImage,WebkitMaskOrigin,WebkitMaskPosition,WebkitMaskPositionX,WebkitMaskPositionY,WebkitMaskRepeat,WebkitMaskRepeatX,WebkitMaskRepeatY,WebkitMaskSize,WebkitOverflowScrolling,WebkitTapHighlightColor,WebkitTextFillColor,WebkitTextStroke,WebkitTextStrokeColor,WebkitTextStrokeWidth,WebkitTouchCallout,WebkitUserModify,accentColor,alignContent,alignItems,alignSelf,alignTracks,all,animation,animationComposition,animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,animationName,animationPlayState,animationTimingFunction,animationTimeline,appearance,aspectRatio,azimuth,backdropFilter,backfaceVisibility,background,backgroundAttachment,backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundSize,blockOverflow,blockSize,border,borderBlock,borderBlockColor,borderBlockStyle,borderBlockWidth,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineEnd,borderInlineColor,borderInlineStyle,borderInlineWidth,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,boxAlign,boxDecorationBreak,boxDirection,boxFlex,boxFlexGroup,boxLines,boxOrdinalGroup,boxOrient,boxPack,boxShadow,boxSizing,breakAfter,breakBefore,breakInside,captionSide,caret,caretColor,caretShape,clear,clip,clipPath,color,colorScheme,columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,columnSpan,columnWidth,columns,contain,containIntrinsicSize,containIntrinsicBlockSize,containIntrinsicHeight,containIntrinsicInlineSize,containIntrinsicWidth,container,containerName,containerType,content,contentVisibility,counterIncrement,counterReset,counterSet,cursor,direction,display,emptyCells,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,font,fontFamily,fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,fontPalette,fontVariationSettings,fontSize,fontSizeAdjust,fontSmooth,fontStretch,fontStyle,fontSynthesis,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariantEastAsian,fontVariantEmoji,fontVariantLigatures,fontVariantNumeric,fontVariantPosition,fontWeight,forcedColorAdjust,gap,grid,gridArea,gridAutoColumns,gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,gridTemplateRows,hangingPunctuation,height,hyphenateCharacter,hyphenateLimitChars,hyphens,imageOrientation,imageRendering,imageResolution,imeMode,initialLetter,initialLetterAlign,inlineSize,inputSecurity,inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,isolation,justifyContent,justifyItems,justifySelf,justifyTracks,left,letterSpacing,lineBreak,lineClamp,lineHeight,lineHeightStep,listStyle,listStyleImage,listStylePosition,listStyleType,margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,marginInlineStart,marginLeft,marginRight,marginTop,marginTrim,mask,maskBorder,maskBorderMode,maskBorderOutset,maskBorderRepeat,maskBorderSlice,maskBorderSource,maskBorderWidth,maskClip,maskComposite,maskImage,maskMode,maskOrigin,maskPosition,maskRepeat,maskSize,maskType,masonryAutoFlow,mathDepth,mathShift,mathStyle,maxBlockSize,maxHeight,maxInlineSize,maxLines,maxWidth,minBlockSize,minHeight,minInlineSize,minWidth,mixBlendMode,objectFit,objectPosition,offset,offsetAnchor,offsetDistance,offsetPath,offsetPosition,offsetRotate,opacity,order,orphans,outline,outlineColor,outlineOffset,outlineStyle,outlineWidth,overflow,overflowAnchor,overflowBlock,overflowClipBox,overflowClipMargin,overflowInline,overflowWrap,overflowX,overflowY,overscrollBehavior,overscrollBehaviorBlock,overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,padding,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,paddingInlineStart,paddingLeft,paddingRight,paddingTop,page,pageBreakAfter,pageBreakBefore,pageBreakInside,paintOrder,perspective,perspectiveOrigin,placeContent,placeItems,placeSelf,pointerEvents,position,printColorAdjust,quotes,resize,right,rotate,rowGap,rubyAlign,rubyMerge,rubyPosition,scale,scrollbarColor,scrollbarGutter,scrollbarWidth,scrollBehavior,scrollMargin,scrollMarginBlock,scrollMarginBlockStart,scrollMarginBlockEnd,scrollMarginBottom,scrollMarginInline,scrollMarginInlineStart,scrollMarginInlineEnd,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollPadding,scrollPaddingBlock,scrollPaddingBlockStart,scrollPaddingBlockEnd,scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineStart,scrollPaddingInlineEnd,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapStop,scrollSnapType,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,shapeImageThreshold,shapeMargin,shapeOutside,tabSize,tableLayout,textAlign,textAlignLast,textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,textDecorationSkip,textDecorationSkipInk,textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textTransform,textUnderlineOffset,textUnderlinePosition,top,touchAction,transform,transformBox,transformOrigin,transformStyle,transition,transitionDelay,transitionDuration,transitionProperty,transitionTimingFunction,translate,unicodeBidi,userSelect,verticalAlign,viewTransitionName,visibility,whiteSpace,widows,width,willChange,wordBreak,wordSpacing,wordWrap,writingMode,zIndex,zoom,alignmentBaseline,baselineShift,clipRule,colorInterpolation,colorRendering,dominantBaseline,fill,fillOpacity,fillRule,floodColor,floodOpacity,glyphOrientationVertical,lightingColor,marker,markerEnd,markerMid,markerStart,shapeRendering,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,textAnchor,vectorEffect";
6
+ var cssPropertiesStr = "WebkitAppearance,WebkitBorderBefore,WebkitBorderBeforeColor,WebkitBorderBeforeStyle,WebkitBorderBeforeWidth,WebkitBoxReflect,WebkitLineClamp,WebkitMask,WebkitMaskAttachment,WebkitMaskClip,WebkitMaskComposite,WebkitMaskImage,WebkitMaskOrigin,WebkitMaskPosition,WebkitMaskPositionX,WebkitMaskPositionY,WebkitMaskRepeat,WebkitMaskRepeatX,WebkitMaskRepeatY,WebkitMaskSize,WebkitOverflowScrolling,WebkitTapHighlightColor,WebkitTextFillColor,WebkitTextStroke,WebkitTextStrokeColor,WebkitTextStrokeWidth,WebkitTouchCallout,WebkitUserModify,WebkitUserSelect,accentColor,alignContent,alignItems,alignSelf,alignTracks,all,anchorName,anchorScope,animation,animationComposition,animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,animationName,animationPlayState,animationRange,animationRangeEnd,animationRangeStart,animationTimeline,animationTimingFunction,appearance,aspectRatio,backdropFilter,backfaceVisibility,background,backgroundAttachment,backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundSize,blockSize,border,borderBlock,borderBlockColor,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,borderBlockStyle,borderBlockWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineColor,borderInlineEnd,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderInlineStyle,borderInlineWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,boxAlign,boxDecorationBreak,boxDirection,boxFlex,boxFlexGroup,boxLines,boxOrdinalGroup,boxOrient,boxPack,boxShadow,boxSizing,breakAfter,breakBefore,breakInside,captionSide,caret,caretColor,caretShape,clear,clip,clipPath,clipRule,color,colorInterpolationFilters,colorScheme,columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,columnSpan,columnWidth,columns,contain,containIntrinsicBlockSize,containIntrinsicHeight,containIntrinsicInlineSize,containIntrinsicSize,containIntrinsicWidth,container,containerName,containerType,content,contentVisibility,counterIncrement,counterReset,counterSet,cursor,cx,cy,d,direction,display,dominantBaseline,emptyCells,fieldSizing,fill,fillOpacity,fillRule,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,floodColor,floodOpacity,font,fontFamily,fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,fontPalette,fontSize,fontSizeAdjust,fontSmooth,fontStretch,fontStyle,fontSynthesis,fontSynthesisPosition,fontSynthesisSmallCaps,fontSynthesisStyle,fontSynthesisWeight,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariantEastAsian,fontVariantEmoji,fontVariantLigatures,fontVariantNumeric,fontVariantPosition,fontVariationSettings,fontWeight,forcedColorAdjust,gap,grid,gridArea,gridAutoColumns,gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,gridTemplateRows,hangingPunctuation,height,hyphenateCharacter,hyphenateLimitChars,hyphens,imageOrientation,imageRendering,imageResolution,imeMode,initialLetter,initialLetterAlign,inlineSize,inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,interpolateSize,isolation,justifyContent,justifyItems,justifySelf,justifyTracks,left,letterSpacing,lightingColor,lineBreak,lineClamp,lineHeight,lineHeightStep,listStyle,listStyleImage,listStylePosition,listStyleType,margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,marginInlineStart,marginLeft,marginRight,marginTop,marginTrim,marker,markerEnd,markerMid,markerStart,mask,maskBorder,maskBorderMode,maskBorderOutset,maskBorderRepeat,maskBorderSlice,maskBorderSource,maskBorderWidth,maskClip,maskComposite,maskImage,maskMode,maskOrigin,maskPosition,maskRepeat,maskSize,maskType,masonryAutoFlow,mathDepth,mathShift,mathStyle,maxBlockSize,maxHeight,maxInlineSize,maxLines,maxWidth,minBlockSize,minHeight,minInlineSize,minWidth,mixBlendMode,objectFit,objectPosition,offset,offsetAnchor,offsetDistance,offsetPath,offsetPosition,offsetRotate,opacity,order,orphans,outline,outlineColor,outlineOffset,outlineStyle,outlineWidth,overflow,overflowAnchor,overflowBlock,overflowClipBox,overflowClipMargin,overflowInline,overflowWrap,overflowX,overflowY,overlay,overscrollBehavior,overscrollBehaviorBlock,overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,padding,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,paddingInlineStart,paddingLeft,paddingRight,paddingTop,page,pageBreakAfter,pageBreakBefore,pageBreakInside,paintOrder,perspective,perspectiveOrigin,placeContent,placeItems,placeSelf,pointerEvents,position,positionAnchor,positionArea,positionTry,positionTryFallbacks,positionTryOrder,positionVisibility,printColorAdjust,quotes,r,resize,right,rotate,rowGap,rubyAlign,rubyMerge,rubyPosition,rx,ry,scale,scrollBehavior,scrollMargin,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginBottom,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollPadding,scrollPaddingBlock,scrollPaddingBlockEnd,scrollPaddingBlockStart,scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapStop,scrollSnapType,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,scrollbarColor,scrollbarGutter,scrollbarWidth,shapeImageThreshold,shapeMargin,shapeOutside,shapeRendering,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,tabSize,tableLayout,textAlign,textAlignLast,textAnchor,textBox,textBoxEdge,textBoxTrim,textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,textDecorationSkip,textDecorationSkipInk,textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textSpacingTrim,textTransform,textUnderlineOffset,textUnderlinePosition,textWrap,textWrapMode,textWrapStyle,timelineScope,top,touchAction,transform,transformBox,transformOrigin,transformStyle,transition,transitionBehavior,transitionDelay,transitionDuration,transitionProperty,transitionTimingFunction,translate,unicodeBidi,userSelect,vectorEffect,verticalAlign,viewTimeline,viewTimelineAxis,viewTimelineInset,viewTimelineName,viewTransitionName,visibility,whiteSpace,whiteSpaceCollapse,widows,width,willChange,wordBreak,wordSpacing,wordWrap,writingMode,x,y,zIndex,zoom,alignmentBaseline,baselineShift,colorInterpolation,colorRendering,glyphOrientationVertical";
7
7
  var allCssProperties = cssPropertiesStr.split(",").concat(userGenerated);
8
8
  var properties = new Map(allCssProperties.map((prop) => [prop, true]));
9
9
  var cssPropertySelectorRegex = /&|@/;
@@ -14,4 +14,4 @@ export {
14
14
  allCssProperties,
15
15
  isCssProperty
16
16
  };
17
- export const splitCssProps = /* @__PURE__ */ (props) => splitProps(props, isCssProperty)
17
+ export const splitCssProps = (props) => splitProps(props, isCssProperty)
@@ -1,5 +1,5 @@
1
1
  import { createElement, forwardRef } from 'react'
2
- import { mergeCss } from '../css/css.mjs';
2
+
3
3
  import { splitProps } from '../helpers.mjs';
4
4
  import { getLinkOverlayStyle } from '../patterns/link-overlay.mjs';
5
5
  import { styled } from './factory.mjs';
@@ -1,5 +1,5 @@
1
1
  import { createElement, forwardRef } from 'react'
2
- import { mergeCss } from '../css/css.mjs';
2
+
3
3
  import { splitProps } from '../helpers.mjs';
4
4
  import { getSpacerStyle } from '../patterns/spacer.mjs';
5
5
  import { styled } from './factory.mjs';
@@ -1,5 +1,5 @@
1
1
  import { createElement, forwardRef } from 'react'
2
- import { mergeCss } from '../css/css.mjs';
2
+
3
3
  import { splitProps } from '../helpers.mjs';
4
4
  import { getSquareStyle } from '../patterns/square.mjs';
5
5
  import { styled } from './factory.mjs';
@@ -1,5 +1,5 @@
1
1
  import { createElement, forwardRef } from 'react'
2
- import { mergeCss } from '../css/css.mjs';
2
+
3
3
  import { splitProps } from '../helpers.mjs';
4
4
  import { getStackStyle } from '../patterns/stack.mjs';
5
5
  import { styled } from './factory.mjs';
@@ -1,5 +1,5 @@
1
1
  import { createElement, forwardRef } from 'react'
2
- import { mergeCss } from '../css/css.mjs';
2
+
3
3
  import { splitProps } from '../helpers.mjs';
4
4
  import { getVisuallyHiddenStyle } from '../patterns/visually-hidden.mjs';
5
5
  import { styled } from './factory.mjs';
@@ -1,5 +1,5 @@
1
1
  import { createElement, forwardRef } from 'react'
2
- import { mergeCss } from '../css/css.mjs';
2
+
3
3
  import { splitProps } from '../helpers.mjs';
4
4
  import { getVstackStyle } from '../patterns/vstack.mjs';
5
5
  import { styled } from './factory.mjs';
@@ -1,5 +1,5 @@
1
1
  import { createElement, forwardRef } from 'react'
2
- import { mergeCss } from '../css/css.mjs';
2
+
3
3
  import { splitProps } from '../helpers.mjs';
4
4
  import { getWrapStyle } from '../patterns/wrap.mjs';
5
5
  import { styled } from './factory.mjs';
@@ -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 { PropertyValue } from '../types/prop-type.d.mts';
4
+ import type { SystemProperties } from '../types/style-props.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 { mapObject } from '../helpers.mjs';
1
+ import { getPatternStyles, patternFns } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const aspectRatioConfig = {
@@ -29,7 +29,10 @@ transform(props, { map }) {
29
29
  };
30
30
  }}
31
31
 
32
- export const getAspectRatioStyle = (styles = {}) => aspectRatioConfig.transform(styles, { map: mapObject })
32
+ export const getAspectRatioStyle = (styles = {}) => {
33
+ const _styles = getPatternStyles(aspectRatioConfig, styles)
34
+ return aspectRatioConfig.transform(_styles, patternFns)
35
+ }
33
36
 
34
37
  export const aspectRatio = (styles) => css(getAspectRatioStyle(styles))
35
38
  aspectRatio.raw = getAspectRatioStyle
@@ -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 { PropertyValue } from '../types/prop-type.d.mts';
4
+ import type { SystemProperties } from '../types/style-props.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 BleedProperties {
9
- inline?: PropertyValue<'marginInline'>
10
- block?: PropertyValue<'marginBlock'>
9
+ inline?: SystemProperties["marginInline"]
10
+ block?: SystemProperties["marginBlock"]
11
11
  }
12
12
 
13
13
 
@@ -1,19 +1,24 @@
1
- import { mapObject } from '../helpers.mjs';
1
+ import { getPatternStyles, patternFns } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const bleedConfig = {
5
- transform(props) {
6
- const { inline = "0", block = "0", ...rest } = props;
5
+ transform(props, { map, isCssUnit, isCssVar }) {
6
+ const { inline, block, ...rest } = props;
7
+ const valueFn = (v) => isCssUnit(v) || isCssVar(v) ? v : `token(spacing.${v}, ${v})`;
7
8
  return {
8
- "--bleed-x": `spacing.${inline}`,
9
- "--bleed-y": `spacing.${block}`,
9
+ "--bleed-x": map(inline, valueFn),
10
+ "--bleed-y": map(block, valueFn),
10
11
  marginInline: "calc(var(--bleed-x, 0) * -1)",
11
12
  marginBlock: "calc(var(--bleed-y, 0) * -1)",
12
13
  ...rest
13
14
  };
14
- }}
15
+ },
16
+ defaultValues:{inline:'0',block:'0'}}
15
17
 
16
- export const getBleedStyle = (styles = {}) => bleedConfig.transform(styles, { map: mapObject })
18
+ export const getBleedStyle = (styles = {}) => {
19
+ const _styles = getPatternStyles(bleedConfig, styles)
20
+ return bleedConfig.transform(_styles, patternFns)
21
+ }
17
22
 
18
23
  export const bleed = (styles) => css(getBleedStyle(styles))
19
24
  bleed.raw = getBleedStyle
@@ -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 { PropertyValue } from '../types/prop-type.d.mts';
4
+ import type { SystemProperties } from '../types/style-props.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 { mapObject } from '../helpers.mjs';
1
+ import { getPatternStyles, patternFns } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const boxConfig = {
@@ -6,7 +6,10 @@ transform(props) {
6
6
  return props;
7
7
  }}
8
8
 
9
- export const getBoxStyle = (styles = {}) => boxConfig.transform(styles, { map: mapObject })
9
+ export const getBoxStyle = (styles = {}) => {
10
+ const _styles = getPatternStyles(boxConfig, styles)
11
+ return boxConfig.transform(_styles, patternFns)
12
+ }
10
13
 
11
14
  export const box = (styles) => css(getBoxStyle(styles))
12
15
  box.raw = getBoxStyle
@@ -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 { PropertyValue } from '../types/prop-type.d.mts';
4
+ import type { SystemProperties } from '../types/style-props.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 { mapObject } from '../helpers.mjs';
1
+ import { getPatternStyles, patternFns } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const centerConfig = {
@@ -12,7 +12,10 @@ transform(props) {
12
12
  };
13
13
  }}
14
14
 
15
- export const getCenterStyle = (styles = {}) => centerConfig.transform(styles, { map: mapObject })
15
+ export const getCenterStyle = (styles = {}) => {
16
+ const _styles = getPatternStyles(centerConfig, styles)
17
+ return centerConfig.transform(_styles, patternFns)
18
+ }
16
19
 
17
20
  export const center = (styles) => css(getCenterStyle(styles))
18
21
  center.raw = getCenterStyle
@@ -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 { PropertyValue } from '../types/prop-type.d.mts';
4
+ import type { SystemProperties } from '../types/style-props.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 CircleProperties {
9
- size?: PropertyValue<'width'>
9
+ size?: SystemProperties["width"]
10
10
  }
11
11
 
12
12
 
@@ -1,4 +1,4 @@
1
- import { mapObject } from '../helpers.mjs';
1
+ import { getPatternStyles, patternFns } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const circleConfig = {
@@ -16,7 +16,10 @@ transform(props) {
16
16
  };
17
17
  }}
18
18
 
19
- export const getCircleStyle = (styles = {}) => circleConfig.transform(styles, { map: mapObject })
19
+ export const getCircleStyle = (styles = {}) => {
20
+ const _styles = getPatternStyles(circleConfig, styles)
21
+ return circleConfig.transform(_styles, patternFns)
22
+ }
20
23
 
21
24
  export const circle = (styles) => css(getCircleStyle(styles))
22
25
  circle.raw = getCircleStyle
@@ -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 { PropertyValue } from '../types/prop-type.d.mts';
4
+ import type { SystemProperties } from '../types/style-props.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 { mapObject } from '../helpers.mjs';
1
+ import { getPatternStyles, patternFns } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const containerConfig = {
@@ -12,7 +12,10 @@ transform(props) {
12
12
  };
13
13
  }}
14
14
 
15
- export const getContainerStyle = (styles = {}) => containerConfig.transform(styles, { map: mapObject })
15
+ export const getContainerStyle = (styles = {}) => {
16
+ const _styles = getPatternStyles(containerConfig, styles)
17
+ return containerConfig.transform(_styles, patternFns)
18
+ }
16
19
 
17
20
  export const container = (styles) => css(getContainerStyle(styles))
18
21
  container.raw = getContainerStyle
@@ -0,0 +1,22 @@
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 { SystemProperties } from '../types/style-props.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 CqProperties {
9
+ name?: ConditionalValue<Tokens["containerNames"] | Properties["containerName"]>
10
+ type?: SystemProperties["containerType"]
11
+ }
12
+
13
+
14
+ interface CqStyles extends CqProperties, DistributiveOmit<SystemStyleObject, keyof CqProperties > {}
15
+
16
+ interface CqPatternFn {
17
+ (styles?: CqStyles): string
18
+ raw: (styles?: CqStyles) => SystemStyleObject
19
+ }
20
+
21
+
22
+ export declare const cq: CqPatternFn;
@@ -0,0 +1,21 @@
1
+ import { getPatternStyles, patternFns } from '../helpers.mjs';
2
+ import { css } from '../css/index.mjs';
3
+
4
+ const cqConfig = {
5
+ transform(props) {
6
+ const { name, type, ...rest } = props;
7
+ return {
8
+ containerType: type,
9
+ containerName: name,
10
+ ...rest
11
+ };
12
+ },
13
+ defaultValues:{type:'inline-size'}}
14
+
15
+ export const getCqStyle = (styles = {}) => {
16
+ const _styles = getPatternStyles(cqConfig, styles)
17
+ return cqConfig.transform(_styles, patternFns)
18
+ }
19
+
20
+ export const cq = (styles) => css(getCqStyle(styles))
21
+ cq.raw = getCqStyle
@@ -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 { PropertyValue } from '../types/prop-type.d.mts';
4
+ import type { SystemProperties } from '../types/style-props.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,9 +1,9 @@
1
- import { mapObject } from '../helpers.mjs';
1
+ import { getPatternStyles, patternFns } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const dividerConfig = {
5
5
  transform(props, { map }) {
6
- const { orientation = "horizontal", thickness = "1px", color, ...rest } = props;
6
+ const { orientation, thickness, color, ...rest } = props;
7
7
  return {
8
8
  "--thickness": thickness,
9
9
  width: map(orientation, (v) => v === "vertical" ? void 0 : "100%"),
@@ -13,9 +13,13 @@ transform(props, { map }) {
13
13
  borderColor: color,
14
14
  ...rest
15
15
  };
16
- }}
16
+ },
17
+ defaultValues:{orientation:'horizontal',thickness:'1px'}}
17
18
 
18
- export const getDividerStyle = (styles = {}) => dividerConfig.transform(styles, { map: mapObject })
19
+ export const getDividerStyle = (styles = {}) => {
20
+ const _styles = getPatternStyles(dividerConfig, styles)
21
+ return dividerConfig.transform(_styles, patternFns)
22
+ }
19
23
 
20
24
  export const divider = (styles) => css(getDividerStyle(styles))
21
25
  divider.raw = getDividerStyle
@@ -1,18 +1,18 @@
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 { PropertyValue } from '../types/prop-type.d.mts';
4
+ import type { SystemProperties } from '../types/style-props.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 FlexProperties {
9
- align?: PropertyValue<'alignItems'>
10
- justify?: PropertyValue<'justifyContent'>
11
- direction?: PropertyValue<'flexDirection'>
12
- wrap?: PropertyValue<'flexWrap'>
13
- basis?: PropertyValue<'flexBasis'>
14
- grow?: PropertyValue<'flexGrow'>
15
- shrink?: PropertyValue<'flexShrink'>
9
+ align?: SystemProperties["alignItems"]
10
+ justify?: SystemProperties["justifyContent"]
11
+ direction?: SystemProperties["flexDirection"]
12
+ wrap?: SystemProperties["flexWrap"]
13
+ basis?: SystemProperties["flexBasis"]
14
+ grow?: SystemProperties["flexGrow"]
15
+ shrink?: SystemProperties["flexShrink"]
16
16
  }
17
17
 
18
18
 
@@ -1,4 +1,4 @@
1
- import { mapObject } from '../helpers.mjs';
1
+ import { getPatternStyles, patternFns } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const flexConfig = {
@@ -17,7 +17,10 @@ transform(props) {
17
17
  };
18
18
  }}
19
19
 
20
- export const getFlexStyle = (styles = {}) => flexConfig.transform(styles, { map: mapObject })
20
+ export const getFlexStyle = (styles = {}) => {
21
+ const _styles = getPatternStyles(flexConfig, styles)
22
+ return flexConfig.transform(_styles, patternFns)
23
+ }
21
24
 
22
25
  export const flex = (styles) => css(getFlexStyle(styles))
23
26
  flex.raw = getFlexStyle
@@ -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 { PropertyValue } from '../types/prop-type.d.mts';
4
+ import type { SystemProperties } from '../types/style-props.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,9 +1,9 @@
1
- import { mapObject } from '../helpers.mjs';
1
+ import { getPatternStyles, patternFns } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const floatConfig = {
5
5
  transform(props, { map }) {
6
- const { offset = "0", offsetX = offset, offsetY = offset, placement = "top-end", ...rest } = props;
6
+ const { offset, offsetX, offsetY, placement, ...rest } = props;
7
7
  return {
8
8
  display: "inline-flex",
9
9
  justifyContent: "center",
@@ -37,9 +37,16 @@ transform(props, { map }) {
37
37
  }),
38
38
  ...rest
39
39
  };
40
+ },
41
+ defaultValues(props) {
42
+ const offset = props.offset || "0";
43
+ return { offset, offsetX: offset, offsetY: offset, placement: "top-end" };
40
44
  }}
41
45
 
42
- export const getFloatStyle = (styles = {}) => floatConfig.transform(styles, { map: mapObject })
46
+ export const getFloatStyle = (styles = {}) => {
47
+ const _styles = getPatternStyles(floatConfig, styles)
48
+ return floatConfig.transform(_styles, patternFns)
49
+ }
43
50
 
44
51
  export const float = (styles) => css(getFloatStyle(styles))
45
52
  float.raw = getFloatStyle
@@ -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 { PropertyValue } from '../types/prop-type.d.mts';
4
+ import type { SystemProperties } from '../types/style-props.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 { mapObject } from '../helpers.mjs';
1
+ import { getPatternStyles, patternFns } from '../helpers.mjs';
2
2
  import { css } from '../css/index.mjs';
3
3
 
4
4
  const gridItemConfig = {
@@ -16,7 +16,10 @@ transform(props, { map }) {
16
16
  };
17
17
  }}
18
18
 
19
- export const getGridItemStyle = (styles = {}) => gridItemConfig.transform(styles, { map: mapObject })
19
+ export const getGridItemStyle = (styles = {}) => {
20
+ const _styles = getPatternStyles(gridItemConfig, styles)
21
+ return gridItemConfig.transform(_styles, patternFns)
22
+ }
20
23
 
21
24
  export const gridItem = (styles) => css(getGridItemStyle(styles))
22
25
  gridItem.raw = getGridItemStyle
@@ -1,14 +1,14 @@
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 { PropertyValue } from '../types/prop-type.d.mts';
4
+ import type { SystemProperties } from '../types/style-props.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 GridProperties {
9
- gap?: PropertyValue<'gap'>
10
- columnGap?: PropertyValue<'gap'>
11
- rowGap?: PropertyValue<'gap'>
9
+ gap?: SystemProperties["gap"]
10
+ columnGap?: SystemProperties["gap"]
11
+ rowGap?: SystemProperties["gap"]
12
12
  columns?: ConditionalValue<number>
13
13
  minChildWidth?: ConditionalValue<Tokens["sizes"] | Properties["width"]>
14
14
  }