@hybr1d-tech/charizard 0.7.167 → 0.7.169
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 +41 -41
- package/dist/hybr1d-ui.umd.cjs +11 -11
- package/dist/index.d.ts +26 -7
- package/dist/style.css +1 -1
- package/package.json +10 -10
package/dist/index.d.ts
CHANGED
|
@@ -145,13 +145,12 @@ export declare enum BADGE_STATUS {
|
|
|
145
145
|
HIGHLIGHT = "highlight"
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
declare
|
|
148
|
+
declare type BadgeProps = (IconBadgeProps | NonIconBadgeProps) & (SelectableBadgeProps | NonSelectableBadgeProps);
|
|
149
|
+
|
|
150
|
+
declare interface BaseBadgeProps {
|
|
149
151
|
highlight?: BADGE_HIGHLIGHT;
|
|
150
152
|
status?: BADGE_STATUS;
|
|
151
|
-
selected?: boolean;
|
|
152
153
|
children: React_2.ReactNode;
|
|
153
|
-
icon?: string;
|
|
154
|
-
customSvgStyles?: React_2.CSSProperties;
|
|
155
154
|
}
|
|
156
155
|
|
|
157
156
|
declare interface BaseButtonProps {
|
|
@@ -498,7 +497,7 @@ declare type CustomColCheckedState = {
|
|
|
498
497
|
|
|
499
498
|
declare type DateConfig = Partial<DateRangePickerProps>;
|
|
500
499
|
|
|
501
|
-
export declare function DatePicker({ value, onChange, mode, variant, displayDateFormat, errorMsg, disableDatepicker, disabled, buttonVariant, customContainerStyles, popoverConfig, isError, showOutsideDays, trigger,
|
|
500
|
+
export declare function DatePicker({ value, onChange, mode, variant, displayDateFormat, errorMsg, disableDatepicker, disabled, buttonVariant, customContainerStyles, popoverConfig, isError, showOutsideDays, trigger, ...props }: DatePickerProps): JSX_2.Element;
|
|
502
501
|
|
|
503
502
|
declare interface DatePickerProps extends PropsSingle {
|
|
504
503
|
value?: Date | string;
|
|
@@ -524,7 +523,6 @@ declare interface DatePickerProps extends PropsSingle {
|
|
|
524
523
|
showOutsideDays?: boolean;
|
|
525
524
|
disabled?: Matcher | Matcher[];
|
|
526
525
|
trigger?: React_2.ReactNode;
|
|
527
|
-
id?: string;
|
|
528
526
|
}
|
|
529
527
|
|
|
530
528
|
export declare function DateRangePicker({ value, onChange, mode, datePickerClassNames, showQuickSelect, disabled, customDisable, disableDatepicker, disableWeekends, showOutsideDays, errorMsg, customInputContentStyles, customClasses, size, onReset, placeholder, trigger, ...props }: DateRangePickerProps): JSX_2.Element;
|
|
@@ -978,6 +976,11 @@ export declare type HexColor = `#${string}`;
|
|
|
978
976
|
*/
|
|
979
977
|
export declare const hours: string[];
|
|
980
978
|
|
|
979
|
+
declare interface IconBadgeProps extends BaseBadgeProps {
|
|
980
|
+
icon: string;
|
|
981
|
+
customSvgStyles?: React_2.CSSProperties;
|
|
982
|
+
}
|
|
983
|
+
|
|
981
984
|
declare interface IconButtonV2TypeProps extends BaseButtonProps {
|
|
982
985
|
type: BUTTON_V2_TYPE.ICON_LEFT | BUTTON_V2_TYPE.ICON_RIGHT;
|
|
983
986
|
icon: React_2.ReactNode;
|
|
@@ -1950,7 +1953,7 @@ declare type ModalProps = {
|
|
|
1950
1953
|
* @param {ModalV2Props} props - The props for the ModalV2 component.
|
|
1951
1954
|
* @returns {JSX.Element} The rendered modal component.
|
|
1952
1955
|
*/
|
|
1953
|
-
export declare function ModalV2({ isOpen, title, subTitle, trigger, children, footerButtons, showBackdrop, onClose, }: ModalV2Props): JSX_2.Element;
|
|
1956
|
+
export declare function ModalV2({ isOpen, title, subTitle, trigger, children, footerButtons, showBackdrop, onClose, customModalClasses, }: ModalV2Props): JSX_2.Element;
|
|
1954
1957
|
|
|
1955
1958
|
/**
|
|
1956
1959
|
* Props for the ModalV2 component.
|
|
@@ -1972,6 +1975,7 @@ declare interface ModalV2Props {
|
|
|
1972
1975
|
footerButtons: DialogFooterButtons;
|
|
1973
1976
|
/** Indicates whether to show a backdrop behind the modal. */
|
|
1974
1977
|
showBackdrop?: boolean;
|
|
1978
|
+
customModalClasses?: string;
|
|
1975
1979
|
}
|
|
1976
1980
|
|
|
1977
1981
|
/**
|
|
@@ -2001,6 +2005,16 @@ declare interface NonDropdownProps extends BaseInputAdornmentProps {
|
|
|
2001
2005
|
isLoading?: never;
|
|
2002
2006
|
}
|
|
2003
2007
|
|
|
2008
|
+
declare interface NonIconBadgeProps extends BaseBadgeProps {
|
|
2009
|
+
icon?: never;
|
|
2010
|
+
customSvgStyles?: never;
|
|
2011
|
+
}
|
|
2012
|
+
|
|
2013
|
+
declare interface NonSelectableBadgeProps extends BaseBadgeProps {
|
|
2014
|
+
selected?: false;
|
|
2015
|
+
onClick?: never;
|
|
2016
|
+
}
|
|
2017
|
+
|
|
2004
2018
|
export declare const numberInputAllowedKeys: string[];
|
|
2005
2019
|
|
|
2006
2020
|
declare type Option_2 = OptionWithProfileImg | OptionWithIcon;
|
|
@@ -2434,6 +2448,11 @@ export declare enum SELECT_VARIANT {
|
|
|
2434
2448
|
TAGS = "tags"
|
|
2435
2449
|
}
|
|
2436
2450
|
|
|
2451
|
+
declare interface SelectableBadgeProps extends BaseBadgeProps {
|
|
2452
|
+
selected: true;
|
|
2453
|
+
onClick: () => void;
|
|
2454
|
+
}
|
|
2455
|
+
|
|
2437
2456
|
export declare type SelectActionMeta = ActionMeta<Option_2>;
|
|
2438
2457
|
|
|
2439
2458
|
declare type SelectActionMeta_2 = ActionMeta<{
|