@hybr1d-tech/charizard 1.1.24 → 1.1.26
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.css +1 -1
- package/dist/hybr1d-ui.js +5340 -5593
- package/dist/hybr1d-ui.umd.cjs +14 -14
- package/dist/index.d.ts +2 -62
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -198,13 +198,6 @@ export declare const buildFilterQuery: (queryFilters: Record<string, any>, exclu
|
|
|
198
198
|
|
|
199
199
|
export declare const buildTableQuery: (query: TBaseQuery) => Record<string, any>;
|
|
200
200
|
|
|
201
|
-
export declare function Button({ children, variant, disabled, onClick, type, size, customStyles, }: ButtonProps): JSX_2.Element;
|
|
202
|
-
|
|
203
|
-
export declare namespace Button {
|
|
204
|
-
var MenuButton: ({ children, variant, disabled, menuItems, onClick, isCustomTrigger, isSingleBtnTrigger, customData, size, actionsDropdownOptions, positionerProps, isTable, }: MenuButtonProps) => JSX_2.Element;
|
|
205
|
-
var ActionsDropdown: typeof MenuActionsDropdown;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
201
|
export declare enum BUTTON_V2_SIZE {
|
|
209
202
|
SMALL = "small",
|
|
210
203
|
DEFAULT = "default"
|
|
@@ -229,25 +222,6 @@ export declare enum BUTTON_V2_VARIANT {
|
|
|
229
222
|
MINIMAL = "tertiary"
|
|
230
223
|
}
|
|
231
224
|
|
|
232
|
-
export declare enum BUTTON_VARIANT {
|
|
233
|
-
PRIMARY = "primary",
|
|
234
|
-
SECONDARY = "secondary",
|
|
235
|
-
GHOST = "ghost",
|
|
236
|
-
DANGER = "danger",
|
|
237
|
-
LINK = "link",
|
|
238
|
-
MINIMAL = "minimal"
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
export declare type ButtonProps = {
|
|
242
|
-
children: React_2.ReactNode;
|
|
243
|
-
variant?: BUTTON_VARIANT;
|
|
244
|
-
disabled?: boolean;
|
|
245
|
-
onClick?: React_2.MouseEventHandler<HTMLButtonElement>;
|
|
246
|
-
type?: 'button' | 'submit' | 'reset';
|
|
247
|
-
size?: 'xs' | 'sm' | 'md' | 'adapt';
|
|
248
|
-
customStyles?: React_2.CSSProperties;
|
|
249
|
-
};
|
|
250
|
-
|
|
251
225
|
export declare function ButtonV2({ children, variant, disabled, onClick, type, size, customStyles, icon, btnType, }: ButtonV2Props): JSX_2.Element;
|
|
252
226
|
|
|
253
227
|
export declare namespace ButtonV2 {
|
|
@@ -521,7 +495,7 @@ declare interface DatePickerProps extends PropsSingle {
|
|
|
521
495
|
disableDatepicker?: boolean;
|
|
522
496
|
errorMsg?: string;
|
|
523
497
|
isError?: boolean;
|
|
524
|
-
buttonVariant?:
|
|
498
|
+
buttonVariant?: BUTTON_V2_VARIANT;
|
|
525
499
|
customContainerStyles?: React_2.CSSProperties;
|
|
526
500
|
popoverConfig?: {
|
|
527
501
|
placement?: Placement_2;
|
|
@@ -911,7 +885,7 @@ declare type FilterOptions_2 = {
|
|
|
911
885
|
};
|
|
912
886
|
|
|
913
887
|
declare type FooterButtons = Array<{
|
|
914
|
-
variant?:
|
|
888
|
+
variant?: BUTTON_V2_VARIANT;
|
|
915
889
|
onClick: () => void;
|
|
916
890
|
btnText: string;
|
|
917
891
|
btnType?: BUTTON_V2_TYPE | 'submit';
|
|
@@ -1787,46 +1761,12 @@ export declare type LoaderProps = {
|
|
|
1787
1761
|
variant?: LOADER_VARIANT;
|
|
1788
1762
|
};
|
|
1789
1763
|
|
|
1790
|
-
declare function MenuActionsDropdown({ menuItems, data, variant, isTable, }: MenuActionsDropdownProps): JSX_2.Element;
|
|
1791
|
-
|
|
1792
|
-
export declare type MenuActionsDropdownProps = {
|
|
1793
|
-
menuItems: MenuItem[];
|
|
1794
|
-
data?: any;
|
|
1795
|
-
variant?: 'regular' | 'small';
|
|
1796
|
-
isTable?: boolean;
|
|
1797
|
-
};
|
|
1798
|
-
|
|
1799
|
-
export declare interface MenuButtonProps {
|
|
1800
|
-
children: React_2.ReactNode;
|
|
1801
|
-
variant?: BUTTON_VARIANT;
|
|
1802
|
-
disabled?: boolean;
|
|
1803
|
-
menuItems: MenuItem[];
|
|
1804
|
-
onClick?: React_2.MouseEventHandler<HTMLButtonElement>;
|
|
1805
|
-
isCustomTrigger?: boolean;
|
|
1806
|
-
isSingleBtnTrigger?: boolean;
|
|
1807
|
-
customData?: any;
|
|
1808
|
-
size?: 'sm' | 'md';
|
|
1809
|
-
actionsDropdownOptions?: {
|
|
1810
|
-
setIsActive: React_2.Dispatch<React_2.SetStateAction<boolean>>;
|
|
1811
|
-
};
|
|
1812
|
-
positionerProps?: PositioningOptions;
|
|
1813
|
-
isTable?: boolean;
|
|
1814
|
-
}
|
|
1815
|
-
|
|
1816
1764
|
declare type MenuConfig = {
|
|
1817
1765
|
hideSearch?: boolean;
|
|
1818
1766
|
placeholder?: string;
|
|
1819
1767
|
type?: string;
|
|
1820
1768
|
};
|
|
1821
1769
|
|
|
1822
|
-
export declare type MenuItem = {
|
|
1823
|
-
label: string;
|
|
1824
|
-
iconSrc?: string;
|
|
1825
|
-
onClick: any;
|
|
1826
|
-
filterFn?: any;
|
|
1827
|
-
disabled?: boolean;
|
|
1828
|
-
};
|
|
1829
|
-
|
|
1830
1770
|
export declare type MenuItemV2 = {
|
|
1831
1771
|
label: string;
|
|
1832
1772
|
iconSrc?: string;
|