@lotte-innovate/ui-component-test 0.0.21 → 0.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/Typography/Header/index.d.ts +2 -2
- package/dist/lib/Typography/Header/index.js +2 -2
- package/dist/lib/Typography/Text/index.d.ts +2 -2
- 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 +2 -2
- package/dist/lib/components/AlertDialog/AlertDialogAction.d.ts +3 -3
- package/dist/lib/components/AlertDialog/AlertDialogAction.js +2 -2
- package/dist/lib/components/AlertDialog/AlertDialogCancel.d.ts +3 -3
- package/dist/lib/components/AlertDialog/AlertDialogCancel.js +2 -2
- package/dist/lib/components/AlertDialog/AlertDialogContent.d.ts +1 -1
- 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.d.ts +3 -3
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.js +2 -2
- package/dist/lib/components/AlertDialog/index.d.ts +1 -1
- package/dist/lib/components/AspectRatio/index.js +2 -2
- package/dist/lib/components/Avatar/index.d.ts +1 -1
- package/dist/lib/components/Avatar/index.js +2 -2
- package/dist/lib/components/Badge/index.d.ts +3 -3
- package/dist/lib/components/Badge/index.js +2 -2
- package/dist/lib/components/BubbleChart/index.d.ts +1 -1
- package/dist/lib/components/BubbleChart/index.js +2 -2
- package/dist/lib/components/Button/index.d.ts +3 -3
- package/dist/lib/components/Button/index.js +2 -2
- package/dist/lib/components/Callout/CalloutIcon.js +2 -2
- package/dist/lib/components/Callout/CalloutText.js +1 -1
- package/dist/lib/components/Callout/index.d.ts +2 -2
- package/dist/lib/components/Callout/index.js +2 -2
- package/dist/lib/components/Card/index.d.ts +3 -3
- package/dist/lib/components/Card/index.js +2 -2
- package/dist/lib/components/Checkbox/index.d.ts +2 -2
- package/dist/lib/components/Checkbox/index.js +3 -3
- package/dist/lib/components/CheckboxCard/index.d.ts +3 -3
- package/dist/lib/components/CheckboxCard/index.js +4 -4
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.d.ts +1 -1
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.js +1 -1
- package/dist/lib/components/CheckboxGroup/index.d.ts +2 -2
- package/dist/lib/components/CheckboxGroup/index.js +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.js +2 -2
- package/dist/lib/components/ContextMenu/ContextMenuContent.d.ts +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuContent.js +2 -2
- package/dist/lib/components/ContextMenu/ContextMenuItem.d.ts +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuItem.js +2 -2
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.d.ts +1 -1
- 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.d.ts +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/ContextMenu/index.d.ts +1 -1
- package/dist/lib/components/DataList/DataListItem.js +2 -2
- package/dist/lib/components/DataList/DataListLabel.d.ts +1 -1
- package/dist/lib/components/DataList/DataListLabel.js +2 -2
- package/dist/lib/components/DataList/DataListValue.d.ts +1 -1
- package/dist/lib/components/DataList/DataListValue.js +2 -2
- package/dist/lib/components/DataList/index.js +1 -1
- package/dist/lib/components/Dialog/DialogAction.d.ts +2 -2
- package/dist/lib/components/Dialog/DialogAction.js +2 -2
- package/dist/lib/components/Dialog/DialogCancel.d.ts +1 -1
- package/dist/lib/components/Dialog/DialogCancel.js +1 -1
- package/dist/lib/components/Dialog/DialogContent.d.ts +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 +2 -2
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.d.ts +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.d.ts +1 -1
- 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 +2 -2
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +2 -2
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.js +2 -2
- 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.d.ts +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.js +1 -1
- package/dist/lib/components/HoverCard/HoverCardContent.d.ts +2 -2
- package/dist/lib/components/HoverCard/HoverCardContent.js +2 -2
- package/dist/lib/components/IconButton/index.d.ts +2 -2
- package/dist/lib/components/IconButton/index.js +2 -2
- package/dist/lib/components/Inset/index.d.ts +1 -1
- package/dist/lib/components/Inset/index.js +2 -2
- package/dist/lib/components/Label/index.d.ts +2 -2
- package/dist/lib/components/Label/index.js +2 -2
- package/dist/lib/components/Menubar/MenubarCheckboxItem.js +2 -2
- package/dist/lib/components/Menubar/MenubarContent.d.ts +1 -1
- package/dist/lib/components/Menubar/MenubarContent.js +2 -2
- package/dist/lib/components/Menubar/MenubarItem.d.ts +1 -1
- package/dist/lib/components/Menubar/MenubarItem.js +2 -2
- package/dist/lib/components/Menubar/MenubarItemIndicator.d.ts +1 -1
- package/dist/lib/components/Menubar/MenubarItemIndicator.js +2 -2
- package/dist/lib/components/Menubar/MenubarRadioItem.js +2 -2
- package/dist/lib/components/Menubar/MenubarSeparator.js +1 -1
- package/dist/lib/components/Menubar/MenubarSubContent.d.ts +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.d.ts +1 -1
- package/dist/lib/components/Menubar/MenubarTrigger.js +2 -2
- package/dist/lib/components/Menubar/index.d.ts +2 -2
- package/dist/lib/components/Menubar/index.js +2 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.d.ts +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.js +2 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.js +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.d.ts +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.js +2 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuList.d.ts +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuList.js +2 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.d.ts +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.js +2 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.d.ts +2 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.js +2 -2
- package/dist/lib/components/NavigationMenu/index.d.ts +1 -1
- package/dist/lib/components/NavigationMenu/index.js +1 -1
- package/dist/lib/components/PieChart/index.js +2 -2
- package/dist/lib/components/Popover/PopoverClose.d.ts +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/Progress/index.d.ts +1 -1
- package/dist/lib/components/Progress/index.js +2 -2
- package/dist/lib/components/RadarChart/index.d.ts +1 -1
- package/dist/lib/components/RadarChart/index.js +2 -2
- package/dist/lib/components/Radio/index.d.ts +1 -1
- package/dist/lib/components/Radio/index.js +2 -2
- package/dist/lib/components/RadioCards/RadioCardsItem.d.ts +1 -1
- package/dist/lib/components/RadioCards/RadioCardsItem.js +1 -1
- package/dist/lib/components/RadioCards/index.js +2 -2
- package/dist/lib/components/RadioGroup/RadioGroupItem.js +1 -1
- package/dist/lib/components/RadioGroup/index.d.ts +1 -1
- package/dist/lib/components/RadioGroup/index.js +1 -1
- package/dist/lib/components/SegmentedControl/SegmentedControlItem.js +1 -1
- package/dist/lib/components/SegmentedControl/index.d.ts +1 -1
- package/dist/lib/components/SegmentedControl/index.js +2 -2
- package/dist/lib/components/Select/index.d.ts +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.d.ts +2 -2
- package/dist/lib/components/Skeleton/index.js +2 -2
- package/dist/lib/components/Slider/index.d.ts +2 -2
- package/dist/lib/components/Slider/index.js +2 -2
- package/dist/lib/components/Spinner/index.d.ts +1 -1
- package/dist/lib/components/Spinner/index.js +2 -2
- package/dist/lib/components/TabNav/index.js +1 -1
- package/dist/lib/components/Table/index.d.ts +2 -2
- package/dist/lib/components/Table/index.js +2 -2
- package/dist/lib/components/Tabs/index.d.ts +1 -1
- package/dist/lib/components/Tabs/index.js +2 -2
- package/dist/lib/components/TextArea/index.d.ts +2 -2
- package/dist/lib/components/TextArea/index.js +2 -2
- package/dist/lib/components/TextField/index.d.ts +2 -2
- package/dist/lib/components/TextField/index.js +2 -2
- package/dist/lib/components/Toast/ToastActionButton.d.ts +2 -2
- package/dist/lib/components/Toast/ToastActionButton.js +3 -3
- package/dist/lib/components/Toast/ToastDescription.d.ts +1 -1
- package/dist/lib/components/Toast/ToastDescription.js +1 -1
- package/dist/lib/components/Toast/ToastTitle.d.ts +1 -1
- package/dist/lib/components/Toast/ToastTitle.js +1 -1
- package/dist/lib/components/Toast/index.d.ts +1 -1
- package/dist/lib/components/Toast/index.js +2 -2
- package/dist/lib/components/Toggle/ToggleWithText.d.ts +2 -2
- package/dist/lib/components/Toggle/ToggleWithText.js +3 -3
- package/dist/lib/components/Toggle/index.d.ts +2 -2
- package/dist/lib/components/Toggle/index.js +2 -2
- package/dist/lib/components/ToggleGroup/index.d.ts +1 -1
- package/dist/lib/components/ToggleGroup/index.js +2 -2
- package/dist/lib/components/ToggleGroup/toggleGroupItem.d.ts +1 -1
- package/dist/lib/components/ToggleGroup/toggleGroupItem.js +2 -2
- package/dist/lib/components/ToggleSwitch/index.d.ts +1 -1
- package/dist/lib/components/ToggleSwitch/index.js +3 -3
- package/dist/lib/components/Tooltip/index.d.ts +4 -4
- package/dist/lib/components/Tooltip/index.js +2 -2
- package/dist/lib/constants.js +1 -1
- package/dist/lib/index.d.ts +2 -0
- package/dist/lib/index.js +2 -0
- package/package.json +7 -8
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
import { IColor } from 'lib/types';
|
|
4
|
+
import { IColor } from '../../../lib/types';
|
|
5
5
|
export interface LabelProps extends VariantProps<typeof labeVariants> {
|
|
6
6
|
defaultValue?: string;
|
|
7
7
|
color?: IColor;
|
|
@@ -9,7 +9,7 @@ export interface LabelProps extends VariantProps<typeof labeVariants> {
|
|
|
9
9
|
}
|
|
10
10
|
declare const labeVariants: (props?: ({
|
|
11
11
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
|
12
|
-
weight?: "
|
|
12
|
+
weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
|
|
13
13
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
14
14
|
color?: string | null | undefined;
|
|
15
15
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
@@ -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 * as LabelPrimitive from '@radix-ui/react-label';
|
|
25
25
|
import React from 'react';
|
|
26
|
-
import { cn } from 'lib/utils/utils';
|
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
|
27
27
|
import { cva } from 'class-variance-authority';
|
|
28
|
-
import { scalingVariants, textColorStyle, weightVariants } from 'lib/constants';
|
|
28
|
+
import { scalingVariants, textColorStyle, weightVariants } from '../../../lib/constants';
|
|
29
29
|
var labeVariants = cva('text-slate-12', {
|
|
30
30
|
variants: {
|
|
31
31
|
scaling: __assign({}, scalingVariants),
|
|
@@ -24,10 +24,10 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
24
24
|
import { forwardRef } from 'react';
|
|
25
25
|
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
|
26
26
|
import { CheckIcon } from '@radix-ui/react-icons';
|
|
27
|
-
import { cn } from 'lib/utils/utils';
|
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
|
28
28
|
import { menubarItemVariants } from './MenubarItem';
|
|
29
29
|
import { MenubarItemIndicator } from './MenubarItemIndicator';
|
|
30
|
-
import { menuItemAppearanceStyle } from 'lib/constants';
|
|
30
|
+
import { menuItemAppearanceStyle } from '../../../lib/constants';
|
|
31
31
|
import { useMenubarContext } from '.';
|
|
32
32
|
export var MenubarCheckboxItem = forwardRef(function (_a, ref) {
|
|
33
33
|
var children = _a.children, className = _a.className, checked = _a.checked, props = __rest(_a, ["children", "className", "checked"]);
|
|
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
4
4
|
export interface MenubarContentProps extends VariantProps<typeof menubarContentVariants> {
|
|
5
5
|
}
|
|
6
6
|
export declare const menubarContentVariants: (props?: ({
|
|
7
|
-
radius?: "
|
|
7
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
|
8
8
|
size?: "small" | "medium" | null | undefined;
|
|
9
9
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
|
10
10
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
24
24
|
import { forwardRef } from 'react';
|
|
25
25
|
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
|
26
26
|
import { cva } from 'class-variance-authority';
|
|
27
|
-
import { cn } from 'lib/utils/utils';
|
|
28
|
-
import { scalingVariants } from 'lib/constants';
|
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
|
28
|
+
import { scalingVariants } from '../../../lib/constants';
|
|
29
29
|
import { useMenubarContext } from '.';
|
|
30
30
|
export var menubarContentVariants = 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: {
|
|
@@ -6,7 +6,7 @@ export interface MenubarItemProps extends VariantProps<typeof menubarItemVariant
|
|
|
6
6
|
shortcut?: string;
|
|
7
7
|
}
|
|
8
8
|
export declare const menubarItemVariants: (props?: ({
|
|
9
|
-
radius?: "
|
|
9
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
|
10
10
|
size?: "small" | "medium" | null | undefined;
|
|
11
11
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
|
12
12
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
@@ -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 MenubarPrimitive from '@radix-ui/react-menubar';
|
|
26
26
|
import { cva } from 'class-variance-authority';
|
|
27
|
-
import { cn } from 'lib/utils/utils';
|
|
28
|
-
import { blackText, menuItemAppearanceStyle, radiusVariants, scalingVariants } from 'lib/constants';
|
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
|
28
|
+
import { blackText, menuItemAppearanceStyle, radiusVariants, scalingVariants } from '../../../lib/constants';
|
|
29
29
|
import { useMenubarContext } from '.';
|
|
30
30
|
export var menubarItemVariants = 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: {
|
|
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
4
4
|
export interface MenubarItemIndicatorProps extends VariantProps<typeof menubarItemIndicatorVariants> {
|
|
5
5
|
}
|
|
6
6
|
export declare const menubarItemIndicatorVariants: (props?: ({
|
|
7
|
-
radius?: "
|
|
7
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
|
8
8
|
size?: "small" | "medium" | null | undefined;
|
|
9
9
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
10
10
|
export declare const MenubarItemIndicator: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarItemIndicatorProps & React.RefAttributes<HTMLSpanElement>, "ref"> & MenubarItemIndicatorProps & React.RefAttributes<HTMLSpanElement>>;
|
|
@@ -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 MenubarPrimitive from '@radix-ui/react-menubar';
|
|
26
|
-
import { cn } from 'lib/utils/utils';
|
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
|
27
27
|
import { cva } from 'class-variance-authority';
|
|
28
|
-
import { radiusVariants } from 'lib/constants';
|
|
28
|
+
import { radiusVariants } from '../../../lib/constants';
|
|
29
29
|
import { useMenubarContext } from '.';
|
|
30
30
|
export var menubarItemIndicatorVariants = cva("absolute left-0 inline-flex items-center justify-center ml-1 border", {
|
|
31
31
|
variants: {
|
|
@@ -24,8 +24,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
24
24
|
import { forwardRef, useContext } from 'react';
|
|
25
25
|
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
|
26
26
|
import { DotFilledIcon } from '@radix-ui/react-icons';
|
|
27
|
-
import { cn } from 'lib/utils/utils';
|
|
28
|
-
import { menuItemAppearanceStyle } from 'lib/constants';
|
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
|
28
|
+
import { menuItemAppearanceStyle } from '../../../lib/constants';
|
|
29
29
|
import { menubarItemVariants } from './MenubarItem';
|
|
30
30
|
import { MenubarItemIndicator } from './MenubarItemIndicator';
|
|
31
31
|
import { RadioContext } from './MenubarRadioGroup';
|
|
@@ -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 MenubarPrimitive from '@radix-ui/react-menubar';
|
|
26
|
-
import { cn } from 'lib/utils/utils';
|
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
|
27
27
|
export var MenubarSeparator = forwardRef(function (_a, ref) {
|
|
28
28
|
var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
|
|
29
29
|
return (_jsx(MenubarPrimitive.Separator, __assign({ ref: ref, className: cn('h-[1px] m-[5px] bg-slate-6 dark:bg-slateDark-6', className) }, props, { children: children })));
|
|
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
4
4
|
export interface MenubarSubContentProps extends VariantProps<typeof menubarSubContentVariants> {
|
|
5
5
|
}
|
|
6
6
|
export declare const menubarSubContentVariants: (props?: ({
|
|
7
|
-
radius?: "
|
|
7
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
|
8
8
|
size?: "small" | "medium" | null | undefined;
|
|
9
9
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
10
10
|
export declare const MenubarSubContent: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & MenubarSubContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
24
24
|
import { forwardRef } from 'react';
|
|
25
25
|
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
|
26
26
|
import { cva } from 'class-variance-authority';
|
|
27
|
-
import { cn } from 'lib/utils/utils';
|
|
28
|
-
import { radiusVariants } from 'lib/constants';
|
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
|
28
|
+
import { radiusVariants } from '../../../lib/constants';
|
|
29
29
|
import { useMenubarContext } from '.';
|
|
30
30
|
export var menubarSubContentVariants = 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,8 +24,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
24
24
|
import { forwardRef } from 'react';
|
|
25
25
|
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
|
26
26
|
import { ChevronRightIcon } from '@radix-ui/react-icons';
|
|
27
|
-
import { cn } from 'lib/utils/utils';
|
|
28
|
-
import { blackText, menuItemAppearanceStyle } from 'lib/constants';
|
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
|
28
|
+
import { blackText, menuItemAppearanceStyle } from '../../../lib/constants';
|
|
29
29
|
import { menubarItemVariants } from './MenubarItem';
|
|
30
30
|
import { useMenubarContext } from '.';
|
|
31
31
|
export var MenubarSubTrigger = forwardRef(function (_a, ref) {
|
|
@@ -6,7 +6,7 @@ export interface MenubarTriggerProps extends VariantProps<typeof menubarTriggerV
|
|
|
6
6
|
}
|
|
7
7
|
export declare const menubarTriggerVariants: (props?: ({
|
|
8
8
|
size?: "small" | "medium" | null | undefined;
|
|
9
|
-
radius?: "
|
|
9
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
|
10
10
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
|
11
11
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
12
12
|
export declare const MenubarTrigger: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & MenubarTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
24
24
|
import { forwardRef } from 'react';
|
|
25
25
|
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
|
26
26
|
import { cva } from 'class-variance-authority';
|
|
27
|
-
import { cn } from 'lib/utils/utils';
|
|
28
|
-
import { appearanceStyle, scalingVariants } from 'lib/constants';
|
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
|
28
|
+
import { appearanceStyle, scalingVariants } from '../../../lib/constants';
|
|
29
29
|
import { useMenubarContext } from '.';
|
|
30
30
|
export var menubarTriggerVariants = cva("flex items-center justify-between gap-[2px] outline-none select-none leading-none py-1 px-3 font-medium", {
|
|
31
31
|
variants: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
import { IColor } from 'lib/types';
|
|
4
|
+
import { IColor } from '../../../lib/types';
|
|
5
5
|
import { menubarTriggerVariants } from './MenubarTrigger';
|
|
6
6
|
import { menubarItemVariants } from './MenubarItem';
|
|
7
7
|
export * from './MenubarMenu';
|
|
@@ -22,7 +22,7 @@ export interface MenubarProps extends VariantProps<typeof menubarVariants>, Vari
|
|
|
22
22
|
color?: IColor;
|
|
23
23
|
}
|
|
24
24
|
export declare const menubarVariants: (props?: ({
|
|
25
|
-
radius?: "
|
|
25
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
|
26
26
|
size?: "small" | "medium" | null | undefined;
|
|
27
27
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
|
28
28
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
24
24
|
import { createContext, forwardRef, useContext, } from 'react';
|
|
25
25
|
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
|
26
26
|
import { cva } from 'class-variance-authority';
|
|
27
|
-
import { cn } from 'lib/utils/utils';
|
|
28
|
-
import { radiusVariants, scalingVariants } from 'lib/constants';
|
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
|
28
|
+
import { radiusVariants, scalingVariants } from '../../../lib/constants';
|
|
29
29
|
export * from './MenubarMenu';
|
|
30
30
|
export * from './MenubarTrigger';
|
|
31
31
|
export * from './MenubarContent';
|
|
@@ -5,7 +5,7 @@ export interface NavigationMenuContentProps extends VariantProps<typeof navigati
|
|
|
5
5
|
isShowIcon?: boolean;
|
|
6
6
|
}
|
|
7
7
|
export declare const navigationMenuContentVariants: (props?: ({
|
|
8
|
-
radius?: "
|
|
8
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
|
9
9
|
size?: "small" | "medium" | null | undefined;
|
|
10
10
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
11
11
|
export declare const NavigationMenuContent: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & NavigationMenuContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -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 NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
26
|
-
import { cn } from 'lib/utils/utils';
|
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
|
27
27
|
import { cva } from 'class-variance-authority';
|
|
28
|
-
import { radiusVariants } from 'lib/constants';
|
|
28
|
+
import { radiusVariants } from '../../../lib/constants';
|
|
29
29
|
import { useNavigationMenuContext } from '.';
|
|
30
30
|
export var navigationMenuContentVariants = cva("text-slate-12 dark:text-slateDark-12 bg-white dark:bg-slateDark-1 p-2", {
|
|
31
31
|
variants: {
|
|
@@ -23,7 +23,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
23
23
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
|
25
25
|
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
26
|
-
import { cn } from 'lib/utils/utils';
|
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
|
27
27
|
export var NavigationMenuIndicator = forwardRef(function (_a, ref) {
|
|
28
28
|
var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
|
|
29
29
|
return (_jsxs(NavigationMenuPrimitive.Indicator, __assign({ ref: ref, className: "flex z-[1] top-full h-[10px] items-end justify-center overflow-hidden\n data-[state=visible]:animate-fadeIn data-[state=hidden]:animate-fadeOut \n transition-[width,transform_250ms_ease]" }, props, { children: [_jsx("div", { className: cn("relative top-[70%] h-[10px] w-[10px] rotate-[45deg] rounded-tl-[2px] \n bg-white dark:bg-slateDark-2 shadow-slate-4 shadow dark:shadow-slateDark-4", className) }), children] })));
|
|
@@ -7,7 +7,7 @@ export interface NavigationMenuLinkProps extends VariantProps<typeof navigationM
|
|
|
7
7
|
}
|
|
8
8
|
export declare const navigationMenuLinkVariants: (props?: ({
|
|
9
9
|
size?: "small" | "medium" | null | undefined;
|
|
10
|
-
radius?: "
|
|
10
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
|
11
11
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
|
12
12
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
13
13
|
export declare const NavigationMenuLink: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuLinkProps & React.RefAttributes<HTMLAnchorElement>, "ref"> & NavigationMenuLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
@@ -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 NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
26
|
-
import { cn } from 'lib/utils/utils';
|
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
|
27
27
|
import { cva } from 'class-variance-authority';
|
|
28
|
-
import { appearanceStyle, radiusVariants, scalingVariants } from 'lib/constants';
|
|
28
|
+
import { appearanceStyle, radiusVariants, scalingVariants } from '../../../lib/constants';
|
|
29
29
|
import { useNavigationMenuContext } from '.';
|
|
30
30
|
export var navigationMenuLinkVariants = cva("block select-none leading-none outline-none py-1 px-3 cursor-alias hover:underline font-medium", {
|
|
31
31
|
variants: {
|
|
@@ -6,7 +6,7 @@ export interface NavigationMenuListProps extends VariantProps<typeof navigationM
|
|
|
6
6
|
appearance?: 'ghost' | 'solid';
|
|
7
7
|
}
|
|
8
8
|
export declare const navigationMenuListVariants: (props?: ({
|
|
9
|
-
radius?: "
|
|
9
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
|
10
10
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
|
11
11
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
12
12
|
export declare const NavigationMenuList: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React.RefAttributes<HTMLUListElement>, "ref"> & NavigationMenuListProps & React.RefAttributes<HTMLUListElement>>;
|
|
@@ -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 NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
26
|
-
import { cn } from 'lib/utils/utils';
|
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
|
27
27
|
import { cva } from 'class-variance-authority';
|
|
28
|
-
import { appearanceStyle, radiusVariants, scalingVariants } from 'lib/constants';
|
|
28
|
+
import { appearanceStyle, radiusVariants, scalingVariants } from '../../../lib/constants';
|
|
29
29
|
import { NavigationMenuIndicator } from './NavigationMenuIndicator';
|
|
30
30
|
import { useNavigationMenuContext } from '.';
|
|
31
31
|
export var navigationMenuListVariants = cva('flex items-center p-1 space-x-1 shadow-slate-4 shadow dark:shadow-slateDark-4 bg-white dark:bg-slateDark-1', {
|
|
@@ -7,7 +7,7 @@ export interface NavigationMenuTriggerProps extends VariantProps<typeof navigati
|
|
|
7
7
|
}
|
|
8
8
|
export declare const navigationMenuTriggerVariants: (props?: ({
|
|
9
9
|
size?: "small" | "medium" | null | undefined;
|
|
10
|
-
radius?: "
|
|
10
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
|
11
11
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
|
12
12
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
13
13
|
export declare const NavigationMenuTrigger: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & NavigationMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -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 NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
26
|
-
import { cn } from 'lib/utils/utils';
|
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
|
27
27
|
import { cva } from 'class-variance-authority';
|
|
28
|
-
import { appearanceStyle, scalingVariants } from 'lib/constants';
|
|
28
|
+
import { appearanceStyle, scalingVariants } from '../../../lib/constants';
|
|
29
29
|
import { CaretDownIcon } from '@radix-ui/react-icons';
|
|
30
30
|
import { useNavigationMenuContext } from '.';
|
|
31
31
|
export var navigationMenuTriggerVariants = cva("flex items-center justify-between outline-none select-none leading-none py-1 px-3 font-medium", {
|
|
@@ -4,8 +4,8 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
4
4
|
export interface NavigationViewportProps extends VariantProps<typeof navigationViewportVariants> {
|
|
5
5
|
}
|
|
6
6
|
export declare const navigationViewportVariants: (props?: ({
|
|
7
|
-
radius?: "
|
|
8
|
-
weight?: "
|
|
7
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
|
8
|
+
weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
|
|
9
9
|
size?: "small" | "medium" | null | undefined;
|
|
10
10
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
|
11
11
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
@@ -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 NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
26
|
-
import { cn } from 'lib/utils/utils';
|
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
|
27
27
|
import { cva } from 'class-variance-authority';
|
|
28
|
-
import { radiusVariants, scalingVariants, weightVariants } from 'lib/constants';
|
|
28
|
+
import { radiusVariants, scalingVariants, weightVariants } from '../../../lib/constants';
|
|
29
29
|
import { useNavigationMenuContext } from '.';
|
|
30
30
|
export var navigationViewportVariants = cva("data-[state=open]:animate-scaleIn data-[state=closed]:animate-scaleOut relative mt-[10px] \n h-[var(--radix-navigation-menu-viewport-height)] w-full origin-[top_center] overflow-hidden \n transition-[width,_height] duration-300 shadow-slate-4 shadow dark:shadow-slateDark-4\n sm:w-[var(--radix-navigation-menu-viewport-width)]", {
|
|
31
31
|
variants: {
|
|
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
4
4
|
import { navigationMenuListVariants } from './NavigationMenuList';
|
|
5
5
|
import { navigationMenuTriggerVariants } from './NavigationMenuTrigger';
|
|
6
6
|
import { navigationMenuLinkVariants } from './NavigationMenuLink';
|
|
7
|
-
import { IColor } from 'lib/types';
|
|
7
|
+
import { IColor } from '../../../lib/types';
|
|
8
8
|
export * from './NavigationMenuList';
|
|
9
9
|
export * from './NavigationMenuItem';
|
|
10
10
|
export * from './NavigationMenuTrigger';
|
|
@@ -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, createContext, useContext, } from 'react';
|
|
25
25
|
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
26
|
-
import { cn } from 'lib/utils/utils';
|
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
|
27
27
|
export * from './NavigationMenuList';
|
|
28
28
|
export * from './NavigationMenuItem';
|
|
29
29
|
export * from './NavigationMenuTrigger';
|
|
@@ -24,9 +24,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
24
24
|
import { Pie } from 'react-chartjs-2';
|
|
25
25
|
import { Chart as ChartJS, ArcElement, Tooltip, Legend, plugins } from 'chart.js';
|
|
26
26
|
import ChartDataLabels from 'chartjs-plugin-datalabels';
|
|
27
|
-
import { cn } from 'lib/utils/utils';
|
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
|
28
28
|
import { cva } from 'class-variance-authority';
|
|
29
|
-
import { scalingVariants } from 'lib/constants';
|
|
29
|
+
import { scalingVariants } from '../../../lib/constants';
|
|
30
30
|
ChartJS.register(ArcElement, Tooltip, Legend, plugins, ChartDataLabels);
|
|
31
31
|
ChartJS.defaults.set('plugins.datalabels', {
|
|
32
32
|
display: false,
|
|
@@ -4,6 +4,6 @@ import { Popover as PopoverTheme } from '@radix-ui/themes';
|
|
|
4
4
|
export interface PopoverCloseProps extends VariantProps<typeof popoverCloseVariants> {
|
|
5
5
|
}
|
|
6
6
|
export declare const popoverCloseVariants: (props?: ({
|
|
7
|
-
radius?: "
|
|
7
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
|
8
8
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
9
9
|
export declare const PopoverClose: React.ForwardRefExoticComponent<Omit<PopoverTheme.CloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & PopoverCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -24,7 +24,7 @@ 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 { Popover as PopoverTheme } from '@radix-ui/themes';
|
|
27
|
-
import { cn } from 'lib/utils/utils';
|
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
|
28
28
|
export var popoverCloseVariants = cva('', {
|
|
29
29
|
variants: {
|
|
30
30
|
radius: {
|
|
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
4
4
|
export interface PopoverContentProps extends VariantProps<typeof popoverContentVariants> {
|
|
5
5
|
}
|
|
6
6
|
export declare const popoverContentVariants: (props?: ({
|
|
7
|
-
radius?: "
|
|
7
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
|
8
8
|
size?: "small" | "medium" | "large" | "x-large" | null | undefined;
|
|
9
9
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
|
10
10
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
@@ -22,10 +22,10 @@ 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 { scalingVariants } from 'lib/constants';
|
|
25
|
+
import { scalingVariants } from '../../../lib/constants';
|
|
26
26
|
import { Popover as PopoverTheme } from '@radix-ui/themes';
|
|
27
27
|
import { cva } from 'class-variance-authority';
|
|
28
|
-
import { cn } from 'lib/utils/utils';
|
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
|
29
29
|
export var popoverContentVariants = cva('flex gap-2 bg-white dark:bg-slateDark-1 border-slateA-6 dark:border-slateDarkA-6', {
|
|
30
30
|
variants: {
|
|
31
31
|
radius: {
|
|
@@ -7,7 +7,7 @@ export interface ProgressProps extends VariantProps<typeof progressVariants> {
|
|
|
7
7
|
appearance?: 'classic' | 'surface' | 'soft';
|
|
8
8
|
}
|
|
9
9
|
declare const progressVariants: (props?: ({
|
|
10
|
-
radius?: "
|
|
10
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
|
11
11
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
12
12
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
|
13
13
|
color?: string | null | undefined;
|
|
@@ -23,9 +23,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
|
25
25
|
import { cva } from 'class-variance-authority';
|
|
26
|
-
import { scalingVariants, bgColorStyle } from 'lib/constants';
|
|
26
|
+
import { scalingVariants, bgColorStyle } from '../../../lib/constants';
|
|
27
27
|
import { Theme, Progress as ProgressTheme } from '@radix-ui/themes';
|
|
28
|
-
import { cn } from 'lib/utils/utils';
|
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
|
29
29
|
var progressVariants = cva('w-[300px]', {
|
|
30
30
|
variants: {
|
|
31
31
|
radius: {
|
|
@@ -22,9 +22,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
22
22
|
};
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { cva } from 'class-variance-authority';
|
|
25
|
-
import { scalingVariants } from 'lib/constants';
|
|
25
|
+
import { scalingVariants } from '../../../lib/constants';
|
|
26
26
|
import { Radar } from 'react-chartjs-2';
|
|
27
|
-
import { cn } from 'lib/utils/utils';
|
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
|
28
28
|
import { Chart as ChartJS, RadialLinearScale, PointElement, LineElement, Filler, Tooltip, Legend, } from 'chart.js/auto';
|
|
29
29
|
ChartJS.register(RadialLinearScale, PointElement, LineElement, Filler, Tooltip, Legend);
|
|
30
30
|
var radarChartVariants = cva('', {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
|
3
|
-
import { IScaling } from 'lib/types';
|
|
3
|
+
import { IScaling } from '../../../lib/types';
|
|
4
4
|
export interface RadioProps extends VariantProps<typeof radioVariants> {
|
|
5
5
|
size?: any;
|
|
6
6
|
color?: any;
|
|
@@ -24,8 +24,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
24
24
|
import React from 'react';
|
|
25
25
|
import { cva } from 'class-variance-authority';
|
|
26
26
|
import { Theme, Radio as RadioTheme, Flex } from '@radix-ui/themes';
|
|
27
|
-
import { Text } from 'lib/Typography/Text';
|
|
28
|
-
import { cn } from 'lib/utils/utils';
|
|
27
|
+
import { Text } from '../../../lib/Typography/Text';
|
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
|
29
29
|
var radioVariants = cva('font-normal', {
|
|
30
30
|
variants: {
|
|
31
31
|
size: {
|
|
@@ -4,7 +4,7 @@ import { RadioCards as RadioCardsTheme } from '@radix-ui/themes';
|
|
|
4
4
|
export interface RadioCardsItemProps extends VariantProps<typeof radioCardsItemVariants> {
|
|
5
5
|
}
|
|
6
6
|
export declare const radioCardsItemVariants: (props?: ({
|
|
7
|
-
radius?: "
|
|
7
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
|
8
8
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
9
9
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
10
10
|
export declare const RadioCardsItem: React.ForwardRefExoticComponent<Omit<RadioCardsTheme.ItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & RadioCardsItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -24,7 +24,7 @@ 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 { RadioCards as RadioCardsTheme } from '@radix-ui/themes';
|
|
27
|
-
import { cn } from 'lib/utils/utils';
|
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
|
28
28
|
export var radioCardsItemVariants = cva('bg-white dark:bg-slateDark-1 text-slateA-12 dark:text-slateDarkA-12 border-slateA-6 dark:border-slateDarkA-6 font-normal disabled:text-slateA-9 dark:disabled:text-slateDarkA-9', {
|
|
29
29
|
variants: {
|
|
30
30
|
radius: {
|
|
@@ -23,9 +23,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
|
25
25
|
import { cva } from 'class-variance-authority';
|
|
26
|
-
import { scalingVariants } from 'lib/constants';
|
|
26
|
+
import { scalingVariants } from '../../../lib/constants';
|
|
27
27
|
import { Theme, RadioCards as RadioCardsTheme } from '@radix-ui/themes';
|
|
28
|
-
import { cn } from 'lib/utils/utils';
|
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
|
29
29
|
export * from './RadioCardsItem';
|
|
30
30
|
var radioCardsVariants = cva('flex items-center gap-2', {
|
|
31
31
|
variants: {
|
|
@@ -24,7 +24,7 @@ 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 { RadioGroup as RadioGroupTheme } from '@radix-ui/themes';
|
|
27
|
-
import { cn } from 'lib/utils/utils';
|
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
|
28
28
|
var radioGroupItemVariants = cva('font-normal text-slate-12 dark:text-slateDark-12', {
|
|
29
29
|
variants: {
|
|
30
30
|
size: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { RadioGroup as RadioGroupTheme } from '@radix-ui/themes';
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
import { IScaling } from 'lib/types';
|
|
4
|
+
import { IScaling } from '../../../lib/types';
|
|
5
5
|
export * from './RadioGroupItem';
|
|
6
6
|
export interface RadioGroupProps extends VariantProps<typeof radioGroupVariants> {
|
|
7
7
|
color?: any;
|
|
@@ -24,7 +24,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
24
24
|
import { forwardRef } from 'react';
|
|
25
25
|
import { Theme, RadioGroup as RadioGroupTheme } from '@radix-ui/themes';
|
|
26
26
|
import { cva } from 'class-variance-authority';
|
|
27
|
-
import { cn } from 'lib/utils/utils';
|
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
|
28
28
|
export * from './RadioGroupItem';
|
|
29
29
|
var radioGroupVariants = cva('', {
|
|
30
30
|
variants: {
|
|
@@ -23,7 +23,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
|
25
25
|
import { SegmentedControl as SegmentedControlTheme } from '@radix-ui/themes';
|
|
26
|
-
import { cn } from 'lib/utils/utils';
|
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
|
27
27
|
export var SegmentedControlItem = forwardRef(function (_a, ref) {
|
|
28
28
|
var children = _a.children, className = _a.className, appearance = _a.appearance, props = __rest(_a, ["children", "className", "appearance"]);
|
|
29
29
|
var appearanceClassName = '';
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
|
3
3
|
import { SegmentedControl as SegmentedControlTheme } from '@radix-ui/themes';
|
|
4
4
|
export * from './SegmentedControlItem';
|
|
5
|
-
import { ISize } from 'lib/types';
|
|
5
|
+
import { ISize } from '../../../lib/types';
|
|
6
6
|
export interface SegmentedControlProps extends VariantProps<typeof segmentedControlVariants> {
|
|
7
7
|
appearance?: 'surface' | 'classic';
|
|
8
8
|
size?: Exclude<ISize, 'x-small' | 'x-large'>;
|