@luxonis/common-fe-components 1.9.5

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 (694) hide show
  1. package/LICENSE.md +1 -0
  2. package/README.md +4 -0
  3. package/dist/components/custom/Alert.d.ts +11 -0
  4. package/dist/components/custom/Alert.d.ts.map +1 -0
  5. package/dist/components/custom/Alert.js +11 -0
  6. package/dist/components/custom/Alert.js.map +1 -0
  7. package/dist/components/custom/Badge.d.ts +71 -0
  8. package/dist/components/custom/Badge.d.ts.map +1 -0
  9. package/dist/components/custom/Badge.js +82 -0
  10. package/dist/components/custom/Badge.js.map +1 -0
  11. package/dist/components/custom/BadgeLine.d.ts +11 -0
  12. package/dist/components/custom/BadgeLine.d.ts.map +1 -0
  13. package/dist/components/custom/BadgeLine.js +25 -0
  14. package/dist/components/custom/BadgeLine.js.map +1 -0
  15. package/dist/components/custom/Button.d.ts +51 -0
  16. package/dist/components/custom/Button.d.ts.map +1 -0
  17. package/dist/components/custom/Button.js +71 -0
  18. package/dist/components/custom/Button.js.map +1 -0
  19. package/dist/components/custom/Card.d.ts +17 -0
  20. package/dist/components/custom/Card.d.ts.map +1 -0
  21. package/dist/components/custom/Card.js +19 -0
  22. package/dist/components/custom/Card.js.map +1 -0
  23. package/dist/components/custom/CardList.d.ts +68 -0
  24. package/dist/components/custom/CardList.d.ts.map +1 -0
  25. package/dist/components/custom/CardList.js +72 -0
  26. package/dist/components/custom/CardList.js.map +1 -0
  27. package/dist/components/custom/Checkbox.d.ts +17 -0
  28. package/dist/components/custom/Checkbox.d.ts.map +1 -0
  29. package/dist/components/custom/Checkbox.js +31 -0
  30. package/dist/components/custom/Checkbox.js.map +1 -0
  31. package/dist/components/custom/Circle.d.ts +56 -0
  32. package/dist/components/custom/Circle.d.ts.map +1 -0
  33. package/dist/components/custom/Circle.js +73 -0
  34. package/dist/components/custom/Circle.js.map +1 -0
  35. package/dist/components/custom/Command.d.ts +4 -0
  36. package/dist/components/custom/Command.d.ts.map +1 -0
  37. package/dist/components/custom/Command.js +6 -0
  38. package/dist/components/custom/Command.js.map +1 -0
  39. package/dist/components/custom/DropdownMenu.d.ts +1111 -0
  40. package/dist/components/custom/DropdownMenu.d.ts.map +1 -0
  41. package/dist/components/custom/DropdownMenu.js +12 -0
  42. package/dist/components/custom/DropdownMenu.js.map +1 -0
  43. package/dist/components/custom/Dropzone.d.ts +16 -0
  44. package/dist/components/custom/Dropzone.d.ts.map +1 -0
  45. package/dist/components/custom/Dropzone.js +158 -0
  46. package/dist/components/custom/Dropzone.js.map +1 -0
  47. package/dist/components/custom/EmptyView.d.ts +10 -0
  48. package/dist/components/custom/EmptyView.d.ts.map +1 -0
  49. package/dist/components/custom/EmptyView.js +10 -0
  50. package/dist/components/custom/EmptyView.js.map +1 -0
  51. package/dist/components/custom/ErrorView.d.ts +11 -0
  52. package/dist/components/custom/ErrorView.d.ts.map +1 -0
  53. package/dist/components/custom/ErrorView.js +55 -0
  54. package/dist/components/custom/ErrorView.js.map +1 -0
  55. package/dist/components/custom/ExternalLink.d.ts +12 -0
  56. package/dist/components/custom/ExternalLink.d.ts.map +1 -0
  57. package/dist/components/custom/ExternalLink.js +26 -0
  58. package/dist/components/custom/ExternalLink.js.map +1 -0
  59. package/dist/components/custom/FilterDropdown.d.ts +21 -0
  60. package/dist/components/custom/FilterDropdown.d.ts.map +1 -0
  61. package/dist/components/custom/FilterDropdown.js +81 -0
  62. package/dist/components/custom/FilterDropdown.js.map +1 -0
  63. package/dist/components/custom/Flex.d.ts +15 -0
  64. package/dist/components/custom/Flex.d.ts.map +1 -0
  65. package/dist/components/custom/Flex.js +19 -0
  66. package/dist/components/custom/Flex.js.map +1 -0
  67. package/dist/components/custom/Form.d.ts +39 -0
  68. package/dist/components/custom/Form.d.ts.map +1 -0
  69. package/dist/components/custom/Form.js +91 -0
  70. package/dist/components/custom/Form.js.map +1 -0
  71. package/dist/components/custom/Grid.d.ts +16 -0
  72. package/dist/components/custom/Grid.d.ts.map +1 -0
  73. package/dist/components/custom/Grid.js +29 -0
  74. package/dist/components/custom/Grid.js.map +1 -0
  75. package/dist/components/custom/Icon.d.ts +92 -0
  76. package/dist/components/custom/Icon.d.ts.map +1 -0
  77. package/dist/components/custom/Icon.js +77 -0
  78. package/dist/components/custom/Icon.js.map +1 -0
  79. package/dist/components/custom/Input.d.ts +9 -0
  80. package/dist/components/custom/Input.d.ts.map +1 -0
  81. package/dist/components/custom/Input.js +41 -0
  82. package/dist/components/custom/Input.js.map +1 -0
  83. package/dist/components/custom/KpiDisplay.d.ts +11 -0
  84. package/dist/components/custom/KpiDisplay.d.ts.map +1 -0
  85. package/dist/components/custom/KpiDisplay.js +10 -0
  86. package/dist/components/custom/KpiDisplay.js.map +1 -0
  87. package/dist/components/custom/LabelledProgress.d.ts +11 -0
  88. package/dist/components/custom/LabelledProgress.d.ts.map +1 -0
  89. package/dist/components/custom/LabelledProgress.js +44 -0
  90. package/dist/components/custom/LabelledProgress.js.map +1 -0
  91. package/dist/components/custom/Markdown.d.ts +9 -0
  92. package/dist/components/custom/Markdown.d.ts.map +1 -0
  93. package/dist/components/custom/Markdown.js +36 -0
  94. package/dist/components/custom/Markdown.js.map +1 -0
  95. package/dist/components/custom/Modal.d.ts +50 -0
  96. package/dist/components/custom/Modal.d.ts.map +1 -0
  97. package/dist/components/custom/Modal.js +83 -0
  98. package/dist/components/custom/Modal.js.map +1 -0
  99. package/dist/components/custom/MonospaceBlock.d.ts +9 -0
  100. package/dist/components/custom/MonospaceBlock.d.ts.map +1 -0
  101. package/dist/components/custom/MonospaceBlock.js +23 -0
  102. package/dist/components/custom/MonospaceBlock.js.map +1 -0
  103. package/dist/components/custom/PasswordInput.d.ts +9 -0
  104. package/dist/components/custom/PasswordInput.d.ts.map +1 -0
  105. package/dist/components/custom/PasswordInput.js +15 -0
  106. package/dist/components/custom/PasswordInput.js.map +1 -0
  107. package/dist/components/custom/ProgressTicker.d.ts +9 -0
  108. package/dist/components/custom/ProgressTicker.d.ts.map +1 -0
  109. package/dist/components/custom/ProgressTicker.js +32 -0
  110. package/dist/components/custom/ProgressTicker.js.map +1 -0
  111. package/dist/components/custom/RadioGroup.d.ts +2178 -0
  112. package/dist/components/custom/RadioGroup.d.ts.map +1 -0
  113. package/dist/components/custom/RadioGroup.js +128 -0
  114. package/dist/components/custom/RadioGroup.js.map +1 -0
  115. package/dist/components/custom/Select.d.ts +20 -0
  116. package/dist/components/custom/Select.d.ts.map +1 -0
  117. package/dist/components/custom/Select.js +10 -0
  118. package/dist/components/custom/Select.js.map +1 -0
  119. package/dist/components/custom/SelectCards.d.ts +16 -0
  120. package/dist/components/custom/SelectCards.d.ts.map +1 -0
  121. package/dist/components/custom/SelectCards.js +25 -0
  122. package/dist/components/custom/SelectCards.js.map +1 -0
  123. package/dist/components/custom/Slider.d.ts +2189 -0
  124. package/dist/components/custom/Slider.d.ts.map +1 -0
  125. package/dist/components/custom/Slider.js +12 -0
  126. package/dist/components/custom/Slider.js.map +1 -0
  127. package/dist/components/custom/SourceCode.d.ts +18 -0
  128. package/dist/components/custom/SourceCode.d.ts.map +1 -0
  129. package/dist/components/custom/SourceCode.js +29 -0
  130. package/dist/components/custom/SourceCode.js.map +1 -0
  131. package/dist/components/custom/StatusBar.d.ts +8 -0
  132. package/dist/components/custom/StatusBar.d.ts.map +1 -0
  133. package/dist/components/custom/StatusBar.js +10 -0
  134. package/dist/components/custom/StatusBar.js.map +1 -0
  135. package/dist/components/custom/Stepper.d.ts +20 -0
  136. package/dist/components/custom/Stepper.d.ts.map +1 -0
  137. package/dist/components/custom/Stepper.js +33 -0
  138. package/dist/components/custom/Stepper.js.map +1 -0
  139. package/dist/components/custom/Switch.d.ts +12 -0
  140. package/dist/components/custom/Switch.d.ts.map +1 -0
  141. package/dist/components/custom/Switch.js +9 -0
  142. package/dist/components/custom/Switch.js.map +1 -0
  143. package/dist/components/custom/Table.d.ts +18 -0
  144. package/dist/components/custom/Table.d.ts.map +1 -0
  145. package/dist/components/custom/Table.js +29 -0
  146. package/dist/components/custom/Table.js.map +1 -0
  147. package/dist/components/custom/Text.d.ts +143 -0
  148. package/dist/components/custom/Text.d.ts.map +1 -0
  149. package/dist/components/custom/Text.js +84 -0
  150. package/dist/components/custom/Text.js.map +1 -0
  151. package/dist/components/custom/TimePicker.d.ts +15 -0
  152. package/dist/components/custom/TimePicker.d.ts.map +1 -0
  153. package/dist/components/custom/TimePicker.js +37 -0
  154. package/dist/components/custom/TimePicker.js.map +1 -0
  155. package/dist/components/custom/Toast.d.ts +18 -0
  156. package/dist/components/custom/Toast.d.ts.map +1 -0
  157. package/dist/components/custom/Toast.js +26 -0
  158. package/dist/components/custom/Toast.js.map +1 -0
  159. package/dist/components/custom/Tooltip.d.ts +10 -0
  160. package/dist/components/custom/Tooltip.d.ts.map +1 -0
  161. package/dist/components/custom/Tooltip.js +16 -0
  162. package/dist/components/custom/Tooltip.js.map +1 -0
  163. package/dist/components/custom/TurnstileWidget.d.ts +26 -0
  164. package/dist/components/custom/TurnstileWidget.d.ts.map +1 -0
  165. package/dist/components/custom/TurnstileWidget.js +37 -0
  166. package/dist/components/custom/TurnstileWidget.js.map +1 -0
  167. package/dist/components/custom/VideoPlayer.d.ts +71 -0
  168. package/dist/components/custom/VideoPlayer.d.ts.map +1 -0
  169. package/dist/components/custom/VideoPlayer.js +287 -0
  170. package/dist/components/custom/VideoPlayer.js.map +1 -0
  171. package/dist/components/custom/index.d.ts +43 -0
  172. package/dist/components/custom/index.d.ts.map +1 -0
  173. package/dist/components/custom/index.js +43 -0
  174. package/dist/components/custom/index.js.map +1 -0
  175. package/dist/components/shadow-panda/Accordion.d.ts +14 -0
  176. package/dist/components/shadow-panda/Accordion.d.ts.map +1 -0
  177. package/dist/components/shadow-panda/Accordion.js +23 -0
  178. package/dist/components/shadow-panda/Accordion.js.map +1 -0
  179. package/dist/components/shadow-panda/Avatar.d.ts +11 -0
  180. package/dist/components/shadow-panda/Avatar.d.ts.map +1 -0
  181. package/dist/components/shadow-panda/Avatar.js +14 -0
  182. package/dist/components/shadow-panda/Avatar.js.map +1 -0
  183. package/dist/components/shadow-panda/DropdownMenu.d.ts +42 -0
  184. package/dist/components/shadow-panda/DropdownMenu.d.ts.map +1 -0
  185. package/dist/components/shadow-panda/DropdownMenu.js +56 -0
  186. package/dist/components/shadow-panda/DropdownMenu.js.map +1 -0
  187. package/dist/components/shadow-panda/Form.d.ts +22 -0
  188. package/dist/components/shadow-panda/Form.d.ts.map +1 -0
  189. package/dist/components/shadow-panda/Form.js +72 -0
  190. package/dist/components/shadow-panda/Form.js.map +1 -0
  191. package/dist/components/shadow-panda/Progress.d.ts +4 -0
  192. package/dist/components/shadow-panda/Progress.d.ts.map +1 -0
  193. package/dist/components/shadow-panda/Progress.js +14 -0
  194. package/dist/components/shadow-panda/Progress.js.map +1 -0
  195. package/dist/components/shadow-panda/Separator.d.ts +4 -0
  196. package/dist/components/shadow-panda/Separator.d.ts.map +1 -0
  197. package/dist/components/shadow-panda/Separator.js +11 -0
  198. package/dist/components/shadow-panda/Separator.js.map +1 -0
  199. package/dist/components/shadow-panda/Skeleton.d.ts +2 -0
  200. package/dist/components/shadow-panda/Skeleton.d.ts.map +1 -0
  201. package/dist/components/shadow-panda/Skeleton.js +4 -0
  202. package/dist/components/shadow-panda/Skeleton.js.map +1 -0
  203. package/dist/components/shadow-panda/Table.d.ts +11 -0
  204. package/dist/components/shadow-panda/Table.d.ts.map +1 -0
  205. package/dist/components/shadow-panda/Table.js +24 -0
  206. package/dist/components/shadow-panda/Table.js.map +1 -0
  207. package/dist/components/shadow-panda/Tabs.d.ts +13 -0
  208. package/dist/components/shadow-panda/Tabs.d.ts.map +1 -0
  209. package/dist/components/shadow-panda/Tabs.js +16 -0
  210. package/dist/components/shadow-panda/Tabs.js.map +1 -0
  211. package/dist/components/shadow-panda/Textarea.d.ts +9 -0
  212. package/dist/components/shadow-panda/Textarea.d.ts.map +1 -0
  213. package/dist/components/shadow-panda/Textarea.js +18 -0
  214. package/dist/components/shadow-panda/Textarea.js.map +1 -0
  215. package/dist/components/shadow-panda/Toaster.d.ts +2 -0
  216. package/dist/components/shadow-panda/Toaster.d.ts.map +1 -0
  217. package/dist/components/shadow-panda/Toaster.js +15 -0
  218. package/dist/components/shadow-panda/Toaster.js.map +1 -0
  219. package/dist/components/shadow-panda/Wrap.d.ts +2 -0
  220. package/dist/components/shadow-panda/Wrap.d.ts.map +1 -0
  221. package/dist/components/shadow-panda/Wrap.js +2 -0
  222. package/dist/components/shadow-panda/Wrap.js.map +1 -0
  223. package/dist/components/shadow-panda/_Alert.d.ts +6 -0
  224. package/dist/components/shadow-panda/_Alert.d.ts.map +1 -0
  225. package/dist/components/shadow-panda/_Alert.js +9 -0
  226. package/dist/components/shadow-panda/_Alert.js.map +1 -0
  227. package/dist/components/shadow-panda/_Badge.d.ts +4 -0
  228. package/dist/components/shadow-panda/_Badge.d.ts.map +1 -0
  229. package/dist/components/shadow-panda/_Badge.js +4 -0
  230. package/dist/components/shadow-panda/_Badge.js.map +1 -0
  231. package/dist/components/shadow-panda/_Button.d.ts +6 -0
  232. package/dist/components/shadow-panda/_Button.d.ts.map +1 -0
  233. package/dist/components/shadow-panda/_Button.js +12 -0
  234. package/dist/components/shadow-panda/_Button.js.map +1 -0
  235. package/dist/components/shadow-panda/_Card.d.ts +7 -0
  236. package/dist/components/shadow-panda/_Card.d.ts.map +1 -0
  237. package/dist/components/shadow-panda/_Card.js +14 -0
  238. package/dist/components/shadow-panda/_Card.js.map +1 -0
  239. package/dist/components/shadow-panda/_Checkbox.d.ts +4 -0
  240. package/dist/components/shadow-panda/_Checkbox.d.ts.map +1 -0
  241. package/dist/components/shadow-panda/_Checkbox.js +16 -0
  242. package/dist/components/shadow-panda/_Checkbox.js.map +1 -0
  243. package/dist/components/shadow-panda/_Command.d.ts +80 -0
  244. package/dist/components/shadow-panda/_Command.d.ts.map +1 -0
  245. package/dist/components/shadow-panda/_Command.js +38 -0
  246. package/dist/components/shadow-panda/_Command.js.map +1 -0
  247. package/dist/components/shadow-panda/_Dialog.d.ts +20 -0
  248. package/dist/components/shadow-panda/_Dialog.d.ts.map +1 -0
  249. package/dist/components/shadow-panda/_Dialog.js +27 -0
  250. package/dist/components/shadow-panda/_Dialog.js.map +1 -0
  251. package/dist/components/shadow-panda/_Input.d.ts +4 -0
  252. package/dist/components/shadow-panda/_Input.d.ts.map +1 -0
  253. package/dist/components/shadow-panda/_Input.js +4 -0
  254. package/dist/components/shadow-panda/_Input.js.map +1 -0
  255. package/dist/components/shadow-panda/_Label.d.ts +4 -0
  256. package/dist/components/shadow-panda/_Label.d.ts.map +1 -0
  257. package/dist/components/shadow-panda/_Label.js +4 -0
  258. package/dist/components/shadow-panda/_Label.js.map +1 -0
  259. package/dist/components/shadow-panda/_RadioGroup.d.ts +10 -0
  260. package/dist/components/shadow-panda/_RadioGroup.d.ts.map +1 -0
  261. package/dist/components/shadow-panda/_RadioGroup.js +20 -0
  262. package/dist/components/shadow-panda/_RadioGroup.js.map +1 -0
  263. package/dist/components/shadow-panda/_Select.d.ts +22 -0
  264. package/dist/components/shadow-panda/_Select.d.ts.map +1 -0
  265. package/dist/components/shadow-panda/_Select.js +35 -0
  266. package/dist/components/shadow-panda/_Select.js.map +1 -0
  267. package/dist/components/shadow-panda/_Slider.d.ts +12 -0
  268. package/dist/components/shadow-panda/_Slider.d.ts.map +1 -0
  269. package/dist/components/shadow-panda/_Slider.js +41 -0
  270. package/dist/components/shadow-panda/_Slider.js.map +1 -0
  271. package/dist/components/shadow-panda/_Toast.d.ts +7 -0
  272. package/dist/components/shadow-panda/_Toast.d.ts.map +1 -0
  273. package/dist/components/shadow-panda/_Toast.js +9 -0
  274. package/dist/components/shadow-panda/_Toast.js.map +1 -0
  275. package/dist/components/shadow-panda/_Tooltip.d.ts +12 -0
  276. package/dist/components/shadow-panda/_Tooltip.d.ts.map +1 -0
  277. package/dist/components/shadow-panda/_Tooltip.js +16 -0
  278. package/dist/components/shadow-panda/_Tooltip.js.map +1 -0
  279. package/dist/components/shadow-panda/index.d.ts +12 -0
  280. package/dist/components/shadow-panda/index.d.ts.map +1 -0
  281. package/dist/components/shadow-panda/index.js +12 -0
  282. package/dist/components/shadow-panda/index.js.map +1 -0
  283. package/dist/components/skeletons/Button.d.ts +3 -0
  284. package/dist/components/skeletons/Button.d.ts.map +1 -0
  285. package/dist/components/skeletons/Button.js +13 -0
  286. package/dist/components/skeletons/Button.js.map +1 -0
  287. package/dist/components/skeletons/Grid.d.ts +30 -0
  288. package/dist/components/skeletons/Grid.d.ts.map +1 -0
  289. package/dist/components/skeletons/Grid.js +29 -0
  290. package/dist/components/skeletons/Grid.js.map +1 -0
  291. package/dist/components/skeletons/Input.d.ts +3 -0
  292. package/dist/components/skeletons/Input.d.ts.map +1 -0
  293. package/dist/components/skeletons/Input.js +13 -0
  294. package/dist/components/skeletons/Input.js.map +1 -0
  295. package/dist/components/skeletons/Table.d.ts +7 -0
  296. package/dist/components/skeletons/Table.d.ts.map +1 -0
  297. package/dist/components/skeletons/Table.js +16 -0
  298. package/dist/components/skeletons/Table.js.map +1 -0
  299. package/dist/components/skeletons/Textarea.d.ts +3 -0
  300. package/dist/components/skeletons/Textarea.d.ts.map +1 -0
  301. package/dist/components/skeletons/Textarea.js +13 -0
  302. package/dist/components/skeletons/Textarea.js.map +1 -0
  303. package/dist/components/skeletons/index.d.ts +6 -0
  304. package/dist/components/skeletons/index.d.ts.map +1 -0
  305. package/dist/components/skeletons/index.js +6 -0
  306. package/dist/components/skeletons/index.js.map +1 -0
  307. package/dist/helpers.d.ts +38 -0
  308. package/dist/helpers.d.ts.map +1 -0
  309. package/dist/helpers.js +20 -0
  310. package/dist/helpers.js.map +1 -0
  311. package/dist/hooks/copy.d.ts +8 -0
  312. package/dist/hooks/copy.d.ts.map +1 -0
  313. package/dist/hooks/copy.js +14 -0
  314. package/dist/hooks/copy.js.map +1 -0
  315. package/dist/hooks/dropzone.d.ts +16 -0
  316. package/dist/hooks/dropzone.d.ts.map +1 -0
  317. package/dist/hooks/dropzone.js +23 -0
  318. package/dist/hooks/dropzone.js.map +1 -0
  319. package/dist/hooks/index.d.ts +6 -0
  320. package/dist/hooks/index.d.ts.map +1 -0
  321. package/dist/hooks/index.js +6 -0
  322. package/dist/hooks/index.js.map +1 -0
  323. package/dist/hooks/modal.d.ts +25 -0
  324. package/dist/hooks/modal.d.ts.map +1 -0
  325. package/dist/hooks/modal.js +50 -0
  326. package/dist/hooks/modal.js.map +1 -0
  327. package/dist/hooks/use-toast.d.ts +51 -0
  328. package/dist/hooks/use-toast.d.ts.map +1 -0
  329. package/dist/hooks/use-toast.js +153 -0
  330. package/dist/hooks/use-toast.js.map +1 -0
  331. package/dist/hooks/use-translations.d.ts +10 -0
  332. package/dist/hooks/use-translations.d.ts.map +1 -0
  333. package/dist/hooks/use-translations.js +14 -0
  334. package/dist/hooks/use-translations.js.map +1 -0
  335. package/dist/hooks/use-window-width.d.ts +2 -0
  336. package/dist/hooks/use-window-width.d.ts.map +1 -0
  337. package/dist/hooks/use-window-width.js +11 -0
  338. package/dist/hooks/use-window-width.js.map +1 -0
  339. package/dist/icons/index.d.ts +6 -0
  340. package/dist/icons/index.d.ts.map +1 -0
  341. package/dist/icons/index.js +5 -0
  342. package/dist/icons/index.js.map +1 -0
  343. package/dist/icons/react-icons.d.ts +12 -0
  344. package/dist/icons/react-icons.d.ts.map +1 -0
  345. package/dist/icons/react-icons.js +12 -0
  346. package/dist/icons/react-icons.js.map +1 -0
  347. package/dist/icons/style-provider.d.ts +3 -0
  348. package/dist/icons/style-provider.d.ts.map +1 -0
  349. package/dist/icons/style-provider.js +10 -0
  350. package/dist/icons/style-provider.js.map +1 -0
  351. package/dist/icons/svg/AccessDenied.d.ts +3 -0
  352. package/dist/icons/svg/AccessDenied.d.ts.map +1 -0
  353. package/dist/icons/svg/AccessDenied.js +6 -0
  354. package/dist/icons/svg/AccessDenied.js.map +1 -0
  355. package/dist/icons/svg/Empty.d.ts +3 -0
  356. package/dist/icons/svg/Empty.d.ts.map +1 -0
  357. package/dist/icons/svg/Empty.js +6 -0
  358. package/dist/icons/svg/Empty.js.map +1 -0
  359. package/dist/icons/svg/Error.d.ts +5 -0
  360. package/dist/icons/svg/Error.d.ts.map +1 -0
  361. package/dist/icons/svg/Error.js +6 -0
  362. package/dist/icons/svg/Error.js.map +1 -0
  363. package/dist/icons/svg/Logo.d.ts +9 -0
  364. package/dist/icons/svg/Logo.d.ts.map +1 -0
  365. package/dist/icons/svg/Logo.js +7 -0
  366. package/dist/icons/svg/Logo.js.map +1 -0
  367. package/dist/icons/svg/index.d.ts +5 -0
  368. package/dist/icons/svg/index.d.ts.map +1 -0
  369. package/dist/icons/svg/index.js +5 -0
  370. package/dist/icons/svg/index.js.map +1 -0
  371. package/dist/index.css +2 -0
  372. package/dist/index.d.ts +9 -0
  373. package/dist/index.d.ts.map +1 -0
  374. package/dist/index.js +9 -0
  375. package/dist/index.js.map +1 -0
  376. package/dist/panda.buildinfo.json +371 -0
  377. package/dist/panda.css +3400 -0
  378. package/dist/panda.d.ts +2 -0
  379. package/dist/panda.d.ts.map +1 -0
  380. package/dist/panda.js +289 -0
  381. package/dist/panda.js.map +1 -0
  382. package/dist/recipes/colors.d.ts +44 -0
  383. package/dist/recipes/colors.d.ts.map +1 -0
  384. package/dist/recipes/colors.js +228 -0
  385. package/dist/recipes/colors.js.map +1 -0
  386. package/dist/recipes/hover.d.ts +30 -0
  387. package/dist/recipes/hover.d.ts.map +1 -0
  388. package/dist/recipes/hover.js +177 -0
  389. package/dist/recipes/hover.js.map +1 -0
  390. package/dist/recipes/index.d.ts +3 -0
  391. package/dist/recipes/index.d.ts.map +1 -0
  392. package/dist/recipes/index.js +3 -0
  393. package/dist/recipes/index.js.map +1 -0
  394. package/dist/styled-system/css/conditions.mjs +34 -0
  395. package/dist/styled-system/css/css.d.mts +9 -0
  396. package/dist/styled-system/css/css.mjs +44 -0
  397. package/dist/styled-system/css/cva.d.mts +6 -0
  398. package/dist/styled-system/css/cva.mjs +85 -0
  399. package/dist/styled-system/css/cx.d.mts +5 -0
  400. package/dist/styled-system/css/cx.mjs +15 -0
  401. package/dist/styled-system/css/index.d.mts +5 -0
  402. package/dist/styled-system/css/index.mjs +4 -0
  403. package/dist/styled-system/css/sva.d.mts +4 -0
  404. package/dist/styled-system/css/sva.mjs +35 -0
  405. package/dist/styled-system/helpers.mjs +300 -0
  406. package/dist/styled-system/jsx/aspect-ratio.d.mts +10 -0
  407. package/dist/styled-system/jsx/aspect-ratio.mjs +14 -0
  408. package/dist/styled-system/jsx/bleed.d.mts +10 -0
  409. package/dist/styled-system/jsx/bleed.mjs +14 -0
  410. package/dist/styled-system/jsx/box.d.mts +10 -0
  411. package/dist/styled-system/jsx/box.mjs +14 -0
  412. package/dist/styled-system/jsx/center.d.mts +10 -0
  413. package/dist/styled-system/jsx/center.mjs +14 -0
  414. package/dist/styled-system/jsx/circle.d.mts +10 -0
  415. package/dist/styled-system/jsx/circle.mjs +14 -0
  416. package/dist/styled-system/jsx/container.d.mts +10 -0
  417. package/dist/styled-system/jsx/container.mjs +14 -0
  418. package/dist/styled-system/jsx/divider.d.mts +10 -0
  419. package/dist/styled-system/jsx/divider.mjs +14 -0
  420. package/dist/styled-system/jsx/factory-helper.mjs +22 -0
  421. package/dist/styled-system/jsx/factory.d.mts +3 -0
  422. package/dist/styled-system/jsx/factory.mjs +79 -0
  423. package/dist/styled-system/jsx/flex.d.mts +10 -0
  424. package/dist/styled-system/jsx/flex.mjs +14 -0
  425. package/dist/styled-system/jsx/float.d.mts +10 -0
  426. package/dist/styled-system/jsx/float.mjs +14 -0
  427. package/dist/styled-system/jsx/grid-item.d.mts +10 -0
  428. package/dist/styled-system/jsx/grid-item.mjs +14 -0
  429. package/dist/styled-system/jsx/grid.d.mts +10 -0
  430. package/dist/styled-system/jsx/grid.mjs +14 -0
  431. package/dist/styled-system/jsx/hstack.d.mts +10 -0
  432. package/dist/styled-system/jsx/hstack.mjs +14 -0
  433. package/dist/styled-system/jsx/index.d.mts +24 -0
  434. package/dist/styled-system/jsx/index.mjs +22 -0
  435. package/dist/styled-system/jsx/is-valid-prop.d.mts +5 -0
  436. package/dist/styled-system/jsx/is-valid-prop.mjs +17 -0
  437. package/dist/styled-system/jsx/link-box.d.mts +10 -0
  438. package/dist/styled-system/jsx/link-box.mjs +14 -0
  439. package/dist/styled-system/jsx/link-overlay.d.mts +10 -0
  440. package/dist/styled-system/jsx/link-overlay.mjs +14 -0
  441. package/dist/styled-system/jsx/spacer.d.mts +10 -0
  442. package/dist/styled-system/jsx/spacer.mjs +14 -0
  443. package/dist/styled-system/jsx/square.d.mts +10 -0
  444. package/dist/styled-system/jsx/square.mjs +14 -0
  445. package/dist/styled-system/jsx/stack.d.mts +10 -0
  446. package/dist/styled-system/jsx/stack.mjs +14 -0
  447. package/dist/styled-system/jsx/visually-hidden.d.mts +10 -0
  448. package/dist/styled-system/jsx/visually-hidden.mjs +14 -0
  449. package/dist/styled-system/jsx/vstack.d.mts +10 -0
  450. package/dist/styled-system/jsx/vstack.mjs +14 -0
  451. package/dist/styled-system/jsx/wrap.d.mts +10 -0
  452. package/dist/styled-system/jsx/wrap.mjs +14 -0
  453. package/dist/styled-system/patterns/aspect-ratio.d.mts +21 -0
  454. package/dist/styled-system/patterns/aspect-ratio.mjs +35 -0
  455. package/dist/styled-system/patterns/bleed.d.mts +22 -0
  456. package/dist/styled-system/patterns/bleed.mjs +19 -0
  457. package/dist/styled-system/patterns/box.d.mts +21 -0
  458. package/dist/styled-system/patterns/box.mjs +12 -0
  459. package/dist/styled-system/patterns/center.d.mts +21 -0
  460. package/dist/styled-system/patterns/center.mjs +18 -0
  461. package/dist/styled-system/patterns/circle.d.mts +21 -0
  462. package/dist/styled-system/patterns/circle.mjs +22 -0
  463. package/dist/styled-system/patterns/container.d.mts +21 -0
  464. package/dist/styled-system/patterns/container.mjs +18 -0
  465. package/dist/styled-system/patterns/divider.d.mts +23 -0
  466. package/dist/styled-system/patterns/divider.mjs +21 -0
  467. package/dist/styled-system/patterns/flex.d.mts +27 -0
  468. package/dist/styled-system/patterns/flex.mjs +23 -0
  469. package/dist/styled-system/patterns/float.d.mts +24 -0
  470. package/dist/styled-system/patterns/float.mjs +45 -0
  471. package/dist/styled-system/patterns/grid-item.d.mts +26 -0
  472. package/dist/styled-system/patterns/grid-item.mjs +22 -0
  473. package/dist/styled-system/patterns/grid.d.mts +25 -0
  474. package/dist/styled-system/patterns/grid.mjs +22 -0
  475. package/dist/styled-system/patterns/hstack.d.mts +22 -0
  476. package/dist/styled-system/patterns/hstack.mjs +20 -0
  477. package/dist/styled-system/patterns/index.d.mts +21 -0
  478. package/dist/styled-system/patterns/index.mjs +20 -0
  479. package/dist/styled-system/patterns/link-box.d.mts +21 -0
  480. package/dist/styled-system/patterns/link-box.mjs +19 -0
  481. package/dist/styled-system/patterns/link-overlay.d.mts +21 -0
  482. package/dist/styled-system/patterns/link-overlay.mjs +24 -0
  483. package/dist/styled-system/patterns/spacer.d.mts +21 -0
  484. package/dist/styled-system/patterns/spacer.mjs +18 -0
  485. package/dist/styled-system/patterns/square.d.mts +21 -0
  486. package/dist/styled-system/patterns/square.mjs +21 -0
  487. package/dist/styled-system/patterns/stack.d.mts +24 -0
  488. package/dist/styled-system/patterns/stack.mjs +20 -0
  489. package/dist/styled-system/patterns/visually-hidden.d.mts +21 -0
  490. package/dist/styled-system/patterns/visually-hidden.mjs +15 -0
  491. package/dist/styled-system/patterns/vstack.d.mts +22 -0
  492. package/dist/styled-system/patterns/vstack.mjs +20 -0
  493. package/dist/styled-system/patterns/wrap.d.mts +25 -0
  494. package/dist/styled-system/patterns/wrap.mjs +22 -0
  495. package/dist/styled-system/recipes/accordion.d.mts +27 -0
  496. package/dist/styled-system/recipes/accordion.mjs +66 -0
  497. package/dist/styled-system/recipes/alert-description.d.mts +27 -0
  498. package/dist/styled-system/recipes/alert-description.mjs +22 -0
  499. package/dist/styled-system/recipes/alert-dialog.d.mts +27 -0
  500. package/dist/styled-system/recipes/alert-dialog.mjs +114 -0
  501. package/dist/styled-system/recipes/alert-title.d.mts +27 -0
  502. package/dist/styled-system/recipes/alert-title.mjs +22 -0
  503. package/dist/styled-system/recipes/alert.d.mts +27 -0
  504. package/dist/styled-system/recipes/alert.mjs +29 -0
  505. package/dist/styled-system/recipes/avatar.d.mts +27 -0
  506. package/dist/styled-system/recipes/avatar.mjs +50 -0
  507. package/dist/styled-system/recipes/badge.d.mts +27 -0
  508. package/dist/styled-system/recipes/badge.mjs +31 -0
  509. package/dist/styled-system/recipes/blockquote.d.mts +27 -0
  510. package/dist/styled-system/recipes/blockquote.mjs +22 -0
  511. package/dist/styled-system/recipes/button.d.mts +28 -0
  512. package/dist/styled-system/recipes/button.mjs +40 -0
  513. package/dist/styled-system/recipes/calendar.d.mts +27 -0
  514. package/dist/styled-system/recipes/calendar.mjs +210 -0
  515. package/dist/styled-system/recipes/card-content.d.mts +27 -0
  516. package/dist/styled-system/recipes/card-content.mjs +22 -0
  517. package/dist/styled-system/recipes/card-description.d.mts +27 -0
  518. package/dist/styled-system/recipes/card-description.mjs +22 -0
  519. package/dist/styled-system/recipes/card-footer.d.mts +27 -0
  520. package/dist/styled-system/recipes/card-footer.mjs +22 -0
  521. package/dist/styled-system/recipes/card-header.d.mts +27 -0
  522. package/dist/styled-system/recipes/card-header.mjs +22 -0
  523. package/dist/styled-system/recipes/card-title.d.mts +27 -0
  524. package/dist/styled-system/recipes/card-title.mjs +22 -0
  525. package/dist/styled-system/recipes/card.d.mts +27 -0
  526. package/dist/styled-system/recipes/card.mjs +22 -0
  527. package/dist/styled-system/recipes/checkbox.d.mts +27 -0
  528. package/dist/styled-system/recipes/checkbox.mjs +42 -0
  529. package/dist/styled-system/recipes/collapsible.d.mts +27 -0
  530. package/dist/styled-system/recipes/collapsible.mjs +50 -0
  531. package/dist/styled-system/recipes/command-dialog.d.mts +27 -0
  532. package/dist/styled-system/recipes/command-dialog.mjs +42 -0
  533. package/dist/styled-system/recipes/command.d.mts +27 -0
  534. package/dist/styled-system/recipes/command.mjs +106 -0
  535. package/dist/styled-system/recipes/context-menu.d.mts +27 -0
  536. package/dist/styled-system/recipes/context-menu.mjs +162 -0
  537. package/dist/styled-system/recipes/create-recipe.d.mts +1 -0
  538. package/dist/styled-system/recipes/create-recipe.mjs +79 -0
  539. package/dist/styled-system/recipes/dialog.d.mts +27 -0
  540. package/dist/styled-system/recipes/dialog.mjs +106 -0
  541. package/dist/styled-system/recipes/dropdown-menu.d.mts +27 -0
  542. package/dist/styled-system/recipes/dropdown-menu.mjs +154 -0
  543. package/dist/styled-system/recipes/form-control.d.mts +27 -0
  544. package/dist/styled-system/recipes/form-control.mjs +22 -0
  545. package/dist/styled-system/recipes/form-description.d.mts +27 -0
  546. package/dist/styled-system/recipes/form-description.mjs +22 -0
  547. package/dist/styled-system/recipes/form-item.d.mts +27 -0
  548. package/dist/styled-system/recipes/form-item.mjs +22 -0
  549. package/dist/styled-system/recipes/form-label.d.mts +27 -0
  550. package/dist/styled-system/recipes/form-label.mjs +22 -0
  551. package/dist/styled-system/recipes/form-message.d.mts +27 -0
  552. package/dist/styled-system/recipes/form-message.mjs +22 -0
  553. package/dist/styled-system/recipes/h1.d.mts +27 -0
  554. package/dist/styled-system/recipes/h1.mjs +22 -0
  555. package/dist/styled-system/recipes/h2.d.mts +27 -0
  556. package/dist/styled-system/recipes/h2.mjs +22 -0
  557. package/dist/styled-system/recipes/h3.d.mts +27 -0
  558. package/dist/styled-system/recipes/h3.mjs +22 -0
  559. package/dist/styled-system/recipes/h4.d.mts +27 -0
  560. package/dist/styled-system/recipes/h4.mjs +22 -0
  561. package/dist/styled-system/recipes/hover-card.d.mts +27 -0
  562. package/dist/styled-system/recipes/hover-card.mjs +50 -0
  563. package/dist/styled-system/recipes/icon.d.mts +31 -0
  564. package/dist/styled-system/recipes/icon.mjs +52 -0
  565. package/dist/styled-system/recipes/index.d.mts +74 -0
  566. package/dist/styled-system/recipes/index.mjs +73 -0
  567. package/dist/styled-system/recipes/inline-code.d.mts +27 -0
  568. package/dist/styled-system/recipes/inline-code.mjs +22 -0
  569. package/dist/styled-system/recipes/input.d.mts +27 -0
  570. package/dist/styled-system/recipes/input.mjs +22 -0
  571. package/dist/styled-system/recipes/label.d.mts +27 -0
  572. package/dist/styled-system/recipes/label.mjs +22 -0
  573. package/dist/styled-system/recipes/large.d.mts +27 -0
  574. package/dist/styled-system/recipes/large.mjs +22 -0
  575. package/dist/styled-system/recipes/lead.d.mts +27 -0
  576. package/dist/styled-system/recipes/lead.mjs +22 -0
  577. package/dist/styled-system/recipes/link.d.mts +27 -0
  578. package/dist/styled-system/recipes/link.mjs +22 -0
  579. package/dist/styled-system/recipes/list.d.mts +27 -0
  580. package/dist/styled-system/recipes/list.mjs +22 -0
  581. package/dist/styled-system/recipes/menubar.d.mts +27 -0
  582. package/dist/styled-system/recipes/menubar.mjs +162 -0
  583. package/dist/styled-system/recipes/muted.d.mts +27 -0
  584. package/dist/styled-system/recipes/muted.mjs +22 -0
  585. package/dist/styled-system/recipes/navigation-menu.d.mts +27 -0
  586. package/dist/styled-system/recipes/navigation-menu.mjs +98 -0
  587. package/dist/styled-system/recipes/p.d.mts +27 -0
  588. package/dist/styled-system/recipes/p.mjs +22 -0
  589. package/dist/styled-system/recipes/popover.d.mts +27 -0
  590. package/dist/styled-system/recipes/popover.mjs +58 -0
  591. package/dist/styled-system/recipes/progress.d.mts +27 -0
  592. package/dist/styled-system/recipes/progress.mjs +42 -0
  593. package/dist/styled-system/recipes/radio-group.d.mts +27 -0
  594. package/dist/styled-system/recipes/radio-group.mjs +58 -0
  595. package/dist/styled-system/recipes/scroll-area.d.mts +27 -0
  596. package/dist/styled-system/recipes/scroll-area.mjs +66 -0
  597. package/dist/styled-system/recipes/select.d.mts +27 -0
  598. package/dist/styled-system/recipes/select.mjs +106 -0
  599. package/dist/styled-system/recipes/separator.d.mts +27 -0
  600. package/dist/styled-system/recipes/separator.mjs +29 -0
  601. package/dist/styled-system/recipes/sheet.d.mts +27 -0
  602. package/dist/styled-system/recipes/sheet.mjs +125 -0
  603. package/dist/styled-system/recipes/skeleton.d.mts +27 -0
  604. package/dist/styled-system/recipes/skeleton.mjs +22 -0
  605. package/dist/styled-system/recipes/slider.d.mts +27 -0
  606. package/dist/styled-system/recipes/slider.mjs +58 -0
  607. package/dist/styled-system/recipes/small.d.mts +27 -0
  608. package/dist/styled-system/recipes/small.mjs +22 -0
  609. package/dist/styled-system/recipes/switch-recipe.d.mts +27 -0
  610. package/dist/styled-system/recipes/switch-recipe.mjs +42 -0
  611. package/dist/styled-system/recipes/table-body.d.mts +27 -0
  612. package/dist/styled-system/recipes/table-body.mjs +22 -0
  613. package/dist/styled-system/recipes/table-caption.d.mts +27 -0
  614. package/dist/styled-system/recipes/table-caption.mjs +22 -0
  615. package/dist/styled-system/recipes/table-cell.d.mts +27 -0
  616. package/dist/styled-system/recipes/table-cell.mjs +22 -0
  617. package/dist/styled-system/recipes/table-container.d.mts +27 -0
  618. package/dist/styled-system/recipes/table-container.mjs +22 -0
  619. package/dist/styled-system/recipes/table-footer.d.mts +27 -0
  620. package/dist/styled-system/recipes/table-footer.mjs +22 -0
  621. package/dist/styled-system/recipes/table-head.d.mts +27 -0
  622. package/dist/styled-system/recipes/table-head.mjs +22 -0
  623. package/dist/styled-system/recipes/table-header.d.mts +27 -0
  624. package/dist/styled-system/recipes/table-header.mjs +22 -0
  625. package/dist/styled-system/recipes/table-row.d.mts +27 -0
  626. package/dist/styled-system/recipes/table-row.mjs +22 -0
  627. package/dist/styled-system/recipes/table.d.mts +27 -0
  628. package/dist/styled-system/recipes/table.mjs +22 -0
  629. package/dist/styled-system/recipes/tabs.d.mts +27 -0
  630. package/dist/styled-system/recipes/tabs.mjs +58 -0
  631. package/dist/styled-system/recipes/textarea.d.mts +27 -0
  632. package/dist/styled-system/recipes/textarea.mjs +22 -0
  633. package/dist/styled-system/recipes/toast-viewport.d.mts +27 -0
  634. package/dist/styled-system/recipes/toast-viewport.mjs +22 -0
  635. package/dist/styled-system/recipes/toast.d.mts +27 -0
  636. package/dist/styled-system/recipes/toast.mjs +83 -0
  637. package/dist/styled-system/recipes/toggle.d.mts +28 -0
  638. package/dist/styled-system/recipes/toggle.mjs +35 -0
  639. package/dist/styled-system/recipes/tooltip.d.mts +27 -0
  640. package/dist/styled-system/recipes/tooltip.mjs +50 -0
  641. package/dist/styled-system/recipes/typography-table-container.d.mts +27 -0
  642. package/dist/styled-system/recipes/typography-table-container.mjs +22 -0
  643. package/dist/styled-system/recipes/typography-table.d.mts +27 -0
  644. package/dist/styled-system/recipes/typography-table.mjs +22 -0
  645. package/dist/styled-system/tokens/index.d.mts +9 -0
  646. package/dist/styled-system/tokens/index.mjs +2680 -0
  647. package/dist/styled-system/tokens/tokens.d.mts +63 -0
  648. package/dist/styled-system/types/composition.d.mts +111 -0
  649. package/dist/styled-system/types/conditions.d.mts +268 -0
  650. package/dist/styled-system/types/csstype.d.mts +21298 -0
  651. package/dist/styled-system/types/global.d.mts +19 -0
  652. package/dist/styled-system/types/index.d.mts +8 -0
  653. package/dist/styled-system/types/jsx.d.mts +52 -0
  654. package/dist/styled-system/types/parts.d.mts +8 -0
  655. package/dist/styled-system/types/pattern.d.mts +63 -0
  656. package/dist/styled-system/types/prop-type.d.mts +437 -0
  657. package/dist/styled-system/types/recipe.d.mts +158 -0
  658. package/dist/styled-system/types/selectors.d.mts +59 -0
  659. package/dist/styled-system/types/static-css.d.mts +47 -0
  660. package/dist/styled-system/types/style-props.d.mts +687 -0
  661. package/dist/styled-system/types/system-types.d.mts +93 -0
  662. package/dist/translations/en/common/common.d.ts +7 -0
  663. package/dist/translations/en/common/common.d.ts.map +1 -0
  664. package/dist/translations/en/common/common.js +7 -0
  665. package/dist/translations/en/common/common.js.map +1 -0
  666. package/dist/translations/en/index.d.ts +7 -0
  667. package/dist/translations/en/index.d.ts.map +1 -0
  668. package/dist/translations/en/index.js +6 -0
  669. package/dist/translations/en/index.js.map +1 -0
  670. package/dist/translations/formatters.d.ts +4 -0
  671. package/dist/translations/formatters.d.ts.map +1 -0
  672. package/dist/translations/formatters.js +7 -0
  673. package/dist/translations/formatters.js.map +1 -0
  674. package/dist/translations/i18n-react.d.ts +11 -0
  675. package/dist/translations/i18n-react.d.ts.map +1 -0
  676. package/dist/translations/i18n-react.js +10 -0
  677. package/dist/translations/i18n-react.js.map +1 -0
  678. package/dist/translations/i18n-types.d.ts +25 -0
  679. package/dist/translations/i18n-types.d.ts.map +1 -0
  680. package/dist/translations/i18n-types.js +2 -0
  681. package/dist/translations/i18n-types.js.map +1 -0
  682. package/dist/translations/i18n-util.async.d.ts +6 -0
  683. package/dist/translations/i18n-util.async.d.ts.map +1 -0
  684. package/dist/translations/i18n-util.async.js +16 -0
  685. package/dist/translations/i18n-util.async.js.map +1 -0
  686. package/dist/translations/i18n-util.d.ts +18 -0
  687. package/dist/translations/i18n-util.d.ts.map +1 -0
  688. package/dist/translations/i18n-util.js +18 -0
  689. package/dist/translations/i18n-util.js.map +1 -0
  690. package/dist/translations/i18n-util.sync.d.ts +5 -0
  691. package/dist/translations/i18n-util.sync.d.ts.map +1 -0
  692. package/dist/translations/i18n-util.sync.js +17 -0
  693. package/dist/translations/i18n-util.sync.js.map +1 -0
  694. package/package.json +89 -0
@@ -0,0 +1,18 @@
1
+ import { mapObject } from '../helpers.mjs';
2
+ import { css } from '../css/index.mjs';
3
+
4
+ const containerConfig = {
5
+ transform(props) {
6
+ return {
7
+ position: "relative",
8
+ maxWidth: "8xl",
9
+ mx: "auto",
10
+ px: { base: "4", md: "6", lg: "8" },
11
+ ...props
12
+ };
13
+ }}
14
+
15
+ export const getContainerStyle = (styles = {}) => containerConfig.transform(styles, { map: mapObject })
16
+
17
+ export const container = (styles) => css(getContainerStyle(styles))
18
+ container.raw = getContainerStyle
@@ -0,0 +1,23 @@
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 DividerProperties {
9
+ orientation?: ConditionalValue<"horizontal" | "vertical">
10
+ thickness?: ConditionalValue<Tokens["sizes"] | Properties["borderWidth"]>
11
+ color?: ConditionalValue<Tokens["colors"] | Properties["borderColor"]>
12
+ }
13
+
14
+
15
+ interface DividerStyles extends DividerProperties, DistributiveOmit<SystemStyleObject, keyof DividerProperties > {}
16
+
17
+ interface DividerPatternFn {
18
+ (styles?: DividerStyles): string
19
+ raw: (styles?: DividerStyles) => SystemStyleObject
20
+ }
21
+
22
+
23
+ export declare const divider: DividerPatternFn;
@@ -0,0 +1,21 @@
1
+ import { mapObject } from '../helpers.mjs';
2
+ import { css } from '../css/index.mjs';
3
+
4
+ const dividerConfig = {
5
+ transform(props, { map }) {
6
+ const { orientation = "horizontal", thickness = "1px", color, ...rest } = props;
7
+ return {
8
+ "--thickness": thickness,
9
+ width: map(orientation, (v) => v === "vertical" ? void 0 : "100%"),
10
+ height: map(orientation, (v) => v === "horizontal" ? void 0 : "100%"),
11
+ borderBlockEndWidth: map(orientation, (v) => v === "horizontal" ? "var(--thickness)" : void 0),
12
+ borderInlineEndWidth: map(orientation, (v) => v === "vertical" ? "var(--thickness)" : void 0),
13
+ borderColor: color,
14
+ ...rest
15
+ };
16
+ }}
17
+
18
+ export const getDividerStyle = (styles = {}) => dividerConfig.transform(styles, { map: mapObject })
19
+
20
+ export const divider = (styles) => css(getDividerStyle(styles))
21
+ divider.raw = getDividerStyle
@@ -0,0 +1,27 @@
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 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'>
16
+ }
17
+
18
+
19
+ interface FlexStyles extends FlexProperties, DistributiveOmit<SystemStyleObject, keyof FlexProperties > {}
20
+
21
+ interface FlexPatternFn {
22
+ (styles?: FlexStyles): string
23
+ raw: (styles?: FlexStyles) => SystemStyleObject
24
+ }
25
+
26
+
27
+ export declare const flex: FlexPatternFn;
@@ -0,0 +1,23 @@
1
+ import { mapObject } from '../helpers.mjs';
2
+ import { css } from '../css/index.mjs';
3
+
4
+ const flexConfig = {
5
+ transform(props) {
6
+ const { direction, align, justify, wrap: wrap2, basis, grow, shrink, ...rest } = props;
7
+ return {
8
+ display: "flex",
9
+ flexDirection: direction,
10
+ alignItems: align,
11
+ justifyContent: justify,
12
+ flexWrap: wrap2,
13
+ flexBasis: basis,
14
+ flexGrow: grow,
15
+ flexShrink: shrink,
16
+ ...rest
17
+ };
18
+ }}
19
+
20
+ export const getFlexStyle = (styles = {}) => flexConfig.transform(styles, { map: mapObject })
21
+
22
+ export const flex = (styles) => css(getFlexStyle(styles))
23
+ flex.raw = getFlexStyle
@@ -0,0 +1,24 @@
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 FloatProperties {
9
+ offsetX?: ConditionalValue<Tokens["spacing"] | Properties["left"]>
10
+ offsetY?: ConditionalValue<Tokens["spacing"] | Properties["top"]>
11
+ offset?: ConditionalValue<Tokens["spacing"] | Properties["top"]>
12
+ placement?: ConditionalValue<"bottom-end" | "bottom-start" | "top-end" | "top-start" | "bottom-center" | "top-center" | "middle-center" | "middle-end" | "middle-start">
13
+ }
14
+
15
+
16
+ interface FloatStyles extends FloatProperties, DistributiveOmit<SystemStyleObject, keyof FloatProperties > {}
17
+
18
+ interface FloatPatternFn {
19
+ (styles?: FloatStyles): string
20
+ raw: (styles?: FloatStyles) => SystemStyleObject
21
+ }
22
+
23
+
24
+ export declare const float: FloatPatternFn;
@@ -0,0 +1,45 @@
1
+ import { mapObject } from '../helpers.mjs';
2
+ import { css } from '../css/index.mjs';
3
+
4
+ const floatConfig = {
5
+ transform(props, { map }) {
6
+ const { offset = "0", offsetX = offset, offsetY = offset, placement = "top-end", ...rest } = props;
7
+ return {
8
+ display: "inline-flex",
9
+ justifyContent: "center",
10
+ alignItems: "center",
11
+ position: "absolute",
12
+ insetBlockStart: map(placement, (v) => {
13
+ const [side] = v.split("-");
14
+ const map2 = { top: offsetY, middle: "50%", bottom: "auto" };
15
+ return map2[side];
16
+ }),
17
+ insetBlockEnd: map(placement, (v) => {
18
+ const [side] = v.split("-");
19
+ const map2 = { top: "auto", middle: "50%", bottom: offsetY };
20
+ return map2[side];
21
+ }),
22
+ insetInlineStart: map(placement, (v) => {
23
+ const [, align] = v.split("-");
24
+ const map2 = { start: offsetX, center: "50%", end: "auto" };
25
+ return map2[align];
26
+ }),
27
+ insetInlineEnd: map(placement, (v) => {
28
+ const [, align] = v.split("-");
29
+ const map2 = { start: "auto", center: "50%", end: offsetX };
30
+ return map2[align];
31
+ }),
32
+ translate: map(placement, (v) => {
33
+ const [side, align] = v.split("-");
34
+ const mapX = { start: "-50%", center: "-50%", end: "50%" };
35
+ const mapY = { top: "-50%", middle: "-50%", bottom: "50%" };
36
+ return `${mapX[align]} ${mapY[side]}`;
37
+ }),
38
+ ...rest
39
+ };
40
+ }}
41
+
42
+ export const getFloatStyle = (styles = {}) => floatConfig.transform(styles, { map: mapObject })
43
+
44
+ export const float = (styles) => css(getFloatStyle(styles))
45
+ float.raw = getFloatStyle
@@ -0,0 +1,26 @@
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 GridItemProperties {
9
+ colSpan?: ConditionalValue<number>
10
+ rowSpan?: ConditionalValue<number>
11
+ colStart?: ConditionalValue<number>
12
+ rowStart?: ConditionalValue<number>
13
+ colEnd?: ConditionalValue<number>
14
+ rowEnd?: ConditionalValue<number>
15
+ }
16
+
17
+
18
+ interface GridItemStyles extends GridItemProperties, DistributiveOmit<SystemStyleObject, keyof GridItemProperties > {}
19
+
20
+ interface GridItemPatternFn {
21
+ (styles?: GridItemStyles): string
22
+ raw: (styles?: GridItemStyles) => SystemStyleObject
23
+ }
24
+
25
+
26
+ export declare const gridItem: GridItemPatternFn;
@@ -0,0 +1,22 @@
1
+ import { mapObject } from '../helpers.mjs';
2
+ import { css } from '../css/index.mjs';
3
+
4
+ const gridItemConfig = {
5
+ transform(props, { map }) {
6
+ const { colSpan, rowSpan, colStart, rowStart, colEnd, rowEnd, ...rest } = props;
7
+ const spanFn = (v) => v === "auto" ? v : `span ${v}`;
8
+ return {
9
+ gridColumn: colSpan != null ? map(colSpan, spanFn) : void 0,
10
+ gridRow: rowSpan != null ? map(rowSpan, spanFn) : void 0,
11
+ gridColumnStart: colStart,
12
+ gridColumnEnd: colEnd,
13
+ gridRowStart: rowStart,
14
+ gridRowEnd: rowEnd,
15
+ ...rest
16
+ };
17
+ }}
18
+
19
+ export const getGridItemStyle = (styles = {}) => gridItemConfig.transform(styles, { map: mapObject })
20
+
21
+ export const gridItem = (styles) => css(getGridItemStyle(styles))
22
+ gridItem.raw = getGridItemStyle
@@ -0,0 +1,25 @@
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 GridProperties {
9
+ gap?: PropertyValue<'gap'>
10
+ columnGap?: PropertyValue<'gap'>
11
+ rowGap?: PropertyValue<'gap'>
12
+ columns?: ConditionalValue<number>
13
+ minChildWidth?: ConditionalValue<Tokens["sizes"] | Properties["width"]>
14
+ }
15
+
16
+
17
+ interface GridStyles extends GridProperties, DistributiveOmit<SystemStyleObject, keyof GridProperties > {}
18
+
19
+ interface GridPatternFn {
20
+ (styles?: GridStyles): string
21
+ raw: (styles?: GridStyles) => SystemStyleObject
22
+ }
23
+
24
+
25
+ export declare const grid: GridPatternFn;
@@ -0,0 +1,22 @@
1
+ import { mapObject } from '../helpers.mjs';
2
+ import { css } from '../css/index.mjs';
3
+
4
+ const gridConfig = {
5
+ transform(props, { map }) {
6
+ const regex = /\d+(cm|in|pt|em|px|rem|vh|vmax|vmin|vw|ch|lh|%)$/;
7
+ const { columnGap, rowGap, gap = columnGap || rowGap ? void 0 : "10px", columns, minChildWidth, ...rest } = props;
8
+ const getValue = (v) => regex.test(v) ? v : `token(sizes.${v}, ${v})`;
9
+ return {
10
+ display: "grid",
11
+ gridTemplateColumns: columns != null ? map(columns, (v) => `repeat(${v}, minmax(0, 1fr))`) : minChildWidth != null ? map(minChildWidth, (v) => `repeat(auto-fit, minmax(${getValue(v)}, 1fr))`) : void 0,
12
+ gap,
13
+ columnGap,
14
+ rowGap,
15
+ ...rest
16
+ };
17
+ }}
18
+
19
+ export const getGridStyle = (styles = {}) => gridConfig.transform(styles, { map: mapObject })
20
+
21
+ export const grid = (styles) => css(getGridStyle(styles))
22
+ grid.raw = getGridStyle
@@ -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 { 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 HstackProperties {
9
+ justify?: PropertyValue<'justifyContent'>
10
+ gap?: PropertyValue<'gap'>
11
+ }
12
+
13
+
14
+ interface HstackStyles extends HstackProperties, DistributiveOmit<SystemStyleObject, keyof HstackProperties > {}
15
+
16
+ interface HstackPatternFn {
17
+ (styles?: HstackStyles): string
18
+ raw: (styles?: HstackStyles) => SystemStyleObject
19
+ }
20
+
21
+
22
+ export declare const hstack: HstackPatternFn;
@@ -0,0 +1,20 @@
1
+ import { mapObject } from '../helpers.mjs';
2
+ import { css } from '../css/index.mjs';
3
+
4
+ const hstackConfig = {
5
+ transform(props) {
6
+ const { justify, gap = "10px", ...rest } = props;
7
+ return {
8
+ display: "flex",
9
+ alignItems: "center",
10
+ justifyContent: justify,
11
+ gap,
12
+ flexDirection: "row",
13
+ ...rest
14
+ };
15
+ }}
16
+
17
+ export const getHstackStyle = (styles = {}) => hstackConfig.transform(styles, { map: mapObject })
18
+
19
+ export const hstack = (styles) => css(getHstackStyle(styles))
20
+ hstack.raw = getHstackStyle
@@ -0,0 +1,21 @@
1
+ /* eslint-disable */
2
+ export * from './box.d.mts';
3
+ export * from './flex.d.mts';
4
+ export * from './stack.d.mts';
5
+ export * from './vstack.d.mts';
6
+ export * from './hstack.d.mts';
7
+ export * from './spacer.d.mts';
8
+ export * from './square.d.mts';
9
+ export * from './circle.d.mts';
10
+ export * from './center.d.mts';
11
+ export * from './link-box.d.mts';
12
+ export * from './link-overlay.d.mts';
13
+ export * from './aspect-ratio.d.mts';
14
+ export * from './grid.d.mts';
15
+ export * from './grid-item.d.mts';
16
+ export * from './wrap.d.mts';
17
+ export * from './container.d.mts';
18
+ export * from './divider.d.mts';
19
+ export * from './float.d.mts';
20
+ export * from './bleed.d.mts';
21
+ export * from './visually-hidden.d.mts';
@@ -0,0 +1,20 @@
1
+ export * from './box.mjs';
2
+ export * from './flex.mjs';
3
+ export * from './stack.mjs';
4
+ export * from './vstack.mjs';
5
+ export * from './hstack.mjs';
6
+ export * from './spacer.mjs';
7
+ export * from './square.mjs';
8
+ export * from './circle.mjs';
9
+ export * from './center.mjs';
10
+ export * from './link-box.mjs';
11
+ export * from './link-overlay.mjs';
12
+ export * from './aspect-ratio.mjs';
13
+ export * from './grid.mjs';
14
+ export * from './grid-item.mjs';
15
+ export * from './wrap.mjs';
16
+ export * from './container.mjs';
17
+ export * from './divider.mjs';
18
+ export * from './float.mjs';
19
+ export * from './bleed.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
@@ -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 LinkOverlayProperties {
9
+
10
+ }
11
+
12
+
13
+ interface LinkOverlayStyles extends LinkOverlayProperties, DistributiveOmit<SystemStyleObject, keyof LinkOverlayProperties > {}
14
+
15
+ interface LinkOverlayPatternFn {
16
+ (styles?: LinkOverlayStyles): string
17
+ raw: (styles?: LinkOverlayStyles) => SystemStyleObject
18
+ }
19
+
20
+
21
+ export declare const linkOverlay: LinkOverlayPatternFn;
@@ -0,0 +1,24 @@
1
+ import { mapObject } from '../helpers.mjs';
2
+ import { css } from '../css/index.mjs';
3
+
4
+ const linkOverlayConfig = {
5
+ transform(props) {
6
+ return {
7
+ position: "static",
8
+ _before: {
9
+ content: '""',
10
+ display: "block",
11
+ position: "absolute",
12
+ cursor: "inherit",
13
+ inset: "0",
14
+ zIndex: "0",
15
+ ...props["_before"]
16
+ },
17
+ ...props
18
+ };
19
+ }}
20
+
21
+ export const getLinkOverlayStyle = (styles = {}) => linkOverlayConfig.transform(styles, { map: mapObject })
22
+
23
+ export const linkOverlay = (styles) => css(getLinkOverlayStyle(styles))
24
+ linkOverlay.raw = getLinkOverlayStyle
@@ -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 SpacerProperties {
9
+ size?: ConditionalValue<Tokens["spacing"]>
10
+ }
11
+
12
+
13
+ interface SpacerStyles extends SpacerProperties, DistributiveOmit<SystemStyleObject, keyof SpacerProperties > {}
14
+
15
+ interface SpacerPatternFn {
16
+ (styles?: SpacerStyles): string
17
+ raw: (styles?: SpacerStyles) => SystemStyleObject
18
+ }
19
+
20
+
21
+ export declare const spacer: SpacerPatternFn;
@@ -0,0 +1,18 @@
1
+ import { mapObject } from '../helpers.mjs';
2
+ import { css } from '../css/index.mjs';
3
+
4
+ const spacerConfig = {
5
+ transform(props, { map }) {
6
+ const { size, ...rest } = props;
7
+ return {
8
+ alignSelf: "stretch",
9
+ justifySelf: "stretch",
10
+ flex: map(size, (v) => v == null ? "1" : `0 0 ${v}`),
11
+ ...rest
12
+ };
13
+ }}
14
+
15
+ export const getSpacerStyle = (styles = {}) => spacerConfig.transform(styles, { map: mapObject })
16
+
17
+ export const spacer = (styles) => css(getSpacerStyle(styles))
18
+ spacer.raw = getSpacerStyle
@@ -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 SquareProperties {
9
+ size?: PropertyValue<'width'>
10
+ }
11
+
12
+
13
+ interface SquareStyles extends SquareProperties, DistributiveOmit<SystemStyleObject, keyof SquareProperties > {}
14
+
15
+ interface SquarePatternFn {
16
+ (styles?: SquareStyles): string
17
+ raw: (styles?: SquareStyles) => SystemStyleObject
18
+ }
19
+
20
+
21
+ export declare const square: SquarePatternFn;
@@ -0,0 +1,21 @@
1
+ import { mapObject } from '../helpers.mjs';
2
+ import { css } from '../css/index.mjs';
3
+
4
+ const squareConfig = {
5
+ transform(props) {
6
+ const { size, ...rest } = props;
7
+ return {
8
+ display: "flex",
9
+ alignItems: "center",
10
+ justifyContent: "center",
11
+ flex: "0 0 auto",
12
+ width: size,
13
+ height: size,
14
+ ...rest
15
+ };
16
+ }}
17
+
18
+ export const getSquareStyle = (styles = {}) => squareConfig.transform(styles, { map: mapObject })
19
+
20
+ export const square = (styles) => css(getSquareStyle(styles))
21
+ square.raw = getSquareStyle
@@ -0,0 +1,24 @@
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 StackProperties {
9
+ align?: PropertyValue<'alignItems'>
10
+ justify?: PropertyValue<'justifyContent'>
11
+ direction?: PropertyValue<'flexDirection'>
12
+ gap?: PropertyValue<'gap'>
13
+ }
14
+
15
+
16
+ interface StackStyles extends StackProperties, DistributiveOmit<SystemStyleObject, keyof StackProperties > {}
17
+
18
+ interface StackPatternFn {
19
+ (styles?: StackStyles): string
20
+ raw: (styles?: StackStyles) => SystemStyleObject
21
+ }
22
+
23
+
24
+ export declare const stack: StackPatternFn;
@@ -0,0 +1,20 @@
1
+ import { mapObject } from '../helpers.mjs';
2
+ import { css } from '../css/index.mjs';
3
+
4
+ const stackConfig = {
5
+ transform(props) {
6
+ const { align, justify, direction = "column", gap = "10px", ...rest } = props;
7
+ return {
8
+ display: "flex",
9
+ flexDirection: direction,
10
+ alignItems: align,
11
+ justifyContent: justify,
12
+ gap,
13
+ ...rest
14
+ };
15
+ }}
16
+
17
+ export const getStackStyle = (styles = {}) => stackConfig.transform(styles, { map: mapObject })
18
+
19
+ export const stack = (styles) => css(getStackStyle(styles))
20
+ stack.raw = getStackStyle
@@ -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 VisuallyHiddenProperties {
9
+
10
+ }
11
+
12
+
13
+ interface VisuallyHiddenStyles extends VisuallyHiddenProperties, DistributiveOmit<SystemStyleObject, keyof VisuallyHiddenProperties > {}
14
+
15
+ interface VisuallyHiddenPatternFn {
16
+ (styles?: VisuallyHiddenStyles): string
17
+ raw: (styles?: VisuallyHiddenStyles) => SystemStyleObject
18
+ }
19
+
20
+
21
+ export declare const visuallyHidden: VisuallyHiddenPatternFn;
@@ -0,0 +1,15 @@
1
+ import { mapObject } from '../helpers.mjs';
2
+ import { css } from '../css/index.mjs';
3
+
4
+ const visuallyHiddenConfig = {
5
+ transform(props) {
6
+ return {
7
+ srOnly: true,
8
+ ...props
9
+ };
10
+ }}
11
+
12
+ export const getVisuallyHiddenStyle = (styles = {}) => visuallyHiddenConfig.transform(styles, { map: mapObject })
13
+
14
+ export const visuallyHidden = (styles) => css(getVisuallyHiddenStyle(styles))
15
+ visuallyHidden.raw = getVisuallyHiddenStyle
@@ -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 { 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 VstackProperties {
9
+ justify?: PropertyValue<'justifyContent'>
10
+ gap?: PropertyValue<'gap'>
11
+ }
12
+
13
+
14
+ interface VstackStyles extends VstackProperties, DistributiveOmit<SystemStyleObject, keyof VstackProperties > {}
15
+
16
+ interface VstackPatternFn {
17
+ (styles?: VstackStyles): string
18
+ raw: (styles?: VstackStyles) => SystemStyleObject
19
+ }
20
+
21
+
22
+ export declare const vstack: VstackPatternFn;