@hexure/ui 1.13.7 → 1.13.8
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/cjs/index.js +7 -5
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/ButtonMenu/ButtonMenu.d.ts +1 -0
- package/dist/cjs/types/components/PageHeader/PageHeader.d.ts +1 -0
- package/dist/cjs/types/components/ZeroState/ZeroState.d.ts +4 -2
- package/dist/esm/index.js +7 -5
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/ButtonMenu/ButtonMenu.d.ts +1 -0
- package/dist/esm/types/components/PageHeader/PageHeader.d.ts +1 -0
- package/dist/esm/types/components/ZeroState/ZeroState.d.ts +4 -2
- package/dist/index.d.ts +5 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
1
|
+
import React, { FC } from 'react';
|
|
2
2
|
import { AccessibleProps } from '../../utils/Accessibility';
|
|
3
3
|
export interface ZeroStateProps extends AccessibleProps {
|
|
4
4
|
/** The SVG path of the icon to show */
|
|
@@ -6,12 +6,14 @@ export interface ZeroStateProps extends AccessibleProps {
|
|
|
6
6
|
/** It is used to give title. */
|
|
7
7
|
title: string;
|
|
8
8
|
/** It is used to give description. */
|
|
9
|
-
description?: string;
|
|
9
|
+
description?: string | React.ReactNode;
|
|
10
10
|
/** It is used to pass object to button. */
|
|
11
11
|
action?: {
|
|
12
12
|
children: string;
|
|
13
13
|
icon?: string;
|
|
14
14
|
onClick: (e?: any) => void;
|
|
15
|
+
format?: 'primary' | 'secondary' | 'red' | 'green' | string;
|
|
16
|
+
disabled?: boolean;
|
|
15
17
|
};
|
|
16
18
|
}
|
|
17
19
|
declare const ZeroState: FC<ZeroStateProps>;
|
package/dist/index.d.ts
CHANGED
|
@@ -155,6 +155,7 @@ interface ButtonMenuProps {
|
|
|
155
155
|
format?: 'primary' | 'secondary';
|
|
156
156
|
enableHover?: boolean;
|
|
157
157
|
enableClick?: boolean;
|
|
158
|
+
show?: boolean;
|
|
158
159
|
}
|
|
159
160
|
declare const ButtonMenu: FC<ButtonMenuProps>;
|
|
160
161
|
|
|
@@ -502,6 +503,7 @@ interface PageHeaderProps {
|
|
|
502
503
|
icon?: string;
|
|
503
504
|
label: string;
|
|
504
505
|
menuItems: Array<MenuItemProps>;
|
|
506
|
+
show: true;
|
|
505
507
|
};
|
|
506
508
|
tag?: TagProps;
|
|
507
509
|
}
|
|
@@ -630,12 +632,14 @@ interface ZeroStateProps extends AccessibleProps {
|
|
|
630
632
|
/** It is used to give title. */
|
|
631
633
|
title: string;
|
|
632
634
|
/** It is used to give description. */
|
|
633
|
-
description?: string;
|
|
635
|
+
description?: string | React.ReactNode;
|
|
634
636
|
/** It is used to pass object to button. */
|
|
635
637
|
action?: {
|
|
636
638
|
children: string;
|
|
637
639
|
icon?: string;
|
|
638
640
|
onClick: (e?: any) => void;
|
|
641
|
+
format?: 'primary' | 'secondary' | 'red' | 'green' | string;
|
|
642
|
+
disabled?: boolean;
|
|
639
643
|
};
|
|
640
644
|
}
|
|
641
645
|
declare const ZeroState: FC<ZeroStateProps>;
|