myshell-react-lib 0.1.80 → 0.2.0
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 +102 -176
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +20 -29
- package/dist/index.d.ts +20 -29
- package/dist/index.js +78 -148
- package/dist/index.js.map +1 -1
- package/package.json +2 -3
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
|
-
import React__default, {
|
|
3
|
+
import React__default, { ReactElement, SyntheticEvent } from 'react';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
6
6
|
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
@@ -217,7 +217,7 @@ declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
217
217
|
} & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
218
218
|
declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
|
|
219
219
|
children?: React$1.ReactNode;
|
|
220
|
-
} & Omit<React$1.HTMLAttributes<HTMLDivElement>, "
|
|
220
|
+
} & Omit<React$1.HTMLAttributes<HTMLDivElement>, "value" | "heading"> & {
|
|
221
221
|
heading?: React$1.ReactNode;
|
|
222
222
|
value?: string;
|
|
223
223
|
forceMount?: boolean;
|
|
@@ -385,12 +385,11 @@ declare const iconVariants: (props?: ({
|
|
|
385
385
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
386
386
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
387
387
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
388
|
-
type IconComponentType = React$1.ElementType | (() => ReactNode);
|
|
389
388
|
type IconProps = React$1.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof iconVariants> & {
|
|
390
389
|
/**
|
|
391
|
-
* icon 组件
|
|
390
|
+
* icon 组件
|
|
392
391
|
*/
|
|
393
|
-
component?:
|
|
392
|
+
component?: React$1.ElementType;
|
|
394
393
|
};
|
|
395
394
|
declare const Icon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & VariantProps<(props?: ({
|
|
396
395
|
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
@@ -398,9 +397,9 @@ declare const Icon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTM
|
|
|
398
397
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
399
398
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
400
399
|
/**
|
|
401
|
-
* icon 组件
|
|
400
|
+
* icon 组件
|
|
402
401
|
*/
|
|
403
|
-
component?:
|
|
402
|
+
component?: React$1.ElementType;
|
|
404
403
|
} & React$1.RefAttributes<HTMLSpanElement>>;
|
|
405
404
|
type IconComponent = React$1.ForwardRefExoticComponent<IconProps>;
|
|
406
405
|
|
|
@@ -428,7 +427,7 @@ type IconButtonProps<V extends VariantType = VariantType> = Omit<IconButtonBaseP
|
|
|
428
427
|
color?: V extends keyof VariantColorMap ? VariantColorMap[V] : never;
|
|
429
428
|
};
|
|
430
429
|
|
|
431
|
-
type
|
|
430
|
+
type IconType = React$1.ForwardRefExoticComponent<React$1.PropsWithoutRef<React$1.SVGProps<SVGSVGElement>> & {
|
|
432
431
|
title?: string;
|
|
433
432
|
titleId?: string;
|
|
434
433
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
@@ -436,7 +435,7 @@ interface IconButtonComponentProps<V extends VariantType = VariantType> extends
|
|
|
436
435
|
asChild?: boolean;
|
|
437
436
|
loading?: boolean;
|
|
438
437
|
disabled?: boolean;
|
|
439
|
-
icon?:
|
|
438
|
+
icon?: IconType | LucideIcon | IconComponent | React$1.ElementType;
|
|
440
439
|
hoverText?: string;
|
|
441
440
|
hoverSide?: 'top' | 'right' | 'bottom' | 'left';
|
|
442
441
|
iconClassName?: ClassNameValue;
|
|
@@ -1640,7 +1639,7 @@ declare const DownIcon: React__default.ForwardRefExoticComponent<React__default.
|
|
|
1640
1639
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1641
1640
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1642
1641
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1643
|
-
component?: React__default.ElementType
|
|
1642
|
+
component?: React__default.ElementType;
|
|
1644
1643
|
} & React__default.RefAttributes<SVGSVGElement>>;
|
|
1645
1644
|
|
|
1646
1645
|
declare const ArrowLeftIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1648,7 +1647,7 @@ declare const ArrowLeftIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttri
|
|
|
1648
1647
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1649
1648
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1650
1649
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1651
|
-
component?: React$1.ElementType
|
|
1650
|
+
component?: React$1.ElementType;
|
|
1652
1651
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1653
1652
|
|
|
1654
1653
|
declare const ArrowUpTrayIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1656,7 +1655,7 @@ declare const ArrowUpTrayIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAtt
|
|
|
1656
1655
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1657
1656
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1658
1657
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1659
|
-
component?: React$1.ElementType
|
|
1658
|
+
component?: React$1.ElementType;
|
|
1660
1659
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1661
1660
|
|
|
1662
1661
|
declare const WindowIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1664,15 +1663,7 @@ declare const WindowIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttribut
|
|
|
1664
1663
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1665
1664
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1666
1665
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1667
|
-
component?: React$1.ElementType
|
|
1668
|
-
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1669
|
-
|
|
1670
|
-
declare const CheckCircleIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
1671
|
-
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
1672
|
-
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1673
|
-
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1674
|
-
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1675
|
-
component?: React$1.ElementType<any, keyof React$1.JSX.IntrinsicElements> | (() => React$1.ReactNode);
|
|
1666
|
+
component?: React$1.ElementType;
|
|
1676
1667
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1677
1668
|
|
|
1678
1669
|
declare const PencilSquareIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1680,7 +1671,7 @@ declare const PencilSquareIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAt
|
|
|
1680
1671
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1681
1672
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1682
1673
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1683
|
-
component?: React$1.ElementType
|
|
1674
|
+
component?: React$1.ElementType;
|
|
1684
1675
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1685
1676
|
|
|
1686
1677
|
declare const ConfigIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1688,7 +1679,7 @@ declare const ConfigIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttribut
|
|
|
1688
1679
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1689
1680
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1690
1681
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1691
|
-
component?: React$1.ElementType
|
|
1682
|
+
component?: React$1.ElementType;
|
|
1692
1683
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1693
1684
|
|
|
1694
1685
|
declare const FilterIcon: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1696,7 +1687,7 @@ declare const FilterIcon: React__default.ForwardRefExoticComponent<React__defaul
|
|
|
1696
1687
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1697
1688
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1698
1689
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1699
|
-
component?: React__default.ElementType
|
|
1690
|
+
component?: React__default.ElementType;
|
|
1700
1691
|
} & React__default.RefAttributes<SVGSVGElement>>;
|
|
1701
1692
|
|
|
1702
1693
|
declare const CaretDownIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1704,7 +1695,7 @@ declare const CaretDownIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttri
|
|
|
1704
1695
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1705
1696
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1706
1697
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1707
|
-
component?: React$1.ElementType
|
|
1698
|
+
component?: React$1.ElementType;
|
|
1708
1699
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1709
1700
|
|
|
1710
1701
|
declare const CodeIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1712,7 +1703,7 @@ declare const CodeIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes
|
|
|
1712
1703
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1713
1704
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1714
1705
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1715
|
-
component?: React$1.ElementType
|
|
1706
|
+
component?: React$1.ElementType;
|
|
1716
1707
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1717
1708
|
|
|
1718
1709
|
declare const DragIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1720,7 +1711,7 @@ declare const DragIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes
|
|
|
1720
1711
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1721
1712
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1722
1713
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1723
|
-
component?: React$1.ElementType
|
|
1714
|
+
component?: React$1.ElementType;
|
|
1724
1715
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1725
1716
|
|
|
1726
1717
|
declare const RectangleGroupIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1728,7 +1719,7 @@ declare const RectangleGroupIcon: React$1.ForwardRefExoticComponent<React$1.HTML
|
|
|
1728
1719
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1729
1720
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1730
1721
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1731
|
-
component?: React$1.ElementType
|
|
1722
|
+
component?: React$1.ElementType;
|
|
1732
1723
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1733
1724
|
|
|
1734
|
-
export { Accordion, AccordionContent, AccordionItem, type AccordionItemProps, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, ArrowLeftIcon, ArrowUpTrayIcon, AspectRatio, AudioPlayer, AudioPlaying, Avatar, AvatarImage, AvatarRoot, Badge, Button, type ButtonComponentProps, type ButtonProps, CaretDownIcon, type CascaderOption,
|
|
1725
|
+
export { Accordion, AccordionContent, AccordionItem, type AccordionItemProps, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, ArrowLeftIcon, ArrowUpTrayIcon, AspectRatio, AudioPlayer, AudioPlaying, Avatar, AvatarImage, AvatarRoot, Badge, Button, type ButtonComponentProps, type ButtonProps, CaretDownIcon, type CascaderOption, Checkbox, Chips, 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, ErrorState, FilterIcon, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type FormRef, Guide, Heading, type IAudioProps, type INumberInputProps, type ISelectProps, Icon, IconButton, type IconButtonComponentProps, type IconComponent, type IconProps, type IconType, 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, MiddleBar, Modal, ModalBody, ModalContent, ModalFooter, ModalHeader, ModalOverlay, ModalRoot, ModalTitle, MultipleSelector, type MultipleSelectorRef, NetworkErrorState, NoPageState, NotFoundState, NumberInput, type Option, Paragraph, PencilSquareIcon, Popover, PopoverAnchor, PopoverContent, type PopoverContentExs, PopoverRoot, Progress, ProgressIndicator, type ProgressProps, ProgressRoot, type Props, RadioGroup, RadioGroupItem, RectangleGroupIcon, ScrollArea, ScrollBar, SearchBar, type SearchBarProps, type SearchInputProps, 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, State$1 as State, SubHeading, SubTitle, Swiper, type SwiperProps, Switch, type TModalState, Tab, Tabs, TabsContent, TabsList, TabsRoot, TabsTrigger, 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, TopNavigationBar, WindowIcon, buttonVariants, dangerouText, iconButtonVariants, reducer, toast, toggleVariants, useDebounce, useDevice, useFormField, useIsMobileByWindowWidth, useNativeBridge, useNotification, useToast, useWindowWidth };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
|
-
import React__default, {
|
|
3
|
+
import React__default, { ReactElement, SyntheticEvent } from 'react';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
6
6
|
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
@@ -217,7 +217,7 @@ declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
217
217
|
} & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
218
218
|
declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
|
|
219
219
|
children?: React$1.ReactNode;
|
|
220
|
-
} & Omit<React$1.HTMLAttributes<HTMLDivElement>, "
|
|
220
|
+
} & Omit<React$1.HTMLAttributes<HTMLDivElement>, "value" | "heading"> & {
|
|
221
221
|
heading?: React$1.ReactNode;
|
|
222
222
|
value?: string;
|
|
223
223
|
forceMount?: boolean;
|
|
@@ -385,12 +385,11 @@ declare const iconVariants: (props?: ({
|
|
|
385
385
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
386
386
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
387
387
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
388
|
-
type IconComponentType = React$1.ElementType | (() => ReactNode);
|
|
389
388
|
type IconProps = React$1.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof iconVariants> & {
|
|
390
389
|
/**
|
|
391
|
-
* icon 组件
|
|
390
|
+
* icon 组件
|
|
392
391
|
*/
|
|
393
|
-
component?:
|
|
392
|
+
component?: React$1.ElementType;
|
|
394
393
|
};
|
|
395
394
|
declare const Icon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & VariantProps<(props?: ({
|
|
396
395
|
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
@@ -398,9 +397,9 @@ declare const Icon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTM
|
|
|
398
397
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
399
398
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
400
399
|
/**
|
|
401
|
-
* icon 组件
|
|
400
|
+
* icon 组件
|
|
402
401
|
*/
|
|
403
|
-
component?:
|
|
402
|
+
component?: React$1.ElementType;
|
|
404
403
|
} & React$1.RefAttributes<HTMLSpanElement>>;
|
|
405
404
|
type IconComponent = React$1.ForwardRefExoticComponent<IconProps>;
|
|
406
405
|
|
|
@@ -428,7 +427,7 @@ type IconButtonProps<V extends VariantType = VariantType> = Omit<IconButtonBaseP
|
|
|
428
427
|
color?: V extends keyof VariantColorMap ? VariantColorMap[V] : never;
|
|
429
428
|
};
|
|
430
429
|
|
|
431
|
-
type
|
|
430
|
+
type IconType = React$1.ForwardRefExoticComponent<React$1.PropsWithoutRef<React$1.SVGProps<SVGSVGElement>> & {
|
|
432
431
|
title?: string;
|
|
433
432
|
titleId?: string;
|
|
434
433
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
@@ -436,7 +435,7 @@ interface IconButtonComponentProps<V extends VariantType = VariantType> extends
|
|
|
436
435
|
asChild?: boolean;
|
|
437
436
|
loading?: boolean;
|
|
438
437
|
disabled?: boolean;
|
|
439
|
-
icon?:
|
|
438
|
+
icon?: IconType | LucideIcon | IconComponent | React$1.ElementType;
|
|
440
439
|
hoverText?: string;
|
|
441
440
|
hoverSide?: 'top' | 'right' | 'bottom' | 'left';
|
|
442
441
|
iconClassName?: ClassNameValue;
|
|
@@ -1640,7 +1639,7 @@ declare const DownIcon: React__default.ForwardRefExoticComponent<React__default.
|
|
|
1640
1639
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1641
1640
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1642
1641
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1643
|
-
component?: React__default.ElementType
|
|
1642
|
+
component?: React__default.ElementType;
|
|
1644
1643
|
} & React__default.RefAttributes<SVGSVGElement>>;
|
|
1645
1644
|
|
|
1646
1645
|
declare const ArrowLeftIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1648,7 +1647,7 @@ declare const ArrowLeftIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttri
|
|
|
1648
1647
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1649
1648
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1650
1649
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1651
|
-
component?: React$1.ElementType
|
|
1650
|
+
component?: React$1.ElementType;
|
|
1652
1651
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1653
1652
|
|
|
1654
1653
|
declare const ArrowUpTrayIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1656,7 +1655,7 @@ declare const ArrowUpTrayIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAtt
|
|
|
1656
1655
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1657
1656
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1658
1657
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1659
|
-
component?: React$1.ElementType
|
|
1658
|
+
component?: React$1.ElementType;
|
|
1660
1659
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1661
1660
|
|
|
1662
1661
|
declare const WindowIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1664,15 +1663,7 @@ declare const WindowIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttribut
|
|
|
1664
1663
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1665
1664
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1666
1665
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1667
|
-
component?: React$1.ElementType
|
|
1668
|
-
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1669
|
-
|
|
1670
|
-
declare const CheckCircleIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
1671
|
-
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
1672
|
-
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1673
|
-
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1674
|
-
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1675
|
-
component?: React$1.ElementType<any, keyof React$1.JSX.IntrinsicElements> | (() => React$1.ReactNode);
|
|
1666
|
+
component?: React$1.ElementType;
|
|
1676
1667
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1677
1668
|
|
|
1678
1669
|
declare const PencilSquareIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1680,7 +1671,7 @@ declare const PencilSquareIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAt
|
|
|
1680
1671
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1681
1672
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1682
1673
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1683
|
-
component?: React$1.ElementType
|
|
1674
|
+
component?: React$1.ElementType;
|
|
1684
1675
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1685
1676
|
|
|
1686
1677
|
declare const ConfigIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1688,7 +1679,7 @@ declare const ConfigIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttribut
|
|
|
1688
1679
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1689
1680
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1690
1681
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1691
|
-
component?: React$1.ElementType
|
|
1682
|
+
component?: React$1.ElementType;
|
|
1692
1683
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1693
1684
|
|
|
1694
1685
|
declare const FilterIcon: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1696,7 +1687,7 @@ declare const FilterIcon: React__default.ForwardRefExoticComponent<React__defaul
|
|
|
1696
1687
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1697
1688
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1698
1689
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1699
|
-
component?: React__default.ElementType
|
|
1690
|
+
component?: React__default.ElementType;
|
|
1700
1691
|
} & React__default.RefAttributes<SVGSVGElement>>;
|
|
1701
1692
|
|
|
1702
1693
|
declare const CaretDownIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1704,7 +1695,7 @@ declare const CaretDownIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttri
|
|
|
1704
1695
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1705
1696
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1706
1697
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1707
|
-
component?: React$1.ElementType
|
|
1698
|
+
component?: React$1.ElementType;
|
|
1708
1699
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1709
1700
|
|
|
1710
1701
|
declare const CodeIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1712,7 +1703,7 @@ declare const CodeIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes
|
|
|
1712
1703
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1713
1704
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1714
1705
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1715
|
-
component?: React$1.ElementType
|
|
1706
|
+
component?: React$1.ElementType;
|
|
1716
1707
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1717
1708
|
|
|
1718
1709
|
declare const DragIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1720,7 +1711,7 @@ declare const DragIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes
|
|
|
1720
1711
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1721
1712
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1722
1713
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1723
|
-
component?: React$1.ElementType
|
|
1714
|
+
component?: React$1.ElementType;
|
|
1724
1715
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1725
1716
|
|
|
1726
1717
|
declare const RectangleGroupIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1728,7 +1719,7 @@ declare const RectangleGroupIcon: React$1.ForwardRefExoticComponent<React$1.HTML
|
|
|
1728
1719
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1729
1720
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1730
1721
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1731
|
-
component?: React$1.ElementType
|
|
1722
|
+
component?: React$1.ElementType;
|
|
1732
1723
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1733
1724
|
|
|
1734
|
-
export { Accordion, AccordionContent, AccordionItem, type AccordionItemProps, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, ArrowLeftIcon, ArrowUpTrayIcon, AspectRatio, AudioPlayer, AudioPlaying, Avatar, AvatarImage, AvatarRoot, Badge, Button, type ButtonComponentProps, type ButtonProps, CaretDownIcon, type CascaderOption,
|
|
1725
|
+
export { Accordion, AccordionContent, AccordionItem, type AccordionItemProps, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, ArrowLeftIcon, ArrowUpTrayIcon, AspectRatio, AudioPlayer, AudioPlaying, Avatar, AvatarImage, AvatarRoot, Badge, Button, type ButtonComponentProps, type ButtonProps, CaretDownIcon, type CascaderOption, Checkbox, Chips, 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, ErrorState, FilterIcon, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type FormRef, Guide, Heading, type IAudioProps, type INumberInputProps, type ISelectProps, Icon, IconButton, type IconButtonComponentProps, type IconComponent, type IconProps, type IconType, 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, MiddleBar, Modal, ModalBody, ModalContent, ModalFooter, ModalHeader, ModalOverlay, ModalRoot, ModalTitle, MultipleSelector, type MultipleSelectorRef, NetworkErrorState, NoPageState, NotFoundState, NumberInput, type Option, Paragraph, PencilSquareIcon, Popover, PopoverAnchor, PopoverContent, type PopoverContentExs, PopoverRoot, Progress, ProgressIndicator, type ProgressProps, ProgressRoot, type Props, RadioGroup, RadioGroupItem, RectangleGroupIcon, ScrollArea, ScrollBar, SearchBar, type SearchBarProps, type SearchInputProps, 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, State$1 as State, SubHeading, SubTitle, Swiper, type SwiperProps, Switch, type TModalState, Tab, Tabs, TabsContent, TabsList, TabsRoot, TabsTrigger, 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, TopNavigationBar, WindowIcon, buttonVariants, dangerouText, iconButtonVariants, reducer, toast, toggleVariants, useDebounce, useDevice, useFormField, useIsMobileByWindowWidth, useNativeBridge, useNotification, useToast, useWindowWidth };
|