@hybr1d-tech/charizard 0.7.42 → 0.7.43
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 +6716 -7110
- package/dist/hybr1d-ui.umd.cjs +14 -14
- package/dist/index.d.ts +12 -62
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { ActionMeta } from 'react-select';
|
|
2
|
-
import { ClassNames } from 'react-day-picker';
|
|
3
|
-
import { DateRange } from 'react-day-picker';
|
|
4
2
|
import { default as default_2 } from 'react';
|
|
5
3
|
import * as dialog from '@zag-js/dialog';
|
|
6
4
|
import { HTMLInputTypeAttribute } from 'react';
|
|
@@ -13,7 +11,6 @@ import { Placement } from '@zag-js/popper';
|
|
|
13
11
|
import { Placement as Placement_2 } from '@popperjs/core';
|
|
14
12
|
import { PositioningOptions } from '@zag-js/popper';
|
|
15
13
|
import { Props } from 'react-select';
|
|
16
|
-
import { PropsRange } from 'react-day-picker';
|
|
17
14
|
import { PropsSingle } from 'react-day-picker';
|
|
18
15
|
import * as React_2 from 'react';
|
|
19
16
|
import { ReactElement } from 'react';
|
|
@@ -422,24 +419,6 @@ declare interface DatePickerProps extends PropsSingle {
|
|
|
422
419
|
disabled?: Matcher | Matcher[];
|
|
423
420
|
}
|
|
424
421
|
|
|
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
|
-
|
|
443
422
|
declare enum DOCS_TYPE {
|
|
444
423
|
USER_DOCS = "user_document",
|
|
445
424
|
COMPANY_DOCS = "company_document",
|
|
@@ -675,35 +654,6 @@ declare interface EmptyStateProps {
|
|
|
675
654
|
customSvgClassName?: string;
|
|
676
655
|
}
|
|
677
656
|
|
|
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
|
-
|
|
707
657
|
/**
|
|
708
658
|
* @param filters comes from an api, must follow the type definition strictly
|
|
709
659
|
* @param isLoading is fetching from api
|
|
@@ -1082,7 +1032,7 @@ export declare namespace InputGroupV2 {
|
|
|
1082
1032
|
*
|
|
1083
1033
|
* @property {string} icon - The icon to display.
|
|
1084
1034
|
* @property {() => void} [onClick] - Optional click handler for the icon.
|
|
1085
|
-
* @property {
|
|
1035
|
+
* @property {never} [iconStyles] - Used for internal styling when grouping it with multiple components. use className for styling icon if clickable.
|
|
1086
1036
|
* @property {boolean} [disabled] - Whether the icon should be disabled with input.
|
|
1087
1037
|
* @property {string} [className] - Additional classNames for the icon if it is clickable.
|
|
1088
1038
|
*
|
|
@@ -1096,7 +1046,7 @@ export declare namespace InputGroupV2 {
|
|
|
1096
1046
|
declare interface InputIconProps {
|
|
1097
1047
|
icon: string;
|
|
1098
1048
|
onClick?: () => void;
|
|
1099
|
-
|
|
1049
|
+
iconStyles?: never;
|
|
1100
1050
|
disabled?: boolean;
|
|
1101
1051
|
className?: string;
|
|
1102
1052
|
}
|
|
@@ -1445,8 +1395,8 @@ export declare const InputV2: React_2.ForwardRefExoticComponent<InputV2Props & R
|
|
|
1445
1395
|
*
|
|
1446
1396
|
* @property {string} [errorMsg] - Error message to display below the input if there is a validation error.
|
|
1447
1397
|
* @property {string} [containerClassName] - Additional class name(s) for the input container div.
|
|
1448
|
-
* @property {
|
|
1449
|
-
* @property {
|
|
1398
|
+
* @property {never} [inputStyles] - Used for internal styling when grouping it with multiple components. use className for styling input.
|
|
1399
|
+
* @property {never} [containerStyles] - Used for internal styling when grouping it with multiple components. use containerClassName for styling input container.
|
|
1450
1400
|
*
|
|
1451
1401
|
* @example
|
|
1452
1402
|
* <InputV2
|
|
@@ -1464,8 +1414,8 @@ export declare const InputV2: React_2.ForwardRefExoticComponent<InputV2Props & R
|
|
|
1464
1414
|
declare interface InputV2Props extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
1465
1415
|
errorMsg?: string;
|
|
1466
1416
|
containerClassName?: string;
|
|
1467
|
-
|
|
1468
|
-
|
|
1417
|
+
inputStyles?: never;
|
|
1418
|
+
containerStyles?: never;
|
|
1469
1419
|
}
|
|
1470
1420
|
|
|
1471
1421
|
declare interface ITask {
|
|
@@ -2765,8 +2715,8 @@ export declare const TextareaV2: React_2.ForwardRefExoticComponent<TextareaV2Pro
|
|
|
2765
2715
|
*
|
|
2766
2716
|
* @property {string} [errorMsg] - Error message to display below the textarea if there is a validation error.
|
|
2767
2717
|
* @property {string} [containerClassName] - Additional class name(s) for the textarea container div.
|
|
2768
|
-
* @property {
|
|
2769
|
-
* @property {
|
|
2718
|
+
* @property {never} [inputStyles] - Used for internal styling when grouping it with multiple components. use className for styling textarea.
|
|
2719
|
+
* @property {never} [containerStyles] - Used for internal styling when grouping it with multiple components. use containerClassName for styling textarea container.
|
|
2770
2720
|
*
|
|
2771
2721
|
* @example
|
|
2772
2722
|
* <TextareaV2
|
|
@@ -2784,8 +2734,8 @@ export declare const TextareaV2: React_2.ForwardRefExoticComponent<TextareaV2Pro
|
|
|
2784
2734
|
declare interface TextareaV2Props extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
2785
2735
|
errorMsg?: string;
|
|
2786
2736
|
containerClassName?: string;
|
|
2787
|
-
|
|
2788
|
-
|
|
2737
|
+
inputStyles?: never;
|
|
2738
|
+
containerStyles?: never;
|
|
2789
2739
|
}
|
|
2790
2740
|
|
|
2791
2741
|
export declare function ToastCloseButton({ closeToast }: ToastCloseButtonProps): JSX_2.Element;
|
|
@@ -2889,13 +2839,13 @@ declare interface TooltipV2Props {
|
|
|
2889
2839
|
|
|
2890
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;
|
|
2891
2841
|
|
|
2892
|
-
|
|
2842
|
+
declare enum UPLOAD_ALIGN_BTN_CONTENT {
|
|
2893
2843
|
LEFT = "flex-start",
|
|
2894
2844
|
CENTER = "center",
|
|
2895
2845
|
RIGHT = "flex-end"
|
|
2896
2846
|
}
|
|
2897
2847
|
|
|
2898
|
-
|
|
2848
|
+
declare type UploadFileType = {
|
|
2899
2849
|
id?: string;
|
|
2900
2850
|
ext: string;
|
|
2901
2851
|
type: string;
|