@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
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import React from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
26
|
import { Spinner as SpinnerTheme, Theme } from '@radix-ui/themes';
|
27
|
-
import { cn } from '
|
28
|
-
import { scalingVariants } from '
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import { scalingVariants } from '../../../lib/constants';
|
29
29
|
var spinnerVariants = cva('', {
|
30
30
|
variants: {
|
31
31
|
scaling: __assign({}, scalingVariants),
|
@@ -24,7 +24,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import React from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
26
|
import { TabNav as TabNavTheme, Theme } from '@radix-ui/themes';
|
27
|
-
import { cn } from '
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
28
|
var tabNavVariants = cva('', {
|
29
29
|
variants: {},
|
30
30
|
});
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import React from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
26
|
import { Table as TableTheme, Theme } from '@radix-ui/themes';
|
27
|
-
import { cn } from '
|
28
|
-
import { radiusVariants, scalingVariants } from '
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import { radiusVariants, scalingVariants } from '../../../lib/constants';
|
29
29
|
var tableVariants = cva('', {
|
30
30
|
variants: {
|
31
31
|
scaling: __assign({}, scalingVariants),
|
@@ -23,9 +23,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
24
24
|
import { Theme, Tabs as TabsTheme } from '@radix-ui/themes';
|
25
25
|
import React from 'react';
|
26
|
-
import { cn } from '
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { weightVariants } from '
|
28
|
+
import { weightVariants } from '../../../lib/constants';
|
29
29
|
var tabsVariants = cva('', {
|
30
30
|
variants: {
|
31
31
|
weight: __assign({}, weightVariants),
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import React from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
26
|
import { TextArea as TextAreaTheme, Theme } from '@radix-ui/themes';
|
27
|
-
import { cn } from '
|
28
|
-
import { radiusVariants, scalingVariants } from '
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import { radiusVariants, scalingVariants } from '../../../lib/constants';
|
29
29
|
var textAreaNavVariants = cva('w-[250px]', {
|
30
30
|
variants: {
|
31
31
|
size: {
|
@@ -23,8 +23,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
24
24
|
import React from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
|
-
import { cn } from '
|
27
|
-
import { bgColorStyle, radiusVariants } from '
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
|
+
import { bgColorStyle, radiusVariants } from '../../../lib/constants';
|
28
28
|
import { Theme, TextField as TextFieldTheme } from '@radix-ui/themes';
|
29
29
|
var textFieldVariants = cva('', {
|
30
30
|
variants: {
|
@@ -24,9 +24,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as ToastPrimitive from '@radix-ui/react-toast';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from '
|
28
|
-
import Button from '
|
29
|
-
import { appearanceStyle, radiusVariants, scalingVariants } from '
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import Button from '../../../lib/components/Button';
|
29
|
+
import { appearanceStyle, radiusVariants, scalingVariants } from '../../../lib/constants';
|
30
30
|
import { useToastContext } from './ToastRoot';
|
31
31
|
export var toastActionButtonVariants = cva("absolute items-center justify-center", {
|
32
32
|
variants: {
|
@@ -24,7 +24,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as ToastPrimitive from '@radix-ui/react-toast';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from '
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
28
|
import { useToastContext } from './ToastRoot';
|
29
29
|
export var toastDescriptionVariants = cva('flex m-0 text-wrap text-slate-11 dark:text-slateDark-11', {
|
30
30
|
variants: {
|
@@ -23,8 +23,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
23
23
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
24
24
|
import { forwardRef, createContext, useContext, useMemo, } from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
|
-
import { cn } from '
|
27
|
-
import { scalingVariants } from '
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
|
+
import { scalingVariants } from '../../../lib/constants';
|
28
28
|
import * as ToastPrimitive from '@radix-ui/react-toast';
|
29
29
|
export var toastVariants = cva('flex bg-white dark:bg-slateDark-1', {
|
30
30
|
variants: {
|
@@ -24,7 +24,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as ToastPrimitive from '@radix-ui/react-toast';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from '
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
28
|
import { useToastContext } from './ToastRoot';
|
29
29
|
export var toastTitleVariants = cva('flex mb-[5px] text-slate-12 dark:text-slateDark-12 text-wrap break-words font-medium', {
|
30
30
|
variants: {
|
@@ -24,9 +24,9 @@ import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
24
|
import React, { Children, forwardRef } from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
26
|
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
27
|
-
import { radiusVariants, toggleAppearanceStyle } from '
|
28
|
-
import { scalingVariants } from '
|
29
|
-
import { cn } from '
|
27
|
+
import { radiusVariants, toggleAppearanceStyle } from '../../../lib/constants';
|
28
|
+
import { scalingVariants } from '../../../lib/constants';
|
29
|
+
import { cn } from '../../../lib/utils/utils';
|
30
30
|
var toggleWithTextVariants = cva('flex items-center justify-center box-border font-medium', {
|
31
31
|
variants: {
|
32
32
|
radius: __assign({}, radiusVariants['base']),
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import React, { Children, forwardRef } from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
26
|
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
27
|
-
import { radiusVariants, scalingVariants, toggleAppearanceStyle } from '
|
28
|
-
import { cn } from '
|
27
|
+
import { radiusVariants, scalingVariants, toggleAppearanceStyle } from '../../../lib/constants';
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
29
|
export * from './ToggleWithText';
|
30
30
|
var toggleVariants = cva('grid place-content-center items-center justify-center box-border"', {
|
31
31
|
variants: {
|
@@ -24,9 +24,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import React, { Children, forwardRef, useContext, } from 'react';
|
25
25
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { toggleAppearanceStyle } from '
|
27
|
+
import { toggleAppearanceStyle } from '../../../lib/constants';
|
28
28
|
import { ToggleGroupContext } from './ToggleGroupRoot';
|
29
|
-
import { cn } from '
|
29
|
+
import { cn } from '../../../lib/utils/utils';
|
30
30
|
export var toggleGroupItemVariants = cva('grid place-content-center mr-[-1px] first:rounded-l last:rounded-r', {
|
31
31
|
variants: {
|
32
32
|
size: {
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { createContext, forwardRef } from 'react';
|
25
25
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { scalingVariants } from '
|
28
|
-
import { cn } from '
|
27
|
+
import { scalingVariants } from '../../../lib/constants';
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
29
|
var toggleVariants = cva('inline-flex', {
|
30
30
|
variants: {
|
31
31
|
scaling: __assign({}, scalingVariants),
|
@@ -23,10 +23,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
23
23
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
24
24
|
import React from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
|
-
import { cn } from '
|
27
|
-
import { radiusVariants, scalingVariants } from '
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
|
+
import { radiusVariants, scalingVariants } from '../../../lib/constants';
|
28
28
|
import { Switch as SwitchTheme, Theme } from '@radix-ui/themes';
|
29
|
-
import { Text } from '
|
29
|
+
import { Text } from '../../../lib/Typography/Text';
|
30
30
|
var toggleSwitchVariants = cva('', {
|
31
31
|
variants: {
|
32
32
|
scaling: __assign({}, scalingVariants),
|
@@ -25,8 +25,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
25
25
|
import React from 'react';
|
26
26
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { cn } from '
|
29
|
-
import { primaryColorStyle, radiusVariants, weightVariants } from '
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
|
+
import { primaryColorStyle, radiusVariants, weightVariants } from '../../../lib/constants';
|
30
30
|
var tooltipVariants = cva('bg-slate-12 text-slate-1 dark:bg-slateDark-12 dark:text-slateDark-1 data-[state=delayed-open]:data-[side=top]:animate-slideDownAndFade data-[state=delayed-open]:data-[side=right]:animate-slideLeftAndFade data-[state=delayed-open]:data-[side=left]:animate-slideRightAndFade data-[state=delayed-open]:data-[side=bottom]:animate-slideUpAndFade select-none rounded-[4px] px-[9px] py-[6px] text-[12px] leading-none shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px] will-change-[transform,opacity]', {
|
31
31
|
variants: {
|
32
32
|
weight: __assign({}, weightVariants),
|
package/dist/lib/constants.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { ColorStyle, DarkColorStyle, colorOptions, chartColorOptions } from 'lib/color/constants';
|
2
|
-
import * as lightColors from 'lib/color/light';
|
1
|
+
import { ColorStyle, DarkColorStyle, colorOptions, chartColorOptions } from '../lib/color/constants';
|
2
|
+
import * as lightColors from '../lib/color/light';
|
3
3
|
export var radiusOptions = ['none', 'small', 'medium', 'large', 'full'];
|
4
4
|
export var typoSizeOptions = ['1', '2', '3', '4', '5', '6', '7', '8', '9'];
|
5
5
|
export var scalingOptions = ['90%', '95%', '100%', '105%', '110%'];
|