@lotte-innovate/ui-component-test 0.0.43 → 0.0.45

Sign up to get free protection for your applications and to get access to all the features.
Files changed (157) hide show
  1. package/README.md +281 -78
  2. package/package.json +7 -6
  3. package/dist/globals.css +0 -4
  4. package/dist/lib/Typography/Header/index.d.ts +0 -13
  5. package/dist/lib/Typography/Text/index.d.ts +0 -15
  6. package/dist/lib/Typography/index.d.ts +0 -2
  7. package/dist/lib/color/alpha.d.ts +0 -784
  8. package/dist/lib/color/constants.d.ts +0 -29
  9. package/dist/lib/color/dark.d.ts +0 -392
  10. package/dist/lib/color/krdsColors.d.ts +0 -309
  11. package/dist/lib/color/light.d.ts +0 -392
  12. package/dist/lib/components/Accordion/index.d.ts +0 -22
  13. package/dist/lib/components/AlertDialog/AlertDialogAction.d.ts +0 -14
  14. package/dist/lib/components/AlertDialog/AlertDialogCancel.d.ts +0 -13
  15. package/dist/lib/components/AlertDialog/AlertDialogContent.d.ts +0 -11
  16. package/dist/lib/components/AlertDialog/AlertDialogDescription.d.ts +0 -10
  17. package/dist/lib/components/AlertDialog/AlertDialogRoot.d.ts +0 -16
  18. package/dist/lib/components/AlertDialog/AlertDialogTitle.d.ts +0 -10
  19. package/dist/lib/components/AlertDialog/AlertDialogTrigger.d.ts +0 -17
  20. package/dist/lib/components/AlertDialog/index.d.ts +0 -11
  21. package/dist/lib/components/AspectRatio/index.d.ts +0 -10
  22. package/dist/lib/components/Avatar/index.d.ts +0 -21
  23. package/dist/lib/components/Badge/index.d.ts +0 -18
  24. package/dist/lib/components/BarChart/index.d.ts +0 -38
  25. package/dist/lib/components/BubbleChart/index.d.ts +0 -29
  26. package/dist/lib/components/Button/index.d.ts +0 -16
  27. package/dist/lib/components/Callout/CalloutIcon.d.ts +0 -13
  28. package/dist/lib/components/Callout/CalloutRoot.d.ts +0 -18
  29. package/dist/lib/components/Callout/CalloutText.d.ts +0 -10
  30. package/dist/lib/components/Callout/index.d.ts +0 -7
  31. package/dist/lib/components/Card/index.d.ts +0 -14
  32. package/dist/lib/components/Checkbox/index.d.ts +0 -17
  33. package/dist/lib/components/CheckboxCard/index.d.ts +0 -20
  34. package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.d.ts +0 -5
  35. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +0 -17
  36. package/dist/lib/components/CheckboxGroup/index.d.ts +0 -6
  37. package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.d.ts +0 -4
  38. package/dist/lib/components/ContextMenu/ContextMenuContent.d.ts +0 -11
  39. package/dist/lib/components/ContextMenu/ContextMenuGroup.d.ts +0 -4
  40. package/dist/lib/components/ContextMenu/ContextMenuItem.d.ts +0 -13
  41. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.d.ts +0 -10
  42. package/dist/lib/components/ContextMenu/ContextMenuLabel.d.ts +0 -11
  43. package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.d.ts +0 -8
  44. package/dist/lib/components/ContextMenu/ContextMenuRadioItem.d.ts +0 -4
  45. package/dist/lib/components/ContextMenu/ContextMenuRoot.d.ts +0 -13
  46. package/dist/lib/components/ContextMenu/ContextMenuSeparator.d.ts +0 -3
  47. package/dist/lib/components/ContextMenu/ContextMenuSubContent.d.ts +0 -11
  48. package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.d.ts +0 -4
  49. package/dist/lib/components/ContextMenu/ContextMenuTrigger.d.ts +0 -4
  50. package/dist/lib/components/ContextMenu/index.d.ts +0 -17
  51. package/dist/lib/components/DataList/DataListItem.d.ts +0 -9
  52. package/dist/lib/components/DataList/DataListLabel.d.ts +0 -10
  53. package/dist/lib/components/DataList/DataListRoot.d.ts +0 -14
  54. package/dist/lib/components/DataList/DataListValue.d.ts +0 -11
  55. package/dist/lib/components/DataList/index.d.ts +0 -8
  56. package/dist/lib/components/Dialog/DialogAction.d.ts +0 -13
  57. package/dist/lib/components/Dialog/DialogCancel.d.ts +0 -11
  58. package/dist/lib/components/Dialog/DialogContent.d.ts +0 -11
  59. package/dist/lib/components/Dialog/DialogDescription.d.ts +0 -9
  60. package/dist/lib/components/Dialog/DialogRoot.d.ts +0 -15
  61. package/dist/lib/components/Dialog/DialogSlot.d.ts +0 -9
  62. package/dist/lib/components/Dialog/DialogTitle.d.ts +0 -11
  63. package/dist/lib/components/Dialog/DialogTrigger.d.ts +0 -3
  64. package/dist/lib/components/Dialog/index.d.ts +0 -15
  65. package/dist/lib/components/DoughnutChart/index.d.ts +0 -23
  66. package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.d.ts +0 -3
  67. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.d.ts +0 -11
  68. package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.d.ts +0 -7
  69. package/dist/lib/components/DropdownMenu/DropdownMenuContent.d.ts +0 -11
  70. package/dist/lib/components/DropdownMenu/DropdownMenuItem.d.ts +0 -15
  71. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +0 -10
  72. package/dist/lib/components/DropdownMenu/DropdownMenuLable.d.ts +0 -10
  73. package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.d.ts +0 -6
  74. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.d.ts +0 -15
  75. package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.d.ts +0 -3
  76. package/dist/lib/components/DropdownMenu/DropdownMenuSub.d.ts +0 -3
  77. package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.d.ts +0 -4
  78. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +0 -14
  79. package/dist/lib/components/DropdownMenu/index.d.ts +0 -20
  80. package/dist/lib/components/HoverCard/HoverCardContent.d.ts +0 -14
  81. package/dist/lib/components/HoverCard/HoverCardRoot.d.ts +0 -11
  82. package/dist/lib/components/HoverCard/HoverCardTrigger.d.ts +0 -3
  83. package/dist/lib/components/HoverCard/index.d.ts +0 -10
  84. package/dist/lib/components/IconButton/index.d.ts +0 -15
  85. package/dist/lib/components/Inset/index.d.ts +0 -10
  86. package/dist/lib/components/Label/index.d.ts +0 -17
  87. package/dist/lib/components/LineChart/index.d.ts +0 -44
  88. package/dist/lib/components/Menubar/MenubarCheckboxItem.d.ts +0 -4
  89. package/dist/lib/components/Menubar/MenubarContent.d.ts +0 -11
  90. package/dist/lib/components/Menubar/MenubarItem.d.ts +0 -13
  91. package/dist/lib/components/Menubar/MenubarItemIndicator.d.ts +0 -10
  92. package/dist/lib/components/Menubar/MenubarMenu.d.ts +0 -5
  93. package/dist/lib/components/Menubar/MenubarRadioGroup.d.ts +0 -8
  94. package/dist/lib/components/Menubar/MenubarRadioItem.d.ts +0 -4
  95. package/dist/lib/components/Menubar/MenubarRoot.d.ts +0 -19
  96. package/dist/lib/components/Menubar/MenubarSeparator.d.ts +0 -3
  97. package/dist/lib/components/Menubar/MenubarSub.d.ts +0 -3
  98. package/dist/lib/components/Menubar/MenubarSubContent.d.ts +0 -10
  99. package/dist/lib/components/Menubar/MenubarSubTrigger.d.ts +0 -4
  100. package/dist/lib/components/Menubar/MenubarTrigger.d.ts +0 -12
  101. package/dist/lib/components/Menubar/index.d.ts +0 -19
  102. package/dist/lib/components/NavigationMenu/NavigationMenuContent.d.ts +0 -11
  103. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.d.ts +0 -3
  104. package/dist/lib/components/NavigationMenu/NavigationMenuItem.d.ts +0 -3
  105. package/dist/lib/components/NavigationMenu/NavigationMenuLink.d.ts +0 -13
  106. package/dist/lib/components/NavigationMenu/NavigationMenuList.d.ts +0 -12
  107. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.d.ts +0 -14
  108. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.d.ts +0 -13
  109. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.d.ts +0 -12
  110. package/dist/lib/components/NavigationMenu/index.d.ts +0 -12
  111. package/dist/lib/components/PieChart/index.d.ts +0 -23
  112. package/dist/lib/components/Popover/PopoverClose.d.ts +0 -9
  113. package/dist/lib/components/Popover/PopoverContent.d.ts +0 -11
  114. package/dist/lib/components/Popover/PopoverRoot.d.ts +0 -12
  115. package/dist/lib/components/Popover/PopoverTrigger.d.ts +0 -3
  116. package/dist/lib/components/Popover/index.d.ts +0 -11
  117. package/dist/lib/components/Progress/index.d.ts +0 -13
  118. package/dist/lib/components/RadarChart/index.d.ts +0 -33
  119. package/dist/lib/components/Radio/index.d.ts +0 -13
  120. package/dist/lib/components/RadioCards/RadioCardsItem.d.ts +0 -10
  121. package/dist/lib/components/RadioCards/RadioCardsRoot.d.ts +0 -13
  122. package/dist/lib/components/RadioCards/index.d.ts +0 -6
  123. package/dist/lib/components/RadioGroup/RadioGroupItem.d.ts +0 -13
  124. package/dist/lib/components/RadioGroup/RadioGroupRoot.d.ts +0 -15
  125. package/dist/lib/components/RadioGroup/index.d.ts +0 -6
  126. package/dist/lib/components/ScrollArea/index.d.ts +0 -9
  127. package/dist/lib/components/SegmentedControl/SegmentedControlItem.d.ts +0 -6
  128. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +0 -14
  129. package/dist/lib/components/SegmentedControl/index.d.ts +0 -6
  130. package/dist/lib/components/Select/index.d.ts +0 -34
  131. package/dist/lib/components/Separator/index.d.ts +0 -11
  132. package/dist/lib/components/Skeleton/index.d.ts +0 -14
  133. package/dist/lib/components/Slider/index.d.ts +0 -14
  134. package/dist/lib/components/Spinner/index.d.ts +0 -15
  135. package/dist/lib/components/TabNav/index.d.ts +0 -15
  136. package/dist/lib/components/Table/index.d.ts +0 -30
  137. package/dist/lib/components/Tabs/index.d.ts +0 -22
  138. package/dist/lib/components/TextArea/index.d.ts +0 -16
  139. package/dist/lib/components/TextField/index.d.ts +0 -21
  140. package/dist/lib/components/Toast/ToastActionButton.d.ts +0 -14
  141. package/dist/lib/components/Toast/ToastDescription.d.ts +0 -13
  142. package/dist/lib/components/Toast/ToastRoot.d.ts +0 -27
  143. package/dist/lib/components/Toast/ToastTitle.d.ts +0 -13
  144. package/dist/lib/components/Toast/index.d.ts +0 -8
  145. package/dist/lib/components/Toggle/ToggleWithText.d.ts +0 -21
  146. package/dist/lib/components/Toggle/index.d.ts +0 -21
  147. package/dist/lib/components/ToggleGroup/ToggleGroupItem.d.ts +0 -17
  148. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.d.ts +0 -15
  149. package/dist/lib/components/ToggleGroup/index.d.ts +0 -6
  150. package/dist/lib/components/ToggleSwitch/index.d.ts +0 -13
  151. package/dist/lib/components/Tooltip/index.d.ts +0 -19
  152. package/dist/lib/components/index.d.ts +0 -50
  153. package/dist/lib/constants.d.ts +0 -655
  154. package/dist/lib/index.d.ts +0 -2
  155. package/dist/lib/types.d.ts +0 -81
  156. package/dist/lib/utils/useDarkMode.d.ts +0 -1
  157. package/dist/lib/utils/utils.d.ts +0 -2
@@ -1,33 +0,0 @@
1
- import React from 'react';
2
- import { VariantProps } from 'class-variance-authority';
3
- import { IChartDataLabels, IChartDatasets, IChartLegend, IChartTitle } from '../../../lib/types';
4
- type IRadarChartDataset = IChartDatasets & {
5
- data: number[];
6
- pointBackgroundColor?: string;
7
- pointBorderColor?: string;
8
- pointBorderWidth?: number;
9
- pointHoverBackgroundColor?: string;
10
- pointHoverBorderColor?: string;
11
- pointHoverBorderWidth?: number;
12
- fill?: boolean;
13
- };
14
- export interface RadarChartProps extends VariantProps<typeof radarChartVariants> {
15
- appearance?: 'solid' | 'soft';
16
- isColorMixed?: boolean;
17
- className?: string;
18
- datasets: IRadarChartDataset[];
19
- title?: IChartTitle;
20
- legend?: IChartLegend;
21
- labels?: string[];
22
- datalabels?: IChartDataLabels;
23
- width?: string | number;
24
- height?: string | number;
25
- }
26
- declare const radarChartVariants: (props?: ({
27
- scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
28
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
29
- export declare const RadarChart: {
30
- ({ className, title, legend, datalabels, datasets, labels, width, height, scaling, appearance, isColorMixed, ...props }: RadarChartProps): React.JSX.Element;
31
- displayName: string;
32
- };
33
- export default RadarChart;
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- import { VariantProps } from 'class-variance-authority';
3
- import { IScaling } from '../../../lib/types';
4
- export interface RadioProps extends VariantProps<typeof radioVariants> {
5
- size?: any;
6
- scaling?: IScaling;
7
- appearance?: 'classic' | 'surface' | 'soft';
8
- }
9
- declare const radioVariants: (props?: ({
10
- size?: "small" | "medium" | "large" | null | undefined;
11
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
12
- export declare const Radio: React.ForwardRefExoticComponent<Omit<import("@radix-ui/themes").RadioProps & React.RefAttributes<HTMLInputElement>, "ref"> & RadioProps & React.RefAttributes<HTMLInputElement>>;
13
- export default Radio;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import { VariantProps } from 'class-variance-authority';
3
- import { RadioCards as RadioCardsTheme } from '@radix-ui/themes';
4
- export interface RadioCardsItemProps extends VariantProps<typeof radioCardsItemVariants> {
5
- }
6
- export declare const radioCardsItemVariants: (props?: ({
7
- radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
8
- size?: "small" | "medium" | "large" | null | undefined;
9
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
10
- export declare const RadioCardsItem: React.ForwardRefExoticComponent<Omit<RadioCardsTheme.ItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & RadioCardsItemProps & React.RefAttributes<HTMLButtonElement>>;
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- import { VariantProps } from 'class-variance-authority';
3
- import { RadioCards as RadioCardsTheme } from '@radix-ui/themes';
4
- import { radioCardsItemVariants } from './RadioCardsItem';
5
- export interface RadioCardsProps extends VariantProps<typeof radioCardsVariants>, VariantProps<typeof radioCardsItemVariants> {
6
- appearance?: 'classic' | 'surface';
7
- }
8
- declare const radioCardsVariants: (props?: ({
9
- scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
10
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
11
- export declare const RadioCardsContext: React.Context<RadioCardsProps>;
12
- export declare const RadioCardsRoot: React.ForwardRefExoticComponent<Omit<RadioCardsTheme.RootProps & React.RefAttributes<HTMLDivElement>, "ref"> & RadioCardsProps & React.RefAttributes<HTMLDivElement>>;
13
- export {};
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- declare const RadioCards: {
3
- Root: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/radio-cards").RootProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./RadioCardsRoot").RadioCardsProps & import("react").RefAttributes<HTMLDivElement>>;
4
- Item: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/radio-cards").ItemProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("./RadioCardsItem").RadioCardsItemProps & import("react").RefAttributes<HTMLButtonElement>>;
5
- };
6
- export default RadioCards;
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- import { VariantProps } from 'class-variance-authority';
3
- import { RadioGroup as RadioGroupTheme } from '@radix-ui/themes';
4
- export interface RadioGroupItemProps extends VariantProps<typeof radioGroupItemVariants> {
5
- size?: any;
6
- value: string;
7
- appearance?: 'classic' | 'surface' | 'soft';
8
- }
9
- declare const radioGroupItemVariants: (props?: ({
10
- size?: "small" | "medium" | "large" | null | undefined;
11
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
12
- export declare const RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioGroupTheme.ItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>>;
13
- export {};
@@ -1,15 +0,0 @@
1
- import React from 'react';
2
- import { RadioGroup as RadioGroupTheme } from '@radix-ui/themes';
3
- import { VariantProps } from 'class-variance-authority';
4
- import { IScaling } from '../../../lib/types';
5
- export interface RadioGroupProps extends VariantProps<typeof radioGroupVariants> {
6
- scaling?: IScaling;
7
- size?: 'small' | 'medium' | 'large';
8
- appearance?: 'classic' | 'surface' | 'soft';
9
- }
10
- declare const radioGroupVariants: (props?: ({
11
- size?: "small" | "medium" | "large" | null | undefined;
12
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
13
- export declare const RadioGroupContext: React.Context<RadioGroupProps>;
14
- export declare const RadioGroupRoot: React.ForwardRefExoticComponent<Omit<RadioGroupTheme.RootProps & React.RefAttributes<HTMLDivElement>, "ref"> & RadioGroupProps & React.RefAttributes<HTMLDivElement>>;
15
- export {};
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- declare const RadioGroup: {
3
- Root: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/radio-group").RootProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./RadioGroupRoot").RadioGroupProps & import("react").RefAttributes<HTMLDivElement>>;
4
- Item: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/radio-group").ItemProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("./RadioGroupItem").RadioGroupItemProps & import("react").RefAttributes<HTMLButtonElement>>;
5
- };
6
- export default RadioGroup;
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
3
- export interface ScrollAreaProps {
4
- size?: any;
5
- radius?: 'none' | 'small' | 'medium' | 'large' | 'full';
6
- scrollbars?: 'vertical' | 'horizontal' | 'both';
7
- }
8
- export declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & ScrollAreaProps & React.RefAttributes<HTMLDivElement>>;
9
- export default ScrollArea;
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- import { SegmentedControl as SegmentedControlTheme } from '@radix-ui/themes';
3
- export interface SegmentedControlItemProps {
4
- appearance?: 'surface' | 'classic';
5
- }
6
- export declare const SegmentedControlItem: React.ForwardRefExoticComponent<Omit<SegmentedControlTheme.ItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & SegmentedControlItemProps & React.RefAttributes<HTMLButtonElement>>;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import { VariantProps } from 'class-variance-authority';
3
- import { SegmentedControl as SegmentedControlTheme } from '@radix-ui/themes';
4
- export * from './SegmentedControlItem';
5
- import { ISize } from '../../../lib/types';
6
- export interface SegmentedControlProps extends VariantProps<typeof segmentedControlVariants> {
7
- appearance?: 'surface' | 'classic';
8
- size?: Exclude<ISize, 'x-small' | 'x-large'>;
9
- radius?: 'none' | 'small' | 'medium' | 'large' | 'full';
10
- }
11
- declare const segmentedControlVariants: (props?: ({
12
- scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
13
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
14
- export declare const SegmentedControlRoot: React.ForwardRefExoticComponent<Omit<SegmentedControlTheme.RootProps & React.RefAttributes<HTMLDivElement>, "ref"> & SegmentedControlProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- declare const SegmentedControl: {
3
- Root: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/segmented-control").RootProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./SegmentedControlRoot").SegmentedControlProps & import("react").RefAttributes<HTMLDivElement>>;
4
- Item: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/segmented-control").ItemProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("../../../lib/components/SegmentedControl/SegmentedControlItem").SegmentedControlItemProps & import("react").RefAttributes<HTMLButtonElement>>;
5
- };
6
- export default SegmentedControl;
@@ -1,34 +0,0 @@
1
- import { Select as SelectTheme } from '@radix-ui/themes';
2
- import React from 'react';
3
- import { VariantProps } from 'class-variance-authority';
4
- import { IScaling } from '../../../lib/types';
5
- export interface SelectProps extends VariantProps<typeof selectVariants> {
6
- label?: string;
7
- defaultValue?: string;
8
- selected?: string;
9
- disabled?: boolean;
10
- color?: any;
11
- scaling?: IScaling;
12
- appearance?: 'classic' | 'surface' | 'soft' | 'ghost';
13
- size?: 'small' | 'medium' | 'large';
14
- }
15
- declare const selectVariants: (props?: ({
16
- radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
17
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
18
- export declare const Root: React.ForwardRefExoticComponent<SelectTheme.RootProps & SelectProps & React.RefAttributes<never>>;
19
- export declare const Trigger: React.ForwardRefExoticComponent<Omit<SelectTheme.TriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & SelectProps & React.RefAttributes<HTMLButtonElement>>;
20
- export declare const Content: React.ForwardRefExoticComponent<Omit<SelectTheme.ContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & SelectProps & React.RefAttributes<HTMLDivElement>>;
21
- export declare const Item: React.ForwardRefExoticComponent<Omit<SelectTheme.ItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & SelectProps & React.RefAttributes<HTMLDivElement>>;
22
- export declare const Group: React.ForwardRefExoticComponent<Omit<SelectTheme.GroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & SelectProps & React.RefAttributes<HTMLDivElement>>;
23
- export declare const Label: React.ForwardRefExoticComponent<Omit<SelectTheme.LabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & SelectProps & React.RefAttributes<HTMLDivElement>>;
24
- export declare const Separator: React.ForwardRefExoticComponent<Omit<SelectTheme.SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & SelectProps & React.RefAttributes<HTMLDivElement>>;
25
- declare const Select: {
26
- Root: React.ForwardRefExoticComponent<SelectTheme.RootProps & SelectProps & React.RefAttributes<never>>;
27
- Trigger: React.ForwardRefExoticComponent<Omit<SelectTheme.TriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & SelectProps & React.RefAttributes<HTMLButtonElement>>;
28
- Content: React.ForwardRefExoticComponent<Omit<SelectTheme.ContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & SelectProps & React.RefAttributes<HTMLDivElement>>;
29
- Item: React.ForwardRefExoticComponent<Omit<SelectTheme.ItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & SelectProps & React.RefAttributes<HTMLDivElement>>;
30
- Group: React.ForwardRefExoticComponent<Omit<SelectTheme.GroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & SelectProps & React.RefAttributes<HTMLDivElement>>;
31
- Label: React.ForwardRefExoticComponent<Omit<SelectTheme.LabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & SelectProps & React.RefAttributes<HTMLDivElement>>;
32
- Separator: React.ForwardRefExoticComponent<Omit<SelectTheme.SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & SelectProps & React.RefAttributes<HTMLDivElement>>;
33
- };
34
- export default Select;
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import { VariantProps } from 'class-variance-authority';
3
- export interface SeparatorProps extends VariantProps<typeof separatorVariants> {
4
- size?: 'small' | 'medium' | 'large' | 'fill-large';
5
- }
6
- declare const separatorVariants: (props?: ({
7
- scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
8
- color?: string | null | undefined;
9
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
10
- export declare const Separator: React.ForwardRefExoticComponent<Omit<import("@radix-ui/themes").SeparatorProps & React.RefAttributes<HTMLSpanElement>, "ref"> & SeparatorProps & React.RefAttributes<HTMLSpanElement>>;
11
- export default Separator;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import { VariantProps } from 'class-variance-authority';
3
- import { IColor } from '../../../lib/types';
4
- export interface SkeletonProps extends VariantProps<typeof separatorVariants> {
5
- color?: IColor;
6
- loading?: boolean;
7
- width?: string;
8
- height?: string;
9
- }
10
- declare const separatorVariants: (props?: ({
11
- radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
12
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
13
- export declare const Skeleton: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & SkeletonProps & React.RefAttributes<HTMLSpanElement>>;
14
- export default Skeleton;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import { VariantProps } from 'class-variance-authority';
3
- import { IScaling } from '../../../lib/types';
4
- export interface SliderProps extends VariantProps<typeof sliderVariants> {
5
- appearance?: 'classic' | 'soft' | 'surface';
6
- label?: string;
7
- size?: 'small' | 'medium' | 'large';
8
- scaling?: IScaling;
9
- }
10
- declare const sliderVariants: (props?: ({
11
- radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
12
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
13
- export declare const Slider: React.ForwardRefExoticComponent<Omit<import("@radix-ui/themes").SliderProps & React.RefAttributes<HTMLSpanElement>, "ref"> & SliderProps & React.RefAttributes<HTMLSpanElement>>;
14
- export default Slider;
@@ -1,15 +0,0 @@
1
- import React from 'react';
2
- import { VariantProps } from 'class-variance-authority';
3
- import { IColor } from '../../../lib/types';
4
- export interface SpinnerProps extends VariantProps<typeof spinnerVariants> {
5
- color?: IColor;
6
- loading?: boolean;
7
- width?: string;
8
- height?: string;
9
- size?: 'small' | 'medium' | 'large';
10
- }
11
- declare const spinnerVariants: (props?: ({
12
- scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
13
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
14
- export declare const Spinner: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & SpinnerProps & React.RefAttributes<HTMLSpanElement>>;
15
- export default Spinner;
@@ -1,15 +0,0 @@
1
- import React from 'react';
2
- import { VariantProps } from 'class-variance-authority';
3
- import { TabNav as TabNavTheme } from '@radix-ui/themes';
4
- export interface TabNavProps extends VariantProps<typeof tabNavVariants> {
5
- href?: string;
6
- size?: 'small' | 'medium';
7
- }
8
- declare const tabNavVariants: (props?: ({} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
9
- export declare const Root: React.ForwardRefExoticComponent<Omit<TabNavTheme.RootProps & React.RefAttributes<HTMLElement>, "ref"> & TabNavProps & React.RefAttributes<HTMLElement>>;
10
- export declare const Link: React.ForwardRefExoticComponent<Omit<TabNavTheme.LinkProps & React.RefAttributes<HTMLAnchorElement>, "ref"> & TabNavProps & React.RefAttributes<HTMLAnchorElement>>;
11
- declare const TabNav: {
12
- Root: React.ForwardRefExoticComponent<Omit<TabNavTheme.RootProps & React.RefAttributes<HTMLElement>, "ref"> & TabNavProps & React.RefAttributes<HTMLElement>>;
13
- Link: React.ForwardRefExoticComponent<Omit<TabNavTheme.LinkProps & React.RefAttributes<HTMLAnchorElement>, "ref"> & TabNavProps & React.RefAttributes<HTMLAnchorElement>>;
14
- };
15
- export default TabNav;
@@ -1,30 +0,0 @@
1
- import React from 'react';
2
- import { VariantProps } from 'class-variance-authority';
3
- import { IColor } from '../../../lib/types';
4
- import { Table as TableTheme } from '@radix-ui/themes';
5
- export interface TableProps extends VariantProps<typeof tableVariants> {
6
- color?: IColor;
7
- appearance?: 'ghost' | 'surface';
8
- size?: 'small' | 'medium' | 'large';
9
- }
10
- declare const tableVariants: (props?: ({
11
- scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
12
- radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
13
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
14
- export declare const Root: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & TableProps & React.RefAttributes<HTMLDivElement>>;
15
- export declare const Header: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & TableProps & React.RefAttributes<HTMLTableSectionElement>>;
16
- export declare const Body: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & TableProps & React.RefAttributes<HTMLTableSectionElement>>;
17
- export declare const Row: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, "ref"> & TableProps & React.RefAttributes<HTMLTableRowElement>>;
18
- export declare const Cell: React.ForwardRefExoticComponent<Omit<TableTheme.CellProps & React.RefAttributes<HTMLTableDataCellElement>, "ref"> & TableProps & React.RefAttributes<HTMLTableDataCellElement>>;
19
- export declare const ColumnHeaderCell: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, "ref"> & TableProps & React.RefAttributes<HTMLTableHeaderCellElement>>;
20
- export declare const RowHeaderCell: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, "ref"> & TableProps & React.RefAttributes<HTMLTableHeaderCellElement>>;
21
- declare const Table: {
22
- Root: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & TableProps & React.RefAttributes<HTMLDivElement>>;
23
- Header: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & TableProps & React.RefAttributes<HTMLTableSectionElement>>;
24
- Body: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & TableProps & React.RefAttributes<HTMLTableSectionElement>>;
25
- Row: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, "ref"> & TableProps & React.RefAttributes<HTMLTableRowElement>>;
26
- Cell: React.ForwardRefExoticComponent<Omit<TableTheme.CellProps & React.RefAttributes<HTMLTableDataCellElement>, "ref"> & TableProps & React.RefAttributes<HTMLTableDataCellElement>>;
27
- ColumnHeaderCell: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, "ref"> & TableProps & React.RefAttributes<HTMLTableHeaderCellElement>>;
28
- RowHeaderCell: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, "ref"> & TableProps & React.RefAttributes<HTMLTableHeaderCellElement>>;
29
- };
30
- export default Table;
@@ -1,22 +0,0 @@
1
- import { Tabs as TabsTheme } from '@radix-ui/themes';
2
- import React from 'react';
3
- import { VariantProps } from 'class-variance-authority';
4
- export interface TabsProps extends VariantProps<typeof tabsVariants> {
5
- defaultValue?: string;
6
- size?: 'small' | 'medium';
7
- color?: any;
8
- }
9
- declare const tabsVariants: (props?: ({
10
- weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
11
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
12
- export declare const Root: React.ForwardRefExoticComponent<Omit<TabsTheme.RootProps & React.RefAttributes<HTMLDivElement>, "ref"> & TabsProps & React.RefAttributes<HTMLDivElement>>;
13
- export declare const List: React.ForwardRefExoticComponent<Omit<TabsTheme.ListProps & React.RefAttributes<HTMLDivElement>, "ref"> & TabsProps & React.RefAttributes<HTMLDivElement>>;
14
- export declare const Trigger: React.ForwardRefExoticComponent<Omit<TabsTheme.TriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & TabsProps & React.RefAttributes<HTMLButtonElement>>;
15
- export declare const Content: React.ForwardRefExoticComponent<Omit<TabsTheme.ContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & TabsProps & React.RefAttributes<HTMLDivElement>>;
16
- declare const Tabs: {
17
- Root: React.ForwardRefExoticComponent<Omit<TabsTheme.RootProps & React.RefAttributes<HTMLDivElement>, "ref"> & TabsProps & React.RefAttributes<HTMLDivElement>>;
18
- List: React.ForwardRefExoticComponent<Omit<TabsTheme.ListProps & React.RefAttributes<HTMLDivElement>, "ref"> & TabsProps & React.RefAttributes<HTMLDivElement>>;
19
- Trigger: React.ForwardRefExoticComponent<Omit<TabsTheme.TriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & TabsProps & React.RefAttributes<HTMLButtonElement>>;
20
- Content: React.ForwardRefExoticComponent<Omit<TabsTheme.ContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & TabsProps & React.RefAttributes<HTMLDivElement>>;
21
- };
22
- export default Tabs;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import { VariantProps } from 'class-variance-authority';
3
- import { IColor } from '../../../lib/types';
4
- export interface TextAreaProps extends VariantProps<typeof textAreaNavVariants> {
5
- color?: IColor;
6
- href?: string;
7
- appearance?: 'classic' | 'soft' | 'surface';
8
- size?: 'small' | 'medium' | 'large' | 'x-large';
9
- }
10
- declare const textAreaNavVariants: (props?: ({
11
- size?: "small" | "medium" | "large" | "x-large" | null | undefined;
12
- scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
13
- radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
14
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
15
- export declare const TextArea: React.ForwardRefExoticComponent<Omit<import("@radix-ui/themes").TextAreaProps & React.RefAttributes<HTMLTextAreaElement>, "ref"> & TextAreaProps & React.RefAttributes<HTMLTextAreaElement>>;
16
- export default TextArea;
@@ -1,21 +0,0 @@
1
- import React from 'react';
2
- import { VariantProps } from 'class-variance-authority';
3
- import { TextField as TextFieldTheme } from '@radix-ui/themes';
4
- import { IScaling } from '../../../lib/types';
5
- export interface TextFieldProps extends VariantProps<typeof textFieldVariants> {
6
- appearance?: 'classic' | 'soft' | 'surface';
7
- label?: string;
8
- size?: 'small' | 'medium' | 'large';
9
- scaling?: IScaling;
10
- }
11
- declare const textFieldVariants: (props?: ({
12
- radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
13
- color?: string | null | undefined;
14
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
15
- export declare const Root: React.ForwardRefExoticComponent<Omit<TextFieldTheme.RootProps & React.RefAttributes<HTMLInputElement>, "ref"> & TextFieldProps & React.RefAttributes<HTMLInputElement>>;
16
- export declare const Slot: React.ForwardRefExoticComponent<Omit<TextFieldTheme.SlotProps & React.RefAttributes<HTMLDivElement>, "ref"> & TextFieldProps & React.RefAttributes<HTMLDivElement>>;
17
- declare const TextField: {
18
- Root: React.ForwardRefExoticComponent<Omit<TextFieldTheme.RootProps & React.RefAttributes<HTMLInputElement>, "ref"> & TextFieldProps & React.RefAttributes<HTMLInputElement>>;
19
- Slot: React.ForwardRefExoticComponent<Omit<TextFieldTheme.SlotProps & React.RefAttributes<HTMLDivElement>, "ref"> & TextFieldProps & React.RefAttributes<HTMLDivElement>>;
20
- };
21
- export default TextField;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import * as ToastPrimitive from '@radix-ui/react-toast';
3
- import { VariantProps } from 'class-variance-authority';
4
- import { IAppearance } from '../../../lib/types';
5
- export interface ToastActionButtonProps extends VariantProps<typeof toastActionButtonVariants> {
6
- altText?: string;
7
- appearance?: IAppearance;
8
- }
9
- export declare const toastActionButtonVariants: (props?: ({
10
- radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
11
- size?: "small" | "medium" | "large" | "x-large" | null | undefined;
12
- scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
13
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
14
- export declare const ToastActionButton: React.ForwardRefExoticComponent<Omit<ToastPrimitive.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & ToastActionButtonProps & React.RefAttributes<HTMLButtonElement>>;
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- import * as ToastPrimitive from '@radix-ui/react-toast';
3
- import { VariantProps } from 'class-variance-authority';
4
- import { IAppearance } from '../../../lib/types';
5
- export interface ToastDescriptionProps extends VariantProps<typeof toastDescriptionVariants> {
6
- contentText?: string;
7
- appearance?: IAppearance;
8
- }
9
- export declare const toastDescriptionVariants: (props?: ({
10
- size?: "small" | "medium" | "large" | "x-large" | null | undefined;
11
- color?: "danger" | "warning" | "success" | "information" | null | undefined;
12
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
13
- export declare const ToastDescription: React.ForwardRefExoticComponent<Omit<ToastPrimitive.ToastDescriptionProps & React.RefAttributes<HTMLDivElement>, "ref"> & ToastDescriptionProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,27 +0,0 @@
1
- import React, { Dispatch, SetStateAction } from 'react';
2
- import { VariantProps } from 'class-variance-authority';
3
- import * as ToastPrimitive from '@radix-ui/react-toast';
4
- import { toastTitleVariants } from './ToastTitle';
5
- import { toastDescriptionVariants } from './ToastDescription';
6
- import { toastActionButtonVariants } from './ToastActionButton';
7
- export interface ToastProps extends VariantProps<typeof toastVariants>, VariantProps<typeof toastTitleVariants>, VariantProps<typeof toastDescriptionVariants>, VariantProps<typeof toastActionButtonVariants>, VariantProps<typeof toastViewportVariants> {
8
- className?: string;
9
- openToast?: boolean;
10
- duration?: number;
11
- titleText?: string;
12
- contentText?: string;
13
- color?: 'danger' | 'warning' | 'success' | 'information' | null;
14
- setOpenToast?: Dispatch<SetStateAction<boolean>>;
15
- }
16
- export declare const toastVariants: (props?: ({
17
- radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
18
- size?: "small" | "medium" | "large" | "x-large" | null | undefined;
19
- scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
20
- color?: "danger" | "warning" | "success" | "information" | null | undefined;
21
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
22
- export declare const toastViewportVariants: (props?: ({
23
- toastPosition?: "top_center" | "top_left" | "top_right" | "bottom_center" | "bottom_left" | "bottom_right" | null | undefined;
24
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
25
- export declare const useToastContext: () => ToastProps;
26
- export declare const ToastRoot: React.ForwardRefExoticComponent<ToastPrimitive.ToastProviderProps & ToastProps & React.RefAttributes<never>>;
27
- export default ToastRoot;
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- import * as ToastPrimitive from '@radix-ui/react-toast';
3
- import { VariantProps } from 'class-variance-authority';
4
- import { IAppearance } from '../../../lib/types';
5
- export interface ToastTitleProps extends VariantProps<typeof toastTitleVariants> {
6
- titleText?: string;
7
- appearance?: IAppearance;
8
- }
9
- export declare const toastTitleVariants: (props?: ({
10
- size?: "small" | "medium" | "large" | "x-large" | null | undefined;
11
- color?: "danger" | "warning" | "success" | "information" | null | undefined;
12
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
13
- export declare const ToastTitle: React.ForwardRefExoticComponent<Omit<ToastPrimitive.ToastTitleProps & React.RefAttributes<HTMLDivElement>, "ref"> & ToastTitleProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- declare const Toast: {
3
- Root: import("react").ForwardRefExoticComponent<import("@radix-ui/react-toast").ToastProviderProps & import("./ToastRoot").ToastProps & import("react").RefAttributes<never>>;
4
- Title: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-toast").ToastTitleProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./ToastTitle").ToastTitleProps & import("react").RefAttributes<HTMLDivElement>>;
5
- Description: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-toast").ToastDescriptionProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./ToastDescription").ToastDescriptionProps & import("react").RefAttributes<HTMLDivElement>>;
6
- ActionButton: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-toast").ToastActionProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("./ToastActionButton").ToastActionButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
7
- };
8
- export default Toast;
@@ -1,21 +0,0 @@
1
- import React from 'react';
2
- import { VariantProps } from 'class-variance-authority';
3
- import * as TogglePrimitive from '@radix-ui/react-toggle';
4
- import { IAppearance } from '../../../lib/types';
5
- export interface ToggleWithTextProps extends VariantProps<typeof toggleWithTextVariants> {
6
- text?: string;
7
- appearance?: IAppearance;
8
- size?: 'small' | 'medium' | 'large';
9
- }
10
- declare const toggleWithTextVariants: (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
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
15
- export declare const IconScaling: {
16
- small: string;
17
- medium: string;
18
- large: string;
19
- };
20
- export declare const ToggleWithText: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & ToggleWithTextProps & React.RefAttributes<HTMLButtonElement>>;
21
- export default ToggleWithText;
@@ -1,21 +0,0 @@
1
- import React from 'react';
2
- import { VariantProps } from 'class-variance-authority';
3
- import * as TogglePrimitive from '@radix-ui/react-toggle';
4
- import { IAppearance } from '../../../lib/types';
5
- export * from './ToggleWithText';
6
- export interface ToggleProps extends VariantProps<typeof toggleVariants> {
7
- size?: 'small' | 'medium' | 'large';
8
- appearance?: IAppearance;
9
- }
10
- declare const toggleVariants: (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
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
15
- export declare const IconScaling: {
16
- small: string;
17
- medium: string;
18
- large: string;
19
- };
20
- export declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & ToggleProps & React.RefAttributes<HTMLButtonElement>>;
21
- export default Toggle;
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
3
- import { VariantProps } from 'class-variance-authority';
4
- import { IAppearance } from '../../../lib/types';
5
- export interface ToggleGroupItemProps extends VariantProps<typeof toggleGroupItemVariants> {
6
- appearance?: IAppearance;
7
- size?: 'small' | 'medium' | 'large';
8
- }
9
- export declare const toggleGroupItemVariants: (props?: ({
10
- size?: "small" | "medium" | "large" | null | undefined;
11
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
12
- export declare const IconScaling: {
13
- small: string;
14
- medium: string;
15
- large: string;
16
- };
17
- export declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>>;
@@ -1,15 +0,0 @@
1
- import React from 'react';
2
- import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
3
- import { VariantProps } from 'class-variance-authority';
4
- import { toggleGroupItemVariants } from './ToggleGroupItem';
5
- import { IAppearance, IColor } from '../../../lib/types';
6
- export interface ToggleGroupProps extends VariantProps<typeof toggleVariants>, VariantProps<typeof toggleGroupItemVariants> {
7
- appearance?: IAppearance;
8
- color?: IColor;
9
- }
10
- declare const toggleVariants: (props?: ({
11
- scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
12
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
13
- export declare const ToggleGroupContext: React.Context<ToggleGroupProps>;
14
- export declare const ToggleGroupRoot: React.ForwardRefExoticComponent<(React.ComponentPropsWithoutRef<React.ForwardRefExoticComponent<(ToggleGroupPrimitive.ToggleGroupSingleProps | ToggleGroupPrimitive.ToggleGroupMultipleProps) & React.RefAttributes<HTMLDivElement>>> & ToggleGroupProps) & React.RefAttributes<HTMLDivElement>>;
15
- export {};
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- declare const ToggleGroup: {
3
- Root: import("react").ForwardRefExoticComponent<(import("react").ComponentPropsWithoutRef<import("react").ForwardRefExoticComponent<(import("@radix-ui/react-toggle-group").ToggleGroupSingleProps | import("@radix-ui/react-toggle-group").ToggleGroupMultipleProps) & import("react").RefAttributes<HTMLDivElement>>> & import("./ToggleGroupRoot").ToggleGroupProps) & import("react").RefAttributes<HTMLDivElement>>;
4
- Item: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-toggle-group").ToggleGroupItemProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("./ToggleGroupItem").ToggleGroupItemProps & import("react").RefAttributes<HTMLButtonElement>>;
5
- };
6
- export default ToggleGroup;
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- import { VariantProps } from 'class-variance-authority';
3
- export interface ToggleSwitchProps extends VariantProps<typeof toggleSwitchVariants> {
4
- appearance?: 'classic' | 'soft' | 'surface';
5
- children?: any;
6
- }
7
- declare const toggleSwitchVariants: (props?: ({
8
- scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
9
- radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
10
- size?: "small" | "medium" | "large" | null | undefined;
11
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
12
- export declare const ToggleSwitch: React.ForwardRefExoticComponent<Omit<import("@radix-ui/themes").SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & ToggleSwitchProps & React.RefAttributes<HTMLButtonElement>>;
13
- export default ToggleSwitch;
@@ -1,19 +0,0 @@
1
- import React from 'react';
2
- import * as TooltipPrimitive from '@radix-ui/react-tooltip';
3
- import { VariantProps } from 'class-variance-authority';
4
- import { IColor } from '../../../lib/types';
5
- export interface TooltipProps extends React.InputHTMLAttributes<HTMLInputElement>, VariantProps<typeof tooltipVariants> {
6
- label?: string;
7
- defaultValue?: string;
8
- selected?: string;
9
- disabled?: boolean;
10
- color?: IColor;
11
- side?: 'top' | 'right' | 'bottom' | 'left';
12
- }
13
- declare const tooltipVariants: (props?: ({
14
- weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
15
- radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
16
- color?: string | null | undefined;
17
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
18
- declare const Tooltip: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipProps & TooltipProps & React.RefAttributes<never>>;
19
- export default Tooltip;