@hybr1d-tech/charizard 0.7.76 → 0.7.78

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.ts CHANGED
@@ -466,6 +466,18 @@ declare interface DateRangePickerProps extends PropsRange {
466
466
  showOutsideDays?: boolean;
467
467
  }
468
468
 
469
+ export declare type DialogFooterButtons = Array<{
470
+ variant?: BUTTON_V2_VARIANT;
471
+ onClick: () => void;
472
+ btnText: string;
473
+ btnType?: 'button' | 'submit' | 'reset';
474
+ btnSize?: BUTTON_V2_SIZE;
475
+ disabled?: boolean;
476
+ isLoading?: boolean;
477
+ loadingText?: string;
478
+ type?: BUTTON_V2_TYPE;
479
+ }>;
480
+
469
481
  declare enum DOCS_TYPE {
470
482
  USER_DOCS = "user_document",
471
483
  COMPANY_DOCS = "company_document",
@@ -484,18 +496,6 @@ declare enum DOCS_TYPE {
484
496
 
485
497
  export declare function Drawer({ isOpen, onClose, children, title, subTitle, customHeader, customFooter, size, showBackdrop, showHeader, showFooter, buttons, footerAddon, headerClassName, contentClassName, footerClassName, showHeaderBorder, drawerPosition, customContainerStyles, }: DrawerProps): JSX_2.Element;
486
498
 
487
- export declare type DrawerFooterButtons = Array<{
488
- variant?: BUTTON_V2_VARIANT;
489
- onClick: () => void;
490
- btnText: string;
491
- btnType?: 'button' | 'submit' | 'reset';
492
- btnSize?: BUTTON_V2_SIZE;
493
- disabled?: boolean;
494
- isLoading?: boolean;
495
- loadingText?: string;
496
- type?: BUTTON_V2_TYPE;
497
- }>;
498
-
499
499
  declare interface DrawerProps {
500
500
  /**
501
501
  * Drawer footer className
@@ -629,7 +629,7 @@ declare interface DrawerProps_2 {
629
629
  /**
630
630
  * footer buttons to show
631
631
  */
632
- buttons?: DrawerFooterButtons;
632
+ buttons?: DialogFooterButtons;
633
633
  footerAddon?: React_2.ReactNode;
634
634
  /**
635
635
  * Drawer position
@@ -831,6 +831,7 @@ export declare interface GroupActionProps {
831
831
  isCustomTrigger?: boolean;
832
832
  isSingleBtnTrigger?: boolean;
833
833
  hideDivider?: boolean;
834
+ onClick?: any;
834
835
  }
835
836
 
836
837
  export declare type HexColor = `#${string}`;
@@ -2644,7 +2645,7 @@ export declare interface TableProps {
2644
2645
  isRadio?: boolean;
2645
2646
  entityName: string;
2646
2647
  actions?: {
2647
- icon: string;
2648
+ iconSrc: string;
2648
2649
  label: string;
2649
2650
  onClick: any;
2650
2651
  }[];