@designsystem-se/af 39.1.0-beta.2 → 39.1.0-beta.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 (185) hide show
  1. package/components/digi-bar-chart.js +1 -1
  2. package/components/digi-button.js +1 -1
  3. package/components/digi-calendar-week-view.js +2 -2
  4. package/components/digi-chart-line.js +1 -1
  5. package/components/digi-code-block.js +1 -1
  6. package/components/digi-code-example.js +2 -2
  7. package/components/digi-context-menu.js +1 -1
  8. package/components/digi-dialog.js +1 -1
  9. package/components/digi-form-category-filter.js +1 -1
  10. package/components/digi-form-error-list.js +2 -2
  11. package/components/digi-form-file-upload.js +1 -1
  12. package/components/digi-form-filter.js +1 -1
  13. package/components/digi-form-input-search.js +2 -2
  14. package/components/digi-form-select-filter.js +1 -1
  15. package/components/digi-header-navigation.js +1 -1
  16. package/components/digi-header.js +2 -2
  17. package/components/digi-navigation-pagination.js +1 -1
  18. package/components/digi-navigation-sidebar-button.js +1 -1
  19. package/components/digi-navigation-sidebar.js +1 -1
  20. package/components/digi-notification-alert.js +1 -1
  21. package/components/digi-tag.js +1 -1
  22. package/components/digi-tools-feedback-banner.js +7 -2
  23. package/components/digi-tools-feedback.js +1 -1
  24. package/components/p-3IdGnhr5.js +172 -0
  25. package/components/{p-DDZ0nalw.js → p-B-hL6z4l.js} +1 -1
  26. package/components/{p-Dq9EWvk8.js → p-BOM-CTrq.js} +1 -1
  27. package/components/{p-C32dTT4K.js → p-BZkK1uIs.js} +1 -1
  28. package/dist/cjs/button-type.enum-2UH0KkO-.js +8 -0
  29. package/dist/cjs/{button-variation.enum-DkUalo9f.js → button-variation.enum-ngMqFLdW.js} +6 -0
  30. package/dist/cjs/{code-example-variation.enum-BCENTUV2.js → code-example-variation.enum-Cq-BioXW.js} +0 -6
  31. package/dist/cjs/digi-arbetsformedlingen.cjs.js +1 -1
  32. package/dist/cjs/{digi-calendar-week-view.cjs.entry.js → digi-button_5.cjs.entry.js} +260 -72
  33. package/dist/cjs/digi-calendar-datepicker.cjs.entry.js +10 -6
  34. package/dist/cjs/digi-code-block_3.cjs.entry.js +10 -6
  35. package/dist/cjs/digi-code-example.cjs.entry.js +4 -4
  36. package/dist/cjs/digi-dialog.cjs.entry.js +10 -6
  37. package/dist/cjs/digi-footer.cjs.entry.js +9 -5
  38. package/dist/cjs/digi-form-error-list.cjs.entry.js +9 -5
  39. package/dist/cjs/digi-form-file-upload.cjs.entry.js +11 -10
  40. package/dist/cjs/digi-form-input-search.cjs.entry.js +9 -7
  41. package/dist/cjs/digi-form-input.cjs.entry.js +205 -0
  42. package/dist/cjs/digi-form-label_3.cjs.entry.js +147 -0
  43. package/dist/cjs/digi-form-receipt.cjs.entry.js +9 -5
  44. package/dist/cjs/digi-form-select-filter.cjs.entry.js +649 -0
  45. package/dist/cjs/digi-header-navigation.cjs.entry.js +9 -5
  46. package/dist/cjs/digi-header.cjs.entry.js +9 -5
  47. package/dist/cjs/digi-icon-check.cjs.entry.js +28 -0
  48. package/dist/cjs/digi-icon-chevron-down.cjs.entry.js +28 -0
  49. package/dist/cjs/digi-icon-validation-error_2.cjs.entry.js +51 -0
  50. package/dist/cjs/digi-navigation-pagination.cjs.entry.js +9 -5
  51. package/dist/cjs/digi-notification-alert.cjs.entry.js +9 -5
  52. package/dist/cjs/digi-notification-error-page.cjs.entry.js +9 -5
  53. package/dist/cjs/digi-title-logo.cjs.entry.js +9 -5
  54. package/dist/cjs/digi-tools-feedback-banner.cjs.entry.js +7 -2
  55. package/dist/cjs/digi-tools-feedback.cjs.entry.js +11 -7
  56. package/dist/cjs/digi-util-keydown-handler.cjs.entry.js +81 -0
  57. package/dist/cjs/{form-validation-message-variation.enum-DgkifAnP.js → form-file-upload-variation.enum-xcEOoggr.js} +0 -7
  58. package/dist/cjs/form-input-search-variation.enum-VVfvlVeM.js +8 -0
  59. package/dist/cjs/{form-input-type.enum-B2CsNSBg.js → form-input-type.enum-DvF_MTHK.js} +0 -14
  60. package/dist/cjs/form-input-variation.enum-kpoXNUuI.js +29 -0
  61. package/dist/cjs/form-validation-message-variation.enum-BA5nmCiw.js +8 -0
  62. package/dist/cjs/index-tbq85ezH.js +26 -10
  63. package/dist/cjs/index.cjs.js +52 -48
  64. package/dist/cjs/loader.cjs.js +1 -1
  65. package/dist/cjs/{typography-variation.enum-4snUBTF7.js → typography-variation.enum-BDSt7CVI.js} +0 -28
  66. package/dist/collection/components/_button/button/button.css +23 -0
  67. package/dist/collection/components/_calendar/week-view/calendar-week-view.css +36 -47
  68. package/dist/collection/components/_form/form-file-upload/form-file-upload.css +11 -15
  69. package/dist/collection/components/_form/form-input-search/form-input-search.css +0 -4
  70. package/dist/collection/components/_tools/tools-feedback-banner/tools-feedback-banner.js +7 -2
  71. package/dist/collection/design-tokens/components/_button.variables.scss +6 -0
  72. package/dist/collection/design-tokens/components/_logo.variables.scss +17 -15
  73. package/dist/digi-arbetsformedlingen/design-tokens/components/_button.variables.scss +6 -0
  74. package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
  75. package/dist/digi-arbetsformedlingen/index.esm.js +1 -1
  76. package/dist/digi-arbetsformedlingen/p-0a993ca4.entry.js +1 -0
  77. package/dist/digi-arbetsformedlingen/p-0b0009eb.entry.js +1 -0
  78. package/dist/digi-arbetsformedlingen/p-21853656.entry.js +1 -0
  79. package/dist/digi-arbetsformedlingen/p-23d8d58c.entry.js +1 -0
  80. package/dist/digi-arbetsformedlingen/p-28f335d8.entry.js +1 -0
  81. package/dist/digi-arbetsformedlingen/p-2f65802b.entry.js +1 -0
  82. package/dist/digi-arbetsformedlingen/{p-77d355fe.entry.js → p-4336cdff.entry.js} +1 -1
  83. package/dist/digi-arbetsformedlingen/p-4c9a428d.entry.js +1 -0
  84. package/dist/digi-arbetsformedlingen/p-4ee14c12.entry.js +1 -0
  85. package/dist/digi-arbetsformedlingen/p-4smNltRI.js +1 -0
  86. package/dist/digi-arbetsformedlingen/p-5c7e6e61.entry.js +1 -0
  87. package/dist/digi-arbetsformedlingen/p-60928fb0.entry.js +1 -0
  88. package/dist/digi-arbetsformedlingen/p-68e721b1.entry.js +1 -0
  89. package/dist/digi-arbetsformedlingen/p-7da0451b.entry.js +1 -0
  90. package/dist/digi-arbetsformedlingen/p-87e306b0.entry.js +1 -0
  91. package/dist/digi-arbetsformedlingen/p-8848ce2b.entry.js +1 -0
  92. package/dist/digi-arbetsformedlingen/p-91a0e1ca.entry.js +1 -0
  93. package/dist/digi-arbetsformedlingen/p-9d3da044.entry.js +1 -0
  94. package/dist/digi-arbetsformedlingen/p-B8hpiXmh.js +1 -0
  95. package/dist/digi-arbetsformedlingen/p-BMQm4N5I.js +1 -0
  96. package/dist/digi-arbetsformedlingen/p-BSJH8Lpg.js +1 -0
  97. package/dist/digi-arbetsformedlingen/p-BfyJgcLA.js +1 -0
  98. package/dist/digi-arbetsformedlingen/p-BvWKyXb_.js +1 -0
  99. package/dist/digi-arbetsformedlingen/p-DGI7Jkg2.js +1 -0
  100. package/dist/digi-arbetsformedlingen/p-DShzaNrQ.js +1 -0
  101. package/dist/digi-arbetsformedlingen/p-DfWZa2Wv.js +1 -0
  102. package/dist/digi-arbetsformedlingen/p-a563f0f4.entry.js +1 -0
  103. package/dist/digi-arbetsformedlingen/p-ad7e2dc6.entry.js +1 -0
  104. package/dist/digi-arbetsformedlingen/p-beab4698.entry.js +1 -0
  105. package/dist/digi-arbetsformedlingen/p-c9c140af.entry.js +1 -0
  106. package/dist/digi-arbetsformedlingen/p-d62e264c.entry.js +1 -0
  107. package/dist/digi-arbetsformedlingen/p-ef47f143.entry.js +1 -0
  108. package/dist/digi-arbetsformedlingen/p-f9a2a80e.entry.js +1 -0
  109. package/dist/digi-arbetsformedlingen/p-feaeab97.entry.js +1 -0
  110. package/dist/digi-arbetsformedlingen/{p-DbBOgLZR.js → p-xwICssEK.js} +1 -1
  111. package/dist/esm/button-type.enum-DShzaNrQ.js +8 -0
  112. package/dist/esm/{button-variation.enum-y5Nm4oWF.js → button-variation.enum-BMQm4N5I.js} +7 -1
  113. package/dist/esm/{code-example-variation.enum-Ooszw6tl.js → code-example-variation.enum-DGI7Jkg2.js} +1 -7
  114. package/dist/esm/digi-arbetsformedlingen.js +1 -1
  115. package/dist/esm/{digi-calendar-week-view.entry.js → digi-button_5.entry.js} +190 -6
  116. package/dist/esm/digi-calendar-datepicker.entry.js +10 -6
  117. package/dist/esm/digi-code-block_3.entry.js +9 -5
  118. package/dist/esm/digi-code-example.entry.js +2 -2
  119. package/dist/esm/digi-dialog.entry.js +9 -5
  120. package/dist/esm/digi-footer.entry.js +9 -5
  121. package/dist/esm/digi-form-error-list.entry.js +9 -5
  122. package/dist/esm/digi-form-file-upload.entry.js +3 -2
  123. package/dist/esm/digi-form-input-search.entry.js +4 -2
  124. package/dist/esm/digi-form-input.entry.js +203 -0
  125. package/dist/esm/digi-form-label_3.entry.js +143 -0
  126. package/dist/esm/digi-form-receipt.entry.js +9 -5
  127. package/dist/esm/digi-form-select-filter.entry.js +647 -0
  128. package/dist/esm/digi-header-navigation.entry.js +9 -5
  129. package/dist/esm/digi-header.entry.js +9 -5
  130. package/dist/esm/digi-icon-check.entry.js +26 -0
  131. package/dist/esm/digi-icon-chevron-down.entry.js +26 -0
  132. package/dist/esm/digi-icon-validation-error_2.entry.js +48 -0
  133. package/dist/esm/digi-navigation-pagination.entry.js +9 -5
  134. package/dist/esm/digi-notification-alert.entry.js +9 -5
  135. package/dist/esm/digi-notification-error-page.entry.js +9 -5
  136. package/dist/esm/digi-title-logo.entry.js +9 -5
  137. package/dist/esm/digi-tools-feedback-banner.entry.js +7 -2
  138. package/dist/esm/digi-tools-feedback.entry.js +9 -5
  139. package/dist/esm/digi-util-keydown-handler.entry.js +79 -0
  140. package/dist/esm/{form-validation-message-variation.enum-9n7Okhf1.js → form-file-upload-variation.enum-BfyJgcLA.js} +1 -8
  141. package/dist/esm/form-input-search-variation.enum-BvWKyXb_.js +8 -0
  142. package/dist/esm/{form-input-type.enum-CN1mgrt1.js → form-input-type.enum-BSJH8Lpg.js} +1 -15
  143. package/dist/esm/form-input-variation.enum-DfWZa2Wv.js +29 -0
  144. package/dist/esm/form-validation-message-variation.enum-B8hpiXmh.js +8 -0
  145. package/dist/esm/{index-DnTiPaEs.js → index-B1Je6g2n.js} +1 -1
  146. package/dist/esm/index-Co_lVhh_.js +26 -10
  147. package/dist/esm/index.js +9 -5
  148. package/dist/esm/loader.js +1 -1
  149. package/dist/esm/{typography-variation.enum-BDBYHWrh.js → typography-variation.enum-4smNltRI.js} +1 -29
  150. package/dist/types/components/_tools/tools-feedback-banner/tools-feedback-banner.d.ts +1 -0
  151. package/hydrate/index.js +11 -6
  152. package/hydrate/index.mjs +11 -6
  153. package/package.json +1 -1
  154. package/components/p--RxphPe_.js +0 -172
  155. package/dist/cjs/digi-button_11.cjs.entry.js +0 -1274
  156. package/dist/cjs/digi-icon-chevron-left_2.cjs.entry.js +0 -51
  157. package/dist/cjs/digi-typography.cjs.entry.js +0 -22
  158. package/dist/digi-arbetsformedlingen/p-0dc8c1f1.entry.js +0 -1
  159. package/dist/digi-arbetsformedlingen/p-14d011c8.entry.js +0 -1
  160. package/dist/digi-arbetsformedlingen/p-31d3b121.entry.js +0 -1
  161. package/dist/digi-arbetsformedlingen/p-38d6c196.entry.js +0 -1
  162. package/dist/digi-arbetsformedlingen/p-44c16261.entry.js +0 -1
  163. package/dist/digi-arbetsformedlingen/p-45f30e15.entry.js +0 -1
  164. package/dist/digi-arbetsformedlingen/p-478dd735.entry.js +0 -1
  165. package/dist/digi-arbetsformedlingen/p-591509af.entry.js +0 -1
  166. package/dist/digi-arbetsformedlingen/p-8c4b642e.entry.js +0 -1
  167. package/dist/digi-arbetsformedlingen/p-8fb4e6a3.entry.js +0 -1
  168. package/dist/digi-arbetsformedlingen/p-93367afb.entry.js +0 -1
  169. package/dist/digi-arbetsformedlingen/p-9n7Okhf1.js +0 -1
  170. package/dist/digi-arbetsformedlingen/p-BDBYHWrh.js +0 -1
  171. package/dist/digi-arbetsformedlingen/p-CN1mgrt1.js +0 -1
  172. package/dist/digi-arbetsformedlingen/p-Ooszw6tl.js +0 -1
  173. package/dist/digi-arbetsformedlingen/p-aaeddc10.entry.js +0 -1
  174. package/dist/digi-arbetsformedlingen/p-ab84eed8.entry.js +0 -1
  175. package/dist/digi-arbetsformedlingen/p-bd635299.entry.js +0 -1
  176. package/dist/digi-arbetsformedlingen/p-c273763e.entry.js +0 -1
  177. package/dist/digi-arbetsformedlingen/p-c73ddbe2.entry.js +0 -1
  178. package/dist/digi-arbetsformedlingen/p-cd90ab0b.entry.js +0 -1
  179. package/dist/digi-arbetsformedlingen/p-cfe0bcf9.entry.js +0 -1
  180. package/dist/digi-arbetsformedlingen/p-d441cad3.entry.js +0 -1
  181. package/dist/digi-arbetsformedlingen/p-fd330ef0.entry.js +0 -1
  182. package/dist/digi-arbetsformedlingen/p-y5Nm4oWF.js +0 -1
  183. package/dist/esm/digi-button_11.entry.js +0 -1262
  184. package/dist/esm/digi-icon-chevron-left_2.entry.js +0 -48
  185. package/dist/esm/digi-typography.entry.js +0 -20
@@ -67,34 +67,6 @@ exports.FormErrorListHeadingLevel = void 0;
67
67
  FormErrorListHeadingLevel["H6"] = "h6";
68
68
  })(exports.FormErrorListHeadingLevel || (exports.FormErrorListHeadingLevel = {}));
69
69
 
70
- exports.FormInputMode = void 0;
71
- (function (FormInputMode) {
72
- FormInputMode["DEFAULT"] = "";
73
- FormInputMode["NONE"] = "none";
74
- FormInputMode["TEXT"] = "text";
75
- FormInputMode["DECIMAL"] = "decimal";
76
- FormInputMode["NUMERIC"] = "numeric";
77
- FormInputMode["TEL"] = "tel";
78
- FormInputMode["SEARCH"] = "search";
79
- FormInputMode["EMAIL"] = "email";
80
- FormInputMode["URL"] = "url";
81
- })(exports.FormInputMode || (exports.FormInputMode = {}));
82
-
83
- exports.FormInputValidation = void 0;
84
- (function (FormInputValidation) {
85
- FormInputValidation["SUCCESS"] = "success";
86
- FormInputValidation["ERROR"] = "error";
87
- FormInputValidation["WARNING"] = "warning";
88
- FormInputValidation["NEUTRAL"] = "neutral";
89
- })(exports.FormInputValidation || (exports.FormInputValidation = {}));
90
-
91
- exports.FormInputVariation = void 0;
92
- (function (FormInputVariation) {
93
- FormInputVariation["SMALL"] = "small";
94
- FormInputVariation["MEDIUM"] = "medium";
95
- FormInputVariation["LARGE"] = "large";
96
- })(exports.FormInputVariation || (exports.FormInputVariation = {}));
97
-
98
70
  exports.FormFieldsetValidation = void 0;
99
71
  (function (FormFieldsetValidation) {
100
72
  FormFieldsetValidation["SUCCESS"] = "success";
@@ -1,7 +1,12 @@
1
+ @charset "UTF-8";
1
2
  /* http://meyerweb.com/eric/tools/css/reset/
2
3
  v2.0 | 20110126
3
4
  License: none (public domain)
4
5
  */
6
+ /*
7
+ Large-varianten används inte på fristående button-komponenter,
8
+ men behålls här för att kunna använda large-varianten på form-input-search i large-variant.
9
+ */
5
10
  :host {
6
11
  --digi--button--color--background--primary--default: var(--digi--color--background--interactive--default--primary);
7
12
  --digi--button--color--background--primary--hover: var(--digi--color--background--interactive--hover--primary);
@@ -83,6 +88,11 @@ License: none (public domain)
83
88
  --digi--button--border-radius--function--active: initial;
84
89
  --digi--button--padding--small: var(--digi--gutter--button-block-small) var(--digi--gutter--button-inline-small);
85
90
  --digi--button--padding--medium: var(--digi--gutter--button-block-medium) var(--digi--gutter--button-inline-medium);
91
+ /*
92
+ Large-varianten används inte på fristående button-komponenter,
93
+ men behålls här för att kunna använda large-varianten på form-input-search i large-variant.
94
+ */
95
+ --digi--button--padding--large: var(--digi--gutter--button-block-large) var(--digi--gutter--button-inline-large);
86
96
  --digi--button--font-size--small: var(--digi--global--typography--font-size--interaction-small);
87
97
  --digi--button--font-size--medium: var(--digi--global--typography--font-size--interaction-medium);
88
98
  --digi--button--font-family: var(--digi--global--typography--font-family--default);
@@ -97,6 +107,7 @@ License: none (public domain)
97
107
  --digi--button--text-align--full-width: center;
98
108
  --digi--button--outline--default: initial;
99
109
  --digi--button--outline--focus: initial;
110
+ --digi--button--box-shadow: none;
100
111
  --digi--button--cursor: pointer;
101
112
  --digi--button--icon--spacing: var(--digi--gutter--large);
102
113
  --digi--button--min-height--small: unset;
@@ -210,6 +221,17 @@ License: none (public domain)
210
221
  --PADDING: var(--digi--button--padding--medium);
211
222
  --MIN-HEIGHT: var(--digi--button--min-height--small);
212
223
  }
224
+ :host .digi-button {
225
+ /*
226
+ Large-varianten används inte på fristående button-komponenter,
227
+ men behålls här för att kunna använda large-varianten på form-input-search i large-variant.
228
+ */
229
+ }
230
+ :host .digi-button--size-large {
231
+ --FONT-SIZE: var(--digi--button--font-size--large);
232
+ --PADDING: var(--digi--button--padding--large);
233
+ --MIN-HEIGHT: var(--digi--button--min-height--small);
234
+ }
213
235
  :host .digi-button ::slotted([slot^=icon]) {
214
236
  --digi--icon--height: 1em;
215
237
  --digi--icon--width: 1em;
@@ -229,6 +251,7 @@ License: none (public domain)
229
251
  font-weight: var(--FONT-WEIGHT);
230
252
  font-size: var(--FONT-SIZE);
231
253
  outline: var(--digi--button--outline--default);
254
+ box-shadow: var(--digi--button--box-shadow);
232
255
  text-align: var(--digi--button--text-align--default);
233
256
  width: var(--digi--button--width);
234
257
  display: var(--digi--button--display);
@@ -38,6 +38,7 @@ License: none (public domain)
38
38
  --digi--calendar-week-view--today-circle--fill--active: var(--digi--color--text--interactive--secondary);
39
39
  --digi--calendar-week-view--dates--margin: 0 0 var(--digi--gutter--smaller) 0;
40
40
  --digi--calendar-week-view--dates--gap: var(--digi--gutter--smaller);
41
+ display: block;
41
42
  }
42
43
 
43
44
  .digi-calendar-week-view__timepicker {
@@ -67,20 +68,35 @@ License: none (public domain)
67
68
  --digi--button--border-radius--secondary--default: var(--digi--calendar-week-view--button--week--previous-button--border-radius);
68
69
  --digi--button--border-radius--secondary--hover: var(--digi--calendar-week-view--button--week--previous-button--border-radius);
69
70
  }
71
+ .digi-calendar-week-view__week-button--previous:hover::after, .digi-calendar-week-view__week-button--previous:focus-within::after {
72
+ content: "";
73
+ position: absolute;
74
+ width: 62px;
75
+ height: 2px;
76
+ top: 29px;
77
+ background-color: #00005a;
78
+ left: 50px;
79
+ }
70
80
  .digi-calendar-week-view__week-button--next {
71
81
  margin-left: var(--digi--calendar-week-view--button--week--margin);
72
82
  --digi--button--border-radius--secondary--default: var(--digi--calendar-week-view--button--week--next-button--border-radius);
73
83
  --digi--button--border-radius--secondary--hover: var(--digi--calendar-week-view--button--week--next-button--border-radius);
74
84
  }
85
+ .digi-calendar-week-view__week-button--next:hover::after, .digi-calendar-week-view__week-button--next:focus-within::after {
86
+ content: "";
87
+ position: absolute;
88
+ width: 62px;
89
+ height: 2px;
90
+ top: 29px;
91
+ background-color: #00005a;
92
+ left: 20px;
93
+ }
75
94
  .digi-calendar-week-view__week-button--keep-left, .digi-calendar-week-view__week-button--keep-right {
76
95
  --digi--calendar-week-view--button--week--margin: var(--digi--calendar-week-view--button--week--keep-right--margin);
77
96
  }
78
97
  .digi-calendar-week-view__week-button--hidden {
79
98
  display: none;
80
99
  }
81
- .digi-calendar-week-view__week-button ::slotted([slot^=icon]) {
82
- --digi--icon--width: var(--digi--calendar-week-view--button--icon--width);
83
- }
84
100
 
85
101
  .digi-calendar-week-view__dates {
86
102
  flex: 1 0 100%;
@@ -171,31 +187,9 @@ License: none (public domain)
171
187
  --digi--button--color--border--secondary--focus: var(--digi--calendar-week-view--button--date--border-color--active);
172
188
  --digi--button--color--border--secondary--active: var(--digi--calendar-week-view--button--date--border-color--active);
173
189
  --digi--calendar-week-view--today-circle--fill: var(--digi--calendar-week-view--today-circle--fill--active);
190
+ --digi--button--box-shadow: var(--digi--calendar-week-view--button--date--box-shadow--active);
174
191
  }
175
- .digi-calendar-week-view__date-button-content {
176
- display: flex;
177
- flex-direction: column;
178
- align-items: center;
179
- justify-content: center;
180
- text-transform: capitalize;
181
- }
182
-
183
- .digi-calendar-week-view__date-button-circle {
184
- position: absolute;
185
- height: var(--digi--calendar-week-view--today-circle--size);
186
- width: var(--digi--calendar-week-view--today-circle--size);
187
- background: var(--digi--calendar-week-view--today-circle--fill);
188
- bottom: 0.875rem;
189
- left: 50%;
190
- transform: translateX(-50%);
191
- border-radius: 50%;
192
- }
193
-
194
- ::slotted(* .digi-calendar-week-view__date-button--active .digi-button) {
195
- box-shadow: var(--digi--calendar-week-view--button--date--box-shadow--active);
196
- }
197
-
198
- ::slotted(* .digi-calendar-week-view__date-button .digi-button):hover .digi-calendar-week-view__date-button-day::after, ::slotted(* .digi-calendar-week-view__date-button .digi-button):focus .digi-calendar-week-view__date-button-day::after {
192
+ .digi-calendar-week-view__date-button:hover .digi-calendar-week-view__date-button-day::after, .digi-calendar-week-view__date-button:focus-within .digi-calendar-week-view__date-button-day::after {
199
193
  content: "";
200
194
  position: absolute;
201
195
  width: 30px;
@@ -204,7 +198,7 @@ License: none (public domain)
204
198
  background-color: var(--digi--calendar-week-view--button--date--color);
205
199
  left: 15px;
206
200
  }
207
- ::slotted(* .digi-calendar-week-view__date-button .digi-button):hover .digi-calendar-week-view__date-button-day--active::after, ::slotted(* .digi-calendar-week-view__date-button .digi-button):focus .digi-calendar-week-view__date-button-day--active::after {
201
+ .digi-calendar-week-view__date-button:hover .digi-calendar-week-view__date-button-day--active::after, .digi-calendar-week-view__date-button:focus-within .digi-calendar-week-view__date-button-day--active::after {
208
202
  content: "";
209
203
  position: absolute;
210
204
  width: 30px;
@@ -213,27 +207,22 @@ License: none (public domain)
213
207
  background-color: var(--digi--calendar-week-view--button--date--color--active);
214
208
  left: 15px;
215
209
  }
216
-
217
- ::slotted(* .digi-calendar-week-view__date-button .digi-button__text) {
210
+ .digi-calendar-week-view__date-button-content {
211
+ display: flex;
212
+ flex-direction: column;
213
+ align-items: center;
214
+ justify-content: center;
215
+ text-transform: capitalize;
218
216
  width: 100%;
219
217
  }
220
218
 
221
- ::slotted(* .digi-calendar-week-view__week-button--previous .digi-button):hover::after, ::slotted(* .digi-calendar-week-view__week-button--previous .digi-button):focus::after {
222
- content: "";
223
- position: absolute;
224
- width: 62px;
225
- height: 2px;
226
- top: 29px;
227
- background-color: #00005a;
228
- left: 50px;
229
- }
230
-
231
- ::slotted(* .digi-calendar-week-view__week-button--next .digi-button):hover::after, ::slotted(* .digi-calendar-week-view__week-button--next .digi-button):focus::after {
232
- content: "";
219
+ .digi-calendar-week-view__date-button-circle {
233
220
  position: absolute;
234
- width: 62px;
235
- height: 2px;
236
- top: 29px;
237
- background-color: #00005a;
238
- left: 20px;
221
+ height: var(--digi--calendar-week-view--today-circle--size);
222
+ width: var(--digi--calendar-week-view--today-circle--size);
223
+ background: var(--digi--calendar-week-view--today-circle--fill);
224
+ bottom: 0.875rem;
225
+ left: 50%;
226
+ transform: translateX(-50%);
227
+ border-radius: 50%;
239
228
  }
@@ -323,21 +323,17 @@ License: none (public domain)
323
323
  top: 4px;
324
324
  left: 0px;
325
325
  margin-right: 4px;
326
- /* @container: Stencil omits .sc-* on nested custom-element hosts.
327
- Same compilation as .hidden-desktop / __item-name in this file. */
328
- }
329
- @container (min-width: 0) {
330
- :host .digi-form-file-upload__item-green-check-icon {
331
- --digi--icon--height: 16px;
332
- --digi--icon--width: 16px;
333
- --digi--icon--color: var(--digi--color--icon--validation--success);
334
- min-height: 0;
335
- width: 16px;
336
- height: 16px;
337
- background-color: var(--digi--color--background--primary);
338
- border-radius: 50%;
339
- align-self: flex-start;
340
- }
326
+ }
327
+ :host .digi-form-file-upload__item-green-check-icon {
328
+ --digi--icon--height: 16px;
329
+ --digi--icon--width: 16px;
330
+ --digi--icon--color: var(--digi--color--icon--validation--success);
331
+ min-height: 0;
332
+ width: 16px;
333
+ height: 16px;
334
+ background-color: var(--digi--color--background--primary);
335
+ border-radius: 50%;
336
+ align-self: flex-start;
341
337
  }
342
338
  :host .digi-form-file-upload__item-name {
343
339
  width: 100%;
@@ -4,8 +4,4 @@
4
4
  }
5
5
  :host .digi-form-input-search__input {
6
6
  --digi--form-input--border-radius: var(--digi--form-input-search--input--border-radius--default);
7
- }
8
- :host .digi-form-input-search--large .digi-form-input-search__button button {
9
- font-size: var(--digi--global--typography--font-size--interaction-large);
10
- padding: var(--digi--gutter--button-block-large) var(--digi--gutter--button-inline-large);
11
7
  }
@@ -70,8 +70,13 @@ export class FeedbackBanner {
70
70
  this.validateLinks();
71
71
  this.validateHeading();
72
72
  }
73
+ getSlottedLinks() {
74
+ const slotRoot = this.hostElement.querySelector('.digi-tools-feedback-banner__slot');
75
+ const root = slotRoot !== null && slotRoot !== void 0 ? slotRoot : this.hostElement;
76
+ return Array.from(root.querySelectorAll('a')).filter((el) => !el.closest('digi-link, digi-link-external'));
77
+ }
73
78
  validateLinks() {
74
- const links = Array.from(this.hostElement.children).filter((el) => el.tagName.toLowerCase() === 'a');
79
+ const links = this.getSlottedLinks();
75
80
  if (links.length < 1 || links.length > 3) {
76
81
  logger.warn(`The slot contains no link elements or there are more than 3 links specified (only 3 can be showed)`, this.hostElement);
77
82
  return;
@@ -108,7 +113,7 @@ export class FeedbackBanner {
108
113
  }), h("div", { hidden: true, class: "digi-tools-feedback-banner__slot" }, h("slot", { onSlotchange: () => this.validateLinks() })))));
109
114
  }
110
115
  render() {
111
- return (h("div", { key: 'effe0197ab17d3396bf34dc8e1baa7057181d2b4', class: Object.assign({ 'digi-tools-feedback-banner': true }, this.cssModifiers) }, this.afType === ToolsFeedbackBannerType.FULLWIDTH && (h("digi-layout-block", { key: '6e1c7312e120f3e7d76e6ecb3f01490cdca03408', afVariation: LayoutBlockVariation.TRANSPARENT }, this.content)), this.afType !== ToolsFeedbackBannerType.FULLWIDTH && this.content));
116
+ return (h("div", { key: '739456a931baad879c5b7c99b9e3782d2056a161', class: Object.assign({ 'digi-tools-feedback-banner': true }, this.cssModifiers) }, this.afType === ToolsFeedbackBannerType.FULLWIDTH && (h("digi-layout-block", { key: 'b77c706fb75fcdc26d17f8fbb9e0e1fdbca397dd', afVariation: LayoutBlockVariation.TRANSPARENT }, this.content)), this.afType !== ToolsFeedbackBannerType.FULLWIDTH && this.content));
112
117
  }
113
118
  static get is() { return "digi-tools-feedback-banner"; }
114
119
  static get encapsulation() { return "scoped"; }
@@ -92,6 +92,11 @@
92
92
 
93
93
  --digi--button--padding--small: var(--digi--gutter--button-block-small) var(--digi--gutter--button-inline-small);
94
94
  --digi--button--padding--medium: var(--digi--gutter--button-block-medium) var(--digi--gutter--button-inline-medium);
95
+ /*
96
+ Large-varianten används inte på fristående button-komponenter,
97
+ men behålls här för att kunna använda large-varianten på form-input-search i large-variant.
98
+ */
99
+ --digi--button--padding--large: var(--digi--gutter--button-block-large) var(--digi--gutter--button-inline-large);
95
100
  --digi--button--font-size--small: var(--digi--global--typography--font-size--interaction-small);
96
101
  --digi--button--font-size--medium: var(--digi--global--typography--font-size--interaction-medium);
97
102
  --digi--button--font-family: var(--digi--global--typography--font-family--default);
@@ -107,6 +112,7 @@
107
112
  --digi--button--text-align--full-width: center;
108
113
  --digi--button--outline--default: initial;
109
114
  --digi--button--outline--focus: initial;
115
+ --digi--button--box-shadow: none;
110
116
  --digi--button--cursor: pointer;
111
117
  --digi--button--icon--spacing: var(--digi--gutter--large);
112
118
  --digi--button--min-height--small: unset;
@@ -1,16 +1,18 @@
1
- @mixin digi-title-logo--variables() {
2
- --digi--title-logo-text-color: var(--digi--color--text--primary);
3
- --digi--title-logo-font-weight: var(--digi--global--typography--font-weight--bold);
4
- --digi--title-logo-font-size: var(--digi--typography--title-logo--font-size--mobile);
5
- --digi--title-logo-font-size-small: var(--digi--global--typography--font-size--large);
6
- --digi--title-logo-line-height-small: 1.25rem;
7
- --digi--title-logo-symbol-color: var(--digi--color--logotype--primary--symbol);
8
- --digi--title-logo-symbol-width: 36px;
9
- --digi--title-logo-symbol-height: 36px;
10
- --digi--title-logo-symbol-width-mobile: 44px;
11
- --digi--title-logo-symbol-height-mobile: 44px;
12
- --digi--title-logo-text-height: 40px;
13
- --digi--title-logo-border-width: var(--digi--global--border-width--base);
14
- --digi--title-logo-vertical-padding: 1.375rem;
15
- --digi--title-logo-gap: 9px;
1
+ @use '../../../../../../styles/src/digi-styles.utils' as *;
2
+
3
+ @mixin digi-logo--variables() {
4
+ --digi--logo--img--min-width: #{rem(256)};
5
+ --digi--logo--img--max-width:#{rem(292)};
6
+ --digi--logo--img--max-width--large: #{rem(368)};
7
+ --digi--logo--img--max-width--system: #{rem(44)};
8
+
9
+ --digi--logo--padding: 1.375rem;
10
+ --digi--logo--padding--wide: var(--digi--gutter--larger);
11
+ --digi--logo--padding--large: var(--digi--gutter--medium);
12
+ --digi--logo--padding--large--wide: var(--digi--gutter--larger);
13
+
14
+ --digi--logo--primary--symbol: var(--digi--color--logotype--primary--symbol);
15
+ --digi--logo--secondary--symbol: var(--digi--color--logotype--secondary--symbol);
16
+ --digi--logo--primary--text: var(--digi--color--logotype--primary--text);
17
+ --digi--logo--secondary--text: var(--digi--color--logotype--secondary--text);
16
18
  }
@@ -92,6 +92,11 @@
92
92
 
93
93
  --digi--button--padding--small: var(--digi--gutter--button-block-small) var(--digi--gutter--button-inline-small);
94
94
  --digi--button--padding--medium: var(--digi--gutter--button-block-medium) var(--digi--gutter--button-inline-medium);
95
+ /*
96
+ Large-varianten används inte på fristående button-komponenter,
97
+ men behålls här för att kunna använda large-varianten på form-input-search i large-variant.
98
+ */
99
+ --digi--button--padding--large: var(--digi--gutter--button-block-large) var(--digi--gutter--button-inline-large);
95
100
  --digi--button--font-size--small: var(--digi--global--typography--font-size--interaction-small);
96
101
  --digi--button--font-size--medium: var(--digi--global--typography--font-size--interaction-medium);
97
102
  --digi--button--font-family: var(--digi--global--typography--font-family--default);
@@ -107,6 +112,7 @@
107
112
  --digi--button--text-align--full-width: center;
108
113
  --digi--button--outline--default: initial;
109
114
  --digi--button--outline--focus: initial;
115
+ --digi--button--box-shadow: none;
110
116
  --digi--button--cursor: pointer;
111
117
  --digi--button--icon--spacing: var(--digi--gutter--large);
112
118
  --digi--button--min-height--small: unset;