myshell-react-lib 0.2.22 → 0.2.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2823 -881
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +24 -4
- package/dist/index.d.ts +24 -4
- package/dist/index.js +2825 -895
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1493,7 +1493,8 @@ interface ChipsProps extends VariantProps<typeof chipsVariants> {
|
|
|
1493
1493
|
}
|
|
1494
1494
|
declare function Chips(props: ChipsProps): react_jsx_runtime.JSX.Element;
|
|
1495
1495
|
|
|
1496
|
-
type
|
|
1496
|
+
type EmptyStateVariant = 'wallet-empty' | 'data-empty' | 'img-empty' | 'search-empty';
|
|
1497
|
+
type ErrorStateVariant = 'no-page' | 'error' | 'network-error';
|
|
1497
1498
|
interface BaseStateProps {
|
|
1498
1499
|
title?: string;
|
|
1499
1500
|
description?: string;
|
|
@@ -1507,11 +1508,12 @@ interface BaseStateProps {
|
|
|
1507
1508
|
logoClassName?: string;
|
|
1508
1509
|
titleClassName?: string;
|
|
1509
1510
|
descriptionClassName?: string;
|
|
1511
|
+
children?: React.ReactNode;
|
|
1510
1512
|
}
|
|
1511
1513
|
interface StateProps extends BaseStateProps {
|
|
1512
|
-
variant:
|
|
1514
|
+
variant: EmptyStateVariant | ErrorStateVariant;
|
|
1513
1515
|
}
|
|
1514
|
-
declare const State$1: ({ variant, title, description, className, icon, logo, backBtnText, iconClassName, logoClassName, titleClassName, descriptionClassName, hideLogo, onBack, }: StateProps) => react_jsx_runtime.JSX.Element;
|
|
1516
|
+
declare const State$1: ({ variant, title, description, className, icon, logo, backBtnText, iconClassName, logoClassName, titleClassName, descriptionClassName, hideLogo, children, onBack, }: StateProps) => react_jsx_runtime.JSX.Element;
|
|
1515
1517
|
declare const ErrorState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
|
|
1516
1518
|
declare const NetworkErrorState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
|
|
1517
1519
|
declare const WalletEmptyState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -1761,4 +1763,22 @@ declare const LogoIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes
|
|
|
1761
1763
|
component?: React$1.ElementType;
|
|
1762
1764
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1763
1765
|
|
|
1764
|
-
|
|
1766
|
+
declare const ErrorIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
1767
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
1768
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1769
|
+
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1770
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1771
|
+
component?: React$1.ElementType;
|
|
1772
|
+
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1773
|
+
|
|
1774
|
+
declare const NoPageIcon: (className: string) => react_jsx_runtime.JSX.Element;
|
|
1775
|
+
|
|
1776
|
+
declare const NetworkErrorIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
1777
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
1778
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1779
|
+
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1780
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1781
|
+
component?: React$1.ElementType;
|
|
1782
|
+
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1783
|
+
|
|
1784
|
+
export { Accordion, AccordionContent, AccordionItem, type AccordionItemProps, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AspectRatio, AudioPlayer, AudioPlaying, Avatar, AvatarImage, AvatarRoot, Badge, Button, type ButtonComponentProps, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CaretDownIcon, Cascader, CascaderContent, type CascaderOption, Checkbox, Chips, CircleErrorIcon, CircleInfoIcon, CircleSuccessIcon, CircleWarningIcon, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type CustomToasterProps, DataEmptyState, Description, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Display, 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, ErrorIcon, ErrorState, 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, ImgEmptyState, Input, type InputProps, Label, Link, LinkButton, type LinkButtonProps, type LinkProps, LogoIcon, LogoLoading, 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, NetworkErrorIcon, NetworkErrorState, NoPageIcon, NoPageState, NumberInput, type Option, Paragraph, Popover, PopoverAnchor, PopoverContent, type PopoverContentExs, PopoverRoot, Progress, ProgressIndicator, type ProgressProps, ProgressRoot, type Props, RadioGroup, RadioGroupItem, ScrollArea, ScrollBar, SearchBar, type SearchBarProps, SearchEmptyState, 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, WalletEmptyState, buttonVariants, dangerouText, iconButtonVariants, reducer, toast, toggleVariants, useDebounce, useDevice, useFormField, useIsMobileByWindowWidth, useNativeBridge, useNotification, useToast, useWindowWidth };
|
package/dist/index.d.ts
CHANGED
|
@@ -1493,7 +1493,8 @@ interface ChipsProps extends VariantProps<typeof chipsVariants> {
|
|
|
1493
1493
|
}
|
|
1494
1494
|
declare function Chips(props: ChipsProps): react_jsx_runtime.JSX.Element;
|
|
1495
1495
|
|
|
1496
|
-
type
|
|
1496
|
+
type EmptyStateVariant = 'wallet-empty' | 'data-empty' | 'img-empty' | 'search-empty';
|
|
1497
|
+
type ErrorStateVariant = 'no-page' | 'error' | 'network-error';
|
|
1497
1498
|
interface BaseStateProps {
|
|
1498
1499
|
title?: string;
|
|
1499
1500
|
description?: string;
|
|
@@ -1507,11 +1508,12 @@ interface BaseStateProps {
|
|
|
1507
1508
|
logoClassName?: string;
|
|
1508
1509
|
titleClassName?: string;
|
|
1509
1510
|
descriptionClassName?: string;
|
|
1511
|
+
children?: React.ReactNode;
|
|
1510
1512
|
}
|
|
1511
1513
|
interface StateProps extends BaseStateProps {
|
|
1512
|
-
variant:
|
|
1514
|
+
variant: EmptyStateVariant | ErrorStateVariant;
|
|
1513
1515
|
}
|
|
1514
|
-
declare const State$1: ({ variant, title, description, className, icon, logo, backBtnText, iconClassName, logoClassName, titleClassName, descriptionClassName, hideLogo, onBack, }: StateProps) => react_jsx_runtime.JSX.Element;
|
|
1516
|
+
declare const State$1: ({ variant, title, description, className, icon, logo, backBtnText, iconClassName, logoClassName, titleClassName, descriptionClassName, hideLogo, children, onBack, }: StateProps) => react_jsx_runtime.JSX.Element;
|
|
1515
1517
|
declare const ErrorState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
|
|
1516
1518
|
declare const NetworkErrorState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
|
|
1517
1519
|
declare const WalletEmptyState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -1761,4 +1763,22 @@ declare const LogoIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes
|
|
|
1761
1763
|
component?: React$1.ElementType;
|
|
1762
1764
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1763
1765
|
|
|
1764
|
-
|
|
1766
|
+
declare const ErrorIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
1767
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
1768
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1769
|
+
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1770
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1771
|
+
component?: React$1.ElementType;
|
|
1772
|
+
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1773
|
+
|
|
1774
|
+
declare const NoPageIcon: (className: string) => react_jsx_runtime.JSX.Element;
|
|
1775
|
+
|
|
1776
|
+
declare const NetworkErrorIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
1777
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
1778
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1779
|
+
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1780
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1781
|
+
component?: React$1.ElementType;
|
|
1782
|
+
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1783
|
+
|
|
1784
|
+
export { Accordion, AccordionContent, AccordionItem, type AccordionItemProps, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AspectRatio, AudioPlayer, AudioPlaying, Avatar, AvatarImage, AvatarRoot, Badge, Button, type ButtonComponentProps, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CaretDownIcon, Cascader, CascaderContent, type CascaderOption, Checkbox, Chips, CircleErrorIcon, CircleInfoIcon, CircleSuccessIcon, CircleWarningIcon, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type CustomToasterProps, DataEmptyState, Description, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Display, 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, ErrorIcon, ErrorState, 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, ImgEmptyState, Input, type InputProps, Label, Link, LinkButton, type LinkButtonProps, type LinkProps, LogoIcon, LogoLoading, 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, NetworkErrorIcon, NetworkErrorState, NoPageIcon, NoPageState, NumberInput, type Option, Paragraph, Popover, PopoverAnchor, PopoverContent, type PopoverContentExs, PopoverRoot, Progress, ProgressIndicator, type ProgressProps, ProgressRoot, type Props, RadioGroup, RadioGroupItem, ScrollArea, ScrollBar, SearchBar, type SearchBarProps, SearchEmptyState, 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, WalletEmptyState, buttonVariants, dangerouText, iconButtonVariants, reducer, toast, toggleVariants, useDebounce, useDevice, useFormField, useIsMobileByWindowWidth, useNativeBridge, useNotification, useToast, useWindowWidth };
|