@stokelp/ui 2.96.6 → 2.98.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (667) hide show
  1. package/dist/_virtual/_commonjsHelpers.cjs +2 -0
  2. package/dist/_virtual/_commonjsHelpers.cjs.map +1 -0
  3. package/dist/_virtual/_commonjsHelpers.js +10 -0
  4. package/dist/_virtual/_commonjsHelpers.js.map +1 -0
  5. package/dist/_virtual/cjs.cjs +2 -0
  6. package/dist/_virtual/cjs.cjs.map +1 -0
  7. package/dist/_virtual/cjs.js +9 -0
  8. package/dist/_virtual/cjs.js.map +1 -0
  9. package/dist/_virtual/lodash.cjs +2 -0
  10. package/dist/_virtual/lodash.cjs.map +1 -0
  11. package/dist/_virtual/lodash.js +7 -0
  12. package/dist/_virtual/lodash.js.map +1 -0
  13. package/dist/_virtual/lodash2.cjs +2 -0
  14. package/dist/_virtual/lodash2.cjs.map +1 -0
  15. package/dist/_virtual/lodash2.js +6 -0
  16. package/dist/_virtual/lodash2.js.map +1 -0
  17. package/dist/components/accordion/Accordion.cjs +2 -0
  18. package/dist/components/accordion/Accordion.cjs.map +1 -0
  19. package/dist/components/accordion/Accordion.js +29 -0
  20. package/dist/components/accordion/Accordion.js.map +1 -0
  21. package/dist/components/action-card/ActionCard.cjs +2 -0
  22. package/dist/components/action-card/ActionCard.cjs.map +1 -0
  23. package/dist/components/action-card/ActionCard.js +28 -0
  24. package/dist/components/action-card/ActionCard.js.map +1 -0
  25. package/dist/components/alert/Alert.cjs +2 -0
  26. package/dist/components/alert/Alert.cjs.map +1 -0
  27. package/dist/components/alert/Alert.js +85 -0
  28. package/dist/components/alert/Alert.js.map +1 -0
  29. package/dist/components/app/navigation/AppNavigation.cjs +2 -0
  30. package/dist/components/app/navigation/AppNavigation.cjs.map +1 -0
  31. package/dist/components/app/navigation/AppNavigation.js +48 -0
  32. package/dist/components/app/navigation/AppNavigation.js.map +1 -0
  33. package/dist/components/app/navigation/language-select/AppNavigationLanguageSelect.cjs +2 -0
  34. package/dist/components/app/navigation/language-select/AppNavigationLanguageSelect.cjs.map +1 -0
  35. package/dist/components/app/navigation/language-select/AppNavigationLanguageSelect.js +120 -0
  36. package/dist/components/app/navigation/language-select/AppNavigationLanguageSelect.js.map +1 -0
  37. package/dist/components/app/price-tag/PriceTag.cjs +2 -0
  38. package/dist/components/app/price-tag/PriceTag.cjs.map +1 -0
  39. package/dist/components/app/price-tag/PriceTag.js +21 -0
  40. package/dist/components/app/price-tag/PriceTag.js.map +1 -0
  41. package/dist/components/app/product-card-catalog/styled.cjs +2 -0
  42. package/dist/components/app/product-card-catalog/styled.cjs.map +1 -0
  43. package/dist/components/app/product-card-catalog/styled.js +22 -0
  44. package/dist/components/app/product-card-catalog/styled.js.map +1 -0
  45. package/dist/components/avatar/styled.cjs +2 -0
  46. package/dist/components/avatar/styled.cjs.map +1 -0
  47. package/dist/components/avatar/styled.js +28 -0
  48. package/dist/components/avatar/styled.js.map +1 -0
  49. package/dist/components/box/Box.cjs +2 -0
  50. package/dist/components/box/Box.cjs.map +1 -0
  51. package/dist/components/box/Box.js +12 -0
  52. package/dist/components/box/Box.js.map +1 -0
  53. package/dist/components/breadcrumb/Breadcrumb.cjs +2 -0
  54. package/dist/components/breadcrumb/Breadcrumb.cjs.map +1 -0
  55. package/dist/components/breadcrumb/Breadcrumb.js +36 -0
  56. package/dist/components/breadcrumb/Breadcrumb.js.map +1 -0
  57. package/dist/components/button/Button.cjs +2 -0
  58. package/dist/components/button/Button.cjs.map +1 -0
  59. package/dist/components/button/Button.js +9 -0
  60. package/dist/components/button/Button.js.map +1 -0
  61. package/dist/components/button-filter/ButtonFilter.cjs +2 -0
  62. package/dist/components/button-filter/ButtonFilter.cjs.map +1 -0
  63. package/dist/components/button-filter/ButtonFilter.js +9 -0
  64. package/dist/components/button-filter/ButtonFilter.js.map +1 -0
  65. package/dist/components/chat/Chat.cjs +2 -0
  66. package/dist/components/chat/Chat.cjs.map +1 -0
  67. package/dist/components/chat/Chat.js +27 -0
  68. package/dist/components/chat/Chat.js.map +1 -0
  69. package/dist/components/chat/ChatDocumentMessage.cjs +2 -0
  70. package/dist/components/chat/ChatDocumentMessage.cjs.map +1 -0
  71. package/dist/components/chat/ChatDocumentMessage.js +33 -0
  72. package/dist/components/chat/ChatDocumentMessage.js.map +1 -0
  73. package/dist/components/chat/ChatMessage.cjs +2 -0
  74. package/dist/components/chat/ChatMessage.cjs.map +1 -0
  75. package/dist/components/chat/ChatMessage.js +9 -0
  76. package/dist/components/chat/ChatMessage.js.map +1 -0
  77. package/dist/components/chat/ChatProfileAvatar.cjs +2 -0
  78. package/dist/components/chat/ChatProfileAvatar.cjs.map +1 -0
  79. package/dist/components/chat/ChatProfileAvatar.js +17 -0
  80. package/dist/components/chat/ChatProfileAvatar.js.map +1 -0
  81. package/dist/components/chat/ChatTextInput.cjs +2 -0
  82. package/dist/components/chat/ChatTextInput.cjs.map +1 -0
  83. package/dist/components/chat/ChatTextInput.js +54 -0
  84. package/dist/components/chat/ChatTextInput.js.map +1 -0
  85. package/dist/components/checkbox/Checkbox.cjs +2 -0
  86. package/dist/components/checkbox/Checkbox.cjs.map +1 -0
  87. package/dist/components/checkbox/Checkbox.js +35 -0
  88. package/dist/components/checkbox/Checkbox.js.map +1 -0
  89. package/dist/components/checkbox-card/CheckboxCard.cjs +2 -0
  90. package/dist/components/checkbox-card/CheckboxCard.cjs.map +1 -0
  91. package/dist/components/checkbox-card/CheckboxCard.js +40 -0
  92. package/dist/components/checkbox-card/CheckboxCard.js.map +1 -0
  93. package/dist/components/checkbox-card/namespace.cjs +2 -0
  94. package/dist/components/checkbox-card/namespace.cjs.map +1 -0
  95. package/dist/components/checkbox-card/namespace.js +10 -0
  96. package/dist/components/checkbox-card/namespace.js.map +1 -0
  97. package/dist/components/chip/Chip.cjs +2 -0
  98. package/dist/components/chip/Chip.cjs.map +1 -0
  99. package/dist/components/chip/Chip.js +25 -0
  100. package/dist/components/chip/Chip.js.map +1 -0
  101. package/dist/components/collapsible/styled.cjs +2 -0
  102. package/dist/components/collapsible/styled.cjs.map +1 -0
  103. package/dist/components/collapsible/styled.js +12 -0
  104. package/dist/components/collapsible/styled.js.map +1 -0
  105. package/dist/components/combobox/Combobox.cjs +2 -0
  106. package/dist/components/combobox/Combobox.cjs.map +1 -0
  107. package/dist/components/combobox/Combobox.js +176 -0
  108. package/dist/components/combobox/Combobox.js.map +1 -0
  109. package/dist/components/date-picker/DatePicker.cjs +2 -0
  110. package/dist/components/date-picker/DatePicker.cjs.map +1 -0
  111. package/dist/components/date-picker/DatePicker.js +129 -0
  112. package/dist/components/date-picker/DatePicker.js.map +1 -0
  113. package/dist/components/dialog/styled.cjs +2 -0
  114. package/dist/components/dialog/styled.cjs.map +1 -0
  115. package/dist/components/dialog/styled.js +67 -0
  116. package/dist/components/dialog/styled.js.map +1 -0
  117. package/dist/components/drawer/Drawer.cjs +2 -0
  118. package/dist/components/drawer/Drawer.cjs.map +1 -0
  119. package/dist/components/drawer/Drawer.js +64 -0
  120. package/dist/components/drawer/Drawer.js.map +1 -0
  121. package/dist/components/flag/styled.cjs +2 -0
  122. package/dist/components/flag/styled.cjs.map +1 -0
  123. package/dist/components/flag/styled.js +3753 -0
  124. package/dist/components/flag/styled.js.map +1 -0
  125. package/dist/components/form/FormControl.cjs +2 -0
  126. package/dist/components/form/FormControl.cjs.map +1 -0
  127. package/dist/components/form/FormControl.js +19 -0
  128. package/dist/components/form/FormControl.js.map +1 -0
  129. package/dist/components/form/FormHelperText.cjs +2 -0
  130. package/dist/components/form/FormHelperText.cjs.map +1 -0
  131. package/dist/components/form/FormHelperText.js +10 -0
  132. package/dist/components/form/FormHelperText.js.map +1 -0
  133. package/dist/components/form/FormLabel.cjs +2 -0
  134. package/dist/components/form/FormLabel.cjs.map +1 -0
  135. package/dist/components/form/FormLabel.js +35 -0
  136. package/dist/components/form/FormLabel.js.map +1 -0
  137. package/dist/components/heading/Heading.cjs +2 -0
  138. package/dist/components/heading/Heading.cjs.map +1 -0
  139. package/dist/components/heading/Heading.js +13 -0
  140. package/dist/components/heading/Heading.js.map +1 -0
  141. package/dist/components/icon/Icon.cjs +2 -0
  142. package/dist/components/icon/Icon.cjs.map +1 -0
  143. package/dist/components/icon/Icon.js +12 -0
  144. package/dist/components/icon/Icon.js.map +1 -0
  145. package/dist/components/icon-button/IconButton.cjs +2 -0
  146. package/dist/components/icon-button/IconButton.cjs.map +1 -0
  147. package/dist/components/icon-button/IconButton.js +8 -0
  148. package/dist/components/icon-button/IconButton.js.map +1 -0
  149. package/dist/components/illustration/Illustration.cjs +2 -0
  150. package/dist/components/illustration/Illustration.cjs.map +1 -0
  151. package/dist/components/illustration/Illustration.js +41 -0
  152. package/dist/components/illustration/Illustration.js.map +1 -0
  153. package/dist/components/illustration/patterns.cjs +2 -0
  154. package/dist/components/illustration/patterns.cjs.map +1 -0
  155. package/dist/{ui.js → components/illustration/patterns.js} +38 -15804
  156. package/dist/components/illustration/patterns.js.map +1 -0
  157. package/dist/components/input/HighlightedInput.cjs +2 -0
  158. package/dist/components/input/HighlightedInput.cjs.map +1 -0
  159. package/dist/components/input/HighlightedInput.js +60 -0
  160. package/dist/components/input/HighlightedInput.js.map +1 -0
  161. package/dist/components/input/Input.cjs +2 -0
  162. package/dist/components/input/Input.cjs.map +1 -0
  163. package/dist/components/input/Input.js +15 -0
  164. package/dist/components/input/Input.js.map +1 -0
  165. package/dist/components/input/InputAddon.cjs +2 -0
  166. package/dist/components/input/InputAddon.cjs.map +1 -0
  167. package/dist/components/input/InputAddon.js +11 -0
  168. package/dist/components/input/InputAddon.js.map +1 -0
  169. package/dist/components/input/InputGroup.cjs +2 -0
  170. package/dist/components/input/InputGroup.cjs.map +1 -0
  171. package/dist/components/input/InputGroup.js +10 -0
  172. package/dist/components/input/InputGroup.js.map +1 -0
  173. package/dist/components/input/PhoneNumberInput.cjs +2 -0
  174. package/dist/components/input/PhoneNumberInput.cjs.map +1 -0
  175. package/dist/components/input/PhoneNumberInput.js +26 -0
  176. package/dist/components/input/PhoneNumberInput.js.map +1 -0
  177. package/dist/components/menu/Menu.cjs +2 -0
  178. package/dist/components/menu/Menu.cjs.map +1 -0
  179. package/dist/components/menu/Menu.js +29 -0
  180. package/dist/components/menu/Menu.js.map +1 -0
  181. package/dist/components/pagination/Pagination.cjs +2 -0
  182. package/dist/components/pagination/Pagination.cjs.map +1 -0
  183. package/dist/components/pagination/Pagination.js +86 -0
  184. package/dist/components/pagination/Pagination.js.map +1 -0
  185. package/dist/components/pagination/use-pagination.cjs +2 -0
  186. package/dist/components/pagination/use-pagination.cjs.map +1 -0
  187. package/dist/components/pagination/use-pagination.js +57 -0
  188. package/dist/components/pagination/use-pagination.js.map +1 -0
  189. package/dist/components/popover/Popover.cjs +2 -0
  190. package/dist/components/popover/Popover.cjs.map +1 -0
  191. package/dist/components/popover/Popover.js +27 -0
  192. package/dist/components/popover/Popover.js.map +1 -0
  193. package/dist/components/radio-button-group/RadioButtonGroup.cjs +2 -0
  194. package/dist/components/radio-button-group/RadioButtonGroup.cjs.map +1 -0
  195. package/dist/components/radio-button-group/RadioButtonGroup.js +22 -0
  196. package/dist/components/radio-button-group/RadioButtonGroup.js.map +1 -0
  197. package/dist/components/radio-card-group/RadioCardGroup.cjs +2 -0
  198. package/dist/components/radio-card-group/RadioCardGroup.cjs.map +1 -0
  199. package/dist/components/radio-card-group/RadioCardGroup.js +23 -0
  200. package/dist/components/radio-card-group/RadioCardGroup.js.map +1 -0
  201. package/dist/components/radio-card-group/namespace.cjs +2 -0
  202. package/dist/components/radio-card-group/namespace.cjs.map +1 -0
  203. package/dist/components/radio-card-group/namespace.js +11 -0
  204. package/dist/components/radio-card-group/namespace.js.map +1 -0
  205. package/dist/components/radio-group/RadioGroup.cjs +2 -0
  206. package/dist/components/radio-group/RadioGroup.cjs.map +1 -0
  207. package/dist/components/radio-group/RadioGroup.js +22 -0
  208. package/dist/components/radio-group/RadioGroup.js.map +1 -0
  209. package/dist/components/select/Select.cjs +2 -0
  210. package/dist/components/select/Select.cjs.map +1 -0
  211. package/dist/components/select/Select.js +146 -0
  212. package/dist/components/select/Select.js.map +1 -0
  213. package/dist/components/select-language/SelectLanguage.cjs +2 -0
  214. package/dist/components/select-language/SelectLanguage.cjs.map +1 -0
  215. package/dist/components/select-language/SelectLanguage.js +89 -0
  216. package/dist/components/select-language/SelectLanguage.js.map +1 -0
  217. package/dist/components/status-tag-select/StatusTagSelect.cjs +2 -0
  218. package/dist/components/status-tag-select/StatusTagSelect.cjs.map +1 -0
  219. package/dist/components/status-tag-select/StatusTagSelect.js +117 -0
  220. package/dist/components/status-tag-select/StatusTagSelect.js.map +1 -0
  221. package/dist/components/switch/Switch.cjs +2 -0
  222. package/dist/components/switch/Switch.cjs.map +1 -0
  223. package/dist/components/switch/Switch.js +20 -0
  224. package/dist/components/switch/Switch.js.map +1 -0
  225. package/dist/components/switch-card/SwitchCard.cjs +2 -0
  226. package/dist/components/switch-card/SwitchCard.cjs.map +1 -0
  227. package/dist/components/switch-card/SwitchCard.js +27 -0
  228. package/dist/components/switch-card/SwitchCard.js.map +1 -0
  229. package/dist/components/switch-card/namespace.cjs +2 -0
  230. package/dist/components/switch-card/namespace.cjs.map +1 -0
  231. package/dist/components/switch-card/namespace.js +10 -0
  232. package/dist/components/switch-card/namespace.js.map +1 -0
  233. package/dist/components/table/Table.cjs +2 -0
  234. package/dist/components/table/Table.cjs.map +1 -0
  235. package/dist/components/table/Table.js +113 -0
  236. package/dist/components/table/Table.js.map +1 -0
  237. package/dist/components/table/TableProvider.cjs +2 -0
  238. package/dist/components/table/TableProvider.cjs.map +1 -0
  239. package/dist/components/table/TableProvider.js +41 -0
  240. package/dist/components/table/TableProvider.js.map +1 -0
  241. package/dist/components/tabs/Tabs.cjs +2 -0
  242. package/dist/components/tabs/Tabs.cjs.map +1 -0
  243. package/dist/components/tabs/Tabs.js +27 -0
  244. package/dist/components/tabs/Tabs.js.map +1 -0
  245. package/dist/components/tag/Tag.cjs +2 -0
  246. package/dist/components/tag/Tag.cjs.map +1 -0
  247. package/dist/components/tag/Tag.js +18 -0
  248. package/dist/components/tag/Tag.js.map +1 -0
  249. package/dist/components/text/Text.cjs +2 -0
  250. package/dist/components/text/Text.cjs.map +1 -0
  251. package/dist/components/text/Text.js +13 -0
  252. package/dist/components/text/Text.js.map +1 -0
  253. package/dist/components/textarea/Textarea.cjs +2 -0
  254. package/dist/components/textarea/Textarea.cjs.map +1 -0
  255. package/dist/components/textarea/Textarea.js +9 -0
  256. package/dist/components/textarea/Textarea.js.map +1 -0
  257. package/dist/components/tooltip/Tooltip.cjs +2 -0
  258. package/dist/components/tooltip/Tooltip.cjs.map +1 -0
  259. package/dist/components/tooltip/Tooltip.js +44 -0
  260. package/dist/components/tooltip/Tooltip.js.map +1 -0
  261. package/dist/{icons.cjs → icons/index.cjs} +1 -1
  262. package/dist/icons/index.cjs.map +1 -0
  263. package/dist/{icons.js → icons/index.js} +1 -1
  264. package/dist/icons/index.js.map +1 -0
  265. package/dist/index.cjs +2 -0
  266. package/dist/index.cjs.map +1 -0
  267. package/dist/index.js +178 -0
  268. package/dist/index.js.map +1 -0
  269. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.cjs +2 -0
  270. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.cjs.map +1 -0
  271. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.js +30 -0
  272. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.js.map +1 -0
  273. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.cjs +2 -0
  274. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.cjs.map +1 -0
  275. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.js +30 -0
  276. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.js.map +1 -0
  277. package/dist/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.cjs +2 -0
  278. package/dist/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.cjs.map +1 -0
  279. package/dist/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.js +30 -0
  280. package/dist/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.js.map +1 -0
  281. package/dist/node_modules/@pandacss/shared/dist/index.cjs +2 -0
  282. package/dist/node_modules/@pandacss/shared/dist/index.cjs.map +1 -0
  283. package/dist/node_modules/@pandacss/shared/dist/index.js +469 -0
  284. package/dist/node_modules/@pandacss/shared/dist/index.js.map +1 -0
  285. package/dist/node_modules/@zag-js/utils/dist/index.cjs +2 -0
  286. package/dist/node_modules/@zag-js/utils/dist/index.cjs.map +1 -0
  287. package/dist/node_modules/@zag-js/utils/dist/index.js +8 -0
  288. package/dist/node_modules/@zag-js/utils/dist/index.js.map +1 -0
  289. package/dist/node_modules/deepmerge/dist/cjs.cjs +2 -0
  290. package/dist/node_modules/deepmerge/dist/cjs.cjs.map +1 -0
  291. package/dist/node_modules/deepmerge/dist/cjs.js +81 -0
  292. package/dist/node_modules/deepmerge/dist/cjs.js.map +1 -0
  293. package/dist/node_modules/lodash/lodash.cjs +21 -0
  294. package/dist/node_modules/lodash/lodash.cjs.map +1 -0
  295. package/dist/node_modules/lodash/lodash.js +3688 -0
  296. package/dist/node_modules/lodash/lodash.js.map +1 -0
  297. package/dist/preset.cjs +2 -0
  298. package/dist/preset.cjs.map +1 -0
  299. package/dist/preset.js +35 -0
  300. package/dist/preset.js.map +1 -0
  301. package/dist/shared/ConditionalWrapper.cjs +2 -0
  302. package/dist/shared/ConditionalWrapper.cjs.map +1 -0
  303. package/dist/shared/ConditionalWrapper.js +6 -0
  304. package/dist/shared/ConditionalWrapper.js.map +1 -0
  305. package/dist/shared/assets/icons.cjs +2 -0
  306. package/dist/shared/assets/icons.cjs.map +1 -0
  307. package/dist/shared/assets/icons.js +24 -0
  308. package/dist/shared/assets/icons.js.map +1 -0
  309. package/dist/shared/hooks/useUncontrolled.cjs +2 -0
  310. package/dist/shared/hooks/useUncontrolled.cjs.map +1 -0
  311. package/dist/shared/hooks/useUncontrolled.js +18 -0
  312. package/dist/shared/hooks/useUncontrolled.js.map +1 -0
  313. package/dist/shared/utils/events.cjs +2 -0
  314. package/dist/shared/utils/events.cjs.map +1 -0
  315. package/dist/shared/utils/events.js +8 -0
  316. package/dist/shared/utils/events.js.map +1 -0
  317. package/dist/theme/breakpoints.cjs +2 -0
  318. package/dist/theme/breakpoints.cjs.map +1 -0
  319. package/dist/theme/breakpoints.js +11 -0
  320. package/dist/theme/breakpoints.js.map +1 -0
  321. package/dist/theme/conditions.cjs +2 -0
  322. package/dist/theme/conditions.cjs.map +1 -0
  323. package/dist/theme/conditions.js +25 -0
  324. package/dist/theme/conditions.js.map +1 -0
  325. package/dist/theme/containers.cjs +2 -0
  326. package/dist/theme/containers.cjs.map +1 -0
  327. package/dist/theme/containers.js +19 -0
  328. package/dist/theme/containers.js.map +1 -0
  329. package/dist/theme/globalCss.cjs +4 -0
  330. package/dist/theme/globalCss.cjs.map +1 -0
  331. package/dist/theme/globalCss.js +101 -0
  332. package/dist/theme/globalCss.js.map +1 -0
  333. package/dist/theme/keyframes.cjs +2 -0
  334. package/dist/theme/keyframes.cjs.map +1 -0
  335. package/dist/theme/keyframes.js +173 -0
  336. package/dist/theme/keyframes.js.map +1 -0
  337. package/dist/theme/recipes/accordion.cjs +2 -0
  338. package/dist/theme/recipes/accordion.cjs.map +1 -0
  339. package/dist/theme/recipes/accordion.js +112 -0
  340. package/dist/theme/recipes/accordion.js.map +1 -0
  341. package/dist/theme/recipes/action-card.cjs +2 -0
  342. package/dist/theme/recipes/action-card.cjs.map +1 -0
  343. package/dist/theme/recipes/action-card.js +87 -0
  344. package/dist/theme/recipes/action-card.js.map +1 -0
  345. package/dist/theme/recipes/alert.cjs +2 -0
  346. package/dist/theme/recipes/alert.cjs.map +1 -0
  347. package/dist/theme/recipes/alert.js +68 -0
  348. package/dist/theme/recipes/alert.js.map +1 -0
  349. package/dist/theme/recipes/app/navigation-language-select.cjs +2 -0
  350. package/dist/theme/recipes/app/navigation-language-select.cjs.map +1 -0
  351. package/dist/theme/recipes/app/navigation-language-select.js +151 -0
  352. package/dist/theme/recipes/app/navigation-language-select.js.map +1 -0
  353. package/dist/theme/recipes/app/navigation.cjs +2 -0
  354. package/dist/theme/recipes/app/navigation.cjs.map +1 -0
  355. package/dist/theme/recipes/app/navigation.js +271 -0
  356. package/dist/theme/recipes/app/navigation.js.map +1 -0
  357. package/dist/theme/recipes/app/price-tag.cjs +2 -0
  358. package/dist/theme/recipes/app/price-tag.cjs.map +1 -0
  359. package/dist/theme/recipes/app/price-tag.js +73 -0
  360. package/dist/theme/recipes/app/price-tag.js.map +1 -0
  361. package/dist/theme/recipes/app/product-card-catalog.cjs +2 -0
  362. package/dist/theme/recipes/app/product-card-catalog.cjs.map +1 -0
  363. package/dist/theme/recipes/app/product-card-catalog.js +196 -0
  364. package/dist/theme/recipes/app/product-card-catalog.js.map +1 -0
  365. package/dist/theme/recipes/avatar-group.cjs +2 -0
  366. package/dist/theme/recipes/avatar-group.cjs.map +1 -0
  367. package/dist/theme/recipes/avatar-group.js +40 -0
  368. package/dist/theme/recipes/avatar-group.js.map +1 -0
  369. package/dist/theme/recipes/avatar.cjs +2 -0
  370. package/dist/theme/recipes/avatar.cjs.map +1 -0
  371. package/dist/theme/recipes/avatar.js +99 -0
  372. package/dist/theme/recipes/avatar.js.map +1 -0
  373. package/dist/theme/recipes/breadcrumb.cjs +2 -0
  374. package/dist/theme/recipes/breadcrumb.cjs.map +1 -0
  375. package/dist/theme/recipes/breadcrumb.js +34 -0
  376. package/dist/theme/recipes/breadcrumb.js.map +1 -0
  377. package/dist/theme/recipes/button-filter.cjs +2 -0
  378. package/dist/theme/recipes/button-filter.cjs.map +1 -0
  379. package/dist/theme/recipes/button-filter.js +63 -0
  380. package/dist/theme/recipes/button-filter.js.map +1 -0
  381. package/dist/theme/recipes/button.cjs +2 -0
  382. package/dist/theme/recipes/button.cjs.map +1 -0
  383. package/dist/theme/recipes/button.js +298 -0
  384. package/dist/theme/recipes/button.js.map +1 -0
  385. package/dist/theme/recipes/chat/chat-document-message.cjs +2 -0
  386. package/dist/theme/recipes/chat/chat-document-message.cjs.map +1 -0
  387. package/dist/theme/recipes/chat/chat-document-message.js +46 -0
  388. package/dist/theme/recipes/chat/chat-document-message.js.map +1 -0
  389. package/dist/theme/recipes/chat/chat-input-text.cjs +2 -0
  390. package/dist/theme/recipes/chat/chat-input-text.cjs.map +1 -0
  391. package/dist/theme/recipes/chat/chat-input-text.js +30 -0
  392. package/dist/theme/recipes/chat/chat-input-text.js.map +1 -0
  393. package/dist/theme/recipes/chat/chat-message.cjs +2 -0
  394. package/dist/theme/recipes/chat/chat-message.cjs.map +1 -0
  395. package/dist/theme/recipes/chat/chat-message.js +48 -0
  396. package/dist/theme/recipes/chat/chat-message.js.map +1 -0
  397. package/dist/theme/recipes/chat/chat-profile-avatar.cjs +2 -0
  398. package/dist/theme/recipes/chat/chat-profile-avatar.cjs.map +1 -0
  399. package/dist/theme/recipes/chat/chat-profile-avatar.js +28 -0
  400. package/dist/theme/recipes/chat/chat-profile-avatar.js.map +1 -0
  401. package/dist/theme/recipes/chat/chat.cjs +2 -0
  402. package/dist/theme/recipes/chat/chat.cjs.map +1 -0
  403. package/dist/theme/recipes/chat/chat.js +59 -0
  404. package/dist/theme/recipes/chat/chat.js.map +1 -0
  405. package/dist/theme/recipes/checkbox-card.cjs +2 -0
  406. package/dist/theme/recipes/checkbox-card.cjs.map +1 -0
  407. package/dist/theme/recipes/checkbox-card.js +42 -0
  408. package/dist/theme/recipes/checkbox-card.js.map +1 -0
  409. package/dist/theme/recipes/checkbox-group.cjs +2 -0
  410. package/dist/theme/recipes/checkbox-group.cjs.map +1 -0
  411. package/dist/theme/recipes/checkbox-group.js +15 -0
  412. package/dist/theme/recipes/checkbox-group.js.map +1 -0
  413. package/dist/theme/recipes/checkbox.cjs +2 -0
  414. package/dist/theme/recipes/checkbox.cjs.map +1 -0
  415. package/dist/theme/recipes/checkbox.js +131 -0
  416. package/dist/theme/recipes/checkbox.js.map +1 -0
  417. package/dist/theme/recipes/chip.cjs +2 -0
  418. package/dist/theme/recipes/chip.cjs.map +1 -0
  419. package/dist/theme/recipes/chip.js +184 -0
  420. package/dist/theme/recipes/chip.js.map +1 -0
  421. package/dist/theme/recipes/collapsible.cjs +2 -0
  422. package/dist/theme/recipes/collapsible.cjs.map +1 -0
  423. package/dist/theme/recipes/collapsible.js +30 -0
  424. package/dist/theme/recipes/collapsible.js.map +1 -0
  425. package/dist/theme/recipes/combobox.cjs +2 -0
  426. package/dist/theme/recipes/combobox.cjs.map +1 -0
  427. package/dist/theme/recipes/combobox.js +179 -0
  428. package/dist/theme/recipes/combobox.js.map +1 -0
  429. package/dist/theme/recipes/common/group-card.cjs +2 -0
  430. package/dist/theme/recipes/common/group-card.cjs.map +1 -0
  431. package/dist/theme/recipes/common/group-card.js +81 -0
  432. package/dist/theme/recipes/common/group-card.js.map +1 -0
  433. package/dist/theme/recipes/datepicker.cjs +2 -0
  434. package/dist/theme/recipes/datepicker.cjs.map +1 -0
  435. package/dist/theme/recipes/datepicker.js +178 -0
  436. package/dist/theme/recipes/datepicker.js.map +1 -0
  437. package/dist/theme/recipes/dialog.cjs +2 -0
  438. package/dist/theme/recipes/dialog.cjs.map +1 -0
  439. package/dist/theme/recipes/dialog.js +154 -0
  440. package/dist/theme/recipes/dialog.js.map +1 -0
  441. package/dist/theme/recipes/drawer.cjs +2 -0
  442. package/dist/theme/recipes/drawer.cjs.map +1 -0
  443. package/dist/theme/recipes/drawer.js +129 -0
  444. package/dist/theme/recipes/drawer.js.map +1 -0
  445. package/dist/theme/recipes/flag.cjs +2 -0
  446. package/dist/theme/recipes/flag.cjs.map +1 -0
  447. package/dist/theme/recipes/flag.js +33 -0
  448. package/dist/theme/recipes/flag.js.map +1 -0
  449. package/dist/theme/recipes/form/control.cjs +2 -0
  450. package/dist/theme/recipes/form/control.cjs.map +1 -0
  451. package/dist/theme/recipes/form/control.js +37 -0
  452. package/dist/theme/recipes/form/control.js.map +1 -0
  453. package/dist/theme/recipes/form/helper-text.cjs +2 -0
  454. package/dist/theme/recipes/form/helper-text.cjs.map +1 -0
  455. package/dist/theme/recipes/form/helper-text.js +16 -0
  456. package/dist/theme/recipes/form/helper-text.js.map +1 -0
  457. package/dist/theme/recipes/form/label.cjs +2 -0
  458. package/dist/theme/recipes/form/label.cjs.map +1 -0
  459. package/dist/theme/recipes/form/label.js +50 -0
  460. package/dist/theme/recipes/form/label.js.map +1 -0
  461. package/dist/theme/recipes/heading.cjs +2 -0
  462. package/dist/theme/recipes/heading.cjs.map +1 -0
  463. package/dist/theme/recipes/heading.js +37 -0
  464. package/dist/theme/recipes/heading.js.map +1 -0
  465. package/dist/theme/recipes/highlightedInput.cjs +2 -0
  466. package/dist/theme/recipes/highlightedInput.cjs.map +1 -0
  467. package/dist/theme/recipes/highlightedInput.js +48 -0
  468. package/dist/theme/recipes/highlightedInput.js.map +1 -0
  469. package/dist/theme/recipes/icon-button.cjs +2 -0
  470. package/dist/theme/recipes/icon-button.cjs.map +1 -0
  471. package/dist/theme/recipes/icon-button.js +91 -0
  472. package/dist/theme/recipes/icon-button.js.map +1 -0
  473. package/dist/theme/recipes/icon.cjs +2 -0
  474. package/dist/theme/recipes/icon.cjs.map +1 -0
  475. package/dist/theme/recipes/icon.js +44 -0
  476. package/dist/theme/recipes/icon.js.map +1 -0
  477. package/dist/theme/recipes/illustration.cjs +2 -0
  478. package/dist/theme/recipes/illustration.cjs.map +1 -0
  479. package/dist/theme/recipes/illustration.js +50 -0
  480. package/dist/theme/recipes/illustration.js.map +1 -0
  481. package/dist/theme/recipes/index.cjs +2 -0
  482. package/dist/theme/recipes/index.cjs.map +1 -0
  483. package/dist/theme/recipes/index.js +129 -0
  484. package/dist/theme/recipes/index.js.map +1 -0
  485. package/dist/theme/recipes/input-addon.cjs +2 -0
  486. package/dist/theme/recipes/input-addon.cjs.map +1 -0
  487. package/dist/theme/recipes/input-addon.js +27 -0
  488. package/dist/theme/recipes/input-addon.js.map +1 -0
  489. package/dist/theme/recipes/input-group.cjs +2 -0
  490. package/dist/theme/recipes/input-group.cjs.map +1 -0
  491. package/dist/theme/recipes/input-group.js +52 -0
  492. package/dist/theme/recipes/input-group.js.map +1 -0
  493. package/dist/theme/recipes/input.cjs +2 -0
  494. package/dist/theme/recipes/input.cjs.map +1 -0
  495. package/dist/theme/recipes/input.js +64 -0
  496. package/dist/theme/recipes/input.js.map +1 -0
  497. package/dist/theme/recipes/menu.cjs +2 -0
  498. package/dist/theme/recipes/menu.cjs.map +1 -0
  499. package/dist/theme/recipes/menu.js +102 -0
  500. package/dist/theme/recipes/menu.js.map +1 -0
  501. package/dist/theme/recipes/pagination.cjs +2 -0
  502. package/dist/theme/recipes/pagination.cjs.map +1 -0
  503. package/dist/theme/recipes/pagination.js +73 -0
  504. package/dist/theme/recipes/pagination.js.map +1 -0
  505. package/dist/theme/recipes/phone-number-input.cjs +2 -0
  506. package/dist/theme/recipes/phone-number-input.cjs.map +1 -0
  507. package/dist/theme/recipes/phone-number-input.js +68 -0
  508. package/dist/theme/recipes/phone-number-input.js.map +1 -0
  509. package/dist/theme/recipes/popover.cjs +2 -0
  510. package/dist/theme/recipes/popover.cjs.map +1 -0
  511. package/dist/theme/recipes/popover.js +30 -0
  512. package/dist/theme/recipes/popover.js.map +1 -0
  513. package/dist/theme/recipes/radio-button-group.cjs +2 -0
  514. package/dist/theme/recipes/radio-button-group.cjs.map +1 -0
  515. package/dist/theme/recipes/radio-button-group.js +97 -0
  516. package/dist/theme/recipes/radio-button-group.js.map +1 -0
  517. package/dist/theme/recipes/radio-card-group.cjs +2 -0
  518. package/dist/theme/recipes/radio-card-group.cjs.map +1 -0
  519. package/dist/theme/recipes/radio-card-group.js +70 -0
  520. package/dist/theme/recipes/radio-card-group.js.map +1 -0
  521. package/dist/theme/recipes/radio-group.cjs +2 -0
  522. package/dist/theme/recipes/radio-group.cjs.map +1 -0
  523. package/dist/theme/recipes/radio-group.js +121 -0
  524. package/dist/theme/recipes/radio-group.js.map +1 -0
  525. package/dist/theme/recipes/select-language.cjs +2 -0
  526. package/dist/theme/recipes/select-language.cjs.map +1 -0
  527. package/dist/theme/recipes/select-language.js +115 -0
  528. package/dist/theme/recipes/select-language.js.map +1 -0
  529. package/dist/theme/recipes/select.cjs +2 -0
  530. package/dist/theme/recipes/select.cjs.map +1 -0
  531. package/dist/theme/recipes/select.js +209 -0
  532. package/dist/theme/recipes/select.js.map +1 -0
  533. package/dist/theme/recipes/status-tag-select.cjs +2 -0
  534. package/dist/theme/recipes/status-tag-select.cjs.map +1 -0
  535. package/dist/theme/recipes/status-tag-select.js +177 -0
  536. package/dist/theme/recipes/status-tag-select.js.map +1 -0
  537. package/dist/theme/recipes/switch-card.cjs +2 -0
  538. package/dist/theme/recipes/switch-card.cjs.map +1 -0
  539. package/dist/theme/recipes/switch-card.js +44 -0
  540. package/dist/theme/recipes/switch-card.js.map +1 -0
  541. package/dist/theme/recipes/switch.cjs +2 -0
  542. package/dist/theme/recipes/switch.cjs.map +1 -0
  543. package/dist/theme/recipes/switch.js +90 -0
  544. package/dist/theme/recipes/switch.js.map +1 -0
  545. package/dist/theme/recipes/table-container.cjs +2 -0
  546. package/dist/theme/recipes/table-container.cjs.map +1 -0
  547. package/dist/theme/recipes/table-container.js +21 -0
  548. package/dist/theme/recipes/table-container.js.map +1 -0
  549. package/dist/theme/recipes/table-empty-row.cjs +2 -0
  550. package/dist/theme/recipes/table-empty-row.cjs.map +1 -0
  551. package/dist/theme/recipes/table-empty-row.js +19 -0
  552. package/dist/theme/recipes/table-empty-row.js.map +1 -0
  553. package/dist/theme/recipes/table-group-title.cjs +2 -0
  554. package/dist/theme/recipes/table-group-title.cjs.map +1 -0
  555. package/dist/theme/recipes/table-group-title.js +36 -0
  556. package/dist/theme/recipes/table-group-title.js.map +1 -0
  557. package/dist/theme/recipes/table.cjs +2 -0
  558. package/dist/theme/recipes/table.cjs.map +1 -0
  559. package/dist/theme/recipes/table.js +111 -0
  560. package/dist/theme/recipes/table.js.map +1 -0
  561. package/dist/theme/recipes/tabs-chip.cjs +2 -0
  562. package/dist/theme/recipes/tabs-chip.cjs.map +1 -0
  563. package/dist/theme/recipes/tabs-chip.js +49 -0
  564. package/dist/theme/recipes/tabs-chip.js.map +1 -0
  565. package/dist/theme/recipes/tabs.cjs +2 -0
  566. package/dist/theme/recipes/tabs.cjs.map +1 -0
  567. package/dist/theme/recipes/tabs.js +128 -0
  568. package/dist/theme/recipes/tabs.js.map +1 -0
  569. package/dist/theme/recipes/tag.cjs +2 -0
  570. package/dist/theme/recipes/tag.cjs.map +1 -0
  571. package/dist/theme/recipes/tag.js +124 -0
  572. package/dist/theme/recipes/tag.js.map +1 -0
  573. package/dist/theme/recipes/text.cjs +2 -0
  574. package/dist/theme/recipes/text.cjs.map +1 -0
  575. package/dist/theme/recipes/text.js +40 -0
  576. package/dist/theme/recipes/text.js.map +1 -0
  577. package/dist/theme/recipes/textarea.cjs +2 -0
  578. package/dist/theme/recipes/textarea.cjs.map +1 -0
  579. package/dist/theme/recipes/textarea.js +16 -0
  580. package/dist/theme/recipes/textarea.js.map +1 -0
  581. package/dist/theme/recipes/tooltip.cjs +2 -0
  582. package/dist/theme/recipes/tooltip.cjs.map +1 -0
  583. package/dist/theme/recipes/tooltip.js +64 -0
  584. package/dist/theme/recipes/tooltip.js.map +1 -0
  585. package/dist/theme/semantic-tokens/colors.cjs +2 -0
  586. package/dist/theme/semantic-tokens/colors.cjs.map +1 -0
  587. package/dist/theme/semantic-tokens/colors.js +143 -0
  588. package/dist/theme/semantic-tokens/colors.js.map +1 -0
  589. package/dist/theme/semantic-tokens/index.cjs +2 -0
  590. package/dist/theme/semantic-tokens/index.cjs.map +1 -0
  591. package/dist/theme/semantic-tokens/index.js +9 -0
  592. package/dist/theme/semantic-tokens/index.js.map +1 -0
  593. package/dist/theme/text-styles.cjs +2 -0
  594. package/dist/theme/text-styles.cjs.map +1 -0
  595. package/dist/theme/text-styles.js +90 -0
  596. package/dist/theme/text-styles.js.map +1 -0
  597. package/dist/theme/tokens/animations.cjs +2 -0
  598. package/dist/theme/tokens/animations.cjs.map +1 -0
  599. package/dist/theme/tokens/animations.js +48 -0
  600. package/dist/theme/tokens/animations.js.map +1 -0
  601. package/dist/theme/tokens/aspect-ratios.cjs +2 -0
  602. package/dist/theme/tokens/aspect-ratios.cjs.map +1 -0
  603. package/dist/theme/tokens/aspect-ratios.js +14 -0
  604. package/dist/theme/tokens/aspect-ratios.js.map +1 -0
  605. package/dist/theme/tokens/blurs.cjs +2 -0
  606. package/dist/theme/tokens/blurs.cjs.map +1 -0
  607. package/dist/theme/tokens/blurs.js +15 -0
  608. package/dist/theme/tokens/blurs.js.map +1 -0
  609. package/dist/theme/tokens/borders.cjs +2 -0
  610. package/dist/theme/tokens/borders.cjs.map +1 -0
  611. package/dist/theme/tokens/borders.js +11 -0
  612. package/dist/theme/tokens/borders.js.map +1 -0
  613. package/dist/theme/tokens/colors.cjs +2 -0
  614. package/dist/theme/tokens/colors.cjs.map +1 -0
  615. package/dist/theme/tokens/colors.js +80 -0
  616. package/dist/theme/tokens/colors.js.map +1 -0
  617. package/dist/theme/tokens/durations.cjs +2 -0
  618. package/dist/theme/tokens/durations.cjs.map +1 -0
  619. package/dist/theme/tokens/durations.js +15 -0
  620. package/dist/theme/tokens/durations.js.map +1 -0
  621. package/dist/theme/tokens/easings.cjs +51 -0
  622. package/dist/theme/tokens/easings.cjs.map +1 -0
  623. package/dist/theme/tokens/easings.js +95 -0
  624. package/dist/theme/tokens/easings.js.map +1 -0
  625. package/dist/theme/tokens/index.cjs +2 -0
  626. package/dist/theme/tokens/index.cjs.map +1 -0
  627. package/dist/theme/tokens/index.js +37 -0
  628. package/dist/theme/tokens/index.js.map +1 -0
  629. package/dist/theme/tokens/radii.cjs +2 -0
  630. package/dist/theme/tokens/radii.cjs.map +1 -0
  631. package/dist/theme/tokens/radii.js +29 -0
  632. package/dist/theme/tokens/radii.js.map +1 -0
  633. package/dist/theme/tokens/shadows.cjs +2 -0
  634. package/dist/theme/tokens/shadows.cjs.map +1 -0
  635. package/dist/theme/tokens/shadows.js +15 -0
  636. package/dist/theme/tokens/shadows.js.map +1 -0
  637. package/dist/theme/tokens/sizes.cjs +2 -0
  638. package/dist/theme/tokens/sizes.cjs.map +1 -0
  639. package/dist/theme/tokens/sizes.js +87 -0
  640. package/dist/theme/tokens/sizes.js.map +1 -0
  641. package/dist/theme/tokens/spacing.cjs +2 -0
  642. package/dist/theme/tokens/spacing.cjs.map +1 -0
  643. package/dist/theme/tokens/spacing.js +86 -0
  644. package/dist/theme/tokens/spacing.js.map +1 -0
  645. package/dist/theme/tokens/typography.cjs +2 -0
  646. package/dist/theme/tokens/typography.cjs.map +1 -0
  647. package/dist/theme/tokens/typography.js +87 -0
  648. package/dist/theme/tokens/typography.js.map +1 -0
  649. package/dist/theme/tokens/z-index.cjs +2 -0
  650. package/dist/theme/tokens/z-index.cjs.map +1 -0
  651. package/dist/theme/tokens/z-index.js +44 -0
  652. package/dist/theme/tokens/z-index.js.map +1 -0
  653. package/dist/theme/utilities.cjs +2 -0
  654. package/dist/theme/utilities.cjs.map +1 -0
  655. package/dist/theme/utilities.js +17 -0
  656. package/dist/theme/utilities.js.map +1 -0
  657. package/dist/ui.css +1 -1
  658. package/dist/utils/slots.cjs +2 -0
  659. package/dist/utils/slots.cjs.map +1 -0
  660. package/dist/utils/slots.js +42 -0
  661. package/dist/utils/slots.js.map +1 -0
  662. package/package.json +32 -27
  663. package/dist/icons.cjs.map +0 -1
  664. package/dist/icons.js.map +0 -1
  665. package/dist/ui.cjs +0 -79
  666. package/dist/ui.cjs.map +0 -1
  667. package/dist/ui.js.map +0 -1
@@ -0,0 +1,2 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var o=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function l(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}exports.commonjsGlobal=o;exports.getDefaultExportFromCjs=l;
2
+ //# sourceMappingURL=_commonjsHelpers.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_commonjsHelpers.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ "use client";
2
+ var o = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
3
+ function l(e) {
4
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
5
+ }
6
+ export {
7
+ o as commonjsGlobal,
8
+ l as getDefaultExportFromCjs
9
+ };
10
+ //# sourceMappingURL=_commonjsHelpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_commonjsHelpers.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
@@ -0,0 +1,2 @@
1
+ "use client";"use strict";const e=require("./_commonjsHelpers.cjs"),r=require("../node_modules/deepmerge/dist/cjs.cjs");var s=r.__require();const t=e.getDefaultExportFromCjs(s);module.exports=t;
2
+ //# sourceMappingURL=cjs.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cjs.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ "use client";
2
+ import { getDefaultExportFromCjs as e } from "./_commonjsHelpers.js";
3
+ import { __require as r } from "../node_modules/deepmerge/dist/cjs.js";
4
+ var t = r();
5
+ const m = /* @__PURE__ */ e(t);
6
+ export {
7
+ m as default
8
+ };
9
+ //# sourceMappingURL=cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
@@ -0,0 +1,2 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../node_modules/lodash/lodash.cjs");var r=e.__require();exports.lodashExports=r;
2
+ //# sourceMappingURL=lodash.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lodash.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ "use client";
2
+ import { __require as r } from "../node_modules/lodash/lodash.js";
3
+ var o = r();
4
+ export {
5
+ o as l
6
+ };
7
+ //# sourceMappingURL=lodash.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lodash.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
@@ -0,0 +1,2 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
2
+ //# sourceMappingURL=lodash2.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lodash2.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ "use client";
2
+ var e = { exports: {} };
3
+ export {
4
+ e as __module
5
+ };
6
+ //# sourceMappingURL=lodash2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lodash2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
@@ -0,0 +1,2 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),e=require("@ark-ui/react"),o=require("@stokelp/styled-system/jsx"),r=require("@stokelp/styled-system/recipes"),n=require("../../utils/slots.cjs"),{withProvider:i,withContext:t}=n.createStyleContext(r.accordion),d=i(o.styled(e.Accordion.Root),"root"),s=t(o.styled(e.Accordion.Item),"item"),l=t(o.styled(e.Accordion.ItemContent),"itemContent"),m=t(o.styled(e.Accordion.ItemIndicator),"itemIndicator",{defaultProps:{children:c.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5303 16.2847C12.2374 16.5776 11.7626 16.5776 11.4697 16.2847L3.96967 8.78473C3.67678 8.49183 3.67678 8.01696 3.96967 7.72407C4.26256 7.43117 4.73744 7.43117 5.03033 7.72407L12 14.6937L18.9697 7.72406C19.2626 7.43117 19.7374 7.43117 20.0303 7.72406C20.3232 8.01696 20.3232 8.49183 20.0303 8.78472L12.5303 16.2847Z",fill:"currentColor"})})}}),u=t(o.styled(e.Accordion.ItemTrigger),"itemTrigger");Object.defineProperty(exports,"useAccordion",{enumerable:!0,get:()=>e.useAccordion});exports.Accordion=d;exports.AccordionItem=s;exports.AccordionItemContent=l;exports.AccordionItemIndicator=m;exports.AccordionItemTrigger=u;
2
+ //# sourceMappingURL=Accordion.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Accordion.cjs","sources":["../../../src/components/accordion/Accordion.tsx"],"sourcesContent":["import { Accordion as ArkAccordion } from '@ark-ui/react'\nimport type { ComponentProps } from 'react'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { accordion } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots'\n\nexport type { UseAccordionProps, UseAccordionReturn } from '@ark-ui/react'\nexport { useAccordion } from '@ark-ui/react'\n\nconst { withProvider, withContext } = createStyleContext(accordion)\n\nexport const Accordion = withProvider(styled(ArkAccordion.Root), 'root')\nexport const AccordionItem = withContext(styled(ArkAccordion.Item), 'item')\nexport const AccordionItemContent = withContext(styled(ArkAccordion.ItemContent), 'itemContent')\nexport const AccordionItemIndicator = withContext(styled(ArkAccordion.ItemIndicator), 'itemIndicator', {\n defaultProps: {\n children: (\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M12.5303 16.2847C12.2374 16.5776 11.7626 16.5776 11.4697 16.2847L3.96967 8.78473C3.67678 8.49183 3.67678 8.01696 3.96967 7.72407C4.26256 7.43117 4.73744 7.43117 5.03033 7.72407L12 14.6937L18.9697 7.72406C19.2626 7.43117 19.7374 7.43117 20.0303 7.72406C20.3232 8.01696 20.3232 8.49183 20.0303 8.78472L12.5303 16.2847Z\"\n fill=\"currentColor\"\n />\n </svg>\n ),\n },\n})\nexport const AccordionItemTrigger = withContext(styled(ArkAccordion.ItemTrigger), 'itemTrigger')\n\nexport interface AccordionProps extends ComponentProps<typeof Accordion> {}\nexport interface AccordionItemProps extends ComponentProps<typeof AccordionItem> {}\nexport interface AccordionItemContentProps extends ComponentProps<typeof AccordionItemContent> {}\nexport interface AccordionItemIndicatorProps extends ComponentProps<typeof AccordionItemIndicator> {}\nexport interface AccordionItemTriggerProps extends ComponentProps<typeof AccordionItemTrigger> {}\n"],"names":["withProvider","withContext","createStyleContext","accordion","Accordion","styled","ArkAccordion","AccordionItem","AccordionItemContent","AccordionItemIndicator","jsx","AccordionItemTrigger"],"mappings":"oRASM,CAAE,aAAAA,EAAc,YAAAC,GAAgBC,EAAAA,mBAAmBC,EAAAA,SAAS,EAErDC,EAAYJ,EAAaK,EAAAA,OAAOC,EAAAA,UAAa,IAAI,EAAG,MAAM,EAC1DC,EAAgBN,EAAYI,EAAAA,OAAOC,EAAAA,UAAa,IAAI,EAAG,MAAM,EAC7DE,EAAuBP,EAAYI,EAAAA,OAAOC,EAAAA,UAAa,WAAW,EAAG,aAAa,EAClFG,EAAyBR,EAAYI,EAAAA,OAAOC,EAAAA,UAAa,aAAa,EAAG,gBAAiB,CACrG,aAAc,CACZ,SACEI,EAAAA,IAAC,MAAA,CAAI,MAAM,KAAK,OAAO,KAAK,QAAQ,YAAY,KAAK,OAAO,MAAM,6BAChE,SAAAA,EAAAA,IAAC,OAAA,CACC,SAAS,UACT,SAAS,UACT,EAAE,+TACF,KAAK,cAAA,CAAA,CACP,CACF,CAAA,CAGN,CAAC,EACYC,EAAuBV,EAAYI,EAAAA,OAAOC,EAAAA,UAAa,WAAW,EAAG,aAAa"}
@@ -0,0 +1,29 @@
1
+ "use client";
2
+ import { jsx as r } from "react/jsx-runtime";
3
+ import { Accordion as o } from "@ark-ui/react";
4
+ import { useAccordion as A } from "@ark-ui/react";
5
+ import { styled as t } from "@stokelp/styled-system/jsx";
6
+ import { accordion as i } from "@stokelp/styled-system/recipes";
7
+ import { createStyleContext as n } from "../../utils/slots.js";
8
+ const { withProvider: c, withContext: e } = n(i), C = c(t(o.Root), "root"), I = e(t(o.Item), "item"), f = e(t(o.ItemContent), "itemContent"), g = e(t(o.ItemIndicator), "itemIndicator", {
9
+ defaultProps: {
10
+ children: /* @__PURE__ */ r("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ r(
11
+ "path",
12
+ {
13
+ fillRule: "evenodd",
14
+ clipRule: "evenodd",
15
+ d: "M12.5303 16.2847C12.2374 16.5776 11.7626 16.5776 11.4697 16.2847L3.96967 8.78473C3.67678 8.49183 3.67678 8.01696 3.96967 7.72407C4.26256 7.43117 4.73744 7.43117 5.03033 7.72407L12 14.6937L18.9697 7.72406C19.2626 7.43117 19.7374 7.43117 20.0303 7.72406C20.3232 8.01696 20.3232 8.49183 20.0303 8.78472L12.5303 16.2847Z",
16
+ fill: "currentColor"
17
+ }
18
+ ) })
19
+ }
20
+ }), h = e(t(o.ItemTrigger), "itemTrigger");
21
+ export {
22
+ C as Accordion,
23
+ I as AccordionItem,
24
+ f as AccordionItemContent,
25
+ g as AccordionItemIndicator,
26
+ h as AccordionItemTrigger,
27
+ A as useAccordion
28
+ };
29
+ //# sourceMappingURL=Accordion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Accordion.js","sources":["../../../src/components/accordion/Accordion.tsx"],"sourcesContent":["import { Accordion as ArkAccordion } from '@ark-ui/react'\nimport type { ComponentProps } from 'react'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { accordion } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots'\n\nexport type { UseAccordionProps, UseAccordionReturn } from '@ark-ui/react'\nexport { useAccordion } from '@ark-ui/react'\n\nconst { withProvider, withContext } = createStyleContext(accordion)\n\nexport const Accordion = withProvider(styled(ArkAccordion.Root), 'root')\nexport const AccordionItem = withContext(styled(ArkAccordion.Item), 'item')\nexport const AccordionItemContent = withContext(styled(ArkAccordion.ItemContent), 'itemContent')\nexport const AccordionItemIndicator = withContext(styled(ArkAccordion.ItemIndicator), 'itemIndicator', {\n defaultProps: {\n children: (\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M12.5303 16.2847C12.2374 16.5776 11.7626 16.5776 11.4697 16.2847L3.96967 8.78473C3.67678 8.49183 3.67678 8.01696 3.96967 7.72407C4.26256 7.43117 4.73744 7.43117 5.03033 7.72407L12 14.6937L18.9697 7.72406C19.2626 7.43117 19.7374 7.43117 20.0303 7.72406C20.3232 8.01696 20.3232 8.49183 20.0303 8.78472L12.5303 16.2847Z\"\n fill=\"currentColor\"\n />\n </svg>\n ),\n },\n})\nexport const AccordionItemTrigger = withContext(styled(ArkAccordion.ItemTrigger), 'itemTrigger')\n\nexport interface AccordionProps extends ComponentProps<typeof Accordion> {}\nexport interface AccordionItemProps extends ComponentProps<typeof AccordionItem> {}\nexport interface AccordionItemContentProps extends ComponentProps<typeof AccordionItemContent> {}\nexport interface AccordionItemIndicatorProps extends ComponentProps<typeof AccordionItemIndicator> {}\nexport interface AccordionItemTriggerProps extends ComponentProps<typeof AccordionItemTrigger> {}\n"],"names":["withProvider","withContext","createStyleContext","accordion","Accordion","styled","ArkAccordion","AccordionItem","AccordionItemContent","AccordionItemIndicator","jsx","AccordionItemTrigger"],"mappings":";;;;;;;AASA,MAAM,EAAE,cAAAA,GAAc,aAAAC,MAAgBC,EAAmBC,CAAS,GAErDC,IAAYJ,EAAaK,EAAOC,EAAa,IAAI,GAAG,MAAM,GAC1DC,IAAgBN,EAAYI,EAAOC,EAAa,IAAI,GAAG,MAAM,GAC7DE,IAAuBP,EAAYI,EAAOC,EAAa,WAAW,GAAG,aAAa,GAClFG,IAAyBR,EAAYI,EAAOC,EAAa,aAAa,GAAG,iBAAiB;AAAA,EACrG,cAAc;AAAA,IACZ,UACE,gBAAAI,EAAC,OAAA,EAAI,OAAM,MAAK,QAAO,MAAK,SAAQ,aAAY,MAAK,QAAO,OAAM,8BAChE,UAAA,gBAAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,UAAS;AAAA,QACT,UAAS;AAAA,QACT,GAAE;AAAA,QACF,MAAK;AAAA,MAAA;AAAA,IAAA,EACP,CACF;AAAA,EAAA;AAGN,CAAC,GACYC,IAAuBV,EAAYI,EAAOC,EAAa,WAAW,GAAG,aAAa;"}
@@ -0,0 +1,2 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),t=require("@ark-ui/react"),e=require("@stokelp/styled-system/jsx"),i=require("@stokelp/styled-system/recipes"),n=require("../../utils/slots.cjs"),{withProvider:c,withContext:r}=n.createStyleContext(i.actionCard,{dataAttr:!0}),s=r(e.styled(t.ark.svg),"icon"),l=c(e.styled(t.ark.button),"root",{defaultProps:{role:"group"},afterSlot:o.jsx(s,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.2803 11.4741C16.5732 11.767 16.5732 12.2418 16.2803 12.5347L8.78033 20.0347C8.48744 20.3276 8.01256 20.3276 7.71967 20.0347C7.42678 19.7418 7.42678 19.267 7.71967 18.9741L14.6893 12.0044L7.71967 5.03472C7.42678 4.74183 7.42678 4.26696 7.71967 3.97406C8.01256 3.68117 8.48744 3.68117 8.78033 3.97406L16.2803 11.4741Z",fill:"currentColor"})})}),d=r(e.styled(t.ark.h3),"title"),a=r(e.styled(t.ark.p),"description");exports.ActionCard=l;exports.ActionCardDescription=a;exports.ActionCardTitle=d;
2
+ //# sourceMappingURL=ActionCard.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionCard.cjs","sources":["../../../src/components/action-card/ActionCard.tsx"],"sourcesContent":["import { ark } from '@ark-ui/react'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { actionCard } from '@stokelp/styled-system/recipes'\nimport { ComponentProps } from 'react'\nimport { createStyleContext } from '~/utils/slots.tsx'\n\nconst { withProvider, withContext } = createStyleContext(actionCard, {\n dataAttr: true,\n})\n\nconst ActionCardChevron = withContext(styled(ark.svg), 'icon')\n\nexport const ActionCard = withProvider(styled(ark.button), 'root', {\n defaultProps: {\n role: 'group',\n },\n afterSlot: (\n <ActionCardChevron viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M16.2803 11.4741C16.5732 11.767 16.5732 12.2418 16.2803 12.5347L8.78033 20.0347C8.48744 20.3276 8.01256 20.3276 7.71967 20.0347C7.42678 19.7418 7.42678 19.267 7.71967 18.9741L14.6893 12.0044L7.71967 5.03472C7.42678 4.74183 7.42678 4.26696 7.71967 3.97406C8.01256 3.68117 8.48744 3.68117 8.78033 3.97406L16.2803 11.4741Z\"\n fill=\"currentColor\"\n />\n </ActionCardChevron>\n ),\n})\nexport const ActionCardTitle = withContext(styled(ark.h3), 'title')\nexport const ActionCardDescription = withContext(styled(ark.p), 'description')\n\nexport interface ActionCardProps extends ComponentProps<typeof ActionCard> {}\nexport interface ActionCardTitleProps extends ComponentProps<typeof ActionCardTitle> {}\nexport interface ActionCardDescriptionProps extends ComponentProps<typeof ActionCardDescription> {}\n"],"names":["withProvider","withContext","createStyleContext","actionCard","ActionCardChevron","styled","ark","ActionCard","jsx","ActionCardTitle","ActionCardDescription"],"mappings":"oRAMM,CAAE,aAAAA,EAAc,YAAAC,GAAgBC,EAAAA,mBAAmBC,EAAAA,WAAY,CACnE,SAAU,EACZ,CAAC,EAEKC,EAAoBH,EAAYI,EAAAA,OAAOC,EAAAA,IAAI,GAAG,EAAG,MAAM,EAEhDC,EAAaP,EAAaK,EAAAA,OAAOC,EAAAA,IAAI,MAAM,EAAG,OAAQ,CACjE,aAAc,CACZ,KAAM,OAAA,EAER,gBACGF,EAAA,CAAkB,QAAQ,YAAY,KAAK,OAAO,MAAM,6BACvD,SAAAI,EAAAA,IAAC,OAAA,CACC,SAAS,UACT,SAAS,UACT,EAAE,kUACF,KAAK,cAAA,CAAA,CACP,CACF,CAEJ,CAAC,EACYC,EAAkBR,EAAYI,EAAAA,OAAOC,EAAAA,IAAI,EAAE,EAAG,OAAO,EACrDI,EAAwBT,EAAYI,EAAAA,OAAOC,EAAAA,IAAI,CAAC,EAAG,aAAa"}
@@ -0,0 +1,28 @@
1
+ "use client";
2
+ import { jsx as e } from "react/jsx-runtime";
3
+ import { ark as t } from "@ark-ui/react";
4
+ import { styled as o } from "@stokelp/styled-system/jsx";
5
+ import { actionCard as i } from "@stokelp/styled-system/recipes";
6
+ import { createStyleContext as n } from "../../utils/slots.js";
7
+ const { withProvider: l, withContext: r } = n(i, {
8
+ dataAttr: !0
9
+ }), c = r(o(t.svg), "icon"), m = l(o(t.button), "root", {
10
+ defaultProps: {
11
+ role: "group"
12
+ },
13
+ afterSlot: /* @__PURE__ */ e(c, { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
14
+ "path",
15
+ {
16
+ fillRule: "evenodd",
17
+ clipRule: "evenodd",
18
+ d: "M16.2803 11.4741C16.5732 11.767 16.5732 12.2418 16.2803 12.5347L8.78033 20.0347C8.48744 20.3276 8.01256 20.3276 7.71967 20.0347C7.42678 19.7418 7.42678 19.267 7.71967 18.9741L14.6893 12.0044L7.71967 5.03472C7.42678 4.74183 7.42678 4.26696 7.71967 3.97406C8.01256 3.68117 8.48744 3.68117 8.78033 3.97406L16.2803 11.4741Z",
19
+ fill: "currentColor"
20
+ }
21
+ ) })
22
+ }), f = r(o(t.h3), "title"), u = r(o(t.p), "description");
23
+ export {
24
+ m as ActionCard,
25
+ u as ActionCardDescription,
26
+ f as ActionCardTitle
27
+ };
28
+ //# sourceMappingURL=ActionCard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionCard.js","sources":["../../../src/components/action-card/ActionCard.tsx"],"sourcesContent":["import { ark } from '@ark-ui/react'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { actionCard } from '@stokelp/styled-system/recipes'\nimport { ComponentProps } from 'react'\nimport { createStyleContext } from '~/utils/slots.tsx'\n\nconst { withProvider, withContext } = createStyleContext(actionCard, {\n dataAttr: true,\n})\n\nconst ActionCardChevron = withContext(styled(ark.svg), 'icon')\n\nexport const ActionCard = withProvider(styled(ark.button), 'root', {\n defaultProps: {\n role: 'group',\n },\n afterSlot: (\n <ActionCardChevron viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M16.2803 11.4741C16.5732 11.767 16.5732 12.2418 16.2803 12.5347L8.78033 20.0347C8.48744 20.3276 8.01256 20.3276 7.71967 20.0347C7.42678 19.7418 7.42678 19.267 7.71967 18.9741L14.6893 12.0044L7.71967 5.03472C7.42678 4.74183 7.42678 4.26696 7.71967 3.97406C8.01256 3.68117 8.48744 3.68117 8.78033 3.97406L16.2803 11.4741Z\"\n fill=\"currentColor\"\n />\n </ActionCardChevron>\n ),\n})\nexport const ActionCardTitle = withContext(styled(ark.h3), 'title')\nexport const ActionCardDescription = withContext(styled(ark.p), 'description')\n\nexport interface ActionCardProps extends ComponentProps<typeof ActionCard> {}\nexport interface ActionCardTitleProps extends ComponentProps<typeof ActionCardTitle> {}\nexport interface ActionCardDescriptionProps extends ComponentProps<typeof ActionCardDescription> {}\n"],"names":["withProvider","withContext","createStyleContext","actionCard","ActionCardChevron","styled","ark","ActionCard","jsx","ActionCardTitle","ActionCardDescription"],"mappings":";;;;;;AAMA,MAAM,EAAE,cAAAA,GAAc,aAAAC,MAAgBC,EAAmBC,GAAY;AAAA,EACnE,UAAU;AACZ,CAAC,GAEKC,IAAoBH,EAAYI,EAAOC,EAAI,GAAG,GAAG,MAAM,GAEhDC,IAAaP,EAAaK,EAAOC,EAAI,MAAM,GAAG,QAAQ;AAAA,EACjE,cAAc;AAAA,IACZ,MAAM;AAAA,EAAA;AAAA,EAER,6BACGF,GAAA,EAAkB,SAAQ,aAAY,MAAK,QAAO,OAAM,8BACvD,UAAA,gBAAAI;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,UAAS;AAAA,MACT,UAAS;AAAA,MACT,GAAE;AAAA,MACF,MAAK;AAAA,IAAA;AAAA,EAAA,EACP,CACF;AAEJ,CAAC,GACYC,IAAkBR,EAAYI,EAAOC,EAAI,EAAE,GAAG,OAAO,GACrDI,IAAwBT,EAAYI,EAAOC,EAAI,CAAC,GAAG,aAAa;"}
@@ -0,0 +1,2 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),l=require("@ark-ui/react"),t=require("@stokelp/styled-system/jsx"),v=require("@stokelp/styled-system/recipes"),x=require("../../utils/slots.cjs"),a=require("react"),g=require("../icon-button/IconButton.cjs"),f=require("../icon/Icon.cjs"),{withProvider:L,withContext:r}=x.createStyleContext(v.alert),j=L(t.styled(l.ark.div),"root"),p=r(t.styled(l.ark.svg),"icon"),M=r(t.styled(l.ark.h3),"title"),Z=r(t.styled(l.ark.div),"description"),R=C=>{switch(C){default:case"neutral":return e.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 2.8125C5.58274 2.8125 2.8125 5.58274 2.8125 9C2.8125 12.4173 5.58274 15.1875 9 15.1875C12.4173 15.1875 15.1875 12.4173 15.1875 9C15.1875 5.58274 12.4173 2.8125 9 2.8125ZM1.6875 9C1.6875 4.96142 4.96142 1.6875 9 1.6875C13.0386 1.6875 16.3125 4.96142 16.3125 9C16.3125 13.0386 13.0386 16.3125 9 16.3125C4.96142 16.3125 1.6875 13.0386 1.6875 9ZM10.2208 6.06246C9.55415 5.47918 8.44619 5.47918 7.77959 6.06246C7.54579 6.26703 7.19043 6.24334 6.98586 6.00954C6.78128 5.77575 6.80498 5.42038 7.03877 5.21581C8.12953 4.2614 9.87081 4.2614 10.9616 5.21581C12.0964 6.20876 12.0964 7.85374 10.9616 8.84669C10.7691 9.01512 10.5571 9.15309 10.3335 9.26127C9.82633 9.50673 9.56267 9.84163 9.56267 10.125V10.6875C9.56267 10.9982 9.31083 11.25 9.00017 11.25C8.68951 11.25 8.43767 10.9982 8.43767 10.6875V10.125C8.43767 9.16573 9.23213 8.54448 9.84346 8.24862C9.98044 8.18233 10.1074 8.09925 10.2208 8.00004C10.8433 7.4553 10.8433 6.6072 10.2208 6.06246ZM8.4375 12.9375C8.4375 12.6268 8.68934 12.375 9 12.375H9.00562C9.31629 12.375 9.56812 12.6268 9.56812 12.9375V12.9431C9.56812 13.2538 9.31629 13.5056 9.00562 13.5056H9C8.68934 13.5056 8.4375 13.2538 8.4375 12.9431V12.9375Z",fill:"currentColor"})});case"info":return e.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 2.8125C5.58274 2.8125 2.8125 5.58274 2.8125 9C2.8125 12.4173 5.58274 15.1875 9 15.1875C12.4173 15.1875 15.1875 12.4173 15.1875 9C15.1875 5.58274 12.4173 2.8125 9 2.8125ZM1.6875 9C1.6875 4.96142 4.96142 1.6875 9 1.6875C13.0386 1.6875 16.3125 4.96142 16.3125 9C16.3125 13.0386 13.0386 16.3125 9 16.3125C4.96142 16.3125 1.6875 13.0386 1.6875 9ZM8.4375 6.1875C8.4375 5.87684 8.68934 5.625 9 5.625H9.00562C9.31629 5.625 9.56812 5.87684 9.56812 6.1875V6.19313C9.56812 6.50379 9.31629 6.75563 9.00562 6.75563H9C8.68934 6.75563 8.4375 6.50379 8.4375 6.19313V6.1875ZM8.21706 7.91883C9.07674 7.48899 10.0447 8.26546 9.81158 9.19791L9.27983 11.3249L9.31094 11.3094C9.5888 11.1705 9.92668 11.2831 10.0656 11.5609C10.2045 11.8388 10.0919 12.1767 9.81406 12.3156L9.78295 12.3312C8.92327 12.761 7.9553 11.9845 8.18842 11.0521L8.72017 8.92506L8.68906 8.94062C8.41119 9.07955 8.07332 8.96692 7.93438 8.68906C7.79545 8.41119 7.90808 8.07332 8.18594 7.93438L8.21706 7.91883Z",fill:"currentColor"})});case"success":return e.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 2.8125C5.58274 2.8125 2.8125 5.58274 2.8125 9C2.8125 12.4173 5.58274 15.1875 9 15.1875C12.4173 15.1875 15.1875 12.4173 15.1875 9C15.1875 5.58274 12.4173 2.8125 9 2.8125ZM1.6875 9C1.6875 4.96142 4.96142 1.6875 9 1.6875C13.0386 1.6875 16.3125 4.96142 16.3125 9C16.3125 13.0386 13.0386 16.3125 9 16.3125C4.96142 16.3125 1.6875 13.0386 1.6875 9ZM11.5769 6.85477C11.8297 7.03534 11.8883 7.38665 11.7077 7.63945L8.89523 11.5769C8.79912 11.7115 8.64868 11.7969 8.4839 11.8106C8.31911 11.8242 8.15667 11.7647 8.03975 11.6477L6.35225 9.96025C6.13258 9.74058 6.13258 9.38442 6.35225 9.16475C6.57192 8.94508 6.92808 8.94508 7.14775 9.16475L8.36572 10.3827L10.7923 6.98555C10.9728 6.73276 11.3242 6.67421 11.5769 6.85477Z",fill:"currentColor"})});case"warning":return e.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.97427 2.81473C9.54134 2.06432 8.45829 2.06432 8.02535 2.81473L2.50961 12.3754C2.07692 13.1254 2.6182 14.0625 3.48407 14.0625H14.5156C15.3814 14.0625 15.9227 13.1254 15.49 12.3754L9.97427 2.81473ZM7.0509 2.25255C7.91676 0.751715 10.0829 0.751714 10.9487 2.25255L16.4645 11.8132C17.3299 13.3132 16.2473 15.1875 14.5156 15.1875H3.48407C1.75234 15.1875 0.669765 13.3132 1.53515 11.8132L7.0509 2.25255ZM8.99981 6.18755C9.31047 6.18755 9.56231 6.43939 9.56231 6.75005V9.56255C9.56231 9.87321 9.31047 10.125 8.99981 10.125C8.68915 10.125 8.43731 9.87321 8.43731 9.56255V6.75005C8.43731 6.43939 8.68915 6.18755 8.99981 6.18755ZM8.43731 11.8125C8.43731 11.5019 8.68915 11.25 8.99981 11.25H9.00544C9.3161 11.25 9.56794 11.5019 9.56794 11.8125V11.8182C9.56794 12.1288 9.3161 12.3807 9.00544 12.3807H8.99981C8.68915 12.3807 8.43731 12.1288 8.43731 11.8182V11.8125Z",fill:"currentColor"})});case"error":return e.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 2.8125C5.58274 2.8125 2.8125 5.58274 2.8125 9C2.8125 12.4173 5.58274 15.1875 9 15.1875C12.4173 15.1875 15.1875 12.4173 15.1875 9C15.1875 5.58274 12.4173 2.8125 9 2.8125ZM1.6875 9C1.6875 4.96142 4.96142 1.6875 9 1.6875C13.0386 1.6875 16.3125 4.96142 16.3125 9C16.3125 13.0386 13.0386 16.3125 9 16.3125C4.96142 16.3125 1.6875 13.0386 1.6875 9ZM9 6.1875C9.31066 6.1875 9.5625 6.43934 9.5625 6.75V9.5625C9.5625 9.87316 9.31066 10.125 9 10.125C8.68934 10.125 8.4375 9.87316 8.4375 9.5625V6.75C8.4375 6.43934 8.68934 6.1875 9 6.1875ZM8.4375 11.8125C8.4375 11.5018 8.68934 11.25 9 11.25H9.00562C9.31629 11.25 9.56812 11.5018 9.56812 11.8125V11.8181C9.56812 12.1288 9.31629 12.3806 9.00562 12.3806H9C8.68934 12.3806 8.4375 12.1288 8.4375 11.8181V11.8125Z",fill:"currentColor"})})}},V=a.forwardRef(({title:C,description:n,showDismissTrigger:s,onDismiss:d,severity:i,showIcon:c=!0,icon:o,iconProps:u,...h},w)=>e.jsxs(j,{ref:w,severity:i,...h,children:[e.jsxs(M,{children:[c?e.jsx(p,{asChild:!0,children:e.jsx(f.Icon,{...u,children:o||R(i)})}):null,C,s?e.jsx(g.IconButton,{ml:"auto",onClick:d,size:"sm",variant:"tertiary","aria-label":"dismiss",children:e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.64645 3.64645C3.84171 3.45118 4.15829 3.45118 4.35355 3.64645L8 7.29289L11.6464 3.64645C11.8417 3.45118 12.1583 3.45118 12.3536 3.64645C12.5488 3.84171 12.5488 4.15829 12.3536 4.35355L8.70711 8L12.3536 11.6464C12.5488 11.8417 12.5488 12.1583 12.3536 12.3536C12.1583 12.5488 11.8417 12.5488 11.6464 12.3536L8 8.70711L4.35355 12.3536C4.15829 12.5488 3.84171 12.5488 3.64645 12.3536C3.45118 12.1583 3.45118 11.8417 3.64645 11.6464L7.29289 8L3.64645 4.35355C3.45118 4.15829 3.45118 3.84171 3.64645 3.64645Z",fill:"currentColor"})})}):null]}),n?e.jsx(Z,{children:n}):null]}));exports.Alert=V;
2
+ //# sourceMappingURL=Alert.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Alert.cjs","sources":["../../../src/components/alert/Alert.tsx"],"sourcesContent":["import { ark } from '@ark-ui/react'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { alert } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots'\nimport { type ComponentProps, forwardRef, ReactNode } from 'react'\nimport { IconButton, type IconButtonProps } from '~/components/icon-button/IconButton'\nimport { Icon, IconProps } from '~/components'\n\nconst { withProvider, withContext } = createStyleContext(alert)\n\nconst StyledAlert = withProvider(styled(ark.div), 'root')\nconst StyledAlertIcon = withContext(styled(ark.svg), 'icon')\nconst StyledAlertTitle = withContext(styled(ark.h3), 'title')\nconst StyledAlertDescription = withContext(styled(ark.div), 'description')\n\nexport interface AlertProps extends Omit<ComponentProps<typeof StyledAlert>, 'children' | 'title'> {\n title: ReactNode\n description?: ReactNode\n onDismiss?: IconButtonProps['onClick']\n showDismissTrigger?: boolean\n showIcon?: boolean\n icon?: ReactNode\n iconProps?: IconProps\n}\n\nconst getIcon = (severity: AlertProps['severity']) => {\n switch (severity) {\n default:\n case 'neutral':\n return (\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M9 2.8125C5.58274 2.8125 2.8125 5.58274 2.8125 9C2.8125 12.4173 5.58274 15.1875 9 15.1875C12.4173 15.1875 15.1875 12.4173 15.1875 9C15.1875 5.58274 12.4173 2.8125 9 2.8125ZM1.6875 9C1.6875 4.96142 4.96142 1.6875 9 1.6875C13.0386 1.6875 16.3125 4.96142 16.3125 9C16.3125 13.0386 13.0386 16.3125 9 16.3125C4.96142 16.3125 1.6875 13.0386 1.6875 9ZM10.2208 6.06246C9.55415 5.47918 8.44619 5.47918 7.77959 6.06246C7.54579 6.26703 7.19043 6.24334 6.98586 6.00954C6.78128 5.77575 6.80498 5.42038 7.03877 5.21581C8.12953 4.2614 9.87081 4.2614 10.9616 5.21581C12.0964 6.20876 12.0964 7.85374 10.9616 8.84669C10.7691 9.01512 10.5571 9.15309 10.3335 9.26127C9.82633 9.50673 9.56267 9.84163 9.56267 10.125V10.6875C9.56267 10.9982 9.31083 11.25 9.00017 11.25C8.68951 11.25 8.43767 10.9982 8.43767 10.6875V10.125C8.43767 9.16573 9.23213 8.54448 9.84346 8.24862C9.98044 8.18233 10.1074 8.09925 10.2208 8.00004C10.8433 7.4553 10.8433 6.6072 10.2208 6.06246ZM8.4375 12.9375C8.4375 12.6268 8.68934 12.375 9 12.375H9.00562C9.31629 12.375 9.56812 12.6268 9.56812 12.9375V12.9431C9.56812 13.2538 9.31629 13.5056 9.00562 13.5056H9C8.68934 13.5056 8.4375 13.2538 8.4375 12.9431V12.9375Z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n case 'info':\n return (\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M9 2.8125C5.58274 2.8125 2.8125 5.58274 2.8125 9C2.8125 12.4173 5.58274 15.1875 9 15.1875C12.4173 15.1875 15.1875 12.4173 15.1875 9C15.1875 5.58274 12.4173 2.8125 9 2.8125ZM1.6875 9C1.6875 4.96142 4.96142 1.6875 9 1.6875C13.0386 1.6875 16.3125 4.96142 16.3125 9C16.3125 13.0386 13.0386 16.3125 9 16.3125C4.96142 16.3125 1.6875 13.0386 1.6875 9ZM8.4375 6.1875C8.4375 5.87684 8.68934 5.625 9 5.625H9.00562C9.31629 5.625 9.56812 5.87684 9.56812 6.1875V6.19313C9.56812 6.50379 9.31629 6.75563 9.00562 6.75563H9C8.68934 6.75563 8.4375 6.50379 8.4375 6.19313V6.1875ZM8.21706 7.91883C9.07674 7.48899 10.0447 8.26546 9.81158 9.19791L9.27983 11.3249L9.31094 11.3094C9.5888 11.1705 9.92668 11.2831 10.0656 11.5609C10.2045 11.8388 10.0919 12.1767 9.81406 12.3156L9.78295 12.3312C8.92327 12.761 7.9553 11.9845 8.18842 11.0521L8.72017 8.92506L8.68906 8.94062C8.41119 9.07955 8.07332 8.96692 7.93438 8.68906C7.79545 8.41119 7.90808 8.07332 8.18594 7.93438L8.21706 7.91883Z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n case 'success':\n return (\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M9 2.8125C5.58274 2.8125 2.8125 5.58274 2.8125 9C2.8125 12.4173 5.58274 15.1875 9 15.1875C12.4173 15.1875 15.1875 12.4173 15.1875 9C15.1875 5.58274 12.4173 2.8125 9 2.8125ZM1.6875 9C1.6875 4.96142 4.96142 1.6875 9 1.6875C13.0386 1.6875 16.3125 4.96142 16.3125 9C16.3125 13.0386 13.0386 16.3125 9 16.3125C4.96142 16.3125 1.6875 13.0386 1.6875 9ZM11.5769 6.85477C11.8297 7.03534 11.8883 7.38665 11.7077 7.63945L8.89523 11.5769C8.79912 11.7115 8.64868 11.7969 8.4839 11.8106C8.31911 11.8242 8.15667 11.7647 8.03975 11.6477L6.35225 9.96025C6.13258 9.74058 6.13258 9.38442 6.35225 9.16475C6.57192 8.94508 6.92808 8.94508 7.14775 9.16475L8.36572 10.3827L10.7923 6.98555C10.9728 6.73276 11.3242 6.67421 11.5769 6.85477Z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n case 'warning':\n return (\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M9.97427 2.81473C9.54134 2.06432 8.45829 2.06432 8.02535 2.81473L2.50961 12.3754C2.07692 13.1254 2.6182 14.0625 3.48407 14.0625H14.5156C15.3814 14.0625 15.9227 13.1254 15.49 12.3754L9.97427 2.81473ZM7.0509 2.25255C7.91676 0.751715 10.0829 0.751714 10.9487 2.25255L16.4645 11.8132C17.3299 13.3132 16.2473 15.1875 14.5156 15.1875H3.48407C1.75234 15.1875 0.669765 13.3132 1.53515 11.8132L7.0509 2.25255ZM8.99981 6.18755C9.31047 6.18755 9.56231 6.43939 9.56231 6.75005V9.56255C9.56231 9.87321 9.31047 10.125 8.99981 10.125C8.68915 10.125 8.43731 9.87321 8.43731 9.56255V6.75005C8.43731 6.43939 8.68915 6.18755 8.99981 6.18755ZM8.43731 11.8125C8.43731 11.5019 8.68915 11.25 8.99981 11.25H9.00544C9.3161 11.25 9.56794 11.5019 9.56794 11.8125V11.8182C9.56794 12.1288 9.3161 12.3807 9.00544 12.3807H8.99981C8.68915 12.3807 8.43731 12.1288 8.43731 11.8182V11.8125Z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n case 'error':\n return (\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M9 2.8125C5.58274 2.8125 2.8125 5.58274 2.8125 9C2.8125 12.4173 5.58274 15.1875 9 15.1875C12.4173 15.1875 15.1875 12.4173 15.1875 9C15.1875 5.58274 12.4173 2.8125 9 2.8125ZM1.6875 9C1.6875 4.96142 4.96142 1.6875 9 1.6875C13.0386 1.6875 16.3125 4.96142 16.3125 9C16.3125 13.0386 13.0386 16.3125 9 16.3125C4.96142 16.3125 1.6875 13.0386 1.6875 9ZM9 6.1875C9.31066 6.1875 9.5625 6.43934 9.5625 6.75V9.5625C9.5625 9.87316 9.31066 10.125 9 10.125C8.68934 10.125 8.4375 9.87316 8.4375 9.5625V6.75C8.4375 6.43934 8.68934 6.1875 9 6.1875ZM8.4375 11.8125C8.4375 11.5018 8.68934 11.25 9 11.25H9.00562C9.31629 11.25 9.56812 11.5018 9.56812 11.8125V11.8181C9.56812 12.1288 9.31629 12.3806 9.00562 12.3806H9C8.68934 12.3806 8.4375 12.1288 8.4375 11.8181V11.8125Z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n }\n}\n\nexport const Alert = forwardRef<HTMLDivElement, AlertProps>(\n (\n { title, description, showDismissTrigger, onDismiss, severity, showIcon = true, icon, iconProps, ...props },\n ref,\n ) => {\n return (\n <StyledAlert ref={ref} severity={severity} {...props}>\n <StyledAlertTitle>\n {showIcon ? (\n <StyledAlertIcon asChild>\n <Icon {...iconProps}>{icon ? icon : getIcon(severity)}</Icon>\n </StyledAlertIcon>\n ) : null}\n {title}\n {showDismissTrigger ? (\n <IconButton ml=\"auto\" onClick={onDismiss} size=\"sm\" variant=\"tertiary\" aria-label=\"dismiss\">\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M3.64645 3.64645C3.84171 3.45118 4.15829 3.45118 4.35355 3.64645L8 7.29289L11.6464 3.64645C11.8417 3.45118 12.1583 3.45118 12.3536 3.64645C12.5488 3.84171 12.5488 4.15829 12.3536 4.35355L8.70711 8L12.3536 11.6464C12.5488 11.8417 12.5488 12.1583 12.3536 12.3536C12.1583 12.5488 11.8417 12.5488 11.6464 12.3536L8 8.70711L4.35355 12.3536C4.15829 12.5488 3.84171 12.5488 3.64645 12.3536C3.45118 12.1583 3.45118 11.8417 3.64645 11.6464L7.29289 8L3.64645 4.35355C3.45118 4.15829 3.45118 3.84171 3.64645 3.64645Z\"\n fill=\"currentColor\"\n />\n </svg>\n </IconButton>\n ) : null}\n </StyledAlertTitle>\n {description ? <StyledAlertDescription>{description}</StyledAlertDescription> : null}\n </StyledAlert>\n )\n },\n)\n"],"names":["withProvider","withContext","createStyleContext","alert","StyledAlert","styled","ark","StyledAlertIcon","StyledAlertTitle","StyledAlertDescription","getIcon","severity","jsx","Alert","forwardRef","title","description","showDismissTrigger","onDismiss","showIcon","icon","iconProps","props","ref","jsxs","Icon","IconButton"],"mappings":"gXAQM,CAAE,aAAAA,EAAc,YAAAC,GAAgBC,EAAAA,mBAAmBC,EAAAA,KAAK,EAExDC,EAAcJ,EAAaK,EAAAA,OAAOC,EAAAA,IAAI,GAAG,EAAG,MAAM,EAClDC,EAAkBN,EAAYI,EAAAA,OAAOC,EAAAA,IAAI,GAAG,EAAG,MAAM,EACrDE,EAAmBP,EAAYI,EAAAA,OAAOC,EAAAA,IAAI,EAAE,EAAG,OAAO,EACtDG,EAAyBR,EAAYI,EAAAA,OAAOC,EAAAA,IAAI,GAAG,EAAG,aAAa,EAYnEI,EAAWC,GAAqC,CACpD,OAAQA,EAAA,CACN,QACA,IAAK,UACH,OACEC,EAAAA,IAAC,MAAA,CAAI,MAAM,KAAK,OAAO,KAAK,QAAQ,YAAY,KAAK,OAAO,MAAM,6BAChE,SAAAA,EAAAA,IAAC,OAAA,CACC,SAAS,UACT,SAAS,UACT,EAAE,8oCACF,KAAK,cAAA,CAAA,EAET,EAEJ,IAAK,OACH,OACEA,EAAAA,IAAC,MAAA,CAAI,MAAM,KAAK,OAAO,KAAK,QAAQ,YAAY,KAAK,OAAO,MAAM,6BAChE,SAAAA,EAAAA,IAAC,OAAA,CACC,SAAS,UACT,SAAS,UACT,EAAE,i8BACF,KAAK,cAAA,CAAA,EAET,EAEJ,IAAK,UACH,OACEA,EAAAA,IAAC,MAAA,CAAI,MAAM,KAAK,OAAO,KAAK,QAAQ,YAAY,KAAK,OAAO,MAAM,6BAChE,SAAAA,EAAAA,IAAC,OAAA,CACC,SAAS,UACT,SAAS,UACT,EAAE,2sBACF,KAAK,cAAA,CAAA,EAET,EAEJ,IAAK,UACH,OACEA,EAAAA,IAAC,MAAA,CAAI,MAAM,KAAK,OAAO,KAAK,QAAQ,YAAY,KAAK,OAAO,MAAM,6BAChE,SAAAA,EAAAA,IAAC,OAAA,CACC,SAAS,UACT,SAAS,UACT,EAAE,01BACF,KAAK,cAAA,CAAA,EAET,EAEJ,IAAK,QACH,OACEA,EAAAA,IAAC,MAAA,CAAI,MAAM,KAAK,OAAO,KAAK,QAAQ,YAAY,KAAK,OAAO,MAAM,6BAChE,SAAAA,EAAAA,IAAC,OAAA,CACC,SAAS,UACT,SAAS,UACT,EAAE,gvBACF,KAAK,cAAA,CAAA,EAET,CAAA,CAGR,EAEaC,EAAQC,EAAAA,WACnB,CACE,CAAE,MAAAC,EAAO,YAAAC,EAAa,mBAAAC,EAAoB,UAAAC,EAAW,SAAAP,EAAU,SAAAQ,EAAW,GAAM,KAAAC,EAAM,UAAAC,EAAW,GAAGC,CAAA,EACpGC,IAGEC,EAAAA,KAACpB,EAAA,CAAY,IAAAmB,EAAU,SAAAZ,EAAqB,GAAGW,EAC7C,SAAA,CAAAE,OAAChB,EAAA,CACE,SAAA,CAAAW,EACCP,EAAAA,IAACL,EAAA,CAAgB,QAAO,GACtB,eAACkB,OAAA,CAAM,GAAGJ,EAAY,SAAAD,GAAcV,EAAQC,CAAQ,CAAA,CAAE,EACxD,EACE,KACHI,EACAE,EACCL,EAAAA,IAACc,EAAAA,WAAA,CAAW,GAAG,OAAO,QAASR,EAAW,KAAK,KAAK,QAAQ,WAAW,aAAW,UAChF,SAAAN,EAAAA,IAAC,MAAA,CAAI,MAAM,KAAK,OAAO,KAAK,QAAQ,YAAY,KAAK,OAAO,MAAM,6BAChE,SAAAA,EAAAA,IAAC,OAAA,CACC,SAAS,UACT,SAAS,UACT,EAAE,4fACF,KAAK,cAAA,CAAA,CACP,CACF,EACF,EACE,IAAA,EACN,EACCI,EAAcJ,EAAAA,IAACH,EAAA,CAAwB,SAAAO,CAAA,CAAY,EAA4B,IAAA,EAClF,CAGN"}
@@ -0,0 +1,85 @@
1
+ "use client";
2
+ import { jsxs as d, jsx as e } from "react/jsx-runtime";
3
+ import { ark as l } from "@ark-ui/react";
4
+ import { styled as C } from "@stokelp/styled-system/jsx";
5
+ import { alert as f } from "@stokelp/styled-system/recipes";
6
+ import { createStyleContext as p } from "../../utils/slots.js";
7
+ import { forwardRef as g } from "react";
8
+ import { IconButton as a } from "../icon-button/IconButton.js";
9
+ import { Icon as m } from "../icon/Icon.js";
10
+ const { withProvider: L, withContext: r } = p(f), M = L(C(l.div), "root"), Z = r(C(l.svg), "icon"), x = r(C(l.h3), "title"), V = r(C(l.div), "description"), R = (t) => {
11
+ switch (t) {
12
+ default:
13
+ case "neutral":
14
+ return /* @__PURE__ */ e("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
15
+ "path",
16
+ {
17
+ fillRule: "evenodd",
18
+ clipRule: "evenodd",
19
+ d: "M9 2.8125C5.58274 2.8125 2.8125 5.58274 2.8125 9C2.8125 12.4173 5.58274 15.1875 9 15.1875C12.4173 15.1875 15.1875 12.4173 15.1875 9C15.1875 5.58274 12.4173 2.8125 9 2.8125ZM1.6875 9C1.6875 4.96142 4.96142 1.6875 9 1.6875C13.0386 1.6875 16.3125 4.96142 16.3125 9C16.3125 13.0386 13.0386 16.3125 9 16.3125C4.96142 16.3125 1.6875 13.0386 1.6875 9ZM10.2208 6.06246C9.55415 5.47918 8.44619 5.47918 7.77959 6.06246C7.54579 6.26703 7.19043 6.24334 6.98586 6.00954C6.78128 5.77575 6.80498 5.42038 7.03877 5.21581C8.12953 4.2614 9.87081 4.2614 10.9616 5.21581C12.0964 6.20876 12.0964 7.85374 10.9616 8.84669C10.7691 9.01512 10.5571 9.15309 10.3335 9.26127C9.82633 9.50673 9.56267 9.84163 9.56267 10.125V10.6875C9.56267 10.9982 9.31083 11.25 9.00017 11.25C8.68951 11.25 8.43767 10.9982 8.43767 10.6875V10.125C8.43767 9.16573 9.23213 8.54448 9.84346 8.24862C9.98044 8.18233 10.1074 8.09925 10.2208 8.00004C10.8433 7.4553 10.8433 6.6072 10.2208 6.06246ZM8.4375 12.9375C8.4375 12.6268 8.68934 12.375 9 12.375H9.00562C9.31629 12.375 9.56812 12.6268 9.56812 12.9375V12.9431C9.56812 13.2538 9.31629 13.5056 9.00562 13.5056H9C8.68934 13.5056 8.4375 13.2538 8.4375 12.9431V12.9375Z",
20
+ fill: "currentColor"
21
+ }
22
+ ) });
23
+ case "info":
24
+ return /* @__PURE__ */ e("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
25
+ "path",
26
+ {
27
+ fillRule: "evenodd",
28
+ clipRule: "evenodd",
29
+ d: "M9 2.8125C5.58274 2.8125 2.8125 5.58274 2.8125 9C2.8125 12.4173 5.58274 15.1875 9 15.1875C12.4173 15.1875 15.1875 12.4173 15.1875 9C15.1875 5.58274 12.4173 2.8125 9 2.8125ZM1.6875 9C1.6875 4.96142 4.96142 1.6875 9 1.6875C13.0386 1.6875 16.3125 4.96142 16.3125 9C16.3125 13.0386 13.0386 16.3125 9 16.3125C4.96142 16.3125 1.6875 13.0386 1.6875 9ZM8.4375 6.1875C8.4375 5.87684 8.68934 5.625 9 5.625H9.00562C9.31629 5.625 9.56812 5.87684 9.56812 6.1875V6.19313C9.56812 6.50379 9.31629 6.75563 9.00562 6.75563H9C8.68934 6.75563 8.4375 6.50379 8.4375 6.19313V6.1875ZM8.21706 7.91883C9.07674 7.48899 10.0447 8.26546 9.81158 9.19791L9.27983 11.3249L9.31094 11.3094C9.5888 11.1705 9.92668 11.2831 10.0656 11.5609C10.2045 11.8388 10.0919 12.1767 9.81406 12.3156L9.78295 12.3312C8.92327 12.761 7.9553 11.9845 8.18842 11.0521L8.72017 8.92506L8.68906 8.94062C8.41119 9.07955 8.07332 8.96692 7.93438 8.68906C7.79545 8.41119 7.90808 8.07332 8.18594 7.93438L8.21706 7.91883Z",
30
+ fill: "currentColor"
31
+ }
32
+ ) });
33
+ case "success":
34
+ return /* @__PURE__ */ e("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
35
+ "path",
36
+ {
37
+ fillRule: "evenodd",
38
+ clipRule: "evenodd",
39
+ d: "M9 2.8125C5.58274 2.8125 2.8125 5.58274 2.8125 9C2.8125 12.4173 5.58274 15.1875 9 15.1875C12.4173 15.1875 15.1875 12.4173 15.1875 9C15.1875 5.58274 12.4173 2.8125 9 2.8125ZM1.6875 9C1.6875 4.96142 4.96142 1.6875 9 1.6875C13.0386 1.6875 16.3125 4.96142 16.3125 9C16.3125 13.0386 13.0386 16.3125 9 16.3125C4.96142 16.3125 1.6875 13.0386 1.6875 9ZM11.5769 6.85477C11.8297 7.03534 11.8883 7.38665 11.7077 7.63945L8.89523 11.5769C8.79912 11.7115 8.64868 11.7969 8.4839 11.8106C8.31911 11.8242 8.15667 11.7647 8.03975 11.6477L6.35225 9.96025C6.13258 9.74058 6.13258 9.38442 6.35225 9.16475C6.57192 8.94508 6.92808 8.94508 7.14775 9.16475L8.36572 10.3827L10.7923 6.98555C10.9728 6.73276 11.3242 6.67421 11.5769 6.85477Z",
40
+ fill: "currentColor"
41
+ }
42
+ ) });
43
+ case "warning":
44
+ return /* @__PURE__ */ e("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
45
+ "path",
46
+ {
47
+ fillRule: "evenodd",
48
+ clipRule: "evenodd",
49
+ d: "M9.97427 2.81473C9.54134 2.06432 8.45829 2.06432 8.02535 2.81473L2.50961 12.3754C2.07692 13.1254 2.6182 14.0625 3.48407 14.0625H14.5156C15.3814 14.0625 15.9227 13.1254 15.49 12.3754L9.97427 2.81473ZM7.0509 2.25255C7.91676 0.751715 10.0829 0.751714 10.9487 2.25255L16.4645 11.8132C17.3299 13.3132 16.2473 15.1875 14.5156 15.1875H3.48407C1.75234 15.1875 0.669765 13.3132 1.53515 11.8132L7.0509 2.25255ZM8.99981 6.18755C9.31047 6.18755 9.56231 6.43939 9.56231 6.75005V9.56255C9.56231 9.87321 9.31047 10.125 8.99981 10.125C8.68915 10.125 8.43731 9.87321 8.43731 9.56255V6.75005C8.43731 6.43939 8.68915 6.18755 8.99981 6.18755ZM8.43731 11.8125C8.43731 11.5019 8.68915 11.25 8.99981 11.25H9.00544C9.3161 11.25 9.56794 11.5019 9.56794 11.8125V11.8182C9.56794 12.1288 9.3161 12.3807 9.00544 12.3807H8.99981C8.68915 12.3807 8.43731 12.1288 8.43731 11.8182V11.8125Z",
50
+ fill: "currentColor"
51
+ }
52
+ ) });
53
+ case "error":
54
+ return /* @__PURE__ */ e("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
55
+ "path",
56
+ {
57
+ fillRule: "evenodd",
58
+ clipRule: "evenodd",
59
+ d: "M9 2.8125C5.58274 2.8125 2.8125 5.58274 2.8125 9C2.8125 12.4173 5.58274 15.1875 9 15.1875C12.4173 15.1875 15.1875 12.4173 15.1875 9C15.1875 5.58274 12.4173 2.8125 9 2.8125ZM1.6875 9C1.6875 4.96142 4.96142 1.6875 9 1.6875C13.0386 1.6875 16.3125 4.96142 16.3125 9C16.3125 13.0386 13.0386 16.3125 9 16.3125C4.96142 16.3125 1.6875 13.0386 1.6875 9ZM9 6.1875C9.31066 6.1875 9.5625 6.43934 9.5625 6.75V9.5625C9.5625 9.87316 9.31066 10.125 9 10.125C8.68934 10.125 8.4375 9.87316 8.4375 9.5625V6.75C8.4375 6.43934 8.68934 6.1875 9 6.1875ZM8.4375 11.8125C8.4375 11.5018 8.68934 11.25 9 11.25H9.00562C9.31629 11.25 9.56812 11.5018 9.56812 11.8125V11.8181C9.56812 12.1288 9.31629 12.3806 9.00562 12.3806H9C8.68934 12.3806 8.4375 12.1288 8.4375 11.8181V11.8125Z",
60
+ fill: "currentColor"
61
+ }
62
+ ) });
63
+ }
64
+ }, b = g(
65
+ ({ title: t, description: i, showDismissTrigger: c, onDismiss: h, severity: o, showIcon: s = !0, icon: n, iconProps: w, ...u }, v) => /* @__PURE__ */ d(M, { ref: v, severity: o, ...u, children: [
66
+ /* @__PURE__ */ d(x, { children: [
67
+ s ? /* @__PURE__ */ e(Z, { asChild: !0, children: /* @__PURE__ */ e(m, { ...w, children: n || R(o) }) }) : null,
68
+ t,
69
+ c ? /* @__PURE__ */ e(a, { ml: "auto", onClick: h, size: "sm", variant: "tertiary", "aria-label": "dismiss", children: /* @__PURE__ */ e("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
70
+ "path",
71
+ {
72
+ fillRule: "evenodd",
73
+ clipRule: "evenodd",
74
+ d: "M3.64645 3.64645C3.84171 3.45118 4.15829 3.45118 4.35355 3.64645L8 7.29289L11.6464 3.64645C11.8417 3.45118 12.1583 3.45118 12.3536 3.64645C12.5488 3.84171 12.5488 4.15829 12.3536 4.35355L8.70711 8L12.3536 11.6464C12.5488 11.8417 12.5488 12.1583 12.3536 12.3536C12.1583 12.5488 11.8417 12.5488 11.6464 12.3536L8 8.70711L4.35355 12.3536C4.15829 12.5488 3.84171 12.5488 3.64645 12.3536C3.45118 12.1583 3.45118 11.8417 3.64645 11.6464L7.29289 8L3.64645 4.35355C3.45118 4.15829 3.45118 3.84171 3.64645 3.64645Z",
75
+ fill: "currentColor"
76
+ }
77
+ ) }) }) : null
78
+ ] }),
79
+ i ? /* @__PURE__ */ e(V, { children: i }) : null
80
+ ] })
81
+ );
82
+ export {
83
+ b as Alert
84
+ };
85
+ //# sourceMappingURL=Alert.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Alert.js","sources":["../../../src/components/alert/Alert.tsx"],"sourcesContent":["import { ark } from '@ark-ui/react'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { alert } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots'\nimport { type ComponentProps, forwardRef, ReactNode } from 'react'\nimport { IconButton, type IconButtonProps } from '~/components/icon-button/IconButton'\nimport { Icon, IconProps } from '~/components'\n\nconst { withProvider, withContext } = createStyleContext(alert)\n\nconst StyledAlert = withProvider(styled(ark.div), 'root')\nconst StyledAlertIcon = withContext(styled(ark.svg), 'icon')\nconst StyledAlertTitle = withContext(styled(ark.h3), 'title')\nconst StyledAlertDescription = withContext(styled(ark.div), 'description')\n\nexport interface AlertProps extends Omit<ComponentProps<typeof StyledAlert>, 'children' | 'title'> {\n title: ReactNode\n description?: ReactNode\n onDismiss?: IconButtonProps['onClick']\n showDismissTrigger?: boolean\n showIcon?: boolean\n icon?: ReactNode\n iconProps?: IconProps\n}\n\nconst getIcon = (severity: AlertProps['severity']) => {\n switch (severity) {\n default:\n case 'neutral':\n return (\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M9 2.8125C5.58274 2.8125 2.8125 5.58274 2.8125 9C2.8125 12.4173 5.58274 15.1875 9 15.1875C12.4173 15.1875 15.1875 12.4173 15.1875 9C15.1875 5.58274 12.4173 2.8125 9 2.8125ZM1.6875 9C1.6875 4.96142 4.96142 1.6875 9 1.6875C13.0386 1.6875 16.3125 4.96142 16.3125 9C16.3125 13.0386 13.0386 16.3125 9 16.3125C4.96142 16.3125 1.6875 13.0386 1.6875 9ZM10.2208 6.06246C9.55415 5.47918 8.44619 5.47918 7.77959 6.06246C7.54579 6.26703 7.19043 6.24334 6.98586 6.00954C6.78128 5.77575 6.80498 5.42038 7.03877 5.21581C8.12953 4.2614 9.87081 4.2614 10.9616 5.21581C12.0964 6.20876 12.0964 7.85374 10.9616 8.84669C10.7691 9.01512 10.5571 9.15309 10.3335 9.26127C9.82633 9.50673 9.56267 9.84163 9.56267 10.125V10.6875C9.56267 10.9982 9.31083 11.25 9.00017 11.25C8.68951 11.25 8.43767 10.9982 8.43767 10.6875V10.125C8.43767 9.16573 9.23213 8.54448 9.84346 8.24862C9.98044 8.18233 10.1074 8.09925 10.2208 8.00004C10.8433 7.4553 10.8433 6.6072 10.2208 6.06246ZM8.4375 12.9375C8.4375 12.6268 8.68934 12.375 9 12.375H9.00562C9.31629 12.375 9.56812 12.6268 9.56812 12.9375V12.9431C9.56812 13.2538 9.31629 13.5056 9.00562 13.5056H9C8.68934 13.5056 8.4375 13.2538 8.4375 12.9431V12.9375Z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n case 'info':\n return (\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M9 2.8125C5.58274 2.8125 2.8125 5.58274 2.8125 9C2.8125 12.4173 5.58274 15.1875 9 15.1875C12.4173 15.1875 15.1875 12.4173 15.1875 9C15.1875 5.58274 12.4173 2.8125 9 2.8125ZM1.6875 9C1.6875 4.96142 4.96142 1.6875 9 1.6875C13.0386 1.6875 16.3125 4.96142 16.3125 9C16.3125 13.0386 13.0386 16.3125 9 16.3125C4.96142 16.3125 1.6875 13.0386 1.6875 9ZM8.4375 6.1875C8.4375 5.87684 8.68934 5.625 9 5.625H9.00562C9.31629 5.625 9.56812 5.87684 9.56812 6.1875V6.19313C9.56812 6.50379 9.31629 6.75563 9.00562 6.75563H9C8.68934 6.75563 8.4375 6.50379 8.4375 6.19313V6.1875ZM8.21706 7.91883C9.07674 7.48899 10.0447 8.26546 9.81158 9.19791L9.27983 11.3249L9.31094 11.3094C9.5888 11.1705 9.92668 11.2831 10.0656 11.5609C10.2045 11.8388 10.0919 12.1767 9.81406 12.3156L9.78295 12.3312C8.92327 12.761 7.9553 11.9845 8.18842 11.0521L8.72017 8.92506L8.68906 8.94062C8.41119 9.07955 8.07332 8.96692 7.93438 8.68906C7.79545 8.41119 7.90808 8.07332 8.18594 7.93438L8.21706 7.91883Z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n case 'success':\n return (\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M9 2.8125C5.58274 2.8125 2.8125 5.58274 2.8125 9C2.8125 12.4173 5.58274 15.1875 9 15.1875C12.4173 15.1875 15.1875 12.4173 15.1875 9C15.1875 5.58274 12.4173 2.8125 9 2.8125ZM1.6875 9C1.6875 4.96142 4.96142 1.6875 9 1.6875C13.0386 1.6875 16.3125 4.96142 16.3125 9C16.3125 13.0386 13.0386 16.3125 9 16.3125C4.96142 16.3125 1.6875 13.0386 1.6875 9ZM11.5769 6.85477C11.8297 7.03534 11.8883 7.38665 11.7077 7.63945L8.89523 11.5769C8.79912 11.7115 8.64868 11.7969 8.4839 11.8106C8.31911 11.8242 8.15667 11.7647 8.03975 11.6477L6.35225 9.96025C6.13258 9.74058 6.13258 9.38442 6.35225 9.16475C6.57192 8.94508 6.92808 8.94508 7.14775 9.16475L8.36572 10.3827L10.7923 6.98555C10.9728 6.73276 11.3242 6.67421 11.5769 6.85477Z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n case 'warning':\n return (\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M9.97427 2.81473C9.54134 2.06432 8.45829 2.06432 8.02535 2.81473L2.50961 12.3754C2.07692 13.1254 2.6182 14.0625 3.48407 14.0625H14.5156C15.3814 14.0625 15.9227 13.1254 15.49 12.3754L9.97427 2.81473ZM7.0509 2.25255C7.91676 0.751715 10.0829 0.751714 10.9487 2.25255L16.4645 11.8132C17.3299 13.3132 16.2473 15.1875 14.5156 15.1875H3.48407C1.75234 15.1875 0.669765 13.3132 1.53515 11.8132L7.0509 2.25255ZM8.99981 6.18755C9.31047 6.18755 9.56231 6.43939 9.56231 6.75005V9.56255C9.56231 9.87321 9.31047 10.125 8.99981 10.125C8.68915 10.125 8.43731 9.87321 8.43731 9.56255V6.75005C8.43731 6.43939 8.68915 6.18755 8.99981 6.18755ZM8.43731 11.8125C8.43731 11.5019 8.68915 11.25 8.99981 11.25H9.00544C9.3161 11.25 9.56794 11.5019 9.56794 11.8125V11.8182C9.56794 12.1288 9.3161 12.3807 9.00544 12.3807H8.99981C8.68915 12.3807 8.43731 12.1288 8.43731 11.8182V11.8125Z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n case 'error':\n return (\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M9 2.8125C5.58274 2.8125 2.8125 5.58274 2.8125 9C2.8125 12.4173 5.58274 15.1875 9 15.1875C12.4173 15.1875 15.1875 12.4173 15.1875 9C15.1875 5.58274 12.4173 2.8125 9 2.8125ZM1.6875 9C1.6875 4.96142 4.96142 1.6875 9 1.6875C13.0386 1.6875 16.3125 4.96142 16.3125 9C16.3125 13.0386 13.0386 16.3125 9 16.3125C4.96142 16.3125 1.6875 13.0386 1.6875 9ZM9 6.1875C9.31066 6.1875 9.5625 6.43934 9.5625 6.75V9.5625C9.5625 9.87316 9.31066 10.125 9 10.125C8.68934 10.125 8.4375 9.87316 8.4375 9.5625V6.75C8.4375 6.43934 8.68934 6.1875 9 6.1875ZM8.4375 11.8125C8.4375 11.5018 8.68934 11.25 9 11.25H9.00562C9.31629 11.25 9.56812 11.5018 9.56812 11.8125V11.8181C9.56812 12.1288 9.31629 12.3806 9.00562 12.3806H9C8.68934 12.3806 8.4375 12.1288 8.4375 11.8181V11.8125Z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n }\n}\n\nexport const Alert = forwardRef<HTMLDivElement, AlertProps>(\n (\n { title, description, showDismissTrigger, onDismiss, severity, showIcon = true, icon, iconProps, ...props },\n ref,\n ) => {\n return (\n <StyledAlert ref={ref} severity={severity} {...props}>\n <StyledAlertTitle>\n {showIcon ? (\n <StyledAlertIcon asChild>\n <Icon {...iconProps}>{icon ? icon : getIcon(severity)}</Icon>\n </StyledAlertIcon>\n ) : null}\n {title}\n {showDismissTrigger ? (\n <IconButton ml=\"auto\" onClick={onDismiss} size=\"sm\" variant=\"tertiary\" aria-label=\"dismiss\">\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M3.64645 3.64645C3.84171 3.45118 4.15829 3.45118 4.35355 3.64645L8 7.29289L11.6464 3.64645C11.8417 3.45118 12.1583 3.45118 12.3536 3.64645C12.5488 3.84171 12.5488 4.15829 12.3536 4.35355L8.70711 8L12.3536 11.6464C12.5488 11.8417 12.5488 12.1583 12.3536 12.3536C12.1583 12.5488 11.8417 12.5488 11.6464 12.3536L8 8.70711L4.35355 12.3536C4.15829 12.5488 3.84171 12.5488 3.64645 12.3536C3.45118 12.1583 3.45118 11.8417 3.64645 11.6464L7.29289 8L3.64645 4.35355C3.45118 4.15829 3.45118 3.84171 3.64645 3.64645Z\"\n fill=\"currentColor\"\n />\n </svg>\n </IconButton>\n ) : null}\n </StyledAlertTitle>\n {description ? <StyledAlertDescription>{description}</StyledAlertDescription> : null}\n </StyledAlert>\n )\n },\n)\n"],"names":["withProvider","withContext","createStyleContext","alert","StyledAlert","styled","ark","StyledAlertIcon","StyledAlertTitle","StyledAlertDescription","getIcon","severity","jsx","Alert","forwardRef","title","description","showDismissTrigger","onDismiss","showIcon","icon","iconProps","props","ref","jsxs","Icon","IconButton"],"mappings":"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"}
@@ -0,0 +1,2 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),t=require("@stokelp/styled-system/jsx"),s=require("@stokelp/styled-system/recipes"),a=require("../../../utils/slots.cjs"),n=require("../../icon/Icon.cjs"),c=require("../../tag/Tag.cjs"),l=require("../../../node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.cjs"),{withProvider:d,withContext:e}=a.createStyleContext(s.appNavigation,{dataAttr:!0}),u=d(t.styled("nav"),"root",{defaultProps:{}}),m=e(t.styled("header"),"header"),I=e(t.styled("main"),"body"),g=e(t.styled("div"),"item"),p=e(t.styled("div"),"itemSubItems"),y=e(t.styled("div"),"itemContent"),v=e(t.styled("p"),"itemLabel"),S=e(n.Icon,"itemIcon",{defaultProps:{size:"sm"}}),f=e(c.Tag,"itemAlpha",{defaultProps:{severity:"success"}}),b=e(t.styled("footer"),"footer"),h=e(t.styled("div"),"miniaturizeTrigger",{defaultProps:{onClick:o=>{o.preventDefault();const r=localStorage.getItem("isMiniaturizeNav")==="closed"?"open":"closed";localStorage.setItem("isMiniaturizeNav",r),o.currentTarget.setAttribute("data-state",r),window.dispatchEvent(new Event("storage"))},className:"app-navigation__miniaturizeTrigger","data-state":typeof localStorage<"u"&&localStorage.getItem("isMiniaturizeNav")||"open",children:i.jsx(n.Icon,{children:i.jsx(l,{})})}});exports.Body=I;exports.Footer=b;exports.Header=m;exports.Item=g;exports.ItemAlpha=f;exports.ItemContent=y;exports.ItemIcon=S;exports.ItemLabel=v;exports.ItemSubItems=p;exports.MiniaturizeTrigger=h;exports.Root=u;
2
+ //# sourceMappingURL=AppNavigation.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppNavigation.cjs","sources":["../../../../src/components/app/navigation/AppNavigation.tsx"],"sourcesContent":["import { styled } from '@stokelp/styled-system/jsx'\nimport { appNavigation } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots'\nimport { Icon } from '~/components/icon/Icon'\nimport { ComponentProps } from 'react'\nimport { ArrowLeftCircleIcon } from '@heroicons/react/24/outline'\nimport { Tag } from '~/components'\n\nconst { withProvider, withContext } = createStyleContext(appNavigation, {\n dataAttr: true,\n})\n\nexport const Root = withProvider(styled('nav'), 'root', {\n defaultProps: {\n //'data-state': localStorage.getItem('isMiniaturizeNav') || 'open',\n },\n})\nexport const Header = withContext(styled('header'), 'header')\nexport const Body = withContext(styled('main'), 'body')\n\nexport const Item = withContext(styled('div'), 'item')\nexport const ItemSubItems = withContext(styled('div'), 'itemSubItems')\nexport const ItemContent = withContext(styled('div'), 'itemContent')\nexport const ItemLabel = withContext(styled('p'), 'itemLabel')\nexport const ItemIcon = withContext(Icon, 'itemIcon', {\n defaultProps: {\n size: 'sm',\n },\n})\nexport const ItemAlpha = withContext(Tag, 'itemAlpha', {\n defaultProps: {\n severity: 'success',\n },\n})\n\nexport const Footer = withContext(styled('footer'), 'footer')\n\nexport const MiniaturizeTrigger = withContext(styled('div'), 'miniaturizeTrigger', {\n defaultProps: {\n onClick: e => {\n e.preventDefault()\n const currentState = localStorage.getItem('isMiniaturizeNav')\n const newState = currentState === 'closed' ? 'open' : 'closed'\n localStorage.setItem('isMiniaturizeNav', newState)\n e.currentTarget.setAttribute('data-state', newState)\n window.dispatchEvent(new Event('storage'))\n },\n className: 'app-navigation__miniaturizeTrigger',\n ...{\n 'data-state': typeof localStorage !== 'undefined' ? localStorage.getItem('isMiniaturizeNav') || 'open' : 'open',\n },\n children: (\n <Icon>\n <ArrowLeftCircleIcon />\n </Icon>\n ),\n },\n})\n\nexport interface AppNavigationProps extends ComponentProps<typeof Root> {}\nexport interface AppNavigationHeaderProps extends ComponentProps<typeof Header> {}\nexport interface AppNavigationBodyProps extends ComponentProps<typeof Body> {}\nexport interface AppNavigationItemProps extends ComponentProps<typeof Item> {}\nexport interface AppNavigationItemSubItemsProps extends ComponentProps<typeof ItemSubItems> {}\nexport interface AppNavigationItemContentProps extends ComponentProps<typeof ItemContent> {}\nexport type AppNavigationItemLabelProps = ComponentProps<typeof ItemLabel>\nexport interface AppNavigationItemIconProps extends ComponentProps<typeof ItemIcon> {}\nexport interface AppNavigationFooterProps extends ComponentProps<typeof Footer> {}\nexport interface AppNavigationMiniaturizeTriggerProps extends ComponentProps<typeof MiniaturizeTrigger> {}\n"],"names":["withProvider","withContext","createStyleContext","appNavigation","Root","styled","Header","Body","Item","ItemSubItems","ItemContent","ItemLabel","ItemIcon","Icon","ItemAlpha","Tag","Footer","MiniaturizeTrigger","e","newState","jsx","ArrowLeftCircleIcon"],"mappings":"uZAQM,CAAE,aAAAA,EAAc,YAAAC,GAAgBC,EAAAA,mBAAmBC,EAAAA,cAAe,CACtE,SAAU,EACZ,CAAC,EAEYC,EAAOJ,EAAaK,EAAAA,OAAO,KAAK,EAAG,OAAQ,CACtD,aAAc,CAAA,CAGhB,CAAC,EACYC,EAASL,EAAYI,SAAO,QAAQ,EAAG,QAAQ,EAC/CE,EAAON,EAAYI,SAAO,MAAM,EAAG,MAAM,EAEzCG,EAAOP,EAAYI,SAAO,KAAK,EAAG,MAAM,EACxCI,EAAeR,EAAYI,SAAO,KAAK,EAAG,cAAc,EACxDK,EAAcT,EAAYI,SAAO,KAAK,EAAG,aAAa,EACtDM,EAAYV,EAAYI,SAAO,GAAG,EAAG,WAAW,EAChDO,EAAWX,EAAYY,EAAAA,KAAM,WAAY,CACpD,aAAc,CACZ,KAAM,IAAA,CAEV,CAAC,EACYC,EAAYb,EAAYc,EAAAA,IAAK,YAAa,CACrD,aAAc,CACZ,SAAU,SAAA,CAEd,CAAC,EAEYC,EAASf,EAAYI,SAAO,QAAQ,EAAG,QAAQ,EAE/CY,EAAqBhB,EAAYI,EAAAA,OAAO,KAAK,EAAG,qBAAsB,CACjF,aAAc,CACZ,QAASa,GAAK,CACZA,EAAE,eAAA,EAEF,MAAMC,EADe,aAAa,QAAQ,kBAAkB,IAC1B,SAAW,OAAS,SACtD,aAAa,QAAQ,mBAAoBA,CAAQ,EACjDD,EAAE,cAAc,aAAa,aAAcC,CAAQ,EACnD,OAAO,cAAc,IAAI,MAAM,SAAS,CAAC,CAC3C,EACA,UAAW,qCAET,aAAc,OAAO,aAAiB,KAAc,aAAa,QAAQ,kBAAkB,GAAK,OAElG,SACEC,EAAAA,IAACP,OAAA,CACC,SAAAO,MAACC,IAAoB,CAAA,CACvB,CAAA,CAGN,CAAC"}
@@ -0,0 +1,48 @@
1
+ "use client";
2
+ import { jsx as i } from "react/jsx-runtime";
3
+ import { styled as e } from "@stokelp/styled-system/jsx";
4
+ import { appNavigation as n } from "@stokelp/styled-system/recipes";
5
+ import { createStyleContext as s } from "../../../utils/slots.js";
6
+ import { Icon as a } from "../../icon/Icon.js";
7
+ import { Tag as m } from "../../tag/Tag.js";
8
+ import c from "../../../node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.js";
9
+ const { withProvider: d, withContext: t } = s(n, {
10
+ dataAttr: !0
11
+ }), h = d(e("nav"), "root", {
12
+ defaultProps: {
13
+ //'data-state': localStorage.getItem('isMiniaturizeNav') || 'open',
14
+ }
15
+ }), w = t(e("header"), "header"), z = t(e("main"), "body"), b = t(e("div"), "item"), y = t(e("div"), "itemSubItems"), C = t(e("div"), "itemContent"), N = t(e("p"), "itemLabel"), P = t(a, "itemIcon", {
16
+ defaultProps: {
17
+ size: "sm"
18
+ }
19
+ }), T = t(m, "itemAlpha", {
20
+ defaultProps: {
21
+ severity: "success"
22
+ }
23
+ }), x = t(e("footer"), "footer"), A = t(e("div"), "miniaturizeTrigger", {
24
+ defaultProps: {
25
+ onClick: (o) => {
26
+ o.preventDefault();
27
+ const r = localStorage.getItem("isMiniaturizeNav") === "closed" ? "open" : "closed";
28
+ localStorage.setItem("isMiniaturizeNav", r), o.currentTarget.setAttribute("data-state", r), window.dispatchEvent(new Event("storage"));
29
+ },
30
+ className: "app-navigation__miniaturizeTrigger",
31
+ "data-state": typeof localStorage < "u" && localStorage.getItem("isMiniaturizeNav") || "open",
32
+ children: /* @__PURE__ */ i(a, { children: /* @__PURE__ */ i(c, {}) })
33
+ }
34
+ });
35
+ export {
36
+ z as Body,
37
+ x as Footer,
38
+ w as Header,
39
+ b as Item,
40
+ T as ItemAlpha,
41
+ C as ItemContent,
42
+ P as ItemIcon,
43
+ N as ItemLabel,
44
+ y as ItemSubItems,
45
+ A as MiniaturizeTrigger,
46
+ h as Root
47
+ };
48
+ //# sourceMappingURL=AppNavigation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppNavigation.js","sources":["../../../../src/components/app/navigation/AppNavigation.tsx"],"sourcesContent":["import { styled } from '@stokelp/styled-system/jsx'\nimport { appNavigation } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots'\nimport { Icon } from '~/components/icon/Icon'\nimport { ComponentProps } from 'react'\nimport { ArrowLeftCircleIcon } from '@heroicons/react/24/outline'\nimport { Tag } from '~/components'\n\nconst { withProvider, withContext } = createStyleContext(appNavigation, {\n dataAttr: true,\n})\n\nexport const Root = withProvider(styled('nav'), 'root', {\n defaultProps: {\n //'data-state': localStorage.getItem('isMiniaturizeNav') || 'open',\n },\n})\nexport const Header = withContext(styled('header'), 'header')\nexport const Body = withContext(styled('main'), 'body')\n\nexport const Item = withContext(styled('div'), 'item')\nexport const ItemSubItems = withContext(styled('div'), 'itemSubItems')\nexport const ItemContent = withContext(styled('div'), 'itemContent')\nexport const ItemLabel = withContext(styled('p'), 'itemLabel')\nexport const ItemIcon = withContext(Icon, 'itemIcon', {\n defaultProps: {\n size: 'sm',\n },\n})\nexport const ItemAlpha = withContext(Tag, 'itemAlpha', {\n defaultProps: {\n severity: 'success',\n },\n})\n\nexport const Footer = withContext(styled('footer'), 'footer')\n\nexport const MiniaturizeTrigger = withContext(styled('div'), 'miniaturizeTrigger', {\n defaultProps: {\n onClick: e => {\n e.preventDefault()\n const currentState = localStorage.getItem('isMiniaturizeNav')\n const newState = currentState === 'closed' ? 'open' : 'closed'\n localStorage.setItem('isMiniaturizeNav', newState)\n e.currentTarget.setAttribute('data-state', newState)\n window.dispatchEvent(new Event('storage'))\n },\n className: 'app-navigation__miniaturizeTrigger',\n ...{\n 'data-state': typeof localStorage !== 'undefined' ? localStorage.getItem('isMiniaturizeNav') || 'open' : 'open',\n },\n children: (\n <Icon>\n <ArrowLeftCircleIcon />\n </Icon>\n ),\n },\n})\n\nexport interface AppNavigationProps extends ComponentProps<typeof Root> {}\nexport interface AppNavigationHeaderProps extends ComponentProps<typeof Header> {}\nexport interface AppNavigationBodyProps extends ComponentProps<typeof Body> {}\nexport interface AppNavigationItemProps extends ComponentProps<typeof Item> {}\nexport interface AppNavigationItemSubItemsProps extends ComponentProps<typeof ItemSubItems> {}\nexport interface AppNavigationItemContentProps extends ComponentProps<typeof ItemContent> {}\nexport type AppNavigationItemLabelProps = ComponentProps<typeof ItemLabel>\nexport interface AppNavigationItemIconProps extends ComponentProps<typeof ItemIcon> {}\nexport interface AppNavigationFooterProps extends ComponentProps<typeof Footer> {}\nexport interface AppNavigationMiniaturizeTriggerProps extends ComponentProps<typeof MiniaturizeTrigger> {}\n"],"names":["withProvider","withContext","createStyleContext","appNavigation","Root","styled","Header","Body","Item","ItemSubItems","ItemContent","ItemLabel","ItemIcon","Icon","ItemAlpha","Tag","Footer","MiniaturizeTrigger","e","newState","jsx","ArrowLeftCircleIcon"],"mappings":";;;;;;;;AAQA,MAAM,EAAE,cAAAA,GAAc,aAAAC,MAAgBC,EAAmBC,GAAe;AAAA,EACtE,UAAU;AACZ,CAAC,GAEYC,IAAOJ,EAAaK,EAAO,KAAK,GAAG,QAAQ;AAAA,EACtD,cAAc;AAAA;AAAA,EAAA;AAGhB,CAAC,GACYC,IAASL,EAAYI,EAAO,QAAQ,GAAG,QAAQ,GAC/CE,IAAON,EAAYI,EAAO,MAAM,GAAG,MAAM,GAEzCG,IAAOP,EAAYI,EAAO,KAAK,GAAG,MAAM,GACxCI,IAAeR,EAAYI,EAAO,KAAK,GAAG,cAAc,GACxDK,IAAcT,EAAYI,EAAO,KAAK,GAAG,aAAa,GACtDM,IAAYV,EAAYI,EAAO,GAAG,GAAG,WAAW,GAChDO,IAAWX,EAAYY,GAAM,YAAY;AAAA,EACpD,cAAc;AAAA,IACZ,MAAM;AAAA,EAAA;AAEV,CAAC,GACYC,IAAYb,EAAYc,GAAK,aAAa;AAAA,EACrD,cAAc;AAAA,IACZ,UAAU;AAAA,EAAA;AAEd,CAAC,GAEYC,IAASf,EAAYI,EAAO,QAAQ,GAAG,QAAQ,GAE/CY,IAAqBhB,EAAYI,EAAO,KAAK,GAAG,sBAAsB;AAAA,EACjF,cAAc;AAAA,IACZ,SAAS,CAAAa,MAAK;AACZ,MAAAA,EAAE,eAAA;AAEF,YAAMC,IADe,aAAa,QAAQ,kBAAkB,MAC1B,WAAW,SAAS;AACtD,mBAAa,QAAQ,oBAAoBA,CAAQ,GACjDD,EAAE,cAAc,aAAa,cAAcC,CAAQ,GACnD,OAAO,cAAc,IAAI,MAAM,SAAS,CAAC;AAAA,IAC3C;AAAA,IACA,WAAW;AAAA,IAET,cAAc,OAAO,eAAiB,OAAc,aAAa,QAAQ,kBAAkB,KAAK;AAAA,IAElG,UACE,gBAAAC,EAACP,GAAA,EACC,UAAA,gBAAAO,EAACC,KAAoB,EAAA,CACvB;AAAA,EAAA;AAGN,CAAC;"}
@@ -0,0 +1,2 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("@ark-ui/react"),l=require("@stokelp/styled-system/jsx"),a=require("@stokelp/styled-system/recipes"),h=require("../../../../utils/slots.cjs"),u=require("../../../../shared/ConditionalWrapper.cjs"),{withProvider:x,withContext:i}=h.createStyleContext(a.appNavigationLanguageSelect),p=x(l.styled(t.Select.Root),"root",{defaultProps:{loopFocus:!0}}),g=i(l.styled(t.Select.Content),"content"),j=i(l.styled(t.Select.Control),"control"),v=i(l.styled(t.Select.Indicator),"indicator"),f=i(l.styled(t.Select.Item),"item"),w=i(l.styled(t.Select.ItemText),"itemText"),V=i(l.styled(t.Select.Positioner),"positioner"),H=i(l.styled(t.Select.Trigger),"trigger"),S=i(l.styled(t.Select.ValueText),"valueText"),c=[{value:"fr",label:"Français",flag:e.jsxs("svg",{width:"21",height:"15",viewBox:"0 0 21 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsxs("g",{clipPath:"url(#clip0_1401_7428)",children:[e.jsx("rect",{width:"21",height:"15",rx:"3",fill:"white"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 0H21V15H14V0Z",fill:"#F93939"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 0H7V15H0V0Z",fill:"#1A47B8"})]}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_1401_7428",children:e.jsx("rect",{width:"21",height:"15",rx:"3",fill:"white"})})})]})},{value:"en",label:"English",flag:e.jsxs("svg",{width:"21",height:"15",viewBox:"0 0 21 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsxs("g",{clipPath:"url(#clip0_1401_5918)",children:[e.jsx("rect",{width:"21",height:"15",fill:"#1A47B8"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.23397 0H0V2.5L18.7539 15L21 15V12.5L2.23397 0Z",fill:"white"}),e.jsx("path",{d:"M0.745098 0L21 13.5354V15H20.2724L0 1.45056V0H0.745098Z",fill:"#F93939"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19 0H21V2.5C21 2.5 8.0098 10.8281 2 15H0V12.5L19 0Z",fill:"white"}),e.jsx("path",{d:"M21 0H20.3218L0 13.5471V15H0.745098L21 1.46151V0Z",fill:"#F93939"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.63708 0H13.3804V4.62682H21V10.3701H13.3804V15H7.63708V10.3701H0V4.62682H7.63708V0Z",fill:"white"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.8421 0H12.1579V5.76923H21V9.23077H12.1579V15H8.8421V9.23077H0V5.76923H8.8421V0Z",fill:"#F93939"})]}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_1401_5918",children:e.jsx("rect",{width:"21",height:"15",fill:"white"})})})]})}],L=()=>{const n=t.useSelectContext(),o=n.value&&n.value.length>0?n.collection.find(n.value[0]):null;return e.jsxs(l.HStack,{gap:"space-8",width:"full",css:{"& > svg":{borderRadius:"3px"}},children:[o?.flag,e.jsx(S,{truncate:!0})]})},C=({usePortal:n=!0,positioning:o,...r})=>{const d=t.createListCollection({items:c});return e.jsxs(p,{lazyMount:!0,unmountOnExit:!0,multiple:!1,collection:d,positioning:{sameWidth:!0,gutter:0,...o},"data-recipe":"app-navigation-language-select",defaultValue:["en"],...r,children:[e.jsx(j,{children:e.jsxs(H,{children:[e.jsx(L,{}),e.jsx(v,{asChild:!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(u.ConditionalWrapper,{when:n,wrapper:s=>e.jsx(t.Portal,{children:s}),children:e.jsx(V,{children:e.jsx(g,{children:c.map(s=>e.jsx(f,{item:s,children:e.jsx(w,{truncate:!0,children:s.label})},s.value))})})}),e.jsx(t.Select.HiddenSelect,{})]})};exports.AppNavigationLanguageSelect=C;
2
+ //# sourceMappingURL=AppNavigationLanguageSelect.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppNavigationLanguageSelect.cjs","sources":["../../../../../src/components/app/navigation/language-select/AppNavigationLanguageSelect.tsx"],"sourcesContent":["import {\n createListCollection,\n Portal,\n Select as ArkSelect,\n type SelectRootProps,\n useSelectContext,\n} from '@ark-ui/react'\nimport type { FC, ReactNode } from 'react'\nimport { HStack, styled } from '@stokelp/styled-system/jsx'\n\nimport { appNavigationLanguageSelect } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots'\n\nimport { ConditionalWrapper } from '~/shared/ConditionalWrapper'\nimport { HTMLStyledProps, RecipeVariantProps } from '@stokelp/styled-system/types'\n\nconst { withProvider, withContext } = createStyleContext(appNavigationLanguageSelect)\n\nconst Root = withProvider(styled(ArkSelect.Root<SelectItem>), 'root', {\n defaultProps: {\n loopFocus: true,\n },\n})\n\nconst Content = withContext(styled(ArkSelect.Content), 'content')\nconst Control = withContext(styled(ArkSelect.Control), 'control')\nconst Indicator = withContext(styled(ArkSelect.Indicator), 'indicator')\nconst Item = withContext(styled(ArkSelect.Item), 'item')\nconst ItemText = withContext(styled(ArkSelect.ItemText), 'itemText')\nconst Positioner = withContext(styled(ArkSelect.Positioner), 'positioner')\nconst Trigger = withContext(styled(ArkSelect.Trigger), 'trigger')\nconst ValueText = withContext(styled(ArkSelect.ValueText), 'valueText')\n\ntype SelectItem = { value: string | number; label: string; disabled?: boolean; flag: ReactNode }\n\nexport type AppNavigationLanguageSelectProps = Omit<SelectRootProps<SelectItem>, 'collection' | 'multiple'> & {\n usePortal?: boolean\n} & HTMLStyledProps<'div'> &\n RecipeVariantProps<typeof appNavigationLanguageSelect>\n\nconst AVAILABLE_LANGUAGES = [\n {\n value: 'fr',\n label: 'Français',\n flag: (\n <svg width=\"21\" height=\"15\" viewBox=\"0 0 21 15\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <g clipPath=\"url(#clip0_1401_7428)\">\n <rect width=\"21\" height=\"15\" rx=\"3\" fill=\"white\" />\n <path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M14 0H21V15H14V0Z\" fill=\"#F93939\" />\n <path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M0 0H7V15H0V0Z\" fill=\"#1A47B8\" />\n </g>\n <defs>\n <clipPath id=\"clip0_1401_7428\">\n <rect width=\"21\" height=\"15\" rx=\"3\" fill=\"white\" />\n </clipPath>\n </defs>\n </svg>\n ),\n },\n {\n value: 'en',\n label: 'English',\n flag: (\n <svg width=\"21\" height=\"15\" viewBox=\"0 0 21 15\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <g clipPath=\"url(#clip0_1401_5918)\">\n <rect width=\"21\" height=\"15\" fill=\"#1A47B8\" />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M2.23397 0H0V2.5L18.7539 15L21 15V12.5L2.23397 0Z\"\n fill=\"white\"\n />\n <path d=\"M0.745098 0L21 13.5354V15H20.2724L0 1.45056V0H0.745098Z\" fill=\"#F93939\" />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M19 0H21V2.5C21 2.5 8.0098 10.8281 2 15H0V12.5L19 0Z\"\n fill=\"white\"\n />\n <path d=\"M21 0H20.3218L0 13.5471V15H0.745098L21 1.46151V0Z\" fill=\"#F93939\" />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M7.63708 0H13.3804V4.62682H21V10.3701H13.3804V15H7.63708V10.3701H0V4.62682H7.63708V0Z\"\n fill=\"white\"\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M8.8421 0H12.1579V5.76923H21V9.23077H12.1579V15H8.8421V9.23077H0V5.76923H8.8421V0Z\"\n fill=\"#F93939\"\n />\n </g>\n <defs>\n <clipPath id=\"clip0_1401_5918\">\n <rect width=\"21\" height=\"15\" fill=\"white\" />\n </clipPath>\n </defs>\n </svg>\n ),\n },\n] satisfies SelectItem[]\n\nconst InnerTrigger: FC = () => {\n const context = useSelectContext()\n const selected = context.value && context.value.length > 0 ? context.collection.find(context.value[0]) : null\n\n return (\n <HStack gap=\"space-8\" width=\"full\" css={{ '& > svg': { borderRadius: '3px' } }}>\n {selected?.flag}\n <ValueText truncate />\n </HStack>\n )\n}\n\nexport const AppNavigationLanguageSelect: FC<AppNavigationLanguageSelectProps> = ({\n usePortal = true,\n positioning,\n ...props\n}) => {\n const collection = createListCollection<SelectItem>({\n items: AVAILABLE_LANGUAGES,\n })\n\n return (\n <Root\n lazyMount\n unmountOnExit\n multiple={false}\n collection={collection}\n positioning={{ sameWidth: true, gutter: 0, ...positioning }}\n data-recipe=\"app-navigation-language-select\"\n defaultValue={['en']}\n {...props}\n >\n <Control>\n <Trigger>\n <InnerTrigger />\n <Indicator asChild>\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n 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\"\n fill=\"currentColor\"\n />\n </svg>\n </Indicator>\n </Trigger>\n </Control>\n <ConditionalWrapper when={usePortal} wrapper={children => <Portal>{children}</Portal>}>\n <Positioner>\n <Content>\n {AVAILABLE_LANGUAGES.map(item => (\n <Item key={item.value} item={item}>\n <ItemText truncate>{item.label}</ItemText>\n </Item>\n ))}\n </Content>\n </Positioner>\n </ConditionalWrapper>\n <ArkSelect.HiddenSelect />\n </Root>\n )\n}\n"],"names":["withProvider","withContext","createStyleContext","appNavigationLanguageSelect","Root","styled","ArkSelect","Content","Control","Indicator","Item","ItemText","Positioner","Trigger","ValueText","AVAILABLE_LANGUAGES","jsxs","jsx","InnerTrigger","context","useSelectContext","selected","HStack","AppNavigationLanguageSelect","usePortal","positioning","props","collection","createListCollection","ConditionalWrapper","children","Portal","item"],"mappings":"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"}