myshell-react-lib 0.1.80 → 0.1.82
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 +6 -34
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +16 -17
- package/dist/index.d.ts +16 -17
- package/dist/index.js +6 -34
- package/dist/index.js.map +1 -1
- package/dist/styles/global.scss +2 -4
- package/package.json +1 -1
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
390
|
* icon 组件 优先heroicons
|
|
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;
|
|
@@ -400,7 +399,7 @@ declare const Icon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTM
|
|
|
400
399
|
/**
|
|
401
400
|
* icon 组件 优先heroicons
|
|
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
|
|
|
@@ -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,7 +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
|
|
1666
|
+
component?: React$1.ElementType;
|
|
1668
1667
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1669
1668
|
|
|
1670
1669
|
declare const CheckCircleIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1672,7 +1671,7 @@ declare const CheckCircleIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAtt
|
|
|
1672
1671
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1673
1672
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1674
1673
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1675
|
-
component?: React$1.ElementType
|
|
1674
|
+
component?: React$1.ElementType;
|
|
1676
1675
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1677
1676
|
|
|
1678
1677
|
declare const PencilSquareIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1680,7 +1679,7 @@ declare const PencilSquareIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAt
|
|
|
1680
1679
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1681
1680
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1682
1681
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1683
|
-
component?: React$1.ElementType
|
|
1682
|
+
component?: React$1.ElementType;
|
|
1684
1683
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1685
1684
|
|
|
1686
1685
|
declare const ConfigIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1688,7 +1687,7 @@ declare const ConfigIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttribut
|
|
|
1688
1687
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1689
1688
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1690
1689
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1691
|
-
component?: React$1.ElementType
|
|
1690
|
+
component?: React$1.ElementType;
|
|
1692
1691
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1693
1692
|
|
|
1694
1693
|
declare const FilterIcon: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1696,7 +1695,7 @@ declare const FilterIcon: React__default.ForwardRefExoticComponent<React__defaul
|
|
|
1696
1695
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1697
1696
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1698
1697
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1699
|
-
component?: React__default.ElementType
|
|
1698
|
+
component?: React__default.ElementType;
|
|
1700
1699
|
} & React__default.RefAttributes<SVGSVGElement>>;
|
|
1701
1700
|
|
|
1702
1701
|
declare const CaretDownIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1704,7 +1703,7 @@ declare const CaretDownIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttri
|
|
|
1704
1703
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1705
1704
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1706
1705
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1707
|
-
component?: React$1.ElementType
|
|
1706
|
+
component?: React$1.ElementType;
|
|
1708
1707
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1709
1708
|
|
|
1710
1709
|
declare const CodeIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1712,7 +1711,7 @@ declare const CodeIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes
|
|
|
1712
1711
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1713
1712
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1714
1713
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1715
|
-
component?: React$1.ElementType
|
|
1714
|
+
component?: React$1.ElementType;
|
|
1716
1715
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1717
1716
|
|
|
1718
1717
|
declare const DragIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1720,7 +1719,7 @@ declare const DragIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes
|
|
|
1720
1719
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1721
1720
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1722
1721
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1723
|
-
component?: React$1.ElementType
|
|
1722
|
+
component?: React$1.ElementType;
|
|
1724
1723
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1725
1724
|
|
|
1726
1725
|
declare const RectangleGroupIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1728,7 +1727,7 @@ declare const RectangleGroupIcon: React$1.ForwardRefExoticComponent<React$1.HTML
|
|
|
1728
1727
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1729
1728
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1730
1729
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1731
|
-
component?: React$1.ElementType
|
|
1730
|
+
component?: React$1.ElementType;
|
|
1732
1731
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1733
1732
|
|
|
1734
1733
|
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, CheckCircleIcon, 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 HeroIcon, type IAudioProps, type INumberInputProps, type ISelectProps, Icon, IconButton, type IconButtonComponentProps, 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, 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
390
|
* icon 组件 优先heroicons
|
|
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;
|
|
@@ -400,7 +399,7 @@ declare const Icon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTM
|
|
|
400
399
|
/**
|
|
401
400
|
* icon 组件 优先heroicons
|
|
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
|
|
|
@@ -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,7 +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
|
|
1666
|
+
component?: React$1.ElementType;
|
|
1668
1667
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1669
1668
|
|
|
1670
1669
|
declare const CheckCircleIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1672,7 +1671,7 @@ declare const CheckCircleIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAtt
|
|
|
1672
1671
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1673
1672
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1674
1673
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1675
|
-
component?: React$1.ElementType
|
|
1674
|
+
component?: React$1.ElementType;
|
|
1676
1675
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1677
1676
|
|
|
1678
1677
|
declare const PencilSquareIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1680,7 +1679,7 @@ declare const PencilSquareIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAt
|
|
|
1680
1679
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1681
1680
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1682
1681
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1683
|
-
component?: React$1.ElementType
|
|
1682
|
+
component?: React$1.ElementType;
|
|
1684
1683
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1685
1684
|
|
|
1686
1685
|
declare const ConfigIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1688,7 +1687,7 @@ declare const ConfigIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttribut
|
|
|
1688
1687
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1689
1688
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1690
1689
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1691
|
-
component?: React$1.ElementType
|
|
1690
|
+
component?: React$1.ElementType;
|
|
1692
1691
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1693
1692
|
|
|
1694
1693
|
declare const FilterIcon: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1696,7 +1695,7 @@ declare const FilterIcon: React__default.ForwardRefExoticComponent<React__defaul
|
|
|
1696
1695
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1697
1696
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1698
1697
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1699
|
-
component?: React__default.ElementType
|
|
1698
|
+
component?: React__default.ElementType;
|
|
1700
1699
|
} & React__default.RefAttributes<SVGSVGElement>>;
|
|
1701
1700
|
|
|
1702
1701
|
declare const CaretDownIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1704,7 +1703,7 @@ declare const CaretDownIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttri
|
|
|
1704
1703
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1705
1704
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1706
1705
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1707
|
-
component?: React$1.ElementType
|
|
1706
|
+
component?: React$1.ElementType;
|
|
1708
1707
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1709
1708
|
|
|
1710
1709
|
declare const CodeIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1712,7 +1711,7 @@ declare const CodeIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes
|
|
|
1712
1711
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1713
1712
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1714
1713
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1715
|
-
component?: React$1.ElementType
|
|
1714
|
+
component?: React$1.ElementType;
|
|
1716
1715
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1717
1716
|
|
|
1718
1717
|
declare const DragIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1720,7 +1719,7 @@ declare const DragIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes
|
|
|
1720
1719
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1721
1720
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1722
1721
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1723
|
-
component?: React$1.ElementType
|
|
1722
|
+
component?: React$1.ElementType;
|
|
1724
1723
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1725
1724
|
|
|
1726
1725
|
declare const RectangleGroupIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -1728,7 +1727,7 @@ declare const RectangleGroupIcon: React$1.ForwardRefExoticComponent<React$1.HTML
|
|
|
1728
1727
|
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1729
1728
|
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1730
1729
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1731
|
-
component?: React$1.ElementType
|
|
1730
|
+
component?: React$1.ElementType;
|
|
1732
1731
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1733
1732
|
|
|
1734
1733
|
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, CheckCircleIcon, 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 HeroIcon, type IAudioProps, type INumberInputProps, type ISelectProps, Icon, IconButton, type IconButtonComponentProps, 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, 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.js
CHANGED
|
@@ -4077,40 +4077,8 @@ var Icon = React.forwardRef(function(props, ref) {
|
|
|
4077
4077
|
"rotate",
|
|
4078
4078
|
"className"
|
|
4079
4079
|
]);
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
ref: ref
|
|
4083
|
-
}, passProps), {
|
|
4084
|
-
className: cn(iconVariants({
|
|
4085
|
-
size: size,
|
|
4086
|
-
color: color,
|
|
4087
|
-
rotate: rotate
|
|
4088
|
-
}), className),
|
|
4089
|
-
children: children
|
|
4090
|
-
}));
|
|
4091
|
-
}
|
|
4092
|
-
if (typeof component === "function") {
|
|
4093
|
-
var isReactComponent = "displayName" in component || component.name && /^[A-Z]/.test(component.name);
|
|
4094
|
-
if (!isReactComponent) {
|
|
4095
|
-
try {
|
|
4096
|
-
var iconElement = component();
|
|
4097
|
-
return /* @__PURE__ */ jsx("span", _object_spread_props(_object_spread({
|
|
4098
|
-
ref: ref
|
|
4099
|
-
}, passProps), {
|
|
4100
|
-
className: cn(iconVariants({
|
|
4101
|
-
size: size,
|
|
4102
|
-
color: color,
|
|
4103
|
-
rotate: rotate
|
|
4104
|
-
}), className),
|
|
4105
|
-
children: iconElement || children
|
|
4106
|
-
}));
|
|
4107
|
-
} catch (error) {
|
|
4108
|
-
console.error("Error rendering icon component as a function", error);
|
|
4109
|
-
}
|
|
4110
|
-
}
|
|
4111
|
-
}
|
|
4112
|
-
var Component = component;
|
|
4113
|
-
return /* @__PURE__ */ jsx(Component, _object_spread_props(_object_spread({
|
|
4080
|
+
var Com = component || "span";
|
|
4081
|
+
return /* @__PURE__ */ jsx(Com, _object_spread_props(_object_spread({
|
|
4114
4082
|
ref: ref
|
|
4115
4083
|
}, passProps), {
|
|
4116
4084
|
className: cn(iconVariants({
|
|
@@ -8065,6 +8033,10 @@ var Modal = function(_param) {
|
|
|
8065
8033
|
onOpenAutoFocus: function(e) {
|
|
8066
8034
|
!autoFocus && e.preventDefault();
|
|
8067
8035
|
},
|
|
8036
|
+
onPointerDownOutside: function(e) {
|
|
8037
|
+
return e.preventDefault();
|
|
8038
|
+
},
|
|
8039
|
+
tabIndex: void 0,
|
|
8068
8040
|
children: [
|
|
8069
8041
|
isNotification ? /* @__PURE__ */ jsxs18(Fragment6, {
|
|
8070
8042
|
children: [
|