@synergy-design-system/mcp 1.38.3 → 1.38.4
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
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.38.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1139](https://github.com/synergy-design-system/synergy-design-system/pull/1139) [`6cc7376`](https://github.com/synergy-design-system/synergy-design-system/commit/6cc737681f2b137702f3e95b0a666ae6f28b5039) Thanks [@schilchSICKAG](https://github.com/schilchSICKAG)! - Released on: 2025-12-16
|
|
8
|
+
|
|
9
|
+
fix: 🐛 Incorrect offset of submenu items when submenu opens to the left (#1009)
|
|
10
|
+
|
|
11
|
+
Fixes an issue that leads to incorrect offsets when a nested `<syn-menu>` is opened to the left instead of to the right.
|
|
12
|
+
|
|
3
13
|
## 1.38.3
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/metadata/checksum.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
6a2396efaec02a827d527a41ab32d3e0
|
|
@@ -165,4 +165,13 @@ export default css`
|
|
|
165
165
|
syn-popup::part(popup) {
|
|
166
166
|
border-radius: var(--syn-input-border-radius-medium);
|
|
167
167
|
}
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* #1009: Adjust the position for submenus when they are opened to the left, too.
|
|
171
|
+
* This works because the data-current-placement attribute is set on the popup accordingly.
|
|
172
|
+
* We do not use the actual placement attribute, because it does not update when the placement changes
|
|
173
|
+
*/
|
|
174
|
+
syn-popup[data-current-placement^="left"]::part(popup) {
|
|
175
|
+
margin-left: calc(-1 * var(--submenu-offset));
|
|
176
|
+
}
|
|
168
177
|
`;
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.74.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1139](https://github.com/synergy-design-system/synergy-design-system/pull/1139) [`6cc7376`](https://github.com/synergy-design-system/synergy-design-system/commit/6cc737681f2b137702f3e95b0a666ae6f28b5039) Thanks [@schilchSICKAG](https://github.com/schilchSICKAG)! - Released on: 2025-12-16
|
|
8
|
+
|
|
9
|
+
fix: 🐛 Incorrect offset of submenu items when submenu opens to the left (#1009)
|
|
10
|
+
|
|
11
|
+
Fixes an issue that leads to incorrect offsets when a nested `<syn-menu>` is opened to the left instead of to the right.
|
|
12
|
+
|
|
3
13
|
## 2.74.2
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"serve-handler": "^6.1.6",
|
|
29
29
|
"ts-jest": "^29.4.0",
|
|
30
30
|
"typescript": "^5.9.3",
|
|
31
|
-
"@synergy-design-system/components": "2.74.
|
|
31
|
+
"@synergy-design-system/components": "2.74.3",
|
|
32
|
+
"@synergy-design-system/eslint-config-syn": "^0.1.0",
|
|
32
33
|
"@synergy-design-system/docs": "0.1.0",
|
|
33
34
|
"@synergy-design-system/fonts": "1.0.1",
|
|
34
|
-
"@synergy-design-system/tokens": "^2.46.0",
|
|
35
35
|
"@synergy-design-system/styles": "1.9.0",
|
|
36
|
-
"@synergy-design-system/
|
|
36
|
+
"@synergy-design-system/tokens": "^2.46.0"
|
|
37
37
|
},
|
|
38
38
|
"exports": {
|
|
39
39
|
".": {
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"directory": "packages/mcp"
|
|
68
68
|
},
|
|
69
69
|
"type": "module",
|
|
70
|
-
"version": "1.38.
|
|
70
|
+
"version": "1.38.4",
|
|
71
71
|
"scripts": {
|
|
72
72
|
"build": "pnpm run build:ts && pnpm run build:metadata && pnpm build:hash",
|
|
73
73
|
"build:all": "pnpm run build && pnpm run build:storybook",
|