@lotte-innovate/ui-component-test 0.1.80 → 0.1.81
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/lib/Typography/Header/index.js +2 -2
- package/dist/lib/Typography/Text/index.js +2 -2
- package/dist/lib/components/Accordion/index.js +2 -2
- package/dist/lib/components/AlertDialog/AlertDialogAction.js +2 -2
- 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/AlertDialogTitle.js +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.js +2 -2
- package/dist/lib/components/AspectRatio/index.js +2 -2
- package/dist/lib/components/Avatar/index.js +2 -2
- package/dist/lib/components/Badge/index.js +2 -2
- package/dist/lib/components/BarChart/index.js +4 -4
- package/dist/lib/components/BubbleChart/index.js +4 -4
- package/dist/lib/components/Button/index.js +2 -2
- package/dist/lib/components/Callout/CalloutIcon.js +2 -2
- package/dist/lib/components/Callout/CalloutRoot.js +2 -2
- package/dist/lib/components/Callout/CalloutText.js +1 -1
- package/dist/lib/components/Card/index.js +2 -2
- package/dist/lib/components/Checkbox/index.js +3 -3
- package/dist/lib/components/CheckboxCard/index.js +4 -4
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.js +1 -1
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.js +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.js +2 -2
- package/dist/lib/components/ContextMenu/ContextMenuContent.js +2 -2
- package/dist/lib/components/ContextMenu/ContextMenuItem.js +2 -2
- 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/ContextMenuSeparator.js +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.js +2 -2
- package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.js +2 -2
- package/dist/lib/components/ContextMenu/ContextMenuTrigger.js +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 +1 -1
- package/dist/lib/components/DataList/DataListValue.js +2 -2
- package/dist/lib/components/Dialog/DialogAction.js +2 -2
- 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/DialogSlot.js +1 -1
- package/dist/lib/components/Dialog/DialogTitle.js +1 -1
- package/dist/lib/components/DoughnutChart/index.js +3 -3
- 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.js +2 -2
- 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/DropdownMenuSeparator.js +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +2 -2
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.js +1 -1
- package/dist/lib/components/HoverCard/HoverCardContent.js +2 -2
- package/dist/lib/components/IconButton/index.js +2 -2
- package/dist/lib/components/Inset/index.js +2 -2
- package/dist/lib/components/Label/index.js +2 -2
- package/dist/lib/components/LineChart/index.js +4 -4
- package/dist/lib/components/Menubar/MenubarCheckboxItem.js +2 -2
- package/dist/lib/components/Menubar/MenubarContent.js +2 -2
- package/dist/lib/components/Menubar/MenubarItem.js +2 -2
- package/dist/lib/components/Menubar/MenubarItemIndicator.js +2 -2
- package/dist/lib/components/Menubar/MenubarRadioItem.js +2 -2
- package/dist/lib/components/Menubar/MenubarRoot.js +2 -2
- package/dist/lib/components/Menubar/MenubarSeparator.js +1 -1
- package/dist/lib/components/Menubar/MenubarSubContent.js +2 -2
- package/dist/lib/components/Menubar/MenubarSubTrigger.js +2 -2
- package/dist/lib/components/Menubar/MenubarTrigger.js +2 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.js +2 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.js +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.js +2 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuList.js +2 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.js +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.js +2 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.js +2 -2
- package/dist/lib/components/PieChart/index.js +3 -3
- package/dist/lib/components/Popover/PopoverClose.js +1 -1
- package/dist/lib/components/Popover/PopoverContent.js +2 -2
- package/dist/lib/components/Progress/index.js +2 -2
- package/dist/lib/components/RadarChart/index.js +4 -4
- package/dist/lib/components/Radio/index.js +2 -2
- package/dist/lib/components/RadioCards/RadioCardsItem.js +1 -1
- package/dist/lib/components/RadioCards/RadioCardsRoot.js +2 -2
- package/dist/lib/components/RadioGroup/RadioGroupItem.js +1 -1
- package/dist/lib/components/RadioGroup/RadioGroupRoot.js +1 -1
- package/dist/lib/components/SegmentedControl/SegmentedControlItem.js +1 -1
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.js +2 -2
- package/dist/lib/components/Select/index.js +2 -2
- package/dist/lib/components/Separator/index.js +2 -2
- package/dist/lib/components/Skeleton/index.js +2 -2
- package/dist/lib/components/Slider/index.js +2 -2
- package/dist/lib/components/Spinner/index.js +2 -2
- package/dist/lib/components/TabNav/index.js +1 -1
- package/dist/lib/components/Table/index.js +2 -2
- package/dist/lib/components/Tabs/index.js +2 -2
- package/dist/lib/components/TextArea/index.js +2 -2
- package/dist/lib/components/TextField/index.js +2 -2
- package/dist/lib/components/Toast/ToastActionButton.js +3 -3
- package/dist/lib/components/Toast/ToastDescription.js +1 -1
- package/dist/lib/components/Toast/ToastRoot.js +2 -2
- package/dist/lib/components/Toast/ToastTitle.js +1 -1
- package/dist/lib/components/Toggle/ToggleWithText.js +3 -3
- package/dist/lib/components/Toggle/index.js +2 -2
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.js +2 -2
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.js +2 -2
- package/dist/lib/components/ToggleSwitch/index.js +3 -3
- package/dist/lib/components/Tooltip/index.js +2 -2
- package/dist/lib/constants.js +2 -2
- package/dist/lib/utils/useDarkMode.js +1 -1
- package/package.json +1 -1
@@ -21,9 +21,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
21
21
|
return t;
|
22
22
|
};
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
24
|
-
import { cn } from '
|
24
|
+
import { cn } from '../../../lib/utils/utils';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
|
-
import { textColorStyle, weightVariants } from '
|
26
|
+
import { textColorStyle, weightVariants } from '../../../lib/constants';
|
27
27
|
import { Heading as HeadingTheme, Theme } from '@radix-ui/themes';
|
28
28
|
import React from 'react';
|
29
29
|
var weights = __assign({}, weightVariants);
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
26
|
import { Text as TextTheme, Theme } from '@radix-ui/themes';
|
27
|
-
import { textColorStyle, weightVariants } from '
|
28
|
-
import { cn } from '
|
27
|
+
import { textColorStyle, weightVariants } from '../../../lib/constants';
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
29
|
var textVariants = cva('', {
|
30
30
|
variants: {
|
31
31
|
weight: __assign({ light: 'font-light' }, weightVariants),
|
@@ -24,9 +24,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
24
|
import React from 'react';
|
25
25
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
26
26
|
import { ChevronDownIcon } from '@radix-ui/react-icons';
|
27
|
-
import { cn } from '
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
28
|
import { cva } from 'class-variance-authority';
|
29
|
-
import { scalingVariants } from '
|
29
|
+
import { scalingVariants } from '../../../lib/constants';
|
30
30
|
var accoridanVariants = cva('', {
|
31
31
|
variants: {
|
32
32
|
scaling: __assign({}, scalingVariants),
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from '
|
28
|
-
import { appearanceStyle, primaryColorStyle, weightVariants } from '
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import { appearanceStyle, primaryColorStyle, weightVariants } from '../../../lib/constants';
|
29
29
|
import { useAlertDialogContext } from './AlertDialogRoot';
|
30
30
|
export var alertDialogActionVariants = cva("inline-flex items-center justify-center px-[15px] outline-none focus:shadow-[0_0_0_2px] font-normal w-fit", {
|
31
31
|
variants: {
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from '
|
28
|
-
import { appearanceStyle, weightVariants } from '
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import { appearanceStyle, weightVariants } from '../../../lib/constants';
|
29
29
|
import { useAlertDialogContext } from './AlertDialogRoot';
|
30
30
|
export var alertDialogCancelVariants = cva("inline-flex justify-center items-center outline-none w-fit", {
|
31
31
|
variants: {
|
@@ -24,8 +24,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from '
|
28
|
-
import { radiusVariants, scalingVariants } from '
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import { radiusVariants, scalingVariants } from '../../../lib/constants';
|
29
29
|
import { useAlertDialogContext } from './AlertDialogRoot';
|
30
30
|
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]", {
|
31
31
|
variants: {
|
@@ -24,7 +24,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from '
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
28
|
import { useAlertDialogContext } from './AlertDialogRoot';
|
29
29
|
export var alertDialogDescriptionVariants = cva("text-slate-12 dark:text-slateDark-12 font-normal", {
|
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 AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from '
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
28
|
import { useAlertDialogContext } from './AlertDialogRoot';
|
29
29
|
export var alertDialogTitleVariants = cva("m-0 text-slate-12 dark:text-slateDark-12 font-bold", {
|
30
30
|
variants: {
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from '
|
28
|
-
import { radiusVariants, scalingVariants, weightVariants, primaryColorStyle, appearanceStyle, } from '
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import { radiusVariants, scalingVariants, weightVariants, primaryColorStyle, appearanceStyle, } from '../../../lib/constants';
|
29
29
|
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", {
|
30
30
|
variants: {
|
31
31
|
radius: __assign({}, radiusVariants['base']),
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from '
|
28
|
-
import { scalingVariants } from '
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import { scalingVariants } from '../../../lib/constants';
|
29
29
|
export var aspectRatioVariants = cva('', {
|
30
30
|
variants: {
|
31
31
|
scaling: __assign({}, scalingVariants),
|
@@ -24,8 +24,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from '
|
28
|
-
import { appearanceStyle, primaryColorStyle, radiusVariants, scalingVariants } from '
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import { appearanceStyle, primaryColorStyle, radiusVariants, scalingVariants } from '../../../lib/constants';
|
29
29
|
var AvatarVariants = cva('font-medium', {
|
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 { forwardRef } from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
|
-
import { cn } from '
|
27
|
-
import { appearanceStyle, primaryColorStyle, radiusVariants, scalingVariants, weightVariants, } from '
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
|
+
import { appearanceStyle, primaryColorStyle, radiusVariants, scalingVariants, weightVariants, } from '../../../lib/constants';
|
28
28
|
var BadgeVariants = cva('inline-flex items-center transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 w-fit', {
|
29
29
|
variants: {
|
30
30
|
radius: __assign({}, radiusVariants['base']),
|
@@ -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: {
|
@@ -23,12 +23,12 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
24
24
|
import { Bubble } from 'react-chartjs-2';
|
25
25
|
import { Chart as ChartJS, LinearScale, PointElement, Tooltip, Legend, plugins, } from 'chart.js/auto';
|
26
|
-
import { scalingVariants } from '
|
26
|
+
import { scalingVariants } from '../../../lib/constants';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { chartColorList, chartAlphaColorList } from '
|
28
|
+
import { chartColorList, chartAlphaColorList } from '../../../lib/color/constants';
|
29
29
|
import ChartDataLabels from 'chartjs-plugin-datalabels';
|
30
|
-
import { useDarkMode } from '
|
31
|
-
import { cn } from '
|
30
|
+
import { useDarkMode } from '../../../lib/utils/useDarkMode';
|
31
|
+
import { cn } from '../../../lib/utils/utils';
|
32
32
|
ChartJS.register(LinearScale, PointElement, Tooltip, Legend, plugins, ChartDataLabels);
|
33
33
|
ChartJS.defaults.set('plugins.datalabels', {
|
34
34
|
display: false,
|
@@ -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 { forwardRef } from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
|
-
import { cn } from '
|
27
|
-
import { radiusVariants, weightVariants, primaryColorStyle, appearanceStyle, scalingVariants, } from '
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
|
+
import { radiusVariants, weightVariants, primaryColorStyle, appearanceStyle, scalingVariants, } from '../../../lib/constants';
|
28
28
|
var buttonVariants = cva("inline-flex items-center w-fit transition-colors focus:outline-none hover:cursor-pointer\n disabled:cursor-not-allowed disabled:bg-slate-3 disabled:text-slate-8 justify-center", {
|
29
29
|
variants: {
|
30
30
|
radius: __assign({}, radiusVariants['base']),
|
@@ -25,8 +25,8 @@ import { forwardRef } from 'react';
|
|
25
25
|
import { Callout as CalloutTheme } from '@radix-ui/themes';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
27
|
import { ExclamationTriangleIcon, InfoCircledIcon, LockClosedIcon, CheckCircledIcon, } from '@radix-ui/react-icons';
|
28
|
-
import { scalingVariants } from '
|
29
|
-
import { cn } from '
|
28
|
+
import { scalingVariants } from '../../../lib/constants';
|
29
|
+
import { cn } from '../../../lib/utils/utils';
|
30
30
|
import { useCalloutContext } from './CalloutRoot';
|
31
31
|
var calloutIconVariants = cva('flex items-center text-slate-12 dark:text-slateDark-12', {
|
32
32
|
variants: {
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef, createContext, useContext, useMemo, } from 'react';
|
25
25
|
import { Callout as CalloutTheme } from '@radix-ui/themes';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from '
|
28
|
-
import { appearanceStyle, radiusVariants, scalingVariants } from '
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import { appearanceStyle, radiusVariants, scalingVariants } from '../../../lib/constants';
|
29
29
|
var calloutVariants = cva('flex w-fit max-w-[600px]', {
|
30
30
|
variants: {
|
31
31
|
radius: __assign({}, radiusVariants['large']),
|
@@ -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 { cva } from 'class-variance-authority';
|
26
|
-
import { cn } from '
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
27
|
import { useCalloutContext } from './CalloutRoot';
|
28
28
|
export var calloutTextVariants = cva('break-words font-normal text-slate-12 dark:text-slateDark-12', {
|
29
29
|
variants: {
|
@@ -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 { forwardRef } from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
|
-
import { scalingVariants, weightVariants } from '
|
27
|
-
import { cn } from '
|
26
|
+
import { scalingVariants, weightVariants } from '../../../lib/constants';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
28
|
var cardVariants = cva("border border-slate-6 flex items-center text-slate-12\n dark:border-slateDarkA-6 dark:text-slateDarkA-12\n ", {
|
29
29
|
variants: {
|
30
30
|
radius: {
|
@@ -25,9 +25,9 @@ import { forwardRef } from 'react';
|
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
26
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
27
27
|
import { CheckIcon, MinusIcon } from '@radix-ui/react-icons';
|
28
|
-
import { Label } from '
|
29
|
-
import { cn } from '
|
30
|
-
import { checkboxAppearanceStyle, radiusVariants, scalingVariants, textColorStyle, } from '
|
28
|
+
import { Label } from '../../../lib/components/Label';
|
29
|
+
import { cn } from '../../../lib/utils/utils';
|
30
|
+
import { checkboxAppearanceStyle, radiusVariants, scalingVariants, textColorStyle, } from '../../../lib/constants';
|
31
31
|
export var CheckboxVariants = cva("peer ring-offset-background", {
|
32
32
|
variants: {
|
33
33
|
size: {
|
@@ -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 { forwardRef } from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
|
-
import Checkbox from '
|
27
|
-
import { Label } from '
|
28
|
-
import { cn } from '
|
29
|
-
import { scalingVariants } from '
|
26
|
+
import Checkbox from '../../../lib/components/Checkbox';
|
27
|
+
import { Label } from '../../../lib/components/Label';
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
|
+
import { scalingVariants } from '../../../lib/constants';
|
30
30
|
export var CheckboxCardVariants = cva("flex justify-between space-x-2 w-fit min-w-[200px] border border-slate-7 text-slate-12\n hover:border-slate-8 hover:cursor-pointer aria-disabled:bg-slate-3 aria-disabled:cursor-not-allowed aria-disabled:text-slateA-9\n dark:border-slateDark-6 dark:text-slateDark-12 dark:hover:border-slateDark-7\n dark:aria-disabled:bg-slateDark-3 dark:aria-disabled:text-slateDarkA-8", {
|
31
31
|
variants: {
|
32
32
|
radius: {
|
@@ -22,7 +22,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
22
22
|
};
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
24
24
|
import { forwardRef } from 'react';
|
25
|
-
import Checkbox from '
|
25
|
+
import Checkbox from '../../../lib/components/Checkbox';
|
26
26
|
import { useCheckboxGroupContext } from './CheckboxGroupRoot';
|
27
27
|
export var CheckboxGroupItem = forwardRef(function (_a, ref) {
|
28
28
|
var className = _a.className, children = _a.children, value = _a.value, id = _a.id, defaultValue = _a.defaultValue, props = __rest(_a, ["className", "children", "value", "id", "defaultValue"]);
|
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import React, { Children, createContext, forwardRef, useContext, useMemo, } from 'react';
|
3
3
|
import { CheckboxGroup as CheckboxGroupTheme } from '@radix-ui/themes';
|
4
4
|
import { cva } from 'class-variance-authority';
|
5
|
-
import { cn } from '
|
5
|
+
import { cn } from '../../../lib/utils/utils';
|
6
6
|
export var CheckboxGroupVariants = cva("", {
|
7
7
|
variants: {
|
8
8
|
size: {
|
@@ -24,9 +24,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
26
26
|
import { CheckIcon } from '@radix-ui/react-icons';
|
27
|
-
import { cn } from '
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
28
|
import { useContextMenuContext } from './ContextMenuRoot';
|
29
|
-
import { menuItemAppearanceStyle } from '
|
29
|
+
import { menuItemAppearanceStyle } from '../../../lib/constants';
|
30
30
|
import { contextMenuItemVariants } from './ContextMenuItem';
|
31
31
|
import { ContextMenuItemIndicator } from './ContextMenuItemIndicator';
|
32
32
|
export var ContextMenuCheckboxItem = forwardRef(function (_a, ref) {
|
@@ -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 * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
26
|
-
import { cn } from '
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { scalingVariants } from '
|
28
|
+
import { scalingVariants } from '../../../lib/constants';
|
29
29
|
import { useContextMenuContext } from './ContextMenuRoot';
|
30
30
|
export var contextMenuContentVariants = cva("p-[5px] bg-white dark:bg-slateDark-1 will-change-[transform,opacity]\n shadow-[0px_10px_38px_-10px_rgba(22,_23,_24,_0.35),_0px_10px_20px_-15px_rgba(22,_23,_24,_0.2)] \n [animation-duration:_400ms] [animation-timing-function:_cubic-bezier(0.16,_1,_0.3,_1)]", {
|
31
31
|
variants: {
|
@@ -23,9 +23,9 @@ 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 } from 'react';
|
25
25
|
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
26
|
-
import { cn } from '
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { blackText, menuItemAppearanceStyle, scalingVariants, radiusVariants } from '
|
28
|
+
import { blackText, menuItemAppearanceStyle, scalingVariants, radiusVariants } from '../../../lib/constants';
|
29
29
|
import { useContextMenuContext } from './ContextMenuRoot';
|
30
30
|
export var contextMenuItemVariants = cva("flex group relative leading-none select-none outline-none items-center justify-between font-normal\n data-[disabled]:text-slate-8 data-[disabled]:cursor-not-allowed text-slate-12 dark:text-slateDark-12\n data-[disabled]:hover:bg-transparent dark:data-[disabled]:text-slateDark-8 data-[disabled]:dark:hover:bg-transparent", {
|
31
31
|
variants: {
|
@@ -23,10 +23,10 @@ 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 * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
26
|
-
import { cn } from '
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
27
|
import { CheckIcon } from '@radix-ui/react-icons';
|
28
28
|
import { cva } from 'class-variance-authority';
|
29
|
-
import { radiusVariants } from '
|
29
|
+
import { radiusVariants } from '../../../lib/constants';
|
30
30
|
import { useContextMenuContext } from './ContextMenuRoot';
|
31
31
|
export var contextMenuItemIndicatorVariants = cva("absolute left-0 inline-flex items-center justify-center ml-1 border", {
|
32
32
|
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 { forwardRef } from 'react';
|
25
25
|
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
26
|
-
import { cn } from '
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { scalingVariants } from '
|
28
|
+
import { scalingVariants } from '../../../lib/constants';
|
29
29
|
import { useContextMenuContext } from './ContextMenuRoot';
|
30
30
|
export var contextMenuLabelVariants = cva("flex relative leading-none select-none outline-none items-center \n text-slate-11 dark:text-slateDarkA-11 font-normal", {
|
31
31
|
variants: {
|
@@ -23,9 +23,9 @@ 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, useContext } from 'react';
|
25
25
|
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
26
|
-
import { cn } from '
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
27
|
import { DotFilledIcon } from '@radix-ui/react-icons';
|
28
|
-
import { menuItemAppearanceStyle } from '
|
28
|
+
import { menuItemAppearanceStyle } from '../../../lib/constants';
|
29
29
|
import { useContextMenuContext } from './ContextMenuRoot';
|
30
30
|
import { contextMenuItemVariants } from './ContextMenuItem';
|
31
31
|
import { RadioContext } from './ContextMenuRadioGroup';
|
@@ -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 * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
26
|
-
import { cn } from '
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
27
|
export var ContextMenuSeparator = forwardRef(function (_a, ref) {
|
28
28
|
var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
|
29
29
|
return (_jsx(ContextMenuPrimitive.Separator, __assign({ ref: ref, className: cn('h-[1px] m-[5px] bg-slate-6 dark:bg-slateDark-6', className) }, props, { children: children })));
|
@@ -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 * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
26
|
-
import { cn } from '
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { radiusVariants, scalingVariants } from '
|
28
|
+
import { radiusVariants, scalingVariants } from '../../../lib/constants';
|
29
29
|
import { useContextMenuContext } from './ContextMenuRoot';
|
30
30
|
export var contextMenuSubContentVariants = cva("p-[5px] bg-white dark:bg-slateDark-1 will-change-[transform,opacity]\n shadow-[0px_10px_38px_-10px_rgba(22,_23,_24,_0.35),_0px_10px_20px_-15px_rgba(22,_23,_24,_0.2)] \n [animation-duration:_400ms] [animation-timing-function:_cubic-bezier(0.16,_1,_0.3,_1)]", {
|
31
31
|
variants: {
|
@@ -24,9 +24,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
26
26
|
import { ChevronRightIcon } from '@radix-ui/react-icons';
|
27
|
-
import { cn } from '
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
28
|
import { contextMenuItemVariants } from './ContextMenuItem';
|
29
|
-
import { blackText, menuItemAppearanceStyle } from '
|
29
|
+
import { blackText, menuItemAppearanceStyle } from '../../../lib/constants';
|
30
30
|
import { useContextMenuContext } from './ContextMenuRoot';
|
31
31
|
export var ContextMenuSubTrigger = forwardRef(function (_a, ref) {
|
32
32
|
var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
|
@@ -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 * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
26
|
-
import { cn } from '
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
27
|
export var ContextMenuTrigger = forwardRef(function (_a, ref) {
|
28
28
|
var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
|
29
29
|
return (_jsx(ContextMenuPrimitive.Trigger, __assign({ ref: ref, className: cn("flex text-slate-12 dark:text-slateDark-12 text-base text-center justify-center", className) }, props, { children: children })));
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import { DataList as DataListTheme } from '@radix-ui/themes';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from '
|
28
|
-
import { scalingVariants } from '
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import { scalingVariants } from '../../../lib/constants';
|
29
29
|
import { useDataListContext } from './DataListRoot';
|
30
30
|
export var dataListItemVariants = cva('flex', {
|
31
31
|
variants: {
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import { DataList as DataListTheme } from '@radix-ui/themes';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from '
|
28
|
-
import { weightVariants } from '
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import { weightVariants } from '../../../lib/constants';
|
29
29
|
import { useDataListContext } from './DataListRoot';
|
30
30
|
export var dataListLabelVariants = cva('text-slateA-11 dark:text-slateDarkA-11 w-[120px] mb-1', {
|
31
31
|
variants: {
|
@@ -24,7 +24,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { createContext, forwardRef, useContext, useMemo, } from 'react';
|
25
25
|
import { DataList as DataListTheme } from '@radix-ui/themes';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from '
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
28
|
export var dataListVariants = cva('flex flex-col', {
|
29
29
|
variants: {
|
30
30
|
size: {
|
@@ -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 { DataList as DataListTheme } from '@radix-ui/themes';
|
26
|
-
import { textColorStyle, weightVariants } from '
|
26
|
+
import { textColorStyle, weightVariants } from '../../../lib/constants';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { cn } from '
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
29
|
import { useDataListContext } from './DataListRoot';
|
30
30
|
export var dataListValueVariants = cva('text-slate-12 dark:text-slateDark-12 w-[200px]', {
|
31
31
|
variants: {
|
@@ -24,9 +24,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef, useContext } from 'react';
|
25
25
|
import { Dialog as DialogTheme } from '@radix-ui/themes';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { primaryColorStyle } from '
|
27
|
+
import { primaryColorStyle } from '../../../lib/constants';
|
28
28
|
import { DialogContext } from './DialogRoot';
|
29
|
-
import { cn } from '
|
29
|
+
import { cn } from '../../../lib/utils/utils';
|
30
30
|
export var dialogActionVariants = cva('rounded-md inline-flex font-medium items-center justify-center px-[15px] hover:cursor-pointer', {
|
31
31
|
variants: {
|
32
32
|
radius: {
|
@@ -25,7 +25,7 @@ import { forwardRef, useContext } from 'react';
|
|
25
25
|
import { Dialog as DialogTheme } from '@radix-ui/themes';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
27
|
import { DialogContext } from './DialogRoot';
|
28
|
-
import { cn } from '
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
29
|
export var dialogCancelVariants = cva("rounded-md font-medium inline-flex justify-center items-center text-slate-11 bg-slate-3 outline-none border-none\n dark:text-slateDark-11 dark:bg-slateDark-3 dark:hover:bg-slateDarkA-4\n active:border-none hover:cursor-pointer hover:bg-slateA-4", {
|
30
30
|
variants: {
|
31
31
|
radius: {
|
@@ -24,9 +24,9 @@ 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 { Dialog as DialogTheme } from '@radix-ui/themes';
|
27
|
-
import { scalingVariants } from '
|
27
|
+
import { scalingVariants } from '../../../lib/constants';
|
28
28
|
import { DialogContext } from './DialogRoot';
|
29
|
-
import { cn } from '
|
29
|
+
import { cn } from '../../../lib/utils/utils';
|
30
30
|
export var dialogContentVariants = cva("rounded-md focus:outline-none 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]", {
|
31
31
|
variants: {
|
32
32
|
radius: {
|
@@ -25,7 +25,7 @@ import { forwardRef, useContext } from 'react';
|
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
26
|
import { Dialog as DialogTheme } from '@radix-ui/themes';
|
27
27
|
import { DialogContext } from './DialogRoot';
|
28
|
-
import { cn } from '
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
29
|
export var dialogDescriptionVariants = 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 { forwardRef, useContext } from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
26
|
import { DialogContext } from './DialogRoot';
|
27
|
-
import { cn } from '
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
28
|
export var dialogSlotVariants = cva('flex flex-col gap-2 font-normal text-slate-12 dark:text-slateDark-12', {
|
29
29
|
variants: {
|
30
30
|
size: {
|
@@ -25,7 +25,7 @@ import { forwardRef, useContext } from 'react';
|
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
26
|
import { Dialog as DialogTheme } from '@radix-ui/themes';
|
27
27
|
import { DialogContext } from './DialogRoot';
|
28
|
-
import { cn } from '
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
29
|
export var dialogTitleVariants = cva('font-bold text-slate-12 dark:text-slateDark-12', {
|
30
30
|
variants: {
|
31
31
|
size: {
|
@@ -24,10 +24,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { Doughnut } from 'react-chartjs-2';
|
25
25
|
import { Chart as ChartJS, ArcElement, Tooltip, Legend, plugins } from 'chart.js/auto';
|
26
26
|
import ChartDataLabels from 'chartjs-plugin-datalabels';
|
27
|
-
import { cn } from '
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
28
|
import { cva } from 'class-variance-authority';
|
29
|
-
import { scalingVariants } from '
|
30
|
-
import { chartColorList, chartAlphaColorList } from '
|
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,
|
@@ -24,9 +24,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef, useContext } from 'react';
|
25
25
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { scalingVariants } from '
|
27
|
+
import { scalingVariants } from '../../../lib/constants';
|
28
28
|
import { DropdownMenuContext } from './DropdownMenuRoot';
|
29
|
-
import { cn } from '
|
29
|
+
import { cn } from '../../../lib/utils/utils';
|
30
30
|
export var dropdownMenuSubContentVariants = cva("p-[5px] bg-white dark:bg-slateDark-1 will-change-[transform,opacity]\n shadow-[0px_10px_38px_-10px_rgba(22,_23,_24,_0.35),_0px_10px_20px_-15px_rgba(22,_23,_24,_0.2)] \n [animation-duration:_400ms] [animation-timing-function:_cubic-bezier(0.16,_1,_0.3,_1)]", {
|
31
31
|
variants: {
|
32
32
|
radius: {
|
@@ -23,12 +23,12 @@ 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, useContext } from 'react';
|
25
25
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
26
|
-
import { menuItemAppearanceStyle } from '
|
26
|
+
import { menuItemAppearanceStyle } from '../../../lib/constants';
|
27
27
|
import { dropdownMenuItemVariants } from './DropdownMenuItem';
|
28
28
|
import { DropdownMenuItemIndicator } from './DropdownMenuItemIndicator';
|
29
29
|
import { CheckIcon } from '@radix-ui/react-icons';
|
30
30
|
import { DropdownMenuContext } from './DropdownMenuRoot';
|
31
|
-
import { cn } from '
|
31
|
+
import { cn } from '../../../lib/utils/utils';
|
32
32
|
export var DropdownMenuCheckboxItem = forwardRef(function (_a, ref) {
|
33
33
|
var className = _a.className, children = _a.children, shortcut = _a.shortcut, checked = _a.checked, props = __rest(_a, ["className", "children", "shortcut", "checked"]);
|
34
34
|
var _b = useContext(DropdownMenuContext), radius = _b.radius, size = _b.size, _c = _b.color, color = _c === void 0 ? 'red' : _c, _d = _b.appearance, appearance = _d === void 0 ? 'solid' : _d;
|