@6thbridge/hexa 0.0.0-pr39-28 → 0.0.0-pr40-29

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.mts CHANGED
@@ -614,6 +614,44 @@ declare const ScrollArea: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimi
614
614
  viewPortClassName?: string;
615
615
  } & React$1.RefAttributes<HTMLDivElement>>;
616
616
 
617
+ type MultiSelectDataType = {
618
+ value: string;
619
+ label: string;
620
+ } & {
621
+ [key: string]: string | number;
622
+ };
623
+ interface MultiSelectProps {
624
+ options: MultiSelectDataType[];
625
+ onChange: (values: MultiSelectDataType[]) => void;
626
+ values: MultiSelectDataType[];
627
+ optionComponent?: (arg: MultiSelectDataType) => React$1.ReactNode;
628
+ className?: string;
629
+ disabled?: boolean;
630
+ hideSearch?: boolean;
631
+ modal?: boolean;
632
+ children?: React$1.ReactNode;
633
+ label?: string;
634
+ placeholder?: string;
635
+ search?: {
636
+ value: string;
637
+ onChange: (value: string) => void;
638
+ filterSearch?: boolean;
639
+ };
640
+ isLoading?: boolean;
641
+ showSelectedValues?: boolean;
642
+ showAsterisk?: boolean;
643
+ description?: React$1.ReactNode;
644
+ error?: string;
645
+ }
646
+ interface MultiSelectTriggerProps extends VariantProps<typeof inputContainerVariants> {
647
+ values: MultiSelectDataType[];
648
+ disabled?: boolean;
649
+ placeholder?: string;
650
+ className?: string;
651
+ }
652
+ declare const MultiSelectTrigger: ({ disabled, className, values, placeholder, status, }: MultiSelectTriggerProps) => react_jsx_runtime.JSX.Element;
653
+ declare const MultiSelect: ({ options, children, onChange, optionComponent, values: dataValues, hideSearch, modal, placeholder, search, isLoading, showSelectedValues, error, label, showAsterisk, }: MultiSelectProps) => react_jsx_runtime.JSX.Element;
654
+
617
655
  declare const CurrencySymbolMap: Record<string, string>;
618
656
  interface FormatCurrencyOptions {
619
657
  convertToMajorCurrency?: boolean;
@@ -635,4 +673,4 @@ declare class DateAction {
635
673
 
636
674
  declare function cn(...inputs: ClassValue[]): string;
637
675
 
638
- export { AmountAction, Banner, Button, CalendarInput, CopyableLabel, Country, CurrencySymbolMap, DateAction, DebouncedInput, DevBanner, Dialog, Drawer, DrawerClose, type DrawerPropsType, DrawerRoot, type FilterListItem, type FilterListOptions, FilterPopover, FlagComponent, FormLabel, type FormatCurrencyOptions, HasResourcePermission, Input, Loader, LocaleSelector, OTPInput, PageDataToolbar, Pagination, PasswordInput, PermissionsContext, PermissionsProvider, PhoneInput, Popover, PopoverContent, PopoverRoot, PopoverTrigger, RadioGroup, RadioGroupItem, type ResourcePermission, type ResourcePermissionProps, type ResourcePermissions, ScrollArea, Select, Sidebar, Status, Table, type TableBulkRowActionsProps, type TablePaginationProps, TextOverflow, type TextOverflowProps, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipRoot, TooltipTrigger, buttonVariants, cn, useFilterStore, useHasPermission, usePermissions };
676
+ export { AmountAction, Banner, Button, CalendarInput, CopyableLabel, Country, CurrencySymbolMap, DateAction, DebouncedInput, DevBanner, Dialog, Drawer, DrawerClose, type DrawerPropsType, DrawerRoot, type FilterListItem, type FilterListOptions, FilterPopover, FlagComponent, FormLabel, type FormatCurrencyOptions, HasResourcePermission, Input, Loader, LocaleSelector, MultiSelect, type MultiSelectDataType, MultiSelectTrigger, OTPInput, PageDataToolbar, Pagination, PasswordInput, PermissionsContext, PermissionsProvider, PhoneInput, Popover, PopoverContent, PopoverRoot, PopoverTrigger, RadioGroup, RadioGroupItem, type ResourcePermission, type ResourcePermissionProps, type ResourcePermissions, ScrollArea, Select, Sidebar, Status, Table, type TableBulkRowActionsProps, type TablePaginationProps, TextOverflow, type TextOverflowProps, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipRoot, TooltipTrigger, buttonVariants, cn, useFilterStore, useHasPermission, usePermissions };
package/dist/index.d.ts CHANGED
@@ -614,6 +614,44 @@ declare const ScrollArea: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimi
614
614
  viewPortClassName?: string;
615
615
  } & React$1.RefAttributes<HTMLDivElement>>;
616
616
 
617
+ type MultiSelectDataType = {
618
+ value: string;
619
+ label: string;
620
+ } & {
621
+ [key: string]: string | number;
622
+ };
623
+ interface MultiSelectProps {
624
+ options: MultiSelectDataType[];
625
+ onChange: (values: MultiSelectDataType[]) => void;
626
+ values: MultiSelectDataType[];
627
+ optionComponent?: (arg: MultiSelectDataType) => React$1.ReactNode;
628
+ className?: string;
629
+ disabled?: boolean;
630
+ hideSearch?: boolean;
631
+ modal?: boolean;
632
+ children?: React$1.ReactNode;
633
+ label?: string;
634
+ placeholder?: string;
635
+ search?: {
636
+ value: string;
637
+ onChange: (value: string) => void;
638
+ filterSearch?: boolean;
639
+ };
640
+ isLoading?: boolean;
641
+ showSelectedValues?: boolean;
642
+ showAsterisk?: boolean;
643
+ description?: React$1.ReactNode;
644
+ error?: string;
645
+ }
646
+ interface MultiSelectTriggerProps extends VariantProps<typeof inputContainerVariants> {
647
+ values: MultiSelectDataType[];
648
+ disabled?: boolean;
649
+ placeholder?: string;
650
+ className?: string;
651
+ }
652
+ declare const MultiSelectTrigger: ({ disabled, className, values, placeholder, status, }: MultiSelectTriggerProps) => react_jsx_runtime.JSX.Element;
653
+ declare const MultiSelect: ({ options, children, onChange, optionComponent, values: dataValues, hideSearch, modal, placeholder, search, isLoading, showSelectedValues, error, label, showAsterisk, }: MultiSelectProps) => react_jsx_runtime.JSX.Element;
654
+
617
655
  declare const CurrencySymbolMap: Record<string, string>;
618
656
  interface FormatCurrencyOptions {
619
657
  convertToMajorCurrency?: boolean;
@@ -635,4 +673,4 @@ declare class DateAction {
635
673
 
636
674
  declare function cn(...inputs: ClassValue[]): string;
637
675
 
638
- export { AmountAction, Banner, Button, CalendarInput, CopyableLabel, Country, CurrencySymbolMap, DateAction, DebouncedInput, DevBanner, Dialog, Drawer, DrawerClose, type DrawerPropsType, DrawerRoot, type FilterListItem, type FilterListOptions, FilterPopover, FlagComponent, FormLabel, type FormatCurrencyOptions, HasResourcePermission, Input, Loader, LocaleSelector, OTPInput, PageDataToolbar, Pagination, PasswordInput, PermissionsContext, PermissionsProvider, PhoneInput, Popover, PopoverContent, PopoverRoot, PopoverTrigger, RadioGroup, RadioGroupItem, type ResourcePermission, type ResourcePermissionProps, type ResourcePermissions, ScrollArea, Select, Sidebar, Status, Table, type TableBulkRowActionsProps, type TablePaginationProps, TextOverflow, type TextOverflowProps, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipRoot, TooltipTrigger, buttonVariants, cn, useFilterStore, useHasPermission, usePermissions };
676
+ export { AmountAction, Banner, Button, CalendarInput, CopyableLabel, Country, CurrencySymbolMap, DateAction, DebouncedInput, DevBanner, Dialog, Drawer, DrawerClose, type DrawerPropsType, DrawerRoot, type FilterListItem, type FilterListOptions, FilterPopover, FlagComponent, FormLabel, type FormatCurrencyOptions, HasResourcePermission, Input, Loader, LocaleSelector, MultiSelect, type MultiSelectDataType, MultiSelectTrigger, OTPInput, PageDataToolbar, Pagination, PasswordInput, PermissionsContext, PermissionsProvider, PhoneInput, Popover, PopoverContent, PopoverRoot, PopoverTrigger, RadioGroup, RadioGroupItem, type ResourcePermission, type ResourcePermissionProps, type ResourcePermissions, ScrollArea, Select, Sidebar, Status, Table, type TableBulkRowActionsProps, type TablePaginationProps, TextOverflow, type TextOverflowProps, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipRoot, TooltipTrigger, buttonVariants, cn, useFilterStore, useHasPermission, usePermissions };