@lotte-innovate/ui-component-test 0.1.39 → 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/esm/tailwind.config.js +39 -31
- 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 +7 -6
@@ -24,10 +24,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { Pie } from 'react-chartjs-2';
|
25
25
|
import { Chart as ChartJS, ArcElement, Tooltip, Legend, plugins } from 'chart.js';
|
26
26
|
import ChartDataLabels from 'chartjs-plugin-datalabels';
|
27
|
-
import { cn } from 'lib/utils/utils';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
28
|
import { cva } from 'class-variance-authority';
|
29
|
-
import { scalingVariants } from 'lib/constants';
|
30
|
-
import { chartColorList, chartAlphaColorList } from 'lib/color/constants';
|
29
|
+
import { scalingVariants } from '../../../lib/constants';
|
30
|
+
import { chartColorList, chartAlphaColorList } from '../../../lib/color/constants';
|
31
31
|
ChartJS.register(ArcElement, Tooltip, Legend, plugins, ChartDataLabels);
|
32
32
|
ChartJS.defaults.set('plugins.datalabels', {
|
33
33
|
display: false,
|
@@ -25,7 +25,7 @@ import { forwardRef, useContext } from 'react';
|
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
26
|
import { Popover as PopoverTheme } from '@radix-ui/themes';
|
27
27
|
import { PopoverContext } from './PopoverRoot';
|
28
|
-
import { cn } from 'lib/utils/utils';
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
29
|
export var popoverCloseVariants = cva('', {
|
30
30
|
variants: {
|
31
31
|
radius: {
|
@@ -22,11 +22,11 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
22
22
|
};
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
24
24
|
import { forwardRef, useContext } from 'react';
|
25
|
-
import { scalingVariants } from 'lib/constants';
|
25
|
+
import { scalingVariants } from '../../../lib/constants';
|
26
26
|
import { Popover as PopoverTheme } from '@radix-ui/themes';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
28
|
import { PopoverContext } from './PopoverRoot';
|
29
|
-
import { cn } from 'lib/utils/utils';
|
29
|
+
import { cn } from '../../../lib/utils/utils';
|
30
30
|
export var popoverContentVariants = cva('flex gap-2 bg-white dark:bg-slateDark-1 border-slateA-6 dark:border-slateDarkA-6', {
|
31
31
|
variants: {
|
32
32
|
radius: {
|
@@ -23,9 +23,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
|
-
import { scalingVariants } from 'lib/constants';
|
26
|
+
import { scalingVariants } from '../../../lib/constants';
|
27
27
|
import { Theme, Progress as ProgressTheme } from '@radix-ui/themes';
|
28
|
-
import { cn } from 'lib/utils/utils';
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
29
|
var progressVariants = cva('w-[300px]', {
|
30
30
|
variants: {
|
31
31
|
radius: {
|
@@ -22,12 +22,12 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
22
22
|
};
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
24
24
|
import { cva } from 'class-variance-authority';
|
25
|
-
import { scalingVariants } from 'lib/constants';
|
25
|
+
import { scalingVariants } from '../../../lib/constants';
|
26
26
|
import { Radar } from 'react-chartjs-2';
|
27
|
-
import { cn } from 'lib/utils/utils';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
28
|
import { Chart as ChartJS, RadialLinearScale, PointElement, LineElement, Filler, Tooltip, Legend, plugins, } from 'chart.js/auto';
|
29
|
-
import { chartColorList, chartAlphaColorList } from 'lib/color/constants';
|
30
|
-
import { useDarkMode } from 'lib/utils/useDarkMode';
|
29
|
+
import { chartColorList, chartAlphaColorList } from '../../../lib/color/constants';
|
30
|
+
import { useDarkMode } from '../../../lib/utils/useDarkMode';
|
31
31
|
import ChartDataLabels from 'chartjs-plugin-datalabels';
|
32
32
|
ChartJS.register(RadialLinearScale, PointElement, LineElement, Filler, Tooltip, Legend, plugins, ChartDataLabels);
|
33
33
|
ChartJS.defaults.set('plugins.datalabels', {
|
@@ -24,8 +24,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
24
|
import React from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
26
|
import { Theme, Radio as RadioTheme, Flex } from '@radix-ui/themes';
|
27
|
-
import { Text } from 'lib/Typography/Text';
|
28
|
-
import { cn } from 'lib/utils/utils';
|
27
|
+
import { Text } from '../../../lib/Typography/Text';
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
29
|
var radioVariants = cva('font-normal', {
|
30
30
|
variants: {
|
31
31
|
size: {
|
@@ -24,7 +24,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef, useContext } from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
26
|
import { RadioCards as RadioCardsTheme } from '@radix-ui/themes';
|
27
|
-
import { cn } from 'lib/utils/utils';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
28
|
import { RadioCardsContext } from './RadioCardsRoot';
|
29
29
|
export var radioCardsItemVariants = cva('min-w-[200px] bg-white dark:bg-slateDark-1 text-slateA-12 dark:text-slateDarkA-12 border-slateA-6 dark:border-slateDarkA-6 font-normal disabled:text-slateA-9 dark:disabled:text-slateDarkA-9', {
|
30
30
|
variants: {
|
@@ -23,9 +23,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
24
24
|
import { createContext, forwardRef } from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
|
-
import { scalingVariants } from 'lib/constants';
|
26
|
+
import { scalingVariants } from '../../../lib/constants';
|
27
27
|
import { Theme, RadioCards as RadioCardsTheme } from '@radix-ui/themes';
|
28
|
-
import { cn } from 'lib/utils/utils';
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
29
|
var radioCardsVariants = cva('flex items-center gap-2', {
|
30
30
|
variants: {
|
31
31
|
scaling: __assign({}, scalingVariants),
|
@@ -25,7 +25,7 @@ import { forwardRef, useContext } from 'react';
|
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
26
|
import { RadioGroup as RadioGroupTheme } from '@radix-ui/themes';
|
27
27
|
import { RadioGroupContext } from './RadioGroupRoot';
|
28
|
-
import { cn } from 'lib/utils/utils';
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
29
|
var radioGroupItemVariants = cva('font-normal text-slate-12 dark:text-slateDark-12', {
|
30
30
|
variants: {
|
31
31
|
size: {
|
@@ -24,7 +24,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { createContext, forwardRef } from 'react';
|
25
25
|
import { Theme, RadioGroup as RadioGroupTheme } from '@radix-ui/themes';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from 'lib/utils/utils';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
28
|
var radioGroupVariants = cva('', {
|
29
29
|
variants: {
|
30
30
|
size: {
|
@@ -23,7 +23,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import { SegmentedControl as SegmentedControlTheme } from '@radix-ui/themes';
|
26
|
-
import { cn } from 'lib/utils/utils';
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
27
|
export var SegmentedControlItem = forwardRef(function (_a, ref) {
|
28
28
|
var children = _a.children, className = _a.className, appearance = _a.appearance, props = __rest(_a, ["children", "className", "appearance"]);
|
29
29
|
var appearanceClassName = '';
|
@@ -24,9 +24,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import React, { Children, forwardRef } from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
26
|
import { SegmentedControl as SegmentedControlTheme, Theme } from '@radix-ui/themes';
|
27
|
-
import { scalingVariants } from 'lib/constants';
|
27
|
+
import { scalingVariants } from '../../../lib/constants';
|
28
28
|
export * from './SegmentedControlItem';
|
29
|
-
import { cn } from 'lib/utils/utils';
|
29
|
+
import { cn } from '../../../lib/utils/utils';
|
30
30
|
var segmentedControlVariants = cva('text-slateA-12 dark:text-slateDarkA-12', {
|
31
31
|
variants: {
|
32
32
|
scaling: __assign({}, scalingVariants),
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { Theme, Select as SelectTheme } from '@radix-ui/themes';
|
25
25
|
import React from 'react';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from 'lib/utils/utils';
|
28
|
-
import { radiusVariants, selectAppearanceStyle } from 'lib/constants';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import { radiusVariants, selectAppearanceStyle } from '../../../lib/constants';
|
29
29
|
var selectVariants = cva('', {
|
30
30
|
variants: {
|
31
31
|
radius: __assign({}, radiusVariants['base']),
|
@@ -23,8 +23,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
24
24
|
import React from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
|
-
import { cn } from 'lib/utils/utils';
|
27
|
-
import { bgColorStyle, scalingVariants } from 'lib/constants';
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
|
+
import { bgColorStyle, scalingVariants } from '../../../lib/constants';
|
28
28
|
import { Separator as SeparatorTheme, Theme } from '@radix-ui/themes';
|
29
29
|
var separatorVariants = cva('', {
|
30
30
|
variants: {
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import React from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
26
|
import { Theme, Skeleton as SkeletonTheme } from '@radix-ui/themes';
|
27
|
-
import { cn } from 'lib/utils/utils';
|
28
|
-
import { radiusVariants } from 'lib/constants';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import { radiusVariants } from '../../../lib/constants';
|
29
29
|
var separatorVariants = cva('', {
|
30
30
|
variants: {
|
31
31
|
radius: __assign({}, radiusVariants['base']),
|
@@ -23,8 +23,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
24
24
|
import React from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
|
-
import { cn } from 'lib/utils/utils';
|
27
|
-
import { radiusVariants } from 'lib/constants';
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
|
+
import { radiusVariants } from '../../../lib/constants';
|
28
28
|
import { Theme, Slider as SliderTheme } from '@radix-ui/themes';
|
29
29
|
var sliderVariants = cva('relative flex items-center select-none touch-none w-[200px] h-5', {
|
30
30
|
variants: {
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import React from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
26
|
import { Spinner as SpinnerTheme, Theme } from '@radix-ui/themes';
|
27
|
-
import { cn } from 'lib/utils/utils';
|
28
|
-
import { scalingVariants } from 'lib/constants';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import { scalingVariants } from '../../../lib/constants';
|
29
29
|
var spinnerVariants = cva('', {
|
30
30
|
variants: {
|
31
31
|
scaling: __assign({}, scalingVariants),
|
@@ -24,7 +24,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import React from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
26
|
import { TabNav as TabNavTheme, Theme } from '@radix-ui/themes';
|
27
|
-
import { cn } from 'lib/utils/utils';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
28
|
var tabNavVariants = cva('', {
|
29
29
|
variants: {},
|
30
30
|
});
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import React from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
26
|
import { Table as TableTheme, Theme } from '@radix-ui/themes';
|
27
|
-
import { cn } from 'lib/utils/utils';
|
28
|
-
import { radiusVariants, scalingVariants } from 'lib/constants';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import { radiusVariants, scalingVariants } from '../../../lib/constants';
|
29
29
|
var tableVariants = cva('', {
|
30
30
|
variants: {
|
31
31
|
scaling: __assign({}, scalingVariants),
|
@@ -23,9 +23,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
24
24
|
import { Theme, Tabs as TabsTheme } from '@radix-ui/themes';
|
25
25
|
import React from 'react';
|
26
|
-
import { cn } from 'lib/utils/utils';
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { weightVariants } from 'lib/constants';
|
28
|
+
import { weightVariants } from '../../../lib/constants';
|
29
29
|
var tabsVariants = cva('', {
|
30
30
|
variants: {
|
31
31
|
weight: __assign({}, weightVariants),
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import React from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
26
|
import { TextArea as TextAreaTheme, Theme } from '@radix-ui/themes';
|
27
|
-
import { cn } from 'lib/utils/utils';
|
28
|
-
import { radiusVariants, scalingVariants } from 'lib/constants';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import { radiusVariants, scalingVariants } from '../../../lib/constants';
|
29
29
|
var textAreaNavVariants = cva('w-[250px]', {
|
30
30
|
variants: {
|
31
31
|
size: {
|
@@ -23,8 +23,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
24
24
|
import React from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
|
-
import { cn } from 'lib/utils/utils';
|
27
|
-
import { bgColorStyle, radiusVariants } from 'lib/constants';
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
|
+
import { bgColorStyle, radiusVariants } from '../../../lib/constants';
|
28
28
|
import { Theme, TextField as TextFieldTheme } from '@radix-ui/themes';
|
29
29
|
var textFieldVariants = cva('', {
|
30
30
|
variants: {
|
@@ -24,9 +24,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as ToastPrimitive from '@radix-ui/react-toast';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from 'lib/utils/utils';
|
28
|
-
import Button from 'lib/components/Button';
|
29
|
-
import { appearanceStyle, radiusVariants, scalingVariants } from 'lib/constants';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import Button from '../../../lib/components/Button';
|
29
|
+
import { appearanceStyle, radiusVariants, scalingVariants } from '../../../lib/constants';
|
30
30
|
import { useToastContext } from './ToastRoot';
|
31
31
|
export var toastActionButtonVariants = cva("absolute items-center justify-center", {
|
32
32
|
variants: {
|
@@ -24,7 +24,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as ToastPrimitive from '@radix-ui/react-toast';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from 'lib/utils/utils';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
28
|
import { useToastContext } from './ToastRoot';
|
29
29
|
export var toastDescriptionVariants = cva('flex m-0 text-wrap text-slate-11 dark:text-slateDark-11', {
|
30
30
|
variants: {
|
@@ -23,8 +23,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
23
23
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
24
24
|
import { forwardRef, createContext, useContext, useMemo, } from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
|
-
import { cn } from 'lib/utils/utils';
|
27
|
-
import { scalingVariants } from 'lib/constants';
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
|
+
import { scalingVariants } from '../../../lib/constants';
|
28
28
|
import * as ToastPrimitive from '@radix-ui/react-toast';
|
29
29
|
export var toastVariants = cva('flex bg-white dark:bg-slateDark-1', {
|
30
30
|
variants: {
|
@@ -24,7 +24,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as ToastPrimitive from '@radix-ui/react-toast';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from 'lib/utils/utils';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
28
|
import { useToastContext } from './ToastRoot';
|
29
29
|
export var toastTitleVariants = cva('flex mb-[5px] text-slate-12 dark:text-slateDark-12 text-wrap break-words font-medium', {
|
30
30
|
variants: {
|
@@ -24,9 +24,9 @@ import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
24
|
import React, { Children, forwardRef } from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
26
|
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
27
|
-
import { radiusVariants, toggleAppearanceStyle } from 'lib/constants';
|
28
|
-
import { scalingVariants } from 'lib/constants';
|
29
|
-
import { cn } from 'lib/utils/utils';
|
27
|
+
import { radiusVariants, toggleAppearanceStyle } from '../../../lib/constants';
|
28
|
+
import { scalingVariants } from '../../../lib/constants';
|
29
|
+
import { cn } from '../../../lib/utils/utils';
|
30
30
|
var toggleWithTextVariants = cva('flex items-center justify-center box-border font-medium', {
|
31
31
|
variants: {
|
32
32
|
radius: __assign({}, radiusVariants['base']),
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import React, { Children, forwardRef } from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
26
|
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
27
|
-
import { radiusVariants, scalingVariants, toggleAppearanceStyle } from 'lib/constants';
|
28
|
-
import { cn } from 'lib/utils/utils';
|
27
|
+
import { radiusVariants, scalingVariants, toggleAppearanceStyle } from '../../../lib/constants';
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
29
|
export * from './ToggleWithText';
|
30
30
|
var toggleVariants = cva('grid place-content-center items-center justify-center box-border"', {
|
31
31
|
variants: {
|
@@ -24,9 +24,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import React, { Children, forwardRef, useContext, } from 'react';
|
25
25
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { toggleAppearanceStyle } from 'lib/constants';
|
27
|
+
import { toggleAppearanceStyle } from '../../../lib/constants';
|
28
28
|
import { ToggleGroupContext } from './ToggleGroupRoot';
|
29
|
-
import { cn } from 'lib/utils/utils';
|
29
|
+
import { cn } from '../../../lib/utils/utils';
|
30
30
|
export var toggleGroupItemVariants = cva('grid place-content-center mr-[-1px] first:rounded-l last:rounded-r', {
|
31
31
|
variants: {
|
32
32
|
size: {
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { createContext, forwardRef } from 'react';
|
25
25
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { scalingVariants } from 'lib/constants';
|
28
|
-
import { cn } from 'lib/utils/utils';
|
27
|
+
import { scalingVariants } from '../../../lib/constants';
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
29
|
var toggleVariants = cva('inline-flex', {
|
30
30
|
variants: {
|
31
31
|
scaling: __assign({}, scalingVariants),
|
@@ -23,10 +23,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
23
23
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
24
24
|
import React from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
|
-
import { cn } from 'lib/utils/utils';
|
27
|
-
import { radiusVariants, scalingVariants } from 'lib/constants';
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
|
+
import { radiusVariants, scalingVariants } from '../../../lib/constants';
|
28
28
|
import { Switch as SwitchTheme, Theme } from '@radix-ui/themes';
|
29
|
-
import { Text } from 'lib/Typography/Text';
|
29
|
+
import { Text } from '../../../lib/Typography/Text';
|
30
30
|
var toggleSwitchVariants = cva('', {
|
31
31
|
variants: {
|
32
32
|
scaling: __assign({}, scalingVariants),
|
@@ -25,8 +25,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
25
25
|
import React from 'react';
|
26
26
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { cn } from 'lib/utils/utils';
|
29
|
-
import { primaryColorStyle, radiusVariants, weightVariants } from 'lib/constants';
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
|
+
import { primaryColorStyle, radiusVariants, weightVariants } from '../../../lib/constants';
|
30
30
|
var tooltipVariants = cva('bg-slate-12 text-slate-1 dark:bg-slateDark-12 dark:text-slateDark-1 data-[state=delayed-open]:data-[side=top]:animate-slideDownAndFade data-[state=delayed-open]:data-[side=right]:animate-slideLeftAndFade data-[state=delayed-open]:data-[side=left]:animate-slideRightAndFade data-[state=delayed-open]:data-[side=bottom]:animate-slideUpAndFade select-none rounded-[4px] px-[9px] py-[6px] text-[12px] leading-none shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px] will-change-[transform,opacity]', {
|
31
31
|
variants: {
|
32
32
|
weight: __assign({}, weightVariants),
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { ColorStyle, DarkColorStyle, colorOptions, chartColorOptions } from 'lib/color/constants';
|
2
|
-
import * as lightColors from 'lib/color/light';
|
1
|
+
import { ColorStyle, DarkColorStyle, colorOptions, chartColorOptions } from '../lib/color/constants';
|
2
|
+
import * as lightColors from '../lib/color/light';
|
3
3
|
export var radiusOptions = ['none', 'small', 'medium', 'large', 'full'];
|
4
4
|
export var typoSizeOptions = ['1', '2', '3', '4', '5', '6', '7', '8', '9'];
|
5
5
|
export var scalingOptions = ['90%', '95%', '100%', '105%', '110%'];
|
@@ -1,4 +1,3 @@
|
|
1
|
-
"use strict";
|
2
1
|
var __assign = (this && this.__assign) || function () {
|
3
2
|
__assign = Object.assign || function(t) {
|
4
3
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -10,29 +9,6 @@ var __assign = (this && this.__assign) || function () {
|
|
10
9
|
};
|
11
10
|
return __assign.apply(this, arguments);
|
12
11
|
};
|
13
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
14
|
-
if (k2 === undefined) k2 = k;
|
15
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
16
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
17
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
18
|
-
}
|
19
|
-
Object.defineProperty(o, k2, desc);
|
20
|
-
}) : (function(o, m, k, k2) {
|
21
|
-
if (k2 === undefined) k2 = k;
|
22
|
-
o[k2] = m[k];
|
23
|
-
}));
|
24
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
25
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
26
|
-
}) : function(o, v) {
|
27
|
-
o["default"] = v;
|
28
|
-
});
|
29
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
30
|
-
if (mod && mod.__esModule) return mod;
|
31
|
-
var result = {};
|
32
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
33
|
-
__setModuleDefault(result, mod);
|
34
|
-
return result;
|
35
|
-
};
|
36
12
|
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
37
13
|
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
38
14
|
if (ar || !(i in from)) {
|
@@ -42,15 +18,14 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
42
18
|
}
|
43
19
|
return to.concat(ar || Array.prototype.slice.call(from));
|
44
20
|
};
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
var constants_1 = require("./src/lib/color/constants");
|
21
|
+
import * as lightColors from './lib/color/light';
|
22
|
+
import * as darkColors from './lib/color/dark';
|
23
|
+
import * as alphaColors from './lib/color/alpha';
|
24
|
+
import { colorOptions, alphaColorOptions, darkColorOptions } from './lib/color/constants';
|
50
25
|
var classes = [];
|
51
26
|
var darkClasses = [];
|
52
27
|
var colorScale = Array.from({ length: 12 }, function (_, i) { return (i + 1).toString(); });
|
53
|
-
var allColorOptions = [
|
28
|
+
var allColorOptions = [colorOptions, alphaColorOptions];
|
54
29
|
var generateClasses = function (colorList, colorScale) {
|
55
30
|
var classPrefixes = ['fill', 'border', 'bg', 'text'];
|
56
31
|
return colorList.flatMap(function (color) {
|
@@ -83,7 +58,7 @@ var generateDarkClasses = function (colorList, colorScale) {
|
|
83
58
|
allColorOptions.forEach(function (options) {
|
84
59
|
classes = classes.concat(generateClasses(options, colorScale));
|
85
60
|
});
|
86
|
-
darkClasses.push.apply(darkClasses, generateDarkClasses(
|
61
|
+
darkClasses.push.apply(darkClasses, generateDarkClasses(darkColorOptions, colorScale));
|
87
62
|
var config = {
|
88
63
|
content: [
|
89
64
|
'./src/app/**/*.{js,ts,jsx,tsx,mdx,zip}',
|
@@ -163,4 +138,37 @@ function formatColors(colors) {
|
|
163
138
|
}
|
164
139
|
return formatcolors;
|
165
140
|
}
|
141
|
+
export default config;
|
142
|
+
1px #0000000D, 0px 1px 3px 0px #0000000D',
|
143
|
+
'card-dark-classic': '0px 0px 0px 0.5px #414142, 0px 1px 4px 0px #414142, 0px 2px 1px -1px #414142, 0px 1px 3px 0px #414142',
|
144
|
+
'segmented-control-dark-classic': '0px 0px 0px 0.5px #0000000D, 0px 1px 4px 0px #363636, 0px 2px 1px -1px #0000000D, 0px 1px 3px 0px #0000000D',
|
145
|
+
},
|
146
|
+
},
|
147
|
+
},
|
148
|
+
plugins: [
|
149
|
+
function (_a) {
|
150
|
+
var addVariant = _a.addVariant;
|
151
|
+
addVariant('data-placeholder', '&:where([data-placeholder])');
|
152
|
+
},
|
153
|
+
],
|
154
|
+
darkMode: 'class',
|
155
|
+
};
|
156
|
+
/**
|
157
|
+
* tailwind 방식으로 변경
|
158
|
+
* ex) bg-yellow-3
|
159
|
+
*/
|
160
|
+
function formatColors(colors) {
|
161
|
+
var formatcolors = {};
|
162
|
+
for (var _i = 0, _a = Object.entries(colors); _i < _a.length; _i++) {
|
163
|
+
var _b = _a[_i], cn = _b[0], c = _b[1];
|
164
|
+
for (var _c = 0, _d = Object.entries(c); _c < _d.length; _c++) {
|
165
|
+
var _e = _d[_c], scale = _e[0], value = _e[1];
|
166
|
+
if (!scale) {
|
167
|
+
continue;
|
168
|
+
}
|
169
|
+
formatcolors["".concat(cn, "-").concat(scale)] = value;
|
170
|
+
}
|
171
|
+
}
|
172
|
+
return formatcolors;
|
173
|
+
}
|
166
174
|
exports.default = config;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
2
2
|
import React from 'react';
|
3
|
-
import { IColor } from 'lib/types';
|
3
|
+
import { IColor } from '../../../lib/types';
|
4
4
|
export interface HeaderProps extends VariantProps<typeof headerVariants> {
|
5
5
|
color?: IColor;
|
6
6
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
|
-
import { IColor, ITypoSize } from 'lib/types';
|
3
|
+
import { IColor, ITypoSize } from '../../../lib/types';
|
4
4
|
export interface TextProps extends VariantProps<typeof textVariants> {
|
5
5
|
color?: IColor;
|
6
6
|
size?: ITypoSize;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IColor } from 'lib/types';
|
4
|
+
import { IColor } from '../../../lib/types';
|
5
5
|
export interface AccordionProps extends React.InputHTMLAttributes<HTMLInputElement>, VariantProps<typeof accoridanVariants> {
|
6
6
|
defaultValue?: string;
|
7
7
|
color?: IColor;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IAppearance } from 'lib/types';
|
4
|
+
import { IAppearance } from '../../../lib/types';
|
5
5
|
export interface AlertDialogActionProps extends VariantProps<typeof alertDialogActionVariants> {
|
6
6
|
appearance?: IAppearance;
|
7
7
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IAppearance } from 'lib/types';
|
4
|
+
import { IAppearance } from '../../../lib/types';
|
5
5
|
export interface AlertDialogCancelProps extends VariantProps<typeof alertDialogCancelVariants> {
|
6
6
|
appearance?: IAppearance;
|
7
7
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IAppearance, IColor } from 'lib/types';
|
4
|
+
import { IAppearance, IColor } from '../../../lib/types';
|
5
5
|
import { alertDialogContentVariants } from './AlertDialogContent';
|
6
6
|
import { alertDialogTitleVariants } from './AlertDialogTitle';
|
7
7
|
import { alertDialogDescriptionVariants } from './AlertDialogDescription';
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IAppearance, IColor } from 'lib/types';
|
4
|
+
import { IAppearance, IColor } from '../../../lib/types';
|
5
5
|
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
6
6
|
color?: IColor;
|
7
7
|
appearance?: IAppearance;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React, { HTMLAttributes } from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
|
-
import { IColor, IAppearance, ISize, IWeight } from 'lib/types';
|
3
|
+
import { IColor, IAppearance, ISize, IWeight } from '../../../lib/types';
|
4
4
|
export interface BadgeProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof BadgeVariants> {
|
5
5
|
color?: IColor;
|
6
6
|
appearance?: Exclude<IAppearance, 'classic' | 'ghost'>;
|
@@ -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;
|