@lotte-innovate/ui-component-test 0.1.114 → 0.1.116
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -2
- package/dist/globals.css +3 -3
- package/dist/lib/Typography/Header/index.d.ts +1 -1
- package/dist/lib/Typography/Header/index.js +2 -2
- package/dist/lib/Typography/Text/index.d.ts +1 -1
- package/dist/lib/Typography/Text/index.js +2 -2
- package/dist/lib/color/alpha.mjs.map +1 -1
- package/dist/lib/color/constants.mjs.map +1 -1
- package/dist/lib/color/light.mjs.map +1 -1
- package/dist/lib/components/Accordion/index.d.ts +1 -1
- package/dist/lib/components/Accordion/index.js +4 -4
- package/dist/lib/components/AlertDialog/AlertDialogAction.d.ts +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogAction.js +3 -3
- package/dist/lib/components/AlertDialog/AlertDialogCancel.d.ts +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogCancel.js +2 -2
- package/dist/lib/components/AlertDialog/AlertDialogContent.js +2 -2
- package/dist/lib/components/AlertDialog/AlertDialogDescription.js +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogRoot.d.ts +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogRoot.js +2 -2
- package/dist/lib/components/AlertDialog/AlertDialogTitle.js +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.d.ts +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.js +4 -4
- package/dist/lib/components/AlertDialog/index.mjs.map +1 -1
- package/dist/lib/components/AspectRatio/index.js +3 -3
- package/dist/lib/components/Avatar/index.js +4 -4
- package/dist/lib/components/Badge/index.d.ts +1 -1
- package/dist/lib/components/Badge/index.js +4 -4
- package/dist/lib/components/BarChart/index.d.ts +1 -1
- package/dist/lib/components/BarChart/index.js +4 -4
- package/dist/lib/components/BarChart/index.mjs.map +1 -1
- package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.js +1 -1
- package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs.map +1 -1
- package/dist/lib/components/Breadcrumb/BreadcrumbItem.js +1 -1
- package/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs.map +1 -1
- package/dist/lib/components/Breadcrumb/BreadcrumbLink.js +1 -1
- package/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs.map +1 -1
- package/dist/lib/components/Breadcrumb/BreadcrumbList.js +1 -1
- package/dist/lib/components/Breadcrumb/BreadcrumbList.mjs.map +1 -1
- package/dist/lib/components/Breadcrumb/BreadcrumbPage.js +1 -1
- package/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs.map +1 -1
- package/dist/lib/components/Breadcrumb/BreadcrumbRoot.js +3 -3
- package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.js +1 -1
- package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs.map +1 -1
- package/dist/lib/components/Breadcrumb/index.mjs.map +1 -1
- package/dist/lib/components/BubbleChart/index.d.ts +1 -1
- package/dist/lib/components/BubbleChart/index.js +4 -4
- package/dist/lib/components/BubbleChart/index.mjs.map +1 -1
- package/dist/lib/components/Button/index.d.ts +1 -1
- package/dist/lib/components/Button/index.js +4 -4
- package/dist/lib/components/Callout/CalloutIcon.js +2 -2
- package/dist/lib/components/Callout/CalloutRoot.d.ts +1 -1
- package/dist/lib/components/Callout/CalloutRoot.js +3 -3
- package/dist/lib/components/Callout/CalloutText.js +1 -1
- package/dist/lib/components/Callout/index.mjs.map +1 -1
- package/dist/lib/components/Card/index.d.ts +1 -1
- package/dist/lib/components/Card/index.js +3 -3
- package/dist/lib/components/Checkbox/index.d.ts +1 -1
- package/dist/lib/components/Checkbox/index.js +4 -4
- package/dist/lib/components/CheckboxCard/index.d.ts +2 -2
- package/dist/lib/components/CheckboxCard/index.js +5 -5
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.d.ts +1 -1
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.js +1 -1
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +2 -2
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.js +3 -3
- package/dist/lib/components/CheckboxGroup/index.mjs.map +1 -1
- package/dist/lib/components/Collapsible/index.d.ts +1 -1
- package/dist/lib/components/Collapsible/index.js +4 -4
- package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.js +2 -2
- package/dist/lib/components/ContextMenu/ContextMenuContent.js +2 -2
- package/dist/lib/components/ContextMenu/ContextMenuGroup.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuItem.js +3 -3
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.js +2 -2
- package/dist/lib/components/ContextMenu/ContextMenuLabel.js +2 -2
- package/dist/lib/components/ContextMenu/ContextMenuRadioItem.js +2 -2
- package/dist/lib/components/ContextMenu/ContextMenuRoot.d.ts +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuRoot.js +2 -2
- package/dist/lib/components/ContextMenu/ContextMenuSeparator.js +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.js +2 -2
- package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.js +3 -3
- package/dist/lib/components/ContextMenu/ContextMenuTrigger.js +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/index.mjs.map +1 -1
- package/dist/lib/components/DataList/DataListItem.js +2 -2
- package/dist/lib/components/DataList/DataListLabel.js +2 -2
- package/dist/lib/components/DataList/DataListRoot.js +2 -2
- package/dist/lib/components/DataList/DataListValue.js +2 -2
- package/dist/lib/components/DataList/index.mjs.map +1 -1
- package/dist/lib/components/Dialog/DialogAction.js +3 -3
- package/dist/lib/components/Dialog/DialogCancel.js +1 -1
- package/dist/lib/components/Dialog/DialogContent.js +2 -2
- package/dist/lib/components/Dialog/DialogDescription.js +1 -1
- package/dist/lib/components/Dialog/DialogRoot.js +2 -2
- package/dist/lib/components/Dialog/DialogSlot.js +1 -1
- package/dist/lib/components/Dialog/DialogTitle.js +1 -1
- package/dist/lib/components/Dialog/DialogTrigger.mjs.map +1 -1
- package/dist/lib/components/Dialog/index.mjs.map +1 -1
- package/dist/lib/components/DoughnutChart/index.d.ts +1 -1
- package/dist/lib/components/DoughnutChart/index.js +3 -3
- package/dist/lib/components/DoughnutChart/index.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.js +2 -2
- package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +2 -2
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.js +2 -2
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.d.ts +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.js +3 -3
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +2 -2
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.js +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.js +2 -2
- package/dist/lib/components/DropdownMenu/DropdownMenuRoot.d.ts +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuRoot.js +2 -2
- package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.js +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +3 -3
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.js +1 -1
- package/dist/lib/components/DropdownMenu/index.mjs.map +1 -1
- package/dist/lib/components/Editor/index copy.js +2 -2
- package/dist/lib/components/Editor/index.d.ts +15 -16
- package/dist/lib/components/Editor/index.js +51 -93
- package/dist/lib/components/Editor/index.mjs +1 -1
- package/dist/lib/components/Footer/index.js +3 -3
- package/dist/lib/components/Gnb/GnbInfo.js +1 -1
- package/dist/lib/components/Gnb/GnbLogo.js +2 -2
- package/dist/lib/components/Gnb/GnbMenu.d.ts +1 -1
- package/dist/lib/components/Gnb/GnbMenu.js +1 -1
- package/dist/lib/components/Gnb/GnbRoot.js +3 -3
- package/dist/lib/components/Gnb/index.mjs.map +1 -1
- package/dist/lib/components/Grid/Pagination.mjs.map +1 -1
- package/dist/lib/components/Grid/index.js +2 -2
- package/dist/lib/components/HoverCard/HoverCardContent.js +2 -2
- package/dist/lib/components/HoverCard/HoverCardRoot.js +2 -2
- package/dist/lib/components/HoverCard/HoverCardTrigger.mjs.map +1 -1
- package/dist/lib/components/HoverCard/index.mjs.map +1 -1
- package/dist/lib/components/IconButton/index.d.ts +1 -1
- package/dist/lib/components/IconButton/index.js +4 -4
- package/dist/lib/components/Inset/index.js +3 -3
- package/dist/lib/components/Label/index.d.ts +1 -1
- package/dist/lib/components/Label/index.js +3 -3
- package/dist/lib/components/LineChart/index.d.ts +1 -1
- package/dist/lib/components/LineChart/index.js +4 -4
- package/dist/lib/components/LineChart/index.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarCheckboxItem.js +3 -3
- package/dist/lib/components/Menubar/MenubarContent.js +2 -2
- package/dist/lib/components/Menubar/MenubarItem.js +3 -3
- package/dist/lib/components/Menubar/MenubarItemIndicator.js +2 -2
- package/dist/lib/components/Menubar/MenubarMenu.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarRadioItem.js +3 -3
- package/dist/lib/components/Menubar/MenubarRoot.d.ts +1 -1
- package/dist/lib/components/Menubar/MenubarRoot.js +4 -4
- package/dist/lib/components/Menubar/MenubarSeparator.js +1 -1
- package/dist/lib/components/Menubar/MenubarSeparator.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarSub.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarSubContent.js +2 -2
- package/dist/lib/components/Menubar/MenubarSubTrigger.js +3 -3
- package/dist/lib/components/Menubar/MenubarTrigger.js +2 -2
- package/dist/lib/components/Menubar/index.mjs.map +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.js +2 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.js +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs.map +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.js +3 -3
- package/dist/lib/components/NavigationMenu/NavigationMenuList.js +3 -3
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.d.ts +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.js +3 -3
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.js +3 -3
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.js +2 -2
- package/dist/lib/components/NavigationMenu/index.mjs.map +1 -1
- package/dist/lib/components/PieChart/index.d.ts +1 -1
- package/dist/lib/components/PieChart/index.js +3 -3
- package/dist/lib/components/PieChart/index.mjs.map +1 -1
- package/dist/lib/components/Popover/PopoverClose.js +1 -1
- package/dist/lib/components/Popover/PopoverContent.d.ts +1 -1
- package/dist/lib/components/Popover/PopoverContent.js +2 -2
- package/dist/lib/components/Popover/PopoverRoot.js +1 -1
- package/dist/lib/components/Popover/PopoverTrigger.mjs.map +1 -1
- package/dist/lib/components/Popover/index.mjs.map +1 -1
- package/dist/lib/components/Progress/index.js +4 -4
- package/dist/lib/components/RadarChart/index.d.ts +1 -1
- package/dist/lib/components/RadarChart/index.js +4 -4
- package/dist/lib/components/RadarChart/index.mjs.map +1 -1
- package/dist/lib/components/Radio/index.d.ts +1 -1
- package/dist/lib/components/Radio/index.js +4 -4
- package/dist/lib/components/RadioCards/RadioCardsItem.js +1 -1
- package/dist/lib/components/RadioCards/RadioCardsRoot.js +4 -4
- package/dist/lib/components/RadioCards/index.mjs.map +1 -1
- package/dist/lib/components/RadioGroup/RadioGroupItem.js +1 -1
- package/dist/lib/components/RadioGroup/RadioGroupRoot.d.ts +1 -1
- package/dist/lib/components/RadioGroup/RadioGroupRoot.js +3 -3
- package/dist/lib/components/RadioGroup/index.mjs.map +1 -1
- package/dist/lib/components/ScrollArea/index.js +1 -1
- package/dist/lib/components/SegmentedControl/SegmentedControlItem.js +1 -1
- package/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs.map +1 -1
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +1 -1
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.js +3 -3
- package/dist/lib/components/SegmentedControl/index.mjs.map +1 -1
- package/dist/lib/components/Select/index.d.ts +2 -2
- package/dist/lib/components/Select/index.js +6 -6
- package/dist/lib/components/Select/index.mjs +1 -1
- package/dist/lib/components/Separator/index.js +3 -3
- package/dist/lib/components/Skeleton/index.d.ts +1 -1
- package/dist/lib/components/Skeleton/index.js +3 -3
- package/dist/lib/components/Slider/index.d.ts +1 -1
- package/dist/lib/components/Slider/index.js +4 -4
- package/dist/lib/components/Spinner/index.d.ts +1 -1
- package/dist/lib/components/Spinner/index.js +3 -3
- package/dist/lib/components/TabNav/index.js +3 -3
- package/dist/lib/components/Table/index.d.ts +1 -1
- package/dist/lib/components/Table/index.js +3 -3
- package/dist/lib/components/Tabs/index.d.ts +1 -1
- package/dist/lib/components/Tabs/index.js +4 -4
- package/dist/lib/components/TextArea/index.d.ts +1 -1
- package/dist/lib/components/TextArea/index.js +4 -4
- package/dist/lib/components/TextField/index.d.ts +1 -1
- package/dist/lib/components/TextField/index.js +4 -4
- package/dist/lib/components/Timeline/TimelineConnector.js +1 -1
- package/dist/lib/components/Timeline/TimelineContent.js +1 -1
- package/dist/lib/components/Timeline/TimelineDescription.js +1 -1
- package/dist/lib/components/Timeline/TimelineHeader.js +1 -1
- package/dist/lib/components/Timeline/TimelineIcon.js +2 -2
- package/dist/lib/components/Timeline/TimelineItem.js +1 -1
- package/dist/lib/components/Timeline/TimelineRoot.js +2 -2
- package/dist/lib/components/Timeline/TimelineTime.js +1 -1
- package/dist/lib/components/Timeline/TimelineTitle.js +1 -1
- package/dist/lib/components/Toast/ToastActionButton.d.ts +1 -1
- package/dist/lib/components/Toast/ToastActionButton.js +5 -5
- package/dist/lib/components/Toast/ToastDescription.d.ts +1 -1
- package/dist/lib/components/Toast/ToastDescription.js +1 -1
- package/dist/lib/components/Toast/ToastRoot.js +3 -3
- package/dist/lib/components/Toast/ToastTitle.d.ts +1 -1
- package/dist/lib/components/Toast/ToastTitle.js +1 -1
- package/dist/lib/components/Toast/index.mjs.map +1 -1
- package/dist/lib/components/Toggle/ToggleWithText.d.ts +1 -1
- package/dist/lib/components/Toggle/ToggleWithText.js +5 -5
- package/dist/lib/components/Toggle/index.d.ts +1 -1
- package/dist/lib/components/Toggle/index.js +4 -4
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.d.ts +1 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.js +2 -2
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.d.ts +1 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.js +4 -4
- package/dist/lib/components/ToggleGroup/index.mjs.map +1 -1
- package/dist/lib/components/ToggleSwitch/index.js +5 -5
- package/dist/lib/components/Tooltip/index.d.ts +1 -1
- package/dist/lib/components/Tooltip/index.js +3 -3
- package/dist/lib/constants.js +1 -1
- package/dist/lib/constants.mjs.map +1 -1
- package/dist/lib/theme/ThemeProvider.d.ts +1 -1
- package/dist/lib/utils/useDarkMode.js +1 -1
- package/dist/lib/utils/utils.mjs.map +1 -1
- package/dist/public/tinymce/icons/default/icons.d.ts +0 -0
- package/dist/public/tinymce/icons/default/icons.js +195 -0
- package/dist/public/tinymce/icons/default/index.d.ts +1 -0
- package/dist/public/tinymce/icons/default/index.js +8 -0
- package/dist/public/tinymce/models/dom/index.d.ts +1 -0
- package/dist/public/tinymce/models/dom/index.js +8 -0
- package/dist/public/tinymce/models/dom/model.d.ts +0 -0
- package/dist/public/tinymce/models/dom/model.js +7988 -0
- package/dist/public/tinymce/plugins/advlist/index.d.ts +1 -0
- package/dist/public/tinymce/plugins/advlist/index.js +8 -0
- package/dist/public/tinymce/plugins/advlist/plugin.d.ts +0 -0
- package/dist/public/tinymce/plugins/advlist/plugin.js +255 -0
- package/dist/public/tinymce/plugins/code/index.d.ts +1 -0
- package/dist/public/tinymce/plugins/code/index.js +8 -0
- package/dist/public/tinymce/plugins/code/plugin.d.ts +0 -0
- package/dist/public/tinymce/plugins/code/plugin.js +77 -0
- package/dist/public/tinymce/plugins/codesample/index.d.ts +1 -0
- package/dist/public/tinymce/plugins/codesample/index.js +8 -0
- package/dist/public/tinymce/plugins/codesample/plugin.d.ts +45 -0
- package/dist/public/tinymce/plugins/codesample/plugin.js +2462 -0
- package/dist/public/tinymce/plugins/image/index.d.ts +1 -0
- package/dist/public/tinymce/plugins/image/index.js +8 -0
- package/dist/public/tinymce/plugins/image/plugin.d.ts +0 -0
- package/dist/public/tinymce/plugins/image/plugin.js +1523 -0
- package/dist/public/tinymce/plugins/link/index.d.ts +1 -0
- package/dist/public/tinymce/plugins/link/index.js +8 -0
- package/dist/public/tinymce/plugins/link/plugin.d.ts +0 -0
- package/dist/public/tinymce/plugins/link/plugin.js +1246 -0
- package/dist/public/tinymce/plugins/lists/index.d.ts +1 -0
- package/dist/public/tinymce/plugins/lists/index.js +8 -0
- package/dist/public/tinymce/plugins/lists/plugin.d.ts +0 -0
- package/dist/public/tinymce/plugins/lists/plugin.js +2191 -0
- package/dist/public/tinymce/plugins/table/index.d.ts +1 -0
- package/dist/public/tinymce/plugins/table/index.js +8 -0
- package/dist/public/tinymce/plugins/table/plugin.d.ts +0 -0
- package/dist/public/tinymce/plugins/table/plugin.js +3399 -0
- package/dist/public/tinymce/skins/content/default/content.d.ts +0 -0
- package/dist/public/tinymce/skins/content/default/content.js +3 -0
- package/dist/public/tinymce/skins/ui/oxide/content.d.ts +0 -0
- package/dist/public/tinymce/skins/ui/oxide/content.js +3 -0
- package/dist/public/tinymce/skins/ui/oxide/skin.d.ts +0 -0
- package/dist/public/tinymce/skins/ui/oxide/skin.js +3 -0
- package/dist/public/tinymce/themes/silver/index.d.ts +1 -0
- package/dist/public/tinymce/themes/silver/index.js +8 -0
- package/dist/public/tinymce/themes/silver/theme.d.ts +0 -0
- package/dist/public/tinymce/themes/silver/theme.js +29731 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -4
- package/dist/lib/tailwind.config.d.ts +0 -3
- package/dist/lib/tsconfig.tsbuildinfo +0 -1
- package/public/skins/content/default/content.css +0 -61
- package/public/skins/ui/oxide/content.min.css +0 -1
- package/public/skins/ui/oxide/skin.min.css +0 -1
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
|
-
import { IColor, ITypoSize } from '
|
3
|
+
import { IColor, ITypoSize } from '../../../lib/types';
|
4
4
|
export interface HeaderProps extends VariantProps<typeof headerVariants> {
|
5
5
|
color?: IColor;
|
6
6
|
size?: ITypoSize;
|
@@ -23,9 +23,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
23
23
|
};
|
24
24
|
import { jsx as _jsx } from "react/jsx-runtime";
|
25
25
|
import React from 'react';
|
26
|
-
import { cn } from '
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { textColorStyle, weightVariants } from '
|
28
|
+
import { textColorStyle, weightVariants } from '../../../lib/constants';
|
29
29
|
import { Heading as HeadingTheme, Theme } from '@radix-ui/themes';
|
30
30
|
var weights = __assign({}, weightVariants);
|
31
31
|
var headers = {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
|
-
import { IColor, ITypoSize } from '
|
3
|
+
import { IColor, ITypoSize } from '../../../lib/types';
|
4
4
|
export interface TextProps extends VariantProps<typeof textVariants> {
|
5
5
|
color?: IColor;
|
6
6
|
size?: ITypoSize;
|
@@ -25,8 +25,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import { forwardRef } from 'react';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
27
|
import { Text as TextTheme, Theme } from '@radix-ui/themes';
|
28
|
-
import { textColorStyle, weightVariants } from '
|
29
|
-
import { cn } from '
|
28
|
+
import { textColorStyle, weightVariants } from '../../../lib/constants';
|
29
|
+
import { cn } from '../../../lib/utils/utils';
|
30
30
|
var textVariants = cva('', {
|
31
31
|
variants: {
|
32
32
|
weight: __assign({ light: 'font-light' }, weightVariants),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"alpha.mjs","sources":["../../lib/color/alpha.js"],"sourcesContent":["export var slateA = {\n 1: '#00005503',\n 2: '#00005506',\n 3: '#0000330f',\n 4: '#00002d17',\n 5: '#0009321f',\n 6: '#00002f26',\n 7: '#00062e32',\n 8: '#00083046',\n 9: '#00051d74',\n 10: '#00071b7f',\n 11: '#0007149f',\n 12: '#000509e3',\n};\nexport var oliveA = {\n 1: '#00550003',\n 2: '#00490007',\n 3: '#00200010',\n 4: '#00160018',\n 5: '#00180020',\n 6: '#00140028',\n 7: '#000f0033',\n 8: '#040f0047',\n 9: '#050f0078',\n 10: '#040e0082',\n 11: '#020a00a0',\n 12: '#010600e3',\n};\nexport var sandA = {\n 1: '#55550003',\n 2: '#25250007',\n 3: '#20100010',\n 4: '#1f150019',\n 5: '#1f180021',\n 6: '#19130029',\n 7: '#19140035',\n 8: '#1915014a',\n 9: '#0f0f0079',\n 10: '#0c0c0083',\n 11: '#080800a1',\n 12: '#060500e3',\n};\nexport var tomatoA = {\n 1: '#ff000003',\n 2: '#ff200008',\n 3: '#f52b0018',\n 4: '#ff35002c',\n 5: '#ff2e003d',\n 6: '#f92d0050',\n 7: '#e7280067',\n 8: '#db250084',\n 9: '#df2600d1',\n 10: '#d72400da',\n 11: '#cd2200ea',\n 12: '#460900e0',\n};\nexport var redA = {\n 1: '#ff000003',\n 2: '#ff000008',\n 3: '#f3000d14',\n 4: '#ff000824',\n 5: '#ff000632',\n 6: '#f8000442',\n 7: '#df000356',\n 8: '#d2000571',\n 9: '#db0007b7',\n 10: '#d10005c1',\n 11: '#c40006d3',\n 12: '#55000de8',\n};\nexport var rubyA = {\n 1: '#ff005503',\n 2: '#ff002008',\n 3: '#f3002515',\n 4: '#ff002523',\n 5: '#ff002a31',\n 6: '#e4002440',\n 7: '#ce002553',\n 8: '#c300286d',\n 9: '#db002cb9',\n 10: '#d2002cc4',\n 11: '#c10030db',\n 12: '#550016e8',\n};\nexport var crimsonA = {\n 1: '#ff005503',\n 2: '#e0004008',\n 3: '#ff005216',\n 4: '#f8005123',\n 5: '#e5004f31',\n 6: '#d0004b41',\n 7: '#bf004753',\n 8: '#b6004a6c',\n 9: '#e2005bc2',\n 10: '#d70056cb',\n 11: '#c4004fe2',\n 12: '#530026e9',\n};\nexport var pinkA = {\n 1: '#ff00aa03',\n 2: '#e0008008',\n 3: '#f4008c16',\n 4: '#e2008b23',\n 5: '#d1008331',\n 6: '#c0007840',\n 7: '#b6006f53',\n 8: '#af006f6c',\n 9: '#c8007fbf',\n 10: '#c2007ac7',\n 11: '#b60074d6',\n 12: '#59003bed',\n};\nexport var plumA = {\n 1: '#aa00ff03',\n 2: '#c000c008',\n 3: '#cc00cc14',\n 4: '#c200c921',\n 5: '#b700bd2e',\n 6: '#a400b03d',\n 7: '#9900a852',\n 8: '#9000a56e',\n 9: '#89009eb5',\n 10: '#7f0092bb',\n 11: '#730086c1',\n 12: '#40004be6',\n};\nexport var purpleA = {\n 1: '#aa00aa03',\n 2: '#8000e008',\n 3: '#8e00f112',\n 4: '#8d00e51d',\n 5: '#8000db2a',\n 6: '#7a01d03b',\n 7: '#6d00c350',\n 8: '#6600c06c',\n 9: '#5c00adb1',\n 10: '#53009eb8',\n 11: '#52009aba',\n 12: '#250049df',\n};\nexport var violetA = {\n 1: '#5500aa03',\n 2: '#4900ff07',\n 3: '#4400ee0f',\n 4: '#4300ff1b',\n 5: '#3600ff26',\n 6: '#3100fb35',\n 7: '#2d01dd4a',\n 8: '#2b00d066',\n 9: '#2400b7a9',\n 10: '#2300abb2',\n 11: '#1f0099af',\n 12: '#0b0043d9',\n};\nexport var irisA = {\n 1: '#0000ff02',\n 2: '#0000ff07',\n 3: '#0011ee0f',\n 4: '#000bff19',\n 5: '#000eff25',\n 6: '#000aff34',\n 7: '#0008e647',\n 8: '#0008d964',\n 9: '#0000c0a4',\n 10: '#0000b6ae',\n 11: '#0600abac',\n 12: '#000246d8',\n};\nexport var indigoA = {\n 1: '#00008002',\n 2: '#0040ff08',\n 3: '#0047f112',\n 4: '#0044ff1e',\n 5: '#0044ff2d',\n 6: '#003eff3e',\n 7: '#0037ed54',\n 8: '#0034dc72',\n 9: '#0031d2c1',\n 10: '#002ec9cc',\n 11: '#002bb7c5',\n 12: '#001046e0',\n};\nexport var blueA = {\n 1: '#0080ff04',\n 2: '#008cff0b',\n 3: '#008ff519',\n 4: '#009eff2a',\n 5: '#0093ff3d',\n 6: '#0088f653',\n 7: '#0083eb71',\n 8: '#0084e6a1',\n 9: '#0090ff',\n 10: '#0086f0fa',\n 11: '#006dcbf2',\n 12: '#002359ee',\n};\nexport var cyanA = {\n 1: '#0099cc05',\n 2: '#009db10d',\n 3: '#00c2d121',\n 4: '#00bcd435',\n 5: '#01b4cc4a',\n 6: '#00a7c162',\n 7: '#009fbb82',\n 8: '#00a3c0c2',\n 9: '#00a2c7',\n 10: '#0094b7f8',\n 11: '#007491ef',\n 12: '#00323ef2',\n};\nexport var tealA = {\n 1: '#00cc9905',\n 2: '#00aa800c',\n 3: '#00c69d1f',\n 4: '#00c39633',\n 5: '#00b49047',\n 6: '#00a6855e',\n 7: '#0099807c',\n 8: '#009783ac',\n 9: '#009e8ced',\n 10: '#009684f2',\n 11: '#008573',\n 12: '#00332df2',\n};\nexport var jadeA = {\n 1: '#00c08004',\n 2: '#00a3460b',\n 3: '#00ae4819',\n 4: '#00a85129',\n 5: '#00a2553c',\n 6: '#009a5753',\n 7: '#00945f74',\n 8: '#00976ea9',\n 9: '#00916bd6',\n 10: '#008764d9',\n 11: '#007152df',\n 12: '#002217e2',\n};\nexport var greenA = {\n 1: '#00c04004',\n 2: '#00a32f0b',\n 3: '#00a43319',\n 4: '#00a83829',\n 5: '#019c393b',\n 6: '#00963c52',\n 7: '#00914071',\n 8: '#00924ba4',\n 9: '#008f4acf',\n 10: '#008647d4',\n 11: '#00713fde',\n 12: '#002616e6',\n};\nexport var grassA = {\n 1: '#00c00004',\n 2: '#0099000a',\n 3: '#00970016',\n 4: '#009f0725',\n 5: '#00930536',\n 6: '#008f0a4d',\n 7: '#018b0f6b',\n 8: '#008d199a',\n 9: '#008619b9',\n 10: '#007b17c1',\n 11: '#006514d5',\n 12: '#002006df',\n};\nexport var brownA = {\n 1: '#aa550003',\n 2: '#aa550009',\n 3: '#a04b0018',\n 4: '#9b4a0026',\n 5: '#9f4d0035',\n 6: '#a04e0048',\n 7: '#a34e0060',\n 8: '#9f4a0081',\n 9: '#823c00a7',\n 10: '#723300ac',\n 11: '#522100b9',\n 12: '#140600d1',\n};\nexport var bronzeA = {\n 1: '#55000003',\n 2: '#cc33000a',\n 3: '#92250015',\n 4: '#80280020',\n 5: '#7423002c',\n 6: '#7324003a',\n 7: '#6c1f004c',\n 8: '#671c0066',\n 9: '#551a008d',\n 10: '#4c150097',\n 11: '#3d0f00ab',\n 12: '#1d0600d4',\n};\nexport var goldA = {\n 1: '#55550003',\n 2: '#9d8a000d',\n 3: '#75600018',\n 4: '#6b4e0024',\n 5: '#60460030',\n 6: '#64440040',\n 7: '#63420055',\n 8: '#633d0072',\n 9: '#5332009a',\n 10: '#492d00a1',\n 11: '#362100b4',\n 12: '#130c00d4',\n};\nexport var skyA = {\n 1: '#00d5ff06',\n 2: '#00a4db0e',\n 3: '#00b3ee1e',\n 4: '#00ace42e',\n 5: '#00a1d841',\n 6: '#0092ca56',\n 7: '#0089c172',\n 8: '#0085bf9f',\n 9: '#00c7fe83',\n 10: '#00bcf38b',\n 11: '#00749e',\n 12: '#002540e2',\n};\nexport var mintA = {\n 1: '#00d5aa06',\n 2: '#00b18a0d',\n 3: '#00d29e22',\n 4: '#00cc9937',\n 5: '#00c0914c',\n 6: '#00b08663',\n 7: '#00a17d81',\n 8: '#009e7fb3',\n 9: '#00d3a579',\n 10: '#00c39982',\n 11: '#007763fd',\n 12: '#00312ae9',\n};\nexport var limeA = {\n 1: '#66990005',\n 2: '#6b95000c',\n 3: '#96c80029',\n 4: '#8fc60042',\n 5: '#81bb0059',\n 6: '#72aa006e',\n 7: '#61990087',\n 8: '#559200ab',\n 9: '#93e4009c',\n 10: '#8fdc00b3',\n 11: '#375f00d0',\n 12: '#1e2900e3',\n};\nexport var yellowA = {\n 1: '#aaaa0006',\n 2: '#f4dd0016',\n 3: '#ffee0047',\n 4: '#ffe3016b',\n 5: '#ffd5008f',\n 6: '#ebbc0097',\n 7: '#d2a10098',\n 8: '#c99700c6',\n 9: '#ffe100d6',\n 10: '#ffdc00',\n 11: '#9e6c00',\n 12: '#2e2000e0',\n};\nexport var amberA = {\n 1: '#c0800004',\n 2: '#f4d10016',\n 3: '#ffde003d',\n 4: '#ffd40063',\n 5: '#f8cf0088',\n 6: '#eab5008c',\n 7: '#dc9b009d',\n 8: '#da8a00c9',\n 9: '#ffb300c2',\n 10: '#ffb300e7',\n 11: '#ab6400',\n 12: '#341500dd',\n};\nexport var orangeA = {\n 1: '#c0400004',\n 2: '#ff8e0012',\n 3: '#ff9c0029',\n 4: '#ff91014a',\n 5: '#ff8b0065',\n 6: '#ff81007d',\n 7: '#ed6c008c',\n 8: '#e35f00aa',\n 9: '#f65e00ea',\n 10: '#ef5f00',\n 11: '#cc4e00',\n 12: '#431200e2',\n};\nexport var slateDarkA = {\n 1: '#FFFFFF0D',\n 2: '#FFFFFF1A',\n 3: '#FFFFFF26',\n 4: '#FFFFFF33',\n 5: '#FFFFFF4D',\n 6: '#FFFFFF66',\n 7: '#FFFFFF80',\n 8: '#FFFFFF99',\n 9: '#FFFFFFB2',\n 10: '#FFFFFFCC',\n 11: '#FFFFFFE5',\n 12: '#FFFFFFF2',\n};\nexport var oliveDarkA = {\n 1: '#00000000',\n 2: '#F1F2F008',\n 3: '#F4F5F312',\n 4: '#F3FEF21A',\n 5: '#F2FBF122',\n 6: '#F4FAED2C',\n 7: '#F2FCED3B',\n 8: '#EDFDEB57',\n 9: '#EBFDE766',\n 10: '#F0FDEC74',\n 11: '#F6FEF4B0',\n 12: '#FDFFFDED',\n};\nexport var sandDarkA = {\n 1: '#00000000',\n 2: '#F4F4F309',\n 3: '#F6F6F513',\n 4: '#FEFEF31B',\n 5: '#FBFBEB23',\n 6: '#FFFAED2D',\n 7: '#FFFBED3C',\n 8: '#FFF9EB57',\n 9: '#FFFAE965',\n 10: '#FFFDEE73',\n 11: '#FFFCF4B0',\n 12: '#FFFFFDED',\n};\nexport var tomatoDarkA = {\n 1: '#F1121208',\n 2: '#FF55330F',\n 3: '#FF35232B',\n 4: '#FD201142',\n 5: '#FE332153',\n 6: '#FF4F3864',\n 7: '#FD644A7D',\n 8: '#FE6D4EA7',\n 9: '#FF5F3DDA',\n 10: '#FF876EE1',\n 11: '#FF977D',\n 12: '#FFD6CEFB',\n};\nexport var redDarkA = {\n 1: '#F4121209',\n 2: '#F22F3E11',\n 3: '#FF173F2D',\n 4: '#FE0A3B44',\n 5: '#FF204756',\n 6: '#FF3E5668',\n 7: '#FF536184',\n 8: '#FF5D61B0',\n 9: '#FF5C61D2',\n 10: '#FF8789DD',\n 11: '#FF9592',\n 12: '#FFD1D9',\n};\nexport var rubyDarkA = {\n 1: '#F4124A09',\n 2: '#FE5A7F0E',\n 3: '#FF235D2C',\n 4: '#FD195E42',\n 5: '#FE2D6B53',\n 6: '#FF447665',\n 7: '#FF577D80',\n 8: '#FF5C7CAE',\n 9: '#FF5F80CD',\n 10: '#FE88A2D8',\n 11: '#FF949D',\n 12: '#FFD3E2FE',\n};\nexport var crimsonDarkA = {\n 1: '#F4126709',\n 2: '#F22F7A11',\n 3: '#FE2A8B2A',\n 4: '#FD158741',\n 5: '#FD278F51',\n 6: '#FE459763',\n 7: '#FD559B7F',\n 8: '#FE5B9BAB',\n 9: '#FF428DDD',\n 10: '#FE6FA8E5',\n 11: '#FF92AD',\n 12: '#FFD5EAFD',\n};\nexport var pinkDarkA = {\n 1: '#F412BC09',\n 2: '#F420BB12',\n 3: '#FE37CC29',\n 4: '#FC1EC43F',\n 5: '#FD35C24E',\n 6: '#FD51C75F',\n 7: '#FD62C87B',\n 8: '#FF68C8A2',\n 9: '#FE5CC3D9',\n 10: '#FE5CC3D9',\n 11: '#FF8DCC',\n 12: '#FFD3ECFD',\n};\nexport var plumDarkA = {\n 1: '#F112F108',\n 2: '#F22FF211',\n 3: '#FD4CFD27',\n 4: '#F646FF3A',\n 5: '#F455FF48',\n 6: '#F66DFF56',\n 7: '#F07CFD70',\n 8: '#EE84FF95',\n 9: '#EC73FFBB',\n 10: '#EE87FFC3',\n 11: '#F19CFEF3',\n 12: '#FEDDFEF4',\n};\nexport var purpleDarkA = {\n 1: '#B412F90B',\n 2: '#B744F714',\n 3: '#C150FF2D',\n 4: '#BB53FD42',\n 5: '#BE5CFD51',\n 6: '#C16DFD61',\n 7: '#C378FD7A',\n 8: '#C47EFFA4',\n 9: '#C787FFC3',\n 10: '#D8ABFFD2',\n 11: '#D19DFF',\n 12: '#F1DDFFFA',\n};\nexport var violetDarkA = {\n 1: '#4422FF0F',\n 2: '#853FF916',\n 3: '#8354FE36',\n 4: '#7D51FD50',\n 5: '#845FFD5F',\n 6: '#8F6CFD6D',\n 7: '#9879FF83',\n 8: '#977DFEA8',\n 9: '#9C83FED0',\n 10: '#BBAAFEDD',\n 11: '#BAA7FF',\n 12: '#E3DEFFFE',\n};\nexport var irisDarkA = {\n 1: '#3636FE0E',\n 2: '#564BF916',\n 3: '#525BFF3B',\n 4: '#4D58FF5A',\n 5: '#5B62FD6B',\n 6: '#6D6FFD7A',\n 7: '#7777FE8E',\n 8: '#7B7AFEAC',\n 9: '#8F98FEBF',\n 10: '#B2B9FECF',\n 11: '#B1A9FF',\n 12: '#E1E0FFFE',\n};\nexport var indigoDarkA = {\n 1: '#1133FF0F',\n 2: '#3354FA17',\n 3: '#2F62FF3C',\n 4: '#3566FF57',\n 5: '#4171FD6B',\n 6: '#5178FD7C',\n 7: '#5A7FFF90',\n 8: '#5B81FEAC',\n 9: '#5279FEF5',\n 10: '#6889FEF6',\n 11: '#9EB1FF',\n 12: '#D6E1FF',\n};\nexport var blueDarkA = {\n 1: '#004DF211',\n 2: '#1166FB18',\n 3: '#0077FF3A',\n 4: '#0075FF57',\n 5: '#0081FD6B',\n 6: '#0F89FD7F',\n 7: '#2A91FE98',\n 8: '#3094FEB9',\n 9: '#48A1FEDB',\n 10: '#60AEFFDF',\n 11: '#70B8FF',\n 12: '#C2E6FF',\n};\nexport var cyanDarkA = {\n 1: '#0091F70A',\n 2: '#02A7F211',\n 3: '#00BEFD28',\n 4: '#00BAFF3B',\n 5: '#00BEFD4D',\n 6: '#00C7FD5E',\n 7: '#14CDFF75',\n 8: '#11CFFF95',\n 9: '#16D4FFAD',\n 10: '#19D4FECB',\n 11: '#52E1FEE5',\n 12: '#BBF3FEF7',\n};\nexport var tealDarkA = {\n 1: '#00DEAB05',\n 2: '#12FBE60C',\n 3: '#00FFE61E',\n 4: '#00FFE92D',\n 5: '#00FFEA3B',\n 6: '#1CFFE84B',\n 7: '#2EFDE85F',\n 8: '#32FFE775',\n 9: '#57FEFD8D',\n 10: '#5BFEFEAC',\n 11: '#0AFED5D6',\n 12: '#B8FFEBEF',\n};\nexport var jadeDarkA = {\n 1: '#00DE4505',\n 2: '#27FBA60C',\n 3: '#02F99920',\n 4: '#00FFAA2D',\n 5: '#11FFB63B',\n 6: '#34FFC24B',\n 7: '#45FDC75E',\n 8: '#48FFCF75',\n 9: '#42FECB98',\n 10: '#45FECCBA',\n 11: '#21FEC0D6',\n 12: '#B8FFE1EF',\n};\nexport var greenDarkA = {\n 1: '#00DE4505',\n 2: '#29F99D0B',\n 3: '#22FF991E',\n 4: '#11FF992D',\n 5: '#2BFFA23C',\n 6: '#44FFAA4B',\n 7: '#50FDAC5E',\n 8: '#54FFAD73',\n 9: '#4DFFA892',\n 10: '#4EFEA8A7',\n 11: '#46FEA5D4',\n 12: '#BBFFD7F0',\n};\nexport var grassDarkA = {\n 1: '#00DE1205',\n 2: '#5EF7780A',\n 3: '#70FE8C1B',\n 4: '#57FF802C',\n 5: '#68FF8B3B',\n 6: '#71FF8F4B',\n 7: '#77FD925D',\n 8: '#77FD9070',\n 9: '#4DFFA892',\n 10: '#4EFEA8A7',\n 11: '#89FF9FCD',\n 12: '#CEFFCEEF',\n};\nexport var brownDarkA = {\n 1: '#91110002',\n 2: '#FBA67C0C',\n 3: '#FCB58C19',\n 4: '#FBBB8A24',\n 5: '#FCB88931',\n 6: '#FDBA8741',\n 7: '#FFBB8856',\n 8: '#FFBE8773',\n 9: '#FFA34BAE',\n 10: '#FEB168C6',\n 11: '#FED1AAD9',\n 12: '#FEECD4F2',\n};\nexport var bronzeDarkA = {\n 1: '#D1110004',\n 2: '#FBBC910C',\n 3: '#FACEB817',\n 4: '#FACDB622',\n 5: '#FFD2C12D',\n 6: '#FFD1C03C',\n 7: '#FDD0C04F',\n 8: '#FFD6C565',\n 9: '#FECCB58C',\n 10: '#FFDDCCA3',\n 11: '#FFD7C6D1',\n 12: '#FFF1E9EC',\n};\nexport var goldDarkA = {\n 1: '#91911102',\n 2: '#F9E29D0B',\n 3: '#F8ECBB15',\n 4: '#FFEEC41E',\n 5: '#FEECC22A',\n 6: '#FEEBCB37',\n 7: '#FFEDCD48',\n 8: '#FDEACA5F',\n 9: '#FFDBA590',\n 10: '#FFECC7A2',\n 11: '#FEE7C6C8',\n 12: '#FEF7EDE7',\n};\nexport var skyDarkA = {\n 1: '#0044FF0F',\n 2: '#1171FB18',\n 3: '#1184FC33',\n 4: '#128FFF49',\n 5: '#1C9DFD5D',\n 6: '#28A5FF72',\n 7: '#2BADFE8B',\n 8: '#1DB2FEA9',\n 9: '#97E9FFDE',\n 10: '#AAEDFFE3',\n 11: '#7CD3FFEF',\n 12: '#C2F3FF',\n};\nexport var mintDarkA = {\n 1: '#00DEDE05',\n 2: '#00F9F90B',\n 3: '#00FFF61D',\n 4: '#00FFF42C',\n 5: '#00FFF23A',\n 6: '#0EFFEB4A',\n 7: '#34FDE55E',\n 8: '#41FFDF76',\n 9: '#91FFE6BE',\n 10: '#A2FEEBC6',\n 11: '#67FFDED2',\n 12: '#CBFEE9F5',\n};\nexport var limeDarkA = {\n 1: '#11BB0003',\n 2: '#78F7000A',\n 3: '#9BFD4C1A',\n 4: '#A7FE5C29',\n 5: '#AFFE6537',\n 6: '#B2FE6D46',\n 7: '#B6FF6F57',\n 8: '#B6FD6D6C',\n 9: '#B6FE4CD5',\n 10: '#C0FE63D9',\n 11: '#D1FE77E4',\n 12: '#E9FEBFF7',\n};\nexport var yellowDarkA = {\n 1: '#D1510004',\n 2: '#F9B4000B',\n 3: '#FFAA001E',\n 4: '#FDB70028',\n 5: '#FEBB0036',\n 6: '#FEC40046',\n 7: '#FDCB225C',\n 8: '#FDCA327B',\n 9: '#FED81BE4',\n 10: '#FFE14DE9',\n 11: '#FEE949F5',\n 12: '#FEF6BAF6',\n};\nexport var amberDarkA = {\n 1: '#E63C0006',\n 2: '#FD9B000D',\n 3: '#FA820022',\n 4: '#FC820032',\n 5: '#FD8B0041',\n 6: '#FD9B0051',\n 7: '#FFAB2567',\n 8: '#FFAE3587',\n 9: '#FEC024E6',\n 10: '#FFCF56EB',\n 11: '#FFCA16',\n 12: '#FFE7B3',\n};\nexport var orangeDarkA = {\n 1: '#EC360007',\n 2: '#FE6D000E',\n 3: '#FB6A0025',\n 4: '#FF590039',\n 5: '#FF61004A',\n 6: '#FD75045C',\n 7: '#FF832C75',\n 8: '#FE84389D',\n 9: '#FF7A45EF',\n 10: '#FE9C75F4',\n 11: '#FFA057',\n 12: '#FFE0C2',\n};\n"],"names":["slateA","redA","crimsonA","plumA","purpleA","indigoA","blueA","cyanA","tealA","grassA","brownA","skyA","limeA","yellowA","amberA","orangeA","slateDarkA"],"mappings":"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"}
|
1
|
+
{"version":3,"file":"alpha.mjs","sources":["../../../../lib/color/alpha.js"],"sourcesContent":["export var slateA = {\n 1: '#00005503',\n 2: '#00005506',\n 3: '#0000330f',\n 4: '#00002d17',\n 5: '#0009321f',\n 6: '#00002f26',\n 7: '#00062e32',\n 8: '#00083046',\n 9: '#00051d74',\n 10: '#00071b7f',\n 11: '#0007149f',\n 12: '#000509e3',\n};\nexport var oliveA = {\n 1: '#00550003',\n 2: '#00490007',\n 3: '#00200010',\n 4: '#00160018',\n 5: '#00180020',\n 6: '#00140028',\n 7: '#000f0033',\n 8: '#040f0047',\n 9: '#050f0078',\n 10: '#040e0082',\n 11: '#020a00a0',\n 12: '#010600e3',\n};\nexport var sandA = {\n 1: '#55550003',\n 2: '#25250007',\n 3: '#20100010',\n 4: '#1f150019',\n 5: '#1f180021',\n 6: '#19130029',\n 7: '#19140035',\n 8: '#1915014a',\n 9: '#0f0f0079',\n 10: '#0c0c0083',\n 11: '#080800a1',\n 12: '#060500e3',\n};\nexport var tomatoA = {\n 1: '#ff000003',\n 2: '#ff200008',\n 3: '#f52b0018',\n 4: '#ff35002c',\n 5: '#ff2e003d',\n 6: '#f92d0050',\n 7: '#e7280067',\n 8: '#db250084',\n 9: '#df2600d1',\n 10: '#d72400da',\n 11: '#cd2200ea',\n 12: '#460900e0',\n};\nexport var redA = {\n 1: '#ff000003',\n 2: '#ff000008',\n 3: '#f3000d14',\n 4: '#ff000824',\n 5: '#ff000632',\n 6: '#f8000442',\n 7: '#df000356',\n 8: '#d2000571',\n 9: '#db0007b7',\n 10: '#d10005c1',\n 11: '#c40006d3',\n 12: '#55000de8',\n};\nexport var rubyA = {\n 1: '#ff005503',\n 2: '#ff002008',\n 3: '#f3002515',\n 4: '#ff002523',\n 5: '#ff002a31',\n 6: '#e4002440',\n 7: '#ce002553',\n 8: '#c300286d',\n 9: '#db002cb9',\n 10: '#d2002cc4',\n 11: '#c10030db',\n 12: '#550016e8',\n};\nexport var crimsonA = {\n 1: '#ff005503',\n 2: '#e0004008',\n 3: '#ff005216',\n 4: '#f8005123',\n 5: '#e5004f31',\n 6: '#d0004b41',\n 7: '#bf004753',\n 8: '#b6004a6c',\n 9: '#e2005bc2',\n 10: '#d70056cb',\n 11: '#c4004fe2',\n 12: '#530026e9',\n};\nexport var pinkA = {\n 1: '#ff00aa03',\n 2: '#e0008008',\n 3: '#f4008c16',\n 4: '#e2008b23',\n 5: '#d1008331',\n 6: '#c0007840',\n 7: '#b6006f53',\n 8: '#af006f6c',\n 9: '#c8007fbf',\n 10: '#c2007ac7',\n 11: '#b60074d6',\n 12: '#59003bed',\n};\nexport var plumA = {\n 1: '#aa00ff03',\n 2: '#c000c008',\n 3: '#cc00cc14',\n 4: '#c200c921',\n 5: '#b700bd2e',\n 6: '#a400b03d',\n 7: '#9900a852',\n 8: '#9000a56e',\n 9: '#89009eb5',\n 10: '#7f0092bb',\n 11: '#730086c1',\n 12: '#40004be6',\n};\nexport var purpleA = {\n 1: '#aa00aa03',\n 2: '#8000e008',\n 3: '#8e00f112',\n 4: '#8d00e51d',\n 5: '#8000db2a',\n 6: '#7a01d03b',\n 7: '#6d00c350',\n 8: '#6600c06c',\n 9: '#5c00adb1',\n 10: '#53009eb8',\n 11: '#52009aba',\n 12: '#250049df',\n};\nexport var violetA = {\n 1: '#5500aa03',\n 2: '#4900ff07',\n 3: '#4400ee0f',\n 4: '#4300ff1b',\n 5: '#3600ff26',\n 6: '#3100fb35',\n 7: '#2d01dd4a',\n 8: '#2b00d066',\n 9: '#2400b7a9',\n 10: '#2300abb2',\n 11: '#1f0099af',\n 12: '#0b0043d9',\n};\nexport var irisA = {\n 1: '#0000ff02',\n 2: '#0000ff07',\n 3: '#0011ee0f',\n 4: '#000bff19',\n 5: '#000eff25',\n 6: '#000aff34',\n 7: '#0008e647',\n 8: '#0008d964',\n 9: '#0000c0a4',\n 10: '#0000b6ae',\n 11: '#0600abac',\n 12: '#000246d8',\n};\nexport var indigoA = {\n 1: '#00008002',\n 2: '#0040ff08',\n 3: '#0047f112',\n 4: '#0044ff1e',\n 5: '#0044ff2d',\n 6: '#003eff3e',\n 7: '#0037ed54',\n 8: '#0034dc72',\n 9: '#0031d2c1',\n 10: '#002ec9cc',\n 11: '#002bb7c5',\n 12: '#001046e0',\n};\nexport var blueA = {\n 1: '#0080ff04',\n 2: '#008cff0b',\n 3: '#008ff519',\n 4: '#009eff2a',\n 5: '#0093ff3d',\n 6: '#0088f653',\n 7: '#0083eb71',\n 8: '#0084e6a1',\n 9: '#0090ff',\n 10: '#0086f0fa',\n 11: '#006dcbf2',\n 12: '#002359ee',\n};\nexport var cyanA = {\n 1: '#0099cc05',\n 2: '#009db10d',\n 3: '#00c2d121',\n 4: '#00bcd435',\n 5: '#01b4cc4a',\n 6: '#00a7c162',\n 7: '#009fbb82',\n 8: '#00a3c0c2',\n 9: '#00a2c7',\n 10: '#0094b7f8',\n 11: '#007491ef',\n 12: '#00323ef2',\n};\nexport var tealA = {\n 1: '#00cc9905',\n 2: '#00aa800c',\n 3: '#00c69d1f',\n 4: '#00c39633',\n 5: '#00b49047',\n 6: '#00a6855e',\n 7: '#0099807c',\n 8: '#009783ac',\n 9: '#009e8ced',\n 10: '#009684f2',\n 11: '#008573',\n 12: '#00332df2',\n};\nexport var jadeA = {\n 1: '#00c08004',\n 2: '#00a3460b',\n 3: '#00ae4819',\n 4: '#00a85129',\n 5: '#00a2553c',\n 6: '#009a5753',\n 7: '#00945f74',\n 8: '#00976ea9',\n 9: '#00916bd6',\n 10: '#008764d9',\n 11: '#007152df',\n 12: '#002217e2',\n};\nexport var greenA = {\n 1: '#00c04004',\n 2: '#00a32f0b',\n 3: '#00a43319',\n 4: '#00a83829',\n 5: '#019c393b',\n 6: '#00963c52',\n 7: '#00914071',\n 8: '#00924ba4',\n 9: '#008f4acf',\n 10: '#008647d4',\n 11: '#00713fde',\n 12: '#002616e6',\n};\nexport var grassA = {\n 1: '#00c00004',\n 2: '#0099000a',\n 3: '#00970016',\n 4: '#009f0725',\n 5: '#00930536',\n 6: '#008f0a4d',\n 7: '#018b0f6b',\n 8: '#008d199a',\n 9: '#008619b9',\n 10: '#007b17c1',\n 11: '#006514d5',\n 12: '#002006df',\n};\nexport var brownA = {\n 1: '#aa550003',\n 2: '#aa550009',\n 3: '#a04b0018',\n 4: '#9b4a0026',\n 5: '#9f4d0035',\n 6: '#a04e0048',\n 7: '#a34e0060',\n 8: '#9f4a0081',\n 9: '#823c00a7',\n 10: '#723300ac',\n 11: '#522100b9',\n 12: '#140600d1',\n};\nexport var bronzeA = {\n 1: '#55000003',\n 2: '#cc33000a',\n 3: '#92250015',\n 4: '#80280020',\n 5: '#7423002c',\n 6: '#7324003a',\n 7: '#6c1f004c',\n 8: '#671c0066',\n 9: '#551a008d',\n 10: '#4c150097',\n 11: '#3d0f00ab',\n 12: '#1d0600d4',\n};\nexport var goldA = {\n 1: '#55550003',\n 2: '#9d8a000d',\n 3: '#75600018',\n 4: '#6b4e0024',\n 5: '#60460030',\n 6: '#64440040',\n 7: '#63420055',\n 8: '#633d0072',\n 9: '#5332009a',\n 10: '#492d00a1',\n 11: '#362100b4',\n 12: '#130c00d4',\n};\nexport var skyA = {\n 1: '#00d5ff06',\n 2: '#00a4db0e',\n 3: '#00b3ee1e',\n 4: '#00ace42e',\n 5: '#00a1d841',\n 6: '#0092ca56',\n 7: '#0089c172',\n 8: '#0085bf9f',\n 9: '#00c7fe83',\n 10: '#00bcf38b',\n 11: '#00749e',\n 12: '#002540e2',\n};\nexport var mintA = {\n 1: '#00d5aa06',\n 2: '#00b18a0d',\n 3: '#00d29e22',\n 4: '#00cc9937',\n 5: '#00c0914c',\n 6: '#00b08663',\n 7: '#00a17d81',\n 8: '#009e7fb3',\n 9: '#00d3a579',\n 10: '#00c39982',\n 11: '#007763fd',\n 12: '#00312ae9',\n};\nexport var limeA = {\n 1: '#66990005',\n 2: '#6b95000c',\n 3: '#96c80029',\n 4: '#8fc60042',\n 5: '#81bb0059',\n 6: '#72aa006e',\n 7: '#61990087',\n 8: '#559200ab',\n 9: '#93e4009c',\n 10: '#8fdc00b3',\n 11: '#375f00d0',\n 12: '#1e2900e3',\n};\nexport var yellowA = {\n 1: '#aaaa0006',\n 2: '#f4dd0016',\n 3: '#ffee0047',\n 4: '#ffe3016b',\n 5: '#ffd5008f',\n 6: '#ebbc0097',\n 7: '#d2a10098',\n 8: '#c99700c6',\n 9: '#ffe100d6',\n 10: '#ffdc00',\n 11: '#9e6c00',\n 12: '#2e2000e0',\n};\nexport var amberA = {\n 1: '#c0800004',\n 2: '#f4d10016',\n 3: '#ffde003d',\n 4: '#ffd40063',\n 5: '#f8cf0088',\n 6: '#eab5008c',\n 7: '#dc9b009d',\n 8: '#da8a00c9',\n 9: '#ffb300c2',\n 10: '#ffb300e7',\n 11: '#ab6400',\n 12: '#341500dd',\n};\nexport var orangeA = {\n 1: '#c0400004',\n 2: '#ff8e0012',\n 3: '#ff9c0029',\n 4: '#ff91014a',\n 5: '#ff8b0065',\n 6: '#ff81007d',\n 7: '#ed6c008c',\n 8: '#e35f00aa',\n 9: '#f65e00ea',\n 10: '#ef5f00',\n 11: '#cc4e00',\n 12: '#431200e2',\n};\nexport var slateDarkA = {\n 1: '#FFFFFF0D',\n 2: '#FFFFFF1A',\n 3: '#FFFFFF26',\n 4: '#FFFFFF33',\n 5: '#FFFFFF4D',\n 6: '#FFFFFF66',\n 7: '#FFFFFF80',\n 8: '#FFFFFF99',\n 9: '#FFFFFFB2',\n 10: '#FFFFFFCC',\n 11: '#FFFFFFE5',\n 12: '#FFFFFFF2',\n};\nexport var oliveDarkA = {\n 1: '#00000000',\n 2: '#F1F2F008',\n 3: '#F4F5F312',\n 4: '#F3FEF21A',\n 5: '#F2FBF122',\n 6: '#F4FAED2C',\n 7: '#F2FCED3B',\n 8: '#EDFDEB57',\n 9: '#EBFDE766',\n 10: '#F0FDEC74',\n 11: '#F6FEF4B0',\n 12: '#FDFFFDED',\n};\nexport var sandDarkA = {\n 1: '#00000000',\n 2: '#F4F4F309',\n 3: '#F6F6F513',\n 4: '#FEFEF31B',\n 5: '#FBFBEB23',\n 6: '#FFFAED2D',\n 7: '#FFFBED3C',\n 8: '#FFF9EB57',\n 9: '#FFFAE965',\n 10: '#FFFDEE73',\n 11: '#FFFCF4B0',\n 12: '#FFFFFDED',\n};\nexport var tomatoDarkA = {\n 1: '#F1121208',\n 2: '#FF55330F',\n 3: '#FF35232B',\n 4: '#FD201142',\n 5: '#FE332153',\n 6: '#FF4F3864',\n 7: '#FD644A7D',\n 8: '#FE6D4EA7',\n 9: '#FF5F3DDA',\n 10: '#FF876EE1',\n 11: '#FF977D',\n 12: '#FFD6CEFB',\n};\nexport var redDarkA = {\n 1: '#F4121209',\n 2: '#F22F3E11',\n 3: '#FF173F2D',\n 4: '#FE0A3B44',\n 5: '#FF204756',\n 6: '#FF3E5668',\n 7: '#FF536184',\n 8: '#FF5D61B0',\n 9: '#FF5C61D2',\n 10: '#FF8789DD',\n 11: '#FF9592',\n 12: '#FFD1D9',\n};\nexport var rubyDarkA = {\n 1: '#F4124A09',\n 2: '#FE5A7F0E',\n 3: '#FF235D2C',\n 4: '#FD195E42',\n 5: '#FE2D6B53',\n 6: '#FF447665',\n 7: '#FF577D80',\n 8: '#FF5C7CAE',\n 9: '#FF5F80CD',\n 10: '#FE88A2D8',\n 11: '#FF949D',\n 12: '#FFD3E2FE',\n};\nexport var crimsonDarkA = {\n 1: '#F4126709',\n 2: '#F22F7A11',\n 3: '#FE2A8B2A',\n 4: '#FD158741',\n 5: '#FD278F51',\n 6: '#FE459763',\n 7: '#FD559B7F',\n 8: '#FE5B9BAB',\n 9: '#FF428DDD',\n 10: '#FE6FA8E5',\n 11: '#FF92AD',\n 12: '#FFD5EAFD',\n};\nexport var pinkDarkA = {\n 1: '#F412BC09',\n 2: '#F420BB12',\n 3: '#FE37CC29',\n 4: '#FC1EC43F',\n 5: '#FD35C24E',\n 6: '#FD51C75F',\n 7: '#FD62C87B',\n 8: '#FF68C8A2',\n 9: '#FE5CC3D9',\n 10: '#FE5CC3D9',\n 11: '#FF8DCC',\n 12: '#FFD3ECFD',\n};\nexport var plumDarkA = {\n 1: '#F112F108',\n 2: '#F22FF211',\n 3: '#FD4CFD27',\n 4: '#F646FF3A',\n 5: '#F455FF48',\n 6: '#F66DFF56',\n 7: '#F07CFD70',\n 8: '#EE84FF95',\n 9: '#EC73FFBB',\n 10: '#EE87FFC3',\n 11: '#F19CFEF3',\n 12: '#FEDDFEF4',\n};\nexport var purpleDarkA = {\n 1: '#B412F90B',\n 2: '#B744F714',\n 3: '#C150FF2D',\n 4: '#BB53FD42',\n 5: '#BE5CFD51',\n 6: '#C16DFD61',\n 7: '#C378FD7A',\n 8: '#C47EFFA4',\n 9: '#C787FFC3',\n 10: '#D8ABFFD2',\n 11: '#D19DFF',\n 12: '#F1DDFFFA',\n};\nexport var violetDarkA = {\n 1: '#4422FF0F',\n 2: '#853FF916',\n 3: '#8354FE36',\n 4: '#7D51FD50',\n 5: '#845FFD5F',\n 6: '#8F6CFD6D',\n 7: '#9879FF83',\n 8: '#977DFEA8',\n 9: '#9C83FED0',\n 10: '#BBAAFEDD',\n 11: '#BAA7FF',\n 12: '#E3DEFFFE',\n};\nexport var irisDarkA = {\n 1: '#3636FE0E',\n 2: '#564BF916',\n 3: '#525BFF3B',\n 4: '#4D58FF5A',\n 5: '#5B62FD6B',\n 6: '#6D6FFD7A',\n 7: '#7777FE8E',\n 8: '#7B7AFEAC',\n 9: '#8F98FEBF',\n 10: '#B2B9FECF',\n 11: '#B1A9FF',\n 12: '#E1E0FFFE',\n};\nexport var indigoDarkA = {\n 1: '#1133FF0F',\n 2: '#3354FA17',\n 3: '#2F62FF3C',\n 4: '#3566FF57',\n 5: '#4171FD6B',\n 6: '#5178FD7C',\n 7: '#5A7FFF90',\n 8: '#5B81FEAC',\n 9: '#5279FEF5',\n 10: '#6889FEF6',\n 11: '#9EB1FF',\n 12: '#D6E1FF',\n};\nexport var blueDarkA = {\n 1: '#004DF211',\n 2: '#1166FB18',\n 3: '#0077FF3A',\n 4: '#0075FF57',\n 5: '#0081FD6B',\n 6: '#0F89FD7F',\n 7: '#2A91FE98',\n 8: '#3094FEB9',\n 9: '#48A1FEDB',\n 10: '#60AEFFDF',\n 11: '#70B8FF',\n 12: '#C2E6FF',\n};\nexport var cyanDarkA = {\n 1: '#0091F70A',\n 2: '#02A7F211',\n 3: '#00BEFD28',\n 4: '#00BAFF3B',\n 5: '#00BEFD4D',\n 6: '#00C7FD5E',\n 7: '#14CDFF75',\n 8: '#11CFFF95',\n 9: '#16D4FFAD',\n 10: '#19D4FECB',\n 11: '#52E1FEE5',\n 12: '#BBF3FEF7',\n};\nexport var tealDarkA = {\n 1: '#00DEAB05',\n 2: '#12FBE60C',\n 3: '#00FFE61E',\n 4: '#00FFE92D',\n 5: '#00FFEA3B',\n 6: '#1CFFE84B',\n 7: '#2EFDE85F',\n 8: '#32FFE775',\n 9: '#57FEFD8D',\n 10: '#5BFEFEAC',\n 11: '#0AFED5D6',\n 12: '#B8FFEBEF',\n};\nexport var jadeDarkA = {\n 1: '#00DE4505',\n 2: '#27FBA60C',\n 3: '#02F99920',\n 4: '#00FFAA2D',\n 5: '#11FFB63B',\n 6: '#34FFC24B',\n 7: '#45FDC75E',\n 8: '#48FFCF75',\n 9: '#42FECB98',\n 10: '#45FECCBA',\n 11: '#21FEC0D6',\n 12: '#B8FFE1EF',\n};\nexport var greenDarkA = {\n 1: '#00DE4505',\n 2: '#29F99D0B',\n 3: '#22FF991E',\n 4: '#11FF992D',\n 5: '#2BFFA23C',\n 6: '#44FFAA4B',\n 7: '#50FDAC5E',\n 8: '#54FFAD73',\n 9: '#4DFFA892',\n 10: '#4EFEA8A7',\n 11: '#46FEA5D4',\n 12: '#BBFFD7F0',\n};\nexport var grassDarkA = {\n 1: '#00DE1205',\n 2: '#5EF7780A',\n 3: '#70FE8C1B',\n 4: '#57FF802C',\n 5: '#68FF8B3B',\n 6: '#71FF8F4B',\n 7: '#77FD925D',\n 8: '#77FD9070',\n 9: '#4DFFA892',\n 10: '#4EFEA8A7',\n 11: '#89FF9FCD',\n 12: '#CEFFCEEF',\n};\nexport var brownDarkA = {\n 1: '#91110002',\n 2: '#FBA67C0C',\n 3: '#FCB58C19',\n 4: '#FBBB8A24',\n 5: '#FCB88931',\n 6: '#FDBA8741',\n 7: '#FFBB8856',\n 8: '#FFBE8773',\n 9: '#FFA34BAE',\n 10: '#FEB168C6',\n 11: '#FED1AAD9',\n 12: '#FEECD4F2',\n};\nexport var bronzeDarkA = {\n 1: '#D1110004',\n 2: '#FBBC910C',\n 3: '#FACEB817',\n 4: '#FACDB622',\n 5: '#FFD2C12D',\n 6: '#FFD1C03C',\n 7: '#FDD0C04F',\n 8: '#FFD6C565',\n 9: '#FECCB58C',\n 10: '#FFDDCCA3',\n 11: '#FFD7C6D1',\n 12: '#FFF1E9EC',\n};\nexport var goldDarkA = {\n 1: '#91911102',\n 2: '#F9E29D0B',\n 3: '#F8ECBB15',\n 4: '#FFEEC41E',\n 5: '#FEECC22A',\n 6: '#FEEBCB37',\n 7: '#FFEDCD48',\n 8: '#FDEACA5F',\n 9: '#FFDBA590',\n 10: '#FFECC7A2',\n 11: '#FEE7C6C8',\n 12: '#FEF7EDE7',\n};\nexport var skyDarkA = {\n 1: '#0044FF0F',\n 2: '#1171FB18',\n 3: '#1184FC33',\n 4: '#128FFF49',\n 5: '#1C9DFD5D',\n 6: '#28A5FF72',\n 7: '#2BADFE8B',\n 8: '#1DB2FEA9',\n 9: '#97E9FFDE',\n 10: '#AAEDFFE3',\n 11: '#7CD3FFEF',\n 12: '#C2F3FF',\n};\nexport var mintDarkA = {\n 1: '#00DEDE05',\n 2: '#00F9F90B',\n 3: '#00FFF61D',\n 4: '#00FFF42C',\n 5: '#00FFF23A',\n 6: '#0EFFEB4A',\n 7: '#34FDE55E',\n 8: '#41FFDF76',\n 9: '#91FFE6BE',\n 10: '#A2FEEBC6',\n 11: '#67FFDED2',\n 12: '#CBFEE9F5',\n};\nexport var limeDarkA = {\n 1: '#11BB0003',\n 2: '#78F7000A',\n 3: '#9BFD4C1A',\n 4: '#A7FE5C29',\n 5: '#AFFE6537',\n 6: '#B2FE6D46',\n 7: '#B6FF6F57',\n 8: '#B6FD6D6C',\n 9: '#B6FE4CD5',\n 10: '#C0FE63D9',\n 11: '#D1FE77E4',\n 12: '#E9FEBFF7',\n};\nexport var yellowDarkA = {\n 1: '#D1510004',\n 2: '#F9B4000B',\n 3: '#FFAA001E',\n 4: '#FDB70028',\n 5: '#FEBB0036',\n 6: '#FEC40046',\n 7: '#FDCB225C',\n 8: '#FDCA327B',\n 9: '#FED81BE4',\n 10: '#FFE14DE9',\n 11: '#FEE949F5',\n 12: '#FEF6BAF6',\n};\nexport var amberDarkA = {\n 1: '#E63C0006',\n 2: '#FD9B000D',\n 3: '#FA820022',\n 4: '#FC820032',\n 5: '#FD8B0041',\n 6: '#FD9B0051',\n 7: '#FFAB2567',\n 8: '#FFAE3587',\n 9: '#FEC024E6',\n 10: '#FFCF56EB',\n 11: '#FFCA16',\n 12: '#FFE7B3',\n};\nexport var orangeDarkA = {\n 1: '#EC360007',\n 2: '#FE6D000E',\n 3: '#FB6A0025',\n 4: '#FF590039',\n 5: '#FF61004A',\n 6: '#FD75045C',\n 7: '#FF832C75',\n 8: '#FE84389D',\n 9: '#FF7A45EF',\n 10: '#FE9C75F4',\n 11: '#FFA057',\n 12: '#FFE0C2',\n};\n"],"names":["slateA","redA","crimsonA","plumA","purpleA","indigoA","blueA","cyanA","tealA","grassA","brownA","skyA","limeA","yellowA","amberA","orangeA","slateDarkA"],"mappings":"AAAU,IAACA,EAAS,CAChB,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,GAAI,YACJ,GAAI,YACJ,GAAI,aA4CGC,EAAO,CACd,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,GAAI,YACJ,GAAI,YACJ,GAAI,aAgBGC,EAAW,CAClB,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,GAAI,YACJ,GAAI,YACJ,GAAI,aAgBGC,EAAQ,CACf,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,GAAI,YACJ,GAAI,YACJ,GAAI,aAEGC,EAAU,CACjB,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,GAAI,YACJ,GAAI,YACJ,GAAI,aA8BGC,EAAU,CACjB,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,GAAI,YACJ,GAAI,YACJ,GAAI,aAEGC,EAAQ,CACf,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,UACH,GAAI,YACJ,GAAI,YACJ,GAAI,aAEGC,EAAQ,CACf,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,UACH,GAAI,YACJ,GAAI,YACJ,GAAI,aAEGC,EAAQ,CACf,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,GAAI,YACJ,GAAI,UACJ,GAAI,aA8BGC,EAAS,CAChB,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,GAAI,YACJ,GAAI,YACJ,GAAI,aAEGC,EAAS,CAChB,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,GAAI,YACJ,GAAI,YACJ,GAAI,aA8BGC,EAAO,CACd,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,GAAI,YACJ,GAAI,UACJ,GAAI,aAgBGC,EAAQ,CACf,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,GAAI,YACJ,GAAI,YACJ,GAAI,aAEGC,EAAU,CACjB,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,GAAI,UACJ,GAAI,UACJ,GAAI,aAEGC,EAAS,CAChB,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,GAAI,YACJ,GAAI,UACJ,GAAI,aAEGC,EAAU,CACjB,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,GAAI,UACJ,GAAI,UACJ,GAAI,aAEGC,EAAa,CACpB,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,GAAI,YACJ,GAAI,YACJ,GAAI"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.mjs","sources":["
|
1
|
+
{"version":3,"file":"constants.mjs","sources":["../../../../lib/color/constants.js"],"sourcesContent":["import { blue, crimson, teal, orange, purple, amber, slate, cyan, red, grass, brown, indigo, plum, yellow, sky, lime, } from './light';\nimport { blueA, crimsonA, tealA, orangeA, purpleA, amberA, slateA, cyanA, redA, grassA, brownA, indigoA, plumA, yellowA, skyA, limeA, } from './alpha';\nexport var MAIN_COLOR = 'red';\nexport var colorOptions = [\n // 'black',\n 'slate',\n 'olive',\n 'sand',\n 'tomato',\n 'red',\n 'ruby',\n 'crimson',\n 'pink',\n 'plum',\n 'purple',\n 'violet',\n 'iris',\n 'indigo',\n 'blue',\n 'cyan',\n 'teal',\n 'jade',\n 'green',\n 'grass',\n 'brown',\n 'bronze',\n 'gold',\n 'sky',\n 'mint',\n 'lime',\n 'yellow',\n 'amber',\n 'orange',\n // 'white',\n];\nexport var alphaColorOptions = [\n 'slateA',\n 'oliveA',\n 'sandA',\n 'tomatoA',\n 'redA',\n 'rubyA',\n 'crimsonA',\n 'pinkA',\n 'plumA',\n 'purpleA',\n 'violetA',\n 'irisA',\n 'indigoA',\n 'blueA',\n 'cyanA',\n 'tealA',\n 'jadeA',\n 'greenA',\n 'grassA',\n 'brownA',\n 'bronzeA',\n 'goldA',\n 'skyA',\n 'mintA',\n 'limeA',\n 'yellowA',\n 'amberA',\n 'orangeA',\n];\nexport var darkColorOptions = [\n 'blackDark',\n 'slateDark',\n 'oliveDark',\n 'sandDark',\n 'tomatoDark',\n 'redDark',\n 'rubyDark',\n 'crimsonDark',\n 'pinkDark',\n 'plumDark',\n 'purpleDark',\n 'violetDark',\n 'irisDark',\n 'indigoDark',\n 'blueDark',\n 'cyanDark',\n 'tealDark',\n 'jadeDark',\n 'greenDark',\n 'grassDark',\n 'brownDark',\n 'bronzeDark',\n 'goldDark',\n 'skyDark',\n 'mintDark',\n 'limeDark',\n 'yellowDark',\n 'amberDark',\n 'orangeDark',\n 'slateDarkA',\n 'oliveDarkA',\n 'sandDarkA',\n 'tomatoDarkA',\n 'redDarkA',\n 'rubyDarkA',\n 'crimsonDarkA',\n 'pinkDarkA',\n 'plumDarkA',\n 'purpleDarkA',\n 'violetDarkA',\n 'irisDarkA',\n 'indigoDarkA',\n 'blueDarkA',\n 'cyanDarkA',\n 'tealDarkA',\n 'jadeDarkA',\n 'greenDarkA',\n 'grassDarkA',\n 'brownDarkA',\n 'bronzeDarkA',\n 'goldDarkA',\n 'skyDarkA',\n 'mintDarkA',\n 'limeDarkA',\n 'yellowDarkA',\n 'amberDarkA',\n 'orangeDarkA',\n 'whiteDark',\n];\nexport var ColorStyle = {\n black: 'slate-12',\n white: '#ffffff',\n slate: 'slate-9',\n olive: 'olive-9',\n sand: 'sand-9',\n tomato: 'tomato-9',\n red: 'red-9',\n ruby: 'ruby-9',\n crimson: 'crimson-9',\n pink: 'pink-9',\n plum: 'plum-9',\n purple: 'purple-9',\n violet: 'violet-9',\n iris: 'iris-9',\n indigo: 'indigo-9',\n blue: 'blue-9',\n cyan: 'cyan-9',\n teal: 'teal-9',\n jade: 'jade-9',\n green: 'green-9',\n grass: 'grass-9',\n brown: 'brown-9',\n bronze: 'bronze-9',\n gold: 'gold-9',\n sky: 'sky-9',\n mint: 'mint-9',\n lime: 'lime-9',\n yellow: 'yellow-9',\n amber: 'amber-9',\n orange: 'orange-9',\n};\nexport var DarkColorStyle = {\n blackDark: 'slateDark-12',\n whiteDark: 'slateDark-1',\n slateDark: 'slateDark-9',\n oliveDark: 'oliveDark-9',\n sandDark: 'sandDark-9',\n tomatoDark: 'tomatoDark-9',\n redDark: 'redDark-9',\n rubyDark: 'rubyDark-9',\n crimsonDark: 'crimsonDark-9',\n pinkDark: 'pinkDark-9',\n plumDark: 'plumDark-9',\n purpleDark: 'purpleDark-9',\n violetDark: 'violetDark-9',\n irisDark: 'irisDark-9',\n indigoDark: 'indigoDark-9',\n blueDark: 'blueDark-9',\n cyanDark: 'cyanDark-9',\n tealDark: 'tealDark-9',\n jadeDark: 'jadeDark-9',\n greenDark: 'greenDark-9',\n grassDark: 'grassDark-9',\n brownDark: 'brownDark-9',\n bronzeDark: 'bronzeDark-9',\n goldDark: 'goldDark-9',\n skyDark: 'skyDark-9',\n mintDark: 'mintDark-9',\n limeDark: 'limeDark-9',\n yellowDark: 'yellowDark-9',\n amberDark: 'amberDark-9',\n orangeDark: 'orangeDark-9',\n};\nexport var chartColorList = {\n sorting: [\n crimson[9],\n orange[9],\n amber[9],\n teal[9],\n blue[9],\n purple[9],\n slate[9],\n red[9],\n brown[9],\n yellow[9],\n lime[9],\n grass[9],\n sky[9],\n cyan[9],\n indigo[9],\n plum[9],\n ],\n mixed: [\n blue[9],\n crimson[9],\n teal[9],\n orange[9],\n purple[9],\n amber[9],\n slate[9],\n cyan[9],\n red[9],\n grass[9],\n brown[9],\n indigo[9],\n plum[9],\n yellow[9],\n sky[9],\n lime[9],\n ],\n};\nexport var chartAlphaColorList = {\n sorting: [\n crimsonA[2],\n orangeA[2],\n amberA[2],\n tealA[2],\n blueA[2],\n purpleA[2],\n slateA[2],\n redA[2],\n brownA[2],\n yellowA[2],\n limeA[2],\n grassA[2],\n skyA[2],\n cyanA[2],\n indigoA[2],\n plumA[2],\n ],\n mixed: [\n blueA[2],\n crimsonA[2],\n tealA[2],\n orangeA[2],\n purpleA[2],\n amberA[2],\n slateA[2],\n cyanA[2],\n redA[2],\n grassA[2],\n brownA[2],\n indigoA[2],\n plumA[2],\n yellowA[2],\n skyA[2],\n limeA[2],\n ],\n};\n"],"names":["MAIN_COLOR","ColorStyle","black","white","slate","olive","sand","tomato","red","ruby","crimson","pink","plum","purple","violet","iris","indigo","blue","cyan","teal","jade","green","grass","brown","bronze","gold","sky","mint","lime","yellow","amber","orange","DarkColorStyle","blackDark","whiteDark","slateDark","oliveDark","sandDark","tomatoDark","redDark","rubyDark","crimsonDark","pinkDark","plumDark","purpleDark","violetDark","irisDark","indigoDark","blueDark","cyanDark","tealDark","jadeDark","greenDark","grassDark","brownDark","bronzeDark","goldDark","skyDark","mintDark","limeDark","yellowDark","amberDark","orangeDark","chartColorList","sorting","mixed","chartAlphaColorList","crimsonA","orangeA","amberA","tealA","blueA","purpleA","slateA","redA","brownA","yellowA","limeA","grassA","skyA","cyanA","indigoA","plumA"],"mappings":"4ZAEU,IAACA,EAAa,MA2HbC,EAAa,CACpBC,MAAO,WACPC,MAAO,UACPC,MAAO,UACPC,MAAO,UACPC,KAAM,SACNC,OAAQ,WACRC,IAAK,QACLC,KAAM,SACNC,QAAS,YACTC,KAAM,SACNC,KAAM,SACNC,OAAQ,WACRC,OAAQ,WACRC,KAAM,SACNC,OAAQ,WACRC,KAAM,SACNC,KAAM,SACNC,KAAM,SACNC,KAAM,SACNC,MAAO,UACPC,MAAO,UACPC,MAAO,UACPC,OAAQ,WACRC,KAAM,SACNC,IAAK,QACLC,KAAM,SACNC,KAAM,SACNC,OAAQ,WACRC,MAAO,UACPC,OAAQ,YAEDC,EAAiB,CACxBC,UAAW,eACXC,UAAW,cACXC,UAAW,cACXC,UAAW,cACXC,SAAU,aACVC,WAAY,eACZC,QAAS,YACTC,SAAU,aACVC,YAAa,gBACbC,SAAU,aACVC,SAAU,aACVC,WAAY,eACZC,WAAY,eACZC,SAAU,aACVC,WAAY,eACZC,SAAU,aACVC,SAAU,aACVC,SAAU,aACVC,SAAU,aACVC,UAAW,cACXC,UAAW,cACXC,UAAW,cACXC,WAAY,eACZC,SAAU,aACVC,QAAS,YACTC,SAAU,aACVC,SAAU,aACVC,WAAY,eACZC,UAAW,cACXC,WAAY,gBAELC,EAAiB,CACxBC,QAAS,CACLtD,EAAQ,GACRqB,EAAO,GACPD,EAAM,GACNX,EAAK,GACLF,EAAK,GACLJ,EAAO,GACPT,EAAM,GACNI,EAAI,GACJe,EAAM,GACNM,EAAO,GACPD,EAAK,GACLN,EAAM,GACNI,EAAI,GACJR,EAAK,GACLF,EAAO,GACPJ,EAAK,IAETqD,MAAO,CACHhD,EAAK,GACLP,EAAQ,GACRS,EAAK,GACLY,EAAO,GACPlB,EAAO,GACPiB,EAAM,GACN1B,EAAM,GACNc,EAAK,GACLV,EAAI,GACJc,EAAM,GACNC,EAAM,GACNP,EAAO,GACPJ,EAAK,GACLiB,EAAO,GACPH,EAAI,GACJE,EAAK,KAGFsC,EAAsB,CAC7BF,QAAS,CACLG,EAAS,GACTC,EAAQ,GACRC,EAAO,GACPC,EAAM,GACNC,EAAM,GACNC,EAAQ,GACRC,EAAO,GACPC,EAAK,GACLC,EAAO,GACPC,EAAQ,GACRC,EAAM,GACNC,EAAO,GACPC,EAAK,GACLC,EAAM,GACNC,EAAQ,GACRC,EAAM,IAEVjB,MAAO,CACHM,EAAM,GACNJ,EAAS,GACTG,EAAM,GACNF,EAAQ,GACRI,EAAQ,GACRH,EAAO,GACPI,EAAO,GACPO,EAAM,GACNN,EAAK,GACLI,EAAO,GACPH,EAAO,GACPM,EAAQ,GACRC,EAAM,GACNN,EAAQ,GACRG,EAAK,GACLF,EAAM"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"light.mjs","sources":["
|
1
|
+
{"version":3,"file":"light.mjs","sources":["../../../../lib/color/light.js"],"sourcesContent":["// 기본 그레이 색상\nexport var slate = {\n 1: '#fcfcfd',\n 2: '#f9f9fb',\n 3: '#f0f0f3',\n 4: '#e8e8ec',\n 5: '#e0e1e6',\n 6: '#d9d9e0',\n 7: '#cdced6',\n 8: '#b9bbc6',\n 9: '#8b8d98',\n 10: '#80838d',\n 11: '#60646c',\n 12: '#1c2024',\n};\nexport var olive = {\n 1: '#fcfdfc',\n 2: '#f8faf8',\n 3: '#eff1ef',\n 4: '#e7e9e7',\n 5: '#dfe2df',\n 6: '#d7dad7',\n 7: '#cccfcc',\n 8: '#b9bcb8',\n 9: '#898e87',\n 10: '#7f847d',\n 11: '#60655f',\n 12: '#1d211c',\n};\nexport var sand = {\n 1: '#fdfdfc',\n 2: '#f9f9f8',\n 3: '#f1f0ef',\n 4: '#e9e8e6',\n 5: '#e2e1de',\n 6: '#dad9d6',\n 7: '#cfceca',\n 8: '#bcbbb5',\n 9: '#8d8d86',\n 10: '#82827c',\n 11: '#63635e',\n 12: '#21201c',\n};\nexport var tomato = {\n 1: '#fffcfc',\n 2: '#fff8f7',\n 3: '#feebe7',\n 4: '#ffdcd3',\n 5: '#ffcdc2',\n 6: '#fdbdaf',\n 7: '#f5a898',\n 8: '#ec8e7b',\n 9: '#e54d2e',\n 10: '#dd4425',\n 11: '#d13415',\n 12: '#5c271f',\n};\nexport var red = {\n 1: '#fffcfc',\n 2: '#fff7f7',\n 3: '#feebec',\n 4: '#ffdbdc',\n 5: '#ffcdce',\n 6: '#fdbdbe',\n 7: '#f4a9aa',\n 8: '#eb8e90',\n 9: '#da291c',\n 10: '#b52217',\n 11: '#881a11',\n 12: '#641723',\n};\nexport var ruby = {\n 1: '#fffcfd',\n 2: '#fff7f8',\n 3: '#feeaed',\n 4: '#ffdce1',\n 5: '#ffced6',\n 6: '#f8bfc8',\n 7: '#efacb8',\n 8: '#e592a3',\n 9: '#e54666',\n 10: '#dc3b5d',\n 11: '#ca244d',\n 12: '#64172b',\n};\nexport var crimson = {\n 1: '#fffcfd',\n 2: '#fef7f9',\n 3: '#ffe9f0',\n 4: '#fedce7',\n 5: '#facedd',\n 6: '#f3bed1',\n 7: '#eaacc3',\n 8: '#e093b2',\n 9: '#e93d82',\n 10: '#df3478',\n 11: '#cb1d63',\n 12: '#621639',\n};\nexport var pink = {\n 1: '#fffcfe',\n 2: '#fef7fb',\n 3: '#fee9f5',\n 4: '#fbdcef',\n 5: '#f6cee7',\n 6: '#efbfdd',\n 7: '#e7acd0',\n 8: '#dd93c2',\n 9: '#d6409f',\n 10: '#cf3897',\n 11: '#c2298a',\n 12: '#651249',\n};\nexport var plum = {\n 1: '#fefcff',\n 2: '#fdf7fd',\n 3: '#fbebfb',\n 4: '#f7def8',\n 5: '#f2d1f3',\n 6: '#e9c2ec',\n 7: '#deade3',\n 8: '#cf91d8',\n 9: '#ab4aba',\n 10: '#a144af',\n 11: '#953ea3',\n 12: '#53195d',\n};\nexport var purple = {\n 1: '#fefcfe',\n 2: '#fbf7fe',\n 3: '#f7edfe',\n 4: '#f2e2fc',\n 5: '#ead5f9',\n 6: '#e0c4f4',\n 7: '#d1afec',\n 8: '#be93e4',\n 9: '#8e4ec6',\n 10: '#8347b9',\n 11: '#8145b5',\n 12: '#402060',\n};\nexport var violet = {\n 1: '#fdfcfe',\n 2: '#faf8ff',\n 3: '#f4f0fe',\n 4: '#ebe4ff',\n 5: '#e1d9ff',\n 6: '#d4cafe',\n 7: '#c2b5f5',\n 8: '#aa99ec',\n 9: '#6e56cf',\n 10: '#654dc4',\n 11: '#6550b9',\n 12: '#2f265f',\n};\nexport var iris = {\n 1: '#fdfdff',\n 2: '#f8f8ff',\n 3: '#f0f1fe',\n 4: '#e6e7ff',\n 5: '#dadcff',\n 6: '#cbcdff',\n 7: '#b8baf8',\n 8: '#9b9ef0',\n 9: '#5b5bd6',\n 10: '#5151cd',\n 11: '#5753c6',\n 12: '#272962',\n};\nexport var indigo = {\n 1: '#fdfdfe',\n 2: '#f7f9ff',\n 3: '#edf2fe',\n 4: '#e1e9ff',\n 5: '#d2deff',\n 6: '#c1d0ff',\n 7: '#abbdf9',\n 8: '#8da4ef',\n 9: '#3e63dd',\n 10: '#3358d4',\n 11: '#3a5bc7',\n 12: '#1f2d5c',\n};\nexport var blue = {\n 1: '#fbfdff',\n 2: '#f4faff',\n 3: '#e6f4fe',\n 4: '#d5efff',\n 5: '#c2e5ff',\n 6: '#acd8fc',\n 7: '#8ec8f6',\n 8: '#5eb1ef',\n 9: '#0090ff',\n 10: '#0588f0',\n 11: '#0d74ce',\n 12: '#113264',\n};\nexport var cyan = {\n 1: '#fafdfe',\n 2: '#f2fafb',\n 3: '#def7f9',\n 4: '#caf1f6',\n 5: '#b5e9f0',\n 6: '#9ddde7',\n 7: '#7dcedc',\n 8: '#3db9cf',\n 9: '#00a2c7',\n 10: '#0797b9',\n 11: '#107d98',\n 12: '#0d3c48',\n};\nexport var teal = {\n 1: '#fafefd',\n 2: '#f3fbf9',\n 3: '#e0f8f3',\n 4: '#ccf3ea',\n 5: '#b8eae0',\n 6: '#a1ded2',\n 7: '#83cdc1',\n 8: '#53b9ab',\n 9: '#12a594',\n 10: '#0d9b8a',\n 11: '#008573',\n 12: '#0d3d38',\n};\nexport var jade = {\n 1: '#fbfefd',\n 2: '#f4fbf7',\n 3: '#e6f7ed',\n 4: '#d6f1e3',\n 5: '#c3e9d7',\n 6: '#acdec8',\n 7: '#8bceb6',\n 8: '#56ba9f',\n 9: '#29a383',\n 10: '#26997b',\n 11: '#208368',\n 12: '#1d3b31',\n};\nexport var green = {\n 1: '#fbfefc',\n 2: '#f4fbf6',\n 3: '#e6f6eb',\n 4: '#d6f1df',\n 5: '#c4e8d1',\n 6: '#adddc0',\n 7: '#8eceaa',\n 8: '#5bb98b',\n 9: '#30a46c',\n 10: '#2b9a66',\n 11: '#218358',\n 12: '#193b2d',\n};\nexport var grass = {\n 1: '#fbfefb',\n 2: '#f5fbf5',\n 3: '#e9f6e9',\n 4: '#daf1db',\n 5: '#c9e8ca',\n 6: '#b2ddb5',\n 7: '#94ce9a',\n 8: '#65ba74',\n 9: '#46a758',\n 10: '#3e9b4f',\n 11: '#2a7e3b',\n 12: '#203c25',\n};\nexport var brown = {\n 1: '#fefdfc',\n 2: '#fcf9f6',\n 3: '#f6eee7',\n 4: '#f0e4d9',\n 5: '#ebdaca',\n 6: '#e4cdb7',\n 7: '#dcbc9f',\n 8: '#cea37e',\n 9: '#ad7f58',\n 10: '#a07553',\n 11: '#815e46',\n 12: '#3e332e',\n};\nexport var bronze = {\n 1: '#fdfcfc',\n 2: '#fdf7f5',\n 3: '#f6edea',\n 4: '#efe4df',\n 5: '#e7d9d3',\n 6: '#dfcdc5',\n 7: '#d3bcb3',\n 8: '#c2a499',\n 9: '#a18072',\n 10: '#957468',\n 11: '#7d5e54',\n 12: '#43302b',\n};\nexport var gold = {\n 1: '#fdfdfc',\n 2: '#faf9f2',\n 3: '#f2f0e7',\n 4: '#eae6db',\n 5: '#e1dccf',\n 6: '#d8d0bf',\n 7: '#cbc0aa',\n 8: '#b9a88d',\n 9: '#978365',\n 10: '#8c7a5e',\n 11: '#71624b',\n 12: '#3b352b',\n};\nexport var sky = {\n 1: '#f9feff',\n 2: '#f1fafd',\n 3: '#e1f6fd',\n 4: '#d1f0fa',\n 5: '#bee7f5',\n 6: '#a9daed',\n 7: '#8dcae3',\n 8: '#60b3d7',\n 9: '#7ce2fe',\n 10: '#74daf8',\n 11: '#00749e',\n 12: '#1d3e56',\n};\nexport var mint = {\n 1: '#f9fefd',\n 2: '#f2fbf9',\n 3: '#ddf9f2',\n 4: '#c8f4e9',\n 5: '#b3ecde',\n 6: '#9ce0d0',\n 7: '#7ecfbd',\n 8: '#4cbba5',\n 9: '#86ead4',\n 10: '#7de0cb',\n 11: '#027864',\n 12: '#16433c',\n};\nexport var lime = {\n 1: '#fcfdfa',\n 2: '#f8faf3',\n 3: '#eef6d6',\n 4: '#e2f0bd',\n 5: '#d3e7a6',\n 6: '#c2da91',\n 7: '#abc978',\n 8: '#8db654',\n 9: '#bdee63',\n 10: '#b0e64c',\n 11: '#5c7c2f',\n 12: '#37401c',\n};\nexport var yellow = {\n 1: '#fdfdf9',\n 2: '#fefce9',\n 3: '#fffab8',\n 4: '#fff394',\n 5: '#ffe770',\n 6: '#f3d768',\n 7: '#e4c767',\n 8: '#d5ae39',\n 9: '#ffe629',\n 10: '#ffdc00',\n 11: '#9e6c00',\n 12: '#473b1f',\n};\nexport var amber = {\n 1: '#fefdfb',\n 2: '#fefbe9',\n 3: '#fff7c2',\n 4: '#ffee9c',\n 5: '#fbe577',\n 6: '#f3d673',\n 7: '#e9c162',\n 8: '#e2a336',\n 9: '#ffc53d',\n 10: '#ffba18',\n 11: '#ab6400',\n 12: '#4f3422',\n};\nexport var orange = {\n 1: '#fefcfb',\n 2: '#fff7ed',\n 3: '#ffefd6',\n 4: '#ffdfb5',\n 5: '#ffd19a',\n 6: '#ffc182',\n 7: '#f5ae73',\n 8: '#ec9455',\n 9: '#f76b15',\n 10: '#ef5f00',\n 11: '#cc4e00',\n 12: '#582d1d',\n};\n"],"names":["slate","red","crimson","plum","purple","indigo","blue","cyan","teal","grass","brown","sky","lime","yellow","amber","orange"],"mappings":"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"}
|
@@ -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 '
|
4
|
+
import { IColor } from '../../../lib/types';
|
5
5
|
export interface AccordionProps extends React.InputHTMLAttributes<HTMLInputElement>, VariantProps<typeof accoridanVariants> {
|
6
6
|
color?: IColor;
|
7
7
|
}
|
@@ -25,11 +25,11 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
25
25
|
import React, { createContext, useContext } from 'react';
|
26
26
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
27
27
|
import { ChevronDownIcon } from '@radix-ui/react-icons';
|
28
|
-
import { cn } from '
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
29
|
import { cva } from 'class-variance-authority';
|
30
|
-
import { scalingVariants } from '
|
31
|
-
import { useTheme } from '
|
32
|
-
import { MAIN_COLOR } from '
|
30
|
+
import { scalingVariants } from '../../../lib/constants';
|
31
|
+
import { useTheme } from '../../../lib/theme';
|
32
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
33
33
|
var accoridanVariants = cva('', {
|
34
34
|
variants: {
|
35
35
|
scaling: __assign({}, scalingVariants),
|
@@ -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 '
|
4
|
+
import { IAppearance } from '../../../lib/types';
|
5
5
|
export interface AlertDialogActionProps extends VariantProps<typeof alertDialogActionVariants> {
|
6
6
|
appearance?: IAppearance;
|
7
7
|
}
|
@@ -25,10 +25,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import { forwardRef } from 'react';
|
26
26
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { cn } from '
|
29
|
-
import { appearanceStyle, primaryColorStyle, weightVariants } from '
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
|
+
import { appearanceStyle, primaryColorStyle, weightVariants } from '../../../lib/constants';
|
30
30
|
import { useAlertDialogContext } from './AlertDialogRoot';
|
31
|
-
import { MAIN_COLOR } from '
|
31
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
32
32
|
export var alertDialogActionVariants = cva("inline-flex items-center justify-center px-[15px] outline-none focus:shadow-[0_0_0_2px] font-normal w-fit", {
|
33
33
|
variants: {
|
34
34
|
radius: {
|
@@ -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 '
|
4
|
+
import { IAppearance } from '../../../lib/types';
|
5
5
|
export interface AlertDialogCancelProps extends VariantProps<typeof alertDialogCancelVariants> {
|
6
6
|
appearance?: IAppearance;
|
7
7
|
}
|
@@ -25,8 +25,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import { forwardRef } from 'react';
|
26
26
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { cn } from '
|
29
|
-
import { appearanceStyle, weightVariants } from '
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
|
+
import { appearanceStyle, weightVariants } from '../../../lib/constants';
|
30
30
|
import { useAlertDialogContext } from './AlertDialogRoot';
|
31
31
|
export var alertDialogCancelVariants = cva("inline-flex justify-center items-center outline-none w-fit", {
|
32
32
|
variants: {
|
@@ -25,8 +25,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
25
25
|
import { forwardRef } from 'react';
|
26
26
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { cn } from '
|
29
|
-
import { radiusVariants, scalingVariants } from '
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
|
+
import { radiusVariants, scalingVariants } from '../../../lib/constants';
|
30
30
|
import { useAlertDialogContext } from './AlertDialogRoot';
|
31
31
|
export var alertDialogContentVariants = cva("fixed max-h-[85vh] top-[50%] left-[50%] focus:outline-none\n translate-x-[-50%] translate-y-[-50%] data-[state=open]:animate-contentShow bg-white dark:bg-slateDark-1 \n shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px]", {
|
32
32
|
variants: {
|
@@ -25,7 +25,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import { forwardRef } from 'react';
|
26
26
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { cn } from '
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
29
|
import { useAlertDialogContext } from './AlertDialogRoot';
|
30
30
|
export var alertDialogDescriptionVariants = cva("text-slate-12 dark:text-slateDark-12 font-normal", {
|
31
31
|
variants: {
|
@@ -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 '
|
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';
|
@@ -24,8 +24,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
24
24
|
import { jsx as _jsx } from "react/jsx-runtime";
|
25
25
|
import { forwardRef, createContext, useContext, } from 'react';
|
26
26
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
27
|
-
import { useTheme } from '
|
28
|
-
import { MAIN_COLOR } from '
|
27
|
+
import { useTheme } from '../../../lib/theme';
|
28
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
29
29
|
var AlertDialogContext = createContext({
|
30
30
|
size: 'medium',
|
31
31
|
scaling: '100%',
|
@@ -25,7 +25,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import { forwardRef } from 'react';
|
26
26
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { cn } from '
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
29
|
import { useAlertDialogContext } from './AlertDialogRoot';
|
30
30
|
export var alertDialogTitleVariants = cva("m-0 text-slate-12 dark:text-slateDark-12 font-bold", {
|
31
31
|
variants: {
|
@@ -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 '
|
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;
|
@@ -25,10 +25,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import { forwardRef } from 'react';
|
26
26
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { cn } from '
|
29
|
-
import { radiusVariants, scalingVariants, weightVariants, primaryColorStyle, appearanceStyle, } from '
|
30
|
-
import { MAIN_COLOR } from '
|
31
|
-
import { useTheme } from '
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
|
+
import { radiusVariants, scalingVariants, weightVariants, primaryColorStyle, appearanceStyle, } from '../../../lib/constants';
|
30
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
31
|
+
import { useTheme } from '../../../lib/theme';
|
32
32
|
var buttonVariants = cva("inline-flex items-center transition-colors focus:outline-none hover:cursor-pointer\n disabled:cursor-not-allowed disabled:bg-slate-3 disabled:text-slate-8", {
|
33
33
|
variants: {
|
34
34
|
radius: __assign({}, radiusVariants['base']),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../lib/components/AlertDialog/index.js"],"sourcesContent":["import { AlertDialogRoot as Root } from './AlertDialogRoot';\nimport { AlertDialogTrigger as Trigger } from './AlertDialogTrigger';\nimport { AlertDialogContent as Content } from './AlertDialogContent';\nimport { AlertDialogTitle as Title } from './AlertDialogTitle';\nimport { AlertDialogDescription as Description } from './AlertDialogDescription';\nimport { AlertDialogCancel as Cancel } from './AlertDialogCancel';\nimport { AlertDialogAction as Action } from './AlertDialogAction';\nvar AlertDialog = {\n Root: Root,\n Trigger: Trigger,\n Content: Content,\n Title: Title,\n Description: Description,\n Cancel: Cancel,\n Action: Action,\n};\nexport default AlertDialog;\n"],"names":["AlertDialog","Root","Trigger","Content","Title","Description","Cancel","Action"],"mappings":"4aAOG,IAACA,EAAc,CACdC,KAAMA,EACNC,QAASA,EACTC,QAASA,EACTC,MAAOA,EACPC,YAAaA,EACbC,OAAQA,EACRC,OAAQA"}
|
@@ -25,9 +25,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import { forwardRef } from 'react';
|
26
26
|
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { cn } from '
|
29
|
-
import { scalingVariants } from '
|
30
|
-
import { useTheme } from '
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
|
+
import { scalingVariants } from '../../../lib/constants';
|
30
|
+
import { useTheme } from '../../../lib/theme';
|
31
31
|
export var aspectRatioVariants = cva('', {
|
32
32
|
variants: {
|
33
33
|
scaling: __assign({}, scalingVariants),
|
@@ -25,10 +25,10 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
25
25
|
import { forwardRef } from 'react';
|
26
26
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { cn } from '
|
29
|
-
import { appearanceStyle, primaryColorStyle, radiusVariants, scalingVariants } from '
|
30
|
-
import { useTheme } from '
|
31
|
-
import { MAIN_COLOR } from '
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
|
+
import { appearanceStyle, primaryColorStyle, radiusVariants, scalingVariants } from '../../../lib/constants';
|
30
|
+
import { useTheme } from '../../../lib/theme/ThemeProvider';
|
31
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
32
32
|
var AvatarVariants = cva('font-medium', {
|
33
33
|
variants: {
|
34
34
|
radius: __assign({}, radiusVariants['base']),
|
@@ -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 '
|
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'>;
|
@@ -24,10 +24,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
24
24
|
import { jsx as _jsx } from "react/jsx-runtime";
|
25
25
|
import { forwardRef } from 'react';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from '
|
28
|
-
import { appearanceStyle, primaryColorStyle, radiusVariants, scalingVariants, weightVariants, } from '
|
29
|
-
import { useTheme } from '
|
30
|
-
import { MAIN_COLOR } from '
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import { appearanceStyle, primaryColorStyle, radiusVariants, scalingVariants, weightVariants, } from '../../../lib/constants';
|
29
|
+
import { useTheme } from '../../../lib/theme';
|
30
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
31
31
|
var BadgeVariants = cva('inline-flex items-center transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 w-fit', {
|
32
32
|
variants: {
|
33
33
|
radius: __assign({}, radiusVariants['base']),
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
2
|
-
import { IChartDatasets, IChartLegend, IChartTitle } from '
|
2
|
+
import { IChartDatasets, IChartLegend, IChartTitle } from '../../../lib/types';
|
3
3
|
export interface BorderRadius {
|
4
4
|
topLeft: number;
|
5
5
|
topRight: number;
|
@@ -23,11 +23,11 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
24
24
|
import { Bar } from 'react-chartjs-2';
|
25
25
|
import { Chart as ChartJS, CategoryScale, LinearScale, BarElement, Tooltip, Legend, } from 'chart.js/auto';
|
26
|
-
import { scalingVariants } from '
|
26
|
+
import { scalingVariants } from '../../../lib/constants';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { cn } from '
|
29
|
-
import { chartAlphaColorList, chartColorList } from '
|
30
|
-
import { useDarkMode } from '
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
|
+
import { chartAlphaColorList, chartColorList } from '../../../lib/color/constants';
|
30
|
+
import { useDarkMode } from '../../../lib/utils/useDarkMode';
|
31
31
|
ChartJS.register(CategoryScale, LinearScale, BarElement, Tooltip, Legend);
|
32
32
|
var barChartVariants = cva('', {
|
33
33
|
variants: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../lib/components/BarChart/index.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { Bar } from 'react-chartjs-2';\nimport { Chart as ChartJS, CategoryScale, LinearScale, BarElement, Tooltip, Legend, } from 'chart.js/auto';\nimport { scalingVariants } from '../../../lib/constants';\nimport { cva } from 'class-variance-authority';\nimport { cn } from '../../../lib/utils/utils';\nimport { chartAlphaColorList, chartColorList } from '../../../lib/color/constants';\nimport { useDarkMode } from '../../../lib/utils/useDarkMode';\nChartJS.register(CategoryScale, LinearScale, BarElement, Tooltip, Legend);\nvar barChartVariants = cva('', {\n variants: {\n scaling: __assign({}, scalingVariants),\n },\n defaultVariants: {\n scaling: '100%',\n },\n});\nvar BarChart = function (_a) {\n var className = _a.className, title = _a.title, datasets = _a.datasets, labels = _a.labels, scaling = _a.scaling, legend = _a.legend, width = _a.width, height = _a.height, indexAxis = _a.indexAxis, _b = _a.appearance, appearance = _b === void 0 ? 'solid' : _b, _c = _a.isColorMixed, isColorMixed = _c === void 0 ? true : _c, props = __rest(_a, [\"className\", \"title\", \"datasets\", \"labels\", \"scaling\", \"legend\", \"width\", \"height\", \"indexAxis\", \"appearance\", \"isColorMixed\"]);\n var _d = useDarkMode(), isDark = _d[0], defaultScales = _d[1];\n datasets.forEach(function (dataset, index) {\n if (!dataset.backgroundColor) {\n if (isColorMixed) {\n datasets[index] = __assign(__assign({}, dataset), { backgroundColor: appearance === 'solid' ? chartColorList.mixed : chartAlphaColorList.mixed, borderColor: chartColorList.mixed });\n }\n else {\n datasets[index] = __assign(__assign({}, dataset), { backgroundColor: appearance === 'solid' ? chartColorList.sorting : chartAlphaColorList.sorting, borderColor: chartColorList.sorting });\n }\n }\n });\n return (_jsx(Bar, __assign({ data: { labels: labels, datasets: datasets }, options: {\n plugins: {\n title: title,\n legend: legend,\n },\n indexAxis: indexAxis,\n scales: __assign({}, defaultScales.linescale),\n }, className: cn(barChartVariants({ scaling: scaling }), className), width: width, height: height }, props)));\n};\nBarChart.displayName = 'BarChart';\nexport default BarChart;\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","ChartJS","register","CategoryScale","LinearScale","BarElement","Tooltip","Legend","barChartVariants","cva","variants","scaling","scalingVariants","defaultVariants","BarChart","_a","className","title","datasets","labels","legend","width","height","indexAxis","_b","appearance","_c","isColorMixed","props","defaultScales","useDarkMode","forEach","dataset","index","backgroundColor","chartColorList","mixed","chartAlphaColorList","borderColor","sorting","_jsx","Bar","data","options","plugins","scales","linescale","cn","displayName"],"mappings":"+dAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EASAiB,EAAQC,SAASC,EAAeC,EAAaC,EAAYC,EAASC,GAClE,IAAIC,EAAmBC,EAAI,GAAI,CAC3BC,SAAU,CACNC,QAAS9B,EAAS,CAAE,EAAE+B,IAE1BC,gBAAiB,CACbF,QAAS,UAGbG,EAAW,SAAUC,GACrB,IAAIC,EAAYD,EAAGC,UAAWC,EAAQF,EAAGE,MAAOC,EAAWH,EAAGG,SAAUC,EAASJ,EAAGI,OAAQR,EAAUI,EAAGJ,QAASS,EAASL,EAAGK,OAAQC,EAAQN,EAAGM,MAAOC,EAASP,EAAGO,OAAQC,EAAYR,EAAGQ,UAAWC,EAAKT,EAAGU,WAAYA,OAAoB,IAAPD,EAAgB,QAAUA,EAAIE,EAAKX,EAAGY,aAAcA,OAAsB,IAAPD,GAAuBA,EAAIE,EAAQhC,EAAOmB,EAAI,CAAC,YAAa,QAAS,WAAY,SAAU,UAAW,SAAU,QAAS,SAAU,YAAa,aAAc,iBAChac,EAA/BC,IAAkD,GAW3D,OAVAZ,EAASa,SAAQ,SAAUC,EAASC,GAC3BD,EAAQE,kBAELhB,EAASe,GAASpD,EAASA,EAAS,CAAA,EAAImD,GADxCL,EACkD,CAAEO,gBAAgC,UAAfT,EAAyBU,EAAeC,MAAQC,EAAoBD,MAAOE,YAAaH,EAAeC,OAG1H,CAAEF,gBAAgC,UAAfT,EAAyBU,EAAeI,QAAUF,EAAoBE,QAASD,YAAaH,EAAeI,UAGhM,IACYC,EAAKC,EAAK5D,EAAS,CAAE6D,KAAM,CAAEvB,OAAQA,EAAQD,SAAUA,GAAYyB,QAAS,CAC5EC,QAAS,CACL3B,MAAOA,EACPG,OAAQA,GAEZG,UAAWA,EACXsB,OAAQhE,EAAS,GAAIgD,EAAciB,YACpC9B,UAAW+B,EAAGvC,EAAiB,CAAEG,QAASA,IAAYK,GAAYK,MAAOA,EAAOC,OAAQA,GAAUM,GAC7G,EACAd,EAASkC,YAAc"}
|
@@ -23,7 +23,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
23
23
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
24
24
|
import { cva } from 'class-variance-authority';
|
25
25
|
import { DotsHorizontalIcon } from '@radix-ui/react-icons';
|
26
|
-
import { cn } from '
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
27
|
export var breadcrumbEllipsisVariants = cva("flex h-9 w-9 items-center justify-center", {
|
28
28
|
variants: {},
|
29
29
|
});
|