@designsystem-se/af 31.3.1-beta.9 → 32.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/digi-badge-notification.d.ts +1 -1
- package/components/digi-badge-status.d.ts +1 -1
- package/components/digi-bar-chart.d.ts +1 -1
- package/components/digi-bar-chart.js +1 -1
- package/components/digi-button.d.ts +1 -1
- package/components/digi-calendar-datepicker.d.ts +1 -1
- package/components/digi-calendar-datepicker.js +2 -2
- package/components/digi-calendar-week-view.d.ts +1 -1
- package/components/digi-calendar-week-view.js +1 -1
- package/components/digi-calendar.d.ts +1 -1
- package/components/digi-calendar.js +1 -1
- package/components/digi-card.d.ts +1 -1
- package/components/digi-card.js +1 -1
- package/components/digi-chart-line.d.ts +1 -1
- package/components/digi-chart-line.js +1 -1
- package/components/digi-code-block.d.ts +1 -1
- package/components/digi-code-example.d.ts +1 -1
- package/components/digi-code.d.ts +1 -1
- package/components/digi-context-menu.d.ts +1 -1
- package/components/digi-context-menu.js +4 -4
- package/components/digi-dialog.d.ts +1 -1
- package/components/digi-dialog.js +2 -2
- package/components/digi-expandable-accordion.d.ts +1 -1
- package/components/digi-expandable-accordion.js +1 -1
- package/components/digi-expandable-faq-item.d.ts +1 -1
- package/components/digi-expandable-faq-item.js +1 -1
- package/components/digi-expandable-faq.d.ts +1 -1
- package/components/digi-footer-card.d.ts +1 -1
- package/components/digi-footer.d.ts +1 -1
- package/components/digi-footer.js +1 -1
- package/components/digi-form-category-filter.d.ts +1 -1
- package/components/digi-form-checkbox.d.ts +1 -1
- package/components/digi-form-error-list.d.ts +1 -1
- package/components/digi-form-error-list.js +2 -2
- package/components/digi-form-fieldset.d.ts +1 -1
- package/components/digi-form-file-upload.d.ts +1 -1
- package/components/digi-form-file-upload.js +1 -1
- package/components/digi-form-filter.d.ts +1 -1
- package/components/digi-form-input-search.d.ts +1 -1
- package/components/digi-form-input.d.ts +1 -1
- package/components/digi-form-label.d.ts +1 -1
- package/components/digi-form-radiobutton.d.ts +1 -1
- package/components/digi-form-radiogroup.d.ts +1 -1
- package/components/digi-form-receipt.d.ts +1 -1
- package/components/digi-form-select-filter.d.ts +1 -1
- package/components/digi-form-select-filter.js +1 -1
- package/components/digi-form-select.d.ts +1 -1
- package/components/digi-form-textarea.d.ts +1 -1
- package/components/digi-form-validation-message.d.ts +1 -1
- package/components/digi-header-avatar.d.ts +1 -1
- package/components/digi-header-avatar.js +2 -2
- package/components/digi-header-navigation-item.d.ts +1 -1
- package/components/digi-header-navigation.d.ts +1 -1
- package/components/digi-header-navigation.js +2 -2
- package/components/digi-header-notification.d.ts +1 -1
- package/components/digi-header.d.ts +1 -1
- package/components/digi-header.js +3 -3
- package/components/digi-icon-accessibility-deaf.d.ts +1 -1
- package/components/digi-icon-accessibility-universal.d.ts +1 -1
- package/components/digi-icon-apple.d.ts +1 -1
- package/components/digi-icon-archive-outline.d.ts +1 -1
- package/components/digi-icon-archive.d.ts +1 -1
- package/components/digi-icon-arrow-back.d.ts +1 -1
- package/components/digi-icon-arrow-down.d.ts +1 -1
- package/components/digi-icon-arrow-left.d.ts +1 -1
- package/components/digi-icon-arrow-right.d.ts +1 -1
- package/components/digi-icon-arrow-sign-in.d.ts +1 -1
- package/components/digi-icon-arrow-sign-out.d.ts +1 -1
- package/components/digi-icon-arrow-up.d.ts +1 -1
- package/components/digi-icon-at.d.ts +1 -1
- package/components/digi-icon-bars.d.ts +1 -1
- package/components/digi-icon-bell-filled.d.ts +1 -1
- package/components/digi-icon-bell.d.ts +1 -1
- package/components/digi-icon-book.d.ts +1 -1
- package/components/digi-icon-bookmark-outline.d.ts +1 -1
- package/components/digi-icon-bookmark-solid.d.ts +1 -1
- package/components/digi-icon-bubble-ellipsis.d.ts +1 -1
- package/components/digi-icon-bubble.d.ts +1 -1
- package/components/digi-icon-building-outline.d.ts +1 -1
- package/components/digi-icon-building-solid.d.ts +1 -1
- package/components/digi-icon-bullseye.d.ts +1 -1
- package/components/digi-icon-calculator-solid.d.ts +1 -1
- package/components/digi-icon-calendar-alt-alert.d.ts +1 -1
- package/components/digi-icon-calendar-alt.d.ts +1 -1
- package/components/digi-icon-calendar.d.ts +1 -1
- package/components/digi-icon-caret-circle-right.d.ts +1 -1
- package/components/digi-icon-caret-down.d.ts +1 -1
- package/components/digi-icon-caret-left.d.ts +1 -1
- package/components/digi-icon-caret-right.d.ts +1 -1
- package/components/digi-icon-caret-up.d.ts +1 -1
- package/components/digi-icon-chart.d.ts +1 -1
- package/components/digi-icon-chat.d.ts +1 -1
- package/components/digi-icon-check-circle-reg-alt.d.ts +1 -1
- package/components/digi-icon-check-circle-solid.d.ts +1 -1
- package/components/digi-icon-check.d.ts +1 -1
- package/components/digi-icon-checklist.d.ts +1 -1
- package/components/digi-icon-chevron-down.d.ts +1 -1
- package/components/digi-icon-chevron-left.d.ts +1 -1
- package/components/digi-icon-chevron-right.d.ts +1 -1
- package/components/digi-icon-chevron-up.d.ts +1 -1
- package/components/digi-icon-clock.d.ts +1 -1
- package/components/digi-icon-communication-play-solid.d.ts +1 -1
- package/components/digi-icon-compress-alt.d.ts +1 -1
- package/components/digi-icon-comunication-case.d.ts +1 -1
- package/components/digi-icon-comunication-flag.d.ts +1 -1
- package/components/digi-icon-comunication-graduate.d.ts +1 -1
- package/components/digi-icon-comunication-play.d.ts +1 -1
- package/components/digi-icon-cooperation.d.ts +1 -1
- package/components/digi-icon-copy.d.ts +1 -1
- package/components/digi-icon-danger-outline.d.ts +1 -1
- package/components/digi-icon-download.d.ts +1 -1
- package/components/digi-icon-dxa.d.ts +1 -1
- package/components/digi-icon-edit.d.ts +1 -1
- package/components/digi-icon-ellipsis.d.ts +1 -1
- package/components/digi-icon-envelope-filled.d.ts +1 -1
- package/components/digi-icon-envelope.d.ts +1 -1
- package/components/digi-icon-exclamation-circle-filled.d.ts +1 -1
- package/components/digi-icon-exclamation-triangle-filled.d.ts +1 -1
- package/components/digi-icon-exclamation-triangle-warning.d.ts +1 -1
- package/components/digi-icon-exclamation-triangle.d.ts +1 -1
- package/components/digi-icon-expand-alt.d.ts +1 -1
- package/components/digi-icon-external-link-alt.d.ts +1 -1
- package/components/digi-icon-eye-slash.d.ts +1 -1
- package/components/digi-icon-eye.d.ts +1 -1
- package/components/digi-icon-facebook-square.d.ts +1 -1
- package/components/digi-icon-file-document.d.ts +1 -1
- package/components/digi-icon-file-excel.d.ts +1 -1
- package/components/digi-icon-file-governing.d.ts +1 -1
- package/components/digi-icon-file-pdf.d.ts +1 -1
- package/components/digi-icon-file-powerpoint.d.ts +1 -1
- package/components/digi-icon-file-word.d.ts +1 -1
- package/components/digi-icon-film.d.ts +1 -1
- package/components/digi-icon-filter.d.ts +1 -1
- package/components/digi-icon-globe-filled.d.ts +1 -1
- package/components/digi-icon-globe.d.ts +1 -1
- package/components/digi-icon-headphones.d.ts +1 -1
- package/components/digi-icon-heart-solid.d.ts +1 -1
- package/components/digi-icon-heart.d.ts +1 -1
- package/components/digi-icon-history.d.ts +1 -1
- package/components/digi-icon-home.d.ts +1 -1
- package/components/digi-icon-image.d.ts +1 -1
- package/components/digi-icon-info-circle-solid.d.ts +1 -1
- package/components/digi-icon-input-select-marker.d.ts +1 -1
- package/components/digi-icon-instagram.d.ts +1 -1
- package/components/digi-icon-job-suggestion.d.ts +1 -1
- package/components/digi-icon-language-outline.d.ts +1 -1
- package/components/digi-icon-language.d.ts +1 -1
- package/components/digi-icon-laptop-phone.d.ts +1 -1
- package/components/digi-icon-lattlast.d.ts +1 -1
- package/components/digi-icon-licence-bus.d.ts +1 -1
- package/components/digi-icon-licence-car.d.ts +1 -1
- package/components/digi-icon-licence-motorcycle.d.ts +1 -1
- package/components/digi-icon-licence-truck.d.ts +1 -1
- package/components/digi-icon-lightbulb.d.ts +1 -1
- package/components/digi-icon-linkedin-in.d.ts +1 -1
- package/components/digi-icon-list-ul.d.ts +1 -1
- package/components/digi-icon-lock.d.ts +1 -1
- package/components/digi-icon-marker-filled.d.ts +1 -1
- package/components/digi-icon-marker.d.ts +1 -1
- package/components/digi-icon-media-course.d.ts +1 -1
- package/components/digi-icon-media-podcast.d.ts +1 -1
- package/components/digi-icon-microphone-off.d.ts +1 -1
- package/components/digi-icon-microphone.d.ts +1 -1
- package/components/digi-icon-minus.d.ts +1 -1
- package/components/digi-icon-move.d.ts +1 -1
- package/components/digi-icon-news.d.ts +1 -1
- package/components/digi-icon-notification-error.d.ts +1 -1
- package/components/digi-icon-notification-info.d.ts +1 -1
- package/components/digi-icon-notification-succes.d.ts +1 -1
- package/components/digi-icon-notification-warning.d.ts +1 -1
- package/components/digi-icon-online-computervideo.d.ts +1 -1
- package/components/digi-icon-online-interview.d.ts +1 -1
- package/components/digi-icon-online-meeting.d.ts +1 -1
- package/components/digi-icon-online-task.d.ts +1 -1
- package/components/digi-icon-online-video.d.ts +1 -1
- package/components/digi-icon-open-source.d.ts +1 -1
- package/components/digi-icon-palette.d.ts +1 -1
- package/components/digi-icon-paperclip.d.ts +1 -1
- package/components/digi-icon-pen.d.ts +1 -1
- package/components/digi-icon-phone-hangup.d.ts +1 -1
- package/components/digi-icon-phone.d.ts +1 -1
- package/components/digi-icon-plus.d.ts +1 -1
- package/components/digi-icon-pod.d.ts +1 -1
- package/components/digi-icon-print.d.ts +1 -1
- package/components/digi-icon-read.d.ts +1 -1
- package/components/digi-icon-redo.d.ts +1 -1
- package/components/digi-icon-screensharing-off.d.ts +1 -1
- package/components/digi-icon-screensharing.d.ts +1 -1
- package/components/digi-icon-search.d.ts +1 -1
- package/components/digi-icon-send-outline.d.ts +1 -1
- package/components/digi-icon-send-solid.d.ts +1 -1
- package/components/digi-icon-settings.d.ts +1 -1
- package/components/digi-icon-share-alt.d.ts +1 -1
- package/components/digi-icon-share-chain.d.ts +1 -1
- package/components/digi-icon-sign.d.ts +1 -1
- package/components/digi-icon-sliders-h.d.ts +1 -1
- package/components/digi-icon-sokkandidat.d.ts +1 -1
- package/components/digi-icon-sort-down.d.ts +1 -1
- package/components/digi-icon-sort-up.d.ts +1 -1
- package/components/digi-icon-sort.d.ts +1 -1
- package/components/digi-icon-spinner.d.ts +1 -1
- package/components/digi-icon-star-reg.d.ts +1 -1
- package/components/digi-icon-star.d.ts +1 -1
- package/components/digi-icon-suitcase-outline.d.ts +1 -1
- package/components/digi-icon-suitcase-solid.d.ts +1 -1
- package/components/digi-icon-system-assistance.d.ts +1 -1
- package/components/digi-icon-table-column.d.ts +1 -1
- package/components/digi-icon-table-row.d.ts +1 -1
- package/components/digi-icon-table.d.ts +1 -1
- package/components/digi-icon-task-done.d.ts +1 -1
- package/components/digi-icon-toggle-off.d.ts +1 -1
- package/components/digi-icon-toggle-on.d.ts +1 -1
- package/components/digi-icon-trash.d.ts +1 -1
- package/components/digi-icon-twitter.d.ts +1 -1
- package/components/digi-icon-tyck-till.d.ts +1 -1
- package/components/digi-icon-unlock.d.ts +1 -1
- package/components/digi-icon-update.d.ts +1 -1
- package/components/digi-icon-upload.d.ts +1 -1
- package/components/digi-icon-user-alt.d.ts +1 -1
- package/components/digi-icon-users-solid.d.ts +1 -1
- package/components/digi-icon-validation-error.d.ts +1 -1
- package/components/digi-icon-validation-success.d.ts +1 -1
- package/components/digi-icon-validation-warning.d.ts +1 -1
- package/components/digi-icon-videocamera-off.d.ts +1 -1
- package/components/digi-icon-videocamera.d.ts +1 -1
- package/components/digi-icon-volume.d.ts +1 -1
- package/components/digi-icon-web-tv.d.ts +1 -1
- package/components/digi-icon-webinar.d.ts +1 -1
- package/components/digi-icon-wifi-signal0.d.ts +1 -1
- package/components/digi-icon-wifi-signal1.d.ts +1 -1
- package/components/digi-icon-wifi-signal2.d.ts +1 -1
- package/components/digi-icon-wifi-signal3.d.ts +1 -1
- package/components/digi-icon-window.d.ts +1 -1
- package/components/digi-icon-x-button-outline.d.ts +1 -1
- package/components/digi-icon-x-button.d.ts +1 -1
- package/components/digi-icon-x.d.ts +1 -1
- package/components/digi-icon-youtube.d.ts +1 -1
- package/components/digi-icon.d.ts +1 -1
- package/components/digi-info-card-multi-container.d.ts +1 -1
- package/components/digi-info-card-multi.d.ts +1 -1
- package/components/digi-info-card-multi.js +4 -4
- package/components/digi-info-card.d.ts +1 -1
- package/components/digi-info-card.js +1 -1
- package/components/digi-layout-block.d.ts +1 -1
- package/components/digi-layout-columns.d.ts +1 -1
- package/components/digi-layout-container.d.ts +1 -1
- package/components/digi-layout-media-object.d.ts +1 -1
- package/components/digi-link-button.d.ts +1 -1
- package/components/digi-link-external.d.ts +1 -1
- package/components/digi-link-internal.d.ts +1 -1
- package/components/digi-link.d.ts +1 -1
- package/components/digi-list.d.ts +1 -1
- package/components/digi-list.js +53 -41
- package/components/digi-loader-skeleton.d.ts +1 -1
- package/components/digi-loader-skeleton.js +3 -3
- package/components/digi-loader-spinner.d.ts +1 -1
- package/components/digi-loader-spinner.js +1 -1
- package/components/digi-logo.d.ts +1 -1
- package/components/digi-logo.js +1 -1
- package/components/digi-media-figure.d.ts +1 -1
- package/components/digi-media-figure.js +1 -1
- package/components/digi-media-image.d.ts +1 -1
- package/components/digi-media-image.js +1 -1
- package/components/digi-navigation-breadcrumbs.d.ts +1 -1
- package/components/digi-navigation-breadcrumbs.js +2 -2
- package/components/digi-navigation-context-menu-item.d.ts +1 -1
- package/components/digi-navigation-context-menu.d.ts +1 -1
- package/components/digi-navigation-context-menu.js +1 -1
- package/components/digi-navigation-dropdown.d.ts +1 -1
- package/components/digi-navigation-dropdown.js +1 -1
- package/components/digi-navigation-pagination.d.ts +1 -1
- package/components/digi-navigation-pagination.js +8 -8
- package/components/digi-navigation-sidebar-button.d.ts +1 -1
- package/components/digi-navigation-sidebar-button.js +1 -1
- package/components/digi-navigation-sidebar.d.ts +1 -1
- package/components/digi-navigation-sidebar.js +4 -4
- package/components/digi-navigation-vertical-menu-item.d.ts +1 -1
- package/components/digi-navigation-vertical-menu-item.js +6 -6
- package/components/digi-navigation-vertical-menu.d.ts +1 -1
- package/components/digi-navigation-vertical-menu.js +1 -1
- package/components/digi-notification-alert.d.ts +1 -1
- package/components/digi-notification-alert.js +1 -1
- package/components/digi-notification-error-page.d.ts +1 -1
- package/components/digi-notification-error-page.js +5 -5
- package/components/digi-progress-circle.d.ts +1 -1
- package/components/digi-progress-circle.js +8 -8
- package/components/digi-progress-indicator.d.ts +1 -1
- package/components/digi-progress-indicator.js +3 -3
- package/components/digi-progress-list-item.d.ts +1 -1
- package/components/digi-progress-list-item.js +5 -5
- package/components/digi-progress-list.d.ts +1 -1
- package/components/digi-progress-list.js +2 -2
- package/components/digi-progressbar.d.ts +1 -1
- package/components/digi-progressbar.js +2 -2
- package/components/digi-quote-multi-container.d.ts +1 -1
- package/components/digi-quote-multi-container.js +1 -1
- package/components/digi-quote-single.d.ts +1 -1
- package/components/digi-quote-single.js +3 -3
- package/components/digi-quote.d.ts +1 -1
- package/components/digi-quote.js +3 -3
- package/components/digi-table.d.ts +1 -1
- package/components/digi-table.js +2 -2
- package/components/digi-tablist-panel.d.ts +1 -1
- package/components/digi-tablist-panel.js +2 -2
- package/components/digi-tablist.d.ts +1 -1
- package/components/digi-tablist.js +45 -14
- package/components/digi-tag-media.d.ts +1 -1
- package/components/digi-tag-media.js +1 -1
- package/components/digi-tag.d.ts +1 -1
- package/components/digi-tag.js +1 -1
- package/components/digi-tools-feedback-banner.d.ts +1 -1
- package/components/digi-tools-feedback-banner.js +1 -1
- package/components/digi-tools-feedback-rating.d.ts +1 -1
- package/components/digi-tools-feedback-rating.js +2 -2
- package/components/digi-tools-feedback.d.ts +1 -1
- package/components/digi-tools-feedback.js +1 -1
- package/components/digi-tools-languagepicker.d.ts +1 -1
- package/components/digi-tools-languagepicker.js +5 -5
- package/components/digi-typography-heading-jumbo.d.ts +1 -1
- package/components/digi-typography-heading-jumbo.js +1 -1
- package/components/digi-typography-meta.d.ts +1 -1
- package/components/digi-typography-meta.js +1 -1
- package/components/digi-typography-preamble.d.ts +1 -1
- package/components/digi-typography-preamble.js +1 -1
- package/components/digi-typography-time.d.ts +1 -1
- package/components/digi-typography-time.js +1 -1
- package/components/digi-typography.d.ts +1 -1
- package/components/digi-typography.js +1 -1
- package/components/digi-util-breakpoint-observer.d.ts +1 -1
- package/components/digi-util-breakpoint-observer.js +1 -1
- package/components/digi-util-detect-click-outside.d.ts +1 -1
- package/components/digi-util-detect-click-outside.js +1 -1
- package/components/digi-util-detect-focus-outside.d.ts +1 -1
- package/components/digi-util-detect-focus-outside.js +1 -1
- package/components/digi-util-intersection-observer.d.ts +1 -1
- package/components/digi-util-intersection-observer.js +1 -1
- package/components/digi-util-keydown-handler.d.ts +1 -1
- package/components/digi-util-keydown-handler.js +1 -1
- package/components/digi-util-keyup-handler.d.ts +1 -1
- package/components/digi-util-keyup-handler.js +1 -1
- package/components/digi-util-mutation-observer.d.ts +1 -1
- package/components/digi-util-resize-observer.d.ts +1 -1
- package/components/digi-util-resize-observer.js +1 -1
- package/components/index.d.ts +280 -280
- package/components/{p-2ce0989f.js → p-01d2a729.js} +3 -3
- package/components/{p-49de5413.js → p-04eb640c.js} +3 -3
- package/components/{p-3c2bb3be.js → p-08f893f9.js} +1 -1
- package/components/{p-193267a8.js → p-0a51f268.js} +1 -1
- package/components/{p-a7b46971.js → p-183bcf59.js} +6 -6
- package/components/{p-336eb016.js → p-2545040d.js} +2 -2
- package/components/{p-1b6bd776.js → p-37646e57.js} +1 -1
- package/components/{p-f08f59ca.js → p-4e021f6d.js} +3 -3
- package/components/{p-2d79a104.js → p-5dca8ff8.js} +1 -1
- package/components/{p-d2651556.js → p-6a9e0790.js} +1 -1
- package/components/{p-0451e593.js → p-be533e67.js} +1 -1
- package/components/{p-692534f1.js → p-d5213e94.js} +2 -2
- package/components/{p-4775d757.js → p-f0993f91.js} +1 -1
- package/components/{p-1b51a94c.js → p-f998c0b1.js} +1 -1
- package/dist/cjs/digi-arbetsformedlingen.cjs.js +1 -1
- package/dist/cjs/{digi-form-file-upload_13.cjs.entry.js → digi-badge-notification_18.cjs.entry.js} +374 -3
- package/dist/cjs/digi-calendar-datepicker.cjs.entry.js +1 -2
- package/dist/cjs/digi-code-block_3.cjs.entry.js +1 -2
- package/dist/cjs/digi-context-menu.cjs.entry.js +3 -3
- package/dist/cjs/digi-dialog.cjs.entry.js +1 -2
- package/dist/cjs/digi-expandable-accordion.cjs.entry.js +1 -2
- package/dist/cjs/digi-footer.cjs.entry.js +1 -2
- package/dist/cjs/digi-form-error-list.cjs.entry.js +1 -2
- package/dist/cjs/digi-form-receipt.cjs.entry.js +1 -2
- package/dist/cjs/digi-form-select-filter.cjs.entry.js +1 -2
- package/dist/cjs/digi-header-navigation.cjs.entry.js +1 -2
- package/dist/cjs/digi-header.cjs.entry.js +1 -2
- package/dist/cjs/digi-icon-language-outline_4.cjs.entry.js +5 -5
- package/dist/cjs/digi-list.cjs.entry.js +49 -31
- package/dist/cjs/digi-loader-skeleton.cjs.entry.js +3 -3
- package/dist/cjs/digi-loader-spinner.cjs.entry.js +1 -1
- package/dist/cjs/digi-logo_2.cjs.entry.js +3 -3
- package/dist/cjs/digi-media-figure.cjs.entry.js +1 -1
- package/dist/cjs/digi-media-image_2.cjs.entry.js +3 -3
- package/dist/cjs/digi-navigation-breadcrumbs.cjs.entry.js +2 -2
- package/dist/cjs/digi-navigation-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/digi-navigation-pagination.cjs.entry.js +7 -8
- 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 +3 -4
- package/dist/cjs/digi-notification-error-page.cjs.entry.js +4 -5
- package/dist/cjs/digi-progress-circle.cjs.entry.js +8 -8
- package/dist/cjs/digi-progress-indicator.cjs.entry.js +3 -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-multi-container.cjs.entry.js +1 -1
- package/dist/cjs/digi-quote-single.cjs.entry.js +1 -1
- package/dist/cjs/digi-quote.cjs.entry.js +1 -1
- package/dist/cjs/digi-table.cjs.entry.js +2 -2
- package/dist/cjs/digi-tag-media.cjs.entry.js +2 -2
- package/dist/cjs/digi-tag.cjs.entry.js +1 -1
- package/dist/cjs/digi-tools-feedback-banner.cjs.entry.js +1 -1
- package/dist/cjs/digi-tools-feedback-rating.cjs.entry.js +1 -1
- package/dist/cjs/digi-tools-feedback.cjs.entry.js +2 -3
- package/dist/cjs/digi-tools-languagepicker.cjs.entry.js +3 -3
- package/dist/cjs/digi-typography-heading-jumbo.cjs.entry.js +1 -1
- 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-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 +2 -22
- package/dist/cjs/index.cjs.js +44 -45
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{typography-variation.enum-9b2f695f.js → typography-variation.enum-084bac52.js} +7 -0
- package/dist/collection/components/_list/list/list.css +9 -18
- package/dist/collection/components/_list/list/list.js +48 -30
- package/dist/collection/components/_loader/loader-skeleton/loader-skeleton.js +3 -3
- package/dist/collection/components/_loader/loader-spinner/loader-spinner.js +1 -1
- package/dist/collection/components/_logo/logo/logo.js +2 -2
- package/dist/collection/components/_media/media-figure/media-figure.js +1 -1
- package/dist/collection/components/_media/media-image/media-image.js +2 -2
- package/dist/collection/components/_navigation/navigation-breadcrumbs/navigation-breadcrumbs.js +2 -2
- package/dist/collection/components/_navigation/navigation-context-menu/navigation-context-menu.js +3 -3
- package/dist/collection/components/_navigation/navigation-context-menu-legacy/navigation-context-menu.js +5 -5
- package/dist/collection/components/_navigation/navigation-dropdown/navigation-dropdown.js +3 -3
- 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.css +1 -0
- package/dist/collection/components/_navigation/navigation-tablist/navigation-tablist.js +44 -13
- 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/notification-error-page.js +3 -3
- package/dist/collection/components/_progress/progress-circle/progress-circle.js +8 -8
- package/dist/collection/components/_progress/progress-indicator/progress-indicator.js +3 -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 -1
- package/dist/collection/components/_quote/quote-multi-container/quote-multi-container.js +1 -1
- package/dist/collection/components/_quote/quote-single/quote.js +1 -1
- package/dist/collection/components/_table/table/table.css +8 -0
- package/dist/collection/components/_table/table/table.js +1 -1
- package/dist/collection/components/_tag/tag/tag.js +1 -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 +1 -1
- package/dist/collection/components/_tools/tools-languagepicker/tools-languagepicker.js +3 -3
- package/dist/collection/components/_typography/typography/typography.js +1 -1
- package/dist/collection/components/_typography/typography-heading-jumbo/typography-heading-jumbo.js +1 -1
- 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/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
- package/dist/digi-arbetsformedlingen/index.esm.js +1 -1
- package/dist/digi-arbetsformedlingen/{p-ab23fceb.entry.js → p-0d5a4ab7.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-041da6a8.entry.js → p-13399162.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-19264ca2.entry.js → p-168d6bde.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-33cd79f9.entry.js → p-2208eb77.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-63fde127.entry.js → p-26705396.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1ff3397f.entry.js → p-27251d08.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-f84e2c7d.entry.js → p-283cae63.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-759ab96d.entry.js → p-28bd7c58.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-33b71e04.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-58b8ea5a.entry.js → p-3d9f3e3b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-f8e68405.entry.js → p-4e760622.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-572dd91f.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-4c03d770.entry.js → p-5cd5c605.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-3b3f0655.entry.js → p-6640b4be.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-68f4f746.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-e7b41257.entry.js → p-6cdfec1e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-741bbfab.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-753165b6.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7560a9ad.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-e20cd7a1.entry.js → p-781deff2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-7bba5df4.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7da457a1.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-a48f6110.entry.js → p-86ddc7eb.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-dd36b4df.entry.js → p-876dc5a2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-880a88c2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-8c2ea14f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-608e1928.entry.js → p-914fc9bf.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-95d3cfe2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9b86c42c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9c8f8e7b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-0b24ea57.entry.js → p-a9a4b015.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5effe466.entry.js → p-b12e27eb.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-d8b31a6c.entry.js → p-b4ba9723.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-ba1f78aa.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ba5252ff.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-911e9465.entry.js → p-c181fd28.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ab450552.entry.js → p-c2bb4481.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-cc2eafc6.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-d7f8bd8a.entry.js → p-ce65a572.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-cec29136.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d107e718.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-5ba35f2b.entry.js → p-d41c957d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-775e50cf.entry.js → p-d633419a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-d91f2dfb.entry.js → p-d6af7e79.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-163b5be5.entry.js → p-d8e4af6a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-e0480125.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-17d6e5e2.entry.js → p-e472def9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-e966cc05.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ed559bc6.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-6b927e38.entry.js → p-f15e211c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b1ad34d1.entry.js → p-fca928a0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-63136a87.entry.js → p-fd9542d4.entry.js} +1 -1
- package/dist/esm/digi-arbetsformedlingen.js +1 -1
- package/dist/esm/{digi-form-file-upload_13.entry.js → digi-badge-notification_18.entry.js} +371 -5
- package/dist/esm/digi-calendar-datepicker.entry.js +1 -2
- package/dist/esm/digi-code-block_3.entry.js +1 -2
- package/dist/esm/digi-context-menu.entry.js +3 -3
- package/dist/esm/digi-dialog.entry.js +1 -2
- package/dist/esm/digi-expandable-accordion.entry.js +1 -2
- package/dist/esm/digi-footer.entry.js +1 -2
- package/dist/esm/digi-form-error-list.entry.js +1 -2
- package/dist/esm/digi-form-receipt.entry.js +1 -2
- package/dist/esm/digi-form-select-filter.entry.js +1 -2
- package/dist/esm/digi-header-navigation.entry.js +1 -2
- package/dist/esm/digi-header.entry.js +1 -2
- package/dist/esm/digi-icon-language-outline_4.entry.js +5 -5
- package/dist/esm/digi-list.entry.js +49 -31
- package/dist/esm/digi-loader-skeleton.entry.js +3 -3
- package/dist/esm/digi-loader-spinner.entry.js +1 -1
- package/dist/esm/digi-logo_2.entry.js +3 -3
- package/dist/esm/digi-media-figure.entry.js +1 -1
- package/dist/esm/digi-media-image_2.entry.js +3 -3
- package/dist/esm/digi-navigation-breadcrumbs.entry.js +2 -2
- package/dist/esm/digi-navigation-dropdown.entry.js +3 -3
- package/dist/esm/digi-navigation-pagination.entry.js +7 -8
- 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 +3 -4
- package/dist/esm/digi-notification-error-page.entry.js +4 -5
- package/dist/esm/digi-progress-circle.entry.js +8 -8
- package/dist/esm/digi-progress-indicator.entry.js +3 -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-multi-container.entry.js +1 -1
- package/dist/esm/digi-quote-single.entry.js +1 -1
- package/dist/esm/digi-quote.entry.js +1 -1
- package/dist/esm/digi-table.entry.js +2 -2
- package/dist/esm/digi-tag-media.entry.js +2 -2
- package/dist/esm/digi-tag.entry.js +1 -1
- package/dist/esm/digi-tools-feedback-banner.entry.js +1 -1
- package/dist/esm/digi-tools-feedback-rating.entry.js +1 -1
- package/dist/esm/digi-tools-feedback.entry.js +2 -3
- package/dist/esm/digi-tools-languagepicker.entry.js +3 -3
- package/dist/esm/digi-typography-heading-jumbo.entry.js +1 -1
- 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-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 +2 -22
- package/dist/esm/index.js +1 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{typography-variation.enum-90aa6767.js → typography-variation.enum-7e917c96.js} +8 -1
- package/dist/types/components/_chart/chart-line/chart-line-series.interface.d.ts +1 -1
- package/dist/types/components/_list/list/list.d.ts +8 -9
- package/dist/types/components/_navigation/navigation-tablist/navigation-tablist.d.ts +3 -1
- package/hydrate/index.js +184 -135
- package/hydrate/index.mjs +184 -135
- package/package.json +5 -2
- package/dist/cjs/badge-notification-shape.enum-ff802554.js +0 -8
- package/dist/cjs/digi-badge-notification.cjs.entry.js +0 -63
- package/dist/cjs/digi-icon-chevron-left.cjs.entry.js +0 -30
- package/dist/cjs/digi-icon-chevron-right.cjs.entry.js +0 -30
- package/dist/cjs/digi-tablist-panel.cjs.entry.js +0 -23
- package/dist/cjs/digi-tablist.cjs.entry.js +0 -227
- package/dist/digi-arbetsformedlingen/p-014cdae1.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-21718068.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-21d3ad3e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-23083872.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-31209f5b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-42ae2acf.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-486e9de8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4ce9b4ce.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-51a68e64.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-581f1a70.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5be66175.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5c68ee0e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-717306ef.js +0 -1
- package/dist/digi-arbetsformedlingen/p-838b6bcf.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8410cb10.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8e28cca1.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9eb53072.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b70b266c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b89d63df.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-be911ea9.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c9cebe33.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-da8a4ea6.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-debb55cd.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e0a14032.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e413232a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ecef7e7a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f22abb8a.entry.js +0 -1
- package/dist/esm/badge-notification-shape.enum-e15a6245.js +0 -8
- package/dist/esm/digi-badge-notification.entry.js +0 -59
- package/dist/esm/digi-icon-chevron-left.entry.js +0 -26
- package/dist/esm/digi-icon-chevron-right.entry.js +0 -26
- package/dist/esm/digi-tablist-panel.entry.js +0 -19
- package/dist/esm/digi-tablist.entry.js +0 -223
|
@@ -7,6 +7,33 @@ import { Direction, OverflowMode } from "./navigation-tablist.types";
|
|
|
7
7
|
export class NavigationTablist {
|
|
8
8
|
constructor() {
|
|
9
9
|
this.tabRefs = {};
|
|
10
|
+
this.handleResize = () => {
|
|
11
|
+
if (!this.tablistRef)
|
|
12
|
+
return;
|
|
13
|
+
// Ensure we measure after any layout/paint from the resize
|
|
14
|
+
if (this._requestAnimationFrame)
|
|
15
|
+
cancelAnimationFrame(this._requestAnimationFrame);
|
|
16
|
+
this._requestAnimationFrame = requestAnimationFrame(() => {
|
|
17
|
+
var _a, _b;
|
|
18
|
+
const el = this.tablistRef;
|
|
19
|
+
const containerWidth = el.clientWidth;
|
|
20
|
+
const contentWidth = el.scrollWidth;
|
|
21
|
+
// Tolerance ≈ 1 physical pixel to absorb zoom/subpixel jitter
|
|
22
|
+
const tolerance = 1 / ((window === null || window === void 0 ? void 0 : window.devicePixelRatio) || 1);
|
|
23
|
+
// Guard against div-by-zero
|
|
24
|
+
const tabsCount = Math.max((_b = (_a = this.tabs) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0, 1);
|
|
25
|
+
const avgTabWidth = contentWidth / tabsCount;
|
|
26
|
+
// How many whole tabs fit? Nudge by tolerance to avoid off-by-one at zoom edges
|
|
27
|
+
const tabsPerWindow = Math.floor((containerWidth + tolerance) / avgTabWidth);
|
|
28
|
+
this.tabsPerWindow = Math.max(1, Math.min(tabsPerWindow, tabsCount));
|
|
29
|
+
// Overflow check with tolerance
|
|
30
|
+
this.listOverflows = contentWidth - containerWidth > tolerance;
|
|
31
|
+
// (Optional) if you have left/right “handles”, compute visibility too:
|
|
32
|
+
this.showPrev = el.scrollLeft > tolerance;
|
|
33
|
+
this.showNext =
|
|
34
|
+
el.scrollLeft + el.clientWidth < el.scrollWidth - tolerance;
|
|
35
|
+
});
|
|
36
|
+
};
|
|
10
37
|
this.activeTab = 0;
|
|
11
38
|
this.selectedTab = 0;
|
|
12
39
|
this.windowTab = 0;
|
|
@@ -139,13 +166,6 @@ export class NavigationTablist {
|
|
|
139
166
|
this.setActiveTabAndFocus(idx);
|
|
140
167
|
this.afTabChange.emit(tab);
|
|
141
168
|
}
|
|
142
|
-
handleResize() {
|
|
143
|
-
const tlRect = this.tablistRef.getBoundingClientRect();
|
|
144
|
-
const contentWidth = this.tablistRef.scrollWidth;
|
|
145
|
-
this.tabsPerWindow = Math.max(Math.floor(Math.min((tlRect.width / contentWidth) * this.tabs.length, this.tabs.length)), 1);
|
|
146
|
-
this.listOverflows =
|
|
147
|
-
this.tablistRef.scrollWidth > this.tablistRef.clientWidth;
|
|
148
|
-
}
|
|
149
169
|
handleTabControl(direction) {
|
|
150
170
|
this.moveWindow(this.windowTab + direction * this.tabsPerWindow);
|
|
151
171
|
}
|
|
@@ -179,20 +199,31 @@ export class NavigationTablist {
|
|
|
179
199
|
this.setupInitialTab();
|
|
180
200
|
}
|
|
181
201
|
componentDidLoad() {
|
|
202
|
+
var _a, _b, _c;
|
|
203
|
+
// Also listen to window resize for viewport zoom changes
|
|
204
|
+
window.addEventListener('resize', this.handleResize, { passive: true });
|
|
205
|
+
// Recalculate once fonts finish loading (text width changes with webfonts)
|
|
206
|
+
(_c = (_b = (_a = document.fonts) === null || _a === void 0 ? void 0 : _a.ready) === null || _b === void 0 ? void 0 : _b.then) === null || _c === void 0 ? void 0 : _c.call(_b, () => this.handleResize());
|
|
182
207
|
this.setupResizeHandler();
|
|
183
208
|
this.handleResize();
|
|
184
209
|
this.syncPanels();
|
|
185
210
|
this.syncControls();
|
|
186
211
|
}
|
|
212
|
+
disconnectedCallback() {
|
|
213
|
+
window.removeEventListener('resize', this.handleResize);
|
|
214
|
+
this.resizeObserver.disconnect();
|
|
215
|
+
if (this._requestAnimationFrame)
|
|
216
|
+
cancelAnimationFrame(this._requestAnimationFrame);
|
|
217
|
+
}
|
|
187
218
|
render() {
|
|
188
|
-
return (h(Host, { key: '
|
|
219
|
+
return (h(Host, { key: 'a2d0a4a47afb0224f2a466196e0910fe8b0007db' }, h("div", { key: '907b735f9cbbd18de973d5a84962986f2db462df', class: {
|
|
189
220
|
'digi-tablist': true,
|
|
190
221
|
'digi-tablist--overflow-scroll': this.afOverflowMode === OverflowMode.Scroll,
|
|
191
222
|
'digi-tablist--overflow-controls': this.afOverflowMode === OverflowMode.Controls
|
|
192
|
-
} }, h("div", { key: '
|
|
223
|
+
} }, h("div", { key: '4a3a4095745fb33b3e10192304aa1e6515bec1c1', class: "control-wrapper", style: {
|
|
193
224
|
left: '0',
|
|
194
225
|
visibility: this.showPrev ? 'visible' : 'hidden'
|
|
195
|
-
} }, h("button", { key: '
|
|
226
|
+
} }, h("button", { key: 'a599723bbb5b3cf770deee17e33e000d2c364dce', tabIndex: -1, type: "button", "aria-hidden": "true", class: { 'tab-control-button': true }, onClick: () => this.handleTabControl(Direction.Previous) }, h("digi-icon-chevron-left", { key: '290eb8f8242d354d4cc72858221fedcf3b8b6e1e' }))), h("div", { key: '2342fb3a31f30a2d858a6c13408345ad7066bb22', role: "tablist", ref: (ref) => (this.tablistRef = ref), "aria-labelledby": this.afAriaLabelledby, "aria-label": this.afAriaLabel }, this.tabs.map((tab) => {
|
|
196
227
|
const focusable = tab.id === this.tabs[this.selectedTab].id;
|
|
197
228
|
const isActive = tab.id === this.tabs[this.activeTab].id;
|
|
198
229
|
const Icon = `digi-icon-${tab.icon}`;
|
|
@@ -200,11 +231,11 @@ export class NavigationTablist {
|
|
|
200
231
|
return (h("button", { ref: (ref) => (this.tabRefs[tab.id] = ref), class: {
|
|
201
232
|
'digi-tab': true,
|
|
202
233
|
'is-active': isActive
|
|
203
|
-
}, id: `tab-${tab.id}`, role: "tab", tabindex: focusable ? '0' : '-1', "aria-label": tab.ariaLabel, "aria-selected": isActive.toString(), "aria-controls": `tabpanel-${tab.id}`, onClick: () => this.handleTabChange(tab) }, h("div", { class: "content-wrapper" }, h("span", { class: "content" }, tab.icon && h(Icon, { "aria-hidden": "true" }), h("span", { class: "title", "data-text": tab.title }, tab.title), tab.badgeValue && (h("digi-badge-notification", { afValue: badgeValue, "aria-hidden": "true" }))), h("div", { class: "indicator" }))));
|
|
204
|
-
})), h("div", { key: '
|
|
234
|
+
}, 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) }, h("div", { class: "content-wrapper" }, h("span", { class: "content" }, tab.icon && h(Icon, { "aria-hidden": "true" }), h("span", { class: "title", "data-text": tab.title }, tab.title), tab.badgeValue && (h("digi-badge-notification", { afValue: badgeValue, "aria-hidden": "true" }))), h("div", { class: "indicator" }))));
|
|
235
|
+
})), h("div", { key: '9cf6911780629f3f9455968e3cdb6a04a54f1782', class: "control-wrapper", style: {
|
|
205
236
|
right: '0',
|
|
206
237
|
visibility: this.showNext ? 'visible' : 'hidden'
|
|
207
|
-
} }, h("button", { key: '
|
|
238
|
+
} }, h("button", { key: 'd863de3bd80445003cce0b0c4209e6855ba40949', tabIndex: -1, type: "button", "aria-hidden": "true", class: { 'tab-control-button': true }, onClick: () => this.handleTabControl(Direction.Next) }, h("digi-icon-chevron-right", { key: 'c6a800f0d617b0d64e842ffb0fca300dfa4f8bfa' })))), h("div", { key: 'f8ad4b2ab7707efa619d3bb74e02b35a7ace9fd6', ref: (ref) => (this.panelsRef = ref), role: "presentation" }, h("slot", { key: '17e13e799e177671506382d08c902edaefa07389' }))));
|
|
208
239
|
}
|
|
209
240
|
static get is() { return "digi-tablist"; }
|
|
210
241
|
static get encapsulation() { return "scoped"; }
|
|
@@ -9,11 +9,11 @@ export class NavigationTabPanel {
|
|
|
9
9
|
this.isVisible = false;
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: '8de4d7c710482a13c52d0cde7c9b94ea085da5c9' }, h("div", { key: '66f5fc97655c4f3f8e16ebe0e2b57cbc6bef6244', id: `tabpanel-${this.tab}`, role: "tabpanel", "aria-labelledby": `tab-${this.tab}`, style: {
|
|
13
13
|
display: this.isVisible ? 'initial' : 'none',
|
|
14
14
|
overflowX: 'hidden',
|
|
15
15
|
overflowY: 'auto'
|
|
16
|
-
} }, h("slot", { key: '
|
|
16
|
+
} }, h("slot", { key: '8e5a360d1a6975556b59a82d3786b35665df1340' }))));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "digi-tablist-panel"; }
|
|
19
19
|
static get encapsulation() { return "scoped"; }
|
package/dist/collection/components/_navigation/navigation-vertical-menu/navigation-vertical-menu.js
CHANGED
|
@@ -168,7 +168,7 @@ export class NavigationVerticalMenu {
|
|
|
168
168
|
};
|
|
169
169
|
}
|
|
170
170
|
render() {
|
|
171
|
-
return (h("nav", { key: '
|
|
171
|
+
return (h("nav", { key: 'e0ec2e3f6a9ff2528cba97df95fd8614a60e9407', class: Object.assign({ 'digi-navigation-vertical-menu': true }, this.cssModifiers), id: this.afId, "aria-label": this.afAriaLabel }, h("slot", { key: '5793f487c67523693975bdc2a231075cbb88b6ba' })));
|
|
172
172
|
}
|
|
173
173
|
static get is() { return "digi-navigation-vertical-menu"; }
|
|
174
174
|
static get encapsulation() { return "scoped"; }
|
|
@@ -115,24 +115,24 @@ export class NavigationVerticalMenuItem {
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
render() {
|
|
118
|
-
return (h("host", { key: '
|
|
118
|
+
return (h("host", { key: 'd15d8e342c85a7bb449a9f15fc0155e3f326de97', class: {
|
|
119
119
|
'digi-navigation-vertical-menu-item--has-subnav': this.hasSubnav,
|
|
120
120
|
'digi-navigation-vertical-menu-item--active-subnav': this.activeSubnav
|
|
121
|
-
} }, h("div", { key: '
|
|
121
|
+
} }, h("div", { key: '5f9a8919503a27f0c86a3c20630b17e1cda52096', class: Object.assign({ 'digi-navigation-vertical-menu-item': true }, this.cssModifiers) }, this.hasSubnav && this.afHref && (h("div", { key: '7fd1ef41eec68d3c4a23f5d8dfa9c2e1da845515', class: "digi-navigation-vertical-menu-item__inner digi-navigation-vertical-menu-item__inner--combined" }, h("a", { key: '35e3360297c1cfd8583b150c22191ce2b2ae178e', id: `${this.afId}-link`, href: this.afHref, class: {
|
|
122
122
|
'digi-navigation-vertical-menu-item__link': true,
|
|
123
123
|
'digi-navigation-vertical-menu-item__has-subnav': true,
|
|
124
124
|
'digi-navigation-vertical-menu-item__link--active': this.isActive,
|
|
125
125
|
'digi-navigation-vertical-menu-item__link--expanded': this.activeSubnav
|
|
126
|
-
}, onClick: (e) => this.clickHandler(e) }, h("div", { key: '
|
|
126
|
+
}, onClick: (e) => this.clickHandler(e) }, h("div", { key: '0884c9c13a256165fc954034c8792be99b6aee68', class: "digi-navigation-vertical-menu-item__icon", "aria-hidden": "true", hidden: !this.hasIcon }, h("slot", { key: 'ed7dff2f74ee04a1a80d9ee25728527a26d54980', name: "icon" })), h("span", { key: '148c0487d798dd97b701d6bfd06ca5d2152c8a92', class: "digi-navigation-vertical-menu-item__text", lang: this.afLang }, this.afText), h("div", { key: '49e4599dc72accd61a8bcf2e889e1a356300f8b4', class: "digi-navigation-vertical-menu-item__badge", hidden: !this.hasBadge }, h("slot", { key: '1b832435c6c45e90b6e86871ecc91aadcec113ee', name: "badge" }))), h("button", { key: 'c037fc8e1f7e52b3d507d0d1113b85e351963984', type: "button", id: `${this.afId}-toggle-button`, class: {
|
|
127
127
|
'digi-navigation-vertical-menu-item__button digi-navigation-vertical-menu-item__button--toggle': true,
|
|
128
128
|
'digi-navigation-vertical-menu-item__button--active': this.isActive
|
|
129
|
-
}, onClick: (e) => this.clickHandler(e), "aria-controls": `${this.afId}-collapse-menu`, "aria-expanded": this.activeSubnav ? 'true' : 'false', "aria-label": `${this.toggleButtonText} ${this.afText}` }, h("span", { key: '
|
|
129
|
+
}, onClick: (e) => this.clickHandler(e), "aria-controls": `${this.afId}-collapse-menu`, "aria-expanded": this.activeSubnav ? 'true' : 'false', "aria-label": `${this.toggleButtonText} ${this.afText}` }, h("span", { key: 'c5b647b8f19100046cf3e0f04bac52cd1515f5d0', class: "digi-navigation-vertical-menu-item__toggle-icon" }, h("span", { key: '52ab0e9378684f7598a2ad376bb20ae92fb49f27', class: "icon" }, this.toggleIcon))))), this.hasSubnav && !this.afHref && (h("div", { key: 'f6112b29375652496e1514197baae2a1516471fd', class: "digi-navigation-vertical-menu-item__inner" }, h("button", { key: '54dd63e60df6f8e8d173142f11464de2fa89a00d', id: `${this.afId}-toggle-button`, class: "digi-navigation-vertical-menu-item__button digi-navigation-vertical-menu-item__button--only-toggle", onClick: (e) => this.clickHandler(e), "aria-controls": `${this.afId}-collapse-menu`, "aria-expanded": this.activeSubnav ? 'true' : 'false', type: "button" }, h("span", { key: 'd8e864d204a42a84b67fdf3064ad08c89982565f', class: "digi-navigation-vertical-menu-item__icon", "aria-hidden": "true", hidden: !this.hasIcon }, h("slot", { key: '26cd210d0d52346e275d259398ca44817e4f504b', name: "icon" })), h("span", { key: 'daa08a6fc42ebeeb63b86fe63b16b75a4d46e8c9', class: "digi-navigation-vertical-menu-item__text", lang: this.afLang }, this.afText), h("div", { key: '0f35fe8be3e9d057a37b9d662142b62fc19aefbe', class: "digi-navigation-vertical-menu-item__badge", hidden: !this.hasBadge }, h("slot", { key: 'ae68e64929f342480a1e194dfdc4f651b0e990a3', name: "badge" })), h("span", { key: '37a3aa1eb9101705b903249e6879c6e9a8fcb8ca', class: "digi-navigation-vertical-menu-item__toggle-icon" }, h("span", { key: '5d441f10d78549f5630cd3ea0d1b27c1072a3df5' }, this.toggleIcon))))), !this.hasSubnav && (h("div", { key: '44c7a576800a6c27f360ec1c641bcdc8d3aae493', class: "digi-navigation-vertical-menu-item__inner" }, !this.isActive && (h("a", { key: 'b78af1785d1912dd4cb9e078e7fea5ac0fe2200f', id: `${this.afId}-link`, href: this.afHref, class: {
|
|
130
130
|
'digi-navigation-vertical-menu-item__link': true,
|
|
131
131
|
'digi-navigation-vertical-menu-item__link--active': this.isActive
|
|
132
|
-
}, onClick: (e) => this.clickHandler(e) }, h("div", { key: '
|
|
132
|
+
}, onClick: (e) => this.clickHandler(e) }, h("div", { key: '435cba5e3dcde9c6c17778f03def75f6138ba5db', class: "digi-navigation-vertical-menu-item__icon", "aria-hidden": "true", hidden: !this.hasIcon }, h("slot", { key: '466aa520388e64127c9851c4ad3f19990f1a9bb0', name: "icon" })), h("span", { key: 'fd2e785afbd7b4d5064a8078a84a0accc5aa135a', class: "digi-navigation-vertical-menu-item__text", lang: this.afLang }, this.afText), h("div", { key: '0e72c9f170631988064a0fb8ab3588675528c6bb', class: "digi-navigation-vertical-menu-item__badge", hidden: !this.hasBadge }, h("slot", { key: '345b4c77264fa6d1c3f2f31d19587d51b96de481', name: "badge" })))), this.isActive && (h("a", { key: 'd9240da2287bee7665018ad21e0d56ed39afb1c2', id: `${this.afId}-link`, href: this.afHref, "aria-current": this.afAriaCurrent, class: {
|
|
133
133
|
'digi-navigation-vertical-menu-item__link': true,
|
|
134
134
|
'digi-navigation-vertical-menu-item__link--active': this.isActive
|
|
135
|
-
}, onClick: (e) => this.clickHandler(e) }, h("div", { key: '
|
|
135
|
+
}, onClick: (e) => this.clickHandler(e) }, h("div", { key: 'ccccd6a5c2cfc9557ccf3937043e30919c1063f1', class: "digi-navigation-vertical-menu-item__icon", "aria-hidden": "true", hidden: !this.hasIcon }, h("slot", { key: '7755a767015e5a21e2a000798d1196d73e67babe', name: "icon" })), h("span", { key: '7a7d0836cb61b0cf5c4c759412d381076150f46d', class: "digi-navigation-vertical-menu-item__text", lang: this.afLang }, this.afText), h("div", { key: '08b4c81e6b46e4243a119351bedef30f2e20c5ef', class: "digi-navigation-vertical-menu-item__badge", hidden: !this.hasBadge }, h("slot", { key: '6a0e64ebdf40af166b1a0a8cdd8d5ebd8592ad58', name: "badge" })))))))));
|
|
136
136
|
}
|
|
137
137
|
static get is() { return "digi-navigation-vertical-menu-item"; }
|
|
138
138
|
static get encapsulation() { return "scoped"; }
|
|
@@ -56,8 +56,8 @@ export class NotificationAlert {
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
|
-
return (h("div", { key: '
|
|
60
|
-
this.afSize === NotificationAlertSize.LARGE && (h(this.afHeadingLevel, { key: '
|
|
59
|
+
return (h("div", { key: '7993f1d90cf0e7b890e32aea913f03f5ae096d9c', class: Object.assign({ 'digi-notification-alert': true }, this.cssModifiers) }, h("digi-layout-media-object", { key: '1d72c446a7828309254198541a146446299fa6ee', "af-alignment": LayoutMediaObjectAlignment.STRETCH, class: "digi-notification-alert__layout" }, h("div", { key: 'f6ad22063fb6c41556613caa69af40f771e6404e', class: "digi-notification-alert__icon", slot: "media" }, this.icon), h("div", { key: 'd70efda940810b2315656bbd96fa4e9bb4327788', class: "digi-notification-alert__wrapper" }, this.afCloseable && (h("digi-button", { key: '9d76acf16662a51b7fa6678b56bcd6be7185496a', "af-aria-label": this.afCloseAriaLabel, "af-variation": ButtonVariation.FUNCTION, onAfOnClick: (e) => this.clickHandler(e), class: "digi-notification-alert__close-button" }, h("span", { key: 'ecfffa3dbb986b0d53f214a275740b24e6960706', class: "digi-notification-alert__close-button__text" }, "St\u00E4ng"), h("digi-icon-x", { key: '58bc7645acc14dcabd100bf12e6c7ec3f8d1243c', slot: "icon-secondary", "aria-hidden": "true" }))), h("div", { key: '219cbd6cbc32db33b28ee6a87278b3f0b815ec39', class: "digi-notification-alert__text" }, this.afHeading &&
|
|
60
|
+
this.afSize === NotificationAlertSize.LARGE && (h(this.afHeadingLevel, { key: 'd399ac65f22987efcde7d30dfc72298fc4216a6c', ref: (el) => (this._heading = el), tabindex: "-1", class: "digi-notification-alert__heading" }, this.afHeading)), h("div", { key: '736b9b5dea42f5f61e83cc2c470d70b165781b1e', class: "digi-notification-alert__content" }, h("digi-typography", { key: 'ef213cff05b8fa05542be023204b464a73673579', "af-variation": TypographyVariation.SMALL }, h("slot", { key: '46286cf5dedc8cd8fb80db2527cd4b6778b59180' }))))))));
|
|
61
61
|
}
|
|
62
62
|
static get is() { return "digi-notification-alert"; }
|
|
63
63
|
static get encapsulation() { return "scoped"; }
|
package/dist/collection/components/_notification/notification-error-page/notification-error-page.js
CHANGED
|
@@ -121,15 +121,15 @@ export class NotificationErrorPage {
|
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
render() {
|
|
124
|
-
return (h(Host, { key: '
|
|
124
|
+
return (h(Host, { key: '86175cd15f7f73e3cbaa75cb97e8d3884838cd0d' }, h("digi-layout-container", { key: 'b94d6452cb22d077af26c1248d86a965d0d479b9', class: {
|
|
125
125
|
'digi-notification-error-page': true,
|
|
126
126
|
'digi-notification-error-page--mobile': this.isMobile
|
|
127
|
-
}, id: this.afId }, h("digi-typography", { key: '
|
|
127
|
+
}, id: this.afId }, h("digi-typography", { key: 'ef4c66a86cd15512eee76f5fe7e1b62d0fc6c9fb' }, h("digi-util-breakpoint-observer", { key: 'aae493c017515d098d62cc80fb87fb8c65fa0aa5', onAfOnChange: (e) => {
|
|
128
128
|
const val = e.detail.value;
|
|
129
129
|
this.isMobile =
|
|
130
130
|
val === UtilBreakpointObserverBreakpoints.SMALL ||
|
|
131
131
|
val === UtilBreakpointObserverBreakpoints.MEDIUM;
|
|
132
|
-
} }), h("div", { key: '
|
|
132
|
+
} }), h("div", { key: '2ddb77f1f842cfef8da7921ebabc389b13f96ea5', class: "digi-notification-error-page__grid" }, h("div", { key: 'f36331f1c94d033870ea6ad579b698c10aec5a67', class: "digi-notification-error-page__picture" }, this.currentIllustration ? (h(this.currentIllustration, null)) : null), h("div", { key: '10b40785f2e6ae06cac255103697c07be6b99fbb', class: "digi-notification-error-page__content" }, h("h1", { key: 'a570f07e97e12aa04fd1e36ccec35d291a69791a', class: "digi-notification-error-page__content__heading", tabIndex: -1 }, this.getText().heading), this.hasBodyText ? (h("div", { class: "digi-notification-error-page__content__bodytext" }, h("slot", { name: "bodytext" }))) : (h("div", { class: "digi-notification-error-page__content__bodytext" }, h("div", { innerHTML: this.getText().body }))), this.hasSearch && (h("div", { key: '7e8d442aed62991f1cbc29ccfa0f2293e69c4026', class: "digi-notification-error-page__content__search" }, h("slot", { key: '71820b340f1b9c14c30506aa78d980d556e2889e', name: "search" }))), this.hasLinks && (h("div", { key: '74840e3d9d941507770431c7578643d2f4b43ab3', class: "digi-notification-error-page__content__links" }, h("slot", { key: 'dbf442d3030d326d6ec7d609b9549f26bf421530', name: "links" })))))))));
|
|
133
133
|
}
|
|
134
134
|
static get is() { return "digi-notification-error-page"; }
|
|
135
135
|
static get encapsulation() { return "scoped"; }
|
|
@@ -52,20 +52,20 @@ export class ProgressCircle {
|
|
|
52
52
|
return;
|
|
53
53
|
}
|
|
54
54
|
render() {
|
|
55
|
-
return (h("div", { key: '
|
|
55
|
+
return (h("div", { key: 'ab14f15cc91db51d571b59e9a7a9b23124745c7b', class: this.cssModifiers, role: this.afRole === ProgressCircleRole.STATUS
|
|
56
56
|
? ProgressCircleRole.STATUS
|
|
57
|
-
: null }, h("div", { key: '
|
|
58
|
-
' 15', pathLength: "1000" }))), h("g", { key: '
|
|
59
|
-
' 1000', pathLength: "1000" }), this.afWarningStep && (h("circle", { key: '
|
|
60
|
-
(this.afCompletedSteps - 1), pathLength: "1000" })), this.afErrorStep && (h("circle", { key: '
|
|
61
|
-
(this.afCompletedSteps - 1), pathLength: "1000" }))))), h("div", { key: '
|
|
57
|
+
: null }, h("div", { key: 'bdd70d5da7e4c972e0bea9449410f4fbcce51fbc', class: "digi-progress-circle__circle-wrapper" }, h("div", { key: '71c17954afd9f8fd95f054230cca705c6f8ad09c', class: "digi-progress-circle__circle" }, h("p", { key: '9df31e6c4f467be637c29fec00988569db90f437', class: "digi-progress-circle__circle-label", "aria-label": `${this.afCompletedSteps} ${this.afStepsSeparator} ${this.afTotalSteps}` }, this.afCompletedSteps, " ", this.afStepsSeparator, ' ', this.afTotalSteps, ' '), h("svg", { key: '513caee4ab7abfc19cca208103b9092f79f823cd', width: this.radius * 2, height: this.radius * 2 }, h("defs", { key: '3bb35bafb49080b4ab643190e8c021bdfb30dc11' }, h("mask", { key: '52ed6db64b337e17116932e28bc465e1da84c74b', id: this.afId }, h("circle", { key: '9619a57bc3d470d996c118152eadbf16d52779bb', 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 +
|
|
58
|
+
' 15', pathLength: "1000" }))), h("g", { key: 'b0e191fd89810c3934d25892915c503f448dda40' }, h("circle", { key: '69d5853e7db4030e5d31a361e991153e00ed0cd6', 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 }), h("circle", { key: 'fa1ad4288d1c6954541154a590760a3f62997794', 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 +
|
|
59
|
+
' 1000', pathLength: "1000" }), this.afWarningStep && (h("circle", { key: '2e83fe6132eb1d9b232d91ee900b1d894093b98b', 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) *
|
|
60
|
+
(this.afCompletedSteps - 1), pathLength: "1000" })), this.afErrorStep && (h("circle", { key: '2e15541375eb9606d44691071cb0af19e2878ae6', 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) *
|
|
61
|
+
(this.afCompletedSteps - 1), pathLength: "1000" }))))), h("div", { key: 'ac7ffeaa33b3d112ca7974f1882646112304feef', class: "digi-progress-circle__content" }, this.renderHeading(), this.afCompletedSteps === this.afTotalSteps && (h("p", { key: '1320be712b9d76e3b60ac45ec0dfcf7db3e04205', class: "digi-progress-circle__next digi-progress-circle__next--circle", style: {
|
|
62
62
|
visibility: 'hidden'
|
|
63
|
-
} }, `${this.afStepNextText} ${this.afStepNextLabel}`)), this.afCompletedSteps != this.afTotalSteps && (h("p", { key: '
|
|
63
|
+
} }, `${this.afStepNextText} ${this.afStepNextLabel}`)), this.afCompletedSteps != this.afTotalSteps && (h("p", { key: '8765089d7b5e772e9024ef6cbca68cd275e02e1a', class: "digi-progress-circle__next digi-progress-circle__next--circle", style: {
|
|
64
64
|
visibility: this.afStepNextLabel !== null &&
|
|
65
65
|
this.afStepNextLabel !== undefined
|
|
66
66
|
? 'visible'
|
|
67
67
|
: 'hidden'
|
|
68
|
-
} }, `${this.afStepNextText} ${this.afStepNextLabel}`)))), this.afValidationLabel && this.afWarningStep > 0 && (h("p", { key: '
|
|
68
|
+
} }, `${this.afStepNextText} ${this.afStepNextLabel}`)))), this.afValidationLabel && this.afWarningStep > 0 && (h("p", { key: 'd3685997f5abc96a208b7cc0f0ed0877ffdb7628', class: "digi-progress-circle__validation-label digi-progress-circle__validation-label--warning" }, h("digi-icon-validation-warning", { key: '44c0a1e045ddeccc3d28ee3d6126203ea049fbfa', class: "digi-progress-circle__icon--warning" }), h("span", { key: 'd01d3c753a9bee82352539d6d72040f0e4e0203d' }, this.afValidationLabel))), this.afValidationLabel && this.afErrorStep > 0 && (h("p", { key: '351bc3db70ec81493cf863fadbec7260221a452e', class: "digi-progress-circle__validation-label digi-progress-circle__validation-label--error" }, h("digi-icon-validation-error", { key: '13ebf1e1fecf26763719c4cfc0c62c7a85265070', class: "digi-progress-circle__icon--error" }), h("span", { key: '61675220ce12e53170b74b860321e9ebb9972fc3' }, this.afValidationLabel)))));
|
|
69
69
|
}
|
|
70
70
|
static get is() { return "digi-progress-circle"; }
|
|
71
71
|
static get encapsulation() { return "scoped"; }
|
|
@@ -90,9 +90,9 @@ export class ProgressIndicator {
|
|
|
90
90
|
return;
|
|
91
91
|
}
|
|
92
92
|
render() {
|
|
93
|
-
return (h("div", { key: '
|
|
93
|
+
return (h("div", { key: 'a6507b7b25f6a29887ee7cf81697c8ee1db13552', class: this.cssModifiers, role: this.afRole === ProgressIndicatorRole.STATUS
|
|
94
94
|
? ProgressIndicatorRole.STATUS
|
|
95
|
-
: null }, h("div", { key: '
|
|
95
|
+
: null }, h("div", { key: '26f8b09ff0d8e5ea3e1aadf68086eafc994d169b' }, this.afStepNextLabel !== undefined ? (h("div", { class: "digi-progress-indicator__content" }, this.renderHeading(), this.afCompletedSteps != this.afTotalSteps && (h("p", { class: "digi-progress-indicator__next", style: {
|
|
96
96
|
visibility: this.afStepNextLabel !== null &&
|
|
97
97
|
this.afStepNextLabel !== undefined
|
|
98
98
|
? 'visible'
|
|
@@ -118,7 +118,7 @@ export class ProgressIndicator {
|
|
|
118
118
|
ProgressIndicatorVariation.SECONDARY &&
|
|
119
119
|
item.checked &&
|
|
120
120
|
this.afCompletedSteps !== index + 1 && (h("digi-icon-check", { class: "digi-progress-indicator__icon" })), h("span", { class: "digi-progress-indicator__step-number" }, index + 1))));
|
|
121
|
-
}))), this.afStepNextLabel !== undefined && (h("p", { key: '
|
|
121
|
+
}))), this.afStepNextLabel !== undefined && (h("p", { key: '51af7573925e741f3ada40e407ba0e48233ab28f', class: "digi-progress-indicator__label" }, h("span", { key: 'ba93f866084a679e0995b569251dd63bd8bbb02a' }, `${this.afStepText}`, " "), h("span", { key: 'f9d63f54a720a0c2bf1d9238aa6c79823abbd712', class: "digi-progress-indicator__label--steps" }, `${this.afCompletedSteps} ${this.afStepsSeparator} ${this.afTotalSteps}`)))), this.afValidationLabel && this.afWarningStep > 0 && (h("p", { key: '11555dee05fdbf5fc3d4f466b7c5808153aedab5', class: "digi-progress-indicator__validation-label digi-progress-indicator__validation-label--warning" }, h("digi-icon-validation-warning", { key: '721d1a5936af46d4e1fd66e7d2d2a82eb20514f1', class: "digi-progress-indicator__icon--warning" }), h("span", { key: '66bcf5c95add476b1bcce39c6d4e06593c201adf' }, this.afValidationLabel))), this.afValidationLabel && this.afErrorStep > 0 && (h("p", { key: '8b39a8c56de7fa9574f7e34648104ca86623ce65', class: "digi-progress-indicator__validation-label digi-progress-indicator__validation-label--error" }, h("digi-icon-validation-error", { key: '4f609e634400eb8baa73002f3f64f2a83778d545', class: "digi-progress-indicator__icon--error" }), h("span", { key: '65b60b87df1347518f5012b94f7fc5379455d066' }, this.afValidationLabel))), h("div", { key: '9fbb044b6df2f74c109936258303a150967c5838', hidden: true, class: "digi-progress-indicator__slot" }, h("digi-util-mutation-observer", { key: '1ace7e77e4948453456e46ba75d4c379a12c3ec2', ref: (el) => (this._observer = el), onAfOnChange: () => this.getItems() }, h("slot", { key: '5350f54607a854cf01547a7085e5f608747a2049' })))));
|
|
122
122
|
}
|
|
123
123
|
static get is() { return "digi-progress-indicator"; }
|
|
124
124
|
static get encapsulation() { return "scoped"; }
|
|
@@ -106,7 +106,7 @@ export class ProgressList {
|
|
|
106
106
|
return null;
|
|
107
107
|
}
|
|
108
108
|
render() {
|
|
109
|
-
return (h("div", { key: '
|
|
109
|
+
return (h("div", { key: 'b9b7df3845f6698aca8ed7c8673928cb632ebadc', class: "digi-progress-list" }, h("digi-typography", { key: '5f182e57a75cc8f3329c124d3e9029d9c198c81c' }, this.renderHeading(), h("ol", { key: 'b2abd22a563d97bb0e8a3d13008e523be89a1dee', class: "digi-progress-list__content" }, h("slot", { key: 'e064a205cfeaf1d9a3e8ae3da2b8f47927bec9d8' })))));
|
|
110
110
|
}
|
|
111
111
|
static get is() { return "digi-progress-list"; }
|
|
112
112
|
static get encapsulation() { return "scoped"; }
|
|
@@ -78,7 +78,7 @@ export class ProgressListItem {
|
|
|
78
78
|
}
|
|
79
79
|
render() {
|
|
80
80
|
const ariaCurrent = this.afStepStatus == ProgressListItemStatus.CURRENT ? 'step' : 'false';
|
|
81
|
-
return (h(Host, { key: '
|
|
81
|
+
return (h(Host, { key: '0475a36317b5284ad8a092d0ae5e5044cca5eee3', role: "listitem", "aria-current": ariaCurrent }, h("div", { key: 'c36d65b05212a3931de75183a58a3ce0ccc25699', class: {
|
|
82
82
|
'digi-progress-list-item': true,
|
|
83
83
|
'digi-progress-list-item--expanded': this.afExpandable && this.afExpanded,
|
|
84
84
|
[`digi-progress-list-item--${this.afStepStatus}`]: true,
|
|
@@ -86,18 +86,18 @@ export class ProgressListItem {
|
|
|
86
86
|
'digi-progress-list-item--primary': this.afVariation == ProgressListItemVariation.PRIMARY,
|
|
87
87
|
'digi-progress-list-item--secondary': this.afVariation == ProgressListItemVariation.SECONDARY,
|
|
88
88
|
'digi-progress-list-item--tertiary': this.afVariation == ProgressListItemVariation.TERTIARY
|
|
89
|
-
} }, h("span", { key: '
|
|
89
|
+
} }, h("span", { key: '1f5bedbd061bae4178ea4a058fca1867c44888e9', class: "digi-progress-list-item__indicator" }, h("span", { key: '8449b16e92758952678900046b15569826a872d2', class: {
|
|
90
90
|
'digi-progress-list-item__indicator--circle': this.afType == ProgressListItemType.CIRCLE,
|
|
91
91
|
'digi-progress-list-item__indicator--icon': this.afType == ProgressListItemType.ICON
|
|
92
|
-
} }, this.renderStatusIcon()), h("span", { key: '
|
|
92
|
+
} }, this.renderStatusIcon()), h("span", { key: 'b9e6c66c2222bb4c0f413b950c0e7ad4189ee8ac', class: "digi-progress-list-item__indicator--line" })), h("div", { key: '5a91e5036e1a9d8434a9d92615fd13f8f304c95c', class: {
|
|
93
93
|
'digi-progress-list-item__wrapper': true,
|
|
94
94
|
'digi-progress-list-item__wrapper--last': this.afIsLast
|
|
95
|
-
} }, h("div", { key: '
|
|
95
|
+
} }, h("div", { key: '85a8499d9a3890bc7b7a63342b7c5c36d8c2f7f1', class: "digi-progress-list-item__header" }, h(this.afHeadingLevel, { key: '11893207ce0beb7c30617c54d8b5252d957915f6', class: "digi-progress-list-item__header--heading", id: `${this.afId}--heading` }, this.renderHeading())), h("div", { key: '58aa319b88121855ed7d66acd2cd7536ee1af9f8', class: {
|
|
96
96
|
'digi-progress-list-item__content': true,
|
|
97
97
|
'digi-progress-list-item__content--expandable': this.afExpandable,
|
|
98
98
|
'digi-progress-list-item__content--hidden': this.afExpandable && !this.afExpanded,
|
|
99
99
|
'digi-progress-list-item__content--visible': !this.afExpandable || (this.afExpandable && this.afExpanded)
|
|
100
|
-
}, id: `${this.afId}-content` }, h("div", { key: '
|
|
100
|
+
}, id: `${this.afId}-content` }, h("div", { key: '58f57c5389fb16166f87b9121d7bb78ea7fe7c61' }, h("slot", { key: '8e20fc5dc9c0f3b5b6790a0f4e9013eae9aa1bdd' })))))));
|
|
101
101
|
}
|
|
102
102
|
static get is() { return "digi-progress-list-item"; }
|
|
103
103
|
static get encapsulation() { return "scoped"; }
|
|
@@ -82,7 +82,7 @@ export class Progressbar {
|
|
|
82
82
|
return;
|
|
83
83
|
}
|
|
84
84
|
render() {
|
|
85
|
-
return (h("div", { key: '
|
|
85
|
+
return (h("div", { key: '5219b964655de7a130d8785ba1118a62ad4830d2', class: this.cssModifiers, role: this.afRole === ProgressbarRole.STATUS ? ProgressbarRole.STATUS : null }, h("p", { key: '0a3f0c6132a3759be2240f468590422d897dbf2b', class: "digi-progressbar__label" }, this.afCompletedSteps, " ", this.afStepsSeparator, " ", this.afTotalSteps, ' ', this.afStepsLabel), !this.hasSlottedItems ? (h("ol", { class: "digi-progressbar__list", "aria-hidden": "true" }, this.totalSteps.map((item, i) => {
|
|
86
86
|
return (h("li", { class: {
|
|
87
87
|
'digi-progressbar__step': true,
|
|
88
88
|
'digi-progressbar__step--active': this.afCompletedSteps > i,
|
|
@@ -93,7 +93,7 @@ export class Progressbar {
|
|
|
93
93
|
'digi-progressbar__step': true,
|
|
94
94
|
'digi-progressbar__step--active': item.checked
|
|
95
95
|
} }, h("span", { class: "digi-progressbar__step-indicator" }, h("span", { class: "digi-progressbar__step-number" }, index + 1))));
|
|
96
|
-
}))), h("div", { key: '
|
|
96
|
+
}))), h("div", { key: '59a9c4a3a365c07bb4a08b40252e1d9776193385', hidden: true, class: "digi-progressbar__slot" }, h("digi-util-mutation-observer", { key: '3a513e8b6314142cdba83cffa1a454f95d5bdb0b', ref: (el) => (this._observer = el), onAfOnChange: () => this.getItems() }, h("slot", { key: '53ea713ea35f5456e49d9c4dc0d9f42070b8c7d6' })))));
|
|
97
97
|
}
|
|
98
98
|
static get is() { return "digi-progressbar"; }
|
|
99
99
|
static get encapsulation() { return "scoped"; }
|
|
@@ -99,7 +99,7 @@ export class Quote {
|
|
|
99
99
|
return (h("div", { class: "digi-quote__variation--highlight-wrapper" }, h("div", { class: { 'quote-image': true, hide: !this.isMobile } }, this.renderImage()), h("div", { class: "digi-quote-icon-flex" }, h("span", { class: "quote-icon" }, this.renderQuotationMark()), h("div", { class: "quote-content" }, h("digi-typography", null, h("blockquote", null, h("slot", null))), h("digi-typography", null, this.afQuoteAuthorName && this.renderAuthorName(), this.afQuoteAuthorTitle && this.renderAuthorTitle()))), h("div", { class: { 'quote-image': true, hide: this.isMobile } }, this.renderImage())));
|
|
100
100
|
}
|
|
101
101
|
render() {
|
|
102
|
-
return (h(Host, { key: '
|
|
102
|
+
return (h(Host, { key: '4337f3de6245946ed76a9ca32a2d3b9bd7750c87' }, h("digi-util-breakpoint-observer", { key: 'dbe46642ccf39ac2a5b110729383c5e35e64b58a', onAfOnChange: (e) => this.breakpointHandler(e) }), h("div", { key: 'd5247bbe8419bd83f1e22671a18845c459810e6f', class: Object.assign({ 'digi-quote': true }, this.cssModifiers) }, this.renderTypeHighlight(), this.renderTypeDefault())));
|
|
103
103
|
}
|
|
104
104
|
static get is() { return "digi-quote"; }
|
|
105
105
|
static get encapsulation() { return "scoped"; }
|
|
@@ -14,7 +14,7 @@ export class QuoteMultiContainer {
|
|
|
14
14
|
this.afHeadingLevel = undefined;
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h("div", { key: '
|
|
17
|
+
return (h("div", { key: 'bfba0fe393ab6e49ddb03665d9bca72b592551d6', class: "digi-quote-multi-container" }, this.afHeading && this.afHeadingLevel && (h(this.afHeadingLevel, { key: '9d7d8d87850498a20c3cf4e0f66a268948c55d52', class: "digi-quote-multi-container__heading" }, this.afHeading)), h("div", { key: '88783de63787e8c8625c9d0441c135828b2ddc6b', class: "digi-quote-multi-container__content" }, h("slot", { key: '95915c7b0dda2f2ce3921c14a6167a607e874223' }))));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "digi-quote-multi-container"; }
|
|
20
20
|
static get encapsulation() { return "scoped"; }
|
|
@@ -24,7 +24,7 @@ export class QuoteSingle {
|
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return (h("div", { key: '
|
|
27
|
+
return (h("div", { key: '2613f052a3c6817bdbd767e8210577eada8be4a3', class: Object.assign({ 'digi-quote-single': true }, this.cssModifiers) }, h("div", { key: 'da64d016290c9aa9de18dc81f6aeefdf6724e46a', class: "digi-quote-single__content" }, h("section", { key: '67a0101387946794e4a3e8b3d2d7ce78aaa31dbb', class: "digi-quote-single__text" }, h("digi-typography", { key: '4a21e2e9612cbde47bebd5e4a43c139dee44dac5' }, h("svg", { key: 'c1daafb7832f2c7d9fd576009b3e12bf4b0fa90c', class: "digi-quote-single__icon", "aria-hidden": "true", width: "51px", height: "40px", viewBox: "0 0 51 40", fill: "#00005A" }, h("path", { key: '66f9fbf44a93725a10cd442de9a1dd01817f19f0', d: "M0.602908277,34.1566952 C4.73191648,32.1718898 7.96569724,29.8622982 10.3042506,27.2279202 C12.6428039,24.5935423 13.99478,21.3998101 14.360179,17.6467236 L11.2908277,17.6467236 C9.02535421,17.6467236 7.18008949,17.3941121 5.75503356,16.8888889 C4.32997763,16.3836657 3.17897092,15.679962 2.30201342,14.7777778 C1.46159582,13.9116809 0.867822521,12.9553656 0.520693512,11.9088319 C0.173564504,10.8622982 0,9.77967711 0,8.66096866 C0,6.35137702 0.940902312,4.33048433 2.82270694,2.5982906 C4.70451156,0.866096866 6.92431022,0 9.48210291,0 C13.5014914,0 16.5891126,1.31718898 18.7449664,3.95156695 C20.9008203,6.58594492 21.9787472,10.2307692 21.9787472,14.8860399 C21.9787472,19.2165242 20.1243475,23.5830959 16.4155481,27.985755 C12.7067487,32.3884141 8.23974646,35.7264957 3.01454139,38 L0.602908277,34.1566952 Z M27.6241611,34.1566952 C31.7531693,32.1718898 34.98695,29.8622982 37.3255034,27.2279202 C39.6640567,24.5935423 41.0160328,21.3998101 41.3814318,17.6467236 L38.3120805,17.6467236 C36.046607,17.6467236 34.2013423,17.3941121 32.7762864,16.8888889 C31.3512304,16.3836657 30.2002237,15.679962 29.3232662,14.7777778 C28.4828486,13.9116809 27.8890753,12.9553656 27.5419463,11.9088319 C27.1948173,10.8622982 27.0212528,9.77967711 27.0212528,8.66096866 C27.0212528,6.35137702 27.9621551,4.33048433 29.8439597,2.5982906 C31.7257644,0.866096866 33.945563,0 36.5033557,0 C40.5227442,0 43.6103654,1.31718898 45.7662192,3.95156695 C47.9220731,6.58594492 49,10.2307692 49,14.8860399 C49,19.2165242 47.1456003,23.5830959 43.4368009,27.985755 C39.7280015,32.3884141 35.2609993,35.7264957 30.0357942,38 L27.6241611,34.1566952 Z" })), h("blockquote", { key: '9434149a8e475412b3de0ff45a1a4e6fa5bda514' }, h("slot", { key: '4dd5faf950b4d6d71b271020fb2c07bae32de24f' })))), h("digi-typography-meta", { key: '321b19c0b4daabf8ff87db58af02d17c3f809085', "af-variation": "primary" }, this.afQuoteAuthorName && (h("p", { key: 'ff876eed9d7d17613cd21456b88df9ebc8894a23', class: "digi-quote-single__author" }, this.afQuoteAuthorName)), this.afQuoteAuthorTitle && (h("p", { key: '8470701376f8eaab141db08a88cb092e5ac94749', class: "digi-quote-single__author-title", slot: "secondary" }, this.afQuoteAuthorTitle))))));
|
|
28
28
|
}
|
|
29
29
|
static get is() { return "digi-quote-single"; }
|
|
30
30
|
static get encapsulation() { return "scoped"; }
|
|
@@ -34,6 +34,14 @@ digi-table {
|
|
|
34
34
|
--digi--table--color--active: var(--digi--color--text--inverted);
|
|
35
35
|
--digi--table--background--active: var(--digi--color--background--complementary-1);
|
|
36
36
|
}
|
|
37
|
+
digi-table .digi-table {
|
|
38
|
+
position: relative;
|
|
39
|
+
}
|
|
40
|
+
digi-table .digi-table__scroll-container {
|
|
41
|
+
max-width: 100%;
|
|
42
|
+
overflow-x: auto;
|
|
43
|
+
position: relative;
|
|
44
|
+
}
|
|
37
45
|
digi-table .digi-table--primary table, digi-table .digi-table--secondary table {
|
|
38
46
|
border-collapse: collapse;
|
|
39
47
|
}
|
|
@@ -24,7 +24,7 @@ export class Table {
|
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return (h("div", { key: '
|
|
27
|
+
return (h("div", { key: '401c380c7707643e505d5826740a123c841715ed', class: Object.assign({ 'digi-table': true }, this.cssModifiers) }, h("div", { key: '8b9640b09c4d5db07ba203b53e3b2ae2709a5c8a', class: "digi-table__scroll-container" }, h("slot", { key: 'e802db1029c70840b0b442bcbe7431d5b96287d0' }))));
|
|
28
28
|
}
|
|
29
29
|
static get is() { return "digi-table"; }
|
|
30
30
|
static get originalStyleUrls() {
|
|
@@ -25,7 +25,7 @@ export class Tag {
|
|
|
25
25
|
return this.afText;
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return (h("digi-button", { key: '
|
|
28
|
+
return (h("digi-button", { key: 'b57bfaca56e655e7e9f7afcd2d6340f0d8947280', onAfOnClick: (e) => this.clickHandler(e), "af-variation": "secondary", "af-size": this.afSize, class: "digi-tag", "af-aria-label": this.ariaLabel }, this.afText, !this.afNoIcon && h("digi-icon-x", { key: 'cfdae42005f48e21328793bd70e2cd08088ef1e4', slot: "icon-secondary" })));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "digi-tag"; }
|
|
31
31
|
static get encapsulation() { return "scoped"; }
|
|
@@ -33,9 +33,9 @@ export class TagMedia {
|
|
|
33
33
|
return h("digi-icon-news", { class: "digi-tag-media__icon" });
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: '45b06ca2d6dea9ade3f51b2024cc4e063629593d' }, h("div", { key: '45e923b7eee803105f47388da28fe1d67a12814f', class: {
|
|
37
37
|
'digi-tag-media': true
|
|
38
|
-
} }, this.tagIcon, h("span", { key: '
|
|
38
|
+
} }, this.tagIcon, h("span", { key: '44951fc9a78c5989410bc96d68775203eb8d4dbf', class: "digi-tag-media__text" }, this.afText))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "digi-tag-media"; }
|
|
41
41
|
static get encapsulation() { return "scoped"; }
|
|
@@ -73,7 +73,7 @@ export class ToolsFeedback {
|
|
|
73
73
|
this.afOnReady.emit();
|
|
74
74
|
}
|
|
75
75
|
render() {
|
|
76
|
-
return (h("div", { key: '
|
|
76
|
+
return (h("div", { key: 'dce6c4361612e56a25912f8dbf29196843d9cb6d', class: Object.assign({ 'digi-tools-feedback': true }, this.cssModifiers) }, this.afType === ToolsFeedbackType.FULLWIDTH && (h("digi-layout-block", { key: 'b0c57c52f37f7adcbab48aba38bdfbc0a20b6700', afVariation: LayoutBlockVariation.TRANSPARENT }, this.content)), this.afType !== ToolsFeedbackType.FULLWIDTH && this.content));
|
|
77
77
|
}
|
|
78
78
|
static get is() { return "digi-tools-feedback"; }
|
|
79
79
|
static get encapsulation() { return "scoped"; }
|
|
@@ -90,7 +90,7 @@ export class FeedbackBanner {
|
|
|
90
90
|
}), h("div", { hidden: true, class: "digi-tools-feedback-banner__slot" }, h("digi-util-mutation-observer", { ref: (el) => (this._observer = el), onAfOnChange: () => this.validateLinks() }, h("slot", null))))));
|
|
91
91
|
}
|
|
92
92
|
render() {
|
|
93
|
-
return (h("div", { key: '
|
|
93
|
+
return (h("div", { key: 'b6e0044bfbc47e64c0b3ee44a60e23ea25f252fb', class: Object.assign({ 'digi-tools-feedback-banner': true }, this.cssModifiers) }, this.afType === ToolsFeedbackBannerType.FULLWIDTH && (h("digi-layout-block", { key: 'b3fa308e08a3160577b310ba95cebba6940aa259', afVariation: LayoutBlockVariation.TRANSPARENT }, this.content)), this.afType !== ToolsFeedbackBannerType.FULLWIDTH && this.content));
|
|
94
94
|
}
|
|
95
95
|
static get is() { return "digi-tools-feedback-banner"; }
|
|
96
96
|
static get encapsulation() { return "scoped"; }
|
|
@@ -170,7 +170,7 @@ export class ToolsFeedbackRating {
|
|
|
170
170
|
{}).text.toLowerCase() || null}`)), h("div", { "aria-labelledby": `${this.afId}-rating-question`, class: "digi-tools-feedback-rating__star-rating-stars", role: "group" }, this.ratingsData().map(({ text, value }) => (h("div", { class: "digi-tools-feedback-rating__star-rating-star" }, 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) }, 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' : ''}` }, h("g", { stroke: "none", "stroke-width": "1", "stroke-linecap": "round", "stroke-linejoin": "round" }, h("g", { transform: "translate(-1852, -2564)", "stroke-width": "2", class: "digi-tools-feedback-rating-star-icon-border" }, h("g", { transform: "translate(1663, 2565)" }, h("g", { transform: "translate(190, 0)" }, 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", id: "Stroke-3" })))))))))))))), this.currentStep === 2 && (h("div", { class: "digi-tools-feedback-rating__thankyou" }, h("div", { class: "digi-tools-feedback-rating__thankyou-text" }, h("svg", { width: "32", height: "26", xmlns: "http://www.w3.org/2000/svg", class: "digi-tools-feedback-rating__thankyou-check-icon" }, h("g", { fill: "none", "fill-rule": "evenodd" }, 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" }), 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" }))), h("h2", { class: "digi-tools-feedback-rating__thankyou-text", tabindex: "-1", ref: (el) => (this._thankYouHeading = el) }, this.afThankYouHeading)), this.afRatings && (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 && (h("div", { class: "digi-tools-feedback-rating__link" }, 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 (h("div", { key: '
|
|
173
|
+
return (h("div", { key: 'd387bcb97717c46a25762914facebc3f1a17a225', class: Object.assign({ 'digi-tools-feedback-rating': true }, this.cssModifiers) }, h("digi-layout-block", { key: '49267f9ece5630cfcfa650676490e4166a325e5e', afVariation: this.layoutBlockVariation, afMarginTop: true, "af-container": "none" }, this.content)));
|
|
174
174
|
}
|
|
175
175
|
static get is() { return "digi-tools-feedback-rating"; }
|
|
176
176
|
static get encapsulation() { return "scoped"; }
|
|
@@ -82,19 +82,19 @@ export class ToolsLanguagepicker {
|
|
|
82
82
|
return {};
|
|
83
83
|
}
|
|
84
84
|
render() {
|
|
85
|
-
return (h("div", { key: '
|
|
85
|
+
return (h("div", { key: 'ab03a78ad58414967535bf1421cac9bac66020c7', class: Object.assign({ 'digi-tools-languagepicker': true }, this.cssModifiers) }, this._afLanguagepickerHide === false && (h("digi-navigation-context-menu", { key: '76004aa5fb3f1979ad803c4b5a870cd7c55f23b8', 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 && (h("digi-button", { key: 'ae3412c3f3078e663890187bc1a110d8d6d38c0e', "af-size": "medium", "af-variation": "primary", onAfOnClick: (event) => {
|
|
86
86
|
this.afOnClick.emit(event);
|
|
87
87
|
}, onAfOnBlur: (event) => {
|
|
88
88
|
this.afOnBlur.emit(event);
|
|
89
89
|
}, onAfOnFocus: (event) => {
|
|
90
90
|
this.afOnFocus.emit(event);
|
|
91
|
-
}, "af-id": this._afId + '__listenButton', class: `digi-tools-languagepicker__buttons ${this._hideButtonText ? 'hide-text' : ''}` }, h("digi-icon-volume", { key: '
|
|
91
|
+
}, "af-id": this._afId + '__listenButton', class: `digi-tools-languagepicker__buttons ${this._hideButtonText ? 'hide-text' : ''}` }, h("digi-icon-volume", { key: '4a7eb7eea5713f89c6690a5c51c5766fd8204be7', slot: "icon" }), this._afListenText)), this._afSignlangHide === false && (h("digi-button", { key: 'fbe26543976b1c8bce0c7aba8aff14b161f417d6', "af-size": "medium", "af-variation": "primary", onAfOnClick: (event) => {
|
|
92
92
|
this.afOnClick.emit(event);
|
|
93
93
|
}, onAfOnBlur: (event) => {
|
|
94
94
|
this.afOnBlur.emit(event);
|
|
95
95
|
}, onAfOnFocus: (event) => {
|
|
96
96
|
this.afOnFocus.emit(event);
|
|
97
|
-
}, "af-id": this._afId + '__signlangButton', class: `digi-tools-languagepicker__buttons ${this._hideButtonText ? 'hide-text' : 'show-text'}` }, h("digi-icon-sign", { key: '
|
|
97
|
+
}, "af-id": this._afId + '__signlangButton', class: `digi-tools-languagepicker__buttons ${this._hideButtonText ? 'hide-text' : 'show-text'}` }, h("digi-icon-sign", { key: 'e7e3d671dec9078ea3ad67798509139777f01304', slot: "icon" }), this._afSignlangText))));
|
|
98
98
|
}
|
|
99
99
|
static get is() { return "digi-tools-languagepicker"; }
|
|
100
100
|
static get encapsulation() { return "scoped"; }
|
|
@@ -19,7 +19,7 @@ export class Typography {
|
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h("div", { key: '
|
|
22
|
+
return (h("div", { key: '70bc803a3fe0eb25a8d3951402ca13ad0f47f012', class: Object.assign({ 'digi-typography': true }, this.cssModifiers) }, h("slot", { key: '1e6db89ca0b13254e635e2077775513ccab7cb2b' })));
|
|
23
23
|
}
|
|
24
24
|
static get is() { return "digi-typography"; }
|
|
25
25
|
static get originalStyleUrls() {
|
package/dist/collection/components/_typography/typography-heading-jumbo/typography-heading-jumbo.js
CHANGED
|
@@ -23,7 +23,7 @@ export class TypographyHeadingJumbo {
|
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
return (h(this.afLevel, { key: '
|
|
26
|
+
return (h(this.afLevel, { key: '445f40c38ac1b9174092ec0ea0d6a5796f920d9d', ref: (el) => (this.headingElement = el), class: Object.assign({ 'digi-typography-heading-jumbo': true }, this.cssModifiers), lang: this.afLang, tabindex: -1 }, this.afText));
|
|
27
27
|
}
|
|
28
28
|
static get is() { return "digi-typography-heading-jumbo"; }
|
|
29
29
|
static get encapsulation() { return "scoped"; }
|