@hexure/ui 1.11.1 → 1.11.3

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.
@@ -1,6 +1,6 @@
1
1
  import { FC } from 'react';
2
2
  import { AccessibleProps } from '../../utils/Accessibility';
3
- export interface Menu extends AccessibleProps {
3
+ export interface MenuItemType extends AccessibleProps {
4
4
  icon: string;
5
5
  label: string;
6
6
  onClick: () => void;
@@ -12,7 +12,7 @@ export interface Menu extends AccessibleProps {
12
12
  }[];
13
13
  }
14
14
  export interface AppMenuProps extends AccessibleProps {
15
- menu: Menu[];
15
+ menu: MenuItemType[];
16
16
  isCollapsed?: boolean;
17
17
  footerTag?: string;
18
18
  }
@@ -1,6 +1,6 @@
1
1
  import { FC } from 'react';
2
2
  import { AccessibleProps } from '../../utils/Accessibility';
3
- export interface Menu extends AccessibleProps {
3
+ export interface MenuItemType extends AccessibleProps {
4
4
  icon: string;
5
5
  label: string;
6
6
  onClick: () => void;
@@ -12,7 +12,7 @@ export interface Menu extends AccessibleProps {
12
12
  }[];
13
13
  }
14
14
  export interface AppMenuProps extends AccessibleProps {
15
- menu: Menu[];
15
+ menu: MenuItemType[];
16
16
  isCollapsed?: boolean;
17
17
  footerTag?: string;
18
18
  }
package/dist/index.d.ts CHANGED
@@ -95,7 +95,7 @@ interface AppHeaderProps {
95
95
  }
96
96
  declare const AppHeader: FC<AppHeaderProps>;
97
97
 
98
- interface Menu extends AccessibleProps {
98
+ interface MenuItemType extends AccessibleProps {
99
99
  icon: string;
100
100
  label: string;
101
101
  onClick: () => void;
@@ -107,7 +107,7 @@ interface Menu extends AccessibleProps {
107
107
  }[];
108
108
  }
109
109
  interface AppMenuProps extends AccessibleProps {
110
- menu: Menu[];
110
+ menu: MenuItemType[];
111
111
  isCollapsed?: boolean;
112
112
  footerTag?: string;
113
113
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hexure/ui",
3
- "version": "1.11.1",
3
+ "version": "1.11.3",
4
4
  "description": "A library of shared UI components used within Hexure products.",
5
5
  "scripts": {
6
6
  "rollup": "rollup -c rollup.config.mjs",