@hybr1d-tech/charizard 0.7.155 → 0.7.157
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 +1454 -1466
- package/dist/hybr1d-ui.umd.cjs +14 -14
- package/dist/index.d.ts +11 -32
- package/dist/style.css +1 -1
- package/package.json +16 -16
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as accordion from '@zag-js/accordion';
|
|
2
1
|
import { ActionMeta } from 'react-select';
|
|
3
2
|
import { ClassNames } from 'react-day-picker';
|
|
4
3
|
import { DateRange } from 'react-day-picker';
|
|
@@ -27,26 +26,14 @@ import { UseBoundStore } from 'zustand';
|
|
|
27
26
|
import * as zagSwitch from '@zag-js/switch';
|
|
28
27
|
|
|
29
28
|
export declare const Accordion: {
|
|
30
|
-
({ children, defaultActiveKey
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
Collapse({ eventKey, children, customClasses, customStyle }: CollapseProps): JSX_2.Element;
|
|
29
|
+
({ children, defaultActiveKey }: AccordionProps): JSX_2.Element;
|
|
30
|
+
Header({ eventKey, children, customStyle }: HeaderProps): JSX_2.Element;
|
|
31
|
+
Collapse({ eventKey, children, customStyle }: CollapseProps): JSX_2.Element;
|
|
34
32
|
};
|
|
35
33
|
|
|
36
|
-
declare interface AccordionContextValue {
|
|
37
|
-
api: accordion.Api<any>;
|
|
38
|
-
state: any;
|
|
39
|
-
send: (event: any) => void;
|
|
40
|
-
activeEventKey: string[];
|
|
41
|
-
setActiveEventKey: (key: string[]) => void;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
34
|
declare interface AccordionProps {
|
|
45
|
-
children:
|
|
35
|
+
children: React_2.ReactNode;
|
|
46
36
|
defaultActiveKey?: string;
|
|
47
|
-
customClasses?: string;
|
|
48
|
-
customStyle?: React.CSSProperties;
|
|
49
|
-
isMulti?: boolean;
|
|
50
37
|
}
|
|
51
38
|
|
|
52
39
|
export declare const ActionsDropdown: React_2.ForwardRefExoticComponent<ActionsDropdownProps & React_2.RefAttributes<unknown>>;
|
|
@@ -313,9 +300,8 @@ export declare const clipboard: (text?: string, showToast?: boolean) => Promise<
|
|
|
313
300
|
|
|
314
301
|
declare interface CollapseProps {
|
|
315
302
|
eventKey: string;
|
|
316
|
-
children:
|
|
317
|
-
|
|
318
|
-
customStyle?: React.CSSProperties;
|
|
303
|
+
children: React_2.ReactNode;
|
|
304
|
+
customStyle?: React_2.CSSProperties;
|
|
319
305
|
}
|
|
320
306
|
|
|
321
307
|
export declare function ColorPicker({ name, label, errorMsg, required, onChange, defaultColor, }: ColorPickerProps): JSX_2.Element;
|
|
@@ -570,7 +556,7 @@ export declare type DialogFooterButtons = Array<Omit<ButtonV2Props, 'children'>
|
|
|
570
556
|
loadingText?: string;
|
|
571
557
|
}>;
|
|
572
558
|
|
|
573
|
-
declare enum DOCS_TYPE {
|
|
559
|
+
export declare enum DOCS_TYPE {
|
|
574
560
|
USER_DOCS = "user_document",
|
|
575
561
|
COMPANY_DOCS = "company_document",
|
|
576
562
|
IDENTIFICATION_DOC = "identification_document",
|
|
@@ -583,7 +569,8 @@ declare enum DOCS_TYPE {
|
|
|
583
569
|
INVENTORY_DOCS_FINANCE = "finance",
|
|
584
570
|
USER_OFFBOARDING_DOCS = "user_offboarding_document",
|
|
585
571
|
LEAVE_DOCS = "leave_document",
|
|
586
|
-
INTEGRATION_DOCS = "integration_document"
|
|
572
|
+
INTEGRATION_DOCS = "integration_document",
|
|
573
|
+
OFFBOARDING_PHOTO_COLLECTION = "offboarding_photo_collection"
|
|
587
574
|
}
|
|
588
575
|
|
|
589
576
|
export declare function Drawer({ isOpen, onClose, children, title, subTitle, customHeader, customFooter, size, showBackdrop, showHeader, showFooter, buttons, footerAddon, headerClassName, contentClassName, footerClassName, showHeaderBorder, drawerPosition, customContainerStyles, }: DrawerProps): JSX_2.Element;
|
|
@@ -962,9 +949,8 @@ export declare interface GroupActionProps {
|
|
|
962
949
|
|
|
963
950
|
declare interface HeaderProps {
|
|
964
951
|
eventKey: string;
|
|
965
|
-
children:
|
|
966
|
-
|
|
967
|
-
customStyle?: React.CSSProperties;
|
|
952
|
+
children: React_2.ReactNode;
|
|
953
|
+
customStyle?: React_2.CSSProperties;
|
|
968
954
|
}
|
|
969
955
|
|
|
970
956
|
export declare type HexColor = `#${string}`;
|
|
@@ -1666,11 +1652,6 @@ declare interface ITask {
|
|
|
1666
1652
|
leaveFrom?: string;
|
|
1667
1653
|
}
|
|
1668
1654
|
|
|
1669
|
-
declare interface ItemProps {
|
|
1670
|
-
eventKey: string;
|
|
1671
|
-
children: React.ReactNode;
|
|
1672
|
-
}
|
|
1673
|
-
|
|
1674
1655
|
declare type IToastOptions = ToastOptions & CommonOptions;
|
|
1675
1656
|
|
|
1676
1657
|
/**
|
|
@@ -3356,8 +3337,6 @@ declare interface UploadProps {
|
|
|
3356
3337
|
variant?: string;
|
|
3357
3338
|
}
|
|
3358
3339
|
|
|
3359
|
-
export declare const useAccordionStore: UseBoundStore<StoreApi<AccordionContextValue>>;
|
|
3360
|
-
|
|
3361
3340
|
export declare const useBreadcrumbs: (breadcrumbs: Breadcrumb_2[]) => void;
|
|
3362
3341
|
|
|
3363
3342
|
export declare const useBreadcrumbsStore: UseBoundStore<StoreApi<BreadcrumbsStore>>;
|