@designsystem-se/af 32.3.1-beta.1 → 33.0.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-calendar-datepicker.js +3 -4
- package/components/digi-calendar-week-view.js +1 -1
- package/components/digi-calendar.js +1 -1
- package/components/digi-card.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 +9 -7
- package/components/digi-context-menu.js +151 -52
- package/components/digi-dialog.js +3 -4
- package/components/digi-expandable-accordion.js +2 -3
- package/components/digi-expandable-faq-item.js +1 -1
- package/components/digi-footer.js +2 -3
- package/components/digi-form-error-list.js +3 -4
- package/components/digi-form-file-upload.js +1 -1
- package/components/digi-form-receipt.js +1 -2
- package/components/digi-form-select-filter.js +2 -3
- package/components/digi-header-avatar.js +2 -2
- package/components/digi-header-navigation.js +3 -4
- package/components/digi-header.js +3 -4
- package/components/digi-info-card-multi.js +4 -4
- package/components/digi-info-card.js +1 -1
- package/components/digi-list.js +1 -1
- package/components/digi-loader-spinner.js +1 -1
- package/components/digi-media-image.js +1 -1
- package/components/digi-navigation-context-menu.js +1 -1
- package/components/digi-navigation-pagination.js +9 -10
- package/components/digi-navigation-sidebar-button.js +1 -1
- package/components/digi-navigation-sidebar.js +4 -4
- package/components/digi-navigation-vertical-menu-item.js +6 -6
- package/components/digi-navigation-vertical-menu.js +1 -1
- package/components/digi-notification-alert.js +1 -1
- package/components/digi-notification-error-page.js +7 -15
- package/components/digi-progress-circle.js +12 -8
- package/components/digi-progress-indicator.js +7 -3
- package/components/digi-progress-list-item.js +5 -5
- package/components/digi-progress-list.js +2 -2
- package/components/digi-progressbar.js +2 -2
- package/components/digi-quote.js +3 -3
- package/components/digi-table.js +1 -1
- package/components/digi-tablist-panel.js +2 -2
- package/components/digi-tablist.js +5 -5
- package/components/digi-tag-media.js +1 -1
- package/components/digi-tag.js +5 -3
- package/components/digi-tools-feedback-banner.js +1 -1
- package/components/digi-tools-feedback-rating.js +3 -3
- package/components/digi-tools-feedback.js +2 -3
- package/components/digi-tools-languagepicker.js +5 -5
- package/components/digi-typography-heading-jumbo.js +6 -2
- package/components/digi-typography-meta.js +37 -1
- package/components/digi-typography-preamble.js +1 -1
- package/components/digi-typography-time.js +1 -1
- package/components/digi-typography.js +1 -1
- package/components/digi-util-breakpoint-observer.js +1 -1
- package/components/digi-util-detect-click-outside.js +1 -1
- package/components/digi-util-detect-focus-outside.js +1 -1
- package/components/digi-util-intersection-observer.js +1 -1
- package/components/digi-util-keydown-handler.js +1 -1
- package/components/digi-util-keyup-handler.js +1 -1
- package/components/digi-util-resize-observer.js +1 -1
- package/components/index.d.ts +0 -6
- package/components/index.js +1 -5
- package/components/{p-d7211fec.js → p-2b4c472b.js} +1 -11
- package/components/{p-1ee02c0b.js → p-38b0d0c7.js} +1 -2
- package/components/{p-e87d124f.js → p-4b8bc232.js} +1 -1
- package/components/{p-ed121585.js → p-50634baa.js} +1 -1
- package/components/{p-83e38978.js → p-5e487ed4.js} +1 -1
- package/components/{p-dfa85da0.js → p-8a1aaa8e.js} +6 -6
- package/components/{p-809fd710.js → p-918e9955.js} +2 -2
- package/components/{p-23d4119d.js → p-950b05b1.js} +1 -1
- package/components/{p-f034b64e.js → p-aa59e5c0.js} +1 -1
- package/components/{p-af7ab137.js → p-d08de295.js} +1 -1
- package/components/{p-648cd0b2.js → p-ef49c2f8.js} +4 -5
- package/components/{p-2bfb4163.js → p-f0bdf339.js} +1 -1
- package/components/{p-71554a36.js → p-f3c5a743.js} +1 -1
- package/custom-elements.json +11 -120
- package/dist/cjs/digi-arbetsformedlingen.cjs.js +1 -1
- package/dist/cjs/digi-button_6.cjs.entry.js +246 -2301
- package/dist/cjs/digi-calendar-datepicker.cjs.entry.js +3 -4
- package/dist/cjs/digi-chart-line.cjs.entry.js +2314 -0
- package/dist/cjs/digi-code-block_3.cjs.entry.js +3 -4
- package/dist/cjs/digi-code-example.cjs.entry.js +7 -5
- package/dist/cjs/digi-dialog.cjs.entry.js +3 -4
- package/dist/cjs/digi-expandable-accordion.cjs.entry.js +3 -4
- package/dist/cjs/digi-footer.cjs.entry.js +3 -4
- package/dist/cjs/digi-form-error-list.cjs.entry.js +3 -4
- package/dist/cjs/digi-form-receipt.cjs.entry.js +3 -4
- package/dist/cjs/digi-form-select-filter.cjs.entry.js +3 -4
- package/dist/cjs/digi-header-navigation.cjs.entry.js +3 -4
- package/dist/cjs/digi-header.cjs.entry.js +4 -5
- package/dist/cjs/digi-icon-chart_2.cjs.entry.js +53 -0
- package/dist/cjs/digi-icon-language-outline_4.cjs.entry.js +5 -5
- package/dist/cjs/digi-icon-x.cjs.entry.js +30 -0
- package/dist/cjs/digi-layout-block.cjs.entry.js +47 -0
- package/dist/cjs/digi-loader-spinner.cjs.entry.js +1 -1
- package/dist/cjs/digi-logo_2.cjs.entry.js +1 -1
- package/dist/cjs/digi-media-image_2.cjs.entry.js +1 -1
- package/dist/cjs/digi-navigation-pagination.cjs.entry.js +9 -10
- package/dist/cjs/digi-navigation-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/digi-navigation-vertical-menu-item.cjs.entry.js +6 -6
- package/dist/cjs/digi-navigation-vertical-menu.cjs.entry.js +1 -1
- package/dist/cjs/digi-notification-alert.cjs.entry.js +5 -6
- package/dist/cjs/digi-notification-error-page.cjs.entry.js +7 -15
- package/dist/cjs/digi-progress-circle.cjs.entry.js +12 -8
- package/dist/cjs/digi-progress-indicator.cjs.entry.js +7 -3
- package/dist/cjs/digi-progress-list-item.cjs.entry.js +5 -5
- package/dist/cjs/digi-progress-list.cjs.entry.js +1 -1
- package/dist/cjs/digi-progressbar.cjs.entry.js +2 -2
- package/dist/cjs/digi-quote.cjs.entry.js +1 -1
- package/dist/cjs/digi-table.cjs.entry.js +1 -1
- package/dist/cjs/digi-tablist-panel.cjs.entry.js +2 -2
- package/dist/cjs/digi-tablist.cjs.entry.js +5 -5
- package/dist/cjs/digi-tag-media.cjs.entry.js +2 -2
- package/dist/cjs/digi-tag.cjs.entry.js +3 -2
- package/dist/cjs/digi-tools-feedback-banner.cjs.entry.js +1 -1
- package/dist/cjs/digi-tools-feedback-rating.cjs.entry.js +2 -2
- package/dist/cjs/digi-tools-feedback.cjs.entry.js +4 -5
- package/dist/cjs/digi-tools-languagepicker.cjs.entry.js +3 -3
- package/dist/cjs/digi-typography-heading-jumbo.cjs.entry.js +6 -2
- package/dist/cjs/digi-typography-meta.cjs.entry.js +1 -1
- package/dist/cjs/digi-typography-preamble.cjs.entry.js +1 -1
- package/dist/cjs/digi-typography-time.cjs.entry.js +1 -1
- package/dist/cjs/digi-util-breakpoint-observer.cjs.entry.js +1 -1
- package/dist/cjs/digi-util-detect-click-outside.cjs.entry.js +1 -1
- package/dist/cjs/digi-util-detect-focus-outside.cjs.entry.js +1 -1
- package/dist/cjs/digi-util-keydown-handler.cjs.entry.js +1 -1
- package/dist/cjs/digi-util-keyup-handler.cjs.entry.js +1 -1
- package/dist/cjs/digi-util-resize-observer.cjs.entry.js +1 -1
- package/dist/cjs/index-cfa8e9be.js +18 -30
- package/dist/cjs/index.cjs.js +22 -35
- package/dist/cjs/layout-block-container.enum-52ae6994.js +8 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{tools-feedback-variation.enum-4547e1e3.js → tools-feedback-variation.enum-2ac9956e.js} +0 -10
- package/dist/cjs/{layout-container-max-width.enum-7e637f44.js → typography-variation.enum-d7083728.js} +6 -7
- package/dist/collection/collection-manifest.json +0 -3
- package/dist/collection/components/_code/code-example/code-example.js +7 -5
- package/dist/collection/components/_loader/loader-spinner/loader-spinner.css +1 -0
- package/dist/collection/components/_navigation/navigation-context-menu/navigation-context-menu.css +85 -172
- package/dist/collection/components/_navigation/navigation-context-menu/navigation-context-menu.js +190 -62
- package/dist/collection/components/_navigation/navigation-context-menu-legacy/navigation-context-menu.js +5 -5
- package/dist/collection/components/_navigation/navigation-pagination/navigation-pagination.js +6 -6
- package/dist/collection/components/_navigation/navigation-sidebar/navigation-sidebar.js +2 -2
- package/dist/collection/components/_navigation/navigation-sidebar-button/navigation-sidebar-button.js +1 -1
- package/dist/collection/components/_navigation/navigation-tablist/navigation-tablist.js +5 -5
- package/dist/collection/components/_navigation/navigation-tablist-panel/tablist-panel.js +2 -2
- package/dist/collection/components/_navigation/navigation-vertical-menu/navigation-vertical-menu.js +1 -1
- package/dist/collection/components/_navigation/navigation-vertical-menu-item/navigation-vertical-menu-item.js +6 -6
- package/dist/collection/components/_notification/notification-alert/notification-alert.js +2 -2
- package/dist/collection/components/_notification/notification-error-page/illustrations/illustrations.js +7 -7
- package/dist/collection/components/_notification/notification-error-page/notification-error-page.js +3 -3
- package/dist/collection/components/_progress/progress-circle/progress-circle.js +12 -8
- package/dist/collection/components/_progress/progress-indicator/progress-indicator.js +7 -3
- package/dist/collection/components/_progress/progress-list/progress-list.js +1 -1
- package/dist/collection/components/_progress/progress-list-item/progress-list-item.js +5 -5
- package/dist/collection/components/_progress/progressbar/progressbar.js +2 -2
- package/dist/collection/components/_quote/quote/quote.js +1 -2
- package/dist/collection/components/_table/table/table.js +1 -1
- package/dist/collection/components/_tag/tag/tag.css +10 -0
- package/dist/collection/components/_tag/tag/tag.js +25 -1
- package/dist/collection/components/_tag/tag-media/tag-media.js +2 -2
- package/dist/collection/components/_tools/tools-feedback/tools-feedback.js +1 -1
- package/dist/collection/components/_tools/tools-feedback-banner/tools-feedback-banner.js +1 -1
- package/dist/collection/components/_tools/tools-feedback-rating/tools-feedback-rating.js +2 -2
- package/dist/collection/components/_tools/tools-languagepicker/tools-languagepicker.js +4 -4
- package/dist/collection/components/_typography/typography/typography.js +1 -1
- package/dist/collection/components/_typography/typography-heading-jumbo/typography-heading-jumbo.js +6 -2
- package/dist/collection/components/_typography/typography-meta/typography-meta.js +1 -1
- package/dist/collection/components/_typography/typography-preamble/typography-preamble.js +1 -1
- package/dist/collection/components/_typography/typography-time/typography-time.js +1 -1
- package/dist/collection/components/_util/util-breakpoint-observer/util-breakpoint-observer.js +1 -1
- package/dist/collection/components/_util/util-detect-click-outside/util-detect-click-outside.js +1 -1
- package/dist/collection/components/_util/util-detect-focus-outside/util-detect-focus-outside.js +1 -1
- package/dist/collection/components/_util/util-intersection-observer/util-intersection-observer.js +1 -1
- package/dist/collection/components/_util/util-keydown-handler/util-keydown-handler.js +1 -1
- package/dist/collection/components/_util/util-keyup-handler/util-keyup-handler.js +1 -1
- package/dist/collection/components/_util/util-resize-observer/util-resize-observer.js +1 -1
- package/dist/collection/design-tokens/components/_navigation-context-menu.variables.scss +3 -47
- package/dist/collection/design-tokens/css/variables.css +3 -0
- package/dist/collection/design-tokens/scss/variables.scss +3 -0
- package/dist/collection/design-tokens/styleguide/web.json +57 -0
- package/dist/collection/design-tokens/styleguide/web.scss +3 -0
- package/dist/collection/enums.js +0 -2
- package/dist/collection/interfaces.js +0 -1
- package/dist/digi-arbetsformedlingen/design-tokens/components/_navigation-context-menu.variables.scss +41 -45
- package/dist/digi-arbetsformedlingen/design-tokens/css/variables.css +3 -0
- package/dist/digi-arbetsformedlingen/design-tokens/scss/variables.scss +3 -0
- package/dist/digi-arbetsformedlingen/design-tokens/styleguide/web.json +57 -0
- package/dist/digi-arbetsformedlingen/design-tokens/styleguide/web.scss +3 -0
- 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-005c72ca.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-028dd0d4.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-5a7a3e3d.entry.js → p-04ca1ba6.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-0551a242.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-a64f6920.entry.js → p-0f485fa7.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-14368210.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-16aa5a85.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-b1759898.entry.js → p-1d3f7336.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a4727186.entry.js → p-20a65f1c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-2af9b440.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-d3ad14b2.entry.js → p-2f79bfcc.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-11a56b7a.entry.js → p-346297b2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ca626e5c.entry.js → p-349f73d9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-6b57023d.entry.js → p-3ee7d913.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-816ed242.entry.js → p-3fde4aec.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-40a81c4a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-edda9cea.entry.js → p-419d99f0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-4638e6b1.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-c2bec230.entry.js → p-48664690.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-4fa41b6b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-bbad90a7.entry.js → p-57665401.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-59d1de44.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-64609e83.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-61e92fa9.entry.js → p-66b0d3c6.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-0a6f6df3.entry.js → p-68886e60.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-699e385a.entry.js → p-7bbee718.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-7f4f58d5.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-81cac8dd.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-860e37c2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-8f42a48e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-9a53b638.entry.js → p-9657af86.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9d5f4dd0.entry.js → p-966ea804.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-9a06e85b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-cccdb2c8.entry.js → p-9d8d64fa.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-caf79640.entry.js → p-a6fcc0f7.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-a7970fe3.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-eb7ca274.entry.js → p-affe6eac.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-b77ea3a1.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-70d542da.entry.js → p-ba740002.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-bad82d8a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-bd56d622.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c16371b2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-7b7c092f.entry.js → p-c16e6afe.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-c2a5da97.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-8fc1143f.js → p-c2ee26cb.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c750cc28.entry.js → p-d630f2e9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9c72fecd.entry.js → p-e07fed59.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-e361c7bb.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-edd43c5d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ee5f2630.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-eedd8fdb.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-305a1547.entry.js → p-f0cdaac5.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-0873a381.entry.js → p-f427db52.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-22beda0f.entry.js → p-f84d9dea.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-fa7824e9.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-fa890d2b.entry.js +1 -0
- package/dist/esm/digi-arbetsformedlingen.js +1 -1
- package/dist/esm/digi-bar-chart.entry.js +1 -1
- package/dist/esm/digi-button_6.entry.js +243 -2298
- package/dist/esm/digi-calendar-datepicker.entry.js +3 -4
- package/dist/esm/digi-chart-line.entry.js +2310 -0
- package/dist/esm/digi-code-block_3.entry.js +3 -4
- package/dist/esm/digi-code-example.entry.js +7 -5
- package/dist/esm/digi-dialog.entry.js +3 -4
- package/dist/esm/digi-expandable-accordion.entry.js +3 -4
- package/dist/esm/digi-footer.entry.js +3 -4
- package/dist/esm/digi-form-error-list.entry.js +3 -4
- package/dist/esm/digi-form-receipt.entry.js +3 -4
- package/dist/esm/digi-form-select-filter.entry.js +3 -4
- package/dist/esm/digi-header-navigation.entry.js +3 -4
- package/dist/esm/digi-header.entry.js +3 -4
- package/dist/esm/digi-icon-chart_2.entry.js +48 -0
- package/dist/esm/digi-icon-language-outline_4.entry.js +5 -5
- package/dist/esm/digi-icon-x.entry.js +26 -0
- package/dist/esm/digi-layout-block.entry.js +43 -0
- package/dist/esm/digi-loader-spinner.entry.js +1 -1
- package/dist/esm/digi-logo_2.entry.js +1 -1
- package/dist/esm/digi-media-image_2.entry.js +1 -1
- package/dist/esm/digi-navigation-pagination.entry.js +9 -10
- package/dist/esm/digi-navigation-sidebar.entry.js +2 -2
- package/dist/esm/digi-navigation-vertical-menu-item.entry.js +6 -6
- package/dist/esm/digi-navigation-vertical-menu.entry.js +1 -1
- package/dist/esm/digi-notification-alert.entry.js +5 -6
- package/dist/esm/digi-notification-error-page.entry.js +7 -15
- package/dist/esm/digi-progress-circle.entry.js +12 -8
- package/dist/esm/digi-progress-indicator.entry.js +7 -3
- package/dist/esm/digi-progress-list-item.entry.js +5 -5
- package/dist/esm/digi-progress-list.entry.js +1 -1
- package/dist/esm/digi-progressbar.entry.js +2 -2
- package/dist/esm/digi-quote.entry.js +1 -1
- package/dist/esm/digi-table.entry.js +1 -1
- package/dist/esm/digi-tablist-panel.entry.js +2 -2
- package/dist/esm/digi-tablist.entry.js +5 -5
- package/dist/esm/digi-tag-media.entry.js +2 -2
- package/dist/esm/digi-tag.entry.js +3 -2
- package/dist/esm/digi-tools-feedback-banner.entry.js +1 -1
- package/dist/esm/digi-tools-feedback-rating.entry.js +2 -2
- package/dist/esm/digi-tools-feedback.entry.js +4 -5
- package/dist/esm/digi-tools-languagepicker.entry.js +3 -3
- package/dist/esm/digi-typography-heading-jumbo.entry.js +6 -2
- package/dist/esm/digi-typography-meta.entry.js +1 -1
- package/dist/esm/digi-typography-preamble.entry.js +1 -1
- package/dist/esm/digi-typography-time.entry.js +1 -1
- package/dist/esm/digi-util-breakpoint-observer.entry.js +1 -1
- package/dist/esm/digi-util-detect-click-outside.entry.js +1 -1
- package/dist/esm/digi-util-detect-focus-outside.entry.js +1 -1
- package/dist/esm/digi-util-keydown-handler.entry.js +1 -1
- package/dist/esm/digi-util-keyup-handler.entry.js +1 -1
- package/dist/esm/digi-util-resize-observer.entry.js +1 -1
- package/dist/esm/index-8e318bb2.js +18 -30
- package/dist/esm/index.js +3 -4
- package/dist/esm/layout-block-container.enum-29d52ee9.js +8 -0
- package/dist/esm/{linear-f59f8318.js → linear-ef018ffb.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{tools-feedback-variation.enum-92d10df2.js → tools-feedback-variation.enum-45abb679.js} +1 -11
- package/dist/esm/{layout-container-max-width.enum-c40018ac.js → typography-variation.enum-d9fdbf06.js} +7 -8
- package/dist/types/components/_code/code-example/code-example.d.ts +1 -0
- package/dist/types/components/_navigation/navigation-context-menu/navigation-context-menu.d.ts +52 -14
- package/dist/types/components/_navigation/navigation-context-menu/navigation-context-menu.types.d.ts +7 -3
- package/dist/types/components/_progress/progress-circle/progress-circle.d.ts +4 -0
- package/dist/types/components/_progress/progress-indicator/progress-indicator.d.ts +4 -0
- package/dist/types/components/_quote/quote/quote.d.ts +0 -1
- package/dist/types/components/_tag/tag/tag.d.ts +4 -0
- package/dist/types/components/_tools/tools-languagepicker/tools-languagepicker.d.ts +1 -1
- package/dist/types/components/_typography/typography-heading-jumbo/typography-heading-jumbo.d.ts +4 -0
- package/dist/types/components.d.ts +77 -220
- package/dist/types/enums.d.ts +0 -2
- package/dist/types/interfaces.d.ts +0 -1
- package/hydrate/index.js +250 -451
- package/hydrate/index.mjs +250 -451
- package/package.json +1 -1
- package/components/digi-navigation-dropdown.d.ts +0 -11
- package/components/digi-navigation-dropdown.js +0 -6
- package/components/digi-quote-multi-container.d.ts +0 -11
- package/components/digi-quote-multi-container.js +0 -39
- package/components/digi-quote-single.d.ts +0 -11
- package/components/digi-quote-single.js +0 -63
- package/components/p-3f827c1d.js +0 -39
- package/components/p-8fa816d6.js +0 -8
- package/components/p-e308ef6b.js +0 -221
- package/dist/cjs/digi-context-menu.cjs.entry.js +0 -132
- 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-layout-block_2.cjs.entry.js +0 -92
- package/dist/cjs/digi-navigation-dropdown.cjs.entry.js +0 -188
- package/dist/cjs/digi-quote-multi-container.cjs.entry.js +0 -23
- package/dist/cjs/digi-quote-single.cjs.entry.js +0 -33
- package/dist/cjs/quote-single-variation.enum-53f94dbc.js +0 -8
- package/dist/cjs/typography-variation.enum-5b035b3b.js +0 -7
- package/dist/collection/components/_navigation/navigation-dropdown/navigation-dropdown.css +0 -319
- package/dist/collection/components/_navigation/navigation-dropdown/navigation-dropdown.js +0 -539
- package/dist/collection/components/_navigation/navigation-dropdown/navigation-dropdown.types.js +0 -1
- package/dist/collection/components/_quote/quote-multi-container/quote-multi-container-heading-level.enum.js +0 -9
- package/dist/collection/components/_quote/quote-multi-container/quote-multi-container.css +0 -26
- package/dist/collection/components/_quote/quote-multi-container/quote-multi-container.js +0 -86
- package/dist/collection/components/_quote/quote-single/quote-single-variation.enum.js +0 -6
- package/dist/collection/components/_quote/quote-single/quote.css +0 -324
- package/dist/collection/components/_quote/quote-single/quote.js +0 -141
- package/dist/collection/design-tokens/components/_quote-quote-multi-container.variables.scss +0 -5
- package/dist/collection/design-tokens/components/_quote-single.variables.scss +0 -14
- package/dist/digi-arbetsformedlingen/design-tokens/components/_quote-quote-multi-container.variables.scss +0 -5
- package/dist/digi-arbetsformedlingen/design-tokens/components/_quote-single.variables.scss +0 -14
- package/dist/digi-arbetsformedlingen/p-02646d18.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0eac1bee.js +0 -1
- package/dist/digi-arbetsformedlingen/p-125dd887.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-167234fc.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-195cf497.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-25faef21.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-300aa9ef.js +0 -1
- package/dist/digi-arbetsformedlingen/p-331e95be.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4028ad65.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-45fe2828.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4c6f74fb.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4e9b1820.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-51706444.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7cb35359.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-81e86ac1.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-848aa358.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-87c1f5c7.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8fa816d6.js +0 -1
- package/dist/digi-arbetsformedlingen/p-903b00e6.js +0 -1
- package/dist/digi-arbetsformedlingen/p-994395cb.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a06dd644.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a272c883.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a6d806e5.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d7fe697e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-de4c4238.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e092908a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e661462a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e8ae7a8d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f2339f8e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f4c3f47e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-fb8ac3de.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-fc4dc147.entry.js +0 -1
- package/dist/esm/digi-context-menu.entry.js +0 -128
- 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-layout-block_2.entry.js +0 -87
- package/dist/esm/digi-navigation-dropdown.entry.js +0 -184
- package/dist/esm/digi-quote-multi-container.entry.js +0 -19
- package/dist/esm/digi-quote-single.entry.js +0 -29
- package/dist/esm/quote-single-variation.enum-be92a9f7.js +0 -8
- package/dist/esm/typography-variation.enum-38d1ef90.js +0 -7
- package/dist/types/components/_navigation/navigation-dropdown/navigation-dropdown.d.ts +0 -44
- package/dist/types/components/_navigation/navigation-dropdown/navigation-dropdown.types.d.ts +0 -18
- package/dist/types/components/_quote/quote-multi-container/quote-multi-container-heading-level.enum.d.ts +0 -8
- package/dist/types/components/_quote/quote-multi-container/quote-multi-container.d.ts +0 -25
- package/dist/types/components/_quote/quote-single/quote-single-variation.enum.d.ts +0 -5
- package/dist/types/components/_quote/quote-single/quote.d.ts +0 -40
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-cfa8e9be.js');
|
|
6
|
-
const toolsFeedbackVariation_enum = require('./tools-feedback-variation.enum-
|
|
6
|
+
const toolsFeedbackVariation_enum = require('./tools-feedback-variation.enum-2ac9956e.js');
|
|
7
7
|
const randomIdGenerator_util = require('./randomIdGenerator.util-e7f4b6de.js');
|
|
8
8
|
require('./badge-notification-shape.enum-ff802554.js');
|
|
9
9
|
require('./badge-status-variation.enum-0a5adc21.js');
|
|
@@ -28,9 +28,10 @@ require('./form-textarea-variation.enum-9c90d40f.js');
|
|
|
28
28
|
require('./form-validation-message-variation.enum-855ae0be.js');
|
|
29
29
|
require('./info-card-multi-type.enum-14746572.js');
|
|
30
30
|
require('./info-card-variation.enum-64cef637.js');
|
|
31
|
-
require('./layout-container
|
|
31
|
+
require('./layout-block-container.enum-52ae6994.js');
|
|
32
32
|
require('./layout-block-variation.enum-f6102119.js');
|
|
33
33
|
require('./layout-columns-variation.enum-65675649.js');
|
|
34
|
+
require('./typography-variation.enum-d7083728.js');
|
|
34
35
|
require('./layout-media-object-alignment.enum-81c8e205.js');
|
|
35
36
|
require('./link-button-variation.enum-6c51aa80.js');
|
|
36
37
|
require('./link-external-variation.enum-4865305c.js');
|
|
@@ -50,7 +51,6 @@ require('./progress-list-item-variation.enum-90e4c874.js');
|
|
|
50
51
|
require('./progress-list-variation.enum-06d5ce27.js');
|
|
51
52
|
require('./progressbar-variation.enum-aff9fa80.js');
|
|
52
53
|
require('./quote-image-inner-position.enum-e64e7a6d.js');
|
|
53
|
-
require('./quote-single-variation.enum-53f94dbc.js');
|
|
54
54
|
require('./table-variation.enum-25df2ad7.js');
|
|
55
55
|
require('./tag-media-icon.enum-372563c5.js');
|
|
56
56
|
require('./tag-size.enum-0a6be639.js');
|
|
@@ -59,15 +59,13 @@ require('./tools-feedback-rating-variation.enum-2f71e84d.js');
|
|
|
59
59
|
require('./typography-heading-jumbo-variation.enum-8677e099.js');
|
|
60
60
|
require('./typography-meta-variation.enum-13ac3538.js');
|
|
61
61
|
require('./typography-time-variation.enum-bce1d87e.js');
|
|
62
|
-
require('./typography-variation.enum-5b035b3b.js');
|
|
63
62
|
const utilBreakpointObserverBreakpoints_enum = require('./util-breakpoint-observer-breakpoints.enum-e96d3a84.js');
|
|
64
63
|
|
|
65
64
|
/* eslint-disable max-len */
|
|
66
65
|
const notificationIllustrations = {
|
|
67
66
|
'ill-401': {
|
|
68
67
|
NotificationIllustrationComponent(children) {
|
|
69
|
-
return (index.h("svg", { width: "296.9px", height: "336.8px", viewBox: "0 0 296.9 336.8", version: "1.1", xmlns: "http://www.w3.org/2000/svg" },
|
|
70
|
-
index.h("title", null, "ill-401-dskt"),
|
|
68
|
+
return (index.h("svg", { "aria-hidden": "true", width: "296.9px", height: "336.8px", viewBox: "0 0 296.9 336.8", version: "1.1", xmlns: "http://www.w3.org/2000/svg" },
|
|
71
69
|
children,
|
|
72
70
|
index.h("g", { id: "Symboler", stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd" },
|
|
73
71
|
index.h("g", { id: "base-symbols/svg/deskt/401", transform: "translate(-174.100000, -2.100000)" },
|
|
@@ -84,7 +82,6 @@ const notificationIllustrations = {
|
|
|
84
82
|
'ill-403': {
|
|
85
83
|
NotificationIllustrationComponent(children) {
|
|
86
84
|
return (index.h("svg", { width: "320.880434px", height: "348.880002px", viewBox: "0 0 320.880434 348.880002", version: "1.1", xmlns: "http://www.w3.org/2000/svg" },
|
|
87
|
-
index.h("title", null, "ill-403-dskt"),
|
|
88
85
|
children,
|
|
89
86
|
index.h("g", { id: "Symboler", stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd" },
|
|
90
87
|
index.h("g", { id: "base-symbols/svg/deskt/403", transform: "translate(-154.559953, -2.560000)" },
|
|
@@ -109,7 +106,6 @@ const notificationIllustrations = {
|
|
|
109
106
|
'ill-404': {
|
|
110
107
|
NotificationIllustrationComponent(children) {
|
|
111
108
|
return (index.h("svg", { width: "351.88px", height: "283.88px", viewBox: "0 0 351.88 283.88", version: "1.1", xmlns: "http://www.w3.org/2000/svg" },
|
|
112
|
-
index.h("title", null, "ill-404-dskt"),
|
|
113
109
|
children,
|
|
114
110
|
index.h("g", { id: "Symboler", stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd" },
|
|
115
111
|
index.h("g", { id: "base-symbols/svg/deskt/404", transform: "translate(-119.560000, -1.560000)" },
|
|
@@ -143,7 +139,6 @@ const notificationIllustrations = {
|
|
|
143
139
|
'ill-410': {
|
|
144
140
|
NotificationIllustrationComponent(children) {
|
|
145
141
|
return (index.h("svg", { width: "450.667027px", height: "312.33355px", viewBox: "0 0 450.667027 312.33355", version: "1.1", xmlns: "http://www.w3.org/2000/svg" },
|
|
146
|
-
index.h("title", null, "ill-410-dskt"),
|
|
147
142
|
children,
|
|
148
143
|
index.h("defs", null,
|
|
149
144
|
index.h("polygon", { id: "path-1", points: "0 0 32.3885059 0 32.3885059 56.5918546 0 56.5918546" })),
|
|
@@ -182,7 +177,6 @@ const notificationIllustrations = {
|
|
|
182
177
|
'ill-500': {
|
|
183
178
|
NotificationIllustrationComponent(children) {
|
|
184
179
|
return (index.h("svg", { width: "358.675px", height: "317.675px", viewBox: "0 0 358.675 317.675", version: "1.1", xmlns: "http://www.w3.org/2000/svg" },
|
|
185
|
-
index.h("title", null, "ill-500-dskt"),
|
|
186
180
|
children,
|
|
187
181
|
index.h("g", { id: "Symboler", stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd" },
|
|
188
182
|
index.h("g", { id: "base-symbols/svg/deskt/500", transform: "translate(-115.162500, -11.162500)" },
|
|
@@ -202,7 +196,6 @@ const notificationIllustrations = {
|
|
|
202
196
|
'ill-503': {
|
|
203
197
|
NotificationIllustrationComponent(children) {
|
|
204
198
|
return (index.h("svg", { width: "310", height: "349", viewBox: "0 0 310 349", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
205
|
-
index.h("title", null, "ill-503"),
|
|
206
199
|
children,
|
|
207
200
|
index.h("path", { d: "M178.013 33.1343V40.3293C178.013 51.8662 171.598 62.2979 161.256 67.5533H161.245C161.065 67.6548 160.918 67.7675 160.794 67.9029C158.262 69.9554 156.754 73.0341 156.754 76.2257V133.109H143.981V84.9545H140.605V133.109H127.832V76.2257C127.832 73.0341 126.335 69.9554 123.814 67.9141C123.679 67.7675 123.522 67.6548 123.342 67.5645C112.999 62.3092 106.574 51.8775 106.574 40.3293V33.1343C106.574 19.6238 115.678 7.64711 128.496 3.86914V36.9574C128.496 42.0774 132.66 46.25 137.78 46.25H146.817C151.938 46.25 156.09 42.0774 156.09 36.9574V3.86914C168.92 7.64711 178.013 19.6238 178.013 33.1343Z", fill: "white" }),
|
|
208
201
|
index.h("path", { d: "M178.013 308.26V315.466C178.013 328.966 168.92 340.954 156.09 344.72V311.643C156.09 306.512 151.938 302.339 146.817 302.339H137.78C132.66 302.339 128.496 306.512 128.496 311.643V344.72C115.678 340.954 106.574 328.966 106.574 315.466V308.26C106.574 296.723 112.999 286.292 123.342 281.036C123.342 281.036 123.353 281.036 123.353 281.025C123.533 280.935 123.679 280.822 123.814 280.687C126.335 278.634 127.832 275.555 127.832 272.375V248.828H140.605V263.635H143.981V248.828H156.754V272.375C156.754 275.657 158.352 278.837 161.031 280.89C161.098 280.935 161.177 280.991 161.245 281.036C161.267 281.047 161.278 281.047 161.301 281.059C161.312 281.07 161.323 281.07 161.323 281.07C161.335 281.07 161.346 281.07 161.357 281.093C171.632 286.359 178.013 296.757 178.013 308.26Z", fill: "white" }),
|
|
@@ -227,7 +220,6 @@ const notificationIllustrations = {
|
|
|
227
220
|
'ill-504': {
|
|
228
221
|
NotificationIllustrationComponent(children) {
|
|
229
222
|
return (index.h("svg", { width: "336.450496px", height: "356.8025px", viewBox: "0 0 336.450496 356.8025", version: "1.1", xmlns: "http://www.w3.org/2000/svg" },
|
|
230
|
-
index.h("title", null, "ill-504-dskt"),
|
|
231
223
|
children,
|
|
232
224
|
index.h("g", { id: "Symboler", stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd" },
|
|
233
225
|
index.h("g", { id: "base-symbols/svg/deskt/504", transform: "translate(-138.352004, -3.000000)" },
|
|
@@ -380,15 +372,15 @@ const NotificationErrorPage = class {
|
|
|
380
372
|
}
|
|
381
373
|
}
|
|
382
374
|
render() {
|
|
383
|
-
return (index.h(index.Host, { key: '
|
|
375
|
+
return (index.h(index.Host, { key: '69b1211fc7d3d4db840c8e1123e257089fdd8e0f' }, index.h("digi-layout-container", { key: 'c2d0853971479bed66da16ec998026d3e4ac5563', class: {
|
|
384
376
|
'digi-notification-error-page': true,
|
|
385
377
|
'digi-notification-error-page--mobile': this.isMobile
|
|
386
|
-
}, id: this.afId }, index.h("digi-typography", { key: '
|
|
378
|
+
}, id: this.afId }, index.h("digi-typography", { key: 'd2e5b8f0fce07cd7cfa06644ca8f436195511450' }, index.h("digi-util-breakpoint-observer", { key: 'aaa01436570a3e2daa311c8a10a54d4b70d0f0bb', onAfOnChange: (e) => {
|
|
387
379
|
const val = e.detail.value;
|
|
388
380
|
this.isMobile =
|
|
389
381
|
val === utilBreakpointObserverBreakpoints_enum.UtilBreakpointObserverBreakpoints.SMALL ||
|
|
390
382
|
val === utilBreakpointObserverBreakpoints_enum.UtilBreakpointObserverBreakpoints.MEDIUM;
|
|
391
|
-
} }), index.h("div", { key: '
|
|
383
|
+
} }), index.h("div", { key: '8de7e47b2bb931e958b8b102f4a6494e9ec585a9', class: "digi-notification-error-page__grid" }, index.h("div", { key: '9c569fb53b9f2ccb151e610e337833548367da54', class: "digi-notification-error-page__picture" }, this.currentIllustration ? (index.h(this.currentIllustration, null)) : null), index.h("div", { key: 'd378738a817d498298bd56110480bff977de340e', class: "digi-notification-error-page__content" }, index.h("h1", { key: 'b6d765c168c40d0ab4cdac4459d6ddd2bf16dce9', class: "digi-notification-error-page__content__heading", tabIndex: -1 }, this.getText().heading), this.hasBodyText ? (index.h("div", { class: "digi-notification-error-page__content__bodytext" }, index.h("slot", { name: "bodytext" }))) : (index.h("div", { class: "digi-notification-error-page__content__bodytext" }, index.h("div", { innerHTML: this.getText().body }))), this.hasSearch && (index.h("div", { key: '402a4ea8c2783706b25f0d1053c34c7faef353b9', class: "digi-notification-error-page__content__search" }, index.h("slot", { key: '270dfcc9e84cac8da44f186010295e4da827e8e6', name: "search" }))), this.hasLinks && (index.h("div", { key: '9a4154b3ab9775ad0690af8bcb32389dd896ace6', class: "digi-notification-error-page__content__links" }, index.h("slot", { key: 'd2d0ea4f25126989b86181ac61651a9d0de0431e', name: "links" })))))))));
|
|
392
384
|
}
|
|
393
385
|
get hostElement() { return index.getElement(this); }
|
|
394
386
|
static get watchers() { return {
|
|
@@ -44,6 +44,10 @@ const ProgressCircle = class {
|
|
|
44
44
|
changeCompletedStepsHandler(value) {
|
|
45
45
|
this.completedSteps = value;
|
|
46
46
|
}
|
|
47
|
+
/**
|
|
48
|
+
* Lyssnar på om fokus sätts på custom-elementet och propagerar ner det till själva rubrik-elementet.
|
|
49
|
+
* @en Listens for when focus is set on the custom element and propagates it down to the actual heading element.
|
|
50
|
+
*/
|
|
47
51
|
focusOnHeading() {
|
|
48
52
|
this.headingElement.focus();
|
|
49
53
|
}
|
|
@@ -60,20 +64,20 @@ const ProgressCircle = class {
|
|
|
60
64
|
return;
|
|
61
65
|
}
|
|
62
66
|
render() {
|
|
63
|
-
return (index.h("div", { key: '
|
|
67
|
+
return (index.h("div", { key: '313f925e9c663a767f0c187f2e0c28419f05b717', class: this.cssModifiers, role: this.afRole === ProgressCircleRole.STATUS
|
|
64
68
|
? ProgressCircleRole.STATUS
|
|
65
|
-
: null }, index.h("div", { key: '
|
|
66
|
-
' 15', pathLength: "1000" }))), index.h("g", { key: '
|
|
67
|
-
' 1000', pathLength: "1000" }), this.afWarningStep && (index.h("circle", { key: '
|
|
68
|
-
(this.afCompletedSteps - 1), pathLength: "1000" })), this.afErrorStep && (index.h("circle", { key: '
|
|
69
|
-
(this.afCompletedSteps - 1), pathLength: "1000" }))))), index.h("div", { key: '
|
|
69
|
+
: null }, index.h("div", { key: 'efa8f433e6d8c0191167788b5b37e6468bd4488e', class: "digi-progress-circle__circle-wrapper" }, index.h("div", { key: '67b7980b3747f2b5f714e6f186e22e65985cdcfd', class: "digi-progress-circle__circle" }, index.h("p", { key: '6beab3bd347292e640450750265f8f392b968017', class: "digi-progress-circle__circle-label", "aria-label": `${this.afCompletedSteps} ${this.afStepsSeparator} ${this.afTotalSteps}` }, this.afCompletedSteps, " ", this.afStepsSeparator, ' ', this.afTotalSteps, ' '), index.h("svg", { key: '475b126c34edf9e3da66a23108f177291c941918', width: this.radius * 2, height: this.radius * 2 }, index.h("defs", { key: '26cce0f47c702093546592ee194a05624475b7a9' }, index.h("mask", { key: '485c7ca4564d1c16a4b2f6a749cfc4f372dfc7b8', id: this.afId }, index.h("circle", { key: '0594753f47a8fb563b52992eeb204c4c5373962e', cx: this.radius, cy: this.radius, r: this.radius - this.stroke * 2, fill: "none", stroke: "white", "stroke-width": this.stroke, "stroke-dasharray": (1000 - this.afTotalSteps * 15) / this.afTotalSteps +
|
|
70
|
+
' 15', pathLength: "1000" }))), index.h("g", { key: '019dff70966a9bcf92920a3a6d41a8a856a97aa0' }, index.h("circle", { key: '7e581598ae735eb3c9a165f12fa1736421afb3bd', class: "digi-progress-circle__circle-step-unfinished", mask: `url(#${this.afId})`, cx: this.radius, cy: this.radius, r: this.radius - this.stroke * 2, fill: "none", "stroke-width": this.stroke }), index.h("circle", { key: '8ea320289a4d28e43577e2b752540458ddd17278', class: "digi-progress-circle__circle-step-completed", mask: `url(#${this.afId})`, cx: this.radius, cy: this.radius, r: this.radius - this.stroke * 2, fill: "none", "stroke-width": this.stroke, "stroke-dasharray": (1000 / this.totalSteps.length) * this.afCompletedSteps +
|
|
71
|
+
' 1000', pathLength: "1000" }), this.afWarningStep && (index.h("circle", { key: '981935dcfe69e5fce609e78b10c6dde2979ddc72', class: "digi-progress-circle__circle-step-warning", mask: `url(#${this.afId})`, cx: this.radius, cy: this.radius, r: this.radius - this.stroke * 2, fill: "none", "stroke-width": this.stroke, "stroke-dasharray": (1000 / this.totalSteps.length) * 1 + ' 1000', "stroke-dashoffset": -(1000 / this.totalSteps.length) *
|
|
72
|
+
(this.afCompletedSteps - 1), pathLength: "1000" })), this.afErrorStep && (index.h("circle", { key: '430052951101efa1f38b2464ea55c8fd5d1a381a', class: "digi-progress-circle__circle-step-error", mask: `url(#${this.afId})`, cx: this.radius, cy: this.radius, r: this.radius - this.stroke * 2, fill: "none", "stroke-width": this.stroke, "stroke-dasharray": (1000 / this.totalSteps.length) * 1 + ' 1000', "stroke-dashoffset": -(1000 / this.totalSteps.length) *
|
|
73
|
+
(this.afCompletedSteps - 1), pathLength: "1000" }))))), index.h("div", { key: '1d416f43064725e8028be4ec3535abcfe2fee45d', class: "digi-progress-circle__content" }, this.renderHeading(), this.afCompletedSteps === this.afTotalSteps && (index.h("p", { key: 'cdfed2655943bd9db4a5700d5026e48e7045009f', class: "digi-progress-circle__next digi-progress-circle__next--circle", style: {
|
|
70
74
|
visibility: 'hidden'
|
|
71
|
-
} }, `${this.afStepNextText} ${this.afStepNextLabel}`)), this.afCompletedSteps != this.afTotalSteps && (index.h("p", { key: '
|
|
75
|
+
} }, `${this.afStepNextText} ${this.afStepNextLabel}`)), this.afCompletedSteps != this.afTotalSteps && (index.h("p", { key: 'f917fb0a169becaf6291c4681c228b0d2d53965b', class: "digi-progress-circle__next digi-progress-circle__next--circle", style: {
|
|
72
76
|
visibility: this.afStepNextLabel !== null &&
|
|
73
77
|
this.afStepNextLabel !== undefined
|
|
74
78
|
? 'visible'
|
|
75
79
|
: 'hidden'
|
|
76
|
-
} }, `${this.afStepNextText} ${this.afStepNextLabel}`)))), this.afValidationLabel && this.afWarningStep > 0 && (index.h("p", { key: '
|
|
80
|
+
} }, `${this.afStepNextText} ${this.afStepNextLabel}`)))), this.afValidationLabel && this.afWarningStep > 0 && (index.h("p", { key: 'a80cdd18ffa18536b68926c3b59de5c2b2da5db4', class: "digi-progress-circle__validation-label digi-progress-circle__validation-label--warning" }, index.h("digi-icon-validation-warning", { key: '372bf47ba739af7528da52e053a187371e82d6e0', class: "digi-progress-circle__icon--warning" }), index.h("span", { key: 'a3dd19434e4ca601cc88aa3944a3707a81a3438f' }, this.afValidationLabel))), this.afValidationLabel && this.afErrorStep > 0 && (index.h("p", { key: '5179e5145a9bf1d0cffca68b3bca92d429e2caa9', class: "digi-progress-circle__validation-label digi-progress-circle__validation-label--error" }, index.h("digi-icon-validation-error", { key: '59123cb52600064e9c53dcf754c597094de92d24', class: "digi-progress-circle__icon--error" }), index.h("span", { key: 'ca983c8a656a8e415d740142493bac7afbcef246' }, this.afValidationLabel)))));
|
|
77
81
|
}
|
|
78
82
|
get hostElement() { return index.getElement(this); }
|
|
79
83
|
static get watchers() { return {
|
|
@@ -74,6 +74,10 @@ const ProgressIndicator = class {
|
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
+
/**
|
|
78
|
+
* Lyssnar på om fokus sätts på custom-elementet och propagerar ner det till själva rubrik-elementet.
|
|
79
|
+
* @en Listens for when focus is set on the custom element and propagates it down to the actual heading element.
|
|
80
|
+
*/
|
|
77
81
|
focusOnHeading() {
|
|
78
82
|
this.headingElement.focus();
|
|
79
83
|
}
|
|
@@ -92,9 +96,9 @@ const ProgressIndicator = class {
|
|
|
92
96
|
return;
|
|
93
97
|
}
|
|
94
98
|
render() {
|
|
95
|
-
return (index.h("div", { key: '
|
|
99
|
+
return (index.h("div", { key: '129050ed3f0aecee43976870d8c3fe834ab498fa', class: this.cssModifiers, role: this.afRole === progressIndicatorVariation_enum.ProgressIndicatorRole.STATUS
|
|
96
100
|
? progressIndicatorVariation_enum.ProgressIndicatorRole.STATUS
|
|
97
|
-
: null }, index.h("div", { key: '
|
|
101
|
+
: null }, index.h("div", { key: 'ec760ad17be307e7078188b5f355f14008bd939d' }, this.afStepNextLabel !== undefined ? (index.h("div", { class: "digi-progress-indicator__content" }, this.renderHeading(), this.afCompletedSteps != this.afTotalSteps && (index.h("p", { class: "digi-progress-indicator__next", style: {
|
|
98
102
|
visibility: this.afStepNextLabel !== null &&
|
|
99
103
|
this.afStepNextLabel !== undefined
|
|
100
104
|
? 'visible'
|
|
@@ -120,7 +124,7 @@ const ProgressIndicator = class {
|
|
|
120
124
|
progressIndicatorVariation_enum.ProgressIndicatorVariation.SECONDARY &&
|
|
121
125
|
item.checked &&
|
|
122
126
|
this.afCompletedSteps !== index$1 + 1 && (index.h("digi-icon-check", { class: "digi-progress-indicator__icon" })), index.h("span", { class: "digi-progress-indicator__step-number" }, index$1 + 1))));
|
|
123
|
-
}))), this.afStepNextLabel !== undefined && (index.h("p", { key: '
|
|
127
|
+
}))), this.afStepNextLabel !== undefined && (index.h("p", { key: 'd22d8344fdec62143e0147e701c011ce7e189eac', class: "digi-progress-indicator__label" }, index.h("span", { key: '9a66cc1d054ce853a014acf2a5cbad43a1ac3e19' }, `${this.afStepText}`, " "), index.h("span", { key: '68bfada37c4de1fee2ec4e53ceb467831832f947', class: "digi-progress-indicator__label--steps" }, `${this.afCompletedSteps} ${this.afStepsSeparator} ${this.afTotalSteps}`)))), this.afValidationLabel && this.afWarningStep > 0 && (index.h("p", { key: 'd0b2f915f238245bd993401c9e16f17190258508', class: "digi-progress-indicator__validation-label digi-progress-indicator__validation-label--warning" }, index.h("digi-icon-validation-warning", { key: '29ce0863e62eae150df7d327d79eb516bb2d6d20', class: "digi-progress-indicator__icon--warning" }), index.h("span", { key: 'c360860b68c279fdb61441cb2d2d21e9b0b18101' }, this.afValidationLabel))), this.afValidationLabel && this.afErrorStep > 0 && (index.h("p", { key: '40839ee9f09d34803a7cf4e3800be15bfb5d8532', class: "digi-progress-indicator__validation-label digi-progress-indicator__validation-label--error" }, index.h("digi-icon-validation-error", { key: '81cde2de59b5d0b8965a96e2c23fdb1a586be862', class: "digi-progress-indicator__icon--error" }), index.h("span", { key: 'b9a33dcce30760da08233f6333acd425392d11e3' }, this.afValidationLabel))), index.h("div", { key: '1dcd28b87affe8aea016a0a47bacee08b2eac637', hidden: true, class: "digi-progress-indicator__slot" }, index.h("digi-util-mutation-observer", { key: '1d2f85e12f722cf8e322f89efcb109a377d2c09a', ref: (el) => (this._observer = el), onAfOnChange: () => this.getItems() }, index.h("slot", { key: 'f12c39b8602f924929873b075acb04a57bac3f12' })))));
|
|
124
128
|
}
|
|
125
129
|
get hostElement() { return index.getElement(this); }
|
|
126
130
|
static get watchers() { return {
|
|
@@ -79,7 +79,7 @@ const ProgressListItem = class {
|
|
|
79
79
|
}
|
|
80
80
|
render() {
|
|
81
81
|
const ariaCurrent = this.afStepStatus == progressListItemVariation_enum.ProgressListItemStatus.CURRENT ? 'step' : 'false';
|
|
82
|
-
return (index.h(index.Host, { key: '
|
|
82
|
+
return (index.h(index.Host, { key: 'c527e33ef4dfe0504c747f8643c45b2c21344533', role: "listitem", "aria-current": ariaCurrent }, index.h("div", { key: 'c91f73ec86c55b767523160771fb70bfcc71bf4c', class: {
|
|
83
83
|
'digi-progress-list-item': true,
|
|
84
84
|
'digi-progress-list-item--expanded': this.afExpandable && this.afExpanded,
|
|
85
85
|
[`digi-progress-list-item--${this.afStepStatus}`]: true,
|
|
@@ -87,18 +87,18 @@ const ProgressListItem = class {
|
|
|
87
87
|
'digi-progress-list-item--primary': this.afVariation == progressListItemVariation_enum.ProgressListItemVariation.PRIMARY,
|
|
88
88
|
'digi-progress-list-item--secondary': this.afVariation == progressListItemVariation_enum.ProgressListItemVariation.SECONDARY,
|
|
89
89
|
'digi-progress-list-item--tertiary': this.afVariation == progressListItemVariation_enum.ProgressListItemVariation.TERTIARY
|
|
90
|
-
} }, index.h("span", { key: '
|
|
90
|
+
} }, index.h("span", { key: '380e428b67ed7c033b6add22ea7f8d3734cf7a38', class: "digi-progress-list-item__indicator" }, index.h("span", { key: '4e440c6b736d91bda35c6bc7ce6c1c9c783be777', class: {
|
|
91
91
|
'digi-progress-list-item__indicator--circle': this.afType == progressListItemVariation_enum.ProgressListItemType.CIRCLE,
|
|
92
92
|
'digi-progress-list-item__indicator--icon': this.afType == progressListItemVariation_enum.ProgressListItemType.ICON
|
|
93
|
-
} }, this.renderStatusIcon()), index.h("span", { key: '
|
|
93
|
+
} }, this.renderStatusIcon()), index.h("span", { key: '2d8f62b655a505350f68dbcbe2ae409458f2b02e', class: "digi-progress-list-item__indicator--line" })), index.h("div", { key: 'db7136beb9e99297a139b30adfad5d8d72a00a94', class: {
|
|
94
94
|
'digi-progress-list-item__wrapper': true,
|
|
95
95
|
'digi-progress-list-item__wrapper--last': this.afIsLast
|
|
96
|
-
} }, index.h("div", { key: '
|
|
96
|
+
} }, index.h("div", { key: 'e38ba65ea5235c4567beb15cf82f344eb5204597', class: "digi-progress-list-item__header" }, index.h(this.afHeadingLevel, { key: '77b6a655561af992fdbd9a61b446c5adf041d375', class: "digi-progress-list-item__header--heading", id: `${this.afId}--heading` }, this.renderHeading())), index.h("div", { key: '92dbfab6b9cee06e5893c1f068fe4ef659efb161', class: {
|
|
97
97
|
'digi-progress-list-item__content': true,
|
|
98
98
|
'digi-progress-list-item__content--expandable': this.afExpandable,
|
|
99
99
|
'digi-progress-list-item__content--hidden': this.afExpandable && !this.afExpanded,
|
|
100
100
|
'digi-progress-list-item__content--visible': !this.afExpandable || (this.afExpandable && this.afExpanded)
|
|
101
|
-
}, id: `${this.afId}-content` }, index.h("div", { key: '
|
|
101
|
+
}, id: `${this.afId}-content` }, index.h("div", { key: 'c01a10d5f6210befae10f96c874ce9ed93f18176' }, index.h("slot", { key: '6cfc2f43a2edf8ab7e73f2ac4837b340083ab489' })))))));
|
|
102
102
|
}
|
|
103
103
|
get hostElement() { return index.getElement(this); }
|
|
104
104
|
};
|
|
@@ -106,7 +106,7 @@ const ProgressList = class {
|
|
|
106
106
|
return null;
|
|
107
107
|
}
|
|
108
108
|
render() {
|
|
109
|
-
return (index.h("div", { key: '
|
|
109
|
+
return (index.h("div", { key: 'f00cf7b4acc30e32aa2f5b0032d999733bf3d3f5', class: "digi-progress-list" }, index.h("digi-typography", { key: '870b83fe756b5594e4a3cbd80d2875d45ff7dc95' }, this.renderHeading(), index.h("ol", { key: 'fe6c80534fb9c387e339a1c888270f469077790d', class: "digi-progress-list__content" }, index.h("slot", { key: '6b357caf4c3368131f26a66d7bf3bcf14e362bd6' })))));
|
|
110
110
|
}
|
|
111
111
|
get hostElement() { return index.getElement(this); }
|
|
112
112
|
};
|
|
@@ -78,7 +78,7 @@ const Progressbar = class {
|
|
|
78
78
|
return;
|
|
79
79
|
}
|
|
80
80
|
render() {
|
|
81
|
-
return (index.h("div", { key: '
|
|
81
|
+
return (index.h("div", { key: '19aa7eb7cc780b10e7d24221fadcabf50a39aff8', class: this.cssModifiers, role: this.afRole === progressbarVariation_enum.ProgressbarRole.STATUS ? progressbarVariation_enum.ProgressbarRole.STATUS : null }, index.h("p", { key: '9548f8e9c5189cb20a184e249a5c24997a0cc5a4', class: "digi-progressbar__label" }, this.afCompletedSteps, " ", this.afStepsSeparator, " ", this.afTotalSteps, ' ', this.afStepsLabel), !this.hasSlottedItems ? (index.h("ol", { class: "digi-progressbar__list", "aria-hidden": "true" }, this.totalSteps.map((item, i) => {
|
|
82
82
|
return (index.h("li", { class: {
|
|
83
83
|
'digi-progressbar__step': true,
|
|
84
84
|
'digi-progressbar__step--active': this.afCompletedSteps > i,
|
|
@@ -89,7 +89,7 @@ const Progressbar = class {
|
|
|
89
89
|
'digi-progressbar__step': true,
|
|
90
90
|
'digi-progressbar__step--active': item.checked
|
|
91
91
|
} }, index.h("span", { class: "digi-progressbar__step-indicator" }, index.h("span", { class: "digi-progressbar__step-number" }, index$1 + 1))));
|
|
92
|
-
}))), index.h("div", { key: '
|
|
92
|
+
}))), index.h("div", { key: '14e4da3e6aaa62fcff644e5d51f4fd73fd14c911', hidden: true, class: "digi-progressbar__slot" }, index.h("digi-util-mutation-observer", { key: '7a9c3ab5f6d95848a6266c98203da43a0517a96e', ref: (el) => (this._observer = el), onAfOnChange: () => this.getItems() }, index.h("slot", { key: '5b2bc7d3445a7149d013ef33d3b8532a71e22a63' })))));
|
|
93
93
|
}
|
|
94
94
|
get hostElement() { return index.getElement(this); }
|
|
95
95
|
static get watchers() { return {
|
|
@@ -96,7 +96,7 @@ const Quote = class {
|
|
|
96
96
|
return (index.h("div", { class: "digi-quote__variation--highlight-wrapper" }, index.h("div", { class: { 'quote-image': true, hide: !this.isMobile } }, this.renderImage()), index.h("div", { class: "digi-quote-icon-flex" }, index.h("span", { class: "quote-icon" }, this.renderQuotationMark()), index.h("div", { class: "quote-content" }, index.h("digi-typography", null, index.h("blockquote", null, index.h("slot", null))), index.h("digi-typography", null, this.afQuoteAuthorName && this.renderAuthorName(), this.afQuoteAuthorTitle && this.renderAuthorTitle()))), index.h("div", { class: { 'quote-image': true, hide: this.isMobile } }, this.renderImage())));
|
|
97
97
|
}
|
|
98
98
|
render() {
|
|
99
|
-
return (index.h(index.Host, { key: '
|
|
99
|
+
return (index.h(index.Host, { key: '9e8b787191871822c615e3dd6e5ba11afe2c9558' }, index.h("digi-util-breakpoint-observer", { key: '1d4928219776edf8e04063a747df706b1fc72267', onAfOnChange: (e) => this.breakpointHandler(e) }), index.h("div", { key: 'cc9d869d70e83686b7ce07e31cc9e3a757e30354', class: Object.assign({ 'digi-quote': true }, this.cssModifiers) }, this.renderTypeHighlight(), this.renderTypeDefault())));
|
|
100
100
|
}
|
|
101
101
|
};
|
|
102
102
|
Quote.style = DigiQuoteStyle0;
|
|
@@ -25,7 +25,7 @@ const Table = class {
|
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return (index.h("div", { key: '
|
|
28
|
+
return (index.h("div", { key: '081ef1b6b8ea07625c06a2009187f2d39f03abd3', class: Object.assign({ 'digi-table': true }, this.cssModifiers) }, index.h("div", { key: '035c017a946ac09441f65e44b823d0fcb3e10b05', class: "digi-table__scroll-container" }, index.h("slot", { key: '49ebdc1e980713faee29d3dec72ecf8dfbcb50db' }))));
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
Table.style = DigiTableStyle0;
|
|
@@ -11,11 +11,11 @@ const NavigationTabPanel = class {
|
|
|
11
11
|
this.isVisible = false;
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (index.h(index.Host, { key: '
|
|
14
|
+
return (index.h(index.Host, { key: '86f137cc5e2a52c59307d8efd21981606c84478e' }, index.h("div", { key: '642ae49a6b9c667b786acd732d30b5e62f0a629e', id: `tabpanel-${this.tab}`, role: "tabpanel", "aria-labelledby": `tab-${this.tab}`, style: {
|
|
15
15
|
display: this.isVisible ? 'initial' : 'none',
|
|
16
16
|
overflowX: 'hidden',
|
|
17
17
|
overflowY: 'auto'
|
|
18
|
-
} }, index.h("slot", { key: '
|
|
18
|
+
} }, index.h("slot", { key: '01cdafb4516423f5561fdf8d8128fc7370e4f9ec' }))));
|
|
19
19
|
}
|
|
20
20
|
get hostElement() { return index.getElement(this); }
|
|
21
21
|
};
|
|
@@ -228,14 +228,14 @@ const NavigationTablist = class {
|
|
|
228
228
|
cancelAnimationFrame(this._requestAnimationFrame);
|
|
229
229
|
}
|
|
230
230
|
render() {
|
|
231
|
-
return (index.h(index.Host, { key: '
|
|
231
|
+
return (index.h(index.Host, { key: 'b254db2497b74752d34aa4672ae38ac5a1051024' }, index.h("div", { key: '4028d5c2ee9954fb5755285dfe88029fec02d516', class: {
|
|
232
232
|
'digi-tablist': true,
|
|
233
233
|
'digi-tablist--overflow-scroll': this.afOverflowMode === navigationTablist_types.OverflowMode.Scroll,
|
|
234
234
|
'digi-tablist--overflow-controls': this.afOverflowMode === navigationTablist_types.OverflowMode.Controls
|
|
235
|
-
} }, index.h("div", { key: '
|
|
235
|
+
} }, index.h("div", { key: '1643904cc02630eb56f711b7decf3157cefab417', class: "control-wrapper", style: {
|
|
236
236
|
left: '0',
|
|
237
237
|
visibility: this.showPrev ? 'visible' : 'hidden'
|
|
238
|
-
} }, index.h("button", { key: '
|
|
238
|
+
} }, index.h("button", { key: 'd71bb576079e486f2bf197c1654e47ef81147455', tabIndex: -1, type: "button", "aria-hidden": "true", class: { 'tab-control-button': true }, onClick: () => this.handleTabControl(navigationTablist_types.Direction.Previous) }, index.h("digi-icon-chevron-left", { key: 'e9d6cfbbb9aa6175d591db7fa67918b266506ed1' }))), index.h("div", { key: 'ae8db9b6af8276c07fef53b1e376ccf975dd1822', role: "tablist", ref: (ref) => (this.tablistRef = ref), "aria-labelledby": this.afAriaLabelledby, "aria-label": this.afAriaLabel }, this.tabs.map((tab) => {
|
|
239
239
|
const focusable = tab.id === this.tabs[this.selectedTab].id;
|
|
240
240
|
const isActive = tab.id === this.tabs[this.activeTab].id;
|
|
241
241
|
const Icon = `digi-icon-${tab.icon}`;
|
|
@@ -244,10 +244,10 @@ const NavigationTablist = class {
|
|
|
244
244
|
'digi-tab': true,
|
|
245
245
|
'is-active': isActive
|
|
246
246
|
}, id: `tab-${tab.id}`, role: "tab", type: "button", tabindex: focusable ? '0' : '-1', "aria-label": tab.ariaLabel, "aria-selected": isActive.toString(), "aria-controls": `tabpanel-${tab.id}`, onClick: () => this.handleTabChange(tab) }, index.h("div", { class: "content-wrapper" }, index.h("span", { class: "tablist-content" }, tab.icon && index.h(Icon, { "aria-hidden": "true" }), index.h("span", { class: "title", "data-text": tab.title }, tab.title), tab.badgeValue && (index.h("digi-badge-notification", { afValue: badgeValue, "aria-hidden": "true" }))), index.h("div", { class: "indicator" }))));
|
|
247
|
-
})), index.h("div", { key: '
|
|
247
|
+
})), index.h("div", { key: 'fad2b3c44632c2354abef8c4a863654cfb44954a', class: "control-wrapper", style: {
|
|
248
248
|
right: '0',
|
|
249
249
|
visibility: this.showNext ? 'visible' : 'hidden'
|
|
250
|
-
} }, index.h("button", { key: '
|
|
250
|
+
} }, index.h("button", { key: '75df669a8a5693fb90755daccbb85a09478124cc', tabIndex: -1, type: "button", "aria-hidden": "true", class: { 'tab-control-button': true }, onClick: () => this.handleTabControl(navigationTablist_types.Direction.Next) }, index.h("digi-icon-chevron-right", { key: 'b9d9fe9346d98fda9c97f999a1667645a58e3686' })))), index.h("div", { key: '03997499224b2d881c755eef234cee9dda4e2828', ref: (ref) => (this.panelsRef = ref), role: "presentation" }, index.h("slot", { key: '0d983ff976eb7a90b92030b3ef9a33c135aab90a' }))));
|
|
251
251
|
}
|
|
252
252
|
static get watchers() { return {
|
|
253
253
|
"activeTab": ["syncPanels"],
|
|
@@ -36,9 +36,9 @@ const TagMedia = class {
|
|
|
36
36
|
return index.h("digi-icon-news", { class: "digi-tag-media__icon" });
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return (index.h(index.Host, { key: '
|
|
39
|
+
return (index.h(index.Host, { key: '6495cad281699957e8e521be923aab4f3fcfeb9f' }, index.h("div", { key: 'a634a1c2c35b6888b8220923b316b701e0647f76', class: {
|
|
40
40
|
'digi-tag-media': true
|
|
41
|
-
} }, this.tagIcon, index.h("span", { key: '
|
|
41
|
+
} }, this.tagIcon, index.h("span", { key: '506bf750e77c8147c2becc2cce14fb7026984343', class: "digi-tag-media__text" }, this.afText))));
|
|
42
42
|
}
|
|
43
43
|
get hostElement() { return index.getElement(this); }
|
|
44
44
|
};
|
|
@@ -6,7 +6,7 @@ const index = require('./index-cfa8e9be.js');
|
|
|
6
6
|
const tagSize_enum = require('./tag-size.enum-0a6be639.js');
|
|
7
7
|
const text = require('./text-ca7e238b.js');
|
|
8
8
|
|
|
9
|
-
const tagCss = ".sc-digi-tag-h{--digi--tag--display:inline-block;--digi--tag--margin-bottom:var(--digi--gutter--smaller)}.sc-digi-tag-h .digi-tag.sc-digi-tag{display:var(--digi--tag--display);margin-bottom:var(--digi--tag--margin-bottom)}";
|
|
9
|
+
const tagCss = ".sc-digi-tag-h{--digi--tag--display:inline-block;--digi--tag--margin-bottom:var(--digi--gutter--smaller)}.sc-digi-tag-h .digi-tag.sc-digi-tag{display:var(--digi--tag--display);margin-bottom:var(--digi--tag--margin-bottom)}.sc-digi-tag-h .digi-tag__text.sc-digi-tag{display:inline-block;max-width:100%;white-space:normal}.sc-digi-tag-h .digi-tag__text--break.sc-digi-tag{overflow-wrap:anywhere;word-break:break-word;hyphens:auto}";
|
|
10
10
|
const DigiTagStyle0 = tagCss;
|
|
11
11
|
|
|
12
12
|
const Tag = class {
|
|
@@ -17,6 +17,7 @@ const Tag = class {
|
|
|
17
17
|
this.afNoIcon = false;
|
|
18
18
|
this.afAriaLabel = undefined;
|
|
19
19
|
this.afSize = tagSize_enum.TagSize.SMALL;
|
|
20
|
+
this.afBreakWords = false;
|
|
20
21
|
}
|
|
21
22
|
clickHandler(e) {
|
|
22
23
|
this.afOnClick.emit(e);
|
|
@@ -32,7 +33,7 @@ const Tag = class {
|
|
|
32
33
|
return this.afText;
|
|
33
34
|
}
|
|
34
35
|
render() {
|
|
35
|
-
return (index.h("digi-button", { key: '
|
|
36
|
+
return (index.h("digi-button", { key: '6462faeac49e6bea1de19d53cfceb82189b27daf', onAfOnClick: (e) => this.clickHandler(e), "af-variation": "secondary", "af-size": this.afSize, class: "digi-tag", "af-aria-label": this.ariaLabel }, this.afText, !this.afNoIcon && index.h("digi-icon-x", { key: '89c4ecec2d4e7fdbf665fe75b19e784548067029', slot: "icon-secondary" })));
|
|
36
37
|
}
|
|
37
38
|
};
|
|
38
39
|
Tag.style = DigiTagStyle0;
|
|
@@ -90,7 +90,7 @@ const FeedbackBanner = class {
|
|
|
90
90
|
}), index.h("div", { hidden: true, class: "digi-tools-feedback-banner__slot" }, index.h("digi-util-mutation-observer", { ref: (el) => (this._observer = el), onAfOnChange: () => this.validateLinks() }, index.h("slot", null))))));
|
|
91
91
|
}
|
|
92
92
|
render() {
|
|
93
|
-
return (index.h("div", { key: '
|
|
93
|
+
return (index.h("div", { key: 'c7b4c2ba4fc1d8a012fb6660c57f9aaf16719695', class: Object.assign({ 'digi-tools-feedback-banner': true }, this.cssModifiers) }, this.afType === toolsFeedbackBannerType_enum.ToolsFeedbackBannerType.FULLWIDTH && (index.h("digi-layout-block", { key: '6730815e4d57ef48bc1b23da9bda93c427e42325', afVariation: layoutBlockVariation_enum.LayoutBlockVariation.TRANSPARENT }, this.content)), this.afType !== toolsFeedbackBannerType_enum.ToolsFeedbackBannerType.FULLWIDTH && this.content));
|
|
94
94
|
}
|
|
95
95
|
get hostElement() { return index.getElement(this); }
|
|
96
96
|
static get watchers() { return {
|
|
@@ -167,10 +167,10 @@ const ToolsFeedbackRating = class {
|
|
|
167
167
|
get content() {
|
|
168
168
|
return (index.h("digi-typography", null, this.validContent && (index.h("div", { dir: this.afDir, lang: this.afLang, class: `digi-tools-feedback-rating__wrapper ${this.currentStep === 2 ? 'step2' : ''}` }, this.currentStep === 1 && (index.h("div", { class: "digi-tools-feedback-rating__star-rating" }, index.h(this.afHeadingLevel, { id: `${this.afId}-rating-question`, class: `digi-tools-feedback-rating__heading ${this.afType === toolsFeedbackRatingVariation_enum.FeedbackRatingType.MINIMAL ? 'hidden' : ''}` }, this.afQuestion), index.h("div", { class: "digi-tools-feedback-rating__step1-wrapper" }, this.afRatings && (index.h("span", { class: "digi-tools-feedback-rating__step1-description" }, "V\u00E4lj fr\u00E5n", ' ', `${(this.ratingsData().find((item) => item.value === 1) ||
|
|
169
169
|
{}).text.toLowerCase() || null} till ${(this.ratingsData().find((item) => item.value === 5) ||
|
|
170
|
-
{}).text.toLowerCase() || null}`)), index.h("div", { "aria-labelledby": `${this.afId}-rating-question`, class: "digi-tools-feedback-rating__star-rating-stars", role: "group" }, this.ratingsData().map(({ text, value }) => (index.h("div", { class: "digi-tools-feedback-rating__star-rating-star" }, index.h("button", { class: "digi-tools-feedback-rating__star-rating-star-button", onClick: () => this.handleRatingChange(value), "aria-label": `${value} ${value === 1 ? 'stjärna' : 'stjärnor'}${text !== '' ? ', ' + text : ''}`, onMouseEnter: () => this.handleHover(value), onMouseLeave: () => this.handleHover(0), onFocus: () => this.handleHover(value), onFocusout: () => this.handleHover(0) }, index.h("svg", { "aria-hidden": "true", width: "29px", height: "29px", viewBox: "0 0 32 32", version: "1.1", xmlns: "http://www.w3.org/2000/svg", class: `digi-tools-feedback-rating-star-icon ${this.hoveredRating >= value ? 'filled' : ''}` }, index.h("g", { stroke: "none", "stroke-width": "1", "stroke-linecap": "round", "stroke-linejoin": "round" }, index.h("g", { transform: "translate(-1852, -2564)", "stroke-width": "2", class: "digi-tools-feedback-rating-star-icon-border" }, index.h("g", { transform: "translate(1663, 2565)" }, index.h("g", { transform: "translate(190, 0)" }, index.h("path", { d: "M13.0369701,1.00988613 L9.47212213,8.51643297 L1.4958694,9.72422429 C0.0655277509,9.93973122 -0.507709524,11.7709448 0.529620648,12.8199039 L6.30005635,18.6595463 L4.93529305,26.9090563 C4.6897182,28.3999832 6.20191813,29.5170473 7.46854321,28.8195669 L14.6037422,24.9244875 L21.7391705,28.8195669 C23.0057956,29.5113322 24.5179955,28.3999832 24.2721914,26.9090563 L22.9074281,18.6595463 L28.6780931,12.8199039 C29.715194,11.7709448 29.1419567,9.93973122 27.711615,9.72422429 L19.7355916,8.51643297 L16.1707436,1.00988613 C15.531928,-0.328161856 13.6810595,-0.345069029 13.0369701,1.00988613 L13.0369701,1.00988613 Z"
|
|
170
|
+
{}).text.toLowerCase() || null}`)), index.h("div", { "aria-labelledby": `${this.afId}-rating-question`, class: "digi-tools-feedback-rating__star-rating-stars", role: "group" }, this.ratingsData().map(({ text, value }) => (index.h("div", { class: "digi-tools-feedback-rating__star-rating-star" }, index.h("button", { class: "digi-tools-feedback-rating__star-rating-star-button", onClick: () => this.handleRatingChange(value), "aria-label": `${value} ${value === 1 ? 'stjärna' : 'stjärnor'}${text !== '' ? ', ' + text : ''}`, onMouseEnter: () => this.handleHover(value), onMouseLeave: () => this.handleHover(0), onFocus: () => this.handleHover(value), onFocusout: () => this.handleHover(0) }, index.h("svg", { "aria-hidden": "true", width: "29px", height: "29px", viewBox: "0 0 32 32", version: "1.1", xmlns: "http://www.w3.org/2000/svg", class: `digi-tools-feedback-rating-star-icon ${this.hoveredRating >= value ? 'filled' : ''}` }, index.h("g", { stroke: "none", "stroke-width": "1", "stroke-linecap": "round", "stroke-linejoin": "round" }, index.h("g", { transform: "translate(-1852, -2564)", "stroke-width": "2", class: "digi-tools-feedback-rating-star-icon-border" }, index.h("g", { transform: "translate(1663, 2565)" }, index.h("g", { transform: "translate(190, 0)" }, index.h("path", { d: "M13.0369701,1.00988613 L9.47212213,8.51643297 L1.4958694,9.72422429 C0.0655277509,9.93973122 -0.507709524,11.7709448 0.529620648,12.8199039 L6.30005635,18.6595463 L4.93529305,26.9090563 C4.6897182,28.3999832 6.20191813,29.5170473 7.46854321,28.8195669 L14.6037422,24.9244875 L21.7391705,28.8195669 C23.0057956,29.5113322 24.5179955,28.3999832 24.2721914,26.9090563 L22.9074281,18.6595463 L28.6780931,12.8199039 C29.715194,11.7709448 29.1419567,9.93973122 27.711615,9.72422429 L19.7355916,8.51643297 L16.1707436,1.00988613 C15.531928,-0.328161856 13.6810595,-0.345069029 13.0369701,1.00988613 L13.0369701,1.00988613 Z" })))))))))))))), this.currentStep === 2 && (index.h("div", { class: "digi-tools-feedback-rating__thankyou" }, index.h("div", { class: "digi-tools-feedback-rating__thankyou-text" }, index.h("svg", { width: "32", height: "26", xmlns: "http://www.w3.org/2000/svg", class: "digi-tools-feedback-rating__thankyou-check-icon" }, index.h("g", { fill: "none", "fill-rule": "evenodd" }, index.h("path", { d: "M12.431 25.438C5.577 25.438 0 19.848 0 12.978 0 6.107 5.577.518 12.43.518c2.874 0 5.677 1.006 7.893 2.833l-1.441 1.755a10.163 10.163 0 0 0-6.452-2.315c-5.604 0-10.163 4.57-10.163 10.187 0 5.616 4.56 10.186 10.163 10.186 4.346 0 8.21-2.766 9.617-6.883l2.146.737a12.435 12.435 0 0 1-11.763 8.42", fill: "#333" }), index.h("path", { d: "M13.073 20.935a.725.725 0 0 1-1.022 0l-8.042-8.013a.72.72 0 0 1 0-1.019l1.704-1.699a.725.725 0 0 1 1.023 0l5.826 5.805L28.417.211a.724.724 0 0 1 1.023 0l1.704 1.699a.72.72 0 0 1 0 1.02l-18.07 18.005Z", fill: "#95C13E" }))), index.h("h2", { class: "digi-tools-feedback-rating__thankyou-text", tabindex: "-1", ref: (el) => (this._thankYouHeading = el) }, this.afThankYouHeading)), this.afRatings && (index.h("p", { class: "digi-tools-feedback-rating__thankyou-text-with-rating" }, "Du har gett betyget \"", this.selectedText.toLowerCase(), "\" med", ' ', this.selectedRating, `${this.selectedRating === 1 ? ' stjärna' : ' stjärnor'}`, ".")))), this.currentStep === 2 && this.afLinkText && (index.h("div", { class: "digi-tools-feedback-rating__link" }, index.h("digi-link-external", { afHref: this.renderLink(), "af-target": "_blank", onAfOnClick: () => this.submitFeedbackLink(), "af-variation": "small" }, this.afLinkText)))))));
|
|
171
171
|
}
|
|
172
172
|
render() {
|
|
173
|
-
return (index.h("div", { key: '
|
|
173
|
+
return (index.h("div", { key: '26c24e24485d795838830758c6616229bd9d5fc4', class: Object.assign({ 'digi-tools-feedback-rating': true }, this.cssModifiers) }, index.h("digi-layout-block", { key: '9df5e3a6c4d99c8e206c7bb08407c79247e52121', afVariation: this.layoutBlockVariation, afMarginTop: true, "af-container": "none" }, this.content)));
|
|
174
174
|
}
|
|
175
175
|
get hostElement() { return index.getElement(this); }
|
|
176
176
|
static get watchers() { return {
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-cfa8e9be.js');
|
|
6
6
|
const randomIdGenerator_util = require('./randomIdGenerator.util-e7f4b6de.js');
|
|
7
|
-
const toolsFeedbackVariation_enum = require('./tools-feedback-variation.enum-
|
|
7
|
+
const toolsFeedbackVariation_enum = require('./tools-feedback-variation.enum-2ac9956e.js');
|
|
8
8
|
const layoutBlockVariation_enum = require('./layout-block-variation.enum-f6102119.js');
|
|
9
9
|
require('./badge-notification-shape.enum-ff802554.js');
|
|
10
10
|
require('./badge-status-variation.enum-0a5adc21.js');
|
|
@@ -29,8 +29,9 @@ require('./form-textarea-variation.enum-9c90d40f.js');
|
|
|
29
29
|
require('./form-validation-message-variation.enum-855ae0be.js');
|
|
30
30
|
require('./info-card-multi-type.enum-14746572.js');
|
|
31
31
|
require('./info-card-variation.enum-64cef637.js');
|
|
32
|
-
require('./layout-container
|
|
32
|
+
require('./layout-block-container.enum-52ae6994.js');
|
|
33
33
|
require('./layout-columns-variation.enum-65675649.js');
|
|
34
|
+
require('./typography-variation.enum-d7083728.js');
|
|
34
35
|
require('./layout-media-object-alignment.enum-81c8e205.js');
|
|
35
36
|
require('./link-button-variation.enum-6c51aa80.js');
|
|
36
37
|
require('./link-external-variation.enum-4865305c.js');
|
|
@@ -50,7 +51,6 @@ require('./progress-list-item-variation.enum-90e4c874.js');
|
|
|
50
51
|
require('./progress-list-variation.enum-06d5ce27.js');
|
|
51
52
|
require('./progressbar-variation.enum-aff9fa80.js');
|
|
52
53
|
require('./quote-image-inner-position.enum-e64e7a6d.js');
|
|
53
|
-
require('./quote-single-variation.enum-53f94dbc.js');
|
|
54
54
|
require('./table-variation.enum-25df2ad7.js');
|
|
55
55
|
require('./tag-media-icon.enum-372563c5.js');
|
|
56
56
|
require('./tag-size.enum-0a6be639.js');
|
|
@@ -59,7 +59,6 @@ require('./tools-feedback-rating-variation.enum-2f71e84d.js');
|
|
|
59
59
|
require('./typography-heading-jumbo-variation.enum-8677e099.js');
|
|
60
60
|
require('./typography-meta-variation.enum-13ac3538.js');
|
|
61
61
|
require('./typography-time-variation.enum-bce1d87e.js');
|
|
62
|
-
require('./typography-variation.enum-5b035b3b.js');
|
|
63
62
|
require('./util-breakpoint-observer-breakpoints.enum-e96d3a84.js');
|
|
64
63
|
|
|
65
64
|
const toolsFeedbackCss = ".digi--util--fs--xs.sc-digi-tools-feedback{font-size:var(--digi--global--typography--font-size--small) !important}.digi--util--fs--s.sc-digi-tools-feedback{font-size:calc(var(--digi--global--typography--font-size--small) + 1px) !important}.digi--util--fs--m.sc-digi-tools-feedback{font-size:var(--digi--global--typography--font-size--base) !important}.digi--util--fs--l.sc-digi-tools-feedback{font-size:var(--digi--global--typography--font-size--large) !important}.digi--util--fw--sb.sc-digi-tools-feedback{font-weight:var(--digi--global--typography--font-weight--semibold) !important}.digi--util--pt--1.sc-digi-tools-feedback{padding-top:var(--digi--global--spacing--smallest-2) !important}.digi--util--pt--10.sc-digi-tools-feedback{padding-top:var(--digi--global--spacing--smallest) !important}.digi--util--pt--20.sc-digi-tools-feedback{padding-top:var(--digi--global--spacing--base) !important}.digi--util--pt--30.sc-digi-tools-feedback{padding-top:var(--digi--global--spacing--largest-2) !important}.digi--util--pt--40.sc-digi-tools-feedback{padding-top:var(--digi--global--spacing--largest-4) !important}.digi--util--pt--50.sc-digi-tools-feedback{padding-top:2.5rem !important}.digi--util--pt--60.sc-digi-tools-feedback{padding-top:var(--digi--global--spacing--largest-5) !important}.digi--util--pt--70.sc-digi-tools-feedback{padding-top:var(--digi--global--spacing--largest-6) !important}.digi--util--pt--80.sc-digi-tools-feedback{padding-top:4.5rem !important}.digi--util--pt--90.sc-digi-tools-feedback{padding-top:5rem !important}.digi--util--pb--1.sc-digi-tools-feedback{padding-bottom:var(--digi--global--spacing--smallest-2) !important}.digi--util--pb--10.sc-digi-tools-feedback{padding-bottom:var(--digi--global--spacing--smallest) !important}.digi--util--pb--20.sc-digi-tools-feedback{padding-bottom:var(--digi--global--spacing--base) !important}.digi--util--pb--30.sc-digi-tools-feedback{padding-bottom:var(--digi--global--spacing--largest-2) !important}.digi--util--pb--40.sc-digi-tools-feedback{padding-bottom:var(--digi--global--spacing--largest-4) !important}.digi--util--pb--50.sc-digi-tools-feedback{padding-bottom:2.5rem !important}.digi--util--pb--60.sc-digi-tools-feedback{padding-bottom:var(--digi--global--spacing--largest-5) !important}.digi--util--pb--70.sc-digi-tools-feedback{padding-bottom:var(--digi--global--spacing--largest-6) !important}.digi--util--pb--80.sc-digi-tools-feedback{padding-bottom:4.5rem !important}.digi--util--pb--90.sc-digi-tools-feedback{padding-bottom:5rem !important}.digi--util--p--1.sc-digi-tools-feedback{padding:var(--digi--global--spacing--smallest-2) !important}.digi--util--p--10.sc-digi-tools-feedback{padding:var(--digi--global--spacing--smallest) !important}.digi--util--p--20.sc-digi-tools-feedback{padding:var(--digi--global--spacing--base) !important}.digi--util--p--30.sc-digi-tools-feedback{padding:var(--digi--global--spacing--largest-2) !important}.digi--util--p--40.sc-digi-tools-feedback{padding:var(--digi--global--spacing--largest-4) !important}.digi--util--p--50.sc-digi-tools-feedback{padding:2.5rem !important}.digi--util--p--60.sc-digi-tools-feedback{padding:var(--digi--global--spacing--largest-5) !important}.digi--util--p--70.sc-digi-tools-feedback{padding:var(--digi--global--spacing--largest-6) !important}.digi--util--p--80.sc-digi-tools-feedback{padding:4.5rem !important}.digi--util--p--90.sc-digi-tools-feedback{padding:5rem !important}.digi--util--ptb--1.sc-digi-tools-feedback{padding-top:var(--digi--global--spacing--smallest-2) !important;padding-bottom:var(--digi--global--spacing--smallest-2) !important}.digi--util--ptb--10.sc-digi-tools-feedback{padding-top:var(--digi--global--spacing--smallest) !important;padding-bottom:var(--digi--global--spacing--smallest) !important}.digi--util--ptb--20.sc-digi-tools-feedback{padding-top:var(--digi--global--spacing--base) !important;padding-bottom:var(--digi--global--spacing--base) !important}.digi--util--ptb--30.sc-digi-tools-feedback{padding-top:var(--digi--global--spacing--largest-2) !important;padding-bottom:var(--digi--global--spacing--largest-2) !important}.digi--util--ptb--40.sc-digi-tools-feedback{padding-top:var(--digi--global--spacing--largest-4) !important;padding-bottom:var(--digi--global--spacing--largest-4) !important}.digi--util--ptb--50.sc-digi-tools-feedback{padding-top:2.5rem !important;padding-bottom:2.5rem !important}.digi--util--ptb--60.sc-digi-tools-feedback{padding-top:var(--digi--global--spacing--largest-5) !important;padding-bottom:var(--digi--global--spacing--largest-5) !important}.digi--util--ptb--70.sc-digi-tools-feedback{padding-top:var(--digi--global--spacing--largest-6) !important;padding-bottom:var(--digi--global--spacing--largest-6) !important}.digi--util--ptb--80.sc-digi-tools-feedback{padding-top:4.5rem !important;padding-bottom:4.5rem !important}.digi--util--ptb--90.sc-digi-tools-feedback{padding-top:5rem !important;padding-bottom:5rem !important}.digi--util--plr--1.sc-digi-tools-feedback{padding-left:var(--digi--global--spacing--smallest-2) !important;padding-right:var(--digi--global--spacing--smallest-2) !important}.digi--util--plr--10.sc-digi-tools-feedback{padding-left:var(--digi--global--spacing--smallest) !important;padding-right:var(--digi--global--spacing--smallest) !important}.digi--util--plr--20.sc-digi-tools-feedback{padding-left:var(--digi--global--spacing--base) !important;padding-right:var(--digi--global--spacing--base) !important}.digi--util--plr--30.sc-digi-tools-feedback{padding-left:var(--digi--global--spacing--largest-2) !important;padding-right:var(--digi--global--spacing--largest-2) !important}.digi--util--plr--40.sc-digi-tools-feedback{padding-left:var(--digi--global--spacing--largest-4) !important;padding-right:var(--digi--global--spacing--largest-4) !important}.digi--util--plr--50.sc-digi-tools-feedback{padding-left:2.5rem !important;padding-right:2.5rem !important}.digi--util--plr--60.sc-digi-tools-feedback{padding-left:var(--digi--global--spacing--largest-5) !important;padding-right:var(--digi--global--spacing--largest-5) !important}.digi--util--plr--70.sc-digi-tools-feedback{padding-left:var(--digi--global--spacing--largest-6) !important;padding-right:var(--digi--global--spacing--largest-6) !important}.digi--util--plr--80.sc-digi-tools-feedback{padding-left:4.5rem !important;padding-right:4.5rem !important}.digi--util--plr--90.sc-digi-tools-feedback{padding-left:5rem !important;padding-right:5rem !important}.digi--util--sr-only.sc-digi-tools-feedback{border:0;clip:rect(1px, 1px, 1px, 1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.digi--util--hidden.sc-digi-tools-feedback{display:none}.sc-digi-tools-feedback-h{--digi--tools-feedback--background-color--primary:var(--digi--color--background--neutral-5);--digi--tools-feedback--background-color--secondary:var(--digi--color--background--primary);--digi--tools-feedback--padding:var(--digi--padding--large);--digi--tools-feedback--font-size--desktop:var(--digi--typography--heading-2--font-size--desktop);--digi--tools-feedback--font-size--mobile:var(--digi--typography--heading-2--font-size--mobile);--digi--tools-feedback--heading--font-family:var(--digi--global--typography--font-family--default);--digi--tools-feedback--heading--font-weight:var(--digi--typography--heading-4--font-weight--desktop)}.sc-digi-tools-feedback-h .digi-tools-feedback.sc-digi-tools-feedback{background-color:var(--BACKGROUND-COLOR);font-family:var(--digi--tools-feedback--heading--font-family)}@media (max-width: 36rem){.sc-digi-tools-feedback-h .digi-tools-feedback.sc-digi-tools-feedback{padding-top:var(--digi--padding--medium);padding-inline-start:0;padding-bottom:3rem}}.sc-digi-tools-feedback-h .digi-tools-feedback--primary.sc-digi-tools-feedback{--BACKGROUND-COLOR:var(--digi--tools-feedback--background-color--primary)}.sc-digi-tools-feedback-h .digi-tools-feedback--secondary.sc-digi-tools-feedback{--BACKGROUND-COLOR:var(--digi--tools-feedback--background-color--secondary)}.sc-digi-tools-feedback-h .digi-tools-feedback--grid.sc-digi-tools-feedback{display:grid;padding-inline:var(--digi--padding--medium)}.sc-digi-tools-feedback-h .digi-tools-feedback--grid.sc-digi-tools-feedback .digi-tools-feedback__container.sc-digi-tools-feedback{grid-column:1;grid-row:1}.sc-digi-tools-feedback-h .digi-tools-feedback__container.sc-digi-tools-feedback{display:flex;flex-direction:row;align-items:center;padding-top:var(--digi--padding--largest-3);padding-bottom:3.563rem}@media (max-width: 36rem){.sc-digi-tools-feedback-h .digi-tools-feedback__container.sc-digi-tools-feedback{display:flex;flex-direction:column;align-items:flex-start;padding-inline-start:0;padding-top:0;padding-bottom:0}}.sc-digi-tools-feedback-h .digi-tools-feedback__container-header.sc-digi-tools-feedback{display:flex;flex-direction:row;padding-inline-end:var(--digi--padding--largest-3);font-size:var(--digi--tools-feedback--font-size--desktop)}@media (max-width: 36rem){.sc-digi-tools-feedback-h .digi-tools-feedback__container-header.sc-digi-tools-feedback{padding-inline-start:0;padding-inline-end:0}}.sc-digi-tools-feedback-h .digi-tools-feedback__container-header-title.sc-digi-tools-feedback{margin-top:0.4rem;font-size:var(--digi--tools-feedback--font-size--desktop);margin-bottom:0 !important;font-weight:var(--digi--tools-feedback--heading--font-weight)}@media (max-width: 36rem){.sc-digi-tools-feedback-h .digi-tools-feedback__container-header-title.sc-digi-tools-feedback{font-size:var(--digi--tools-feedback--font-size--mobile)}}.sc-digi-tools-feedback-h .digi-tools-feedback__container-header-icon.sc-digi-tools-feedback{margin-top:0.4rem;padding-inline-end:var(--digi--padding--large);flex-shrink:0}@media (max-width: 36rem){.sc-digi-tools-feedback-h .digi-tools-feedback__container-header-icon.sc-digi-tools-feedback{padding-inline-end:var(--digi--padding--medium)}}.sc-digi-tools-feedback-h .digi-tools-feedback__container-btns.sc-digi-tools-feedback{display:flex;column-gap:var(--digi--padding--smaller)}.sc-digi-tools-feedback-h .digi-tools-feedback__container-btns.sc-digi-tools-feedback digi-button.sc-digi-tools-feedback{--digi--button--width:5.625rem;text-align:center}@media (max-width: 36rem){.sc-digi-tools-feedback-h .digi-tools-feedback__container-btns.sc-digi-tools-feedback{padding-top:var(--digi--padding--medium);padding-inline-start:calc(58px + 1rem)}}.sc-digi-tools-feedback-h .digi-tools-feedback__close-button.sc-digi-tools-feedback{visibility:hidden}.sc-digi-tools-feedback-h .digi-tools-feedback--step-two.sc-digi-tools-feedback .digi-tools-feedback__container.sc-digi-tools-feedback{padding-bottom:0}.sc-digi-tools-feedback-h .digi-tools-feedback--step-three.sc-digi-tools-feedback{padding-inline-start:var(--digi--padding--medium);padding-top:var(--digi--padding--largest-3);padding-bottom:3.563rem}@media (max-width: 36rem){.sc-digi-tools-feedback-h .digi-tools-feedback--step-three.sc-digi-tools-feedback{padding-inline-start:0}}.sc-digi-tools-feedback-h .digi-tools-feedback--step-three.sc-digi-tools-feedback .digi-tools-feedback__container-header-icon.sc-digi-tools-feedback{margin-top:0.65rem}.sc-digi-tools-feedback-s>[slot=form]{display:none}.digi-tools-feedback--step-two.sc-digi-tools-feedback .digi-tools-feedback__close-button.sc-digi-tools-feedback{display:grid;justify-content:end;padding-top:var(--digi--padding--medium);padding-inline-end:var(--digi--padding--smaller);visibility:visible}@media (max-width: 36rem){.digi-tools-feedback--step-two.sc-digi-tools-feedback .digi-tools-feedback__close-button.sc-digi-tools-feedback{padding-top:0;padding-bottom:var(--digi--padding--medium)}}.digi-tools-feedback--step-two.sc-digi-tools-feedback-s>[slot=form],.digi-tools-feedback--step-two .sc-digi-tools-feedback-s>[slot=form]{display:flex;flex-direction:column;padding-top:var(--digi--padding--large);padding-bottom:3.563rem;max-width:37.5rem}@media (max-width: 36rem){.digi-tools-feedback--step-two.sc-digi-tools-feedback-s>[slot=form],.digi-tools-feedback--step-two .sc-digi-tools-feedback-s>[slot=form]{padding-inline-start:0}}";
|
|
@@ -125,7 +124,7 @@ const ToolsFeedback = class {
|
|
|
125
124
|
this.afOnReady.emit();
|
|
126
125
|
}
|
|
127
126
|
render() {
|
|
128
|
-
return (index.h("div", { key: '
|
|
127
|
+
return (index.h("div", { key: '83db61c7c9b70f2dbef26326b875516084e9f1bf', class: Object.assign({ 'digi-tools-feedback': true }, this.cssModifiers) }, this.afType === toolsFeedbackVariation_enum.ToolsFeedbackType.FULLWIDTH && (index.h("digi-layout-block", { key: '5b40e1b4d98076f70aae457ae44bc361d3a4c38a', afVariation: layoutBlockVariation_enum.LayoutBlockVariation.TRANSPARENT }, this.content)), this.afType !== toolsFeedbackVariation_enum.ToolsFeedbackType.FULLWIDTH && this.content));
|
|
129
128
|
}
|
|
130
129
|
get hostElement() { return index.getElement(this); }
|
|
131
130
|
static get watchers() { return {
|
|
@@ -96,19 +96,19 @@ const ToolsLanguagepicker = class {
|
|
|
96
96
|
return {};
|
|
97
97
|
}
|
|
98
98
|
render() {
|
|
99
|
-
return (index.h("div", { key: '
|
|
99
|
+
return (index.h("div", { key: '9d6a102cfafccc1ce645b30116103f774747f8ff', class: Object.assign({ 'digi-tools-languagepicker': true }, this.cssModifiers) }, this._afLanguagepickerHide === false && (index.h("digi-navigation-context-menu", { key: '7330c35a38e49cc30afbecee91b263be666d0854', afText: this._afLanguagepickerText, afId: this._afId + '__languagepicker', afStartSelected: this._afLanguagepickerStartSelected, afNavigationContextMenuItems: this._afLanguagepickerItems, afIcon: this._languagepickerIcon, onAfOnActive: (event) => this.afOnActive.emit(event.detail), onAfOnBlur: (event) => this.afOnBlur.emit(event.detail), onAfOnChange: (event) => this.afOnChange.emit(event.detail), onAfOnInactive: (event) => this.afOnInactive.emit(event.detail), onAfOnSelect: (event) => this.afOnSelect.emit(event.detail), onAfOnToggle: (event) => this.afOnToggle.emit(event.detail), class: "digi-tools-languagepicker__context" })), this._afListenShow && (index.h("digi-button", { key: '8207ac75310488b64ca90106eff988d4df1c494e', "af-size": "medium", "af-variation": "primary", onAfOnClick: (event) => {
|
|
100
100
|
this.afOnClick.emit(event);
|
|
101
101
|
}, onAfOnBlur: (event) => {
|
|
102
102
|
this.afOnBlur.emit(event);
|
|
103
103
|
}, onAfOnFocus: (event) => {
|
|
104
104
|
this.afOnFocus.emit(event);
|
|
105
|
-
}, "af-id": this._afId + '__listenButton', class: `digi-tools-languagepicker__buttons ${this._hideButtonText ? 'hide-text' : ''}` }, index.h("digi-icon-volume", { key: '
|
|
105
|
+
}, "af-id": this._afId + '__listenButton', class: `digi-tools-languagepicker__buttons ${this._hideButtonText ? 'hide-text' : ''}` }, index.h("digi-icon-volume", { key: '8f223b7951a4bcccbf2cbadbec0740b082067450', slot: "icon" }), this._afListenText)), this._afSignlangHide === false && (index.h("digi-button", { key: '9002660c75d94c4a907ff0f6b967dfc5583ebbeb', "af-size": "medium", "af-variation": "primary", onAfOnClick: (event) => {
|
|
106
106
|
this.afOnClick.emit(event);
|
|
107
107
|
}, onAfOnBlur: (event) => {
|
|
108
108
|
this.afOnBlur.emit(event);
|
|
109
109
|
}, onAfOnFocus: (event) => {
|
|
110
110
|
this.afOnFocus.emit(event);
|
|
111
|
-
}, "af-id": this._afId + '__signlangButton', class: `digi-tools-languagepicker__buttons ${this._hideButtonText ? 'hide-text' : 'show-text'}` }, index.h("digi-icon-sign", { key: '
|
|
111
|
+
}, "af-id": this._afId + '__signlangButton', class: `digi-tools-languagepicker__buttons ${this._hideButtonText ? 'hide-text' : 'show-text'}` }, index.h("digi-icon-sign", { key: '9dd664b4a3620cc063ad7128046ffab5e7175760', slot: "icon" }), this._afSignlangText))));
|
|
112
112
|
}
|
|
113
113
|
static get watchers() { return {
|
|
114
114
|
"afLanguagepickerText": ["watchHandler_afLanguagepickerText"],
|
|
@@ -16,17 +16,21 @@ const TypographyHeadingJumbo = class {
|
|
|
16
16
|
this.afLevel = typographyHeadingJumboVariation_enum.TypographyHeadingJumboLevel.H1;
|
|
17
17
|
this.afLang = 'sv';
|
|
18
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
|
+
*/
|
|
19
23
|
focusOnHeading() {
|
|
20
24
|
this.headingElement.focus();
|
|
21
25
|
}
|
|
22
26
|
get cssModifiers() {
|
|
23
27
|
return {
|
|
24
28
|
'digi-typography-heading-jumbo--primary': this.afVariation === typographyHeadingJumboVariation_enum.TypographyHeadingJumboVariation.PRIMARY,
|
|
25
|
-
'digi-typography-heading-jumbo--secondary': this.afVariation === typographyHeadingJumboVariation_enum.TypographyHeadingJumboVariation.SECONDARY
|
|
29
|
+
'digi-typography-heading-jumbo--secondary': this.afVariation === typographyHeadingJumboVariation_enum.TypographyHeadingJumboVariation.SECONDARY
|
|
26
30
|
};
|
|
27
31
|
}
|
|
28
32
|
render() {
|
|
29
|
-
return (index.h(this.afLevel, { key: '
|
|
33
|
+
return (index.h(this.afLevel, { key: 'b02d50505c6632cea642b1d8e5139549e20da4e6', ref: (el) => (this.headingElement = el), class: Object.assign({ 'digi-typography-heading-jumbo': true }, this.cssModifiers), lang: this.afLang, tabindex: -1 }, this.afText));
|
|
30
34
|
}
|
|
31
35
|
};
|
|
32
36
|
TypographyHeadingJumbo.style = DigiTypographyHeadingJumboStyle0;
|