@hybr1d-tech/charizard 0.7.92 → 0.7.94

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
@@ -450,7 +450,7 @@ declare interface DatePickerProps extends PropsSingle {
450
450
  disabled?: Matcher | Matcher[];
451
451
  }
452
452
 
453
- export declare function DateRangePicker({ value, onChange, mode, datePickerClassNames, showQuickSelect, disabled, customDisable, disableDatepicker, disableWeekends, showOutsideDays, errorMsg, customInputContentStyles, customClasses, size, onReset, ...props }: DateRangePickerProps): JSX_2.Element;
453
+ export declare function DateRangePicker({ value, onChange, mode, datePickerClassNames, showQuickSelect, disabled, customDisable, disableDatepicker, disableWeekends, showOutsideDays, errorMsg, customInputContentStyles, customClasses, size, onReset, placeholder, ...props }: DateRangePickerProps): JSX_2.Element;
454
454
 
455
455
  declare interface DateRangePickerProps extends PropsRange {
456
456
  value: DateRange;
@@ -473,6 +473,7 @@ declare interface DateRangePickerProps extends PropsRange {
473
473
  dateIcon?: string;
474
474
  };
475
475
  size?: BUTTON_V2_SIZE;
476
+ placeholder?: string;
476
477
  }
477
478
 
478
479
  export declare type DialogFooterButtons = Array<Omit<ButtonV2Props, 'children'> & {
@@ -735,7 +736,8 @@ declare interface ErrorsPageProps {
735
736
 
736
737
  declare enum FILTER_TYPE {
737
738
  DATE_RANGE = "date_range",
738
- MENU = "menu"
739
+ MENU = "menu",
740
+ TAB = "tab"
739
741
  }
740
742
 
741
743
  /**
@@ -768,6 +770,9 @@ declare type FilterConfig = {
768
770
  *
769
771
  */
770
772
  declare type FilterConfig_2 = {
773
+ initialFilters?: {
774
+ [key: string]: string | string[];
775
+ };
771
776
  filters?: TableFilters;
772
777
  isLoading: boolean;
773
778
  isError: boolean;
@@ -2289,6 +2294,17 @@ export declare interface SelectorsProps {
2289
2294
  }[];
2290
2295
  }
2291
2296
 
2297
+ export declare function SelectorsV2({ options, onChange, value }: SelectorsV2Props): JSX_2.Element;
2298
+
2299
+ export declare interface SelectorsV2Props {
2300
+ options: {
2301
+ label: string;
2302
+ value: string;
2303
+ }[];
2304
+ onChange: (value: string) => void;
2305
+ value: string;
2306
+ }
2307
+
2292
2308
  declare interface SelectProps {
2293
2309
  /**
2294
2310
  * The options to be displayed in the select
@@ -3028,15 +3044,6 @@ export declare const useBreadcrumbs: (breadcrumbs: Breadcrumb_2[]) => void;
3028
3044
 
3029
3045
  export declare const useBreadcrumbsStore: UseBoundStore<StoreApi<BreadcrumbsStore>>;
3030
3046
 
3031
- export declare interface User {
3032
- first_name: string;
3033
- last_name: string;
3034
- work_email: string;
3035
- profile_img_url: string;
3036
- id: string;
3037
- middle_name?: string | null;
3038
- }
3039
-
3040
3047
  export declare enum USER_CHIP_STATUS {
3041
3048
  DEFAULT = "default",
3042
3049
  NEUTRAL = "neutral",
@@ -3060,7 +3067,17 @@ export declare function UsersChip({ status, users }: UsersChipProps): JSX_2.Elem
3060
3067
 
3061
3068
  declare interface UsersChipProps {
3062
3069
  status?: USER_CHIP_STATUS;
3063
- users: Array<User>;
3070
+ users: Array<Partial<UsersChipUser>>;
3071
+ }
3072
+
3073
+ export declare interface UsersChipUser {
3074
+ first_name: string;
3075
+ last_name: string;
3076
+ work_email: string;
3077
+ profile_img_url: string;
3078
+ id: string;
3079
+ middle_name?: string | null;
3080
+ user_position?: string | null;
3064
3081
  }
3065
3082
 
3066
3083
  export { }