@lotte-innovate/ui-component-test 0.0.0 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. package/README.md +163 -154
  2. package/dist/Typography/Header/index.d.ts +13 -0
  3. package/dist/Typography/Header/index.jsx +58 -0
  4. package/dist/Typography/Text/index.d.ts +16 -0
  5. package/dist/Typography/Text/index.jsx +47 -0
  6. package/dist/components/Accordion/index.jsx +13 -13
  7. package/dist/components/AlertDialog/AlertDialogAction.jsx +2 -2
  8. package/dist/components/AlertDialog/AlertDialogCancel.jsx +2 -2
  9. package/dist/components/AlertDialog/AlertDialogContent.jsx +5 -5
  10. package/dist/components/AlertDialog/AlertDialogDescription.jsx +2 -2
  11. package/dist/components/AlertDialog/AlertDialogTitle.jsx +2 -2
  12. package/dist/components/AlertDialog/AlertDialogTrigger.jsx +2 -2
  13. package/dist/components/AspectRatio/index.jsx +2 -2
  14. package/dist/components/Avatar/index.jsx +5 -5
  15. package/dist/components/Badge/index.jsx +2 -2
  16. package/dist/components/BubbleChart/index.d.ts +1 -1
  17. package/dist/components/BubbleChart/index.jsx +1 -0
  18. package/dist/components/Button/index.jsx +2 -2
  19. package/dist/components/Callout/CalloutIcon.jsx +6 -6
  20. package/dist/components/Callout/CalloutText.jsx +2 -2
  21. package/dist/components/Callout/index.jsx +4 -4
  22. package/dist/components/Card/index.jsx +2 -2
  23. package/dist/components/Checkbox/index.jsx +9 -9
  24. package/dist/components/CheckboxCard/index.jsx +3 -3
  25. package/dist/components/CheckboxGroup/CheckboxGroupItem.jsx +4 -4
  26. package/dist/components/CheckboxGroup/index.jsx +4 -4
  27. package/dist/components/ContextMenu/ContextMenuCheckboxItem.jsx +5 -5
  28. package/dist/components/ContextMenu/ContextMenuContent.jsx +4 -4
  29. package/dist/components/ContextMenu/ContextMenuGroup.jsx +2 -2
  30. package/dist/components/ContextMenu/ContextMenuItem.jsx +3 -3
  31. package/dist/components/ContextMenu/ContextMenuItemIndicator.jsx +2 -2
  32. package/dist/components/ContextMenu/ContextMenuLabel.jsx +2 -2
  33. package/dist/components/ContextMenu/ContextMenuRadioGroup.jsx +4 -4
  34. package/dist/components/ContextMenu/ContextMenuRadioItem.jsx +5 -5
  35. package/dist/components/ContextMenu/ContextMenuSeparator.jsx +2 -2
  36. package/dist/components/ContextMenu/ContextMenuSubContent.jsx +4 -4
  37. package/dist/components/ContextMenu/ContextMenuSubTrigger.jsx +7 -7
  38. package/dist/components/ContextMenu/ContextMenuTrigger.jsx +2 -2
  39. package/dist/components/ContextMenu/index.jsx +2 -2
  40. package/dist/components/DataList/DataListItem.jsx +2 -2
  41. package/dist/components/DataList/DataListLabel.jsx +2 -2
  42. package/dist/components/DataList/DataListValue.jsx +2 -2
  43. package/dist/components/DataList/index.jsx +4 -4
  44. package/dist/components/Dialog/DialogAction.jsx +2 -2
  45. package/dist/components/Dialog/DialogCancel.jsx +2 -2
  46. package/dist/components/Dialog/DialogContent.jsx +2 -2
  47. package/dist/components/Dialog/DialogDescription.jsx +2 -2
  48. package/dist/components/Dialog/DialogSlot.jsx +2 -2
  49. package/dist/components/Dialog/DialogTitle.jsx +2 -2
  50. package/dist/components/Dialog/DialogTrigger.jsx +2 -2
  51. package/dist/components/Dialog/index.jsx +2 -2
  52. package/dist/components/DropdownMenu/DropdonMenuRadioGroup.jsx +4 -4
  53. package/dist/components/DropdownMenu/DropdonMenuSubContent.jsx +4 -4
  54. package/dist/components/DropdownMenu/DropdownMenuCheckboxItem.jsx +5 -5
  55. package/dist/components/DropdownMenu/DropdownMenuContent.jsx +4 -4
  56. package/dist/components/DropdownMenu/DropdownMenuItem.jsx +3 -3
  57. package/dist/components/DropdownMenu/DropdownMenuItemIndicator.jsx +2 -2
  58. package/dist/components/DropdownMenu/DropdownMenuLable.jsx +2 -2
  59. package/dist/components/DropdownMenu/DropdownMenuRadioItem.jsx +5 -5
  60. package/dist/components/DropdownMenu/DropdownMenuSubTrigger.jsx +5 -5
  61. package/dist/components/DropdownMenu/DropdownMenuTrigger.jsx +2 -2
  62. package/dist/components/HoverCard/HoverCardContent.jsx +2 -2
  63. package/dist/components/HoverCard/HoverCardTrigger.jsx +2 -2
  64. package/dist/components/HoverCard/index.jsx +2 -2
  65. package/dist/components/IconButton/index.jsx +2 -2
  66. package/dist/components/Input/Input.stories.jsx +6 -6
  67. package/dist/components/Inset/index.jsx +4 -4
  68. package/dist/components/Label/index.jsx +2 -2
  69. package/dist/components/Menubar/MenubarCheckboxItem.jsx +5 -5
  70. package/dist/components/Menubar/MenubarContent.jsx +4 -4
  71. package/dist/components/Menubar/MenubarItem.jsx +3 -3
  72. package/dist/components/Menubar/MenubarItemIndicator.jsx +2 -2
  73. package/dist/components/Menubar/MenubarRadioGroup.jsx +4 -4
  74. package/dist/components/Menubar/MenubarRadioItem.jsx +5 -5
  75. package/dist/components/Menubar/MenubarSeparator.jsx +2 -2
  76. package/dist/components/Menubar/MenubarSubContent.jsx +2 -2
  77. package/dist/components/Menubar/MenubarSubTrigger.jsx +5 -5
  78. package/dist/components/Menubar/MenubarTrigger.jsx +2 -2
  79. package/dist/components/Menubar/index.jsx +4 -4
  80. package/dist/components/NavigationMenu/NavigationMenuContent.jsx +2 -2
  81. package/dist/components/NavigationMenu/NavigationMenuIndicator.jsx +3 -3
  82. package/dist/components/NavigationMenu/NavigationMenuItem.jsx +2 -2
  83. package/dist/components/NavigationMenu/NavigationMenuLink.jsx +2 -2
  84. package/dist/components/NavigationMenu/NavigationMenuList.jsx +3 -3
  85. package/dist/components/NavigationMenu/NavigationMenuTrigger.jsx +3 -3
  86. package/dist/components/NavigationMenu/NavigationMenuViewport.jsx +2 -2
  87. package/dist/components/NavigationMenu/index.jsx +4 -4
  88. package/dist/components/Popover/PopoverClose.jsx +2 -2
  89. package/dist/components/Popover/PopoverContent.jsx +2 -2
  90. package/dist/components/Popover/PopoverTrigger.jsx +2 -2
  91. package/dist/components/Popover/index.d.ts +1 -0
  92. package/dist/components/Popover/index.jsx +3 -2
  93. package/dist/components/Progress/index.d.ts +1 -1
  94. package/dist/components/Progress/index.jsx +3 -2
  95. package/dist/components/RadarChart/index.d.ts +1 -1
  96. package/dist/components/RadarChart/index.jsx +1 -0
  97. package/dist/components/Radio/index.d.ts +1 -1
  98. package/dist/components/Radio/index.jsx +8 -7
  99. package/dist/components/RadioCards/RadioCardsItem.jsx +2 -2
  100. package/dist/components/RadioCards/index.d.ts +1 -0
  101. package/dist/components/RadioCards/index.jsx +5 -4
  102. package/dist/components/RadioGroup/RadioGroupItem.jsx +2 -2
  103. package/dist/components/RadioGroup/index.d.ts +1 -0
  104. package/dist/components/RadioGroup/index.jsx +5 -4
  105. package/dist/components/ScrollArea/index.d.ts +1 -0
  106. package/dist/components/ScrollArea/index.jsx +5 -4
  107. package/dist/components/SegmentedControl/SegmentedControlItem.jsx +2 -2
  108. package/dist/components/SegmentedControl/index.d.ts +1 -0
  109. package/dist/components/SegmentedControl/index.jsx +5 -4
  110. package/dist/components/Select/index.d.ts +1 -1
  111. package/dist/components/Select/index.jsx +17 -16
  112. package/dist/components/Separator/index.d.ts +1 -1
  113. package/dist/components/Separator/index.jsx +5 -4
  114. package/dist/components/Skeleton/index.d.ts +1 -1
  115. package/dist/components/Skeleton/index.jsx +5 -4
  116. package/dist/components/Slider/index.d.ts +1 -1
  117. package/dist/components/Slider/index.jsx +3 -2
  118. package/dist/components/Spinner/index.d.ts +1 -1
  119. package/dist/components/Spinner/index.jsx +5 -4
  120. package/dist/components/TabNav/index.d.ts +1 -1
  121. package/dist/components/TabNav/index.jsx +7 -6
  122. package/dist/components/Table/index.d.ts +1 -1
  123. package/dist/components/Table/index.jsx +17 -16
  124. package/dist/components/Tabs/index.d.ts +1 -1
  125. package/dist/components/Tabs/index.jsx +11 -10
  126. package/dist/components/TextArea/index.d.ts +1 -1
  127. package/dist/components/TextArea/index.jsx +3 -2
  128. package/dist/components/TextField/index.d.ts +1 -1
  129. package/dist/components/TextField/index.jsx +7 -6
  130. package/dist/components/Toast/ToastActionButton.jsx +2 -2
  131. package/dist/components/Toast/ToastDescription.jsx +4 -4
  132. package/dist/components/Toast/ToastTitle.jsx +2 -2
  133. package/dist/components/Toast/index.d.ts +1 -0
  134. package/dist/components/Toast/index.jsx +8 -7
  135. package/dist/components/Toggle/ToggleWithText.jsx +3 -3
  136. package/dist/components/Toggle/index.d.ts +1 -0
  137. package/dist/components/Toggle/index.jsx +3 -2
  138. package/dist/components/ToggleGroup/index.d.ts +1 -0
  139. package/dist/components/ToggleGroup/index.jsx +5 -4
  140. package/dist/components/ToggleGroup/toggleGroupItem.jsx +2 -2
  141. package/dist/components/ToggleSwitch/index.d.ts +1 -1
  142. package/dist/components/ToggleSwitch/index.jsx +6 -5
  143. package/dist/components/Tooltip/index.d.ts +1 -1
  144. package/dist/components/Tooltip/index.jsx +10 -10
  145. package/dist/components/index.d.ts +0 -22
  146. package/dist/components/index.js +52 -22
  147. package/dist/index.js +51 -0
  148. package/package.json +120 -119
@@ -40,8 +40,8 @@ export var dropdownMenuLabelVariants = cva("flex relative leading-none select-no
40
40
  });
41
41
  export var DropdownMenuLabel = forwardRef(function (_a, ref) {
42
42
  var className = _a.className, children = _a.children, size = _a.size, props = __rest(_a, ["className", "children", "size"]);
43
- return (<DropdownMenuPrimitive.Label ref={ref} className={cn(dropdownMenuLabelVariants({ size: size }), className)} {...props}>
44
- {children}
43
+ return (<DropdownMenuPrimitive.Label ref={ref} className={cn(dropdownMenuLabelVariants({ size: size }), className)} {...props}>
44
+ {children}
45
45
  </DropdownMenuPrimitive.Label>);
46
46
  });
47
47
  DropdownMenuLabel.displayName = 'DropdownMenuLabel';
@@ -22,11 +22,11 @@ export var DropdownMenuRadioItem = forwardRef(function (_a, ref) {
22
22
  radius: radius,
23
23
  size: size,
24
24
  }), 'pl-7', menuItemAppearanceStyle(appearance, color), className);
25
- return (<DropdownMenuTheme.RadioItem ref={ref} className={itemClassName} {...props}>
26
- <DropdownMenuItemIndicator forceMount radius={'full'} size={size}>
27
- {radioGroup.selectedValue === props.value && <DotFilledIcon />}
28
- </DropdownMenuItemIndicator>
29
- {children}
25
+ return (<DropdownMenuTheme.RadioItem ref={ref} className={itemClassName} {...props}>
26
+ <DropdownMenuItemIndicator forceMount radius={'full'} size={size}>
27
+ {radioGroup.selectedValue === props.value && <DotFilledIcon />}
28
+ </DropdownMenuItemIndicator>
29
+ {children}
30
30
  </DropdownMenuTheme.RadioItem>);
31
31
  });
32
32
  DropdownMenuRadioItem.displayName = 'DropdownMenuRadioItem';
@@ -21,11 +21,11 @@ export var DropdownMenuSubTrigger = forwardRef(function (_a, ref) {
21
21
  ? 'hover:fill-slate-12 dark:hover:fill-slateDark-1'
22
22
  : "hover:fill-white dark:hover:fill-slateDark-12 ");
23
23
  var triggerClassName = cn(dropdownMenuItemVariants({ size: size, radius: radius }), menuItemAppearanceStyle(appearance, color), className);
24
- return (<DropdownMenuPrimitive.SubTrigger ref={ref} className={triggerClassName} {...props}>
25
- {children}
26
- <div className="ml-auto pl-5 ">
27
- <ChevronRightIcon className={iconClassName}/>
28
- </div>
24
+ return (<DropdownMenuPrimitive.SubTrigger ref={ref} className={triggerClassName} {...props}>
25
+ {children}
26
+ <div className="ml-auto pl-5 ">
27
+ <ChevronRightIcon className={iconClassName}/>
28
+ </div>
29
29
  </DropdownMenuPrimitive.SubTrigger>);
30
30
  });
31
31
  DropdownMenuSubTrigger.displayName = 'DropdownMenuSubTrigger';
@@ -34,8 +34,8 @@ var dropdownMenuTriggerVariants = cva('', {
34
34
  });
35
35
  export var DropdownMenuTrigger = forwardRef(function (_a, ref) {
36
36
  var className = _a.className, children = _a.children, radius = _a.radius, size = _a.size, props = __rest(_a, ["className", "children", "radius", "size"]);
37
- return (<DropdownMenuPrimitive.Trigger asChild ref={ref} className={cn(dropdownMenuTriggerVariants({ radius: radius, size: size }), className)} {...props}>
38
- {children}
37
+ return (<DropdownMenuPrimitive.Trigger asChild ref={ref} className={cn(dropdownMenuTriggerVariants({ radius: radius, size: size }), className)} {...props}>
38
+ {children}
39
39
  </DropdownMenuPrimitive.Trigger>);
40
40
  });
41
41
  DropdownMenuTrigger.displayName = 'DropdownMenuTrigger';
@@ -54,8 +54,8 @@ export var HoverCardContent = forwardRef(function (_a, ref) {
54
54
  sizeTheme = '1';
55
55
  if (size === 'large')
56
56
  sizeTheme = '3';
57
- return (<HoverCardTheme.Content ref={ref} {...props} size={sizeTheme} className={cn(hoverCardContentVariants({ size: size, scaling: scaling, weight: weight, radius: radius, color: color }), size === 'x-large' && 'rt-r-size-4', className)}>
58
- {children}
57
+ return (<HoverCardTheme.Content ref={ref} {...props} size={sizeTheme} className={cn(hoverCardContentVariants({ size: size, scaling: scaling, weight: weight, radius: radius, color: color }), size === 'x-large' && 'rt-r-size-4', className)}>
58
+ {children}
59
59
  </HoverCardTheme.Content>);
60
60
  });
61
61
  HoverCardContent.displayName = 'HoverCardContent';
@@ -13,8 +13,8 @@ import React, { forwardRef } from 'react';
13
13
  import { HoverCard as HoverCardTheme } from '@radix-ui/themes';
14
14
  export var HoverCardTrigger = forwardRef(function (_a, ref) {
15
15
  var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
16
- return (<HoverCardTheme.Trigger ref={ref} className={className} {...props}>
17
- {children}
16
+ return (<HoverCardTheme.Trigger ref={ref} className={className} {...props}>
17
+ {children}
18
18
  </HoverCardTheme.Trigger>);
19
19
  });
20
20
  HoverCardTrigger.displayName = 'HoverCardTrigger';
@@ -15,8 +15,8 @@ export * from './HoverCardTrigger';
15
15
  export * from './HoverCardContent';
16
16
  export var HoverCard = forwardRef(function (_a, ref) {
17
17
  var children = _a.children, props = __rest(_a, ["children"]);
18
- return (<Theme>
19
- <HoverCardTheme.Root {...props}>{children}</HoverCardTheme.Root>
18
+ return (<Theme>
19
+ <HoverCardTheme.Root {...props}>{children}</HoverCardTheme.Root>
20
20
  </Theme>);
21
21
  });
22
22
  HoverCard.displayName = 'HoverCard';
@@ -56,8 +56,8 @@ export var IconButton = forwardRef(function (_a, ref) {
56
56
  var width = iconSize[size];
57
57
  var height = iconSize[size];
58
58
  var buttonClassName = cn(iconButtonVariants({ radius: radius, scaling: scaling, size: size, color: color }), appearanceStyle(appearance, color, true), className);
59
- return (<button ref={ref} className={buttonClassName} {...props}>
60
- {Children.map(children, function (child) { return React.cloneElement(child, { width: width, height: height }); })}
59
+ return (<button ref={ref} className={buttonClassName} {...props}>
60
+ {Children.map(children, function (child) { return React.cloneElement(child, { width: width, height: height }); })}
61
61
  </button>);
62
62
  });
63
63
  IconButton.displayName = 'IconButton';
@@ -57,12 +57,12 @@ export default meta;
57
57
  export var Default = {
58
58
  args: {},
59
59
  };
60
- export var Radius = function (args) { return (<div className="flex space-x-2">
61
- {radiusOptions.map(function (radius) { return (<Input key={radius} {...args} radius={radius}/>); })}
60
+ export var Radius = function (args) { return (<div className="flex space-x-2">
61
+ {radiusOptions.map(function (radius) { return (<Input key={radius} {...args} radius={radius}/>); })}
62
62
  </div>); };
63
- export var Scaling = function (args) { return (<div className="flex items-center space-x-2">
64
- {scalingOptions.map(function (scaling) { return (<Input key={scaling} {...args} scaling={scaling}></Input>); })}
63
+ export var Scaling = function (args) { return (<div className="flex items-center space-x-2">
64
+ {scalingOptions.map(function (scaling) { return (<Input key={scaling} {...args} scaling={scaling}></Input>); })}
65
65
  </div>); };
66
- export var Weight = function (args) { return (<div className="flex items-center space-x-2">
67
- {weightOptions.map(function (weight) { return (<Input key={weight} {...args} weight={weight}></Input>); })}
66
+ export var Weight = function (args) { return (<div className="flex items-center space-x-2">
67
+ {weightOptions.map(function (weight) { return (<Input key={weight} {...args} weight={weight}></Input>); })}
68
68
  </div>); };
@@ -43,10 +43,10 @@ var insetVariants = cva('border-[1px] border-slate-6 dark:border-slateDark-6 tex
43
43
  });
44
44
  export var Inset = forwardRef(function (_a, ref) {
45
45
  var children = _a.children, className = _a.className, radius = _a.radius, scaling = _a.scaling, props = __rest(_a, ["children", "className", "radius", "scaling"]);
46
- return (<Theme>
47
- <InsetTheme ref={ref} className={cn(insetVariants({ radius: radius, scaling: scaling }), className)} {...props}>
48
- {children}
49
- </InsetTheme>
46
+ return (<Theme>
47
+ <InsetTheme ref={ref} className={cn(insetVariants({ radius: radius, scaling: scaling }), className)} {...props}>
48
+ {children}
49
+ </InsetTheme>
50
50
  </Theme>);
51
51
  });
52
52
  Inset.displayName = 'Inset';
@@ -46,8 +46,8 @@ export var Label = React.forwardRef(function (_a, forwardedRef) {
46
46
  var className = _a.className, scaling = _a.scaling, weight = _a.weight, size = _a.size, color = _a.color, children = _a.children, rootProps = __rest(_a, ["className", "scaling", "weight", "size", "color", "children"]);
47
47
  if (weight === 'medium' || weight === 'semibold')
48
48
  weight = 'bold';
49
- return (<LabelPrimitive.Root {...rootProps} ref={forwardedRef} className={cn('', labeVariants({ scaling: scaling, size: size, weight: weight, color: color }), className)}>
50
- {children}
49
+ return (<LabelPrimitive.Root {...rootProps} ref={forwardedRef} className={cn('', labeVariants({ scaling: scaling, size: size, weight: weight, color: color }), className)}>
50
+ {children}
51
51
  </LabelPrimitive.Root>);
52
52
  });
53
53
  Label.displayName = 'Label';
@@ -21,11 +21,11 @@ export var MenubarCheckboxItem = forwardRef(function (_a, ref) {
21
21
  var children = _a.children, className = _a.className, checked = _a.checked, props = __rest(_a, ["children", "className", "checked"]);
22
22
  var _b = useMenubarContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size, _c = _b.color, color = _c === void 0 ? 'red' : _c, _d = _b.itemAppearance, itemAppearance = _d === void 0 ? 'solid' : _d;
23
23
  var itemClassName = cn(menubarItemVariants({ radius: radius, scaling: scaling, size: size }), 'pl-7', menuItemAppearanceStyle(itemAppearance, color), className);
24
- return (<MenubarPrimitive.CheckboxItem ref={ref} className={itemClassName} {...props}>
25
- <MenubarItemIndicator forceMount radius={'medium'} size={size}>
26
- {checked && <CheckIcon />}
27
- </MenubarItemIndicator>
28
- {children}
24
+ return (<MenubarPrimitive.CheckboxItem ref={ref} className={itemClassName} {...props}>
25
+ <MenubarItemIndicator forceMount radius={'medium'} size={size}>
26
+ {checked && <CheckIcon />}
27
+ </MenubarItemIndicator>
28
+ {children}
29
29
  </MenubarPrimitive.CheckboxItem>);
30
30
  });
31
31
  MenubarCheckboxItem.displayName = 'MenubarCheckboxItem';
@@ -50,14 +50,14 @@ export var menubarContentVariants = cva("p-[5px] bg-white dark:bg-slateDark-1 wi
50
50
  export var MenubarContent = forwardRef(function (_a, ref) {
51
51
  var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
52
52
  var _b = useMenubarContext(), radius = _b.radius, size = _b.size, scaling = _b.scaling;
53
- return (<MenubarPrimitive.Portal>
53
+ return (<MenubarPrimitive.Portal>
54
54
  <MenubarPrimitive.Content ref={ref} className={cn(menubarContentVariants({
55
55
  radius: radius,
56
56
  size: size,
57
57
  scaling: scaling,
58
- }), className)} align="start" sideOffset={5} alignOffset={-3} {...props}>
59
- {children}
60
- </MenubarPrimitive.Content>
58
+ }), className)} align="start" sideOffset={5} alignOffset={-3} {...props}>
59
+ {children}
60
+ </MenubarPrimitive.Content>
61
61
  </MenubarPrimitive.Portal>);
62
62
  });
63
63
  MenubarContent.displayName = 'MenubarContent';
@@ -48,9 +48,9 @@ export var MenubarItem = forwardRef(function (_a, ref) {
48
48
  var shortcutClassName = "text-slateA-11 dark:text-slateDarkA-11 ".concat(itemAppearance === 'solid' && !blackText.includes(color)
49
49
  ? 'group-hover:text-white dark:group-hover:text-slateDark-1'
50
50
  : '');
51
- return (<MenubarPrimitive.Item ref={ref} className={itemClassName} {...props}>
52
- {children}
53
- {shortcut && <span className={shortcutClassName}>{shortcut}</span>}
51
+ return (<MenubarPrimitive.Item ref={ref} className={itemClassName} {...props}>
52
+ {children}
53
+ {shortcut && <span className={shortcutClassName}>{shortcut}</span>}
54
54
  </MenubarPrimitive.Item>);
55
55
  });
56
56
  MenubarItem.displayName = 'MenubarItem';
@@ -43,8 +43,8 @@ export var MenubarItemIndicator = forwardRef(function (_a, ref) {
43
43
  var children = _a.children, className = _a.className, radius = _a.radius, props = __rest(_a, ["children", "className", "radius"]);
44
44
  var size = useMenubarContext().size;
45
45
  var indicatorClassName = cn(menubarItemIndicatorVariants({ size: size, radius: radius }), className);
46
- return (<MenubarPrimitive.ItemIndicator ref={ref} className={indicatorClassName} {...props}>
47
- {children}
46
+ return (<MenubarPrimitive.ItemIndicator ref={ref} className={indicatorClassName} {...props}>
47
+ {children}
48
48
  </MenubarPrimitive.ItemIndicator>);
49
49
  });
50
50
  MenubarItemIndicator.displayName = 'MenubarItemIndicator';
@@ -14,10 +14,10 @@ import * as MenubarPrimitive from '@radix-ui/react-menubar';
14
14
  export var RadioContext = createContext({ selectedValue: '' });
15
15
  export var MenubarRadioGroup = forwardRef(function (_a, ref) {
16
16
  var children = _a.children, className = _a.className, value = _a.value, props = __rest(_a, ["children", "className", "value"]);
17
- return (<MenubarPrimitive.RadioGroup ref={ref} className={className} {...props}>
18
- <RadioContext.Provider value={{ selectedValue: value !== null && value !== void 0 ? value : '' }}>
19
- {children}
20
- </RadioContext.Provider>
17
+ return (<MenubarPrimitive.RadioGroup ref={ref} className={className} {...props}>
18
+ <RadioContext.Provider value={{ selectedValue: value !== null && value !== void 0 ? value : '' }}>
19
+ {children}
20
+ </RadioContext.Provider>
21
21
  </MenubarPrimitive.RadioGroup>);
22
22
  });
23
23
  MenubarRadioGroup.displayName = 'MenubarRadioGroup';
@@ -23,11 +23,11 @@ export var MenubarRadioItem = forwardRef(function (_a, ref) {
23
23
  var _b = useMenubarContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size, _c = _b.color, color = _c === void 0 ? 'red' : _c, _d = _b.itemAppearance, itemAppearance = _d === void 0 ? 'solid' : _d;
24
24
  var itemClassName = cn(menubarItemVariants({ radius: radius, scaling: scaling, size: size }), 'pl-7', menuItemAppearanceStyle(itemAppearance, color), className);
25
25
  var radioGroup = useContext(RadioContext);
26
- return (<MenubarPrimitive.RadioItem ref={ref} className={itemClassName} {...props}>
27
- <MenubarItemIndicator forceMount radius={'full'} size={size}>
28
- {radioGroup.selectedValue === props.value && <DotFilledIcon />}
29
- </MenubarItemIndicator>
30
- {children}
26
+ return (<MenubarPrimitive.RadioItem ref={ref} className={itemClassName} {...props}>
27
+ <MenubarItemIndicator forceMount radius={'full'} size={size}>
28
+ {radioGroup.selectedValue === props.value && <DotFilledIcon />}
29
+ </MenubarItemIndicator>
30
+ {children}
31
31
  </MenubarPrimitive.RadioItem>);
32
32
  });
33
33
  MenubarRadioItem.displayName = 'MenubarRadioItem';
@@ -14,8 +14,8 @@ import * as MenubarPrimitive from '@radix-ui/react-menubar';
14
14
  import { cn } from 'utils/utils';
15
15
  export var MenubarSeparator = forwardRef(function (_a, ref) {
16
16
  var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
17
- return (<MenubarPrimitive.Separator ref={ref} className={cn('h-[1px] m-[5px] bg-slate-6 dark:bg-slateDark-6', className)} {...props}>
18
- {children}
17
+ return (<MenubarPrimitive.Separator ref={ref} className={cn('h-[1px] m-[5px] bg-slate-6 dark:bg-slateDark-6', className)} {...props}>
18
+ {children}
19
19
  </MenubarPrimitive.Separator>);
20
20
  });
21
21
  MenubarSeparator.displayName = 'MenubarSeparator';
@@ -45,8 +45,8 @@ export var MenubarSubContent = forwardRef(function (_a, ref) {
45
45
  return (<MenubarPrimitive.SubContent ref={ref} className={cn(menubarSubContentVariants({
46
46
  radius: radius,
47
47
  size: size,
48
- }), className)} alignOffset={-5} {...props}>
49
- {children}
48
+ }), className)} alignOffset={-5} {...props}>
49
+ {children}
50
50
  </MenubarPrimitive.SubContent>);
51
51
  });
52
52
  MenubarSubContent.displayName = 'MenubarSubContent';
@@ -24,11 +24,11 @@ export var MenubarSubTrigger = forwardRef(function (_a, ref) {
24
24
  if (itemAppearance === 'solid' && !blackText.includes(color)) {
25
25
  iconClassName = 'group-hover:text-white dark:group-hover:text-slateDark-1';
26
26
  }
27
- return (<MenubarPrimitive.SubTrigger ref={ref} className={triggerClassName} {...props}>
28
- {children}
29
- <div className={iconClassName}>
30
- <ChevronRightIcon />
31
- </div>
27
+ return (<MenubarPrimitive.SubTrigger ref={ref} className={triggerClassName} {...props}>
28
+ {children}
29
+ <div className={iconClassName}>
30
+ <ChevronRightIcon />
31
+ </div>
32
32
  </MenubarPrimitive.SubTrigger>);
33
33
  });
34
34
  MenubarSubTrigger.displayName = 'MenubarSubTrigger';
@@ -51,8 +51,8 @@ export var MenubarTrigger = forwardRef(function (_a, ref) {
51
51
  var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
52
52
  var _b = useMenubarContext(), scaling = _b.scaling, size = _b.size, radius = _b.radius, _c = _b.color, color = _c === void 0 ? 'red' : _c, _d = _b.appearance, appearance = _d === void 0 ? 'ghost' : _d;
53
53
  var triggerClassName = cn(menubarTriggerVariants({ scaling: scaling, size: size, radius: radius }), appearanceStyle(appearance, color), className);
54
- return (<MenubarPrimitive.Trigger ref={ref} className={triggerClassName} {...props}>
55
- {children}
54
+ return (<MenubarPrimitive.Trigger ref={ref} className={triggerClassName} {...props}>
55
+ {children}
56
56
  </MenubarPrimitive.Trigger>);
57
57
  });
58
58
  MenubarTrigger.displayName = 'MenubarTrigger';
@@ -66,10 +66,10 @@ export var Menubar = forwardRef(function (_a, ref) {
66
66
  var children = _a.children, className = _a.className, radius = _a.radius, scaling = _a.scaling, size = _a.size, _b = _a.color, color = _b === void 0 ? 'red' : _b, _c = _a.appearance, appearance = _c === void 0 ? 'ghost' : _c, _d = _a.itemAppearance, itemAppearance = _d === void 0 ? 'solid' : _d, props = __rest(_a, ["children", "className", "radius", "scaling", "size", "color", "appearance", "itemAppearance"]);
67
67
  var contextValue = { radius: radius, size: size, scaling: scaling, color: color, appearance: appearance, itemAppearance: itemAppearance };
68
68
  var menuClassName = cn(menubarVariants({ radius: radius, scaling: scaling, size: size }), appearance === 'solid' && "bg-".concat(color, "-9 dark:bg-$").concat(color, "Dark-9"), className);
69
- return (<MenubarContext.Provider value={contextValue}>
70
- <MenubarPrimitive.Root ref={ref} className={menuClassName} {...props}>
71
- {children}
72
- </MenubarPrimitive.Root>
69
+ return (<MenubarContext.Provider value={contextValue}>
70
+ <MenubarPrimitive.Root ref={ref} className={menuClassName} {...props}>
71
+ {children}
72
+ </MenubarPrimitive.Root>
73
73
  </MenubarContext.Provider>);
74
74
  });
75
75
  Menubar.displayName = 'Menubar';
@@ -42,8 +42,8 @@ export var navigationMenuContentVariants = cva("text-slate-12 dark:text-slateDar
42
42
  export var NavigationMenuContent = forwardRef(function (_a, ref) {
43
43
  var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
44
44
  var _b = useNavigationMenuContext(), radius = _b.radius, size = _b.size;
45
- return (<NavigationMenuPrimitive.Content ref={ref} className={cn("absolute top-0 left-0 w-full sm:w-auto\n data-[motion=from-start]:animate-enterFromLeft \n data-[motion=from-end]:animate-enterFromRight \n data-[motion=to-start]:animate-exitToLeft \n data-[motion=to-end]:animate-exitToRight", navigationMenuContentVariants({ radius: radius, size: size }), className)} {...props}>
46
- {children}
45
+ return (<NavigationMenuPrimitive.Content ref={ref} className={cn("absolute top-0 left-0 w-full sm:w-auto\n data-[motion=from-start]:animate-enterFromLeft \n data-[motion=from-end]:animate-enterFromRight \n data-[motion=to-start]:animate-exitToLeft \n data-[motion=to-end]:animate-exitToRight", navigationMenuContentVariants({ radius: radius, size: size }), className)} {...props}>
46
+ {children}
47
47
  </NavigationMenuPrimitive.Content>);
48
48
  });
49
49
  NavigationMenuContent.displayName = 'NavigationMenuContent';
@@ -14,9 +14,9 @@ import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
14
14
  import { cn } from 'utils/utils';
15
15
  export var NavigationMenuIndicator = forwardRef(function (_a, ref) {
16
16
  var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
17
- return (<NavigationMenuPrimitive.Indicator ref={ref} className={"flex z-[1] top-full h-[10px] items-end justify-center overflow-hidden\n data-[state=visible]:animate-fadeIn data-[state=hidden]:animate-fadeOut \n transition-[width,transform_250ms_ease]"} {...props}>
18
- <div className={cn("relative top-[70%] h-[10px] w-[10px] rotate-[45deg] rounded-tl-[2px] \n bg-white dark:bg-slateDark-2 shadow-slate-4 shadow dark:shadow-slateDark-4", className)}/>
19
- {children}
17
+ return (<NavigationMenuPrimitive.Indicator ref={ref} className={"flex z-[1] top-full h-[10px] items-end justify-center overflow-hidden\n data-[state=visible]:animate-fadeIn data-[state=hidden]:animate-fadeOut \n transition-[width,transform_250ms_ease]"} {...props}>
18
+ <div className={cn("relative top-[70%] h-[10px] w-[10px] rotate-[45deg] rounded-tl-[2px] \n bg-white dark:bg-slateDark-2 shadow-slate-4 shadow dark:shadow-slateDark-4", className)}/>
19
+ {children}
20
20
  </NavigationMenuPrimitive.Indicator>);
21
21
  });
22
22
  NavigationMenuIndicator.displayName = 'NavigationMenuIndicator';
@@ -13,8 +13,8 @@ import React, { forwardRef } from 'react';
13
13
  import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
14
14
  export var NavigationMenuItem = forwardRef(function (_a, ref) {
15
15
  var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
16
- return (<NavigationMenuPrimitive.Item ref={ref} className={className} {...props}>
17
- {children}
16
+ return (<NavigationMenuPrimitive.Item ref={ref} className={className} {...props}>
17
+ {children}
18
18
  </NavigationMenuPrimitive.Item>);
19
19
  });
20
20
  NavigationMenuItem.displayName = 'NavigationMenuItem';
@@ -45,8 +45,8 @@ export var NavigationMenuLink = forwardRef(function (_a, ref) {
45
45
  var children = _a.children, className = _a.className, href = _a.href, props = __rest(_a, ["children", "className", "href"]);
46
46
  var _b = useNavigationMenuContext(), scaling = _b.scaling, size = _b.size, radius = _b.radius, _c = _b.color, color = _c === void 0 ? 'red' : _c, _d = _b.appearance, appearance = _d === void 0 ? 'ghost' : _d;
47
47
  var linkClassName = cn(navigationMenuLinkVariants({ scaling: scaling, size: size, radius: radius }), appearanceStyle(appearance, color), className);
48
- return (<NavigationMenuPrimitive.Link ref={ref} href={href} title={href} className={linkClassName} {...props}>
49
- {children}
48
+ return (<NavigationMenuPrimitive.Link ref={ref} href={href} title={href} className={linkClassName} {...props}>
49
+ {children}
50
50
  </NavigationMenuPrimitive.Link>);
51
51
  });
52
52
  NavigationMenuLink.displayName = 'NavigationMenuLink';
@@ -41,9 +41,9 @@ export var NavigationMenuList = forwardRef(function (_a, ref) {
41
41
  var children = _a.children, className = _a.className, _b = _a.isShowIndicator, isShowIndicator = _b === void 0 ? true : _b, props = __rest(_a, ["children", "className", "isShowIndicator"]);
42
42
  var _c = useNavigationMenuContext(), scaling = _c.scaling, radius = _c.radius, _d = _c.appearance, appearance = _d === void 0 ? 'ghost' : _d, _e = _c.color, color = _e === void 0 ? 'red' : _e;
43
43
  var navigationMenuListClassName = cn(navigationMenuListVariants({ scaling: scaling, radius: radius }), appearanceStyle(appearance, color, false), 'border-none', appearance === 'ghost' && 'bg-white', className);
44
- return (<NavigationMenuPrimitive.List ref={ref} className={navigationMenuListClassName} {...props}>
45
- {children}
46
- {isShowIndicator && <NavigationMenuIndicator />}
44
+ return (<NavigationMenuPrimitive.List ref={ref} className={navigationMenuListClassName} {...props}>
45
+ {children}
46
+ {isShowIndicator && <NavigationMenuIndicator />}
47
47
  </NavigationMenuPrimitive.List>);
48
48
  });
49
49
  NavigationMenuList.displayName = 'NavigationMenuList';
@@ -52,9 +52,9 @@ export var NavigationMenuTrigger = forwardRef(function (_a, ref) {
52
52
  var children = _a.children, className = _a.className, _b = _a.isShowIcon, isShowIcon = _b === void 0 ? true : _b, props = __rest(_a, ["children", "className", "isShowIcon"]);
53
53
  var _c = useNavigationMenuContext(), scaling = _c.scaling, size = _c.size, radius = _c.radius, _d = _c.color, color = _d === void 0 ? 'red' : _d, _e = _c.appearance, appearance = _e === void 0 ? 'ghost' : _e;
54
54
  var triggerClassName = cn(navigationMenuTriggerVariants({ scaling: scaling, size: size, radius: radius }), appearanceStyle(appearance, color), className);
55
- return (<NavigationMenuPrimitive.Trigger ref={ref} className={triggerClassName} {...props}>
56
- {children}
57
- {isShowIcon && (<CaretDownIcon className={cn("relative top-[1px] transition-transform duration-[250] ease-in group-data-[state=open]:-rotate-180")} aria-hidden/>)}
55
+ return (<NavigationMenuPrimitive.Trigger ref={ref} className={triggerClassName} {...props}>
56
+ {children}
57
+ {isShowIcon && (<CaretDownIcon className={cn("relative top-[1px] transition-transform duration-[250] ease-in group-data-[state=open]:-rotate-180")} aria-hidden/>)}
58
58
  </NavigationMenuPrimitive.Trigger>);
59
59
  });
60
60
  NavigationMenuTrigger.displayName = 'NavigationMenuTrigger';
@@ -47,8 +47,8 @@ export var NavigationMenuViewport = forwardRef(function (_a, ref) {
47
47
  var className = _a.className, props = __rest(_a, ["className"]);
48
48
  var _b = useNavigationMenuContext(), size = _b.size, scaling = _b.scaling, radius = _b.radius;
49
49
  var viewportClassName = cn(navigationViewportVariants({ size: size, scaling: scaling, radius: radius }), className);
50
- return (<div className="perspective-[2000px] absolute top-full left-0 flex w-full justify-center ">
51
- <NavigationMenuPrimitive.Viewport ref={ref} className={viewportClassName} {...props}/>
50
+ return (<div className="perspective-[2000px] absolute top-full left-0 flex w-full justify-center ">
51
+ <NavigationMenuPrimitive.Viewport ref={ref} className={viewportClassName} {...props}/>
52
52
  </div>);
53
53
  });
54
54
  NavigationMenuViewport.displayName = 'NavigationMenuViewport';
@@ -32,10 +32,10 @@ export var useNavigationMenuContext = function () {
32
32
  export var NavigationMenu = forwardRef(function (_a, ref) {
33
33
  var className = _a.className, children = _a.children, radius = _a.radius, size = _a.size, scaling = _a.scaling, color = _a.color, appearance = _a.appearance, props = __rest(_a, ["className", "children", "radius", "size", "scaling", "color", "appearance"]);
34
34
  var contextValue = { radius: radius, size: size, scaling: scaling, color: color, appearance: appearance };
35
- return (<NavigationMenuContext.Provider value={contextValue}>
36
- <NavigationMenuPrimitive.Root ref={ref} className={cn('flex relative z-[1] w-screen justify-center', className)} {...props}>
37
- {children}
38
- </NavigationMenuPrimitive.Root>
35
+ return (<NavigationMenuContext.Provider value={contextValue}>
36
+ <NavigationMenuPrimitive.Root ref={ref} className={cn('flex relative z-[1] w-screen justify-center', className)} {...props}>
37
+ {children}
38
+ </NavigationMenuPrimitive.Root>
39
39
  </NavigationMenuContext.Provider>);
40
40
  });
41
41
  NavigationMenu.displayName = 'NavigationMenu';
@@ -29,8 +29,8 @@ export var popoverCloseVariants = cva('', {
29
29
  });
30
30
  export var PopoverClose = forwardRef(function (_a, ref) {
31
31
  var className = _a.className, children = _a.children, radius = _a.radius, props = __rest(_a, ["className", "children", "radius"]);
32
- return (<PopoverTheme.Close ref={ref} className={cn(popoverCloseVariants({ radius: radius }), className)} {...props}>
33
- {children}
32
+ return (<PopoverTheme.Close ref={ref} className={cn(popoverCloseVariants({ radius: radius }), className)} {...props}>
33
+ {children}
34
34
  </PopoverTheme.Close>);
35
35
  });
36
36
  PopoverClose.displayName = 'PopoverClose';
@@ -57,8 +57,8 @@ export var PopoverContent = forwardRef(function (_a, ref) {
57
57
  sizeTheme = '3';
58
58
  if (size === 'x-large')
59
59
  sizeTheme = '4';
60
- return (<PopoverTheme.Content ref={ref} size={sizeTheme} className={cn(popoverContentVariants({ size: size, radius: radius, scaling: scaling }), className)} {...props}>
61
- {children}
60
+ return (<PopoverTheme.Content ref={ref} size={sizeTheme} className={cn(popoverContentVariants({ size: size, radius: radius, scaling: scaling }), className)} {...props}>
61
+ {children}
62
62
  </PopoverTheme.Content>);
63
63
  });
64
64
  PopoverContent.displayName = 'PopoverContent';
@@ -13,8 +13,8 @@ import React, { forwardRef } from 'react';
13
13
  import { Popover as PopoverTheme } from '@radix-ui/themes';
14
14
  export var PopoverTrigger = forwardRef(function (_a, ref) {
15
15
  var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
16
- return (<PopoverTheme.Trigger ref={ref} {...props} className={className}>
17
- {children}
16
+ return (<PopoverTheme.Trigger ref={ref} {...props} className={className}>
17
+ {children}
18
18
  </PopoverTheme.Trigger>);
19
19
  });
20
20
  PopoverTrigger.displayName = 'PopoverTrigger';
@@ -9,3 +9,4 @@ export * from './PopoverClose';
9
9
  export interface PopoverProps extends VariantProps<typeof popoverContentVariants>, VariantProps<typeof popoverCloseVariants> {
10
10
  }
11
11
  export declare const Popover: React.ForwardRefExoticComponent<PopoverTheme.RootProps & PopoverProps & React.RefAttributes<never>>;
12
+ export default Popover;
@@ -16,8 +16,9 @@ export * from './PopoverContent';
16
16
  export * from './PopoverClose';
17
17
  export var Popover = forwardRef(function (_a, ref) {
18
18
  var children = _a.children, props = __rest(_a, ["children"]);
19
- return (<Theme>
20
- <PopoverTheme.Root {...props}>{children}</PopoverTheme.Root>
19
+ return (<Theme>
20
+ <PopoverTheme.Root {...props}>{children}</PopoverTheme.Root>
21
21
  </Theme>);
22
22
  });
23
23
  Popover.displayName = 'Popover';
24
+ export default Popover;
@@ -13,4 +13,4 @@ declare const progressVariants: (props?: ({
13
13
  color?: string | null | undefined;
14
14
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
15
15
  export declare const Progress: React.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React.RefAttributes<HTMLDivElement>, "ref"> & ProgressProps & React.RefAttributes<HTMLDivElement>>;
16
- export {};
16
+ export default Progress;
@@ -50,8 +50,9 @@ var progressVariants = cva('w-[300px]', {
50
50
  });
51
51
  export var Progress = forwardRef(function (_a, ref) {
52
52
  var className = _a.className, children = _a.children, radius = _a.radius, size = _a.size, value = _a.value, _b = _a.appearance, appearance = _b === void 0 ? 'surface' : _b, _c = _a.color, color = _c === void 0 ? 'red' : _c, scaling = _a.scaling, props = __rest(_a, ["className", "children", "radius", "size", "value", "appearance", "color", "scaling"]);
53
- return (<Theme accentColor={color}>
54
- <ProgressTheme ref={ref} value={value} variant={appearance} className={cn(progressVariants({ radius: radius, size: size, scaling: scaling }), className)} {...props}/>
53
+ return (<Theme accentColor={color}>
54
+ <ProgressTheme ref={ref} value={value} variant={appearance} className={cn(progressVariants({ radius: radius, size: size, scaling: scaling }), className)} {...props}/>
55
55
  </Theme>);
56
56
  });
57
57
  Progress.displayName = 'Progress';
58
+ export default Progress;
@@ -32,4 +32,4 @@ export declare const RadarChart: {
32
32
  ({ className, labels, datasets, width, height, scaling, ...props }: RadarChartProps): React.JSX.Element;
33
33
  displayName: string;
34
34
  };
35
- export {};
35
+ export default RadarChart;
@@ -40,3 +40,4 @@ export var RadarChart = function (_a) {
40
40
  return (<Radar data={{ labels: labels, datasets: datasets }} className={cn(radarChartVariants({ scaling: scaling }), className)} width={width} height={height} {...props}/>);
41
41
  };
42
42
  RadarChart.displayName = 'RadarChart';
43
+ export default RadarChart;
@@ -11,4 +11,4 @@ declare const radioVariants: (props?: ({
11
11
  size?: "small" | "medium" | "large" | null | undefined;
12
12
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
13
13
  export declare const Radio: React.ForwardRefExoticComponent<Omit<import("@radix-ui/themes").RadioProps & React.RefAttributes<HTMLInputElement>, "ref"> & RadioProps & React.RefAttributes<HTMLInputElement>>;
14
- export {};
14
+ export default Radio;
@@ -33,13 +33,14 @@ export var Radio = React.forwardRef(function (_a, ref) {
33
33
  sizeTheme = '1';
34
34
  if (size === 'large')
35
35
  sizeTheme = '3';
36
- return (<Theme accentColor={color} scaling={scaling}>
37
- <Flex asChild className={cn(radioVariants({ size: size }), className)}>
38
- <Text as="label" size={sizeTheme}>
39
- <RadioTheme ref={ref} value={value} variant={appearance} size={sizeTheme} {...props}/>
40
- {children}
41
- </Text>
42
- </Flex>
36
+ return (<Theme accentColor={color} scaling={scaling}>
37
+ <Flex asChild className={cn(radioVariants({ size: size }), className)}>
38
+ <Text as="label" size={sizeTheme}>
39
+ <RadioTheme ref={ref} value={value} variant={appearance} size={sizeTheme} {...props}/>
40
+ {children}
41
+ </Text>
42
+ </Flex>
43
43
  </Theme>);
44
44
  });
45
45
  Radio.displayName = 'Radio';
46
+ export default Radio;
@@ -35,8 +35,8 @@ export var radioCardsItemVariants = cva('bg-white dark:bg-slateDark-1 text-slate
35
35
  });
36
36
  export var RadioCardsItem = forwardRef(function (_a, ref) {
37
37
  var children = _a.children, className = _a.className, radius = _a.radius, size = _a.size, value = _a.value, props = __rest(_a, ["children", "className", "radius", "size", "value"]);
38
- return (<RadioCardsTheme.Item ref={ref} value={value} className={cn(radioCardsItemVariants({ radius: radius, size: size }), className)} {...props}>
39
- {children}
38
+ return (<RadioCardsTheme.Item ref={ref} value={value} className={cn(radioCardsItemVariants({ radius: radius, size: size }), className)} {...props}>
39
+ {children}
40
40
  </RadioCardsTheme.Item>);
41
41
  });
42
42
  RadioCardsItem.displayName = 'RadioCardsItem';
@@ -11,3 +11,4 @@ declare const radioCardsVariants: (props?: ({
11
11
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
12
12
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
13
13
  export declare const RadioCards: React.ForwardRefExoticComponent<Omit<RadioCardsTheme.RootProps & React.RefAttributes<HTMLDivElement>, "ref"> & RadioCardsProps & React.RefAttributes<HTMLDivElement>>;
14
+ export default RadioCards;
@@ -36,10 +36,11 @@ var radioCardsVariants = cva('flex items-center gap-2', {
36
36
  });
37
37
  export var RadioCards = forwardRef(function (_a, ref) {
38
38
  var children = _a.children, className = _a.className, scaling = _a.scaling, _b = _a.appearance, appearance = _b === void 0 ? 'surface' : _b, _c = _a.color, color = _c === void 0 ? 'red' : _c, props = __rest(_a, ["children", "className", "scaling", "appearance", "color"]);
39
- return (<Theme accentColor={color}>
40
- <RadioCardsTheme.Root ref={ref} variant={appearance} className={cn(radioCardsVariants({ scaling: scaling }), className)} {...props}>
41
- {children}
42
- </RadioCardsTheme.Root>
39
+ return (<Theme accentColor={color}>
40
+ <RadioCardsTheme.Root ref={ref} variant={appearance} className={cn(radioCardsVariants({ scaling: scaling }), className)} {...props}>
41
+ {children}
42
+ </RadioCardsTheme.Root>
43
43
  </Theme>);
44
44
  });
45
45
  RadioCards.displayName = 'RadioCards';
46
+ export default RadioCards;