@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,3 @@
1
+ export * from './LoadingProgress';
2
+ export * from './loadingProgressVariants';
3
+ export type * from './LoadingProgress.types';
@@ -0,0 +1,6 @@
1
+ import { LoadingProgress as s } from "./LoadingProgress.mjs";
2
+ import { loadingProgressVariants as e } from "./loadingProgressVariants.mjs";
3
+ export {
4
+ s as LoadingProgress,
5
+ e as loadingProgressVariants
6
+ };
@@ -0,0 +1,4 @@
1
+ export declare const loadingProgressVariants: (props?: ({
2
+ color?: "default" | "primary" | null | undefined;
3
+ size?: "default" | "sm" | "lg" | null | undefined;
4
+ } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
@@ -0,0 +1,24 @@
1
+ import { cva as a } from "class-variance-authority";
2
+ const t = a(
3
+ "animate-spin",
4
+ {
5
+ variants: {
6
+ color: {
7
+ primary: "text-primary",
8
+ default: ""
9
+ },
10
+ size: {
11
+ default: "",
12
+ sm: "",
13
+ lg: "w-20 h-20"
14
+ }
15
+ },
16
+ defaultVariants: {
17
+ size: "default",
18
+ color: "default"
19
+ }
20
+ }
21
+ );
22
+ export {
23
+ t as loadingProgressVariants
24
+ };
@@ -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,28 @@
1
+ import * as React from "react";
2
+ import * as MenubarPrimitive from "@radix-ui/react-menubar";
3
+ declare const MenubarMenu: typeof MenubarPrimitive.Menu;
4
+ declare const MenubarGroup: typeof MenubarPrimitive.Group;
5
+ declare const MenubarPortal: typeof MenubarPrimitive.Portal;
6
+ declare const MenubarSub: typeof MenubarPrimitive.Sub;
7
+ declare const MenubarRadioGroup: typeof MenubarPrimitive.RadioGroup;
8
+ declare const Menubar: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
9
+ declare const MenubarTrigger: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
10
+ declare const MenubarSubTrigger: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
11
+ inset?: boolean;
12
+ } & React.RefAttributes<HTMLDivElement>>;
13
+ declare const MenubarSubContent: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
14
+ declare const MenubarContent: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
15
+ declare const MenubarItem: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
16
+ inset?: boolean;
17
+ } & React.RefAttributes<HTMLDivElement>>;
18
+ declare const MenubarCheckboxItem: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
19
+ declare const MenubarRadioItem: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
20
+ declare const MenubarLabel: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
21
+ inset?: boolean;
22
+ } & React.RefAttributes<HTMLDivElement>>;
23
+ declare const MenubarSeparator: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
24
+ declare const MenubarShortcut: {
25
+ ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
26
+ displayname: string;
27
+ };
28
+ export { Menubar, MenubarMenu, MenubarTrigger, MenubarContent, MenubarItem, MenubarSeparator, MenubarLabel, MenubarCheckboxItem, MenubarRadioGroup, MenubarRadioItem, MenubarPortal, MenubarSubContent, MenubarSubTrigger, MenubarGroup, MenubarSub, MenubarShortcut, };
@@ -0,0 +1,175 @@
1
+ import { jsx as n, jsxs as c } from "react/jsx-runtime";
2
+ import * as d from "react";
3
+ import * as e from "@radix-ui/react-menubar";
4
+ import { ChevronRight as m, Check as u, Circle as p } from "lucide-react";
5
+ import { cn as s } from "@oneplatformdev/utils";
6
+ const k = e.Menu, z = e.Group, T = e.Portal, j = e.Sub, G = e.RadioGroup, f = d.forwardRef(({ className: t, ...a }, o) => /* @__PURE__ */ n(
7
+ e.Root,
8
+ {
9
+ ref: o,
10
+ className: s(
11
+ "flex h-9 items-center space-x-1 rounded-md border bg-background p-1 shadow-sm",
12
+ t
13
+ ),
14
+ ...a
15
+ }
16
+ ));
17
+ f.displayName = e.Root.displayName;
18
+ const b = d.forwardRef(({ className: t, ...a }, o) => /* @__PURE__ */ n(
19
+ e.Trigger,
20
+ {
21
+ ref: o,
22
+ className: s(
23
+ "flex cursor-default select-none items-center rounded-sm px-3 py-1 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
24
+ t
25
+ ),
26
+ ...a
27
+ }
28
+ ));
29
+ b.displayName = e.Trigger.displayName;
30
+ const g = d.forwardRef(({ className: t, inset: a, children: o, ...r }, i) => /* @__PURE__ */ c(
31
+ e.SubTrigger,
32
+ {
33
+ ref: i,
34
+ className: s(
35
+ "flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
36
+ a && "pl-8",
37
+ t
38
+ ),
39
+ ...r,
40
+ children: [
41
+ o,
42
+ /* @__PURE__ */ n(m, { className: "ml-auto h-4 w-4" })
43
+ ]
44
+ }
45
+ ));
46
+ g.displayName = e.SubTrigger.displayName;
47
+ const x = d.forwardRef(({ className: t, ...a }, o) => /* @__PURE__ */ n(
48
+ e.SubContent,
49
+ {
50
+ ref: o,
51
+ className: s(
52
+ "z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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",
53
+ t
54
+ ),
55
+ ...a
56
+ }
57
+ ));
58
+ x.displayName = e.SubContent.displayName;
59
+ const N = d.forwardRef(
60
+ ({ className: t, align: a = "start", alignOffset: o = -4, sideOffset: r = 8, ...i }, l) => /* @__PURE__ */ n(e.Portal, { children: /* @__PURE__ */ n(
61
+ e.Content,
62
+ {
63
+ ref: l,
64
+ align: a,
65
+ alignOffset: o,
66
+ sideOffset: r,
67
+ className: s(
68
+ "z-50 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in 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",
69
+ t
70
+ ),
71
+ ...i
72
+ }
73
+ ) })
74
+ );
75
+ N.displayName = e.Content.displayName;
76
+ const y = d.forwardRef(({ className: t, inset: a, ...o }, r) => /* @__PURE__ */ n(
77
+ e.Item,
78
+ {
79
+ ref: r,
80
+ className: s(
81
+ "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
82
+ a && "pl-8",
83
+ t
84
+ ),
85
+ ...o
86
+ }
87
+ ));
88
+ y.displayName = e.Item.displayName;
89
+ const h = d.forwardRef(({ className: t, children: a, checked: o, ...r }, i) => /* @__PURE__ */ c(
90
+ e.CheckboxItem,
91
+ {
92
+ ref: i,
93
+ className: s(
94
+ "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
95
+ t
96
+ ),
97
+ checked: o,
98
+ ...r,
99
+ children: [
100
+ /* @__PURE__ */ n("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ n(e.ItemIndicator, { children: /* @__PURE__ */ n(u, { className: "h-4 w-4" }) }) }),
101
+ a
102
+ ]
103
+ }
104
+ ));
105
+ h.displayName = e.CheckboxItem.displayName;
106
+ const w = d.forwardRef(({ className: t, children: a, ...o }, r) => /* @__PURE__ */ c(
107
+ e.RadioItem,
108
+ {
109
+ ref: r,
110
+ className: s(
111
+ "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
112
+ t
113
+ ),
114
+ ...o,
115
+ children: [
116
+ /* @__PURE__ */ n("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ n(e.ItemIndicator, { children: /* @__PURE__ */ n(p, { className: "h-4 w-4 fill-current" }) }) }),
117
+ a
118
+ ]
119
+ }
120
+ ));
121
+ w.displayName = e.RadioItem.displayName;
122
+ const M = d.forwardRef(({ className: t, inset: a, ...o }, r) => /* @__PURE__ */ n(
123
+ e.Label,
124
+ {
125
+ ref: r,
126
+ className: s(
127
+ "px-2 py-1.5 text-sm font-semibold",
128
+ a && "pl-8",
129
+ t
130
+ ),
131
+ ...o
132
+ }
133
+ ));
134
+ M.displayName = e.Label.displayName;
135
+ const R = d.forwardRef(({ className: t, ...a }, o) => /* @__PURE__ */ n(
136
+ e.Separator,
137
+ {
138
+ ref: o,
139
+ className: s("-mx-1 my-1 h-px bg-muted", t),
140
+ ...a
141
+ }
142
+ ));
143
+ R.displayName = e.Separator.displayName;
144
+ const v = ({
145
+ className: t,
146
+ ...a
147
+ }) => /* @__PURE__ */ n(
148
+ "span",
149
+ {
150
+ className: s(
151
+ "ml-auto text-xs tracking-widest text-muted-foreground",
152
+ t
153
+ ),
154
+ ...a
155
+ }
156
+ );
157
+ v.displayname = "MenubarShortcut";
158
+ export {
159
+ f as Menubar,
160
+ h as MenubarCheckboxItem,
161
+ N as MenubarContent,
162
+ z as MenubarGroup,
163
+ y as MenubarItem,
164
+ M as MenubarLabel,
165
+ k as MenubarMenu,
166
+ T as MenubarPortal,
167
+ G as MenubarRadioGroup,
168
+ w as MenubarRadioItem,
169
+ R as MenubarSeparator,
170
+ v as MenubarShortcut,
171
+ j as MenubarSub,
172
+ x as MenubarSubContent,
173
+ g as MenubarSubTrigger,
174
+ b as MenubarTrigger
175
+ };
@@ -0,0 +1 @@
1
+ export * from './Menubar';
@@ -0,0 +1,19 @@
1
+ import { Menubar as u, MenubarCheckboxItem as a, MenubarContent as b, MenubarGroup as n, MenubarItem as M, MenubarLabel as o, MenubarMenu as t, MenubarPortal as S, MenubarRadioGroup as g, MenubarRadioItem as i, MenubarSeparator as m, MenubarShortcut as p, MenubarSub as C, MenubarSubContent as I, MenubarSubTrigger as c, MenubarTrigger as d } from "./Menubar.mjs";
2
+ export {
3
+ u as Menubar,
4
+ a as MenubarCheckboxItem,
5
+ b as MenubarContent,
6
+ n as MenubarGroup,
7
+ M as MenubarItem,
8
+ o as MenubarLabel,
9
+ t as MenubarMenu,
10
+ S as MenubarPortal,
11
+ g as MenubarRadioGroup,
12
+ i as MenubarRadioItem,
13
+ m as MenubarSeparator,
14
+ p as MenubarShortcut,
15
+ C as MenubarSub,
16
+ I as MenubarSubContent,
17
+ c as MenubarSubTrigger,
18
+ d as MenubarTrigger
19
+ };
@@ -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,11 @@
1
+ import * as React from "react";
2
+ import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
3
+ declare const NavigationMenu: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuProps & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
4
+ declare const NavigationMenuList: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React.RefAttributes<HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
5
+ declare const NavigationMenuItem: React.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuItemProps & React.RefAttributes<HTMLLIElement>>;
6
+ declare const NavigationMenuTrigger: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
7
+ declare const NavigationMenuContent: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
8
+ declare const NavigationMenuLink: React.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuLinkProps & React.RefAttributes<HTMLAnchorElement>>;
9
+ declare const NavigationMenuViewport: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuViewportProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
10
+ declare const NavigationMenuIndicator: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
11
+ export { NavigationMenu, NavigationMenuList, NavigationMenuItem, NavigationMenuContent, NavigationMenuTrigger, NavigationMenuLink, NavigationMenuIndicator, NavigationMenuViewport, };
@@ -0,0 +1,101 @@
1
+ import { jsxs as s, jsx as i } from "react/jsx-runtime";
2
+ import * as r from "react";
3
+ import * as t from "@radix-ui/react-navigation-menu";
4
+ import { ChevronDown as l } from "lucide-react";
5
+ import { cn as n } from "@oneplatformdev/utils";
6
+ import { navigationMenuVariants as f } from "./navigationMenuVariants.mjs";
7
+ const p = r.forwardRef(({ className: a, children: e, ...o }, d) => /* @__PURE__ */ s(
8
+ t.Root,
9
+ {
10
+ ref: d,
11
+ className: n(
12
+ "relative z-10 flex max-w-max flex-1 items-center justify-center",
13
+ a
14
+ ),
15
+ ...o,
16
+ children: [
17
+ e,
18
+ /* @__PURE__ */ i(m, {})
19
+ ]
20
+ }
21
+ ));
22
+ p.displayName = t.Root.displayName;
23
+ const u = r.forwardRef(({ className: a, ...e }, o) => /* @__PURE__ */ i(
24
+ t.List,
25
+ {
26
+ ref: o,
27
+ className: n(
28
+ "group flex flex-1 list-none items-center justify-center space-x-1",
29
+ a
30
+ ),
31
+ ...e
32
+ }
33
+ ));
34
+ u.displayName = t.List.displayName;
35
+ const y = t.Item, c = r.forwardRef(({ className: a, children: e, ...o }, d) => /* @__PURE__ */ s(
36
+ t.Trigger,
37
+ {
38
+ ref: d,
39
+ className: n(f(), "group", a),
40
+ ...o,
41
+ children: [
42
+ e,
43
+ " ",
44
+ /* @__PURE__ */ i(
45
+ l,
46
+ {
47
+ className: "relative top-[1px] ml-1 h-3 w-3 transition duration-300 group-data-[state=open]:rotate-180",
48
+ "aria-hidden": "true"
49
+ }
50
+ )
51
+ ]
52
+ }
53
+ ));
54
+ c.displayName = t.Trigger.displayName;
55
+ const v = r.forwardRef(({ className: a, ...e }, o) => /* @__PURE__ */ i(
56
+ t.Content,
57
+ {
58
+ ref: o,
59
+ className: n(
60
+ "left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ",
61
+ a
62
+ ),
63
+ ...e
64
+ }
65
+ ));
66
+ v.displayName = t.Content.displayName;
67
+ const M = t.Link, m = r.forwardRef(({ className: a, ...e }, o) => /* @__PURE__ */ i("div", { className: n("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ i(
68
+ t.Viewport,
69
+ {
70
+ className: n(
71
+ "origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",
72
+ a
73
+ ),
74
+ ref: o,
75
+ ...e
76
+ }
77
+ ) }));
78
+ m.displayName = t.Viewport.displayName;
79
+ const N = r.forwardRef(({ className: a, ...e }, o) => /* @__PURE__ */ i(
80
+ t.Indicator,
81
+ {
82
+ ref: o,
83
+ className: n(
84
+ "top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",
85
+ a
86
+ ),
87
+ ...e,
88
+ children: /* @__PURE__ */ i("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
89
+ }
90
+ ));
91
+ N.displayName = t.Indicator.displayName;
92
+ export {
93
+ p as NavigationMenu,
94
+ v as NavigationMenuContent,
95
+ N as NavigationMenuIndicator,
96
+ y as NavigationMenuItem,
97
+ M as NavigationMenuLink,
98
+ u as NavigationMenuList,
99
+ c as NavigationMenuTrigger,
100
+ m as NavigationMenuViewport
101
+ };
@@ -0,0 +1,2 @@
1
+ export * from './NavigationMenu';
2
+ export * from './navigationMenuVariants';
@@ -0,0 +1,13 @@
1
+ import { NavigationMenu as a, NavigationMenuContent as t, NavigationMenuIndicator as o, NavigationMenuItem as e, NavigationMenuLink as g, NavigationMenuList as r, NavigationMenuTrigger as u, NavigationMenuViewport as v } from "./NavigationMenu.mjs";
2
+ import { navigationMenuVariants as N } from "./navigationMenuVariants.mjs";
3
+ export {
4
+ a as NavigationMenu,
5
+ t as NavigationMenuContent,
6
+ o as NavigationMenuIndicator,
7
+ e as NavigationMenuItem,
8
+ g as NavigationMenuLink,
9
+ r as NavigationMenuList,
10
+ u as NavigationMenuTrigger,
11
+ v as NavigationMenuViewport,
12
+ N as navigationMenuVariants
13
+ };
@@ -0,0 +1 @@
1
+ export declare const navigationMenuVariants: (props?: import('class-variance-authority/dist/types').ClassProp | undefined) => string;
@@ -0,0 +1,7 @@
1
+ import { cva as e } from "class-variance-authority";
2
+ const n = e(
3
+ "group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50"
4
+ );
5
+ export {
6
+ n as navigationMenuVariants
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,28 @@
1
+ import { ButtonProps } from '../Button';
2
+ import * as React from "react";
3
+ declare const Pagination: {
4
+ ({ className, ...props }: React.ComponentProps<"nav">): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ };
7
+ declare const PaginationContent: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
8
+ declare const PaginationItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
9
+ type PaginationLinkProps = {
10
+ isActive?: boolean;
11
+ } & Pick<ButtonProps, "size"> & React.ComponentProps<"a">;
12
+ declare const PaginationLink: {
13
+ ({ className, isActive, size, ...props }: PaginationLinkProps): import("react/jsx-runtime").JSX.Element;
14
+ displayName: string;
15
+ };
16
+ declare const PaginationPrevious: {
17
+ ({ className, ...props }: React.ComponentProps<typeof PaginationLink>): import("react/jsx-runtime").JSX.Element;
18
+ displayName: string;
19
+ };
20
+ declare const PaginationNext: {
21
+ ({ className, ...props }: React.ComponentProps<typeof PaginationLink>): import("react/jsx-runtime").JSX.Element;
22
+ displayName: string;
23
+ };
24
+ declare const PaginationEllipsis: {
25
+ ({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
26
+ displayName: string;
27
+ };
28
+ export { Pagination, PaginationContent, PaginationLink, PaginationItem, PaginationPrevious, PaginationNext, PaginationEllipsis, };
@@ -0,0 +1,106 @@
1
+ import { jsx as e, jsxs as o } from "react/jsx-runtime";
2
+ import * as l from "react";
3
+ import { ChevronLeft as m, ChevronRight as c, MoreHorizontal as p } from "lucide-react";
4
+ import { cn as n } from "@oneplatformdev/utils";
5
+ import "../Button/Button.mjs";
6
+ import { buttonVariants as g } from "../Button/buttonVariants.mjs";
7
+ const d = ({ className: i, ...a }) => /* @__PURE__ */ e(
8
+ "nav",
9
+ {
10
+ role: "navigation",
11
+ "aria-label": "pagination",
12
+ className: n("mx-auto flex w-full justify-center", i),
13
+ ...a
14
+ }
15
+ );
16
+ d.displayName = "Pagination";
17
+ const N = l.forwardRef(({ className: i, ...a }, t) => /* @__PURE__ */ e(
18
+ "ul",
19
+ {
20
+ ref: t,
21
+ className: n("flex flex-row items-center gap-1", i),
22
+ ...a
23
+ }
24
+ ));
25
+ N.displayName = "PaginationContent";
26
+ const f = l.forwardRef(({ className: i, ...a }, t) => /* @__PURE__ */ e("li", { ref: t, className: n("", i), ...a }));
27
+ f.displayName = "PaginationItem";
28
+ const s = ({
29
+ className: i,
30
+ isActive: a,
31
+ size: t = "icon",
32
+ ...r
33
+ }) => /* @__PURE__ */ e(
34
+ "a",
35
+ {
36
+ "aria-current": a ? "page" : void 0,
37
+ className: n(
38
+ g({
39
+ variant: a ? "outline" : "ghost",
40
+ size: t
41
+ }),
42
+ i
43
+ ),
44
+ ...r
45
+ }
46
+ );
47
+ s.displayName = "PaginationLink";
48
+ const P = ({
49
+ className: i,
50
+ ...a
51
+ }) => /* @__PURE__ */ o(
52
+ s,
53
+ {
54
+ "aria-label": "Go to previous page",
55
+ size: "default",
56
+ className: n("gap-1 pl-2.5", i),
57
+ ...a,
58
+ children: [
59
+ /* @__PURE__ */ e(m, { className: "h-4 w-4" }),
60
+ /* @__PURE__ */ e("span", { children: "Previous" })
61
+ ]
62
+ }
63
+ );
64
+ P.displayName = "PaginationPrevious";
65
+ const u = ({
66
+ className: i,
67
+ ...a
68
+ }) => /* @__PURE__ */ o(
69
+ s,
70
+ {
71
+ "aria-label": "Go to next page",
72
+ size: "default",
73
+ className: n("gap-1 pr-2.5", i),
74
+ ...a,
75
+ children: [
76
+ /* @__PURE__ */ e("span", { children: "Next" }),
77
+ /* @__PURE__ */ e(c, { className: "h-4 w-4" })
78
+ ]
79
+ }
80
+ );
81
+ u.displayName = "PaginationNext";
82
+ const h = ({
83
+ className: i,
84
+ ...a
85
+ }) => /* @__PURE__ */ o(
86
+ "span",
87
+ {
88
+ "aria-hidden": !0,
89
+ className: n("flex h-9 w-9 items-center justify-center", i),
90
+ ...a,
91
+ children: [
92
+ /* @__PURE__ */ e(p, { className: "h-4 w-4" }),
93
+ /* @__PURE__ */ e("span", { className: "sr-only", children: "More pages" })
94
+ ]
95
+ }
96
+ );
97
+ h.displayName = "PaginationEllipsis";
98
+ export {
99
+ d as Pagination,
100
+ N as PaginationContent,
101
+ h as PaginationEllipsis,
102
+ f as PaginationItem,
103
+ s as PaginationLink,
104
+ u as PaginationNext,
105
+ P as PaginationPrevious
106
+ };
@@ -0,0 +1 @@
1
+ export * from './Pagination';
@@ -0,0 +1,10 @@
1
+ import { Pagination as a, PaginationContent as t, PaginationEllipsis as o, PaginationItem as P, PaginationLink as g, PaginationNext as e, PaginationPrevious as r } from "./Pagination.mjs";
2
+ export {
3
+ a as Pagination,
4
+ t as PaginationContent,
5
+ o as PaginationEllipsis,
6
+ P as PaginationItem,
7
+ g as PaginationLink,
8
+ e as PaginationNext,
9
+ r as PaginationPrevious
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,7 @@
1
+ import * as React from "react";
2
+ import * as PopoverPrimitive from "@radix-ui/react-popover";
3
+ declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
4
+ declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
+ declare const PopoverAnchor: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React.RefAttributes<HTMLDivElement>>;
6
+ declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
+ export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor };
@@ -0,0 +1,24 @@
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import * as n from "react";
3
+ import * as o from "@radix-ui/react-popover";
4
+ import { cn as s } from "@oneplatformdev/utils";
5
+ const l = o.Root, c = o.Trigger, g = o.Anchor, m = n.forwardRef(({ className: e, align: a = "center", sideOffset: r = 4, ...d }, i) => /* @__PURE__ */ t(o.Portal, { children: /* @__PURE__ */ t(
6
+ o.Content,
7
+ {
8
+ ref: i,
9
+ align: a,
10
+ sideOffset: r,
11
+ className: s(
12
+ "z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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",
13
+ e
14
+ ),
15
+ ...d
16
+ }
17
+ ) }));
18
+ m.displayName = o.Content.displayName;
19
+ export {
20
+ l as Popover,
21
+ g as PopoverAnchor,
22
+ m as PopoverContent,
23
+ c as PopoverTrigger
24
+ };
@@ -0,0 +1 @@
1
+ export * from './Popover';
@@ -0,0 +1,7 @@
1
+ import { Popover as e, PopoverAnchor as p, PopoverContent as v, PopoverTrigger as P } from "./Popover.mjs";
2
+ export {
3
+ e as Popover,
4
+ p as PopoverAnchor,
5
+ v as PopoverContent,
6
+ P as PopoverTrigger
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,4 @@
1
+ import * as React from "react";
2
+ import * as ProgressPrimitive from "@radix-ui/react-progress";
3
+ declare const Progress: React.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
4
+ export { Progress };