@swisspost/design-system-styles 6.4.3 → 6.5.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.
Files changed (107) hide show
  1. package/_svg-icon-map.scss +832 -812
  2. package/basics.css +1 -1
  3. package/components/accordion.scss +51 -41
  4. package/components/button-group.scss +11 -0
  5. package/components/datepicker.scss +3 -1
  6. package/components/dropdown.scss +0 -1
  7. package/components/floating-label.scss +35 -7
  8. package/components/form-check.scss +11 -4
  9. package/components/form-select.scss +46 -2
  10. package/components/intranet-header/_sidebar.scss +1 -1
  11. package/components/intranet-header/_top-navigation.scss +0 -1
  12. package/components/pagination.scss +15 -0
  13. package/index.css +3 -3
  14. package/intranet.css +3 -3
  15. package/mixins/_button.scss +0 -1
  16. package/mixins/_focus.scss +9 -0
  17. package/mixins/_index.scss +1 -0
  18. package/mixins/_notification.scss +6 -1
  19. package/package.json +24 -31
  20. package/placeholders/_index.scss +4 -0
  21. package/variables/_color.scss +24 -2
  22. package/variables/_commons.scss +3 -0
  23. package/variables/_grid.scss +17 -22
  24. package/variables/components/_accordion.scss +15 -8
  25. package/variables/components/_form-select.scss +11 -1
  26. package/variables/components/_forms.scss +34 -7
  27. package/variables/components/_stepper.scss +1 -4
  28. package/schematics/migrations/_example-dom-migration/index.d.ts +0 -2
  29. package/schematics/migrations/_example-dom-migration/index.js +0 -131
  30. package/schematics/migrations/_example-dom-migration/index.js.map +0 -1
  31. package/schematics/migrations/bootstrap/badge/index.d.ts +0 -2
  32. package/schematics/migrations/bootstrap/badge/index.js +0 -85
  33. package/schematics/migrations/bootstrap/badge/index.js.map +0 -1
  34. package/schematics/migrations/bootstrap/blockquote/index.d.ts +0 -2
  35. package/schematics/migrations/bootstrap/blockquote/index.js +0 -40
  36. package/schematics/migrations/bootstrap/blockquote/index.js.map +0 -1
  37. package/schematics/migrations/bootstrap/button/index.d.ts +0 -2
  38. package/schematics/migrations/bootstrap/button/index.js +0 -56
  39. package/schematics/migrations/bootstrap/button/index.js.map +0 -1
  40. package/schematics/migrations/bootstrap/button-close/index.d.ts +0 -2
  41. package/schematics/migrations/bootstrap/button-close/index.js +0 -35
  42. package/schematics/migrations/bootstrap/button-close/index.js.map +0 -1
  43. package/schematics/migrations/bootstrap/form-checkbox/index.d.ts +0 -2
  44. package/schematics/migrations/bootstrap/form-checkbox/index.js +0 -48
  45. package/schematics/migrations/bootstrap/form-checkbox/index.js.map +0 -1
  46. package/schematics/migrations/bootstrap/form-control/index.d.ts +0 -2
  47. package/schematics/migrations/bootstrap/form-control/index.js +0 -28
  48. package/schematics/migrations/bootstrap/form-control/index.js.map +0 -1
  49. package/schematics/migrations/bootstrap/form-radio/index.d.ts +0 -2
  50. package/schematics/migrations/bootstrap/form-radio/index.js +0 -48
  51. package/schematics/migrations/bootstrap/form-radio/index.js.map +0 -1
  52. package/schematics/migrations/bootstrap/form-select/index.d.ts +0 -2
  53. package/schematics/migrations/bootstrap/form-select/index.js +0 -54
  54. package/schematics/migrations/bootstrap/form-select/index.js.map +0 -1
  55. package/schematics/migrations/bootstrap/form-switch/index.d.ts +0 -2
  56. package/schematics/migrations/bootstrap/form-switch/index.js +0 -45
  57. package/schematics/migrations/bootstrap/form-switch/index.js.map +0 -1
  58. package/schematics/migrations/bootstrap/forms/index.d.ts +0 -2
  59. package/schematics/migrations/bootstrap/forms/index.js +0 -49
  60. package/schematics/migrations/bootstrap/forms/index.js.map +0 -1
  61. package/schematics/migrations/bootstrap/textarea/index.d.ts +0 -2
  62. package/schematics/migrations/bootstrap/textarea/index.js +0 -38
  63. package/schematics/migrations/bootstrap/textarea/index.js.map +0 -1
  64. package/schematics/migrations/general/classes/bg-opacity.d.ts +0 -2
  65. package/schematics/migrations/general/classes/bg-opacity.js +0 -34
  66. package/schematics/migrations/general/classes/bg-opacity.js.map +0 -1
  67. package/schematics/migrations/general/classes/rtl.d.ts +0 -2
  68. package/schematics/migrations/general/classes/rtl.js +0 -88
  69. package/schematics/migrations/general/classes/rtl.js.map +0 -1
  70. package/schematics/migrations/general/classes/secondary.d.ts +0 -2
  71. package/schematics/migrations/general/classes/secondary.js +0 -16
  72. package/schematics/migrations/general/classes/secondary.js.map +0 -1
  73. package/schematics/migrations/general/classes/sr-only.d.ts +0 -2
  74. package/schematics/migrations/general/classes/sr-only.js +0 -28
  75. package/schematics/migrations/general/classes/sr-only.js.map +0 -1
  76. package/schematics/migrations/general/classes/text-auto.d.ts +0 -2
  77. package/schematics/migrations/general/classes/text-auto.js +0 -16
  78. package/schematics/migrations/general/classes/text-auto.js.map +0 -1
  79. package/schematics/migrations/ngbootstrap/buttons/index.d.ts +0 -2
  80. package/schematics/migrations/ngbootstrap/buttons/index.js +0 -79
  81. package/schematics/migrations/ngbootstrap/buttons/index.js.map +0 -1
  82. package/schematics/migrations/post/custom-select/index.d.ts +0 -2
  83. package/schematics/migrations/post/custom-select/index.js +0 -63
  84. package/schematics/migrations/post/custom-select/index.js.map +0 -1
  85. package/schematics/migrations/post/stepper/index.d.ts +0 -2
  86. package/schematics/migrations/post/stepper/index.js +0 -61
  87. package/schematics/migrations/post/stepper/index.js.map +0 -1
  88. package/schematics/migrations/post/subnavigation/index.d.ts +0 -2
  89. package/schematics/migrations/post/subnavigation/index.js +0 -16
  90. package/schematics/migrations/post/subnavigation/index.js.map +0 -1
  91. package/schematics/migrations/post/topic-teaser/index.d.ts +0 -2
  92. package/schematics/migrations/post/topic-teaser/index.js +0 -42
  93. package/schematics/migrations/post/topic-teaser/index.js.map +0 -1
  94. package/schematics/migrations.json +0 -105
  95. package/schematics/utils/constants.d.ts +0 -5
  96. package/schematics/utils/constants.js +0 -73
  97. package/schematics/utils/constants.js.map +0 -1
  98. package/schematics/utils/dom-migration/dom-update.d.ts +0 -5
  99. package/schematics/utils/dom-migration/dom-update.js +0 -3
  100. package/schematics/utils/dom-migration/dom-update.js.map +0 -1
  101. package/schematics/utils/dom-migration/get-dom-migration-rule.d.ts +0 -3
  102. package/schematics/utils/dom-migration/get-dom-migration-rule.js +0 -128
  103. package/schematics/utils/dom-migration/get-dom-migration-rule.js.map +0 -1
  104. package/schematics/utils/dom-migration/index.d.ts +0 -2
  105. package/schematics/utils/dom-migration/index.js +0 -22
  106. package/schematics/utils/dom-migration/index.js.map +0 -1
  107. /package/placeholders/{badge.scss → _badge.scss} +0 -0
@@ -1,73 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.formControlReferences = exports.formControlProperties = exports.themeColors = exports.sizes = exports.breakpoints = void 0;
4
- exports.breakpoints = ['xs', 'sm', 'rg', 'md', 'lg', 'xl', 'xxl'];
5
- const bootstrapSizes = ['0', '1', '2', '3', '4', '5', 'auto'];
6
- const postSizes = [
7
- 'hair',
8
- 'line',
9
- 'micro',
10
- 'mini',
11
- 'small-regular',
12
- 'regular',
13
- 'small-large',
14
- 'large',
15
- 'big',
16
- 'bigger-big',
17
- 'small-huge',
18
- 'huge',
19
- 'small-giant',
20
- 'giant',
21
- 'bigger-giant',
22
- ];
23
- exports.sizes = [...bootstrapSizes, ...postSizes];
24
- exports.themeColors = [
25
- 'primary',
26
- 'secondary',
27
- 'success',
28
- 'info',
29
- 'warning',
30
- 'danger',
31
- 'active',
32
- 'white',
33
- 'light',
34
- 'dark',
35
- 'nightblue',
36
- 'nightblue-bright',
37
- 'petrol',
38
- 'petrol-bright',
39
- 'coral',
40
- 'coral-bright',
41
- 'olive',
42
- 'olive-bright',
43
- 'purple',
44
- 'purple-bright',
45
- 'aubergine',
46
- 'aubergine-bright',
47
- ];
48
- // list of all inputs and outputs of directives that can create an instance of formControl
49
- // - https://angular.io/api/forms/FormControlDirective#properties
50
- // - https://angular.io/api/forms/FormControlName#properties
51
- // - https://angular.io/api/forms/NgModel#properties
52
- exports.formControlProperties = [
53
- '[formControl]',
54
- 'formControlName',
55
- '[formControlName]',
56
- 'ngModel',
57
- '[ngModel]',
58
- '[(ngModel)]',
59
- '(ngModelChange)',
60
- '[ngModelOptions]',
61
- 'name',
62
- '[name]',
63
- 'disabled',
64
- '[disabled]',
65
- ];
66
- // list of all the template variable references of directives that can create an instance of formControl
67
- // - https://angular.io/api/forms/FormControlDirective#template-variable-references
68
- // - https://angular.io/api/forms/NgModel#template-variable-references
69
- exports.formControlReferences = [
70
- 'ngForm',
71
- 'ngModel',
72
- ];
73
- //# sourceMappingURL=constants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../schematics/utils/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAG,CAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,CAAE,CAAC;AAEzE,MAAM,cAAc,GAAG,CAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,CAAE,CAAC;AAChE,MAAM,SAAS,GAAG;IAChB,MAAM;IACN,MAAM;IACN,OAAO;IACP,MAAM;IACN,eAAe;IACf,SAAS;IACT,aAAa;IACb,OAAO;IACP,KAAK;IACL,YAAY;IACZ,YAAY;IACZ,MAAM;IACN,aAAa;IACb,OAAO;IACP,cAAc;CACf,CAAC;AAEW,QAAA,KAAK,GAAG,CAAE,GAAG,cAAc,EAAE,GAAG,SAAS,CAAE,CAAC;AAE5C,QAAA,WAAW,GAAG;IACzB,SAAS;IACT,WAAW;IACX,SAAS;IACT,MAAM;IACN,SAAS;IACT,QAAQ;IACR,QAAQ;IACR,OAAO;IACP,OAAO;IACP,MAAM;IACN,WAAW;IACX,kBAAkB;IAClB,QAAQ;IACR,eAAe;IACf,OAAO;IACP,cAAc;IACd,OAAO;IACP,cAAc;IACd,QAAQ;IACR,eAAe;IACf,WAAW;IACX,kBAAkB;CACnB,CAAC;AAEF,0FAA0F;AAC1F,iEAAiE;AACjE,4DAA4D;AAC5D,oDAAoD;AACvC,QAAA,qBAAqB,GAAG;IACnC,eAAe;IACf,iBAAiB;IACjB,mBAAmB;IACnB,SAAS;IACT,WAAW;IACX,aAAa;IACb,iBAAiB;IACjB,kBAAkB;IAClB,MAAM;IACN,QAAQ;IACR,UAAU;IACV,YAAY;CACb,CAAC;AAEF,wGAAwG;AACxG,mFAAmF;AACnF,sEAAsE;AACzD,QAAA,qBAAqB,GAAG;IACnC,QAAQ;IACR,SAAS;CACV,CAAC"}
@@ -1,5 +0,0 @@
1
- import { Cheerio, CheerioAPI } from 'cheerio';
2
- export interface DomUpdate {
3
- selector: string;
4
- update: ($elements: Cheerio<any>, $: CheerioAPI) => void;
5
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=dom-update.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dom-update.js","sourceRoot":"","sources":["../../../../schematics/utils/dom-migration/dom-update.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- import { Rule } from '@angular-devkit/schematics';
2
- import { DomUpdate } from './dom-update';
3
- export declare function getDomMigrationRule(...updates: DomUpdate[]): Rule;
@@ -1,128 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.getDomMigrationRule = void 0;
13
- const core_1 = require("@angular-devkit/core");
14
- const schematics_1 = require("@angular-devkit/schematics");
15
- const ng_component_template_1 = require("@angular/core/schematics/utils/ng_component_template");
16
- const project_tsconfig_paths_1 = require("@angular/core/schematics/utils/project_tsconfig_paths");
17
- const compiler_host_1 = require("@angular/core/schematics/utils/typescript/compiler_host");
18
- const cheerio = require("cheerio/lib/slim");
19
- const path_1 = require("path");
20
- const prettier = require("prettier");
21
- const htmlParser = require("prettier/plugins/html");
22
- // cheerio/lib/slim export uses htmlparser2 to parse the html
23
- // this is why we can use htmlparser2 options here (instead of parse5 options)
24
- const CHEERIO_OPTIONS = {
25
- decodeEntities: false,
26
- lowerCaseTags: false,
27
- lowerCaseAttributeNames: false,
28
- recognizeSelfClosing: true,
29
- withStartIndices: true,
30
- withEndIndices: true,
31
- };
32
- const PRETTIER_OPTIONS = {
33
- parser: 'html',
34
- plugins: [htmlParser],
35
- printWidth: 10000,
36
- tabWidth: 2,
37
- useTabs: false,
38
- semi: true,
39
- singleQuote: false,
40
- quoteProps: 'consistent',
41
- jsxSingleQuote: false,
42
- trailingComma: 'es5',
43
- bracketSpacing: true,
44
- bracketSameLine: false,
45
- arrowParens: 'always',
46
- htmlWhitespaceSensitivity: 'css',
47
- endOfLine: 'lf',
48
- embeddedLanguageFormatting: 'off',
49
- singleAttributePerLine: true,
50
- };
51
- function getDomMigrationRule(...updates) {
52
- return (tree, _context) => __awaiter(this, void 0, void 0, function* () {
53
- var _a, _b, _c, _d;
54
- const { buildPaths, testPaths } = yield (0, project_tsconfig_paths_1.getProjectTsConfigPaths)(tree);
55
- const basePath = process.cwd();
56
- if (!buildPaths.length && !testPaths.length) {
57
- throw new schematics_1.SchematicsException('Could not find any tsconfig file. Cannot check templates for empty routerLinks.');
58
- }
59
- for (const tsconfigPath of [...buildPaths, ...testPaths]) {
60
- const { program } = (0, compiler_host_1.createMigrationProgram)(tree, tsconfigPath, basePath);
61
- const sourceFiles = program.getSourceFiles()
62
- .filter((sourceFile) => (0, compiler_host_1.canMigrateFile)(basePath, sourceFile, program));
63
- const templateVisitor = new ng_component_template_1.NgComponentTemplateVisitor(program.getTypeChecker(), basePath, tree);
64
- sourceFiles.forEach((sourceFile) => templateVisitor.visitNode(sourceFile));
65
- for (const template of templateVisitor.resolvedTemplates) {
66
- const treeFilePath = (0, path_1.relative)((0, core_1.normalize)(basePath), (0, core_1.normalize)(template.filePath));
67
- let sourceCode = (_b = (_a = tree.read(treeFilePath)) === null || _a === void 0 ? void 0 : _a.toString()) !== null && _b !== void 0 ? _b : '';
68
- if (!sourceCode) {
69
- continue;
70
- }
71
- for (const [updateKey, { update, selector }] of Object.entries(updates)) {
72
- // get update class context
73
- const context = updates[Number(updateKey)];
74
- // create cheerio dom tree
75
- const $ = cheerio.load(sourceCode, CHEERIO_OPTIONS, false);
76
- // get "cheerioElement[]" to mutate in "update" method and add cheerio-identifier to each of em
77
- const $inputElements = $(selector).each((i, element) => {
78
- $(element).data('cheerio-id', i);
79
- });
80
- // continue to next update if no elements were found
81
- if ($inputElements.length <= 0) {
82
- continue;
83
- }
84
- // map elements to sourceElements for later comparison
85
- const sourceElements = Array.from($inputElements)
86
- .map((element, index) => {
87
- var _a;
88
- return ({
89
- id: index,
90
- element: $(element).toString(),
91
- start: (_a = element.startIndex) !== null && _a !== void 0 ? _a : null,
92
- end: element.endIndex ? element.endIndex + 1 : null,
93
- });
94
- });
95
- // send "cheerioElement[]" and cheerio instance to the "update" method
96
- // after this "cheerioElement[]" in "$elements" are updated
97
- update.bind(context)($inputElements, $);
98
- // get updated elements from dom tree
99
- const $outputElements = $('*').filter((_i, element) => $(element).data('cheerio-id') !== undefined);
100
- // start tree file recorder to update tree file later
101
- const treeUpdateRecorder = tree.beginUpdate(treeFilePath);
102
- const promises = sourceElements
103
- .map((source) => __awaiter(this, void 0, void 0, function* () {
104
- // get corresponding outputelement by cheerio-id
105
- const distElement = $outputElements.filter((_i, element) => $(element).data('cheerio-id') === source.id)
106
- .first()
107
- .toString();
108
- // continue to next "element", if eighter "element" has not been updated or "element" has no indices
109
- if (source.element === distElement || source.start === null || source.end === null) {
110
- return;
111
- }
112
- // remove old "element" out of tree file
113
- treeUpdateRecorder.remove(source.start, source.end - source.start);
114
- // write new "element" into the tree file
115
- treeUpdateRecorder.insertLeft(source.start, (yield prettier.format(distElement, PRETTIER_OPTIONS)).replace(/(\n|\r\n)$/, ''));
116
- }));
117
- yield Promise.all(promises);
118
- // commit changes in tree file to tree
119
- tree.commitUpdate(treeUpdateRecorder);
120
- // update "sourceCode" for chained "DomUpdates" in same migration schematic
121
- sourceCode = (_d = (_c = tree.read(treeFilePath)) === null || _c === void 0 ? void 0 : _c.toString()) !== null && _d !== void 0 ? _d : '';
122
- }
123
- }
124
- }
125
- });
126
- }
127
- exports.getDomMigrationRule = getDomMigrationRule;
128
- //# sourceMappingURL=get-dom-migration-rule.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-dom-migration-rule.js","sourceRoot":"","sources":["../../../../schematics/utils/dom-migration/get-dom-migration-rule.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAiD;AACjD,2DAA+F;AAC/F,gGAAkG;AAClG,kGAAgG;AAChG,2FAAiH;AACjH,4CAA4C;AAC5C,+BAAgC;AAChC,qCAAqC;AACrC,oDAAoD;AAIpD,6DAA6D;AAC7D,8EAA8E;AAC9E,MAAM,eAAe,GAA2B;IAC9C,cAAc,EAAE,KAAK;IACrB,aAAa,EAAE,KAAK;IACpB,uBAAuB,EAAE,KAAK;IAC9B,oBAAoB,EAAE,IAAI;IAC1B,gBAAgB,EAAE,IAAI;IACtB,cAAc,EAAE,IAAI;CACrB,CAAC;AAEF,MAAM,gBAAgB,GAAqB;IACzC,MAAM,EAAE,MAAM;IACd,OAAO,EAAE,CAAE,UAAU,CAAE;IACvB,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,CAAC;IACX,OAAO,EAAE,KAAK;IACd,IAAI,EAAE,IAAI;IACV,WAAW,EAAE,KAAK;IAClB,UAAU,EAAE,YAAY;IACxB,cAAc,EAAE,KAAK;IACrB,aAAa,EAAE,KAAK;IACpB,cAAc,EAAE,IAAI;IACpB,eAAe,EAAE,KAAK;IACtB,WAAW,EAAE,QAAQ;IACrB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AAC,CAAA,CAAC,CAAC;oBAEL,MAAM,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;oBAE5B,sCAAsC;oBACtC,IAAI,CAAC,YAAY,CAAC,kBAAkB,CAAC,CAAC;oBACtC,2EAA2E;oBAC3E,UAAU,GAAG,MAAA,MAAA,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,0CAAE,QAAQ,EAAE,mCAAI,EAAE,CAAC;iBACxD;aACF;SACF;IACH,CAAC,CAAA,CAAC;AACJ,CAAC;AA5FD,kDA4FC"}
@@ -1,2 +0,0 @@
1
- export * from './dom-update';
2
- export * from './get-dom-migration-rule';
@@ -1,22 +0,0 @@
1
- "use strict";
2
- /*
3
- * Copyright 2023 by Swiss Post, Information Technology
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
17
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
18
- };
19
- Object.defineProperty(exports, "__esModule", { value: true });
20
- __exportStar(require("./dom-update"), exports);
21
- __exportStar(require("./get-dom-migration-rule"), exports);
22
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../schematics/utils/dom-migration/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,+CAA6B;AAC7B,2DAAyC"}
File without changes