@synergy-design-system/mcp 1.41.2 → 2.0.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 +26 -0
- package/README.md +43 -8
- package/dist/build/assets.js +1 -0
- package/dist/build/static.js +15 -7
- package/dist/build/styles.js +1 -0
- package/dist/build/tokens.js +1 -0
- package/dist/tools/asset-info.js +4 -4
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/index.js +1 -0
- package/dist/tools/migration-info.d.ts +10 -1
- package/dist/tools/migration-info.js +74 -12
- package/dist/tools/migration-list.d.ts +10 -0
- package/dist/tools/migration-list.js +122 -0
- package/dist/utilities/migration.d.ts +3 -1
- package/dist/utilities/migration.js +25 -2
- package/metadata/checksum.txt +1 -1
- package/metadata/packages/angular/README.md +1 -1
- package/metadata/packages/assets/BREAKING_CHANGES.md +305 -0
- package/metadata/packages/assets/CHANGELOG.md +18 -0
- package/metadata/packages/assets/README.md +39 -22
- package/metadata/packages/components/components/syn-alert/component.custom.styles.ts +20 -20
- package/metadata/packages/components/components/syn-badge/component.custom.styles.ts +10 -10
- package/metadata/packages/components/components/syn-breadcrumb-item/component.custom.styles.ts +1 -1
- package/metadata/packages/components/components/syn-button/component.custom.styles.ts +24 -24
- package/metadata/packages/components/components/syn-checkbox/component.custom.styles.ts +7 -7
- package/metadata/packages/components/components/syn-combobox/component.angular.ts +0 -17
- package/metadata/packages/components/components/syn-combobox/component.ts +0 -9
- package/metadata/packages/components/components/syn-combobox/component.vue +0 -9
- package/metadata/packages/components/components/syn-details/component.custom.styles.ts +1 -1
- package/metadata/packages/components/components/syn-dialog/component.custom.styles.ts +1 -1
- package/metadata/packages/components/components/syn-dropdown/component.angular.ts +0 -17
- package/metadata/packages/components/components/syn-dropdown/component.ts +0 -8
- package/metadata/packages/components/components/syn-dropdown/component.vue +0 -9
- package/metadata/packages/components/components/syn-file/component.styles.ts +6 -6
- package/metadata/packages/components/components/syn-header/component.styles.ts +7 -7
- package/metadata/packages/components/components/syn-icon-button/component.custom.styles.ts +8 -8
- package/metadata/packages/components/components/syn-input/component.custom.styles.ts +3 -3
- package/metadata/packages/components/components/syn-input/component.ts +2 -3
- package/metadata/packages/components/components/syn-menu-item/component.custom.styles.ts +11 -11
- package/metadata/packages/components/components/syn-nav-item/component.styles.ts +3 -3
- package/metadata/packages/components/components/syn-optgroup/component.styles.ts +1 -1
- package/metadata/packages/components/components/syn-option/component.custom.styles.ts +13 -13
- package/metadata/packages/components/components/syn-popup/component.angular.ts +0 -16
- package/metadata/packages/components/components/syn-popup/component.ts +3 -10
- package/metadata/packages/components/components/syn-popup/component.vue +0 -10
- package/metadata/packages/components/components/syn-progress-bar/component.custom.styles.ts +2 -2
- package/metadata/packages/components/components/syn-progress-ring/component.custom.styles.ts +2 -2
- package/metadata/packages/components/components/syn-radio/component.custom.styles.ts +7 -7
- package/metadata/packages/components/components/syn-range/component.styles.ts +9 -9
- package/metadata/packages/components/components/syn-range/component.ts +0 -1
- package/metadata/packages/components/components/syn-range-tick/component.styles.ts +1 -1
- package/metadata/packages/components/components/syn-select/component.angular.ts +0 -17
- package/metadata/packages/components/components/syn-select/component.ts +0 -8
- package/metadata/packages/components/components/syn-select/component.vue +0 -9
- package/metadata/packages/components/components/syn-side-nav/component.angular.ts +0 -21
- package/metadata/packages/components/components/syn-side-nav/component.ts +1 -36
- package/metadata/packages/components/components/syn-side-nav/component.vue +0 -13
- package/metadata/packages/components/components/syn-spinner/component.custom.styles.ts +2 -2
- package/metadata/packages/components/components/syn-switch/component.custom.styles.ts +16 -16
- package/metadata/packages/components/components/syn-tab/component.custom.styles.ts +3 -3
- package/metadata/packages/components/components/syn-tab-group/component.custom.styles.ts +2 -2
- package/metadata/packages/components/components/syn-tag/component.custom.styles.ts +1 -1
- package/metadata/packages/components/components/syn-tooltip/component.angular.ts +0 -18
- package/metadata/packages/components/components/syn-tooltip/component.ts +1 -10
- package/metadata/packages/components/components/syn-tooltip/component.vue +0 -10
- package/metadata/packages/components/migration/BREAKING_CHANGES.md +433 -14
- package/metadata/packages/components/static/CHANGELOG.md +44 -0
- package/metadata/packages/components/static/LIMITATIONS.md +141 -35
- package/metadata/packages/styles/BREAKING_CHANGES.md +105 -0
- package/metadata/packages/styles/CHANGELOG.md +26 -0
- package/metadata/packages/styles/index.css +9 -9
- package/metadata/packages/styles/link-list.css +1 -1
- package/metadata/packages/styles/link.css +2 -2
- package/metadata/packages/styles/tables.css +8 -8
- package/metadata/packages/styles/typography.css +1 -1
- package/metadata/packages/tokens/BREAKING_CHANGES.md +180 -0
- package/metadata/packages/tokens/CHANGELOG.md +18 -0
- package/metadata/packages/tokens/README.md +2 -0
- package/metadata/packages/tokens/dark.css +237 -236
- package/metadata/packages/tokens/index.js +6 -1
- package/metadata/packages/tokens/light.css +221 -220
- package/metadata/packages/tokens/sick2018_dark.css +4 -3
- package/metadata/packages/tokens/sick2018_light.css +4 -3
- package/metadata/packages/tokens/sick2025_dark.css +4 -3
- package/metadata/packages/tokens/sick2025_light.css +4 -3
- package/metadata/static/components/syn-badge/docs.md +2 -14
- package/metadata/static/components/syn-popup/docs.md +10 -29
- package/metadata/static/components/syn-range/docs.md +1 -1
- package/metadata/static/migration/index.md +51 -11
- package/metadata/{packages/components/migration/migration-synergy-v3.md → static/migration/v2-2018-to-v2-2025.md} +1 -1
- package/metadata/static/migration/v2-2018-to-v3-2018.md +147 -0
- package/metadata/static/migration/v2-2018-to-v3-2025.md +150 -0
- package/metadata/static/migration/v2-2025-to-v3-2025.md +133 -0
- package/metadata/static/templates/appshell.md +8 -8
- package/metadata/static/templates/footer.md +1 -1
- package/package.json +6 -6
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
# Handling breaking changes between major versions
|
|
2
|
+
|
|
3
|
+
This guide holds the required information for migrating from one major version of `@synergy-design-system/tokens` to the next.
|
|
4
|
+
|
|
5
|
+
> ⚠️ Migrations **must** always be done from one major version to the next to prevent issues (e.g. with types and property changes)
|
|
6
|
+
> This means when moving from `@synergy-design-system@tokens` v1.x to v3.x,
|
|
7
|
+
> you will **have to apply** the changes from v1.x to v2.x first!
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Version 3.0
|
|
12
|
+
|
|
13
|
+
<h3 id="theme-sick2025-v3">Theme: SICK 2025</h3>
|
|
14
|
+
|
|
15
|
+
#### ⚠️ New default theme SICK 2025
|
|
16
|
+
|
|
17
|
+
**Associated Ticket(s)**:
|
|
18
|
+
|
|
19
|
+
- [#1149](https://github.com/synergy-design-system/synergy-design-system/issues/1149)
|
|
20
|
+
|
|
21
|
+
**Reason**:
|
|
22
|
+
|
|
23
|
+
With the migration from Synergy version 2 to Synergy version 3, we are adjusting the default export.
|
|
24
|
+
The `light.css` and `dark.css` theme imports now point to `SICK 2025` instead of `SICK 2018`.
|
|
25
|
+
|
|
26
|
+
This also means that the classes `.syn-theme-light` and `.syn-theme-dark` are now also set for the `SICK 2025` theme instead on the `SICK 2018` theme which was the old default.
|
|
27
|
+
|
|
28
|
+
**Migration Steps**:
|
|
29
|
+
|
|
30
|
+
> These steps are only needed if you want to stay on `SICK 2018` **and** have imported `light.css` or `dark.css`!
|
|
31
|
+
|
|
32
|
+
- Make sure to load the `sick2018_light.css` or `sick2018_dark.css` files instead of `light.css` and `dark.css`.
|
|
33
|
+
|
|
34
|
+
**Example (before)**:
|
|
35
|
+
|
|
36
|
+
```css
|
|
37
|
+
/* Points to sick2018_light.css in version 2.x */
|
|
38
|
+
@import "@synergy-design-system/tokens/dist/themes/light.css";
|
|
39
|
+
|
|
40
|
+
/* Points to sick2018_dark.css in version 2.x */
|
|
41
|
+
@import "@synergy-design-system/tokens/dist/themes/dark.css";
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
```html
|
|
45
|
+
<!-- Points to syn-sick2018-light in version 2.x -->
|
|
46
|
+
<div class="syn-theme-light">...</div>
|
|
47
|
+
|
|
48
|
+
<!-- Points to syn-sick2018-dark in version 2.x -->
|
|
49
|
+
<div class="syn-theme-dark">...</div>
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
**Example (after)**:
|
|
53
|
+
|
|
54
|
+
```css
|
|
55
|
+
/* Adjust to this path to still load the SICK 2018 theme in version 3.x */
|
|
56
|
+
@import "@synergy-design-system/tokens/dist/themes/sick2018_light.css";
|
|
57
|
+
|
|
58
|
+
/* Adjust to this path to still load the SICK 2018 theme in version 3.x */
|
|
59
|
+
@import "@synergy-design-system/tokens/dist/themes/sick2018_dark.css";
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
```html
|
|
63
|
+
<!-- Points to syn-sick2025-light in version 3.x -->
|
|
64
|
+
<div class="syn-theme-light">...</div>
|
|
65
|
+
|
|
66
|
+
<!-- Points to syn-sick2025-dark in version 3.x -->
|
|
67
|
+
<div class="syn-theme-dark">...</div>
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
<h3 id="theme-sick2018-v3">Theme: SICK2018</h3>
|
|
73
|
+
|
|
74
|
+
#### ⚠️ Future deprecation of the SICK 2018 theme
|
|
75
|
+
|
|
76
|
+
**Associated Ticket(s)**:
|
|
77
|
+
|
|
78
|
+
- [#1149](https://github.com/synergy-design-system/synergy-design-system/issues/1149)
|
|
79
|
+
|
|
80
|
+
**Reason**:
|
|
81
|
+
|
|
82
|
+
The SICK 2018 themes were the primary themes for Synergy version 2.x.
|
|
83
|
+
With the release of Synergy version 3, new applications should use the SICK 2025 theme to be brand-compliant.
|
|
84
|
+
|
|
85
|
+
> We plan to keep the SICK 2018 theme available until at least the beginning of 2027.
|
|
86
|
+
> It will likely be removed in the first major release after 2027.
|
|
87
|
+
|
|
88
|
+
**Migration Steps**:
|
|
89
|
+
|
|
90
|
+
- Upgrade your application to use the new SICK 2025 theme.
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
<h3 id="token-studio-v3">Token Studio</h3>
|
|
95
|
+
|
|
96
|
+
#### ⚠️ Future deprecation of outdated token studio code
|
|
97
|
+
|
|
98
|
+
**Associated Ticket(s)**:
|
|
99
|
+
|
|
100
|
+
- [#1149](https://github.com/synergy-design-system/synergy-design-system/issues/1149)
|
|
101
|
+
|
|
102
|
+
**Reason**:
|
|
103
|
+
|
|
104
|
+
TokenStudio is a Figma solution that was used initially for syncing design tokens from Figma to Code.
|
|
105
|
+
With Synergy version 3, we are using Figma Variables for this task.
|
|
106
|
+
The original metadata housed in `src/figma-tokens` is no longer used for Synergy and will therefore be removed.
|
|
107
|
+
|
|
108
|
+
**Migration Steps**:
|
|
109
|
+
|
|
110
|
+
- If you still need them, copy the assets located in `src/figma-tokens` to a local destination
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
<h3 id="token-syn-page-background-v3">`--syn-page-background`</h3>
|
|
115
|
+
|
|
116
|
+
#### ⚠️ Future deprecation
|
|
117
|
+
|
|
118
|
+
**Associated Ticket(s)**:
|
|
119
|
+
|
|
120
|
+
- [#1149](https://github.com/synergy-design-system/synergy-design-system/issues/1149)
|
|
121
|
+
|
|
122
|
+
**Reason**:
|
|
123
|
+
|
|
124
|
+
The token `--syn-page-background` does not match the semantics of our other tokens. Therefore, we renamed it to `--syn-page-background-color`. The token still works, but will be removed in a future major release.
|
|
125
|
+
|
|
126
|
+
**Migration Steps**:
|
|
127
|
+
|
|
128
|
+
Just exchange all occurrences of `--syn-page-background` with `--syn-page-background-color`.
|
|
129
|
+
|
|
130
|
+
**Example (before)**:
|
|
131
|
+
|
|
132
|
+
```css
|
|
133
|
+
body {
|
|
134
|
+
background-color: var(--syn-page-background);
|
|
135
|
+
}
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
**Example (after)**:
|
|
139
|
+
|
|
140
|
+
```css
|
|
141
|
+
body {
|
|
142
|
+
background-color: var(--syn-page-background-color);
|
|
143
|
+
}
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
---
|
|
147
|
+
|
|
148
|
+
<!-- USE THIS AS A TEMPLATE FOR ADDITIONAL MIGRATION STEPS
|
|
149
|
+
|
|
150
|
+
<h3 id="change-VERSION">`Change`</h3>
|
|
151
|
+
|
|
152
|
+
#### ⚠️ DESCRIBE THE CHANGE HERE
|
|
153
|
+
|
|
154
|
+
**Associated Ticket(s)**:
|
|
155
|
+
|
|
156
|
+
- [#1](https://github.com/synergy-design-system/synergy-design-system/issues/1)
|
|
157
|
+
|
|
158
|
+
**Reason**:
|
|
159
|
+
|
|
160
|
+
DESCRIBE THE REASON FOR THIS CHANGE
|
|
161
|
+
|
|
162
|
+
**Migration Steps**:
|
|
163
|
+
|
|
164
|
+
MIGRATION IN TEXT FORM
|
|
165
|
+
|
|
166
|
+
**Example (before)**:
|
|
167
|
+
|
|
168
|
+
```css
|
|
169
|
+
EXAMPLE BEFORE THE CHANGE
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
**Example (after)**:
|
|
173
|
+
|
|
174
|
+
```css
|
|
175
|
+
EXAMPLE AFTER THE CHANGE
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
---
|
|
179
|
+
|
|
180
|
+
-->
|
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#1160](https://github.com/synergy-design-system/synergy-design-system/pull/1160) [`669cbcb`](https://github.com/synergy-design-system/synergy-design-system/commit/669cbcb9cccce72134beac99ac12a2591f3e3c74) Thanks [@schilchSICKAG](https://github.com/schilchSICKAG)! - Released on: 2026-02-02
|
|
8
|
+
|
|
9
|
+
feat: 💥 New default theme SICK 2025
|
|
10
|
+
|
|
11
|
+
This release introduces SICK 2025 as the new default theme. The `light.css` and `dark.css` imports now point to SICK 2025 instead of SICK 2018.
|
|
12
|
+
|
|
13
|
+
**Key Changes:**
|
|
14
|
+
- **Breaking:** Default theme changed to SICK 2025 - if you want to continue using SICK 2018, import `sick2018_light.css` or `sick2018_dark.css` instead
|
|
15
|
+
- **Deprecation Notice:** SICK 2018 theme will be removed in a future major release (expected 2027+)
|
|
16
|
+
- **Deprecation Notice:** `--syn-page-background` token renamed to `--syn-page-background-color`
|
|
17
|
+
- **Deprecation Notice:** Token Studio code in `src/figma-tokens` will be removed in a future release
|
|
18
|
+
|
|
19
|
+
For detailed migration instructions, please refer to the [breaking changes documentation](https://synergy-design-system.github.io/?path=/docs/packages-tokens-breaking-changes--docs).
|
|
20
|
+
|
|
3
21
|
## 2.48.2
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -15,6 +15,8 @@ Please make sure to install the tokens package as a dependency:
|
|
|
15
15
|
npm install --save @synergy-design-system/tokens
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
+
> For best compliance, please make sure to install the same version that is also used in your `@synergy-design-system/components` package!
|
|
19
|
+
|
|
18
20
|
---
|
|
19
21
|
|
|
20
22
|
## Provided tokens
|