@designsystem-se/af 36.0.2-beta.1 → 36.0.3-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 +10 -10
- 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 +4 -4
- 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 +4 -4
- package/components/digi-form-input.js +1 -1
- package/components/digi-form-radiobutton.js +1 -1
- package/components/digi-form-radiogroup.js +2 -2
- package/components/digi-form-receipt.js +1 -1
- package/components/digi-form-select-filter.js +11 -11
- package/components/digi-form-select.js +1 -1
- package/components/digi-form-textarea.js +3 -3
- 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 +3 -3
- package/components/digi-link-button.js +1 -1
- package/components/digi-link-external.js +1 -1
- package/components/digi-link-internal.js +1 -1
- package/components/digi-link.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-banner.js +2 -2
- package/components/digi-tools-feedback-rating.js +2 -2
- 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-6f595199.js → p-0c919531.js} +1 -1
- package/components/{p-779eecac.js → p-117e7b18.js} +5 -5
- package/components/{p-c65795d8.js → p-358965ba.js} +2 -2
- package/components/{p-fb2fd84c.js → p-36dad6f1.js} +9 -9
- package/components/{p-cd0370eb.js → p-3fad7281.js} +2 -2
- package/components/{p-f18dbbea.js → p-5fd00d55.js} +2 -2
- package/components/p-606ba731.js +165 -0
- package/components/p-8fee3d97.js +163 -0
- package/components/{p-ad4aaaaf.js → p-a79e144f.js} +2 -2
- package/components/p-b8c862c0.js +66 -0
- package/components/{p-f53eb01a.js → p-d2a95a3e.js} +1 -1
- package/components/p-d7ef9cb1.js +13 -0
- package/components/{p-bb0ffb59.js → p-dedeb670.js} +3 -3
- package/components/{p-62a0008b.js → p-e756fda7.js} +2 -2
- package/custom-elements.json +4 -0
- package/dist/cjs/{code-example-variation.enum-c6557727.js → code-example-variation.enum-1611825e.js} +6 -0
- package/dist/cjs/digi-arbetsformedlingen.cjs.js +1 -1
- package/dist/cjs/digi-button_37.cjs.entry.js +5254 -0
- package/dist/cjs/digi-calendar-week-view.cjs.entry.js +50 -51
- package/dist/cjs/digi-code-block.cjs.entry.js +89 -0
- package/dist/cjs/digi-code-example.cjs.entry.js +4 -5
- package/dist/cjs/digi-dialog.cjs.entry.js +6 -20
- package/dist/cjs/digi-footer.cjs.entry.js +4 -18
- package/dist/cjs/digi-form-error-list.cjs.entry.js +4 -18
- package/dist/cjs/digi-form-file-upload.cjs.entry.js +10 -11
- package/dist/cjs/digi-form-input-search.cjs.entry.js +8 -10
- package/dist/cjs/digi-form-receipt.cjs.entry.js +4 -18
- package/dist/cjs/digi-form-select-filter.cjs.entry.js +12 -26
- package/dist/cjs/digi-form-textarea.cjs.entry.js +3 -3
- package/dist/cjs/digi-header-avatar.cjs.entry.js +1 -1
- package/dist/cjs/digi-header-navigation.cjs.entry.js +4 -18
- package/dist/cjs/digi-header.cjs.entry.js +5 -19
- package/dist/cjs/digi-icon-external-link-alt_2.cjs.entry.js +1 -1
- package/dist/cjs/digi-info-card.cjs.entry.js +1 -1
- package/dist/cjs/digi-link-button.cjs.entry.js +1 -1
- package/dist/cjs/digi-link-internal.cjs.entry.js +2 -2
- package/dist/cjs/digi-navigation-pagination.cjs.entry.js +4 -18
- package/dist/cjs/digi-notification-alert.cjs.entry.js +4 -18
- package/dist/cjs/digi-notification-error-page.cjs.entry.js +4 -18
- package/dist/cjs/digi-quote.cjs.entry.js +1 -1
- package/dist/cjs/digi-title-logo.cjs.entry.js +5 -19
- package/dist/cjs/digi-tools-feedback.cjs.entry.js +7 -21
- 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 +4 -92
- package/dist/cjs/{index-ac8e01b4.js → index-acb7b350.js} +189 -19
- package/dist/cjs/index.cjs.js +158 -166
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{typography-variation.enum-50512a4e.js → typography-variation.enum-e41bd69d.js} +158 -0
- package/dist/collection/components/_button/button/button.css +6 -6
- package/dist/collection/components/_calendar/calendar/calendar.css +5 -0
- package/dist/collection/components/_calendar/calendar/calendar.js +7 -7
- package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.css +339 -102
- package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.js +6 -5
- 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 +339 -102
- package/dist/collection/components/_form/form-checkbox/form-checkbox.js +3 -2
- package/dist/collection/components/_form/form-file-upload/form-file-upload.css +4 -3
- package/dist/collection/components/_form/form-input/form-input.js +4 -3
- package/dist/collection/components/_form/form-input-search/form-input-search.js +3 -2
- package/dist/collection/components/_form/form-radiobutton/form-radiobutton.js +3 -2
- package/dist/collection/components/_form/form-radiogroup/form-radiogroup.js +3 -2
- package/dist/collection/components/_form/form-select/form-select.css +2 -2
- package/dist/collection/components/_form/form-select/form-select.js +5 -4
- package/dist/collection/components/_form/form-select-filter/form-select-filter.css +1 -1
- package/dist/collection/components/_form/form-select-filter/form-select-filter.js +8 -7
- package/dist/collection/components/_form/form-textarea/form-textarea.js +4 -3
- package/dist/collection/components/_header/header-avatar/header-avatar.css +338 -101
- package/dist/collection/components/_info-card/info-card/info-card.css +2 -2
- package/dist/collection/components/_link/link/link.js +2 -2
- package/dist/collection/components/_link/link-button/link-button.js +2 -2
- package/dist/collection/components/_link/link-external/link-external.js +2 -2
- package/dist/collection/components/_link/link-internal/link-internal.css +338 -101
- package/dist/collection/components/_link/link-internal/link-internal.js +2 -2
- package/dist/collection/components/_logo/title-logo/title-logo.js +1 -1
- 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 +105 -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 +1 -0
- 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 +270 -128
- package/dist/collection/styles/src/themes/_common.mixin.scss +7 -0
- package/dist/collection/styles/src/themes/_theme-af25.mixin.scss +139 -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 +1 -0
- 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-014a7047.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-c30f5cbf.entry.js → p-030e608e.entry.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-158037f8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-180663ef.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1887ef59.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1a619dd3.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-53d9556b.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-6bf36a39.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7a6a447c.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-a105d9fe.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a7372448.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-eada91bf.entry.js → p-c0b39654.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-c64b4626.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-864542b1.entry.js → p-cc9a96ff.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-cd77a916.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-f358d8b2.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/styles/src/_alias.mixin.scss +270 -128
- package/dist/digi-arbetsformedlingen/styles/src/themes/_common.mixin.scss +7 -0
- package/dist/digi-arbetsformedlingen/styles/src/themes/_theme-af25.mixin.scss +139 -0
- package/dist/digi-arbetsformedlingen/styles/src/tokens-documentation/web-AF25.json +1406 -323
- package/dist/esm/{code-example-variation.enum-e9f9fced.js → code-example-variation.enum-e656d235.js} +7 -1
- package/dist/esm/digi-arbetsformedlingen.js +1 -1
- package/dist/esm/digi-button_37.entry.js +5214 -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 +2 -3
- package/dist/esm/digi-dialog.entry.js +5 -19
- package/dist/esm/digi-footer.entry.js +4 -18
- package/dist/esm/digi-form-error-list.entry.js +4 -18
- package/dist/esm/digi-form-file-upload.entry.js +2 -3
- package/dist/esm/digi-form-input-search.entry.js +3 -5
- package/dist/esm/digi-form-receipt.entry.js +4 -18
- package/dist/esm/digi-form-select-filter.entry.js +12 -26
- package/dist/esm/digi-form-textarea.entry.js +3 -3
- package/dist/esm/digi-header-avatar.entry.js +1 -1
- package/dist/esm/digi-header-navigation.entry.js +4 -18
- package/dist/esm/digi-header.entry.js +4 -18
- package/dist/esm/digi-icon-external-link-alt_2.entry.js +1 -1
- package/dist/esm/digi-info-card.entry.js +1 -1
- package/dist/esm/digi-link-button.entry.js +1 -1
- package/dist/esm/digi-link-internal.entry.js +2 -2
- package/dist/esm/digi-navigation-pagination.entry.js +4 -18
- package/dist/esm/digi-notification-alert.entry.js +4 -18
- package/dist/esm/digi-notification-error-page.entry.js +4 -18
- package/dist/esm/digi-quote.entry.js +1 -1
- package/dist/esm/digi-title-logo.entry.js +5 -19
- package/dist/esm/digi-tools-feedback.entry.js +5 -19
- 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 +4 -92
- package/dist/esm/{index-2fce392f.js → index-dc6b83f7.js} +170 -3
- package/dist/esm/index.js +4 -18
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{typography-variation.enum-8c3ff25c.js → typography-variation.enum-b07f76c9.js} +159 -1
- package/dist/types/components/_calendar/calendar/calendar.d.ts +1 -1
- package/dist/types/components/_calendar/calendar-datepicker/calendar-datepicker.d.ts +1 -0
- package/dist/types/components/_form/form-checkbox/form-checkbox.d.ts +1 -0
- package/dist/types/components/_form/form-input/form-input.d.ts +1 -0
- package/dist/types/components/_form/form-input-search/form-input-search.d.ts +1 -0
- package/dist/types/components/_form/form-radiobutton/form-radiobutton.d.ts +1 -0
- package/dist/types/components/_form/form-radiogroup/form-radiogroup.d.ts +1 -0
- package/dist/types/components/_form/form-select/form-select.d.ts +1 -0
- package/dist/types/components/_form/form-select-filter/form-select-filter.d.ts +1 -0
- package/dist/types/components/_form/form-textarea/form-textarea.d.ts +1 -0
- 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 +52 -4
- package/dist/types/enums.d.ts +1 -0
- package/hydrate/index.js +91 -63
- package/hydrate/index.mjs +91 -63
- package/package.json +1 -1
- package/components/p-4bad4fb0.js +0 -7
- package/components/p-93e21f44.js +0 -66
- package/components/p-c236a69d.js +0 -163
- package/components/p-e8fc33ed.js +0 -165
- package/dist/cjs/button-size.enum-1fd86b9e.js +0 -7
- package/dist/cjs/button-type.enum-406723db.js +0 -8
- package/dist/cjs/digi-button_9.cjs.entry.js +0 -533
- package/dist/cjs/digi-calendar-datepicker.cjs.entry.js +0 -2603
- package/dist/cjs/digi-calendar_2.cjs.entry.js +0 -464
- package/dist/cjs/digi-code-block_3.cjs.entry.js +0 -232
- 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-radiogroup.cjs.entry.js +0 -80
- 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-copy.cjs.entry.js +0 -30
- package/dist/cjs/digi-icon-minus_2.cjs.entry.js +0 -53
- package/dist/cjs/digi-layout-block_2.cjs.entry.js +0 -92
- 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-keydown-handler.cjs.entry.js +0 -83
- 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-c50239bc.js +0 -8
- 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/layout-container-max-width.enum-7e637f44.js +0 -21
- 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-011d5a78.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0436c516.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-04413bed.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0461e19a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-14731327.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-2698dd2a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2a86cc73.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-300aa9ef.js +0 -1
- package/dist/digi-arbetsformedlingen/p-33349e7e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-38627816.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-3d0c3803.entry.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-43178277.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4452f871.entry.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-501697cd.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-55f525dd.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-57319a80.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5a602122.js +0 -1
- package/dist/digi-arbetsformedlingen/p-67d28f76.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-681e7beb.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6d864e79.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6efa0bd8.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-8142cc73.js +0 -1
- package/dist/digi-arbetsformedlingen/p-88b4d03a.js +0 -1
- package/dist/digi-arbetsformedlingen/p-89b457e8.entry.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-95330112.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-96987381.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-98eece1b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9dcedec5.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9dd5d6c8.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a34dfc04.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a3cea8b4.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b6048dc7.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-bc3d2778.js +0 -1
- package/dist/digi-arbetsformedlingen/p-bf53daba.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-c7949525.js +0 -1
- package/dist/digi-arbetsformedlingen/p-cdf86efc.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-dc13eeeb.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e7e39ee7.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e9656bf8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e9abb2b1.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ee4cb21a.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ee9589e6.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-f8391f37.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-fdecd798.entry.js +0 -1
- package/dist/esm/button-size.enum-d5ff6ff3.js +0 -7
- package/dist/esm/button-type.enum-5250ae0b.js +0 -8
- package/dist/esm/digi-button_9.entry.js +0 -521
- package/dist/esm/digi-calendar-datepicker.entry.js +0 -2599
- package/dist/esm/digi-calendar_2.entry.js +0 -459
- package/dist/esm/digi-code-block_3.entry.js +0 -226
- 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-radiogroup.entry.js +0 -76
- 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-layout-block_2.entry.js +0 -87
- 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-keydown-handler.entry.js +0 -79
- 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-f9d669f2.js +0 -8
- 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/layout-container-max-width.enum-c40018ac.js +0 -21
- 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
|
@@ -10,6 +10,7 @@ import { FormInputButtonVariation } from "../form-input/form-input-button-variat
|
|
|
10
10
|
* @enums FormInputSearchVariation - form-input-search-variation.enum.ts
|
|
11
11
|
* @swedishName Sökfält
|
|
12
12
|
* @eventListeners focus - Lyssnar på om fokus sätts på custom-elementet och propagerar ner det till själva input-elementet
|
|
13
|
+
* @valueAccessor TextValueAccessor
|
|
13
14
|
*/
|
|
14
15
|
export class FormInputSearch {
|
|
15
16
|
constructor() {
|
|
@@ -118,10 +119,10 @@ export class FormInputSearch {
|
|
|
118
119
|
};
|
|
119
120
|
}
|
|
120
121
|
render() {
|
|
121
|
-
return (h(Host, { key: '
|
|
122
|
+
return (h(Host, { key: '5502afd53a378b67ffaed787a84ffd0e154c6a75', tabindex: -1 }, h("div", { key: '9d76ceba2e057efe2029cb600ce43e3e2d39ebfb', class: Object.assign({ 'digi-form-input-search': true }, this.cssModifiers), "data-af-identifier": this.afId }, h("digi-form-input", { key: 'fbee883f2df35b697093aa7fcdd134704583b350', class: {
|
|
122
123
|
'digi-form-input-search__input': true,
|
|
123
124
|
'digi-form-input-search__input--no-button': this.afHideButton
|
|
124
|
-
}, ref: (el) => (this._input = el), onAfOnBlur: (e) => this.blurHandler(e), onAfOnChange: (e) => this.changeHandler(e), onAfOnFocus: (e) => this.focusHandler(e), onAfOnFocusout: (e) => this.focusoutHandler(e), onAfOnKeyup: (e) => this.keyupHandler(e), onAfOnInput: (e) => this.inputHandler(e), afLabel: this.afLabel, afLabelDescription: this.afLabelDescription, afAriaActivedescendant: this.afAriaActivedescendant, afAriaDescribedby: this.afAriaDescribedby, afAriaLabelledby: this.afAriaLabelledby, afAriaAutocomplete: this.afAriaAutocomplete, afAutocomplete: this.afAutocomplete, afName: this.afName, afType: this.afType, afValue: this.afValue, afVariation: this.afVariation, afAutofocus: this.afAutofocus ? this.afAutofocus : null, afButtonVariation: this.afButtonVariation, afId: this.afId }, !this.afHideButton && (h("digi-button", { key: '
|
|
125
|
+
}, ref: (el) => (this._input = el), onAfOnBlur: (e) => this.blurHandler(e), onAfOnChange: (e) => this.changeHandler(e), onAfOnFocus: (e) => this.focusHandler(e), onAfOnFocusout: (e) => this.focusoutHandler(e), onAfOnKeyup: (e) => this.keyupHandler(e), onAfOnInput: (e) => this.inputHandler(e), afLabel: this.afLabel, afLabelDescription: this.afLabelDescription, afAriaActivedescendant: this.afAriaActivedescendant, afAriaDescribedby: this.afAriaDescribedby, afAriaLabelledby: this.afAriaLabelledby, afAriaAutocomplete: this.afAriaAutocomplete, afAutocomplete: this.afAutocomplete, afName: this.afName, afType: this.afType, afValue: this.afValue, afVariation: this.afVariation, afAutofocus: this.afAutofocus ? this.afAutofocus : null, afButtonVariation: this.afButtonVariation, afId: this.afId }, !this.afHideButton && (h("digi-button", { key: '45ca4cd2086bf49f53781bd11919ea8cbee9d9fa', class: "digi-form-input-search__button", onAfOnClick: (e) => this.clickHandler(e), onAfOnFocus: (e) => e.stopPropagation(), afType: this.afButtonType, afAriaLabel: this.afButtonAriaLabel, afAriaLabelledby: this.afButtonAriaLabelledby, afSize: this.afVariation, slot: "button" }, h("digi-icon-search", { key: '1860c4ec6f386c16552d959c0b8091e4e88060cb', slot: "icon" }), this.afButtonText))))));
|
|
125
126
|
}
|
|
126
127
|
static get is() { return "digi-form-input-search"; }
|
|
127
128
|
static get encapsulation() { return "scoped"; }
|
|
@@ -6,6 +6,7 @@ import { FormRadiobuttonLayout } from "./form-radiobutton-layout.enum";
|
|
|
6
6
|
/**
|
|
7
7
|
* @enums FormRadiobuttonValidation - form-radiobutton-validation.enum.ts
|
|
8
8
|
* @enums FormRadiobuttonVariation - form-radiobutton-variation.enum.ts
|
|
9
|
+
* @valueAccessor RadioValueAccessor
|
|
9
10
|
* @swedishName Radioknapp
|
|
10
11
|
* @eventListeners focus - Lyssnar på om fokus sätts på custom-elementet och propagerar ner det till själva input-elementet.
|
|
11
12
|
*/
|
|
@@ -86,9 +87,9 @@ export class FormRadiobutton {
|
|
|
86
87
|
this.afOnInput.emit(e);
|
|
87
88
|
}
|
|
88
89
|
render() {
|
|
89
|
-
return (h(Host, { key: '
|
|
90
|
+
return (h(Host, { key: 'c219f20c710f23829a44887396b31f03860b5071', tabindex: -1 }, h("div", { key: '8a79373d73a6a2285694738d15e735dffa06f058', class: Object.assign({ 'digi-form-radiobutton': true }, this.cssModifiers) }, h("input", { key: 'eaf8472603390c55b3857f1918094494b0ff38f9', class: "digi-form-radiobutton__input", ref: (el) => (this._input = el), onInput: (e) => this.inputHandler(e), onBlur: (e) => this.blurHandler(e), onChange: (e) => this.changeHandler(e), onFocus: (e) => this.focusHandler(e), onFocusout: (e) => this.focusoutHandler(e), "aria-describedby": this.afAriaDescribedby, "aria-labelledby": this.afAriaLabelledby, "aria-invalid": this.afValidation === FormRadiobuttonValidation.ERROR
|
|
90
91
|
? 'true'
|
|
91
|
-
: 'false', required: this.afRequired, id: this.afId, name: this.afName, type: "radio", checked: this.afChecked, value: this.afValue, autofocus: this.afAutofocus ? this.afAutofocus : null }), h("label", { key: '
|
|
92
|
+
: 'false', required: this.afRequired, id: this.afId, name: this.afName, type: "radio", checked: this.afChecked, value: this.afValue, autofocus: this.afAutofocus ? this.afAutofocus : null }), h("label", { key: 'f3049d0f425c3f756f6e157a0a9f243541dbd468', htmlFor: this.afId, class: "digi-form-radiobutton__label" }, h("span", { key: '3114e3bc85e870e916dd642a448bd4016e7b648e', class: "digi-form-radiobutton__circle" }), this.afLabel))));
|
|
92
93
|
}
|
|
93
94
|
static get is() { return "digi-form-radiobutton"; }
|
|
94
95
|
static get encapsulation() { return "scoped"; }
|
|
@@ -5,6 +5,7 @@ import { FormRadiogroupValidation } from "./form-radiogroup-validation.enum";
|
|
|
5
5
|
* @slot radiobuttons
|
|
6
6
|
*
|
|
7
7
|
* @swedishName Radiogrupp
|
|
8
|
+
* @valueAccessor TextValueAccessor
|
|
8
9
|
*
|
|
9
10
|
* @eventListeners focus - Lyssnar på om fokus sätts på custom-elementet och propagerar ner det till den första radioknappen i gruppen
|
|
10
11
|
*/
|
|
@@ -62,9 +63,9 @@ export class FormRadiogroup {
|
|
|
62
63
|
});
|
|
63
64
|
}
|
|
64
65
|
render() {
|
|
65
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: '0b03e0ccdc03d2f06466f9a2527f68b937637e6f', tabindex: -1 }, h("div", { key: '02b0862fc0645ba6c5b12480279078d0b796f5ef', id: this.afId, class: {
|
|
66
67
|
'digi-form-radiogroup': true
|
|
67
|
-
} }, h("digi-util-mutation-observer", { key: '
|
|
68
|
+
} }, h("digi-util-mutation-observer", { key: 'ed9e1a034e5d5221c4c004e12db780077277876e', onAfOnChange: (e) => this.radiobuttonChangeListener(e) }, h("slot", { key: '5572449dc6ad235472c92e8524d26688d56e1b10' }))), 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.NEUTRAL && (h("digi-form-validation-message", { key: '63cde6f36e3064bd421c7d162e72ab414f5584cf', class: "digi-form-input__validation-message", "af-variation": this.afValidation }, this.afValidationText)))));
|
|
68
69
|
}
|
|
69
70
|
static get is() { return "digi-form-radiogroup"; }
|
|
70
71
|
static get encapsulation() { return "scoped"; }
|
|
@@ -3,8 +3,8 @@ v2.0 | 20110126
|
|
|
3
3
|
License: none (public domain)
|
|
4
4
|
*/
|
|
5
5
|
:host {
|
|
6
|
-
--digi--form-select--background--empty: var(--digi--color--background--interactive--default--
|
|
7
|
-
--digi--form-select--background--neutral: var(--digi--color--background--interactive--default--
|
|
6
|
+
--digi--form-select--background--empty: var(--digi--color--background--interactive--default--input-elements);
|
|
7
|
+
--digi--form-select--background--neutral: var(--digi--color--background--interactive--default--input-elements);
|
|
8
8
|
--digi--form-select--background--success: var(--digi--color--background--interactive--validation--success);
|
|
9
9
|
--digi--form-select--background--warning: var(--digi--color--background--interactive--validation--warning);
|
|
10
10
|
--digi--form-select--background--error: var(--digi--color--background--interactive--validation--error);
|
|
@@ -10,6 +10,7 @@ import { FormSelectVariation } from "./form-select-variation.enum";
|
|
|
10
10
|
* @enums FormSelectVariation - form-select-variation.enum
|
|
11
11
|
* @swedishName Väljare
|
|
12
12
|
* @eventListeners focus - Lyssnar på om fokus sätts på custom-elementet och propagerar ner det till själva select-elementet
|
|
13
|
+
* @valueAccessor SelectValueAccessor
|
|
13
14
|
*/
|
|
14
15
|
export class FormSelect {
|
|
15
16
|
constructor() {
|
|
@@ -133,17 +134,17 @@ export class FormSelect {
|
|
|
133
134
|
: false;
|
|
134
135
|
}
|
|
135
136
|
render() {
|
|
136
|
-
return (h(Host, { key: '
|
|
137
|
+
return (h(Host, { key: 'd0422f1a779704cd2e9192f81199c58738c6f4db', tabindex: -1 }, h("div", { key: 'f6a49628a7d5d3d2d633e816aaf260242478fc4c', class: Object.assign({ 'digi-form-select': true }, this.cssModifiers) }, h("div", { key: '755b1b576bb8847570426d982d1a3445fb44edff', class: "digi-form-select__label-group" }, h("digi-form-label", { key: 'eda13cccb65792193b318bf9c21bd0b52384dbc5', afFor: this.afId, afLabel: this.afLabel, afId: `${this.afId}-label`, afDescription: this.afDescription, afRequired: this.afRequired, afAnnounceIfOptional: this.afAnnounceIfOptional, afRequiredText: this.afRequiredText, afAnnounceIfOptionalText: this.afAnnounceIfOptionalText })), h("div", { key: '0ae5338fd5aa2b7fffe60935ddae9fec0cbaf379', class: "digi-form-select__select-wrapper" }, h("select", { key: 'bd758e92e3fb977be5bad8530062d9b5c71f7e11', class: "digi-form-select__select", name: this.afName, id: this.afId, "aria-label": this.afAriaLabel, "aria-invalid": this.afValidation === FormSelectValidation.ERROR
|
|
137
138
|
? 'true'
|
|
138
|
-
: 'false', "aria-describedby": `${this.afId}--validation-message`, ref: (el) => (this._select = el), required: this.afRequired ? this.afRequired : null, onFocus: (e) => this.focusHandler(e), onFocusout: (e) => this.focusoutHandler(e), onBlur: (e) => this.blurHandler(e), onChange: (e) => this.changeHandler(e), onInput: (e) => this.selectHandler(e), autoFocus: this.afAutofocus ? this.afAutofocus : null }, this.hasPlaceholder && (h("option", { key: '
|
|
139
|
+
: 'false', "aria-describedby": `${this.afId}--validation-message`, ref: (el) => (this._select = el), required: this.afRequired ? this.afRequired : null, onFocus: (e) => this.focusHandler(e), onFocusout: (e) => this.focusoutHandler(e), onBlur: (e) => this.blurHandler(e), onChange: (e) => this.changeHandler(e), onInput: (e) => this.selectHandler(e), autoFocus: this.afAutofocus ? this.afAutofocus : null }, this.hasPlaceholder && (h("option", { key: '85d60c1b04d3a48773d7a25e79d6e6896abc4334', class: {
|
|
139
140
|
'digi-form-select__select-option': true,
|
|
140
141
|
'digi-form-select__select-option--initial-value': true
|
|
141
142
|
}, disabled: true, selected: !this.afValue, value: "" }, this.afPlaceholder)), this.optionItems.map((option, index) => {
|
|
142
143
|
return (h("option", { key: index, class: "digi-form-select__select-option", value: option.value, selected: this.getSelectedItem(option) }, option.text));
|
|
143
|
-
})), h("digi-icon-input-select-marker", { key: '
|
|
144
|
+
})), h("digi-icon-input-select-marker", { key: 'e9ab4ef12562679223aaa7f60e20936d2a1e078e', class: "digi-form-select__icon", slot: "icon" })), h("digi-util-mutation-observer", { key: '188b27eb0a27f9bb81eb8211e67df8d8c54b7485', hidden: true, ref: (el) => (this._observer = el), onAfOnChange: (e) => {
|
|
144
145
|
e.stopImmediatePropagation();
|
|
145
146
|
this.getOptions();
|
|
146
|
-
} }, h("slot", { key: '
|
|
147
|
+
} }, h("slot", { key: '70b2eeb015a08bfc2379f30eb4cf7e6281066d56' })), h("div", { key: 'd8aa1c5d5de3e847136d29b14a236d6cf73ecad4', class: "digi-form-select__footer" }, h("div", { key: '27f8450662d599b55aa22a3a82f268de8ecd7cbc', "aria-atomic": "true", role: this.errorMessageIsAlert ? 'alert' : null, id: `${this.afId}--validation-message` }, this.showValidation() && (h("digi-form-validation-message", { key: 'e7f512be5ea01c8bb2c6a1e20bacafd43acf2770', "af-variation": this.afValidation }, this.afValidationText)))))));
|
|
147
148
|
}
|
|
148
149
|
static get is() { return "digi-form-select"; }
|
|
149
150
|
static get encapsulation() { return "scoped"; }
|
|
@@ -13,7 +13,7 @@ License: none (public domain)
|
|
|
13
13
|
--digi--form-select-filter--item--margin: var(--digi--gutter--small) 0;
|
|
14
14
|
--digi--form-select-filter--toggle-icon--transition: ease-in-out 0.2s all;
|
|
15
15
|
--digi--form-select-filter--dropdown--border-radius: var(--digi--border-radius--input);
|
|
16
|
-
--digi--form-select-filter--dropdown--background: var(--digi--color--background--
|
|
16
|
+
--digi--form-select-filter--dropdown--background: var(--digi--color--background--primary-elevated);
|
|
17
17
|
--digi--form-select-filter--dropdown--min-width: 18.75rem;
|
|
18
18
|
--digi--form-select-filter--dropdown--margin-top: var(--digi--gutter--small);
|
|
19
19
|
--digi--form-select-filter--dropdown--z-index: 999;
|
|
@@ -11,6 +11,7 @@ import { FormSelectFilterValidation } from "./form-select-validation.enum";
|
|
|
11
11
|
* @slot empty-search-result - Innehåll som visas om sökningen inte ger några resultat.
|
|
12
12
|
* @swedishName Väljare med sök
|
|
13
13
|
* @eventListeners focus - Lyssnar på om fokus sätts på custom-elementet och propagerar ner det till toggle-knappen
|
|
14
|
+
* @valueAccessor SelectValueAccessor
|
|
14
15
|
*/
|
|
15
16
|
export class FormSelectFilter {
|
|
16
17
|
constructor() {
|
|
@@ -457,16 +458,16 @@ export class FormSelectFilter {
|
|
|
457
458
|
} }, h("slot", { name: "empty-search-result" })))));
|
|
458
459
|
}
|
|
459
460
|
render() {
|
|
460
|
-
return (h(Host, { key: '
|
|
461
|
+
return (h(Host, { key: '232ad0fdb8164fb6ed04d1d2fdcdc778a197ae43', tabindex: -1 }, h("div", { key: 'bd384c56a99f54deef5cb2e325bae1e65c53696c', class: Object.assign({ 'digi-form-select-filter': true }, this.cssModifiers), role: "application", id: `${this.afId}-identifier` }, h("digi-form-label", { key: 'af3ad60e123ffe072af3590230975d6cb4b08db9', afLabel: this.afFilterButtonTextLabel, afFor: `${this.afId}`, afId: `${this.afId}-label`, class: "digi-form-select-filter__label", afDescription: this.afDescription, afRequired: this.afRequired, afAnnounceIfOptional: this.afAnnounceIfOptional, afRequiredText: this.afRequiredText, afAnnounceIfOptionalText: this.afAnnounceIfOptionalText }), h("digi-util-keydown-handler", { key: '06cb88227494648eb5e9861022830562b20fbbb2', onAfOnEsc: () => this.escHandler() }, h("button", { key: '8f829b158f487b9b671066f18b6948d24bd7724c', type: "button", id: `${this.afId}`, class: "digi-form-select-filter__toggle-button", onClick: () => this.toggleDropdown(), ref: (el) => (this._toggleButton = el), "aria-haspopup": "true", "aria-label": this.ariaLabel, "aria-describedby": `${this.afFilterButtonAriaDescribedby} ${this.afId}--validation-message`, "aria-controls": `${this.afId}-dropdown-menu`, "aria-expanded": this.isOpen }, h("div", { key: '6b28930875126efeea6e011d17567b2de4bf7635', class: Object.assign({ 'digi-form-filter__toggle-button-wrapper': true }, this.cssModifiersToggleButtonWrapper) }, h("digi-icon-check", { key: 'afde185a6027a96c0fd75a80bfbf9a462839cd32', class: Object.assign({ 'digi-form-select-filter__toggle-button-indicator': true }, this.cssModifiersToggleButtonIndicator), slot: "icon" }), h("span", { key: '8b846d513be35ffec07b6f1073b24c4fad8b09d0', class: "digi-form-select-filter__toggle-button-text" }, this.renderButtonLabel)), h("digi-icon-chevron-down", { key: '795ac4c5d2cf7e7ddff801cc8224215b8c0f4492', class: "digi-form-select-filter__toggle-icon" })), h("div", { key: '1952bcb6c880cc79263c348067c8e76ee4b2c54d', id: `${this.afId}-dropdown-menu`, tabindex: this.isOpen ? '-1' : undefined, class: {
|
|
461
462
|
'digi-form-select-filter__dropdown': true,
|
|
462
463
|
'digi-form-select-filter__dropdown--right': this.afAlignRight,
|
|
463
464
|
'digi-form-select-filter__dropdown--hidden': !this.isOpen
|
|
464
|
-
} }, h("fieldset", { key: '
|
|
465
|
+
} }, h("fieldset", { key: '67c787d57885455dc6018b14ee77c5cf8f889269' }, h("div", { key: 'f04990f47e0c842447503c0c669fad9f075e1800', class: "digi-form-select-filter__header" }, h("legend", { key: 'a555f7e77fd3fc35badec8261676746ad0d07a96', class: "digi-form-select-filter__legend" }, this.afFilterButtonTextLabel), h("digi-form-input", { key: 'dbbe1895e3f36e9103429510bdaa669839c1509b', afLabel: this.afName, afId: `${this.afId}-search`, afVariation: FormInputVariation.MEDIUM, afType: FormInputType.SEARCH, afValidation: FormInputValidation.NEUTRAL, onAfOnFocus: () => {
|
|
465
466
|
this.focusListItemIndex = 0;
|
|
466
467
|
99;
|
|
467
468
|
}, onAfOnKeyup: (e) => {
|
|
468
469
|
this.inputSearchKeyboardHandler(e.detail);
|
|
469
|
-
}, onAfOnInput: (e) => this.inputSearchInputHandler(e.detail), afValue: this._searchQuery, class: "digi-form-select-filter__search-input", afAriaControls: `${this.afId}-select-filter-list`, afAutocomplete: "off", afAriaAutocomplete: "none" }), this.renderEmptyStateBox()), h("div", { key: '
|
|
470
|
+
}, onAfOnInput: (e) => this.inputSearchInputHandler(e.detail), afValue: this._searchQuery, class: "digi-form-select-filter__search-input", afAriaControls: `${this.afId}-select-filter-list`, afAutocomplete: "off", afAriaAutocomplete: "none" }), this.renderEmptyStateBox()), h("div", { key: '7a1b963b624783f76d6b938aef4b54b5539a8b19', class: "digi-form-select-filter__scroll" }, h("digi-util-keydown-handler", { key: '210bdb0e2937132b68378a770edfb6c93e7b831e', onAfOnDown: (e) => this.downHandler(e), onAfOnRight: (e) => this.downHandler(e), onAfOnUp: (e) => this.upHandler(e), onAfOnLeft: (e) => this.upHandler(e), onAfOnHome: (e) => this.homeHandler(e), onAfOnEnd: (e) => this.endHandler(e), onAfOnEnter: (e) => this.enterHandler(e), onAfOnSpace: (e) => this.spaceHandler(e), onAfOnTab: () => this.tabHandler(), onAfOnShiftTab: () => this.shiftHandler() }, h("ul", { key: 'bdf8431ce2a39cdb9c23c8419eb12518ca20e3dd', class: "digi-form-select-filter__list", "aria-labelledby": `${this.afId}`, id: `${this.afId}-select-filter-list`, role: this.afMultipleItems ? '' : 'radiogroup', "aria-invalid": this.afMultipleItems
|
|
470
471
|
? 'false'
|
|
471
472
|
: this.afValidation ===
|
|
472
473
|
FormSelectFilterValidation.ERROR
|
|
@@ -475,11 +476,11 @@ export class FormSelectFilter {
|
|
|
475
476
|
? false
|
|
476
477
|
: this.afRequired
|
|
477
478
|
? 'true'
|
|
478
|
-
: 'false' }, this.showNeutralValue && (h("li", { key: '
|
|
479
|
+
: 'false' }, this.showNeutralValue && (h("li", { key: '4d97c4be7a31dbe830181eefc37929b3bb2f9234', class: "digi-form-select-filter__item", role: "radio", "aria-required": this.afMultipleItems
|
|
479
480
|
? 'false'
|
|
480
481
|
: this.afRequired
|
|
481
482
|
? 'true'
|
|
482
|
-
: 'false', "aria-checked": this._selectedItems.length === 0 ? 'true' : 'false', onClick: () => this.resetSelectItems(true), tabIndex: 0, "aria-label": this.afFilterButtonText }, this._selectedItems.length === 0 && (h("digi-icon-check", { key: '
|
|
483
|
+
: 'false', "aria-checked": this._selectedItems.length === 0 ? 'true' : 'false', onClick: () => this.resetSelectItems(true), tabIndex: 0, "aria-label": this.afFilterButtonText }, this._selectedItems.length === 0 && (h("digi-icon-check", { key: 'c1af26327f9bab4456a3770698cb08e8f0b0be95', class: "digi-form-select-filter__item__icon", "aria-hidden": 'true' })), this.afFilterButtonText)), this._filteredResult &&
|
|
483
484
|
this._filteredResult.map((item, index) => {
|
|
484
485
|
return (h("li", { class: "digi-form-select-filter__item", key: index, dir: item.dir, lang: item.lang, "aria-checked": this.isSelected(item.value) ? 'true' : 'false', role: this.afMultipleItems ? 'checkbox' : 'radio', "aria-required": this.afMultipleItems
|
|
485
486
|
? 'false'
|
|
@@ -495,9 +496,9 @@ export class FormSelectFilter {
|
|
|
495
496
|
: index === 0
|
|
496
497
|
? 0
|
|
497
498
|
: -1 }, this.isSelected(item.value) && (h("digi-icon-check", { class: "digi-form-select-filter__item__icon", "aria-hidden": 'true' })), item.label));
|
|
498
|
-
}))))), this.afMultipleItems && (h("div", { key: '
|
|
499
|
+
}))))), this.afMultipleItems && (h("div", { key: 'e9617bc3097f670582c1ad9fe9dcc3cdd5a56f5b', class: "digi-form-select-filter__footer" }, !this.afHideResetButton && (h("digi-button", { key: 'b4899966b541b5d67a32f07a01631509075a7106', "af-variation": "secondary", "af-aria-label": this.afResetButtonTextAriaLabel, onClick: () => this.resetSelectItems(), class: "digi-form-select-filter__reset-button" }, this.afResetButtonText)), h("digi-util-keydown-handler", { key: '5662e817b03fb9d04b5a01d726863dca84e23f88', onAfOnUp: () => this.setFocusItem() }, h("digi-button", { key: 'bc7cb5ef64aa7a5f0e3ce29f416fa9995ef2f7c8', ref: (el) => (this._submitButton = el), "af-variation": "primary", "af-aria-label": this.afSubmitButtonTextAriaLabel, onClick: () => {
|
|
499
500
|
this.setClosed(true);
|
|
500
|
-
}, class: "digi-form-select-filter__submit-button" }, this.afSubmitButtonText)))))), h("div", { key: '
|
|
501
|
+
}, class: "digi-form-select-filter__submit-button" }, this.afSubmitButtonText)))))), h("div", { key: '724a4171df75af688ddc34312db71d8c0ddc882e', class: "digi-form-select__footer" }, h("div", { key: 'e6e83f72fa04ff87cc30868dc7b125ad1289e6f2', "aria-atomic": "true", role: this.errorMessageIsAlert ? 'alert' : null, id: `${this.afId}--validation-message` }, this.showValidation() && (h("digi-form-validation-message", { key: 'ed8426f025854a09aa445734e239dae8574daec4', "af-variation": this.afValidation }, this.afValidationText)))))));
|
|
501
502
|
}
|
|
502
503
|
static get is() { return "digi-form-select-filter"; }
|
|
503
504
|
static get encapsulation() { return "scoped"; }
|
|
@@ -7,6 +7,7 @@ import { FormTextareaValidation } from "./form-textarea-validation.enum";
|
|
|
7
7
|
* @enums FormTextareaVariation - form-textarea-variation.enum.ts
|
|
8
8
|
* @swedishName Textarea
|
|
9
9
|
* @eventListeners focus - Lyssnar på om fokus sätts på custom-elementet och propagerar ner det till själva textarea-elementet
|
|
10
|
+
* @valueAccessor TextValueAccessor
|
|
10
11
|
*/
|
|
11
12
|
export class FormTextarea {
|
|
12
13
|
constructor() {
|
|
@@ -118,10 +119,10 @@ export class FormTextarea {
|
|
|
118
119
|
this.afOnInput.emit(e);
|
|
119
120
|
}
|
|
120
121
|
render() {
|
|
121
|
-
return (h(Host, { key: '
|
|
122
|
+
return (h(Host, { key: '8fc80d345a10b05e22b3dcd5adb63449d50b07e1', tabindex: -1 }, h("div", { key: '049576151b60c94d55711e696af1262ac6701f34', class: Object.assign({ 'digi-form-textarea': true }, this.cssModifiers) }, h("div", { key: 'a18d782506a20eb687bd8792a3fb0da3db159d4f', class: "digi-form-textarea__label" }, h("digi-form-label", { key: '1574be92b63e16034a5690a9d217da8e63ca7470', afFor: this.afId, afLabel: this.afLabel, afDescription: this.afLabelDescription, afRequired: this.afRequired, afAnnounceIfOptional: this.afAnnounceIfOptional, afRequiredText: this.afRequiredText, afAnnounceIfOptionalText: this.afAnnounceIfOptionalText })), h("div", { key: 'c3258fb29058a14abae464e8e7f22074675e0115', class: "digi-form-textarea__content" }, h("textarea", { key: '5273fb0ea8d7c1345bfc37df0214f1ceb497f2ae', class: "digi-form-textarea__textarea", ref: (el) => (this._textarea = el), onBlur: (e) => this.blurHandler(e), onChange: (e) => this.changeHandler(e), onFocus: (e) => this.focusHandler(e), onFocusout: (e) => this.focusoutHandler(e), onKeyUp: (e) => this.keyupHandler(e), onInput: (e) => this.inputHandler(e), "aria-activedescendant": this.afAriaActivedescendant, "aria-describedby": `${this.afAriaDescribedby} ${this.afId}--validation-message`, "aria-labelledby": this.afAriaLabelledby, "aria-invalid": this.afValidation === FormTextareaValidation.ERROR
|
|
122
123
|
? 'true'
|
|
123
|
-
: 'false', maxLength: this.afMaxlength, minLength: this.afMinlength, role: this.afRole, required: this.afRequired, id: this.afId, name: this.afName, value: this.afValue, autofocus: this.afAutofocus ? this.afAutofocus : null })), h("div", { key: '
|
|
124
|
-
this.afValidation != FormTextareaValidation.NEUTRAL && (h("digi-form-validation-message", { key: '
|
|
124
|
+
: 'false', maxLength: this.afMaxlength, minLength: this.afMinlength, role: this.afRole, required: this.afRequired, id: this.afId, name: this.afName, value: this.afValue, autofocus: this.afAutofocus ? this.afAutofocus : null })), h("div", { key: '38ade9720142b05d65248291749635e061681bad', class: "digi-form-textarea__footer" }, h("div", { key: 'fbe8041652cc9c1bc72bffc98582c5312b9c020b', class: "digi-form-textarea__validation", "aria-atomic": "true", role: this.errorMessageIsAlert ? 'alert' : null, id: `${this.afId}--validation-message` }, this.hasActiveValidationMessage &&
|
|
125
|
+
this.afValidation != FormTextareaValidation.NEUTRAL && (h("digi-form-validation-message", { key: 'baea13a3e9d6c7a762cce0f0296ee0dcb267ff9f', class: "digi-form-textarea__validation-message", "af-variation": this.afValidation }, this.afValidationText)))))));
|
|
125
126
|
}
|
|
126
127
|
static get is() { return "digi-form-textarea"; }
|
|
127
128
|
static get encapsulation() { return "scoped"; }
|