@6thbridge/hexa 0.0.0-pr47-52 → 0.0.0-pr50-59

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
@@ -84,6 +84,7 @@ interface InputProps extends BaseInnerInputProps, VariantProps<typeof inputConta
84
84
  label?: string;
85
85
  showAsterisk?: boolean;
86
86
  description?: React$1.ReactNode;
87
+ isContentSensitive?: boolean;
87
88
  }
88
89
  declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
89
90
 
@@ -648,6 +649,19 @@ interface MultiSelectTriggerProps extends VariantProps<typeof inputContainerVari
648
649
  declare const MultiSelectTrigger: React$1.MemoExoticComponent<({ disabled, className, values, placeholder, status, onDelete, }: MultiSelectTriggerProps) => react_jsx_runtime.JSX.Element>;
649
650
  declare const MultiSelect: ({ options, children, onChange, optionComponent, values: dataValues, hideSearch, modal, placeholder, isLoading, showSelectedValues, error, label, showAsterisk, }: MultiSelectProps) => react_jsx_runtime.JSX.Element;
650
651
 
652
+ type Tab = {
653
+ key: string;
654
+ title: React.ReactNode;
655
+ count?: number | boolean;
656
+ content: JSX.Element | React.ReactNode;
657
+ };
658
+ type TabsProps = {
659
+ tabs: Tab[];
660
+ defaultValue?: string;
661
+ onChange?: (value?: string) => void;
662
+ };
663
+ declare function Tabs({ tabs, defaultValue, onChange }: TabsProps): react_jsx_runtime.JSX.Element;
664
+
651
665
  declare const CurrencySymbolMap: Record<string, string>;
652
666
  interface FormatCurrencyOptions {
653
667
  convertToMajorCurrency?: boolean;
@@ -669,4 +683,4 @@ declare class DateAction {
669
683
 
670
684
  declare function cn(...inputs: ClassValue[]): string;
671
685
 
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 };
686
+ 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, Tabs, TextOverflow, type TextOverflowProps, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipRoot, TooltipTrigger, buttonVariants, cn, useFilterStore, useHasPermission, usePermissions };
package/dist/index.d.ts CHANGED
@@ -84,6 +84,7 @@ interface InputProps extends BaseInnerInputProps, VariantProps<typeof inputConta
84
84
  label?: string;
85
85
  showAsterisk?: boolean;
86
86
  description?: React$1.ReactNode;
87
+ isContentSensitive?: boolean;
87
88
  }
88
89
  declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
89
90
 
@@ -648,6 +649,19 @@ interface MultiSelectTriggerProps extends VariantProps<typeof inputContainerVari
648
649
  declare const MultiSelectTrigger: React$1.MemoExoticComponent<({ disabled, className, values, placeholder, status, onDelete, }: MultiSelectTriggerProps) => react_jsx_runtime.JSX.Element>;
649
650
  declare const MultiSelect: ({ options, children, onChange, optionComponent, values: dataValues, hideSearch, modal, placeholder, isLoading, showSelectedValues, error, label, showAsterisk, }: MultiSelectProps) => react_jsx_runtime.JSX.Element;
650
651
 
652
+ type Tab = {
653
+ key: string;
654
+ title: React.ReactNode;
655
+ count?: number | boolean;
656
+ content: JSX.Element | React.ReactNode;
657
+ };
658
+ type TabsProps = {
659
+ tabs: Tab[];
660
+ defaultValue?: string;
661
+ onChange?: (value?: string) => void;
662
+ };
663
+ declare function Tabs({ tabs, defaultValue, onChange }: TabsProps): react_jsx_runtime.JSX.Element;
664
+
651
665
  declare const CurrencySymbolMap: Record<string, string>;
652
666
  interface FormatCurrencyOptions {
653
667
  convertToMajorCurrency?: boolean;
@@ -669,4 +683,4 @@ declare class DateAction {
669
683
 
670
684
  declare function cn(...inputs: ClassValue[]): string;
671
685
 
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 };
686
+ 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, Tabs, TextOverflow, type TextOverflowProps, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipRoot, TooltipTrigger, buttonVariants, cn, useFilterStore, useHasPermission, usePermissions };