@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.
@@ -23,6 +23,7 @@ export interface PageHeaderProps {
23
23
  icon?: string;
24
24
  label: string;
25
25
  menuItems: Array<MenuItemProps>;
26
+ show: true;
26
27
  };
27
28
  tag?: TagProps;
28
29
  }
@@ -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>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hexure/ui",
3
- "version": "1.13.7",
3
+ "version": "1.13.8",
4
4
  "description": "A library of shared UI components used within Hexure products.",
5
5
  "scripts": {
6
6
  "rollup": "rollup -c rollup.config.mjs",