myshell-react-lib 0.1.0 → 0.1.2
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/index.cjs +4172 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +145 -12
- package/dist/index.d.ts +145 -12
- package/dist/index.js +4106 -5
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/components/accordion.tsx +1 -1
- package/src/components/audio-player.tsx +4 -2
- package/src/components/{icons/solid/audio-playing.tsx → audio-playing.tsx} +4 -2
- package/src/components/badge.tsx +3 -1
- package/src/components/custom-notification.tsx +1 -1
- package/src/components/icon.tsx +1 -0
- package/src/components/icons/index.tsx +13 -0
- package/src/components/icons/outline/ArrowLeftIcon.tsx +28 -0
- package/src/components/icons/outline/ArrowUpTrayIcon.tsx +28 -0
- package/src/components/icons/outline/CheckCircleIcon.tsx +27 -0
- package/src/components/icons/outline/{config.tsx → ConfigIcon.tsx} +2 -2
- package/src/components/icons/outline/DownIcon.tsx +1 -1
- package/src/components/icons/outline/PencilSquareIcon.tsx +28 -0
- package/src/components/icons/outline/WindowIcon.tsx +26 -0
- package/src/components/icons/solid/CaretDownIcon.tsx +22 -0
- package/src/components/icons/solid/CodeIcon.tsx +25 -0
- package/src/components/icons/solid/DragIcon.tsx +24 -0
- package/src/components/icons/solid/{phone.tsx → PhoneIcon.tsx} +9 -3
- package/src/components/icons/solid/RectangleGroupIcon.tsx +26 -0
- package/src/components/marquee/marquee.tsx +1 -1
- package/src/components/masonry.tsx +1 -1
- package/src/components/spinner.tsx +3 -1
- package/src/components/tabs.tsx +1 -1
- package/src/index.ts +4 -0
- package/src/stories/Spinner.stories.tsx +1 -1
- package/src/components/icons/outline/arrow-left.tsx +0 -16
- package/src/components/icons/outline/arrow-up-tray.tsx +0 -16
- package/src/components/icons/outline/check-circle.tsx +0 -17
- package/src/components/icons/outline/pencil-square.tsx +0 -16
- package/src/components/icons/outline/trash.tsx +0 -17
- package/src/components/icons/outline/window.tsx +0 -16
- package/src/components/icons/outline/x-circle.tsx +0 -17
- package/src/components/icons/outline/x-mark.tsx +0 -16
- package/src/components/icons/solid/caret-down.tsx +0 -14
- package/src/components/icons/solid/code.tsx +0 -18
- package/src/components/icons/solid/drag.tsx +0 -14
- package/src/components/icons/solid/rectangle-group.tsx +0 -14
package/dist/index.d.cts
CHANGED
|
@@ -2,10 +2,12 @@ import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
3
|
import React__default, { ReactElement, SyntheticEvent } from 'react';
|
|
4
4
|
import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
|
|
5
|
+
import * as class_variance_authority from 'class-variance-authority';
|
|
5
6
|
import { VariantProps } from 'class-variance-authority';
|
|
6
7
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
8
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
8
9
|
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
10
|
+
import { ClassNameValue } from 'tailwind-merge';
|
|
9
11
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
10
12
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
11
13
|
import { DialogProps } from '@radix-ui/react-dialog';
|
|
@@ -19,7 +21,6 @@ import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
|
|
|
19
21
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
20
22
|
import { DriveStep } from 'driver.js';
|
|
21
23
|
import { LucideIcon } from 'lucide-react';
|
|
22
|
-
import { ClassNameValue } from 'tailwind-merge';
|
|
23
24
|
import { ImagePreviewType } from 'rc-image';
|
|
24
25
|
import { UrlObject } from 'url';
|
|
25
26
|
import * as _radix_ui_react_context from '@radix-ui/react-context';
|
|
@@ -92,6 +93,12 @@ declare const AspectRatio: React$1.ForwardRefExoticComponent<AspectRatioPrimitiv
|
|
|
92
93
|
interface IAudioProps {
|
|
93
94
|
src: string;
|
|
94
95
|
}
|
|
96
|
+
declare function AudioPlayer({ src }: IAudioProps): react_jsx_runtime.JSX.Element;
|
|
97
|
+
|
|
98
|
+
interface Props {
|
|
99
|
+
bright?: boolean;
|
|
100
|
+
}
|
|
101
|
+
declare function AudioPlaying(props: Props): react_jsx_runtime.JSX.Element;
|
|
95
102
|
|
|
96
103
|
declare const AvatarRoot: React$1.ForwardRefExoticComponent<Omit<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
97
104
|
ref?: ((instance: HTMLSpanElement | null) => void | React$1.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React$1.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React$1.RefObject<HTMLSpanElement> | null | undefined;
|
|
@@ -117,6 +124,16 @@ declare const Avatar: React$1.ForwardRefExoticComponent<Omit<Omit<React$1.Detail
|
|
|
117
124
|
rootStyle?: React$1.CSSProperties;
|
|
118
125
|
} & React$1.RefAttributes<HTMLImageElement>>;
|
|
119
126
|
|
|
127
|
+
declare const badgeVariants: (props?: ({
|
|
128
|
+
status?: "default" | "hidden" | "unRead" | "cardUnRead" | "public" | "private" | "new" | null | undefined;
|
|
129
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
130
|
+
interface BadgeProps extends VariantProps<typeof badgeVariants> {
|
|
131
|
+
className?: ClassNameValue;
|
|
132
|
+
status?: 'default' | 'unRead' | 'cardUnRead' | 'public' | 'private' | 'hidden' | 'new';
|
|
133
|
+
count?: number;
|
|
134
|
+
}
|
|
135
|
+
declare function Badge(props: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
136
|
+
|
|
120
137
|
declare const buttonVariants: (props?: ({
|
|
121
138
|
variant?: "link" | "opacity" | "static" | "primary" | "secondary" | "tertiary" | "plain" | "solid" | null | undefined;
|
|
122
139
|
color?: "default" | "error" | "brand" | "gray" | "chat" | null | undefined;
|
|
@@ -341,7 +358,7 @@ declare const Guide: React$1.FC<GuideProps>;
|
|
|
341
358
|
|
|
342
359
|
declare const iconVariants: (props?: ({
|
|
343
360
|
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
344
|
-
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | null | undefined;
|
|
361
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | null | undefined;
|
|
345
362
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
346
363
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
347
364
|
type IconProps = React$1.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof iconVariants> & {
|
|
@@ -352,7 +369,7 @@ type IconProps = React$1.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof i
|
|
|
352
369
|
};
|
|
353
370
|
declare const Icon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & VariantProps<(props?: ({
|
|
354
371
|
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
355
|
-
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | null | undefined;
|
|
372
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | null | undefined;
|
|
356
373
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
357
374
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
358
375
|
/**
|
|
@@ -517,6 +534,20 @@ interface LinkProps {
|
|
|
517
534
|
}
|
|
518
535
|
declare function Link({ className, href, scroll, replace, prefetch, back, children, onClick, ...props }: LinkProps): react_jsx_runtime.JSX.Element;
|
|
519
536
|
|
|
537
|
+
interface BreakpointColsObject {
|
|
538
|
+
default: number;
|
|
539
|
+
[key: number]: number;
|
|
540
|
+
}
|
|
541
|
+
interface MasonryProps {
|
|
542
|
+
breakpointCols?: number | BreakpointColsObject;
|
|
543
|
+
className?: string;
|
|
544
|
+
columnClassName?: string;
|
|
545
|
+
children?: React__default.ReactNode;
|
|
546
|
+
columnAttrs?: React__default.HTMLAttributes<HTMLDivElement>;
|
|
547
|
+
heights?: number[];
|
|
548
|
+
}
|
|
549
|
+
declare const Masonry: React__default.FC<MasonryProps>;
|
|
550
|
+
|
|
520
551
|
declare const MenubarMenu: {
|
|
521
552
|
(props: MenubarPrimitive.MenubarMenuProps & {
|
|
522
553
|
__scopeMenubar?: _radix_ui_react_context.Scope;
|
|
@@ -1023,6 +1054,16 @@ interface ISliderSingleProps extends ISliderBaseProps {
|
|
|
1023
1054
|
}
|
|
1024
1055
|
declare const SliderSingle: React$1.ForwardRefExoticComponent<Omit<ISliderSingleProps, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
1025
1056
|
|
|
1057
|
+
declare const spinnerVariants: (props?: ({
|
|
1058
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
1059
|
+
speed?: "default" | "slow" | "fast" | null | undefined;
|
|
1060
|
+
color?: "default" | "static" | "brand" | "warning" | "success" | null | undefined;
|
|
1061
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
1062
|
+
interface SpinnerProps extends VariantProps<typeof spinnerVariants> {
|
|
1063
|
+
className?: ClassNameValue;
|
|
1064
|
+
}
|
|
1065
|
+
declare function Spinner(props: SpinnerProps): react_jsx_runtime.JSX.Element;
|
|
1066
|
+
|
|
1026
1067
|
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
1027
1068
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1028
1069
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
@@ -1199,45 +1240,45 @@ type BlockProps = {
|
|
|
1199
1240
|
declare const dangerouText: (text: string) => string;
|
|
1200
1241
|
declare const Heading: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLElement> & VariantProps<(props?: ({
|
|
1201
1242
|
size?: "h1" | "h2" | "h3" | "h4" | "h5" | null | undefined;
|
|
1202
|
-
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "inverse" | "
|
|
1243
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "inverse" | "critical" | "static" | "static-black" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1203
1244
|
lineClamp?: 1 | 2 | 3 | 4 | 5 | 6 | null | undefined;
|
|
1204
1245
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & BlockProps & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
1205
1246
|
declare const Display: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLElement> & VariantProps<(props?: ({
|
|
1206
1247
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
|
|
1207
|
-
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "inverse" | "
|
|
1248
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "inverse" | "critical" | "static" | "static-black" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1208
1249
|
lineClamp?: 1 | 2 | 3 | 4 | 5 | 6 | null | undefined;
|
|
1209
1250
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & BlockProps & React$1.RefAttributes<HTMLElement & HTMLParagraphElement>>;
|
|
1210
1251
|
declare const Title: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLElement> & VariantProps<(props?: ({
|
|
1211
1252
|
size?: "h1" | "h2" | "h3" | "h4" | "h5" | null | undefined;
|
|
1212
|
-
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "inverse" | "
|
|
1253
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "inverse" | "critical" | "static" | "static-black" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1213
1254
|
lineClamp?: 1 | 2 | 3 | 4 | 5 | 6 | null | undefined;
|
|
1214
1255
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & BlockProps & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
1215
1256
|
declare const SubHeading: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLElement> & VariantProps<(props?: ({
|
|
1216
1257
|
size?: "sm" | "lg" | null | undefined;
|
|
1217
|
-
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "inverse" | "
|
|
1258
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "inverse" | "critical" | "static" | "static-black" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1218
1259
|
lineClamp?: 1 | 2 | 3 | 4 | 5 | 6 | null | undefined;
|
|
1219
1260
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
1220
1261
|
declare const SubTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLElement> & VariantProps<(props?: ({
|
|
1221
1262
|
size?: "sm" | "lg" | null | undefined;
|
|
1222
|
-
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "inverse" | "
|
|
1263
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "inverse" | "critical" | "static" | "static-black" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1223
1264
|
lineClamp?: 1 | 2 | 3 | 4 | 5 | 6 | null | undefined;
|
|
1224
1265
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
1225
1266
|
declare const Text: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLElement> & VariantProps<(props?: ({
|
|
1226
1267
|
size?: "xs" | "sm" | "lg" | null | undefined;
|
|
1227
1268
|
weight?: "regular" | "medium" | "semibold" | null | undefined;
|
|
1228
|
-
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "inverse" | "
|
|
1269
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "inverse" | "critical" | "static" | "static-black" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1229
1270
|
lineClamp?: 1 | 2 | 3 | 4 | 5 | 6 | null | undefined;
|
|
1230
1271
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & BlockProps & React$1.RefAttributes<HTMLElement & HTMLParagraphElement>>;
|
|
1231
1272
|
declare const Paragraph: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLElement> & VariantProps<(props?: ({
|
|
1232
1273
|
size?: "xs" | "sm" | "lg" | null | undefined;
|
|
1233
1274
|
weight?: "regular" | "medium" | "semibold" | null | undefined;
|
|
1234
|
-
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "inverse" | "
|
|
1275
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "inverse" | "critical" | "static" | "static-black" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1235
1276
|
lineClamp?: 1 | 2 | 3 | 4 | 5 | 6 | null | undefined;
|
|
1236
1277
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & BlockProps & React$1.RefAttributes<HTMLElement & HTMLParagraphElement>>;
|
|
1237
1278
|
declare const Description: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLElement> & VariantProps<(props?: ({
|
|
1238
1279
|
size?: "sm" | "lg" | null | undefined;
|
|
1239
1280
|
weight?: "regular" | "medium" | null | undefined;
|
|
1240
|
-
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "inverse" | "
|
|
1281
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "inverse" | "critical" | "static" | "static-black" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1241
1282
|
lineClamp?: 1 | 2 | 3 | 4 | 5 | 6 | null | undefined;
|
|
1242
1283
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & BlockProps & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
1243
1284
|
|
|
@@ -1428,4 +1469,96 @@ declare global {
|
|
|
1428
1469
|
}
|
|
1429
1470
|
}
|
|
1430
1471
|
|
|
1431
|
-
|
|
1472
|
+
declare function DownIcon({ className }: {
|
|
1473
|
+
className?: string;
|
|
1474
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1475
|
+
|
|
1476
|
+
declare const ArrowLeftIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
1477
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
1478
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | null | undefined;
|
|
1479
|
+
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1480
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1481
|
+
component?: React$1.ElementType;
|
|
1482
|
+
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1483
|
+
|
|
1484
|
+
declare const ArrowUpTrayIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
1485
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
1486
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | null | undefined;
|
|
1487
|
+
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1488
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1489
|
+
component?: React$1.ElementType;
|
|
1490
|
+
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1491
|
+
|
|
1492
|
+
declare const WindowIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
1493
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
1494
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | null | undefined;
|
|
1495
|
+
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1496
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1497
|
+
component?: React$1.ElementType;
|
|
1498
|
+
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1499
|
+
|
|
1500
|
+
declare const CheckCircleIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
1501
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
1502
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | null | undefined;
|
|
1503
|
+
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1504
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1505
|
+
component?: React$1.ElementType;
|
|
1506
|
+
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1507
|
+
|
|
1508
|
+
declare const PencilSquareIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
1509
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
1510
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | null | undefined;
|
|
1511
|
+
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1512
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1513
|
+
component?: React$1.ElementType;
|
|
1514
|
+
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1515
|
+
|
|
1516
|
+
declare const ConfigIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
1517
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
1518
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | null | undefined;
|
|
1519
|
+
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1520
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1521
|
+
component?: React$1.ElementType;
|
|
1522
|
+
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1523
|
+
|
|
1524
|
+
declare const CaretDownIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
1525
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
1526
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | null | undefined;
|
|
1527
|
+
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1528
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1529
|
+
component?: React$1.ElementType;
|
|
1530
|
+
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1531
|
+
|
|
1532
|
+
declare const CodeIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
1533
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
1534
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | null | undefined;
|
|
1535
|
+
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1536
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1537
|
+
component?: React$1.ElementType;
|
|
1538
|
+
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1539
|
+
|
|
1540
|
+
declare const DragIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
1541
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
1542
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | null | undefined;
|
|
1543
|
+
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1544
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1545
|
+
component?: React$1.ElementType;
|
|
1546
|
+
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1547
|
+
|
|
1548
|
+
declare const PhoneIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
1549
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
1550
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | null | undefined;
|
|
1551
|
+
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1552
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1553
|
+
component?: React$1.ElementType;
|
|
1554
|
+
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1555
|
+
|
|
1556
|
+
declare const RectangleGroupIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
1557
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
1558
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | null | undefined;
|
|
1559
|
+
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1560
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1561
|
+
component?: React$1.ElementType;
|
|
1562
|
+
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1563
|
+
|
|
1564
|
+
export { Accordion, AccordionContent, AccordionItem, type AccordionItemProps, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, ArrowLeftIcon, ArrowUpTrayIcon, AspectRatio, AudioPlayer, AudioPlaying, Avatar, AvatarImage, AvatarRoot, Badge, Button, type ButtonProps, CaretDownIcon, type CascaderOption, CheckCircleIcon, Checkbox, CodeIcon, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfigIcon, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type CustomToasterProps, Description, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Display, DownIcon, DragIcon, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Guide, Heading, type HeroIcon$1 as HeroIcon, type IAudioProps, type INumberInputProps, type ISelectProps, Icon, IconButton, type IconButtonProps, type IconComponent, type IconProps, Image, type ImageProps, Input, type InputProps, Label, Link, type LinkProps, Masonry, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, Modal, ModalBody, ModalContent, ModalFooter, ModalHeader, ModalOverlay, ModalRoot, ModalTitle, NavigationBar, NumberInput, Paragraph, PencilSquareIcon, PhoneIcon, Popover, PopoverAnchor, PopoverContent, type PopoverContentExs, PopoverRoot, Progress, type ProgressProps, type Props, RadioGroup, RadioGroupItem, RectangleGroupIcon, ScrollArea, ScrollBar, SearchBar, type SearchBarProps, type SearchInputProps, SecondaryNavigationBar, Select, SelectContent, SelectGroup, SelectIcon, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Slider, SliderSingle, Spinner, SubHeading, SubTitle, Swiper, type SwiperProps, Switch, type TModalState, Tab, Tabs, TabsContent, Text, Textarea, type TextareaProps, Title, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, type ToastType, ToastViewport, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipProvider, WindowIcon, buttonVariants, dangerouText, iconButtonVariants, reducer, toast, toggleVariants, useDevice, useFormField, useIsMobileByWindowWidth, useNativeBridge, useNotification, useToast, useWindowWidth };
|
package/dist/index.d.ts
CHANGED
|
@@ -2,10 +2,12 @@ import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
3
|
import React__default, { ReactElement, SyntheticEvent } from 'react';
|
|
4
4
|
import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
|
|
5
|
+
import * as class_variance_authority from 'class-variance-authority';
|
|
5
6
|
import { VariantProps } from 'class-variance-authority';
|
|
6
7
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
8
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
8
9
|
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
10
|
+
import { ClassNameValue } from 'tailwind-merge';
|
|
9
11
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
10
12
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
11
13
|
import { DialogProps } from '@radix-ui/react-dialog';
|
|
@@ -19,7 +21,6 @@ import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
|
|
|
19
21
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
20
22
|
import { DriveStep } from 'driver.js';
|
|
21
23
|
import { LucideIcon } from 'lucide-react';
|
|
22
|
-
import { ClassNameValue } from 'tailwind-merge';
|
|
23
24
|
import { ImagePreviewType } from 'rc-image';
|
|
24
25
|
import { UrlObject } from 'url';
|
|
25
26
|
import * as _radix_ui_react_context from '@radix-ui/react-context';
|
|
@@ -92,6 +93,12 @@ declare const AspectRatio: React$1.ForwardRefExoticComponent<AspectRatioPrimitiv
|
|
|
92
93
|
interface IAudioProps {
|
|
93
94
|
src: string;
|
|
94
95
|
}
|
|
96
|
+
declare function AudioPlayer({ src }: IAudioProps): react_jsx_runtime.JSX.Element;
|
|
97
|
+
|
|
98
|
+
interface Props {
|
|
99
|
+
bright?: boolean;
|
|
100
|
+
}
|
|
101
|
+
declare function AudioPlaying(props: Props): react_jsx_runtime.JSX.Element;
|
|
95
102
|
|
|
96
103
|
declare const AvatarRoot: React$1.ForwardRefExoticComponent<Omit<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
97
104
|
ref?: ((instance: HTMLSpanElement | null) => void | React$1.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React$1.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React$1.RefObject<HTMLSpanElement> | null | undefined;
|
|
@@ -117,6 +124,16 @@ declare const Avatar: React$1.ForwardRefExoticComponent<Omit<Omit<React$1.Detail
|
|
|
117
124
|
rootStyle?: React$1.CSSProperties;
|
|
118
125
|
} & React$1.RefAttributes<HTMLImageElement>>;
|
|
119
126
|
|
|
127
|
+
declare const badgeVariants: (props?: ({
|
|
128
|
+
status?: "default" | "hidden" | "unRead" | "cardUnRead" | "public" | "private" | "new" | null | undefined;
|
|
129
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
130
|
+
interface BadgeProps extends VariantProps<typeof badgeVariants> {
|
|
131
|
+
className?: ClassNameValue;
|
|
132
|
+
status?: 'default' | 'unRead' | 'cardUnRead' | 'public' | 'private' | 'hidden' | 'new';
|
|
133
|
+
count?: number;
|
|
134
|
+
}
|
|
135
|
+
declare function Badge(props: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
136
|
+
|
|
120
137
|
declare const buttonVariants: (props?: ({
|
|
121
138
|
variant?: "link" | "opacity" | "static" | "primary" | "secondary" | "tertiary" | "plain" | "solid" | null | undefined;
|
|
122
139
|
color?: "default" | "error" | "brand" | "gray" | "chat" | null | undefined;
|
|
@@ -341,7 +358,7 @@ declare const Guide: React$1.FC<GuideProps>;
|
|
|
341
358
|
|
|
342
359
|
declare const iconVariants: (props?: ({
|
|
343
360
|
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
344
|
-
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | null | undefined;
|
|
361
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | null | undefined;
|
|
345
362
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
346
363
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
347
364
|
type IconProps = React$1.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof iconVariants> & {
|
|
@@ -352,7 +369,7 @@ type IconProps = React$1.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof i
|
|
|
352
369
|
};
|
|
353
370
|
declare const Icon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & VariantProps<(props?: ({
|
|
354
371
|
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
355
|
-
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | null | undefined;
|
|
372
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | null | undefined;
|
|
356
373
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
357
374
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
358
375
|
/**
|
|
@@ -517,6 +534,20 @@ interface LinkProps {
|
|
|
517
534
|
}
|
|
518
535
|
declare function Link({ className, href, scroll, replace, prefetch, back, children, onClick, ...props }: LinkProps): react_jsx_runtime.JSX.Element;
|
|
519
536
|
|
|
537
|
+
interface BreakpointColsObject {
|
|
538
|
+
default: number;
|
|
539
|
+
[key: number]: number;
|
|
540
|
+
}
|
|
541
|
+
interface MasonryProps {
|
|
542
|
+
breakpointCols?: number | BreakpointColsObject;
|
|
543
|
+
className?: string;
|
|
544
|
+
columnClassName?: string;
|
|
545
|
+
children?: React__default.ReactNode;
|
|
546
|
+
columnAttrs?: React__default.HTMLAttributes<HTMLDivElement>;
|
|
547
|
+
heights?: number[];
|
|
548
|
+
}
|
|
549
|
+
declare const Masonry: React__default.FC<MasonryProps>;
|
|
550
|
+
|
|
520
551
|
declare const MenubarMenu: {
|
|
521
552
|
(props: MenubarPrimitive.MenubarMenuProps & {
|
|
522
553
|
__scopeMenubar?: _radix_ui_react_context.Scope;
|
|
@@ -1023,6 +1054,16 @@ interface ISliderSingleProps extends ISliderBaseProps {
|
|
|
1023
1054
|
}
|
|
1024
1055
|
declare const SliderSingle: React$1.ForwardRefExoticComponent<Omit<ISliderSingleProps, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
1025
1056
|
|
|
1057
|
+
declare const spinnerVariants: (props?: ({
|
|
1058
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
1059
|
+
speed?: "default" | "slow" | "fast" | null | undefined;
|
|
1060
|
+
color?: "default" | "static" | "brand" | "warning" | "success" | null | undefined;
|
|
1061
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
1062
|
+
interface SpinnerProps extends VariantProps<typeof spinnerVariants> {
|
|
1063
|
+
className?: ClassNameValue;
|
|
1064
|
+
}
|
|
1065
|
+
declare function Spinner(props: SpinnerProps): react_jsx_runtime.JSX.Element;
|
|
1066
|
+
|
|
1026
1067
|
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
1027
1068
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1028
1069
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
@@ -1199,45 +1240,45 @@ type BlockProps = {
|
|
|
1199
1240
|
declare const dangerouText: (text: string) => string;
|
|
1200
1241
|
declare const Heading: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLElement> & VariantProps<(props?: ({
|
|
1201
1242
|
size?: "h1" | "h2" | "h3" | "h4" | "h5" | null | undefined;
|
|
1202
|
-
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "inverse" | "
|
|
1243
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "inverse" | "critical" | "static" | "static-black" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1203
1244
|
lineClamp?: 1 | 2 | 3 | 4 | 5 | 6 | null | undefined;
|
|
1204
1245
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & BlockProps & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
1205
1246
|
declare const Display: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLElement> & VariantProps<(props?: ({
|
|
1206
1247
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
|
|
1207
|
-
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "inverse" | "
|
|
1248
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "inverse" | "critical" | "static" | "static-black" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1208
1249
|
lineClamp?: 1 | 2 | 3 | 4 | 5 | 6 | null | undefined;
|
|
1209
1250
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & BlockProps & React$1.RefAttributes<HTMLElement & HTMLParagraphElement>>;
|
|
1210
1251
|
declare const Title: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLElement> & VariantProps<(props?: ({
|
|
1211
1252
|
size?: "h1" | "h2" | "h3" | "h4" | "h5" | null | undefined;
|
|
1212
|
-
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "inverse" | "
|
|
1253
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "inverse" | "critical" | "static" | "static-black" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1213
1254
|
lineClamp?: 1 | 2 | 3 | 4 | 5 | 6 | null | undefined;
|
|
1214
1255
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & BlockProps & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
1215
1256
|
declare const SubHeading: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLElement> & VariantProps<(props?: ({
|
|
1216
1257
|
size?: "sm" | "lg" | null | undefined;
|
|
1217
|
-
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "inverse" | "
|
|
1258
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "inverse" | "critical" | "static" | "static-black" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1218
1259
|
lineClamp?: 1 | 2 | 3 | 4 | 5 | 6 | null | undefined;
|
|
1219
1260
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
1220
1261
|
declare const SubTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLElement> & VariantProps<(props?: ({
|
|
1221
1262
|
size?: "sm" | "lg" | null | undefined;
|
|
1222
|
-
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "inverse" | "
|
|
1263
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "inverse" | "critical" | "static" | "static-black" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1223
1264
|
lineClamp?: 1 | 2 | 3 | 4 | 5 | 6 | null | undefined;
|
|
1224
1265
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
1225
1266
|
declare const Text: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLElement> & VariantProps<(props?: ({
|
|
1226
1267
|
size?: "xs" | "sm" | "lg" | null | undefined;
|
|
1227
1268
|
weight?: "regular" | "medium" | "semibold" | null | undefined;
|
|
1228
|
-
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "inverse" | "
|
|
1269
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "inverse" | "critical" | "static" | "static-black" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1229
1270
|
lineClamp?: 1 | 2 | 3 | 4 | 5 | 6 | null | undefined;
|
|
1230
1271
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & BlockProps & React$1.RefAttributes<HTMLElement & HTMLParagraphElement>>;
|
|
1231
1272
|
declare const Paragraph: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLElement> & VariantProps<(props?: ({
|
|
1232
1273
|
size?: "xs" | "sm" | "lg" | null | undefined;
|
|
1233
1274
|
weight?: "regular" | "medium" | "semibold" | null | undefined;
|
|
1234
|
-
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "inverse" | "
|
|
1275
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "inverse" | "critical" | "static" | "static-black" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1235
1276
|
lineClamp?: 1 | 2 | 3 | 4 | 5 | 6 | null | undefined;
|
|
1236
1277
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & BlockProps & React$1.RefAttributes<HTMLElement & HTMLParagraphElement>>;
|
|
1237
1278
|
declare const Description: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLElement> & VariantProps<(props?: ({
|
|
1238
1279
|
size?: "sm" | "lg" | null | undefined;
|
|
1239
1280
|
weight?: "regular" | "medium" | null | undefined;
|
|
1240
|
-
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "inverse" | "
|
|
1281
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "inverse" | "critical" | "static" | "static-black" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1241
1282
|
lineClamp?: 1 | 2 | 3 | 4 | 5 | 6 | null | undefined;
|
|
1242
1283
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & BlockProps & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
1243
1284
|
|
|
@@ -1428,4 +1469,96 @@ declare global {
|
|
|
1428
1469
|
}
|
|
1429
1470
|
}
|
|
1430
1471
|
|
|
1431
|
-
|
|
1472
|
+
declare function DownIcon({ className }: {
|
|
1473
|
+
className?: string;
|
|
1474
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1475
|
+
|
|
1476
|
+
declare const ArrowLeftIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
1477
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
1478
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | null | undefined;
|
|
1479
|
+
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1480
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1481
|
+
component?: React$1.ElementType;
|
|
1482
|
+
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1483
|
+
|
|
1484
|
+
declare const ArrowUpTrayIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
1485
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
1486
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | null | undefined;
|
|
1487
|
+
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1488
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1489
|
+
component?: React$1.ElementType;
|
|
1490
|
+
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1491
|
+
|
|
1492
|
+
declare const WindowIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
1493
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
1494
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | null | undefined;
|
|
1495
|
+
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1496
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1497
|
+
component?: React$1.ElementType;
|
|
1498
|
+
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1499
|
+
|
|
1500
|
+
declare const CheckCircleIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
1501
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
1502
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | null | undefined;
|
|
1503
|
+
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1504
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1505
|
+
component?: React$1.ElementType;
|
|
1506
|
+
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1507
|
+
|
|
1508
|
+
declare const PencilSquareIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
1509
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
1510
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | null | undefined;
|
|
1511
|
+
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1512
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1513
|
+
component?: React$1.ElementType;
|
|
1514
|
+
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1515
|
+
|
|
1516
|
+
declare const ConfigIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
1517
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
1518
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | null | undefined;
|
|
1519
|
+
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1520
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1521
|
+
component?: React$1.ElementType;
|
|
1522
|
+
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1523
|
+
|
|
1524
|
+
declare const CaretDownIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
1525
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
1526
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | null | undefined;
|
|
1527
|
+
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1528
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1529
|
+
component?: React$1.ElementType;
|
|
1530
|
+
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1531
|
+
|
|
1532
|
+
declare const CodeIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
1533
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
1534
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | null | undefined;
|
|
1535
|
+
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1536
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1537
|
+
component?: React$1.ElementType;
|
|
1538
|
+
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1539
|
+
|
|
1540
|
+
declare const DragIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
1541
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
1542
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | null | undefined;
|
|
1543
|
+
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1544
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1545
|
+
component?: React$1.ElementType;
|
|
1546
|
+
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1547
|
+
|
|
1548
|
+
declare const PhoneIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
1549
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
1550
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | null | undefined;
|
|
1551
|
+
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1552
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1553
|
+
component?: React$1.ElementType;
|
|
1554
|
+
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1555
|
+
|
|
1556
|
+
declare const RectangleGroupIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
1557
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
1558
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | null | undefined;
|
|
1559
|
+
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1560
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1561
|
+
component?: React$1.ElementType;
|
|
1562
|
+
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1563
|
+
|
|
1564
|
+
export { Accordion, AccordionContent, AccordionItem, type AccordionItemProps, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, ArrowLeftIcon, ArrowUpTrayIcon, AspectRatio, AudioPlayer, AudioPlaying, Avatar, AvatarImage, AvatarRoot, Badge, Button, type ButtonProps, CaretDownIcon, type CascaderOption, CheckCircleIcon, Checkbox, CodeIcon, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfigIcon, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type CustomToasterProps, Description, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Display, DownIcon, DragIcon, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Guide, Heading, type HeroIcon$1 as HeroIcon, type IAudioProps, type INumberInputProps, type ISelectProps, Icon, IconButton, type IconButtonProps, type IconComponent, type IconProps, Image, type ImageProps, Input, type InputProps, Label, Link, type LinkProps, Masonry, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, Modal, ModalBody, ModalContent, ModalFooter, ModalHeader, ModalOverlay, ModalRoot, ModalTitle, NavigationBar, NumberInput, Paragraph, PencilSquareIcon, PhoneIcon, Popover, PopoverAnchor, PopoverContent, type PopoverContentExs, PopoverRoot, Progress, type ProgressProps, type Props, RadioGroup, RadioGroupItem, RectangleGroupIcon, ScrollArea, ScrollBar, SearchBar, type SearchBarProps, type SearchInputProps, SecondaryNavigationBar, Select, SelectContent, SelectGroup, SelectIcon, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Slider, SliderSingle, Spinner, SubHeading, SubTitle, Swiper, type SwiperProps, Switch, type TModalState, Tab, Tabs, TabsContent, Text, Textarea, type TextareaProps, Title, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, type ToastType, ToastViewport, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipProvider, WindowIcon, buttonVariants, dangerouText, iconButtonVariants, reducer, toast, toggleVariants, useDevice, useFormField, useIsMobileByWindowWidth, useNativeBridge, useNotification, useToast, useWindowWidth };
|