@hybr1d-tech/charizard 0.7.107 → 0.7.109

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
@@ -434,6 +434,13 @@ export declare interface CreatableSelectV2Props extends SelectV2Props {
434
434
  onCreateOption: (value: string) => Promise<void> | void;
435
435
  }
436
436
 
437
+ declare type CustomColCheckedState = {
438
+ id: string;
439
+ label: string;
440
+ checked: boolean;
441
+ group?: string;
442
+ };
443
+
437
444
  declare type DateConfig = Partial<DateRangePickerProps>;
438
445
 
439
446
  export declare function DatePicker({ value, onChange, mode, variant, displayDateFormat, errorMsg, disableDatepicker, disabled, buttonVariant, customContainerStyles, popoverConfig, isError, showOutsideDays, ...props }: DatePickerProps): JSX_2.Element;
@@ -2568,13 +2575,10 @@ export declare const Tab: default_2.FC<TabProps>;
2568
2575
 
2569
2576
  export declare function Table({ data, loaderConfig, columns, filterConfig, sortConfig, rowSelectionConfig, actionsConfig, searchConfig, totalText, paginationConfig, emptyStateConfig, tableStyleConfig, customColumnConfig, exportConfig, }: TableProps): JSX_2.Element;
2570
2577
 
2578
+ declare type TableCustomColsVariant = 'default' | 'selection';
2579
+
2571
2580
  declare type TableCustomColumns = {
2572
- checked_state: Array<{
2573
- id: string;
2574
- label: string;
2575
- checked: boolean;
2576
- group?: string;
2577
- }>;
2581
+ checked_state: Array<CustomColCheckedState>;
2578
2582
  is_default: boolean;
2579
2583
  table_name: string;
2580
2584
  };
@@ -2811,6 +2815,7 @@ export declare interface TableProps {
2811
2815
  isPending: boolean;
2812
2816
  isError: boolean;
2813
2817
  handleSaveColumns: (columns: any) => Promise<void>;
2818
+ variant?: TableCustomColsVariant;
2814
2819
  };
2815
2820
  /**
2816
2821
  * export config (csv)