@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
@@ -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,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;
|
@@ -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 IBubbleChartDataset = IChartDatasets & {
|
5
5
|
data: {
|
6
6
|
x: number;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
|
-
import { IAppearance, IColor } from 'lib/types';
|
3
|
+
import { IAppearance, IColor } from '../../../lib/types';
|
4
4
|
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
5
5
|
color?: IColor;
|
6
6
|
appearance?: IAppearance;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
3
|
import { calloutTextVariants } from './CalloutText';
|
4
|
-
import { IAppearance } from 'lib/types';
|
4
|
+
import { IAppearance } from '../../../lib/types';
|
5
5
|
export interface CalloutProps extends VariantProps<typeof calloutVariants>, VariantProps<typeof calloutTextVariants> {
|
6
6
|
contentText?: string;
|
7
7
|
appearance?: Exclude<IAppearance, 'classic' | 'ghost' | 'solid'>;
|
@@ -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 CardProps extends VariantProps<typeof cardVariants> {
|
5
5
|
appearance?: Exclude<IAppearance, 'solid' | 'outline'>;
|
6
6
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
3
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
4
|
-
import { IAppearance, IColor } from 'lib/types';
|
4
|
+
import { IAppearance, IColor } from '../../../lib/types';
|
5
5
|
export interface CheckboxProps extends VariantProps<typeof CheckboxVariants> {
|
6
6
|
id: string;
|
7
7
|
color?: IColor;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IColor, IRadius, IScaling } from 'lib/types';
|
5
|
-
import { CheckboxVariants } from 'lib/components/Checkbox';
|
4
|
+
import { IColor, IRadius, IScaling } from '../../../lib/types';
|
5
|
+
import { CheckboxVariants } from '../../../lib/components/Checkbox';
|
6
6
|
export interface CheckboxCardProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof CheckboxVariants> {
|
7
7
|
id: string;
|
8
8
|
scaling?: IScaling;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
3
|
-
import { CheckboxProps } from 'lib/components/Checkbox';
|
3
|
+
import { CheckboxProps } from '../../../lib/components/Checkbox';
|
4
4
|
export declare const CheckboxGroupItem: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & CheckboxProps & React.RefAttributes<HTMLButtonElement>>;
|
5
5
|
export default CheckboxGroupItem;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import React, { ReactNode } from 'react';
|
2
2
|
import { CheckboxGroup as CheckboxGroupTheme } from '@radix-ui/themes';
|
3
|
-
import { CheckboxVariants } from 'lib/components/Checkbox';
|
3
|
+
import { CheckboxVariants } from '../../../lib/components/Checkbox';
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
5
|
-
import { IAppearance, IColor } from 'lib/types';
|
5
|
+
import { IAppearance, IColor } from '../../../lib/types';
|
6
6
|
export interface CheckboxGroupRootProps extends VariantProps<typeof CheckboxGroupVariants>, VariantProps<typeof CheckboxVariants> {
|
7
7
|
children?: ReactNode;
|
8
8
|
defaultValue?: string[];
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
declare const CheckboxGroup: {
|
3
3
|
Root: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/checkbox-group").RootProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./CheckboxGroupRoot").CheckboxGroupRootProps & import("react").RefAttributes<HTMLDivElement>>;
|
4
|
-
Item: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-checkbox").CheckboxProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("lib/components/Checkbox").CheckboxProps & import("react").RefAttributes<HTMLButtonElement>>;
|
4
|
+
Item: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-checkbox").CheckboxProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("../../../lib/components/Checkbox").CheckboxProps & import("react").RefAttributes<HTMLButtonElement>>;
|
5
5
|
};
|
6
6
|
export default CheckboxGroup;
|