@hybr1d-tech/charizard 0.7.37 → 0.7.39

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
@@ -1,4 +1,6 @@
1
1
  import { ActionMeta } from 'react-select';
2
+ import { ClassNames } from 'react-day-picker';
3
+ import { DateRange } from 'react-day-picker';
2
4
  import { default as default_2 } from 'react';
3
5
  import * as dialog from '@zag-js/dialog';
4
6
  import { HTMLInputTypeAttribute } from 'react';
@@ -11,6 +13,7 @@ import { Placement } from '@zag-js/popper';
11
13
  import { Placement as Placement_2 } from '@popperjs/core';
12
14
  import { PositioningOptions } from '@zag-js/popper';
13
15
  import { Props } from 'react-select';
16
+ import { PropsRange } from 'react-day-picker';
14
17
  import { PropsSingle } from 'react-day-picker';
15
18
  import * as React_2 from 'react';
16
19
  import { ReactElement } from 'react';
@@ -419,6 +422,24 @@ declare interface DatePickerProps extends PropsSingle {
419
422
  disabled?: Matcher | Matcher[];
420
423
  }
421
424
 
425
+ export declare function DateRangePicker({ value, onChange, mode, datePickerClassNames, showQuickSelect, disabled, customDisable, disableDatepicker, disableWeekends, showOutsideDays, errorMsg, customInputContentStyles, ...props }: DateRangePickerProps): JSX_2.Element;
426
+
427
+ declare interface DateRangePickerProps extends PropsRange {
428
+ value: DateRange;
429
+ onChange: (value: DateRange) => void;
430
+ mode: 'range';
431
+ showQuickSelect?: boolean;
432
+ disabled?: Matcher | Matcher[] | undefined;
433
+ customDisable?: Matcher | Matcher[];
434
+ disableWeekends?: boolean;
435
+ datePickerClassNames?: ClassNames;
436
+ disableDatepicker?: boolean;
437
+ errorMsg?: string;
438
+ placement?: Placement;
439
+ customInputContentStyles?: React_2.CSSProperties;
440
+ showOutsideDays?: boolean;
441
+ }
442
+
422
443
  declare enum DOCS_TYPE {
423
444
  USER_DOCS = "user_document",
424
445
  COMPANY_DOCS = "company_document",
@@ -654,6 +675,35 @@ declare interface EmptyStateProps {
654
675
  customSvgClassName?: string;
655
676
  }
656
677
 
678
+ export declare function Error404(): JSX_2.Element;
679
+
680
+ export declare function Error500(): JSX_2.Element;
681
+
682
+ export declare function ErrorBoundaryFallback({ error, resetError, isDev, homeRoute, }: ErrorBoundaryFallbackProps): JSX_2.Element;
683
+
684
+ declare interface ErrorBoundaryFallbackProps {
685
+ error: Error;
686
+ resetError: () => void;
687
+ isDev: boolean;
688
+ homeRoute?: string;
689
+ }
690
+
691
+ export declare function ErrorsLayout({ children, showReload, onErrorReset, homeRoute, }: ErrorsLayoutProps): JSX_2.Element;
692
+
693
+ declare interface ErrorsLayoutProps {
694
+ children?: React_2.ReactNode;
695
+ showReload?: boolean;
696
+ onErrorReset?: () => void;
697
+ homeRoute?: string;
698
+ }
699
+
700
+ export declare function ErrorsPage({ isOnly500, homeRoute }: ErrorsPageProps): JSX_2.Element;
701
+
702
+ declare interface ErrorsPageProps {
703
+ isOnly500?: boolean;
704
+ homeRoute?: string;
705
+ }
706
+
657
707
  /**
658
708
  * @param filters comes from an api, must follow the type definition strictly
659
709
  * @param isLoading is fetching from api
@@ -2839,13 +2889,13 @@ declare interface TooltipV2Props {
2839
2889
 
2840
2890
  export declare function Upload({ getUploadDoc, setIsUploading, customComponent, fileUploadLimit, type, isMultiple, uploadFileLimit, singleFileClassName, fileContainerClassName, uploadBtnClassName, alignContent, showUploadIcon, additionalNode, disabled, addDocumentText, customUrl, beforeUploadHandler, extraSubtitleText, inventoryId, softwareId, preLoadedFiles, showFileList, acceptedFileTypes, error, addDocumentSubtitle, handleImageUpload, }: UploadProps): JSX_2.Element;
2841
2891
 
2842
- declare enum UPLOAD_ALIGN_BTN_CONTENT {
2892
+ export declare enum UPLOAD_ALIGN_BTN_CONTENT {
2843
2893
  LEFT = "flex-start",
2844
2894
  CENTER = "center",
2845
2895
  RIGHT = "flex-end"
2846
2896
  }
2847
2897
 
2848
- declare type UploadFileType = {
2898
+ export declare type UploadFileType = {
2849
2899
  id?: string;
2850
2900
  ext: string;
2851
2901
  type: string;