@hybr1d-tech/charizard 0.6.54 → 0.6.56
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/components/button-v2/ButtonV2.d.ts +2 -1
- package/dist/components/input/InputLabel.d.ts +5 -1
- package/dist/components/task-cards/TaskCards.d.ts +3 -1
- package/dist/components/task-cards/components/task-card/TaskCard.d.ts +3 -1
- package/dist/components/task-cards/types.d.ts +1 -1
- package/dist/hybr1d-ui.js +1178 -1172
- package/dist/hybr1d-ui.umd.cjs +11 -11
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -27,7 +27,7 @@ interface OtherButtonV2TypeProps extends BaseButtonProps {
|
|
|
27
27
|
export type ButtonV2Props = IconOnlyButtonV2TypeProps | IconButtonV2TypeProps | OtherButtonV2TypeProps;
|
|
28
28
|
export declare function ButtonV2({ children, variant, disabled, onClick, type, size, customStyles, icon, btnType, }: ButtonV2Props): import("react/jsx-runtime").JSX.Element;
|
|
29
29
|
export declare namespace ButtonV2 {
|
|
30
|
-
var GroupAction: ({ children, variant, disabled, menuItems, customData, size, actionsDropdownOptions, positionerProps, isTable, showDownIconBtn, customStyles, onClick, }: GroupActionProps) => import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
var GroupAction: ({ children, variant, disabled, menuItems, customData, size, actionsDropdownOptions, positionerProps, isTable, isCustomTrigger, showDownIconBtn, customStyles, onClick, }: GroupActionProps) => import("react/jsx-runtime").JSX.Element;
|
|
31
31
|
var ActionsDropdown: typeof import("./ButtonV2").ActionsDropdown;
|
|
32
32
|
}
|
|
33
33
|
export type MenuItemV2 = {
|
|
@@ -55,6 +55,7 @@ export interface GroupActionProps {
|
|
|
55
55
|
customMenuStyles?: React.CSSProperties;
|
|
56
56
|
};
|
|
57
57
|
onClick?: any;
|
|
58
|
+
isCustomTrigger?: boolean;
|
|
58
59
|
}
|
|
59
60
|
export interface ActionsDropdownProps {
|
|
60
61
|
variant?: BUTTON_V2_VARIANT;
|
|
@@ -33,8 +33,12 @@ interface InputLabelProps {
|
|
|
33
33
|
* info text tooltip styles
|
|
34
34
|
*/
|
|
35
35
|
infoTextTooltipStyles?: React.CSSProperties;
|
|
36
|
+
/**
|
|
37
|
+
* Disabled state when component inactive
|
|
38
|
+
*/
|
|
39
|
+
isDisabled?: boolean;
|
|
36
40
|
}
|
|
37
|
-
export declare function InputLabel({ children, customClasses, customStyles, required, htmlFor, restprops, infoText, infoTextTooltipStyles, }: InputLabelProps): import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
export declare function InputLabel({ children, customClasses, customStyles, required, htmlFor, restprops, infoText, infoTextTooltipStyles, isDisabled, }: InputLabelProps): import("react/jsx-runtime").JSX.Element;
|
|
38
42
|
export declare namespace InputLabel {
|
|
39
43
|
var displayName: Inputs;
|
|
40
44
|
var id: Inputs;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ITask } from './types';
|
|
2
|
+
import { MenuItemV2 } from '../button-v2';
|
|
2
3
|
|
|
3
4
|
interface TaskCardsProps {
|
|
4
5
|
headers: string[];
|
|
@@ -6,6 +7,7 @@ interface TaskCardsProps {
|
|
|
6
7
|
isLoading?: boolean;
|
|
7
8
|
isError?: boolean;
|
|
8
9
|
emptyText?: string;
|
|
10
|
+
menuItems: MenuItemV2[];
|
|
9
11
|
}
|
|
10
|
-
export declare function TaskCards({ headers, data, isLoading, isError, emptyText, }: TaskCardsProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare function TaskCards({ headers, data, isLoading, isError, emptyText, menuItems, }: TaskCardsProps): import("react/jsx-runtime").JSX.Element;
|
|
11
13
|
export {};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { MenuItemV2 } from '../../../button-v2';
|
|
1
2
|
import { ITask } from '../../types';
|
|
2
3
|
|
|
3
|
-
export default function TaskCard({ data }: {
|
|
4
|
+
export default function TaskCard({ data, menuItems }: {
|
|
4
5
|
data: ITask;
|
|
6
|
+
menuItems: MenuItemV2[];
|
|
5
7
|
}): import("react/jsx-runtime").JSX.Element;
|