@omnifyjp/ui 0.4.4 → 0.5.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 (417) hide show
  1. package/README.md +379 -133
  2. package/dist/chunk-2ZIFL2X3.js +189 -0
  3. package/dist/chunk-2ZIFL2X3.js.map +1 -0
  4. package/dist/chunk-5BL4VFRJ.js +57 -0
  5. package/dist/chunk-5BL4VFRJ.js.map +1 -0
  6. package/dist/chunk-5D3OAVOZ.js +91 -0
  7. package/dist/chunk-5D3OAVOZ.js.map +1 -0
  8. package/dist/chunk-DTM76EJD.js +235 -0
  9. package/dist/chunk-DTM76EJD.js.map +1 -0
  10. package/dist/chunk-EJEVW4RO.js +49 -0
  11. package/dist/chunk-EJEVW4RO.js.map +1 -0
  12. package/dist/chunk-JXFBHSPN.js +37 -0
  13. package/dist/chunk-JXFBHSPN.js.map +1 -0
  14. package/dist/chunk-O25D7DCP.js +72 -0
  15. package/dist/chunk-O25D7DCP.js.map +1 -0
  16. package/dist/chunk-OY3PSPA5.js +661 -0
  17. package/dist/chunk-OY3PSPA5.js.map +1 -0
  18. package/dist/chunk-SHHZRZMM.js +83 -0
  19. package/dist/chunk-SHHZRZMM.js.map +1 -0
  20. package/dist/chunk-X57K24P3.js +224 -0
  21. package/dist/chunk-X57K24P3.js.map +1 -0
  22. package/dist/chunk-XDXGUPCR.js +123 -0
  23. package/dist/chunk-XDXGUPCR.js.map +1 -0
  24. package/dist/components/AppShell.d.ts +27 -0
  25. package/dist/components/AppShell.js +11 -0
  26. package/dist/components/AppShell.js.map +1 -0
  27. package/dist/components/Header.d.ts +11 -0
  28. package/dist/components/Header.js +6 -0
  29. package/dist/components/Header.js.map +1 -0
  30. package/dist/components/OrganizationSelector.d.ts +8 -0
  31. package/dist/components/OrganizationSelector.js +4 -0
  32. package/dist/components/OrganizationSelector.js.map +1 -0
  33. package/dist/components/OrganizationSetupModal.d.ts +5 -0
  34. package/dist/components/OrganizationSetupModal.js +4 -0
  35. package/dist/components/OrganizationSetupModal.js.map +1 -0
  36. package/dist/components/PageContainer.d.ts +105 -0
  37. package/dist/components/PageContainer.js +3 -0
  38. package/dist/components/PageContainer.js.map +1 -0
  39. package/dist/components/ServiceMenu.d.ts +11 -0
  40. package/dist/components/ServiceMenu.js +3 -0
  41. package/dist/components/ServiceMenu.js.map +1 -0
  42. package/dist/components/Sidebar.d.ts +11 -0
  43. package/dist/components/Sidebar.js +5 -0
  44. package/dist/components/Sidebar.js.map +1 -0
  45. package/dist/contexts/OrganizationContext.d.ts +26 -0
  46. package/dist/contexts/OrganizationContext.js +3 -0
  47. package/dist/contexts/OrganizationContext.js.map +1 -0
  48. package/dist/contexts/ThemeContext.d.ts +14 -0
  49. package/dist/contexts/ThemeContext.js +3 -0
  50. package/dist/contexts/ThemeContext.js.map +1 -0
  51. package/dist/hooks/useDateFormat.d.ts +28 -0
  52. package/dist/hooks/useDateFormat.js +4 -0
  53. package/dist/hooks/useDateFormat.js.map +1 -0
  54. package/dist/i18n.d.ts +38 -0
  55. package/dist/i18n.js +3 -0
  56. package/dist/i18n.js.map +1 -0
  57. package/dist/index.d.ts +13 -109
  58. package/dist/index.js +11 -70
  59. package/dist/types.d.ts +89 -0
  60. package/dist/types.js +3 -0
  61. package/dist/types.js.map +1 -0
  62. package/package.json +23 -70
  63. package/dist/chunk-2C2HRGM7.js +0 -51
  64. package/dist/chunk-2C2HRGM7.js.map +0 -1
  65. package/dist/chunk-2TUWDXAC.js +0 -196
  66. package/dist/chunk-2TUWDXAC.js.map +0 -1
  67. package/dist/chunk-34ARZSNP.js +0 -63
  68. package/dist/chunk-34ARZSNP.js.map +0 -1
  69. package/dist/chunk-35DNN46W.js +0 -13
  70. package/dist/chunk-35DNN46W.js.map +0 -1
  71. package/dist/chunk-35U6QG4P.js +0 -116
  72. package/dist/chunk-35U6QG4P.js.map +0 -1
  73. package/dist/chunk-36YYHIJU.js +0 -52
  74. package/dist/chunk-36YYHIJU.js.map +0 -1
  75. package/dist/chunk-3EOHW4QN.js +0 -35
  76. package/dist/chunk-3EOHW4QN.js.map +0 -1
  77. package/dist/chunk-3UPBCOS4.js +0 -39
  78. package/dist/chunk-3UPBCOS4.js.map +0 -1
  79. package/dist/chunk-3VU56V66.js +0 -41
  80. package/dist/chunk-3VU56V66.js.map +0 -1
  81. package/dist/chunk-55E7D2HR.js +0 -99
  82. package/dist/chunk-55E7D2HR.js.map +0 -1
  83. package/dist/chunk-67YUL2ZS.js +0 -53
  84. package/dist/chunk-67YUL2ZS.js.map +0 -1
  85. package/dist/chunk-6DIDQ4TB.js +0 -131
  86. package/dist/chunk-6DIDQ4TB.js.map +0 -1
  87. package/dist/chunk-6GWVQB3Q.js +0 -155
  88. package/dist/chunk-6GWVQB3Q.js.map +0 -1
  89. package/dist/chunk-75WZR6HF.js +0 -44
  90. package/dist/chunk-75WZR6HF.js.map +0 -1
  91. package/dist/chunk-7IRLBU2I.js +0 -114
  92. package/dist/chunk-7IRLBU2I.js.map +0 -1
  93. package/dist/chunk-7RMTPT6O.js +0 -99
  94. package/dist/chunk-7RMTPT6O.js.map +0 -1
  95. package/dist/chunk-7XH3MGBR.js +0 -128
  96. package/dist/chunk-7XH3MGBR.js.map +0 -1
  97. package/dist/chunk-A3BB5ZOC.js +0 -77
  98. package/dist/chunk-A3BB5ZOC.js.map +0 -1
  99. package/dist/chunk-B434PORR.js +0 -239
  100. package/dist/chunk-B434PORR.js.map +0 -1
  101. package/dist/chunk-BAQWGQJG.js +0 -106
  102. package/dist/chunk-BAQWGQJG.js.map +0 -1
  103. package/dist/chunk-BRSM3SZP.js +0 -46
  104. package/dist/chunk-BRSM3SZP.js.map +0 -1
  105. package/dist/chunk-C34KSTWA.js +0 -43
  106. package/dist/chunk-C34KSTWA.js.map +0 -1
  107. package/dist/chunk-C5NZAOA7.js +0 -54
  108. package/dist/chunk-C5NZAOA7.js.map +0 -1
  109. package/dist/chunk-CUZR4JWM.js +0 -23
  110. package/dist/chunk-CUZR4JWM.js.map +0 -1
  111. package/dist/chunk-DGPY4WP3.js +0 -11
  112. package/dist/chunk-DGPY4WP3.js.map +0 -1
  113. package/dist/chunk-EWBCV7VA.js +0 -65
  114. package/dist/chunk-EWBCV7VA.js.map +0 -1
  115. package/dist/chunk-F2ZJLKDP.js +0 -119
  116. package/dist/chunk-F2ZJLKDP.js.map +0 -1
  117. package/dist/chunk-FLWMT4DB.js +0 -66
  118. package/dist/chunk-FLWMT4DB.js.map +0 -1
  119. package/dist/chunk-FRKG7JQY.js +0 -48
  120. package/dist/chunk-FRKG7JQY.js.map +0 -1
  121. package/dist/chunk-G7HTZBUR.js +0 -187
  122. package/dist/chunk-G7HTZBUR.js.map +0 -1
  123. package/dist/chunk-HWTW64R5.js +0 -90
  124. package/dist/chunk-HWTW64R5.js.map +0 -1
  125. package/dist/chunk-IAWKX5W4.js +0 -219
  126. package/dist/chunk-IAWKX5W4.js.map +0 -1
  127. package/dist/chunk-INLM7UJC.js +0 -238
  128. package/dist/chunk-INLM7UJC.js.map +0 -1
  129. package/dist/chunk-JAJMM32I.js +0 -18
  130. package/dist/chunk-JAJMM32I.js.map +0 -1
  131. package/dist/chunk-JJSVA3TH.js +0 -61
  132. package/dist/chunk-JJSVA3TH.js.map +0 -1
  133. package/dist/chunk-JLTBUACL.js +0 -121
  134. package/dist/chunk-JLTBUACL.js.map +0 -1
  135. package/dist/chunk-JRU2QX7T.js +0 -38
  136. package/dist/chunk-JRU2QX7T.js.map +0 -1
  137. package/dist/chunk-JXGRW2MR.js +0 -17
  138. package/dist/chunk-JXGRW2MR.js.map +0 -1
  139. package/dist/chunk-KTBOZ4NE.js +0 -93
  140. package/dist/chunk-KTBOZ4NE.js.map +0 -1
  141. package/dist/chunk-LMT327XH.js +0 -56
  142. package/dist/chunk-LMT327XH.js.map +0 -1
  143. package/dist/chunk-LTTNCAAA.js +0 -138
  144. package/dist/chunk-LTTNCAAA.js.map +0 -1
  145. package/dist/chunk-LVZNNIK4.js +0 -111
  146. package/dist/chunk-LVZNNIK4.js.map +0 -1
  147. package/dist/chunk-MJLFJPUG.js +0 -143
  148. package/dist/chunk-MJLFJPUG.js.map +0 -1
  149. package/dist/chunk-MZ2P566X.js +0 -65
  150. package/dist/chunk-MZ2P566X.js.map +0 -1
  151. package/dist/chunk-N47H4MHX.js +0 -41
  152. package/dist/chunk-N47H4MHX.js.map +0 -1
  153. package/dist/chunk-NNJTKHCE.js +0 -160
  154. package/dist/chunk-NNJTKHCE.js.map +0 -1
  155. package/dist/chunk-NPL2R5LD.js +0 -171
  156. package/dist/chunk-NPL2R5LD.js.map +0 -1
  157. package/dist/chunk-NU56GKGM.js +0 -44
  158. package/dist/chunk-NU56GKGM.js.map +0 -1
  159. package/dist/chunk-P3M5TZD2.js +0 -24
  160. package/dist/chunk-P3M5TZD2.js.map +0 -1
  161. package/dist/chunk-PGWNOZDX.js +0 -28
  162. package/dist/chunk-PGWNOZDX.js.map +0 -1
  163. package/dist/chunk-QB3UWRZH.js +0 -92
  164. package/dist/chunk-QB3UWRZH.js.map +0 -1
  165. package/dist/chunk-R2CDE5DO.js +0 -33
  166. package/dist/chunk-R2CDE5DO.js.map +0 -1
  167. package/dist/chunk-RQNZDWY3.js +0 -65
  168. package/dist/chunk-RQNZDWY3.js.map +0 -1
  169. package/dist/chunk-S6PDRGR5.js +0 -109
  170. package/dist/chunk-S6PDRGR5.js.map +0 -1
  171. package/dist/chunk-TGYQ3AKH.js +0 -95
  172. package/dist/chunk-TGYQ3AKH.js.map +0 -1
  173. package/dist/chunk-THQUH6WX.js +0 -81
  174. package/dist/chunk-THQUH6WX.js.map +0 -1
  175. package/dist/chunk-TJMK2KBE.js +0 -112
  176. package/dist/chunk-TJMK2KBE.js.map +0 -1
  177. package/dist/chunk-TTH7TWVX.js +0 -30
  178. package/dist/chunk-TTH7TWVX.js.map +0 -1
  179. package/dist/chunk-USIHM7FV.js +0 -211
  180. package/dist/chunk-USIHM7FV.js.map +0 -1
  181. package/dist/chunk-VVYSAGB3.js +0 -104
  182. package/dist/chunk-VVYSAGB3.js.map +0 -1
  183. package/dist/chunk-WD5KZE25.js +0 -25
  184. package/dist/chunk-WD5KZE25.js.map +0 -1
  185. package/dist/chunk-WL4ZO2H3.js +0 -33
  186. package/dist/chunk-WL4ZO2H3.js.map +0 -1
  187. package/dist/chunk-WRCHR4AK.js +0 -23
  188. package/dist/chunk-WRCHR4AK.js.map +0 -1
  189. package/dist/chunk-XOJJBNDX.js +0 -33
  190. package/dist/chunk-XOJJBNDX.js.map +0 -1
  191. package/dist/chunk-XUVLD65E.js +0 -617
  192. package/dist/chunk-XUVLD65E.js.map +0 -1
  193. package/dist/chunk-YBMEQZX7.js +0 -164
  194. package/dist/chunk-YBMEQZX7.js.map +0 -1
  195. package/dist/chunk-Z2QAABLM.js +0 -86
  196. package/dist/chunk-Z2QAABLM.js.map +0 -1
  197. package/dist/chunk-ZHEKDP5X.js +0 -41
  198. package/dist/chunk-ZHEKDP5X.js.map +0 -1
  199. package/dist/chunk-ZPMXRW2A.js +0 -63
  200. package/dist/chunk-ZPMXRW2A.js.map +0 -1
  201. package/dist/chunk-ZYEGBF7G.js +0 -25
  202. package/dist/chunk-ZYEGBF7G.js.map +0 -1
  203. package/dist/components/accordion.d.ts +0 -37
  204. package/dist/components/accordion.js +0 -4
  205. package/dist/components/accordion.js.map +0 -1
  206. package/dist/components/alert-dialog.d.ts +0 -56
  207. package/dist/components/alert-dialog.js +0 -5
  208. package/dist/components/alert-dialog.js.map +0 -1
  209. package/dist/components/alert.d.ts +0 -68
  210. package/dist/components/alert.js +0 -4
  211. package/dist/components/alert.js.map +0 -1
  212. package/dist/components/aspect-ratio.d.ts +0 -23
  213. package/dist/components/aspect-ratio.js +0 -3
  214. package/dist/components/aspect-ratio.js.map +0 -1
  215. package/dist/components/avatar.d.ts +0 -48
  216. package/dist/components/avatar.js +0 -4
  217. package/dist/components/avatar.js.map +0 -1
  218. package/dist/components/badge.d.ts +0 -52
  219. package/dist/components/badge.js +0 -4
  220. package/dist/components/badge.js.map +0 -1
  221. package/dist/components/breadcrumb.d.ts +0 -50
  222. package/dist/components/breadcrumb.js +0 -4
  223. package/dist/components/breadcrumb.js.map +0 -1
  224. package/dist/components/button.d.ts +0 -81
  225. package/dist/components/button.js +0 -4
  226. package/dist/components/button.js.map +0 -1
  227. package/dist/components/calendar-category-badge.d.ts +0 -24
  228. package/dist/components/calendar-category-badge.js +0 -5
  229. package/dist/components/calendar-category-badge.js.map +0 -1
  230. package/dist/components/calendar-event-chip.d.ts +0 -41
  231. package/dist/components/calendar-event-chip.js +0 -4
  232. package/dist/components/calendar-event-chip.js.map +0 -1
  233. package/dist/components/calendar-event-sheet.d.ts +0 -68
  234. package/dist/components/calendar-event-sheet.js +0 -9
  235. package/dist/components/calendar-event-sheet.js.map +0 -1
  236. package/dist/components/calendar-mini.d.ts +0 -65
  237. package/dist/components/calendar-mini.js +0 -6
  238. package/dist/components/calendar-mini.js.map +0 -1
  239. package/dist/components/calendar-toolbar.d.ts +0 -58
  240. package/dist/components/calendar-toolbar.js +0 -7
  241. package/dist/components/calendar-toolbar.js.map +0 -1
  242. package/dist/components/calendar.d.ts +0 -19
  243. package/dist/components/calendar.js +0 -5
  244. package/dist/components/calendar.js.map +0 -1
  245. package/dist/components/card.d.ts +0 -43
  246. package/dist/components/card.js +0 -4
  247. package/dist/components/card.js.map +0 -1
  248. package/dist/components/carousel.d.ts +0 -53
  249. package/dist/components/carousel.js +0 -5
  250. package/dist/components/carousel.js.map +0 -1
  251. package/dist/components/chart.d.ts +0 -103
  252. package/dist/components/chart.js +0 -4
  253. package/dist/components/chart.js.map +0 -1
  254. package/dist/components/checkbox.d.ts +0 -24
  255. package/dist/components/checkbox.js +0 -4
  256. package/dist/components/checkbox.js.map +0 -1
  257. package/dist/components/collapsible.d.ts +0 -28
  258. package/dist/components/collapsible.js +0 -3
  259. package/dist/components/collapsible.js.map +0 -1
  260. package/dist/components/color-picker.d.ts +0 -35
  261. package/dist/components/color-picker.js +0 -7
  262. package/dist/components/color-picker.js.map +0 -1
  263. package/dist/components/combobox.d.ts +0 -98
  264. package/dist/components/combobox.js +0 -8
  265. package/dist/components/combobox.js.map +0 -1
  266. package/dist/components/command.d.ts +0 -63
  267. package/dist/components/command.js +0 -5
  268. package/dist/components/command.js.map +0 -1
  269. package/dist/components/context-menu.d.ts +0 -70
  270. package/dist/components/context-menu.js +0 -4
  271. package/dist/components/context-menu.js.map +0 -1
  272. package/dist/components/date-picker.d.ts +0 -71
  273. package/dist/components/date-picker.js +0 -7
  274. package/dist/components/date-picker.js.map +0 -1
  275. package/dist/components/dialog.d.ts +0 -58
  276. package/dist/components/dialog.js +0 -4
  277. package/dist/components/dialog.js.map +0 -1
  278. package/dist/components/drawer.d.ts +0 -60
  279. package/dist/components/drawer.js +0 -4
  280. package/dist/components/drawer.js.map +0 -1
  281. package/dist/components/dropdown-menu.d.ts +0 -76
  282. package/dist/components/dropdown-menu.js +0 -4
  283. package/dist/components/dropdown-menu.js.map +0 -1
  284. package/dist/components/file-upload.d.ts +0 -44
  285. package/dist/components/file-upload.js +0 -5
  286. package/dist/components/file-upload.js.map +0 -1
  287. package/dist/components/form.d.ts +0 -67
  288. package/dist/components/form.js +0 -5
  289. package/dist/components/form.js.map +0 -1
  290. package/dist/components/hover-card.d.ts +0 -43
  291. package/dist/components/hover-card.js +0 -4
  292. package/dist/components/hover-card.js.map +0 -1
  293. package/dist/components/input-otp.d.ts +0 -38
  294. package/dist/components/input-otp.js +0 -4
  295. package/dist/components/input-otp.js.map +0 -1
  296. package/dist/components/input.d.ts +0 -38
  297. package/dist/components/input.js +0 -4
  298. package/dist/components/input.js.map +0 -1
  299. package/dist/components/label.d.ts +0 -20
  300. package/dist/components/label.js +0 -4
  301. package/dist/components/label.js.map +0 -1
  302. package/dist/components/menubar.d.ts +0 -82
  303. package/dist/components/menubar.js +0 -4
  304. package/dist/components/menubar.js.map +0 -1
  305. package/dist/components/navigation-menu.d.ts +0 -64
  306. package/dist/components/navigation-menu.js +0 -4
  307. package/dist/components/navigation-menu.js.map +0 -1
  308. package/dist/components/pagination.d.ts +0 -59
  309. package/dist/components/pagination.js +0 -5
  310. package/dist/components/pagination.js.map +0 -1
  311. package/dist/components/password-input.d.ts +0 -32
  312. package/dist/components/password-input.js +0 -5
  313. package/dist/components/password-input.js.map +0 -1
  314. package/dist/components/permission-grid.d.ts +0 -67
  315. package/dist/components/permission-grid.js +0 -5
  316. package/dist/components/permission-grid.js.map +0 -1
  317. package/dist/components/popover.d.ts +0 -37
  318. package/dist/components/popover.js +0 -4
  319. package/dist/components/popover.js.map +0 -1
  320. package/dist/components/progress.d.ts +0 -20
  321. package/dist/components/progress.js +0 -4
  322. package/dist/components/progress.js.map +0 -1
  323. package/dist/components/radio-group.d.ts +0 -38
  324. package/dist/components/radio-group.js +0 -4
  325. package/dist/components/radio-group.js.map +0 -1
  326. package/dist/components/rating.d.ts +0 -35
  327. package/dist/components/rating.js +0 -4
  328. package/dist/components/rating.js.map +0 -1
  329. package/dist/components/resizable.d.ts +0 -36
  330. package/dist/components/resizable.js +0 -4
  331. package/dist/components/resizable.js.map +0 -1
  332. package/dist/components/scope-tree.d.ts +0 -78
  333. package/dist/components/scope-tree.js +0 -5
  334. package/dist/components/scope-tree.js.map +0 -1
  335. package/dist/components/scope-type-badge.d.ts +0 -35
  336. package/dist/components/scope-type-badge.js +0 -5
  337. package/dist/components/scope-type-badge.js.map +0 -1
  338. package/dist/components/scroll-area.d.ts +0 -29
  339. package/dist/components/scroll-area.js +0 -4
  340. package/dist/components/scroll-area.js.map +0 -1
  341. package/dist/components/select.d.ts +0 -52
  342. package/dist/components/select.js +0 -4
  343. package/dist/components/select.js.map +0 -1
  344. package/dist/components/separator.d.ts +0 -24
  345. package/dist/components/separator.js +0 -4
  346. package/dist/components/separator.js.map +0 -1
  347. package/dist/components/sheet.d.ts +0 -51
  348. package/dist/components/sheet.js +0 -4
  349. package/dist/components/sheet.js.map +0 -1
  350. package/dist/components/sidebar.d.ts +0 -169
  351. package/dist/components/sidebar.js +0 -11
  352. package/dist/components/sidebar.js.map +0 -1
  353. package/dist/components/skeleton.d.ts +0 -25
  354. package/dist/components/skeleton.js +0 -4
  355. package/dist/components/skeleton.js.map +0 -1
  356. package/dist/components/slider.d.ts +0 -24
  357. package/dist/components/slider.js +0 -4
  358. package/dist/components/slider.js.map +0 -1
  359. package/dist/components/slug-input.d.ts +0 -50
  360. package/dist/components/slug-input.js +0 -6
  361. package/dist/components/slug-input.js.map +0 -1
  362. package/dist/components/sonner.d.ts +0 -22
  363. package/dist/components/sonner.js +0 -3
  364. package/dist/components/sonner.js.map +0 -1
  365. package/dist/components/stage-type-badge.d.ts +0 -30
  366. package/dist/components/stage-type-badge.js +0 -5
  367. package/dist/components/stage-type-badge.js.map +0 -1
  368. package/dist/components/switch.d.ts +0 -26
  369. package/dist/components/switch.js +0 -4
  370. package/dist/components/switch.js.map +0 -1
  371. package/dist/components/table.d.ts +0 -57
  372. package/dist/components/table.js +0 -4
  373. package/dist/components/table.js.map +0 -1
  374. package/dist/components/tabs.d.ts +0 -39
  375. package/dist/components/tabs.js +0 -4
  376. package/dist/components/tabs.js.map +0 -1
  377. package/dist/components/tag-input.d.ts +0 -40
  378. package/dist/components/tag-input.js +0 -5
  379. package/dist/components/tag-input.js.map +0 -1
  380. package/dist/components/textarea.d.ts +0 -21
  381. package/dist/components/textarea.js +0 -4
  382. package/dist/components/textarea.js.map +0 -1
  383. package/dist/components/time-picker.d.ts +0 -57
  384. package/dist/components/time-picker.js +0 -8
  385. package/dist/components/time-picker.js.map +0 -1
  386. package/dist/components/toggle-group.d.ts +0 -45
  387. package/dist/components/toggle-group.js +0 -5
  388. package/dist/components/toggle-group.js.map +0 -1
  389. package/dist/components/toggle.d.ts +0 -31
  390. package/dist/components/toggle.js +0 -4
  391. package/dist/components/toggle.js.map +0 -1
  392. package/dist/components/tooltip.d.ts +0 -34
  393. package/dist/components/tooltip.js +0 -4
  394. package/dist/components/tooltip.js.map +0 -1
  395. package/dist/components/workflow-category-badge.d.ts +0 -32
  396. package/dist/components/workflow-category-badge.js +0 -5
  397. package/dist/components/workflow-category-badge.js.map +0 -1
  398. package/dist/components/workflow-diagram.d.ts +0 -63
  399. package/dist/components/workflow-diagram.js +0 -5
  400. package/dist/components/workflow-diagram.js.map +0 -1
  401. package/dist/components/workflow-status-badge.d.ts +0 -30
  402. package/dist/components/workflow-status-badge.js +0 -5
  403. package/dist/components/workflow-status-badge.js.map +0 -1
  404. package/dist/components/workflow-stepper.d.ts +0 -52
  405. package/dist/components/workflow-stepper.js +0 -4
  406. package/dist/components/workflow-stepper.js.map +0 -1
  407. package/dist/hooks/use-mobile.d.ts +0 -3
  408. package/dist/hooks/use-mobile.js +0 -3
  409. package/dist/hooks/use-mobile.js.map +0 -1
  410. package/dist/lib/utils.d.ts +0 -5
  411. package/dist/lib/utils.js +0 -3
  412. package/dist/lib/utils.js.map +0 -1
  413. package/dist/types-CBVkScfB.d.ts +0 -84
  414. package/src/styles/fonts.css +0 -0
  415. package/src/styles/index.css +0 -3
  416. package/src/styles/tailwind.css +0 -4
  417. package/src/styles/theme.css +0 -461
@@ -1,35 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- interface RatingProps {
4
- /** Current rating value (e.g., `3` or `3.5` with half stars). */
5
- value?: number;
6
- /** Callback fired when the user clicks a star. Receives the new rating number. */
7
- onChange?: (value: number) => void;
8
- /** Maximum number of stars. Defaults to `5`. */
9
- max?: number;
10
- /** Size of the star icons. Defaults to `"md"`. */
11
- size?: "sm" | "md" | "lg";
12
- /** Whether the rating is display-only (non-interactive). Defaults to `false`. */
13
- readonly?: boolean;
14
- /** Whether half-star ratings are enabled. Defaults to `false`. */
15
- allowHalf?: boolean;
16
- /** Additional CSS class for the outer container. */
17
- className?: string;
18
- }
19
- /**
20
- * Star rating component with hover preview and optional half-star support.
21
- * Shows filled/empty/half star icons and displays the numeric value beside the stars.
22
- *
23
- * @example
24
- * ```tsx
25
- * const [rating, setRating] = useState(0);
26
- *
27
- * <Rating value={rating} onChange={setRating} max={5} />
28
- *
29
- * // Read-only display with half stars:
30
- * <Rating value={3.5} readonly allowHalf />
31
- * ```
32
- */
33
- declare function Rating({ value, onChange, max, size, readonly, allowHalf, className, }: RatingProps): react_jsx_runtime.JSX.Element;
34
-
35
- export { Rating };
@@ -1,4 +0,0 @@
1
- export { Rating } from '../chunk-35U6QG4P.js';
2
- import '../chunk-DGPY4WP3.js';
3
- //# sourceMappingURL=rating.js.map
4
- //# sourceMappingURL=rating.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"rating.js"}
@@ -1,36 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React from 'react';
3
- import * as ResizablePrimitive from 'react-resizable-panels';
4
-
5
- /**
6
- * Resizable panel layout built on `react-resizable-panels`.
7
- *
8
- * Groups multiple `ResizablePanel` components separated by `ResizableHandle` drag handles.
9
- * Supports horizontal (default) and vertical layouts via the `direction` prop.
10
- *
11
- * @example
12
- * ```tsx
13
- * <ResizablePanelGroup direction="horizontal">
14
- * <ResizablePanel defaultSize={50}>
15
- * <div className="p-4">Left panel</div>
16
- * </ResizablePanel>
17
- * <ResizableHandle withHandle />
18
- * <ResizablePanel defaultSize={50}>
19
- * <div className="p-4">Right panel</div>
20
- * </ResizablePanel>
21
- * </ResizablePanelGroup>
22
- * ```
23
- */
24
- declare function ResizablePanelGroup({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>): react_jsx_runtime.JSX.Element;
25
- /** Individual resizable panel. Use `defaultSize` (percentage) to set the initial width/height. */
26
- declare function ResizablePanel({ ...props }: React.ComponentProps<typeof ResizablePrimitive.Panel>): react_jsx_runtime.JSX.Element;
27
- /**
28
- * Draggable handle between resizable panels.
29
- *
30
- * @param withHandle - When true, renders a visible grip icon on the handle for better discoverability.
31
- */
32
- declare function ResizableHandle({ withHandle, className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
33
- withHandle?: boolean;
34
- }): react_jsx_runtime.JSX.Element;
35
-
36
- export { ResizableHandle, ResizablePanel, ResizablePanelGroup };
@@ -1,4 +0,0 @@
1
- export { ResizableHandle, ResizablePanel, ResizablePanelGroup } from '../chunk-FRKG7JQY.js';
2
- import '../chunk-DGPY4WP3.js';
3
- //# sourceMappingURL=resizable.js.map
4
- //# sourceMappingURL=resizable.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"resizable.js"}
@@ -1,78 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { LucideIcon } from 'lucide-react';
3
-
4
- /** A small badge displayed next to a tree node name. */
5
- interface ScopeTreeBadge {
6
- /** Badge display text. */
7
- label: string;
8
- /** Optional className to style this badge. */
9
- className?: string;
10
- }
11
- /** A node in the scope tree hierarchy. */
12
- interface ScopeTreeNode {
13
- /** Unique identifier for this node, or `null` for root/global nodes. */
14
- id: string | null;
15
- /** Display name of this scope. */
16
- name: string;
17
- /** Scope type key (e.g. "global", "organization", "branch", "location"). Determines the icon. */
18
- type: string;
19
- /** Optional child nodes for nested hierarchy. */
20
- children?: ScopeTreeNode[];
21
- /** Optional badges displayed next to the node name. */
22
- badges?: ScopeTreeBadge[];
23
- }
24
- /** Represents the currently selected scope in the tree. */
25
- interface ScopeTreeSelectedScope {
26
- /** The scope type key of the selected node. */
27
- type: string;
28
- /** The ID of the selected node, or `null` for root/global nodes. */
29
- id: string | null;
30
- }
31
- /** Localizable labels for the scope tree. Currently reserved for future extensibility. */
32
- interface ScopeTreeLabels {
33
- /** No labels are required by default; provided for future extensibility. */
34
- [key: string]: string;
35
- }
36
- interface ScopeTreeProps {
37
- /** Tree data: an array of root-level scope nodes. */
38
- nodes: ScopeTreeNode[];
39
- /** The currently selected scope (type + id). Used for highlighting. */
40
- selectedScope?: ScopeTreeSelectedScope;
41
- /** Callback when a node is clicked. */
42
- onSelect?: (scope: ScopeTreeSelectedScope) => void;
43
- /** Localizable labels. Currently reserved for future extensibility. */
44
- labels?: Partial<ScopeTreeLabels>;
45
- /** Default expansion depth. Nodes at depth < this value start expanded. Defaults to `1`. */
46
- defaultExpandDepth?: number;
47
- /** Custom icon map keyed by scope type. Falls back to built-in icons for global/organization/branch/location. */
48
- iconMap?: Record<string, LucideIcon>;
49
- }
50
- /**
51
- * Hierarchical tree view for selecting organizational scopes (e.g. global,
52
- * organization, branch, location). Nodes are expandable/collapsible with
53
- * chevron icons. Each node type has a dedicated icon. Supports custom icons
54
- * via `iconMap` and optional badges on nodes.
55
- *
56
- * @example
57
- * ```tsx
58
- * const nodes: ScopeTreeNode[] = [
59
- * {
60
- * id: null, name: "Global", type: "global",
61
- * children: [
62
- * { id: "org-1", name: "Acme Corp", type: "organization", children: [
63
- * { id: "br-1", name: "Tokyo HQ", type: "branch" },
64
- * ]},
65
- * ],
66
- * },
67
- * ];
68
- *
69
- * <ScopeTree
70
- * nodes={nodes}
71
- * selectedScope={{ type: "branch", id: "br-1" }}
72
- * onSelect={(scope) => setSelected(scope)}
73
- * />
74
- * ```
75
- */
76
- declare function ScopeTree({ nodes, selectedScope, onSelect, defaultExpandDepth, iconMap, }: ScopeTreeProps): react_jsx_runtime.JSX.Element;
77
-
78
- export { ScopeTree, type ScopeTreeBadge, type ScopeTreeLabels, type ScopeTreeNode, type ScopeTreeProps, type ScopeTreeSelectedScope };
@@ -1,5 +0,0 @@
1
- export { ScopeTree } from '../chunk-BAQWGQJG.js';
2
- import '../chunk-A3BB5ZOC.js';
3
- import '../chunk-DGPY4WP3.js';
4
- //# sourceMappingURL=scope-tree.js.map
5
- //# sourceMappingURL=scope-tree.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"scope-tree.js"}
@@ -1,35 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { LucideIcon } from 'lucide-react';
3
-
4
- /** Custom style and icon overrides for a scope type badge. */
5
- interface ScopeTypeBadgeStyles {
6
- /** Tailwind className string for the badge background, text, and border colors. */
7
- className: string;
8
- /** Lucide icon component to display in the badge. */
9
- icon: LucideIcon;
10
- }
11
- interface ScopeTypeBadgeProps {
12
- /** The scope type key (e.g. "global", "organization", "branch", "location"). */
13
- type: string;
14
- /** The display label for the badge. */
15
- label: string;
16
- /** Optional className to append to the badge. */
17
- className?: string;
18
- /** Override default styles and icon for the given type. */
19
- styles?: Partial<ScopeTypeBadgeStyles>;
20
- }
21
- /**
22
- * Color-coded badge with an icon indicating a scope type. Ships with built-in
23
- * styles for global (blue/Globe), organization (purple/Building2), branch
24
- * (amber/GitBranch), and location (green/MapPin). Custom types fall back to
25
- * global styling unless overridden via `styles`.
26
- *
27
- * @example
28
- * ```tsx
29
- * <ScopeTypeBadge type="organization" label="Organization" />
30
- * <ScopeTypeBadge type="branch" label="Branch" />
31
- * ```
32
- */
33
- declare function ScopeTypeBadge({ type, label, className, styles: styleOverrides, }: ScopeTypeBadgeProps): react_jsx_runtime.JSX.Element;
34
-
35
- export { ScopeTypeBadge, type ScopeTypeBadgeProps, type ScopeTypeBadgeStyles };
@@ -1,5 +0,0 @@
1
- export { ScopeTypeBadge } from '../chunk-N47H4MHX.js';
2
- import '../chunk-A3BB5ZOC.js';
3
- import '../chunk-DGPY4WP3.js';
4
- //# sourceMappingURL=scope-type-badge.js.map
5
- //# sourceMappingURL=scope-type-badge.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"scope-type-badge.js"}
@@ -1,29 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React from 'react';
3
- import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
4
-
5
- /**
6
- * Custom scrollable container with styled scrollbar built on Radix ScrollArea.
7
- *
8
- * Replaces native browser scrollbars with a thin, themed scrollbar.
9
- * Includes a vertical `ScrollBar` by default. Add a horizontal `ScrollBar`
10
- * as a child if needed.
11
- *
12
- * @example
13
- * ```tsx
14
- * <ScrollArea className="h-72 w-48 rounded-md border">
15
- * <div className="p-4">
16
- * {items.map((item) => (
17
- * <div key={item} className="py-2 text-sm">
18
- * {item}
19
- * </div>
20
- * ))}
21
- * </div>
22
- * </ScrollArea>
23
- * ```
24
- */
25
- declare function ScrollArea({ className, children, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.Root>): react_jsx_runtime.JSX.Element;
26
- /** Styled scrollbar track and thumb. Set `orientation` to `"horizontal"` or `"vertical"` (default). */
27
- declare function ScrollBar({ className, orientation, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): react_jsx_runtime.JSX.Element;
28
-
29
- export { ScrollArea, ScrollBar };
@@ -1,4 +0,0 @@
1
- export { ScrollArea, ScrollBar } from '../chunk-JJSVA3TH.js';
2
- import '../chunk-DGPY4WP3.js';
3
- //# sourceMappingURL=scroll-area.js.map
4
- //# sourceMappingURL=scroll-area.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"scroll-area.js"}
@@ -1,52 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React from 'react';
3
- import * as SelectPrimitive from '@radix-ui/react-select';
4
-
5
- /**
6
- * Select dropdown component built on Radix UI Select.
7
- * Provides a styled, accessible dropdown for selecting a single value from a list.
8
- *
9
- * @example
10
- * ```tsx
11
- * <Select value={value} onValueChange={setValue}>
12
- * <SelectTrigger>
13
- * <SelectValue placeholder="Choose..." />
14
- * </SelectTrigger>
15
- * <SelectContent>
16
- * <SelectGroup>
17
- * <SelectLabel>Fruits</SelectLabel>
18
- * <SelectItem value="apple">Apple</SelectItem>
19
- * <SelectItem value="banana">Banana</SelectItem>
20
- * </SelectGroup>
21
- * <SelectSeparator />
22
- * <SelectGroup>
23
- * <SelectLabel>Vegetables</SelectLabel>
24
- * <SelectItem value="carrot">Carrot</SelectItem>
25
- * </SelectGroup>
26
- * </SelectContent>
27
- * </Select>
28
- * ```
29
- */
30
- declare function Select({ ...props }: React.ComponentProps<typeof SelectPrimitive.Root>): react_jsx_runtime.JSX.Element;
31
- /** Groups related select items under an optional label. */
32
- declare function SelectGroup({ ...props }: React.ComponentProps<typeof SelectPrimitive.Group>): react_jsx_runtime.JSX.Element;
33
- /** Displays the currently selected value or a placeholder. */
34
- declare function SelectValue({ ...props }: React.ComponentProps<typeof SelectPrimitive.Value>): react_jsx_runtime.JSX.Element;
35
- /** Button that toggles the select dropdown open/closed. */
36
- declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
37
- size?: "sm" | "default";
38
- } & React.RefAttributes<HTMLButtonElement>>;
39
- /** Dropdown content container rendered in a portal. */
40
- declare function SelectContent({ className, children, position, ...props }: React.ComponentProps<typeof SelectPrimitive.Content>): react_jsx_runtime.JSX.Element;
41
- /** Non-interactive label rendered inside a SelectGroup. */
42
- declare function SelectLabel({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Label>): react_jsx_runtime.JSX.Element;
43
- /** A selectable option within the dropdown. */
44
- declare function SelectItem({ className, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Item>): react_jsx_runtime.JSX.Element;
45
- /** Visual separator between select groups or items. */
46
- declare function SelectSeparator({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Separator>): react_jsx_runtime.JSX.Element;
47
- /** Scroll-up indicator shown when the list is scrollable. */
48
- declare function SelectScrollUpButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): react_jsx_runtime.JSX.Element;
49
- /** Scroll-down indicator shown when the list is scrollable. */
50
- declare function SelectScrollDownButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): react_jsx_runtime.JSX.Element;
51
-
52
- export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
@@ -1,4 +0,0 @@
1
- export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from '../chunk-NNJTKHCE.js';
2
- import '../chunk-DGPY4WP3.js';
3
- //# sourceMappingURL=select.js.map
4
- //# sourceMappingURL=select.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"select.js"}
@@ -1,24 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React from 'react';
3
- import * as SeparatorPrimitive from '@radix-ui/react-separator';
4
-
5
- type SeparatorProps = React.ComponentProps<typeof SeparatorPrimitive.Root>;
6
- /**
7
- * Visual divider between content sections, rendered as a horizontal or vertical line.
8
- *
9
- * @example
10
- * ```tsx
11
- * // Horizontal (default)
12
- * <Separator />
13
- *
14
- * // Vertical divider in a flex row
15
- * <div className="flex items-center gap-4">
16
- * <span>Left</span>
17
- * <Separator orientation="vertical" className="h-4" />
18
- * <span>Right</span>
19
- * </div>
20
- * ```
21
- */
22
- declare function Separator({ className, orientation, decorative, ...props }: SeparatorProps): react_jsx_runtime.JSX.Element;
23
-
24
- export { Separator, type SeparatorProps };
@@ -1,4 +0,0 @@
1
- export { Separator } from '../chunk-PGWNOZDX.js';
2
- import '../chunk-DGPY4WP3.js';
3
- //# sourceMappingURL=separator.js.map
4
- //# sourceMappingURL=separator.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"separator.js"}
@@ -1,51 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React from 'react';
3
- import * as DialogPrimitive from '@radix-ui/react-dialog';
4
-
5
- /**
6
- * Slide-out panel component built on Radix UI Dialog.
7
- *
8
- * A sheet slides in from the edge of the screen, ideal for navigation,
9
- * filters, or supplementary content. Supports `top`, `right`, `bottom`,
10
- * and `left` sides via the `side` prop on `SheetContent`.
11
- *
12
- * @example
13
- * ```tsx
14
- * <Sheet open={open} onOpenChange={setOpen}>
15
- * <SheetTrigger asChild>
16
- * <Button variant="outline">Open Sheet</Button>
17
- * </SheetTrigger>
18
- * <SheetContent side="right">
19
- * <SheetHeader>
20
- * <SheetTitle>Settings</SheetTitle>
21
- * <SheetDescription>
22
- * Adjust your preferences below.
23
- * </SheetDescription>
24
- * </SheetHeader>
25
- * <div className="p-4">Content here</div>
26
- * <SheetFooter>
27
- * <Button onClick={() => setOpen(false)}>Done</Button>
28
- * </SheetFooter>
29
- * </SheetContent>
30
- * </Sheet>
31
- * ```
32
- */
33
- declare function Sheet({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
34
- /** Element that opens the sheet when clicked. Use `asChild` to merge into your own button. */
35
- declare function SheetTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
36
- /** Button that closes the sheet. Use `asChild` to merge into your own button. */
37
- declare function SheetClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime.JSX.Element;
38
- /** Sliding content panel. Set `side` to control which edge it slides from (default: `"right"`). */
39
- declare function SheetContent({ className, children, side, ...props }: React.ComponentProps<typeof DialogPrimitive.Content> & {
40
- side?: "top" | "right" | "bottom" | "left";
41
- }): react_jsx_runtime.JSX.Element;
42
- /** Container for SheetTitle and SheetDescription at the top of the sheet. */
43
- declare function SheetHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
44
- /** Container for action buttons at the bottom of the sheet. Pushed to the bottom via `mt-auto`. */
45
- declare function SheetFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
46
- /** Accessible title rendered inside SheetHeader. */
47
- declare function SheetTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
48
- /** Accessible description rendered inside SheetHeader below the title. */
49
- declare function SheetDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
50
-
51
- export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };
@@ -1,4 +0,0 @@
1
- export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from '../chunk-JLTBUACL.js';
2
- import '../chunk-DGPY4WP3.js';
3
- //# sourceMappingURL=sheet.js.map
4
- //# sourceMappingURL=sheet.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"sheet.js"}
@@ -1,169 +0,0 @@
1
- import * as class_variance_authority_types from 'class-variance-authority/types';
2
- import * as react_jsx_runtime from 'react/jsx-runtime';
3
- import * as React from 'react';
4
- import { VariantProps } from 'class-variance-authority';
5
- import { Button } from './button.js';
6
- import { Input } from './input.js';
7
- import { Separator } from './separator.js';
8
- import { TooltipContent } from './tooltip.js';
9
- import '../types-CBVkScfB.js';
10
- import '@radix-ui/react-separator';
11
- import '@radix-ui/react-tooltip';
12
-
13
- type SidebarContextProps = {
14
- /** Current sidebar state: "expanded" or "collapsed". */
15
- state: "expanded" | "collapsed";
16
- /** Whether the sidebar is open (desktop). */
17
- open: boolean;
18
- /** Set the sidebar open state (desktop). */
19
- setOpen: (open: boolean) => void;
20
- /** Whether the sidebar is open (mobile). */
21
- openMobile: boolean;
22
- /** Set the sidebar open state (mobile). */
23
- setOpenMobile: (open: boolean) => void;
24
- /** Whether the current viewport is mobile-sized. */
25
- isMobile: boolean;
26
- /** Toggle the sidebar open/closed. */
27
- toggleSidebar: () => void;
28
- };
29
- /**
30
- * Hook to access sidebar state and controls.
31
- * Must be used within a {@link SidebarProvider}.
32
- *
33
- * @returns The sidebar context value including `state`, `open`, `toggleSidebar`, etc.
34
- * @throws If used outside of a SidebarProvider.
35
- */
36
- declare function useSidebar(): SidebarContextProps;
37
- /**
38
- * Context provider that manages sidebar open/collapsed state, mobile detection,
39
- * keyboard shortcut (Cmd/Ctrl+B), and cookie persistence.
40
- * Wrap your layout with this provider before using any Sidebar components.
41
- *
42
- * @param defaultOpen - Initial open state for uncontrolled mode. Defaults to `true`.
43
- * @param open - Controlled open state.
44
- * @param onOpenChange - Callback when open state changes (controlled mode).
45
- */
46
- declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React.ComponentProps<"div"> & {
47
- /** Initial open state for uncontrolled usage. Defaults to `true`. */
48
- defaultOpen?: boolean;
49
- /** Controlled open state. */
50
- open?: boolean;
51
- /** Callback fired when the sidebar open state changes. */
52
- onOpenChange?: (open: boolean) => void;
53
- }): react_jsx_runtime.JSX.Element;
54
- /**
55
- * Application sidebar with collapsible groups, menus, and responsive behavior.
56
- * Built on top of Sheet for mobile and native sidebar for desktop.
57
- *
58
- * @param side - Which side of the viewport the sidebar appears on. Defaults to `"left"`.
59
- * @param variant - Visual variant: `"sidebar"` (default), `"floating"`, or `"inset"`.
60
- * @param collapsible - Collapse behavior: `"offcanvas"` (default), `"icon"`, or `"none"`.
61
- *
62
- * @example
63
- * ```tsx
64
- * <SidebarProvider>
65
- * <Sidebar>
66
- * <SidebarHeader>Logo</SidebarHeader>
67
- * <SidebarContent>
68
- * <SidebarGroup>
69
- * <SidebarGroupLabel>Menu</SidebarGroupLabel>
70
- * <SidebarMenu>
71
- * <SidebarMenuItem>
72
- * <SidebarMenuButton>Dashboard</SidebarMenuButton>
73
- * </SidebarMenuItem>
74
- * </SidebarMenu>
75
- * </SidebarGroup>
76
- * </SidebarContent>
77
- * <SidebarFooter>Footer</SidebarFooter>
78
- * </Sidebar>
79
- * </SidebarProvider>
80
- * ```
81
- */
82
- declare function Sidebar({ side, variant, collapsible, className, children, ...props }: React.ComponentProps<"div"> & {
83
- /** Which side the sidebar appears on. Defaults to `"left"`. */
84
- side?: "left" | "right";
85
- /** Visual variant. Defaults to `"sidebar"`. */
86
- variant?: "sidebar" | "floating" | "inset";
87
- /** Collapse behavior. Defaults to `"offcanvas"`. */
88
- collapsible?: "offcanvas" | "icon" | "none";
89
- }): react_jsx_runtime.JSX.Element;
90
- /** Button that toggles the sidebar open/closed. Renders a `PanelLeftIcon` ghost button. */
91
- declare function SidebarTrigger({ className, onClick, ...props }: React.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
92
- /** Thin vertical rail on the sidebar edge that toggles the sidebar on click. */
93
- declare function SidebarRail({ className, ...props }: React.ComponentProps<"button">): react_jsx_runtime.JSX.Element;
94
- /** Main content area that sits beside the sidebar. Use with `variant="inset"`. */
95
- declare function SidebarInset({ className, ...props }: React.ComponentProps<"main">): react_jsx_runtime.JSX.Element;
96
- /** Search input styled for use inside the sidebar. */
97
- declare function SidebarInput({ className, ...props }: React.ComponentProps<typeof Input>): react_jsx_runtime.JSX.Element;
98
- /** Container for the top section of the sidebar (logo, org selector, etc.). */
99
- declare function SidebarHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
100
- /** Container for the bottom section of the sidebar (user menu, settings, etc.). */
101
- declare function SidebarFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
102
- /** Horizontal separator styled with sidebar border color. */
103
- declare function SidebarSeparator({ className, ...props }: React.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
104
- /** Scrollable content area between SidebarHeader and SidebarFooter. Houses SidebarGroup components. */
105
- declare function SidebarContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
106
- /** Logical grouping of sidebar items. Typically contains a SidebarGroupLabel and SidebarMenu. */
107
- declare function SidebarGroup({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
108
- /** Small heading label for a SidebarGroup (e.g. "Navigation", "Projects"). */
109
- declare function SidebarGroupLabel({ className, asChild, ...props }: React.ComponentProps<"div"> & {
110
- asChild?: boolean;
111
- }): react_jsx_runtime.JSX.Element;
112
- /** Action button positioned at the top-right of a SidebarGroup (e.g. "Add" button). */
113
- declare function SidebarGroupAction({ className, asChild, ...props }: React.ComponentProps<"button"> & {
114
- asChild?: boolean;
115
- }): react_jsx_runtime.JSX.Element;
116
- /** Wrapper for content inside a SidebarGroup, below the label. */
117
- declare function SidebarGroupContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
118
- /** Unordered list container for SidebarMenuItem components. */
119
- declare function SidebarMenu({ className, ...props }: React.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
120
- /** List item wrapper for a single sidebar menu entry. Contains a SidebarMenuButton. */
121
- declare function SidebarMenuItem({ className, ...props }: React.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
122
- declare const sidebarMenuButtonVariants: (props?: ({
123
- variant?: "default" | "outline" | null | undefined;
124
- size?: "default" | "sm" | "lg" | null | undefined;
125
- } & class_variance_authority_types.ClassProp) | undefined) => string;
126
- /**
127
- * Clickable button inside a SidebarMenuItem. Supports size/variant variants,
128
- * active state highlighting, and an optional tooltip shown when collapsed to icon mode.
129
- *
130
- * @param isActive - Whether this item is the current active route.
131
- * @param tooltip - Tooltip text or TooltipContent props shown in collapsed icon mode.
132
- * @param asChild - Merge props onto the child element instead of rendering a button.
133
- */
134
- declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: React.ComponentProps<"button"> & {
135
- /** Render as child element via Radix Slot. */
136
- asChild?: boolean;
137
- /** Whether this menu item represents the active route. */
138
- isActive?: boolean;
139
- /** Tooltip shown when sidebar is collapsed to icon mode. */
140
- tooltip?: string | React.ComponentProps<typeof TooltipContent>;
141
- } & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime.JSX.Element;
142
- /** Action button that appears to the right of a SidebarMenuButton (e.g. "more" or "delete"). */
143
- declare function SidebarMenuAction({ className, asChild, showOnHover, ...props }: React.ComponentProps<"button"> & {
144
- asChild?: boolean;
145
- /** When true, only shows on hover/focus of the parent menu item. */
146
- showOnHover?: boolean;
147
- }): react_jsx_runtime.JSX.Element;
148
- /** Small count or status badge displayed to the right of a SidebarMenuButton. */
149
- declare function SidebarMenuBadge({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
150
- /** Loading skeleton placeholder for a sidebar menu item. */
151
- declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React.ComponentProps<"div"> & {
152
- /** Whether to show an icon skeleton alongside the text skeleton. */
153
- showIcon?: boolean;
154
- }): react_jsx_runtime.JSX.Element;
155
- /** Nested sub-menu list with a left border, used for collapsible sub-navigation. */
156
- declare function SidebarMenuSub({ className, ...props }: React.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
157
- /** List item wrapper for a single sub-menu entry inside SidebarMenuSub. */
158
- declare function SidebarMenuSubItem({ className, ...props }: React.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
159
- /** Clickable link/button inside a SidebarMenuSubItem. Renders as an anchor by default. */
160
- declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...props }: React.ComponentProps<"a"> & {
161
- /** Render as child element via Radix Slot. */
162
- asChild?: boolean;
163
- /** Text size: `"sm"` (12px) or `"md"` (14px). Defaults to `"md"`. */
164
- size?: "sm" | "md";
165
- /** Whether this sub-menu item represents the active route. */
166
- isActive?: boolean;
167
- }): react_jsx_runtime.JSX.Element;
168
-
169
- export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar };
@@ -1,11 +0,0 @@
1
- export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar } from '../chunk-XUVLD65E.js';
2
- import '../chunk-C5NZAOA7.js';
3
- import '../chunk-WRCHR4AK.js';
4
- import '../chunk-JXGRW2MR.js';
5
- import '../chunk-3VU56V66.js';
6
- import '../chunk-JLTBUACL.js';
7
- import '../chunk-PGWNOZDX.js';
8
- import '../chunk-55E7D2HR.js';
9
- import '../chunk-DGPY4WP3.js';
10
- //# sourceMappingURL=sidebar.js.map
11
- //# sourceMappingURL=sidebar.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"sidebar.js"}
@@ -1,25 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- type SkeletonProps = React.ComponentProps<"div">;
4
- /**
5
- * Placeholder loading indicator with a pulse animation, used to represent
6
- * content that is being fetched or rendered.
7
- *
8
- * @example
9
- * ```tsx
10
- * // Text placeholder
11
- * <Skeleton className="h-4 w-48" />
12
- *
13
- * // Circular avatar placeholder
14
- * <Skeleton className="size-10 rounded-full" />
15
- *
16
- * // Card skeleton
17
- * <div className="space-y-2">
18
- * <Skeleton className="h-4 w-full" />
19
- * <Skeleton className="h-4 w-3/4" />
20
- * </div>
21
- * ```
22
- */
23
- declare function Skeleton({ className, ...props }: SkeletonProps): react_jsx_runtime.JSX.Element;
24
-
25
- export { Skeleton, type SkeletonProps };
@@ -1,4 +0,0 @@
1
- export { Skeleton } from '../chunk-JXGRW2MR.js';
2
- import '../chunk-DGPY4WP3.js';
3
- //# sourceMappingURL=skeleton.js.map
4
- //# sourceMappingURL=skeleton.js.map