@oneplatformdev/ui 0.0.1-beta.98 → 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-B0sHDL7X.js +0 -301
  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 -74
  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,4 +0,0 @@
1
- import { ThemeProvider as NextThemesProvider } from 'next-themes';
2
- import * as React from "react";
3
- export declare function ThemeProvider(props: React.ComponentProps<typeof NextThemesProvider>): import("react/jsx-runtime").JSX.Element;
4
- export default ThemeProvider;
@@ -1,27 +0,0 @@
1
- import { jsx as m } from "react/jsx-runtime";
2
- import { ThemeProvider as n } from "next-themes";
3
- function h(e) {
4
- const {
5
- children: r,
6
- attribute: t = "class",
7
- defaultTheme: s = "system",
8
- enableSystem: i = !0,
9
- disableTransitionOnChange: o = !0,
10
- ...a
11
- } = e;
12
- return /* @__PURE__ */ m(
13
- n,
14
- {
15
- attribute: t,
16
- defaultTheme: s,
17
- enableSystem: i,
18
- disableTransitionOnChange: o,
19
- ...a,
20
- children: r
21
- }
22
- );
23
- }
24
- export {
25
- h as ThemeProvider,
26
- h as default
27
- };
package/Theme/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export { ThemeProvider } from './ThemeProvider';
2
- export { ThemeModeToggle } from './ThemeModeToggle';
package/Theme/index.mjs DELETED
@@ -1,6 +0,0 @@
1
- import { ThemeProvider as r } from "./ThemeProvider.mjs";
2
- import { ThemeModeToggle as T } from "./ThemeModeToggle.mjs";
3
- export {
4
- T as ThemeModeToggle,
5
- r as ThemeProvider
6
- };
@@ -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
- }
package/Toast/Toast.d.ts DELETED
@@ -1,13 +0,0 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- import * as React from "react";
3
- import * as ToastPrimitives from "@radix-ui/react-toast";
4
- declare const ToastProvider: React.FC<ToastPrimitives.ToastProviderProps>;
5
- declare const ToastViewport: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React.RefAttributes<HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
6
- declare const Toast: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
7
- variant?: "default" | "destructive" | "success" | "info" | "update" | null | undefined;
8
- } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string> & React.RefAttributes<HTMLLIElement>>;
9
- declare const ToastAction: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
10
- declare const ToastClose: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
11
- declare const ToastTitle: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
12
- declare const ToastDescription: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastDescriptionProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
13
- export { ToastProvider, ToastViewport, Toast, ToastTitle, ToastDescription, ToastClose, ToastAction, };
package/Toast/Toast.mjs DELETED
@@ -1,80 +0,0 @@
1
- import { jsx as s } from "react/jsx-runtime";
2
- import * as i from "react";
3
- import * as e from "@radix-ui/react-toast";
4
- import { X as c } from "lucide-react";
5
- import { cn as a } from "@oneplatformdev/utils";
6
- import { toastVariants as n } from "./toastVariants.mjs";
7
- const h = e.Provider, m = i.forwardRef(({ className: o, ...t }, r) => /* @__PURE__ */ s(
8
- e.Viewport,
9
- {
10
- ref: r,
11
- className: a(
12
- "fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",
13
- o
14
- ),
15
- ...t
16
- }
17
- ));
18
- m.displayName = e.Viewport.displayName;
19
- const p = i.forwardRef(({ className: o, variant: t, ...r }, d) => /* @__PURE__ */ s(
20
- e.Root,
21
- {
22
- ref: d,
23
- className: a(n({ variant: t }), o),
24
- ...r
25
- }
26
- ));
27
- p.displayName = e.Root.displayName;
28
- const u = i.forwardRef(({ className: o, ...t }, r) => /* @__PURE__ */ s(
29
- e.Action,
30
- {
31
- ref: r,
32
- className: a(
33
- "inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",
34
- o
35
- ),
36
- ...t
37
- }
38
- ));
39
- u.displayName = e.Action.displayName;
40
- const l = i.forwardRef(({ className: o, ...t }, r) => /* @__PURE__ */ s(
41
- e.Close,
42
- {
43
- ref: r,
44
- className: a(
45
- "absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",
46
- o
47
- ),
48
- "toast-close": "",
49
- ...t,
50
- children: /* @__PURE__ */ s(c, { className: "h-4 w-4" })
51
- }
52
- ));
53
- l.displayName = e.Close.displayName;
54
- const f = i.forwardRef(({ className: o, ...t }, r) => /* @__PURE__ */ s(
55
- e.Title,
56
- {
57
- ref: r,
58
- className: a("text-sm font-semibold [&+div]:text-xs", o),
59
- ...t
60
- }
61
- ));
62
- f.displayName = e.Title.displayName;
63
- const v = i.forwardRef(({ className: o, ...t }, r) => /* @__PURE__ */ s(
64
- e.Description,
65
- {
66
- ref: r,
67
- className: a("text-sm opacity-90", o),
68
- ...t
69
- }
70
- ));
71
- v.displayName = e.Description.displayName;
72
- export {
73
- p as Toast,
74
- u as ToastAction,
75
- l as ToastClose,
76
- v as ToastDescription,
77
- h as ToastProvider,
78
- f as ToastTitle,
79
- m as ToastViewport
80
- };
@@ -1,34 +0,0 @@
1
- import { actionTypes } from './toast.constants';
2
- import { Toast, ToastAction } from './Toast';
3
- import { default as React } from 'react';
4
-
5
- export type ToastProps = React.ComponentPropsWithoutRef<typeof Toast>;
6
- export type ToastActionElement = React.ReactElement<typeof ToastAction>;
7
- type Nullable<T> = T | null | undefined;
8
- export type ToasterToastVariant = Nullable<"default" | "destructive" | "success" | "info" | "update">;
9
- export type ToasterToast = ToastProps & {
10
- id: string;
11
- variant?: ToasterToastVariant;
12
- title?: React.ReactNode;
13
- description?: React.ReactNode;
14
- action?: ToastActionElement;
15
- };
16
- export type ActionType = typeof actionTypes;
17
- export type Action = {
18
- type: ActionType["ADD_TOAST"];
19
- toast: ToasterToast;
20
- } | {
21
- type: ActionType["UPDATE_TOAST"];
22
- toast: Partial<ToasterToast>;
23
- } | {
24
- type: ActionType["DISMISS_TOAST"];
25
- toastId?: ToasterToast["id"];
26
- } | {
27
- type: ActionType["REMOVE_TOAST"];
28
- toastId?: ToasterToast["id"];
29
- };
30
- export interface State {
31
- toasts: ToasterToast[];
32
- }
33
- export type TToast = Omit<ToasterToast, "id">;
34
- export {};
package/Toast/index.d.ts DELETED
@@ -1,3 +0,0 @@
1
- export * from './Toast';
2
- export * from './useToast';
3
- export type * from './Toast.types';
package/Toast/index.mjs DELETED
@@ -1,15 +0,0 @@
1
- import { Toast as s, ToastAction as e, ToastClose as r, ToastDescription as a, ToastProvider as T, ToastTitle as i, ToastViewport as p } from "./Toast.mjs";
2
- import { reducer as f, toast as u, useNotify as d, useToast as l } from "./useToast.mjs";
3
- export {
4
- s as Toast,
5
- e as ToastAction,
6
- r as ToastClose,
7
- a as ToastDescription,
8
- T as ToastProvider,
9
- i as ToastTitle,
10
- p as ToastViewport,
11
- f as reducer,
12
- u as toast,
13
- d as useNotify,
14
- l as useToast
15
- };
@@ -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,6 +0,0 @@
1
- export declare const actionTypes: {
2
- readonly ADD_TOAST: "ADD_TOAST";
3
- readonly UPDATE_TOAST: "UPDATE_TOAST";
4
- readonly DISMISS_TOAST: "DISMISS_TOAST";
5
- readonly REMOVE_TOAST: "REMOVE_TOAST";
6
- };
@@ -1,9 +0,0 @@
1
- const T = {
2
- ADD_TOAST: "ADD_TOAST",
3
- UPDATE_TOAST: "UPDATE_TOAST",
4
- DISMISS_TOAST: "DISMISS_TOAST",
5
- REMOVE_TOAST: "REMOVE_TOAST"
6
- };
7
- export {
8
- T as actionTypes
9
- };
@@ -1,3 +0,0 @@
1
- export declare const toastVariants: (props?: ({
2
- variant?: "default" | "destructive" | "success" | "info" | "update" | null | undefined;
3
- } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
@@ -1,21 +0,0 @@
1
- import { cva as t } from "class-variance-authority";
2
- const a = t(
3
- "group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",
4
- {
5
- variants: {
6
- variant: {
7
- default: "border bg-background text-foreground",
8
- destructive: "destructive group border-destructive bg-destructive text-destructive-foreground",
9
- success: "border bg-primary text-white",
10
- info: "border bg-blue-400 text-white",
11
- update: "border bg-orange-400 text-white"
12
- }
13
- },
14
- defaultVariants: {
15
- variant: "default"
16
- }
17
- }
18
- );
19
- export {
20
- a as toastVariants
21
- };
@@ -1,16 +0,0 @@
1
- import { ToasterToast, Action, State, TToast, ToasterToastVariant } from './Toast.types';
2
-
3
- export declare const reducer: (state: State, action: Action) => State;
4
- export declare function toast({ ...props }: TToast): {
5
- id: string;
6
- dismiss: () => void;
7
- update: (props: ToasterToast) => void;
8
- };
9
- export declare function useToast(): {
10
- toast: typeof toast;
11
- dismiss: (toastId?: string) => void;
12
- toasts: ToasterToast[];
13
- };
14
- export declare const useNotify: () => {
15
- notifyToast: (message: string, variant?: ToasterToastVariant, description?: string) => void;
16
- };
@@ -1,101 +0,0 @@
1
- import * as c from "react";
2
- const f = 1, p = 1e6;
3
- let T = 0;
4
- function A() {
5
- return T = (T + 1) % Number.MAX_SAFE_INTEGER, T.toString();
6
- }
7
- const a = /* @__PURE__ */ new Map(), S = (t) => {
8
- if (a.has(t))
9
- return;
10
- const s = setTimeout(() => {
11
- a.delete(t), n({
12
- type: "REMOVE_TOAST",
13
- toastId: t
14
- });
15
- }, p);
16
- a.set(t, s);
17
- }, O = (t, s) => {
18
- switch (s.type) {
19
- case "ADD_TOAST":
20
- return {
21
- ...t,
22
- toasts: [s.toast, ...t.toasts].slice(0, f)
23
- };
24
- case "UPDATE_TOAST":
25
- return {
26
- ...t,
27
- toasts: t.toasts.map(
28
- (e) => e.id === s.toast.id ? { ...e, ...s.toast } : e
29
- )
30
- };
31
- case "DISMISS_TOAST": {
32
- const { toastId: e } = s;
33
- return e ? S(e) : t.toasts.forEach((o) => {
34
- S(o.id);
35
- }), {
36
- ...t,
37
- toasts: t.toasts.map(
38
- (o) => o.id === e || e === void 0 ? {
39
- ...o,
40
- open: !1
41
- } : o
42
- )
43
- };
44
- }
45
- case "REMOVE_TOAST":
46
- return s.toastId === void 0 ? {
47
- ...t,
48
- toasts: []
49
- } : {
50
- ...t,
51
- toasts: t.toasts.filter((e) => e.id !== s.toastId)
52
- };
53
- }
54
- }, r = [];
55
- let i = { toasts: [] };
56
- function n(t) {
57
- i = O(i, t), r.forEach((s) => {
58
- s(i);
59
- });
60
- }
61
- function d({ ...t }) {
62
- const s = A(), e = (u) => n({
63
- type: "UPDATE_TOAST",
64
- toast: { ...u, id: s }
65
- }), o = () => n({ type: "DISMISS_TOAST", toastId: s });
66
- return n({
67
- type: "ADD_TOAST",
68
- toast: {
69
- ...t,
70
- id: s,
71
- open: !0,
72
- onOpenChange: (u) => {
73
- u || o();
74
- }
75
- }
76
- }), {
77
- id: s,
78
- dismiss: o,
79
- update: e
80
- };
81
- }
82
- function E() {
83
- const [t, s] = c.useState(i);
84
- return c.useEffect(() => (r.push(s), () => {
85
- const e = r.indexOf(s);
86
- e > -1 && r.splice(e, 1);
87
- }), [t]), {
88
- ...t,
89
- toast: d,
90
- dismiss: (e) => n({ type: "DISMISS_TOAST", toastId: e })
91
- };
92
- }
93
- const _ = () => ({ notifyToast: (s, e, o) => {
94
- d({ title: s, variant: e, description: o });
95
- } });
96
- export {
97
- O as reducer,
98
- d as toast,
99
- _ as useNotify,
100
- E as useToast
101
- };
@@ -1 +0,0 @@
1
- export declare function Toaster(): import("react/jsx-runtime").JSX.Element;
@@ -1,22 +0,0 @@
1
- import { jsxs as r, jsx as o } from "react/jsx-runtime";
2
- import { useToast as c } from "../Toast/useToast.mjs";
3
- import { ToastProvider as T, Toast as m, ToastTitle as d, ToastDescription as l, ToastClose as p, ToastViewport as f } from "../Toast/Toast.mjs";
4
- function g() {
5
- const { toasts: e } = c();
6
- return /* @__PURE__ */ r(T, { children: [
7
- e.map(function({ id: i, title: t, description: s, action: a, ...n }) {
8
- return /* @__PURE__ */ r(m, { ...n, children: [
9
- /* @__PURE__ */ r("div", { className: "grid gap-1", children: [
10
- t && /* @__PURE__ */ o(d, { children: t }),
11
- s && /* @__PURE__ */ o(l, { children: s })
12
- ] }),
13
- a,
14
- /* @__PURE__ */ o(p, {})
15
- ] }, i);
16
- }),
17
- /* @__PURE__ */ o(f, {})
18
- ] });
19
- }
20
- export {
21
- g as Toaster
22
- };
@@ -1 +0,0 @@
1
- export * from './Toaster';
package/Toaster/index.mjs DELETED
@@ -1,4 +0,0 @@
1
- import { Toaster as e } from "./Toaster.mjs";
2
- export {
3
- e as Toaster
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
- }
@@ -1,12 +0,0 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- import * as React from "react";
3
- import * as TogglePrimitive from "@radix-ui/react-toggle";
4
- declare const toggleVariants: (props?: ({
5
- variant?: "default" | "outline" | null | undefined;
6
- size?: "default" | "sm" | "lg" | null | undefined;
7
- } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
8
- declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
9
- variant?: "default" | "outline" | null | undefined;
10
- size?: "default" | "sm" | "lg" | null | undefined;
11
- } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
12
- export { Toggle, toggleVariants };
package/Toggle/Toggle.mjs DELETED
@@ -1,37 +0,0 @@
1
- import { jsx as i } from "react/jsx-runtime";
2
- import * as s from "react";
3
- import * as e from "@radix-ui/react-toggle";
4
- import { cva as d } from "class-variance-authority";
5
- import { cn as m } from "@oneplatformdev/utils";
6
- const g = d(
7
- "inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
8
- {
9
- variants: {
10
- variant: {
11
- default: "bg-transparent",
12
- outline: "border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground"
13
- },
14
- size: {
15
- default: "h-9 px-2 min-w-9",
16
- sm: "h-8 px-1.5 min-w-8",
17
- lg: "h-10 px-2.5 min-w-10"
18
- }
19
- },
20
- defaultVariants: {
21
- variant: "default",
22
- size: "default"
23
- }
24
- }
25
- ), l = s.forwardRef(({ className: t, variant: o, size: n, ...r }, a) => /* @__PURE__ */ i(
26
- e.Root,
27
- {
28
- ref: a,
29
- className: m(g({ variant: o, size: n, className: t })),
30
- ...r
31
- }
32
- ));
33
- l.displayName = e.Root.displayName;
34
- export {
35
- l as Toggle,
36
- g as toggleVariants
37
- };
package/Toggle/index.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './Toggle';
package/Toggle/index.mjs DELETED
@@ -1,5 +0,0 @@
1
- import { Toggle as e, toggleVariants as r } from "./Toggle.mjs";
2
- export {
3
- e as Toggle,
4
- r as toggleVariants
5
- };
@@ -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,12 +0,0 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- import * as React from "react";
3
- import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
4
- declare const ToggleGroup: React.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
5
- variant?: "default" | "outline" | null | undefined;
6
- size?: "default" | "sm" | "lg" | null | undefined;
7
- } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string>) & React.RefAttributes<HTMLDivElement>>;
8
- declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
9
- variant?: "default" | "outline" | null | undefined;
10
- size?: "default" | "sm" | "lg" | null | undefined;
11
- } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
12
- export { ToggleGroup, ToggleGroupItem };
@@ -1,41 +0,0 @@
1
- import { jsx as n } from "react/jsx-runtime";
2
- import * as e from "react";
3
- import * as t from "@radix-ui/react-toggle-group";
4
- import { cn as p } from "@oneplatformdev/utils";
5
- import { toggleVariants as f } from "../Toggle/Toggle.mjs";
6
- const c = e.createContext({
7
- size: "default",
8
- variant: "default"
9
- }), g = e.forwardRef(({ className: o, variant: r, size: a, children: i, ...s }, m) => /* @__PURE__ */ n(
10
- t.Root,
11
- {
12
- ref: m,
13
- className: p("flex items-center justify-center gap-1", o),
14
- ...s,
15
- children: /* @__PURE__ */ n(c.Provider, { value: { variant: r, size: a }, children: i })
16
- }
17
- ));
18
- g.displayName = t.Root.displayName;
19
- const d = e.forwardRef(({ className: o, children: r, variant: a, size: i, ...s }, m) => {
20
- const l = e.useContext(c);
21
- return /* @__PURE__ */ n(
22
- t.Item,
23
- {
24
- ref: m,
25
- className: p(
26
- f({
27
- variant: l.variant || a,
28
- size: l.size || i
29
- }),
30
- o
31
- ),
32
- ...s,
33
- children: r
34
- }
35
- );
36
- });
37
- d.displayName = t.Item.displayName;
38
- export {
39
- g as ToggleGroup,
40
- d as ToggleGroupItem
41
- };
@@ -1 +0,0 @@
1
- export * from './ToggleGroup';
@@ -1,5 +0,0 @@
1
- import { ToggleGroup as g, ToggleGroupItem as r } from "./ToggleGroup.mjs";
2
- export {
3
- g as ToggleGroup,
4
- r as ToggleGroupItem
5
- };
@@ -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 { TooltipProps } from './Tooltip.types';
2
- import { FC, PropsWithChildren } from 'react';
3
-
4
- export declare const Tooltip: FC<PropsWithChildren<TooltipProps>>;
@@ -1,12 +0,0 @@
1
- import { jsx as o, jsxs as s } from "react/jsx-runtime";
2
- import { TooltipProvider as a, TooltipRoot as c, TooltipTrigger as d, TooltipContent as p } from "./TooltipRoot.mjs";
3
- const m = (r) => {
4
- const { trigger: t, children: e, message: i = "", delay: l = 100, ...n } = r;
5
- return /* @__PURE__ */ o(a, { children: /* @__PURE__ */ s(c, { delayDuration: l, ...n, children: [
6
- /* @__PURE__ */ o(d, { asChild: !0, children: t || e }),
7
- /* @__PURE__ */ o(p, { className: "bg-gray-300 text-black", children: i })
8
- ] }) });
9
- };
10
- export {
11
- m as Tooltip
12
- };
@@ -1,8 +0,0 @@
1
- import { TooltipRoot } from './TooltipRoot';
2
- import { ComponentPropsWithoutRef, ReactNode } from 'react';
3
-
4
- export interface TooltipProps extends ComponentPropsWithoutRef<typeof TooltipRoot> {
5
- trigger?: ReactNode;
6
- message?: ReactNode;
7
- delay?: number;
8
- }
@@ -1,7 +0,0 @@
1
- import * as React from "react";
2
- import * as TooltipPrimitive from "@radix-ui/react-tooltip";
3
- declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
4
- declare const TooltipRoot: React.FC<TooltipPrimitive.TooltipProps>;
5
- declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
6
- declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
- export { TooltipRoot, TooltipTrigger, TooltipContent, TooltipProvider };
@@ -1,23 +0,0 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import * as d from "react";
3
- import * as o from "@radix-ui/react-tooltip";
4
- import { cn as s } from "@oneplatformdev/utils";
5
- const p = o.Provider, f = o.Root, c = o.Trigger, m = d.forwardRef(({ className: e, sideOffset: i = 4, ...a }, r) => /* @__PURE__ */ t(o.Portal, { children: /* @__PURE__ */ t(
6
- o.Content,
7
- {
8
- ref: r,
9
- sideOffset: i,
10
- className: s(
11
- "z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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",
12
- e
13
- ),
14
- ...a
15
- }
16
- ) }));
17
- m.displayName = o.Content.displayName;
18
- export {
19
- m as TooltipContent,
20
- p as TooltipProvider,
21
- f as TooltipRoot,
22
- c as TooltipTrigger
23
- };
@@ -1,3 +0,0 @@
1
- export * from './TooltipRoot';
2
- export * from './Tooltip';
3
- export type * from './Tooltip.types';
package/Tooltip/index.mjs DELETED
@@ -1,9 +0,0 @@
1
- import { TooltipContent as r, TooltipProvider as i, TooltipRoot as p, TooltipTrigger as T } from "./TooltipRoot.mjs";
2
- import { Tooltip as l } from "./Tooltip.mjs";
3
- export {
4
- l as Tooltip,
5
- r as TooltipContent,
6
- i as TooltipProvider,
7
- p as TooltipRoot,
8
- T as TooltipTrigger
9
- };