@synergy-design-system/assets 1.22.0 → 1.23.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 +32 -0
- package/README.md +1 -0
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -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
|
package/README.md
CHANGED
|
@@ -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!
|
package/package.json
CHANGED
|
@@ -72,10 +72,11 @@
|
|
|
72
72
|
},
|
|
73
73
|
"type": "module",
|
|
74
74
|
"types": "./dist/index.d.ts",
|
|
75
|
-
"version": "1.
|
|
75
|
+
"version": "1.23.0",
|
|
76
76
|
"scripts": {
|
|
77
77
|
"build": "rimraf dist && tsc -b",
|
|
78
|
-
"build:all": "pnpm clean && pnpm fetch-assets && pnpm fetch-components-thumbnails && pnpm build && pnpm create-licenses",
|
|
78
|
+
"build:all": "pnpm clean && pnpm fetch-assets && pnpm fetch-components-thumbnails && pnpm build && pnpm create-licenses && pnpm create-migration-iconset",
|
|
79
|
+
"create-migration-iconset": "node ./scripts/createSynMigrationIconLibrary.js",
|
|
79
80
|
"create-licenses": "node ./scripts/createLicenses.js",
|
|
80
81
|
"clean": "node ./scripts/clean.js",
|
|
81
82
|
"fetch-assets": "dotenvx -q run -- pnpm exec figma-export use-config",
|