@hybr1d-tech/charizard 0.7.36 → 0.7.37
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/hybr1d-ui.js +6603 -6994
- package/dist/hybr1d-ui.umd.cjs +14 -14
- package/dist/index.d.ts +17 -48
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ActionMeta } from 'react-select';
|
|
2
|
-
import { DateRange } from 'react-day-picker';
|
|
3
2
|
import { default as default_2 } from 'react';
|
|
4
3
|
import * as dialog from '@zag-js/dialog';
|
|
5
4
|
import { HTMLInputTypeAttribute } from 'react';
|
|
@@ -12,7 +11,6 @@ import { Placement } from '@zag-js/popper';
|
|
|
12
11
|
import { Placement as Placement_2 } from '@popperjs/core';
|
|
13
12
|
import { PositioningOptions } from '@zag-js/popper';
|
|
14
13
|
import { Props } from 'react-select';
|
|
15
|
-
import { PropsRange } from 'react-day-picker';
|
|
16
14
|
import { PropsSingle } from 'react-day-picker';
|
|
17
15
|
import * as React_2 from 'react';
|
|
18
16
|
import { ReactElement } from 'react';
|
|
@@ -421,24 +419,6 @@ declare interface DatePickerProps extends PropsSingle {
|
|
|
421
419
|
disabled?: Matcher | Matcher[];
|
|
422
420
|
}
|
|
423
421
|
|
|
424
|
-
export declare function DateRangePicker({ value, onChange, mode, datePickerClassNames, showQuickSelect, disabled, customDisable, disableDatepicker, disableWeekends, showOutsideDays, errorMsg, customInputContentStyles, ...props }: DateRangePickerProps): JSX_2.Element;
|
|
425
|
-
|
|
426
|
-
declare interface DateRangePickerProps extends PropsRange {
|
|
427
|
-
value: DateRange;
|
|
428
|
-
onChange: (value: DateRange) => void;
|
|
429
|
-
mode: 'range';
|
|
430
|
-
showQuickSelect?: boolean;
|
|
431
|
-
disabled?: Matcher | Matcher[] | undefined;
|
|
432
|
-
customDisable?: Matcher | Matcher[];
|
|
433
|
-
disableWeekends?: boolean;
|
|
434
|
-
datePickerClassNames?: Record<string, string>;
|
|
435
|
-
disableDatepicker?: boolean;
|
|
436
|
-
errorMsg?: string;
|
|
437
|
-
placement?: Placement;
|
|
438
|
-
customInputContentStyles?: React_2.CSSProperties;
|
|
439
|
-
showOutsideDays?: boolean;
|
|
440
|
-
}
|
|
441
|
-
|
|
442
422
|
declare enum DOCS_TYPE {
|
|
443
423
|
USER_DOCS = "user_document",
|
|
444
424
|
COMPANY_DOCS = "company_document",
|
|
@@ -674,29 +654,6 @@ declare interface EmptyStateProps {
|
|
|
674
654
|
customSvgClassName?: string;
|
|
675
655
|
}
|
|
676
656
|
|
|
677
|
-
export declare function Error404(): JSX_2.Element;
|
|
678
|
-
|
|
679
|
-
export declare function Error500(): JSX_2.Element;
|
|
680
|
-
|
|
681
|
-
export declare function ErrorBoundaryFallback({ error, resetError, isDev, homeRoute, }: {
|
|
682
|
-
error: Error;
|
|
683
|
-
resetError: () => void;
|
|
684
|
-
isDev: boolean;
|
|
685
|
-
homeRoute?: string;
|
|
686
|
-
}): JSX_2.Element;
|
|
687
|
-
|
|
688
|
-
export declare function ErrorsLayout({ children, showReload, onErrorReset, homeRoute, }: {
|
|
689
|
-
children?: React_2.ReactNode;
|
|
690
|
-
showReload?: boolean;
|
|
691
|
-
onErrorReset?: () => void;
|
|
692
|
-
homeRoute?: string;
|
|
693
|
-
}): JSX_2.Element;
|
|
694
|
-
|
|
695
|
-
export declare function ErrorsPage({ isOnly500, homeRoute, }: {
|
|
696
|
-
isOnly500?: boolean;
|
|
697
|
-
homeRoute?: string;
|
|
698
|
-
}): JSX_2.Element;
|
|
699
|
-
|
|
700
657
|
/**
|
|
701
658
|
* @param filters comes from an api, must follow the type definition strictly
|
|
702
659
|
* @param isLoading is fetching from api
|
|
@@ -2882,13 +2839,13 @@ declare interface TooltipV2Props {
|
|
|
2882
2839
|
|
|
2883
2840
|
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;
|
|
2884
2841
|
|
|
2885
|
-
|
|
2842
|
+
declare enum UPLOAD_ALIGN_BTN_CONTENT {
|
|
2886
2843
|
LEFT = "flex-start",
|
|
2887
2844
|
CENTER = "center",
|
|
2888
2845
|
RIGHT = "flex-end"
|
|
2889
2846
|
}
|
|
2890
2847
|
|
|
2891
|
-
|
|
2848
|
+
declare type UploadFileType = {
|
|
2892
2849
|
id?: string;
|
|
2893
2850
|
ext: string;
|
|
2894
2851
|
type: string;
|
|
@@ -2937,6 +2894,16 @@ export declare const useBreadcrumbs: (breadcrumbs: Breadcrumb_2[]) => void;
|
|
|
2937
2894
|
|
|
2938
2895
|
export declare const useBreadcrumbsStore: UseBoundStore<StoreApi<BreadcrumbsStore>>;
|
|
2939
2896
|
|
|
2897
|
+
declare interface User {
|
|
2898
|
+
id: string;
|
|
2899
|
+
start_date?: string;
|
|
2900
|
+
last_working_date?: string;
|
|
2901
|
+
last_name: string;
|
|
2902
|
+
first_name: string;
|
|
2903
|
+
work_email: string;
|
|
2904
|
+
profile_img_url?: string;
|
|
2905
|
+
}
|
|
2906
|
+
|
|
2940
2907
|
export declare enum USER_CHIP_STATUS {
|
|
2941
2908
|
DEFAULT = "default",
|
|
2942
2909
|
NEUTRAL = "neutral",
|
|
@@ -2947,13 +2914,15 @@ export declare enum USER_CHIP_STATUS {
|
|
|
2947
2914
|
WHITE = "white"
|
|
2948
2915
|
}
|
|
2949
2916
|
|
|
2950
|
-
export declare function UserChip({ status, selected, username, profileImgUrl, }: UserChipProps): JSX_2.Element;
|
|
2917
|
+
export declare function UserChip({ status, selected, username, profileImgUrl, isMulti, users, }: UserChipProps): JSX_2.Element;
|
|
2951
2918
|
|
|
2952
2919
|
declare interface UserChipProps {
|
|
2953
2920
|
status?: USER_CHIP_STATUS;
|
|
2954
2921
|
selected?: boolean;
|
|
2955
|
-
username
|
|
2956
|
-
profileImgUrl
|
|
2922
|
+
username?: string;
|
|
2923
|
+
profileImgUrl?: string;
|
|
2924
|
+
isMulti?: boolean;
|
|
2925
|
+
users?: User[];
|
|
2957
2926
|
}
|
|
2958
2927
|
|
|
2959
2928
|
export { }
|