@designsystem-se/af 34.0.1-beta.0 → 34.0.2

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 (179) hide show
  1. package/components/digi-bar-chart.js +2 -2
  2. package/components/digi-button.js +1 -1
  3. package/components/digi-calendar-week-view.js +2 -2
  4. package/components/digi-card.js +1 -1
  5. package/components/digi-chart-line.js +2 -2
  6. package/components/digi-code-block.js +1 -1
  7. package/components/digi-code-example.js +2 -2
  8. package/components/digi-context-menu.js +1 -1
  9. package/components/digi-dialog.js +2 -2
  10. package/components/digi-expandable-accordion.js +2 -2
  11. package/components/digi-expandable-faq-item.js +1 -1
  12. package/components/digi-footer.js +1 -1
  13. package/components/digi-form-category-filter.js +1 -1
  14. package/components/digi-form-error-list.js +4 -4
  15. package/components/digi-form-filter.js +1 -1
  16. package/components/digi-form-input-search.js +1 -1
  17. package/components/digi-form-select-filter.js +8 -30
  18. package/components/digi-header-navigation.js +1 -1
  19. package/components/digi-header.js +2 -2
  20. package/components/digi-info-card-multi.js +1 -1
  21. package/components/digi-info-card.js +1 -1
  22. package/components/digi-layout-media-object.js +1 -1
  23. package/components/digi-link-button.js +1 -1
  24. package/components/digi-list.js +12 -9
  25. package/components/digi-navigation-breadcrumbs.js +1 -1
  26. package/components/digi-navigation-context-menu.js +1 -1
  27. package/components/digi-navigation-pagination.js +2 -2
  28. package/components/digi-navigation-sidebar-button.js +1 -1
  29. package/components/digi-navigation-sidebar.js +1 -1
  30. package/components/digi-notification-alert.js +1 -1
  31. package/components/digi-notification-error-page.js +1 -1
  32. package/components/digi-progress-indicator.js +1 -1
  33. package/components/digi-progress-list.js +1 -1
  34. package/components/digi-quote.js +1 -1
  35. package/components/digi-tablist.js +23 -6
  36. package/components/digi-tag.js +2 -2
  37. package/components/digi-tools-feedback-rating.js +1 -1
  38. package/components/digi-tools-feedback.js +1 -1
  39. package/components/digi-tools-languagepicker.js +2 -2
  40. package/components/digi-typography.js +1 -1
  41. package/components/{p-5e487ed4.js → p-10503e1d.js} +2 -2
  42. package/components/{p-09e0586b.js → p-68dbf3ef.js} +2 -2
  43. package/components/{p-8a1aaa8e.js → p-9f5ead44.js} +1 -1
  44. package/components/{p-f6347f75.js → p-a92aa84e.js} +3 -3
  45. package/components/{p-aa59e5c0.js → p-afc595b8.js} +1 -1
  46. package/components/{p-7f5a8dd1.js → p-dc9fbc23.js} +1 -1
  47. package/components/{p-acb38ff0.js → p-f6ca68ba.js} +1 -1
  48. package/custom-elements.json +1 -1
  49. package/dist/cjs/digi-arbetsformedlingen.cjs.js +1 -1
  50. package/dist/cjs/{digi-button_4.cjs.entry.js → digi-button.cjs.entry.js} +2 -84
  51. package/dist/cjs/digi-calendar-datepicker.cjs.entry.js +2 -2
  52. package/dist/cjs/digi-code-block_3.cjs.entry.js +2 -2
  53. package/dist/cjs/digi-dialog.cjs.entry.js +2 -2
  54. package/dist/cjs/digi-expandable-accordion.cjs.entry.js +2 -2
  55. package/dist/cjs/digi-footer.cjs.entry.js +2 -2
  56. package/dist/cjs/digi-form-error-list.cjs.entry.js +2 -2
  57. package/dist/cjs/{digi-form-label_5.cjs.entry.js → digi-form-label_3.cjs.entry.js} +0 -46
  58. package/dist/cjs/digi-form-receipt.cjs.entry.js +2 -2
  59. package/dist/cjs/digi-form-select-filter.cjs.entry.js +9 -31
  60. package/dist/cjs/digi-header-navigation.cjs.entry.js +2 -2
  61. package/dist/cjs/digi-header.cjs.entry.js +2 -2
  62. package/dist/cjs/digi-icon-check_6.cjs.entry.js +286 -0
  63. package/dist/cjs/digi-icon-notification-error_5.cjs.entry.js +1 -1
  64. package/dist/cjs/digi-icon-x.cjs.entry.js +30 -0
  65. package/dist/cjs/digi-link-button.cjs.entry.js +1 -1
  66. package/dist/cjs/digi-list.cjs.entry.js +11 -8
  67. package/dist/cjs/digi-navigation-breadcrumbs.cjs.entry.js +1 -1
  68. package/dist/cjs/digi-navigation-pagination.cjs.entry.js +2 -2
  69. package/dist/cjs/digi-notification-alert.cjs.entry.js +2 -2
  70. package/dist/cjs/digi-notification-error-page.cjs.entry.js +2 -2
  71. package/dist/cjs/digi-tablist.cjs.entry.js +23 -6
  72. package/dist/cjs/digi-tag.cjs.entry.js +42 -0
  73. package/dist/cjs/digi-tools-feedback.cjs.entry.js +2 -2
  74. package/dist/cjs/index-cfa8e9be.js +12 -12
  75. package/dist/cjs/index.cjs.js +11 -11
  76. package/dist/cjs/loader.cjs.js +1 -1
  77. package/dist/cjs/tag-size.enum-0a6be639.js +8 -0
  78. package/dist/cjs/{progress-indicator-variation.enum-7cf8e0e4.js → typography-variation.enum-252bed2e.js} +6 -0
  79. package/dist/collection/components/_button/button/button.js +5 -2
  80. package/dist/collection/components/_form/form-select-filter/form-select-filter.js +7 -29
  81. package/dist/collection/components/_layout/layout-media-object/layout-media-object.js +2 -1
  82. package/dist/collection/components/_link/link-button/link-button.js +6 -3
  83. package/dist/collection/components/_list/list/list.css +7 -19
  84. package/dist/collection/components/_list/list/list.js +10 -7
  85. package/dist/collection/components/_navigation/navigation-breadcrumbs/navigation-breadcrumbs.css +2 -0
  86. package/dist/collection/components/_navigation/navigation-tablist/navigation-tablist.js +23 -6
  87. package/dist/collection/components/_progress/progress-indicator/progress-indicator.css +15 -2
  88. package/dist/collection/components/_tag/tag/tag.js +4 -1
  89. package/dist/collection/components/_typography/typography/typography.css +12 -3
  90. package/dist/collection/components/_typography/typography/typography.js +4 -1
  91. package/dist/collection/design-tokens/components/_list.variables.scss +1 -2
  92. package/dist/digi-arbetsformedlingen/design-tokens/components/_list.variables.scss +1 -2
  93. package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
  94. package/dist/digi-arbetsformedlingen/index.esm.js +1 -1
  95. package/dist/digi-arbetsformedlingen/p-00d6ab21.js +1 -0
  96. package/dist/digi-arbetsformedlingen/p-03c74be2.entry.js +1 -0
  97. package/dist/digi-arbetsformedlingen/{p-83ed81f6.entry.js → p-04162d84.entry.js} +1 -1
  98. package/dist/digi-arbetsformedlingen/{p-04e1b953.entry.js → p-2eb2de93.entry.js} +1 -1
  99. package/dist/digi-arbetsformedlingen/p-38ac4375.entry.js +1 -0
  100. package/dist/digi-arbetsformedlingen/{p-02a9c10c.entry.js → p-4771449c.entry.js} +1 -1
  101. package/dist/digi-arbetsformedlingen/{p-4b258acf.entry.js → p-48d8109b.entry.js} +1 -1
  102. package/dist/digi-arbetsformedlingen/p-4e311538.entry.js +1 -0
  103. package/dist/digi-arbetsformedlingen/p-4e9cd0cd.entry.js +1 -0
  104. package/dist/digi-arbetsformedlingen/{p-83621ca7.entry.js → p-4f4113d7.entry.js} +1 -1
  105. package/dist/digi-arbetsformedlingen/{p-68306648.entry.js → p-525bd193.entry.js} +1 -1
  106. package/dist/digi-arbetsformedlingen/{p-1235e21c.entry.js → p-551f6906.entry.js} +1 -1
  107. package/dist/digi-arbetsformedlingen/{p-fcb4e37b.entry.js → p-5a7db717.entry.js} +1 -1
  108. package/dist/digi-arbetsformedlingen/{p-fd42009d.entry.js → p-6492e062.entry.js} +1 -1
  109. package/dist/digi-arbetsformedlingen/p-71613ea0.entry.js +1 -0
  110. package/dist/digi-arbetsformedlingen/{p-20e04419.entry.js → p-766df2e4.entry.js} +1 -1
  111. package/dist/digi-arbetsformedlingen/p-7f1574ff.js +1 -0
  112. package/dist/digi-arbetsformedlingen/{p-db5cbe34.entry.js → p-80fce66a.entry.js} +1 -1
  113. package/dist/digi-arbetsformedlingen/p-a0607d6f.entry.js +1 -0
  114. package/dist/digi-arbetsformedlingen/{p-0a97b588.entry.js → p-bc37453e.entry.js} +1 -1
  115. package/dist/digi-arbetsformedlingen/{p-afe213a1.entry.js → p-c7fd83fa.entry.js} +1 -1
  116. package/dist/digi-arbetsformedlingen/p-c8110048.entry.js +1 -0
  117. package/dist/digi-arbetsformedlingen/{p-6a09632d.entry.js → p-d13c7e47.entry.js} +1 -1
  118. package/dist/digi-arbetsformedlingen/{p-521b26de.entry.js → p-edf6fbd2.entry.js} +1 -1
  119. package/dist/digi-arbetsformedlingen/{p-921b40e3.entry.js → p-f3b56695.entry.js} +1 -1
  120. package/dist/digi-arbetsformedlingen/p-fa7824e9.entry.js +1 -0
  121. package/dist/esm/digi-arbetsformedlingen.js +1 -1
  122. package/dist/esm/{digi-button_4.entry.js → digi-button.entry.js} +3 -82
  123. package/dist/esm/digi-calendar-datepicker.entry.js +2 -2
  124. package/dist/esm/digi-code-block_3.entry.js +2 -2
  125. package/dist/esm/digi-dialog.entry.js +2 -2
  126. package/dist/esm/digi-expandable-accordion.entry.js +2 -2
  127. package/dist/esm/digi-footer.entry.js +2 -2
  128. package/dist/esm/digi-form-error-list.entry.js +2 -2
  129. package/dist/esm/{digi-form-label_5.entry.js → digi-form-label_3.entry.js} +1 -45
  130. package/dist/esm/digi-form-receipt.entry.js +2 -2
  131. package/dist/esm/digi-form-select-filter.entry.js +9 -31
  132. package/dist/esm/digi-header-navigation.entry.js +2 -2
  133. package/dist/esm/digi-header.entry.js +2 -2
  134. package/dist/esm/digi-icon-check_6.entry.js +277 -0
  135. package/dist/esm/digi-icon-notification-error_5.entry.js +1 -1
  136. package/dist/esm/digi-icon-x.entry.js +26 -0
  137. package/dist/esm/digi-link-button.entry.js +1 -1
  138. package/dist/esm/digi-list.entry.js +11 -8
  139. package/dist/esm/digi-navigation-breadcrumbs.entry.js +1 -1
  140. package/dist/esm/digi-navigation-pagination.entry.js +2 -2
  141. package/dist/esm/digi-notification-alert.entry.js +2 -2
  142. package/dist/esm/digi-notification-error-page.entry.js +2 -2
  143. package/dist/esm/digi-tablist.entry.js +23 -6
  144. package/dist/esm/digi-tag.entry.js +38 -0
  145. package/dist/esm/digi-tools-feedback.entry.js +2 -2
  146. package/dist/esm/index-8e318bb2.js +12 -12
  147. package/dist/esm/index.js +2 -2
  148. package/dist/esm/loader.js +1 -1
  149. package/dist/esm/tag-size.enum-1e1bcf94.js +8 -0
  150. package/dist/esm/{progress-indicator-variation.enum-b12ba50a.js → typography-variation.enum-d5ac8594.js} +7 -1
  151. package/dist/types/components/_button/button/button.d.ts +1 -0
  152. package/dist/types/components/_form/form-select-filter/form-select-filter.d.ts +0 -2
  153. package/dist/types/components/_layout/layout-media-object/layout-media-object.d.ts +1 -0
  154. package/dist/types/components/_link/link-button/link-button.d.ts +3 -2
  155. package/dist/types/components/_list/list/list.d.ts +0 -1
  156. package/dist/types/components/_tag/tag/tag.d.ts +1 -0
  157. package/dist/types/components/_typography/typography/typography.d.ts +1 -0
  158. package/dist/types/components.d.ts +16 -4
  159. package/hydrate/index.js +51 -52
  160. package/hydrate/index.mjs +51 -52
  161. package/package.json +1 -1
  162. package/dist/cjs/digi-icon-check.cjs.entry.js +0 -30
  163. package/dist/cjs/digi-progress-indicator.cjs.entry.js +0 -137
  164. package/dist/cjs/digi-util-mutation-observer.cjs.entry.js +0 -64
  165. package/dist/cjs/typography-variation.enum-bba759ae.js +0 -14
  166. package/dist/digi-arbetsformedlingen/p-4d48c55a.entry.js +0 -1
  167. package/dist/digi-arbetsformedlingen/p-614a1149.entry.js +0 -1
  168. package/dist/digi-arbetsformedlingen/p-642eaeed.entry.js +0 -1
  169. package/dist/digi-arbetsformedlingen/p-6fcac607.entry.js +0 -1
  170. package/dist/digi-arbetsformedlingen/p-9dd5d6c8.js +0 -1
  171. package/dist/digi-arbetsformedlingen/p-a29a52f3.entry.js +0 -1
  172. package/dist/digi-arbetsformedlingen/p-de4c4238.entry.js +0 -1
  173. package/dist/digi-arbetsformedlingen/p-ece582a3.entry.js +0 -1
  174. package/dist/digi-arbetsformedlingen/p-f84d9dea.entry.js +0 -1
  175. package/dist/digi-arbetsformedlingen/p-fe5da310.js +0 -1
  176. package/dist/esm/digi-icon-check.entry.js +0 -26
  177. package/dist/esm/digi-progress-indicator.entry.js +0 -133
  178. package/dist/esm/digi-util-mutation-observer.entry.js +0 -60
  179. package/dist/esm/typography-variation.enum-850aad78.js +0 -14
@@ -11,3 +11,9 @@ exports.ProgressIndicatorVariation = void 0;
11
11
  ProgressIndicatorVariation["PRIMARY"] = "primary";
12
12
  ProgressIndicatorVariation["SECONDARY"] = "secondary";
13
13
  })(exports.ProgressIndicatorVariation || (exports.ProgressIndicatorVariation = {}));
14
+
15
+ exports.TypographyVariation = void 0;
16
+ (function (TypographyVariation) {
17
+ TypographyVariation["SMALL"] = "small";
18
+ TypographyVariation["LARGE"] = "large";
19
+ })(exports.TypographyVariation || (exports.TypographyVariation = {}));
@@ -106,7 +106,7 @@ export class Button {
106
106
  this.afOnBlur.emit(e);
107
107
  }
108
108
  render() {
109
- return (h(Host, { key: '3a398d75ad83e3caa9ec54928544d5bf8315d30f' }, h("button", { key: '2159552d7e8064acbb6da5c02c28ead3d4985e85', class: Object.assign({ 'digi-button': true }, this.cssModifiers), type: this.afType, role: this.afRole, ref: (el) => {
109
+ return (h(Host, { key: 'ef36d70f087c51bb37fa5b2c0fdd9ff7bebb7b02' }, h("button", { key: 'c62591e478d6dec6cb33d197c46ab4aea06ee9f6', class: Object.assign({ 'digi-button': true }, this.cssModifiers), type: this.afType, role: this.afRole, ref: (el) => {
110
110
  var _a, _b, _c;
111
111
  this._button = el;
112
112
  (_a = this === null || this === void 0 ? void 0 : this.afInputRef) === null || _a === void 0 ? void 0 : _a.call(this, el);
@@ -115,7 +115,7 @@ export class Button {
115
115
  this.afForm
116
116
  ? (_b = this._button) === null || _b === void 0 ? void 0 : _b.setAttribute('form', this.afForm)
117
117
  : (_c = this._button) === null || _c === void 0 ? void 0 : _c.removeAttribute('form');
118
- }, id: this.afId, tabindex: this.afTabindex, "aria-label": this.afAriaLabel, "aria-labelledby": this.afAriaLabelledby, "aria-controls": this.afAriaControls, "aria-pressed": this.pressedState, "aria-expanded": this.expandedState, "aria-haspopup": this.hasPopup, "aria-current": this.afAriaCurrent, "aria-checked": this.afAriaChecked, onClick: (e) => this.clickHandler(e), onFocus: (e) => this.focusHandler(e), onBlur: (e) => this.blurHandler(e), autoFocus: this.afAutofocus ? this.afAutofocus : null, form: this.afForm, lang: this.afLang, dir: this.afDir }, this.hasIcon && (h("span", { key: '1188d5cb005a51e4e065b70663d06877db3a1477', class: "digi-button__icon" }, h("slot", { key: 'f90319563c18e1f82fa13f478b4d4d13ce3e9bf7', name: "icon" }))), h("span", { key: '17dce8eed2e845ca6166cf85a1c0252c2c0b8037', class: "digi-button__text" }, h("slot", { key: '2f637e48b837ecd0f0f2333349f328c497aee650' })), this.hasIconSecondary && (h("span", { key: '49ffd3361b0cc00c074e1ce332dab2de33127fcc', class: "digi-button__icon digi-button__icon--secondary" }, h("slot", { key: '367d3ba37e2fd0b7e83d600f35d02d4df303c1c0', name: "icon-secondary" }))))));
118
+ }, id: this.afId, tabindex: this.afTabindex, "aria-label": this.afAriaLabel, "aria-labelledby": this.afAriaLabelledby, "aria-controls": this.afAriaControls, "aria-pressed": this.pressedState, "aria-expanded": this.expandedState, "aria-haspopup": this.hasPopup, "aria-current": this.afAriaCurrent, "aria-checked": this.afAriaChecked, onClick: (e) => this.clickHandler(e), onFocus: (e) => this.focusHandler(e), onBlur: (e) => this.blurHandler(e), autoFocus: this.afAutofocus ? this.afAutofocus : null, form: this.afForm, lang: this.afLang, dir: this.afDir }, this.hasIcon && (h("span", { key: 'dd57484f5da45dbc1caf2b04733b89ac1641fd8b', class: "digi-button__icon" }, h("slot", { key: 'ca59512ee3eef6d6e772d6fc45d3b97523fc57a0', name: "icon" }))), h("span", { key: '4808cd35ff202c5ae9a07421e028cc463f87f951', class: "digi-button__text" }, h("slot", { key: '2e8005e8c42e81b1dbec44aef6ef9625ee7a089d' })), this.hasIconSecondary && (h("span", { key: '8a7e897b5cebf94c11d3dd6aa1c8a3ca23bc056d', class: "digi-button__icon digi-button__icon--secondary" }, h("slot", { key: 'ead4d4e5be559f0e6740e63ccff69bb03e46fee9', name: "icon-secondary" }))))));
119
119
  }
120
120
  static get is() { return "digi-button"; }
121
121
  static get encapsulation() { return "scoped"; }
@@ -151,6 +151,9 @@ export class Button {
151
151
  "tags": [{
152
152
  "name": "en",
153
153
  "text": "Set button size. Defaults to medium size."
154
+ }, {
155
+ "name": "deprecated",
156
+ "text": "Obs - variationen \"large\" f\u00F6rsvinner i januari 2026."
154
157
  }],
155
158
  "text": "S\u00E4tter knappens storlek. 'medium' \u00E4r f\u00F6rvalt."
156
159
  },
@@ -119,11 +119,6 @@ export class FormSelectFilter {
119
119
  }
120
120
  else {
121
121
  this.focusInList = !detectFocusOutside(target, `#${this.afId}-select-filter-list`);
122
- //Update tabindex on focused input element
123
- if (this.isOpen && this.focusInList && target.tagName === 'LI') {
124
- this.setTabIndex();
125
- this.updateTabIndex(target);
126
- }
127
122
  }
128
123
  }
129
124
  debounce(func, timeout = 300) {
@@ -207,23 +202,6 @@ export class FormSelectFilter {
207
202
  element.focus();
208
203
  }
209
204
  }
210
- setTabIndex() {
211
- const tabindexes = document.querySelectorAll(`#${this.afId}-dropdown-menu`);
212
- if (!tabindexes) {
213
- logger.warn(`No input elements was found to set tabindex on.`, this.hostElement);
214
- return;
215
- }
216
- Array.from(tabindexes).map((tabindex) => {
217
- tabindex.setAttribute('tabindex', '-1');
218
- });
219
- }
220
- updateTabIndex(element) {
221
- if (!element) {
222
- logger.warn(`No input element was found to update tabindex on.`, this.hostElement);
223
- return;
224
- }
225
- element.setAttribute('tabindex', '0');
226
- }
227
205
  incrementFocusItem() {
228
206
  const listLength = this.showNeutralValue
229
207
  ? this._filteredResult.length
@@ -466,16 +444,16 @@ export class FormSelectFilter {
466
444
  } }, h("slot", { name: "empty-search-result" })))));
467
445
  }
468
446
  render() {
469
- return (h("div", { key: '131d9bcd798a19ab4da264d59e7b2b938af39e4d', class: Object.assign({ 'digi-form-select-filter': true }, this.cssModifiers), role: "application", id: `${this.afId}-identifier` }, h("digi-form-label", { key: '6ad325b665d8d23ffb8bc926cec923a4f43cec77', afLabel: this.afFilterButtonTextLabel, afFor: `${this.afId}`, afId: `${this.afId}-label`, class: "digi-form-select-filter__label", afDescription: this.afDescription, afRequired: this.afRequired, afAnnounceIfOptional: this.afAnnounceIfOptional, afRequiredText: this.afRequiredText, afAnnounceIfOptionalText: this.afAnnounceIfOptionalText }), h("digi-util-keydown-handler", { key: 'd90ec9e07871d99e964036346a13d3dcf8bb98f3', onAfOnEsc: () => this.escHandler() }, h("button", { key: '1d64f4c3a76bc2d81a10b60e82ee7f5724192051', type: "button", id: `${this.afId}`, class: "digi-form-select-filter__toggle-button", onClick: () => this.toggleDropdown(), ref: (el) => (this._toggleButton = el), "aria-haspopup": "true", "aria-label": this.ariaLabel, "aria-labelledby": this.afFilterButtonAriaDescribedby, "aria-controls": `${this.afId}-dropdown-menu`, "aria-expanded": this.isOpen }, h("div", { key: '4c82b8b3dfd9a6c66bcbd852498eeabcd4aa5ccb', class: Object.assign({ 'digi-form-filter__toggle-button-wrapper': true }, this.cssModifiersToggleButtonWrapper) }, h("digi-icon-check", { key: '8b8d3ed48f8f7cfdc374ebf9d62da00891d15e06', class: Object.assign({ 'digi-form-select-filter__toggle-button-indicator': true }, this.cssModifiersToggleButtonIndicator), slot: "icon" }), h("span", { key: 'e35d0ae711a81e43886707bffaed3b10ecffb25d', class: "digi-form-select-filter__toggle-button-text" }, this.renderButtonLabel)), h("digi-icon-chevron-down", { key: 'dfe447e717e5c99d400390aaaacad6160d188928', class: "digi-form-select-filter__toggle-icon" })), h("div", { key: 'cd68ced3b7f00548e23a3d37e54bccbc3f7ca700', id: `${this.afId}-dropdown-menu`, class: {
447
+ return (h("div", { key: '0441a3108913933a52f7ce85a8e808637d1b3c91', class: Object.assign({ 'digi-form-select-filter': true }, this.cssModifiers), role: "application", id: `${this.afId}-identifier` }, h("digi-form-label", { key: '642aeed1224efdd28628722fc29c4885defe1f88', afLabel: this.afFilterButtonTextLabel, afFor: `${this.afId}`, afId: `${this.afId}-label`, class: "digi-form-select-filter__label", afDescription: this.afDescription, afRequired: this.afRequired, afAnnounceIfOptional: this.afAnnounceIfOptional, afRequiredText: this.afRequiredText, afAnnounceIfOptionalText: this.afAnnounceIfOptionalText }), h("digi-util-keydown-handler", { key: 'b5117f00c181ceb475eff973d9fef953ab057ffe', onAfOnEsc: () => this.escHandler() }, h("button", { key: 'f5ac9723c420b469f280751113b8fed4be799b2f', type: "button", id: `${this.afId}`, class: "digi-form-select-filter__toggle-button", onClick: () => this.toggleDropdown(), ref: (el) => (this._toggleButton = el), "aria-haspopup": "true", "aria-label": this.ariaLabel, "aria-labelledby": this.afFilterButtonAriaDescribedby, "aria-controls": `${this.afId}-dropdown-menu`, "aria-expanded": this.isOpen }, h("div", { key: '95f70c6e4a9ce0fb00d549ea9a2a56c889694536', class: Object.assign({ 'digi-form-filter__toggle-button-wrapper': true }, this.cssModifiersToggleButtonWrapper) }, h("digi-icon-check", { key: '1acd4598fe9a41669038186b086013a027c8e84f', class: Object.assign({ 'digi-form-select-filter__toggle-button-indicator': true }, this.cssModifiersToggleButtonIndicator), slot: "icon" }), h("span", { key: '965fd1089e5ebe115ebada0e6a8bac72de406d83', class: "digi-form-select-filter__toggle-button-text" }, this.renderButtonLabel)), h("digi-icon-chevron-down", { key: '23ee710f53016cf532cf74bd2288e3202418bffd', class: "digi-form-select-filter__toggle-icon" })), h("div", { key: '55f99522a98d710b4d222b43e51c63961bdd390e', id: `${this.afId}-dropdown-menu`, tabindex: this.isOpen ? '-1' : undefined, class: {
470
448
  'digi-form-select-filter__dropdown': true,
471
449
  'digi-form-select-filter__dropdown--right': this.afAlignRight,
472
450
  'digi-form-select-filter__dropdown--hidden': !this.isOpen
473
- } }, h("fieldset", { key: '8cf2eedb7d23bcec85d761336f80c94665f8de8b' }, h("div", { key: '9e791ab8c6eea058919f01e6819d64c84a1958a5', class: "digi-form-select-filter__header" }, h("legend", { key: '8497b0c1517187628a3978697cf804fb4a647935', class: "digi-form-select-filter__legend" }, this.afFilterButtonTextLabel), h("digi-form-input", { key: '934ae7bc9be7b0d3a312dea866e21065246c1a84', afLabel: this.afName, afId: `${this.afId}-search`, afVariation: FormInputVariation.MEDIUM, afType: FormInputType.SEARCH, afValidation: FormInputValidation.NEUTRAL, onAfOnFocus: () => {
451
+ } }, h("fieldset", { key: 'b801358f02ee8719a354128ce1669276ae26052c' }, h("div", { key: 'a307b294684fe855f61c3f1fae1359d79e118ed8', class: "digi-form-select-filter__header" }, h("legend", { key: '854730c3331539ff816c78bbb5c4afa8b3f8045f', class: "digi-form-select-filter__legend" }, this.afFilterButtonTextLabel), h("digi-form-input", { key: 'ee515e0d2a5392fac6614309804762bb02b31b1b', afLabel: this.afName, afId: `${this.afId}-search`, afVariation: FormInputVariation.MEDIUM, afType: FormInputType.SEARCH, afValidation: FormInputValidation.NEUTRAL, onAfOnFocus: () => {
474
452
  this.focusListItemIndex = 0;
475
453
  99;
476
454
  }, onAfOnKeyup: (e) => {
477
455
  this.inputSearchKeyboardHandler(e.detail);
478
- }, onAfOnInput: (e) => this.inputSearchInputHandler(e.detail), afValue: this._searchQuery, class: "digi-form-select-filter__search-input", afAriaControls: `${this.afId}-select-filter-list`, afAutocomplete: "off", afAriaAutocomplete: "none" }), this.renderEmptyStateBox()), h("div", { key: '1768a9ad717b385f8a3c2c76d12c126009d97821', class: "digi-form-select-filter__scroll" }, h("digi-util-keydown-handler", { key: '55527df2cae38577b555155a03f50b1167eb8c65', onAfOnDown: (e) => this.downHandler(e), onAfOnRight: (e) => this.downHandler(e), onAfOnUp: (e) => this.upHandler(e), onAfOnLeft: (e) => this.upHandler(e), onAfOnHome: (e) => this.homeHandler(e), onAfOnEnd: (e) => this.endHandler(e), onAfOnEnter: (e) => this.enterHandler(e), onAfOnSpace: (e) => this.spaceHandler(e), onAfOnTab: () => this.tabHandler(), onAfOnShiftTab: () => this.shiftHandler() }, h("ul", { key: '7898741e2835ef7362a240feacd421aa843aedbb', class: "digi-form-select-filter__list", "aria-labelledby": `${this.afId}`, id: `${this.afId}-select-filter-list`, role: this.afMultipleItems ? '' : 'radiogroup', "aria-invalid": this.afMultipleItems
456
+ }, onAfOnInput: (e) => this.inputSearchInputHandler(e.detail), afValue: this._searchQuery, class: "digi-form-select-filter__search-input", afAriaControls: `${this.afId}-select-filter-list`, afAutocomplete: "off", afAriaAutocomplete: "none" }), this.renderEmptyStateBox()), h("div", { key: '4c3b4dd67932713d3b0f9784ddb6908172bae788', class: "digi-form-select-filter__scroll" }, h("digi-util-keydown-handler", { key: '21fd9e82b72a29c6d4f6d9483a189bd877f86c7f', onAfOnDown: (e) => this.downHandler(e), onAfOnRight: (e) => this.downHandler(e), onAfOnUp: (e) => this.upHandler(e), onAfOnLeft: (e) => this.upHandler(e), onAfOnHome: (e) => this.homeHandler(e), onAfOnEnd: (e) => this.endHandler(e), onAfOnEnter: (e) => this.enterHandler(e), onAfOnSpace: (e) => this.spaceHandler(e), onAfOnTab: () => this.tabHandler(), onAfOnShiftTab: () => this.shiftHandler() }, h("ul", { key: '1c7566020cc272722d7978b618395177c114a9ac', class: "digi-form-select-filter__list", "aria-labelledby": `${this.afId}`, id: `${this.afId}-select-filter-list`, role: this.afMultipleItems ? '' : 'radiogroup', "aria-invalid": this.afMultipleItems
479
457
  ? 'false'
480
458
  : this.afValidation === FormSelectFilterValidation.ERROR
481
459
  ? 'true'
@@ -483,11 +461,11 @@ export class FormSelectFilter {
483
461
  ? false
484
462
  : this.afRequired
485
463
  ? 'true'
486
- : 'false' }, this.showNeutralValue && (h("li", { key: '5cc7d76c73e0029bd050417798bfc9b023132ee5', class: "digi-form-select-filter__item", role: "radio", "aria-required": this.afMultipleItems
464
+ : 'false' }, this.showNeutralValue && (h("li", { key: '8d05cf89e96e8ac1483ce26a337a5978f838b639', class: "digi-form-select-filter__item", role: "radio", "aria-required": this.afMultipleItems
487
465
  ? 'false'
488
466
  : this.afRequired
489
467
  ? 'true'
490
- : 'false', "aria-checked": this._selectedItems.length === 0 ? 'true' : 'false', onClick: () => this.resetSelectItems(true), tabIndex: 0, "aria-label": this.afFilterButtonText }, this._selectedItems.length === 0 && (h("digi-icon-check", { key: '01cfe3f21036a55b97644fb03d915a5eea506694', class: "digi-form-select-filter__item__icon", "aria-hidden": 'true' })), this.afFilterButtonText)), this._filteredResult &&
468
+ : 'false', "aria-checked": this._selectedItems.length === 0 ? 'true' : 'false', onClick: () => this.resetSelectItems(true), tabIndex: 0, "aria-label": this.afFilterButtonText }, this._selectedItems.length === 0 && (h("digi-icon-check", { key: 'a38310179982e60d3f2689e86205b60954626a7b', class: "digi-form-select-filter__item__icon", "aria-hidden": 'true' })), this.afFilterButtonText)), this._filteredResult &&
491
469
  this._filteredResult.map((item, index) => {
492
470
  return (h("li", { class: "digi-form-select-filter__item", key: index, dir: item.dir, lang: item.lang, "aria-checked": this.isSelected(item.value) ? 'true' : 'false', role: this.afMultipleItems ? 'checkbox' : 'radio', "aria-required": this.afMultipleItems
493
471
  ? 'false'
@@ -499,9 +477,9 @@ export class FormSelectFilter {
499
477
  ? 'true'
500
478
  : 'false'
501
479
  : 'false', "aria-errormessage": `${this.afId}--validation-message`, onClick: () => this.selectItemHandler(item), tabIndex: this.showNeutralValue ? -1 : index === 0 ? 0 : -1 }, this.isSelected(item.value) && (h("digi-icon-check", { class: "digi-form-select-filter__item__icon", "aria-hidden": 'true' })), item.label));
502
- }))))), this.afMultipleItems && (h("div", { key: 'e0be65595bed741b5de8216ada9fe0d0de47ac3e', class: "digi-form-select-filter__footer" }, !this.afHideResetButton && (h("digi-button", { key: 'db69b04b4b2ab410a237198a23a3100b48ce6bdb', "af-variation": "secondary", "af-aria-label": this.afResetButtonTextAriaLabel, onClick: () => this.resetSelectItems(), class: "digi-form-select-filter__reset-button" }, this.afResetButtonText)), h("digi-util-keydown-handler", { key: '192df90619ef17bbf77e11a2467f09d80bd5fc36', onAfOnUp: () => this.setFocusItem() }, h("digi-button", { key: '05f35b1ce6b839803b437f686802ac5caba52dc8', ref: (el) => (this._submitButton = el), "af-variation": "primary", "af-aria-label": this.afSubmitButtonTextAriaLabel, onClick: () => {
480
+ }))))), this.afMultipleItems && (h("div", { key: '5b86ccce4ca0f6a5c8fdc02680aa792b97912a0b', class: "digi-form-select-filter__footer" }, !this.afHideResetButton && (h("digi-button", { key: 'b644d87b83ecbed6cfd1599a641e5264921ac4fc', "af-variation": "secondary", "af-aria-label": this.afResetButtonTextAriaLabel, onClick: () => this.resetSelectItems(), class: "digi-form-select-filter__reset-button" }, this.afResetButtonText)), h("digi-util-keydown-handler", { key: 'b0e8623abc016dcae8614310ea8653f28ec5d9b3', onAfOnUp: () => this.setFocusItem() }, h("digi-button", { key: '838f2780f265db6153e2e928ab23935a19885b51', ref: (el) => (this._submitButton = el), "af-variation": "primary", "af-aria-label": this.afSubmitButtonTextAriaLabel, onClick: () => {
503
481
  this.setClosed(true);
504
- }, class: "digi-form-select-filter__submit-button" }, this.afSubmitButtonText)))))), h("div", { key: 'd9e0abd51c768bd874bfaff6da2c6b13fe9d279d', class: "digi-form-select__footer" }, h("div", { key: 'b80b09a64b27eebed494a5f4978f527c24fed3b0', "aria-atomic": "true", role: "alert", id: `${this.afId}--validation-message` }, this.showValidation() && (h("digi-form-validation-message", { key: 'b574f92b656755f9ee7f47d1c46dbff5e3b2ece8', "af-variation": this.afValidation }, this.afValidationText))))));
482
+ }, class: "digi-form-select-filter__submit-button" }, this.afSubmitButtonText)))))), h("div", { key: 'e2a972b032f28e6e0347e2bd7aca7724e7a144a2', class: "digi-form-select__footer" }, h("div", { key: 'f8d44fff602afedb23b2f64b80d5bcaf7b15b49e', "aria-atomic": "true", role: "alert", id: `${this.afId}--validation-message` }, this.showValidation() && (h("digi-form-validation-message", { key: 'c91161db619777dbb192afa4b600732e39769208', "af-variation": this.afValidation }, this.afValidationText))))));
505
483
  }
506
484
  static get is() { return "digi-form-select-filter"; }
507
485
  static get encapsulation() { return "scoped"; }
@@ -3,6 +3,7 @@ import { LayoutMediaObjectAlignment } from "./layout-media-object-alignment.enum
3
3
  /**
4
4
  * @slot media - Bör innehålla någon sorts mediakompinent (t.ex. en bild eller en video).
5
5
  * @slot default - Kan innehålla vad som helst. Vanligen är det textinnehåll.
6
+ * @deprecated Denna komponent kommer att tas bort i slutet av februari 2026.
6
7
  *
7
8
  * @enums LayoutMediaObjectAlignment - layout-media-object-alignment.enum.ts
8
9
  * @swedishName Medieobjekt
@@ -17,7 +18,7 @@ export class LayoutMediaObject {
17
18
  };
18
19
  }
19
20
  render() {
20
- return (h("div", { key: '48df37972201b70bcb0196234f7695e206036460', class: Object.assign({ 'digi-layout-media-object': true }, this.cssModifiers) }, h("div", { key: '39c2266d0c1150903239cf98d8c1e77ab6a03fbb', class: "digi-layout-media-object__first" }, h("slot", { key: 'b538d94dd54cd98721e2eac50d12e4d1451827cb', name: "media" })), h("div", { key: '85434391b7ef02cbdd0b3c4b121c1840cbd53f94', class: "digi-layout-media-object__last" }, h("slot", { key: '42e76714a9f55182662ce769b2b31b1f6f90901d' }))));
21
+ return (h("div", { key: 'c224ab7e0a87f9a92296bf446190b774579ab643', class: Object.assign({ 'digi-layout-media-object': true }, this.cssModifiers) }, h("div", { key: 'bc3a5ebee281899ff31d88be2206914b987152a4', class: "digi-layout-media-object__first" }, h("slot", { key: 'e05bdf5e4f713086810e86e975a68df1beab1568', name: "media" })), h("div", { key: '8b7c30b5d1eccda7f456b6d95087e6f2bfb91422', class: "digi-layout-media-object__last" }, h("slot", { key: '697388291a8fa210546001431ecd986001952d10' }))));
21
22
  }
22
23
  static get is() { return "digi-layout-media-object"; }
23
24
  static get encapsulation() { return "scoped"; }
@@ -58,7 +58,7 @@ export class LinkButton {
58
58
  };
59
59
  }
60
60
  render() {
61
- return (h(Host, { key: 'd6b967617a3fa6a8d5ba68b7982ee2ae4eeef847', class: Object.assign({ 'digi-link-button': true }, this.cssModifiers) }, !this.afLinkContainer && (h("a", { key: 'd95e231a794a57b16e888fa98a12b0b0f91cf385', href: this.afHref, onClick: (e) => this.clickLinkHandler(e), ref: (el) => (this._link = el) }, h("span", { key: 'db4bb1a99b20e1ae08662da723305814545d0346', class: "digi-link-button__text" }, h("slot", { key: 'd1e690a82f45e4b96fb03582185c3ed9a7836fa1' })), this.hasNotification && h("slot", { key: '606d2b8c3709f80ca01ffbe5ed34d07e64cdb914', name: "notification" }), h("digi-icon-chevron-right", { key: '0bbcaa4fd33ea271f622435ab16d7792111114c0', class: "digi-link-button__icon" }))), this.afLinkContainer && (h(Fragment, { key: 'cb86ba19e8750179007c79255312e051a4c5edee' }, h("slot", { key: '21aa062ab6de4eac5e3d5abf9051ebcb2ea99b4d' }), this.hasNotification && h("slot", { key: 'a08beeb67df365a0830da1f87d623876b34675f9', name: "notification" })))));
61
+ return (h(Host, { key: 'fcb4dae6f790646d3ce9255d1a1f06a0a0495f62', class: Object.assign({ 'digi-link-button': true }, this.cssModifiers) }, !this.afLinkContainer && (h("a", { key: 'a3c8160da677cf9b90658d50b9d0cf34b6b5ace8', href: this.afHref, onClick: (e) => this.clickLinkHandler(e), ref: (el) => (this._link = el) }, h("span", { key: '10aeae6b9e856a9594d53902f1ef81c1306446aa', class: "digi-link-button__text" }, h("slot", { key: '03619a6fa72d9cd75ba831ad3ec3210c4b1ad30b' })), this.hasNotification && h("slot", { key: '51d148026e61b19c12ccdc68b0a35f7780d09d71', name: "notification" }), h("digi-icon-chevron-right", { key: 'c74e46d8bbf9277ff50e83481463dfa64331b76f', class: "digi-link-button__icon" }))), this.afLinkContainer && (h(Fragment, { key: 'c5bcd05ed24fd616e839a237fb7be4b49b2181d1' }, h("slot", { key: 'e6def7b66cccd7d08da04cdb1b88efe9d79f8eee' }), this.hasNotification && h("slot", { key: '0d653fae65ffe1a9cbbba60292c9f6e87df80e65', name: "notification" })))));
62
62
  }
63
63
  static get is() { return "digi-link-button"; }
64
64
  static get encapsulation() { return "scoped"; }
@@ -144,9 +144,12 @@ export class LinkButton {
144
144
  "docs": {
145
145
  "tags": [{
146
146
  "name": "en",
147
- "text": "Set size. Can be 'medium' or 'large'"
147
+ "text": "Set size."
148
+ }, {
149
+ "name": "deprecated",
150
+ "text": "Obs - variationerna \"medium-large\" och \"large\" f\u00F6rsvinner i januari 2026, d\u00E4rmed f\u00F6rsvinner \u00E4ven afSize. Storleken Medium blir standard."
148
151
  }],
149
- "text": "S\u00E4tter storlek. Kan vara 'medium' eller 'large'"
152
+ "text": "S\u00E4tter storlek."
150
153
  },
151
154
  "getter": false,
152
155
  "setter": false,
@@ -265,34 +265,22 @@ License: none (public domain)
265
265
  }
266
266
 
267
267
  :host {
268
- --digi--list--margin--top: initial;
269
- --digi--list--margin--bottom: var(--digi--margin--large);
270
- }
271
- :host .digi-list {
272
- --LIST--PADDING-INLINE-START: 0;
273
- padding-inline-start: var(--LIST--PADDING-INLINE-START);
274
- margin-top: var(--digi--list--margin--top);
275
- margin-bottom: var(--digi--list--margin--bottom);
276
- box-sizing: border-box;
277
- width: 100%;
278
- }
279
- :host .digi-list--numbered {
280
- --LIST--PADDING-INLINE-START: 1.5rem;
281
- }
282
- :host .digi-list--bullet {
283
- --LIST--PADDING-INLINE-START: 1.5rem;
268
+ --digi--list--padding-inline-start: 0.25rem;
284
269
  }
285
270
  :host .digi-list--checked {
286
- --LIST--PADDING-INLINE-START: 0;
287
271
  list-style-position: inside;
272
+ padding-inline-start: var(--digi--list--padding-inline-start);
288
273
  }
289
- :host .digi-list ::slotted(li:not(:last-child)) {
290
- margin-bottom: var(--digi--padding--smaller);
274
+ :host .digi-list--checked li {
275
+ list-style: none;
276
+ display: flex;
277
+ align-items: flex-start;
291
278
  }
292
279
 
293
280
  ::slotted(* .digi-list--checked .digi-list__icon) {
294
281
  padding-right: var(--digi--padding--small);
295
282
  width: 1rem;
283
+ min-height: auto;
296
284
  flex-shrink: 0;
297
285
  align-items: start;
298
286
  margin-top: 0.4375rem;
@@ -43,9 +43,6 @@ export class List {
43
43
  if (this.afListType === ListType.CHECKED) {
44
44
  const lis = this.hostElement.querySelectorAll('li');
45
45
  lis.forEach((li) => {
46
- li.style.listStyle = 'none';
47
- li.style.display = 'flex';
48
- li.style.alignItems = 'flex-start';
49
46
  if (!li.querySelector('digi-icon-check')) {
50
47
  const icon = document.createElement('digi-icon-check');
51
48
  icon.classList.add('digi-list__icon');
@@ -53,6 +50,15 @@ export class List {
53
50
  }
54
51
  });
55
52
  }
53
+ else {
54
+ const lis = this.hostElement.querySelectorAll('li');
55
+ lis.forEach((li) => {
56
+ const icon = li.querySelector('digi-icon-check');
57
+ if (icon) {
58
+ li.removeChild(icon);
59
+ }
60
+ });
61
+ }
56
62
  }
57
63
  getListItems() {
58
64
  const slotItems = this.hostElement.querySelectorAll('li');
@@ -66,16 +72,13 @@ export class List {
66
72
  this.hasSlottedItems = true;
67
73
  this.listItems = Array.from(slotItems);
68
74
  }
69
- get listElement() {
70
- return this.afListType === ListType.NUMBERED ? 'ol' : 'ul';
71
- }
72
75
  render() {
73
76
  const Tag = this.afListType === ListType.NUMBERED ? 'ol' : 'ul';
74
77
  const className = {
75
78
  'digi-list': true,
76
79
  [`digi-list--${this.afListType}`]: true
77
80
  };
78
- return (h("digi-typography", { key: 'cec688df7cdb9bcff52e98bf5ae33ba3ca8176d2' }, h(Tag, { key: 'e9bd20b77dbbd72ad5477fad1caf3f10e88db327', class: className }, h("slot", { key: '45981df4d7211feb9240d84fbedc9a6b235a87b6' }))));
81
+ return (h("digi-typography", { key: '2c3f61b8ff3a0d8fb476d06ef06b650bd04422ef' }, h(Tag, { key: 'aa10692caf21f135486a30cd3a91d563d2b0c333', class: className }, h("slot", { key: '6c6dcd731c16f065714515a9acd8665aa1aeba10' }))));
79
82
  }
80
83
  static get is() { return "digi-list"; }
81
84
  static get encapsulation() { return "scoped"; }
@@ -303,6 +303,8 @@ License: none (public domain)
303
303
  font-family: var(--digi--navigation-breadcrumbs--item--font-family);
304
304
  font-size: var(--digi--navigation-breadcrumbs--item--font-size);
305
305
  color: var(--digi--navigation-breadcrumbs--item--color);
306
+ width: unset;
307
+ margin-bottom: unset;
306
308
  }
307
309
  :host .digi-navigation-breadcrumbs__item:not([aria-current=page])::after {
308
310
  content: "/";
@@ -26,6 +26,11 @@ export class NavigationTablist {
26
26
  // How many whole tabs fit? Nudge by tolerance to avoid off-by-one at zoom edges
27
27
  const tabsPerWindow = Math.floor((containerWidth + tolerance) / avgTabWidth);
28
28
  this.tabsPerWindow = Math.max(1, Math.min(tabsPerWindow, tabsCount));
29
+ // Ensure windowTab stays within valid bounds after resize
30
+ const maxValidWindowTab = Math.max(0, tabsCount - this.tabsPerWindow);
31
+ if (this.windowTab > maxValidWindowTab) {
32
+ this.windowTab = maxValidWindowTab;
33
+ }
29
34
  // Overflow check with tolerance
30
35
  this.listOverflows = contentWidth - containerWidth > tolerance;
31
36
  // (Optional) if you have left/right “handles”, compute visibility too:
@@ -167,7 +172,19 @@ export class NavigationTablist {
167
172
  this.afTabChange.emit(tab);
168
173
  }
169
174
  handleTabControl(direction) {
170
- this.moveWindow(this.windowTab + direction * this.tabsPerWindow);
175
+ // Calculate the current window group
176
+ const currentGroup = Math.floor(this.windowTab / this.tabsPerWindow);
177
+ const totalGroups = Math.ceil(this.tabs.length / this.tabsPerWindow);
178
+ let newGroup;
179
+ if (direction === Direction.Next) {
180
+ newGroup = Math.min(currentGroup + 1, totalGroups - 1);
181
+ }
182
+ else {
183
+ newGroup = Math.max(currentGroup - 1, 0);
184
+ }
185
+ // Move to the first tab of the target group
186
+ const newWindowTab = newGroup * this.tabsPerWindow;
187
+ this.moveWindow(newWindowTab);
171
188
  }
172
189
  setActiveTabAndFocus(tabIdx) {
173
190
  this.activeTab = tabIdx;
@@ -221,14 +238,14 @@ export class NavigationTablist {
221
238
  cancelAnimationFrame(this._requestAnimationFrame);
222
239
  }
223
240
  render() {
224
- return (h(Host, { key: 'b254db2497b74752d34aa4672ae38ac5a1051024' }, h("div", { key: '4028d5c2ee9954fb5755285dfe88029fec02d516', class: {
241
+ return (h(Host, { key: 'aa87d470a00824859deb1e9305497f0001339c6a' }, h("div", { key: 'd2ea6128277f7aa604f8fab19828e5aabca636b3', class: {
225
242
  'digi-tablist': true,
226
243
  'digi-tablist--overflow-scroll': this.afOverflowMode === OverflowMode.Scroll,
227
244
  'digi-tablist--overflow-controls': this.afOverflowMode === OverflowMode.Controls
228
- } }, h("div", { key: '1643904cc02630eb56f711b7decf3157cefab417', class: "control-wrapper", style: {
245
+ } }, h("div", { key: '70f11f894aebe7b07ba8242e77415269b4993d3b', class: "control-wrapper", style: {
229
246
  left: '0',
230
247
  visibility: this.showPrev ? 'visible' : 'hidden'
231
- } }, h("button", { key: 'd71bb576079e486f2bf197c1654e47ef81147455', tabIndex: -1, type: "button", "aria-hidden": "true", class: { 'tab-control-button': true }, onClick: () => this.handleTabControl(Direction.Previous) }, h("digi-icon-chevron-left", { key: 'e9d6cfbbb9aa6175d591db7fa67918b266506ed1' }))), h("div", { key: 'ae8db9b6af8276c07fef53b1e376ccf975dd1822', role: "tablist", ref: (ref) => (this.tablistRef = ref), "aria-labelledby": this.afAriaLabelledby, "aria-label": this.afAriaLabel }, this.tabs.map((tab) => {
248
+ } }, h("button", { key: 'e3f12c0df8027fb68d0dc2a3959e3eb381c32cc0', tabIndex: -1, type: "button", "aria-hidden": "true", class: { 'tab-control-button': true }, onClick: () => this.handleTabControl(Direction.Previous) }, h("digi-icon-chevron-left", { key: '5c38bf4c6a812b8a3037ac56f157fcca621aeeb0' }))), h("div", { key: '64a663ca0549924b09ac5c8e2baf3068ddcd31f5', role: "tablist", ref: (ref) => (this.tablistRef = ref), "aria-labelledby": this.afAriaLabelledby, "aria-label": this.afAriaLabel }, this.tabs.map((tab) => {
232
249
  const focusable = tab.id === this.tabs[this.selectedTab].id;
233
250
  const isActive = tab.id === this.tabs[this.activeTab].id;
234
251
  const Icon = `digi-icon-${tab.icon}`;
@@ -237,10 +254,10 @@ export class NavigationTablist {
237
254
  'digi-tab': true,
238
255
  'is-active': isActive
239
256
  }, id: `tab-${tab.id}`, role: "tab", type: "button", tabindex: focusable ? '0' : '-1', "aria-label": tab.ariaLabel, "aria-selected": isActive.toString(), "aria-controls": `tabpanel-${tab.id}`, onClick: () => this.handleTabChange(tab) }, h("div", { class: "content-wrapper" }, h("span", { class: "tablist-content" }, tab.icon && h(Icon, { "aria-hidden": "true" }), h("span", { class: "title", "data-text": tab.title }, tab.title), tab.badgeValue && (h("digi-badge-notification", { afValue: badgeValue, "aria-hidden": "true" }))), h("div", { class: "indicator" }))));
240
- })), h("div", { key: 'fad2b3c44632c2354abef8c4a863654cfb44954a', class: "control-wrapper", style: {
257
+ })), h("div", { key: '0b1a044dee5a083e591c432eb3f581e3b55d8194', class: "control-wrapper", style: {
241
258
  right: '0',
242
259
  visibility: this.showNext ? 'visible' : 'hidden'
243
- } }, h("button", { key: '75df669a8a5693fb90755daccbb85a09478124cc', tabIndex: -1, type: "button", "aria-hidden": "true", class: { 'tab-control-button': true }, onClick: () => this.handleTabControl(Direction.Next) }, h("digi-icon-chevron-right", { key: 'b9d9fe9346d98fda9c97f999a1667645a58e3686' })))), h("div", { key: '03997499224b2d881c755eef234cee9dda4e2828', ref: (ref) => (this.panelsRef = ref), role: "presentation" }, h("slot", { key: '0d983ff976eb7a90b92030b3ef9a33c135aab90a' }))));
260
+ } }, h("button", { key: '1a7cae20dc4c7e642d42e387ef8943a7b50fcede', tabIndex: -1, type: "button", "aria-hidden": "true", class: { 'tab-control-button': true }, onClick: () => this.handleTabControl(Direction.Next) }, h("digi-icon-chevron-right", { key: '4a5b8f1777c8dda09b6ff6dbbcd56cf86cac1d95' })))), h("div", { key: '91aaa4dedab1a063461b6c15e030bd5a29259c9b', ref: (ref) => (this.panelsRef = ref), role: "presentation" }, h("slot", { key: 'fac2b5dacfc27c2cc51166d4841f122f5b496506' }))));
244
261
  }
245
262
  static get is() { return "digi-tablist"; }
246
263
  static get encapsulation() { return "scoped"; }
@@ -495,8 +495,17 @@ License: none (public domain)
495
495
  );
496
496
  --digi--progress-indicator--step--line--style: dashed;
497
497
  }
498
- :host .digi-progress-indicator__step--current span {
499
- box-shadow: inset 0px 0px 0px 2px var(--digi--color--background--primary);
498
+ :host .digi-progress-indicator__step--current span:not(:has(> digi-icon-validation-error)):not(:has(> digi-icon-validation-warning)) {
499
+ box-shadow: inset 0px 0px 0px 3px var(--digi--color--background--primary), 0 0 0 3px var(--digi--progress-indicator--step--background);
500
+ width: 1.75rem;
501
+ height: 1.75rem;
502
+ }
503
+ @media (max-width: 36rem) {
504
+ :host .digi-progress-indicator__step--current span:not(:has(> digi-icon-validation-error)):not(:has(> digi-icon-validation-warning)) {
505
+ width: 1.375rem;
506
+ height: 1.375rem;
507
+ box-shadow: inset 0px 0px 0px 3px var(--digi--color--background--primary), 0 0 0 2px var(--digi--progress-indicator--step--background);
508
+ }
500
509
  }
501
510
  :host .digi-progress-indicator__step--warning, :host .digi-progress-indicator__step--error {
502
511
  --digi--progress-indicator--step--background: transparent;
@@ -523,6 +532,10 @@ License: none (public domain)
523
532
  :host .digi-progress-indicator__step-indicator {
524
533
  width: 1.1rem;
525
534
  height: 1.1rem;
535
+ --digi--progress-indicator--icon-status--width: 1.3rem;
536
+ --digi--progress-indicator--icon-status--width: 1.3rem;
537
+ --digi--progress-indicator--icon--width: 0.6rem;
538
+ --digi--progress-indicator--icon--height: 0.6rem;
526
539
  }
527
540
  }
528
541
  :host .digi-progress-indicator__step-number {
@@ -27,7 +27,7 @@ export class Tag {
27
27
  return this.afText;
28
28
  }
29
29
  render() {
30
- return (h("digi-button", { key: 'cb0aef834156e83db3da9d2afa1b88cce2c14b34', onAfOnClick: (e) => this.clickHandler(e), "af-variation": "secondary", "af-size": this.afSize, class: "digi-tag", "af-aria-label": this.ariaLabel }, this.afText, !this.afNoIcon && h("digi-icon-x", { key: 'd147c33804713948a4d3466decf7e3c30381e0c8', slot: "icon-secondary" })));
30
+ return (h("digi-button", { key: '25fdc1c2823e98fde25fcfa24be67d47a4fef609', onAfOnClick: (e) => this.clickHandler(e), "af-variation": "secondary", "af-size": this.afSize, class: "digi-tag", "af-aria-label": this.ariaLabel }, this.afText, !this.afNoIcon && h("digi-icon-x", { key: '2b23fc2ea9682c42f9e0e791499eee1ee377a457', slot: "icon-secondary" })));
31
31
  }
32
32
  static get is() { return "digi-tag"; }
33
33
  static get encapsulation() { return "scoped"; }
@@ -130,6 +130,9 @@ export class Tag {
130
130
  "tags": [{
131
131
  "name": "en",
132
132
  "text": "Sets tag size."
133
+ }, {
134
+ "name": "deprecated",
135
+ "text": "Obs - variationen \"large\" f\u00F6rsvinner i januari 2026."
133
136
  }],
134
137
  "text": "S\u00E4tter taggens storlek."
135
138
  },
@@ -763,9 +763,18 @@ digi-typography dl {
763
763
  max-width: var(--digi--paragraph-width--medium);
764
764
  margin-bottom: var(--MARGIN--BODY);
765
765
  }
766
- digi-typography ul:last-child,
767
- digi-typography ol:last-child,
768
- digi-typography dl:last-child {
766
+ digi-typography ul, digi-typography ol {
767
+ margin: 0 0 var(--MARGIN--BODY) 0;
768
+ padding-inline-start: 1.5rem;
769
+ }
770
+ digi-typography ul li, digi-typography ol li {
771
+ margin-top: initial;
772
+ margin-bottom: 0.5rem;
773
+ box-sizing: border-box;
774
+ width: 100%;
775
+ padding-left: 0;
776
+ }
777
+ digi-typography ul li:last-child, digi-typography ol li:last-child {
769
778
  margin-bottom: 0;
770
779
  }
771
780
  digi-typography a {
@@ -19,7 +19,7 @@ export class Typography {
19
19
  };
20
20
  }
21
21
  render() {
22
- return (h("div", { key: 'd4c7dde696cb9e4f629649c2d12e5b015c7aa713', class: Object.assign({ 'digi-typography': true }, this.cssModifiers) }, h("slot", { key: '4512f6b74ec58c3f04437c6ef598eb1d3625d347' })));
22
+ return (h("div", { key: '4a881c4feb6cbe1cf6b50a49209d0ba3ed373324', class: Object.assign({ 'digi-typography': true }, this.cssModifiers) }, h("slot", { key: '4935b0dbadff8ed9f1830b23caa976701a29343e' })));
23
23
  }
24
24
  static get is() { return "digi-typography"; }
25
25
  static get originalStyleUrls() {
@@ -54,6 +54,9 @@ export class Typography {
54
54
  "tags": [{
55
55
  "name": "en",
56
56
  "text": "Set variation. Can be 'small' or 'large'"
57
+ }, {
58
+ "name": "deprecated",
59
+ "text": "Obs - Propertyn utg\u00E5r, typografin kommer bara finnas med en bas p\u00E5 16px font-storlek. Tas bort i februari 2026."
57
60
  }],
58
61
  "text": "S\u00E4tter variant. Kan vara 'small' eller 'large'"
59
62
  },
@@ -1,6 +1,5 @@
1
1
  @mixin digi-list--variables (){
2
- --digi--list--margin--top: initial;
3
- --digi--list--margin--bottom: var(--digi--margin--large);
2
+ --digi--list--padding-inline-start: 0.25rem;
4
3
  }
5
4
 
6
5
  /** Do not touch! Autogenerated
@@ -1,6 +1,5 @@
1
1
  @mixin digi-list--variables (){
2
- --digi--list--margin--top: initial;
3
- --digi--list--margin--bottom: var(--digi--margin--large);
2
+ --digi--list--padding-inline-start: 0.25rem;
4
3
  }
5
4
 
6
5
  /** Do not touch! Autogenerated