@designsystem-se/af 34.0.3-beta.0 → 34.0.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.
Files changed (146) hide show
  1. package/components/digi-form-select-filter.js +1 -1
  2. package/dist/cjs/{code-example-variation.enum-c6557727.js → code-example-variation.enum-6826a1e7.js} +7 -0
  3. package/dist/cjs/digi-arbetsformedlingen.cjs.js +1 -1
  4. package/dist/cjs/digi-button_12.cjs.entry.js +1126 -0
  5. package/dist/cjs/digi-calendar-datepicker.cjs.entry.js +8 -13
  6. package/dist/cjs/digi-code-block_3.cjs.entry.js +13 -18
  7. package/dist/cjs/digi-code-example.cjs.entry.js +3 -4
  8. package/dist/cjs/digi-dialog.cjs.entry.js +14 -19
  9. package/dist/cjs/digi-expandable-accordion.cjs.entry.js +8 -13
  10. package/dist/cjs/digi-footer.cjs.entry.js +7 -12
  11. package/dist/cjs/digi-form-error-list.cjs.entry.js +7 -12
  12. package/dist/cjs/digi-form-file-upload.cjs.entry.js +9 -10
  13. package/dist/cjs/digi-form-input-search.cjs.entry.js +6 -8
  14. package/dist/cjs/digi-form-receipt.cjs.entry.js +14 -19
  15. package/dist/cjs/digi-header-navigation.cjs.entry.js +7 -12
  16. package/dist/cjs/digi-header.cjs.entry.js +7 -12
  17. package/dist/cjs/digi-navigation-pagination.cjs.entry.js +5 -10
  18. package/dist/cjs/digi-notification-alert.cjs.entry.js +12 -17
  19. package/dist/cjs/digi-notification-error-page.cjs.entry.js +21 -26
  20. package/dist/cjs/digi-progress-indicator.cjs.entry.js +137 -0
  21. package/dist/cjs/digi-tools-feedback.cjs.entry.js +15 -20
  22. package/dist/cjs/digi-util-mutation-observer.cjs.entry.js +64 -0
  23. package/dist/cjs/{form-input-type.enum-9c8ee12a.js → form-input-type.enum-1fb2180a.js} +14 -0
  24. package/dist/cjs/{form-file-upload-variation.enum-634cfae8.js → form-validation-message-variation.enum-c5ec3e2d.js} +7 -0
  25. package/dist/cjs/index-cfa8e9be.js +8 -24
  26. package/dist/cjs/index.cjs.js +105 -110
  27. package/dist/cjs/loader.cjs.js +1 -1
  28. package/dist/cjs/{typography-variation.enum-252bed2e.js → progress-indicator-variation.enum-7cf8e0e4.js} +0 -6
  29. package/dist/cjs/{tools-feedback-variation.enum-b17e8f87.js → typography-variation.enum-07b834ba.js} +34 -0
  30. package/dist/collection/components/_form/form-select-filter/form-select-filter.css +1 -1
  31. package/dist/collection/design-tokens/components/_navigation-context-menu.variables.scss +47 -3
  32. package/dist/digi-arbetsformedlingen/design-tokens/components/_navigation-context-menu.variables.scss +0 -40
  33. package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
  34. package/dist/digi-arbetsformedlingen/index.esm.js +1 -1
  35. package/dist/digi-arbetsformedlingen/p-0b2baab8.entry.js +1 -0
  36. package/dist/digi-arbetsformedlingen/p-333d2a13.entry.js +1 -0
  37. package/dist/digi-arbetsformedlingen/p-38405a91.entry.js +1 -0
  38. package/dist/digi-arbetsformedlingen/p-3887bb40.js +1 -0
  39. package/dist/digi-arbetsformedlingen/p-39708dfd.entry.js +1 -0
  40. package/dist/digi-arbetsformedlingen/p-435d4154.entry.js +1 -0
  41. package/dist/digi-arbetsformedlingen/p-47367a06.entry.js +1 -0
  42. package/dist/digi-arbetsformedlingen/p-4934e112.entry.js +1 -0
  43. package/dist/digi-arbetsformedlingen/p-4a7e484f.entry.js +1 -0
  44. package/dist/digi-arbetsformedlingen/p-537d3a7f.entry.js +1 -0
  45. package/dist/digi-arbetsformedlingen/p-53cfeeba.entry.js +1 -0
  46. package/dist/digi-arbetsformedlingen/p-62c112f5.entry.js +1 -0
  47. package/dist/digi-arbetsformedlingen/p-7fc94925.entry.js +1 -0
  48. package/dist/digi-arbetsformedlingen/p-8f0cfb82.entry.js +1 -0
  49. package/dist/digi-arbetsformedlingen/p-9dd5d6c8.js +1 -0
  50. package/dist/digi-arbetsformedlingen/p-a29a52f3.entry.js +1 -0
  51. package/dist/digi-arbetsformedlingen/p-a8afc3af.entry.js +1 -0
  52. package/dist/digi-arbetsformedlingen/p-b4e075c1.js +1 -0
  53. package/dist/digi-arbetsformedlingen/p-be5aa9ca.entry.js +1 -0
  54. package/dist/digi-arbetsformedlingen/p-c64b4626.js +1 -0
  55. package/dist/digi-arbetsformedlingen/p-ccca6900.js +1 -0
  56. package/dist/digi-arbetsformedlingen/p-dc888867.entry.js +1 -0
  57. package/dist/digi-arbetsformedlingen/p-e6ff6b0f.entry.js +1 -0
  58. package/dist/digi-arbetsformedlingen/p-f8fa5e66.entry.js +1 -0
  59. package/dist/esm/{code-example-variation.enum-e9f9fced.js → code-example-variation.enum-222e18d3.js} +8 -1
  60. package/dist/esm/digi-arbetsformedlingen.js +1 -1
  61. package/dist/esm/digi-button_12.entry.js +1111 -0
  62. package/dist/esm/digi-calendar-datepicker.entry.js +5 -10
  63. package/dist/esm/digi-code-block_3.entry.js +5 -10
  64. package/dist/esm/digi-code-example.entry.js +1 -2
  65. package/dist/esm/digi-dialog.entry.js +5 -10
  66. package/dist/esm/digi-expandable-accordion.entry.js +5 -10
  67. package/dist/esm/digi-footer.entry.js +5 -10
  68. package/dist/esm/digi-form-error-list.entry.js +5 -10
  69. package/dist/esm/digi-form-file-upload.entry.js +1 -2
  70. package/dist/esm/digi-form-input-search.entry.js +1 -3
  71. package/dist/esm/digi-form-receipt.entry.js +5 -10
  72. package/dist/esm/digi-header-navigation.entry.js +5 -10
  73. package/dist/esm/digi-header.entry.js +5 -10
  74. package/dist/esm/digi-navigation-pagination.entry.js +5 -10
  75. package/dist/esm/digi-notification-alert.entry.js +5 -10
  76. package/dist/esm/digi-notification-error-page.entry.js +5 -10
  77. package/dist/esm/digi-progress-indicator.entry.js +133 -0
  78. package/dist/esm/digi-tools-feedback.entry.js +5 -10
  79. package/dist/esm/digi-util-mutation-observer.entry.js +60 -0
  80. package/dist/esm/{form-input-type.enum-3da3db27.js → form-input-type.enum-a6bba983.js} +15 -1
  81. package/dist/esm/{form-file-upload-variation.enum-9c49ec5e.js → form-validation-message-variation.enum-f7835fc5.js} +8 -1
  82. package/dist/esm/index-8e318bb2.js +8 -24
  83. package/dist/esm/index.js +5 -10
  84. package/dist/esm/loader.js +1 -1
  85. package/dist/esm/{typography-variation.enum-d5ac8594.js → progress-indicator-variation.enum-b12ba50a.js} +1 -7
  86. package/dist/esm/{tools-feedback-variation.enum-4bfb560b.js → typography-variation.enum-253cc59f.js} +35 -1
  87. package/hydrate/index.js +1 -1
  88. package/hydrate/index.mjs +1 -1
  89. package/package.json +1 -1
  90. package/dist/cjs/button-size.enum-7921c01e.js +0 -8
  91. package/dist/cjs/button-type.enum-406723db.js +0 -8
  92. package/dist/cjs/digi-button.cjs.entry.js +0 -130
  93. package/dist/cjs/digi-form-input.cjs.entry.js +0 -157
  94. package/dist/cjs/digi-form-label_3.cjs.entry.js +0 -129
  95. package/dist/cjs/digi-form-select-filter.cjs.entry.js +0 -552
  96. package/dist/cjs/digi-icon-check_6.cjs.entry.js +0 -286
  97. package/dist/cjs/digi-icon-chevron-down.cjs.entry.js +0 -30
  98. package/dist/cjs/digi-util-keydown-handler.cjs.entry.js +0 -83
  99. package/dist/cjs/form-input-search-variation.enum-c50239bc.js +0 -8
  100. package/dist/cjs/form-input-variation.enum-c750520c.js +0 -29
  101. package/dist/cjs/form-validation-message-variation.enum-855ae0be.js +0 -8
  102. package/dist/digi-arbetsformedlingen/p-03c74be2.entry.js +0 -1
  103. package/dist/digi-arbetsformedlingen/p-1d065367.js +0 -1
  104. package/dist/digi-arbetsformedlingen/p-1f956af8.js +0 -1
  105. package/dist/digi-arbetsformedlingen/p-27a933f2.entry.js +0 -1
  106. package/dist/digi-arbetsformedlingen/p-38ac4375.entry.js +0 -1
  107. package/dist/digi-arbetsformedlingen/p-3ee7d913.entry.js +0 -1
  108. package/dist/digi-arbetsformedlingen/p-4771449c.entry.js +0 -1
  109. package/dist/digi-arbetsformedlingen/p-48d8109b.entry.js +0 -1
  110. package/dist/digi-arbetsformedlingen/p-4c6b9991.entry.js +0 -1
  111. package/dist/digi-arbetsformedlingen/p-4e311538.entry.js +0 -1
  112. package/dist/digi-arbetsformedlingen/p-4e9b1820.entry.js +0 -1
  113. package/dist/digi-arbetsformedlingen/p-4e9cd0cd.entry.js +0 -1
  114. package/dist/digi-arbetsformedlingen/p-4f4113d7.entry.js +0 -1
  115. package/dist/digi-arbetsformedlingen/p-525bd193.entry.js +0 -1
  116. package/dist/digi-arbetsformedlingen/p-551f6906.entry.js +0 -1
  117. package/dist/digi-arbetsformedlingen/p-5a602122.js +0 -1
  118. package/dist/digi-arbetsformedlingen/p-6492e062.entry.js +0 -1
  119. package/dist/digi-arbetsformedlingen/p-766df2e4.entry.js +0 -1
  120. package/dist/digi-arbetsformedlingen/p-7933b555.js +0 -1
  121. package/dist/digi-arbetsformedlingen/p-7f1574ff.js +0 -1
  122. package/dist/digi-arbetsformedlingen/p-80fce66a.entry.js +0 -1
  123. package/dist/digi-arbetsformedlingen/p-88b4d03a.js +0 -1
  124. package/dist/digi-arbetsformedlingen/p-905ccb30.js +0 -1
  125. package/dist/digi-arbetsformedlingen/p-91d1344c.js +0 -1
  126. package/dist/digi-arbetsformedlingen/p-a0472ce2.entry.js +0 -1
  127. package/dist/digi-arbetsformedlingen/p-bad82d8a.entry.js +0 -1
  128. package/dist/digi-arbetsformedlingen/p-bc37453e.entry.js +0 -1
  129. package/dist/digi-arbetsformedlingen/p-bc3d2778.js +0 -1
  130. package/dist/digi-arbetsformedlingen/p-c7fd83fa.entry.js +0 -1
  131. package/dist/digi-arbetsformedlingen/p-d13c7e47.entry.js +0 -1
  132. package/dist/digi-arbetsformedlingen/p-edf6fbd2.entry.js +0 -1
  133. package/dist/digi-arbetsformedlingen/p-ee9589e6.js +0 -1
  134. package/dist/digi-arbetsformedlingen/p-f3b56695.entry.js +0 -1
  135. package/dist/esm/button-size.enum-2dcd673f.js +0 -8
  136. package/dist/esm/button-type.enum-5250ae0b.js +0 -8
  137. package/dist/esm/digi-button.entry.js +0 -126
  138. package/dist/esm/digi-form-input.entry.js +0 -153
  139. package/dist/esm/digi-form-label_3.entry.js +0 -123
  140. package/dist/esm/digi-form-select-filter.entry.js +0 -548
  141. package/dist/esm/digi-icon-check_6.entry.js +0 -277
  142. package/dist/esm/digi-icon-chevron-down.entry.js +0 -26
  143. package/dist/esm/digi-util-keydown-handler.entry.js +0 -79
  144. package/dist/esm/form-input-search-variation.enum-f9d669f2.js +0 -8
  145. package/dist/esm/form-input-variation.enum-64d9450f.js +0 -29
  146. package/dist/esm/form-validation-message-variation.enum-bcef8a9d.js +0 -8
@@ -1,277 +0,0 @@
1
- import { r as registerInstance, h, g as getElement, c as createEvent } from './index-8e318bb2.js';
2
- import { r as randomIdGenerator } from './randomIdGenerator.util-56406f2e.js';
3
- import { _ as _t } from './text-ee5498fa.js';
4
- import { P as ProgressIndicatorRole, a as ProgressIndicatorVariation, T as TypographyVariation } from './typography-variation.enum-d5ac8594.js';
5
-
6
- const iconCheckCss = ".sc-digi-icon-check-h{--digi--icon--color:var(--digi--color--icons--primary);--digi--icon--width:initial;--digi--icon--height:auto;display:flex;min-height:1.4em;align-items:center}.sc-digi-icon-check-h svg.sc-digi-icon-check{color:var(--digi--icon--color);max-width:var(--digi--icon--width);max-height:var(--digi--icon--height);width:var(--digi--icon--width, auto);height:var(--digi--icon--height, auto)}";
7
- const DigiIconCheckStyle0 = iconCheckCss;
8
-
9
- const IconCheck = class {
10
- constructor(hostRef) {
11
- registerInstance(this, hostRef);
12
- this.afTitle = undefined;
13
- this.afDesc = undefined;
14
- this.afSvgAriaHidden = true;
15
- this.afSvgAriaLabelledby = undefined;
16
- this.titleId = randomIdGenerator('icontitle');
17
- }
18
- render() {
19
- return (h("svg", { key: 'b93763762cb15da9dd043c599d28801dd1b7b6d2', class: "digi-icon-check", width: "23", height: "18", viewBox: "0 0 23 18", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
20
- ? this.afSvgAriaLabelledby
21
- : this.afTitle
22
- ? this.titleId
23
- : undefined }, this.afTitle && h("title", { key: '50601b1e8c8eaf8a33d0a1074005e9c65b87113d', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: '06f9aacdab41e114f4f47f690ece821651ac4ee3' }, this.afDesc), h("path", { key: '1af3c61a39655f9002f6826fc8beaf48b2a976b1', class: "digi-icon-check__shape", d: "M20.547.18L7.315 13.627 2.453 8.686a.597.597 0 00-.853 0L.177 10.132a.62.62 0 000 .868l6.711 6.82c.236.24.618.24.854 0L22.823 2.493a.62.62 0 000-.867L21.4.18a.597.597 0 00-.853 0z", fill: "currentColor", "fill-rule": "nonzero" })));
24
- }
25
- };
26
- IconCheck.style = DigiIconCheckStyle0;
27
-
28
- const iconValidationErrorCss = ".sc-digi-icon-validation-error-h{--digi--icon--color:var(--digi--color--icons--primary);--digi--icon--width:initial;--digi--icon--height:auto;display:flex;min-height:1.4em;align-items:center}.sc-digi-icon-validation-error-h svg.sc-digi-icon-validation-error{color:var(--digi--icon--color);max-width:var(--digi--icon--width);max-height:var(--digi--icon--height);width:var(--digi--icon--width, auto);height:var(--digi--icon--height, auto)}";
29
- const DigiIconValidationErrorStyle0 = iconValidationErrorCss;
30
-
31
- const IconValidationError = class {
32
- constructor(hostRef) {
33
- registerInstance(this, hostRef);
34
- this.afTitle = undefined;
35
- this.afDesc = undefined;
36
- this.afSvgAriaHidden = true;
37
- this.afSvgAriaLabelledby = undefined;
38
- this.titleId = randomIdGenerator('icontitle');
39
- }
40
- render() {
41
- return (h("svg", { key: '41ffc4c3d87390ae217263e98d041467a3f4c3a8', class: "digi-icon-validation-error", width: "48", height: "48", viewBox: "0 0 48 48", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
42
- ? this.afSvgAriaLabelledby
43
- : this.afTitle
44
- ? this.titleId
45
- : undefined }, this.afTitle && h("title", { key: 'd1bdf3cb7894761018a33df17e461562c62f2a88', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: '03e28955baed21df8d54fd9a45b5b6b52c861e72' }, this.afDesc), h("path", { key: 'd1aad885c99e8dcefbd87554dfa24ff4793e3e80', class: "digi-icon-validation-error__shape", d: "M34.4328058,0 C35.5494848,0 36.5900526,0.609146757 37.1483921,1.58958113 L47.5812454,19.9104189 C48.1395849,20.8909496 48.1395849,22.1090504 47.5812454,23.0895811 L37.1483921,41.4104189 C36.5900526,42.3908532 35.5494848,43 34.4328058,43 L13.5671942,43 C12.4505152,43 11.4099474,42.3908532 10.8516079,41.4104189 L0.41875464,23.0895811 C-0.13958488,22.1090504 -0.13958488,20.8909496 0.41875464,19.9104189 L10.8516079,1.58958113 C11.4099474,0.609146757 12.4505152,0 13.5671942,0 Z M18.6736823,12.3728178 C18.2711762,11.964729 17.6203819,11.964729 17.2178757,12.3728178 L15.2825964,14.334939 C14.8800903,14.7430278 14.8800903,15.4028485 15.2825964,15.8109373 L20.6089616,21.2111779 L15.2825964,26.6114185 C14.8800903,27.0195074 14.8800903,27.6793281 15.2825964,28.0874169 L17.2178757,30.049538 C17.6203819,30.4576269 18.2711762,30.4576269 18.6736823,30.049538 L24.0000475,24.6492974 L29.3264127,30.049538 C29.7289188,30.4576269 30.3797132,30.4576269 30.7822193,30.049538 L32.7174986,28.0874169 C33.1200048,27.6793281 33.1200048,27.0195074 32.7174986,26.6114185 L27.3911334,21.2111779 L32.7174986,15.8109373 C33.1200048,15.4028485 33.1200048,14.7430278 32.7174986,14.334939 L30.7822193,12.3728178 C30.3797132,11.964729 29.7289188,11.964729 29.3264127,12.3728178 L24.0000475,17.7730584 Z", fill: "currentColor", "fill-rule": "nonzero" })));
46
- }
47
- };
48
- IconValidationError.style = DigiIconValidationErrorStyle0;
49
-
50
- const iconValidationWarningCss = ".sc-digi-icon-validation-warning-h{--digi--icon--color:var(--digi--color--icons--primary);--digi--icon--width:initial;--digi--icon--height:auto;display:flex;min-height:1.4em;align-items:center}.sc-digi-icon-validation-warning-h svg.sc-digi-icon-validation-warning{color:var(--digi--icon--color);max-width:var(--digi--icon--width);max-height:var(--digi--icon--height);width:var(--digi--icon--width, auto);height:var(--digi--icon--height, auto)}";
51
- const DigiIconValidationWarningStyle0 = iconValidationWarningCss;
52
-
53
- const IconValidationWarning = class {
54
- constructor(hostRef) {
55
- registerInstance(this, hostRef);
56
- this.afTitle = undefined;
57
- this.afDesc = undefined;
58
- this.afSvgAriaHidden = true;
59
- this.afSvgAriaLabelledby = undefined;
60
- this.titleId = randomIdGenerator('icontitle');
61
- }
62
- render() {
63
- return (h("div", { key: '584c0d857b5b1f2e872abfac1ac0b67c743ee109' }, h("svg", { key: '9181b9f7e07e98629826415884de3dc8224282d7', class: "digi-icon-validation-warning", width: "18", height: "18", viewBox: "0 0 18 18", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
64
- ? this.afSvgAriaLabelledby
65
- : this.afTitle
66
- ? this.titleId
67
- : undefined }, this.afTitle && h("title", { key: 'b86270de37ffe0d0dcdc2d3b11d122b294970e22', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: 'c534be9c18e9467d18aa8397698edac77f15dfae' }, this.afDesc), h("g", { key: '42657f7631a8c9a54e3b7a02bd95757222c68b86', fill: "none", "fill-rule": "evenodd" }, h("circle", { key: '863ad3e5f51f15d8385558494f9ea9e389a8d216', cx: "9", cy: "9", r: "6.75", fill: "#333" }), h("path", { key: '53881444c3a8a351d3a2b41bad03c0d10d190668', d: "m18 9c0 4.9717-4.0298 9-9 9-4.9702 0-9-4.0283-9-9 0-4.9688 4.0298-9 9-9 4.9702 0 9 4.0312 9 9zm-9 1.8145c-0.92196 0-1.6694 0.7474-1.6694 1.6694 0 0.92196 0.7474 1.6694 1.6694 1.6694s1.6694-0.7474 1.6694-1.6694c0-0.92196-0.7474-1.6694-1.6694-1.6694zm-1.3157-1.065c0.012593 0.23095 0.20355 0.41175 0.43483 0.41175h1.7618c0.23128 0 0.42224-0.1808 0.43483-0.41175l0.2692-4.9355c0.013609-0.24946-0.18501-0.45922-0.43483-0.45922h-2.3002c-0.24982 0-0.4484 0.20976-0.43479 0.45922l0.2692 4.9355z", fill: "#FFE200" })))));
68
- }
69
- };
70
- IconValidationWarning.style = DigiIconValidationWarningStyle0;
71
-
72
- const progressIndicatorCss = ".digi--util--fs--xs.sc-digi-progress-indicator{font-size:var(--digi--global--typography--font-size--small) !important}.digi--util--fs--s.sc-digi-progress-indicator{font-size:calc(var(--digi--global--typography--font-size--small) + 1px) !important}.digi--util--fs--m.sc-digi-progress-indicator{font-size:var(--digi--global--typography--font-size--base) !important}.digi--util--fs--l.sc-digi-progress-indicator{font-size:var(--digi--global--typography--font-size--large) !important}.digi--util--fw--sb.sc-digi-progress-indicator{font-weight:var(--digi--global--typography--font-weight--semibold) !important}.digi--util--pt--1.sc-digi-progress-indicator{padding-top:var(--digi--global--spacing--smallest-2) !important}.digi--util--pt--10.sc-digi-progress-indicator{padding-top:var(--digi--global--spacing--smallest) !important}.digi--util--pt--20.sc-digi-progress-indicator{padding-top:var(--digi--global--spacing--base) !important}.digi--util--pt--30.sc-digi-progress-indicator{padding-top:var(--digi--global--spacing--largest-2) !important}.digi--util--pt--40.sc-digi-progress-indicator{padding-top:var(--digi--global--spacing--largest-4) !important}.digi--util--pt--50.sc-digi-progress-indicator{padding-top:2.5rem !important}.digi--util--pt--60.sc-digi-progress-indicator{padding-top:var(--digi--global--spacing--largest-5) !important}.digi--util--pt--70.sc-digi-progress-indicator{padding-top:var(--digi--global--spacing--largest-6) !important}.digi--util--pt--80.sc-digi-progress-indicator{padding-top:4.5rem !important}.digi--util--pt--90.sc-digi-progress-indicator{padding-top:5rem !important}.digi--util--pb--1.sc-digi-progress-indicator{padding-bottom:var(--digi--global--spacing--smallest-2) !important}.digi--util--pb--10.sc-digi-progress-indicator{padding-bottom:var(--digi--global--spacing--smallest) !important}.digi--util--pb--20.sc-digi-progress-indicator{padding-bottom:var(--digi--global--spacing--base) !important}.digi--util--pb--30.sc-digi-progress-indicator{padding-bottom:var(--digi--global--spacing--largest-2) !important}.digi--util--pb--40.sc-digi-progress-indicator{padding-bottom:var(--digi--global--spacing--largest-4) !important}.digi--util--pb--50.sc-digi-progress-indicator{padding-bottom:2.5rem !important}.digi--util--pb--60.sc-digi-progress-indicator{padding-bottom:var(--digi--global--spacing--largest-5) !important}.digi--util--pb--70.sc-digi-progress-indicator{padding-bottom:var(--digi--global--spacing--largest-6) !important}.digi--util--pb--80.sc-digi-progress-indicator{padding-bottom:4.5rem !important}.digi--util--pb--90.sc-digi-progress-indicator{padding-bottom:5rem !important}.digi--util--p--1.sc-digi-progress-indicator{padding:var(--digi--global--spacing--smallest-2) !important}.digi--util--p--10.sc-digi-progress-indicator{padding:var(--digi--global--spacing--smallest) !important}.digi--util--p--20.sc-digi-progress-indicator{padding:var(--digi--global--spacing--base) !important}.digi--util--p--30.sc-digi-progress-indicator{padding:var(--digi--global--spacing--largest-2) !important}.digi--util--p--40.sc-digi-progress-indicator{padding:var(--digi--global--spacing--largest-4) !important}.digi--util--p--50.sc-digi-progress-indicator{padding:2.5rem !important}.digi--util--p--60.sc-digi-progress-indicator{padding:var(--digi--global--spacing--largest-5) !important}.digi--util--p--70.sc-digi-progress-indicator{padding:var(--digi--global--spacing--largest-6) !important}.digi--util--p--80.sc-digi-progress-indicator{padding:4.5rem !important}.digi--util--p--90.sc-digi-progress-indicator{padding:5rem !important}.digi--util--ptb--1.sc-digi-progress-indicator{padding-top:var(--digi--global--spacing--smallest-2) !important;padding-bottom:var(--digi--global--spacing--smallest-2) !important}.digi--util--ptb--10.sc-digi-progress-indicator{padding-top:var(--digi--global--spacing--smallest) !important;padding-bottom:var(--digi--global--spacing--smallest) !important}.digi--util--ptb--20.sc-digi-progress-indicator{padding-top:var(--digi--global--spacing--base) !important;padding-bottom:var(--digi--global--spacing--base) !important}.digi--util--ptb--30.sc-digi-progress-indicator{padding-top:var(--digi--global--spacing--largest-2) !important;padding-bottom:var(--digi--global--spacing--largest-2) !important}.digi--util--ptb--40.sc-digi-progress-indicator{padding-top:var(--digi--global--spacing--largest-4) !important;padding-bottom:var(--digi--global--spacing--largest-4) !important}.digi--util--ptb--50.sc-digi-progress-indicator{padding-top:2.5rem !important;padding-bottom:2.5rem !important}.digi--util--ptb--60.sc-digi-progress-indicator{padding-top:var(--digi--global--spacing--largest-5) !important;padding-bottom:var(--digi--global--spacing--largest-5) !important}.digi--util--ptb--70.sc-digi-progress-indicator{padding-top:var(--digi--global--spacing--largest-6) !important;padding-bottom:var(--digi--global--spacing--largest-6) !important}.digi--util--ptb--80.sc-digi-progress-indicator{padding-top:4.5rem !important;padding-bottom:4.5rem !important}.digi--util--ptb--90.sc-digi-progress-indicator{padding-top:5rem !important;padding-bottom:5rem !important}.digi--util--plr--1.sc-digi-progress-indicator{padding-left:var(--digi--global--spacing--smallest-2) !important;padding-right:var(--digi--global--spacing--smallest-2) !important}.digi--util--plr--10.sc-digi-progress-indicator{padding-left:var(--digi--global--spacing--smallest) !important;padding-right:var(--digi--global--spacing--smallest) !important}.digi--util--plr--20.sc-digi-progress-indicator{padding-left:var(--digi--global--spacing--base) !important;padding-right:var(--digi--global--spacing--base) !important}.digi--util--plr--30.sc-digi-progress-indicator{padding-left:var(--digi--global--spacing--largest-2) !important;padding-right:var(--digi--global--spacing--largest-2) !important}.digi--util--plr--40.sc-digi-progress-indicator{padding-left:var(--digi--global--spacing--largest-4) !important;padding-right:var(--digi--global--spacing--largest-4) !important}.digi--util--plr--50.sc-digi-progress-indicator{padding-left:2.5rem !important;padding-right:2.5rem !important}.digi--util--plr--60.sc-digi-progress-indicator{padding-left:var(--digi--global--spacing--largest-5) !important;padding-right:var(--digi--global--spacing--largest-5) !important}.digi--util--plr--70.sc-digi-progress-indicator{padding-left:var(--digi--global--spacing--largest-6) !important;padding-right:var(--digi--global--spacing--largest-6) !important}.digi--util--plr--80.sc-digi-progress-indicator{padding-left:4.5rem !important;padding-right:4.5rem !important}.digi--util--plr--90.sc-digi-progress-indicator{padding-left:5rem !important;padding-right:5rem !important}.digi--util--sr-only.sc-digi-progress-indicator{border:0;clip:rect(1px, 1px, 1px, 1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.digi--util--hidden.sc-digi-progress-indicator{display:none}.sc-digi-progress-indicator-h{--digi--progress-indicator--margin:0 0 var(--digi--margin--medium);--digi--progress-indicator--label--font-size:var(--digi--typography--label--font-size--desktop);--digi--progress-indicator--label--margin:var(--digi--gutter--medium) 0;--digi--progress-indicator--border-color:var(--digi--color--border--neutral-5);--digi--progress-indicator--border-color--active:var(--digi--global--color--function--success--base);--digi--progress-indicator--border-color--secondary--active:var(--digi--color--border--secondary);--digi--progress-indicator--border-width:var(--digi--border-width--primary);--digi--progress-indicator--gap:var(--digi--padding--largest);--digi--progress-indicator--gap--medium:var(--digi--padding--largest);--digi--progress-indicator--gap--large:var(--digi--padding--largest-3);--digi--progress-indicator--gap--x-large:var(--digi--padding--largest-3);--digi--progress-indicator--heading--font-size:var(--digi--typography--heading-2--font-size--desktop);--digi--progress-indicator--heading--mobile--font-size:var(--digi--typography--heading-2--font-size--mobile);--digi--progress-indicator--heading--font-weight:var(--digi--typography--heading-2--font-weight--desktop);--digi--progress-indicator--step--background:transparent;--digi--progress-indicator--step--background--active:var(--digi--global--color--function--success--base);--digi--progress-indicator--step--background--secondary--active:var(--digi--color--background--inverted-1);--digi--progress-indicator--step--size:var(--digi--global--spacing--base);--digi--progress-indicator--step--size--large:1.625rem;--digi--progress-indicator--step--size--active:1.625rem;--digi--progress-indicator--step--size--active--large:1.625rem;--digi--progress-indicator--step--line--width:var(--digi--border-width--secondary);--digi--progress-indicator--step--line--color:var(--digi--color--border--neutral-5);--digi--progress-indicator--step--line--color--current:var(--digi--color--border--neutral-5);--digi--progress-indicator--step--line--color--active:var(--digi--global--color--function--success--base);--digi--progress-indicator--step--line--color--secondary--active:var(--digi--color--border--secondary);--digi--progress-indicator--step--line--style:dashed;--digi--progress-indicator--icon--width:1rem;--digi--progress-indicator--icon--height:1rem;--digi--progress-indicator--icon--color:var(--digi--color--text--inverted);--digi--progress-indicator--icon-status--width:1.75rem;--digi--progress-indicator--icon-status--height:1.75rem;--digi--progress-indicator--icon--warning--color:var(--digi--color--background--warning-1);--digi--progress-indicator--icon--error--color:var(--digi--color--background--danger-1);--digi--progress-indicator--icon--error--background-color:var(--digi--color--background--danger-2)}.sc-digi-progress-indicator-h .digi-progress-indicator.sc-digi-progress-indicator{font-size:var(--digi--progress-indicator--label--font-size);margin:var(--digi--progress-indicator--margin);box-sizing:border-box}.sc-digi-progress-indicator-h .digi-progress-indicator.sc-digi-progress-indicator:not(.digi-progress-indicator--linear){--digi--progress-indicator--step--line--color--active:var(\n --digi--progress-indicator--step--line--color\n )}.sc-digi-progress-indicator-h .digi-progress-indicator__content.sc-digi-progress-indicator{font-family:var(--digi--global--typography--font-family--default)}.sc-digi-progress-indicator-h .digi-progress-indicator__heading.sc-digi-progress-indicator{font-size:var(--digi--typography--heading-2--font-size--desktop);font-weight:var(--digi--progress-indicator--heading--font-weight);margin:0;margin-bottom:0.5rem}@media (max-width: 36rem){.sc-digi-progress-indicator-h .digi-progress-indicator__heading.sc-digi-progress-indicator{font-size:var(--digi--typography--heading-2--font-size--mobile);font-weight:var(--digi--typography--heading-2--font-weight--mobile)}}.sc-digi-progress-indicator-h .digi-progress-indicator__next.sc-digi-progress-indicator{font-size:var(--digi--typography--body--font-size--desktop);font-style:italic;color:var(--digi--color--text--neutral);margin:0}.sc-digi-progress-indicator-h .digi-progress-indicator__icon.sc-digi-progress-indicator{--digi--icon--height:var(--digi--progress-indicator--icon--width);--digi--icon--width:var(--digi--progress-indicator--icon--height);--digi--icon--color:var(--digi--progress-indicator--icon--color)}.sc-digi-progress-indicator-h .digi-progress-indicator__icon--warning.sc-digi-progress-indicator{--digi--icon--height:var(\n --digi--progress-indicator--icon-status--height\n );--digi--icon--width:var(\n --digi--progress-indicator--icon-status--width\n );margin-top:4px}.sc-digi-progress-indicator-h .digi-progress-indicator__icon--error.sc-digi-progress-indicator{margin-top:4px;--digi--icon--height:var(\n --digi--progress-indicator--icon-status--height\n );--digi--icon--width:var(\n --digi--progress-indicator--icon-status--width\n );--digi--icon--color:var(\n --digi--progress-indicator--icon--error--color\n )}.sc-digi-progress-indicator-h .digi-progress-indicator__label.sc-digi-progress-indicator{font-family:var(--digi--global--typography--font-family--default);font-size:var(--digi--progress-indicator--label--font-size);line-height:var(--digi--typography--body--line-height--desktop);color:var(--digi--color--text--primary);margin:var(--digi--progress-indicator--label--margin)}.sc-digi-progress-indicator-h .digi-progress-indicator__label--steps.sc-digi-progress-indicator{font-weight:600}.sc-digi-progress-indicator-h .digi-progress-indicator__validation-label.sc-digi-progress-indicator{font-family:var(--digi--global--typography--font-family--default);font-size:var(--digi--progress-indicator--label--font-size);line-height:var(--digi--typography--body--line-height--desktop);color:var(--digi--color--text--primary);padding:var(--digi--gutter--medium) var(--digi--gutter--medium);display:flex;align-items:center}.sc-digi-progress-indicator-h .digi-progress-indicator__validation-label.sc-digi-progress-indicator span.sc-digi-progress-indicator{display:inline-block;margin-left:8px}.sc-digi-progress-indicator-h .digi-progress-indicator__validation-label--warning.sc-digi-progress-indicator{background-color:var(--digi--color--background--warning-2)}.sc-digi-progress-indicator-h .digi-progress-indicator__validation-label--error.sc-digi-progress-indicator{background-color:var(--digi--color--background--danger-2)}.sc-digi-progress-indicator-h .digi-progress-indicator__list.sc-digi-progress-indicator{position:relative;list-style:none;padding:0;margin:0;margin-top:24px;margin-bottom:16px;display:grid;grid-template-columns:repeat(auto-fit, minmax(calc(var(--digi--progress-indicator--step--size) + var(--digi--progress-indicator--gap)), 1fr));--digi--progress-indicator--step--size:var(\n --digi--progress-indicator--step--size--large\n );--digi--progress-indicator--step--size--active:var(\n --digi--progress-indicator--step--size--active--large\n );--digi--progress-indicator--gap:var(\n --digi--progress-indicator--gap--x-large\n )}@media (max-width: 36rem){.sc-digi-progress-indicator-h .digi-progress-indicator__list.sc-digi-progress-indicator{grid-template-columns:repeat(auto-fit, minmax(0.45rem, 1fr))}}.sc-digi-progress-indicator-h .digi-progress-indicator__step.sc-digi-progress-indicator{position:relative;height:var(--digi--progress-indicator--step--size--active);z-index:2}.sc-digi-progress-indicator-h .digi-progress-indicator__step.sc-digi-progress-indicator:last-child{width:var(--digi--progress-indicator--step--size--active)}.sc-digi-progress-indicator-h .digi-progress-indicator__step.sc-digi-progress-indicator:last-child::before{display:none}.sc-digi-progress-indicator-h .digi-progress-indicator__step.sc-digi-progress-indicator::before{content:\"\";position:absolute;top:50%;transform:translateY(-50%);display:inline-block;width:calc(100% - 34px);left:30px;border-top:var(--digi--progress-indicator--step--line--style) var(--digi--progress-indicator--step--line--width) var(--digi--progress-indicator--step--line--color)}@media (max-width: 36rem){.sc-digi-progress-indicator-h .digi-progress-indicator__step.sc-digi-progress-indicator::before{width:calc(100% - 1.1rem);left:1.1rem}}.sc-digi-progress-indicator-h .digi-progress-indicator__step--active.sc-digi-progress-indicator{--digi--progress-indicator--border-color:var(\n --digi--progress-indicator--border-color--active\n );--digi--progress-indicator--step--background:var(\n --digi--progress-indicator--step--background--active\n );--digi--progress-indicator--step--size:var(\n --digi--progress-indicator--step--size--active\n );--digi--progress-indicator--step--line--color:var(\n --digi--progress-indicator--step--line--color--active\n );--digi--progress-indicator--step--line--style:solid}.sc-digi-progress-indicator-h .digi-progress-indicator__step--active.sc-digi-progress-indicator .digi-progress-indicator__step-indicator.sc-digi-progress-indicator{margin-left:calc((var(--digi--progress-indicator--step--size--large) - var(--digi--progress-indicator--step--size--active--large)) / 2)}.sc-digi-progress-indicator-h .digi-progress-indicator__step--current.sc-digi-progress-indicator{--digi--progress-indicator--step--line--color:var(\n --digi--progress-indicator--step--line--color--current\n );--digi--progress-indicator--step--line--style:dashed}.sc-digi-progress-indicator-h .digi-progress-indicator__step--current.sc-digi-progress-indicator span.sc-digi-progress-indicator:not(:has(>digi-icon-validation-error)).sc-digi-progress-indicator:not(:has(>digi-icon-validation-warning)).sc-digi-progress-indicator{box-shadow:inset 0px 0px 0px 3px var(--digi--color--background--primary), 0 0 0 3px var(--digi--progress-indicator--step--background);width:1.75rem;height:1.75rem}@media (max-width: 36rem){.sc-digi-progress-indicator-h .digi-progress-indicator__step--current.sc-digi-progress-indicator span.sc-digi-progress-indicator:not(:has(>digi-icon-validation-error)).sc-digi-progress-indicator:not(:has(>digi-icon-validation-warning)).sc-digi-progress-indicator{width:1.375rem;height:1.375rem;box-shadow:inset 0px 0px 0px 3px var(--digi--color--background--primary), 0 0 0 2px var(--digi--progress-indicator--step--background)}}.sc-digi-progress-indicator-h .digi-progress-indicator__step--warning.sc-digi-progress-indicator,.sc-digi-progress-indicator-h .digi-progress-indicator__step--error.sc-digi-progress-indicator{--digi--progress-indicator--step--background:transparent}.sc-digi-progress-indicator-h .digi-progress-indicator__step--warning.sc-digi-progress-indicator .digi-progress-indicator__step-indicator.sc-digi-progress-indicator,.sc-digi-progress-indicator-h .digi-progress-indicator__step--error.sc-digi-progress-indicator .digi-progress-indicator__step-indicator.sc-digi-progress-indicator{border:0;box-shadow:inset 0px 0px 0px 2px transparent}.sc-digi-progress-indicator-h .digi-progress-indicator__step-indicator.sc-digi-progress-indicator{width:var(--digi--progress-indicator--step--size);height:var(--digi--progress-indicator--step--size);border:var(--digi--progress-indicator--step--line--style) var(--digi--progress-indicator--step--line--width) var(--digi--progress-indicator--border-color);background:var(--digi--progress-indicator--step--background);box-sizing:border-box;position:absolute;display:inline-flex;align-items:center;justify-content:center;top:50%;transform:translateY(-50%);border-radius:50%}@media (max-width: 36rem){.sc-digi-progress-indicator-h .digi-progress-indicator__step-indicator.sc-digi-progress-indicator{width:1.1rem;height:1.1rem;--digi--progress-indicator--icon-status--width:1.3rem;--digi--progress-indicator--icon-status--width:1.3rem;--digi--progress-indicator--icon--width:0.6rem;--digi--progress-indicator--icon--height:0.6rem}}.sc-digi-progress-indicator-h .digi-progress-indicator__step-number.sc-digi-progress-indicator{border:0;clip:rect(1px, 1px, 1px, 1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sc-digi-progress-indicator-h .digi-progress-indicator__circle-wrapper.sc-digi-progress-indicator{display:flex;align-items:center}.sc-digi-progress-indicator-h .digi-progress-indicator__circle.sc-digi-progress-indicator{position:relative;display:inline-block}.sc-digi-progress-indicator-h .digi-progress-indicator__circle.sc-digi-progress-indicator svg.sc-digi-progress-indicator{transform:rotate(-90deg)}.sc-digi-progress-indicator-h .digi-progress-indicator__circle-label.sc-digi-progress-indicator{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-family:var(--digi--global--typography--font-family--default);font-size:var(--digi--typography--tag--font-size--desktop);line-height:var(--digi--typography--body--line-height--desktop);color:var(--digi--color--text--primary);font-weight:600;margin:0}.sc-digi-progress-indicator-h .digi-progress-indicator__circle-step-unfinished.sc-digi-progress-indicator{stroke:var(--digi--progress-indicator--border-color)}.sc-digi-progress-indicator-h .digi-progress-indicator__circle-step-completed.sc-digi-progress-indicator{stroke:var(--digi--progress-indicator--step--background--active)}.sc-digi-progress-indicator-h .digi-progress-indicator__circle-step-warning.sc-digi-progress-indicator{stroke:var(--digi--progress-indicator--icon--warning--color)}.sc-digi-progress-indicator-h .digi-progress-indicator__circle-step-error.sc-digi-progress-indicator{stroke:var(--digi--progress-indicator--icon--error--color)}";
73
- const DigiProgressIndicatorStyle0 = progressIndicatorCss;
74
-
75
- const ProgressIndicator = class {
76
- constructor(hostRef) {
77
- registerInstance(this, hostRef);
78
- this.completedSteps = undefined;
79
- this.totalSteps = [];
80
- this.listItems = undefined;
81
- this.hasSlottedItems = undefined;
82
- this.radius = 42;
83
- this.stroke = 6;
84
- this.afCompletedSteps = undefined;
85
- this.afWarningStep = undefined;
86
- this.afErrorStep = undefined;
87
- this.afTotalSteps = undefined;
88
- this.afStepsSeparator = _t.of;
89
- this.afStepText = _t.step;
90
- this.afStepNextText = _t.progress.questions_next;
91
- this.afStepHeading = undefined;
92
- this.afStepNextLabel = undefined;
93
- this.afValidationLabel = undefined;
94
- this.afRole = ProgressIndicatorRole.STATUS;
95
- this.afVariation = ProgressIndicatorVariation.PRIMARY;
96
- this.afId = randomIdGenerator('digi-progress-indicator');
97
- }
98
- componentWillLoad() {
99
- this.changeTotalStepsHandler(this.afTotalSteps);
100
- this.getItems();
101
- }
102
- componentDidLoad() {
103
- this.getItems();
104
- }
105
- changeTotalStepsHandler(value) {
106
- const arr = [];
107
- let n = 0;
108
- while (n < value) {
109
- n++;
110
- arr.push(n);
111
- }
112
- this.totalSteps = arr;
113
- }
114
- changeCompletedStepsHandler(value) {
115
- this.completedSteps = value;
116
- }
117
- getItems(update) {
118
- let items;
119
- if (update) {
120
- items = this._observer.children;
121
- }
122
- else {
123
- items = this.hostElement.querySelectorAll('.digi-progress-indicator__slot li');
124
- }
125
- if (items.length > 0) {
126
- this.hasSlottedItems = true;
127
- this.listItems = [...items]
128
- .filter((element) => element.tagName.toLowerCase() === 'li')
129
- .map((element) => {
130
- const el = element;
131
- const checked = el.matches('.completed');
132
- return {
133
- text: element.textContent,
134
- checked: checked
135
- };
136
- });
137
- }
138
- }
139
- /**
140
- * Lyssnar på om fokus sätts på custom-elementet och propagerar ner det till själva rubrik-elementet.
141
- * @en Listens for when focus is set on the custom element and propagates it down to the actual heading element.
142
- */
143
- focusOnHeading() {
144
- this.headingElement.focus();
145
- }
146
- renderHeading() {
147
- return (h("h2", { class: "digi-progress-indicator__heading", tabIndex: -1, ref: (el) => (this.headingElement = el) }, this.afStepHeading));
148
- }
149
- get cssModifiers() {
150
- return {
151
- 'digi-progress-indicator': true,
152
- 'digi-progress-indicator--primary': this.afVariation === ProgressIndicatorVariation.PRIMARY,
153
- 'digi-progress-indicator--secondary': this.afVariation === ProgressIndicatorVariation.SECONDARY,
154
- 'digi-progress-indicator--linear': !this.hasSlottedItems
155
- };
156
- }
157
- get slottedContent() {
158
- return;
159
- }
160
- render() {
161
- return (h("div", { key: '129050ed3f0aecee43976870d8c3fe834ab498fa', class: this.cssModifiers, role: this.afRole === ProgressIndicatorRole.STATUS
162
- ? ProgressIndicatorRole.STATUS
163
- : null }, h("div", { key: 'ec760ad17be307e7078188b5f355f14008bd939d' }, this.afStepNextLabel !== undefined ? (h("div", { class: "digi-progress-indicator__content" }, this.renderHeading(), this.afCompletedSteps != this.afTotalSteps && (h("p", { class: "digi-progress-indicator__next", style: {
164
- visibility: this.afStepNextLabel !== null &&
165
- this.afStepNextLabel !== undefined
166
- ? 'visible'
167
- : 'hidden'
168
- } }, `${this.afStepNextText} ${this.afStepNextLabel}`)), this.afCompletedSteps === this.afTotalSteps && (h("p", { class: "digi-progress-indicator__next", style: {
169
- visibility: 'hidden'
170
- } }, `${this.afStepNextText} ${this.afStepNextLabel}`)))) : (h("div", { class: "digi-progress-indicator__content" }, this.renderHeading(), h("p", { class: "digi-progress-indicator__label" }, h("span", null, `${this.afStepText}`, " "), h("span", { class: "digi-progress-indicator__label--steps" }, `${this.afCompletedSteps} ${this.afStepsSeparator} ${this.afTotalSteps}`)))), !this.hasSlottedItems ? (h("ol", { class: "digi-progress-indicator__list", "aria-hidden": "true" }, this.totalSteps.map((item, i) => {
171
- return (h("li", { class: {
172
- 'digi-progress-indicator__step': true,
173
- 'digi-progress-indicator__step--active': this.afCompletedSteps > i,
174
- 'digi-progress-indicator__step--current': this.afCompletedSteps === i + 1,
175
- 'digi-progress-indicator__step--warning': this.afWarningStep === i + 1,
176
- 'digi-progress-indicator__step--error': this.afErrorStep === i + 1
177
- } }, h("span", { class: "digi-progress-indicator__step-indicator" }, this.afVariation ===
178
- ProgressIndicatorVariation.SECONDARY &&
179
- this.afCompletedSteps > i + 1 && (h("digi-icon-check", { class: "digi-progress-indicator__icon" })), this.afWarningStep === i + 1 && (h("digi-icon-validation-warning", { class: "digi-progress-indicator__icon--warning" })), this.afErrorStep === i + 1 && (h("digi-icon-validation-error", { class: "digi-progress-indicator__icon--error" })), h("span", { class: "digi-progress-indicator__step-number" }, item))));
180
- }))) : (h("ol", { class: "digi-progress-indicator__list", "aria-hidden": "true" }, this.listItems.map((item, index) => {
181
- return (h("li", { class: {
182
- 'digi-progress-indicator__step': true,
183
- 'digi-progress-indicator__step--active': item.checked || this.afCompletedSteps === index + 1,
184
- 'digi-progress-indicator__step--current': this.afCompletedSteps === index + 1
185
- } }, h("span", { class: "digi-progress-indicator__step-indicator" }, this.afVariation ===
186
- ProgressIndicatorVariation.SECONDARY &&
187
- item.checked &&
188
- this.afCompletedSteps !== index + 1 && (h("digi-icon-check", { class: "digi-progress-indicator__icon" })), h("span", { class: "digi-progress-indicator__step-number" }, index + 1))));
189
- }))), this.afStepNextLabel !== undefined && (h("p", { key: 'd22d8344fdec62143e0147e701c011ce7e189eac', class: "digi-progress-indicator__label" }, h("span", { key: '9a66cc1d054ce853a014acf2a5cbad43a1ac3e19' }, `${this.afStepText}`, " "), h("span", { key: '68bfada37c4de1fee2ec4e53ceb467831832f947', class: "digi-progress-indicator__label--steps" }, `${this.afCompletedSteps} ${this.afStepsSeparator} ${this.afTotalSteps}`)))), this.afValidationLabel && this.afWarningStep > 0 && (h("p", { key: 'd0b2f915f238245bd993401c9e16f17190258508', class: "digi-progress-indicator__validation-label digi-progress-indicator__validation-label--warning" }, h("digi-icon-validation-warning", { key: '29ce0863e62eae150df7d327d79eb516bb2d6d20', class: "digi-progress-indicator__icon--warning" }), h("span", { key: 'c360860b68c279fdb61441cb2d2d21e9b0b18101' }, this.afValidationLabel))), this.afValidationLabel && this.afErrorStep > 0 && (h("p", { key: '40839ee9f09d34803a7cf4e3800be15bfb5d8532', class: "digi-progress-indicator__validation-label digi-progress-indicator__validation-label--error" }, h("digi-icon-validation-error", { key: '81cde2de59b5d0b8965a96e2c23fdb1a586be862', class: "digi-progress-indicator__icon--error" }), h("span", { key: 'b9a33dcce30760da08233f6333acd425392d11e3' }, this.afValidationLabel))), h("div", { key: '1dcd28b87affe8aea016a0a47bacee08b2eac637', hidden: true, class: "digi-progress-indicator__slot" }, h("digi-util-mutation-observer", { key: '1d2f85e12f722cf8e322f89efcb109a377d2c09a', ref: (el) => (this._observer = el), onAfOnChange: () => this.getItems() }, h("slot", { key: 'f12c39b8602f924929873b075acb04a57bac3f12' })))));
190
- }
191
- get hostElement() { return getElement(this); }
192
- static get watchers() { return {
193
- "afTotalSteps": ["changeTotalStepsHandler"],
194
- "afCompletedSteps": ["changeCompletedStepsHandler"]
195
- }; }
196
- };
197
- ProgressIndicator.style = DigiProgressIndicatorStyle0;
198
-
199
- const typographyCss = ".digi--util--fs--xs{font-size:var(--digi--global--typography--font-size--small) !important}.digi--util--fs--s{font-size:calc(var(--digi--global--typography--font-size--small) + 1px) !important}.digi--util--fs--m{font-size:var(--digi--global--typography--font-size--base) !important}.digi--util--fs--l{font-size:var(--digi--global--typography--font-size--large) !important}.digi--util--fw--sb{font-weight:var(--digi--global--typography--font-weight--semibold) !important}.digi--util--pt--1{padding-top:var(--digi--global--spacing--smallest-2) !important}.digi--util--pt--10{padding-top:var(--digi--global--spacing--smallest) !important}.digi--util--pt--20{padding-top:var(--digi--global--spacing--base) !important}.digi--util--pt--30{padding-top:var(--digi--global--spacing--largest-2) !important}.digi--util--pt--40{padding-top:var(--digi--global--spacing--largest-4) !important}.digi--util--pt--50{padding-top:2.5rem !important}.digi--util--pt--60{padding-top:var(--digi--global--spacing--largest-5) !important}.digi--util--pt--70{padding-top:var(--digi--global--spacing--largest-6) !important}.digi--util--pt--80{padding-top:4.5rem !important}.digi--util--pt--90{padding-top:5rem !important}.digi--util--pb--1{padding-bottom:var(--digi--global--spacing--smallest-2) !important}.digi--util--pb--10{padding-bottom:var(--digi--global--spacing--smallest) !important}.digi--util--pb--20{padding-bottom:var(--digi--global--spacing--base) !important}.digi--util--pb--30{padding-bottom:var(--digi--global--spacing--largest-2) !important}.digi--util--pb--40{padding-bottom:var(--digi--global--spacing--largest-4) !important}.digi--util--pb--50{padding-bottom:2.5rem !important}.digi--util--pb--60{padding-bottom:var(--digi--global--spacing--largest-5) !important}.digi--util--pb--70{padding-bottom:var(--digi--global--spacing--largest-6) !important}.digi--util--pb--80{padding-bottom:4.5rem !important}.digi--util--pb--90{padding-bottom:5rem !important}.digi--util--p--1{padding:var(--digi--global--spacing--smallest-2) !important}.digi--util--p--10{padding:var(--digi--global--spacing--smallest) !important}.digi--util--p--20{padding:var(--digi--global--spacing--base) !important}.digi--util--p--30{padding:var(--digi--global--spacing--largest-2) !important}.digi--util--p--40{padding:var(--digi--global--spacing--largest-4) !important}.digi--util--p--50{padding:2.5rem !important}.digi--util--p--60{padding:var(--digi--global--spacing--largest-5) !important}.digi--util--p--70{padding:var(--digi--global--spacing--largest-6) !important}.digi--util--p--80{padding:4.5rem !important}.digi--util--p--90{padding:5rem !important}.digi--util--ptb--1{padding-top:var(--digi--global--spacing--smallest-2) !important;padding-bottom:var(--digi--global--spacing--smallest-2) !important}.digi--util--ptb--10{padding-top:var(--digi--global--spacing--smallest) !important;padding-bottom:var(--digi--global--spacing--smallest) !important}.digi--util--ptb--20{padding-top:var(--digi--global--spacing--base) !important;padding-bottom:var(--digi--global--spacing--base) !important}.digi--util--ptb--30{padding-top:var(--digi--global--spacing--largest-2) !important;padding-bottom:var(--digi--global--spacing--largest-2) !important}.digi--util--ptb--40{padding-top:var(--digi--global--spacing--largest-4) !important;padding-bottom:var(--digi--global--spacing--largest-4) !important}.digi--util--ptb--50{padding-top:2.5rem !important;padding-bottom:2.5rem !important}.digi--util--ptb--60{padding-top:var(--digi--global--spacing--largest-5) !important;padding-bottom:var(--digi--global--spacing--largest-5) !important}.digi--util--ptb--70{padding-top:var(--digi--global--spacing--largest-6) !important;padding-bottom:var(--digi--global--spacing--largest-6) !important}.digi--util--ptb--80{padding-top:4.5rem !important;padding-bottom:4.5rem !important}.digi--util--ptb--90{padding-top:5rem !important;padding-bottom:5rem !important}.digi--util--plr--1{padding-left:var(--digi--global--spacing--smallest-2) !important;padding-right:var(--digi--global--spacing--smallest-2) !important}.digi--util--plr--10{padding-left:var(--digi--global--spacing--smallest) !important;padding-right:var(--digi--global--spacing--smallest) !important}.digi--util--plr--20{padding-left:var(--digi--global--spacing--base) !important;padding-right:var(--digi--global--spacing--base) !important}.digi--util--plr--30{padding-left:var(--digi--global--spacing--largest-2) !important;padding-right:var(--digi--global--spacing--largest-2) !important}.digi--util--plr--40{padding-left:var(--digi--global--spacing--largest-4) !important;padding-right:var(--digi--global--spacing--largest-4) !important}.digi--util--plr--50{padding-left:2.5rem !important;padding-right:2.5rem !important}.digi--util--plr--60{padding-left:var(--digi--global--spacing--largest-5) !important;padding-right:var(--digi--global--spacing--largest-5) !important}.digi--util--plr--70{padding-left:var(--digi--global--spacing--largest-6) !important;padding-right:var(--digi--global--spacing--largest-6) !important}.digi--util--plr--80{padding-left:4.5rem !important;padding-right:4.5rem !important}.digi--util--plr--90{padding-left:5rem !important;padding-right:5rem !important}.digi--util--sr-only{border:0;clip:rect(1px, 1px, 1px, 1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.digi--util--hidden{display:none}digi-typography{--digi--typography--h1--margin--small:var(--digi--margin--h1-small);--digi--typography--h1--margin--medium:var(--digi--margin--h1-medium);--digi--typography--h1--margin--large:var(--digi--margin--h1-large);--digi--typography--h2--margin--small:var(--digi--margin--h2-small);--digi--typography--h2--margin--large:var(--digi--margin--h2-large);--digi--typography--h3--margin--small:var(--digi--margin--h3-small);--digi--typography--h3--margin--large:var(--digi--margin--h3-large);--digi--typography--h4--margin--small:var(--digi--margin--h4-h6-small);--digi--typography--h4--margin--large:var(--digi--margin--h4-h6-large);--digi--typography--h5--margin--small:var(--digi--margin--h4-h6-small);--digi--typography--h6--margin--large:var(--digi--margin--h4-h6-large);--digi--typography--paragraph--margin--small:var(--digi--margin--text-small);--digi--typography--paragraph--margin--large:var(--digi--margin--text-large);--digi--typography--paragraph--margin-top:initial;--digi--typography--color--text:var(--digi--color--text--primary);--digi--typography--text-decoration-thickness--hover:0.156em;--digi--typography--text-decoration-thickness--default:0.05em;--digi--typography--text-underline-offset:3px;font-family:var(--digi--global--typography--font-family--default);color:var(--digi--typography--color--text);--FONT-SIZE--BODY:var(--digi--typography--body--font-size--mobile);--LINE-HEIGHT--BODY:var(--digi--typography--body--line-height--mobile);--FONT-WEIGHT--BODY:var(--digi--typography--body--font-weight--mobile);--TEXT-DECORATION--BODY:var(\n --digi--typography--body--text-decoration--mobile\n );--MARGIN--BODY:var(--digi--typography--paragraph--margin--small);--FONT-SIZE--LINK:var(--digi--typography--link--font-size--mobile);--LINE-HEIGHT--LINK:var(--digi--typography--link--line-height--mobile);--FONT-WEIGHT--LINK:var(--digi--typography--link--font-weight--mobile);--TEXT-DECORATION--LINK:var(\n --digi--typography--link--text-decoration--mobile\n );--FONT-SIZE--HEADING-1:var(--digi--typography--heading-1--font-size--mobile);--LINE-HEIGHT--HEADING-1:var(\n --digi--typography--heading-1--line-height--mobile\n );--FONT-WEIGHT--HEADING-1:var(\n --digi--typography--heading-1--font-weight--mobile\n );--TEXT-DECORATION--HEADING-1:var(\n --digi--typography--heading-1--text-decoration--mobile\n );--MARGIN--HEADING-1:var(--digi--typography--h1--margin--small);--FONT-SIZE--HEADING-2:var(--digi--typography--heading-2--font-size--mobile);--LINE-HEIGHT--HEADING-2:var(\n --digi--typography--heading-2--line-height--mobile\n );--FONT-WEIGHT--HEADING-2:var(\n --digi--typography--heading-2--font-weight--mobile\n );--TEXT-DECORATION--HEADING-2:var(\n --digi--typography--heading-2--text-decoration--mobile\n );--MARGIN--HEADING-2:var(--digi--typography--h2--margin--small);--FONT-SIZE--HEADING-3:var(--digi--typography--heading-3--font-size--mobile);--LINE-HEIGHT--HEADING-3:var(\n --digi--typography--heading-3--line-height--mobile\n );--FONT-WEIGHT--HEADING-3:var(\n --digi--typography--heading-3--font-weight--mobile\n );--TEXT-DECORATION--HEADING-3:var(\n --digi--typography--heading-3--text-decoration--mobile\n );--MARGIN--HEADING-3:var(--digi--typography--h3--margin--small);--FONT-SIZE--HEADING-4:var(--digi--typography--heading-4--font-size--mobile);--LINE-HEIGHT--HEADING-4:var(\n --digi--typography--heading-4--line-height--mobile\n );--FONT-WEIGHT--HEADING-4:var(\n --digi--typography--heading-4--font-weight--mobile\n );--TEXT-DECORATION--HEADING-4:var(\n --digi--typography--heading-4--text-decoration--mobile\n );--MARGIN--HEADING-4:var(--digi--typography--h4--margin--small);--FONT-SIZE--HEADING-5:var(--digi--typography--heading-4--font-size--mobile);--LINE-HEIGHT--HEADING-5:var(\n --digi--typography--heading-4--line-height--mobile\n );--FONT-WEIGHT--HEADING-5:var(\n --digi--typography--heading-4--font-weight--mobile\n );--TEXT-DECORATION--HEADING-5:var(\n --digi--typography--heading-4--text-decoration--mobile\n );--MARGIN--HEADING-5:var(--digi--typography--h4--margin--small);--FONT-SIZE--HEADING-6:var(--digi--typography--heading-4--font-size--mobile);--LINE-HEIGHT--HEADING-6:var(\n --digi--typography--heading-4--line-height--mobile\n );--FONT-WEIGHT--HEADING-6:var(\n --digi--typography--heading-4--font-weight--mobile\n );--TEXT-DECORATION--HEADING-6:var(\n --digi--typography--heading-4--text-decoration--mobile\n );--MARGIN--HEADING-6:var(--digi--typography--h4--margin--small);font-size:var(--FONT-SIZE--BODY);line-height:var(--LINE-HEIGHT--BODY);font-weight:var(--FONT-WEIGHT--BODY);text-decoration:var(--TEXT-DECORATION--BODY)}@media (min-width: 62rem){digi-typography{--FONT-SIZE--BODY:var(--digi--typography--body--font-size--desktop);--LINE-HEIGHT--BODY:var(--digi--typography--body--line-height--desktop);--FONT-WEIGHT--BODY:var(--digi--typography--body--font-weight--desktop);--TEXT-DECORATION--BODY:var(\n --digi--typography--body--text-decoration--desktop\n );--MARGIN--BODY:var(--digi--typography--paragraph--margin--small);--FONT-SIZE--LINK:var(--digi--typography--link--font-size--desktop);--LINE-HEIGHT--LINK:var(--digi--typography--link--line-height--desktop);--FONT-WEIGHT--LINK:var(--digi--typography--link--font-weight--desktop);--TEXT-DECORATION--LINK:var(\n --digi--typography--link--text-decoration--desktop\n );--FONT-SIZE--HEADING-1:var(\n --digi--typography--heading-1--font-size--desktop\n );--LINE-HEIGHT--HEADING-1:var(\n --digi--typography--heading-1--line-height--desktop\n );--FONT-WEIGHT--HEADING-1:var(\n --digi--typography--heading-1--font-weight--desktop\n );--TEXT-DECORATION--HEADING-1:var(\n --digi--typography--heading-1--text-decoration--desktop\n );--MARGIN--HEADING-1:var(--digi--typography--h1--margin--medium);--FONT-SIZE--HEADING-2:var(\n --digi--typography--heading-2--font-size--desktop\n );--LINE-HEIGHT--HEADING-2:var(\n --digi--typography--heading-2--line-height--desktop\n );--FONT-WEIGHT--HEADING-2:var(\n --digi--typography--heading-2--font-weight--desktop\n );--TEXT-DECORATION--HEADING-2:var(\n --digi--typography--heading-2--text-decoration--desktop\n );--MARGIN--HEADING-2:var(--digi--typography--h2--margin--small);--FONT-SIZE--HEADING-3:var(\n --digi--typography--heading-3--font-size--desktop\n );--LINE-HEIGHT--HEADING-3:var(\n --digi--typography--heading-3--line-height--desktop\n );--FONT-WEIGHT--HEADING-3:var(\n --digi--typography--heading-3--font-weight--desktop\n );--TEXT-DECORATION--HEADING-3:var(\n --digi--typography--heading-3--text-decoration--desktop\n );--MARGIN--HEADING-3:var(--digi--typography--h3--margin--small);--FONT-SIZE--HEADING-4:var(\n --digi--typography--heading-4--font-size--desktop\n );--LINE-HEIGHT--HEADING-4:var(\n --digi--typography--heading-4--line-height--desktop\n );--FONT-WEIGHT--HEADING-4:var(\n --digi--typography--heading-4--font-weight--desktop\n );--TEXT-DECORATION--HEADING-4:var(\n --digi--typography--heading-4--text-decoration--desktop\n );--MARGIN--HEADING-4:var(--digi--typography--h4--margin--small);--FONT-SIZE--HEADING-5:var(\n --digi--typography--heading-4--font-size--desktop\n );--LINE-HEIGHT--HEADING-5:var(\n --digi--typography--heading-4--line-height--desktop\n );--FONT-WEIGHT--HEADING-5:var(\n --digi--typography--heading-4--font-weight--desktop\n );--TEXT-DECORATION--HEADING-5:var(\n --digi--typography--heading-4--text-decoration--desktop\n );--MARGIN--HEADING-5:var(--digi--typography--h5--margin--small);--FONT-SIZE--HEADING-6:var(\n --digi--typography--heading-4--font-size--desktop\n );--LINE-HEIGHT--HEADING-6:var(\n --digi--typography--heading-4--line-height--desktop\n );--FONT-WEIGHT--HEADING-6:var(\n --digi--typography--heading-4--font-weight--desktop\n );--TEXT-DECORATION--HEADING-6:var(\n --digi--typography--heading-4--text-decoration--desktop\n );--MARGIN--HEADING-6:var(--digi--typography--h6--margin--small)}}digi-typography .digi-typography--large{--FONT-SIZE--BODY:var(--digi--typography--body--font-size--desktop);--LINE-HEIGHT--BODY:var(--digi--typography--body--line-height--desktop);--FONT-WEIGHT--BODY:var(--digi--typography--body--font-weight--desktop);--TEXT-DECORATION--BODY:var(\n --digi--typography--body--text-decoration--desktop\n );--MARGIN--BODY:var(--digi--typography--paragraph--margin--small);--FONT-SIZE--LINK:var(--digi--typography--link--font-size--desktop);--LINE-HEIGHT--LINK:var(--digi--typography--link--line-height--desktop);--FONT-WEIGHT--LINK:var(--digi--typography--link--font-weight--desktop);--TEXT-DECORATION--LINK:var(\n --digi--typography--link--text-decoration--desktop\n );--FONT-SIZE--HEADING-1:var(\n --digi--typography--heading-1--font-size--desktop\n );--LINE-HEIGHT--HEADING-1:var(\n --digi--typography--heading-1--line-height--desktop\n );--FONT-WEIGHT--HEADING-1:var(\n --digi--typography--heading-1--font-weight--desktop\n );--TEXT-DECORATION--HEADING-1:var(\n --digi--typography--heading-1--text-decoration--desktop\n );--MARGIN--HEADING-1:var(--digi--typography--h1--margin--medium);--FONT-SIZE--HEADING-2:var(\n --digi--typography--heading-2--font-size--desktop\n );--LINE-HEIGHT--HEADING-2:var(\n --digi--typography--heading-2--line-height--desktop\n );--FONT-WEIGHT--HEADING-2:var(\n --digi--typography--heading-2--font-weight--desktop\n );--TEXT-DECORATION--HEADING-2:var(\n --digi--typography--heading-2--text-decoration--desktop\n );--MARGIN--HEADING-2:var(--digi--typography--h2--margin--small);--FONT-SIZE--HEADING-3:var(\n --digi--typography--heading-3--font-size--desktop\n );--LINE-HEIGHT--HEADING-3:var(\n --digi--typography--heading-3--line-height--desktop\n );--FONT-WEIGHT--HEADING-3:var(\n --digi--typography--heading-3--font-weight--desktop\n );--TEXT-DECORATION--HEADING-3:var(\n --digi--typography--heading-3--text-decoration--desktop\n );--MARGIN--HEADING-3:var(--digi--typography--h3--margin--small);--FONT-SIZE--HEADING-4:var(\n --digi--typography--heading-4--font-size--desktop\n );--LINE-HEIGHT--HEADING-4:var(\n --digi--typography--heading-4--line-height--desktop\n );--FONT-WEIGHT--HEADING-4:var(\n --digi--typography--heading-4--font-weight--desktop\n );--TEXT-DECORATION--HEADING-4:var(\n --digi--typography--heading-4--text-decoration--desktop\n );--MARGIN--HEADING-4:var(--digi--typography--h4--margin--small);--FONT-SIZE--HEADING-5:var(\n --digi--typography--heading-4--font-size--desktop\n );--LINE-HEIGHT--HEADING-5:var(\n --digi--typography--heading-4--line-height--desktop\n );--FONT-WEIGHT--HEADING-5:var(\n --digi--typography--heading-4--font-weight--desktop\n );--TEXT-DECORATION--HEADING-5:var(\n --digi--typography--heading-4--text-decoration--desktop\n );--MARGIN--HEADING-5:var(--digi--typography--h5--margin--small);--FONT-SIZE--HEADING-6:var(\n --digi--typography--heading-4--font-size--desktop\n );--LINE-HEIGHT--HEADING-6:var(\n --digi--typography--heading-4--line-height--desktop\n );--FONT-WEIGHT--HEADING-6:var(\n --digi--typography--heading-4--font-weight--desktop\n );--TEXT-DECORATION--HEADING-6:var(\n --digi--typography--heading-4--text-decoration--desktop\n );--MARGIN--HEADING-6:var(--digi--typography--h6--margin--small)}@media (min-width: 62rem){digi-typography .digi-typography--large{--FONT-SIZE--BODY:var(--digi--typography--body--font-size--desktop-large);--LINE-HEIGHT--BODY:var(\n --digi--typography--body--line-height--desktop-large\n );--FONT-WEIGHT--BODY:var(\n --digi--typography--body--font-weight--desktop-large\n );--TEXT-DECORATION--BODY:var(\n --digi--typography--body--text-decoration--desktop-large\n );--MARGIN--BODY:var(--digi--typography--paragraph--margin--large);--FONT-SIZE--LINK:var(--digi--typography--link--font-size--desktop-large);--LINE-HEIGHT--LINK:var(\n --digi--typography--link--line-height--desktop-large\n );--FONT-WEIGHT--LINK:var(\n --digi--typography--link--font-weight--desktop-large\n );--TEXT-DECORATION--LINK:var(\n --digi--typography--link--text-decoration--desktop-large\n );--FONT-SIZE--HEADING-1:var(\n --digi--typography--heading-1--font-size--desktop-large\n );--LINE-HEIGHT--HEADING-1:var(\n --digi--typography--heading-1--line-height--desktop-large\n );--FONT-WEIGHT--HEADING-1:var(\n --digi--typography--heading-1--font-weight--desktop-large\n );--TEXT-DECORATION--HEADING-1:var(\n --digi--typography--heading-1--text-decoration--desktop-large\n );--MARGIN--HEADING-1:var(--digi--typography--h1--margin--large);--FONT-SIZE--HEADING-2:var(\n --digi--typography--heading-2--font-size--desktop-large\n );--LINE-HEIGHT--HEADING-2:var(\n --digi--typography--heading-2--line-height--desktop-large\n );--FONT-WEIGHT--HEADING-2:var(\n --digi--typography--heading-2--font-weight--desktop-large\n );--TEXT-DECORATION--HEADING-2:var(\n --digi--typography--heading-2--text-decoration--desktop-large\n );--MARGIN--HEADING-2:var(--digi--typography--h2--margin--large);--FONT-SIZE--HEADING-3:var(\n --digi--typography--heading-3--font-size--desktop-large\n );--LINE-HEIGHT--HEADING-3:var(\n --digi--typography--heading-3--line-height--desktop-large\n );--FONT-WEIGHT--HEADING-3:var(\n --digi--typography--heading-3--font-weight--desktop-large\n );--TEXT-DECORATION--HEADING-3:var(\n --digi--typography--heading-3--text-decoration--desktop-large\n );--MARGIN--HEADING-3:var(--digi--typography--h3--margin--large);--FONT-SIZE--HEADING-4:var(\n --digi--typography--heading-4--font-size--desktop-large\n );--LINE-HEIGHT--HEADING-4:var(\n --digi--typography--heading-4--line-height--desktop-large\n );--FONT-WEIGHT--HEADING-4:var(\n --digi--typography--heading-4--font-weight--desktop-large\n );--TEXT-DECORATION--HEADING-4:var(\n --digi--typography--heading-4--text-decoration--desktop-large\n );--MARGIN--HEADING-4:var(--digi--typography--h4--margin--large);--FONT-SIZE--HEADING-5:var(\n --digi--typography--heading-4--font-size--desktop-large\n );--LINE-HEIGHT--HEADING-5:var(\n --digi--typography--heading-4--line-height--desktop-large\n );--FONT-WEIGHT--HEADING-5:var(\n --digi--typography--heading-4--font-weight--desktop-large\n );--TEXT-DECORATION--HEADING-5:var(\n --digi--typography--heading-4--text-decoration--desktop-large\n );--MARGIN--HEADING-5:var(--digi--typography--h5--margin--large);--FONT-SIZE--HEADING-6:var(\n --digi--typography--heading-4--font-size--desktop-large\n );--LINE-HEIGHT--HEADING-6:var(\n --digi--typography--heading-4--line-height--desktop-large\n );--FONT-WEIGHT--HEADING-6:var(\n --digi--typography--heading-4--font-weight--desktop-large\n );--TEXT-DECORATION--HEADING-6:var(\n --digi--typography--heading-4--text-decoration--desktop-large\n );--MARGIN--HEADING-6:var(--digi--typography--h6--margin--large)}}digi-typography .digi-typography--hide-visited a:visited{color:var(--digi--color--text--link-secondary, var(--digi--color--text--link))}digi-typography h1,digi-typography h2,digi-typography h3,digi-typography h4,digi-typography h5,digi-typography h6{margin-top:0;}digi-typography h1,digi-typography .digi-h1{font-size:var(--FONT-SIZE--HEADING-1);line-height:var(--LINE-HEIGHT--HEADING-1);font-weight:var(--FONT-WEIGHT--HEADING-1);text-decoration:var(--TEXT-DECORATION--HEADING-1);margin-bottom:var(--MARGIN--HEADING-1)}digi-typography h2,digi-typography .digi-h2{font-size:var(--FONT-SIZE--HEADING-2);line-height:var(--LINE-HEIGHT--HEADING-2);font-weight:var(--FONT-WEIGHT--HEADING-2);text-decoration:var(--TEXT-DECORATION--HEADING-2);margin-bottom:var(--MARGIN--HEADING-2)}digi-typography h3,digi-typography .digi-h3{font-size:var(--FONT-SIZE--HEADING-3);line-height:var(--LINE-HEIGHT--HEADING-3);font-weight:var(--FONT-WEIGHT--HEADING-3);text-decoration:var(--TEXT-DECORATION--HEADING-3);margin-bottom:var(--MARGIN--HEADING-3)}digi-typography h4,digi-typography .digi-h4{font-size:var(--FONT-SIZE--HEADING-4);line-height:var(--LINE-HEIGHT--HEADING-4);font-weight:var(--FONT-WEIGHT--HEADING-4);text-decoration:var(--TEXT-DECORATION--HEADING-4);margin-bottom:var(--MARGIN--HEADING-4)}digi-typography h5,digi-typography .digi-h5{font-size:var(--FONT-SIZE--HEADING-5);line-height:var(--LINE-HEIGHT--HEADING-5);font-weight:var(--FONT-WEIGHT--HEADING-5);text-decoration:var(--TEXT-DECORATION--HEADING-5);margin-bottom:var(--MARGIN--HEADING-5)}digi-typography h6,digi-typography .digi-h6{font-size:var(--FONT-SIZE--HEADING-6);line-height:var(--LINE-HEIGHT--HEADING-6);font-weight:var(--FONT-WEIGHT--HEADING-6);text-decoration:var(--TEXT-DECORATION--HEADING-6);margin-bottom:var(--MARGIN--HEADING-6)}digi-typography p,digi-typography blockquote{font-size:var(--FONT-SIZE--BODY);line-height:var(--LINE-HEIGHT--BODY);font-weight:var(--FONT-WEIGHT--BODY);text-decoration:var(--TEXT-DECORATION--BODY);margin-top:initial;margin-bottom:var(--MARGIN--BODY);max-width:var(--digi--paragraph-width--medium)}digi-typography p:last-child,digi-typography blockquote:last-child{margin-bottom:0}digi-typography blockquote{margin-inline:0}digi-typography digi-typography-preamble{display:block;margin-bottom:var(--MARGIN--BODY)}digi-typography digi-typography-preamble:last-child{margin-bottom:0}digi-typography ul,digi-typography ol,digi-typography dl{font-size:var(--FONT-SIZE--BODY);line-height:var(--LINE-HEIGHT--BODY);font-weight:var(--FONT-WEIGHT--BODY);text-decoration:var(--TEXT-DECORATION--BODY);max-width:var(--digi--paragraph-width--medium);margin-bottom:var(--MARGIN--BODY)}digi-typography ul,digi-typography ol{margin:0 0 var(--MARGIN--BODY) 0;padding-inline-start:1.5rem}digi-typography ul li,digi-typography ol li{margin-top:initial;margin-bottom:0.5rem;box-sizing:border-box;width:100%;padding-left:0}digi-typography ul li:last-child,digi-typography ol li:last-child{margin-bottom:0}digi-typography a{font-size:1em;line-height:var(--LINE-HEIGHT--LINK);font-weight:inherit;text-decoration:var(--TEXT-DECORATION--LINK);color:var(--digi--color--text--link-secondary, var(--digi--color--text--link));text-decoration-thickness:var(--digi--typography--text-decoration-thickness--default);text-underline-offset:var(--digi--typography--text-underline-offset)}digi-typography a:hover{text-decoration:var(--TEXT-DECORATION--LINK);text-decoration-thickness:var(--digi--typography--text-decoration-thickness--hover)}digi-typography a:focus-visible{outline:2px solid black;outline-offset:2px;box-shadow:0px 0px 0px 5px white}digi-typography a:visited{color:var(--digi--color--text--link-secondary-visited, var(--digi--color--text--link-visited))}digi-typography strong{font-weight:var(--digi--typography--label--font-weight--desktop)}";
200
- const DigiTypographyStyle0 = typographyCss;
201
-
202
- const Typography = class {
203
- constructor(hostRef) {
204
- registerInstance(this, hostRef);
205
- this.afVariation = TypographyVariation.SMALL;
206
- this.hideVisitedColor = undefined;
207
- }
208
- get cssModifiers() {
209
- return {
210
- 'digi-typography--large': this.afVariation === TypographyVariation.LARGE,
211
- 'digi-typography--small': this.afVariation === TypographyVariation.SMALL,
212
- 'digi-typography--hide-visited': this.hideVisitedColor
213
- };
214
- }
215
- render() {
216
- return (h("div", { key: '4a881c4feb6cbe1cf6b50a49209d0ba3ed373324', class: Object.assign({ 'digi-typography': true }, this.cssModifiers) }, h("slot", { key: '4935b0dbadff8ed9f1830b23caa976701a29343e' })));
217
- }
218
- };
219
- Typography.style = DigiTypographyStyle0;
220
-
221
- const UtilMutationObserver = class {
222
- constructor(hostRef) {
223
- registerInstance(this, hostRef);
224
- this.afOnChange = createEvent(this, "afOnChange", 7);
225
- this._observer = null;
226
- this._isObserving = false;
227
- this.afId = randomIdGenerator('digi-util-mutation-observer');
228
- this.afOptions = {
229
- attributes: false,
230
- childList: true,
231
- subtree: false,
232
- characterData: false
233
- };
234
- }
235
- afOptionsWatcher(newValue) {
236
- this._afOptions =
237
- typeof newValue === 'string' ? JSON.parse(newValue) : newValue;
238
- }
239
- componentWillLoad() {
240
- this.afOptionsWatcher(this.afOptions);
241
- this.initObserver();
242
- }
243
- disconnectedCallback() {
244
- if (this._isObserving) {
245
- this.removeObserver();
246
- }
247
- }
248
- initObserver() {
249
- this._observer = new MutationObserver((mutationsList) => {
250
- for (const mutation of mutationsList) {
251
- if (mutation.type === 'childList' ||
252
- mutation.type === 'attributes' ||
253
- mutation.type === 'characterData') {
254
- this.changeHandler(mutation);
255
- }
256
- }
257
- });
258
- this._observer.observe(this.$el, this._afOptions);
259
- this._isObserving = true;
260
- }
261
- removeObserver() {
262
- this._observer.disconnect();
263
- this._isObserving = false;
264
- }
265
- changeHandler(e) {
266
- this.afOnChange.emit(e);
267
- }
268
- render() {
269
- h("div", { id: this.afId, ref: (el) => (this.$el = el) }, h("slot", null));
270
- }
271
- get $el() { return getElement(this); }
272
- static get watchers() { return {
273
- "afOptions": ["afOptionsWatcher"]
274
- }; }
275
- };
276
-
277
- export { IconCheck as digi_icon_check, IconValidationError as digi_icon_validation_error, IconValidationWarning as digi_icon_validation_warning, ProgressIndicator as digi_progress_indicator, Typography as digi_typography, UtilMutationObserver as digi_util_mutation_observer };
@@ -1,26 +0,0 @@
1
- import { r as registerInstance, h } from './index-8e318bb2.js';
2
- import { r as randomIdGenerator } from './randomIdGenerator.util-56406f2e.js';
3
-
4
- const iconChevronDownCss = ".sc-digi-icon-chevron-down-h{--digi--icon--color:var(--digi--color--icons--primary);--digi--icon--width:initial;--digi--icon--height:auto;display:flex;min-height:1.4em;align-items:center}.sc-digi-icon-chevron-down-h svg.sc-digi-icon-chevron-down{color:var(--digi--icon--color);max-width:var(--digi--icon--width);max-height:var(--digi--icon--height);width:var(--digi--icon--width, auto);height:var(--digi--icon--height, auto)}";
5
- const DigiIconChevronDownStyle0 = iconChevronDownCss;
6
-
7
- const IconChevronDown = class {
8
- constructor(hostRef) {
9
- registerInstance(this, hostRef);
10
- this.afTitle = undefined;
11
- this.afDesc = undefined;
12
- this.afSvgAriaHidden = true;
13
- this.afSvgAriaLabelledby = undefined;
14
- this.titleId = randomIdGenerator('icontitle');
15
- }
16
- render() {
17
- return (h("svg", { key: '5ac426b453a30750f70586d7ba38119c3ac36a73', class: "digi-icon-chevron-down", width: "14", height: "8", viewBox: "0 0 14 8", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
18
- ? this.afSvgAriaLabelledby
19
- : this.afTitle
20
- ? this.titleId
21
- : undefined }, this.afTitle && h("title", { key: '7f9ebb68d4f0a68f17df66c02e290e46b24a3004', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: '5267ccd4d49aaf68cc85bb84dbcca21b1540d8c5' }, this.afDesc), h("path", { key: '4c0d7b31ff1e20fc32941d442ca3b04ca8349081', class: "digi-icon-chevron-down__shape", d: "M1 1l6.074 6L13 1.147", stroke: "currentColor", "stroke-width": "2", fill: "none", "fill-rule": "evenodd" })));
22
- }
23
- };
24
- IconChevronDown.style = DigiIconChevronDownStyle0;
25
-
26
- export { IconChevronDown as digi_icon_chevron_down };
@@ -1,79 +0,0 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-8e318bb2.js';
2
- import { K as KEY_CODE, k as keyboardHandler } from './keyboardHandler.util-383c0054.js';
3
-
4
- const UtilKeydownHandler = class {
5
- constructor(hostRef) {
6
- registerInstance(this, hostRef);
7
- this.afOnEsc = createEvent(this, "afOnEsc", 7);
8
- this.afOnEnter = createEvent(this, "afOnEnter", 7);
9
- this.afOnTab = createEvent(this, "afOnTab", 7);
10
- this.afOnSpace = createEvent(this, "afOnSpace", 7);
11
- this.afOnShiftTab = createEvent(this, "afOnShiftTab", 7);
12
- this.afOnUp = createEvent(this, "afOnUp", 7);
13
- this.afOnDown = createEvent(this, "afOnDown", 7);
14
- this.afOnLeft = createEvent(this, "afOnLeft", 7);
15
- this.afOnRight = createEvent(this, "afOnRight", 7);
16
- this.afOnHome = createEvent(this, "afOnHome", 7);
17
- this.afOnEnd = createEvent(this, "afOnEnd", 7);
18
- this.afOnKeyDown = createEvent(this, "afOnKeyDown", 7);
19
- }
20
- keydownHandler(e) {
21
- const key = keyboardHandler(e);
22
- switch (key) {
23
- case KEY_CODE.SHIFT_TAB:
24
- this.afOnShiftTab.emit(e);
25
- break;
26
- case KEY_CODE.DOWN_ARROW:
27
- this.afOnDown.emit(e);
28
- this.afOnKeyDown.emit(e);
29
- break;
30
- case KEY_CODE.UP_ARROW:
31
- this.afOnUp.emit(e);
32
- this.afOnKeyDown.emit(e);
33
- break;
34
- case KEY_CODE.LEFT_ARROW:
35
- this.afOnLeft.emit(e);
36
- this.afOnKeyDown.emit(e);
37
- break;
38
- case KEY_CODE.RIGHT_ARROW:
39
- this.afOnRight.emit(e);
40
- this.afOnKeyDown.emit(e);
41
- break;
42
- case KEY_CODE.ENTER:
43
- this.afOnEnter.emit(e);
44
- this.afOnKeyDown.emit(e);
45
- break;
46
- case KEY_CODE.ESCAPE:
47
- this.afOnEsc.emit(e);
48
- this.afOnKeyDown.emit(e);
49
- break;
50
- case KEY_CODE.TAB:
51
- this.afOnTab.emit(e);
52
- this.afOnKeyDown.emit(e);
53
- break;
54
- case KEY_CODE.SPACE:
55
- this.afOnSpace.emit(e);
56
- this.afOnKeyDown.emit(e);
57
- break;
58
- case KEY_CODE.HOME:
59
- this.afOnHome.emit(e);
60
- this.afOnKeyDown.emit(e);
61
- break;
62
- case KEY_CODE.END:
63
- this.afOnEnd.emit(e);
64
- this.afOnKeyDown.emit(e);
65
- break;
66
- case KEY_CODE.ANY:
67
- this.afOnKeyDown.emit(e);
68
- break;
69
- default:
70
- this.afOnKeyDown.emit(e);
71
- return;
72
- }
73
- }
74
- render() {
75
- return h("slot", { key: 'e07347cd86e34c905bf0a0b19eee84dc4f201a30' });
76
- }
77
- };
78
-
79
- export { UtilKeydownHandler as digi_util_keydown_handler };
@@ -1,8 +0,0 @@
1
- var FormInputSearchVariation;
2
- (function (FormInputSearchVariation) {
3
- FormInputSearchVariation["SMALL"] = "small";
4
- FormInputSearchVariation["MEDIUM"] = "medium";
5
- FormInputSearchVariation["LARGE"] = "large";
6
- })(FormInputSearchVariation || (FormInputSearchVariation = {}));
7
-
8
- export { FormInputSearchVariation as F };
@@ -1,29 +0,0 @@
1
- var FormInputMode;
2
- (function (FormInputMode) {
3
- FormInputMode["DEFAULT"] = "";
4
- FormInputMode["NONE"] = "none";
5
- FormInputMode["TEXT"] = "text";
6
- FormInputMode["DECIMAL"] = "decimal";
7
- FormInputMode["NUMERIC"] = "numeric";
8
- FormInputMode["TEL"] = "tel";
9
- FormInputMode["SEARCH"] = "search";
10
- FormInputMode["EMAIL"] = "email";
11
- FormInputMode["URL"] = "url";
12
- })(FormInputMode || (FormInputMode = {}));
13
-
14
- var FormInputValidation;
15
- (function (FormInputValidation) {
16
- FormInputValidation["SUCCESS"] = "success";
17
- FormInputValidation["ERROR"] = "error";
18
- FormInputValidation["WARNING"] = "warning";
19
- FormInputValidation["NEUTRAL"] = "neutral";
20
- })(FormInputValidation || (FormInputValidation = {}));
21
-
22
- var FormInputVariation;
23
- (function (FormInputVariation) {
24
- FormInputVariation["SMALL"] = "small";
25
- FormInputVariation["MEDIUM"] = "medium";
26
- FormInputVariation["LARGE"] = "large";
27
- })(FormInputVariation || (FormInputVariation = {}));
28
-
29
- export { FormInputMode as F, FormInputValidation as a, FormInputVariation as b };
@@ -1,8 +0,0 @@
1
- var FormValidationMessageVariation;
2
- (function (FormValidationMessageVariation) {
3
- FormValidationMessageVariation["SUCCESS"] = "success";
4
- FormValidationMessageVariation["ERROR"] = "error";
5
- FormValidationMessageVariation["WARNING"] = "warning";
6
- })(FormValidationMessageVariation || (FormValidationMessageVariation = {}));
7
-
8
- export { FormValidationMessageVariation as F };