@designsystem-se/af 36.0.3 → 37.0.1

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 (212) hide show
  1. package/components/digi-code-example.js +1 -1
  2. package/components/digi-form-checkbox.js +1 -1
  3. package/components/digi-form-error-list.js +2 -2
  4. package/components/digi-form-filter.js +1 -1
  5. package/components/digi-form-textarea.js +15 -3
  6. package/components/digi-header-avatar.js +1 -1
  7. package/components/digi-header.js +3 -3
  8. package/components/digi-info-card.js +2 -2
  9. package/components/digi-link-button.js +1 -1
  10. package/components/digi-link-external.js +1 -1
  11. package/components/digi-link-internal.js +1 -1
  12. package/components/digi-link.js +1 -1
  13. package/components/digi-navigation-vertical-menu-item.js +6 -6
  14. package/components/digi-notification-alert.js +1 -1
  15. package/components/digi-tools-feedback-banner.js +2 -2
  16. package/components/digi-tools-feedback-rating.js +2 -2
  17. package/components/{p-0c919531.js → p-7b97818b.js} +1 -1
  18. package/components/{p-cd0370eb.js → p-7ff04204.js} +3 -3
  19. package/components/{p-85633f84.js → p-b57677c1.js} +2 -2
  20. package/components/{p-358965ba.js → p-ea46c737.js} +2 -2
  21. package/components/{p-f22b488a.js → p-ff4f4fb8.js} +2 -2
  22. package/custom-elements.json +9 -5
  23. package/dist/cjs/{code-example-variation.enum-c6557727.js → code-example-variation.enum-1611825e.js} +6 -0
  24. package/dist/cjs/digi-arbetsformedlingen.cjs.js +1 -1
  25. package/dist/cjs/digi-button_17.cjs.entry.js +1120 -0
  26. package/dist/cjs/digi-calendar-datepicker.cjs.entry.js +3 -6
  27. package/dist/cjs/digi-code-block_3.cjs.entry.js +4 -7
  28. package/dist/cjs/digi-code-example.cjs.entry.js +4 -5
  29. package/dist/cjs/digi-dialog.cjs.entry.js +4 -7
  30. package/dist/cjs/digi-footer.cjs.entry.js +3 -6
  31. package/dist/cjs/digi-form-checkbox.cjs.entry.js +2 -2
  32. package/dist/cjs/digi-form-error-list.cjs.entry.js +4 -7
  33. package/dist/cjs/digi-form-input-search.cjs.entry.js +2 -3
  34. package/dist/cjs/digi-form-label_3.cjs.entry.js +129 -0
  35. package/dist/cjs/digi-form-receipt.cjs.entry.js +3 -6
  36. package/dist/cjs/digi-form-select-filter.cjs.entry.js +3 -6
  37. package/dist/cjs/digi-form-select_2.cjs.entry.js +186 -0
  38. package/dist/cjs/digi-form-textarea.cjs.entry.js +14 -3
  39. package/dist/cjs/digi-icon-external-link-alt_2.cjs.entry.js +1 -1
  40. package/dist/cjs/digi-icon-validation-error_2.cjs.entry.js +53 -0
  41. package/dist/cjs/digi-link-button.cjs.entry.js +1 -1
  42. package/dist/cjs/digi-link-internal.cjs.entry.js +1 -1
  43. package/dist/cjs/digi-link.cjs.entry.js +1 -1
  44. package/dist/cjs/digi-navigation-pagination.cjs.entry.js +3 -6
  45. package/dist/cjs/digi-navigation-vertical-menu-item.cjs.entry.js +6 -6
  46. package/dist/cjs/digi-notification-alert.cjs.entry.js +6 -9
  47. package/dist/cjs/digi-notification-error-page.cjs.entry.js +3 -6
  48. package/dist/cjs/digi-tools-feedback.cjs.entry.js +5 -8
  49. package/dist/cjs/digi-util-mutation-observer.cjs.entry.js +64 -0
  50. package/dist/cjs/{form-input-search-variation.enum-c50239bc.js → form-input-search-variation.enum-e0e025b1.js} +7 -0
  51. package/dist/cjs/index-7a477838.js +12 -52
  52. package/dist/cjs/index.cjs.js +42 -45
  53. package/dist/cjs/loader.cjs.js +1 -1
  54. package/dist/cjs/{typography-variation.enum-50512a4e.js → typography-variation.enum-118ff8e5.js} +20 -0
  55. package/dist/collection/components/_code/code-example/code-example.css +0 -1
  56. package/dist/collection/components/_form/form-checkbox/form-checkbox.js +3 -3
  57. package/dist/collection/components/_form/form-error-list/form-error-list.js +3 -3
  58. package/dist/collection/components/_form/form-textarea/form-textarea.js +36 -3
  59. package/dist/collection/components/_header/header/header.css +2 -15
  60. package/dist/collection/components/_header/header/header.js +2 -2
  61. package/dist/collection/components/_header/header-avatar/header-avatar.css +0 -3
  62. package/dist/collection/components/_link/link/link.js +3 -3
  63. package/dist/collection/components/_link/link-button/link-button.js +3 -3
  64. package/dist/collection/components/_link/link-external/link-external.js +2 -2
  65. package/dist/collection/components/_link/link-internal/link-internal.js +3 -3
  66. package/dist/collection/components/_navigation/navigation-vertical-menu-item/navigation-vertical-menu-item.js +7 -7
  67. package/dist/collection/components/_notification/notification-alert/notification-alert.css +6 -6
  68. package/dist/collection/components/_notification/notification-alert/notification-alert.js +2 -2
  69. package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
  70. package/dist/digi-arbetsformedlingen/index.esm.js +1 -1
  71. package/dist/digi-arbetsformedlingen/p-029c4d40.entry.js +1 -0
  72. package/dist/digi-arbetsformedlingen/{p-501697cd.entry.js → p-07985aef.entry.js} +1 -1
  73. package/dist/digi-arbetsformedlingen/p-0c77050e.entry.js +1 -0
  74. package/dist/digi-arbetsformedlingen/p-22700f68.entry.js +1 -0
  75. package/dist/digi-arbetsformedlingen/p-2693c1d8.entry.js +1 -0
  76. package/dist/digi-arbetsformedlingen/p-2c698144.entry.js +1 -0
  77. package/dist/digi-arbetsformedlingen/p-4841b4e1.js +1 -0
  78. package/dist/digi-arbetsformedlingen/p-51149879.entry.js +1 -0
  79. package/dist/digi-arbetsformedlingen/p-51bfa2a9.entry.js +1 -0
  80. package/dist/digi-arbetsformedlingen/p-53d9556b.js +1 -0
  81. package/dist/digi-arbetsformedlingen/p-57a0cc63.entry.js +1 -0
  82. package/dist/digi-arbetsformedlingen/p-583d40dc.entry.js +1 -0
  83. package/dist/digi-arbetsformedlingen/p-7238fdb8.entry.js +1 -0
  84. package/dist/digi-arbetsformedlingen/{p-c8e29e68.entry.js → p-7327f45d.entry.js} +1 -1
  85. package/dist/digi-arbetsformedlingen/{p-030e608e.entry.js → p-7888e12c.entry.js} +1 -1
  86. package/dist/digi-arbetsformedlingen/{p-7d49df06.entry.js → p-78c99e87.entry.js} +1 -1
  87. package/dist/digi-arbetsformedlingen/p-7e125c6e.entry.js +1 -0
  88. package/dist/digi-arbetsformedlingen/{p-c799009f.entry.js → p-9a6ea3b7.entry.js} +1 -1
  89. package/dist/digi-arbetsformedlingen/p-9b7f0707.entry.js +1 -0
  90. package/dist/digi-arbetsformedlingen/p-9be9a291.js +1 -0
  91. package/dist/digi-arbetsformedlingen/p-a2561b9e.entry.js +1 -0
  92. package/dist/digi-arbetsformedlingen/p-bd55807c.entry.js +1 -0
  93. package/dist/digi-arbetsformedlingen/p-c68bf2b3.entry.js +1 -0
  94. package/dist/digi-arbetsformedlingen/p-ccd617cc.entry.js +1 -0
  95. package/dist/digi-arbetsformedlingen/{p-c0b39654.entry.js → p-eada91bf.entry.js} +1 -1
  96. package/dist/digi-arbetsformedlingen/p-edcb61eb.entry.js +1 -0
  97. package/dist/digi-arbetsformedlingen/p-eeca26b2.entry.js +1 -0
  98. package/dist/digi-arbetsformedlingen/p-f94db846.entry.js +1 -0
  99. package/dist/esm/{code-example-variation.enum-e9f9fced.js → code-example-variation.enum-e656d235.js} +7 -1
  100. package/dist/esm/digi-arbetsformedlingen.js +1 -1
  101. package/dist/esm/digi-button_17.entry.js +1100 -0
  102. package/dist/esm/digi-calendar-datepicker.entry.js +3 -6
  103. package/dist/esm/digi-code-block_3.entry.js +3 -6
  104. package/dist/esm/digi-code-example.entry.js +2 -3
  105. package/dist/esm/digi-dialog.entry.js +3 -6
  106. package/dist/esm/digi-footer.entry.js +3 -6
  107. package/dist/esm/digi-form-checkbox.entry.js +2 -2
  108. package/dist/esm/digi-form-error-list.entry.js +4 -7
  109. package/dist/esm/digi-form-input-search.entry.js +1 -2
  110. package/dist/esm/digi-form-label_3.entry.js +123 -0
  111. package/dist/esm/digi-form-receipt.entry.js +3 -6
  112. package/dist/esm/digi-form-select-filter.entry.js +3 -6
  113. package/dist/esm/digi-form-select_2.entry.js +181 -0
  114. package/dist/esm/digi-form-textarea.entry.js +14 -3
  115. package/dist/esm/digi-icon-external-link-alt_2.entry.js +1 -1
  116. package/dist/esm/digi-icon-validation-error_2.entry.js +48 -0
  117. package/dist/esm/digi-link-button.entry.js +1 -1
  118. package/dist/esm/digi-link-internal.entry.js +1 -1
  119. package/dist/esm/digi-link.entry.js +1 -1
  120. package/dist/esm/digi-navigation-pagination.entry.js +3 -6
  121. package/dist/esm/digi-navigation-vertical-menu-item.entry.js +6 -6
  122. package/dist/esm/digi-notification-alert.entry.js +6 -9
  123. package/dist/esm/digi-notification-error-page.entry.js +3 -6
  124. package/dist/esm/digi-tools-feedback.entry.js +3 -6
  125. package/dist/esm/digi-util-mutation-observer.entry.js +60 -0
  126. package/dist/esm/{form-input-search-variation.enum-f9d669f2.js → form-input-search-variation.enum-6d8dc10a.js} +8 -1
  127. package/dist/esm/index-148a7577.js +12 -52
  128. package/dist/esm/index.js +3 -6
  129. package/dist/esm/loader.js +1 -1
  130. package/dist/esm/{typography-variation.enum-8c3ff25c.js → typography-variation.enum-23eeecd2.js} +21 -1
  131. package/dist/types/components/_form/form-checkbox/form-checkbox.d.ts +1 -1
  132. package/dist/types/components/_form/form-error-list/form-error-list.d.ts +1 -1
  133. package/dist/types/components/_form/form-textarea/form-textarea.d.ts +5 -0
  134. package/dist/types/components/_link/link/link.d.ts +1 -1
  135. package/dist/types/components/_link/link-button/link-button.d.ts +1 -1
  136. package/dist/types/components/_link/link-internal/link-internal.d.ts +1 -1
  137. package/dist/types/components/_navigation/navigation-vertical-menu-item/navigation-vertical-menu-item.d.ts +1 -1
  138. package/dist/types/components.d.ts +26 -16
  139. package/hydrate/index.js +36 -24
  140. package/hydrate/index.mjs +36 -24
  141. package/package.json +1 -1
  142. package/dist/cjs/button-size.enum-1fd86b9e.js +0 -7
  143. package/dist/cjs/button-type.enum-406723db.js +0 -8
  144. package/dist/cjs/digi-button_9.cjs.entry.js +0 -533
  145. package/dist/cjs/digi-header-avatar.cjs.entry.js +0 -114
  146. package/dist/cjs/digi-header-navigation-item.cjs.entry.js +0 -27
  147. package/dist/cjs/digi-header-navigation.cjs.entry.js +0 -232
  148. package/dist/cjs/digi-header-notification.cjs.entry.js +0 -23
  149. package/dist/cjs/digi-header.cjs.entry.js +0 -148
  150. package/dist/cjs/digi-icon-bars.cjs.entry.js +0 -30
  151. package/dist/cjs/digi-icon-bell-filled.cjs.entry.js +0 -30
  152. package/dist/cjs/digi-icon-x.cjs.entry.js +0 -30
  153. package/dist/cjs/digi-layout-block_2.cjs.entry.js +0 -92
  154. package/dist/cjs/digi-media-image_2.cjs.entry.js +0 -167
  155. package/dist/cjs/digi-navigation-sidebar-button.cjs.entry.js +0 -30
  156. package/dist/cjs/digi-title-logo.cjs.entry.js +0 -135
  157. package/dist/cjs/digi-util-breakpoint-observer.cjs.entry.js +0 -48
  158. package/dist/cjs/digi-util-keydown-handler.cjs.entry.js +0 -83
  159. package/dist/cjs/layout-container-max-width.enum-7e637f44.js +0 -21
  160. package/dist/digi-arbetsformedlingen/p-0436c516.entry.js +0 -1
  161. package/dist/digi-arbetsformedlingen/p-14731327.entry.js +0 -1
  162. package/dist/digi-arbetsformedlingen/p-19c30198.entry.js +0 -1
  163. package/dist/digi-arbetsformedlingen/p-237cad1c.entry.js +0 -1
  164. package/dist/digi-arbetsformedlingen/p-2698dd2a.entry.js +0 -1
  165. package/dist/digi-arbetsformedlingen/p-2a86cc73.entry.js +0 -1
  166. package/dist/digi-arbetsformedlingen/p-2b7b69cd.entry.js +0 -1
  167. package/dist/digi-arbetsformedlingen/p-300aa9ef.js +0 -1
  168. package/dist/digi-arbetsformedlingen/p-38627816.entry.js +0 -1
  169. package/dist/digi-arbetsformedlingen/p-4452f871.entry.js +0 -1
  170. package/dist/digi-arbetsformedlingen/p-55f525dd.entry.js +0 -1
  171. package/dist/digi-arbetsformedlingen/p-5a602122.js +0 -1
  172. package/dist/digi-arbetsformedlingen/p-73a6be41.entry.js +0 -1
  173. package/dist/digi-arbetsformedlingen/p-76022084.entry.js +0 -1
  174. package/dist/digi-arbetsformedlingen/p-832cbd71.entry.js +0 -1
  175. package/dist/digi-arbetsformedlingen/p-84719680.entry.js +0 -1
  176. package/dist/digi-arbetsformedlingen/p-89b457e8.entry.js +0 -1
  177. package/dist/digi-arbetsformedlingen/p-95330112.entry.js +0 -1
  178. package/dist/digi-arbetsformedlingen/p-9e56568b.entry.js +0 -1
  179. package/dist/digi-arbetsformedlingen/p-ac87daf1.entry.js +0 -1
  180. package/dist/digi-arbetsformedlingen/p-b328f60b.entry.js +0 -1
  181. package/dist/digi-arbetsformedlingen/p-bc3d2778.js +0 -1
  182. package/dist/digi-arbetsformedlingen/p-bf53daba.entry.js +0 -1
  183. package/dist/digi-arbetsformedlingen/p-c24aab43.entry.js +0 -1
  184. package/dist/digi-arbetsformedlingen/p-cc9a96ff.entry.js +0 -1
  185. package/dist/digi-arbetsformedlingen/p-cdf86efc.js +0 -1
  186. package/dist/digi-arbetsformedlingen/p-e2c92528.entry.js +0 -1
  187. package/dist/digi-arbetsformedlingen/p-e6b65415.entry.js +0 -1
  188. package/dist/digi-arbetsformedlingen/p-e7e39ee7.entry.js +0 -1
  189. package/dist/digi-arbetsformedlingen/p-e9656bf8.entry.js +0 -1
  190. package/dist/digi-arbetsformedlingen/p-ee4cb21a.js +0 -1
  191. package/dist/digi-arbetsformedlingen/p-ee9589e6.js +0 -1
  192. package/dist/digi-arbetsformedlingen/p-f8391f37.entry.js +0 -1
  193. package/dist/digi-arbetsformedlingen/p-fdecd798.entry.js +0 -1
  194. package/dist/digi-arbetsformedlingen/p-fe409f14.entry.js +0 -1
  195. package/dist/esm/button-size.enum-d5ff6ff3.js +0 -7
  196. package/dist/esm/button-type.enum-5250ae0b.js +0 -8
  197. package/dist/esm/digi-button_9.entry.js +0 -521
  198. package/dist/esm/digi-header-avatar.entry.js +0 -110
  199. package/dist/esm/digi-header-navigation-item.entry.js +0 -23
  200. package/dist/esm/digi-header-navigation.entry.js +0 -228
  201. package/dist/esm/digi-header-notification.entry.js +0 -19
  202. package/dist/esm/digi-header.entry.js +0 -144
  203. package/dist/esm/digi-icon-bars.entry.js +0 -26
  204. package/dist/esm/digi-icon-bell-filled.entry.js +0 -26
  205. package/dist/esm/digi-icon-x.entry.js +0 -26
  206. package/dist/esm/digi-layout-block_2.entry.js +0 -87
  207. package/dist/esm/digi-media-image_2.entry.js +0 -162
  208. package/dist/esm/digi-navigation-sidebar-button.entry.js +0 -26
  209. package/dist/esm/digi-title-logo.entry.js +0 -131
  210. package/dist/esm/digi-util-breakpoint-observer.entry.js +0 -44
  211. package/dist/esm/digi-util-keydown-handler.entry.js +0 -79
  212. package/dist/esm/layout-container-max-width.enum-c40018ac.js +0 -21
@@ -4,16 +4,15 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-7a477838.js');
6
6
  const randomIdGenerator_util = require('./randomIdGenerator.util-e7f4b6de.js');
7
- const typographyVariation_enum = require('./typography-variation.enum-50512a4e.js');
7
+ const typographyVariation_enum = require('./typography-variation.enum-118ff8e5.js');
8
8
  const layoutBlockVariation_enum = require('./layout-block-variation.enum-f6102119.js');
9
9
  require('./badge-notification-shape.enum-ff802554.js');
10
10
  require('./badge-status-variation.enum-0a5adc21.js');
11
- const buttonSize_enum = require('./button-size.enum-1fd86b9e.js');
12
- require('./button-type.enum-406723db.js');
11
+ const codeExampleVariation_enum = require('./code-example-variation.enum-1611825e.js');
12
+ require('./form-input-search-variation.enum-e0e025b1.js');
13
13
  const buttonVariation_enum = require('./button-variation.enum-bc521499.js');
14
14
  require('./calendar-week-view-heading-level.enum-fd0c841b.js');
15
15
  require('./bar-chart-variation.enum-a4e866b6.js');
16
- require('./code-example-variation.enum-c6557727.js');
17
16
  require('./code-variation.enum-c4a4e6fd.js');
18
17
  require('./expandable-accordion-header-level.enum-45483252.js');
19
18
  require('./expandable-faq-item-variation.enum-89427195.js');
@@ -21,7 +20,6 @@ require('./expandable-faq-variation.enum-af923f49.js');
21
20
  require('./footer-card-variation.enum-99555edc.js');
22
21
  require('./form-checkbox-variation.enum-d2ca879e.js');
23
22
  require('./form-file-upload-variation.enum-634cfae8.js');
24
- require('./form-input-search-variation.enum-c50239bc.js');
25
23
  require('./form-input-type.enum-9c8ee12a.js');
26
24
  require('./form-input-variation.enum-c750520c.js');
27
25
  require('./form-radiogroup-validation.enum-03a17d4d.js');
@@ -30,7 +28,6 @@ require('./form-textarea-variation.enum-9c90d40f.js');
30
28
  require('./form-validation-message-variation.enum-855ae0be.js');
31
29
  require('./info-card-multi-type.enum-14746572.js');
32
30
  require('./info-card-variation.enum-64cef637.js');
33
- require('./layout-container-max-width.enum-7e637f44.js');
34
31
  require('./layout-columns-variation.enum-65675649.js');
35
32
  require('./link-button-variation.enum-137785e3.js');
36
33
  require('./list-type.enum-aea4d012.js');
@@ -109,9 +106,9 @@ const ToolsFeedback = class {
109
106
  return (index.h("svg", { class: "digi-tools-feedback__container-header-icon", "aria-hidden": "true", version: "1.1", viewBox: "0 0 35 29", width: "31", height: "25" }, index.h("title", null, "Check mark"), index.h("g", { fill: "none", "fill-rule": "evenodd" }, index.h("g", { transform: "translate(-170 -32)" }, index.h("g", { transform: "translate(170 32.325)" }, index.h("g", { transform: "translate(0 .77495)" }, index.h("mask", { id: "b", fill: "white" }, index.h("polygon", { points: "0 0 26.685 0 26.685 27.689 0 27.689" })), index.h("path", { d: "m13.711 27.689c-7.5602 0-13.711-6.2103-13.711-13.844 0-7.6345 6.151-13.845 13.711-13.845 3.1693 0 6.2611 1.1179 8.7048 3.1478l-1.5894 1.9509c-1.9972-1.6592-4.5241-2.5724-7.1155-2.5724-6.181 0-11.209 5.0773-11.209 11.319 0 6.2406 5.0283 11.318 11.209 11.318 4.7924 0 9.0551-3.0733 10.607-7.6478l2.3668 0.81853c-1.8983 5.5958-7.1124 9.3556-12.974 9.3556", fill: "#333", mask: "url(#b)" })), index.h("g", { transform: "translate(4.2177)" }, index.h("mask", { id: "a", fill: "white" }, index.h("polygon", { points: "0 0 30.425 0 30.425 23.496 0 23.496" })), index.h("path", { d: "m30.191 3.2545-19.95 20.007c-0.31227 0.31253-0.81758 0.31253-1.1292 0l-8.878-8.9033c-0.31164-0.31316-0.31164-0.81992 0-1.1324l1.8818-1.8878c0.31164-0.31253 0.81758-0.31253 1.1292 0l6.4315 6.4499 17.504-17.553c0.31164-0.31316 0.81695-0.31316 1.1292 0l1.8818 1.8872c0.31164 0.31253 0.31164 0.81929 0 1.1324", class: "digi-tools-feedback__infographic-primary", mask: "url(#a)" })))))));
110
107
  }
111
108
  get content() {
112
- return (index.h("div", null, this.currentStep === 1 && (index.h("div", { class: "digi-tools-feedback__container" }, index.h("div", { class: "digi-tools-feedback__container-header" }, this.icon, index.h(this.afHeadingLevel, { class: "digi-tools-feedback__container-header-title" }, this.afText)), index.h("div", { class: "digi-tools-feedback__container-btns" }, index.h("digi-button", { "af-size": buttonSize_enum.ButtonSize.MEDIUM, "af-variation": buttonVariation_enum.ButtonVariation.SECONDARY, "af-full-width": "false", onAfOnClick: () => {
109
+ return (index.h("div", null, this.currentStep === 1 && (index.h("div", { class: "digi-tools-feedback__container" }, index.h("div", { class: "digi-tools-feedback__container-header" }, this.icon, index.h(this.afHeadingLevel, { class: "digi-tools-feedback__container-header-title" }, this.afText)), index.h("div", { class: "digi-tools-feedback__container-btns" }, index.h("digi-button", { "af-size": codeExampleVariation_enum.ButtonSize.MEDIUM, "af-variation": buttonVariation_enum.ButtonVariation.SECONDARY, "af-full-width": "false", onAfOnClick: () => {
113
110
  this.currentStep = 3;
114
- } }, "Ja"), index.h("digi-button", { "af-size": buttonSize_enum.ButtonSize.MEDIUM, "af-variation": buttonVariation_enum.ButtonVariation.SECONDARY, "af-full-width": "false", onAfOnClick: () => {
111
+ } }, "Ja"), index.h("digi-button", { "af-size": codeExampleVariation_enum.ButtonSize.MEDIUM, "af-variation": buttonVariation_enum.ButtonVariation.SECONDARY, "af-full-width": "false", onAfOnClick: () => {
115
112
  this.currentStep = 2;
116
113
  } }, "Nej")))), this.currentStep === 2 && (index.h("div", { class: "digi-tools-feedback__container" }, index.h("div", { class: "digi-tools-feedback__container-header" }, ' ', this.icon, index.h("div", { class: "digi-tools-feedback__container-header-title" }, "Hur kan vi bli b\u00E4ttre?")))), index.h("div", { class: "digi-tools-feedback__container-forms" }, index.h("slot", { name: "form" })), this.currentStep === 3 && (index.h("div", { class: "digi-tools-feedback__container-header" }, this.responseIcon, index.h("div", { class: "digi-tools-feedback__container-header-title" }, "Tack f\u00F6r din \u00E5terkoppling!")))));
117
114
  }
@@ -0,0 +1,64 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-7a477838.js');
6
+ const randomIdGenerator_util = require('./randomIdGenerator.util-e7f4b6de.js');
7
+
8
+ const UtilMutationObserver = class {
9
+ constructor(hostRef) {
10
+ index.registerInstance(this, hostRef);
11
+ this.afOnChange = index.createEvent(this, "afOnChange", 7);
12
+ this._observer = null;
13
+ this._isObserving = false;
14
+ this.afId = randomIdGenerator_util.randomIdGenerator('digi-util-mutation-observer');
15
+ this.afOptions = {
16
+ attributes: false,
17
+ childList: true,
18
+ subtree: false,
19
+ characterData: false
20
+ };
21
+ }
22
+ afOptionsWatcher(newValue) {
23
+ this._afOptions =
24
+ typeof newValue === 'string' ? JSON.parse(newValue) : newValue;
25
+ }
26
+ componentWillLoad() {
27
+ this.afOptionsWatcher(this.afOptions);
28
+ this.initObserver();
29
+ }
30
+ disconnectedCallback() {
31
+ if (this._isObserving) {
32
+ this.removeObserver();
33
+ }
34
+ }
35
+ initObserver() {
36
+ this._observer = new MutationObserver((mutationsList) => {
37
+ for (const mutation of mutationsList) {
38
+ if (mutation.type === 'childList' ||
39
+ mutation.type === 'attributes' ||
40
+ mutation.type === 'characterData') {
41
+ this.changeHandler(mutation);
42
+ }
43
+ }
44
+ });
45
+ this._observer.observe(this.$el, this._afOptions);
46
+ this._isObserving = true;
47
+ }
48
+ removeObserver() {
49
+ this._observer.disconnect();
50
+ this._isObserving = false;
51
+ }
52
+ changeHandler(e) {
53
+ this.afOnChange.emit(e);
54
+ }
55
+ render() {
56
+ index.h("div", { id: this.afId, ref: (el) => (this.$el = el) }, index.h("slot", null));
57
+ }
58
+ get $el() { return index.getElement(this); }
59
+ static get watchers() { return {
60
+ "afOptions": ["afOptionsWatcher"]
61
+ }; }
62
+ };
63
+
64
+ exports.digi_util_mutation_observer = UtilMutationObserver;
@@ -1,5 +1,12 @@
1
1
  'use strict';
2
2
 
3
+ exports.ButtonType = void 0;
4
+ (function (ButtonType) {
5
+ ButtonType["BUTTON"] = "button";
6
+ ButtonType["SUBMIT"] = "submit";
7
+ ButtonType["RESET"] = "reset";
8
+ })(exports.ButtonType || (exports.ButtonType = {}));
9
+
3
10
  exports.FormInputSearchVariation = void 0;
4
11
  (function (FormInputSearchVariation) {
5
12
  FormInputSearchVariation["SMALL"] = "small";
@@ -74,10 +74,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
74
74
  }
75
75
  switch(bundleId) {
76
76
 
77
- case 'digi-button_9.cjs':
77
+ case 'digi-button_17.cjs':
78
78
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
79
79
  /* webpackMode: "lazy" */
80
- './digi-button_9.cjs.entry.js')); }).then(processMod, consoleError);
80
+ './digi-button_17.cjs.entry.js')); }).then(processMod, consoleError);
81
81
  case 'digi-badge-status.cjs':
82
82
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
83
83
  /* webpackMode: "lazy" */
@@ -170,26 +170,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
170
170
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
171
171
  /* webpackMode: "lazy" */
172
172
  './digi-form-textarea.cjs.entry.js')); }).then(processMod, consoleError);
173
- case 'digi-header.cjs':
174
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
175
- /* webpackMode: "lazy" */
176
- './digi-header.cjs.entry.js')); }).then(processMod, consoleError);
177
- case 'digi-header-avatar.cjs':
178
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
179
- /* webpackMode: "lazy" */
180
- './digi-header-avatar.cjs.entry.js')); }).then(processMod, consoleError);
181
- case 'digi-header-navigation.cjs':
182
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
183
- /* webpackMode: "lazy" */
184
- './digi-header-navigation.cjs.entry.js')); }).then(processMod, consoleError);
185
- case 'digi-header-navigation-item.cjs':
186
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
187
- /* webpackMode: "lazy" */
188
- './digi-header-navigation-item.cjs.entry.js')); }).then(processMod, consoleError);
189
- case 'digi-header-notification.cjs':
190
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
191
- /* webpackMode: "lazy" */
192
- './digi-header-notification.cjs.entry.js')); }).then(processMod, consoleError);
193
173
  case 'digi-icon-accessibility-deaf.cjs':
194
174
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
195
175
  /* webpackMode: "lazy" */
@@ -242,10 +222,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
242
222
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
243
223
  /* webpackMode: "lazy" */
244
224
  './digi-icon-bell.cjs.entry.js')); }).then(processMod, consoleError);
245
- case 'digi-icon-bell-filled.cjs':
246
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
247
- /* webpackMode: "lazy" */
248
- './digi-icon-bell-filled.cjs.entry.js')); }).then(processMod, consoleError);
249
225
  case 'digi-icon-book.cjs':
250
226
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
251
227
  /* webpackMode: "lazy" */
@@ -994,10 +970,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
994
970
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
995
971
  /* webpackMode: "lazy" */
996
972
  './digi-link-internal.cjs.entry.js')); }).then(processMod, consoleError);
997
- case 'digi-navigation-sidebar-button.cjs':
998
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
999
- /* webpackMode: "lazy" */
1000
- './digi-navigation-sidebar-button.cjs.entry.js')); }).then(processMod, consoleError);
1001
973
  case 'digi-notification-alert.cjs':
1002
974
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1003
975
  /* webpackMode: "lazy" */
@@ -1006,18 +978,14 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1006
978
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1007
979
  /* webpackMode: "lazy" */
1008
980
  './digi-tag-media.cjs.entry.js')); }).then(processMod, consoleError);
1009
- case 'digi-title-logo.cjs':
1010
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1011
- /* webpackMode: "lazy" */
1012
- './digi-title-logo.cjs.entry.js')); }).then(processMod, consoleError);
1013
981
  case 'digi-util-resize-observer.cjs':
1014
982
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1015
983
  /* webpackMode: "lazy" */
1016
984
  './digi-util-resize-observer.cjs.entry.js')); }).then(processMod, consoleError);
1017
- case 'digi-icon-bars.cjs':
985
+ case 'digi-form-select_2.cjs':
1018
986
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1019
987
  /* webpackMode: "lazy" */
1020
- './digi-icon-bars.cjs.entry.js')); }).then(processMod, consoleError);
988
+ './digi-form-select_2.cjs.entry.js')); }).then(processMod, consoleError);
1021
989
  case 'digi-icon-chart_2.cjs':
1022
990
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1023
991
  /* webpackMode: "lazy" */
@@ -1046,10 +1014,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1046
1014
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1047
1015
  /* webpackMode: "lazy" */
1048
1016
  './digi-icon-external-link-alt_2.cjs.entry.js')); }).then(processMod, consoleError);
1049
- case 'digi-media-image_2.cjs':
1050
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1051
- /* webpackMode: "lazy" */
1052
- './digi-media-image_2.cjs.entry.js')); }).then(processMod, consoleError);
1053
1017
  case 'digi-form-input.cjs':
1054
1018
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1055
1019
  /* webpackMode: "lazy" */
@@ -1066,26 +1030,22 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1066
1030
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1067
1031
  /* webpackMode: "lazy" */
1068
1032
  './digi-link.cjs.entry.js')); }).then(processMod, consoleError);
1069
- case 'digi-layout-block_2.cjs':
1070
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1071
- /* webpackMode: "lazy" */
1072
- './digi-layout-block_2.cjs.entry.js')); }).then(processMod, consoleError);
1073
- case 'digi-util-keydown-handler.cjs':
1074
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1075
- /* webpackMode: "lazy" */
1076
- './digi-util-keydown-handler.cjs.entry.js')); }).then(processMod, consoleError);
1077
1033
  case 'digi-icon-chevron-down.cjs':
1078
1034
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1079
1035
  /* webpackMode: "lazy" */
1080
1036
  './digi-icon-chevron-down.cjs.entry.js')); }).then(processMod, consoleError);
1081
- case 'digi-icon-x.cjs':
1037
+ case 'digi-form-label_3.cjs':
1038
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1039
+ /* webpackMode: "lazy" */
1040
+ './digi-form-label_3.cjs.entry.js')); }).then(processMod, consoleError);
1041
+ case 'digi-util-mutation-observer.cjs':
1082
1042
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1083
1043
  /* webpackMode: "lazy" */
1084
- './digi-icon-x.cjs.entry.js')); }).then(processMod, consoleError);
1085
- case 'digi-util-breakpoint-observer.cjs':
1044
+ './digi-util-mutation-observer.cjs.entry.js')); }).then(processMod, consoleError);
1045
+ case 'digi-icon-validation-error_2.cjs':
1086
1046
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1087
1047
  /* webpackMode: "lazy" */
1088
- './digi-util-breakpoint-observer.cjs.entry.js')); }).then(processMod, consoleError);
1048
+ './digi-icon-validation-error_2.cjs.entry.js')); }).then(processMod, consoleError);
1089
1049
  case 'digi-typography.cjs':
1090
1050
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1091
1051
  /* webpackMode: "lazy" */
@@ -3,14 +3,13 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const badgeNotificationShape_enum = require('./badge-notification-shape.enum-ff802554.js');
6
- const typographyVariation_enum = require('./typography-variation.enum-50512a4e.js');
6
+ const typographyVariation_enum = require('./typography-variation.enum-118ff8e5.js');
7
7
  const badgeStatusVariation_enum = require('./badge-status-variation.enum-0a5adc21.js');
8
- const buttonSize_enum = require('./button-size.enum-1fd86b9e.js');
9
- const buttonType_enum = require('./button-type.enum-406723db.js');
8
+ const codeExampleVariation_enum = require('./code-example-variation.enum-1611825e.js');
9
+ const formInputSearchVariation_enum = require('./form-input-search-variation.enum-e0e025b1.js');
10
10
  const buttonVariation_enum = require('./button-variation.enum-bc521499.js');
11
11
  const calendarWeekViewHeadingLevel_enum = require('./calendar-week-view-heading-level.enum-fd0c841b.js');
12
12
  const barChartVariation_enum = require('./bar-chart-variation.enum-a4e866b6.js');
13
- const codeExampleVariation_enum = require('./code-example-variation.enum-c6557727.js');
14
13
  const codeVariation_enum = require('./code-variation.enum-c4a4e6fd.js');
15
14
  const expandableAccordionHeaderLevel_enum = require('./expandable-accordion-header-level.enum-45483252.js');
16
15
  const expandableFaqItemVariation_enum = require('./expandable-faq-item-variation.enum-89427195.js');
@@ -18,7 +17,6 @@ const expandableFaqVariation_enum = require('./expandable-faq-variation.enum-af9
18
17
  const footerCardVariation_enum = require('./footer-card-variation.enum-99555edc.js');
19
18
  const formCheckboxVariation_enum = require('./form-checkbox-variation.enum-d2ca879e.js');
20
19
  const formFileUploadVariation_enum = require('./form-file-upload-variation.enum-634cfae8.js');
21
- const formInputSearchVariation_enum = require('./form-input-search-variation.enum-c50239bc.js');
22
20
  const formInputType_enum = require('./form-input-type.enum-9c8ee12a.js');
23
21
  const formInputVariation_enum = require('./form-input-variation.enum-c750520c.js');
24
22
  const formRadiogroupValidation_enum = require('./form-radiogroup-validation.enum-03a17d4d.js');
@@ -27,7 +25,6 @@ const formTextareaVariation_enum = require('./form-textarea-variation.enum-9c90d
27
25
  const formValidationMessageVariation_enum = require('./form-validation-message-variation.enum-855ae0be.js');
28
26
  const infoCardMultiType_enum = require('./info-card-multi-type.enum-14746572.js');
29
27
  const infoCardVariation_enum = require('./info-card-variation.enum-64cef637.js');
30
- const layoutContainerMaxWidth_enum = require('./layout-container-max-width.enum-7e637f44.js');
31
28
  const layoutBlockVariation_enum = require('./layout-block-variation.enum-f6102119.js');
32
29
  const layoutColumnsVariation_enum = require('./layout-columns-variation.enum-65675649.js');
33
30
  const linkButtonVariation_enum = require('./link-button-variation.enum-137785e3.js');
@@ -209,6 +206,24 @@ Object.defineProperty(exports, 'InfoCardMultiVariation', {
209
206
  return typographyVariation_enum.InfoCardMultiVariation;
210
207
  }
211
208
  });
209
+ Object.defineProperty(exports, 'LayoutBlockContainer', {
210
+ enumerable: true,
211
+ get: function () {
212
+ return typographyVariation_enum.LayoutBlockContainer;
213
+ }
214
+ });
215
+ Object.defineProperty(exports, 'LayoutContainerMaxWidth', {
216
+ enumerable: true,
217
+ get: function () {
218
+ return typographyVariation_enum.LayoutContainerMaxWidth;
219
+ }
220
+ });
221
+ Object.defineProperty(exports, 'LayoutContainerVariation', {
222
+ enumerable: true,
223
+ get: function () {
224
+ return typographyVariation_enum.LayoutContainerVariation;
225
+ }
226
+ });
212
227
  Object.defineProperty(exports, 'NotificationAlertHeadingLevel', {
213
228
  enumerable: true,
214
229
  get: function () {
@@ -272,49 +287,55 @@ Object.defineProperty(exports, 'BadgeStatusVariation', {
272
287
  Object.defineProperty(exports, 'ButtonSize', {
273
288
  enumerable: true,
274
289
  get: function () {
275
- return buttonSize_enum.ButtonSize;
290
+ return codeExampleVariation_enum.ButtonSize;
276
291
  }
277
292
  });
278
- Object.defineProperty(exports, 'ButtonType', {
293
+ Object.defineProperty(exports, 'CodeBlockVariation', {
279
294
  enumerable: true,
280
295
  get: function () {
281
- return buttonType_enum.ButtonType;
296
+ return codeExampleVariation_enum.CodeBlockVariation;
282
297
  }
283
298
  });
284
- Object.defineProperty(exports, 'ButtonVariation', {
299
+ Object.defineProperty(exports, 'CodeExampleLanguage', {
285
300
  enumerable: true,
286
301
  get: function () {
287
- return buttonVariation_enum.ButtonVariation;
302
+ return codeExampleVariation_enum.CodeExampleLanguage;
288
303
  }
289
304
  });
290
- Object.defineProperty(exports, 'CalendarWeekViewHeadingLevel', {
305
+ Object.defineProperty(exports, 'CodeExampleVariation', {
291
306
  enumerable: true,
292
307
  get: function () {
293
- return calendarWeekViewHeadingLevel_enum.CalendarWeekViewHeadingLevel;
308
+ return codeExampleVariation_enum.CodeExampleVariation;
294
309
  }
295
310
  });
296
- Object.defineProperty(exports, 'BarChartVariation', {
311
+ Object.defineProperty(exports, 'ButtonType', {
297
312
  enumerable: true,
298
313
  get: function () {
299
- return barChartVariation_enum.BarChartVariation;
314
+ return formInputSearchVariation_enum.ButtonType;
300
315
  }
301
316
  });
302
- Object.defineProperty(exports, 'CodeBlockVariation', {
317
+ Object.defineProperty(exports, 'FormInputSearchVariation', {
303
318
  enumerable: true,
304
319
  get: function () {
305
- return codeExampleVariation_enum.CodeBlockVariation;
320
+ return formInputSearchVariation_enum.FormInputSearchVariation;
306
321
  }
307
322
  });
308
- Object.defineProperty(exports, 'CodeExampleLanguage', {
323
+ Object.defineProperty(exports, 'ButtonVariation', {
309
324
  enumerable: true,
310
325
  get: function () {
311
- return codeExampleVariation_enum.CodeExampleLanguage;
326
+ return buttonVariation_enum.ButtonVariation;
312
327
  }
313
328
  });
314
- Object.defineProperty(exports, 'CodeExampleVariation', {
329
+ Object.defineProperty(exports, 'CalendarWeekViewHeadingLevel', {
315
330
  enumerable: true,
316
331
  get: function () {
317
- return codeExampleVariation_enum.CodeExampleVariation;
332
+ return calendarWeekViewHeadingLevel_enum.CalendarWeekViewHeadingLevel;
333
+ }
334
+ });
335
+ Object.defineProperty(exports, 'BarChartVariation', {
336
+ enumerable: true,
337
+ get: function () {
338
+ return barChartVariation_enum.BarChartVariation;
318
339
  }
319
340
  });
320
341
  Object.defineProperty(exports, 'CodeLanguage', {
@@ -401,12 +422,6 @@ Object.defineProperty(exports, 'FormFileUploadVariation', {
401
422
  return formFileUploadVariation_enum.FormFileUploadVariation;
402
423
  }
403
424
  });
404
- Object.defineProperty(exports, 'FormInputSearchVariation', {
405
- enumerable: true,
406
- get: function () {
407
- return formInputSearchVariation_enum.FormInputSearchVariation;
408
- }
409
- });
410
425
  Object.defineProperty(exports, 'FormInputButtonVariation', {
411
426
  enumerable: true,
412
427
  get: function () {
@@ -503,24 +518,6 @@ Object.defineProperty(exports, 'InfoCardVariation', {
503
518
  return infoCardVariation_enum.InfoCardVariation;
504
519
  }
505
520
  });
506
- Object.defineProperty(exports, 'LayoutBlockContainer', {
507
- enumerable: true,
508
- get: function () {
509
- return layoutContainerMaxWidth_enum.LayoutBlockContainer;
510
- }
511
- });
512
- Object.defineProperty(exports, 'LayoutContainerMaxWidth', {
513
- enumerable: true,
514
- get: function () {
515
- return layoutContainerMaxWidth_enum.LayoutContainerMaxWidth;
516
- }
517
- });
518
- Object.defineProperty(exports, 'LayoutContainerVariation', {
519
- enumerable: true,
520
- get: function () {
521
- return layoutContainerMaxWidth_enum.LayoutContainerVariation;
522
- }
523
- });
524
521
  Object.defineProperty(exports, 'LayoutBlockVariation', {
525
522
  enumerable: true,
526
523
  get: function () {