@synergy-design-system/mcp 1.24.0 → 1.25.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 CHANGED
@@ -1,5 +1,42 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.25.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1079](https://github.com/synergy-design-system/synergy-design-system/pull/1079) [`3f893f9`](https://github.com/synergy-design-system/synergy-design-system/commit/3f893f9d9d04cbfa3ae530bf8e3ecbcfe7be022f) Thanks [@schilchSICKAG](https://github.com/schilchSICKAG)! - Released on: 2025-11-25
8
+
9
+ feat: ✨ create migration iconset (#1078)
10
+
11
+ Added new utilities that help with migrating from 2018 to the new 2025 theme:
12
+
13
+ `migrationLibrary`:
14
+
15
+ A small migration library, aimed to be a drop in replacement for the default system icon library.
16
+ Please have a look at [Synergies 2025 migration guide](https://synergy-design-system.github.io/?path=/docs/migration-to-synergy-3-0--docs) about how to use this.
17
+
18
+ `migrateIconName` and `migrateIconNameFilled`:
19
+
20
+ New low level utilities that helps mapping 2018 icons to the new 2025 icon library.
21
+ This may be used if a custom icon library is in place.
22
+ You should use `migrateIconName` in most cases as the default for Synergy are outlined icons.
23
+ In cases where needed, you may also use `migrateIconNameFilled`, which will use the filled variant of Material Icons.
24
+
25
+ `setupIcons`:
26
+
27
+ High level feature that allows to toggle the default icon library, as well as the system icons via one command. You may use `setupIcons('sick2025');` to switch to the new icon set.
28
+
29
+ > Note this only works if you have your icons setup according to the Synergy defaults.
30
+
31
+ docs: 📚 Make sure to use correct icons on both 2018 and 2025 stories (#1024)
32
+
33
+ Documentation now correctly toggles the icon sets, using the new `migrateIconName` underneath.
34
+
35
+ ### Patch Changes
36
+
37
+ - Updated dependencies [[`3f893f9`](https://github.com/synergy-design-system/synergy-design-system/commit/3f893f9d9d04cbfa3ae530bf8e3ecbcfe7be022f)]:
38
+ - @synergy-design-system/assets@1.23.0
39
+
3
40
  ## 1.24.0
4
41
 
5
42
  ### Minor Changes
@@ -1 +1 @@
1
- e4580d57e51553f431865895f2834f20
1
+ 98332254633fa4f98c9248b9d66f35b1
@@ -1,5 +1,37 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.23.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1079](https://github.com/synergy-design-system/synergy-design-system/pull/1079) [`3f893f9`](https://github.com/synergy-design-system/synergy-design-system/commit/3f893f9d9d04cbfa3ae530bf8e3ecbcfe7be022f) Thanks [@schilchSICKAG](https://github.com/schilchSICKAG)! - Released on: 2025-11-25
8
+
9
+ feat: ✨ create migration iconset (#1078)
10
+
11
+ Added new utilities that help with migrating from 2018 to the new 2025 theme:
12
+
13
+ `migrationLibrary`:
14
+
15
+ A small migration library, aimed to be a drop in replacement for the default system icon library.
16
+ Please have a look at [Synergies 2025 migration guide](https://synergy-design-system.github.io/?path=/docs/migration-to-synergy-3-0--docs) about how to use this.
17
+
18
+ `migrateIconName` and `migrateIconNameFilled`:
19
+
20
+ New low level utilities that helps mapping 2018 icons to the new 2025 icon library.
21
+ This may be used if a custom icon library is in place.
22
+ You should use `migrateIconName` in most cases as the default for Synergy are outlined icons.
23
+ In cases where needed, you may also use `migrateIconNameFilled`, which will use the filled variant of Material Icons.
24
+
25
+ `setupIcons`:
26
+
27
+ High level feature that allows to toggle the default icon library, as well as the system icons via one command. You may use `setupIcons('sick2025');` to switch to the new icon set.
28
+
29
+ > Note this only works if you have your icons setup according to the Synergy defaults.
30
+
31
+ docs: 📚 Make sure to use correct icons on both 2018 and 2025 stories (#1024)
32
+
33
+ Documentation now correctly toggles the icon sets, using the new `migrateIconName` underneath.
34
+
3
35
  ## 1.22.0
4
36
 
5
37
  ### Minor Changes
@@ -75,5 +75,6 @@ This will:
75
75
  - download all icons from figma
76
76
  - download all thumbnails for docs
77
77
  - Recreate all default icons
78
+ - Create the migration iconsets for Synergy 2018 to 2025 via `pnpm create-migration-iconset`
78
79
  - Recreate the license files in the different folders
79
80
  - Create [code connect files](https://www.figma.com/code-connect-docs/html) for all icons. Please be aware you have to call `pnpm figma-export:icons` in the components package to publish the icons!
@@ -85,6 +85,68 @@ export default defineConfig({
85
85
  });
86
86
  ```
87
87
 
88
+ #### Migrating to the new icon set without changing the icon names
89
+
90
+ Applications that are migrating from Synergy 2 may have used icons that have been renamed in the migration process.
91
+ Those icons will **not** show up after the switch to the new icon library.
92
+ For this reason, Synergy provides some new utilities that help migrating your applications:
93
+
94
+ ##### Example 1: Easy migration via `setupIcons`
95
+
96
+ The easiest type of migration. If you have an icon setup as recommended in this documentation (e.g. copying the assets to a default location), you may just use the new `setupIcons` function and call it:
97
+
98
+ ```javascript
99
+ import { setupIcons } from "@synergy-design-system/components";
100
+ setupIcons("sick2025");
101
+ ```
102
+
103
+ This will make sure to set the system icons to the new `sick2025` theme and also sets up a new `default` icon library that includes a static map from old icon names to the new ones.
104
+
105
+ > Note you will **not** have to call `setSystemIconLibrary` as Synergy will do this internally!
106
+
107
+ ##### Custom setup: Using `migrateIconName` directly
108
+
109
+ Synergy now ships with a new basic utility function `migrateIconName`.
110
+ This function is able to map an icons name from the `sick2018` to the new `sick2025` icon set. It does so via a static map, returning the new names for icons.
111
+
112
+ You may use this directly, if you have overwritten the default icon library via the `registerIconLibrary` method:
113
+
114
+ ```javascript
115
+ import {
116
+ registerIconLibrary,
117
+ setSystemIconLibrary,
118
+ // Default icon set (outline)
119
+ migrateIconName,
120
+ // Alternative icon set (filled)
121
+ migrateIconNameFilled,
122
+ } from "@synergy-design-system/components";
123
+
124
+ // Manually override the default icon library to use migrateIconName
125
+ // This is the default for the outline icon set.
126
+ const customIconLibrary = {
127
+ name: "default",
128
+ resolver: name => {
129
+ const mappedName = migrateIconName(name);
130
+ return getBasePath(`assets/icons/${mappedName}.svg`);
131
+ },
132
+ };
133
+
134
+ // If you want to use filled icons instead, you may also append
135
+ // "_fill" to the svg name to use those icons instead.
136
+ const customIconLibraryFilled = {
137
+ name: "default",
138
+ resolver: name => {
139
+ const mappedName = migrateIconNameFilled(name);
140
+ return getBasePath(`assets/icons/${mappedName}.svg`);
141
+ },
142
+ };
143
+
144
+ // Enable your new library.
145
+ // Do not forget to set the system icon library!
146
+ registerIconLibrary("default", customIconLibrary);
147
+ setSystemIconLibrary("sick2025");
148
+ ```
149
+
88
150
  ### Tokens
89
151
 
90
152
  Synergy 3.0 introduces new CSS theme files that implement the updated SICK brand appearance:
@@ -1,5 +1,37 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.63.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1079](https://github.com/synergy-design-system/synergy-design-system/pull/1079) [`3f893f9`](https://github.com/synergy-design-system/synergy-design-system/commit/3f893f9d9d04cbfa3ae530bf8e3ecbcfe7be022f) Thanks [@schilchSICKAG](https://github.com/schilchSICKAG)! - Released on: 2025-11-25
8
+
9
+ feat: ✨ create migration iconset (#1078)
10
+
11
+ Added new utilities that help with migrating from 2018 to the new 2025 theme:
12
+
13
+ `migrationLibrary`:
14
+
15
+ A small migration library, aimed to be a drop in replacement for the default system icon library.
16
+ Please have a look at [Synergies 2025 migration guide](https://synergy-design-system.github.io/?path=/docs/migration-to-synergy-3-0--docs) about how to use this.
17
+
18
+ `migrateIconName` and `migrateIconNameFilled`:
19
+
20
+ New low level utilities that helps mapping 2018 icons to the new 2025 icon library.
21
+ This may be used if a custom icon library is in place.
22
+ You should use `migrateIconName` in most cases as the default for Synergy are outlined icons.
23
+ In cases where needed, you may also use `migrateIconNameFilled`, which will use the filled variant of Material Icons.
24
+
25
+ `setupIcons`:
26
+
27
+ High level feature that allows to toggle the default icon library, as well as the system icons via one command. You may use `setupIcons('sick2025');` to switch to the new icon set.
28
+
29
+ > Note this only works if you have your icons setup according to the Synergy defaults.
30
+
31
+ docs: 📚 Make sure to use correct icons on both 2018 and 2025 stories (#1024)
32
+
33
+ Documentation now correctly toggles the icon sets, using the new `migrateIconName` underneath.
34
+
3
35
  ## 2.62.0
4
36
 
5
37
  ### Minor Changes
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 2.42.0
2
+ * @synergy-design-system/tokens version 2.43.0
3
3
  * SICK Global UX Foundation
4
4
  * Do not edit directly, this file was auto-generated.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 2.42.0
2
+ * @synergy-design-system/tokens version 2.43.0
3
3
  * SICK Global UX Foundation
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 2.42.0
2
+ * @synergy-design-system/tokens version 2.43.0
3
3
  * SICK Global UX Foundation
4
4
  * Do not edit directly, this file was auto-generated.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 2.42.0
2
+ * @synergy-design-system/tokens version 2.43.0
3
3
  * SICK Global UX Foundation
4
4
  * Do not edit directly, this file was auto-generated.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 2.42.0
2
+ * @synergy-design-system/tokens version 2.43.0
3
3
  * SICK Global UX Foundation
4
4
  * Do not edit directly, this file was auto-generated.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 2.42.0
2
+ * @synergy-design-system/tokens version 2.43.0
3
3
  * SICK Global UX Foundation
4
4
  * Do not edit directly, this file was auto-generated.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 2.42.0
2
+ * @synergy-design-system/tokens version 2.43.0
3
3
  * SICK Global UX Foundation
4
4
  * Do not edit directly, this file was auto-generated.
5
5
  */
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "@modelcontextprotocol/sdk": "^1.19.1",
11
11
  "globby": "^15.0.0",
12
12
  "zod": "^3.25.76",
13
- "@synergy-design-system/assets": "1.22.0"
13
+ "@synergy-design-system/assets": "1.23.0"
14
14
  },
15
15
  "description": "MCP Server for the Synergy Design System",
16
16
  "devDependencies": {
@@ -28,11 +28,11 @@
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.62.0",
32
- "@synergy-design-system/eslint-config-syn": "^0.1.0",
33
31
  "@synergy-design-system/docs": "0.1.0",
34
- "@synergy-design-system/tokens": "^2.43.0",
35
- "@synergy-design-system/styles": "1.9.0"
32
+ "@synergy-design-system/eslint-config-syn": "^0.1.0",
33
+ "@synergy-design-system/styles": "1.9.0",
34
+ "@synergy-design-system/components": "2.63.0",
35
+ "@synergy-design-system/tokens": "^2.43.0"
36
36
  },
37
37
  "exports": {
38
38
  ".": {
@@ -66,7 +66,7 @@
66
66
  "directory": "packages/mcp"
67
67
  },
68
68
  "type": "module",
69
- "version": "1.24.0",
69
+ "version": "1.25.0",
70
70
  "scripts": {
71
71
  "build": "pnpm run build:ts && pnpm run build:metadata && pnpm build:hash",
72
72
  "build:all": "pnpm run build && pnpm run build:storybook",