@designsystem-se/af 39.3.0 → 39.4.0-beta.darkmode.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/digi-badge-notification.js +1 -1
- package/components/digi-badge-status.js +2 -2
- package/components/digi-bar-chart.js +8 -8
- package/components/digi-button.js +1 -1
- package/components/digi-calendar-datepicker.js +16 -16
- package/components/digi-calendar-week-view.js +5 -5
- package/components/digi-calendar.js +1 -1
- package/components/digi-chart-line.js +6 -6
- package/components/digi-code-block.js +1 -1
- package/components/digi-code-example.js +17 -17
- package/components/digi-code.js +1 -1
- package/components/digi-context-menu.js +8 -8
- package/components/digi-dialog.js +6 -6
- package/components/digi-expandable-accordion.js +3 -3
- package/components/digi-expandable-faq-item.js +3 -3
- package/components/digi-expandable-faq.js +1 -1
- package/components/digi-footer-card.js +1 -1
- package/components/digi-footer.js +5 -5
- package/components/digi-form-category-filter.js +5 -5
- package/components/digi-form-checkbox.js +1 -1
- package/components/digi-form-error-list.js +10 -10
- package/components/digi-form-fieldset.js +1 -1
- package/components/digi-form-file-upload.js +13 -13
- package/components/digi-form-filter.js +5 -5
- package/components/digi-form-input-search.js +9 -9
- package/components/digi-form-input.js +1 -1
- package/components/digi-form-label.js +1 -1
- package/components/digi-form-radiobutton.js +1 -1
- package/components/digi-form-radiogroup.js +5 -5
- package/components/digi-form-receipt.js +4 -4
- package/components/digi-form-select-filter.js +13 -13
- package/components/digi-form-select.js +1 -1
- package/components/digi-form-textarea.js +6 -6
- package/components/digi-form-validation-message.js +1 -1
- package/components/digi-header-avatar.js +4 -4
- package/components/digi-header-navigation-item.js +1 -1
- package/components/digi-header-navigation.js +7 -7
- package/components/digi-header-notification.js +1 -1
- package/components/digi-header.js +10 -10
- package/components/digi-icon-accessibility-deaf.js +1 -1
- package/components/digi-icon-accessibility-universal.js +1 -1
- package/components/digi-icon-apple.js +1 -1
- package/components/digi-icon-archive-outline.js +1 -1
- package/components/digi-icon-archive.js +1 -1
- package/components/digi-icon-arrow-back.js +1 -1
- package/components/digi-icon-arrow-down.js +1 -1
- package/components/digi-icon-arrow-left.js +1 -1
- package/components/digi-icon-arrow-right.js +1 -1
- package/components/digi-icon-arrow-sign-in.js +1 -1
- package/components/digi-icon-arrow-sign-out.js +1 -1
- package/components/digi-icon-arrow-up.js +1 -1
- package/components/digi-icon-at.js +1 -1
- package/components/digi-icon-bars.js +1 -1
- package/components/digi-icon-bell-filled.js +1 -1
- package/components/digi-icon-bell.js +1 -1
- package/components/digi-icon-book.js +1 -1
- package/components/digi-icon-bookmark-outline.js +1 -1
- package/components/digi-icon-bookmark-solid.js +1 -1
- package/components/digi-icon-bubble-ellipsis.js +1 -1
- package/components/digi-icon-bubble.js +1 -1
- package/components/digi-icon-building-outline.js +1 -1
- package/components/digi-icon-building-solid.js +1 -1
- package/components/digi-icon-bullseye.js +1 -1
- package/components/digi-icon-calculator-solid.js +1 -1
- package/components/digi-icon-calendar-alt-alert.js +1 -1
- package/components/digi-icon-calendar-alt.js +1 -1
- package/components/digi-icon-calendar.js +1 -1
- package/components/digi-icon-caret-circle-right.js +1 -1
- package/components/digi-icon-caret-down.js +1 -1
- package/components/digi-icon-caret-left.js +1 -1
- package/components/digi-icon-caret-right.js +1 -1
- package/components/digi-icon-caret-up.js +1 -1
- package/components/digi-icon-chart.js +1 -1
- package/components/digi-icon-chat.js +1 -1
- package/components/digi-icon-check-circle-reg-alt.js +1 -1
- package/components/digi-icon-check-circle-solid.js +1 -1
- package/components/digi-icon-check.js +1 -1
- package/components/digi-icon-checklist.js +1 -1
- package/components/digi-icon-chevron-down.js +1 -1
- package/components/digi-icon-chevron-left.js +1 -1
- package/components/digi-icon-chevron-right.js +1 -1
- package/components/digi-icon-chevron-up.js +1 -1
- package/components/digi-icon-clock.js +1 -1
- package/components/digi-icon-communication-play-solid.js +1 -1
- package/components/digi-icon-compress-alt.js +1 -1
- package/components/digi-icon-comunication-case.js +1 -1
- package/components/digi-icon-comunication-flag.js +1 -1
- package/components/digi-icon-comunication-graduate.js +1 -1
- package/components/digi-icon-comunication-play.js +1 -1
- package/components/digi-icon-cooperation.js +1 -1
- package/components/digi-icon-copy.js +1 -1
- package/components/digi-icon-danger-outline.js +1 -1
- package/components/digi-icon-download.js +1 -1
- package/components/digi-icon-dxa.js +1 -1
- package/components/digi-icon-edit.js +1 -1
- package/components/digi-icon-ellipsis.js +1 -1
- package/components/digi-icon-envelope-filled.js +1 -1
- package/components/digi-icon-envelope.js +1 -1
- package/components/digi-icon-exclamation-circle-filled.js +1 -1
- package/components/digi-icon-exclamation-triangle-filled.js +1 -1
- package/components/digi-icon-exclamation-triangle-warning.js +1 -1
- package/components/digi-icon-exclamation-triangle.js +1 -1
- package/components/digi-icon-expand-alt.js +1 -1
- package/components/digi-icon-external-link-alt.js +1 -1
- package/components/digi-icon-eye-slash.js +1 -1
- package/components/digi-icon-eye.js +1 -1
- package/components/digi-icon-facebook-square.js +1 -1
- package/components/digi-icon-file-add.js +1 -1
- package/components/digi-icon-file-document.js +1 -1
- package/components/digi-icon-file-excel.js +1 -1
- package/components/digi-icon-file-export.js +1 -1
- package/components/digi-icon-file-governing.js +1 -1
- package/components/digi-icon-file-pdf.js +1 -1
- package/components/digi-icon-file-powerpoint.js +1 -1
- package/components/digi-icon-file-remove.js +1 -1
- package/components/digi-icon-file-word.js +1 -1
- package/components/digi-icon-film.js +1 -1
- package/components/digi-icon-filter.js +1 -1
- package/components/digi-icon-folder-add.js +1 -1
- package/components/digi-icon-folder-directory.js +1 -1
- package/components/digi-icon-folder-open.js +1 -1
- package/components/digi-icon-folder.js +1 -1
- package/components/digi-icon-globe-filled.js +1 -1
- package/components/digi-icon-globe.js +1 -1
- package/components/digi-icon-headphones.js +1 -1
- package/components/digi-icon-heart-solid.js +1 -1
- package/components/digi-icon-heart.js +1 -1
- package/components/digi-icon-history.js +1 -1
- package/components/digi-icon-home.js +1 -1
- package/components/digi-icon-image.js +1 -1
- package/components/digi-icon-info-circle-solid.js +1 -1
- package/components/digi-icon-input-select-marker.js +1 -1
- package/components/digi-icon-instagram.js +1 -1
- package/components/digi-icon-job-suggestion.js +1 -1
- package/components/digi-icon-language-outline.js +1 -1
- package/components/digi-icon-language.js +1 -1
- package/components/digi-icon-laptop-phone.js +1 -1
- package/components/digi-icon-lattlast.js +1 -1
- package/components/digi-icon-licence-bus.js +1 -1
- package/components/digi-icon-licence-car.js +1 -1
- package/components/digi-icon-licence-motorcycle.js +1 -1
- package/components/digi-icon-licence-truck.js +1 -1
- package/components/digi-icon-lightbulb.js +1 -1
- package/components/digi-icon-linkedin-in.js +1 -1
- package/components/digi-icon-list-ul.js +1 -1
- package/components/digi-icon-lock.js +1 -1
- package/components/digi-icon-marker-filled.js +1 -1
- package/components/digi-icon-marker.js +1 -1
- package/components/digi-icon-media-course.js +1 -1
- package/components/digi-icon-media-podcast.js +1 -1
- package/components/digi-icon-microphone-off.js +1 -1
- package/components/digi-icon-microphone.js +1 -1
- package/components/digi-icon-minus.js +1 -1
- package/components/digi-icon-move.js +1 -1
- package/components/digi-icon-news.js +1 -1
- package/components/digi-icon-notification-error.js +1 -1
- package/components/digi-icon-notification-info.js +1 -1
- package/components/digi-icon-notification-succes.js +1 -1
- package/components/digi-icon-notification-warning.js +1 -1
- package/components/digi-icon-online-computervideo.js +1 -1
- package/components/digi-icon-online-interview.js +1 -1
- package/components/digi-icon-online-meeting.js +1 -1
- package/components/digi-icon-online-task.js +1 -1
- package/components/digi-icon-online-video.js +1 -1
- package/components/digi-icon-open-source.js +1 -1
- package/components/digi-icon-palette.js +1 -1
- package/components/digi-icon-paperclip.js +1 -1
- package/components/digi-icon-paste.js +1 -1
- package/components/digi-icon-pen.js +1 -1
- package/components/digi-icon-phone-hangup.js +1 -1
- package/components/digi-icon-phone.js +1 -1
- package/components/digi-icon-pinned-outline.d.ts +11 -0
- package/components/digi-icon-pinned-outline.js +51 -0
- package/components/digi-icon-pinned-solid.d.ts +11 -0
- package/components/digi-icon-pinned-solid.js +51 -0
- package/components/digi-icon-plus.js +1 -1
- package/components/digi-icon-pod.js +1 -1
- package/components/digi-icon-print.js +3 -3
- package/components/digi-icon-read.js +3 -3
- package/components/digi-icon-redo.js +3 -3
- package/components/digi-icon-scale.js +2 -2
- package/components/digi-icon-screensharing-off.js +3 -3
- package/components/digi-icon-screensharing.js +3 -3
- package/components/digi-icon-search.js +1 -1
- package/components/digi-icon-send-outline.js +3 -3
- package/components/digi-icon-send-solid.js +3 -3
- package/components/digi-icon-settings.js +3 -3
- package/components/digi-icon-share-alt.js +3 -3
- package/components/digi-icon-share-chain.js +3 -3
- package/components/digi-icon-sign.js +3 -3
- package/components/digi-icon-sliders-h.js +3 -3
- package/components/digi-icon-sokkandidat.js +3 -3
- package/components/digi-icon-sort-down.js +3 -3
- package/components/digi-icon-sort-up.js +3 -3
- package/components/digi-icon-sort.js +3 -3
- package/components/digi-icon-spinner.js +1 -1
- package/components/digi-icon-star-reg.js +3 -3
- package/components/digi-icon-star.js +3 -3
- package/components/digi-icon-suitcase-outline.js +3 -3
- package/components/digi-icon-suitcase-solid.js +3 -3
- package/components/digi-icon-system-assistance.js +3 -3
- package/components/digi-icon-table-column.js +3 -3
- package/components/digi-icon-table-row.js +3 -3
- package/components/digi-icon-table.js +1 -1
- package/components/digi-icon-task-done.js +3 -3
- package/components/digi-icon-toggle-off.js +3 -3
- package/components/digi-icon-toggle-on.js +3 -3
- package/components/digi-icon-trash.js +1 -1
- package/components/digi-icon-twitter.js +3 -3
- package/components/digi-icon-tyck-till.js +3 -3
- package/components/digi-icon-unlock.js +3 -3
- package/components/digi-icon-update.js +3 -3
- package/components/digi-icon-upload.js +3 -3
- package/components/digi-icon-user-add.js +2 -2
- package/components/digi-icon-user-alt.js +3 -3
- package/components/digi-icon-user-edit.js +2 -2
- package/components/digi-icon-users-solid.js +3 -3
- package/components/digi-icon-validation-error.js +1 -1
- package/components/digi-icon-validation-success.js +1 -1
- package/components/digi-icon-validation-warning.js +1 -1
- package/components/digi-icon-videocamera-off.js +3 -3
- package/components/digi-icon-videocamera.js +3 -3
- package/components/digi-icon-volume.js +3 -3
- package/components/digi-icon-web-tv.js +3 -3
- package/components/digi-icon-webinar.js +1 -1
- package/components/digi-icon-wifi-signal0.js +3 -3
- package/components/digi-icon-wifi-signal1.js +3 -3
- package/components/digi-icon-wifi-signal2.js +3 -3
- package/components/digi-icon-wifi-signal3.js +3 -3
- package/components/digi-icon-window.js +3 -3
- package/components/digi-icon-x-button-outline.js +1 -1
- package/components/digi-icon-x-button.js +3 -3
- package/components/digi-icon-x.js +1 -1
- package/components/digi-icon-youtube.js +3 -3
- package/components/digi-info-card-multi-container.js +3 -3
- package/components/digi-info-card-multi.js +12 -12
- package/components/digi-info-card.js +6 -6
- package/components/digi-layout-block.js +1 -1
- package/components/digi-layout-columns.js +1 -1
- package/components/digi-layout-container.js +1 -1
- package/components/digi-link-button.js +4 -4
- package/components/digi-link-external.js +1 -1
- package/components/digi-link-internal.js +1 -1
- package/components/digi-link.js +1 -1
- package/components/digi-list.js +4 -4
- package/components/digi-loader-skeleton.js +4 -4
- package/components/digi-loader-spinner.js +3 -3
- package/components/digi-logo.js +2 -2
- package/components/digi-media-figure.js +2 -2
- package/components/digi-media-image.js +1 -1
- package/components/digi-navigation-breadcrumbs.js +3 -3
- package/components/digi-navigation-pagination.js +13 -13
- package/components/digi-navigation-sidebar-button.js +1 -1
- package/components/digi-navigation-sidebar.js +8 -8
- package/components/digi-navigation-vertical-menu-item.js +10 -10
- package/components/digi-navigation-vertical-menu.js +2 -2
- package/components/digi-notification-alert.js +1 -1
- package/components/digi-notification-error-page.js +8 -8
- package/components/digi-progress-circle.js +11 -11
- package/components/digi-progress-indicator.js +8 -8
- package/components/digi-progress-list-item.js +10 -10
- package/components/digi-progress-list.js +3 -3
- package/components/digi-progressbar.js +3 -3
- package/components/digi-quote.js +4 -4
- package/components/digi-table.js +2 -2
- package/components/digi-tablist-panel.js +3 -3
- package/components/digi-tablist.js +9 -9
- package/components/digi-tag-media.js +1 -1
- package/components/digi-tag.js +4 -4
- package/components/digi-title-logo.js +4 -4
- package/components/digi-tools-feedback-banner.js +7 -7
- package/components/digi-tools-feedback-rating.js +8 -8
- package/components/digi-tools-feedback.js +6 -6
- package/components/digi-tools-theme-provider.js +18 -6
- package/components/digi-typography-heading-jumbo.js +2 -2
- package/components/digi-typography-meta.js +2 -2
- package/components/digi-typography-preamble.js +2 -2
- package/components/digi-typography-time.js +2 -2
- package/components/digi-typography.js +1 -1
- package/components/digi-util-breakpoint-observer.js +1 -1
- package/components/digi-util-detect-click-outside.js +2 -2
- package/components/digi-util-detect-focus-outside.js +2 -2
- package/components/digi-util-intersection-observer.js +1 -1
- package/components/digi-util-keydown-handler.js +1 -1
- package/components/digi-util-keyup-handler.js +2 -2
- package/components/digi-util-mutation-observer.js +2 -2
- package/components/digi-util-resize-observer.js +1 -1
- package/components/index.d.ts +4 -0
- package/components/index.js +4 -2
- package/components/{p-DzMqsksW.js → p--YLJRmLS.js} +1 -1
- package/components/{p-j6hU5g8v.js → p-3_Ck_BWU.js} +1 -1
- package/components/{p-DuUoUwEX.js → p-3gn423rU.js} +1 -1
- package/components/{p-Dx-5cy0B.js → p-7vfdf-4U.js} +2 -2
- package/components/{p-ByKDOKCB.js → p-9jEKJ0Z1.js} +1 -1
- package/components/{p-CFKli2ZP.js → p-B1SX79Lf.js} +12 -12
- package/components/{p-DfPvXKmk.js → p-BAki-15a.js} +4 -4
- package/components/{p-B9X4QoP1.js → p-BEM3xA-3.js} +1 -1
- package/components/{p-ZfiJJzQV.js → p-BMr1lQHh.js} +4 -4
- package/components/p-BYZUJ0Q_.js +13 -0
- package/components/{p-CRD0hezb.js → p-BYhBNgOq.js} +1 -1
- package/components/{p-gwz6hJD5.js → p-BbUUrG89.js} +4 -4
- package/components/{p-BwaJiJIY.js → p-BcQq1buB.js} +3 -3
- package/components/{p-B5rQEJRl.js → p-BhTtquMq.js} +1 -1
- package/components/{p-JYx82Uq5.js → p-Bo9oHR9D.js} +2 -2
- package/components/{p-BAcO-_v6.js → p-BoRUMRYW.js} +3 -3
- package/components/{p-DM7ri9ij.js → p-Bum9Wl5q.js} +1 -1
- package/components/{p-9yZ8MkKB.js → p-ByP83DBh.js} +1 -1
- package/components/{p-B52WqcLL.js → p-BzMmHCSB.js} +3 -3
- package/components/{p-Dkkqnyvt.js → p-BzRQHXkk.js} +2 -2
- package/components/{p-CPd-wdmx.js → p-C1N2PQN-.js} +1 -1
- package/components/{p-DuCSb7t2.js → p-C4Rio9hG.js} +4 -4
- package/components/{p-D3NaScd-.js → p-C56QOHRm.js} +2 -2
- package/components/{p-Btxc8-7d.js → p-C9ikwWQF.js} +1 -1
- package/components/{p-D25SKu6u.js → p-COxjzMep.js} +1 -1
- package/components/{p-C78m82Rf.js → p-CPm-RoEd.js} +3 -3
- package/components/{p-C_QClvB3.js → p-CSoVvaRi.js} +2 -2
- package/components/{p-BLg30Nwp.js → p-CTRQoc6X.js} +4 -4
- package/components/{p-ufViM5Cw.js → p-CYqDOjSd.js} +1 -1
- package/components/p-C_liG3my.js +187 -0
- package/components/{p-vPt8dU-w.js → p-CdDAC2KP.js} +6 -6
- package/components/{p-DSViBXPk.js → p-CniVam4y.js} +1 -1
- package/components/{p-Cvav6Zii.js → p-CoG9RI4t.js} +9 -9
- package/components/{p-DDdKfPB2.js → p-Cox56BXy.js} +1 -1
- package/components/{p-Da4DC6JH.js → p-CpZg6Iuo.js} +3 -3
- package/components/{p-0pTevzmo.js → p-Cutmptn8.js} +1 -1
- package/components/{p-Clu0dmMh.js → p-Cv0Cyn8V.js} +3 -3
- package/components/{p-BAvswBIm.js → p-D-9_MtYO.js} +1 -1
- package/components/{p-DQffm-zO.js → p-D2V5o06c.js} +1 -1
- package/components/{p-lCg8m0Vp.js → p-D4cmAdFA.js} +1 -1
- package/components/{p-yr6fJVG7.js → p-D6eLfacz.js} +3 -3
- package/components/{p-CHcoyQqn.js → p-D9Zr5gxY.js} +1 -1
- package/components/p-DBmmQq4n.js +72 -0
- package/components/{p-Cx7z0TpR.js → p-DNfqowYt.js} +5 -5
- package/components/{p-C3gwKG__.js → p-DOWTB5mR.js} +3 -3
- package/components/{p-BSqaPumD.js → p-DZPk68vC.js} +1 -1
- package/components/{p-DyeN0VXA.js → p-DjL5-P92.js} +3 -3
- package/components/{p-B1vU92GF.js → p-DlsE_Lbj.js} +1 -1
- package/components/{p-BuFEmZWK.js → p-Dq3Gzvuj.js} +8 -8
- package/components/{p-Cr3ZjaID.js → p-DqNSLz9m.js} +1 -1
- package/components/{p-CEEeEPgV.js → p-Dr245DlL.js} +12 -12
- package/components/{p-xg6SL8Ol.js → p-DrBrWBJQ.js} +3 -3
- package/components/{p-C9gm6GTK.js → p-Dszhojo9.js} +3 -3
- package/components/{p-21r8fFPs.js → p-LELn8zbj.js} +1 -1
- package/components/{p-Tzpy9Emd.js → p-LNwPopMi.js} +2 -2
- package/components/{p-DB2hM8IT.js → p-OmyagUm4.js} +2 -2
- package/components/{p-BE0Q61cx.js → p-eGGSFWHS.js} +3 -3
- package/components/{p-CJBwsEXx.js → p-h1nZNGEe.js} +1 -1
- package/components/{p-BuSfM47i.js → p-h53xLQkQ.js} +1 -1
- package/components/{p-DjLYKa5C.js → p-jCc3FoaU.js} +3 -3
- package/components/{p-Dp4FImPF.js → p-p8vuAfHZ.js} +1 -1
- package/components/p-sBkGihbY.js +172 -0
- package/components/{p-UFKWBr0k.js → p-uOfm1exc.js} +2 -2
- package/components/{p-zwXFclxm.js → p-wHuigUnv.js} +2 -2
- package/custom-elements.json +54 -0
- package/dist/cjs/{code-example-variation.enum-Cq-BioXW.js → code-example-variation.enum-BCENTUV2.js} +6 -0
- package/dist/cjs/digi-arbetsformedlingen.cjs.js +2 -2
- package/dist/cjs/digi-badge-notification.cjs.entry.js +1 -1
- package/dist/cjs/digi-badge-status.cjs.entry.js +2 -2
- package/dist/cjs/digi-bar-chart.cjs.entry.js +1 -1
- package/dist/cjs/digi-button_83.cjs.entry.js +8868 -0
- package/dist/cjs/digi-calendar-week-view.cjs.entry.js +51 -52
- package/dist/cjs/digi-chart-line.cjs.entry.js +1 -1
- package/dist/cjs/{digi-code-block_3.cjs.entry.js → digi-code-block_2.cjs.entry.js} +5 -146
- package/dist/cjs/digi-code-example.cjs.entry.js +9 -10
- package/dist/cjs/digi-code.cjs.entry.js +1 -1
- package/dist/cjs/digi-dialog.cjs.entry.js +5 -25
- package/dist/cjs/digi-expandable-accordion.cjs.entry.js +1 -1
- package/dist/cjs/digi-expandable-faq.cjs.entry.js +1 -1
- package/dist/cjs/digi-form-error-list.cjs.entry.js +4 -24
- package/dist/cjs/digi-form-input-search.cjs.entry.js +7 -9
- package/dist/cjs/digi-form-radiogroup.cjs.entry.js +1 -1
- package/dist/cjs/digi-form-receipt.cjs.entry.js +4 -24
- package/dist/cjs/digi-form-textarea.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-accessibility-deaf.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-apple.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-archive-outline.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-archive.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-arrow-back.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-arrow-down.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-arrow-left.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-arrow-right.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-arrow-sign-in.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-arrow-sign-out.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-arrow-up.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-at.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-bell.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-book.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-bookmark-outline.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-bookmark-solid.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-bubble-ellipsis.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-bubble.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-building-outline.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-building-solid.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-bullseye.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-calculator-solid.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-calendar-alt-alert.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-calendar.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-caret-circle-right.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-caret-down_2.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-caret-left.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-caret-right.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-chart_2.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-chat.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-check-circle-reg-alt.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-checklist.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-chevron-up.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-clock.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-communication-play-solid.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-compress-alt.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-comunication-case.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-comunication-flag.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-comunication-graduate.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-comunication-play.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-cooperation.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-danger-outline.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-download.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-dxa.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-edit.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-ellipsis.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-envelope-filled.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-exclamation-circle-filled.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-exclamation-triangle-filled.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-exclamation-triangle-warning.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-exclamation-triangle.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-expand-alt.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-eye-slash.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-eye.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-facebook-square.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-file-add.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-file-document.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-file-excel.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-file-export.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-file-governing.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-file-pdf.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-file-powerpoint.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-file-remove.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-file-word.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-film.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-filter.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/digi-icon-headphones.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-heart-solid.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-heart.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-history.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-home.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-image.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-info-circle-solid.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-instagram.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-job-suggestion.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-language-outline.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-language.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-laptop-phone.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-lattlast.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-licence-bus.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-licence-car.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-licence-motorcycle.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-licence-truck.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-lightbulb.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-linkedin-in.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-lock.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-marker-filled.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-marker.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-media-course.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-media-podcast.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-microphone-off.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-microphone.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-move.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-online-interview.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-online-meeting.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-online-task.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-open-source.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-palette.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-paste.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-pen.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-phone-hangup.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-phone.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-pinned-outline.cjs.entry.js +28 -0
- package/dist/cjs/digi-icon-pinned-solid.cjs.entry.js +28 -0
- package/dist/cjs/digi-icon-print.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-read.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-redo.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-scale.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-screensharing-off.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-screensharing.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-search.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-send-outline.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-send-solid.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-settings.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-share-alt.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-share-chain.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-sliders-h.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-sokkandidat.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-sort-down.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-sort-up.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-sort.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-star-reg.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-star.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-suitcase-outline.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-suitcase-solid.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-system-assistance.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-table-column.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-table-row.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-task-done.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-toggle-off.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-toggle-on.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-twitter.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-tyck-till.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-unlock.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-update.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-upload.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-user-add.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-user-alt.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-user-edit.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-users-solid.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-videocamera-off.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-videocamera.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-volume.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-web-tv.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-wifi-signal0.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-wifi-signal1.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-wifi-signal2.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-wifi-signal3.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-window.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-x-button.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-youtube.cjs.entry.js +3 -3
- package/dist/cjs/digi-list.cjs.entry.js +2 -2
- package/dist/cjs/digi-loader-skeleton.cjs.entry.js +4 -4
- package/dist/cjs/digi-loader-spinner.cjs.entry.js +2 -2
- package/dist/cjs/digi-media-figure.cjs.entry.js +2 -2
- package/dist/cjs/digi-navigation-breadcrumbs.cjs.entry.js +3 -3
- package/dist/cjs/digi-navigation-pagination.cjs.entry.js +10 -30
- package/dist/cjs/digi-navigation-sidebar.cjs.entry.js +4 -4
- package/dist/cjs/digi-notification-error-page.cjs.entry.js +7 -27
- package/dist/cjs/digi-progress-circle.cjs.entry.js +9 -9
- package/dist/cjs/digi-progress-list-item.cjs.entry.js +7 -7
- package/dist/cjs/digi-progress-list.cjs.entry.js +2 -2
- package/dist/cjs/digi-progressbar.cjs.entry.js +3 -3
- package/dist/cjs/digi-quote.cjs.entry.js +2 -2
- package/dist/cjs/digi-table.cjs.entry.js +2 -2
- package/dist/cjs/digi-tablist-panel.cjs.entry.js +3 -3
- package/dist/cjs/digi-tablist.cjs.entry.js +6 -6
- package/dist/cjs/digi-tag.cjs.entry.js +2 -2
- package/dist/cjs/digi-tools-feedback-banner.cjs.entry.js +2 -2
- package/dist/cjs/digi-tools-feedback-rating.cjs.entry.js +2 -2
- package/dist/cjs/digi-tools-feedback.cjs.entry.js +7 -27
- package/dist/cjs/digi-typography-meta.cjs.entry.js +2 -2
- package/dist/cjs/digi-typography-time.cjs.entry.js +2 -2
- package/dist/cjs/digi-util-detect-click-outside.cjs.entry.js +2 -2
- package/dist/cjs/digi-util-detect-focus-outside.cjs.entry.js +2 -2
- package/dist/cjs/digi-util-keyup-handler.cjs.entry.js +2 -2
- package/dist/cjs/digi-util-mutation-observer.cjs.entry.js +2 -2
- package/dist/cjs/digi-util-resize-observer.cjs.entry.js +2 -2
- package/dist/cjs/{form-input-type.enum-DvF_MTHK.js → form-input-type.enum-B2CsNSBg.js} +14 -0
- package/dist/cjs/{index-Cn1hHaSy.js → index-D09d7Toa.js} +13 -233
- package/dist/cjs/{index-Bdlw-Iuy.js → index-DUQtADgG.js} +189 -19
- package/dist/cjs/index.cjs.js +173 -189
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/typography-variation.enum-B05du-qd.js +511 -0
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/_badge/badge-status/badge-status.css +3 -3
- package/dist/collection/components/_button/button/button.css +11 -11
- package/dist/collection/components/_calendar/calendar/calendar.css +6 -1
- package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.css +579 -30
- package/dist/collection/components/_code/code-example/code-example.css +6 -0
- package/dist/collection/components/_code/code-example/code-example.js +4 -5
- package/dist/collection/components/_form/form-category-filter/form-category-filter.css +2 -2
- package/dist/collection/components/_form/form-checkbox/form-checkbox.css +591 -27
- package/dist/collection/components/_form/form-file-upload/form-file-upload.css +9 -8
- package/dist/collection/components/_form/form-filter/form-filter.css +3 -4
- package/dist/collection/components/_form/form-radiobutton/form-radiobutton.css +6 -0
- package/dist/collection/components/_form/form-select/form-select.css +2 -2
- package/dist/collection/components/_form/form-select-filter/form-select-filter.css +4 -4
- package/dist/collection/components/_header/header/header.js +2 -2
- package/dist/collection/components/_header/header-avatar/header-avatar.css +576 -26
- package/dist/collection/components/_icon/icon-pinned-outline/icon-pinned-outline.css +15 -0
- package/dist/collection/components/_icon/icon-pinned-outline/icon-pinned-outline.js +129 -0
- package/dist/collection/components/_icon/icon-pinned-solid/icon-pinned-solid.css +15 -0
- package/dist/collection/components/_icon/icon-pinned-solid/icon-pinned-solid.js +129 -0
- 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.css +3 -3
- 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.css +576 -26
- 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/logo/logo.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.css +4 -3
- 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.css +1 -1
- 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.css +3 -3
- 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.css +1 -1
- package/dist/collection/components/_notification/notification-alert/notification-alert.js +2 -2
- package/dist/collection/components/_notification/notification-error-page/notification-error-page.js +3 -3
- package/dist/collection/components/_progress/progress-circle/progress-circle.js +8 -8
- package/dist/collection/components/_progress/progress-indicator/progress-indicator.css +5 -4
- package/dist/collection/components/_progress/progress-indicator/progress-indicator.js +3 -3
- package/dist/collection/components/_progress/progress-list/progress-list.js +1 -1
- package/dist/collection/components/_progress/progress-list-item/progress-list-item.css +2 -2
- 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.css +167 -18
- package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.js +43 -2
- package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.theme.enum.js +5 -0
- package/dist/collection/components/_typography/typography/typography.js +1 -1
- package/dist/collection/components/_typography/typography-heading-jumbo/typography-heading-jumbo.js +1 -1
- package/dist/collection/components/_typography/typography-meta/typography-meta.js +1 -1
- package/dist/collection/components/_typography/typography-preamble/typography-preamble.js +1 -1
- package/dist/collection/components/_typography/typography-time/typography-time.js +1 -1
- package/dist/collection/components/_util/util-breakpoint-observer/util-breakpoint-observer.js +1 -1
- package/dist/collection/components/_util/util-detect-click-outside/util-detect-click-outside.js +1 -1
- package/dist/collection/components/_util/util-detect-focus-outside/util-detect-focus-outside.js +1 -1
- package/dist/collection/components/_util/util-intersection-observer/util-intersection-observer.js +1 -1
- package/dist/collection/components/_util/util-keydown-handler/util-keydown-handler.js +1 -1
- package/dist/collection/components/_util/util-keyup-handler/util-keyup-handler.js +1 -1
- package/dist/collection/components/_util/util-mutation-observer/util-mutation-observer.js +1 -1
- package/dist/collection/components/_util/util-resize-observer/util-resize-observer.js +1 -1
- package/dist/collection/design-tokens/components/_badge-status.variables.scss +1 -1
- package/dist/collection/design-tokens/components/_button.variables.scss +11 -11
- package/dist/collection/design-tokens/components/_calendar-datepicker.variables.scss +1 -2
- package/dist/collection/design-tokens/components/_calendar.variables.scss +2 -1
- package/dist/collection/design-tokens/components/_form-checkbox.variables.scss +1 -1
- package/dist/collection/design-tokens/components/_form-file-upload.variables.scss +5 -3
- package/dist/collection/design-tokens/components/_form-filter.variables.scss +2 -3
- package/dist/collection/design-tokens/components/_form-select-filter.variables.scss +3 -3
- package/dist/collection/design-tokens/components/_form-select.variables.scss +2 -2
- package/dist/collection/design-tokens/components/_link-button.variables.scss +3 -3
- package/dist/collection/design-tokens/components/_navigation-context-menu.variables.scss +1 -1
- package/dist/collection/design-tokens/components/_navigation-vertical-menu-item.variables.scss +3 -3
- package/dist/collection/design-tokens/components/_notification-alert.variables.scss +1 -1
- package/dist/collection/design-tokens/components/_progress-indicator.variables.scss +1 -1
- package/dist/collection/enums.js +1 -0
- package/dist/collection/styles/src/index.scss +17 -3
- package/dist/collection/styles/src/themes/_alias-dark.mixin.scss +122 -0
- package/dist/{digi-arbetsformedlingen/styles/src/_alias.mixin.scss → collection/styles/src/themes/_alias-light.mixin.scss} +22 -8
- package/dist/collection/styles/src/themes/_brand-af18.mixin.scss +22 -8
- package/dist/collection/styles/src/themes/_brand-af25.mixin.scss +151 -8
- package/dist/collection/styles/src/themes/_brand-common.mixin.scss +13 -0
- package/dist/collection/styles/src/themes/_numeric-common.mixin.scss +1 -1
- package/dist/collection/styles/src/tokens-documentation/web-AF25.json +576 -160
- package/dist/collection/styles/src/utils/_box-shadow.mixin.scss +2 -2
- package/dist/digi-arbetsformedlingen/design-tokens/components/_badge-status.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/design-tokens/components/_button.variables.scss +11 -11
- package/dist/digi-arbetsformedlingen/design-tokens/components/_calendar-datepicker.variables.scss +1 -2
- package/dist/digi-arbetsformedlingen/design-tokens/components/_calendar.variables.scss +2 -1
- package/dist/digi-arbetsformedlingen/design-tokens/components/_form-checkbox.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/design-tokens/components/_form-file-upload.variables.scss +5 -3
- package/dist/digi-arbetsformedlingen/design-tokens/components/_form-filter.variables.scss +2 -3
- package/dist/digi-arbetsformedlingen/design-tokens/components/_form-select-filter.variables.scss +3 -3
- package/dist/digi-arbetsformedlingen/design-tokens/components/_form-select.variables.scss +2 -2
- package/dist/digi-arbetsformedlingen/design-tokens/components/_link-button.variables.scss +3 -3
- package/dist/digi-arbetsformedlingen/design-tokens/components/_navigation-context-menu.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/design-tokens/components/_navigation-vertical-menu-item.variables.scss +3 -3
- package/dist/digi-arbetsformedlingen/design-tokens/components/_notification-alert.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/design-tokens/components/_progress-indicator.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.css +1 -1
- package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
- package/dist/digi-arbetsformedlingen/index.esm.js +1 -1
- package/dist/digi-arbetsformedlingen/{p-49405a6b.entry.js → p-00a22b0b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-349377ae.entry.js → p-00be03cc.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-f433a051.entry.js → p-033c85bb.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b805fca3.entry.js → p-04fd11d4.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-491694f1.entry.js → p-05e56a1b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c03e4427.entry.js → p-06722b9b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-d5ba9106.entry.js → p-06800d28.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-0695a8ff.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-7b719ee4.entry.js → p-070363d0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-52448f1d.entry.js → p-07521cb5.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-27b528cd.entry.js → p-08313c3d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c532e578.entry.js → p-0bb896cc.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-dc1c5f85.entry.js → p-0bd72f49.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-06f1e8d5.entry.js → p-0faeb0fd.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-af70ac35.entry.js → p-112743ca.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-7d0db6c6.entry.js → p-14b912cb.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-de339b8e.entry.js → p-154a720d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-fb49eef4.entry.js → p-156b09dd.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-2223b898.entry.js → p-171c7aa8.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-03b0d583.entry.js → p-180374f3.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-1926b93c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-f6890ef8.entry.js → p-19c79253.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-1aadc09d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-612f3432.entry.js → p-1c015701.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-51e6a9c6.entry.js → p-1f3ad303.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-cf284ff4.entry.js → p-20bf8cd5.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-948d191e.entry.js → p-2157aac9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5ff1df44.entry.js → p-22e8fc99.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-f6c4251f.entry.js → p-23bc93c4.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-f664575f.entry.js → p-23c50801.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-7006fb9f.entry.js → p-288a5840.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-288fa95a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-cd14eecd.entry.js → p-29382972.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-530d381d.entry.js → p-2aac365b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-0677374b.entry.js → p-2cceccb9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-3bdcfc41.entry.js → p-3026fc14.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5763857a.entry.js → p-3167c78e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-53231ea3.entry.js → p-3207b63e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-388e876c.entry.js → p-346ea2e8.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-379a34e9.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-381f0a30.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-569e4a1c.entry.js → p-3889843b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-6d9c3ffd.entry.js → p-38ef94a1.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1d7e4cc7.entry.js → p-3aac1d00.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1afb1478.entry.js → p-3d956ad4.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-0beccf83.entry.js → p-3e550778.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b946128b.entry.js → p-3e59199d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a17fd374.entry.js → p-3e77976d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-befc048b.entry.js → p-40950d94.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-fe17ce8a.entry.js → p-40b5e63d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9308e96c.entry.js → p-40cee4e2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-8b2ffccf.entry.js → p-40eef7c0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-560e49a3.entry.js → p-412566b0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-d1d201b6.entry.js → p-41f64877.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b1dc45a1.entry.js → p-43f98e8e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-d3a5a2fc.entry.js → p-45ec18f4.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-bcc91464.entry.js → p-485735a9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-d2f413cc.entry.js → p-4adef0bb.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-976936fb.entry.js → p-4d99c202.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1db1eb0c.entry.js → p-4e34c237.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-6e256f0c.entry.js → p-4e3b34fb.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1f10dbcb.entry.js → p-4e652924.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-18e2ace9.entry.js → p-4f2b8c0f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b3a97f9d.entry.js → p-4f4f05fa.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-3f5aaf98.entry.js → p-511159dd.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-47b59453.entry.js → p-52615929.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-f14ecbe2.entry.js → p-55ec1328.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e33204b1.entry.js → p-57168029.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-6fb37eb6.entry.js → p-5cf33e02.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-5daa575d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-c51c7231.entry.js → p-5e4a9400.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c0d6fd50.entry.js → p-5e996da3.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-30cfae8c.entry.js → p-5fb00a2c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-01fc3146.entry.js → p-60252fa9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-04d13c3b.entry.js → p-61abf8f8.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-fa9b76f7.entry.js → p-62d39849.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-11adffb4.entry.js → p-62e76c7d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-711689b4.entry.js → p-64054503.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-24c07123.entry.js → p-6455507a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b365857e.entry.js → p-64df0bbc.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-d277d58a.entry.js → p-680af5eb.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-7885bd57.entry.js → p-687fa573.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-cf2c83db.entry.js → p-68e02144.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-03a51213.entry.js → p-68e48d9a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-46d987b1.entry.js → p-695ada73.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-58f33e16.entry.js → p-695feb02.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c83f6e87.entry.js → p-698d35aa.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-6b8f46fc.entry.js → p-6a4293b2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-aaaeaee3.entry.js → p-6b81d3f6.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-6d1bdeda.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-7486e346.entry.js → p-6e3fa6a0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b422a713.entry.js → p-710eb1b3.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-750f1fa1.entry.js → p-7422b8fd.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-fa9dcc1f.entry.js → p-7490c209.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-dcd88bf9.entry.js → p-757fb041.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-78c0ef4e.entry.js → p-75e897b5.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-76210dd9.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-06febb93.entry.js → p-768f8955.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c972fe80.entry.js → p-776b7f82.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-77abaf6d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-6ad00cd1.entry.js → p-77ad7b33.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-11dfbd3f.entry.js → p-7b701d82.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-7ca8e9a0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-59e25edb.entry.js → p-7e2d681f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9891c168.entry.js → p-7e3c1218.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-7ee85af0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-5ab2d93e.entry.js → p-8013eb1f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-89999581.entry.js → p-807a2d79.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-66bab1f1.entry.js → p-809bb18a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c42abb26.entry.js → p-83cd9691.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ca072224.entry.js → p-85c16f41.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-8c1744d5.entry.js → p-882e327a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-93b85747.entry.js → p-8e9c761c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-dc0e7c24.entry.js → p-8f2d259c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e972b674.entry.js → p-8fbae44a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1eea4a4b.entry.js → p-9027e02f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-7e650297.entry.js → p-93a6fa8e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-7c15ba94.entry.js → p-997c75e9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b7dc715f.entry.js → p-99a22ee4.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-8cf70849.entry.js → p-99c3df64.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-736795e8.entry.js → p-9a32d5ca.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-fef5a9c7.entry.js → p-9c371a1d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9504f1cc.entry.js → p-9c3830ec.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-0394e694.entry.js → p-9e376586.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-fa3e4481.entry.js → p-9ea8e529.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-CC1-vxoR.js +1 -0
- package/dist/digi-arbetsformedlingen/p-CN1mgrt1.js +1 -0
- package/dist/digi-arbetsformedlingen/p-Cnyfh_8_.js +1 -0
- package/dist/digi-arbetsformedlingen/p-Ooszw6tl.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a257d262.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a394fdc9.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-286b9d33.entry.js → p-a51c022c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-7ffd00b2.entry.js → p-a57d3ae0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-31a58780.entry.js → p-a5a425c5.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-dcc7c2d5.entry.js → p-ab0770c5.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-723ca203.entry.js → p-b1ea38a0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-815704e7.entry.js → p-b2ba576c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e4b2e4d3.entry.js → p-b4cc6011.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-32219c51.entry.js → p-b544fd2c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-36736d99.entry.js → p-b6c279c5.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-aaa248a1.entry.js → p-b9e452ce.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-cfb8fb58.entry.js → p-bb067076.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-8a476690.entry.js → p-bd1a3580.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-589f8096.entry.js → p-bd53fcb1.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-432ff02d.entry.js → p-bdff5a32.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-96b8f1f4.entry.js → p-be0d08e5.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-64977ddd.entry.js → p-bf3a8638.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-373d0fd7.entry.js → p-c01ae726.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-cbd110bc.entry.js → p-c471d5a2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-226b9075.entry.js → p-c4cfdf73.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ed1c9577.entry.js → p-c6262f66.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-c8e74516.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-c569a777.entry.js → p-c9e5115a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-cJjrzQkn.js +3 -0
- package/dist/digi-arbetsformedlingen/p-ca85bc88.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-ada561f1.entry.js → p-ca988802.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a1deddb1.entry.js → p-cb32af0e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-0bc5d162.entry.js → p-ccd7d2d0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-f03ff715.entry.js → p-cfa7c655.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a35bf73f.entry.js → p-cfbcea93.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-54a7833f.entry.js → p-d03d868c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-820bbbe6.entry.js → p-d04453f0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-73a3d732.entry.js → p-d13183a9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-d2939e70.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-21b238af.entry.js → p-d2a48655.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1ac84e74.entry.js → p-d4d64771.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-d4dd422b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d7243054.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-87aa2a4b.entry.js → p-d7e1b868.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-59a79b9d.entry.js → p-d896e0ed.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-91c81669.entry.js → p-da6fa9b2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-dfdc3cf4.entry.js → p-dbb048dd.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-de1eb6fd.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-359a8949.entry.js → p-deb302c2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-de536405.entry.js → p-e0a1d5e3.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1a04f50e.entry.js → p-e0a92ad7.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-dac51f75.entry.js → p-e38bdce1.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e9f34442.entry.js → p-e5e3bc95.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-0bf13471.entry.js → p-e6ac43a8.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-80034767.entry.js → p-eb68b5a9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a00516c2.entry.js → p-ebefba91.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-ed9a8fc0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-686c5ff7.entry.js → p-efa821d7.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-bc21c2f7.entry.js → p-f027225a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-011673b4.entry.js → p-f0d84649.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-f0e1b8a2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-006809ae.entry.js → p-f24d55e5.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-65bfdf81.entry.js → p-f3034c3a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-cf35e157.entry.js → p-f34e27b3.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b82f532a.entry.js → p-f39a7d38.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5a974ef2.entry.js → p-f4fc69b0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-8a38d51e.entry.js → p-f63d1390.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e723b459.entry.js → p-f644c51e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-0c4f5fc8.entry.js → p-f7463302.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-af7e46e4.entry.js → p-f806ee28.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-f86bf1ec.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-d99278e8.entry.js → p-f9c9ae8c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-cbcce4aa.entry.js → p-f9d77caf.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-670237b0.entry.js → p-fa0ca48d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-8c0a1489.entry.js → p-fb3b05bd.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-8a67b724.entry.js → p-fe8f0022.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b12c61e2.entry.js → p-ff9dfdda.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ae37795d.entry.js → p-ffd1add2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-ffef6b56.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-e028368a.entry.js → p-ffffdd61.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/styles/src/index.scss +17 -3
- package/dist/digi-arbetsformedlingen/styles/src/themes/_alias-dark.mixin.scss +122 -0
- package/dist/{collection/styles/src/_alias.mixin.scss → digi-arbetsformedlingen/styles/src/themes/_alias-light.mixin.scss} +22 -8
- package/dist/digi-arbetsformedlingen/styles/src/themes/_brand-af18.mixin.scss +22 -8
- package/dist/digi-arbetsformedlingen/styles/src/themes/_brand-af25.mixin.scss +151 -8
- package/dist/digi-arbetsformedlingen/styles/src/themes/_brand-common.mixin.scss +13 -0
- package/dist/digi-arbetsformedlingen/styles/src/themes/_numeric-common.mixin.scss +1 -1
- package/dist/digi-arbetsformedlingen/styles/src/tokens-documentation/web-AF25.json +576 -160
- package/dist/digi-arbetsformedlingen/styles/src/utils/_box-shadow.mixin.scss +2 -2
- package/dist/esm/{code-example-variation.enum-DGI7Jkg2.js → code-example-variation.enum-Ooszw6tl.js} +7 -1
- package/dist/esm/digi-arbetsformedlingen.js +3 -3
- package/dist/esm/digi-badge-notification.entry.js +1 -1
- package/dist/esm/digi-badge-status.entry.js +2 -2
- package/dist/esm/digi-bar-chart.entry.js +1 -1
- package/dist/esm/digi-button_83.entry.js +8784 -0
- package/dist/esm/digi-calendar-week-view.entry.js +2 -3
- package/dist/esm/digi-chart-line.entry.js +1 -1
- package/dist/esm/{digi-code-block_3.entry.js → digi-code-block_2.entry.js} +5 -145
- package/dist/esm/digi-code-example.entry.js +7 -8
- package/dist/esm/digi-code.entry.js +1 -1
- package/dist/esm/digi-dialog.entry.js +4 -24
- package/dist/esm/digi-expandable-accordion.entry.js +1 -1
- package/dist/esm/digi-expandable-faq.entry.js +1 -1
- package/dist/esm/digi-form-error-list.entry.js +4 -24
- package/dist/esm/digi-form-input-search.entry.js +2 -4
- package/dist/esm/digi-form-radiogroup.entry.js +1 -1
- package/dist/esm/digi-form-receipt.entry.js +4 -24
- package/dist/esm/digi-form-textarea.entry.js +1 -1
- package/dist/esm/digi-icon-accessibility-deaf.entry.js +1 -1
- package/dist/esm/digi-icon-apple.entry.js +1 -1
- package/dist/esm/digi-icon-archive-outline.entry.js +1 -1
- package/dist/esm/digi-icon-archive.entry.js +1 -1
- package/dist/esm/digi-icon-arrow-back.entry.js +1 -1
- package/dist/esm/digi-icon-arrow-down.entry.js +1 -1
- package/dist/esm/digi-icon-arrow-left.entry.js +1 -1
- package/dist/esm/digi-icon-arrow-right.entry.js +1 -1
- package/dist/esm/digi-icon-arrow-sign-in.entry.js +1 -1
- package/dist/esm/digi-icon-arrow-sign-out.entry.js +1 -1
- package/dist/esm/digi-icon-arrow-up.entry.js +1 -1
- package/dist/esm/digi-icon-at.entry.js +1 -1
- package/dist/esm/digi-icon-bell.entry.js +1 -1
- package/dist/esm/digi-icon-book.entry.js +1 -1
- package/dist/esm/digi-icon-bookmark-outline.entry.js +1 -1
- package/dist/esm/digi-icon-bookmark-solid.entry.js +1 -1
- package/dist/esm/digi-icon-bubble-ellipsis.entry.js +1 -1
- package/dist/esm/digi-icon-bubble.entry.js +1 -1
- package/dist/esm/digi-icon-building-outline.entry.js +1 -1
- package/dist/esm/digi-icon-building-solid.entry.js +1 -1
- package/dist/esm/digi-icon-bullseye.entry.js +1 -1
- package/dist/esm/digi-icon-calculator-solid.entry.js +1 -1
- package/dist/esm/digi-icon-calendar-alt-alert.entry.js +1 -1
- package/dist/esm/digi-icon-calendar.entry.js +1 -1
- package/dist/esm/digi-icon-caret-circle-right.entry.js +1 -1
- package/dist/esm/digi-icon-caret-down_2.entry.js +1 -1
- package/dist/esm/digi-icon-caret-left.entry.js +1 -1
- package/dist/esm/digi-icon-caret-right.entry.js +1 -1
- package/dist/esm/digi-icon-chart_2.entry.js +3 -3
- package/dist/esm/digi-icon-chat.entry.js +1 -1
- package/dist/esm/digi-icon-check-circle-reg-alt.entry.js +1 -1
- package/dist/esm/digi-icon-checklist.entry.js +1 -1
- package/dist/esm/digi-icon-chevron-up.entry.js +1 -1
- package/dist/esm/digi-icon-clock.entry.js +1 -1
- package/dist/esm/digi-icon-communication-play-solid.entry.js +1 -1
- package/dist/esm/digi-icon-compress-alt.entry.js +1 -1
- package/dist/esm/digi-icon-comunication-case.entry.js +1 -1
- package/dist/esm/digi-icon-comunication-flag.entry.js +1 -1
- package/dist/esm/digi-icon-comunication-graduate.entry.js +1 -1
- package/dist/esm/digi-icon-comunication-play.entry.js +1 -1
- package/dist/esm/digi-icon-cooperation.entry.js +1 -1
- package/dist/esm/digi-icon-danger-outline.entry.js +1 -1
- package/dist/esm/digi-icon-download.entry.js +1 -1
- package/dist/esm/digi-icon-dxa.entry.js +1 -1
- package/dist/esm/digi-icon-edit.entry.js +1 -1
- package/dist/esm/digi-icon-ellipsis.entry.js +1 -1
- package/dist/esm/digi-icon-envelope-filled.entry.js +1 -1
- package/dist/esm/digi-icon-exclamation-circle-filled.entry.js +1 -1
- package/dist/esm/digi-icon-exclamation-triangle-filled.entry.js +1 -1
- package/dist/esm/digi-icon-exclamation-triangle-warning.entry.js +1 -1
- package/dist/esm/digi-icon-exclamation-triangle.entry.js +1 -1
- package/dist/esm/digi-icon-expand-alt.entry.js +1 -1
- package/dist/esm/digi-icon-eye-slash.entry.js +1 -1
- package/dist/esm/digi-icon-eye.entry.js +1 -1
- package/dist/esm/digi-icon-facebook-square.entry.js +1 -1
- package/dist/esm/digi-icon-file-add.entry.js +1 -1
- package/dist/esm/digi-icon-file-document.entry.js +1 -1
- package/dist/esm/digi-icon-file-excel.entry.js +1 -1
- package/dist/esm/digi-icon-file-export.entry.js +1 -1
- package/dist/esm/digi-icon-file-governing.entry.js +1 -1
- package/dist/esm/digi-icon-file-pdf.entry.js +1 -1
- package/dist/esm/digi-icon-file-powerpoint.entry.js +1 -1
- package/dist/esm/digi-icon-file-remove.entry.js +1 -1
- package/dist/esm/digi-icon-file-word.entry.js +1 -1
- package/dist/esm/digi-icon-film.entry.js +1 -1
- package/dist/esm/digi-icon-filter.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/digi-icon-headphones.entry.js +1 -1
- package/dist/esm/digi-icon-heart-solid.entry.js +1 -1
- package/dist/esm/digi-icon-heart.entry.js +1 -1
- package/dist/esm/digi-icon-history.entry.js +1 -1
- package/dist/esm/digi-icon-home.entry.js +1 -1
- package/dist/esm/digi-icon-image.entry.js +1 -1
- package/dist/esm/digi-icon-info-circle-solid.entry.js +1 -1
- package/dist/esm/digi-icon-instagram.entry.js +1 -1
- package/dist/esm/digi-icon-job-suggestion.entry.js +1 -1
- package/dist/esm/digi-icon-language-outline.entry.js +1 -1
- package/dist/esm/digi-icon-language.entry.js +1 -1
- package/dist/esm/digi-icon-laptop-phone.entry.js +1 -1
- package/dist/esm/digi-icon-lattlast.entry.js +1 -1
- package/dist/esm/digi-icon-licence-bus.entry.js +1 -1
- package/dist/esm/digi-icon-licence-car.entry.js +1 -1
- package/dist/esm/digi-icon-licence-motorcycle.entry.js +1 -1
- package/dist/esm/digi-icon-licence-truck.entry.js +1 -1
- package/dist/esm/digi-icon-lightbulb.entry.js +1 -1
- package/dist/esm/digi-icon-linkedin-in.entry.js +1 -1
- package/dist/esm/digi-icon-lock.entry.js +1 -1
- package/dist/esm/digi-icon-marker-filled.entry.js +1 -1
- package/dist/esm/digi-icon-marker.entry.js +1 -1
- package/dist/esm/digi-icon-media-course.entry.js +1 -1
- package/dist/esm/digi-icon-media-podcast.entry.js +1 -1
- package/dist/esm/digi-icon-microphone-off.entry.js +1 -1
- package/dist/esm/digi-icon-microphone.entry.js +1 -1
- package/dist/esm/digi-icon-move.entry.js +1 -1
- package/dist/esm/digi-icon-online-interview.entry.js +1 -1
- package/dist/esm/digi-icon-online-meeting.entry.js +1 -1
- package/dist/esm/digi-icon-online-task.entry.js +1 -1
- package/dist/esm/digi-icon-open-source.entry.js +1 -1
- package/dist/esm/digi-icon-palette.entry.js +1 -1
- package/dist/esm/digi-icon-paste.entry.js +1 -1
- package/dist/esm/digi-icon-pen.entry.js +1 -1
- package/dist/esm/digi-icon-phone-hangup.entry.js +1 -1
- package/dist/esm/digi-icon-phone.entry.js +1 -1
- package/dist/esm/digi-icon-pinned-outline.entry.js +26 -0
- package/dist/esm/digi-icon-pinned-solid.entry.js +26 -0
- package/dist/esm/digi-icon-print.entry.js +3 -3
- package/dist/esm/digi-icon-read.entry.js +3 -3
- package/dist/esm/digi-icon-redo.entry.js +3 -3
- package/dist/esm/digi-icon-scale.entry.js +2 -2
- package/dist/esm/digi-icon-screensharing-off.entry.js +3 -3
- package/dist/esm/digi-icon-screensharing.entry.js +3 -3
- package/dist/esm/digi-icon-search.entry.js +3 -3
- package/dist/esm/digi-icon-send-outline.entry.js +3 -3
- package/dist/esm/digi-icon-send-solid.entry.js +3 -3
- package/dist/esm/digi-icon-settings.entry.js +3 -3
- package/dist/esm/digi-icon-share-alt.entry.js +3 -3
- package/dist/esm/digi-icon-share-chain.entry.js +3 -3
- package/dist/esm/digi-icon-sliders-h.entry.js +3 -3
- package/dist/esm/digi-icon-sokkandidat.entry.js +3 -3
- package/dist/esm/digi-icon-sort-down.entry.js +3 -3
- package/dist/esm/digi-icon-sort-up.entry.js +3 -3
- package/dist/esm/digi-icon-sort.entry.js +3 -3
- package/dist/esm/digi-icon-star-reg.entry.js +3 -3
- package/dist/esm/digi-icon-star.entry.js +3 -3
- package/dist/esm/digi-icon-suitcase-outline.entry.js +3 -3
- package/dist/esm/digi-icon-suitcase-solid.entry.js +3 -3
- package/dist/esm/digi-icon-system-assistance.entry.js +3 -3
- package/dist/esm/digi-icon-table-column.entry.js +3 -3
- package/dist/esm/digi-icon-table-row.entry.js +3 -3
- package/dist/esm/digi-icon-task-done.entry.js +3 -3
- package/dist/esm/digi-icon-toggle-off.entry.js +3 -3
- package/dist/esm/digi-icon-toggle-on.entry.js +3 -3
- package/dist/esm/digi-icon-twitter.entry.js +3 -3
- package/dist/esm/digi-icon-tyck-till.entry.js +3 -3
- package/dist/esm/digi-icon-unlock.entry.js +3 -3
- package/dist/esm/digi-icon-update.entry.js +3 -3
- package/dist/esm/digi-icon-upload.entry.js +3 -3
- package/dist/esm/digi-icon-user-add.entry.js +2 -2
- package/dist/esm/digi-icon-user-alt.entry.js +3 -3
- package/dist/esm/digi-icon-user-edit.entry.js +2 -2
- package/dist/esm/digi-icon-users-solid.entry.js +3 -3
- package/dist/esm/digi-icon-videocamera-off.entry.js +3 -3
- package/dist/esm/digi-icon-videocamera.entry.js +3 -3
- package/dist/esm/digi-icon-volume.entry.js +3 -3
- package/dist/esm/digi-icon-web-tv.entry.js +3 -3
- package/dist/esm/digi-icon-wifi-signal0.entry.js +3 -3
- package/dist/esm/digi-icon-wifi-signal1.entry.js +3 -3
- package/dist/esm/digi-icon-wifi-signal2.entry.js +3 -3
- package/dist/esm/digi-icon-wifi-signal3.entry.js +3 -3
- package/dist/esm/digi-icon-window.entry.js +3 -3
- package/dist/esm/digi-icon-x-button.entry.js +3 -3
- package/dist/esm/digi-icon-youtube.entry.js +3 -3
- package/dist/esm/digi-list.entry.js +2 -2
- package/dist/esm/digi-loader-skeleton.entry.js +4 -4
- package/dist/esm/digi-loader-spinner.entry.js +2 -2
- package/dist/esm/digi-media-figure.entry.js +2 -2
- package/dist/esm/digi-navigation-breadcrumbs.entry.js +3 -3
- package/dist/esm/digi-navigation-pagination.entry.js +10 -30
- package/dist/esm/digi-navigation-sidebar.entry.js +4 -4
- package/dist/esm/digi-notification-error-page.entry.js +7 -27
- package/dist/esm/digi-progress-circle.entry.js +9 -9
- package/dist/esm/digi-progress-list-item.entry.js +7 -7
- package/dist/esm/digi-progress-list.entry.js +2 -2
- package/dist/esm/digi-progressbar.entry.js +3 -3
- package/dist/esm/digi-quote.entry.js +2 -2
- package/dist/esm/digi-table.entry.js +2 -2
- package/dist/esm/digi-tablist-panel.entry.js +3 -3
- package/dist/esm/digi-tablist.entry.js +6 -6
- package/dist/esm/digi-tag.entry.js +2 -2
- package/dist/esm/digi-tools-feedback-banner.entry.js +2 -2
- package/dist/esm/digi-tools-feedback-rating.entry.js +2 -2
- package/dist/esm/digi-tools-feedback.entry.js +5 -25
- package/dist/esm/digi-typography-meta.entry.js +2 -2
- package/dist/esm/digi-typography-time.entry.js +2 -2
- package/dist/esm/digi-util-detect-click-outside.entry.js +2 -2
- package/dist/esm/digi-util-detect-focus-outside.entry.js +2 -2
- package/dist/esm/digi-util-keyup-handler.entry.js +2 -2
- package/dist/esm/digi-util-mutation-observer.entry.js +2 -2
- package/dist/esm/digi-util-resize-observer.entry.js +2 -2
- package/dist/esm/{form-input-type.enum-BSJH8Lpg.js → form-input-type.enum-CN1mgrt1.js} +15 -1
- package/dist/esm/{index-DnTiPaEs.js → index-Cnyfh_8_.js} +170 -3
- package/dist/esm/{index-BnKuq1L7.js → index-cJjrzQkn.js} +13 -233
- package/dist/esm/index.js +3 -23
- package/dist/esm/loader.js +3 -3
- package/dist/esm/typography-variation.enum-CC1-vxoR.js +511 -0
- package/dist/types/components/_icon/icon-pinned-outline/icon-pinned-outline.d.ts +24 -0
- package/dist/types/components/_icon/icon-pinned-solid/icon-pinned-solid.d.ts +24 -0
- package/dist/types/components/_tools/tools-theme-provider/tools-theme-provider.d.ts +9 -0
- package/dist/types/components/_tools/tools-theme-provider/tools-theme-provider.theme.enum.d.ts +4 -0
- package/dist/types/components.d.ts +135 -0
- package/dist/types/enums.d.ts +1 -0
- package/hydrate/index.js +331 -239
- package/hydrate/index.mjs +331 -239
- package/package.json +1 -1
- package/components/p-BYefdyRg.js +0 -187
- package/components/p-BxG1tqmk.js +0 -172
- package/components/p-DpDyNuVC.js +0 -7
- package/components/p-ZJg8-9ee.js +0 -72
- package/dist/cjs/button-size.enum-DgyvMkwE.js +0 -7
- package/dist/cjs/button-type.enum-2UH0KkO-.js +0 -8
- package/dist/cjs/digi-button.cjs.entry.js +0 -131
- package/dist/cjs/digi-calendar-datepicker.cjs.entry.js +0 -2671
- package/dist/cjs/digi-calendar_2.cjs.entry.js +0 -490
- package/dist/cjs/digi-context-menu.cjs.entry.js +0 -241
- package/dist/cjs/digi-expandable-faq-item.cjs.entry.js +0 -126
- package/dist/cjs/digi-footer-card.cjs.entry.js +0 -30
- package/dist/cjs/digi-footer.cjs.entry.js +0 -79
- package/dist/cjs/digi-form-category-filter.cjs.entry.js +0 -152
- package/dist/cjs/digi-form-checkbox.cjs.entry.js +0 -141
- package/dist/cjs/digi-form-file-upload.cjs.entry.js +0 -633
- package/dist/cjs/digi-form-filter.cjs.entry.js +0 -257
- package/dist/cjs/digi-form-input_8.cjs.entry.js +0 -588
- package/dist/cjs/digi-form-select-filter.cjs.entry.js +0 -652
- package/dist/cjs/digi-header-avatar.cjs.entry.js +0 -98
- package/dist/cjs/digi-header-navigation-item.cjs.entry.js +0 -23
- package/dist/cjs/digi-header-navigation.cjs.entry.js +0 -236
- package/dist/cjs/digi-header-notification.cjs.entry.js +0 -19
- package/dist/cjs/digi-header.cjs.entry.js +0 -115
- package/dist/cjs/digi-icon-accessibility-universal.cjs.entry.js +0 -28
- package/dist/cjs/digi-icon-bars.cjs.entry.js +0 -28
- package/dist/cjs/digi-icon-bell-filled.cjs.entry.js +0 -28
- package/dist/cjs/digi-icon-check-circle-solid_4.cjs.entry.js +0 -97
- package/dist/cjs/digi-icon-check.cjs.entry.js +0 -28
- package/dist/cjs/digi-icon-chevron-down.cjs.entry.js +0 -28
- package/dist/cjs/digi-icon-chevron-left_2.cjs.entry.js +0 -51
- package/dist/cjs/digi-icon-copy.cjs.entry.js +0 -28
- package/dist/cjs/digi-icon-envelope.cjs.entry.js +0 -28
- package/dist/cjs/digi-icon-external-link-alt_2.cjs.entry.js +0 -52
- package/dist/cjs/digi-icon-globe.cjs.entry.js +0 -28
- package/dist/cjs/digi-icon-list-ul_6.cjs.entry.js +0 -143
- package/dist/cjs/digi-icon-minus_2.cjs.entry.js +0 -51
- package/dist/cjs/digi-icon-notification-error_4.cjs.entry.js +0 -97
- package/dist/cjs/digi-icon-sign.cjs.entry.js +0 -28
- package/dist/cjs/digi-icon-spinner.cjs.entry.js +0 -29
- package/dist/cjs/digi-icon-x.cjs.entry.js +0 -28
- package/dist/cjs/digi-info-card-multi-container.cjs.entry.js +0 -17
- package/dist/cjs/digi-info-card-multi.cjs.entry.js +0 -65
- package/dist/cjs/digi-info-card.cjs.entry.js +0 -95
- package/dist/cjs/digi-layout-block_2.cjs.entry.js +0 -101
- package/dist/cjs/digi-layout-columns.cjs.entry.js +0 -37
- package/dist/cjs/digi-link-button.cjs.entry.js +0 -69
- package/dist/cjs/digi-link-internal.cjs.entry.js +0 -39
- package/dist/cjs/digi-link.cjs.entry.js +0 -75
- package/dist/cjs/digi-logo.cjs.entry.js +0 -54
- package/dist/cjs/digi-media-image_2.cjs.entry.js +0 -180
- package/dist/cjs/digi-navigation-sidebar-button.cjs.entry.js +0 -29
- package/dist/cjs/digi-navigation-vertical-menu-item.cjs.entry.js +0 -167
- package/dist/cjs/digi-navigation-vertical-menu.cjs.entry.js +0 -200
- package/dist/cjs/digi-notification-alert.cjs.entry.js +0 -136
- package/dist/cjs/digi-progress-indicator.cjs.entry.js +0 -153
- package/dist/cjs/digi-tag-media.cjs.entry.js +0 -47
- package/dist/cjs/digi-title-logo.cjs.entry.js +0 -129
- package/dist/cjs/digi-tools-theme-provider.cjs.entry.js +0 -29
- package/dist/cjs/digi-typography-heading-jumbo.cjs.entry.js +0 -46
- package/dist/cjs/digi-typography-preamble.cjs.entry.js +0 -17
- package/dist/cjs/digi-typography.cjs.entry.js +0 -22
- package/dist/cjs/digi-util-breakpoint-observer.cjs.entry.js +0 -45
- package/dist/cjs/digi-util-keydown-handler.cjs.entry.js +0 -81
- package/dist/cjs/expandable-faq-item-variation.enum-aKkYAQgd.js +0 -18
- package/dist/cjs/footer-card-variation.enum-BPnpkC45.js +0 -8
- package/dist/cjs/form-checkbox-variation.enum-BfOGU4Qt.js +0 -19
- package/dist/cjs/form-file-upload-variation.enum-xcEOoggr.js +0 -24
- package/dist/cjs/form-input-search-variation.enum-VVfvlVeM.js +0 -8
- package/dist/cjs/form-select-variation.enum-Chx0EWzg.js +0 -44
- package/dist/cjs/form-validation-message-variation.enum-BA5nmCiw.js +0 -8
- package/dist/cjs/index-Snltmefx.js +0 -174
- package/dist/cjs/index-r0sb9TCr.js +0 -66
- package/dist/cjs/info-card-multi-type.enum-DlNiPNfH.js +0 -18
- package/dist/cjs/info-card-variation.enum-prsWZkWC.js +0 -34
- package/dist/cjs/layout-columns-variation.enum-OgD-hvRN.js +0 -23
- package/dist/cjs/layout-container-max-width.enum-DqWtU7WK.js +0 -21
- package/dist/cjs/link-button-variation.enum-03cHZQxx.js +0 -9
- package/dist/cjs/logo-color.enum-BJZv-f6R.js +0 -7
- package/dist/cjs/navigation-vertical-menu-variation.enum-7IUICId3.js +0 -13
- package/dist/cjs/progress-indicator-heading-level.enum-CNarUduE.js +0 -23
- package/dist/cjs/tag-media-icon.enum-DzhiwvjI.js +0 -11
- package/dist/cjs/tools-theme-provider.brand.enum-BzduvCUY.js +0 -7
- package/dist/cjs/typography-heading-jumbo-variation.enum-Di1Jeh0G.js +0 -17
- package/dist/cjs/typography-variation.enum-C4i5DFTI.js +0 -218
- package/dist/digi-arbetsformedlingen/p-02676ad8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-03502083.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0a7713c5.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0ceab8aa.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-13ed7b36.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-14d4737f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1c24271a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2011283f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-244cde0e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-248f2db5.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-25815f15.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-282b7c49.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-29dbb571.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2a7a90f8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-30f40c16.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3384da88.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-343f49e8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-39f86bd3.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3af966c9.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3be003fa.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3c9429bc.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3e4c3a09.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3f9a26ba.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-417042af.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-420860a4.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-44fd4f91.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4b644615.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4ceebd4c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4ddcae7b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-50901461.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-58ecb165.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5963b5a5.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5fb03e89.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6-MpaVf8.js +0 -1
- package/dist/digi-arbetsformedlingen/p-62c7ee21.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-653a99f9.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6750c66b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6aa3d25a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6c704dc0.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6fe8f762.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-700f9097.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-76ada533.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7b5381f9.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7bb882ad.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7d59ccc3.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-83f651ed.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8860c035.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8a01b372.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8b0b9781.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-90c3cf82.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-92b164f8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-98689934.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9bf41f58.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-B8hpiXmh.js +0 -1
- package/dist/digi-arbetsformedlingen/p-BSJH8Lpg.js +0 -1
- package/dist/digi-arbetsformedlingen/p-BfyJgcLA.js +0 -1
- package/dist/digi-arbetsformedlingen/p-BixPaBHw.js +0 -1
- package/dist/digi-arbetsformedlingen/p-BnKuq1L7.js +0 -3
- package/dist/digi-arbetsformedlingen/p-BvWKyXb_.js +0 -1
- package/dist/digi-arbetsformedlingen/p-BvcVTm_t.js +0 -1
- package/dist/digi-arbetsformedlingen/p-C6B2KRZo.js +0 -1
- package/dist/digi-arbetsformedlingen/p-C7xgnp99.js +0 -1
- package/dist/digi-arbetsformedlingen/p-CPzcg9n3.js +0 -1
- package/dist/digi-arbetsformedlingen/p-CgSR-RTl.js +0 -1
- package/dist/digi-arbetsformedlingen/p-Chk3GCYK.js +0 -1
- package/dist/digi-arbetsformedlingen/p-CuhrrYGE.js +0 -1
- package/dist/digi-arbetsformedlingen/p-D0J6vKy3.js +0 -1
- package/dist/digi-arbetsformedlingen/p-DE6sqPn9.js +0 -1
- package/dist/digi-arbetsformedlingen/p-DGI7Jkg2.js +0 -1
- package/dist/digi-arbetsformedlingen/p-DJCufAhy.js +0 -1
- package/dist/digi-arbetsformedlingen/p-DNjGvZvz.js +0 -1
- package/dist/digi-arbetsformedlingen/p-DPkRL9Bv.js +0 -1
- package/dist/digi-arbetsformedlingen/p-DShzaNrQ.js +0 -1
- package/dist/digi-arbetsformedlingen/p-DbBOgLZR.js +0 -1
- package/dist/digi-arbetsformedlingen/p-DpDyNuVC.js +0 -1
- package/dist/digi-arbetsformedlingen/p-DzSu1-K0.js +0 -1
- package/dist/digi-arbetsformedlingen/p-PuRFa9pe.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a29b6fff.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a2c074e3.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a82f06db.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a97ff3f7.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-aa031f34.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ab86e502.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ad08cfb9.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ad329338.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b155edc0.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b306a844.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b407b161.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b6722c64.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b7dcf94d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c673a8b8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c79c12f5.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c95bd3e7.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-cbad0a3d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-cd2ee98a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d0b3c35b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d2d757e8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d5ba4729.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d90d468e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d99e9432.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-dd60c8c5.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e764b97e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e867c5e1.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ea6c360a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f5Ytsp48.js +0 -1
- package/dist/digi-arbetsformedlingen/p-u37CGyZ9.js +0 -1
- package/dist/esm/button-size.enum-C7xgnp99.js +0 -7
- package/dist/esm/button-type.enum-DShzaNrQ.js +0 -8
- package/dist/esm/digi-button.entry.js +0 -129
- package/dist/esm/digi-calendar-datepicker.entry.js +0 -2669
- package/dist/esm/digi-calendar_2.entry.js +0 -487
- package/dist/esm/digi-context-menu.entry.js +0 -239
- package/dist/esm/digi-expandable-faq-item.entry.js +0 -124
- package/dist/esm/digi-footer-card.entry.js +0 -28
- package/dist/esm/digi-footer.entry.js +0 -77
- package/dist/esm/digi-form-category-filter.entry.js +0 -150
- package/dist/esm/digi-form-checkbox.entry.js +0 -139
- package/dist/esm/digi-form-file-upload.entry.js +0 -631
- package/dist/esm/digi-form-filter.entry.js +0 -255
- package/dist/esm/digi-form-input_8.entry.js +0 -579
- package/dist/esm/digi-form-select-filter.entry.js +0 -650
- package/dist/esm/digi-header-avatar.entry.js +0 -96
- package/dist/esm/digi-header-navigation-item.entry.js +0 -21
- package/dist/esm/digi-header-navigation.entry.js +0 -234
- package/dist/esm/digi-header-notification.entry.js +0 -17
- package/dist/esm/digi-header.entry.js +0 -113
- package/dist/esm/digi-icon-accessibility-universal.entry.js +0 -26
- package/dist/esm/digi-icon-bars.entry.js +0 -26
- package/dist/esm/digi-icon-bell-filled.entry.js +0 -26
- package/dist/esm/digi-icon-check-circle-solid_4.entry.js +0 -92
- package/dist/esm/digi-icon-check.entry.js +0 -26
- package/dist/esm/digi-icon-chevron-down.entry.js +0 -26
- package/dist/esm/digi-icon-chevron-left_2.entry.js +0 -48
- package/dist/esm/digi-icon-copy.entry.js +0 -26
- package/dist/esm/digi-icon-envelope.entry.js +0 -26
- package/dist/esm/digi-icon-external-link-alt_2.entry.js +0 -49
- package/dist/esm/digi-icon-globe.entry.js +0 -26
- package/dist/esm/digi-icon-list-ul_6.entry.js +0 -136
- package/dist/esm/digi-icon-minus_2.entry.js +0 -48
- package/dist/esm/digi-icon-notification-error_4.entry.js +0 -92
- package/dist/esm/digi-icon-sign.entry.js +0 -26
- package/dist/esm/digi-icon-spinner.entry.js +0 -27
- package/dist/esm/digi-icon-x.entry.js +0 -26
- package/dist/esm/digi-info-card-multi-container.entry.js +0 -15
- package/dist/esm/digi-info-card-multi.entry.js +0 -63
- package/dist/esm/digi-info-card.entry.js +0 -93
- package/dist/esm/digi-layout-block_2.entry.js +0 -98
- package/dist/esm/digi-layout-columns.entry.js +0 -35
- package/dist/esm/digi-link-button.entry.js +0 -67
- package/dist/esm/digi-link-internal.entry.js +0 -37
- package/dist/esm/digi-link.entry.js +0 -73
- package/dist/esm/digi-logo.entry.js +0 -52
- package/dist/esm/digi-media-image_2.entry.js +0 -177
- package/dist/esm/digi-navigation-sidebar-button.entry.js +0 -27
- package/dist/esm/digi-navigation-vertical-menu-item.entry.js +0 -165
- package/dist/esm/digi-navigation-vertical-menu.entry.js +0 -198
- package/dist/esm/digi-notification-alert.entry.js +0 -134
- package/dist/esm/digi-progress-indicator.entry.js +0 -151
- package/dist/esm/digi-tag-media.entry.js +0 -45
- package/dist/esm/digi-title-logo.entry.js +0 -127
- package/dist/esm/digi-tools-theme-provider.entry.js +0 -27
- package/dist/esm/digi-typography-heading-jumbo.entry.js +0 -44
- package/dist/esm/digi-typography-preamble.entry.js +0 -15
- package/dist/esm/digi-typography.entry.js +0 -20
- package/dist/esm/digi-util-breakpoint-observer.entry.js +0 -43
- package/dist/esm/digi-util-keydown-handler.entry.js +0 -79
- package/dist/esm/expandable-faq-item-variation.enum-C6B2KRZo.js +0 -18
- package/dist/esm/footer-card-variation.enum-DzSu1-K0.js +0 -8
- package/dist/esm/form-checkbox-variation.enum-6-MpaVf8.js +0 -19
- package/dist/esm/form-file-upload-variation.enum-BfyJgcLA.js +0 -24
- package/dist/esm/form-input-search-variation.enum-BvWKyXb_.js +0 -8
- package/dist/esm/form-select-variation.enum-f5Ytsp48.js +0 -44
- package/dist/esm/form-validation-message-variation.enum-B8hpiXmh.js +0 -8
- package/dist/esm/index-BixPaBHw.js +0 -170
- package/dist/esm/index-BsIL3T_0.js +0 -63
- package/dist/esm/info-card-multi-type.enum-u37CGyZ9.js +0 -18
- package/dist/esm/info-card-variation.enum-PuRFa9pe.js +0 -34
- package/dist/esm/layout-columns-variation.enum-DJCufAhy.js +0 -23
- package/dist/esm/layout-container-max-width.enum-CuhrrYGE.js +0 -21
- package/dist/esm/link-button-variation.enum-CPzcg9n3.js +0 -9
- package/dist/esm/logo-color.enum-Chk3GCYK.js +0 -7
- package/dist/esm/navigation-vertical-menu-variation.enum-DPkRL9Bv.js +0 -13
- package/dist/esm/progress-indicator-heading-level.enum-DE6sqPn9.js +0 -23
- package/dist/esm/tag-media-icon.enum-BvcVTm_t.js +0 -11
- package/dist/esm/tools-theme-provider.brand.enum-DpDyNuVC.js +0 -7
- package/dist/esm/typography-heading-jumbo-variation.enum-DNjGvZvz.js +0 -17
- package/dist/esm/typography-variation.enum-D0J6vKy3.js +0 -218
|
@@ -1,631 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment, d as getElement } from './index-BnKuq1L7.js';
|
|
2
|
-
import { _ as _t } from './text-DsO1BTml.js';
|
|
3
|
-
import { r as randomIdGenerator } from './randomIdGenerator.util-BGaIliX6.js';
|
|
4
|
-
import { b as FormFileUploadVariation, a as FormFileUploadValidation, F as FormFileUploadHeadingLevel } from './form-file-upload-variation.enum-BfyJgcLA.js';
|
|
5
|
-
import { U as UtilBreakpointObserverBreakpoints } from './util-breakpoint-observer-breakpoints.enum-DPq588Q4.js';
|
|
6
|
-
import { F as FormValidationMessageVariation } from './form-validation-message-variation.enum-B8hpiXmh.js';
|
|
7
|
-
|
|
8
|
-
const formFileUploadCss = () => `.sc-digi-form-file-upload-h{--digi--form-file-upload--color--background--small--default:var(--digi--color--background--interactive--default--quaternary);--digi--form-file-upload--color--background--small--hover:var(--digi--color--background--interactive--hover--secondary);--digi--form-file-upload--color--background--medium--default:var(--digi--color--background--interactive--default--quaternary);--digi--form-file-upload--color--background--medium--hover:var(--digi--color--background--interactive--hover--secondary);--digi--form-file-upload--color--background--large--default:var(--digi--color--background--interactive--default--quaternary);--digi--form-file-upload--color--background--large--hover:var(--digi--color--background--interactive--hover--secondary);--digi--form-file-upload--color--border--small--default:var(--digi--color--border--interactive--default--on-input-nuance);--digi--form-file-upload--color--border--small--hover:var(--digi--color--border--interactive--hover--primary);--digi--form-file-upload--color--border--medium--default:var(--digi--color--border--interactive--default--on-input-nuance);--digi--form-file-upload--color--border--medium--hover:var(--digi--color--border--interactive--hover--primary);--digi--form-file-upload--color--border--large--default:var(--digi--color--border--interactive--default--on-input-nuance);--digi--form-file-upload--color--border--large--hover:var(--digi--color--border--interactive--hover--primary);--digi--form-file-upload--border-width--small--default:var(--digi--border-width--secondary);--digi--form-file-upload--border-width--small--hover:var(--digi--border-width--primary);--digi--form-file-upload--border-width--medium--default:var(--digi--border-width--secondary);--digi--form-file-upload--border-width--medium--hover:var(--digi--border-width--primary);--digi--form-file-upload--border-width--large--default:var(--digi--border-width--secondary);--digi--form-file-upload--border-width--large--hover:var(--digi--border-width--primary);--digi--form-file-upload--border-style--small--default:var(--digi--global--border-style--none);--digi--form-file-upload--border-style--medium--default:var(--digi--global--border-style--dashed);--digi--form-file-upload--border-style--large--default:var(--digi--global--border-style--dashed);--digi--form-file-upload--border-radius--small--default:var(--digi--border-radius--secondary);--digi--form-file-upload--border-radius--medium--default:var(--digi--border-radius--secondary);--digi--form-file-upload--border-radius--large--default:var(--digi--border-radius--secondary);--digi--form-file-upload--padding--small:var(--digi--gutter--medium) var(--digi--gutter--largest);--digi--form-file-upload--padding--medium:var(--digi--gutter--medium) var(--digi--gutter--medium) var(--digi--global--spacing--largest-2) var(--digi--gutter--medium);--digi--form-file-upload--padding--large:var(--digi--gutter--medium) var(--digi--gutter--medium) var(--digi--global--spacing--largest-2) var(--digi--gutter--medium);--digi--form-file-upload--font-size--small:var(--digi--global--typography--font-size--small);--digi--form-file-upload--font-size--medium:var(--digi--global--typography--font-size--base);--digi--form-file-upload--font-size--large:var(--digi--global--typography--font-size--large);--digi--form-file-upload--heading--font-family:var(--digi--global--typography--font-family--default);--digi--form-file-upload--heading--font-weight:var(--digi--typography--heading-4--font-weight--desktop);--digi--form-file-upload--heading--font-size:var(--digi--typography--heading-4--font-size--desktop);--digi--form-file-upload--heading--font-size--large:var(--digi--typography--heading-4--font-size--desktop-large);--digi--form-file-upload--font-family:var(--digi--global--typography--font-family--default);--digi--form-file-upload--font-weight:var(--digi--typography--form-file-upload--font-weight--desktop);--digi--form-file-upload--button-text--color--default:var(--digi--color--text--interactive--primary);--digi--form-file-upload--button-text--color--hover:var(--digi--color--text--interactive--primary);--digi--form-file-upload--padding--small--icon:var(--digi--global--spacing--smaller) var(--digi--global--spacing--smallest-2);--digi--form-file-upload--padding--medium--icon:var(--digi--global--spacing--base) var(--digi--global--spacing--smallest-2);--digi--form-file-upload--width--small:132px;--digi--form-file-upload--width--medium:304px;--digi--form-file-upload--width--large:inherit;--digi--form-file-upload--border--error:var(--digi--global--border-style--solid) solid;--digi--form-file-upload--border-color--error:var(--digi--color--border--interactive--validation--error);--digi--form-file-upload--border--error--width:var(--digi--border-width--secondary);--digi--form-file-upload--background--error:var(--digi--color--background--interactive--validation--error);container-type:inline-size;display:block;width:100%}.sc-digi-form-file-upload-h a.sc-digi-form-file-upload{font-weight:var(--digi--global--typography--font-weight--semibold);color:var(--digi--color--text--interactive--primary)}.sc-digi-form-file-upload-h .digi-form-file-upload.sc-digi-form-file-upload{font-family:var(--digi--global--typography--font-family--default)}.sc-digi-form-file-upload-h .digi-form-file-upload--small.sc-digi-form-file-upload{--COLOR--BACKGROUND--FILE-LIST:var(--digi--form-file-upload--color--background--small--default);--COLOR--BACKGROUND--DEFAULT:var(--digi--form-file-upload--color--background--small--default);--COLOR--BACKGROUND--HOVER:var(--digi--form-file-upload--color--background--small--hover);--COLOR--BORDER--DEFAULT:var(--digi--form-file-upload--color--border--small--default);--COLOR--BORDER--HOVER:var(--digi--form-file-upload--color--border--small--hover);--BORDER-STYLE--DEFAULT:var(--digi--form-file-upload--border-style--small--default);--BORDER-RADIUS--DEFAULT:var(--digi--form-file-upload--border-radius--small--default);--BORDER-WIDTH--DEFAULT:var(--digi--form-file-upload--border-width--small--default);--WIDTH:var(--digi--form-file-upload--width--small);--FONT-WEIGHT:var(--digi--form-file-upload--font-weight);--PADDING:var(--digi--form-file-upload--padding--small);--ICON--PADDING:var(--digi--form-file-upload--padding--small--icon)}.sc-digi-form-file-upload-h .digi-form-file-upload--medium.sc-digi-form-file-upload{--COLOR--BACKGROUND--FILE-LIST:var(--digi--form-file-upload--color--background--small--default);--COLOR--BACKGROUND--DEFAULT:var(--digi--form-file-upload--color--background--medium--default);--COLOR--BACKGROUND--HOVER:var(--digi--form-file-upload--color--background--medium--hover);--COLOR--BORDER--DEFAULT:var(--digi--form-file-upload--color--border--medium--default);--COLOR--BORDER--HOVER:var(--digi--form-file-upload--color--border--medium--hover);--BORDER-STYLE--DEFAULT:var(--digi--form-file-upload--border-style--medium--default);--BORDER-RADIUS--DEFAULT:var(--digi--form-file-upload--border-radius--medium--default);--BORDER-WIDTH--DEFAULT:var(--digi--form-file-upload--border-width--medium--default);--WIDTH:var(--digi--form-file-upload--width--medium);--FONT-WEIGHT:var(--digi--form-file-upload--font-weight);--PADDING:var(--digi--form-file-upload--padding--medium);--ICON--PADDING:var(--digi--form-file-upload--padding--medium--icon)}.sc-digi-form-file-upload-h .digi-form-file-upload--large.sc-digi-form-file-upload{--COLOR--BACKGROUND--FILE-LIST:var(--digi--form-file-upload--color--background--small--default);--COLOR--BACKGROUND--DEFAULT:var(--digi--form-file-upload--color--background--large--default);--COLOR--BACKGROUND--HOVER:var(--digi--form-file-upload--color--background--large--hover);--COLOR--BORDER--DEFAULT:var(--digi--form-file-upload--color--border--large--default);--COLOR--BORDER--HOVER:var(--digi--form-file-upload--color--border--large--hover);--BORDER-STYLE--DEFAULT:var(--digi--form-file-upload--border-style--large--default);--BORDER-RADIUS--DEFAULT:var(--digi--form-file-upload--border-radius--large--default);--BORDER-WIDTH--DEFAULT:var(--digi--form-file-upload--border-width--large--default);--WIDTH:var(--digi--form-file-upload--width--large);--FONT-WEIGHT:var(--digi--form-file-upload--font-weight);--PADDING:var(--digi--form-file-upload--padding--large);--ICON--PADDING:var(--digi--form-file-upload--padding--medium--icon)}.sc-digi-form-file-upload-h .digi-form-file-upload--has-errors.sc-digi-form-file-upload{--BORDER-STYLE--DEFAULT:var(--digi--form-file-upload--border--error);--COLOR--BORDER--DEFAULT:var(--digi--form-file-upload--border-color--error);--COLOR--BACKGROUND--HOVER:var(--digi--form-file-upload--border-color--error);--BORDER-WIDTH--DEFAULT:var(--digi--form-file-upload--border--error--width);--COLOR--BACKGROUND--DEFAULT:var(--digi--form-file-upload--background--error)}.sc-digi-form-file-upload-h .digi-form-file-upload__spinner.sc-digi-form-file-upload{margin-right:0.5rem;animation:animation__rotation 3s infinite linear;transform-origin:center;--digi--icon--height:1rem}@media (prefers-reduced-motion){.sc-digi-form-file-upload-h .digi-form-file-upload__spinner.sc-digi-form-file-upload{animation:none}}@keyframes animation__rotation{from{transform:rotate(0deg)}to{transform:rotate(359deg)}}.sc-digi-form-file-upload-h .digi-form-file-upload__input.sc-digi-form-file-upload{display:none}.sc-digi-form-file-upload-h .digi-form-file-upload__button.sc-digi-form-file-upload{margin:0 0 auto 0.5rem;text-align:center;white-space:nowrap;background:none;border:none;cursor:pointer;font-weight:var(--digi--typography--button--font-weight--desktop);font-size:var(--digi--typography--body--font-size--desktop);color:var(--digi--form-file-upload--button-text--color--default);display:flex;align-items:center;font-family:var(--digi--global--typography--font-family--default)}.sc-digi-form-file-upload-h .digi-form-file-upload__button.sc-digi-form-file-upload:hover{color:var(--digi--form-file-upload--button-text--color--hover);text-decoration:underline}.sc-digi-form-file-upload-h .digi-form-file-upload__button.sc-digi-form-file-upload:hover .digi-form-file-upload__button-icon.sc-digi-form-file-upload{--digi--icon--color:var(--digi--form-file-upload--button-text--color--hover)}.sc-digi-form-file-upload-h .digi-form-file-upload__button.sc-digi-form-file-upload:focus-visible{outline:2px solid black;outline-offset:2px;box-shadow:0px 0px 0px 5px white;text-decoration:underline}.sc-digi-form-file-upload-h .digi-form-file-upload__button-icon.sc-digi-form-file-upload{--digi--icon--height:1.25rem;--digi--icon--width:1.25rem;--digi--icon--color:var(--digi--color--text--interactive--primary);margin-left:5px;padding:var(--ICON--PADDING);padding-right:0;padding-left:0}.sc-digi-form-file-upload-h .digi-form-file-upload__button-icon.sc-digi-form-file-upload:hover{--digi--icon--color:var(--digi--form-file-upload--button-text--color--hover)}.sc-digi-form-file-upload-h .digi-form-file-upload__upload-area.sc-digi-form-file-upload{border-color:var(--COLOR--BORDER--DEFAULT);border-radius:var(--BORDER-RADIUS--DEFAULT);border-width:var(--BORDER-WIDTH--DEFAULT);border-style:var(--BORDER-STYLE--DEFAULT);max-width:var(--WIDTH);margin:0;display:flex;flex-direction:column;background-color:var(--COLOR--BACKGROUND--DEFAULT);align-items:center;padding:var(--PADDING);margin-bottom:var(--digi--gutter--medium);margin-top:var(--digi--gutter--button-block-small);position:relative;cursor:pointer}.sc-digi-form-file-upload-h .digi-form-file-upload__upload-area--hover.sc-digi-form-file-upload{border-color:var(--COLOR--BORDER--HOVER)}.sc-digi-form-file-upload-h .digi-form-file-upload__upload-area-overlay.sc-digi-form-file-upload{position:absolute;width:100%;height:100%;background-color:var(--COLOR--BACKGROUND--HOVER);opacity:0.1;top:0;left:0;z-index:10}.sc-digi-form-file-upload-h .digi-form-file-upload__text-area.sc-digi-form-file-upload{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.sc-digi-form-file-upload-h .digi-form-file-upload__text-area.sc-digi-form-file-upload .paper-clip.sc-digi-form-file-upload{padding-right:0.5rem}.sc-digi-form-file-upload-h .digi-form-file-upload__files-list.sc-digi-form-file-upload{max-width:none;padding:0;margin:0}.sc-digi-form-file-upload-h .digi-form-file-upload__files.sc-digi-form-file-upload{border-radius:var(--BORDER-RADIUS--DEFAULT);max-width:100%;width:100%;box-sizing:border-box;background-color:var(--COLOR--BACKGROUND--FILE-LIST);padding:var(--digi--gutter--largest-2) var(--digi--padding--large);margin-bottom:var(--digi--gutter--medium);margin-top:var(--digi--gutter--medium);padding-bottom:var(--digi--padding--smaller)}.sc-digi-form-file-upload-h .digi-form-file-upload__files-heading.sc-digi-form-file-upload{font-family:var(--digi--form-file-upload--heading--font-family);font-size:var(--digi--typography--label--font-size--desktop);font-weight:var(--digi--form-file-upload--heading--font-weight);color:var(--digi--color--text--primary);margin:var(--digi--margin--small) 0 var(--digi--margin--medium) 0;display:block}.sc-digi-form-file-upload-h .digi-form-file-upload__files-heading--and-errors.sc-digi-form-file-upload{margin-top:var(--digi--margin--largest)}.sc-digi-form-file-upload-h .digi-form-file-upload__error-list-container.sc-digi-form-file-upload{display:flex;justify-content:space-between;padding-bottom:0.75rem}.sc-digi-form-file-upload-h .digi-form-file-upload__error-list-container.with-files.sc-digi-form-file-upload{border-bottom:var(--BORDER-WIDTH--DEFAULT) solid var(--digi--color--divider--primary)}.sc-digi-form-file-upload-h .digi-form-file-upload__error-list-container.sc-digi-form-file-upload .clear-button.sc-digi-form-file-upload{max-height:1.5rem}.sc-digi-form-file-upload-h .digi-form-file-upload__error-list-container.sc-digi-form-file-upload .clear-button.sc-digi-form-file-upload .clear-icon.sc-digi-form-file-upload{padding-right:0}.sc-digi-form-file-upload-h .digi-form-file-upload__error-list.sc-digi-form-file-upload{margin:0;padding:0}.sc-digi-form-file-upload-h .digi-form-file-upload__error-list.sc-digi-form-file-upload li.sc-digi-form-file-upload{list-style:none;margin-bottom:0.75rem}.sc-digi-form-file-upload-h .digi-form-file-upload__error-list.sc-digi-form-file-upload li.sc-digi-form-file-upload:last-of-type{margin-bottom:0}.sc-digi-form-file-upload-h .digi-form-file-upload__item.sc-digi-form-file-upload{margin:var(--digi--margin--small) 0;margin-bottom:var(--digi--margin--medium);width:100%;box-sizing:border-box}.sc-digi-form-file-upload-h .digi-form-file-upload__item-container.sc-digi-form-file-upload{list-style-type:none}.sc-digi-form-file-upload-h .digi-form-file-upload__item-container.sc-digi-form-file-upload:nth-child(n+2){border-top:var(--BORDER-WIDTH--DEFAULT) solid var(--digi--color--divider--primary)}.sc-digi-form-file-upload-h .digi-form-file-upload__item-pending-container.sc-digi-form-file-upload{display:flex;justify-content:space-between;align-items:center;width:100%}.sc-digi-form-file-upload-h .digi-form-file-upload__item-pending-container.sc-digi-form-file-upload .info-wrapper.sc-digi-form-file-upload{display:flex;justify-content:flex-start;align-items:center;height:auto;min-width:20%}.sc-digi-form-file-upload-h .digi-form-file-upload__item-pending-container.sc-digi-form-file-upload .button-wrapper.sc-digi-form-file-upload{display:flex;min-width:20%;justify-content:flex-end;align-items:center}.sc-digi-form-file-upload-h .digi-form-file-upload__item-pending-container.sc-digi-form-file-upload p.sc-digi-form-file-upload{margin:auto var(--digi--margin--small) !important;font-weight:var(--digi--form-file-upload--font-weight);font-size:var(--digi--typography--body--font-size--desktop);white-space:nowrap;height:max-content;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sc-digi-form-file-upload-h .digi-form-file-upload__item-pending-container.sc-digi-form-file-upload .digi-form-file-upload__button-abort.sc-digi-form-file-upload{margin:0}.sc-digi-form-file-upload-h .digi-form-file-upload__item-text-and-thumbnail-container.sc-digi-form-file-upload{display:flex;align-items:center;justify-content:flex-start;width:100%;min-width:20%}.sc-digi-form-file-upload-h .digi-form-file-upload__item-green-check.sc-digi-form-file-upload{width:1.375rem;height:1.375rem;display:flex;align-self:baseline;position:relative;top:4px;left:0px;margin-right:4px}.sc-digi-form-file-upload-h .digi-form-file-upload__item-green-check-icon.sc-digi-form-file-upload{--digi--icon--height:16px;--digi--icon--width:16px;--digi--icon--color:var(--digi--color--icon--validation--success);min-height:0;width:16px;height:16px;background-color:var(--digi--color--background--primary);border-radius:50%;align-self:flex-start}.sc-digi-form-file-upload-h .digi-form-file-upload__item-name.sc-digi-form-file-upload{width:100%;margin:auto 0;font-weight:var(--digi--typography--button--font-weight--desktop);font-size:var(--digi--typography--body--font-size--desktop);height:max-content}.sc-digi-form-file-upload-h .digi-form-file-upload__item-name--thumbnail.sc-digi-form-file-upload{font-weight:var(--digi--typography--button--font-weight--desktop);font-size:var(--digi--typography--body--font-size--desktop);margin:auto 0 auto var(--digi--margin--small);color:var(--digi--form-file-upload--button-text--color--default)}@media (max-width: 500px){.sc-digi-form-file-upload-h .digi-form-file-upload__item-name.sc-digi-form-file-upload{max-width:17.5rem}}.sc-digi-form-file-upload-h .digi-form-file-upload__item-name.sc-digi-form-file-upload:focus-visible{outline:2px solid black;outline-offset:2px;box-shadow:0px 0px 0px 5px white}@container (max-width: 620px){.sc-digi-form-file-upload-h .digi-form-file-upload__item .digi-form-file-upload__item-name{max-width:17.5rem}}.sc-digi-form-file-upload-h .digi-form-file-upload__item-text-container.sc-digi-form-file-upload{position:relative;display:flex;padding:0;margin:0;justify-content:space-between;align-items:center;overflow-wrap:break-word;gap:32px}.sc-digi-form-file-upload-h .digi-form-file-upload__item-text-container-inner.sc-digi-form-file-upload{display:flex;width:100%}.sc-digi-form-file-upload-h .digi-form-file-upload__item-text-container-figure.sc-digi-form-file-upload{margin:0;align-self:flex-start}.sc-digi-form-file-upload-h .digi-form-file-upload__item-text-container-figure.sc-digi-form-file-upload::after{position:absolute;content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' fill-rule='evenodd'%3E%3Ccircle fill='%23FFF' cx='8' cy='8' r='6'/%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Zm-8.925 4.236L13.01 6.3a.516.516 0 0 0 0-.73l-.73-.73a.516.516 0 0 0-.73 0L6.71 9.682l-2.26-2.26a.516.516 0 0 0-.73 0l-.73.73a.516.516 0 0 0 0 .73l3.355 3.355a.516.516 0 0 0 .73 0Z' fill='%23009322'/%3E%3C/g%3E%3C/svg%3E");top:-6px;left:24px;width:18px;height:18px;overflow:hidden}.sc-digi-form-file-upload-h .digi-form-file-upload__item-text-container.sc-digi-form-file-upload .thumbnail.sc-digi-form-file-upload{width:2rem;height:2rem;object-fit:cover;flex-grow:0;margin-right:0.75rem}.sc-digi-form-file-upload-h .digi-form-file-upload__item-text-container.sc-digi-form-file-upload .hidden.sc-digi-form-file-upload{margin-left:var(--digi--margin--larger)}.sc-digi-form-file-upload-h .digi-form-file-upload__item-pdf-preview-bis.sc-digi-form-file-upload{position:relative;top:6px;left:5px;margin-right:1.25rem}.sc-digi-form-file-upload-h .digi-form-file-upload__item-pdf-preview-bis.sc-digi-form-file-upload::after{position:absolute;content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' fill-rule='evenodd'%3E%3Ccircle fill='%23FFF' cx='8' cy='8' r='6'/%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Zm-8.925 4.236L13.01 6.3a.516.516 0 0 0 0-.73l-.73-.73a.516.516 0 0 0-.73 0L6.71 9.682l-2.26-2.26a.516.516 0 0 0-.73 0l-.73.73a.516.516 0 0 0 0 .73l3.355 3.355a.516.516 0 0 0 .73 0Z' fill='%23009322'/%3E%3C/g%3E%3C/svg%3E");top:-7px;left:15px;width:18px;height:18px;overflow:hidden}.sc-digi-form-file-upload-h .digi-form-file-upload__item-info.sc-digi-form-file-upload{width:100%}@container (max-width: 500px){.sc-digi-form-file-upload-h .digi-form-file-upload__item .digi-form-file-upload__item span{margin-left:0;margin-right:auto}}.sc-digi-form-file-upload-h .digi-form-file-upload__error.sc-digi-form-file-upload{color:var(--digi--color--icon--validation--error)}.sc-digi-form-file-upload-h .visually-hidden.sc-digi-form-file-upload{border:0;clip:rect(1px, 1px, 1px, 1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}@container (min-width: 500px){.sc-digi-form-file-upload-h .hidden-desktop{display:none !important}}@container (max-width: 499px){.sc-digi-form-file-upload-h .hidden-mobile{display:none !important}}`;
|
|
9
|
-
|
|
10
|
-
const FormFileUpload = class {
|
|
11
|
-
constructor(hostRef) {
|
|
12
|
-
registerInstance(this, hostRef);
|
|
13
|
-
this.afOnUploadFile = createEvent(this, "afOnUploadFile", 7);
|
|
14
|
-
this.afOnRemoveFile = createEvent(this, "afOnRemoveFile", 7);
|
|
15
|
-
this.afOnCancelFile = createEvent(this, "afOnCancelFile", 7);
|
|
16
|
-
this.afOnReady = createEvent(this, "afOnReady", 3);
|
|
17
|
-
this.afShowModal = createEvent(this, "afShowModal", 7);
|
|
18
|
-
this.files = [];
|
|
19
|
-
this.error = false;
|
|
20
|
-
this.errorMessages = [];
|
|
21
|
-
this.fileHover = false;
|
|
22
|
-
/**
|
|
23
|
-
* Texten till label-elementet. Obligatoriskt fält.
|
|
24
|
-
* @en The label text. Required field.
|
|
25
|
-
*/
|
|
26
|
-
this.afLabel = _t.form.file_upload;
|
|
27
|
-
/**
|
|
28
|
-
* Sätter variant. Kan vara 'small', 'medium' eller 'large'. Oberoende på satt storlek så kommer komponenten bli 'small' på mobilskärmar.
|
|
29
|
-
* @en Set input variation 'small', 'medium' or 'large'. On a mobile screen the variation will be automatically set to 'small'.
|
|
30
|
-
*/
|
|
31
|
-
this.afVariation = FormFileUploadVariation.SMALL;
|
|
32
|
-
/**
|
|
33
|
-
* Sätter attributet 'id'. Om inget väljs så skapas ett slumpmässigt id.
|
|
34
|
-
* @en Input id attribute. Defaults to random string.
|
|
35
|
-
*/
|
|
36
|
-
this.afId = randomIdGenerator('digi-form-file-upload');
|
|
37
|
-
/**
|
|
38
|
-
* Sätter en maximal filstorlek i MB, 10MB är standard.
|
|
39
|
-
* @en Set file max size in MB
|
|
40
|
-
*/
|
|
41
|
-
this.afFileMaxSize = 10;
|
|
42
|
-
/**
|
|
43
|
-
* Sätt denna till true om formuläret innehåller fler obligatoriska fält än valfria.
|
|
44
|
-
* @en Set this to true if the form contains more required fields than optional fields.
|
|
45
|
-
*/
|
|
46
|
-
this.afAnnounceIfOptional = false;
|
|
47
|
-
/**
|
|
48
|
-
* Sätt rubrik för uppladdade filer.
|
|
49
|
-
* @en Set heading for uploaded files.
|
|
50
|
-
*/
|
|
51
|
-
this.afHeadingFiles = _t.form.file_uploaded_files;
|
|
52
|
-
/**
|
|
53
|
-
* Visar miniatyrbild/ikon på uppladdade filer.
|
|
54
|
-
* @en Shows thumbnail.
|
|
55
|
-
*/
|
|
56
|
-
this.afShowThumbnail = false;
|
|
57
|
-
/**
|
|
58
|
-
* Aktiverar förhandsgranskning.
|
|
59
|
-
* @en Activates preview of uploaded files.
|
|
60
|
-
*/
|
|
61
|
-
this.afEnablePreview = false;
|
|
62
|
-
/**
|
|
63
|
-
* Sätter antivirus scan status. Kan vara 'enable' eller 'disabled'.
|
|
64
|
-
* @en Set antivirus scan status. Enable is default.
|
|
65
|
-
*/
|
|
66
|
-
this.afValidation = FormFileUploadValidation.DISABLED;
|
|
67
|
-
/**
|
|
68
|
-
* Sätt rubrikens vikt. 'h2' är förvalt.
|
|
69
|
-
* @en Set heading level. Default is 'h2'
|
|
70
|
-
*/
|
|
71
|
-
this.afHeadingLevel = FormFileUploadHeadingLevel.H2;
|
|
72
|
-
/**
|
|
73
|
-
* Om värdet är true får felmeddelandet attributet role="alert".
|
|
74
|
-
* Om felet visas tillsammans med flera andra fel (till exempel efter servervalidering) ska värdet sättas till false.
|
|
75
|
-
* @en If the value is true, the error message gets the attribute role="alert".
|
|
76
|
-
* If the error is shown together with multiple errors (for example after server-side validation), the value should be set to false.
|
|
77
|
-
*/
|
|
78
|
-
this.afErrorMessageIsAlert = true;
|
|
79
|
-
this.toBase64 = (file) => new Promise((resolve, reject) => {
|
|
80
|
-
const reader = new FileReader();
|
|
81
|
-
reader.readAsDataURL(file);
|
|
82
|
-
reader.onload = () => {
|
|
83
|
-
const encoded = reader.result.toString().replace(/^data:(.*,)?/, '');
|
|
84
|
-
resolve(encoded);
|
|
85
|
-
};
|
|
86
|
-
reader.onerror = (error) => reject(error);
|
|
87
|
-
});
|
|
88
|
-
}
|
|
89
|
-
afValidationTextChange() {
|
|
90
|
-
this.setValidationText();
|
|
91
|
-
}
|
|
92
|
-
get errorMessageIsAlert() {
|
|
93
|
-
return (this.afErrorMessageIsAlert !== false &&
|
|
94
|
-
this.afErrorMessageIsAlert !== 'false');
|
|
95
|
-
}
|
|
96
|
-
breakpointHandler(e) {
|
|
97
|
-
if (e.detail.value) {
|
|
98
|
-
if (e.detail.value === UtilBreakpointObserverBreakpoints.SMALL) {
|
|
99
|
-
this.afVariation = FormFileUploadVariation.SMALL;
|
|
100
|
-
}
|
|
101
|
-
else {
|
|
102
|
-
this.afVariation = this.aforiginalVariation;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
/**
|
|
107
|
-
* Används för att skicka in en validerad fil tillbaks till komponenten. Förväntar sig att filen redan finns i komponenten med status "pending".
|
|
108
|
-
* @en Send a validated file to the component. Expects file to exist in component with status "pending".
|
|
109
|
-
*/
|
|
110
|
-
async afMValidateFile(file) {
|
|
111
|
-
if (!this.fileExistInFiles(file)) {
|
|
112
|
-
return;
|
|
113
|
-
}
|
|
114
|
-
this.removeFileFromList(file['id']);
|
|
115
|
-
if (file['status'] !== 'error') {
|
|
116
|
-
/* Måste göra en kopia av filen för att komponenten ska rendera om sig.
|
|
117
|
-
* Annars kan den peka på samma referens och förstår inte att statusen har ändrats. */
|
|
118
|
-
const copiedFile = new File([file], file.name, { type: file.type });
|
|
119
|
-
copiedFile['id'] = file['id'];
|
|
120
|
-
copiedFile['status'] = file['status'];
|
|
121
|
-
copiedFile['base64'] = await this.toBase64(file);
|
|
122
|
-
this.files = [...this.files, copiedFile];
|
|
123
|
-
}
|
|
124
|
-
else {
|
|
125
|
-
this.validateFile(file);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
/**
|
|
129
|
-
* Få ut alla uppladdade filer
|
|
130
|
-
* @en Get all uploaded files
|
|
131
|
-
*/
|
|
132
|
-
async afMGetAllFiles() {
|
|
133
|
-
return this.files;
|
|
134
|
-
}
|
|
135
|
-
/**
|
|
136
|
-
* Hämta ut komponentens validitets-state och felmeddelanden
|
|
137
|
-
* @en Get component validity and error messages
|
|
138
|
-
*/
|
|
139
|
-
async afMGetValidationState() {
|
|
140
|
-
return { isValid: !this.error, errorMessages: this.errorMessages };
|
|
141
|
-
}
|
|
142
|
-
/**
|
|
143
|
-
* Importera lista med filer utan att trigga uppladdningsevent. Ett objekt måste innehålla id, status och filen själv.
|
|
144
|
-
* @en Import array with files without triggering upload event. A file object needs to contain an id, status and the file itself.
|
|
145
|
-
*/
|
|
146
|
-
async afMImportFiles(files) {
|
|
147
|
-
this.resetErrors();
|
|
148
|
-
if (files && files.length > 0) {
|
|
149
|
-
for (const importedFile of files) {
|
|
150
|
-
this.validateFile(importedFile);
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
const filesThatArOK = this.errorMessages.length === 0 ? files : this.getFilesThatAreOK(files);
|
|
154
|
-
if (filesThatArOK.length === 0) {
|
|
155
|
-
return;
|
|
156
|
-
}
|
|
157
|
-
this.files = this.files.concat(filesThatArOK);
|
|
158
|
-
}
|
|
159
|
-
async afMGetFormControlElement() {
|
|
160
|
-
return this._input;
|
|
161
|
-
}
|
|
162
|
-
/**
|
|
163
|
-
* Rensar komponentens fillista och eventuella felmeddelanden.
|
|
164
|
-
* @en Clears the component's file list and any error messages.
|
|
165
|
-
*/
|
|
166
|
-
async afMClearFiles() {
|
|
167
|
-
this.files = [];
|
|
168
|
-
this.resetErrors();
|
|
169
|
-
}
|
|
170
|
-
/**
|
|
171
|
-
* Lyssnar på om fokus sätts på custom-elementet och propagerar ner det till själva input-elementet.
|
|
172
|
-
* @en Listens for when focus is set on the custom element and propagates it down to the actual input element.
|
|
173
|
-
*/
|
|
174
|
-
focusOnInput() {
|
|
175
|
-
this._input.focus();
|
|
176
|
-
}
|
|
177
|
-
componentWillLoad() {
|
|
178
|
-
this.aforiginalVariation = this.afVariation;
|
|
179
|
-
}
|
|
180
|
-
componentDidLoad() {
|
|
181
|
-
this.hostElement.setAttribute('tabindex', '-1');
|
|
182
|
-
this.afOnReady.emit();
|
|
183
|
-
/* Vid första renderingen så fungerar inte propertyn korrekt om vi inte kallar på setValidationText härifrån.
|
|
184
|
-
* Gissar att det är en tajmin-issue mellan prop och state, men hinner inte gräva i det mer nu. */
|
|
185
|
-
this.setValidationText();
|
|
186
|
-
}
|
|
187
|
-
get fileMaxSize() {
|
|
188
|
-
const MEGABYTE = 1048576;
|
|
189
|
-
return this.afFileMaxSize * MEGABYTE;
|
|
190
|
-
}
|
|
191
|
-
setValidationText() {
|
|
192
|
-
if (this.afValidationText && this.afValidationText.length > 0) {
|
|
193
|
-
let isDuplicated = false;
|
|
194
|
-
if (this.errorMessages.length > 0) {
|
|
195
|
-
this.errorMessages.forEach((error) => {
|
|
196
|
-
if (error.message === this.afValidationText) {
|
|
197
|
-
isDuplicated = true;
|
|
198
|
-
}
|
|
199
|
-
});
|
|
200
|
-
}
|
|
201
|
-
if (!isDuplicated) {
|
|
202
|
-
this.errorMessages.push({
|
|
203
|
-
fileName: '',
|
|
204
|
-
message: this.afValidationText
|
|
205
|
-
});
|
|
206
|
-
}
|
|
207
|
-
this.error = true;
|
|
208
|
-
}
|
|
209
|
-
else {
|
|
210
|
-
this.resetErrors();
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
fileExistInFiles(fileToCheck) {
|
|
214
|
-
let exist = false;
|
|
215
|
-
if (this.files.length > 0) {
|
|
216
|
-
this.files.forEach((file) => {
|
|
217
|
-
if (file['id'] === fileToCheck['id']) {
|
|
218
|
-
exist = true;
|
|
219
|
-
return;
|
|
220
|
-
}
|
|
221
|
-
else if (file.name === fileToCheck.name) {
|
|
222
|
-
exist = true;
|
|
223
|
-
}
|
|
224
|
-
});
|
|
225
|
-
}
|
|
226
|
-
return exist;
|
|
227
|
-
}
|
|
228
|
-
checkAcceptedTypes(file) {
|
|
229
|
-
const acceptedTypes = this.afFileTypes.replace(/\s/g, '').split(',');
|
|
230
|
-
const fileMimeType = file.type;
|
|
231
|
-
const fileNameExtension = file.name
|
|
232
|
-
.split('.')
|
|
233
|
-
.slice(-1)
|
|
234
|
-
.map((item) => '.' + item.toLowerCase())
|
|
235
|
-
.toString();
|
|
236
|
-
return acceptedTypes.some((item) => {
|
|
237
|
-
// Checking against group of mime types
|
|
238
|
-
if (item.includes('/*')) {
|
|
239
|
-
const mimeTypeCategory = item.split('/').slice(0, 1).toString();
|
|
240
|
-
const fileMimeTypeCategory = fileMimeType
|
|
241
|
-
.split('/')
|
|
242
|
-
.slice(0, 1)
|
|
243
|
-
.toString();
|
|
244
|
-
return mimeTypeCategory == fileMimeTypeCategory;
|
|
245
|
-
}
|
|
246
|
-
// Checking against mimetype and extension
|
|
247
|
-
return (item === fileMimeType || item === fileNameExtension || item === '*');
|
|
248
|
-
});
|
|
249
|
-
}
|
|
250
|
-
resetErrors(handleFocus = false) {
|
|
251
|
-
this.error = false;
|
|
252
|
-
this._srTextContainer.textContent = '';
|
|
253
|
-
this.errorMessages = [];
|
|
254
|
-
/* Timeouten behövs för att state och element ska hinna renderas om innan fokus flyttas.
|
|
255
|
-
Vi märkte att det blir problem för hjälpmedel om den inte är på plats. */
|
|
256
|
-
if (handleFocus) {
|
|
257
|
-
setTimeout(() => {
|
|
258
|
-
this._uploadButton.focus();
|
|
259
|
-
}, 100);
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
addErrorMessage(fileName, message) {
|
|
263
|
-
this.errorMessages.push({
|
|
264
|
-
fileName: fileName,
|
|
265
|
-
message: message
|
|
266
|
-
});
|
|
267
|
-
}
|
|
268
|
-
validateFileStatus(file) {
|
|
269
|
-
if (file['status'] &&
|
|
270
|
-
file['status'] === FormValidationMessageVariation.ERROR) {
|
|
271
|
-
const message = file['error']
|
|
272
|
-
? file['error']
|
|
273
|
-
: _t.form.file_error_unknown_error;
|
|
274
|
-
this.addErrorMessage(file.name, message);
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
validateMaxSize(file) {
|
|
278
|
-
if (file.size > this.fileMaxSize) {
|
|
279
|
-
const message = this.afFileMaxSizeText
|
|
280
|
-
? this.afFileMaxSizeText
|
|
281
|
-
: _t.form.file_error_too_large(file.name, this.afFileMaxSize);
|
|
282
|
-
this.addErrorMessage(file.name, message);
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
validateFileType(file) {
|
|
286
|
-
if (!this.checkAcceptedTypes(file)) {
|
|
287
|
-
this.addErrorMessage(file.name, _t.form.file_error_filetype_not_allowed(file.name, this.afFileTypes));
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
validateFile(file) {
|
|
291
|
-
this.validateIfFileIsAlreadyUploaded(file);
|
|
292
|
-
this.validateFileStatus(file);
|
|
293
|
-
this.validateMaxSize(file);
|
|
294
|
-
this.validateFileType(file);
|
|
295
|
-
this.error = this.errorMessages.length > 0;
|
|
296
|
-
}
|
|
297
|
-
onCancelFileHandler(e, id) {
|
|
298
|
-
e.preventDefault();
|
|
299
|
-
const fileFromList = this.removeFileFromList(id);
|
|
300
|
-
fileFromList['status'] = 'error';
|
|
301
|
-
fileFromList['error'] = _t.form.file_upload_canceled;
|
|
302
|
-
this.afOnCancelFile.emit(fileFromList);
|
|
303
|
-
}
|
|
304
|
-
removeFileFromList(id) {
|
|
305
|
-
const index = this.getIndexOfFile(id);
|
|
306
|
-
if (index === -1) {
|
|
307
|
-
return;
|
|
308
|
-
}
|
|
309
|
-
const removedFile = this.files[index];
|
|
310
|
-
this.files = [
|
|
311
|
-
...this.files.slice(0, index),
|
|
312
|
-
...this.files.slice(index + 1)
|
|
313
|
-
];
|
|
314
|
-
return removedFile;
|
|
315
|
-
}
|
|
316
|
-
getIndexOfFile(id) {
|
|
317
|
-
const index = this.files.findIndex((file) => file['id'] == id);
|
|
318
|
-
return index;
|
|
319
|
-
}
|
|
320
|
-
getFilesThatAreOK(files) {
|
|
321
|
-
const validFiles = [];
|
|
322
|
-
files.forEach((file) => {
|
|
323
|
-
let isValid = true;
|
|
324
|
-
this.errorMessages.forEach((message) => {
|
|
325
|
-
if (message.fileName === file.name) {
|
|
326
|
-
isValid = false;
|
|
327
|
-
}
|
|
328
|
-
});
|
|
329
|
-
if (isValid) {
|
|
330
|
-
validFiles.push(file);
|
|
331
|
-
}
|
|
332
|
-
});
|
|
333
|
-
return validFiles;
|
|
334
|
-
}
|
|
335
|
-
validateIfFileIsAlreadyUploaded(file) {
|
|
336
|
-
for (const item of this.files) {
|
|
337
|
-
if (item.name === file.name) {
|
|
338
|
-
this.addErrorMessage(file.name, _t.form.file_error_exists(file.name));
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
handleFiles(e) {
|
|
343
|
-
var _a, _b;
|
|
344
|
-
this.resetErrors();
|
|
345
|
-
const fileList = e.dataTransfer ? (_a = e.dataTransfer) === null || _a === void 0 ? void 0 : _a.files : (_b = e.target) === null || _b === void 0 ? void 0 : _b.files;
|
|
346
|
-
const filesToValidate = [];
|
|
347
|
-
Array.from(fileList).forEach((file) => {
|
|
348
|
-
filesToValidate.push(file);
|
|
349
|
-
});
|
|
350
|
-
if (!filesToValidate || filesToValidate.length === 0) {
|
|
351
|
-
return;
|
|
352
|
-
}
|
|
353
|
-
const numberOfFiles = filesToValidate.length + this.files.length;
|
|
354
|
-
if (numberOfFiles > this.afMaxFiles) {
|
|
355
|
-
this.addErrorMessage('', _t.form.file_error_too_many);
|
|
356
|
-
this.error = true;
|
|
357
|
-
return;
|
|
358
|
-
}
|
|
359
|
-
filesToValidate.forEach((file) => {
|
|
360
|
-
this.validateFile(file);
|
|
361
|
-
});
|
|
362
|
-
const filesThatArOK = this.errorMessages.length === 0
|
|
363
|
-
? filesToValidate
|
|
364
|
-
: this.getFilesThatAreOK(filesToValidate);
|
|
365
|
-
if (filesThatArOK.length === 0) {
|
|
366
|
-
return;
|
|
367
|
-
}
|
|
368
|
-
const formData = new FormData();
|
|
369
|
-
filesThatArOK.forEach((file) => {
|
|
370
|
-
formData.append('file', file);
|
|
371
|
-
});
|
|
372
|
-
for (const obj of formData.entries()) {
|
|
373
|
-
this.addFileStatusAndEmitFiles(obj[1]);
|
|
374
|
-
}
|
|
375
|
-
this._input.value = '';
|
|
376
|
-
}
|
|
377
|
-
onButtonUploadFileHandler(e) {
|
|
378
|
-
e.preventDefault();
|
|
379
|
-
if (!e.target.files)
|
|
380
|
-
return;
|
|
381
|
-
this.handleFiles(e);
|
|
382
|
-
}
|
|
383
|
-
onRemoveFileHandler(e, id) {
|
|
384
|
-
e.preventDefault();
|
|
385
|
-
this.resetErrors();
|
|
386
|
-
const fileToRemove = this.removeFileFromList(id);
|
|
387
|
-
this.afOnRemoveFile.emit(fileToRemove);
|
|
388
|
-
this._input.value = '';
|
|
389
|
-
this.handleFocusAfterFileRemoved();
|
|
390
|
-
}
|
|
391
|
-
handleFocusAfterFileRemoved() {
|
|
392
|
-
/* Timeouten behövs för att state och element ska hinna renderas om innan fokus flyttas.
|
|
393
|
-
Vi märkte att det blir problem för hjälpmedel om den inte är på plats. */
|
|
394
|
-
setTimeout(() => {
|
|
395
|
-
if (this.files.length > 0) {
|
|
396
|
-
this._fileList.focus();
|
|
397
|
-
}
|
|
398
|
-
else {
|
|
399
|
-
this._uploadButton.focus();
|
|
400
|
-
}
|
|
401
|
-
}, 100);
|
|
402
|
-
}
|
|
403
|
-
emitFile(file) {
|
|
404
|
-
const index = this.getIndexOfFile(file['id']);
|
|
405
|
-
if (this.afValidation === FormFileUploadValidation.ENABLED) {
|
|
406
|
-
this.afOnUploadFile.emit(this.files[index]);
|
|
407
|
-
}
|
|
408
|
-
else {
|
|
409
|
-
this.files[index]['status'] = 'OK';
|
|
410
|
-
this.afOnUploadFile.emit(this.files[index]);
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
async addFileStatusAndEmitFiles(file) {
|
|
414
|
-
file['id'] = randomIdGenerator('file');
|
|
415
|
-
file['status'] = 'pending';
|
|
416
|
-
file['base64'] = await this.toBase64(file);
|
|
417
|
-
this.files = [...this.files, file];
|
|
418
|
-
this.emitFile(file);
|
|
419
|
-
}
|
|
420
|
-
handleDrop(e) {
|
|
421
|
-
e.stopPropagation();
|
|
422
|
-
e.preventDefault();
|
|
423
|
-
this.fileHover = false;
|
|
424
|
-
if (e.dataTransfer.files) {
|
|
425
|
-
this.handleFiles(e);
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
handleAllowDrop(e) {
|
|
429
|
-
if (this.afVariation === FormFileUploadVariation.SMALL)
|
|
430
|
-
return;
|
|
431
|
-
e.stopPropagation();
|
|
432
|
-
e.preventDefault();
|
|
433
|
-
}
|
|
434
|
-
handleOnDragEnterLeave(e) {
|
|
435
|
-
this.handleAllowDrop(e);
|
|
436
|
-
this.fileHover = !this.fileHover;
|
|
437
|
-
}
|
|
438
|
-
handleInputClick(e) {
|
|
439
|
-
e.stopPropagation();
|
|
440
|
-
this.afShowModal.emit();
|
|
441
|
-
this._input.click();
|
|
442
|
-
}
|
|
443
|
-
getFiletypeAndShortFileName(file) {
|
|
444
|
-
let fileType = null;
|
|
445
|
-
let fileName = file.name;
|
|
446
|
-
const fileExtension = fileName.split('.').pop();
|
|
447
|
-
const fileWithoutExtension = fileName.replace('.' + fileExtension, '');
|
|
448
|
-
const minChars = window.innerWidth < 769 ? 6 : fileName.length;
|
|
449
|
-
const maxChars = window.innerWidth < 769 ? 14 : fileName.length;
|
|
450
|
-
if (String(file['type']).split('/')[0] === 'image') {
|
|
451
|
-
fileType = 'image';
|
|
452
|
-
}
|
|
453
|
-
else if (String(file['type']).split('/')[1] === 'pdf') {
|
|
454
|
-
fileType = 'pdf';
|
|
455
|
-
}
|
|
456
|
-
else {
|
|
457
|
-
fileType = 'default';
|
|
458
|
-
}
|
|
459
|
-
if (fileName.length > minChars) {
|
|
460
|
-
fileName =
|
|
461
|
-
fileWithoutExtension.substring(0, minChars) + '...' + fileExtension;
|
|
462
|
-
}
|
|
463
|
-
else if (fileName.length > maxChars) {
|
|
464
|
-
fileName = fileWithoutExtension.substring(0, 6) + '...' + fileExtension;
|
|
465
|
-
}
|
|
466
|
-
else {
|
|
467
|
-
fileName = file.name;
|
|
468
|
-
}
|
|
469
|
-
return { type: fileType, name: fileName };
|
|
470
|
-
}
|
|
471
|
-
// If its a pdf or an image the file is opened on another tab, any other file formats are downloaded
|
|
472
|
-
async viewUploadedFile(e, file) {
|
|
473
|
-
e.preventDefault();
|
|
474
|
-
if (this.getFiletypeAndShortFileName(file).type === 'image') {
|
|
475
|
-
const w = window.open();
|
|
476
|
-
w.document.write(`<img src="data:${file['type']};base64,${file['base64']}" alt="${file.name}" />`);
|
|
477
|
-
w.document.title = file['name'];
|
|
478
|
-
}
|
|
479
|
-
else if (this.getFiletypeAndShortFileName(file).type === 'pdf') {
|
|
480
|
-
(async () => {
|
|
481
|
-
const pdfstr = await fetch(`data:application/pdf;base64,${file['base64']}`);
|
|
482
|
-
const blobFromFetch = await pdfstr.blob();
|
|
483
|
-
const blob = new Blob([blobFromFetch], { type: 'application/pdf' });
|
|
484
|
-
const blobUrl = URL.createObjectURL(blob);
|
|
485
|
-
setTimeout(() => {
|
|
486
|
-
window.open(blobUrl, '_blank');
|
|
487
|
-
}, 30);
|
|
488
|
-
})();
|
|
489
|
-
}
|
|
490
|
-
else {
|
|
491
|
-
const fileURL = URL.createObjectURL(file);
|
|
492
|
-
const a = document.createElement('a');
|
|
493
|
-
a.href = fileURL;
|
|
494
|
-
a.target = '_blank';
|
|
495
|
-
a.download = file.name;
|
|
496
|
-
a.click();
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
get cssModifiers() {
|
|
500
|
-
return {
|
|
501
|
-
'digi-form-file-upload--small': this.afVariation == 'small',
|
|
502
|
-
'digi-form-file-upload--medium': this.afVariation == 'medium',
|
|
503
|
-
'digi-form-file-upload--large': this.afVariation == 'large',
|
|
504
|
-
'digi-form-file-upload--has-errors': this.errorMessages.length > 0
|
|
505
|
-
};
|
|
506
|
-
}
|
|
507
|
-
renderErrorMessage() {
|
|
508
|
-
if (!this.error) {
|
|
509
|
-
return;
|
|
510
|
-
}
|
|
511
|
-
this.readErrorMessagesToAssistiveTechnologies();
|
|
512
|
-
const showBorder = this.files.length > 0 ? 'with-files' : '';
|
|
513
|
-
return (h("div", { class: 'digi-form-file-upload__error-list-container ' + showBorder }, h("ul", { class: "digi-form-file-upload__error-list", "aria-hidden": "true" }, this.renderErrorMessages()), h("button", { type: "button", "aria-label": _t.form.file_upload_reset_errors_aria_label, class: "digi-form-file-upload__button clear-button hidden-mobile", onClick: () => {
|
|
514
|
-
this.resetErrors(true);
|
|
515
|
-
} }, h("span", null, _t.form.file_upload_reset_errors)), h("button", { type: "button", onClick: () => {
|
|
516
|
-
this.resetErrors(true);
|
|
517
|
-
}, class: "digi-form-file-upload__button clear-button hidden-desktop", "aria-label": _t.form.file_upload_reset_errors_aria_label }, h("digi-icon-x-button-outline", { class: "digi-form-file-upload__button-icon clear-icon", "aria-hidden": "true" }))));
|
|
518
|
-
}
|
|
519
|
-
readErrorMessagesToAssistiveTechnologies() {
|
|
520
|
-
this._srTextContainer.textContent = '';
|
|
521
|
-
const srTexts = this.errorMessages.map((error) => {
|
|
522
|
-
return error.message + ' ';
|
|
523
|
-
});
|
|
524
|
-
/* Timeouten behövs för att state och element ska hinna renderas om innan innehållet ändras.
|
|
525
|
-
Vi märkte att det blir problem för hjälpmedel om den inte är på plats. */
|
|
526
|
-
setTimeout(() => {
|
|
527
|
-
this._srTextContainer.textContent = srTexts.toString();
|
|
528
|
-
}, 200);
|
|
529
|
-
}
|
|
530
|
-
renderErrorMessages() {
|
|
531
|
-
return this.errorMessages.map((error) => {
|
|
532
|
-
return (h("li", null, h("digi-form-validation-message", { id: "digi-form-file-upload__error", class: "digi-form-file-upload__error", "af-variation": "error" }, error.message)));
|
|
533
|
-
});
|
|
534
|
-
}
|
|
535
|
-
renderPendingFile(file) {
|
|
536
|
-
return (h("div", { class: "digi-form-file-upload__item-pending-container" }, h("span", { class: "info-wrapper" }, h("digi-icon-spinner", { class: "digi-form-file-upload__spinner" }), h("span", { style: { margin: '0' } }, _t.form.file_upload_progress, " ", h("span", { class: "hidden-mobile" }, "|")), h("p", { class: "digi-form-file-upload__item-name-pending hidden-mobile" }, this.getFiletypeAndShortFileName(file).name)), h("span", { class: "button-wrapper" }, h("button", { type: "button", onClick: (e) => this.onCancelFileHandler(e, file['id']), class: "digi-form-file-upload__button digi-form-file-upload__button-abort hidden-mobile", "aria-label": _t.form.file_cancel_upload_long(file.name) }, _t.form.file_cancel_upload), h("button", { type: "button", onClick: (e) => this.onCancelFileHandler(e, file['id']), class: "digi-form-file-upload__button hidden-desktop", "aria-label": _t.form.file_cancel_upload_long(file.name) }, h("digi-icon-x-button-outline", { class: "digi-form-file-upload__button-icon", "aria-hidden": "true" })))));
|
|
537
|
-
}
|
|
538
|
-
renderImageThumbnail(file) {
|
|
539
|
-
if (this.afShowThumbnail) {
|
|
540
|
-
return (h("figure", { class: "digi-form-file-upload__item-text-container-figure", style: { margin: '0' } }, h("img", { "aria-hidden": "true", class: "thumbnail", src: `data:${file['type']};base64,${file['base64']}` }), h("figcaption", { class: "visually-hidden" }, "Miniatyr av ", file.name)));
|
|
541
|
-
}
|
|
542
|
-
return this.renderCheckmark();
|
|
543
|
-
}
|
|
544
|
-
renderCheckmark() {
|
|
545
|
-
return (h("span", { class: "digi-form-file-upload__item-green-check" }, h("digi-icon-check-circle-solid", { class: "digi-form-file-upload__item-green-check-icon" })));
|
|
546
|
-
}
|
|
547
|
-
renderPDFThumbnail(file) {
|
|
548
|
-
if (this.afShowThumbnail) {
|
|
549
|
-
return (h("span", { class: `${this.afShowThumbnail ? 'digi-form-file-upload__item-pdf-preview-bis' : null}`, "aria-label": file.name }, h("svg", { style: { scale: '1' }, width: "23.76", height: "32", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M22.888 6.124 17.696.88A2.955 2.955 0 0 0 15.6 0H2.97C1.33.006 0 1.35 0 3.006V29C0 30.657 1.33 32 2.97 32h17.82c1.64 0 2.97-1.343 2.97-3V8.249a3.03 3.03 0 0 0-.872-2.124Zm-2.34 1.88H15.84V3.25l4.709 4.756ZM2.97 29.002V3.006h9.9v6.498c0 .831.662 1.5 1.485 1.5h6.435v17.997H2.97Zm15.481-8.98c-.755-.75-2.908-.544-3.985-.406-1.064-.656-1.775-1.562-2.277-2.893.242-1.006.625-2.537.335-3.5-.26-1.637-2.34-1.474-2.636-.368-.273 1.006-.025 2.406.433 4.193-.619 1.493-1.54 3.499-2.19 4.649-1.238.643-2.909 1.637-3.156 2.887-.204.987 1.609 3.449 4.708-1.95 1.386-.462 2.896-1.031 4.233-1.256 1.17.637 2.537 1.062 3.452 1.062 1.578 0 1.733-1.762 1.083-2.418ZM6.194 24.883c.315-.856 1.516-1.844 1.88-2.187-1.175 1.893-1.88 2.23-1.88 2.187Zm5.049-11.91c.458 0 .414 2.005.111 2.549-.272-.869-.266-2.55-.111-2.55Zm-1.51 8.535c.6-1.056 1.114-2.312 1.528-3.418.514.944 1.17 1.7 1.863 2.219-1.287.268-2.407.818-3.391 1.2Zm8.143-.312s-.31.375-2.308-.488c2.172-.162 2.53.338 2.308.488Z", fill: "var(--digi--color--icon--cta)", "fill-rule": "evenodd" }))));
|
|
550
|
-
}
|
|
551
|
-
return this.renderCheckmark();
|
|
552
|
-
}
|
|
553
|
-
renderThumbnail(file) {
|
|
554
|
-
const fileType = this.getFiletypeAndShortFileName(file).type;
|
|
555
|
-
switch (fileType) {
|
|
556
|
-
case 'pdf':
|
|
557
|
-
return this.renderPDFThumbnail(file);
|
|
558
|
-
case 'image':
|
|
559
|
-
return this.renderImageThumbnail(file);
|
|
560
|
-
default:
|
|
561
|
-
return this.renderCheckmark();
|
|
562
|
-
}
|
|
563
|
-
}
|
|
564
|
-
renderFileName(file) {
|
|
565
|
-
if (this.afEnablePreview) {
|
|
566
|
-
return (h("a", { class: "digi-form-file-upload__item-name", href: "#", onClick: (e) => {
|
|
567
|
-
this.viewUploadedFile(e, file);
|
|
568
|
-
} }, file.name));
|
|
569
|
-
}
|
|
570
|
-
else {
|
|
571
|
-
return h("span", { class: "digi-form-file-upload__item-name" }, file.name);
|
|
572
|
-
}
|
|
573
|
-
}
|
|
574
|
-
renderOKFile(file) {
|
|
575
|
-
return (h(Fragment, null, h("span", { class: "digi-form-file-upload__item-text-and-thumbnail-container" }, this.renderThumbnail(file), this.renderFileName(file)), h("button", { type: "button", onClick: (e) => this.onRemoveFileHandler(e, file['id']), class: "digi-form-file-upload__button digi-form-file-upload__button--mobile", "aria-label": _t.form.file_remove(file.name) }, h("span", { class: "hidden-mobile" }, _t.form.file_remove()), h("digi-icon-trash", { class: "digi-form-file-upload__button-icon hidden-desktop" }))));
|
|
576
|
-
}
|
|
577
|
-
renderFile(file) {
|
|
578
|
-
switch (file['status']) {
|
|
579
|
-
case 'pending':
|
|
580
|
-
return this.renderPendingFile(file);
|
|
581
|
-
default:
|
|
582
|
-
return this.renderOKFile(file);
|
|
583
|
-
}
|
|
584
|
-
}
|
|
585
|
-
renderFiles() {
|
|
586
|
-
const filesMap = this.files.map((file, index) => {
|
|
587
|
-
{
|
|
588
|
-
return (h("li", { class: "digi-form-file-upload__item-container", key: 'file-' + index }, h("div", { class: "digi-form-file-upload__item" }, h("div", { class: "digi-form-file-upload__item-text-container" }, this.renderFile(file)))));
|
|
589
|
-
}
|
|
590
|
-
});
|
|
591
|
-
return filesMap;
|
|
592
|
-
}
|
|
593
|
-
renderFileContainer() {
|
|
594
|
-
if (this.files.length === 0) {
|
|
595
|
-
return;
|
|
596
|
-
}
|
|
597
|
-
return (h(Fragment, null, h(this.afHeadingLevel, { class: {
|
|
598
|
-
'digi-form-file-upload__files-heading': true,
|
|
599
|
-
'digi-form-file-upload__files-heading--and-errors': this.error
|
|
600
|
-
} }, this.afHeadingFiles), h("ul", { class: "digi-form-file-upload__files-list", tabindex: -1, ref: (el) => {
|
|
601
|
-
this._fileList = el;
|
|
602
|
-
} }, this.renderFiles())));
|
|
603
|
-
}
|
|
604
|
-
render() {
|
|
605
|
-
return (h(Fragment, { key: 'ea0f5e831e4b91840870f13a0f765bddde7f2b3f' }, h("digi-util-breakpoint-observer", { key: 'fdba1fa892784d3bfaa437c14ca7fe4a2d6211d0', onAfOnChange: (e) => this.breakpointHandler(e) }), h("div", { key: 'cc6ffd28d1478bd5f1205bd3dfe4fa84c19e8f55', class: Object.assign({ 'digi-form-file-upload': true }, this.cssModifiers) }, h("digi-form-label", { key: 'e341b099dceeadda16bb1b00c9f294b32eb619fa', afFor: this.afId, afLabel: this.afLabel, afDescription: this.afLabelDescription, afRequired: this.afRequired, afAnnounceIfOptional: this.afAnnounceIfOptional, afRequiredText: this.afRequiredText, afAnnounceIfOptionalText: this.afAnnounceIfOptionalText }), h("div", { key: 'ddb216147c7463573e772bd25cd8ea1313c0be8d', class: {
|
|
606
|
-
'digi-form-file-upload__upload-area': true,
|
|
607
|
-
'digi-form-file-upload__upload-area--hover': this.fileHover
|
|
608
|
-
}, onDrop: (e) => this.handleDrop(e), onDragOver: (e) => this.handleAllowDrop(e), onDragEnter: (e) => this.handleOnDragEnterLeave(e), onDragLeave: (e) => this.handleOnDragEnterLeave(e), onClick: (e) => this.handleInputClick(e) }, this.fileHover &&
|
|
609
|
-
this.afVariation != FormFileUploadVariation.SMALL && (h("div", { key: 'b5ed1a44293012aa6bdcfc86937f04bf751fc642', class: "digi-form-file-upload__upload-area-overlay" })), h("div", { key: 'ec86494fd7299db8e3c5e9ad9940a633fc9e73a8', class: "digi-form-file-upload__text-area" }, h("button", { key: 'adcc823a998bce77bd83f2c0ee486f55d060204b', type: "button", id: this.afId + '-button', ref: (el) => {
|
|
610
|
-
this._uploadButton = el;
|
|
611
|
-
}, onClick: (e) => this.handleInputClick(e), class: "digi-form-file-upload__button hidden_mobile", style: {
|
|
612
|
-
margin: '0'
|
|
613
|
-
} }, h("digi-icon-paperclip", { key: 'ae23c375fcbbbf3e4b8b105d7e30d9c8316fc5f3', "aria-hidden": "true", class: "digi-form-file-upload__button-icon paper-clip", slot: "icon" }), this.afUploadBtnText
|
|
614
|
-
? this.afUploadBtnText
|
|
615
|
-
: _t.form.file_choose), h("input", { key: '5d2beb87d1565c478cfa280b9790fc25de90e958', ref: (el) => {
|
|
616
|
-
this._input = el;
|
|
617
|
-
}, onChange: (e) => this.onButtonUploadFileHandler(e), class: "digi-form-file-upload__input", multiple: true, type: "file", id: this.afId, accept: this.afFileTypes, name: this.afName ? this.afName : null, required: this.afRequired ? this.afRequired : null, onDrop: (e) => this.handleDrop(e), onDragOver: (e) => this.handleAllowDrop(e), "aria-errormessage": "digi-form-file-upload__error", "aria-describedBy": "digi-form-file-upload__error" }), h("span", { key: 'c8e9e00250ab4cb9da92bd7695fb389ddd74428a' }, this.afVariation !== FormFileUploadVariation.SMALL &&
|
|
618
|
-
_t.form.file_dropzone))), h("p", { key: 'e54f8e9d99ddd6b39833c32f3080c6f7eef840a9', class: "visually-hidden", role: this.errorMessageIsAlert ? 'alert' : null, "aria-atomic": "true", ref: (el) => {
|
|
619
|
-
this._srTextContainer = el;
|
|
620
|
-
} }), (this.files.length > 0 || this.error) && (h("div", { key: '5f246f4669dc97e046855e46f25792da5325051c', class: "digi-form-file-upload__files" }, this.renderErrorMessage(), this.renderFileContainer())))));
|
|
621
|
-
}
|
|
622
|
-
get hostElement() { return getElement(this); }
|
|
623
|
-
static get watchers() { return {
|
|
624
|
-
"afValidationText": [{
|
|
625
|
-
"afValidationTextChange": 0
|
|
626
|
-
}]
|
|
627
|
-
}; }
|
|
628
|
-
};
|
|
629
|
-
FormFileUpload.style = formFileUploadCss();
|
|
630
|
-
|
|
631
|
-
export { FormFileUpload as digi_form_file_upload };
|