@synerise/ds-app-menu 1.2.8 → 1.2.9
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 +4 -0
- package/README.md +11 -8
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
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
|
+
## [1.2.9](https://github.com/Synerise/synerise-design/compare/@synerise/ds-app-menu@1.2.8...@synerise/ds-app-menu@1.2.9) (2026-03-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-app-menu
|
|
9
|
+
|
|
6
10
|
## [1.2.8](https://github.com/Synerise/synerise-design/compare/@synerise/ds-app-menu@1.2.7...@synerise/ds-app-menu@1.2.8) (2026-03-09)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @synerise/ds-app-menu
|
package/README.md
CHANGED
|
@@ -61,16 +61,17 @@ import Icon, { DashboardColorM, DashboardGreyM, SettingsColorM, AnalyticsColorM
|
|
|
61
61
|
| activeItem | ID of active menu item | string | - |
|
|
62
62
|
| footer | Footer of menu | React.ReactNode | - |
|
|
63
63
|
| children | Menu items | React.ReactNodeArray | - |
|
|
64
|
-
| top | Distance from top of window in px | number |
|
|
64
|
+
| top | Distance from top of window in px | number | 0 |
|
|
65
65
|
|
|
66
66
|
### AppMenu.Item
|
|
67
67
|
|
|
68
68
|
| Property | Description | Type | Default |
|
|
69
69
|
| -------- | --------------------------- | --------------- | ------- |
|
|
70
|
-
| subMenu
|
|
71
|
-
| name
|
|
72
|
-
| id
|
|
73
|
-
| children
|
|
70
|
+
| subMenu | Submenu component | React.ReactNode | - |
|
|
71
|
+
| name | Name visible in tooltip | string | - |
|
|
72
|
+
| id | ID of menu item | string | - |
|
|
73
|
+
| children | Menu item children ie. icon | React.ReactNode | - |
|
|
74
|
+
| className | Custom CSS class | string | - |
|
|
74
75
|
|
|
75
76
|
### AppMenu.Item.Icon
|
|
76
77
|
|
|
@@ -81,9 +82,11 @@ import Icon, { DashboardColorM, DashboardGreyM, SettingsColorM, AnalyticsColorM
|
|
|
81
82
|
|
|
82
83
|
### AppMenu.SubMenu
|
|
83
84
|
|
|
84
|
-
| Property
|
|
85
|
-
|
|
|
86
|
-
| children
|
|
85
|
+
| Property | Description | Type | Default |
|
|
86
|
+
| --------- | ---------------- | --------------- | ------- |
|
|
87
|
+
| children | Submenu elements | React.ReactNode | - |
|
|
88
|
+
| className | Custom CSS class | string | - |
|
|
89
|
+
| style | Inline styles | CSSProperties | - |
|
|
87
90
|
|
|
88
91
|
### AppMenu.SubMenu.Title
|
|
89
92
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-app-menu",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.9",
|
|
4
4
|
"description": "AppMenu UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"defs": "tsc --declaration --outDir dist/ --emitDeclarationOnly",
|
|
24
24
|
"pack:ci": "pnpm pack --pack-destination ../../storybook/storybook-static/static",
|
|
25
25
|
"prepublish": "pnpm run build",
|
|
26
|
-
"test": "vitest",
|
|
27
|
-
"test:watch": "
|
|
26
|
+
"test": "vitest run",
|
|
27
|
+
"test:watch": "vitest",
|
|
28
28
|
"types": "tsc --noEmit",
|
|
29
29
|
"check:circular-dependencies": "madge --circular --extensions ts,tsx,js,jsx --ts-config tsconfig.json src/ --exclude '/dist/'",
|
|
30
30
|
"upgrade:ds": "ncu -f \"@synerise/ds-*\" -u"
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
],
|
|
36
36
|
"types": "dist/index.d.ts",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@synerise/ds-icon": "^1.
|
|
39
|
-
"@synerise/ds-tooltip": "^1.4.
|
|
40
|
-
"@synerise/ds-typography": "^1.1.
|
|
41
|
-
"@synerise/ds-utils": "^1.
|
|
38
|
+
"@synerise/ds-icon": "^1.15.0",
|
|
39
|
+
"@synerise/ds-tooltip": "^1.4.9",
|
|
40
|
+
"@synerise/ds-typography": "^1.1.12",
|
|
41
|
+
"@synerise/ds-utils": "^1.7.0"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"@synerise/ds-core": "*",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"styled-components": "^5.3.3",
|
|
47
47
|
"vitest": "4"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "8efc031fa688c0b87c7b3915bae93546bb63bcac"
|
|
50
50
|
}
|