@6thbridge/hexa 0.0.77 → 0.0.79

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
@@ -220,7 +220,7 @@ type OTPInputProps = DefailtInputProps & VariantProps<typeof otpInputVariants> &
220
220
  declare const OTPInput: ({ numInputs, inputStyle, containerStyle, placeholder, status, ...props }: OTPInputProps) => react_jsx_runtime.JSX.Element;
221
221
 
222
222
  declare const PopoverRoot: React$1.FC<PopoverPrimitive.PopoverProps>;
223
- declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
223
+ declare const PopoverTrigger: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
224
224
  declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
225
225
  portal?: boolean;
226
226
  } & React$1.RefAttributes<HTMLDivElement>>;
@@ -566,8 +566,11 @@ type CalendarInputProps = {
566
566
  optional?: boolean;
567
567
  onChange: (value: string | null) => void;
568
568
  value?: string;
569
+ maxDate?: Date | string;
570
+ closeOnSelect?: boolean;
571
+ modal?: boolean;
569
572
  };
570
- declare const CalendarInput: ({ label, optional, onChange, error, helpText, value, }: CalendarInputProps) => react_jsx_runtime.JSX.Element;
573
+ declare const CalendarInput: ({ label, optional, onChange, error, helpText, value, maxDate, closeOnSelect, modal, }: CalendarInputProps) => react_jsx_runtime.JSX.Element;
571
574
 
572
575
  declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
573
576
  className?: string;
@@ -664,6 +667,25 @@ type TabsProps = {
664
667
  };
665
668
  declare function Tabs({ tabs, defaultValue, onChange }: TabsProps): react_jsx_runtime.JSX.Element;
666
669
 
670
+ declare const featureBannerVariants: (props?: ({
671
+ variant?: "success" | "pending" | "default" | "danger" | null | undefined;
672
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
673
+ type FeatureBannerProps = {
674
+ title: string;
675
+ message?: ReactNode;
676
+ icon?: ReactNode;
677
+ action?: {
678
+ label: string;
679
+ onClick: () => void;
680
+ className?: string;
681
+ };
682
+ dismissible?: boolean;
683
+ onDismiss?: () => void;
684
+ isOpen?: boolean;
685
+ className?: string;
686
+ } & VariantProps<typeof featureBannerVariants>;
687
+ declare const FeatureBanner: ({ title, message, variant, icon, action, dismissible, onDismiss, isOpen, className, }: FeatureBannerProps) => react_jsx_runtime.JSX.Element | null;
688
+
667
689
  type EditorControl = "bold" | "italic" | "underline" | "strike" | "heading1" | "bulletList" | "orderedList" | "blockquote" | "textStyle" | "link";
668
690
 
669
691
  type RichTextEditorProps = {
@@ -770,4 +792,4 @@ declare class DateAction {
770
792
 
771
793
  declare function cn(...inputs: ClassValue[]): string;
772
794
 
773
- 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, RichTextEditor, ScrollArea, Select, Sidebar, Status, Table, type TableBulkRowActionsProps, type TablePaginationProps, Tabs, TextOverflow, type TextOverflowProps, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipRoot, TooltipTrigger, buttonVariants, cn, useFilterStore, useHasPermission, usePermissions };
795
+ export { AmountAction, Banner, Button, CalendarInput, CopyableLabel, Country, CurrencySymbolMap, DateAction, DebouncedInput, DevBanner, Dialog, Drawer, DrawerClose, type DrawerPropsType, DrawerRoot, FeatureBanner, 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, RichTextEditor, 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
@@ -220,7 +220,7 @@ type OTPInputProps = DefailtInputProps & VariantProps<typeof otpInputVariants> &
220
220
  declare const OTPInput: ({ numInputs, inputStyle, containerStyle, placeholder, status, ...props }: OTPInputProps) => react_jsx_runtime.JSX.Element;
221
221
 
222
222
  declare const PopoverRoot: React$1.FC<PopoverPrimitive.PopoverProps>;
223
- declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
223
+ declare const PopoverTrigger: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
224
224
  declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
225
225
  portal?: boolean;
226
226
  } & React$1.RefAttributes<HTMLDivElement>>;
@@ -566,8 +566,11 @@ type CalendarInputProps = {
566
566
  optional?: boolean;
567
567
  onChange: (value: string | null) => void;
568
568
  value?: string;
569
+ maxDate?: Date | string;
570
+ closeOnSelect?: boolean;
571
+ modal?: boolean;
569
572
  };
570
- declare const CalendarInput: ({ label, optional, onChange, error, helpText, value, }: CalendarInputProps) => react_jsx_runtime.JSX.Element;
573
+ declare const CalendarInput: ({ label, optional, onChange, error, helpText, value, maxDate, closeOnSelect, modal, }: CalendarInputProps) => react_jsx_runtime.JSX.Element;
571
574
 
572
575
  declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
573
576
  className?: string;
@@ -664,6 +667,25 @@ type TabsProps = {
664
667
  };
665
668
  declare function Tabs({ tabs, defaultValue, onChange }: TabsProps): react_jsx_runtime.JSX.Element;
666
669
 
670
+ declare const featureBannerVariants: (props?: ({
671
+ variant?: "success" | "pending" | "default" | "danger" | null | undefined;
672
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
673
+ type FeatureBannerProps = {
674
+ title: string;
675
+ message?: ReactNode;
676
+ icon?: ReactNode;
677
+ action?: {
678
+ label: string;
679
+ onClick: () => void;
680
+ className?: string;
681
+ };
682
+ dismissible?: boolean;
683
+ onDismiss?: () => void;
684
+ isOpen?: boolean;
685
+ className?: string;
686
+ } & VariantProps<typeof featureBannerVariants>;
687
+ declare const FeatureBanner: ({ title, message, variant, icon, action, dismissible, onDismiss, isOpen, className, }: FeatureBannerProps) => react_jsx_runtime.JSX.Element | null;
688
+
667
689
  type EditorControl = "bold" | "italic" | "underline" | "strike" | "heading1" | "bulletList" | "orderedList" | "blockquote" | "textStyle" | "link";
668
690
 
669
691
  type RichTextEditorProps = {
@@ -770,4 +792,4 @@ declare class DateAction {
770
792
 
771
793
  declare function cn(...inputs: ClassValue[]): string;
772
794
 
773
- 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, RichTextEditor, ScrollArea, Select, Sidebar, Status, Table, type TableBulkRowActionsProps, type TablePaginationProps, Tabs, TextOverflow, type TextOverflowProps, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipRoot, TooltipTrigger, buttonVariants, cn, useFilterStore, useHasPermission, usePermissions };
795
+ export { AmountAction, Banner, Button, CalendarInput, CopyableLabel, Country, CurrencySymbolMap, DateAction, DebouncedInput, DevBanner, Dialog, Drawer, DrawerClose, type DrawerPropsType, DrawerRoot, FeatureBanner, 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, RichTextEditor, ScrollArea, Select, Sidebar, Status, Table, type TableBulkRowActionsProps, type TablePaginationProps, Tabs, TextOverflow, type TextOverflowProps, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipRoot, TooltipTrigger, buttonVariants, cn, useFilterStore, useHasPermission, usePermissions };