myshell-react-lib 0.2.27 → 0.2.28
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 +2825 -883
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +25 -4
- package/dist/index.d.ts +25 -4
- package/dist/index.js +2827 -897
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1497,7 +1497,8 @@ interface ChipsProps extends VariantProps<typeof chipsVariants> {
|
|
|
1497
1497
|
}
|
|
1498
1498
|
declare function Chips(props: ChipsProps): react_jsx_runtime.JSX.Element;
|
|
1499
1499
|
|
|
1500
|
-
type
|
|
1500
|
+
type EmptyStateVariant = 'wallet-empty' | 'data-empty' | 'img-empty' | 'search-empty';
|
|
1501
|
+
type ErrorStateVariant = 'no-page' | 'error' | 'network-error';
|
|
1501
1502
|
interface BaseStateProps {
|
|
1502
1503
|
title?: string;
|
|
1503
1504
|
description?: string;
|
|
@@ -1509,13 +1510,15 @@ interface BaseStateProps {
|
|
|
1509
1510
|
onBack?: () => void;
|
|
1510
1511
|
iconClassName?: string;
|
|
1511
1512
|
logoClassName?: string;
|
|
1513
|
+
logoBoxClassName?: string;
|
|
1512
1514
|
titleClassName?: string;
|
|
1513
1515
|
descriptionClassName?: string;
|
|
1516
|
+
children?: React.ReactNode;
|
|
1514
1517
|
}
|
|
1515
1518
|
interface StateProps extends BaseStateProps {
|
|
1516
|
-
variant:
|
|
1519
|
+
variant: EmptyStateVariant | ErrorStateVariant;
|
|
1517
1520
|
}
|
|
1518
|
-
declare const State$1: ({ variant, title, description, className, icon, logo, backBtnText, iconClassName, logoClassName, titleClassName, descriptionClassName, hideLogo, onBack, }: StateProps) => react_jsx_runtime.JSX.Element;
|
|
1521
|
+
declare const State$1: ({ variant, title, description, className, icon, logo, backBtnText, iconClassName, logoClassName, logoBoxClassName, titleClassName, descriptionClassName, hideLogo, children, onBack, }: StateProps) => react_jsx_runtime.JSX.Element;
|
|
1519
1522
|
declare const ErrorState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
|
|
1520
1523
|
declare const NetworkErrorState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
|
|
1521
1524
|
declare const WalletEmptyState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -1765,4 +1768,22 @@ declare const LogoIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes
|
|
|
1765
1768
|
component?: React$1.ElementType;
|
|
1766
1769
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1767
1770
|
|
|
1768
|
-
|
|
1771
|
+
declare const ErrorIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
1772
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
1773
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1774
|
+
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1775
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1776
|
+
component?: React$1.ElementType;
|
|
1777
|
+
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1778
|
+
|
|
1779
|
+
declare const NoPageIcon: (className: string) => react_jsx_runtime.JSX.Element;
|
|
1780
|
+
|
|
1781
|
+
declare const NetworkErrorIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
1782
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
1783
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1784
|
+
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1785
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1786
|
+
component?: React$1.ElementType;
|
|
1787
|
+
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1788
|
+
|
|
1789
|
+
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
|
@@ -1497,7 +1497,8 @@ interface ChipsProps extends VariantProps<typeof chipsVariants> {
|
|
|
1497
1497
|
}
|
|
1498
1498
|
declare function Chips(props: ChipsProps): react_jsx_runtime.JSX.Element;
|
|
1499
1499
|
|
|
1500
|
-
type
|
|
1500
|
+
type EmptyStateVariant = 'wallet-empty' | 'data-empty' | 'img-empty' | 'search-empty';
|
|
1501
|
+
type ErrorStateVariant = 'no-page' | 'error' | 'network-error';
|
|
1501
1502
|
interface BaseStateProps {
|
|
1502
1503
|
title?: string;
|
|
1503
1504
|
description?: string;
|
|
@@ -1509,13 +1510,15 @@ interface BaseStateProps {
|
|
|
1509
1510
|
onBack?: () => void;
|
|
1510
1511
|
iconClassName?: string;
|
|
1511
1512
|
logoClassName?: string;
|
|
1513
|
+
logoBoxClassName?: string;
|
|
1512
1514
|
titleClassName?: string;
|
|
1513
1515
|
descriptionClassName?: string;
|
|
1516
|
+
children?: React.ReactNode;
|
|
1514
1517
|
}
|
|
1515
1518
|
interface StateProps extends BaseStateProps {
|
|
1516
|
-
variant:
|
|
1519
|
+
variant: EmptyStateVariant | ErrorStateVariant;
|
|
1517
1520
|
}
|
|
1518
|
-
declare const State$1: ({ variant, title, description, className, icon, logo, backBtnText, iconClassName, logoClassName, titleClassName, descriptionClassName, hideLogo, onBack, }: StateProps) => react_jsx_runtime.JSX.Element;
|
|
1521
|
+
declare const State$1: ({ variant, title, description, className, icon, logo, backBtnText, iconClassName, logoClassName, logoBoxClassName, titleClassName, descriptionClassName, hideLogo, children, onBack, }: StateProps) => react_jsx_runtime.JSX.Element;
|
|
1519
1522
|
declare const ErrorState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
|
|
1520
1523
|
declare const NetworkErrorState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
|
|
1521
1524
|
declare const WalletEmptyState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -1765,4 +1768,22 @@ declare const LogoIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes
|
|
|
1765
1768
|
component?: React$1.ElementType;
|
|
1766
1769
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1767
1770
|
|
|
1768
|
-
|
|
1771
|
+
declare const ErrorIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
1772
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
1773
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1774
|
+
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1775
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1776
|
+
component?: React$1.ElementType;
|
|
1777
|
+
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1778
|
+
|
|
1779
|
+
declare const NoPageIcon: (className: string) => react_jsx_runtime.JSX.Element;
|
|
1780
|
+
|
|
1781
|
+
declare const NetworkErrorIcon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & class_variance_authority.VariantProps<(props?: ({
|
|
1782
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | null | undefined;
|
|
1783
|
+
color?: "default" | "subtle" | "subtler" | "subtlest" | "disabled" | "bolder" | "inverse" | "critical" | "brand" | "critical-bolder" | "warning" | "warning-bolder" | "success" | "success-bolder" | null | undefined;
|
|
1784
|
+
rotate?: "45" | "90" | "-45" | "-90" | "180" | null | undefined;
|
|
1785
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
1786
|
+
component?: React$1.ElementType;
|
|
1787
|
+
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
1788
|
+
|
|
1789
|
+
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 };
|