myshell-react-lib 0.2.7 → 0.2.8

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.d.cts CHANGED
@@ -1044,6 +1044,7 @@ interface ISelectProps extends SelectPrimitive.SelectProps {
1044
1044
  triggerClassName?: string;
1045
1045
  contentClassName?: string;
1046
1046
  variant?: 'input' | 'button';
1047
+ size?: 'sm' | 'md' | 'lg';
1047
1048
  noPortal?: boolean;
1048
1049
  side?: SelectPrimitive.SelectContentProps['side'];
1049
1050
  }
@@ -1052,6 +1053,7 @@ declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.Sel
1052
1053
  declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
1053
1054
  declare const SelectTrigger: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
1054
1055
  isButtonVariant?: boolean;
1056
+ size?: "sm" | "md" | "lg";
1055
1057
  } & React$1.RefAttributes<HTMLButtonElement>>;
1056
1058
  declare const SelectScrollUpButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1057
1059
  declare const SelectScrollDownButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
@@ -1443,7 +1445,7 @@ interface ChipsProps extends VariantProps<typeof chipsVariants> {
1443
1445
  }
1444
1446
  declare function Chips(props: ChipsProps): react_jsx_runtime.JSX.Element;
1445
1447
 
1446
- type StateVariant = 'not-found' | 'no-page' | 'error' | 'network-error';
1448
+ type StateVariant = 'wallet-empty' | 'data-empty' | 'img-empty' | 'search-empty' | 'no-page' | 'error';
1447
1449
  interface BaseStateProps {
1448
1450
  title?: string;
1449
1451
  description?: string;
@@ -1463,8 +1465,10 @@ interface StateProps extends BaseStateProps {
1463
1465
  }
1464
1466
  declare const State$1: ({ variant, title, description, className, icon, logo, backBtnText, iconClassName, logoClassName, titleClassName, descriptionClassName, hideLogo, onBack, }: StateProps) => react_jsx_runtime.JSX.Element;
1465
1467
  declare const ErrorState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
1466
- declare const NetworkErrorState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
1467
- declare const NotFoundState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
1468
+ declare const WalletEmptyState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
1469
+ declare const DataEmptyState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
1470
+ declare const ImgEmptyState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
1471
+ declare const SearchEmptyState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
1468
1472
  declare const NoPageState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
1469
1473
 
1470
1474
  declare const ToastProvider: React$1.FC<ToastPrimitives.ToastProviderProps>;
@@ -1694,4 +1698,4 @@ declare const CircleSuccessIcon: React$1.ForwardRefExoticComponent<React$1.HTMLA
1694
1698
  component?: React$1.ElementType;
1695
1699
  } & React$1.RefAttributes<SVGSVGElement>>;
1696
1700
 
1697
- 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, CaretDownIcon, 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, 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, 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, Input, type InputProps, Label, Link, LinkButton, type LinkButtonProps, 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, Popover, PopoverAnchor, PopoverContent, type PopoverContentExs, PopoverRoot, Progress, ProgressIndicator, type ProgressProps, ProgressRoot, type Props, RadioGroup, RadioGroupItem, 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, buttonVariants, dangerouText, iconButtonVariants, reducer, toast, toggleVariants, useDebounce, useDevice, useFormField, useIsMobileByWindowWidth, useNativeBridge, useNotification, useToast, useWindowWidth };
1701
+ 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, CaretDownIcon, 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, 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, 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, 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
@@ -1044,6 +1044,7 @@ interface ISelectProps extends SelectPrimitive.SelectProps {
1044
1044
  triggerClassName?: string;
1045
1045
  contentClassName?: string;
1046
1046
  variant?: 'input' | 'button';
1047
+ size?: 'sm' | 'md' | 'lg';
1047
1048
  noPortal?: boolean;
1048
1049
  side?: SelectPrimitive.SelectContentProps['side'];
1049
1050
  }
@@ -1052,6 +1053,7 @@ declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.Sel
1052
1053
  declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
1053
1054
  declare const SelectTrigger: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
1054
1055
  isButtonVariant?: boolean;
1056
+ size?: "sm" | "md" | "lg";
1055
1057
  } & React$1.RefAttributes<HTMLButtonElement>>;
1056
1058
  declare const SelectScrollUpButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1057
1059
  declare const SelectScrollDownButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
@@ -1443,7 +1445,7 @@ interface ChipsProps extends VariantProps<typeof chipsVariants> {
1443
1445
  }
1444
1446
  declare function Chips(props: ChipsProps): react_jsx_runtime.JSX.Element;
1445
1447
 
1446
- type StateVariant = 'not-found' | 'no-page' | 'error' | 'network-error';
1448
+ type StateVariant = 'wallet-empty' | 'data-empty' | 'img-empty' | 'search-empty' | 'no-page' | 'error';
1447
1449
  interface BaseStateProps {
1448
1450
  title?: string;
1449
1451
  description?: string;
@@ -1463,8 +1465,10 @@ interface StateProps extends BaseStateProps {
1463
1465
  }
1464
1466
  declare const State$1: ({ variant, title, description, className, icon, logo, backBtnText, iconClassName, logoClassName, titleClassName, descriptionClassName, hideLogo, onBack, }: StateProps) => react_jsx_runtime.JSX.Element;
1465
1467
  declare const ErrorState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
1466
- declare const NetworkErrorState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
1467
- declare const NotFoundState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
1468
+ declare const WalletEmptyState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
1469
+ declare const DataEmptyState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
1470
+ declare const ImgEmptyState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
1471
+ declare const SearchEmptyState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
1468
1472
  declare const NoPageState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
1469
1473
 
1470
1474
  declare const ToastProvider: React$1.FC<ToastPrimitives.ToastProviderProps>;
@@ -1694,4 +1698,4 @@ declare const CircleSuccessIcon: React$1.ForwardRefExoticComponent<React$1.HTMLA
1694
1698
  component?: React$1.ElementType;
1695
1699
  } & React$1.RefAttributes<SVGSVGElement>>;
1696
1700
 
1697
- 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, CaretDownIcon, 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, 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, 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, Input, type InputProps, Label, Link, LinkButton, type LinkButtonProps, 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, Popover, PopoverAnchor, PopoverContent, type PopoverContentExs, PopoverRoot, Progress, ProgressIndicator, type ProgressProps, ProgressRoot, type Props, RadioGroup, RadioGroupItem, 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, buttonVariants, dangerouText, iconButtonVariants, reducer, toast, toggleVariants, useDebounce, useDevice, useFormField, useIsMobileByWindowWidth, useNativeBridge, useNotification, useToast, useWindowWidth };
1701
+ 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, CaretDownIcon, 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, 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, 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, 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.js CHANGED
@@ -11127,25 +11127,28 @@ import { ChevronDown as ChevronDown2, ChevronUp, CheckIcon as CheckIcon2 } from
11127
11127
  import * as React37 from "react";
11128
11128
  import { Fragment as Fragment9, jsx as jsx49, jsxs as jsxs32 } from "react/jsx-runtime";
11129
11129
  var Select = React37.forwardRef(function(_param, ref) {
11130
- var children = _param.children, placeholder = _param.placeholder, options = _param.options, triggerClassName = _param.triggerClassName, contentClassName = _param.contentClassName, side = _param.side, _param_variant = _param.variant, variant = _param_variant === void 0 ? "input" : _param_variant, props = _object_without_properties(_param, [
11130
+ var children = _param.children, placeholder = _param.placeholder, options = _param.options, triggerClassName = _param.triggerClassName, contentClassName = _param.contentClassName, side = _param.side, _param_size = _param.size, size = _param_size === void 0 ? "lg" : _param_size, _param_variant = _param.variant, variant = _param_variant === void 0 ? "input" : _param_variant, props = _object_without_properties(_param, [
11131
11131
  "children",
11132
11132
  "placeholder",
11133
11133
  "options",
11134
11134
  "triggerClassName",
11135
11135
  "contentClassName",
11136
11136
  "side",
11137
+ "size",
11137
11138
  "variant"
11138
11139
  ]);
11139
11140
  var _options_find;
11140
11141
  var icon = options === null || options === void 0 ? void 0 : (_options_find = options.find(function(item) {
11141
11142
  return item.value === props.value;
11142
11143
  })) === null || _options_find === void 0 ? void 0 : _options_find.icon;
11144
+ console.log("size", size);
11143
11145
  return /* @__PURE__ */ jsx49(SelectPrimitive.Root, _object_spread_props(_object_spread({}, props), {
11144
11146
  children: Array.isArray(options) && options.length ? /* @__PURE__ */ jsxs32(Fragment9, {
11145
11147
  children: [
11146
11148
  /* @__PURE__ */ jsx49(SelectTrigger, {
11147
11149
  className: triggerClassName,
11148
11150
  isButtonVariant: variant === "button",
11151
+ size: size,
11149
11152
  children: /* @__PURE__ */ jsxs32("div", {
11150
11153
  className: "flex items-center space-x-2",
11151
11154
  children: [
@@ -11179,17 +11182,18 @@ var Select = React37.forwardRef(function(_param, ref) {
11179
11182
  var SelectGroup = SelectPrimitive.Group;
11180
11183
  var SelectValue = SelectPrimitive.Value;
11181
11184
  var SelectTrigger = React37.forwardRef(function(_param, ref) {
11182
- var className = _param.className, children = _param.children, isButtonVariant = _param.isButtonVariant, props = _object_without_properties(_param, [
11185
+ var className = _param.className, children = _param.children, isButtonVariant = _param.isButtonVariant, size = _param.size, props = _object_without_properties(_param, [
11183
11186
  "className",
11184
11187
  "children",
11185
- "isButtonVariant"
11188
+ "isButtonVariant",
11189
+ "size"
11186
11190
  ]);
11187
11191
  return /* @__PURE__ */ jsxs32(SelectPrimitive.Trigger, _object_spread_props(_object_spread({
11188
11192
  ref: ref,
11189
- className: cn("flex h-7 md:h-10 w-full items-center justify-between rounded-sm border border-transparent hover:border-cc-Input-border-default bg-cc-Input-bg-default text-Colors-Text-Default text-sm p-3 focus:shadow-cc-Focus-Rings-Brand-default placeholder:text-Colors-Text-Subtlest focus:outline-none focus:ring-0 focus:ring-offset-0 disabled:cursor-not-allowed disabled:opacity-30 [&>span]:line-clamp-1 [&>.select-chevron]:aria-expanded:rotate-180 space-x-1.5", isButtonVariant && buttonVariants({
11193
+ className: cn("flex w-full items-center justify-between rounded-sm border border-transparent hover:border-cc-Input-border-default bg-cc-Input-bg-default text-Colors-Text-Default text-sm p-3 focus:shadow-cc-Focus-Rings-Brand-default placeholder:text-Colors-Text-Subtlest focus:outline-none focus:ring-0 focus:ring-offset-0 disabled:cursor-not-allowed disabled:opacity-30 [&>span]:line-clamp-1 [&>.select-chevron]:aria-expanded:rotate-180 space-x-1.5", isButtonVariant && buttonVariants({
11190
11194
  variant: "ghost",
11191
- size: "lg"
11192
- }), isButtonVariant && "w-auto min-w-max inline-flex px-4", className)
11195
+ size: size
11196
+ }), isButtonVariant && "w-auto min-w-max inline-flex px-4", size === "sm" && "h-7", size === "md" && "h-9", size === "lg" && "h-11", className)
11193
11197
  }, props), {
11194
11198
  children: [
11195
11199
  children,
@@ -12831,10 +12835,12 @@ function Chips(props) {
12831
12835
  import { useRouter } from "next/navigation";
12832
12836
  import { jsx as jsx61, jsxs as jsxs40 } from "react/jsx-runtime";
12833
12837
  var stateIconUrls = {
12834
- "not-found": "https://myshellstatic.com/image/website/20250425/page-no-results.png",
12835
- "no-page": "https://myshellstatic.com/image/website/20250425/page-not-found.png",
12836
- error: "https://myshellstatic.com/image/website/20250425/error.png",
12837
- "network-error": "https://myshellstatic.com/image/website/20250425/network-error.png"
12838
+ "wallet-empty": "".concat(getAssetsUrl("image/website/20250603/wallet-empty.png")),
12839
+ "data-empty": "".concat(getAssetsUrl("image/website/20250603/data-list-empty.png")),
12840
+ "img-empty": "".concat(getAssetsUrl("image/website/20250603/img-list-empty.png")),
12841
+ "search-empty": "".concat(getAssetsUrl("image/website/20250603/search-empty.png")),
12842
+ "no-page": "".concat(getAssetsUrl("image/website/20250425/page-not-found.png")),
12843
+ error: "".concat(getAssetsUrl("image/website/20250425/network-error.png"))
12838
12844
  };
12839
12845
  var State2 = function(param) {
12840
12846
  var variant = param.variant, title = param.title, description = param.description, className = param.className, icon = param.icon, logo = param.logo, backBtnText = param.backBtnText, iconClassName = param.iconClassName, logoClassName = param.logoClassName, titleClassName = param.titleClassName, descriptionClassName = param.descriptionClassName, _param_hideLogo = param.hideLogo, hideLogo = _param_hideLogo === void 0 ? false : _param_hideLogo, onBack = param.onBack;
@@ -12854,7 +12860,7 @@ var State2 = function(param) {
12854
12860
  });
12855
12861
  } : function() {
12856
12862
  return /* @__PURE__ */ jsx61("div", {
12857
- className: "w-[146px] md:w-[220px] h-[146px] md:h-[220px] rounded-full object-cover",
12863
+ className: cn(" rounded-full object-cover", variant === "error" || variant === "no-page" ? "w-[146px] md:w-[220px] h-[146px] md:h-[220px]" : "w-[96px] md:w-[56px] h-[96px] md:h-[56px]"),
12858
12864
  children: /* @__PURE__ */ jsx61(Image2, {
12859
12865
  src: logo || stateIconUrls[variant],
12860
12866
  alt: "state icon",
@@ -12863,10 +12869,7 @@ var State2 = function(param) {
12863
12869
  });
12864
12870
  };
12865
12871
  return /* @__PURE__ */ jsxs40("div", {
12866
- className: cn("flex flex-col items-center", className, {
12867
- "space-y-6": !icon,
12868
- "space-y-3": icon
12869
- }),
12872
+ className: cn("flex flex-col items-center space-y-3", className),
12870
12873
  children: [
12871
12874
  !hideLogo && /* @__PURE__ */ jsx61(IconComponent2, {}),
12872
12875
  /* @__PURE__ */ jsxs40("div", {
@@ -12882,7 +12885,7 @@ var State2 = function(param) {
12882
12885
  }),
12883
12886
  /* @__PURE__ */ jsx61(Text, {
12884
12887
  size: "sm",
12885
- color: icon ? "subtlest" : "subtle",
12888
+ color: backBtnText ? "subtle" : "subtlest",
12886
12889
  className: descriptionClassName,
12887
12890
  children: description
12888
12891
  })
@@ -12903,14 +12906,24 @@ var ErrorState = function(args) {
12903
12906
  variant: "error"
12904
12907
  }));
12905
12908
  };
12906
- var NetworkErrorState = function(args) {
12909
+ var WalletEmptyState = function(args) {
12910
+ return /* @__PURE__ */ jsx61(State2, _object_spread_props(_object_spread({}, args), {
12911
+ variant: "wallet-empty"
12912
+ }));
12913
+ };
12914
+ var DataEmptyState = function(args) {
12915
+ return /* @__PURE__ */ jsx61(State2, _object_spread_props(_object_spread({}, args), {
12916
+ variant: "data-empty"
12917
+ }));
12918
+ };
12919
+ var ImgEmptyState = function(args) {
12907
12920
  return /* @__PURE__ */ jsx61(State2, _object_spread_props(_object_spread({}, args), {
12908
- variant: "network-error"
12921
+ variant: "img-empty"
12909
12922
  }));
12910
12923
  };
12911
- var NotFoundState = function(args) {
12924
+ var SearchEmptyState = function(args) {
12912
12925
  return /* @__PURE__ */ jsx61(State2, _object_spread_props(_object_spread({}, args), {
12913
- variant: "not-found"
12926
+ variant: "search-empty"
12914
12927
  }));
12915
12928
  };
12916
12929
  var NoPageState = function(args) {
@@ -13708,7 +13721,7 @@ var Message = /*#__PURE__*/ function() {
13708
13721
  ]);
13709
13722
  return Message;
13710
13723
  }();
13711
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AspectRatio, AudioPlayer, AudioPlaying, Avatar, AvatarImage, AvatarRoot, Badge, Button, CaretDownIcon, 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, 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, ErrorState, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Guide, Heading, Icon, IconButton, Image2 as Image, Input, Label3 as Label, Link, LinkButton, 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, NetworkErrorState, NoPageState, NotFoundState, NumberInput, Paragraph, Popover, PopoverAnchor, PopoverContent, PopoverRoot, Progress, ProgressIndicator, ProgressRoot, RadioGroup4 as RadioGroup, RadioGroupItem, ScrollArea, ScrollBar, SearchBar, Select, SelectContent, SelectGroup, SelectIcon, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Slider, SliderPrimitive, SliderSingle, Spinner, State2 as State, SubHeading, SubTitle, Swiper, Switch, Tab, Tabs2 as Tabs, TabsContent, TabsList, TabsRoot, TabsTrigger, Text, Textarea, Title, Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipProvider, TopNavigationBar, buttonVariants, dangerouText, iconButtonVariants, reducer, toast, toggleVariants, useDebounce, useDevice, useFormField, useIsMobileByWindowWidth, useNativeBridge, useNotification, useToast, useWindowWidth }; /*! Bundled license information:
13724
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AspectRatio, AudioPlayer, AudioPlaying, Avatar, AvatarImage, AvatarRoot, Badge, Button, CaretDownIcon, 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, 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, ErrorState, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Guide, Heading, Icon, IconButton, Image2 as Image, ImgEmptyState, Input, Label3 as Label, Link, LinkButton, 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, NoPageState, NumberInput, Paragraph, Popover, PopoverAnchor, PopoverContent, PopoverRoot, Progress, ProgressIndicator, ProgressRoot, RadioGroup4 as RadioGroup, RadioGroupItem, ScrollArea, ScrollBar, SearchBar, SearchEmptyState, Select, SelectContent, SelectGroup, SelectIcon, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Slider, SliderPrimitive, SliderSingle, Spinner, State2 as State, SubHeading, SubTitle, Swiper, Switch, Tab, Tabs2 as Tabs, TabsContent, TabsList, TabsRoot, TabsTrigger, Text, Textarea, Title, Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipProvider, TopNavigationBar, WalletEmptyState, buttonVariants, dangerouText, iconButtonVariants, reducer, toast, toggleVariants, useDebounce, useDevice, useFormField, useIsMobileByWindowWidth, useNativeBridge, useNotification, useToast, useWindowWidth }; /*! Bundled license information:
13712
13725
 
13713
13726
  decimal.js/decimal.mjs:
13714
13727
  (*!