@oneplatformdev/ui 0.0.1-beta.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (403) hide show
  1. package/Accordion/Accordion.d.ts +7 -0
  2. package/Accordion/Accordion.mjs +46 -0
  3. package/Accordion/index.d.ts +1 -0
  4. package/Accordion/index.mjs +7 -0
  5. package/Accordion/package.json +7 -0
  6. package/Alert/Alert.d.ts +7 -0
  7. package/Alert/Alert.mjs +37 -0
  8. package/Alert/alertVariants.d.ts +4 -0
  9. package/Alert/alertVariants.mjs +19 -0
  10. package/Alert/index.d.ts +1 -0
  11. package/Alert/index.mjs +6 -0
  12. package/Alert/package.json +7 -0
  13. package/AlertDialog/AlertDialog.d.ts +65 -0
  14. package/AlertDialog/AlertDialog.mjs +97 -0
  15. package/AlertDialog/AlertDialog.types.d.ts +53 -0
  16. package/AlertDialog/AlertDialogRoot.d.ts +21 -0
  17. package/AlertDialog/AlertDialogRoot.mjs +114 -0
  18. package/AlertDialog/index.d.ts +3 -0
  19. package/AlertDialog/index.mjs +16 -0
  20. package/AlertDialog/package.json +7 -0
  21. package/AreaChart/AreaChart.d.ts +4 -0
  22. package/AreaChart/AreaChart.mjs +27 -0
  23. package/AreaChart/AreaChart.types.d.ts +15 -0
  24. package/AreaChart/index.d.ts +2 -0
  25. package/AreaChart/index.mjs +4 -0
  26. package/AreaChart/package.json +7 -0
  27. package/Aside/Aside.d.ts +4 -0
  28. package/Aside/Aside.mjs +23 -0
  29. package/Aside/Aside.types.d.ts +18 -0
  30. package/Aside/AsideSidebar.d.ts +3 -0
  31. package/Aside/AsideSidebar.mjs +37 -0
  32. package/Aside/index.d.ts +3 -0
  33. package/Aside/index.mjs +7 -0
  34. package/Aside/package.json +7 -0
  35. package/AspectRatio/AspectRatio.d.ts +2 -0
  36. package/AspectRatio/AspectRatio.mjs +5 -0
  37. package/AspectRatio/index.d.ts +1 -0
  38. package/AspectRatio/index.mjs +5 -0
  39. package/AspectRatio/package.json +7 -0
  40. package/Avatar/Avatar.d.ts +5 -0
  41. package/Avatar/Avatar.mjs +42 -0
  42. package/Avatar/index.d.ts +1 -0
  43. package/Avatar/index.mjs +6 -0
  44. package/Avatar/package.json +7 -0
  45. package/Badge/Badge.d.ts +5 -0
  46. package/Badge/Badge.mjs +10 -0
  47. package/Badge/Badge.types.d.ts +5 -0
  48. package/Badge/badgeVariants.d.ts +3 -0
  49. package/Badge/badgeVariants.mjs +20 -0
  50. package/Badge/index.d.ts +3 -0
  51. package/Badge/index.mjs +6 -0
  52. package/Badge/package.json +7 -0
  53. package/Breadcrumb/Breadcrumb.d.ts +19 -0
  54. package/Breadcrumb/Breadcrumb.mjs +90 -0
  55. package/Breadcrumb/index.d.ts +1 -0
  56. package/Breadcrumb/index.mjs +10 -0
  57. package/Breadcrumb/package.json +7 -0
  58. package/Button/Button.d.ts +4 -0
  59. package/Button/Button.mjs +31 -0
  60. package/Button/Button.types.d.ts +8 -0
  61. package/Button/buttonVariants.d.ts +4 -0
  62. package/Button/buttonVariants.mjs +29 -0
  63. package/Button/index.d.ts +3 -0
  64. package/Button/index.mjs +7 -0
  65. package/Button/package.json +7 -0
  66. package/ButtonIcon/ButtonIcon.d.ts +3 -0
  67. package/ButtonIcon/ButtonIcon.mjs +29 -0
  68. package/ButtonIcon/ButtonIcon.types.d.ts +7 -0
  69. package/ButtonIcon/buttonIconVariants.d.ts +7 -0
  70. package/ButtonIcon/buttonIconVariants.mjs +139 -0
  71. package/ButtonIcon/index.d.ts +3 -0
  72. package/ButtonIcon/index.mjs +7 -0
  73. package/ButtonIcon/package.json +7 -0
  74. package/Calendar/Calendar.d.ts +8 -0
  75. package/Calendar/Calendar.mjs +63 -0
  76. package/Calendar/index.d.ts +1 -0
  77. package/Calendar/index.mjs +4 -0
  78. package/Calendar/package.json +7 -0
  79. package/Card/Card.d.ts +8 -0
  80. package/Card/Card.mjs +61 -0
  81. package/Card/index.d.ts +1 -0
  82. package/Card/index.mjs +9 -0
  83. package/Card/package.json +7 -0
  84. package/Carousel/Carousel.d.ts +18 -0
  85. package/Carousel/Carousel.mjs +168 -0
  86. package/Carousel/index.d.ts +1 -0
  87. package/Carousel/index.mjs +8 -0
  88. package/Carousel/package.json +7 -0
  89. package/Chart/Chart.d.ts +62 -0
  90. package/Chart/Chart.mjs +210 -0
  91. package/Chart/index.d.ts +1 -0
  92. package/Chart/index.mjs +9 -0
  93. package/Chart/package.json +7 -0
  94. package/Checkbox/Checkbox.d.ts +4 -0
  95. package/Checkbox/Checkbox.mjs +27 -0
  96. package/Checkbox/index.d.ts +1 -0
  97. package/Checkbox/index.mjs +4 -0
  98. package/Checkbox/package.json +7 -0
  99. package/Collapsible/Collapsible.d.ts +5 -0
  100. package/Collapsible/Collapsible.mjs +7 -0
  101. package/Collapsible/index.d.ts +1 -0
  102. package/Collapsible/index.mjs +6 -0
  103. package/Collapsible/package.json +7 -0
  104. package/Combobox/Combobox.d.ts +4 -0
  105. package/Combobox/Combobox.mjs +126 -0
  106. package/Combobox/Combobox.types.d.ts +15 -0
  107. package/Combobox/index.d.ts +2 -0
  108. package/Combobox/index.mjs +4 -0
  109. package/Combobox/package.json +7 -0
  110. package/Command/Command.d.ts +80 -0
  111. package/Command/Command.mjs +109 -0
  112. package/Command/index.d.ts +1 -0
  113. package/Command/index.mjs +12 -0
  114. package/Command/package.json +7 -0
  115. package/DataTable/DataTable.d.ts +4 -0
  116. package/DataTable/DataTable.mjs +64 -0
  117. package/DataTable/DataTable.types.d.ts +11 -0
  118. package/DataTable/index.d.ts +2 -0
  119. package/DataTable/index.mjs +4 -0
  120. package/DataTable/package.json +7 -0
  121. package/DataTable/useDataTable.d.ts +3 -0
  122. package/DataTable/useDataTable.mjs +30 -0
  123. package/DatePicker/DatePicker.d.ts +3 -0
  124. package/DatePicker/DatePicker.mjs +699 -0
  125. package/DatePicker/DatePicker.types.d.ts +5 -0
  126. package/DatePicker/index.d.ts +3 -0
  127. package/DatePicker/index.mjs +5 -0
  128. package/DatePicker/package.json +7 -0
  129. package/Dialog/Dialog.d.ts +19 -0
  130. package/Dialog/Dialog.mjs +100 -0
  131. package/Dialog/index.d.ts +1 -0
  132. package/Dialog/index.mjs +13 -0
  133. package/Dialog/package.json +7 -0
  134. package/Drawer/Drawer.d.ts +22 -0
  135. package/Drawer/Drawer.mjs +98 -0
  136. package/Drawer/index.d.ts +1 -0
  137. package/Drawer/index.mjs +13 -0
  138. package/Drawer/package.json +7 -0
  139. package/DropdownMenu/DropdownMenu.d.ts +27 -0
  140. package/DropdownMenu/DropdownMenu.mjs +144 -0
  141. package/DropdownMenu/index.d.ts +1 -0
  142. package/DropdownMenu/index.mjs +18 -0
  143. package/DropdownMenu/package.json +7 -0
  144. package/Dropzone/Dropzone.d.ts +16 -0
  145. package/Dropzone/Dropzone.mjs +2923 -0
  146. package/Dropzone/Dropzone.types.d.ts +21 -0
  147. package/Dropzone/FilePreview.d.ts +15 -0
  148. package/Dropzone/FilePreview.mjs +7 -0
  149. package/Dropzone/index.d.ts +2 -0
  150. package/Dropzone/index.mjs +7 -0
  151. package/Dropzone/package.json +7 -0
  152. package/FilePreview-C6IeuOqo.js +40 -0
  153. package/Form/Form.d.ts +23 -0
  154. package/Form/Form.mjs +95 -0
  155. package/Form/FormRenderControl.d.ts +5 -0
  156. package/Form/FormRenderControl.mjs +21 -0
  157. package/Form/FormRenderControl.types.d.ts +18 -0
  158. package/Form/index.d.ts +3 -0
  159. package/Form/index.mjs +13 -0
  160. package/Form/package.json +7 -0
  161. package/FormCheckbox/FormCheckbox.d.ts +5 -0
  162. package/FormCheckbox/FormCheckbox.mjs +30 -0
  163. package/FormCheckbox/FormCheckbox.types.d.ts +7 -0
  164. package/FormCheckbox/index.d.ts +2 -0
  165. package/FormCheckbox/index.mjs +4 -0
  166. package/FormCheckbox/package.json +7 -0
  167. package/FormCombobox/FormCombobox.d.ts +4 -0
  168. package/FormCombobox/FormCombobox.mjs +26 -0
  169. package/FormCombobox/FormCombobox.types.d.ts +7 -0
  170. package/FormCombobox/index.d.ts +2 -0
  171. package/FormCombobox/index.mjs +4 -0
  172. package/FormCombobox/package.json +7 -0
  173. package/FormDatePicker/FormDatePicker.d.ts +4 -0
  174. package/FormDatePicker/FormDatePicker.mjs +27 -0
  175. package/FormDatePicker/FormDatePicker.types.d.ts +7 -0
  176. package/FormDatePicker/index.d.ts +3 -0
  177. package/FormDatePicker/index.mjs +5 -0
  178. package/FormDatePicker/package.json +7 -0
  179. package/FormInput/FormInput.d.ts +5 -0
  180. package/FormInput/FormInput.mjs +26 -0
  181. package/FormInput/FormInput.types.d.ts +7 -0
  182. package/FormInput/index.d.ts +2 -0
  183. package/FormInput/index.mjs +4 -0
  184. package/FormInput/package.json +7 -0
  185. package/FormSelect/FormSelect.d.ts +5 -0
  186. package/FormSelect/FormSelect.mjs +38 -0
  187. package/FormSelect/FormSelect.types.d.ts +7 -0
  188. package/FormSelect/index.d.ts +2 -0
  189. package/FormSelect/index.mjs +4 -0
  190. package/FormSelect/package.json +7 -0
  191. package/FormTextarea/FormTextarea.d.ts +5 -0
  192. package/FormTextarea/FormTextarea.mjs +26 -0
  193. package/FormTextarea/FormTextarea.types.d.ts +7 -0
  194. package/FormTextarea/index.d.ts +2 -0
  195. package/FormTextarea/index.mjs +4 -0
  196. package/FormTextarea/package.json +7 -0
  197. package/Header/Header.d.ts +4 -0
  198. package/Header/Header.mjs +26 -0
  199. package/Header/Header.types.d.ts +3 -0
  200. package/Header/index.d.ts +2 -0
  201. package/Header/index.mjs +5 -0
  202. package/Header/package.json +7 -0
  203. package/HoverCard/HoverCard.d.ts +6 -0
  204. package/HoverCard/HoverCard.mjs +23 -0
  205. package/HoverCard/index.d.ts +1 -0
  206. package/HoverCard/index.mjs +6 -0
  207. package/HoverCard/package.json +7 -0
  208. package/Input/Input.d.ts +6 -0
  209. package/Input/Input.mjs +61 -0
  210. package/Input/Input.types.d.ts +13 -0
  211. package/Input/index.d.ts +3 -0
  212. package/Input/index.mjs +7 -0
  213. package/Input/inputVariants.d.ts +3 -0
  214. package/Input/inputVariants.mjs +18 -0
  215. package/Input/package.json +7 -0
  216. package/InputOTP/InputOTP.d.ts +34 -0
  217. package/InputOTP/InputOTP.mjs +48 -0
  218. package/InputOTP/index.d.ts +1 -0
  219. package/InputOTP/index.mjs +7 -0
  220. package/InputOTP/package.json +7 -0
  221. package/Label/Label.d.ts +5 -0
  222. package/Label/Label.mjs +17 -0
  223. package/Label/index.d.ts +2 -0
  224. package/Label/index.mjs +6 -0
  225. package/Label/labelVariants.d.ts +1 -0
  226. package/Label/labelVariants.mjs +7 -0
  227. package/Label/package.json +7 -0
  228. package/LazyLoader/LazyLoader.d.ts +20 -0
  229. package/LazyLoader/LazyLoader.mjs +7 -0
  230. package/LazyLoader/index.d.ts +1 -0
  231. package/LazyLoader/index.mjs +5 -0
  232. package/LazyLoader/package.json +7 -0
  233. package/LoadingMask/LoadingMask.d.ts +1 -0
  234. package/LoadingMask/LoadingMask.mjs +59 -0
  235. package/LoadingMask/index.d.ts +1 -0
  236. package/LoadingMask/index.mjs +4 -0
  237. package/LoadingMask/package.json +7 -0
  238. package/LoadingProgress/LoadingProgress.d.ts +4 -0
  239. package/LoadingProgress/LoadingProgress.mjs +37 -0
  240. package/LoadingProgress/LoadingProgress.types.d.ts +8 -0
  241. package/LoadingProgress/index.d.ts +3 -0
  242. package/LoadingProgress/index.mjs +6 -0
  243. package/LoadingProgress/loadingProgressVariants.d.ts +4 -0
  244. package/LoadingProgress/loadingProgressVariants.mjs +24 -0
  245. package/LoadingProgress/package.json +7 -0
  246. package/Menubar/Menubar.d.ts +28 -0
  247. package/Menubar/Menubar.mjs +175 -0
  248. package/Menubar/index.d.ts +1 -0
  249. package/Menubar/index.mjs +19 -0
  250. package/Menubar/package.json +7 -0
  251. package/NavigationMenu/NavigationMenu.d.ts +11 -0
  252. package/NavigationMenu/NavigationMenu.mjs +101 -0
  253. package/NavigationMenu/index.d.ts +2 -0
  254. package/NavigationMenu/index.mjs +13 -0
  255. package/NavigationMenu/navigationMenuVariants.d.ts +1 -0
  256. package/NavigationMenu/navigationMenuVariants.mjs +7 -0
  257. package/NavigationMenu/package.json +7 -0
  258. package/Pagination/Pagination.d.ts +28 -0
  259. package/Pagination/Pagination.mjs +106 -0
  260. package/Pagination/index.d.ts +1 -0
  261. package/Pagination/index.mjs +10 -0
  262. package/Pagination/package.json +7 -0
  263. package/Popover/Popover.d.ts +7 -0
  264. package/Popover/Popover.mjs +24 -0
  265. package/Popover/index.d.ts +1 -0
  266. package/Popover/index.mjs +7 -0
  267. package/Popover/package.json +7 -0
  268. package/Progress/Progress.d.ts +4 -0
  269. package/Progress/Progress.mjs +26 -0
  270. package/Progress/index.d.ts +1 -0
  271. package/Progress/index.mjs +4 -0
  272. package/Progress/package.json +7 -0
  273. package/README.md +33 -0
  274. package/RadioGroup/RadioGroup.d.ts +5 -0
  275. package/RadioGroup/RadioGroup.mjs +31 -0
  276. package/RadioGroup/index.d.ts +1 -0
  277. package/RadioGroup/index.mjs +5 -0
  278. package/RadioGroup/package.json +7 -0
  279. package/Resizable/Resizable.d.ts +23 -0
  280. package/Resizable/Resizable.mjs +36 -0
  281. package/Resizable/index.d.ts +1 -0
  282. package/Resizable/index.mjs +6 -0
  283. package/Resizable/package.json +7 -0
  284. package/ScrollArea/ScrollArea.d.ts +5 -0
  285. package/ScrollArea/ScrollArea.mjs +38 -0
  286. package/ScrollArea/index.d.ts +1 -0
  287. package/ScrollArea/index.mjs +5 -0
  288. package/ScrollArea/package.json +7 -0
  289. package/Search/Search.d.ts +4 -0
  290. package/Search/Search.mjs +30 -0
  291. package/Search/Search.types.d.ts +6 -0
  292. package/Search/index.d.ts +3 -0
  293. package/Search/index.mjs +5 -0
  294. package/Search/package.json +7 -0
  295. package/Select/Select.d.ts +3 -0
  296. package/Select/Select.mjs +72 -0
  297. package/Select/Select.types.d.ts +29 -0
  298. package/Select/SelectRoot.d.ts +13 -0
  299. package/Select/SelectRoot.mjs +121 -0
  300. package/Select/index.d.ts +3 -0
  301. package/Select/index.mjs +15 -0
  302. package/Select/package.json +7 -0
  303. package/Separator/Separator.d.ts +4 -0
  304. package/Separator/Separator.mjs +24 -0
  305. package/Separator/index.d.ts +1 -0
  306. package/Separator/index.mjs +4 -0
  307. package/Separator/package.json +7 -0
  308. package/Sheet/Sheet.d.ts +25 -0
  309. package/Sheet/Sheet.mjs +110 -0
  310. package/Sheet/index.d.ts +1 -0
  311. package/Sheet/index.mjs +13 -0
  312. package/Sheet/package.json +7 -0
  313. package/Sidebar/Sidebar.d.ts +66 -0
  314. package/Sidebar/Sidebar.mjs +543 -0
  315. package/Sidebar/index.d.ts +1 -0
  316. package/Sidebar/index.mjs +27 -0
  317. package/Sidebar/package.json +7 -0
  318. package/Skeleton/Skeleton.d.ts +4 -0
  319. package/Skeleton/Skeleton.mjs +17 -0
  320. package/Skeleton/index.d.ts +1 -0
  321. package/Skeleton/index.mjs +4 -0
  322. package/Skeleton/package.json +7 -0
  323. package/Slider/Slider.d.ts +4 -0
  324. package/Slider/Slider.mjs +23 -0
  325. package/Slider/index.d.ts +1 -0
  326. package/Slider/index.mjs +4 -0
  327. package/Slider/package.json +7 -0
  328. package/Sonner/Sonner.d.ts +5 -0
  329. package/Sonner/Sonner.mjs +25 -0
  330. package/Sonner/index.d.ts +1 -0
  331. package/Sonner/index.mjs +4 -0
  332. package/Sonner/package.json +7 -0
  333. package/Switch/Switch.d.ts +4 -0
  334. package/Switch/Switch.mjs +27 -0
  335. package/Switch/index.d.ts +1 -0
  336. package/Switch/index.mjs +4 -0
  337. package/Switch/package.json +7 -0
  338. package/Table/Table.d.ts +10 -0
  339. package/Table/Table.mjs +90 -0
  340. package/Table/index.d.ts +1 -0
  341. package/Table/index.mjs +11 -0
  342. package/Table/package.json +7 -0
  343. package/Tabs/Tabs.d.ts +4 -0
  344. package/Tabs/Tabs.mjs +9 -0
  345. package/Tabs/Tabs.types.d.ts +9 -0
  346. package/Tabs/TabsRoot.d.ts +7 -0
  347. package/Tabs/TabsRoot.mjs +46 -0
  348. package/Tabs/index.d.ts +2 -0
  349. package/Tabs/index.mjs +9 -0
  350. package/Tabs/package.json +7 -0
  351. package/Textarea/Textarea.d.ts +4 -0
  352. package/Textarea/Textarea.mjs +18 -0
  353. package/Textarea/Textarea.types.d.ts +4 -0
  354. package/Textarea/index.d.ts +2 -0
  355. package/Textarea/index.mjs +4 -0
  356. package/Textarea/package.json +7 -0
  357. package/Theme/ThemeModeToggle.d.ts +8 -0
  358. package/Theme/ThemeModeToggle.mjs +48 -0
  359. package/Theme/ThemeProvider.d.ts +4 -0
  360. package/Theme/ThemeProvider.mjs +27 -0
  361. package/Theme/index.d.ts +2 -0
  362. package/Theme/index.mjs +6 -0
  363. package/Theme/package.json +7 -0
  364. package/Toast/Toast.d.ts +13 -0
  365. package/Toast/Toast.mjs +80 -0
  366. package/Toast/Toast.types.d.ts +34 -0
  367. package/Toast/index.d.ts +3 -0
  368. package/Toast/index.mjs +15 -0
  369. package/Toast/package.json +7 -0
  370. package/Toast/toast.constants.d.ts +6 -0
  371. package/Toast/toast.constants.mjs +9 -0
  372. package/Toast/toastVariants.d.ts +3 -0
  373. package/Toast/toastVariants.mjs +21 -0
  374. package/Toast/useToast.d.ts +16 -0
  375. package/Toast/useToast.mjs +101 -0
  376. package/Toaster/Toaster.d.ts +1 -0
  377. package/Toaster/Toaster.mjs +22 -0
  378. package/Toaster/index.d.ts +1 -0
  379. package/Toaster/index.mjs +4 -0
  380. package/Toaster/package.json +7 -0
  381. package/Toggle/Toggle.d.ts +12 -0
  382. package/Toggle/Toggle.mjs +37 -0
  383. package/Toggle/index.d.ts +1 -0
  384. package/Toggle/index.mjs +5 -0
  385. package/Toggle/package.json +7 -0
  386. package/ToggleGroup/ToggleGroup.d.ts +12 -0
  387. package/ToggleGroup/ToggleGroup.mjs +41 -0
  388. package/ToggleGroup/index.d.ts +1 -0
  389. package/ToggleGroup/index.mjs +5 -0
  390. package/ToggleGroup/package.json +7 -0
  391. package/Tooltip/Tooltip.d.ts +4 -0
  392. package/Tooltip/Tooltip.mjs +12 -0
  393. package/Tooltip/Tooltip.types.d.ts +8 -0
  394. package/Tooltip/TooltipRoot.d.ts +7 -0
  395. package/Tooltip/TooltipRoot.mjs +23 -0
  396. package/Tooltip/index.d.ts +3 -0
  397. package/Tooltip/index.mjs +9 -0
  398. package/Tooltip/package.json +7 -0
  399. package/index.css +1 -0
  400. package/index.d.ts +66 -0
  401. package/index.mjs +358 -0
  402. package/package.json +103 -0
  403. package/tailwind.config.mjs +148 -0
@@ -0,0 +1,18 @@
1
+ import { SidebarHeader, SidebarContent, SidebarFooter, Sidebar } from '../Sidebar';
2
+ import * as React from "react";
3
+ export interface AsideProps {
4
+ header?: React.ReactNode;
5
+ sidebar?: React.ReactElement<typeof Sidebar>;
6
+ }
7
+ export interface AsideSidebarProps extends Partial<Omit<React.ComponentPropsWithRef<typeof Sidebar>, 'slot' | 'content'>> {
8
+ header?: React.ReactNode | React.ReactElement<typeof SidebarHeader>;
9
+ content?: React.ReactNode | React.ReactElement<typeof SidebarContent>;
10
+ footer?: React.ReactNode | React.ReactElement<typeof SidebarFooter>;
11
+ slot?: {
12
+ sidebar?: React.ComponentProps<typeof Sidebar>["slot"];
13
+ header?: React.ComponentPropsWithoutRef<typeof SidebarHeader>;
14
+ content?: React.ComponentPropsWithoutRef<typeof SidebarContent>;
15
+ footer?: React.ComponentPropsWithoutRef<typeof SidebarFooter>;
16
+ };
17
+ hiddenRail?: boolean;
18
+ }
@@ -0,0 +1,3 @@
1
+ import { AsideSidebarProps } from './Aside.types';
2
+ import * as React from "react";
3
+ export declare const AsideSidebar: React.FC<React.PropsWithChildren<AsideSidebarProps>>;
@@ -0,0 +1,37 @@
1
+ import { jsxs as l, Fragment as S, jsx as a } from "react/jsx-runtime";
2
+ import * as c from "react";
3
+ import { Sidebar as s, SidebarHeader as p, SidebarContent as m, SidebarFooter as h, SidebarRail as E } from "../Sidebar/Sidebar.mjs";
4
+ function t(d, r) {
5
+ return c.isValidElement(d) && d.type === r;
6
+ }
7
+ const R = (d) => {
8
+ const {
9
+ children: r,
10
+ header: n,
11
+ content: i,
12
+ footer: o,
13
+ slot: e,
14
+ hiddenRail: b,
15
+ ...f
16
+ } = d;
17
+ return /* @__PURE__ */ l(s, { collapsible: "icon", ...f, children: [
18
+ r || /* @__PURE__ */ l(S, { children: [
19
+ !r && n && t(n, p) ? c.cloneElement(n, {
20
+ ...n.props,
21
+ ...(e == null ? void 0 : e.header) || {}
22
+ }) : /* @__PURE__ */ a(p, { ...(e == null ? void 0 : e.header) || {}, children: /* @__PURE__ */ a("div", { className: "grid gap-2 text-center", children: n }) }),
23
+ !r && i && t(i, m) ? c.cloneElement(i, {
24
+ ...i.props,
25
+ ...(e == null ? void 0 : e.content) || {}
26
+ }) : /* @__PURE__ */ a(m, { ...(e == null ? void 0 : e.content) || {}, children: i }),
27
+ !r && o && t(o, h) ? c.cloneElement(o, {
28
+ ...o.props,
29
+ ...(e == null ? void 0 : e.footer) || {}
30
+ }) : /* @__PURE__ */ a(h, { ...(e == null ? void 0 : e.footer) || {}, children: o })
31
+ ] }),
32
+ !b && /* @__PURE__ */ a(E, {})
33
+ ] });
34
+ };
35
+ export {
36
+ R as AsideSidebar
37
+ };
@@ -0,0 +1,3 @@
1
+ export { Aside, default } from './Aside';
2
+ export { AsideSidebar } from './AsideSidebar';
3
+ export type * from './Aside.types';
@@ -0,0 +1,7 @@
1
+ import { Aside as r, Aside as i } from "./Aside.mjs";
2
+ import { AsideSidebar as s } from "./AsideSidebar.mjs";
3
+ export {
4
+ r as Aside,
5
+ s as AsideSidebar,
6
+ i as default
7
+ };
@@ -0,0 +1,7 @@
1
+ {
2
+ "sideEffects": false,
3
+ "main": "./index.mjs",
4
+ "module": "./index.mjs",
5
+ "default": "./index.mjs",
6
+ "types": "./index.d.ts"
7
+ }
@@ -0,0 +1,2 @@
1
+ import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio";
2
+ export declare const AspectRatio: import('react').ForwardRefExoticComponent<AspectRatioPrimitive.AspectRatioProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,5 @@
1
+ import * as t from "@radix-ui/react-aspect-ratio";
2
+ const o = t.Root;
3
+ export {
4
+ o as AspectRatio
5
+ };
@@ -0,0 +1 @@
1
+ export { AspectRatio as default, AspectRatio } from './AspectRatio';
@@ -0,0 +1,5 @@
1
+ import { AspectRatio as e, AspectRatio as o } from "./AspectRatio.mjs";
2
+ export {
3
+ e as AspectRatio,
4
+ o as default
5
+ };
@@ -0,0 +1,7 @@
1
+ {
2
+ "sideEffects": false,
3
+ "main": "./index.mjs",
4
+ "module": "./index.mjs",
5
+ "default": "./index.mjs",
6
+ "types": "./index.d.ts"
7
+ }
@@ -0,0 +1,5 @@
1
+ import * as React from "react";
2
+ import * as AvatarPrimitive from "@radix-ui/react-avatar";
3
+ export declare const Avatar: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
4
+ export declare const AvatarImage: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
5
+ export declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
@@ -0,0 +1,42 @@
1
+ import { jsx as m } from "react/jsx-runtime";
2
+ import * as o from "react";
3
+ import * as a from "@radix-ui/react-avatar";
4
+ import { cn as s } from "@oneplatformdev/utils";
5
+ const t = o.forwardRef(({ className: e, ...l }, r) => /* @__PURE__ */ m(
6
+ a.Root,
7
+ {
8
+ ref: r,
9
+ className: s(
10
+ "relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",
11
+ e
12
+ ),
13
+ ...l
14
+ }
15
+ ));
16
+ t.displayName = a.Root.displayName;
17
+ const f = o.forwardRef(({ className: e, ...l }, r) => /* @__PURE__ */ m(
18
+ a.Image,
19
+ {
20
+ ref: r,
21
+ className: s("aspect-square h-full w-full", e),
22
+ ...l
23
+ }
24
+ ));
25
+ f.displayName = a.Image.displayName;
26
+ const i = o.forwardRef(({ className: e, ...l }, r) => /* @__PURE__ */ m(
27
+ a.Fallback,
28
+ {
29
+ ref: r,
30
+ className: s(
31
+ "flex h-full w-full items-center justify-center rounded-full bg-muted",
32
+ e
33
+ ),
34
+ ...l
35
+ }
36
+ ));
37
+ i.displayName = a.Fallback.displayName;
38
+ export {
39
+ t as Avatar,
40
+ i as AvatarFallback,
41
+ f as AvatarImage
42
+ };
@@ -0,0 +1 @@
1
+ export * from './Avatar';
@@ -0,0 +1,6 @@
1
+ import { Avatar as t, AvatarFallback as v, AvatarImage as A } from "./Avatar.mjs";
2
+ export {
3
+ t as Avatar,
4
+ v as AvatarFallback,
5
+ A as AvatarImage
6
+ };
@@ -0,0 +1,7 @@
1
+ {
2
+ "sideEffects": false,
3
+ "main": "./index.mjs",
4
+ "module": "./index.mjs",
5
+ "default": "./index.mjs",
6
+ "types": "./index.d.ts"
7
+ }
@@ -0,0 +1,5 @@
1
+ import { BadgeProps } from './/Badge.types';
2
+ import { badgeVariants } from './badgeVariants';
3
+
4
+ declare function Badge({ className, variant, ...props }: BadgeProps): import("react/jsx-runtime").JSX.Element;
5
+ export { Badge, badgeVariants };
@@ -0,0 +1,10 @@
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import { cn as a } from "@oneplatformdev/utils";
3
+ import { badgeVariants as i } from "./badgeVariants.mjs";
4
+ function p({ className: r, variant: o, ...m }) {
5
+ return /* @__PURE__ */ t("div", { className: a(i({ variant: o }), r), ...m });
6
+ }
7
+ export {
8
+ p as Badge,
9
+ i as badgeVariants
10
+ };
@@ -0,0 +1,5 @@
1
+ import { badgeVariants } from './badgeVariants';
2
+ import { VariantProps } from 'class-variance-authority';
3
+ import * as React from "react";
4
+ export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
5
+ }
@@ -0,0 +1,3 @@
1
+ export declare const badgeVariants: (props?: ({
2
+ variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
3
+ } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
@@ -0,0 +1,20 @@
1
+ import { cva as r } from "class-variance-authority";
2
+ const t = r(
3
+ "inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
4
+ {
5
+ variants: {
6
+ variant: {
7
+ default: "border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",
8
+ secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
9
+ destructive: "border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",
10
+ outline: "text-foreground"
11
+ }
12
+ },
13
+ defaultVariants: {
14
+ variant: "default"
15
+ }
16
+ }
17
+ );
18
+ export {
19
+ t as badgeVariants
20
+ };
@@ -0,0 +1,3 @@
1
+ export * from './Badge';
2
+ export * from './badgeVariants';
3
+ export type * from './Badge.types';
@@ -0,0 +1,6 @@
1
+ import { Badge as e } from "./Badge.mjs";
2
+ import { badgeVariants as t } from "./badgeVariants.mjs";
3
+ export {
4
+ e as Badge,
5
+ t as badgeVariants
6
+ };
@@ -0,0 +1,7 @@
1
+ {
2
+ "sideEffects": false,
3
+ "main": "./index.mjs",
4
+ "module": "./index.mjs",
5
+ "default": "./index.mjs",
6
+ "types": "./index.d.ts"
7
+ }
@@ -0,0 +1,19 @@
1
+ import * as React from "react";
2
+ declare const Breadcrumb: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
3
+ separator?: React.ReactNode;
4
+ } & React.RefAttributes<HTMLElement>>;
5
+ declare const BreadcrumbList: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
6
+ declare const BreadcrumbItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
7
+ declare const BreadcrumbLink: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
8
+ asChild?: boolean;
9
+ } & React.RefAttributes<HTMLAnchorElement>>;
10
+ declare const BreadcrumbPage: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
11
+ declare const BreadcrumbSeparator: {
12
+ ({ children, className, ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
13
+ displayName: string;
14
+ };
15
+ declare const BreadcrumbEllipsis: {
16
+ ({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
17
+ displayName: string;
18
+ };
19
+ export { Breadcrumb, BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, BreadcrumbEllipsis, };
@@ -0,0 +1,90 @@
1
+ import { jsx as s, jsxs as i } from "react/jsx-runtime";
2
+ import * as t from "react";
3
+ import { Slot as n } from "@radix-ui/react-slot";
4
+ import { ChevronRight as c, MoreHorizontal as d } from "lucide-react";
5
+ import { cn as o } from "@oneplatformdev/utils";
6
+ const l = t.forwardRef(({ ...r }, e) => /* @__PURE__ */ s("nav", { ref: e, "aria-label": "breadcrumb", ...r }));
7
+ l.displayName = "Breadcrumb";
8
+ const p = t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ s(
9
+ "ol",
10
+ {
11
+ ref: a,
12
+ className: o(
13
+ "flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",
14
+ r
15
+ ),
16
+ ...e
17
+ }
18
+ ));
19
+ p.displayName = "BreadcrumbList";
20
+ const u = t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ s(
21
+ "li",
22
+ {
23
+ ref: a,
24
+ className: o("inline-flex items-center gap-1.5", r),
25
+ ...e
26
+ }
27
+ ));
28
+ u.displayName = "BreadcrumbItem";
29
+ const f = t.forwardRef(({ asChild: r, className: e, ...a }, m) => /* @__PURE__ */ s(
30
+ r ? n : "a",
31
+ {
32
+ ref: m,
33
+ className: o("transition-colors hover:text-foreground", e),
34
+ ...a
35
+ }
36
+ ));
37
+ f.displayName = "BreadcrumbLink";
38
+ const b = t.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ s(
39
+ "span",
40
+ {
41
+ ref: a,
42
+ role: "link",
43
+ "aria-disabled": "true",
44
+ "aria-current": "page",
45
+ className: o("font-normal text-foreground", r),
46
+ ...e
47
+ }
48
+ ));
49
+ b.displayName = "BreadcrumbPage";
50
+ const N = ({
51
+ children: r,
52
+ className: e,
53
+ ...a
54
+ }) => /* @__PURE__ */ s(
55
+ "li",
56
+ {
57
+ role: "presentation",
58
+ "aria-hidden": "true",
59
+ className: o("[&>svg]:w-3.5 [&>svg]:h-3.5", e),
60
+ ...a,
61
+ children: r ?? /* @__PURE__ */ s(c, {})
62
+ }
63
+ );
64
+ N.displayName = "BreadcrumbSeparator";
65
+ const B = ({
66
+ className: r,
67
+ ...e
68
+ }) => /* @__PURE__ */ i(
69
+ "span",
70
+ {
71
+ role: "presentation",
72
+ "aria-hidden": "true",
73
+ className: o("flex h-9 w-9 items-center justify-center", r),
74
+ ...e,
75
+ children: [
76
+ /* @__PURE__ */ s(d, { className: "h-4 w-4" }),
77
+ /* @__PURE__ */ s("span", { className: "sr-only", children: "More" })
78
+ ]
79
+ }
80
+ );
81
+ B.displayName = "BreadcrumbElipssis";
82
+ export {
83
+ l as Breadcrumb,
84
+ B as BreadcrumbEllipsis,
85
+ u as BreadcrumbItem,
86
+ f as BreadcrumbLink,
87
+ p as BreadcrumbList,
88
+ b as BreadcrumbPage,
89
+ N as BreadcrumbSeparator
90
+ };
@@ -0,0 +1 @@
1
+ export * from './Breadcrumb';
@@ -0,0 +1,10 @@
1
+ import { Breadcrumb as a, BreadcrumbEllipsis as m, BreadcrumbItem as b, BreadcrumbLink as c, BreadcrumbList as d, BreadcrumbPage as u, BreadcrumbSeparator as B } from "./Breadcrumb.mjs";
2
+ export {
3
+ a as Breadcrumb,
4
+ m as BreadcrumbEllipsis,
5
+ b as BreadcrumbItem,
6
+ c as BreadcrumbLink,
7
+ d as BreadcrumbList,
8
+ u as BreadcrumbPage,
9
+ B as BreadcrumbSeparator
10
+ };
@@ -0,0 +1,7 @@
1
+ {
2
+ "sideEffects": false,
3
+ "main": "./index.mjs",
4
+ "module": "./index.mjs",
5
+ "default": "./index.mjs",
6
+ "types": "./index.d.ts"
7
+ }
@@ -0,0 +1,4 @@
1
+ import { ButtonProps } from './Button.types';
2
+ import * as React from "react";
3
+ export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
4
+ export default Button;
@@ -0,0 +1,31 @@
1
+ import { jsx as m } from "react/jsx-runtime";
2
+ import * as i from "react";
3
+ import { Slot as u } from "@radix-ui/react-slot";
4
+ import { cn as c } from "@oneplatformdev/utils";
5
+ import { buttonVariants as l } from "./buttonVariants.mjs";
6
+ import "../Tooltip/TooltipRoot.mjs";
7
+ import { Tooltip as d } from "../Tooltip/Tooltip.mjs";
8
+ const x = i.forwardRef(
9
+ ({ disabled: o, className: a, variant: e, size: n, asChild: f = !1, title: r = "", tooltip: t, ...p }, s) => /* @__PURE__ */ m(
10
+ d,
11
+ {
12
+ open: o || !r && !t ? !1 : void 0,
13
+ message: t || r,
14
+ delay: 300,
15
+ children: /* @__PURE__ */ m(
16
+ f ? u : "button",
17
+ {
18
+ className: c(l({ variant: e, size: n, className: a })),
19
+ ref: s,
20
+ disabled: o,
21
+ ...p
22
+ }
23
+ )
24
+ }
25
+ )
26
+ );
27
+ x.displayName = "Button";
28
+ export {
29
+ x as Button,
30
+ x as default
31
+ };
@@ -0,0 +1,8 @@
1
+ import { ReactNode } from 'react';
2
+ import { buttonVariants } from './buttonVariants';
3
+ import { VariantProps } from 'class-variance-authority';
4
+ import * as React from "react";
5
+ export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
6
+ asChild?: boolean;
7
+ tooltip?: ReactNode;
8
+ }
@@ -0,0 +1,4 @@
1
+ export declare const buttonVariants: (props?: ({
2
+ variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
3
+ size?: "default" | "sm" | "lg" | "icon" | null | undefined;
4
+ } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
@@ -0,0 +1,29 @@
1
+ import { cva as e } from "class-variance-authority";
2
+ const t = e(
3
+ "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
4
+ {
5
+ variants: {
6
+ variant: {
7
+ default: "bg-primary text-primary-foreground shadow hover:bg-primary/90",
8
+ destructive: "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",
9
+ outline: "border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",
10
+ secondary: "bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",
11
+ ghost: "hover:bg-accent hover:text-accent-foreground",
12
+ link: "text-primary underline-offset-4 hover:underline"
13
+ },
14
+ size: {
15
+ default: "h-9 px-4 py-2",
16
+ sm: "h-8 rounded-md px-3 text-xs",
17
+ lg: "h-10 rounded-md px-8",
18
+ icon: "h-9 w-9"
19
+ }
20
+ },
21
+ defaultVariants: {
22
+ variant: "default",
23
+ size: "default"
24
+ }
25
+ }
26
+ );
27
+ export {
28
+ t as buttonVariants
29
+ };
@@ -0,0 +1,3 @@
1
+ export { Button as default, Button } from './Button';
2
+ export * from './buttonVariants';
3
+ export type * from './Button.types';
@@ -0,0 +1,7 @@
1
+ import { Button as r, Button as a } from "./Button.mjs";
2
+ import { buttonVariants as u } from "./buttonVariants.mjs";
3
+ export {
4
+ r as Button,
5
+ u as buttonVariants,
6
+ a as default
7
+ };
@@ -0,0 +1,7 @@
1
+ {
2
+ "sideEffects": false,
3
+ "main": "./index.mjs",
4
+ "module": "./index.mjs",
5
+ "default": "./index.mjs",
6
+ "types": "./index.d.ts"
7
+ }
@@ -0,0 +1,3 @@
1
+ import { ButtonIconProps } from './ButtonIcon.types';
2
+ import * as React from "react";
3
+ export declare const ButtonIcon: React.ForwardRefExoticComponent<ButtonIconProps & React.RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1,29 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import * as c from "react";
3
+ import { cn as l } from "@oneplatformdev/utils";
4
+ import { buttonIconVariants as u } from "./buttonIconVariants.mjs";
5
+ import "../Tooltip/TooltipRoot.mjs";
6
+ import { Tooltip as d } from "../Tooltip/Tooltip.mjs";
7
+ const h = c.forwardRef(
8
+ ({ disabled: o, className: e, variant: m, color: p, size: a, rounded: s, title: t = "", tooltip: n, ...i }, f) => /* @__PURE__ */ r(
9
+ d,
10
+ {
11
+ open: o || !t && !n ? !1 : void 0,
12
+ message: n || t,
13
+ delay: 300,
14
+ children: /* @__PURE__ */ r(
15
+ "button",
16
+ {
17
+ className: l(u({ variant: m, size: a, color: p, disabled: o, rounded: s, className: e })),
18
+ ref: f,
19
+ disabled: !!o,
20
+ ...i
21
+ }
22
+ )
23
+ }
24
+ )
25
+ );
26
+ h.displayName = "Button";
27
+ export {
28
+ h as ButtonIcon
29
+ };
@@ -0,0 +1,7 @@
1
+ import { ReactNode } from 'react';
2
+ import { buttonIconVariants } from './buttonIconVariants';
3
+ import { VariantProps } from 'class-variance-authority';
4
+ import * as React from "react";
5
+ export interface ButtonIconProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'color' | 'disabled'>, VariantProps<typeof buttonIconVariants> {
6
+ tooltip?: ReactNode;
7
+ }
@@ -0,0 +1,7 @@
1
+ export declare const buttonIconVariants: (props?: ({
2
+ variant?: "link" | "ghost" | "contained" | "outlined" | null | undefined;
3
+ color?: "disabled" | "secondary" | "error" | "primary" | "success" | null | undefined;
4
+ size?: "sm" | "lg" | "icon" | "md" | null | undefined;
5
+ disabled?: boolean | null | undefined;
6
+ rounded?: boolean | null | undefined;
7
+ } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;