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

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
@@ -5,8 +5,8 @@ export interface HeaderProps extends VariantProps<typeof headerVariants> {
5
5
  color?: IColor;
6
6
  }
7
7
  declare let headerVariants: (props?: ({
8
- weight?: "medium" | "regular" | "semibold" | "bold" | null | undefined;
9
- headers?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | null | undefined;
8
+ weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
9
+ headers?: "h2" | "h3" | "h1" | "h4" | "h5" | "h6" | null | undefined;
10
10
  color?: string | null | undefined;
11
11
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
12
12
  export declare const Header: React.ForwardRefExoticComponent<Omit<import("@radix-ui/themes").HeadingProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & HeaderProps & React.RefAttributes<HTMLHeadingElement>>;
@@ -8,7 +8,7 @@ export interface TextProps extends VariantProps<typeof textVariants> {
8
8
  align?: 'left' | 'center' | 'right';
9
9
  }
10
10
  declare const textVariants: (props?: ({
11
- weight?: "medium" | "regular" | "semibold" | "bold" | "light" | null | undefined;
11
+ weight?: "bold" | "medium" | "regular" | "semibold" | "light" | null | undefined;
12
12
  color?: string | null | undefined;
13
13
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
14
14
  export declare const Text: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & TextProps & React.RefAttributes<HTMLSpanElement>>;
@@ -18,3 +18,12 @@ export declare const alphaOptions: {
18
18
  };
19
19
  export declare const ColorStyle: Record<string, string>;
20
20
  export declare const DarkColorStyle: Record<string, string>;
21
+ export declare const chartColorList: {
22
+ sorting: string[];
23
+ mixed: string[];
24
+ };
25
+ export declare const chartAlphaColorList: {
26
+ sorting: string[];
27
+ mixed: string[];
28
+ };
29
+ export declare const chartColorOptions: IColor[];
@@ -9,8 +9,14 @@ export interface AccordionProps extends React.InputHTMLAttributes<HTMLInputEleme
9
9
  declare const accoridanVariants: (props?: ({
10
10
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
11
11
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
12
- export declare const Accordion: React.ForwardRefExoticComponent<((Omit<AccordionPrimitive.AccordionSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<AccordionPrimitive.AccordionMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & AccordionProps) & React.RefAttributes<HTMLDivElement>>;
13
- export declare const AccordionItem: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & AccordionProps & React.RefAttributes<HTMLDivElement>>;
14
- export declare const AccordionTrigger: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & AccordionProps & React.RefAttributes<HTMLButtonElement>>;
15
- export declare const AccordionContent: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & AccordionProps & React.RefAttributes<HTMLDivElement>>;
12
+ export declare const Root: React.ForwardRefExoticComponent<((Omit<AccordionPrimitive.AccordionSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<AccordionPrimitive.AccordionMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & AccordionProps) & React.RefAttributes<HTMLDivElement>>;
13
+ export declare const Item: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & AccordionProps & React.RefAttributes<HTMLDivElement>>;
14
+ export declare const Trigger: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & AccordionProps & React.RefAttributes<HTMLButtonElement>>;
15
+ export declare const Content: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & AccordionProps & React.RefAttributes<HTMLDivElement>>;
16
+ declare const Accordion: {
17
+ Root: React.ForwardRefExoticComponent<((Omit<AccordionPrimitive.AccordionSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<AccordionPrimitive.AccordionMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & AccordionProps) & React.RefAttributes<HTMLDivElement>>;
18
+ Item: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & AccordionProps & React.RefAttributes<HTMLDivElement>>;
19
+ Trigger: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & AccordionProps & React.RefAttributes<HTMLButtonElement>>;
20
+ Content: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & AccordionProps & React.RefAttributes<HTMLDivElement>>;
21
+ };
16
22
  export default Accordion;
@@ -6,9 +6,9 @@ export interface AlertDialogActionProps extends VariantProps<typeof alertDialogA
6
6
  appearance?: IAppearance;
7
7
  }
8
8
  export declare const alertDialogActionVariants: (props?: ({
9
- radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
9
+ radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
10
10
  size?: "small" | "medium" | "large" | "x-large" | 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 AlertDialogAction: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>>;
@@ -6,8 +6,8 @@ export interface AlertDialogCancelProps extends VariantProps<typeof alertDialogC
6
6
  appearance?: IAppearance;
7
7
  }
8
8
  export declare const alertDialogCancelVariants: (props?: ({
9
- radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
9
+ radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
10
10
  size?: "small" | "medium" | "large" | "x-large" | null | undefined;
11
- weight?: "medium" | "regular" | "semibold" | "bold" | null | undefined;
11
+ weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
12
12
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
13
13
  export declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>>;
@@ -6,6 +6,6 @@ export interface AlertDialogContentProps extends VariantProps<typeof alertDialog
6
6
  export declare const alertDialogContentVariants: (props?: ({
7
7
  size?: "small" | "medium" | "large" | "x-large" | null | undefined;
8
8
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
9
- radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
9
+ radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
10
10
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
11
11
  export declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & AlertDialogContentProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
3
+ import { VariantProps } from 'class-variance-authority';
4
+ import { IAppearance, IColor } from '../../../lib/types';
5
+ import { alertDialogContentVariants } from './AlertDialogContent';
6
+ import { alertDialogTitleVariants } from './AlertDialogTitle';
7
+ import { alertDialogDescriptionVariants } from './AlertDialogDescription';
8
+ import { alertDialogActionVariants } from './AlertDialogAction';
9
+ export interface AlertDialogProps extends VariantProps<typeof alertDialogContentVariants>, VariantProps<typeof alertDialogTitleVariants>, VariantProps<typeof alertDialogDescriptionVariants>, VariantProps<typeof alertDialogActionVariants> {
10
+ titleText?: string;
11
+ contentText?: string;
12
+ color?: IColor;
13
+ appearance?: IAppearance;
14
+ }
15
+ export declare const useAlertDialogContext: () => AlertDialogProps;
16
+ export declare const AlertDialogRoot: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogProps & AlertDialogProps & React.RefAttributes<never>>;
@@ -7,10 +7,10 @@ export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElemen
7
7
  appearance?: IAppearance;
8
8
  }
9
9
  declare const buttonVariants: (props?: ({
10
- radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
10
+ radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
11
11
  size?: "small" | "medium" | "large" | "x-large" | null | undefined;
12
12
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
13
- weight?: "medium" | "regular" | "semibold" | "bold" | null | undefined;
13
+ weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
14
14
  color?: string | null | undefined;
15
15
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
16
16
  export declare const AlertDialogTrigger: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & ButtonProps & React.RefAttributes<HTMLButtonElement>>;
@@ -1,20 +1,11 @@
1
- import React from 'react';
2
- import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
3
- import { VariantProps } from 'class-variance-authority';
4
- import { alertDialogContentVariants } from './AlertDialogContent';
5
- import { alertDialogTitleVariants } from './AlertDialogTitle';
6
- import { alertDialogDescriptionVariants } from './AlertDialogDescription';
7
- import { IColor } from '../../../lib/types';
8
- export * from './AlertDialogTrigger';
9
- export * from './AlertDialogContent';
10
- export * from './AlertDialogTitle';
11
- export * from './AlertDialogDescription';
12
- export * from './AlertDialogCancel';
13
- export * from './AlertDialogAction';
14
- export interface AlertDialogProps extends VariantProps<typeof alertDialogContentVariants>, VariantProps<typeof alertDialogTitleVariants>, VariantProps<typeof alertDialogDescriptionVariants> {
15
- titleText?: string;
16
- contentText?: string;
17
- color?: IColor;
18
- }
19
- export declare const AlertDialog: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogProps & AlertDialogProps & React.RefAttributes<never>>;
1
+ /// <reference types="react" />
2
+ declare const AlertDialog: {
3
+ Root: import("react").ForwardRefExoticComponent<import("@radix-ui/react-alert-dialog").AlertDialogProps & import("./AlertDialogRoot").AlertDialogProps & import("react").RefAttributes<never>>;
4
+ Trigger: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-alert-dialog").AlertDialogTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("./AlertDialogTrigger").ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
5
+ Content: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-alert-dialog").AlertDialogContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./AlertDialogContent").AlertDialogContentProps & import("react").RefAttributes<HTMLDivElement>>;
6
+ Title: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-alert-dialog").AlertDialogTitleProps & import("react").RefAttributes<HTMLHeadingElement>, "ref"> & import("./AlertDialogTitle").AlertDialogTitleProps & import("react").RefAttributes<HTMLHeadingElement>>;
7
+ Description: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-alert-dialog").AlertDialogDescriptionProps & import("react").RefAttributes<HTMLParagraphElement>, "ref"> & import("./AlertDialogDescription").AlertDialogDescriptionProps & import("react").RefAttributes<HTMLParagraphElement>>;
8
+ Cancel: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-alert-dialog").AlertDialogCancelProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("./AlertDialogCancel").AlertDialogCancelProps & import("react").RefAttributes<HTMLButtonElement>>;
9
+ Action: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-alert-dialog").AlertDialogActionProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("./AlertDialogAction").AlertDialogActionProps & import("react").RefAttributes<HTMLButtonElement>>;
10
+ };
20
11
  export default AlertDialog;
@@ -6,9 +6,13 @@ export interface AvatarProps extends VariantProps<typeof AvatarVariants> {
6
6
  fallbackText?: string;
7
7
  appearance?: 'solid' | 'soft';
8
8
  fallbackClassName?: string;
9
+ ariaLabel?: string;
10
+ ariaLabelledby?: string;
11
+ title?: string;
12
+ delayMs?: number;
9
13
  }
10
14
  declare const AvatarVariants: (props?: ({
11
- radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
15
+ radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
12
16
  size?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | null | undefined;
13
17
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
14
18
  color?: string | null | undefined;
@@ -8,10 +8,10 @@ export interface BadgeProps extends HTMLAttributes<HTMLDivElement>, VariantProps
8
8
  weight?: IWeight;
9
9
  }
10
10
  declare const BadgeVariants: (props?: ({
11
- radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
11
+ radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
12
12
  size?: "small" | "medium" | "large" | null | undefined;
13
13
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
14
- weight?: "medium" | "regular" | "semibold" | "bold" | null | undefined;
14
+ weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
15
15
  color?: string | null | undefined;
16
16
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
17
17
  declare const Badge: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & BadgeProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,37 @@
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 IBarchartDataset = IChartDatasets & {
10
+ data: {
11
+ x: number;
12
+ y: number;
13
+ r: number;
14
+ }[];
15
+ barThickness?: number;
16
+ barPercentage?: number;
17
+ };
18
+ export interface BarChartProps extends VariantProps<typeof barChartVariants> {
19
+ labels?: string[];
20
+ isColorMixed?: boolean;
21
+ appearance?: 'solid' | 'soft';
22
+ title?: IChartTitle;
23
+ legend?: IChartLegend;
24
+ datasets: IBarchartDataset[];
25
+ indexAxis?: 'x' | 'y';
26
+ className?: string;
27
+ width?: string | number;
28
+ height?: string | number;
29
+ }
30
+ declare const barChartVariants: (props?: ({
31
+ scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
32
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
33
+ declare const BarChart: {
34
+ ({ className, title, datasets, labels, scaling, legend, width, height, indexAxis, appearance, isColorMixed, ...props }: BarChartProps): import("react/jsx-runtime").JSX.Element;
35
+ displayName: string;
36
+ };
37
+ export default BarChart;
@@ -1,24 +1,20 @@
1
- import React from 'react';
2
- import { PointStyle } from '../../../lib/types';
3
1
  import { VariantProps } from 'class-variance-authority';
4
- export interface BubbleChartProps extends VariantProps<typeof bubbleChartVariants> {
5
- datasets: {
6
- label: string;
7
- data: {
8
- x: number;
9
- y: number;
10
- r: number;
11
- }[];
12
- backgroundColor?: string;
13
- borderColor?: string;
14
- borderWidth?: number;
15
- hoverBackgroundColor?: string;
16
- hoverBorderColor?: string;
17
- hoverBorderWidth?: number;
18
- pointStyle?: PointStyle;
2
+ import { IChartDataLabels, IChartDatasets, IChartLegend, IChartTitle } from '../../../lib/types';
3
+ type IBubbleChartDataset = IChartDatasets & {
4
+ data: {
5
+ x: number;
6
+ y: number;
7
+ r: number;
19
8
  }[];
20
- options?: {};
9
+ };
10
+ export interface BubbleChartProps extends VariantProps<typeof bubbleChartVariants> {
11
+ appearance?: 'solid' | 'soft';
12
+ isColorMixed?: boolean;
21
13
  className?: string;
14
+ title?: IChartTitle;
15
+ legend?: IChartLegend;
16
+ datasets: IBubbleChartDataset[];
17
+ datalabels?: IChartDataLabels;
22
18
  width?: string | number;
23
19
  height?: string | number;
24
20
  }
@@ -26,7 +22,7 @@ declare const bubbleChartVariants: (props?: ({
26
22
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
27
23
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
28
24
  export declare const BubbleChart: {
29
- ({ className, datasets, scaling, width, height, ...props }: BubbleChartProps): React.JSX.Element;
25
+ ({ className, title, legend, datalabels, datasets, scaling, width, height, appearance, isColorMixed, ...props }: BubbleChartProps): import("react/jsx-runtime").JSX.Element;
30
26
  displayName: string;
31
27
  };
32
28
  export default BubbleChart;
@@ -6,10 +6,10 @@ export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElemen
6
6
  appearance?: IAppearance;
7
7
  }
8
8
  declare const buttonVariants: (props?: ({
9
- radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
9
+ radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
10
10
  size?: "small" | "medium" | "large" | "x-small" | "x-large" | null | undefined;
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
  color?: string | null | undefined;
14
14
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
15
15
  export declare const Button: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & ButtonProps & React.RefAttributes<HTMLButtonElement>>;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import { Callout as CalloutTheme } from '@radix-ui/themes';
2
3
  import { VariantProps } from 'class-variance-authority';
3
4
  export interface CalloutIconProps extends VariantProps<typeof calloutIconVariants> {
4
5
  iconType?: 'danger' | 'success' | 'warning' | 'information';
@@ -8,5 +9,5 @@ declare const calloutIconVariants: (props?: ({
8
9
  size?: "small" | "medium" | "large" | null | undefined;
9
10
  color?: "danger" | "warning" | "success" | "information" | null | undefined;
10
11
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
11
- export declare const CalloutIcon: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & CalloutIconProps & React.RefAttributes<HTMLDivElement>>;
12
+ export declare const CalloutIcon: React.ForwardRefExoticComponent<Omit<CalloutTheme.IconProps & React.RefAttributes<HTMLDivElement>, "ref"> & CalloutIconProps & React.RefAttributes<HTMLDivElement>>;
12
13
  export {};
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import { VariantProps } from 'class-variance-authority';
3
+ import { calloutTextVariants } from './CalloutText';
4
+ import { IAppearance } from '../../../lib/types';
5
+ export interface CalloutProps extends VariantProps<typeof calloutVariants>, VariantProps<typeof calloutTextVariants> {
6
+ contentText?: string;
7
+ appearance?: Exclude<IAppearance, 'classic' | 'ghost' | 'solid'>;
8
+ color?: 'danger' | 'warning' | 'success' | 'information' | null;
9
+ }
10
+ declare const calloutVariants: (props?: ({
11
+ radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
12
+ size?: "small" | "medium" | "large" | null | undefined;
13
+ scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
14
+ color?: "danger" | "warning" | "success" | "information" | null | undefined;
15
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
16
+ export declare const useCalloutContext: () => CalloutProps;
17
+ export declare const CalloutRoot: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & CalloutProps & React.RefAttributes<HTMLDivElement>>;
18
+ export {};
@@ -1,20 +1,7 @@
1
- import React from 'react';
2
- import { VariantProps } from 'class-variance-authority';
3
- import { calloutTextVariants } from './CalloutText';
4
- import { IAppearance } from '../../../lib/types';
5
- export * from './CalloutIcon';
6
- export * from './CalloutText';
7
- export interface CalloutProps extends VariantProps<typeof calloutVariants>, VariantProps<typeof calloutTextVariants> {
8
- contentText?: string;
9
- appearance?: Exclude<IAppearance, 'classic' | 'ghost' | 'solid'>;
10
- color?: 'danger' | 'warning' | 'success' | 'information' | null;
11
- }
12
- declare const calloutVariants: (props?: ({
13
- radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
14
- size?: "small" | "medium" | "large" | null | undefined;
15
- scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
16
- color?: "danger" | "warning" | "success" | "information" | null | undefined;
17
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
18
- export declare const useCalloutContext: () => CalloutProps;
19
- export declare const Callout: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & CalloutProps & React.RefAttributes<HTMLDivElement>>;
1
+ /// <reference types="react" />
2
+ declare const Callout: {
3
+ Root: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("./CalloutRoot").CalloutProps & import("react").RefAttributes<HTMLDivElement>>;
4
+ Text: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & import("./CalloutText").CalloutTextProps & import("react").RefAttributes<HTMLParagraphElement>>;
5
+ Icon: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/callout").IconProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./CalloutIcon").CalloutIconProps & import("react").RefAttributes<HTMLDivElement>>;
6
+ };
20
7
  export default Callout;
@@ -5,10 +5,10 @@ export interface CardProps extends VariantProps<typeof cardVariants> {
5
5
  appearance?: Exclude<IAppearance, 'solid' | 'outline'>;
6
6
  }
7
7
  declare const cardVariants: (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" | 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
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
13
13
  declare const Card: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & CardProps & React.RefAttributes<HTMLDivElement>>;
14
14
  export default Card;
@@ -11,7 +11,7 @@ export interface CheckboxProps extends VariantProps<typeof CheckboxVariants> {
11
11
  export declare const CheckboxVariants: (props?: ({
12
12
  size?: "small" | "medium" | "large" | null | undefined;
13
13
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
14
- radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
14
+ radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
15
15
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
16
16
  export declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & CheckboxProps & React.RefAttributes<HTMLButtonElement>>;
17
17
  export default Checkbox;
@@ -12,7 +12,7 @@ export interface CheckboxCardProps extends React.HTMLAttributes<HTMLDivElement>,
12
12
  ariaDisabled?: boolean;
13
13
  }
14
14
  export declare const CheckboxCardVariants: (props?: ({
15
- radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
15
+ radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
16
16
  size?: "small" | "medium" | "large" | null | undefined;
17
17
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
18
18
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
@@ -0,0 +1,17 @@
1
+ import React, { ReactNode } from 'react';
2
+ import { CheckboxGroup as CheckboxGroupTheme } from '@radix-ui/themes';
3
+ import { CheckboxVariants } from '../../../lib/components/Checkbox';
4
+ import { VariantProps } from 'class-variance-authority';
5
+ import { IAppearance, IColor } from '../../../lib/types';
6
+ export interface CheckboxGroupRootProps extends VariantProps<typeof CheckboxGroupVariants>, VariantProps<typeof CheckboxVariants> {
7
+ children?: ReactNode;
8
+ defaultValue?: string[];
9
+ color?: IColor;
10
+ appearance?: Exclude<IAppearance, 'ghost' | 'outline' | 'solid'>;
11
+ }
12
+ export declare const CheckboxGroupVariants: (props?: ({
13
+ size?: "small" | "medium" | "large" | null | undefined;
14
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
15
+ export declare const useCheckboxGroupContext: () => CheckboxGroupRootProps;
16
+ export declare const CheckboxGroupRoot: React.ForwardRefExoticComponent<Omit<CheckboxGroupTheme.RootProps & React.RefAttributes<HTMLDivElement>, "ref"> & CheckboxGroupRootProps & React.RefAttributes<HTMLDivElement>>;
17
+ export default CheckboxGroupRoot;
@@ -1,17 +1,6 @@
1
- import React, { ReactNode } from 'react';
2
- import { CheckboxVariants } from '../../../lib/components/Checkbox';
3
- import { VariantProps } from 'class-variance-authority';
4
- import { IAppearance, IColor } from '../../../lib/types';
5
- export * from './CheckboxGroupItem';
6
- export interface CheckboxGroupRootProps extends VariantProps<typeof CheckboxGroupVariants>, VariantProps<typeof CheckboxVariants> {
7
- children?: ReactNode;
8
- defaultValue?: string[] | undefined;
9
- color?: IColor;
10
- appearance?: Exclude<IAppearance, 'ghost' | 'outline' | 'solid'>;
11
- }
12
- export declare const CheckboxGroupVariants: (props?: ({
13
- size?: "small" | "medium" | "large" | null | undefined;
14
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
15
- export declare const useCheckboxGroupContext: () => CheckboxGroupRootProps;
16
- export declare const CheckboxGroup: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & CheckboxGroupRootProps & React.RefAttributes<HTMLDivElement>>;
1
+ /// <reference types="react" />
2
+ declare const CheckboxGroup: {
3
+ Root: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/checkbox-group").RootProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./CheckboxGroupRoot").CheckboxGroupRootProps & import("react").RefAttributes<HTMLDivElement>>;
4
+ Item: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-checkbox").CheckboxProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("../../../lib/components/Checkbox").CheckboxProps & import("react").RefAttributes<HTMLButtonElement>>;
5
+ };
17
6
  export default CheckboxGroup;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
3
- import { ContextMenuProps } from '.';
3
+ import { ContextMenuProps } from './ContextMenuRoot';
4
4
  export declare const ContextMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & ContextMenuProps & React.RefAttributes<HTMLDivElement>>;
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
4
4
  export interface ContextMenuContentProps extends VariantProps<typeof contextMenuContentVariants> {
5
5
  }
6
6
  export declare const contextMenuContentVariants: (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,4 +1,4 @@
1
1
  import React from 'react';
2
- import { ContextMenuProps } from '.';
2
+ import { ContextMenuProps } from './ContextMenuRoot';
3
3
  import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
4
4
  export declare const ContextMenuGroup: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & ContextMenuProps & React.RefAttributes<HTMLDivElement>>;
@@ -6,7 +6,7 @@ export interface ContextMenuItemProps extends VariantProps<typeof contextMenuIte
6
6
  shortcut?: string;
7
7
  }
8
8
  export declare const contextMenuItemVariants: (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 ContextMenuItemIndicatorProps extends VariantProps<typeof contextMenuItemIndicatorVariants> {
5
5
  }
6
6
  export declare const contextMenuItemIndicatorVariants: (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 ContextMenuItemIndicator: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuItemIndicatorProps & React.RefAttributes<HTMLSpanElement>, "ref"> & ContextMenuItemIndicatorProps & React.RefAttributes<HTMLSpanElement>>;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
3
- import { ContextMenuProps } from '.';
3
+ import { ContextMenuProps } from './ContextMenuRoot';
4
4
  export declare const ContextMenuRadioItem: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & ContextMenuProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
3
+ import { VariantProps } from 'class-variance-authority';
4
+ import { IColor } from '../../../lib/types';
5
+ import { contextMenuContentVariants } from './ContextMenuContent';
6
+ import { contextMenuItemVariants } from './ContextMenuItem';
7
+ export interface ContextMenuProps extends VariantProps<typeof contextMenuContentVariants>, VariantProps<typeof contextMenuItemVariants> {
8
+ color?: IColor;
9
+ appearance?: 'solid' | 'soft';
10
+ }
11
+ export declare const useContextMenuContext: () => ContextMenuProps;
12
+ export declare const ContextMenuRoot: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuProps & ContextMenuProps & React.RefAttributes<never>>;
13
+ export default ContextMenuRoot;
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
4
4
  export interface ContextMenuSubContentProps extends VariantProps<typeof contextMenuSubContentVariants> {
5
5
  }
6
6
  export declare const contextMenuSubContentVariants: (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,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
3
- import { ContextMenuProps } from '.';
3
+ import { ContextMenuProps } from './ContextMenuRoot';
4
4
  export declare const ContextMenuTrigger: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuTriggerProps & React.RefAttributes<HTMLSpanElement>, "ref"> & ContextMenuProps & React.RefAttributes<HTMLSpanElement>>;
@@ -1,25 +1,17 @@
1
- import React from 'react';
2
- import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
3
- import { VariantProps } from 'class-variance-authority';
4
- import { IColor } from '../../../lib/types';
5
- import { contextMenuContentVariants } from './ContextMenuContent';
6
- import { contextMenuItemVariants } from './ContextMenuItem';
7
- export * from './ContextMenuContent';
8
- export * from './ContextMenuCheckboxItem';
9
- export * from './ContextMenuGroup';
10
- export * from './ContextMenuItem';
11
- export * from './ContextMenuItemIndicator';
12
- export * from './ContextMenuLabel';
13
- export * from './ContextMenuTrigger';
14
- export * from './ContextMenuRadioGroup';
15
- export * from './ContextMenuRadioItem';
16
- export * from './ContextMenuSeparator';
17
- export * from './ContextMenuSubTrigger';
18
- export * from './ContextMenuSubContent';
19
- export interface ContextMenuProps extends VariantProps<typeof contextMenuContentVariants>, VariantProps<typeof contextMenuItemVariants> {
20
- color?: IColor;
21
- appearance?: 'solid' | 'soft';
22
- }
23
- export declare const useContextMenuContext: () => ContextMenuProps;
24
- export declare const ContextMenu: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuProps & ContextMenuProps & React.RefAttributes<never>>;
1
+ /// <reference types="react" />
2
+ declare const ContextMenu: {
3
+ Root: import("react").ForwardRefExoticComponent<import("@radix-ui/react-context-menu").ContextMenuProps & import("./ContextMenuRoot").ContextMenuProps & import("react").RefAttributes<never>>;
4
+ Content: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-context-menu").ContextMenuContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./ContextMenuContent").ContextMenuContentProps & import("react").RefAttributes<HTMLDivElement>>;
5
+ CheckboxItem: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-context-menu").ContextMenuCheckboxItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./ContextMenuRoot").ContextMenuProps & import("react").RefAttributes<HTMLDivElement>>;
6
+ Group: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-context-menu").ContextMenuGroupProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./ContextMenuRoot").ContextMenuProps & import("react").RefAttributes<HTMLDivElement>>;
7
+ Item: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-context-menu").ContextMenuItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./ContextMenuItem").ContextMenuItemProps & import("react").RefAttributes<HTMLDivElement>>;
8
+ ItemIndicator: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-context-menu").ContextMenuItemIndicatorProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("./ContextMenuItemIndicator").ContextMenuItemIndicatorProps & import("react").RefAttributes<HTMLSpanElement>>;
9
+ Label: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-context-menu").ContextMenuLabelProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./ContextMenuLabel").ContextMenuLabelProps & import("react").RefAttributes<HTMLDivElement>>;
10
+ Trigger: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-context-menu").ContextMenuTriggerProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("./ContextMenuRoot").ContextMenuProps & import("react").RefAttributes<HTMLSpanElement>>;
11
+ RadioGroup: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-context-menu").ContextMenuRadioGroupProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
12
+ RadioItem: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-context-menu").ContextMenuRadioItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./ContextMenuRoot").ContextMenuProps & import("react").RefAttributes<HTMLDivElement>>;
13
+ Separator: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-context-menu").ContextMenuSeparatorProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
14
+ SubTrigger: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-context-menu").ContextMenuSubTriggerProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./ContextMenuItem").ContextMenuItemProps & import("react").RefAttributes<HTMLDivElement>>;
15
+ SubContent: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-context-menu").ContextMenuSubContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./ContextMenuSubContent").ContextMenuSubContentProps & import("react").RefAttributes<HTMLDivElement>>;
16
+ };
25
17
  export default ContextMenu;
@@ -5,6 +5,6 @@ export interface DataListLabelProps extends VariantProps<typeof dataListLabelVar
5
5
  }
6
6
  export declare const dataListLabelVariants: (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
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
10
10
  export declare const DataListLabel: React.ForwardRefExoticComponent<Omit<DataListTheme.LabelProps & React.RefAttributes<HTMLElement>, "ref"> & DataListLabelProps & React.RefAttributes<HTMLElement>>;