@hybr1d-tech/charizard 0.6.42 → 0.6.44
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.
|
@@ -26,7 +26,7 @@ interface OtherButtonV2TypeProps extends BaseButtonProps {
|
|
|
26
26
|
export type ButtonV2Props = IconOnlyButtonV2TypeProps | IconButtonV2TypeProps | OtherButtonV2TypeProps;
|
|
27
27
|
export declare function ButtonV2({ children, variant, disabled, onClick, type, size, customStyles, icon, }: ButtonV2Props): import("react/jsx-runtime").JSX.Element;
|
|
28
28
|
export declare namespace ButtonV2 {
|
|
29
|
-
var GroupAction: ({ children, variant, disabled, menuItems, customData, size, actionsDropdownOptions, positionerProps, isTable, showDownIconBtn, }: GroupActionProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
var GroupAction: ({ children, variant, disabled, menuItems, customData, size, actionsDropdownOptions, positionerProps, isTable, showDownIconBtn, customStyles, }: GroupActionProps) => import("react/jsx-runtime").JSX.Element;
|
|
30
30
|
var ActionsDropdown: typeof import("./ButtonV2").ActionsDropdown;
|
|
31
31
|
}
|
|
32
32
|
export type MenuItemV2 = {
|
|
@@ -50,6 +50,9 @@ export interface GroupActionProps {
|
|
|
50
50
|
positionerProps?: PositioningOptions;
|
|
51
51
|
isTable?: boolean;
|
|
52
52
|
showDownIconBtn?: boolean;
|
|
53
|
+
customStyles?: {
|
|
54
|
+
customMenuStyles?: React.CSSProperties;
|
|
55
|
+
};
|
|
53
56
|
}
|
|
54
57
|
export interface ActionsDropdownProps {
|
|
55
58
|
variant?: BUTTON_V2_VARIANT;
|
|
@@ -5,5 +5,10 @@ export interface SearchProps {
|
|
|
5
5
|
setSearch?: React.Dispatch<React.SetStateAction<string>>;
|
|
6
6
|
placeholder?: string;
|
|
7
7
|
clearIconClearFn?: any;
|
|
8
|
+
customStyles?: {
|
|
9
|
+
customInputStyles?: React.CSSProperties;
|
|
10
|
+
customIconStyles?: React.CSSProperties;
|
|
11
|
+
};
|
|
12
|
+
disabled?: boolean;
|
|
8
13
|
}
|
|
9
|
-
export declare function Search({ id, search, setSearch, placeholder, clearIconClearFn, }: SearchProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare function Search({ id, search, setSearch, placeholder, clearIconClearFn, customStyles, disabled, }: SearchProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Custom Dropdown Indicator component for react-select.
|
|
3
|
-
* Displays a chevron icon indicating the dropdown menu.
|
|
3
|
+
* Displays a chevron icon indicating the dropdown menu if isDisabled is false.
|
|
4
4
|
* @param props - The props for the DropdownIndicator component, including any react-select specific props.
|
|
5
5
|
* @returns A custom DropdownIndicator component with a chevron icon.
|
|
6
6
|
*/
|
|
7
|
-
export declare const CustomDropdownIndicator: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const CustomDropdownIndicator: (props: any) => import("react/jsx-runtime").JSX.Element | null;
|
|
8
8
|
/**
|
|
9
9
|
* Custom Indicators Container component for react-select.
|
|
10
10
|
* Conditionally hides the indicators container if the select is in a loading state.
|