@stokelp/ui 2.103.0 → 2.104.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (710) hide show
  1. package/dist/_virtual/_rolldown/runtime.cjs +1 -0
  2. package/dist/_virtual/_rolldown/runtime.js +21 -0
  3. package/dist/components/accordion/Accordion.cjs +2 -2
  4. package/dist/components/accordion/Accordion.cjs.map +1 -1
  5. package/dist/components/accordion/Accordion.js +22 -27
  6. package/dist/components/accordion/Accordion.js.map +1 -1
  7. package/dist/components/action-card/ActionCard.cjs +2 -2
  8. package/dist/components/action-card/ActionCard.cjs.map +1 -1
  9. package/dist/components/action-card/ActionCard.js +23 -26
  10. package/dist/components/action-card/ActionCard.js.map +1 -1
  11. package/dist/components/alert/Alert.cjs +2 -2
  12. package/dist/components/alert/Alert.cjs.map +1 -1
  13. package/dist/components/alert/Alert.js +117 -84
  14. package/dist/components/alert/Alert.js.map +1 -1
  15. package/dist/components/app/mobile-card/MobileCardEntityRow.cjs +2 -2
  16. package/dist/components/app/mobile-card/MobileCardEntityRow.cjs.map +1 -1
  17. package/dist/components/app/mobile-card/MobileCardEntityRow.js +44 -25
  18. package/dist/components/app/mobile-card/MobileCardEntityRow.js.map +1 -1
  19. package/dist/components/app/mobile-card/MobileCardHeader.cjs +2 -2
  20. package/dist/components/app/mobile-card/MobileCardHeader.cjs.map +1 -1
  21. package/dist/components/app/mobile-card/MobileCardHeader.js +18 -20
  22. package/dist/components/app/mobile-card/MobileCardHeader.js.map +1 -1
  23. package/dist/components/app/mobile-card/MobileCardNotificationBadge.cjs +2 -2
  24. package/dist/components/app/mobile-card/MobileCardNotificationBadge.cjs.map +1 -1
  25. package/dist/components/app/mobile-card/MobileCardNotificationBadge.js +31 -13
  26. package/dist/components/app/mobile-card/MobileCardNotificationBadge.js.map +1 -1
  27. package/dist/components/app/mobile-card/MobileCardShell.cjs +2 -2
  28. package/dist/components/app/mobile-card/MobileCardShell.cjs.map +1 -1
  29. package/dist/components/app/mobile-card/MobileCardShell.js +17 -19
  30. package/dist/components/app/mobile-card/MobileCardShell.js.map +1 -1
  31. package/dist/components/app/mobile-card/MobileCardSkeleton.cjs +2 -2
  32. package/dist/components/app/mobile-card/MobileCardSkeleton.cjs.map +1 -1
  33. package/dist/components/app/mobile-card/MobileCardSkeleton.js +45 -22
  34. package/dist/components/app/mobile-card/MobileCardSkeleton.js.map +1 -1
  35. package/dist/components/app/mobile-navigation/MobileNavigation.cjs +2 -2
  36. package/dist/components/app/mobile-navigation/MobileNavigation.cjs.map +1 -1
  37. package/dist/components/app/mobile-navigation/MobileNavigation.js +16 -18
  38. package/dist/components/app/mobile-navigation/MobileNavigation.js.map +1 -1
  39. package/dist/components/app/navigation/AppNavigation.cjs +2 -2
  40. package/dist/components/app/navigation/AppNavigation.cjs.map +1 -1
  41. package/dist/components/app/navigation/AppNavigation.js +35 -47
  42. package/dist/components/app/navigation/AppNavigation.js.map +1 -1
  43. package/dist/components/app/navigation/language-select/AppNavigationLanguageSelect.cjs +2 -2
  44. package/dist/components/app/navigation/language-select/AppNavigationLanguageSelect.cjs.map +1 -1
  45. package/dist/components/app/navigation/language-select/AppNavigationLanguageSelect.js +188 -119
  46. package/dist/components/app/navigation/language-select/AppNavigationLanguageSelect.js.map +1 -1
  47. package/dist/components/app/price-tag/PriceTag.cjs +2 -2
  48. package/dist/components/app/price-tag/PriceTag.cjs.map +1 -1
  49. package/dist/components/app/price-tag/PriceTag.js +25 -19
  50. package/dist/components/app/price-tag/PriceTag.js.map +1 -1
  51. package/dist/components/app/product-card-catalog/styled.cjs +2 -2
  52. package/dist/components/app/product-card-catalog/styled.cjs.map +1 -1
  53. package/dist/components/app/product-card-catalog/styled.js +23 -21
  54. package/dist/components/app/product-card-catalog/styled.js.map +1 -1
  55. package/dist/components/avatar/styled.cjs +2 -2
  56. package/dist/components/avatar/styled.cjs.map +1 -1
  57. package/dist/components/avatar/styled.d.ts +2 -2
  58. package/dist/components/avatar/styled.js +28 -27
  59. package/dist/components/avatar/styled.js.map +1 -1
  60. package/dist/components/box/Box.cjs +2 -2
  61. package/dist/components/box/Box.cjs.map +1 -1
  62. package/dist/components/box/Box.js +11 -10
  63. package/dist/components/box/Box.js.map +1 -1
  64. package/dist/components/breadcrumb/Breadcrumb.cjs +2 -2
  65. package/dist/components/breadcrumb/Breadcrumb.cjs.map +1 -1
  66. package/dist/components/breadcrumb/Breadcrumb.d.ts +4 -6
  67. package/dist/components/breadcrumb/Breadcrumb.js +39 -35
  68. package/dist/components/breadcrumb/Breadcrumb.js.map +1 -1
  69. package/dist/components/button/Button.cjs +2 -2
  70. package/dist/components/button/Button.cjs.map +1 -1
  71. package/dist/components/button/Button.js +9 -8
  72. package/dist/components/button/Button.js.map +1 -1
  73. package/dist/components/button-filter/ButtonFilter.cjs +2 -2
  74. package/dist/components/button-filter/ButtonFilter.cjs.map +1 -1
  75. package/dist/components/button-filter/ButtonFilter.js +9 -8
  76. package/dist/components/button-filter/ButtonFilter.js.map +1 -1
  77. package/dist/components/chat/Chat.cjs +2 -2
  78. package/dist/components/chat/Chat.cjs.map +1 -1
  79. package/dist/components/chat/Chat.d.ts +6 -4
  80. package/dist/components/chat/Chat.js +27 -26
  81. package/dist/components/chat/Chat.js.map +1 -1
  82. package/dist/components/chat/ChatDocumentMessage.cjs +2 -2
  83. package/dist/components/chat/ChatDocumentMessage.cjs.map +1 -1
  84. package/dist/components/chat/ChatDocumentMessage.js +32 -31
  85. package/dist/components/chat/ChatDocumentMessage.js.map +1 -1
  86. package/dist/components/chat/ChatMessage.cjs +2 -2
  87. package/dist/components/chat/ChatMessage.cjs.map +1 -1
  88. package/dist/components/chat/ChatMessage.js +8 -7
  89. package/dist/components/chat/ChatMessage.js.map +1 -1
  90. package/dist/components/chat/ChatProfileAvatar.cjs +2 -2
  91. package/dist/components/chat/ChatProfileAvatar.cjs.map +1 -1
  92. package/dist/components/chat/ChatProfileAvatar.js +24 -16
  93. package/dist/components/chat/ChatProfileAvatar.js.map +1 -1
  94. package/dist/components/chat/ChatTextInput.cjs +2 -2
  95. package/dist/components/chat/ChatTextInput.cjs.map +1 -1
  96. package/dist/components/chat/ChatTextInput.d.ts +2 -2
  97. package/dist/components/chat/ChatTextInput.js +44 -52
  98. package/dist/components/chat/ChatTextInput.js.map +1 -1
  99. package/dist/components/checkbox/Checkbox.cjs +2 -2
  100. package/dist/components/checkbox/Checkbox.cjs.map +1 -1
  101. package/dist/components/checkbox/Checkbox.js +36 -34
  102. package/dist/components/checkbox/Checkbox.js.map +1 -1
  103. package/dist/components/checkbox-card/CheckboxCard.cjs +2 -2
  104. package/dist/components/checkbox-card/CheckboxCard.cjs.map +1 -1
  105. package/dist/components/checkbox-card/CheckboxCard.js +33 -38
  106. package/dist/components/checkbox-card/CheckboxCard.js.map +1 -1
  107. package/dist/components/checkbox-card/namespace.cjs +2 -2
  108. package/dist/components/checkbox-card/namespace.cjs.map +1 -1
  109. package/dist/components/checkbox-card/namespace.js +14 -9
  110. package/dist/components/checkbox-card/namespace.js.map +1 -1
  111. package/dist/components/chip/Chip.cjs +2 -2
  112. package/dist/components/chip/Chip.cjs.map +1 -1
  113. package/dist/components/chip/Chip.js +23 -23
  114. package/dist/components/chip/Chip.js.map +1 -1
  115. package/dist/components/collapsible/styled.cjs +2 -2
  116. package/dist/components/collapsible/styled.cjs.map +1 -1
  117. package/dist/components/collapsible/styled.js +15 -11
  118. package/dist/components/collapsible/styled.js.map +1 -1
  119. package/dist/components/combobox/Combobox.cjs +2 -2
  120. package/dist/components/combobox/Combobox.cjs.map +1 -1
  121. package/dist/components/combobox/Combobox.js +206 -173
  122. package/dist/components/combobox/Combobox.js.map +1 -1
  123. package/dist/components/date-picker/DatePicker.cjs +2 -2
  124. package/dist/components/date-picker/DatePicker.cjs.map +1 -1
  125. package/dist/components/date-picker/DatePicker.d.ts +2 -2
  126. package/dist/components/date-picker/DatePicker.js +151 -127
  127. package/dist/components/date-picker/DatePicker.js.map +1 -1
  128. package/dist/components/dialog/styled.cjs +2 -2
  129. package/dist/components/dialog/styled.cjs.map +1 -1
  130. package/dist/components/dialog/styled.js +75 -65
  131. package/dist/components/dialog/styled.js.map +1 -1
  132. package/dist/components/drawer/Drawer.cjs +2 -2
  133. package/dist/components/drawer/Drawer.cjs.map +1 -1
  134. package/dist/components/drawer/Drawer.js +62 -63
  135. package/dist/components/drawer/Drawer.js.map +1 -1
  136. package/dist/components/flag/styled.cjs +2 -2
  137. package/dist/components/flag/styled.cjs.map +1 -1
  138. package/dist/components/flag/styled.d.ts +2 -2
  139. package/dist/components/flag/styled.js +8437 -3751
  140. package/dist/components/flag/styled.js.map +1 -1
  141. package/dist/components/form/FormControl.cjs +2 -2
  142. package/dist/components/form/FormControl.cjs.map +1 -1
  143. package/dist/components/form/FormControl.d.ts +2 -2
  144. package/dist/components/form/FormControl.js +13 -18
  145. package/dist/components/form/FormControl.js.map +1 -1
  146. package/dist/components/form/FormHelperText.cjs +2 -2
  147. package/dist/components/form/FormHelperText.cjs.map +1 -1
  148. package/dist/components/form/FormHelperText.js +8 -9
  149. package/dist/components/form/FormHelperText.js.map +1 -1
  150. package/dist/components/form/FormLabel.cjs +2 -2
  151. package/dist/components/form/FormLabel.cjs.map +1 -1
  152. package/dist/components/form/FormLabel.d.ts +2 -2
  153. package/dist/components/form/FormLabel.js +38 -33
  154. package/dist/components/form/FormLabel.js.map +1 -1
  155. package/dist/components/heading/Heading.cjs +2 -2
  156. package/dist/components/heading/Heading.cjs.map +1 -1
  157. package/dist/components/heading/Heading.js +14 -10
  158. package/dist/components/heading/Heading.js.map +1 -1
  159. package/dist/components/icon/Icon.cjs +2 -2
  160. package/dist/components/icon/Icon.cjs.map +1 -1
  161. package/dist/components/icon/Icon.d.ts +2 -2
  162. package/dist/components/icon/Icon.js +15 -10
  163. package/dist/components/icon/Icon.js.map +1 -1
  164. package/dist/components/icon-button/IconButton.cjs +2 -2
  165. package/dist/components/icon-button/IconButton.cjs.map +1 -1
  166. package/dist/components/icon-button/IconButton.d.ts +2 -3
  167. package/dist/components/icon-button/IconButton.js +8 -7
  168. package/dist/components/icon-button/IconButton.js.map +1 -1
  169. package/dist/components/illustration/Illustration.cjs +2 -2
  170. package/dist/components/illustration/Illustration.cjs.map +1 -1
  171. package/dist/components/illustration/Illustration.js +35 -39
  172. package/dist/components/illustration/Illustration.js.map +1 -1
  173. package/dist/components/illustration/patterns.cjs +2 -2
  174. package/dist/components/illustration/patterns.cjs.map +1 -1
  175. package/dist/components/illustration/patterns.js +5563 -8897
  176. package/dist/components/illustration/patterns.js.map +1 -1
  177. package/dist/components/input/HighlightedInput.cjs +2 -2
  178. package/dist/components/input/HighlightedInput.cjs.map +1 -1
  179. package/dist/components/input/HighlightedInput.d.ts +9 -12
  180. package/dist/components/input/HighlightedInput.js +43 -58
  181. package/dist/components/input/HighlightedInput.js.map +1 -1
  182. package/dist/components/input/Input.cjs +2 -2
  183. package/dist/components/input/Input.cjs.map +1 -1
  184. package/dist/components/input/Input.d.ts +1 -2
  185. package/dist/components/input/Input.js +12 -13
  186. package/dist/components/input/Input.js.map +1 -1
  187. package/dist/components/input/InputAddon.cjs +2 -2
  188. package/dist/components/input/InputAddon.cjs.map +1 -1
  189. package/dist/components/input/InputAddon.js +8 -9
  190. package/dist/components/input/InputAddon.js.map +1 -1
  191. package/dist/components/input/InputGroup.cjs +2 -2
  192. package/dist/components/input/InputGroup.cjs.map +1 -1
  193. package/dist/components/input/InputGroup.js +8 -9
  194. package/dist/components/input/InputGroup.js.map +1 -1
  195. package/dist/components/input/PhoneNumberInput.cjs +2 -2
  196. package/dist/components/input/PhoneNumberInput.cjs.map +1 -1
  197. package/dist/components/input/PhoneNumberInput.js +21 -23
  198. package/dist/components/input/PhoneNumberInput.js.map +1 -1
  199. package/dist/components/menu/Menu.cjs +2 -2
  200. package/dist/components/menu/Menu.cjs.map +1 -1
  201. package/dist/components/menu/Menu.js +32 -28
  202. package/dist/components/menu/Menu.js.map +1 -1
  203. package/dist/components/pagination/Pagination.cjs +2 -2
  204. package/dist/components/pagination/Pagination.cjs.map +1 -1
  205. package/dist/components/pagination/Pagination.js +76 -84
  206. package/dist/components/pagination/Pagination.js.map +1 -1
  207. package/dist/components/pagination/use-pagination.cjs +2 -2
  208. package/dist/components/pagination/use-pagination.cjs.map +1 -1
  209. package/dist/components/pagination/use-pagination.js +56 -54
  210. package/dist/components/pagination/use-pagination.js.map +1 -1
  211. package/dist/components/popover/Popover.cjs +2 -2
  212. package/dist/components/popover/Popover.cjs.map +1 -1
  213. package/dist/components/popover/Popover.js +21 -25
  214. package/dist/components/popover/Popover.js.map +1 -1
  215. package/dist/components/radio-button-group/RadioButtonGroup.cjs +2 -2
  216. package/dist/components/radio-button-group/RadioButtonGroup.cjs.map +1 -1
  217. package/dist/components/radio-button-group/RadioButtonGroup.js +20 -20
  218. package/dist/components/radio-button-group/RadioButtonGroup.js.map +1 -1
  219. package/dist/components/radio-card-group/RadioCardGroup.cjs +2 -2
  220. package/dist/components/radio-card-group/RadioCardGroup.cjs.map +1 -1
  221. package/dist/components/radio-card-group/RadioCardGroup.js +21 -22
  222. package/dist/components/radio-card-group/RadioCardGroup.js.map +1 -1
  223. package/dist/components/radio-card-group/namespace.cjs +2 -2
  224. package/dist/components/radio-card-group/namespace.cjs.map +1 -1
  225. package/dist/components/radio-card-group/namespace.js +15 -10
  226. package/dist/components/radio-card-group/namespace.js.map +1 -1
  227. package/dist/components/radio-group/RadioGroup.cjs +2 -2
  228. package/dist/components/radio-group/RadioGroup.cjs.map +1 -1
  229. package/dist/components/radio-group/RadioGroup.js +21 -21
  230. package/dist/components/radio-group/RadioGroup.js.map +1 -1
  231. package/dist/components/select/Select.cjs +2 -2
  232. package/dist/components/select/Select.cjs.map +1 -1
  233. package/dist/components/select/Select.js +194 -141
  234. package/dist/components/select/Select.js.map +1 -1
  235. package/dist/components/select-language/SelectLanguage.cjs +2 -2
  236. package/dist/components/select-language/SelectLanguage.cjs.map +1 -1
  237. package/dist/components/select-language/SelectLanguage.js +114 -88
  238. package/dist/components/select-language/SelectLanguage.js.map +1 -1
  239. package/dist/components/status-tag-select/StatusTagSelect.cjs +2 -2
  240. package/dist/components/status-tag-select/StatusTagSelect.cjs.map +1 -1
  241. package/dist/components/status-tag-select/StatusTagSelect.js +93 -115
  242. package/dist/components/status-tag-select/StatusTagSelect.js.map +1 -1
  243. package/dist/components/switch/Switch.cjs +2 -2
  244. package/dist/components/switch/Switch.cjs.map +1 -1
  245. package/dist/components/switch/Switch.js +30 -18
  246. package/dist/components/switch/Switch.js.map +1 -1
  247. package/dist/components/switch-card/SwitchCard.cjs +2 -2
  248. package/dist/components/switch-card/SwitchCard.cjs.map +1 -1
  249. package/dist/components/switch-card/SwitchCard.js +28 -25
  250. package/dist/components/switch-card/SwitchCard.js.map +1 -1
  251. package/dist/components/switch-card/namespace.cjs +2 -2
  252. package/dist/components/switch-card/namespace.cjs.map +1 -1
  253. package/dist/components/switch-card/namespace.js +14 -9
  254. package/dist/components/switch-card/namespace.js.map +1 -1
  255. package/dist/components/table/Table.cjs +2 -2
  256. package/dist/components/table/Table.cjs.map +1 -1
  257. package/dist/components/table/Table.d.ts +3 -4
  258. package/dist/components/table/Table.js +133 -109
  259. package/dist/components/table/Table.js.map +1 -1
  260. package/dist/components/table/TableProvider.cjs +2 -2
  261. package/dist/components/table/TableProvider.cjs.map +1 -1
  262. package/dist/components/table/TableProvider.js +36 -39
  263. package/dist/components/table/TableProvider.js.map +1 -1
  264. package/dist/components/tabs/Tabs.cjs +2 -2
  265. package/dist/components/tabs/Tabs.cjs.map +1 -1
  266. package/dist/components/tabs/Tabs.js +18 -26
  267. package/dist/components/tabs/Tabs.js.map +1 -1
  268. package/dist/components/tag/Tag.cjs +2 -2
  269. package/dist/components/tag/Tag.cjs.map +1 -1
  270. package/dist/components/tag/Tag.js +22 -16
  271. package/dist/components/tag/Tag.js.map +1 -1
  272. package/dist/components/text/Text.cjs +2 -2
  273. package/dist/components/text/Text.cjs.map +1 -1
  274. package/dist/components/text/Text.js +12 -11
  275. package/dist/components/text/Text.js.map +1 -1
  276. package/dist/components/textarea/Textarea.cjs +2 -2
  277. package/dist/components/textarea/Textarea.cjs.map +1 -1
  278. package/dist/components/textarea/Textarea.d.ts +1 -2
  279. package/dist/components/textarea/Textarea.js +9 -8
  280. package/dist/components/textarea/Textarea.js.map +1 -1
  281. package/dist/components/tooltip/Tooltip.cjs +2 -2
  282. package/dist/components/tooltip/Tooltip.cjs.map +1 -1
  283. package/dist/components/tooltip/Tooltip.js +38 -42
  284. package/dist/components/tooltip/Tooltip.js.map +1 -1
  285. package/dist/icons/index.cjs +2 -2
  286. package/dist/icons/index.cjs.map +1 -1
  287. package/dist/icons/index.js +65 -58
  288. package/dist/icons/index.js.map +1 -1
  289. package/dist/index.cjs +1 -2
  290. package/dist/index.js +66 -191
  291. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.cjs +2 -2
  292. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.cjs.map +1 -1
  293. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.js +22 -27
  294. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.js.map +1 -1
  295. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.cjs +2 -2
  296. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.cjs.map +1 -1
  297. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.js +22 -27
  298. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.js.map +1 -1
  299. package/dist/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.cjs +2 -2
  300. package/dist/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.cjs.map +1 -1
  301. package/dist/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.js +22 -27
  302. package/dist/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.js.map +1 -1
  303. package/dist/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.cjs +2 -2
  304. package/dist/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.cjs.map +1 -1
  305. package/dist/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.js +22 -27
  306. package/dist/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.js.map +1 -1
  307. package/dist/node_modules/deepmerge/dist/cjs.cjs +2 -2
  308. package/dist/node_modules/deepmerge/dist/cjs.cjs.map +1 -1
  309. package/dist/node_modules/deepmerge/dist/cjs.js +76 -80
  310. package/dist/node_modules/deepmerge/dist/cjs.js.map +1 -1
  311. package/dist/preset.cjs +2 -2
  312. package/dist/preset.cjs.map +1 -1
  313. package/dist/preset.js +30 -31
  314. package/dist/preset.js.map +1 -1
  315. package/dist/shared/ConditionalWrapper.cjs +2 -2
  316. package/dist/shared/ConditionalWrapper.cjs.map +1 -1
  317. package/dist/shared/ConditionalWrapper.js +6 -5
  318. package/dist/shared/ConditionalWrapper.js.map +1 -1
  319. package/dist/shared/assets/icons.cjs +2 -2
  320. package/dist/shared/assets/icons.cjs.map +1 -1
  321. package/dist/shared/assets/icons.js +30 -22
  322. package/dist/shared/assets/icons.js.map +1 -1
  323. package/dist/shared/hooks/useUncontrolled.cjs +2 -2
  324. package/dist/shared/hooks/useUncontrolled.cjs.map +1 -1
  325. package/dist/shared/hooks/useUncontrolled.js +19 -16
  326. package/dist/shared/hooks/useUncontrolled.js.map +1 -1
  327. package/dist/shared/utils/events.cjs +2 -2
  328. package/dist/shared/utils/events.cjs.map +1 -1
  329. package/dist/shared/utils/events.js +7 -6
  330. package/dist/shared/utils/events.js.map +1 -1
  331. package/dist/theme/breakpoints.cjs +2 -2
  332. package/dist/theme/breakpoints.cjs.map +1 -1
  333. package/dist/theme/breakpoints.js +10 -9
  334. package/dist/theme/breakpoints.js.map +1 -1
  335. package/dist/theme/conditions.cjs +2 -2
  336. package/dist/theme/conditions.cjs.map +1 -1
  337. package/dist/theme/conditions.js +23 -24
  338. package/dist/theme/conditions.js.map +1 -1
  339. package/dist/theme/containers.cjs +2 -2
  340. package/dist/theme/containers.cjs.map +1 -1
  341. package/dist/theme/containers.js +18 -17
  342. package/dist/theme/containers.js.map +1 -1
  343. package/dist/theme/globalCss.cjs +4 -4
  344. package/dist/theme/globalCss.cjs.map +1 -1
  345. package/dist/theme/globalCss.js +94 -99
  346. package/dist/theme/globalCss.js.map +1 -1
  347. package/dist/theme/keyframes.cjs +2 -2
  348. package/dist/theme/keyframes.cjs.map +1 -1
  349. package/dist/theme/keyframes.js +256 -171
  350. package/dist/theme/keyframes.js.map +1 -1
  351. package/dist/theme/recipes/accordion.cjs +2 -2
  352. package/dist/theme/recipes/accordion.cjs.map +1 -1
  353. package/dist/theme/recipes/accordion.js +93 -110
  354. package/dist/theme/recipes/accordion.js.map +1 -1
  355. package/dist/theme/recipes/action-card.cjs +2 -2
  356. package/dist/theme/recipes/action-card.cjs.map +1 -1
  357. package/dist/theme/recipes/action-card.js +88 -84
  358. package/dist/theme/recipes/action-card.js.map +1 -1
  359. package/dist/theme/recipes/alert.cjs +2 -2
  360. package/dist/theme/recipes/alert.cjs.map +1 -1
  361. package/dist/theme/recipes/alert.js +52 -65
  362. package/dist/theme/recipes/alert.js.map +1 -1
  363. package/dist/theme/recipes/app/mobile-navigation.cjs +2 -2
  364. package/dist/theme/recipes/app/mobile-navigation.cjs.map +1 -1
  365. package/dist/theme/recipes/app/mobile-navigation.js +94 -108
  366. package/dist/theme/recipes/app/mobile-navigation.js.map +1 -1
  367. package/dist/theme/recipes/app/navigation-language-select.cjs +2 -2
  368. package/dist/theme/recipes/app/navigation-language-select.cjs.map +1 -1
  369. package/dist/theme/recipes/app/navigation-language-select.js +135 -148
  370. package/dist/theme/recipes/app/navigation-language-select.js.map +1 -1
  371. package/dist/theme/recipes/app/navigation.cjs +2 -2
  372. package/dist/theme/recipes/app/navigation.cjs.map +1 -1
  373. package/dist/theme/recipes/app/navigation.js +214 -269
  374. package/dist/theme/recipes/app/navigation.js.map +1 -1
  375. package/dist/theme/recipes/app/price-tag.cjs +2 -2
  376. package/dist/theme/recipes/app/price-tag.cjs.map +1 -1
  377. package/dist/theme/recipes/app/price-tag.js +59 -70
  378. package/dist/theme/recipes/app/price-tag.js.map +1 -1
  379. package/dist/theme/recipes/app/product-card-catalog.cjs +2 -2
  380. package/dist/theme/recipes/app/product-card-catalog.cjs.map +1 -1
  381. package/dist/theme/recipes/app/product-card-catalog.js +189 -194
  382. package/dist/theme/recipes/app/product-card-catalog.js.map +1 -1
  383. package/dist/theme/recipes/avatar-group.cjs +2 -2
  384. package/dist/theme/recipes/avatar-group.cjs.map +1 -1
  385. package/dist/theme/recipes/avatar-group.js +27 -38
  386. package/dist/theme/recipes/avatar-group.js.map +1 -1
  387. package/dist/theme/recipes/avatar.cjs +2 -2
  388. package/dist/theme/recipes/avatar.cjs.map +1 -1
  389. package/dist/theme/recipes/avatar.js +97 -95
  390. package/dist/theme/recipes/avatar.js.map +1 -1
  391. package/dist/theme/recipes/breadcrumb.cjs +2 -2
  392. package/dist/theme/recipes/breadcrumb.cjs.map +1 -1
  393. package/dist/theme/recipes/breadcrumb.js +35 -31
  394. package/dist/theme/recipes/breadcrumb.js.map +1 -1
  395. package/dist/theme/recipes/button-filter.cjs +2 -2
  396. package/dist/theme/recipes/button-filter.cjs.map +1 -1
  397. package/dist/theme/recipes/button-filter.js +57 -60
  398. package/dist/theme/recipes/button-filter.js.map +1 -1
  399. package/dist/theme/recipes/button.cjs +2 -2
  400. package/dist/theme/recipes/button.cjs.map +1 -1
  401. package/dist/theme/recipes/button.js +287 -295
  402. package/dist/theme/recipes/button.js.map +1 -1
  403. package/dist/theme/recipes/chat/chat-document-message.cjs +2 -2
  404. package/dist/theme/recipes/chat/chat-document-message.cjs.map +1 -1
  405. package/dist/theme/recipes/chat/chat-document-message.js +38 -43
  406. package/dist/theme/recipes/chat/chat-document-message.js.map +1 -1
  407. package/dist/theme/recipes/chat/chat-input-text.cjs +2 -2
  408. package/dist/theme/recipes/chat/chat-input-text.cjs.map +1 -1
  409. package/dist/theme/recipes/chat/chat-input-text.js +26 -27
  410. package/dist/theme/recipes/chat/chat-input-text.js.map +1 -1
  411. package/dist/theme/recipes/chat/chat-message.cjs +2 -2
  412. package/dist/theme/recipes/chat/chat-message.cjs.map +1 -1
  413. package/dist/theme/recipes/chat/chat-message.js +49 -45
  414. package/dist/theme/recipes/chat/chat-message.js.map +1 -1
  415. package/dist/theme/recipes/chat/chat-profile-avatar.cjs +2 -2
  416. package/dist/theme/recipes/chat/chat-profile-avatar.cjs.map +1 -1
  417. package/dist/theme/recipes/chat/chat-profile-avatar.js +20 -25
  418. package/dist/theme/recipes/chat/chat-profile-avatar.js.map +1 -1
  419. package/dist/theme/recipes/chat/chat.cjs +2 -2
  420. package/dist/theme/recipes/chat/chat.cjs.map +1 -1
  421. package/dist/theme/recipes/chat/chat.js +51 -56
  422. package/dist/theme/recipes/chat/chat.js.map +1 -1
  423. package/dist/theme/recipes/checkbox-card.cjs +2 -2
  424. package/dist/theme/recipes/checkbox-card.cjs.map +1 -1
  425. package/dist/theme/recipes/checkbox-card.js +44 -40
  426. package/dist/theme/recipes/checkbox-card.js.map +1 -1
  427. package/dist/theme/recipes/checkbox-group.cjs +2 -2
  428. package/dist/theme/recipes/checkbox-group.cjs.map +1 -1
  429. package/dist/theme/recipes/checkbox-group.js +13 -12
  430. package/dist/theme/recipes/checkbox-group.js.map +1 -1
  431. package/dist/theme/recipes/checkbox.cjs +2 -2
  432. package/dist/theme/recipes/checkbox.cjs.map +1 -1
  433. package/dist/theme/recipes/checkbox.js +110 -129
  434. package/dist/theme/recipes/checkbox.js.map +1 -1
  435. package/dist/theme/recipes/chip.cjs +2 -2
  436. package/dist/theme/recipes/chip.cjs.map +1 -1
  437. package/dist/theme/recipes/chip.js +144 -182
  438. package/dist/theme/recipes/chip.js.map +1 -1
  439. package/dist/theme/recipes/collapsible.cjs +2 -2
  440. package/dist/theme/recipes/collapsible.cjs.map +1 -1
  441. package/dist/theme/recipes/collapsible.js +30 -28
  442. package/dist/theme/recipes/collapsible.js.map +1 -1
  443. package/dist/theme/recipes/combobox.cjs +2 -2
  444. package/dist/theme/recipes/combobox.cjs.map +1 -1
  445. package/dist/theme/recipes/combobox.js +149 -176
  446. package/dist/theme/recipes/combobox.js.map +1 -1
  447. package/dist/theme/recipes/common/group-card.cjs +2 -2
  448. package/dist/theme/recipes/common/group-card.cjs.map +1 -1
  449. package/dist/theme/recipes/common/group-card.js +60 -80
  450. package/dist/theme/recipes/common/group-card.js.map +1 -1
  451. package/dist/theme/recipes/datepicker.cjs +2 -2
  452. package/dist/theme/recipes/datepicker.cjs.map +1 -1
  453. package/dist/theme/recipes/datepicker.js +149 -176
  454. package/dist/theme/recipes/datepicker.js.map +1 -1
  455. package/dist/theme/recipes/dialog.cjs +2 -2
  456. package/dist/theme/recipes/dialog.cjs.map +1 -1
  457. package/dist/theme/recipes/dialog.js +137 -151
  458. package/dist/theme/recipes/dialog.js.map +1 -1
  459. package/dist/theme/recipes/drawer.cjs +2 -2
  460. package/dist/theme/recipes/drawer.cjs.map +1 -1
  461. package/dist/theme/recipes/drawer.js +105 -125
  462. package/dist/theme/recipes/drawer.js.map +1 -1
  463. package/dist/theme/recipes/flag.cjs +2 -2
  464. package/dist/theme/recipes/flag.cjs.map +1 -1
  465. package/dist/theme/recipes/flag.js +21 -30
  466. package/dist/theme/recipes/flag.js.map +1 -1
  467. package/dist/theme/recipes/form/control.cjs +2 -2
  468. package/dist/theme/recipes/form/control.cjs.map +1 -1
  469. package/dist/theme/recipes/form/control.js +27 -34
  470. package/dist/theme/recipes/form/control.js.map +1 -1
  471. package/dist/theme/recipes/form/helper-text.cjs +2 -2
  472. package/dist/theme/recipes/form/helper-text.cjs.map +1 -1
  473. package/dist/theme/recipes/form/helper-text.js +14 -13
  474. package/dist/theme/recipes/form/helper-text.js.map +1 -1
  475. package/dist/theme/recipes/form/label.cjs +2 -2
  476. package/dist/theme/recipes/form/label.cjs.map +1 -1
  477. package/dist/theme/recipes/form/label.js +47 -48
  478. package/dist/theme/recipes/form/label.js.map +1 -1
  479. package/dist/theme/recipes/heading.cjs +2 -2
  480. package/dist/theme/recipes/heading.cjs.map +1 -1
  481. package/dist/theme/recipes/heading.js +25 -34
  482. package/dist/theme/recipes/heading.js.map +1 -1
  483. package/dist/theme/recipes/highlightedInput.cjs +2 -2
  484. package/dist/theme/recipes/highlightedInput.cjs.map +1 -1
  485. package/dist/theme/recipes/highlightedInput.js +54 -45
  486. package/dist/theme/recipes/highlightedInput.js.map +1 -1
  487. package/dist/theme/recipes/icon-button.cjs +2 -2
  488. package/dist/theme/recipes/icon-button.cjs.map +1 -1
  489. package/dist/theme/recipes/icon-button.js +81 -89
  490. package/dist/theme/recipes/icon-button.js.map +1 -1
  491. package/dist/theme/recipes/icon.cjs +2 -2
  492. package/dist/theme/recipes/icon.cjs.map +1 -1
  493. package/dist/theme/recipes/icon.js +39 -42
  494. package/dist/theme/recipes/icon.js.map +1 -1
  495. package/dist/theme/recipes/illustration.cjs +2 -2
  496. package/dist/theme/recipes/illustration.cjs.map +1 -1
  497. package/dist/theme/recipes/illustration.js +29 -48
  498. package/dist/theme/recipes/illustration.js.map +1 -1
  499. package/dist/theme/recipes/index.cjs +2 -2
  500. package/dist/theme/recipes/index.cjs.map +1 -1
  501. package/dist/theme/recipes/index.js +127 -127
  502. package/dist/theme/recipes/index.js.map +1 -1
  503. package/dist/theme/recipes/input-addon.cjs +2 -2
  504. package/dist/theme/recipes/input-addon.cjs.map +1 -1
  505. package/dist/theme/recipes/input-addon.js +24 -24
  506. package/dist/theme/recipes/input-addon.js.map +1 -1
  507. package/dist/theme/recipes/input-group.cjs +2 -2
  508. package/dist/theme/recipes/input-group.cjs.map +1 -1
  509. package/dist/theme/recipes/input-group.js +40 -49
  510. package/dist/theme/recipes/input-group.js.map +1 -1
  511. package/dist/theme/recipes/input.cjs +2 -2
  512. package/dist/theme/recipes/input.cjs.map +1 -1
  513. package/dist/theme/recipes/input.js +48 -61
  514. package/dist/theme/recipes/input.js.map +1 -1
  515. package/dist/theme/recipes/menu.cjs +2 -2
  516. package/dist/theme/recipes/menu.cjs.map +1 -1
  517. package/dist/theme/recipes/menu.js +96 -100
  518. package/dist/theme/recipes/menu.js.map +1 -1
  519. package/dist/theme/recipes/pagination.cjs +2 -2
  520. package/dist/theme/recipes/pagination.cjs.map +1 -1
  521. package/dist/theme/recipes/pagination.js +76 -71
  522. package/dist/theme/recipes/pagination.js.map +1 -1
  523. package/dist/theme/recipes/phone-number-input.cjs +2 -2
  524. package/dist/theme/recipes/phone-number-input.cjs.map +1 -1
  525. package/dist/theme/recipes/phone-number-input.js +55 -66
  526. package/dist/theme/recipes/phone-number-input.js.map +1 -1
  527. package/dist/theme/recipes/popover.cjs +2 -2
  528. package/dist/theme/recipes/popover.cjs.map +1 -1
  529. package/dist/theme/recipes/popover.js +30 -28
  530. package/dist/theme/recipes/popover.js.map +1 -1
  531. package/dist/theme/recipes/radio-button-group.cjs +2 -2
  532. package/dist/theme/recipes/radio-button-group.cjs.map +1 -1
  533. package/dist/theme/recipes/radio-button-group.js +83 -94
  534. package/dist/theme/recipes/radio-button-group.js.map +1 -1
  535. package/dist/theme/recipes/radio-card-group.cjs +2 -2
  536. package/dist/theme/recipes/radio-card-group.cjs.map +1 -1
  537. package/dist/theme/recipes/radio-card-group.js +64 -67
  538. package/dist/theme/recipes/radio-card-group.js.map +1 -1
  539. package/dist/theme/recipes/radio-group.cjs +2 -2
  540. package/dist/theme/recipes/radio-group.cjs.map +1 -1
  541. package/dist/theme/recipes/radio-group.js +101 -118
  542. package/dist/theme/recipes/radio-group.js.map +1 -1
  543. package/dist/theme/recipes/select-language.cjs +2 -2
  544. package/dist/theme/recipes/select-language.cjs.map +1 -1
  545. package/dist/theme/recipes/select-language.js +93 -112
  546. package/dist/theme/recipes/select-language.js.map +1 -1
  547. package/dist/theme/recipes/select.cjs +2 -2
  548. package/dist/theme/recipes/select.cjs.map +1 -1
  549. package/dist/theme/recipes/select.js +194 -206
  550. package/dist/theme/recipes/select.js.map +1 -1
  551. package/dist/theme/recipes/status-tag-select.cjs +2 -2
  552. package/dist/theme/recipes/status-tag-select.cjs.map +1 -1
  553. package/dist/theme/recipes/status-tag-select.js +162 -175
  554. package/dist/theme/recipes/status-tag-select.js.map +1 -1
  555. package/dist/theme/recipes/switch-card.cjs +2 -2
  556. package/dist/theme/recipes/switch-card.cjs.map +1 -1
  557. package/dist/theme/recipes/switch-card.js +43 -42
  558. package/dist/theme/recipes/switch-card.js.map +1 -1
  559. package/dist/theme/recipes/switch.cjs +2 -2
  560. package/dist/theme/recipes/switch.cjs.map +1 -1
  561. package/dist/theme/recipes/switch.js +71 -86
  562. package/dist/theme/recipes/switch.js.map +1 -1
  563. package/dist/theme/recipes/table-container.cjs +2 -2
  564. package/dist/theme/recipes/table-container.cjs.map +1 -1
  565. package/dist/theme/recipes/table-container.js +19 -18
  566. package/dist/theme/recipes/table-container.js.map +1 -1
  567. package/dist/theme/recipes/table-empty-row.cjs +2 -2
  568. package/dist/theme/recipes/table-empty-row.cjs.map +1 -1
  569. package/dist/theme/recipes/table-empty-row.js +17 -16
  570. package/dist/theme/recipes/table-empty-row.js.map +1 -1
  571. package/dist/theme/recipes/table-group-title.cjs +2 -2
  572. package/dist/theme/recipes/table-group-title.cjs.map +1 -1
  573. package/dist/theme/recipes/table-group-title.js +26 -33
  574. package/dist/theme/recipes/table-group-title.js.map +1 -1
  575. package/dist/theme/recipes/table.cjs +2 -2
  576. package/dist/theme/recipes/table.cjs.map +1 -1
  577. package/dist/theme/recipes/table.js +111 -109
  578. package/dist/theme/recipes/table.js.map +1 -1
  579. package/dist/theme/recipes/tabs-chip.cjs +2 -2
  580. package/dist/theme/recipes/tabs-chip.cjs.map +1 -1
  581. package/dist/theme/recipes/tabs-chip.js +43 -46
  582. package/dist/theme/recipes/tabs-chip.js.map +1 -1
  583. package/dist/theme/recipes/tabs.cjs +2 -2
  584. package/dist/theme/recipes/tabs.cjs.map +1 -1
  585. package/dist/theme/recipes/tabs.js +92 -125
  586. package/dist/theme/recipes/tabs.js.map +1 -1
  587. package/dist/theme/recipes/tag.cjs +2 -2
  588. package/dist/theme/recipes/tag.cjs.map +1 -1
  589. package/dist/theme/recipes/tag.js +110 -121
  590. package/dist/theme/recipes/tag.js.map +1 -1
  591. package/dist/theme/recipes/text.cjs +2 -2
  592. package/dist/theme/recipes/text.cjs.map +1 -1
  593. package/dist/theme/recipes/text.js +25 -38
  594. package/dist/theme/recipes/text.js.map +1 -1
  595. package/dist/theme/recipes/textarea.cjs +2 -2
  596. package/dist/theme/recipes/textarea.cjs.map +1 -1
  597. package/dist/theme/recipes/textarea.js +15 -14
  598. package/dist/theme/recipes/textarea.js.map +1 -1
  599. package/dist/theme/recipes/tooltip.cjs +2 -2
  600. package/dist/theme/recipes/tooltip.cjs.map +1 -1
  601. package/dist/theme/recipes/tooltip.js +47 -62
  602. package/dist/theme/recipes/tooltip.js.map +1 -1
  603. package/dist/theme/semantic-tokens/colors.cjs +2 -2
  604. package/dist/theme/semantic-tokens/colors.cjs.map +1 -1
  605. package/dist/theme/semantic-tokens/colors.js +189 -140
  606. package/dist/theme/semantic-tokens/colors.js.map +1 -1
  607. package/dist/theme/semantic-tokens/index.cjs +2 -2
  608. package/dist/theme/semantic-tokens/index.cjs.map +1 -1
  609. package/dist/theme/semantic-tokens/index.js +7 -8
  610. package/dist/theme/semantic-tokens/index.js.map +1 -1
  611. package/dist/theme/text-styles.cjs +2 -2
  612. package/dist/theme/text-styles.cjs.map +1 -1
  613. package/dist/theme/text-styles.js +70 -87
  614. package/dist/theme/text-styles.js.map +1 -1
  615. package/dist/theme/tokens/animations.cjs +2 -2
  616. package/dist/theme/tokens/animations.cjs.map +1 -1
  617. package/dist/theme/tokens/animations.js +22 -45
  618. package/dist/theme/tokens/animations.js.map +1 -1
  619. package/dist/theme/tokens/aspect-ratios.cjs +2 -2
  620. package/dist/theme/tokens/aspect-ratios.cjs.map +1 -1
  621. package/dist/theme/tokens/aspect-ratios.js +12 -11
  622. package/dist/theme/tokens/aspect-ratios.js.map +1 -1
  623. package/dist/theme/tokens/blurs.cjs +2 -2
  624. package/dist/theme/tokens/blurs.cjs.map +1 -1
  625. package/dist/theme/tokens/blurs.js +13 -12
  626. package/dist/theme/tokens/blurs.js.map +1 -1
  627. package/dist/theme/tokens/borders.cjs +2 -2
  628. package/dist/theme/tokens/borders.cjs.map +1 -1
  629. package/dist/theme/tokens/borders.js +6 -9
  630. package/dist/theme/tokens/borders.js.map +1 -1
  631. package/dist/theme/tokens/colors.cjs +2 -2
  632. package/dist/theme/tokens/colors.cjs.map +1 -1
  633. package/dist/theme/tokens/colors.js +78 -77
  634. package/dist/theme/tokens/colors.js.map +1 -1
  635. package/dist/theme/tokens/durations.cjs +2 -2
  636. package/dist/theme/tokens/durations.cjs.map +1 -1
  637. package/dist/theme/tokens/durations.js +14 -13
  638. package/dist/theme/tokens/durations.js.map +1 -1
  639. package/dist/theme/tokens/easings.cjs +3 -3
  640. package/dist/theme/tokens/easings.cjs.map +1 -1
  641. package/dist/theme/tokens/easings.js +24 -92
  642. package/dist/theme/tokens/easings.js.map +1 -1
  643. package/dist/theme/tokens/index.cjs +2 -2
  644. package/dist/theme/tokens/index.cjs.map +1 -1
  645. package/dist/theme/tokens/index.js +36 -35
  646. package/dist/theme/tokens/index.js.map +1 -1
  647. package/dist/theme/tokens/radii.cjs +2 -2
  648. package/dist/theme/tokens/radii.cjs.map +1 -1
  649. package/dist/theme/tokens/radii.js +28 -27
  650. package/dist/theme/tokens/radii.js.map +1 -1
  651. package/dist/theme/tokens/shadows.cjs +2 -2
  652. package/dist/theme/tokens/shadows.cjs.map +1 -1
  653. package/dist/theme/tokens/shadows.js +14 -13
  654. package/dist/theme/tokens/shadows.js.map +1 -1
  655. package/dist/theme/tokens/sizes.cjs +2 -2
  656. package/dist/theme/tokens/sizes.cjs.map +1 -1
  657. package/dist/theme/tokens/sizes.js +35 -84
  658. package/dist/theme/tokens/sizes.js.map +1 -1
  659. package/dist/theme/tokens/spacing.cjs +2 -2
  660. package/dist/theme/tokens/spacing.cjs.map +1 -1
  661. package/dist/theme/tokens/spacing.js +32 -83
  662. package/dist/theme/tokens/spacing.js.map +1 -1
  663. package/dist/theme/tokens/typography.cjs +2 -2
  664. package/dist/theme/tokens/typography.cjs.map +1 -1
  665. package/dist/theme/tokens/typography.js +82 -85
  666. package/dist/theme/tokens/typography.js.map +1 -1
  667. package/dist/theme/tokens/z-index.cjs +2 -2
  668. package/dist/theme/tokens/z-index.cjs.map +1 -1
  669. package/dist/theme/tokens/z-index.js +18 -41
  670. package/dist/theme/tokens/z-index.js.map +1 -1
  671. package/dist/theme/utilities.cjs +2 -2
  672. package/dist/theme/utilities.cjs.map +1 -1
  673. package/dist/theme/utilities.js +15 -16
  674. package/dist/theme/utilities.js.map +1 -1
  675. package/dist/ui.css +2 -1
  676. package/dist/utils/slots.cjs +2 -2
  677. package/dist/utils/slots.cjs.map +1 -1
  678. package/dist/utils/slots.js +42 -40
  679. package/dist/utils/slots.js.map +1 -1
  680. package/package.json +11 -7
  681. package/dist/_virtual/_commonjsHelpers.cjs +0 -2
  682. package/dist/_virtual/_commonjsHelpers.cjs.map +0 -1
  683. package/dist/_virtual/_commonjsHelpers.js +0 -10
  684. package/dist/_virtual/_commonjsHelpers.js.map +0 -1
  685. package/dist/_virtual/cjs.cjs +0 -2
  686. package/dist/_virtual/cjs.cjs.map +0 -1
  687. package/dist/_virtual/cjs.js +0 -9
  688. package/dist/_virtual/cjs.js.map +0 -1
  689. package/dist/_virtual/lodash.cjs +0 -2
  690. package/dist/_virtual/lodash.cjs.map +0 -1
  691. package/dist/_virtual/lodash.js +0 -7
  692. package/dist/_virtual/lodash.js.map +0 -1
  693. package/dist/_virtual/lodash2.cjs +0 -2
  694. package/dist/_virtual/lodash2.cjs.map +0 -1
  695. package/dist/_virtual/lodash2.js +0 -6
  696. package/dist/_virtual/lodash2.js.map +0 -1
  697. package/dist/index.cjs.map +0 -1
  698. package/dist/index.js.map +0 -1
  699. package/dist/node_modules/@pandacss/shared/dist/index.cjs +0 -2
  700. package/dist/node_modules/@pandacss/shared/dist/index.cjs.map +0 -1
  701. package/dist/node_modules/@pandacss/shared/dist/index.js +0 -469
  702. package/dist/node_modules/@pandacss/shared/dist/index.js.map +0 -1
  703. package/dist/node_modules/@zag-js/utils/dist/functions.cjs +0 -2
  704. package/dist/node_modules/@zag-js/utils/dist/functions.cjs.map +0 -1
  705. package/dist/node_modules/@zag-js/utils/dist/functions.js +0 -6
  706. package/dist/node_modules/@zag-js/utils/dist/functions.js.map +0 -1
  707. package/dist/node_modules/lodash/lodash.cjs +0 -21
  708. package/dist/node_modules/lodash/lodash.cjs.map +0 -1
  709. package/dist/node_modules/lodash/lodash.js +0 -3686
  710. package/dist/node_modules/lodash/lodash.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"styled.cjs","sources":["../../../src/components/avatar/styled.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { ark, Avatar } from '@ark-ui/react'\nimport { runIfFn } from '@zag-js/utils'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { avatar, avatarGroup } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots'\nimport { Children, cloneElement, ComponentProps, forwardRef, ReactNode } from 'react'\n\nconst { withProvider, withContext } = createStyleContext(avatar)\n\nconst InnerGroup = styled(ark.div, avatarGroup)\n\nconst partition = (children: ReactNode[], max: number) => {\n const first = children.slice(0, max)\n const rest = children.slice(max)\n\n return [first, rest]\n}\n\nexport const Group = forwardRef<HTMLDivElement, AvatarGroupProps>(\n ({ children, size, max = 4, overflowContent, ...props }, ref) => {\n const [avatars, overflow] = partition(Children.toArray(children), max)\n\n return (\n <InnerGroup ref={ref} size={size} {...props}>\n {Children.map(avatars, a => {\n return cloneElement(a as any, avatar.raw({ size }))\n })}\n {overflowContent && overflow.length > 0\n ? cloneElement(runIfFn(overflowContent, overflow.length) as any, { 'data-overflow': '' })\n : null}\n </InnerGroup>\n )\n },\n)\n\nexport const Root = withProvider(styled(Avatar.Root), 'root')\nexport const Image = withContext(styled(Avatar.Image), 'image')\nexport const Fallback = withContext(styled(Avatar.Fallback), 'fallback')\nexport const Context = Avatar.Context\n\nexport interface AvatarProps extends ComponentProps<typeof Root> {}\nexport interface AvatarGroupProps extends ComponentProps<typeof InnerGroup> {\n overflowContent?: ((count: number) => ReactNode) | ReactNode\n max?: number\n}\nexport interface AvatarImageProps extends ComponentProps<typeof Image> {}\nexport interface AvatarFallbackProps extends ComponentProps<typeof Fallback> {}\nexport interface AvatarContextProps extends ComponentProps<typeof Context> {}\n"],"names":["withProvider","withContext","createStyleContext","avatar","InnerGroup","styled","ark","avatarGroup","partition","children","max","first","rest","Group","forwardRef","size","overflowContent","props","ref","avatars","overflow","Children","jsxs","a","cloneElement","runIfFn","Root","Avatar","Image","Fallback","Context"],"mappings":"wWAQM,CAAE,aAAAA,EAAc,YAAAC,GAAgBC,EAAAA,mBAAmBC,EAAAA,MAAM,EAEzDC,EAAaC,EAAAA,OAAOC,MAAI,IAAKC,EAAAA,WAAW,EAExCC,EAAY,CAACC,EAAuBC,IAAgB,CACxD,MAAMC,EAAQF,EAAS,MAAM,EAAGC,CAAG,EAC7BE,EAAOH,EAAS,MAAMC,CAAG,EAE/B,MAAO,CAACC,EAAOC,CAAI,CACrB,EAEaC,EAAQC,EAAAA,WACnB,CAAC,CAAE,SAAAL,EAAU,KAAAM,EAAM,IAAAL,EAAM,EAAG,gBAAAM,EAAiB,GAAGC,CAAA,EAASC,IAAQ,CAC/D,KAAM,CAACC,EAASC,CAAQ,EAAIZ,EAAUa,EAAAA,SAAS,QAAQZ,CAAQ,EAAGC,CAAG,EAErE,OACEY,EAAAA,KAAClB,EAAA,CAAW,IAAAc,EAAU,KAAAH,EAAa,GAAGE,EACnC,SAAA,CAAAI,EAAAA,SAAS,IAAIF,EAASI,GACdC,EAAAA,aAAaD,EAAUpB,EAAAA,OAAO,IAAI,CAAE,KAAAY,CAAA,CAAM,CAAC,CACnD,EACAC,GAAmBI,EAAS,OAAS,EAClCI,EAAAA,aAAaC,EAAAA,QAAQT,EAAiBI,EAAS,MAAM,EAAU,CAAE,gBAAiB,EAAA,CAAI,EACtF,IAAA,EACN,CAEJ,CACF,EAEaM,EAAO1B,EAAaK,EAAAA,OAAOsB,EAAAA,OAAO,IAAI,EAAG,MAAM,EAC/CC,EAAQ3B,EAAYI,EAAAA,OAAOsB,EAAAA,OAAO,KAAK,EAAG,OAAO,EACjDE,EAAW5B,EAAYI,EAAAA,OAAOsB,EAAAA,OAAO,QAAQ,EAAG,UAAU,EAC1DG,EAAUH,EAAAA,OAAO"}
1
+ {"version":3,"file":"styled.cjs","names":[],"sources":["../../../src/components/avatar/styled.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { ark, Avatar } from '@ark-ui/react'\nimport { runIfFn } from '@zag-js/utils'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { avatar, avatarGroup } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots'\nimport { Children, cloneElement, ComponentProps, forwardRef, ReactNode } from 'react'\n\nconst { withProvider, withContext } = createStyleContext(avatar)\n\nconst InnerGroup = styled(ark.div, avatarGroup)\n\nconst partition = (children: ReactNode[], max: number) => {\n const first = children.slice(0, max)\n const rest = children.slice(max)\n\n return [first, rest]\n}\n\nexport const Group = forwardRef<HTMLDivElement, AvatarGroupProps>(\n ({ children, size, max = 4, overflowContent, ...props }, ref) => {\n const [avatars, overflow] = partition(Children.toArray(children), max)\n\n return (\n <InnerGroup ref={ref} size={size} {...props}>\n {Children.map(avatars, a => {\n return cloneElement(a as any, avatar.raw({ size }))\n })}\n {overflowContent && overflow.length > 0\n ? cloneElement(runIfFn(overflowContent, overflow.length) as any, { 'data-overflow': '' })\n : null}\n </InnerGroup>\n )\n },\n)\n\nexport const Root = withProvider(styled(Avatar.Root), 'root')\nexport const Image = withContext(styled(Avatar.Image), 'image')\nexport const Fallback = withContext(styled(Avatar.Fallback), 'fallback')\nexport const Context = Avatar.Context\n\nexport interface AvatarProps extends ComponentProps<typeof Root> {}\nexport type AvatarGroupProps = ComponentProps<typeof InnerGroup> & {\n overflowContent?: ((count: number) => ReactNode) | ReactNode\n max?: number\n}\nexport interface AvatarImageProps extends ComponentProps<typeof Image> {}\nexport interface AvatarFallbackProps extends ComponentProps<typeof Fallback> {}\nexport interface AvatarContextProps extends ComponentProps<typeof Context> {}\n"],"mappings":"+XAQM,CAAE,eAAc,eAAgB,EAAA,mBAAmB,EAAA,MAAM,EAEzD,GAAA,EAAA,EAAA,QAAoB,EAAA,IAAI,IAAK,EAAA,WAAW,EAExC,GAAa,EAAuB,IAIjC,CAHO,EAAS,MAAM,EAAG,CAGxB,EAFK,EAAS,MAAM,CAEb,CAAI,EAGR,GAAA,EAAA,EAAA,aACV,CAAE,WAAU,OAAM,MAAM,EAAG,kBAAiB,GAAG,GAAS,IAAQ,CAC/D,GAAM,CAAC,EAAS,GAAY,EAAU,EAAA,SAAS,QAAQ,CAAQ,EAAG,CAAG,EAErE,OACE,EAAA,EAAA,MAAC,EAAD,CAAiB,MAAW,OAAM,GAAI,WAAtC,CACG,EAAA,SAAS,IAAI,EAAS,IACrB,EAAA,EAAA,cAAoB,EAAU,EAAA,OAAO,IAAI,CAAE,MAAK,CAAC,CAAC,CACnD,EACA,GAAmB,EAAS,OAAS,GAAA,EAAA,EAAA,eAAA,EAAA,EAAA,SACb,EAAiB,EAAS,MAAM,EAAU,CAAE,gBAAiB,EAAG,CAAC,EACtF,IACM,GAEhB,CACF,EAEa,EAAO,GAAA,EAAA,EAAA,QAAoB,EAAA,OAAO,IAAI,EAAG,MAAM,EAC/C,EAAQ,GAAA,EAAA,EAAA,QAAmB,EAAA,OAAO,KAAK,EAAG,OAAO,EACjD,EAAW,GAAA,EAAA,EAAA,QAAmB,EAAA,OAAO,QAAQ,EAAG,UAAU,EAC1D,EAAU,EAAA,OAAO"}
@@ -11,10 +11,10 @@ export declare const Fallback: StyledComponent<ForwardRefExoticComponent<Avatar.
11
11
  export declare const Context: (props: Avatar.ContextProps) => ReactNode;
12
12
  export interface AvatarProps extends ComponentProps<typeof Root> {
13
13
  }
14
- export interface AvatarGroupProps extends ComponentProps<typeof InnerGroup> {
14
+ export type AvatarGroupProps = ComponentProps<typeof InnerGroup> & {
15
15
  overflowContent?: ((count: number) => ReactNode) | ReactNode;
16
16
  max?: number;
17
- }
17
+ };
18
18
  export interface AvatarImageProps extends ComponentProps<typeof Image> {
19
19
  }
20
20
  export interface AvatarFallbackProps extends ComponentProps<typeof Fallback> {
@@ -1,28 +1,29 @@
1
1
  "use client";
2
- import { jsxs as d } from "react/jsx-runtime";
3
- import { Avatar as a, ark as g } from "@ark-ui/react";
4
- import { styled as e } from "@stokelp/styled-system/jsx";
5
- import { avatar as i, avatarGroup as h } from "@stokelp/styled-system/recipes";
6
- import { createStyleContext as w } from "../../utils/slots.js";
7
- import { forwardRef as x, Children as l, cloneElement as s } from "react";
8
- import { runIfFn as k } from "../../node_modules/@zag-js/utils/dist/functions.js";
9
- const { withProvider: C, withContext: m } = w(i), I = e(g.div, h), b = (o, t) => {
10
- const n = o.slice(0, t), r = o.slice(t);
11
- return [n, r];
12
- }, P = x(
13
- ({ children: o, size: t, max: n = 4, overflowContent: r, ...f }, p) => {
14
- const [u, c] = b(l.toArray(o), n);
15
- return /* @__PURE__ */ d(I, { ref: p, size: t, ...f, children: [
16
- l.map(u, (v) => s(v, i.raw({ size: t }))),
17
- r && c.length > 0 ? s(k(r, c.length), { "data-overflow": "" }) : null
18
- ] });
19
- }
20
- ), S = C(e(a.Root), "root"), q = m(e(a.Image), "image"), B = m(e(a.Fallback), "fallback"), D = a.Context;
21
- export {
22
- D as Context,
23
- B as Fallback,
24
- P as Group,
25
- q as Image,
26
- S as Root
27
- };
28
- //# sourceMappingURL=styled.js.map
2
+ import { __exportAll as e } from "../../_virtual/_rolldown/runtime.js";
3
+ import { createStyleContext as t } from "../../utils/slots.js";
4
+ import { Avatar as n, ark as r } from "@ark-ui/react";
5
+ import { styled as i } from "@stokelp/styled-system/jsx";
6
+ import { avatar as a, avatarGroup as o } from "@stokelp/styled-system/recipes";
7
+ import { Children as s, cloneElement as c, forwardRef as l } from "react";
8
+ import { jsxs as u } from "react/jsx-runtime";
9
+ import { runIfFn as d } from "@zag-js/utils";
10
+ //#region src/components/avatar/styled.tsx
11
+ var f = /* @__PURE__ */ e({
12
+ Context: () => x,
13
+ Fallback: () => b,
14
+ Group: () => _,
15
+ Image: () => y,
16
+ Root: () => v
17
+ }), { withProvider: p, withContext: m } = t(a), h = i(r.div, o), g = (e, t) => [e.slice(0, t), e.slice(t)], _ = l(({ children: e, size: t, max: n = 4, overflowContent: r, ...i }, o) => {
18
+ let [l, f] = g(s.toArray(e), n);
19
+ return /* @__PURE__ */ u(h, {
20
+ ref: o,
21
+ size: t,
22
+ ...i,
23
+ children: [s.map(l, (e) => c(e, a.raw({ size: t }))), r && f.length > 0 ? c(d(r, f.length), { "data-overflow": "" }) : null]
24
+ });
25
+ }), v = p(i(n.Root), "root"), y = m(i(n.Image), "image"), b = m(i(n.Fallback), "fallback"), x = n.Context;
26
+ //#endregion
27
+ export { b as Fallback, y as Image, v as Root, f as styled_exports };
28
+
29
+ //# sourceMappingURL=styled.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"styled.js","sources":["../../../src/components/avatar/styled.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { ark, Avatar } from '@ark-ui/react'\nimport { runIfFn } from '@zag-js/utils'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { avatar, avatarGroup } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots'\nimport { Children, cloneElement, ComponentProps, forwardRef, ReactNode } from 'react'\n\nconst { withProvider, withContext } = createStyleContext(avatar)\n\nconst InnerGroup = styled(ark.div, avatarGroup)\n\nconst partition = (children: ReactNode[], max: number) => {\n const first = children.slice(0, max)\n const rest = children.slice(max)\n\n return [first, rest]\n}\n\nexport const Group = forwardRef<HTMLDivElement, AvatarGroupProps>(\n ({ children, size, max = 4, overflowContent, ...props }, ref) => {\n const [avatars, overflow] = partition(Children.toArray(children), max)\n\n return (\n <InnerGroup ref={ref} size={size} {...props}>\n {Children.map(avatars, a => {\n return cloneElement(a as any, avatar.raw({ size }))\n })}\n {overflowContent && overflow.length > 0\n ? cloneElement(runIfFn(overflowContent, overflow.length) as any, { 'data-overflow': '' })\n : null}\n </InnerGroup>\n )\n },\n)\n\nexport const Root = withProvider(styled(Avatar.Root), 'root')\nexport const Image = withContext(styled(Avatar.Image), 'image')\nexport const Fallback = withContext(styled(Avatar.Fallback), 'fallback')\nexport const Context = Avatar.Context\n\nexport interface AvatarProps extends ComponentProps<typeof Root> {}\nexport interface AvatarGroupProps extends ComponentProps<typeof InnerGroup> {\n overflowContent?: ((count: number) => ReactNode) | ReactNode\n max?: number\n}\nexport interface AvatarImageProps extends ComponentProps<typeof Image> {}\nexport interface AvatarFallbackProps extends ComponentProps<typeof Fallback> {}\nexport interface AvatarContextProps extends ComponentProps<typeof Context> {}\n"],"names":["withProvider","withContext","createStyleContext","avatar","InnerGroup","styled","ark","avatarGroup","partition","children","max","first","rest","Group","forwardRef","size","overflowContent","props","ref","avatars","overflow","Children","jsxs","a","cloneElement","runIfFn","Root","Avatar","Image","Fallback","Context"],"mappings":";;;;;;;;AAQA,MAAM,EAAE,cAAAA,GAAc,aAAAC,MAAgBC,EAAmBC,CAAM,GAEzDC,IAAaC,EAAOC,EAAI,KAAKC,CAAW,GAExCC,IAAY,CAACC,GAAuBC,MAAgB;AACxD,QAAMC,IAAQF,EAAS,MAAM,GAAGC,CAAG,GAC7BE,IAAOH,EAAS,MAAMC,CAAG;AAE/B,SAAO,CAACC,GAAOC,CAAI;AACrB,GAEaC,IAAQC;AAAA,EACnB,CAAC,EAAE,UAAAL,GAAU,MAAAM,GAAM,KAAAL,IAAM,GAAG,iBAAAM,GAAiB,GAAGC,EAAA,GAASC,MAAQ;AAC/D,UAAM,CAACC,GAASC,CAAQ,IAAIZ,EAAUa,EAAS,QAAQZ,CAAQ,GAAGC,CAAG;AAErE,WACE,gBAAAY,EAAClB,GAAA,EAAW,KAAAc,GAAU,MAAAH,GAAa,GAAGE,GACnC,UAAA;AAAA,MAAAI,EAAS,IAAIF,GAAS,CAAAI,MACdC,EAAaD,GAAUpB,EAAO,IAAI,EAAE,MAAAY,EAAA,CAAM,CAAC,CACnD;AAAA,MACAC,KAAmBI,EAAS,SAAS,IAClCI,EAAaC,EAAQT,GAAiBI,EAAS,MAAM,GAAU,EAAE,iBAAiB,GAAA,CAAI,IACtF;AAAA,IAAA,GACN;AAAA,EAEJ;AACF,GAEaM,IAAO1B,EAAaK,EAAOsB,EAAO,IAAI,GAAG,MAAM,GAC/CC,IAAQ3B,EAAYI,EAAOsB,EAAO,KAAK,GAAG,OAAO,GACjDE,IAAW5B,EAAYI,EAAOsB,EAAO,QAAQ,GAAG,UAAU,GAC1DG,IAAUH,EAAO;"}
1
+ {"version":3,"file":"styled.js","names":[],"sources":["../../../src/components/avatar/styled.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { ark, Avatar } from '@ark-ui/react'\nimport { runIfFn } from '@zag-js/utils'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { avatar, avatarGroup } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots'\nimport { Children, cloneElement, ComponentProps, forwardRef, ReactNode } from 'react'\n\nconst { withProvider, withContext } = createStyleContext(avatar)\n\nconst InnerGroup = styled(ark.div, avatarGroup)\n\nconst partition = (children: ReactNode[], max: number) => {\n const first = children.slice(0, max)\n const rest = children.slice(max)\n\n return [first, rest]\n}\n\nexport const Group = forwardRef<HTMLDivElement, AvatarGroupProps>(\n ({ children, size, max = 4, overflowContent, ...props }, ref) => {\n const [avatars, overflow] = partition(Children.toArray(children), max)\n\n return (\n <InnerGroup ref={ref} size={size} {...props}>\n {Children.map(avatars, a => {\n return cloneElement(a as any, avatar.raw({ size }))\n })}\n {overflowContent && overflow.length > 0\n ? cloneElement(runIfFn(overflowContent, overflow.length) as any, { 'data-overflow': '' })\n : null}\n </InnerGroup>\n )\n },\n)\n\nexport const Root = withProvider(styled(Avatar.Root), 'root')\nexport const Image = withContext(styled(Avatar.Image), 'image')\nexport const Fallback = withContext(styled(Avatar.Fallback), 'fallback')\nexport const Context = Avatar.Context\n\nexport interface AvatarProps extends ComponentProps<typeof Root> {}\nexport type AvatarGroupProps = ComponentProps<typeof InnerGroup> & {\n overflowContent?: ((count: number) => ReactNode) | ReactNode\n max?: number\n}\nexport interface AvatarImageProps extends ComponentProps<typeof Image> {}\nexport interface AvatarFallbackProps extends ComponentProps<typeof Fallback> {}\nexport interface AvatarContextProps extends ComponentProps<typeof Context> {}\n"],"mappings":";;;;;;;;;;;;;;;;IAQM,EAAE,iBAAc,mBAAgB,EAAmB,CAAM,GAEzD,IAAa,EAAO,EAAI,KAAK,CAAW,GAExC,KAAa,GAAuB,MAIjC,CAHO,EAAS,MAAM,GAAG,CAGxB,GAFK,EAAS,MAAM,CAEb,CAAI,GAGR,IAAQ,GAClB,EAAE,aAAU,SAAM,SAAM,GAAG,oBAAiB,GAAG,KAAS,MAAQ;CAC/D,IAAM,CAAC,GAAS,KAAY,EAAU,EAAS,QAAQ,CAAQ,GAAG,CAAG;CAErE,OACE,kBAAC,GAAD;EAAiB;EAAW;EAAM,GAAI;YAAtC,CACG,EAAS,IAAI,IAAS,MACd,EAAa,GAAU,EAAO,IAAI,EAAE,QAAK,CAAC,CAAC,CACnD,GACA,KAAmB,EAAS,SAAS,IAClC,EAAa,EAAQ,GAAiB,EAAS,MAAM,GAAU,EAAE,iBAAiB,GAAG,CAAC,IACtF,IACM;;AAEhB,CACF,GAEa,IAAO,EAAa,EAAO,EAAO,IAAI,GAAG,MAAM,GAC/C,IAAQ,EAAY,EAAO,EAAO,KAAK,GAAG,OAAO,GACjD,IAAW,EAAY,EAAO,EAAO,QAAQ,GAAG,UAAU,GAC1D,IAAU,EAAO"}
@@ -1,2 +1,2 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),r=require("react"),c=require("@stokelp/styled-system/jsx"),u=t=>{const{as:e="div",...o}=t,s=r.useMemo(()=>c.styled(e),[e]);return n.jsx(s,{...o})};exports.Box=u;
2
- //# sourceMappingURL=Box.cjs.map
1
+ "use client";let e=require("@stokelp/styled-system/jsx"),t=require("react"),n=require("react/jsx-runtime");var r=r=>{let{as:i=`div`,...a}=r;return(0,n.jsx)((0,t.useMemo)(()=>(0,e.styled)(i),[i]),{...a})};exports.Box=r;
2
+ //# sourceMappingURL=Box.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Box.cjs","sources":["../../../src/components/box/Box.tsx"],"sourcesContent":["import { useMemo } from 'react'\n\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { type HTMLStyledProps, type StyledComponent } from '@stokelp/styled-system/types'\n\ntype As = 'span' | 'div' | 'nav' | 'aside' | 'ul' | 'li' | 'main' | 'section' | 'header' | 'footer'\n\nexport type BoxProps = {\n as?: As\n} & HTMLStyledProps<As>\n\nexport const Box = (props: BoxProps) => {\n const { as = 'div', ...localProps } = props\n const Component = useMemo(() => styled(as) as StyledComponent<As>, [as])\n\n return <Component {...localProps} />\n}\n"],"names":["Box","props","as","localProps","Component","useMemo","styled","jsx"],"mappings":"6LAWaA,EAAOC,GAAoB,CACtC,KAAM,CAAE,GAAAC,EAAK,MAAO,GAAGC,GAAeF,EAChCG,EAAYC,EAAAA,QAAQ,IAAMC,EAAAA,OAAOJ,CAAE,EAA0B,CAACA,CAAE,CAAC,EAEvE,OAAOK,MAACH,EAAA,CAAW,GAAGD,CAAA,CAAY,CACpC"}
1
+ {"version":3,"file":"Box.cjs","names":[],"sources":["../../../src/components/box/Box.tsx"],"sourcesContent":["import { useMemo } from 'react'\n\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { type HTMLStyledProps, type StyledComponent } from '@stokelp/styled-system/types'\n\ntype As = 'span' | 'div' | 'nav' | 'aside' | 'ul' | 'li' | 'main' | 'section' | 'header' | 'footer'\n\nexport type BoxProps = {\n as?: As\n} & HTMLStyledProps<As>\n\nexport const Box = (props: BoxProps) => {\n const { as = 'div', ...localProps } = props\n const Component = useMemo(() => styled(as) as StyledComponent<As>, [as])\n\n return <Component {...localProps} />\n}\n"],"mappings":"2GAWA,IAAa,EAAO,GAAoB,CACtC,GAAM,CAAE,KAAK,MAAO,GAAG,GAAe,EAGtC,OAAO,EAAA,EAAA,MAAA,EAAA,EAAA,cAAA,EAAA,EAAA,QAFgC,CAAE,EAA0B,CAAC,CAAE,CAE9D,EAAD,CAAW,GAAI,CAAa,CAAA,CACrC"}
@@ -1,12 +1,13 @@
1
1
  "use client";
2
- import { jsx as e } from "react/jsx-runtime";
3
- import { useMemo as m } from "react";
4
- import { styled as n } from "@stokelp/styled-system/jsx";
5
- const l = (t) => {
6
- const { as: o = "div", ...r } = t, s = m(() => n(o), [o]);
7
- return /* @__PURE__ */ e(s, { ...r });
2
+ import { styled as e } from "@stokelp/styled-system/jsx";
3
+ import { useMemo as t } from "react";
4
+ import { jsx as n } from "react/jsx-runtime";
5
+ //#region src/components/box/Box.tsx
6
+ var r = (r) => {
7
+ let { as: i = "div", ...a } = r;
8
+ return /* @__PURE__ */ n(t(() => e(i), [i]), { ...a });
8
9
  };
9
- export {
10
- l as Box
11
- };
12
- //# sourceMappingURL=Box.js.map
10
+ //#endregion
11
+ export { r as Box };
12
+
13
+ //# sourceMappingURL=Box.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Box.js","sources":["../../../src/components/box/Box.tsx"],"sourcesContent":["import { useMemo } from 'react'\n\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { type HTMLStyledProps, type StyledComponent } from '@stokelp/styled-system/types'\n\ntype As = 'span' | 'div' | 'nav' | 'aside' | 'ul' | 'li' | 'main' | 'section' | 'header' | 'footer'\n\nexport type BoxProps = {\n as?: As\n} & HTMLStyledProps<As>\n\nexport const Box = (props: BoxProps) => {\n const { as = 'div', ...localProps } = props\n const Component = useMemo(() => styled(as) as StyledComponent<As>, [as])\n\n return <Component {...localProps} />\n}\n"],"names":["Box","props","as","localProps","Component","useMemo","styled","jsx"],"mappings":";;;;AAWO,MAAMA,IAAM,CAACC,MAAoB;AACtC,QAAM,EAAE,IAAAC,IAAK,OAAO,GAAGC,MAAeF,GAChCG,IAAYC,EAAQ,MAAMC,EAAOJ,CAAE,GAA0B,CAACA,CAAE,CAAC;AAEvE,SAAO,gBAAAK,EAACH,GAAA,EAAW,GAAGD,EAAA,CAAY;AACpC;"}
1
+ {"version":3,"file":"Box.js","names":[],"sources":["../../../src/components/box/Box.tsx"],"sourcesContent":["import { useMemo } from 'react'\n\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { type HTMLStyledProps, type StyledComponent } from '@stokelp/styled-system/types'\n\ntype As = 'span' | 'div' | 'nav' | 'aside' | 'ul' | 'li' | 'main' | 'section' | 'header' | 'footer'\n\nexport type BoxProps = {\n as?: As\n} & HTMLStyledProps<As>\n\nexport const Box = (props: BoxProps) => {\n const { as = 'div', ...localProps } = props\n const Component = useMemo(() => styled(as) as StyledComponent<As>, [as])\n\n return <Component {...localProps} />\n}\n"],"mappings":";;;;;AAWA,IAAa,KAAO,MAAoB;CACtC,IAAM,EAAE,QAAK,OAAO,GAAG,MAAe;CAGtC,OAAO,kBAFW,QAAc,EAAO,CAAE,GAA0B,CAAC,CAAE,CAE9D,GAAD,EAAW,GAAI,EAAa,CAAA;AACrC"}
@@ -1,2 +1,2 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("@stokelp/styled-system/jsx"),u=require("@stokelp/styled-system/recipes"),m=require("../../utils/slots.cjs"),b=require("@ark-ui/react"),h=require("react-is"),l=require("react");function f(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const c=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,c.get?c:{enumerable:!0,get:()=>t[n]})}}return r.default=t,Object.freeze(r)}const g=f(h),{withProvider:p,withContext:a}=m.createStyleContext(u.breadcrumb),j=p(o.styled("nav"),"root"),y=a(o.styled("ol"),"list"),x=a(o.styled("li"),"item"),v=a(o.styled(b.ark.a),"link"),w=e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.2803 11.4741C16.5732 11.767 16.5732 12.2418 16.2803 12.5347L8.78033 20.0347C8.48744 20.3276 8.01256 20.3276 7.71967 20.0347C7.42678 19.7418 7.42678 19.267 7.71967 18.9741L14.6893 12.0044L7.71967 5.03472C7.42678 4.74183 7.42678 4.26696 7.71967 3.97406C8.01256 3.68117 8.48744 3.68117 8.78033 3.97406L16.2803 11.4741Z",fill:"#1E3A76"})}),B=l.forwardRef(({children:t,separator:r=w,...n},c)=>{const i=l.Children.toArray(g.isFragment(t)?void 0:t);return e.jsx(j,{...n,"aria-label":n["aria-label"]??"breadcrumb",ref:c,children:e.jsx(y,{children:i.map((s,d)=>l.cloneElement(s,{"aria-current":d===i.length-1?"page":void 0,children:d===i.length-1?s.props.children:e.jsxs(e.Fragment,{children:[s.props.children,r?e.jsx(e.Fragment,{children:typeof r=="object"?l.cloneElement(r):e.jsx("span",{role:"presentation",children:r})}):null]})}))})})});exports.Breadcrumb=B;exports.BreadcrumbItem=x;exports.BreadcrumbLink=v;
2
- //# sourceMappingURL=Breadcrumb.cjs.map
1
+ "use client";const e=require("../../_virtual/_rolldown/runtime.cjs"),t=require("../../utils/slots.cjs");let n=require("@ark-ui/react"),r=require("@stokelp/styled-system/jsx"),i=require("@stokelp/styled-system/recipes"),a=require("react"),o=require("react/jsx-runtime"),s=require("react-is");s=e.__toESM(s,1);var{withProvider:c,withContext:l}=t.createStyleContext(i.breadcrumb),u=c((0,r.styled)(`nav`),`root`),d=l((0,r.styled)(`ol`),`list`),f=l((0,r.styled)(`li`),`item`),p=l((0,r.styled)(n.ark.a),`link`),m=(0,o.jsx)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:(0,o.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M16.2803 11.4741C16.5732 11.767 16.5732 12.2418 16.2803 12.5347L8.78033 20.0347C8.48744 20.3276 8.01256 20.3276 7.71967 20.0347C7.42678 19.7418 7.42678 19.267 7.71967 18.9741L14.6893 12.0044L7.71967 5.03472C7.42678 4.74183 7.42678 4.26696 7.71967 3.97406C8.01256 3.68117 8.48744 3.68117 8.78033 3.97406L16.2803 11.4741Z`,fill:`#1E3A76`})}),h=(0,a.forwardRef)(({children:e,separator:t=m,...n},r)=>{let i=a.Children.toArray(s.isFragment(e)?void 0:e);return(0,o.jsx)(u,{...n,"aria-label":n[`aria-label`]??`breadcrumb`,ref:r,children:(0,o.jsx)(d,{children:i.map((e,n)=>(0,a.cloneElement)(e,{"aria-current":n===i.length-1?`page`:void 0,children:n===i.length-1?e.props.children:(0,o.jsxs)(o.Fragment,{children:[e.props.children,t?(0,o.jsx)(o.Fragment,{children:typeof t==`object`?(0,a.cloneElement)(t):(0,o.jsx)(`span`,{role:`presentation`,children:t})}):null]})}))})})});exports.Breadcrumb=h,exports.BreadcrumbItem=f,exports.BreadcrumbLink=p;
2
+ //# sourceMappingURL=Breadcrumb.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Breadcrumb.cjs","sources":["../../../src/components/breadcrumb/Breadcrumb.tsx"],"sourcesContent":["import { styled } from '@stokelp/styled-system/jsx'\nimport { breadcrumb } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots'\nimport { ark } from '@ark-ui/react'\nimport * as ReactIs from 'react-is'\nimport { Children, cloneElement, ComponentProps, type FC, forwardRef, ReactElement, ReactNode } from 'react'\n\nconst { withProvider, withContext } = createStyleContext(breadcrumb)\n\nconst StyledBreadcrumb = withProvider(styled('nav'), 'root')\nconst StyledBreadcrumbList = withContext(styled('ol'), 'list')\n\nexport const BreadcrumbItem = withContext(styled('li'), 'item')\nexport const BreadcrumbLink = withContext(styled(ark.a), 'link')\n\nconst DefaultSeparator = (\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M16.2803 11.4741C16.5732 11.767 16.5732 12.2418 16.2803 12.5347L8.78033 20.0347C8.48744 20.3276 8.01256 20.3276 7.71967 20.0347C7.42678 19.7418 7.42678 19.267 7.71967 18.9741L14.6893 12.0044L7.71967 5.03472C7.42678 4.74183 7.42678 4.26696 7.71967 3.97406C8.01256 3.68117 8.48744 3.68117 8.78033 3.97406L16.2803 11.4741Z\"\n fill=\"#1E3A76\"\n />\n </svg>\n)\n\nexport const Breadcrumb = forwardRef<HTMLElement, BreadcrumbProps>(\n ({ children, separator = DefaultSeparator, ...props }, ref) => {\n const child = Children.toArray(\n ReactIs.isFragment(children) ? undefined : children,\n ) as ReactElement<BreadcrumbItemProps>[]\n\n return (\n <StyledBreadcrumb {...props} aria-label={props['aria-label'] ?? 'breadcrumb'} ref={ref}>\n <StyledBreadcrumbList>\n {child.map((item, index) => {\n return cloneElement<BreadcrumbItemProps>(item, {\n 'aria-current': index === child.length - 1 ? 'page' : undefined,\n children:\n index === child.length - 1 ? (\n item.props.children\n ) : (\n <>\n {item.props.children}\n {separator ? (\n <>\n {typeof separator === 'object' ? (\n cloneElement(separator as ReactElement)\n ) : (\n <span role=\"presentation\">{separator}</span>\n )}\n </>\n ) : null}\n </>\n ),\n })\n })}\n </StyledBreadcrumbList>\n </StyledBreadcrumb>\n )\n },\n) as FC<BreadcrumbProps>\n\nexport interface BreadcrumbLinkProps extends ComponentProps<typeof BreadcrumbLink> {}\nexport interface BreadcrumbItemProps extends ComponentProps<typeof BreadcrumbItem> {}\nexport interface BreadcrumbProps extends ComponentProps<typeof StyledBreadcrumb> {\n separator?: ReactNode\n}\n"],"names":["withProvider","withContext","createStyleContext","breadcrumb","StyledBreadcrumb","styled","StyledBreadcrumbList","BreadcrumbItem","BreadcrumbLink","ark","DefaultSeparator","jsx","Breadcrumb","forwardRef","children","separator","props","ref","child","Children","ReactIs","item","index","cloneElement","jsxs","Fragment"],"mappings":"ulBAOM,CAAE,aAAAA,EAAc,YAAAC,GAAgBC,EAAAA,mBAAmBC,EAAAA,UAAU,EAE7DC,EAAmBJ,EAAaK,EAAAA,OAAO,KAAK,EAAG,MAAM,EACrDC,EAAuBL,EAAYI,EAAAA,OAAO,IAAI,EAAG,MAAM,EAEhDE,EAAiBN,EAAYI,SAAO,IAAI,EAAG,MAAM,EACjDG,EAAiBP,EAAYI,EAAAA,OAAOI,EAAAA,IAAI,CAAC,EAAG,MAAM,EAEzDC,EACJC,EAAAA,IAAC,MAAA,CAAI,MAAM,KAAK,OAAO,KAAK,QAAQ,YAAY,KAAK,OAAO,MAAM,6BAChE,SAAAA,EAAAA,IAAC,OAAA,CACC,SAAS,UACT,SAAS,UACT,EAAE,kUACF,KAAK,SAAA,CACP,EACF,EAGWC,EAAaC,EAAAA,WACxB,CAAC,CAAE,SAAAC,EAAU,UAAAC,EAAYL,EAAkB,GAAGM,CAAA,EAASC,IAAQ,CAC7D,MAAMC,EAAQC,EAAAA,SAAS,QACrBC,EAAQ,WAAWN,CAAQ,EAAI,OAAYA,CAAA,EAG7C,aACGV,EAAA,CAAkB,GAAGY,EAAO,aAAYA,EAAM,YAAY,GAAK,aAAc,IAAAC,EAC5E,eAACX,EAAA,CACE,SAAAY,EAAM,IAAI,CAACG,EAAMC,IACTC,EAAAA,aAAkCF,EAAM,CAC7C,eAAgBC,IAAUJ,EAAM,OAAS,EAAI,OAAS,OACtD,SACEI,IAAUJ,EAAM,OAAS,EACvBG,EAAK,MAAM,SAEXG,EAAAA,KAAAC,EAAAA,SAAA,CACG,SAAA,CAAAJ,EAAK,MAAM,SACXN,EACCJ,EAAAA,IAAAc,WAAA,CACG,SAAA,OAAOV,GAAc,SACpBQ,eAAaR,CAAyB,EAEtCJ,MAAC,OAAA,CAAK,KAAK,eAAgB,SAAAI,CAAA,CAAU,EAEzC,EACE,IAAA,CAAA,CACN,CAAA,CAEL,CACF,EACH,EACF,CAEJ,CACF"}
1
+ {"version":3,"file":"Breadcrumb.cjs","names":[],"sources":["../../../src/components/breadcrumb/Breadcrumb.tsx"],"sourcesContent":["import { styled } from '@stokelp/styled-system/jsx'\nimport { breadcrumb } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots'\nimport { ark } from '@ark-ui/react'\nimport * as ReactIs from 'react-is'\nimport { Children, cloneElement, ComponentProps, type FC, forwardRef, ReactElement, ReactNode } from 'react'\n\nconst { withProvider, withContext } = createStyleContext(breadcrumb)\n\nconst StyledBreadcrumb = withProvider(styled('nav'), 'root')\nconst StyledBreadcrumbList = withContext(styled('ol'), 'list')\n\nexport const BreadcrumbItem = withContext(styled('li'), 'item')\nexport const BreadcrumbLink = withContext(styled(ark.a), 'link')\n\nconst DefaultSeparator = (\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M16.2803 11.4741C16.5732 11.767 16.5732 12.2418 16.2803 12.5347L8.78033 20.0347C8.48744 20.3276 8.01256 20.3276 7.71967 20.0347C7.42678 19.7418 7.42678 19.267 7.71967 18.9741L14.6893 12.0044L7.71967 5.03472C7.42678 4.74183 7.42678 4.26696 7.71967 3.97406C8.01256 3.68117 8.48744 3.68117 8.78033 3.97406L16.2803 11.4741Z\"\n fill=\"#1E3A76\"\n />\n </svg>\n)\n\nexport const Breadcrumb = forwardRef<HTMLElement, BreadcrumbProps>(\n ({ children, separator = DefaultSeparator, ...props }, ref) => {\n const child = Children.toArray(\n ReactIs.isFragment(children) ? undefined : children,\n ) as ReactElement<BreadcrumbItemProps>[]\n\n return (\n <StyledBreadcrumb {...props} aria-label={props['aria-label'] ?? 'breadcrumb'} ref={ref}>\n <StyledBreadcrumbList>\n {child.map((item, index) => {\n return cloneElement<BreadcrumbItemProps>(item, {\n 'aria-current': index === child.length - 1 ? 'page' : undefined,\n children:\n index === child.length - 1 ? (\n item.props.children\n ) : (\n <>\n {item.props.children}\n {separator ? (\n <>\n {typeof separator === 'object' ? (\n cloneElement(separator as ReactElement)\n ) : (\n <span role=\"presentation\">{separator}</span>\n )}\n </>\n ) : null}\n </>\n ),\n })\n })}\n </StyledBreadcrumbList>\n </StyledBreadcrumb>\n )\n },\n) as FC<BreadcrumbProps>\n\nexport type BreadcrumbLinkProps = ComponentProps<typeof BreadcrumbLink>\nexport type BreadcrumbItemProps = ComponentProps<typeof BreadcrumbItem>\nexport type BreadcrumbProps = ComponentProps<typeof StyledBreadcrumb> & {\n separator?: ReactNode\n}\n"],"mappings":"oTAOA,GAAM,CAAE,eAAc,eAAgB,EAAA,mBAAmB,EAAA,UAAU,EAE7D,EAAmB,GAAA,EAAA,EAAA,QAAoB,KAAK,EAAG,MAAM,EACrD,EAAuB,GAAA,EAAA,EAAA,QAAmB,IAAI,EAAG,MAAM,EAEhD,EAAiB,GAAA,EAAA,EAAA,QAAmB,IAAI,EAAG,MAAM,EACjD,EAAiB,GAAA,EAAA,EAAA,QAAmB,EAAA,IAAI,CAAC,EAAG,MAAM,EAEzD,GACJ,EAAA,EAAA,KAAC,MAAD,CAAK,MAAM,KAAK,OAAO,KAAK,QAAQ,YAAY,KAAK,OAAO,MAAM,uCAChE,EAAA,EAAA,KAAC,OAAD,CACE,SAAS,UACT,SAAS,UACT,EAAE,kUACF,KAAK,SACN,CAAA,CACE,CAAA,EAGM,GAAA,EAAA,EAAA,aACV,CAAE,WAAU,YAAY,EAAkB,GAAG,GAAS,IAAQ,CAC7D,IAAM,EAAQ,EAAA,SAAS,QACrB,EAAQ,WAAW,CAAQ,EAAI,IAAA,GAAY,CAC7C,EAEA,OACE,EAAA,EAAA,KAAC,EAAD,CAAkB,GAAI,EAAO,aAAY,EAAM,eAAiB,aAAmB,gBACjF,EAAA,EAAA,KAAC,EAAD,CAAA,SACG,EAAM,KAAK,EAAM,KAChB,EAAA,EAAA,cAAyC,EAAM,CAC7C,eAAgB,IAAU,EAAM,OAAS,EAAI,OAAS,IAAA,GACtD,SACE,IAAU,EAAM,OAAS,EACvB,EAAK,MAAM,UAEX,EAAA,EAAA,MAAA,EAAA,SAAA,CAAA,SAAA,CACG,EAAK,MAAM,SACX,GACC,EAAA,EAAA,KAAA,EAAA,SAAA,CAAA,SACG,OAAO,GAAc,UAAA,EAAA,EAAA,cACP,CAAyB,GAEtC,EAAA,EAAA,KAAC,OAAD,CAAM,KAAK,wBAAgB,CAAgB,CAAA,CAE7C,CAAA,EACA,IACJ,CAAA,CAAA,CAER,CAAC,CACF,CACmB,CAAA,CACN,CAAA,CAEtB,CACF"}
@@ -7,11 +7,9 @@ declare const StyledBreadcrumb: ComponentVariants<StyledComponent<"nav", {}>, Br
7
7
  export declare const BreadcrumbItem: StyledComponent<"li", {}>;
8
8
  export declare const BreadcrumbLink: StyledComponent<ForwardRefExoticComponent< ClassAttributes<HTMLAnchorElement> & AnchorHTMLAttributes<HTMLAnchorElement> & PolymorphicProps>, {}>;
9
9
  export declare const Breadcrumb: FC<BreadcrumbProps>;
10
- export interface BreadcrumbLinkProps extends ComponentProps<typeof BreadcrumbLink> {
11
- }
12
- export interface BreadcrumbItemProps extends ComponentProps<typeof BreadcrumbItem> {
13
- }
14
- export interface BreadcrumbProps extends ComponentProps<typeof StyledBreadcrumb> {
10
+ export type BreadcrumbLinkProps = ComponentProps<typeof BreadcrumbLink>;
11
+ export type BreadcrumbItemProps = ComponentProps<typeof BreadcrumbItem>;
12
+ export type BreadcrumbProps = ComponentProps<typeof StyledBreadcrumb> & {
15
13
  separator?: ReactNode;
16
- }
14
+ };
17
15
  export {};
@@ -1,36 +1,40 @@
1
1
  "use client";
2
- import { jsx as r, jsxs as h, Fragment as a } from "react/jsx-runtime";
3
- import { styled as t } from "@stokelp/styled-system/jsx";
4
- import { breadcrumb as p } from "@stokelp/styled-system/recipes";
5
- import { createStyleContext as u } from "../../utils/slots.js";
6
- import { ark as f } from "@ark-ui/react";
7
- import * as b from "react-is";
8
- import { forwardRef as g, Children as v, cloneElement as m } from "react";
9
- const { withProvider: w, withContext: n } = u(p), C = w(t("nav"), "root"), x = n(t("ol"), "list"), A = n(t("li"), "item"), E = n(t(f.a), "link"), y = /* @__PURE__ */ r("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ r(
10
- "path",
11
- {
12
- fillRule: "evenodd",
13
- clipRule: "evenodd",
14
- d: "M16.2803 11.4741C16.5732 11.767 16.5732 12.2418 16.2803 12.5347L8.78033 20.0347C8.48744 20.3276 8.01256 20.3276 7.71967 20.0347C7.42678 19.7418 7.42678 19.267 7.71967 18.9741L14.6893 12.0044L7.71967 5.03472C7.42678 4.74183 7.42678 4.26696 7.71967 3.97406C8.01256 3.68117 8.48744 3.68117 8.78033 3.97406L16.2803 11.4741Z",
15
- fill: "#1E3A76"
16
- }
17
- ) }), F = g(
18
- ({ children: i, separator: e = y, ...c }, s) => {
19
- const o = v.toArray(
20
- b.isFragment(i) ? void 0 : i
21
- );
22
- return /* @__PURE__ */ r(C, { ...c, "aria-label": c["aria-label"] ?? "breadcrumb", ref: s, children: /* @__PURE__ */ r(x, { children: o.map((l, d) => m(l, {
23
- "aria-current": d === o.length - 1 ? "page" : void 0,
24
- children: d === o.length - 1 ? l.props.children : /* @__PURE__ */ h(a, { children: [
25
- l.props.children,
26
- e ? /* @__PURE__ */ r(a, { children: typeof e == "object" ? m(e) : /* @__PURE__ */ r("span", { role: "presentation", children: e }) }) : null
27
- ] })
28
- })) }) });
29
- }
30
- );
31
- export {
32
- F as Breadcrumb,
33
- A as BreadcrumbItem,
34
- E as BreadcrumbLink
35
- };
36
- //# sourceMappingURL=Breadcrumb.js.map
2
+ import { createStyleContext as e } from "../../utils/slots.js";
3
+ import { ark as t } from "@ark-ui/react";
4
+ import { styled as n } from "@stokelp/styled-system/jsx";
5
+ import { breadcrumb as r } from "@stokelp/styled-system/recipes";
6
+ import { Children as i, cloneElement as a, forwardRef as o } from "react";
7
+ import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
8
+ import * as u from "react-is";
9
+ //#region src/components/breadcrumb/Breadcrumb.tsx
10
+ var { withProvider: d, withContext: f } = e(r), p = d(n("nav"), "root"), m = f(n("ol"), "list"), h = f(n("li"), "item"), g = f(n(t.a), "link"), _ = /* @__PURE__ */ c("svg", {
11
+ width: "16",
12
+ height: "16",
13
+ viewBox: "0 0 24 24",
14
+ fill: "none",
15
+ xmlns: "http://www.w3.org/2000/svg",
16
+ children: /* @__PURE__ */ c("path", {
17
+ fillRule: "evenodd",
18
+ clipRule: "evenodd",
19
+ d: "M16.2803 11.4741C16.5732 11.767 16.5732 12.2418 16.2803 12.5347L8.78033 20.0347C8.48744 20.3276 8.01256 20.3276 7.71967 20.0347C7.42678 19.7418 7.42678 19.267 7.71967 18.9741L14.6893 12.0044L7.71967 5.03472C7.42678 4.74183 7.42678 4.26696 7.71967 3.97406C8.01256 3.68117 8.48744 3.68117 8.78033 3.97406L16.2803 11.4741Z",
20
+ fill: "#1E3A76"
21
+ })
22
+ }), v = o(({ children: e, separator: t = _, ...n }, r) => {
23
+ let o = i.toArray(u.isFragment(e) ? void 0 : e);
24
+ return /* @__PURE__ */ c(p, {
25
+ ...n,
26
+ "aria-label": n["aria-label"] ?? "breadcrumb",
27
+ ref: r,
28
+ children: /* @__PURE__ */ c(m, { children: o.map((e, n) => a(e, {
29
+ "aria-current": n === o.length - 1 ? "page" : void 0,
30
+ children: n === o.length - 1 ? e.props.children : /* @__PURE__ */ l(s, { children: [e.props.children, t ? /* @__PURE__ */ c(s, { children: typeof t == "object" ? a(t) : /* @__PURE__ */ c("span", {
31
+ role: "presentation",
32
+ children: t
33
+ }) }) : null] })
34
+ })) })
35
+ });
36
+ });
37
+ //#endregion
38
+ export { v as Breadcrumb, h as BreadcrumbItem, g as BreadcrumbLink };
39
+
40
+ //# sourceMappingURL=Breadcrumb.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Breadcrumb.js","sources":["../../../src/components/breadcrumb/Breadcrumb.tsx"],"sourcesContent":["import { styled } from '@stokelp/styled-system/jsx'\nimport { breadcrumb } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots'\nimport { ark } from '@ark-ui/react'\nimport * as ReactIs from 'react-is'\nimport { Children, cloneElement, ComponentProps, type FC, forwardRef, ReactElement, ReactNode } from 'react'\n\nconst { withProvider, withContext } = createStyleContext(breadcrumb)\n\nconst StyledBreadcrumb = withProvider(styled('nav'), 'root')\nconst StyledBreadcrumbList = withContext(styled('ol'), 'list')\n\nexport const BreadcrumbItem = withContext(styled('li'), 'item')\nexport const BreadcrumbLink = withContext(styled(ark.a), 'link')\n\nconst DefaultSeparator = (\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M16.2803 11.4741C16.5732 11.767 16.5732 12.2418 16.2803 12.5347L8.78033 20.0347C8.48744 20.3276 8.01256 20.3276 7.71967 20.0347C7.42678 19.7418 7.42678 19.267 7.71967 18.9741L14.6893 12.0044L7.71967 5.03472C7.42678 4.74183 7.42678 4.26696 7.71967 3.97406C8.01256 3.68117 8.48744 3.68117 8.78033 3.97406L16.2803 11.4741Z\"\n fill=\"#1E3A76\"\n />\n </svg>\n)\n\nexport const Breadcrumb = forwardRef<HTMLElement, BreadcrumbProps>(\n ({ children, separator = DefaultSeparator, ...props }, ref) => {\n const child = Children.toArray(\n ReactIs.isFragment(children) ? undefined : children,\n ) as ReactElement<BreadcrumbItemProps>[]\n\n return (\n <StyledBreadcrumb {...props} aria-label={props['aria-label'] ?? 'breadcrumb'} ref={ref}>\n <StyledBreadcrumbList>\n {child.map((item, index) => {\n return cloneElement<BreadcrumbItemProps>(item, {\n 'aria-current': index === child.length - 1 ? 'page' : undefined,\n children:\n index === child.length - 1 ? (\n item.props.children\n ) : (\n <>\n {item.props.children}\n {separator ? (\n <>\n {typeof separator === 'object' ? (\n cloneElement(separator as ReactElement)\n ) : (\n <span role=\"presentation\">{separator}</span>\n )}\n </>\n ) : null}\n </>\n ),\n })\n })}\n </StyledBreadcrumbList>\n </StyledBreadcrumb>\n )\n },\n) as FC<BreadcrumbProps>\n\nexport interface BreadcrumbLinkProps extends ComponentProps<typeof BreadcrumbLink> {}\nexport interface BreadcrumbItemProps extends ComponentProps<typeof BreadcrumbItem> {}\nexport interface BreadcrumbProps extends ComponentProps<typeof StyledBreadcrumb> {\n separator?: ReactNode\n}\n"],"names":["withProvider","withContext","createStyleContext","breadcrumb","StyledBreadcrumb","styled","StyledBreadcrumbList","BreadcrumbItem","BreadcrumbLink","ark","DefaultSeparator","jsx","Breadcrumb","forwardRef","children","separator","props","ref","child","Children","ReactIs","item","index","cloneElement","jsxs","Fragment"],"mappings":";;;;;;;;AAOA,MAAM,EAAE,cAAAA,GAAc,aAAAC,MAAgBC,EAAmBC,CAAU,GAE7DC,IAAmBJ,EAAaK,EAAO,KAAK,GAAG,MAAM,GACrDC,IAAuBL,EAAYI,EAAO,IAAI,GAAG,MAAM,GAEhDE,IAAiBN,EAAYI,EAAO,IAAI,GAAG,MAAM,GACjDG,IAAiBP,EAAYI,EAAOI,EAAI,CAAC,GAAG,MAAM,GAEzDC,IACJ,gBAAAC,EAAC,OAAA,EAAI,OAAM,MAAK,QAAO,MAAK,SAAQ,aAAY,MAAK,QAAO,OAAM,8BAChE,UAAA,gBAAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,UAAS;AAAA,IACT,UAAS;AAAA,IACT,GAAE;AAAA,IACF,MAAK;AAAA,EAAA;AACP,GACF,GAGWC,IAAaC;AAAA,EACxB,CAAC,EAAE,UAAAC,GAAU,WAAAC,IAAYL,GAAkB,GAAGM,EAAA,GAASC,MAAQ;AAC7D,UAAMC,IAAQC,EAAS;AAAA,MACrBC,EAAQ,WAAWN,CAAQ,IAAI,SAAYA;AAAA,IAAA;AAG7C,6BACGV,GAAA,EAAkB,GAAGY,GAAO,cAAYA,EAAM,YAAY,KAAK,cAAc,KAAAC,GAC5E,4BAACX,GAAA,EACE,UAAAY,EAAM,IAAI,CAACG,GAAMC,MACTC,EAAkCF,GAAM;AAAA,MAC7C,gBAAgBC,MAAUJ,EAAM,SAAS,IAAI,SAAS;AAAA,MACtD,UACEI,MAAUJ,EAAM,SAAS,IACvBG,EAAK,MAAM,WAEX,gBAAAG,EAAAC,GAAA,EACG,UAAA;AAAA,QAAAJ,EAAK,MAAM;AAAA,QACXN,IACC,gBAAAJ,EAAAc,GAAA,EACG,UAAA,OAAOV,KAAc,WACpBQ,EAAaR,CAAyB,IAEtC,gBAAAJ,EAAC,QAAA,EAAK,MAAK,gBAAgB,UAAAI,EAAA,CAAU,GAEzC,IACE;AAAA,MAAA,EAAA,CACN;AAAA,IAAA,CAEL,CACF,GACH,GACF;AAAA,EAEJ;AACF;"}
1
+ {"version":3,"file":"Breadcrumb.js","names":[],"sources":["../../../src/components/breadcrumb/Breadcrumb.tsx"],"sourcesContent":["import { styled } from '@stokelp/styled-system/jsx'\nimport { breadcrumb } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots'\nimport { ark } from '@ark-ui/react'\nimport * as ReactIs from 'react-is'\nimport { Children, cloneElement, ComponentProps, type FC, forwardRef, ReactElement, ReactNode } from 'react'\n\nconst { withProvider, withContext } = createStyleContext(breadcrumb)\n\nconst StyledBreadcrumb = withProvider(styled('nav'), 'root')\nconst StyledBreadcrumbList = withContext(styled('ol'), 'list')\n\nexport const BreadcrumbItem = withContext(styled('li'), 'item')\nexport const BreadcrumbLink = withContext(styled(ark.a), 'link')\n\nconst DefaultSeparator = (\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M16.2803 11.4741C16.5732 11.767 16.5732 12.2418 16.2803 12.5347L8.78033 20.0347C8.48744 20.3276 8.01256 20.3276 7.71967 20.0347C7.42678 19.7418 7.42678 19.267 7.71967 18.9741L14.6893 12.0044L7.71967 5.03472C7.42678 4.74183 7.42678 4.26696 7.71967 3.97406C8.01256 3.68117 8.48744 3.68117 8.78033 3.97406L16.2803 11.4741Z\"\n fill=\"#1E3A76\"\n />\n </svg>\n)\n\nexport const Breadcrumb = forwardRef<HTMLElement, BreadcrumbProps>(\n ({ children, separator = DefaultSeparator, ...props }, ref) => {\n const child = Children.toArray(\n ReactIs.isFragment(children) ? undefined : children,\n ) as ReactElement<BreadcrumbItemProps>[]\n\n return (\n <StyledBreadcrumb {...props} aria-label={props['aria-label'] ?? 'breadcrumb'} ref={ref}>\n <StyledBreadcrumbList>\n {child.map((item, index) => {\n return cloneElement<BreadcrumbItemProps>(item, {\n 'aria-current': index === child.length - 1 ? 'page' : undefined,\n children:\n index === child.length - 1 ? (\n item.props.children\n ) : (\n <>\n {item.props.children}\n {separator ? (\n <>\n {typeof separator === 'object' ? (\n cloneElement(separator as ReactElement)\n ) : (\n <span role=\"presentation\">{separator}</span>\n )}\n </>\n ) : null}\n </>\n ),\n })\n })}\n </StyledBreadcrumbList>\n </StyledBreadcrumb>\n )\n },\n) as FC<BreadcrumbProps>\n\nexport type BreadcrumbLinkProps = ComponentProps<typeof BreadcrumbLink>\nexport type BreadcrumbItemProps = ComponentProps<typeof BreadcrumbItem>\nexport type BreadcrumbProps = ComponentProps<typeof StyledBreadcrumb> & {\n separator?: ReactNode\n}\n"],"mappings":";;;;;;;;;AAOA,IAAM,EAAE,iBAAc,mBAAgB,EAAmB,CAAU,GAE7D,IAAmB,EAAa,EAAO,KAAK,GAAG,MAAM,GACrD,IAAuB,EAAY,EAAO,IAAI,GAAG,MAAM,GAEhD,IAAiB,EAAY,EAAO,IAAI,GAAG,MAAM,GACjD,IAAiB,EAAY,EAAO,EAAI,CAAC,GAAG,MAAM,GAEzD,IACJ,kBAAC,OAAD;CAAK,OAAM;CAAK,QAAO;CAAK,SAAQ;CAAY,MAAK;CAAO,OAAM;WAChE,kBAAC,QAAD;EACE,UAAS;EACT,UAAS;EACT,GAAE;EACF,MAAK;CACN,CAAA;AACE,CAAA,GAGM,IAAa,GACvB,EAAE,aAAU,eAAY,GAAkB,GAAG,KAAS,MAAQ;CAC7D,IAAM,IAAQ,EAAS,QACrB,EAAQ,WAAW,CAAQ,IAAI,KAAA,IAAY,CAC7C;CAEA,OACE,kBAAC,GAAD;EAAkB,GAAI;EAAO,cAAY,EAAM,iBAAiB;EAAmB;YACjF,kBAAC,GAAD,EAAA,UACG,EAAM,KAAK,GAAM,MACT,EAAkC,GAAM;GAC7C,gBAAgB,MAAU,EAAM,SAAS,IAAI,SAAS,KAAA;GACtD,UACE,MAAU,EAAM,SAAS,IACvB,EAAK,MAAM,WAEX,kBAAA,GAAA,EAAA,UAAA,CACG,EAAK,MAAM,UACX,IACC,kBAAA,GAAA,EAAA,UACG,OAAO,KAAc,WACpB,EAAa,CAAyB,IAEtC,kBAAC,QAAD;IAAM,MAAK;cAAgB;GAAgB,CAAA,EAE7C,CAAA,IACA,IACJ,EAAA,CAAA;EAER,CAAC,CACF,EACmB,CAAA;CACN,CAAA;AAEtB,CACF"}
@@ -1,2 +1,2 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@ark-ui/react"),e=require("@stokelp/styled-system/jsx"),r=require("@stokelp/styled-system/recipes"),o=e.styled(t.ark.button,r.button);exports.Button=o;
2
- //# sourceMappingURL=Button.cjs.map
1
+ "use client";let e=require("@ark-ui/react"),t=require("@stokelp/styled-system/jsx"),n=require("@stokelp/styled-system/recipes");var r=(0,t.styled)(e.ark.button,n.button);exports.Button=r;
2
+ //# sourceMappingURL=Button.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.cjs","sources":["../../../src/components/button/Button.tsx"],"sourcesContent":["import { ark } from '@ark-ui/react'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { button } from '@stokelp/styled-system/recipes'\nimport type { ComponentProps } from 'react'\n\nexport const Button = styled(ark.button, button)\nexport interface ButtonProps extends ComponentProps<typeof Button> {}\n"],"names":["Button","styled","ark","button"],"mappings":"kNAKaA,EAASC,EAAAA,OAAOC,MAAI,OAAQC,EAAAA,MAAM"}
1
+ {"version":3,"file":"Button.cjs","names":[],"sources":["../../../src/components/button/Button.tsx"],"sourcesContent":["import { ark } from '@ark-ui/react'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { button } from '@stokelp/styled-system/recipes'\nimport type { ComponentProps } from 'react'\n\nexport const Button = styled(ark.button, button)\nexport interface ButtonProps extends ComponentProps<typeof Button> {}\n"],"mappings":"gIAKA,IAAa,GAAA,EAAA,EAAA,QAAgB,EAAA,IAAI,OAAQ,EAAA,MAAM"}
@@ -1,9 +1,10 @@
1
1
  "use client";
2
- import { ark as t } from "@ark-ui/react";
3
- import { styled as o } from "@stokelp/styled-system/jsx";
4
- import { button as r } from "@stokelp/styled-system/recipes";
5
- const i = o(t.button, r);
6
- export {
7
- i as Button
8
- };
9
- //# sourceMappingURL=Button.js.map
2
+ import { ark as e } from "@ark-ui/react";
3
+ import { styled as t } from "@stokelp/styled-system/jsx";
4
+ import { button as n } from "@stokelp/styled-system/recipes";
5
+ //#region src/components/button/Button.tsx
6
+ var r = t(e.button, n);
7
+ //#endregion
8
+ export { r as Button };
9
+
10
+ //# sourceMappingURL=Button.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.js","sources":["../../../src/components/button/Button.tsx"],"sourcesContent":["import { ark } from '@ark-ui/react'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { button } from '@stokelp/styled-system/recipes'\nimport type { ComponentProps } from 'react'\n\nexport const Button = styled(ark.button, button)\nexport interface ButtonProps extends ComponentProps<typeof Button> {}\n"],"names":["Button","styled","ark","button"],"mappings":";;;;AAKO,MAAMA,IAASC,EAAOC,EAAI,QAAQC,CAAM;"}
1
+ {"version":3,"file":"Button.js","names":[],"sources":["../../../src/components/button/Button.tsx"],"sourcesContent":["import { ark } from '@ark-ui/react'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { button } from '@stokelp/styled-system/recipes'\nimport type { ComponentProps } from 'react'\n\nexport const Button = styled(ark.button, button)\nexport interface ButtonProps extends ComponentProps<typeof Button> {}\n"],"mappings":";;;;;AAKA,IAAa,IAAS,EAAO,EAAI,QAAQ,CAAM"}
@@ -1,2 +1,2 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@ark-ui/react"),e=require("@stokelp/styled-system/jsx"),r=require("@stokelp/styled-system/recipes"),o=e.styled(t.ark.button,r.buttonFilter);exports.ButtonFilter=o;
2
- //# sourceMappingURL=ButtonFilter.cjs.map
1
+ "use client";let e=require("@ark-ui/react"),t=require("@stokelp/styled-system/jsx"),n=require("@stokelp/styled-system/recipes");var r=(0,t.styled)(e.ark.button,n.buttonFilter);exports.ButtonFilter=r;
2
+ //# sourceMappingURL=ButtonFilter.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonFilter.cjs","sources":["../../../src/components/button-filter/ButtonFilter.tsx"],"sourcesContent":["import { ark } from '@ark-ui/react'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { buttonFilter } from '@stokelp/styled-system/recipes'\nimport type { ComponentProps } from 'react'\n\nexport const ButtonFilter = styled(ark.button, buttonFilter)\nexport interface ButtonFilterProps extends ComponentProps<typeof ButtonFilter> {}\n"],"names":["ButtonFilter","styled","ark","buttonFilter"],"mappings":"kNAKaA,EAAeC,EAAAA,OAAOC,MAAI,OAAQC,EAAAA,YAAY"}
1
+ {"version":3,"file":"ButtonFilter.cjs","names":[],"sources":["../../../src/components/button-filter/ButtonFilter.tsx"],"sourcesContent":["import { ark } from '@ark-ui/react'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { buttonFilter } from '@stokelp/styled-system/recipes'\nimport type { ComponentProps } from 'react'\n\nexport const ButtonFilter = styled(ark.button, buttonFilter)\nexport interface ButtonFilterProps extends ComponentProps<typeof ButtonFilter> {}\n"],"mappings":"gIAKA,IAAa,GAAA,EAAA,EAAA,QAAsB,EAAA,IAAI,OAAQ,EAAA,YAAY"}
@@ -1,9 +1,10 @@
1
1
  "use client";
2
- import { ark as t } from "@ark-ui/react";
3
- import { styled as o } from "@stokelp/styled-system/jsx";
4
- import { buttonFilter as r } from "@stokelp/styled-system/recipes";
5
- const n = o(t.button, r);
6
- export {
7
- n as ButtonFilter
8
- };
9
- //# sourceMappingURL=ButtonFilter.js.map
2
+ import { ark as e } from "@ark-ui/react";
3
+ import { styled as t } from "@stokelp/styled-system/jsx";
4
+ import { buttonFilter as n } from "@stokelp/styled-system/recipes";
5
+ //#region src/components/button-filter/ButtonFilter.tsx
6
+ var r = t(e.button, n);
7
+ //#endregion
8
+ export { r as ButtonFilter };
9
+
10
+ //# sourceMappingURL=ButtonFilter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonFilter.js","sources":["../../../src/components/button-filter/ButtonFilter.tsx"],"sourcesContent":["import { ark } from '@ark-ui/react'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { buttonFilter } from '@stokelp/styled-system/recipes'\nimport type { ComponentProps } from 'react'\n\nexport const ButtonFilter = styled(ark.button, buttonFilter)\nexport interface ButtonFilterProps extends ComponentProps<typeof ButtonFilter> {}\n"],"names":["ButtonFilter","styled","ark","buttonFilter"],"mappings":";;;;AAKO,MAAMA,IAAeC,EAAOC,EAAI,QAAQC,CAAY;"}
1
+ {"version":3,"file":"ButtonFilter.js","names":[],"sources":["../../../src/components/button-filter/ButtonFilter.tsx"],"sourcesContent":["import { ark } from '@ark-ui/react'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { buttonFilter } from '@stokelp/styled-system/recipes'\nimport type { ComponentProps } from 'react'\n\nexport const ButtonFilter = styled(ark.button, buttonFilter)\nexport interface ButtonFilterProps extends ComponentProps<typeof ButtonFilter> {}\n"],"mappings":";;;;;AAKA,IAAa,IAAe,EAAO,EAAI,QAAQ,CAAY"}
@@ -1,2 +1,2 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),u=require("@stokelp/styled-system/recipes"),l=require("../../utils/slots.cjs"),g=require("./ChatMessage.cjs"),m=require("./ChatDocumentMessage.cjs"),r=require("@ark-ui/react"),a=require("@stokelp/styled-system/jsx"),h=require("./ChatProfileAvatar.cjs"),{withProvider:t}=l.createStyleContext(u.chat),d=t(a.styled(r.ark.div),"root"),o=t(r.ark.div,"message-container"),M=t(g.ChatMessage,"message"),x=t(m.ChatDocumentMessage,"document-message"),j=t(h.ChatProfileAvatar,"document-message"),q=({messages:n=[],...c})=>e.jsx(e.Fragment,{children:e.jsx(d,{...c,children:e.jsxs(e.Fragment,{children:[n.map((s,i)=>e.jsx(o,{className:`chat-message-container-${s.side}`,children:s.children},i)),e.jsx(a.Box,{id:"chat-anchor"})]})})});exports.DocumentMessage=x;exports.Message=M;exports.MessageContainer=o;exports.ProfileAvatar=j;exports.Root=q;
2
- //# sourceMappingURL=Chat.cjs.map
1
+ "use client";const e=require("../../_virtual/_rolldown/runtime.cjs"),t=require("../../utils/slots.cjs"),n=require("./ChatMessage.cjs"),r=require("./ChatDocumentMessage.cjs"),i=require("./ChatProfileAvatar.cjs");let a=require("@ark-ui/react"),o=require("@stokelp/styled-system/jsx"),s=require("@stokelp/styled-system/recipes"),c=require("react/jsx-runtime");var l=e.__exportAll({DocumentMessage:()=>m,Message:()=>p,MessageContainer:()=>f,ProfileAvatar:()=>h,Root:()=>g}),{withProvider:u}=t.createStyleContext(s.chat),d=u((0,o.styled)(a.ark.div),`root`),f=u(a.ark.div,`message-container`),p=u(n.ChatMessage,`message`),m=u(r.ChatDocumentMessage,`document-message`),h=u(i.ChatProfileAvatar,`document-message`),g=({messages:e=[],...t})=>(0,c.jsx)(c.Fragment,{children:(0,c.jsx)(d,{...t,children:(0,c.jsxs)(c.Fragment,{children:[e.map((e,t)=>(0,c.jsx)(f,{className:`chat-message-container-${e.side}`,children:e.children},t)),(0,c.jsx)(o.Box,{id:`chat-anchor`})]})})});Object.defineProperty(exports,"Chat_exports",{enumerable:!0,get:function(){return l}});
2
+ //# sourceMappingURL=Chat.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Chat.cjs","sources":["../../../src/components/chat/Chat.tsx"],"sourcesContent":["import { FC, ReactElement } from 'react'\nimport { chat } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots.tsx'\nimport { ChatMessage, ChatMessageProps } from '~/components/chat/ChatMessage.tsx'\nimport { ChatDocumentMessage, ChatDocumentMessageProps } from '~/components/chat/ChatDocumentMessage.tsx'\nimport { HTMLStyledProps, RecipeVariantProps } from '@stokelp/styled-system/types'\nimport { ark } from '@ark-ui/react'\nimport { Box, styled } from '@stokelp/styled-system/jsx'\nimport { ChatProfileAvatar, ChatProfileAvatarProps } from '~/components/chat/ChatProfileAvatar.tsx'\n\nconst { withProvider } = createStyleContext(chat)\n\nconst RootStyleElement = withProvider(styled(ark.div), 'root')\nexport const MessageContainer = withProvider(ark.div, 'message-container')\nexport const Message = withProvider(ChatMessage, 'message')\nexport const DocumentMessage = withProvider(ChatDocumentMessage, 'document-message')\nexport const ProfileAvatar = withProvider(ChatProfileAvatar, 'document-message')\n\nexport type RootProps = {\n messages?: {\n side?: 'left' | 'right' | 'center'\n children: ReactElement\n }[]\n} & HTMLStyledProps<'div'> &\n RecipeVariantProps<typeof chat>\n\nexport interface MessageProps extends ChatMessageProps {}\nexport interface DocumentMessageProps extends ChatDocumentMessageProps {}\nexport interface ProfileAvatarProps extends ChatProfileAvatarProps {}\n\nexport const Root: FC<RootProps> = ({ messages = [], ...props }) => {\n return (\n <>\n {\n <RootStyleElement\n {...props}\n children={\n <>\n {messages.map((MessageComponent, index) => (\n <MessageContainer key={index} className={`chat-message-container-${MessageComponent.side}`}>\n {MessageComponent.children}\n </MessageContainer>\n ))}\n <Box id=\"chat-anchor\" />\n </>\n }\n />\n }\n </>\n )\n}\n"],"names":["withProvider","createStyleContext","chat","RootStyleElement","styled","ark","MessageContainer","Message","ChatMessage","DocumentMessage","ChatDocumentMessage","ProfileAvatar","ChatProfileAvatar","Root","messages","props","jsx","Fragment","jsxs","MessageComponent","index","Box"],"mappings":"+XAUM,CAAE,aAAAA,CAAA,EAAiBC,EAAAA,mBAAmBC,MAAI,EAE1CC,EAAmBH,EAAaI,EAAAA,OAAOC,EAAAA,IAAI,GAAG,EAAG,MAAM,EAChDC,EAAmBN,EAAaK,MAAI,IAAK,mBAAmB,EAC5DE,EAAUP,EAAaQ,EAAAA,YAAa,SAAS,EAC7CC,EAAkBT,EAAaU,EAAAA,oBAAqB,kBAAkB,EACtEC,EAAgBX,EAAaY,EAAAA,kBAAmB,kBAAkB,EAclEC,EAAsB,CAAC,CAAE,SAAAC,EAAW,CAAA,EAAI,GAAGC,KAEpDC,MAAAC,EAAAA,SAAA,CAEI,SAAAD,EAAAA,IAACb,EAAA,CACE,GAAGY,EACJ,SACEG,EAAAA,KAAAD,WAAA,CACG,SAAA,CAAAH,EAAS,IAAI,CAACK,EAAkBC,UAC9Bd,EAAA,CAA6B,UAAW,0BAA0Ba,EAAiB,IAAI,GACrF,SAAAA,EAAiB,QAAA,EADGC,CAEvB,CACD,EACDJ,EAAAA,IAACK,EAAAA,IAAA,CAAI,GAAG,aAAA,CAAc,CAAA,CAAA,CACxB,CAAA,CAAA,EAIR"}
1
+ {"version":3,"file":"Chat.cjs","names":[],"sources":["../../../src/components/chat/Chat.tsx"],"sourcesContent":["import { FC, ReactElement } from 'react'\nimport { chat } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots.tsx'\nimport { ChatMessage, ChatMessageProps } from '~/components/chat/ChatMessage.tsx'\nimport { ChatDocumentMessage, ChatDocumentMessageProps } from '~/components/chat/ChatDocumentMessage.tsx'\nimport { HTMLStyledProps, RecipeVariantProps } from '@stokelp/styled-system/types'\nimport { ark } from '@ark-ui/react'\nimport { Box, styled } from '@stokelp/styled-system/jsx'\nimport { ChatProfileAvatar, ChatProfileAvatarProps } from '~/components/chat/ChatProfileAvatar.tsx'\n\nconst { withProvider } = createStyleContext(chat)\n\nconst RootStyleElement = withProvider(styled(ark.div), 'root')\nexport const MessageContainer = withProvider(ark.div, 'message-container')\nexport const Message = withProvider(ChatMessage, 'message')\nexport const DocumentMessage = withProvider(ChatDocumentMessage, 'document-message')\nexport const ProfileAvatar = withProvider(ChatProfileAvatar, 'document-message')\n\ntype ChatRootMessage = {\n side?: 'left' | 'right' | 'center'\n children: ReactElement\n}\n\nexport type RootProps = {\n messages?: ChatRootMessage[]\n} & HTMLStyledProps<'div'> &\n RecipeVariantProps<typeof chat>\n\nexport interface MessageProps extends ChatMessageProps {}\nexport interface DocumentMessageProps extends ChatDocumentMessageProps {}\nexport interface ProfileAvatarProps extends ChatProfileAvatarProps {}\n\nexport const Root: FC<RootProps> = ({ messages = [], ...props }) => {\n return (\n <>\n {\n <RootStyleElement\n {...props}\n children={\n <>\n {messages.map((MessageComponent: ChatRootMessage, index: number) => (\n <MessageContainer key={index} className={`chat-message-container-${MessageComponent.side}`}>\n {MessageComponent.children}\n </MessageContainer>\n ))}\n <Box id=\"chat-anchor\" />\n </>\n }\n />\n }\n </>\n )\n}\n"],"mappings":"sdAUM,CAAE,gBAAiB,EAAA,mBAAmB,EAAA,IAAI,EAE1C,EAAmB,GAAA,EAAA,EAAA,QAAoB,EAAA,IAAI,GAAG,EAAG,MAAM,EAChD,EAAmB,EAAa,EAAA,IAAI,IAAK,mBAAmB,EAC5D,EAAU,EAAa,EAAA,YAAa,SAAS,EAC7C,EAAkB,EAAa,EAAA,oBAAqB,kBAAkB,EACtE,EAAgB,EAAa,EAAA,kBAAmB,kBAAkB,EAgBlE,GAAuB,CAAE,WAAW,CAAC,EAAG,GAAG,MAEpD,EAAA,EAAA,KAAA,EAAA,SAAA,CAAA,UAEI,EAAA,EAAA,KAAC,EAAD,CACE,GAAI,EACJ,UACE,EAAA,EAAA,MAAA,EAAA,SAAA,CAAA,SAAA,CACG,EAAS,KAAK,EAAmC,KAChD,EAAA,EAAA,KAAC,EAAD,CAA8B,UAAW,0BAA0B,EAAiB,gBACjF,EAAiB,QACF,EAFK,CAEL,CACnB,GACD,EAAA,EAAA,KAAC,EAAA,IAAD,CAAK,GAAG,aAAe,CAAA,CACvB,CAAA,CAAA,CAEL,CAAA,CAEH,CAAA"}
@@ -10,11 +10,12 @@ export declare const MessageContainer: ComponentVariants<ForwardRefExoticCompone
10
10
  export declare const Message: ComponentVariants<StyledComponent<ForwardRefExoticComponent< ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & PolymorphicProps>, ChatMessageVariantProps>, ChatRecipe>;
11
11
  export declare const DocumentMessage: ComponentVariants<FC<ChatDocumentMessageProps>, ChatRecipe>;
12
12
  export declare const ProfileAvatar: ComponentVariants<FC<ChatProfileAvatarProps>, ChatRecipe>;
13
+ type ChatRootMessage = {
14
+ side?: 'left' | 'right' | 'center';
15
+ children: ReactElement;
16
+ };
13
17
  export type RootProps = {
14
- messages?: {
15
- side?: 'left' | 'right' | 'center';
16
- children: ReactElement;
17
- }[];
18
+ messages?: ChatRootMessage[];
18
19
  } & HTMLStyledProps<'div'> & RecipeVariantProps<typeof chat>;
19
20
  export interface MessageProps extends ChatMessageProps {
20
21
  }
@@ -23,3 +24,4 @@ export interface DocumentMessageProps extends ChatDocumentMessageProps {
23
24
  export interface ProfileAvatarProps extends ChatProfileAvatarProps {
24
25
  }
25
26
  export declare const Root: FC<RootProps>;
27
+ export {};
@@ -1,27 +1,28 @@
1
1
  "use client";
2
- import { jsx as t, Fragment as r, jsxs as c } from "react/jsx-runtime";
3
- import { chat as i } from "@stokelp/styled-system/recipes";
4
- import { createStyleContext as d } from "../../utils/slots.js";
5
- import { ChatMessage as h } from "./ChatMessage.js";
6
- import { ChatDocumentMessage as l } from "./ChatDocumentMessage.js";
7
- import { ark as s } from "@ark-ui/react";
8
- import { Box as f, styled as g } from "@stokelp/styled-system/jsx";
9
- import { ChatProfileAvatar as p } from "./ChatProfileAvatar.js";
10
- const { withProvider: e } = d(i), u = e(g(s.div), "root"), v = e(s.div, "message-container"), R = e(h, "message"), S = e(l, "document-message"), k = e(p, "document-message"), w = ({ messages: a = [], ...m }) => /* @__PURE__ */ t(r, { children: /* @__PURE__ */ t(
11
- u,
12
- {
13
- ...m,
14
- children: /* @__PURE__ */ c(r, { children: [
15
- a.map((o, n) => /* @__PURE__ */ t(v, { className: `chat-message-container-${o.side}`, children: o.children }, n)),
16
- /* @__PURE__ */ t(f, { id: "chat-anchor" })
17
- ] })
18
- }
19
- ) });
20
- export {
21
- S as DocumentMessage,
22
- R as Message,
23
- v as MessageContainer,
24
- k as ProfileAvatar,
25
- w as Root
26
- };
27
- //# sourceMappingURL=Chat.js.map
2
+ import { __exportAll as e } from "../../_virtual/_rolldown/runtime.js";
3
+ import { createStyleContext as t } from "../../utils/slots.js";
4
+ import { ChatMessage as n } from "./ChatMessage.js";
5
+ import { ChatDocumentMessage as r } from "./ChatDocumentMessage.js";
6
+ import { ChatProfileAvatar as i } from "./ChatProfileAvatar.js";
7
+ import { ark as a } from "@ark-ui/react";
8
+ import { Box as o, styled as s } from "@stokelp/styled-system/jsx";
9
+ import { chat as c } from "@stokelp/styled-system/recipes";
10
+ import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
11
+ //#region src/components/chat/Chat.tsx
12
+ var f = /* @__PURE__ */ e({
13
+ DocumentMessage: () => _,
14
+ Message: () => g,
15
+ MessageContainer: () => h,
16
+ ProfileAvatar: () => v,
17
+ Root: () => y
18
+ }), { withProvider: p } = t(c), m = p(s(a.div), "root"), h = p(a.div, "message-container"), g = p(n, "message"), _ = p(r, "document-message"), v = p(i, "document-message"), y = ({ messages: e = [], ...t }) => /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u(m, {
19
+ ...t,
20
+ children: /* @__PURE__ */ d(l, { children: [e.map((e, t) => /* @__PURE__ */ u(h, {
21
+ className: `chat-message-container-${e.side}`,
22
+ children: e.children
23
+ }, t)), /* @__PURE__ */ u(o, { id: "chat-anchor" })] })
24
+ }) });
25
+ //#endregion
26
+ export { f as Chat_exports };
27
+
28
+ //# sourceMappingURL=Chat.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Chat.js","sources":["../../../src/components/chat/Chat.tsx"],"sourcesContent":["import { FC, ReactElement } from 'react'\nimport { chat } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots.tsx'\nimport { ChatMessage, ChatMessageProps } from '~/components/chat/ChatMessage.tsx'\nimport { ChatDocumentMessage, ChatDocumentMessageProps } from '~/components/chat/ChatDocumentMessage.tsx'\nimport { HTMLStyledProps, RecipeVariantProps } from '@stokelp/styled-system/types'\nimport { ark } from '@ark-ui/react'\nimport { Box, styled } from '@stokelp/styled-system/jsx'\nimport { ChatProfileAvatar, ChatProfileAvatarProps } from '~/components/chat/ChatProfileAvatar.tsx'\n\nconst { withProvider } = createStyleContext(chat)\n\nconst RootStyleElement = withProvider(styled(ark.div), 'root')\nexport const MessageContainer = withProvider(ark.div, 'message-container')\nexport const Message = withProvider(ChatMessage, 'message')\nexport const DocumentMessage = withProvider(ChatDocumentMessage, 'document-message')\nexport const ProfileAvatar = withProvider(ChatProfileAvatar, 'document-message')\n\nexport type RootProps = {\n messages?: {\n side?: 'left' | 'right' | 'center'\n children: ReactElement\n }[]\n} & HTMLStyledProps<'div'> &\n RecipeVariantProps<typeof chat>\n\nexport interface MessageProps extends ChatMessageProps {}\nexport interface DocumentMessageProps extends ChatDocumentMessageProps {}\nexport interface ProfileAvatarProps extends ChatProfileAvatarProps {}\n\nexport const Root: FC<RootProps> = ({ messages = [], ...props }) => {\n return (\n <>\n {\n <RootStyleElement\n {...props}\n children={\n <>\n {messages.map((MessageComponent, index) => (\n <MessageContainer key={index} className={`chat-message-container-${MessageComponent.side}`}>\n {MessageComponent.children}\n </MessageContainer>\n ))}\n <Box id=\"chat-anchor\" />\n </>\n }\n />\n }\n </>\n )\n}\n"],"names":["withProvider","createStyleContext","chat","RootStyleElement","styled","ark","MessageContainer","Message","ChatMessage","DocumentMessage","ChatDocumentMessage","ProfileAvatar","ChatProfileAvatar","Root","messages","props","jsx","Fragment","jsxs","MessageComponent","index","Box"],"mappings":";;;;;;;;;AAUA,MAAM,EAAE,cAAAA,EAAA,IAAiBC,EAAmBC,CAAI,GAE1CC,IAAmBH,EAAaI,EAAOC,EAAI,GAAG,GAAG,MAAM,GAChDC,IAAmBN,EAAaK,EAAI,KAAK,mBAAmB,GAC5DE,IAAUP,EAAaQ,GAAa,SAAS,GAC7CC,IAAkBT,EAAaU,GAAqB,kBAAkB,GACtEC,IAAgBX,EAAaY,GAAmB,kBAAkB,GAclEC,IAAsB,CAAC,EAAE,UAAAC,IAAW,CAAA,GAAI,GAAGC,QAEpD,gBAAAC,EAAAC,GAAA,EAEI,UAAA,gBAAAD;AAAA,EAACb;AAAA,EAAA;AAAA,IACE,GAAGY;AAAA,IACJ,UACE,gBAAAG,EAAAD,GAAA,EACG,UAAA;AAAA,MAAAH,EAAS,IAAI,CAACK,GAAkBC,wBAC9Bd,GAAA,EAA6B,WAAW,0BAA0Ba,EAAiB,IAAI,IACrF,UAAAA,EAAiB,SAAA,GADGC,CAEvB,CACD;AAAA,MACD,gBAAAJ,EAACK,GAAA,EAAI,IAAG,cAAA,CAAc;AAAA,IAAA,EAAA,CACxB;AAAA,EAAA;AAAA,GAIR;"}
1
+ {"version":3,"file":"Chat.js","names":[],"sources":["../../../src/components/chat/Chat.tsx"],"sourcesContent":["import { FC, ReactElement } from 'react'\nimport { chat } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots.tsx'\nimport { ChatMessage, ChatMessageProps } from '~/components/chat/ChatMessage.tsx'\nimport { ChatDocumentMessage, ChatDocumentMessageProps } from '~/components/chat/ChatDocumentMessage.tsx'\nimport { HTMLStyledProps, RecipeVariantProps } from '@stokelp/styled-system/types'\nimport { ark } from '@ark-ui/react'\nimport { Box, styled } from '@stokelp/styled-system/jsx'\nimport { ChatProfileAvatar, ChatProfileAvatarProps } from '~/components/chat/ChatProfileAvatar.tsx'\n\nconst { withProvider } = createStyleContext(chat)\n\nconst RootStyleElement = withProvider(styled(ark.div), 'root')\nexport const MessageContainer = withProvider(ark.div, 'message-container')\nexport const Message = withProvider(ChatMessage, 'message')\nexport const DocumentMessage = withProvider(ChatDocumentMessage, 'document-message')\nexport const ProfileAvatar = withProvider(ChatProfileAvatar, 'document-message')\n\ntype ChatRootMessage = {\n side?: 'left' | 'right' | 'center'\n children: ReactElement\n}\n\nexport type RootProps = {\n messages?: ChatRootMessage[]\n} & HTMLStyledProps<'div'> &\n RecipeVariantProps<typeof chat>\n\nexport interface MessageProps extends ChatMessageProps {}\nexport interface DocumentMessageProps extends ChatDocumentMessageProps {}\nexport interface ProfileAvatarProps extends ChatProfileAvatarProps {}\n\nexport const Root: FC<RootProps> = ({ messages = [], ...props }) => {\n return (\n <>\n {\n <RootStyleElement\n {...props}\n children={\n <>\n {messages.map((MessageComponent: ChatRootMessage, index: number) => (\n <MessageContainer key={index} className={`chat-message-container-${MessageComponent.side}`}>\n {MessageComponent.children}\n </MessageContainer>\n ))}\n <Box id=\"chat-anchor\" />\n </>\n }\n />\n }\n </>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;IAUM,EAAE,oBAAiB,EAAmB,CAAI,GAE1C,IAAmB,EAAa,EAAO,EAAI,GAAG,GAAG,MAAM,GAChD,IAAmB,EAAa,EAAI,KAAK,mBAAmB,GAC5D,IAAU,EAAa,GAAa,SAAS,GAC7C,IAAkB,EAAa,GAAqB,kBAAkB,GACtE,IAAgB,EAAa,GAAmB,kBAAkB,GAgBlE,KAAuB,EAAE,cAAW,CAAC,GAAG,GAAG,QAEpD,kBAAA,GAAA,EAAA,UAEI,kBAAC,GAAD;CACE,GAAI;CACJ,UACE,kBAAA,GAAA,EAAA,UAAA,CACG,EAAS,KAAK,GAAmC,MAChD,kBAAC,GAAD;EAA8B,WAAW,0BAA0B,EAAiB;YACjF,EAAiB;CACF,GAFK,CAEL,CACnB,GACD,kBAAC,GAAD,EAAK,IAAG,cAAe,CAAA,CACvB,EAAA,CAAA;AAEL,CAAA,EAEH,CAAA"}