@swisspost/design-system-styles 8.1.0 → 8.2.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/_svg-icon-map.scss +2 -0
- package/components/form-check.css +1 -1
- package/components/form-check.scss +1 -0
- package/components/tag.css +1 -1
- package/index.css +2 -2
- package/intranet.css +2 -2
- package/mixins/_media.scss +17 -0
- package/mixins/_tokens.scss +5 -0
- package/package.json +6 -5
- package/placeholders/_modes.scss +10 -0
- package/post-external.css +35 -0
- package/post-external.scss +2 -0
- package/post-internal.css +35 -0
- package/post-internal.scss +2 -0
- package/post-tokens-external.css +1 -0
- package/post-tokens-external.scss +4 -0
- package/post-tokens-internal.css +1 -0
- package/post-tokens-internal.scss +4 -0
- package/tokens/_core.scss +1 -0
- package/tokens/_device.scss +19 -0
- package/tokens/_external.scss +8 -0
- package/tokens/_internal.scss +8 -0
- package/tokens/_modes.scss +11 -0
- package/tokens/_post-theme.scss +8 -0
- package/tokens/temp/channel.scss +11 -0
- package/tokens/temp/components.scss +88 -0
- package/tokens/temp/core.scss +112 -0
- package/tokens/temp/device.scss +204 -0
- package/tokens/temp/index.scss +10 -0
- package/tokens/temp/mode.scss +177 -0
- package/tokens/temp/theme.scss +7 -0
- package/variables/_color.scss +25 -13
- package/variables/components/_tag.scss +1 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
@mixin min($device-size) {
|
|
2
|
+
@media screen and (min-width: $device-size) {
|
|
3
|
+
@content;
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
@mixin max($device-size) {
|
|
8
|
+
@media screen and (max-width: ($device-size - 0.01)) {
|
|
9
|
+
@content;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@mixin between($min-size, $max-size) {
|
|
14
|
+
@media screen and (min-width: $min-size) and (max-width: ($max-size - 0.01)) {
|
|
15
|
+
@content;
|
|
16
|
+
}
|
|
17
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swisspost/design-system-styles",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.2.0",
|
|
4
4
|
"description": "Design System Styles for the Swiss Post web platform.",
|
|
5
5
|
"author": "Swiss Post <design-system@post.ch>",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -37,8 +37,9 @@
|
|
|
37
37
|
"bootstrap": "5.3.3"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@swisspost/design-system-
|
|
41
|
-
"@
|
|
40
|
+
"@swisspost/design-system-tokens": "8.2.0",
|
|
41
|
+
"@swisspost/design-system-icons": "8.2.0",
|
|
42
|
+
"@types/node": "20.14.14",
|
|
42
43
|
"autoprefixer": "10.4.19",
|
|
43
44
|
"copyfiles": "2.4.1",
|
|
44
45
|
"glob": "11.0.0",
|
|
@@ -47,12 +48,12 @@
|
|
|
47
48
|
"gulp-postcss": "10.0.0",
|
|
48
49
|
"gulp-sass": "5.1.0",
|
|
49
50
|
"jest": "29.7.0",
|
|
50
|
-
"postcss": "8.4.
|
|
51
|
+
"postcss": "8.4.40",
|
|
51
52
|
"postcss-scss": "4.0.9",
|
|
52
53
|
"prettier": "3.3.3",
|
|
53
54
|
"rimraf": "6.0.1",
|
|
54
55
|
"sass": "1.77.8",
|
|
55
|
-
"stylelint": "16.
|
|
56
|
+
"stylelint": "16.8.1",
|
|
56
57
|
"stylelint-config-sass-guidelines": "11.1.0",
|
|
57
58
|
"stylelint-prettier": "5.0.2",
|
|
58
59
|
"stylelint-scss": "6.4.1",
|