@swisspost/design-system-styles 5.1.1 → 5.1.3

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swisspost/design-system-styles",
3
- "version": "5.1.1",
3
+ "version": "5.1.3",
4
4
  "description": "Design System Styles for the Swiss Post web platform.",
5
5
  "author": "Swiss Post <oss@post.ch>",
6
6
  "license": "Apache-2.0",
@@ -17,33 +17,21 @@
17
17
  "linkDirectory": true
18
18
  },
19
19
  "dependencies": {
20
+ "@angular-devkit/core": "14.2.10",
21
+ "@angular-devkit/schematics": "14.2.10",
22
+ "@angular/core": "14.2.12",
20
23
  "@popperjs/core": "2.11.6",
21
- "bootstrap": "5.1.3"
24
+ "bootstrap": "5.1.3",
25
+ "cheerio": "1.0.0-rc.12",
26
+ "prettier": "2.8.0",
27
+ "typescript": "4.8.4"
22
28
  },
23
29
  "devDependencies": {
24
- "@angular-devkit/core": "14.2.10",
25
- "@angular-devkit/schematics": "14.2.10",
26
- "@angular/compiler": "14.2.11",
27
- "@angular/core": "14.2.11",
28
- "@babel/core": "7.20.2",
29
- "@percy/cli": "1.14.0",
30
- "@percy/cypress": "3.1.2",
31
- "@storybook/addon-actions": "6.5.13",
32
- "@storybook/addon-essentials": "6.5.13",
33
- "@storybook/addon-interactions": "6.5.13",
34
- "@storybook/addon-links": "6.5.13",
35
- "@storybook/builder-webpack4": "6.5.13",
36
- "@storybook/html": "6.5.13",
37
- "@storybook/manager-webpack4": "6.5.13",
38
- "@storybook/preset-scss": "1.0.3",
39
- "@storybook/testing-library": "0.0.13",
40
- "@types/node": "18.11.9",
30
+ "@angular/compiler": "14.2.12",
31
+ "@types/node": "18.11.10",
41
32
  "autoprefixer": "10.4.13",
42
- "babel-loader": "8.3.0",
43
- "cheerio": "1.0.0-rc.12",
44
33
  "copyfiles": "2.4.1",
45
34
  "css-loader": "5.2.7",
46
- "cypress": "11.1.0",
47
35
  "glob": "8.0.3",
48
36
  "gulp": "4.0.2",
49
37
  "gulp-postcss": "9.0.1",
@@ -51,21 +39,17 @@
51
39
  "jest": "29.3.1",
52
40
  "npm-run-all": "4.1.5",
53
41
  "postcss": "8.4.19",
54
- "postcss-scss": "4.0.5",
55
- "prettier": "2.7.1",
42
+ "postcss-scss": "4.0.6",
56
43
  "rimraf": "3.0.2",
57
44
  "rxjs": "7.5.7",
58
45
  "sass": "1.56.1",
59
46
  "sass-loader": "10.4.1",
60
- "start-server-and-test": "1.14.0",
61
- "storybook-dark-mode": "1.1.2",
62
47
  "style-loader": "2.0.0",
63
- "stylelint": "14.15.0",
48
+ "stylelint": "14.16.0",
64
49
  "stylelint-config-prettier": "9.0.4",
65
50
  "stylelint-config-sass-guidelines": "9.0.1",
66
51
  "stylelint-prettier": "2.0.0",
67
52
  "stylelint-scss": "4.3.0",
68
- "typescript": "4.8.4",
69
53
  "zone.js": "0.12.0"
70
54
  },
71
55
  "sass": {
@@ -81,19 +65,15 @@
81
65
  },
82
66
  "scripts": {
83
67
  "clean": "rimraf out-tsc dist/*",
84
- "start": "npm-run-all --parallel styles:start storybook:start schematics:start",
68
+ "start": "npm-run-all --parallel styles:start schematics:start",
85
69
  "prebuild": "pnpm clean",
86
- "build": "npm-run-all --parallel styles:build schematics:build storybook:build",
70
+ "build": "npm-run-all --parallel styles:build schematics:build",
87
71
  "format": "prettier src/**/*.scss --write",
88
72
  "lint": "stylelint src/**/*.scss",
89
73
  "lint:fix": "stylelint src/**/*.scss --fix",
90
74
  "test": "jest --onlyChanged",
91
75
  "styles:start": "gulp watch",
92
76
  "styles:build": "gulp build",
93
- "storybook:start": "start-storybook -p 9201",
94
- "storybook:start:headless": "start-storybook -p 9301 -s www --no-open",
95
- "storybook:build": "build-storybook",
96
- "storybook:test": "start-server-and-test storybook:start:headless 9301 'percy exec -- cypress run --record false'",
97
77
  "schematics:start": "copyfiles schematics/migrations.json dist && tsc -p tsconfig.schematics.json --watch",
98
78
  "schematics:build": "copyfiles schematics/migrations.json dist && tsc -p tsconfig.schematics.json"
99
79
  }
@@ -28,25 +28,16 @@ $form-check-input-checked-color: forms.$input-focus-border-color !default;
28
28
  $form-check-input-checked-bg-color: transparent !default;
29
29
  $form-check-input-checked-border-color: $form-check-input-checked-color !default;
30
30
  $form-check-input-checked-bg-icon: 3035 !default;
31
- $form-check-input-checked-bg-image: url('#{icons.get-colored-svg-url(
32
- $form-check-input-checked-bg-icon,
33
- $form-check-input-checked-color
34
- )}') !default;
31
+ $form-check-input-checked-bg-image: url('#{icons.get-colored-svg-url($form-check-input-checked-bg-icon, $form-check-input-checked-color)}') !default;
35
32
  $form-check-radio-checked-bg-icon: "data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' viewBox='-3 -3 6 6'%3E%3Ccircle r='2'%3E%3C/circle%3E%3C/svg%3E" !default;
36
33
 
37
- $form-check-radio-checked-bg-image: url('#{icons.add-fill-color(
38
- $form-check-radio-checked-bg-icon,
39
- $form-check-input-checked-color
40
- )}') !default;
34
+ $form-check-radio-checked-bg-image: url('#{icons.add-fill-color($form-check-radio-checked-bg-icon, $form-check-input-checked-color)}') !default;
41
35
 
42
36
  $form-check-input-indeterminate-color: $form-check-input-checked-color !default;
43
37
  $form-check-input-indeterminate-bg-color: transparent !default;
44
38
  $form-check-input-indeterminate-border-color: $form-check-input-indeterminate-color !default;
45
39
  $form-check-input-indeterminate-bg-icon: 2039 !default;
46
- $form-check-input-indeterminate-bg-image: url('#{icons.get-colored-svg-url(
47
- $form-check-input-indeterminate-bg-icon,
48
- $form-check-input-indeterminate-color
49
- )}') !default;
40
+ $form-check-input-indeterminate-bg-image: url('#{icons.get-colored-svg-url($form-check-input-indeterminate-bg-icon, $form-check-input-indeterminate-color)}') !default;
50
41
 
51
42
  $form-check-inline-margin-end: spacing.$size-large !default;
52
43