@designsystem-se/af 35.4.1-beta.0 → 36.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-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 +117 -132
- package/components/digi-button.d.ts +1 -1
- package/components/digi-calendar-datepicker.d.ts +1 -1
- package/components/digi-calendar-datepicker.js +190 -81
- package/components/digi-calendar-week-view.d.ts +1 -1
- package/components/digi-calendar-week-view.js +4 -4
- package/components/digi-calendar.d.ts +1 -1
- package/components/digi-calendar.js +1 -1
- package/components/digi-chart-line.d.ts +1 -1
- package/components/digi-chart-line.js +5 -5
- package/components/digi-code-block.d.ts +1 -1
- package/components/digi-code-block.js +1 -1
- package/components/digi-code-example.d.ts +1 -1
- package/components/digi-code-example.js +38 -14
- package/components/digi-code.d.ts +1 -1
- package/components/digi-context-menu.d.ts +1 -1
- package/components/digi-context-menu.js +5 -5
- package/components/digi-dialog.d.ts +1 -1
- package/components/digi-dialog.js +5 -3
- package/components/digi-expandable-accordion.d.ts +1 -1
- package/components/digi-expandable-accordion.js +3 -3
- package/components/digi-expandable-faq-item.d.ts +1 -1
- package/components/digi-expandable-faq-item.js +2 -2
- 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 +5 -3
- package/components/digi-form-category-filter.d.ts +1 -1
- package/components/digi-form-category-filter.js +4 -4
- package/components/digi-form-checkbox.d.ts +1 -1
- package/components/digi-form-checkbox.js +1 -1
- package/components/digi-form-error-list.d.ts +1 -1
- package/components/digi-form-error-list.js +29 -80
- package/components/digi-form-fieldset.d.ts +1 -1
- package/components/digi-form-fieldset.js +1 -1
- package/components/digi-form-file-upload.d.ts +1 -1
- package/components/digi-form-file-upload.js +34 -20
- package/components/digi-form-filter.d.ts +1 -1
- package/components/digi-form-filter.js +3 -3
- package/components/digi-form-input-search.d.ts +1 -1
- package/components/digi-form-input-search.js +18 -11
- package/components/digi-form-input.d.ts +1 -1
- package/components/digi-form-input.js +1 -1
- package/components/digi-form-label.d.ts +1 -1
- package/components/digi-form-label.js +1 -1
- package/components/digi-form-radiobutton.d.ts +1 -1
- package/components/digi-form-radiobutton.js +1 -1
- package/components/digi-form-radiogroup.d.ts +1 -1
- package/components/digi-form-radiogroup.js +52 -5
- package/components/digi-form-receipt.d.ts +1 -1
- package/components/digi-form-receipt.js +5 -3
- package/components/digi-form-select-filter.d.ts +1 -1
- package/components/digi-form-select-filter.js +41 -21
- package/components/digi-form-select.d.ts +1 -1
- package/components/digi-form-select.js +1 -1
- package/components/digi-form-textarea.d.ts +1 -1
- package/components/digi-form-textarea.js +24 -10
- package/components/digi-form-validation-message.d.ts +1 -1
- package/components/digi-form-validation-message.js +1 -1
- package/components/digi-header-avatar.d.ts +1 -1
- package/components/digi-header-avatar.js +3 -3
- package/components/digi-header-navigation-item.d.ts +1 -1
- package/components/digi-header-navigation-item.js +1 -1
- package/components/digi-header-navigation.d.ts +1 -1
- package/components/digi-header-navigation.js +9 -7
- package/components/digi-header-notification.d.ts +1 -1
- package/components/digi-header-notification.js +2 -2
- package/components/digi-header.d.ts +1 -1
- package/components/digi-header.js +8 -6
- package/components/digi-icon-accessibility-deaf.d.ts +1 -1
- package/components/digi-icon-accessibility-deaf.js +2 -2
- package/components/digi-icon-accessibility-universal.d.ts +1 -1
- package/components/digi-icon-accessibility-universal.js +2 -2
- package/components/digi-icon-apple.d.ts +1 -1
- package/components/digi-icon-apple.js +2 -2
- package/components/digi-icon-archive-outline.d.ts +1 -1
- package/components/digi-icon-archive-outline.js +2 -2
- package/components/digi-icon-archive.d.ts +1 -1
- package/components/digi-icon-archive.js +2 -2
- package/components/digi-icon-arrow-back.d.ts +1 -1
- package/components/digi-icon-arrow-back.js +2 -2
- package/components/digi-icon-arrow-down.d.ts +1 -1
- package/components/digi-icon-arrow-down.js +2 -2
- package/components/digi-icon-arrow-left.d.ts +1 -1
- package/components/digi-icon-arrow-left.js +2 -2
- package/components/digi-icon-arrow-right.d.ts +1 -1
- package/components/digi-icon-arrow-right.js +1 -1
- package/components/digi-icon-arrow-sign-in.d.ts +1 -1
- package/components/digi-icon-arrow-sign-in.js +2 -2
- package/components/digi-icon-arrow-sign-out.d.ts +1 -1
- package/components/digi-icon-arrow-sign-out.js +2 -2
- package/components/digi-icon-arrow-up.d.ts +1 -1
- package/components/digi-icon-arrow-up.js +2 -2
- package/components/digi-icon-at.d.ts +1 -1
- package/components/digi-icon-at.js +2 -2
- package/components/digi-icon-bars.d.ts +1 -1
- package/components/digi-icon-bars.js +1 -1
- package/components/digi-icon-bell-filled.d.ts +1 -1
- package/components/digi-icon-bell-filled.js +2 -2
- package/components/digi-icon-bell.d.ts +1 -1
- package/components/digi-icon-bell.js +2 -2
- package/components/digi-icon-book.d.ts +1 -1
- package/components/digi-icon-book.js +2 -2
- package/components/digi-icon-bookmark-outline.d.ts +1 -1
- package/components/digi-icon-bookmark-outline.js +2 -2
- package/components/digi-icon-bookmark-solid.d.ts +1 -1
- package/components/digi-icon-bookmark-solid.js +2 -2
- package/components/digi-icon-bubble-ellipsis.d.ts +1 -1
- package/components/digi-icon-bubble-ellipsis.js +2 -2
- package/components/digi-icon-bubble.d.ts +1 -1
- package/components/digi-icon-bubble.js +2 -2
- package/components/digi-icon-building-outline.d.ts +1 -1
- package/components/digi-icon-building-outline.js +2 -2
- package/components/digi-icon-building-solid.d.ts +1 -1
- package/components/digi-icon-building-solid.js +2 -2
- package/components/digi-icon-bullseye.d.ts +1 -1
- package/components/digi-icon-bullseye.js +2 -2
- package/components/digi-icon-calculator-solid.d.ts +1 -1
- package/components/digi-icon-calculator-solid.js +2 -2
- package/components/digi-icon-calendar-alt-alert.d.ts +1 -1
- package/components/digi-icon-calendar-alt-alert.js +2 -2
- package/components/digi-icon-calendar-alt.d.ts +1 -1
- package/components/digi-icon-calendar-alt.js +1 -1
- package/components/digi-icon-calendar.d.ts +1 -1
- package/components/digi-icon-calendar.js +2 -2
- package/components/digi-icon-caret-circle-right.d.ts +1 -1
- package/components/digi-icon-caret-circle-right.js +2 -2
- package/components/digi-icon-caret-down.d.ts +1 -1
- package/components/digi-icon-caret-down.js +1 -1
- package/components/digi-icon-caret-left.d.ts +1 -1
- package/components/digi-icon-caret-left.js +2 -2
- package/components/digi-icon-caret-right.d.ts +1 -1
- package/components/digi-icon-caret-right.js +2 -2
- package/components/digi-icon-caret-up.d.ts +1 -1
- package/components/digi-icon-caret-up.js +1 -1
- package/components/digi-icon-chart.d.ts +1 -1
- package/components/digi-icon-chart.js +1 -1
- package/components/digi-icon-chat.d.ts +1 -1
- package/components/digi-icon-chat.js +2 -2
- package/components/digi-icon-check-circle-reg-alt.d.ts +1 -1
- package/components/digi-icon-check-circle-reg-alt.js +2 -2
- package/components/digi-icon-check-circle-solid.d.ts +1 -1
- package/components/digi-icon-check-circle-solid.js +1 -1
- package/components/digi-icon-check.d.ts +1 -1
- package/components/digi-icon-check.js +1 -1
- package/components/digi-icon-checklist.d.ts +1 -1
- package/components/digi-icon-checklist.js +2 -2
- package/components/digi-icon-chevron-down.d.ts +1 -1
- package/components/digi-icon-chevron-down.js +1 -1
- package/components/digi-icon-chevron-left.d.ts +1 -1
- package/components/digi-icon-chevron-left.js +1 -1
- package/components/digi-icon-chevron-right.d.ts +1 -1
- package/components/digi-icon-chevron-right.js +1 -1
- package/components/digi-icon-chevron-up.d.ts +1 -1
- package/components/digi-icon-chevron-up.js +2 -2
- package/components/digi-icon-clock.d.ts +1 -1
- package/components/digi-icon-clock.js +2 -2
- package/components/digi-icon-communication-play-solid.d.ts +1 -1
- package/components/digi-icon-communication-play-solid.js +2 -2
- package/components/digi-icon-compress-alt.d.ts +1 -1
- package/components/digi-icon-compress-alt.js +2 -2
- package/components/digi-icon-comunication-case.d.ts +1 -1
- package/components/digi-icon-comunication-case.js +2 -2
- package/components/digi-icon-comunication-flag.d.ts +1 -1
- package/components/digi-icon-comunication-flag.js +2 -2
- package/components/digi-icon-comunication-graduate.d.ts +1 -1
- package/components/digi-icon-comunication-graduate.js +2 -2
- package/components/digi-icon-comunication-play.d.ts +1 -1
- package/components/digi-icon-comunication-play.js +2 -2
- package/components/digi-icon-cooperation.d.ts +1 -1
- package/components/digi-icon-cooperation.js +2 -2
- package/components/digi-icon-copy.d.ts +1 -1
- package/components/digi-icon-copy.js +1 -1
- package/components/digi-icon-danger-outline.d.ts +1 -1
- package/components/digi-icon-danger-outline.js +2 -2
- package/components/digi-icon-download.d.ts +1 -1
- package/components/digi-icon-download.js +2 -2
- package/components/digi-icon-dxa.d.ts +1 -1
- package/components/digi-icon-dxa.js +2 -2
- package/components/digi-icon-edit.d.ts +1 -1
- package/components/digi-icon-edit.js +2 -2
- package/components/digi-icon-ellipsis.d.ts +1 -1
- package/components/digi-icon-ellipsis.js +2 -2
- package/components/digi-icon-envelope-filled.d.ts +1 -1
- package/components/digi-icon-envelope-filled.js +2 -2
- package/components/digi-icon-envelope.d.ts +1 -1
- package/components/digi-icon-envelope.js +2 -2
- package/components/digi-icon-exclamation-circle-filled.d.ts +1 -1
- package/components/digi-icon-exclamation-circle-filled.js +2 -2
- package/components/digi-icon-exclamation-triangle-filled.d.ts +1 -1
- package/components/digi-icon-exclamation-triangle-filled.js +2 -2
- package/components/digi-icon-exclamation-triangle-warning.d.ts +1 -1
- package/components/digi-icon-exclamation-triangle-warning.js +2 -2
- package/components/digi-icon-exclamation-triangle.d.ts +1 -1
- package/components/digi-icon-exclamation-triangle.js +2 -2
- package/components/digi-icon-expand-alt.d.ts +1 -1
- package/components/digi-icon-expand-alt.js +2 -2
- package/components/digi-icon-external-link-alt.d.ts +1 -1
- package/components/digi-icon-external-link-alt.js +1 -1
- package/components/digi-icon-eye-slash.d.ts +1 -1
- package/components/digi-icon-eye-slash.js +2 -2
- package/components/digi-icon-eye.d.ts +1 -1
- package/components/digi-icon-eye.js +2 -2
- package/components/digi-icon-facebook-square.d.ts +1 -1
- package/components/digi-icon-facebook-square.js +2 -2
- package/components/digi-icon-file-add.d.ts +1 -1
- package/components/digi-icon-file-add.js +1 -1
- package/components/digi-icon-file-document.d.ts +1 -1
- package/components/digi-icon-file-document.js +2 -2
- package/components/digi-icon-file-excel.d.ts +1 -1
- package/components/digi-icon-file-excel.js +2 -2
- package/components/digi-icon-file-export.d.ts +1 -1
- package/components/digi-icon-file-export.js +1 -1
- package/components/digi-icon-file-governing.d.ts +1 -1
- package/components/digi-icon-file-governing.js +2 -2
- package/components/digi-icon-file-pdf.d.ts +1 -1
- package/components/digi-icon-file-pdf.js +2 -2
- package/components/digi-icon-file-powerpoint.d.ts +1 -1
- package/components/digi-icon-file-powerpoint.js +2 -2
- package/components/digi-icon-file-remove.d.ts +1 -1
- package/components/digi-icon-file-remove.js +1 -1
- package/components/digi-icon-file-word.d.ts +1 -1
- package/components/digi-icon-file-word.js +2 -2
- package/components/digi-icon-film.d.ts +1 -1
- package/components/digi-icon-film.js +2 -2
- package/components/digi-icon-filter.d.ts +1 -1
- package/components/digi-icon-filter.js +2 -2
- package/components/digi-icon-folder-add.d.ts +1 -1
- package/components/digi-icon-folder-add.js +1 -1
- package/components/digi-icon-folder-directory.d.ts +1 -1
- package/components/digi-icon-folder-directory.js +1 -1
- package/components/digi-icon-folder-open.d.ts +1 -1
- package/components/digi-icon-folder-open.js +1 -1
- package/components/digi-icon-folder.d.ts +1 -1
- package/components/digi-icon-folder.js +1 -1
- package/components/digi-icon-globe-filled.d.ts +1 -1
- package/components/digi-icon-globe-filled.js +2 -2
- package/components/digi-icon-globe.d.ts +1 -1
- package/components/digi-icon-globe.js +2 -2
- package/components/digi-icon-headphones.d.ts +1 -1
- package/components/digi-icon-headphones.js +2 -2
- package/components/digi-icon-heart-solid.d.ts +1 -1
- package/components/digi-icon-heart-solid.js +2 -2
- package/components/digi-icon-heart.d.ts +1 -1
- package/components/digi-icon-heart.js +2 -2
- package/components/digi-icon-history.d.ts +1 -1
- package/components/digi-icon-history.js +2 -2
- package/components/digi-icon-home.d.ts +1 -1
- package/components/digi-icon-home.js +2 -2
- package/components/digi-icon-image.d.ts +1 -1
- package/components/digi-icon-image.js +2 -2
- package/components/digi-icon-info-circle-solid.d.ts +1 -1
- package/components/digi-icon-info-circle-solid.js +2 -2
- package/components/digi-icon-input-select-marker.d.ts +1 -1
- package/components/digi-icon-input-select-marker.js +1 -1
- package/components/digi-icon-instagram.d.ts +1 -1
- package/components/digi-icon-instagram.js +2 -2
- package/components/digi-icon-job-suggestion.d.ts +1 -1
- package/components/digi-icon-job-suggestion.js +2 -2
- package/components/digi-icon-language-outline.d.ts +1 -1
- package/components/digi-icon-language-outline.js +2 -2
- package/components/digi-icon-language.d.ts +1 -1
- package/components/digi-icon-language.js +2 -2
- package/components/digi-icon-laptop-phone.d.ts +1 -1
- package/components/digi-icon-laptop-phone.js +2 -2
- package/components/digi-icon-lattlast.d.ts +1 -1
- package/components/digi-icon-lattlast.js +2 -2
- package/components/digi-icon-licence-bus.d.ts +1 -1
- package/components/digi-icon-licence-bus.js +2 -2
- package/components/digi-icon-licence-car.d.ts +1 -1
- package/components/digi-icon-licence-car.js +2 -2
- package/components/digi-icon-licence-motorcycle.d.ts +1 -1
- package/components/digi-icon-licence-motorcycle.js +2 -2
- package/components/digi-icon-licence-truck.d.ts +1 -1
- package/components/digi-icon-licence-truck.js +2 -2
- package/components/digi-icon-lightbulb.d.ts +1 -1
- package/components/digi-icon-lightbulb.js +2 -2
- package/components/digi-icon-linkedin-in.d.ts +1 -1
- package/components/digi-icon-linkedin-in.js +2 -2
- package/components/digi-icon-list-ul.d.ts +1 -1
- package/components/digi-icon-list-ul.js +1 -1
- package/components/digi-icon-lock.d.ts +1 -1
- package/components/digi-icon-lock.js +2 -2
- package/components/digi-icon-marker-filled.d.ts +1 -1
- package/components/digi-icon-marker-filled.js +2 -2
- package/components/digi-icon-marker.d.ts +1 -1
- package/components/digi-icon-marker.js +2 -2
- package/components/digi-icon-media-course.d.ts +1 -1
- package/components/digi-icon-media-course.js +2 -2
- package/components/digi-icon-media-podcast.d.ts +1 -1
- package/components/digi-icon-media-podcast.js +2 -2
- package/components/digi-icon-microphone-off.d.ts +1 -1
- package/components/digi-icon-microphone-off.js +2 -2
- package/components/digi-icon-microphone.d.ts +1 -1
- package/components/digi-icon-microphone.js +2 -2
- package/components/digi-icon-minus.d.ts +1 -1
- package/components/digi-icon-minus.js +1 -1
- package/components/digi-icon-move.d.ts +1 -1
- package/components/digi-icon-move.js +2 -2
- package/components/digi-icon-news.d.ts +1 -1
- package/components/digi-icon-news.js +1 -1
- package/components/digi-icon-notification-error.d.ts +1 -1
- package/components/digi-icon-notification-error.js +1 -1
- package/components/digi-icon-notification-info.d.ts +1 -1
- package/components/digi-icon-notification-info.js +1 -1
- package/components/digi-icon-notification-succes.d.ts +1 -1
- package/components/digi-icon-notification-succes.js +1 -1
- package/components/digi-icon-notification-warning.d.ts +1 -1
- package/components/digi-icon-notification-warning.js +1 -1
- package/components/digi-icon-online-computervideo.d.ts +1 -1
- package/components/digi-icon-online-computervideo.js +1 -1
- package/components/digi-icon-online-interview.d.ts +1 -1
- package/components/digi-icon-online-interview.js +2 -2
- package/components/digi-icon-online-meeting.d.ts +1 -1
- package/components/digi-icon-online-meeting.js +2 -2
- package/components/digi-icon-online-task.d.ts +1 -1
- package/components/digi-icon-online-task.js +2 -2
- package/components/digi-icon-online-video.d.ts +1 -1
- package/components/digi-icon-online-video.js +1 -1
- package/components/digi-icon-open-source.d.ts +1 -1
- package/components/digi-icon-open-source.js +2 -2
- package/components/digi-icon-palette.d.ts +1 -1
- package/components/digi-icon-palette.js +2 -2
- package/components/digi-icon-paperclip.d.ts +1 -1
- package/components/digi-icon-paperclip.js +1 -1
- package/components/digi-icon-paste.d.ts +1 -1
- package/components/digi-icon-paste.js +1 -1
- package/components/digi-icon-pen.d.ts +1 -1
- package/components/digi-icon-pen.js +2 -2
- package/components/digi-icon-phone-hangup.d.ts +1 -1
- package/components/digi-icon-phone-hangup.js +2 -2
- package/components/digi-icon-phone.d.ts +1 -1
- package/components/digi-icon-phone.js +2 -2
- package/components/digi-icon-plus.d.ts +1 -1
- package/components/digi-icon-plus.js +1 -1
- package/components/digi-icon-pod.d.ts +1 -1
- package/components/digi-icon-pod.js +1 -1
- package/components/digi-icon-print.d.ts +1 -1
- package/components/digi-icon-print.js +2 -2
- package/components/digi-icon-read.d.ts +1 -1
- package/components/digi-icon-read.js +2 -2
- package/components/digi-icon-redo.d.ts +1 -1
- package/components/digi-icon-redo.js +2 -2
- package/components/digi-icon-scale.d.ts +1 -1
- package/components/digi-icon-scale.js +1 -1
- package/components/digi-icon-screensharing-off.d.ts +1 -1
- package/components/digi-icon-screensharing-off.js +2 -2
- package/components/digi-icon-screensharing.d.ts +1 -1
- package/components/digi-icon-screensharing.js +2 -2
- package/components/digi-icon-search.d.ts +1 -1
- package/components/digi-icon-search.js +1 -1
- package/components/digi-icon-send-outline.d.ts +1 -1
- package/components/digi-icon-send-outline.js +2 -2
- package/components/digi-icon-send-solid.d.ts +1 -1
- package/components/digi-icon-send-solid.js +2 -2
- package/components/digi-icon-settings.d.ts +1 -1
- package/components/digi-icon-settings.js +2 -2
- package/components/digi-icon-share-alt.d.ts +1 -1
- package/components/digi-icon-share-alt.js +2 -2
- package/components/digi-icon-share-chain.d.ts +1 -1
- package/components/digi-icon-share-chain.js +2 -2
- package/components/digi-icon-sign.d.ts +1 -1
- package/components/digi-icon-sign.js +2 -2
- package/components/digi-icon-sliders-h.d.ts +1 -1
- package/components/digi-icon-sliders-h.js +2 -2
- package/components/digi-icon-sokkandidat.d.ts +1 -1
- package/components/digi-icon-sokkandidat.js +2 -2
- package/components/digi-icon-sort-down.d.ts +1 -1
- package/components/digi-icon-sort-down.js +2 -2
- package/components/digi-icon-sort-up.d.ts +1 -1
- package/components/digi-icon-sort-up.js +2 -2
- package/components/digi-icon-sort.d.ts +1 -1
- package/components/digi-icon-sort.js +2 -2
- package/components/digi-icon-spinner.d.ts +1 -1
- package/components/digi-icon-spinner.js +1 -1
- package/components/digi-icon-star-reg.d.ts +1 -1
- package/components/digi-icon-star-reg.js +2 -2
- package/components/digi-icon-star.d.ts +1 -1
- package/components/digi-icon-star.js +2 -2
- package/components/digi-icon-suitcase-outline.d.ts +1 -1
- package/components/digi-icon-suitcase-outline.js +2 -2
- package/components/digi-icon-suitcase-solid.d.ts +1 -1
- package/components/digi-icon-suitcase-solid.js +2 -2
- package/components/digi-icon-system-assistance.d.ts +1 -1
- package/components/digi-icon-system-assistance.js +2 -2
- package/components/digi-icon-table-column.d.ts +1 -1
- package/components/digi-icon-table-column.js +2 -2
- package/components/digi-icon-table-row.d.ts +1 -1
- package/components/digi-icon-table-row.js +2 -2
- package/components/digi-icon-table.d.ts +1 -1
- package/components/digi-icon-table.js +1 -1
- package/components/digi-icon-task-done.d.ts +1 -1
- package/components/digi-icon-task-done.js +2 -2
- package/components/digi-icon-toggle-off.d.ts +1 -1
- package/components/digi-icon-toggle-off.js +2 -2
- package/components/digi-icon-toggle-on.d.ts +1 -1
- package/components/digi-icon-toggle-on.js +2 -2
- package/components/digi-icon-trash.d.ts +1 -1
- package/components/digi-icon-trash.js +1 -1
- package/components/digi-icon-twitter.d.ts +1 -1
- package/components/digi-icon-twitter.js +2 -2
- package/components/digi-icon-tyck-till.d.ts +1 -1
- package/components/digi-icon-tyck-till.js +2 -2
- package/components/digi-icon-unlock.d.ts +1 -1
- package/components/digi-icon-unlock.js +2 -2
- package/components/digi-icon-update.d.ts +1 -1
- package/components/digi-icon-update.js +2 -2
- package/components/digi-icon-upload.d.ts +1 -1
- package/components/digi-icon-upload.js +2 -2
- package/components/digi-icon-user-add.d.ts +1 -1
- package/components/digi-icon-user-add.js +1 -1
- package/components/digi-icon-user-alt.d.ts +1 -1
- package/components/digi-icon-user-alt.js +2 -2
- package/components/digi-icon-user-edit.d.ts +1 -1
- package/components/digi-icon-user-edit.js +1 -1
- package/components/digi-icon-users-solid.d.ts +1 -1
- package/components/digi-icon-users-solid.js +2 -2
- package/components/digi-icon-validation-error.d.ts +1 -1
- package/components/digi-icon-validation-error.js +1 -1
- package/components/digi-icon-validation-success.d.ts +1 -1
- package/components/digi-icon-validation-success.js +1 -1
- package/components/digi-icon-validation-warning.d.ts +1 -1
- package/components/digi-icon-validation-warning.js +1 -1
- package/components/digi-icon-videocamera-off.d.ts +1 -1
- package/components/digi-icon-videocamera-off.js +2 -2
- package/components/digi-icon-videocamera.d.ts +1 -1
- package/components/digi-icon-videocamera.js +2 -2
- package/components/digi-icon-volume.d.ts +1 -1
- package/components/digi-icon-volume.js +2 -2
- package/components/digi-icon-web-tv.d.ts +1 -1
- package/components/digi-icon-web-tv.js +2 -2
- package/components/digi-icon-webinar.d.ts +1 -1
- package/components/digi-icon-webinar.js +1 -1
- package/components/digi-icon-wifi-signal0.d.ts +1 -1
- package/components/digi-icon-wifi-signal0.js +2 -2
- package/components/digi-icon-wifi-signal1.d.ts +1 -1
- package/components/digi-icon-wifi-signal1.js +2 -2
- package/components/digi-icon-wifi-signal2.d.ts +1 -1
- package/components/digi-icon-wifi-signal2.js +2 -2
- package/components/digi-icon-wifi-signal3.d.ts +1 -1
- package/components/digi-icon-wifi-signal3.js +2 -2
- package/components/digi-icon-window.d.ts +1 -1
- package/components/digi-icon-window.js +2 -2
- package/components/digi-icon-x-button-outline.d.ts +1 -1
- package/components/digi-icon-x-button-outline.js +1 -1
- package/components/digi-icon-x-button.d.ts +1 -1
- package/components/digi-icon-x-button.js +2 -2
- package/components/digi-icon-x.d.ts +1 -1
- package/components/digi-icon-x.js +1 -1
- package/components/digi-icon-youtube.d.ts +1 -1
- package/components/digi-icon-youtube.js +2 -2
- package/components/digi-info-card-multi-container.d.ts +1 -1
- package/components/digi-info-card-multi-container.js +2 -2
- package/components/digi-info-card-multi.d.ts +1 -1
- package/components/digi-info-card-multi.js +11 -11
- package/components/digi-info-card.d.ts +1 -1
- package/components/digi-info-card.js +5 -5
- package/components/digi-layout-block.d.ts +1 -1
- package/components/digi-layout-block.js +1 -1
- package/components/digi-layout-columns.d.ts +1 -1
- package/components/digi-layout-columns.js +1 -1
- package/components/digi-layout-container.d.ts +1 -1
- package/components/digi-layout-container.js +1 -1
- package/components/digi-link-button.d.ts +1 -1
- package/components/digi-link-button.js +2 -2
- package/components/digi-link-external.d.ts +1 -1
- package/components/digi-link-external.js +1 -1
- package/components/digi-link-internal.d.ts +1 -1
- package/components/digi-link-internal.js +1 -1
- package/components/digi-link.d.ts +1 -1
- package/components/digi-link.js +1 -1
- package/components/digi-list.d.ts +1 -1
- package/components/digi-list.js +3 -3
- 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 +2 -2
- package/components/digi-logo.d.ts +1 -1
- package/components/digi-logo.js +2 -2
- 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 +3 -3
- package/components/digi-navigation-pagination.d.ts +1 -1
- package/components/digi-navigation-pagination.js +12 -10
- 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 +5 -5
- package/components/digi-navigation-vertical-menu-item.d.ts +1 -1
- package/components/digi-navigation-vertical-menu-item.js +8 -8
- 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 +8 -6
- package/components/digi-progress-circle.d.ts +1 -1
- package/components/digi-progress-circle.js +11 -11
- package/components/digi-progress-indicator.d.ts +1 -1
- package/components/digi-progress-indicator.js +7 -7
- package/components/digi-progress-list-item.d.ts +1 -1
- package/components/digi-progress-list-item.js +9 -9
- 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 +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 +1 -1
- 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 +7 -7
- 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 +3 -3
- package/components/digi-title-logo.d.ts +1 -1
- package/components/digi-title-logo.js +1 -1
- package/components/digi-tools-feedback-banner.d.ts +1 -1
- package/components/digi-tools-feedback-banner.js +6 -6
- package/components/digi-tools-feedback-rating.d.ts +1 -1
- package/components/digi-tools-feedback-rating.js +7 -7
- package/components/digi-tools-feedback.d.ts +1 -1
- package/components/digi-tools-feedback.js +5 -3
- package/components/digi-tools-theme-provider.d.ts +1 -1
- package/components/digi-tools-theme-provider.js +1 -1
- 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 +2 -2
- 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 +284 -284
- package/components/index.js +2 -0
- package/components/{p-60394bdb.js → p-05bd223f.js} +2 -2
- package/components/{p-96a4c4dc.js → p-060b4baf.js} +2 -2
- package/components/{p-6a652c1c.js → p-0726ee0a.js} +2 -2
- package/components/{p-3cbdeea5.js → p-0c919531.js} +1 -1
- package/components/{p-8a2e80d2.js → p-0cd24461.js} +1 -1
- package/components/{p-f5e13d2e.js → p-10fcee12.js} +1 -1
- package/components/{p-d18dccc2.js → p-119cd87b.js} +2 -2
- package/components/{p-b5523600.js → p-13770550.js} +2 -2
- package/components/{p-15bbce60.js → p-16f08aa6.js} +1 -1
- package/components/{p-42c4e18d.js → p-1e9052b0.js} +1 -1
- package/components/{p-a90980f7.js → p-2484471b.js} +2 -2
- package/components/p-24fe2189.js +9 -0
- package/components/{p-2d8b68de.js → p-264c176f.js} +2 -2
- package/components/{p-9bcf4599.js → p-2b3c1022.js} +2 -2
- package/components/{p-6c7ff092.js → p-31ef8371.js} +2 -2
- package/components/{p-fccc9322.js → p-358965ba.js} +3 -3
- package/components/{p-c495f54e.js → p-3f4e8021.js} +2 -2
- package/components/{p-f516f6d6.js → p-40496c3d.js} +2 -2
- package/components/{p-4caaef7a.js → p-40f34110.js} +2 -2
- package/components/{p-2a0c0c78.js → p-4fda15a2.js} +2 -2
- package/components/{p-300490fb.js → p-583fae30.js} +2 -2
- package/components/{p-cfa81e91.js → p-5a494103.js} +38 -3
- package/components/{p-ba757bc9.js → p-5e3a020d.js} +3 -3
- package/components/{p-7492d61e.js → p-61c51a8d.js} +2 -2
- package/components/{p-472bc7d3.js → p-62a0008b.js} +4 -2
- package/components/{p-f9e6f45e.js → p-6565a6e1.js} +2 -2
- package/components/{p-b08505a8.js → p-69a76a60.js} +2 -2
- package/components/{p-372e42fa.js → p-6c013e3b.js} +2 -2
- package/components/{p-4437e1a8.js → p-6c4c927f.js} +1 -1
- package/components/{p-aed6db71.js → p-6ce9fb68.js} +2 -2
- package/components/{p-4458129b.js → p-735a4842.js} +2 -2
- package/components/{p-127b0f7a.js → p-769dbb9e.js} +2 -2
- package/components/{p-ab1d6ae3.js → p-779eecac.js} +26 -16
- package/components/{p-bbaf1285.js → p-789cf870.js} +2 -2
- package/components/{p-f7fd3e36.js → p-78e97002.js} +1 -1
- package/components/{p-d14fe54d.js → p-8195db1a.js} +2 -2
- package/components/{p-1440ff46.js → p-81e7adc1.js} +2 -2
- package/components/{p-b5b891f2.js → p-85633f84.js} +3 -3
- package/components/{p-08cf2c0e.js → p-903a27d9.js} +19 -0
- package/components/{p-0e6bb1ce.js → p-93899a9e.js} +2 -2
- package/components/{p-71bad47e.js → p-956d730b.js} +2 -2
- package/components/{p-f147733f.js → p-965a52d4.js} +2 -2
- package/components/{p-364d38fc.js → p-96a568b6.js} +2 -2
- package/components/p-9a1bec0e.js +9 -0
- package/components/{p-ad94e4f3.js → p-a2df4b05.js} +4 -4
- package/components/{p-6013f971.js → p-a8fff2e3.js} +2 -2
- package/components/{p-764c106c.js → p-ab9c3e15.js} +1 -1
- package/components/{p-95dc2a66.js → p-ad4aaaaf.js} +4 -2
- package/components/{p-82463cc2.js → p-aeca0a41.js} +2 -2
- package/components/{p-73c973fc.js → p-bb0ffb59.js} +28 -10
- package/components/{p-6b275dc1.js → p-bd90b8ee.js} +2 -2
- package/components/{p-64a9f915.js → p-c19a2763.js} +2 -2
- package/components/{p-61fe9d78.js → p-c236a69d.js} +12 -5
- package/components/{p-9f12ac0c.js → p-c45ecc56.js} +8 -8
- package/components/{p-3ea21529.js → p-cccdff76.js} +2 -2
- package/components/{p-5c935094.js → p-cd0370eb.js} +10 -8
- package/components/{p-d309b91a.js → p-d149967a.js} +2 -2
- package/components/{p-299871dc.js → p-d5b9333c.js} +2 -2
- package/components/{p-291680dc.js → p-db8aaede.js} +2 -2
- package/components/{p-39021139.js → p-eced9019.js} +2 -2
- package/components/{p-cf527784.js → p-f18dbbea.js} +12 -5
- package/components/{p-042282c9.js → p-f20d8be7.js} +2 -2
- package/components/{p-82085ee1.js → p-f53eb01a.js} +2 -2
- package/components/{p-965664d4.js → p-fb2fd84c.js} +88 -90
- package/custom-elements.json +89 -45
- package/dist/cjs/bar-chart-variation.enum-a4e866b6.js +7 -0
- package/dist/cjs/button-size.enum-1fd86b9e.js +7 -0
- package/dist/cjs/button-type.enum-406723db.js +8 -0
- package/dist/cjs/{code-example-variation.enum-1611825e.js → code-example-variation.enum-c6557727.js} +0 -6
- package/dist/cjs/digi-arbetsformedlingen.cjs.js +1 -1
- package/dist/cjs/digi-bar-chart.cjs.entry.js +1510 -0
- package/dist/cjs/digi-button_9.cjs.entry.js +533 -0
- package/dist/cjs/digi-calendar-datepicker.cjs.entry.js +175 -68
- package/dist/cjs/digi-calendar-week-view.cjs.entry.js +1 -1
- package/dist/cjs/digi-calendar_2.cjs.entry.js +74 -79
- package/dist/cjs/digi-chart-line.cjs.entry.js +1 -1
- package/dist/cjs/digi-code-block_3.cjs.entry.js +29 -9
- package/dist/cjs/digi-code-example.cjs.entry.js +6 -5
- package/dist/cjs/digi-context-menu.cjs.entry.js +3 -3
- package/dist/cjs/digi-dialog.cjs.entry.js +10 -4
- package/dist/cjs/digi-expandable-accordion.cjs.entry.js +1 -1
- package/dist/cjs/digi-footer.cjs.entry.js +9 -3
- package/dist/cjs/digi-form-category-filter.cjs.entry.js +2 -2
- package/dist/cjs/digi-form-checkbox.cjs.entry.js +10 -3
- package/dist/cjs/digi-form-error-list.cjs.entry.js +20 -43
- package/dist/cjs/digi-form-file-upload.cjs.entry.js +21 -8
- package/dist/cjs/digi-form-filter.cjs.entry.js +1 -1
- package/dist/cjs/digi-form-input-search.cjs.entry.js +12 -4
- package/dist/cjs/digi-form-input.cjs.entry.js +20 -3
- package/dist/cjs/digi-form-radiogroup.cjs.entry.js +22 -3
- package/dist/cjs/digi-form-receipt.cjs.entry.js +10 -4
- package/dist/cjs/digi-form-select-filter.cjs.entry.js +36 -13
- package/dist/cjs/digi-form-textarea.cjs.entry.js +16 -3
- package/dist/cjs/digi-header-avatar.cjs.entry.js +114 -0
- package/dist/cjs/digi-header-navigation-item.cjs.entry.js +27 -0
- package/dist/cjs/digi-header-navigation.cjs.entry.js +232 -0
- package/dist/cjs/digi-header-notification.cjs.entry.js +23 -0
- package/dist/cjs/digi-header.cjs.entry.js +148 -0
- package/dist/cjs/digi-icon-accessibility-deaf.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-accessibility-universal.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-apple.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-archive-outline.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-archive.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-arrow-back.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-arrow-down.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-arrow-left.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-arrow-right.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-arrow-sign-in.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-arrow-sign-out.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-arrow-up.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-at.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-bars.cjs.entry.js +30 -0
- package/dist/cjs/digi-icon-bell-filled.cjs.entry.js +30 -0
- package/dist/cjs/digi-icon-bell.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-book.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-bookmark-outline.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-bookmark-solid.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-bubble-ellipsis.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-bubble.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-building-outline.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-building-solid.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-bullseye.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-calculator-solid.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-calendar-alt-alert.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-calendar.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-caret-circle-right.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-caret-down_2.cjs.entry.js +53 -0
- package/dist/cjs/digi-icon-caret-left.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-caret-right.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-chart_2.cjs.entry.js +53 -0
- package/dist/cjs/digi-icon-chat.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-check-circle-reg-alt.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-check-circle-solid_4.cjs.entry.js +8 -8
- package/dist/cjs/digi-icon-check.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-checklist.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-chevron-down.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-chevron-left_2.cjs.entry.js +53 -0
- package/dist/cjs/digi-icon-chevron-up.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-clock.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-communication-play-solid.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-compress-alt.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-comunication-case.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-comunication-flag.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-comunication-graduate.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-comunication-play.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-cooperation.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-copy.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-danger-outline.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-download.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-dxa.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-edit.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-ellipsis.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-envelope-filled.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-envelope.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-exclamation-circle-filled.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-exclamation-triangle-filled.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-exclamation-triangle-warning.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-exclamation-triangle.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-expand-alt.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-external-link-alt_2.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-eye-slash.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-eye.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-facebook-square.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-file-add.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-file-document.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-file-excel.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-file-export.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-file-governing.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-file-pdf.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-file-powerpoint.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-file-remove.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-file-word.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-film.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-filter.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-folder-add.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-folder-directory.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-folder-open.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-folder.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-globe-filled.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-globe.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-headphones.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-heart-solid.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-heart.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-history.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-home.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-image.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-info-circle-solid.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-instagram.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-job-suggestion.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-language-outline.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-language.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-laptop-phone.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-lattlast.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-licence-bus.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-licence-car.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-licence-motorcycle.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-licence-truck.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-lightbulb.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-linkedin-in.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-list-ul_6.cjs.entry.js +12 -12
- package/dist/cjs/digi-icon-lock.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-marker-filled.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-marker.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-media-course.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-media-podcast.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-microphone-off.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-microphone.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-minus_2.cjs.entry.js +53 -0
- package/dist/cjs/digi-icon-move.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-notification-error_4.cjs.entry.js +8 -8
- package/dist/cjs/digi-icon-online-interview.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-online-meeting.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-online-task.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-open-source.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-palette.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-paste.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-pen.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-phone-hangup.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-phone.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-print.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-read.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-redo.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-scale.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-screensharing-off.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-screensharing.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-search.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-send-outline.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-send-solid.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-settings.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-share-alt.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-share-chain.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-sign.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-sliders-h.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-sokkandidat.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-sort-down.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-sort-up.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-sort.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-spinner.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-star-reg.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-star.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-suitcase-outline.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-suitcase-solid.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-system-assistance.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-table-column.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-table-row.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-task-done.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-toggle-off.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-toggle-on.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-twitter.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-tyck-till.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-unlock.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-update.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-upload.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-user-add.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-user-alt.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-user-edit.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-users-solid.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-videocamera-off.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-videocamera.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-volume.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-web-tv.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-wifi-signal0.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-wifi-signal1.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-wifi-signal2.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-wifi-signal3.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-window.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-x-button.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-x.cjs.entry.js +30 -0
- package/dist/cjs/digi-icon-youtube.cjs.entry.js +2 -2
- package/dist/cjs/digi-info-card-multi-container.cjs.entry.js +1 -1
- package/dist/cjs/digi-info-card-multi.cjs.entry.js +1 -1
- package/dist/cjs/digi-info-card.cjs.entry.js +1 -1
- package/dist/cjs/digi-layout-block_2.cjs.entry.js +92 -0
- package/dist/cjs/digi-layout-columns.cjs.entry.js +1 -1
- package/dist/cjs/digi-link-button.cjs.entry.js +1 -1
- package/dist/cjs/digi-link-internal.cjs.entry.js +1 -1
- package/dist/cjs/digi-link.cjs.entry.js +1 -1
- package/dist/cjs/digi-list.cjs.entry.js +1 -1
- 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-media-figure.cjs.entry.js +1 -1
- package/dist/cjs/digi-media-image_2.cjs.entry.js +167 -0
- package/dist/cjs/digi-navigation-breadcrumbs.cjs.entry.js +3 -3
- package/dist/cjs/digi-navigation-pagination.cjs.entry.js +15 -9
- package/dist/cjs/digi-navigation-sidebar-button.cjs.entry.js +30 -0
- package/dist/cjs/digi-navigation-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/digi-navigation-vertical-menu-item.cjs.entry.js +150 -0
- package/dist/cjs/digi-navigation-vertical-menu.cjs.entry.js +177 -0
- package/dist/cjs/digi-notification-alert.cjs.entry.js +11 -5
- package/dist/cjs/digi-notification-error-page.cjs.entry.js +12 -6
- package/dist/cjs/digi-progress-circle.cjs.entry.js +9 -9
- package/dist/cjs/digi-progress-indicator.cjs.entry.js +4 -4
- package/dist/cjs/digi-progress-list-item.cjs.entry.js +6 -6
- package/dist/cjs/digi-progress-list.cjs.entry.js +1 -1
- package/dist/cjs/digi-progressbar.cjs.entry.js +3 -3
- 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 +2 -2
- package/dist/cjs/digi-title-logo.cjs.entry.js +135 -0
- 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 +12 -6
- package/dist/cjs/digi-tools-theme-provider.cjs.entry.js +1 -1
- 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 +2 -2
- package/dist/cjs/digi-typography.cjs.entry.js +26 -0
- package/dist/cjs/digi-util-breakpoint-observer.cjs.entry.js +48 -0
- 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 +83 -0
- 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/{form-input-search-variation.enum-e0e025b1.js → form-input-search-variation.enum-c50239bc.js} +0 -7
- package/dist/cjs/form-radiogroup-validation.enum-03a17d4d.js +9 -0
- package/dist/cjs/index-7a477838.js +82 -14
- package/dist/cjs/index.cjs.js +72 -54
- package/dist/cjs/layout-container-max-width.enum-7e637f44.js +21 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/navigation-vertical-menu-variation.enum-c237edd3.js +13 -0
- package/dist/cjs/{text-3157012b.js → text-65b1b58c.js} +19 -0
- package/dist/cjs/{typography-variation.enum-8fd8bed4.js → typography-variation.enum-50512a4e.js} +8 -38
- package/dist/collection/components/_calendar/calendar/calendar.css +3 -0
- package/dist/collection/components/_calendar/calendar/calendar.js +92 -114
- package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.css +22 -16
- package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.js +341 -138
- package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.types.js +1 -0
- package/dist/collection/components/_chart/bar-chart/bar-chart.js +110 -125
- package/dist/collection/components/_code/code-example/code-example.css +1 -0
- package/dist/collection/components/_form/form-category-filter/form-category-filter.js +13 -13
- package/dist/collection/components/_form/form-checkbox/form-checkbox.css +6 -0
- package/dist/collection/components/_form/form-checkbox/form-checkbox.js +27 -7
- package/dist/collection/components/_form/form-error-list/form-error-list.css +2 -2
- package/dist/collection/components/_form/form-error-list/form-error-list.js +20 -43
- package/dist/collection/components/_form/form-error-list/form-error-list.types.js +1 -0
- package/dist/collection/components/_form/form-fieldset/form-fieldset-validation.enum.js +7 -0
- package/dist/collection/components/_form/form-fieldset/form-fieldset.js +87 -5
- package/dist/collection/components/_form/form-file-upload/form-file-upload.js +53 -7
- package/dist/collection/components/_form/form-input/form-input.js +54 -4
- package/dist/collection/components/_form/form-input-search/form-input-search.js +17 -3
- package/dist/collection/components/_form/form-label/form-label.js +1 -1
- package/dist/collection/components/_form/form-radiobutton/form-radiobutton.css +6 -0
- package/dist/collection/components/_form/form-radiobutton/form-radiobutton.js +20 -3
- package/dist/collection/components/_form/form-radiogroup/form-radiogroup-validation.enum.js +7 -0
- package/dist/collection/components/_form/form-radiogroup/form-radiogroup.js +130 -3
- package/dist/collection/components/_form/form-receipt/form-receipt.js +1 -1
- package/dist/collection/components/_form/form-select/form-select.js +46 -28
- package/dist/collection/components/_form/form-select-filter/form-select-filter.js +77 -18
- package/dist/collection/components/_form/form-textarea/form-textarea.js +50 -4
- package/dist/collection/components/_form/form-validation-message/form-validation-message.js +1 -1
- package/dist/collection/components/_header/header/header.js +1 -1
- package/dist/collection/components/_header/header-avatar/header-avatar.js +1 -1
- package/dist/collection/components/_header/header-navigation/header-navigation.js +3 -3
- package/dist/collection/components/_header/header-navigation-item/header-navigation-item.js +1 -1
- package/dist/collection/components/_header/header-notification/header-notification.js +2 -2
- package/dist/collection/components/_icon/icon-accessibility-deaf/icon-accessibility-deaf.js +2 -2
- package/dist/collection/components/_icon/icon-accessibility-universal/icon-accessibility-universal.js +2 -2
- package/dist/collection/components/_icon/icon-apple/icon-apple.js +2 -2
- package/dist/collection/components/_icon/icon-archive/icon-archive.js +2 -2
- package/dist/collection/components/_icon/icon-archive-outline/icon-archive-outline.js +2 -2
- package/dist/collection/components/_icon/icon-arrow-back/icon-arrow-back.js +2 -2
- package/dist/collection/components/_icon/icon-arrow-down/icon-arrow-down.js +2 -2
- package/dist/collection/components/_icon/icon-arrow-left/icon-arrow-left.js +2 -2
- package/dist/collection/components/_icon/icon-arrow-right/icon-arrow-right.js +2 -2
- package/dist/collection/components/_icon/icon-arrow-sign-in/icon-arrow-sign-in.js +2 -2
- package/dist/collection/components/_icon/icon-arrow-sign-out/icon-arrow-sign-out.js +2 -2
- package/dist/collection/components/_icon/icon-arrow-up/icon-arrow-up.js +2 -2
- package/dist/collection/components/_icon/icon-at/icon-at.js +2 -2
- package/dist/collection/components/_icon/icon-bars/icon-bars.js +2 -2
- package/dist/collection/components/_icon/icon-bell/icon-bell.js +2 -2
- package/dist/collection/components/_icon/icon-bell-filled/icon-bell-filled.js +2 -2
- package/dist/collection/components/_icon/icon-book/icon-book.js +2 -2
- package/dist/collection/components/_icon/icon-bookmark-outline/icon-bookmark-outline.js +2 -2
- package/dist/collection/components/_icon/icon-bookmark-solid/icon-bookmark-solid.js +2 -2
- package/dist/collection/components/_icon/icon-bubble/icon-bubble.js +2 -2
- package/dist/collection/components/_icon/icon-bubble-ellipsis/icon-bubble-ellipsis.js +2 -2
- package/dist/collection/components/_icon/icon-building-outline/icon-building-outline.js +2 -2
- package/dist/collection/components/_icon/icon-building-solid/icon-building-solid.js +2 -2
- package/dist/collection/components/_icon/icon-bullseye/icon-bullseye.js +2 -2
- package/dist/collection/components/_icon/icon-calculator-solid/icon-calculator-solid.js +2 -2
- package/dist/collection/components/_icon/icon-calendar/icon-calendar.js +2 -2
- package/dist/collection/components/_icon/icon-calendar-alt/icon-calendar-alt.js +2 -2
- package/dist/collection/components/_icon/icon-calendar-alt-alert/icon-calendar-alt-alert.js +2 -2
- package/dist/collection/components/_icon/icon-caret-circle-right/icon-caret-circle-right.js +2 -2
- package/dist/collection/components/_icon/icon-caret-down/icon-caret-down.js +2 -2
- package/dist/collection/components/_icon/icon-caret-left/icon-caret-left.js +2 -2
- package/dist/collection/components/_icon/icon-caret-right/icon-caret-right.js +2 -2
- package/dist/collection/components/_icon/icon-caret-up/icon-caret-up.js +2 -2
- package/dist/collection/components/_icon/icon-chart/icon-chart.js +2 -2
- package/dist/collection/components/_icon/icon-chat/icon-chat.js +2 -2
- package/dist/collection/components/_icon/icon-check/icon-check.js +2 -2
- package/dist/collection/components/_icon/icon-check-circle-reg-alt/icon-check-circle-reg-alt.js +2 -2
- package/dist/collection/components/_icon/icon-check-circle-solid/icon-check-circle-solid.js +2 -2
- package/dist/collection/components/_icon/icon-checklist/icon-checklist.js +2 -2
- package/dist/collection/components/_icon/icon-chevron-down/icon-chevron-down.js +2 -2
- package/dist/collection/components/_icon/icon-chevron-left/icon-chevron-left.js +2 -2
- package/dist/collection/components/_icon/icon-chevron-right/icon-chevron-right.js +2 -2
- package/dist/collection/components/_icon/icon-chevron-up/icon-chevron-up.js +2 -2
- package/dist/collection/components/_icon/icon-clock/icon-clock.js +2 -2
- package/dist/collection/components/_icon/icon-communication-play-solid/icon-communication-play-solid.js +2 -2
- package/dist/collection/components/_icon/icon-compress-alt/icon-compress-alt.js +2 -2
- package/dist/collection/components/_icon/icon-comunication-case/icon-comunication-case.js +2 -2
- package/dist/collection/components/_icon/icon-comunication-flag/icon-comunication-flag.js +2 -2
- package/dist/collection/components/_icon/icon-comunication-graduate/icon-comunication-graduate.js +2 -2
- package/dist/collection/components/_icon/icon-comunication-play/icon-comunication-play.js +2 -2
- package/dist/collection/components/_icon/icon-cooperation/icon-cooperation.js +2 -2
- package/dist/collection/components/_icon/icon-copy/icon-copy.js +2 -2
- package/dist/collection/components/_icon/icon-danger-outline/icon-danger-outline.js +2 -2
- package/dist/collection/components/_icon/icon-download/icon-download.js +2 -2
- package/dist/collection/components/_icon/icon-dxa/icon-dxa.js +2 -2
- package/dist/collection/components/_icon/icon-edit/icon-edit.js +2 -2
- package/dist/collection/components/_icon/icon-ellipsis/icon-ellipsis.js +2 -2
- package/dist/collection/components/_icon/icon-envelope/icon-envelope.js +2 -2
- package/dist/collection/components/_icon/icon-envelope-filled/icon-envelope-filled.js +2 -2
- package/dist/collection/components/_icon/icon-exclamation-circle-filled/icon-exclamation-circle-filled.js +2 -2
- package/dist/collection/components/_icon/icon-exclamation-triangle/icon-exclamation-triangle.js +2 -2
- package/dist/collection/components/_icon/icon-exclamation-triangle-filled/icon-exclamation-triangle-filled.js +2 -2
- package/dist/collection/components/_icon/icon-exclamation-triangle-warning/icon-exclamation-triangle-warning.js +2 -2
- package/dist/collection/components/_icon/icon-expand-alt/icon-expand-alt.js +2 -2
- package/dist/collection/components/_icon/icon-external-link-alt/icon-external-link-alt.js +2 -2
- package/dist/collection/components/_icon/icon-eye/icon-eye.js +2 -2
- package/dist/collection/components/_icon/icon-eye-slash/icon-eye-slash.js +2 -2
- package/dist/collection/components/_icon/icon-facebook-square/icon-facebook-square.js +2 -2
- package/dist/collection/components/_icon/icon-file-add/icon-file-add.js +1 -1
- package/dist/collection/components/_icon/icon-file-document/icon-file-document.js +2 -2
- package/dist/collection/components/_icon/icon-file-excel/icon-file-excel.js +2 -2
- package/dist/collection/components/_icon/icon-file-export/icon-file-export.js +1 -1
- package/dist/collection/components/_icon/icon-file-governing/icon-file-governing.js +2 -2
- package/dist/collection/components/_icon/icon-file-pdf/icon-file-pdf.js +2 -2
- package/dist/collection/components/_icon/icon-file-powerpoint/icon-file-powerpoint.js +2 -2
- package/dist/collection/components/_icon/icon-file-remove/icon-file-remove.js +1 -1
- package/dist/collection/components/_icon/icon-file-word/icon-file-word.js +2 -2
- package/dist/collection/components/_icon/icon-film/icon-film.js +2 -2
- package/dist/collection/components/_icon/icon-filter/icon-filter.js +2 -2
- package/dist/collection/components/_icon/icon-folder/icon-folder.js +1 -1
- package/dist/collection/components/_icon/icon-folder-add/icon-folder-add.js +1 -1
- package/dist/collection/components/_icon/icon-folder-directory/icon-folder-directory.js +1 -1
- package/dist/collection/components/_icon/icon-folder-open/icon-folder-open.js +1 -1
- package/dist/collection/components/_icon/icon-globe/icon-globe.js +2 -2
- package/dist/collection/components/_icon/icon-globe-filled/icon-globe-filled.js +2 -2
- package/dist/collection/components/_icon/icon-headphones/icon-headphones.js +2 -2
- package/dist/collection/components/_icon/icon-heart/icon-heart.js +2 -2
- package/dist/collection/components/_icon/icon-heart-solid/icon-heart-solid.js +2 -2
- package/dist/collection/components/_icon/icon-history/icon-history.js +2 -2
- package/dist/collection/components/_icon/icon-home/icon-home.js +2 -2
- package/dist/collection/components/_icon/icon-image/icon-image.js +2 -2
- package/dist/collection/components/_icon/icon-info-circle-solid/icon-info-circle-solid.js +2 -2
- package/dist/collection/components/_icon/icon-input-select-marker/icon-input-select-marker.js +2 -2
- package/dist/collection/components/_icon/icon-instagram/icon-instagram.js +2 -2
- package/dist/collection/components/_icon/icon-job-suggestion/icon-job-suggestion.js +2 -2
- package/dist/collection/components/_icon/icon-language/icon-language.js +2 -2
- package/dist/collection/components/_icon/icon-language-outline/icon-language-outline.js +2 -2
- package/dist/collection/components/_icon/icon-laptop-phone/icon-laptop-phone.js +2 -2
- package/dist/collection/components/_icon/icon-lattlast/icon-lattlast.js +2 -2
- package/dist/collection/components/_icon/icon-licence-bus/icon-licence-bus.js +2 -2
- package/dist/collection/components/_icon/icon-licence-car/icon-licence-car.js +2 -2
- package/dist/collection/components/_icon/icon-licence-motorcycle/icon-licence-motorcycle.js +2 -2
- package/dist/collection/components/_icon/icon-licence-truck/icon-licence-truck.js +2 -2
- package/dist/collection/components/_icon/icon-lightbulb/icon-lightbulb.js +2 -2
- package/dist/collection/components/_icon/icon-linkedin-in/icon-linkedin-in.js +2 -2
- package/dist/collection/components/_icon/icon-list-ul/icon-list-ul.js +2 -2
- package/dist/collection/components/_icon/icon-lock/icon-lock.js +2 -2
- package/dist/collection/components/_icon/icon-marker/icon-marker.js +2 -2
- package/dist/collection/components/_icon/icon-marker-filled/icon-marker-filled.js +2 -2
- package/dist/collection/components/_icon/icon-media-course/icon-media-course.js +2 -2
- package/dist/collection/components/_icon/icon-media-podcast/icon-media-podcast.js +2 -2
- package/dist/collection/components/_icon/icon-microphone/icon-microphone.js +2 -2
- package/dist/collection/components/_icon/icon-microphone-off/icon-microphone-off.js +2 -2
- package/dist/collection/components/_icon/icon-minus/icon-minus.js +2 -2
- package/dist/collection/components/_icon/icon-move/icon-move.js +2 -2
- package/dist/collection/components/_icon/icon-news/icon-news.js +2 -2
- package/dist/collection/components/_icon/icon-notification-error/icon-notification-error.js +2 -2
- package/dist/collection/components/_icon/icon-notification-info/icon-notification-info.js +2 -2
- package/dist/collection/components/_icon/icon-notification-succes/icon-notification-succes.js +2 -2
- package/dist/collection/components/_icon/icon-notification-warning/icon-notification-warning.js +2 -2
- package/dist/collection/components/_icon/icon-online-computervideo/icon-online-computervideo.js +2 -2
- package/dist/collection/components/_icon/icon-online-interview/icon-online-interview.js +2 -2
- package/dist/collection/components/_icon/icon-online-meeting/icon-online-meeting.js +2 -2
- package/dist/collection/components/_icon/icon-online-task/icon-online-task.js +2 -2
- package/dist/collection/components/_icon/icon-online-video/icon-online-video.js +2 -2
- package/dist/collection/components/_icon/icon-open-source/icon-open-source.js +2 -2
- package/dist/collection/components/_icon/icon-palette/icon-palette.js +2 -2
- package/dist/collection/components/_icon/icon-paperclip/icon-paperclip.js +2 -2
- package/dist/collection/components/_icon/icon-paste/icon-paste.js +1 -1
- package/dist/collection/components/_icon/icon-pen/icon-pen.js +2 -2
- package/dist/collection/components/_icon/icon-phone/icon-phone.js +2 -2
- package/dist/collection/components/_icon/icon-phone-hangup/icon-phone-hangup.js +2 -2
- package/dist/collection/components/_icon/icon-plus/icon-plus.js +2 -2
- package/dist/collection/components/_icon/icon-pod/icon-pod.js +2 -2
- package/dist/collection/components/_icon/icon-print/icon-print.js +2 -2
- package/dist/collection/components/_icon/icon-read/icon-read.js +2 -2
- package/dist/collection/components/_icon/icon-redo/icon-redo.js +2 -2
- package/dist/collection/components/_icon/icon-scale/icon-scale.js +1 -1
- package/dist/collection/components/_icon/icon-screensharing/icon-screensharing.js +2 -2
- package/dist/collection/components/_icon/icon-screensharing-off/icon-screensharing-off.js +2 -2
- package/dist/collection/components/_icon/icon-search/icon-search.js +2 -2
- package/dist/collection/components/_icon/icon-send-outline/icon-send-outline.js +2 -2
- package/dist/collection/components/_icon/icon-send-solid/icon-send-solid.js +2 -2
- package/dist/collection/components/_icon/icon-settings/icon-settings.js +2 -2
- package/dist/collection/components/_icon/icon-share-alt/icon-share-alt.js +2 -2
- package/dist/collection/components/_icon/icon-share-chain/icon-share-chain.js +2 -2
- package/dist/collection/components/_icon/icon-sign/icon-sign.js +2 -2
- package/dist/collection/components/_icon/icon-sliders-h/icon-sliders-h.js +2 -2
- package/dist/collection/components/_icon/icon-sokkandidat/icon-sokkandidat.js +2 -2
- package/dist/collection/components/_icon/icon-sort/icon-sort.js +2 -2
- package/dist/collection/components/_icon/icon-sort-down/icon-sort-down.js +2 -2
- package/dist/collection/components/_icon/icon-sort-up/icon-sort-up.js +2 -2
- package/dist/collection/components/_icon/icon-spinner/icon-spinner.js +2 -2
- package/dist/collection/components/_icon/icon-star/icon-star.js +2 -2
- package/dist/collection/components/_icon/icon-star-reg/icon-star-reg.js +2 -2
- package/dist/collection/components/_icon/icon-suitcase-outline/icon-suitcase-outline.js +2 -2
- package/dist/collection/components/_icon/icon-suitcase-solid/icon-suitcase-solid.js +2 -2
- package/dist/collection/components/_icon/icon-system-assistance/icon-system-assistance.js +2 -2
- package/dist/collection/components/_icon/icon-table/icon-table.js +2 -2
- package/dist/collection/components/_icon/icon-table-column/icon-table-column.js +2 -2
- package/dist/collection/components/_icon/icon-table-row/icon-table-row.js +2 -2
- package/dist/collection/components/_icon/icon-task-done/icon-task-done.js +2 -2
- package/dist/collection/components/_icon/icon-toggle-off/icon-toggle-off.js +2 -2
- package/dist/collection/components/_icon/icon-toggle-on/icon-toggle-on.js +2 -2
- package/dist/collection/components/_icon/icon-trash/icon-trash.js +2 -2
- package/dist/collection/components/_icon/icon-twitter/icon-twitter.js +2 -2
- package/dist/collection/components/_icon/icon-tyck-till/icon-tyck-till.js +2 -2
- package/dist/collection/components/_icon/icon-unlock/icon-unlock.js +2 -2
- package/dist/collection/components/_icon/icon-update/icon-update.js +2 -2
- package/dist/collection/components/_icon/icon-upload/icon-upload.js +2 -2
- package/dist/collection/components/_icon/icon-user-add/icon-user-add.js +1 -1
- package/dist/collection/components/_icon/icon-user-alt/icon-user-alt.js +2 -2
- package/dist/collection/components/_icon/icon-user-edit/icon-user-edit.js +1 -1
- package/dist/collection/components/_icon/icon-users-solid/icon-users-solid.js +2 -2
- package/dist/collection/components/_icon/icon-validation-error/icon-validation-error.js +2 -2
- package/dist/collection/components/_icon/icon-validation-success/icon-validation-success.js +2 -2
- package/dist/collection/components/_icon/icon-validation-warning/icon-validation-warning.js +2 -2
- package/dist/collection/components/_icon/icon-videocamera/icon-videocamera.js +2 -2
- package/dist/collection/components/_icon/icon-videocamera-off/icon-videocamera-off.js +2 -2
- package/dist/collection/components/_icon/icon-volume/icon-volume.js +2 -2
- package/dist/collection/components/_icon/icon-web-tv/icon-web-tv.js +2 -2
- package/dist/collection/components/_icon/icon-webinar/icon-webinar.js +2 -2
- package/dist/collection/components/_icon/icon-wifi-signal0/icon-wifi-signal0.js +2 -2
- package/dist/collection/components/_icon/icon-wifi-signal1/icon-wifi-signal1.js +2 -2
- package/dist/collection/components/_icon/icon-wifi-signal2/icon-wifi-signal2.js +2 -2
- package/dist/collection/components/_icon/icon-wifi-signal3/icon-wifi-signal3.js +2 -2
- package/dist/collection/components/_icon/icon-window/icon-window.js +2 -2
- package/dist/collection/components/_icon/icon-x/icon-x.js +2 -2
- package/dist/collection/components/_icon/icon-x-button/icon-x-button.js +2 -2
- package/dist/collection/components/_icon/icon-x-button-outline/icon-x-button-outline.js +2 -2
- package/dist/collection/components/_icon/icon-youtube/icon-youtube.js +2 -2
- package/dist/collection/components/_info-card/info-card/info-card.js +1 -1
- package/dist/collection/components/_info-card/info-card-multi/info-card-multi.js +1 -1
- package/dist/collection/components/_info-card/info-card-multi-container/info-card-multi-container.js +1 -1
- package/dist/collection/components/_layout/layout-block/layout-block.js +1 -1
- package/dist/collection/components/_layout/layout-columns/layout-columns.js +1 -1
- package/dist/collection/components/_layout/layout-container/layout-container.js +1 -1
- package/dist/collection/components/_link/link/link.js +1 -1
- package/dist/collection/components/_link/link-button/link-button.js +1 -1
- package/dist/collection/components/_link/link-external/link-external.js +1 -1
- package/dist/collection/components/_link/link-internal/link-internal.js +1 -1
- package/dist/collection/components/_list/list/list.js +1 -1
- 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/title-logo/title-logo.js +1 -1
- 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-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/notification-error-page.js +3 -3
- package/dist/collection/components/_progress/progress-circle/progress-circle.js +9 -8
- package/dist/collection/components/_progress/progress-indicator/progress-indicator.js +4 -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/_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-theme-provider/tools-theme-provider.js +1 -1
- package/dist/collection/components/_typography/typography/typography.js +1 -1
- package/dist/collection/components/_typography/typography-heading-jumbo/typography-heading-jumbo.js +2 -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/collection/design-tokens/components/_calendar-datepicker.variables.scss +2 -2
- package/dist/collection/enums.js +2 -0
- package/dist/collection/text/locale/sv/text.js +19 -0
- package/dist/digi-arbetsformedlingen/design-tokens/components/_calendar-datepicker.variables.scss +2 -2
- package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
- package/dist/digi-arbetsformedlingen/index.esm.js +1 -1
- package/dist/digi-arbetsformedlingen/{p-60989dea.entry.js → p-00506378.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c917502e.entry.js → p-009d0758.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-011d5a78.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-8318562f.entry.js → p-01f90a29.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-cab53989.entry.js → p-024ef74e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5aae7437.entry.js → p-030e608e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-56cb2ded.entry.js → p-038adf64.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-0436c516.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-04413bed.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-0461e19a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-cd770cb4.entry.js → p-0501a287.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-d7cdbe75.entry.js → p-05324cdd.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-6de493b0.entry.js → p-077f80a5.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ef9a3ddc.entry.js → p-0aab70a9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-0c1d3711.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-8d3cb15a.entry.js → p-0e20fa9d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-7d597755.entry.js → p-103ceec9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c721f99a.entry.js → p-110c3e1a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a7361f39.entry.js → p-12a03793.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-cdbfa3d0.entry.js → p-13523367.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ce8d2455.entry.js → p-13cd19d0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-588fe3b5.entry.js → p-1455b446.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-14731327.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-4eb58cf9.entry.js → p-15263cf9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5473bfea.entry.js → p-15348eee.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-76eb331e.entry.js → p-16f09f62.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-6a33818a.entry.js → p-18e4355f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-4788712e.entry.js → p-193b136c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a0267f76.entry.js → p-1dcfc210.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a98df65c.entry.js → p-1e36e974.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-0c210491.entry.js → p-1eae728c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-38603899.entry.js → p-1ed59d47.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-237cad1c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-24fe2189.js +1 -0
- package/dist/digi-arbetsformedlingen/p-2698dd2a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-20ef225a.entry.js → p-26f8ef76.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-7660ba5b.entry.js → p-2761f020.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-34ef0baa.entry.js → p-285956a5.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b21e9c0a.entry.js → p-286973f2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-2a86cc73.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-3212807d.entry.js → p-2b2f3fad.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c81d1d0b.entry.js → p-2be2a087.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-73f6209d.entry.js → p-2fca5303.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-300aa9ef.js +1 -0
- package/dist/digi-arbetsformedlingen/p-33349e7e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-664de70c.entry.js → p-33a87be9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-649c30ed.entry.js → p-34e12bd2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-2aa3ed49.entry.js → p-37038edf.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-07513ee6.entry.js → p-38537016.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-38627816.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-21653bf9.entry.js → p-3a76bfde.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-3b20ec86.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-8328e58b.entry.js → p-3c0c5222.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-3d0c3803.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-e917904e.entry.js → p-3d7fff3c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-3c28625a.entry.js → p-3dafce70.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-df2038b9.entry.js → p-3e3f540d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-93ec0277.entry.js → p-405d57ae.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-d1a77b0b.entry.js → p-41065da6.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9fe345d1.entry.js → p-4122fe31.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-cfad003c.entry.js → p-4148e305.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a884ccf8.entry.js → p-41bc039f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9ea535e1.entry.js → p-4200e2e1.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e55d3abf.entry.js → p-426e32f1.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-43178277.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-ea09368a.entry.js → p-443e9415.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-4452f871.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-1bd29b6a.entry.js → p-447779c9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-d2799e99.entry.js → p-44a6202f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5d30475d.entry.js → p-464cd846.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-83b3f053.entry.js → p-46ec7e56.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-218b829e.entry.js → p-49735479.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9495044c.entry.js → p-4ac07008.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-f6476365.entry.js → p-4acb80a4.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c566cef3.entry.js → p-4b124888.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-726a0b56.entry.js → p-4bdc3b9f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-2062e63b.entry.js → p-4e0ecc91.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5ac3d7a9.entry.js → p-4e36c467.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1a21de52.entry.js → p-4f29b0c0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-501697cd.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-8355c75d.entry.js → p-51144736.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-f9315403.entry.js → p-52f53840.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-4224f1e4.entry.js → p-53d6b8e7.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-55f525dd.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-9a7e195c.entry.js → p-57319a80.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-37459590.entry.js → p-573b8fa7.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-27388bc4.entry.js → p-58b6386c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-5a602122.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-fe235598.entry.js → p-5a965d75.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-099b1bac.entry.js → p-5b236abe.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-7393b76b.entry.js → p-5bed47db.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-d0a8fa77.entry.js → p-5d23e3cd.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-53483e1d.entry.js → p-5d58a175.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-db7c2105.entry.js → p-5eba5ec4.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9a73a55d.entry.js → p-5faa3a64.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ccd18e1a.entry.js → p-5fc10ab0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-43a43f09.entry.js → p-618b8bc8.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-618e6fb0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-4871b74a.entry.js → p-628b7dbb.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-f7628391.entry.js → p-633f8158.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5e37e5aa.entry.js → p-6422c8ca.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1e03ba21.entry.js → p-654dbd76.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-bb0935fc.entry.js → p-67b49e94.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-67be853d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-67d28f76.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-c8751075.entry.js → p-681e7beb.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5ee51a86.entry.js → p-682f727c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-4f6b2e2a.entry.js → p-68c937f9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-dcaa4461.entry.js → p-6989161a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-16dd9b3f.entry.js → p-69f63c7d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-d2a12b86.entry.js → p-6c3a302e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-63148e09.entry.js → p-6d864e79.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-6efa0bd8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6fa23e38.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6fdaec07.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-89566597.entry.js → p-6ff374d1.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-bab6f184.entry.js → p-7255a748.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5503d5be.entry.js → p-72c968e0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-73a6be41.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-2f57b446.entry.js → p-744a0451.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-11b5ab8d.entry.js → p-76474429.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-6e925e52.entry.js → p-7908074b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e69d2e1c.entry.js → p-7b957a6b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ba39e14b.entry.js → p-7c116ffb.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-80a77b6e.entry.js → p-7cf05fa9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c30a3366.entry.js → p-7d49df06.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-40f5fda7.entry.js → p-7e49b526.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-baac6e73.entry.js → p-7e557ad2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-4c69c234.entry.js → p-7e7dcd4a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9789b001.entry.js → p-7f355471.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-4fe05e2f.entry.js → p-7f852a22.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-3eb4faff.entry.js → p-813f7cd7.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5d0ffc80.entry.js → p-8284b8cf.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-7e6d699e.entry.js → p-83bf9168.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-84719680.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-676ab6ef.entry.js → p-8506c514.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-39604e43.entry.js → p-853442cf.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-18006927.entry.js → p-85d4f3af.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-864542b1.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-eeec1cf1.entry.js → p-870c4f49.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-16303afa.entry.js → p-87727a53.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e8fd0aed.entry.js → p-88617c9f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b10a1760.entry.js → p-8890800e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-0e634a09.entry.js → p-89663e9f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-89b457e8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-b32df740.entry.js → p-89e2aff2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-51c9cc1a.entry.js → p-8c761dbc.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9045d5ff.entry.js → p-8d0f766e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-293ea71f.entry.js → p-8d4403b3.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-07b02fa8.entry.js → p-8e1568c4.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-815a97f1.entry.js → p-8e47ac34.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-903a27d9.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-592fd6a9.entry.js → p-92e43eab.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-93766b5e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-9763005c.entry.js → p-942a829a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-82634b60.entry.js → p-944a7329.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-95330112.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-96987381.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-b7494943.entry.js → p-96a2f7d5.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-f69dbfcf.entry.js → p-9754f96a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-98eece1b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-5acaf4b0.entry.js → p-9966fe52.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9d15493f.entry.js → p-9c4f07b0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-de1e9254.entry.js → p-9dce95f1.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-9dcedec5.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9e56568b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-a9bfc5bd.entry.js → p-9f81e7ca.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-7474d7b0.entry.js → p-a1312fc2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-a34dfc04.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-99e4bd13.entry.js → p-a41ef0f6.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b81e0aec.entry.js → p-a5a86077.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-3e126f89.entry.js → p-a5e967d5.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-01c29a14.entry.js → p-a6641402.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a6a0a040.entry.js → p-a8a7fc5b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-48113595.entry.js → p-a8bfcbdb.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-8473e21b.entry.js → p-a930f885.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-4b618926.entry.js → p-aa91c0af.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-ac87daf1.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-b48f2acd.entry.js → p-af3c182b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9cf50217.entry.js → p-b0da7751.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-780b30f6.entry.js → p-b22e8852.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-af4b851e.entry.js → p-b3254470.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-b328f60b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-bb554f34.entry.js → p-b4bef936.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5456a3bc.entry.js → p-b5755c01.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-b6048dc7.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-c168c84a.entry.js → p-b7c234ba.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-804cb867.entry.js → p-b88f6f99.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-bc0ca702.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-bc3d2778.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-0052b03c.entry.js → p-bd085e7f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-014044a7.entry.js → p-bed4e41b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-bf53daba.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-45af5d55.entry.js → p-c06611d5.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-352712b9.entry.js → p-c085dc03.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1fcbbf5f.entry.js → p-c0b39654.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-2c7d4ecf.entry.js → p-c29ab968.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-90bc53dc.entry.js → p-c3e6d920.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-753987ba.entry.js → p-c461917d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-edfdf8e9.entry.js → p-c5f7050c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-8fa46692.entry.js → p-c741da33.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-0ac9f348.entry.js → p-c77c3d89.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a67b4609.entry.js → p-c799009f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-49aeb019.entry.js → p-c8c08554.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-905f3864.entry.js → p-ca30cbad.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-cdf86efc.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-27be8d2b.entry.js → p-ce22d2bd.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c92e206b.entry.js → p-cf8c3bb3.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-d055d564.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-01df63d6.entry.js → p-d274cee8.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-57dd2b38.entry.js → p-d5763fdd.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-66483a84.entry.js → p-d7709d32.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b734218c.entry.js → p-d79cb764.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-044b32d7.entry.js → p-d7aa8315.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-0a904539.entry.js → p-d8c3525c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e627abeb.entry.js → p-d98c9920.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-4bb41707.entry.js → p-dc3f1bff.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-dcdffb3c.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-a4895704.entry.js → p-dd4cc053.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-de625253.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-7d54fe81.entry.js → p-de9c3a69.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-dea2dd09.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-a947fa52.entry.js → p-df3a8ec4.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1cc801fd.entry.js → p-df5225d2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-d46b426b.entry.js → p-e1dd3a3f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-e2c92528.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-658aa433.entry.js → p-e3ac1f3a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-2ffd9c4c.entry.js → p-e3d34c02.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c70ba82f.entry.js → p-e4d48214.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-fc945ec1.entry.js → p-e4ee488a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-fc252a02.entry.js → p-e5347e6f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a439e93f.entry.js → p-e57e67b4.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-accb56da.entry.js → p-e6d0f714.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5b01d3e2.entry.js → p-e71113f0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-2412deb9.entry.js → p-e734b21e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-4b5edc89.entry.js → p-e7461a13.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-e7e39ee7.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-f6b2d484.entry.js → p-e92094c2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-e9656bf8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-77ea6604.entry.js → p-e9abb2b1.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9df20034.entry.js → p-ea113b44.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-8e16d36a.entry.js → p-eaac5c66.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-ee4cb21a.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ee9589e6.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-0bc366fb.entry.js → p-f1fb0ee8.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-83269fe6.entry.js → p-f275b457.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a5c387e8.entry.js → p-f2f36d89.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a1ae9863.entry.js → p-f33ee2cb.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-f8391f37.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-ad471fd2.entry.js → p-f8b6c6db.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-87721a1f.entry.js → p-faeae199.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-4e2e1902.entry.js → p-fd0b154a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1dc8b284.entry.js → p-fd960097.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-fdecd798.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-fe409f14.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-d146131e.entry.js → p-fecc1b90.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-f2eb8ee5.entry.js → p-fff27d84.entry.js} +1 -1
- package/dist/esm/bar-chart-variation.enum-97c0b47f.js +7 -0
- package/dist/esm/button-size.enum-d5ff6ff3.js +7 -0
- package/dist/esm/button-type.enum-5250ae0b.js +8 -0
- package/dist/esm/{code-example-variation.enum-e656d235.js → code-example-variation.enum-e9f9fced.js} +1 -7
- package/dist/esm/digi-arbetsformedlingen.js +1 -1
- package/dist/esm/digi-bar-chart.entry.js +1506 -0
- package/dist/esm/digi-button_9.entry.js +521 -0
- package/dist/esm/digi-calendar-datepicker.entry.js +175 -68
- package/dist/esm/digi-calendar-week-view.entry.js +1 -1
- package/dist/esm/digi-calendar_2.entry.js +74 -79
- package/dist/esm/digi-chart-line.entry.js +1 -1
- package/dist/esm/digi-code-block_3.entry.js +29 -9
- package/dist/esm/digi-code-example.entry.js +4 -3
- package/dist/esm/digi-context-menu.entry.js +3 -3
- package/dist/esm/digi-dialog.entry.js +9 -3
- package/dist/esm/digi-expandable-accordion.entry.js +1 -1
- package/dist/esm/digi-footer.entry.js +9 -3
- package/dist/esm/digi-form-category-filter.entry.js +2 -2
- package/dist/esm/digi-form-checkbox.entry.js +11 -4
- package/dist/esm/digi-form-error-list.entry.js +20 -43
- package/dist/esm/digi-form-file-upload.entry.js +21 -8
- package/dist/esm/digi-form-filter.entry.js +1 -1
- package/dist/esm/digi-form-input-search.entry.js +12 -4
- package/dist/esm/digi-form-input.entry.js +21 -4
- package/dist/esm/digi-form-radiogroup.entry.js +22 -3
- package/dist/esm/digi-form-receipt.entry.js +10 -4
- package/dist/esm/digi-form-select-filter.entry.js +37 -14
- package/dist/esm/digi-form-textarea.entry.js +17 -4
- package/dist/esm/digi-header-avatar.entry.js +110 -0
- package/dist/esm/digi-header-navigation-item.entry.js +23 -0
- package/dist/esm/digi-header-navigation.entry.js +228 -0
- package/dist/esm/digi-header-notification.entry.js +19 -0
- package/dist/esm/digi-header.entry.js +144 -0
- package/dist/esm/digi-icon-accessibility-deaf.entry.js +2 -2
- package/dist/esm/digi-icon-accessibility-universal.entry.js +2 -2
- package/dist/esm/digi-icon-apple.entry.js +2 -2
- package/dist/esm/digi-icon-archive-outline.entry.js +2 -2
- package/dist/esm/digi-icon-archive.entry.js +2 -2
- package/dist/esm/digi-icon-arrow-back.entry.js +2 -2
- package/dist/esm/digi-icon-arrow-down.entry.js +2 -2
- package/dist/esm/digi-icon-arrow-left.entry.js +2 -2
- package/dist/esm/digi-icon-arrow-right.entry.js +2 -2
- package/dist/esm/digi-icon-arrow-sign-in.entry.js +2 -2
- package/dist/esm/digi-icon-arrow-sign-out.entry.js +2 -2
- package/dist/esm/digi-icon-arrow-up.entry.js +2 -2
- package/dist/esm/digi-icon-at.entry.js +2 -2
- package/dist/esm/digi-icon-bars.entry.js +26 -0
- package/dist/esm/digi-icon-bell-filled.entry.js +26 -0
- package/dist/esm/digi-icon-bell.entry.js +2 -2
- package/dist/esm/digi-icon-book.entry.js +2 -2
- package/dist/esm/digi-icon-bookmark-outline.entry.js +2 -2
- package/dist/esm/digi-icon-bookmark-solid.entry.js +2 -2
- package/dist/esm/digi-icon-bubble-ellipsis.entry.js +2 -2
- package/dist/esm/digi-icon-bubble.entry.js +2 -2
- package/dist/esm/digi-icon-building-outline.entry.js +2 -2
- package/dist/esm/digi-icon-building-solid.entry.js +2 -2
- package/dist/esm/digi-icon-bullseye.entry.js +2 -2
- package/dist/esm/digi-icon-calculator-solid.entry.js +2 -2
- package/dist/esm/digi-icon-calendar-alt-alert.entry.js +2 -2
- package/dist/esm/digi-icon-calendar.entry.js +2 -2
- package/dist/esm/digi-icon-caret-circle-right.entry.js +2 -2
- package/dist/esm/digi-icon-caret-down_2.entry.js +48 -0
- package/dist/esm/digi-icon-caret-left.entry.js +2 -2
- package/dist/esm/digi-icon-caret-right.entry.js +2 -2
- package/dist/esm/digi-icon-chart_2.entry.js +48 -0
- package/dist/esm/digi-icon-chat.entry.js +2 -2
- package/dist/esm/digi-icon-check-circle-reg-alt.entry.js +2 -2
- package/dist/esm/digi-icon-check-circle-solid_4.entry.js +8 -8
- package/dist/esm/digi-icon-check.entry.js +2 -2
- package/dist/esm/digi-icon-checklist.entry.js +2 -2
- package/dist/esm/digi-icon-chevron-down.entry.js +2 -2
- package/dist/esm/digi-icon-chevron-left_2.entry.js +48 -0
- package/dist/esm/digi-icon-chevron-up.entry.js +2 -2
- package/dist/esm/digi-icon-clock.entry.js +2 -2
- package/dist/esm/digi-icon-communication-play-solid.entry.js +2 -2
- package/dist/esm/digi-icon-compress-alt.entry.js +2 -2
- package/dist/esm/digi-icon-comunication-case.entry.js +2 -2
- package/dist/esm/digi-icon-comunication-flag.entry.js +2 -2
- package/dist/esm/digi-icon-comunication-graduate.entry.js +2 -2
- package/dist/esm/digi-icon-comunication-play.entry.js +2 -2
- package/dist/esm/digi-icon-cooperation.entry.js +2 -2
- package/dist/esm/digi-icon-copy.entry.js +2 -2
- package/dist/esm/digi-icon-danger-outline.entry.js +2 -2
- package/dist/esm/digi-icon-download.entry.js +2 -2
- package/dist/esm/digi-icon-dxa.entry.js +2 -2
- package/dist/esm/digi-icon-edit.entry.js +2 -2
- package/dist/esm/digi-icon-ellipsis.entry.js +2 -2
- package/dist/esm/digi-icon-envelope-filled.entry.js +2 -2
- package/dist/esm/digi-icon-envelope.entry.js +2 -2
- package/dist/esm/digi-icon-exclamation-circle-filled.entry.js +2 -2
- package/dist/esm/digi-icon-exclamation-triangle-filled.entry.js +2 -2
- package/dist/esm/digi-icon-exclamation-triangle-warning.entry.js +2 -2
- package/dist/esm/digi-icon-exclamation-triangle.entry.js +2 -2
- package/dist/esm/digi-icon-expand-alt.entry.js +2 -2
- package/dist/esm/digi-icon-external-link-alt_2.entry.js +3 -3
- package/dist/esm/digi-icon-eye-slash.entry.js +2 -2
- package/dist/esm/digi-icon-eye.entry.js +2 -2
- package/dist/esm/digi-icon-facebook-square.entry.js +2 -2
- package/dist/esm/digi-icon-file-add.entry.js +1 -1
- package/dist/esm/digi-icon-file-document.entry.js +2 -2
- package/dist/esm/digi-icon-file-excel.entry.js +2 -2
- package/dist/esm/digi-icon-file-export.entry.js +1 -1
- package/dist/esm/digi-icon-file-governing.entry.js +2 -2
- package/dist/esm/digi-icon-file-pdf.entry.js +2 -2
- package/dist/esm/digi-icon-file-powerpoint.entry.js +2 -2
- package/dist/esm/digi-icon-file-remove.entry.js +1 -1
- package/dist/esm/digi-icon-file-word.entry.js +2 -2
- package/dist/esm/digi-icon-film.entry.js +2 -2
- package/dist/esm/digi-icon-filter.entry.js +2 -2
- package/dist/esm/digi-icon-folder-add.entry.js +1 -1
- package/dist/esm/digi-icon-folder-directory.entry.js +1 -1
- package/dist/esm/digi-icon-folder-open.entry.js +1 -1
- package/dist/esm/digi-icon-folder.entry.js +1 -1
- package/dist/esm/digi-icon-globe-filled.entry.js +2 -2
- package/dist/esm/digi-icon-globe.entry.js +2 -2
- package/dist/esm/digi-icon-headphones.entry.js +2 -2
- package/dist/esm/digi-icon-heart-solid.entry.js +2 -2
- package/dist/esm/digi-icon-heart.entry.js +2 -2
- package/dist/esm/digi-icon-history.entry.js +2 -2
- package/dist/esm/digi-icon-home.entry.js +2 -2
- package/dist/esm/digi-icon-image.entry.js +2 -2
- package/dist/esm/digi-icon-info-circle-solid.entry.js +2 -2
- package/dist/esm/digi-icon-instagram.entry.js +2 -2
- package/dist/esm/digi-icon-job-suggestion.entry.js +2 -2
- package/dist/esm/digi-icon-language-outline.entry.js +2 -2
- package/dist/esm/digi-icon-language.entry.js +2 -2
- package/dist/esm/digi-icon-laptop-phone.entry.js +2 -2
- package/dist/esm/digi-icon-lattlast.entry.js +2 -2
- package/dist/esm/digi-icon-licence-bus.entry.js +2 -2
- package/dist/esm/digi-icon-licence-car.entry.js +2 -2
- package/dist/esm/digi-icon-licence-motorcycle.entry.js +2 -2
- package/dist/esm/digi-icon-licence-truck.entry.js +2 -2
- package/dist/esm/digi-icon-lightbulb.entry.js +2 -2
- package/dist/esm/digi-icon-linkedin-in.entry.js +2 -2
- package/dist/esm/digi-icon-list-ul_6.entry.js +12 -12
- package/dist/esm/digi-icon-lock.entry.js +2 -2
- package/dist/esm/digi-icon-marker-filled.entry.js +2 -2
- package/dist/esm/digi-icon-marker.entry.js +2 -2
- package/dist/esm/digi-icon-media-course.entry.js +2 -2
- package/dist/esm/digi-icon-media-podcast.entry.js +2 -2
- package/dist/esm/digi-icon-microphone-off.entry.js +2 -2
- package/dist/esm/digi-icon-microphone.entry.js +2 -2
- package/dist/esm/digi-icon-minus_2.entry.js +48 -0
- package/dist/esm/digi-icon-move.entry.js +2 -2
- package/dist/esm/digi-icon-notification-error_4.entry.js +8 -8
- package/dist/esm/digi-icon-online-interview.entry.js +2 -2
- package/dist/esm/digi-icon-online-meeting.entry.js +2 -2
- package/dist/esm/digi-icon-online-task.entry.js +2 -2
- package/dist/esm/digi-icon-open-source.entry.js +2 -2
- package/dist/esm/digi-icon-palette.entry.js +2 -2
- package/dist/esm/digi-icon-paste.entry.js +1 -1
- package/dist/esm/digi-icon-pen.entry.js +2 -2
- package/dist/esm/digi-icon-phone-hangup.entry.js +2 -2
- package/dist/esm/digi-icon-phone.entry.js +2 -2
- package/dist/esm/digi-icon-print.entry.js +2 -2
- package/dist/esm/digi-icon-read.entry.js +2 -2
- package/dist/esm/digi-icon-redo.entry.js +2 -2
- package/dist/esm/digi-icon-scale.entry.js +1 -1
- package/dist/esm/digi-icon-screensharing-off.entry.js +2 -2
- package/dist/esm/digi-icon-screensharing.entry.js +2 -2
- package/dist/esm/digi-icon-search.entry.js +2 -2
- package/dist/esm/digi-icon-send-outline.entry.js +2 -2
- package/dist/esm/digi-icon-send-solid.entry.js +2 -2
- package/dist/esm/digi-icon-settings.entry.js +2 -2
- package/dist/esm/digi-icon-share-alt.entry.js +2 -2
- package/dist/esm/digi-icon-share-chain.entry.js +2 -2
- package/dist/esm/digi-icon-sign.entry.js +2 -2
- package/dist/esm/digi-icon-sliders-h.entry.js +2 -2
- package/dist/esm/digi-icon-sokkandidat.entry.js +2 -2
- package/dist/esm/digi-icon-sort-down.entry.js +2 -2
- package/dist/esm/digi-icon-sort-up.entry.js +2 -2
- package/dist/esm/digi-icon-sort.entry.js +2 -2
- package/dist/esm/digi-icon-spinner.entry.js +2 -2
- package/dist/esm/digi-icon-star-reg.entry.js +2 -2
- package/dist/esm/digi-icon-star.entry.js +2 -2
- package/dist/esm/digi-icon-suitcase-outline.entry.js +2 -2
- package/dist/esm/digi-icon-suitcase-solid.entry.js +2 -2
- package/dist/esm/digi-icon-system-assistance.entry.js +2 -2
- package/dist/esm/digi-icon-table-column.entry.js +2 -2
- package/dist/esm/digi-icon-table-row.entry.js +2 -2
- package/dist/esm/digi-icon-task-done.entry.js +2 -2
- package/dist/esm/digi-icon-toggle-off.entry.js +2 -2
- package/dist/esm/digi-icon-toggle-on.entry.js +2 -2
- package/dist/esm/digi-icon-twitter.entry.js +2 -2
- package/dist/esm/digi-icon-tyck-till.entry.js +2 -2
- package/dist/esm/digi-icon-unlock.entry.js +2 -2
- package/dist/esm/digi-icon-update.entry.js +2 -2
- package/dist/esm/digi-icon-upload.entry.js +2 -2
- package/dist/esm/digi-icon-user-add.entry.js +1 -1
- package/dist/esm/digi-icon-user-alt.entry.js +2 -2
- package/dist/esm/digi-icon-user-edit.entry.js +1 -1
- package/dist/esm/digi-icon-users-solid.entry.js +2 -2
- package/dist/esm/digi-icon-videocamera-off.entry.js +2 -2
- package/dist/esm/digi-icon-videocamera.entry.js +2 -2
- package/dist/esm/digi-icon-volume.entry.js +2 -2
- package/dist/esm/digi-icon-web-tv.entry.js +2 -2
- package/dist/esm/digi-icon-wifi-signal0.entry.js +2 -2
- package/dist/esm/digi-icon-wifi-signal1.entry.js +2 -2
- package/dist/esm/digi-icon-wifi-signal2.entry.js +2 -2
- package/dist/esm/digi-icon-wifi-signal3.entry.js +2 -2
- package/dist/esm/digi-icon-window.entry.js +2 -2
- package/dist/esm/digi-icon-x-button.entry.js +2 -2
- package/dist/esm/digi-icon-x.entry.js +26 -0
- package/dist/esm/digi-icon-youtube.entry.js +2 -2
- package/dist/esm/digi-info-card-multi-container.entry.js +1 -1
- package/dist/esm/digi-info-card-multi.entry.js +1 -1
- package/dist/esm/digi-info-card.entry.js +1 -1
- package/dist/esm/digi-layout-block_2.entry.js +87 -0
- package/dist/esm/digi-layout-columns.entry.js +1 -1
- package/dist/esm/digi-link-button.entry.js +1 -1
- package/dist/esm/digi-link-internal.entry.js +1 -1
- package/dist/esm/digi-link.entry.js +1 -1
- package/dist/esm/digi-list.entry.js +1 -1
- package/dist/esm/digi-loader-skeleton.entry.js +3 -3
- package/dist/esm/digi-loader-spinner.entry.js +1 -1
- package/dist/esm/digi-media-figure.entry.js +1 -1
- package/dist/esm/digi-media-image_2.entry.js +162 -0
- package/dist/esm/digi-navigation-breadcrumbs.entry.js +3 -3
- package/dist/esm/digi-navigation-pagination.entry.js +15 -9
- package/dist/esm/digi-navigation-sidebar-button.entry.js +26 -0
- package/dist/esm/digi-navigation-sidebar.entry.js +2 -2
- package/dist/esm/digi-navigation-vertical-menu-item.entry.js +146 -0
- package/dist/esm/digi-navigation-vertical-menu.entry.js +173 -0
- package/dist/esm/digi-notification-alert.entry.js +11 -5
- package/dist/esm/digi-notification-error-page.entry.js +12 -6
- package/dist/esm/digi-progress-circle.entry.js +9 -9
- package/dist/esm/digi-progress-indicator.entry.js +4 -4
- package/dist/esm/digi-progress-list-item.entry.js +6 -6
- package/dist/esm/digi-progress-list.entry.js +1 -1
- package/dist/esm/digi-progressbar.entry.js +3 -3
- 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 +2 -2
- package/dist/esm/digi-title-logo.entry.js +131 -0
- 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 +10 -4
- package/dist/esm/digi-tools-theme-provider.entry.js +1 -1
- 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 +2 -2
- package/dist/esm/digi-typography.entry.js +22 -0
- package/dist/esm/digi-util-breakpoint-observer.entry.js +44 -0
- 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 +79 -0
- 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/{form-input-search-variation.enum-6d8dc10a.js → form-input-search-variation.enum-f9d669f2.js} +1 -8
- package/dist/esm/form-radiogroup-validation.enum-d790fc66.js +9 -0
- package/dist/esm/index-148a7577.js +82 -14
- package/dist/esm/index.js +9 -3
- package/dist/esm/layout-container-max-width.enum-c40018ac.js +21 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/navigation-vertical-menu-variation.enum-c30b0ea9.js +13 -0
- package/dist/esm/{text-26e02c8d.js → text-8f88c0f6.js} +19 -0
- package/dist/esm/{typography-variation.enum-531cdf64.js → typography-variation.enum-8c3ff25c.js} +9 -39
- package/dist/types/components/_calendar/calendar/calendar.d.ts +18 -21
- package/dist/types/components/_calendar/calendar-datepicker/calendar-datepicker.d.ts +77 -37
- package/dist/types/components/_calendar/calendar-datepicker/calendar-datepicker.types.d.ts +4 -0
- package/dist/types/components/_chart/bar-chart/bar-chart.d.ts +0 -9
- package/dist/types/components/_form/form-category-filter/form-category-filter.d.ts +10 -10
- package/dist/types/components/_form/form-checkbox/form-checkbox.d.ts +8 -1
- package/dist/types/components/_form/form-error-list/form-error-list.d.ts +4 -10
- package/dist/types/components/_form/form-error-list/form-error-list.types.d.ts +3 -0
- package/dist/types/components/_form/form-fieldset/form-fieldset-validation.enum.d.ts +6 -0
- package/dist/types/components/_form/form-fieldset/form-fieldset.d.ts +23 -4
- package/dist/types/components/_form/form-file-upload/form-file-upload.d.ts +14 -0
- package/dist/types/components/_form/form-input/form-input.d.ts +14 -0
- package/dist/types/components/_form/form-input-search/form-input-search.d.ts +6 -0
- package/dist/types/components/_form/form-radiobutton/form-radiobutton.d.ts +6 -0
- package/dist/types/components/_form/form-radiogroup/form-radiogroup-validation.enum.d.ts +6 -0
- package/dist/types/components/_form/form-radiogroup/form-radiogroup.d.ts +31 -0
- package/dist/types/components/_form/form-select/form-select.d.ts +16 -8
- package/dist/types/components/_form/form-select-filter/form-select-filter.d.ts +18 -4
- package/dist/types/components/_form/form-textarea/form-textarea.d.ts +14 -0
- package/dist/types/components/_progress/progress-circle/progress-circle.d.ts +1 -0
- package/dist/types/components/_progress/progress-indicator/progress-indicator.d.ts +1 -0
- package/dist/types/components/_typography/typography-heading-jumbo/typography-heading-jumbo.d.ts +1 -0
- package/dist/types/components.d.ts +357 -165
- package/dist/types/enums.d.ts +2 -0
- package/dist/types/text/locale/sv/text.d.ts +6 -0
- package/hydrate/index.js +1071 -840
- package/hydrate/index.mjs +1071 -840
- package/package.json +1 -1
- package/dist/cjs/digi-bar-chart_27.cjs.entry.js +0 -3104
- package/dist/cjs/digi-form-label_5.cjs.entry.js +0 -175
- package/dist/cjs/digi-form-select_2.cjs.entry.js +0 -176
- 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-util-mutation-observer.cjs.entry.js +0 -64
- package/dist/digi-arbetsformedlingen/p-08cf2c0e.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1241d74a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-16b8d192.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-18ffcb24.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1e2a9156.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2196c33b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-222a2b41.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-33425742.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-36229058.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-37377041.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3ae60edc.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-431baa4e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4477f14c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4841b4e1.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4df8b9e1.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-51149879.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-53d9556b.js +0 -1
- package/dist/digi-arbetsformedlingen/p-56ca6c5c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-58f76475.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5a08f170.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-69010d14.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-86eddf30.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8ef4cf4a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9e4a0fe4.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9f03b573.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a7d97546.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b63e0b2d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b924bb0b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-bb1daa3b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c4cf1215.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c8257c8c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d4d2b1a5.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e3bdf65a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f70535e3.entry.js +0 -1
- package/dist/esm/digi-bar-chart_27.entry.js +0 -3074
- package/dist/esm/digi-form-label_5.entry.js +0 -167
- package/dist/esm/digi-form-select_2.entry.js +0 -171
- 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-util-mutation-observer.entry.js +0 -60
|
@@ -0,0 +1,1506 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-148a7577.js';
|
|
2
|
+
import { o as ordinal, i as initRange, r as range, s as select, a as axisLeft, l as linear, b as axisBottom, p as polyInOut, c as interpolate, m as max, d as min, e as linear$1 } from './linear-0246aaea.js';
|
|
3
|
+
import { _ as _t } from './text-8f88c0f6.js';
|
|
4
|
+
import { r as randomIdGenerator } from './randomIdGenerator.util-56406f2e.js';
|
|
5
|
+
import { B as BarChartVariation } from './bar-chart-variation.enum-97c0b47f.js';
|
|
6
|
+
|
|
7
|
+
function band() {
|
|
8
|
+
var scale = ordinal().unknown(undefined),
|
|
9
|
+
domain = scale.domain,
|
|
10
|
+
ordinalRange = scale.range,
|
|
11
|
+
r0 = 0,
|
|
12
|
+
r1 = 1,
|
|
13
|
+
step,
|
|
14
|
+
bandwidth,
|
|
15
|
+
round = false,
|
|
16
|
+
paddingInner = 0,
|
|
17
|
+
paddingOuter = 0,
|
|
18
|
+
align = 0.5;
|
|
19
|
+
|
|
20
|
+
delete scale.unknown;
|
|
21
|
+
|
|
22
|
+
function rescale() {
|
|
23
|
+
var n = domain().length,
|
|
24
|
+
reverse = r1 < r0,
|
|
25
|
+
start = reverse ? r1 : r0,
|
|
26
|
+
stop = reverse ? r0 : r1;
|
|
27
|
+
step = (stop - start) / Math.max(1, n - paddingInner + paddingOuter * 2);
|
|
28
|
+
if (round) step = Math.floor(step);
|
|
29
|
+
start += (stop - start - step * (n - paddingInner)) * align;
|
|
30
|
+
bandwidth = step * (1 - paddingInner);
|
|
31
|
+
if (round) start = Math.round(start), bandwidth = Math.round(bandwidth);
|
|
32
|
+
var values = range(n).map(function(i) { return start + step * i; });
|
|
33
|
+
return ordinalRange(reverse ? values.reverse() : values);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
scale.domain = function(_) {
|
|
37
|
+
return arguments.length ? (domain(_), rescale()) : domain();
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
scale.range = function(_) {
|
|
41
|
+
return arguments.length ? ([r0, r1] = _, r0 = +r0, r1 = +r1, rescale()) : [r0, r1];
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
scale.rangeRound = function(_) {
|
|
45
|
+
return [r0, r1] = _, r0 = +r0, r1 = +r1, round = true, rescale();
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
scale.bandwidth = function() {
|
|
49
|
+
return bandwidth;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
scale.step = function() {
|
|
53
|
+
return step;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
scale.round = function(_) {
|
|
57
|
+
return arguments.length ? (round = !!_, rescale()) : round;
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
scale.padding = function(_) {
|
|
61
|
+
return arguments.length ? (paddingInner = Math.min(1, paddingOuter = +_), rescale()) : paddingInner;
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
scale.paddingInner = function(_) {
|
|
65
|
+
return arguments.length ? (paddingInner = Math.min(1, _), rescale()) : paddingInner;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
scale.paddingOuter = function(_) {
|
|
69
|
+
return arguments.length ? (paddingOuter = +_, rescale()) : paddingOuter;
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
scale.align = function(_) {
|
|
73
|
+
return arguments.length ? (align = Math.max(0, Math.min(1, _)), rescale()) : align;
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
scale.copy = function() {
|
|
77
|
+
return band(domain(), [r0, r1])
|
|
78
|
+
.round(round)
|
|
79
|
+
.paddingInner(paddingInner)
|
|
80
|
+
.paddingOuter(paddingOuter)
|
|
81
|
+
.align(align);
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
return initRange.apply(rescale(), arguments);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
const barChartCss = ".sc-digi-bar-chart-h .digi-bar-chart.sc-digi-bar-chart{font-family:var(--digi--global--typography--font-family--default)}.sc-digi-bar-chart-h .topWrapper.sc-digi-bar-chart,.sc-digi-bar-chart-h .chartTitle.sc-digi-bar-chart .digi-typography.sc-digi-bar-chart{display:flex;flex-direction:column;gap:0.75rem}.sc-digi-bar-chart-h .topWrapper.sc-digi-bar-chart{margin-bottom:0.75rem}.sc-digi-bar-chart-h .chartTitle.sc-digi-bar-chart{--MARGIN--HEADING-2:0;--MARGIN--HEADING-3:0;--MARGIN--HEADING-4:0;--MARGIN--HEADING-5:0;--MARGIN--HEADING-6:0}.sc-digi-bar-chart-h .buttonWrapper.sc-digi-bar-chart{--digi--button--padding--medium:4px 4px 0.8125rem 0}.sc-digi-bar-chart-h .chartTooltip.sc-digi-bar-chart{box-sizing:border-box;position:absolute;background-color:rgba(250, 250, 250, 0.98);color:black;padding:5px 10px;padding-right:5px;border-radius:4px;display:flex;flex-direction:row;align-items:flex-start;box-shadow:rgba(60, 64, 67, 0.4) 0px 1px 2px 0px, rgba(60, 64, 67, 0.2) 0px 2px 6px 2px;font-size:0.875rem;display:none}.sc-digi-bar-chart-h .close.sc-digi-bar-chart{--digi--icon--color:black;cursor:pointer;margin-top:-5px}.sc-digi-bar-chart-h .legend.sc-digi-bar-chart::-webkit-scrollbar,.sc-digi-bar-chart-h .table.sc-digi-bar-chart::-webkit-scrollbar{height:10px;width:10px}.sc-digi-bar-chart-h .legend.sc-digi-bar-chart::-webkit-scrollbar-track,.sc-digi-bar-chart-h .table.sc-digi-bar-chart::-webkit-scrollbar-track{background:whitesmoke;border-radius:4px}.sc-digi-bar-chart-h .legend.sc-digi-bar-chart::-webkit-scrollbar-thumb,.sc-digi-bar-chart-h .table.sc-digi-bar-chart::-webkit-scrollbar-thumb{background-color:lightgray;border-radius:4px;border:0}.sc-digi-bar-chart-h .scChartStatus.sc-digi-bar-chart{border:0;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sc-digi-bar-chart-h .table.sc-digi-bar-chart{display:none;overflow-y:scroll;height:fit-content;border-radius:4px;padding:0.25rem;background:linear-gradient(white 30%, rgba(255, 255, 255, 0)) center top, linear-gradient(rgba(255, 255, 255, 0), white 70%) center bottom, radial-gradient(farthest-side at 50% 0, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)) center top, radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)) center bottom;background-repeat:no-repeat;background-size:100% 40px, 100% 40px, 100% 14px, 100% 14px;background-attachment:local, local, scroll, scroll}";
|
|
88
|
+
const DigiBarChartStyle0 = barChartCss;
|
|
89
|
+
|
|
90
|
+
const barChart = class {
|
|
91
|
+
constructor(hostRef) {
|
|
92
|
+
registerInstance(this, hostRef);
|
|
93
|
+
// States
|
|
94
|
+
this._loading = false;
|
|
95
|
+
this._placeholderTicks = ['0', '1', '2', '3', '4', '5', '6', '7'];
|
|
96
|
+
this._dims = {};
|
|
97
|
+
this._margin = {
|
|
98
|
+
bottom: 0,
|
|
99
|
+
top: 6,
|
|
100
|
+
left: 5,
|
|
101
|
+
right: 15,
|
|
102
|
+
ellipsis: false
|
|
103
|
+
};
|
|
104
|
+
this.tickPadding = 8;
|
|
105
|
+
this.yTickSize = 0;
|
|
106
|
+
this.xTickSize = 5;
|
|
107
|
+
// Width of the largets X-tick-value
|
|
108
|
+
this._tickWidth = 1;
|
|
109
|
+
// Transition
|
|
110
|
+
this.defaultDuration = 400;
|
|
111
|
+
// Text and formats
|
|
112
|
+
this.fontSize = '0.875rem';
|
|
113
|
+
// Observer for watching size changes when in line chart mode
|
|
114
|
+
this.barChartObserver = new ResizeObserver((entries) => {
|
|
115
|
+
entries.forEach(() => {
|
|
116
|
+
if (this._loading)
|
|
117
|
+
return this.loadingResize();
|
|
118
|
+
this.resize();
|
|
119
|
+
});
|
|
120
|
+
});
|
|
121
|
+
// Observer for watching size changes when in table mode
|
|
122
|
+
this.tableObserver = new ResizeObserver((entries) => {
|
|
123
|
+
entries.forEach(() => {
|
|
124
|
+
select(this._legendDiv).style('width', this._dims.width + 'px');
|
|
125
|
+
this.resizeTable();
|
|
126
|
+
});
|
|
127
|
+
});
|
|
128
|
+
// Resizing chart while loading
|
|
129
|
+
this.loadingResize = () => {
|
|
130
|
+
const newHeight = this.setDims();
|
|
131
|
+
this.setMargins(true);
|
|
132
|
+
this._svg.attr('width', this._dims.width).attr('height', this._dims.height);
|
|
133
|
+
this._barChartContainer.attr('transform', `translate(${this._margin.left + this.tickPadding + this.yTickSize},0)`);
|
|
134
|
+
this._margin.right =
|
|
135
|
+
this.getTextSize(this._xScale.domain()[1].toLocaleString()) / 2 +
|
|
136
|
+
this.yTickSize +
|
|
137
|
+
this.tickPadding;
|
|
138
|
+
// If there is a new height
|
|
139
|
+
if (newHeight) {
|
|
140
|
+
// Update y-axis with potentially new height (might want to do a check here)
|
|
141
|
+
this.afVariation === BarChartVariation.Horizontal
|
|
142
|
+
? this._yScale.range([
|
|
143
|
+
this._margin.top,
|
|
144
|
+
this._dims.height - this._margin.bottom
|
|
145
|
+
])
|
|
146
|
+
: this._yScale.range([
|
|
147
|
+
this._dims.height - this._margin.bottom,
|
|
148
|
+
this._margin.top
|
|
149
|
+
]);
|
|
150
|
+
this._xAxisHandle.attr('transform', `translate(0,${this._dims.height - this._margin.bottom})`);
|
|
151
|
+
}
|
|
152
|
+
// Update x-axis with new width
|
|
153
|
+
this._xScale.range([
|
|
154
|
+
0,
|
|
155
|
+
this._dims.width - this._margin.right - this._margin.left
|
|
156
|
+
]);
|
|
157
|
+
this._barSelection
|
|
158
|
+
.attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
159
|
+
? 2
|
|
160
|
+
: this._xScale(d.key))
|
|
161
|
+
.attr('width', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
162
|
+
? this._xScale(d.value)
|
|
163
|
+
: this._xScale.bandwidth());
|
|
164
|
+
this.setValueTicks();
|
|
165
|
+
};
|
|
166
|
+
// Adding click listener for tool tip text
|
|
167
|
+
this.setTickInteraction = () => {
|
|
168
|
+
if (this.afVariation === BarChartVariation.Horizontal) {
|
|
169
|
+
this._yAxisHandle
|
|
170
|
+
.selectAll('text')
|
|
171
|
+
.style('cursor', 'pointer')
|
|
172
|
+
.on('click', this.openTooltip)
|
|
173
|
+
.on('mouseenter', this.hover)
|
|
174
|
+
.on('mouseleave', this.hoverOut);
|
|
175
|
+
}
|
|
176
|
+
else {
|
|
177
|
+
this._xAxisHandle
|
|
178
|
+
.selectAll('text')
|
|
179
|
+
.style('cursor', 'pointer')
|
|
180
|
+
.on('click', this.openTooltip)
|
|
181
|
+
.on('mouseenter', this.hover)
|
|
182
|
+
.on('mouseleave', this.hoverOut);
|
|
183
|
+
}
|
|
184
|
+
};
|
|
185
|
+
// Setting Y-scale
|
|
186
|
+
this.setYScale = (empty) => {
|
|
187
|
+
var _a, _b, _c;
|
|
188
|
+
if (this.afVariation == BarChartVariation.Horizontal) {
|
|
189
|
+
this._yScale = band(empty
|
|
190
|
+
? ['0', '1', '2', '3', '4', '5', '6', '7']
|
|
191
|
+
: this._chartData.data.xValueNames, [this._margin.top, this._dims.height - this._margin.bottom])
|
|
192
|
+
.paddingOuter(0.1)
|
|
193
|
+
.paddingInner(0.1);
|
|
194
|
+
this._yAxis = axisLeft(this._yScale);
|
|
195
|
+
}
|
|
196
|
+
else {
|
|
197
|
+
this._yScale = linear()
|
|
198
|
+
.domain(empty ? [0, 10] : [this._minVal, this._maxVal])
|
|
199
|
+
.nice(((_b = (_a = this._chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.numberOfReferenceLines)
|
|
200
|
+
? (_c = this._chartData) === null || _c === void 0 ? void 0 : _c.meta.numberOfReferenceLines
|
|
201
|
+
: 3);
|
|
202
|
+
this._yScale.range([
|
|
203
|
+
this._dims.height - this._margin.bottom,
|
|
204
|
+
this._margin.top
|
|
205
|
+
]);
|
|
206
|
+
this._yAxis = axisLeft(this._yScale);
|
|
207
|
+
}
|
|
208
|
+
};
|
|
209
|
+
// Setting X-Scale
|
|
210
|
+
this.setXScale = (empty) => {
|
|
211
|
+
// Horizontal
|
|
212
|
+
if (this.afVariation == BarChartVariation.Horizontal) {
|
|
213
|
+
this._xScale = linear()
|
|
214
|
+
.domain(empty ? [0, 10] : [this._minVal, this._maxVal])
|
|
215
|
+
.nice(3);
|
|
216
|
+
this._margin.right =
|
|
217
|
+
this.getTextSize(this._xScale.domain()[1].toLocaleString()) / 2 +
|
|
218
|
+
this.yTickSize +
|
|
219
|
+
this.tickPadding;
|
|
220
|
+
this._xScale.range([
|
|
221
|
+
0,
|
|
222
|
+
this._dims.width - this._margin.right - this._margin.left
|
|
223
|
+
]);
|
|
224
|
+
// Initializing actual axis
|
|
225
|
+
this._xAxis = axisBottom(this._xScale);
|
|
226
|
+
this._tickWidth = this.getLargestText(this._xScale.ticks().map((tick) => tick.toLocaleString()));
|
|
227
|
+
}
|
|
228
|
+
else {
|
|
229
|
+
// Vertical
|
|
230
|
+
this._xScale = band()
|
|
231
|
+
.domain(empty ? this._placeholderTicks : this._chartData.data.xValueNames)
|
|
232
|
+
.range([0, this._dims.width - this._margin.right - this._margin.left])
|
|
233
|
+
.paddingOuter(0.1)
|
|
234
|
+
.paddingInner(0.1);
|
|
235
|
+
this._xAxis = axisBottom(this._xScale);
|
|
236
|
+
}
|
|
237
|
+
};
|
|
238
|
+
// Stores all tick text sizes in an indexable array
|
|
239
|
+
this.tickSizes = () => {
|
|
240
|
+
// Initializing tick size array
|
|
241
|
+
this._namedTickSizes = [];
|
|
242
|
+
this._ellipsisSize = this.getTextSize('...');
|
|
243
|
+
if (this._chartData && this._chartData.data) {
|
|
244
|
+
for (let i = 0; i < this._chartData.data.xValueNames.length; i++) {
|
|
245
|
+
this._namedTickSizes.push(Math.ceil(this.getTextSize(this._chartData.data.xValueNames[i])));
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
};
|
|
249
|
+
this.updateBars = (fromLoading) => {
|
|
250
|
+
this._barChartContainer
|
|
251
|
+
.selectAll('.barGroup')
|
|
252
|
+
.data(this.reshapeData)
|
|
253
|
+
.join((enter) => {
|
|
254
|
+
var _a, _b;
|
|
255
|
+
const tempSelection = enter
|
|
256
|
+
.append('g')
|
|
257
|
+
.attr('class', 'barGroup')
|
|
258
|
+
.attr('id', (d) => 'barGroup' + d.key.replace(/[^A-Z0-9]+/gi, '_'));
|
|
259
|
+
tempSelection
|
|
260
|
+
.append('rect')
|
|
261
|
+
.attr('class', 'bar')
|
|
262
|
+
.style('cursor', 'pointer')
|
|
263
|
+
.attr('ry', 4)
|
|
264
|
+
.attr('rx', 4)
|
|
265
|
+
.attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
266
|
+
? this._yScale(d.key)
|
|
267
|
+
: this._dims.height - this._margin.bottom)
|
|
268
|
+
.attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
269
|
+
? 2
|
|
270
|
+
: this._xScale(d.key))
|
|
271
|
+
.attr('width', () => this.afVariation === BarChartVariation.Horizontal
|
|
272
|
+
? 0
|
|
273
|
+
: this._xScale.bandwidth())
|
|
274
|
+
.attr('height', () => this.afVariation === BarChartVariation.Horizontal
|
|
275
|
+
? this._yScale.bandwidth()
|
|
276
|
+
: 0)
|
|
277
|
+
.on('mouseenter', this.hover)
|
|
278
|
+
.on('mouseleave', this.hoverOut)
|
|
279
|
+
.on('click', this.openTooltip)
|
|
280
|
+
.transition()
|
|
281
|
+
.duration(this.defaultDuration)
|
|
282
|
+
.ease(polyInOut)
|
|
283
|
+
.attr('width', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
284
|
+
? this._xScale(d.value)
|
|
285
|
+
: this._xScale.bandwidth())
|
|
286
|
+
.attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
287
|
+
? this._yScale(d.key)
|
|
288
|
+
: this._yScale(d.value))
|
|
289
|
+
.attr('height', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
290
|
+
? this._yScale.bandwidth()
|
|
291
|
+
: this._dims.height -
|
|
292
|
+
this._margin.bottom -
|
|
293
|
+
this._yScale(d.value))
|
|
294
|
+
.attr('fill', '#00005a');
|
|
295
|
+
if (!((_b = (_a = this._chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels))
|
|
296
|
+
return tempSelection;
|
|
297
|
+
tempSelection
|
|
298
|
+
.append('text')
|
|
299
|
+
.text((d) => d.value.toLocaleString())
|
|
300
|
+
.attr('class', 'barText')
|
|
301
|
+
.attr('font-size', this.fontSize)
|
|
302
|
+
.attr('font-weight', '600')
|
|
303
|
+
.attr('text-anchor', 'end')
|
|
304
|
+
.style('pointer-events', 'none')
|
|
305
|
+
.attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
306
|
+
? this._yScale(d.key) + this._yScale.bandwidth() / 2
|
|
307
|
+
: this._dims.height - this._margin.bottom)
|
|
308
|
+
.attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
309
|
+
? 2
|
|
310
|
+
: this._xScale(d.key) + this._xScale.bandwidth() / 2)
|
|
311
|
+
.transition()
|
|
312
|
+
.duration(this.defaultDuration)
|
|
313
|
+
.ease(polyInOut)
|
|
314
|
+
.attr('font-size', this.fontSize)
|
|
315
|
+
.attr('font-weight', '600')
|
|
316
|
+
.attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
317
|
+
? this._xScale(d.value)
|
|
318
|
+
: this._xScale(d.key) + this._xScale.bandwidth() / 2)
|
|
319
|
+
.attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
320
|
+
? this._yScale(d.key) + this._yScale.bandwidth() / 2
|
|
321
|
+
: this._yScale(d.value))
|
|
322
|
+
.attr('text-anchor', (d) => {
|
|
323
|
+
if (this.afVariation === BarChartVariation.Vertical)
|
|
324
|
+
return 'middle';
|
|
325
|
+
return this._xScale(d.value) < d.len + this.tickPadding * 2
|
|
326
|
+
? 'start'
|
|
327
|
+
: 'end';
|
|
328
|
+
})
|
|
329
|
+
.attr('dx', (d) => {
|
|
330
|
+
if (this.afVariation === BarChartVariation.Horizontal)
|
|
331
|
+
return this._xScale(d.value) < d.len + this.tickPadding * 2
|
|
332
|
+
? this.tickPadding
|
|
333
|
+
: -this.tickPadding;
|
|
334
|
+
return 0;
|
|
335
|
+
})
|
|
336
|
+
.attr('fill', (d) => {
|
|
337
|
+
if (this.afVariation === BarChartVariation.Vertical)
|
|
338
|
+
return 'black';
|
|
339
|
+
return this._xScale(d.value) < d.len + this.tickPadding * 2
|
|
340
|
+
? 'black'
|
|
341
|
+
: 'white';
|
|
342
|
+
})
|
|
343
|
+
.attr('dy', () => this.afVariation == BarChartVariation.Horizontal
|
|
344
|
+
? '0.35em'
|
|
345
|
+
: '-0.25em')
|
|
346
|
+
.style('pointer-events', 'none')
|
|
347
|
+
.attrTween('text', (d, i, nodelist) => {
|
|
348
|
+
const oldnum = parseFloat(nodelist[i].textContent.replace(/\s/g, ''))
|
|
349
|
+
? parseFloat(nodelist[i].textContent.replace(/\s/g, ''))
|
|
350
|
+
: 0;
|
|
351
|
+
const interpolatedValue = interpolate(oldnum, d.value);
|
|
352
|
+
return (t) => (nodelist[i].textContent = parseInt(interpolatedValue(t)).toLocaleString(undefined, this._numberFormat));
|
|
353
|
+
});
|
|
354
|
+
return tempSelection;
|
|
355
|
+
}, (update) => {
|
|
356
|
+
// Update ids to bars
|
|
357
|
+
update.attr('id', (d) => 'barGroup' + d.key.replace(/[^A-Z0-9]+/gi, '_'));
|
|
358
|
+
// Mouse interaction to updated loading bars
|
|
359
|
+
if (fromLoading) {
|
|
360
|
+
update
|
|
361
|
+
.select('rect')
|
|
362
|
+
.on('mouseenter', this.hover)
|
|
363
|
+
.on('mouseleave', this.hoverOut)
|
|
364
|
+
.on('click', this.openTooltip)
|
|
365
|
+
.attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
366
|
+
? 2
|
|
367
|
+
: this._xScale(d.key))
|
|
368
|
+
.attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
369
|
+
? this._yScale(d.key)
|
|
370
|
+
: this._dims.height - this._margin.bottom)
|
|
371
|
+
.attr('width', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
372
|
+
? this._xScale(d.value)
|
|
373
|
+
: this._xScale.bandwidth())
|
|
374
|
+
.attr('height', () => this.afVariation === BarChartVariation.Horizontal
|
|
375
|
+
? this._yScale.bandwidth()
|
|
376
|
+
: 0)
|
|
377
|
+
.attr('fill', '#00005a')
|
|
378
|
+
.transition()
|
|
379
|
+
.duration(this.defaultDuration)
|
|
380
|
+
.ease(polyInOut)
|
|
381
|
+
.attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
382
|
+
? this._yScale(d.key)
|
|
383
|
+
: this._yScale(d.value))
|
|
384
|
+
.attr('height', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
385
|
+
? this._yScale.bandwidth()
|
|
386
|
+
: this._dims.height -
|
|
387
|
+
this._margin.bottom -
|
|
388
|
+
this._yScale(d.value))
|
|
389
|
+
.on('end', () => this.barChartObserver.observe(this._chartDiv)); // Reset barchartObserver
|
|
390
|
+
}
|
|
391
|
+
else {
|
|
392
|
+
update
|
|
393
|
+
.select('rect')
|
|
394
|
+
.transition()
|
|
395
|
+
.duration(this.defaultDuration)
|
|
396
|
+
.ease(polyInOut)
|
|
397
|
+
.attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
398
|
+
? this._yScale(d.key)
|
|
399
|
+
: this._yScale(d.value))
|
|
400
|
+
.attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
401
|
+
? 2
|
|
402
|
+
: this._xScale(d.key))
|
|
403
|
+
.attr('width', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
404
|
+
? this._xScale(d.value)
|
|
405
|
+
: this._xScale.bandwidth())
|
|
406
|
+
.attr('height', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
407
|
+
? this._yScale.bandwidth()
|
|
408
|
+
: this._dims.height -
|
|
409
|
+
this._margin.bottom -
|
|
410
|
+
this._yScale(d.value))
|
|
411
|
+
.attr('fill', '#00005a');
|
|
412
|
+
}
|
|
413
|
+
return update
|
|
414
|
+
.select('text')
|
|
415
|
+
.style('display', () => { var _a, _b; return ((_b = (_a = this._chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels) ? null : 'none'; })
|
|
416
|
+
.transition()
|
|
417
|
+
.duration(this.defaultDuration)
|
|
418
|
+
.ease(polyInOut)
|
|
419
|
+
.attr('font-size', this.fontSize)
|
|
420
|
+
.attr('font-weight', '600')
|
|
421
|
+
.attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
422
|
+
? this._yScale(d.key) + this._yScale.bandwidth() / 2
|
|
423
|
+
: this._yScale(d.value))
|
|
424
|
+
.attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
425
|
+
? this._xScale(d.value)
|
|
426
|
+
: this._xScale(d.key) + this._xScale.bandwidth() / 2)
|
|
427
|
+
.attr('text-anchor', (d) => {
|
|
428
|
+
if (this.afVariation === BarChartVariation.Vertical)
|
|
429
|
+
return 'middle';
|
|
430
|
+
return this._xScale(d.value) < d.len + this.tickPadding * 2
|
|
431
|
+
? 'start'
|
|
432
|
+
: 'end';
|
|
433
|
+
})
|
|
434
|
+
.attr('dx', (d) => {
|
|
435
|
+
if (this.afVariation === BarChartVariation.Horizontal)
|
|
436
|
+
return this._xScale(d.value) < d.len + this.tickPadding * 2
|
|
437
|
+
? this.tickPadding
|
|
438
|
+
: -this.tickPadding;
|
|
439
|
+
return 0;
|
|
440
|
+
})
|
|
441
|
+
.attr('fill', (d) => {
|
|
442
|
+
if (this.afVariation === BarChartVariation.Vertical)
|
|
443
|
+
return 'black';
|
|
444
|
+
return this._xScale(d.value) < d.len + this.tickPadding * 2
|
|
445
|
+
? 'black'
|
|
446
|
+
: 'white';
|
|
447
|
+
})
|
|
448
|
+
.attr('dy', () => this.afVariation == BarChartVariation.Horizontal
|
|
449
|
+
? '0.35em'
|
|
450
|
+
: '-0.25em')
|
|
451
|
+
.style('pointer-events', 'none')
|
|
452
|
+
.attrTween('text', (d, i, nodelist) => {
|
|
453
|
+
const oldnum = parseFloat(nodelist[i].textContent.replace(/\s/g, ''))
|
|
454
|
+
? parseFloat(nodelist[i].textContent.replace(/\s/g, ''))
|
|
455
|
+
: 0;
|
|
456
|
+
const interpolatedValue = interpolate(oldnum, d.value);
|
|
457
|
+
return (t) => (nodelist[i].textContent = parseInt(interpolatedValue(t)).toLocaleString(undefined, this._numberFormat));
|
|
458
|
+
});
|
|
459
|
+
}, (exit) => exit.remove());
|
|
460
|
+
this._barSelection = this._barChartContainer.selectAll('rect');
|
|
461
|
+
this._textSelection = this._barChartContainer.selectAll('.barText');
|
|
462
|
+
};
|
|
463
|
+
// Setting position of text according to bar size
|
|
464
|
+
this.adjustBarText = () => {
|
|
465
|
+
var _a, _b;
|
|
466
|
+
if (!((_b = (_a = this._chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels))
|
|
467
|
+
return;
|
|
468
|
+
this._textSelection
|
|
469
|
+
.attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
470
|
+
? this._yScale(d.key) + this._yScale.bandwidth() / 2
|
|
471
|
+
: this._yScale(d.value))
|
|
472
|
+
.attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
473
|
+
? this._xScale(d.value)
|
|
474
|
+
: this._xScale(d.key) + this._xScale.bandwidth() / 2)
|
|
475
|
+
.attr('dx', (d) => {
|
|
476
|
+
if (this.afVariation === BarChartVariation.Horizontal)
|
|
477
|
+
return this._xScale(d.value) < d.len + this.tickPadding * 2
|
|
478
|
+
? this.tickPadding
|
|
479
|
+
: -this.tickPadding;
|
|
480
|
+
return 0;
|
|
481
|
+
})
|
|
482
|
+
.attr('fill', (d) => {
|
|
483
|
+
if (this.afVariation === BarChartVariation.Vertical)
|
|
484
|
+
return 'black';
|
|
485
|
+
return this._xScale(d.value) < d.len + this.tickPadding * 2
|
|
486
|
+
? 'black'
|
|
487
|
+
: 'white';
|
|
488
|
+
})
|
|
489
|
+
.attr('text-anchor', (d) => {
|
|
490
|
+
if (this.afVariation === BarChartVariation.Vertical)
|
|
491
|
+
return 'middle';
|
|
492
|
+
return this._xScale(d.value) < d.len + this.tickPadding * 2
|
|
493
|
+
? 'start'
|
|
494
|
+
: 'end';
|
|
495
|
+
});
|
|
496
|
+
};
|
|
497
|
+
this.reshapeData = () => {
|
|
498
|
+
const toReturn = [];
|
|
499
|
+
if (this._loading) {
|
|
500
|
+
this._placeholderTicks.forEach((key) => {
|
|
501
|
+
toReturn.push({
|
|
502
|
+
key: key,
|
|
503
|
+
value: Math.floor(Math.random() * (9 - 2 + 1) + 2),
|
|
504
|
+
len: '1'
|
|
505
|
+
});
|
|
506
|
+
});
|
|
507
|
+
return toReturn;
|
|
508
|
+
}
|
|
509
|
+
this._chartData.data.xValueNames.forEach((key, index) => {
|
|
510
|
+
toReturn.push({
|
|
511
|
+
key: key,
|
|
512
|
+
value: this._chartData.data.series[0].yValues[index],
|
|
513
|
+
len: this.getTextSize(this._chartData.data.series[0].yValues[index].toLocaleString())
|
|
514
|
+
});
|
|
515
|
+
});
|
|
516
|
+
return toReturn;
|
|
517
|
+
};
|
|
518
|
+
this.adjustBarSize = () => {
|
|
519
|
+
this._barSelection
|
|
520
|
+
.attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
521
|
+
? this._yScale(d.key)
|
|
522
|
+
: this._yScale(d.value))
|
|
523
|
+
.attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
524
|
+
? 2
|
|
525
|
+
: this._xScale(d.key))
|
|
526
|
+
.attr('width', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
527
|
+
? this._xScale(d.value)
|
|
528
|
+
: this._xScale.bandwidth())
|
|
529
|
+
.attr('height', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
530
|
+
? this._yScale.bandwidth()
|
|
531
|
+
: this._dims.height - this._margin.bottom - this._yScale(d.value));
|
|
532
|
+
};
|
|
533
|
+
// Resize table
|
|
534
|
+
this.resizeTable = () => {
|
|
535
|
+
this.setDims();
|
|
536
|
+
this.setTableDimensions();
|
|
537
|
+
};
|
|
538
|
+
// Setting dimension variable
|
|
539
|
+
this.setDims = (onlyHeight = false) => {
|
|
540
|
+
// Get title dimensions
|
|
541
|
+
const tempTitle = select(this._titleDiv).node().getBoundingClientRect(), tempLegend = select(this._legendDiv).node().getBoundingClientRect();
|
|
542
|
+
const prevHeight = this._dims.height;
|
|
543
|
+
if (!onlyHeight)
|
|
544
|
+
this._dims = select(this._chartDiv).node().getBoundingClientRect();
|
|
545
|
+
this._dims.height =
|
|
546
|
+
this._maxHeight - tempLegend.height - tempTitle.height - 1.75 * this._rem;
|
|
547
|
+
return prevHeight != this._dims.height;
|
|
548
|
+
};
|
|
549
|
+
// Setting margins given text size
|
|
550
|
+
this.setMargins = (fromLoading) => {
|
|
551
|
+
var _a;
|
|
552
|
+
this._pixelSize =
|
|
553
|
+
Number(window
|
|
554
|
+
.getComputedStyle(document.body)
|
|
555
|
+
.getPropertyValue('font-size')
|
|
556
|
+
.match(/\d+/)[0]) * Number(this.fontSize.replace(/[^\d.]|\.(?=.*\.)/g, ''));
|
|
557
|
+
// Getting the longest word, assuming it will also be the widest in terms of pixels
|
|
558
|
+
if (this.afVariation === BarChartVariation.Horizontal) {
|
|
559
|
+
const left = ((_a = this._chartData) === null || _a === void 0 ? void 0 : _a.data) &&
|
|
560
|
+
this.getLargestText(this._chartData.data.xValueNames)
|
|
561
|
+
? this.getLargestText(this._chartData.data.xValueNames)
|
|
562
|
+
: 0;
|
|
563
|
+
this._margin.left = left;
|
|
564
|
+
}
|
|
565
|
+
else
|
|
566
|
+
this._margin.left = this.getLargestText(fromLoading
|
|
567
|
+
? ['0', '10']
|
|
568
|
+
: [
|
|
569
|
+
this._minVal ? this._tempScale[0].toLocaleString() : '0',
|
|
570
|
+
this._maxVal ? this._tempScale[1].toLocaleString() : '10'
|
|
571
|
+
]);
|
|
572
|
+
if (this._margin.left > this._dims.width / 4) {
|
|
573
|
+
this._margin.left = Math.floor(this._dims.width / 4);
|
|
574
|
+
this._margin.ellipsis = true;
|
|
575
|
+
}
|
|
576
|
+
else
|
|
577
|
+
this._margin.ellipsis = false;
|
|
578
|
+
this._margin.bottom = this._pixelSize + this.tickPadding + this.xTickSize;
|
|
579
|
+
};
|
|
580
|
+
// Adjusting y-ticks
|
|
581
|
+
this.setNamedTicks = (transition = false) => {
|
|
582
|
+
if (this.afVariation == BarChartVariation.Horizontal) {
|
|
583
|
+
if (!transition) {
|
|
584
|
+
this._yAxisHandle
|
|
585
|
+
.style('font-size', this.fontSize)
|
|
586
|
+
.style('font-family', 'Open Sans')
|
|
587
|
+
.call(this._yAxis
|
|
588
|
+
.tickPadding(this.tickPadding)
|
|
589
|
+
.tickSize(this.yTickSize)
|
|
590
|
+
.tickSizeOuter(0)
|
|
591
|
+
.tickFormat((d, i) => {
|
|
592
|
+
if (!this._margin.ellipsis)
|
|
593
|
+
return d.toLocaleString();
|
|
594
|
+
// Adding ellipsis to text
|
|
595
|
+
const size = this._namedTickSizes[i] + this.tickPadding + this.yTickSize;
|
|
596
|
+
const mSize = this._margin.left;
|
|
597
|
+
if (size < mSize)
|
|
598
|
+
return d.toLocaleString();
|
|
599
|
+
const newSize = this.getTextSize(d.slice(0, Math.max(Math.floor((mSize / (size + this._ellipsisSize)) * d.length), 3)) + '...');
|
|
600
|
+
let adjustment = 0;
|
|
601
|
+
if (newSize > mSize) {
|
|
602
|
+
adjustment = Math.ceil((newSize - mSize) / (size / d.length));
|
|
603
|
+
}
|
|
604
|
+
// Slicing the text up, saving atleast 3 characters
|
|
605
|
+
return (d
|
|
606
|
+
.slice(0, Math.max(Math.floor((mSize / (size + this._ellipsisSize)) * d.length) - adjustment, 3))
|
|
607
|
+
.trim() + '...');
|
|
608
|
+
}));
|
|
609
|
+
}
|
|
610
|
+
else {
|
|
611
|
+
this._yAxisHandle
|
|
612
|
+
.style('font-size', this.fontSize)
|
|
613
|
+
.style('font-family', 'Open Sans')
|
|
614
|
+
.transition()
|
|
615
|
+
.duration(this.defaultDuration)
|
|
616
|
+
.call(this._yAxis
|
|
617
|
+
.tickPadding(this.tickPadding)
|
|
618
|
+
.tickSize(this.yTickSize)
|
|
619
|
+
.tickSizeOuter(0)
|
|
620
|
+
.tickFormat((d, i) => {
|
|
621
|
+
if (!this._margin.ellipsis)
|
|
622
|
+
return d;
|
|
623
|
+
// Adding ellipsis to text
|
|
624
|
+
const size = this._namedTickSizes[i] + this.tickPadding + this.yTickSize;
|
|
625
|
+
const mSize = this._margin.left;
|
|
626
|
+
if (size < mSize)
|
|
627
|
+
return d;
|
|
628
|
+
const newSize = this.getTextSize(d
|
|
629
|
+
.slice(0, Math.max(Math.floor((mSize / (size + this._ellipsisSize)) * d.length), 3))
|
|
630
|
+
.trim() + '...');
|
|
631
|
+
let adjustment = 0;
|
|
632
|
+
if (newSize > mSize) {
|
|
633
|
+
adjustment = Math.ceil((newSize - mSize) / (size / d.length));
|
|
634
|
+
}
|
|
635
|
+
// Slicing the text up, saving atleast 3 characters
|
|
636
|
+
return (d
|
|
637
|
+
.slice(0, Math.max(Math.floor((mSize / (size + this._ellipsisSize)) * d.length) - adjustment, 3))
|
|
638
|
+
.trim() + '...');
|
|
639
|
+
}));
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
else {
|
|
643
|
+
//Calculating every n:th text to show
|
|
644
|
+
let nTh = Math.round(this._chartData.data.xValues.length /
|
|
645
|
+
((this._dims.width - this._margin.left - this._margin.right) / 90 - 1));
|
|
646
|
+
if (Math.floor(this._chartData.data.xValues.length / nTh) < 4) {
|
|
647
|
+
nTh = Math.round(this._chartData.data.xValues.length / 4);
|
|
648
|
+
}
|
|
649
|
+
const allowedWidth = (this._dims.width - this._margin.left - this._margin.right) /
|
|
650
|
+
Math.floor(this._chartData.data.xValues.length / nTh + 1);
|
|
651
|
+
if (!transition) {
|
|
652
|
+
this._xAxisHandle
|
|
653
|
+
.style('font-size', this.fontSize)
|
|
654
|
+
.style('font-family', 'Open Sans')
|
|
655
|
+
.call(this._xAxis
|
|
656
|
+
.tickValues(this._xScale.domain().filter((...[, i]) => {
|
|
657
|
+
if (i == 0)
|
|
658
|
+
return true;
|
|
659
|
+
else {
|
|
660
|
+
return i % nTh == 0;
|
|
661
|
+
}
|
|
662
|
+
}))
|
|
663
|
+
.tickPadding(this.tickPadding)
|
|
664
|
+
.tickSize(this.xTickSize)
|
|
665
|
+
.tickSizeOuter(0)
|
|
666
|
+
.tickFormat((d, i) => {
|
|
667
|
+
const index = i * nTh;
|
|
668
|
+
if (this._namedTickSizes[index] < allowedWidth)
|
|
669
|
+
return d;
|
|
670
|
+
return (d.slice(0, Math.max(Math.floor((allowedWidth /
|
|
671
|
+
(this._namedTickSizes[index] +
|
|
672
|
+
this._ellipsisSize +
|
|
673
|
+
5)) *
|
|
674
|
+
d.length), 3)) + '...');
|
|
675
|
+
}));
|
|
676
|
+
}
|
|
677
|
+
else {
|
|
678
|
+
this._xAxisHandle
|
|
679
|
+
.style('font-size', this.fontSize)
|
|
680
|
+
.style('font-family', 'Open Sans')
|
|
681
|
+
.transition()
|
|
682
|
+
.duration(this.defaultDuration)
|
|
683
|
+
.call(this._xAxis
|
|
684
|
+
.tickValues(this._xScale.domain().filter((...[, i]) => {
|
|
685
|
+
if (i == 0)
|
|
686
|
+
return true;
|
|
687
|
+
else {
|
|
688
|
+
return i % nTh == 0;
|
|
689
|
+
}
|
|
690
|
+
}))
|
|
691
|
+
.tickPadding(this.tickPadding)
|
|
692
|
+
.tickSize(this.xTickSize)
|
|
693
|
+
.tickSizeOuter(0)
|
|
694
|
+
.tickFormat((d, i) => {
|
|
695
|
+
const index = i * nTh;
|
|
696
|
+
if (this._namedTickSizes[index] < allowedWidth)
|
|
697
|
+
return d;
|
|
698
|
+
return (d.slice(0, Math.max(Math.floor((allowedWidth /
|
|
699
|
+
(this._namedTickSizes[index] +
|
|
700
|
+
this._ellipsisSize +
|
|
701
|
+
5)) *
|
|
702
|
+
d.length), 3)) + '...');
|
|
703
|
+
}));
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
};
|
|
707
|
+
// Positioning the ticks of the value bearing axis
|
|
708
|
+
this.setValueTicks = (transition = false) => {
|
|
709
|
+
var _a, _b;
|
|
710
|
+
if (((_a = this._chartData) === null || _a === void 0 ? void 0 : _a.meta) && ((_b = this._chartData) === null || _b === void 0 ? void 0 : _b.meta.hideXAxis)) {
|
|
711
|
+
this.afVariation === BarChartVariation.Horizontal
|
|
712
|
+
? this._xAxisHandle.attr('display', 'none')
|
|
713
|
+
: this._yAxisHandle.attr('display', 'none');
|
|
714
|
+
return;
|
|
715
|
+
}
|
|
716
|
+
let toCall, tickSize, handle;
|
|
717
|
+
if (this.afVariation === BarChartVariation.Horizontal) {
|
|
718
|
+
this._xAxisHandle.attr('display', null);
|
|
719
|
+
toCall = this._xAxis;
|
|
720
|
+
tickSize = -(this._dims.height - this._margin.top - this._margin.bottom);
|
|
721
|
+
handle = this._xAxisHandle;
|
|
722
|
+
}
|
|
723
|
+
else {
|
|
724
|
+
this._yAxisHandle.attr('display', null);
|
|
725
|
+
toCall = this._yAxis;
|
|
726
|
+
tickSize = -(this._dims.width - this._margin.left - this._margin.right);
|
|
727
|
+
handle = this._yAxisHandle;
|
|
728
|
+
}
|
|
729
|
+
// Computing the amount of ticks to show
|
|
730
|
+
const ticks = Math.min(Math.floor((this._dims.width - this._margin.left - this._margin.right) /
|
|
731
|
+
(this._tickWidth + this.xTickSize)) - 2, this.afVariation == BarChartVariation.Horizontal
|
|
732
|
+
? this._xScale.ticks().length
|
|
733
|
+
: this._yScale.ticks().length);
|
|
734
|
+
if (!transition) {
|
|
735
|
+
handle
|
|
736
|
+
.style('font-size', this.fontSize)
|
|
737
|
+
.style('font-family', 'Open Sans')
|
|
738
|
+
.call(toCall
|
|
739
|
+
.ticks(this.afVariation === BarChartVariation.Horizontal
|
|
740
|
+
? Math.max(2, Math.min(ticks, 9))
|
|
741
|
+
: 5) // Clamping value between 2 and 10
|
|
742
|
+
.tickPadding(this.tickPadding)
|
|
743
|
+
.tickSize(tickSize)
|
|
744
|
+
.tickSizeOuter(0)
|
|
745
|
+
.tickFormat((d) => d.toLocaleString()));
|
|
746
|
+
}
|
|
747
|
+
else {
|
|
748
|
+
handle
|
|
749
|
+
.style('font-size', this.fontSize)
|
|
750
|
+
.style('font-family', 'Open Sans')
|
|
751
|
+
.transition('newScale')
|
|
752
|
+
.duration(this.defaultDuration)
|
|
753
|
+
.call(toCall
|
|
754
|
+
.ticks(this.afVariation === BarChartVariation.Horizontal
|
|
755
|
+
? Math.max(2, Math.min(ticks, 9))
|
|
756
|
+
: 5) // Clamping value between 2 and 10
|
|
757
|
+
.tickPadding(this.tickPadding)
|
|
758
|
+
.tickSize(tickSize)
|
|
759
|
+
.tickSizeOuter(0)
|
|
760
|
+
.tickFormat((d) => d.toLocaleString()));
|
|
761
|
+
}
|
|
762
|
+
handle.selectAll('line').attr('stroke', 'lightgray');
|
|
763
|
+
if (this.afVariation === BarChartVariation.Vertical)
|
|
764
|
+
this._yAxisHandle.select('.domain').attr('display', 'none');
|
|
765
|
+
};
|
|
766
|
+
// Highlight bar
|
|
767
|
+
this.hover = (event) => {
|
|
768
|
+
select(event.target)
|
|
769
|
+
.transition('hover')
|
|
770
|
+
.duration(20)
|
|
771
|
+
.attr('fill', event.target.tagName === 'rect'
|
|
772
|
+
? '#4C4C8B'
|
|
773
|
+
: 'var(--digi--color--text--link-hover)');
|
|
774
|
+
};
|
|
775
|
+
// Removing highlight from bar
|
|
776
|
+
this.hoverOut = (event) => {
|
|
777
|
+
select(event.target)
|
|
778
|
+
.transition('hover')
|
|
779
|
+
.duration(this.defaultDuration)
|
|
780
|
+
.attr('fill', event.target.tagName === 'rect' ? '#00005a' : '#333333');
|
|
781
|
+
};
|
|
782
|
+
this.openTooltip = (...[, d]) => {
|
|
783
|
+
// If type is string, the user has clicked on a y-axis tick
|
|
784
|
+
if (typeof d === 'string') {
|
|
785
|
+
this._tooltipData = this._barChartContainer
|
|
786
|
+
.select(`#barGroup${d.replace(/[^A-Z0-9]+/gi, '_')}`)
|
|
787
|
+
.datum();
|
|
788
|
+
}
|
|
789
|
+
else
|
|
790
|
+
this._tooltipData = d;
|
|
791
|
+
const tooltipBody = this._tooltip.select('.tooltipBody');
|
|
792
|
+
tooltipBody
|
|
793
|
+
.select(this._tooltipHeading)
|
|
794
|
+
.style('margin', '0 0.75rem 0 0 ')
|
|
795
|
+
.style('font-weight', 500)
|
|
796
|
+
.html(this._tooltipData.key);
|
|
797
|
+
tooltipBody
|
|
798
|
+
.selectAll('div')
|
|
799
|
+
.data([this._tooltipData])
|
|
800
|
+
.join('div')
|
|
801
|
+
.style('display', 'flex')
|
|
802
|
+
.style('flex-direction', 'row')
|
|
803
|
+
.style('flex-wrap', 'nowrap')
|
|
804
|
+
.style('white-space', 'nowrap')
|
|
805
|
+
.style('justify-content', 'space-between')
|
|
806
|
+
.html((d) => d.value.toLocaleString());
|
|
807
|
+
this._tooltip.style('display', 'flex');
|
|
808
|
+
this.positionTooltip(this._tooltipData);
|
|
809
|
+
};
|
|
810
|
+
this.closeTooltip = () => {
|
|
811
|
+
this._tooltip.style('display', 'none');
|
|
812
|
+
};
|
|
813
|
+
// Positions tooltip in horizontal mode
|
|
814
|
+
this.positionTooltip = (data) => {
|
|
815
|
+
const width = this._tooltip.node().getBoundingClientRect().width;
|
|
816
|
+
const height = this._tooltip.node().getBoundingClientRect().height + 8;
|
|
817
|
+
const diff = this._xScale(data.value) / 2 - width / 2;
|
|
818
|
+
if (this.afVariation === BarChartVariation.Horizontal) {
|
|
819
|
+
this._tooltip
|
|
820
|
+
.style('transform', `translate(${this._margin.left + this.tickPadding + Math.max(diff, -4)}px, ${this._yScale(data.key) + this._yScale.bandwidth() + this._yScale.paddingInner() * this._yScale.bandwidth()}px )`)
|
|
821
|
+
.style('max-width', this._xScale.range()[1] + 'px');
|
|
822
|
+
this._tooltip
|
|
823
|
+
.select('digi-icon-caret-up')
|
|
824
|
+
.style('position', 'absolute')
|
|
825
|
+
.style('--digi--icon--color', 'white')
|
|
826
|
+
.style('top', '-11px')
|
|
827
|
+
.style('left', '0')
|
|
828
|
+
.style('transform', `translate(${diff > 0 ? width / 2 - 10 : this._xScale(data.value) / 2}px,0)`);
|
|
829
|
+
}
|
|
830
|
+
else {
|
|
831
|
+
this._tooltip
|
|
832
|
+
.style('transform', `translate(${this._margin.left + this.tickPadding + this._xScale(data.key) + this._xScale.bandwidth() / 2 - width / 2}px, ${this._yScale(data.value) - height}px )`)
|
|
833
|
+
.style('max-width', this._xScale.range()[1] + 'px');
|
|
834
|
+
this._tooltip
|
|
835
|
+
.select('digi-icon-caret-down')
|
|
836
|
+
.style('position', 'absolute')
|
|
837
|
+
.style('--digi--icon--color', 'white')
|
|
838
|
+
.style('left', '0')
|
|
839
|
+
.style('bottom', '-11px')
|
|
840
|
+
.style('transform', `translate(${width / 2 - 6}px,0)`);
|
|
841
|
+
}
|
|
842
|
+
};
|
|
843
|
+
// Once texts has fully loaded, we can recompute some sizes
|
|
844
|
+
this.recomputeTextSize = () => {
|
|
845
|
+
var _a, _b;
|
|
846
|
+
if (this.afVariation == BarChartVariation.Horizontal)
|
|
847
|
+
this._tickWidth = this.getLargestText(this._xScale.ticks().map((tick) => tick.toLocaleString()));
|
|
848
|
+
this.tickSizes();
|
|
849
|
+
this._barChartContainer.selectAll('.barGroup').data(this.reshapeData);
|
|
850
|
+
if ((_b = (_a = this._chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels)
|
|
851
|
+
this._textSelection.remove();
|
|
852
|
+
this.initBarText();
|
|
853
|
+
};
|
|
854
|
+
// Removes resize observer for chart and inits table
|
|
855
|
+
this.activateTable = (event) => {
|
|
856
|
+
this.closeTooltip();
|
|
857
|
+
this.barChartObserver.disconnect();
|
|
858
|
+
this.tableObserver.observe(this._chartDiv);
|
|
859
|
+
this._status.innerHTML = '<p>Visas som tabell</p>';
|
|
860
|
+
select(this._host).select('.tableButton').style('display', 'none');
|
|
861
|
+
select(this._host).select('.chartButton').style('display', null);
|
|
862
|
+
event.target.nextSibling.lastChild.focus();
|
|
863
|
+
const duration = 150;
|
|
864
|
+
this._svg
|
|
865
|
+
.attr('opacity', 1)
|
|
866
|
+
.transition('fadeout')
|
|
867
|
+
.duration(duration)
|
|
868
|
+
.attr('opacity', 0)
|
|
869
|
+
.on('end', () => {
|
|
870
|
+
this._svg.remove();
|
|
871
|
+
this._legendDiv.style['display'] = 'none';
|
|
872
|
+
this._tableDiv.style['display'] = 'block';
|
|
873
|
+
this.setTableContent();
|
|
874
|
+
this.setTableDimensions();
|
|
875
|
+
select(this._tableDiv)
|
|
876
|
+
.style('opacity', 0)
|
|
877
|
+
.transition('fadein')
|
|
878
|
+
.duration(duration)
|
|
879
|
+
.style('opacity', 1);
|
|
880
|
+
});
|
|
881
|
+
select(this._legendDiv)
|
|
882
|
+
.style('opacity', 1)
|
|
883
|
+
.transition('fadeout')
|
|
884
|
+
.duration(duration)
|
|
885
|
+
.style('opacity', 0);
|
|
886
|
+
};
|
|
887
|
+
// Removes observer and calls init functions for line chart
|
|
888
|
+
this.reInitChart = (event) => {
|
|
889
|
+
this.tableObserver.disconnect();
|
|
890
|
+
this._status.innerHTML = '<p>Visas som diagram</p>';
|
|
891
|
+
select(this._host).select('.tableButton').style('display', null);
|
|
892
|
+
select(this._host).select('.chartButton').style('display', 'none');
|
|
893
|
+
event.target.previousSibling.lastChild.focus();
|
|
894
|
+
const table = select(this._tableDiv);
|
|
895
|
+
table
|
|
896
|
+
.style('opacity', 1)
|
|
897
|
+
.transition()
|
|
898
|
+
.duration(150)
|
|
899
|
+
.style('opacity', 0)
|
|
900
|
+
.on('end', () => {
|
|
901
|
+
table.style('display', 'none');
|
|
902
|
+
this.initChain();
|
|
903
|
+
this._svg
|
|
904
|
+
.attr('opacity', 0)
|
|
905
|
+
.transition()
|
|
906
|
+
.duration(150)
|
|
907
|
+
.attr('opacity', 1);
|
|
908
|
+
});
|
|
909
|
+
};
|
|
910
|
+
this.afVariation = BarChartVariation.Vertical;
|
|
911
|
+
this.afHeadingLevel = 'h3';
|
|
912
|
+
this.afId = randomIdGenerator('tooltip');
|
|
913
|
+
this.afChartData = undefined;
|
|
914
|
+
}
|
|
915
|
+
afChartDataUpdate(data) {
|
|
916
|
+
if (typeof data != 'string')
|
|
917
|
+
this._chartData = data;
|
|
918
|
+
else
|
|
919
|
+
this._chartData = JSON.parse(data);
|
|
920
|
+
}
|
|
921
|
+
initSvg() {
|
|
922
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
923
|
+
// Fetch number formatting
|
|
924
|
+
this._numberFormat = {
|
|
925
|
+
maximumSignificantDigits: (_c = (_b = (_a = this._chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.labelProperties) === null || _c === void 0 ? void 0 : _c.significantDigits,
|
|
926
|
+
notation: ((_f = (_e = (_d = this._chartData) === null || _d === void 0 ? void 0 : _d.meta) === null || _e === void 0 ? void 0 : _e.labelProperties) === null || _f === void 0 ? void 0 : _f.shortHand)
|
|
927
|
+
? 'compact'
|
|
928
|
+
: 'standard'
|
|
929
|
+
};
|
|
930
|
+
select(this._chartDiv).select('svg').remove();
|
|
931
|
+
this._maxHeight = (_g = select(this._host)
|
|
932
|
+
.node()
|
|
933
|
+
.parentNode) === null || _g === void 0 ? void 0 : _g.getBoundingClientRect().height;
|
|
934
|
+
this.barChartObserver.observe(this._chartDiv);
|
|
935
|
+
// Getting rem-size
|
|
936
|
+
this._rem = parseFloat(getComputedStyle(document.documentElement).fontSize);
|
|
937
|
+
this.setMinMax();
|
|
938
|
+
this.setDims();
|
|
939
|
+
this.setMargins();
|
|
940
|
+
// Appending svg
|
|
941
|
+
this._svg = select(this._chartDiv)
|
|
942
|
+
.append('svg')
|
|
943
|
+
.attr('aria-hidden', true)
|
|
944
|
+
.attr('role', 'img')
|
|
945
|
+
.attr('aria-label', this._chartData && this._chartData.title
|
|
946
|
+
? 'Stapeldiagram om ' + this._chartData.title.toLowerCase()
|
|
947
|
+
: 'Stapeldiagram');
|
|
948
|
+
this._svg.attr('width', this._dims.width).attr('height', this._dims.height);
|
|
949
|
+
}
|
|
950
|
+
initToolTip() {
|
|
951
|
+
// Getting handle for tooltip
|
|
952
|
+
this._tooltip = select('#' + this.afId);
|
|
953
|
+
this._tooltip.select('.close').on('click', this.closeTooltip);
|
|
954
|
+
this._tooltipHeading =
|
|
955
|
+
'h' + (parseInt(this.afHeadingLevel.replace(/\D/g, '')) + 1); // increment heading level by one
|
|
956
|
+
// Add heading placeholder for heading
|
|
957
|
+
this._tooltip
|
|
958
|
+
.selectAll('.tooltipBody')
|
|
959
|
+
.append(this._tooltipHeading)
|
|
960
|
+
.attr('class', 'tooltipHeading') // Adding class to try to dodge global css classes
|
|
961
|
+
.style('font-size', '1rem')
|
|
962
|
+
.style('margin', '0 0.75rem')
|
|
963
|
+
.style('font-weight', '500');
|
|
964
|
+
}
|
|
965
|
+
initEmpty() {
|
|
966
|
+
select(this._chartDiv).select('svg').remove();
|
|
967
|
+
this._maxHeight = select(this._host)
|
|
968
|
+
.node()
|
|
969
|
+
.parentNode.getBoundingClientRect().height;
|
|
970
|
+
this.barChartObserver.observe(this._chartDiv);
|
|
971
|
+
// Getting rem-size
|
|
972
|
+
this._rem = parseFloat(getComputedStyle(document.documentElement).fontSize);
|
|
973
|
+
//this.setMinMax();
|
|
974
|
+
this.setDims();
|
|
975
|
+
this.setMargins();
|
|
976
|
+
// Appending svg
|
|
977
|
+
this._svg = select(this._chartDiv)
|
|
978
|
+
.append('svg')
|
|
979
|
+
.attr('aria-hidden', true)
|
|
980
|
+
.attr('role', 'img')
|
|
981
|
+
.attr('aria-label', this._chartData && this._chartData.title
|
|
982
|
+
? 'Stapeldiagram om ' + this._chartData.title.toLowerCase()
|
|
983
|
+
: 'Stapeldiagram');
|
|
984
|
+
this._svg.attr('width', this._dims.width).attr('height', this._dims.height);
|
|
985
|
+
// Hide unusable components
|
|
986
|
+
select(this._titleDiv)
|
|
987
|
+
.select(this.afHeadingLevel)
|
|
988
|
+
.html(`${_t.loading}...`);
|
|
989
|
+
this.initYAxis(true);
|
|
990
|
+
this.initXAxis(true);
|
|
991
|
+
this.loadingState(true);
|
|
992
|
+
}
|
|
993
|
+
loadingState(empty) {
|
|
994
|
+
this._loading = true;
|
|
995
|
+
// close potentially open tooltip
|
|
996
|
+
if (this._tooltip)
|
|
997
|
+
this.closeTooltip();
|
|
998
|
+
select(this._host).select('.tableButton').style('display', 'none');
|
|
999
|
+
const newHeight = this.setDims();
|
|
1000
|
+
this.transitionTitle();
|
|
1001
|
+
this._xAxisHandle.selectAll('.tick').remove();
|
|
1002
|
+
this._xAxisHandle.select('path').remove();
|
|
1003
|
+
this._svg
|
|
1004
|
+
.transition()
|
|
1005
|
+
.duration(400)
|
|
1006
|
+
.attr('width', this._dims.width)
|
|
1007
|
+
.attr('height', this._dims.height)
|
|
1008
|
+
.attr('aria-label', this._chartData && this._chartData.title
|
|
1009
|
+
? 'Stapeldiagram om ' + this._chartData.title.toLowerCase()
|
|
1010
|
+
: 'Stapeldiagram');
|
|
1011
|
+
this.setMargins(true);
|
|
1012
|
+
select(this._titleDiv)
|
|
1013
|
+
.select(this.afHeadingLevel)
|
|
1014
|
+
.html(`${_t.loading}...`);
|
|
1015
|
+
// Waiting with observing for changes until transition to regular bars is complete
|
|
1016
|
+
this._barChartContainer
|
|
1017
|
+
.transition('position')
|
|
1018
|
+
.duration(this.defaultDuration)
|
|
1019
|
+
.ease(polyInOut)
|
|
1020
|
+
.attr('transform', `translate(${this._margin.left + this.tickPadding + this.yTickSize},0)`);
|
|
1021
|
+
// If there is a new height
|
|
1022
|
+
if (newHeight) {
|
|
1023
|
+
// Update y-axis with potentially new height (might want to do a check here)
|
|
1024
|
+
this.afVariation === BarChartVariation.Horizontal
|
|
1025
|
+
? this._yScale.range([
|
|
1026
|
+
this._margin.top,
|
|
1027
|
+
this._dims.height - this._margin.bottom
|
|
1028
|
+
])
|
|
1029
|
+
: this._yScale.range([
|
|
1030
|
+
this._dims.height - this._margin.bottom,
|
|
1031
|
+
this._margin.top
|
|
1032
|
+
]);
|
|
1033
|
+
this._xAxisHandle.attr('transform', `translate(0,${this._dims.height - this._margin.bottom})`);
|
|
1034
|
+
}
|
|
1035
|
+
const animateBars = () => {
|
|
1036
|
+
this._barChartContainer.selectAll('.barGroup').remove();
|
|
1037
|
+
this._barSelection = this._barChartContainer
|
|
1038
|
+
.selectAll('barGroup')
|
|
1039
|
+
.data(this.reshapeData)
|
|
1040
|
+
.join('g')
|
|
1041
|
+
.attr('class', 'barGroup')
|
|
1042
|
+
.attr('id', (d) => 'barGroup' + d.key.replace(/[^A-Z0-9]+/gi, '_'))
|
|
1043
|
+
.append('rect')
|
|
1044
|
+
.attr('class', 'bar')
|
|
1045
|
+
.style('cursor', 'pointer');
|
|
1046
|
+
this._barSelection
|
|
1047
|
+
.attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
1048
|
+
? this._yScale(d.key)
|
|
1049
|
+
: this._dims.height - this._margin.bottom)
|
|
1050
|
+
.attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
1051
|
+
? 2
|
|
1052
|
+
: this._xScale(d.key))
|
|
1053
|
+
.attr('ry', 4)
|
|
1054
|
+
.attr('rx', 4)
|
|
1055
|
+
.attr('width', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
1056
|
+
? this._xScale(d.value)
|
|
1057
|
+
: this._xScale.bandwidth())
|
|
1058
|
+
.attr('height', () => 0)
|
|
1059
|
+
//.attr('height', (d: any) => this.afVariation === BarChartVariation.Horizontal ? this._yScale.bandwidth() : (this._dims.height - this._margin.bottom) - this._yScale(d.value))
|
|
1060
|
+
.attr('fill', 'gray')
|
|
1061
|
+
.transition()
|
|
1062
|
+
.duration(400)
|
|
1063
|
+
.delay((...[, i]) => i * 150)
|
|
1064
|
+
.attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
1065
|
+
? this._yScale(d.key)
|
|
1066
|
+
: this._yScale(d.value))
|
|
1067
|
+
.attr('height', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
1068
|
+
? this._yScale.bandwidth()
|
|
1069
|
+
: this._dims.height - this._margin.bottom - this._yScale(d.value));
|
|
1070
|
+
this._barSelection
|
|
1071
|
+
.transition()
|
|
1072
|
+
.duration(400)
|
|
1073
|
+
.ease(linear$1)
|
|
1074
|
+
.delay((...[, i]) => i * 150 + 400)
|
|
1075
|
+
.attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
1076
|
+
? this._yScale(d.key)
|
|
1077
|
+
: this._dims.height - this._margin.bottom)
|
|
1078
|
+
.attr('height', () => 0)
|
|
1079
|
+
.on('end', (...[, i]) => {
|
|
1080
|
+
if (i === this._placeholderTicks.length - 1)
|
|
1081
|
+
animateBars();
|
|
1082
|
+
});
|
|
1083
|
+
};
|
|
1084
|
+
const flattenBars = () => {
|
|
1085
|
+
this._barChartContainer
|
|
1086
|
+
.selectAll('rect')
|
|
1087
|
+
.transition()
|
|
1088
|
+
.duration(200)
|
|
1089
|
+
.ease(linear$1)
|
|
1090
|
+
.attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
1091
|
+
? this._yScale(d.key)
|
|
1092
|
+
: this._dims.height - this._margin.bottom)
|
|
1093
|
+
.attr('height', () => 0)
|
|
1094
|
+
.on('end', (...[, i]) => {
|
|
1095
|
+
if (i != 0)
|
|
1096
|
+
return;
|
|
1097
|
+
this.setYScale(true);
|
|
1098
|
+
this.setValueTicks();
|
|
1099
|
+
this.setXScale(true);
|
|
1100
|
+
this.barChartObserver.observe(this._chartDiv);
|
|
1101
|
+
animateBars();
|
|
1102
|
+
});
|
|
1103
|
+
};
|
|
1104
|
+
if (empty)
|
|
1105
|
+
animateBars();
|
|
1106
|
+
else
|
|
1107
|
+
flattenBars();
|
|
1108
|
+
}
|
|
1109
|
+
transitionTitle() {
|
|
1110
|
+
const height = select(this._titleDiv).style('height');
|
|
1111
|
+
select(this._titleDiv)
|
|
1112
|
+
.style('height', this._prevHeight)
|
|
1113
|
+
.transition('adjust')
|
|
1114
|
+
.duration(400)
|
|
1115
|
+
.style('height', height)
|
|
1116
|
+
.on('end', () => select(this._titleDiv).style('height', null));
|
|
1117
|
+
}
|
|
1118
|
+
initYAxis(empty) {
|
|
1119
|
+
this.setYScale(empty);
|
|
1120
|
+
this._barChartContainer = this._svg
|
|
1121
|
+
.append('g')
|
|
1122
|
+
.attr('transform', `translate(${this._margin.left + this.tickPadding + this.yTickSize},0)`);
|
|
1123
|
+
this._yAxisHandle = this._barChartContainer.append('g');
|
|
1124
|
+
if (this.afVariation === BarChartVariation.Horizontal) {
|
|
1125
|
+
this.tickSizes();
|
|
1126
|
+
this.setNamedTicks();
|
|
1127
|
+
this.setTickInteraction();
|
|
1128
|
+
}
|
|
1129
|
+
else
|
|
1130
|
+
this.setValueTicks();
|
|
1131
|
+
}
|
|
1132
|
+
// Sets the largest and smallest value from series 0, Should only be used when not loading
|
|
1133
|
+
setMinMax() {
|
|
1134
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
1135
|
+
const max$1 = max((_a = this._chartData) === null || _a === void 0 ? void 0 : _a.data.series[0].yValues)
|
|
1136
|
+
? max((_b = this._chartData) === null || _b === void 0 ? void 0 : _b.data.series[0].yValues)
|
|
1137
|
+
: 0;
|
|
1138
|
+
const min$1 = min([0, min((_c = this._chartData) === null || _c === void 0 ? void 0 : _c.data.series[0].yValues)])
|
|
1139
|
+
? min([0, min((_d = this._chartData) === null || _d === void 0 ? void 0 : _d.data.series[0].yValues)])
|
|
1140
|
+
: 0;
|
|
1141
|
+
this._maxVal = max$1;
|
|
1142
|
+
this._minVal = min$1;
|
|
1143
|
+
this._tempScale = linear()
|
|
1144
|
+
.domain([this._minVal, this._maxVal])
|
|
1145
|
+
.nice(((_f = (_e = this._chartData) === null || _e === void 0 ? void 0 : _e.meta) === null || _f === void 0 ? void 0 : _f.numberOfReferenceLines)
|
|
1146
|
+
? (_g = this._chartData) === null || _g === void 0 ? void 0 : _g.meta.numberOfReferenceLines
|
|
1147
|
+
: 3)
|
|
1148
|
+
.domain();
|
|
1149
|
+
}
|
|
1150
|
+
// Setting up x-axis, getting margin.right in this function
|
|
1151
|
+
initXAxis(empty) {
|
|
1152
|
+
this.setXScale(empty);
|
|
1153
|
+
this._xAxisHandle = this._barChartContainer
|
|
1154
|
+
.append('g')
|
|
1155
|
+
.attr('transform', `translate(0,${this._dims.height - this._margin.bottom})`);
|
|
1156
|
+
if (this.afVariation === BarChartVariation.Horizontal) {
|
|
1157
|
+
this.setValueTicks();
|
|
1158
|
+
// Removing first tick, because it aligns with y-axis domain
|
|
1159
|
+
this._xAxisHandle.select('.tick').select('line').remove();
|
|
1160
|
+
}
|
|
1161
|
+
else {
|
|
1162
|
+
if (!empty) {
|
|
1163
|
+
this.tickSizes();
|
|
1164
|
+
this.setNamedTicks();
|
|
1165
|
+
this.setTickInteraction();
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1168
|
+
}
|
|
1169
|
+
// Initializing bars, can only handle one series of bars for now
|
|
1170
|
+
initBars() {
|
|
1171
|
+
this._barSelection = this._barChartContainer
|
|
1172
|
+
.selectAll('barGroup')
|
|
1173
|
+
.data(this.reshapeData)
|
|
1174
|
+
.join('g')
|
|
1175
|
+
.attr('class', 'barGroup')
|
|
1176
|
+
.attr('id', (d) => 'barGroup' + d.key.replace(/[^A-Z0-9]+/gi, '_'))
|
|
1177
|
+
.append('rect')
|
|
1178
|
+
.attr('class', 'bar')
|
|
1179
|
+
.style('cursor', 'pointer');
|
|
1180
|
+
this._barSelection
|
|
1181
|
+
.attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
1182
|
+
? this._yScale(d.key)
|
|
1183
|
+
: this._yScale(d.value))
|
|
1184
|
+
.attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
1185
|
+
? 2
|
|
1186
|
+
: this._xScale(d.key))
|
|
1187
|
+
.attr('ry', 4)
|
|
1188
|
+
.attr('rx', 4)
|
|
1189
|
+
.attr('width', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
1190
|
+
? this._xScale(d.value)
|
|
1191
|
+
: this._xScale.bandwidth())
|
|
1192
|
+
.attr('height', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
1193
|
+
? this._yScale.bandwidth()
|
|
1194
|
+
: this._dims.height - this._margin.bottom - this._yScale(d.value))
|
|
1195
|
+
.attr('fill', '#00005a')
|
|
1196
|
+
.on('mouseenter', this.hover)
|
|
1197
|
+
.on('mouseleave', this.hoverOut)
|
|
1198
|
+
.on('click', this.openTooltip);
|
|
1199
|
+
}
|
|
1200
|
+
initBarText() {
|
|
1201
|
+
this._textSelection = this._barChartContainer
|
|
1202
|
+
.selectAll('.barGroup')
|
|
1203
|
+
.append('text');
|
|
1204
|
+
this._textSelection
|
|
1205
|
+
.text((d) => d.value.toLocaleString(undefined, this._numberFormat))
|
|
1206
|
+
.attr('class', 'barText')
|
|
1207
|
+
.attr('font-size', this.fontSize)
|
|
1208
|
+
.attr('font-weight', '600')
|
|
1209
|
+
.attr('text-anchor', 'end')
|
|
1210
|
+
.attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
1211
|
+
? this._yScale(d.key) + this._yScale.bandwidth() / 2
|
|
1212
|
+
: this._yScale(d.value))
|
|
1213
|
+
.attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
1214
|
+
? this._xScale(d)
|
|
1215
|
+
: this._xScale(d.key) + this._xScale.bandwidth())
|
|
1216
|
+
.attr('dy', () => this.afVariation == BarChartVariation.Horizontal ? '0.35em' : '-0.25em')
|
|
1217
|
+
.style('pointer-events', 'none')
|
|
1218
|
+
.style('display', () => { var _a, _b; return ((_b = (_a = this._chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels) ? null : 'none'; });
|
|
1219
|
+
this.adjustBarText();
|
|
1220
|
+
}
|
|
1221
|
+
initChain() {
|
|
1222
|
+
this.initSvg();
|
|
1223
|
+
this.initToolTip();
|
|
1224
|
+
this.initYAxis();
|
|
1225
|
+
this.initXAxis();
|
|
1226
|
+
this.initBars();
|
|
1227
|
+
this.initBarText();
|
|
1228
|
+
}
|
|
1229
|
+
async updateChain() {
|
|
1230
|
+
var _a, _b, _c, _d, _e, _f;
|
|
1231
|
+
// Fetch number formatting
|
|
1232
|
+
this._numberFormat = {
|
|
1233
|
+
maximumSignificantDigits: (_c = (_b = (_a = this._chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.labelProperties) === null || _c === void 0 ? void 0 : _c.significantDigits,
|
|
1234
|
+
notation: ((_f = (_e = (_d = this._chartData) === null || _d === void 0 ? void 0 : _d.meta) === null || _e === void 0 ? void 0 : _e.labelProperties) === null || _f === void 0 ? void 0 : _f.shortHand)
|
|
1235
|
+
? 'compact'
|
|
1236
|
+
: 'standard'
|
|
1237
|
+
};
|
|
1238
|
+
if (this._tooltip)
|
|
1239
|
+
this.closeTooltip();
|
|
1240
|
+
// Check whether we are in table mode or not
|
|
1241
|
+
if (this._tableDiv.style['display'] == 'block') {
|
|
1242
|
+
if (!this._chartData.title) {
|
|
1243
|
+
select(this._titleDiv)
|
|
1244
|
+
.select(this.afHeadingLevel)
|
|
1245
|
+
.html(`${_t.loading}...`);
|
|
1246
|
+
}
|
|
1247
|
+
else {
|
|
1248
|
+
this.setTableContent();
|
|
1249
|
+
this.setTableDimensions();
|
|
1250
|
+
}
|
|
1251
|
+
this.transitionTitle();
|
|
1252
|
+
}
|
|
1253
|
+
else {
|
|
1254
|
+
// displaying legend again
|
|
1255
|
+
if (this._loading) {
|
|
1256
|
+
select(this._host).select('.tableButton').style('display', null);
|
|
1257
|
+
select(this._legendDiv).style('display', null);
|
|
1258
|
+
this.initToolTip();
|
|
1259
|
+
}
|
|
1260
|
+
// Disconnect resize observer while adjusting things
|
|
1261
|
+
this.barChartObserver.disconnect();
|
|
1262
|
+
this.setMinMax();
|
|
1263
|
+
const newHeight = this.setDims();
|
|
1264
|
+
this.transitionTitle();
|
|
1265
|
+
this._svg
|
|
1266
|
+
.transition()
|
|
1267
|
+
.duration(400)
|
|
1268
|
+
.attr('width', this._dims.width)
|
|
1269
|
+
.attr('height', this._dims.height)
|
|
1270
|
+
.attr('aria-label', this._chartData && this._chartData.title
|
|
1271
|
+
? 'Stapeldiagram om ' + this._chartData.title.toLowerCase()
|
|
1272
|
+
: 'Stapeldiagram');
|
|
1273
|
+
this.setMargins();
|
|
1274
|
+
// Waiting with observing for changes until transition to regular bars is complete
|
|
1275
|
+
this._barChartContainer
|
|
1276
|
+
.transition('position')
|
|
1277
|
+
.duration(this.defaultDuration)
|
|
1278
|
+
.ease(polyInOut)
|
|
1279
|
+
.attr('transform', `translate(${this._margin.left + this.tickPadding + this.yTickSize},0)`);
|
|
1280
|
+
if (!this._loading)
|
|
1281
|
+
this._barChartContainer.on('end', () => this.barChartObserver.observe(this._chartDiv));
|
|
1282
|
+
// If there is a new height
|
|
1283
|
+
if (newHeight) {
|
|
1284
|
+
// Update y-axis with potentially new height (might want to do a check here)
|
|
1285
|
+
this.afVariation === BarChartVariation.Horizontal
|
|
1286
|
+
? this._yScale.range([
|
|
1287
|
+
this._margin.top,
|
|
1288
|
+
this._dims.height - this._margin.bottom
|
|
1289
|
+
])
|
|
1290
|
+
: this._yScale.range([
|
|
1291
|
+
this._dims.height - this._margin.bottom,
|
|
1292
|
+
this._margin.top
|
|
1293
|
+
]);
|
|
1294
|
+
this._xAxisHandle.attr('transform', `translate(0,${this._dims.height - this._margin.bottom})`);
|
|
1295
|
+
}
|
|
1296
|
+
this.tickSizes();
|
|
1297
|
+
this.setYScale();
|
|
1298
|
+
this.setXScale();
|
|
1299
|
+
this.setTickInteraction();
|
|
1300
|
+
this._tickWidth = this.getLargestText(this.afVariation == BarChartVariation.Horizontal
|
|
1301
|
+
? this._xScale.ticks().map((tick) => tick.toLocaleString())
|
|
1302
|
+
: this._yScale.ticks().map((tick) => tick.toLocaleString()));
|
|
1303
|
+
this.setValueTicks(true);
|
|
1304
|
+
if (this._loading) {
|
|
1305
|
+
select(this._legendDiv)
|
|
1306
|
+
.style('opacity', 0)
|
|
1307
|
+
.transition()
|
|
1308
|
+
.duration(400)
|
|
1309
|
+
.ease(polyInOut)
|
|
1310
|
+
.style('opacity', 1);
|
|
1311
|
+
this._margin.right =
|
|
1312
|
+
this.getTextSize(this._xScale.domain()[1].toLocaleString()) / 2 +
|
|
1313
|
+
this.yTickSize +
|
|
1314
|
+
this.tickPadding;
|
|
1315
|
+
// Update x-axis with new width
|
|
1316
|
+
this._xScale.range([
|
|
1317
|
+
0,
|
|
1318
|
+
this._dims.width - this._margin.right - this._margin.left
|
|
1319
|
+
]);
|
|
1320
|
+
this.setNamedTicks(true);
|
|
1321
|
+
// Stop animation
|
|
1322
|
+
this._barSelection.selectAll('.barGroup').on('end', null);
|
|
1323
|
+
this._loading = false;
|
|
1324
|
+
this._barSelection
|
|
1325
|
+
.transition()
|
|
1326
|
+
.duration(this.defaultDuration)
|
|
1327
|
+
.attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
|
|
1328
|
+
? this._yScale(d.key)
|
|
1329
|
+
: this._dims.height - this._margin.bottom)
|
|
1330
|
+
.attr('height', () => 0)
|
|
1331
|
+
.on('end', (...[, i]) => i === this._placeholderTicks.length - 1
|
|
1332
|
+
? this.updateBars(true)
|
|
1333
|
+
: null);
|
|
1334
|
+
this.setTickInteraction();
|
|
1335
|
+
}
|
|
1336
|
+
else {
|
|
1337
|
+
this.setNamedTicks(true);
|
|
1338
|
+
// Removing first tick, because it aligns with y-axis domain
|
|
1339
|
+
this.updateBars();
|
|
1340
|
+
}
|
|
1341
|
+
}
|
|
1342
|
+
}
|
|
1343
|
+
// Resizing bar chart
|
|
1344
|
+
resize() {
|
|
1345
|
+
var _a;
|
|
1346
|
+
const newHeight = this.setDims();
|
|
1347
|
+
this.setMargins();
|
|
1348
|
+
(_a = this._svg) === null || _a === void 0 ? void 0 : _a.attr('width', this._dims.width).attr('height', this._dims.height);
|
|
1349
|
+
this._barChartContainer.attr('transform', `translate(${this._margin.left + this.tickPadding + this.yTickSize},0)`);
|
|
1350
|
+
this._margin.right =
|
|
1351
|
+
this.getTextSize(this._xScale.domain()[1].toLocaleString()) / 2 +
|
|
1352
|
+
this.yTickSize +
|
|
1353
|
+
this.tickPadding;
|
|
1354
|
+
// If there is a new height
|
|
1355
|
+
if (newHeight) {
|
|
1356
|
+
// Update y-axis with potentially new height (might want to do a check here)
|
|
1357
|
+
this.afVariation === BarChartVariation.Horizontal
|
|
1358
|
+
? this._yScale.range([
|
|
1359
|
+
this._margin.top,
|
|
1360
|
+
this._dims.height - this._margin.bottom
|
|
1361
|
+
])
|
|
1362
|
+
: this._yScale.range([
|
|
1363
|
+
this._dims.height - this._margin.bottom,
|
|
1364
|
+
this._margin.top
|
|
1365
|
+
]);
|
|
1366
|
+
this._xAxisHandle.attr('transform', `translate(0,${this._dims.height - this._margin.bottom})`);
|
|
1367
|
+
}
|
|
1368
|
+
// Update x-axis with new width
|
|
1369
|
+
this._xScale.range([
|
|
1370
|
+
0,
|
|
1371
|
+
this._dims.width - this._margin.right - this._margin.left
|
|
1372
|
+
]);
|
|
1373
|
+
this.setNamedTicks();
|
|
1374
|
+
this.setValueTicks();
|
|
1375
|
+
this.adjustBarSize();
|
|
1376
|
+
this.adjustBarText();
|
|
1377
|
+
if (this._tooltipData)
|
|
1378
|
+
this.positionTooltip(this._tooltipData);
|
|
1379
|
+
}
|
|
1380
|
+
// Returns the longest text from an array of strings
|
|
1381
|
+
getLargestText(array) {
|
|
1382
|
+
let width = 0;
|
|
1383
|
+
array.forEach((elem) => {
|
|
1384
|
+
const temp = this.getTextSize(elem);
|
|
1385
|
+
if (temp > width) {
|
|
1386
|
+
width = temp;
|
|
1387
|
+
}
|
|
1388
|
+
});
|
|
1389
|
+
return width;
|
|
1390
|
+
}
|
|
1391
|
+
componentWillLoad() {
|
|
1392
|
+
this.afChartDataUpdate(this.afChartData);
|
|
1393
|
+
}
|
|
1394
|
+
componentDidLoad() {
|
|
1395
|
+
if (!this._chartData || Object.keys(this._chartData).length === 0) {
|
|
1396
|
+
this._loading = true;
|
|
1397
|
+
return this.initEmpty();
|
|
1398
|
+
}
|
|
1399
|
+
this.initChain();
|
|
1400
|
+
document.fonts.ready.then(() => {
|
|
1401
|
+
this.recomputeTextSize();
|
|
1402
|
+
this.setNamedTicks();
|
|
1403
|
+
this._barChartContainer.attr('transform', `translate(${this._margin.left + this.tickPadding + this.yTickSize},0)`);
|
|
1404
|
+
});
|
|
1405
|
+
}
|
|
1406
|
+
disconnectedCallback() {
|
|
1407
|
+
this.barChartObserver.disconnect();
|
|
1408
|
+
}
|
|
1409
|
+
componentWillUpdate() {
|
|
1410
|
+
this._prevHeight = select(this._titleDiv).style('height');
|
|
1411
|
+
}
|
|
1412
|
+
componentDidUpdate() {
|
|
1413
|
+
if (this._tableDiv.style['display'] != 'block' &&
|
|
1414
|
+
Object.keys(this._chartData).length === 0) {
|
|
1415
|
+
// Disconnect old barchartobserver while doing resizing
|
|
1416
|
+
this.barChartObserver.disconnect();
|
|
1417
|
+
return this.loadingState();
|
|
1418
|
+
}
|
|
1419
|
+
this.updateChain();
|
|
1420
|
+
}
|
|
1421
|
+
// Not currently used
|
|
1422
|
+
/*get cssModifiers() {
|
|
1423
|
+
return {
|
|
1424
|
+
'digi-bar-chart--vertical': this.afVariation == 'vertical',
|
|
1425
|
+
'digi-bar-chart--horizontal': this.afVariation == 'horizontal'
|
|
1426
|
+
};
|
|
1427
|
+
}*/
|
|
1428
|
+
// Returns pixelwidth of text given the current fontSize (costly function using .each)
|
|
1429
|
+
getTextSize(text) {
|
|
1430
|
+
const textWidth = [];
|
|
1431
|
+
const svg = select(this._chartDiv).append('svg');
|
|
1432
|
+
svg
|
|
1433
|
+
.selectAll('dummyText')
|
|
1434
|
+
.data([text])
|
|
1435
|
+
.join('text')
|
|
1436
|
+
.attr('font-size', this.fontSize) // <- using 1rem here whereas default is 0.875rem
|
|
1437
|
+
.text((d) => d)
|
|
1438
|
+
.each((...[, i, nodelist]) => {
|
|
1439
|
+
const thisWidth = nodelist[i].getComputedTextLength();
|
|
1440
|
+
textWidth.push(thisWidth);
|
|
1441
|
+
nodelist[i].remove();
|
|
1442
|
+
});
|
|
1443
|
+
svg.remove().exit();
|
|
1444
|
+
return textWidth[0];
|
|
1445
|
+
}
|
|
1446
|
+
// Setting table content from this._chartData
|
|
1447
|
+
setTableContent() {
|
|
1448
|
+
this._tableDiv.innerHTML = `<digi-table af-size="small" af-variation="primary"> <table><caption>${this._chartData.title}</caption><thead><tr>${this.headings()}</tr></thead><tbody>${this.tableBody()}</tbody></table></digi-table>`;
|
|
1449
|
+
}
|
|
1450
|
+
setTableDimensions() {
|
|
1451
|
+
const table = select(this._tableDiv);
|
|
1452
|
+
table
|
|
1453
|
+
// The last value is for compensating the padding set on the table element, changing padding in css, will need change in these two lines
|
|
1454
|
+
.style('height', this._dims.height + 'px');
|
|
1455
|
+
table.style('width', this._dims.width - this._rem * 0.65 + 'px');
|
|
1456
|
+
}
|
|
1457
|
+
// Extracting all headings from data and returning a string with <th>-elements with headings
|
|
1458
|
+
headings() {
|
|
1459
|
+
let headingsString = `<th scope="col">${this._chartData.x}</th>`;
|
|
1460
|
+
this._chartData.data.series.forEach((elem) => {
|
|
1461
|
+
headingsString = headingsString.concat(`<th scope="col">${elem.title}</th>`);
|
|
1462
|
+
});
|
|
1463
|
+
return headingsString;
|
|
1464
|
+
}
|
|
1465
|
+
// Building the table body
|
|
1466
|
+
tableBody() {
|
|
1467
|
+
let body = '';
|
|
1468
|
+
if (this._chartData && this._chartData.data) {
|
|
1469
|
+
const loopable = this._chartData.data.xValueNames
|
|
1470
|
+
? this._chartData.data.xValueNames
|
|
1471
|
+
: this._chartData.data.xValues;
|
|
1472
|
+
loopable.forEach((elem, index) => {
|
|
1473
|
+
let cells = '';
|
|
1474
|
+
this._chartData.data.series.forEach((serie) => {
|
|
1475
|
+
cells = cells.concat(`<td>${serie.yValues[index] != null ? serie.yValues[index].toLocaleString() : '-'}</td>`);
|
|
1476
|
+
});
|
|
1477
|
+
body = body.concat(`<tr><th scope='row'>${elem}${cells}</th></tr>`);
|
|
1478
|
+
});
|
|
1479
|
+
}
|
|
1480
|
+
return body;
|
|
1481
|
+
}
|
|
1482
|
+
render() {
|
|
1483
|
+
var _a, _b, _c, _d, _e;
|
|
1484
|
+
// Setting header
|
|
1485
|
+
let heading = '';
|
|
1486
|
+
if (this._chartData) {
|
|
1487
|
+
if (!this._chartData.subTitle)
|
|
1488
|
+
heading = `<${this.afHeadingLevel}>${this._chartData.title}</${this.afHeadingLevel}>`;
|
|
1489
|
+
else {
|
|
1490
|
+
if (!this._chartData.infoText)
|
|
1491
|
+
heading = `<${this.afHeadingLevel}>${this._chartData.title}</${this.afHeadingLevel}><p>${this._chartData.subTitle}</p>`;
|
|
1492
|
+
else
|
|
1493
|
+
heading = `<${this.afHeadingLevel}>${this._chartData.title}</${this.afHeadingLevel}><p>${(_a = this._chartData) === null || _a === void 0 ? void 0 : _a.subTitle}
|
|
1494
|
+
<span style="display:block;margin-top:0.25rem;font-size:0.875rem;color:var(--digi--global--color--neutral--grayscale--darkest-3)">${this._chartData.infoText}</span></p>`;
|
|
1495
|
+
}
|
|
1496
|
+
}
|
|
1497
|
+
return (h(Host, { key: '7659fcc4817cdfb3f19f2bd11a41464c13b5e19e', ref: (el) => (this._host = el) }, h("div", { key: '063611cf8dbb2554904d972ed3fc1f89d714772e', class: "topWrapper", ref: (el) => (this._titleDiv = el) }, h("digi-typography", { key: 'ad58c43c2629e7b2b97e3ad1658646e5171b1531', class: "chartTitle", innerHTML: heading }), h("digi-button", { key: '2234460c0ffab8e7d251f099f4f2d38e1e5ebede', class: "buttonWrapper tableButton", "af-size": "medium", "af-variation": "function", "af-full-width": "false", onAfOnClick: this.activateTable, afAriaLabel: `Visa tabell ${((_b = this._chartData) === null || _b === void 0 ? void 0 : _b.title) ? (_c = this._chartData) === null || _c === void 0 ? void 0 : _c.title.toLowerCase() : ''}` }, h("digi-icon-table", { key: 'b82a89d578d997ab878d44a2928e5e31773bd34f', slot: "icon" }), "Visa tabell"), h("digi-button", { key: 'b5dc532f7655bd383d0dcf42f8851edbc81b448c', style: { display: 'none' }, class: "buttonWrapper chartButton", "af-size": "medium", "af-variation": "function", "af-full-width": "false", onAfOnClick: this.reInitChart, afAriaLabel: `Visa diagram ${((_d = this._chartData) === null || _d === void 0 ? void 0 : _d.title) ? (_e = this._chartData) === null || _e === void 0 ? void 0 : _e.title.toLowerCase() : ''}` }, h("digi-icon-chart", { key: 'f868d9fd2c37c247e8abdd59cf2b9342ad120fef', slot: "icon" }), "Visa diagram"), h("div", { key: '6a0f7838d86a43b46d9a036ad935f50ebb2b523f', class: "scChartStatus", role: "status", ref: (el) => (this._status = el) })), h("div", { key: '5f37b9eaf1030cd1d5b1b0360cdaaa61f953b624', class: "chartTooltip", id: this.afId }, h("div", { key: 'a89608cb64620456a165ba4fb57db823870d2231', class: "tooltipBody" }), h("digi-icon-x", { key: 'e842c2b42f6bc7d6dfdad1d1b8a7acb9f8df5a1a', class: "close" }), this.afVariation === BarChartVariation.Horizontal ? (h("digi-icon-caret-up", null)) : (h("digi-icon-caret-down", null))), h("div", { key: 'f07154ab370a948016aa30a2547c4c9b25fae03b', ref: (el) => (this._chartDiv = el) }, " "), h("div", { key: '385151df18d373779257040d298bf8c108184500', class: "legend", ref: (el) => (this._legendDiv = el) }), h("div", { key: 'd5f07fc01a628aa2035a96d86621b6bab1e73f01', class: "table", ref: (el) => (this._tableDiv = el) }, ' ')));
|
|
1498
|
+
}
|
|
1499
|
+
get hostElement() { return getElement(this); }
|
|
1500
|
+
static get watchers() { return {
|
|
1501
|
+
"afChartData": ["afChartDataUpdate"]
|
|
1502
|
+
}; }
|
|
1503
|
+
};
|
|
1504
|
+
barChart.style = DigiBarChartStyle0;
|
|
1505
|
+
|
|
1506
|
+
export { barChart as digi_bar_chart };
|