@6thbridge/hexa 0.0.69 → 0.0.71
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 +35 -1
- package/dist/index.d.ts +35 -1
- package/dist/index.js +8 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -3
- package/dist/index.mjs.map +1 -1
- package/dist/output.css +170 -0
- package/package.json +2 -1
package/dist/index.d.mts
CHANGED
@@ -614,6 +614,40 @@ 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
|
+
isLoading?: boolean;
|
636
|
+
showSelectedValues?: boolean;
|
637
|
+
showAsterisk?: boolean;
|
638
|
+
description?: React$1.ReactNode;
|
639
|
+
error?: string;
|
640
|
+
}
|
641
|
+
interface MultiSelectTriggerProps extends VariantProps<typeof inputContainerVariants> {
|
642
|
+
values: MultiSelectDataType[];
|
643
|
+
disabled?: boolean;
|
644
|
+
placeholder?: string;
|
645
|
+
className?: string;
|
646
|
+
onDelete?: (el: MultiSelectDataType) => void;
|
647
|
+
}
|
648
|
+
declare const MultiSelectTrigger: ({ disabled, className, values, placeholder, status, onDelete, }: MultiSelectTriggerProps) => react_jsx_runtime.JSX.Element;
|
649
|
+
declare const MultiSelect: ({ options, children, onChange, optionComponent, values: dataValues, hideSearch, modal, placeholder, isLoading, showSelectedValues, error, label, showAsterisk, }: MultiSelectProps) => react_jsx_runtime.JSX.Element;
|
650
|
+
|
617
651
|
declare const CurrencySymbolMap: Record<string, string>;
|
618
652
|
interface FormatCurrencyOptions {
|
619
653
|
convertToMajorCurrency?: boolean;
|
@@ -635,4 +669,4 @@ declare class DateAction {
|
|
635
669
|
|
636
670
|
declare function cn(...inputs: ClassValue[]): string;
|
637
671
|
|
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 };
|
672
|
+
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,40 @@ 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
|
+
isLoading?: boolean;
|
636
|
+
showSelectedValues?: boolean;
|
637
|
+
showAsterisk?: boolean;
|
638
|
+
description?: React$1.ReactNode;
|
639
|
+
error?: string;
|
640
|
+
}
|
641
|
+
interface MultiSelectTriggerProps extends VariantProps<typeof inputContainerVariants> {
|
642
|
+
values: MultiSelectDataType[];
|
643
|
+
disabled?: boolean;
|
644
|
+
placeholder?: string;
|
645
|
+
className?: string;
|
646
|
+
onDelete?: (el: MultiSelectDataType) => void;
|
647
|
+
}
|
648
|
+
declare const MultiSelectTrigger: ({ disabled, className, values, placeholder, status, onDelete, }: MultiSelectTriggerProps) => react_jsx_runtime.JSX.Element;
|
649
|
+
declare const MultiSelect: ({ options, children, onChange, optionComponent, values: dataValues, hideSearch, modal, placeholder, isLoading, showSelectedValues, error, label, showAsterisk, }: MultiSelectProps) => react_jsx_runtime.JSX.Element;
|
650
|
+
|
617
651
|
declare const CurrencySymbolMap: Record<string, string>;
|
618
652
|
interface FormatCurrencyOptions {
|
619
653
|
convertToMajorCurrency?: boolean;
|
@@ -635,4 +669,4 @@ declare class DateAction {
|
|
635
669
|
|
636
670
|
declare function cn(...inputs: ClassValue[]): string;
|
637
671
|
|
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 };
|
672
|
+
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 };
|