@stokelp/ui 2.103.0 → 2.104.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 (807) hide show
  1. package/dist/_virtual/_rolldown/runtime.cjs +1 -0
  2. package/dist/_virtual/_rolldown/runtime.js +21 -0
  3. package/dist/components/accordion/Accordion.cjs +2 -2
  4. package/dist/components/accordion/Accordion.cjs.map +1 -1
  5. package/dist/components/accordion/Accordion.js +22 -27
  6. package/dist/components/accordion/Accordion.js.map +1 -1
  7. package/dist/components/action-card/ActionCard.cjs +2 -2
  8. package/dist/components/action-card/ActionCard.cjs.map +1 -1
  9. package/dist/components/action-card/ActionCard.js +23 -26
  10. package/dist/components/action-card/ActionCard.js.map +1 -1
  11. package/dist/components/alert/Alert.cjs +2 -2
  12. package/dist/components/alert/Alert.cjs.map +1 -1
  13. package/dist/components/alert/Alert.js +117 -84
  14. package/dist/components/alert/Alert.js.map +1 -1
  15. package/dist/components/app/mobile-card/MobileCardEntityRow.cjs +2 -2
  16. package/dist/components/app/mobile-card/MobileCardEntityRow.cjs.map +1 -1
  17. package/dist/components/app/mobile-card/MobileCardEntityRow.js +44 -25
  18. package/dist/components/app/mobile-card/MobileCardEntityRow.js.map +1 -1
  19. package/dist/components/app/mobile-card/MobileCardHeader.cjs +2 -2
  20. package/dist/components/app/mobile-card/MobileCardHeader.cjs.map +1 -1
  21. package/dist/components/app/mobile-card/MobileCardHeader.js +18 -20
  22. package/dist/components/app/mobile-card/MobileCardHeader.js.map +1 -1
  23. package/dist/components/app/mobile-card/MobileCardNotificationBadge.cjs +2 -2
  24. package/dist/components/app/mobile-card/MobileCardNotificationBadge.cjs.map +1 -1
  25. package/dist/components/app/mobile-card/MobileCardNotificationBadge.js +31 -13
  26. package/dist/components/app/mobile-card/MobileCardNotificationBadge.js.map +1 -1
  27. package/dist/components/app/mobile-card/MobileCardShell.cjs +2 -2
  28. package/dist/components/app/mobile-card/MobileCardShell.cjs.map +1 -1
  29. package/dist/components/app/mobile-card/MobileCardShell.js +17 -19
  30. package/dist/components/app/mobile-card/MobileCardShell.js.map +1 -1
  31. package/dist/components/app/mobile-card/MobileCardSkeleton.cjs +2 -2
  32. package/dist/components/app/mobile-card/MobileCardSkeleton.cjs.map +1 -1
  33. package/dist/components/app/mobile-card/MobileCardSkeleton.js +45 -22
  34. package/dist/components/app/mobile-card/MobileCardSkeleton.js.map +1 -1
  35. package/dist/components/app/mobile-navigation/MobileNavigation.cjs +2 -2
  36. package/dist/components/app/mobile-navigation/MobileNavigation.cjs.map +1 -1
  37. package/dist/components/app/mobile-navigation/MobileNavigation.d.ts +4 -5
  38. package/dist/components/app/mobile-navigation/MobileNavigation.js +16 -18
  39. package/dist/components/app/mobile-navigation/MobileNavigation.js.map +1 -1
  40. package/dist/components/app/navigation/AppNavigation.cjs +2 -2
  41. package/dist/components/app/navigation/AppNavigation.cjs.map +1 -1
  42. package/dist/components/app/navigation/AppNavigation.d.ts +11 -11
  43. package/dist/components/app/navigation/AppNavigation.js +35 -47
  44. package/dist/components/app/navigation/AppNavigation.js.map +1 -1
  45. package/dist/components/app/navigation/language-select/AppNavigationLanguageSelect.cjs +2 -2
  46. package/dist/components/app/navigation/language-select/AppNavigationLanguageSelect.cjs.map +1 -1
  47. package/dist/components/app/navigation/language-select/AppNavigationLanguageSelect.js +188 -119
  48. package/dist/components/app/navigation/language-select/AppNavigationLanguageSelect.js.map +1 -1
  49. package/dist/components/app/price-tag/PriceTag.cjs +2 -2
  50. package/dist/components/app/price-tag/PriceTag.cjs.map +1 -1
  51. package/dist/components/app/price-tag/PriceTag.js +25 -19
  52. package/dist/components/app/price-tag/PriceTag.js.map +1 -1
  53. package/dist/components/app/product-card-catalog/styled.cjs +2 -2
  54. package/dist/components/app/product-card-catalog/styled.cjs.map +1 -1
  55. package/dist/components/app/product-card-catalog/styled.js +23 -21
  56. package/dist/components/app/product-card-catalog/styled.js.map +1 -1
  57. package/dist/components/avatar/styled.cjs +2 -2
  58. package/dist/components/avatar/styled.cjs.map +1 -1
  59. package/dist/components/avatar/styled.d.ts +11 -7
  60. package/dist/components/avatar/styled.js +28 -27
  61. package/dist/components/avatar/styled.js.map +1 -1
  62. package/dist/components/box/Box.cjs +2 -2
  63. package/dist/components/box/Box.cjs.map +1 -1
  64. package/dist/components/box/Box.js +11 -10
  65. package/dist/components/box/Box.js.map +1 -1
  66. package/dist/components/breadcrumb/Breadcrumb.cjs +2 -2
  67. package/dist/components/breadcrumb/Breadcrumb.cjs.map +1 -1
  68. package/dist/components/breadcrumb/Breadcrumb.d.ts +6 -8
  69. package/dist/components/breadcrumb/Breadcrumb.js +39 -35
  70. package/dist/components/breadcrumb/Breadcrumb.js.map +1 -1
  71. package/dist/components/button/Button.cjs +2 -2
  72. package/dist/components/button/Button.cjs.map +1 -1
  73. package/dist/components/button/Button.d.ts +8 -4
  74. package/dist/components/button/Button.js +9 -8
  75. package/dist/components/button/Button.js.map +1 -1
  76. package/dist/components/button-filter/ButtonFilter.cjs +2 -2
  77. package/dist/components/button-filter/ButtonFilter.cjs.map +1 -1
  78. package/dist/components/button-filter/ButtonFilter.d.ts +5 -4
  79. package/dist/components/button-filter/ButtonFilter.js +9 -8
  80. package/dist/components/button-filter/ButtonFilter.js.map +1 -1
  81. package/dist/components/chat/Chat.cjs +2 -2
  82. package/dist/components/chat/Chat.cjs.map +1 -1
  83. package/dist/components/chat/Chat.d.ts +15 -8
  84. package/dist/components/chat/Chat.js +27 -26
  85. package/dist/components/chat/Chat.js.map +1 -1
  86. package/dist/components/chat/ChatDocumentMessage.cjs +2 -2
  87. package/dist/components/chat/ChatDocumentMessage.cjs.map +1 -1
  88. package/dist/components/chat/ChatDocumentMessage.js +32 -31
  89. package/dist/components/chat/ChatDocumentMessage.js.map +1 -1
  90. package/dist/components/chat/ChatMessage.cjs +2 -2
  91. package/dist/components/chat/ChatMessage.cjs.map +1 -1
  92. package/dist/components/chat/ChatMessage.d.ts +7 -4
  93. package/dist/components/chat/ChatMessage.js +8 -7
  94. package/dist/components/chat/ChatMessage.js.map +1 -1
  95. package/dist/components/chat/ChatProfileAvatar.cjs +2 -2
  96. package/dist/components/chat/ChatProfileAvatar.cjs.map +1 -1
  97. package/dist/components/chat/ChatProfileAvatar.js +24 -16
  98. package/dist/components/chat/ChatProfileAvatar.js.map +1 -1
  99. package/dist/components/chat/ChatTextInput.cjs +2 -2
  100. package/dist/components/chat/ChatTextInput.cjs.map +1 -1
  101. package/dist/components/chat/ChatTextInput.d.ts +2 -2
  102. package/dist/components/chat/ChatTextInput.js +44 -52
  103. package/dist/components/chat/ChatTextInput.js.map +1 -1
  104. package/dist/components/checkbox/Checkbox.cjs +2 -2
  105. package/dist/components/checkbox/Checkbox.cjs.map +1 -1
  106. package/dist/components/checkbox/Checkbox.js +36 -34
  107. package/dist/components/checkbox/Checkbox.js.map +1 -1
  108. package/dist/components/checkbox-card/CheckboxCard.cjs +2 -2
  109. package/dist/components/checkbox-card/CheckboxCard.cjs.map +1 -1
  110. package/dist/components/checkbox-card/CheckboxCard.d.ts +2 -2
  111. package/dist/components/checkbox-card/CheckboxCard.js +33 -38
  112. package/dist/components/checkbox-card/CheckboxCard.js.map +1 -1
  113. package/dist/components/checkbox-card/namespace.cjs +2 -2
  114. package/dist/components/checkbox-card/namespace.cjs.map +1 -1
  115. package/dist/components/checkbox-card/namespace.js +14 -9
  116. package/dist/components/checkbox-card/namespace.js.map +1 -1
  117. package/dist/components/chip/Chip.cjs +2 -2
  118. package/dist/components/chip/Chip.cjs.map +1 -1
  119. package/dist/components/chip/Chip.d.ts +1 -1
  120. package/dist/components/chip/Chip.js +23 -23
  121. package/dist/components/chip/Chip.js.map +1 -1
  122. package/dist/components/collapsible/styled.cjs +2 -2
  123. package/dist/components/collapsible/styled.cjs.map +1 -1
  124. package/dist/components/collapsible/styled.js +15 -11
  125. package/dist/components/collapsible/styled.js.map +1 -1
  126. package/dist/components/combobox/Combobox.cjs +2 -2
  127. package/dist/components/combobox/Combobox.cjs.map +1 -1
  128. package/dist/components/combobox/Combobox.js +206 -173
  129. package/dist/components/combobox/Combobox.js.map +1 -1
  130. package/dist/components/date-picker/DatePicker.cjs +2 -2
  131. package/dist/components/date-picker/DatePicker.cjs.map +1 -1
  132. package/dist/components/date-picker/DatePicker.d.ts +2 -2
  133. package/dist/components/date-picker/DatePicker.js +151 -127
  134. package/dist/components/date-picker/DatePicker.js.map +1 -1
  135. package/dist/components/dialog/styled.cjs +2 -2
  136. package/dist/components/dialog/styled.cjs.map +1 -1
  137. package/dist/components/dialog/styled.js +75 -65
  138. package/dist/components/dialog/styled.js.map +1 -1
  139. package/dist/components/drawer/Drawer.cjs +2 -2
  140. package/dist/components/drawer/Drawer.cjs.map +1 -1
  141. package/dist/components/drawer/Drawer.js +69 -63
  142. package/dist/components/drawer/Drawer.js.map +1 -1
  143. package/dist/components/flag/styled.cjs +2 -2
  144. package/dist/components/flag/styled.cjs.map +1 -1
  145. package/dist/components/flag/styled.d.ts +9 -7
  146. package/dist/components/flag/styled.js +8437 -3751
  147. package/dist/components/flag/styled.js.map +1 -1
  148. package/dist/components/form/FormControl.cjs +2 -2
  149. package/dist/components/form/FormControl.cjs.map +1 -1
  150. package/dist/components/form/FormControl.d.ts +3 -3
  151. package/dist/components/form/FormControl.js +13 -18
  152. package/dist/components/form/FormControl.js.map +1 -1
  153. package/dist/components/form/FormHelperText.cjs +2 -2
  154. package/dist/components/form/FormHelperText.cjs.map +1 -1
  155. package/dist/components/form/FormHelperText.d.ts +1 -1
  156. package/dist/components/form/FormHelperText.js +8 -9
  157. package/dist/components/form/FormHelperText.js.map +1 -1
  158. package/dist/components/form/FormLabel.cjs +2 -2
  159. package/dist/components/form/FormLabel.cjs.map +1 -1
  160. package/dist/components/form/FormLabel.d.ts +3 -3
  161. package/dist/components/form/FormLabel.js +38 -33
  162. package/dist/components/form/FormLabel.js.map +1 -1
  163. package/dist/components/heading/Heading.cjs +2 -2
  164. package/dist/components/heading/Heading.cjs.map +1 -1
  165. package/dist/components/heading/Heading.js +14 -10
  166. package/dist/components/heading/Heading.js.map +1 -1
  167. package/dist/components/icon/Icon.cjs +2 -2
  168. package/dist/components/icon/Icon.cjs.map +1 -1
  169. package/dist/components/icon/Icon.d.ts +2 -2
  170. package/dist/components/icon/Icon.js +15 -10
  171. package/dist/components/icon/Icon.js.map +1 -1
  172. package/dist/components/icon-button/IconButton.cjs +2 -2
  173. package/dist/components/icon-button/IconButton.cjs.map +1 -1
  174. package/dist/components/icon-button/IconButton.d.ts +2 -3
  175. package/dist/components/icon-button/IconButton.js +8 -7
  176. package/dist/components/icon-button/IconButton.js.map +1 -1
  177. package/dist/components/illustration/Illustration.cjs +2 -2
  178. package/dist/components/illustration/Illustration.cjs.map +1 -1
  179. package/dist/components/illustration/Illustration.js +35 -39
  180. package/dist/components/illustration/Illustration.js.map +1 -1
  181. package/dist/components/illustration/patterns.cjs +2 -2
  182. package/dist/components/illustration/patterns.cjs.map +1 -1
  183. package/dist/components/illustration/patterns.js +5563 -8897
  184. package/dist/components/illustration/patterns.js.map +1 -1
  185. package/dist/components/input/HighlightedInput.cjs +2 -2
  186. package/dist/components/input/HighlightedInput.cjs.map +1 -1
  187. package/dist/components/input/HighlightedInput.d.ts +13 -16
  188. package/dist/components/input/HighlightedInput.js +43 -58
  189. package/dist/components/input/HighlightedInput.js.map +1 -1
  190. package/dist/components/input/Input.cjs +2 -2
  191. package/dist/components/input/Input.cjs.map +1 -1
  192. package/dist/components/input/Input.d.ts +2 -3
  193. package/dist/components/input/Input.js +12 -13
  194. package/dist/components/input/Input.js.map +1 -1
  195. package/dist/components/input/InputAddon.cjs +2 -2
  196. package/dist/components/input/InputAddon.cjs.map +1 -1
  197. package/dist/components/input/InputAddon.d.ts +5 -4
  198. package/dist/components/input/InputAddon.js +8 -9
  199. package/dist/components/input/InputAddon.js.map +1 -1
  200. package/dist/components/input/InputGroup.cjs +2 -2
  201. package/dist/components/input/InputGroup.cjs.map +1 -1
  202. package/dist/components/input/InputGroup.d.ts +1 -1
  203. package/dist/components/input/InputGroup.js +8 -9
  204. package/dist/components/input/InputGroup.js.map +1 -1
  205. package/dist/components/input/PhoneNumberInput.cjs +2 -2
  206. package/dist/components/input/PhoneNumberInput.cjs.map +1 -1
  207. package/dist/components/input/PhoneNumberInput.js +21 -23
  208. package/dist/components/input/PhoneNumberInput.js.map +1 -1
  209. package/dist/components/menu/Menu.cjs +2 -2
  210. package/dist/components/menu/Menu.cjs.map +1 -1
  211. package/dist/components/menu/Menu.js +32 -28
  212. package/dist/components/menu/Menu.js.map +1 -1
  213. package/dist/components/pagination/Pagination.cjs +2 -2
  214. package/dist/components/pagination/Pagination.cjs.map +1 -1
  215. package/dist/components/pagination/Pagination.d.ts +1 -1
  216. package/dist/components/pagination/Pagination.js +76 -84
  217. package/dist/components/pagination/Pagination.js.map +1 -1
  218. package/dist/components/pagination/use-pagination.cjs +2 -2
  219. package/dist/components/pagination/use-pagination.cjs.map +1 -1
  220. package/dist/components/pagination/use-pagination.js +56 -54
  221. package/dist/components/pagination/use-pagination.js.map +1 -1
  222. package/dist/components/popover/Popover.cjs +2 -2
  223. package/dist/components/popover/Popover.cjs.map +1 -1
  224. package/dist/components/popover/Popover.js +21 -25
  225. package/dist/components/popover/Popover.js.map +1 -1
  226. package/dist/components/radio-button-group/RadioButtonGroup.cjs +2 -2
  227. package/dist/components/radio-button-group/RadioButtonGroup.cjs.map +1 -1
  228. package/dist/components/radio-button-group/RadioButtonGroup.js +20 -20
  229. package/dist/components/radio-button-group/RadioButtonGroup.js.map +1 -1
  230. package/dist/components/radio-card-group/RadioCardGroup.cjs +2 -2
  231. package/dist/components/radio-card-group/RadioCardGroup.cjs.map +1 -1
  232. package/dist/components/radio-card-group/RadioCardGroup.d.ts +2 -2
  233. package/dist/components/radio-card-group/RadioCardGroup.js +21 -22
  234. package/dist/components/radio-card-group/RadioCardGroup.js.map +1 -1
  235. package/dist/components/radio-card-group/namespace.cjs +2 -2
  236. package/dist/components/radio-card-group/namespace.cjs.map +1 -1
  237. package/dist/components/radio-card-group/namespace.js +15 -10
  238. package/dist/components/radio-card-group/namespace.js.map +1 -1
  239. package/dist/components/radio-group/RadioGroup.cjs +2 -2
  240. package/dist/components/radio-group/RadioGroup.cjs.map +1 -1
  241. package/dist/components/radio-group/RadioGroup.js +21 -21
  242. package/dist/components/radio-group/RadioGroup.js.map +1 -1
  243. package/dist/components/select/Select.cjs +2 -2
  244. package/dist/components/select/Select.cjs.map +1 -1
  245. package/dist/components/select/Select.js +194 -141
  246. package/dist/components/select/Select.js.map +1 -1
  247. package/dist/components/select-language/SelectLanguage.cjs +2 -2
  248. package/dist/components/select-language/SelectLanguage.cjs.map +1 -1
  249. package/dist/components/select-language/SelectLanguage.js +114 -88
  250. package/dist/components/select-language/SelectLanguage.js.map +1 -1
  251. package/dist/components/status-tag-select/StatusTagSelect.cjs +2 -2
  252. package/dist/components/status-tag-select/StatusTagSelect.cjs.map +1 -1
  253. package/dist/components/status-tag-select/StatusTagSelect.js +93 -115
  254. package/dist/components/status-tag-select/StatusTagSelect.js.map +1 -1
  255. package/dist/components/switch/Switch.cjs +2 -2
  256. package/dist/components/switch/Switch.cjs.map +1 -1
  257. package/dist/components/switch/Switch.js +30 -18
  258. package/dist/components/switch/Switch.js.map +1 -1
  259. package/dist/components/switch-card/SwitchCard.cjs +2 -2
  260. package/dist/components/switch-card/SwitchCard.cjs.map +1 -1
  261. package/dist/components/switch-card/SwitchCard.d.ts +2 -2
  262. package/dist/components/switch-card/SwitchCard.js +28 -25
  263. package/dist/components/switch-card/SwitchCard.js.map +1 -1
  264. package/dist/components/switch-card/namespace.cjs +2 -2
  265. package/dist/components/switch-card/namespace.cjs.map +1 -1
  266. package/dist/components/switch-card/namespace.js +14 -9
  267. package/dist/components/switch-card/namespace.js.map +1 -1
  268. package/dist/components/table/Table.cjs +2 -2
  269. package/dist/components/table/Table.cjs.map +1 -1
  270. package/dist/components/table/Table.d.ts +12 -13
  271. package/dist/components/table/Table.js +133 -109
  272. package/dist/components/table/Table.js.map +1 -1
  273. package/dist/components/table/TableProvider.cjs +2 -2
  274. package/dist/components/table/TableProvider.cjs.map +1 -1
  275. package/dist/components/table/TableProvider.js +36 -39
  276. package/dist/components/table/TableProvider.js.map +1 -1
  277. package/dist/components/tabs/Tabs.cjs +2 -2
  278. package/dist/components/tabs/Tabs.cjs.map +1 -1
  279. package/dist/components/tabs/Tabs.d.ts +8 -4
  280. package/dist/components/tabs/Tabs.js +18 -26
  281. package/dist/components/tabs/Tabs.js.map +1 -1
  282. package/dist/components/tag/Tag.cjs +2 -2
  283. package/dist/components/tag/Tag.cjs.map +1 -1
  284. package/dist/components/tag/Tag.js +22 -16
  285. package/dist/components/tag/Tag.js.map +1 -1
  286. package/dist/components/text/Text.cjs +2 -2
  287. package/dist/components/text/Text.cjs.map +1 -1
  288. package/dist/components/text/Text.js +12 -11
  289. package/dist/components/text/Text.js.map +1 -1
  290. package/dist/components/textarea/Textarea.cjs +2 -2
  291. package/dist/components/textarea/Textarea.cjs.map +1 -1
  292. package/dist/components/textarea/Textarea.d.ts +6 -6
  293. package/dist/components/textarea/Textarea.js +9 -8
  294. package/dist/components/textarea/Textarea.js.map +1 -1
  295. package/dist/components/tooltip/Tooltip.cjs +2 -2
  296. package/dist/components/tooltip/Tooltip.cjs.map +1 -1
  297. package/dist/components/tooltip/Tooltip.js +38 -42
  298. package/dist/components/tooltip/Tooltip.js.map +1 -1
  299. package/dist/icons/index.cjs +2 -2
  300. package/dist/icons/index.cjs.map +1 -1
  301. package/dist/icons/index.js +65 -58
  302. package/dist/icons/index.js.map +1 -1
  303. package/dist/index.cjs +1 -2
  304. package/dist/index.js +66 -191
  305. package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.cjs +2 -0
  306. package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.cjs.map +1 -0
  307. package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.js +25 -0
  308. package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.js.map +1 -0
  309. package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.cjs +2 -0
  310. package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.cjs.map +1 -0
  311. package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.js +25 -0
  312. package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.js.map +1 -0
  313. package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.cjs +2 -0
  314. package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.cjs.map +1 -0
  315. package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.js +25 -0
  316. package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.js.map +1 -0
  317. package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.cjs +2 -0
  318. package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.cjs.map +1 -0
  319. package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.js +25 -0
  320. package/dist/node_modules/.pnpm/@heroicons_react@2.2.0_react@19.2.6/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.js.map +1 -0
  321. package/dist/node_modules/.pnpm/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.cjs +2 -0
  322. package/dist/node_modules/.pnpm/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.cjs.map +1 -0
  323. package/dist/node_modules/.pnpm/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.js +77 -0
  324. package/dist/node_modules/.pnpm/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.js.map +1 -0
  325. package/dist/preset.cjs +2 -2
  326. package/dist/preset.cjs.map +1 -1
  327. package/dist/preset.d.ts +1 -1
  328. package/dist/preset.js +30 -31
  329. package/dist/preset.js.map +1 -1
  330. package/dist/shared/ConditionalWrapper.cjs +2 -2
  331. package/dist/shared/ConditionalWrapper.cjs.map +1 -1
  332. package/dist/shared/ConditionalWrapper.js +6 -5
  333. package/dist/shared/ConditionalWrapper.js.map +1 -1
  334. package/dist/shared/assets/icons.cjs +2 -2
  335. package/dist/shared/assets/icons.cjs.map +1 -1
  336. package/dist/shared/assets/icons.js +30 -22
  337. package/dist/shared/assets/icons.js.map +1 -1
  338. package/dist/shared/hooks/useUncontrolled.cjs +2 -2
  339. package/dist/shared/hooks/useUncontrolled.cjs.map +1 -1
  340. package/dist/shared/hooks/useUncontrolled.js +19 -16
  341. package/dist/shared/hooks/useUncontrolled.js.map +1 -1
  342. package/dist/shared/utils/events.cjs +2 -2
  343. package/dist/shared/utils/events.cjs.map +1 -1
  344. package/dist/shared/utils/events.js +7 -6
  345. package/dist/shared/utils/events.js.map +1 -1
  346. package/dist/theme/breakpoints.cjs +2 -2
  347. package/dist/theme/breakpoints.cjs.map +1 -1
  348. package/dist/theme/breakpoints.js +10 -9
  349. package/dist/theme/breakpoints.js.map +1 -1
  350. package/dist/theme/conditions.cjs +2 -2
  351. package/dist/theme/conditions.cjs.map +1 -1
  352. package/dist/theme/conditions.js +23 -24
  353. package/dist/theme/conditions.js.map +1 -1
  354. package/dist/theme/containers.cjs +2 -2
  355. package/dist/theme/containers.cjs.map +1 -1
  356. package/dist/theme/containers.js +18 -17
  357. package/dist/theme/containers.js.map +1 -1
  358. package/dist/theme/globalCss.cjs +4 -4
  359. package/dist/theme/globalCss.cjs.map +1 -1
  360. package/dist/theme/globalCss.d.ts +1 -1
  361. package/dist/theme/globalCss.js +94 -99
  362. package/dist/theme/globalCss.js.map +1 -1
  363. package/dist/theme/keyframes.cjs +2 -2
  364. package/dist/theme/keyframes.cjs.map +1 -1
  365. package/dist/theme/keyframes.d.ts +1 -1
  366. package/dist/theme/keyframes.js +256 -171
  367. package/dist/theme/keyframes.js.map +1 -1
  368. package/dist/theme/recipes/accordion.cjs +2 -2
  369. package/dist/theme/recipes/accordion.cjs.map +1 -1
  370. package/dist/theme/recipes/accordion.d.ts +1 -1
  371. package/dist/theme/recipes/accordion.js +93 -110
  372. package/dist/theme/recipes/accordion.js.map +1 -1
  373. package/dist/theme/recipes/action-card.cjs +2 -2
  374. package/dist/theme/recipes/action-card.cjs.map +1 -1
  375. package/dist/theme/recipes/action-card.d.ts +1 -1
  376. package/dist/theme/recipes/action-card.js +88 -84
  377. package/dist/theme/recipes/action-card.js.map +1 -1
  378. package/dist/theme/recipes/alert.cjs +2 -2
  379. package/dist/theme/recipes/alert.cjs.map +1 -1
  380. package/dist/theme/recipes/alert.d.ts +1 -1
  381. package/dist/theme/recipes/alert.js +52 -65
  382. package/dist/theme/recipes/alert.js.map +1 -1
  383. package/dist/theme/recipes/app/mobile-navigation.cjs +2 -2
  384. package/dist/theme/recipes/app/mobile-navigation.cjs.map +1 -1
  385. package/dist/theme/recipes/app/mobile-navigation.d.ts +1 -1
  386. package/dist/theme/recipes/app/mobile-navigation.js +94 -108
  387. package/dist/theme/recipes/app/mobile-navigation.js.map +1 -1
  388. package/dist/theme/recipes/app/navigation-language-select.cjs +2 -2
  389. package/dist/theme/recipes/app/navigation-language-select.cjs.map +1 -1
  390. package/dist/theme/recipes/app/navigation-language-select.d.ts +1 -1
  391. package/dist/theme/recipes/app/navigation-language-select.js +135 -148
  392. package/dist/theme/recipes/app/navigation-language-select.js.map +1 -1
  393. package/dist/theme/recipes/app/navigation.cjs +2 -2
  394. package/dist/theme/recipes/app/navigation.cjs.map +1 -1
  395. package/dist/theme/recipes/app/navigation.d.ts +1 -1
  396. package/dist/theme/recipes/app/navigation.js +214 -269
  397. package/dist/theme/recipes/app/navigation.js.map +1 -1
  398. package/dist/theme/recipes/app/price-tag.cjs +2 -2
  399. package/dist/theme/recipes/app/price-tag.cjs.map +1 -1
  400. package/dist/theme/recipes/app/price-tag.d.ts +1 -1
  401. package/dist/theme/recipes/app/price-tag.js +59 -70
  402. package/dist/theme/recipes/app/price-tag.js.map +1 -1
  403. package/dist/theme/recipes/app/product-card-catalog.cjs +2 -2
  404. package/dist/theme/recipes/app/product-card-catalog.cjs.map +1 -1
  405. package/dist/theme/recipes/app/product-card-catalog.d.ts +1 -1
  406. package/dist/theme/recipes/app/product-card-catalog.js +189 -194
  407. package/dist/theme/recipes/app/product-card-catalog.js.map +1 -1
  408. package/dist/theme/recipes/avatar-group.cjs +2 -2
  409. package/dist/theme/recipes/avatar-group.cjs.map +1 -1
  410. package/dist/theme/recipes/avatar-group.d.ts +1 -1
  411. package/dist/theme/recipes/avatar-group.js +27 -38
  412. package/dist/theme/recipes/avatar-group.js.map +1 -1
  413. package/dist/theme/recipes/avatar.cjs +2 -2
  414. package/dist/theme/recipes/avatar.cjs.map +1 -1
  415. package/dist/theme/recipes/avatar.d.ts +1 -1
  416. package/dist/theme/recipes/avatar.js +97 -95
  417. package/dist/theme/recipes/avatar.js.map +1 -1
  418. package/dist/theme/recipes/breadcrumb.cjs +2 -2
  419. package/dist/theme/recipes/breadcrumb.cjs.map +1 -1
  420. package/dist/theme/recipes/breadcrumb.d.ts +1 -1
  421. package/dist/theme/recipes/breadcrumb.js +35 -31
  422. package/dist/theme/recipes/breadcrumb.js.map +1 -1
  423. package/dist/theme/recipes/button-filter.cjs +2 -2
  424. package/dist/theme/recipes/button-filter.cjs.map +1 -1
  425. package/dist/theme/recipes/button-filter.d.ts +1 -1
  426. package/dist/theme/recipes/button-filter.js +57 -60
  427. package/dist/theme/recipes/button-filter.js.map +1 -1
  428. package/dist/theme/recipes/button.cjs +2 -2
  429. package/dist/theme/recipes/button.cjs.map +1 -1
  430. package/dist/theme/recipes/button.d.ts +1 -1
  431. package/dist/theme/recipes/button.js +287 -295
  432. package/dist/theme/recipes/button.js.map +1 -1
  433. package/dist/theme/recipes/chat/chat-document-message.cjs +2 -2
  434. package/dist/theme/recipes/chat/chat-document-message.cjs.map +1 -1
  435. package/dist/theme/recipes/chat/chat-document-message.d.ts +1 -1
  436. package/dist/theme/recipes/chat/chat-document-message.js +38 -43
  437. package/dist/theme/recipes/chat/chat-document-message.js.map +1 -1
  438. package/dist/theme/recipes/chat/chat-input-text.cjs +2 -2
  439. package/dist/theme/recipes/chat/chat-input-text.cjs.map +1 -1
  440. package/dist/theme/recipes/chat/chat-input-text.d.ts +1 -1
  441. package/dist/theme/recipes/chat/chat-input-text.js +26 -27
  442. package/dist/theme/recipes/chat/chat-input-text.js.map +1 -1
  443. package/dist/theme/recipes/chat/chat-message.cjs +2 -2
  444. package/dist/theme/recipes/chat/chat-message.cjs.map +1 -1
  445. package/dist/theme/recipes/chat/chat-message.d.ts +1 -1
  446. package/dist/theme/recipes/chat/chat-message.js +49 -45
  447. package/dist/theme/recipes/chat/chat-message.js.map +1 -1
  448. package/dist/theme/recipes/chat/chat-profile-avatar.cjs +2 -2
  449. package/dist/theme/recipes/chat/chat-profile-avatar.cjs.map +1 -1
  450. package/dist/theme/recipes/chat/chat-profile-avatar.d.ts +1 -1
  451. package/dist/theme/recipes/chat/chat-profile-avatar.js +20 -25
  452. package/dist/theme/recipes/chat/chat-profile-avatar.js.map +1 -1
  453. package/dist/theme/recipes/chat/chat.cjs +2 -2
  454. package/dist/theme/recipes/chat/chat.cjs.map +1 -1
  455. package/dist/theme/recipes/chat/chat.d.ts +1 -1
  456. package/dist/theme/recipes/chat/chat.js +51 -56
  457. package/dist/theme/recipes/chat/chat.js.map +1 -1
  458. package/dist/theme/recipes/checkbox-card.cjs +2 -2
  459. package/dist/theme/recipes/checkbox-card.cjs.map +1 -1
  460. package/dist/theme/recipes/checkbox-card.js +44 -40
  461. package/dist/theme/recipes/checkbox-card.js.map +1 -1
  462. package/dist/theme/recipes/checkbox-group.cjs +2 -2
  463. package/dist/theme/recipes/checkbox-group.cjs.map +1 -1
  464. package/dist/theme/recipes/checkbox-group.d.ts +1 -1
  465. package/dist/theme/recipes/checkbox-group.js +13 -12
  466. package/dist/theme/recipes/checkbox-group.js.map +1 -1
  467. package/dist/theme/recipes/checkbox.cjs +2 -2
  468. package/dist/theme/recipes/checkbox.cjs.map +1 -1
  469. package/dist/theme/recipes/checkbox.d.ts +1 -1
  470. package/dist/theme/recipes/checkbox.js +110 -129
  471. package/dist/theme/recipes/checkbox.js.map +1 -1
  472. package/dist/theme/recipes/chip.cjs +2 -2
  473. package/dist/theme/recipes/chip.cjs.map +1 -1
  474. package/dist/theme/recipes/chip.d.ts +1 -1
  475. package/dist/theme/recipes/chip.js +144 -182
  476. package/dist/theme/recipes/chip.js.map +1 -1
  477. package/dist/theme/recipes/collapsible.cjs +2 -2
  478. package/dist/theme/recipes/collapsible.cjs.map +1 -1
  479. package/dist/theme/recipes/collapsible.d.ts +1 -1
  480. package/dist/theme/recipes/collapsible.js +30 -28
  481. package/dist/theme/recipes/collapsible.js.map +1 -1
  482. package/dist/theme/recipes/combobox.cjs +2 -2
  483. package/dist/theme/recipes/combobox.cjs.map +1 -1
  484. package/dist/theme/recipes/combobox.d.ts +1 -1
  485. package/dist/theme/recipes/combobox.js +149 -176
  486. package/dist/theme/recipes/combobox.js.map +1 -1
  487. package/dist/theme/recipes/common/group-card.cjs +2 -2
  488. package/dist/theme/recipes/common/group-card.cjs.map +1 -1
  489. package/dist/theme/recipes/common/group-card.js +60 -80
  490. package/dist/theme/recipes/common/group-card.js.map +1 -1
  491. package/dist/theme/recipes/datepicker.cjs +2 -2
  492. package/dist/theme/recipes/datepicker.cjs.map +1 -1
  493. package/dist/theme/recipes/datepicker.d.ts +1 -1
  494. package/dist/theme/recipes/datepicker.js +149 -176
  495. package/dist/theme/recipes/datepicker.js.map +1 -1
  496. package/dist/theme/recipes/dialog.cjs +2 -2
  497. package/dist/theme/recipes/dialog.cjs.map +1 -1
  498. package/dist/theme/recipes/dialog.d.ts +1 -1
  499. package/dist/theme/recipes/dialog.js +137 -151
  500. package/dist/theme/recipes/dialog.js.map +1 -1
  501. package/dist/theme/recipes/drawer.cjs +2 -2
  502. package/dist/theme/recipes/drawer.cjs.map +1 -1
  503. package/dist/theme/recipes/drawer.d.ts +1 -1
  504. package/dist/theme/recipes/drawer.js +105 -125
  505. package/dist/theme/recipes/drawer.js.map +1 -1
  506. package/dist/theme/recipes/flag.cjs +2 -2
  507. package/dist/theme/recipes/flag.cjs.map +1 -1
  508. package/dist/theme/recipes/flag.d.ts +1 -1
  509. package/dist/theme/recipes/flag.js +21 -30
  510. package/dist/theme/recipes/flag.js.map +1 -1
  511. package/dist/theme/recipes/form/control.cjs +2 -2
  512. package/dist/theme/recipes/form/control.cjs.map +1 -1
  513. package/dist/theme/recipes/form/control.d.ts +1 -1
  514. package/dist/theme/recipes/form/control.js +27 -34
  515. package/dist/theme/recipes/form/control.js.map +1 -1
  516. package/dist/theme/recipes/form/helper-text.cjs +2 -2
  517. package/dist/theme/recipes/form/helper-text.cjs.map +1 -1
  518. package/dist/theme/recipes/form/helper-text.d.ts +1 -1
  519. package/dist/theme/recipes/form/helper-text.js +14 -13
  520. package/dist/theme/recipes/form/helper-text.js.map +1 -1
  521. package/dist/theme/recipes/form/label.cjs +2 -2
  522. package/dist/theme/recipes/form/label.cjs.map +1 -1
  523. package/dist/theme/recipes/form/label.d.ts +1 -1
  524. package/dist/theme/recipes/form/label.js +47 -48
  525. package/dist/theme/recipes/form/label.js.map +1 -1
  526. package/dist/theme/recipes/heading.cjs +2 -2
  527. package/dist/theme/recipes/heading.cjs.map +1 -1
  528. package/dist/theme/recipes/heading.d.ts +1 -1
  529. package/dist/theme/recipes/heading.js +25 -34
  530. package/dist/theme/recipes/heading.js.map +1 -1
  531. package/dist/theme/recipes/highlightedInput.cjs +2 -2
  532. package/dist/theme/recipes/highlightedInput.cjs.map +1 -1
  533. package/dist/theme/recipes/highlightedInput.d.ts +1 -1
  534. package/dist/theme/recipes/highlightedInput.js +54 -45
  535. package/dist/theme/recipes/highlightedInput.js.map +1 -1
  536. package/dist/theme/recipes/icon-button.cjs +2 -2
  537. package/dist/theme/recipes/icon-button.cjs.map +1 -1
  538. package/dist/theme/recipes/icon-button.js +81 -89
  539. package/dist/theme/recipes/icon-button.js.map +1 -1
  540. package/dist/theme/recipes/icon.cjs +2 -2
  541. package/dist/theme/recipes/icon.cjs.map +1 -1
  542. package/dist/theme/recipes/icon.d.ts +1 -1
  543. package/dist/theme/recipes/icon.js +39 -42
  544. package/dist/theme/recipes/icon.js.map +1 -1
  545. package/dist/theme/recipes/illustration.cjs +2 -2
  546. package/dist/theme/recipes/illustration.cjs.map +1 -1
  547. package/dist/theme/recipes/illustration.d.ts +1 -1
  548. package/dist/theme/recipes/illustration.js +29 -48
  549. package/dist/theme/recipes/illustration.js.map +1 -1
  550. package/dist/theme/recipes/index.cjs +2 -2
  551. package/dist/theme/recipes/index.cjs.map +1 -1
  552. package/dist/theme/recipes/index.d.ts +1 -1
  553. package/dist/theme/recipes/index.js +127 -127
  554. package/dist/theme/recipes/index.js.map +1 -1
  555. package/dist/theme/recipes/input-addon.cjs +2 -2
  556. package/dist/theme/recipes/input-addon.cjs.map +1 -1
  557. package/dist/theme/recipes/input-addon.d.ts +1 -1
  558. package/dist/theme/recipes/input-addon.js +24 -24
  559. package/dist/theme/recipes/input-addon.js.map +1 -1
  560. package/dist/theme/recipes/input-group.cjs +2 -2
  561. package/dist/theme/recipes/input-group.cjs.map +1 -1
  562. package/dist/theme/recipes/input-group.d.ts +1 -1
  563. package/dist/theme/recipes/input-group.js +40 -49
  564. package/dist/theme/recipes/input-group.js.map +1 -1
  565. package/dist/theme/recipes/input.cjs +2 -2
  566. package/dist/theme/recipes/input.cjs.map +1 -1
  567. package/dist/theme/recipes/input.d.ts +1 -1
  568. package/dist/theme/recipes/input.js +48 -61
  569. package/dist/theme/recipes/input.js.map +1 -1
  570. package/dist/theme/recipes/menu.cjs +2 -2
  571. package/dist/theme/recipes/menu.cjs.map +1 -1
  572. package/dist/theme/recipes/menu.d.ts +1 -1
  573. package/dist/theme/recipes/menu.js +96 -100
  574. package/dist/theme/recipes/menu.js.map +1 -1
  575. package/dist/theme/recipes/pagination.cjs +2 -2
  576. package/dist/theme/recipes/pagination.cjs.map +1 -1
  577. package/dist/theme/recipes/pagination.d.ts +1 -1
  578. package/dist/theme/recipes/pagination.js +76 -71
  579. package/dist/theme/recipes/pagination.js.map +1 -1
  580. package/dist/theme/recipes/phone-number-input.cjs +2 -2
  581. package/dist/theme/recipes/phone-number-input.cjs.map +1 -1
  582. package/dist/theme/recipes/phone-number-input.d.ts +1 -1
  583. package/dist/theme/recipes/phone-number-input.js +55 -66
  584. package/dist/theme/recipes/phone-number-input.js.map +1 -1
  585. package/dist/theme/recipes/popover.cjs +2 -2
  586. package/dist/theme/recipes/popover.cjs.map +1 -1
  587. package/dist/theme/recipes/popover.d.ts +1 -1
  588. package/dist/theme/recipes/popover.js +30 -28
  589. package/dist/theme/recipes/popover.js.map +1 -1
  590. package/dist/theme/recipes/radio-button-group.cjs +2 -2
  591. package/dist/theme/recipes/radio-button-group.cjs.map +1 -1
  592. package/dist/theme/recipes/radio-button-group.d.ts +1 -1
  593. package/dist/theme/recipes/radio-button-group.js +83 -94
  594. package/dist/theme/recipes/radio-button-group.js.map +1 -1
  595. package/dist/theme/recipes/radio-card-group.cjs +2 -2
  596. package/dist/theme/recipes/radio-card-group.cjs.map +1 -1
  597. package/dist/theme/recipes/radio-card-group.d.ts +1 -1
  598. package/dist/theme/recipes/radio-card-group.js +64 -67
  599. package/dist/theme/recipes/radio-card-group.js.map +1 -1
  600. package/dist/theme/recipes/radio-group.cjs +2 -2
  601. package/dist/theme/recipes/radio-group.cjs.map +1 -1
  602. package/dist/theme/recipes/radio-group.d.ts +1 -1
  603. package/dist/theme/recipes/radio-group.js +101 -118
  604. package/dist/theme/recipes/radio-group.js.map +1 -1
  605. package/dist/theme/recipes/select-language.cjs +2 -2
  606. package/dist/theme/recipes/select-language.cjs.map +1 -1
  607. package/dist/theme/recipes/select-language.d.ts +1 -1
  608. package/dist/theme/recipes/select-language.js +93 -112
  609. package/dist/theme/recipes/select-language.js.map +1 -1
  610. package/dist/theme/recipes/select.cjs +2 -2
  611. package/dist/theme/recipes/select.cjs.map +1 -1
  612. package/dist/theme/recipes/select.d.ts +1 -1
  613. package/dist/theme/recipes/select.js +194 -206
  614. package/dist/theme/recipes/select.js.map +1 -1
  615. package/dist/theme/recipes/status-tag-select.cjs +2 -2
  616. package/dist/theme/recipes/status-tag-select.cjs.map +1 -1
  617. package/dist/theme/recipes/status-tag-select.d.ts +1 -1
  618. package/dist/theme/recipes/status-tag-select.js +162 -175
  619. package/dist/theme/recipes/status-tag-select.js.map +1 -1
  620. package/dist/theme/recipes/switch-card.cjs +2 -2
  621. package/dist/theme/recipes/switch-card.cjs.map +1 -1
  622. package/dist/theme/recipes/switch-card.js +43 -42
  623. package/dist/theme/recipes/switch-card.js.map +1 -1
  624. package/dist/theme/recipes/switch.cjs +2 -2
  625. package/dist/theme/recipes/switch.cjs.map +1 -1
  626. package/dist/theme/recipes/switch.d.ts +1 -1
  627. package/dist/theme/recipes/switch.js +71 -86
  628. package/dist/theme/recipes/switch.js.map +1 -1
  629. package/dist/theme/recipes/table-container.cjs +2 -2
  630. package/dist/theme/recipes/table-container.cjs.map +1 -1
  631. package/dist/theme/recipes/table-container.d.ts +1 -1
  632. package/dist/theme/recipes/table-container.js +19 -18
  633. package/dist/theme/recipes/table-container.js.map +1 -1
  634. package/dist/theme/recipes/table-empty-row.cjs +2 -2
  635. package/dist/theme/recipes/table-empty-row.cjs.map +1 -1
  636. package/dist/theme/recipes/table-empty-row.d.ts +1 -1
  637. package/dist/theme/recipes/table-empty-row.js +17 -16
  638. package/dist/theme/recipes/table-empty-row.js.map +1 -1
  639. package/dist/theme/recipes/table-group-title.cjs +2 -2
  640. package/dist/theme/recipes/table-group-title.cjs.map +1 -1
  641. package/dist/theme/recipes/table-group-title.d.ts +1 -1
  642. package/dist/theme/recipes/table-group-title.js +26 -33
  643. package/dist/theme/recipes/table-group-title.js.map +1 -1
  644. package/dist/theme/recipes/table.cjs +2 -2
  645. package/dist/theme/recipes/table.cjs.map +1 -1
  646. package/dist/theme/recipes/table.d.ts +1 -1
  647. package/dist/theme/recipes/table.js +111 -109
  648. package/dist/theme/recipes/table.js.map +1 -1
  649. package/dist/theme/recipes/tabs-chip.cjs +2 -2
  650. package/dist/theme/recipes/tabs-chip.cjs.map +1 -1
  651. package/dist/theme/recipes/tabs-chip.d.ts +1 -1
  652. package/dist/theme/recipes/tabs-chip.js +43 -46
  653. package/dist/theme/recipes/tabs-chip.js.map +1 -1
  654. package/dist/theme/recipes/tabs.cjs +2 -2
  655. package/dist/theme/recipes/tabs.cjs.map +1 -1
  656. package/dist/theme/recipes/tabs.d.ts +1 -1
  657. package/dist/theme/recipes/tabs.js +92 -125
  658. package/dist/theme/recipes/tabs.js.map +1 -1
  659. package/dist/theme/recipes/tag.cjs +2 -2
  660. package/dist/theme/recipes/tag.cjs.map +1 -1
  661. package/dist/theme/recipes/tag.d.ts +1 -1
  662. package/dist/theme/recipes/tag.js +110 -121
  663. package/dist/theme/recipes/tag.js.map +1 -1
  664. package/dist/theme/recipes/text.cjs +2 -2
  665. package/dist/theme/recipes/text.cjs.map +1 -1
  666. package/dist/theme/recipes/text.d.ts +1 -1
  667. package/dist/theme/recipes/text.js +25 -38
  668. package/dist/theme/recipes/text.js.map +1 -1
  669. package/dist/theme/recipes/textarea.cjs +2 -2
  670. package/dist/theme/recipes/textarea.cjs.map +1 -1
  671. package/dist/theme/recipes/textarea.d.ts +1 -1
  672. package/dist/theme/recipes/textarea.js +15 -14
  673. package/dist/theme/recipes/textarea.js.map +1 -1
  674. package/dist/theme/recipes/tooltip.cjs +2 -2
  675. package/dist/theme/recipes/tooltip.cjs.map +1 -1
  676. package/dist/theme/recipes/tooltip.d.ts +1 -1
  677. package/dist/theme/recipes/tooltip.js +47 -62
  678. package/dist/theme/recipes/tooltip.js.map +1 -1
  679. package/dist/theme/semantic-tokens/colors.cjs +2 -2
  680. package/dist/theme/semantic-tokens/colors.cjs.map +1 -1
  681. package/dist/theme/semantic-tokens/colors.js +189 -140
  682. package/dist/theme/semantic-tokens/colors.js.map +1 -1
  683. package/dist/theme/semantic-tokens/index.cjs +2 -2
  684. package/dist/theme/semantic-tokens/index.cjs.map +1 -1
  685. package/dist/theme/semantic-tokens/index.js +7 -8
  686. package/dist/theme/semantic-tokens/index.js.map +1 -1
  687. package/dist/theme/text-styles.cjs +2 -2
  688. package/dist/theme/text-styles.cjs.map +1 -1
  689. package/dist/theme/text-styles.d.ts +1 -1
  690. package/dist/theme/text-styles.js +70 -87
  691. package/dist/theme/text-styles.js.map +1 -1
  692. package/dist/theme/tokens/animations.cjs +2 -2
  693. package/dist/theme/tokens/animations.cjs.map +1 -1
  694. package/dist/theme/tokens/animations.js +22 -45
  695. package/dist/theme/tokens/animations.js.map +1 -1
  696. package/dist/theme/tokens/aspect-ratios.cjs +2 -2
  697. package/dist/theme/tokens/aspect-ratios.cjs.map +1 -1
  698. package/dist/theme/tokens/aspect-ratios.js +12 -11
  699. package/dist/theme/tokens/aspect-ratios.js.map +1 -1
  700. package/dist/theme/tokens/blurs.cjs +2 -2
  701. package/dist/theme/tokens/blurs.cjs.map +1 -1
  702. package/dist/theme/tokens/blurs.js +13 -12
  703. package/dist/theme/tokens/blurs.js.map +1 -1
  704. package/dist/theme/tokens/borders.cjs +2 -2
  705. package/dist/theme/tokens/borders.cjs.map +1 -1
  706. package/dist/theme/tokens/borders.js +6 -9
  707. package/dist/theme/tokens/borders.js.map +1 -1
  708. package/dist/theme/tokens/colors.cjs +2 -2
  709. package/dist/theme/tokens/colors.cjs.map +1 -1
  710. package/dist/theme/tokens/colors.js +78 -77
  711. package/dist/theme/tokens/colors.js.map +1 -1
  712. package/dist/theme/tokens/durations.cjs +2 -2
  713. package/dist/theme/tokens/durations.cjs.map +1 -1
  714. package/dist/theme/tokens/durations.js +14 -13
  715. package/dist/theme/tokens/durations.js.map +1 -1
  716. package/dist/theme/tokens/easings.cjs +3 -3
  717. package/dist/theme/tokens/easings.cjs.map +1 -1
  718. package/dist/theme/tokens/easings.js +24 -92
  719. package/dist/theme/tokens/easings.js.map +1 -1
  720. package/dist/theme/tokens/index.cjs +2 -2
  721. package/dist/theme/tokens/index.cjs.map +1 -1
  722. package/dist/theme/tokens/index.js +36 -35
  723. package/dist/theme/tokens/index.js.map +1 -1
  724. package/dist/theme/tokens/radii.cjs +2 -2
  725. package/dist/theme/tokens/radii.cjs.map +1 -1
  726. package/dist/theme/tokens/radii.js +28 -27
  727. package/dist/theme/tokens/radii.js.map +1 -1
  728. package/dist/theme/tokens/shadows.cjs +2 -2
  729. package/dist/theme/tokens/shadows.cjs.map +1 -1
  730. package/dist/theme/tokens/shadows.js +14 -13
  731. package/dist/theme/tokens/shadows.js.map +1 -1
  732. package/dist/theme/tokens/sizes.cjs +2 -2
  733. package/dist/theme/tokens/sizes.cjs.map +1 -1
  734. package/dist/theme/tokens/sizes.js +35 -84
  735. package/dist/theme/tokens/sizes.js.map +1 -1
  736. package/dist/theme/tokens/spacing.cjs +2 -2
  737. package/dist/theme/tokens/spacing.cjs.map +1 -1
  738. package/dist/theme/tokens/spacing.js +32 -83
  739. package/dist/theme/tokens/spacing.js.map +1 -1
  740. package/dist/theme/tokens/typography.cjs +2 -2
  741. package/dist/theme/tokens/typography.cjs.map +1 -1
  742. package/dist/theme/tokens/typography.js +82 -85
  743. package/dist/theme/tokens/typography.js.map +1 -1
  744. package/dist/theme/tokens/z-index.cjs +2 -2
  745. package/dist/theme/tokens/z-index.cjs.map +1 -1
  746. package/dist/theme/tokens/z-index.js +18 -41
  747. package/dist/theme/tokens/z-index.js.map +1 -1
  748. package/dist/theme/utilities.cjs +2 -2
  749. package/dist/theme/utilities.cjs.map +1 -1
  750. package/dist/theme/utilities.js +15 -16
  751. package/dist/theme/utilities.js.map +1 -1
  752. package/dist/ui.css +2 -1
  753. package/dist/utils/slots.cjs +2 -2
  754. package/dist/utils/slots.cjs.map +1 -1
  755. package/dist/utils/slots.js +42 -40
  756. package/dist/utils/slots.js.map +1 -1
  757. package/package.json +11 -7
  758. package/dist/_virtual/_commonjsHelpers.cjs +0 -2
  759. package/dist/_virtual/_commonjsHelpers.cjs.map +0 -1
  760. package/dist/_virtual/_commonjsHelpers.js +0 -10
  761. package/dist/_virtual/_commonjsHelpers.js.map +0 -1
  762. package/dist/_virtual/cjs.cjs +0 -2
  763. package/dist/_virtual/cjs.cjs.map +0 -1
  764. package/dist/_virtual/cjs.js +0 -9
  765. package/dist/_virtual/cjs.js.map +0 -1
  766. package/dist/_virtual/lodash.cjs +0 -2
  767. package/dist/_virtual/lodash.cjs.map +0 -1
  768. package/dist/_virtual/lodash.js +0 -7
  769. package/dist/_virtual/lodash.js.map +0 -1
  770. package/dist/_virtual/lodash2.cjs +0 -2
  771. package/dist/_virtual/lodash2.cjs.map +0 -1
  772. package/dist/_virtual/lodash2.js +0 -6
  773. package/dist/_virtual/lodash2.js.map +0 -1
  774. package/dist/index.cjs.map +0 -1
  775. package/dist/index.js.map +0 -1
  776. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.cjs +0 -2
  777. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.cjs.map +0 -1
  778. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.js +0 -30
  779. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.js.map +0 -1
  780. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.cjs +0 -2
  781. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.cjs.map +0 -1
  782. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.js +0 -30
  783. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.js.map +0 -1
  784. package/dist/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.cjs +0 -2
  785. package/dist/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.cjs.map +0 -1
  786. package/dist/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.js +0 -30
  787. package/dist/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.js.map +0 -1
  788. package/dist/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.cjs +0 -2
  789. package/dist/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.cjs.map +0 -1
  790. package/dist/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.js +0 -30
  791. package/dist/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.js.map +0 -1
  792. package/dist/node_modules/@pandacss/shared/dist/index.cjs +0 -2
  793. package/dist/node_modules/@pandacss/shared/dist/index.cjs.map +0 -1
  794. package/dist/node_modules/@pandacss/shared/dist/index.js +0 -469
  795. package/dist/node_modules/@pandacss/shared/dist/index.js.map +0 -1
  796. package/dist/node_modules/@zag-js/utils/dist/functions.cjs +0 -2
  797. package/dist/node_modules/@zag-js/utils/dist/functions.cjs.map +0 -1
  798. package/dist/node_modules/@zag-js/utils/dist/functions.js +0 -6
  799. package/dist/node_modules/@zag-js/utils/dist/functions.js.map +0 -1
  800. package/dist/node_modules/deepmerge/dist/cjs.cjs +0 -2
  801. package/dist/node_modules/deepmerge/dist/cjs.cjs.map +0 -1
  802. package/dist/node_modules/deepmerge/dist/cjs.js +0 -81
  803. package/dist/node_modules/deepmerge/dist/cjs.js.map +0 -1
  804. package/dist/node_modules/lodash/lodash.cjs +0 -21
  805. package/dist/node_modules/lodash/lodash.cjs.map +0 -1
  806. package/dist/node_modules/lodash/lodash.js +0 -3686
  807. package/dist/node_modules/lodash/lodash.js.map +0 -1
@@ -1,113 +1,137 @@
1
1
  "use client";
2
- import { jsx as e, jsxs as d } from "react/jsx-runtime";
3
- import { forwardRef as p, useRef as T, useLayoutEffect as m } from "react";
2
+ import { createStyleContext as e } from "../../utils/slots.js";
3
+ import { TableProvider as t, useTable as n } from "./TableProvider.js";
4
4
  import { styled as r } from "@stokelp/styled-system/jsx";
5
- import { tableContainer as w, tableEmptyRow as y, tableGroupTitle as R, table as v } from "@stokelp/styled-system/recipes";
6
- import { createStyleContext as S } from "../../utils/slots.js";
7
- import { TableProvider as C, useTable as _ } from "./TableProvider.js";
8
- const { withProvider: g, withContext: i } = S(v), U = r("div", w), x = g(r("table"), "root"), E = p(
9
- ({ children: n, onSortChange: o, descriptor: t, ...l }, u) => /* @__PURE__ */ e(C, { descriptor: t, onSortChange: o, children: /* @__PURE__ */ e(x, { ref: u, ...l, children: n }) })
10
- );
11
- E.displayName = "Table";
12
- const j = i(r("thead"), "thead"), h = i(r("div"), "sortIndicatorRoot"), s = i(r("svg"), "sortIndicator"), q = i(r("tbody"), "tbody"), $ = i(r("tr"), "tr"), L = i(r("th"), "th"), O = p(
13
- ({ children: n, addon: o, sortKey: t, onClick: l, ...u }, b) => {
14
- const { dispatch: c, sortDescriptor: a } = _();
15
- return /* @__PURE__ */ d(
16
- L,
17
- {
18
- ref: b,
19
- ...u,
20
- ...t ? { "data-sortable": !0 } : {},
21
- role: "group",
22
- onClick: (f) => {
23
- t && (a === null ? c({
24
- type: "UPDATE_SORT_DESCRIPTOR",
25
- payload: {
26
- key: t,
27
- direction: "asc"
28
- }
29
- }) : a.key === t ? a.direction === "asc" ? c({
30
- type: "UPDATE_SORT_DESCRIPTOR",
31
- payload: {
32
- key: t,
33
- direction: "desc"
34
- }
35
- }) : c({
36
- type: "CLEAR_SORT_DESCRIPTOR"
37
- }) : c({
38
- type: "UPDATE_SORT_DESCRIPTOR",
39
- payload: {
40
- key: t,
41
- direction: "asc"
42
- }
43
- })), l?.(f);
44
- },
45
- children: [
46
- n,
47
- o ? /* @__PURE__ */ d("span", { className: "th__addon", children: [
48
- " ",
49
- o
50
- ] }) : null,
51
- a && a.key === t ? /* @__PURE__ */ d(h, { "data-state": "active", children: [
52
- /* @__PURE__ */ e(
53
- s,
54
- {
55
- "data-active": a.direction === "asc" ? !0 : void 0,
56
- viewBox: "0 0 8 8",
57
- fill: "none",
58
- xmlns: "http://www.w3.org/2000/svg",
59
- children: /* @__PURE__ */ e("path", { d: "M2.33334 4.83332L4.00001 3.16666L5.66668 4.83332H2.33334Z", fill: "currentColor" })
60
- }
61
- ),
62
- /* @__PURE__ */ e(
63
- s,
64
- {
65
- "data-active": a.direction === "desc" ? !0 : void 0,
66
- viewBox: "0 0 8 8",
67
- fill: "none",
68
- xmlns: "http://www.w3.org/2000/svg",
69
- children: /* @__PURE__ */ e("path", { d: "M2.33333 3.16666L3.99999 4.83332L5.66666 3.16666H2.33333Z", fill: "currentColor" })
70
- }
71
- )
72
- ] }) : t ? /* @__PURE__ */ d(h, { "data-state": "idle", children: [
73
- /* @__PURE__ */ e(s, { "data-active": !0, viewBox: "0 0 8 8", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e("path", { d: "M2.33334 4.83332L4.00001 3.16666L5.66668 4.83332H2.33334Z", fill: "currentColor" }) }),
74
- /* @__PURE__ */ e(s, { "data-active": !0, viewBox: "0 0 8 8", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e("path", { d: "M2.33333 3.16666L3.99999 4.83332L5.66666 3.16666H2.33333Z", fill: "currentColor" }) })
75
- ] }) : null
76
- ]
77
- }
78
- );
79
- }
80
- );
81
- O.displayName = "Th";
82
- const z = i(r("td"), "td"), P = r("td", R), k = p((n, o) => {
83
- const t = T(null);
84
- return m(() => {
85
- if (t.current) {
86
- const l = t.current?.closest("table")?.querySelector("thead > tr");
87
- l && t.current.setAttribute("colspan", l.children.length.toString());
88
- }
89
- }, []), /* @__PURE__ */ e("tr", { ref: o, className: "table_tr__group__title", children: /* @__PURE__ */ e(P, { ref: t, ...n }) });
5
+ import { table as i, tableContainer as a, tableEmptyRow as o, tableGroupTitle as s } from "@stokelp/styled-system/recipes";
6
+ import { forwardRef as c, useLayoutEffect as l, useRef as u } from "react";
7
+ import { jsx as d, jsxs as f } from "react/jsx-runtime";
8
+ //#region src/components/table/Table.tsx
9
+ var { withProvider: p, withContext: m } = e(i), h = r("div", a), g = p(r("table"), "root"), _ = c(({ children: e, onSortChange: n, descriptor: r, ...i }, a) => /* @__PURE__ */ d(t, {
10
+ descriptor: r,
11
+ onSortChange: n,
12
+ children: /* @__PURE__ */ d(g, {
13
+ ref: a,
14
+ ...i,
15
+ children: e
16
+ })
17
+ }));
18
+ _.displayName = "Table";
19
+ var v = m(r("thead"), "thead"), y = m(r("div"), "sortIndicatorRoot"), b = m(r("svg"), "sortIndicator"), x = m(r("tbody"), "tbody"), S = m(r("tr"), "tr"), C = m(r("th"), "th"), w = c(({ children: e, addon: t, sortKey: r, onClick: i, ...a }, o) => {
20
+ let { dispatch: s, sortDescriptor: c } = n(), l = (e) => {
21
+ r && (c === null ? s({
22
+ type: "UPDATE_SORT_DESCRIPTOR",
23
+ payload: {
24
+ key: r,
25
+ direction: "asc"
26
+ }
27
+ }) : c.key === r ? c.direction === "asc" ? s({
28
+ type: "UPDATE_SORT_DESCRIPTOR",
29
+ payload: {
30
+ key: r,
31
+ direction: "desc"
32
+ }
33
+ }) : s({ type: "CLEAR_SORT_DESCRIPTOR" }) : s({
34
+ type: "UPDATE_SORT_DESCRIPTOR",
35
+ payload: {
36
+ key: r,
37
+ direction: "asc"
38
+ }
39
+ })), i?.(e);
40
+ };
41
+ return /* @__PURE__ */ f(C, {
42
+ ref: o,
43
+ ...a,
44
+ ...r ? { "data-sortable": !0 } : {},
45
+ role: "group",
46
+ onClick: l,
47
+ children: [
48
+ e,
49
+ t ? /* @__PURE__ */ f("span", {
50
+ className: "th__addon",
51
+ children: ["\xA0", t]
52
+ }) : null,
53
+ c && c.key === r ? /* @__PURE__ */ f(y, {
54
+ "data-state": "active",
55
+ children: [/* @__PURE__ */ d(b, {
56
+ "data-active": c.direction === "asc" ? !0 : void 0,
57
+ viewBox: "0 0 8 8",
58
+ fill: "none",
59
+ xmlns: "http://www.w3.org/2000/svg",
60
+ children: /* @__PURE__ */ d("path", {
61
+ d: "M2.33334 4.83332L4.00001 3.16666L5.66668 4.83332H2.33334Z",
62
+ fill: "currentColor"
63
+ })
64
+ }), /* @__PURE__ */ d(b, {
65
+ "data-active": c.direction === "desc" ? !0 : void 0,
66
+ viewBox: "0 0 8 8",
67
+ fill: "none",
68
+ xmlns: "http://www.w3.org/2000/svg",
69
+ children: /* @__PURE__ */ d("path", {
70
+ d: "M2.33333 3.16666L3.99999 4.83332L5.66666 3.16666H2.33333Z",
71
+ fill: "currentColor"
72
+ })
73
+ })]
74
+ }) : r ? /* @__PURE__ */ f(y, {
75
+ "data-state": "idle",
76
+ children: [/* @__PURE__ */ d(b, {
77
+ "data-active": !0,
78
+ viewBox: "0 0 8 8",
79
+ fill: "none",
80
+ xmlns: "http://www.w3.org/2000/svg",
81
+ children: /* @__PURE__ */ d("path", {
82
+ d: "M2.33334 4.83332L4.00001 3.16666L5.66668 4.83332H2.33334Z",
83
+ fill: "currentColor"
84
+ })
85
+ }), /* @__PURE__ */ d(b, {
86
+ "data-active": !0,
87
+ viewBox: "0 0 8 8",
88
+ fill: "none",
89
+ xmlns: "http://www.w3.org/2000/svg",
90
+ children: /* @__PURE__ */ d("path", {
91
+ d: "M2.33333 3.16666L3.99999 4.83332L5.66666 3.16666H2.33333Z",
92
+ fill: "currentColor"
93
+ })
94
+ })]
95
+ }) : null
96
+ ]
97
+ });
90
98
  });
91
- k.displayName = "TableGroupTitle";
92
- const D = r("td", y), I = p((n, o) => {
93
- const t = T(null);
94
- return m(() => {
95
- if (t.current) {
96
- const l = t.current?.closest("table")?.querySelector("thead > tr");
97
- l && t.current.setAttribute("colspan", l.children.length.toString());
98
- }
99
- }, []), /* @__PURE__ */ e("tr", { ref: o, className: "table_tr__empty", children: /* @__PURE__ */ e(D, { ref: t, ...n }) });
99
+ w.displayName = "Th";
100
+ var T = m(r("td"), "td"), E = r("td", s), D = c((e, t) => {
101
+ let n = u(null);
102
+ return l(() => {
103
+ if (n.current) {
104
+ let e = n.current?.closest("table")?.querySelector("thead > tr");
105
+ e && n.current.setAttribute("colspan", e.children.length.toString());
106
+ }
107
+ }, []), /* @__PURE__ */ d("tr", {
108
+ ref: t,
109
+ className: "table_tr__group__title",
110
+ children: /* @__PURE__ */ d(E, {
111
+ ref: n,
112
+ ...e
113
+ })
114
+ });
100
115
  });
101
- I.displayName = "TableEmptyRow";
102
- export {
103
- E as Table,
104
- U as TableContainer,
105
- I as TableEmptyRow,
106
- k as TableGroupTitle,
107
- q as Tbody,
108
- z as Td,
109
- O as Th,
110
- j as Thead,
111
- $ as Tr
112
- };
113
- //# sourceMappingURL=Table.js.map
116
+ D.displayName = "TableGroupTitle";
117
+ var O = r("td", o), k = c((e, t) => {
118
+ let n = u(null);
119
+ return l(() => {
120
+ if (n.current) {
121
+ let e = n.current?.closest("table")?.querySelector("thead > tr");
122
+ e && n.current.setAttribute("colspan", e.children.length.toString());
123
+ }
124
+ }, []), /* @__PURE__ */ d("tr", {
125
+ ref: t,
126
+ className: "table_tr__empty",
127
+ children: /* @__PURE__ */ d(O, {
128
+ ref: n,
129
+ ...e
130
+ })
131
+ });
132
+ });
133
+ k.displayName = "TableEmptyRow";
134
+ //#endregion
135
+ export { _ as Table, h as TableContainer, k as TableEmptyRow, D as TableGroupTitle, x as Tbody, T as Td, w as Th, v as Thead, S as Tr };
136
+
137
+ //# sourceMappingURL=Table.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Table.js","sources":["../../../src/components/table/Table.tsx"],"sourcesContent":["import type { ComponentProps, ElementRef, FC, ReactNode } from 'react'\nimport { forwardRef, useLayoutEffect, useRef } from 'react'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { table, tableContainer, tableEmptyRow, tableGroupTitle } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots'\nimport { TableProvider, type TableProviderProps, useTable } from './TableProvider'\n\nconst { withProvider, withContext } = createStyleContext(table)\n\nexport const TableContainer = styled('div', tableContainer)\n\nconst StyledTable = withProvider(styled('table'), 'root')\ntype StyledTableProps = ComponentProps<typeof StyledTable>\n\nexport interface TableProps extends StyledTableProps, Pick<TableProviderProps, 'onSortChange' | 'descriptor'> {}\n\nexport const Table = forwardRef<ElementRef<typeof StyledTable>, TableProps>(\n ({ children, onSortChange, descriptor, ...props }, ref) => {\n return (\n <TableProvider descriptor={descriptor} onSortChange={onSortChange}>\n <StyledTable ref={ref} {...props}>\n {children}\n </StyledTable>\n </TableProvider>\n )\n },\n) as FC<TableProps>\n\nTable.displayName = 'Table'\n\nexport const Thead = withContext(styled('thead'), 'thead')\nconst SortIndicatorRoot = withContext(styled('div'), 'sortIndicatorRoot')\nconst SortIndicator = withContext(styled('svg'), 'sortIndicator')\nexport const Tbody = withContext(styled('tbody'), 'tbody')\nexport const Tr = withContext(styled('tr'), 'tr')\nconst StyledTh = withContext(styled('th'), 'th')\n\ntype StyledThProps = ComponentProps<typeof StyledTh>\n\nexport interface ThProps extends StyledThProps {\n addon?: ReactNode\n sortKey?: string\n}\n\nexport const Th = forwardRef<ElementRef<typeof StyledTh>, ThProps>(\n ({ children, addon, sortKey, onClick, ...props }, ref) => {\n const { dispatch, sortDescriptor } = useTable()\n\n const handleOnClick: ThProps['onClick'] = e => {\n if (sortKey) {\n if (sortDescriptor === null) {\n dispatch({\n type: 'UPDATE_SORT_DESCRIPTOR',\n payload: {\n key: sortKey,\n direction: 'asc',\n },\n })\n } else if (sortDescriptor.key === sortKey) {\n if (sortDescriptor.direction === 'asc') {\n dispatch({\n type: 'UPDATE_SORT_DESCRIPTOR',\n payload: {\n key: sortKey,\n direction: 'desc',\n },\n })\n } else {\n dispatch({\n type: 'CLEAR_SORT_DESCRIPTOR',\n })\n }\n } else {\n dispatch({\n type: 'UPDATE_SORT_DESCRIPTOR',\n payload: {\n key: sortKey,\n direction: 'asc',\n },\n })\n }\n }\n onClick?.(e)\n }\n\n return (\n <StyledTh\n ref={ref}\n {...props}\n {...(sortKey ? { 'data-sortable': true } : {})}\n role=\"group\"\n onClick={handleOnClick}\n >\n {children}\n {addon ? <span className=\"th__addon\">&nbsp;{addon}</span> : null}\n {sortDescriptor && sortDescriptor.key === sortKey ? (\n <SortIndicatorRoot data-state=\"active\">\n <SortIndicator\n data-active={sortDescriptor.direction === 'asc' ? true : undefined}\n viewBox=\"0 0 8 8\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M2.33334 4.83332L4.00001 3.16666L5.66668 4.83332H2.33334Z\" fill=\"currentColor\" />\n </SortIndicator>\n <SortIndicator\n data-active={sortDescriptor.direction === 'desc' ? true : undefined}\n viewBox=\"0 0 8 8\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M2.33333 3.16666L3.99999 4.83332L5.66666 3.16666H2.33333Z\" fill=\"currentColor\" />\n </SortIndicator>\n </SortIndicatorRoot>\n ) : sortKey ? (\n <SortIndicatorRoot data-state=\"idle\">\n <SortIndicator data-active={true} viewBox=\"0 0 8 8\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M2.33334 4.83332L4.00001 3.16666L5.66668 4.83332H2.33334Z\" fill=\"currentColor\" />\n </SortIndicator>\n <SortIndicator data-active={true} viewBox=\"0 0 8 8\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M2.33333 3.16666L3.99999 4.83332L5.66666 3.16666H2.33333Z\" fill=\"currentColor\" />\n </SortIndicator>\n </SortIndicatorRoot>\n ) : null}\n </StyledTh>\n )\n },\n) as FC<ThProps>\n\nTh.displayName = 'Th'\n\nexport const Td = withContext(styled('td'), 'td')\n\nconst StyledTableGroupTitle = styled('td', tableGroupTitle)\nexport type TableGroupTitleProps = ComponentProps<typeof StyledTableGroupTitle>\nexport const TableGroupTitle = forwardRef<HTMLTableRowElement, TableGroupTitleProps>((props, ref) => {\n const $td = useRef<ElementRef<typeof StyledTableGroupTitle>>(null)\n useLayoutEffect(() => {\n if ($td.current) {\n const tableColumns = $td.current?.closest('table')?.querySelector('thead > tr')\n if (tableColumns) {\n $td.current.setAttribute('colspan', tableColumns.children.length.toString())\n }\n }\n }, [])\n\n return (\n <tr ref={ref} className=\"table_tr__group__title\">\n <StyledTableGroupTitle ref={$td} {...props} />\n </tr>\n )\n}) as FC<TableGroupTitleProps>\nTableGroupTitle.displayName = 'TableGroupTitle'\n\nconst StyledTableEmptyRow = styled('td', tableEmptyRow)\nexport type TableEmptyRowProps = ComponentProps<typeof StyledTableEmptyRow>\nexport const TableEmptyRow = forwardRef<HTMLTableRowElement, TableEmptyRowProps>((props, ref) => {\n const $td = useRef<ElementRef<typeof StyledTableEmptyRow>>(null)\n useLayoutEffect(() => {\n if ($td.current) {\n const tableColumns = $td.current?.closest('table')?.querySelector('thead > tr')\n if (tableColumns) {\n $td.current.setAttribute('colspan', tableColumns.children.length.toString())\n }\n }\n }, [])\n\n return (\n <tr ref={ref} className=\"table_tr__empty\">\n <StyledTableEmptyRow ref={$td} {...props} />\n </tr>\n )\n}) as FC<TableEmptyRowProps>\nTableEmptyRow.displayName = 'TableEmptyRow'\n\nexport interface TheadProps extends ComponentProps<typeof Thead> {}\n\nexport interface TbodyProps extends ComponentProps<typeof Tbody> {}\n\nexport interface TrProps extends ComponentProps<typeof Tr> {}\n\nexport interface TdProps extends ComponentProps<typeof Td> {}\n\nexport interface TableContainerProps extends ComponentProps<typeof TableContainer> {}\n"],"names":["withProvider","withContext","createStyleContext","table","TableContainer","styled","tableContainer","StyledTable","Table","forwardRef","children","onSortChange","descriptor","props","ref","jsx","TableProvider","Thead","SortIndicatorRoot","SortIndicator","Tbody","Tr","StyledTh","Th","addon","sortKey","onClick","dispatch","sortDescriptor","useTable","jsxs","e","Td","StyledTableGroupTitle","tableGroupTitle","TableGroupTitle","$td","useRef","useLayoutEffect","tableColumns","StyledTableEmptyRow","tableEmptyRow","TableEmptyRow"],"mappings":"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"}
1
+ {"version":3,"file":"Table.js","names":[],"sources":["../../../src/components/table/Table.tsx"],"sourcesContent":["import type { ComponentProps, ElementRef, FC, MouseEvent, ReactNode } from 'react'\nimport { forwardRef, useLayoutEffect, useRef } from 'react'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { table, tableContainer, tableEmptyRow, tableGroupTitle } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots'\nimport { TableProvider, type TableProviderProps, useTable } from './TableProvider'\n\nconst { withProvider, withContext } = createStyleContext(table)\n\nexport const TableContainer = styled('div', tableContainer)\n\nconst StyledTable = withProvider(styled('table'), 'root')\ntype StyledTableProps = ComponentProps<typeof StyledTable>\n\nexport type TableProps = StyledTableProps & Pick<TableProviderProps, 'onSortChange' | 'descriptor'>\n\nexport const Table = forwardRef<ElementRef<typeof StyledTable>, TableProps>(\n ({ children, onSortChange, descriptor, ...props }, ref) => {\n return (\n <TableProvider descriptor={descriptor} onSortChange={onSortChange}>\n <StyledTable ref={ref} {...props}>\n {children}\n </StyledTable>\n </TableProvider>\n )\n },\n) as FC<TableProps>\n\nTable.displayName = 'Table'\n\nexport const Thead = withContext(styled('thead'), 'thead')\nconst SortIndicatorRoot = withContext(styled('div'), 'sortIndicatorRoot')\nconst SortIndicator = withContext(styled('svg'), 'sortIndicator')\nexport const Tbody = withContext(styled('tbody'), 'tbody')\nexport const Tr = withContext(styled('tr'), 'tr')\nconst StyledTh = withContext(styled('th'), 'th')\n\ntype StyledThProps = ComponentProps<typeof StyledTh>\n\nexport type ThProps = StyledThProps & {\n addon?: ReactNode\n sortKey?: string\n}\n\nexport const Th = forwardRef<ElementRef<typeof StyledTh>, ThProps>(\n ({ children, addon, sortKey, onClick, ...props }, ref) => {\n const { dispatch, sortDescriptor } = useTable()\n\n const handleOnClick = (e: MouseEvent<HTMLTableCellElement>) => {\n if (sortKey) {\n if (sortDescriptor === null) {\n dispatch({\n type: 'UPDATE_SORT_DESCRIPTOR',\n payload: {\n key: sortKey,\n direction: 'asc',\n },\n })\n } else if (sortDescriptor.key === sortKey) {\n if (sortDescriptor.direction === 'asc') {\n dispatch({\n type: 'UPDATE_SORT_DESCRIPTOR',\n payload: {\n key: sortKey,\n direction: 'desc',\n },\n })\n } else {\n dispatch({\n type: 'CLEAR_SORT_DESCRIPTOR',\n })\n }\n } else {\n dispatch({\n type: 'UPDATE_SORT_DESCRIPTOR',\n payload: {\n key: sortKey,\n direction: 'asc',\n },\n })\n }\n }\n onClick?.(e)\n }\n\n return (\n <StyledTh\n ref={ref}\n {...props}\n {...(sortKey ? { 'data-sortable': true } : {})}\n role=\"group\"\n onClick={handleOnClick}\n >\n {children}\n {addon ? <span className=\"th__addon\">&nbsp;{addon}</span> : null}\n {sortDescriptor && sortDescriptor.key === sortKey ? (\n <SortIndicatorRoot data-state=\"active\">\n <SortIndicator\n data-active={sortDescriptor.direction === 'asc' ? true : undefined}\n viewBox=\"0 0 8 8\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M2.33334 4.83332L4.00001 3.16666L5.66668 4.83332H2.33334Z\" fill=\"currentColor\" />\n </SortIndicator>\n <SortIndicator\n data-active={sortDescriptor.direction === 'desc' ? true : undefined}\n viewBox=\"0 0 8 8\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M2.33333 3.16666L3.99999 4.83332L5.66666 3.16666H2.33333Z\" fill=\"currentColor\" />\n </SortIndicator>\n </SortIndicatorRoot>\n ) : sortKey ? (\n <SortIndicatorRoot data-state=\"idle\">\n <SortIndicator data-active={true} viewBox=\"0 0 8 8\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M2.33334 4.83332L4.00001 3.16666L5.66668 4.83332H2.33334Z\" fill=\"currentColor\" />\n </SortIndicator>\n <SortIndicator data-active={true} viewBox=\"0 0 8 8\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M2.33333 3.16666L3.99999 4.83332L5.66666 3.16666H2.33333Z\" fill=\"currentColor\" />\n </SortIndicator>\n </SortIndicatorRoot>\n ) : null}\n </StyledTh>\n )\n },\n) as FC<ThProps>\n\nTh.displayName = 'Th'\n\nexport const Td = withContext(styled('td'), 'td')\n\nconst StyledTableGroupTitle = styled('td', tableGroupTitle)\nexport type TableGroupTitleProps = ComponentProps<typeof StyledTableGroupTitle>\nexport const TableGroupTitle = forwardRef<HTMLTableRowElement, TableGroupTitleProps>((props, ref) => {\n const $td = useRef<ElementRef<typeof StyledTableGroupTitle>>(null)\n useLayoutEffect(() => {\n if ($td.current) {\n const tableColumns = $td.current?.closest('table')?.querySelector('thead > tr')\n if (tableColumns) {\n $td.current.setAttribute('colspan', tableColumns.children.length.toString())\n }\n }\n }, [])\n\n return (\n <tr ref={ref} className=\"table_tr__group__title\">\n <StyledTableGroupTitle ref={$td} {...props} />\n </tr>\n )\n}) as FC<TableGroupTitleProps>\nTableGroupTitle.displayName = 'TableGroupTitle'\n\nconst StyledTableEmptyRow = styled('td', tableEmptyRow)\nexport type TableEmptyRowProps = ComponentProps<typeof StyledTableEmptyRow>\nexport const TableEmptyRow = forwardRef<HTMLTableRowElement, TableEmptyRowProps>((props, ref) => {\n const $td = useRef<ElementRef<typeof StyledTableEmptyRow>>(null)\n useLayoutEffect(() => {\n if ($td.current) {\n const tableColumns = $td.current?.closest('table')?.querySelector('thead > tr')\n if (tableColumns) {\n $td.current.setAttribute('colspan', tableColumns.children.length.toString())\n }\n }\n }, [])\n\n return (\n <tr ref={ref} className=\"table_tr__empty\">\n <StyledTableEmptyRow ref={$td} {...props} />\n </tr>\n )\n}) as FC<TableEmptyRowProps>\nTableEmptyRow.displayName = 'TableEmptyRow'\n\nexport interface TheadProps extends ComponentProps<typeof Thead> {}\n\nexport interface TbodyProps extends ComponentProps<typeof Tbody> {}\n\nexport interface TrProps extends ComponentProps<typeof Tr> {}\n\nexport interface TdProps extends ComponentProps<typeof Td> {}\n\nexport interface TableContainerProps extends ComponentProps<typeof TableContainer> {}\n"],"mappings":"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"}
@@ -1,2 +1,2 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),r=require("react"),l=(e,t)=>{switch(t.type){case"CLEAR_SORT_DESCRIPTOR":return{...e,sortDescriptor:null};case"UPDATE_SORT_DESCRIPTOR":return{...e,sortDescriptor:t.payload};default:return e}},o=r.createContext(void 0),a=()=>{const e=r.useContext(o);if(!e)throw new Error("useTable must be used within a <TableProvider/>");return e},d=({children:e,onSortChange:t,descriptor:c})=>{const[s,n]=r.useReducer(l,{sortDescriptor:c??null});r.useEffect(()=>{t?.(s.sortDescriptor)},[JSON.stringify(s.sortDescriptor)]);const u={...s,dispatch:n};return i.jsx(o.Provider,{value:u,children:e})};exports.TableProvider=d;exports.useTable=a;
2
- //# sourceMappingURL=TableProvider.cjs.map
1
+ "use client";let e=require("react"),t=require("react/jsx-runtime");var n=(e,t)=>{switch(t.type){case`CLEAR_SORT_DESCRIPTOR`:return{...e,sortDescriptor:null};case`UPDATE_SORT_DESCRIPTOR`:return{...e,sortDescriptor:t.payload};default:return e}},r=(0,e.createContext)(void 0),i=()=>{let t=(0,e.useContext)(r);if(!t)throw Error(`useTable must be used within a <TableProvider/>`);return t},a=({children:i,onSortChange:a,descriptor:o})=>{let[s,c]=(0,e.useReducer)(n,{sortDescriptor:o??null});(0,e.useEffect)(()=>{a?.(s.sortDescriptor)},[JSON.stringify(s.sortDescriptor)]);let l={...s,dispatch:c};return(0,t.jsx)(r.Provider,{value:l,children:i})};exports.TableProvider=a,exports.useTable=i;
2
+ //# sourceMappingURL=TableProvider.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"TableProvider.cjs","sources":["../../../src/components/table/TableProvider.tsx"],"sourcesContent":["import { createContext, Dispatch, FC, ReactNode, Reducer, useContext, useEffect, useReducer } from 'react'\nimport type { TableSortDescriptor } from './common'\n\ntype State = {\n sortDescriptor: TableSortDescriptor\n}\n\ntype Action =\n | {\n type: 'UPDATE_SORT_DESCRIPTOR'\n payload: TableSortDescriptor\n }\n | {\n type: 'CLEAR_SORT_DESCRIPTOR'\n }\n\ntype Context = State & {\n dispatch: Dispatch<Action>\n}\n\nexport interface TableProviderProps {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n onSortChange?: (descriptor: TableSortDescriptor<any>) => void\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n descriptor?: TableSortDescriptor<any>\n children: ReactNode\n}\n\nconst tableReducer: Reducer<State, Action> = (state, action) => {\n switch (action.type) {\n case 'CLEAR_SORT_DESCRIPTOR': {\n return {\n ...state,\n sortDescriptor: null,\n }\n }\n case 'UPDATE_SORT_DESCRIPTOR': {\n return {\n ...state,\n sortDescriptor: action.payload,\n }\n }\n default:\n return state\n }\n}\n\nconst TableContext = createContext<Context | undefined>(undefined)\n\nexport const useTable = (): Context => {\n const context = useContext(TableContext)\n\n if (!context) {\n throw new Error('useTable must be used within a <TableProvider/>')\n }\n\n return context\n}\n\nexport const TableProvider: FC<TableProviderProps> = ({ children, onSortChange, descriptor }) => {\n const [state, dispatch] = useReducer(tableReducer, {\n sortDescriptor: descriptor ?? null,\n })\n\n useEffect(() => {\n onSortChange?.(state.sortDescriptor)\n }, [JSON.stringify(state.sortDescriptor)])\n\n const context = {\n ...state,\n dispatch,\n } satisfies Context\n\n return <TableContext.Provider value={context}>{children}</TableContext.Provider>\n}\n"],"names":["tableReducer","state","action","TableContext","createContext","useTable","context","useContext","TableProvider","children","onSortChange","descriptor","dispatch","useReducer","useEffect"],"mappings":"qJA4BMA,EAAuC,CAACC,EAAOC,IAAW,CAC9D,OAAQA,EAAO,KAAA,CACb,IAAK,wBACH,MAAO,CACL,GAAGD,EACH,eAAgB,IAAA,EAGpB,IAAK,yBACH,MAAO,CACL,GAAGA,EACH,eAAgBC,EAAO,OAAA,EAG3B,QACE,OAAOD,CAAA,CAEb,EAEME,EAAeC,EAAAA,cAAmC,MAAS,EAEpDC,EAAW,IAAe,CACrC,MAAMC,EAAUC,EAAAA,WAAWJ,CAAY,EAEvC,GAAI,CAACG,EACH,MAAM,IAAI,MAAM,iDAAiD,EAGnE,OAAOA,CACT,EAEaE,EAAwC,CAAC,CAAE,SAAAC,EAAU,aAAAC,EAAc,WAAAC,KAAiB,CAC/F,KAAM,CAACV,EAAOW,CAAQ,EAAIC,EAAAA,WAAWb,EAAc,CACjD,eAAgBW,GAAc,IAAA,CAC/B,EAEDG,EAAAA,UAAU,IAAM,CACdJ,IAAeT,EAAM,cAAc,CACrC,EAAG,CAAC,KAAK,UAAUA,EAAM,cAAc,CAAC,CAAC,EAEzC,MAAMK,EAAU,CACd,GAAGL,EACH,SAAAW,CAAA,EAGF,aAAQT,EAAa,SAAb,CAAsB,MAAOG,EAAU,SAAAG,EAAS,CAC1D"}
1
+ {"version":3,"file":"TableProvider.cjs","names":[],"sources":["../../../src/components/table/TableProvider.tsx"],"sourcesContent":["import { createContext, Dispatch, FC, ReactNode, Reducer, useContext, useEffect, useReducer } from 'react'\nimport type { TableSortDescriptor } from './common'\n\ntype State = {\n sortDescriptor: TableSortDescriptor\n}\n\ntype Action =\n | {\n type: 'UPDATE_SORT_DESCRIPTOR'\n payload: TableSortDescriptor\n }\n | {\n type: 'CLEAR_SORT_DESCRIPTOR'\n }\n\ntype Context = State & {\n dispatch: Dispatch<Action>\n}\n\nexport interface TableProviderProps {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n onSortChange?: (descriptor: TableSortDescriptor<any>) => void\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n descriptor?: TableSortDescriptor<any>\n children: ReactNode\n}\n\nconst tableReducer: Reducer<State, Action> = (state, action) => {\n switch (action.type) {\n case 'CLEAR_SORT_DESCRIPTOR': {\n return {\n ...state,\n sortDescriptor: null,\n }\n }\n case 'UPDATE_SORT_DESCRIPTOR': {\n return {\n ...state,\n sortDescriptor: action.payload,\n }\n }\n default:\n return state\n }\n}\n\nconst TableContext = createContext<Context | undefined>(undefined)\n\nexport const useTable = (): Context => {\n const context = useContext(TableContext)\n\n if (!context) {\n throw new Error('useTable must be used within a <TableProvider/>')\n }\n\n return context\n}\n\nexport const TableProvider: FC<TableProviderProps> = ({ children, onSortChange, descriptor }) => {\n const [state, dispatch] = useReducer(tableReducer, {\n sortDescriptor: descriptor ?? null,\n })\n\n useEffect(() => {\n onSortChange?.(state.sortDescriptor)\n }, [JSON.stringify(state.sortDescriptor)])\n\n const context = {\n ...state,\n dispatch,\n } satisfies Context\n\n return <TableContext.Provider value={context}>{children}</TableContext.Provider>\n}\n"],"mappings":"mEA4BA,IAAM,GAAwC,EAAO,IAAW,CAC9D,OAAQ,EAAO,KAAf,CACE,IAAK,wBACH,MAAO,CACL,GAAG,EACH,eAAgB,IAClB,EAEF,IAAK,yBACH,MAAO,CACL,GAAG,EACH,eAAgB,EAAO,OACzB,EAEF,QACE,OAAO,CACX,CACF,EAEM,GAAA,EAAA,EAAA,eAAkD,IAAA,EAAS,EAEpD,MAA0B,CACrC,IAAM,GAAA,EAAA,EAAA,YAAqB,CAAY,EAEvC,GAAI,CAAC,EACH,MAAU,MAAM,iDAAiD,EAGnE,OAAO,CACT,EAEa,GAAyC,CAAE,WAAU,eAAc,gBAAiB,CAC/F,GAAM,CAAC,EAAO,IAAA,EAAA,EAAA,YAAuB,EAAc,CACjD,eAAgB,GAAc,IAChC,CAAC,GAED,EAAA,EAAA,eAAgB,CACd,IAAe,EAAM,cAAc,CACrC,EAAG,CAAC,KAAK,UAAU,EAAM,cAAc,CAAC,CAAC,EAEzC,IAAM,EAAU,CACd,GAAG,EACH,UACF,EAEA,OAAO,EAAA,EAAA,KAAC,EAAa,SAAd,CAAuB,MAAO,EAAU,UAAgC,CAAA,CACjF"}
@@ -1,41 +1,38 @@
1
1
  "use client";
2
- import { jsx as u } from "react/jsx-runtime";
3
- import { useReducer as i, useEffect as l, useContext as a, createContext as p } from "react";
4
- const d = (e, r) => {
5
- switch (r.type) {
6
- case "CLEAR_SORT_DESCRIPTOR":
7
- return {
8
- ...e,
9
- sortDescriptor: null
10
- };
11
- case "UPDATE_SORT_DESCRIPTOR":
12
- return {
13
- ...e,
14
- sortDescriptor: r.payload
15
- };
16
- default:
17
- return e;
18
- }
19
- }, o = p(void 0), D = () => {
20
- const e = a(o);
21
- if (!e)
22
- throw new Error("useTable must be used within a <TableProvider/>");
23
- return e;
24
- }, b = ({ children: e, onSortChange: r, descriptor: s }) => {
25
- const [t, c] = i(d, {
26
- sortDescriptor: s ?? null
27
- });
28
- l(() => {
29
- r?.(t.sortDescriptor);
30
- }, [JSON.stringify(t.sortDescriptor)]);
31
- const n = {
32
- ...t,
33
- dispatch: c
34
- };
35
- return /* @__PURE__ */ u(o.Provider, { value: n, children: e });
2
+ import { createContext as e, useContext as t, useEffect as n, useReducer as r } from "react";
3
+ import { jsx as i } from "react/jsx-runtime";
4
+ //#region src/components/table/TableProvider.tsx
5
+ var a = (e, t) => {
6
+ switch (t.type) {
7
+ case "CLEAR_SORT_DESCRIPTOR": return {
8
+ ...e,
9
+ sortDescriptor: null
10
+ };
11
+ case "UPDATE_SORT_DESCRIPTOR": return {
12
+ ...e,
13
+ sortDescriptor: t.payload
14
+ };
15
+ default: return e;
16
+ }
17
+ }, o = e(void 0), s = () => {
18
+ let e = t(o);
19
+ if (!e) throw Error("useTable must be used within a <TableProvider/>");
20
+ return e;
21
+ }, c = ({ children: e, onSortChange: t, descriptor: s }) => {
22
+ let [c, l] = r(a, { sortDescriptor: s ?? null });
23
+ n(() => {
24
+ t?.(c.sortDescriptor);
25
+ }, [JSON.stringify(c.sortDescriptor)]);
26
+ let u = {
27
+ ...c,
28
+ dispatch: l
29
+ };
30
+ return /* @__PURE__ */ i(o.Provider, {
31
+ value: u,
32
+ children: e
33
+ });
36
34
  };
37
- export {
38
- b as TableProvider,
39
- D as useTable
40
- };
41
- //# sourceMappingURL=TableProvider.js.map
35
+ //#endregion
36
+ export { c as TableProvider, s as useTable };
37
+
38
+ //# sourceMappingURL=TableProvider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TableProvider.js","sources":["../../../src/components/table/TableProvider.tsx"],"sourcesContent":["import { createContext, Dispatch, FC, ReactNode, Reducer, useContext, useEffect, useReducer } from 'react'\nimport type { TableSortDescriptor } from './common'\n\ntype State = {\n sortDescriptor: TableSortDescriptor\n}\n\ntype Action =\n | {\n type: 'UPDATE_SORT_DESCRIPTOR'\n payload: TableSortDescriptor\n }\n | {\n type: 'CLEAR_SORT_DESCRIPTOR'\n }\n\ntype Context = State & {\n dispatch: Dispatch<Action>\n}\n\nexport interface TableProviderProps {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n onSortChange?: (descriptor: TableSortDescriptor<any>) => void\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n descriptor?: TableSortDescriptor<any>\n children: ReactNode\n}\n\nconst tableReducer: Reducer<State, Action> = (state, action) => {\n switch (action.type) {\n case 'CLEAR_SORT_DESCRIPTOR': {\n return {\n ...state,\n sortDescriptor: null,\n }\n }\n case 'UPDATE_SORT_DESCRIPTOR': {\n return {\n ...state,\n sortDescriptor: action.payload,\n }\n }\n default:\n return state\n }\n}\n\nconst TableContext = createContext<Context | undefined>(undefined)\n\nexport const useTable = (): Context => {\n const context = useContext(TableContext)\n\n if (!context) {\n throw new Error('useTable must be used within a <TableProvider/>')\n }\n\n return context\n}\n\nexport const TableProvider: FC<TableProviderProps> = ({ children, onSortChange, descriptor }) => {\n const [state, dispatch] = useReducer(tableReducer, {\n sortDescriptor: descriptor ?? null,\n })\n\n useEffect(() => {\n onSortChange?.(state.sortDescriptor)\n }, [JSON.stringify(state.sortDescriptor)])\n\n const context = {\n ...state,\n dispatch,\n } satisfies Context\n\n return <TableContext.Provider value={context}>{children}</TableContext.Provider>\n}\n"],"names":["tableReducer","state","action","TableContext","createContext","useTable","context","useContext","TableProvider","children","onSortChange","descriptor","dispatch","useReducer","useEffect"],"mappings":";;;AA4BA,MAAMA,IAAuC,CAACC,GAAOC,MAAW;AAC9D,UAAQA,EAAO,MAAA;AAAA,IACb,KAAK;AACH,aAAO;AAAA,QACL,GAAGD;AAAA,QACH,gBAAgB;AAAA,MAAA;AAAA,IAGpB,KAAK;AACH,aAAO;AAAA,QACL,GAAGA;AAAA,QACH,gBAAgBC,EAAO;AAAA,MAAA;AAAA,IAG3B;AACE,aAAOD;AAAA,EAAA;AAEb,GAEME,IAAeC,EAAmC,MAAS,GAEpDC,IAAW,MAAe;AACrC,QAAMC,IAAUC,EAAWJ,CAAY;AAEvC,MAAI,CAACG;AACH,UAAM,IAAI,MAAM,iDAAiD;AAGnE,SAAOA;AACT,GAEaE,IAAwC,CAAC,EAAE,UAAAC,GAAU,cAAAC,GAAc,YAAAC,QAAiB;AAC/F,QAAM,CAACV,GAAOW,CAAQ,IAAIC,EAAWb,GAAc;AAAA,IACjD,gBAAgBW,KAAc;AAAA,EAAA,CAC/B;AAED,EAAAG,EAAU,MAAM;AACd,IAAAJ,IAAeT,EAAM,cAAc;AAAA,EACrC,GAAG,CAAC,KAAK,UAAUA,EAAM,cAAc,CAAC,CAAC;AAEzC,QAAMK,IAAU;AAAA,IACd,GAAGL;AAAA,IACH,UAAAW;AAAA,EAAA;AAGF,2BAAQT,EAAa,UAAb,EAAsB,OAAOG,GAAU,UAAAG,GAAS;AAC1D;"}
1
+ {"version":3,"file":"TableProvider.js","names":[],"sources":["../../../src/components/table/TableProvider.tsx"],"sourcesContent":["import { createContext, Dispatch, FC, ReactNode, Reducer, useContext, useEffect, useReducer } from 'react'\nimport type { TableSortDescriptor } from './common'\n\ntype State = {\n sortDescriptor: TableSortDescriptor\n}\n\ntype Action =\n | {\n type: 'UPDATE_SORT_DESCRIPTOR'\n payload: TableSortDescriptor\n }\n | {\n type: 'CLEAR_SORT_DESCRIPTOR'\n }\n\ntype Context = State & {\n dispatch: Dispatch<Action>\n}\n\nexport interface TableProviderProps {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n onSortChange?: (descriptor: TableSortDescriptor<any>) => void\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n descriptor?: TableSortDescriptor<any>\n children: ReactNode\n}\n\nconst tableReducer: Reducer<State, Action> = (state, action) => {\n switch (action.type) {\n case 'CLEAR_SORT_DESCRIPTOR': {\n return {\n ...state,\n sortDescriptor: null,\n }\n }\n case 'UPDATE_SORT_DESCRIPTOR': {\n return {\n ...state,\n sortDescriptor: action.payload,\n }\n }\n default:\n return state\n }\n}\n\nconst TableContext = createContext<Context | undefined>(undefined)\n\nexport const useTable = (): Context => {\n const context = useContext(TableContext)\n\n if (!context) {\n throw new Error('useTable must be used within a <TableProvider/>')\n }\n\n return context\n}\n\nexport const TableProvider: FC<TableProviderProps> = ({ children, onSortChange, descriptor }) => {\n const [state, dispatch] = useReducer(tableReducer, {\n sortDescriptor: descriptor ?? null,\n })\n\n useEffect(() => {\n onSortChange?.(state.sortDescriptor)\n }, [JSON.stringify(state.sortDescriptor)])\n\n const context = {\n ...state,\n dispatch,\n } satisfies Context\n\n return <TableContext.Provider value={context}>{children}</TableContext.Provider>\n}\n"],"mappings":";;;;AA4BA,IAAM,KAAwC,GAAO,MAAW;CAC9D,QAAQ,EAAO,MAAf;EACE,KAAK,yBACH,OAAO;GACL,GAAG;GACH,gBAAgB;EAClB;EAEF,KAAK,0BACH,OAAO;GACL,GAAG;GACH,gBAAgB,EAAO;EACzB;EAEF,SACE,OAAO;CACX;AACF,GAEM,IAAe,EAAmC,KAAA,CAAS,GAEpD,UAA0B;CACrC,IAAM,IAAU,EAAW,CAAY;CAEvC,IAAI,CAAC,GACH,MAAU,MAAM,iDAAiD;CAGnE,OAAO;AACT,GAEa,KAAyC,EAAE,aAAU,iBAAc,oBAAiB;CAC/F,IAAM,CAAC,GAAO,KAAY,EAAW,GAAc,EACjD,gBAAgB,KAAc,KAChC,CAAC;CAED,QAAgB;EACd,IAAe,EAAM,cAAc;CACrC,GAAG,CAAC,KAAK,UAAU,EAAM,cAAc,CAAC,CAAC;CAEzC,IAAM,IAAU;EACd,GAAG;EACH;CACF;CAEA,OAAO,kBAAC,EAAa,UAAd;EAAuB,OAAO;EAAU;CAAgC,CAAA;AACjF"}
@@ -1,2 +1,2 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),t=require("@ark-ui/react"),b=require("react"),s=require("@stokelp/styled-system/jsx"),a=require("@stokelp/styled-system/recipes"),T=require("../../utils/slots.cjs"),{withProvider:l,withContext:e}=T.createStyleContext(a.tabs),d=l(s.styled(t.Tabs.Root),"root",{defaultProps:{lazyMount:!0}}),u=e(s.styled(t.Tabs.Content),"content"),y=e(s.styled(t.Tabs.Trigger),"trigger"),g=s.styled(t.ark.span,a.tabsChip),p=e(s.styled(t.Tabs.Indicator),"indicator"),o=b.forwardRef(({children:i,...n},c)=>r.jsxs(t.Tabs.List,{ref:c,...n,children:[i,r.jsx(p,{})]}));o.displayName=t.Tabs.List.displayName;const C=e(s.styled(o),"list");exports.Tabs=d;exports.TabsChip=g;exports.TabsContent=u;exports.TabsList=C;exports.TabsTrigger=y;
2
- //# sourceMappingURL=Tabs.cjs.map
1
+ "use client";const e=require("../../utils/slots.cjs");let t=require("@ark-ui/react"),n=require("@stokelp/styled-system/jsx"),r=require("@stokelp/styled-system/recipes"),i=require("react"),a=require("react/jsx-runtime");var{withProvider:o,withContext:s}=e.createStyleContext(r.tabs),c=o((0,n.styled)(t.Tabs.Root),`root`,{defaultProps:{lazyMount:!0}}),l=s((0,n.styled)(t.Tabs.Content),`content`),u=s((0,n.styled)(t.Tabs.Trigger),`trigger`),d=(0,n.styled)(t.ark.span,r.tabsChip),f=s((0,n.styled)(t.Tabs.Indicator),`indicator`),p=(0,i.forwardRef)(({children:e,...n},r)=>(0,a.jsxs)(t.Tabs.List,{ref:r,...n,children:[e,(0,a.jsx)(f,{})]}));p.displayName=t.Tabs.List.displayName;var m=s((0,n.styled)(p),`list`);exports.Tabs=c,exports.TabsChip=d,exports.TabsContent=l,exports.TabsList=m,exports.TabsTrigger=u;
2
+ //# sourceMappingURL=Tabs.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tabs.cjs","sources":["../../../src/components/tabs/Tabs.tsx"],"sourcesContent":["import { ark, Tabs as ArkTab } from '@ark-ui/react'\nimport { ComponentProps, type ComponentPropsWithoutRef, type ElementRef, forwardRef } from 'react'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { tabs, tabsChip } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots.tsx'\n\nconst { withProvider, withContext } = createStyleContext(tabs)\n\nexport const Tabs = withProvider(styled(ArkTab.Root), 'root', {\n defaultProps: {\n lazyMount: true,\n },\n})\nexport const TabsContent = withContext(styled(ArkTab.Content), 'content')\nexport const TabsTrigger = withContext(styled(ArkTab.Trigger), 'trigger')\nexport const TabsChip = styled(ark.span, tabsChip)\n\nconst TabsIndicator = withContext(styled(ArkTab.Indicator), 'indicator')\n\nconst List = forwardRef<ElementRef<typeof ArkTab.List>, ComponentPropsWithoutRef<typeof ArkTab.List>>(\n ({ children, ...props }, ref) => (\n <ArkTab.List ref={ref} {...props}>\n {children}\n <TabsIndicator />\n </ArkTab.List>\n ),\n)\nList.displayName = ArkTab.List.displayName\n\nexport const TabsList = withContext(styled(List), 'list')\n\nexport interface TabsProps extends ComponentProps<typeof Tabs> {}\n\nexport interface TabsContentProps extends ComponentProps<typeof TabsContent> {}\n\nexport interface TabsIndicatorProps extends ComponentProps<typeof TabsIndicator> {}\n\nexport interface TabsListProps extends ComponentProps<typeof TabsList> {}\n\nexport interface TabsTriggerProps extends ComponentProps<typeof TabsTrigger> {}\n\nexport interface TabsChipProps extends ComponentProps<typeof TabsChip> {}\n"],"names":["withProvider","withContext","createStyleContext","tabs","Tabs","styled","ArkTab","TabsContent","TabsTrigger","TabsChip","ark","tabsChip","TabsIndicator","List","forwardRef","children","props","ref","jsxs","TabsList"],"mappings":"uSAMM,CAAE,aAAAA,EAAc,YAAAC,GAAgBC,EAAAA,mBAAmBC,EAAAA,IAAI,EAEhDC,EAAOJ,EAAaK,EAAAA,OAAOC,EAAAA,KAAO,IAAI,EAAG,OAAQ,CAC5D,aAAc,CACZ,UAAW,EAAA,CAEf,CAAC,EACYC,EAAcN,EAAYI,EAAAA,OAAOC,EAAAA,KAAO,OAAO,EAAG,SAAS,EAC3DE,EAAcP,EAAYI,EAAAA,OAAOC,EAAAA,KAAO,OAAO,EAAG,SAAS,EAC3DG,EAAWJ,EAAAA,OAAOK,MAAI,KAAMC,EAAAA,QAAQ,EAE3CC,EAAgBX,EAAYI,EAAAA,OAAOC,EAAAA,KAAO,SAAS,EAAG,WAAW,EAEjEO,EAAOC,EAAAA,WACX,CAAC,CAAE,SAAAC,EAAU,GAAGC,CAAA,EAASC,IACvBC,EAAAA,KAACZ,EAAAA,KAAO,KAAP,CAAY,IAAAW,EAAW,GAAGD,EACxB,SAAA,CAAAD,QACAH,EAAA,CAAA,CAAc,CAAA,CAAA,CACjB,CAEJ,EACAC,EAAK,YAAcP,OAAO,KAAK,YAExB,MAAMa,EAAWlB,EAAYI,SAAOQ,CAAI,EAAG,MAAM"}
1
+ {"version":3,"file":"Tabs.cjs","names":[],"sources":["../../../src/components/tabs/Tabs.tsx"],"sourcesContent":["import { ark, Tabs as ArkTab } from '@ark-ui/react'\nimport { ComponentProps, type ComponentPropsWithoutRef, type ElementRef, forwardRef } from 'react'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { tabs, tabsChip } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots.tsx'\n\nconst { withProvider, withContext } = createStyleContext(tabs)\n\nexport const Tabs = withProvider(styled(ArkTab.Root), 'root', {\n defaultProps: {\n lazyMount: true,\n },\n})\nexport const TabsContent = withContext(styled(ArkTab.Content), 'content')\nexport const TabsTrigger = withContext(styled(ArkTab.Trigger), 'trigger')\nexport const TabsChip = styled(ark.span, tabsChip)\n\nconst TabsIndicator = withContext(styled(ArkTab.Indicator), 'indicator')\n\nconst List = forwardRef<ElementRef<typeof ArkTab.List>, ComponentPropsWithoutRef<typeof ArkTab.List>>(\n ({ children, ...props }, ref) => (\n <ArkTab.List ref={ref} {...props}>\n {children}\n <TabsIndicator />\n </ArkTab.List>\n ),\n)\nList.displayName = ArkTab.List.displayName\n\nexport const TabsList = withContext(styled(List), 'list')\n\nexport interface TabsProps extends ComponentProps<typeof Tabs> {}\n\nexport interface TabsContentProps extends ComponentProps<typeof TabsContent> {}\n\nexport interface TabsIndicatorProps extends ComponentProps<typeof TabsIndicator> {}\n\nexport interface TabsListProps extends ComponentProps<typeof TabsList> {}\n\nexport interface TabsTriggerProps extends ComponentProps<typeof TabsTrigger> {}\n\nexport interface TabsChipProps extends ComponentProps<typeof TabsChip> {}\n"],"mappings":"2NAMA,GAAM,CAAE,eAAc,eAAgB,EAAA,mBAAmB,EAAA,IAAI,EAEhD,EAAO,GAAA,EAAA,EAAA,QAAoB,EAAA,KAAO,IAAI,EAAG,OAAQ,CAC5D,aAAc,CACZ,UAAW,EACb,CACF,CAAC,EACY,EAAc,GAAA,EAAA,EAAA,QAAmB,EAAA,KAAO,OAAO,EAAG,SAAS,EAC3D,EAAc,GAAA,EAAA,EAAA,QAAmB,EAAA,KAAO,OAAO,EAAG,SAAS,EAC3D,GAAA,EAAA,EAAA,QAAkB,EAAA,IAAI,KAAM,EAAA,QAAQ,EAE3C,EAAgB,GAAA,EAAA,EAAA,QAAmB,EAAA,KAAO,SAAS,EAAG,WAAW,EAEjE,GAAA,EAAA,EAAA,aACH,CAAE,WAAU,GAAG,GAAS,KACvB,EAAA,EAAA,MAAC,EAAA,KAAO,KAAR,CAAkB,MAAK,GAAI,WAA3B,CACG,GACD,EAAA,EAAA,KAAC,EAAD,CAAgB,CAAA,CACL,GAEjB,EACA,EAAK,YAAc,EAAA,KAAO,KAAK,YAE/B,IAAa,EAAW,GAAA,EAAA,EAAA,QAAmB,CAAI,EAAG,MAAM"}
@@ -1,12 +1,16 @@
1
- import { Tabs as ArkTab, PolymorphicProps } from '@ark-ui/react';
2
- import { ComponentProps, ForwardRefExoticComponent, RefAttributes, ClassAttributes, HTMLAttributes } from 'react';
1
+ import { Tabs as ArkTab } from '@ark-ui/react';
2
+ import { ComponentProps, ForwardRefExoticComponent, RefAttributes } from 'react';
3
3
  import { ComponentVariants } from '../../utils/slots.tsx';
4
4
  import { StyledComponent } from '@stokelp/styled-system/types';
5
- import { TabsRecipe, TabsChipVariantProps } from '@stokelp/styled-system/recipes';
5
+ import { TabsRecipe } from '@stokelp/styled-system/recipes';
6
6
  export declare const Tabs: ComponentVariants<StyledComponent<ForwardRefExoticComponent<ArkTab.RootProps & RefAttributes<HTMLDivElement>>, {}>, TabsRecipe>;
7
7
  export declare const TabsContent: StyledComponent<ForwardRefExoticComponent<ArkTab.ContentProps & RefAttributes<HTMLDivElement>>, {}>;
8
8
  export declare const TabsTrigger: StyledComponent<ForwardRefExoticComponent<ArkTab.TriggerProps & RefAttributes<HTMLButtonElement>>, {}>;
9
- export declare const TabsChip: StyledComponent<ForwardRefExoticComponent< ClassAttributes<HTMLSpanElement> & HTMLAttributes<HTMLSpanElement> & PolymorphicProps>, TabsChipVariantProps>;
9
+ export declare const TabsChip: StyledComponent<any, {
10
+ [x: string]: unknown;
11
+ [x: number]: unknown;
12
+ colorScheme?: unknown;
13
+ }>;
10
14
  declare const TabsIndicator: StyledComponent<ForwardRefExoticComponent<ArkTab.IndicatorProps & RefAttributes<HTMLDivElement>>, {}>;
11
15
  export declare const TabsList: StyledComponent<ForwardRefExoticComponent<Omit<ArkTab.ListProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>, {}>;
12
16
  export interface TabsProps extends ComponentProps<typeof Tabs> {
@@ -1,27 +1,19 @@
1
1
  "use client";
2
- import { jsxs as e, jsx as c } from "react/jsx-runtime";
3
- import { Tabs as t, ark as m } from "@ark-ui/react";
4
- import { forwardRef as p } from "react";
5
- import { styled as o } from "@stokelp/styled-system/jsx";
6
- import { tabsChip as b, tabs as d } from "@stokelp/styled-system/recipes";
7
- import { createStyleContext as T } from "../../utils/slots.js";
8
- const { withProvider: f, withContext: s } = T(d), L = f(o(t.Root), "root", {
9
- defaultProps: {
10
- lazyMount: !0
11
- }
12
- }), w = s(o(t.Content), "content"), j = s(o(t.Trigger), "trigger"), I = o(m.span, b), l = s(o(t.Indicator), "indicator"), r = p(
13
- ({ children: i, ...a }, n) => /* @__PURE__ */ e(t.List, { ref: n, ...a, children: [
14
- i,
15
- /* @__PURE__ */ c(l, {})
16
- ] })
17
- );
18
- r.displayName = t.List.displayName;
19
- const N = s(o(r), "list");
20
- export {
21
- L as Tabs,
22
- I as TabsChip,
23
- w as TabsContent,
24
- N as TabsList,
25
- j as TabsTrigger
26
- };
27
- //# sourceMappingURL=Tabs.js.map
2
+ import { createStyleContext as e } from "../../utils/slots.js";
3
+ import { Tabs as t, ark as n } from "@ark-ui/react";
4
+ import { styled as r } from "@stokelp/styled-system/jsx";
5
+ import { tabs as i, tabsChip as a } from "@stokelp/styled-system/recipes";
6
+ import { forwardRef as o } from "react";
7
+ import { jsx as s, jsxs as c } from "react/jsx-runtime";
8
+ //#region src/components/tabs/Tabs.tsx
9
+ var { withProvider: l, withContext: u } = e(i), d = l(r(t.Root), "root", { defaultProps: { lazyMount: !0 } }), f = u(r(t.Content), "content"), p = u(r(t.Trigger), "trigger"), m = r(n.span, a), h = u(r(t.Indicator), "indicator"), g = o(({ children: e, ...n }, r) => /* @__PURE__ */ c(t.List, {
10
+ ref: r,
11
+ ...n,
12
+ children: [e, /* @__PURE__ */ s(h, {})]
13
+ }));
14
+ g.displayName = t.List.displayName;
15
+ var _ = u(r(g), "list");
16
+ //#endregion
17
+ export { d as Tabs, m as TabsChip, f as TabsContent, _ as TabsList, p as TabsTrigger };
18
+
19
+ //# sourceMappingURL=Tabs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tabs.js","sources":["../../../src/components/tabs/Tabs.tsx"],"sourcesContent":["import { ark, Tabs as ArkTab } from '@ark-ui/react'\nimport { ComponentProps, type ComponentPropsWithoutRef, type ElementRef, forwardRef } from 'react'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { tabs, tabsChip } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots.tsx'\n\nconst { withProvider, withContext } = createStyleContext(tabs)\n\nexport const Tabs = withProvider(styled(ArkTab.Root), 'root', {\n defaultProps: {\n lazyMount: true,\n },\n})\nexport const TabsContent = withContext(styled(ArkTab.Content), 'content')\nexport const TabsTrigger = withContext(styled(ArkTab.Trigger), 'trigger')\nexport const TabsChip = styled(ark.span, tabsChip)\n\nconst TabsIndicator = withContext(styled(ArkTab.Indicator), 'indicator')\n\nconst List = forwardRef<ElementRef<typeof ArkTab.List>, ComponentPropsWithoutRef<typeof ArkTab.List>>(\n ({ children, ...props }, ref) => (\n <ArkTab.List ref={ref} {...props}>\n {children}\n <TabsIndicator />\n </ArkTab.List>\n ),\n)\nList.displayName = ArkTab.List.displayName\n\nexport const TabsList = withContext(styled(List), 'list')\n\nexport interface TabsProps extends ComponentProps<typeof Tabs> {}\n\nexport interface TabsContentProps extends ComponentProps<typeof TabsContent> {}\n\nexport interface TabsIndicatorProps extends ComponentProps<typeof TabsIndicator> {}\n\nexport interface TabsListProps extends ComponentProps<typeof TabsList> {}\n\nexport interface TabsTriggerProps extends ComponentProps<typeof TabsTrigger> {}\n\nexport interface TabsChipProps extends ComponentProps<typeof TabsChip> {}\n"],"names":["withProvider","withContext","createStyleContext","tabs","Tabs","styled","ArkTab","TabsContent","TabsTrigger","TabsChip","ark","tabsChip","TabsIndicator","List","forwardRef","children","props","ref","jsxs","TabsList"],"mappings":";;;;;;;AAMA,MAAM,EAAE,cAAAA,GAAc,aAAAC,MAAgBC,EAAmBC,CAAI,GAEhDC,IAAOJ,EAAaK,EAAOC,EAAO,IAAI,GAAG,QAAQ;AAAA,EAC5D,cAAc;AAAA,IACZ,WAAW;AAAA,EAAA;AAEf,CAAC,GACYC,IAAcN,EAAYI,EAAOC,EAAO,OAAO,GAAG,SAAS,GAC3DE,IAAcP,EAAYI,EAAOC,EAAO,OAAO,GAAG,SAAS,GAC3DG,IAAWJ,EAAOK,EAAI,MAAMC,CAAQ,GAE3CC,IAAgBX,EAAYI,EAAOC,EAAO,SAAS,GAAG,WAAW,GAEjEO,IAAOC;AAAA,EACX,CAAC,EAAE,UAAAC,GAAU,GAAGC,EAAA,GAASC,MACvB,gBAAAC,EAACZ,EAAO,MAAP,EAAY,KAAAW,GAAW,GAAGD,GACxB,UAAA;AAAA,IAAAD;AAAA,sBACAH,GAAA,CAAA,CAAc;AAAA,EAAA,EAAA,CACjB;AAEJ;AACAC,EAAK,cAAcP,EAAO,KAAK;AAExB,MAAMa,IAAWlB,EAAYI,EAAOQ,CAAI,GAAG,MAAM;"}
1
+ {"version":3,"file":"Tabs.js","names":[],"sources":["../../../src/components/tabs/Tabs.tsx"],"sourcesContent":["import { ark, Tabs as ArkTab } from '@ark-ui/react'\nimport { ComponentProps, type ComponentPropsWithoutRef, type ElementRef, forwardRef } from 'react'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { tabs, tabsChip } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots.tsx'\n\nconst { withProvider, withContext } = createStyleContext(tabs)\n\nexport const Tabs = withProvider(styled(ArkTab.Root), 'root', {\n defaultProps: {\n lazyMount: true,\n },\n})\nexport const TabsContent = withContext(styled(ArkTab.Content), 'content')\nexport const TabsTrigger = withContext(styled(ArkTab.Trigger), 'trigger')\nexport const TabsChip = styled(ark.span, tabsChip)\n\nconst TabsIndicator = withContext(styled(ArkTab.Indicator), 'indicator')\n\nconst List = forwardRef<ElementRef<typeof ArkTab.List>, ComponentPropsWithoutRef<typeof ArkTab.List>>(\n ({ children, ...props }, ref) => (\n <ArkTab.List ref={ref} {...props}>\n {children}\n <TabsIndicator />\n </ArkTab.List>\n ),\n)\nList.displayName = ArkTab.List.displayName\n\nexport const TabsList = withContext(styled(List), 'list')\n\nexport interface TabsProps extends ComponentProps<typeof Tabs> {}\n\nexport interface TabsContentProps extends ComponentProps<typeof TabsContent> {}\n\nexport interface TabsIndicatorProps extends ComponentProps<typeof TabsIndicator> {}\n\nexport interface TabsListProps extends ComponentProps<typeof TabsList> {}\n\nexport interface TabsTriggerProps extends ComponentProps<typeof TabsTrigger> {}\n\nexport interface TabsChipProps extends ComponentProps<typeof TabsChip> {}\n"],"mappings":";;;;;;;;AAMA,IAAM,EAAE,iBAAc,mBAAgB,EAAmB,CAAI,GAEhD,IAAO,EAAa,EAAO,EAAO,IAAI,GAAG,QAAQ,EAC5D,cAAc,EACZ,WAAW,GACb,EACF,CAAC,GACY,IAAc,EAAY,EAAO,EAAO,OAAO,GAAG,SAAS,GAC3D,IAAc,EAAY,EAAO,EAAO,OAAO,GAAG,SAAS,GAC3D,IAAW,EAAO,EAAI,MAAM,CAAQ,GAE3C,IAAgB,EAAY,EAAO,EAAO,SAAS,GAAG,WAAW,GAEjE,IAAO,GACV,EAAE,aAAU,GAAG,KAAS,MACvB,kBAAC,EAAO,MAAR;CAAkB;CAAK,GAAI;WAA3B,CACG,GACD,kBAAC,GAAD,CAAgB,CAAA,CACL;EAEjB;AACA,EAAK,cAAc,EAAO,KAAK;AAE/B,IAAa,IAAW,EAAY,EAAO,CAAI,GAAG,MAAM"}
@@ -1,2 +1,2 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("@stokelp/styled-system/css"),P=require("@ark-ui/react"),t=require("@stokelp/styled-system/jsx"),c=require("@stokelp/styled-system/recipes"),q=require("react"),x=q.forwardRef((o,a)=>{const[i,n]=c.tag.splitVariantProps(o),[l,u]=t.splitCssProps(n),{children:p,className:d,...g}=u,r=c.tag(i);return e.jsxs(P.ark.div,{ref:a,className:s.cx(r.root,s.css(l),d),...g,children:[p,e.jsx(t.Circle,{className:s.cx(r.badge),borderRadius:"full"})]})});exports.Tag=x;
2
- //# sourceMappingURL=Tag.cjs.map
1
+ "use client";let e=require("@ark-ui/react"),t=require("@stokelp/styled-system/jsx"),n=require("@stokelp/styled-system/recipes"),r=require("react"),i=require("react/jsx-runtime"),a=require("@stokelp/styled-system/css");var o=(0,r.forwardRef)((r,o)=>{let[s,c]=n.tag.splitVariantProps(r),[l,u]=(0,t.splitCssProps)(c),{children:d,className:f,...p}=u,m=(0,n.tag)(s);return(0,i.jsxs)(e.ark.div,{ref:o,className:(0,a.cx)(m.root,(0,a.css)(l),f),...p,children:[d,(0,i.jsx)(t.Circle,{className:(0,a.cx)(m.badge),borderRadius:`full`})]})});exports.Tag=o;
2
+ //# sourceMappingURL=Tag.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tag.cjs","sources":["../../../src/components/tag/Tag.tsx"],"sourcesContent":["import { css, cx } from '@stokelp/styled-system/css'\nimport { ark, type HTMLArkProps } from '@ark-ui/react'\nimport { Circle, splitCssProps } from '@stokelp/styled-system/jsx'\nimport { tag, type TagVariantProps } from '@stokelp/styled-system/recipes'\nimport { Assign, JsxStyleProps } from '@stokelp/styled-system/types'\nimport { forwardRef, type ReactNode } from 'react'\n\nexport interface TagProps extends Assign<JsxStyleProps, HTMLArkProps<'div'>>, TagVariantProps {\n children: ReactNode\n}\n\nexport const Tag = forwardRef<HTMLDivElement, TagProps>((props, ref) => {\n const [variantProps, tagProps] = tag.splitVariantProps(props)\n const [cssProps, localProps] = splitCssProps(tagProps)\n const { children, className, ...rootProps } = localProps\n const styles = tag(variantProps)\n\n return (\n <ark.div ref={ref} className={cx(styles.root, css(cssProps), className)} {...rootProps}>\n {children}\n <Circle className={cx(styles.badge)} borderRadius=\"full\" />\n </ark.div>\n )\n})\n"],"names":["Tag","forwardRef","props","ref","variantProps","tagProps","tag","cssProps","localProps","splitCssProps","children","className","rootProps","styles","jsxs","ark","cx","css","jsx","Circle"],"mappings":"4SAWaA,EAAMC,EAAAA,WAAqC,CAACC,EAAOC,IAAQ,CACtE,KAAM,CAACC,EAAcC,CAAQ,EAAIC,EAAAA,IAAI,kBAAkBJ,CAAK,EACtD,CAACK,EAAUC,CAAU,EAAIC,EAAAA,cAAcJ,CAAQ,EAC/C,CAAE,SAAAK,EAAU,UAAAC,EAAW,GAAGC,GAAcJ,EACxCK,EAASP,EAAAA,IAAIF,CAAY,EAE/B,OACEU,EAAAA,KAACC,EAAAA,IAAI,IAAJ,CAAQ,IAAAZ,EAAU,UAAWa,KAAGH,EAAO,KAAMI,EAAAA,IAAIV,CAAQ,EAAGI,CAAS,EAAI,GAAGC,EAC1E,SAAA,CAAAF,EACDQ,MAACC,EAAAA,QAAO,UAAWH,EAAAA,GAAGH,EAAO,KAAK,EAAG,aAAa,MAAA,CAAO,CAAA,EAC3D,CAEJ,CAAC"}
1
+ {"version":3,"file":"Tag.cjs","names":[],"sources":["../../../src/components/tag/Tag.tsx"],"sourcesContent":["import { css, cx } from '@stokelp/styled-system/css'\nimport { ark, type HTMLArkProps } from '@ark-ui/react'\nimport { Circle, splitCssProps } from '@stokelp/styled-system/jsx'\nimport { tag, type TagVariantProps } from '@stokelp/styled-system/recipes'\nimport { Assign, JsxStyleProps } from '@stokelp/styled-system/types'\nimport { forwardRef, type ReactNode } from 'react'\n\nexport interface TagProps extends Assign<JsxStyleProps, HTMLArkProps<'div'>>, TagVariantProps {\n children: ReactNode\n}\n\nexport const Tag = forwardRef<HTMLDivElement, TagProps>((props, ref) => {\n const [variantProps, tagProps] = tag.splitVariantProps(props)\n const [cssProps, localProps] = splitCssProps(tagProps)\n const { children, className, ...rootProps } = localProps\n const styles = tag(variantProps)\n\n return (\n <ark.div ref={ref} className={cx(styles.root, css(cssProps), className)} {...rootProps}>\n {children}\n <Circle className={cx(styles.badge)} borderRadius=\"full\" />\n </ark.div>\n )\n})\n"],"mappings":"0NAWA,IAAa,GAAA,EAAA,EAAA,aAA4C,EAAO,IAAQ,CACtE,GAAM,CAAC,EAAc,GAAY,EAAA,IAAI,kBAAkB,CAAK,EACtD,CAAC,EAAU,IAAA,EAAA,EAAA,eAA4B,CAAQ,EAC/C,CAAE,WAAU,YAAW,GAAG,GAAc,EACxC,GAAA,EAAA,EAAA,KAAa,CAAY,EAE/B,OACE,EAAA,EAAA,MAAC,EAAA,IAAI,IAAL,CAAc,MAAK,WAAA,EAAA,EAAA,IAAc,EAAO,MAAA,EAAA,EAAA,KAAU,CAAQ,EAAG,CAAS,EAAG,GAAI,WAA7E,CACG,GACD,EAAA,EAAA,KAAC,EAAA,OAAD,CAAQ,WAAA,EAAA,EAAA,IAAc,EAAO,KAAK,EAAG,aAAa,MAAQ,CAAA,CACnD,GAEb,CAAC"}