@oneplatformdev/ui 0.0.1-beta.99 → 0.1.0-5

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 (479) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +3 -29
  3. package/{Button → dist/Button}/Button.d.ts +1 -0
  4. package/dist/Button/Button.d.ts.map +1 -0
  5. package/{Button/Button.mjs → dist/Button/Button.js} +8 -8
  6. package/dist/Button/Button.stories.d.ts +8 -0
  7. package/dist/Button/Button.stories.d.ts.map +1 -0
  8. package/dist/Button/Button.stories.js +20 -0
  9. package/{Button → dist/Button}/Button.types.d.ts +3 -2
  10. package/dist/Button/Button.types.d.ts.map +1 -0
  11. package/dist/Button/Button.types.js +1 -0
  12. package/dist/Button/buttonVariants.d.ts +5 -0
  13. package/dist/Button/buttonVariants.d.ts.map +1 -0
  14. package/dist/Button/buttonVariants.js +35 -0
  15. package/{Button → dist/Button}/index.d.ts +1 -0
  16. package/dist/Button/index.d.ts.map +1 -0
  17. package/dist/Button/index.js +7 -0
  18. package/{ButtonIcon → dist/ButtonIcon}/ButtonIcon.d.ts +1 -0
  19. package/dist/ButtonIcon/ButtonIcon.d.ts.map +1 -0
  20. package/dist/ButtonIcon/ButtonIcon.js +29 -0
  21. package/dist/ButtonIcon/ButtonIcon.stories.d.ts +37 -0
  22. package/dist/ButtonIcon/ButtonIcon.stories.d.ts.map +1 -0
  23. package/dist/ButtonIcon/ButtonIcon.stories.js +126 -0
  24. package/{ButtonIcon → dist/ButtonIcon}/ButtonIcon.types.d.ts +3 -2
  25. package/dist/ButtonIcon/ButtonIcon.types.d.ts.map +1 -0
  26. package/dist/ButtonIcon/ButtonIcon.types.js +1 -0
  27. package/dist/ButtonIcon/buttonIconVariants.d.ts +8 -0
  28. package/dist/ButtonIcon/buttonIconVariants.d.ts.map +1 -0
  29. package/{ButtonIcon/buttonIconVariants.mjs → dist/ButtonIcon/buttonIconVariants.js} +3 -3
  30. package/{ButtonIcon → dist/ButtonIcon}/index.d.ts +1 -0
  31. package/dist/ButtonIcon/index.d.ts.map +1 -0
  32. package/dist/ButtonIcon/index.js +7 -0
  33. package/dist/CHANGELOG.md +17 -0
  34. package/dist/LICENSE +21 -0
  35. package/dist/README.md +7 -0
  36. package/{Tooltip → dist/Tooltip}/Tooltip.d.ts +2 -2
  37. package/dist/Tooltip/Tooltip.d.ts.map +1 -0
  38. package/{Tooltip/Tooltip.mjs → dist/Tooltip/Tooltip.js} +1 -1
  39. package/{Tooltip → dist/Tooltip}/Tooltip.types.d.ts +2 -2
  40. package/dist/Tooltip/Tooltip.types.d.ts.map +1 -0
  41. package/dist/Tooltip/Tooltip.types.js +1 -0
  42. package/{Tooltip → dist/Tooltip}/TooltipRoot.d.ts +1 -0
  43. package/dist/Tooltip/TooltipRoot.d.ts.map +1 -0
  44. package/{Tooltip → dist/Tooltip}/index.d.ts +1 -0
  45. package/dist/Tooltip/index.d.ts.map +1 -0
  46. package/{Tooltip/index.mjs → dist/Tooltip/index.js} +2 -2
  47. package/dist/global.css +1 -0
  48. package/dist/index.d.ts +4 -0
  49. package/dist/index.d.ts.map +1 -0
  50. package/dist/index.js +17 -0
  51. package/dist/package.json +76 -0
  52. package/package.json +45 -72
  53. package/Accordion/Accordion.d.ts +0 -9
  54. package/Accordion/Accordion.mjs +0 -49
  55. package/Accordion/index.d.ts +0 -1
  56. package/Accordion/index.mjs +0 -7
  57. package/Accordion/package.json +0 -7
  58. package/Alert/Alert.d.ts +0 -7
  59. package/Alert/Alert.mjs +0 -37
  60. package/Alert/alertVariants.d.ts +0 -4
  61. package/Alert/alertVariants.mjs +0 -19
  62. package/Alert/index.d.ts +0 -1
  63. package/Alert/index.mjs +0 -6
  64. package/Alert/package.json +0 -7
  65. package/AlertDialog/AlertDialog.d.ts +0 -65
  66. package/AlertDialog/AlertDialog.mjs +0 -97
  67. package/AlertDialog/AlertDialog.types.d.ts +0 -53
  68. package/AlertDialog/AlertDialogRoot.d.ts +0 -21
  69. package/AlertDialog/AlertDialogRoot.mjs +0 -114
  70. package/AlertDialog/index.d.ts +0 -3
  71. package/AlertDialog/index.mjs +0 -16
  72. package/AlertDialog/package.json +0 -7
  73. package/AreaChart/AreaChart.d.ts +0 -4
  74. package/AreaChart/AreaChart.mjs +0 -27
  75. package/AreaChart/AreaChart.types.d.ts +0 -15
  76. package/AreaChart/index.d.ts +0 -2
  77. package/AreaChart/index.mjs +0 -4
  78. package/AreaChart/package.json +0 -7
  79. package/Aside/Aside.d.ts +0 -4
  80. package/Aside/Aside.mjs +0 -23
  81. package/Aside/Aside.types.d.ts +0 -18
  82. package/Aside/AsideSidebar.d.ts +0 -3
  83. package/Aside/AsideSidebar.mjs +0 -37
  84. package/Aside/index.d.ts +0 -3
  85. package/Aside/index.mjs +0 -7
  86. package/Aside/package.json +0 -7
  87. package/AspectRatio/AspectRatio.d.ts +0 -2
  88. package/AspectRatio/AspectRatio.mjs +0 -5
  89. package/AspectRatio/index.d.ts +0 -1
  90. package/AspectRatio/index.mjs +0 -5
  91. package/AspectRatio/package.json +0 -7
  92. package/Avatar/Avatar.d.ts +0 -5
  93. package/Avatar/Avatar.mjs +0 -42
  94. package/Avatar/index.d.ts +0 -1
  95. package/Avatar/index.mjs +0 -6
  96. package/Avatar/package.json +0 -7
  97. package/Badge/Badge.d.ts +0 -5
  98. package/Badge/Badge.mjs +0 -10
  99. package/Badge/Badge.types.d.ts +0 -5
  100. package/Badge/badgeVariants.d.ts +0 -3
  101. package/Badge/badgeVariants.mjs +0 -20
  102. package/Badge/index.d.ts +0 -3
  103. package/Badge/index.mjs +0 -6
  104. package/Badge/package.json +0 -7
  105. package/Breadcrumb/Breadcrumb.d.ts +0 -19
  106. package/Breadcrumb/Breadcrumb.mjs +0 -90
  107. package/Breadcrumb/index.d.ts +0 -1
  108. package/Breadcrumb/index.mjs +0 -10
  109. package/Breadcrumb/package.json +0 -7
  110. package/Button/buttonVariants.d.ts +0 -4
  111. package/Button/buttonVariants.mjs +0 -29
  112. package/Button/index.mjs +0 -7
  113. package/Button/package.json +0 -7
  114. package/ButtonIcon/ButtonIcon.mjs +0 -29
  115. package/ButtonIcon/buttonIconVariants.d.ts +0 -7
  116. package/ButtonIcon/index.mjs +0 -7
  117. package/ButtonIcon/package.json +0 -7
  118. package/Calendar/Calendar.d.ts +0 -8
  119. package/Calendar/Calendar.mjs +0 -64
  120. package/Calendar/index.d.ts +0 -1
  121. package/Calendar/index.mjs +0 -4
  122. package/Calendar/package.json +0 -7
  123. package/Card/Card.d.ts +0 -8
  124. package/Card/Card.mjs +0 -61
  125. package/Card/index.d.ts +0 -1
  126. package/Card/index.mjs +0 -9
  127. package/Card/package.json +0 -7
  128. package/Carousel/Carousel.d.ts +0 -18
  129. package/Carousel/Carousel.mjs +0 -168
  130. package/Carousel/index.d.ts +0 -1
  131. package/Carousel/index.mjs +0 -8
  132. package/Carousel/package.json +0 -7
  133. package/Chart/Chart.d.ts +0 -62
  134. package/Chart/Chart.mjs +0 -210
  135. package/Chart/index.d.ts +0 -1
  136. package/Chart/index.mjs +0 -9
  137. package/Chart/package.json +0 -7
  138. package/Checkbox/Checkbox.d.ts +0 -5
  139. package/Checkbox/Checkbox.mjs +0 -54
  140. package/Checkbox/Checkbox.types.d.ts +0 -10
  141. package/Checkbox/index.d.ts +0 -2
  142. package/Checkbox/index.mjs +0 -5
  143. package/Checkbox/package.json +0 -7
  144. package/Collapsible/Collapsible.d.ts +0 -5
  145. package/Collapsible/Collapsible.mjs +0 -7
  146. package/Collapsible/index.d.ts +0 -1
  147. package/Collapsible/index.mjs +0 -6
  148. package/Collapsible/package.json +0 -7
  149. package/Combobox/Combobox.d.ts +0 -4
  150. package/Combobox/Combobox.mjs +0 -15
  151. package/Combobox/Combobox.types.d.ts +0 -38
  152. package/Combobox/ComboboxOptionItem.d.ts +0 -5
  153. package/Combobox/ComboboxOptionItem.mjs +0 -67
  154. package/Combobox/ComboboxOptions.d.ts +0 -4
  155. package/Combobox/ComboboxOptions.mjs +0 -12
  156. package/Combobox/index.d.ts +0 -2
  157. package/Combobox/index.mjs +0 -4
  158. package/Combobox/package.json +0 -7
  159. package/Combobox-Dfbnw0oF.js +0 -303
  160. package/Command/Command.d.ts +0 -80
  161. package/Command/Command.mjs +0 -116
  162. package/Command/index.d.ts +0 -1
  163. package/Command/index.mjs +0 -12
  164. package/Command/package.json +0 -7
  165. package/DataTable/DataTable.d.ts +0 -11
  166. package/DataTable/DataTable.mjs +0 -64
  167. package/DataTable/DataTable.types.d.ts +0 -11
  168. package/DataTable/DataTableColumnFilter.d.ts +0 -4
  169. package/DataTable/DataTableColumnFilter.mjs +0 -31
  170. package/DataTable/index.d.ts +0 -2
  171. package/DataTable/index.mjs +0 -4
  172. package/DataTable/package.json +0 -7
  173. package/DataTable/useDataTable.d.ts +0 -3
  174. package/DataTable/useDataTable.mjs +0 -30
  175. package/DatePicker/DatePicker.d.ts +0 -3
  176. package/DatePicker/DatePicker.mjs +0 -699
  177. package/DatePicker/DatePicker.types.d.ts +0 -5
  178. package/DatePicker/index.d.ts +0 -3
  179. package/DatePicker/index.mjs +0 -5
  180. package/DatePicker/package.json +0 -7
  181. package/Dialog/Dialog.d.ts +0 -21
  182. package/Dialog/Dialog.mjs +0 -117
  183. package/Dialog/index.d.ts +0 -1
  184. package/Dialog/index.mjs +0 -13
  185. package/Dialog/package.json +0 -7
  186. package/Drawer/Drawer.d.ts +0 -22
  187. package/Drawer/Drawer.mjs +0 -98
  188. package/Drawer/index.d.ts +0 -1
  189. package/Drawer/index.mjs +0 -13
  190. package/Drawer/package.json +0 -7
  191. package/DropdownMenu/DropdownMenu.d.ts +0 -27
  192. package/DropdownMenu/DropdownMenu.mjs +0 -148
  193. package/DropdownMenu/index.d.ts +0 -1
  194. package/DropdownMenu/index.mjs +0 -18
  195. package/DropdownMenu/package.json +0 -7
  196. package/Dropzone/Dropzone.d.ts +0 -22
  197. package/Dropzone/Dropzone.mjs +0 -152
  198. package/Dropzone/Dropzone.types.d.ts +0 -42
  199. package/Dropzone/DropzoneFilePreview.d.ts +0 -4
  200. package/Dropzone/DropzoneFilePreview.mjs +0 -9
  201. package/Dropzone/DropzoneSinglePickPreview.d.ts +0 -10
  202. package/Dropzone/DropzoneSinglePickPreview.mjs +0 -41
  203. package/Dropzone/DropzoneUtils.d.ts +0 -5
  204. package/Dropzone/DropzoneUtils.mjs +0 -24
  205. package/Dropzone/index.d.ts +0 -2
  206. package/Dropzone/index.mjs +0 -7
  207. package/Dropzone/package.json +0 -7
  208. package/DropzoneFilePreview-Dhtv8F4u.js +0 -67
  209. package/Form/Form.d.ts +0 -23
  210. package/Form/Form.mjs +0 -98
  211. package/Form/FormRenderControl.d.ts +0 -4
  212. package/Form/FormRenderControl.mjs +0 -21
  213. package/Form/FormRenderControl.types.d.ts +0 -16
  214. package/Form/index.d.ts +0 -3
  215. package/Form/index.mjs +0 -13
  216. package/Form/package.json +0 -7
  217. package/FormCheckbox/FormCheckbox.d.ts +0 -4
  218. package/FormCheckbox/FormCheckbox.mjs +0 -30
  219. package/FormCheckbox/FormCheckbox.types.d.ts +0 -7
  220. package/FormCheckbox/index.d.ts +0 -2
  221. package/FormCheckbox/index.mjs +0 -4
  222. package/FormCheckbox/package.json +0 -7
  223. package/FormCombobox/FormCombobox.d.ts +0 -4
  224. package/FormCombobox/FormCombobox.mjs +0 -26
  225. package/FormCombobox/FormCombobox.types.d.ts +0 -6
  226. package/FormCombobox/index.d.ts +0 -2
  227. package/FormCombobox/index.mjs +0 -4
  228. package/FormCombobox/package.json +0 -7
  229. package/FormDatePicker/FormDatePicker.d.ts +0 -4
  230. package/FormDatePicker/FormDatePicker.mjs +0 -29
  231. package/FormDatePicker/FormDatePicker.types.d.ts +0 -6
  232. package/FormDatePicker/index.d.ts +0 -3
  233. package/FormDatePicker/index.mjs +0 -5
  234. package/FormDatePicker/package.json +0 -7
  235. package/FormDropzone/FormDropzone.d.ts +0 -4
  236. package/FormDropzone/FormDropzone.mjs +0 -19
  237. package/FormDropzone/FormDropzone.types.d.ts +0 -6
  238. package/FormDropzone/index.d.ts +0 -2
  239. package/FormDropzone/index.mjs +0 -4
  240. package/FormDropzone/package.json +0 -7
  241. package/FormInput/FormInput.d.ts +0 -7
  242. package/FormInput/FormInput.mjs +0 -40
  243. package/FormInput/FormInput.types.d.ts +0 -6
  244. package/FormInput/index.d.ts +0 -2
  245. package/FormInput/index.mjs +0 -4
  246. package/FormInput/package.json +0 -7
  247. package/FormRadio/FormRadio.d.ts +0 -4
  248. package/FormRadio/FormRadio.mjs +0 -40
  249. package/FormRadio/FormRadio.types.d.ts +0 -6
  250. package/FormRadio/index.d.ts +0 -2
  251. package/FormRadio/index.mjs +0 -4
  252. package/FormRadio/package.json +0 -7
  253. package/FormSelect/FormSelect.d.ts +0 -4
  254. package/FormSelect/FormSelect.mjs +0 -40
  255. package/FormSelect/FormSelect.types.d.ts +0 -6
  256. package/FormSelect/index.d.ts +0 -2
  257. package/FormSelect/index.mjs +0 -4
  258. package/FormSelect/package.json +0 -7
  259. package/FormTextarea/FormTextarea.d.ts +0 -4
  260. package/FormTextarea/FormTextarea.mjs +0 -27
  261. package/FormTextarea/FormTextarea.types.d.ts +0 -6
  262. package/FormTextarea/index.d.ts +0 -2
  263. package/FormTextarea/index.mjs +0 -4
  264. package/FormTextarea/package.json +0 -7
  265. package/Header/Header.d.ts +0 -4
  266. package/Header/Header.mjs +0 -26
  267. package/Header/Header.types.d.ts +0 -3
  268. package/Header/index.d.ts +0 -2
  269. package/Header/index.mjs +0 -5
  270. package/Header/package.json +0 -7
  271. package/HoverCard/HoverCard.d.ts +0 -6
  272. package/HoverCard/HoverCard.mjs +0 -23
  273. package/HoverCard/index.d.ts +0 -1
  274. package/HoverCard/index.mjs +0 -6
  275. package/HoverCard/package.json +0 -7
  276. package/Input/Input.d.ts +0 -6
  277. package/Input/Input.mjs +0 -73
  278. package/Input/Input.types.d.ts +0 -17
  279. package/Input/index.d.ts +0 -3
  280. package/Input/index.mjs +0 -7
  281. package/Input/inputVariants.d.ts +0 -3
  282. package/Input/inputVariants.mjs +0 -24
  283. package/Input/package.json +0 -7
  284. package/InputOTP/InputOTP.d.ts +0 -34
  285. package/InputOTP/InputOTP.mjs +0 -48
  286. package/InputOTP/index.d.ts +0 -1
  287. package/InputOTP/index.mjs +0 -7
  288. package/InputOTP/package.json +0 -7
  289. package/Label/Label.d.ts +0 -5
  290. package/Label/Label.mjs +0 -17
  291. package/Label/index.d.ts +0 -2
  292. package/Label/index.mjs +0 -6
  293. package/Label/labelVariants.d.ts +0 -1
  294. package/Label/labelVariants.mjs +0 -10
  295. package/Label/package.json +0 -7
  296. package/LazyLoader/LazyLoader.d.ts +0 -20
  297. package/LazyLoader/LazyLoader.mjs +0 -8
  298. package/LazyLoader/index.d.ts +0 -1
  299. package/LazyLoader/index.mjs +0 -5
  300. package/LazyLoader/package.json +0 -7
  301. package/LoadingMask/LoadingMask.d.ts +0 -4
  302. package/LoadingMask/LoadingMask.mjs +0 -21
  303. package/LoadingMask/LoadingMask.types.d.ts +0 -5
  304. package/LoadingMask/RenderLoadingMask.d.ts +0 -3
  305. package/LoadingMask/RenderLoadingMask.mjs +0 -108
  306. package/LoadingMask/index.d.ts +0 -3
  307. package/LoadingMask/index.mjs +0 -6
  308. package/LoadingMask/package.json +0 -7
  309. package/LoadingProgress/LoadingProgress.d.ts +0 -4
  310. package/LoadingProgress/LoadingProgress.mjs +0 -37
  311. package/LoadingProgress/LoadingProgress.types.d.ts +0 -8
  312. package/LoadingProgress/index.d.ts +0 -3
  313. package/LoadingProgress/index.mjs +0 -6
  314. package/LoadingProgress/loadingProgressVariants.d.ts +0 -4
  315. package/LoadingProgress/loadingProgressVariants.mjs +0 -24
  316. package/LoadingProgress/package.json +0 -7
  317. package/Menubar/Menubar.d.ts +0 -28
  318. package/Menubar/Menubar.mjs +0 -175
  319. package/Menubar/index.d.ts +0 -1
  320. package/Menubar/index.mjs +0 -19
  321. package/Menubar/package.json +0 -7
  322. package/NavigationMenu/NavigationMenu.d.ts +0 -11
  323. package/NavigationMenu/NavigationMenu.mjs +0 -101
  324. package/NavigationMenu/index.d.ts +0 -2
  325. package/NavigationMenu/index.mjs +0 -13
  326. package/NavigationMenu/navigationMenuVariants.d.ts +0 -1
  327. package/NavigationMenu/navigationMenuVariants.mjs +0 -7
  328. package/NavigationMenu/package.json +0 -7
  329. package/Pagination/Pagination.d.ts +0 -28
  330. package/Pagination/Pagination.mjs +0 -106
  331. package/Pagination/index.d.ts +0 -1
  332. package/Pagination/index.mjs +0 -10
  333. package/Pagination/package.json +0 -7
  334. package/Popover/Popover.d.ts +0 -7
  335. package/Popover/Popover.mjs +0 -28
  336. package/Popover/index.d.ts +0 -1
  337. package/Popover/index.mjs +0 -7
  338. package/Popover/package.json +0 -7
  339. package/Progress/Progress.d.ts +0 -4
  340. package/Progress/Progress.mjs +0 -26
  341. package/Progress/index.d.ts +0 -1
  342. package/Progress/index.mjs +0 -4
  343. package/Progress/package.json +0 -7
  344. package/Radio/Radio.d.ts +0 -4
  345. package/Radio/Radio.mjs +0 -12
  346. package/Radio/Radio.types.d.ts +0 -11
  347. package/Radio/index.d.ts +0 -2
  348. package/Radio/index.mjs +0 -4
  349. package/Radio/package.json +0 -7
  350. package/RadioGroup/RadioGroup.d.ts +0 -11
  351. package/RadioGroup/RadioGroup.mjs +0 -49
  352. package/RadioGroup/index.d.ts +0 -1
  353. package/RadioGroup/index.mjs +0 -6
  354. package/RadioGroup/package.json +0 -7
  355. package/Resizable/Resizable.d.ts +0 -23
  356. package/Resizable/Resizable.mjs +0 -36
  357. package/Resizable/index.d.ts +0 -1
  358. package/Resizable/index.mjs +0 -6
  359. package/Resizable/package.json +0 -7
  360. package/ScrollArea/ScrollArea.d.ts +0 -5
  361. package/ScrollArea/ScrollArea.mjs +0 -51
  362. package/ScrollArea/index.d.ts +0 -1
  363. package/ScrollArea/index.mjs +0 -5
  364. package/ScrollArea/package.json +0 -7
  365. package/Search/Search.d.ts +0 -4
  366. package/Search/Search.mjs +0 -30
  367. package/Search/Search.types.d.ts +0 -6
  368. package/Search/index.d.ts +0 -3
  369. package/Search/index.mjs +0 -5
  370. package/Search/package.json +0 -7
  371. package/Select/Select.d.ts +0 -3
  372. package/Select/Select.mjs +0 -103
  373. package/Select/Select.types.d.ts +0 -37
  374. package/Select/SelectRoot.d.ts +0 -13
  375. package/Select/SelectRoot.mjs +0 -126
  376. package/Select/index.d.ts +0 -3
  377. package/Select/index.mjs +0 -15
  378. package/Select/package.json +0 -7
  379. package/Separator/Separator.d.ts +0 -4
  380. package/Separator/Separator.mjs +0 -24
  381. package/Separator/index.d.ts +0 -1
  382. package/Separator/index.mjs +0 -4
  383. package/Separator/package.json +0 -7
  384. package/Sheet/Sheet.d.ts +0 -28
  385. package/Sheet/Sheet.mjs +0 -110
  386. package/Sheet/index.d.ts +0 -1
  387. package/Sheet/index.mjs +0 -13
  388. package/Sheet/package.json +0 -7
  389. package/Sidebar/Sidebar.d.ts +0 -66
  390. package/Sidebar/Sidebar.mjs +0 -543
  391. package/Sidebar/index.d.ts +0 -1
  392. package/Sidebar/index.mjs +0 -27
  393. package/Sidebar/package.json +0 -7
  394. package/Skeleton/Skeleton.d.ts +0 -4
  395. package/Skeleton/Skeleton.mjs +0 -17
  396. package/Skeleton/index.d.ts +0 -1
  397. package/Skeleton/index.mjs +0 -4
  398. package/Skeleton/package.json +0 -7
  399. package/Slider/Slider.d.ts +0 -4
  400. package/Slider/Slider.mjs +0 -23
  401. package/Slider/index.d.ts +0 -1
  402. package/Slider/index.mjs +0 -4
  403. package/Slider/package.json +0 -7
  404. package/Sonner/Sonner.d.ts +0 -5
  405. package/Sonner/Sonner.mjs +0 -25
  406. package/Sonner/index.d.ts +0 -1
  407. package/Sonner/index.mjs +0 -4
  408. package/Sonner/package.json +0 -7
  409. package/Switch/Switch.d.ts +0 -4
  410. package/Switch/Switch.mjs +0 -27
  411. package/Switch/index.d.ts +0 -1
  412. package/Switch/index.mjs +0 -4
  413. package/Switch/package.json +0 -7
  414. package/Table/Table.d.ts +0 -10
  415. package/Table/Table.mjs +0 -90
  416. package/Table/index.d.ts +0 -1
  417. package/Table/index.mjs +0 -11
  418. package/Table/package.json +0 -7
  419. package/TablePagination/TablePagination.d.ts +0 -16
  420. package/TablePagination/TablePagination.mjs +0 -74
  421. package/TablePagination/index.d.ts +0 -1
  422. package/TablePagination/index.mjs +0 -4
  423. package/TablePagination/package.json +0 -7
  424. package/Tabs/Tabs.d.ts +0 -5
  425. package/Tabs/Tabs.mjs +0 -23
  426. package/Tabs/Tabs.types.d.ts +0 -12
  427. package/Tabs/TabsRoot.d.ts +0 -7
  428. package/Tabs/TabsRoot.mjs +0 -46
  429. package/Tabs/index.d.ts +0 -2
  430. package/Tabs/index.mjs +0 -10
  431. package/Tabs/package.json +0 -7
  432. package/Textarea/Textarea.d.ts +0 -4
  433. package/Textarea/Textarea.mjs +0 -75
  434. package/Textarea/Textarea.types.d.ts +0 -18
  435. package/Textarea/index.d.ts +0 -2
  436. package/Textarea/index.mjs +0 -4
  437. package/Textarea/package.json +0 -7
  438. package/Textarea/useAutosizeTextArea.d.ts +0 -3
  439. package/Textarea/useAutosizeTextArea.mjs +0 -20
  440. package/Theme/ThemeModeToggle.d.ts +0 -8
  441. package/Theme/ThemeModeToggle.mjs +0 -48
  442. package/Theme/ThemeProvider.d.ts +0 -4
  443. package/Theme/ThemeProvider.mjs +0 -27
  444. package/Theme/index.d.ts +0 -2
  445. package/Theme/index.mjs +0 -6
  446. package/Theme/package.json +0 -7
  447. package/Toast/Toast.d.ts +0 -13
  448. package/Toast/Toast.mjs +0 -80
  449. package/Toast/Toast.types.d.ts +0 -34
  450. package/Toast/index.d.ts +0 -3
  451. package/Toast/index.mjs +0 -15
  452. package/Toast/package.json +0 -7
  453. package/Toast/toast.constants.d.ts +0 -6
  454. package/Toast/toast.constants.mjs +0 -9
  455. package/Toast/toastVariants.d.ts +0 -3
  456. package/Toast/toastVariants.mjs +0 -21
  457. package/Toast/useToast.d.ts +0 -16
  458. package/Toast/useToast.mjs +0 -101
  459. package/Toaster/Toaster.d.ts +0 -1
  460. package/Toaster/Toaster.mjs +0 -22
  461. package/Toaster/index.d.ts +0 -1
  462. package/Toaster/index.mjs +0 -4
  463. package/Toaster/package.json +0 -7
  464. package/Toggle/Toggle.d.ts +0 -12
  465. package/Toggle/Toggle.mjs +0 -37
  466. package/Toggle/index.d.ts +0 -1
  467. package/Toggle/index.mjs +0 -5
  468. package/Toggle/package.json +0 -7
  469. package/ToggleGroup/ToggleGroup.d.ts +0 -12
  470. package/ToggleGroup/ToggleGroup.mjs +0 -41
  471. package/ToggleGroup/index.d.ts +0 -1
  472. package/ToggleGroup/index.mjs +0 -5
  473. package/ToggleGroup/package.json +0 -7
  474. package/Tooltip/package.json +0 -7
  475. package/index.css +0 -1
  476. package/index.d.ts +0 -68
  477. package/index.mjs +0 -367
  478. package/tailwind.config.mjs +0 -148
  479. /package/{Tooltip/TooltipRoot.mjs → dist/Tooltip/TooltipRoot.js} +0 -0
package/Input/Input.mjs DELETED
@@ -1,73 +0,0 @@
1
- import { jsxs as N, jsx as a } from "react/jsx-runtime";
2
- import d, { useState as v } from "react";
3
- import { Eye as w, EyeOff as h } from "lucide-react";
4
- import { inputVariants as P } from "./inputVariants.mjs";
5
- import { cn as f } from "@oneplatformdev/utils";
6
- const p = d.forwardRef(
7
- (t, s) => {
8
- const {
9
- className: e,
10
- variant: o,
11
- type: c,
12
- slotProps: { input: u, wrapper: n } = {},
13
- onChange: i,
14
- onTransform: l,
15
- ...g
16
- } = t, {
17
- startAdornment: m,
18
- className: I,
19
- ...b
20
- } = u || {};
21
- return /* @__PURE__ */ N("div", { ...n || {}, className: f("relative", n == null ? void 0 : n.className), children: [
22
- !!m && /* @__PURE__ */ a("span", { className: "absolute left-[10px] top-1/2 -translate-y-1/2", children: m }),
23
- /* @__PURE__ */ a(
24
- "input",
25
- {
26
- type: c,
27
- className: f(
28
- P({ variant: o, className: e }),
29
- !!m && "pl-8",
30
- I
31
- ),
32
- ref: s,
33
- ...b,
34
- ...g,
35
- onChange: (r) => {
36
- typeof (l == null ? void 0 : l(r.target.value, r)) == "string" && (r.target.value = l(r.target.value, r)), i && i(r);
37
- }
38
- }
39
- )
40
- ] });
41
- }
42
- );
43
- p.displayName = "Input";
44
- const y = d.forwardRef(
45
- (t, s) => {
46
- var n, i, l;
47
- const [e, o] = v(!1), c = e ? "text" : "password", u = () => {
48
- o(!e);
49
- };
50
- return /* @__PURE__ */ N("div", { ...((n = t == null ? void 0 : t.slotProps) == null ? void 0 : n.wrapper) || {}, className: f("relative", (l = (i = t == null ? void 0 : t.slotProps) == null ? void 0 : i.wrapper) == null ? void 0 : l.className), children: [
51
- /* @__PURE__ */ a(p, { ...t, type: c, className: "pr-8", ref: s }),
52
- /* @__PURE__ */ a(x, { isVisible: e, onClick: u })
53
- ] });
54
- }
55
- );
56
- y.displayName = "PasswordInput";
57
- const x = ({ isVisible: t, onClick: s }) => /* @__PURE__ */ a(
58
- "button",
59
- {
60
- type: "button",
61
- onClick: s,
62
- className: "absolute top-1/2 right-3 transform -translate-y-1/2",
63
- children: t ? /* @__PURE__ */ a(w, { size: 16 }) : /* @__PURE__ */ a(h, { size: 16 })
64
- }
65
- ), V = d.forwardRef(
66
- ({ type: t, ...s }, e) => t === "password" ? /* @__PURE__ */ a(y, { type: t, ...s, ref: e }) : /* @__PURE__ */ a(p, { type: t, ...s, ref: e })
67
- );
68
- V.displayName = "Input";
69
- export {
70
- p as BaseInput,
71
- V as Input,
72
- y as PasswordInput
73
- };
@@ -1,17 +0,0 @@
1
- import { BaseInput } from './Input';
2
- import { inputVariants } from './inputVariants';
3
- import { VariantProps } from 'class-variance-authority';
4
- import { default as React, ChangeEvent, ComponentPropsWithoutRef, HTMLAttributes, ReactNode } from 'react';
5
-
6
- export interface InputSlotInputProps extends ComponentPropsWithoutRef<typeof BaseInput> {
7
- startAdornment?: ReactNode;
8
- }
9
- export interface InputSlotProps {
10
- input?: InputSlotInputProps;
11
- wrapper?: HTMLAttributes<HTMLDivElement>;
12
- }
13
- export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement>, VariantProps<typeof inputVariants> {
14
- slotProps?: InputSlotProps;
15
- /** func transform event.target.value before onChange event call*/
16
- onTransform?: (value: string, event: ChangeEvent<HTMLInputElement>) => string;
17
- }
package/Input/index.d.ts DELETED
@@ -1,3 +0,0 @@
1
- export * from './Input';
2
- export { Input as default } from './Input';
3
- export type * from './Input.types';
package/Input/index.mjs DELETED
@@ -1,7 +0,0 @@
1
- import { BaseInput as u, Input as a, PasswordInput as n, Input as s } from "./Input.mjs";
2
- export {
3
- u as BaseInput,
4
- a as Input,
5
- n as PasswordInput,
6
- s as default
7
- };
@@ -1,3 +0,0 @@
1
- export declare const inputVariants: (props?: ({
2
- variant?: "default" | "grey" | null | undefined;
3
- } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
@@ -1,24 +0,0 @@
1
- import { cva as e } from "class-variance-authority";
2
- const t = e(
3
- [
4
- "flex h-10 w-full rounded-md border border-input px-3 py-2",
5
- "text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground",
6
- "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
7
- "group-data-[state=invalid]/form-control:border-destructive",
8
- "group-data-[state=valid]/form-control:border-input"
9
- ],
10
- {
11
- variants: {
12
- variant: {
13
- default: "bg-background",
14
- grey: "bg-slate-200"
15
- }
16
- },
17
- defaultVariants: {
18
- variant: "default"
19
- }
20
- }
21
- );
22
- export {
23
- t as inputVariants
24
- };
@@ -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,34 +0,0 @@
1
- import * as React from "react";
2
- declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
3
- value?: string;
4
- onChange?: (newValue: string) => unknown;
5
- maxLength: number;
6
- textAlign?: "left" | "center" | "right";
7
- onComplete?: (...args: any[]) => unknown;
8
- pushPasswordManagerStrategy?: "increase-width" | "none";
9
- pasteTransformer?: (pasted: string) => string;
10
- containerClassName?: string;
11
- noScriptCSSFallback?: string | null;
12
- } & {
13
- render: (props: import('input-otp').RenderProps) => React.ReactNode;
14
- children?: never;
15
- } & React.RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
16
- value?: string;
17
- onChange?: (newValue: string) => unknown;
18
- maxLength: number;
19
- textAlign?: "left" | "center" | "right";
20
- onComplete?: (...args: any[]) => unknown;
21
- pushPasswordManagerStrategy?: "increase-width" | "none";
22
- pasteTransformer?: (pasted: string) => string;
23
- containerClassName?: string;
24
- noScriptCSSFallback?: string | null;
25
- } & {
26
- render?: never;
27
- children: React.ReactNode;
28
- } & React.RefAttributes<HTMLInputElement>, "ref">) & React.RefAttributes<HTMLInputElement>>;
29
- declare const InputOTPGroup: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
30
- declare const InputOTPSlot: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
31
- index: number;
32
- } & React.RefAttributes<HTMLDivElement>>;
33
- declare const InputOTPSeparator: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
34
- export { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator };
@@ -1,48 +0,0 @@
1
- import { jsx as r, jsxs as m } from "react/jsx-runtime";
2
- import * as s from "react";
3
- import { OTPInput as c, OTPInputContext as u } from "input-otp";
4
- import { Minus as f } from "lucide-react";
5
- import { cn as n } from "@oneplatformdev/utils";
6
- const x = s.forwardRef(({ className: e, containerClassName: t, ...a }, o) => /* @__PURE__ */ r(
7
- c,
8
- {
9
- ref: o,
10
- containerClassName: n(
11
- "flex items-center gap-2 has-[:disabled]:opacity-50",
12
- t
13
- ),
14
- className: n("disabled:cursor-not-allowed", e),
15
- ...a
16
- }
17
- ));
18
- x.displayName = "InputOTP";
19
- const O = s.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r("div", { ref: a, className: n("flex items-center", e), ...t }));
20
- O.displayName = "InputOTPGroup";
21
- const P = s.forwardRef(({ index: e, className: t, ...a }, o) => {
22
- const i = s.useContext(u), { char: d, hasFakeCaret: l, isActive: p } = i.slots[e];
23
- return /* @__PURE__ */ m(
24
- "div",
25
- {
26
- ref: o,
27
- className: n(
28
- "relative flex h-9 w-9 items-center justify-center border-y border-r border-input text-sm shadow-sm transition-all first:rounded-l-md first:border-l last:rounded-r-md",
29
- p && "z-10 ring-1 ring-ring",
30
- t
31
- ),
32
- ...a,
33
- children: [
34
- d,
35
- l && /* @__PURE__ */ r("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ r("div", { className: "h-4 w-px animate-caret-blink bg-foreground duration-1000" }) })
36
- ]
37
- }
38
- );
39
- });
40
- P.displayName = "InputOTPSlot";
41
- const T = s.forwardRef(({ ...e }, t) => /* @__PURE__ */ r("div", { ref: t, role: "separator", ...e, children: /* @__PURE__ */ r(f, {}) }));
42
- T.displayName = "InputOTPSeparator";
43
- export {
44
- x as InputOTP,
45
- O as InputOTPGroup,
46
- T as InputOTPSeparator,
47
- P as InputOTPSlot
48
- };
@@ -1 +0,0 @@
1
- export * from './InputOTP';
@@ -1,7 +0,0 @@
1
- import { InputOTP as o, InputOTPGroup as r, InputOTPSeparator as u, InputOTPSlot as n } from "./InputOTP.mjs";
2
- export {
3
- o as InputOTP,
4
- r as InputOTPGroup,
5
- u as InputOTPSeparator,
6
- n as InputOTPSlot
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
- }
package/Label/Label.d.ts DELETED
@@ -1,5 +0,0 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- import * as React from 'react';
3
- import * as LabelPrimitive from '@radix-ui/react-label';
4
- declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: import('class-variance-authority/dist/types').ClassProp | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
5
- export { Label };
package/Label/Label.mjs DELETED
@@ -1,17 +0,0 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import * as i from "react";
3
- import * as o from "@radix-ui/react-label";
4
- import { cn as e } from "@oneplatformdev/utils";
5
- import { labelVariants as s } from "./labelVariants.mjs";
6
- const p = i.forwardRef(({ className: a, ...r }, m) => /* @__PURE__ */ t(
7
- o.Root,
8
- {
9
- ref: m,
10
- className: e(s(), a),
11
- ...r
12
- }
13
- ));
14
- p.displayName = o.Root.displayName;
15
- export {
16
- p as Label
17
- };
package/Label/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from './Label';
2
- export * from './labelVariants';
package/Label/index.mjs DELETED
@@ -1,6 +0,0 @@
1
- import { Label as e } from "./Label.mjs";
2
- import { labelVariants as l } from "./labelVariants.mjs";
3
- export {
4
- e as Label,
5
- l as labelVariants
6
- };
@@ -1 +0,0 @@
1
- export declare const labelVariants: (props?: import('class-variance-authority/dist/types').ClassProp | undefined) => string;
@@ -1,10 +0,0 @@
1
- import { cva as t } from "class-variance-authority";
2
- const a = t([
3
- "peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
4
- "text-md font-medium leading-[150%]",
5
- "group-data-[state=valid]/form-control:text-[#363B4E]",
6
- "group-data-[state=invalid]/form-control:text-destructive"
7
- ]);
8
- export {
9
- a as labelVariants
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,20 +0,0 @@
1
- import { default as React, JSX } from 'react';
2
-
3
- /**
4
- * Component lazy load component.
5
- * @public
6
- * @see [Documentation](#)
7
- * @example
8
- * ```tsx
9
- * import { lazy } from 'react';
10
- * import { LazyLoader } from '@oneplatformdev/ui/LazyLoader';
11
- *
12
- * const ModuleComponentViewLazy = LazyLoader(
13
- * lazy(() => import('path/to/module').then(module => ({
14
- * default: module.ModuleComponentView,
15
- * })),
16
- * ),
17
- * );
18
- * ```
19
- */
20
- export declare const LazyLoader: (Component: React.LazyExoticComponent<any>, showLoader?: boolean) => (props: any) => JSX.Element;
@@ -1,8 +0,0 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import { Suspense as a } from "react";
3
- import { LoadingMask as e } from "../LoadingMask/LoadingMask.mjs";
4
- import "../LoadingMask/RenderLoadingMask.mjs";
5
- const s = (r, m = !0) => (t) => /* @__PURE__ */ o(a, { fallback: m ? /* @__PURE__ */ o(e, {}) : null, children: /* @__PURE__ */ o(r, { ...t }) });
6
- export {
7
- s as LazyLoader
8
- };
@@ -1 +0,0 @@
1
- export { LazyLoader as default, LazyLoader } from './LazyLoader';
@@ -1,5 +0,0 @@
1
- import { LazyLoader as o, LazyLoader as r } from "./LazyLoader.mjs";
2
- export {
3
- o as LazyLoader,
4
- r as default
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 { ILoadingMaskProps } from './LoadingMask.types';
2
- import { FC } from 'react';
3
-
4
- export declare const LoadingMask: FC<ILoadingMaskProps>;
@@ -1,21 +0,0 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import { RenderLoadingMask as r } from "./RenderLoadingMask.mjs";
3
- import { cn as o } from "@oneplatformdev/utils";
4
- const f = (t) => {
5
- const { fullWidth: s = !1, className: i, ...n } = t;
6
- return s ? /* @__PURE__ */ e(
7
- "div",
8
- {
9
- ...n,
10
- className: o(
11
- "absolute inset-0",
12
- "flex items-center justify-center",
13
- i
14
- ),
15
- children: /* @__PURE__ */ e(r, {})
16
- }
17
- ) : /* @__PURE__ */ e(r, {});
18
- };
19
- export {
20
- f as LoadingMask
21
- };
@@ -1,5 +0,0 @@
1
- import { HTMLAttributes } from 'react';
2
-
3
- export interface ILoadingMaskProps extends HTMLAttributes<HTMLDivElement> {
4
- fullWidth?: boolean;
5
- }
@@ -1,3 +0,0 @@
1
- import { HTMLAttributes } from 'react';
2
-
3
- export declare const RenderLoadingMask: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,108 +0,0 @@
1
- import { jsx as r, jsxs as s } from "react/jsx-runtime";
2
- import { forwardRef as i } from "react";
3
- import { cn as d } from "@oneplatformdev/utils";
4
- const u = i((o, e) => {
5
- const { className: t, ...n } = o;
6
- return /* @__PURE__ */ r(
7
- "div",
8
- {
9
- ...n,
10
- ref: e,
11
- className: d("flex flex-1 items-center justify-center", t),
12
- children: /* @__PURE__ */ s(
13
- "svg",
14
- {
15
- className: "h-8 w-8 animate-spin text-gray-900 dark:text-gray-50",
16
- viewBox: "0 0 24 24",
17
- fill: "none",
18
- xmlns: "http://www.w3.org/2000/svg",
19
- children: [
20
- /* @__PURE__ */ r(
21
- "path",
22
- {
23
- d: "M12 4.75V6.25",
24
- stroke: "currentColor",
25
- strokeWidth: "2",
26
- strokeLinecap: "round",
27
- strokeLinejoin: "round"
28
- }
29
- ),
30
- /* @__PURE__ */ r(
31
- "path",
32
- {
33
- d: "M17.1475 6.8525L16.0625 7.9375",
34
- stroke: "currentColor",
35
- strokeWidth: "2",
36
- strokeLinecap: "round",
37
- strokeLinejoin: "round"
38
- }
39
- ),
40
- /* @__PURE__ */ r(
41
- "path",
42
- {
43
- d: "M19.25 12H17.75",
44
- stroke: "currentColor",
45
- strokeWidth: "2",
46
- strokeLinecap: "round",
47
- strokeLinejoin: "round"
48
- }
49
- ),
50
- /* @__PURE__ */ r(
51
- "path",
52
- {
53
- d: "M17.1475 17.1475L16.0625 16.0625",
54
- stroke: "currentColor",
55
- strokeWidth: "2",
56
- strokeLinecap: "round",
57
- strokeLinejoin: "round"
58
- }
59
- ),
60
- /* @__PURE__ */ r(
61
- "path",
62
- {
63
- d: "M12 17.75V19.25",
64
- stroke: "currentColor",
65
- strokeWidth: "2",
66
- strokeLinecap: "round",
67
- strokeLinejoin: "round"
68
- }
69
- ),
70
- /* @__PURE__ */ r(
71
- "path",
72
- {
73
- d: "M6.8525 17.1475L7.9375 16.0625",
74
- stroke: "currentColor",
75
- strokeWidth: "2",
76
- strokeLinecap: "round",
77
- strokeLinejoin: "round"
78
- }
79
- ),
80
- /* @__PURE__ */ r(
81
- "path",
82
- {
83
- d: "M4.75 12H6.25",
84
- stroke: "currentColor",
85
- strokeWidth: "2",
86
- strokeLinecap: "round",
87
- strokeLinejoin: "round"
88
- }
89
- ),
90
- /* @__PURE__ */ r(
91
- "path",
92
- {
93
- d: "M6.8525 6.8525L7.9375 7.9375",
94
- stroke: "currentColor",
95
- strokeWidth: "2",
96
- strokeLinecap: "round",
97
- strokeLinejoin: "round"
98
- }
99
- )
100
- ]
101
- }
102
- )
103
- }
104
- );
105
- });
106
- export {
107
- u as RenderLoadingMask
108
- };
@@ -1,3 +0,0 @@
1
- export { LoadingMask } from './LoadingMask';
2
- export { RenderLoadingMask } from './RenderLoadingMask';
3
- export type * from './LoadingMask.types';
@@ -1,6 +0,0 @@
1
- import { LoadingMask as a } from "./LoadingMask.mjs";
2
- import { RenderLoadingMask as d } from "./RenderLoadingMask.mjs";
3
- export {
4
- a as LoadingMask,
5
- d as RenderLoadingMask
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
- }
@@ -1,4 +0,0 @@
1
- import { ILoadingProgressProps } from './LoadingProgress.types';
2
- import { FC } from 'react';
3
-
4
- export declare const LoadingProgress: FC<ILoadingProgressProps>;
@@ -1,37 +0,0 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import { cn as r } from "@oneplatformdev/utils";
3
- import { loadingProgressVariants as a } from "./loadingProgressVariants.mjs";
4
- const f = (e) => {
5
- const { className: s, fullWidth: t = !1, size: i, color: l, wrapClassName: n } = e;
6
- return /* @__PURE__ */ o(
7
- "div",
8
- {
9
- className: r(
10
- n,
11
- "w-fit h-auto",
12
- !!t && "flex grow w-full h-full items-center justify-center"
13
- ),
14
- children: /* @__PURE__ */ o(
15
- "svg",
16
- {
17
- xmlns: "http://www.w3.org/2000/svg",
18
- width: "24",
19
- height: "24",
20
- viewBox: "0 0 24 24",
21
- fill: "none",
22
- stroke: "currentColor",
23
- strokeWidth: "2",
24
- strokeLinecap: "round",
25
- strokeLinejoin: "round",
26
- className: r(
27
- a({ size: i, color: l, className: s })
28
- ),
29
- children: /* @__PURE__ */ o("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
30
- }
31
- )
32
- }
33
- );
34
- };
35
- export {
36
- f as LoadingProgress
37
- };
@@ -1,8 +0,0 @@
1
- import { loadingProgressVariants } from './loadingProgressVariants';
2
- import { VariantProps } from 'class-variance-authority';
3
-
4
- export interface ILoadingProgressProps extends VariantProps<typeof loadingProgressVariants> {
5
- wrapClassName?: string;
6
- className?: string;
7
- fullWidth?: boolean;
8
- }
@@ -1,3 +0,0 @@
1
- export * from './LoadingProgress';
2
- export * from './loadingProgressVariants';
3
- export type * from './LoadingProgress.types';
@@ -1,6 +0,0 @@
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
- };
@@ -1,4 +0,0 @@
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;
@@ -1,24 +0,0 @@
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
- };
@@ -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
- }