@g4rcez/components 4.0.2 → 4.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (384) hide show
  1. package/ai/SKILL.md +120 -153
  2. package/ai/docs/Alert.md +47 -48
  3. package/ai/docs/AnimatedList.md +88 -87
  4. package/ai/docs/Autocomplete.md +102 -106
  5. package/ai/docs/Button.md +33 -33
  6. package/ai/docs/Calendar.md +67 -101
  7. package/ai/docs/Card.md +59 -55
  8. package/ai/docs/Checkbox.md +77 -82
  9. package/ai/docs/CommandPalette.md +154 -172
  10. package/ai/docs/DatePicker.md +45 -64
  11. package/ai/docs/Dropdown.md +98 -126
  12. package/ai/docs/Empty.md +41 -44
  13. package/ai/docs/Expand.md +40 -54
  14. package/ai/docs/FileUpload.md +102 -109
  15. package/ai/docs/Form.md +35 -29
  16. package/ai/docs/FormReset.md +37 -37
  17. package/ai/docs/Heading.md +4 -6
  18. package/ai/docs/Input.md +73 -98
  19. package/ai/docs/InputField.md +67 -67
  20. package/ai/docs/List.md +88 -85
  21. package/ai/docs/Menu.md +62 -60
  22. package/ai/docs/Modal.md +129 -136
  23. package/ai/docs/MultiSelect.md +65 -84
  24. package/ai/docs/Notifications.md +96 -96
  25. package/ai/docs/PageCalendar.md +88 -97
  26. package/ai/docs/Polymorph.md +25 -41
  27. package/ai/docs/Progress.md +55 -51
  28. package/ai/docs/Radiobox.md +49 -41
  29. package/ai/docs/RenderOnView.md +26 -32
  30. package/ai/docs/Resizable.md +60 -65
  31. package/ai/docs/Select.md +158 -158
  32. package/ai/docs/Shortcut.md +14 -14
  33. package/ai/docs/Skeleton.md +56 -60
  34. package/ai/docs/Slider.md +26 -49
  35. package/ai/docs/Slot.md +15 -17
  36. package/ai/docs/Spinner.md +17 -15
  37. package/ai/docs/Stats.md +44 -42
  38. package/ai/docs/Step.md +60 -60
  39. package/ai/docs/Switch.md +44 -54
  40. package/ai/docs/Table.md +124 -136
  41. package/ai/docs/Tabs.md +90 -90
  42. package/ai/docs/Tag.md +63 -65
  43. package/ai/docs/TaskList.md +40 -50
  44. package/ai/docs/Textarea.md +47 -70
  45. package/ai/docs/Timeline.md +98 -96
  46. package/ai/docs/Toolbar.md +46 -46
  47. package/ai/docs/Tooltip.md +103 -103
  48. package/ai/docs/Typography.md +55 -55
  49. package/ai/docs/Wizard.md +104 -109
  50. package/ai/docs/index.md +116 -116
  51. package/dist/autocomplete-DcTNOwyg.js +393 -0
  52. package/dist/autocomplete-DcTNOwyg.js.map +1 -0
  53. package/dist/{calendar-B5lSd0ID.js → calendar-BJMHRoy2.js} +104 -105
  54. package/dist/calendar-BJMHRoy2.js.map +1 -0
  55. package/dist/components/core/button.js +10 -10
  56. package/dist/components/core/button.js.map +1 -1
  57. package/dist/components/core/tag.js +4 -4
  58. package/dist/components/core/tag.js.map +1 -1
  59. package/dist/components/display/alert.js +48 -46
  60. package/dist/components/display/alert.js.map +1 -1
  61. package/dist/components/display/calendar.js +6 -6
  62. package/dist/components/display/card.js +2 -2
  63. package/dist/components/display/card.js.map +1 -1
  64. package/dist/components/display/list.js +1 -1
  65. package/dist/components/display/list.js.map +1 -1
  66. package/dist/components/display/notifications.js +3 -3
  67. package/dist/components/display/stats.js +1 -1
  68. package/dist/components/display/tabs.js +2 -2
  69. package/dist/components/display/timeline.js +1 -1
  70. package/dist/components/floating/dropdown.js +25 -17
  71. package/dist/components/floating/dropdown.js.map +1 -1
  72. package/dist/components/floating/expand.js +7 -7
  73. package/dist/components/floating/expand.js.map +1 -1
  74. package/dist/components/floating/menu.js +10 -10
  75. package/dist/components/floating/menu.js.map +1 -1
  76. package/dist/components/floating/modal.js +106 -102
  77. package/dist/components/floating/modal.js.map +1 -1
  78. package/dist/components/floating/tooltip.js +14 -14
  79. package/dist/components/floating/tooltip.js.map +1 -1
  80. package/dist/components/form/autocomplete.js +6 -6
  81. package/dist/components/form/checkbox.js +1 -1
  82. package/dist/components/form/date-picker.js +5 -5
  83. package/dist/components/form/file-upload.js +2 -2
  84. package/dist/components/form/form.js.map +1 -1
  85. package/dist/components/form/input.js +1 -1
  86. package/dist/components/form/radiobox.js +1 -1
  87. package/dist/components/form/select.js +3 -3
  88. package/dist/components/form/switch.js +2 -2
  89. package/dist/components/form/switch.js.map +1 -1
  90. package/dist/components/table/table.js +3 -3
  91. package/dist/{date-picker-DwNo22lx.js → date-picker-Bnl07nd8.js} +8 -6
  92. package/dist/date-picker-Bnl07nd8.js.map +1 -0
  93. package/dist/{dom-Dl8XH0CK.js → dom-CyQHY7ID.js} +66 -61
  94. package/dist/dom-CyQHY7ID.js.map +1 -0
  95. package/dist/{file-upload-Brf2NkLr.js → file-upload-93d5DR4q.js} +139 -129
  96. package/dist/file-upload-93d5DR4q.js.map +1 -0
  97. package/dist/{floating-ui.react-QNHG9W4N.js → floating-ui.react-M2PGXLDp.js} +8 -8
  98. package/dist/floating-ui.react-M2PGXLDp.js.map +1 -0
  99. package/dist/{fns-D2eyJKd5.js → fns-C7Dt27Qd.js} +2 -2
  100. package/dist/fns-C7Dt27Qd.js.map +1 -0
  101. package/dist/index-BJ1ayTam.js +126 -0
  102. package/dist/index-BJ1ayTam.js.map +1 -0
  103. package/dist/index-C-PuFUZi.js.map +1 -1
  104. package/dist/{index-BelDtX5M.js → index-DDeQW0JW.js} +399 -404
  105. package/dist/index-DDeQW0JW.js.map +1 -0
  106. package/dist/index-DE4shK8D.js +215 -0
  107. package/dist/index-DE4shK8D.js.map +1 -0
  108. package/dist/{index-DJSMaZR4.js → index-DlJ_2RBL.js} +2 -2
  109. package/dist/index-DlJ_2RBL.js.map +1 -0
  110. package/dist/index.css +1 -1
  111. package/dist/index.esm-BaIwleSE.js.map +1 -1
  112. package/dist/index.js +2810 -2756
  113. package/dist/index.js.map +1 -1
  114. package/dist/{input-CrGrSnUt.js → input-_MVxmIpu.js} +116 -114
  115. package/dist/input-_MVxmIpu.js.map +1 -0
  116. package/dist/{input-field-5vYcz5tT.js → input-field-CDCOODOl.js} +63 -47
  117. package/dist/input-field-CDCOODOl.js.map +1 -0
  118. package/dist/notifications-Dp0ydKJS.js +2576 -0
  119. package/dist/notifications-Dp0ydKJS.js.map +1 -0
  120. package/dist/polymorph-B5n9fs_K.js.map +1 -1
  121. package/dist/preset/plugin.tailwind.d.ts.map +1 -1
  122. package/dist/preset/plugin.tailwind.js +20 -18
  123. package/dist/preset/preset.tailwind.js +24 -25
  124. package/dist/preset/src/styles/common.js +6 -3
  125. package/dist/preset/src/styles/dark.d.ts.map +1 -1
  126. package/dist/preset/src/styles/dark.js +9 -5
  127. package/dist/preset/src/styles/design-tokens.js +68 -89
  128. package/dist/preset/src/styles/light.d.ts.map +1 -1
  129. package/dist/preset/src/styles/light.js +9 -5
  130. package/dist/preset/src/styles/theme.js +7 -4
  131. package/dist/preset/src/styles/theme.types.d.ts +2 -1
  132. package/dist/preset/src/styles/theme.types.d.ts.map +1 -1
  133. package/dist/preset/src/styles/theme.types.js +2 -1
  134. package/dist/skeleton-BjJobYYf.js +24 -0
  135. package/dist/skeleton-BjJobYYf.js.map +1 -0
  136. package/dist/slot-CRyweuj0.js.map +1 -1
  137. package/dist/styles/common.js +6 -3
  138. package/dist/styles/dark.d.ts.map +1 -1
  139. package/dist/styles/dark.js +9 -5
  140. package/dist/styles/design-tokens.js +68 -89
  141. package/dist/styles/light.d.ts.map +1 -1
  142. package/dist/styles/light.js +9 -5
  143. package/dist/styles/theme.js +7 -4
  144. package/dist/styles/theme.types.d.ts +2 -1
  145. package/dist/styles/theme.types.d.ts.map +1 -1
  146. package/dist/styles/theme.types.js +2 -1
  147. package/dist/tabs-B0g7YtQv.js +123 -0
  148. package/dist/tabs-B0g7YtQv.js.map +1 -0
  149. package/dist/tsconfig.lib.tsbuildinfo +1 -0
  150. package/dist/{context-BFXNJVn2.js → use-translations-DSltA7H_.js} +38 -30
  151. package/dist/use-translations-DSltA7H_.js.map +1 -0
  152. package/package.json +99 -86
  153. package/ai/docs/TransferList.md +0 -142
  154. package/dist/autocomplete-Cn9Z2hLq.js +0 -375
  155. package/dist/autocomplete-Cn9Z2hLq.js.map +0 -1
  156. package/dist/calendar-B5lSd0ID.js.map +0 -1
  157. package/dist/components/core/button.d.ts +0 -77
  158. package/dist/components/core/button.d.ts.map +0 -1
  159. package/dist/components/core/heading.d.ts +0 -3
  160. package/dist/components/core/heading.d.ts.map +0 -1
  161. package/dist/components/core/polymorph.d.ts +0 -10
  162. package/dist/components/core/polymorph.d.ts.map +0 -1
  163. package/dist/components/core/render-on-view.d.ts +0 -7
  164. package/dist/components/core/render-on-view.d.ts.map +0 -1
  165. package/dist/components/core/resizable.d.ts +0 -3
  166. package/dist/components/core/resizable.d.ts.map +0 -1
  167. package/dist/components/core/slot.d.ts +0 -16
  168. package/dist/components/core/slot.d.ts.map +0 -1
  169. package/dist/components/core/tag.d.ts +0 -35
  170. package/dist/components/core/tag.d.ts.map +0 -1
  171. package/dist/components/core/typography.d.ts +0 -25
  172. package/dist/components/core/typography.d.ts.map +0 -1
  173. package/dist/components/display/alert.d.ts +0 -28
  174. package/dist/components/display/alert.d.ts.map +0 -1
  175. package/dist/components/display/calendar.d.ts +0 -42
  176. package/dist/components/display/calendar.d.ts.map +0 -1
  177. package/dist/components/display/card.d.ts +0 -29
  178. package/dist/components/display/card.d.ts.map +0 -1
  179. package/dist/components/display/empty.d.ts +0 -8
  180. package/dist/components/display/empty.d.ts.map +0 -1
  181. package/dist/components/display/list.d.ts +0 -16
  182. package/dist/components/display/list.d.ts.map +0 -1
  183. package/dist/components/display/notifications.d.ts +0 -27
  184. package/dist/components/display/notifications.d.ts.map +0 -1
  185. package/dist/components/display/progress.d.ts +0 -13
  186. package/dist/components/display/progress.d.ts.map +0 -1
  187. package/dist/components/display/shortcut.d.ts +0 -4
  188. package/dist/components/display/shortcut.d.ts.map +0 -1
  189. package/dist/components/display/skeleton.d.ts +0 -12
  190. package/dist/components/display/skeleton.d.ts.map +0 -1
  191. package/dist/components/display/spinner.d.ts +0 -5
  192. package/dist/components/display/spinner.d.ts.map +0 -1
  193. package/dist/components/display/stats.d.ts +0 -12
  194. package/dist/components/display/stats.d.ts.map +0 -1
  195. package/dist/components/display/step.d.ts +0 -24
  196. package/dist/components/display/step.d.ts.map +0 -1
  197. package/dist/components/display/tabs.d.ts +0 -24
  198. package/dist/components/display/tabs.d.ts.map +0 -1
  199. package/dist/components/display/timeline.d.ts +0 -10
  200. package/dist/components/display/timeline.d.ts.map +0 -1
  201. package/dist/components/floating/command-palette.d.ts +0 -49
  202. package/dist/components/floating/command-palette.d.ts.map +0 -1
  203. package/dist/components/floating/dropdown.d.ts +0 -15
  204. package/dist/components/floating/dropdown.d.ts.map +0 -1
  205. package/dist/components/floating/expand.d.ts +0 -11
  206. package/dist/components/floating/expand.d.ts.map +0 -1
  207. package/dist/components/floating/menu.d.ts +0 -52
  208. package/dist/components/floating/menu.d.ts.map +0 -1
  209. package/dist/components/floating/modal.d.ts +0 -60
  210. package/dist/components/floating/modal.d.ts.map +0 -1
  211. package/dist/components/floating/toolbar.d.ts +0 -6
  212. package/dist/components/floating/toolbar.d.ts.map +0 -1
  213. package/dist/components/floating/tooltip.d.ts +0 -17
  214. package/dist/components/floating/tooltip.d.ts.map +0 -1
  215. package/dist/components/floating/wizard.d.ts +0 -26
  216. package/dist/components/floating/wizard.d.ts.map +0 -1
  217. package/dist/components/form/autocomplete.d.ts +0 -16
  218. package/dist/components/form/autocomplete.d.ts.map +0 -1
  219. package/dist/components/form/checkbox.d.ts +0 -12
  220. package/dist/components/form/checkbox.d.ts.map +0 -1
  221. package/dist/components/form/date-picker.d.ts +0 -10
  222. package/dist/components/form/date-picker.d.ts.map +0 -1
  223. package/dist/components/form/file-upload.d.ts +0 -15
  224. package/dist/components/form/file-upload.d.ts.map +0 -1
  225. package/dist/components/form/form.d.ts +0 -3
  226. package/dist/components/form/form.d.ts.map +0 -1
  227. package/dist/components/form/formReset.d.ts +0 -2
  228. package/dist/components/form/formReset.d.ts.map +0 -1
  229. package/dist/components/form/free-text.d.ts +0 -11
  230. package/dist/components/form/free-text.d.ts.map +0 -1
  231. package/dist/components/form/input-field.d.ts +0 -34
  232. package/dist/components/form/input-field.d.ts.map +0 -1
  233. package/dist/components/form/input.d.ts +0 -52
  234. package/dist/components/form/input.d.ts.map +0 -1
  235. package/dist/components/form/multi-select.d.ts +0 -19
  236. package/dist/components/form/multi-select.d.ts.map +0 -1
  237. package/dist/components/form/radiobox.d.ts +0 -7
  238. package/dist/components/form/radiobox.d.ts.map +0 -1
  239. package/dist/components/form/select.d.ts +0 -13
  240. package/dist/components/form/select.d.ts.map +0 -1
  241. package/dist/components/form/slider.d.ts +0 -7
  242. package/dist/components/form/slider.d.ts.map +0 -1
  243. package/dist/components/form/switch.d.ts +0 -9
  244. package/dist/components/form/switch.d.ts.map +0 -1
  245. package/dist/components/form/task-list.d.ts +0 -3
  246. package/dist/components/form/task-list.d.ts.map +0 -1
  247. package/dist/components/form/textarea.d.ts +0 -6
  248. package/dist/components/form/textarea.d.ts.map +0 -1
  249. package/dist/components/form/transfer-list.d.ts +0 -14
  250. package/dist/components/form/transfer-list.d.ts.map +0 -1
  251. package/dist/components/form/transfer-list.js +0 -55
  252. package/dist/components/form/transfer-list.js.map +0 -1
  253. package/dist/components/index.d.ts +0 -46
  254. package/dist/components/index.d.ts.map +0 -1
  255. package/dist/components/page-calendar/calendar-header.d.ts +0 -16
  256. package/dist/components/page-calendar/calendar-header.d.ts.map +0 -1
  257. package/dist/components/page-calendar/day-view.d.ts +0 -12
  258. package/dist/components/page-calendar/day-view.d.ts.map +0 -1
  259. package/dist/components/page-calendar/event-pill.d.ts +0 -9
  260. package/dist/components/page-calendar/event-pill.d.ts.map +0 -1
  261. package/dist/components/page-calendar/index.d.ts +0 -4
  262. package/dist/components/page-calendar/index.d.ts.map +0 -1
  263. package/dist/components/page-calendar/month-view.d.ts +0 -11
  264. package/dist/components/page-calendar/month-view.d.ts.map +0 -1
  265. package/dist/components/page-calendar/page-calendar.d.ts +0 -18
  266. package/dist/components/page-calendar/page-calendar.d.ts.map +0 -1
  267. package/dist/components/page-calendar/page-calendar.types.d.ts +0 -18
  268. package/dist/components/page-calendar/page-calendar.types.d.ts.map +0 -1
  269. package/dist/components/page-calendar/page-calendar.utils.d.ts +0 -24
  270. package/dist/components/page-calendar/page-calendar.utils.d.ts.map +0 -1
  271. package/dist/components/page-calendar/week-view.d.ts +0 -11
  272. package/dist/components/page-calendar/week-view.d.ts.map +0 -1
  273. package/dist/components/table/filter.d.ts +0 -42
  274. package/dist/components/table/filter.d.ts.map +0 -1
  275. package/dist/components/table/group.d.ts +0 -17
  276. package/dist/components/table/group.d.ts.map +0 -1
  277. package/dist/components/table/index.d.ts +0 -20
  278. package/dist/components/table/index.d.ts.map +0 -1
  279. package/dist/components/table/inner-table.d.ts +0 -29
  280. package/dist/components/table/inner-table.d.ts.map +0 -1
  281. package/dist/components/table/metadata.d.ts +0 -4
  282. package/dist/components/table/metadata.d.ts.map +0 -1
  283. package/dist/components/table/pagination.d.ts +0 -3
  284. package/dist/components/table/pagination.d.ts.map +0 -1
  285. package/dist/components/table/row.d.ts +0 -12
  286. package/dist/components/table/row.d.ts.map +0 -1
  287. package/dist/components/table/sort.d.ts +0 -28
  288. package/dist/components/table/sort.d.ts.map +0 -1
  289. package/dist/components/table/table-lib.d.ts +0 -135
  290. package/dist/components/table/table-lib.d.ts.map +0 -1
  291. package/dist/components/table/table.context.d.ts +0 -10
  292. package/dist/components/table/table.context.d.ts.map +0 -1
  293. package/dist/components/table/thead.d.ts +0 -9
  294. package/dist/components/table/thead.d.ts.map +0 -1
  295. package/dist/config/context.d.ts +0 -21
  296. package/dist/config/context.d.ts.map +0 -1
  297. package/dist/config/default-translations.d.ts +0 -90
  298. package/dist/config/default-translations.d.ts.map +0 -1
  299. package/dist/config/default-tweaks.d.ts +0 -13
  300. package/dist/config/default-tweaks.d.ts.map +0 -1
  301. package/dist/constants.d.ts +0 -3
  302. package/dist/constants.d.ts.map +0 -1
  303. package/dist/context-BFXNJVn2.js.map +0 -1
  304. package/dist/date-picker-DwNo22lx.js.map +0 -1
  305. package/dist/dom-Dl8XH0CK.js.map +0 -1
  306. package/dist/file-upload-Brf2NkLr.js.map +0 -1
  307. package/dist/floating-ui.react-QNHG9W4N.js.map +0 -1
  308. package/dist/fns-D2eyJKd5.js.map +0 -1
  309. package/dist/hooks/use-click-outside.d.ts +0 -3
  310. package/dist/hooks/use-click-outside.d.ts.map +0 -1
  311. package/dist/hooks/use-color-parser.d.ts +0 -2
  312. package/dist/hooks/use-color-parser.d.ts.map +0 -1
  313. package/dist/hooks/use-components-provider.d.ts +0 -15
  314. package/dist/hooks/use-components-provider.d.ts.map +0 -1
  315. package/dist/hooks/use-debounce.d.ts +0 -5
  316. package/dist/hooks/use-debounce.d.ts.map +0 -1
  317. package/dist/hooks/use-floating-ref.d.ts +0 -2
  318. package/dist/hooks/use-floating-ref.d.ts.map +0 -1
  319. package/dist/hooks/use-form.d.ts +0 -394
  320. package/dist/hooks/use-form.d.ts.map +0 -1
  321. package/dist/hooks/use-hover.d.ts +0 -3
  322. package/dist/hooks/use-hover.d.ts.map +0 -1
  323. package/dist/hooks/use-input-id.d.ts +0 -4
  324. package/dist/hooks/use-input-id.d.ts.map +0 -1
  325. package/dist/hooks/use-is-coarse-device.d.ts +0 -2
  326. package/dist/hooks/use-is-coarse-device.d.ts.map +0 -1
  327. package/dist/hooks/use-locale.d.ts +0 -3
  328. package/dist/hooks/use-locale.d.ts.map +0 -1
  329. package/dist/hooks/use-media-query.d.ts +0 -2
  330. package/dist/hooks/use-media-query.d.ts.map +0 -1
  331. package/dist/hooks/use-on-event.d.ts +0 -4
  332. package/dist/hooks/use-on-event.d.ts.map +0 -1
  333. package/dist/hooks/use-parent.d.ts +0 -3
  334. package/dist/hooks/use-parent.d.ts.map +0 -1
  335. package/dist/hooks/use-preferences.d.ts +0 -2
  336. package/dist/hooks/use-preferences.d.ts.map +0 -1
  337. package/dist/hooks/use-previous.d.ts +0 -2
  338. package/dist/hooks/use-previous.d.ts.map +0 -1
  339. package/dist/hooks/use-reactive.d.ts +0 -2
  340. package/dist/hooks/use-reactive.d.ts.map +0 -1
  341. package/dist/hooks/use-remove-scroll.d.ts +0 -4
  342. package/dist/hooks/use-remove-scroll.d.ts.map +0 -1
  343. package/dist/hooks/use-resize-observer.d.ts +0 -2
  344. package/dist/hooks/use-resize-observer.d.ts.map +0 -1
  345. package/dist/hooks/use-stable-ref.d.ts +0 -2
  346. package/dist/hooks/use-stable-ref.d.ts.map +0 -1
  347. package/dist/hooks/use-swipe.d.ts +0 -8
  348. package/dist/hooks/use-swipe.d.ts.map +0 -1
  349. package/dist/hooks/use-translations.d.ts +0 -88
  350. package/dist/hooks/use-translations.d.ts.map +0 -1
  351. package/dist/hooks/use-tweaks.d.ts +0 -3
  352. package/dist/hooks/use-tweaks.d.ts.map +0 -1
  353. package/dist/hooks/use-window-size.d.ts +0 -5
  354. package/dist/hooks/use-window-size.d.ts.map +0 -1
  355. package/dist/index-BelDtX5M.js.map +0 -1
  356. package/dist/index-DJSMaZR4.js.map +0 -1
  357. package/dist/index-Z-fZHxfJ.js +0 -335
  358. package/dist/index-Z-fZHxfJ.js.map +0 -1
  359. package/dist/index.d.ts +0 -22
  360. package/dist/index.d.ts.map +0 -1
  361. package/dist/input-CrGrSnUt.js.map +0 -1
  362. package/dist/input-field-5vYcz5tT.js.map +0 -1
  363. package/dist/lib/combi-keys.d.ts +0 -15
  364. package/dist/lib/combi-keys.d.ts.map +0 -1
  365. package/dist/lib/dict.d.ts +0 -12
  366. package/dist/lib/dict.d.ts.map +0 -1
  367. package/dist/lib/dom.d.ts +0 -19
  368. package/dist/lib/dom.d.ts.map +0 -1
  369. package/dist/lib/fns.d.ts +0 -11
  370. package/dist/lib/fns.d.ts.map +0 -1
  371. package/dist/lib/fzf.d.ts +0 -16
  372. package/dist/lib/fzf.d.ts.map +0 -1
  373. package/dist/lib/keyboard-area.d.ts +0 -16
  374. package/dist/lib/keyboard-area.d.ts.map +0 -1
  375. package/dist/notifications-cUdVPs-B.js +0 -2786
  376. package/dist/notifications-cUdVPs-B.js.map +0 -1
  377. package/dist/skeleton-D75GFBV6.js +0 -10
  378. package/dist/skeleton-D75GFBV6.js.map +0 -1
  379. package/dist/tabs-S00a8qq8.js +0 -106
  380. package/dist/tabs-S00a8qq8.js.map +0 -1
  381. package/dist/types.d.ts +0 -26
  382. package/dist/types.d.ts.map +0 -1
  383. package/dist/use-translations-BwLKTrZv.js +0 -10
  384. package/dist/use-translations-BwLKTrZv.js.map +0 -1
@@ -4,7 +4,7 @@ import * as n from "react";
4
4
  import pt, { useMemo as ge, useRef as be, useReducer as lt, useEffect as Ee, useCallback as K, forwardRef as ct, useImperativeHandle as st, Fragment as Fa, createContext as dt, useState as Ke, useContext as mt } from "react";
5
5
  import { p as fe } from "./IconBase.es-DJ1oCtpo.js";
6
6
  import { e as ut } from "./X.es-BJ1O93El.js";
7
- import { u as _a } from "./use-translations-BwLKTrZv.js";
7
+ import { u as _a } from "./use-translations-DSltA7H_.js";
8
8
  import { Modal as ft } from "./components/floating/modal.js";
9
9
  var Ui = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
10
10
  function Pa(e) {
@@ -321,41 +321,41 @@ function Tt(e, a) {
321
321
  };
322
322
  const t = a.bits ? a.binary ? jt : kt : a.binary ? At : Et, i = a.space ? a.nonBreakingSpace ? " " : " " : "", o = typeof e == "number" ? e === 0 : e === 0n;
323
323
  if (a.signed && o) {
324
- const x = ` 0${i}${t[0]}`;
325
- return ca(x, a.fixedWidth);
324
+ const f = ` 0${i}${t[0]}`;
325
+ return ca(f, a.fixedWidth);
326
326
  }
327
327
  const r = e < 0, l = r ? "-" : a.signed ? "+" : "";
328
328
  r && (e = -e);
329
329
  const c = Mt(a);
330
- let f;
330
+ let g;
331
331
  if (e < 1) {
332
- const x = la(e, a.locale, c);
333
- f = l + x + i + t[0];
332
+ const f = la(e, a.locale, c);
333
+ g = l + f + i + t[0];
334
334
  } else {
335
- const x = Math.min(Math.floor(a.binary ? Ht(e) / Math.log(1024) : Ia(e) / 3), t.length - 1);
336
- if (e = Vt(e, (a.binary ? 1024 : 1e3) ** x), !c) {
335
+ const f = Math.min(Math.floor(a.binary ? Ht(e) / Math.log(1024) : Ia(e) / 3), t.length - 1);
336
+ if (e = Vt(e, (a.binary ? 1024 : 1e3) ** f), !c) {
337
337
  const O = Math.max(3, Math.floor(e).toString().length);
338
338
  e = e.toPrecision(O);
339
339
  }
340
- const g = la(Number(e), a.locale, c), b = t[x];
341
- f = l + g + i + b;
340
+ const v = la(Number(e), a.locale, c), b = t[f];
341
+ g = l + v + i + b;
342
342
  }
343
- return ca(f, a.fixedWidth);
343
+ return ca(g, a.fixedWidth);
344
344
  }
345
345
  var Ve = { exports: {} }, Me = { exports: {} }, T = {};
346
346
  var sa;
347
347
  function Dt() {
348
348
  if (sa) return T;
349
349
  sa = 1;
350
- var e = typeof Symbol == "function" && Symbol.for, a = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, t = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, i = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, r = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, l = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, c = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, f = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, x = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, g = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, b = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, O = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, _ = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, C = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, M = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, R = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, U = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, re = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
350
+ var e = typeof Symbol == "function" && Symbol.for, a = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, t = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, i = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, r = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, l = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, c = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, g = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, f = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, v = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, b = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, O = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, _ = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, C = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, M = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, R = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, U = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, re = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
351
351
  function I(m) {
352
352
  if (typeof m == "object" && m !== null) {
353
353
  var X = m.$$typeof;
354
354
  switch (X) {
355
355
  case a:
356
356
  switch (m = m.type, m) {
357
+ case g:
357
358
  case f:
358
- case x:
359
359
  case i:
360
360
  case r:
361
361
  case o:
@@ -364,7 +364,7 @@ function Dt() {
364
364
  default:
365
365
  switch (m = m && m.$$typeof, m) {
366
366
  case c:
367
- case g:
367
+ case v:
368
368
  case C:
369
369
  case _:
370
370
  case l:
@@ -379,10 +379,10 @@ function Dt() {
379
379
  }
380
380
  }
381
381
  function L(m) {
382
- return I(m) === x;
382
+ return I(m) === f;
383
383
  }
384
- return T.AsyncMode = f, T.ConcurrentMode = x, T.ContextConsumer = c, T.ContextProvider = l, T.Element = a, T.ForwardRef = g, T.Fragment = i, T.Lazy = C, T.Memo = _, T.Portal = t, T.Profiler = r, T.StrictMode = o, T.Suspense = b, T.isAsyncMode = function(m) {
385
- return L(m) || I(m) === f;
384
+ return T.AsyncMode = g, T.ConcurrentMode = f, T.ContextConsumer = c, T.ContextProvider = l, T.Element = a, T.ForwardRef = v, T.Fragment = i, T.Lazy = C, T.Memo = _, T.Portal = t, T.Profiler = r, T.StrictMode = o, T.Suspense = b, T.isAsyncMode = function(m) {
385
+ return L(m) || I(m) === g;
386
386
  }, T.isConcurrentMode = L, T.isContextConsumer = function(m) {
387
387
  return I(m) === c;
388
388
  }, T.isContextProvider = function(m) {
@@ -390,7 +390,7 @@ function Dt() {
390
390
  }, T.isElement = function(m) {
391
391
  return typeof m == "object" && m !== null && m.$$typeof === a;
392
392
  }, T.isForwardRef = function(m) {
393
- return I(m) === g;
393
+ return I(m) === v;
394
394
  }, T.isFragment = function(m) {
395
395
  return I(m) === i;
396
396
  }, T.isLazy = function(m) {
@@ -406,17 +406,17 @@ function Dt() {
406
406
  }, T.isSuspense = function(m) {
407
407
  return I(m) === b;
408
408
  }, T.isValidElementType = function(m) {
409
- return typeof m == "string" || typeof m == "function" || m === i || m === x || m === r || m === o || m === b || m === O || typeof m == "object" && m !== null && (m.$$typeof === C || m.$$typeof === _ || m.$$typeof === l || m.$$typeof === c || m.$$typeof === g || m.$$typeof === R || m.$$typeof === U || m.$$typeof === re || m.$$typeof === M);
409
+ return typeof m == "string" || typeof m == "function" || m === i || m === f || m === r || m === o || m === b || m === O || typeof m == "object" && m !== null && (m.$$typeof === C || m.$$typeof === _ || m.$$typeof === l || m.$$typeof === c || m.$$typeof === v || m.$$typeof === R || m.$$typeof === U || m.$$typeof === re || m.$$typeof === M);
410
410
  }, T.typeOf = I, T;
411
411
  }
412
412
  var D = {};
413
413
  var da;
414
414
  function Zt() {
415
415
  return da || (da = 1, process.env.NODE_ENV !== "production" && (function() {
416
- var e = typeof Symbol == "function" && Symbol.for, a = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, t = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, i = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, r = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, l = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, c = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, f = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, x = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, g = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, b = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, O = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, _ = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, C = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, M = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, R = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, U = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, re = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
416
+ var e = typeof Symbol == "function" && Symbol.for, a = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, t = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, i = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, r = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, l = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, c = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, g = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, f = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, v = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, b = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, O = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, _ = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, C = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, M = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, R = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, U = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, re = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
417
417
  function I(s) {
418
418
  return typeof s == "string" || typeof s == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
419
- s === i || s === x || s === r || s === o || s === b || s === O || typeof s == "object" && s !== null && (s.$$typeof === C || s.$$typeof === _ || s.$$typeof === l || s.$$typeof === c || s.$$typeof === g || s.$$typeof === R || s.$$typeof === U || s.$$typeof === re || s.$$typeof === M);
419
+ s === i || s === f || s === r || s === o || s === b || s === O || typeof s == "object" && s !== null && (s.$$typeof === C || s.$$typeof === _ || s.$$typeof === l || s.$$typeof === c || s.$$typeof === v || s.$$typeof === R || s.$$typeof === U || s.$$typeof === re || s.$$typeof === M);
420
420
  }
421
421
  function L(s) {
422
422
  if (typeof s == "object" && s !== null) {
@@ -425,8 +425,8 @@ function Zt() {
425
425
  case a:
426
426
  var me = s.type;
427
427
  switch (me) {
428
+ case g:
428
429
  case f:
429
- case x:
430
430
  case i:
431
431
  case r:
432
432
  case o:
@@ -436,7 +436,7 @@ function Zt() {
436
436
  var ye = me && me.$$typeof;
437
437
  switch (ye) {
438
438
  case c:
439
- case g:
439
+ case v:
440
440
  case C:
441
441
  case _:
442
442
  case l:
@@ -450,12 +450,12 @@ function Zt() {
450
450
  }
451
451
  }
452
452
  }
453
- var m = f, X = x, J = c, ce = l, te = a, ie = g, se = i, de = C, pe = _, S = t, W = r, G = o, Q = b, le = !1;
453
+ var m = g, X = f, J = c, ce = l, te = a, ie = v, se = i, de = C, pe = _, S = t, W = r, G = o, Q = b, le = !1;
454
454
  function q(s) {
455
- return le || (le = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), p(s) || L(s) === f;
455
+ return le || (le = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), p(s) || L(s) === g;
456
456
  }
457
457
  function p(s) {
458
- return L(s) === x;
458
+ return L(s) === f;
459
459
  }
460
460
  function u(s) {
461
461
  return L(s) === c;
@@ -467,7 +467,7 @@ function Zt() {
467
467
  return typeof s == "object" && s !== null && s.$$typeof === a;
468
468
  }
469
469
  function h(s) {
470
- return L(s) === g;
470
+ return L(s) === v;
471
471
  }
472
472
  function E(s) {
473
473
  return L(s) === i;
@@ -516,31 +516,31 @@ function Ot() {
516
516
  return !1;
517
517
  for (var l = {}, c = 0; c < 10; c++)
518
518
  l["_" + String.fromCharCode(c)] = c;
519
- var f = Object.getOwnPropertyNames(l).map(function(g) {
520
- return l[g];
519
+ var g = Object.getOwnPropertyNames(l).map(function(v) {
520
+ return l[v];
521
521
  });
522
- if (f.join("") !== "0123456789")
522
+ if (g.join("") !== "0123456789")
523
523
  return !1;
524
- var x = {};
525
- return "abcdefghijklmnopqrst".split("").forEach(function(g) {
526
- x[g] = g;
527
- }), Object.keys(Object.assign({}, x)).join("") === "abcdefghijklmnopqrst";
524
+ var f = {};
525
+ return "abcdefghijklmnopqrst".split("").forEach(function(v) {
526
+ f[v] = v;
527
+ }), Object.keys(Object.assign({}, f)).join("") === "abcdefghijklmnopqrst";
528
528
  } catch {
529
529
  return !1;
530
530
  }
531
531
  }
532
532
  return qe = o() ? Object.assign : function(r, l) {
533
- for (var c, f = i(r), x, g = 1; g < arguments.length; g++) {
534
- c = Object(arguments[g]);
533
+ for (var c, g = i(r), f, v = 1; v < arguments.length; v++) {
534
+ c = Object(arguments[v]);
535
535
  for (var b in c)
536
- a.call(c, b) && (f[b] = c[b]);
536
+ a.call(c, b) && (g[b] = c[b]);
537
537
  if (e) {
538
- x = e(c);
539
- for (var O = 0; O < x.length; O++)
540
- t.call(c, x[O]) && (f[x[O]] = c[x[O]]);
538
+ f = e(c);
539
+ for (var O = 0; O < f.length; O++)
540
+ t.call(c, f[O]) && (g[f[O]] = c[f[O]]);
541
541
  }
542
542
  }
543
- return f;
543
+ return g;
544
544
  }, qe;
545
545
  }
546
546
  var $e, fa;
@@ -571,27 +571,27 @@ function Ft() {
571
571
  }
572
572
  };
573
573
  }
574
- function o(r, l, c, f, x) {
574
+ function o(r, l, c, g, f) {
575
575
  if (process.env.NODE_ENV !== "production") {
576
- for (var g in r)
577
- if (i(r, g)) {
576
+ for (var v in r)
577
+ if (i(r, v)) {
578
578
  var b;
579
579
  try {
580
- if (typeof r[g] != "function") {
580
+ if (typeof r[v] != "function") {
581
581
  var O = Error(
582
- (f || "React class") + ": " + c + " type `" + g + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof r[g] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
582
+ (g || "React class") + ": " + c + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof r[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
583
583
  );
584
584
  throw O.name = "Invariant Violation", O;
585
585
  }
586
- b = r[g](l, g, f, c, null, a);
586
+ b = r[v](l, v, g, c, null, a);
587
587
  } catch (C) {
588
588
  b = C;
589
589
  }
590
590
  if (b && !(b instanceof Error) && e(
591
- (f || "React class") + ": type specification of " + c + " `" + g + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof b + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
591
+ (g || "React class") + ": type specification of " + c + " `" + v + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof b + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
592
592
  ), b instanceof Error && !(b.message in t)) {
593
593
  t[b.message] = !0;
594
- var _ = x ? x() : "";
594
+ var _ = f ? f() : "";
595
595
  e(
596
596
  "Failed " + c + " type: " + b.message + (_ ?? "")
597
597
  );
@@ -610,20 +610,20 @@ function _t() {
610
610
  var e = La(), a = Ot(), t = /* @__PURE__ */ na(), i = /* @__PURE__ */ qa(), o = /* @__PURE__ */ Ft(), r = function() {
611
611
  };
612
612
  process.env.NODE_ENV !== "production" && (r = function(c) {
613
- var f = "Warning: " + c;
614
- typeof console < "u" && console.error(f);
613
+ var g = "Warning: " + c;
614
+ typeof console < "u" && console.error(g);
615
615
  try {
616
- throw new Error(f);
616
+ throw new Error(g);
617
617
  } catch {
618
618
  }
619
619
  });
620
620
  function l() {
621
621
  return null;
622
622
  }
623
- return Ye = function(c, f) {
624
- var x = typeof Symbol == "function" && Symbol.iterator, g = "@@iterator";
623
+ return Ye = function(c, g) {
624
+ var f = typeof Symbol == "function" && Symbol.iterator, v = "@@iterator";
625
625
  function b(p) {
626
- var u = p && (x && p[x] || p[g]);
626
+ var u = p && (f && p[f] || p[v]);
627
627
  if (typeof u == "function")
628
628
  return u;
629
629
  }
@@ -660,7 +660,7 @@ function _t() {
660
660
  var u = {}, w = 0;
661
661
  function k(E, A, y, j, V, H, N) {
662
662
  if (j = j || O, H = H || y, N !== t) {
663
- if (f) {
663
+ if (g) {
664
664
  var s = new Error(
665
665
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
666
666
  );
@@ -934,7 +934,7 @@ function Pt() {
934
934
  function t() {
935
935
  }
936
936
  return t.resetWarningCache = a, We = function() {
937
- function i(l, c, f, x, g, b) {
937
+ function i(l, c, g, f, v, b) {
938
938
  if (b !== e) {
939
939
  var O = new Error(
940
940
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
@@ -991,24 +991,24 @@ function ve(e, a, t, i) {
991
991
  });
992
992
  }
993
993
  return new (t || (t = Promise))(function(r, l) {
994
- function c(g) {
994
+ function c(v) {
995
995
  try {
996
- x(i.next(g));
996
+ f(i.next(v));
997
997
  } catch (b) {
998
998
  l(b);
999
999
  }
1000
1000
  }
1001
- function f(g) {
1001
+ function g(v) {
1002
1002
  try {
1003
- x(i.throw(g));
1003
+ f(i.throw(v));
1004
1004
  } catch (b) {
1005
1005
  l(b);
1006
1006
  }
1007
1007
  }
1008
- function x(g) {
1009
- g.done ? r(g.value) : o(g.value).then(c, f);
1008
+ function f(v) {
1009
+ v.done ? r(v.value) : o(v.value).then(c, g);
1010
1010
  }
1011
- x((i = i.apply(e, a || [])).next());
1011
+ f((i = i.apply(e, a || [])).next());
1012
1012
  });
1013
1013
  }
1014
1014
  const Rt = /* @__PURE__ */ new Map([
@@ -2446,8 +2446,8 @@ function ti(e, a) {
2446
2446
  try {
2447
2447
  for (t = t.call(e); !(o = (l = t.next()).done) && (i.push(l.value), !(a && i.length === a)); o = !0)
2448
2448
  ;
2449
- } catch (f) {
2450
- r = !0, c = f;
2449
+ } catch (g) {
2450
+ r = !0, c = g;
2451
2451
  } finally {
2452
2452
  try {
2453
2453
  !o && t.return != null && t.return();
@@ -2504,8 +2504,8 @@ function ue(e) {
2504
2504
  }
2505
2505
  function mi(e) {
2506
2506
  var a = e.files, t = e.accept, i = e.minSize, o = e.maxSize, r = e.multiple, l = e.maxFiles, c = e.validator;
2507
- return !r && a.length > 1 || r && l >= 1 && a.length > l ? !1 : a.every(function(f) {
2508
- var x = Wa(f, t), g = Ae(x, 1), b = g[0], O = Ua(f, i, o), _ = Ae(O, 1), C = _[0], M = c ? c(f) : null;
2507
+ return !r && a.length > 1 || r && l >= 1 && a.length > l ? !1 : a.every(function(g) {
2508
+ var f = Wa(g, t), v = Ae(f, 1), b = v[0], O = Ua(g, i, o), _ = Ae(O, 1), C = _[0], M = c ? c(g) : null;
2509
2509
  return b && C && !M;
2510
2510
  });
2511
2511
  }
@@ -2624,8 +2624,8 @@ function Ti(e, a) {
2624
2624
  try {
2625
2625
  for (t = t.call(e); !(o = (l = t.next()).done) && (i.push(l.value), !(a && i.length === a)); o = !0)
2626
2626
  ;
2627
- } catch (f) {
2628
- r = !0, c = f;
2627
+ } catch (g) {
2628
+ r = !0, c = g;
2629
2629
  } finally {
2630
2630
  try {
2631
2631
  !o && t.return != null && t.return();
@@ -2888,7 +2888,7 @@ var ia = {
2888
2888
  fileRejections: []
2889
2889
  };
2890
2890
  function Qa() {
2891
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = P(P({}, Xa), e), t = a.accept, i = a.disabled, o = a.getFilesFromEvent, r = a.maxSize, l = a.minSize, c = a.multiple, f = a.maxFiles, x = a.onDragEnter, g = a.onDragLeave, b = a.onDragOver, O = a.onDrop, _ = a.onDropAccepted, C = a.onDropRejected, M = a.onFileDialogCancel, R = a.onFileDialogOpen, U = a.useFsAccessApi, re = a.autoFocus, I = a.preventDropOnDocument, L = a.noClick, m = a.noKeyboard, X = a.noDrag, J = a.noDragEventsBubbling, ce = a.onError, te = a.validator, ie = ge(function() {
2891
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = P(P({}, Xa), e), t = a.accept, i = a.disabled, o = a.getFilesFromEvent, r = a.maxSize, l = a.minSize, c = a.multiple, g = a.maxFiles, f = a.onDragEnter, v = a.onDragLeave, b = a.onDragOver, O = a.onDrop, _ = a.onDropAccepted, C = a.onDropRejected, M = a.onFileDialogCancel, R = a.onFileDialogOpen, U = a.useFsAccessApi, re = a.autoFocus, I = a.preventDropOnDocument, L = a.noClick, m = a.noKeyboard, X = a.noDrag, J = a.noDragEventsBubbling, ce = a.onError, te = a.validator, ie = ge(function() {
2892
2892
  return hi(t);
2893
2893
  }, [t]), se = ge(function() {
2894
2894
  return gi(t);
@@ -2899,8 +2899,8 @@ function Qa() {
2899
2899
  }, [M]), S = be(null), W = be(null), G = lt(Oi, ia), Q = Ge(G, 2), le = Q[0], q = Q[1], p = le.isFocused, u = le.isFileDialogActive, w = be(typeof window < "u" && window.isSecureContext && U && xi()), k = function() {
2900
2900
  !w.current && u && setTimeout(function() {
2901
2901
  if (W.current) {
2902
- var v = W.current.files;
2903
- v.length || (q({
2902
+ var x = W.current.files;
2903
+ x.length || (q({
2904
2904
  type: "closeDialog"
2905
2905
  }), pe());
2906
2906
  }
@@ -2911,8 +2911,8 @@ function Qa() {
2911
2911
  window.removeEventListener("focus", k, !1);
2912
2912
  };
2913
2913
  }, [W, u, pe, w]);
2914
- var h = be([]), E = be([]), A = function(v) {
2915
- S.current && S.current.contains(v.target) || (v.preventDefault(), h.current = []);
2914
+ var h = be([]), E = be([]), A = function(x) {
2915
+ S.current && S.current.contains(x.target) || (x.preventDefault(), h.current = []);
2916
2916
  };
2917
2917
  Ee(function() {
2918
2918
  return I && (document.addEventListener("dragover", Ta, !1), document.addEventListener("drop", A, !1)), function() {
@@ -2924,7 +2924,7 @@ function Qa() {
2924
2924
  isDragGlobal: !0,
2925
2925
  type: "setDragGlobal"
2926
2926
  });
2927
- }, v = function(ee) {
2927
+ }, x = function(ee) {
2928
2928
  E.current = E.current.filter(function(ne) {
2929
2929
  return ne !== ee.target && ne !== null;
2930
2930
  }), !(E.current.length > 0) && q({
@@ -2942,8 +2942,8 @@ function Qa() {
2942
2942
  type: "setDragGlobal"
2943
2943
  });
2944
2944
  };
2945
- return document.addEventListener("dragenter", d, !1), document.addEventListener("dragleave", v, !1), document.addEventListener("dragend", z, !1), document.addEventListener("drop", $, !1), function() {
2946
- document.removeEventListener("dragenter", d), document.removeEventListener("dragleave", v), document.removeEventListener("dragend", z), document.removeEventListener("drop", $);
2945
+ return document.addEventListener("dragenter", d, !1), document.addEventListener("dragleave", x, !1), document.addEventListener("dragend", z, !1), document.addEventListener("drop", $, !1), function() {
2946
+ document.removeEventListener("dragenter", d), document.removeEventListener("dragleave", x), document.removeEventListener("dragend", z), document.removeEventListener("drop", $);
2947
2947
  };
2948
2948
  }, [S]), Ee(function() {
2949
2949
  return !i && re && S.current && S.current.focus(), function() {
@@ -2952,15 +2952,15 @@ function Qa() {
2952
2952
  var y = K(function(d) {
2953
2953
  ce ? ce(d) : console.error(d);
2954
2954
  }, [ce]), j = K(function(d) {
2955
- d.preventDefault(), d.persist(), je(d), h.current = [].concat(Da(h.current), [d.target]), we(d) && Promise.resolve(o(d)).then(function(v) {
2955
+ d.preventDefault(), d.persist(), je(d), h.current = [].concat(Da(h.current), [d.target]), we(d) && Promise.resolve(o(d)).then(function(x) {
2956
2956
  if (!(Oe(d) && !J)) {
2957
- var z = v.length, $ = z > 0 && mi({
2958
- files: v,
2957
+ var z = x.length, $ = z > 0 && mi({
2958
+ files: x,
2959
2959
  accept: ie,
2960
2960
  minSize: l,
2961
2961
  maxSize: r,
2962
2962
  multiple: c,
2963
- maxFiles: f,
2963
+ maxFiles: g,
2964
2964
  validator: te
2965
2965
  }), Y = z > 0 && !$;
2966
2966
  q({
@@ -2968,32 +2968,32 @@ function Qa() {
2968
2968
  isDragReject: Y,
2969
2969
  isDragActive: !0,
2970
2970
  type: "setDraggedFiles"
2971
- }), x && x(d);
2971
+ }), f && f(d);
2972
2972
  }
2973
- }).catch(function(v) {
2974
- return y(v);
2973
+ }).catch(function(x) {
2974
+ return y(x);
2975
2975
  });
2976
- }, [o, x, y, J, ie, l, r, c, f, te]), V = K(function(d) {
2976
+ }, [o, f, y, J, ie, l, r, c, g, te]), V = K(function(d) {
2977
2977
  d.preventDefault(), d.persist(), je(d);
2978
- var v = we(d);
2979
- if (v && d.dataTransfer)
2978
+ var x = we(d);
2979
+ if (x && d.dataTransfer)
2980
2980
  try {
2981
2981
  d.dataTransfer.dropEffect = "copy";
2982
2982
  } catch {
2983
2983
  }
2984
- return v && b && b(d), !1;
2984
+ return x && b && b(d), !1;
2985
2985
  }, [b, J]), H = K(function(d) {
2986
2986
  d.preventDefault(), d.persist(), je(d);
2987
- var v = h.current.filter(function($) {
2987
+ var x = h.current.filter(function($) {
2988
2988
  return S.current && S.current.contains($);
2989
- }), z = v.indexOf(d.target);
2990
- z !== -1 && v.splice(z, 1), h.current = v, !(v.length > 0) && (q({
2989
+ }), z = x.indexOf(d.target);
2990
+ z !== -1 && x.splice(z, 1), h.current = x, !(x.length > 0) && (q({
2991
2991
  type: "setDraggedFiles",
2992
2992
  isDragActive: !1,
2993
2993
  isDragAccept: !1,
2994
2994
  isDragReject: !1
2995
- }), we(d) && g && g(d));
2996
- }, [S, g, J]), N = K(function(d, v) {
2995
+ }), we(d) && v && v(d));
2996
+ }, [S, v, J]), N = K(function(d, x) {
2997
2997
  var z = [], $ = [];
2998
2998
  d.forEach(function(Y) {
2999
2999
  var ee = Wa(Y, ie), ne = Ge(ee, 2), Pe = ne[0], Se = ne[1], ze = Ua(Y, l, r), He = Ge(ze, 2), Re = He[0], Ce = He[1], Ie = te ? te(Y) : null;
@@ -3008,7 +3008,7 @@ function Qa() {
3008
3008
  })
3009
3009
  });
3010
3010
  }
3011
- }), (!c && z.length > 1 || c && f >= 1 && z.length > f) && (z.forEach(function(Y) {
3011
+ }), (!c && z.length > 1 || c && g >= 1 && z.length > g) && (z.forEach(function(Y) {
3012
3012
  $.push({
3013
3013
  file: Y,
3014
3014
  errors: [si]
@@ -3017,12 +3017,12 @@ function Qa() {
3017
3017
  acceptedFiles: z,
3018
3018
  fileRejections: $,
3019
3019
  type: "setFiles"
3020
- }), O && O(z, $, v), $.length > 0 && C && C($, v), z.length > 0 && _ && _(z, v);
3021
- }, [q, c, ie, l, r, f, O, _, C, te]), s = K(function(d) {
3022
- d.preventDefault(), d.persist(), je(d), h.current = [], we(d) && Promise.resolve(o(d)).then(function(v) {
3023
- Oe(d) && !J || N(v, d);
3024
- }).catch(function(v) {
3025
- return y(v);
3020
+ }), O && O(z, $, x), $.length > 0 && C && C($, x), z.length > 0 && _ && _(z, x);
3021
+ }, [q, c, ie, l, r, g, O, _, C, te]), s = K(function(d) {
3022
+ d.preventDefault(), d.persist(), je(d), h.current = [], we(d) && Promise.resolve(o(d)).then(function(x) {
3023
+ Oe(d) && !J || N(x, d);
3024
+ }).catch(function(x) {
3025
+ return y(x);
3026
3026
  }), q({
3027
3027
  type: "reset"
3028
3028
  });
@@ -3035,16 +3035,16 @@ function Qa() {
3035
3035
  multiple: c,
3036
3036
  types: se
3037
3037
  };
3038
- window.showOpenFilePicker(d).then(function(v) {
3039
- return o(v);
3040
- }).then(function(v) {
3041
- N(v, null), q({
3038
+ window.showOpenFilePicker(d).then(function(x) {
3039
+ return o(x);
3040
+ }).then(function(x) {
3041
+ N(x, null), q({
3042
3042
  type: "closeDialog"
3043
3043
  });
3044
- }).catch(function(v) {
3045
- yi(v) ? (pe(v), q({
3044
+ }).catch(function(x) {
3045
+ yi(x) ? (pe(x), q({
3046
3046
  type: "closeDialog"
3047
- })) : bi(v) ? (w.current = !1, W.current ? (W.current.value = null, W.current.click()) : y(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))) : y(v);
3047
+ })) : bi(x) ? (w.current = !1, W.current ? (W.current.value = null, W.current.click()) : y(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))) : y(x);
3048
3048
  });
3049
3049
  return;
3050
3050
  }
@@ -3063,17 +3063,17 @@ function Qa() {
3063
3063
  });
3064
3064
  }, []), pa = K(function() {
3065
3065
  L || (vi() ? setTimeout(B, 0) : B());
3066
- }, [L, B]), xe = function(v) {
3067
- return i ? null : v;
3068
- }, _e = function(v) {
3069
- return m ? null : xe(v);
3070
- }, ke = function(v) {
3071
- return X ? null : xe(v);
3072
- }, je = function(v) {
3073
- J && v.stopPropagation();
3066
+ }, [L, B]), xe = function(x) {
3067
+ return i ? null : x;
3068
+ }, _e = function(x) {
3069
+ return m ? null : xe(x);
3070
+ }, ke = function(x) {
3071
+ return X ? null : xe(x);
3072
+ }, je = function(x) {
3073
+ J && x.stopPropagation();
3074
3074
  }, tt = ge(function() {
3075
3075
  return function() {
3076
- var d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, v = d.refKey, z = v === void 0 ? "ref" : v, $ = d.role, Y = d.onKeyDown, ee = d.onFocus, ne = d.onBlur, Pe = d.onClick, Se = d.onDragEnter, ze = d.onDragOver, He = d.onDragLeave, Re = d.onDrop, Ce = Fe(d, Ai);
3076
+ var d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, x = d.refKey, z = x === void 0 ? "ref" : x, $ = d.role, Y = d.onKeyDown, ee = d.onFocus, ne = d.onBlur, Pe = d.onClick, Se = d.onDragEnter, ze = d.onDragOver, He = d.onDragLeave, Re = d.onDrop, Ce = Fe(d, Ai);
3077
3077
  return P(P(ta({
3078
3078
  onKeyDown: _e(ae(Y, me)),
3079
3079
  onFocus: _e(ae(ee, ye)),
@@ -3092,7 +3092,7 @@ function Qa() {
3092
3092
  d.stopPropagation();
3093
3093
  }, []), nt = ge(function() {
3094
3094
  return function() {
3095
- var d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, v = d.refKey, z = v === void 0 ? "ref" : v, $ = d.onChange, Y = d.onClick, ee = Fe(d, ki), ne = ta({
3095
+ var d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, x = d.refKey, z = x === void 0 ? "ref" : x, $ = d.onChange, Y = d.onClick, ee = Fe(d, ki), ne = ta({
3096
3096
  accept: ie,
3097
3097
  multiple: c,
3098
3098
  type: "file",
@@ -3180,18 +3180,27 @@ const et = dt([null, () => {
3180
3180
  }, Si = (e) => {
3181
3181
  const [, a] = Fi(), [t, i] = Ke({ url: "", type: "", size: "" });
3182
3182
  Ee(() => {
3183
- const f = e.file, x = URL.createObjectURL(f);
3184
- return i({ url: x, type: _i(f), size: Tt(f.size) }), () => URL.revokeObjectURL(x);
3183
+ const f = e.file, v = URL.createObjectURL(f);
3184
+ return i({ url: v, type: _i(f), size: Tt(f.size) }), () => URL.revokeObjectURL(v);
3185
3185
  }, [e.file]);
3186
3186
  const o = (f) => {
3187
3187
  f.stopPropagation(), f.preventDefault(), a({ ...t, file: e.file });
3188
3188
  }, r = (f) => {
3189
3189
  f.preventDefault(), f.stopPropagation(), e.onDeleteFile?.(e.file);
3190
- }, l = Pi[e.file.name.split(".").at(-1)] ?? rt, c = t.type === "img" ? /* @__PURE__ */ Z("img", { src: t.url, className: "w-full object-contain", alt: e.file.name }) : /* @__PURE__ */ Z(l, { size: 48 });
3190
+ }, l = e.file.name, c = Pi[e.file.name.split(".").at(-1)] ?? rt, g = t.type === "img" ? /* @__PURE__ */ Z("img", { src: t.url, className: "w-full object-contain", alt: e.file.name }) : /* @__PURE__ */ Z(c, { size: 48 });
3191
3191
  return /* @__PURE__ */ oe("li", { className: "flex w-full flex-row justify-between gap-4 border-b border-card-border last:border-b-transparent", children: [
3192
3192
  /* @__PURE__ */ oe("div", { className: "flex flex-col gap-4", children: [
3193
3193
  /* @__PURE__ */ oe("div", { className: "flex flex-row items-center gap-4", children: [
3194
- /* @__PURE__ */ Z("button", { type: "button", onClick: o, className: "m-2 flex size-16 max-w-16 items-center justify-center overflow-hidden", children: c }),
3194
+ /* @__PURE__ */ Z(
3195
+ "button",
3196
+ {
3197
+ type: "button",
3198
+ onClick: o,
3199
+ "aria-label": `View ${l}`,
3200
+ className: "m-2 flex size-16 max-w-16 items-center justify-center overflow-hidden",
3201
+ children: g
3202
+ }
3203
+ ),
3195
3204
  /* @__PURE__ */ oe("div", { className: "flex flex-col items-start justify-start text-left", children: [
3196
3205
  /* @__PURE__ */ Z("span", { children: e.file.name }),
3197
3206
  /* @__PURE__ */ Z("span", { className: "text-sm italic", children: t.size })
@@ -3199,7 +3208,7 @@ const et = dt([null, () => {
3199
3208
  ] }),
3200
3209
  e.File ? /* @__PURE__ */ Z("div", { className: "min-w-full flex-1", children: /* @__PURE__ */ Z(e.File, { file: e.file }) }) : null
3201
3210
  ] }),
3202
- /* @__PURE__ */ Z("div", { className: "align-start flex justify-start py-4 transition-colors duration-300 ease-linear hover:text-danger-hover", children: /* @__PURE__ */ Z("button", { onClick: r, type: "button", className: "flex size-6 items-center justify-center", children: /* @__PURE__ */ Z(ut, { size: 16 }) }) })
3211
+ /* @__PURE__ */ Z("div", { className: "align-start flex justify-start py-4 transition-colors duration-300 ease-linear hover:text-danger-hover", children: /* @__PURE__ */ Z("button", { onClick: r, type: "button", "aria-label": `Remove ${l}`, className: "flex size-6 items-center justify-center", children: /* @__PURE__ */ Z(ut, { size: 16, "aria-hidden": "true" }) }) })
3203
3212
  ] });
3204
3213
  }, zi = (e) => /* @__PURE__ */ Z("ul", { className: "w-full space-y-8", children: e.files.map((a) => /* @__PURE__ */ Z(Si, { File: e.File, onDeleteFile: e.onDeleteFile, file: a }, a.name)) }), at = (e) => {
3205
3214
  const a = _a(), t = e.dragging ? Ra : za;
@@ -3218,20 +3227,21 @@ const et = dt([null, () => {
3218
3227
  t === "img" ? /* @__PURE__ */ Z("img", { className: "container inline-block w-full max-w-96", src: e.item.url, alt: a.name }) : t === "video" ? /* @__PURE__ */ Z("video", { className: "container block w-full max-w-96", src: e.item.url, controls: !0, muted: !0 }) : t === "audio" ? /* @__PURE__ */ Z("figure", { children: /* @__PURE__ */ Z("audio", { controls: !0, src: e.item.url }) }) : null
3219
3228
  ] });
3220
3229
  }, Ki = ({ idle: e = Ci, onDeleteFile: a, File: t, onDrop: i, ...o }) => {
3221
- const r = _a(), l = Ke(null), [c, f] = Ke([]), x = o.files ?? c, g = () => l[1](null), b = (M) => {
3222
- i?.(M), f((R) => R.concat(M));
3230
+ const r = _a(), l = Ke(null), [c, g] = Ke([]), f = o.files ?? c, v = () => l[1](null), b = (M) => {
3231
+ i?.(M), g((R) => R.concat(M));
3223
3232
  }, { getRootProps: O, getInputProps: _, isDragActive: C } = Qa({ onDrop: b });
3224
3233
  return /* @__PURE__ */ oe(et.Provider, { value: l, children: [
3225
- /* @__PURE__ */ Z(ft, { overlayClickClose: !0, title: r.uploadDialogTitle, ariaTitle: r.uploadDialogTitle, open: l[0] !== null, onChange: g, children: l[0] ? /* @__PURE__ */ Z(Ii, { item: l[0] }) : null }),
3234
+ /* @__PURE__ */ Z(ft, { overlayClickClose: !0, title: r.uploadDialogTitle, ariaTitle: r.uploadDialogTitle, open: l[0] !== null, onChange: v, children: l[0] ? /* @__PURE__ */ Z(Ii, { item: l[0] }) : null }),
3226
3235
  /* @__PURE__ */ oe(
3227
3236
  "div",
3228
3237
  {
3229
3238
  ...O(),
3230
- "data-active": x ? x.length > 0 : !1,
3239
+ "aria-label": r.fileUploadZoneLabel,
3240
+ "data-active": f ? f.length > 0 : !1,
3231
3241
  className: "flex flex-col items-center justify-center rounded-lg border border-card-border p-6 text-foreground data-[active=true]:border-solid data-[active=false]:border-dashed data-[active=true]:border-transparent data-[active=true]:bg-card-background",
3232
3242
  children: [
3233
3243
  /* @__PURE__ */ Z("input", { ..._(o), name: o.name, id: o.name }),
3234
- /* @__PURE__ */ Z(Ri, { File: t, onDeleteFile: a, isDragActive: C, idle: e, files: x })
3244
+ /* @__PURE__ */ Z(Ri, { File: t, onDeleteFile: a, isDragActive: C, idle: e, files: f })
3235
3245
  ]
3236
3246
  }
3237
3247
  )
@@ -3242,4 +3252,4 @@ export {
3242
3252
  Ui as c,
3243
3253
  Gi as g
3244
3254
  };
3245
- //# sourceMappingURL=file-upload-Brf2NkLr.js.map
3255
+ //# sourceMappingURL=file-upload-93d5DR4q.js.map