@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,5 +0,0 @@
1
- import { IComboboxOptionsNodeProps } from '..';
2
-
3
- export declare const ComboboxOptionItem: import('react').ForwardRefExoticComponent<IComboboxOptionsNodeProps & {
4
- children?: import('react').ReactNode | undefined;
5
- } & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,67 +0,0 @@
1
- import "react/jsx-runtime";
2
- import "react";
3
- import "../Accordion/Accordion.mjs";
4
- import "../Alert/Alert.mjs";
5
- import "../AlertDialog/AlertDialogRoot.mjs";
6
- import "@oneplatformdev/utils";
7
- import "recharts";
8
- import "../Chart/Chart.mjs";
9
- import "../Sidebar/Sidebar.mjs";
10
- import "@radix-ui/react-aspect-ratio";
11
- import "../Avatar/Avatar.mjs";
12
- import "../Badge/badgeVariants.mjs";
13
- import "../Breadcrumb/Breadcrumb.mjs";
14
- import "../Button/Button.mjs";
15
- import "../Button/buttonVariants.mjs";
16
- import "../ButtonIcon/ButtonIcon.mjs";
17
- import "../ButtonIcon/buttonIconVariants.mjs";
18
- import "../Calendar/Calendar.mjs";
19
- import "../Card/Card.mjs";
20
- import "../Carousel/Carousel.mjs";
21
- import "../Checkbox/Checkbox.mjs";
22
- import "@radix-ui/react-collapsible";
23
- import { a as no } from "../Combobox-B0sHDL7X.js";
24
- import "../Command/Command.mjs";
25
- import "../DropdownMenu/DropdownMenu.mjs";
26
- import "../Table/Table.mjs";
27
- import "@tanstack/react-table";
28
- import "lucide-react";
29
- import "../DatePicker/DatePicker.mjs";
30
- import "../Dialog/Dialog.mjs";
31
- import "../Drawer/Drawer.mjs";
32
- import "../Form/Form.mjs";
33
- import "../FormInput/FormInput.mjs";
34
- import "../Select/SelectRoot.mjs";
35
- import "../Textarea/Textarea.mjs";
36
- import "../Separator/Separator.mjs";
37
- import "../HoverCard/HoverCard.mjs";
38
- import "../Input/Input.mjs";
39
- import "../InputOTP/InputOTP.mjs";
40
- import "../Label/Label.mjs";
41
- import "../Label/labelVariants.mjs";
42
- import "../LoadingMask/RenderLoadingMask.mjs";
43
- import "../LoadingProgress/loadingProgressVariants.mjs";
44
- import "../Menubar/Menubar.mjs";
45
- import "../NavigationMenu/NavigationMenu.mjs";
46
- import "../NavigationMenu/navigationMenuVariants.mjs";
47
- import "../Pagination/Pagination.mjs";
48
- import "../Popover/Popover.mjs";
49
- import "../Progress/Progress.mjs";
50
- import "../RadioGroup/RadioGroup.mjs";
51
- import "react-resizable-panels";
52
- import "../ScrollArea/ScrollArea.mjs";
53
- import "@oneplatformdev/hooks";
54
- import "../Sheet/Sheet.mjs";
55
- import "../Slider/Slider.mjs";
56
- import "next-themes";
57
- import "sonner";
58
- import "../Switch/Switch.mjs";
59
- import "../Tabs/TabsRoot.mjs";
60
- import "../Toast/Toast.mjs";
61
- import "../Toggle/Toggle.mjs";
62
- import "../ToggleGroup/ToggleGroup.mjs";
63
- import "../Tooltip/TooltipRoot.mjs";
64
- import "../Dropzone/Dropzone.mjs";
65
- export {
66
- no as ComboboxOptionItem
67
- };
@@ -1,4 +0,0 @@
1
- import { IComboboxOptionsNodeProps, IComboboxOptionsProps } from './Combobox.types';
2
-
3
- export declare const ComboboxOptionsNode: import('react').ForwardRefExoticComponent<IComboboxOptionsNodeProps & import('react').RefAttributes<HTMLDivElement>>;
4
- export declare const ComboboxOptions: import('react').ForwardRefExoticComponent<IComboboxOptionsProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,12 +0,0 @@
1
- import "react/jsx-runtime";
2
- import "../Button/Button.mjs";
3
- import "../Button/buttonVariants.mjs";
4
- import "react";
5
- import "../Collapsible/Collapsible.mjs";
6
- import { c as a, b as e } from "../Combobox-B0sHDL7X.js";
7
- import "lucide-react";
8
- import "@oneplatformdev/utils";
9
- export {
10
- a as ComboboxOptions,
11
- e as ComboboxOptionsNode
12
- };
@@ -1,2 +0,0 @@
1
- export * from './Combobox';
2
- export type * from './Combobox.types';
@@ -1,4 +0,0 @@
1
- import { C as m } from "../Combobox-B0sHDL7X.js";
2
- export {
3
- m as Combobox
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,301 +0,0 @@
1
- import { jsxs as s, jsx as e, Fragment as A } from "react/jsx-runtime";
2
- import f, { forwardRef as y, useState as V, useRef as W, useEffect as X, useCallback as b, useLayoutEffect as H } from "react";
3
- import { LoadingMask as J } from "./LoadingMask/LoadingMask.mjs";
4
- import "./LoadingMask/RenderLoadingMask.mjs";
5
- import { Popover as K, PopoverTrigger as Q, PopoverContent as Y } from "./Popover/Popover.mjs";
6
- import { Button as _ } from "./Button/Button.mjs";
7
- import "./Button/buttonVariants.mjs";
8
- import { CommandItem as Z, Command as $, CommandInput as ee, CommandList as te, CommandGroup as oe, CommandEmpty as F } from "./Command/Command.mjs";
9
- import { cn as p } from "@oneplatformdev/utils";
10
- import { useDebounceCallback as re } from "@oneplatformdev/hooks";
11
- import { Check as ae, ChevronDownIcon as ie, X as ne, ChevronsUpDown as le } from "lucide-react";
12
- import { Collapsible as se, CollapsibleTrigger as pe, CollapsibleContent as me } from "./Collapsible/Collapsible.mjs";
13
- import "./Accordion/Accordion.mjs";
14
- import "./Alert/Alert.mjs";
15
- import "./AlertDialog/AlertDialogRoot.mjs";
16
- import "recharts";
17
- import "./Chart/Chart.mjs";
18
- import "./Sidebar/Sidebar.mjs";
19
- import "@radix-ui/react-aspect-ratio";
20
- import "./Avatar/Avatar.mjs";
21
- import "./Badge/badgeVariants.mjs";
22
- import "./Breadcrumb/Breadcrumb.mjs";
23
- import "./ButtonIcon/ButtonIcon.mjs";
24
- import "./ButtonIcon/buttonIconVariants.mjs";
25
- import "./Calendar/Calendar.mjs";
26
- import "./Card/Card.mjs";
27
- import "./Carousel/Carousel.mjs";
28
- import "./Checkbox/Checkbox.mjs";
29
- import "@radix-ui/react-collapsible";
30
- import "./DropdownMenu/DropdownMenu.mjs";
31
- import "./Table/Table.mjs";
32
- import "@tanstack/react-table";
33
- import "./DatePicker/DatePicker.mjs";
34
- import "./Dialog/Dialog.mjs";
35
- import "./Drawer/Drawer.mjs";
36
- import "./Form/Form.mjs";
37
- import "./FormInput/FormInput.mjs";
38
- import "./Select/SelectRoot.mjs";
39
- import "./Textarea/Textarea.mjs";
40
- import "./Separator/Separator.mjs";
41
- import "./HoverCard/HoverCard.mjs";
42
- import "./Input/Input.mjs";
43
- import "./InputOTP/InputOTP.mjs";
44
- import "./Label/Label.mjs";
45
- import "./Label/labelVariants.mjs";
46
- import "./LoadingProgress/loadingProgressVariants.mjs";
47
- import "./Menubar/Menubar.mjs";
48
- import "./NavigationMenu/NavigationMenu.mjs";
49
- import "./NavigationMenu/navigationMenuVariants.mjs";
50
- import "./Pagination/Pagination.mjs";
51
- import "./Progress/Progress.mjs";
52
- import "./RadioGroup/RadioGroup.mjs";
53
- import "react-resizable-panels";
54
- import "./ScrollArea/ScrollArea.mjs";
55
- import "./Sheet/Sheet.mjs";
56
- import "./Slider/Slider.mjs";
57
- import "next-themes";
58
- import "sonner";
59
- import "./Switch/Switch.mjs";
60
- import "./Tabs/TabsRoot.mjs";
61
- import "./Toast/Toast.mjs";
62
- import "./Toggle/Toggle.mjs";
63
- import "./ToggleGroup/ToggleGroup.mjs";
64
- import "./Tooltip/TooltipRoot.mjs";
65
- import "./Dropzone/Dropzone.mjs";
66
- const ce = 8, I = y((n, l) => {
67
- const { children: t, setOpen: m, option: o, onChangeOption: i, value: c = "", deep: a = 0 } = n;
68
- return /* @__PURE__ */ s(
69
- Z,
70
- {
71
- ref: l,
72
- value: o.value,
73
- onSelect: () => {
74
- c === o.value ? i == null || i({ value: "", label: "" }) : i == null || i(o), m(!1);
75
- },
76
- style: {
77
- paddingLeft: (a + 1) * ce
78
- },
79
- children: [
80
- t,
81
- /* @__PURE__ */ e(
82
- "span",
83
- {
84
- className: p(
85
- "overflow-hidden whitespace-wrap text-ellipsis line-clamp-2"
86
- ),
87
- children: o.label
88
- }
89
- ),
90
- /* @__PURE__ */ e(
91
- ae,
92
- {
93
- className: p(
94
- "ml-auto",
95
- c === o.value ? "opacity-100" : "opacity-0"
96
- )
97
- }
98
- )
99
- ]
100
- },
101
- o.value
102
- );
103
- }), M = y((n, l) => {
104
- var c;
105
- const { option: t, deep: m = 0 } = n, [o, i] = V(!0);
106
- return (c = t == null ? void 0 : t.items) != null && c.length ? /* @__PURE__ */ s(
107
- se,
108
- {
109
- ref: l,
110
- open: o,
111
- onOpenChange: i,
112
- "data-opened": o,
113
- className: p("group/collapsible"),
114
- children: [
115
- /* @__PURE__ */ e(I, { ...n, children: /* @__PURE__ */ e(pe, { asChild: !0, children: /* @__PURE__ */ s(
116
- _,
117
- {
118
- onClick: (a) => {
119
- a == null || a.preventDefault(), a == null || a.stopPropagation(), i((d) => !d);
120
- },
121
- type: "button",
122
- variant: "ghost",
123
- size: "sm",
124
- className: p("aspect-square size-6", "transition-transform"),
125
- children: [
126
- /* @__PURE__ */ e(
127
- ie,
128
- {
129
- className: p(
130
- "!size-5",
131
- "transition-transform",
132
- o && "rotate-180"
133
- )
134
- }
135
- ),
136
- /* @__PURE__ */ e("span", { className: "sr-only", children: "Toggle" })
137
- ]
138
- }
139
- ) }) }),
140
- /* @__PURE__ */ e(me, { children: /* @__PURE__ */ e("div", { className: "flex flex-col gap-0", children: t == null ? void 0 : t.items.map((a) => /* @__PURE__ */ e(
141
- M,
142
- {
143
- ...n,
144
- deep: m + 1,
145
- option: a
146
- },
147
- a.value
148
- )) }) })
149
- ]
150
- }
151
- ) : /* @__PURE__ */ e(I, { ...n, ref: l });
152
- }), de = y((n, l) => {
153
- const { options: t = [], ...m } = n;
154
- return /* @__PURE__ */ e("div", { ref: l, className: "flex flex-col gap-0", children: t.map((o) => /* @__PURE__ */ e(M, { ...m, option: o }, o.value)) });
155
- }), St = y(
156
- (n, l) => {
157
- var j;
158
- const {
159
- value: t,
160
- onChange: m,
161
- placeholder: o,
162
- disabled: i,
163
- searchLabel: c = "Type to search...",
164
- fetchOptions: a,
165
- options: d,
166
- emptyLabel: L = "No options",
167
- emptyAction: g,
168
- onMount: P
169
- } = n, w = W(!1), [u, v] = f.useState(!1), [C, T] = f.useState(""), [N, x] = f.useState([]), [S, k] = f.useState(), [O, h] = f.useState(!1);
170
- X(() => {
171
- d != null && d.length && x(d);
172
- }, [d]);
173
- const R = async () => {
174
- u || (E(), T(""));
175
- }, E = b(async (r) => {
176
- h(!0);
177
- try {
178
- const D = await a(r);
179
- x(D);
180
- } catch (D) {
181
- console.error("Unexpected error while get option:", D);
182
- } finally {
183
- h(!1);
184
- }
185
- }, []), q = re(E, 1e3, {
186
- leading: !1,
187
- trailing: !0
188
- }), B = b((r) => {
189
- h(!0), T(r), q(r);
190
- }, []), z = b((r) => {
191
- m(r.value), k(r), h(!1);
192
- }, []), G = b(() => {
193
- z({ value: "", label: "" }), k(void 0), h(!1);
194
- }, []), U = b(() => {
195
- if (!P) {
196
- w.current = !0;
197
- return;
198
- }
199
- P({ setOptions: x, search: C || "", open: u, setOpen: v }).finally(
200
- () => {
201
- w.current = !0;
202
- }
203
- );
204
- }, []);
205
- return H(() => (U(), () => {
206
- w.current = !1;
207
- }), []), /* @__PURE__ */ e("div", { className: "w-full", ref: l, children: /* @__PURE__ */ s(
208
- K,
209
- {
210
- open: u,
211
- onOpenChange: (r) => {
212
- v(r), r && R();
213
- },
214
- children: [
215
- /* @__PURE__ */ e(Q, { asChild: !0, className: "border-input", children: /* @__PURE__ */ s(
216
- _,
217
- {
218
- variant: "outline",
219
- role: "combobox",
220
- size: "lg",
221
- "aria-expanded": u,
222
- className: p(
223
- "w-full justify-between font-normal text-sm border bg-transparent relative p-3",
224
- u ? "border-2 border-sidebar-accent" : "border-border"
225
- ),
226
- disabled: i,
227
- children: [
228
- /* @__PURE__ */ e("span", { className: "truncate max-w-[calc(100%-1.5rem)] overflow-hidden whitespace-nowrap", children: t ? ((j = N.find((r) => r.value === t)) == null ? void 0 : j.label) || (S == null ? void 0 : S.label) : /* @__PURE__ */ e("span", { className: "text-gray-400", children: o }) }),
229
- t ? /* @__PURE__ */ e(
230
- "div",
231
- {
232
- className: p(
233
- "absolute top-0 right-1",
234
- "flex items-center justify-center",
235
- "w-9 aspect-square [&_svg]:size-5",
236
- "opacity-50 cursor-pointer hover:opacity-100"
237
- ),
238
- onClick: (r) => {
239
- r.stopPropagation(), G();
240
- },
241
- children: /* @__PURE__ */ e(ne, {})
242
- }
243
- ) : /* @__PURE__ */ e(le, { className: "opacity-50 w-4 h-4" })
244
- ]
245
- }
246
- ) }),
247
- /* @__PURE__ */ e(
248
- Y,
249
- {
250
- className: "w-[var(--radix-popper-anchor-width)] max-w-none p-0",
251
- align: "start",
252
- children: /* @__PURE__ */ s($, { shouldFilter: !1, children: [
253
- /* @__PURE__ */ e(
254
- ee,
255
- {
256
- placeholder: c,
257
- value: C,
258
- onValueChange: B
259
- }
260
- ),
261
- /* @__PURE__ */ e(te, { children: /* @__PURE__ */ s(
262
- oe,
263
- {
264
- className: p(!N.length && "p-0 shadow-none"),
265
- children: [
266
- O && /* @__PURE__ */ e(J, { fullWidth: !0 }),
267
- !O && !!C && /* @__PURE__ */ e(A, { children: g ? /* @__PURE__ */ s(F, { className: "flex flex-col gap-3 py-5 px-3 items-center", children: [
268
- /* @__PURE__ */ e("span", { children: L }),
269
- typeof g == "function" ? g({
270
- setOptions: x,
271
- search: C || "",
272
- open: u,
273
- setOpen: v
274
- }) : g
275
- ] }) : /* @__PURE__ */ e(F, { children: L }) }),
276
- !O && /* @__PURE__ */ e(
277
- de,
278
- {
279
- value: t,
280
- options: N,
281
- onChangeOption: z,
282
- setOpen: v
283
- }
284
- )
285
- ]
286
- }
287
- ) })
288
- ] })
289
- }
290
- )
291
- ]
292
- }
293
- ) });
294
- }
295
- );
296
- export {
297
- St as C,
298
- I as a,
299
- M as b,
300
- de as c
301
- };
@@ -1,80 +0,0 @@
1
- import { DialogProps } from '@radix-ui/react-dialog';
2
- import * as React from 'react';
3
- declare const Command: React.ForwardRefExoticComponent<Omit<{
4
- children?: React.ReactNode;
5
- } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
6
- ref?: React.Ref<HTMLDivElement>;
7
- } & {
8
- asChild?: boolean;
9
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
10
- label?: string;
11
- shouldFilter?: boolean;
12
- filter?: (value: string, search: string, keywords?: string[]) => number;
13
- defaultValue?: string;
14
- value?: string;
15
- onValueChange?: (value: string) => void;
16
- loop?: boolean;
17
- disablePointerSelection?: boolean;
18
- vimBindings?: boolean;
19
- } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
20
- declare const CommandDialog: ({ children, ...props }: DialogProps) => import("react/jsx-runtime").JSX.Element;
21
- declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
22
- ref?: React.Ref<HTMLInputElement>;
23
- } & {
24
- asChild?: boolean;
25
- }, "key" | "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "value" | "type"> & {
26
- value?: string;
27
- onValueChange?: (search: string) => void;
28
- } & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
29
- declare const CommandList: React.ForwardRefExoticComponent<Omit<{
30
- children?: React.ReactNode;
31
- } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
32
- ref?: React.Ref<HTMLDivElement>;
33
- } & {
34
- asChild?: boolean;
35
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
36
- label?: string;
37
- } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
38
- declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
39
- children?: React.ReactNode;
40
- } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
41
- ref?: React.Ref<HTMLDivElement>;
42
- } & {
43
- asChild?: boolean;
44
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
45
- declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
46
- children?: React.ReactNode;
47
- } & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
48
- ref?: React.Ref<HTMLDivElement>;
49
- } & {
50
- asChild?: boolean;
51
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "heading" | "value"> & {
52
- heading?: React.ReactNode;
53
- value?: string;
54
- forceMount?: boolean;
55
- } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
56
- declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
57
- ref?: React.Ref<HTMLDivElement>;
58
- } & {
59
- asChild?: boolean;
60
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
61
- alwaysRender?: boolean;
62
- } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
63
- declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
64
- children?: React.ReactNode;
65
- } & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
66
- ref?: React.Ref<HTMLDivElement>;
67
- } & {
68
- asChild?: boolean;
69
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "disabled" | "value"> & {
70
- disabled?: boolean;
71
- onSelect?: (value: string) => void;
72
- value?: string;
73
- keywords?: string[];
74
- forceMount?: boolean;
75
- } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
76
- declare const CommandShortcut: {
77
- ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
78
- displayName: string;
79
- };
80
- export { Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator, };
@@ -1,116 +0,0 @@
1
- import { jsx as o, jsxs as s } from "react/jsx-runtime";
2
- import * as m from "react";
3
- import { Command as t } from "cmdk";
4
- import { Search as p } from "lucide-react";
5
- import { cn as r } from "@oneplatformdev/utils";
6
- import { Dialog as i, DialogContent as l } from "../Dialog/Dialog.mjs";
7
- const n = m.forwardRef(({ className: e, ...a }, d) => /* @__PURE__ */ o(
8
- t,
9
- {
10
- ref: d,
11
- className: r(
12
- "flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",
13
- e
14
- ),
15
- ...a
16
- }
17
- ));
18
- n.displayName = t.displayName;
19
- const C = ({ children: e, ...a }) => /* @__PURE__ */ o(i, { ...a, children: /* @__PURE__ */ o(l, { className: "overflow-hidden p-0", children: /* @__PURE__ */ o(n, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children: e }) }) }), c = m.forwardRef(({ className: e, ...a }, d) => /* @__PURE__ */ s("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
20
- /* @__PURE__ */ o(p, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
21
- /* @__PURE__ */ o(
22
- t.Input,
23
- {
24
- ref: d,
25
- className: r(
26
- "flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
27
- e
28
- ),
29
- ...a
30
- }
31
- )
32
- ] }));
33
- c.displayName = t.Input.displayName;
34
- const u = m.forwardRef(({ className: e, ...a }, d) => /* @__PURE__ */ o(
35
- t.List,
36
- {
37
- ref: d,
38
- className: r("max-h-[300px] overflow-y-auto overflow-x-hidden", e),
39
- ...a
40
- }
41
- ));
42
- u.displayName = t.List.displayName;
43
- const f = m.forwardRef((e, a) => /* @__PURE__ */ o(
44
- t.Empty,
45
- {
46
- ref: a,
47
- className: "py-6 text-center text-sm",
48
- ...e
49
- }
50
- ));
51
- f.displayName = t.Empty.displayName;
52
- const g = m.forwardRef(({ className: e, ...a }, d) => /* @__PURE__ */ o(
53
- t.Group,
54
- {
55
- ref: d,
56
- className: r(
57
- "overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",
58
- e
59
- ),
60
- ...a
61
- }
62
- ));
63
- g.displayName = t.Group.displayName;
64
- const x = m.forwardRef(({ className: e, ...a }, d) => /* @__PURE__ */ o(
65
- t.Separator,
66
- {
67
- ref: d,
68
- className: r("-mx-1 h-px bg-border", e),
69
- ...a
70
- }
71
- ));
72
- x.displayName = t.Separator.displayName;
73
- const h = m.forwardRef(({ className: e, ...a }, d) => /* @__PURE__ */ o(
74
- t.Item,
75
- {
76
- ref: d,
77
- className: r(
78
- "relative flex gap-2 select-none items-center rounded-sm",
79
- "min-h-8 px-2 py-1",
80
- "[&>span]:py-1",
81
- "text-sm text-[#666A78] font-medium leading-[1.12]",
82
- "data-[selected=true]:bg-accent",
83
- "data-[selected=true]:text-[#191F35] hover:text-[#191F35]",
84
- "outline-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
85
- "cursor-pointer",
86
- e
87
- ),
88
- ...a
89
- }
90
- ));
91
- h.displayName = t.Item.displayName;
92
- const y = ({
93
- className: e,
94
- ...a
95
- }) => /* @__PURE__ */ o(
96
- "span",
97
- {
98
- className: r(
99
- "ml-auto text-xs tracking-widest text-muted-foreground",
100
- e
101
- ),
102
- ...a
103
- }
104
- );
105
- y.displayName = "CommandShortcut";
106
- export {
107
- n as Command,
108
- C as CommandDialog,
109
- f as CommandEmpty,
110
- g as CommandGroup,
111
- c as CommandInput,
112
- h as CommandItem,
113
- u as CommandList,
114
- x as CommandSeparator,
115
- y as CommandShortcut
116
- };
@@ -1 +0,0 @@
1
- export * from './Command';
package/Command/index.mjs DELETED
@@ -1,12 +0,0 @@
1
- import { Command as a, CommandDialog as n, CommandEmpty as d, CommandGroup as C, CommandInput as t, CommandItem as r, CommandList as p, CommandSeparator as e, CommandShortcut as u } from "./Command.mjs";
2
- export {
3
- a as Command,
4
- n as CommandDialog,
5
- d as CommandEmpty,
6
- C as CommandGroup,
7
- t as CommandInput,
8
- r as CommandItem,
9
- p as CommandList,
10
- e as CommandSeparator,
11
- u as CommandShortcut
12
- };
@@ -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 { default as React, FC } from 'react';
2
- import { Table as ReactTable } from '@tanstack/react-table';
3
-
4
- interface IProps {
5
- table: ReactTable<any>;
6
- ToolBar?: React.ReactNode;
7
- tColumns?: string;
8
- tNoResults?: string;
9
- }
10
- export declare const DataTable: FC<IProps>;
11
- export {};