@oneplatformdev/ui 0.0.1-beta.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (403) hide show
  1. package/Accordion/Accordion.d.ts +7 -0
  2. package/Accordion/Accordion.mjs +46 -0
  3. package/Accordion/index.d.ts +1 -0
  4. package/Accordion/index.mjs +7 -0
  5. package/Accordion/package.json +7 -0
  6. package/Alert/Alert.d.ts +7 -0
  7. package/Alert/Alert.mjs +37 -0
  8. package/Alert/alertVariants.d.ts +4 -0
  9. package/Alert/alertVariants.mjs +19 -0
  10. package/Alert/index.d.ts +1 -0
  11. package/Alert/index.mjs +6 -0
  12. package/Alert/package.json +7 -0
  13. package/AlertDialog/AlertDialog.d.ts +65 -0
  14. package/AlertDialog/AlertDialog.mjs +97 -0
  15. package/AlertDialog/AlertDialog.types.d.ts +53 -0
  16. package/AlertDialog/AlertDialogRoot.d.ts +21 -0
  17. package/AlertDialog/AlertDialogRoot.mjs +114 -0
  18. package/AlertDialog/index.d.ts +3 -0
  19. package/AlertDialog/index.mjs +16 -0
  20. package/AlertDialog/package.json +7 -0
  21. package/AreaChart/AreaChart.d.ts +4 -0
  22. package/AreaChart/AreaChart.mjs +27 -0
  23. package/AreaChart/AreaChart.types.d.ts +15 -0
  24. package/AreaChart/index.d.ts +2 -0
  25. package/AreaChart/index.mjs +4 -0
  26. package/AreaChart/package.json +7 -0
  27. package/Aside/Aside.d.ts +4 -0
  28. package/Aside/Aside.mjs +23 -0
  29. package/Aside/Aside.types.d.ts +18 -0
  30. package/Aside/AsideSidebar.d.ts +3 -0
  31. package/Aside/AsideSidebar.mjs +37 -0
  32. package/Aside/index.d.ts +3 -0
  33. package/Aside/index.mjs +7 -0
  34. package/Aside/package.json +7 -0
  35. package/AspectRatio/AspectRatio.d.ts +2 -0
  36. package/AspectRatio/AspectRatio.mjs +5 -0
  37. package/AspectRatio/index.d.ts +1 -0
  38. package/AspectRatio/index.mjs +5 -0
  39. package/AspectRatio/package.json +7 -0
  40. package/Avatar/Avatar.d.ts +5 -0
  41. package/Avatar/Avatar.mjs +42 -0
  42. package/Avatar/index.d.ts +1 -0
  43. package/Avatar/index.mjs +6 -0
  44. package/Avatar/package.json +7 -0
  45. package/Badge/Badge.d.ts +5 -0
  46. package/Badge/Badge.mjs +10 -0
  47. package/Badge/Badge.types.d.ts +5 -0
  48. package/Badge/badgeVariants.d.ts +3 -0
  49. package/Badge/badgeVariants.mjs +20 -0
  50. package/Badge/index.d.ts +3 -0
  51. package/Badge/index.mjs +6 -0
  52. package/Badge/package.json +7 -0
  53. package/Breadcrumb/Breadcrumb.d.ts +19 -0
  54. package/Breadcrumb/Breadcrumb.mjs +90 -0
  55. package/Breadcrumb/index.d.ts +1 -0
  56. package/Breadcrumb/index.mjs +10 -0
  57. package/Breadcrumb/package.json +7 -0
  58. package/Button/Button.d.ts +4 -0
  59. package/Button/Button.mjs +31 -0
  60. package/Button/Button.types.d.ts +8 -0
  61. package/Button/buttonVariants.d.ts +4 -0
  62. package/Button/buttonVariants.mjs +29 -0
  63. package/Button/index.d.ts +3 -0
  64. package/Button/index.mjs +7 -0
  65. package/Button/package.json +7 -0
  66. package/ButtonIcon/ButtonIcon.d.ts +3 -0
  67. package/ButtonIcon/ButtonIcon.mjs +29 -0
  68. package/ButtonIcon/ButtonIcon.types.d.ts +7 -0
  69. package/ButtonIcon/buttonIconVariants.d.ts +7 -0
  70. package/ButtonIcon/buttonIconVariants.mjs +139 -0
  71. package/ButtonIcon/index.d.ts +3 -0
  72. package/ButtonIcon/index.mjs +7 -0
  73. package/ButtonIcon/package.json +7 -0
  74. package/Calendar/Calendar.d.ts +8 -0
  75. package/Calendar/Calendar.mjs +63 -0
  76. package/Calendar/index.d.ts +1 -0
  77. package/Calendar/index.mjs +4 -0
  78. package/Calendar/package.json +7 -0
  79. package/Card/Card.d.ts +8 -0
  80. package/Card/Card.mjs +61 -0
  81. package/Card/index.d.ts +1 -0
  82. package/Card/index.mjs +9 -0
  83. package/Card/package.json +7 -0
  84. package/Carousel/Carousel.d.ts +18 -0
  85. package/Carousel/Carousel.mjs +168 -0
  86. package/Carousel/index.d.ts +1 -0
  87. package/Carousel/index.mjs +8 -0
  88. package/Carousel/package.json +7 -0
  89. package/Chart/Chart.d.ts +62 -0
  90. package/Chart/Chart.mjs +210 -0
  91. package/Chart/index.d.ts +1 -0
  92. package/Chart/index.mjs +9 -0
  93. package/Chart/package.json +7 -0
  94. package/Checkbox/Checkbox.d.ts +4 -0
  95. package/Checkbox/Checkbox.mjs +27 -0
  96. package/Checkbox/index.d.ts +1 -0
  97. package/Checkbox/index.mjs +4 -0
  98. package/Checkbox/package.json +7 -0
  99. package/Collapsible/Collapsible.d.ts +5 -0
  100. package/Collapsible/Collapsible.mjs +7 -0
  101. package/Collapsible/index.d.ts +1 -0
  102. package/Collapsible/index.mjs +6 -0
  103. package/Collapsible/package.json +7 -0
  104. package/Combobox/Combobox.d.ts +4 -0
  105. package/Combobox/Combobox.mjs +126 -0
  106. package/Combobox/Combobox.types.d.ts +15 -0
  107. package/Combobox/index.d.ts +2 -0
  108. package/Combobox/index.mjs +4 -0
  109. package/Combobox/package.json +7 -0
  110. package/Command/Command.d.ts +80 -0
  111. package/Command/Command.mjs +109 -0
  112. package/Command/index.d.ts +1 -0
  113. package/Command/index.mjs +12 -0
  114. package/Command/package.json +7 -0
  115. package/DataTable/DataTable.d.ts +4 -0
  116. package/DataTable/DataTable.mjs +64 -0
  117. package/DataTable/DataTable.types.d.ts +11 -0
  118. package/DataTable/index.d.ts +2 -0
  119. package/DataTable/index.mjs +4 -0
  120. package/DataTable/package.json +7 -0
  121. package/DataTable/useDataTable.d.ts +3 -0
  122. package/DataTable/useDataTable.mjs +30 -0
  123. package/DatePicker/DatePicker.d.ts +3 -0
  124. package/DatePicker/DatePicker.mjs +699 -0
  125. package/DatePicker/DatePicker.types.d.ts +5 -0
  126. package/DatePicker/index.d.ts +3 -0
  127. package/DatePicker/index.mjs +5 -0
  128. package/DatePicker/package.json +7 -0
  129. package/Dialog/Dialog.d.ts +19 -0
  130. package/Dialog/Dialog.mjs +100 -0
  131. package/Dialog/index.d.ts +1 -0
  132. package/Dialog/index.mjs +13 -0
  133. package/Dialog/package.json +7 -0
  134. package/Drawer/Drawer.d.ts +22 -0
  135. package/Drawer/Drawer.mjs +98 -0
  136. package/Drawer/index.d.ts +1 -0
  137. package/Drawer/index.mjs +13 -0
  138. package/Drawer/package.json +7 -0
  139. package/DropdownMenu/DropdownMenu.d.ts +27 -0
  140. package/DropdownMenu/DropdownMenu.mjs +144 -0
  141. package/DropdownMenu/index.d.ts +1 -0
  142. package/DropdownMenu/index.mjs +18 -0
  143. package/DropdownMenu/package.json +7 -0
  144. package/Dropzone/Dropzone.d.ts +16 -0
  145. package/Dropzone/Dropzone.mjs +2923 -0
  146. package/Dropzone/Dropzone.types.d.ts +21 -0
  147. package/Dropzone/FilePreview.d.ts +15 -0
  148. package/Dropzone/FilePreview.mjs +7 -0
  149. package/Dropzone/index.d.ts +2 -0
  150. package/Dropzone/index.mjs +7 -0
  151. package/Dropzone/package.json +7 -0
  152. package/FilePreview-C6IeuOqo.js +40 -0
  153. package/Form/Form.d.ts +23 -0
  154. package/Form/Form.mjs +95 -0
  155. package/Form/FormRenderControl.d.ts +5 -0
  156. package/Form/FormRenderControl.mjs +21 -0
  157. package/Form/FormRenderControl.types.d.ts +18 -0
  158. package/Form/index.d.ts +3 -0
  159. package/Form/index.mjs +13 -0
  160. package/Form/package.json +7 -0
  161. package/FormCheckbox/FormCheckbox.d.ts +5 -0
  162. package/FormCheckbox/FormCheckbox.mjs +30 -0
  163. package/FormCheckbox/FormCheckbox.types.d.ts +7 -0
  164. package/FormCheckbox/index.d.ts +2 -0
  165. package/FormCheckbox/index.mjs +4 -0
  166. package/FormCheckbox/package.json +7 -0
  167. package/FormCombobox/FormCombobox.d.ts +4 -0
  168. package/FormCombobox/FormCombobox.mjs +26 -0
  169. package/FormCombobox/FormCombobox.types.d.ts +7 -0
  170. package/FormCombobox/index.d.ts +2 -0
  171. package/FormCombobox/index.mjs +4 -0
  172. package/FormCombobox/package.json +7 -0
  173. package/FormDatePicker/FormDatePicker.d.ts +4 -0
  174. package/FormDatePicker/FormDatePicker.mjs +27 -0
  175. package/FormDatePicker/FormDatePicker.types.d.ts +7 -0
  176. package/FormDatePicker/index.d.ts +3 -0
  177. package/FormDatePicker/index.mjs +5 -0
  178. package/FormDatePicker/package.json +7 -0
  179. package/FormInput/FormInput.d.ts +5 -0
  180. package/FormInput/FormInput.mjs +26 -0
  181. package/FormInput/FormInput.types.d.ts +7 -0
  182. package/FormInput/index.d.ts +2 -0
  183. package/FormInput/index.mjs +4 -0
  184. package/FormInput/package.json +7 -0
  185. package/FormSelect/FormSelect.d.ts +5 -0
  186. package/FormSelect/FormSelect.mjs +38 -0
  187. package/FormSelect/FormSelect.types.d.ts +7 -0
  188. package/FormSelect/index.d.ts +2 -0
  189. package/FormSelect/index.mjs +4 -0
  190. package/FormSelect/package.json +7 -0
  191. package/FormTextarea/FormTextarea.d.ts +5 -0
  192. package/FormTextarea/FormTextarea.mjs +26 -0
  193. package/FormTextarea/FormTextarea.types.d.ts +7 -0
  194. package/FormTextarea/index.d.ts +2 -0
  195. package/FormTextarea/index.mjs +4 -0
  196. package/FormTextarea/package.json +7 -0
  197. package/Header/Header.d.ts +4 -0
  198. package/Header/Header.mjs +26 -0
  199. package/Header/Header.types.d.ts +3 -0
  200. package/Header/index.d.ts +2 -0
  201. package/Header/index.mjs +5 -0
  202. package/Header/package.json +7 -0
  203. package/HoverCard/HoverCard.d.ts +6 -0
  204. package/HoverCard/HoverCard.mjs +23 -0
  205. package/HoverCard/index.d.ts +1 -0
  206. package/HoverCard/index.mjs +6 -0
  207. package/HoverCard/package.json +7 -0
  208. package/Input/Input.d.ts +6 -0
  209. package/Input/Input.mjs +61 -0
  210. package/Input/Input.types.d.ts +13 -0
  211. package/Input/index.d.ts +3 -0
  212. package/Input/index.mjs +7 -0
  213. package/Input/inputVariants.d.ts +3 -0
  214. package/Input/inputVariants.mjs +18 -0
  215. package/Input/package.json +7 -0
  216. package/InputOTP/InputOTP.d.ts +34 -0
  217. package/InputOTP/InputOTP.mjs +48 -0
  218. package/InputOTP/index.d.ts +1 -0
  219. package/InputOTP/index.mjs +7 -0
  220. package/InputOTP/package.json +7 -0
  221. package/Label/Label.d.ts +5 -0
  222. package/Label/Label.mjs +17 -0
  223. package/Label/index.d.ts +2 -0
  224. package/Label/index.mjs +6 -0
  225. package/Label/labelVariants.d.ts +1 -0
  226. package/Label/labelVariants.mjs +7 -0
  227. package/Label/package.json +7 -0
  228. package/LazyLoader/LazyLoader.d.ts +20 -0
  229. package/LazyLoader/LazyLoader.mjs +7 -0
  230. package/LazyLoader/index.d.ts +1 -0
  231. package/LazyLoader/index.mjs +5 -0
  232. package/LazyLoader/package.json +7 -0
  233. package/LoadingMask/LoadingMask.d.ts +1 -0
  234. package/LoadingMask/LoadingMask.mjs +59 -0
  235. package/LoadingMask/index.d.ts +1 -0
  236. package/LoadingMask/index.mjs +4 -0
  237. package/LoadingMask/package.json +7 -0
  238. package/LoadingProgress/LoadingProgress.d.ts +4 -0
  239. package/LoadingProgress/LoadingProgress.mjs +37 -0
  240. package/LoadingProgress/LoadingProgress.types.d.ts +8 -0
  241. package/LoadingProgress/index.d.ts +3 -0
  242. package/LoadingProgress/index.mjs +6 -0
  243. package/LoadingProgress/loadingProgressVariants.d.ts +4 -0
  244. package/LoadingProgress/loadingProgressVariants.mjs +24 -0
  245. package/LoadingProgress/package.json +7 -0
  246. package/Menubar/Menubar.d.ts +28 -0
  247. package/Menubar/Menubar.mjs +175 -0
  248. package/Menubar/index.d.ts +1 -0
  249. package/Menubar/index.mjs +19 -0
  250. package/Menubar/package.json +7 -0
  251. package/NavigationMenu/NavigationMenu.d.ts +11 -0
  252. package/NavigationMenu/NavigationMenu.mjs +101 -0
  253. package/NavigationMenu/index.d.ts +2 -0
  254. package/NavigationMenu/index.mjs +13 -0
  255. package/NavigationMenu/navigationMenuVariants.d.ts +1 -0
  256. package/NavigationMenu/navigationMenuVariants.mjs +7 -0
  257. package/NavigationMenu/package.json +7 -0
  258. package/Pagination/Pagination.d.ts +28 -0
  259. package/Pagination/Pagination.mjs +106 -0
  260. package/Pagination/index.d.ts +1 -0
  261. package/Pagination/index.mjs +10 -0
  262. package/Pagination/package.json +7 -0
  263. package/Popover/Popover.d.ts +7 -0
  264. package/Popover/Popover.mjs +24 -0
  265. package/Popover/index.d.ts +1 -0
  266. package/Popover/index.mjs +7 -0
  267. package/Popover/package.json +7 -0
  268. package/Progress/Progress.d.ts +4 -0
  269. package/Progress/Progress.mjs +26 -0
  270. package/Progress/index.d.ts +1 -0
  271. package/Progress/index.mjs +4 -0
  272. package/Progress/package.json +7 -0
  273. package/README.md +33 -0
  274. package/RadioGroup/RadioGroup.d.ts +5 -0
  275. package/RadioGroup/RadioGroup.mjs +31 -0
  276. package/RadioGroup/index.d.ts +1 -0
  277. package/RadioGroup/index.mjs +5 -0
  278. package/RadioGroup/package.json +7 -0
  279. package/Resizable/Resizable.d.ts +23 -0
  280. package/Resizable/Resizable.mjs +36 -0
  281. package/Resizable/index.d.ts +1 -0
  282. package/Resizable/index.mjs +6 -0
  283. package/Resizable/package.json +7 -0
  284. package/ScrollArea/ScrollArea.d.ts +5 -0
  285. package/ScrollArea/ScrollArea.mjs +38 -0
  286. package/ScrollArea/index.d.ts +1 -0
  287. package/ScrollArea/index.mjs +5 -0
  288. package/ScrollArea/package.json +7 -0
  289. package/Search/Search.d.ts +4 -0
  290. package/Search/Search.mjs +30 -0
  291. package/Search/Search.types.d.ts +6 -0
  292. package/Search/index.d.ts +3 -0
  293. package/Search/index.mjs +5 -0
  294. package/Search/package.json +7 -0
  295. package/Select/Select.d.ts +3 -0
  296. package/Select/Select.mjs +72 -0
  297. package/Select/Select.types.d.ts +29 -0
  298. package/Select/SelectRoot.d.ts +13 -0
  299. package/Select/SelectRoot.mjs +121 -0
  300. package/Select/index.d.ts +3 -0
  301. package/Select/index.mjs +15 -0
  302. package/Select/package.json +7 -0
  303. package/Separator/Separator.d.ts +4 -0
  304. package/Separator/Separator.mjs +24 -0
  305. package/Separator/index.d.ts +1 -0
  306. package/Separator/index.mjs +4 -0
  307. package/Separator/package.json +7 -0
  308. package/Sheet/Sheet.d.ts +25 -0
  309. package/Sheet/Sheet.mjs +110 -0
  310. package/Sheet/index.d.ts +1 -0
  311. package/Sheet/index.mjs +13 -0
  312. package/Sheet/package.json +7 -0
  313. package/Sidebar/Sidebar.d.ts +66 -0
  314. package/Sidebar/Sidebar.mjs +543 -0
  315. package/Sidebar/index.d.ts +1 -0
  316. package/Sidebar/index.mjs +27 -0
  317. package/Sidebar/package.json +7 -0
  318. package/Skeleton/Skeleton.d.ts +4 -0
  319. package/Skeleton/Skeleton.mjs +17 -0
  320. package/Skeleton/index.d.ts +1 -0
  321. package/Skeleton/index.mjs +4 -0
  322. package/Skeleton/package.json +7 -0
  323. package/Slider/Slider.d.ts +4 -0
  324. package/Slider/Slider.mjs +23 -0
  325. package/Slider/index.d.ts +1 -0
  326. package/Slider/index.mjs +4 -0
  327. package/Slider/package.json +7 -0
  328. package/Sonner/Sonner.d.ts +5 -0
  329. package/Sonner/Sonner.mjs +25 -0
  330. package/Sonner/index.d.ts +1 -0
  331. package/Sonner/index.mjs +4 -0
  332. package/Sonner/package.json +7 -0
  333. package/Switch/Switch.d.ts +4 -0
  334. package/Switch/Switch.mjs +27 -0
  335. package/Switch/index.d.ts +1 -0
  336. package/Switch/index.mjs +4 -0
  337. package/Switch/package.json +7 -0
  338. package/Table/Table.d.ts +10 -0
  339. package/Table/Table.mjs +90 -0
  340. package/Table/index.d.ts +1 -0
  341. package/Table/index.mjs +11 -0
  342. package/Table/package.json +7 -0
  343. package/Tabs/Tabs.d.ts +4 -0
  344. package/Tabs/Tabs.mjs +9 -0
  345. package/Tabs/Tabs.types.d.ts +9 -0
  346. package/Tabs/TabsRoot.d.ts +7 -0
  347. package/Tabs/TabsRoot.mjs +46 -0
  348. package/Tabs/index.d.ts +2 -0
  349. package/Tabs/index.mjs +9 -0
  350. package/Tabs/package.json +7 -0
  351. package/Textarea/Textarea.d.ts +4 -0
  352. package/Textarea/Textarea.mjs +18 -0
  353. package/Textarea/Textarea.types.d.ts +4 -0
  354. package/Textarea/index.d.ts +2 -0
  355. package/Textarea/index.mjs +4 -0
  356. package/Textarea/package.json +7 -0
  357. package/Theme/ThemeModeToggle.d.ts +8 -0
  358. package/Theme/ThemeModeToggle.mjs +48 -0
  359. package/Theme/ThemeProvider.d.ts +4 -0
  360. package/Theme/ThemeProvider.mjs +27 -0
  361. package/Theme/index.d.ts +2 -0
  362. package/Theme/index.mjs +6 -0
  363. package/Theme/package.json +7 -0
  364. package/Toast/Toast.d.ts +13 -0
  365. package/Toast/Toast.mjs +80 -0
  366. package/Toast/Toast.types.d.ts +34 -0
  367. package/Toast/index.d.ts +3 -0
  368. package/Toast/index.mjs +15 -0
  369. package/Toast/package.json +7 -0
  370. package/Toast/toast.constants.d.ts +6 -0
  371. package/Toast/toast.constants.mjs +9 -0
  372. package/Toast/toastVariants.d.ts +3 -0
  373. package/Toast/toastVariants.mjs +21 -0
  374. package/Toast/useToast.d.ts +16 -0
  375. package/Toast/useToast.mjs +101 -0
  376. package/Toaster/Toaster.d.ts +1 -0
  377. package/Toaster/Toaster.mjs +22 -0
  378. package/Toaster/index.d.ts +1 -0
  379. package/Toaster/index.mjs +4 -0
  380. package/Toaster/package.json +7 -0
  381. package/Toggle/Toggle.d.ts +12 -0
  382. package/Toggle/Toggle.mjs +37 -0
  383. package/Toggle/index.d.ts +1 -0
  384. package/Toggle/index.mjs +5 -0
  385. package/Toggle/package.json +7 -0
  386. package/ToggleGroup/ToggleGroup.d.ts +12 -0
  387. package/ToggleGroup/ToggleGroup.mjs +41 -0
  388. package/ToggleGroup/index.d.ts +1 -0
  389. package/ToggleGroup/index.mjs +5 -0
  390. package/ToggleGroup/package.json +7 -0
  391. package/Tooltip/Tooltip.d.ts +4 -0
  392. package/Tooltip/Tooltip.mjs +12 -0
  393. package/Tooltip/Tooltip.types.d.ts +8 -0
  394. package/Tooltip/TooltipRoot.d.ts +7 -0
  395. package/Tooltip/TooltipRoot.mjs +23 -0
  396. package/Tooltip/index.d.ts +3 -0
  397. package/Tooltip/index.mjs +9 -0
  398. package/Tooltip/package.json +7 -0
  399. package/index.css +1 -0
  400. package/index.d.ts +66 -0
  401. package/index.mjs +358 -0
  402. package/package.json +103 -0
  403. package/tailwind.config.mjs +148 -0
@@ -0,0 +1,26 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { FormControl as l } from "../Form/Form.mjs";
3
+ import { FormRenderControl as p } from "../Form/FormRenderControl.mjs";
4
+ import { Textarea as f } from "../Textarea/Textarea.mjs";
5
+ const u = (e) => {
6
+ const { form: m, label: t, name: n, ...a } = e;
7
+ return /* @__PURE__ */ r(
8
+ p,
9
+ {
10
+ form: m,
11
+ name: n,
12
+ label: t,
13
+ render: ({ field: o }) => /* @__PURE__ */ r(l, { children: /* @__PURE__ */ r(
14
+ f,
15
+ {
16
+ ...o,
17
+ value: o.value || "",
18
+ ...a
19
+ }
20
+ ) })
21
+ }
22
+ );
23
+ };
24
+ export {
25
+ u as FormTextarea
26
+ };
@@ -0,0 +1,7 @@
1
+ import { TextareaProps } from '../Textarea';
2
+ import { FormRenderControlExtendProps } from '../Form';
3
+ import { UseFormReturn } from 'react-hook-form';
4
+ import { FieldValues } from 'react-hook-form/dist/types/fields';
5
+
6
+ export interface FormTextareaProps<Data extends FieldValues, Form extends UseFormReturn<Data>> extends FormRenderControlExtendProps<Data, Form>, Omit<TextareaProps, 'form' | 'name'> {
7
+ }
@@ -0,0 +1,2 @@
1
+ export * from './FormTextarea';
2
+ export type * from './FormTextarea.types';
@@ -0,0 +1,4 @@
1
+ import { FormTextarea as o } from "./FormTextarea.mjs";
2
+ export {
3
+ o as FormTextarea
4
+ };
@@ -0,0 +1,7 @@
1
+ {
2
+ "sideEffects": false,
3
+ "main": "./index.mjs",
4
+ "module": "./index.mjs",
5
+ "default": "./index.mjs",
6
+ "types": "./index.d.ts"
7
+ }
@@ -0,0 +1,4 @@
1
+ import { HeaderProps } from './Header.types';
2
+ import * as React from "react";
3
+ export declare const Header: React.FC<React.PropsWithChildren<HeaderProps>>;
4
+ export default Header;
@@ -0,0 +1,26 @@
1
+ import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
+ import { SidebarTrigger as t } from "../Sidebar/Sidebar.mjs";
3
+ import { Separator as l } from "../Separator/Separator.mjs";
4
+ const m = (s) => {
5
+ const {
6
+ children: r,
7
+ hideTrigger: a = !1
8
+ } = s;
9
+ return /* @__PURE__ */ i(
10
+ "header",
11
+ {
12
+ className: "flex h-16 shrink-0 items-center justify-between gap-2 transition-[width,height] ease-linear group-has-[[data-collapsible=icon]]/sidebar-wrapper:h-12",
13
+ children: [
14
+ !a && /* @__PURE__ */ i("div", { className: "flex items-center gap-2", children: [
15
+ /* @__PURE__ */ e(t, { className: "ml-1" }),
16
+ /* @__PURE__ */ e(l, { orientation: "vertical", className: "mr-2 h-4" })
17
+ ] }),
18
+ a ? r : /* @__PURE__ */ e("div", { className: "flex-1 text-right pr-6", children: r })
19
+ ]
20
+ }
21
+ );
22
+ };
23
+ export {
24
+ m as Header,
25
+ m as default
26
+ };
@@ -0,0 +1,3 @@
1
+ export interface HeaderProps {
2
+ hideTrigger?: boolean;
3
+ }
@@ -0,0 +1,2 @@
1
+ export { Header, default } from './Header';
2
+ export type * from './Header.types';
@@ -0,0 +1,5 @@
1
+ import { Header as r, Header as d } from "./Header.mjs";
2
+ export {
3
+ r as Header,
4
+ d as default
5
+ };
@@ -0,0 +1,7 @@
1
+ {
2
+ "sideEffects": false,
3
+ "main": "./index.mjs",
4
+ "module": "./index.mjs",
5
+ "default": "./index.mjs",
6
+ "types": "./index.d.ts"
7
+ }
@@ -0,0 +1,6 @@
1
+ import * as React from "react";
2
+ import * as HoverCardPrimitive from "@radix-ui/react-hover-card";
3
+ declare const HoverCard: React.FC<HoverCardPrimitive.HoverCardProps>;
4
+ declare const HoverCardTrigger: React.ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & React.RefAttributes<HTMLAnchorElement>>;
5
+ declare const HoverCardContent: React.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
6
+ export { HoverCard, HoverCardTrigger, HoverCardContent };
@@ -0,0 +1,23 @@
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import * as n from "react";
3
+ import * as t from "@radix-ui/react-hover-card";
4
+ import { cn as s } from "@oneplatformdev/utils";
5
+ const l = t.Root, c = t.Trigger, m = n.forwardRef(({ className: o, align: e = "center", sideOffset: a = 4, ...r }, d) => /* @__PURE__ */ i(
6
+ t.Content,
7
+ {
8
+ ref: d,
9
+ align: e,
10
+ sideOffset: a,
11
+ className: s(
12
+ "z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
13
+ o
14
+ ),
15
+ ...r
16
+ }
17
+ ));
18
+ m.displayName = t.Content.displayName;
19
+ export {
20
+ l as HoverCard,
21
+ m as HoverCardContent,
22
+ c as HoverCardTrigger
23
+ };
@@ -0,0 +1 @@
1
+ export * from './HoverCard';
@@ -0,0 +1,6 @@
1
+ import { HoverCard as o, HoverCardContent as C, HoverCardTrigger as a } from "./HoverCard.mjs";
2
+ export {
3
+ o as HoverCard,
4
+ C as HoverCardContent,
5
+ a as HoverCardTrigger
6
+ };
@@ -0,0 +1,7 @@
1
+ {
2
+ "sideEffects": false,
3
+ "main": "./index.mjs",
4
+ "module": "./index.mjs",
5
+ "default": "./index.mjs",
6
+ "types": "./index.d.ts"
7
+ }
@@ -0,0 +1,6 @@
1
+ import { InputProps } from './Input.types';
2
+ import { default as React } from 'react';
3
+
4
+ export declare const BaseInput: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
5
+ export declare const PasswordInput: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
6
+ export declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,61 @@
1
+ import { jsxs as c, jsx as s } from "react/jsx-runtime";
2
+ import l, { useState as d } from "react";
3
+ import { Eye as f, EyeOff as y } from "lucide-react";
4
+ import { inputVariants as N } from "./inputVariants.mjs";
5
+ import { cn as b } from "@oneplatformdev/utils";
6
+ const p = l.forwardRef(
7
+ (t, e) => {
8
+ const {
9
+ className: a,
10
+ variant: r,
11
+ type: o,
12
+ slotProps: { input: n } = {},
13
+ ...u
14
+ } = t, { startAdornment: i } = n || {};
15
+ return /* @__PURE__ */ c("div", { className: "relative", children: [
16
+ !!i && /* @__PURE__ */ s("span", { className: "absolute left-[10px] top-1/2 -translate-y-1/2", children: i }),
17
+ /* @__PURE__ */ s(
18
+ "input",
19
+ {
20
+ type: o,
21
+ className: b(
22
+ N({ variant: r, className: a }),
23
+ !!i && "pl-8"
24
+ ),
25
+ ref: e,
26
+ ...u
27
+ }
28
+ )
29
+ ] });
30
+ }
31
+ );
32
+ p.displayName = "Input";
33
+ const m = l.forwardRef(
34
+ (t, e) => {
35
+ const [a, r] = d(!1), o = a ? "text" : "password", n = () => {
36
+ r(!a);
37
+ };
38
+ return /* @__PURE__ */ c("div", { className: "relative", children: [
39
+ /* @__PURE__ */ s(p, { ...t, type: o, className: "pr-8", ref: e }),
40
+ /* @__PURE__ */ s(w, { isVisible: a, onClick: n })
41
+ ] });
42
+ }
43
+ );
44
+ m.displayName = "PasswordInput";
45
+ const w = ({ isVisible: t, onClick: e }) => /* @__PURE__ */ s(
46
+ "button",
47
+ {
48
+ type: "button",
49
+ onClick: e,
50
+ className: "absolute top-1/2 right-3 transform -translate-y-1/2",
51
+ children: t ? /* @__PURE__ */ s(f, { size: 16 }) : /* @__PURE__ */ s(y, { size: 16 })
52
+ }
53
+ ), I = l.forwardRef(
54
+ ({ type: t, ...e }, a) => t === "password" ? /* @__PURE__ */ s(m, { type: t, ...e, ref: a }) : /* @__PURE__ */ s(p, { type: t, ...e, ref: a })
55
+ );
56
+ I.displayName = "Input";
57
+ export {
58
+ p as BaseInput,
59
+ I as Input,
60
+ m as PasswordInput
61
+ };
@@ -0,0 +1,13 @@
1
+ import { inputVariants } from './inputVariants';
2
+ import { VariantProps } from 'class-variance-authority';
3
+ import { default as React, ReactNode } from 'react';
4
+
5
+ export interface InputSlotInputProps {
6
+ startAdornment?: ReactNode;
7
+ }
8
+ export interface InputSlotProps {
9
+ input?: InputSlotInputProps;
10
+ }
11
+ export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement>, VariantProps<typeof inputVariants> {
12
+ slotProps?: InputSlotProps;
13
+ }
@@ -0,0 +1,3 @@
1
+ export * from './Input';
2
+ export { Input as default } from './Input';
3
+ export type * from './Input.types';
@@ -0,0 +1,7 @@
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
+ };
@@ -0,0 +1,3 @@
1
+ export declare const inputVariants: (props?: ({
2
+ variant?: "default" | "grey" | null | undefined;
3
+ } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
@@ -0,0 +1,18 @@
1
+ import { cva as e } from "class-variance-authority";
2
+ const r = e(
3
+ "flex h-10 w-full rounded-md border border-input px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
4
+ {
5
+ variants: {
6
+ variant: {
7
+ default: "bg-background",
8
+ grey: "bg-slate-200"
9
+ }
10
+ },
11
+ defaultVariants: {
12
+ variant: "default"
13
+ }
14
+ }
15
+ );
16
+ export {
17
+ r as inputVariants
18
+ };
@@ -0,0 +1,7 @@
1
+ {
2
+ "sideEffects": false,
3
+ "main": "./index.mjs",
4
+ "module": "./index.mjs",
5
+ "default": "./index.mjs",
6
+ "types": "./index.d.ts"
7
+ }
@@ -0,0 +1,34 @@
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 };
@@ -0,0 +1,48 @@
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
+ };
@@ -0,0 +1 @@
1
+ export * from './InputOTP';
@@ -0,0 +1,7 @@
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
+ };
@@ -0,0 +1,7 @@
1
+ {
2
+ "sideEffects": false,
3
+ "main": "./index.mjs",
4
+ "module": "./index.mjs",
5
+ "default": "./index.mjs",
6
+ "types": "./index.d.ts"
7
+ }
@@ -0,0 +1,5 @@
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 };
@@ -0,0 +1,17 @@
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
+ };
@@ -0,0 +1,2 @@
1
+ export * from './Label';
2
+ export * from './labelVariants';
@@ -0,0 +1,6 @@
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
+ };
@@ -0,0 +1 @@
1
+ export declare const labelVariants: (props?: import('class-variance-authority/dist/types').ClassProp | undefined) => string;
@@ -0,0 +1,7 @@
1
+ import { cva as e } from "class-variance-authority";
2
+ const a = e(
3
+ "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
4
+ );
5
+ export {
6
+ a as labelVariants
7
+ };
@@ -0,0 +1,7 @@
1
+ {
2
+ "sideEffects": false,
3
+ "main": "./index.mjs",
4
+ "module": "./index.mjs",
5
+ "default": "./index.mjs",
6
+ "types": "./index.d.ts"
7
+ }
@@ -0,0 +1,20 @@
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;
@@ -0,0 +1,7 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { Suspense as m } from "react";
3
+ import { LoadingMask as t } from "../LoadingMask/LoadingMask.mjs";
4
+ const p = (r, a = !0) => (e) => /* @__PURE__ */ o(m, { fallback: a ? /* @__PURE__ */ o(t, {}) : null, children: /* @__PURE__ */ o(r, { ...e }) });
5
+ export {
6
+ p as LazyLoader
7
+ };
@@ -0,0 +1 @@
1
+ export { LazyLoader as default, LazyLoader } from './LazyLoader';
@@ -0,0 +1,5 @@
1
+ import { LazyLoader as o, LazyLoader as r } from "./LazyLoader.mjs";
2
+ export {
3
+ o as LazyLoader,
4
+ r as default
5
+ };
@@ -0,0 +1,7 @@
1
+ {
2
+ "sideEffects": false,
3
+ "main": "./index.mjs",
4
+ "module": "./index.mjs",
5
+ "default": "./index.mjs",
6
+ "types": "./index.d.ts"
7
+ }
@@ -0,0 +1 @@
1
+ export declare const LoadingMask: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,59 @@
1
+ import { jsx as r, jsxs as o } from "react/jsx-runtime";
2
+ const t = () => /* @__PURE__ */ r("div", { className: "flex flex-1 items-center justify-center", children: /* @__PURE__ */ o(
3
+ "svg",
4
+ {
5
+ className: "h-8 w-8 animate-spin text-gray-900 dark:text-gray-50",
6
+ viewBox: "0 0 24 24",
7
+ fill: "none",
8
+ xmlns: "http://www.w3.org/2000/svg",
9
+ children: [
10
+ /* @__PURE__ */ r("path", { d: "M12 4.75V6.25", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
11
+ /* @__PURE__ */ r(
12
+ "path",
13
+ {
14
+ d: "M17.1475 6.8525L16.0625 7.9375",
15
+ stroke: "currentColor",
16
+ strokeWidth: "2",
17
+ strokeLinecap: "round",
18
+ strokeLinejoin: "round"
19
+ }
20
+ ),
21
+ /* @__PURE__ */ r("path", { d: "M19.25 12H17.75", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
22
+ /* @__PURE__ */ r(
23
+ "path",
24
+ {
25
+ d: "M17.1475 17.1475L16.0625 16.0625",
26
+ stroke: "currentColor",
27
+ strokeWidth: "2",
28
+ strokeLinecap: "round",
29
+ strokeLinejoin: "round"
30
+ }
31
+ ),
32
+ /* @__PURE__ */ r("path", { d: "M12 17.75V19.25", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
33
+ /* @__PURE__ */ r(
34
+ "path",
35
+ {
36
+ d: "M6.8525 17.1475L7.9375 16.0625",
37
+ stroke: "currentColor",
38
+ strokeWidth: "2",
39
+ strokeLinecap: "round",
40
+ strokeLinejoin: "round"
41
+ }
42
+ ),
43
+ /* @__PURE__ */ r("path", { d: "M4.75 12H6.25", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
44
+ /* @__PURE__ */ r(
45
+ "path",
46
+ {
47
+ d: "M6.8525 6.8525L7.9375 7.9375",
48
+ stroke: "currentColor",
49
+ strokeWidth: "2",
50
+ strokeLinecap: "round",
51
+ strokeLinejoin: "round"
52
+ }
53
+ )
54
+ ]
55
+ }
56
+ ) });
57
+ export {
58
+ t as LoadingMask
59
+ };
@@ -0,0 +1 @@
1
+ export { LoadingMask } from './LoadingMask';
@@ -0,0 +1,4 @@
1
+ import { LoadingMask as r } from "./LoadingMask.mjs";
2
+ export {
3
+ r as LoadingMask
4
+ };
@@ -0,0 +1,7 @@
1
+ {
2
+ "sideEffects": false,
3
+ "main": "./index.mjs",
4
+ "module": "./index.mjs",
5
+ "default": "./index.mjs",
6
+ "types": "./index.d.ts"
7
+ }
@@ -0,0 +1,4 @@
1
+ import { ILoadingProgressProps } from './LoadingProgress.types';
2
+ import { FC } from 'react';
3
+
4
+ export declare const LoadingProgress: FC<ILoadingProgressProps>;
@@ -0,0 +1,37 @@
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
+ };
@@ -0,0 +1,8 @@
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
+ }