@swisspost/design-system-styles 6.4.4 → 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 (102) 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 +5 -0
  5. package/components/datepicker.scss +3 -1
  6. package/components/floating-label.scss +30 -2
  7. package/components/form-check.scss +9 -3
  8. package/components/form-select.scss +46 -2
  9. package/components/intranet-header/_sidebar.scss +1 -1
  10. package/components/intranet-header/_top-navigation.scss +0 -1
  11. package/components/pagination.scss +15 -0
  12. package/index.css +3 -3
  13. package/intranet.css +3 -3
  14. package/mixins/_focus.scss +9 -0
  15. package/mixins/_index.scss +1 -0
  16. package/package.json +24 -31
  17. package/variables/_color.scss +24 -2
  18. package/variables/_commons.scss +3 -0
  19. package/variables/_grid.scss +17 -22
  20. package/variables/components/_accordion.scss +15 -8
  21. package/variables/components/_form-select.scss +11 -1
  22. package/variables/components/_forms.scss +30 -7
  23. package/variables/components/_stepper.scss +1 -4
  24. package/schematics/migrations/_example-dom-migration/index.d.ts +0 -2
  25. package/schematics/migrations/_example-dom-migration/index.js +0 -131
  26. package/schematics/migrations/_example-dom-migration/index.js.map +0 -1
  27. package/schematics/migrations/bootstrap/badge/index.d.ts +0 -2
  28. package/schematics/migrations/bootstrap/badge/index.js +0 -85
  29. package/schematics/migrations/bootstrap/badge/index.js.map +0 -1
  30. package/schematics/migrations/bootstrap/blockquote/index.d.ts +0 -2
  31. package/schematics/migrations/bootstrap/blockquote/index.js +0 -40
  32. package/schematics/migrations/bootstrap/blockquote/index.js.map +0 -1
  33. package/schematics/migrations/bootstrap/button/index.d.ts +0 -2
  34. package/schematics/migrations/bootstrap/button/index.js +0 -56
  35. package/schematics/migrations/bootstrap/button/index.js.map +0 -1
  36. package/schematics/migrations/bootstrap/button-close/index.d.ts +0 -2
  37. package/schematics/migrations/bootstrap/button-close/index.js +0 -35
  38. package/schematics/migrations/bootstrap/button-close/index.js.map +0 -1
  39. package/schematics/migrations/bootstrap/form-checkbox/index.d.ts +0 -2
  40. package/schematics/migrations/bootstrap/form-checkbox/index.js +0 -48
  41. package/schematics/migrations/bootstrap/form-checkbox/index.js.map +0 -1
  42. package/schematics/migrations/bootstrap/form-control/index.d.ts +0 -2
  43. package/schematics/migrations/bootstrap/form-control/index.js +0 -28
  44. package/schematics/migrations/bootstrap/form-control/index.js.map +0 -1
  45. package/schematics/migrations/bootstrap/form-radio/index.d.ts +0 -2
  46. package/schematics/migrations/bootstrap/form-radio/index.js +0 -48
  47. package/schematics/migrations/bootstrap/form-radio/index.js.map +0 -1
  48. package/schematics/migrations/bootstrap/form-select/index.d.ts +0 -2
  49. package/schematics/migrations/bootstrap/form-select/index.js +0 -54
  50. package/schematics/migrations/bootstrap/form-select/index.js.map +0 -1
  51. package/schematics/migrations/bootstrap/form-switch/index.d.ts +0 -2
  52. package/schematics/migrations/bootstrap/form-switch/index.js +0 -45
  53. package/schematics/migrations/bootstrap/form-switch/index.js.map +0 -1
  54. package/schematics/migrations/bootstrap/forms/index.d.ts +0 -2
  55. package/schematics/migrations/bootstrap/forms/index.js +0 -49
  56. package/schematics/migrations/bootstrap/forms/index.js.map +0 -1
  57. package/schematics/migrations/bootstrap/textarea/index.d.ts +0 -2
  58. package/schematics/migrations/bootstrap/textarea/index.js +0 -38
  59. package/schematics/migrations/bootstrap/textarea/index.js.map +0 -1
  60. package/schematics/migrations/general/classes/bg-opacity.d.ts +0 -2
  61. package/schematics/migrations/general/classes/bg-opacity.js +0 -34
  62. package/schematics/migrations/general/classes/bg-opacity.js.map +0 -1
  63. package/schematics/migrations/general/classes/rtl.d.ts +0 -2
  64. package/schematics/migrations/general/classes/rtl.js +0 -88
  65. package/schematics/migrations/general/classes/rtl.js.map +0 -1
  66. package/schematics/migrations/general/classes/secondary.d.ts +0 -2
  67. package/schematics/migrations/general/classes/secondary.js +0 -16
  68. package/schematics/migrations/general/classes/secondary.js.map +0 -1
  69. package/schematics/migrations/general/classes/sr-only.d.ts +0 -2
  70. package/schematics/migrations/general/classes/sr-only.js +0 -28
  71. package/schematics/migrations/general/classes/sr-only.js.map +0 -1
  72. package/schematics/migrations/general/classes/text-auto.d.ts +0 -2
  73. package/schematics/migrations/general/classes/text-auto.js +0 -16
  74. package/schematics/migrations/general/classes/text-auto.js.map +0 -1
  75. package/schematics/migrations/ngbootstrap/buttons/index.d.ts +0 -2
  76. package/schematics/migrations/ngbootstrap/buttons/index.js +0 -79
  77. package/schematics/migrations/ngbootstrap/buttons/index.js.map +0 -1
  78. package/schematics/migrations/post/custom-select/index.d.ts +0 -2
  79. package/schematics/migrations/post/custom-select/index.js +0 -63
  80. package/schematics/migrations/post/custom-select/index.js.map +0 -1
  81. package/schematics/migrations/post/stepper/index.d.ts +0 -2
  82. package/schematics/migrations/post/stepper/index.js +0 -61
  83. package/schematics/migrations/post/stepper/index.js.map +0 -1
  84. package/schematics/migrations/post/subnavigation/index.d.ts +0 -2
  85. package/schematics/migrations/post/subnavigation/index.js +0 -16
  86. package/schematics/migrations/post/subnavigation/index.js.map +0 -1
  87. package/schematics/migrations/post/topic-teaser/index.d.ts +0 -2
  88. package/schematics/migrations/post/topic-teaser/index.js +0 -42
  89. package/schematics/migrations/post/topic-teaser/index.js.map +0 -1
  90. package/schematics/migrations.json +0 -105
  91. package/schematics/utils/constants.d.ts +0 -5
  92. package/schematics/utils/constants.js +0 -73
  93. package/schematics/utils/constants.js.map +0 -1
  94. package/schematics/utils/dom-migration/dom-update.d.ts +0 -5
  95. package/schematics/utils/dom-migration/dom-update.js +0 -3
  96. package/schematics/utils/dom-migration/dom-update.js.map +0 -1
  97. package/schematics/utils/dom-migration/get-dom-migration-rule.d.ts +0 -3
  98. package/schematics/utils/dom-migration/get-dom-migration-rule.js +0 -128
  99. package/schematics/utils/dom-migration/get-dom-migration-rule.js.map +0 -1
  100. package/schematics/utils/dom-migration/index.d.ts +0 -2
  101. package/schematics/utils/dom-migration/index.js +0 -22
  102. package/schematics/utils/dom-migration/index.js.map +0 -1
@@ -1,88 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const constants_1 = require("../../../utils/constants");
4
- const dom_migration_1 = require("../../../utils/dom-migration");
5
- function default_1() {
6
- return (0, dom_migration_1.getDomMigrationRule)(new SpacingClassesUpdate(), new AlignmentClassesUpdate());
7
- }
8
- exports.default = default_1;
9
- class SpacingClassesUpdate {
10
- constructor() {
11
- this.cssClassRegex = new RegExp(`^(m|p)(l|r)(?:-(${constants_1.breakpoints.join('|')}))?-(${constants_1.sizes.join('|')})$`);
12
- this.sideUpdate = new Map([
13
- ['l', 's'],
14
- ['r', 'e'],
15
- ]);
16
- this.selector = this.createSelectors();
17
- }
18
- update($elements, $) {
19
- $elements.each((_i, element) => {
20
- var _a;
21
- const $element = $(element);
22
- (_a = $element
23
- .attr('class')) === null || _a === void 0 ? void 0 : _a.split(' ').forEach(cssClass => {
24
- const match = cssClass.match(this.cssClassRegex);
25
- if (match) {
26
- const property = match[1];
27
- const side = match[2];
28
- const breakpoint = match[3];
29
- const size = match[4];
30
- $element
31
- .removeClass(cssClass)
32
- .addClass(`${property}${this.sideUpdate.get(side)}${optionalClassPart(breakpoint)}${optionalClassPart(size)}`);
33
- }
34
- });
35
- });
36
- }
37
- createSelectors() {
38
- const selectorProperties = ['m', 'p'];
39
- const selectorSides = ['l', 'r'];
40
- const selectorBreakpoints = [''].concat(constants_1.breakpoints);
41
- return selectorProperties
42
- .map(property => selectorSides.map(side => selectorBreakpoints.map(breakpoint => constants_1.sizes.map(size => `.${property}${side}${optionalClassPart(breakpoint)}${optionalClassPart(size)}`))))
43
- .join(', ');
44
- }
45
- }
46
- class AlignmentClassesUpdate {
47
- constructor() {
48
- this.cssClassRegex = new RegExp(`^(float|text)(?:-(${constants_1.breakpoints.join('|')}))?-(left|right)$`);
49
- this.sideUpdate = new Map([
50
- ['left', 'start'],
51
- ['right', 'end'],
52
- ]);
53
- this.selector = this.createSelectors();
54
- }
55
- update($elements, $) {
56
- $elements.each((_i, element) => {
57
- var _a;
58
- const $element = $(element);
59
- (_a = $element
60
- .attr('class')) === null || _a === void 0 ? void 0 : _a.split(' ').forEach(cssClass => {
61
- const match = cssClass.match(this.cssClassRegex);
62
- if (match) {
63
- const property = match[1];
64
- const breakpoint = match[2];
65
- const side = match[3];
66
- $element
67
- .removeClass(cssClass)
68
- .addClass(`${property}${optionalClassPart(breakpoint)}${optionalClassPart(this.sideUpdate.get(side))}`);
69
- }
70
- });
71
- });
72
- }
73
- createSelectors() {
74
- const selectorProperties = ['float', 'text'];
75
- const selectorBreakpoints = [''].concat(constants_1.breakpoints);
76
- const selectorSides = ['left', 'right'];
77
- return selectorProperties
78
- .map(property => selectorBreakpoints.map(breakpoint => selectorSides.map(side => `.${property}${optionalClassPart(breakpoint)}${optionalClassPart(side)}`)))
79
- .join(', ');
80
- }
81
- }
82
- function optionalClassPart(partName) {
83
- if (!partName) {
84
- return '';
85
- }
86
- return `-${partName}`;
87
- }
88
- //# sourceMappingURL=rtl.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rtl.js","sourceRoot":"","sources":["../../../../../schematics/migrations/general/classes/rtl.ts"],"names":[],"mappings":";;AAEA,wDAA8D;AAC9D,gEAA8E;AAE9E;IACE,OAAO,IAAA,mCAAmB,EAAC,IAAI,oBAAoB,EAAE,EAAE,IAAI,sBAAsB,EAAE,CAAC,CAAC;AACvF,CAAC;AAFD,4BAEC;AAED,MAAM,oBAAoB;IAA1B;QACE,kBAAa,GAAG,IAAI,MAAM,CAAC,mBAAmB,uBAAW,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,iBAAK,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QAChG,eAAU,GAAG,IAAI,GAAG,CAAC;YACnB,CAAC,GAAG,EAAE,GAAG,CAAC;YACV,CAAC,GAAG,EAAE,GAAG,CAAC;SACX,CAAC,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yBACrB,QAAQ,CACP,GAAG,QAAQ,GAAG,iBAAiB,CAAC,UAAU,CAAC,GAAG,iBAAiB,CAC7D,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,CAC1B,EAAE,CACJ,CAAC;iBACL;YACH,CAAC,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;IACL,CAAC;IAED,eAAe;QACb,MAAM,kBAAkB,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;QAC7C,MAAM,mBAAmB,GAAG,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,uBAAW,CAAC,CAAC;QACrD,MAAM,aAAa,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAExC,OAAO,kBAAkB;aACtB,GAAG,CAAC,QAAQ,CAAC,EAAE,CACd,mBAAmB,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,CACnC,aAAa,CAAC,GAAG,CACf,IAAI,CAAC,EAAE,CAAC,IAAI,QAAQ,GAAG,iBAAiB,CAAC,UAAU,CAAC,GAAG,iBAAiB,CAAC,IAAI,CAAC,EAAE,CACjF,CACF,CACF;aACA,IAAI,CAAC,IAAI,CAAC,CAAC;IAChB,CAAC;CACF;AAED,SAAS,iBAAiB,CAAC,QAA4B;IACrD,IAAI,CAAC,QAAQ,EAAE;QACb,OAAO,EAAE,CAAC;KACX;IAED,OAAO,IAAI,QAAQ,EAAE,CAAC;AACxB,CAAC"}
@@ -1,2 +0,0 @@
1
- import { Rule } from '@angular-devkit/schematics';
2
- export default function (): Rule;
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const dom_migration_1 = require("../../../utils/dom-migration");
4
- function default_1() {
5
- return (0, dom_migration_1.getDomMigrationRule)(new SecondaryClassesUpdate);
6
- }
7
- exports.default = default_1;
8
- class SecondaryClassesUpdate {
9
- constructor() {
10
- this.selector = '.bg-secondary, .border-secondary, .text-secondary';
11
- }
12
- update($elements) {
13
- $elements.removeClass('bg-secondary border-secondary text-secondary');
14
- }
15
- }
16
- //# sourceMappingURL=secondary.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"secondary.js","sourceRoot":"","sources":["../../../../../schematics/migrations/general/classes/secondary.ts"],"names":[],"mappings":";;AAEA,gEAA8E;AAE9E;IACE,OAAO,IAAA,mCAAmB,EACxB,IAAI,sBAAsB,CAC3B,CAAC;AACJ,CAAC;AAJD,4BAIC;AAED,MAAM,sBAAsB;IAA5B;QACE,aAAQ,GAAG,mDAAmD,CAAC;IAKjE,CAAC;IAHC,MAAM,CAAC,SAA2B;QAChC,SAAS,CAAC,WAAW,CAAC,8CAA8C,CAAC,CAAC;IACxE,CAAC;CACF"}
@@ -1,2 +0,0 @@
1
- import { Rule } from '@angular-devkit/schematics';
2
- export default function (): Rule;
@@ -1,28 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const dom_migration_1 = require("../../../utils/dom-migration");
4
- function default_1() {
5
- return (0, dom_migration_1.getDomMigrationRule)(new SrOnlyClassUpdate, new SrOnlyFocusableClassUpdate);
6
- }
7
- exports.default = default_1;
8
- class SrOnlyClassUpdate {
9
- constructor() {
10
- this.selector = '.sr-only';
11
- }
12
- update($elements) {
13
- $elements
14
- .removeClass('sr-only')
15
- .addClass('visually-hidden');
16
- }
17
- }
18
- class SrOnlyFocusableClassUpdate {
19
- constructor() {
20
- this.selector = '.sr-only-focusable';
21
- }
22
- update($elements) {
23
- $elements
24
- .removeClass('sr-only-focusable')
25
- .addClass('visually-hidden-focusable');
26
- }
27
- }
28
- //# sourceMappingURL=sr-only.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sr-only.js","sourceRoot":"","sources":["../../../../../schematics/migrations/general/classes/sr-only.ts"],"names":[],"mappings":";;AAEA,gEAA8E;AAE9E;IACE,OAAO,IAAA,mCAAmB,EACxB,IAAI,iBAAiB,EACrB,IAAI,0BAA0B,CAC/B,CAAC;AACJ,CAAC;AALD,4BAKC;AAED,MAAM,iBAAiB;IAAvB;QACE,aAAQ,GAAG,UAAU,CAAC;IAOxB,CAAC;IALC,MAAM,CAAC,SAA2B;QAChC,SAAS;aACN,WAAW,CAAC,SAAS,CAAC;aACtB,QAAQ,CAAC,iBAAiB,CAAC,CAAC;IACjC,CAAC;CACF;AAED,MAAM,0BAA0B;IAAhC;QACE,aAAQ,GAAG,oBAAoB,CAAC;IAOlC,CAAC;IALC,MAAM,CAAC,SAA2B;QAChC,SAAS;aACN,WAAW,CAAC,mBAAmB,CAAC;aAChC,QAAQ,CAAC,2BAA2B,CAAC,CAAC;IAC3C,CAAC;CACF"}
@@ -1,2 +0,0 @@
1
- import { Rule } from '@angular-devkit/schematics';
2
- export default function (): Rule;
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const dom_migration_1 = require("../../../utils/dom-migration");
4
- function default_1() {
5
- return (0, dom_migration_1.getDomMigrationRule)(new TextAutoClassUpdate);
6
- }
7
- exports.default = default_1;
8
- class TextAutoClassUpdate {
9
- constructor() {
10
- this.selector = '.text-auto';
11
- }
12
- update($elements) {
13
- $elements.removeClass('text-auto');
14
- }
15
- }
16
- //# sourceMappingURL=text-auto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"text-auto.js","sourceRoot":"","sources":["../../../../../schematics/migrations/general/classes/text-auto.ts"],"names":[],"mappings":";;AAEA,gEAA8E;AAE9E;IACE,OAAO,IAAA,mCAAmB,EACxB,IAAI,mBAAmB,CACxB,CAAC;AACJ,CAAC;AAJD,4BAIC;AAED,MAAM,mBAAmB;IAAzB;QACE,aAAQ,GAAG,YAAY,CAAC;IAK1B,CAAC;IAHC,MAAM,CAAC,SAA2B;QAChC,SAAS,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;IACrC,CAAC;CACF"}
@@ -1,2 +0,0 @@
1
- import { Rule } from '@angular-devkit/schematics';
2
- export default function (): Rule;
@@ -1,79 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const crypto_1 = require("crypto");
4
- const constants_1 = require("../../../utils/constants");
5
- const dom_migration_1 = require("../../../utils/dom-migration");
6
- function default_1() {
7
- return (0, dom_migration_1.getDomMigrationRule)(new NgbButtonGroupDeprecationUpdate);
8
- }
9
- exports.default = default_1;
10
- class NgbButtonGroupDeprecationUpdate {
11
- constructor() {
12
- this.selector = '.btn-group';
13
- }
14
- update($buttonGroups, $) {
15
- $buttonGroups
16
- .each((_i, buttonGroup) => {
17
- var _a;
18
- const $buttonGroup = $(buttonGroup);
19
- const $labels = $buttonGroup
20
- .children('label')
21
- .filter((_i, label) => {
22
- return typeof $(label).attr('ngbButtonLabel') !== 'undefined';
23
- });
24
- // exit if the button group does not contain labels with a ngb directive
25
- if (!$labels.length) {
26
- return;
27
- }
28
- // if the button group is a radio group, remove the ngb radio directive
29
- let attributesToTransfer;
30
- if (typeof $buttonGroup.attr('ngbRadioGroup') !== 'undefined') {
31
- $buttonGroup.removeAttr('ngbRadioGroup');
32
- // save the form control properties from the radio group
33
- attributesToTransfer = constants_1.formControlProperties
34
- .map(prop => ({ key: prop, value: $buttonGroup.attr(prop) }))
35
- .filter((attr) => typeof attr.value !== 'undefined');
36
- // save the form control references from the radio group
37
- Object.entries((_a = $buttonGroup.attr()) !== null && _a !== void 0 ? _a : {})
38
- .forEach(([key, value]) => {
39
- if (constants_1.formControlReferences.includes(value)) {
40
- attributesToTransfer.push({ key, value });
41
- }
42
- });
43
- // remove the form control properties and references from the radio group
44
- attributesToTransfer.forEach(attr => {
45
- $buttonGroup.removeAttr(attr.key);
46
- });
47
- }
48
- $labels.each((_j, label) => {
49
- const $label = $(label);
50
- const $input = $label.children('input').first();
51
- // remove the ngb directives
52
- $label.removeAttr('ngbButtonLabel');
53
- $input.removeAttr('ngbButton');
54
- // bind the input with its label via an id
55
- let inputId = $input.attr('id');
56
- if (!inputId) {
57
- inputId = (0, crypto_1.randomUUID)();
58
- $input.attr('id', inputId);
59
- }
60
- $label.attr('for', inputId);
61
- // transfer attributes from parent
62
- attributesToTransfer
63
- .forEach(attr => {
64
- $input.attr(attr.key, attr.value);
65
- });
66
- // if the label uses an ngFor directive, move it to a ng-container wrapper
67
- const ngFor = $label.attr('*ngFor');
68
- if (ngFor) {
69
- const $container = $(`<ng-container *ngFor="${ngFor}"></ng-container>`);
70
- $label.wrap($container);
71
- $label.removeAttr('*ngFor');
72
- }
73
- // move the input before its label
74
- $label.before($input);
75
- });
76
- });
77
- }
78
- }
79
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../schematics/migrations/ngbootstrap/buttons/index.ts"],"names":[],"mappings":";;AAEA,mCAAoC;AACpC,wDAAwF;AACxF,gEAA8E;AAE9E;IACE,OAAO,IAAA,mCAAmB,EACxB,IAAI,+BAA+B,CACpC,CAAC;AACJ,CAAC;AAJD,4BAIC;AAED,MAAM,+BAA+B;IAArC;QACE,aAAQ,GAAG,YAAY,CAAC;IA6E1B,CAAC;IA3EC,MAAM,CAAC,aAA+B,EAAE,CAAa;QACnD,aAAa;aACV,IAAI,CAAC,CAAC,EAAE,EAAE,WAAW,EAAE,EAAE;;YACxB,MAAM,YAAY,GAAG,CAAC,CAAC,WAAW,CAAC,CAAC;YAEpC,MAAM,OAAO,GAAG,YAAY;iBACzB,QAAQ,CAAC,OAAO,CAAC;iBACjB,MAAM,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,EAAE;gBACpB,OAAO,OAAO,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,KAAK,WAAW,CAAC;YAChE,CAAC,CAAC,CAAC;YAEL,wEAAwE;YACxE,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE;gBACnB,OAAO;aACR;YAED,uEAAuE;YACvE,IAAI,oBAAsD,CAAC;YAC3D,IAAI,OAAO,YAAY,CAAC,IAAI,CAAC,eAAe,CAAC,KAAK,WAAW,EAA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IAAI,CAAC,CAAC;gBAChC,IAAI,CAAC,OAAO,EAAE;oBACZ,OAAO,GAAG,IAAA,mBAAU,GAAE,CAAC;oBACvB,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;iBAC5B;gBACD,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;gBAE5B,kCAAkC;gBAClC,oBAAoB;qBACjB,OAAO,CAAC,IAAI,CAAC,EAAE;oBACd,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;gBACpC,CAAC,CAAC,CAAC;gBAEL,0EAA0E;gBAC1E,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;gBACpC,IAAI,KAAK,EAAE;oBACT,MAAM,UAAU,GAAG,CAAC,CAAC,yBAAyB,KAAK,mBAAmB,CAAC,CAAC;oBACxE,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;oBACxB,MAAM,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;iBAC7B;gBAED,kCAAkC;gBAClC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;YACxB,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CACF"}
@@ -1,2 +0,0 @@
1
- import { Rule } from '@angular-devkit/schematics';
2
- export default function (): Rule;
@@ -1,63 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const dom_migration_1 = require("../../../utils/dom-migration");
4
- function default_1() {
5
- return (0, dom_migration_1.getDomMigrationRule)(new CustomSelectFloatingLabelWrapperUpdate, new CustomSelectClassesUpdate, new CustomSelectMenuClassesUpdate);
6
- }
7
- exports.default = default_1;
8
- class CustomSelectFloatingLabelWrapperUpdate {
9
- constructor() {
10
- this.selector = '.form-group';
11
- }
12
- update($elements, $) {
13
- $elements
14
- .each((_i, element) => {
15
- const $element = $(element);
16
- const $control = $element.find('> button.form-control-lg');
17
- const $label = $control.next('label');
18
- const isNgbDropdown = $element.attr('ngbDropdown') !== undefined;
19
- const isFloatingLabel = $control.length > 0 && $label.length > 0;
20
- if (isNgbDropdown && isFloatingLabel) {
21
- $element
22
- .removeClass('form-group')
23
- .addClass('form-floating');
24
- $control.removeClass('form-control-lg');
25
- }
26
- });
27
- }
28
- }
29
- class CustomSelectClassesUpdate {
30
- constructor() {
31
- this.selector = 'button.form-control';
32
- }
33
- update($elements, $) {
34
- $elements
35
- .each((_i, element) => {
36
- const $element = $(element);
37
- const isNgbDropdownToggle = $element.attr('ngbDropdownToggle') !== undefined;
38
- if (isNgbDropdownToggle) {
39
- $element
40
- .removeClass('form-control custom-select')
41
- .addClass('form-select');
42
- }
43
- });
44
- }
45
- }
46
- class CustomSelectMenuClassesUpdate {
47
- constructor() {
48
- this.selector = '.custom-select-menu';
49
- }
50
- update($elements, $) {
51
- $elements
52
- .each((_i, element) => {
53
- const $element = $(element);
54
- const isNgbDropdownMenu = $element.attr('ngbDropdownMenu') !== undefined;
55
- if (isNgbDropdownMenu) {
56
- $element
57
- .removeClass('custom-select-menu')
58
- .addClass('w-100 mw-100');
59
- }
60
- });
61
- }
62
- }
63
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../schematics/migrations/post/custom-select/index.ts"],"names":[],"mappings":";;AAEA,gEAA8E;AAE9E;IACE,OAAO,IAAA,mCAAmB,EACxB,IAAI,sCAAsC,EAC1C,IAAI,yBAAyB,EAC7B,IAAI,6BAA6B,CAClC,CAAC;AACJ,CAAC;AAND,4BAMC;AAED,MAAM,sCAAsC;IAA5C;QACE,aAAQ,GAAG,aAAa,CAAC;IAoB3B,CAAC;IAlBC,MAAM,CAAC,SAA2B,EAAE,CAAa;QAC/C,SAAS;aACN,IAAI,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,EAAE;YACpB,MAAM,QAAQ,G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QAAQ,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC;YAC5B,MAAM,iBAAiB,GAAG,QAAQ,CAAC,IAAI,CAAC,iBAAiB,CAAC,KAAK,SAAS,CAAC;YAEzE,IAAI,iBAAiB,EAAE;gBACrB,QAAQ;qBACL,WAAW,CAAC,oBAAoB,CAAC;qBACjC,QAAQ,CAAC,cAAc,CAAC,CAAC;aAC7B;QACH,CAAC,CAAC,CAAC;IACP,CAAC;CACF"}
@@ -1,2 +0,0 @@
1
- import { Rule } from '@angular-devkit/schematics';
2
- export default function (): Rule;
@@ -1,61 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const dom_migration_1 = require("../../../utils/dom-migration");
4
- function default_1() {
5
- return (0, dom_migration_1.getDomMigrationRule)(new StepperContainerUpdate, new StepperBarUpdate, new StepperUpdate, new StepperLinkUpdate);
6
- }
7
- exports.default = default_1;
8
- // replace the aria-label of the stepper containers with a hidden heading
9
- class StepperContainerUpdate {
10
- constructor() {
11
- this.selector = '.stepper-container';
12
- }
13
- update($stepperContainers, $) {
14
- $stepperContainers
15
- .each((_i, stepperContainer) => {
16
- const $stepperContainer = $(stepperContainer);
17
- const simpleAriaLabel = $stepperContainer.attr('aria-label');
18
- if (simpleAriaLabel) {
19
- $stepperContainer.removeAttr('aria-label');
20
- $stepperContainer.prepend(`<h2 class="visually-hidden">${simpleAriaLabel}</h2>`);
21
- }
22
- const boundAriaLabel = $stepperContainer.attr('[attr.aria-label]');
23
- if (boundAriaLabel) {
24
- $stepperContainer.removeAttr('[attr.aria-label]');
25
- $stepperContainer.prepend(`<h2 class="visually-hidden">{{ ${boundAriaLabel} }}</h2>`);
26
- }
27
- });
28
- }
29
- }
30
- // make the stepper bars aria-hidden and remove their type attribute
31
- class StepperBarUpdate {
32
- constructor() {
33
- this.selector = '.stepper-bar';
34
- }
35
- update($stepperBars) {
36
- $stepperBars
37
- .attr('aria-hidden', 'true')
38
- .removeAttr('type');
39
- }
40
- }
41
- // add a list role to the steppers
42
- class StepperUpdate {
43
- constructor() {
44
- this.selector = '.stepper';
45
- }
46
- update($stepper) {
47
- $stepper.attr('role', 'list');
48
- }
49
- }
50
- // remove the tabindex on stepper links
51
- class StepperLinkUpdate {
52
- constructor() {
53
- this.selector = '.stepper-link';
54
- }
55
- update($stepperBars) {
56
- $stepperBars
57
- .removeAttr('tabindex')
58
- .removeAttr('[attr.tabindex]');
59
- }
60
- }
61
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../schematics/migrations/post/stepper/index.ts"],"names":[],"mappings":";;AAEA,gEAA8E;AAE9E;IACE,OAAO,IAAA,mCAAmB,EACxB,IAAI,sBAAsB,EAC1B,IAAI,gBAAgB,EACpB,IAAI,aAAa,EACjB,IAAI,iBAAiB,CACtB,CAAC;AACJ,CAAC;AAPD,4BAOC;AAED,yEAAyE;AACzE,MAAM,sBAAsB;IAA5B;QACE,aAAQ,GAAG,oBAAoB,CAAC;IAoBlC,CAAC;IAlBC,MAAM,CAAC,kBAAoC,EAAE,CAAa;QACxD,kBAAkB;aACf,IAAI,CAAC,CAAC,EAAE,EAAE,gBAAgB,EAAE,EAAE;YAC7B,MAAM,iBAAiB,GAAG,CAAC,CAAC,gBAAgB,CAAC,CAAC;YAE9C,MAAM,eAAe,GAAG,iBAAiB,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;YAC7D,IAAI,eAAe,EAAE;gBACnB,iBAAiB,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC;gBAC3C,iBAAiB,CAAC,OAAO,CAAC,+BAA+B,eAAe,OAAO,CAAC,CAAA;aACjF;YAED,MAAM,cAAc,GAAG,iBAAiB,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;YACnE,IAAI,cAAc,EAAE;gBAClB,iBAAiB,CAAC,UAAU,CAAC,mBAAmB,CAAC,CAAC;gBAClD,iBAAiB,CAAC,OAAO,CAAC,kCAAkC,cAAc,UAAU,CAAC,CAAA;aACtF;QACH,CAAC,CAAC,CAAC;IACP,CAAC;CACF;AAED,oEAAoE;AACpE,MAAM,gBAAgB;IAAtB;QACE,aAAQ,GAAG,cAAc,CAAC;IAO5B,CAAC;IALC,MAAM,CAAC,YAA8B;QACnC,YAAY;aACT,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC;aAC3B,UAAU,CAAC,MAAM,CAAC,CAAC;IACxB,CAAC;CACF;AAED,kCAAkC;AAClC,MAAM,aAAa;IAAnB;QACE,aAAQ,GAAG,UAAU,CAAC;IAKxB,CAAC;IAHC,MAAM,CAAC,QAA0B;QAC/B,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,CAAC;CACF;AAED,uCAAuC;AACvC,MAAM,iBAAiB;IAAvB;QACE,aAAQ,GAAG,eAAe,CAAC;IAO7B,CAAC;IALC,MAAM,CAAC,YAA8B;QACnC,YAAY;aACT,UAAU,CAAC,UAAU,CAAC;aACtB,UAAU,CAAC,iBAAiB,CAAC,CAAC;IACnC,CAAC;CACF"}
@@ -1,2 +0,0 @@
1
- import { Rule } from '@angular-devkit/schematics';
2
- export default function (): Rule;
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const dom_migration_1 = require("../../../utils/dom-migration");
4
- function default_1() {
5
- return (0, dom_migration_1.getDomMigrationRule)(new SubnavigationInvertedClassUpdate);
6
- }
7
- exports.default = default_1;
8
- class SubnavigationInvertedClassUpdate {
9
- constructor() {
10
- this.selector = '.subnavigation-inverted';
11
- }
12
- update($elements) {
13
- $elements.removeClass('subnavigation-inverted');
14
- }
15
- }
16
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../schematics/migrations/post/subnavigation/index.ts"],"names":[],"mappings":";;AAEA,gEAA8E;AAE9E;IACE,OAAO,IAAA,mCAAmB,EACxB,IAAI,gCAAgC,CACrC,CAAC;AACJ,CAAC;AAJD,4BAIC;AAED,MAAM,gCAAgC;IAAtC;QACE,aAAQ,GAAG,yBAAyB,CAAC;IAKvC,CAAC;IAHC,MAAM,CAAC,SAA2B;QAChC,SAAS,CAAC,WAAW,CAAC,wBAAwB,CAAC,CAAC;IAClD,CAAC;CACF"}
@@ -1,2 +0,0 @@
1
- import { Rule } from '@angular-devkit/schematics';
2
- export default function (): Rule;
@@ -1,42 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const dom_migration_1 = require("../../../utils/dom-migration");
4
- function default_1() {
5
- return (0, dom_migration_1.getDomMigrationRule)(new TopicTeaserImageWidthAndHeightUpdate, new TopicTeaserImageClassesUpdate, new TopicTeaserContentClassesUpdate, new TopicTeaserLinkListClassesUpdate);
6
- }
7
- exports.default = default_1;
8
- class TopicTeaserImageWidthAndHeightUpdate {
9
- constructor() {
10
- this.selector = '.topic-teaser-image';
11
- }
12
- update($elements) {
13
- $elements
14
- .attr('width', '100%')
15
- .attr('height', '100%');
16
- }
17
- }
18
- class TopicTeaserImageClassesUpdate {
19
- constructor() {
20
- this.selector = '.topic-teaser-image-container';
21
- }
22
- update($elements) {
23
- $elements.removeClass('col-10 col-rg-8 col-lg-4');
24
- }
25
- }
26
- class TopicTeaserContentClassesUpdate {
27
- constructor() {
28
- this.selector = '.topic-teaser-content';
29
- }
30
- update($elements) {
31
- $elements.removeClass('col-12 col-lg-8');
32
- }
33
- }
34
- class TopicTeaserLinkListClassesUpdate {
35
- constructor() {
36
- this.selector = '.topic-teaser ul.link-list';
37
- }
38
- update($elements) {
39
- $elements.removeClass('font-curve-regular');
40
- }
41
- }
42
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../schematics/migrations/post/topic-teaser/index.ts"],"names":[],"mappings":";;AAEA,gEAA8E;AAE9E;IACE,OAAO,IAAA,mCAAmB,EACxB,IAAI,oCAAoC,EACxC,IAAI,6BAA6B,EACjC,IAAI,+BAA+B,EACnC,IAAI,gCAAgC,CACrC,CAAC;AACJ,CAAC;AAPD,4BAOC;AAED,MAAM,oCAAoC;IAA1C;QACE,aAAQ,GAAG,qBAAqB,CAAC;IAOnC,CAAC;IALC,MAAM,CAAC,SAA2B;QAChC,SAAS;aACN,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC;aACrB,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;IAC5B,CAAC;CACF;AAED,MAAM,6BAA6B;IAAnC;QACE,aAAQ,GAAG,+BAA+B,CAAC;IAK7C,CAAC;IAHC,MAAM,CAAC,SAA2B;QAChC,SAAS,CAAC,WAAW,CAAC,0BAA0B,CAAC,CAAC;IACpD,CAAC;CACF;AAED,MAAM,+BAA+B;IAArC;QACE,aAAQ,GAAG,uBAAuB,CAAC;IAKrC,CAAC;IAHC,MAAM,CAAC,SAA2B;QAChC,SAAS,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAAC;IAC3C,CAAC;CACF;AAED,MAAM,gCAAgC;IAAtC;QACE,aAAQ,GAAG,4BAA4B,CAAC;IAK1C,CAAC;IAHC,MAAM,CAAC,SAA2B;QAChC,SAAS,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAAC;IAC9C,CAAC;CACF"}
@@ -1,105 +0,0 @@
1
- {
2
- "$schema": "../node_modules/@angular-devkit/schematics/collection-schema.json",
3
- "schematics": {
4
- "migration-general-classes-bg-opacity": {
5
- "version": "5.0.0",
6
- "description": "Migrates general bg-opacity classes.",
7
- "factory": "./migrations/general/classes/bg-opacity"
8
- },
9
- "migration-general-classes-secondary": {
10
- "version": "5.0.0",
11
- "description": "Migrates general bg-secondary, border-secondary and text-secondary classes.",
12
- "factory": "./migrations/general/classes/secondary"
13
- },
14
- "migration-general-text-auto": {
15
- "version": "5.0.0",
16
- "description": "Migrates general text-auto classes.",
17
- "factory": "./migrations/general/classes/text-auto"
18
- },
19
- "migration-general-rtl": {
20
- "version": "5.0.0",
21
- "description": "Migrates general rtl helper classes (https://getbootstrap.com/docs/5.0/migration/#rtl).",
22
- "factory": "./migrations/general/classes/rtl"
23
- },
24
- "migration-general-sr-only": {
25
- "version": "5.0.0",
26
- "description": "Migrates general sr-only helper classes (https://getbootstrap.com/docs/5.0/migration/#helpers).",
27
- "factory": "./migrations/general/classes/sr-only"
28
- },
29
- "migration-bootstrap-badge": {
30
- "version": "5.0.0",
31
- "description": "Migrates bootstrap badge component.",
32
- "factory": "./migrations/bootstrap/badge"
33
- },
34
- "migration-bootstrap-blockquote": {
35
- "version": "5.0.0",
36
- "description": "Migrates bootstrap blockquote component.",
37
- "factory": "./migrations/bootstrap/blockquote"
38
- },
39
- "migration-bootstrap-button": {
40
- "version": "5.0.0",
41
- "description": "Migrates bootstrap button component.",
42
- "factory": "./migrations/bootstrap/button"
43
- },
44
- "migration-bootstrap-button-close": {
45
- "version": "5.0.0",
46
- "description": "Migrates bootstrap close-button component.",
47
- "factory": "./migrations/bootstrap/button-close"
48
- },
49
- "migration-bootstrap-form-control": {
50
- "version": "5.0.0",
51
- "description": "Migrates bootstrap form-control component.",
52
- "factory": "./migrations/bootstrap/form-control"
53
- },
54
- "migration-bootstrap-form-select": {
55
- "version": "5.0.0",
56
- "description": "Migrates bootstrap form-select component.",
57
- "factory": "./migrations/bootstrap/form-select"
58
- },
59
- "migration-bootstrap-textarea": {
60
- "version": "5.0.0",
61
- "description": "Migrates bootstrap textarea component.",
62
- "factory": "./migrations/bootstrap/textarea"
63
- },
64
- "migration-bootstrap-form-checkbox": {
65
- "version": "5.0.0",
66
- "description": "Migrates bootstrap form-checkbox component.",
67
- "factory": "./migrations/bootstrap/form-checkbox"
68
- },
69
- "migration-bootstrap-form-radio": {
70
- "version": "5.0.0",
71
- "description": "Migrates bootstrap form-radio component.",
72
- "factory": "./migrations/bootstrap/form-radio"
73
- },
74
- "migration-bootstrap-form-switch": {
75
- "version": "5.0.0",
76
- "description": "Migrates bootstrap form-switch component.",
77
- "factory": "./migrations/bootstrap/form-switch"
78
- },
79
- "migration-ng-buttons": {
80
- "version": "5.0.0",
81
- "description": "Deprecates ng-bootstrap button component.",
82
- "factory": "./migrations/ngbootstrap/buttons"
83
- },
84
- "migration-post-custom-select": {
85
- "version": "5.0.0",
86
- "description": "Migrates post custom-select component.",
87
- "factory": "./migrations/post/custom-select"
88
- },
89
- "migration-post-subnavigation": {
90
- "version": "5.0.0",
91
- "description": "Migrates post subnavigation component.",
92
- "factory": "./migrations/post/subnavigation"
93
- },
94
- "migration-post-topic-teaser": {
95
- "version": "5.0.0",
96
- "description": "Migrates post topic-teaser component.",
97
- "factory": "./migrations/post/topic-teaser"
98
- },
99
- "migration-post-stepper": {
100
- "version": "6.0.0",
101
- "description": "Improves the post stepper accessibility.",
102
- "factory": "./migrations/post/stepper"
103
- }
104
- }
105
- }
@@ -1,5 +0,0 @@
1
- export declare const breakpoints: string[];
2
- export declare const sizes: string[];
3
- export declare const themeColors: string[];
4
- export declare const formControlProperties: string[];
5
- export declare const formControlReferences: string[];