@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,267 @@
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 { n as r } from "./portal-context-oIZFl3NP.js";
5
+ import { ChevronsUpDownIcon as i, XIcon as a } from "lucide-react";
6
+ import { jsx as o, jsxs as s } from "react/jsx-runtime";
7
+ import * as c from "react";
8
+ import { Combobox as l, Combobox as u } from "@base-ui/react/combobox";
9
+ //#region src/components/ui/combobox/context.ts
10
+ var d = c.createContext({
11
+ chipsRef: null,
12
+ multiple: !1
13
+ });
14
+ //#endregion
15
+ //#region src/components/ui/combobox/root.tsx
16
+ function f(e) {
17
+ let t = c.useRef(null);
18
+ return /* @__PURE__ */ o(d.Provider, {
19
+ value: {
20
+ chipsRef: t,
21
+ multiple: !!e.multiple
22
+ },
23
+ children: /* @__PURE__ */ o(l.Root, { ...e })
24
+ });
25
+ }
26
+ //#endregion
27
+ //#region src/components/ui/combobox/chips-input.tsx
28
+ function p({ className: t, size: n, ...r }) {
29
+ let i = n ?? "default";
30
+ return /* @__PURE__ */ o(l.Input, {
31
+ className: e("min-w-12 flex-1 text-base outline-none sm:text-sm [[data-slot=combobox-chip]+&]:ps-0.5", i === "sm" ? "ps-1.5" : "ps-2", t),
32
+ "data-size": typeof i == "string" ? i : void 0,
33
+ "data-slot": "combobox-chips-input",
34
+ size: typeof i == "number" ? i : void 0,
35
+ ...r
36
+ });
37
+ }
38
+ //#endregion
39
+ //#region src/components/ui/combobox/trigger.tsx
40
+ function m({ className: e, children: t, ...n }) {
41
+ return /* @__PURE__ */ o(l.Trigger, {
42
+ className: e,
43
+ "data-slot": "combobox-trigger",
44
+ ...n,
45
+ children: t
46
+ });
47
+ }
48
+ //#endregion
49
+ //#region src/components/ui/combobox/clear.tsx
50
+ function h({ className: e, ...t }) {
51
+ return /* @__PURE__ */ o(l.Clear, {
52
+ className: e,
53
+ "data-slot": "combobox-clear",
54
+ ...t
55
+ });
56
+ }
57
+ //#endregion
58
+ //#region src/components/ui/combobox/input.tsx
59
+ function g({ className: n, showTrigger: r = !0, showClear: c = !1, startAddon: u, size: d, triggerProps: f, clearProps: p, ...g }) {
60
+ let _ = d ?? "default";
61
+ return /* @__PURE__ */ s(l.InputGroup, {
62
+ className: "relative not-has-[>*.w-full]:w-fit w-full text-foreground has-disabled:opacity-64",
63
+ "data-slot": "combobox-input-group",
64
+ children: [
65
+ u && /* @__PURE__ */ o("div", {
66
+ "aria-hidden": "true",
67
+ 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",
68
+ "data-slot": "combobox-start-addon",
69
+ children: u
70
+ }),
71
+ /* @__PURE__ */ o(l.Input, {
72
+ className: e(u && "data-[size=sm]:*:data-[slot=combobox-input]:ps-[calc(--spacing(7.5)-1px)] *:data-[slot=combobox-input]:ps-[calc(--spacing(8.5)-1px)] sm:data-[size=sm]:*:data-[slot=combobox-input]:ps-[calc(--spacing(7)-1px)] sm:*:data-[slot=combobox-input]:ps-[calc(--spacing(8)-1px)]", _ === "sm" ? "has-[+[data-slot=combobox-trigger],+[data-slot=combobox-clear]]:*:data-[slot=combobox-input]:pe-6.5" : "has-[+[data-slot=combobox-trigger],+[data-slot=combobox-clear]]:*:data-[slot=combobox-input]:pe-7", n),
73
+ "data-slot": "combobox-input",
74
+ render: /* @__PURE__ */ o(t, {
75
+ className: "has-disabled:opacity-100",
76
+ nativeInput: !0,
77
+ size: _
78
+ }),
79
+ ...g
80
+ }),
81
+ r && /* @__PURE__ */ o(m, {
82
+ 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-opacity pointer-coarse:after:absolute pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:opacity-100 has-[+[data-slot=combobox-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", _ === "sm" ? "end-0" : "end-0.5"),
83
+ ...f,
84
+ children: /* @__PURE__ */ o(l.Icon, {
85
+ "data-slot": "combobox-icon",
86
+ children: /* @__PURE__ */ o(i, {})
87
+ })
88
+ }),
89
+ c && /* @__PURE__ */ o(h, {
90
+ 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-opacity pointer-coarse:after:absolute pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:opacity-100 has-[+[data-slot=combobox-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", _ === "sm" ? "end-0" : "end-0.5"),
91
+ ...p,
92
+ children: /* @__PURE__ */ o(a, {})
93
+ })
94
+ ]
95
+ });
96
+ }
97
+ //#endregion
98
+ //#region src/components/ui/combobox/popup.tsx
99
+ function _({ className: t, children: n, side: i = "bottom", sideOffset: a = 4, alignOffset: s, align: u = "start", anchor: f, portalProps: p, ...m }) {
100
+ let h = r(p?.container), { chipsRef: g } = c.useContext(d), _ = f ?? g;
101
+ return /* @__PURE__ */ o(l.Portal, {
102
+ ...p,
103
+ container: h,
104
+ children: /* @__PURE__ */ o(l.Positioner, {
105
+ align: u,
106
+ alignOffset: s,
107
+ anchor: _,
108
+ className: "z-50 select-none",
109
+ "data-slot": "combobox-positioner",
110
+ side: i,
111
+ sideOffset: a,
112
+ children: /* @__PURE__ */ o("span", {
113
+ 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),
114
+ children: /* @__PURE__ */ o(l.Popup, {
115
+ className: "flex max-h-[min(var(--available-height),23rem)] flex-1 flex-col text-foreground",
116
+ "data-slot": "combobox-popup",
117
+ ...m,
118
+ children: n
119
+ })
120
+ })
121
+ })
122
+ });
123
+ }
124
+ //#endregion
125
+ //#region src/components/ui/combobox/item.tsx
126
+ function v({ className: t, children: n, ...r }) {
127
+ return /* @__PURE__ */ s(l.Item, {
128
+ className: e("grid min-h-8 in-data-[side=none]:min-w-[calc(var(--anchor-width)+1.25rem)] cursor-default grid-cols-[1rem_1fr] items-center gap-2 rounded-sm py-1 ps-2 pe-4 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 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0", t),
129
+ "data-slot": "combobox-item",
130
+ ...r,
131
+ children: [/* @__PURE__ */ o(l.ItemIndicator, {
132
+ className: "col-start-1",
133
+ children: /* @__PURE__ */ o("svg", {
134
+ "aria-hidden": "true",
135
+ fill: "none",
136
+ height: "24",
137
+ stroke: "currentColor",
138
+ strokeLinecap: "round",
139
+ strokeLinejoin: "round",
140
+ strokeWidth: "2",
141
+ viewBox: "0 0 24 24",
142
+ width: "24",
143
+ xmlns: "http://www.w3.org/2000/svg",
144
+ children: /* @__PURE__ */ o("path", { d: "M5.252 12.7 10.2 18.63 18.748 5.37" })
145
+ })
146
+ }), /* @__PURE__ */ o("div", {
147
+ className: "col-start-2",
148
+ children: n
149
+ })]
150
+ });
151
+ }
152
+ //#endregion
153
+ //#region src/components/ui/combobox/separator.tsx
154
+ function y({ className: t, ...n }) {
155
+ return /* @__PURE__ */ o(l.Separator, {
156
+ className: e("mx-2 my-1 h-px bg-border last:hidden", t),
157
+ "data-slot": "combobox-separator",
158
+ ...n
159
+ });
160
+ }
161
+ //#endregion
162
+ //#region src/components/ui/combobox/group.tsx
163
+ function b({ className: t, ...n }) {
164
+ return /* @__PURE__ */ o(l.Group, {
165
+ className: e("[[role=group]+&]:mt-1.5", t),
166
+ "data-slot": "combobox-group",
167
+ ...n
168
+ });
169
+ }
170
+ //#endregion
171
+ //#region src/components/ui/combobox/group-label.tsx
172
+ function x({ className: t, ...n }) {
173
+ return /* @__PURE__ */ o(l.GroupLabel, {
174
+ className: e("px-2 py-1.5 font-medium text-muted-foreground text-xs", t),
175
+ "data-slot": "combobox-group-label",
176
+ ...n
177
+ });
178
+ }
179
+ //#endregion
180
+ //#region src/components/ui/combobox/empty.tsx
181
+ function S({ className: t, ...n }) {
182
+ return /* @__PURE__ */ o(l.Empty, {
183
+ className: e("not-empty:p-2 text-center text-base text-muted-foreground sm:text-sm", t),
184
+ "data-slot": "combobox-empty",
185
+ ...n
186
+ });
187
+ }
188
+ //#endregion
189
+ //#region src/components/ui/combobox/row.tsx
190
+ function C({ className: e, ...t }) {
191
+ return /* @__PURE__ */ o(l.Row, {
192
+ className: e,
193
+ "data-slot": "combobox-row",
194
+ ...t
195
+ });
196
+ }
197
+ //#endregion
198
+ //#region src/components/ui/combobox/value.tsx
199
+ var w = l.Value;
200
+ //#endregion
201
+ //#region src/components/ui/combobox/list.tsx
202
+ function T({ className: t, ...r }) {
203
+ return /* @__PURE__ */ o(n, {
204
+ scrollbarGutter: !0,
205
+ scrollFade: !0,
206
+ children: /* @__PURE__ */ o(l.List, {
207
+ className: e("not-empty:scroll-py-1 not-empty:px-1 not-empty:py-1 in-data-has-overflow-y:pe-3", t),
208
+ "data-slot": "combobox-list",
209
+ ...r
210
+ })
211
+ });
212
+ }
213
+ //#endregion
214
+ //#region src/components/ui/combobox/status.tsx
215
+ function E({ className: t, ...n }) {
216
+ return /* @__PURE__ */ o(l.Status, {
217
+ className: e("px-3 py-2 font-medium text-muted-foreground text-xs empty:m-0 empty:p-0", t),
218
+ "data-slot": "combobox-status",
219
+ ...n
220
+ });
221
+ }
222
+ //#endregion
223
+ //#region src/components/ui/combobox/collection.tsx
224
+ var D = l.Collection;
225
+ //#endregion
226
+ //#region src/components/ui/combobox/chips.tsx
227
+ function O({ className: t, children: n, startAddon: r, ...i }) {
228
+ let { chipsRef: a } = c.useContext(d);
229
+ return /* @__PURE__ */ s(l.Chips, {
230
+ className: e("relative inline-flex min-h-9 w-full flex-wrap gap-1 rounded-lg border border-input bg-background not-dark:bg-clip-padding p-[calc(--spacing(1)-1px)] text-base shadow-xs/5 outline-none ring-ring/24 transition-shadow *:min-h-7 before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] not-has-disabled:not-focus-within:not-aria-invalid:before:shadow-[0_1px_--theme(--color-black/4%)] focus-within:border-ring focus-within:ring-[3px] has-disabled:pointer-events-none has-data-[size=lg]:min-h-10 has-data-[size=sm]:min-h-8 has-aria-invalid:border-destructive/36 has-autofill:bg-foreground/4 has-disabled:opacity-64 has-[:disabled,:focus-within,[aria-invalid]]:shadow-none focus-within:has-aria-invalid:border-destructive/64 focus-within:has-aria-invalid:ring-destructive/16 has-data-[size=lg]:*:min-h-8 has-data-[size=sm]:*:min-h-6 sm:min-h-8 sm:text-sm sm:has-data-[size=lg]:min-h-9 sm:has-data-[size=sm]:min-h-7 sm:*:min-h-6 sm:has-data-[size=lg]:*:min-h-7 sm:has-data-[size=sm]:*:min-h-5 dark:not-has-disabled:bg-input/32 dark:has-autofill:bg-foreground/8 dark:has-aria-invalid:ring-destructive/24 dark:not-has-disabled:not-focus-within:not-aria-invalid:before:shadow-[0_-1px_--theme(--color-white/6%)]", t),
231
+ "data-slot": "combobox-chips",
232
+ ref: a,
233
+ ...i,
234
+ children: [r && /* @__PURE__ */ o("div", {
235
+ "aria-hidden": "true",
236
+ className: "flex shrink-0 items-center ps-2 opacity-80 has-[~[data-size=sm]]:has-[+[data-slot=combobox-chip]]:pe-1.5 has-[~[data-size=sm]]:ps-1.5 has-[+[data-slot=combobox-chip]]:pe-2 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:-ms-0.5 [&_svg]:-me-1.5",
237
+ "data-slot": "combobox-start-addon",
238
+ children: r
239
+ }), n]
240
+ });
241
+ }
242
+ //#endregion
243
+ //#region src/components/ui/combobox/chip-remove.tsx
244
+ function k(e) {
245
+ return /* @__PURE__ */ o(l.ChipRemove, {
246
+ "aria-label": "Remove",
247
+ className: "h-full shrink-0 cursor-pointer px-1.5 opacity-80 hover:opacity-100 [&_svg:not([class*='size-'])]:size-4 sm:[&_svg:not([class*='size-'])]:size-3.5",
248
+ "data-slot": "combobox-chip-remove",
249
+ ...e,
250
+ children: /* @__PURE__ */ o(a, {})
251
+ });
252
+ }
253
+ //#endregion
254
+ //#region src/components/ui/combobox/chip.tsx
255
+ function A({ children: e, removeProps: t, ...n }) {
256
+ return /* @__PURE__ */ s(l.Chip, {
257
+ className: "flex items-center rounded-[calc(var(--radius-md)-1px)] bg-accent ps-2 font-medium text-accent-foreground text-sm outline-none sm:text-xs/(--text-xs--line-height) [&_svg:not([class*='size-'])]:size-4 sm:[&_svg:not([class*='size-'])]:size-3.5",
258
+ "data-slot": "combobox-chip",
259
+ ...n,
260
+ children: [e, /* @__PURE__ */ o(k, { ...t })]
261
+ });
262
+ }
263
+ //#endregion
264
+ //#region src/components/ui/combobox/utils.ts
265
+ var j = l.useFilter;
266
+ //#endregion
267
+ export { d as S, g as _, O as a, p as b, T as c, S as d, x as f, _ as g, v as h, k as i, w as l, y as m, j as n, D as o, b as p, A as r, E as s, u as t, C as u, h as v, f as x, m as y };
@@ -0,0 +1,2 @@
1
+ import type * as React from "react";
2
+ export default function SidebarContent({ className, ...props }: React.ComponentProps<"div">): React.ReactElement;
@@ -0,0 +1,2 @@
1
+ /** Composition only: changing sidebar state does not change this context. */
2
+ export declare const SidebarInstanceContext: import('react').Context<string | null>;
@@ -0,0 +1,2 @@
1
+ import type * as React from "react";
2
+ export default function SidebarFooter({ className, ...props }: React.ComponentProps<"div">): React.ReactElement;
@@ -0,0 +1,3 @@
1
+ import { useRender } from '@base-ui/react/use-render';
2
+ import type * as React from "react";
3
+ export default function SidebarGroupAction({ className, render, ...props }: useRender.ComponentProps<"button">): React.ReactElement;
@@ -0,0 +1,2 @@
1
+ import type * as React from "react";
2
+ export default function SidebarGroupContent({ className, ...props }: React.ComponentProps<"div">): React.ReactElement;
@@ -0,0 +1,3 @@
1
+ import { useRender } from '@base-ui/react/use-render';
2
+ import type * as React from "react";
3
+ export default function SidebarGroupLabel({ className, render, ...props }: useRender.ComponentProps<"div">): React.ReactElement;
@@ -0,0 +1,2 @@
1
+ import type * as React from "react";
2
+ export default function SidebarGroup({ className, ...props }: React.ComponentProps<"div">): React.ReactElement;
@@ -0,0 +1,2 @@
1
+ import type * as React from "react";
2
+ export default function SidebarHeader({ className, ...props }: React.ComponentProps<"div">): React.ReactElement;
@@ -0,0 +1,26 @@
1
+ export { default as Sidebar } from './sidebar';
2
+ export { default as SidebarTrigger } from './trigger';
3
+ export { default as SidebarRail } from './rail';
4
+ export { default as SidebarInset } from './inset';
5
+ export { default as SidebarInput } from './input';
6
+ export { default as SidebarHeader } from './header';
7
+ export { default as SidebarFooter } from './footer';
8
+ export { default as SidebarSeparator } from './separator';
9
+ export { default as SidebarContent } from './content';
10
+ export { default as SidebarGroup } from './group';
11
+ export { default as SidebarGroupLabel } from './group-label';
12
+ export { default as SidebarGroupAction } from './group-action';
13
+ export { default as SidebarGroupContent } from './group-content';
14
+ export { default as SidebarMenu } from './menu';
15
+ export { default as SidebarMenuItem } from './menu-item';
16
+ export { default as SidebarMenuButton } from './menu-button';
17
+ export { default as SidebarMenuAction } from './menu-action';
18
+ export { default as SidebarMenuBadge } from './menu-badge';
19
+ export { default as SidebarMenuSkeleton } from './menu-skeleton';
20
+ export { default as SidebarMenuSub } from './menu-sub';
21
+ export { default as SidebarMenuSubItem } from './menu-sub-item';
22
+ export { default as SidebarMenuSubButton } from './menu-sub-button';
23
+ export { default as SidebarProvider } from './provider';
24
+ export { useSidebar, useSidebarState, useSidebarActions } from './use-sidebar';
25
+ export type { SidebarContextProps, SidebarState, SidebarActions, SidebarProviderProps } from './types';
26
+ export { sidebarOpenAtom, sidebarOpenMobileAtom, sidebarIsMobileAtom, sidebarStateAtom, setSidebarOpenAtom, setSidebarOpenMobileAtom, toggleSidebarAtom, removeSidebarInstance } from './sidebar-atom';
@@ -0,0 +1,3 @@
1
+ import { Input } from '../../ui/input';
2
+ import type * as React from "react";
3
+ export default function SidebarInput({ className, ...props }: React.ComponentProps<typeof Input>): React.ReactElement;
@@ -0,0 +1,2 @@
1
+ import type * as React from "react";
2
+ export default function SidebarInset({ className, ...props }: React.ComponentProps<"main">): React.ReactElement;
@@ -0,0 +1,5 @@
1
+ import { useRender } from '@base-ui/react/use-render';
2
+ import type * as React from "react";
3
+ export default function SidebarMenuAction({ className, showOnHover, render, ...props }: useRender.ComponentProps<"button"> & {
4
+ showOnHover?: boolean;
5
+ }): React.ReactElement;
@@ -0,0 +1,2 @@
1
+ import type * as React from "react";
2
+ export default function SidebarMenuBadge({ className, ...props }: React.ComponentProps<"div">): React.ReactElement;
@@ -0,0 +1,9 @@
1
+ import { useRender } from '@base-ui/react/use-render';
2
+ import { VariantProps } from 'class-variance-authority';
3
+ import { TooltipPopup } from '../../ui/tooltip';
4
+ import { sidebarMenuButtonVariants } from './utils';
5
+ import type * as React from "react";
6
+ export default function SidebarMenuButton({ isActive, variant, size, tooltip, className, render, ...props }: useRender.ComponentProps<"button"> & {
7
+ isActive?: boolean;
8
+ tooltip?: string | React.ComponentProps<typeof TooltipPopup>;
9
+ } & VariantProps<typeof sidebarMenuButtonVariants>): React.ReactElement;
@@ -0,0 +1,2 @@
1
+ import type * as React from "react";
2
+ export default function SidebarMenuItem({ className, ...props }: React.ComponentProps<"li">): React.ReactElement;
@@ -0,0 +1,4 @@
1
+ import * as React from "react";
2
+ export default function SidebarMenuSkeleton({ className, showIcon, ...props }: React.ComponentProps<"div"> & {
3
+ showIcon?: boolean;
4
+ }): React.ReactElement;
@@ -0,0 +1,6 @@
1
+ import { useRender } from '@base-ui/react/use-render';
2
+ import type * as React from "react";
3
+ export default function SidebarMenuSubButton({ size, isActive, className, render, ...props }: useRender.ComponentProps<"a"> & {
4
+ size?: "sm" | "md";
5
+ isActive?: boolean;
6
+ }): React.ReactElement;
@@ -0,0 +1,2 @@
1
+ import type * as React from "react";
2
+ export default function SidebarMenuSubItem({ className, ...props }: React.ComponentProps<"li">): React.ReactElement;
@@ -0,0 +1,2 @@
1
+ import type * as React from "react";
2
+ export default function SidebarMenuSub({ className, ...props }: React.ComponentProps<"ul">): React.ReactElement;
@@ -0,0 +1,2 @@
1
+ import type * as React from "react";
2
+ export default function SidebarMenu({ className, ...props }: React.ComponentProps<"ul">): React.ReactElement;
@@ -0,0 +1,3 @@
1
+ import { SidebarProviderProps } from './types';
2
+ import * as React from "react";
3
+ export default function SidebarProvider({ sidebarId: explicitId, defaultOpen, open, onOpenChange, className, style, children, ...props }: SidebarProviderProps): React.ReactElement;
@@ -0,0 +1,2 @@
1
+ import type * as React from "react";
2
+ export default function SidebarRail({ className, ...props }: React.ComponentProps<"button">): React.ReactElement;
@@ -0,0 +1,3 @@
1
+ import { Separator } from '../../ui/separator';
2
+ import type * as React from "react";
3
+ export default function SidebarSeparator({ className, ...props }: React.ComponentProps<typeof Separator>): React.ReactElement;
@@ -0,0 +1,32 @@
1
+ import { SidebarConfig, SidebarState, SidebarValue } from './types';
2
+ /** @internal */
3
+ export declare const sidebarOwnedOpenAtom: import('../../../lib/keyed-atom').TFamily<import('jotai').PrimitiveAtom<boolean> & {
4
+ init: boolean;
5
+ }>;
6
+ /** @internal */
7
+ export declare const sidebarMobileOpenValueAtom: import('../../../lib/keyed-atom').TFamily<import('jotai').PrimitiveAtom<boolean> & {
8
+ init: boolean;
9
+ }>;
10
+ /** @internal */
11
+ export declare const sidebarMobileValueAtom: import('../../../lib/keyed-atom').TFamily<import('jotai').PrimitiveAtom<boolean> & {
12
+ init: boolean;
13
+ }>;
14
+ /** @internal */
15
+ export declare const sidebarConfigAtom: import('../../../lib/keyed-atom').TFamily<import('jotai').PrimitiveAtom<SidebarConfig> & {
16
+ init: SidebarConfig;
17
+ }>;
18
+ export declare const sidebarOpenAtom: import('../../../lib/keyed-atom').TFamily<import('jotai').Atom<boolean>>;
19
+ export declare const sidebarOpenMobileAtom: import('../../../lib/keyed-atom').TFamily<import('jotai').Atom<boolean>>;
20
+ export declare const sidebarIsMobileAtom: import('../../../lib/keyed-atom').TFamily<import('jotai').Atom<boolean>>;
21
+ export declare const sidebarStateAtom: import('../../../lib/keyed-atom').TFamily<import('jotai').Atom<SidebarState>>;
22
+ export declare const setSidebarOpenAtom: import('../../../lib/keyed-atom').TFamily<import('jotai').WritableAtom<null, [update: SidebarValue], void> & {
23
+ init: null;
24
+ }>;
25
+ export declare const setSidebarOpenMobileAtom: import('../../../lib/keyed-atom').TFamily<import('jotai').WritableAtom<null, [update: SidebarValue], void> & {
26
+ init: null;
27
+ }>;
28
+ export declare const toggleSidebarAtom: import('../../../lib/keyed-atom').TFamily<import('jotai').WritableAtom<null, [], void> & {
29
+ init: null;
30
+ }>;
31
+ /** Release a named instance after its components and subscribers unmount. */
32
+ export declare const removeSidebarInstance: (id: string) => void;
@@ -0,0 +1,6 @@
1
+ import type * as React from "react";
2
+ export default function Sidebar({ side, variant, collapsible, className, children, ...props }: React.ComponentProps<"div"> & {
3
+ side?: "left" | "right";
4
+ variant?: "sidebar" | "floating" | "inset";
5
+ collapsible?: "offcanvas" | "icon" | "none";
6
+ }): React.ReactElement;
@@ -0,0 +1,3 @@
1
+ import { Button } from '../../ui/button';
2
+ import type * as React from "react";
3
+ export default function SidebarTrigger({ className, onClick, ...props }: React.ComponentProps<typeof Button>): React.ReactElement;
@@ -0,0 +1,26 @@
1
+ import type * as React from "react";
2
+ export type SidebarValue = boolean | ((previous: boolean) => boolean);
3
+ export interface SidebarState {
4
+ state: "expanded" | "collapsed";
5
+ open: boolean;
6
+ openMobile: boolean;
7
+ isMobile: boolean;
8
+ }
9
+ export interface SidebarActions {
10
+ setOpen: (value: SidebarValue) => void;
11
+ setOpenMobile: (value: SidebarValue) => void;
12
+ toggleSidebar: () => void;
13
+ }
14
+ export type SidebarContextProps = SidebarState & SidebarActions;
15
+ export type SidebarProviderProps = React.ComponentProps<"div"> & {
16
+ /** Explicit ids retain state across remounts and support remote actions. */
17
+ sidebarId?: string;
18
+ defaultOpen?: boolean;
19
+ open?: boolean;
20
+ onOpenChange?: (open: boolean) => void;
21
+ };
22
+ /** @internal */
23
+ export interface SidebarConfig {
24
+ controlled: boolean;
25
+ onOpenChange?: (open: boolean) => void;
26
+ }
@@ -0,0 +1 @@
1
+ export declare function useSidebarMobile(): boolean;
@@ -0,0 +1,4 @@
1
+ import { SidebarActions, SidebarContextProps, SidebarState } from './types';
2
+ export declare function useSidebarState(sidebarId: string): SidebarState;
3
+ export declare function useSidebarActions(sidebarId: string): SidebarActions;
4
+ export declare function useSidebar(): SidebarContextProps;
@@ -0,0 +1,10 @@
1
+ export declare const SIDEBAR_COOKIE_NAME: string;
2
+ export declare const SIDEBAR_COOKIE_MAX_AGE: number;
3
+ export declare const SIDEBAR_WIDTH: string;
4
+ export declare const SIDEBAR_WIDTH_MOBILE: string;
5
+ export declare const SIDEBAR_WIDTH_ICON: string;
6
+ export declare const SIDEBAR_KEYBOARD_SHORTCUT: string;
7
+ export declare const sidebarMenuButtonVariants: (props?: ({
8
+ size?: "default" | "sm" | "lg" | null | undefined;
9
+ variant?: "default" | "outline" | null | undefined;
10
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -1,7 +1,7 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import type * as React from "react";
3
3
  declare const alertVariants: (props?: ({
4
- variant?: "default" | "error" | "success" | "info" | "warning" | null | undefined;
4
+ variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
5
5
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
6
  export declare function Alert({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof alertVariants>): React.ReactElement;
7
7
  export declare function AlertTitle({ className, ...props }: React.ComponentProps<"div">): React.ReactElement;
@@ -1,8 +1,8 @@
1
1
  import { useRender } from '@base-ui/react/use-render';
2
2
  import { VariantProps } from 'class-variance-authority';
3
3
  declare const badgeVariants: (props?: ({
4
- variant?: "default" | "invert" | "outline" | "focus" | "destructive" | "destructive-outline" | "secondary" | "success" | "info" | "warning" | "primary-light" | "warning-light" | "success-light" | "info-light" | "destructive-light" | "invert-light" | "focus-light" | "primary-outline" | "warning-outline" | "success-outline" | "info-outline" | "invert-outline" | "focus-outline" | null | undefined;
5
- size?: "default" | "xs" | "sm" | "lg" | "xl" | null | undefined;
4
+ variant?: "invert" | "default" | "info" | "success" | "warning" | "outline" | "secondary" | "destructive" | "focus" | "primary-light" | "warning-light" | "success-light" | "info-light" | "destructive-light" | "invert-light" | "focus-light" | "primary-outline" | "warning-outline" | "success-outline" | "info-outline" | "destructive-outline" | "invert-outline" | "focus-outline" | null | undefined;
5
+ size?: "default" | "sm" | "lg" | "xl" | "xs" | null | undefined;
6
6
  radius?: "default" | "full" | null | undefined;
7
7
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
8
8
  interface IBadgeProps extends useRender.ComponentProps<"span"> {
@@ -0,0 +1,2 @@
1
+ import type * as React from "react";
2
+ export default function Breadcrumb({ ...props }: React.ComponentProps<"nav">): React.ReactElement;
@@ -0,0 +1,2 @@
1
+ import type * as React from "react";
2
+ export default function BreadcrumbEllipsis({ className, ...props }: React.ComponentProps<"span">): React.ReactElement;
@@ -0,0 +1,7 @@
1
+ export { default as Breadcrumb } from './base';
2
+ export { default as BreadcrumbList } from './list';
3
+ export { default as BreadcrumbItem } from './item';
4
+ export { default as BreadcrumbLink } from './link';
5
+ export { default as BreadcrumbPage } from './page';
6
+ export { default as BreadcrumbSeparator } from './separator';
7
+ export { default as BreadcrumbEllipsis } from './ellipsis';
@@ -0,0 +1,2 @@
1
+ import type * as React from "react";
2
+ export default function BreadcrumbItem({ className, ...props }: React.ComponentProps<"li">): React.ReactElement;
@@ -0,0 +1,3 @@
1
+ import { useRender } from '@base-ui/react/use-render';
2
+ import type * as React from "react";
3
+ export default function BreadcrumbLink({ className, render, ...props }: useRender.ComponentProps<"a">): React.ReactElement;
@@ -0,0 +1,2 @@
1
+ import type * as React from "react";
2
+ export default function BreadcrumbList({ className, ...props }: React.ComponentProps<"ol">): React.ReactElement;
@@ -0,0 +1,2 @@
1
+ import type * as React from "react";
2
+ export default function BreadcrumbPage({ className, ...props }: React.ComponentProps<"span">): React.ReactElement;
@@ -0,0 +1,2 @@
1
+ import type * as React from "react";
2
+ export default function BreadcrumbSeparator({ children, className, ...props }: React.ComponentProps<"li">): React.ReactElement;
@@ -3,8 +3,8 @@ import { VariantProps } from 'class-variance-authority';
3
3
  import { TFrostGlassVariant } from '../../lib/glass-variants';
4
4
  import type * as React from "react";
5
5
  export declare const buttonVariants: (props?: ({
6
- size?: "icon" | "default" | "xs" | "sm" | "lg" | "xl" | "icon-lg" | "icon-sm" | "icon-xl" | "icon-xs" | null | undefined;
7
- variant?: "default" | "link" | "outline" | "destructive" | "destructive-outline" | "ghost" | "glass" | "secondary" | null | undefined;
6
+ size?: "default" | "sm" | "lg" | "icon" | "xl" | "xs" | "icon-lg" | "icon-sm" | "icon-xl" | "icon-xs" | null | undefined;
7
+ variant?: "link" | "default" | "outline" | "secondary" | "destructive" | "destructive-outline" | "ghost" | "glass" | null | undefined;
8
8
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
9
9
  type TButtonVariant = VariantProps<typeof buttonVariants>["variant"];
10
10
  interface IButtonBaseProps extends useRender.ComponentProps<"button"> {
@@ -0,0 +1,3 @@
1
+ import { DayPicker } from 'react-day-picker';
2
+ import type * as React from "react";
3
+ export default function Calendar({ className, classNames, showOutsideDays, components: userComponents, mode, ...props }: React.ComponentProps<typeof DayPicker>): React.ReactElement;
@@ -0,0 +1 @@
1
+ export { default as Calendar } from './base';
@@ -0,0 +1 @@
1
+ export declare const buttonClassNames = "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";
@@ -0,0 +1,3 @@
1
+ import { CheckboxGroup as CheckboxGroupPrimitive } from '@base-ui/react/checkbox-group';
2
+ import { default as React } from 'react';
3
+ export default function CheckboxGroup({ className, ...props }: CheckboxGroupPrimitive.Props): React.ReactElement;
@@ -0,0 +1,2 @@
1
+ export { default as CheckboxGroup } from './base';
2
+ export { CheckboxGroup as CheckboxGroupPrimitive } from '@base-ui/react/checkbox-group';
@@ -0,0 +1,3 @@
1
+ import { Combobox as ComboboxPrimitive } from '@base-ui/react/combobox';
2
+ import * as React from "react";
3
+ export default function ComboboxChipRemove(props: ComboboxPrimitive.ChipRemove.Props): React.ReactElement;
@@ -0,0 +1,5 @@
1
+ import { Combobox as ComboboxPrimitive } from '@base-ui/react/combobox';
2
+ import * as React from "react";
3
+ export default function ComboboxChip({ children, removeProps, ...props }: ComboboxPrimitive.Chip.Props & {
4
+ removeProps?: ComboboxPrimitive.ChipRemove.Props;
5
+ }): React.ReactElement;