@designsystem-se/af 38.0.1-beta.0 → 38.0.1-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (368) hide show
  1. package/components/digi-bar-chart.js +1 -1
  2. package/components/digi-button.js +1 -1
  3. package/components/digi-calendar-datepicker.js +4 -4
  4. package/components/digi-calendar-week-view.js +1 -1
  5. package/components/digi-calendar.js +1 -1
  6. package/components/digi-chart-line.js +1 -1
  7. package/components/digi-code-block.js +1 -1
  8. package/components/digi-code-example.js +3 -3
  9. package/components/digi-context-menu.js +2 -2
  10. package/components/digi-dialog.js +3 -3
  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-checkbox.js +1 -1
  15. package/components/digi-form-error-list.js +3 -3
  16. package/components/digi-form-file-upload.js +1 -1
  17. package/components/digi-form-filter.js +3 -3
  18. package/components/digi-form-input-search.js +1 -1
  19. package/components/digi-form-receipt.js +1 -1
  20. package/components/digi-form-select-filter.js +3 -3
  21. package/components/digi-form-select.js +1 -1
  22. package/components/digi-header-avatar.js +1 -1
  23. package/components/digi-header-navigation.js +2 -2
  24. package/components/digi-header.js +5 -5
  25. package/components/digi-info-card-multi.js +1 -1
  26. package/components/digi-info-card.js +2 -2
  27. package/components/digi-link-internal.js +1 -1
  28. package/components/digi-navigation-pagination.js +2 -2
  29. package/components/digi-navigation-sidebar-button.js +1 -1
  30. package/components/digi-navigation-sidebar.js +1 -1
  31. package/components/digi-navigation-vertical-menu-item.js +1 -1
  32. package/components/digi-notification-alert.js +1 -1
  33. package/components/digi-notification-error-page.js +1 -1
  34. package/components/digi-progress-indicator.js +1 -1
  35. package/components/digi-quote.js +1 -1
  36. package/components/digi-tag.js +1 -1
  37. package/components/digi-title-logo.js +1 -1
  38. package/components/digi-tools-feedback.js +3 -3
  39. package/components/digi-tools-theme-provider.js +18 -5
  40. package/components/index.js +1 -1
  41. package/components/p-1af1c5ea.js +165 -0
  42. package/components/{p-195ca01d.js → p-4dc6d374.js} +2 -2
  43. package/components/{p-4d2d082d.js → p-74c7dd5f.js} +2 -2
  44. package/components/{p-dbb0665a.js → p-90548d3f.js} +2 -2
  45. package/components/p-adb4322e.js +66 -0
  46. package/components/{p-e2a68e2b.js → p-b94458ed.js} +1 -1
  47. package/components/p-bd92430e.js +177 -0
  48. package/components/p-d7ef9cb1.js +13 -0
  49. package/components/{p-9df35672.js → p-fb8dd721.js} +1 -1
  50. package/custom-elements.json +4 -0
  51. package/dist/cjs/digi-arbetsformedlingen.cjs.js +1 -1
  52. package/dist/cjs/digi-button_84.cjs.entry.js +8405 -0
  53. package/dist/cjs/digi-calendar-week-view.cjs.entry.js +50 -51
  54. package/dist/cjs/{digi-code-block_3.cjs.entry.js → digi-code-block_2.cjs.entry.js} +2 -133
  55. package/dist/cjs/digi-code-example.cjs.entry.js +1 -1
  56. package/dist/cjs/digi-dialog.cjs.entry.js +3 -19
  57. package/dist/cjs/digi-form-error-list.cjs.entry.js +2 -18
  58. package/dist/cjs/digi-form-input-search.cjs.entry.js +6 -7
  59. package/dist/cjs/digi-form-receipt.cjs.entry.js +2 -18
  60. package/dist/cjs/digi-navigation-pagination.cjs.entry.js +2 -18
  61. package/dist/cjs/digi-notification-error-page.cjs.entry.js +2 -18
  62. package/dist/cjs/digi-quote.cjs.entry.js +1 -1
  63. package/dist/cjs/digi-tools-feedback.cjs.entry.js +3 -19
  64. package/dist/cjs/{form-input-type.enum-9c8ee12a.js → form-input-type.enum-1fb2180a.js} +14 -0
  65. package/dist/cjs/index-7a477838.js +4 -156
  66. package/dist/cjs/{index-ac8e01b4.js → index-acb7b350.js} +189 -19
  67. package/dist/cjs/index.cjs.js +188 -198
  68. package/dist/cjs/loader.cjs.js +1 -1
  69. package/dist/cjs/{typography-variation.enum-c0ef9190.js → typography-variation.enum-ad1b2403.js} +230 -0
  70. package/dist/collection/components/_button/button/button.css +10 -10
  71. package/dist/collection/components/_calendar/calendar/calendar.css +7 -2
  72. package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.css +411 -106
  73. package/dist/collection/components/_code/code-example/code-example.css +6 -0
  74. package/dist/collection/components/_dialog/dialog/dialog.css +1 -1
  75. package/dist/collection/components/_expandable/expandable-faq-item/expandable-faq-item.css +2 -2
  76. package/dist/collection/components/_form/form-checkbox/form-checkbox.css +411 -106
  77. package/dist/collection/components/_form/form-file-upload/form-file-upload.css +4 -3
  78. package/dist/collection/components/_form/form-filter/form-filter.css +1 -1
  79. package/dist/collection/components/_form/form-select/form-select.css +2 -2
  80. package/dist/collection/components/_form/form-select-filter/form-select-filter.css +2 -2
  81. package/dist/collection/components/_header/header/header.js +2 -2
  82. package/dist/collection/components/_header/header-avatar/header-avatar.css +410 -105
  83. package/dist/collection/components/_info-card/info-card/info-card.css +2 -2
  84. package/dist/collection/components/_info-card/info-card-multi/info-card-multi.css +1 -1
  85. package/dist/collection/components/_link/link-internal/link-internal.css +410 -105
  86. package/dist/collection/components/_navigation/navigation-context-menu/navigation-context-menu.css +3 -2
  87. package/dist/collection/components/_navigation/navigation-vertical-menu-item/navigation-vertical-menu-item.css +3 -3
  88. package/dist/collection/components/_progress/progress-indicator/progress-indicator.css +4 -3
  89. package/dist/collection/components/_quote/quote/quote.css +2 -2
  90. package/dist/collection/components/_tools/tools-feedback/tools-feedback.css +1 -1
  91. package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.css +157 -2
  92. package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.js +43 -2
  93. package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.theme.enum.js +5 -0
  94. package/dist/collection/design-tokens/components/_button.variables.scss +10 -10
  95. package/dist/collection/design-tokens/components/_calendar-datepicker.variables.scss +1 -1
  96. package/dist/collection/design-tokens/components/_calendar.variables.scss +3 -2
  97. package/dist/collection/design-tokens/components/_dialog.variables.scss +1 -1
  98. package/dist/collection/design-tokens/components/_expandable-faq-item.variables.scss +2 -2
  99. package/dist/collection/design-tokens/components/_form-checkbox.variables.scss +1 -1
  100. package/dist/collection/design-tokens/components/_form-file-upload.variables.scss +2 -0
  101. package/dist/collection/design-tokens/components/_form-filter.variables.scss +1 -1
  102. package/dist/collection/design-tokens/components/_form-select-filter.variables.scss +2 -2
  103. package/dist/collection/design-tokens/components/_form-select.variables.scss +2 -2
  104. package/dist/collection/design-tokens/components/_info-card-multi.variables.scss +1 -1
  105. package/dist/collection/design-tokens/components/_info-card.variables.scss +2 -2
  106. package/dist/collection/design-tokens/components/_logo.variables.scss +2 -0
  107. package/dist/collection/design-tokens/components/_navigation-context-menu.variables.scss +1 -1
  108. package/dist/collection/design-tokens/components/_navigation-vertical-menu-item.variables.scss +3 -3
  109. package/dist/collection/design-tokens/components/_quote.variables.scss +2 -2
  110. package/dist/collection/design-tokens/components/_tools-feedback.variables.scss +1 -1
  111. package/dist/collection/enums.js +1 -0
  112. package/dist/collection/styles/src/_alias.mixin.scss +246 -105
  113. package/dist/collection/styles/src/themes/_brand-af18.mixin.scss +16 -0
  114. package/dist/collection/styles/src/themes/_brand-af25.mixin.scss +138 -0
  115. package/dist/collection/styles/src/themes/_brand-common.mixin.scss +7 -0
  116. package/dist/collection/styles/src/tokens-documentation/web-AF25.json +3171 -14
  117. package/dist/digi-arbetsformedlingen/design-tokens/components/_button.variables.scss +10 -10
  118. package/dist/digi-arbetsformedlingen/design-tokens/components/_calendar-datepicker.variables.scss +1 -1
  119. package/dist/digi-arbetsformedlingen/design-tokens/components/_calendar.variables.scss +3 -2
  120. package/dist/digi-arbetsformedlingen/design-tokens/components/_dialog.variables.scss +1 -1
  121. package/dist/digi-arbetsformedlingen/design-tokens/components/_expandable-faq-item.variables.scss +2 -2
  122. package/dist/digi-arbetsformedlingen/design-tokens/components/_form-checkbox.variables.scss +1 -1
  123. package/dist/digi-arbetsformedlingen/design-tokens/components/_form-file-upload.variables.scss +2 -0
  124. package/dist/digi-arbetsformedlingen/design-tokens/components/_form-filter.variables.scss +1 -1
  125. package/dist/digi-arbetsformedlingen/design-tokens/components/_form-select-filter.variables.scss +2 -2
  126. package/dist/digi-arbetsformedlingen/design-tokens/components/_form-select.variables.scss +2 -2
  127. package/dist/digi-arbetsformedlingen/design-tokens/components/_info-card-multi.variables.scss +1 -1
  128. package/dist/digi-arbetsformedlingen/design-tokens/components/_info-card.variables.scss +2 -2
  129. package/dist/digi-arbetsformedlingen/design-tokens/components/_navigation-context-menu.variables.scss +1 -1
  130. package/dist/digi-arbetsformedlingen/design-tokens/components/_navigation-vertical-menu-item.variables.scss +3 -3
  131. package/dist/digi-arbetsformedlingen/design-tokens/components/_quote.variables.scss +2 -2
  132. package/dist/digi-arbetsformedlingen/design-tokens/components/_tools-feedback.variables.scss +1 -1
  133. package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.css +1 -1
  134. package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
  135. package/dist/digi-arbetsformedlingen/index.esm.js +1 -1
  136. package/dist/digi-arbetsformedlingen/{p-9062da9b.entry.js → p-0467a3ec.entry.js} +1 -1
  137. package/dist/digi-arbetsformedlingen/p-1995b9cc.entry.js +1 -0
  138. package/dist/digi-arbetsformedlingen/{p-6324c9bf.entry.js → p-3f47ec44.entry.js} +1 -1
  139. package/dist/digi-arbetsformedlingen/p-47ab0b39.entry.js +1 -0
  140. package/dist/digi-arbetsformedlingen/p-6f2ac316.entry.js +1 -0
  141. package/dist/digi-arbetsformedlingen/p-72ef7f99.entry.js +1 -0
  142. package/dist/digi-arbetsformedlingen/p-740c6ad8.entry.js +1 -0
  143. package/dist/digi-arbetsformedlingen/p-8d055a17.js +1 -0
  144. package/dist/digi-arbetsformedlingen/p-94ded2bd.entry.js +1 -0
  145. package/dist/digi-arbetsformedlingen/p-a105d9fe.js +1 -0
  146. package/dist/digi-arbetsformedlingen/p-b471f287.entry.js +1 -0
  147. package/dist/digi-arbetsformedlingen/p-c64b4626.js +1 -0
  148. package/dist/digi-arbetsformedlingen/{p-e347aae8.entry.js → p-ed832d4e.entry.js} +1 -1
  149. package/dist/digi-arbetsformedlingen/p-ede12626.entry.js +1 -0
  150. package/dist/digi-arbetsformedlingen/p-f601908d.entry.js +1 -0
  151. package/dist/digi-arbetsformedlingen/styles/src/_alias.mixin.scss +246 -105
  152. package/dist/digi-arbetsformedlingen/styles/src/themes/_brand-af18.mixin.scss +16 -0
  153. package/dist/digi-arbetsformedlingen/styles/src/themes/_brand-af25.mixin.scss +138 -0
  154. package/dist/digi-arbetsformedlingen/styles/src/themes/_brand-common.mixin.scss +7 -0
  155. package/dist/digi-arbetsformedlingen/styles/src/tokens-documentation/web-AF25.json +3171 -14
  156. package/dist/esm/digi-arbetsformedlingen.js +1 -1
  157. package/dist/esm/digi-button_84.entry.js +8318 -0
  158. package/dist/esm/digi-calendar-week-view.entry.js +1 -2
  159. package/dist/esm/{digi-code-block_3.entry.js → digi-code-block_2.entry.js} +4 -134
  160. package/dist/esm/digi-code-example.entry.js +1 -1
  161. package/dist/esm/digi-dialog.entry.js +3 -19
  162. package/dist/esm/digi-form-error-list.entry.js +2 -18
  163. package/dist/esm/digi-form-input-search.entry.js +1 -2
  164. package/dist/esm/digi-form-receipt.entry.js +2 -18
  165. package/dist/esm/digi-navigation-pagination.entry.js +2 -18
  166. package/dist/esm/digi-notification-error-page.entry.js +2 -18
  167. package/dist/esm/digi-quote.entry.js +1 -1
  168. package/dist/esm/digi-tools-feedback.entry.js +3 -19
  169. package/dist/esm/{form-input-type.enum-3da3db27.js → form-input-type.enum-a6bba983.js} +15 -1
  170. package/dist/esm/index-148a7577.js +4 -156
  171. package/dist/esm/{index-2fce392f.js → index-dc6b83f7.js} +170 -3
  172. package/dist/esm/index.js +2 -18
  173. package/dist/esm/loader.js +1 -1
  174. package/dist/esm/typography-variation.enum-7319240b.js +501 -0
  175. package/dist/types/components/_tools/tools-theme-provider/tools-theme-provider.d.ts +9 -0
  176. package/dist/types/components/_tools/tools-theme-provider/tools-theme-provider.theme.enum.d.ts +4 -0
  177. package/dist/types/components.d.ts +12 -0
  178. package/dist/types/enums.d.ts +1 -0
  179. package/hydrate/index.js +44 -25
  180. package/hydrate/index.mjs +44 -25
  181. package/package.json +1 -1
  182. package/components/p-4bad4fb0.js +0 -7
  183. package/components/p-57a1c472.js +0 -177
  184. package/components/p-70fad0ea.js +0 -165
  185. package/components/p-ab07faba.js +0 -66
  186. package/dist/cjs/digi-button_27.cjs.entry.js +0 -1379
  187. package/dist/cjs/digi-calendar-datepicker.cjs.entry.js +0 -2598
  188. package/dist/cjs/digi-calendar_2.cjs.entry.js +0 -464
  189. package/dist/cjs/digi-context-menu.cjs.entry.js +0 -240
  190. package/dist/cjs/digi-expandable-faq-item.cjs.entry.js +0 -97
  191. package/dist/cjs/digi-form-category-filter.cjs.entry.js +0 -121
  192. package/dist/cjs/digi-form-checkbox.cjs.entry.js +0 -139
  193. package/dist/cjs/digi-form-file-upload.cjs.entry.js +0 -589
  194. package/dist/cjs/digi-form-filter.cjs.entry.js +0 -248
  195. package/dist/cjs/digi-form-input.cjs.entry.js +0 -194
  196. package/dist/cjs/digi-form-label_3.cjs.entry.js +0 -129
  197. package/dist/cjs/digi-form-select-filter.cjs.entry.js +0 -563
  198. package/dist/cjs/digi-form-select_2.cjs.entry.js +0 -186
  199. package/dist/cjs/digi-icon-check-circle-solid_4.cjs.entry.js +0 -99
  200. package/dist/cjs/digi-icon-check.cjs.entry.js +0 -30
  201. package/dist/cjs/digi-icon-chevron-down.cjs.entry.js +0 -30
  202. package/dist/cjs/digi-icon-chevron-left_2.cjs.entry.js +0 -53
  203. package/dist/cjs/digi-icon-copy.cjs.entry.js +0 -30
  204. package/dist/cjs/digi-icon-list-ul_6.cjs.entry.js +0 -145
  205. package/dist/cjs/digi-icon-minus_2.cjs.entry.js +0 -53
  206. package/dist/cjs/digi-icon-notification-error_4.cjs.entry.js +0 -99
  207. package/dist/cjs/digi-icon-spinner.cjs.entry.js +0 -31
  208. package/dist/cjs/digi-icon-validation-error_2.cjs.entry.js +0 -53
  209. package/dist/cjs/digi-info-card-multi-container.cjs.entry.js +0 -22
  210. package/dist/cjs/digi-info-card-multi.cjs.entry.js +0 -58
  211. package/dist/cjs/digi-info-card.cjs.entry.js +0 -79
  212. package/dist/cjs/digi-layout-columns.cjs.entry.js +0 -33
  213. package/dist/cjs/digi-link-button.cjs.entry.js +0 -66
  214. package/dist/cjs/digi-link-external.cjs.entry.js +0 -36
  215. package/dist/cjs/digi-link-internal.cjs.entry.js +0 -37
  216. package/dist/cjs/digi-navigation-vertical-menu-item.cjs.entry.js +0 -150
  217. package/dist/cjs/digi-navigation-vertical-menu.cjs.entry.js +0 -177
  218. package/dist/cjs/digi-notification-alert.cjs.entry.js +0 -111
  219. package/dist/cjs/digi-progress-indicator.cjs.entry.js +0 -137
  220. package/dist/cjs/digi-tag-media.cjs.entry.js +0 -47
  221. package/dist/cjs/digi-tools-theme-provider.cjs.entry.js +0 -28
  222. package/dist/cjs/digi-typography-heading-jumbo.cjs.entry.js +0 -38
  223. package/dist/cjs/digi-typography-preamble.cjs.entry.js +0 -20
  224. package/dist/cjs/digi-util-mutation-observer.cjs.entry.js +0 -64
  225. package/dist/cjs/expandable-faq-item-variation.enum-89427195.js +0 -18
  226. package/dist/cjs/form-checkbox-variation.enum-d2ca879e.js +0 -19
  227. package/dist/cjs/form-file-upload-variation.enum-634cfae8.js +0 -24
  228. package/dist/cjs/form-input-search-variation.enum-e0e025b1.js +0 -15
  229. package/dist/cjs/form-input-variation.enum-c750520c.js +0 -29
  230. package/dist/cjs/form-select-variation.enum-528c1bf0.js +0 -16
  231. package/dist/cjs/form-validation-message-variation.enum-855ae0be.js +0 -8
  232. package/dist/cjs/index-cad91a90.js +0 -66
  233. package/dist/cjs/index-e8333bcc.js +0 -174
  234. package/dist/cjs/info-card-multi-type.enum-14746572.js +0 -8
  235. package/dist/cjs/info-card-variation.enum-64cef637.js +0 -24
  236. package/dist/cjs/layout-columns-variation.enum-65675649.js +0 -23
  237. package/dist/cjs/link-button-variation.enum-137785e3.js +0 -9
  238. package/dist/cjs/navigation-vertical-menu-variation.enum-c237edd3.js +0 -13
  239. package/dist/cjs/progress-indicator-variation.enum-7cf8e0e4.js +0 -13
  240. package/dist/cjs/tag-media-icon.enum-372563c5.js +0 -11
  241. package/dist/cjs/tools-theme-provider.brand.enum-bc855272.js +0 -7
  242. package/dist/cjs/typography-heading-jumbo-variation.enum-8677e099.js +0 -17
  243. package/dist/digi-arbetsformedlingen/p-07303cb5.js +0 -1
  244. package/dist/digi-arbetsformedlingen/p-0f6c0360.js +0 -1
  245. package/dist/digi-arbetsformedlingen/p-0fbe6e50.entry.js +0 -1
  246. package/dist/digi-arbetsformedlingen/p-111fb07d.entry.js +0 -1
  247. package/dist/digi-arbetsformedlingen/p-13ee320b.entry.js +0 -1
  248. package/dist/digi-arbetsformedlingen/p-1486034d.entry.js +0 -1
  249. package/dist/digi-arbetsformedlingen/p-1f3345e9.js +0 -1
  250. package/dist/digi-arbetsformedlingen/p-1f956af8.js +0 -1
  251. package/dist/digi-arbetsformedlingen/p-20693fa2.entry.js +0 -1
  252. package/dist/digi-arbetsformedlingen/p-2a023831.js +0 -1
  253. package/dist/digi-arbetsformedlingen/p-2d2f6950.entry.js +0 -1
  254. package/dist/digi-arbetsformedlingen/p-30dc159d.entry.js +0 -1
  255. package/dist/digi-arbetsformedlingen/p-3566b732.entry.js +0 -1
  256. package/dist/digi-arbetsformedlingen/p-398d0f60.entry.js +0 -1
  257. package/dist/digi-arbetsformedlingen/p-3b20ec86.js +0 -1
  258. package/dist/digi-arbetsformedlingen/p-3c9195db.entry.js +0 -1
  259. package/dist/digi-arbetsformedlingen/p-3cda17e1.entry.js +0 -1
  260. package/dist/digi-arbetsformedlingen/p-3f9dfdb0.entry.js +0 -1
  261. package/dist/digi-arbetsformedlingen/p-408e9b2a.entry.js +0 -1
  262. package/dist/digi-arbetsformedlingen/p-416992c0.entry.js +0 -1
  263. package/dist/digi-arbetsformedlingen/p-4841b4e1.js +0 -1
  264. package/dist/digi-arbetsformedlingen/p-4b8cae8a.entry.js +0 -1
  265. package/dist/digi-arbetsformedlingen/p-4bad4fb0.js +0 -1
  266. package/dist/digi-arbetsformedlingen/p-4d84c470.entry.js +0 -1
  267. package/dist/digi-arbetsformedlingen/p-50b32151.entry.js +0 -1
  268. package/dist/digi-arbetsformedlingen/p-51149879.entry.js +0 -1
  269. package/dist/digi-arbetsformedlingen/p-54b6eb3f.entry.js +0 -1
  270. package/dist/digi-arbetsformedlingen/p-55bcba7c.entry.js +0 -1
  271. package/dist/digi-arbetsformedlingen/p-55d02ef7.entry.js +0 -1
  272. package/dist/digi-arbetsformedlingen/p-577f6995.entry.js +0 -1
  273. package/dist/digi-arbetsformedlingen/p-5f20045a.entry.js +0 -1
  274. package/dist/digi-arbetsformedlingen/p-5f4ece29.entry.js +0 -1
  275. package/dist/digi-arbetsformedlingen/p-6fb0f1a4.entry.js +0 -1
  276. package/dist/digi-arbetsformedlingen/p-70da2307.entry.js +0 -1
  277. package/dist/digi-arbetsformedlingen/p-7933b555.js +0 -1
  278. package/dist/digi-arbetsformedlingen/p-7aacd45f.js +0 -1
  279. package/dist/digi-arbetsformedlingen/p-8142cc73.js +0 -1
  280. package/dist/digi-arbetsformedlingen/p-814ca2ad.js +0 -1
  281. package/dist/digi-arbetsformedlingen/p-820e795b.js +0 -1
  282. package/dist/digi-arbetsformedlingen/p-82611050.entry.js +0 -1
  283. package/dist/digi-arbetsformedlingen/p-82a74908.entry.js +0 -1
  284. package/dist/digi-arbetsformedlingen/p-88b4d03a.js +0 -1
  285. package/dist/digi-arbetsformedlingen/p-8fa50755.entry.js +0 -1
  286. package/dist/digi-arbetsformedlingen/p-905ccb30.js +0 -1
  287. package/dist/digi-arbetsformedlingen/p-915b2a14.entry.js +0 -1
  288. package/dist/digi-arbetsformedlingen/p-9a456d55.entry.js +0 -1
  289. package/dist/digi-arbetsformedlingen/p-9c053cf8.entry.js +0 -1
  290. package/dist/digi-arbetsformedlingen/p-9dd5d6c8.js +0 -1
  291. package/dist/digi-arbetsformedlingen/p-9f47d4b7.entry.js +0 -1
  292. package/dist/digi-arbetsformedlingen/p-a26333e9.entry.js +0 -1
  293. package/dist/digi-arbetsformedlingen/p-a969ba67.entry.js +0 -1
  294. package/dist/digi-arbetsformedlingen/p-af72f16f.entry.js +0 -1
  295. package/dist/digi-arbetsformedlingen/p-b3d93b8b.entry.js +0 -1
  296. package/dist/digi-arbetsformedlingen/p-ba3c4861.entry.js +0 -1
  297. package/dist/digi-arbetsformedlingen/p-c04ae2fc.entry.js +0 -1
  298. package/dist/digi-arbetsformedlingen/p-c06930c2.entry.js +0 -1
  299. package/dist/digi-arbetsformedlingen/p-c461917d.entry.js +0 -1
  300. package/dist/digi-arbetsformedlingen/p-c7949525.js +0 -1
  301. package/dist/digi-arbetsformedlingen/p-d182d8bb.entry.js +0 -1
  302. package/dist/digi-arbetsformedlingen/p-d1886fff.js +0 -1
  303. package/dist/digi-arbetsformedlingen/p-d595e8a3.js +0 -1
  304. package/dist/digi-arbetsformedlingen/p-d71c33d8.entry.js +0 -1
  305. package/dist/digi-arbetsformedlingen/p-eda570be.entry.js +0 -1
  306. package/dist/digi-arbetsformedlingen/p-f40f4b2a.js +0 -1
  307. package/dist/digi-arbetsformedlingen/p-f447b984.js +0 -1
  308. package/dist/digi-arbetsformedlingen/p-f4edca16.entry.js +0 -1
  309. package/dist/digi-arbetsformedlingen/p-fb9b3544.entry.js +0 -1
  310. package/dist/digi-arbetsformedlingen/p-fdca581c.entry.js +0 -1
  311. package/dist/esm/digi-button_27.entry.js +0 -1349
  312. package/dist/esm/digi-calendar-datepicker.entry.js +0 -2594
  313. package/dist/esm/digi-calendar_2.entry.js +0 -459
  314. package/dist/esm/digi-context-menu.entry.js +0 -236
  315. package/dist/esm/digi-expandable-faq-item.entry.js +0 -93
  316. package/dist/esm/digi-form-category-filter.entry.js +0 -117
  317. package/dist/esm/digi-form-checkbox.entry.js +0 -135
  318. package/dist/esm/digi-form-file-upload.entry.js +0 -585
  319. package/dist/esm/digi-form-filter.entry.js +0 -244
  320. package/dist/esm/digi-form-input.entry.js +0 -190
  321. package/dist/esm/digi-form-label_3.entry.js +0 -123
  322. package/dist/esm/digi-form-select-filter.entry.js +0 -559
  323. package/dist/esm/digi-form-select_2.entry.js +0 -181
  324. package/dist/esm/digi-icon-check-circle-solid_4.entry.js +0 -92
  325. package/dist/esm/digi-icon-check.entry.js +0 -26
  326. package/dist/esm/digi-icon-chevron-down.entry.js +0 -26
  327. package/dist/esm/digi-icon-chevron-left_2.entry.js +0 -48
  328. package/dist/esm/digi-icon-copy.entry.js +0 -26
  329. package/dist/esm/digi-icon-list-ul_6.entry.js +0 -136
  330. package/dist/esm/digi-icon-minus_2.entry.js +0 -48
  331. package/dist/esm/digi-icon-notification-error_4.entry.js +0 -92
  332. package/dist/esm/digi-icon-spinner.entry.js +0 -27
  333. package/dist/esm/digi-icon-validation-error_2.entry.js +0 -48
  334. package/dist/esm/digi-info-card-multi-container.entry.js +0 -18
  335. package/dist/esm/digi-info-card-multi.entry.js +0 -54
  336. package/dist/esm/digi-info-card.entry.js +0 -75
  337. package/dist/esm/digi-layout-columns.entry.js +0 -29
  338. package/dist/esm/digi-link-button.entry.js +0 -62
  339. package/dist/esm/digi-link-external.entry.js +0 -32
  340. package/dist/esm/digi-link-internal.entry.js +0 -33
  341. package/dist/esm/digi-navigation-vertical-menu-item.entry.js +0 -146
  342. package/dist/esm/digi-navigation-vertical-menu.entry.js +0 -173
  343. package/dist/esm/digi-notification-alert.entry.js +0 -107
  344. package/dist/esm/digi-progress-indicator.entry.js +0 -133
  345. package/dist/esm/digi-tag-media.entry.js +0 -43
  346. package/dist/esm/digi-tools-theme-provider.entry.js +0 -24
  347. package/dist/esm/digi-typography-heading-jumbo.entry.js +0 -34
  348. package/dist/esm/digi-typography-preamble.entry.js +0 -16
  349. package/dist/esm/digi-util-mutation-observer.entry.js +0 -60
  350. package/dist/esm/expandable-faq-item-variation.enum-a8cb225b.js +0 -18
  351. package/dist/esm/form-checkbox-variation.enum-83e906fc.js +0 -19
  352. package/dist/esm/form-file-upload-variation.enum-9c49ec5e.js +0 -24
  353. package/dist/esm/form-input-search-variation.enum-6d8dc10a.js +0 -15
  354. package/dist/esm/form-input-variation.enum-64d9450f.js +0 -29
  355. package/dist/esm/form-select-variation.enum-f2f6098d.js +0 -16
  356. package/dist/esm/form-validation-message-variation.enum-bcef8a9d.js +0 -8
  357. package/dist/esm/index-5b6c95c6.js +0 -63
  358. package/dist/esm/index-8685f88d.js +0 -170
  359. package/dist/esm/info-card-multi-type.enum-07ee124f.js +0 -8
  360. package/dist/esm/info-card-variation.enum-2ccc52c1.js +0 -24
  361. package/dist/esm/layout-columns-variation.enum-34f7754e.js +0 -23
  362. package/dist/esm/link-button-variation.enum-84d4976f.js +0 -9
  363. package/dist/esm/navigation-vertical-menu-variation.enum-c30b0ea9.js +0 -13
  364. package/dist/esm/progress-indicator-variation.enum-b12ba50a.js +0 -13
  365. package/dist/esm/tag-media-icon.enum-fefa191c.js +0 -11
  366. package/dist/esm/tools-theme-provider.brand.enum-8c5a98c9.js +0 -7
  367. package/dist/esm/typography-heading-jumbo-variation.enum-eb737f1b.js +0 -17
  368. package/dist/esm/typography-variation.enum-c85d7857.js +0 -271
@@ -1,38 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-7a477838.js');
6
- const typographyHeadingJumboVariation_enum = require('./typography-heading-jumbo-variation.enum-8677e099.js');
7
-
8
- const typographyHeadingJumboCss = ".sc-digi-typography-heading-jumbo-h{display:block}.sc-digi-typography-heading-jumbo-h .digi-typography-heading-jumbo.sc-digi-typography-heading-jumbo{font-size:var(--digi--typography--heading-jumbo--font-size--desktop);font-family:var(--digi--global--typography--font-family--default);color:var(--digi--color--text--primary);font-weight:var(--digi--typography--heading-jumbo--font-weight--desktop)}@media (min-width: 61.9375rem){.sc-digi-typography-heading-jumbo-h .digi-typography-heading-jumbo.sc-digi-typography-heading-jumbo{font-size:var(--digi--typography--heading-jumbo--font-size--desktop-large)}}.sc-digi-typography-heading-jumbo-h .digi-typography-heading-jumbo--secondary.sc-digi-typography-heading-jumbo{color:var(--digi--grayscale--0)}.sc-digi-typography-heading-jumbo-h .digi-typography-heading-jumbo.sc-digi-typography-heading-jumbo::after{content:\"\";width:11.875rem;height:0.4375rem;background:var(--digi--color--border--accent--primary);display:block;margin-top:var(--digi--padding--small)}@media (min-width: 61.9375rem){.sc-digi-typography-heading-jumbo-h .digi-typography-heading-jumbo.sc-digi-typography-heading-jumbo::after{width:13.75rem;margin-top:var(--digi--margin--h2-large);height:0.625rem}}.sc-digi-typography-heading-jumbo-h .digi-typography-heading-jumbo--secondary.sc-digi-typography-heading-jumbo::after{background:var(--digi--color--border--accent--secondary)}digi-typography .sc-digi-typography-heading-jumbo-h .digi-typography-heading-jumbo.sc-digi-typography-heading-jumbo{margin-bottom:var(--digi--margin--medium)}";
9
- const DigiTypographyHeadingJumboStyle0 = typographyHeadingJumboCss;
10
-
11
- const TypographyHeadingJumbo = class {
12
- constructor(hostRef) {
13
- index.registerInstance(this, hostRef);
14
- this.afText = '';
15
- this.afVariation = undefined;
16
- this.afLevel = typographyHeadingJumboVariation_enum.TypographyHeadingJumboLevel.H1;
17
- this.afLang = 'sv';
18
- }
19
- /**
20
- * Lyssnar på om fokus sätts på custom-elementet och propagerar ner det till själva rubrik-elementet.
21
- * @en Listens for when focus is set on the custom element and propagates it down to the actual heading element.
22
- */
23
- focusOnHeading() {
24
- this.headingElement.focus();
25
- }
26
- get cssModifiers() {
27
- return {
28
- 'digi-typography-heading-jumbo--primary': this.afVariation === typographyHeadingJumboVariation_enum.TypographyHeadingJumboVariation.PRIMARY,
29
- 'digi-typography-heading-jumbo--secondary': this.afVariation === typographyHeadingJumboVariation_enum.TypographyHeadingJumboVariation.SECONDARY
30
- };
31
- }
32
- render() {
33
- return (index.h(this.afLevel, { key: '9ec7411b0437a784fd3e67867d5652198ee2854d', ref: (el) => (this.headingElement = el), class: Object.assign({ 'digi-typography-heading-jumbo': true }, this.cssModifiers), lang: this.afLang, tabindex: -1 }, this.afText));
34
- }
35
- };
36
- TypographyHeadingJumbo.style = DigiTypographyHeadingJumboStyle0;
37
-
38
- exports.digi_typography_heading_jumbo = TypographyHeadingJumbo;
@@ -1,20 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-7a477838.js');
6
-
7
- const typographyPreambleCss = ".sc-digi-typography-preamble-h .digi-typography-preamble.sc-digi-typography-preamble{font-family:var(--digi--global--typography--font-family--default);font-size:var(--digi--typography--preamble--font-size--mobile);font-weight:var(--digi--typography--preamble--font-weight--desktop);line-height:var(--digi--typography--preamble--line-height--mobile);color:var(--digi--color--text--primary);max-width:var(--digi--paragraph-width--medium)}@media (min-width: 61.9375rem){.sc-digi-typography-preamble-h .digi-typography-preamble.sc-digi-typography-preamble{font-size:var(--digi--typography--preamble--font-size--desktop);line-height:var(--digi--typography--preamble--line-height--desktop)}}";
8
- const DigiTypographyPreambleStyle0 = typographyPreambleCss;
9
-
10
- const TypographyPreamble = class {
11
- constructor(hostRef) {
12
- index.registerInstance(this, hostRef);
13
- }
14
- render() {
15
- return (index.h("p", { key: 'db78a2df696deb6ff3e9b9823dea5952650a69e2', class: "digi-typography-preamble" }, index.h("slot", { key: '0b3d4bf54475917eb1703f343bc0d07dcec9ba4d' })));
16
- }
17
- };
18
- TypographyPreamble.style = DigiTypographyPreambleStyle0;
19
-
20
- exports.digi_typography_preamble = TypographyPreamble;
@@ -1,64 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-7a477838.js');
6
- const randomIdGenerator_util = require('./randomIdGenerator.util-e7f4b6de.js');
7
-
8
- const UtilMutationObserver = class {
9
- constructor(hostRef) {
10
- index.registerInstance(this, hostRef);
11
- this.afOnChange = index.createEvent(this, "afOnChange", 7);
12
- this._observer = null;
13
- this._isObserving = false;
14
- this.afId = randomIdGenerator_util.randomIdGenerator('digi-util-mutation-observer');
15
- this.afOptions = {
16
- attributes: false,
17
- childList: true,
18
- subtree: false,
19
- characterData: false
20
- };
21
- }
22
- afOptionsWatcher(newValue) {
23
- this._afOptions =
24
- typeof newValue === 'string' ? JSON.parse(newValue) : newValue;
25
- }
26
- componentWillLoad() {
27
- this.afOptionsWatcher(this.afOptions);
28
- this.initObserver();
29
- }
30
- disconnectedCallback() {
31
- if (this._isObserving) {
32
- this.removeObserver();
33
- }
34
- }
35
- initObserver() {
36
- this._observer = new MutationObserver((mutationsList) => {
37
- for (const mutation of mutationsList) {
38
- if (mutation.type === 'childList' ||
39
- mutation.type === 'attributes' ||
40
- mutation.type === 'characterData') {
41
- this.changeHandler(mutation);
42
- }
43
- }
44
- });
45
- this._observer.observe(this.$el, this._afOptions);
46
- this._isObserving = true;
47
- }
48
- removeObserver() {
49
- this._observer.disconnect();
50
- this._isObserving = false;
51
- }
52
- changeHandler(e) {
53
- this.afOnChange.emit(e);
54
- }
55
- render() {
56
- index.h("div", { id: this.afId, ref: (el) => (this.$el = el) }, index.h("slot", null));
57
- }
58
- get $el() { return index.getElement(this); }
59
- static get watchers() { return {
60
- "afOptions": ["afOptionsWatcher"]
61
- }; }
62
- };
63
-
64
- exports.digi_util_mutation_observer = UtilMutationObserver;
@@ -1,18 +0,0 @@
1
- 'use strict';
2
-
3
- exports.ExpandableFaqItemHeadingLevel = void 0;
4
- (function (ExpandableFaqItemHeadingLevel) {
5
- ExpandableFaqItemHeadingLevel["H1"] = "h1";
6
- ExpandableFaqItemHeadingLevel["H2"] = "h2";
7
- ExpandableFaqItemHeadingLevel["H3"] = "h3";
8
- ExpandableFaqItemHeadingLevel["H4"] = "h4";
9
- ExpandableFaqItemHeadingLevel["H5"] = "h5";
10
- ExpandableFaqItemHeadingLevel["H6"] = "h6";
11
- })(exports.ExpandableFaqItemHeadingLevel || (exports.ExpandableFaqItemHeadingLevel = {}));
12
-
13
- exports.ExpandableFaqItemVariation = void 0;
14
- (function (ExpandableFaqItemVariation) {
15
- ExpandableFaqItemVariation["PRIMARY"] = "primary";
16
- ExpandableFaqItemVariation["SECONDARY"] = "secondary";
17
- ExpandableFaqItemVariation["TERTIARY"] = "tertiary";
18
- })(exports.ExpandableFaqItemVariation || (exports.ExpandableFaqItemVariation = {}));
@@ -1,19 +0,0 @@
1
- 'use strict';
2
-
3
- exports.FormCheckboxLayout = void 0;
4
- (function (FormCheckboxLayout) {
5
- FormCheckboxLayout["INLINE"] = "inline";
6
- FormCheckboxLayout["BLOCK"] = "block";
7
- })(exports.FormCheckboxLayout || (exports.FormCheckboxLayout = {}));
8
-
9
- exports.FormCheckboxValidation = void 0;
10
- (function (FormCheckboxValidation) {
11
- FormCheckboxValidation["ERROR"] = "error";
12
- FormCheckboxValidation["WARNING"] = "warning";
13
- })(exports.FormCheckboxValidation || (exports.FormCheckboxValidation = {}));
14
-
15
- exports.FormCheckboxVariation = void 0;
16
- (function (FormCheckboxVariation) {
17
- FormCheckboxVariation["PRIMARY"] = "primary";
18
- FormCheckboxVariation["SECONDARY"] = "secondary";
19
- })(exports.FormCheckboxVariation || (exports.FormCheckboxVariation = {}));
@@ -1,24 +0,0 @@
1
- 'use strict';
2
-
3
- exports.FormFileUploadHeadingLevel = void 0;
4
- (function (FormFileUploadHeadingLevel) {
5
- FormFileUploadHeadingLevel["H1"] = "h1";
6
- FormFileUploadHeadingLevel["H2"] = "h2";
7
- FormFileUploadHeadingLevel["H3"] = "h3";
8
- FormFileUploadHeadingLevel["H4"] = "h4";
9
- FormFileUploadHeadingLevel["H5"] = "h5";
10
- FormFileUploadHeadingLevel["H6"] = "h6";
11
- })(exports.FormFileUploadHeadingLevel || (exports.FormFileUploadHeadingLevel = {}));
12
-
13
- exports.FormFileUploadValidation = void 0;
14
- (function (FormFileUploadValidation) {
15
- FormFileUploadValidation["ENABLED"] = "enabled";
16
- FormFileUploadValidation["DISABLED"] = "disabled";
17
- })(exports.FormFileUploadValidation || (exports.FormFileUploadValidation = {}));
18
-
19
- exports.FormFileUploadVariation = void 0;
20
- (function (FormFileUploadVariation) {
21
- FormFileUploadVariation["SMALL"] = "small";
22
- FormFileUploadVariation["MEDIUM"] = "medium";
23
- FormFileUploadVariation["LARGE"] = "large";
24
- })(exports.FormFileUploadVariation || (exports.FormFileUploadVariation = {}));
@@ -1,15 +0,0 @@
1
- 'use strict';
2
-
3
- exports.ButtonType = void 0;
4
- (function (ButtonType) {
5
- ButtonType["BUTTON"] = "button";
6
- ButtonType["SUBMIT"] = "submit";
7
- ButtonType["RESET"] = "reset";
8
- })(exports.ButtonType || (exports.ButtonType = {}));
9
-
10
- exports.FormInputSearchVariation = void 0;
11
- (function (FormInputSearchVariation) {
12
- FormInputSearchVariation["SMALL"] = "small";
13
- FormInputSearchVariation["MEDIUM"] = "medium";
14
- FormInputSearchVariation["LARGE"] = "large";
15
- })(exports.FormInputSearchVariation || (exports.FormInputSearchVariation = {}));
@@ -1,29 +0,0 @@
1
- 'use strict';
2
-
3
- exports.FormInputMode = void 0;
4
- (function (FormInputMode) {
5
- FormInputMode["DEFAULT"] = "";
6
- FormInputMode["NONE"] = "none";
7
- FormInputMode["TEXT"] = "text";
8
- FormInputMode["DECIMAL"] = "decimal";
9
- FormInputMode["NUMERIC"] = "numeric";
10
- FormInputMode["TEL"] = "tel";
11
- FormInputMode["SEARCH"] = "search";
12
- FormInputMode["EMAIL"] = "email";
13
- FormInputMode["URL"] = "url";
14
- })(exports.FormInputMode || (exports.FormInputMode = {}));
15
-
16
- exports.FormInputValidation = void 0;
17
- (function (FormInputValidation) {
18
- FormInputValidation["SUCCESS"] = "success";
19
- FormInputValidation["ERROR"] = "error";
20
- FormInputValidation["WARNING"] = "warning";
21
- FormInputValidation["NEUTRAL"] = "neutral";
22
- })(exports.FormInputValidation || (exports.FormInputValidation = {}));
23
-
24
- exports.FormInputVariation = void 0;
25
- (function (FormInputVariation) {
26
- FormInputVariation["SMALL"] = "small";
27
- FormInputVariation["MEDIUM"] = "medium";
28
- FormInputVariation["LARGE"] = "large";
29
- })(exports.FormInputVariation || (exports.FormInputVariation = {}));
@@ -1,16 +0,0 @@
1
- 'use strict';
2
-
3
- exports.FormSelectValidation = void 0;
4
- (function (FormSelectValidation) {
5
- FormSelectValidation["SUCCESS"] = "success";
6
- FormSelectValidation["ERROR"] = "error";
7
- FormSelectValidation["WARNING"] = "warning";
8
- FormSelectValidation["NEUTRAL"] = "neutral";
9
- })(exports.FormSelectValidation || (exports.FormSelectValidation = {}));
10
-
11
- exports.FormSelectVariation = void 0;
12
- (function (FormSelectVariation) {
13
- FormSelectVariation["SMALL"] = "small";
14
- FormSelectVariation["MEDIUM"] = "medium";
15
- FormSelectVariation["LARGE"] = "large";
16
- })(exports.FormSelectVariation || (exports.FormSelectVariation = {}));
@@ -1,8 +0,0 @@
1
- 'use strict';
2
-
3
- exports.FormValidationMessageVariation = void 0;
4
- (function (FormValidationMessageVariation) {
5
- FormValidationMessageVariation["SUCCESS"] = "success";
6
- FormValidationMessageVariation["ERROR"] = "error";
7
- FormValidationMessageVariation["WARNING"] = "warning";
8
- })(exports.FormValidationMessageVariation || (exports.FormValidationMessageVariation = {}));
@@ -1,66 +0,0 @@
1
- 'use strict';
2
-
3
- const index = require('./index-e8333bcc.js');
4
-
5
- /**
6
- * @name isAfter
7
- * @category Common Helpers
8
- * @summary Is the first date after the second one?
9
- *
10
- * @description
11
- * Is the first date after the second one?
12
- *
13
- * ### v2.0.0 breaking changes:
14
- *
15
- * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).
16
- *
17
- * @param {Date|Number} date - the date that should be after the other one to return true
18
- * @param {Date|Number} dateToCompare - the date to compare with
19
- * @returns {Boolean} the first date is after the second date
20
- * @throws {TypeError} 2 arguments required
21
- *
22
- * @example
23
- * // Is 10 July 1989 after 11 February 1987?
24
- * var result = isAfter(new Date(1989, 6, 10), new Date(1987, 1, 11))
25
- * //=> true
26
- */
27
-
28
- function isAfter(dirtyDate, dirtyDateToCompare) {
29
- index.requiredArgs(2, arguments);
30
- var date = index.toDate(dirtyDate);
31
- var dateToCompare = index.toDate(dirtyDateToCompare);
32
- return date.getTime() > dateToCompare.getTime();
33
- }
34
-
35
- /**
36
- * @name isBefore
37
- * @category Common Helpers
38
- * @summary Is the first date before the second one?
39
- *
40
- * @description
41
- * Is the first date before the second one?
42
- *
43
- * ### v2.0.0 breaking changes:
44
- *
45
- * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).
46
- *
47
- * @param {Date|Number} date - the date that should be before the other one to return true
48
- * @param {Date|Number} dateToCompare - the date to compare with
49
- * @returns {Boolean} the first date is before the second date
50
- * @throws {TypeError} 2 arguments required
51
- *
52
- * @example
53
- * // Is 10 July 1989 before 11 February 1987?
54
- * var result = isBefore(new Date(1989, 6, 10), new Date(1987, 1, 11))
55
- * //=> false
56
- */
57
-
58
- function isBefore(dirtyDate, dirtyDateToCompare) {
59
- index.requiredArgs(2, arguments);
60
- var date = index.toDate(dirtyDate);
61
- var dateToCompare = index.toDate(dirtyDateToCompare);
62
- return date.getTime() < dateToCompare.getTime();
63
- }
64
-
65
- exports.isAfter = isAfter;
66
- exports.isBefore = isBefore;
@@ -1,174 +0,0 @@
1
- 'use strict';
2
-
3
- function requiredArgs(required, args) {
4
- if (args.length < required) {
5
- throw new TypeError(required + ' argument' + (required > 1 ? 's' : '') + ' required, but only ' + args.length + ' present');
6
- }
7
- }
8
-
9
- /**
10
- * @name toDate
11
- * @category Common Helpers
12
- * @summary Convert the given argument to an instance of Date.
13
- *
14
- * @description
15
- * Convert the given argument to an instance of Date.
16
- *
17
- * If the argument is an instance of Date, the function returns its clone.
18
- *
19
- * If the argument is a number, it is treated as a timestamp.
20
- *
21
- * If the argument is none of the above, the function returns Invalid Date.
22
- *
23
- * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.
24
- *
25
- * @param {Date|Number} argument - the value to convert
26
- * @returns {Date} the parsed date in the local time zone
27
- * @throws {TypeError} 1 argument required
28
- *
29
- * @example
30
- * // Clone the date:
31
- * const result = toDate(new Date(2014, 1, 11, 11, 30, 30))
32
- * //=> Tue Feb 11 2014 11:30:30
33
- *
34
- * @example
35
- * // Convert the timestamp to date:
36
- * const result = toDate(1392098430000)
37
- * //=> Tue Feb 11 2014 11:30:30
38
- */
39
-
40
- function toDate(argument) {
41
- requiredArgs(1, arguments);
42
- var argStr = Object.prototype.toString.call(argument); // Clone the date
43
-
44
- if (argument instanceof Date || typeof argument === 'object' && argStr === '[object Date]') {
45
- // Prevent the date to lose the milliseconds when passed to new Date() in IE10
46
- return new Date(argument.getTime());
47
- } else if (typeof argument === 'number' || argStr === '[object Number]') {
48
- return new Date(argument);
49
- } else {
50
- if ((typeof argument === 'string' || argStr === '[object String]') && typeof console !== 'undefined') {
51
- // eslint-disable-next-line no-console
52
- console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"); // eslint-disable-next-line no-console
53
-
54
- console.warn(new Error().stack);
55
- }
56
-
57
- return new Date(NaN);
58
- }
59
- }
60
-
61
- /**
62
- * @name isDate
63
- * @category Common Helpers
64
- * @summary Is the given value a date?
65
- *
66
- * @description
67
- * Returns true if the given value is an instance of Date. The function works for dates transferred across iframes.
68
- *
69
- * ### v2.0.0 breaking changes:
70
- *
71
- * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).
72
- *
73
- * @param {*} value - the value to check
74
- * @returns {boolean} true if the given value is a date
75
- * @throws {TypeError} 1 arguments required
76
- *
77
- * @example
78
- * // For a valid date:
79
- * const result = isDate(new Date())
80
- * //=> true
81
- *
82
- * @example
83
- * // For an invalid date:
84
- * const result = isDate(new Date(NaN))
85
- * //=> true
86
- *
87
- * @example
88
- * // For some value:
89
- * const result = isDate('2014-02-31')
90
- * //=> false
91
- *
92
- * @example
93
- * // For an object:
94
- * const result = isDate({})
95
- * //=> false
96
- */
97
-
98
- function isDate(value) {
99
- requiredArgs(1, arguments);
100
- return value instanceof Date || typeof value === 'object' && Object.prototype.toString.call(value) === '[object Date]';
101
- }
102
-
103
- /**
104
- * @name isValid
105
- * @category Common Helpers
106
- * @summary Is the given date valid?
107
- *
108
- * @description
109
- * Returns false if argument is Invalid Date and true otherwise.
110
- * Argument is converted to Date using `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate}
111
- * Invalid Date is a Date, whose time value is NaN.
112
- *
113
- * Time value of Date: http://es5.github.io/#x15.9.1.1
114
- *
115
- * ### v2.0.0 breaking changes:
116
- *
117
- * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).
118
- *
119
- * - Now `isValid` doesn't throw an exception
120
- * if the first argument is not an instance of Date.
121
- * Instead, argument is converted beforehand using `toDate`.
122
- *
123
- * Examples:
124
- *
125
- * | `isValid` argument | Before v2.0.0 | v2.0.0 onward |
126
- * |---------------------------|---------------|---------------|
127
- * | `new Date()` | `true` | `true` |
128
- * | `new Date('2016-01-01')` | `true` | `true` |
129
- * | `new Date('')` | `false` | `false` |
130
- * | `new Date(1488370835081)` | `true` | `true` |
131
- * | `new Date(NaN)` | `false` | `false` |
132
- * | `'2016-01-01'` | `TypeError` | `false` |
133
- * | `''` | `TypeError` | `false` |
134
- * | `1488370835081` | `TypeError` | `true` |
135
- * | `NaN` | `TypeError` | `false` |
136
- *
137
- * We introduce this change to make *date-fns* consistent with ECMAScript behavior
138
- * that try to coerce arguments to the expected type
139
- * (which is also the case with other *date-fns* functions).
140
- *
141
- * @param {*} date - the date to check
142
- * @returns {Boolean} the date is valid
143
- * @throws {TypeError} 1 argument required
144
- *
145
- * @example
146
- * // For the valid date:
147
- * const result = isValid(new Date(2014, 1, 31))
148
- * //=> true
149
- *
150
- * @example
151
- * // For the value, convertable into a date:
152
- * const result = isValid(1393804800000)
153
- * //=> true
154
- *
155
- * @example
156
- * // For the invalid date:
157
- * const result = isValid(new Date(''))
158
- * //=> false
159
- */
160
-
161
- function isValid(dirtyDate) {
162
- requiredArgs(1, arguments);
163
-
164
- if (!isDate(dirtyDate) && typeof dirtyDate !== 'number') {
165
- return false;
166
- }
167
-
168
- var date = toDate(dirtyDate);
169
- return !isNaN(Number(date));
170
- }
171
-
172
- exports.isValid = isValid;
173
- exports.requiredArgs = requiredArgs;
174
- exports.toDate = toDate;
@@ -1,8 +0,0 @@
1
- 'use strict';
2
-
3
- exports.InfoCardMultiType = void 0;
4
- (function (InfoCardMultiType) {
5
- InfoCardMultiType["MEDIA"] = "media";
6
- InfoCardMultiType["RELATED"] = "related";
7
- InfoCardMultiType["ENTRY"] = "entry";
8
- })(exports.InfoCardMultiType || (exports.InfoCardMultiType = {}));
@@ -1,24 +0,0 @@
1
- 'use strict';
2
-
3
- exports.InfoCardBorderPosition = void 0;
4
- (function (InfoCardBorderPosition) {
5
- InfoCardBorderPosition["TOP"] = "top";
6
- InfoCardBorderPosition["LEFT"] = "left";
7
- })(exports.InfoCardBorderPosition || (exports.InfoCardBorderPosition = {}));
8
-
9
- exports.InfoCardSize = void 0;
10
- (function (InfoCardSize) {
11
- InfoCardSize["STANDARD"] = "standard";
12
- })(exports.InfoCardSize || (exports.InfoCardSize = {}));
13
-
14
- exports.InfoCardType = void 0;
15
- (function (InfoCardType) {
16
- InfoCardType["TIP"] = "tip";
17
- InfoCardType["RELATED"] = "related";
18
- })(exports.InfoCardType || (exports.InfoCardType = {}));
19
-
20
- exports.InfoCardVariation = void 0;
21
- (function (InfoCardVariation) {
22
- InfoCardVariation["PRIMARY"] = "primary";
23
- InfoCardVariation["SECONDARY"] = "secondary";
24
- })(exports.InfoCardVariation || (exports.InfoCardVariation = {}));
@@ -1,23 +0,0 @@
1
- 'use strict';
2
-
3
- exports.LayoutColumnsGap = void 0;
4
- (function (LayoutColumnsGap) {
5
- LayoutColumnsGap["DEFAULT"] = "default";
6
- LayoutColumnsGap["GAP_32"] = "32";
7
- })(exports.LayoutColumnsGap || (exports.LayoutColumnsGap = {}));
8
-
9
- exports.LayoutColumnsElement = void 0;
10
- (function (LayoutColumnsElement) {
11
- LayoutColumnsElement["DIV"] = "div";
12
- LayoutColumnsElement["UL"] = "ul";
13
- LayoutColumnsElement["OL"] = "ol";
14
- })(exports.LayoutColumnsElement || (exports.LayoutColumnsElement = {}));
15
-
16
- exports.LayoutColumnsVariation = void 0;
17
- (function (LayoutColumnsVariation) {
18
- LayoutColumnsVariation["FOUR"] = "four";
19
- LayoutColumnsVariation["THREE"] = "three";
20
- LayoutColumnsVariation["TWO"] = "two";
21
- LayoutColumnsVariation["ONE"] = "one";
22
- LayoutColumnsVariation["NONE"] = "none";
23
- })(exports.LayoutColumnsVariation || (exports.LayoutColumnsVariation = {}));
@@ -1,9 +0,0 @@
1
- 'use strict';
2
-
3
- exports.LinkButtonVariation = void 0;
4
- (function (LinkButtonVariation) {
5
- LinkButtonVariation["PRIMARY"] = "primary";
6
- LinkButtonVariation["SECONDARY"] = "secondary";
7
- LinkButtonVariation["PRIMARY_ALT"] = "primary-alt";
8
- LinkButtonVariation["SECONDARY_ALT"] = "secondary-alt";
9
- })(exports.LinkButtonVariation || (exports.LinkButtonVariation = {}));
@@ -1,13 +0,0 @@
1
- 'use strict';
2
-
3
- exports.NavigationVerticalMenuActiveIndicatorSize = void 0;
4
- (function (NavigationVerticalMenuActiveIndicatorSize) {
5
- NavigationVerticalMenuActiveIndicatorSize["PRIMARY"] = "primary";
6
- NavigationVerticalMenuActiveIndicatorSize["SECONDARY"] = "secondary";
7
- })(exports.NavigationVerticalMenuActiveIndicatorSize || (exports.NavigationVerticalMenuActiveIndicatorSize = {}));
8
-
9
- exports.NavigationVerticalMenuVariation = void 0;
10
- (function (NavigationVerticalMenuVariation) {
11
- NavigationVerticalMenuVariation["PRIMARY"] = "primary";
12
- NavigationVerticalMenuVariation["SECONDARY"] = "secondary";
13
- })(exports.NavigationVerticalMenuVariation || (exports.NavigationVerticalMenuVariation = {}));
@@ -1,13 +0,0 @@
1
- 'use strict';
2
-
3
- exports.ProgressIndicatorRole = void 0;
4
- (function (ProgressIndicatorRole) {
5
- ProgressIndicatorRole["NONE"] = "";
6
- ProgressIndicatorRole["STATUS"] = "status";
7
- })(exports.ProgressIndicatorRole || (exports.ProgressIndicatorRole = {}));
8
-
9
- exports.ProgressIndicatorVariation = void 0;
10
- (function (ProgressIndicatorVariation) {
11
- ProgressIndicatorVariation["PRIMARY"] = "primary";
12
- ProgressIndicatorVariation["SECONDARY"] = "secondary";
13
- })(exports.ProgressIndicatorVariation || (exports.ProgressIndicatorVariation = {}));
@@ -1,11 +0,0 @@
1
- 'use strict';
2
-
3
- exports.TagMediaIcon = void 0;
4
- (function (TagMediaIcon) {
5
- TagMediaIcon["NEWS"] = "news";
6
- TagMediaIcon["PLAYLIST"] = "playlist";
7
- TagMediaIcon["PODCAST"] = "podcast";
8
- TagMediaIcon["FILM"] = "film";
9
- TagMediaIcon["WEBTV"] = "webtv";
10
- TagMediaIcon["WEBINAR"] = "webinar";
11
- })(exports.TagMediaIcon || (exports.TagMediaIcon = {}));
@@ -1,7 +0,0 @@
1
- 'use strict';
2
-
3
- exports.ToolsThemeProviderBrandEnum = void 0;
4
- (function (ToolsThemeProviderBrandEnum) {
5
- ToolsThemeProviderBrandEnum["AF25"] = "AF25";
6
- ToolsThemeProviderBrandEnum["AF18"] = "AF18";
7
- })(exports.ToolsThemeProviderBrandEnum || (exports.ToolsThemeProviderBrandEnum = {}));
@@ -1,17 +0,0 @@
1
- 'use strict';
2
-
3
- exports.TypographyHeadingJumboLevel = void 0;
4
- (function (TypographyHeadingJumboLevel) {
5
- TypographyHeadingJumboLevel["H1"] = "h1";
6
- TypographyHeadingJumboLevel["H2"] = "h2";
7
- TypographyHeadingJumboLevel["H3"] = "h3";
8
- TypographyHeadingJumboLevel["H4"] = "h4";
9
- TypographyHeadingJumboLevel["H5"] = "h5";
10
- TypographyHeadingJumboLevel["H6"] = "h6";
11
- })(exports.TypographyHeadingJumboLevel || (exports.TypographyHeadingJumboLevel = {}));
12
-
13
- exports.TypographyHeadingJumboVariation = void 0;
14
- (function (TypographyHeadingJumboVariation) {
15
- TypographyHeadingJumboVariation["PRIMARY"] = "primary";
16
- TypographyHeadingJumboVariation["SECONDARY"] = "secondary";
17
- })(exports.TypographyHeadingJumboVariation || (exports.TypographyHeadingJumboVariation = {}));
@@ -1 +0,0 @@
1
- var n,o,t;!function(n){n.DEFAULT="default",n.GAP_32="32"}(n||(n={})),function(n){n.DIV="div",n.UL="ul",n.OL="ol"}(o||(o={})),function(n){n.FOUR="four",n.THREE="three",n.TWO="two",n.ONE="one",n.NONE="none"}(t||(t={}));export{n as L,o as a,t as b}
@@ -1 +0,0 @@
1
- var e;!function(e){e.MEDIA="media",e.RELATED="related",e.ENTRY="entry"}(e||(e={}));export{e as I}
@@ -1 +0,0 @@
1
- import{r as i,h as t}from"./p-52e3bb32.js";const a=class{constructor(t){i(this,t),this.afHeading=void 0,this.afHeadingLevel=void 0}render(){return t("div",{key:"2d91d2d4e461b4160373e89dd827740e7e9adc45",class:"digi-info-card-multi-container"},this.afHeading&&this.afHeadingLevel&&t(this.afHeadingLevel,{key:"bcaeeebf96f779e3b58dc383f758ee05ffda7d5a",class:"digi-info-card-multi-container__heading"},this.afHeading),t("digi-layout-columns",{key:"dde2c2295c8bbd09a177f8f6dca9f0da2916ca3b","af-variation":"three"},t("slot",{key:"86202b3f63bd71bf6480936777a6c819440fe94d"})))}};a.style=".sc-digi-info-card-multi-container-h .digi-info-card-multi-container__heading.sc-digi-info-card-multi-container{font-size:var(--digi--typography--heading-2--font-size--desktop);font-weight:var(--digi--typography--heading-2--font-weight--desktop);font-family:var(--digi--global--typography--font-family--default);line-height:var(--digi--typography--heading-2--line-height--desktop)}@media (min-width: 61.9375rem){.sc-digi-info-card-multi-container-h .digi-info-card-multi-container__heading.sc-digi-info-card-multi-container{font-size:var(--digi--typography--heading-2--font-size--desktop-large);font-weight:var(--digi--typography--heading-2--font-weight--desktop-large);line-height:var(--digi--typography--heading-2--line-height--desktop-large)}}.sc-digi-info-card-multi-container-h .digi-info-card-multi-container__content.sc-digi-info-card-multi-container{display:grid;grid-gap:10px;grid-template-columns:repeat(auto-fit, minmax(365px, 1fr))}";export{a as digi_info_card_multi_container}