@oneplatformdev/ui 0.0.1-beta.99 → 0.1.2-1

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 (444) hide show
  1. package/README.md +4 -30
  2. package/package.json +35 -92
  3. package/src/globals.css +123 -0
  4. package/Accordion/Accordion.d.ts +0 -9
  5. package/Accordion/Accordion.mjs +0 -49
  6. package/Accordion/index.d.ts +0 -1
  7. package/Accordion/index.mjs +0 -7
  8. package/Accordion/package.json +0 -7
  9. package/Alert/Alert.d.ts +0 -7
  10. package/Alert/Alert.mjs +0 -37
  11. package/Alert/alertVariants.d.ts +0 -4
  12. package/Alert/alertVariants.mjs +0 -19
  13. package/Alert/index.d.ts +0 -1
  14. package/Alert/index.mjs +0 -6
  15. package/Alert/package.json +0 -7
  16. package/AlertDialog/AlertDialog.d.ts +0 -65
  17. package/AlertDialog/AlertDialog.mjs +0 -97
  18. package/AlertDialog/AlertDialog.types.d.ts +0 -53
  19. package/AlertDialog/AlertDialogRoot.d.ts +0 -21
  20. package/AlertDialog/AlertDialogRoot.mjs +0 -114
  21. package/AlertDialog/index.d.ts +0 -3
  22. package/AlertDialog/index.mjs +0 -16
  23. package/AlertDialog/package.json +0 -7
  24. package/AreaChart/AreaChart.d.ts +0 -4
  25. package/AreaChart/AreaChart.mjs +0 -27
  26. package/AreaChart/AreaChart.types.d.ts +0 -15
  27. package/AreaChart/index.d.ts +0 -2
  28. package/AreaChart/index.mjs +0 -4
  29. package/AreaChart/package.json +0 -7
  30. package/Aside/Aside.d.ts +0 -4
  31. package/Aside/Aside.mjs +0 -23
  32. package/Aside/Aside.types.d.ts +0 -18
  33. package/Aside/AsideSidebar.d.ts +0 -3
  34. package/Aside/AsideSidebar.mjs +0 -37
  35. package/Aside/index.d.ts +0 -3
  36. package/Aside/index.mjs +0 -7
  37. package/Aside/package.json +0 -7
  38. package/AspectRatio/AspectRatio.d.ts +0 -2
  39. package/AspectRatio/AspectRatio.mjs +0 -5
  40. package/AspectRatio/index.d.ts +0 -1
  41. package/AspectRatio/index.mjs +0 -5
  42. package/AspectRatio/package.json +0 -7
  43. package/Avatar/Avatar.d.ts +0 -5
  44. package/Avatar/Avatar.mjs +0 -42
  45. package/Avatar/index.d.ts +0 -1
  46. package/Avatar/index.mjs +0 -6
  47. package/Avatar/package.json +0 -7
  48. package/Badge/Badge.d.ts +0 -5
  49. package/Badge/Badge.mjs +0 -10
  50. package/Badge/Badge.types.d.ts +0 -5
  51. package/Badge/badgeVariants.d.ts +0 -3
  52. package/Badge/badgeVariants.mjs +0 -20
  53. package/Badge/index.d.ts +0 -3
  54. package/Badge/index.mjs +0 -6
  55. package/Badge/package.json +0 -7
  56. package/Breadcrumb/Breadcrumb.d.ts +0 -19
  57. package/Breadcrumb/Breadcrumb.mjs +0 -90
  58. package/Breadcrumb/index.d.ts +0 -1
  59. package/Breadcrumb/index.mjs +0 -10
  60. package/Breadcrumb/package.json +0 -7
  61. package/Button/Button.d.ts +0 -4
  62. package/Button/Button.mjs +0 -32
  63. package/Button/Button.types.d.ts +0 -8
  64. package/Button/buttonVariants.d.ts +0 -4
  65. package/Button/buttonVariants.mjs +0 -29
  66. package/Button/index.d.ts +0 -3
  67. package/Button/index.mjs +0 -7
  68. package/Button/package.json +0 -7
  69. package/ButtonIcon/ButtonIcon.d.ts +0 -3
  70. package/ButtonIcon/ButtonIcon.mjs +0 -29
  71. package/ButtonIcon/ButtonIcon.types.d.ts +0 -7
  72. package/ButtonIcon/buttonIconVariants.d.ts +0 -7
  73. package/ButtonIcon/buttonIconVariants.mjs +0 -139
  74. package/ButtonIcon/index.d.ts +0 -3
  75. package/ButtonIcon/index.mjs +0 -7
  76. package/ButtonIcon/package.json +0 -7
  77. package/Calendar/Calendar.d.ts +0 -8
  78. package/Calendar/Calendar.mjs +0 -64
  79. package/Calendar/index.d.ts +0 -1
  80. package/Calendar/index.mjs +0 -4
  81. package/Calendar/package.json +0 -7
  82. package/Card/Card.d.ts +0 -8
  83. package/Card/Card.mjs +0 -61
  84. package/Card/index.d.ts +0 -1
  85. package/Card/index.mjs +0 -9
  86. package/Card/package.json +0 -7
  87. package/Carousel/Carousel.d.ts +0 -18
  88. package/Carousel/Carousel.mjs +0 -168
  89. package/Carousel/index.d.ts +0 -1
  90. package/Carousel/index.mjs +0 -8
  91. package/Carousel/package.json +0 -7
  92. package/Chart/Chart.d.ts +0 -62
  93. package/Chart/Chart.mjs +0 -210
  94. package/Chart/index.d.ts +0 -1
  95. package/Chart/index.mjs +0 -9
  96. package/Chart/package.json +0 -7
  97. package/Checkbox/Checkbox.d.ts +0 -5
  98. package/Checkbox/Checkbox.mjs +0 -54
  99. package/Checkbox/Checkbox.types.d.ts +0 -10
  100. package/Checkbox/index.d.ts +0 -2
  101. package/Checkbox/index.mjs +0 -5
  102. package/Checkbox/package.json +0 -7
  103. package/Collapsible/Collapsible.d.ts +0 -5
  104. package/Collapsible/Collapsible.mjs +0 -7
  105. package/Collapsible/index.d.ts +0 -1
  106. package/Collapsible/index.mjs +0 -6
  107. package/Collapsible/package.json +0 -7
  108. package/Combobox/Combobox.d.ts +0 -4
  109. package/Combobox/Combobox.mjs +0 -15
  110. package/Combobox/Combobox.types.d.ts +0 -38
  111. package/Combobox/ComboboxOptionItem.d.ts +0 -5
  112. package/Combobox/ComboboxOptionItem.mjs +0 -67
  113. package/Combobox/ComboboxOptions.d.ts +0 -4
  114. package/Combobox/ComboboxOptions.mjs +0 -12
  115. package/Combobox/index.d.ts +0 -2
  116. package/Combobox/index.mjs +0 -4
  117. package/Combobox/package.json +0 -7
  118. package/Combobox-Dfbnw0oF.js +0 -303
  119. package/Command/Command.d.ts +0 -80
  120. package/Command/Command.mjs +0 -116
  121. package/Command/index.d.ts +0 -1
  122. package/Command/index.mjs +0 -12
  123. package/Command/package.json +0 -7
  124. package/DataTable/DataTable.d.ts +0 -11
  125. package/DataTable/DataTable.mjs +0 -64
  126. package/DataTable/DataTable.types.d.ts +0 -11
  127. package/DataTable/DataTableColumnFilter.d.ts +0 -4
  128. package/DataTable/DataTableColumnFilter.mjs +0 -31
  129. package/DataTable/index.d.ts +0 -2
  130. package/DataTable/index.mjs +0 -4
  131. package/DataTable/package.json +0 -7
  132. package/DataTable/useDataTable.d.ts +0 -3
  133. package/DataTable/useDataTable.mjs +0 -30
  134. package/DatePicker/DatePicker.d.ts +0 -3
  135. package/DatePicker/DatePicker.mjs +0 -699
  136. package/DatePicker/DatePicker.types.d.ts +0 -5
  137. package/DatePicker/index.d.ts +0 -3
  138. package/DatePicker/index.mjs +0 -5
  139. package/DatePicker/package.json +0 -7
  140. package/Dialog/Dialog.d.ts +0 -21
  141. package/Dialog/Dialog.mjs +0 -117
  142. package/Dialog/index.d.ts +0 -1
  143. package/Dialog/index.mjs +0 -13
  144. package/Dialog/package.json +0 -7
  145. package/Drawer/Drawer.d.ts +0 -22
  146. package/Drawer/Drawer.mjs +0 -98
  147. package/Drawer/index.d.ts +0 -1
  148. package/Drawer/index.mjs +0 -13
  149. package/Drawer/package.json +0 -7
  150. package/DropdownMenu/DropdownMenu.d.ts +0 -27
  151. package/DropdownMenu/DropdownMenu.mjs +0 -148
  152. package/DropdownMenu/index.d.ts +0 -1
  153. package/DropdownMenu/index.mjs +0 -18
  154. package/DropdownMenu/package.json +0 -7
  155. package/Dropzone/Dropzone.d.ts +0 -22
  156. package/Dropzone/Dropzone.mjs +0 -152
  157. package/Dropzone/Dropzone.types.d.ts +0 -42
  158. package/Dropzone/DropzoneFilePreview.d.ts +0 -4
  159. package/Dropzone/DropzoneFilePreview.mjs +0 -9
  160. package/Dropzone/DropzoneSinglePickPreview.d.ts +0 -10
  161. package/Dropzone/DropzoneSinglePickPreview.mjs +0 -41
  162. package/Dropzone/DropzoneUtils.d.ts +0 -5
  163. package/Dropzone/DropzoneUtils.mjs +0 -24
  164. package/Dropzone/index.d.ts +0 -2
  165. package/Dropzone/index.mjs +0 -7
  166. package/Dropzone/package.json +0 -7
  167. package/DropzoneFilePreview-Dhtv8F4u.js +0 -67
  168. package/Form/Form.d.ts +0 -23
  169. package/Form/Form.mjs +0 -98
  170. package/Form/FormRenderControl.d.ts +0 -4
  171. package/Form/FormRenderControl.mjs +0 -21
  172. package/Form/FormRenderControl.types.d.ts +0 -16
  173. package/Form/index.d.ts +0 -3
  174. package/Form/index.mjs +0 -13
  175. package/Form/package.json +0 -7
  176. package/FormCheckbox/FormCheckbox.d.ts +0 -4
  177. package/FormCheckbox/FormCheckbox.mjs +0 -30
  178. package/FormCheckbox/FormCheckbox.types.d.ts +0 -7
  179. package/FormCheckbox/index.d.ts +0 -2
  180. package/FormCheckbox/index.mjs +0 -4
  181. package/FormCheckbox/package.json +0 -7
  182. package/FormCombobox/FormCombobox.d.ts +0 -4
  183. package/FormCombobox/FormCombobox.mjs +0 -26
  184. package/FormCombobox/FormCombobox.types.d.ts +0 -6
  185. package/FormCombobox/index.d.ts +0 -2
  186. package/FormCombobox/index.mjs +0 -4
  187. package/FormCombobox/package.json +0 -7
  188. package/FormDatePicker/FormDatePicker.d.ts +0 -4
  189. package/FormDatePicker/FormDatePicker.mjs +0 -29
  190. package/FormDatePicker/FormDatePicker.types.d.ts +0 -6
  191. package/FormDatePicker/index.d.ts +0 -3
  192. package/FormDatePicker/index.mjs +0 -5
  193. package/FormDatePicker/package.json +0 -7
  194. package/FormDropzone/FormDropzone.d.ts +0 -4
  195. package/FormDropzone/FormDropzone.mjs +0 -19
  196. package/FormDropzone/FormDropzone.types.d.ts +0 -6
  197. package/FormDropzone/index.d.ts +0 -2
  198. package/FormDropzone/index.mjs +0 -4
  199. package/FormDropzone/package.json +0 -7
  200. package/FormInput/FormInput.d.ts +0 -7
  201. package/FormInput/FormInput.mjs +0 -40
  202. package/FormInput/FormInput.types.d.ts +0 -6
  203. package/FormInput/index.d.ts +0 -2
  204. package/FormInput/index.mjs +0 -4
  205. package/FormInput/package.json +0 -7
  206. package/FormRadio/FormRadio.d.ts +0 -4
  207. package/FormRadio/FormRadio.mjs +0 -40
  208. package/FormRadio/FormRadio.types.d.ts +0 -6
  209. package/FormRadio/index.d.ts +0 -2
  210. package/FormRadio/index.mjs +0 -4
  211. package/FormRadio/package.json +0 -7
  212. package/FormSelect/FormSelect.d.ts +0 -4
  213. package/FormSelect/FormSelect.mjs +0 -40
  214. package/FormSelect/FormSelect.types.d.ts +0 -6
  215. package/FormSelect/index.d.ts +0 -2
  216. package/FormSelect/index.mjs +0 -4
  217. package/FormSelect/package.json +0 -7
  218. package/FormTextarea/FormTextarea.d.ts +0 -4
  219. package/FormTextarea/FormTextarea.mjs +0 -27
  220. package/FormTextarea/FormTextarea.types.d.ts +0 -6
  221. package/FormTextarea/index.d.ts +0 -2
  222. package/FormTextarea/index.mjs +0 -4
  223. package/FormTextarea/package.json +0 -7
  224. package/Header/Header.d.ts +0 -4
  225. package/Header/Header.mjs +0 -26
  226. package/Header/Header.types.d.ts +0 -3
  227. package/Header/index.d.ts +0 -2
  228. package/Header/index.mjs +0 -5
  229. package/Header/package.json +0 -7
  230. package/HoverCard/HoverCard.d.ts +0 -6
  231. package/HoverCard/HoverCard.mjs +0 -23
  232. package/HoverCard/index.d.ts +0 -1
  233. package/HoverCard/index.mjs +0 -6
  234. package/HoverCard/package.json +0 -7
  235. package/Input/Input.d.ts +0 -6
  236. package/Input/Input.mjs +0 -73
  237. package/Input/Input.types.d.ts +0 -17
  238. package/Input/index.d.ts +0 -3
  239. package/Input/index.mjs +0 -7
  240. package/Input/inputVariants.d.ts +0 -3
  241. package/Input/inputVariants.mjs +0 -24
  242. package/Input/package.json +0 -7
  243. package/InputOTP/InputOTP.d.ts +0 -34
  244. package/InputOTP/InputOTP.mjs +0 -48
  245. package/InputOTP/index.d.ts +0 -1
  246. package/InputOTP/index.mjs +0 -7
  247. package/InputOTP/package.json +0 -7
  248. package/Label/Label.d.ts +0 -5
  249. package/Label/Label.mjs +0 -17
  250. package/Label/index.d.ts +0 -2
  251. package/Label/index.mjs +0 -6
  252. package/Label/labelVariants.d.ts +0 -1
  253. package/Label/labelVariants.mjs +0 -10
  254. package/Label/package.json +0 -7
  255. package/LazyLoader/LazyLoader.d.ts +0 -20
  256. package/LazyLoader/LazyLoader.mjs +0 -8
  257. package/LazyLoader/index.d.ts +0 -1
  258. package/LazyLoader/index.mjs +0 -5
  259. package/LazyLoader/package.json +0 -7
  260. package/LoadingMask/LoadingMask.d.ts +0 -4
  261. package/LoadingMask/LoadingMask.mjs +0 -21
  262. package/LoadingMask/LoadingMask.types.d.ts +0 -5
  263. package/LoadingMask/RenderLoadingMask.d.ts +0 -3
  264. package/LoadingMask/RenderLoadingMask.mjs +0 -108
  265. package/LoadingMask/index.d.ts +0 -3
  266. package/LoadingMask/index.mjs +0 -6
  267. package/LoadingMask/package.json +0 -7
  268. package/LoadingProgress/LoadingProgress.d.ts +0 -4
  269. package/LoadingProgress/LoadingProgress.mjs +0 -37
  270. package/LoadingProgress/LoadingProgress.types.d.ts +0 -8
  271. package/LoadingProgress/index.d.ts +0 -3
  272. package/LoadingProgress/index.mjs +0 -6
  273. package/LoadingProgress/loadingProgressVariants.d.ts +0 -4
  274. package/LoadingProgress/loadingProgressVariants.mjs +0 -24
  275. package/LoadingProgress/package.json +0 -7
  276. package/Menubar/Menubar.d.ts +0 -28
  277. package/Menubar/Menubar.mjs +0 -175
  278. package/Menubar/index.d.ts +0 -1
  279. package/Menubar/index.mjs +0 -19
  280. package/Menubar/package.json +0 -7
  281. package/NavigationMenu/NavigationMenu.d.ts +0 -11
  282. package/NavigationMenu/NavigationMenu.mjs +0 -101
  283. package/NavigationMenu/index.d.ts +0 -2
  284. package/NavigationMenu/index.mjs +0 -13
  285. package/NavigationMenu/navigationMenuVariants.d.ts +0 -1
  286. package/NavigationMenu/navigationMenuVariants.mjs +0 -7
  287. package/NavigationMenu/package.json +0 -7
  288. package/Pagination/Pagination.d.ts +0 -28
  289. package/Pagination/Pagination.mjs +0 -106
  290. package/Pagination/index.d.ts +0 -1
  291. package/Pagination/index.mjs +0 -10
  292. package/Pagination/package.json +0 -7
  293. package/Popover/Popover.d.ts +0 -7
  294. package/Popover/Popover.mjs +0 -28
  295. package/Popover/index.d.ts +0 -1
  296. package/Popover/index.mjs +0 -7
  297. package/Popover/package.json +0 -7
  298. package/Progress/Progress.d.ts +0 -4
  299. package/Progress/Progress.mjs +0 -26
  300. package/Progress/index.d.ts +0 -1
  301. package/Progress/index.mjs +0 -4
  302. package/Progress/package.json +0 -7
  303. package/Radio/Radio.d.ts +0 -4
  304. package/Radio/Radio.mjs +0 -12
  305. package/Radio/Radio.types.d.ts +0 -11
  306. package/Radio/index.d.ts +0 -2
  307. package/Radio/index.mjs +0 -4
  308. package/Radio/package.json +0 -7
  309. package/RadioGroup/RadioGroup.d.ts +0 -11
  310. package/RadioGroup/RadioGroup.mjs +0 -49
  311. package/RadioGroup/index.d.ts +0 -1
  312. package/RadioGroup/index.mjs +0 -6
  313. package/RadioGroup/package.json +0 -7
  314. package/Resizable/Resizable.d.ts +0 -23
  315. package/Resizable/Resizable.mjs +0 -36
  316. package/Resizable/index.d.ts +0 -1
  317. package/Resizable/index.mjs +0 -6
  318. package/Resizable/package.json +0 -7
  319. package/ScrollArea/ScrollArea.d.ts +0 -5
  320. package/ScrollArea/ScrollArea.mjs +0 -51
  321. package/ScrollArea/index.d.ts +0 -1
  322. package/ScrollArea/index.mjs +0 -5
  323. package/ScrollArea/package.json +0 -7
  324. package/Search/Search.d.ts +0 -4
  325. package/Search/Search.mjs +0 -30
  326. package/Search/Search.types.d.ts +0 -6
  327. package/Search/index.d.ts +0 -3
  328. package/Search/index.mjs +0 -5
  329. package/Search/package.json +0 -7
  330. package/Select/Select.d.ts +0 -3
  331. package/Select/Select.mjs +0 -103
  332. package/Select/Select.types.d.ts +0 -37
  333. package/Select/SelectRoot.d.ts +0 -13
  334. package/Select/SelectRoot.mjs +0 -126
  335. package/Select/index.d.ts +0 -3
  336. package/Select/index.mjs +0 -15
  337. package/Select/package.json +0 -7
  338. package/Separator/Separator.d.ts +0 -4
  339. package/Separator/Separator.mjs +0 -24
  340. package/Separator/index.d.ts +0 -1
  341. package/Separator/index.mjs +0 -4
  342. package/Separator/package.json +0 -7
  343. package/Sheet/Sheet.d.ts +0 -28
  344. package/Sheet/Sheet.mjs +0 -110
  345. package/Sheet/index.d.ts +0 -1
  346. package/Sheet/index.mjs +0 -13
  347. package/Sheet/package.json +0 -7
  348. package/Sidebar/Sidebar.d.ts +0 -66
  349. package/Sidebar/Sidebar.mjs +0 -543
  350. package/Sidebar/index.d.ts +0 -1
  351. package/Sidebar/index.mjs +0 -27
  352. package/Sidebar/package.json +0 -7
  353. package/Skeleton/Skeleton.d.ts +0 -4
  354. package/Skeleton/Skeleton.mjs +0 -17
  355. package/Skeleton/index.d.ts +0 -1
  356. package/Skeleton/index.mjs +0 -4
  357. package/Skeleton/package.json +0 -7
  358. package/Slider/Slider.d.ts +0 -4
  359. package/Slider/Slider.mjs +0 -23
  360. package/Slider/index.d.ts +0 -1
  361. package/Slider/index.mjs +0 -4
  362. package/Slider/package.json +0 -7
  363. package/Sonner/Sonner.d.ts +0 -5
  364. package/Sonner/Sonner.mjs +0 -25
  365. package/Sonner/index.d.ts +0 -1
  366. package/Sonner/index.mjs +0 -4
  367. package/Sonner/package.json +0 -7
  368. package/Switch/Switch.d.ts +0 -4
  369. package/Switch/Switch.mjs +0 -27
  370. package/Switch/index.d.ts +0 -1
  371. package/Switch/index.mjs +0 -4
  372. package/Switch/package.json +0 -7
  373. package/Table/Table.d.ts +0 -10
  374. package/Table/Table.mjs +0 -90
  375. package/Table/index.d.ts +0 -1
  376. package/Table/index.mjs +0 -11
  377. package/Table/package.json +0 -7
  378. package/TablePagination/TablePagination.d.ts +0 -16
  379. package/TablePagination/TablePagination.mjs +0 -74
  380. package/TablePagination/index.d.ts +0 -1
  381. package/TablePagination/index.mjs +0 -4
  382. package/TablePagination/package.json +0 -7
  383. package/Tabs/Tabs.d.ts +0 -5
  384. package/Tabs/Tabs.mjs +0 -23
  385. package/Tabs/Tabs.types.d.ts +0 -12
  386. package/Tabs/TabsRoot.d.ts +0 -7
  387. package/Tabs/TabsRoot.mjs +0 -46
  388. package/Tabs/index.d.ts +0 -2
  389. package/Tabs/index.mjs +0 -10
  390. package/Tabs/package.json +0 -7
  391. package/Textarea/Textarea.d.ts +0 -4
  392. package/Textarea/Textarea.mjs +0 -75
  393. package/Textarea/Textarea.types.d.ts +0 -18
  394. package/Textarea/index.d.ts +0 -2
  395. package/Textarea/index.mjs +0 -4
  396. package/Textarea/package.json +0 -7
  397. package/Textarea/useAutosizeTextArea.d.ts +0 -3
  398. package/Textarea/useAutosizeTextArea.mjs +0 -20
  399. package/Theme/ThemeModeToggle.d.ts +0 -8
  400. package/Theme/ThemeModeToggle.mjs +0 -48
  401. package/Theme/ThemeProvider.d.ts +0 -4
  402. package/Theme/ThemeProvider.mjs +0 -27
  403. package/Theme/index.d.ts +0 -2
  404. package/Theme/index.mjs +0 -6
  405. package/Theme/package.json +0 -7
  406. package/Toast/Toast.d.ts +0 -13
  407. package/Toast/Toast.mjs +0 -80
  408. package/Toast/Toast.types.d.ts +0 -34
  409. package/Toast/index.d.ts +0 -3
  410. package/Toast/index.mjs +0 -15
  411. package/Toast/package.json +0 -7
  412. package/Toast/toast.constants.d.ts +0 -6
  413. package/Toast/toast.constants.mjs +0 -9
  414. package/Toast/toastVariants.d.ts +0 -3
  415. package/Toast/toastVariants.mjs +0 -21
  416. package/Toast/useToast.d.ts +0 -16
  417. package/Toast/useToast.mjs +0 -101
  418. package/Toaster/Toaster.d.ts +0 -1
  419. package/Toaster/Toaster.mjs +0 -22
  420. package/Toaster/index.d.ts +0 -1
  421. package/Toaster/index.mjs +0 -4
  422. package/Toaster/package.json +0 -7
  423. package/Toggle/Toggle.d.ts +0 -12
  424. package/Toggle/Toggle.mjs +0 -37
  425. package/Toggle/index.d.ts +0 -1
  426. package/Toggle/index.mjs +0 -5
  427. package/Toggle/package.json +0 -7
  428. package/ToggleGroup/ToggleGroup.d.ts +0 -12
  429. package/ToggleGroup/ToggleGroup.mjs +0 -41
  430. package/ToggleGroup/index.d.ts +0 -1
  431. package/ToggleGroup/index.mjs +0 -5
  432. package/ToggleGroup/package.json +0 -7
  433. package/Tooltip/Tooltip.d.ts +0 -4
  434. package/Tooltip/Tooltip.mjs +0 -12
  435. package/Tooltip/Tooltip.types.d.ts +0 -8
  436. package/Tooltip/TooltipRoot.d.ts +0 -7
  437. package/Tooltip/TooltipRoot.mjs +0 -23
  438. package/Tooltip/index.d.ts +0 -3
  439. package/Tooltip/index.mjs +0 -9
  440. package/Tooltip/package.json +0 -7
  441. package/index.css +0 -1
  442. package/index.d.ts +0 -68
  443. package/index.mjs +0 -367
  444. package/tailwind.config.mjs +0 -148
@@ -1,28 +0,0 @@
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, };
@@ -1,175 +0,0 @@
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
- };
@@ -1 +0,0 @@
1
- export * from './Menubar';
package/Menubar/index.mjs DELETED
@@ -1,19 +0,0 @@
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
- };
@@ -1,7 +0,0 @@
1
- {
2
- "sideEffects": false,
3
- "main": "./index.mjs",
4
- "module": "./index.mjs",
5
- "default": "./index.mjs",
6
- "types": "./index.d.ts"
7
- }
@@ -1,11 +0,0 @@
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, };
@@ -1,101 +0,0 @@
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
- };
@@ -1,2 +0,0 @@
1
- export * from './NavigationMenu';
2
- export * from './navigationMenuVariants';
@@ -1,13 +0,0 @@
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
- };
@@ -1 +0,0 @@
1
- export declare const navigationMenuVariants: (props?: import('class-variance-authority/dist/types').ClassProp | undefined) => string;
@@ -1,7 +0,0 @@
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
- };
@@ -1,7 +0,0 @@
1
- {
2
- "sideEffects": false,
3
- "main": "./index.mjs",
4
- "module": "./index.mjs",
5
- "default": "./index.mjs",
6
- "types": "./index.d.ts"
7
- }
@@ -1,28 +0,0 @@
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, };
@@ -1,106 +0,0 @@
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
- };
@@ -1 +0,0 @@
1
- export * from './Pagination';
@@ -1,10 +0,0 @@
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
- };
@@ -1,7 +0,0 @@
1
- {
2
- "sideEffects": false,
3
- "main": "./index.mjs",
4
- "module": "./index.mjs",
5
- "default": "./index.mjs",
6
- "types": "./index.d.ts"
7
- }
@@ -1,7 +0,0 @@
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 };
@@ -1,28 +0,0 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import * as s from "react";
3
- import * as o from "@radix-ui/react-popover";
4
- import { cn as m } from "@oneplatformdev/utils";
5
- const c = o.Root, v = o.Trigger, g = o.Anchor, p = s.forwardRef(({ className: e, align: a = "center", sideOffset: r = 4, style: d, ...n }, i) => /* @__PURE__ */ t(o.Portal, { children: /* @__PURE__ */ t(
6
- o.Content,
7
- {
8
- ref: i,
9
- align: a,
10
- sideOffset: r,
11
- className: m(
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
- style: {
16
- pointerEvents: "auto",
17
- ...d
18
- },
19
- ...n
20
- }
21
- ) }));
22
- p.displayName = o.Content.displayName;
23
- export {
24
- c as Popover,
25
- g as PopoverAnchor,
26
- p as PopoverContent,
27
- v as PopoverTrigger
28
- };
@@ -1 +0,0 @@
1
- export * from './Popover';
package/Popover/index.mjs DELETED
@@ -1,7 +0,0 @@
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
- };
@@ -1,7 +0,0 @@
1
- {
2
- "sideEffects": false,
3
- "main": "./index.mjs",
4
- "module": "./index.mjs",
5
- "default": "./index.mjs",
6
- "types": "./index.d.ts"
7
- }
@@ -1,4 +0,0 @@
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 };
@@ -1,26 +0,0 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import * as t from "react";
3
- import * as r from "@radix-ui/react-progress";
4
- import { cn as i } from "@oneplatformdev/utils";
5
- const m = t.forwardRef(({ className: a, value: l, ...e }, s) => /* @__PURE__ */ o(
6
- r.Root,
7
- {
8
- ref: s,
9
- className: i(
10
- "relative h-2 w-full overflow-hidden rounded-full bg-primary/20",
11
- a
12
- ),
13
- ...e,
14
- children: /* @__PURE__ */ o(
15
- r.Indicator,
16
- {
17
- className: "h-full w-full flex-1 bg-primary transition-all",
18
- style: { transform: `translateX(-${100 - (l || 0)}%)` }
19
- }
20
- )
21
- }
22
- ));
23
- m.displayName = r.Root.displayName;
24
- export {
25
- m as Progress
26
- };
@@ -1 +0,0 @@
1
- export * from './Progress';
@@ -1,4 +0,0 @@
1
- import { Progress as e } from "./Progress.mjs";
2
- export {
3
- e as Progress
4
- };
@@ -1,7 +0,0 @@
1
- {
2
- "sideEffects": false,
3
- "main": "./index.mjs",
4
- "module": "./index.mjs",
5
- "default": "./index.mjs",
6
- "types": "./index.d.ts"
7
- }