@lotte-innovate/ui-component-test 0.1.105 → 0.1.106
Sign up to get free protection for your applications and to get access to all the features.
- 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/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/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/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/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/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/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/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/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/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/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/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/Editor/index copy.js +1 -1
- package/dist/lib/components/Editor/index.js +3 -3
- 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/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/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/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/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/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/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/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/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/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/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/Select/index.d.ts +1 -1
- package/dist/lib/components/Select/index.js +4 -4
- 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/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/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/tsconfig.tsbuildinfo +1 -1
- package/dist/lib/utils/useDarkMode.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -25,10 +25,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import { Theme, Select as SelectTheme } from '@radix-ui/themes';
|
26
26
|
import React, { createContext, useContext } from 'react';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { cn } from '
|
29
|
-
import { radiusVariants, selectAppearanceStyle } from '
|
30
|
-
import { useTheme } from '
|
31
|
-
import { MAIN_COLOR } from '
|
28
|
+
import { cn } from '../../utils/utils';
|
29
|
+
import { radiusVariants, selectAppearanceStyle } from '../../constants';
|
30
|
+
import { useTheme } from '../../theme';
|
31
|
+
import { MAIN_COLOR } from '../../color/constants';
|
32
32
|
var selectVariants = cva('', {
|
33
33
|
variants: {
|
34
34
|
radius: __assign({}, radiusVariants['base']),
|
@@ -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 React from 'react';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from '
|
28
|
-
import { bgColorStyle, scalingVariants } from '
|
27
|
+
import { cn } from '../../utils/utils';
|
28
|
+
import { bgColorStyle, scalingVariants } from '../../constants';
|
29
29
|
import { Separator as SeparatorTheme, Theme } from '@radix-ui/themes';
|
30
|
-
import { useTheme } from '
|
30
|
+
import { useTheme } from '../../theme';
|
31
31
|
var separatorVariants = cva('', {
|
32
32
|
variants: {
|
33
33
|
scaling: __assign({}, scalingVariants),
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
|
-
import { IColor } from '
|
3
|
+
import { IColor } from '../../types';
|
4
4
|
export interface SkeletonProps extends VariantProps<typeof separatorVariants> {
|
5
5
|
color?: IColor;
|
6
6
|
loading?: boolean;
|
@@ -25,9 +25,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import React from 'react';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
27
|
import { Theme, Skeleton as SkeletonTheme } from '@radix-ui/themes';
|
28
|
-
import { cn } from '
|
29
|
-
import { radiusVariants } from '
|
30
|
-
import { useTheme } from '
|
28
|
+
import { cn } from '../../utils/utils';
|
29
|
+
import { radiusVariants } from '../../constants';
|
30
|
+
import { useTheme } from '../../theme';
|
31
31
|
var separatorVariants = cva('', {
|
32
32
|
variants: {
|
33
33
|
radius: __assign({}, radiusVariants['base']),
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
|
-
import { IColor, IScaling } from '
|
3
|
+
import { IColor, IScaling } from '../../types';
|
4
4
|
export interface SliderProps extends VariantProps<typeof sliderVariants> {
|
5
5
|
appearance?: 'classic' | 'soft' | 'surface';
|
6
6
|
label?: string;
|
@@ -24,11 +24,11 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
24
24
|
import { jsx as _jsx } from "react/jsx-runtime";
|
25
25
|
import React from 'react';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from '
|
28
|
-
import { radiusVariants } from '
|
27
|
+
import { cn } from '../../utils/utils';
|
28
|
+
import { radiusVariants } from '../../constants';
|
29
29
|
import { Theme, Slider as SliderTheme } from '@radix-ui/themes';
|
30
|
-
import { useTheme } from '
|
31
|
-
import { MAIN_COLOR } from '
|
30
|
+
import { useTheme } from '../../theme';
|
31
|
+
import { MAIN_COLOR } from '../../color/constants';
|
32
32
|
var sliderVariants = cva('relative flex items-center select-none touch-none w-[200px] h-5', {
|
33
33
|
variants: {
|
34
34
|
radius: __assign({}, radiusVariants['base']),
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
|
-
import { IColor } from '
|
3
|
+
import { IColor } from '../../types';
|
4
4
|
export interface SpinnerProps extends VariantProps<typeof spinnerVariants> {
|
5
5
|
color?: IColor;
|
6
6
|
loading?: boolean;
|
@@ -25,9 +25,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import React from 'react';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
27
|
import { Spinner as SpinnerTheme, Theme } from '@radix-ui/themes';
|
28
|
-
import { cn } from '
|
29
|
-
import { scalingVariants } from '
|
30
|
-
import { useTheme } from '
|
28
|
+
import { cn } from '../../utils/utils';
|
29
|
+
import { scalingVariants } from '../../constants';
|
30
|
+
import { useTheme } from '../../theme';
|
31
31
|
var spinnerVariants = cva('', {
|
32
32
|
variants: {
|
33
33
|
scaling: __assign({}, scalingVariants),
|
@@ -25,9 +25,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import React from 'react';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
27
|
import { TabNav as TabNavTheme, Theme } from '@radix-ui/themes';
|
28
|
-
import { cn } from '
|
29
|
-
import { useTheme } from '
|
30
|
-
import { MAIN_COLOR } from '
|
28
|
+
import { cn } from '../../utils/utils';
|
29
|
+
import { useTheme } from '../../theme';
|
30
|
+
import { MAIN_COLOR } from '../../color/constants';
|
31
31
|
var tabNavVariants = cva('', {
|
32
32
|
variants: {},
|
33
33
|
});
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
|
-
import { IColor } from '
|
3
|
+
import { IColor } from '../../types';
|
4
4
|
import { Table as TableTheme } from '@radix-ui/themes';
|
5
5
|
export interface TableProps extends VariantProps<typeof tableVariants> {
|
6
6
|
color?: IColor;
|
@@ -25,9 +25,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import React from 'react';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
27
|
import { Table as TableTheme, Theme } from '@radix-ui/themes';
|
28
|
-
import { cn } from '
|
29
|
-
import { radiusVariants, scalingVariants } from '
|
30
|
-
import { useTheme } from '
|
28
|
+
import { cn } from '../../utils/utils';
|
29
|
+
import { radiusVariants, scalingVariants } from '../../constants';
|
30
|
+
import { useTheme } from '../../theme';
|
31
31
|
var tableVariants = cva('', {
|
32
32
|
variants: {
|
33
33
|
scaling: __assign({}, scalingVariants),
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Tabs as TabsTheme } from '@radix-ui/themes';
|
2
2
|
import React from 'react';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IColor } from '
|
4
|
+
import { IColor } from '../../types';
|
5
5
|
export interface TabsProps extends VariantProps<typeof tabsVariants> {
|
6
6
|
defaultValue?: string;
|
7
7
|
size?: 'small' | 'medium';
|
@@ -24,11 +24,11 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
24
24
|
import { jsx as _jsx } from "react/jsx-runtime";
|
25
25
|
import { Theme, Tabs as TabsTheme } from '@radix-ui/themes';
|
26
26
|
import React from 'react';
|
27
|
-
import { cn } from '
|
27
|
+
import { cn } from '../../utils/utils';
|
28
28
|
import { cva } from 'class-variance-authority';
|
29
|
-
import { weightVariants } from '
|
30
|
-
import { useTheme } from '
|
31
|
-
import { MAIN_COLOR } from '
|
29
|
+
import { weightVariants } from '../../constants';
|
30
|
+
import { useTheme } from '../../theme';
|
31
|
+
import { MAIN_COLOR } from '../../color/constants';
|
32
32
|
var tabsVariants = cva('', {
|
33
33
|
variants: {
|
34
34
|
weight: __assign({}, weightVariants),
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
|
-
import { IColor } from '
|
3
|
+
import { IColor } from '../../types';
|
4
4
|
export interface TextAreaProps extends VariantProps<typeof textAreaNavVariants> {
|
5
5
|
color?: IColor;
|
6
6
|
href?: string;
|
@@ -25,10 +25,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import React from 'react';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
27
|
import { TextArea as TextAreaTheme, Theme } from '@radix-ui/themes';
|
28
|
-
import { cn } from '
|
29
|
-
import { radiusVariants, scalingVariants } from '
|
30
|
-
import { useTheme } from '
|
31
|
-
import { MAIN_COLOR } from '
|
28
|
+
import { cn } from '../../utils/utils';
|
29
|
+
import { radiusVariants, scalingVariants } from '../../constants';
|
30
|
+
import { useTheme } from '../../theme';
|
31
|
+
import { MAIN_COLOR } from '../../color/constants';
|
32
32
|
var textAreaNavVariants = cva('w-[250px]', {
|
33
33
|
variants: {
|
34
34
|
size: {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
3
|
import { TextField as TextFieldTheme } from '@radix-ui/themes';
|
4
|
-
import { IScaling } from '
|
4
|
+
import { IScaling } from '../../types';
|
5
5
|
export interface TextFieldProps extends VariantProps<typeof textFieldVariants> {
|
6
6
|
appearance?: 'classic' | 'soft' | 'surface';
|
7
7
|
label?: string;
|
@@ -24,11 +24,11 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
24
24
|
import { jsx as _jsx } from "react/jsx-runtime";
|
25
25
|
import React from 'react';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from '
|
28
|
-
import { bgColorStyle, radiusVariants } from '
|
27
|
+
import { cn } from '../../utils/utils';
|
28
|
+
import { bgColorStyle, radiusVariants } from '../../constants';
|
29
29
|
import { Theme, TextField as TextFieldTheme } from '@radix-ui/themes';
|
30
|
-
import { useTheme } from '
|
31
|
-
import { MAIN_COLOR } from '
|
30
|
+
import { useTheme } from '../../theme';
|
31
|
+
import { MAIN_COLOR } from '../../color/constants';
|
32
32
|
var textFieldVariants = cva('', {
|
33
33
|
variants: {
|
34
34
|
radius: __assign({}, radiusVariants['base']),
|
@@ -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 '../../utils/utils';
|
27
27
|
export var timelineConnectorVariants = cva('absolute top-[5px] left-[30px] -translate-x-1/2 translate-y-2 h-full w-0.5 bg-slateA-6 dark:bg-slateDarkA-6',
|
28
28
|
// `absolute left-[30px] top-[5px] h-full w-px -translate-x-1/2 translate-y-2 bg-slateA-7 dark:bg-slateDarkA-7`,
|
29
29
|
{
|
@@ -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 '../../utils/utils';
|
27
27
|
export var timelineContentVariants = cva("flex flex-col items-start p-6 pt-0", {
|
28
28
|
variants: {},
|
29
29
|
});
|
@@ -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 '../../utils/utils';
|
27
27
|
export var timelineDescriptionVariants = cva("text-muted-foreground max-w-sm text-sm text-slate-12 dark:text-slateDark-12", {
|
28
28
|
variants: {},
|
29
29
|
});
|
@@ -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 '../../utils/utils';
|
27
27
|
export var timelineHeaderVariants = cva("flex items-center gap-4", {
|
28
28
|
variants: {},
|
29
29
|
});
|
@@ -24,8 +24,8 @@ 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 { TimelineContext } from './TimelineRoot';
|
27
|
-
import { borderColorStyle } from '
|
28
|
-
import { cn } from '
|
27
|
+
import { borderColorStyle } from '../../constants';
|
28
|
+
import { cn } from '../../utils/utils';
|
29
29
|
export var timelineIconVariants = cva("flex size-3 flex-col rounded-full border-2 bg-white z-[987654321]", {
|
30
30
|
variants: {
|
31
31
|
color: borderColorStyle(),
|
@@ -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 '../../utils/utils';
|
27
27
|
export var timelineItemVariants = cva('relative flex flex-col p-6 pt-3 [&>*]:mb-3', {
|
28
28
|
variants: {},
|
29
29
|
});
|
@@ -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 } from 'react';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { scalingVariants, textColorStyle } from '
|
28
|
-
import { cn } from '
|
27
|
+
import { scalingVariants, textColorStyle } from '../../constants';
|
28
|
+
import { cn } from '../../utils/utils';
|
29
29
|
export var timelineRootVariants = cva("flex flex-col pl-24", {
|
30
30
|
variants: {
|
31
31
|
scaling: __assign({}, scalingVariants),
|
@@ -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 '../../utils/utils';
|
27
27
|
export var timelineTimeVariants = cva('absolute translate-x-36 -translate-x-[7.5rem] text-xs font-medium leading-none text-slate-11 dark:text-slateDark-11', {
|
28
28
|
variants: {},
|
29
29
|
});
|
@@ -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 '../../utils/utils';
|
27
27
|
export var timelineTitleVariants = cva("font-normal leading-none tracking-tight text-slate-12 dark:text-slateDark-12", {
|
28
28
|
variants: {},
|
29
29
|
});
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as ToastPrimitive from '@radix-ui/react-toast';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IAppearance } from '
|
4
|
+
import { IAppearance } from '../../types';
|
5
5
|
export interface ToastActionButtonProps extends VariantProps<typeof toastActionButtonVariants> {
|
6
6
|
altText?: string;
|
7
7
|
appearance?: IAppearance;
|
@@ -25,12 +25,12 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import { forwardRef } from 'react';
|
26
26
|
import * as ToastPrimitive from '@radix-ui/react-toast';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { cn } from '
|
29
|
-
import Button from '
|
30
|
-
import { appearanceStyle, radiusVariants, scalingVariants } from '
|
28
|
+
import { cn } from '../../utils/utils';
|
29
|
+
import Button from '../../components/Button';
|
30
|
+
import { appearanceStyle, radiusVariants, scalingVariants } from '../../constants';
|
31
31
|
import { useToastContext } from './ToastRoot';
|
32
|
-
import { MAIN_COLOR } from '
|
33
|
-
import { useTheme } from '
|
32
|
+
import { MAIN_COLOR } from '../../color/constants';
|
33
|
+
import { useTheme } from '../../theme';
|
34
34
|
export var toastActionButtonVariants = cva("absolute items-center justify-center", {
|
35
35
|
variants: {
|
36
36
|
radius: __assign({}, radiusVariants['base']),
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as ToastPrimitive from '@radix-ui/react-toast';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IAppearance } from '
|
4
|
+
import { IAppearance } from '../../types';
|
5
5
|
export interface ToastDescriptionProps extends VariantProps<typeof toastDescriptionVariants> {
|
6
6
|
contentText?: string;
|
7
7
|
appearance?: IAppearance;
|
@@ -25,7 +25,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import { forwardRef } from 'react';
|
26
26
|
import * as ToastPrimitive from '@radix-ui/react-toast';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { cn } from '
|
28
|
+
import { cn } from '../../utils/utils';
|
29
29
|
import { useToastContext } from './ToastRoot';
|
30
30
|
export var toastDescriptionVariants = cva('flex m-0 text-wrap text-slate-11 dark:text-slateDark-11', {
|
31
31
|
variants: {
|
@@ -24,10 +24,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
24
24
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
25
25
|
import { forwardRef, createContext, useContext, } from 'react';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from '
|
28
|
-
import { scalingVariants } from '
|
27
|
+
import { cn } from '../../utils/utils';
|
28
|
+
import { scalingVariants } from '../../constants';
|
29
29
|
import * as ToastPrimitive from '@radix-ui/react-toast';
|
30
|
-
import { useTheme } from '
|
30
|
+
import { useTheme } from '../../theme';
|
31
31
|
export var toastVariants = cva('flex bg-white dark:bg-slateDark-1', {
|
32
32
|
variants: {
|
33
33
|
radius: {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as ToastPrimitive from '@radix-ui/react-toast';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IAppearance } from '
|
4
|
+
import { IAppearance } from '../../types';
|
5
5
|
export interface ToastTitleProps extends VariantProps<typeof toastTitleVariants> {
|
6
6
|
titleText?: string;
|
7
7
|
appearance?: IAppearance;
|
@@ -25,7 +25,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import { forwardRef } from 'react';
|
26
26
|
import * as ToastPrimitive from '@radix-ui/react-toast';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { cn } from '
|
28
|
+
import { cn } from '../../utils/utils';
|
29
29
|
import { useToastContext } from './ToastRoot';
|
30
30
|
export var toastTitleVariants = cva('flex mb-[5px] text-slate-12 dark:text-slateDark-12 text-wrap break-words font-medium', {
|
31
31
|
variants: {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
3
|
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
4
|
-
import { IAppearance } from '
|
4
|
+
import { IAppearance } from '../../types';
|
5
5
|
export interface ToggleWithTextProps extends VariantProps<typeof toggleWithTextVariants> {
|
6
6
|
text?: string;
|
7
7
|
appearance?: IAppearance;
|
@@ -25,11 +25,11 @@ import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
25
25
|
import React, { Children, forwardRef } from 'react';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
27
|
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
28
|
-
import { radiusVariants, toggleAppearanceStyle } from '
|
29
|
-
import { scalingVariants } from '
|
30
|
-
import { cn } from '
|
31
|
-
import { useTheme } from '
|
32
|
-
import { MAIN_COLOR } from '
|
28
|
+
import { radiusVariants, toggleAppearanceStyle } from '../../constants';
|
29
|
+
import { scalingVariants } from '../../constants';
|
30
|
+
import { cn } from '../../utils/utils';
|
31
|
+
import { useTheme } from '../../theme';
|
32
|
+
import { MAIN_COLOR } from '../../color/constants';
|
33
33
|
var toggleWithTextVariants = cva('flex items-center justify-center box-border font-medium w-fit', {
|
34
34
|
variants: {
|
35
35
|
radius: __assign({}, radiusVariants['base']),
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
3
|
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
4
|
-
import { IAppearance } from '
|
4
|
+
import { IAppearance } from '../../types';
|
5
5
|
export { ToggleWithText } from './ToggleWithText';
|
6
6
|
export interface ToggleProps extends VariantProps<typeof toggleVariants> {
|
7
7
|
size?: 'small' | 'medium' | 'large';
|
@@ -25,10 +25,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import React, { Children, forwardRef } from 'react';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
27
|
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
28
|
-
import { radiusVariants, scalingVariants, toggleAppearanceStyle } from '
|
29
|
-
import { cn } from '
|
30
|
-
import { useTheme } from '
|
31
|
-
import { MAIN_COLOR } from '
|
28
|
+
import { radiusVariants, scalingVariants, toggleAppearanceStyle } from '../../constants';
|
29
|
+
import { cn } from '../../utils/utils';
|
30
|
+
import { useTheme } from '../../theme';
|
31
|
+
import { MAIN_COLOR } from '../../color/constants';
|
32
32
|
export { ToggleWithText } from './ToggleWithText';
|
33
33
|
var toggleVariants = cva('grid place-content-center items-center justify-center box-border"', {
|
34
34
|
variants: {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IAppearance } from '
|
4
|
+
import { IAppearance } from '../../types';
|
5
5
|
export interface ToggleGroupItemProps extends VariantProps<typeof toggleGroupItemVariants> {
|
6
6
|
appearance?: IAppearance;
|
7
7
|
size?: 'small' | 'medium' | 'large';
|
@@ -25,9 +25,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import React, { Children, forwardRef, useContext, } from 'react';
|
26
26
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { toggleAppearanceStyle } from '
|
28
|
+
import { toggleAppearanceStyle } from '../../constants';
|
29
29
|
import { ToggleGroupContext } from './ToggleGroupRoot';
|
30
|
-
import { cn } from '
|
30
|
+
import { cn } from '../../utils/utils';
|
31
31
|
export var toggleGroupItemVariants = cva('grid place-content-center mr-[-1px] first:rounded-l last:rounded-r', {
|
32
32
|
variants: {
|
33
33
|
size: {
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
2
2
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
4
|
import { toggleGroupItemVariants } from './ToggleGroupItem';
|
5
|
-
import { IAppearance, IColor } from '
|
5
|
+
import { IAppearance, IColor } from '../../types';
|
6
6
|
export interface ToggleGroupProps extends VariantProps<typeof toggleVariants>, VariantProps<typeof toggleGroupItemVariants> {
|
7
7
|
appearance?: IAppearance;
|
8
8
|
color?: IColor;
|
@@ -25,10 +25,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import { createContext, forwardRef } from 'react';
|
26
26
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { scalingVariants } from '
|
29
|
-
import { cn } from '
|
30
|
-
import { useTheme } from '
|
31
|
-
import { MAIN_COLOR } from '
|
28
|
+
import { scalingVariants } from '../../constants';
|
29
|
+
import { cn } from '../../utils/utils';
|
30
|
+
import { useTheme } from '../../theme';
|
31
|
+
import { MAIN_COLOR } from '../../color/constants';
|
32
32
|
var toggleVariants = cva('inline-flex', {
|
33
33
|
variants: {
|
34
34
|
scaling: __assign({}, scalingVariants),
|
@@ -24,12 +24,12 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
24
24
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
25
25
|
import React from 'react';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from '
|
28
|
-
import { radiusVariants, scalingVariants } from '
|
27
|
+
import { cn } from '../../utils/utils';
|
28
|
+
import { radiusVariants, scalingVariants } from '../../constants';
|
29
29
|
import { Switch as SwitchTheme, Theme } from '@radix-ui/themes';
|
30
|
-
import { Text } from '
|
31
|
-
import { useTheme } from '
|
32
|
-
import { MAIN_COLOR } from '
|
30
|
+
import { Text } from '../../Typography/Text';
|
31
|
+
import { useTheme } from '../../theme';
|
32
|
+
import { MAIN_COLOR } from '../../color/constants';
|
33
33
|
var toggleSwitchVariants = cva('', {
|
34
34
|
variants: {
|
35
35
|
scaling: __assign({}, scalingVariants),
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IColor } from '
|
4
|
+
import { IColor } from '../../types';
|
5
5
|
export interface TooltipProps extends React.InputHTMLAttributes<HTMLInputElement>, VariantProps<typeof tooltipVariants> {
|
6
6
|
label?: string;
|
7
7
|
defaultValue?: string;
|
@@ -25,9 +25,9 @@ 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 '
|
30
|
-
import { useTheme } from '
|
28
|
+
import { cn } from '../../utils/utils';
|
29
|
+
import { primaryColorStyle, radiusVariants, weightVariants } from '../../constants';
|
30
|
+
import { useTheme } from '../../theme';
|
31
31
|
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]', {
|
32
32
|
variants: {
|
33
33
|
weight: __assign({}, weightVariants),
|
package/dist/lib/constants.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ColorStyle, DarkColorStyle, MAIN_COLOR, colorOptions } from '
|
1
|
+
import { ColorStyle, DarkColorStyle, MAIN_COLOR, colorOptions } from './color/constants';
|
2
2
|
export var radiusOptions = ['none', 'small', 'medium', 'large', 'full'];
|
3
3
|
export var typoSizeOptions = ['1', '2', '3', '4', '5', '6', '7', '8', '9'];
|
4
4
|
export var scalingOptions = ['90%', '95%', '100%', '105%', '110%'];
|