@schemavaults/ui 0.11.128

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 (509) hide show
  1. package/README.md +58 -0
  2. package/dist/components/error/ErrorPage/ErrorPage.d.ts +9 -0
  3. package/dist/components/error/ErrorPage/ErrorPage.js +25 -0
  4. package/dist/components/error/ErrorPage/ErrorPage.js.map +1 -0
  5. package/dist/components/error/ErrorPage/index.d.ts +3 -0
  6. package/dist/components/error/ErrorPage/index.js +3 -0
  7. package/dist/components/error/ErrorPage/index.js.map +1 -0
  8. package/dist/components/error/index.d.ts +2 -0
  9. package/dist/components/error/index.js +2 -0
  10. package/dist/components/error/index.js.map +1 -0
  11. package/dist/components/hoc/any-position-context-menu-hoc.d.ts +24 -0
  12. package/dist/components/hoc/any-position-context-menu-hoc.js +118 -0
  13. package/dist/components/hoc/any-position-context-menu-hoc.js.map +1 -0
  14. package/dist/components/hoc/index.d.ts +2 -0
  15. package/dist/components/hoc/index.js +2 -0
  16. package/dist/components/hoc/index.js.map +1 -0
  17. package/dist/components/hooks/index.d.ts +4 -0
  18. package/dist/components/hooks/index.js +3 -0
  19. package/dist/components/hooks/index.js.map +1 -0
  20. package/dist/components/hooks/use-debug.d.ts +2 -0
  21. package/dist/components/hooks/use-debug.js +23 -0
  22. package/dist/components/hooks/use-debug.js.map +1 -0
  23. package/dist/components/hooks/use-mobile.d.ts +2 -0
  24. package/dist/components/hooks/use-mobile.js +18 -0
  25. package/dist/components/hooks/use-mobile.js.map +1 -0
  26. package/dist/components/hooks/use-toast.d.ts +44 -0
  27. package/dist/components/hooks/use-toast.js +129 -0
  28. package/dist/components/hooks/use-toast.js.map +1 -0
  29. package/dist/components/layout/dashboard-layout/DashboardLayoutProps.d.ts +17 -0
  30. package/dist/components/layout/dashboard-layout/DashboardLayoutProps.js +2 -0
  31. package/dist/components/layout/dashboard-layout/DashboardLayoutProps.js.map +1 -0
  32. package/dist/components/layout/dashboard-layout/customizable-dashboard-component-type.d.ts +11 -0
  33. package/dist/components/layout/dashboard-layout/customizable-dashboard-component-type.js +2 -0
  34. package/dist/components/layout/dashboard-layout/customizable-dashboard-component-type.js.map +1 -0
  35. package/dist/components/layout/dashboard-layout/dashboard-layout-main-content-container.d.ts +5 -0
  36. package/dist/components/layout/dashboard-layout/dashboard-layout-main-content-container.js +15 -0
  37. package/dist/components/layout/dashboard-layout/dashboard-layout-main-content-container.js.map +1 -0
  38. package/dist/components/layout/dashboard-layout/dashboard-layout.d.ts +11 -0
  39. package/dist/components/layout/dashboard-layout/dashboard-layout.js +30 -0
  40. package/dist/components/layout/dashboard-layout/dashboard-layout.js.map +1 -0
  41. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-layout-sidebar-trigger.d.ts +3 -0
  42. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-layout-sidebar-trigger.js +18 -0
  43. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-layout-sidebar-trigger.js.map +1 -0
  44. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-admin-only-items-context.d.ts +1 -0
  45. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-admin-only-items-context.js +5 -0
  46. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-admin-only-items-context.js.map +1 -0
  47. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-content.d.ts +7 -0
  48. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-content.js +25 -0
  49. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-content.js.map +1 -0
  50. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-context-provider.d.ts +11 -0
  51. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-context-provider.js +10 -0
  52. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-context-provider.js.map +1 -0
  53. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-footer.d.ts +9 -0
  54. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-footer.js +10 -0
  55. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-footer.js.map +1 -0
  56. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-header.d.ts +10 -0
  57. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-header.js +39 -0
  58. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-header.js.map +1 -0
  59. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-item-definition.d.ts +11 -0
  60. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-item-definition.js +2 -0
  61. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-item-definition.js.map +1 -0
  62. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-item-group-renderer.d.ts +8 -0
  63. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-item-group-renderer.js +57 -0
  64. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-item-group-renderer.js.map +1 -0
  65. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-item-group.d.ts +7 -0
  66. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-item-group.js +2 -0
  67. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-item-group.js.map +1 -0
  68. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-item-renderer.d.ts +8 -0
  69. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-item-renderer.js +64 -0
  70. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-item-renderer.js.map +1 -0
  71. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-items-and-groups-context.d.ts +4 -0
  72. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-items-and-groups-context.js +4 -0
  73. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-items-and-groups-context.js.map +1 -0
  74. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-layout.d.ts +13 -0
  75. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-layout.js +30 -0
  76. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-layout.js.map +1 -0
  77. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-open-state-provider.d.ts +7 -0
  78. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-open-state-provider.js +31 -0
  79. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-open-state-provider.js.map +1 -0
  80. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-open-state.d.ts +7 -0
  81. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-open-state.js +8 -0
  82. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-open-state.js.map +1 -0
  83. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-sizing.d.ts +37 -0
  84. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-sizing.js +21 -0
  85. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-sizing.js.map +1 -0
  86. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar.d.ts +4 -0
  87. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar.js +27 -0
  88. package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar.js.map +1 -0
  89. package/dist/components/layout/dashboard-layout/dashboard-sidebar/index.d.ts +12 -0
  90. package/dist/components/layout/dashboard-layout/dashboard-sidebar/index.js +8 -0
  91. package/dist/components/layout/dashboard-layout/dashboard-sidebar/index.js.map +1 -0
  92. package/dist/components/layout/dashboard-layout/dashboard-sidebar/useCloseDashboardSidebarOnRouteChange.d.ts +2 -0
  93. package/dist/components/layout/dashboard-layout/dashboard-sidebar/useCloseDashboardSidebarOnRouteChange.js +21 -0
  94. package/dist/components/layout/dashboard-layout/dashboard-sidebar/useCloseDashboardSidebarOnRouteChange.js.map +1 -0
  95. package/dist/components/layout/dashboard-layout/dashboard-sidebar/useDashboardSidebarItemsAndGroups.d.ts +3 -0
  96. package/dist/components/layout/dashboard-layout/dashboard-sidebar/useDashboardSidebarItemsAndGroups.js +11 -0
  97. package/dist/components/layout/dashboard-layout/dashboard-sidebar/useDashboardSidebarItemsAndGroups.js.map +1 -0
  98. package/dist/components/layout/dashboard-layout/dashboard-sidebar/useDashboardSidebarOpenState.d.ts +3 -0
  99. package/dist/components/layout/dashboard-layout/dashboard-sidebar/useDashboardSidebarOpenState.js +12 -0
  100. package/dist/components/layout/dashboard-layout/dashboard-sidebar/useDashboardSidebarOpenState.js.map +1 -0
  101. package/dist/components/layout/dashboard-layout/dashboard-sidebar/useDashboardSidebarOpenStateDispatch.d.ts +3 -0
  102. package/dist/components/layout/dashboard-layout/dashboard-sidebar/useDashboardSidebarOpenStateDispatch.js +9 -0
  103. package/dist/components/layout/dashboard-layout/dashboard-sidebar/useDashboardSidebarOpenStateDispatch.js.map +1 -0
  104. package/dist/components/layout/dashboard-layout/dashboard-sidebar/useDashboardSidebarSizing.d.ts +3 -0
  105. package/dist/components/layout/dashboard-layout/dashboard-sidebar/useDashboardSidebarSizing.js +8 -0
  106. package/dist/components/layout/dashboard-layout/dashboard-sidebar/useDashboardSidebarSizing.js.map +1 -0
  107. package/dist/components/layout/dashboard-layout/index.d.ts +6 -0
  108. package/dist/components/layout/dashboard-layout/index.js +4 -0
  109. package/dist/components/layout/dashboard-layout/index.js.map +1 -0
  110. package/dist/components/layout/dashboard-layout/toggle-dashboard-layout-collapsed-transition-time.d.ts +3 -0
  111. package/dist/components/layout/dashboard-layout/toggle-dashboard-layout-collapsed-transition-time.js +4 -0
  112. package/dist/components/layout/dashboard-layout/toggle-dashboard-layout-collapsed-transition-time.js.map +1 -0
  113. package/dist/components/layout/index.d.ts +6 -0
  114. package/dist/components/layout/index.js +4 -0
  115. package/dist/components/layout/index.js.map +1 -0
  116. package/dist/components/layout/page-column-container/index.d.ts +3 -0
  117. package/dist/components/layout/page-column-container/index.js +3 -0
  118. package/dist/components/layout/page-column-container/index.js.map +1 -0
  119. package/dist/components/layout/page-column-container/page-column-container.d.ts +12 -0
  120. package/dist/components/layout/page-column-container/page-column-container.js +14 -0
  121. package/dist/components/layout/page-column-container/page-column-container.js.map +1 -0
  122. package/dist/components/layout/themed-page-container/index.d.ts +3 -0
  123. package/dist/components/layout/themed-page-container/index.js +3 -0
  124. package/dist/components/layout/themed-page-container/index.js.map +1 -0
  125. package/dist/components/layout/themed-page-container/themed-page-container.d.ts +18 -0
  126. package/dist/components/layout/themed-page-container/themed-page-container.js +21 -0
  127. package/dist/components/layout/themed-page-container/themed-page-container.js.map +1 -0
  128. package/dist/components/navigation/back-button.d.ts +6 -0
  129. package/dist/components/navigation/back-button.js +8 -0
  130. package/dist/components/navigation/back-button.js.map +1 -0
  131. package/dist/components/navigation/index.d.ts +2 -0
  132. package/dist/components/navigation/index.js +2 -0
  133. package/dist/components/navigation/index.js.map +1 -0
  134. package/dist/components/ui/alert/alert.d.ts +29 -0
  135. package/dist/components/ui/alert/alert.js +35 -0
  136. package/dist/components/ui/alert/alert.js.map +1 -0
  137. package/dist/components/ui/alert/index.d.ts +2 -0
  138. package/dist/components/ui/alert/index.js +2 -0
  139. package/dist/components/ui/alert/index.js.map +1 -0
  140. package/dist/components/ui/background-blur/background-blur.d.ts +10 -0
  141. package/dist/components/ui/background-blur/background-blur.js +45 -0
  142. package/dist/components/ui/background-blur/background-blur.js.map +1 -0
  143. package/dist/components/ui/background-blur/index.d.ts +2 -0
  144. package/dist/components/ui/background-blur/index.js +2 -0
  145. package/dist/components/ui/background-blur/index.js.map +1 -0
  146. package/dist/components/ui/badge/badge-variants.d.ts +2 -0
  147. package/dist/components/ui/badge/badge-variants.js +7 -0
  148. package/dist/components/ui/badge/badge-variants.js.map +1 -0
  149. package/dist/components/ui/badge/badge.d.ts +10 -0
  150. package/dist/components/ui/badge/badge.js +24 -0
  151. package/dist/components/ui/badge/badge.js.map +1 -0
  152. package/dist/components/ui/badge/index.d.ts +2 -0
  153. package/dist/components/ui/badge/index.js +2 -0
  154. package/dist/components/ui/badge/index.js.map +1 -0
  155. package/dist/components/ui/button/button.d.ts +15 -0
  156. package/dist/components/ui/button/button.js +41 -0
  157. package/dist/components/ui/button/button.js.map +1 -0
  158. package/dist/components/ui/button/index.d.ts +3 -0
  159. package/dist/components/ui/button/index.js +3 -0
  160. package/dist/components/ui/button/index.js.map +1 -0
  161. package/dist/components/ui/card/card.d.ts +26 -0
  162. package/dist/components/ui/card/card.js +17 -0
  163. package/dist/components/ui/card/card.js.map +1 -0
  164. package/dist/components/ui/card/index.d.ts +2 -0
  165. package/dist/components/ui/card/index.js +2 -0
  166. package/dist/components/ui/card/index.js.map +1 -0
  167. package/dist/components/ui/checkbox/checkbox.d.ts +9 -0
  168. package/dist/components/ui/checkbox/checkbox.js +10 -0
  169. package/dist/components/ui/checkbox/checkbox.js.map +1 -0
  170. package/dist/components/ui/checkbox/index.d.ts +3 -0
  171. package/dist/components/ui/checkbox/index.js +3 -0
  172. package/dist/components/ui/checkbox/index.js.map +1 -0
  173. package/dist/components/ui/command/command.d.ts +39 -0
  174. package/dist/components/ui/command/command.js +29 -0
  175. package/dist/components/ui/command/command.js.map +1 -0
  176. package/dist/components/ui/command/index.d.ts +2 -0
  177. package/dist/components/ui/command/index.js +2 -0
  178. package/dist/components/ui/command/index.js.map +1 -0
  179. package/dist/components/ui/context-menu/context-menu.d.ts +25 -0
  180. package/dist/components/ui/context-menu/context-menu.js +52 -0
  181. package/dist/components/ui/context-menu/context-menu.js.map +1 -0
  182. package/dist/components/ui/context-menu/index.d.ts +2 -0
  183. package/dist/components/ui/context-menu/index.js +2 -0
  184. package/dist/components/ui/context-menu/index.js.map +1 -0
  185. package/dist/components/ui/datatable/datatable.d.ts +10 -0
  186. package/dist/components/ui/datatable/datatable.js +48 -0
  187. package/dist/components/ui/datatable/datatable.js.map +1 -0
  188. package/dist/components/ui/datatable/index.d.ts +2 -0
  189. package/dist/components/ui/datatable/index.js +2 -0
  190. package/dist/components/ui/datatable/index.js.map +1 -0
  191. package/dist/components/ui/dialog/dialog.d.ts +31 -0
  192. package/dist/components/ui/dialog/dialog.js +23 -0
  193. package/dist/components/ui/dialog/dialog.js.map +1 -0
  194. package/dist/components/ui/dialog/index.d.ts +2 -0
  195. package/dist/components/ui/dialog/index.js +2 -0
  196. package/dist/components/ui/dialog/index.js.map +1 -0
  197. package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts +51 -0
  198. package/dist/components/ui/dropdown-menu/dropdown-menu.js +36 -0
  199. package/dist/components/ui/dropdown-menu/dropdown-menu.js.map +1 -0
  200. package/dist/components/ui/dropdown-menu/index.d.ts +2 -0
  201. package/dist/components/ui/dropdown-menu/index.js +2 -0
  202. package/dist/components/ui/dropdown-menu/index.js.map +1 -0
  203. package/dist/components/ui/file-input/FileInput.d.ts +17 -0
  204. package/dist/components/ui/file-input/FileInput.js +101 -0
  205. package/dist/components/ui/file-input/FileInput.js.map +1 -0
  206. package/dist/components/ui/file-input/fileToBuffer.d.ts +3 -0
  207. package/dist/components/ui/file-input/fileToBuffer.js +62 -0
  208. package/dist/components/ui/file-input/fileToBuffer.js.map +1 -0
  209. package/dist/components/ui/file-input/index.d.ts +2 -0
  210. package/dist/components/ui/file-input/index.js +2 -0
  211. package/dist/components/ui/file-input/index.js.map +1 -0
  212. package/dist/components/ui/file-input/serializeFile.d.ts +3 -0
  213. package/dist/components/ui/file-input/serializeFile.js +26 -0
  214. package/dist/components/ui/file-input/serializeFile.js.map +1 -0
  215. package/dist/components/ui/file-input/useDoesFilenameHaveValidFileExtension.d.ts +3 -0
  216. package/dist/components/ui/file-input/useDoesFilenameHaveValidFileExtension.js +27 -0
  217. package/dist/components/ui/file-input/useDoesFilenameHaveValidFileExtension.js.map +1 -0
  218. package/dist/components/ui/form.d.ts +41 -0
  219. package/dist/components/ui/form.js +65 -0
  220. package/dist/components/ui/form.js.map +1 -0
  221. package/dist/components/ui/fullscreen-image/fullscreen-image.d.ts +47 -0
  222. package/dist/components/ui/fullscreen-image/fullscreen-image.js +77 -0
  223. package/dist/components/ui/fullscreen-image/fullscreen-image.js.map +1 -0
  224. package/dist/components/ui/fullscreen-image/index.d.ts +3 -0
  225. package/dist/components/ui/fullscreen-image/index.js +3 -0
  226. package/dist/components/ui/fullscreen-image/index.js.map +1 -0
  227. package/dist/components/ui/hover-card/hover-card.d.ts +9 -0
  228. package/dist/components/ui/hover-card/hover-card.js +10 -0
  229. package/dist/components/ui/hover-card/hover-card.js.map +1 -0
  230. package/dist/components/ui/hover-card/index.d.ts +2 -0
  231. package/dist/components/ui/hover-card/index.js +2 -0
  232. package/dist/components/ui/hover-card/index.js.map +1 -0
  233. package/dist/components/ui/icon/DefaultIconSize.d.ts +2 -0
  234. package/dist/components/ui/icon/DefaultIconSize.js +3 -0
  235. package/dist/components/ui/icon/DefaultIconSize.js.map +1 -0
  236. package/dist/components/ui/icon/Icon.d.ts +4 -0
  237. package/dist/components/ui/icon/Icon.js +5 -0
  238. package/dist/components/ui/icon/Icon.js.map +1 -0
  239. package/dist/components/ui/icon/IconFacade.d.ts +4 -0
  240. package/dist/components/ui/icon/IconFacade.js +63 -0
  241. package/dist/components/ui/icon/IconFacade.js.map +1 -0
  242. package/dist/components/ui/icon/IconFromSvgDataUrl.d.ts +7 -0
  243. package/dist/components/ui/icon/IconFromSvgDataUrl.js +31 -0
  244. package/dist/components/ui/icon/IconFromSvgDataUrl.js.map +1 -0
  245. package/dist/components/ui/icon/IconFromSvgFilepath.d.ts +7 -0
  246. package/dist/components/ui/icon/IconFromSvgFilepath.js +43 -0
  247. package/dist/components/ui/icon/IconFromSvgFilepath.js.map +1 -0
  248. package/dist/components/ui/icon/IconFromUtf8XmlSvg.d.ts +6 -0
  249. package/dist/components/ui/icon/IconFromUtf8XmlSvg.js +18 -0
  250. package/dist/components/ui/icon/IconFromUtf8XmlSvg.js.map +1 -0
  251. package/dist/components/ui/icon/IconProps.d.ts +7 -0
  252. package/dist/components/ui/icon/IconProps.js +3 -0
  253. package/dist/components/ui/icon/IconProps.js.map +1 -0
  254. package/dist/components/ui/icon/IconSkeleton.d.ts +4 -0
  255. package/dist/components/ui/icon/IconSkeleton.js +8 -0
  256. package/dist/components/ui/icon/IconSkeleton.js.map +1 -0
  257. package/dist/components/ui/icon/LazySvgIcon.d.ts +7 -0
  258. package/dist/components/ui/icon/LazySvgIcon.js +10 -0
  259. package/dist/components/ui/icon/LazySvgIcon.js.map +1 -0
  260. package/dist/components/ui/icon/LoadedSvgIcon.d.ts +8 -0
  261. package/dist/components/ui/icon/LoadedSvgIcon.js +8 -0
  262. package/dist/components/ui/icon/LoadedSvgIcon.js.map +1 -0
  263. package/dist/components/ui/icon/RenderSvg.d.ts +7 -0
  264. package/dist/components/ui/icon/RenderSvg.js +24 -0
  265. package/dist/components/ui/icon/RenderSvg.js.map +1 -0
  266. package/dist/components/ui/icon/SvgDataUrl.d.ts +4 -0
  267. package/dist/components/ui/icon/SvgDataUrl.js +16 -0
  268. package/dist/components/ui/icon/SvgDataUrl.js.map +1 -0
  269. package/dist/components/ui/icon/index.d.ts +3 -0
  270. package/dist/components/ui/icon/index.js +3 -0
  271. package/dist/components/ui/icon/index.js.map +1 -0
  272. package/dist/components/ui/icon/parseSvgIcon.d.ts +8 -0
  273. package/dist/components/ui/icon/parseSvgIcon.js +27 -0
  274. package/dist/components/ui/icon/parseSvgIcon.js.map +1 -0
  275. package/dist/components/ui/icon/toReactSvgTransform.d.ts +2 -0
  276. package/dist/components/ui/icon/toReactSvgTransform.js +12 -0
  277. package/dist/components/ui/icon/toReactSvgTransform.js.map +1 -0
  278. package/dist/components/ui/index.d.ts +86 -0
  279. package/dist/components/ui/index.js +44 -0
  280. package/dist/components/ui/index.js.map +1 -0
  281. package/dist/components/ui/inline-menu.d.ts +21 -0
  282. package/dist/components/ui/inline-menu.js +28 -0
  283. package/dist/components/ui/inline-menu.js.map +1 -0
  284. package/dist/components/ui/input/index.d.ts +3 -0
  285. package/dist/components/ui/input/index.js +3 -0
  286. package/dist/components/ui/input/index.js.map +1 -0
  287. package/dist/components/ui/input/input.d.ts +9 -0
  288. package/dist/components/ui/input/input.js +10 -0
  289. package/dist/components/ui/input/input.js.map +1 -0
  290. package/dist/components/ui/key-value-with-skeleton/index.d.ts +3 -0
  291. package/dist/components/ui/key-value-with-skeleton/index.js +3 -0
  292. package/dist/components/ui/key-value-with-skeleton/index.js.map +1 -0
  293. package/dist/components/ui/key-value-with-skeleton/key-value-with-skeleton.d.ts +7 -0
  294. package/dist/components/ui/key-value-with-skeleton/key-value-with-skeleton.js +55 -0
  295. package/dist/components/ui/key-value-with-skeleton/key-value-with-skeleton.js.map +1 -0
  296. package/dist/components/ui/label/index.d.ts +3 -0
  297. package/dist/components/ui/label/index.js +3 -0
  298. package/dist/components/ui/label/index.js.map +1 -0
  299. package/dist/components/ui/label/label.d.ts +9 -0
  300. package/dist/components/ui/label/label.js +11 -0
  301. package/dist/components/ui/label/label.js.map +1 -0
  302. package/dist/components/ui/loading-page/index.d.ts +3 -0
  303. package/dist/components/ui/loading-page/index.js +3 -0
  304. package/dist/components/ui/loading-page/index.js.map +1 -0
  305. package/dist/components/ui/loading-page/loading-page.d.ts +5 -0
  306. package/dist/components/ui/loading-page/loading-page.js +7 -0
  307. package/dist/components/ui/loading-page/loading-page.js.map +1 -0
  308. package/dist/components/ui/navigation-menu/index.d.ts +2 -0
  309. package/dist/components/ui/navigation-menu/index.js +2 -0
  310. package/dist/components/ui/navigation-menu/index.js.map +1 -0
  311. package/dist/components/ui/navigation-menu/navigation-menu.d.ts +14 -0
  312. package/dist/components/ui/navigation-menu/navigation-menu.js +33 -0
  313. package/dist/components/ui/navigation-menu/navigation-menu.js.map +1 -0
  314. package/dist/components/ui/popover/index.d.ts +2 -0
  315. package/dist/components/ui/popover/index.js +2 -0
  316. package/dist/components/ui/popover/index.js.map +1 -0
  317. package/dist/components/ui/popover/popover.d.ts +9 -0
  318. package/dist/components/ui/popover/popover.js +10 -0
  319. package/dist/components/ui/popover/popover.js.map +1 -0
  320. package/dist/components/ui/radio-group/index.d.ts +2 -0
  321. package/dist/components/ui/radio-group/index.js +2 -0
  322. package/dist/components/ui/radio-group/index.js.map +1 -0
  323. package/dist/components/ui/radio-group/radio-group.d.ts +11 -0
  324. package/dist/components/ui/radio-group/radio-group.js +16 -0
  325. package/dist/components/ui/radio-group/radio-group.js.map +1 -0
  326. package/dist/components/ui/scroll-area/index.d.ts +1 -0
  327. package/dist/components/ui/scroll-area/index.js +2 -0
  328. package/dist/components/ui/scroll-area/index.js.map +1 -0
  329. package/dist/components/ui/scroll-area/scroll-area.d.ts +5 -0
  330. package/dist/components/ui/scroll-area/scroll-area.js +14 -0
  331. package/dist/components/ui/scroll-area/scroll-area.js.map +1 -0
  332. package/dist/components/ui/select/index.d.ts +2 -0
  333. package/dist/components/ui/select/index.js +2 -0
  334. package/dist/components/ui/select/index.js.map +1 -0
  335. package/dist/components/ui/select/select.d.ts +15 -0
  336. package/dist/components/ui/select/select.js +39 -0
  337. package/dist/components/ui/select/select.js.map +1 -0
  338. package/dist/components/ui/separator/index.d.ts +2 -0
  339. package/dist/components/ui/separator/index.js +2 -0
  340. package/dist/components/ui/separator/index.js.map +1 -0
  341. package/dist/components/ui/separator/separator.d.ts +9 -0
  342. package/dist/components/ui/separator/separator.js +11 -0
  343. package/dist/components/ui/separator/separator.js.map +1 -0
  344. package/dist/components/ui/sheet/index.d.ts +2 -0
  345. package/dist/components/ui/sheet/index.js +2 -0
  346. package/dist/components/ui/sheet/index.js.map +1 -0
  347. package/dist/components/ui/sheet/sheet.d.ts +13 -0
  348. package/dist/components/ui/sheet/sheet.js +41 -0
  349. package/dist/components/ui/sheet/sheet.js.map +1 -0
  350. package/dist/components/ui/skeleton/index.d.ts +3 -0
  351. package/dist/components/ui/skeleton/index.js +3 -0
  352. package/dist/components/ui/skeleton/index.js.map +1 -0
  353. package/dist/components/ui/skeleton/skeleton.d.ts +3 -0
  354. package/dist/components/ui/skeleton/skeleton.js +8 -0
  355. package/dist/components/ui/skeleton/skeleton.js.map +1 -0
  356. package/dist/components/ui/slider/index.d.ts +2 -0
  357. package/dist/components/ui/slider/index.js +2 -0
  358. package/dist/components/ui/slider/index.js.map +1 -0
  359. package/dist/components/ui/slider/slider.d.ts +11 -0
  360. package/dist/components/ui/slider/slider.js +11 -0
  361. package/dist/components/ui/slider/slider.js.map +1 -0
  362. package/dist/components/ui/split-pane/index.d.ts +3 -0
  363. package/dist/components/ui/split-pane/index.js +2 -0
  364. package/dist/components/ui/split-pane/index.js.map +1 -0
  365. package/dist/components/ui/split-pane/split-pane-acceptable-split-range.d.ts +3 -0
  366. package/dist/components/ui/split-pane/split-pane-acceptable-split-range.js +4 -0
  367. package/dist/components/ui/split-pane/split-pane-acceptable-split-range.js.map +1 -0
  368. package/dist/components/ui/split-pane/split-pane-directions.d.ts +3 -0
  369. package/dist/components/ui/split-pane/split-pane-directions.js +6 -0
  370. package/dist/components/ui/split-pane/split-pane-directions.js.map +1 -0
  371. package/dist/components/ui/split-pane/split-pane.d.ts +13 -0
  372. package/dist/components/ui/split-pane/split-pane.js +95 -0
  373. package/dist/components/ui/split-pane/split-pane.js.map +1 -0
  374. package/dist/components/ui/split-pane/useSplitPaneDirectionOrDefault.d.ts +3 -0
  375. package/dist/components/ui/split-pane/useSplitPaneDirectionOrDefault.js +25 -0
  376. package/dist/components/ui/split-pane/useSplitPaneDirectionOrDefault.js.map +1 -0
  377. package/dist/components/ui/status-blinker/index.d.ts +2 -0
  378. package/dist/components/ui/status-blinker/index.js +2 -0
  379. package/dist/components/ui/status-blinker/index.js.map +1 -0
  380. package/dist/components/ui/status-blinker/status-blinker.d.ts +8 -0
  381. package/dist/components/ui/status-blinker/status-blinker.js +24 -0
  382. package/dist/components/ui/status-blinker/status-blinker.js.map +1 -0
  383. package/dist/components/ui/stepper/base-stepper-state-type.d.ts +1 -0
  384. package/dist/components/ui/stepper/base-stepper-state-type.js +2 -0
  385. package/dist/components/ui/stepper/base-stepper-state-type.js.map +1 -0
  386. package/dist/components/ui/stepper/index.d.ts +2 -0
  387. package/dist/components/ui/stepper/index.js +2 -0
  388. package/dist/components/ui/stepper/index.js.map +1 -0
  389. package/dist/components/ui/stepper/step_definition.d.ts +25 -0
  390. package/dist/components/ui/stepper/step_definition.js +2 -0
  391. package/dist/components/ui/stepper/step_definition.js.map +1 -0
  392. package/dist/components/ui/stepper/stepper-body.d.ts +2 -0
  393. package/dist/components/ui/stepper/stepper-body.js +28 -0
  394. package/dist/components/ui/stepper/stepper-body.js.map +1 -0
  395. package/dist/components/ui/stepper/stepper-context-type.d.ts +9 -0
  396. package/dist/components/ui/stepper/stepper-context-type.js +2 -0
  397. package/dist/components/ui/stepper/stepper-context-type.js.map +1 -0
  398. package/dist/components/ui/stepper/stepper-context.d.ts +2 -0
  399. package/dist/components/ui/stepper/stepper-context.js +3 -0
  400. package/dist/components/ui/stepper/stepper-context.js.map +1 -0
  401. package/dist/components/ui/stepper/stepper-footer.d.ts +10 -0
  402. package/dist/components/ui/stepper/stepper-footer.js +89 -0
  403. package/dist/components/ui/stepper/stepper-footer.js.map +1 -0
  404. package/dist/components/ui/stepper/stepper-provider.d.ts +11 -0
  405. package/dist/components/ui/stepper/stepper-provider.js +38 -0
  406. package/dist/components/ui/stepper/stepper-provider.js.map +1 -0
  407. package/dist/components/ui/stepper/stepper-types.d.ts +21 -0
  408. package/dist/components/ui/stepper/stepper-types.js +2 -0
  409. package/dist/components/ui/stepper/stepper-types.js.map +1 -0
  410. package/dist/components/ui/stepper/stepper.d.ts +5 -0
  411. package/dist/components/ui/stepper/stepper.js +28 -0
  412. package/dist/components/ui/stepper/stepper.js.map +1 -0
  413. package/dist/components/ui/stepper/steps-indicator.d.ts +5 -0
  414. package/dist/components/ui/stepper/steps-indicator.js +36 -0
  415. package/dist/components/ui/stepper/steps-indicator.js.map +1 -0
  416. package/dist/components/ui/stepper/useStepperContext.d.ts +4 -0
  417. package/dist/components/ui/stepper/useStepperContext.js +13 -0
  418. package/dist/components/ui/stepper/useStepperContext.js.map +1 -0
  419. package/dist/components/ui/table.d.ts +34 -0
  420. package/dist/components/ui/table.js +21 -0
  421. package/dist/components/ui/table.js.map +1 -0
  422. package/dist/components/ui/tabs/Tabs.d.ts +23 -0
  423. package/dist/components/ui/tabs/Tabs.js +19 -0
  424. package/dist/components/ui/tabs/Tabs.js.map +1 -0
  425. package/dist/components/ui/tabs/index.d.ts +2 -0
  426. package/dist/components/ui/tabs/index.js +2 -0
  427. package/dist/components/ui/tabs/index.js.map +1 -0
  428. package/dist/components/ui/textarea/index.d.ts +3 -0
  429. package/dist/components/ui/textarea/index.js +3 -0
  430. package/dist/components/ui/textarea/index.js.map +1 -0
  431. package/dist/components/ui/textarea/textarea.d.ts +9 -0
  432. package/dist/components/ui/textarea/textarea.js +10 -0
  433. package/dist/components/ui/textarea/textarea.js.map +1 -0
  434. package/dist/components/ui/themed-page-background/index.d.ts +3 -0
  435. package/dist/components/ui/themed-page-background/index.js +3 -0
  436. package/dist/components/ui/themed-page-background/index.js.map +1 -0
  437. package/dist/components/ui/themed-page-background/themed-page-background.d.ts +16 -0
  438. package/dist/components/ui/themed-page-background/themed-page-background.js +23 -0
  439. package/dist/components/ui/themed-page-background/themed-page-background.js.map +1 -0
  440. package/dist/components/ui/toast/index.d.ts +2 -0
  441. package/dist/components/ui/toast/index.js +2 -0
  442. package/dist/components/ui/toast/index.js.map +1 -0
  443. package/dist/components/ui/toast/toast-variants.d.ts +2 -0
  444. package/dist/components/ui/toast/toast-variants.js +6 -0
  445. package/dist/components/ui/toast/toast-variants.js.map +1 -0
  446. package/dist/components/ui/toast/toast.d.ts +33 -0
  447. package/dist/components/ui/toast/toast.js +35 -0
  448. package/dist/components/ui/toast/toast.js.map +1 -0
  449. package/dist/components/ui/toaster/index.d.ts +3 -0
  450. package/dist/components/ui/toaster/index.js +3 -0
  451. package/dist/components/ui/toaster/index.js.map +1 -0
  452. package/dist/components/ui/toaster/toaster.d.ts +2 -0
  453. package/dist/components/ui/toaster/toaster.js +12 -0
  454. package/dist/components/ui/toaster/toaster.js.map +1 -0
  455. package/dist/components/ui/tooltip/index.d.ts +2 -0
  456. package/dist/components/ui/tooltip/index.js +2 -0
  457. package/dist/components/ui/tooltip/index.js.map +1 -0
  458. package/dist/components/ui/tooltip/tooltip.d.ts +14 -0
  459. package/dist/components/ui/tooltip/tooltip.js +15 -0
  460. package/dist/components/ui/tooltip/tooltip.js.map +1 -0
  461. package/dist/components/ui/typewriter-effect/cursor-blinker.d.ts +5 -0
  462. package/dist/components/ui/typewriter-effect/cursor-blinker.js +26 -0
  463. package/dist/components/ui/typewriter-effect/cursor-blinker.js.map +1 -0
  464. package/dist/components/ui/typewriter-effect/index.d.ts +2 -0
  465. package/dist/components/ui/typewriter-effect/index.js +2 -0
  466. package/dist/components/ui/typewriter-effect/index.js.map +1 -0
  467. package/dist/components/ui/typewriter-effect/typewriter-effect.d.ts +10 -0
  468. package/dist/components/ui/typewriter-effect/typewriter-effect.js +76 -0
  469. package/dist/components/ui/typewriter-effect/typewriter-effect.js.map +1 -0
  470. package/dist/components/ui/visually-hidden/index.d.ts +3 -0
  471. package/dist/components/ui/visually-hidden/index.js +3 -0
  472. package/dist/components/ui/visually-hidden/index.js.map +1 -0
  473. package/dist/components/ui/visually-hidden/visually-hidden.d.ts +2 -0
  474. package/dist/components/ui/visually-hidden/visually-hidden.js +3 -0
  475. package/dist/components/ui/visually-hidden/visually-hidden.js.map +1 -0
  476. package/dist/components/ui/wordmark/index.d.ts +3 -0
  477. package/dist/components/ui/wordmark/index.js +3 -0
  478. package/dist/components/ui/wordmark/index.js.map +1 -0
  479. package/dist/components/ui/wordmark/wordmark.d.ts +6 -0
  480. package/dist/components/ui/wordmark/wordmark.js +8 -0
  481. package/dist/components/ui/wordmark/wordmark.js.map +1 -0
  482. package/dist/framer-motion.d.ts +2 -0
  483. package/dist/framer-motion.js +3 -0
  484. package/dist/framer-motion.js.map +1 -0
  485. package/dist/index.d.ts +18 -0
  486. package/dist/index.js +20 -0
  487. package/dist/index.js.map +1 -0
  488. package/dist/lib/getTailwindThemeScreenBreakpoint.d.ts +2 -0
  489. package/dist/lib/getTailwindThemeScreenBreakpoint.js +5 -0
  490. package/dist/lib/getTailwindThemeScreenBreakpoint.js.map +1 -0
  491. package/dist/lib/utils.d.ts +2 -0
  492. package/dist/lib/utils.js +6 -0
  493. package/dist/lib/utils.js.map +1 -0
  494. package/dist/providers/brightness-theme/brightness-theme.d.ts +11 -0
  495. package/dist/providers/brightness-theme/brightness-theme.js +15 -0
  496. package/dist/providers/brightness-theme/brightness-theme.js.map +1 -0
  497. package/dist/providers/brightness-theme/index.d.ts +2 -0
  498. package/dist/providers/brightness-theme/index.js +2 -0
  499. package/dist/providers/brightness-theme/index.js.map +1 -0
  500. package/dist/providers/index.d.ts +4 -0
  501. package/dist/providers/index.js +4 -0
  502. package/dist/providers/index.js.map +1 -0
  503. package/dist/providers/lazy_framer.d.ts +6 -0
  504. package/dist/providers/lazy_framer.js +8 -0
  505. package/dist/providers/lazy_framer.js.map +1 -0
  506. package/dist/types/Link.d.ts +9 -0
  507. package/dist/types/Link.js +2 -0
  508. package/dist/types/Link.js.map +1 -0
  509. package/package.json +128 -0
@@ -0,0 +1,14 @@
1
+ "use client";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
4
+ import { cn } from "../../../lib/utils";
5
+ function ScrollArea({ className, children, ...props }) {
6
+ return (_jsxs(ScrollAreaPrimitive.Root, { "data-slot": "scroll-area", className: cn("relative", className), ...props, children: [_jsx(ScrollAreaPrimitive.Viewport, { "data-slot": "scroll-area-viewport", className: "focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1", children: children }), _jsx(ScrollBar, {}), _jsx(ScrollAreaPrimitive.Corner, {})] }));
7
+ }
8
+ function ScrollBar({ className, orientation = "vertical", ...props }) {
9
+ return (_jsx(ScrollAreaPrimitive.ScrollAreaScrollbar, { "data-slot": "scroll-area-scrollbar", orientation: orientation, className: cn("flex touch-none p-px transition-colors select-none", orientation === "vertical" &&
10
+ "h-full w-2.5 border-l border-l-transparent", orientation === "horizontal" &&
11
+ "h-2.5 flex-col border-t border-t-transparent", className), ...props, children: _jsx(ScrollAreaPrimitive.ScrollAreaThumb, { "data-slot": "scroll-area-thumb", className: "bg-border relative flex-1 rounded-full" }) }));
12
+ }
13
+ export { ScrollArea, ScrollBar };
14
+ //# sourceMappingURL=scroll-area.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scroll-area.js","sourceRoot":"","sources":["../../../../src/components/ui/scroll-area/scroll-area.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AAEnE,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAGjC,SAAS,UAAU,CAAC,EAClB,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACwC;IAChD,OAAO,CACL,MAAC,mBAAmB,CAAC,IAAI,iBACb,aAAa,EACvB,SAAS,EAAE,EAAE,CAAC,UAAU,EAAE,SAAS,CAAC,KAChC,KAAK,aAET,KAAC,mBAAmB,CAAC,QAAQ,iBACjB,sBAAsB,EAChC,SAAS,EAAC,oJAAoJ,YAE7J,QAAQ,GACoB,EAC/B,KAAC,SAAS,KAAG,EACb,KAAC,mBAAmB,CAAC,MAAM,KAAG,IACL,CAC5B,CAAC;AACJ,CAAC;AAED,SAAS,SAAS,CAAC,EACjB,SAAS,EACT,WAAW,GAAG,UAAU,EACxB,GAAG,KAAK,EACuD;IAC/D,OAAO,CACL,KAAC,mBAAmB,CAAC,mBAAmB,iBAC5B,uBAAuB,EACjC,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,EAAE,CACX,oDAAoD,EACpD,WAAW,KAAK,UAAU;YACxB,4CAA4C,EAC9C,WAAW,KAAK,YAAY;YAC1B,8CAA8C,EAChD,SAAS,CACV,KACG,KAAK,YAET,KAAC,mBAAmB,CAAC,eAAe,iBACxB,mBAAmB,EAC7B,SAAS,EAAC,wCAAwC,GAClD,GACsC,CAC3C,CAAC;AACJ,CAAC;AAED,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./select";
2
+ export type * from "./select";
@@ -0,0 +1,2 @@
1
+ export * from "./select";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ui/select/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
@@ -0,0 +1,15 @@
1
+ import type { ComponentProps } from "react";
2
+ import * as SelectPrimitive from "@radix-ui/react-select";
3
+ declare function Select({ ...props }: ComponentProps<typeof SelectPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function SelectGroup({ ...props }: ComponentProps<typeof SelectPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
5
+ declare function SelectValue({ ...props }: ComponentProps<typeof SelectPrimitive.Value>): import("react/jsx-runtime").JSX.Element;
6
+ declare function SelectTrigger({ className, size, children, ...props }: ComponentProps<typeof SelectPrimitive.Trigger> & {
7
+ size?: "sm" | "default";
8
+ }): import("react/jsx-runtime").JSX.Element;
9
+ declare function SelectContent({ className, children, position, ...props }: ComponentProps<typeof SelectPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
10
+ declare function SelectLabel({ className, ...props }: ComponentProps<typeof SelectPrimitive.Label>): import("react/jsx-runtime").JSX.Element;
11
+ declare function SelectItem({ className, children, ...props }: ComponentProps<typeof SelectPrimitive.Item>): import("react/jsx-runtime").JSX.Element;
12
+ declare function SelectSeparator({ className, ...props }: ComponentProps<typeof SelectPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
13
+ declare function SelectScrollUpButton({ className, ...props }: ComponentProps<typeof SelectPrimitive.ScrollUpButton>): import("react/jsx-runtime").JSX.Element;
14
+ declare function SelectScrollDownButton({ className, ...props }: ComponentProps<typeof SelectPrimitive.ScrollDownButton>): import("react/jsx-runtime").JSX.Element;
15
+ export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, };
@@ -0,0 +1,39 @@
1
+ "use client";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import * as SelectPrimitive from "@radix-ui/react-select";
4
+ import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from "lucide-react";
5
+ import { cn } from "../../../lib/utils";
6
+ function Select({ ...props }) {
7
+ return _jsx(SelectPrimitive.Root, { "data-slot": "select", ...props });
8
+ }
9
+ function SelectGroup({ ...props }) {
10
+ return _jsx(SelectPrimitive.Group, { "data-slot": "select-group", ...props });
11
+ }
12
+ function SelectValue({ ...props }) {
13
+ return _jsx(SelectPrimitive.Value, { "data-slot": "select-value", ...props });
14
+ }
15
+ function SelectTrigger({ className, size = "default", children, ...props }) {
16
+ return (_jsxs(SelectPrimitive.Trigger, { "data-slot": "select-trigger", "data-size": size, className: cn("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className), ...props, children: [children, _jsx(SelectPrimitive.Icon, { asChild: true, children: _jsx(ChevronDownIcon, { className: "size-4 opacity-50" }) })] }));
17
+ }
18
+ function SelectContent({ className, children, position = "popper", ...props }) {
19
+ return (_jsx(SelectPrimitive.Portal, { children: _jsxs(SelectPrimitive.Content, { "data-slot": "select-content", className: cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md", position === "popper" &&
20
+ "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", className), position: position, ...props, children: [_jsx(SelectScrollUpButton, {}), _jsx(SelectPrimitive.Viewport, { className: cn("p-1", position === "popper" &&
21
+ "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"), children: children }), _jsx(SelectScrollDownButton, {})] }) }));
22
+ }
23
+ function SelectLabel({ className, ...props }) {
24
+ return (_jsx(SelectPrimitive.Label, { "data-slot": "select-label", className: cn("text-muted-foreground px-2 py-1.5 text-xs", className), ...props }));
25
+ }
26
+ function SelectItem({ className, children, ...props }) {
27
+ return (_jsxs(SelectPrimitive.Item, { "data-slot": "select-item", className: cn("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2", className), ...props, children: [_jsx("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: _jsx(SelectPrimitive.ItemIndicator, { children: _jsx(CheckIcon, { className: "size-4" }) }) }), _jsx(SelectPrimitive.ItemText, { children: children })] }));
28
+ }
29
+ function SelectSeparator({ className, ...props }) {
30
+ return (_jsx(SelectPrimitive.Separator, { "data-slot": "select-separator", className: cn("bg-border pointer-events-none -mx-1 my-1 h-px", className), ...props }));
31
+ }
32
+ function SelectScrollUpButton({ className, ...props }) {
33
+ return (_jsx(SelectPrimitive.ScrollUpButton, { "data-slot": "select-scroll-up-button", className: cn("flex cursor-default items-center justify-center py-1", className), ...props, children: _jsx(ChevronUpIcon, { className: "size-4" }) }));
34
+ }
35
+ function SelectScrollDownButton({ className, ...props }) {
36
+ return (_jsx(SelectPrimitive.ScrollDownButton, { "data-slot": "select-scroll-down-button", className: cn("flex cursor-default items-center justify-center py-1", className), ...props, children: _jsx(ChevronDownIcon, { className: "size-4" }) }));
37
+ }
38
+ export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, };
39
+ //# sourceMappingURL=select.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"select.js","sourceRoot":"","sources":["../../../../src/components/ui/select/select.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAEzE,OAAO,EAAE,EAA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,GAAG,KAAK,EACgD;IACxD,OAAO,CACL,KAAC,eAAe,CAAC,gBAAgB,iBACrB,2BAA2B,EACrC,SAAS,EAAE,EAAE,CACX,sDAAsD,EACtD,SAAS,CACV,KACG,KAAK,YAET,KAAC,eAAe,IAAC,SAAS,EAAC,QAAQ,GAAG,GACL,CACpC,CAAC;AACJ,CAAC;AAED,OAAO,EACL,MAAM,EACN,aAAa,EACb,WAAW,EACX,UAAU,EACV,WAAW,EACX,sBAAsB,EACtB,oBAAoB,EACpB,eAAe,EACf,aAAa,EACb,WAAW,GACZ,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./separator";
2
+ export type * from "./separator";
@@ -0,0 +1,2 @@
1
+ export * from "./separator";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ui/separator/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { ComponentProps } from "react";
2
+ import * as SeparatorPrimitive from "@radix-ui/react-separator";
3
+ export type { SeparatorProps } from "@radix-ui/react-separator";
4
+ declare function Separator({ className, orientation, decorative, ...props }: ComponentProps<typeof SeparatorPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
5
+ declare namespace Separator {
6
+ var displayName: string | undefined;
7
+ }
8
+ export { Separator };
9
+ export default Separator;
@@ -0,0 +1,11 @@
1
+ "use client";
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import * as SeparatorPrimitive from "@radix-ui/react-separator";
4
+ import { cn } from "../../../lib/utils";
5
+ function Separator({ className, orientation = "horizontal", decorative = true, ...props }) {
6
+ return (_jsx(SeparatorPrimitive.Root, { "data-slot": "separator", decorative: decorative, orientation: orientation, className: cn("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px", className), ...props }));
7
+ }
8
+ Separator.displayName = SeparatorPrimitive.Root.displayName;
9
+ export { Separator };
10
+ export default Separator;
11
+ //# sourceMappingURL=separator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"separator.js","sourceRoot":"","sources":["../../../../src/components/ui/separator/separator.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAEhE,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC,SAAS,SAAS,CAAC,EACjB,SAAS,EACT,WAAW,GAAG,YAAY,EAC1B,UAAU,GAAG,IAAI,EACjB,GAAG,KAAK,EACuC;IAC/C,OAAO,CACL,KAAC,kBAAkB,CAAC,IAAI,iBACZ,WAAW,EACrB,UAAU,EAAE,UAAU,EACtB,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,EAAE,CACX,gKAAgK,EAChK,SAAS,CACV,KACG,KAAK,GACT,CACH,CAAC;AACJ,CAAC;AACD,SAAS,CAAC,WAAW,GAAG,kBAAkB,CAAC,IAAI,CAAC,WAAW,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAE,CAAC;AAErB,eAAe,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./sheet";
2
+ export type * from "./sheet";
@@ -0,0 +1,2 @@
1
+ export * from "./sheet";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ui/sheet/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -0,0 +1,13 @@
1
+ import type { ComponentProps } from "react";
2
+ import * as SheetPrimitive from "@radix-ui/react-dialog";
3
+ declare function Sheet({ ...props }: ComponentProps<typeof SheetPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function SheetTrigger({ ...props }: ComponentProps<typeof SheetPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
5
+ declare function SheetClose({ ...props }: ComponentProps<typeof SheetPrimitive.Close>): import("react/jsx-runtime").JSX.Element;
6
+ declare function SheetContent({ className, children, side, ...props }: ComponentProps<typeof SheetPrimitive.Content> & {
7
+ side?: "top" | "right" | "bottom" | "left";
8
+ }): import("react/jsx-runtime").JSX.Element;
9
+ declare function SheetHeader({ className, ...props }: ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
10
+ declare function SheetFooter({ className, ...props }: ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
11
+ declare function SheetTitle({ className, ...props }: ComponentProps<typeof SheetPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
12
+ declare function SheetDescription({ className, ...props }: ComponentProps<typeof SheetPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
13
+ export { Sheet, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription, };
@@ -0,0 +1,41 @@
1
+ "use client";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import * as SheetPrimitive from "@radix-ui/react-dialog";
4
+ import { XIcon } from "lucide-react";
5
+ import { cn } from "../../../lib/utils";
6
+ function Sheet({ ...props }) {
7
+ return _jsx(SheetPrimitive.Root, { "data-slot": "sheet", ...props });
8
+ }
9
+ function SheetTrigger({ ...props }) {
10
+ return _jsx(SheetPrimitive.Trigger, { "data-slot": "sheet-trigger", ...props });
11
+ }
12
+ function SheetClose({ ...props }) {
13
+ return _jsx(SheetPrimitive.Close, { "data-slot": "sheet-close", ...props });
14
+ }
15
+ function SheetPortal({ ...props }) {
16
+ return _jsx(SheetPrimitive.Portal, { "data-slot": "sheet-portal", ...props });
17
+ }
18
+ function SheetOverlay({ className, ...props }) {
19
+ return (_jsx(SheetPrimitive.Overlay, { "data-slot": "sheet-overlay", className: cn("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50", className), ...props }));
20
+ }
21
+ function SheetContent({ className, children, side = "right", ...props }) {
22
+ return (_jsxs(SheetPortal, { children: [_jsx(SheetOverlay, {}), _jsxs(SheetPrimitive.Content, { "data-slot": "sheet-content", className: cn("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500", side === "right" &&
23
+ "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm", side === "left" &&
24
+ "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm", side === "top" &&
25
+ "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b", side === "bottom" &&
26
+ "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t", className), ...props, children: [children, _jsxs(SheetPrimitive.Close, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none", children: [_jsx(XIcon, { className: "size-4" }), _jsx("span", { className: "sr-only", children: "Close" })] })] })] }));
27
+ }
28
+ function SheetHeader({ className, ...props }) {
29
+ return (_jsx("div", { "data-slot": "sheet-header", className: cn("flex flex-col gap-1.5 p-4", className), ...props }));
30
+ }
31
+ function SheetFooter({ className, ...props }) {
32
+ return (_jsx("div", { "data-slot": "sheet-footer", className: cn("mt-auto flex flex-col gap-2 p-4", className), ...props }));
33
+ }
34
+ function SheetTitle({ className, ...props }) {
35
+ return (_jsx(SheetPrimitive.Title, { "data-slot": "sheet-title", className: cn("text-foreground font-semibold", className), ...props }));
36
+ }
37
+ function SheetDescription({ className, ...props }) {
38
+ return (_jsx(SheetPrimitive.Description, { "data-slot": "sheet-description", className: cn("text-muted-foreground text-sm", className), ...props }));
39
+ }
40
+ export { Sheet, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription, };
41
+ //# sourceMappingURL=sheet.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sheet.js","sourceRoot":"","sources":["../../../../src/components/ui/sheet/sheet.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,KAAK,cAAc,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAErC,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC,SAAS,KAAK,CAAC,EAAE,GAAG,KAAK,EAA8C;IACrE,OAAO,KAAC,cAAc,CAAC,IAAI,iBAAW,OAAO,KAAK,KAAK,GAAI,CAAC;AAC9D,CAAC;AAED,SAAS,YAAY,CAAC,EACpB,GAAG,KAAK,EACsC;IAC9C,OAAO,KAAC,cAAc,CAAC,OAAO,iBAAW,eAAe,KAAK,KAAK,GAAI,CAAC;AACzE,CAAC;AAED,SAAS,UAAU,CAAC,EAAE,GAAG,KAAK,EAA+C;IAC3E,OAAO,KAAC,cAAc,CAAC,KAAK,iBAAW,aAAa,KAAK,KAAK,GAAI,CAAC;AACrE,CAAC;AAED,SAAS,WAAW,CAAC,EACnB,GAAG,KAAK,EACqC;IAC7C,OAAO,KAAC,cAAc,CAAC,MAAM,iBAAW,cAAc,KAAK,KAAK,GAAI,CAAC;AACvE,CAAC;AAED,SAAS,YAAY,CAAC,EACpB,SAAS,EACT,GAAG,KAAK,EACsC;IAC9C,OAAO,CACL,KAAC,cAAc,CAAC,OAAO,iBACX,eAAe,EACzB,SAAS,EAAE,EAAE,CACX,wJAAwJ,EACxJ,SAAS,CACV,KACG,KAAK,GACT,CACH,CAAC;AACJ,CAAC;AAED,SAAS,YAAY,CAAC,EACpB,SAAS,EACT,QAAQ,EACR,IAAI,GAAG,OAAO,EACd,GAAG,KAAK,EAGT;IACC,OAAO,CACL,MAAC,WAAW,eACV,KAAC,YAAY,KAAG,EAChB,MAAC,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ACJ,CAAC;AAED,OAAO,EACL,KAAK,EACL,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,WAAW,EACX,WAAW,EACX,UAAU,EACV,gBAAgB,GACjB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from "./skeleton";
2
+ export type * from "./skeleton";
3
+ export { Skeleton as default } from "./skeleton";
@@ -0,0 +1,3 @@
1
+ export * from "./skeleton";
2
+ export { Skeleton as default } from "./skeleton";
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ui/skeleton/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAE3B,OAAO,EAAE,QAAQ,IAAI,OAAO,EAAE,MAAM,YAAY,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
2
+ export { Skeleton };
3
+ export default Skeleton;
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { cn } from "../../../lib/utils";
3
+ function Skeleton({ className, ...props }) {
4
+ return (_jsx("div", { className: cn("animate-pulse rounded-md bg-muted", className), ...props }));
5
+ }
6
+ export { Skeleton };
7
+ export default Skeleton;
8
+ //# sourceMappingURL=skeleton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skeleton.js","sourceRoot":"","sources":["../../../../src/components/ui/skeleton/skeleton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC,SAAS,QAAQ,CAAC,EAChB,SAAS,EACT,GAAG,KAAK,EAC6B;IACrC,OAAO,CACL,cACE,SAAS,EAAE,EAAE,CAAC,mCAAmC,EAAE,SAAS,CAAC,KACzD,KAAK,GACT,CACH,CAAC;AACJ,CAAC;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC;AAEpB,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { Slider, Slider as default } from "./slider";
2
+ export type { SliderProps } from "./slider";
@@ -0,0 +1,2 @@
1
+ export { Slider, Slider as default } from "./slider";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ui/slider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,IAAI,OAAO,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { ReactElement } from "react";
2
+ import * as SliderPrimitive from "@radix-ui/react-slider";
3
+ export interface SliderProps extends SliderPrimitive.SliderProps {
4
+ className?: string;
5
+ }
6
+ declare function Slider({ className, ...props }: SliderProps): ReactElement;
7
+ declare namespace Slider {
8
+ var displayName: string | undefined;
9
+ }
10
+ export { Slider };
11
+ export default Slider;
@@ -0,0 +1,11 @@
1
+ "use client";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import * as SliderPrimitive from "@radix-ui/react-slider";
4
+ import { cn } from "../../../lib/utils";
5
+ function Slider({ className, ...props }) {
6
+ return (_jsxs(SliderPrimitive.Root, { className: cn("relative flex w-full touch-none select-none items-center", className), ...props, children: [_jsx(SliderPrimitive.Track, { className: "relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/20", children: _jsx(SliderPrimitive.Range, { className: "absolute h-full bg-primary" }) }), _jsx(SliderPrimitive.Thumb, { className: "block h-4 w-4 rounded-full border border-primary/50 bg-background shadow transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50" })] }));
7
+ }
8
+ Slider.displayName = SliderPrimitive.Root.displayName;
9
+ export { Slider };
10
+ export default Slider;
11
+ //# sourceMappingURL=slider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slider.js","sourceRoot":"","sources":["../../../../src/components/ui/slider/slider.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAE1D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAMjC,SAAS,MAAM,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAe;IAClD,OAAO,CACL,MAAC,eAAe,CAAC,IAAI,IACnB,SAAS,EAAE,EAAE,CACX,0DAA0D,EAC1D,SAAS,CACV,KACG,KAAK,aAET,KAAC,eAAe,CAAC,KAAK,IAAC,SAAS,EAAC,uEAAuE,YACtG,KAAC,eAAe,CAAC,KAAK,IAAC,SAAS,EAAC,4BAA4B,GAAG,GAC1C,EACxB,KAAC,eAAe,CAAC,KAAK,IAAC,SAAS,EAAC,qNAAqN,GAAG,IACpO,CACxB,CAAC;AACJ,CAAC;AACD,MAAM,CAAC,WAAW,GAAG,eAAe,CAAC,IAAI,CAAC,WAAW,CAAC;AAEtD,OAAO,EAAE,MAAM,EAAE,CAAC;AAElB,eAAe,MAAM,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { SplitPane, SplitPane as default } from "./split-pane";
2
+ export type { SplitPaneProps } from "./split-pane";
3
+ export type { SplitPaneDirection } from "./split-pane-directions";
@@ -0,0 +1,2 @@
1
+ export { SplitPane, SplitPane as default } from "./split-pane";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ui/split-pane/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,IAAI,OAAO,EAAE,MAAM,cAAc,CAAC"}
@@ -0,0 +1,3 @@
1
+ export declare const MIN_SPLIT_PERCENTAGE: number;
2
+ export declare const MAX_SPLIT_PERCENTAGE: number;
3
+ export declare const EVEN_SPLIT_PERCENTAGE: number;
@@ -0,0 +1,4 @@
1
+ export const MIN_SPLIT_PERCENTAGE = 10;
2
+ export const MAX_SPLIT_PERCENTAGE = 90;
3
+ export const EVEN_SPLIT_PERCENTAGE = 50;
4
+ //# sourceMappingURL=split-pane-acceptable-split-range.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"split-pane-acceptable-split-range.js","sourceRoot":"","sources":["../../../../src/components/ui/split-pane/split-pane-acceptable-split-range.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,oBAAoB,GAAW,EAAE,CAAC;AAC/C,MAAM,CAAC,MAAM,oBAAoB,GAAW,EAAE,CAAC;AAC/C,MAAM,CAAC,MAAM,qBAAqB,GAAW,EAAE,CAAC"}
@@ -0,0 +1,3 @@
1
+ export declare const validSplitPaneDirections: readonly ["row", "col"];
2
+ export type SplitPaneDirection = (typeof validSplitPaneDirections)[number];
3
+ export declare const defaultSplitPaneDirection: "col";
@@ -0,0 +1,6 @@
1
+ export const validSplitPaneDirections = [
2
+ "row",
3
+ "col",
4
+ ];
5
+ export const defaultSplitPaneDirection = "col";
6
+ //# sourceMappingURL=split-pane-directions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"split-pane-directions.js","sourceRoot":"","sources":["../../../../src/components/ui/split-pane/split-pane-directions.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,KAAK;IACL,KAAK;CAC+B,CAAC;AAIvC,MAAM,CAAC,MAAM,yBAAyB,GACpC,KAA2C,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { type ReactElement } from "react";
2
+ import type { SplitPaneDirection } from "./split-pane-directions";
3
+ export interface SplitPaneProps {
4
+ direction?: SplitPaneDirection;
5
+ splitPercentage?: number;
6
+ setSplitPercentage?: (percentage: number) => void;
7
+ First: () => ReactElement;
8
+ Second: () => ReactElement;
9
+ disabled?: boolean;
10
+ containerClassName?: string;
11
+ }
12
+ export declare function SplitPane(props: SplitPaneProps): ReactElement;
13
+ export default SplitPane;
@@ -0,0 +1,95 @@
1
+ "use client";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { cn } from "../../../lib/utils";
4
+ import { useCallback, useEffect, useMemo, useRef, useState, } from "react";
5
+ import useSplitPaneDirectionOrDefault from "./useSplitPaneDirectionOrDefault";
6
+ import { EVEN_SPLIT_PERCENTAGE, MAX_SPLIT_PERCENTAGE, MIN_SPLIT_PERCENTAGE, } from "./split-pane-acceptable-split-range";
7
+ function SplitPaneSeparator({ direction, splitPercentage, disabled, handleMouseDown, }) {
8
+ return (_jsx("div", { className: cn(!disabled
9
+ ? `cursor-${direction === "row" ? "col" : "row"}-resize`
10
+ : "cursor-not-allowed", `flex items-center justify-center bg-gray-200`, `${direction === "row" ? "w-1" : "h-1"}`), role: "separator", "aria-valuenow": splitPercentage, "aria-valuemin": 10, "aria-valuemax": 90, tabIndex: 0, onMouseDown: handleMouseDown, children: _jsx("div", { className: "w-4 h-4 bg-gray-400 rounded-full" }) }));
11
+ }
12
+ export function SplitPane(props) {
13
+ const direction = useSplitPaneDirectionOrDefault(props.direction);
14
+ const splitPercentage = useMemo(() => {
15
+ if (typeof props.splitPercentage === "number") {
16
+ if (props.splitPercentage <= MIN_SPLIT_PERCENTAGE) {
17
+ return MIN_SPLIT_PERCENTAGE;
18
+ }
19
+ else if (props.splitPercentage >= MAX_SPLIT_PERCENTAGE) {
20
+ return MAX_SPLIT_PERCENTAGE;
21
+ }
22
+ else {
23
+ return props.splitPercentage;
24
+ }
25
+ }
26
+ return EVEN_SPLIT_PERCENTAGE;
27
+ }, [props.splitPercentage]);
28
+ const FirstComponent = props.First;
29
+ const SecondComponent = props.Second;
30
+ const disabled = useMemo(() => {
31
+ return props.disabled || typeof props.setSplitPercentage === "undefined";
32
+ }, [props.disabled, props.setSplitPercentage]);
33
+ const containerRef = useRef(null);
34
+ const [isDragging, setIsDragging] = useState(false);
35
+ const handleMouseDown = useCallback(() => {
36
+ if (process.env.NODE_ENV === "development") {
37
+ console.log("[SplitPane] handleMouseDown()");
38
+ }
39
+ setIsDragging(true);
40
+ }, []);
41
+ const handleMouseMove = useCallback((e) => {
42
+ if (!isDragging || !containerRef.current) {
43
+ return;
44
+ }
45
+ if (disabled) {
46
+ // don't readjust size if disabled
47
+ return;
48
+ }
49
+ if (typeof props.setSplitPercentage !== "function") {
50
+ if (process.env.NODE_ENV === "development") {
51
+ console.warn(`[SplitPane] setSplitPercentage is not a function!`);
52
+ }
53
+ return;
54
+ }
55
+ const setSplitPercentage = props.setSplitPercentage;
56
+ const containerRect = containerRef.current.getBoundingClientRect();
57
+ const containerSize = direction === "row" ? containerRect.width : containerRect.height;
58
+ const currentPosition = direction === "row" ? e.clientX : e.clientY;
59
+ const containerStart = direction === "row" ? containerRect.left : containerRect.top;
60
+ const newSplitPixels = currentPosition - containerStart;
61
+ const newSplitPercentage = (newSplitPixels / containerSize) * 100;
62
+ const clampedPercentage = Math.min(Math.max(newSplitPercentage, 10), 90);
63
+ if (process.env.NODE_ENV === "development") {
64
+ console.log(`[SplitPane] setSplitPercentage(${clampedPercentage})`);
65
+ }
66
+ setSplitPercentage(clampedPercentage);
67
+ }, [isDragging, direction, props.setSplitPercentage, disabled]);
68
+ const handleMouseUp = useCallback(() => {
69
+ if (process.env.NODE_ENV === "development") {
70
+ console.log("[SplitPane] handleMouseUp()");
71
+ }
72
+ setIsDragging(false);
73
+ }, []);
74
+ useEffect(() => {
75
+ function onMouseMoveListener(ev) {
76
+ handleMouseMove(ev);
77
+ return;
78
+ }
79
+ if (isDragging) {
80
+ window.addEventListener("mousemove", onMouseMoveListener);
81
+ window.addEventListener("mouseup", handleMouseUp);
82
+ }
83
+ else {
84
+ window.removeEventListener("mousemove", onMouseMoveListener);
85
+ window.removeEventListener("mouseup", handleMouseUp);
86
+ }
87
+ return () => {
88
+ window.removeEventListener("mousemove", onMouseMoveListener);
89
+ window.removeEventListener("mouseup", handleMouseUp);
90
+ };
91
+ }, [isDragging, handleMouseMove, handleMouseUp]);
92
+ return (_jsxs("div", { ref: containerRef, className: cn("flex", direction === "row" ? "flex-row" : "flex-col", props.containerClassName ?? "w-full h-full"), children: [_jsx("div", { style: { flexBasis: `${splitPercentage}%` }, children: _jsx(FirstComponent, {}) }), _jsx(SplitPaneSeparator, { direction: direction, splitPercentage: splitPercentage, disabled: disabled, handleMouseDown: handleMouseDown }), _jsx("div", { style: { flexBasis: `${100 - splitPercentage}%` }, children: _jsx(SecondComponent, {}) })] }));
93
+ }
94
+ export default SplitPane;
95
+ //# sourceMappingURL=split-pane.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"split-pane.js","sourceRoot":"","sources":["../../../../src/components/ui/split-pane/split-pane.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC,OAAO,EAEL,WAAW,EACX,SAAS,EACT,OAAO,EACP,MAAM,EACN,QAAQ,GAIT,MAAM,OAAO,CAAC;AAEf,OAAO,8BAA8B,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,GACrB,MAAM,qCAAqC,CAAC;AAS7C,SAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,eAAe,EACf,QAAQ,EACR,eAAe,GACS;IACxB,OAAO,CACL,cACE,SAAS,EAAE,EAAE,CACX,CAAC,QAAQ;YACP,CAAC,CAAC,UAAU,SAAS,KAAK,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,SAAS;YACxD,CAAC,CAAC,oBAAoB,EACxB,8CAA8C,EAC9C,GAAG,SAAS,KAAK,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,EAAE,CACzC,EACD,IAAI,EAAC,WAAW,mBACD,eAAe,mBACf,EAAE,mBACF,EAAE,EACjB,QAAQ,EAAE,CAAC,EACX,WAAW,EAAE,eAAe,YAE5B,cAAK,SAAS,EAAC,kCAAkC,GAAG,GAChD,CACP,CAAC;AACJ,CAAC;AAYD,MAAM,UAAU,SAAS,CAAC,KAAqB;IAC7C,MAAM,SAAS,GAAuB,8BAA8B,CAClE,KAAK,C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,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,EAC7C,KAAK,CAAC,kBAAkB,IAAI,eAAe,CAC5C,aAED,cAAK,KAAK,EAAE,EAAE,SAAS,EAAE,GAAG,eAAe,GAAG,EAAE,YAC9C,KAAC,cAAc,KAAG,GACd,EACN,KAAC,kBAAkB,IACjB,SAAS,EAAE,SAAS,EACpB,eAAe,EAAE,eAAe,EAChC,QAAQ,EAAE,QAAQ,EAClB,eAAe,EAAE,eAAe,GAChC,EACF,cAAK,KAAK,EAAE,EAAE,SAAS,EAAE,GAAG,GAAG,GAAG,eAAe,GAAG,EAAE,YACpD,KAAC,eAAe,KAAG,GACf,IACF,CACP,CAAC;AACJ,CAAC;AAED,eAAe,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { type SplitPaneDirection } from "./split-pane-directions";
2
+ export declare function useSplitPaneDirectionOrDefault(dir?: SplitPaneDirection): SplitPaneDirection;
3
+ export default useSplitPaneDirectionOrDefault;
@@ -0,0 +1,25 @@
1
+ import { useMemo } from "react";
2
+ import { defaultSplitPaneDirection, } from "./split-pane-directions";
3
+ export function useSplitPaneDirectionOrDefault(dir) {
4
+ return useMemo(() => {
5
+ if (typeof dir !== "string" && typeof dir !== "undefined") {
6
+ throw new Error("useSplitPaneDirectionOrDefault received invalid direction! Should be ('row'/'col'/undefined for default)");
7
+ }
8
+ if (!dir) {
9
+ return defaultSplitPaneDirection;
10
+ }
11
+ if (typeof dir !== "string" || dir.length !== 3) {
12
+ throw new Error("If defined, expect dir to be a 3 letter string ('row'/'col')");
13
+ }
14
+ if (dir === "row") {
15
+ return "row";
16
+ }
17
+ else if (dir === "col") {
18
+ return "col";
19
+ }
20
+ else
21
+ throw new Error("Failed to determine direction for SplitPane component layout!");
22
+ }, [dir]);
23
+ }
24
+ export default useSplitPaneDirectionOrDefault;
25
+ //# sourceMappingURL=useSplitPaneDirectionOrDefault.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSplitPaneDirectionOrDefault.js","sourceRoot":"","sources":["../../../../src/components/ui/split-pane/useSplitPaneDirectionOrDefault.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EACL,yBAAyB,GAE1B,MAAM,yBAAyB,CAAC;AAEjC,MAAM,UAAU,8BAA8B,CAC5C,GAAwB;IAExB,OAAO,OAAO,CAAC,GAAuB,EAAE;QACtC,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,OAAO,GAAG,KAAK,WAAW,EAAE,CAAC;YAC1D,MAAM,IAAI,KAAK,CACb,0GAA0G,CAC3G,CAAC;QACJ,CAAC;QACD,IAAI,CAAC,GAAG,EAAE,CAAC;YACT,OAAO,yBAAyB,CAAC;QACnC,CAAC;QACD,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAChD,MAAM,IAAI,KAAK,CACb,8DAA8D,CAC/D,CAAC;QACJ,CAAC;QACD,IAAI,GAAG,KAAK,KAAK,EAAE,CAAC;YAClB,OAAO,KAAK,CAAC;QACf,CAAC;aAAM,IAAI,GAAG,KAAK,KAAK,EAAE,CAAC;YACzB,OAAO,KAAK,CAAC;QACf,CAAC;;YACC,MAAM,IAAI,KAAK,CACb,+DAA+D,CAChE,CAAC;IACN,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;AACZ,CAAC;AAED,eAAe,8BAA8B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { StatusBlinker, StatusBlinker as default } from "./status-blinker";
2
+ export type { StatusBlinkerProps, AvailableStatusBlinkerColors, } from "./status-blinker";
@@ -0,0 +1,2 @@
1
+ export { StatusBlinker, StatusBlinker as default } from "./status-blinker";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ui/status-blinker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,aAAa,IAAI,OAAO,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { ReactElement } from "react";
2
+ export declare const availableStatusBlinkerColors: readonly ["green", "yellow", "red"];
3
+ export type AvailableStatusBlinkerColors = (typeof availableStatusBlinkerColors)[number];
4
+ export interface StatusBlinkerProps {
5
+ status?: AvailableStatusBlinkerColors;
6
+ }
7
+ export declare function StatusBlinker({ status }: StatusBlinkerProps): ReactElement;
8
+ export default StatusBlinker;
@@ -0,0 +1,24 @@
1
+ "use client";
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ export const availableStatusBlinkerColors = [
4
+ "green",
5
+ "yellow",
6
+ "red",
7
+ ];
8
+ function getStatusColor(status) {
9
+ switch (status) {
10
+ case "green":
11
+ return "bg-green-500";
12
+ case "yellow":
13
+ return "bg-yellow-500";
14
+ case "red":
15
+ return "bg-red-500";
16
+ default:
17
+ return "bg-gray-500";
18
+ }
19
+ }
20
+ export function StatusBlinker({ status }) {
21
+ return (_jsx("div", { className: `w-3 h-3 ${getStatusColor(status)} rounded-full animate-pulse mr-2` }));
22
+ }
23
+ export default StatusBlinker;
24
+ //# sourceMappingURL=status-blinker.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"status-blinker.js","sourceRoot":"","sources":["../../../../src/components/ui/status-blinker/status-blinker.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAIb,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,OAAO;IACP,QAAQ;IACR,KAAK;CAC+B,CAAC;AAKvC,SAAS,cAAc,CAAC,MAAqC;IAC3D,QAAQ,MAAM,EAAE,CAAC;QACf,KAAK,OAAO;YACV,OAAO,cAAc,CAAC;QACxB,KAAK,QAAQ;YACX,OAAO,eAAe,CAAC;QACzB,KAAK,KAAK;YACR,OAAO,YAAY,CAAC;QACtB;YACE,OAAO,aAAa,CAAC;IACzB,CAAC;AACH,CAAC;AAMD,MAAM,UAAU,aAAa,CAAC,EAAE,MAAM,EAAsB;IAC1D,OAAO,CACL,cACE,SAAS,EAAE,WAAW,cAAc,CAClC,MAAyD,CAC1D,kCAAkC,GACnC,CACH,CAAC;AACJ,CAAC;AAED,eAAe,aAAa,CAAC"}
@@ -0,0 +1 @@
1
+ export type BaseStepperState = object;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=base-stepper-state-type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base-stepper-state-type.js","sourceRoot":"","sources":["../../../../src/components/ui/stepper/base-stepper-state-type.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { Stepper, type StepperProps } from './stepper';
2
+ export type { Step, StepComponentProps, StepComponentType } from './step_definition';
@@ -0,0 +1,2 @@
1
+ export { Stepper } from './stepper';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ui/stepper/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAqB,MAAM,WAAW,CAAC"}