@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,139 @@
1
+ import { cva as r } from "class-variance-authority";
2
+ const e = r(
3
+ "aspect-square inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
4
+ {
5
+ variants: {
6
+ variant: {
7
+ contained: "border shadow",
8
+ outlined: "border bg-transparent hover:shadow-sm",
9
+ ghost: "bg-transparent hover:bg-accent hover:text-accent-foreground",
10
+ link: "underline-offset-4 hover:underline bg-transparent hover:bg-transparent"
11
+ },
12
+ color: {
13
+ primary: "",
14
+ secondary: "",
15
+ error: "",
16
+ success: "",
17
+ disabled: "contrast-50"
18
+ },
19
+ size: {
20
+ sm: "w-8 h-8 rounded-sm text-xs [&_svg]:size-4",
21
+ md: "w-9 h-9 px-4 rounded-md [&_svg]:size-5",
22
+ lg: "w-10 h-10 rounded-md [&_svg]:size-6",
23
+ icon: "h-9 w-9 [&_svg]:size-5 rounded-sm"
24
+ },
25
+ disabled: {
26
+ true: "cursor-not-allowed contrast-50",
27
+ false: "cursor-pointer"
28
+ },
29
+ rounded: {
30
+ true: "rounded-full",
31
+ false: ""
32
+ }
33
+ },
34
+ compoundVariants: [
35
+ // contained
36
+ {
37
+ variant: "contained",
38
+ color: "primary",
39
+ disabled: !1,
40
+ className: "bg-typography-primary border-typography-primary text-white dark:bg-gray-3 dark:border-gray-3 dark:text-typography-secondary"
41
+ },
42
+ {
43
+ variant: "contained",
44
+ color: "secondary",
45
+ disabled: !1,
46
+ className: "bg-gray-2 border-gray-2 text-typography-primary dark:bg-gray-3 dark:border-gray-3 dark:text-typography-secondary"
47
+ },
48
+ {
49
+ variant: "contained",
50
+ color: "error",
51
+ disabled: !1,
52
+ className: "bg-typography-error/90 border-typography-error/90 text-white dark:bg-typography-error/80 dark:border-typography-error/80 dark:text-typography-primary"
53
+ },
54
+ {
55
+ variant: "contained",
56
+ color: "success",
57
+ disabled: !1,
58
+ className: "bg-typography-success/90 border-typography-success/90 text-white dark:bg-typography-success/80 dark:border-typography-success/80 dark:text-typography-primary"
59
+ },
60
+ // outlined
61
+ {
62
+ variant: "outlined",
63
+ color: "primary",
64
+ disabled: !1,
65
+ className: "border-typography-primary text-typography-primary hover:bg-typography-primary/15"
66
+ },
67
+ {
68
+ variant: "outlined",
69
+ color: "secondary",
70
+ disabled: !1,
71
+ className: "border-border text-typography-secondary hover:bg-border-border/15"
72
+ },
73
+ {
74
+ variant: "outlined",
75
+ color: "error",
76
+ disabled: !1,
77
+ className: "border-typography-error text-typography-error hover:bg-typography-error/15"
78
+ },
79
+ {
80
+ variant: "outlined",
81
+ color: "success",
82
+ disabled: !1,
83
+ className: "border-typography-success text-typography-success hover:bg-typography-success/15"
84
+ },
85
+ // link - ghost
86
+ {
87
+ variant: ["link", "ghost"],
88
+ color: "primary",
89
+ className: "text-typography-primary"
90
+ },
91
+ {
92
+ variant: ["link", "ghost"],
93
+ color: "secondary",
94
+ className: "text-typography-secondary"
95
+ },
96
+ {
97
+ variant: ["link", "ghost"],
98
+ color: "success",
99
+ className: "text-typography-success"
100
+ },
101
+ {
102
+ variant: ["link", "ghost"],
103
+ color: "error",
104
+ className: "text-typography-error"
105
+ },
106
+ // ghost
107
+ {
108
+ variant: "ghost",
109
+ color: "primary",
110
+ className: "hover:bg-typography-primary/15"
111
+ },
112
+ {
113
+ variant: "ghost",
114
+ color: "secondary",
115
+ className: "hover:bg-typography-secondary/15"
116
+ },
117
+ {
118
+ variant: "ghost",
119
+ color: "success",
120
+ className: "hover:bg-typography-success/15"
121
+ },
122
+ {
123
+ variant: "ghost",
124
+ color: "error",
125
+ className: "hover:bg-typography-error/15"
126
+ }
127
+ ],
128
+ defaultVariants: {
129
+ variant: "contained",
130
+ size: "md",
131
+ color: "primary",
132
+ disabled: !1,
133
+ rounded: !1
134
+ }
135
+ }
136
+ );
137
+ export {
138
+ e as buttonIconVariants
139
+ };
@@ -0,0 +1,3 @@
1
+ export { ButtonIcon as default, ButtonIcon } from './ButtonIcon';
2
+ export * from './buttonIconVariants';
3
+ export type * from './ButtonIcon.types';
@@ -0,0 +1,7 @@
1
+ import { ButtonIcon as n, ButtonIcon as r } from "./ButtonIcon.mjs";
2
+ import { buttonIconVariants as u } from "./buttonIconVariants.mjs";
3
+ export {
4
+ n as ButtonIcon,
5
+ u as buttonIconVariants,
6
+ r as default
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,8 @@
1
+ import { DayPicker } from 'react-day-picker';
2
+ import * as React from "react";
3
+ export type CalendarProps = React.ComponentProps<typeof DayPicker>;
4
+ declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps): import("react/jsx-runtime").JSX.Element;
5
+ declare namespace Calendar {
6
+ var displayName: string;
7
+ }
8
+ export { Calendar };
@@ -0,0 +1,63 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { ChevronLeft as i, ChevronRight as l } from "lucide-react";
3
+ import { DayPicker as m } from "react-day-picker";
4
+ import { cn as e } from "@oneplatformdev/utils";
5
+ import "../Button/Button.mjs";
6
+ import { buttonVariants as o } from "../Button/buttonVariants.mjs";
7
+ function u({
8
+ className: n,
9
+ classNames: s,
10
+ showOutsideDays: c = !0,
11
+ ...d
12
+ }) {
13
+ return /* @__PURE__ */ r(
14
+ m,
15
+ {
16
+ showOutsideDays: c,
17
+ className: e("p-3", n),
18
+ classNames: {
19
+ months: "flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",
20
+ month: "space-y-4",
21
+ caption: "flex justify-center pt-1 relative items-center",
22
+ caption_label: "text-sm font-medium",
23
+ nav: "space-x-1 flex items-center",
24
+ nav_button: e(
25
+ o({ variant: "outline" }),
26
+ "h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"
27
+ ),
28
+ nav_button_previous: "absolute left-1",
29
+ nav_button_next: "absolute right-1",
30
+ table: "w-full border-collapse space-y-1",
31
+ head_row: "flex",
32
+ head_cell: "text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]",
33
+ row: "flex w-full mt-2",
34
+ cell: e(
35
+ "relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected].day-range-end)]:rounded-r-md",
36
+ d.mode === "range" ? "[&:has(>.day-range-end)]:rounded-r-md [&:has(>.day-range-start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md" : "[&:has([aria-selected])]:rounded-md"
37
+ ),
38
+ day: e(
39
+ o({ variant: "ghost" }),
40
+ "h-8 w-8 p-0 font-normal aria-selected:opacity-100"
41
+ ),
42
+ day_range_start: "day-range-start",
43
+ day_range_end: "day-range-end",
44
+ day_selected: "bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",
45
+ day_today: "bg-accent text-accent-foreground",
46
+ day_outside: "day-outside text-muted-foreground aria-selected:bg-accent/50 aria-selected:text-muted-foreground",
47
+ day_disabled: "text-muted-foreground opacity-50",
48
+ day_range_middle: "aria-selected:bg-accent aria-selected:text-accent-foreground",
49
+ day_hidden: "invisible",
50
+ ...s
51
+ },
52
+ components: {
53
+ IconLeft: ({ className: a, ...t }) => /* @__PURE__ */ r(i, { className: e("h-4 w-4", a), ...t }),
54
+ IconRight: ({ className: a, ...t }) => /* @__PURE__ */ r(l, { className: e("h-4 w-4", a), ...t })
55
+ },
56
+ ...d
57
+ }
58
+ );
59
+ }
60
+ u.displayName = "Calendar";
61
+ export {
62
+ u as Calendar
63
+ };
@@ -0,0 +1 @@
1
+ export * from './Calendar';
@@ -0,0 +1,4 @@
1
+ import { Calendar as e } from "./Calendar.mjs";
2
+ export {
3
+ e as Calendar
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
+ }
package/Card/Card.d.ts ADDED
@@ -0,0 +1,8 @@
1
+ import * as React from "react";
2
+ declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
3
+ declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
4
+ declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
5
+ declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
6
+ declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
7
+ declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
8
+ export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent };
package/Card/Card.mjs ADDED
@@ -0,0 +1,61 @@
1
+ import { jsx as d } from "react/jsx-runtime";
2
+ import * as o from "react";
3
+ import { cn as t } from "@oneplatformdev/utils";
4
+ const s = o.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ d(
5
+ "div",
6
+ {
7
+ ref: r,
8
+ className: t(
9
+ "rounded-xl border bg-card text-card-foreground shadow",
10
+ a
11
+ ),
12
+ ...e
13
+ }
14
+ ));
15
+ s.displayName = "Card";
16
+ const i = o.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ d(
17
+ "div",
18
+ {
19
+ ref: r,
20
+ className: t("flex flex-col space-y-1.5 p-6", a),
21
+ ...e
22
+ }
23
+ ));
24
+ i.displayName = "CardHeader";
25
+ const c = o.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ d(
26
+ "div",
27
+ {
28
+ ref: r,
29
+ className: t("font-semibold leading-none tracking-tight", a),
30
+ ...e
31
+ }
32
+ ));
33
+ c.displayName = "CardTitle";
34
+ const m = o.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ d(
35
+ "div",
36
+ {
37
+ ref: r,
38
+ className: t("text-sm text-muted-foreground", a),
39
+ ...e
40
+ }
41
+ ));
42
+ m.displayName = "CardDescription";
43
+ const n = o.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ d("div", { ref: r, className: t("p-6 pt-0", a), ...e }));
44
+ n.displayName = "CardContent";
45
+ const f = o.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ d(
46
+ "div",
47
+ {
48
+ ref: r,
49
+ className: t("flex items-center p-6 pt-0", a),
50
+ ...e
51
+ }
52
+ ));
53
+ f.displayName = "CardFooter";
54
+ export {
55
+ s as Card,
56
+ n as CardContent,
57
+ m as CardDescription,
58
+ f as CardFooter,
59
+ i as CardHeader,
60
+ c as CardTitle
61
+ };
@@ -0,0 +1 @@
1
+ export * from './Card';
package/Card/index.mjs ADDED
@@ -0,0 +1,9 @@
1
+ import { Card as d, CardContent as e, CardDescription as C, CardFooter as o, CardHeader as t, CardTitle as i } from "./Card.mjs";
2
+ export {
3
+ d as Card,
4
+ e as CardContent,
5
+ C as CardDescription,
6
+ o as CardFooter,
7
+ t as CardHeader,
8
+ i as CardTitle
9
+ };
@@ -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,18 @@
1
+ import { default as useEmblaCarousel, UseEmblaCarouselType } from 'embla-carousel-react';
2
+ import * as React from "react";
3
+ type CarouselApi = UseEmblaCarouselType[1];
4
+ type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
5
+ type CarouselOptions = UseCarouselParameters[0];
6
+ type CarouselPlugin = UseCarouselParameters[1];
7
+ type CarouselProps = {
8
+ opts?: CarouselOptions;
9
+ plugins?: CarouselPlugin;
10
+ orientation?: "horizontal" | "vertical";
11
+ setApi?: (api: CarouselApi) => void;
12
+ };
13
+ declare const Carousel: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & CarouselProps & React.RefAttributes<HTMLDivElement>>;
14
+ declare const CarouselContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
15
+ declare const CarouselItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
16
+ declare const CarouselPrevious: React.ForwardRefExoticComponent<Omit<import('../Button').ButtonProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
17
+ declare const CarouselNext: React.ForwardRefExoticComponent<Omit<import('../Button').ButtonProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
18
+ export { type CarouselApi, Carousel, CarouselContent, CarouselItem, CarouselPrevious, CarouselNext, };
@@ -0,0 +1,168 @@
1
+ import { jsx as s, jsxs as x } from "react/jsx-runtime";
2
+ import * as r from "react";
3
+ import k from "embla-carousel-react";
4
+ import { ArrowLeft as z, ArrowRight as g } from "lucide-react";
5
+ import { cn as m } from "@oneplatformdev/utils";
6
+ import { Button as w } from "../Button/Button.mjs";
7
+ import "../Button/buttonVariants.mjs";
8
+ const v = r.createContext(null);
9
+ function C() {
10
+ const o = r.useContext(v);
11
+ if (!o)
12
+ throw new Error("useCarousel must be used within a <Carousel />");
13
+ return o;
14
+ }
15
+ const D = r.forwardRef(
16
+ ({
17
+ orientation: o = "horizontal",
18
+ opts: l,
19
+ setApi: t,
20
+ plugins: a,
21
+ className: c,
22
+ children: i,
23
+ ...u
24
+ }, f) => {
25
+ const [y, e] = k(
26
+ {
27
+ ...l,
28
+ axis: o === "horizontal" ? "x" : "y"
29
+ },
30
+ a
31
+ ), [b, p] = r.useState(!1), [P, S] = r.useState(!1), d = r.useCallback((n) => {
32
+ n && (p(n.canScrollPrev()), S(n.canScrollNext()));
33
+ }, []), h = r.useCallback(() => {
34
+ e == null || e.scrollPrev();
35
+ }, [e]), N = r.useCallback(() => {
36
+ e == null || e.scrollNext();
37
+ }, [e]), R = r.useCallback(
38
+ (n) => {
39
+ n.key === "ArrowLeft" ? (n.preventDefault(), h()) : n.key === "ArrowRight" && (n.preventDefault(), N());
40
+ },
41
+ [h, N]
42
+ );
43
+ return r.useEffect(() => {
44
+ !e || !t || t(e);
45
+ }, [e, t]), r.useEffect(() => {
46
+ if (e)
47
+ return d(e), e.on("reInit", d), e.on("select", d), () => {
48
+ e == null || e.off("select", d);
49
+ };
50
+ }, [e, d]), /* @__PURE__ */ s(
51
+ v.Provider,
52
+ {
53
+ value: {
54
+ carouselRef: y,
55
+ api: e,
56
+ opts: l,
57
+ orientation: o || ((l == null ? void 0 : l.axis) === "y" ? "vertical" : "horizontal"),
58
+ scrollPrev: h,
59
+ scrollNext: N,
60
+ canScrollPrev: b,
61
+ canScrollNext: P
62
+ },
63
+ children: /* @__PURE__ */ s(
64
+ "div",
65
+ {
66
+ ref: f,
67
+ onKeyDownCapture: R,
68
+ className: m("relative", c),
69
+ role: "region",
70
+ "aria-roledescription": "carousel",
71
+ ...u,
72
+ children: i
73
+ }
74
+ )
75
+ }
76
+ );
77
+ }
78
+ );
79
+ D.displayName = "Carousel";
80
+ const E = r.forwardRef(({ className: o, ...l }, t) => {
81
+ const { carouselRef: a, orientation: c } = C();
82
+ return /* @__PURE__ */ s("div", { ref: a, className: "overflow-hidden", children: /* @__PURE__ */ s(
83
+ "div",
84
+ {
85
+ ref: t,
86
+ className: m(
87
+ "flex",
88
+ c === "horizontal" ? "-ml-4" : "-mt-4 flex-col",
89
+ o
90
+ ),
91
+ ...l
92
+ }
93
+ ) });
94
+ });
95
+ E.displayName = "CarouselContent";
96
+ const I = r.forwardRef(({ className: o, ...l }, t) => {
97
+ const { orientation: a } = C();
98
+ return /* @__PURE__ */ s(
99
+ "div",
100
+ {
101
+ ref: t,
102
+ role: "group",
103
+ "aria-roledescription": "slide",
104
+ className: m(
105
+ "min-w-0 shrink-0 grow-0 basis-full",
106
+ a === "horizontal" ? "pl-4" : "pt-4",
107
+ o
108
+ ),
109
+ ...l
110
+ }
111
+ );
112
+ });
113
+ I.displayName = "CarouselItem";
114
+ const j = r.forwardRef(({ className: o, variant: l = "outline", size: t = "icon", ...a }, c) => {
115
+ const { orientation: i, scrollPrev: u, canScrollPrev: f } = C();
116
+ return /* @__PURE__ */ x(
117
+ w,
118
+ {
119
+ ref: c,
120
+ variant: l,
121
+ size: t,
122
+ className: m(
123
+ "absolute h-8 w-8 rounded-full",
124
+ i === "horizontal" ? "-left-12 top-1/2 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90",
125
+ o
126
+ ),
127
+ disabled: !f,
128
+ onClick: u,
129
+ ...a,
130
+ children: [
131
+ /* @__PURE__ */ s(z, { className: "h-4 w-4" }),
132
+ /* @__PURE__ */ s("span", { className: "sr-only", children: "Previous slide" })
133
+ ]
134
+ }
135
+ );
136
+ });
137
+ j.displayName = "CarouselPrevious";
138
+ const A = r.forwardRef(({ className: o, variant: l = "outline", size: t = "icon", ...a }, c) => {
139
+ const { orientation: i, scrollNext: u, canScrollNext: f } = C();
140
+ return /* @__PURE__ */ x(
141
+ w,
142
+ {
143
+ ref: c,
144
+ variant: l,
145
+ size: t,
146
+ className: m(
147
+ "absolute h-8 w-8 rounded-full",
148
+ i === "horizontal" ? "-right-12 top-1/2 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",
149
+ o
150
+ ),
151
+ disabled: !f,
152
+ onClick: u,
153
+ ...a,
154
+ children: [
155
+ /* @__PURE__ */ s(g, { className: "h-4 w-4" }),
156
+ /* @__PURE__ */ s("span", { className: "sr-only", children: "Next slide" })
157
+ ]
158
+ }
159
+ );
160
+ });
161
+ A.displayName = "CarouselNext";
162
+ export {
163
+ D as Carousel,
164
+ E as CarouselContent,
165
+ I as CarouselItem,
166
+ A as CarouselNext,
167
+ j as CarouselPrevious
168
+ };
@@ -0,0 +1 @@
1
+ export * from './Carousel';
@@ -0,0 +1,8 @@
1
+ import { Carousel as r, CarouselContent as s, CarouselItem as u, CarouselNext as C, CarouselPrevious as a } from "./Carousel.mjs";
2
+ export {
3
+ r as Carousel,
4
+ s as CarouselContent,
5
+ u as CarouselItem,
6
+ C as CarouselNext,
7
+ a as CarouselPrevious
8
+ };
@@ -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,62 @@
1
+ import * as React from "react";
2
+ import * as RechartsPrimitive from "recharts";
3
+ declare const THEMES: {
4
+ readonly light: "";
5
+ readonly dark: ".dark";
6
+ };
7
+ export type ChartConfig = {
8
+ [k in string]: {
9
+ label?: React.ReactNode;
10
+ icon?: React.ComponentType;
11
+ } & ({
12
+ color?: string;
13
+ theme?: never;
14
+ } | {
15
+ color?: never;
16
+ theme: Record<keyof typeof THEMES, string>;
17
+ });
18
+ };
19
+ declare const ChartContainer: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
20
+ config: ChartConfig;
21
+ children: React.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
22
+ }, "ref"> & React.RefAttributes<HTMLDivElement>>;
23
+ declare const ChartStyle: ({ id, config }: {
24
+ id: string;
25
+ config: ChartConfig;
26
+ }) => import("react/jsx-runtime").JSX.Element | null;
27
+ declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
28
+ declare const ChartTooltipContent: React.ForwardRefExoticComponent<Omit<RechartsPrimitive.DefaultTooltipContentProps<import('recharts/types/component/DefaultTooltipContent').ValueType, import('recharts/types/component/DefaultTooltipContent').NameType> & {
29
+ accessibilityLayer?: boolean;
30
+ active?: boolean | undefined;
31
+ includeHidden?: boolean | undefined;
32
+ allowEscapeViewBox?: import('recharts/types/util/types').AllowInDimension;
33
+ animationDuration?: import('recharts/types/util/types').AnimationDuration;
34
+ animationEasing?: import('recharts/types/util/types').AnimationTiming;
35
+ content?: import('recharts/types/component/Tooltip').ContentType<import('recharts/types/component/DefaultTooltipContent').ValueType, import('recharts/types/component/DefaultTooltipContent').NameType> | undefined;
36
+ coordinate?: Partial<import('recharts/types/util/types').Coordinate>;
37
+ cursor?: boolean | React.ReactElement | React.SVGProps<SVGElement>;
38
+ filterNull?: boolean;
39
+ defaultIndex?: number;
40
+ isAnimationActive?: boolean;
41
+ offset?: number;
42
+ payloadUniqBy?: import('recharts/types/util/payload/getUniqPayload').UniqueOption<import('recharts/types/component/DefaultTooltipContent').Payload<import('recharts/types/component/DefaultTooltipContent').ValueType, import('recharts/types/component/DefaultTooltipContent').NameType>> | undefined;
43
+ position?: Partial<import('recharts/types/util/types').Coordinate>;
44
+ reverseDirection?: import('recharts/types/util/types').AllowInDimension;
45
+ shared?: boolean;
46
+ trigger?: "hover" | "click";
47
+ useTranslate3d?: boolean;
48
+ viewBox?: import('recharts/types/util/types').CartesianViewBox;
49
+ wrapperStyle?: React.CSSProperties;
50
+ } & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
51
+ hideLabel?: boolean;
52
+ hideIndicator?: boolean;
53
+ indicator?: "line" | "dot" | "dashed";
54
+ nameKey?: string;
55
+ labelKey?: string;
56
+ }, "ref"> & React.RefAttributes<HTMLDivElement>>;
57
+ declare const ChartLegend: typeof RechartsPrimitive.Legend;
58
+ declare const ChartLegendContent: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Pick<RechartsPrimitive.LegendProps, "payload" | "verticalAlign"> & {
59
+ hideIcon?: boolean;
60
+ nameKey?: string;
61
+ }, "ref"> & React.RefAttributes<HTMLDivElement>>;
62
+ export { ChartContainer, ChartTooltip, ChartTooltipContent, ChartLegend, ChartLegendContent, ChartStyle, };