@lotte-innovate/ui-component-test 0.0.37 → 0.0.41

Sign up to get free protection for your applications and to get access to all the features.
Files changed (254) hide show
  1. package/README.md +133 -163
  2. package/dist/globals.css +4 -0
  3. package/dist/lib/Typography/Header/index.d.ts +2 -2
  4. package/dist/lib/Typography/Text/index.d.ts +1 -1
  5. package/dist/lib/color/constants.d.ts +9 -0
  6. package/dist/lib/components/Accordion/index.d.ts +10 -4
  7. package/dist/lib/components/AlertDialog/AlertDialogAction.d.ts +2 -2
  8. package/dist/lib/components/AlertDialog/AlertDialogCancel.d.ts +2 -2
  9. package/dist/lib/components/AlertDialog/AlertDialogContent.d.ts +1 -1
  10. package/dist/lib/components/AlertDialog/AlertDialogRoot.d.ts +16 -0
  11. package/dist/lib/components/AlertDialog/AlertDialogTrigger.d.ts +2 -2
  12. package/dist/lib/components/AlertDialog/index.d.ts +10 -19
  13. package/dist/lib/components/Avatar/index.d.ts +5 -1
  14. package/dist/lib/components/Badge/index.d.ts +2 -2
  15. package/dist/lib/components/BarChart/index.d.ts +37 -0
  16. package/dist/lib/components/BubbleChart/index.d.ts +15 -19
  17. package/dist/lib/components/Button/index.d.ts +2 -2
  18. package/dist/lib/components/Callout/CalloutIcon.d.ts +2 -1
  19. package/dist/lib/components/Callout/CalloutRoot.d.ts +18 -0
  20. package/dist/lib/components/Callout/index.d.ts +6 -19
  21. package/dist/lib/components/Card/index.d.ts +2 -2
  22. package/dist/lib/components/Checkbox/index.d.ts +1 -1
  23. package/dist/lib/components/CheckboxCard/index.d.ts +1 -1
  24. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +17 -0
  25. package/dist/lib/components/CheckboxGroup/index.d.ts +5 -16
  26. package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.d.ts +1 -1
  27. package/dist/lib/components/ContextMenu/ContextMenuContent.d.ts +1 -1
  28. package/dist/lib/components/ContextMenu/ContextMenuGroup.d.ts +1 -1
  29. package/dist/lib/components/ContextMenu/ContextMenuItem.d.ts +1 -1
  30. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.d.ts +1 -1
  31. package/dist/lib/components/ContextMenu/ContextMenuRadioItem.d.ts +1 -1
  32. package/dist/lib/components/ContextMenu/ContextMenuRoot.d.ts +13 -0
  33. package/dist/lib/components/ContextMenu/ContextMenuSubContent.d.ts +1 -1
  34. package/dist/lib/components/ContextMenu/ContextMenuTrigger.d.ts +1 -1
  35. package/dist/lib/components/ContextMenu/index.d.ts +16 -24
  36. package/dist/lib/components/DataList/DataListLabel.d.ts +1 -1
  37. package/dist/lib/components/DataList/DataListRoot.d.ts +14 -0
  38. package/dist/lib/components/DataList/DataListValue.d.ts +1 -1
  39. package/dist/lib/components/DataList/index.d.ts +7 -16
  40. package/dist/lib/components/Dialog/DialogAction.d.ts +1 -3
  41. package/dist/lib/components/Dialog/DialogCancel.d.ts +1 -1
  42. package/dist/lib/components/Dialog/DialogContent.d.ts +1 -1
  43. package/dist/lib/components/Dialog/DialogRoot.d.ts +15 -0
  44. package/dist/lib/components/Dialog/index.d.ts +14 -17
  45. package/dist/lib/components/DoughnutChart/index.d.ts +12 -14
  46. package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.d.ts +0 -5
  47. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.d.ts +1 -1
  48. package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.d.ts +1 -1
  49. package/dist/lib/components/DropdownMenu/DropdownMenuContent.d.ts +1 -1
  50. package/dist/lib/components/DropdownMenu/DropdownMenuItem.d.ts +3 -1
  51. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +1 -1
  52. package/dist/lib/components/DropdownMenu/DropdownMenuLable.d.ts +0 -1
  53. package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.d.ts +4 -2
  54. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.d.ts +15 -0
  55. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +3 -2
  56. package/dist/lib/components/DropdownMenu/index.d.ts +19 -22
  57. package/dist/lib/components/HoverCard/HoverCardContent.d.ts +2 -2
  58. package/dist/lib/components/HoverCard/HoverCardRoot.d.ts +11 -0
  59. package/dist/lib/components/HoverCard/index.d.ts +9 -9
  60. package/dist/lib/components/IconButton/index.d.ts +1 -1
  61. package/dist/lib/components/Inset/index.d.ts +1 -1
  62. package/dist/lib/components/Label/index.d.ts +1 -1
  63. package/dist/lib/components/LineChart/index.d.ts +43 -0
  64. package/dist/lib/components/Menubar/MenubarContent.d.ts +1 -1
  65. package/dist/lib/components/Menubar/MenubarItem.d.ts +1 -1
  66. package/dist/lib/components/Menubar/MenubarItemIndicator.d.ts +1 -1
  67. package/dist/lib/components/Menubar/MenubarMenu.d.ts +4 -1
  68. package/dist/lib/components/Menubar/MenubarRoot.d.ts +19 -0
  69. package/dist/lib/components/Menubar/MenubarSubContent.d.ts +1 -1
  70. package/dist/lib/components/Menubar/MenubarTrigger.d.ts +1 -1
  71. package/dist/lib/components/Menubar/index.d.ts +18 -30
  72. package/dist/lib/components/NavigationMenu/NavigationMenuContent.d.ts +1 -1
  73. package/dist/lib/components/NavigationMenu/NavigationMenuLink.d.ts +1 -1
  74. package/dist/lib/components/NavigationMenu/NavigationMenuList.d.ts +1 -1
  75. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.d.ts +14 -0
  76. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.d.ts +1 -1
  77. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.d.ts +2 -2
  78. package/dist/lib/components/NavigationMenu/index.d.ts +11 -20
  79. package/dist/lib/components/PieChart/index.d.ts +12 -14
  80. package/dist/lib/components/Popover/PopoverClose.d.ts +1 -1
  81. package/dist/lib/components/Popover/PopoverContent.d.ts +1 -1
  82. package/dist/lib/components/Popover/PopoverRoot.d.ts +12 -0
  83. package/dist/lib/components/Popover/index.d.ts +10 -11
  84. package/dist/lib/components/Progress/index.d.ts +2 -5
  85. package/dist/lib/components/RadarChart/index.d.ts +19 -22
  86. package/dist/lib/components/Radio/index.d.ts +0 -1
  87. package/dist/lib/components/RadioCards/RadioCardsItem.d.ts +1 -1
  88. package/dist/lib/components/RadioCards/RadioCardsRoot.d.ts +13 -0
  89. package/dist/lib/components/RadioCards/index.d.ts +5 -13
  90. package/dist/lib/components/RadioGroup/RadioGroupRoot.d.ts +15 -0
  91. package/dist/lib/components/RadioGroup/index.d.ts +5 -15
  92. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +14 -0
  93. package/dist/lib/components/SegmentedControl/index.d.ts +5 -14
  94. package/dist/lib/components/Select/index.d.ts +17 -8
  95. package/dist/lib/components/Skeleton/index.d.ts +1 -2
  96. package/dist/lib/components/Slider/index.d.ts +1 -2
  97. package/dist/lib/components/TabNav/index.d.ts +6 -2
  98. package/dist/lib/components/Table/index.d.ts +17 -8
  99. package/dist/lib/components/Tabs/index.d.ts +11 -5
  100. package/dist/lib/components/TextArea/index.d.ts +1 -1
  101. package/dist/lib/components/TextField/index.d.ts +7 -4
  102. package/dist/lib/components/Toast/ToastActionButton.d.ts +1 -1
  103. package/dist/lib/components/Toast/ToastRoot.d.ts +27 -0
  104. package/dist/lib/components/Toast/index.d.ts +7 -29
  105. package/dist/lib/components/Toggle/ToggleWithText.d.ts +2 -2
  106. package/dist/lib/components/Toggle/index.d.ts +1 -1
  107. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.d.ts +15 -0
  108. package/dist/lib/components/ToggleGroup/index.d.ts +5 -19
  109. package/dist/lib/components/ToggleSwitch/index.d.ts +1 -1
  110. package/dist/lib/components/Tooltip/index.d.ts +4 -5
  111. package/dist/lib/components/index.d.ts +4 -0
  112. package/dist/lib/constants.d.ts +470 -0
  113. package/dist/lib/types.d.ts +70 -0
  114. package/dist/lib/utils/useDarkMode.d.ts +1 -0
  115. package/dist/lib/utils/utils.d.ts +0 -1
  116. package/package.json +137 -125
  117. package/dist/lib/Typography/Header/index.jsx +0 -58
  118. package/dist/lib/Typography/Text/index.jsx +0 -47
  119. package/dist/lib/Typography/index.js +0 -2
  120. package/dist/lib/color/alpha.js +0 -784
  121. package/dist/lib/color/constants.js +0 -200
  122. package/dist/lib/color/dark.js +0 -392
  123. package/dist/lib/color/krdsColors.js +0 -309
  124. package/dist/lib/color/light.js +0 -393
  125. package/dist/lib/components/Accordion/index.jsx +0 -70
  126. package/dist/lib/components/AlertDialog/AlertDialogAction.jsx +0 -60
  127. package/dist/lib/components/AlertDialog/AlertDialogCancel.jsx +0 -57
  128. package/dist/lib/components/AlertDialog/AlertDialogContent.jsx +0 -53
  129. package/dist/lib/components/AlertDialog/AlertDialogDescription.jsx +0 -35
  130. package/dist/lib/components/AlertDialog/AlertDialogTitle.jsx +0 -35
  131. package/dist/lib/components/AlertDialog/AlertDialogTrigger.jsx +0 -56
  132. package/dist/lib/components/AlertDialog/index.jsx +0 -27
  133. package/dist/lib/components/AspectRatio/index.jsx +0 -43
  134. package/dist/lib/components/Avatar/index.jsx +0 -61
  135. package/dist/lib/components/Badge/index.jsx +0 -55
  136. package/dist/lib/components/BubbleChart/index.jsx +0 -43
  137. package/dist/lib/components/Button/index.jsx +0 -57
  138. package/dist/lib/components/Callout/CalloutIcon.jsx +0 -62
  139. package/dist/lib/components/Callout/CalloutText.jsx +0 -42
  140. package/dist/lib/components/Callout/index.jsx +0 -78
  141. package/dist/lib/components/Card/index.jsx +0 -65
  142. package/dist/lib/components/Checkbox/index.jsx +0 -97
  143. package/dist/lib/components/CheckboxCard/index.jsx +0 -60
  144. package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.jsx +0 -25
  145. package/dist/lib/components/CheckboxGroup/index.jsx +0 -38
  146. package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.jsx +0 -33
  147. package/dist/lib/components/ContextMenu/ContextMenuContent.jsx +0 -59
  148. package/dist/lib/components/ContextMenu/ContextMenuGroup.jsx +0 -20
  149. package/dist/lib/components/ContextMenu/ContextMenuItem.jsx +0 -61
  150. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.jsx +0 -51
  151. package/dist/lib/components/ContextMenu/ContextMenuLabel.jsx +0 -49
  152. package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.jsx +0 -23
  153. package/dist/lib/components/ContextMenu/ContextMenuRadioItem.jsx +0 -34
  154. package/dist/lib/components/ContextMenu/ContextMenuSeparator.jsx +0 -21
  155. package/dist/lib/components/ContextMenu/ContextMenuSubContent.jsx +0 -56
  156. package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.jsx +0 -35
  157. package/dist/lib/components/ContextMenu/ContextMenuTrigger.jsx +0 -21
  158. package/dist/lib/components/ContextMenu/index.jsx +0 -46
  159. package/dist/lib/components/DataList/DataListItem.jsx +0 -44
  160. package/dist/lib/components/DataList/DataListLabel.jsx +0 -50
  161. package/dist/lib/components/DataList/DataListValue.jsx +0 -52
  162. package/dist/lib/components/DataList/index.jsx +0 -49
  163. package/dist/lib/components/Dialog/DialogAction.jsx +0 -47
  164. package/dist/lib/components/Dialog/DialogCancel.jsx +0 -43
  165. package/dist/lib/components/Dialog/DialogContent.jsx +0 -56
  166. package/dist/lib/components/Dialog/DialogDescription.jsx +0 -35
  167. package/dist/lib/components/Dialog/DialogSlot.jsx +0 -34
  168. package/dist/lib/components/Dialog/DialogTitle.jsx +0 -35
  169. package/dist/lib/components/Dialog/DialogTrigger.jsx +0 -20
  170. package/dist/lib/components/Dialog/index.jsx +0 -28
  171. package/dist/lib/components/DoughnutChart/index.jsx +0 -46
  172. package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.jsx +0 -23
  173. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.jsx +0 -61
  174. package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.jsx +0 -31
  175. package/dist/lib/components/DropdownMenu/DropdownMenuContent.jsx +0 -57
  176. package/dist/lib/components/DropdownMenu/DropdownMenuItem.jsx +0 -58
  177. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.jsx +0 -47
  178. package/dist/lib/components/DropdownMenu/DropdownMenuLable.jsx +0 -47
  179. package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.jsx +0 -32
  180. package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.jsx +0 -19
  181. package/dist/lib/components/DropdownMenu/DropdownMenuSub.jsx +0 -18
  182. package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.jsx +0 -31
  183. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.jsx +0 -41
  184. package/dist/lib/components/DropdownMenu/index.jsx +0 -31
  185. package/dist/lib/components/HoverCard/HoverCardContent.jsx +0 -60
  186. package/dist/lib/components/HoverCard/HoverCardTrigger.jsx +0 -20
  187. package/dist/lib/components/HoverCard/index.jsx +0 -23
  188. package/dist/lib/components/IconButton/index.jsx +0 -64
  189. package/dist/lib/components/Inset/index.jsx +0 -53
  190. package/dist/lib/components/Label/index.jsx +0 -54
  191. package/dist/lib/components/Menubar/MenubarCheckboxItem.jsx +0 -31
  192. package/dist/lib/components/Menubar/MenubarContent.jsx +0 -63
  193. package/dist/lib/components/Menubar/MenubarItem.jsx +0 -56
  194. package/dist/lib/components/Menubar/MenubarItemIndicator.jsx +0 -50
  195. package/dist/lib/components/Menubar/MenubarMenu.jsx +0 -18
  196. package/dist/lib/components/Menubar/MenubarRadioGroup.jsx +0 -23
  197. package/dist/lib/components/Menubar/MenubarRadioItem.jsx +0 -33
  198. package/dist/lib/components/Menubar/MenubarSeparator.jsx +0 -21
  199. package/dist/lib/components/Menubar/MenubarSub.jsx +0 -18
  200. package/dist/lib/components/Menubar/MenubarSubContent.jsx +0 -52
  201. package/dist/lib/components/Menubar/MenubarSubTrigger.jsx +0 -34
  202. package/dist/lib/components/Menubar/MenubarTrigger.jsx +0 -58
  203. package/dist/lib/components/Menubar/index.jsx +0 -76
  204. package/dist/lib/components/NavigationMenu/NavigationMenuContent.jsx +0 -49
  205. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.jsx +0 -22
  206. package/dist/lib/components/NavigationMenu/NavigationMenuItem.jsx +0 -20
  207. package/dist/lib/components/NavigationMenu/NavigationMenuLink.jsx +0 -52
  208. package/dist/lib/components/NavigationMenu/NavigationMenuList.jsx +0 -49
  209. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.jsx +0 -60
  210. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.jsx +0 -54
  211. package/dist/lib/components/NavigationMenu/index.jsx +0 -42
  212. package/dist/lib/components/PieChart/index.jsx +0 -46
  213. package/dist/lib/components/Popover/PopoverClose.jsx +0 -36
  214. package/dist/lib/components/Popover/PopoverContent.jsx +0 -64
  215. package/dist/lib/components/Popover/PopoverTrigger.jsx +0 -20
  216. package/dist/lib/components/Popover/index.jsx +0 -24
  217. package/dist/lib/components/Progress/index.jsx +0 -58
  218. package/dist/lib/components/RadarChart/index.jsx +0 -43
  219. package/dist/lib/components/Radio/index.jsx +0 -46
  220. package/dist/lib/components/RadioCards/RadioCardsItem.jsx +0 -42
  221. package/dist/lib/components/RadioCards/index.jsx +0 -46
  222. package/dist/lib/components/RadioGroup/RadioGroupItem.jsx +0 -34
  223. package/dist/lib/components/RadioGroup/index.jsx +0 -43
  224. package/dist/lib/components/ScrollArea/index.jsx +0 -28
  225. package/dist/lib/components/SegmentedControl/SegmentedControlItem.jsx +0 -25
  226. package/dist/lib/components/SegmentedControl/index.jsx +0 -51
  227. package/dist/lib/components/Select/index.jsx +0 -100
  228. package/dist/lib/components/Separator/index.jsx +0 -50
  229. package/dist/lib/components/Skeleton/index.jsx +0 -46
  230. package/dist/lib/components/Slider/index.jsx +0 -51
  231. package/dist/lib/components/Spinner/index.jsx +0 -50
  232. package/dist/lib/components/TabNav/index.jsx +0 -40
  233. package/dist/lib/components/Table/index.jsx +0 -104
  234. package/dist/lib/components/Tabs/index.jsx +0 -68
  235. package/dist/lib/components/TextArea/index.jsx +0 -59
  236. package/dist/lib/components/TextField/index.jsx +0 -58
  237. package/dist/lib/components/Toast/ToastActionButton.jsx +0 -68
  238. package/dist/lib/components/Toast/ToastDescription.jsx +0 -45
  239. package/dist/lib/components/Toast/ToastTitle.jsx +0 -43
  240. package/dist/lib/components/Toast/index.jsx +0 -100
  241. package/dist/lib/components/Toggle/ToggleWithText.jsx +0 -59
  242. package/dist/lib/components/Toggle/index.jsx +0 -59
  243. package/dist/lib/components/ToggleGroup/index.jsx +0 -46
  244. package/dist/lib/components/ToggleGroup/toggleGroupItem.jsx +0 -42
  245. package/dist/lib/components/ToggleSwitch/index.jsx +0 -75
  246. package/dist/lib/components/Tooltip/index.jsx +0 -58
  247. package/dist/lib/components/index.js +0 -48
  248. package/dist/lib/constants.js +0 -569
  249. package/dist/lib/index.js +0 -2
  250. package/dist/lib/types.js +0 -1
  251. package/dist/lib/utils/utils.js +0 -27
  252. package/dist/styles.css +0 -27469
  253. package/dist/tailwind.config.js +0 -144
  254. /package/dist/lib/components/ToggleGroup/{toggleGroupItem.d.ts → ToggleGroupItem.d.ts} +0 -0
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { DataList as DataListTheme } from '@radix-ui/themes';
3
+ import { dataListValueVariants } from './DataListValue';
4
+ import { dataListItemVariants } from './DataListItem';
5
+ import { VariantProps } from 'class-variance-authority';
6
+ export interface DataListProps extends VariantProps<typeof dataListVariants>, VariantProps<typeof dataListItemVariants>, VariantProps<typeof dataListValueVariants> {
7
+ orientation?: 'horizontal' | 'vertical';
8
+ }
9
+ export declare const dataListVariants: (props?: ({
10
+ size?: "small" | "medium" | "large" | null | undefined;
11
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
12
+ export declare const useDataListContext: () => DataListProps;
13
+ export declare const DataListRoot: React.ForwardRefExoticComponent<Omit<DataListTheme.RootProps & React.RefAttributes<HTMLDListElement>, "ref"> & DataListProps & React.RefAttributes<HTMLDListElement>>;
14
+ export default DataListRoot;
@@ -5,7 +5,7 @@ export interface DataListValueProps extends VariantProps<typeof dataListValueVar
5
5
  }
6
6
  export declare const dataListValueVariants: (props?: ({
7
7
  size?: "small" | "medium" | "large" | null | undefined;
8
- weight?: "medium" | "regular" | "semibold" | "bold" | null | undefined;
8
+ weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
9
9
  color?: string | null | undefined;
10
10
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
11
11
  export declare const DataListValue: React.ForwardRefExoticComponent<Omit<DataListTheme.ValueProps & React.RefAttributes<HTMLElement>, "ref"> & DataListValueProps & React.RefAttributes<HTMLElement>>;
@@ -1,17 +1,8 @@
1
- import React from 'react';
2
- import { DataList as DataListTheme } from '@radix-ui/themes';
3
- import { dataListValueVariants } from './DataListValue';
4
- import { dataListItemVariants } from './DataListItem';
5
- import { VariantProps } from 'class-variance-authority';
6
- export * from './DataListItem';
7
- export * from './DataListLabel';
8
- export * from './DataListValue';
9
- export interface DataListProps extends VariantProps<typeof dataListVariants>, VariantProps<typeof dataListItemVariants>, VariantProps<typeof dataListValueVariants> {
10
- orientation?: 'horizontal' | 'vertical';
11
- }
12
- export declare const dataListVariants: (props?: ({
13
- size?: "small" | "medium" | "large" | null | undefined;
14
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
15
- export declare const useDataListContext: () => DataListProps;
16
- export declare const DataList: React.ForwardRefExoticComponent<Omit<DataListTheme.RootProps & React.RefAttributes<HTMLDListElement>, "ref"> & DataListProps & React.RefAttributes<HTMLDListElement>>;
1
+ /// <reference types="react" />
2
+ declare const DataList: {
3
+ Root: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/data-list").RootProps & import("react").RefAttributes<HTMLDListElement>, "ref"> & import("./DataListRoot").DataListProps & import("react").RefAttributes<HTMLDListElement>>;
4
+ Item: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/data-list").ItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./DataListItem").DataListItemProps & import("react").RefAttributes<HTMLDivElement>>;
5
+ Label: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/data-list").LabelProps & import("react").RefAttributes<HTMLElement>, "ref"> & import("./DataListLabel").DataListLabelProps & import("react").RefAttributes<HTMLElement>>;
6
+ Value: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/data-list").ValueProps & import("react").RefAttributes<HTMLElement>, "ref"> & import("./DataListValue").DataListValueProps & import("react").RefAttributes<HTMLElement>>;
7
+ };
17
8
  export default DataList;
@@ -1,14 +1,12 @@
1
1
  import React from 'react';
2
2
  import { Dialog as DialogTheme } from '@radix-ui/themes';
3
3
  import { VariantProps } from 'class-variance-authority';
4
- import { IAppearance } from '../../../lib/types';
5
4
  export interface DialogActionProps extends VariantProps<typeof dialogActionVariants> {
6
5
  color?: any;
7
6
  size?: any;
8
- appearance?: IAppearance;
9
7
  }
10
8
  export declare const dialogActionVariants: (props?: ({
11
- radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
9
+ radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
12
10
  size?: "small" | "medium" | "large" | "x-large" | null | undefined;
13
11
  color?: string | null | undefined;
14
12
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
@@ -5,7 +5,7 @@ export interface DialogCancelProps extends VariantProps<typeof dialogCancelVaria
5
5
  size?: any;
6
6
  }
7
7
  export declare const dialogCancelVariants: (props?: ({
8
- radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
8
+ radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
9
9
  size?: "small" | "medium" | "large" | "x-large" | null | undefined;
10
10
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
11
11
  export declare const DialogCancel: React.ForwardRefExoticComponent<Omit<DialogTheme.CloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & DialogCancelProps & React.RefAttributes<HTMLButtonElement>>;
@@ -4,7 +4,7 @@ import { Dialog as DialogTheme } from '@radix-ui/themes';
4
4
  export interface DialogContentProps extends VariantProps<typeof dialogContentVariants> {
5
5
  }
6
6
  export declare const dialogContentVariants: (props?: ({
7
- radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
7
+ radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
8
8
  size?: "small" | "medium" | "large" | "x-large" | null | undefined;
9
9
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
10
10
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
@@ -0,0 +1,15 @@
1
+ import React, { ComponentPropsWithoutRef } from 'react';
2
+ import { Dialog as DialogTheme } from '@radix-ui/themes';
3
+ import { VariantProps } from 'class-variance-authority';
4
+ import { dialogContentVariants } from './DialogContent';
5
+ import { dialogTitleVariants } from './DialogTitle';
6
+ import { dialogDescriptionVariants } from './DialogDescription';
7
+ import { dialogActionVariants } from './DialogAction';
8
+ export interface DialogProps extends VariantProps<typeof dialogContentVariants>, VariantProps<typeof dialogTitleVariants>, VariantProps<typeof dialogDescriptionVariants>, VariantProps<typeof dialogActionVariants> {
9
+ color?: any;
10
+ }
11
+ export declare const DialogContext: React.Context<DialogProps>;
12
+ export declare const DialogRoot: {
13
+ ({ children, radius, size, scaling, color, ...props }: ComponentPropsWithoutRef<typeof DialogTheme.Root> & DialogProps): import("react/jsx-runtime").JSX.Element;
14
+ displayName: string;
15
+ };
@@ -1,18 +1,15 @@
1
- import React from 'react';
2
- import { Dialog as DialogTheme } from '@radix-ui/themes';
3
- import { VariantProps } from 'class-variance-authority';
4
- import { dialogContentVariants } from './DialogContent';
5
- import { dialogTitleVariants } from './DialogTitle';
6
- import { dialogDescriptionVariants } from './DialogDescription';
7
- export * from './DialogContent';
8
- export * from './DialogTitle';
9
- export * from './DialogDescription';
10
- export * from './DialogSlot';
11
- export * from './DialogTrigger';
12
- export * from './DialogCancel';
13
- export * from './DialogAction';
14
- export interface DialogProps extends VariantProps<typeof dialogContentVariants>, VariantProps<typeof dialogTitleVariants>, VariantProps<typeof dialogDescriptionVariants> {
15
- color?: any;
16
- }
17
- export declare const Dialog: React.ForwardRefExoticComponent<DialogTheme.RootProps & DialogProps & React.RefAttributes<never>>;
1
+ /// <reference types="react" />
2
+ declare const Dialog: {
3
+ Root: {
4
+ ({ children, radius, size, scaling, color, ...props }: import("@radix-ui/themes/dist/cjs/components/dialog").RootProps & import("./DialogRoot").DialogProps): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ };
7
+ Trigger: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/dialog").TriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
8
+ Content: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/dialog").ContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./DialogContent").DialogContentProps & import("react").RefAttributes<HTMLDivElement>>;
9
+ Title: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/dialog").TitleProps & import("react").RefAttributes<HTMLHeadingElement>, "ref"> & import("./DialogTitle").DialogTitleProps & import("react").RefAttributes<HTMLHeadingElement>>;
10
+ Description: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/dialog").DescriptionProps & import("react").RefAttributes<HTMLParagraphElement>, "ref"> & import("./DialogDescription").DialogDescriptionProps & import("react").RefAttributes<HTMLParagraphElement>>;
11
+ Slot: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("./DialogSlot").DialogSlotProps & import("react").RefAttributes<HTMLDivElement>>;
12
+ Cancel: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/dialog").CloseProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("./DialogCancel").DialogCancelProps & import("react").RefAttributes<HTMLButtonElement>>;
13
+ Action: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/dialog").CloseProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("./DialogAction").DialogActionProps & import("react").RefAttributes<HTMLButtonElement>>;
14
+ };
18
15
  export default Dialog;
@@ -1,24 +1,22 @@
1
- import React from 'react';
2
1
  import { VariantProps } from 'class-variance-authority';
2
+ import { IChartDataLabels, IChartDatasets, IChartLegend, IChartTitle } from '../../../lib/types';
3
3
  export interface DoughnutChartProps extends VariantProps<typeof doughnutVariants> {
4
4
  labels?: string[];
5
- datasets: {
6
- label?: string;
5
+ appearance?: 'solid' | 'soft';
6
+ isColorMixed?: boolean;
7
+ className?: string;
8
+ title?: IChartTitle;
9
+ legend?: IChartLegend;
10
+ datasets: IChartDatasets[] & {
7
11
  data: number[];
8
- backgroundColor: string[];
9
- borderColor?: string[];
10
- borderWidth?: number;
11
- borderDash?: number[];
12
- borderDashOffset?: number;
13
- offset?: number;
14
- spacing?: number;
15
- weight?: number;
16
12
  }[];
17
- options?: {};
18
- className?: string;
13
+ datalabels?: IChartDataLabels;
19
14
  }
20
15
  declare const doughnutVariants: (props?: ({
21
16
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
22
17
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
23
- declare const DoughnutChart: ({ labels, datasets, scaling, className, ...rest }: DoughnutChartProps) => React.JSX.Element;
18
+ declare const DoughnutChart: {
19
+ ({ labels, title, legend, datasets, datalabels, scaling, className, appearance, isColorMixed, ...rest }: DoughnutChartProps): import("react/jsx-runtime").JSX.Element;
20
+ displayName: string;
21
+ };
24
22
  export default DoughnutChart;
@@ -1,8 +1,3 @@
1
1
  import React from 'react';
2
2
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
3
- type RadioContextType = {
4
- selectedValue: string;
5
- };
6
- export declare const RadioContext: React.Context<RadioContextType>;
7
3
  export declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
8
- export {};
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
4
4
  export interface DropdownMenuSubContentProps extends VariantProps<typeof dropdownMenuSubContentVariants> {
5
5
  }
6
6
  export declare const dropdownMenuSubContentVariants: (props?: ({
7
- radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
7
+ radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
8
8
  size?: "small" | "medium" | null | undefined;
9
9
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
10
10
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
3
- import { DropdownMenuItemProps } from '.';
3
+ import { DropdownMenuItemProps } from './DropdownMenuItem';
4
4
  export interface DropdownMenuCheckboxItemProps {
5
5
  shortcut?: string;
6
6
  }
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
4
4
  export interface DropdownMenuContentProps extends VariantProps<typeof dropdownMenuContentVariants> {
5
5
  }
6
6
  export declare const dropdownMenuContentVariants: (props?: ({
7
- radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
7
+ radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
8
8
  size?: "small" | "medium" | null | undefined;
9
9
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
10
10
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
@@ -1,12 +1,14 @@
1
1
  import React from 'react';
2
2
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
3
3
  import { VariantProps } from 'class-variance-authority';
4
+ import { IColor } from '../../../lib/types';
4
5
  export interface DropdownMenuItemProps extends VariantProps<typeof dropdownMenuItemVariants> {
6
+ color?: IColor;
5
7
  shortcut?: string;
6
8
  appearance?: 'solid' | 'soft';
7
9
  }
8
10
  export declare const dropdownMenuItemVariants: (props?: ({
9
- radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
11
+ radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
10
12
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
11
13
  size?: "small" | "medium" | null | undefined;
12
14
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
4
4
  export interface DropdownMenuItemIndicatorProps extends VariantProps<typeof dropdownMenuItemIndicatorVariants> {
5
5
  }
6
6
  export declare const dropdownMenuItemIndicatorVariants: (props?: ({
7
- radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
7
+ radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
8
8
  size?: "small" | "medium" | null | undefined;
9
9
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
10
10
  export declare const DropdownMenuItemIndicator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemIndicatorProps & React.RefAttributes<HTMLSpanElement>, "ref"> & DropdownMenuItemIndicatorProps & React.RefAttributes<HTMLSpanElement>>;
@@ -6,6 +6,5 @@ export interface DropdownMenuLabelProps extends VariantProps<typeof dropdownMenu
6
6
  }
7
7
  export declare const dropdownMenuLabelVariants: (props?: ({
8
8
  size?: "small" | "medium" | null | undefined;
9
- scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
10
9
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
11
10
  export declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,4 +1,6 @@
1
1
  import React from 'react';
2
2
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
3
- import { DropdownMenuItemProps } from '.';
4
- export declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>>;
3
+ export interface DropdownMenuRadioItemProps {
4
+ selectedValue?: string;
5
+ }
6
+ export declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,15 @@
1
+ import React, { ComponentPropsWithoutRef } from 'react';
2
+ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
3
+ import { VariantProps } from 'class-variance-authority';
4
+ import { dropdownMenuContentVariants } from './DropdownMenuContent';
5
+ import { dropdownMenuItemVariants } from './DropdownMenuItem';
6
+ import { IColor } from '../../../lib/types';
7
+ export interface DropdownMenuProps extends VariantProps<typeof dropdownMenuContentVariants>, VariantProps<typeof dropdownMenuItemVariants> {
8
+ color?: IColor;
9
+ appearance?: 'solid' | 'soft';
10
+ }
11
+ export declare const DropdownMenuContext: React.Context<DropdownMenuProps>;
12
+ export declare const DropdownMenuRoot: {
13
+ ({ children, radius, size, scaling, color, appearance, ...props }: ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Root> & DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
14
+ displayName: string;
15
+ };
@@ -1,12 +1,13 @@
1
1
  import React from 'react';
2
2
  import { VariantProps } from 'class-variance-authority';
3
3
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
4
+ import { IColor } from '../../../lib/types';
4
5
  export interface DropdownMenuTriggerProps extends VariantProps<typeof dropdownMenuTriggerVariants> {
5
- color?: string;
6
+ color?: IColor;
6
7
  appearance?: 'classic' | 'surface';
7
8
  }
8
9
  declare const dropdownMenuTriggerVariants: (props?: ({
9
- radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
10
+ radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
10
11
  size?: "small" | "medium" | null | undefined;
11
12
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
12
13
  export declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
@@ -1,23 +1,20 @@
1
- import React from 'react';
2
- import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
3
- import { VariantProps } from 'class-variance-authority';
4
- import { dropdownMenuContentVariants } from './DropdownMenuContent';
5
- import { dropdownMenuItemVariants } from './DropdownMenuItem';
6
- export * from './DropdownMenuTrigger';
7
- export * from './DropdownMenuContent';
8
- export * from './DropdonMenuSubContent';
9
- export * from './DropdownMenuSubTrigger';
10
- export * from './DropdownMenuItem';
11
- export * from './DropdownMenuSeparator';
12
- export * from './DropdownMenuLable';
13
- export * from './DropdownMenuSub';
14
- export * from './DropdownMenuCheckboxItem';
15
- export * from './DropdownMenuItemIndicator';
16
- export * from './DropdonMenuRadioGroup';
17
- export * from './DropdownMenuRadioItem';
18
- export interface DropdownMenuProps extends VariantProps<typeof dropdownMenuContentVariants>, VariantProps<typeof dropdownMenuItemVariants> {
19
- color?: any;
20
- appearance?: 'solid' | 'soft';
21
- }
22
- export declare const DropdownMenu: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuProps & DropdownMenuProps & React.RefAttributes<never>>;
1
+ /// <reference types="react" />
2
+ declare const DropdownMenu: {
3
+ Root: {
4
+ ({ children, radius, size, scaling, color, appearance, ...props }: import("@radix-ui/react-dropdown-menu").DropdownMenuProps & import("./DropdownMenuRoot").DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ };
7
+ Trigger: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-dropdown-menu").DropdownMenuTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("./DropdownMenuTrigger").DropdownMenuTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
8
+ Content: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-dropdown-menu").DropdownMenuContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./DropdownMenuContent").DropdownMenuContentProps & import("react").RefAttributes<HTMLDivElement>>;
9
+ Label: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-dropdown-menu").DropdownMenuLabelProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./DropdownMenuLable").DropdownMenuLabelProps & import("react").RefAttributes<HTMLDivElement>>;
10
+ Item: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-dropdown-menu").DropdownMenuItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./DropdownMenuItem").DropdownMenuItemProps & import("react").RefAttributes<HTMLDivElement>>;
11
+ Separator: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-dropdown-menu").DropdownMenuSeparatorProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
12
+ CheckboxItem: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-dropdown-menu").DropdownMenuCheckboxItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./DropdownMenuItem").DropdownMenuItemProps & import("react").RefAttributes<HTMLDivElement>>;
13
+ RadioGroup: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-dropdown-menu").DropdownMenuRadioGroupProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
14
+ RadioItem: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-dropdown-menu").DropdownMenuRadioItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./DropdownMenuRadioItem").DropdownMenuRadioItemProps & import("react").RefAttributes<HTMLDivElement>>;
15
+ Sub: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-dropdown-menu").DropdownMenuLabelProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<never>>;
16
+ SubTrigger: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-dropdown-menu").DropdownMenuSubTriggerProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./DropdownMenuItem").DropdownMenuItemProps & import("react").RefAttributes<HTMLDivElement>>;
17
+ SubContent: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-dropdown-menu").DropdownMenuSubContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./DropdonMenuSubContent").DropdownMenuSubContentProps & import("react").RefAttributes<HTMLDivElement>>;
18
+ ItemIndicator: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-dropdown-menu").DropdownMenuItemIndicatorProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("./DropdownMenuItemIndicator").DropdownMenuItemIndicatorProps & import("react").RefAttributes<HTMLSpanElement>>;
19
+ };
23
20
  export default DropdownMenu;
@@ -5,10 +5,10 @@ export interface HoverCardContentProps extends VariantProps<typeof hoverCardCont
5
5
  size?: any;
6
6
  }
7
7
  export declare const hoverCardContentVariants: (props?: ({
8
- radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
8
+ radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
9
9
  size?: "small" | "medium" | "large" | "x-large" | null | undefined;
10
10
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
11
- weight?: "medium" | "regular" | "semibold" | "bold" | null | undefined;
11
+ weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
12
12
  color?: string | null | undefined;
13
13
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
14
14
  export declare const HoverCardContent: React.ForwardRefExoticComponent<Omit<HoverCardTheme.ContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & HoverCardContentProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,11 @@
1
+ import React, { ComponentPropsWithoutRef } from 'react';
2
+ import { HoverCard as HoverCardTheme } from '@radix-ui/themes';
3
+ import { hoverCardContentVariants } from './HoverCardContent';
4
+ import { VariantProps } from 'class-variance-authority';
5
+ export interface HoverCardProps extends VariantProps<typeof hoverCardContentVariants> {
6
+ }
7
+ export declare const HoverCardContext: React.Context<HoverCardProps>;
8
+ export declare const HoverCardRoot: {
9
+ ({ children, radius, size, scaling, weight, color, ...props }: ComponentPropsWithoutRef<typeof HoverCardTheme.Root> & HoverCardProps): import("react/jsx-runtime").JSX.Element;
10
+ displayName: string;
11
+ };
@@ -1,10 +1,10 @@
1
- import React from 'react';
2
- import { HoverCard as HoverCardTheme } from '@radix-ui/themes';
3
- import { hoverCardContentVariants } from './HoverCardContent';
4
- import { VariantProps } from 'class-variance-authority';
5
- export * from './HoverCardTrigger';
6
- export * from './HoverCardContent';
7
- export interface HoverCardProps extends VariantProps<typeof hoverCardContentVariants> {
8
- }
9
- export declare const HoverCard: React.ForwardRefExoticComponent<HoverCardTheme.RootProps & HoverCardProps & React.RefAttributes<never>>;
1
+ /// <reference types="react" />
2
+ declare const HoverCard: {
3
+ Root: {
4
+ ({ children, radius, size, scaling, weight, color, ...props }: import("@radix-ui/themes/dist/cjs/components/hover-card").RootProps & import("./HoverCardRoot").HoverCardProps): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ };
7
+ Trigger: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/hover-card").TriggerProps & import("react").RefAttributes<HTMLAnchorElement>, "ref"> & import("react").RefAttributes<HTMLAnchorElement>>;
8
+ Content: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/hover-card").ContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./HoverCardContent").HoverCardContentProps & import("react").RefAttributes<HTMLDivElement>>;
9
+ };
10
10
  export default HoverCard;
@@ -6,7 +6,7 @@ export interface IconButtonProps extends VariantProps<typeof iconButtonVariants>
6
6
  size?: 'x-small' | 'small' | 'medium' | 'large' | 'x-large';
7
7
  }
8
8
  declare const iconButtonVariants: (props?: ({
9
- radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
9
+ radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
10
10
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
11
11
  size?: "small" | "medium" | "large" | "x-small" | "x-large" | null | undefined;
12
12
  color?: string | null | undefined;
@@ -3,7 +3,7 @@ import { VariantProps } from 'class-variance-authority';
3
3
  export interface InsetProps extends VariantProps<typeof insetVariants> {
4
4
  }
5
5
  declare const insetVariants: (props?: ({
6
- radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
6
+ radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
7
7
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
8
8
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
9
9
  export declare const Inset: React.ForwardRefExoticComponent<Omit<import("@radix-ui/themes").InsetProps & React.RefAttributes<HTMLDivElement>, "ref"> & InsetProps & React.RefAttributes<HTMLDivElement>>;
@@ -9,7 +9,7 @@ export interface LabelProps extends VariantProps<typeof labeVariants> {
9
9
  }
10
10
  declare const labeVariants: (props?: ({
11
11
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
12
- weight?: "medium" | "regular" | "semibold" | "bold" | null | undefined;
12
+ weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
13
13
  size?: "small" | "medium" | "large" | null | undefined;
14
14
  color?: string | null | undefined;
15
15
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
@@ -0,0 +1,43 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import { IChartDatasets, IChartLegend, IChartTitle } from '../../../lib/types';
3
+ export interface BorderRadius {
4
+ topLeft: number;
5
+ topRight: number;
6
+ bottomLeft: number;
7
+ bottomRight: number;
8
+ }
9
+ type ILinechartDataset = IChartDatasets & {
10
+ data: any;
11
+ barThickness?: number;
12
+ barPercentage?: number;
13
+ };
14
+ export interface LineChartProps extends VariantProps<typeof lineChartVariants> {
15
+ labels?: string[];
16
+ isColorMixed?: boolean;
17
+ appearance?: 'solid' | 'soft';
18
+ title?: IChartTitle;
19
+ legend?: IChartLegend;
20
+ datasets: ILinechartDataset[];
21
+ scales?: {
22
+ x?: {
23
+ min?: number;
24
+ max?: number;
25
+ };
26
+ y?: {
27
+ min?: number;
28
+ max?: number;
29
+ };
30
+ };
31
+ indexAxis?: 'x' | 'y';
32
+ className?: string;
33
+ width?: string | number;
34
+ height?: string | number;
35
+ }
36
+ declare const lineChartVariants: (props?: ({
37
+ scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
38
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
39
+ declare const LineChart: {
40
+ ({ className, title, datasets, labels, scaling, legend, width, height, indexAxis, appearance, scales, isColorMixed, ...props }: LineChartProps): import("react/jsx-runtime").JSX.Element;
41
+ displayName: string;
42
+ };
43
+ export default LineChart;
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
4
4
  export interface MenubarContentProps extends VariantProps<typeof menubarContentVariants> {
5
5
  }
6
6
  export declare const menubarContentVariants: (props?: ({
7
- radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
7
+ radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
8
8
  size?: "small" | "medium" | null | undefined;
9
9
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
10
10
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
@@ -6,7 +6,7 @@ export interface MenubarItemProps extends VariantProps<typeof menubarItemVariant
6
6
  shortcut?: string;
7
7
  }
8
8
  export declare const menubarItemVariants: (props?: ({
9
- radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
9
+ radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
10
10
  size?: "small" | "medium" | null | undefined;
11
11
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
12
12
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
4
4
  export interface MenubarItemIndicatorProps extends VariantProps<typeof menubarItemIndicatorVariants> {
5
5
  }
6
6
  export declare const menubarItemIndicatorVariants: (props?: ({
7
- radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
7
+ radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
8
8
  size?: "small" | "medium" | null | undefined;
9
9
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
10
10
  export declare const MenubarItemIndicator: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarItemIndicatorProps & React.RefAttributes<HTMLSpanElement>, "ref"> & MenubarItemIndicatorProps & React.RefAttributes<HTMLSpanElement>>;
@@ -1,2 +1,5 @@
1
1
  import React from 'react';
2
- export declare const MenubarMenu: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<never>>;
2
+ import * as MenubarPrimitive from '@radix-ui/react-menubar';
3
+ export declare const MenubarMenu: React.ForwardRefExoticComponent<MenubarPrimitive.MenubarMenuProps & {
4
+ __scopeMenubar?: import("@radix-ui/react-context").Scope;
5
+ } & React.RefAttributes<never>>;
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import * as MenubarPrimitive from '@radix-ui/react-menubar';
3
+ import { VariantProps } from 'class-variance-authority';
4
+ import { IColor } from '../../../lib/types';
5
+ import { menubarTriggerVariants } from './MenubarTrigger';
6
+ import { menubarItemVariants } from './MenubarItem';
7
+ export interface MenubarProps extends VariantProps<typeof menubarVariants>, VariantProps<typeof menubarTriggerVariants>, VariantProps<typeof menubarItemVariants> {
8
+ appearance?: 'ghost' | 'solid';
9
+ itemAppearance?: 'ghost' | 'solid';
10
+ color?: IColor;
11
+ }
12
+ export declare const menubarVariants: (props?: ({
13
+ radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
14
+ size?: "small" | "medium" | null | undefined;
15
+ scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
16
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
17
+ export declare const useMenubarContext: () => MenubarProps;
18
+ export declare const MenubarRoot: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarProps & React.RefAttributes<HTMLDivElement>, "ref"> & MenubarProps & React.RefAttributes<HTMLDivElement>>;
19
+ export default MenubarRoot;
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
4
4
  export interface MenubarSubContentProps extends VariantProps<typeof menubarSubContentVariants> {
5
5
  }
6
6
  export declare const menubarSubContentVariants: (props?: ({
7
- radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
7
+ radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
8
8
  size?: "small" | "medium" | null | undefined;
9
9
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
10
10
  export declare const MenubarSubContent: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & MenubarSubContentProps & React.RefAttributes<HTMLDivElement>>;
@@ -6,7 +6,7 @@ export interface MenubarTriggerProps extends VariantProps<typeof menubarTriggerV
6
6
  }
7
7
  export declare const menubarTriggerVariants: (props?: ({
8
8
  size?: "small" | "medium" | null | undefined;
9
- radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
9
+ radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
10
10
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
11
11
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
12
12
  export declare const MenubarTrigger: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & MenubarTriggerProps & React.RefAttributes<HTMLButtonElement>>;