@synergy-design-system/metadata 3.1.0 → 3.3.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 +20 -0
- package/data/core/component/component:syn-icon-button.json +0 -5
- package/data/core/setup/setup:angular-components-module.json +1 -1
- package/data/core/setup/setup:angular-forms-module.json +1 -1
- package/data/core/setup/setup:angular-package.json +2 -2
- package/data/core/setup/setup:angular-validators-module.json +1 -1
- package/data/core/setup/setup:components-package.json +2 -2
- package/data/core/setup/setup:react-package.json +2 -2
- package/data/core/setup/setup:tokens-package.json +2 -2
- package/data/core/setup/setup:vue-package.json +2 -2
- package/data/core/token/token:tokens-figma-variables-sick2018-dark-json.json +1 -1
- package/data/core/token/token:tokens-figma-variables-sick2018-light-json.json +1 -1
- package/data/core/token/token:tokens-figma-variables-sick2025-dark-json.json +1 -1
- package/data/core/token/token:tokens-figma-variables-sick2025-light-json.json +1 -1
- package/data/core/token/token:tokens-js-index-d-ts.json +1 -1
- package/data/core/token/token:tokens-js-index-js.json +1 -1
- package/data/core/token/token:tokens-scss-tokens-scss.json +1 -1
- package/data/core/token/token:tokens-themes-sick2018-dark-css.json +1 -1
- package/data/core/token/token:tokens-themes-sick2018-light-css.json +1 -1
- package/data/core/token/token:tokens-themes-sick2025-dark-css.json +1 -1
- package/data/core/token/token:tokens-themes-sick2025-light-css.json +1 -1
- package/data/index.json +2 -2
- package/data/layers/examples/component/component:syn-icon-button.md +72 -43
- package/data/layers/examples/component/component:syn-option.md +8 -1
- package/data/layers/full/component/component:syn-icon-button/components/icon-button.component.ts +10 -10
- package/data/layers/full/component/component:syn-icon-button/components/icon-button.styles.ts +78 -19
- package/data/layers/full/component/component:syn-icon-button/components/icon-button.ts +0 -1
- package/data/layers/full/component/component:syn-option/components/option.styles.ts +5 -5
- package/data/layers/full/setup/setup:angular-package/angular/CHANGELOG.md +16 -0
- package/data/layers/full/setup/setup:angular-package/angular/package.json +1 -1
- package/data/layers/full/setup/setup:components-package/components/CHANGELOG.md +26 -0
- package/data/layers/full/setup/setup:components-package/components/package.json +1 -1
- package/data/layers/full/setup/setup:react-package/react/CHANGELOG.md +16 -0
- package/data/layers/full/setup/setup:react-package/react/package.json +1 -1
- package/data/layers/full/setup/setup:tokens-package/tokens/CHANGELOG.md +4 -0
- package/data/layers/full/setup/setup:tokens-package/tokens/package.json +1 -1
- package/data/layers/full/setup/setup:vue-package/vue/CHANGELOG.md +16 -0
- package/data/layers/full/setup/setup:vue-package/vue/package.json +1 -1
- package/data/layers/full/tokens/js/index.d.ts +1 -1
- package/data/layers/full/tokens/js/index.js +1 -1
- package/data/layers/full/tokens/scss/_tokens.scss +1 -1
- package/data/layers/full/tokens/themes/sick2018_dark.css +1 -1
- package/data/layers/full/tokens/themes/sick2018_light.css +1 -1
- package/data/layers/full/tokens/themes/sick2025_dark.css +1 -1
- package/data/layers/full/tokens/themes/sick2025_light.css +1 -1
- package/data/manifest.json +1 -1
- package/package.json +5 -5
- package/data/layers/full/component/component:syn-icon-button/components/icon-button.custom.styles.ts +0 -79
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.3.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1278](https://github.com/synergy-design-system/synergy-design-system/pull/1278) [`e84b97a`](https://github.com/synergy-design-system/synergy-design-system/commit/e84b97ae70affae71afcc85725e56b3f690a445e) Thanks [@schilchSICKAG](https://github.com/schilchSICKAG)! - Released on: 2026-05-04
|
|
8
|
+
|
|
9
|
+
fix: 🐛 `<syn-option>` slotted icons not visible on hover ([#1277](https://github.com/synergy-design-system/synergy-design-system/issues/1277))
|
|
10
|
+
|
|
11
|
+
This release fixes a bug that accidentally set the color of slotted elements in `<syn-option>` to white which lead to the icons appear to be invisible.
|
|
12
|
+
|
|
13
|
+
## 3.2.0
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [#1267](https://github.com/synergy-design-system/synergy-design-system/pull/1267) [`2444517`](https://github.com/synergy-design-system/synergy-design-system/commit/2444517aaedc22b115d9572dd14d47c43189ec5d) Thanks [@schilchSICKAG](https://github.com/schilchSICKAG)! - Released on: 2026-04-29
|
|
18
|
+
|
|
19
|
+
fix: 🐛 `<syn-icon-button>` is not visible when `disabled` in dark mode ([#1257](https://github.com/synergy-design-system/synergy-design-system/issues/1257))
|
|
20
|
+
|
|
21
|
+
This release fixes an issue where disabled `<syn-icon-button>` components were appearing too light in dark mode, making them difficult to see. The disabled state styling now properly contrasts with the dark background.
|
|
22
|
+
|
|
3
23
|
## 3.1.0
|
|
4
24
|
|
|
5
25
|
### Minor Changes
|
|
@@ -157,10 +157,6 @@
|
|
|
157
157
|
"layer": "full",
|
|
158
158
|
"path": "layers/full/component/component:syn-icon-button/components/icon-button.component.ts"
|
|
159
159
|
},
|
|
160
|
-
{
|
|
161
|
-
"layer": "full",
|
|
162
|
-
"path": "layers/full/component/component:syn-icon-button/components/icon-button.custom.styles.ts"
|
|
163
|
-
},
|
|
164
160
|
{
|
|
165
161
|
"layer": "full",
|
|
166
162
|
"path": "layers/full/component/component:syn-icon-button/components/icon-button.styles.ts"
|
|
@@ -205,7 +201,6 @@
|
|
|
205
201
|
"sources": [
|
|
206
202
|
"packages/angular/components/icon-button/icon-button.component.ts",
|
|
207
203
|
"packages/components/src/components/icon-button/icon-button.component.ts",
|
|
208
|
-
"packages/components/src/components/icon-button/icon-button.custom.styles.ts",
|
|
209
204
|
"packages/components/src/components/icon-button/icon-button.styles.ts",
|
|
210
205
|
"packages/components/src/components/icon-button/icon-button.ts",
|
|
211
206
|
"packages/react/src/components/icon-button.ts",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"custom": {
|
|
3
3
|
"framework": "angular",
|
|
4
4
|
"packageName": "@synergy-design-system/angular",
|
|
5
|
-
"packageVersion": "3.13.
|
|
5
|
+
"packageVersion": "3.13.2",
|
|
6
6
|
"subpathExports": [
|
|
7
7
|
".",
|
|
8
8
|
"./components/*",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"name": "Angular Framework Package",
|
|
40
40
|
"package": "angular",
|
|
41
41
|
"relations": [],
|
|
42
|
-
"since": "3.13.
|
|
42
|
+
"since": "3.13.2",
|
|
43
43
|
"sources": [
|
|
44
44
|
"packages/angular/README.md",
|
|
45
45
|
"packages/angular/CHANGELOG.md",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"custom": {
|
|
3
3
|
"packageName": "@synergy-design-system/components",
|
|
4
|
-
"packageVersion": "3.13.
|
|
4
|
+
"packageVersion": "3.13.2"
|
|
5
5
|
},
|
|
6
6
|
"id": "setup:components-package",
|
|
7
7
|
"kind": "setup",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"name": "Components Package",
|
|
41
41
|
"package": "components",
|
|
42
42
|
"relations": [],
|
|
43
|
-
"since": "3.13.
|
|
43
|
+
"since": "3.13.2",
|
|
44
44
|
"sources": [
|
|
45
45
|
"packages/components/README.md",
|
|
46
46
|
"packages/components/CHANGELOG.md",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"custom": {
|
|
3
3
|
"framework": "react",
|
|
4
4
|
"packageName": "@synergy-design-system/react",
|
|
5
|
-
"packageVersion": "3.13.
|
|
5
|
+
"packageVersion": "3.13.2",
|
|
6
6
|
"subpathExports": [
|
|
7
7
|
".",
|
|
8
8
|
"./components/*",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"name": "React Framework Package",
|
|
43
43
|
"package": "react",
|
|
44
44
|
"relations": [],
|
|
45
|
-
"since": "3.13.
|
|
45
|
+
"since": "3.13.2",
|
|
46
46
|
"sources": [
|
|
47
47
|
"packages/react/README.md",
|
|
48
48
|
"packages/react/CHANGELOG.md",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"./themes/*"
|
|
25
25
|
],
|
|
26
26
|
"packageName": "@synergy-design-system/tokens",
|
|
27
|
-
"packageVersion": "3.13.
|
|
27
|
+
"packageVersion": "3.13.2"
|
|
28
28
|
},
|
|
29
29
|
"id": "setup:tokens-package",
|
|
30
30
|
"kind": "setup",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"name": "Tokens Package",
|
|
52
52
|
"package": "tokens",
|
|
53
53
|
"relations": [],
|
|
54
|
-
"since": "3.13.
|
|
54
|
+
"since": "3.13.2",
|
|
55
55
|
"sources": [
|
|
56
56
|
"packages/tokens/BREAKING_CHANGES.md",
|
|
57
57
|
"packages/tokens/CHANGELOG.md",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"custom": {
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"packageName": "@synergy-design-system/vue",
|
|
5
|
-
"packageVersion": "3.13.
|
|
5
|
+
"packageVersion": "3.13.2"
|
|
6
6
|
},
|
|
7
7
|
"id": "setup:vue-package",
|
|
8
8
|
"kind": "setup",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"name": "Vue Framework Package",
|
|
34
34
|
"package": "vue",
|
|
35
35
|
"relations": [],
|
|
36
|
-
"since": "3.13.
|
|
36
|
+
"since": "3.13.2",
|
|
37
37
|
"sources": [
|
|
38
38
|
"packages/vue/README.md",
|
|
39
39
|
"packages/vue/CHANGELOG.md",
|
package/data/index.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"builtAt": "2026-
|
|
2
|
+
"builtAt": "2026-05-04T13:29:30.055Z",
|
|
3
3
|
"entities": [
|
|
4
4
|
{
|
|
5
5
|
"corePath": "data/core/asset/asset:sick2018-icons.json",
|
|
@@ -491,7 +491,7 @@
|
|
|
491
491
|
"kind": "component",
|
|
492
492
|
"layers": {
|
|
493
493
|
"examples": 1,
|
|
494
|
-
"full":
|
|
494
|
+
"full": 7,
|
|
495
495
|
"interface": 2
|
|
496
496
|
},
|
|
497
497
|
"name": "syn-icon-button",
|
|
@@ -17,24 +17,26 @@ Icons buttons are simple, icon-only buttons that can be used for actions and in
|
|
|
17
17
|
Use the size attribute to change a icon-button size.
|
|
18
18
|
|
|
19
19
|
```html
|
|
20
|
-
<syn-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
20
|
+
<div style="align-items: end; display: flex; gap: var(--syn-spacing-large)">
|
|
21
|
+
<syn-icon-button
|
|
22
|
+
name="wallpaper"
|
|
23
|
+
label="Wallpaper"
|
|
24
|
+
color="neutral"
|
|
25
|
+
size="small"
|
|
26
|
+
></syn-icon-button>
|
|
27
|
+
<syn-icon-button
|
|
28
|
+
name="wallpaper"
|
|
29
|
+
label="Wallpaper"
|
|
30
|
+
color="neutral"
|
|
31
|
+
size="medium"
|
|
32
|
+
></syn-icon-button>
|
|
33
|
+
<syn-icon-button
|
|
34
|
+
name="wallpaper"
|
|
35
|
+
label="Wallpaper"
|
|
36
|
+
color="neutral"
|
|
37
|
+
size="large"
|
|
38
|
+
></syn-icon-button>
|
|
39
|
+
</div>
|
|
38
40
|
```
|
|
39
41
|
|
|
40
42
|
---
|
|
@@ -44,18 +46,20 @@ Use the size attribute to change a icon-button size.
|
|
|
44
46
|
The Icon button can have two color variants, Primary or Neutral Color.
|
|
45
47
|
|
|
46
48
|
```html
|
|
47
|
-
<syn-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
49
|
+
<div style="align-items: center; display: flex; gap: var(--syn-spacing-large)">
|
|
50
|
+
<syn-icon-button
|
|
51
|
+
name="wallpaper"
|
|
52
|
+
label="Wallpaper"
|
|
53
|
+
color="neutral"
|
|
54
|
+
size="medium"
|
|
55
|
+
></syn-icon-button>
|
|
56
|
+
<syn-icon-button
|
|
57
|
+
name="wallpaper"
|
|
58
|
+
label="Wallpaper"
|
|
59
|
+
color="primary"
|
|
60
|
+
size="medium"
|
|
61
|
+
></syn-icon-button>
|
|
62
|
+
</div>
|
|
59
63
|
```
|
|
60
64
|
|
|
61
65
|
---
|
|
@@ -82,13 +86,22 @@ It’s often helpful to have a button that works like a link. This is possible b
|
|
|
82
86
|
Use the disabled attribute to disable the icon button.
|
|
83
87
|
|
|
84
88
|
```html
|
|
85
|
-
<syn-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
89
|
+
<div style="align-items: center; display: flex; gap: var(--syn-spacing-large)">
|
|
90
|
+
<syn-icon-button
|
|
91
|
+
name="wallpaper"
|
|
92
|
+
label="Wallpaper"
|
|
93
|
+
color="neutral"
|
|
94
|
+
disabled=""
|
|
95
|
+
size="medium"
|
|
96
|
+
></syn-icon-button>
|
|
97
|
+
<syn-icon-button
|
|
98
|
+
name="wallpaper"
|
|
99
|
+
label="Wallpaper"
|
|
100
|
+
color="primary"
|
|
101
|
+
disabled=""
|
|
102
|
+
size="medium"
|
|
103
|
+
></syn-icon-button>
|
|
104
|
+
</div>
|
|
92
105
|
```
|
|
93
106
|
|
|
94
107
|
---
|
|
@@ -99,12 +112,28 @@ The focus event gives the user feedback that the icon-button has been focused by
|
|
|
99
112
|
|
|
100
113
|
```html
|
|
101
114
|
<div style="padding: 5px">
|
|
102
|
-
<
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
115
|
+
<div
|
|
116
|
+
style="align-items: center; display: flex; gap: var(--syn-spacing-large)"
|
|
117
|
+
>
|
|
118
|
+
<syn-icon-button
|
|
119
|
+
name="wallpaper"
|
|
120
|
+
label="Wallpaper"
|
|
121
|
+
color="neutral"
|
|
122
|
+
size="small"
|
|
123
|
+
></syn-icon-button>
|
|
124
|
+
<syn-icon-button
|
|
125
|
+
name="wallpaper"
|
|
126
|
+
label="Wallpaper"
|
|
127
|
+
color="neutral"
|
|
128
|
+
size="medium"
|
|
129
|
+
></syn-icon-button>
|
|
130
|
+
<syn-icon-button
|
|
131
|
+
name="wallpaper"
|
|
132
|
+
label="Wallpaper"
|
|
133
|
+
color="neutral"
|
|
134
|
+
size="large"
|
|
135
|
+
></syn-icon-button>
|
|
136
|
+
</div>
|
|
108
137
|
</div>
|
|
109
138
|
```
|
|
110
139
|
|
|
@@ -22,6 +22,13 @@ Use the disabled attribute to disable an option and prevent it from being select
|
|
|
22
22
|
<syn-option value="option-1">Email</syn-option>
|
|
23
23
|
<syn-option value="option-2" disabled="">Phone</syn-option>
|
|
24
24
|
<syn-option value="option-3">Chat</syn-option>
|
|
25
|
+
|
|
26
|
+
<syn-option value="option-4" disabled="">
|
|
27
|
+
<syn-icon name="chat_bubble_outline" slot="prefix"></syn-icon>
|
|
28
|
+
<syn-icon name="check_circle_outline" slot="suffix"></syn-icon>
|
|
29
|
+
Other
|
|
30
|
+
</syn-option>
|
|
31
|
+
<!-- /Regression#1277 -->
|
|
25
32
|
</syn-select>
|
|
26
33
|
```
|
|
27
34
|
|
|
@@ -32,7 +39,7 @@ Use the disabled attribute to disable an option and prevent it from being select
|
|
|
32
39
|
Add icons to the start and end of menu items using the prefix and suffix slots.
|
|
33
40
|
|
|
34
41
|
```html
|
|
35
|
-
<syn-select label="Select one">
|
|
42
|
+
<syn-select label="Select one" open="">
|
|
36
43
|
<syn-option value="option-1">
|
|
37
44
|
<syn-icon slot="prefix" name="email"></syn-icon>
|
|
38
45
|
Email
|
package/data/layers/full/component/component:syn-icon-button/components/icon-button.component.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import type { CSSResultGroup } from 'lit';
|
|
2
2
|
import { classMap } from 'lit/directives/class-map.js';
|
|
3
3
|
import { html, literal } from 'lit/static-html.js';
|
|
4
4
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
@@ -7,8 +7,6 @@ import componentStyles from '../../styles/component.styles.js';
|
|
|
7
7
|
import SynergyElement from '../../internal/synergy-element.js';
|
|
8
8
|
import SynIcon from '../icon/icon.component.js';
|
|
9
9
|
import styles from './icon-button.styles.js';
|
|
10
|
-
import customStyles from './icon-button.custom.styles.js';
|
|
11
|
-
import type { CSSResultGroup } from 'lit';
|
|
12
10
|
import { enableDefaultSettings } from '../../utilities/defaultSettings/decorator.js';
|
|
13
11
|
|
|
14
12
|
/**
|
|
@@ -26,7 +24,8 @@ import { enableDefaultSettings } from '../../utilities/defaultSettings/decorator
|
|
|
26
24
|
*/
|
|
27
25
|
@enableDefaultSettings('SynIconButton')
|
|
28
26
|
export default class SynIconButton extends SynergyElement {
|
|
29
|
-
static styles: CSSResultGroup = [componentStyles, styles
|
|
27
|
+
static styles: CSSResultGroup = [componentStyles, styles];
|
|
28
|
+
|
|
30
29
|
static dependencies = { 'syn-icon': SynIcon };
|
|
31
30
|
|
|
32
31
|
@query('.icon-button') button: HTMLButtonElement | HTMLLinkElement;
|
|
@@ -67,10 +66,10 @@ export default class SynIconButton extends SynergyElement {
|
|
|
67
66
|
* The color of the icon button.
|
|
68
67
|
* The default "currentColor" makes it possible to easily style the icon button from outside without any CSS variables.
|
|
69
68
|
*/
|
|
70
|
-
@property({ reflect: true }) color: 'currentColor' | 'primary' | 'neutral'
|
|
69
|
+
@property({ reflect: true }) color: 'currentColor' | 'primary' | 'neutral' = 'currentColor';
|
|
71
70
|
|
|
72
71
|
/** Disables the button. */
|
|
73
|
-
@property({
|
|
72
|
+
@property({ reflect: true, type: Boolean }) disabled = false;
|
|
74
73
|
|
|
75
74
|
private handleBlur() {
|
|
76
75
|
this.hasFocus = false;
|
|
@@ -104,11 +103,12 @@ export default class SynIconButton extends SynergyElement {
|
|
|
104
103
|
this.button.blur();
|
|
105
104
|
}
|
|
106
105
|
|
|
106
|
+
// eslint-disable-next-line complexity
|
|
107
107
|
render() {
|
|
108
|
-
const isLink = this.href
|
|
108
|
+
const isLink = !!this.href;
|
|
109
109
|
const tag = isLink ? literal`a` : literal`button`;
|
|
110
110
|
|
|
111
|
-
/* eslint-disable lit/binding-positions, lit/no-invalid-html */
|
|
111
|
+
/* eslint-disable lit/binding-positions, lit/no-invalid-html, @typescript-eslint/unbound-method */
|
|
112
112
|
return html`
|
|
113
113
|
<${tag}
|
|
114
114
|
part="base"
|
|
@@ -116,9 +116,9 @@ export default class SynIconButton extends SynergyElement {
|
|
|
116
116
|
'icon-button': true,
|
|
117
117
|
'icon-button--disabled': !isLink && this.disabled,
|
|
118
118
|
'icon-button--focused': this.hasFocus,
|
|
119
|
-
'icon-button--small': this.size === 'small',
|
|
120
|
-
'icon-button--medium': this.size === 'medium',
|
|
121
119
|
'icon-button--large': this.size === 'large',
|
|
120
|
+
'icon-button--medium': this.size === 'medium',
|
|
121
|
+
'icon-button--small': this.size === 'small',
|
|
122
122
|
})}
|
|
123
123
|
?disabled=${ifDefined(isLink ? undefined : this.disabled)}
|
|
124
124
|
type=${ifDefined(isLink ? undefined : 'button')}
|
package/data/layers/full/component/component:syn-icon-button/components/icon-button.styles.ts
CHANGED
|
@@ -1,26 +1,36 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
1
|
import { css } from 'lit';
|
|
3
2
|
|
|
4
3
|
export default css`
|
|
5
|
-
/* stylelint-disable */
|
|
6
4
|
:host {
|
|
7
|
-
display: inline-block;
|
|
8
5
|
color: var(--syn-color-neutral-600);
|
|
6
|
+
display: inline-block;
|
|
9
7
|
}
|
|
10
8
|
|
|
11
9
|
.icon-button {
|
|
12
|
-
flex: 0 0 auto;
|
|
13
|
-
display: flex;
|
|
14
10
|
align-items: center;
|
|
11
|
+
/* stylelint-disable-next-line property-no-vendor-prefix */
|
|
12
|
+
-webkit-appearance: none;
|
|
13
|
+
appearance: none;
|
|
15
14
|
background: none;
|
|
16
15
|
border: none;
|
|
17
|
-
border-radius:
|
|
16
|
+
border-radius: 0;
|
|
17
|
+
color: currentColor;
|
|
18
|
+
cursor: pointer;
|
|
19
|
+
display: flex;
|
|
20
|
+
flex: 0 0 auto;
|
|
18
21
|
font-size: inherit;
|
|
19
|
-
color: inherit;
|
|
20
22
|
padding: var(--syn-spacing-x-small);
|
|
21
|
-
cursor: pointer;
|
|
22
23
|
transition: var(--syn-transition-x-fast) color;
|
|
23
|
-
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.icon-button:focus {
|
|
27
|
+
outline: none;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.icon-button:focus-visible {
|
|
31
|
+
border-radius: var(--syn-icon-button-focus-ring-border-radius); /* Remove round borders */
|
|
32
|
+
outline: var(--syn-focus-ring);
|
|
33
|
+
outline-offset: var(--syn-focus-ring-offset);
|
|
24
34
|
}
|
|
25
35
|
|
|
26
36
|
.icon-button:hover:not(.icon-button--disabled),
|
|
@@ -32,21 +42,70 @@ export default css`
|
|
|
32
42
|
color: var(--syn-color-primary-700);
|
|
33
43
|
}
|
|
34
44
|
|
|
35
|
-
.icon-button:focus {
|
|
36
|
-
outline: none;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
45
|
.icon-button--disabled {
|
|
40
|
-
opacity: 0.5;
|
|
41
46
|
cursor: not-allowed;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
.icon-button:focus-visible {
|
|
45
|
-
outline: var(--syn-focus-ring);
|
|
46
|
-
outline-offset: var(--syn-focus-ring-offset);
|
|
47
|
+
opacity: var(--syn-input-disabled-opacity); /* #429: Use token for opacity */
|
|
47
48
|
}
|
|
48
49
|
|
|
49
50
|
.icon-button__icon {
|
|
50
51
|
pointer-events: none;
|
|
51
52
|
}
|
|
53
|
+
|
|
54
|
+
/* Colors */
|
|
55
|
+
:host([color="currentColor"]) {
|
|
56
|
+
color: currentColor;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
:host([color="primary"]),
|
|
60
|
+
:host([color="primary"]) .icon-button:focus-visible:not(.icon-button--disabled) {
|
|
61
|
+
color: var(--syn-interactive-emphasis-color);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
:host([color="primary"]) .icon-button:hover:not(.icon-button--disabled) {
|
|
65
|
+
color: var(--syn-interactive-emphasis-color-hover);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
:host([color="primary"]) .icon-button:active:not(.icon-button--disabled) {
|
|
69
|
+
color: var(--syn-interactive-emphasis-color-active);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
:host([color="neutral"]) {
|
|
73
|
+
color: var(--syn-interactive-quiet-color);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
:host([color="neutral"]) .icon-button:hover:not(.icon-button--disabled) {
|
|
77
|
+
color: var(--syn-interactive-quiet-color-hover);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
:host([color="neutral"]) .icon-button:active:not(.icon-button--disabled) {
|
|
81
|
+
color: var(--syn-interactive-quiet-color-active);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
:host([color="neutral"]) .icon-button:focus-visible:not(.icon-button--disabled):not(:hover) {
|
|
85
|
+
color: var(--syn-interactive-quiet-color);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/* Sizes */
|
|
89
|
+
.icon-button--small {
|
|
90
|
+
font-size: var(--syn-font-size-medium);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.icon-button--medium {
|
|
94
|
+
font-size: var(--syn-font-size-x-large);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.icon-button--large {
|
|
98
|
+
font-size: var(--syn-font-size-2x-large);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/* Force user to set "label" prop */
|
|
102
|
+
.icon-button[aria-label=""] {
|
|
103
|
+
border: var(--syn-border-width-large) var(--syn-color-error-600) solid;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.icon-button[aria-label=""]::after {
|
|
107
|
+
content: "Set label prop for a11y to get rid of this text and border!";
|
|
108
|
+
font-size: var(--syn-font-size-2x-small);
|
|
109
|
+
margin-left: var(--syn-spacing-2x-small);
|
|
110
|
+
}
|
|
52
111
|
`;
|
|
@@ -139,16 +139,16 @@ export default css`
|
|
|
139
139
|
font-size: var(--option-icon-size, var(--syn-spacing-large));
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
.option--hover .option__prefix::slotted(syn-icon),
|
|
143
|
-
.option--hover .option__suffix::slotted(syn-icon) {
|
|
144
|
-
color: var(--syn-option-icon-color-hover);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
142
|
.option--current .option__prefix::slotted(syn-icon),
|
|
148
143
|
.option--current .option__suffix::slotted(syn-icon) {
|
|
149
144
|
color: var(--syn-option-icon-color-active);
|
|
150
145
|
}
|
|
151
146
|
|
|
147
|
+
.option--hover:not(.option--disabled) .option__prefix::slotted(syn-icon),
|
|
148
|
+
.option--hover:not(.option--disabled) .option__suffix::slotted(syn-icon) {
|
|
149
|
+
color: var(--syn-option-icon-color-hover);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
152
|
/* This is needed for the highlight styling of the options in syn-combobox */
|
|
153
153
|
.option__label::slotted(.syn-highlight-style) {
|
|
154
154
|
background-color: transparent;
|
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @synergy-design-system/angular
|
|
2
2
|
|
|
3
|
+
## 3.13.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`e84b97a`](https://github.com/synergy-design-system/synergy-design-system/commit/e84b97ae70affae71afcc85725e56b3f690a445e)]:
|
|
8
|
+
- @synergy-design-system/components@3.13.2
|
|
9
|
+
- @synergy-design-system/tokens@3.13.2
|
|
10
|
+
|
|
11
|
+
## 3.13.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [[`2444517`](https://github.com/synergy-design-system/synergy-design-system/commit/2444517aaedc22b115d9572dd14d47c43189ec5d)]:
|
|
16
|
+
- @synergy-design-system/components@3.13.1
|
|
17
|
+
- @synergy-design-system/tokens@3.13.1
|
|
18
|
+
|
|
3
19
|
## 3.13.0
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"url": "https://github.com/synergy-design-system/synergy-design-system.git",
|
|
23
23
|
"directory": "packages/angular"
|
|
24
24
|
},
|
|
25
|
-
"version": "3.13.
|
|
25
|
+
"version": "3.13.2",
|
|
26
26
|
"scripts": {
|
|
27
27
|
"_build": "pnpm _clean && ng-packagr -c tsconfig.lib.json && pnpm _after-build",
|
|
28
28
|
"_clean": "rm -rf ../_private/angular-demo/.angular",
|
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.13.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1278](https://github.com/synergy-design-system/synergy-design-system/pull/1278) [`e84b97a`](https://github.com/synergy-design-system/synergy-design-system/commit/e84b97ae70affae71afcc85725e56b3f690a445e) Thanks [@schilchSICKAG](https://github.com/schilchSICKAG)! - Released on: 2026-05-04
|
|
8
|
+
|
|
9
|
+
fix: 🐛 `<syn-option>` slotted icons not visible on hover ([#1277](https://github.com/synergy-design-system/synergy-design-system/issues/1277))
|
|
10
|
+
|
|
11
|
+
This release fixes a bug that accidentally set the color of slotted elements in `<syn-option>` to white which lead to the icons appear to be invisible.
|
|
12
|
+
|
|
13
|
+
- Updated dependencies []:
|
|
14
|
+
- @synergy-design-system/tokens@3.13.2
|
|
15
|
+
|
|
16
|
+
## 3.13.1
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- [#1267](https://github.com/synergy-design-system/synergy-design-system/pull/1267) [`2444517`](https://github.com/synergy-design-system/synergy-design-system/commit/2444517aaedc22b115d9572dd14d47c43189ec5d) Thanks [@schilchSICKAG](https://github.com/schilchSICKAG)! - Released on: 2026-04-29
|
|
21
|
+
|
|
22
|
+
fix: 🐛 `<syn-icon-button>` is not visible when `disabled` in dark mode ([#1257](https://github.com/synergy-design-system/synergy-design-system/issues/1257))
|
|
23
|
+
|
|
24
|
+
This release fixes an issue where disabled `<syn-icon-button>` components were appearing too light in dark mode, making them difficult to see. The disabled state styling now properly contrasts with the dark background.
|
|
25
|
+
|
|
26
|
+
- Updated dependencies []:
|
|
27
|
+
- @synergy-design-system/tokens@3.13.1
|
|
28
|
+
|
|
3
29
|
## 3.13.0
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @synergy-design-system/react
|
|
2
2
|
|
|
3
|
+
## 3.13.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`e84b97a`](https://github.com/synergy-design-system/synergy-design-system/commit/e84b97ae70affae71afcc85725e56b3f690a445e)]:
|
|
8
|
+
- @synergy-design-system/components@3.13.2
|
|
9
|
+
- @synergy-design-system/tokens@3.13.2
|
|
10
|
+
|
|
11
|
+
## 3.13.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [[`2444517`](https://github.com/synergy-design-system/synergy-design-system/commit/2444517aaedc22b115d9572dd14d47c43189ec5d)]:
|
|
16
|
+
- @synergy-design-system/components@3.13.1
|
|
17
|
+
- @synergy-design-system/tokens@3.13.1
|
|
18
|
+
|
|
3
19
|
## 3.13.0
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @synergy-design-system/vue
|
|
2
2
|
|
|
3
|
+
## 3.13.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`e84b97a`](https://github.com/synergy-design-system/synergy-design-system/commit/e84b97ae70affae71afcc85725e56b3f690a445e)]:
|
|
8
|
+
- @synergy-design-system/components@3.13.2
|
|
9
|
+
- @synergy-design-system/tokens@3.13.2
|
|
10
|
+
|
|
11
|
+
## 3.13.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [[`2444517`](https://github.com/synergy-design-system/synergy-design-system/commit/2444517aaedc22b115d9572dd14d47c43189ec5d)]:
|
|
16
|
+
- @synergy-design-system/components@3.13.1
|
|
17
|
+
- @synergy-design-system/tokens@3.13.1
|
|
18
|
+
|
|
3
19
|
## 3.13.0
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/data/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"serve-handler": "^6.1.7",
|
|
20
20
|
"typescript": "^5.9.3",
|
|
21
21
|
"zod": "^4.3.6",
|
|
22
|
-
"@synergy-design-system/components": "3.13.
|
|
22
|
+
"@synergy-design-system/components": "3.13.2",
|
|
23
|
+
"@synergy-design-system/docs": "0.1.0",
|
|
23
24
|
"@synergy-design-system/eslint-config-syn": "^0.1.0",
|
|
24
25
|
"@synergy-design-system/fonts": "1.0.6",
|
|
25
|
-
"@synergy-design-system/
|
|
26
|
-
"@synergy-design-system/styles": "2.1.0"
|
|
27
|
-
"@synergy-design-system/tokens": "^3.13.0"
|
|
26
|
+
"@synergy-design-system/tokens": "^3.13.2",
|
|
27
|
+
"@synergy-design-system/styles": "2.1.0"
|
|
28
28
|
},
|
|
29
29
|
"exports": {
|
|
30
30
|
".": {
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
},
|
|
66
66
|
"types": "./dist/index.d.ts",
|
|
67
67
|
"type": "module",
|
|
68
|
-
"version": "3.
|
|
68
|
+
"version": "3.3.0",
|
|
69
69
|
"scripts": {
|
|
70
70
|
"build:all": "METADATA_LOG_LEVEL=info pnpm run build:ts && RUN_STORYBOOK_SCRAPER=true pnpm run build:data",
|
|
71
71
|
"build": "METADATA_LOG_LEVEL=info pnpm run build:ts && pnpm run build:data",
|
package/data/layers/full/component/component:syn-icon-button/components/icon-button.custom.styles.ts
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { css } from 'lit';
|
|
2
|
-
|
|
3
|
-
export default css`
|
|
4
|
-
.icon-button {
|
|
5
|
-
border-radius: 0;
|
|
6
|
-
color: currentColor;
|
|
7
|
-
font-size: inherit;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.icon-button--disabled {
|
|
11
|
-
color: var(--syn-color-neutral-400);
|
|
12
|
-
|
|
13
|
-
/** #429: Use token for opacity */
|
|
14
|
-
opacity: var(--syn-input-disabled-opacity);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/* Remove round borders */
|
|
18
|
-
.icon-button:focus-visible {
|
|
19
|
-
border-radius: var(--syn-icon-button-focus-ring-border-radius);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/* Colors */
|
|
23
|
-
:host([color="currentColor"]) {
|
|
24
|
-
color: currentColor;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
:host([color="primary"]),
|
|
28
|
-
:host([color="primary"]) .icon-button:focus-visible:not(.icon-button--disabled) {
|
|
29
|
-
color: var(--syn-interactive-emphasis-color);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
:host([color="primary"]) .icon-button:hover:not(.icon-button--disabled) {
|
|
33
|
-
color: var(--syn-interactive-emphasis-color-hover);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
:host([color="primary"]) .icon-button:active:not(.icon-button--disabled) {
|
|
37
|
-
color: var(--syn-interactive-emphasis-color-active);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
:host([color="neutral"]) {
|
|
41
|
-
color: var(--syn-interactive-quiet-color);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
:host([color="neutral"]) .icon-button:hover:not(.icon-button--disabled) {
|
|
45
|
-
color: var(--syn-interactive-quiet-color-hover);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
:host([color="neutral"]) .icon-button:active:not(.icon-button--disabled) {
|
|
49
|
-
color: var(--syn-interactive-quiet-color-active);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
:host([color="neutral"]) .icon-button:focus-visible:not(.icon-button--disabled):not(:hover) {
|
|
53
|
-
color: var(--syn-interactive-quiet-color);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/* Sizes */
|
|
57
|
-
.icon-button--small {
|
|
58
|
-
font-size: var(--syn-font-size-medium);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.icon-button--medium {
|
|
62
|
-
font-size: var(--syn-font-size-x-large);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.icon-button--large {
|
|
66
|
-
font-size: var(--syn-font-size-2x-large);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
/* Force user to set "label" prop */
|
|
70
|
-
.icon-button[aria-label=""] {
|
|
71
|
-
border: var(--syn-border-width-large) var(--syn-color-error-600) solid;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.icon-button[aria-label=""]::after {
|
|
75
|
-
content: "Set label prop for a11y to get rid of this text and border!";
|
|
76
|
-
font-size: var(--syn-font-size-2x-small);
|
|
77
|
-
margin-left: var(--syn-spacing-2x-small);
|
|
78
|
-
}
|
|
79
|
-
`;
|