@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,35 +1,37 @@
1
1
  "use client";
2
- import { jsxs as t, jsx as r } from "react/jsx-runtime";
3
- import { Checkbox as o } from "@ark-ui/react";
4
- import { forwardRef as x } from "react";
5
- import { cx as b, css as u } from "@stokelp/styled-system/css";
6
- import { splitCssProps as k, styled as f } from "@stokelp/styled-system/jsx";
7
- import { checkbox as a, checkboxGroup as C } from "@stokelp/styled-system/recipes";
8
- import { CheckIcon as P, MinusIcon as N } from "../../shared/assets/icons.js";
9
- const I = x((n, i) => {
10
- const [l, p] = a.splitVariantProps(n), [m, h] = k(p), { children: c, className: d, ...e } = h, s = a(l);
11
- return /* @__PURE__ */ t(
12
- o.Root,
13
- {
14
- ref: i,
15
- className: b(s.root, u(m), d),
16
- ...e,
17
- value: e.value,
18
- children: [
19
- /* @__PURE__ */ t(o.Control, { className: s.control, children: [
20
- /* @__PURE__ */ r(o.Indicator, { children: /* @__PURE__ */ r(P, {}) }),
21
- /* @__PURE__ */ r(o.Indicator, { indeterminate: !0, children: /* @__PURE__ */ r(N, {}) })
22
- ] }),
23
- c && /* @__PURE__ */ r(o.Label, { className: s.label, children: c }),
24
- /* @__PURE__ */ r(o.HiddenInput, {})
25
- ]
26
- }
27
- );
28
- }), y = f(o.Group, C);
29
- I.displayName = "Checkbox";
30
- y.displayName = "CheckboxGroup";
31
- export {
32
- I as Checkbox,
33
- y as CheckboxGroup
34
- };
35
- //# sourceMappingURL=Checkbox.js.map
2
+ import { CheckIcon as e, MinusIcon as t } from "../../shared/assets/icons.js";
3
+ import { Checkbox as n } from "@ark-ui/react";
4
+ import { splitCssProps as r, styled as i } from "@stokelp/styled-system/jsx";
5
+ import { checkbox as a, checkboxGroup as o } from "@stokelp/styled-system/recipes";
6
+ import { forwardRef as s } from "react";
7
+ import { jsx as c, jsxs as l } from "react/jsx-runtime";
8
+ import { css as u, cx as d } from "@stokelp/styled-system/css";
9
+ //#region src/components/checkbox/Checkbox.tsx
10
+ var f = s((i, o) => {
11
+ let [s, f] = a.splitVariantProps(i), [p, m] = r(f), { children: h, className: g, ..._ } = m, v = a(s);
12
+ return /* @__PURE__ */ l(n.Root, {
13
+ ref: o,
14
+ className: d(v.root, u(p), g),
15
+ ..._,
16
+ value: _.value,
17
+ children: [
18
+ /* @__PURE__ */ l(n.Control, {
19
+ className: v.control,
20
+ children: [/* @__PURE__ */ c(n.Indicator, { children: /* @__PURE__ */ c(e, {}) }), /* @__PURE__ */ c(n.Indicator, {
21
+ indeterminate: !0,
22
+ children: /* @__PURE__ */ c(t, {})
23
+ })]
24
+ }),
25
+ h && /* @__PURE__ */ c(n.Label, {
26
+ className: v.label,
27
+ children: h
28
+ }),
29
+ /* @__PURE__ */ c(n.HiddenInput, {})
30
+ ]
31
+ });
32
+ }), p = i(n.Group, o);
33
+ f.displayName = "Checkbox", p.displayName = "CheckboxGroup";
34
+ //#endregion
35
+ export { f as Checkbox, p as CheckboxGroup };
36
+
37
+ //# sourceMappingURL=Checkbox.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.js","sources":["../../../src/components/checkbox/Checkbox.tsx"],"sourcesContent":["import {\n Checkbox as ArkCheckbox,\n type CheckboxRootProps,\n type CheckboxGroupProps as ArkCheckboxGroupProps,\n} from '@ark-ui/react'\nimport { FC, forwardRef, type ReactNode } from 'react'\nimport { css, cx } from '@stokelp/styled-system/css'\nimport { splitCssProps, styled } from '@stokelp/styled-system/jsx'\nimport { checkbox, checkboxGroup, type CheckboxVariantProps } from '@stokelp/styled-system/recipes'\nimport type { Assign, JsxStyleProps } from '@stokelp/styled-system/types'\nimport { CheckIcon, MinusIcon } from '~/shared/assets/icons'\n\ntype StyledCheckboxRootProps = Assign<JsxStyleProps, CheckboxRootProps>\n\nexport interface CheckboxProps extends Omit<StyledCheckboxRootProps, 'value'>, CheckboxVariantProps {\n value?: string | number\n children?: ReactNode\n}\n\nexport const Checkbox = forwardRef<HTMLLabelElement, CheckboxProps>((props, ref) => {\n const [variantProps, checkboxProps] = checkbox.splitVariantProps(props)\n const [cssProps, localProps] = splitCssProps(checkboxProps)\n const { children, className, ...rootProps } = localProps\n const styles = checkbox(variantProps)\n\n return (\n <ArkCheckbox.Root\n ref={ref}\n className={cx(styles.root, css(cssProps), className)}\n {...rootProps}\n value={rootProps.value as string | undefined}\n >\n <ArkCheckbox.Control className={styles.control}>\n <ArkCheckbox.Indicator>\n <CheckIcon />\n </ArkCheckbox.Indicator>\n <ArkCheckbox.Indicator indeterminate>\n <MinusIcon />\n </ArkCheckbox.Indicator>\n </ArkCheckbox.Control>\n {children && <ArkCheckbox.Label className={styles.label}>{children}</ArkCheckbox.Label>}\n <ArkCheckbox.HiddenInput />\n </ArkCheckbox.Root>\n )\n})\n\nexport type CheckboxGroupProps = Omit<\n Assign<JsxStyleProps, ArkCheckboxGroupProps>,\n 'value' | 'defaultValue' | 'onValueChange'\n> & {\n onValueChange?: (value: string[] | number[]) => void\n value?: string[] | number[]\n defaultValue?: string[] | number[]\n}\n\nexport const CheckboxGroup = styled(ArkCheckbox.Group, checkboxGroup) as FC<CheckboxGroupProps>\n\nCheckbox.displayName = 'Checkbox'\nCheckboxGroup.displayName = 'CheckboxGroup'\n"],"names":["Checkbox","forwardRef","props","ref","variantProps","checkboxProps","checkbox","cssProps","localProps","splitCssProps","children","className","rootProps","styles","jsxs","ArkCheckbox","cx","css","jsx","CheckIcon","MinusIcon","CheckboxGroup","styled","checkboxGroup"],"mappings":";;;;;;;;AAmBO,MAAMA,IAAWC,EAA4C,CAACC,GAAOC,MAAQ;AAClF,QAAM,CAACC,GAAcC,CAAa,IAAIC,EAAS,kBAAkBJ,CAAK,GAChE,CAACK,GAAUC,CAAU,IAAIC,EAAcJ,CAAa,GACpD,EAAE,UAAAK,GAAU,WAAAC,GAAW,GAAGC,MAAcJ,GACxCK,IAASP,EAASF,CAAY;AAEpC,SACE,gBAAAU;AAAA,IAACC,EAAY;AAAA,IAAZ;AAAA,MACC,KAAAZ;AAAA,MACA,WAAWa,EAAGH,EAAO,MAAMI,EAAIV,CAAQ,GAAGI,CAAS;AAAA,MAClD,GAAGC;AAAA,MACJ,OAAOA,EAAU;AAAA,MAEjB,UAAA;AAAA,QAAA,gBAAAE,EAACC,EAAY,SAAZ,EAAoB,WAAWF,EAAO,SACrC,UAAA;AAAA,UAAA,gBAAAK,EAACH,EAAY,WAAZ,EACC,UAAA,gBAAAG,EAACC,KAAU,GACb;AAAA,UACA,gBAAAD,EAACH,EAAY,WAAZ,EAAsB,eAAa,IAClC,UAAA,gBAAAG,EAACE,KAAU,EAAA,CACb;AAAA,QAAA,GACF;AAAA,QACCV,uBAAaK,EAAY,OAAZ,EAAkB,WAAWF,EAAO,OAAQ,UAAAH,GAAS;AAAA,QACnE,gBAAAQ,EAACH,EAAY,aAAZ,CAAA,CAAwB;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAG/B,CAAC,GAWYM,IAAgBC,EAAOP,EAAY,OAAOQ,CAAa;AAEpEvB,EAAS,cAAc;AACvBqB,EAAc,cAAc;"}
1
+ {"version":3,"file":"Checkbox.js","names":[],"sources":["../../../src/components/checkbox/Checkbox.tsx"],"sourcesContent":["import {\n Checkbox as ArkCheckbox,\n type CheckboxRootProps,\n type CheckboxGroupProps as ArkCheckboxGroupProps,\n} from '@ark-ui/react'\nimport { FC, forwardRef, type ReactNode } from 'react'\nimport { css, cx } from '@stokelp/styled-system/css'\nimport { splitCssProps, styled } from '@stokelp/styled-system/jsx'\nimport { checkbox, checkboxGroup, type CheckboxVariantProps } from '@stokelp/styled-system/recipes'\nimport type { Assign, JsxStyleProps } from '@stokelp/styled-system/types'\nimport { CheckIcon, MinusIcon } from '~/shared/assets/icons'\n\ntype StyledCheckboxRootProps = Assign<JsxStyleProps, CheckboxRootProps>\n\nexport interface CheckboxProps extends Omit<StyledCheckboxRootProps, 'value'>, CheckboxVariantProps {\n value?: string | number\n children?: ReactNode\n}\n\nexport const Checkbox = forwardRef<HTMLLabelElement, CheckboxProps>((props, ref) => {\n const [variantProps, checkboxProps] = checkbox.splitVariantProps(props)\n const [cssProps, localProps] = splitCssProps(checkboxProps)\n const { children, className, ...rootProps } = localProps\n const styles = checkbox(variantProps)\n\n return (\n <ArkCheckbox.Root\n ref={ref}\n className={cx(styles.root, css(cssProps), className)}\n {...rootProps}\n value={rootProps.value as string | undefined}\n >\n <ArkCheckbox.Control className={styles.control}>\n <ArkCheckbox.Indicator>\n <CheckIcon />\n </ArkCheckbox.Indicator>\n <ArkCheckbox.Indicator indeterminate>\n <MinusIcon />\n </ArkCheckbox.Indicator>\n </ArkCheckbox.Control>\n {children && <ArkCheckbox.Label className={styles.label}>{children}</ArkCheckbox.Label>}\n <ArkCheckbox.HiddenInput />\n </ArkCheckbox.Root>\n )\n})\n\nexport type CheckboxGroupProps = Omit<\n Assign<JsxStyleProps, ArkCheckboxGroupProps>,\n 'value' | 'defaultValue' | 'onValueChange'\n> & {\n onValueChange?: (value: string[] | number[]) => void\n value?: string[] | number[]\n defaultValue?: string[] | number[]\n}\n\nexport const CheckboxGroup = styled(ArkCheckbox.Group, checkboxGroup) as FC<CheckboxGroupProps>\n\nCheckbox.displayName = 'Checkbox'\nCheckboxGroup.displayName = 'CheckboxGroup'\n"],"mappings":";;;;;;;;;AAmBA,IAAa,IAAW,GAA6C,GAAO,MAAQ;CAClF,IAAM,CAAC,GAAc,KAAiB,EAAS,kBAAkB,CAAK,GAChE,CAAC,GAAU,KAAc,EAAc,CAAa,GACpD,EAAE,aAAU,cAAW,GAAG,MAAc,GACxC,IAAS,EAAS,CAAY;CAEpC,OACE,kBAAC,EAAY,MAAb;EACO;EACL,WAAW,EAAG,EAAO,MAAM,EAAI,CAAQ,GAAG,CAAS;EACnD,GAAI;EACJ,OAAO,EAAU;YAJnB;GAME,kBAAC,EAAY,SAAb;IAAqB,WAAW,EAAO;cAAvC,CACE,kBAAC,EAAY,WAAb,EAAA,UACE,kBAAC,GAAD,CAAY,CAAA,EACS,CAAA,GACvB,kBAAC,EAAY,WAAb;KAAuB,eAAA;eACrB,kBAAC,GAAD,CAAY,CAAA;IACS,CAAA,CACJ;;GACpB,KAAY,kBAAC,EAAY,OAAb;IAAmB,WAAW,EAAO;IAAQ;GAA4B,CAAA;GACtF,kBAAC,EAAY,aAAb,CAA0B,CAAA;EACV;;AAEtB,CAAC,GAWY,IAAgB,EAAO,EAAY,OAAO,CAAa;AAEpE,EAAS,cAAc,YACvB,EAAc,cAAc"}
@@ -1,2 +1,2 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("@ark-ui/react"),a=require("@stokelp/styled-system/css"),t=require("@stokelp/styled-system/jsx"),r=require("@stokelp/styled-system/recipes"),m=require("react"),j=require("../../utils/slots.cjs"),i=require("../../shared/assets/icons.cjs"),{withProvider:y,withContext:c}=j.createStyleContext(r.checkboxCard,{dataAttr:!0}),P=y(t.styled(o.Checkbox.Root)),q=c(t.styled(o.Checkbox.Label),"title"),I=c(t.styled("div"),"content"),g=c(t.styled("p"),"description"),v=c(t.styled(o.ark.img),"image"),C=m.forwardRef((d,x)=>{const[l,h]=r.checkboxCard.splitVariantProps(d),[b,k]=t.splitCssProps(h),{children:u,className:p,...s}=k,n=r.checkboxCard(l);return e.jsxs(P,{ref:x,className:a.cx(n.root,a.css(b),p),...s,value:s.value,children:[e.jsxs(o.Checkbox.Control,{className:n.control,children:[e.jsx(o.Checkbox.Indicator,{children:e.jsx(i.CheckIcon,{})}),e.jsx(o.Checkbox.Indicator,{indeterminate:!0,children:e.jsx(i.MinusIcon,{})})]}),u,e.jsx(o.Checkbox.HiddenInput,{})]})});C.displayName="CheckboxCard";exports.CheckboxCard=C;exports.CheckboxCardContent=I;exports.CheckboxCardDescription=g;exports.CheckboxCardImage=v;exports.CheckboxCardTitle=q;
2
- //# sourceMappingURL=CheckboxCard.cjs.map
1
+ "use client";const e=require("../../utils/slots.cjs"),t=require("../../shared/assets/icons.cjs");let n=require("@ark-ui/react"),r=require("@stokelp/styled-system/jsx"),i=require("@stokelp/styled-system/recipes"),a=require("react"),o=require("react/jsx-runtime"),s=require("@stokelp/styled-system/css");var{withProvider:c,withContext:l}=e.createStyleContext(i.checkboxCard,{dataAttr:!0}),u=c((0,r.styled)(n.Checkbox.Root)),d=l((0,r.styled)(n.Checkbox.Label),`title`),f=l((0,r.styled)(`div`),`content`),p=l((0,r.styled)(`p`),`description`),m=l((0,r.styled)(n.ark.img),`image`),h=(0,a.forwardRef)((e,a)=>{let[c,l]=i.checkboxCard.splitVariantProps(e),[d,f]=(0,r.splitCssProps)(l),{children:p,className:m,...h}=f,g=(0,i.checkboxCard)(c);return(0,o.jsxs)(u,{ref:a,className:(0,s.cx)(g.root,(0,s.css)(d),m),...h,value:h.value,children:[(0,o.jsxs)(n.Checkbox.Control,{className:g.control,children:[(0,o.jsx)(n.Checkbox.Indicator,{children:(0,o.jsx)(t.CheckIcon,{})}),(0,o.jsx)(n.Checkbox.Indicator,{indeterminate:!0,children:(0,o.jsx)(t.MinusIcon,{})})]}),p,(0,o.jsx)(n.Checkbox.HiddenInput,{})]})});h.displayName=`CheckboxCard`,exports.CheckboxCard=h,exports.CheckboxCardContent=f,exports.CheckboxCardDescription=p,exports.CheckboxCardImage=m,exports.CheckboxCardTitle=d;
2
+ //# sourceMappingURL=CheckboxCard.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"CheckboxCard.cjs","sources":["../../../src/components/checkbox-card/CheckboxCard.tsx"],"sourcesContent":["import { ark, Checkbox as ArkCheckbox, type CheckboxRootProps } from '@ark-ui/react'\nimport { css, cx } from '@stokelp/styled-system/css'\nimport { splitCssProps, styled } from '@stokelp/styled-system/jsx'\nimport { checkboxCard, type CheckboxCardVariantProps } from '@stokelp/styled-system/recipes'\nimport type { Assign, JsxStyleProps } from '@stokelp/styled-system/types'\nimport { ComponentProps, forwardRef } from 'react'\nimport { createStyleContext } from '~/utils/slots'\nimport { type CheckboxProps } from '~/components/checkbox'\nimport { CheckIcon, MinusIcon } from '~/shared/assets/icons'\n\ntype StyledCheckboxRootProps = Assign<JsxStyleProps, CheckboxRootProps>\n\nexport interface CheckboxCardProps extends Omit<StyledCheckboxRootProps, 'value'>, CheckboxCardVariantProps {\n value?: string | number\n}\n\nconst { withProvider, withContext } = createStyleContext(checkboxCard, {\n dataAttr: true,\n})\n\nconst CheckboxCardRoot = withProvider(styled(ArkCheckbox.Root))\n\nexport const CheckboxCardTitle = withContext(styled(ArkCheckbox.Label), 'title')\nexport const CheckboxCardContent = withContext(styled('div'), 'content')\nexport const CheckboxCardDescription = withContext(styled('p'), 'description')\nexport const CheckboxCardImage = withContext(styled(ark.img), 'image')\n\nexport type CheckboxCardTitleProps = ComponentProps<typeof CheckboxCardTitle>\nexport type CheckboxCardContentProps = ComponentProps<typeof CheckboxCardContent>\nexport type CheckboxCardDescriptionProps = ComponentProps<typeof CheckboxCardDescription>\nexport type CheckboxCardImageProps = ComponentProps<typeof CheckboxCardImage>\n\nexport const CheckboxCard = forwardRef<HTMLLabelElement, CheckboxProps>((props, ref) => {\n const [variantProps, checkboxProps] = checkboxCard.splitVariantProps(props)\n const [cssProps, localProps] = splitCssProps(checkboxProps)\n const { children, className, ...rootProps } = localProps\n const styles = checkboxCard(variantProps)\n\n return (\n <CheckboxCardRoot\n ref={ref}\n className={cx(styles.root, css(cssProps), className)}\n {...rootProps}\n value={rootProps.value as string | undefined}\n >\n <ArkCheckbox.Control className={styles.control}>\n <ArkCheckbox.Indicator>\n <CheckIcon />\n </ArkCheckbox.Indicator>\n <ArkCheckbox.Indicator indeterminate>\n <MinusIcon />\n </ArkCheckbox.Indicator>\n </ArkCheckbox.Control>\n {children}\n <ArkCheckbox.HiddenInput />\n </CheckboxCardRoot>\n )\n})\n\nCheckboxCard.displayName = 'CheckboxCard'\n"],"names":["withProvider","withContext","createStyleContext","checkboxCard","CheckboxCardRoot","styled","ArkCheckbox","CheckboxCardTitle","CheckboxCardContent","CheckboxCardDescription","CheckboxCardImage","ark","CheckboxCard","forwardRef","props","ref","variantProps","checkboxProps","cssProps","localProps","splitCssProps","children","className","rootProps","styles","jsxs","cx","css","jsx","CheckIcon","MinusIcon"],"mappings":"0XAgBM,CAAE,aAAAA,EAAc,YAAAC,GAAgBC,EAAAA,mBAAmBC,EAAAA,aAAc,CACrE,SAAU,EACZ,CAAC,EAEKC,EAAmBJ,EAAaK,EAAAA,OAAOC,EAAAA,SAAY,IAAI,CAAC,EAEjDC,EAAoBN,EAAYI,EAAAA,OAAOC,EAAAA,SAAY,KAAK,EAAG,OAAO,EAClEE,EAAsBP,EAAYI,SAAO,KAAK,EAAG,SAAS,EAC1DI,EAA0BR,EAAYI,SAAO,GAAG,EAAG,aAAa,EAChEK,EAAoBT,EAAYI,EAAAA,OAAOM,EAAAA,IAAI,GAAG,EAAG,OAAO,EAOxDC,EAAeC,EAAAA,WAA4C,CAACC,EAAOC,IAAQ,CACtF,KAAM,CAACC,EAAcC,CAAa,EAAId,EAAAA,aAAa,kBAAkBW,CAAK,EACpE,CAACI,EAAUC,CAAU,EAAIC,EAAAA,cAAcH,CAAa,EACpD,CAAE,SAAAI,EAAU,UAAAC,EAAW,GAAGC,GAAcJ,EACxCK,EAASrB,EAAAA,aAAaa,CAAY,EAExC,OACES,EAAAA,KAACrB,EAAA,CACC,IAAAW,EACA,UAAWW,EAAAA,GAAGF,EAAO,KAAMG,EAAAA,IAAIT,CAAQ,EAAGI,CAAS,EAClD,GAAGC,EACJ,MAAOA,EAAU,MAEjB,SAAA,CAAAE,EAAAA,KAACnB,EAAAA,SAAY,QAAZ,CAAoB,UAAWkB,EAAO,QACrC,SAAA,CAAAI,MAACtB,EAAAA,SAAY,UAAZ,CACC,SAAAsB,EAAAA,IAACC,EAAAA,YAAU,EACb,EACAD,MAACtB,EAAAA,SAAY,UAAZ,CAAsB,cAAa,GAClC,SAAAsB,EAAAA,IAACE,cAAU,CAAA,CACb,CAAA,EACF,EACCT,EACDO,MAACtB,EAAAA,SAAY,YAAZ,CAAA,CAAwB,CAAA,CAAA,CAAA,CAG/B,CAAC,EAEDM,EAAa,YAAc"}
1
+ {"version":3,"file":"CheckboxCard.cjs","names":[],"sources":["../../../src/components/checkbox-card/CheckboxCard.tsx"],"sourcesContent":["import { ark, Checkbox as ArkCheckbox, type CheckboxRootProps } from '@ark-ui/react'\nimport { css, cx } from '@stokelp/styled-system/css'\nimport { splitCssProps, styled } from '@stokelp/styled-system/jsx'\nimport { checkboxCard, type CheckboxCardVariantProps } from '@stokelp/styled-system/recipes'\nimport type { Assign, JsxStyleProps } from '@stokelp/styled-system/types'\nimport { ComponentProps, forwardRef } from 'react'\nimport { createStyleContext } from '~/utils/slots'\nimport { type CheckboxProps } from '~/components/checkbox'\nimport { CheckIcon, MinusIcon } from '~/shared/assets/icons'\n\ntype StyledCheckboxRootProps = Assign<JsxStyleProps, CheckboxRootProps>\n\nexport interface CheckboxCardProps extends Omit<StyledCheckboxRootProps, 'value'>, CheckboxCardVariantProps {\n value?: string | number\n}\n\nconst { withProvider, withContext } = createStyleContext(checkboxCard, {\n dataAttr: true,\n})\n\nconst CheckboxCardRoot = withProvider(styled(ArkCheckbox.Root))\n\nexport const CheckboxCardTitle = withContext(styled(ArkCheckbox.Label), 'title')\nexport const CheckboxCardContent = withContext(styled('div'), 'content')\nexport const CheckboxCardDescription = withContext(styled('p'), 'description')\nexport const CheckboxCardImage = withContext(styled(ark.img), 'image')\n\nexport type CheckboxCardTitleProps = ComponentProps<typeof CheckboxCardTitle>\nexport type CheckboxCardContentProps = ComponentProps<typeof CheckboxCardContent>\nexport type CheckboxCardDescriptionProps = ComponentProps<typeof CheckboxCardDescription>\nexport type CheckboxCardImageProps = ComponentProps<typeof CheckboxCardImage>\n\nexport const CheckboxCard = forwardRef<HTMLLabelElement, CheckboxProps>((props, ref) => {\n const [variantProps, checkboxProps] = checkboxCard.splitVariantProps(props)\n const [cssProps, localProps] = splitCssProps(checkboxProps)\n const { children, className, ...rootProps } = localProps\n const styles = checkboxCard(variantProps)\n\n return (\n <CheckboxCardRoot\n ref={ref}\n className={cx(styles.root, css(cssProps), className)}\n {...rootProps}\n value={rootProps.value as string | undefined}\n >\n <ArkCheckbox.Control className={styles.control}>\n <ArkCheckbox.Indicator>\n <CheckIcon />\n </ArkCheckbox.Indicator>\n <ArkCheckbox.Indicator indeterminate>\n <MinusIcon />\n </ArkCheckbox.Indicator>\n </ArkCheckbox.Control>\n {children}\n <ArkCheckbox.HiddenInput />\n </CheckboxCardRoot>\n )\n})\n\nCheckboxCard.displayName = 'CheckboxCard'\n"],"mappings":"8SAgBA,GAAM,CAAE,eAAc,eAAgB,EAAA,mBAAmB,EAAA,aAAc,CACrE,SAAU,EACZ,CAAC,EAEK,EAAmB,GAAA,EAAA,EAAA,QAAoB,EAAA,SAAY,IAAI,CAAC,EAEjD,EAAoB,GAAA,EAAA,EAAA,QAAmB,EAAA,SAAY,KAAK,EAAG,OAAO,EAClE,EAAsB,GAAA,EAAA,EAAA,QAAmB,KAAK,EAAG,SAAS,EAC1D,EAA0B,GAAA,EAAA,EAAA,QAAmB,GAAG,EAAG,aAAa,EAChE,EAAoB,GAAA,EAAA,EAAA,QAAmB,EAAA,IAAI,GAAG,EAAG,OAAO,EAOxD,GAAA,EAAA,EAAA,aAA4D,EAAO,IAAQ,CACtF,GAAM,CAAC,EAAc,GAAiB,EAAA,aAAa,kBAAkB,CAAK,EACpE,CAAC,EAAU,IAAA,EAAA,EAAA,eAA4B,CAAa,EACpD,CAAE,WAAU,YAAW,GAAG,GAAc,EACxC,GAAA,EAAA,EAAA,cAAsB,CAAY,EAExC,OACE,EAAA,EAAA,MAAC,EAAD,CACO,MACL,WAAA,EAAA,EAAA,IAAc,EAAO,MAAA,EAAA,EAAA,KAAU,CAAQ,EAAG,CAAS,EACnD,GAAI,EACJ,MAAO,EAAU,eAJnB,EAME,EAAA,EAAA,MAAC,EAAA,SAAY,QAAb,CAAqB,UAAW,EAAO,iBAAvC,EACE,EAAA,EAAA,KAAC,EAAA,SAAY,UAAb,CAAA,UACE,EAAA,EAAA,KAAC,EAAA,UAAD,CAAY,CAAA,CACS,CAAA,GACvB,EAAA,EAAA,KAAC,EAAA,SAAY,UAAb,CAAuB,cAAA,aACrB,EAAA,EAAA,KAAC,EAAA,UAAD,CAAY,CAAA,CACS,CAAA,CACJ,IACpB,GACD,EAAA,EAAA,KAAC,EAAA,SAAY,YAAb,CAA0B,CAAA,CACV,GAEtB,CAAC,EAED,EAAa,YAAc"}
@@ -8,8 +8,8 @@ export interface CheckboxCardProps extends Omit<StyledCheckboxRootProps, 'value'
8
8
  value?: string | number;
9
9
  }
10
10
  export declare const CheckboxCardTitle: StyledComponent<ForwardRefExoticComponent<ArkCheckbox.LabelProps & RefAttributes<HTMLSpanElement>>, {}>;
11
- export declare const CheckboxCardContent: StyledComponent<"div", {}>;
12
- export declare const CheckboxCardDescription: StyledComponent<"p", {}>;
11
+ export declare const CheckboxCardContent: StyledComponent<string, {}>;
12
+ export declare const CheckboxCardDescription: StyledComponent<string, {}>;
13
13
  export declare const CheckboxCardImage: StyledComponent<ForwardRefExoticComponent< ClassAttributes<HTMLImageElement> & ImgHTMLAttributes<HTMLImageElement> & PolymorphicProps>, {}>;
14
14
  export type CheckboxCardTitleProps = ComponentProps<typeof CheckboxCardTitle>;
15
15
  export type CheckboxCardContentProps = ComponentProps<typeof CheckboxCardContent>;
@@ -1,40 +1,35 @@
1
1
  "use client";
2
- import { jsxs as i, jsx as t } from "react/jsx-runtime";
3
- import { ark as k, Checkbox as o } from "@ark-ui/react";
4
- import { cx as b, css as f } from "@stokelp/styled-system/css";
5
- import { styled as r, splitCssProps as u } from "@stokelp/styled-system/jsx";
6
- import { checkboxCard as c } from "@stokelp/styled-system/recipes";
7
- import { forwardRef as P } from "react";
8
- import { createStyleContext as I } from "../../utils/slots.js";
9
- import { CheckIcon as v, MinusIcon as y } from "../../shared/assets/icons.js";
10
- const { withProvider: N, withContext: e } = I(c, {
11
- dataAttr: !0
12
- }), g = N(r(o.Root)), T = e(r(o.Label), "title"), V = e(r("div"), "content"), q = e(r("p"), "description"), z = e(r(k.img), "image"), w = P((a, d) => {
13
- const [l, m] = c.splitVariantProps(a), [p, C] = u(m), { children: h, className: x, ...s } = C, n = c(l);
14
- return /* @__PURE__ */ i(
15
- g,
16
- {
17
- ref: d,
18
- className: b(n.root, f(p), x),
19
- ...s,
20
- value: s.value,
21
- children: [
22
- /* @__PURE__ */ i(o.Control, { className: n.control, children: [
23
- /* @__PURE__ */ t(o.Indicator, { children: /* @__PURE__ */ t(v, {}) }),
24
- /* @__PURE__ */ t(o.Indicator, { indeterminate: !0, children: /* @__PURE__ */ t(y, {}) })
25
- ] }),
26
- h,
27
- /* @__PURE__ */ t(o.HiddenInput, {})
28
- ]
29
- }
30
- );
2
+ import { createStyleContext as e } from "../../utils/slots.js";
3
+ import { CheckIcon as t, MinusIcon as n } from "../../shared/assets/icons.js";
4
+ import { Checkbox as r, ark as i } from "@ark-ui/react";
5
+ import { splitCssProps as a, styled as o } from "@stokelp/styled-system/jsx";
6
+ import { checkboxCard as s } from "@stokelp/styled-system/recipes";
7
+ import { forwardRef as c } from "react";
8
+ import { jsx as l, jsxs as u } from "react/jsx-runtime";
9
+ import { css as d, cx as f } from "@stokelp/styled-system/css";
10
+ //#region src/components/checkbox-card/CheckboxCard.tsx
11
+ var { withProvider: p, withContext: m } = e(s, { dataAttr: !0 }), h = p(o(r.Root)), g = m(o(r.Label), "title"), _ = m(o("div"), "content"), v = m(o("p"), "description"), y = m(o(i.img), "image"), b = c((e, i) => {
12
+ let [o, c] = s.splitVariantProps(e), [p, m] = a(c), { children: g, className: _, ...v } = m, y = s(o);
13
+ return /* @__PURE__ */ u(h, {
14
+ ref: i,
15
+ className: f(y.root, d(p), _),
16
+ ...v,
17
+ value: v.value,
18
+ children: [
19
+ /* @__PURE__ */ u(r.Control, {
20
+ className: y.control,
21
+ children: [/* @__PURE__ */ l(r.Indicator, { children: /* @__PURE__ */ l(t, {}) }), /* @__PURE__ */ l(r.Indicator, {
22
+ indeterminate: !0,
23
+ children: /* @__PURE__ */ l(n, {})
24
+ })]
25
+ }),
26
+ g,
27
+ /* @__PURE__ */ l(r.HiddenInput, {})
28
+ ]
29
+ });
31
30
  });
32
- w.displayName = "CheckboxCard";
33
- export {
34
- w as CheckboxCard,
35
- V as CheckboxCardContent,
36
- q as CheckboxCardDescription,
37
- z as CheckboxCardImage,
38
- T as CheckboxCardTitle
39
- };
40
- //# sourceMappingURL=CheckboxCard.js.map
31
+ b.displayName = "CheckboxCard";
32
+ //#endregion
33
+ export { b as CheckboxCard, _ as CheckboxCardContent, v as CheckboxCardDescription, y as CheckboxCardImage, g as CheckboxCardTitle };
34
+
35
+ //# sourceMappingURL=CheckboxCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CheckboxCard.js","sources":["../../../src/components/checkbox-card/CheckboxCard.tsx"],"sourcesContent":["import { ark, Checkbox as ArkCheckbox, type CheckboxRootProps } from '@ark-ui/react'\nimport { css, cx } from '@stokelp/styled-system/css'\nimport { splitCssProps, styled } from '@stokelp/styled-system/jsx'\nimport { checkboxCard, type CheckboxCardVariantProps } from '@stokelp/styled-system/recipes'\nimport type { Assign, JsxStyleProps } from '@stokelp/styled-system/types'\nimport { ComponentProps, forwardRef } from 'react'\nimport { createStyleContext } from '~/utils/slots'\nimport { type CheckboxProps } from '~/components/checkbox'\nimport { CheckIcon, MinusIcon } from '~/shared/assets/icons'\n\ntype StyledCheckboxRootProps = Assign<JsxStyleProps, CheckboxRootProps>\n\nexport interface CheckboxCardProps extends Omit<StyledCheckboxRootProps, 'value'>, CheckboxCardVariantProps {\n value?: string | number\n}\n\nconst { withProvider, withContext } = createStyleContext(checkboxCard, {\n dataAttr: true,\n})\n\nconst CheckboxCardRoot = withProvider(styled(ArkCheckbox.Root))\n\nexport const CheckboxCardTitle = withContext(styled(ArkCheckbox.Label), 'title')\nexport const CheckboxCardContent = withContext(styled('div'), 'content')\nexport const CheckboxCardDescription = withContext(styled('p'), 'description')\nexport const CheckboxCardImage = withContext(styled(ark.img), 'image')\n\nexport type CheckboxCardTitleProps = ComponentProps<typeof CheckboxCardTitle>\nexport type CheckboxCardContentProps = ComponentProps<typeof CheckboxCardContent>\nexport type CheckboxCardDescriptionProps = ComponentProps<typeof CheckboxCardDescription>\nexport type CheckboxCardImageProps = ComponentProps<typeof CheckboxCardImage>\n\nexport const CheckboxCard = forwardRef<HTMLLabelElement, CheckboxProps>((props, ref) => {\n const [variantProps, checkboxProps] = checkboxCard.splitVariantProps(props)\n const [cssProps, localProps] = splitCssProps(checkboxProps)\n const { children, className, ...rootProps } = localProps\n const styles = checkboxCard(variantProps)\n\n return (\n <CheckboxCardRoot\n ref={ref}\n className={cx(styles.root, css(cssProps), className)}\n {...rootProps}\n value={rootProps.value as string | undefined}\n >\n <ArkCheckbox.Control className={styles.control}>\n <ArkCheckbox.Indicator>\n <CheckIcon />\n </ArkCheckbox.Indicator>\n <ArkCheckbox.Indicator indeterminate>\n <MinusIcon />\n </ArkCheckbox.Indicator>\n </ArkCheckbox.Control>\n {children}\n <ArkCheckbox.HiddenInput />\n </CheckboxCardRoot>\n )\n})\n\nCheckboxCard.displayName = 'CheckboxCard'\n"],"names":["withProvider","withContext","createStyleContext","checkboxCard","CheckboxCardRoot","styled","ArkCheckbox","CheckboxCardTitle","CheckboxCardContent","CheckboxCardDescription","CheckboxCardImage","ark","CheckboxCard","forwardRef","props","ref","variantProps","checkboxProps","cssProps","localProps","splitCssProps","children","className","rootProps","styles","jsxs","cx","css","jsx","CheckIcon","MinusIcon"],"mappings":";;;;;;;;;AAgBA,MAAM,EAAE,cAAAA,GAAc,aAAAC,MAAgBC,EAAmBC,GAAc;AAAA,EACrE,UAAU;AACZ,CAAC,GAEKC,IAAmBJ,EAAaK,EAAOC,EAAY,IAAI,CAAC,GAEjDC,IAAoBN,EAAYI,EAAOC,EAAY,KAAK,GAAG,OAAO,GAClEE,IAAsBP,EAAYI,EAAO,KAAK,GAAG,SAAS,GAC1DI,IAA0BR,EAAYI,EAAO,GAAG,GAAG,aAAa,GAChEK,IAAoBT,EAAYI,EAAOM,EAAI,GAAG,GAAG,OAAO,GAOxDC,IAAeC,EAA4C,CAACC,GAAOC,MAAQ;AACtF,QAAM,CAACC,GAAcC,CAAa,IAAId,EAAa,kBAAkBW,CAAK,GACpE,CAACI,GAAUC,CAAU,IAAIC,EAAcH,CAAa,GACpD,EAAE,UAAAI,GAAU,WAAAC,GAAW,GAAGC,MAAcJ,GACxCK,IAASrB,EAAaa,CAAY;AAExC,SACE,gBAAAS;AAAA,IAACrB;AAAA,IAAA;AAAA,MACC,KAAAW;AAAA,MACA,WAAWW,EAAGF,EAAO,MAAMG,EAAIT,CAAQ,GAAGI,CAAS;AAAA,MAClD,GAAGC;AAAA,MACJ,OAAOA,EAAU;AAAA,MAEjB,UAAA;AAAA,QAAA,gBAAAE,EAACnB,EAAY,SAAZ,EAAoB,WAAWkB,EAAO,SACrC,UAAA;AAAA,UAAA,gBAAAI,EAACtB,EAAY,WAAZ,EACC,UAAA,gBAAAsB,EAACC,KAAU,GACb;AAAA,UACA,gBAAAD,EAACtB,EAAY,WAAZ,EAAsB,eAAa,IAClC,UAAA,gBAAAsB,EAACE,KAAU,EAAA,CACb;AAAA,QAAA,GACF;AAAA,QACCT;AAAA,QACD,gBAAAO,EAACtB,EAAY,aAAZ,CAAA,CAAwB;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAG/B,CAAC;AAEDM,EAAa,cAAc;"}
1
+ {"version":3,"file":"CheckboxCard.js","names":[],"sources":["../../../src/components/checkbox-card/CheckboxCard.tsx"],"sourcesContent":["import { ark, Checkbox as ArkCheckbox, type CheckboxRootProps } from '@ark-ui/react'\nimport { css, cx } from '@stokelp/styled-system/css'\nimport { splitCssProps, styled } from '@stokelp/styled-system/jsx'\nimport { checkboxCard, type CheckboxCardVariantProps } from '@stokelp/styled-system/recipes'\nimport type { Assign, JsxStyleProps } from '@stokelp/styled-system/types'\nimport { ComponentProps, forwardRef } from 'react'\nimport { createStyleContext } from '~/utils/slots'\nimport { type CheckboxProps } from '~/components/checkbox'\nimport { CheckIcon, MinusIcon } from '~/shared/assets/icons'\n\ntype StyledCheckboxRootProps = Assign<JsxStyleProps, CheckboxRootProps>\n\nexport interface CheckboxCardProps extends Omit<StyledCheckboxRootProps, 'value'>, CheckboxCardVariantProps {\n value?: string | number\n}\n\nconst { withProvider, withContext } = createStyleContext(checkboxCard, {\n dataAttr: true,\n})\n\nconst CheckboxCardRoot = withProvider(styled(ArkCheckbox.Root))\n\nexport const CheckboxCardTitle = withContext(styled(ArkCheckbox.Label), 'title')\nexport const CheckboxCardContent = withContext(styled('div'), 'content')\nexport const CheckboxCardDescription = withContext(styled('p'), 'description')\nexport const CheckboxCardImage = withContext(styled(ark.img), 'image')\n\nexport type CheckboxCardTitleProps = ComponentProps<typeof CheckboxCardTitle>\nexport type CheckboxCardContentProps = ComponentProps<typeof CheckboxCardContent>\nexport type CheckboxCardDescriptionProps = ComponentProps<typeof CheckboxCardDescription>\nexport type CheckboxCardImageProps = ComponentProps<typeof CheckboxCardImage>\n\nexport const CheckboxCard = forwardRef<HTMLLabelElement, CheckboxProps>((props, ref) => {\n const [variantProps, checkboxProps] = checkboxCard.splitVariantProps(props)\n const [cssProps, localProps] = splitCssProps(checkboxProps)\n const { children, className, ...rootProps } = localProps\n const styles = checkboxCard(variantProps)\n\n return (\n <CheckboxCardRoot\n ref={ref}\n className={cx(styles.root, css(cssProps), className)}\n {...rootProps}\n value={rootProps.value as string | undefined}\n >\n <ArkCheckbox.Control className={styles.control}>\n <ArkCheckbox.Indicator>\n <CheckIcon />\n </ArkCheckbox.Indicator>\n <ArkCheckbox.Indicator indeterminate>\n <MinusIcon />\n </ArkCheckbox.Indicator>\n </ArkCheckbox.Control>\n {children}\n <ArkCheckbox.HiddenInput />\n </CheckboxCardRoot>\n )\n})\n\nCheckboxCard.displayName = 'CheckboxCard'\n"],"mappings":";;;;;;;;;;AAgBA,IAAM,EAAE,iBAAc,mBAAgB,EAAmB,GAAc,EACrE,UAAU,GACZ,CAAC,GAEK,IAAmB,EAAa,EAAO,EAAY,IAAI,CAAC,GAEjD,IAAoB,EAAY,EAAO,EAAY,KAAK,GAAG,OAAO,GAClE,IAAsB,EAAY,EAAO,KAAK,GAAG,SAAS,GAC1D,IAA0B,EAAY,EAAO,GAAG,GAAG,aAAa,GAChE,IAAoB,EAAY,EAAO,EAAI,GAAG,GAAG,OAAO,GAOxD,IAAe,GAA6C,GAAO,MAAQ;CACtF,IAAM,CAAC,GAAc,KAAiB,EAAa,kBAAkB,CAAK,GACpE,CAAC,GAAU,KAAc,EAAc,CAAa,GACpD,EAAE,aAAU,cAAW,GAAG,MAAc,GACxC,IAAS,EAAa,CAAY;CAExC,OACE,kBAAC,GAAD;EACO;EACL,WAAW,EAAG,EAAO,MAAM,EAAI,CAAQ,GAAG,CAAS;EACnD,GAAI;EACJ,OAAO,EAAU;YAJnB;GAME,kBAAC,EAAY,SAAb;IAAqB,WAAW,EAAO;cAAvC,CACE,kBAAC,EAAY,WAAb,EAAA,UACE,kBAAC,GAAD,CAAY,CAAA,EACS,CAAA,GACvB,kBAAC,EAAY,WAAb;KAAuB,eAAA;eACrB,kBAAC,GAAD,CAAY,CAAA;IACS,CAAA,CACJ;;GACpB;GACD,kBAAC,EAAY,aAAb,CAA0B,CAAA;EACV;;AAEtB,CAAC;AAED,EAAa,cAAc"}
@@ -1,2 +1,2 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CheckboxCard.cjs");exports.Content=e.CheckboxCardContent;exports.Description=e.CheckboxCardDescription;exports.Image=e.CheckboxCardImage;exports.Root=e.CheckboxCard;exports.Title=e.CheckboxCardTitle;
2
- //# sourceMappingURL=namespace.cjs.map
1
+ "use client";const e=require("../../_virtual/_rolldown/runtime.cjs"),t=require("./CheckboxCard.cjs");var n=e.__exportAll({Content:()=>t.CheckboxCardContent,Description:()=>t.CheckboxCardDescription,Image:()=>t.CheckboxCardImage,Root:()=>t.CheckboxCard,Title:()=>t.CheckboxCardTitle});Object.defineProperty(exports,"namespace_exports",{enumerable:!0,get:function(){return n}});
2
+ //# sourceMappingURL=namespace.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"namespace.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"namespace.cjs","names":[],"sources":["../../../src/components/checkbox-card/namespace.ts"],"sourcesContent":["export {\n CheckboxCard as Root,\n CheckboxCardContent as Content,\n CheckboxCardTitle as Title,\n CheckboxCardDescription as Description,\n CheckboxCardImage as Image,\n} from './CheckboxCard'\n\nexport type {\n CheckboxCardProps as RootProps,\n CheckboxCardContentProps as ContentProps,\n CheckboxCardTitleProps as TitleProps,\n CheckboxCardDescriptionProps as DescriptionProps,\n CheckboxCardImageProps as ImageProps,\n} from './CheckboxCard'\n"],"mappings":""}
@@ -1,10 +1,15 @@
1
1
  "use client";
2
- import { CheckboxCardContent as a, CheckboxCardDescription as C, CheckboxCardImage as t, CheckboxCard as r, CheckboxCardTitle as c } from "./CheckboxCard.js";
3
- export {
4
- a as Content,
5
- C as Description,
6
- t as Image,
7
- r as Root,
8
- c as Title
9
- };
10
- //# sourceMappingURL=namespace.js.map
2
+ import { __exportAll as e } from "../../_virtual/_rolldown/runtime.js";
3
+ import { CheckboxCard as t, CheckboxCardContent as n, CheckboxCardDescription as r, CheckboxCardImage as i, CheckboxCardTitle as a } from "./CheckboxCard.js";
4
+ //#region src/components/checkbox-card/namespace.ts
5
+ var o = /* @__PURE__ */ e({
6
+ Content: () => n,
7
+ Description: () => r,
8
+ Image: () => i,
9
+ Root: () => t,
10
+ Title: () => a
11
+ });
12
+ //#endregion
13
+ export { o as namespace_exports };
14
+
15
+ //# sourceMappingURL=namespace.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"namespace.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
1
+ {"version":3,"file":"namespace.js","names":[],"sources":["../../../src/components/checkbox-card/namespace.ts"],"sourcesContent":["export {\n CheckboxCard as Root,\n CheckboxCardContent as Content,\n CheckboxCardTitle as Title,\n CheckboxCardDescription as Description,\n CheckboxCardImage as Image,\n} from './CheckboxCard'\n\nexport type {\n CheckboxCardProps as RootProps,\n CheckboxCardContentProps as ContentProps,\n CheckboxCardTitleProps as TitleProps,\n CheckboxCardDescriptionProps as DescriptionProps,\n CheckboxCardImageProps as ImageProps,\n} from './CheckboxCard'\n"],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),t=require("@ark-ui/react"),e=require("@stokelp/styled-system/jsx"),s=require("@stokelp/styled-system/recipes"),o=require("../../utils/slots.cjs"),{withProvider:n,withContext:r}=o.createStyleContext(s.chip),l=n(e.styled(t.ark.span),"root"),a=r(e.styled("img"),"avatar"),c=r(e.styled(t.ark.span),"body"),h=r(e.styled(t.ark.button),"clearTrigger",{defaultProps:{type:"button",children:i.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:i.jsx("path",{d:"M11.0833 3.73917L10.2608 2.91667L6.99996 6.17751L3.73913 2.91667L2.91663 3.73917L6.17746 7L2.91663 10.2608L3.73913 11.0833L6.99996 7.8225L10.2608 11.0833L11.0833 10.2608L7.82246 7L11.0833 3.73917Z",fill:"currentColor"})})}});exports.Chip=l;exports.ChipAvatar=a;exports.ChipClearTrigger=h;exports.ChipLabel=c;
2
- //# sourceMappingURL=Chip.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/jsx-runtime");var{withProvider:a,withContext:o}=e.createStyleContext(r.chip),s=a((0,n.styled)(t.ark.span),`root`),c=o((0,n.styled)(`img`),`avatar`),l=o((0,n.styled)(t.ark.span),`body`),u=o((0,n.styled)(t.ark.button),`clearTrigger`,{defaultProps:{type:`button`,children:(0,i.jsx)(`svg`,{width:`14`,height:`14`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:(0,i.jsx)(`path`,{d:`M11.0833 3.73917L10.2608 2.91667L6.99996 6.17751L3.73913 2.91667L2.91663 3.73917L6.17746 7L2.91663 10.2608L3.73913 11.0833L6.99996 7.8225L10.2608 11.0833L11.0833 10.2608L7.82246 7L11.0833 3.73917Z`,fill:`currentColor`})})}});exports.Chip=s,exports.ChipAvatar=c,exports.ChipClearTrigger=u,exports.ChipLabel=l;
2
+ //# sourceMappingURL=Chip.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Chip.cjs","sources":["../../../src/components/chip/Chip.tsx"],"sourcesContent":["import { ark } from '@ark-ui/react'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { chip } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots'\nimport { type ComponentProps } from 'react'\n\nconst { withProvider, withContext } = createStyleContext(chip)\n\nexport const Chip = withProvider(styled(ark.span), 'root')\nexport const ChipAvatar = withContext(styled('img'), 'avatar')\nexport const ChipLabel = withContext(styled(ark.span), 'body')\nexport const ChipClearTrigger = withContext(styled(ark.button), 'clearTrigger', {\n defaultProps: {\n type: 'button',\n children: (\n <svg width=\"14\" height=\"14\" viewBox=\"0 0 14 14\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M11.0833 3.73917L10.2608 2.91667L6.99996 6.17751L3.73913 2.91667L2.91663 3.73917L6.17746 7L2.91663 10.2608L3.73913 11.0833L6.99996 7.8225L10.2608 11.0833L11.0833 10.2608L7.82246 7L11.0833 3.73917Z\"\n fill=\"currentColor\"\n />\n </svg>\n ),\n },\n})\n\nexport interface ChipProps extends ComponentProps<typeof Chip> {}\nexport interface ChipAvatarProps extends ComponentProps<typeof ChipAvatar> {}\nexport interface ChipLabelProps extends ComponentProps<typeof ChipLabel> {}\nexport interface ChipClearTriggerProps extends ComponentProps<typeof ChipClearTrigger> {}\n"],"names":["withProvider","withContext","createStyleContext","chip","Chip","styled","ark","ChipAvatar","ChipLabel","ChipClearTrigger","jsx"],"mappings":"oRAMM,CAAE,aAAAA,EAAc,YAAAC,GAAgBC,EAAAA,mBAAmBC,EAAAA,IAAI,EAEhDC,EAAOJ,EAAaK,EAAAA,OAAOC,EAAAA,IAAI,IAAI,EAAG,MAAM,EAC5CC,EAAaN,EAAYI,SAAO,KAAK,EAAG,QAAQ,EAChDG,EAAYP,EAAYI,EAAAA,OAAOC,EAAAA,IAAI,IAAI,EAAG,MAAM,EAChDG,EAAmBR,EAAYI,EAAAA,OAAOC,EAAAA,IAAI,MAAM,EAAG,eAAgB,CAC9E,aAAc,CACZ,KAAM,SACN,SACEI,EAAAA,IAAC,MAAA,CAAI,MAAM,KAAK,OAAO,KAAK,QAAQ,YAAY,KAAK,OAAO,MAAM,6BAChE,SAAAA,EAAAA,IAAC,OAAA,CACC,EAAE,uMACF,KAAK,cAAA,CAAA,CACP,CACF,CAAA,CAGN,CAAC"}
1
+ {"version":3,"file":"Chip.cjs","names":[],"sources":["../../../src/components/chip/Chip.tsx"],"sourcesContent":["import { ark } from '@ark-ui/react'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { chip } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots'\nimport { type ComponentProps } from 'react'\n\nconst { withProvider, withContext } = createStyleContext(chip)\n\nexport const Chip = withProvider(styled(ark.span), 'root')\nexport const ChipAvatar = withContext(styled('img'), 'avatar')\nexport const ChipLabel = withContext(styled(ark.span), 'body')\nexport const ChipClearTrigger = withContext(styled(ark.button), 'clearTrigger', {\n defaultProps: {\n type: 'button',\n children: (\n <svg width=\"14\" height=\"14\" viewBox=\"0 0 14 14\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M11.0833 3.73917L10.2608 2.91667L6.99996 6.17751L3.73913 2.91667L2.91663 3.73917L6.17746 7L2.91663 10.2608L3.73913 11.0833L6.99996 7.8225L10.2608 11.0833L11.0833 10.2608L7.82246 7L11.0833 3.73917Z\"\n fill=\"currentColor\"\n />\n </svg>\n ),\n },\n})\n\nexport interface ChipProps extends ComponentProps<typeof Chip> {}\nexport interface ChipAvatarProps extends ComponentProps<typeof ChipAvatar> {}\nexport interface ChipLabelProps extends ComponentProps<typeof ChipLabel> {}\nexport interface ChipClearTriggerProps extends ComponentProps<typeof ChipClearTrigger> {}\n"],"mappings":"wMAMA,GAAM,CAAE,eAAc,eAAgB,EAAA,mBAAmB,EAAA,IAAI,EAEhD,EAAO,GAAA,EAAA,EAAA,QAAoB,EAAA,IAAI,IAAI,EAAG,MAAM,EAC5C,EAAa,GAAA,EAAA,EAAA,QAAmB,KAAK,EAAG,QAAQ,EAChD,EAAY,GAAA,EAAA,EAAA,QAAmB,EAAA,IAAI,IAAI,EAAG,MAAM,EAChD,EAAmB,GAAA,EAAA,EAAA,QAAmB,EAAA,IAAI,MAAM,EAAG,eAAgB,CAC9E,aAAc,CACZ,KAAM,SACN,UACE,EAAA,EAAA,KAAC,MAAD,CAAK,MAAM,KAAK,OAAO,KAAK,QAAQ,YAAY,KAAK,OAAO,MAAM,uCAChE,EAAA,EAAA,KAAC,OAAD,CACE,EAAE,uMACF,KAAK,cACN,CAAA,CACE,CAAA,CAET,CACF,CAAC"}
@@ -4,7 +4,7 @@ import { StyledComponent } from '@stokelp/styled-system/types';
4
4
  import { PolymorphicProps } from '@ark-ui/react';
5
5
  import { ChipRecipe } from '@stokelp/styled-system/recipes';
6
6
  export declare const Chip: ComponentVariants<StyledComponent<ForwardRefExoticComponent< ClassAttributes<HTMLSpanElement> & HTMLAttributes<HTMLSpanElement> & PolymorphicProps>, {}>, ChipRecipe>;
7
- export declare const ChipAvatar: StyledComponent<"img", {}>;
7
+ export declare const ChipAvatar: StyledComponent<string, {}>;
8
8
  export declare const ChipLabel: StyledComponent<ForwardRefExoticComponent< ClassAttributes<HTMLSpanElement> & HTMLAttributes<HTMLSpanElement> & PolymorphicProps>, {}>;
9
9
  export declare const ChipClearTrigger: StyledComponent<ForwardRefExoticComponent< ClassAttributes<HTMLButtonElement> & ButtonHTMLAttributes<HTMLButtonElement> & PolymorphicProps>, {}>;
10
10
  export interface ChipProps extends ComponentProps<typeof Chip> {
@@ -1,25 +1,25 @@
1
1
  "use client";
2
+ import { createStyleContext as e } from "../../utils/slots.js";
3
+ import { ark as t } from "@ark-ui/react";
4
+ import { styled as n } from "@stokelp/styled-system/jsx";
5
+ import { chip as r } from "@stokelp/styled-system/recipes";
2
6
  import { jsx as i } from "react/jsx-runtime";
3
- import { ark as r } from "@ark-ui/react";
4
- import { styled as t } from "@stokelp/styled-system/jsx";
5
- import { chip as e } from "@stokelp/styled-system/recipes";
6
- import { createStyleContext as n } from "../../utils/slots.js";
7
- const { withProvider: p, withContext: o } = n(e), c = p(t(r.span), "root"), m = o(t("img"), "avatar"), g = o(t(r.span), "body"), d = o(t(r.button), "clearTrigger", {
8
- defaultProps: {
9
- type: "button",
10
- children: /* @__PURE__ */ i("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ i(
11
- "path",
12
- {
13
- d: "M11.0833 3.73917L10.2608 2.91667L6.99996 6.17751L3.73913 2.91667L2.91663 3.73917L6.17746 7L2.91663 10.2608L3.73913 11.0833L6.99996 7.8225L10.2608 11.0833L11.0833 10.2608L7.82246 7L11.0833 3.73917Z",
14
- fill: "currentColor"
15
- }
16
- ) })
17
- }
18
- });
19
- export {
20
- c as Chip,
21
- m as ChipAvatar,
22
- d as ChipClearTrigger,
23
- g as ChipLabel
24
- };
25
- //# sourceMappingURL=Chip.js.map
7
+ //#region src/components/chip/Chip.tsx
8
+ var { withProvider: a, withContext: o } = e(r), s = a(n(t.span), "root"), c = o(n("img"), "avatar"), l = o(n(t.span), "body"), u = o(n(t.button), "clearTrigger", { defaultProps: {
9
+ type: "button",
10
+ children: /* @__PURE__ */ i("svg", {
11
+ width: "14",
12
+ height: "14",
13
+ viewBox: "0 0 14 14",
14
+ fill: "none",
15
+ xmlns: "http://www.w3.org/2000/svg",
16
+ children: /* @__PURE__ */ i("path", {
17
+ d: "M11.0833 3.73917L10.2608 2.91667L6.99996 6.17751L3.73913 2.91667L2.91663 3.73917L6.17746 7L2.91663 10.2608L3.73913 11.0833L6.99996 7.8225L10.2608 11.0833L11.0833 10.2608L7.82246 7L11.0833 3.73917Z",
18
+ fill: "currentColor"
19
+ })
20
+ })
21
+ } });
22
+ //#endregion
23
+ export { s as Chip, c as ChipAvatar, u as ChipClearTrigger, l as ChipLabel };
24
+
25
+ //# sourceMappingURL=Chip.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Chip.js","sources":["../../../src/components/chip/Chip.tsx"],"sourcesContent":["import { ark } from '@ark-ui/react'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { chip } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots'\nimport { type ComponentProps } from 'react'\n\nconst { withProvider, withContext } = createStyleContext(chip)\n\nexport const Chip = withProvider(styled(ark.span), 'root')\nexport const ChipAvatar = withContext(styled('img'), 'avatar')\nexport const ChipLabel = withContext(styled(ark.span), 'body')\nexport const ChipClearTrigger = withContext(styled(ark.button), 'clearTrigger', {\n defaultProps: {\n type: 'button',\n children: (\n <svg width=\"14\" height=\"14\" viewBox=\"0 0 14 14\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M11.0833 3.73917L10.2608 2.91667L6.99996 6.17751L3.73913 2.91667L2.91663 3.73917L6.17746 7L2.91663 10.2608L3.73913 11.0833L6.99996 7.8225L10.2608 11.0833L11.0833 10.2608L7.82246 7L11.0833 3.73917Z\"\n fill=\"currentColor\"\n />\n </svg>\n ),\n },\n})\n\nexport interface ChipProps extends ComponentProps<typeof Chip> {}\nexport interface ChipAvatarProps extends ComponentProps<typeof ChipAvatar> {}\nexport interface ChipLabelProps extends ComponentProps<typeof ChipLabel> {}\nexport interface ChipClearTriggerProps extends ComponentProps<typeof ChipClearTrigger> {}\n"],"names":["withProvider","withContext","createStyleContext","chip","Chip","styled","ark","ChipAvatar","ChipLabel","ChipClearTrigger","jsx"],"mappings":";;;;;;AAMA,MAAM,EAAE,cAAAA,GAAc,aAAAC,MAAgBC,EAAmBC,CAAI,GAEhDC,IAAOJ,EAAaK,EAAOC,EAAI,IAAI,GAAG,MAAM,GAC5CC,IAAaN,EAAYI,EAAO,KAAK,GAAG,QAAQ,GAChDG,IAAYP,EAAYI,EAAOC,EAAI,IAAI,GAAG,MAAM,GAChDG,IAAmBR,EAAYI,EAAOC,EAAI,MAAM,GAAG,gBAAgB;AAAA,EAC9E,cAAc;AAAA,IACZ,MAAM;AAAA,IACN,UACE,gBAAAI,EAAC,OAAA,EAAI,OAAM,MAAK,QAAO,MAAK,SAAQ,aAAY,MAAK,QAAO,OAAM,8BAChE,UAAA,gBAAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,GAAE;AAAA,QACF,MAAK;AAAA,MAAA;AAAA,IAAA,EACP,CACF;AAAA,EAAA;AAGN,CAAC;"}
1
+ {"version":3,"file":"Chip.js","names":[],"sources":["../../../src/components/chip/Chip.tsx"],"sourcesContent":["import { ark } from '@ark-ui/react'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { chip } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots'\nimport { type ComponentProps } from 'react'\n\nconst { withProvider, withContext } = createStyleContext(chip)\n\nexport const Chip = withProvider(styled(ark.span), 'root')\nexport const ChipAvatar = withContext(styled('img'), 'avatar')\nexport const ChipLabel = withContext(styled(ark.span), 'body')\nexport const ChipClearTrigger = withContext(styled(ark.button), 'clearTrigger', {\n defaultProps: {\n type: 'button',\n children: (\n <svg width=\"14\" height=\"14\" viewBox=\"0 0 14 14\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M11.0833 3.73917L10.2608 2.91667L6.99996 6.17751L3.73913 2.91667L2.91663 3.73917L6.17746 7L2.91663 10.2608L3.73913 11.0833L6.99996 7.8225L10.2608 11.0833L11.0833 10.2608L7.82246 7L11.0833 3.73917Z\"\n fill=\"currentColor\"\n />\n </svg>\n ),\n },\n})\n\nexport interface ChipProps extends ComponentProps<typeof Chip> {}\nexport interface ChipAvatarProps extends ComponentProps<typeof ChipAvatar> {}\nexport interface ChipLabelProps extends ComponentProps<typeof ChipLabel> {}\nexport interface ChipClearTriggerProps extends ComponentProps<typeof ChipClearTrigger> {}\n"],"mappings":";;;;;;;AAMA,IAAM,EAAE,iBAAc,mBAAgB,EAAmB,CAAI,GAEhD,IAAO,EAAa,EAAO,EAAI,IAAI,GAAG,MAAM,GAC5C,IAAa,EAAY,EAAO,KAAK,GAAG,QAAQ,GAChD,IAAY,EAAY,EAAO,EAAI,IAAI,GAAG,MAAM,GAChD,IAAmB,EAAY,EAAO,EAAI,MAAM,GAAG,gBAAgB,EAC9E,cAAc;CACZ,MAAM;CACN,UACE,kBAAC,OAAD;EAAK,OAAM;EAAK,QAAO;EAAK,SAAQ;EAAY,MAAK;EAAO,OAAM;YAChE,kBAAC,QAAD;GACE,GAAE;GACF,MAAK;EACN,CAAA;CACE,CAAA;AAET,EACF,CAAC"}
@@ -1,2 +1,2 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@ark-ui/react"),r=require("@stokelp/styled-system/recipes"),t=require("@stokelp/styled-system/jsx"),s=require("../../utils/slots.cjs"),{withProvider:l,withContext:o}=s.createStyleContext(r.collapsible),n=l(t.styled(e.Collapsible.Root),"root"),i=o(t.styled(e.Collapsible.Content),"content"),c=o(t.styled(e.Collapsible.Trigger),"trigger");exports.Content=i;exports.Root=n;exports.Trigger=c;
2
- //# sourceMappingURL=styled.cjs.map
1
+ "use client";const e=require("../../_virtual/_rolldown/runtime.cjs"),t=require("../../utils/slots.cjs");let n=require("@ark-ui/react"),r=require("@stokelp/styled-system/jsx"),i=require("@stokelp/styled-system/recipes");var a=e.__exportAll({Content:()=>l,Root:()=>c,Trigger:()=>u}),{withProvider:o,withContext:s}=t.createStyleContext(i.collapsible),c=o((0,r.styled)(n.Collapsible.Root),`root`),l=s((0,r.styled)(n.Collapsible.Content),`content`),u=s((0,r.styled)(n.Collapsible.Trigger),`trigger`);Object.defineProperty(exports,"styled_exports",{enumerable:!0,get:function(){return a}});
2
+ //# sourceMappingURL=styled.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"styled.cjs","sources":["../../../src/components/collapsible/styled.ts"],"sourcesContent":["import { Collapsible as ArkCollapsible } from '@ark-ui/react'\nimport { collapsible } from '@stokelp/styled-system/recipes'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { createStyleContext } from '~/utils/slots'\nimport { ComponentProps } from 'react'\n\nconst { withProvider, withContext } = createStyleContext(collapsible)\n\nexport const Root = withProvider(styled(ArkCollapsible.Root), 'root')\nexport const Content = withContext(styled(ArkCollapsible.Content), 'content')\nexport const Trigger = withContext(styled(ArkCollapsible.Trigger), 'trigger')\n\nexport interface CollapsibleProps extends ComponentProps<typeof Root> {}\nexport interface CollapsibleContentProps extends ComponentProps<typeof Content> {}\nexport interface CollapsibleTriggerProps extends ComponentProps<typeof Trigger> {}\n"],"names":["withProvider","withContext","createStyleContext","collapsible","Root","styled","ArkCollapsible","Content","Trigger"],"mappings":"qPAMM,CAAE,aAAAA,EAAc,YAAAC,GAAgBC,EAAAA,mBAAmBC,EAAAA,WAAW,EAEvDC,EAAOJ,EAAaK,EAAAA,OAAOC,EAAAA,YAAe,IAAI,EAAG,MAAM,EACvDC,EAAUN,EAAYI,EAAAA,OAAOC,EAAAA,YAAe,OAAO,EAAG,SAAS,EAC/DE,EAAUP,EAAYI,EAAAA,OAAOC,EAAAA,YAAe,OAAO,EAAG,SAAS"}
1
+ {"version":3,"file":"styled.cjs","names":[],"sources":["../../../src/components/collapsible/styled.ts"],"sourcesContent":["import { Collapsible as ArkCollapsible } from '@ark-ui/react'\nimport { collapsible } from '@stokelp/styled-system/recipes'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { createStyleContext } from '~/utils/slots'\nimport { ComponentProps } from 'react'\n\nconst { withProvider, withContext } = createStyleContext(collapsible)\n\nexport const Root = withProvider(styled(ArkCollapsible.Root), 'root')\nexport const Content = withContext(styled(ArkCollapsible.Content), 'content')\nexport const Trigger = withContext(styled(ArkCollapsible.Trigger), 'trigger')\n\nexport interface CollapsibleProps extends ComponentProps<typeof Root> {}\nexport interface CollapsibleContentProps extends ComponentProps<typeof Content> {}\nexport interface CollapsibleTriggerProps extends ComponentProps<typeof Trigger> {}\n"],"mappings":"yRAMM,CAAE,eAAc,eAAgB,EAAA,mBAAmB,EAAA,WAAW,EAEvD,EAAO,GAAA,EAAA,EAAA,QAAoB,EAAA,YAAe,IAAI,EAAG,MAAM,EACvD,EAAU,GAAA,EAAA,EAAA,QAAmB,EAAA,YAAe,OAAO,EAAG,SAAS,EAC/D,EAAU,GAAA,EAAA,EAAA,QAAmB,EAAA,YAAe,OAAO,EAAG,SAAS"}
@@ -1,12 +1,16 @@
1
1
  "use client";
2
- import { Collapsible as t } from "@ark-ui/react";
3
- import { collapsible as e } from "@stokelp/styled-system/recipes";
4
- import { styled as o } from "@stokelp/styled-system/jsx";
5
- import { createStyleContext as i } from "../../utils/slots.js";
6
- const { withProvider: n, withContext: r } = i(e), p = n(o(t.Root), "root"), g = r(o(t.Content), "content"), C = r(o(t.Trigger), "trigger");
7
- export {
8
- g as Content,
9
- p as Root,
10
- C as Trigger
11
- };
12
- //# sourceMappingURL=styled.js.map
2
+ import { __exportAll as e } from "../../_virtual/_rolldown/runtime.js";
3
+ import { createStyleContext as t } from "../../utils/slots.js";
4
+ import { Collapsible as n } from "@ark-ui/react";
5
+ import { styled as r } from "@stokelp/styled-system/jsx";
6
+ import { collapsible as i } from "@stokelp/styled-system/recipes";
7
+ //#region src/components/collapsible/styled.ts
8
+ var a = /* @__PURE__ */ e({
9
+ Content: () => l,
10
+ Root: () => c,
11
+ Trigger: () => u
12
+ }), { withProvider: o, withContext: s } = t(i), c = o(r(n.Root), "root"), l = s(r(n.Content), "content"), u = s(r(n.Trigger), "trigger");
13
+ //#endregion
14
+ export { a as styled_exports };
15
+
16
+ //# sourceMappingURL=styled.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"styled.js","sources":["../../../src/components/collapsible/styled.ts"],"sourcesContent":["import { Collapsible as ArkCollapsible } from '@ark-ui/react'\nimport { collapsible } from '@stokelp/styled-system/recipes'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { createStyleContext } from '~/utils/slots'\nimport { ComponentProps } from 'react'\n\nconst { withProvider, withContext } = createStyleContext(collapsible)\n\nexport const Root = withProvider(styled(ArkCollapsible.Root), 'root')\nexport const Content = withContext(styled(ArkCollapsible.Content), 'content')\nexport const Trigger = withContext(styled(ArkCollapsible.Trigger), 'trigger')\n\nexport interface CollapsibleProps extends ComponentProps<typeof Root> {}\nexport interface CollapsibleContentProps extends ComponentProps<typeof Content> {}\nexport interface CollapsibleTriggerProps extends ComponentProps<typeof Trigger> {}\n"],"names":["withProvider","withContext","createStyleContext","collapsible","Root","styled","ArkCollapsible","Content","Trigger"],"mappings":";;;;;AAMA,MAAM,EAAE,cAAAA,GAAc,aAAAC,MAAgBC,EAAmBC,CAAW,GAEvDC,IAAOJ,EAAaK,EAAOC,EAAe,IAAI,GAAG,MAAM,GACvDC,IAAUN,EAAYI,EAAOC,EAAe,OAAO,GAAG,SAAS,GAC/DE,IAAUP,EAAYI,EAAOC,EAAe,OAAO,GAAG,SAAS;"}
1
+ {"version":3,"file":"styled.js","names":[],"sources":["../../../src/components/collapsible/styled.ts"],"sourcesContent":["import { Collapsible as ArkCollapsible } from '@ark-ui/react'\nimport { collapsible } from '@stokelp/styled-system/recipes'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { createStyleContext } from '~/utils/slots'\nimport { ComponentProps } from 'react'\n\nconst { withProvider, withContext } = createStyleContext(collapsible)\n\nexport const Root = withProvider(styled(ArkCollapsible.Root), 'root')\nexport const Content = withContext(styled(ArkCollapsible.Content), 'content')\nexport const Trigger = withContext(styled(ArkCollapsible.Trigger), 'trigger')\n\nexport interface CollapsibleProps extends ComponentProps<typeof Root> {}\nexport interface CollapsibleContentProps extends ComponentProps<typeof Content> {}\nexport interface CollapsibleTriggerProps extends ComponentProps<typeof Trigger> {}\n"],"mappings":";;;;;;;;;;;IAMM,EAAE,iBAAc,mBAAgB,EAAmB,CAAW,GAEvD,IAAO,EAAa,EAAO,EAAe,IAAI,GAAG,MAAM,GACvD,IAAU,EAAY,EAAO,EAAe,OAAO,GAAG,SAAS,GAC/D,IAAU,EAAY,EAAO,EAAe,OAAO,GAAG,SAAS"}
@@ -1,2 +1,2 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),n=require("@ark-ui/react"),a=require("react"),s=require("@stokelp/styled-system/jsx"),_=require("../../_virtual/lodash.cjs"),H=require("@stokelp/styled-system/recipes"),F=require("../../utils/slots.cjs"),w=require("../../shared/ConditionalWrapper.cjs"),q=require("../text/Text.cjs"),I=require("../tooltip/Tooltip.cjs"),U=require("react-window"),P=require("@stokelp/styled-system/css"),ee=require("../input/Input.cjs"),{withProvider:te,withContext:u}=F.createStyleContext(H.combobox),oe=te(s.styled(n.Combobox.Root),"root",{defaultProps:{loopFocus:!0}}),ne=u(s.styled(n.Combobox.ClearTrigger),"clearTrigger"),le=u(s.styled(n.Combobox.Content),"content"),re=u(s.styled(n.Combobox.Input),"input"),se=u(s.styled(n.Combobox.Control),"control"),R=u(s.styled(n.Combobox.Item),"item"),ie=u(s.styled(n.Combobox.ItemText),"itemText"),ce=u(s.styled(n.Combobox.Positioner),"positioner"),ue=u(s.styled(n.Combobox.Trigger),"trigger"),ae=()=>e.jsxs("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("rect",{x:"0.5",y:"1",width:"15",height:"15",rx:"3.5",fill:"white"}),e.jsx("rect",{x:"0.5",y:"1",width:"15",height:"15",rx:"3.5",className:P.css({stroke:"grey.100"})})]}),de=()=>e.jsxs("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("rect",{y:"0.5",width:"16",height:"16",rx:"4",className:P.css({fill:"primary.500"})}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.958 4.81298C12.1303 4.92787 12.1769 5.16069 12.062 5.33301L7.56202 12.083C7.4997 12.1765 7.39875 12.2371 7.28695 12.2482C7.17515 12.2592 7.06428 12.2196 6.98483 12.1402L3.98483 9.14017C3.83839 8.99372 3.83839 8.75628 3.98483 8.60984C4.13128 8.46339 4.36872 8.46339 4.51517 8.60984L7.19172 11.2864L11.438 4.91699C11.5529 4.74467 11.7857 4.6981 11.958 4.81298Z",fill:"white"})]});function S({item:r,isMultiple:i,renderItem:d}){const p=n.useComboboxItemContext();return e.jsxs(e.Fragment,{children:[i?p.selected?e.jsx(de,{}):e.jsx(ae,{}):null,d?d(r):e.jsx(ie,{truncate:!0,children:r.label})]})}const he=({items:r=[],initialItems:i,debounceMs:d=0,placeholder:p,emptyLabel:W,loadingLabel:k,usePortal:Z=!0,withAutoFilter:C=!0,positioning:B,loadItems:g,renderItem:f,onResetInitialItems:m,isLoading:O,value:V,openDropdownOnFocus:z=!0,clearValueWhenEmpty:E=!0,virtualized:N,rowHeight:y=34,returnItemsOnEmpty:Q,...v})=>{const[$,h]=a.useState(()=>r),[A,L]=a.useState(!1),[D,G]=a.useState(!1),j=typeof g=="function",x=a.useMemo(()=>g?_.lodashExports.debounce(async t=>{try{G(!0),L(!0);const o=await g(t);h(o)}catch(o){console.error(o),h([])}finally{L(!1)}},d):null,[g,d]),l=[...$,...i??[]],J=a.useCallback(async t=>{i&&i.length>0&&!i.find(c=>c.label===t.inputValue)&&m?.();const{inputValue:o}=t;if(x)x(o);else{const c=C&&o!==""?r.filter(Y=>Y.label.toLowerCase().includes(o.toLowerCase())):r;if(c.length===0&&Q)return h(r);h(c)}},[x,r,C]);a.useEffect(()=>{!C&&!x&&h(r)},[r,C,x]);const K=a.useMemo(()=>n.createListCollection({items:l}),[l]),X=O??A,T=k??e.jsx(q.Text,{p:"space-8",textAlign:"center",children:"Chargement..."}),M=W??e.jsx(q.Text,{p:"space-8",textAlign:"center",children:"Aucun résultat"}),b=!1;return e.jsxs(oe,{lazyMount:!0,unmountOnExit:!0,collection:K,positioning:{sameWidth:!0,gutter:0,...B},"data-recipe":"combobox",onInputValueChange:J,value:V,...v,multiple:b,children:[e.jsxs(se,{children:[e.jsx(n.Combobox.Context,{children:t=>e.jsx(re,{asChild:!0,placeholder:p,onInput:o=>{const c=o.currentTarget.value;E&&c===""&&t.clearValue()},onFocus:()=>{!z||j||t.setOpen(!0)},children:e.jsx(ee.Input,{})})}),e.jsx(ue,{asChild:!0,hidden:j&&(!i||i.length===0),children:e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5303 16.2803C12.2374 16.5732 11.7626 16.5732 11.4697 16.2803L3.96967 8.78033C3.67678 8.48744 3.67678 8.01256 3.96967 7.71967C4.26256 7.42678 4.73744 7.42678 5.03033 7.71967L12 14.6893L18.9697 7.71967C19.2626 7.42678 19.7374 7.42678 20.0303 7.71967C20.3232 8.01256 20.3232 8.48744 20.0303 8.78033L12.5303 16.2803Z",fill:"currentColor"})})}),e.jsx(ne,{disabled:v.readOnly,onClick:m,asChild:!0,children:e.jsx("button",{children:e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 3.125C6.20304 3.125 3.125 6.20304 3.125 10C3.125 13.797 6.20304 16.875 10 16.875C13.797 16.875 16.875 13.797 16.875 10C16.875 6.20304 13.797 3.125 10 3.125ZM1.875 10C1.875 5.51269 5.51269 1.875 10 1.875C14.4873 1.875 18.125 5.51269 18.125 10C18.125 14.4873 14.4873 18.125 10 18.125C5.51269 18.125 1.875 14.4873 1.875 10ZM7.68306 7.68306C7.92714 7.43898 8.32286 7.43898 8.56694 7.68306L10 9.11612L11.4331 7.68306C11.6771 7.43898 12.0729 7.43898 12.3169 7.68306C12.561 7.92714 12.561 8.32286 12.3169 8.56694L10.8839 10L12.3169 11.4331C12.561 11.6771 12.561 12.0729 12.3169 12.3169C12.0729 12.561 11.6771 12.561 11.4331 12.3169L10 10.8839L8.56694 12.3169C8.32286 12.561 7.92714 12.561 7.68306 12.3169C7.43898 12.0729 7.43898 11.6771 7.68306 11.4331L9.11612 10L7.68306 8.56694C7.43898 8.32286 7.43898 7.92714 7.68306 7.68306Z",fill:"currentColor"})})})})]}),e.jsx(w.ConditionalWrapper,{when:Z,wrapper:t=>e.jsx(n.Portal,{children:t}),children:e.jsx(ce,{children:e.jsx(le,{children:X?T:l.length===0?e.jsx(e.Fragment,{children:j?D?M:T:M}):N?e.jsx(e.Fragment,{children:e.jsx(U.FixedSizeList,{height:Math.min(y*l.length,180),itemCount:l.length,itemSize:y,width:"100%",children:({index:t,style:o})=>e.jsx(w.ConditionalWrapper,{when:!!l[t].tooltip,wrapper:c=>e.jsx(I.Tooltip,{label:l[t].tooltip,children:c}),children:e.jsx(R,{item:l[t],style:o,children:e.jsx(S,{renderItem:f,item:l[t],isMultiple:b})},l[t].value)},l[t].value)})}):l.map(t=>e.jsx(w.ConditionalWrapper,{when:!!t.tooltip,wrapper:o=>e.jsx(I.Tooltip,{label:t.tooltip,children:o}),children:e.jsx(R,{item:t,children:e.jsx(S,{renderItem:f,item:t,isMultiple:b})},t.value)},t.value))})})})]})};exports.Combobox=he;
2
- //# sourceMappingURL=Combobox.cjs.map
1
+ "use client";const e=require("../../utils/slots.cjs"),t=require("../tooltip/Tooltip.cjs"),n=require("../text/Text.cjs"),r=require("../../shared/ConditionalWrapper.cjs"),i=require("../input/Input.cjs");let a=require("@ark-ui/react"),o=require("@stokelp/styled-system/jsx"),s=require("@stokelp/styled-system/recipes"),c=require("react"),l=require("react/jsx-runtime"),u=require("@stokelp/styled-system/css"),d=require("react-window"),f=require("lodash");var{withProvider:p,withContext:m}=e.createStyleContext(s.combobox),h=p((0,o.styled)(a.Combobox.Root),`root`,{defaultProps:{loopFocus:!0}}),g=m((0,o.styled)(a.Combobox.ClearTrigger),`clearTrigger`),_=m((0,o.styled)(a.Combobox.Content),`content`),v=m((0,o.styled)(a.Combobox.Input),`input`),y=m((0,o.styled)(a.Combobox.Control),`control`),b=m((0,o.styled)(a.Combobox.Item),`item`),x=m((0,o.styled)(a.Combobox.ItemText),`itemText`),S=m((0,o.styled)(a.Combobox.Positioner),`positioner`),C=m((0,o.styled)(a.Combobox.Trigger),`trigger`),w=()=>(0,l.jsxs)(`svg`,{width:`16`,height:`17`,viewBox:`0 0 16 17`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:[(0,l.jsx)(`rect`,{x:`0.5`,y:`1`,width:`15`,height:`15`,rx:`3.5`,fill:`white`}),(0,l.jsx)(`rect`,{x:`0.5`,y:`1`,width:`15`,height:`15`,rx:`3.5`,className:(0,u.css)({stroke:`grey.100`})})]}),T=()=>(0,l.jsxs)(`svg`,{width:`16`,height:`17`,viewBox:`0 0 16 17`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:[(0,l.jsx)(`rect`,{y:`0.5`,width:`16`,height:`16`,rx:`4`,className:(0,u.css)({fill:`primary.500`})}),(0,l.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M11.958 4.81298C12.1303 4.92787 12.1769 5.16069 12.062 5.33301L7.56202 12.083C7.4997 12.1765 7.39875 12.2371 7.28695 12.2482C7.17515 12.2592 7.06428 12.2196 6.98483 12.1402L3.98483 9.14017C3.83839 8.99372 3.83839 8.75628 3.98483 8.60984C4.13128 8.46339 4.36872 8.46339 4.51517 8.60984L7.19172 11.2864L11.438 4.91699C11.5529 4.74467 11.7857 4.6981 11.958 4.81298Z`,fill:`white`})]});function E({item:e,isMultiple:t,renderItem:n}){let r=(0,a.useComboboxItemContext)();return(0,l.jsxs)(l.Fragment,{children:[t?r.selected?(0,l.jsx)(T,{}):(0,l.jsx)(w,{}):null,n?n(e):(0,l.jsx)(x,{truncate:!0,children:e.label})]})}var D=({items:e=[],initialItems:o,debounceMs:s=0,placeholder:u,emptyLabel:p,loadingLabel:m,usePortal:x=!0,withAutoFilter:w=!0,positioning:T,loadItems:D,renderItem:O,onResetInitialItems:k,isLoading:A,value:j,openDropdownOnFocus:M=!0,clearValueWhenEmpty:N=!0,virtualized:P,rowHeight:F=34,returnItemsOnEmpty:I,...L})=>{let[R,z]=(0,c.useState)(()=>e),[B,V]=(0,c.useState)(!1),[H,U]=(0,c.useState)(!1),W=typeof D==`function`,G=(0,c.useMemo)(()=>D?(0,f.debounce)(async e=>{try{U(!0),V(!0),z(await D(e))}catch(e){console.error(e),z([])}finally{V(!1)}},s):null,[D,s]),K=[...R,...o??[]],q=(0,c.useCallback)(async t=>{o&&o.length>0&&!o.find(e=>e.label===t.inputValue)&&k?.();let{inputValue:n}=t;if(G)G(n);else{let t=w&&n!==``?e.filter(e=>e.label.toLowerCase().includes(n.toLowerCase())):e;if(t.length===0&&I)return z(e);z(t)}},[G,e,w]);(0,c.useEffect)(()=>{!w&&!G&&z(e)},[e,w,G]);let J=(0,c.useMemo)(()=>(0,a.createListCollection)({items:K}),[K]),Y=A??B,X=m??(0,l.jsx)(n.Text,{p:`space-8`,textAlign:`center`,children:`Chargement...`}),Z=p??(0,l.jsx)(n.Text,{p:`space-8`,textAlign:`center`,children:`Aucun résultat`});return(0,l.jsxs)(h,{lazyMount:!0,unmountOnExit:!0,collection:J,positioning:{sameWidth:!0,gutter:0,...T},"data-recipe":`combobox`,onInputValueChange:q,value:j,...L,multiple:!1,children:[(0,l.jsxs)(y,{children:[(0,l.jsx)(a.Combobox.Context,{children:e=>(0,l.jsx)(v,{asChild:!0,placeholder:u,onInput:t=>{let n=t.currentTarget.value;N&&n===``&&e.clearValue()},onFocus:()=>{!M||W||e.setOpen(!0)},children:(0,l.jsx)(i.Input,{})})}),(0,l.jsx)(C,{asChild:!0,hidden:W&&(!o||o.length===0),children:(0,l.jsx)(`svg`,{width:`24`,height:`24`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:(0,l.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M12.5303 16.2803C12.2374 16.5732 11.7626 16.5732 11.4697 16.2803L3.96967 8.78033C3.67678 8.48744 3.67678 8.01256 3.96967 7.71967C4.26256 7.42678 4.73744 7.42678 5.03033 7.71967L12 14.6893L18.9697 7.71967C19.2626 7.42678 19.7374 7.42678 20.0303 7.71967C20.3232 8.01256 20.3232 8.48744 20.0303 8.78033L12.5303 16.2803Z`,fill:`currentColor`})})}),(0,l.jsx)(g,{disabled:L.readOnly,onClick:k,asChild:!0,children:(0,l.jsx)(`button`,{children:(0,l.jsx)(`svg`,{width:`20`,height:`20`,viewBox:`0 0 20 20`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:(0,l.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M10 3.125C6.20304 3.125 3.125 6.20304 3.125 10C3.125 13.797 6.20304 16.875 10 16.875C13.797 16.875 16.875 13.797 16.875 10C16.875 6.20304 13.797 3.125 10 3.125ZM1.875 10C1.875 5.51269 5.51269 1.875 10 1.875C14.4873 1.875 18.125 5.51269 18.125 10C18.125 14.4873 14.4873 18.125 10 18.125C5.51269 18.125 1.875 14.4873 1.875 10ZM7.68306 7.68306C7.92714 7.43898 8.32286 7.43898 8.56694 7.68306L10 9.11612L11.4331 7.68306C11.6771 7.43898 12.0729 7.43898 12.3169 7.68306C12.561 7.92714 12.561 8.32286 12.3169 8.56694L10.8839 10L12.3169 11.4331C12.561 11.6771 12.561 12.0729 12.3169 12.3169C12.0729 12.561 11.6771 12.561 11.4331 12.3169L10 10.8839L8.56694 12.3169C8.32286 12.561 7.92714 12.561 7.68306 12.3169C7.43898 12.0729 7.43898 11.6771 7.68306 11.4331L9.11612 10L7.68306 8.56694C7.43898 8.32286 7.43898 7.92714 7.68306 7.68306Z`,fill:`currentColor`})})})})]}),(0,l.jsx)(r.ConditionalWrapper,{when:x,wrapper:e=>(0,l.jsx)(a.Portal,{children:e}),children:(0,l.jsx)(S,{children:(0,l.jsx)(_,{children:Y?X:K.length===0?(0,l.jsx)(l.Fragment,{children:W?H?Z:X:Z}):P?(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(d.FixedSizeList,{height:Math.min(F*K.length,180),itemCount:K.length,itemSize:F,width:`100%`,children:({index:e,style:n})=>(0,l.jsx)(r.ConditionalWrapper,{when:!!K[e].tooltip,wrapper:n=>(0,l.jsx)(t.Tooltip,{label:K[e].tooltip,children:n}),children:(0,l.jsx)(b,{item:K[e],style:n,children:(0,l.jsx)(E,{renderItem:O,item:K[e],isMultiple:!1})},K[e].value)},K[e].value)})}):K.map(e=>(0,l.jsx)(r.ConditionalWrapper,{when:!!e.tooltip,wrapper:n=>(0,l.jsx)(t.Tooltip,{label:e.tooltip,children:n}),children:(0,l.jsx)(b,{item:e,children:(0,l.jsx)(E,{renderItem:O,item:e,isMultiple:!1})},e.value)},e.value))})})})]})};exports.Combobox=D;
2
+ //# sourceMappingURL=Combobox.cjs.map