@designsystem-se/af 37.0.1 → 37.0.2-beta.0
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.
- package/components/digi-bar-chart.js +1 -1
- package/components/digi-button.js +1 -1
- package/components/digi-calendar-datepicker.js +4 -4
- package/components/digi-calendar-week-view.js +1 -1
- package/components/digi-calendar.js +1 -1
- package/components/digi-chart-line.js +1 -1
- package/components/digi-code-block.js +1 -1
- package/components/digi-code-example.js +3 -3
- package/components/digi-context-menu.js +1 -1
- package/components/digi-dialog.js +3 -3
- package/components/digi-expandable-faq-item.js +1 -1
- package/components/digi-footer.js +1 -1
- package/components/digi-form-category-filter.js +1 -1
- package/components/digi-form-checkbox.js +1 -1
- package/components/digi-form-error-list.js +3 -3
- package/components/digi-form-file-upload.js +1 -1
- package/components/digi-form-filter.js +2 -2
- package/components/digi-form-input-search.js +1 -1
- package/components/digi-form-receipt.js +1 -1
- package/components/digi-form-select-filter.js +3 -3
- package/components/digi-form-select.js +1 -1
- package/components/digi-header-avatar.js +1 -1
- package/components/digi-header-navigation.js +2 -2
- package/components/digi-header.js +3 -3
- package/components/digi-info-card.js +2 -2
- package/components/digi-link-internal.js +1 -1
- package/components/digi-logo.js +1 -1
- package/components/digi-navigation-pagination.js +2 -2
- package/components/digi-navigation-sidebar-button.js +1 -1
- package/components/digi-navigation-sidebar.js +1 -1
- package/components/digi-navigation-vertical-menu-item.js +1 -1
- package/components/digi-notification-alert.js +1 -1
- package/components/digi-notification-error-page.js +1 -1
- package/components/digi-progress-indicator.js +1 -1
- package/components/digi-quote.js +1 -1
- package/components/digi-tag.js +1 -1
- package/components/digi-title-logo.js +1 -1
- package/components/digi-tools-feedback.js +3 -3
- package/components/digi-tools-theme-provider.js +18 -5
- package/components/index.js +1 -1
- package/components/p-0d568c4b.js +66 -0
- package/components/{p-9466c4e0.js → p-117e7b18.js} +1 -1
- package/components/{p-7ff04204.js → p-29f63312.js} +2 -2
- package/components/p-606ba731.js +165 -0
- package/components/{p-44f143ea.js → p-7d3fb535.js} +2 -2
- package/components/{p-2ac136a0.js → p-a79e144f.js} +1 -1
- package/components/{p-f53eb01a.js → p-d2a95a3e.js} +1 -1
- package/components/p-d7ef9cb1.js +13 -0
- package/components/{p-62a0008b.js → p-e756fda7.js} +2 -2
- package/components/p-f77cb7ae.js +163 -0
- package/custom-elements.json +4 -0
- package/dist/cjs/digi-arbetsformedlingen.cjs.js +1 -1
- package/dist/cjs/digi-button_38.cjs.entry.js +5759 -0
- package/dist/cjs/digi-calendar-week-view.cjs.entry.js +50 -51
- package/dist/cjs/{digi-code-block_3.cjs.entry.js → digi-code-block.cjs.entry.js} +3 -143
- package/dist/cjs/digi-code-example.cjs.entry.js +1 -1
- package/dist/cjs/digi-dialog.cjs.entry.js +4 -15
- package/dist/cjs/digi-footer.cjs.entry.js +3 -14
- package/dist/cjs/digi-form-error-list.cjs.entry.js +3 -14
- package/dist/cjs/digi-form-file-upload.cjs.entry.js +10 -11
- package/dist/cjs/digi-form-input-search.cjs.entry.js +6 -7
- package/dist/cjs/digi-form-receipt.cjs.entry.js +3 -14
- package/dist/cjs/digi-header-avatar.cjs.entry.js +114 -0
- package/dist/cjs/digi-header-navigation-item.cjs.entry.js +27 -0
- package/dist/cjs/digi-header-navigation.cjs.entry.js +218 -0
- package/dist/cjs/digi-header-notification.cjs.entry.js +23 -0
- package/dist/cjs/digi-header.cjs.entry.js +134 -0
- package/dist/cjs/{digi-icon-copy.cjs.entry.js → digi-icon-bars.cjs.entry.js} +7 -7
- package/dist/cjs/digi-icon-bell-filled.cjs.entry.js +30 -0
- package/dist/cjs/digi-icon-x.cjs.entry.js +30 -0
- package/dist/cjs/digi-info-card.cjs.entry.js +1 -1
- package/dist/cjs/digi-link-internal.cjs.entry.js +1 -1
- package/dist/cjs/digi-media-image_2.cjs.entry.js +167 -0
- package/dist/cjs/digi-navigation-pagination.cjs.entry.js +3 -14
- package/dist/cjs/digi-navigation-sidebar-button.cjs.entry.js +30 -0
- package/dist/cjs/digi-notification-alert.cjs.entry.js +3 -14
- package/dist/cjs/digi-notification-error-page.cjs.entry.js +3 -14
- package/dist/cjs/digi-quote.cjs.entry.js +1 -1
- package/dist/cjs/digi-title-logo.cjs.entry.js +121 -0
- package/dist/cjs/digi-tools-feedback.cjs.entry.js +4 -15
- package/dist/cjs/digi-util-breakpoint-observer.cjs.entry.js +48 -0
- package/dist/cjs/{form-input-type.enum-9c8ee12a.js → form-input-type.enum-1fb2180a.js} +14 -0
- package/dist/cjs/{form-file-upload-variation.enum-634cfae8.js → form-validation-message-variation.enum-c5ec3e2d.js} +7 -0
- package/dist/cjs/index-7a477838.js +44 -96
- package/dist/cjs/{index-ac8e01b4.js → index-acb7b350.js} +189 -19
- package/dist/cjs/index.cjs.js +136 -141
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{typography-variation.enum-118ff8e5.js → typography-variation.enum-e41bd69d.js} +138 -0
- package/dist/collection/components/_button/button/button.css +6 -6
- package/dist/collection/components/_calendar/calendar/calendar.css +7 -2
- package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.css +347 -102
- package/dist/collection/components/_code/code-example/code-example.css +6 -0
- package/dist/collection/components/_dialog/dialog/dialog.css +1 -1
- package/dist/collection/components/_expandable/expandable-faq-item/expandable-faq-item.css +2 -2
- package/dist/collection/components/_form/form-checkbox/form-checkbox.css +347 -102
- package/dist/collection/components/_form/form-file-upload/form-file-upload.css +4 -3
- package/dist/collection/components/_form/form-select/form-select.css +2 -2
- package/dist/collection/components/_form/form-select-filter/form-select-filter.css +1 -1
- package/dist/collection/components/_header/header-avatar/header-avatar.css +346 -101
- package/dist/collection/components/_info-card/info-card/info-card.css +2 -2
- package/dist/collection/components/_link/link-internal/link-internal.css +346 -101
- package/dist/collection/components/_navigation/navigation-vertical-menu-item/navigation-vertical-menu-item.css +3 -3
- package/dist/collection/components/_progress/progress-indicator/progress-indicator.css +4 -3
- package/dist/collection/components/_quote/quote/quote.css +2 -2
- package/dist/collection/components/_tools/tools-feedback/tools-feedback.css +1 -1
- package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.css +113 -2
- package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.js +43 -2
- package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.theme.enum.js +5 -0
- package/dist/collection/design-tokens/components/_button.variables.scss +6 -6
- package/dist/collection/design-tokens/components/_calendar-datepicker.variables.scss +1 -1
- package/dist/collection/design-tokens/components/_calendar.variables.scss +3 -2
- package/dist/collection/design-tokens/components/_dialog.variables.scss +1 -1
- package/dist/collection/design-tokens/components/_expandable-faq-item.variables.scss +2 -2
- package/dist/collection/design-tokens/components/_form-checkbox.variables.scss +1 -1
- package/dist/collection/design-tokens/components/_form-file-upload.variables.scss +2 -0
- package/dist/collection/design-tokens/components/_form-select-filter.variables.scss +1 -1
- package/dist/collection/design-tokens/components/_form-select.variables.scss +2 -2
- package/dist/collection/design-tokens/components/_info-card.variables.scss +2 -2
- package/dist/collection/design-tokens/components/_navigation-vertical-menu-item.variables.scss +3 -3
- package/dist/collection/design-tokens/components/_quote.variables.scss +2 -2
- package/dist/collection/design-tokens/components/_tools-feedback.variables.scss +1 -1
- package/dist/collection/enums.js +1 -0
- package/dist/collection/styles/src/_alias.mixin.scss +274 -128
- package/dist/collection/styles/src/themes/_common.mixin.scss +7 -0
- package/dist/collection/styles/src/themes/_theme-af25.mixin.scss +143 -0
- package/dist/collection/styles/src/tokens-documentation/web-AF25.json +1406 -323
- package/dist/digi-arbetsformedlingen/design-tokens/components/_button.variables.scss +6 -6
- package/dist/digi-arbetsformedlingen/design-tokens/components/_calendar-datepicker.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/design-tokens/components/_calendar.variables.scss +3 -2
- package/dist/digi-arbetsformedlingen/design-tokens/components/_dialog.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/design-tokens/components/_expandable-faq-item.variables.scss +2 -2
- package/dist/digi-arbetsformedlingen/design-tokens/components/_form-checkbox.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/design-tokens/components/_form-file-upload.variables.scss +2 -0
- package/dist/digi-arbetsformedlingen/design-tokens/components/_form-select-filter.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/design-tokens/components/_form-select.variables.scss +2 -2
- package/dist/digi-arbetsformedlingen/design-tokens/components/_info-card.variables.scss +2 -2
- package/dist/digi-arbetsformedlingen/design-tokens/components/_navigation-vertical-menu-item.variables.scss +3 -3
- package/dist/digi-arbetsformedlingen/design-tokens/components/_quote.variables.scss +2 -2
- package/dist/digi-arbetsformedlingen/design-tokens/components/_tools-feedback.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.css +1 -1
- package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
- package/dist/digi-arbetsformedlingen/index.esm.js +1 -1
- package/dist/digi-arbetsformedlingen/p-0f543000.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-13120f18.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-180663ef.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1a619dd3.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-237cad1c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-26e8ea70.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3887bb40.js +1 -0
- package/dist/digi-arbetsformedlingen/p-52a3c86a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-54d9bd3e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-5ca38506.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-64b65586.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-67e32cc2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-73a6be41.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-76ec3619.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-780519ec.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-800b764b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-82225661.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-84719680.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-920aee36.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9b6e8cf8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9e56568b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a105d9fe.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ac87daf1.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-b328f60b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c64b4626.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d9bcab5f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e2c92528.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e540b80f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e5fee242.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e7ee9bea.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f601908d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-fa44ce49.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-fe409f14.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/styles/src/_alias.mixin.scss +274 -128
- package/dist/digi-arbetsformedlingen/styles/src/themes/_common.mixin.scss +7 -0
- package/dist/digi-arbetsformedlingen/styles/src/themes/_theme-af25.mixin.scss +143 -0
- package/dist/digi-arbetsformedlingen/styles/src/tokens-documentation/web-AF25.json +1406 -323
- package/dist/esm/digi-arbetsformedlingen.js +1 -1
- package/dist/esm/digi-button_38.entry.js +5718 -0
- package/dist/esm/digi-calendar-week-view.entry.js +1 -2
- package/dist/esm/digi-code-block.entry.js +85 -0
- package/dist/esm/digi-code-example.entry.js +1 -1
- package/dist/esm/digi-dialog.entry.js +4 -15
- package/dist/esm/digi-footer.entry.js +3 -14
- package/dist/esm/digi-form-error-list.entry.js +3 -14
- package/dist/esm/digi-form-file-upload.entry.js +2 -3
- package/dist/esm/digi-form-input-search.entry.js +1 -2
- package/dist/esm/digi-form-receipt.entry.js +3 -14
- package/dist/esm/digi-header-avatar.entry.js +110 -0
- package/dist/esm/digi-header-navigation-item.entry.js +23 -0
- package/dist/esm/digi-header-navigation.entry.js +214 -0
- package/dist/esm/digi-header-notification.entry.js +19 -0
- package/dist/esm/digi-header.entry.js +130 -0
- package/dist/esm/digi-icon-bars.entry.js +26 -0
- package/dist/esm/digi-icon-bell-filled.entry.js +26 -0
- package/dist/esm/digi-icon-x.entry.js +26 -0
- package/dist/esm/digi-info-card.entry.js +1 -1
- package/dist/esm/digi-link-internal.entry.js +1 -1
- package/dist/esm/digi-media-image_2.entry.js +162 -0
- package/dist/esm/digi-navigation-pagination.entry.js +3 -14
- package/dist/esm/digi-navigation-sidebar-button.entry.js +26 -0
- package/dist/esm/digi-notification-alert.entry.js +3 -14
- package/dist/esm/digi-notification-error-page.entry.js +3 -14
- package/dist/esm/digi-quote.entry.js +1 -1
- package/dist/esm/digi-title-logo.entry.js +117 -0
- package/dist/esm/digi-tools-feedback.entry.js +4 -15
- package/dist/esm/digi-util-breakpoint-observer.entry.js +44 -0
- package/dist/esm/{form-input-type.enum-3da3db27.js → form-input-type.enum-a6bba983.js} +15 -1
- package/dist/esm/{form-file-upload-variation.enum-9c49ec5e.js → form-validation-message-variation.enum-f7835fc5.js} +8 -1
- package/dist/esm/index-148a7577.js +44 -96
- package/dist/esm/{index-2fce392f.js → index-dc6b83f7.js} +170 -3
- package/dist/esm/index.js +3 -14
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{typography-variation.enum-23eeecd2.js → typography-variation.enum-b07f76c9.js} +139 -1
- package/dist/types/components/_tools/tools-theme-provider/tools-theme-provider.d.ts +9 -0
- package/dist/types/components/_tools/tools-theme-provider/tools-theme-provider.theme.enum.d.ts +4 -0
- package/dist/types/components.d.ts +12 -0
- package/dist/types/enums.d.ts +1 -0
- package/hydrate/index.js +40 -21
- package/hydrate/index.mjs +40 -21
- package/package.json +1 -1
- package/components/p-4bad4fb0.js +0 -7
- package/components/p-b57677c1.js +0 -66
- package/components/p-e8fc33ed.js +0 -165
- package/components/p-ff4f4fb8.js +0 -163
- package/dist/cjs/digi-button_17.cjs.entry.js +0 -1120
- package/dist/cjs/digi-calendar-datepicker.cjs.entry.js +0 -2600
- package/dist/cjs/digi-calendar_2.cjs.entry.js +0 -464
- package/dist/cjs/digi-expandable-faq-item.cjs.entry.js +0 -97
- package/dist/cjs/digi-form-category-filter.cjs.entry.js +0 -121
- package/dist/cjs/digi-form-checkbox.cjs.entry.js +0 -127
- package/dist/cjs/digi-form-input.cjs.entry.js +0 -194
- package/dist/cjs/digi-form-label_3.cjs.entry.js +0 -129
- package/dist/cjs/digi-form-radiogroup.cjs.entry.js +0 -80
- package/dist/cjs/digi-form-select-filter.cjs.entry.js +0 -565
- package/dist/cjs/digi-form-select_2.cjs.entry.js +0 -186
- package/dist/cjs/digi-icon-check.cjs.entry.js +0 -30
- package/dist/cjs/digi-icon-chevron-down.cjs.entry.js +0 -30
- package/dist/cjs/digi-icon-chevron-left_2.cjs.entry.js +0 -53
- package/dist/cjs/digi-icon-minus_2.cjs.entry.js +0 -53
- package/dist/cjs/digi-icon-validation-error_2.cjs.entry.js +0 -53
- package/dist/cjs/digi-link.cjs.entry.js +0 -75
- package/dist/cjs/digi-navigation-vertical-menu-item.cjs.entry.js +0 -150
- package/dist/cjs/digi-navigation-vertical-menu.cjs.entry.js +0 -177
- package/dist/cjs/digi-progress-indicator.cjs.entry.js +0 -137
- package/dist/cjs/digi-tools-theme-provider.cjs.entry.js +0 -28
- package/dist/cjs/digi-typography-heading-jumbo.cjs.entry.js +0 -38
- package/dist/cjs/digi-typography-preamble.cjs.entry.js +0 -20
- package/dist/cjs/digi-typography.cjs.entry.js +0 -26
- package/dist/cjs/digi-util-mutation-observer.cjs.entry.js +0 -64
- package/dist/cjs/expandable-faq-item-variation.enum-89427195.js +0 -18
- package/dist/cjs/form-checkbox-variation.enum-d2ca879e.js +0 -19
- package/dist/cjs/form-input-search-variation.enum-e0e025b1.js +0 -15
- package/dist/cjs/form-input-variation.enum-c750520c.js +0 -29
- package/dist/cjs/form-radiogroup-validation.enum-03a17d4d.js +0 -9
- package/dist/cjs/form-select-variation.enum-528c1bf0.js +0 -16
- package/dist/cjs/form-validation-message-variation.enum-855ae0be.js +0 -8
- package/dist/cjs/index-cad91a90.js +0 -66
- package/dist/cjs/index-e8333bcc.js +0 -174
- package/dist/cjs/navigation-vertical-menu-variation.enum-c237edd3.js +0 -13
- package/dist/cjs/progress-indicator-variation.enum-7cf8e0e4.js +0 -13
- package/dist/cjs/tools-theme-provider.brand.enum-bc855272.js +0 -7
- package/dist/cjs/typography-heading-jumbo-variation.enum-8677e099.js +0 -17
- package/dist/digi-arbetsformedlingen/p-029c4d40.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-07985aef.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0c77050e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1f3345e9.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1f956af8.js +0 -1
- package/dist/digi-arbetsformedlingen/p-24fe2189.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2693c1d8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2c698144.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-33349e7e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3a76bfde.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3b20ec86.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3d7fff3c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-41bc039f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4841b4e1.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4bad4fb0.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4e36c467.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-51149879.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-51bfa2a9.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-57319a80.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-57a0cc63.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-583d40dc.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5d3383f9.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-681e7beb.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6bd60ab6.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6d864e79.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7238fdb8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7327f45d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-750ff498.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-78c99e87.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7933b555.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7aacd45f.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7e125c6e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8142cc73.js +0 -1
- package/dist/digi-arbetsformedlingen/p-88b4d03a.js +0 -1
- package/dist/digi-arbetsformedlingen/p-905ccb30.js +0 -1
- package/dist/digi-arbetsformedlingen/p-93766b5e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-96987381.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9a6ea3b7.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9b7f0707.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9be9a291.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9dd5d6c8.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a2561b9e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a34dfc04.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-bd55807c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c29ab968.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c461917d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c68bf2b3.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c7949525.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ccd617cc.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d055d564.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d1886fff.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d5376b7c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d7aa8315.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e9abb2b1.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-edcb61eb.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-eeca26b2.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f40f4b2a.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f447b984.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f94db846.entry.js +0 -1
- package/dist/esm/digi-button_17.entry.js +0 -1100
- package/dist/esm/digi-calendar-datepicker.entry.js +0 -2596
- package/dist/esm/digi-calendar_2.entry.js +0 -459
- package/dist/esm/digi-code-block_3.entry.js +0 -223
- package/dist/esm/digi-expandable-faq-item.entry.js +0 -93
- package/dist/esm/digi-form-category-filter.entry.js +0 -117
- package/dist/esm/digi-form-checkbox.entry.js +0 -123
- package/dist/esm/digi-form-input.entry.js +0 -190
- package/dist/esm/digi-form-label_3.entry.js +0 -123
- package/dist/esm/digi-form-radiogroup.entry.js +0 -76
- package/dist/esm/digi-form-select-filter.entry.js +0 -561
- package/dist/esm/digi-form-select_2.entry.js +0 -181
- package/dist/esm/digi-icon-check.entry.js +0 -26
- package/dist/esm/digi-icon-chevron-down.entry.js +0 -26
- package/dist/esm/digi-icon-chevron-left_2.entry.js +0 -48
- package/dist/esm/digi-icon-copy.entry.js +0 -26
- package/dist/esm/digi-icon-minus_2.entry.js +0 -48
- package/dist/esm/digi-icon-validation-error_2.entry.js +0 -48
- package/dist/esm/digi-link.entry.js +0 -71
- package/dist/esm/digi-navigation-vertical-menu-item.entry.js +0 -146
- package/dist/esm/digi-navigation-vertical-menu.entry.js +0 -173
- package/dist/esm/digi-progress-indicator.entry.js +0 -133
- package/dist/esm/digi-tools-theme-provider.entry.js +0 -24
- package/dist/esm/digi-typography-heading-jumbo.entry.js +0 -34
- package/dist/esm/digi-typography-preamble.entry.js +0 -16
- package/dist/esm/digi-typography.entry.js +0 -22
- package/dist/esm/digi-util-mutation-observer.entry.js +0 -60
- package/dist/esm/expandable-faq-item-variation.enum-a8cb225b.js +0 -18
- package/dist/esm/form-checkbox-variation.enum-83e906fc.js +0 -19
- package/dist/esm/form-input-search-variation.enum-6d8dc10a.js +0 -15
- package/dist/esm/form-input-variation.enum-64d9450f.js +0 -29
- package/dist/esm/form-radiogroup-validation.enum-d790fc66.js +0 -9
- package/dist/esm/form-select-variation.enum-f2f6098d.js +0 -16
- package/dist/esm/form-validation-message-variation.enum-bcef8a9d.js +0 -8
- package/dist/esm/index-5b6c95c6.js +0 -63
- package/dist/esm/index-8685f88d.js +0 -170
- package/dist/esm/navigation-vertical-menu-variation.enum-c30b0ea9.js +0 -13
- package/dist/esm/progress-indicator-variation.enum-b12ba50a.js +0 -13
- package/dist/esm/tools-theme-provider.brand.enum-8c5a98c9.js +0 -7
- package/dist/esm/typography-heading-jumbo-variation.enum-eb737f1b.js +0 -17
|
@@ -1,129 +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
|
-
const logger_util = require('./logger.util-fdafc086.js');
|
|
8
|
-
const text = require('./text-65b1b58c.js');
|
|
9
|
-
const formValidationMessageVariation_enum = require('./form-validation-message-variation.enum-855ae0be.js');
|
|
10
|
-
|
|
11
|
-
const formLabelCss = ".sc-digi-form-label-h .digi-form-label.sc-digi-form-label{font-family:var(--digi--global--typography--font-family--default);font-size:var(--digi--typography--label--font-size--desktop);color:var(--digi--color--text--primary);display:flex;flex-direction:column}.sc-digi-form-label-h .digi-form-label__label--label.sc-digi-form-label{font-weight:var(--digi--typography--label--font-weight--desktop)}.sc-digi-form-label-h .digi-form-label__label--label.sc-digi-form-label,.sc-digi-form-label-h .digi-form-label__label--description.sc-digi-form-label{line-height:var(--digi--typography--label--line-height--desktop);cursor:pointer;display:block}.sc-digi-form-label-h .digi-form-label__label-group.sc-digi-form-label{display:inline-flex;align-items:center;gap:var(--digi--gutter--icon)}.sc-digi-form-label-h .digi-form-label__description.sc-digi-form-label{max-width:var(--digi--paragraph-width--medium);line-height:var(--digi--typography--label-description--line-height--desktop);font-size:var(--digi--typography--label-description--font-size--desktop)}";
|
|
12
|
-
const DigiFormLabelStyle0 = formLabelCss;
|
|
13
|
-
|
|
14
|
-
const FormLabel = class {
|
|
15
|
-
constructor(hostRef) {
|
|
16
|
-
index.registerInstance(this, hostRef);
|
|
17
|
-
this.labelText = undefined;
|
|
18
|
-
this.hasActionSlot = undefined;
|
|
19
|
-
this.afLabel = undefined;
|
|
20
|
-
this.afId = randomIdGenerator_util.randomIdGenerator('digi-form-label');
|
|
21
|
-
this.afFor = undefined;
|
|
22
|
-
this.afDescription = undefined;
|
|
23
|
-
this.afRequired = undefined;
|
|
24
|
-
this.afAnnounceIfOptional = false;
|
|
25
|
-
this.afRequiredText = text._t.required.toLowerCase();
|
|
26
|
-
this.afAnnounceIfOptionalText = text._t.optional.toLowerCase();
|
|
27
|
-
}
|
|
28
|
-
componentWillLoad() {
|
|
29
|
-
this.setLabelText();
|
|
30
|
-
this.validateFor();
|
|
31
|
-
this.handleSlotVisibility();
|
|
32
|
-
}
|
|
33
|
-
validateFor() {
|
|
34
|
-
if (this.afFor == null) {
|
|
35
|
-
logger_util.logger.warn(`digi-form-label must have a for attribute. Please add a for attribute using af-for`, this.hostElement);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
setLabelText() {
|
|
39
|
-
this.labelText = `${this.afLabel} ${this.requiredText}`;
|
|
40
|
-
if (!this.afLabel) {
|
|
41
|
-
logger_util.logger.warn(`digi-form-label must have a label. Please add a label using af-label`, this.hostElement);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
handleSlotVisibility() {
|
|
45
|
-
this.hasActionSlot = !!this.hostElement.querySelector('[slot="actions"]');
|
|
46
|
-
}
|
|
47
|
-
get requiredText() {
|
|
48
|
-
if (this.afRequired && !this.afAnnounceIfOptional) {
|
|
49
|
-
return this.afRequiredText ? ` (${this.afRequiredText})` : '';
|
|
50
|
-
}
|
|
51
|
-
else if (!this.afRequired && this.afAnnounceIfOptional) {
|
|
52
|
-
return this.afAnnounceIfOptionalText
|
|
53
|
-
? ` (${this.afAnnounceIfOptionalText})`
|
|
54
|
-
: '';
|
|
55
|
-
}
|
|
56
|
-
else {
|
|
57
|
-
return '';
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
render() {
|
|
61
|
-
return (index.h("div", { key: '24ae333ab5edc928ce4d26e6e4da0f642617792a', class: "digi-form-label" }, index.h("div", { key: 'b1a5073a7c9883b13a86f741b865c3b368c1d02b', class: "digi-form-label__label-group" }, this.afFor && this.afLabel && (index.h("label", { key: '4dd98d11699d82e0e6b5f1127ca0e97382dc45d1', class: "digi-form-label__label", htmlFor: this.afFor, id: this.afId }, index.h("span", { key: 'a8c1b2cf89d24625e3c13a93bac5fd144d95a3cb', class: "digi-form-label__label--label" }, this.labelText), this.afDescription && (index.h("span", { key: '4a82c714e6b4f3189772d44bd5748c830252a8d5', class: "digi-form-label__label--description" }, this.afDescription)))), this.hasActionSlot && (index.h("div", { key: 'd07f90e8e0a8ba9061686bf7cc331480091fbb33', class: "digi-form-label__actions" }, index.h("slot", { key: '7c5f1750217d9666a6543044e6dbb29ee4839940', name: "actions" }))))));
|
|
62
|
-
}
|
|
63
|
-
get hostElement() { return index.getElement(this); }
|
|
64
|
-
static get watchers() { return {
|
|
65
|
-
"afFor": ["validateFor"],
|
|
66
|
-
"afLabel": ["setLabelText"],
|
|
67
|
-
"afRequired": ["setLabelText"],
|
|
68
|
-
"afAnnounceIfOptional": ["setLabelText"]
|
|
69
|
-
}; }
|
|
70
|
-
};
|
|
71
|
-
FormLabel.style = DigiFormLabelStyle0;
|
|
72
|
-
|
|
73
|
-
const formValidationMessageCss = ".sc-digi-form-validation-message-h{--digi--form-validation-message--icon-color--success:var(--digi--color--icon--validation--success);--digi--form-validation-message--icon-color--warning:var(--digi--color--icon--validation--warning);--digi--form-validation-message--icon-color--error:var(--digi--color--icon--validation--error)}.sc-digi-form-validation-message-h .digi-form-validation-message.sc-digi-form-validation-message{display:flex;flex-wrap:wrap;align-items:center}.sc-digi-form-validation-message-h .digi-form-validation-message--success.sc-digi-form-validation-message{--ICON-COLOR:var(--digi--form-validation-message--icon-color--success)}.sc-digi-form-validation-message-h .digi-form-validation-message--warning.sc-digi-form-validation-message{--ICON-COLOR:var(--digi--form-validation-message--icon-color--warning)}.sc-digi-form-validation-message-h .digi-form-validation-message--error.sc-digi-form-validation-message{--ICON-COLOR:var(--digi--form-validation-message--icon-color--error)}.sc-digi-form-validation-message-h .digi-form-validation-message__icon.sc-digi-form-validation-message{color:var(--ICON-COLOR);margin-inline-end:var(--digi--gutter--icon)}.sc-digi-form-validation-message-h .digi-form-validation-message__icon.sc-digi-form-validation-message>*.sc-digi-form-validation-message{--digi--icon--width:1.25em;--digi--icon--height:1.25em;--digi--icon--color:var(--ICON-COLOR);display:flex}.sc-digi-form-validation-message-h .digi-form-validation-message__icon.sc-digi-form-validation-message .warning.sc-digi-form-validation-message{top:3px;position:relative}.sc-digi-form-validation-message-h .digi-form-validation-message__text.sc-digi-form-validation-message{flex:1;font-family:var(--digi--global--typography--font-family--default);font-size:var(--digi--typography--tag--font-size--desktop);color:var(--digi--color--text--primary)}";
|
|
74
|
-
const DigiFormValidationMessageStyle0 = formValidationMessageCss;
|
|
75
|
-
|
|
76
|
-
const FormValidationMessage = class {
|
|
77
|
-
constructor(hostRef) {
|
|
78
|
-
index.registerInstance(this, hostRef);
|
|
79
|
-
this.afVariation = formValidationMessageVariation_enum.FormValidationMessageVariation.SUCCESS;
|
|
80
|
-
}
|
|
81
|
-
get cssModifiers() {
|
|
82
|
-
return {
|
|
83
|
-
'digi-form-validation-message--success': this.afVariation === formValidationMessageVariation_enum.FormValidationMessageVariation.SUCCESS,
|
|
84
|
-
'digi-form-validation-message--error': this.afVariation === formValidationMessageVariation_enum.FormValidationMessageVariation.ERROR,
|
|
85
|
-
'digi-form-validation-message--warning': this.afVariation === formValidationMessageVariation_enum.FormValidationMessageVariation.WARNING
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
get icon() {
|
|
89
|
-
switch (this.afVariation) {
|
|
90
|
-
case formValidationMessageVariation_enum.FormValidationMessageVariation.SUCCESS:
|
|
91
|
-
return index.h("digi-icon-validation-success", null);
|
|
92
|
-
case formValidationMessageVariation_enum.FormValidationMessageVariation.ERROR:
|
|
93
|
-
return index.h("digi-icon-validation-error", null);
|
|
94
|
-
case formValidationMessageVariation_enum.FormValidationMessageVariation.WARNING:
|
|
95
|
-
return index.h("digi-icon-validation-warning", { class: "warning" });
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
render() {
|
|
99
|
-
return (index.h("div", { key: 'b15c3cca06f4e015c7006bae470876b246b6ce06', class: Object.assign({ 'digi-form-validation-message': true }, this.cssModifiers) }, index.h("div", { key: '1e9378eb8b193c35e24e700ef865fb44ae4fb28b', class: "digi-form-validation-message__icon", "aria-hidden": "true" }, this.icon), index.h("span", { key: '6e72b4f07b641d63603914a33720d6b09a5bd44f', class: "digi-form-validation-message__text" }, index.h("slot", { key: '74cfa597bf12b19fb2dbef039eac148358ff2635' }))));
|
|
100
|
-
}
|
|
101
|
-
get hostElement() { return index.getElement(this); }
|
|
102
|
-
};
|
|
103
|
-
FormValidationMessage.style = DigiFormValidationMessageStyle0;
|
|
104
|
-
|
|
105
|
-
const iconValidationSuccessCss = ".sc-digi-icon-validation-success-h{--digi--icon--color:var(--digi--color--icon--primary);--digi--icon--width:initial;--digi--icon--height:auto;display:flex;min-height:1.4em;align-items:center}.sc-digi-icon-validation-success-h svg.sc-digi-icon-validation-success{color:var(--digi--icon--color);max-width:var(--digi--icon--width);max-height:var(--digi--icon--height);width:var(--digi--icon--width, auto);height:var(--digi--icon--height, auto)}";
|
|
106
|
-
const DigiIconValidationSuccessStyle0 = iconValidationSuccessCss;
|
|
107
|
-
|
|
108
|
-
const IconCheckCircle = class {
|
|
109
|
-
constructor(hostRef) {
|
|
110
|
-
index.registerInstance(this, hostRef);
|
|
111
|
-
this.afTitle = undefined;
|
|
112
|
-
this.afDesc = undefined;
|
|
113
|
-
this.afSvgAriaHidden = true;
|
|
114
|
-
this.afSvgAriaLabelledby = undefined;
|
|
115
|
-
this.titleId = randomIdGenerator_util.randomIdGenerator('icontitle');
|
|
116
|
-
}
|
|
117
|
-
render() {
|
|
118
|
-
return (index.h("svg", { key: '8e17bc8da17af20998fb67b64fc24b40461b176c', class: "digi-icon-validation-success", width: "25", height: "25", viewBox: "0 0 25 25", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
|
|
119
|
-
? this.afSvgAriaLabelledby
|
|
120
|
-
: this.afTitle
|
|
121
|
-
? this.titleId
|
|
122
|
-
: undefined, xmlns: "http://www.w3.org/2000/svg" }, this.afTitle && index.h("title", { key: '6f56caf229cfb9e2d8f6f54eaeaa4f86c9881eaf', id: this.titleId }, this.afTitle), this.afDesc && index.h("desc", { key: 'f7fa4c25a72c4ef312a8f6daedf31ce199979bc2' }, this.afDesc), index.h("path", { key: 'f90d6e4c93085c88e81ef6935289f437a6a26aa6', class: "digi-icon-validation-success__shape", d: "M25 12.5C25 19.404 19.404 25 12.5 25S0 19.404 0 12.5 5.596 0 12.5 0 25 5.596 25 12.5zm-13.946 6.619l9.274-9.275a.806.806 0 000-1.14l-1.14-1.14a.806.806 0 00-1.14 0l-7.564 7.563-3.531-3.531a.807.807 0 00-1.14 0l-1.141 1.14a.806.806 0 000 1.14l5.242 5.243a.806.806 0 001.14 0z", fill: "currentColor", "fill-rule": "nonzero" })));
|
|
123
|
-
}
|
|
124
|
-
};
|
|
125
|
-
IconCheckCircle.style = DigiIconValidationSuccessStyle0;
|
|
126
|
-
|
|
127
|
-
exports.digi_form_label = FormLabel;
|
|
128
|
-
exports.digi_form_validation_message = FormValidationMessage;
|
|
129
|
-
exports.digi_icon_validation_success = IconCheckCircle;
|
|
@@ -1,80 +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
|
-
const formRadiogroupValidation_enum = require('./form-radiogroup-validation.enum-03a17d4d.js');
|
|
8
|
-
|
|
9
|
-
const formRadiogroupCss = "";
|
|
10
|
-
const DigiFormRadiogroupStyle0 = formRadiogroupCss;
|
|
11
|
-
|
|
12
|
-
const FormRadiogroup = class {
|
|
13
|
-
constructor(hostRef) {
|
|
14
|
-
index.registerInstance(this, hostRef);
|
|
15
|
-
this.afOnGroupChange = index.createEvent(this, "afOnGroupChange", 7);
|
|
16
|
-
this.radiobuttons = undefined;
|
|
17
|
-
this.afId = randomIdGenerator_util.randomIdGenerator('digi-form-radiogroup');
|
|
18
|
-
this.afValue = undefined;
|
|
19
|
-
this.value = undefined;
|
|
20
|
-
this.afName = randomIdGenerator_util.randomIdGenerator('digi-form-radiogroup');
|
|
21
|
-
this.afValidation = formRadiogroupValidation_enum.FormRadiogroupValidation.NEUTRAL;
|
|
22
|
-
this.afValidationText = undefined;
|
|
23
|
-
this.afErrorMessageIsAlert = true;
|
|
24
|
-
}
|
|
25
|
-
OnAfValueChange(value) {
|
|
26
|
-
this.value = value;
|
|
27
|
-
}
|
|
28
|
-
OnValueChange(value) {
|
|
29
|
-
this.afValue = value;
|
|
30
|
-
this.setRadiobuttons(value);
|
|
31
|
-
}
|
|
32
|
-
get errorMessageIsAlert() {
|
|
33
|
-
return (this.afErrorMessageIsAlert !== false &&
|
|
34
|
-
this.afErrorMessageIsAlert !== 'false');
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Lyssnar på om fokus sätts på custom-elementet och propagerar ner det till den första radioknappen i gruppen
|
|
38
|
-
* @en Listens for when focus is set on the custom element and propagates it down to the first radionutton in the group.
|
|
39
|
-
*/
|
|
40
|
-
focusOnGroup() {
|
|
41
|
-
const radioButtons = this.radiobuttons;
|
|
42
|
-
if (radioButtons.length > 0) {
|
|
43
|
-
radioButtons[0].focus();
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
radiobuttonChangeListener(e) {
|
|
47
|
-
if (Array.from(this.radiobuttons).includes(e.target)) {
|
|
48
|
-
e.preventDefault();
|
|
49
|
-
this.afValue = e.detail.target.value;
|
|
50
|
-
this.afOnGroupChange.emit(e.detail.target.value);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
componentDidLoad() {
|
|
54
|
-
this.setRadiobuttons(this.value || this.afValue);
|
|
55
|
-
if (this.value)
|
|
56
|
-
this.afValue = this.value;
|
|
57
|
-
}
|
|
58
|
-
setRadiobuttons(value) {
|
|
59
|
-
this.radiobuttons = this.hostElement.querySelectorAll('digi-form-radiobutton');
|
|
60
|
-
this.radiobuttons.forEach((r) => {
|
|
61
|
-
r.afName = this.afName;
|
|
62
|
-
if (value && r.afValue == value) {
|
|
63
|
-
r.setAttribute('af-checked', 'true');
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
}
|
|
67
|
-
render() {
|
|
68
|
-
return (index.h(index.Host, { key: '0b03e0ccdc03d2f06466f9a2527f68b937637e6f', tabindex: -1 }, index.h("div", { key: '02b0862fc0645ba6c5b12480279078d0b796f5ef', id: this.afId, class: {
|
|
69
|
-
'digi-form-radiogroup': true
|
|
70
|
-
} }, index.h("digi-util-mutation-observer", { key: 'ed9e1a034e5d5221c4c004e12db780077277876e', onAfOnChange: (e) => this.radiobuttonChangeListener(e) }, index.h("slot", { key: '5572449dc6ad235472c92e8524d26688d56e1b10' }))), index.h("div", { key: 'b0696ddf7c218434fded2380f41bca17e407a797', class: "digi-form-input__validation", "aria-atomic": "true", role: this.errorMessageIsAlert ? 'alert' : null, id: `${this.afId}--validation-text` }, this.afValidation != formRadiogroupValidation_enum.FormRadiogroupValidation.NEUTRAL && (index.h("digi-form-validation-message", { key: '63cde6f36e3064bd421c7d162e72ab414f5584cf', class: "digi-form-input__validation-message", "af-variation": this.afValidation }, this.afValidationText)))));
|
|
71
|
-
}
|
|
72
|
-
get hostElement() { return index.getElement(this); }
|
|
73
|
-
static get watchers() { return {
|
|
74
|
-
"afValue": ["OnAfValueChange"],
|
|
75
|
-
"value": ["OnValueChange"]
|
|
76
|
-
}; }
|
|
77
|
-
};
|
|
78
|
-
FormRadiogroup.style = DigiFormRadiogroupStyle0;
|
|
79
|
-
|
|
80
|
-
exports.digi_form_radiogroup = FormRadiogroup;
|