@lotte-innovate/ui-component-test 0.0.21 → 0.0.24
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 +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
@@ -6,7 +6,7 @@ export interface ContextMenuItemProps extends VariantProps<typeof contextMenuIte
|
|
6
6
|
shortcut?: string;
|
7
7
|
}
|
8
8
|
export declare const contextMenuItemVariants: (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;
|
@@ -23,9 +23,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
23
23
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
26
|
-
import { cn } from 'lib/utils/utils';
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { blackText, menuItemAppearanceStyle, scalingVariants, radiusVariants } from 'lib/constants';
|
28
|
+
import { blackText, menuItemAppearanceStyle, scalingVariants, radiusVariants } from '../../../lib/constants';
|
29
29
|
import { useContextMenuContext } from '.';
|
30
30
|
export var contextMenuItemVariants = cva("flex group relative leading-none select-none outline-none items-center justify-between font-normal\n data-[disabled]:text-slate-8 data-[disabled]:cursor-not-allowed text-slate-12 dark:text-slateDark-12\n data-[disabled]:hover:bg-transparent dark:data-[disabled]:text-slateDark-8 data-[disabled]:dark:hover:bg-transparent", {
|
31
31
|
variants: {
|
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
export interface ContextMenuItemIndicatorProps extends VariantProps<typeof contextMenuItemIndicatorVariants> {
|
5
5
|
}
|
6
6
|
export declare const contextMenuItemIndicatorVariants: (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 ContextMenuItemIndicator: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuItemIndicatorProps & React.RefAttributes<HTMLSpanElement>, "ref"> & ContextMenuItemIndicatorProps & React.RefAttributes<HTMLSpanElement>>;
|
@@ -23,10 +23,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
26
|
-
import { cn } from 'lib/utils/utils';
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
27
|
import { CheckIcon } from '@radix-ui/react-icons';
|
28
28
|
import { cva } from 'class-variance-authority';
|
29
|
-
import { radiusVariants } from 'lib/constants';
|
29
|
+
import { radiusVariants } from '../../../lib/constants';
|
30
30
|
import { useContextMenuContext } from '.';
|
31
31
|
export var contextMenuItemIndicatorVariants = cva("absolute left-0 inline-flex items-center justify-center ml-1 border", {
|
32
32
|
variants: {
|
@@ -23,9 +23,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
26
|
-
import { cn } from 'lib/utils/utils';
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { scalingVariants } from 'lib/constants';
|
28
|
+
import { scalingVariants } from '../../../lib/constants';
|
29
29
|
import { useContextMenuContext } from '.';
|
30
30
|
export var contextMenuLabelVariants = cva("flex relative leading-none select-none outline-none items-center \n text-slate-11 dark:text-slateDarkA-11 font-normal", {
|
31
31
|
variants: {
|
@@ -23,9 +23,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
23
23
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
24
24
|
import { forwardRef, useContext } from 'react';
|
25
25
|
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
26
|
-
import { cn } from 'lib/utils/utils';
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
27
|
import { DotFilledIcon } from '@radix-ui/react-icons';
|
28
|
-
import { menuItemAppearanceStyle } from 'lib/constants';
|
28
|
+
import { menuItemAppearanceStyle } from '../../../lib/constants';
|
29
29
|
import { ContextMenuItemIndicator, RadioContext, contextMenuItemVariants, useContextMenuContext, } from '.';
|
30
30
|
export var ContextMenuRadioItem = forwardRef(function (_a, ref) {
|
31
31
|
var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
|
@@ -23,7 +23,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
26
|
-
import { cn } from 'lib/utils/utils';
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
27
|
export var ContextMenuSeparator = forwardRef(function (_a, ref) {
|
28
28
|
var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
|
29
29
|
return (_jsx(ContextMenuPrimitive.Separator, __assign({ ref: ref, className: cn('h-[1px] m-[5px] bg-slate-6 dark:bg-slateDark-6', className) }, props, { children: children })));
|
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
export interface ContextMenuSubContentProps extends VariantProps<typeof contextMenuSubContentVariants> {
|
5
5
|
}
|
6
6
|
export declare const contextMenuSubContentVariants: (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;
|
@@ -23,9 +23,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
26
|
-
import { cn } from 'lib/utils/utils';
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { radiusVariants, scalingVariants } from 'lib/constants';
|
28
|
+
import { radiusVariants, scalingVariants } from '../../../lib/constants';
|
29
29
|
import { useContextMenuContext } from '.';
|
30
30
|
export var contextMenuSubContentVariants = cva("p-[5px] bg-white dark:bg-slateDark-1 will-change-[transform,opacity]\n shadow-[0px_10px_38px_-10px_rgba(22,_23,_24,_0.35),_0px_10px_20px_-15px_rgba(22,_23,_24,_0.2)] \n [animation-duration:_400ms] [animation-timing-function:_cubic-bezier(0.16,_1,_0.3,_1)]", {
|
31
31
|
variants: {
|
@@ -24,9 +24,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
26
26
|
import { ChevronRightIcon } from '@radix-ui/react-icons';
|
27
|
-
import { cn } from 'lib/utils/utils';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
28
|
import { contextMenuItemVariants } from './ContextMenuItem';
|
29
|
-
import { blackText, menuItemAppearanceStyle } from 'lib/constants';
|
29
|
+
import { blackText, menuItemAppearanceStyle } from '../../../lib/constants';
|
30
30
|
import { useContextMenuContext } from '.';
|
31
31
|
export var ContextMenuSubTrigger = forwardRef(function (_a, ref) {
|
32
32
|
var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
|
@@ -23,7 +23,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
26
|
-
import { cn } from 'lib/utils/utils';
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
27
|
export var ContextMenuTrigger = forwardRef(function (_a, ref) {
|
28
28
|
var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
|
29
29
|
return (_jsx(ContextMenuPrimitive.Trigger, __assign({ ref: ref, className: cn("block border-2 border-dashed text-slate-12 dark:text-slateDark-12 rounded text-base \n select-none py-[45px] w-[300px] text-center", className) }, props, { children: children })));
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IColor } from 'lib/types';
|
4
|
+
import { IColor } from '../../../lib/types';
|
5
5
|
import { contextMenuContentVariants } from './ContextMenuContent';
|
6
6
|
import { contextMenuItemVariants } from './ContextMenuItem';
|
7
7
|
export * from './ContextMenuContent';
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import { DataList as DataListTheme } from '@radix-ui/themes';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from '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 { useDataListContext } from '.';
|
30
30
|
export var dataListItemVariants = cva('flex', {
|
31
31
|
variants: {
|
@@ -5,6 +5,6 @@ export interface DataListLabelProps extends VariantProps<typeof dataListLabelVar
|
|
5
5
|
}
|
6
6
|
export declare const dataListLabelVariants: (props?: ({
|
7
7
|
size?: "small" | "medium" | "large" | null | undefined;
|
8
|
-
weight?: "
|
8
|
+
weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
|
9
9
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
10
10
|
export declare const DataListLabel: React.ForwardRefExoticComponent<Omit<DataListTheme.LabelProps & React.RefAttributes<HTMLElement>, "ref"> & DataListLabelProps & React.RefAttributes<HTMLElement>>;
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import { DataList as DataListTheme } from '@radix-ui/themes';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from 'lib/utils/utils';
|
28
|
-
import { weightVariants } from 'lib/constants';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import { weightVariants } from '../../../lib/constants';
|
29
29
|
import { useDataListContext } from '.';
|
30
30
|
export var dataListLabelVariants = cva('text-slateA-11 dark:text-slateDarkA-11 w-[120px] mb-1', {
|
31
31
|
variants: {
|
@@ -5,7 +5,7 @@ export interface DataListValueProps extends VariantProps<typeof dataListValueVar
|
|
5
5
|
}
|
6
6
|
export declare const dataListValueVariants: (props?: ({
|
7
7
|
size?: "small" | "medium" | "large" | null | undefined;
|
8
|
-
weight?: "
|
8
|
+
weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
|
9
9
|
color?: string | null | undefined;
|
10
10
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
11
11
|
export declare const DataListValue: React.ForwardRefExoticComponent<Omit<DataListTheme.ValueProps & React.RefAttributes<HTMLElement>, "ref"> & DataListValueProps & React.RefAttributes<HTMLElement>>;
|
@@ -23,9 +23,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import { DataList as DataListTheme } from '@radix-ui/themes';
|
26
|
-
import { textColorStyle, weightVariants } from 'lib/constants';
|
26
|
+
import { textColorStyle, weightVariants } from '../../../lib/constants';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { cn } from 'lib/utils/utils';
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
29
|
import { useDataListContext } from '.';
|
30
30
|
export var dataListValueVariants = cva('text-slate-12 dark:text-slateDark-12 w-[200px]', {
|
31
31
|
variants: {
|
@@ -24,7 +24,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { createContext, forwardRef, useContext, } from 'react';
|
25
25
|
import { DataList as DataListTheme } 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 './DataListItem';
|
29
29
|
export * from './DataListLabel';
|
30
30
|
export * from './DataListValue';
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { Dialog as DialogTheme } from '@radix-ui/themes';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IAppearance } from 'lib/types';
|
4
|
+
import { IAppearance } from '../../../lib/types';
|
5
5
|
export interface DialogActionProps extends VariantProps<typeof dialogActionVariants> {
|
6
6
|
color?: any;
|
7
7
|
size?: any;
|
8
8
|
appearance?: IAppearance;
|
9
9
|
}
|
10
10
|
export declare const dialogActionVariants: (props?: ({
|
11
|
-
radius?: "
|
11
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
12
12
|
size?: "small" | "medium" | "large" | "x-large" | null | undefined;
|
13
13
|
color?: string | null | undefined;
|
14
14
|
} & 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 { Dialog as DialogTheme } from '@radix-ui/themes';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { appearanceStyle, primaryColorStyle } from 'lib/constants';
|
28
|
-
import { cn } from 'lib/utils/utils';
|
27
|
+
import { appearanceStyle, primaryColorStyle } from '../../../lib/constants';
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
29
|
export var dialogActionVariants = cva('rounded-md inline-flex font-medium items-center justify-center px-[15px] hover:cursor-pointer', {
|
30
30
|
variants: {
|
31
31
|
radius: {
|
@@ -5,7 +5,7 @@ export interface DialogCancelProps extends VariantProps<typeof dialogCancelVaria
|
|
5
5
|
size?: any;
|
6
6
|
}
|
7
7
|
export declare const dialogCancelVariants: (props?: ({
|
8
|
-
radius?: "
|
8
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
9
9
|
size?: "small" | "medium" | "large" | "x-large" | null | undefined;
|
10
10
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
11
11
|
export declare const DialogCancel: React.ForwardRefExoticComponent<Omit<DialogTheme.CloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & DialogCancelProps & React.RefAttributes<HTMLButtonElement>>;
|
@@ -24,7 +24,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import { Dialog as DialogTheme } 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 var dialogCancelVariants = cva("rounded-md font-medium inline-flex justify-center items-center text-slate-11 bg-slate-3 outline-none border-none\n dark:text-slateDark-11 dark:bg-slateDark-3 dark:hover:bg-slateDarkA-4\n active:border-none hover:cursor-pointer hover:bg-slateA-4", {
|
29
29
|
variants: {
|
30
30
|
radius: {
|
@@ -4,7 +4,7 @@ import { Dialog as DialogTheme } from '@radix-ui/themes';
|
|
4
4
|
export interface DialogContentProps extends VariantProps<typeof dialogContentVariants> {
|
5
5
|
}
|
6
6
|
export declare const dialogContentVariants: (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;
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
26
|
import { Dialog as DialogTheme } from '@radix-ui/themes';
|
27
|
-
import { scalingVariants } from 'lib/constants';
|
28
|
-
import { cn } from 'lib/utils/utils';
|
27
|
+
import { scalingVariants } from '../../../lib/constants';
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
29
|
export var dialogContentVariants = cva("rounded-md focus:outline-none bg-white dark:bg-slateDark-1 \n shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px]", {
|
30
30
|
variants: {
|
31
31
|
radius: {
|
@@ -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 { Dialog as DialogTheme } from '@radix-ui/themes';
|
27
|
-
import { cn } from 'lib/utils/utils';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
28
|
export var dialogDescriptionVariants = cva('font-normal text-slate-12 dark:text-slateDark-12', {
|
29
29
|
variants: {
|
30
30
|
size: {
|
@@ -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 'lib/utils/utils';
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
27
|
export var dialogSlotVariants = cva('flex flex-col gap-2 font-normal text-slate-12 dark:text-slateDark-12', {
|
28
28
|
variants: {
|
29
29
|
size: {
|
@@ -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 { Dialog as DialogTheme } from '@radix-ui/themes';
|
27
|
-
import { cn } from 'lib/utils/utils';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
28
|
export var dialogTitleVariants = cva('font-bold text-slate-12 dark:text-slateDark-12', {
|
29
29
|
variants: {
|
30
30
|
size: {
|
@@ -24,9 +24,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { Doughnut } from 'react-chartjs-2';
|
25
25
|
import { Chart as ChartJS, ArcElement, Tooltip, Legend, plugins } from 'chart.js';
|
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,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
export interface DropdownMenuSubContentProps extends VariantProps<typeof dropdownMenuSubContentVariants> {
|
5
5
|
}
|
6
6
|
export declare const dropdownMenuSubContentVariants: (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 DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { scalingVariants } from 'lib/constants';
|
28
|
-
import { cn } from 'lib/utils/utils';
|
27
|
+
import { scalingVariants } from '../../../lib/constants';
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
29
|
export var dropdownMenuSubContentVariants = cva("p-[5px] bg-white dark:bg-slateDark-1 will-change-[transform,opacity]\n shadow-[0px_10px_38px_-10px_rgba(22,_23,_24,_0.35),_0px_10px_20px_-15px_rgba(22,_23,_24,_0.2)] \n [animation-duration:_400ms] [animation-timing-function:_cubic-bezier(0.16,_1,_0.3,_1)]", {
|
30
30
|
variants: {
|
31
31
|
radius: {
|
@@ -23,10 +23,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
23
23
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
26
|
-
import { menuItemAppearanceStyle } from 'lib/constants';
|
26
|
+
import { menuItemAppearanceStyle } from '../../../lib/constants';
|
27
27
|
import { dropdownMenuItemVariants, DropdownMenuItemIndicator } from '.';
|
28
28
|
import { CheckIcon } from '@radix-ui/react-icons';
|
29
|
-
import { cn } from 'lib/utils/utils';
|
29
|
+
import { cn } from '../../../lib/utils/utils';
|
30
30
|
export var DropdownMenuCheckboxItem = forwardRef(function (_a, ref) {
|
31
31
|
var className = _a.className, children = _a.children, radius = _a.radius, size = _a.size, _b = _a.color, color = _b === void 0 ? 'red' : _b, _c = _a.appearance, appearance = _c === void 0 ? 'solid' : _c, shortcut = _a.shortcut, checked = _a.checked, props = __rest(_a, ["className", "children", "radius", "size", "color", "appearance", "shortcut", "checked"]);
|
32
32
|
var itemClassName = cn(dropdownMenuItemVariants({
|
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
export interface DropdownMenuContentProps extends VariantProps<typeof dropdownMenuContentVariants> {
|
5
5
|
}
|
6
6
|
export declare const dropdownMenuContentVariants: (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 DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { scalingVariants } from 'lib/constants';
|
28
|
-
import { cn } from 'lib/utils/utils';
|
27
|
+
import { scalingVariants } from '../../../lib/constants';
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
29
|
export var dropdownMenuContentVariants = 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)]", {
|
30
30
|
variants: {
|
31
31
|
radius: {
|
@@ -6,7 +6,7 @@ export interface DropdownMenuItemProps extends VariantProps<typeof dropdownMenuI
|
|
6
6
|
appearance?: 'solid' | 'soft';
|
7
7
|
}
|
8
8
|
export declare const dropdownMenuItemVariants: (props?: ({
|
9
|
-
radius?: "
|
9
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
10
10
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
11
11
|
size?: "small" | "medium" | 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 DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { menuItemAppearanceStyle, scalingVariants, radiusVariants, blackText } from 'lib/constants';
|
28
|
-
import { cn } from 'lib/utils/utils';
|
27
|
+
import { menuItemAppearanceStyle, scalingVariants, radiusVariants, blackText } from '../../../lib/constants';
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
29
|
export var dropdownMenuItemVariants = cva("flex group relative leading-none select-none outline-none items-center justify-between\n data-[disabled]:text-slate-8 dark:data-[disabled]:text-slateDark-8 hover:data-[disabled]:bg-transparent dark:hover:data-[disabled]:bg-transparent text-slate-12 dark:text-slateDark-12", {
|
30
30
|
variants: {
|
31
31
|
radius: __assign({}, radiusVariants['menu-item']),
|
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
export interface DropdownMenuItemIndicatorProps extends VariantProps<typeof dropdownMenuItemIndicatorVariants> {
|
5
5
|
}
|
6
6
|
export declare const dropdownMenuItemIndicatorVariants: (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 DropdownMenuItemIndicator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemIndicatorProps & React.RefAttributes<HTMLSpanElement>, "ref"> & DropdownMenuItemIndicatorProps & React.RefAttributes<HTMLSpanElement>>;
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { radiusVariants } from 'lib/constants';
|
28
|
-
import { cn } from 'lib/utils/utils';
|
27
|
+
import { radiusVariants } from '../../../lib/constants';
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
29
|
export var dropdownMenuItemIndicatorVariants = cva("absolute left-0 inline-flex items-center justify-center ml-1 border", {
|
30
30
|
variants: {
|
31
31
|
radius: __assign({}, radiusVariants['base']),
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { scalingVariants } from 'lib/constants';
|
28
|
-
import { cn } from 'lib/utils/utils';
|
27
|
+
import { scalingVariants } from '../../../lib/constants';
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
29
|
export var dropdownMenuLabelVariants = cva("flex relative leading-none select-none outline-none items-center font-normal text-slateA-11 dark:text-slateDarkA-11", {
|
30
30
|
variants: {
|
31
31
|
size: {
|
@@ -24,9 +24,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef, useContext } from 'react';
|
25
25
|
import { DropdownMenu as DropdownMenuTheme } from '@radix-ui/themes';
|
26
26
|
import { dropdownMenuItemVariants, DropdownMenuItemIndicator, RadioContext, } from '.';
|
27
|
-
import { menuItemAppearanceStyle } from 'lib/constants';
|
27
|
+
import { menuItemAppearanceStyle } from '../../../lib/constants';
|
28
28
|
import { DotFilledIcon } from '@radix-ui/react-icons';
|
29
|
-
import { cn } from 'lib/utils/utils';
|
29
|
+
import { cn } from '../../../lib/utils/utils';
|
30
30
|
export var DropdownMenuRadioItem = forwardRef(function (_a, ref) {
|
31
31
|
var className = _a.className, children = _a.children, _b = _a.color, color = _b === void 0 ? 'red' : _b, _c = _a.appearance, appearance = _c === void 0 ? 'solid' : _c, radius = _a.radius, size = _a.size, props = __rest(_a, ["className", "children", "color", "appearance", "radius", "size"]);
|
32
32
|
var radioGroup = useContext(RadioContext);
|
@@ -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 DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
26
|
-
import { cn } from 'lib/utils/utils';
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
27
|
export var DropdownMenuSeparator = forwardRef(function (_a, ref) {
|
28
28
|
var className = _a.className, children = _a.children, color = _a.color, props = __rest(_a, ["className", "children", "color"]);
|
29
29
|
return (_jsx(DropdownMenuPrimitive.Separator, __assign({ ref: ref, className: cn('h-[1px] m-[5px] bg-slate-6 dark:bg-slateDark-6', className) }, props)));
|
@@ -25,8 +25,8 @@ import { forwardRef } from 'react';
|
|
25
25
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
26
26
|
import { dropdownMenuItemVariants } from './DropdownMenuItem';
|
27
27
|
import { ChevronRightIcon } from '@radix-ui/react-icons';
|
28
|
-
import { blackText, menuItemAppearanceStyle } from 'lib/constants';
|
29
|
-
import { cn } from 'lib/utils/utils';
|
28
|
+
import { blackText, menuItemAppearanceStyle } from '../../../lib/constants';
|
29
|
+
import { cn } from '../../../lib/utils/utils';
|
30
30
|
export var DropdownMenuSubTrigger = forwardRef(function (_a, ref) {
|
31
31
|
var className = _a.className, children = _a.children, size = _a.size, radius = _a.radius, _b = _a.color, color = _b === void 0 ? 'red' : _b, _c = _a.appearance, appearance = _c === void 0 ? 'solid' : _c, props = __rest(_a, ["className", "children", "size", "radius", "color", "appearance"]);
|
32
32
|
var iconClassName = cn('group-data-[disabled]:text-slate-8 ', appearance === 'solid' && blackText.includes(color)
|
@@ -6,7 +6,7 @@ export interface DropdownMenuTriggerProps extends VariantProps<typeof dropdownMe
|
|
6
6
|
appearance?: 'classic' | 'surface';
|
7
7
|
}
|
8
8
|
declare const dropdownMenuTriggerVariants: (props?: ({
|
9
|
-
radius?: "
|
9
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
10
10
|
size?: "small" | "medium" | null | undefined;
|
11
11
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
12
12
|
export declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & DropdownMenuTriggerProps & 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 * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
27
|
-
import { cn } from 'lib/utils/utils';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
28
|
var dropdownMenuTriggerVariants = cva('', {
|
29
29
|
variants: {
|
30
30
|
radius: {
|
@@ -5,10 +5,10 @@ export interface HoverCardContentProps extends VariantProps<typeof hoverCardCont
|
|
5
5
|
size?: any;
|
6
6
|
}
|
7
7
|
export declare const hoverCardContentVariants: (props?: ({
|
8
|
-
radius?: "
|
8
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
9
9
|
size?: "small" | "medium" | "large" | "x-large" | null | undefined;
|
10
10
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
11
|
-
weight?: "
|
11
|
+
weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
|
12
12
|
color?: string | null | undefined;
|
13
13
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
14
14
|
export declare const HoverCardContent: React.ForwardRefExoticComponent<Omit<HoverCardTheme.ContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & HoverCardContentProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -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 { primaryColorStyle, radiusVariants, weightVariants, scalingVariants } from 'lib/constants';
|
25
|
+
import { primaryColorStyle, radiusVariants, weightVariants, scalingVariants } from '../../../lib/constants';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
27
|
import { HoverCard as HoverCardTheme } from '@radix-ui/themes';
|
28
|
-
import { cn } from 'lib/utils/utils';
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
29
|
export var hoverCardContentVariants = cva('', {
|
30
30
|
variants: {
|
31
31
|
radius: __assign({}, radiusVariants['base']),
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
|
-
import { IAppearance } from 'lib/types';
|
3
|
+
import { IAppearance } from '../../../lib/types';
|
4
4
|
export interface IconButtonProps extends VariantProps<typeof iconButtonVariants> {
|
5
5
|
appearance?: IAppearance;
|
6
6
|
size?: 'x-small' | 'small' | 'medium' | 'large' | 'x-large';
|
7
7
|
}
|
8
8
|
declare const iconButtonVariants: (props?: ({
|
9
|
-
radius?: "
|
9
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
10
10
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
11
11
|
size?: "small" | "medium" | "large" | "x-small" | "x-large" | null | undefined;
|
12
12
|
color?: string | null | undefined;
|
@@ -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, { Children, forwardRef } from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
|
-
import { scalingVariants, radiusVariants, primaryColorStyle, appearanceStyle } from 'lib/constants';
|
27
|
-
import { cn } from 'lib/utils/utils';
|
26
|
+
import { scalingVariants, radiusVariants, primaryColorStyle, appearanceStyle } from '../../../lib/constants';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
28
|
var iconButtonVariants = cva("grid place-content-center transition-colors focus:outline-none hover:cursor-pointer\n disabled:cursor-not-allowed disabled:bg-slate-3 disabled:text-slate-8", {
|
29
29
|
variants: {
|
30
30
|
radius: __assign({}, radiusVariants['base']),
|
@@ -3,7 +3,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
3
3
|
export interface InsetProps extends VariantProps<typeof insetVariants> {
|
4
4
|
}
|
5
5
|
declare const insetVariants: (props?: ({
|
6
|
-
radius?: "
|
6
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
7
7
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
8
8
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
9
9
|
export declare const Inset: React.ForwardRefExoticComponent<Omit<import("@radix-ui/themes").InsetProps & React.RefAttributes<HTMLDivElement>, "ref"> & InsetProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -24,8 +24,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import { cva } from 'class-variance-authority';
|
26
26
|
import { Inset as InsetTheme, Theme } from '@radix-ui/themes';
|
27
|
-
import { scalingVariants } from 'lib/constants';
|
28
|
-
import { cn } from 'lib/utils/utils';
|
27
|
+
import { scalingVariants } from '../../../lib/constants';
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
29
|
var insetVariants = cva('border-[1px] border-slate-6 dark:border-slateDark-6 text-slate-12 dark:text-slateDark-12', {
|
30
30
|
variants: {
|
31
31
|
radius: {
|