@designsystem-se/af 39.2.2 → 39.2.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 (196) hide show
  1. package/components/digi-expandable-accordion.js +18 -11
  2. package/components/digi-expandable-faq-item.js +21 -14
  3. package/components/digi-info-card.js +3 -3
  4. package/custom-elements.json +1 -1
  5. package/dist/cjs/badge-notification-shape.enum-CEyEo2G5.js +8 -0
  6. package/dist/cjs/button-size.enum-DgyvMkwE.js +7 -0
  7. package/dist/cjs/{button-variation.enum-ngMqFLdW.js → button-variation.enum-DkUalo9f.js} +0 -6
  8. package/dist/cjs/{calendar-week-view-heading-level.enum-BI2f9bbk.js → calendar-week-view-heading-level.enum-NEkm5SUq.js} +0 -7
  9. package/dist/cjs/digi-arbetsformedlingen.cjs.js +1 -1
  10. package/dist/cjs/digi-badge-notification.cjs.entry.js +65 -0
  11. package/dist/cjs/digi-button.cjs.entry.js +131 -0
  12. package/dist/cjs/{digi-badge-notification_8.cjs.entry.js → digi-calendar-week-view.cjs.entry.js} +72 -645
  13. package/dist/cjs/{digi-calendar-datepicker.cjs.entry.js → digi-calendar_19.cjs.entry.js} +1613 -56
  14. package/dist/cjs/digi-code-block_3.cjs.entry.js +8 -13
  15. package/dist/cjs/digi-code-example.cjs.entry.js +4 -3
  16. package/dist/cjs/digi-dialog.cjs.entry.js +8 -13
  17. package/dist/cjs/digi-footer.cjs.entry.js +7 -12
  18. package/dist/cjs/digi-form-error-list.cjs.entry.js +7 -12
  19. package/dist/cjs/digi-form-file-upload.cjs.entry.js +9 -10
  20. package/dist/cjs/digi-form-input-search.cjs.entry.js +5 -6
  21. package/dist/cjs/digi-form-receipt.cjs.entry.js +7 -12
  22. package/dist/cjs/digi-form-select-filter.cjs.entry.js +8 -13
  23. package/dist/cjs/digi-header-navigation.cjs.entry.js +7 -12
  24. package/dist/cjs/digi-header.cjs.entry.js +7 -12
  25. package/dist/cjs/digi-info-card.cjs.entry.js +3 -3
  26. package/dist/cjs/digi-navigation-pagination.cjs.entry.js +7 -12
  27. package/dist/cjs/digi-notification-alert.cjs.entry.js +7 -12
  28. package/dist/cjs/digi-notification-error-page.cjs.entry.js +7 -12
  29. package/dist/cjs/digi-tablist-panel.cjs.entry.js +20 -0
  30. package/dist/cjs/digi-tablist.cjs.entry.js +312 -0
  31. package/dist/cjs/digi-title-logo.cjs.entry.js +7 -12
  32. package/dist/cjs/digi-tools-feedback.cjs.entry.js +9 -14
  33. package/dist/cjs/{form-input-type.enum-DvF_MTHK.js → form-input-type.enum-CCCcY8gv.js} +7 -0
  34. package/dist/cjs/{form-file-upload-variation.enum-xcEOoggr.js → form-validation-message-variation.enum-DgkifAnP.js} +7 -0
  35. package/dist/cjs/index-Cn1hHaSy.js +16 -40
  36. package/dist/cjs/{index-Bdlw-Iuy.js → index-DUQtADgG.js} +189 -19
  37. package/dist/cjs/index.cjs.js +64 -69
  38. package/dist/cjs/loader.cjs.js +1 -1
  39. package/dist/cjs/{typography-variation.enum-BDSt7CVI.js → typography-variation.enum-CVUvogxJ.js} +86 -0
  40. package/dist/collection/components/_expandable/expandable-accordion/expandable-accordion.js +18 -11
  41. package/dist/collection/components/_expandable/expandable-faq-item/expandable-faq-item.js +21 -14
  42. package/dist/collection/components/_info-card/info-card/info-card.js +5 -5
  43. package/dist/collection/design-tokens/components/_logo.variables.scss +0 -2
  44. package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
  45. package/dist/digi-arbetsformedlingen/index.esm.js +1 -1
  46. package/dist/digi-arbetsformedlingen/p-0230ec9b.entry.js +1 -0
  47. package/dist/digi-arbetsformedlingen/p-0394e694.entry.js +1 -0
  48. package/dist/digi-arbetsformedlingen/p-04bbbd14.entry.js +1 -0
  49. package/dist/digi-arbetsformedlingen/p-0cf25433.entry.js +1 -0
  50. package/dist/digi-arbetsformedlingen/p-17824a0b.entry.js +1 -0
  51. package/dist/digi-arbetsformedlingen/p-25815f15.entry.js +1 -0
  52. package/dist/digi-arbetsformedlingen/p-3d4ac22e.entry.js +1 -0
  53. package/dist/digi-arbetsformedlingen/p-4aefce1e.entry.js +1 -0
  54. package/dist/digi-arbetsformedlingen/p-5ee5766d.entry.js +1 -0
  55. package/dist/digi-arbetsformedlingen/p-870a00f8.entry.js +1 -0
  56. package/dist/digi-arbetsformedlingen/p-88dc2ed4.entry.js +1 -0
  57. package/dist/digi-arbetsformedlingen/p-9n7Okhf1.js +1 -0
  58. package/dist/digi-arbetsformedlingen/p-C6S1HfeA.js +1 -0
  59. package/dist/digi-arbetsformedlingen/p-C7xgnp99.js +1 -0
  60. package/dist/digi-arbetsformedlingen/p-CKoZU0-H.js +1 -0
  61. package/dist/digi-arbetsformedlingen/p-Cnyfh_8_.js +1 -0
  62. package/dist/digi-arbetsformedlingen/{p-DwNlf6Sh.js → p-DH_-wpLB.js} +1 -1
  63. package/dist/digi-arbetsformedlingen/p-Zivp2NJB.js +1 -0
  64. package/dist/digi-arbetsformedlingen/p-a29b6fff.entry.js +1 -0
  65. package/dist/digi-arbetsformedlingen/{p-375ea6f8.entry.js → p-ace2e5fd.entry.js} +1 -1
  66. package/dist/digi-arbetsformedlingen/p-b411a549.entry.js +1 -0
  67. package/dist/digi-arbetsformedlingen/p-b7712996.entry.js +1 -0
  68. package/dist/digi-arbetsformedlingen/p-bfccf413.entry.js +1 -0
  69. package/dist/digi-arbetsformedlingen/p-cdd65abb.entry.js +1 -0
  70. package/dist/digi-arbetsformedlingen/p-d4406627.entry.js +1 -0
  71. package/dist/digi-arbetsformedlingen/p-dd95c75e.entry.js +1 -0
  72. package/dist/digi-arbetsformedlingen/p-e5396b1e.entry.js +1 -0
  73. package/dist/digi-arbetsformedlingen/p-e7c10f6a.entry.js +1 -0
  74. package/dist/digi-arbetsformedlingen/p-f91295ac.entry.js +1 -0
  75. package/dist/digi-arbetsformedlingen/p-ffb4fac6.entry.js +1 -0
  76. package/dist/digi-arbetsformedlingen/p-y5Nm4oWF.js +1 -0
  77. package/dist/esm/badge-notification-shape.enum-CKoZU0-H.js +8 -0
  78. package/dist/esm/button-size.enum-C7xgnp99.js +7 -0
  79. package/dist/esm/{button-variation.enum-BMQm4N5I.js → button-variation.enum-y5Nm4oWF.js} +1 -7
  80. package/dist/esm/{calendar-week-view-heading-level.enum-BBOpiDGx.js → calendar-week-view-heading-level.enum-DH_-wpLB.js} +1 -8
  81. package/dist/esm/digi-arbetsformedlingen.js +1 -1
  82. package/dist/esm/digi-badge-notification.entry.js +63 -0
  83. package/dist/esm/digi-button.entry.js +129 -0
  84. package/dist/esm/{digi-badge-notification_8.entry.js → digi-calendar-week-view.entry.js} +6 -572
  85. package/dist/esm/{digi-calendar-datepicker.entry.js → digi-calendar_19.entry.js} +1557 -18
  86. package/dist/esm/digi-code-block_3.entry.js +7 -12
  87. package/dist/esm/digi-code-example.entry.js +2 -1
  88. package/dist/esm/digi-dialog.entry.js +7 -12
  89. package/dist/esm/digi-footer.entry.js +7 -12
  90. package/dist/esm/digi-form-error-list.entry.js +7 -12
  91. package/dist/esm/digi-form-file-upload.entry.js +1 -2
  92. package/dist/esm/digi-form-input-search.entry.js +1 -2
  93. package/dist/esm/digi-form-receipt.entry.js +7 -12
  94. package/dist/esm/digi-form-select-filter.entry.js +7 -12
  95. package/dist/esm/digi-header-navigation.entry.js +7 -12
  96. package/dist/esm/digi-header.entry.js +7 -12
  97. package/dist/esm/digi-info-card.entry.js +3 -3
  98. package/dist/esm/digi-navigation-pagination.entry.js +7 -12
  99. package/dist/esm/digi-notification-alert.entry.js +7 -12
  100. package/dist/esm/digi-notification-error-page.entry.js +7 -12
  101. package/dist/esm/digi-tablist-panel.entry.js +18 -0
  102. package/dist/esm/digi-tablist.entry.js +310 -0
  103. package/dist/esm/digi-title-logo.entry.js +7 -12
  104. package/dist/esm/digi-tools-feedback.entry.js +7 -12
  105. package/dist/esm/{form-input-type.enum-BSJH8Lpg.js → form-input-type.enum-C6S1HfeA.js} +8 -1
  106. package/dist/esm/{form-file-upload-variation.enum-BfyJgcLA.js → form-validation-message-variation.enum-9n7Okhf1.js} +8 -1
  107. package/dist/esm/index-BnKuq1L7.js +16 -40
  108. package/dist/esm/{index-B1Je6g2n.js → index-Cnyfh_8_.js} +170 -3
  109. package/dist/esm/index.js +7 -12
  110. package/dist/esm/loader.js +1 -1
  111. package/dist/esm/{typography-variation.enum-4smNltRI.js → typography-variation.enum-Zivp2NJB.js} +87 -1
  112. package/dist/types/components/_info-card/info-card/info-card.d.ts +2 -2
  113. package/dist/types/components.d.ts +4 -4
  114. package/hydrate/index.js +42 -28
  115. package/hydrate/index.mjs +42 -28
  116. package/package.json +1 -1
  117. package/dist/cjs/digi-calendar_2.cjs.entry.js +0 -490
  118. package/dist/cjs/digi-expandable-accordion.cjs.entry.js +0 -121
  119. package/dist/cjs/digi-expandable-faq-item.cjs.entry.js +0 -119
  120. package/dist/cjs/digi-form-input.cjs.entry.js +0 -205
  121. package/dist/cjs/digi-form-label_3.cjs.entry.js +0 -147
  122. package/dist/cjs/digi-form-select_2.cjs.entry.js +0 -201
  123. package/dist/cjs/digi-icon-chevron-down.cjs.entry.js +0 -28
  124. package/dist/cjs/digi-icon-validation-error_2.cjs.entry.js +0 -51
  125. package/dist/cjs/digi-typography-heading-jumbo.cjs.entry.js +0 -46
  126. package/dist/cjs/digi-util-keydown-handler.cjs.entry.js +0 -81
  127. package/dist/cjs/expandable-accordion-header-level.enum-CjL9V3Kt.js +0 -11
  128. package/dist/cjs/expandable-faq-item-variation.enum-aKkYAQgd.js +0 -18
  129. package/dist/cjs/form-input-search-variation.enum-VVfvlVeM.js +0 -8
  130. package/dist/cjs/form-input-variation.enum-kpoXNUuI.js +0 -29
  131. package/dist/cjs/form-select-variation.enum-e6wjWyaS.js +0 -16
  132. package/dist/cjs/form-validation-message-variation.enum-BA5nmCiw.js +0 -8
  133. package/dist/cjs/index-Snltmefx.js +0 -174
  134. package/dist/cjs/index-r0sb9TCr.js +0 -66
  135. package/dist/cjs/typography-heading-jumbo-variation.enum-Di1Jeh0G.js +0 -17
  136. package/dist/digi-arbetsformedlingen/p-037a35bd.entry.js +0 -1
  137. package/dist/digi-arbetsformedlingen/p-0f7e995a.entry.js +0 -1
  138. package/dist/digi-arbetsformedlingen/p-26f6a310.entry.js +0 -1
  139. package/dist/digi-arbetsformedlingen/p-3239fb1a.entry.js +0 -1
  140. package/dist/digi-arbetsformedlingen/p-3b42582a.entry.js +0 -1
  141. package/dist/digi-arbetsformedlingen/p-3c1f9629.entry.js +0 -1
  142. package/dist/digi-arbetsformedlingen/p-4384644b.entry.js +0 -1
  143. package/dist/digi-arbetsformedlingen/p-4ddcae7b.entry.js +0 -1
  144. package/dist/digi-arbetsformedlingen/p-4smNltRI.js +0 -1
  145. package/dist/digi-arbetsformedlingen/p-569c628c.entry.js +0 -1
  146. package/dist/digi-arbetsformedlingen/p-668d38d9.entry.js +0 -1
  147. package/dist/digi-arbetsformedlingen/p-66f34ca5.entry.js +0 -1
  148. package/dist/digi-arbetsformedlingen/p-6931825c.entry.js +0 -1
  149. package/dist/digi-arbetsformedlingen/p-6cb1c6ea.entry.js +0 -1
  150. package/dist/digi-arbetsformedlingen/p-71a8478d.entry.js +0 -1
  151. package/dist/digi-arbetsformedlingen/p-7688502e.entry.js +0 -1
  152. package/dist/digi-arbetsformedlingen/p-91265ee0.entry.js +0 -1
  153. package/dist/digi-arbetsformedlingen/p-9a4eecde.entry.js +0 -1
  154. package/dist/digi-arbetsformedlingen/p-9df345c4.entry.js +0 -1
  155. package/dist/digi-arbetsformedlingen/p-B8hpiXmh.js +0 -1
  156. package/dist/digi-arbetsformedlingen/p-BBOpiDGx.js +0 -1
  157. package/dist/digi-arbetsformedlingen/p-BMQm4N5I.js +0 -1
  158. package/dist/digi-arbetsformedlingen/p-BSJH8Lpg.js +0 -1
  159. package/dist/digi-arbetsformedlingen/p-BfyJgcLA.js +0 -1
  160. package/dist/digi-arbetsformedlingen/p-BixPaBHw.js +0 -1
  161. package/dist/digi-arbetsformedlingen/p-BvWKyXb_.js +0 -1
  162. package/dist/digi-arbetsformedlingen/p-C6B2KRZo.js +0 -1
  163. package/dist/digi-arbetsformedlingen/p-CgSR-RTl.js +0 -1
  164. package/dist/digi-arbetsformedlingen/p-DCS1KcvC.js +0 -1
  165. package/dist/digi-arbetsformedlingen/p-DNjGvZvz.js +0 -1
  166. package/dist/digi-arbetsformedlingen/p-DfWZa2Wv.js +0 -1
  167. package/dist/digi-arbetsformedlingen/p-a9a1bf57.entry.js +0 -1
  168. package/dist/digi-arbetsformedlingen/p-beebbc90.entry.js +0 -1
  169. package/dist/digi-arbetsformedlingen/p-c7ade486.entry.js +0 -1
  170. package/dist/digi-arbetsformedlingen/p-d065e751.entry.js +0 -1
  171. package/dist/digi-arbetsformedlingen/p-d07a1377.entry.js +0 -1
  172. package/dist/digi-arbetsformedlingen/p-d0b3c35b.entry.js +0 -1
  173. package/dist/digi-arbetsformedlingen/p-d150094c.entry.js +0 -1
  174. package/dist/digi-arbetsformedlingen/p-df8efa59.entry.js +0 -1
  175. package/dist/digi-arbetsformedlingen/p-e2b0b070.entry.js +0 -1
  176. package/dist/digi-arbetsformedlingen/p-e7b311da.entry.js +0 -1
  177. package/dist/digi-arbetsformedlingen/p-xwICssEK.js +0 -1
  178. package/dist/esm/digi-calendar_2.entry.js +0 -487
  179. package/dist/esm/digi-expandable-accordion.entry.js +0 -119
  180. package/dist/esm/digi-expandable-faq-item.entry.js +0 -117
  181. package/dist/esm/digi-form-input.entry.js +0 -203
  182. package/dist/esm/digi-form-label_3.entry.js +0 -143
  183. package/dist/esm/digi-form-select_2.entry.js +0 -198
  184. package/dist/esm/digi-icon-chevron-down.entry.js +0 -26
  185. package/dist/esm/digi-icon-validation-error_2.entry.js +0 -48
  186. package/dist/esm/digi-typography-heading-jumbo.entry.js +0 -44
  187. package/dist/esm/digi-util-keydown-handler.entry.js +0 -79
  188. package/dist/esm/expandable-accordion-header-level.enum-DwNlf6Sh.js +0 -11
  189. package/dist/esm/expandable-faq-item-variation.enum-C6B2KRZo.js +0 -18
  190. package/dist/esm/form-input-search-variation.enum-BvWKyXb_.js +0 -8
  191. package/dist/esm/form-input-variation.enum-DfWZa2Wv.js +0 -29
  192. package/dist/esm/form-select-variation.enum-DCS1KcvC.js +0 -16
  193. package/dist/esm/form-validation-message-variation.enum-B8hpiXmh.js +0 -8
  194. package/dist/esm/index-BixPaBHw.js +0 -170
  195. package/dist/esm/index-BsIL3T_0.js +0 -63
  196. package/dist/esm/typography-heading-jumbo-variation.enum-DNjGvZvz.js +0 -17
@@ -49,6 +49,33 @@ var DialogVariation;
49
49
  DialogVariation["SECONDARY"] = "secondary";
50
50
  })(DialogVariation || (DialogVariation = {}));
51
51
 
52
+ var ExpandableAccordionHeaderLevel;
53
+ (function (ExpandableAccordionHeaderLevel) {
54
+ ExpandableAccordionHeaderLevel["H1"] = "h1";
55
+ ExpandableAccordionHeaderLevel["H2"] = "h2";
56
+ ExpandableAccordionHeaderLevel["H3"] = "h3";
57
+ ExpandableAccordionHeaderLevel["H4"] = "h4";
58
+ ExpandableAccordionHeaderLevel["H5"] = "h5";
59
+ ExpandableAccordionHeaderLevel["H6"] = "h6";
60
+ })(ExpandableAccordionHeaderLevel || (ExpandableAccordionHeaderLevel = {}));
61
+
62
+ var ExpandableFaqItemHeadingLevel;
63
+ (function (ExpandableFaqItemHeadingLevel) {
64
+ ExpandableFaqItemHeadingLevel["H1"] = "h1";
65
+ ExpandableFaqItemHeadingLevel["H2"] = "h2";
66
+ ExpandableFaqItemHeadingLevel["H3"] = "h3";
67
+ ExpandableFaqItemHeadingLevel["H4"] = "h4";
68
+ ExpandableFaqItemHeadingLevel["H5"] = "h5";
69
+ ExpandableFaqItemHeadingLevel["H6"] = "h6";
70
+ })(ExpandableFaqItemHeadingLevel || (ExpandableFaqItemHeadingLevel = {}));
71
+
72
+ var ExpandableFaqItemVariation;
73
+ (function (ExpandableFaqItemVariation) {
74
+ ExpandableFaqItemVariation["PRIMARY"] = "primary";
75
+ ExpandableFaqItemVariation["SECONDARY"] = "secondary";
76
+ ExpandableFaqItemVariation["TERTIARY"] = "tertiary";
77
+ })(ExpandableFaqItemVariation || (ExpandableFaqItemVariation = {}));
78
+
52
79
  var FooterVariation;
53
80
  (function (FooterVariation) {
54
81
  FooterVariation["LARGE"] = "large";
@@ -65,6 +92,34 @@ var FormErrorListHeadingLevel;
65
92
  FormErrorListHeadingLevel["H6"] = "h6";
66
93
  })(FormErrorListHeadingLevel || (FormErrorListHeadingLevel = {}));
67
94
 
95
+ var FormInputMode;
96
+ (function (FormInputMode) {
97
+ FormInputMode["DEFAULT"] = "";
98
+ FormInputMode["NONE"] = "none";
99
+ FormInputMode["TEXT"] = "text";
100
+ FormInputMode["DECIMAL"] = "decimal";
101
+ FormInputMode["NUMERIC"] = "numeric";
102
+ FormInputMode["TEL"] = "tel";
103
+ FormInputMode["SEARCH"] = "search";
104
+ FormInputMode["EMAIL"] = "email";
105
+ FormInputMode["URL"] = "url";
106
+ })(FormInputMode || (FormInputMode = {}));
107
+
108
+ var FormInputValidation;
109
+ (function (FormInputValidation) {
110
+ FormInputValidation["SUCCESS"] = "success";
111
+ FormInputValidation["ERROR"] = "error";
112
+ FormInputValidation["WARNING"] = "warning";
113
+ FormInputValidation["NEUTRAL"] = "neutral";
114
+ })(FormInputValidation || (FormInputValidation = {}));
115
+
116
+ var FormInputVariation;
117
+ (function (FormInputVariation) {
118
+ FormInputVariation["SMALL"] = "small";
119
+ FormInputVariation["MEDIUM"] = "medium";
120
+ FormInputVariation["LARGE"] = "large";
121
+ })(FormInputVariation || (FormInputVariation = {}));
122
+
68
123
  var FormFieldsetValidation;
69
124
  (function (FormFieldsetValidation) {
70
125
  FormFieldsetValidation["SUCCESS"] = "success";
@@ -120,6 +175,21 @@ var FormSelectFilterValidation;
120
175
  FormSelectFilterValidation["NEUTRAL"] = "neutral";
121
176
  })(FormSelectFilterValidation || (FormSelectFilterValidation = {}));
122
177
 
178
+ var FormSelectValidation;
179
+ (function (FormSelectValidation) {
180
+ FormSelectValidation["SUCCESS"] = "success";
181
+ FormSelectValidation["ERROR"] = "error";
182
+ FormSelectValidation["WARNING"] = "warning";
183
+ FormSelectValidation["NEUTRAL"] = "neutral";
184
+ })(FormSelectValidation || (FormSelectValidation = {}));
185
+
186
+ var FormSelectVariation;
187
+ (function (FormSelectVariation) {
188
+ FormSelectVariation["SMALL"] = "small";
189
+ FormSelectVariation["MEDIUM"] = "medium";
190
+ FormSelectVariation["LARGE"] = "large";
191
+ })(FormSelectVariation || (FormSelectVariation = {}));
192
+
123
193
  var HeaderCenterContentWidth;
124
194
  (function (HeaderCenterContentWidth) {
125
195
  HeaderCenterContentWidth["DEFAULT"] = "none";
@@ -229,10 +299,26 @@ var FeedbackVariation;
229
299
  FeedbackVariation["SECONDARY"] = "secondary";
230
300
  })(FeedbackVariation || (FeedbackVariation = {}));
231
301
 
302
+ var TypographyHeadingJumboLevel;
303
+ (function (TypographyHeadingJumboLevel) {
304
+ TypographyHeadingJumboLevel["H1"] = "h1";
305
+ TypographyHeadingJumboLevel["H2"] = "h2";
306
+ TypographyHeadingJumboLevel["H3"] = "h3";
307
+ TypographyHeadingJumboLevel["H4"] = "h4";
308
+ TypographyHeadingJumboLevel["H5"] = "h5";
309
+ TypographyHeadingJumboLevel["H6"] = "h6";
310
+ })(TypographyHeadingJumboLevel || (TypographyHeadingJumboLevel = {}));
311
+
312
+ var TypographyHeadingJumboVariation;
313
+ (function (TypographyHeadingJumboVariation) {
314
+ TypographyHeadingJumboVariation["PRIMARY"] = "primary";
315
+ TypographyHeadingJumboVariation["SECONDARY"] = "secondary";
316
+ })(TypographyHeadingJumboVariation || (TypographyHeadingJumboVariation = {}));
317
+
232
318
  var TypographyVariation;
233
319
  (function (TypographyVariation) {
234
320
  TypographyVariation["SMALL"] = "small";
235
321
  TypographyVariation["LARGE"] = "large";
236
322
  })(TypographyVariation || (TypographyVariation = {}));
237
323
 
238
- export { BadgeNotificationType as B, CalendarDatepickerValidation as C, DialogHeadingLevel as D, ErrorPageStatusCodes as E, FooterVariation as F, HeaderCenterContentWidth as H, InfoCardMultiContainerHeadingLevel as I, NotificationAlertHeadingLevel as N, TitleLogoVariation as T, CodeBlockLanguage as a, DialogSize as b, DialogVariation as c, FormErrorListHeadingLevel as d, FormFieldsetValidation as e, FormRadiobuttonLayout as f, FormRadiobuttonValidation as g, FormRadiobuttonVariation as h, FormReceiptHeadingLevel as i, FormReceiptType as j, FormReceiptVariation as k, FormSelectFilterValidation as l, InfoCardMultiHeadingLevel as m, InfoCardMultiVariation as n, InfoCardHeadingLevel as o, NotificationAlertSize as p, NotificationAlertVariation as q, ToolsFeedbackHeadingLevel as r, ToolsFeedbackType as s, FeedbackVariation as t, TypographyVariation as u };
324
+ export { ToolsFeedbackType as A, BadgeNotificationType as B, CalendarDatepickerValidation as C, DialogHeadingLevel as D, ExpandableAccordionHeaderLevel as E, FooterVariation as F, FeedbackVariation as G, HeaderCenterContentWidth as H, InfoCardMultiContainerHeadingLevel as I, TypographyHeadingJumboLevel as J, TypographyHeadingJumboVariation as K, TypographyVariation as L, NotificationAlertHeadingLevel as N, TitleLogoVariation as T, CodeBlockLanguage as a, DialogSize as b, DialogVariation as c, ExpandableFaqItemHeadingLevel as d, ExpandableFaqItemVariation as e, FormErrorListHeadingLevel as f, FormInputMode as g, FormInputValidation as h, FormInputVariation as i, FormFieldsetValidation as j, FormRadiobuttonLayout as k, FormRadiobuttonValidation as l, FormRadiobuttonVariation as m, FormReceiptHeadingLevel as n, FormReceiptType as o, FormReceiptVariation as p, FormSelectFilterValidation as q, FormSelectValidation as r, FormSelectVariation as s, InfoCardMultiHeadingLevel as t, InfoCardMultiVariation as u, InfoCardHeadingLevel as v, NotificationAlertSize as w, NotificationAlertVariation as x, ErrorPageStatusCodes as y, ToolsFeedbackHeadingLevel as z };
@@ -41,8 +41,8 @@ export declare class InfoCard {
41
41
  */
42
42
  afBorderPosition: InfoCardBorderPosition;
43
43
  /**
44
- * Sätter variant. Kan vara 'primary' eller 'secondary'. Detta har endast genomslag om 'af-type' är 'tip'.
45
- * @en Set info card variation. Can be 'primary' or 'secondary'. This only applies if 'af-type' is 'tip'.
44
+ * Sätter variant. Kan vara 'primary' eller 'secondary'.
45
+ * @en Set info card variation. Can be 'primary' or 'secondary'.
46
46
  */
47
47
  afVariation: InfoCardVariation;
48
48
  /**
@@ -7113,8 +7113,8 @@ export namespace Components {
7113
7113
  */
7114
7114
  "afType": InfoCardType;
7115
7115
  /**
7116
- * Sätter variant. Kan vara 'primary' eller 'secondary'. Detta har endast genomslag om 'af-type' är 'tip'.
7117
- * @en Set info card variation. Can be 'primary' or 'secondary'. This only applies if 'af-type' is 'tip'.
7116
+ * Sätter variant. Kan vara 'primary' eller 'secondary'.
7117
+ * @en Set info card variation. Can be 'primary' or 'secondary'.
7118
7118
  * @default InfoCardVariation.PRIMARY
7119
7119
  */
7120
7120
  "afVariation": InfoCardVariation;
@@ -19457,8 +19457,8 @@ declare namespace LocalJSX {
19457
19457
  */
19458
19458
  "afType"?: InfoCardType;
19459
19459
  /**
19460
- * Sätter variant. Kan vara 'primary' eller 'secondary'. Detta har endast genomslag om 'af-type' är 'tip'.
19461
- * @en Set info card variation. Can be 'primary' or 'secondary'. This only applies if 'af-type' is 'tip'.
19460
+ * Sätter variant. Kan vara 'primary' eller 'secondary'.
19461
+ * @en Set info card variation. Can be 'primary' or 'secondary'.
19462
19462
  * @default InfoCardVariation.PRIMARY
19463
19463
  */
19464
19464
  "afVariation"?: InfoCardVariation;
package/hydrate/index.js CHANGED
@@ -23087,17 +23087,21 @@ class ExpandableAccordion {
23087
23087
  componentDidLoad() {
23088
23088
  const content = this.hostElement.querySelector(`#${this.afId}-content`);
23089
23089
  if (!this.afExpanded) {
23090
- content.setAttribute('style', 'visibility: hidden;');
23090
+ content.style.visibility = 'hidden';
23091
23091
  }
23092
23092
  else {
23093
- content.setAttribute('style', 'height: auto;');
23093
+ content.style.overflowY = 'inherit';
23094
+ content.style.height = 'auto';
23094
23095
  }
23095
23096
  content.addEventListener('transitionend', () => {
23096
23097
  if (!this.afExpanded) {
23097
- content.setAttribute('style', 'visibility: hidden; height: ' + 0 + 'px');
23098
+ content.style.visibility = 'hidden';
23099
+ content.style.height = '0px';
23100
+ }
23101
+ else {
23102
+ content.style.height = 'auto';
23103
+ content.style.overflowY = 'inherit';
23098
23104
  }
23099
- else
23100
- content.setAttribute('style', 'height: auto');
23101
23105
  });
23102
23106
  }
23103
23107
  animateContentHeight() {
@@ -23105,22 +23109,25 @@ class ExpandableAccordion {
23105
23109
  const sectionHeight = content.firstElementChild
23106
23110
  .offsetHeight;
23107
23111
  if (!this.afExpanded && content.style.height === 'auto') {
23108
- content.setAttribute('style', 'height: ' + sectionHeight + 'px');
23112
+ content.style.height = sectionHeight + 'px';
23109
23113
  setTimeout(() => {
23110
- content.setAttribute('style', 'height: 0');
23114
+ content.style.height = '0';
23115
+ content.style.overflowY = 'hidden';
23111
23116
  });
23112
23117
  return;
23113
23118
  }
23114
23119
  if (this.afExpanded) {
23115
- content.setAttribute('style', 'visibility: visible; height:' + sectionHeight + 'px');
23120
+ content.style.height = sectionHeight + 'px';
23121
+ content.style.visibility = 'visible';
23116
23122
  if (!this.afAnimation) {
23117
23123
  setTimeout(() => {
23118
- content.setAttribute('style', 'height: auto');
23124
+ content.style.height = 'auto';
23125
+ content.style.overflowY = 'inherit';
23119
23126
  });
23120
23127
  }
23121
23128
  }
23122
23129
  else {
23123
- content.setAttribute('style', 'height: ' + 0 + 'px');
23130
+ content.style.height = '0px';
23124
23131
  }
23125
23132
  }
23126
23133
  clickToggleHandler(e, resetFocus = false) {
@@ -23132,7 +23139,7 @@ class ExpandableAccordion {
23132
23139
  this.afOnClick.emit(e);
23133
23140
  }
23134
23141
  render() {
23135
- return (hAsync("article", { key: '25e76d66020522814e7777c139c6206b1c103d4e', "aria-expanded": this.afExpanded ? 'true' : 'false', class: Object.assign({ 'digi-expandable-accordion': true }, this.cssModifiers) }, hAsync("header", { key: '2265191f9ad2394befad5da1bdf51cd758d4adba', class: "digi-expandable-accordion__header" }, hAsync(this.afHeadingLevel, { key: '4a26fe5cd756612c36b48a9b04abcff54ba70941', class: "digi-expandable-accordion__heading" }, hAsync("button", { key: '8bb8e9ba1f25650b88f6fc0d26b9c94af9510eee', type: "button", class: "digi-expandable-accordion__button", onClick: (e) => this.clickToggleHandler(e), "aria-expanded": this.afExpanded ? 'true' : 'false', "aria-controls": `${this.afId}-content`, ref: (el) => (this._button = el) }, hAsync("digi-icon-chevron-down", { key: '2b86e033967c20cecc33b34185826b06ab4189e4', class: "digi-expandable-accordion__toggle-icon" }), hAsync("div", { key: '8d3d486567b4e073818b35e77a8f5be92ea3cdef', class: "digi-expandable-accordion__heading-text" }, this.afHeading)))), hAsync("section", { key: '764b758a0bd68b7a02581f620dc8204b517fa991', class: "digi-expandable-accordion__content", id: `${this.afId}-content` }, hAsync("div", { key: 'bad7d77ef14b2edcd80e54d52ffde7bf429caa59' }, hAsync("digi-typography", { key: '15c4a8abc0f50f3521c0a9b39aeb06ce194e4a3b' }, hAsync("slot", { key: '0718dba75edfab31158aec6bf04a8b2bfc60463e' }))))));
23142
+ return (hAsync("article", { key: '2616819e45750577fb23f430d41b2787ca2210a5', "aria-expanded": this.afExpanded ? 'true' : 'false', class: Object.assign({ 'digi-expandable-accordion': true }, this.cssModifiers) }, hAsync("header", { key: 'c77c15183eb4bba670ea2299d5dc3c19e243ea42', class: "digi-expandable-accordion__header" }, hAsync(this.afHeadingLevel, { key: '20dc16774240b6d258eec3d94d4b5d9b9d0a735c', class: "digi-expandable-accordion__heading" }, hAsync("button", { key: '23c45158f203517166cd4c5efe8801b849ea04e0', type: "button", class: "digi-expandable-accordion__button", onClick: (e) => this.clickToggleHandler(e), "aria-expanded": this.afExpanded ? 'true' : 'false', "aria-controls": `${this.afId}-content`, ref: (el) => (this._button = el) }, hAsync("digi-icon-chevron-down", { key: 'bd48367111a6aac92061bda052ffb6708d4f3967', class: "digi-expandable-accordion__toggle-icon" }), hAsync("div", { key: '2e419d3fd48aa8fd31f33012b541a0fd86e60d78', class: "digi-expandable-accordion__heading-text" }, this.afHeading)))), hAsync("section", { key: 'a28657a14024836c9bb1c7e825c573ed6c598eca', class: "digi-expandable-accordion__content", id: `${this.afId}-content` }, hAsync("div", { key: 'e13b9e653c1714adefd5401300789ed89d4cc1b3' }, hAsync("digi-typography", { key: '335442cf9f97ec3f821ab2ca296e1539b24354cf' }, hAsync("slot", { key: '05da2edf48d9259187bb72bf73a6c60ec9077bc0' }))))));
23136
23143
  }
23137
23144
  get hostElement() { return getElement(this); }
23138
23145
  static get watchers() { return {
@@ -23297,17 +23304,21 @@ class ExpandableFaqItem {
23297
23304
  componentDidLoad() {
23298
23305
  const content = this.hostElement.querySelector(`#${this.afId}-content`);
23299
23306
  if (!this.afExpanded) {
23300
- content.setAttribute('style', 'visibility: hidden;');
23307
+ content.style.visibility = 'hidden';
23301
23308
  }
23302
23309
  else {
23303
- content.setAttribute('style', 'height: auto;');
23310
+ content.style.height = 'auto';
23311
+ content.style.overflowY = 'inherit';
23304
23312
  }
23305
23313
  content.addEventListener('transitionend', () => {
23306
23314
  if (!this.afExpanded) {
23307
- content.setAttribute('style', 'visibility: hidden; height: ' + 0 + 'px');
23315
+ content.style.visibility = 'hidden';
23316
+ content.style.height = '0px';
23317
+ }
23318
+ else {
23319
+ content.style.height = 'auto';
23320
+ content.style.overflowY = 'inherit';
23308
23321
  }
23309
- else
23310
- content.setAttribute('style', 'height: auto');
23311
23322
  });
23312
23323
  }
23313
23324
  animateContentHeight() {
@@ -23315,37 +23326,40 @@ class ExpandableFaqItem {
23315
23326
  const sectionHeight = content.firstElementChild
23316
23327
  .offsetHeight;
23317
23328
  if (!this.afExpanded && content.style.height === 'auto') {
23318
- content.setAttribute('style', 'height: ' + sectionHeight + 'px');
23329
+ content.style.height = sectionHeight + 'px';
23319
23330
  setTimeout(() => {
23320
- content.setAttribute('style', 'height: 0');
23331
+ content.style.height = '0';
23332
+ content.style.overflowY = 'hidden';
23321
23333
  });
23322
23334
  return;
23323
23335
  }
23324
23336
  if (this.afExpanded) {
23325
- content.setAttribute('style', 'visibility: visible; height:' + sectionHeight + 'px');
23337
+ content.style.height = sectionHeight + 'px';
23338
+ content.style.visibility = 'visible';
23326
23339
  if (!this.afAnimation) {
23327
23340
  setTimeout(() => {
23328
- content.setAttribute('style', 'height: auto');
23341
+ content.style.height = 'auto';
23342
+ content.style.overflowY = 'inherit';
23329
23343
  });
23330
23344
  }
23331
23345
  }
23332
23346
  else {
23333
- content.setAttribute('style', 'height: ' + 0 + 'px');
23347
+ content.style.height = '0px';
23334
23348
  }
23335
23349
  }
23336
23350
  render() {
23337
- return (hAsync("article", { key: '6d3c64be92f3bf878a6319f8bc6a74b944b9621d', "aria-expanded": this.afExpanded ? 'true' : 'false', class: Object.assign({ 'digi-expandable-faq-item': true }, this.cssModifiers) }, hAsync("header", { key: '7c2929a9fbef5158ba44cc9822cd4592072fdeb1', class: "digi-expandable-faq-item__header" }, hAsync(this.afHeadingLevel, { key: '79e19f80b947765f4ec9e342849ebfef121f1694' }, hAsync("button", { key: 'e08fe43a72da2004e977ecad16383100de0b49c7', type: "button", class: "digi-expandable-faq-item__button", onClick: (e) => {
23351
+ return (hAsync("article", { key: 'e0931c4256d2c4162911fe232132b6179968425f', "aria-expanded": this.afExpanded ? 'true' : 'false', class: Object.assign({ 'digi-expandable-faq-item': true }, this.cssModifiers) }, hAsync("header", { key: '8f6befff5c82c63d5d1f10755f444791f17dafb7', class: "digi-expandable-faq-item__header" }, hAsync(this.afHeadingLevel, { key: 'b9d58dcd28eb430d7b84365ba1bba99d3e86ebc9' }, hAsync("button", { key: 'b2c20566cc84a2b4cbcbe2dcc2a35e44e8f0fcc9', type: "button", class: "digi-expandable-faq-item__button", onClick: (e) => {
23338
23352
  e.preventDefault();
23339
23353
  this.afExpanded = !this.afExpanded;
23340
23354
  this.afOnClick.emit(e);
23341
- }, "aria-expanded": this.afExpanded ? 'true' : 'false', "aria-controls": `${this.afId}-content` }, hAsync("digi-icon-chevron-down", { key: '245e1d2578b3e15d0fc83aaf82ca5b19a292ab20', class: {
23355
+ }, "aria-expanded": this.afExpanded ? 'true' : 'false', "aria-controls": `${this.afId}-content` }, hAsync("digi-icon-chevron-down", { key: '40e0a896b3d7d44bf282e8462a24c43060a29eff', class: {
23342
23356
  'digi-expandable-faq-item__header--toggle-icon': true,
23343
23357
  'digi-expandable-faq-item__header--toggle-icon--expanded': this.afExpanded
23344
- } }), hAsync("div", { key: '6b37c5b10fee03cb1e8fbaebf4afa879131fef08', class: "digi-expandable-faq-item__header-text" }, this.afHeading)))), hAsync("section", { key: '5d0083596a6a9d8dc17db3814dd7fc5b7672def1', class: {
23358
+ } }), hAsync("div", { key: 'f58aa361553f3063bf1e5171f8d320e6cb8189c6', class: "digi-expandable-faq-item__header-text" }, this.afHeading)))), hAsync("section", { key: 'b4d0dd00a3e6fe9e8367ef5a6f197696de55f4fd', class: {
23345
23359
  'digi-expandable-faq-item__content': true,
23346
23360
  'digi-expandable-faq-item__content--animation': this.afAnimation,
23347
23361
  'digi-expandable-faq-item__content--hidden': !this.afExpanded
23348
- }, id: `${this.afId}-content` }, hAsync("div", { key: '1c11f15e328118a0adc6c5fb0cb88b7c8f3b8470' }, hAsync("digi-typography", { key: '0253266ad670b87a5a9291101d965899f14f0b16' }, hAsync("slot", { key: '7c277acd32d84ccc6b1c14913aebde586a2ea148' }))))));
23362
+ }, id: `${this.afId}-content` }, hAsync("div", { key: 'e9a9147164d3934584cd5da5cfc8080ba9374c76' }, hAsync("digi-typography", { key: '398a0c4e0aa1092db5f4a2e3182218ebbe0c3624' }, hAsync("slot", { key: 'be924dc541b7c41b19b4392d3a988b492144d585' }))))));
23349
23363
  }
23350
23364
  get hostElement() { return getElement(this); }
23351
23365
  static get watchers() { return {
@@ -34238,8 +34252,8 @@ class InfoCard {
34238
34252
  */
34239
34253
  this.afBorderPosition = InfoCardBorderPosition.TOP;
34240
34254
  /**
34241
- * Sätter variant. Kan vara 'primary' eller 'secondary'. Detta har endast genomslag om 'af-type' är 'tip'.
34242
- * @en Set info card variation. Can be 'primary' or 'secondary'. This only applies if 'af-type' is 'tip'.
34255
+ * Sätter variant. Kan vara 'primary' eller 'secondary'.
34256
+ * @en Set info card variation. Can be 'primary' or 'secondary'.
34243
34257
  */
34244
34258
  this.afVariation = InfoCardVariation.PRIMARY;
34245
34259
  this.activeLink = false;
@@ -34285,7 +34299,7 @@ class InfoCard {
34285
34299
  };
34286
34300
  }
34287
34301
  render() {
34288
- return (hAsync("div", { key: 'fbdeac4da7aa22626349c61b243f10b6a4bd3d42', class: Object.assign({ 'digi-info-card': true }, this.cssModifiers) }, hAsync("div", { key: '44772e768e3bc80a7a5a20b7858d6970070f27db', class: "digi-info-card__content" }, hAsync("div", { key: 'e770035d77564f3a57a39c553631d37d1c278626', class: "digi-info-card__icon" }, this.hasListIcon && (hAsync("span", { key: '68e4ad4d7b050ac36c23647f7a65cc6b059e20d2', class: "digi-info-card__icon" }, hAsync("slot", { key: 'a8550b30fdb6e31dbb8e9d02bb4275f0d74bf73c', name: "icon" })))), hAsync(this.afHeadingLevel, { key: '9f4d71156595099a0825c586ae533e89ef0028a1', class: "digi-info-card__heading" }, this.afHeading), hAsync("digi-typography", { key: '915eb7c59aba9eaa9cf36a6af281ec31c17fe77e' }, hAsync("slot", { key: '72c6ddf7f4ec870b670183e6f2b844ec46116aaf' })), this.shouldRenderInternalLink && (hAsync("digi-link-internal", { key: '0ad0f534ef93d7743f2a93dc21edd9bdf423548b', class: "digi-info-card__link", afHref: this.afLinkHref, onAfOnClick: (e) => this.clickLinkHandler(e), hideVisitedColor: this.hideVisitedColor }, this.afLinkText)))));
34302
+ return (hAsync("div", { key: '56dc89fe307963c3088b9e8301700a5e29d36c22', class: Object.assign({ 'digi-info-card': true }, this.cssModifiers) }, hAsync("div", { key: '504c5b7810f922a55ef5c887b24432a3ccb9ea78', class: "digi-info-card__content" }, hAsync("div", { key: '6adb959fadb3c8a8182e0176cca3fd02686fadfb', class: "digi-info-card__icon" }, this.hasListIcon && (hAsync("span", { key: '3a9c35f22e32d4b30dbcc0614c602541a7349fac', class: "digi-info-card__icon" }, hAsync("slot", { key: '601de5d168bad7d3615c8d35b8dd464a392aef6c', name: "icon" })))), hAsync(this.afHeadingLevel, { key: 'f6006f419904c85a05ea8efa3933b32c9373b655', class: "digi-info-card__heading" }, this.afHeading), hAsync("digi-typography", { key: '3858f2e16f6b33a9f9bd72278c199ebc5b32e762' }, hAsync("slot", { key: '5b0c1cc00581490aa189a5dd31a7d13f05ef6ce5' })), this.shouldRenderInternalLink && (hAsync("digi-link-internal", { key: 'fcc04567e624c939c30c27dec8d3fd58fe0042eb', class: "digi-info-card__link", afHref: this.afLinkHref, onAfOnClick: (e) => this.clickLinkHandler(e), hideVisitedColor: this.hideVisitedColor }, this.afLinkText)))));
34289
34303
  }
34290
34304
  get hostElement() { return getElement(this); }
34291
34305
  static get watchers() { return {
package/hydrate/index.mjs CHANGED
@@ -23085,17 +23085,21 @@ class ExpandableAccordion {
23085
23085
  componentDidLoad() {
23086
23086
  const content = this.hostElement.querySelector(`#${this.afId}-content`);
23087
23087
  if (!this.afExpanded) {
23088
- content.setAttribute('style', 'visibility: hidden;');
23088
+ content.style.visibility = 'hidden';
23089
23089
  }
23090
23090
  else {
23091
- content.setAttribute('style', 'height: auto;');
23091
+ content.style.overflowY = 'inherit';
23092
+ content.style.height = 'auto';
23092
23093
  }
23093
23094
  content.addEventListener('transitionend', () => {
23094
23095
  if (!this.afExpanded) {
23095
- content.setAttribute('style', 'visibility: hidden; height: ' + 0 + 'px');
23096
+ content.style.visibility = 'hidden';
23097
+ content.style.height = '0px';
23098
+ }
23099
+ else {
23100
+ content.style.height = 'auto';
23101
+ content.style.overflowY = 'inherit';
23096
23102
  }
23097
- else
23098
- content.setAttribute('style', 'height: auto');
23099
23103
  });
23100
23104
  }
23101
23105
  animateContentHeight() {
@@ -23103,22 +23107,25 @@ class ExpandableAccordion {
23103
23107
  const sectionHeight = content.firstElementChild
23104
23108
  .offsetHeight;
23105
23109
  if (!this.afExpanded && content.style.height === 'auto') {
23106
- content.setAttribute('style', 'height: ' + sectionHeight + 'px');
23110
+ content.style.height = sectionHeight + 'px';
23107
23111
  setTimeout(() => {
23108
- content.setAttribute('style', 'height: 0');
23112
+ content.style.height = '0';
23113
+ content.style.overflowY = 'hidden';
23109
23114
  });
23110
23115
  return;
23111
23116
  }
23112
23117
  if (this.afExpanded) {
23113
- content.setAttribute('style', 'visibility: visible; height:' + sectionHeight + 'px');
23118
+ content.style.height = sectionHeight + 'px';
23119
+ content.style.visibility = 'visible';
23114
23120
  if (!this.afAnimation) {
23115
23121
  setTimeout(() => {
23116
- content.setAttribute('style', 'height: auto');
23122
+ content.style.height = 'auto';
23123
+ content.style.overflowY = 'inherit';
23117
23124
  });
23118
23125
  }
23119
23126
  }
23120
23127
  else {
23121
- content.setAttribute('style', 'height: ' + 0 + 'px');
23128
+ content.style.height = '0px';
23122
23129
  }
23123
23130
  }
23124
23131
  clickToggleHandler(e, resetFocus = false) {
@@ -23130,7 +23137,7 @@ class ExpandableAccordion {
23130
23137
  this.afOnClick.emit(e);
23131
23138
  }
23132
23139
  render() {
23133
- return (hAsync("article", { key: '25e76d66020522814e7777c139c6206b1c103d4e', "aria-expanded": this.afExpanded ? 'true' : 'false', class: Object.assign({ 'digi-expandable-accordion': true }, this.cssModifiers) }, hAsync("header", { key: '2265191f9ad2394befad5da1bdf51cd758d4adba', class: "digi-expandable-accordion__header" }, hAsync(this.afHeadingLevel, { key: '4a26fe5cd756612c36b48a9b04abcff54ba70941', class: "digi-expandable-accordion__heading" }, hAsync("button", { key: '8bb8e9ba1f25650b88f6fc0d26b9c94af9510eee', type: "button", class: "digi-expandable-accordion__button", onClick: (e) => this.clickToggleHandler(e), "aria-expanded": this.afExpanded ? 'true' : 'false', "aria-controls": `${this.afId}-content`, ref: (el) => (this._button = el) }, hAsync("digi-icon-chevron-down", { key: '2b86e033967c20cecc33b34185826b06ab4189e4', class: "digi-expandable-accordion__toggle-icon" }), hAsync("div", { key: '8d3d486567b4e073818b35e77a8f5be92ea3cdef', class: "digi-expandable-accordion__heading-text" }, this.afHeading)))), hAsync("section", { key: '764b758a0bd68b7a02581f620dc8204b517fa991', class: "digi-expandable-accordion__content", id: `${this.afId}-content` }, hAsync("div", { key: 'bad7d77ef14b2edcd80e54d52ffde7bf429caa59' }, hAsync("digi-typography", { key: '15c4a8abc0f50f3521c0a9b39aeb06ce194e4a3b' }, hAsync("slot", { key: '0718dba75edfab31158aec6bf04a8b2bfc60463e' }))))));
23140
+ return (hAsync("article", { key: '2616819e45750577fb23f430d41b2787ca2210a5', "aria-expanded": this.afExpanded ? 'true' : 'false', class: Object.assign({ 'digi-expandable-accordion': true }, this.cssModifiers) }, hAsync("header", { key: 'c77c15183eb4bba670ea2299d5dc3c19e243ea42', class: "digi-expandable-accordion__header" }, hAsync(this.afHeadingLevel, { key: '20dc16774240b6d258eec3d94d4b5d9b9d0a735c', class: "digi-expandable-accordion__heading" }, hAsync("button", { key: '23c45158f203517166cd4c5efe8801b849ea04e0', type: "button", class: "digi-expandable-accordion__button", onClick: (e) => this.clickToggleHandler(e), "aria-expanded": this.afExpanded ? 'true' : 'false', "aria-controls": `${this.afId}-content`, ref: (el) => (this._button = el) }, hAsync("digi-icon-chevron-down", { key: 'bd48367111a6aac92061bda052ffb6708d4f3967', class: "digi-expandable-accordion__toggle-icon" }), hAsync("div", { key: '2e419d3fd48aa8fd31f33012b541a0fd86e60d78', class: "digi-expandable-accordion__heading-text" }, this.afHeading)))), hAsync("section", { key: 'a28657a14024836c9bb1c7e825c573ed6c598eca', class: "digi-expandable-accordion__content", id: `${this.afId}-content` }, hAsync("div", { key: 'e13b9e653c1714adefd5401300789ed89d4cc1b3' }, hAsync("digi-typography", { key: '335442cf9f97ec3f821ab2ca296e1539b24354cf' }, hAsync("slot", { key: '05da2edf48d9259187bb72bf73a6c60ec9077bc0' }))))));
23134
23141
  }
23135
23142
  get hostElement() { return getElement(this); }
23136
23143
  static get watchers() { return {
@@ -23295,17 +23302,21 @@ class ExpandableFaqItem {
23295
23302
  componentDidLoad() {
23296
23303
  const content = this.hostElement.querySelector(`#${this.afId}-content`);
23297
23304
  if (!this.afExpanded) {
23298
- content.setAttribute('style', 'visibility: hidden;');
23305
+ content.style.visibility = 'hidden';
23299
23306
  }
23300
23307
  else {
23301
- content.setAttribute('style', 'height: auto;');
23308
+ content.style.height = 'auto';
23309
+ content.style.overflowY = 'inherit';
23302
23310
  }
23303
23311
  content.addEventListener('transitionend', () => {
23304
23312
  if (!this.afExpanded) {
23305
- content.setAttribute('style', 'visibility: hidden; height: ' + 0 + 'px');
23313
+ content.style.visibility = 'hidden';
23314
+ content.style.height = '0px';
23315
+ }
23316
+ else {
23317
+ content.style.height = 'auto';
23318
+ content.style.overflowY = 'inherit';
23306
23319
  }
23307
- else
23308
- content.setAttribute('style', 'height: auto');
23309
23320
  });
23310
23321
  }
23311
23322
  animateContentHeight() {
@@ -23313,37 +23324,40 @@ class ExpandableFaqItem {
23313
23324
  const sectionHeight = content.firstElementChild
23314
23325
  .offsetHeight;
23315
23326
  if (!this.afExpanded && content.style.height === 'auto') {
23316
- content.setAttribute('style', 'height: ' + sectionHeight + 'px');
23327
+ content.style.height = sectionHeight + 'px';
23317
23328
  setTimeout(() => {
23318
- content.setAttribute('style', 'height: 0');
23329
+ content.style.height = '0';
23330
+ content.style.overflowY = 'hidden';
23319
23331
  });
23320
23332
  return;
23321
23333
  }
23322
23334
  if (this.afExpanded) {
23323
- content.setAttribute('style', 'visibility: visible; height:' + sectionHeight + 'px');
23335
+ content.style.height = sectionHeight + 'px';
23336
+ content.style.visibility = 'visible';
23324
23337
  if (!this.afAnimation) {
23325
23338
  setTimeout(() => {
23326
- content.setAttribute('style', 'height: auto');
23339
+ content.style.height = 'auto';
23340
+ content.style.overflowY = 'inherit';
23327
23341
  });
23328
23342
  }
23329
23343
  }
23330
23344
  else {
23331
- content.setAttribute('style', 'height: ' + 0 + 'px');
23345
+ content.style.height = '0px';
23332
23346
  }
23333
23347
  }
23334
23348
  render() {
23335
- return (hAsync("article", { key: '6d3c64be92f3bf878a6319f8bc6a74b944b9621d', "aria-expanded": this.afExpanded ? 'true' : 'false', class: Object.assign({ 'digi-expandable-faq-item': true }, this.cssModifiers) }, hAsync("header", { key: '7c2929a9fbef5158ba44cc9822cd4592072fdeb1', class: "digi-expandable-faq-item__header" }, hAsync(this.afHeadingLevel, { key: '79e19f80b947765f4ec9e342849ebfef121f1694' }, hAsync("button", { key: 'e08fe43a72da2004e977ecad16383100de0b49c7', type: "button", class: "digi-expandable-faq-item__button", onClick: (e) => {
23349
+ return (hAsync("article", { key: 'e0931c4256d2c4162911fe232132b6179968425f', "aria-expanded": this.afExpanded ? 'true' : 'false', class: Object.assign({ 'digi-expandable-faq-item': true }, this.cssModifiers) }, hAsync("header", { key: '8f6befff5c82c63d5d1f10755f444791f17dafb7', class: "digi-expandable-faq-item__header" }, hAsync(this.afHeadingLevel, { key: 'b9d58dcd28eb430d7b84365ba1bba99d3e86ebc9' }, hAsync("button", { key: 'b2c20566cc84a2b4cbcbe2dcc2a35e44e8f0fcc9', type: "button", class: "digi-expandable-faq-item__button", onClick: (e) => {
23336
23350
  e.preventDefault();
23337
23351
  this.afExpanded = !this.afExpanded;
23338
23352
  this.afOnClick.emit(e);
23339
- }, "aria-expanded": this.afExpanded ? 'true' : 'false', "aria-controls": `${this.afId}-content` }, hAsync("digi-icon-chevron-down", { key: '245e1d2578b3e15d0fc83aaf82ca5b19a292ab20', class: {
23353
+ }, "aria-expanded": this.afExpanded ? 'true' : 'false', "aria-controls": `${this.afId}-content` }, hAsync("digi-icon-chevron-down", { key: '40e0a896b3d7d44bf282e8462a24c43060a29eff', class: {
23340
23354
  'digi-expandable-faq-item__header--toggle-icon': true,
23341
23355
  'digi-expandable-faq-item__header--toggle-icon--expanded': this.afExpanded
23342
- } }), hAsync("div", { key: '6b37c5b10fee03cb1e8fbaebf4afa879131fef08', class: "digi-expandable-faq-item__header-text" }, this.afHeading)))), hAsync("section", { key: '5d0083596a6a9d8dc17db3814dd7fc5b7672def1', class: {
23356
+ } }), hAsync("div", { key: 'f58aa361553f3063bf1e5171f8d320e6cb8189c6', class: "digi-expandable-faq-item__header-text" }, this.afHeading)))), hAsync("section", { key: 'b4d0dd00a3e6fe9e8367ef5a6f197696de55f4fd', class: {
23343
23357
  'digi-expandable-faq-item__content': true,
23344
23358
  'digi-expandable-faq-item__content--animation': this.afAnimation,
23345
23359
  'digi-expandable-faq-item__content--hidden': !this.afExpanded
23346
- }, id: `${this.afId}-content` }, hAsync("div", { key: '1c11f15e328118a0adc6c5fb0cb88b7c8f3b8470' }, hAsync("digi-typography", { key: '0253266ad670b87a5a9291101d965899f14f0b16' }, hAsync("slot", { key: '7c277acd32d84ccc6b1c14913aebde586a2ea148' }))))));
23360
+ }, id: `${this.afId}-content` }, hAsync("div", { key: 'e9a9147164d3934584cd5da5cfc8080ba9374c76' }, hAsync("digi-typography", { key: '398a0c4e0aa1092db5f4a2e3182218ebbe0c3624' }, hAsync("slot", { key: 'be924dc541b7c41b19b4392d3a988b492144d585' }))))));
23347
23361
  }
23348
23362
  get hostElement() { return getElement(this); }
23349
23363
  static get watchers() { return {
@@ -34236,8 +34250,8 @@ class InfoCard {
34236
34250
  */
34237
34251
  this.afBorderPosition = InfoCardBorderPosition.TOP;
34238
34252
  /**
34239
- * Sätter variant. Kan vara 'primary' eller 'secondary'. Detta har endast genomslag om 'af-type' är 'tip'.
34240
- * @en Set info card variation. Can be 'primary' or 'secondary'. This only applies if 'af-type' is 'tip'.
34253
+ * Sätter variant. Kan vara 'primary' eller 'secondary'.
34254
+ * @en Set info card variation. Can be 'primary' or 'secondary'.
34241
34255
  */
34242
34256
  this.afVariation = InfoCardVariation.PRIMARY;
34243
34257
  this.activeLink = false;
@@ -34283,7 +34297,7 @@ class InfoCard {
34283
34297
  };
34284
34298
  }
34285
34299
  render() {
34286
- return (hAsync("div", { key: 'fbdeac4da7aa22626349c61b243f10b6a4bd3d42', class: Object.assign({ 'digi-info-card': true }, this.cssModifiers) }, hAsync("div", { key: '44772e768e3bc80a7a5a20b7858d6970070f27db', class: "digi-info-card__content" }, hAsync("div", { key: 'e770035d77564f3a57a39c553631d37d1c278626', class: "digi-info-card__icon" }, this.hasListIcon && (hAsync("span", { key: '68e4ad4d7b050ac36c23647f7a65cc6b059e20d2', class: "digi-info-card__icon" }, hAsync("slot", { key: 'a8550b30fdb6e31dbb8e9d02bb4275f0d74bf73c', name: "icon" })))), hAsync(this.afHeadingLevel, { key: '9f4d71156595099a0825c586ae533e89ef0028a1', class: "digi-info-card__heading" }, this.afHeading), hAsync("digi-typography", { key: '915eb7c59aba9eaa9cf36a6af281ec31c17fe77e' }, hAsync("slot", { key: '72c6ddf7f4ec870b670183e6f2b844ec46116aaf' })), this.shouldRenderInternalLink && (hAsync("digi-link-internal", { key: '0ad0f534ef93d7743f2a93dc21edd9bdf423548b', class: "digi-info-card__link", afHref: this.afLinkHref, onAfOnClick: (e) => this.clickLinkHandler(e), hideVisitedColor: this.hideVisitedColor }, this.afLinkText)))));
34300
+ return (hAsync("div", { key: '56dc89fe307963c3088b9e8301700a5e29d36c22', class: Object.assign({ 'digi-info-card': true }, this.cssModifiers) }, hAsync("div", { key: '504c5b7810f922a55ef5c887b24432a3ccb9ea78', class: "digi-info-card__content" }, hAsync("div", { key: '6adb959fadb3c8a8182e0176cca3fd02686fadfb', class: "digi-info-card__icon" }, this.hasListIcon && (hAsync("span", { key: '3a9c35f22e32d4b30dbcc0614c602541a7349fac', class: "digi-info-card__icon" }, hAsync("slot", { key: '601de5d168bad7d3615c8d35b8dd464a392aef6c', name: "icon" })))), hAsync(this.afHeadingLevel, { key: 'f6006f419904c85a05ea8efa3933b32c9373b655', class: "digi-info-card__heading" }, this.afHeading), hAsync("digi-typography", { key: '3858f2e16f6b33a9f9bd72278c199ebc5b32e762' }, hAsync("slot", { key: '5b0c1cc00581490aa189a5dd31a7d13f05ef6ce5' })), this.shouldRenderInternalLink && (hAsync("digi-link-internal", { key: 'fcc04567e624c939c30c27dec8d3fd58fe0042eb', class: "digi-info-card__link", afHref: this.afLinkHref, onAfOnClick: (e) => this.clickLinkHandler(e), hideVisitedColor: this.hideVisitedColor }, this.afLinkText)))));
34287
34301
  }
34288
34302
  get hostElement() { return getElement(this); }
34289
34303
  static get watchers() { return {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@designsystem-se/af",
3
3
  "author": "Arbetsförmedlingen",
4
- "version": "39.2.2",
4
+ "version": "39.2.3",
5
5
  "description": "Web Components for Digi Designsystem",
6
6
  "license": "Apache-2.0",
7
7
  "main": "./dist/index.cjs.js",