@swisspost/design-system-icons 7.4.1 → 8.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/package.json +3 -3
- package/public/index.html +11 -3
- package/public/main.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swisspost/design-system-icons",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"description": "A collection of Swiss Post icons intended for use with the Design System.",
|
|
5
5
|
"author": "Swiss Post <design-system@post.ch>",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@tsconfig/node18": "18.2.4",
|
|
25
25
|
"@types/jest": "29.5.12",
|
|
26
26
|
"@types/mock-fs": "4.13.4",
|
|
27
|
-
"@types/node": "20.14.
|
|
27
|
+
"@types/node": "20.14.11",
|
|
28
28
|
"@types/node-fetch": "2.6.11",
|
|
29
29
|
"@typescript-eslint/eslint-plugin": "5.62.0",
|
|
30
30
|
"@typescript-eslint/parser": "5.62.0",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"mock-fs": "5.2.0",
|
|
37
37
|
"node-fetch": "2.7.0",
|
|
38
38
|
"svgo": "3.3.2",
|
|
39
|
-
"ts-jest": "29.
|
|
39
|
+
"ts-jest": "29.2.3",
|
|
40
40
|
"ts-node": "10.9.2",
|
|
41
41
|
"typescript": "5.2.2"
|
|
42
42
|
},
|
package/public/index.html
CHANGED
|
@@ -5,11 +5,15 @@
|
|
|
5
5
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<title>Swiss Post Icons</title>
|
|
8
|
+
<!--
|
|
9
|
+
call the url below to get the latest integrity:
|
|
10
|
+
https://unpkg.com/@swisspost/design-system-styles@latest/basics.css?meta
|
|
11
|
+
-->
|
|
8
12
|
<link
|
|
9
13
|
rel="stylesheet"
|
|
10
14
|
href="https://unpkg.com/@swisspost/design-system-styles/basics.css"
|
|
11
|
-
integrity="sha384-EyL4eIC/kQ/za1rCC43o/z+2Flb/wou2q5pYH7DAg9UURlI7E5zt4vy4I2RJmZJI"
|
|
12
15
|
crossorigin="anonymous"
|
|
16
|
+
integrity="sha384-kvb3BxerBSpr0TkWi9v3KYp6BebE7tfx09HM6Uiz2gob4OdnOY7pcHsn/AwsC4EK"
|
|
13
17
|
/>
|
|
14
18
|
<link rel="stylesheet" href="styles.css" />
|
|
15
19
|
</head>
|
|
@@ -94,7 +98,7 @@
|
|
|
94
98
|
</ul>
|
|
95
99
|
</section>
|
|
96
100
|
|
|
97
|
-
<section x-show="icons.notFound.length > 0">
|
|
101
|
+
<section x-show="icons.notFound && icons.notFound.length > 0">
|
|
98
102
|
<h1 class="mt-huge mb-big">SVG file not found</h1>
|
|
99
103
|
<ul>
|
|
100
104
|
<template x-for="icon in icons.noSVG">
|
|
@@ -105,7 +109,11 @@
|
|
|
105
109
|
</div>
|
|
106
110
|
|
|
107
111
|
<script type="module" src="main.js"></script>
|
|
108
|
-
<!--
|
|
112
|
+
<!--
|
|
113
|
+
generated with https://www.srihash.org/
|
|
114
|
+
call the url below to get the latest integrity:
|
|
115
|
+
https://unpkg.com/alpinejs@latest/dist/cdn.min.js?meta
|
|
116
|
+
-->
|
|
109
117
|
<script
|
|
110
118
|
defer
|
|
111
119
|
src="https://unpkg.com/alpinejs@3.11.1/dist/cdn.min.js"
|
package/public/main.js
CHANGED