@stokelp/ui 2.127.0 → 3.0.1

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/README.md +4 -4
  2. package/dist/_virtual/_rolldown/runtime.cjs +1 -1
  3. package/dist/_virtual/_rolldown/runtime.js +4 -5
  4. package/dist/components/accordion/Accordion.cjs +1 -1
  5. package/dist/components/accordion/Accordion.cjs.map +1 -1
  6. package/dist/components/accordion/Accordion.d.ts +1 -1
  7. package/dist/components/accordion/Accordion.js +1 -2
  8. package/dist/components/accordion/Accordion.js.map +1 -1
  9. package/dist/components/action-card/ActionCard.cjs.map +1 -1
  10. package/dist/components/action-card/ActionCard.d.ts +1 -1
  11. package/dist/components/action-card/ActionCard.js +1 -2
  12. package/dist/components/action-card/ActionCard.js.map +1 -1
  13. package/dist/components/alert/Alert.cjs.map +1 -1
  14. package/dist/components/alert/Alert.d.ts +1 -1
  15. package/dist/components/alert/Alert.js +1 -2
  16. package/dist/components/alert/Alert.js.map +1 -1
  17. package/dist/components/app/mobile-card/MobileCardEntityRow.cjs.map +1 -1
  18. package/dist/components/app/mobile-card/MobileCardEntityRow.d.ts +1 -1
  19. package/dist/components/app/mobile-card/MobileCardEntityRow.js +1 -2
  20. package/dist/components/app/mobile-card/MobileCardEntityRow.js.map +1 -1
  21. package/dist/components/app/mobile-card/MobileCardHeader.cjs.map +1 -1
  22. package/dist/components/app/mobile-card/MobileCardHeader.d.ts +1 -1
  23. package/dist/components/app/mobile-card/MobileCardHeader.js +1 -2
  24. package/dist/components/app/mobile-card/MobileCardHeader.js.map +1 -1
  25. package/dist/components/app/mobile-card/MobileCardNotificationBadge.cjs +1 -1
  26. package/dist/components/app/mobile-card/MobileCardNotificationBadge.cjs.map +1 -1
  27. package/dist/components/app/mobile-card/MobileCardNotificationBadge.d.ts +1 -1
  28. package/dist/components/app/mobile-card/MobileCardNotificationBadge.js +2 -3
  29. package/dist/components/app/mobile-card/MobileCardNotificationBadge.js.map +1 -1
  30. package/dist/components/app/mobile-card/MobileCardShell.cjs.map +1 -1
  31. package/dist/components/app/mobile-card/MobileCardShell.d.ts +1 -1
  32. package/dist/components/app/mobile-card/MobileCardShell.js +1 -2
  33. package/dist/components/app/mobile-card/MobileCardShell.js.map +1 -1
  34. package/dist/components/app/mobile-card/MobileCardSkeleton.cjs.map +1 -1
  35. package/dist/components/app/mobile-card/MobileCardSkeleton.d.ts +3 -3
  36. package/dist/components/app/mobile-card/MobileCardSkeleton.js +1 -2
  37. package/dist/components/app/mobile-card/MobileCardSkeleton.js.map +1 -1
  38. package/dist/components/app/mobile-navigation/MobileNavigation.cjs +1 -1
  39. package/dist/components/app/mobile-navigation/MobileNavigation.cjs.map +1 -1
  40. package/dist/components/app/mobile-navigation/MobileNavigation.d.ts +2 -1
  41. package/dist/components/app/mobile-navigation/MobileNavigation.js +2 -3
  42. package/dist/components/app/mobile-navigation/MobileNavigation.js.map +1 -1
  43. package/dist/components/app/navigation/AppNavigation.cjs +1 -1
  44. package/dist/components/app/navigation/AppNavigation.cjs.map +1 -1
  45. package/dist/components/app/navigation/AppNavigation.d.ts +2 -2
  46. package/dist/components/app/navigation/AppNavigation.js +3 -4
  47. package/dist/components/app/navigation/AppNavigation.js.map +1 -1
  48. package/dist/components/app/navigation/language-select/AppNavigationLanguageSelect.cjs +1 -1
  49. package/dist/components/app/navigation/language-select/AppNavigationLanguageSelect.cjs.map +1 -1
  50. package/dist/components/app/navigation/language-select/AppNavigationLanguageSelect.js +5 -6
  51. package/dist/components/app/navigation/language-select/AppNavigationLanguageSelect.js.map +1 -1
  52. package/dist/components/app/price-tag/PriceTag.cjs.map +1 -1
  53. package/dist/components/app/price-tag/PriceTag.d.ts +3 -5
  54. package/dist/components/app/price-tag/PriceTag.js +1 -2
  55. package/dist/components/app/price-tag/PriceTag.js.map +1 -1
  56. package/dist/components/app/product-card-catalog/styled.cjs +1 -1
  57. package/dist/components/app/product-card-catalog/styled.cjs.map +1 -1
  58. package/dist/components/app/product-card-catalog/styled.d.ts +1 -1
  59. package/dist/components/app/product-card-catalog/styled.js +2 -3
  60. package/dist/components/app/product-card-catalog/styled.js.map +1 -1
  61. package/dist/components/avatar/styled.cjs +1 -1
  62. package/dist/components/avatar/styled.cjs.map +1 -1
  63. package/dist/components/avatar/styled.d.ts +6 -10
  64. package/dist/components/avatar/styled.js +2 -3
  65. package/dist/components/avatar/styled.js.map +1 -1
  66. package/dist/components/box/Box.cjs +1 -1
  67. package/dist/components/box/Box.cjs.map +1 -1
  68. package/dist/components/box/Box.d.ts +1 -1
  69. package/dist/components/box/Box.js +3 -4
  70. package/dist/components/box/Box.js.map +1 -1
  71. package/dist/components/breadcrumb/Breadcrumb.cjs.map +1 -1
  72. package/dist/components/breadcrumb/Breadcrumb.js +1 -2
  73. package/dist/components/breadcrumb/Breadcrumb.js.map +1 -1
  74. package/dist/components/button/Button.cjs.map +1 -1
  75. package/dist/components/button/Button.js +1 -2
  76. package/dist/components/button/Button.js.map +1 -1
  77. package/dist/components/button-filter/ButtonFilter.cjs.map +1 -1
  78. package/dist/components/button-filter/ButtonFilter.d.ts +5 -6
  79. package/dist/components/button-filter/ButtonFilter.js +1 -2
  80. package/dist/components/button-filter/ButtonFilter.js.map +1 -1
  81. package/dist/components/chat/Chat.cjs +1 -1
  82. package/dist/components/chat/Chat.cjs.map +1 -1
  83. package/dist/components/chat/Chat.d.ts +6 -10
  84. package/dist/components/chat/Chat.js +2 -3
  85. package/dist/components/chat/Chat.js.map +1 -1
  86. package/dist/components/chat/ChatDocumentMessage.cjs +1 -1
  87. package/dist/components/chat/ChatDocumentMessage.cjs.map +1 -1
  88. package/dist/components/chat/ChatDocumentMessage.js +3 -4
  89. package/dist/components/chat/ChatDocumentMessage.js.map +1 -1
  90. package/dist/components/chat/ChatMessage.cjs.map +1 -1
  91. package/dist/components/chat/ChatMessage.d.ts +5 -8
  92. package/dist/components/chat/ChatMessage.js +1 -2
  93. package/dist/components/chat/ChatMessage.js.map +1 -1
  94. package/dist/components/chat/ChatProfileAvatar.cjs.map +1 -1
  95. package/dist/components/chat/ChatProfileAvatar.js +1 -2
  96. package/dist/components/chat/ChatProfileAvatar.js.map +1 -1
  97. package/dist/components/chat/ChatScoreBreakdown.cjs.map +1 -1
  98. package/dist/components/chat/ChatScoreBreakdown.d.ts +1 -1
  99. package/dist/components/chat/ChatScoreBreakdown.js +1 -2
  100. package/dist/components/chat/ChatScoreBreakdown.js.map +1 -1
  101. package/dist/components/chat/ChatTextInput.cjs.map +1 -1
  102. package/dist/components/chat/ChatTextInput.js +1 -2
  103. package/dist/components/chat/ChatTextInput.js.map +1 -1
  104. package/dist/components/checkbox/Checkbox.cjs.map +1 -1
  105. package/dist/components/checkbox/Checkbox.js +1 -2
  106. package/dist/components/checkbox/Checkbox.js.map +1 -1
  107. package/dist/components/checkbox-card/CheckboxCard.cjs.map +1 -1
  108. package/dist/components/checkbox-card/CheckboxCard.js +1 -2
  109. package/dist/components/checkbox-card/CheckboxCard.js.map +1 -1
  110. package/dist/components/checkbox-card/namespace.cjs +1 -1
  111. package/dist/components/checkbox-card/namespace.cjs.map +1 -1
  112. package/dist/components/checkbox-card/namespace.js +2 -3
  113. package/dist/components/checkbox-card/namespace.js.map +1 -1
  114. package/dist/components/chip/Chip.cjs.map +1 -1
  115. package/dist/components/chip/Chip.d.ts +2 -2
  116. package/dist/components/chip/Chip.js +1 -2
  117. package/dist/components/chip/Chip.js.map +1 -1
  118. package/dist/components/collapsible/styled.cjs +1 -1
  119. package/dist/components/collapsible/styled.cjs.map +1 -1
  120. package/dist/components/collapsible/styled.d.ts +1 -1
  121. package/dist/components/collapsible/styled.js +2 -3
  122. package/dist/components/collapsible/styled.js.map +1 -1
  123. package/dist/components/combobox/Combobox.cjs +1 -1
  124. package/dist/components/combobox/Combobox.cjs.map +1 -1
  125. package/dist/components/combobox/Combobox.d.ts +4 -3
  126. package/dist/components/combobox/Combobox.js +66 -64
  127. package/dist/components/combobox/Combobox.js.map +1 -1
  128. package/dist/components/date-picker/DatePicker.cjs.map +1 -1
  129. package/dist/components/date-picker/DatePicker.js +1 -2
  130. package/dist/components/date-picker/DatePicker.js.map +1 -1
  131. package/dist/components/dialog/styled.cjs +1 -1
  132. package/dist/components/dialog/styled.cjs.map +1 -1
  133. package/dist/components/dialog/styled.d.ts +2 -2
  134. package/dist/components/dialog/styled.js +2 -3
  135. package/dist/components/dialog/styled.js.map +1 -1
  136. package/dist/components/drawer/Drawer.cjs.map +1 -1
  137. package/dist/components/drawer/Drawer.d.ts +2 -2
  138. package/dist/components/drawer/Drawer.js +1 -2
  139. package/dist/components/drawer/Drawer.js.map +1 -1
  140. package/dist/components/flag/styled.cjs.map +1 -1
  141. package/dist/components/flag/styled.d.ts +211 -213
  142. package/dist/components/flag/styled.js +1 -2
  143. package/dist/components/flag/styled.js.map +1 -1
  144. package/dist/components/form/FormControl.cjs +1 -1
  145. package/dist/components/form/FormControl.cjs.map +1 -1
  146. package/dist/components/form/FormControl.js +11 -7
  147. package/dist/components/form/FormControl.js.map +1 -1
  148. package/dist/components/form/FormHelperText.cjs.map +1 -1
  149. package/dist/components/form/FormHelperText.js +1 -2
  150. package/dist/components/form/FormHelperText.js.map +1 -1
  151. package/dist/components/form/FormLabel.cjs.map +1 -1
  152. package/dist/components/form/FormLabel.js +1 -2
  153. package/dist/components/form/FormLabel.js.map +1 -1
  154. package/dist/components/heading/Heading.cjs +1 -1
  155. package/dist/components/heading/Heading.cjs.map +1 -1
  156. package/dist/components/heading/Heading.d.ts +1 -1
  157. package/dist/components/heading/Heading.js +3 -4
  158. package/dist/components/heading/Heading.js.map +1 -1
  159. package/dist/components/icon/Icon.cjs.map +1 -1
  160. package/dist/components/icon/Icon.js +1 -2
  161. package/dist/components/icon/Icon.js.map +1 -1
  162. package/dist/components/icon-button/IconButton.cjs.map +1 -1
  163. package/dist/components/icon-button/IconButton.js +1 -2
  164. package/dist/components/icon-button/IconButton.js.map +1 -1
  165. package/dist/components/illustration/Illustration.cjs.map +1 -1
  166. package/dist/components/illustration/Illustration.js +1 -2
  167. package/dist/components/illustration/Illustration.js.map +1 -1
  168. package/dist/components/illustration/patterns.cjs.map +1 -1
  169. package/dist/components/illustration/patterns.js +1 -2
  170. package/dist/components/illustration/patterns.js.map +1 -1
  171. package/dist/components/input/HighlightedInput.cjs.map +1 -1
  172. package/dist/components/input/HighlightedInput.d.ts +4 -4
  173. package/dist/components/input/HighlightedInput.js +1 -2
  174. package/dist/components/input/HighlightedInput.js.map +1 -1
  175. package/dist/components/input/Input.cjs.map +1 -1
  176. package/dist/components/input/Input.js +1 -2
  177. package/dist/components/input/Input.js.map +1 -1
  178. package/dist/components/input/InputAddon.cjs.map +1 -1
  179. package/dist/components/input/InputAddon.d.ts +5 -6
  180. package/dist/components/input/InputAddon.js +1 -2
  181. package/dist/components/input/InputAddon.js.map +1 -1
  182. package/dist/components/input/InputGroup.cjs.map +1 -1
  183. package/dist/components/input/InputGroup.js +1 -2
  184. package/dist/components/input/InputGroup.js.map +1 -1
  185. package/dist/components/input/PhoneNumberInput.cjs.map +1 -1
  186. package/dist/components/input/PhoneNumberInput.js +1 -2
  187. package/dist/components/input/PhoneNumberInput.js.map +1 -1
  188. package/dist/components/menu/Menu.cjs +1 -1
  189. package/dist/components/menu/Menu.cjs.map +1 -1
  190. package/dist/components/menu/Menu.d.ts +2 -2
  191. package/dist/components/menu/Menu.js +2 -3
  192. package/dist/components/menu/Menu.js.map +1 -1
  193. package/dist/components/origin-select/OriginSelect.cjs.map +1 -1
  194. package/dist/components/origin-select/OriginSelect.d.ts +1 -1
  195. package/dist/components/origin-select/OriginSelect.js +1 -2
  196. package/dist/components/origin-select/OriginSelect.js.map +1 -1
  197. package/dist/components/pagination/Pagination.cjs.map +1 -1
  198. package/dist/components/pagination/Pagination.d.ts +2 -2
  199. package/dist/components/pagination/Pagination.js +1 -2
  200. package/dist/components/pagination/Pagination.js.map +1 -1
  201. package/dist/components/pagination/use-pagination.cjs.map +1 -1
  202. package/dist/components/pagination/use-pagination.js +1 -2
  203. package/dist/components/pagination/use-pagination.js.map +1 -1
  204. package/dist/components/popover/Popover.cjs.map +1 -1
  205. package/dist/components/popover/Popover.d.ts +2 -2
  206. package/dist/components/popover/Popover.js +1 -2
  207. package/dist/components/popover/Popover.js.map +1 -1
  208. package/dist/components/radio-button-group/RadioButtonGroup.cjs.map +1 -1
  209. package/dist/components/radio-button-group/RadioButtonGroup.d.ts +1 -1
  210. package/dist/components/radio-button-group/RadioButtonGroup.js +1 -2
  211. package/dist/components/radio-button-group/RadioButtonGroup.js.map +1 -1
  212. package/dist/components/radio-card-group/RadioCardGroup.cjs.map +1 -1
  213. package/dist/components/radio-card-group/RadioCardGroup.d.ts +3 -3
  214. package/dist/components/radio-card-group/RadioCardGroup.js +1 -2
  215. package/dist/components/radio-card-group/RadioCardGroup.js.map +1 -1
  216. package/dist/components/radio-card-group/namespace.cjs +1 -1
  217. package/dist/components/radio-card-group/namespace.cjs.map +1 -1
  218. package/dist/components/radio-card-group/namespace.js +2 -3
  219. package/dist/components/radio-card-group/namespace.js.map +1 -1
  220. package/dist/components/radio-group/RadioGroup.cjs.map +1 -1
  221. package/dist/components/radio-group/RadioGroup.d.ts +1 -1
  222. package/dist/components/radio-group/RadioGroup.js +1 -2
  223. package/dist/components/radio-group/RadioGroup.js.map +1 -1
  224. package/dist/components/select/Select.cjs +1 -1
  225. package/dist/components/select/Select.cjs.map +1 -1
  226. package/dist/components/select/Select.d.ts +1 -1
  227. package/dist/components/select/Select.js +2 -7
  228. package/dist/components/select/Select.js.map +1 -1
  229. package/dist/components/select-language/SelectLanguage.cjs +1 -1
  230. package/dist/components/select-language/SelectLanguage.cjs.map +1 -1
  231. package/dist/components/select-language/SelectLanguage.js +45 -43
  232. package/dist/components/select-language/SelectLanguage.js.map +1 -1
  233. package/dist/components/status-tag-select/StatusTagSelect.cjs +1 -1
  234. package/dist/components/status-tag-select/StatusTagSelect.cjs.map +1 -1
  235. package/dist/components/status-tag-select/StatusTagSelect.js +30 -31
  236. package/dist/components/status-tag-select/StatusTagSelect.js.map +1 -1
  237. package/dist/components/steps/Steps.cjs.map +1 -1
  238. package/dist/components/steps/Steps.d.ts +1 -1
  239. package/dist/components/steps/Steps.js +1 -2
  240. package/dist/components/steps/Steps.js.map +1 -1
  241. package/dist/components/supplier-rating-badge/SupplierRatingBadge.cjs.map +1 -1
  242. package/dist/components/supplier-rating-badge/SupplierRatingBadge.d.ts +1 -1
  243. package/dist/components/supplier-rating-badge/SupplierRatingBadge.js +1 -2
  244. package/dist/components/supplier-rating-badge/SupplierRatingBadge.js.map +1 -1
  245. package/dist/components/supplier-rating-badge/SupplierRatingBreakdown.cjs +1 -1
  246. package/dist/components/supplier-rating-badge/SupplierRatingBreakdown.cjs.map +1 -1
  247. package/dist/components/supplier-rating-badge/SupplierRatingBreakdown.d.ts +1 -1
  248. package/dist/components/supplier-rating-badge/SupplierRatingBreakdown.js +53 -54
  249. package/dist/components/supplier-rating-badge/SupplierRatingBreakdown.js.map +1 -1
  250. package/dist/components/supplier-rating-badge/labels.cjs.map +1 -1
  251. package/dist/components/supplier-rating-badge/labels.js +1 -2
  252. package/dist/components/supplier-rating-badge/labels.js.map +1 -1
  253. package/dist/components/switch/Switch.cjs.map +1 -1
  254. package/dist/components/switch/Switch.js +1 -2
  255. package/dist/components/switch/Switch.js.map +1 -1
  256. package/dist/components/switch-card/SwitchCard.cjs.map +1 -1
  257. package/dist/components/switch-card/SwitchCard.d.ts +4 -3
  258. package/dist/components/switch-card/SwitchCard.js +1 -2
  259. package/dist/components/switch-card/SwitchCard.js.map +1 -1
  260. package/dist/components/switch-card/namespace.cjs +1 -1
  261. package/dist/components/switch-card/namespace.cjs.map +1 -1
  262. package/dist/components/switch-card/namespace.js +2 -3
  263. package/dist/components/switch-card/namespace.js.map +1 -1
  264. package/dist/components/table/Table.cjs +1 -1
  265. package/dist/components/table/Table.cjs.map +1 -1
  266. package/dist/components/table/Table.js +3 -4
  267. package/dist/components/table/Table.js.map +1 -1
  268. package/dist/components/table/TableProvider.cjs.map +1 -1
  269. package/dist/components/table/TableProvider.js +1 -2
  270. package/dist/components/table/TableProvider.js.map +1 -1
  271. package/dist/components/tabs/Tabs.cjs.map +1 -1
  272. package/dist/components/tabs/Tabs.d.ts +5 -9
  273. package/dist/components/tabs/Tabs.js +1 -2
  274. package/dist/components/tabs/Tabs.js.map +1 -1
  275. package/dist/components/tag/Tag.cjs.map +1 -1
  276. package/dist/components/tag/Tag.js +1 -2
  277. package/dist/components/tag/Tag.js.map +1 -1
  278. package/dist/components/text/Text.cjs +1 -1
  279. package/dist/components/text/Text.cjs.map +1 -1
  280. package/dist/components/text/Text.d.ts +1 -1
  281. package/dist/components/text/Text.js +3 -4
  282. package/dist/components/text/Text.js.map +1 -1
  283. package/dist/components/textarea/Textarea.cjs.map +1 -1
  284. package/dist/components/textarea/Textarea.d.ts +5 -6
  285. package/dist/components/textarea/Textarea.js +1 -2
  286. package/dist/components/textarea/Textarea.js.map +1 -1
  287. package/dist/components/tooltip/Tooltip.cjs.map +1 -1
  288. package/dist/components/tooltip/Tooltip.d.ts +2 -2
  289. package/dist/components/tooltip/Tooltip.js +1 -2
  290. package/dist/components/tooltip/Tooltip.js.map +1 -1
  291. package/dist/components/ui-labels/UiLabelsProvider.cjs.map +1 -1
  292. package/dist/components/ui-labels/UiLabelsProvider.js +1 -2
  293. package/dist/components/ui-labels/UiLabelsProvider.js.map +1 -1
  294. package/dist/icons/index.cjs.map +1 -1
  295. package/dist/icons/index.js +1 -2
  296. package/dist/icons/index.js.map +1 -1
  297. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.cjs +2 -0
  298. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.cjs.map +1 -0
  299. package/dist/node_modules/{.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons → @heroicons}/react/24/outline/esm/ArrowDownTrayIcon.js +4 -5
  300. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.js.map +1 -0
  301. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.cjs +2 -0
  302. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.cjs.map +1 -0
  303. package/dist/node_modules/{.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons → @heroicons}/react/24/outline/esm/ArrowLeftCircleIcon.js +4 -5
  304. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.js.map +1 -0
  305. package/dist/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.cjs +2 -0
  306. package/dist/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.cjs.map +1 -0
  307. package/dist/node_modules/{.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons → @heroicons}/react/24/outline/esm/ChatBubbleLeftRightIcon.js +4 -5
  308. package/dist/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.js.map +1 -0
  309. package/dist/node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.cjs +2 -0
  310. package/dist/node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.cjs.map +1 -0
  311. package/dist/node_modules/{.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons → @heroicons}/react/24/outline/esm/CheckCircleIcon.js +4 -5
  312. package/dist/node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.js.map +1 -0
  313. package/dist/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.cjs +2 -0
  314. package/dist/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.cjs.map +1 -0
  315. package/dist/node_modules/{.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons → @heroicons}/react/24/outline/esm/DocumentTextIcon.js +4 -5
  316. package/dist/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.js.map +1 -0
  317. package/dist/node_modules/@heroicons/react/24/outline/esm/XCircleIcon.cjs +2 -0
  318. package/dist/node_modules/@heroicons/react/24/outline/esm/XCircleIcon.cjs.map +1 -0
  319. package/dist/node_modules/{.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons → @heroicons}/react/24/outline/esm/XCircleIcon.js +4 -5
  320. package/dist/node_modules/@heroicons/react/24/outline/esm/XCircleIcon.js.map +1 -0
  321. package/dist/node_modules/deepmerge/dist/cjs.cjs +2 -0
  322. package/dist/node_modules/deepmerge/dist/cjs.cjs.map +1 -0
  323. package/dist/node_modules/{.pnpm/deepmerge@4.3.1/node_modules/deepmerge → deepmerge}/dist/cjs.js +3 -4
  324. package/dist/node_modules/deepmerge/dist/cjs.js.map +1 -0
  325. package/dist/preset.cjs +1 -1
  326. package/dist/preset.cjs.map +1 -1
  327. package/dist/preset.js +7 -6
  328. package/dist/preset.js.map +1 -1
  329. package/dist/shared/ConditionalWrapper.cjs.map +1 -1
  330. package/dist/shared/ConditionalWrapper.js +1 -2
  331. package/dist/shared/ConditionalWrapper.js.map +1 -1
  332. package/dist/shared/assets/icons.cjs.map +1 -1
  333. package/dist/shared/assets/icons.d.ts +2 -2
  334. package/dist/shared/assets/icons.js +1 -2
  335. package/dist/shared/assets/icons.js.map +1 -1
  336. package/dist/shared/hooks/useUncontrolled.cjs.map +1 -1
  337. package/dist/shared/hooks/useUncontrolled.js +1 -2
  338. package/dist/shared/hooks/useUncontrolled.js.map +1 -1
  339. package/dist/shared/utils/events.cjs.map +1 -1
  340. package/dist/shared/utils/events.js +1 -2
  341. package/dist/shared/utils/events.js.map +1 -1
  342. package/dist/theme/breakpoints.cjs.map +1 -1
  343. package/dist/theme/breakpoints.js +1 -2
  344. package/dist/theme/breakpoints.js.map +1 -1
  345. package/dist/theme/conditions.cjs.map +1 -1
  346. package/dist/theme/conditions.js +1 -2
  347. package/dist/theme/conditions.js.map +1 -1
  348. package/dist/theme/containers.cjs +1 -1
  349. package/dist/theme/containers.cjs.map +1 -1
  350. package/dist/theme/containers.d.ts +1 -1
  351. package/dist/theme/containers.js +2 -3
  352. package/dist/theme/containers.js.map +1 -1
  353. package/dist/theme/globalCss.cjs.map +1 -1
  354. package/dist/theme/globalCss.d.ts +1 -1
  355. package/dist/theme/globalCss.js +1 -2
  356. package/dist/theme/globalCss.js.map +1 -1
  357. package/dist/theme/keyframes.cjs.map +1 -1
  358. package/dist/theme/keyframes.d.ts +1 -1
  359. package/dist/theme/keyframes.js +1 -2
  360. package/dist/theme/keyframes.js.map +1 -1
  361. package/dist/theme/recipes/accordion.cjs.map +1 -1
  362. package/dist/theme/recipes/accordion.d.ts +32 -2
  363. package/dist/theme/recipes/accordion.js +1 -2
  364. package/dist/theme/recipes/accordion.js.map +1 -1
  365. package/dist/theme/recipes/action-card.cjs.map +1 -1
  366. package/dist/theme/recipes/action-card.d.ts +2 -2
  367. package/dist/theme/recipes/action-card.js +1 -2
  368. package/dist/theme/recipes/action-card.js.map +1 -1
  369. package/dist/theme/recipes/alert.cjs.map +1 -1
  370. package/dist/theme/recipes/alert.d.ts +30 -2
  371. package/dist/theme/recipes/alert.js +1 -2
  372. package/dist/theme/recipes/alert.js.map +1 -1
  373. package/dist/theme/recipes/app/mobile-navigation.cjs.map +1 -1
  374. package/dist/theme/recipes/app/mobile-navigation.d.ts +51 -2
  375. package/dist/theme/recipes/app/mobile-navigation.js +1 -2
  376. package/dist/theme/recipes/app/mobile-navigation.js.map +1 -1
  377. package/dist/theme/recipes/app/navigation-language-select.cjs +1 -1
  378. package/dist/theme/recipes/app/navigation-language-select.cjs.map +1 -1
  379. package/dist/theme/recipes/app/navigation-language-select.d.ts +105 -2
  380. package/dist/theme/recipes/app/navigation-language-select.js +31 -39
  381. package/dist/theme/recipes/app/navigation-language-select.js.map +1 -1
  382. package/dist/theme/recipes/app/navigation.cjs.map +1 -1
  383. package/dist/theme/recipes/app/navigation.d.ts +125 -2
  384. package/dist/theme/recipes/app/navigation.js +1 -2
  385. package/dist/theme/recipes/app/navigation.js.map +1 -1
  386. package/dist/theme/recipes/app/price-tag.cjs.map +1 -1
  387. package/dist/theme/recipes/app/price-tag.d.ts +41 -2
  388. package/dist/theme/recipes/app/price-tag.js +1 -2
  389. package/dist/theme/recipes/app/price-tag.js.map +1 -1
  390. package/dist/theme/recipes/app/product-card-catalog.cjs.map +1 -1
  391. package/dist/theme/recipes/app/product-card-catalog.d.ts +2 -2
  392. package/dist/theme/recipes/app/product-card-catalog.js +1 -2
  393. package/dist/theme/recipes/app/product-card-catalog.js.map +1 -1
  394. package/dist/theme/recipes/avatar-group.cjs.map +1 -1
  395. package/dist/theme/recipes/avatar-group.d.ts +14 -2
  396. package/dist/theme/recipes/avatar-group.js +1 -2
  397. package/dist/theme/recipes/avatar-group.js.map +1 -1
  398. package/dist/theme/recipes/avatar.cjs.map +1 -1
  399. package/dist/theme/recipes/avatar.d.ts +53 -2
  400. package/dist/theme/recipes/avatar.js +1 -2
  401. package/dist/theme/recipes/avatar.js.map +1 -1
  402. package/dist/theme/recipes/breadcrumb.cjs.map +1 -1
  403. package/dist/theme/recipes/breadcrumb.d.ts +2 -2
  404. package/dist/theme/recipes/breadcrumb.js +1 -2
  405. package/dist/theme/recipes/breadcrumb.js.map +1 -1
  406. package/dist/theme/recipes/button-filter.cjs.map +1 -1
  407. package/dist/theme/recipes/button-filter.d.ts +1 -1
  408. package/dist/theme/recipes/button-filter.js +1 -2
  409. package/dist/theme/recipes/button-filter.js.map +1 -1
  410. package/dist/theme/recipes/button.cjs.map +1 -1
  411. package/dist/theme/recipes/button.d.ts +93 -2
  412. package/dist/theme/recipes/button.js +1 -2
  413. package/dist/theme/recipes/button.js.map +1 -1
  414. package/dist/theme/recipes/chat/chat-document-message.cjs.map +1 -1
  415. package/dist/theme/recipes/chat/chat-document-message.d.ts +1 -1
  416. package/dist/theme/recipes/chat/chat-document-message.js +1 -2
  417. package/dist/theme/recipes/chat/chat-document-message.js.map +1 -1
  418. package/dist/theme/recipes/chat/chat-input-text.cjs.map +1 -1
  419. package/dist/theme/recipes/chat/chat-input-text.d.ts +1 -1
  420. package/dist/theme/recipes/chat/chat-input-text.js +1 -2
  421. package/dist/theme/recipes/chat/chat-input-text.js.map +1 -1
  422. package/dist/theme/recipes/chat/chat-message.cjs.map +1 -1
  423. package/dist/theme/recipes/chat/chat-message.d.ts +28 -2
  424. package/dist/theme/recipes/chat/chat-message.js +1 -2
  425. package/dist/theme/recipes/chat/chat-message.js.map +1 -1
  426. package/dist/theme/recipes/chat/chat-profile-avatar.cjs.map +1 -1
  427. package/dist/theme/recipes/chat/chat-profile-avatar.d.ts +9 -2
  428. package/dist/theme/recipes/chat/chat-profile-avatar.js +1 -2
  429. package/dist/theme/recipes/chat/chat-profile-avatar.js.map +1 -1
  430. package/dist/theme/recipes/chat/chat.cjs.map +1 -1
  431. package/dist/theme/recipes/chat/chat.d.ts +2 -2
  432. package/dist/theme/recipes/chat/chat.js +1 -2
  433. package/dist/theme/recipes/chat/chat.js.map +1 -1
  434. package/dist/theme/recipes/checkbox-card.cjs.map +1 -1
  435. package/dist/theme/recipes/checkbox-card.d.ts +1 -1
  436. package/dist/theme/recipes/checkbox-card.js +1 -2
  437. package/dist/theme/recipes/checkbox-card.js.map +1 -1
  438. package/dist/theme/recipes/checkbox-group.cjs.map +1 -1
  439. package/dist/theme/recipes/checkbox-group.d.ts +1 -1
  440. package/dist/theme/recipes/checkbox-group.js +1 -2
  441. package/dist/theme/recipes/checkbox-group.js.map +1 -1
  442. package/dist/theme/recipes/checkbox.cjs +1 -1
  443. package/dist/theme/recipes/checkbox.cjs.map +1 -1
  444. package/dist/theme/recipes/checkbox.d.ts +26 -2
  445. package/dist/theme/recipes/checkbox.js +7 -8
  446. package/dist/theme/recipes/checkbox.js.map +1 -1
  447. package/dist/theme/recipes/chip.cjs.map +1 -1
  448. package/dist/theme/recipes/chip.d.ts +148 -2
  449. package/dist/theme/recipes/chip.js +1 -2
  450. package/dist/theme/recipes/chip.js.map +1 -1
  451. package/dist/theme/recipes/collapsible.cjs.map +1 -1
  452. package/dist/theme/recipes/collapsible.d.ts +2 -2
  453. package/dist/theme/recipes/collapsible.js +1 -2
  454. package/dist/theme/recipes/collapsible.js.map +1 -1
  455. package/dist/theme/recipes/combobox.cjs +1 -1
  456. package/dist/theme/recipes/combobox.cjs.map +1 -1
  457. package/dist/theme/recipes/combobox.d.ts +33 -2
  458. package/dist/theme/recipes/combobox.js +6 -6
  459. package/dist/theme/recipes/combobox.js.map +1 -1
  460. package/dist/theme/recipes/common/group-card.cjs.map +1 -1
  461. package/dist/theme/recipes/common/group-card.d.ts +1 -1
  462. package/dist/theme/recipes/common/group-card.js +1 -2
  463. package/dist/theme/recipes/common/group-card.js.map +1 -1
  464. package/dist/theme/recipes/datepicker.cjs +1 -1
  465. package/dist/theme/recipes/datepicker.cjs.map +1 -1
  466. package/dist/theme/recipes/datepicker.d.ts +2 -2
  467. package/dist/theme/recipes/datepicker.js +6 -7
  468. package/dist/theme/recipes/datepicker.js.map +1 -1
  469. package/dist/theme/recipes/dialog.cjs.map +1 -1
  470. package/dist/theme/recipes/dialog.d.ts +2 -2
  471. package/dist/theme/recipes/dialog.js +1 -2
  472. package/dist/theme/recipes/dialog.js.map +1 -1
  473. package/dist/theme/recipes/drawer.cjs.map +1 -1
  474. package/dist/theme/recipes/drawer.d.ts +31 -2
  475. package/dist/theme/recipes/drawer.js +4 -4
  476. package/dist/theme/recipes/drawer.js.map +1 -1
  477. package/dist/theme/recipes/flag.cjs.map +1 -1
  478. package/dist/theme/recipes/flag.d.ts +15 -2
  479. package/dist/theme/recipes/flag.js +1 -2
  480. package/dist/theme/recipes/flag.js.map +1 -1
  481. package/dist/theme/recipes/form/control.cjs.map +1 -1
  482. package/dist/theme/recipes/form/control.d.ts +1 -1
  483. package/dist/theme/recipes/form/control.js +1 -2
  484. package/dist/theme/recipes/form/control.js.map +1 -1
  485. package/dist/theme/recipes/form/helper-text.cjs.map +1 -1
  486. package/dist/theme/recipes/form/helper-text.d.ts +1 -1
  487. package/dist/theme/recipes/form/helper-text.js +1 -2
  488. package/dist/theme/recipes/form/helper-text.js.map +1 -1
  489. package/dist/theme/recipes/form/label.cjs.map +1 -1
  490. package/dist/theme/recipes/form/label.d.ts +15 -2
  491. package/dist/theme/recipes/form/label.js +1 -2
  492. package/dist/theme/recipes/form/label.js.map +1 -1
  493. package/dist/theme/recipes/heading.cjs.map +1 -1
  494. package/dist/theme/recipes/heading.d.ts +33 -2
  495. package/dist/theme/recipes/heading.js +1 -2
  496. package/dist/theme/recipes/heading.js.map +1 -1
  497. package/dist/theme/recipes/highlightedInput.cjs.map +1 -1
  498. package/dist/theme/recipes/highlightedInput.d.ts +2 -2
  499. package/dist/theme/recipes/highlightedInput.js +1 -2
  500. package/dist/theme/recipes/highlightedInput.js.map +1 -1
  501. package/dist/theme/recipes/icon-button.cjs +1 -1
  502. package/dist/theme/recipes/icon-button.cjs.map +1 -1
  503. package/dist/theme/recipes/icon-button.d.ts +1 -1
  504. package/dist/theme/recipes/icon-button.js +1 -2
  505. package/dist/theme/recipes/icon-button.js.map +1 -1
  506. package/dist/theme/recipes/icon.cjs.map +1 -1
  507. package/dist/theme/recipes/icon.d.ts +25 -2
  508. package/dist/theme/recipes/icon.js +1 -2
  509. package/dist/theme/recipes/icon.js.map +1 -1
  510. package/dist/theme/recipes/illustration.cjs.map +1 -1
  511. package/dist/theme/recipes/illustration.d.ts +29 -2
  512. package/dist/theme/recipes/illustration.js +1 -2
  513. package/dist/theme/recipes/illustration.js.map +1 -1
  514. package/dist/theme/recipes/index.cjs +1 -1
  515. package/dist/theme/recipes/index.cjs.map +1 -1
  516. package/dist/theme/recipes/index.d.ts +1464 -49
  517. package/dist/theme/recipes/index.js +3 -4
  518. package/dist/theme/recipes/index.js.map +1 -1
  519. package/dist/theme/recipes/input-addon.cjs.map +1 -1
  520. package/dist/theme/recipes/input-addon.d.ts +1 -1
  521. package/dist/theme/recipes/input-addon.js +1 -2
  522. package/dist/theme/recipes/input-addon.js.map +1 -1
  523. package/dist/theme/recipes/input-group.cjs.map +1 -1
  524. package/dist/theme/recipes/input-group.d.ts +1 -1
  525. package/dist/theme/recipes/input-group.js +1 -2
  526. package/dist/theme/recipes/input-group.js.map +1 -1
  527. package/dist/theme/recipes/input.cjs +1 -1
  528. package/dist/theme/recipes/input.cjs.map +1 -1
  529. package/dist/theme/recipes/input.d.ts +9 -2
  530. package/dist/theme/recipes/input.js +5 -6
  531. package/dist/theme/recipes/input.js.map +1 -1
  532. package/dist/theme/recipes/menu.cjs.map +1 -1
  533. package/dist/theme/recipes/menu.d.ts +20 -2
  534. package/dist/theme/recipes/menu.js +1 -2
  535. package/dist/theme/recipes/menu.js.map +1 -1
  536. package/dist/theme/recipes/pagination.cjs +1 -1
  537. package/dist/theme/recipes/pagination.cjs.map +1 -1
  538. package/dist/theme/recipes/pagination.d.ts +2 -2
  539. package/dist/theme/recipes/pagination.js +3 -4
  540. package/dist/theme/recipes/pagination.js.map +1 -1
  541. package/dist/theme/recipes/phone-number-input.cjs.map +1 -1
  542. package/dist/theme/recipes/phone-number-input.d.ts +9 -2
  543. package/dist/theme/recipes/phone-number-input.js +1 -2
  544. package/dist/theme/recipes/phone-number-input.js.map +1 -1
  545. package/dist/theme/recipes/popover.cjs.map +1 -1
  546. package/dist/theme/recipes/popover.d.ts +2 -2
  547. package/dist/theme/recipes/popover.js +1 -2
  548. package/dist/theme/recipes/popover.js.map +1 -1
  549. package/dist/theme/recipes/radio-button-group.cjs.map +1 -1
  550. package/dist/theme/recipes/radio-button-group.d.ts +25 -2
  551. package/dist/theme/recipes/radio-button-group.js +1 -2
  552. package/dist/theme/recipes/radio-button-group.js.map +1 -1
  553. package/dist/theme/recipes/radio-card-group.cjs.map +1 -1
  554. package/dist/theme/recipes/radio-card-group.d.ts +36 -2
  555. package/dist/theme/recipes/radio-card-group.js +1 -2
  556. package/dist/theme/recipes/radio-card-group.js.map +1 -1
  557. package/dist/theme/recipes/radio-group.cjs.map +1 -1
  558. package/dist/theme/recipes/radio-group.d.ts +27 -2
  559. package/dist/theme/recipes/radio-group.js +1 -2
  560. package/dist/theme/recipes/radio-group.js.map +1 -1
  561. package/dist/theme/recipes/select-language.cjs.map +1 -1
  562. package/dist/theme/recipes/select-language.d.ts +15 -2
  563. package/dist/theme/recipes/select-language.js +1 -2
  564. package/dist/theme/recipes/select-language.js.map +1 -1
  565. package/dist/theme/recipes/select.cjs +1 -1
  566. package/dist/theme/recipes/select.cjs.map +1 -1
  567. package/dist/theme/recipes/select.d.ts +30 -2
  568. package/dist/theme/recipes/select.js +3 -18
  569. package/dist/theme/recipes/select.js.map +1 -1
  570. package/dist/theme/recipes/status-tag-select.cjs.map +1 -1
  571. package/dist/theme/recipes/status-tag-select.d.ts +125 -2
  572. package/dist/theme/recipes/status-tag-select.js +1 -2
  573. package/dist/theme/recipes/status-tag-select.js.map +1 -1
  574. package/dist/theme/recipes/steps.cjs.map +1 -1
  575. package/dist/theme/recipes/steps.d.ts +2 -2
  576. package/dist/theme/recipes/steps.js +1 -2
  577. package/dist/theme/recipes/steps.js.map +1 -1
  578. package/dist/theme/recipes/switch-card.cjs.map +1 -1
  579. package/dist/theme/recipes/switch-card.d.ts +1 -1
  580. package/dist/theme/recipes/switch-card.js +1 -2
  581. package/dist/theme/recipes/switch-card.js.map +1 -1
  582. package/dist/theme/recipes/switch.cjs.map +1 -1
  583. package/dist/theme/recipes/switch.d.ts +22 -2
  584. package/dist/theme/recipes/switch.js +1 -2
  585. package/dist/theme/recipes/switch.js.map +1 -1
  586. package/dist/theme/recipes/table-container.cjs.map +1 -1
  587. package/dist/theme/recipes/table-container.d.ts +1 -1
  588. package/dist/theme/recipes/table-container.js +1 -2
  589. package/dist/theme/recipes/table-container.js.map +1 -1
  590. package/dist/theme/recipes/table-empty-row.cjs.map +1 -1
  591. package/dist/theme/recipes/table-empty-row.d.ts +1 -1
  592. package/dist/theme/recipes/table-empty-row.js +1 -2
  593. package/dist/theme/recipes/table-empty-row.js.map +1 -1
  594. package/dist/theme/recipes/table-group-title.cjs.map +1 -1
  595. package/dist/theme/recipes/table-group-title.d.ts +15 -2
  596. package/dist/theme/recipes/table-group-title.js +1 -2
  597. package/dist/theme/recipes/table-group-title.js.map +1 -1
  598. package/dist/theme/recipes/table.cjs.map +1 -1
  599. package/dist/theme/recipes/table.d.ts +2 -2
  600. package/dist/theme/recipes/table.js +1 -2
  601. package/dist/theme/recipes/table.js.map +1 -1
  602. package/dist/theme/recipes/tabs-chip.cjs.map +1 -1
  603. package/dist/theme/recipes/tabs-chip.d.ts +29 -2
  604. package/dist/theme/recipes/tabs-chip.js +1 -2
  605. package/dist/theme/recipes/tabs-chip.js.map +1 -1
  606. package/dist/theme/recipes/tabs.cjs.map +1 -1
  607. package/dist/theme/recipes/tabs.d.ts +49 -2
  608. package/dist/theme/recipes/tabs.js +1 -2
  609. package/dist/theme/recipes/tabs.js.map +1 -1
  610. package/dist/theme/recipes/tag.cjs.map +1 -1
  611. package/dist/theme/recipes/tag.d.ts +109 -2
  612. package/dist/theme/recipes/tag.js +1 -2
  613. package/dist/theme/recipes/tag.js.map +1 -1
  614. package/dist/theme/recipes/text.cjs.map +1 -1
  615. package/dist/theme/recipes/text.d.ts +29 -2
  616. package/dist/theme/recipes/text.js +1 -2
  617. package/dist/theme/recipes/text.js.map +1 -1
  618. package/dist/theme/recipes/textarea.cjs.map +1 -1
  619. package/dist/theme/recipes/textarea.d.ts +1 -1
  620. package/dist/theme/recipes/textarea.js +1 -2
  621. package/dist/theme/recipes/textarea.js.map +1 -1
  622. package/dist/theme/recipes/tooltip.cjs.map +1 -1
  623. package/dist/theme/recipes/tooltip.d.ts +2 -2
  624. package/dist/theme/recipes/tooltip.js +1 -2
  625. package/dist/theme/recipes/tooltip.js.map +1 -1
  626. package/dist/theme/semantic-tokens/colors.cjs.map +1 -1
  627. package/dist/theme/semantic-tokens/colors.js +1 -2
  628. package/dist/theme/semantic-tokens/colors.js.map +1 -1
  629. package/dist/theme/semantic-tokens/gradients.cjs.map +1 -1
  630. package/dist/theme/semantic-tokens/gradients.js +1 -2
  631. package/dist/theme/semantic-tokens/gradients.js.map +1 -1
  632. package/dist/theme/semantic-tokens/index.cjs.map +1 -1
  633. package/dist/theme/semantic-tokens/index.js +1 -2
  634. package/dist/theme/semantic-tokens/index.js.map +1 -1
  635. package/dist/theme/text-styles.cjs.map +1 -1
  636. package/dist/theme/text-styles.d.ts +1 -1
  637. package/dist/theme/text-styles.js +1 -2
  638. package/dist/theme/text-styles.js.map +1 -1
  639. package/dist/theme/tokens/animations.cjs.map +1 -1
  640. package/dist/theme/tokens/animations.js +1 -2
  641. package/dist/theme/tokens/animations.js.map +1 -1
  642. package/dist/theme/tokens/aspect-ratios.cjs.map +1 -1
  643. package/dist/theme/tokens/aspect-ratios.js +1 -2
  644. package/dist/theme/tokens/aspect-ratios.js.map +1 -1
  645. package/dist/theme/tokens/blurs.cjs.map +1 -1
  646. package/dist/theme/tokens/blurs.js +1 -2
  647. package/dist/theme/tokens/blurs.js.map +1 -1
  648. package/dist/theme/tokens/borders.cjs.map +1 -1
  649. package/dist/theme/tokens/borders.js +1 -2
  650. package/dist/theme/tokens/borders.js.map +1 -1
  651. package/dist/theme/tokens/colors.cjs.map +1 -1
  652. package/dist/theme/tokens/colors.js +1 -2
  653. package/dist/theme/tokens/colors.js.map +1 -1
  654. package/dist/theme/tokens/durations.cjs.map +1 -1
  655. package/dist/theme/tokens/durations.js +1 -2
  656. package/dist/theme/tokens/durations.js.map +1 -1
  657. package/dist/theme/tokens/easings.cjs.map +1 -1
  658. package/dist/theme/tokens/easings.js +1 -2
  659. package/dist/theme/tokens/easings.js.map +1 -1
  660. package/dist/theme/tokens/index.cjs.map +1 -1
  661. package/dist/theme/tokens/index.js +1 -2
  662. package/dist/theme/tokens/index.js.map +1 -1
  663. package/dist/theme/tokens/radii.cjs.map +1 -1
  664. package/dist/theme/tokens/radii.js +1 -2
  665. package/dist/theme/tokens/radii.js.map +1 -1
  666. package/dist/theme/tokens/shadows.cjs.map +1 -1
  667. package/dist/theme/tokens/shadows.js +1 -2
  668. package/dist/theme/tokens/shadows.js.map +1 -1
  669. package/dist/theme/tokens/sizes.cjs.map +1 -1
  670. package/dist/theme/tokens/sizes.js +1 -2
  671. package/dist/theme/tokens/sizes.js.map +1 -1
  672. package/dist/theme/tokens/spacing.cjs.map +1 -1
  673. package/dist/theme/tokens/spacing.js +1 -2
  674. package/dist/theme/tokens/spacing.js.map +1 -1
  675. package/dist/theme/tokens/typography.cjs.map +1 -1
  676. package/dist/theme/tokens/typography.js +1 -2
  677. package/dist/theme/tokens/typography.js.map +1 -1
  678. package/dist/theme/tokens/z-index.cjs.map +1 -1
  679. package/dist/theme/tokens/z-index.js +1 -2
  680. package/dist/theme/tokens/z-index.js.map +1 -1
  681. package/dist/theme/utilities.cjs.map +1 -1
  682. package/dist/theme/utilities.js +0 -1
  683. package/dist/theme/utilities.js.map +1 -1
  684. package/dist/ui.css +1 -1
  685. package/dist/utils/slots.cjs +1 -1
  686. package/dist/utils/slots.cjs.map +1 -1
  687. package/dist/utils/slots.js +3 -4
  688. package/dist/utils/slots.js.map +1 -1
  689. package/package.json +14 -15
  690. package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.cjs +0 -2
  691. package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.cjs.map +0 -1
  692. package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.js.map +0 -1
  693. package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.cjs +0 -2
  694. package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.cjs.map +0 -1
  695. package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.js.map +0 -1
  696. package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.cjs +0 -2
  697. package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.cjs.map +0 -1
  698. package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.js.map +0 -1
  699. package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.cjs +0 -2
  700. package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.cjs.map +0 -1
  701. package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.js.map +0 -1
  702. package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.cjs +0 -2
  703. package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.cjs.map +0 -1
  704. package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.js.map +0 -1
  705. package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/XCircleIcon.cjs +0 -2
  706. package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/XCircleIcon.cjs.map +0 -1
  707. package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/XCircleIcon.js.map +0 -1
  708. package/dist/node_modules/.pnpm/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.cjs +0 -2
  709. package/dist/node_modules/.pnpm/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.cjs.map +0 -1
  710. package/dist/node_modules/.pnpm/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.js.map +0 -1
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"styled.cjs","names":["createStyleContext","avatar","styled","ark","avatarGroup","forwardRef","Children","cloneElement","runIfFn","Avatar","require_runtime","require_slots","_ark_ui_react","_stokelp_styled_system_jsx","_stokelp_styled_system_recipes","react","react_jsx_runtime","_zag_js_utils","styled_exports","Context","Fallback","Group","Image","Root","InnerGroup","partition","children","max","props","avatars","overflow","a","overflowContent","withProvider","withContext"],"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":"A,+XAQM,CAAE,eAAc,eAAgBA,EAAAA,mBAAmBC,EAAAA,MAAM,EAEzDuB,GAAA,EAAatB,EAAAA,OAAAA,CAAOC,EAAAA,IAAI,IAAKC,EAAAA,WAAW,EAExCqB,GAAa,EAAuB,IAIjC,CAHOC,EAAS,MAAM,EAAGC,CAGxB,EAFKD,EAAS,MAAMC,CAEb,CAAI,EAGRN,GAAA,EAAQhB,EAAAA,WAAAA,EAClB,CAAE,WAAU,OAAM,MAAM,EAAG,kBAAiB,GAAGuB,GAAS,IAAQ,CAC/D,GAAM,CAACC,EAASC,GAAYL,EAAUnB,EAAAA,SAAS,QAAQoB,CAAQ,EAAGC,CAAG,EAErE,OACE,EAAAX,EAAA,KAAA,CAACQ,EAAD,CAAiB,MAAW,OAAM,GAAII,EAAtC,SAAA,CACGtB,EAAAA,SAAS,IAAIuB,EAAS,IACrB,EAAOtB,EAAAA,aAAAA,CAAawB,EAAU9B,EAAAA,OAAO,IAAI,CAAE,MAAK,CAAC,CAAC,CACnD,EACA+B,GAAmBF,EAAS,OAAS,GAAA,EAClCvB,EAAAA,aAAAA,EAAAA,EAAaC,EAAAA,QAAAA,CAAQwB,EAAiBF,EAAS,MAAM,EAAU,CAAE,gBAAiB,EAAG,CAAC,EACtF,IACM,C,EAEhB,CACF,EAEaP,EAAOU,GAAA,EAAa/B,EAAAA,OAAAA,CAAOO,EAAAA,OAAO,IAAI,EAAG,MAAM,EAC/Ca,EAAQY,GAAA,EAAYhC,EAAAA,OAAAA,CAAOO,EAAAA,OAAO,KAAK,EAAG,OAAO,EACjDW,EAAWc,GAAA,EAAYhC,EAAAA,OAAAA,CAAOO,EAAAA,OAAO,QAAQ,EAAG,UAAU,EAC1DU,EAAUV,EAAAA,OAAO,Q"}
@@ -1,14 +1,10 @@
1
- import { Avatar } from '@ark-ui/react';
2
- import { ComponentProps, ReactNode, ForwardRefExoticComponent, RefAttributes } from 'react';
3
- import { StyledComponent } from '@stokelp/styled-system/types';
1
+ import { Avatar, PolymorphicProps } from '@ark-ui/react';
2
+ import { ComponentProps, ReactNode, ForwardRefExoticComponent, ClassAttributes, HTMLAttributes, RefAttributes } from 'react';
3
+ import { StyledComponent } from '@stokelp/styled-system/jsx';
4
+ import { AvatarGroupVariantProps, AvatarRecipe } from '@stokelp/styled-system/recipes';
4
5
  import { ComponentVariants } from '../../utils/slots';
5
- import { AvatarRecipe } from '@stokelp/styled-system/recipes';
6
- declare const InnerGroup: StyledComponent<any, {
7
- [x: string]: unknown;
8
- [x: number]: unknown;
9
- size?: unknown;
10
- }>;
11
- export declare const Group: ForwardRefExoticComponent<any>;
6
+ declare const InnerGroup: StyledComponent<ForwardRefExoticComponent< ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & PolymorphicProps>, AvatarGroupVariantProps>;
7
+ export declare const Group: ForwardRefExoticComponent<Omit<AvatarGroupProps, "ref"> & RefAttributes<HTMLDivElement>>;
12
8
  export declare const Root: ComponentVariants<StyledComponent<ForwardRefExoticComponent<Avatar.RootProps & RefAttributes<HTMLDivElement>>, {}>, AvatarRecipe>;
13
9
  export declare const Image: StyledComponent<ForwardRefExoticComponent<Avatar.ImageProps & RefAttributes<HTMLImageElement>>, {}>;
14
10
  export declare const Fallback: StyledComponent<ForwardRefExoticComponent<Avatar.FallbackProps & RefAttributes<HTMLSpanElement>>, {}>;
@@ -7,7 +7,7 @@ import { avatar as a, avatarGroup as o } from "@stokelp/styled-system/recipes";
7
7
  import { Children as s, cloneElement as c, forwardRef as l } from "react";
8
8
  import { jsxs as u } from "react/jsx-runtime";
9
9
  import { runIfFn as d } from "@zag-js/utils";
10
- //#region src/components/avatar/styled.tsx
10
+ // src/components/avatar/styled.tsx
11
11
  var f = /* @__PURE__ */ e({
12
12
  Context: () => x,
13
13
  Fallback: () => b,
@@ -23,7 +23,6 @@ var f = /* @__PURE__ */ e({
23
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
24
  });
25
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 };
26
+ export { x as Context, b as Fallback, _ as Group, y as Image, v as Root, f as styled_exports };
28
27
 
29
28
  //# sourceMappingURL=styled.js.map
@@ -1 +1 @@
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
+ {"version":3,"file":"styled.js","names":["styled_exports","Context","Fallback","Group","Image","Root","createStyleContext","avatar","InnerGroup","styled","ark","avatarGroup","partition","children","max","forwardRef","props","avatars","overflow","Children","cloneElement","a","overflowContent","runIfFn","withProvider","Avatar","withContext"],"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":";;;;;;;;;;;;;;;;A,IAQM,EAAE,iBAAc,mBAAgBM,EAAmBC,CAAM,GAEzDC,IAAaC,EAAOC,EAAI,KAAKC,CAAW,GAExCC,KAAa,GAAuB,MAIjC,CAHOC,EAAS,MAAM,GAAGC,CAGxB,GAFKD,EAAS,MAAMC,CAEb,CAAI,GAGRX,IAAQY,GAClB,EAAE,aAAU,SAAM,SAAM,GAAG,oBAAiB,GAAGC,KAAS,MAAQ;CAC/D,IAAM,CAACC,GAASC,KAAYN,EAAUO,EAAS,QAAQN,CAAQ,GAAGC,CAAG;CAErE,OACE,kBAACN,GAAD;EAAiB;EAAW;EAAM,GAAIQ;EAAtC,UAAA,CACGG,EAAS,IAAIF,IAAS,MACdG,EAAaC,GAAUd,EAAO,IAAI,EAAE,QAAK,CAAC,CAAC,CACnD,GACAe,KAAmBJ,EAAS,SAAS,IAClCE,EAAaG,EAAQD,GAAiBJ,EAAS,MAAM,GAAU,EAAE,iBAAiB,GAAG,CAAC,IACtF,IACM;;AAEhB,CACF,GAEab,IAAOmB,EAAaf,EAAOgB,EAAO,IAAI,GAAG,MAAM,GAC/CrB,IAAQsB,EAAYjB,EAAOgB,EAAO,KAAK,GAAG,OAAO,GACjDvB,IAAWwB,EAAYjB,EAAOgB,EAAO,QAAQ,GAAG,UAAU,GAC1DxB,IAAUwB,EAAO"}
@@ -1,2 +1,2 @@
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;
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,o=(0,t.useMemo)(()=>(0,e.styled)(i),[i]);return(0,n.jsx)(o,{...a})};exports.Box=r;
2
2
  //# sourceMappingURL=Box.cjs.map
@@ -1 +1 @@
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
+ {"version":3,"file":"Box.cjs","names":["useMemo","styled","_stokelp_styled_system_jsx","react","react_jsx_runtime","Box","localProps","props","Component","as"],"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":"A,2GAWA,IAAaK,EAAO,GAAoB,CACtC,GAAM,CAAE,KAAK,MAAO,GAAGC,GAAeC,EAChCC,GAAA,EAAYR,EAAAA,QAAAA,MAAAA,EAAcC,EAAAA,OAAAA,CAAOQ,CAAE,EAA0B,CAACA,CAAE,CAAC,EAEvE,OAAO,EAAAL,EAAA,IAAA,CAACI,EAAD,CAAW,GAAIF,CAAa,CAAA,CACrC,E"}
@@ -3,5 +3,5 @@ type As = 'span' | 'div' | 'nav' | 'aside' | 'ul' | 'li' | 'main' | 'section' |
3
3
  export type BoxProps = {
4
4
  as?: As;
5
5
  } & HTMLStyledProps<As>;
6
- export declare const Box: (props: BoxProps) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const Box: (props: BoxProps) => import('react').JSX.Element;
7
7
  export {};
@@ -2,12 +2,11 @@
2
2
  import { styled as e } from "@stokelp/styled-system/jsx";
3
3
  import { useMemo as t } from "react";
4
4
  import { jsx as n } from "react/jsx-runtime";
5
- //#region src/components/box/Box.tsx
5
+ // src/components/box/Box.tsx
6
6
  var r = (r) => {
7
- let { as: i = "div", ...a } = r;
8
- return /* @__PURE__ */ n(t(() => e(i), [i]), { ...a });
7
+ let { as: i = "div", ...a } = r, o = t(() => e(i), [i]);
8
+ return /* @__PURE__ */ n(o, { ...a });
9
9
  };
10
- //#endregion
11
10
  export { r as Box };
12
11
 
13
12
  //# sourceMappingURL=Box.js.map
@@ -1 +1 @@
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
+ {"version":3,"file":"Box.js","names":["Box","Box$1","localProps","props","Component","useMemo","styled","as"],"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,IAAaA,KAAO,MAAoB;CACtC,IAAM,EAAE,QAAK,OAAO,GAAGE,MAAeC,GAChCC,IAAYC,QAAcC,EAAOC,CAAE,GAA0B,CAACA,CAAE,CAAC;CAEvE,OAAO,kBAACH,GAAD,EAAW,GAAIF,EAAa,CAAA;AACrC"}
@@ -1 +1 @@
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 type { StyledComponent } from '@stokelp/styled-system/types'\nimport { createStyleContext } from '~/utils/slots'\nimport { ark } from '@ark-ui/react'\nimport * as ReactIs from 'react-is'\nimport { Children, cloneElement, ComponentProps, type FC, forwardRef, type JSX, ReactElement, ReactNode } from 'react'\n\nconst { withProvider, withContext } = createStyleContext(breadcrumb)\n\n// See Table.tsx for why we pin the literal tag.\nconst styledTag = <T extends keyof JSX.IntrinsicElements>(tag: T): StyledComponent<T, {}> =>\n styled(tag) as StyledComponent<T, {}>\n\nconst StyledBreadcrumb = withProvider(styledTag('nav'), 'root')\nconst StyledBreadcrumbList = withContext(styledTag('ol'), 'list')\n\nexport const BreadcrumbItem = withContext(styledTag('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":"oTAQA,GAAM,CAAE,eAAc,eAAgB,EAAA,mBAAmB,EAAA,UAAU,EAG7D,EAAoD,IAAA,EAAA,EAAA,QACjD,CAAG,EAEN,EAAmB,EAAa,EAAU,KAAK,EAAG,MAAM,EACxD,EAAuB,EAAY,EAAU,IAAI,EAAG,MAAM,EAEnD,EAAiB,EAAY,EAAU,IAAI,EAAG,MAAM,EACpD,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"}
1
+ {"version":3,"file":"Breadcrumb.cjs","names":["createStyleContext","breadcrumb","styled","ark","forwardRef","Children","ReactIs","cloneElement","_Fragment","require_runtime","require_slots","_ark_ui_react","_stokelp_styled_system_jsx","_stokelp_styled_system_recipes","react","react_jsx_runtime","react_is","styledTag","tag","StyledBreadcrumb","withProvider","StyledBreadcrumbList","withContext","BreadcrumbItem","BreadcrumbLink","DefaultSeparator","Breadcrumb","props","child","children","item","index","separator"],"sources":["../../../src/components/breadcrumb/Breadcrumb.tsx"],"sourcesContent":["import { styled } from '@stokelp/styled-system/jsx'\nimport { breadcrumb } from '@stokelp/styled-system/recipes'\nimport type { StyledComponent } from '@stokelp/styled-system/types'\nimport { createStyleContext } from '~/utils/slots'\nimport { ark } from '@ark-ui/react'\nimport * as ReactIs from 'react-is'\nimport { Children, cloneElement, ComponentProps, type FC, forwardRef, type JSX, ReactElement, ReactNode } from 'react'\n\nconst { withProvider, withContext } = createStyleContext(breadcrumb)\n\n// See Table.tsx for why we pin the literal tag.\nconst styledTag = <T extends keyof JSX.IntrinsicElements>(tag: T): StyledComponent<T, {}> =>\n styled(tag) as StyledComponent<T, {}>\n\nconst StyledBreadcrumb = withProvider(styledTag('nav'), 'root')\nconst StyledBreadcrumbList = withContext(styledTag('ol'), 'list')\n\nexport const BreadcrumbItem = withContext(styledTag('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":"A,oTAQA,GAAM,CAAE,eAAc,eAAgBA,EAAAA,mBAAmBC,EAAAA,UAAU,EAG7DgB,EAAoD,IAAA,EACxDf,EAAAA,OAAAA,CAAOgB,CAAG,EAENC,EAAmBC,EAAaH,EAAU,KAAK,EAAG,MAAM,EACxDI,EAAuBC,EAAYL,EAAU,IAAI,EAAG,MAAM,EAEnDM,EAAiBD,EAAYL,EAAU,IAAI,EAAG,MAAM,EACpDO,EAAiBF,GAAA,EAAYpB,EAAAA,OAAAA,CAAOC,EAAAA,IAAI,CAAC,EAAG,MAAM,EAEzDsB,GACJ,EAAAV,EAAA,IAAA,CAAC,MAAD,CAAK,MAAM,KAAK,OAAO,KAAK,QAAQ,YAAY,KAAK,OAAO,MAAM,6BAChE,UAAA,EAAAA,EAAA,IAAA,CAAC,OAAD,CACE,SAAS,UACT,SAAS,UACT,EAAE,kUACF,KAAK,SACN,CAAA,CACE,CAAA,EAGMW,GAAA,EAAatB,EAAAA,WAAAA,EACvB,CAAE,WAAU,YAAYqB,EAAkB,GAAGE,GAAS,IAAQ,CAC7D,IAAMC,EAAQvB,EAAAA,SAAS,QACrBC,EAAQ,WAAWuB,CAAQ,EAAI,IAAA,GAAYA,CAC7C,EAEA,OACE,EAAAd,EAAA,IAAA,CAACI,EAAD,CAAkB,GAAIQ,EAAO,aAAYA,EAAM,eAAiB,aAAmB,MACjF,UAAA,EAAAZ,EAAA,IAAA,CAACM,EAAD,CAAA,SACGO,EAAM,KAAK,EAAM,KAChB,EAAOrB,EAAAA,aAAAA,CAAkCuB,EAAM,CAC7C,eAAgBC,IAAUH,EAAM,OAAS,EAAI,OAAS,IAAA,GACtD,SACEG,IAAUH,EAAM,OAAS,EACvBE,EAAK,MAAM,UAEX,EAAAf,EAAA,KAAA,CAAAP,EAAAA,SAAA,CAAA,SAAA,CACGsB,EAAK,MAAM,SACXE,GACC,EAAAjB,EAAA,IAAA,CAAAP,EAAAA,SAAA,CAAA,SACG,OAAOwB,GAAc,UAAA,EACpBzB,EAAAA,aAAAA,CAAayB,CAAyB,GAEtC,EAAAjB,EAAA,IAAA,CAAC,OAAD,CAAM,KAAK,eAAgB,SAAAiB,CAAgB,CAAA,CAE7C,CAAA,EACA,IACJ,CAAA,CAAA,CAER,CAAC,CACF,CACmB,CAAA,CACN,CAAA,CAEtB,CACF,E"}
@@ -6,7 +6,7 @@ import { breadcrumb as r } from "@stokelp/styled-system/recipes";
6
6
  import { Children as i, cloneElement as a, forwardRef as o } from "react";
7
7
  import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
8
8
  import * as u from "react-is";
9
- //#region src/components/breadcrumb/Breadcrumb.tsx
9
+ // src/components/breadcrumb/Breadcrumb.tsx
10
10
  var { withProvider: d, withContext: f } = e(r), p = (e) => n(e), m = d(p("nav"), "root"), h = f(p("ol"), "list"), g = f(p("li"), "item"), _ = f(n(t.a), "link"), v = /* @__PURE__ */ c("svg", {
11
11
  width: "16",
12
12
  height: "16",
@@ -34,7 +34,6 @@ var { withProvider: d, withContext: f } = e(r), p = (e) => n(e), m = d(p("nav"),
34
34
  })) })
35
35
  });
36
36
  });
37
- //#endregion
38
37
  export { y as Breadcrumb, g as BreadcrumbItem, _ as BreadcrumbLink };
39
38
 
40
39
  //# sourceMappingURL=Breadcrumb.js.map
@@ -1 +1 @@
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 type { StyledComponent } from '@stokelp/styled-system/types'\nimport { createStyleContext } from '~/utils/slots'\nimport { ark } from '@ark-ui/react'\nimport * as ReactIs from 'react-is'\nimport { Children, cloneElement, ComponentProps, type FC, forwardRef, type JSX, ReactElement, ReactNode } from 'react'\n\nconst { withProvider, withContext } = createStyleContext(breadcrumb)\n\n// See Table.tsx for why we pin the literal tag.\nconst styledTag = <T extends keyof JSX.IntrinsicElements>(tag: T): StyledComponent<T, {}> =>\n styled(tag) as StyledComponent<T, {}>\n\nconst StyledBreadcrumb = withProvider(styledTag('nav'), 'root')\nconst StyledBreadcrumbList = withContext(styledTag('ol'), 'list')\n\nexport const BreadcrumbItem = withContext(styledTag('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":";;;;;;;;;AAQA,IAAM,EAAE,iBAAc,mBAAgB,EAAmB,CAAU,GAG7D,KAAoD,MACxD,EAAO,CAAG,GAEN,IAAmB,EAAa,EAAU,KAAK,GAAG,MAAM,GACxD,IAAuB,EAAY,EAAU,IAAI,GAAG,MAAM,GAEnD,IAAiB,EAAY,EAAU,IAAI,GAAG,MAAM,GACpD,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
+ {"version":3,"file":"Breadcrumb.js","names":["_Fragment","Fragment$1","ReactIs","createStyleContext","breadcrumb","styledTag","styled","tag","StyledBreadcrumb","withProvider","StyledBreadcrumbList","withContext","BreadcrumbItem","BreadcrumbLink","ark","DefaultSeparator","Breadcrumb","forwardRef","props","child","Children","children","cloneElement","item","index","separator"],"sources":["../../../src/components/breadcrumb/Breadcrumb.tsx"],"sourcesContent":["import { styled } from '@stokelp/styled-system/jsx'\nimport { breadcrumb } from '@stokelp/styled-system/recipes'\nimport type { StyledComponent } from '@stokelp/styled-system/types'\nimport { createStyleContext } from '~/utils/slots'\nimport { ark } from '@ark-ui/react'\nimport * as ReactIs from 'react-is'\nimport { Children, cloneElement, ComponentProps, type FC, forwardRef, type JSX, ReactElement, ReactNode } from 'react'\n\nconst { withProvider, withContext } = createStyleContext(breadcrumb)\n\n// See Table.tsx for why we pin the literal tag.\nconst styledTag = <T extends keyof JSX.IntrinsicElements>(tag: T): StyledComponent<T, {}> =>\n styled(tag) as StyledComponent<T, {}>\n\nconst StyledBreadcrumb = withProvider(styledTag('nav'), 'root')\nconst StyledBreadcrumbList = withContext(styledTag('ol'), 'list')\n\nexport const BreadcrumbItem = withContext(styledTag('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":";;;;;;;;;AAQA,IAAM,EAAE,iBAAc,mBAAgBG,EAAmBC,CAAU,GAG7DC,KAAoD,MACxDC,EAAOC,CAAG,GAENC,IAAmBC,EAAaJ,EAAU,KAAK,GAAG,MAAM,GACxDK,IAAuBC,EAAYN,EAAU,IAAI,GAAG,MAAM,GAEnDO,IAAiBD,EAAYN,EAAU,IAAI,GAAG,MAAM,GACpDQ,IAAiBF,EAAYL,EAAOQ,EAAI,CAAC,GAAG,MAAM,GAEzDC,IACJ,kBAAC,OAAD;CAAK,OAAM;CAAK,QAAO;CAAK,SAAQ;CAAY,MAAK;CAAO,OAAM;CAChE,UAAA,kBAAC,QAAD;EACE,UAAS;EACT,UAAS;EACT,GAAE;EACF,MAAK;CACN,CAAA;AACE,CAAA,GAGMC,IAAaC,GACvB,EAAE,aAAU,eAAYF,GAAkB,GAAGG,KAAS,MAAQ;CAC7D,IAAMC,IAAQC,EAAS,QACrBlB,EAAQ,WAAWmB,CAAQ,IAAI,KAAA,IAAYA,CAC7C;CAEA,OACE,kBAACb,GAAD;EAAkB,GAAIU;EAAO,cAAYA,EAAM,iBAAiB;EAAmB;EACjF,UAAA,kBAACR,GAAD,EAAA,UACGS,EAAM,KAAK,GAAM,MACTG,EAAkCC,GAAM;GAC7C,gBAAgBC,MAAUL,EAAM,SAAS,IAAI,SAAS,KAAA;GACtD,UACEK,MAAUL,EAAM,SAAS,IACvBI,EAAK,MAAM,WAEX,kBAAAvB,GAAA,EAAA,UAAA,CACGuB,EAAK,MAAM,UACXE,IACC,kBAAAzB,GAAA,EAAA,UACG,OAAOyB,KAAc,WACpBH,EAAaG,CAAyB,IAEtC,kBAAC,QAAD;IAAM,MAAK;IAAgB,UAAAA;GAAgB,CAAA,EAE7C,CAAA,IACA,IACJ,EAAA,CAAA;EAER,CAAC,CACF,EACmB,CAAA;CACN,CAAA;AAEtB,CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"Button.cjs","names":[],"sources":["../../../src/components/button/Button.tsx"],"sourcesContent":["import { ark, type HTMLArkProps } from '@ark-ui/react'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { button, type ButtonVariantProps } from '@stokelp/styled-system/recipes'\nimport type { JsxStyleProps } from '@stokelp/styled-system/types'\nimport type { ComponentProps, JSX } from 'react'\n\n// We need three things from the Button typing:\n// 1. Native `<button>` HTML attrs (including a properly-typed onClick event)\n// 2. ark's polymorphic `asChild` prop\n// 3. The button recipe's variant props\n//\n// `styled(ark.button, button)` runtime is correct, but TS d.ts emit widens\n// the inferred component type and consumers lose onClick typing (TS7006).\n// This explicit cast pins all three layers.\ntype ButtonComponentProps = HTMLArkProps<'button'> & JsxStyleProps & ButtonVariantProps\ntype ButtonComponent = ((props: ButtonComponentProps) => JSX.Element) & { displayName?: string }\n\nexport const Button = styled(ark.button, button) as unknown as ButtonComponent\nexport type ButtonProps = ComponentProps<typeof Button>\n"],"mappings":"gIAiBA,IAAa,GAAA,EAAA,EAAA,QAAgB,EAAA,IAAI,OAAQ,EAAA,MAAM"}
1
+ {"version":3,"file":"Button.cjs","names":["styled","ark","button","_ark_ui_react","_stokelp_styled_system_jsx","_stokelp_styled_system_recipes","Button"],"sources":["../../../src/components/button/Button.tsx"],"sourcesContent":["import { ark, type HTMLArkProps } from '@ark-ui/react'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { button, type ButtonVariantProps } from '@stokelp/styled-system/recipes'\nimport type { JsxStyleProps } from '@stokelp/styled-system/types'\nimport type { ComponentProps, JSX } from 'react'\n\n// We need three things from the Button typing:\n// 1. Native `<button>` HTML attrs (including a properly-typed onClick event)\n// 2. ark's polymorphic `asChild` prop\n// 3. The button recipe's variant props\n//\n// `styled(ark.button, button)` runtime is correct, but TS d.ts emit widens\n// the inferred component type and consumers lose onClick typing (TS7006).\n// This explicit cast pins all three layers.\ntype ButtonComponentProps = HTMLArkProps<'button'> & JsxStyleProps & ButtonVariantProps\ntype ButtonComponent = ((props: ButtonComponentProps) => JSX.Element) & { displayName?: string }\n\nexport const Button = styled(ark.button, button) as unknown as ButtonComponent\nexport type ButtonProps = ComponentProps<typeof Button>\n"],"mappings":"A,gIAiBA,IAAaM,GAAA,EAASN,EAAAA,OAAAA,CAAOC,EAAAA,IAAI,OAAQC,EAAAA,MAAM,E"}
@@ -2,9 +2,8 @@
2
2
  import { ark as e } from "@ark-ui/react";
3
3
  import { styled as t } from "@stokelp/styled-system/jsx";
4
4
  import { button as n } from "@stokelp/styled-system/recipes";
5
- //#region src/components/button/Button.tsx
5
+ // src/components/button/Button.tsx
6
6
  var r = t(e.button, n);
7
- //#endregion
8
7
  export { r as Button };
9
8
 
10
9
  //# sourceMappingURL=Button.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.js","names":[],"sources":["../../../src/components/button/Button.tsx"],"sourcesContent":["import { ark, type HTMLArkProps } from '@ark-ui/react'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { button, type ButtonVariantProps } from '@stokelp/styled-system/recipes'\nimport type { JsxStyleProps } from '@stokelp/styled-system/types'\nimport type { ComponentProps, JSX } from 'react'\n\n// We need three things from the Button typing:\n// 1. Native `<button>` HTML attrs (including a properly-typed onClick event)\n// 2. ark's polymorphic `asChild` prop\n// 3. The button recipe's variant props\n//\n// `styled(ark.button, button)` runtime is correct, but TS d.ts emit widens\n// the inferred component type and consumers lose onClick typing (TS7006).\n// This explicit cast pins all three layers.\ntype ButtonComponentProps = HTMLArkProps<'button'> & JsxStyleProps & ButtonVariantProps\ntype ButtonComponent = ((props: ButtonComponentProps) => JSX.Element) & { displayName?: string }\n\nexport const Button = styled(ark.button, button) as unknown as ButtonComponent\nexport type ButtonProps = ComponentProps<typeof Button>\n"],"mappings":";;;;;AAiBA,IAAa,IAAS,EAAO,EAAI,QAAQ,CAAM"}
1
+ {"version":3,"file":"Button.js","names":["Button","styled","ark","button"],"sources":["../../../src/components/button/Button.tsx"],"sourcesContent":["import { ark, type HTMLArkProps } from '@ark-ui/react'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { button, type ButtonVariantProps } from '@stokelp/styled-system/recipes'\nimport type { JsxStyleProps } from '@stokelp/styled-system/types'\nimport type { ComponentProps, JSX } from 'react'\n\n// We need three things from the Button typing:\n// 1. Native `<button>` HTML attrs (including a properly-typed onClick event)\n// 2. ark's polymorphic `asChild` prop\n// 3. The button recipe's variant props\n//\n// `styled(ark.button, button)` runtime is correct, but TS d.ts emit widens\n// the inferred component type and consumers lose onClick typing (TS7006).\n// This explicit cast pins all three layers.\ntype ButtonComponentProps = HTMLArkProps<'button'> & JsxStyleProps & ButtonVariantProps\ntype ButtonComponent = ((props: ButtonComponentProps) => JSX.Element) & { displayName?: string }\n\nexport const Button = styled(ark.button, button) as unknown as ButtonComponent\nexport type ButtonProps = ComponentProps<typeof Button>\n"],"mappings":";;;;;AAiBA,IAAaA,IAASC,EAAOC,EAAI,QAAQC,CAAM"}
@@ -1 +1 @@
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
+ {"version":3,"file":"ButtonFilter.cjs","names":["styled","ark","buttonFilter","_ark_ui_react","_stokelp_styled_system_jsx","_stokelp_styled_system_recipes","ButtonFilter"],"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":"A,gIAKA,IAAaM,GAAA,EAAeN,EAAAA,OAAAA,CAAOC,EAAAA,IAAI,OAAQC,EAAAA,YAAY,E"}
@@ -1,8 +1,7 @@
1
- import { ComponentProps } from 'react';
2
- import { StyledComponent } from '@stokelp/styled-system/types';
3
- export declare const ButtonFilter: StyledComponent<any, {
4
- [x: string]: unknown;
5
- [x: number]: unknown;
6
- }>;
1
+ import { ComponentProps, ForwardRefExoticComponent, ClassAttributes, ButtonHTMLAttributes } from 'react';
2
+ import { StyledComponent } from '@stokelp/styled-system/jsx';
3
+ import { PolymorphicProps } from '@ark-ui/react';
4
+ import { ButtonFilterVariantProps } from '@stokelp/styled-system/recipes';
5
+ export declare const ButtonFilter: StyledComponent<ForwardRefExoticComponent< ClassAttributes<HTMLButtonElement> & ButtonHTMLAttributes<HTMLButtonElement> & PolymorphicProps>, ButtonFilterVariantProps>;
7
6
  export interface ButtonFilterProps extends ComponentProps<typeof ButtonFilter> {
8
7
  }
@@ -2,9 +2,8 @@
2
2
  import { ark as e } from "@ark-ui/react";
3
3
  import { styled as t } from "@stokelp/styled-system/jsx";
4
4
  import { buttonFilter as n } from "@stokelp/styled-system/recipes";
5
- //#region src/components/button-filter/ButtonFilter.tsx
5
+ // src/components/button-filter/ButtonFilter.tsx
6
6
  var r = t(e.button, n);
7
- //#endregion
8
7
  export { r as ButtonFilter };
9
8
 
10
9
  //# sourceMappingURL=ButtonFilter.js.map
@@ -1 +1 @@
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
+ {"version":3,"file":"ButtonFilter.js","names":["ButtonFilter","styled","ark","buttonFilter"],"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,IAAaA,IAAeC,EAAOC,EAAI,QAAQC,CAAY"}
@@ -1,2 +1,2 @@
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}});
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}}),exports.DocumentMessage=m,exports.Message=p,exports.MessageContainer=f,exports.ProfileAvatar=h,exports.Root=g;
2
2
  //# sourceMappingURL=Chat.cjs.map
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"Chat.cjs","names":["createStyleContext","chat","styled","ark","ChatMessage","ChatDocumentMessage","ChatProfileAvatar","_Fragment","Box","require_runtime","require_slots","require_ChatMessage","require_ChatDocumentMessage","require_ChatProfileAvatar","_ark_ui_react","_stokelp_styled_system_jsx","_stokelp_styled_system_recipes","react_jsx_runtime","Chat_exports","DocumentMessage","Message","MessageContainer","ProfileAvatar","Root","RootStyleElement","withProvider","props","messages","MessageComponent","index"],"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":"A,sdAUM,CAAE,gBAAiBA,EAAAA,mBAAmBC,EAAAA,IAAI,EAE1CuB,EAAmBC,GAAA,EAAavB,EAAAA,OAAAA,CAAOC,EAAAA,IAAI,GAAG,EAAG,MAAM,EAChDkB,EAAmBI,EAAatB,EAAAA,IAAI,IAAK,mBAAmB,EAC5DiB,EAAUK,EAAarB,EAAAA,YAAa,SAAS,EAC7Ce,EAAkBM,EAAapB,EAAAA,oBAAqB,kBAAkB,EACtEiB,EAAgBG,EAAanB,EAAAA,kBAAmB,kBAAkB,EAgBlEiB,GAAuB,CAAE,WAAW,CAAC,EAAG,GAAGG,MAEpD,EAAAT,EAAA,IAAA,CAAAV,EAAAA,SAAA,CAAA,UAEI,EAAAU,EAAA,IAAA,CAACO,EAAD,CACE,GAAIE,EACJ,UACE,EAAAT,EAAA,KAAA,CAAAV,EAAAA,SAAA,CAAA,SAAA,CACGoB,EAAS,KAAK,EAAmC,KAChD,EAAAV,EAAA,IAAA,CAACI,EAAD,CAA8B,UAAW,0BAA0BO,EAAiB,OACjF,SAAAA,EAAiB,QACF,EAFKC,CAEL,CACnB,GACD,EAAAZ,EAAA,IAAA,CAACT,EAAAA,IAAD,CAAK,GAAG,aAAe,CAAA,CACvB,CAAA,CAAA,CAEL,CAAA,CAEH,CAAA,E"}
@@ -1,20 +1,16 @@
1
1
  import { FC, ReactElement, ForwardRefExoticComponent, ClassAttributes, HTMLAttributes } from 'react';
2
- import { chat, ChatRecipe } from '@stokelp/styled-system/recipes';
2
+ import { chat, ChatRecipe, ChatMessageVariantProps } from '@stokelp/styled-system/recipes';
3
3
  import { ChatMessageProps } from './ChatMessage.tsx';
4
4
  import { ChatDocumentMessageProps } from './ChatDocumentMessage.tsx';
5
- import { HTMLStyledProps, RecipeVariantProps, StyledComponent } from '@stokelp/styled-system/types';
5
+ import { HTMLStyledProps, RecipeVariantProps } from '@stokelp/styled-system/types';
6
6
  import { ChatProfileAvatarProps } from './ChatProfileAvatar.tsx';
7
7
  import { ComponentVariants } from '../../utils/slots.tsx';
8
8
  import { PolymorphicProps } from '@ark-ui/react';
9
+ import { StyledComponent } from '@stokelp/styled-system/jsx';
9
10
  export declare const MessageContainer: ComponentVariants<ForwardRefExoticComponent< ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & PolymorphicProps>, ChatRecipe>;
10
- export declare const Message: ComponentVariants<StyledComponent<any, {
11
- [x: string]: unknown;
12
- [x: number]: unknown;
13
- side?: unknown;
14
- variant?: unknown;
15
- }>, ChatRecipe>;
16
- export declare const DocumentMessage: ComponentVariants<FC<any>, ChatRecipe>;
17
- export declare const ProfileAvatar: ComponentVariants<FC<any>, ChatRecipe>;
11
+ export declare const Message: ComponentVariants<StyledComponent<ForwardRefExoticComponent< ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & PolymorphicProps>, ChatMessageVariantProps>, ChatRecipe>;
12
+ export declare const DocumentMessage: ComponentVariants<FC<ChatDocumentMessageProps>, ChatRecipe>;
13
+ export declare const ProfileAvatar: ComponentVariants<FC<ChatProfileAvatarProps>, ChatRecipe>;
18
14
  type ChatRootMessage = {
19
15
  side?: 'left' | 'right' | 'center';
20
16
  children: ReactElement;
@@ -8,7 +8,7 @@ import { ark as a } from "@ark-ui/react";
8
8
  import { Box as o, styled as s } from "@stokelp/styled-system/jsx";
9
9
  import { chat as c } from "@stokelp/styled-system/recipes";
10
10
  import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
11
- //#region src/components/chat/Chat.tsx
11
+ // src/components/chat/Chat.tsx
12
12
  var f = /* @__PURE__ */ e({
13
13
  DocumentMessage: () => _,
14
14
  Message: () => g,
@@ -22,7 +22,6 @@ var f = /* @__PURE__ */ e({
22
22
  children: e.children
23
23
  }, t)), /* @__PURE__ */ u(o, { id: "chat-anchor" })] })
24
24
  }) });
25
- //#endregion
26
- export { f as Chat_exports };
25
+ export { f as Chat_exports, _ as DocumentMessage, g as Message, h as MessageContainer, v as ProfileAvatar, y as Root };
27
26
 
28
27
  //# sourceMappingURL=Chat.js.map
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"Chat.js","names":["_Fragment","Chat_exports","DocumentMessage","Message","MessageContainer","ProfileAvatar","Root","createStyleContext","chat","RootStyleElement","withProvider","styled","ark","ChatMessage","ChatDocumentMessage","ChatProfileAvatar","props","Fragment","messages","MessageComponent","index","Box"],"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":";;;;;;;;;;;;;;;;;A,IAUM,EAAE,oBAAiBO,EAAmBC,CAAI,GAE1CC,IAAmBC,EAAaC,EAAOC,EAAI,GAAG,GAAG,MAAM,GAChDR,IAAmBM,EAAaE,EAAI,KAAK,mBAAmB,GAC5DT,IAAUO,EAAaG,GAAa,SAAS,GAC7CX,IAAkBQ,EAAaI,GAAqB,kBAAkB,GACtET,IAAgBK,EAAaK,GAAmB,kBAAkB,GAgBlET,KAAuB,EAAE,cAAW,CAAC,GAAG,GAAGU,QAEpD,kBAAAhB,GAAA,EAAA,UAEI,kBAACS,GAAD;CACE,GAAIO;CACJ,UACE,kBAAAhB,GAAA,EAAA,UAAA,CACGkB,EAAS,KAAK,GAAmC,MAChD,kBAACd,GAAD;EAA8B,WAAW,0BAA0Be,EAAiB;EACjF,UAAAA,EAAiB;CACF,GAFKC,CAEL,CACnB,GACD,kBAACC,GAAD,EAAK,IAAG,cAAe,CAAA,CACvB,EAAA,CAAA;AAEL,CAAA,EAEH,CAAA"}
@@ -1,2 +1,2 @@
1
- "use client";const e=require("../text/Text.cjs"),t=require("../icon/Icon.cjs"),n=require("../../node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.cjs"),r=require("../../node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.cjs");let i=require("@stokelp/styled-system/jsx"),a=require("@stokelp/styled-system/recipes"),o=require("react/jsx-runtime");var s=(0,i.styled)(i.HStack,a.chatDocumentMessage),c=({documentID:a,documentName:c,onCardClick:l,...u})=>(0,o.jsxs)(s,{onClick:e=>{l&&l(e,a)},...u,children:[(0,o.jsxs)(i.HStack,{gap:`space-8`,children:[(0,o.jsx)(t.Icon,{size:`xs`,color:`primary.900`,children:(0,o.jsx)(r.default,{})}),(0,o.jsx)(e.Text,{bold:!0,children:c})]}),(0,o.jsx)(t.Icon,{size:`xs`,color:`primary.500`,children:(0,o.jsx)(n.default,{})})]});exports.ChatDocumentMessage=c;
1
+ "use client";const e=require("../text/Text.cjs"),t=require("../icon/Icon.cjs"),n=require("../../node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.cjs"),r=require("../../node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.cjs");let i=require("@stokelp/styled-system/jsx"),a=require("@stokelp/styled-system/recipes"),o=require("react/jsx-runtime");var s=(0,i.styled)(i.HStack,a.chatDocumentMessage),c=({documentID:a,documentName:c,onCardClick:l,...u})=>(0,o.jsxs)(s,{onClick:e=>{l&&l(e,a)},...u,children:[(0,o.jsxs)(i.HStack,{gap:`space-8`,children:[(0,o.jsx)(t.Icon,{size:`xs`,color:`primary.900`,children:(0,o.jsx)(r.default,{})}),(0,o.jsx)(e.Text,{bold:!0,children:c})]}),(0,o.jsx)(t.Icon,{size:`xs`,color:`primary.500`,children:(0,o.jsx)(n.default,{})})]});exports.ChatDocumentMessage=c;
2
2
  //# sourceMappingURL=ChatDocumentMessage.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChatDocumentMessage.cjs","names":[],"sources":["../../../src/components/chat/ChatDocumentMessage.tsx"],"sourcesContent":["import { FC } from 'react'\nimport { HTMLStyledProps, RecipeVariantProps } from '@stokelp/styled-system/types'\nimport { chatDocumentMessage } from '@stokelp/styled-system/recipes'\nimport { HStack, styled } from '@stokelp/styled-system/jsx'\nimport { Icon, Text } from '~/components'\nimport { DocumentTextIcon, ArrowDownTrayIcon } from '@heroicons/react/24/outline'\n\nexport type ChatDocumentMessageProps = {\n documentID: number | string\n documentName: string\n documentUrl?: string\n onCardClick?: (event: React.MouseEvent<HTMLDivElement>, documentID: number | string) => void\n} & HTMLStyledProps<'div'> &\n RecipeVariantProps<typeof chatDocumentMessage>\n\nconst StyledHStack = styled(HStack, chatDocumentMessage)\n\nexport const ChatDocumentMessage: FC<ChatDocumentMessageProps> = ({\n documentID,\n documentName,\n onCardClick,\n ...props\n}) => {\n return (\n <StyledHStack\n onClick={(event: React.MouseEvent<HTMLDivElement>) => {\n if (onCardClick) {\n onCardClick(event, documentID)\n }\n }}\n {...props}\n >\n <HStack gap=\"space-8\">\n <Icon size=\"xs\" color=\"primary.900\">\n <DocumentTextIcon />\n </Icon>\n <Text bold>{documentName}</Text>\n </HStack>\n <Icon size=\"xs\" color=\"primary.500\">\n <ArrowDownTrayIcon />\n </Icon>\n </StyledHStack>\n )\n}\n"],"mappings":"+dAeA,IAAM,GAAA,EAAA,EAAA,QAAsB,EAAA,OAAQ,EAAA,mBAAmB,EAE1C,GAAqD,CAChE,aACA,eACA,cACA,GAAG,MAGD,EAAA,EAAA,MAAC,EAAD,CACE,QAAU,GAA4C,CAChD,GACF,EAAY,EAAO,CAAU,CAEjC,EACA,GAAI,WANN,EAQE,EAAA,EAAA,MAAC,EAAA,OAAD,CAAQ,IAAI,mBAAZ,EACE,EAAA,EAAA,KAAC,EAAA,KAAD,CAAM,KAAK,KAAK,MAAM,wBACpB,EAAA,EAAA,KAAC,EAAA,QAAD,CAAmB,CAAA,CACf,CAAA,GACN,EAAA,EAAA,KAAC,EAAA,KAAD,CAAM,KAAA,YAAM,CAAmB,CAAA,CACzB,KACR,EAAA,EAAA,KAAC,EAAA,KAAD,CAAM,KAAK,KAAK,MAAM,wBACpB,EAAA,EAAA,KAAC,EAAA,QAAD,CAAoB,CAAA,CAChB,CAAA,CACM"}
1
+ {"version":3,"file":"ChatDocumentMessage.cjs","names":["styled","HStack","chatDocumentMessage","Icon","DocumentTextIcon","Text","ArrowDownTrayIcon","require_Text","require_Icon","require_ArrowDownTrayIcon","require_DocumentTextIcon","_stokelp_styled_system_jsx","_stokelp_styled_system_recipes","react_jsx_runtime","StyledHStack","ChatDocumentMessage","props","onCardClick","event","documentID","documentName"],"sources":["../../../src/components/chat/ChatDocumentMessage.tsx"],"sourcesContent":["import { FC } from 'react'\nimport { HTMLStyledProps, RecipeVariantProps } from '@stokelp/styled-system/types'\nimport { chatDocumentMessage } from '@stokelp/styled-system/recipes'\nimport { HStack, styled } from '@stokelp/styled-system/jsx'\nimport { Icon, Text } from '~/components'\nimport { DocumentTextIcon, ArrowDownTrayIcon } from '@heroicons/react/24/outline'\n\nexport type ChatDocumentMessageProps = {\n documentID: number | string\n documentName: string\n documentUrl?: string\n onCardClick?: (event: React.MouseEvent<HTMLDivElement>, documentID: number | string) => void\n} & HTMLStyledProps<'div'> &\n RecipeVariantProps<typeof chatDocumentMessage>\n\nconst StyledHStack = styled(HStack, chatDocumentMessage)\n\nexport const ChatDocumentMessage: FC<ChatDocumentMessageProps> = ({\n documentID,\n documentName,\n onCardClick,\n ...props\n}) => {\n return (\n <StyledHStack\n onClick={(event: React.MouseEvent<HTMLDivElement>) => {\n if (onCardClick) {\n onCardClick(event, documentID)\n }\n }}\n {...props}\n >\n <HStack gap=\"space-8\">\n <Icon size=\"xs\" color=\"primary.900\">\n <DocumentTextIcon />\n </Icon>\n <Text bold>{documentName}</Text>\n </HStack>\n <Icon size=\"xs\" color=\"primary.500\">\n <ArrowDownTrayIcon />\n </Icon>\n </StyledHStack>\n )\n}\n"],"mappings":"A,iXAeA,IAAMc,GAAA,EAAed,EAAAA,OAAAA,CAAOC,EAAAA,OAAQC,EAAAA,mBAAmB,EAE1Ca,GAAqD,CAChE,aACA,eACA,cACA,GAAGC,MAGD,EAAAH,EAAA,KAAA,CAACC,EAAD,CACE,QAAU,GAA4C,CAChDG,GACFA,EAAYC,EAAOC,CAAU,CAEjC,EACA,GAAIH,EANN,SAAA,EAQE,EAAAH,EAAA,KAAA,CAACZ,EAAAA,OAAD,CAAQ,IAAI,UAAZ,SAAA,EACE,EAAAY,EAAA,IAAA,CAACV,EAAAA,KAAD,CAAM,KAAK,KAAK,MAAM,cACpB,UAAA,EAAAU,EAAA,IAAA,CAACT,EAAAA,QAAD,CAAmB,CAAA,CACf,CAAA,GACN,EAAAS,EAAA,IAAA,CAACR,EAAAA,KAAD,CAAM,KAAA,GAAM,SAAAe,CAAmB,CAAA,CACzB,CACR,CAAA,GAAA,EAAAP,EAAA,IAAA,CAACV,EAAAA,KAAD,CAAM,KAAK,KAAK,MAAM,cACpB,UAAA,EAAAU,EAAA,IAAA,CAACP,EAAAA,QAAD,CAAoB,CAAA,CAChB,CAAA,CACM,C"}
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  import { Text as e } from "../text/Text.js";
3
3
  import { Icon as t } from "../icon/Icon.js";
4
- import n from "../../node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.js";
5
- import r from "../../node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.js";
4
+ import n from "../../node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.js";
5
+ import r from "../../node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.js";
6
6
  import { HStack as i, styled as a } from "@stokelp/styled-system/jsx";
7
7
  import { chatDocumentMessage as o } from "@stokelp/styled-system/recipes";
8
8
  import { jsx as s, jsxs as c } from "react/jsx-runtime";
9
- //#region src/components/chat/ChatDocumentMessage.tsx
9
+ // src/components/chat/ChatDocumentMessage.tsx
10
10
  var l = a(i, o), u = ({ documentID: a, documentName: o, onCardClick: u, ...d }) => /* @__PURE__ */ c(l, {
11
11
  onClick: (e) => {
12
12
  u && u(e, a);
@@ -28,7 +28,6 @@ var l = a(i, o), u = ({ documentID: a, documentName: o, onCardClick: u, ...d })
28
28
  children: /* @__PURE__ */ s(n, {})
29
29
  })]
30
30
  });
31
- //#endregion
32
31
  export { u as ChatDocumentMessage };
33
32
 
34
33
  //# sourceMappingURL=ChatDocumentMessage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChatDocumentMessage.js","names":[],"sources":["../../../src/components/chat/ChatDocumentMessage.tsx"],"sourcesContent":["import { FC } from 'react'\nimport { HTMLStyledProps, RecipeVariantProps } from '@stokelp/styled-system/types'\nimport { chatDocumentMessage } from '@stokelp/styled-system/recipes'\nimport { HStack, styled } from '@stokelp/styled-system/jsx'\nimport { Icon, Text } from '~/components'\nimport { DocumentTextIcon, ArrowDownTrayIcon } from '@heroicons/react/24/outline'\n\nexport type ChatDocumentMessageProps = {\n documentID: number | string\n documentName: string\n documentUrl?: string\n onCardClick?: (event: React.MouseEvent<HTMLDivElement>, documentID: number | string) => void\n} & HTMLStyledProps<'div'> &\n RecipeVariantProps<typeof chatDocumentMessage>\n\nconst StyledHStack = styled(HStack, chatDocumentMessage)\n\nexport const ChatDocumentMessage: FC<ChatDocumentMessageProps> = ({\n documentID,\n documentName,\n onCardClick,\n ...props\n}) => {\n return (\n <StyledHStack\n onClick={(event: React.MouseEvent<HTMLDivElement>) => {\n if (onCardClick) {\n onCardClick(event, documentID)\n }\n }}\n {...props}\n >\n <HStack gap=\"space-8\">\n <Icon size=\"xs\" color=\"primary.900\">\n <DocumentTextIcon />\n </Icon>\n <Text bold>{documentName}</Text>\n </HStack>\n <Icon size=\"xs\" color=\"primary.500\">\n <ArrowDownTrayIcon />\n </Icon>\n </StyledHStack>\n )\n}\n"],"mappings":";;;;;;;;;AAeA,IAAM,IAAe,EAAO,GAAQ,CAAmB,GAE1C,KAAqD,EAChE,eACA,iBACA,gBACA,GAAG,QAGD,kBAAC,GAAD;CACE,UAAU,MAA4C;EACpD,AAAI,KACF,EAAY,GAAO,CAAU;CAEjC;CACA,GAAI;WANN,CAQE,kBAAC,GAAD;EAAQ,KAAI;YAAZ,CACE,kBAAC,GAAD;GAAM,MAAK;GAAK,OAAM;aACpB,kBAAC,GAAD,CAAmB,CAAA;EACf,CAAA,GACN,kBAAC,GAAD;GAAM,MAAA;aAAM;EAAmB,CAAA,CACzB;KACR,kBAAC,GAAD;EAAM,MAAK;EAAK,OAAM;YACpB,kBAAC,GAAD,CAAoB,CAAA;CAChB,CAAA,CACM"}
1
+ {"version":3,"file":"ChatDocumentMessage.js","names":["DocumentTextIcon","ArrowDownTrayIcon","ForwardRef","ForwardRef$1","StyledHStack","styled","HStack","chatDocumentMessage","ChatDocumentMessage","props","onCardClick","event","documentID","Icon","Text","documentName"],"sources":["../../../src/components/chat/ChatDocumentMessage.tsx"],"sourcesContent":["import { FC } from 'react'\nimport { HTMLStyledProps, RecipeVariantProps } from '@stokelp/styled-system/types'\nimport { chatDocumentMessage } from '@stokelp/styled-system/recipes'\nimport { HStack, styled } from '@stokelp/styled-system/jsx'\nimport { Icon, Text } from '~/components'\nimport { DocumentTextIcon, ArrowDownTrayIcon } from '@heroicons/react/24/outline'\n\nexport type ChatDocumentMessageProps = {\n documentID: number | string\n documentName: string\n documentUrl?: string\n onCardClick?: (event: React.MouseEvent<HTMLDivElement>, documentID: number | string) => void\n} & HTMLStyledProps<'div'> &\n RecipeVariantProps<typeof chatDocumentMessage>\n\nconst StyledHStack = styled(HStack, chatDocumentMessage)\n\nexport const ChatDocumentMessage: FC<ChatDocumentMessageProps> = ({\n documentID,\n documentName,\n onCardClick,\n ...props\n}) => {\n return (\n <StyledHStack\n onClick={(event: React.MouseEvent<HTMLDivElement>) => {\n if (onCardClick) {\n onCardClick(event, documentID)\n }\n }}\n {...props}\n >\n <HStack gap=\"space-8\">\n <Icon size=\"xs\" color=\"primary.900\">\n <DocumentTextIcon />\n </Icon>\n <Text bold>{documentName}</Text>\n </HStack>\n <Icon size=\"xs\" color=\"primary.500\">\n <ArrowDownTrayIcon />\n </Icon>\n </StyledHStack>\n )\n}\n"],"mappings":";;;;;;;;;AAeA,IAAMI,IAAeC,EAAOC,GAAQC,CAAmB,GAE1CC,KAAqD,EAChE,eACA,iBACA,gBACA,GAAGC,QAGD,kBAACL,GAAD;CACE,UAAU,MAA4C;EACpD,AAAIM,KACFA,EAAYC,GAAOC,CAAU;CAEjC;CACA,GAAIH;CANN,UAAA,CAQE,kBAACH,GAAD;EAAQ,KAAI;EAAZ,UAAA,CACE,kBAACO,GAAD;GAAM,MAAK;GAAK,OAAM;GACpB,UAAA,kBAACb,GAAD,CAAmB,CAAA;EACf,CAAA,GACN,kBAACc,GAAD;GAAM,MAAA;GAAM,UAAAC;EAAmB,CAAA,CACzB;CACR,CAAA,GAAA,kBAACF,GAAD;EAAM,MAAK;EAAK,OAAM;EACpB,UAAA,kBAACZ,GAAD,CAAoB,CAAA;CAChB,CAAA,CACM"}
@@ -1 +1 @@
1
- {"version":3,"file":"ChatMessage.cjs","names":[],"sources":["../../../src/components/chat/ChatMessage.tsx"],"sourcesContent":["import { styled } from '@stokelp/styled-system/jsx'\nimport { chatMessage } from '@stokelp/styled-system/recipes'\nimport type { ComponentProps } from 'react'\nimport { ark } from '@ark-ui/react'\n\nexport const ChatMessage = styled(ark.div, chatMessage)\nexport interface ChatMessageProps extends ComponentProps<typeof ChatMessage> {}\n"],"mappings":"gIAKA,IAAa,GAAA,EAAA,EAAA,QAAqB,EAAA,IAAI,IAAK,EAAA,WAAW"}
1
+ {"version":3,"file":"ChatMessage.cjs","names":["styled","ark","chatMessage","_ark_ui_react","_stokelp_styled_system_jsx","_stokelp_styled_system_recipes","ChatMessage"],"sources":["../../../src/components/chat/ChatMessage.tsx"],"sourcesContent":["import { styled } from '@stokelp/styled-system/jsx'\nimport { chatMessage } from '@stokelp/styled-system/recipes'\nimport type { ComponentProps } from 'react'\nimport { ark } from '@ark-ui/react'\n\nexport const ChatMessage = styled(ark.div, chatMessage)\nexport interface ChatMessageProps extends ComponentProps<typeof ChatMessage> {}\n"],"mappings":"A,gIAKA,IAAaM,GAAA,EAAcN,EAAAA,OAAAA,CAAOC,EAAAA,IAAI,IAAKC,EAAAA,WAAW,E"}
@@ -1,10 +1,7 @@
1
- import { ComponentProps } from 'react';
2
- import { StyledComponent } from '@stokelp/styled-system/types';
3
- export declare const ChatMessage: StyledComponent<any, {
4
- [x: string]: unknown;
5
- [x: number]: unknown;
6
- side?: unknown;
7
- variant?: unknown;
8
- }>;
1
+ import { ComponentProps, ForwardRefExoticComponent, ClassAttributes, HTMLAttributes } from 'react';
2
+ import { StyledComponent } from '@stokelp/styled-system/jsx';
3
+ import { PolymorphicProps } from '@ark-ui/react';
4
+ import { ChatMessageVariantProps } from '@stokelp/styled-system/recipes';
5
+ export declare const ChatMessage: StyledComponent<ForwardRefExoticComponent< ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & PolymorphicProps>, ChatMessageVariantProps>;
9
6
  export interface ChatMessageProps extends ComponentProps<typeof ChatMessage> {
10
7
  }
@@ -2,9 +2,8 @@
2
2
  import { ark as e } from "@ark-ui/react";
3
3
  import { styled as t } from "@stokelp/styled-system/jsx";
4
4
  import { chatMessage as n } from "@stokelp/styled-system/recipes";
5
- //#region src/components/chat/ChatMessage.tsx
5
+ // src/components/chat/ChatMessage.tsx
6
6
  var r = t(e.div, n);
7
- //#endregion
8
7
  export { r as ChatMessage };
9
8
 
10
9
  //# sourceMappingURL=ChatMessage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChatMessage.js","names":[],"sources":["../../../src/components/chat/ChatMessage.tsx"],"sourcesContent":["import { styled } from '@stokelp/styled-system/jsx'\nimport { chatMessage } from '@stokelp/styled-system/recipes'\nimport type { ComponentProps } from 'react'\nimport { ark } from '@ark-ui/react'\n\nexport const ChatMessage = styled(ark.div, chatMessage)\nexport interface ChatMessageProps extends ComponentProps<typeof ChatMessage> {}\n"],"mappings":";;;;;AAKA,IAAa,IAAc,EAAO,EAAI,KAAK,CAAW"}
1
+ {"version":3,"file":"ChatMessage.js","names":["ChatMessage","styled","ark","chatMessage"],"sources":["../../../src/components/chat/ChatMessage.tsx"],"sourcesContent":["import { styled } from '@stokelp/styled-system/jsx'\nimport { chatMessage } from '@stokelp/styled-system/recipes'\nimport type { ComponentProps } from 'react'\nimport { ark } from '@ark-ui/react'\n\nexport const ChatMessage = styled(ark.div, chatMessage)\nexport interface ChatMessageProps extends ComponentProps<typeof ChatMessage> {}\n"],"mappings":";;;;;AAKA,IAAaA,IAAcC,EAAOC,EAAI,KAAKC,CAAW"}
@@ -1 +1 @@
1
- {"version":3,"file":"ChatProfileAvatar.cjs","names":[],"sources":["../../../src/components/chat/ChatProfileAvatar.tsx"],"sourcesContent":["import { FC } from 'react'\nimport { HTMLStyledProps, RecipeVariantProps } from '@stokelp/styled-system/types'\nimport { Box, styled } from '@stokelp/styled-system/jsx'\nimport { Avatar, Text } from '~/components'\nimport { chatProfileAvatar } from '@stokelp/styled-system/recipes'\n\nexport type ChatProfileAvatarProps = {\n name: string\n fallbackText: string\n imageUrl?: string\n} & HTMLStyledProps<'div'> &\n RecipeVariantProps<typeof chatProfileAvatar>\n\nconst StyledHStack = styled(Box, chatProfileAvatar)\n\nexport const ChatProfileAvatar: FC<ChatProfileAvatarProps> = ({ name, fallbackText, imageUrl, ...props }) => {\n return (\n <StyledHStack {...props}>\n <Avatar.Root border=\"solid 1px\" borderColor=\"grey.100\" hasBorder>\n <Avatar.Image src={imageUrl} />\n <Avatar.Fallback>{fallbackText}</Avatar.Fallback>\n </Avatar.Root>\n <Text bold size=\"sm\" color=\"primary.900\">\n {name}\n </Text>\n </StyledHStack>\n )\n}\n"],"mappings":"0MAaA,IAAM,GAAA,EAAA,EAAA,QAAsB,EAAA,IAAK,EAAA,iBAAiB,EAErC,GAAiD,CAAE,OAAM,eAAc,WAAU,GAAG,MAE7F,EAAA,EAAA,MAAC,EAAD,CAAc,GAAI,WAAlB,EACE,EAAA,EAAA,MAAA,EAAA,KAAA,CAAa,OAAO,YAAY,YAAY,WAAW,UAAA,YAAvD,EACE,EAAA,EAAA,KAAA,EAAA,MAAA,CAAc,IAAK,CAAW,CAAA,GAC9B,EAAA,EAAA,KAAA,EAAA,SAAA,CAAA,SAAkB,CAA8B,CAAA,CACrC,KACb,EAAA,EAAA,KAAC,EAAA,KAAD,CAAM,KAAA,GAAK,KAAK,KAAK,MAAM,uBACxB,CACG,CAAA,CACM"}
1
+ {"version":3,"file":"ChatProfileAvatar.cjs","names":["styled","Box","chatProfileAvatar","Text","require_Text","require_styled","_stokelp_styled_system_jsx","_stokelp_styled_system_recipes","react_jsx_runtime","StyledHStack","ChatProfileAvatar","props","imageUrl","fallbackText","name"],"sources":["../../../src/components/chat/ChatProfileAvatar.tsx"],"sourcesContent":["import { FC } from 'react'\nimport { HTMLStyledProps, RecipeVariantProps } from '@stokelp/styled-system/types'\nimport { Box, styled } from '@stokelp/styled-system/jsx'\nimport { Avatar, Text } from '~/components'\nimport { chatProfileAvatar } from '@stokelp/styled-system/recipes'\n\nexport type ChatProfileAvatarProps = {\n name: string\n fallbackText: string\n imageUrl?: string\n} & HTMLStyledProps<'div'> &\n RecipeVariantProps<typeof chatProfileAvatar>\n\nconst StyledHStack = styled(Box, chatProfileAvatar)\n\nexport const ChatProfileAvatar: FC<ChatProfileAvatarProps> = ({ name, fallbackText, imageUrl, ...props }) => {\n return (\n <StyledHStack {...props}>\n <Avatar.Root border=\"solid 1px\" borderColor=\"grey.100\" hasBorder>\n <Avatar.Image src={imageUrl} />\n <Avatar.Fallback>{fallbackText}</Avatar.Fallback>\n </Avatar.Root>\n <Text bold size=\"sm\" color=\"primary.900\">\n {name}\n </Text>\n </StyledHStack>\n )\n}\n"],"mappings":"A,0MAaA,IAAMS,GAAA,EAAeT,EAAAA,OAAAA,CAAOC,EAAAA,IAAKC,EAAAA,iBAAiB,EAErCQ,GAAiD,CAAE,OAAM,eAAc,WAAU,GAAGC,MAE7F,EAAAH,EAAA,KAAA,CAACC,EAAD,CAAc,GAAIE,EAAlB,SAAA,EACE,EAAAH,EAAA,KAAA,CAAAH,EAAA,KAAA,CAAa,OAAO,YAAY,YAAY,WAAW,UAAA,GAAvD,SAAA,EACE,EAAAG,EAAA,IAAA,CAAAH,EAAA,MAAA,CAAc,IAAKO,CAAW,CAAA,GAC9B,EAAAJ,EAAA,IAAA,CAAAH,EAAA,SAAA,CAAA,SAAkBQ,CAA8B,CAAA,CACrC,CACb,CAAA,GAAA,EAAAL,EAAA,IAAA,CAACL,EAAAA,KAAD,CAAM,KAAA,GAAK,KAAK,KAAK,MAAM,cACxB,SAAAW,CACG,CAAA,CACM,C"}
@@ -4,7 +4,7 @@ import { Fallback as t, Image as n, Root as r } from "../avatar/styled.js";
4
4
  import { Box as i, styled as a } from "@stokelp/styled-system/jsx";
5
5
  import { chatProfileAvatar as o } from "@stokelp/styled-system/recipes";
6
6
  import { jsx as s, jsxs as c } from "react/jsx-runtime";
7
- //#region src/components/chat/ChatProfileAvatar.tsx
7
+ // src/components/chat/ChatProfileAvatar.tsx
8
8
  var l = a(i, o), u = ({ name: i, fallbackText: a, imageUrl: o, ...u }) => /* @__PURE__ */ c(l, {
9
9
  ...u,
10
10
  children: [/* @__PURE__ */ c(r, {
@@ -19,7 +19,6 @@ var l = a(i, o), u = ({ name: i, fallbackText: a, imageUrl: o, ...u }) => /* @__
19
19
  children: i
20
20
  })]
21
21
  });
22
- //#endregion
23
22
  export { u as ChatProfileAvatar };
24
23
 
25
24
  //# sourceMappingURL=ChatProfileAvatar.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChatProfileAvatar.js","names":[],"sources":["../../../src/components/chat/ChatProfileAvatar.tsx"],"sourcesContent":["import { FC } from 'react'\nimport { HTMLStyledProps, RecipeVariantProps } from '@stokelp/styled-system/types'\nimport { Box, styled } from '@stokelp/styled-system/jsx'\nimport { Avatar, Text } from '~/components'\nimport { chatProfileAvatar } from '@stokelp/styled-system/recipes'\n\nexport type ChatProfileAvatarProps = {\n name: string\n fallbackText: string\n imageUrl?: string\n} & HTMLStyledProps<'div'> &\n RecipeVariantProps<typeof chatProfileAvatar>\n\nconst StyledHStack = styled(Box, chatProfileAvatar)\n\nexport const ChatProfileAvatar: FC<ChatProfileAvatarProps> = ({ name, fallbackText, imageUrl, ...props }) => {\n return (\n <StyledHStack {...props}>\n <Avatar.Root border=\"solid 1px\" borderColor=\"grey.100\" hasBorder>\n <Avatar.Image src={imageUrl} />\n <Avatar.Fallback>{fallbackText}</Avatar.Fallback>\n </Avatar.Root>\n <Text bold size=\"sm\" color=\"primary.900\">\n {name}\n </Text>\n </StyledHStack>\n )\n}\n"],"mappings":";;;;;;;AAaA,IAAM,IAAe,EAAO,GAAK,CAAiB,GAErC,KAAiD,EAAE,SAAM,iBAAc,aAAU,GAAG,QAE7F,kBAAC,GAAD;CAAc,GAAI;WAAlB,CACE,kBAAC,GAAD;EAAa,QAAO;EAAY,aAAY;EAAW,WAAA;YAAvD,CACE,kBAAC,GAAD,EAAc,KAAK,EAAW,CAAA,GAC9B,kBAAC,GAAD,EAAA,UAAkB,EAA8B,CAAA,CACrC;KACb,kBAAC,GAAD;EAAM,MAAA;EAAK,MAAK;EAAK,OAAM;YACxB;CACG,CAAA,CACM"}
1
+ {"version":3,"file":"ChatProfileAvatar.js","names":["Avatar.Root","Avatar.Image","Avatar.Fallback","StyledHStack","styled","Box","chatProfileAvatar","ChatProfileAvatar","props","Root","Image","imageUrl","Fallback","fallbackText","Text","name"],"sources":["../../../src/components/chat/ChatProfileAvatar.tsx"],"sourcesContent":["import { FC } from 'react'\nimport { HTMLStyledProps, RecipeVariantProps } from '@stokelp/styled-system/types'\nimport { Box, styled } from '@stokelp/styled-system/jsx'\nimport { Avatar, Text } from '~/components'\nimport { chatProfileAvatar } from '@stokelp/styled-system/recipes'\n\nexport type ChatProfileAvatarProps = {\n name: string\n fallbackText: string\n imageUrl?: string\n} & HTMLStyledProps<'div'> &\n RecipeVariantProps<typeof chatProfileAvatar>\n\nconst StyledHStack = styled(Box, chatProfileAvatar)\n\nexport const ChatProfileAvatar: FC<ChatProfileAvatarProps> = ({ name, fallbackText, imageUrl, ...props }) => {\n return (\n <StyledHStack {...props}>\n <Avatar.Root border=\"solid 1px\" borderColor=\"grey.100\" hasBorder>\n <Avatar.Image src={imageUrl} />\n <Avatar.Fallback>{fallbackText}</Avatar.Fallback>\n </Avatar.Root>\n <Text bold size=\"sm\" color=\"primary.900\">\n {name}\n </Text>\n </StyledHStack>\n )\n}\n"],"mappings":";;;;;;;AAaA,IAAMG,IAAeC,EAAOC,GAAKC,CAAiB,GAErCC,KAAiD,EAAE,SAAM,iBAAc,aAAU,GAAGC,QAE7F,kBAACL,GAAD;CAAc,GAAIK;CAAlB,UAAA,CACE,kBAACR,GAAD;EAAa,QAAO;EAAY,aAAY;EAAW,WAAA;EAAvD,UAAA,CACE,kBAACC,GAAD,EAAc,KAAKU,EAAW,CAAA,GAC9B,kBAACT,GAAD,EAAA,UAAkBW,EAA8B,CAAA,CACrC;CACb,CAAA,GAAA,kBAACC,GAAD;EAAM,MAAA;EAAK,MAAK;EAAK,OAAM;EACxB,UAAAC;CACG,CAAA,CACM"}