@6thbridge/hexa 0.0.78 → 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
@@ -667,6 +667,25 @@ type TabsProps = {
667
667
  };
668
668
  declare function Tabs({ tabs, defaultValue, onChange }: TabsProps): react_jsx_runtime.JSX.Element;
669
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
+
670
689
  type EditorControl = "bold" | "italic" | "underline" | "strike" | "heading1" | "bulletList" | "orderedList" | "blockquote" | "textStyle" | "link";
671
690
 
672
691
  type RichTextEditorProps = {
@@ -773,4 +792,4 @@ declare class DateAction {
773
792
 
774
793
  declare function cn(...inputs: ClassValue[]): string;
775
794
 
776
- 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
@@ -667,6 +667,25 @@ type TabsProps = {
667
667
  };
668
668
  declare function Tabs({ tabs, defaultValue, onChange }: TabsProps): react_jsx_runtime.JSX.Element;
669
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
+
670
689
  type EditorControl = "bold" | "italic" | "underline" | "strike" | "heading1" | "bulletList" | "orderedList" | "blockquote" | "textStyle" | "link";
671
690
 
672
691
  type RichTextEditorProps = {
@@ -773,4 +792,4 @@ declare class DateAction {
773
792
 
774
793
  declare function cn(...inputs: ClassValue[]): string;
775
794
 
776
- 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 };