@synerise/ds-app-menu 0.6.64 → 0.6.66

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/CHANGELOG.md CHANGED
@@ -3,6 +3,25 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.6.66](https://github.com/Synerise/synerise-design/compare/@synerise/ds-app-menu@0.6.65...@synerise/ds-app-menu@0.6.66) (2024-08-05)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **app-menu:** make footer optional ([fbd35aa](https://github.com/Synerise/synerise-design/commit/fbd35aa26c53e85c731dd14ca87cd14866a874f7))
12
+
13
+
14
+
15
+
16
+
17
+ ## [0.6.65](https://github.com/Synerise/synerise-design/compare/@synerise/ds-app-menu@0.6.64...@synerise/ds-app-menu@0.6.65) (2024-07-31)
18
+
19
+ **Note:** Version bump only for package @synerise/ds-app-menu
20
+
21
+
22
+
23
+
24
+
6
25
  ## [0.6.64](https://github.com/Synerise/synerise-design/compare/@synerise/ds-app-menu@0.6.63...@synerise/ds-app-menu@0.6.64) (2024-07-26)
7
26
 
8
27
  **Note:** Version bump only for package @synerise/ds-app-menu
package/dist/AppMenu.d.ts CHANGED
@@ -1,4 +1,18 @@
1
1
  import * as React from 'react';
2
- import { AppMenuProps, AppMenuSubComponents } from './AppMenu.types';
3
- declare const AppMenu: React.FC<AppMenuProps> & AppMenuSubComponents;
2
+ import { AppMenuProps } from './AppMenu.types';
3
+ declare const AppMenu: {
4
+ ({ className, children, footer, activeItem: activeId, top }: AppMenuProps): React.JSX.Element;
5
+ SubMenu: React.FC<import("./SubMenu/SubMenu.types").SubMenuProps> & import("./SubMenu/SubMenu.types").SubComponents;
6
+ Item: React.FC<{
7
+ subMenu?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
8
+ id: string;
9
+ name: string;
10
+ className?: string | undefined;
11
+ }> & {
12
+ Icon: React.FC<{
13
+ active: React.ReactNode;
14
+ inActive: React.ReactNode;
15
+ }>;
16
+ };
17
+ };
4
18
  export default AppMenu;
@@ -1,14 +1,8 @@
1
- import * as React from 'react';
2
- import SubMenu from './SubMenu/SubMenu';
3
- import Item from './Item/Item';
1
+ import { ReactNode, ReactNodeArray } from 'react';
4
2
  export type AppMenuProps = {
5
3
  className?: string;
6
4
  activeItem: string;
7
- footer: React.ReactElement;
8
- children: React.ReactNodeArray;
5
+ footer?: ReactNode;
6
+ children: ReactNodeArray;
9
7
  top?: number;
10
8
  };
11
- export type AppMenuSubComponents = {
12
- SubMenu: typeof SubMenu;
13
- Item: typeof Item;
14
- };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-app-menu",
3
- "version": "0.6.64",
3
+ "version": "0.6.66",
4
4
  "description": "AppMenu UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -36,11 +36,11 @@
36
36
  "@synerise/ds-icon": "^0.64.1",
37
37
  "@synerise/ds-tooltip": "^0.14.34",
38
38
  "@synerise/ds-typography": "^0.15.1",
39
- "@synerise/ds-utils": "^0.28.0"
39
+ "@synerise/ds-utils": "^0.28.1"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "@synerise/ds-core": "*",
43
43
  "react": ">=16.9.0 <= 17.0.2"
44
44
  },
45
- "gitHead": "4e55972a1ad60990a53ba6559dc2b200ae24556f"
45
+ "gitHead": "fa49911755b906a6990b19d13abae131b0737a3a"
46
46
  }