@lotte-innovate/ui-component-test 0.1.38 → 0.1.40
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/lib/Typography/Header/index.jsx +2 -2
- package/dist/cjs/lib/Typography/Text/index.jsx +2 -2
- package/dist/cjs/lib/components/Accordion/index.jsx +2 -2
- package/dist/cjs/lib/components/AlertDialog/AlertDialogAction.jsx +2 -2
- package/dist/cjs/lib/components/AlertDialog/AlertDialogCancel.jsx +2 -2
- package/dist/cjs/lib/components/AlertDialog/AlertDialogContent.jsx +2 -2
- package/dist/cjs/lib/components/AlertDialog/AlertDialogDescription.jsx +1 -1
- package/dist/cjs/lib/components/AlertDialog/AlertDialogTitle.jsx +1 -1
- package/dist/cjs/lib/components/AlertDialog/AlertDialogTrigger.jsx +2 -2
- package/dist/cjs/lib/components/AspectRatio/index.jsx +2 -2
- package/dist/cjs/lib/components/Avatar/index.jsx +2 -2
- package/dist/cjs/lib/components/Badge/index.jsx +2 -2
- package/dist/cjs/lib/components/BarChart/index.jsx +4 -4
- package/dist/cjs/lib/components/BubbleChart/index.jsx +4 -4
- package/dist/cjs/lib/components/Button/index.jsx +2 -2
- package/dist/cjs/lib/components/Callout/CalloutIcon.jsx +2 -2
- package/dist/cjs/lib/components/Callout/CalloutRoot.jsx +2 -2
- package/dist/cjs/lib/components/Callout/CalloutText.jsx +1 -1
- package/dist/cjs/lib/components/Card/index.jsx +2 -2
- package/dist/cjs/lib/components/Checkbox/index.jsx +3 -3
- package/dist/cjs/lib/components/CheckboxCard/index.jsx +4 -4
- package/dist/cjs/lib/components/CheckboxGroup/CheckboxGroupItem.jsx +1 -1
- package/dist/cjs/lib/components/CheckboxGroup/CheckboxGroupRoot.jsx +1 -1
- package/dist/cjs/lib/components/ContextMenu/ContextMenuCheckboxItem.jsx +2 -2
- package/dist/cjs/lib/components/ContextMenu/ContextMenuContent.jsx +2 -2
- package/dist/cjs/lib/components/ContextMenu/ContextMenuItem.jsx +2 -2
- package/dist/cjs/lib/components/ContextMenu/ContextMenuItemIndicator.jsx +2 -2
- package/dist/cjs/lib/components/ContextMenu/ContextMenuLabel.jsx +2 -2
- package/dist/cjs/lib/components/ContextMenu/ContextMenuRadioItem.jsx +2 -2
- package/dist/cjs/lib/components/ContextMenu/ContextMenuSeparator.jsx +1 -1
- package/dist/cjs/lib/components/ContextMenu/ContextMenuSubContent.jsx +2 -2
- package/dist/cjs/lib/components/ContextMenu/ContextMenuSubTrigger.jsx +2 -2
- package/dist/cjs/lib/components/ContextMenu/ContextMenuTrigger.jsx +1 -1
- package/dist/cjs/lib/components/DataList/DataListItem.jsx +2 -2
- package/dist/cjs/lib/components/DataList/DataListLabel.jsx +2 -2
- package/dist/cjs/lib/components/DataList/DataListRoot.jsx +1 -1
- package/dist/cjs/lib/components/DataList/DataListValue.jsx +2 -2
- package/dist/cjs/lib/components/Dialog/DialogAction.jsx +2 -2
- package/dist/cjs/lib/components/Dialog/DialogCancel.jsx +1 -1
- package/dist/cjs/lib/components/Dialog/DialogContent.jsx +2 -2
- package/dist/cjs/lib/components/Dialog/DialogDescription.jsx +1 -1
- package/dist/cjs/lib/components/Dialog/DialogSlot.jsx +1 -1
- package/dist/cjs/lib/components/Dialog/DialogTitle.jsx +1 -1
- package/dist/cjs/lib/components/DoughnutChart/index.jsx +3 -3
- package/dist/cjs/lib/components/DropdownMenu/DropdonMenuSubContent.jsx +2 -2
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuCheckboxItem.jsx +2 -2
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuContent.jsx +2 -2
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuItem.jsx +2 -2
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuItemIndicator.jsx +2 -2
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuLable.jsx +1 -1
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuRadioItem.jsx +2 -2
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuSeparator.jsx +1 -1
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuSubTrigger.jsx +2 -2
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuTrigger.jsx +1 -1
- package/dist/cjs/lib/components/HoverCard/HoverCardContent.jsx +2 -2
- package/dist/cjs/lib/components/IconButton/index.jsx +2 -2
- package/dist/cjs/lib/components/Inset/index.jsx +2 -2
- package/dist/cjs/lib/components/Label/index.jsx +2 -2
- package/dist/cjs/lib/components/LineChart/index.jsx +4 -4
- package/dist/cjs/lib/components/Menubar/MenubarCheckboxItem.jsx +2 -2
- package/dist/cjs/lib/components/Menubar/MenubarContent.jsx +2 -2
- package/dist/cjs/lib/components/Menubar/MenubarItem.jsx +2 -2
- package/dist/cjs/lib/components/Menubar/MenubarItemIndicator.jsx +2 -2
- package/dist/cjs/lib/components/Menubar/MenubarRadioItem.jsx +2 -2
- package/dist/cjs/lib/components/Menubar/MenubarRoot.jsx +2 -2
- package/dist/cjs/lib/components/Menubar/MenubarSeparator.jsx +1 -1
- package/dist/cjs/lib/components/Menubar/MenubarSubContent.jsx +2 -2
- package/dist/cjs/lib/components/Menubar/MenubarSubTrigger.jsx +2 -2
- package/dist/cjs/lib/components/Menubar/MenubarTrigger.jsx +2 -2
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuContent.jsx +2 -2
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuIndicator.jsx +1 -1
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuLink.jsx +2 -2
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuList.jsx +2 -2
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuRoot.jsx +1 -1
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuTrigger.jsx +2 -2
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuViewport.jsx +2 -2
- package/dist/cjs/lib/components/PieChart/index.jsx +3 -3
- package/dist/cjs/lib/components/Popover/PopoverClose.jsx +1 -1
- package/dist/cjs/lib/components/Popover/PopoverContent.jsx +2 -2
- package/dist/cjs/lib/components/Progress/index.jsx +2 -2
- package/dist/cjs/lib/components/RadarChart/index.jsx +4 -4
- package/dist/cjs/lib/components/Radio/index.jsx +2 -2
- package/dist/cjs/lib/components/RadioCards/RadioCardsItem.jsx +1 -1
- package/dist/cjs/lib/components/RadioCards/RadioCardsRoot.jsx +2 -2
- package/dist/cjs/lib/components/RadioGroup/RadioGroupItem.jsx +1 -1
- package/dist/cjs/lib/components/RadioGroup/RadioGroupRoot.jsx +1 -1
- package/dist/cjs/lib/components/SegmentedControl/SegmentedControlItem.jsx +1 -1
- package/dist/cjs/lib/components/SegmentedControl/SegmentedControlRoot.jsx +2 -2
- package/dist/cjs/lib/components/Select/index.jsx +2 -2
- package/dist/cjs/lib/components/Separator/index.jsx +2 -2
- package/dist/cjs/lib/components/Skeleton/index.jsx +2 -2
- package/dist/cjs/lib/components/Slider/index.jsx +2 -2
- package/dist/cjs/lib/components/Spinner/index.jsx +2 -2
- package/dist/cjs/lib/components/TabNav/index.jsx +1 -1
- package/dist/cjs/lib/components/Table/index.jsx +2 -2
- package/dist/cjs/lib/components/Tabs/index.jsx +2 -2
- package/dist/cjs/lib/components/TextArea/index.jsx +2 -2
- package/dist/cjs/lib/components/TextField/index.jsx +2 -2
- package/dist/cjs/lib/components/Toast/ToastActionButton.jsx +3 -3
- package/dist/cjs/lib/components/Toast/ToastDescription.jsx +1 -1
- package/dist/cjs/lib/components/Toast/ToastRoot.jsx +2 -2
- package/dist/cjs/lib/components/Toast/ToastTitle.jsx +1 -1
- package/dist/cjs/lib/components/Toggle/ToggleWithText.jsx +3 -3
- package/dist/cjs/lib/components/Toggle/index.jsx +2 -2
- package/dist/cjs/lib/components/ToggleGroup/ToggleGroupItem.jsx +2 -2
- package/dist/cjs/lib/components/ToggleGroup/ToggleGroupRoot.jsx +2 -2
- package/dist/cjs/lib/components/ToggleSwitch/index.jsx +3 -3
- package/dist/cjs/lib/components/Tooltip/index.jsx +2 -2
- package/dist/cjs/lib/constants.js +2 -2
- package/dist/cjs/lib/utils/useDarkMode.js +1 -1
- package/dist/esm/lib/Typography/Header/index.js +2 -2
- package/dist/esm/lib/Typography/Text/index.js +2 -2
- package/dist/esm/lib/components/Accordion/index.js +2 -2
- package/dist/esm/lib/components/AlertDialog/AlertDialogAction.js +2 -2
- package/dist/esm/lib/components/AlertDialog/AlertDialogCancel.js +2 -2
- package/dist/esm/lib/components/AlertDialog/AlertDialogContent.js +2 -2
- package/dist/esm/lib/components/AlertDialog/AlertDialogDescription.js +1 -1
- package/dist/esm/lib/components/AlertDialog/AlertDialogTitle.js +1 -1
- package/dist/esm/lib/components/AlertDialog/AlertDialogTrigger.js +2 -2
- package/dist/esm/lib/components/AspectRatio/index.js +2 -2
- package/dist/esm/lib/components/Avatar/index.js +2 -2
- package/dist/esm/lib/components/Badge/index.js +2 -2
- package/dist/esm/lib/components/BarChart/index.js +4 -4
- package/dist/esm/lib/components/BubbleChart/index.js +4 -4
- package/dist/esm/lib/components/Button/index.js +2 -2
- package/dist/esm/lib/components/Callout/CalloutIcon.js +2 -2
- package/dist/esm/lib/components/Callout/CalloutRoot.js +2 -2
- package/dist/esm/lib/components/Callout/CalloutText.js +1 -1
- package/dist/esm/lib/components/Card/index.js +2 -2
- package/dist/esm/lib/components/Checkbox/index.js +3 -3
- package/dist/esm/lib/components/CheckboxCard/index.js +4 -4
- package/dist/esm/lib/components/CheckboxGroup/CheckboxGroupItem.js +1 -1
- package/dist/esm/lib/components/CheckboxGroup/CheckboxGroupRoot.js +1 -1
- package/dist/esm/lib/components/ContextMenu/ContextMenuCheckboxItem.js +2 -2
- package/dist/esm/lib/components/ContextMenu/ContextMenuContent.js +2 -2
- package/dist/esm/lib/components/ContextMenu/ContextMenuItem.js +2 -2
- package/dist/esm/lib/components/ContextMenu/ContextMenuItemIndicator.js +2 -2
- package/dist/esm/lib/components/ContextMenu/ContextMenuLabel.js +2 -2
- package/dist/esm/lib/components/ContextMenu/ContextMenuRadioItem.js +2 -2
- package/dist/esm/lib/components/ContextMenu/ContextMenuSeparator.js +1 -1
- package/dist/esm/lib/components/ContextMenu/ContextMenuSubContent.js +2 -2
- package/dist/esm/lib/components/ContextMenu/ContextMenuSubTrigger.js +2 -2
- package/dist/esm/lib/components/ContextMenu/ContextMenuTrigger.js +1 -1
- package/dist/esm/lib/components/DataList/DataListItem.js +2 -2
- package/dist/esm/lib/components/DataList/DataListLabel.js +2 -2
- package/dist/esm/lib/components/DataList/DataListRoot.js +1 -1
- package/dist/esm/lib/components/DataList/DataListValue.js +2 -2
- package/dist/esm/lib/components/Dialog/DialogAction.js +2 -2
- package/dist/esm/lib/components/Dialog/DialogCancel.js +1 -1
- package/dist/esm/lib/components/Dialog/DialogContent.js +2 -2
- package/dist/esm/lib/components/Dialog/DialogDescription.js +1 -1
- package/dist/esm/lib/components/Dialog/DialogSlot.js +1 -1
- package/dist/esm/lib/components/Dialog/DialogTitle.js +1 -1
- package/dist/esm/lib/components/DoughnutChart/index.js +3 -3
- package/dist/esm/lib/components/DropdownMenu/DropdonMenuSubContent.js +2 -2
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +2 -2
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuContent.js +2 -2
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuItem.js +2 -2
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +2 -2
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuLable.js +1 -1
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuRadioItem.js +2 -2
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuSeparator.js +1 -1
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +2 -2
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuTrigger.js +1 -1
- package/dist/esm/lib/components/HoverCard/HoverCardContent.js +2 -2
- package/dist/esm/lib/components/IconButton/index.js +2 -2
- package/dist/esm/lib/components/Inset/index.js +2 -2
- package/dist/esm/lib/components/Label/index.js +2 -2
- package/dist/esm/lib/components/LineChart/index.js +4 -4
- package/dist/esm/lib/components/Menubar/MenubarCheckboxItem.js +2 -2
- package/dist/esm/lib/components/Menubar/MenubarContent.js +2 -2
- package/dist/esm/lib/components/Menubar/MenubarItem.js +2 -2
- package/dist/esm/lib/components/Menubar/MenubarItemIndicator.js +2 -2
- package/dist/esm/lib/components/Menubar/MenubarRadioItem.js +2 -2
- package/dist/esm/lib/components/Menubar/MenubarRoot.js +2 -2
- package/dist/esm/lib/components/Menubar/MenubarSeparator.js +1 -1
- package/dist/esm/lib/components/Menubar/MenubarSubContent.js +2 -2
- package/dist/esm/lib/components/Menubar/MenubarSubTrigger.js +2 -2
- package/dist/esm/lib/components/Menubar/MenubarTrigger.js +2 -2
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuContent.js +2 -2
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuIndicator.js +1 -1
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuLink.js +2 -2
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuList.js +2 -2
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuRoot.js +1 -1
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuTrigger.js +2 -2
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuViewport.js +2 -2
- package/dist/esm/lib/components/PieChart/index.js +3 -3
- package/dist/esm/lib/components/Popover/PopoverClose.js +1 -1
- package/dist/esm/lib/components/Popover/PopoverContent.js +2 -2
- package/dist/esm/lib/components/Progress/index.js +2 -2
- package/dist/esm/lib/components/RadarChart/index.js +4 -4
- package/dist/esm/lib/components/Radio/index.js +2 -2
- package/dist/esm/lib/components/RadioCards/RadioCardsItem.js +1 -1
- package/dist/esm/lib/components/RadioCards/RadioCardsRoot.js +2 -2
- package/dist/esm/lib/components/RadioGroup/RadioGroupItem.js +1 -1
- package/dist/esm/lib/components/RadioGroup/RadioGroupRoot.js +1 -1
- package/dist/esm/lib/components/SegmentedControl/SegmentedControlItem.js +1 -1
- package/dist/esm/lib/components/SegmentedControl/SegmentedControlRoot.js +2 -2
- package/dist/esm/lib/components/Select/index.js +2 -2
- package/dist/esm/lib/components/Separator/index.js +2 -2
- package/dist/esm/lib/components/Skeleton/index.js +2 -2
- package/dist/esm/lib/components/Slider/index.js +2 -2
- package/dist/esm/lib/components/Spinner/index.js +2 -2
- package/dist/esm/lib/components/TabNav/index.js +1 -1
- package/dist/esm/lib/components/Table/index.js +2 -2
- package/dist/esm/lib/components/Tabs/index.js +2 -2
- package/dist/esm/lib/components/TextArea/index.js +2 -2
- package/dist/esm/lib/components/TextField/index.js +2 -2
- package/dist/esm/lib/components/Toast/ToastActionButton.js +3 -3
- package/dist/esm/lib/components/Toast/ToastDescription.js +1 -1
- package/dist/esm/lib/components/Toast/ToastRoot.js +2 -2
- package/dist/esm/lib/components/Toast/ToastTitle.js +1 -1
- package/dist/esm/lib/components/Toggle/ToggleWithText.js +3 -3
- package/dist/esm/lib/components/Toggle/index.js +2 -2
- package/dist/esm/lib/components/ToggleGroup/ToggleGroupItem.js +2 -2
- package/dist/esm/lib/components/ToggleGroup/ToggleGroupRoot.js +2 -2
- package/dist/esm/lib/components/ToggleSwitch/index.js +3 -3
- package/dist/esm/lib/components/Tooltip/index.js +2 -2
- package/dist/esm/lib/constants.js +2 -2
- package/dist/esm/lib/utils/useDarkMode.js +1 -1
- package/dist/types/lib/Typography/Header/index.d.ts +1 -1
- package/dist/types/lib/Typography/Text/index.d.ts +1 -1
- package/dist/types/lib/components/Accordion/index.d.ts +1 -1
- package/dist/types/lib/components/AlertDialog/AlertDialogAction.d.ts +1 -1
- package/dist/types/lib/components/AlertDialog/AlertDialogCancel.d.ts +1 -1
- package/dist/types/lib/components/AlertDialog/AlertDialogRoot.d.ts +1 -1
- package/dist/types/lib/components/AlertDialog/AlertDialogTrigger.d.ts +1 -1
- package/dist/types/lib/components/Badge/index.d.ts +1 -1
- package/dist/types/lib/components/BarChart/index.d.ts +1 -1
- package/dist/types/lib/components/BubbleChart/index.d.ts +1 -1
- package/dist/types/lib/components/Button/index.d.ts +1 -1
- package/dist/types/lib/components/Callout/CalloutRoot.d.ts +1 -1
- package/dist/types/lib/components/Card/index.d.ts +1 -1
- package/dist/types/lib/components/Checkbox/index.d.ts +1 -1
- package/dist/types/lib/components/CheckboxCard/index.d.ts +2 -2
- package/dist/types/lib/components/CheckboxGroup/CheckboxGroupItem.d.ts +1 -1
- package/dist/types/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +2 -2
- package/dist/types/lib/components/CheckboxGroup/index.d.ts +1 -1
- package/dist/types/lib/components/ContextMenu/ContextMenuRoot.d.ts +1 -1
- package/dist/types/lib/components/DoughnutChart/index.d.ts +1 -1
- package/dist/types/lib/components/DropdownMenu/DropdownMenuItem.d.ts +1 -1
- package/dist/types/lib/components/DropdownMenu/DropdownMenuRoot.d.ts +1 -1
- package/dist/types/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +1 -1
- package/dist/types/lib/components/IconButton/index.d.ts +1 -1
- package/dist/types/lib/components/Label/index.d.ts +1 -1
- package/dist/types/lib/components/LineChart/index.d.ts +1 -1
- package/dist/types/lib/components/Menubar/MenubarRoot.d.ts +1 -1
- package/dist/types/lib/components/NavigationMenu/NavigationMenuRoot.d.ts +1 -1
- package/dist/types/lib/components/PieChart/index.d.ts +1 -1
- package/dist/types/lib/components/RadarChart/index.d.ts +1 -1
- package/dist/types/lib/components/Radio/index.d.ts +1 -1
- package/dist/types/lib/components/RadioGroup/RadioGroupRoot.d.ts +1 -1
- package/dist/types/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +1 -1
- package/dist/types/lib/components/SegmentedControl/index.d.ts +1 -1
- package/dist/types/lib/components/Select/index.d.ts +1 -1
- package/dist/types/lib/components/Skeleton/index.d.ts +1 -1
- package/dist/types/lib/components/Slider/index.d.ts +1 -1
- package/dist/types/lib/components/Spinner/index.d.ts +1 -1
- package/dist/types/lib/components/Table/index.d.ts +1 -1
- package/dist/types/lib/components/TextArea/index.d.ts +1 -1
- package/dist/types/lib/components/TextField/index.d.ts +1 -1
- package/dist/types/lib/components/Toast/ToastActionButton.d.ts +1 -1
- package/dist/types/lib/components/Toast/ToastDescription.d.ts +1 -1
- package/dist/types/lib/components/Toast/ToastTitle.d.ts +1 -1
- package/dist/types/lib/components/Toggle/ToggleWithText.d.ts +1 -1
- package/dist/types/lib/components/Toggle/index.d.ts +1 -1
- package/dist/types/lib/components/ToggleGroup/ToggleGroupItem.d.ts +1 -1
- package/dist/types/lib/components/ToggleGroup/ToggleGroupRoot.d.ts +1 -1
- package/dist/types/lib/components/Tooltip/index.d.ts +1 -1
- package/package.json +5 -4
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IColor } from 'lib/types';
|
4
|
+
import { IColor } from '../../../lib/types';
|
5
5
|
import { contextMenuContentVariants } from './ContextMenuContent';
|
6
6
|
import { contextMenuItemVariants } from './ContextMenuItem';
|
7
7
|
export interface ContextMenuProps extends VariantProps<typeof contextMenuContentVariants>, VariantProps<typeof contextMenuItemVariants> {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
|
-
import { IChartDataLabels, IChartDatasets, IChartLegend, IChartTitle } from 'lib/types';
|
3
|
+
import { IChartDataLabels, IChartDatasets, IChartLegend, IChartTitle } from '../../../lib/types';
|
4
4
|
export interface DoughnutChartProps extends VariantProps<typeof doughnutVariants> {
|
5
5
|
labels?: string[];
|
6
6
|
appearance?: 'solid' | 'soft';
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IColor } from 'lib/types';
|
4
|
+
import { IColor } from '../../../lib/types';
|
5
5
|
export interface DropdownMenuItemProps extends VariantProps<typeof dropdownMenuItemVariants> {
|
6
6
|
color?: IColor;
|
7
7
|
shortcut?: string;
|
@@ -3,7 +3,7 @@ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
4
|
import { dropdownMenuContentVariants } from './DropdownMenuContent';
|
5
5
|
import { dropdownMenuItemVariants } from './DropdownMenuItem';
|
6
|
-
import { IColor } from 'lib/types';
|
6
|
+
import { IColor } from '../../../lib/types';
|
7
7
|
export interface DropdownMenuProps extends VariantProps<typeof dropdownMenuContentVariants>, VariantProps<typeof dropdownMenuItemVariants> {
|
8
8
|
color?: IColor;
|
9
9
|
appearance?: 'solid' | 'soft';
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
3
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
4
|
-
import { IColor } from 'lib/types';
|
4
|
+
import { IColor } from '../../../lib/types';
|
5
5
|
export interface DropdownMenuTriggerProps extends VariantProps<typeof dropdownMenuTriggerVariants> {
|
6
6
|
color?: IColor;
|
7
7
|
appearance?: 'classic' | 'surface';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
|
-
import { IAppearance } from 'lib/types';
|
3
|
+
import { IAppearance } from '../../../lib/types';
|
4
4
|
export interface IconButtonProps extends VariantProps<typeof iconButtonVariants> {
|
5
5
|
appearance?: IAppearance;
|
6
6
|
size?: 'x-small' | 'small' | 'medium' | 'large' | 'x-large';
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
2
2
|
import React from 'react';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IColor } from 'lib/types';
|
4
|
+
import { IColor } from '../../../lib/types';
|
5
5
|
export interface LabelProps extends VariantProps<typeof labeVariants> {
|
6
6
|
defaultValue?: string;
|
7
7
|
color?: IColor;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
|
-
import { IChartDatasets, IChartLegend, IChartTitle } from 'lib/types';
|
3
|
+
import { IChartDatasets, IChartLegend, IChartTitle } from '../../../lib/types';
|
4
4
|
export interface BorderRadius {
|
5
5
|
topLeft: number;
|
6
6
|
topRight: number;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IColor } from 'lib/types';
|
4
|
+
import { IColor } from '../../../lib/types';
|
5
5
|
import { menubarTriggerVariants } from './MenubarTrigger';
|
6
6
|
import { menubarItemVariants } from './MenubarItem';
|
7
7
|
export interface MenubarProps extends VariantProps<typeof menubarVariants>, VariantProps<typeof menubarTriggerVariants>, VariantProps<typeof menubarItemVariants> {
|
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
import { navigationMenuListVariants } from './NavigationMenuList';
|
5
5
|
import { navigationMenuTriggerVariants } from './NavigationMenuTrigger';
|
6
6
|
import { navigationMenuLinkVariants } from './NavigationMenuLink';
|
7
|
-
import { IColor } from 'lib/types';
|
7
|
+
import { IColor } from '../../../lib/types';
|
8
8
|
export interface NavigationMenuProps extends VariantProps<typeof navigationMenuListVariants>, VariantProps<typeof navigationMenuTriggerVariants>, VariantProps<typeof navigationMenuLinkVariants> {
|
9
9
|
appearance?: 'ghost' | 'solid';
|
10
10
|
color?: IColor;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
|
-
import { IChartDataLabels, IChartDatasets, IChartLegend, IChartTitle } from 'lib/types';
|
3
|
+
import { IChartDataLabels, IChartDatasets, IChartLegend, IChartTitle } from '../../../lib/types';
|
4
4
|
export interface PieChartProps extends VariantProps<typeof PieVariants> {
|
5
5
|
labels?: string[];
|
6
6
|
appearance?: 'solid' | 'soft';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
|
-
import { IChartDataLabels, IChartDatasets, IChartLegend, IChartTitle } from 'lib/types';
|
3
|
+
import { IChartDataLabels, IChartDatasets, IChartLegend, IChartTitle } from '../../../lib/types';
|
4
4
|
type IRadarChartDataset = IChartDatasets & {
|
5
5
|
data: number[];
|
6
6
|
pointBackgroundColor?: string;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
|
-
import { IScaling } from 'lib/types';
|
3
|
+
import { IScaling } from '../../../lib/types';
|
4
4
|
export interface RadioProps extends VariantProps<typeof radioVariants> {
|
5
5
|
size?: any;
|
6
6
|
scaling?: IScaling;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { RadioGroup as RadioGroupTheme } from '@radix-ui/themes';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IScaling } from 'lib/types';
|
4
|
+
import { IScaling } from '../../../lib/types';
|
5
5
|
export interface RadioGroupProps extends VariantProps<typeof radioGroupVariants> {
|
6
6
|
scaling?: IScaling;
|
7
7
|
size?: 'small' | 'medium' | 'large';
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
3
|
import { SegmentedControl as SegmentedControlTheme } from '@radix-ui/themes';
|
4
4
|
export * from './SegmentedControlItem';
|
5
|
-
import { ISize } from 'lib/types';
|
5
|
+
import { ISize } from '../../../lib/types';
|
6
6
|
export interface SegmentedControlProps extends VariantProps<typeof segmentedControlVariants> {
|
7
7
|
appearance?: 'surface' | 'classic';
|
8
8
|
size?: Exclude<ISize, 'x-small' | 'x-large'>;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
declare const SegmentedControl: {
|
3
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>>;
|
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
5
|
};
|
6
6
|
export default SegmentedControl;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Select as SelectTheme } from '@radix-ui/themes';
|
2
2
|
import React from 'react';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IScaling } from 'lib/types';
|
4
|
+
import { IScaling } from '../../../lib/types';
|
5
5
|
export interface SelectProps extends VariantProps<typeof selectVariants> {
|
6
6
|
label?: string;
|
7
7
|
defaultValue?: string;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
|
-
import { IColor } from 'lib/types';
|
3
|
+
import { IColor } from '../../../lib/types';
|
4
4
|
export interface SkeletonProps extends VariantProps<typeof separatorVariants> {
|
5
5
|
color?: IColor;
|
6
6
|
loading?: boolean;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
|
-
import { IScaling } from 'lib/types';
|
3
|
+
import { IScaling } from '../../../lib/types';
|
4
4
|
export interface SliderProps extends VariantProps<typeof sliderVariants> {
|
5
5
|
appearance?: 'classic' | 'soft' | 'surface';
|
6
6
|
label?: string;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
|
-
import { IColor } from 'lib/types';
|
3
|
+
import { IColor } from '../../../lib/types';
|
4
4
|
export interface SpinnerProps extends VariantProps<typeof spinnerVariants> {
|
5
5
|
color?: IColor;
|
6
6
|
loading?: boolean;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
|
-
import { IColor } from 'lib/types';
|
3
|
+
import { IColor } from '../../../lib/types';
|
4
4
|
import { Table as TableTheme } from '@radix-ui/themes';
|
5
5
|
export interface TableProps extends VariantProps<typeof tableVariants> {
|
6
6
|
color?: IColor;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
|
-
import { IColor } from 'lib/types';
|
3
|
+
import { IColor } from '../../../lib/types';
|
4
4
|
export interface TextAreaProps extends VariantProps<typeof textAreaNavVariants> {
|
5
5
|
color?: IColor;
|
6
6
|
href?: string;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
3
|
import { TextField as TextFieldTheme } from '@radix-ui/themes';
|
4
|
-
import { IScaling } from 'lib/types';
|
4
|
+
import { IScaling } from '../../../lib/types';
|
5
5
|
export interface TextFieldProps extends VariantProps<typeof textFieldVariants> {
|
6
6
|
appearance?: 'classic' | 'soft' | 'surface';
|
7
7
|
label?: string;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as ToastPrimitive from '@radix-ui/react-toast';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IAppearance } from 'lib/types';
|
4
|
+
import { IAppearance } from '../../../lib/types';
|
5
5
|
export interface ToastActionButtonProps extends VariantProps<typeof toastActionButtonVariants> {
|
6
6
|
altText?: string;
|
7
7
|
appearance?: IAppearance;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as ToastPrimitive from '@radix-ui/react-toast';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IAppearance } from 'lib/types';
|
4
|
+
import { IAppearance } from '../../../lib/types';
|
5
5
|
export interface ToastDescriptionProps extends VariantProps<typeof toastDescriptionVariants> {
|
6
6
|
contentText?: string;
|
7
7
|
appearance?: IAppearance;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as ToastPrimitive from '@radix-ui/react-toast';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IAppearance } from 'lib/types';
|
4
|
+
import { IAppearance } from '../../../lib/types';
|
5
5
|
export interface ToastTitleProps extends VariantProps<typeof toastTitleVariants> {
|
6
6
|
titleText?: string;
|
7
7
|
appearance?: IAppearance;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
3
|
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
4
|
-
import { IAppearance } from 'lib/types';
|
4
|
+
import { IAppearance } from '../../../lib/types';
|
5
5
|
export interface ToggleWithTextProps extends VariantProps<typeof toggleWithTextVariants> {
|
6
6
|
text?: string;
|
7
7
|
appearance?: IAppearance;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
3
|
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
4
|
-
import { IAppearance } from 'lib/types';
|
4
|
+
import { IAppearance } from '../../../lib/types';
|
5
5
|
export * from './ToggleWithText';
|
6
6
|
export interface ToggleProps extends VariantProps<typeof toggleVariants> {
|
7
7
|
size?: 'small' | 'medium' | 'large';
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IAppearance } from 'lib/types';
|
4
|
+
import { IAppearance } from '../../../lib/types';
|
5
5
|
export interface ToggleGroupItemProps extends VariantProps<typeof toggleGroupItemVariants> {
|
6
6
|
appearance?: IAppearance;
|
7
7
|
size?: 'small' | 'medium' | 'large';
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
2
2
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
4
|
import { toggleGroupItemVariants } from './ToggleGroupItem';
|
5
|
-
import { IAppearance, IColor } from 'lib/types';
|
5
|
+
import { IAppearance, IColor } from '../../../lib/types';
|
6
6
|
export interface ToggleGroupProps extends VariantProps<typeof toggleVariants>, VariantProps<typeof toggleGroupItemVariants> {
|
7
7
|
appearance?: IAppearance;
|
8
8
|
color?: IColor;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IColor } from 'lib/types';
|
4
|
+
import { IColor } from '../../../lib/types';
|
5
5
|
export interface TooltipProps extends React.InputHTMLAttributes<HTMLInputElement>, VariantProps<typeof tooltipVariants> {
|
6
6
|
label?: string;
|
7
7
|
defaultValue?: string;
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lotte-innovate/ui-component-test",
|
3
3
|
"description": "Lotte UI Library",
|
4
|
-
"version": "0.1.
|
4
|
+
"version": "0.1.40",
|
5
5
|
"private": false,
|
6
6
|
"type": "module",
|
7
7
|
"files": [
|
@@ -43,8 +43,7 @@
|
|
43
43
|
"start": "next start",
|
44
44
|
"storybook": "cross-env NODE_OPTIONS='--max-old-space-size=8192' storybook dev -p 6006",
|
45
45
|
"chromatic": "cross-env npx chromatic --project-token=$CHROMATIC_PROJECT_TOKEN",
|
46
|
-
"compile:
|
47
|
-
"compile:esm": "tsc --project tsconfig.esm.json --jsx react-jsx",
|
46
|
+
"compile:esm": "tsc --jsx react-jsx --project tsconfig.esm.json ",
|
48
47
|
"compile:cjs": "tsc --project tsconfig.cjs.json",
|
49
48
|
"compile": "npm run compile:esm && npm run compile:cjs",
|
50
49
|
"build": "next build && npm run compile",
|
@@ -52,7 +51,9 @@
|
|
52
51
|
"build-storybook": "storybook build",
|
53
52
|
"clean": "rimraf dist && mkdir dist",
|
54
53
|
"update-tailwind": "node update-tailwind-import.js",
|
55
|
-
"
|
54
|
+
"update:tcs-alias": "tsc-alias -p tsconfig.esm.json --outDir dist/esm && tsc-alias -p tsconfig.cjs.json --outDir dist/cjs",
|
55
|
+
"aaa": "npm run clean && npm run compile && node src/utils/move.js && npm run update:tcs-alias",
|
56
|
+
"build:all": "npm run clean && npm run compile && node src/utils/move.js && npm run update:tcs-alias && npm run build:css && npm run update-tailwind",
|
56
57
|
"publish:npm": "npm run build:all && npm publish && node src/utils/post-publish.js"
|
57
58
|
},
|
58
59
|
"dependencies": {
|