@synergy-design-system/mcp 1.32.0 → 1.33.0
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 +9 -0
- package/metadata/checksum.txt +1 -1
- package/metadata/packages/components/components/syn-combobox/component.styles.ts +3 -5
- package/metadata/packages/components/components/syn-optgroup/component.styles.ts +2 -2
- package/metadata/packages/components/components/syn-option/component.custom.styles.ts +44 -13
- package/metadata/packages/components/components/syn-select/component.custom.styles.ts +3 -5
- package/metadata/packages/components/static/CHANGELOG.md +9 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.33.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#1095](https://github.com/synergy-design-system/synergy-design-system/pull/1095) [`f9f544f`](https://github.com/synergy-design-system/synergy-design-system/commit/f9f544feb2adb3edef95bd1b50a303440e0c8385) Thanks [@schilchSICKAG](https://github.com/schilchSICKAG)! - Released on: 2025-12-04
|
|
8
|
+
|
|
9
|
+
feat: ✨ Brand updates for `<syn-select>`, `<syn-option>` and `<syn-optgroup>` (#988)
|
|
10
|
+
feat: ✨ Brand updates for `<syn-combobox>` (#944)
|
|
11
|
+
|
|
3
12
|
## 1.32.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
package/metadata/checksum.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
bcccb716196fa09334ce6f5caa139721
|
|
@@ -306,7 +306,7 @@ export default css`
|
|
|
306
306
|
|
|
307
307
|
/* Change combobox border on hover */
|
|
308
308
|
.combobox:not(.combobox--disabled):hover .combobox__inputs {
|
|
309
|
-
border-color: var(--syn-input-color-hover);
|
|
309
|
+
border-color: var(--syn-input-border-color-hover);
|
|
310
310
|
}
|
|
311
311
|
|
|
312
312
|
/* Prefix and Suffix */
|
|
@@ -353,18 +353,16 @@ export default css`
|
|
|
353
353
|
font-size: var(--syn-font-size-2x-large);
|
|
354
354
|
}
|
|
355
355
|
|
|
356
|
-
|
|
357
356
|
.combobox__prefix,
|
|
358
357
|
.combobox__suffix {
|
|
359
|
-
color: var(--syn-input-
|
|
358
|
+
color: var(--syn-input-icon-color);
|
|
360
359
|
}
|
|
361
360
|
|
|
362
361
|
|
|
363
362
|
|
|
364
363
|
/* Listbox */
|
|
365
364
|
.combobox__listbox {
|
|
366
|
-
|
|
367
|
-
border-radius: var(--syn-border-radius-none);
|
|
365
|
+
border-radius: var(--syn-input-border-radius-medium);
|
|
368
366
|
box-shadow: var(--syn-shadow-medium);
|
|
369
367
|
}
|
|
370
368
|
|
|
@@ -14,7 +14,7 @@ export default css`
|
|
|
14
14
|
.optgroup__label-container {
|
|
15
15
|
align-items: center;
|
|
16
16
|
box-sizing: border-box;
|
|
17
|
-
color: var(--syn-color
|
|
17
|
+
color: var(--syn-input-color);
|
|
18
18
|
display: flex;
|
|
19
19
|
gap: var(--syn-spacing-small);
|
|
20
20
|
min-height: var(--option-min-height, var(--syn-input-height-medium));
|
|
@@ -49,7 +49,7 @@ export default css`
|
|
|
49
49
|
|
|
50
50
|
.optgroup__prefix,
|
|
51
51
|
.optgroup__suffix {
|
|
52
|
-
color: var(--syn-color-neutral-800);
|
|
52
|
+
color: var(--syn-option-icon-color, var(--syn-color-neutral-800));
|
|
53
53
|
font-size: var(--syn-spacing-large);
|
|
54
54
|
}
|
|
55
55
|
|
|
@@ -13,28 +13,54 @@ export default css`
|
|
|
13
13
|
* See below for usage of these variables
|
|
14
14
|
*/
|
|
15
15
|
.option {
|
|
16
|
+
/*
|
|
17
|
+
* #988: Brand2025 defines a small gap between options
|
|
18
|
+
* and rounded corners. We achieve that using an outline
|
|
19
|
+
* that simulates the gap using the menu background color.
|
|
20
|
+
*/
|
|
21
|
+
--outline: calc(var(--syn-focus-ring-border-radius) * 1.5);
|
|
22
|
+
|
|
23
|
+
border-radius: calc(var(--outline) * 1.5);
|
|
16
24
|
font-size: var(--option-font-size, var(--syn-font-size-medium));
|
|
17
|
-
|
|
25
|
+
|
|
18
26
|
/* Height is dependent on line-height of .option__label, which does not fit completely to layout */
|
|
19
27
|
min-height: var(--option-min-height, var(--syn-input-height-medium));
|
|
20
|
-
|
|
28
|
+
outline: var(--outline) solid var(--syn-panel-background-color);
|
|
29
|
+
outline-offset: calc(var(--outline) * -1 + 1px);
|
|
30
|
+
padding: var(--option-padding, var(--syn-spacing-small) var(--syn-spacing-medium));
|
|
21
31
|
}
|
|
22
32
|
|
|
23
33
|
.option:not(.option--current) {
|
|
24
|
-
color: var(--syn-color-
|
|
34
|
+
color: var(--syn-option-color, var(--syn-typography-color-text));
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.option--current,
|
|
38
|
+
.option--current.option--hover:not(.option--disabled) {
|
|
39
|
+
background-color: var(--syn-option-background-color-active, var(--syn-color-neutral-1000));
|
|
40
|
+
color: var(--syn-option-color-active, var(--syn-typography-color-text-inverted));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.option--hover:not(.option--current):not(.option--disabled) {
|
|
44
|
+
background-color: var(--syn-option-background-color-hover, var(--syn-color-neutral-1000));
|
|
45
|
+
color: var(--syn-option-color-hover, var(--syn-typography-color-text-inverted));
|
|
25
46
|
}
|
|
26
47
|
|
|
27
48
|
/** #429: Use token for opacity */
|
|
28
|
-
.option--disabled {
|
|
49
|
+
.option--disabled {
|
|
29
50
|
opacity: var(--syn-input-disabled-opacity);
|
|
30
51
|
}
|
|
31
52
|
|
|
53
|
+
.option--current.option--disabled {
|
|
54
|
+
background-color: var(--syn-option-background-color-hover, var(--syn-color-neutral-1000));
|
|
55
|
+
color: var(--syn-option-color-hover, var(--syn-typography-color-text-inverted));
|
|
56
|
+
}
|
|
57
|
+
|
|
32
58
|
.option__label {
|
|
33
59
|
line-height: var(--syn-line-height-normal);
|
|
34
60
|
}
|
|
35
61
|
|
|
36
62
|
.option__check {
|
|
37
|
-
color: var(--syn-color-primary-600);
|
|
63
|
+
color: var(--syn-option-check-color, var(--syn-color-primary-600));
|
|
38
64
|
font-size: var(--option-icon-size, var(--syn-spacing-large));
|
|
39
65
|
}
|
|
40
66
|
|
|
@@ -44,7 +70,11 @@ export default css`
|
|
|
44
70
|
|
|
45
71
|
/* Invert the check mark when keyboard navigation is used */
|
|
46
72
|
.option--current .option__check {
|
|
47
|
-
color: var(--syn-color-neutral-0);
|
|
73
|
+
color: var(--syn-option-check-color-active, var(--syn-color-neutral-0));
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.option--hover:not(.option--current) .option__check {
|
|
77
|
+
color: var(--syn-option-check-color-hover, var(--syn-color-neutral-0));
|
|
48
78
|
}
|
|
49
79
|
|
|
50
80
|
/* Use larger spacing between icons and content */
|
|
@@ -59,23 +89,24 @@ export default css`
|
|
|
59
89
|
/* Set correct icon size when someone uses syn-icon in the slots */
|
|
60
90
|
.option__prefix::slotted(syn-icon),
|
|
61
91
|
.option__suffix::slotted(syn-icon) {
|
|
62
|
-
color: var(--syn-color-
|
|
92
|
+
color: var(--syn-option-icon-color, var(--syn-typography-color-text));
|
|
63
93
|
font-size: var(--option-icon-size, var(--syn-spacing-large));
|
|
64
94
|
}
|
|
65
95
|
|
|
96
|
+
.option--hover .option__prefix::slotted(syn-icon),
|
|
97
|
+
.option--hover .option__suffix::slotted(syn-icon) {
|
|
98
|
+
color: var(--syn-option-icon-color-hover, var(--syn-color-neutral-800));
|
|
99
|
+
}
|
|
100
|
+
|
|
66
101
|
.option--current .option__prefix::slotted(syn-icon),
|
|
67
102
|
.option--current .option__suffix::slotted(syn-icon) {
|
|
68
|
-
color: var(--syn-color-neutral-
|
|
103
|
+
color: var(--syn-option-icon-color-active, var(--syn-color-neutral-800));
|
|
69
104
|
}
|
|
70
105
|
|
|
71
106
|
/* This is needed for the highlight styling of the options in syn-combobox */
|
|
72
107
|
.option__label::slotted(.syn-highlight-style) {
|
|
73
108
|
background-color: transparent;
|
|
74
|
-
color:
|
|
109
|
+
color: unset;
|
|
75
110
|
font: var(--syn-body-medium-bold);
|
|
76
111
|
}
|
|
77
|
-
|
|
78
|
-
:host([aria-selected='true']) .option__label::slotted(.syn-highlight-style) {
|
|
79
|
-
color: var(--syn-color-neutral-0);
|
|
80
|
-
}
|
|
81
112
|
`;
|
|
@@ -59,7 +59,7 @@ export default css`
|
|
|
59
59
|
/* Change select border on hover */
|
|
60
60
|
/* stylelint-disable-next-line no-descending-specificity */
|
|
61
61
|
.select:not(.select--disabled):hover .select__combobox {
|
|
62
|
-
border-color: var(--syn-input-color-hover);
|
|
62
|
+
border-color: var(--syn-input-border-color-hover);
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
/* Prefix and Suffix */
|
|
@@ -106,10 +106,9 @@ export default css`
|
|
|
106
106
|
font-size: var(--syn-font-size-2x-large);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
|
|
110
109
|
.select__prefix,
|
|
111
110
|
.select__suffix {
|
|
112
|
-
color: var(--syn-input-
|
|
111
|
+
color: var(--syn-input-icon-color);
|
|
113
112
|
}
|
|
114
113
|
|
|
115
114
|
/* Multi Select */
|
|
@@ -131,8 +130,7 @@ export default css`
|
|
|
131
130
|
|
|
132
131
|
/* Listbox */
|
|
133
132
|
.select__listbox {
|
|
134
|
-
|
|
135
|
-
border-radius: var(--syn-border-radius-none);
|
|
133
|
+
border-radius: var(--syn-input-border-radius-medium);
|
|
136
134
|
box-shadow: var(--syn-shadow-medium);
|
|
137
135
|
}
|
|
138
136
|
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.69.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#1095](https://github.com/synergy-design-system/synergy-design-system/pull/1095) [`f9f544f`](https://github.com/synergy-design-system/synergy-design-system/commit/f9f544feb2adb3edef95bd1b50a303440e0c8385) Thanks [@schilchSICKAG](https://github.com/schilchSICKAG)! - Released on: 2025-12-04
|
|
8
|
+
|
|
9
|
+
feat: ✨ Brand updates for `<syn-select>`, `<syn-option>` and `<syn-optgroup>` (#988)
|
|
10
|
+
feat: ✨ Brand updates for `<syn-combobox>` (#944)
|
|
11
|
+
|
|
3
12
|
## 2.68.0
|
|
4
13
|
|
|
5
14
|
### Minor 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.68.0",
|
|
32
31
|
"@synergy-design-system/docs": "0.1.0",
|
|
32
|
+
"@synergy-design-system/components": "2.69.0",
|
|
33
33
|
"@synergy-design-system/eslint-config-syn": "^0.1.0",
|
|
34
|
-
"@synergy-design-system/fonts": "1.0.0",
|
|
35
34
|
"@synergy-design-system/styles": "1.9.0",
|
|
36
|
-
"@synergy-design-system/tokens": "^2.45.0"
|
|
35
|
+
"@synergy-design-system/tokens": "^2.45.0",
|
|
36
|
+
"@synergy-design-system/fonts": "1.0.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.
|
|
70
|
+
"version": "1.33.0",
|
|
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",
|