@exegia/corpora-ui 3.1.0 → 4.0.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 (340) hide show
  1. package/dist-lib/autocomplete-DzjspdKa.js +151 -0
  2. package/dist-lib/base-CiR7nLAD.js +37 -0
  3. package/dist-lib/breadcrumb-DtFOhTfs.js +83 -0
  4. package/dist-lib/{button-CIRkQXA6.js → button-DDBbG_zF.js} +34 -43
  5. package/dist-lib/button.js +1 -1
  6. package/dist-lib/calendar-Dyut8HPa.js +62 -0
  7. package/dist-lib/checkbox-group-B0BPFc-K.js +12 -0
  8. package/dist-lib/combobox-BwfmU1S_.js +267 -0
  9. package/dist-lib/components/blocks/sidebar-primitives/content.d.ts +2 -0
  10. package/dist-lib/components/blocks/sidebar-primitives/context.d.ts +2 -0
  11. package/dist-lib/components/blocks/sidebar-primitives/footer.d.ts +2 -0
  12. package/dist-lib/components/blocks/sidebar-primitives/group-action.d.ts +3 -0
  13. package/dist-lib/components/blocks/sidebar-primitives/group-content.d.ts +2 -0
  14. package/dist-lib/components/blocks/sidebar-primitives/group-label.d.ts +3 -0
  15. package/dist-lib/components/blocks/sidebar-primitives/group.d.ts +2 -0
  16. package/dist-lib/components/blocks/sidebar-primitives/header.d.ts +2 -0
  17. package/dist-lib/components/blocks/sidebar-primitives/index.d.ts +26 -0
  18. package/dist-lib/components/blocks/sidebar-primitives/input.d.ts +3 -0
  19. package/dist-lib/components/blocks/sidebar-primitives/inset.d.ts +2 -0
  20. package/dist-lib/components/blocks/sidebar-primitives/menu-action.d.ts +5 -0
  21. package/dist-lib/components/blocks/sidebar-primitives/menu-badge.d.ts +2 -0
  22. package/dist-lib/components/blocks/sidebar-primitives/menu-button.d.ts +9 -0
  23. package/dist-lib/components/blocks/sidebar-primitives/menu-item.d.ts +2 -0
  24. package/dist-lib/components/blocks/sidebar-primitives/menu-skeleton.d.ts +4 -0
  25. package/dist-lib/components/blocks/sidebar-primitives/menu-sub-button.d.ts +6 -0
  26. package/dist-lib/components/blocks/sidebar-primitives/menu-sub-item.d.ts +2 -0
  27. package/dist-lib/components/blocks/sidebar-primitives/menu-sub.d.ts +2 -0
  28. package/dist-lib/components/blocks/sidebar-primitives/menu.d.ts +2 -0
  29. package/dist-lib/components/blocks/sidebar-primitives/provider.d.ts +3 -0
  30. package/dist-lib/components/blocks/sidebar-primitives/rail.d.ts +2 -0
  31. package/dist-lib/components/blocks/sidebar-primitives/separator.d.ts +3 -0
  32. package/dist-lib/components/blocks/sidebar-primitives/sidebar-atom.d.ts +32 -0
  33. package/dist-lib/components/blocks/sidebar-primitives/sidebar.d.ts +6 -0
  34. package/dist-lib/components/blocks/sidebar-primitives/trigger.d.ts +3 -0
  35. package/dist-lib/components/blocks/sidebar-primitives/types.d.ts +26 -0
  36. package/dist-lib/components/blocks/sidebar-primitives/use-mobile.d.ts +1 -0
  37. package/dist-lib/components/blocks/sidebar-primitives/use-sidebar.d.ts +4 -0
  38. package/dist-lib/components/blocks/sidebar-primitives/utils.d.ts +10 -0
  39. package/dist-lib/components/ui/alert.d.ts +1 -1
  40. package/dist-lib/components/ui/badge.d.ts +2 -2
  41. package/dist-lib/components/ui/breadcrumb/base.d.ts +2 -0
  42. package/dist-lib/components/ui/breadcrumb/ellipsis.d.ts +2 -0
  43. package/dist-lib/components/ui/breadcrumb/index.d.ts +7 -0
  44. package/dist-lib/components/ui/breadcrumb/item.d.ts +2 -0
  45. package/dist-lib/components/ui/breadcrumb/link.d.ts +3 -0
  46. package/dist-lib/components/ui/breadcrumb/list.d.ts +2 -0
  47. package/dist-lib/components/ui/breadcrumb/page.d.ts +2 -0
  48. package/dist-lib/components/ui/breadcrumb/separator.d.ts +2 -0
  49. package/dist-lib/components/ui/button.d.ts +2 -2
  50. package/dist-lib/components/ui/calendar/base.d.ts +3 -0
  51. package/dist-lib/components/ui/calendar/index.d.ts +1 -0
  52. package/dist-lib/components/ui/calendar/utils.d.ts +1 -0
  53. package/dist-lib/components/ui/checkbox-group/base.d.ts +3 -0
  54. package/dist-lib/components/ui/checkbox-group/index.d.ts +2 -0
  55. package/dist-lib/components/ui/combobox/chip-remove.d.ts +3 -0
  56. package/dist-lib/components/ui/combobox/chip.d.ts +5 -0
  57. package/dist-lib/components/ui/combobox/chips-input.d.ts +6 -0
  58. package/dist-lib/components/ui/combobox/chips.d.ts +5 -0
  59. package/dist-lib/components/ui/combobox/clear.d.ts +3 -0
  60. package/dist-lib/components/ui/combobox/collection.d.ts +3 -0
  61. package/dist-lib/components/ui/combobox/context.d.ts +5 -0
  62. package/dist-lib/components/ui/combobox/empty.d.ts +3 -0
  63. package/dist-lib/components/ui/combobox/group-label.d.ts +3 -0
  64. package/dist-lib/components/ui/combobox/group.d.ts +3 -0
  65. package/dist-lib/components/ui/combobox/index.d.ts +22 -0
  66. package/dist-lib/components/ui/combobox/input.d.ts +11 -0
  67. package/dist-lib/components/ui/combobox/item.d.ts +3 -0
  68. package/dist-lib/components/ui/combobox/list.d.ts +3 -0
  69. package/dist-lib/components/ui/combobox/popup.d.ts +10 -0
  70. package/dist-lib/components/ui/combobox/root.d.ts +3 -0
  71. package/dist-lib/components/ui/combobox/row.d.ts +3 -0
  72. package/dist-lib/components/ui/combobox/separator.d.ts +3 -0
  73. package/dist-lib/components/ui/combobox/status.d.ts +3 -0
  74. package/dist-lib/components/ui/combobox/trigger.d.ts +3 -0
  75. package/dist-lib/components/ui/combobox/utils.d.ts +2 -0
  76. package/dist-lib/components/ui/combobox/value.d.ts +3 -0
  77. package/dist-lib/components/ui/dialog/backdrop.d.ts +3 -0
  78. package/dist-lib/components/ui/dialog/close.d.ts +3 -0
  79. package/dist-lib/components/ui/dialog/description.d.ts +3 -0
  80. package/dist-lib/components/ui/dialog/footer.d.ts +5 -0
  81. package/dist-lib/components/ui/dialog/header.d.ts +3 -0
  82. package/dist-lib/components/ui/dialog/index.d.ts +16 -0
  83. package/dist-lib/components/ui/dialog/panel.d.ts +5 -0
  84. package/dist-lib/components/ui/dialog/popup.d.ts +8 -0
  85. package/dist-lib/components/ui/dialog/title.d.ts +3 -0
  86. package/dist-lib/components/ui/dialog/trigger.d.ts +3 -0
  87. package/dist-lib/components/ui/dialog/utils.d.ts +4 -0
  88. package/dist-lib/components/ui/dialog/viewport.d.ts +3 -0
  89. package/dist-lib/components/ui/drawer/backdrop.d.ts +3 -0
  90. package/dist-lib/components/ui/drawer/bar.d.ts +6 -0
  91. package/dist-lib/components/ui/drawer/close.d.ts +3 -0
  92. package/dist-lib/components/ui/drawer/content.d.ts +3 -0
  93. package/dist-lib/components/ui/drawer/context.d.ts +5 -0
  94. package/dist-lib/components/ui/drawer/description.d.ts +3 -0
  95. package/dist-lib/components/ui/drawer/footer.d.ts +6 -0
  96. package/dist-lib/components/ui/drawer/header.d.ts +5 -0
  97. package/dist-lib/components/ui/drawer/index.d.ts +26 -0
  98. package/dist-lib/components/ui/drawer/menu-checkbox-item.d.ts +6 -0
  99. package/dist-lib/components/ui/drawer/menu-group-label.d.ts +3 -0
  100. package/dist-lib/components/ui/drawer/menu-group.d.ts +3 -0
  101. package/dist-lib/components/ui/drawer/menu-item.d.ts +5 -0
  102. package/dist-lib/components/ui/drawer/menu-radio-group.d.ts +3 -0
  103. package/dist-lib/components/ui/drawer/menu-radio-item.d.ts +6 -0
  104. package/dist-lib/components/ui/drawer/menu-separator.d.ts +3 -0
  105. package/dist-lib/components/ui/drawer/menu-trigger.d.ts +3 -0
  106. package/dist-lib/components/ui/drawer/menu.d.ts +3 -0
  107. package/dist-lib/components/ui/drawer/panel.d.ts +7 -0
  108. package/dist-lib/components/ui/drawer/popup.d.ts +10 -0
  109. package/dist-lib/components/ui/drawer/portal.d.ts +3 -0
  110. package/dist-lib/components/ui/drawer/root.d.ts +6 -0
  111. package/dist-lib/components/ui/drawer/swipe-area.d.ts +6 -0
  112. package/dist-lib/components/ui/drawer/title.d.ts +3 -0
  113. package/dist-lib/components/ui/drawer/trigger.d.ts +3 -0
  114. package/dist-lib/components/ui/drawer/types.d.ts +1 -0
  115. package/dist-lib/components/ui/drawer/utils.d.ts +4 -0
  116. package/dist-lib/components/ui/drawer/viewport.d.ts +7 -0
  117. package/dist-lib/components/ui/empty/base.d.ts +2 -0
  118. package/dist-lib/components/ui/empty/content.d.ts +2 -0
  119. package/dist-lib/components/ui/empty/description.d.ts +2 -0
  120. package/dist-lib/components/ui/empty/header.d.ts +2 -0
  121. package/dist-lib/components/ui/empty/index.d.ts +6 -0
  122. package/dist-lib/components/ui/empty/media.d.ts +4 -0
  123. package/dist-lib/components/ui/empty/title.d.ts +2 -0
  124. package/dist-lib/components/ui/empty/utils.d.ts +3 -0
  125. package/dist-lib/components/ui/fieldset/base.d.ts +3 -0
  126. package/dist-lib/components/ui/fieldset/index.d.ts +3 -0
  127. package/dist-lib/components/ui/fieldset/legend.d.ts +3 -0
  128. package/dist-lib/components/ui/form/base.d.ts +3 -0
  129. package/dist-lib/components/ui/form/index.d.ts +2 -0
  130. package/dist-lib/components/ui/meter/base.d.ts +3 -0
  131. package/dist-lib/components/ui/meter/index.d.ts +6 -0
  132. package/dist-lib/components/ui/meter/indicator.d.ts +3 -0
  133. package/dist-lib/components/ui/meter/label.d.ts +3 -0
  134. package/dist-lib/components/ui/meter/track.d.ts +3 -0
  135. package/dist-lib/components/ui/meter/value.d.ts +3 -0
  136. package/dist-lib/components/ui/number-field/base.d.ts +5 -0
  137. package/dist-lib/components/ui/number-field/context.d.ts +4 -0
  138. package/dist-lib/components/ui/number-field/cursor-grow-icon.d.ts +2 -0
  139. package/dist-lib/components/ui/number-field/decrement.d.ts +3 -0
  140. package/dist-lib/components/ui/number-field/group.d.ts +3 -0
  141. package/dist-lib/components/ui/number-field/increment.d.ts +3 -0
  142. package/dist-lib/components/ui/number-field/index.d.ts +9 -0
  143. package/dist-lib/components/ui/number-field/input.d.ts +3 -0
  144. package/dist-lib/components/ui/number-field/scrub-area.d.ts +5 -0
  145. package/dist-lib/components/ui/pagination/base.d.ts +2 -0
  146. package/dist-lib/components/ui/pagination/content.d.ts +2 -0
  147. package/dist-lib/components/ui/pagination/ellipsis.d.ts +2 -0
  148. package/dist-lib/components/ui/pagination/index.d.ts +8 -0
  149. package/dist-lib/components/ui/pagination/item.d.ts +2 -0
  150. package/dist-lib/components/ui/pagination/link.d.ts +3 -0
  151. package/dist-lib/components/ui/pagination/next.d.ts +3 -0
  152. package/dist-lib/components/ui/pagination/previous.d.ts +3 -0
  153. package/dist-lib/components/ui/pagination/types.d.ts +7 -0
  154. package/dist-lib/components/ui/preview-card.d.ts +2 -1
  155. package/dist-lib/components/ui/progress/base.d.ts +3 -0
  156. package/dist-lib/components/ui/progress/index.d.ts +6 -0
  157. package/dist-lib/components/ui/progress/indicator.d.ts +3 -0
  158. package/dist-lib/components/ui/progress/label.d.ts +3 -0
  159. package/dist-lib/components/ui/progress/track.d.ts +3 -0
  160. package/dist-lib/components/ui/progress/value.d.ts +3 -0
  161. package/dist-lib/components/ui/radio-group/base.d.ts +3 -0
  162. package/dist-lib/components/ui/radio-group/index.d.ts +5 -0
  163. package/dist-lib/components/ui/radio-group/radio.d.ts +3 -0
  164. package/dist-lib/components/ui/sheet-parts/backdrop.d.ts +2 -0
  165. package/dist-lib/components/ui/sheet-parts/overlay.d.ts +2 -0
  166. package/dist-lib/components/ui/sheet-parts/panel.d.ts +5 -0
  167. package/dist-lib/components/ui/sheet-parts/popup.d.ts +10 -0
  168. package/dist-lib/components/ui/sheet-parts/portal.d.ts +2 -0
  169. package/dist-lib/components/ui/sheet-parts/viewport.d.ts +6 -0
  170. package/dist-lib/components/ui/sheet.d.ts +19 -9
  171. package/dist-lib/components/ui/slider/base.d.ts +3 -0
  172. package/dist-lib/components/ui/slider/index.d.ts +3 -0
  173. package/dist-lib/components/ui/slider/value.d.ts +3 -0
  174. package/dist-lib/components/ui/table/base.d.ts +3 -0
  175. package/dist-lib/components/ui/table/body.d.ts +2 -0
  176. package/dist-lib/components/ui/table/caption.d.ts +2 -0
  177. package/dist-lib/components/ui/table/cell.d.ts +2 -0
  178. package/dist-lib/components/ui/table/footer.d.ts +2 -0
  179. package/dist-lib/components/ui/table/head.d.ts +2 -0
  180. package/dist-lib/components/ui/table/header.d.ts +2 -0
  181. package/dist-lib/components/ui/table/index.d.ts +10 -0
  182. package/dist-lib/components/ui/table/row.d.ts +2 -0
  183. package/dist-lib/components/ui/table/types.d.ts +7 -0
  184. package/dist-lib/components/ui/toggle/base.d.ts +5 -0
  185. package/dist-lib/components/ui/toggle/index.d.ts +3 -0
  186. package/dist-lib/components/ui/toggle/utils.d.ts +4 -0
  187. package/dist-lib/components/ui/toggle-group/base.d.ts +5 -0
  188. package/dist-lib/components/ui/toggle-group/context.d.ts +4 -0
  189. package/dist-lib/components/ui/toggle-group/index.d.ts +5 -0
  190. package/dist-lib/components/ui/toggle-group/item.d.ts +5 -0
  191. package/dist-lib/components/ui/toggle-group/separator.d.ts +5 -0
  192. package/dist-lib/dialog-BF9rLVsx.js +135 -0
  193. package/dist-lib/drawer-DuQtc_IN.js +350 -0
  194. package/dist-lib/empty-CUO4MoHd.js +87 -0
  195. package/dist-lib/{exegia-provider-DNTuLljX.js → exegia-provider-CDYMDsSW.js} +33 -31
  196. package/dist-lib/fieldset-C3YDowBt.js +22 -0
  197. package/dist-lib/form-DdxBnCxo.js +12 -0
  198. package/dist-lib/index.css +1 -1
  199. package/dist-lib/index.d.ts +1 -0
  200. package/dist-lib/index.js +6401 -7684
  201. package/dist-lib/{liquid-glass-BihU6nMl.js → liquid-glass-BrmOha12.js} +11 -11
  202. package/dist-lib/meter-B5i2cf7m.js +49 -0
  203. package/dist-lib/modal-BSBLNZfo.js +24 -0
  204. package/dist-lib/number-field-D5p-WTn_.js +97 -0
  205. package/dist-lib/overlays.js +5 -3
  206. package/dist-lib/pagination-CPOVfufE.js +94 -0
  207. package/dist-lib/{modal-DLaOK-s1.js → popover-BKYgU_p3.js} +22 -42
  208. package/dist-lib/portal-context-oIZFl3NP.js +9 -0
  209. package/dist-lib/progress-ByAk9CV5.js +50 -0
  210. package/dist-lib/radio-group-CMwDkKFE.js +27 -0
  211. package/dist-lib/{scaffold-Qv4hs5Pf.js → scaffold-DjS8eLk9.js} +198 -198
  212. package/dist-lib/scaffold.js +1 -1
  213. package/dist-lib/scroll-area-BNcHlmRX.js +39 -0
  214. package/dist-lib/separator-D7T-98IV.js +14 -0
  215. package/dist-lib/sheet-BAYosIsg.js +148 -0
  216. package/dist-lib/sheet-D4fmEZW5.js +22 -0
  217. package/dist-lib/{shell-BQ9cjIEu.js → shell-WTIa9_ul.js} +170 -170
  218. package/dist-lib/shell.js +1 -1
  219. package/dist-lib/sidebar-1j5RYZ2t.js +529 -0
  220. package/dist-lib/skeleton-CwqQoMiY.js +12 -0
  221. package/dist-lib/slider-_1H30BMt.js +48 -0
  222. package/dist-lib/spinner-cwaneGYM.js +14 -0
  223. package/dist-lib/state.js +1 -1
  224. package/dist-lib/table-D43_yedE.js +87 -0
  225. package/dist-lib/tabs-CwWnKxRI.js +66 -0
  226. package/dist-lib/textarea-CxycYTkF.js +27 -0
  227. package/dist-lib/{toast-CataVXHN.js → toast-BLwJEhKU.js} +63 -105
  228. package/dist-lib/toggle-group-BzDvDKL0.js +55 -0
  229. package/dist-lib/tooltip-aPB3pyrl.js +39 -0
  230. package/dist-lib/ui/accordion.d.ts +1 -0
  231. package/dist-lib/ui/accordion.js +45 -0
  232. package/dist-lib/ui/alert-dialog.d.ts +1 -0
  233. package/dist-lib/ui/alert-dialog.js +74 -0
  234. package/dist-lib/ui/alert.d.ts +1 -0
  235. package/dist-lib/ui/alert.js +45 -0
  236. package/dist-lib/ui/autocomplete.d.ts +1 -0
  237. package/dist-lib/ui/autocomplete.js +2 -0
  238. package/dist-lib/ui/avatar.d.ts +2 -0
  239. package/dist-lib/ui/avatar.js +50 -0
  240. package/dist-lib/ui/badge.d.ts +2 -0
  241. package/dist-lib/ui/badge.js +72 -0
  242. package/dist-lib/ui/breadcrumb.d.ts +1 -0
  243. package/dist-lib/ui/breadcrumb.js +2 -0
  244. package/dist-lib/ui/button.d.ts +2 -0
  245. package/dist-lib/ui/button.js +2 -0
  246. package/dist-lib/ui/calendar.d.ts +1 -0
  247. package/dist-lib/ui/calendar.js +2 -0
  248. package/dist-lib/ui/card.d.ts +1 -0
  249. package/dist-lib/ui/card.js +2 -0
  250. package/dist-lib/ui/checkbox-group.d.ts +1 -0
  251. package/dist-lib/ui/checkbox-group.js +2 -0
  252. package/dist-lib/ui/checkbox.d.ts +1 -0
  253. package/dist-lib/ui/checkbox.js +51 -0
  254. package/dist-lib/ui/collapsible.d.ts +1 -0
  255. package/dist-lib/ui/collapsible.js +26 -0
  256. package/dist-lib/ui/combobox.d.ts +1 -0
  257. package/dist-lib/ui/combobox.js +2 -0
  258. package/dist-lib/ui/command.d.ts +1 -0
  259. package/dist-lib/ui/command.js +125 -0
  260. package/dist-lib/ui/context-menu.d.ts +1 -0
  261. package/dist-lib/ui/context-menu.js +178 -0
  262. package/dist-lib/ui/dialog.d.ts +1 -0
  263. package/dist-lib/ui/dialog.js +2 -0
  264. package/dist-lib/ui/drawer.d.ts +1 -0
  265. package/dist-lib/ui/drawer.js +2 -0
  266. package/dist-lib/ui/empty.d.ts +1 -0
  267. package/dist-lib/ui/empty.js +2 -0
  268. package/dist-lib/ui/field.d.ts +1 -0
  269. package/dist-lib/ui/field.js +42 -0
  270. package/dist-lib/ui/fieldset.d.ts +1 -0
  271. package/dist-lib/ui/fieldset.js +2 -0
  272. package/dist-lib/ui/form.d.ts +1 -0
  273. package/dist-lib/ui/form.js +2 -0
  274. package/dist-lib/ui/frame.d.ts +1 -0
  275. package/dist-lib/ui/frame.js +47 -0
  276. package/dist-lib/ui/group.d.ts +1 -0
  277. package/dist-lib/ui/group.js +44 -0
  278. package/dist-lib/ui/index.d.ts +55 -0
  279. package/dist-lib/ui/index.js +497 -0
  280. package/dist-lib/ui/input-group.d.ts +1 -0
  281. package/dist-lib/ui/input-group.js +59 -0
  282. package/dist-lib/ui/input.d.ts +2 -0
  283. package/dist-lib/ui/input.js +2 -0
  284. package/dist-lib/ui/kbd.d.ts +1 -0
  285. package/dist-lib/ui/kbd.js +19 -0
  286. package/dist-lib/ui/label.d.ts +1 -0
  287. package/dist-lib/ui/label.js +2 -0
  288. package/dist-lib/ui/menu.d.ts +1 -0
  289. package/dist-lib/ui/menu.js +178 -0
  290. package/dist-lib/ui/meter.d.ts +1 -0
  291. package/dist-lib/ui/meter.js +2 -0
  292. package/dist-lib/ui/number-field.d.ts +1 -0
  293. package/dist-lib/ui/number-field.js +2 -0
  294. package/dist-lib/ui/otp-field.d.ts +1 -0
  295. package/dist-lib/ui/otp-field.js +36 -0
  296. package/dist-lib/ui/pagination.d.ts +1 -0
  297. package/dist-lib/ui/pagination.js +2 -0
  298. package/dist-lib/ui/popover.d.ts +1 -0
  299. package/dist-lib/ui/popover.js +2 -0
  300. package/dist-lib/ui/preview-card.d.ts +1 -0
  301. package/dist-lib/ui/preview-card.js +35 -0
  302. package/dist-lib/ui/progress.d.ts +1 -0
  303. package/dist-lib/ui/progress.js +2 -0
  304. package/dist-lib/ui/radio-group.d.ts +1 -0
  305. package/dist-lib/ui/radio-group.js +2 -0
  306. package/dist-lib/ui/scroll-area.d.ts +1 -0
  307. package/dist-lib/ui/scroll-area.js +2 -0
  308. package/dist-lib/ui/select.d.ts +2 -0
  309. package/dist-lib/ui/select.js +145 -0
  310. package/dist-lib/ui/separator.d.ts +2 -0
  311. package/dist-lib/ui/separator.js +3 -0
  312. package/dist-lib/ui/sheet.d.ts +1 -0
  313. package/dist-lib/ui/sheet.js +3 -0
  314. package/dist-lib/ui/sidebar.d.ts +1 -0
  315. package/dist-lib/ui/sidebar.js +2 -0
  316. package/dist-lib/ui/skeleton.d.ts +1 -0
  317. package/dist-lib/ui/skeleton.js +2 -0
  318. package/dist-lib/ui/slider.d.ts +1 -0
  319. package/dist-lib/ui/slider.js +2 -0
  320. package/dist-lib/ui/spinner.d.ts +1 -0
  321. package/dist-lib/ui/spinner.js +2 -0
  322. package/dist-lib/ui/switch.d.ts +1 -0
  323. package/dist-lib/ui/switch.js +17 -0
  324. package/dist-lib/ui/table.d.ts +1 -0
  325. package/dist-lib/ui/table.js +2 -0
  326. package/dist-lib/ui/tabs.d.ts +1 -0
  327. package/dist-lib/ui/tabs.js +2 -0
  328. package/dist-lib/ui/textarea.d.ts +2 -0
  329. package/dist-lib/ui/textarea.js +2 -0
  330. package/dist-lib/ui/toast.d.ts +1 -0
  331. package/dist-lib/ui/toast.js +2 -0
  332. package/dist-lib/ui/toggle-group.d.ts +1 -0
  333. package/dist-lib/ui/toggle-group.js +2 -0
  334. package/dist-lib/ui/toggle.d.ts +1 -0
  335. package/dist-lib/ui/toggle.js +3 -0
  336. package/dist-lib/ui/toolbar.d.ts +1 -0
  337. package/dist-lib/ui/toolbar.js +48 -0
  338. package/dist-lib/ui/tooltip.d.ts +1 -0
  339. package/dist-lib/ui/tooltip.js +2 -0
  340. package/package.json +222 -1
@@ -0,0 +1,151 @@
1
+ import { t as e } from "./utils-BO0qfoA6.js";
2
+ import { Input as t } from "./input.js";
3
+ import { t as n } from "./scroll-area-BNcHlmRX.js";
4
+ import { ChevronsUpDownIcon as r, XIcon as i } from "lucide-react";
5
+ import { jsx as a, jsxs as o } from "react/jsx-runtime";
6
+ import { Autocomplete as s } from "@base-ui/react/autocomplete";
7
+ //#region src/components/ui/autocomplete.tsx
8
+ var c = s.Root;
9
+ function l({ className: n, showTrigger: c = !1, showClear: l = !1, startAddon: u, size: d, triggerProps: f, clearProps: p, ...m }) {
10
+ let h = d ?? "default";
11
+ return /* @__PURE__ */ o(s.InputGroup, {
12
+ className: "relative not-has-[>*.w-full]:w-fit w-full text-foreground has-disabled:opacity-64",
13
+ "data-slot": "autocomplete-input-group",
14
+ children: [
15
+ u && /* @__PURE__ */ a("div", {
16
+ "aria-hidden": "true",
17
+ className: "pointer-events-none absolute inset-y-0 start-px z-10 flex items-center ps-[calc(--spacing(3)-1px)] opacity-80 has-[+[data-size=sm]]:ps-[calc(--spacing(2.5)-1px)] [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:-mx-0.5",
18
+ "data-slot": "autocomplete-start-addon",
19
+ children: u
20
+ }),
21
+ /* @__PURE__ */ a(s.Input, {
22
+ className: e(u && "data-[size=sm]:*:data-[slot=autocomplete-input]:ps-[calc(--spacing(7.5)-1px)] *:data-[slot=autocomplete-input]:ps-[calc(--spacing(8.5)-1px)] sm:data-[size=sm]:*:data-[slot=autocomplete-input]:ps-[calc(--spacing(7)-1px)] sm:*:data-[slot=autocomplete-input]:ps-[calc(--spacing(8)-1px)]", h === "sm" ? "has-[+[data-slot=autocomplete-trigger],+[data-slot=autocomplete-clear]]:*:data-[slot=autocomplete-input]:pe-6.5" : "has-[+[data-slot=autocomplete-trigger],+[data-slot=autocomplete-clear]]:*:data-[slot=autocomplete-input]:pe-7", n),
23
+ "data-slot": "autocomplete-input",
24
+ render: /* @__PURE__ */ a(t, {
25
+ nativeInput: !0,
26
+ size: h
27
+ }),
28
+ ...m
29
+ }),
30
+ c && /* @__PURE__ */ a(S, {
31
+ className: e("absolute top-1/2 inline-flex size-8 shrink-0 -translate-y-1/2 cursor-pointer items-center justify-center rounded-md border border-transparent opacity-80 outline-none transition-colors pointer-coarse:after:absolute pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:opacity-100 has-[+[data-slot=autocomplete-clear]]:hidden sm:size-7 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0", h === "sm" ? "end-0" : "end-0.5"),
32
+ ...f,
33
+ children: /* @__PURE__ */ a(s.Icon, {
34
+ "data-slot": "autocomplete-icon",
35
+ children: /* @__PURE__ */ a(r, {})
36
+ })
37
+ }),
38
+ l && /* @__PURE__ */ a(y, {
39
+ className: e("absolute top-1/2 inline-flex size-8 shrink-0 -translate-y-1/2 cursor-pointer items-center justify-center rounded-md border border-transparent opacity-80 outline-none transition-colors pointer-coarse:after:absolute pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:opacity-100 has-[+[data-slot=autocomplete-clear]]:hidden sm:size-7 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0", h === "sm" ? "end-0" : "end-0.5"),
40
+ ...p,
41
+ children: /* @__PURE__ */ a(i, {})
42
+ })
43
+ ]
44
+ });
45
+ }
46
+ function u({ className: t, children: n, side: r = "bottom", sideOffset: i = 4, alignOffset: o, align: c = "start", anchor: l, portalProps: u, ...d }) {
47
+ return /* @__PURE__ */ a(s.Portal, {
48
+ ...u,
49
+ children: /* @__PURE__ */ a(s.Positioner, {
50
+ align: c,
51
+ alignOffset: o,
52
+ anchor: l,
53
+ className: "z-50 select-none",
54
+ "data-slot": "autocomplete-positioner",
55
+ side: r,
56
+ sideOffset: i,
57
+ children: /* @__PURE__ */ a("span", {
58
+ className: e("relative flex max-h-full min-w-(--anchor-width) max-w-(--available-width) origin-(--transform-origin) rounded-lg border bg-popover not-dark:bg-clip-padding shadow-lg/5 transition-[scale,opacity] before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] before:shadow-[0_1px_--theme(--color-black/4%)] dark:before:shadow-[0_-1px_--theme(--color-white/6%)]", t),
59
+ children: /* @__PURE__ */ a(s.Popup, {
60
+ className: "flex max-h-[min(var(--available-height),23rem)] flex-1 flex-col text-foreground",
61
+ "data-slot": "autocomplete-popup",
62
+ ...d,
63
+ children: n
64
+ })
65
+ })
66
+ })
67
+ });
68
+ }
69
+ function d({ className: t, children: n, ...r }) {
70
+ return /* @__PURE__ */ a(s.Item, {
71
+ className: e("flex min-h-8 cursor-default select-none items-center rounded-sm px-2 py-1 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-accent data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:min-h-7 sm:text-sm", t),
72
+ "data-slot": "autocomplete-item",
73
+ ...r,
74
+ children: n
75
+ });
76
+ }
77
+ function f({ className: t, ...n }) {
78
+ return /* @__PURE__ */ a(s.Separator, {
79
+ className: e("mx-2 my-1 h-px bg-border last:hidden", t),
80
+ "data-slot": "autocomplete-separator",
81
+ ...n
82
+ });
83
+ }
84
+ function p({ className: t, ...n }) {
85
+ return /* @__PURE__ */ a(s.Group, {
86
+ className: e("[[role=group]+&]:mt-1.5", t),
87
+ "data-slot": "autocomplete-group",
88
+ ...n
89
+ });
90
+ }
91
+ function m({ className: t, ...n }) {
92
+ return /* @__PURE__ */ a(s.GroupLabel, {
93
+ className: e("px-2 py-1.5 font-medium text-muted-foreground text-xs", t),
94
+ "data-slot": "autocomplete-group-label",
95
+ ...n
96
+ });
97
+ }
98
+ function h({ className: t, ...n }) {
99
+ return /* @__PURE__ */ a(s.Empty, {
100
+ className: e("not-empty:p-2 text-center text-base text-muted-foreground sm:text-sm", t),
101
+ "data-slot": "autocomplete-empty",
102
+ ...n
103
+ });
104
+ }
105
+ function g({ className: e, ...t }) {
106
+ return /* @__PURE__ */ a(s.Row, {
107
+ className: e,
108
+ "data-slot": "autocomplete-row",
109
+ ...t
110
+ });
111
+ }
112
+ var _ = s.Value;
113
+ function v({ className: t, ...r }) {
114
+ return /* @__PURE__ */ a(n, {
115
+ overscrollContain: !0,
116
+ scrollbarGutter: !0,
117
+ scrollFade: !0,
118
+ children: /* @__PURE__ */ a(s.List, {
119
+ className: e("not-empty:scroll-py-1 not-empty:p-1 in-data-has-overflow-y:pe-3", t),
120
+ "data-slot": "autocomplete-list",
121
+ ...r
122
+ })
123
+ });
124
+ }
125
+ function y({ className: t, ...n }) {
126
+ return /* @__PURE__ */ a(s.Clear, {
127
+ className: e("absolute end-0.5 top-1/2 inline-flex size-8 shrink-0 -translate-y-1/2 cursor-pointer items-center justify-center rounded-md border border-transparent opacity-80 outline-none transition-[color,background-color,box-shadow,opacity] pointer-coarse:after:absolute pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:opacity-100 sm:size-7 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0", t),
128
+ "data-slot": "autocomplete-clear",
129
+ ...n,
130
+ children: /* @__PURE__ */ a(i, {})
131
+ });
132
+ }
133
+ function b({ className: t, ...n }) {
134
+ return /* @__PURE__ */ a(s.Status, {
135
+ className: e("px-3 py-2 font-medium text-muted-foreground text-xs empty:m-0 empty:p-0", t),
136
+ "data-slot": "autocomplete-status",
137
+ ...n
138
+ });
139
+ }
140
+ var x = s.Collection;
141
+ function S({ className: e, children: t, ...n }) {
142
+ return /* @__PURE__ */ a(s.Trigger, {
143
+ className: e,
144
+ "data-slot": "autocomplete-trigger",
145
+ ...n,
146
+ children: t
147
+ });
148
+ }
149
+ var C = s.useFilter;
150
+ //#endregion
151
+ export { C as _, p as a, d as c, s as d, g as f, _ as g, S as h, h as i, v as l, b as m, y as n, m as o, f as p, x as r, l as s, c as t, u };
@@ -0,0 +1,37 @@
1
+ import { t as e } from "./utils-BO0qfoA6.js";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ import { cva as n } from "class-variance-authority";
4
+ import { Toggle as r } from "@base-ui/react/toggle";
5
+ //#region src/components/ui/toggle/utils.ts
6
+ var i = n("relative inline-flex shrink-0 cursor-pointer select-none items-center justify-center gap-2 whitespace-nowrap rounded-lg border font-medium text-base text-foreground outline-none transition-shadow before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] pointer-coarse:after:absolute pointer-coarse:after:size-full pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:bg-accent focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-64 data-pressed:bg-input/64 data-pressed:text-accent-foreground sm:text-sm [&_svg:not([class*='opacity-'])]:opacity-80 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:-mx-0.5 [&_svg]:shrink-0", {
7
+ defaultVariants: {
8
+ size: "default",
9
+ variant: "default"
10
+ },
11
+ variants: {
12
+ size: {
13
+ default: "h-9 min-w-9 px-[calc(--spacing(2)-1px)] sm:h-8 sm:min-w-8",
14
+ lg: "h-10 min-w-10 px-[calc(--spacing(2.5)-1px)] sm:h-9 sm:min-w-9",
15
+ sm: "h-8 min-w-8 px-[calc(--spacing(1.5)-1px)] sm:h-7 sm:min-w-7"
16
+ },
17
+ variant: {
18
+ default: "border-transparent",
19
+ outline: "border-input bg-background not-dark:bg-clip-padding shadow-xs/5 not-disabled:not-active:not-data-pressed:before:shadow-[0_1px_--theme(--color-black/4%)] dark:bg-input/32 dark:data-pressed:bg-input dark:hover:bg-input/64 dark:not-disabled:not-active:not-data-pressed:before:shadow-[0_-1px_--theme(--color-white/6%)] dark:not-disabled:not-data-pressed:before:shadow-[0_-1px_--theme(--color-white/2%)] [:disabled,:active,[data-pressed]]:shadow-none"
20
+ }
21
+ }
22
+ });
23
+ //#endregion
24
+ //#region src/components/ui/toggle/base.tsx
25
+ function a({ className: n, variant: a, size: o, ...s }) {
26
+ return /* @__PURE__ */ t(r, {
27
+ className: e(i({
28
+ className: n,
29
+ size: o,
30
+ variant: a
31
+ })),
32
+ "data-slot": "toggle",
33
+ ...s
34
+ });
35
+ }
36
+ //#endregion
37
+ export { i as n, a as t };
@@ -0,0 +1,83 @@
1
+ import { t as e } from "./utils-BO0qfoA6.js";
2
+ import { ChevronRight as t, MoreHorizontal as n } from "lucide-react";
3
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
4
+ import { mergeProps as a } from "@base-ui/react/merge-props";
5
+ import { useRender as o } from "@base-ui/react/use-render";
6
+ //#region src/components/ui/breadcrumb/base.tsx
7
+ function s({ ...e }) {
8
+ return /* @__PURE__ */ r("nav", {
9
+ "aria-label": "breadcrumb",
10
+ "data-slot": "breadcrumb",
11
+ ...e
12
+ });
13
+ }
14
+ //#endregion
15
+ //#region src/components/ui/breadcrumb/list.tsx
16
+ function c({ className: t, ...n }) {
17
+ return /* @__PURE__ */ r("ol", {
18
+ className: e("wrap-break-word flex flex-wrap items-center gap-1.5 text-muted-foreground text-sm sm:gap-2.5", t),
19
+ "data-slot": "breadcrumb-list",
20
+ ...n
21
+ });
22
+ }
23
+ //#endregion
24
+ //#region src/components/ui/breadcrumb/item.tsx
25
+ function l({ className: t, ...n }) {
26
+ return /* @__PURE__ */ r("li", {
27
+ className: e("inline-flex items-center gap-1.5", t),
28
+ "data-slot": "breadcrumb-item",
29
+ ...n
30
+ });
31
+ }
32
+ //#endregion
33
+ //#region src/components/ui/breadcrumb/link.tsx
34
+ function u({ className: t, render: n, ...r }) {
35
+ let i = {
36
+ className: e("transition-colors hover:text-foreground", t),
37
+ "data-slot": "breadcrumb-link"
38
+ };
39
+ return o({
40
+ defaultTagName: "a",
41
+ props: a(i, r),
42
+ render: n
43
+ });
44
+ }
45
+ //#endregion
46
+ //#region src/components/ui/breadcrumb/page.tsx
47
+ function d({ className: t, ...n }) {
48
+ return /* @__PURE__ */ r("span", {
49
+ "aria-current": "page",
50
+ className: e("font-normal text-foreground", t),
51
+ "data-slot": "breadcrumb-page",
52
+ ...n
53
+ });
54
+ }
55
+ //#endregion
56
+ //#region src/components/ui/breadcrumb/separator.tsx
57
+ function f({ children: n, className: i, ...a }) {
58
+ return /* @__PURE__ */ r("li", {
59
+ "aria-hidden": "true",
60
+ className: e("opacity-80 [&>svg]:size-4", i),
61
+ "data-slot": "breadcrumb-separator",
62
+ role: "presentation",
63
+ ...a,
64
+ children: n ?? /* @__PURE__ */ r(t, {})
65
+ });
66
+ }
67
+ //#endregion
68
+ //#region src/components/ui/breadcrumb/ellipsis.tsx
69
+ function p({ className: e, ...t }) {
70
+ return /* @__PURE__ */ i("span", {
71
+ "aria-hidden": "true",
72
+ className: e,
73
+ "data-slot": "breadcrumb-ellipsis",
74
+ role: "presentation",
75
+ ...t,
76
+ children: [/* @__PURE__ */ r(n, { className: "size-4" }), /* @__PURE__ */ r("span", {
77
+ className: "sr-only",
78
+ children: "More"
79
+ })]
80
+ });
81
+ }
82
+ //#endregion
83
+ export { l as a, u as i, f as n, c as o, d as r, s, p as t };
@@ -1,26 +1,17 @@
1
1
  import { t as e } from "./utils-BO0qfoA6.js";
2
- import { Loader2Icon as t } from "lucide-react";
3
- import { Suspense as n, lazy as r } from "react";
4
- import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
5
- import { mergeProps as s } from "@base-ui/react/merge-props";
6
- import { useRender as c } from "@base-ui/react/use-render";
7
- import { cva as l } from "class-variance-authority";
8
- //#region src/components/ui/spinner.tsx
9
- function u({ className: n, ...r }) {
10
- return /* @__PURE__ */ a(t, {
11
- "aria-label": "Loading",
12
- className: e("animate-spin", n),
13
- role: "status",
14
- ...r
15
- });
16
- }
17
- var d = {
2
+ import { t } from "./spinner-cwaneGYM.js";
3
+ import { Fragment as n, jsx as r, jsxs as i } from "react/jsx-runtime";
4
+ import { cva as a } from "class-variance-authority";
5
+ import { Suspense as o, lazy as s } from "react";
6
+ import { mergeProps as c } from "@base-ui/react/merge-props";
7
+ import { useRender as l } from "@base-ui/react/use-render";
8
+ var u = {
18
9
  clear: "bg-white/25 dark:bg-black/25",
19
10
  frosted: "bg-white/55 dark:bg-black/35",
20
11
  subtle: "bg-white/30 dark:bg-white/6",
21
12
  liquid: "bg-white/10 dark:bg-white/4",
22
13
  "liquid-refract": "bg-white/8 dark:bg-white/4"
23
- }, f = {
14
+ }, d = {
24
15
  clear: {
25
16
  frost: 2,
26
17
  saturate: 1.9,
@@ -49,30 +40,30 @@ var d = {
49
40
  };
50
41
  //#endregion
51
42
  //#region src/components/ui/glasscn/lazy-glass-surface.tsx
52
- function p({ glassVariant: t }) {
53
- return /* @__PURE__ */ a("span", {
43
+ function f({ glassVariant: t }) {
44
+ return /* @__PURE__ */ r("span", {
54
45
  "aria-hidden": "true",
55
46
  "data-glass-fallback": "",
56
- className: e("pointer-events-none", d[t]),
47
+ className: e("pointer-events-none", u[t]),
57
48
  style: {
58
49
  position: "absolute",
59
50
  inset: 0,
60
51
  borderRadius: "inherit",
61
52
  zIndex: -1,
62
- backdropFilter: `blur(${f[t].frost}px)`
53
+ backdropFilter: `blur(${d[t].frost}px)`
63
54
  }
64
55
  });
65
56
  }
66
- var m = r(() => import("./liquid-glass-BihU6nMl.js").then((e) => e.r).then(({ GlassSurface: e }) => ({ default: e })).catch(() => ({ default: p })));
67
- function h(e) {
68
- return /* @__PURE__ */ a(n, {
69
- fallback: /* @__PURE__ */ a(p, { ...e }),
70
- children: /* @__PURE__ */ a(m, { ...e })
57
+ var p = s(() => import("./liquid-glass-BrmOha12.js").then((e) => e.r).then(({ GlassSurface: e }) => ({ default: e })).catch(() => ({ default: f })));
58
+ function m(e) {
59
+ return /* @__PURE__ */ r(o, {
60
+ fallback: /* @__PURE__ */ r(f, { ...e }),
61
+ children: /* @__PURE__ */ r(p, { ...e })
71
62
  });
72
63
  }
73
64
  //#endregion
74
65
  //#region src/components/ui/button.tsx
75
- var g = l("relative inline-flex shrink-0 cursor-pointer items-center justify-center gap-2 whitespace-nowrap rounded-md border font-medium text-base outline-none transition-[scale,box-shadow,width,height,background-color,border-color] [transition-duration:150ms,150ms,300ms,300ms,150ms,150ms] ease-smooth-out active:scale-99 data-pressed:scale-99 motion-reduce:transition-none motion-reduce:active:scale-100 motion-reduce:data-pressed:scale-100 [&_svg]:transition-transform [&_svg]:duration-150 [&_svg]:ease-smooth-out motion-reduce:[&_svg]:transition-none before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-md)-1px)] pointer-coarse:after:absolute pointer-coarse:after:size-full pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-64 data-loading:select-none sm:text-sm [&_svg:not([class*='opacity-'])]:opacity-80 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:-mx-0.5 [&_svg]:shrink-0", {
66
+ var h = a("relative inline-flex shrink-0 cursor-pointer items-center justify-center gap-2 whitespace-nowrap rounded-md border font-medium text-base outline-none transition-[scale,box-shadow,width,height,background-color,border-color] [transition-duration:150ms,150ms,300ms,300ms,150ms,150ms] ease-smooth-out active:scale-99 data-pressed:scale-99 motion-reduce:transition-none motion-reduce:active:scale-100 motion-reduce:data-pressed:scale-100 [&_svg]:transition-transform [&_svg]:duration-150 [&_svg]:ease-smooth-out motion-reduce:[&_svg]:transition-none before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-md)-1px)] pointer-coarse:after:absolute pointer-coarse:after:size-full pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-64 data-loading:select-none sm:text-sm [&_svg:not([class*='opacity-'])]:opacity-80 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:-mx-0.5 [&_svg]:shrink-0", {
76
67
  compoundVariants: [{
77
68
  class: "h-auto border-0 px-0 align-middle sm:h-auto",
78
69
  size: [
@@ -113,26 +104,26 @@ var g = l("relative inline-flex shrink-0 cursor-pointer items-center justify-cen
113
104
  }
114
105
  }
115
106
  });
116
- function _({ className: t, variant: n, size: r, render: l, children: d, loading: f = !1, disabled: p, glassVariant: m, sound: _ = !0, ...v }) {
117
- let y = !!(f || p), b = l ? void 0 : "button", x = n === "glass" ? m ?? "liquid-refract" : void 0, S = (r ?? "default").startsWith("icon"), C = {
118
- children: /* @__PURE__ */ o(i, { children: [
119
- x && /* @__PURE__ */ a(h, { glassVariant: x }),
120
- !S && /* @__PURE__ */ a("span", {
107
+ function g({ className: a, variant: o, size: s, render: u, children: d, loading: f = !1, disabled: p, glassVariant: g, sound: _ = !0, ...v }) {
108
+ let y = !!(f || p), b = u ? void 0 : "button", x = o === "glass" ? g ?? "liquid-refract" : void 0, S = (s ?? "default").startsWith("icon"), C = {
109
+ children: /* @__PURE__ */ i(n, { children: [
110
+ x && /* @__PURE__ */ r(m, { glassVariant: x }),
111
+ !S && /* @__PURE__ */ r("span", {
121
112
  "aria-hidden": !f || void 0,
122
113
  "data-slot": "button-loading-indicator",
123
- className: e("pointer-events-none inline-flex shrink-0 items-center overflow-hidden transition-[max-width,margin-inline-start,opacity,filter] duration-300 ease-smooth-out motion-reduce:transition-none", f ? "max-w-6" : e("max-w-0 opacity-0 blur-small", r === "xs" ? "-ms-1" : r === "sm" ? "-ms-1.5" : "-ms-2")),
124
- children: /* @__PURE__ */ a(u, { className: f ? void 0 : "animate-none" })
114
+ className: e("pointer-events-none inline-flex shrink-0 items-center overflow-hidden transition-[max-width,margin-inline-start,opacity,filter] duration-300 ease-smooth-out motion-reduce:transition-none", f ? "max-w-6" : e("max-w-0 opacity-0 blur-small", s === "xs" ? "-ms-1" : s === "sm" ? "-ms-1.5" : "-ms-2")),
115
+ children: /* @__PURE__ */ r(t, { className: f ? void 0 : "animate-none" })
125
116
  }),
126
117
  d,
127
- f && S && /* @__PURE__ */ a(u, {
118
+ f && S && /* @__PURE__ */ r(t, {
128
119
  className: "pointer-events-none absolute",
129
120
  "data-slot": "button-loading-indicator"
130
121
  })
131
122
  ] }),
132
- className: e(g({
133
- size: r,
134
- variant: n
135
- }), !S && "hover:[&_svg:not([class*='animate-'])]:scale-101 motion-reduce:hover:[&_svg]:scale-100", f && S && "data-loading:text-transparent", x && e("isolate", "bg-transparent border-0 shadow-none"), t),
123
+ className: e(h({
124
+ size: s,
125
+ variant: o
126
+ }), !S && "hover:[&_svg:not([class*='animate-'])]:scale-101 motion-reduce:hover:[&_svg]:scale-100", f && S && "data-loading:text-transparent", x && e("isolate", "bg-transparent border-0 shadow-none"), a),
136
127
  "aria-disabled": f || void 0,
137
128
  "data-cuelume-press": _ ? "" : void 0,
138
129
  "data-cuelume-release": _ ? "" : void 0,
@@ -142,11 +133,11 @@ function _({ className: t, variant: n, size: r, render: l, children: d, loading:
142
133
  disabled: y,
143
134
  type: b
144
135
  };
145
- return c({
136
+ return l({
146
137
  defaultTagName: "button",
147
- props: s(C, v),
148
- render: l
138
+ props: c(C, v),
139
+ render: u
149
140
  });
150
141
  }
151
142
  //#endregion
152
- export { u as a, d as i, g as n, f as r, _ as t };
143
+ export { u as i, h as n, d as r, g as t };
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- import { n as e, t } from "./button-CIRkQXA6.js";
2
+ import { n as e, t } from "./button-DDBbG_zF.js";
3
3
  export { t as Button, e as buttonVariants };
@@ -0,0 +1,62 @@
1
+ import { t as e } from "./utils-BO0qfoA6.js";
2
+ import { ChevronLeftIcon as t, ChevronRightIcon as n, ChevronsUpDownIcon as r } from "lucide-react";
3
+ import { jsx as i } from "react/jsx-runtime";
4
+ import { DayPicker as a } from "react-day-picker";
5
+ //#region src/components/ui/calendar/utils.ts
6
+ var o = "relative flex size-(--cell-size) text-base sm:text-sm items-center justify-center rounded-lg text-foreground not-in-data-selected:hover:bg-accent disabled:pointer-events-none disabled:opacity-64 [&_svg:not([class*='opacity-'])]:opacity-80 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0";
7
+ //#endregion
8
+ //#region src/components/ui/calendar/base.tsx
9
+ function s({ className: s, classNames: c, showOutsideDays: l = !0, components: u, mode: d = "single", ...f }) {
10
+ let p = {
11
+ button_next: o,
12
+ button_previous: o,
13
+ caption_label: "text-base sm:text-sm font-medium flex items-center gap-2 h-full",
14
+ day: "size-(--cell-size) text-sm py-px",
15
+ day_button: e(o, "in-data-disabled:pointer-events-none in-[.range-middle]:rounded-none in-[.range-end:not(.range-start)]:rounded-s-none in-[.range-start:not(.range-end)]:rounded-e-none in-[.range-middle]:in-data-selected:bg-accent in-data-selected:bg-primary in-[.range-middle]:in-data-selected:text-foreground in-data-disabled:text-muted-foreground/72 in-data-outside:text-muted-foreground/72 in-data-selected:in-data-outside:text-primary-foreground in-data-selected:text-primary-foreground in-data-disabled:line-through outline-none in-[[data-selected]:not(.range-middle)]:transition-[color,background-color,border-radius,box-shadow] focus-visible:z-1 focus-visible:ring-[3px] focus-visible:ring-ring/50"),
16
+ dropdown: "absolute bg-popover inset-0 opacity-0",
17
+ dropdown_root: "relative has-focus:border-ring has-focus:ring-ring/50 has-focus:ring-[3px] border border-input shadow-xs/5 rounded-lg px-[calc(--spacing(3)-1px)] h-9 sm:h-8 [&_svg:not([class*='opacity-'])]:opacity-80 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:-me-1",
18
+ dropdowns: "w-full flex items-center text-base sm:text-sm justify-center h-(--cell-size) gap-1.5 *:[span]:font-medium",
19
+ hidden: "invisible",
20
+ month: "w-full",
21
+ month_caption: "relative mx-(--cell-size) px-1 mb-1 flex h-(--cell-size) items-center justify-center z-2",
22
+ months: "relative flex flex-col sm:flex-row gap-2",
23
+ nav: "absolute top-0 flex w-full justify-between z-1",
24
+ outside: "text-muted-foreground data-selected:bg-accent/50 data-selected:text-muted-foreground",
25
+ range_end: "range-end",
26
+ range_middle: "range-middle",
27
+ range_start: "range-start",
28
+ today: "*:after:pointer-events-none *:after:absolute *:after:bottom-1 *:after:start-1/2 *:after:z-1 *:after:size-[3px] *:after:-translate-x-1/2 *:after:rounded-full *:after:bg-primary [&[data-selected]:not(.range-middle)>*]:after:bg-background [&[data-disabled]>*]:after:bg-foreground/30 *:after:transition-colors",
29
+ week_number: "size-(--cell-size) p-0 text-xs font-medium text-muted-foreground/72",
30
+ weekday: "size-(--cell-size) p-0 text-xs font-medium text-muted-foreground/72"
31
+ }, m = Object.keys(p).reduce((t, n) => {
32
+ let r = c?.[n], i = p[n];
33
+ return t[n] = r ? e(i, r) : i, t;
34
+ }, { ...p }), h = {
35
+ Chevron: ({ className: a, orientation: o, ...s }) => o === "left" ? /* @__PURE__ */ i(t, {
36
+ className: e(a, "rtl:rotate-180"),
37
+ ...s,
38
+ "aria-hidden": "true"
39
+ }) : o === "right" ? /* @__PURE__ */ i(n, {
40
+ className: e(a, "rtl:rotate-180"),
41
+ ...s,
42
+ "aria-hidden": "true"
43
+ }) : /* @__PURE__ */ i(r, {
44
+ className: a,
45
+ ...s,
46
+ "aria-hidden": "true"
47
+ }),
48
+ ...u
49
+ }, g = {
50
+ className: e("w-fit [--cell-size:--spacing(10)] sm:[--cell-size:--spacing(9)]", s),
51
+ classNames: m,
52
+ components: h,
53
+ "data-slot": "calendar",
54
+ formatters: { formatMonthDropdown: (e) => e.toLocaleString("default", { month: "short" }) },
55
+ mode: d,
56
+ showOutsideDays: l,
57
+ ...f
58
+ };
59
+ return /* @__PURE__ */ i(a, { ...g });
60
+ }
61
+ //#endregion
62
+ export { s as t };
@@ -0,0 +1,12 @@
1
+ import { t as e } from "./utils-BO0qfoA6.js";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ import { CheckboxGroup as n, CheckboxGroup as r } from "@base-ui/react/checkbox-group";
4
+ //#region src/components/ui/checkbox-group/base.tsx
5
+ function i({ className: r, ...i }) {
6
+ return /* @__PURE__ */ t(n, {
7
+ className: e("flex flex-col items-start gap-3", r),
8
+ ...i
9
+ });
10
+ }
11
+ //#endregion
12
+ export { i as n, r as t };