@designsystem-se/af 39.2.1-beta.2 → 39.2.1-beta.4
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 +74 -24
- package/components/digi-button.js +1 -1
- package/components/digi-calendar-datepicker.js +16 -16
- package/components/digi-calendar-week-view.js +56 -11
- package/components/digi-calendar.js +1 -1
- package/components/digi-chart-line.js +62 -20
- 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 +5 -5
- package/components/digi-dialog.js +7 -7
- package/components/digi-expandable-accordion.js +3 -3
- package/components/digi-expandable-faq-item.js +4 -4
- 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 +4 -4
- 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-plus.js +1 -1
- package/components/digi-icon-pod.js +1 -1
- package/components/digi-icon-print.js +1 -1
- package/components/digi-icon-read.js +1 -1
- package/components/digi-icon-redo.js +1 -1
- package/components/digi-icon-scale.js +1 -1
- package/components/digi-icon-screensharing-off.js +1 -1
- package/components/digi-icon-screensharing.js +1 -1
- package/components/digi-icon-search.js +1 -1
- package/components/digi-icon-send-outline.js +1 -1
- package/components/digi-icon-send-solid.js +1 -1
- package/components/digi-icon-settings.js +1 -1
- package/components/digi-icon-share-alt.js +1 -1
- package/components/digi-icon-share-chain.js +1 -1
- package/components/digi-icon-sign.js +1 -1
- package/components/digi-icon-sliders-h.js +1 -1
- package/components/digi-icon-sokkandidat.js +1 -1
- package/components/digi-icon-sort-down.js +1 -1
- package/components/digi-icon-sort-up.js +1 -1
- package/components/digi-icon-sort.js +1 -1
- package/components/digi-icon-spinner.js +1 -1
- package/components/digi-icon-star-reg.js +1 -1
- package/components/digi-icon-star.js +1 -1
- package/components/digi-icon-suitcase-outline.js +1 -1
- package/components/digi-icon-suitcase-solid.js +1 -1
- package/components/digi-icon-system-assistance.js +1 -1
- package/components/digi-icon-table-column.js +1 -1
- package/components/digi-icon-table-row.js +1 -1
- package/components/digi-icon-table.js +1 -1
- package/components/digi-icon-task-done.js +1 -1
- package/components/digi-icon-toggle-off.js +1 -1
- package/components/digi-icon-toggle-on.js +1 -1
- package/components/digi-icon-trash.js +1 -1
- package/components/digi-icon-twitter.js +1 -1
- package/components/digi-icon-tyck-till.js +1 -1
- package/components/digi-icon-unlock.js +1 -1
- package/components/digi-icon-update.js +1 -1
- package/components/digi-icon-upload.js +1 -1
- package/components/digi-icon-user-add.js +1 -1
- package/components/digi-icon-user-alt.js +1 -1
- package/components/digi-icon-user-edit.js +1 -1
- package/components/digi-icon-users-solid.js +1 -1
- 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 +1 -1
- package/components/digi-icon-videocamera.js +1 -1
- package/components/digi-icon-volume.js +1 -1
- package/components/digi-icon-web-tv.js +1 -1
- package/components/digi-icon-webinar.js +1 -1
- package/components/digi-icon-wifi-signal0.js +1 -1
- package/components/digi-icon-wifi-signal1.js +1 -1
- package/components/digi-icon-wifi-signal2.js +1 -1
- package/components/digi-icon-wifi-signal3.js +1 -1
- package/components/digi-icon-window.js +1 -1
- package/components/digi-icon-x-button-outline.js +1 -1
- package/components/digi-icon-x-button.js +1 -1
- package/components/digi-icon-x.js +1 -1
- package/components/digi-icon-youtube.js +1 -1
- package/components/digi-info-card-multi-container.js +2 -2
- 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 +3 -3
- 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 +3 -3
- package/components/digi-loader-skeleton.js +1 -1
- package/components/digi-loader-spinner.js +2 -2
- package/components/digi-logo.js +1 -1
- package/components/digi-media-figure.js +1 -1
- package/components/digi-media-image.js +1 -1
- package/components/digi-navigation-breadcrumbs.js +1 -1
- package/components/digi-navigation-pagination.js +7 -7
- package/components/digi-navigation-sidebar-button.js +1 -1
- package/components/digi-navigation-sidebar.js +5 -5
- package/components/digi-navigation-vertical-menu-item.js +4 -4
- package/components/digi-navigation-vertical-menu.js +28 -14
- package/components/digi-notification-alert.js +1 -1
- package/components/digi-notification-error-page.js +5 -5
- package/components/digi-progress-circle.js +3 -3
- package/components/digi-progress-indicator.js +5 -5
- package/components/digi-progress-list-item.js +5 -5
- package/components/digi-progress-list.js +2 -2
- package/components/digi-progressbar.js +1 -1
- package/components/digi-quote.js +4 -4
- package/components/digi-table.js +1 -1
- package/components/digi-tablist-panel.js +1 -1
- package/components/digi-tablist.js +40 -17
- package/components/digi-tag-media.js +1 -1
- package/components/digi-tag.js +3 -3
- package/components/digi-title-logo.js +3 -3
- package/components/digi-tools-feedback-banner.js +6 -6
- package/components/digi-tools-feedback-rating.js +7 -7
- package/components/digi-tools-feedback.js +6 -6
- package/components/digi-tools-theme-provider.js +6 -18
- package/components/digi-typography-heading-jumbo.js +1 -1
- package/components/digi-typography-meta.js +1 -1
- package/components/digi-typography-preamble.js +1 -1
- package/components/digi-typography-time.js +1 -1
- package/components/digi-typography.js +1 -1
- package/components/digi-util-breakpoint-observer.js +1 -1
- package/components/digi-util-detect-click-outside.js +1 -1
- package/components/digi-util-detect-focus-outside.js +1 -1
- package/components/digi-util-intersection-observer.js +1 -1
- package/components/digi-util-keydown-handler.js +1 -1
- package/components/digi-util-keyup-handler.js +1 -1
- package/components/digi-util-mutation-observer.js +1 -1
- package/components/digi-util-resize-observer.js +1 -1
- package/components/index.js +2 -2
- package/components/{p-DBWQa6SF.js → p--OfIV-on.js} +1 -1
- package/components/{p-yKOTs0sU.js → p--uSFOD5O.js} +1 -1
- package/components/{p-DkOcsV5h.js → p-0YsihRkX.js} +1 -1
- package/components/{p-ll3r2Jmc.js → p-0pTevzmo.js} +1 -1
- package/components/{p-ykcDm1Dg.js → p-1kIXcBRD.js} +1 -1
- package/components/{p-B2U8pRlh.js → p-52C4taMR.js} +1 -1
- package/components/{p-CT-CCnRV.js → p-B0NtWuWm.js} +1 -1
- package/components/{p-CPhZdbVY.js → p-B1hBNnkP.js} +1 -1
- package/components/{p-CemeYn4Y.js → p-B3TKmnH5.js} +1 -1
- package/components/{p-DNrJ1cbr.js → p-B85a4tNl.js} +1 -1
- package/components/{p-BjMWngkm.js → p-BISIikBQ.js} +1 -1
- package/components/{p-BHANlSAF.js → p-BJgweNmE.js} +1 -1
- package/components/{p-CNVzE3wo.js → p-BOuscZWN.js} +1 -1
- package/components/{p-BMPJw09m.js → p-BUFtpryS.js} +1 -1
- package/components/p-BYefdyRg.js +187 -0
- package/components/{p-BQCXEYvr.js → p-BaFkfL3J.js} +1 -1
- package/components/{p-DWByos6u.js → p-BaIqYsaL.js} +2 -2
- package/components/{p-T97mr6Ax.js → p-BkRrSWNb.js} +1 -1
- package/components/{p-D6Sp0qrF.js → p-BkdqrgFa.js} +7 -7
- package/components/{p-B7iJaTWY.js → p-Br3uVgA1.js} +1 -1
- package/components/{p-DuBLL7S7.js → p-BupNdJre.js} +1 -1
- package/components/p-BxG1tqmk.js +172 -0
- package/components/{p-CvH0Z_5N.js → p-C1wkAzXH.js} +1 -1
- package/components/{p-DzXowQcn.js → p-C2LUp3Td.js} +1 -1
- package/components/{p-wZ__o91x.js → p-C7W4tsEH.js} +1 -1
- package/components/{p-D1QXMTKI.js → p-CAW-ueZH.js} +1 -1
- package/components/{p-B50LzDtZ.js → p-CBCmbVA7.js} +8 -8
- package/components/{p-Cdly3pfx.js → p-CGIRXM14.js} +1 -1
- package/components/{p-Bjx0O1l6.js → p-CSefQfv6.js} +1 -1
- package/components/{p-BNXCNdUQ.js → p-CW-HnEHk.js} +1 -1
- package/components/{p-DU2A-yaK.js → p-CZexDcPm.js} +10 -10
- package/components/{p-dFnmo4eC.js → p-Cf91SknN.js} +5 -5
- package/components/{p-CXPmpSD4.js → p-Cn6V9H9D.js} +1 -1
- package/components/{p-D9bGzNw4.js → p-CrUxQ9d0.js} +12 -12
- package/components/{p-D8ByR0LS.js → p-CtUzKtIv.js} +1 -1
- package/components/{p-DjuIaJXz.js → p-DB2hM8IT.js} +1 -1
- package/components/{p-CPUc9bPS.js → p-DCCg-GBa.js} +1 -1
- package/components/{p-9YIZSrOF.js → p-DCcDMmpc.js} +1 -1
- package/components/{p-vCr0Prwm.js → p-DDdKfPB2.js} +1 -1
- package/components/{p-DOt14HyA.js → p-DEBBHpvE.js} +1 -1
- package/components/{p-CDfs2RyO.js → p-DQnLbEWg.js} +1 -1
- package/components/p-DTbZcA8e.js +72 -0
- package/components/{p-pSf_k9r-.js → p-DWk0TQi5.js} +1 -1
- package/components/{p-BxhMzn-j.js → p-DY1BY52y.js} +1 -1
- package/components/{p-Brvf7amx.js → p-DYNoU7Ab.js} +1 -1
- package/components/{p-Rm1a6UCY.js → p-Dc8gh6yZ.js} +2 -2
- package/components/{p-KhnniL1l.js → p-DdUXwmS6.js} +6 -6
- package/components/{p-Cme_pP-4.js → p-DdqhvfV6.js} +1 -1
- package/components/{p-DPVOzE62.js → p-Din5WNxk.js} +1 -1
- package/components/{p-CkLw3Oca.js → p-Dp2m5Ssh.js} +4 -4
- package/components/p-DpDyNuVC.js +7 -0
- package/components/{p-CqX8XYp7.js → p-DuEh6-g9.js} +1 -1
- package/components/{p-B_ssHfKB.js → p-Du_iCC0o.js} +1 -1
- package/components/{p-B7l6KW3M.js → p-DwuDBDrV.js} +1 -1
- package/components/{p-Df0ED3wL.js → p-Dzjkl5Kh.js} +1 -1
- package/components/{p-Cpsicpeg.js → p-IUbLqTDz.js} +3 -3
- package/components/{p-BgBWfuMM.js → p-P1LBiiXm.js} +3 -3
- package/components/{p-J9EqPOxb.js → p-PhdhPGeA.js} +1 -1
- package/components/{p-Bfwmemvd.js → p-V8bIji56.js} +1 -1
- package/components/{p-Ctrd4Mcu.js → p-jKxa9rP_.js} +1 -1
- package/components/{p-q_PcJH5d.js → p-jUJnNkiJ.js} +1 -1
- package/components/{p-Cq5K001t.js → p-noQGUY_w.js} +1 -1
- package/components/{p-D9zmKnk7.js → p-oVqRvXYm.js} +1 -1
- package/components/{p-DR5AEJO8.js → p-zeCQ8TGq.js} +4 -4
- package/custom-elements.json +0 -4
- package/dist/cjs/button-type.enum-2UH0KkO-.js +8 -0
- package/dist/cjs/{button-variation.enum-DkUalo9f.js → button-variation.enum-ngMqFLdW.js} +6 -0
- package/dist/cjs/{calendar-week-view-heading-level.enum-NEkm5SUq.js → calendar-week-view-heading-level.enum-BI2f9bbk.js} +7 -0
- package/dist/cjs/{code-example-variation.enum-BCENTUV2.js → code-example-variation.enum-Cq-BioXW.js} +0 -6
- package/dist/cjs/digi-arbetsformedlingen.cjs.js +2 -2
- package/dist/cjs/{digi-calendar-week-view.cjs.entry.js → digi-badge-notification_8.cjs.entry.js} +691 -73
- package/dist/cjs/digi-badge-status.cjs.entry.js +2 -2
- package/dist/cjs/digi-bar-chart.cjs.entry.js +67 -17
- package/dist/cjs/digi-calendar-datepicker.cjs.entry.js +2670 -0
- package/dist/cjs/digi-calendar_2.cjs.entry.js +490 -0
- package/dist/cjs/digi-chart-line.cjs.entry.js +57 -15
- package/dist/cjs/{digi-code-block_2.cjs.entry.js → digi-code-block_3.cjs.entry.js} +148 -8
- package/dist/cjs/digi-code-example.cjs.entry.js +10 -10
- package/dist/cjs/digi-code.cjs.entry.js +1 -1
- package/dist/cjs/digi-context-menu.cjs.entry.js +241 -0
- package/dist/cjs/digi-dialog.cjs.entry.js +28 -9
- package/dist/cjs/digi-expandable-accordion.cjs.entry.js +1 -1
- package/dist/cjs/digi-expandable-faq-item.cjs.entry.js +119 -0
- package/dist/cjs/digi-expandable-faq.cjs.entry.js +1 -1
- package/dist/cjs/digi-footer-card.cjs.entry.js +30 -0
- package/dist/cjs/digi-footer.cjs.entry.js +78 -0
- package/dist/cjs/digi-form-category-filter.cjs.entry.js +152 -0
- package/dist/cjs/digi-form-checkbox.cjs.entry.js +141 -0
- package/dist/cjs/digi-form-error-list.cjs.entry.js +26 -7
- package/dist/cjs/digi-form-file-upload.cjs.entry.js +633 -0
- package/dist/cjs/digi-form-filter.cjs.entry.js +257 -0
- package/dist/cjs/digi-form-input-search.cjs.entry.js +9 -7
- package/dist/cjs/digi-form-input.cjs.entry.js +205 -0
- package/dist/cjs/digi-form-label_3.cjs.entry.js +147 -0
- package/dist/cjs/digi-form-radiogroup.cjs.entry.js +1 -1
- package/dist/cjs/digi-form-receipt.cjs.entry.js +26 -7
- package/dist/cjs/digi-form-select-filter.cjs.entry.js +648 -0
- package/dist/cjs/digi-form-select_2.cjs.entry.js +201 -0
- package/dist/cjs/digi-form-textarea.cjs.entry.js +1 -1
- package/dist/cjs/digi-header-avatar.cjs.entry.js +98 -0
- package/dist/cjs/digi-header-navigation-item.cjs.entry.js +23 -0
- package/dist/cjs/digi-header-navigation.cjs.entry.js +235 -0
- package/dist/cjs/digi-header-notification.cjs.entry.js +19 -0
- package/dist/cjs/digi-header.cjs.entry.js +114 -0
- package/dist/cjs/digi-icon-accessibility-deaf.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-accessibility-universal.cjs.entry.js +28 -0
- 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-bars.cjs.entry.js +28 -0
- package/dist/cjs/digi-icon-bell-filled.cjs.entry.js +28 -0
- 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 +1 -1
- 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-check-circle-solid_4.cjs.entry.js +97 -0
- package/dist/cjs/digi-icon-check.cjs.entry.js +28 -0
- package/dist/cjs/digi-icon-checklist.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-chevron-down.cjs.entry.js +28 -0
- 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-copy.cjs.entry.js +28 -0
- 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-envelope.cjs.entry.js +28 -0
- 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-external-link-alt_2.cjs.entry.js +52 -0
- 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-globe.cjs.entry.js +28 -0
- 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-list-ul_6.cjs.entry.js +143 -0
- 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-minus_2.cjs.entry.js +51 -0
- package/dist/cjs/digi-icon-move.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-notification-error_4.cjs.entry.js +97 -0
- 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-print.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-read.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-redo.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-scale.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-screensharing-off.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-screensharing.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-search.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-send-outline.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-send-solid.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-settings.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-share-alt.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-share-chain.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-sign.cjs.entry.js +28 -0
- package/dist/cjs/digi-icon-sliders-h.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-sokkandidat.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-sort-down.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-sort-up.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-sort.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-spinner.cjs.entry.js +29 -0
- package/dist/cjs/digi-icon-star-reg.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-star.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-suitcase-outline.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-suitcase-solid.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-system-assistance.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-table-column.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-table-row.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-task-done.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-toggle-off.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-toggle-on.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-twitter.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-tyck-till.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-unlock.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-update.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-upload.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-user-add.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-user-alt.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-user-edit.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-users-solid.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-validation-error_2.cjs.entry.js +51 -0
- package/dist/cjs/digi-icon-videocamera-off.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-videocamera.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-volume.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-web-tv.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-wifi-signal0.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-wifi-signal1.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-wifi-signal2.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-wifi-signal3.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-window.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-x-button.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-x.cjs.entry.js +28 -0
- package/dist/cjs/digi-icon-youtube.cjs.entry.js +1 -1
- package/dist/cjs/digi-info-card-multi-container.cjs.entry.js +17 -0
- package/dist/cjs/digi-info-card-multi.cjs.entry.js +60 -0
- package/dist/cjs/digi-info-card.cjs.entry.js +90 -0
- package/dist/cjs/digi-layout-block_2.cjs.entry.js +101 -0
- package/dist/cjs/digi-layout-columns.cjs.entry.js +37 -0
- package/dist/cjs/digi-link-button.cjs.entry.js +69 -0
- package/dist/cjs/digi-link-internal.cjs.entry.js +39 -0
- package/dist/cjs/digi-link.cjs.entry.js +75 -0
- package/dist/cjs/digi-list.cjs.entry.js +1 -1
- package/dist/cjs/digi-loader-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/digi-loader-spinner.cjs.entry.js +1 -1
- package/dist/cjs/digi-logo.cjs.entry.js +54 -0
- package/dist/cjs/digi-media-figure.cjs.entry.js +1 -1
- package/dist/cjs/digi-media-image_2.cjs.entry.js +180 -0
- package/dist/cjs/digi-navigation-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/digi-navigation-pagination.cjs.entry.js +26 -7
- package/dist/cjs/digi-navigation-sidebar-button.cjs.entry.js +29 -0
- package/dist/cjs/digi-navigation-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/digi-navigation-vertical-menu-item.cjs.entry.js +167 -0
- package/dist/cjs/digi-navigation-vertical-menu.cjs.entry.js +200 -0
- package/dist/cjs/digi-notification-alert.cjs.entry.js +135 -0
- package/dist/cjs/digi-notification-error-page.cjs.entry.js +26 -7
- package/dist/cjs/digi-progress-circle.cjs.entry.js +1 -1
- package/dist/cjs/digi-progress-indicator.cjs.entry.js +153 -0
- package/dist/cjs/digi-progress-list-item.cjs.entry.js +2 -2
- package/dist/cjs/digi-progress-list.cjs.entry.js +1 -1
- package/dist/cjs/digi-progressbar.cjs.entry.js +1 -1
- package/dist/cjs/digi-quote.cjs.entry.js +2 -2
- package/dist/cjs/digi-table.cjs.entry.js +1 -1
- package/dist/cjs/digi-tag-media.cjs.entry.js +47 -0
- package/dist/cjs/digi-tag.cjs.entry.js +1 -1
- package/dist/cjs/digi-title-logo.cjs.entry.js +128 -0
- package/dist/cjs/digi-tools-feedback-banner.cjs.entry.js +1 -1
- package/dist/cjs/digi-tools-feedback-rating.cjs.entry.js +1 -1
- package/dist/cjs/digi-tools-feedback.cjs.entry.js +29 -10
- package/dist/cjs/digi-tools-theme-provider.cjs.entry.js +29 -0
- package/dist/cjs/digi-typography-heading-jumbo.cjs.entry.js +46 -0
- package/dist/cjs/digi-typography-meta.cjs.entry.js +1 -1
- package/dist/cjs/digi-typography-preamble.cjs.entry.js +17 -0
- package/dist/cjs/digi-typography-time.cjs.entry.js +1 -1
- package/dist/cjs/digi-util-breakpoint-observer.cjs.entry.js +45 -0
- package/dist/cjs/digi-util-detect-click-outside.cjs.entry.js +1 -1
- package/dist/cjs/digi-util-detect-focus-outside.cjs.entry.js +1 -1
- package/dist/cjs/digi-util-keydown-handler.cjs.entry.js +81 -0
- package/dist/cjs/digi-util-keyup-handler.cjs.entry.js +1 -1
- package/dist/cjs/digi-util-mutation-observer.cjs.entry.js +1 -1
- package/dist/cjs/digi-util-resize-observer.cjs.entry.js +1 -1
- package/dist/cjs/expandable-faq-item-variation.enum-aKkYAQgd.js +18 -0
- package/dist/cjs/footer-card-variation.enum-BPnpkC45.js +8 -0
- package/dist/cjs/form-checkbox-variation.enum-BfOGU4Qt.js +19 -0
- package/dist/cjs/form-file-upload-variation.enum-xcEOoggr.js +24 -0
- package/dist/cjs/form-input-search-variation.enum-VVfvlVeM.js +8 -0
- package/dist/cjs/{form-input-type.enum-B2CsNSBg.js → form-input-type.enum-DvF_MTHK.js} +0 -14
- package/dist/cjs/form-input-variation.enum-kpoXNUuI.js +29 -0
- package/dist/cjs/form-select-variation.enum-e6wjWyaS.js +16 -0
- package/dist/cjs/form-validation-message-variation.enum-BA5nmCiw.js +8 -0
- package/dist/cjs/{index-DUQtADgG.js → index-Bdlw-Iuy.js} +19 -189
- package/dist/cjs/{index-BCpZPAot.js → index-Cn1hHaSy.js} +233 -17
- package/dist/cjs/index-Snltmefx.js +174 -0
- package/dist/cjs/index-r0sb9TCr.js +66 -0
- package/dist/cjs/index.cjs.js +190 -175
- package/dist/cjs/info-card-multi-type.enum-pqhvdrsN.js +8 -0
- package/dist/cjs/info-card-variation.enum-B1cqmknX.js +24 -0
- package/dist/cjs/layout-columns-variation.enum-OgD-hvRN.js +23 -0
- package/dist/cjs/layout-container-max-width.enum-DqWtU7WK.js +21 -0
- package/dist/cjs/link-button-variation.enum-03cHZQxx.js +9 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/logo-color.enum-BJZv-f6R.js +7 -0
- package/dist/cjs/navigation-vertical-menu-variation.enum-7IUICId3.js +13 -0
- package/dist/cjs/progress-indicator-heading-level.enum-CNarUduE.js +23 -0
- package/dist/cjs/tag-media-icon.enum-DzhiwvjI.js +11 -0
- package/dist/cjs/tools-theme-provider.brand.enum-BzduvCUY.js +7 -0
- package/dist/cjs/typography-heading-jumbo-variation.enum-Di1Jeh0G.js +17 -0
- package/dist/cjs/typography-variation.enum-BDSt7CVI.js +238 -0
- package/dist/collection/components/_badge/badge-status/badge-status.css +2 -2
- package/dist/collection/components/_button/button/button.css +14 -14
- package/dist/collection/components/_calendar/calendar/calendar.css +3 -8
- package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.css +7 -588
- package/dist/collection/components/_calendar/week-view/calendar-week-view.js +53 -8
- package/dist/collection/components/_chart/bar-chart/bar-chart.js +66 -16
- package/dist/collection/components/_chart/chart-line/chart-line.js +56 -14
- package/dist/collection/components/_code/code-example/code-example.css +0 -6
- package/dist/collection/components/_code/code-example/code-example.js +5 -4
- package/dist/collection/components/_dialog/dialog/dialog.css +1 -1
- package/dist/collection/components/_expandable/expandable-faq-item/expandable-faq-item.css +2 -2
- package/dist/collection/components/_form/form-checkbox/form-checkbox.css +6 -587
- package/dist/collection/components/_form/form-file-upload/form-file-upload.css +5 -6
- package/dist/collection/components/_form/form-filter/form-filter.css +2 -2
- package/dist/collection/components/_form/form-select/form-select.css +2 -2
- package/dist/collection/components/_form/form-select-filter/form-select-filter.css +3 -3
- package/dist/collection/components/_header/header/header.js +2 -2
- package/dist/collection/components/_header/header-avatar/header-avatar.css +5 -586
- package/dist/collection/components/_info-card/info-card/info-card.css +2 -2
- package/dist/collection/components/_info-card/info-card-multi/info-card-multi.css +1 -1
- package/dist/collection/components/_link/link-button/link-button.css +3 -3
- package/dist/collection/components/_link/link-internal/link-internal.css +5 -586
- package/dist/collection/components/_navigation/navigation-context-menu/navigation-context-menu.css +2 -3
- package/dist/collection/components/_navigation/navigation-tablist/navigation-tablist.js +36 -13
- package/dist/collection/components/_navigation/navigation-vertical-menu/navigation-vertical-menu.js +27 -13
- package/dist/collection/components/_navigation/navigation-vertical-menu-item/navigation-vertical-menu-item.css +3 -3
- package/dist/collection/components/_notification/notification-alert/notification-alert.css +1 -1
- package/dist/collection/components/_progress/progress-indicator/progress-indicator.css +4 -5
- package/dist/collection/components/_progress/progress-list-item/progress-list-item.css +2 -2
- package/dist/collection/components/_quote/quote/quote.css +2 -2
- package/dist/collection/components/_tools/tools-feedback/tools-feedback.css +1 -1
- package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.css +4 -171
- package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.js +2 -43
- package/dist/collection/design-tokens/components/_badge-status.variables.scss +1 -1
- package/dist/collection/design-tokens/components/_button.variables.scss +14 -14
- package/dist/collection/design-tokens/components/_calendar-datepicker.variables.scss +1 -1
- package/dist/collection/design-tokens/components/_calendar.variables.scss +3 -4
- package/dist/collection/design-tokens/components/_dialog.variables.scss +1 -1
- package/dist/collection/design-tokens/components/_expandable-faq-item.variables.scss +2 -2
- package/dist/collection/design-tokens/components/_form-checkbox.variables.scss +1 -1
- package/dist/collection/design-tokens/components/_form-file-upload.variables.scss +0 -2
- package/dist/collection/design-tokens/components/_form-filter.variables.scss +2 -2
- 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/_info-card-multi.variables.scss +1 -1
- package/dist/collection/design-tokens/components/_info-card.variables.scss +2 -2
- package/dist/collection/design-tokens/components/_link-button.variables.scss +3 -3
- package/dist/collection/design-tokens/components/_logo.variables.scss +0 -2
- 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/design-tokens/components/_quote.variables.scss +2 -2
- package/dist/collection/design-tokens/components/_tools-feedback.variables.scss +1 -1
- package/dist/collection/enums.js +0 -1
- package/dist/collection/styles/src/{themes/_alias-light.mixin.scss → _alias.mixin.scss} +1 -21
- package/dist/collection/styles/src/index.scss +2 -16
- package/dist/collection/styles/src/themes/_brand-af18.mixin.scss +1 -21
- package/dist/collection/styles/src/themes/_brand-af25.mixin.scss +3 -149
- package/dist/collection/styles/src/themes/_brand-common.mixin.scss +0 -11
- package/dist/collection/styles/src/tokens-documentation/web-AF25.json +203 -401
- package/dist/digi-arbetsformedlingen/design-tokens/components/_badge-status.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/design-tokens/components/_button.variables.scss +14 -14
- package/dist/digi-arbetsformedlingen/design-tokens/components/_calendar-datepicker.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/design-tokens/components/_calendar.variables.scss +3 -4
- package/dist/digi-arbetsformedlingen/design-tokens/components/_dialog.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/design-tokens/components/_expandable-faq-item.variables.scss +2 -2
- package/dist/digi-arbetsformedlingen/design-tokens/components/_form-checkbox.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/design-tokens/components/_form-file-upload.variables.scss +0 -2
- package/dist/digi-arbetsformedlingen/design-tokens/components/_form-filter.variables.scss +2 -2
- 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/_info-card-multi.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/design-tokens/components/_info-card.variables.scss +2 -2
- package/dist/digi-arbetsformedlingen/design-tokens/components/_link-button.variables.scss +3 -3
- package/dist/digi-arbetsformedlingen/design-tokens/components/_logo.variables.scss +14 -18
- 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/design-tokens/components/_quote.variables.scss +2 -2
- package/dist/digi-arbetsformedlingen/design-tokens/components/_tools-feedback.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.css +1 -1
- package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
- package/dist/digi-arbetsformedlingen/index.esm.js +1 -1
- package/dist/digi-arbetsformedlingen/{p-ee202329.entry.js → p-0003a1b4.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-131213b2.entry.js → p-00bc2401.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-8818e34d.entry.js → p-0109cd67.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-3aba30dd.entry.js → p-02f709b9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-037a35bd.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-0476f89d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-76a1ce97.entry.js → p-051495cd.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-8b8c782f.entry.js → p-07b783f7.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-d361f4ed.entry.js → p-07cd5ff6.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-3ba5a23b.entry.js → p-0b4f9561.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-0d72dd25.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-f92bff56.entry.js → p-0e18dc69.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-0e4c3542.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-0f7e995a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-10581b5d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-a1c25922.entry.js → p-10a4e3aa.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ded4ae8f.entry.js → p-1430039a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-506da21e.entry.js → p-1614e405.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-afb400c4.entry.js → p-165c926d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-53df2ea4.entry.js → p-178f511d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ddd203d3.entry.js → p-17b7fa43.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c5c48bdb.entry.js → p-18b52cf2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-fc6a4db8.entry.js → p-1a211ec6.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-8f425fc1.entry.js → p-1d7ee591.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-193e62c8.entry.js → p-206404ae.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ace64d31.entry.js → p-2187ef80.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ef4306d4.entry.js → p-21cb5136.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-2346e439.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-34488f34.entry.js → p-24028559.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-2ccc832e.entry.js → p-24951793.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-75923f62.entry.js → p-2599113d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-54a791b0.entry.js → p-2613c3ab.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-267a1c32.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-6f6518bd.entry.js → p-269e2587.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-26f6a310.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-f4c49718.entry.js → p-291d80fd.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-2957148d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-296301d4.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-8035d865.entry.js → p-2a4be324.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-fa3e8fb2.entry.js → p-2a778743.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-2ca1bcdd.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-955d8d8e.entry.js → p-2d8f7119.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-48793950.entry.js → p-2e7b03b0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-4ad0d6d1.entry.js → p-2eea1661.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-2f9832be.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-6b01dd13.entry.js → p-30ba7ac3.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-322ff73a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3239fb1a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-312236ee.entry.js → p-3267691f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-239bbca4.entry.js → p-32959401.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-bd48f7c9.entry.js → p-333ce113.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-458b9dc2.entry.js → p-3424c4a9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9a6b4c55.entry.js → p-3642b109.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1663e4b4.entry.js → p-368a5bea.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-d66c1a0a.entry.js → p-36c81161.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-52a1ab3c.entry.js → p-36e544fd.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-375ea6f8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-9f3a89aa.entry.js → p-379d52d7.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c770412d.entry.js → p-391de403.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-0c685791.entry.js → p-3a954fbe.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-3b42582a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3bdcc894.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-33b0e1e0.entry.js → p-3c1d20cc.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-3c1f9629.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-e0d08bca.entry.js → p-3c99eb52.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-d9d68627.entry.js → p-3f497ad0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b1a15eb8.entry.js → p-4061c1aa.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-cc6c9047.entry.js → p-40abb10c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e4d71d54.entry.js → p-40d900dd.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a19899e8.entry.js → p-4149264b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-41b2fd4b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-c0a75e51.entry.js → p-424ad06e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-4384644b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-a9b867ba.entry.js → p-44e0607a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-47513f97.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-f7fbc60c.entry.js → p-48290eeb.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1ba40cf8.entry.js → p-49d38827.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-89085ecb.entry.js → p-4ca25777.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-dd0956ff.entry.js → p-4dd23355.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-4ddcae7b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-a6d16683.entry.js → p-4f1e9553.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-2dd842af.entry.js → p-4f48ceee.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-4smNltRI.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-8cf360fd.entry.js → p-50fd3a59.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-519634d3.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-c56f2db5.entry.js → p-51b028d6.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-569c628c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-06280e7f.entry.js → p-5b122492.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-5be00cb0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-75bd3ec5.entry.js → p-5bea0492.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-20223c49.entry.js → p-5c5b4dd6.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-fda813b2.entry.js → p-5f1951f7.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-6-MpaVf8.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-338c0af5.entry.js → p-610230e7.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-fcb30aba.entry.js → p-616af459.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-02c795e4.entry.js → p-62805bf3.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-62c7ee21.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-15c01638.entry.js → p-62f9f5a0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e3522b4f.entry.js → p-63bbb611.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e504d31a.entry.js → p-63ef5e5d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c3d5138a.entry.js → p-6408a7e2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-eeab33ab.entry.js → p-64fa2f88.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-2d35bf25.entry.js → p-6557a26c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-3340fe1b.entry.js → p-655a6196.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-0c5ee35c.entry.js → p-65a5d6df.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5908d64d.entry.js → p-6662177f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-bfca44c1.entry.js → p-66623058.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-668d38d9.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-66f34ca5.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6931825c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-307e4f2c.entry.js → p-69594580.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-30278402.entry.js → p-6a06b14f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-4f02027c.entry.js → p-6b8f46fc.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-2748fd04.entry.js → p-6b99ac0c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ad59d027.entry.js → p-6c174a9c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-de0aa27e.entry.js → p-6c1c6267.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-6cb1c6ea.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-f96d3edc.entry.js → p-6cb8d615.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-6f1671ed.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-71a36a21.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-71a8478d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-933fcb3c.entry.js → p-725df73b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-3ae6d4a5.entry.js → p-728074a0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-49336484.entry.js → p-737f41e9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-7688502e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-957a875a.entry.js → p-78001766.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-664ed749.entry.js → p-78e547be.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-af7abc5f.entry.js → p-7a954634.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e81c3bbb.entry.js → p-7b32d26e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ae1c09c2.entry.js → p-7bc3f73a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a0d8194f.entry.js → p-7ce5cc4c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9cffdb80.entry.js → p-7d0555f8.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-7d59ccc3.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-a4c241d0.entry.js → p-7e9dec30.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-67ce1957.entry.js → p-800141af.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b4b74ac9.entry.js → p-82a5250b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ca141841.entry.js → p-82f0b85a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e1e4b44f.entry.js → p-85ce04f2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-cbbf5dcc.entry.js → p-85d9d52c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9cd8b43b.entry.js → p-86c97931.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-8a01b372.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-ce23d2a4.entry.js → p-8e065a49.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-8d935631.entry.js → p-8fe026d9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-bfe8cd2d.entry.js → p-91265ee0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-51155f2a.entry.js → p-9145bf7a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-63a11af5.entry.js → p-93689a8d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-0a635c03.entry.js → p-9717db6a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-fa32de4b.entry.js → p-97669c38.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-af85febc.entry.js → p-984ce8c2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a301d2df.entry.js → p-98d5e757.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-99f6ee4e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-ffdc0b43.entry.js → p-9a11a125.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-9a4eecde.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-36a3dd52.entry.js → p-9b03b04a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-9df345c4.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-fbce7312.entry.js → p-9e1897de.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-B8hpiXmh.js +1 -0
- package/dist/digi-arbetsformedlingen/p-BBOpiDGx.js +1 -0
- package/dist/digi-arbetsformedlingen/p-BMQm4N5I.js +1 -0
- package/dist/digi-arbetsformedlingen/p-BSJH8Lpg.js +1 -0
- package/dist/digi-arbetsformedlingen/p-BfyJgcLA.js +1 -0
- package/dist/digi-arbetsformedlingen/p-BixPaBHw.js +1 -0
- package/dist/digi-arbetsformedlingen/p-BnKuq1L7.js +3 -0
- package/dist/digi-arbetsformedlingen/p-BvWKyXb_.js +1 -0
- package/dist/digi-arbetsformedlingen/p-BvcVTm_t.js +1 -0
- package/dist/digi-arbetsformedlingen/p-C6B2KRZo.js +1 -0
- package/dist/digi-arbetsformedlingen/p-CPzcg9n3.js +1 -0
- package/dist/digi-arbetsformedlingen/p-CgSR-RTl.js +1 -0
- package/dist/digi-arbetsformedlingen/p-Chk3GCYK.js +1 -0
- package/dist/digi-arbetsformedlingen/p-CkIb3cUS.js +1 -0
- package/dist/digi-arbetsformedlingen/p-CuhrrYGE.js +1 -0
- package/dist/digi-arbetsformedlingen/p-DCS1KcvC.js +1 -0
- package/dist/digi-arbetsformedlingen/p-DE6sqPn9.js +1 -0
- package/dist/digi-arbetsformedlingen/p-DGI7Jkg2.js +1 -0
- package/dist/digi-arbetsformedlingen/p-DJCufAhy.js +1 -0
- package/dist/digi-arbetsformedlingen/p-DNjGvZvz.js +1 -0
- package/dist/digi-arbetsformedlingen/p-DPkRL9Bv.js +1 -0
- package/dist/digi-arbetsformedlingen/p-DShzaNrQ.js +1 -0
- package/dist/digi-arbetsformedlingen/p-DfWZa2Wv.js +1 -0
- package/dist/digi-arbetsformedlingen/p-DpDyNuVC.js +1 -0
- package/dist/digi-arbetsformedlingen/p-DzSu1-K0.js +1 -0
- package/dist/digi-arbetsformedlingen/p-_ycZeBN4.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-ef7f4b61.entry.js → p-a0515a9a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c50f44cb.entry.js → p-a055ea73.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-a0ad3ada.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a3f3f306.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a5118bc8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-e0e5dc0d.entry.js → p-a74f6719.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-a75b1e3b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-942f46a1.entry.js → p-a8aabd0d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-bb04ee96.entry.js → p-a8b9a245.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-a9a1bf57.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-982929d7.entry.js → p-aa3d5f76.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-3469b9f9.entry.js → p-aa4c09a4.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-7b69e7ae.entry.js → p-abeb2ae6.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-2235c158.entry.js → p-ac3be3d5.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-ad329338.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-dee0b1de.entry.js → p-adc42d2b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-ae8cda59.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-20f19799.entry.js → p-aedcf116.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-af474b8b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-a3f88696.entry.js → p-b260cce3.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b7a254c8.entry.js → p-b29b6f7a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-8d205eb4.entry.js → p-b2d712ce.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a32da7e5.entry.js → p-b4534304.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-117ae1bf.entry.js → p-b61bb68d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-38f001be.entry.js → p-b746c5f8.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-16086e47.entry.js → p-b9ae3c3d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-81010787.entry.js → p-bb123c61.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-07df178d.entry.js → p-bdba8440.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e9d781e9.entry.js → p-bdf0adf8.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-beebbc90.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-9f3700c6.entry.js → p-c07dad2f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-aafc0526.entry.js → p-c28f67ee.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-efe4c6bc.entry.js → p-c345e105.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-271e7f0d.entry.js → p-c5472db0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-adb79247.entry.js → p-c6573e5d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-823ac9c7.entry.js → p-c76f56d9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-c7fcf4c0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-4043e535.entry.js → p-c93d9638.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a01d2607.entry.js → p-cbf181d6.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-97abdfba.entry.js → p-ce760d56.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-4922e535.entry.js → p-cf284ff4.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-d065e751.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d07a1377.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d0b3c35b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-be32dd3c.entry.js → p-d11f831f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-d150094c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-51b6e038.entry.js → p-d169bba2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ed58f659.entry.js → p-d1bd8f00.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-d1e0380b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-c38ae98b.entry.js → p-d306dcc2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-d55fca6c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-99f46663.entry.js → p-d63d588f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a9d36f0e.entry.js → p-d6db185c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9f8ab187.entry.js → p-d8907731.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-053aa04e.entry.js → p-d923550e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-d9f05bc7.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-9a816383.entry.js → p-dabcf5b4.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-6b6bfd63.entry.js → p-db633609.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-df8efa59.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-3c76aba2.entry.js → p-e083b072.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-e2b0b070.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e3448802.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e376ef67.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-e1b80e0f.entry.js → p-e41abde9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-122198af.entry.js → p-e4b2e4d3.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1c04ae7c.entry.js → p-e51bfddc.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-e52b0375.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-f58734e6.entry.js → p-e55c62c2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9a4bfd48.entry.js → p-e6976f43.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a3b79438.entry.js → p-e6ec44dd.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ba05a8b1.entry.js → p-e74cbfb8.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-e7b311da.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e867c5e1.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-eab48785.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-22ecce56.entry.js → p-eb40c752.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-ebfcc08b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-63ca62f1.entry.js → p-eddffe09.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-ee58a938.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-fa315acb.entry.js → p-f069b6a2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-39721031.entry.js → p-f0d6f813.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a3e76e7f.entry.js → p-f1541030.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5980bfed.entry.js → p-f4f5ce7b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-47f4e22b.entry.js → p-f4ff6302.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e88ffdc2.entry.js → p-f6305c8e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-f63550f1.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-cf96631b.entry.js → p-f6a311ff.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-873095d6.entry.js → p-f6b4acb7.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-f866ad1f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-7fdcf7c5.entry.js → p-f97e4bd6.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ad745876.entry.js → p-f982758f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-2e92e090.entry.js → p-fab6da17.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c4d09633.entry.js → p-fae174e9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-7746f33b.entry.js → p-fb20fc2b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-fbea2a99.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-7349ba09.entry.js → p-ff0a2f84.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-ff94e924.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-0a90bc6b.entry.js → p-ffd747f1.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-ffe8578c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-xwICssEK.js +1 -0
- package/dist/digi-arbetsformedlingen/styles/src/{themes/_alias-light.mixin.scss → _alias.mixin.scss} +1 -21
- package/dist/digi-arbetsformedlingen/styles/src/index.scss +2 -16
- package/dist/digi-arbetsformedlingen/styles/src/themes/_brand-af18.mixin.scss +1 -21
- package/dist/digi-arbetsformedlingen/styles/src/themes/_brand-af25.mixin.scss +3 -149
- package/dist/digi-arbetsformedlingen/styles/src/themes/_brand-common.mixin.scss +0 -11
- package/dist/digi-arbetsformedlingen/styles/src/tokens-documentation/web-AF25.json +203 -401
- package/dist/esm/button-type.enum-DShzaNrQ.js +8 -0
- package/dist/esm/{button-variation.enum-y5Nm4oWF.js → button-variation.enum-BMQm4N5I.js} +7 -1
- package/dist/esm/{calendar-week-view-heading-level.enum-DH_-wpLB.js → calendar-week-view-heading-level.enum-BBOpiDGx.js} +8 -1
- package/dist/esm/{code-example-variation.enum-Ooszw6tl.js → code-example-variation.enum-DGI7Jkg2.js} +1 -7
- package/dist/esm/digi-arbetsformedlingen.js +3 -3
- package/dist/esm/{digi-calendar-week-view.entry.js → digi-badge-notification_8.entry.js} +623 -12
- package/dist/esm/digi-badge-status.entry.js +2 -2
- package/dist/esm/digi-bar-chart.entry.js +67 -17
- package/dist/esm/digi-calendar-datepicker.entry.js +2668 -0
- package/dist/esm/digi-calendar_2.entry.js +487 -0
- package/dist/esm/digi-chart-line.entry.js +57 -15
- package/dist/esm/{digi-code-block_2.entry.js → digi-code-block_3.entry.js} +147 -8
- package/dist/esm/digi-code-example.entry.js +8 -8
- package/dist/esm/digi-code.entry.js +1 -1
- package/dist/esm/digi-context-menu.entry.js +239 -0
- package/dist/esm/digi-dialog.entry.js +27 -8
- package/dist/esm/digi-expandable-accordion.entry.js +1 -1
- package/dist/esm/digi-expandable-faq-item.entry.js +117 -0
- package/dist/esm/digi-expandable-faq.entry.js +1 -1
- package/dist/esm/digi-footer-card.entry.js +28 -0
- package/dist/esm/digi-footer.entry.js +76 -0
- package/dist/esm/digi-form-category-filter.entry.js +150 -0
- package/dist/esm/digi-form-checkbox.entry.js +139 -0
- package/dist/esm/digi-form-error-list.entry.js +26 -7
- package/dist/esm/digi-form-file-upload.entry.js +631 -0
- package/dist/esm/digi-form-filter.entry.js +255 -0
- package/dist/esm/digi-form-input-search.entry.js +4 -2
- package/dist/esm/digi-form-input.entry.js +203 -0
- package/dist/esm/digi-form-label_3.entry.js +143 -0
- package/dist/esm/digi-form-radiogroup.entry.js +1 -1
- package/dist/esm/digi-form-receipt.entry.js +26 -7
- package/dist/esm/digi-form-select-filter.entry.js +646 -0
- package/dist/esm/digi-form-select_2.entry.js +198 -0
- package/dist/esm/digi-form-textarea.entry.js +1 -1
- package/dist/esm/digi-header-avatar.entry.js +96 -0
- package/dist/esm/digi-header-navigation-item.entry.js +21 -0
- package/dist/esm/digi-header-navigation.entry.js +233 -0
- package/dist/esm/digi-header-notification.entry.js +17 -0
- package/dist/esm/digi-header.entry.js +112 -0
- package/dist/esm/digi-icon-accessibility-deaf.entry.js +1 -1
- package/dist/esm/digi-icon-accessibility-universal.entry.js +26 -0
- 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-bars.entry.js +26 -0
- package/dist/esm/digi-icon-bell-filled.entry.js +26 -0
- 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 +1 -1
- 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-check-circle-solid_4.entry.js +92 -0
- package/dist/esm/digi-icon-check.entry.js +26 -0
- package/dist/esm/digi-icon-checklist.entry.js +1 -1
- package/dist/esm/digi-icon-chevron-down.entry.js +26 -0
- 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-copy.entry.js +26 -0
- 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-envelope.entry.js +26 -0
- 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-external-link-alt_2.entry.js +49 -0
- 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-globe.entry.js +26 -0
- 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-list-ul_6.entry.js +136 -0
- 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-minus_2.entry.js +48 -0
- package/dist/esm/digi-icon-move.entry.js +1 -1
- package/dist/esm/digi-icon-notification-error_4.entry.js +92 -0
- 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-print.entry.js +1 -1
- package/dist/esm/digi-icon-read.entry.js +1 -1
- package/dist/esm/digi-icon-redo.entry.js +1 -1
- package/dist/esm/digi-icon-scale.entry.js +1 -1
- package/dist/esm/digi-icon-screensharing-off.entry.js +1 -1
- package/dist/esm/digi-icon-screensharing.entry.js +1 -1
- package/dist/esm/digi-icon-search.entry.js +1 -1
- package/dist/esm/digi-icon-send-outline.entry.js +1 -1
- package/dist/esm/digi-icon-send-solid.entry.js +1 -1
- package/dist/esm/digi-icon-settings.entry.js +1 -1
- package/dist/esm/digi-icon-share-alt.entry.js +1 -1
- package/dist/esm/digi-icon-share-chain.entry.js +1 -1
- package/dist/esm/digi-icon-sign.entry.js +26 -0
- package/dist/esm/digi-icon-sliders-h.entry.js +1 -1
- package/dist/esm/digi-icon-sokkandidat.entry.js +1 -1
- package/dist/esm/digi-icon-sort-down.entry.js +1 -1
- package/dist/esm/digi-icon-sort-up.entry.js +1 -1
- package/dist/esm/digi-icon-sort.entry.js +1 -1
- package/dist/esm/digi-icon-spinner.entry.js +27 -0
- package/dist/esm/digi-icon-star-reg.entry.js +1 -1
- package/dist/esm/digi-icon-star.entry.js +1 -1
- package/dist/esm/digi-icon-suitcase-outline.entry.js +1 -1
- package/dist/esm/digi-icon-suitcase-solid.entry.js +1 -1
- package/dist/esm/digi-icon-system-assistance.entry.js +1 -1
- package/dist/esm/digi-icon-table-column.entry.js +1 -1
- package/dist/esm/digi-icon-table-row.entry.js +1 -1
- package/dist/esm/digi-icon-task-done.entry.js +1 -1
- package/dist/esm/digi-icon-toggle-off.entry.js +1 -1
- package/dist/esm/digi-icon-toggle-on.entry.js +1 -1
- package/dist/esm/digi-icon-twitter.entry.js +1 -1
- package/dist/esm/digi-icon-tyck-till.entry.js +1 -1
- package/dist/esm/digi-icon-unlock.entry.js +1 -1
- package/dist/esm/digi-icon-update.entry.js +1 -1
- package/dist/esm/digi-icon-upload.entry.js +1 -1
- package/dist/esm/digi-icon-user-add.entry.js +1 -1
- package/dist/esm/digi-icon-user-alt.entry.js +1 -1
- package/dist/esm/digi-icon-user-edit.entry.js +1 -1
- package/dist/esm/digi-icon-users-solid.entry.js +1 -1
- package/dist/esm/digi-icon-validation-error_2.entry.js +48 -0
- package/dist/esm/digi-icon-videocamera-off.entry.js +1 -1
- package/dist/esm/digi-icon-videocamera.entry.js +1 -1
- package/dist/esm/digi-icon-volume.entry.js +1 -1
- package/dist/esm/digi-icon-web-tv.entry.js +1 -1
- package/dist/esm/digi-icon-wifi-signal0.entry.js +1 -1
- package/dist/esm/digi-icon-wifi-signal1.entry.js +1 -1
- package/dist/esm/digi-icon-wifi-signal2.entry.js +1 -1
- package/dist/esm/digi-icon-wifi-signal3.entry.js +1 -1
- package/dist/esm/digi-icon-window.entry.js +1 -1
- package/dist/esm/digi-icon-x-button.entry.js +1 -1
- package/dist/esm/digi-icon-x.entry.js +26 -0
- package/dist/esm/digi-icon-youtube.entry.js +1 -1
- package/dist/esm/digi-info-card-multi-container.entry.js +15 -0
- package/dist/esm/digi-info-card-multi.entry.js +58 -0
- package/dist/esm/digi-info-card.entry.js +88 -0
- package/dist/esm/digi-layout-block_2.entry.js +98 -0
- package/dist/esm/digi-layout-columns.entry.js +35 -0
- package/dist/esm/digi-link-button.entry.js +67 -0
- package/dist/esm/digi-link-internal.entry.js +37 -0
- package/dist/esm/digi-link.entry.js +73 -0
- package/dist/esm/digi-list.entry.js +1 -1
- package/dist/esm/digi-loader-skeleton.entry.js +1 -1
- package/dist/esm/digi-loader-spinner.entry.js +1 -1
- package/dist/esm/digi-logo.entry.js +52 -0
- package/dist/esm/digi-media-figure.entry.js +1 -1
- package/dist/esm/digi-media-image_2.entry.js +177 -0
- package/dist/esm/digi-navigation-breadcrumbs.entry.js +1 -1
- package/dist/esm/digi-navigation-pagination.entry.js +26 -7
- package/dist/esm/digi-navigation-sidebar-button.entry.js +27 -0
- package/dist/esm/digi-navigation-sidebar.entry.js +1 -1
- package/dist/esm/digi-navigation-vertical-menu-item.entry.js +165 -0
- package/dist/esm/digi-navigation-vertical-menu.entry.js +198 -0
- package/dist/esm/digi-notification-alert.entry.js +133 -0
- package/dist/esm/digi-notification-error-page.entry.js +26 -7
- package/dist/esm/digi-progress-circle.entry.js +1 -1
- package/dist/esm/digi-progress-indicator.entry.js +151 -0
- package/dist/esm/digi-progress-list-item.entry.js +2 -2
- package/dist/esm/digi-progress-list.entry.js +1 -1
- package/dist/esm/digi-progressbar.entry.js +1 -1
- package/dist/esm/digi-quote.entry.js +2 -2
- package/dist/esm/digi-table.entry.js +1 -1
- package/dist/esm/digi-tag-media.entry.js +45 -0
- package/dist/esm/digi-tag.entry.js +1 -1
- package/dist/esm/digi-title-logo.entry.js +126 -0
- package/dist/esm/digi-tools-feedback-banner.entry.js +1 -1
- package/dist/esm/digi-tools-feedback-rating.entry.js +1 -1
- package/dist/esm/digi-tools-feedback.entry.js +27 -8
- package/dist/esm/digi-tools-theme-provider.entry.js +27 -0
- package/dist/esm/digi-typography-heading-jumbo.entry.js +44 -0
- package/dist/esm/digi-typography-meta.entry.js +1 -1
- package/dist/esm/digi-typography-preamble.entry.js +15 -0
- package/dist/esm/digi-typography-time.entry.js +1 -1
- package/dist/esm/digi-util-breakpoint-observer.entry.js +43 -0
- package/dist/esm/digi-util-detect-click-outside.entry.js +1 -1
- package/dist/esm/digi-util-detect-focus-outside.entry.js +1 -1
- package/dist/esm/digi-util-keydown-handler.entry.js +79 -0
- package/dist/esm/digi-util-keyup-handler.entry.js +1 -1
- package/dist/esm/digi-util-mutation-observer.entry.js +1 -1
- package/dist/esm/digi-util-resize-observer.entry.js +1 -1
- package/dist/esm/expandable-faq-item-variation.enum-C6B2KRZo.js +18 -0
- package/dist/esm/footer-card-variation.enum-DzSu1-K0.js +8 -0
- package/dist/esm/form-checkbox-variation.enum-6-MpaVf8.js +19 -0
- package/dist/esm/form-file-upload-variation.enum-BfyJgcLA.js +24 -0
- package/dist/esm/form-input-search-variation.enum-BvWKyXb_.js +8 -0
- package/dist/esm/{form-input-type.enum-CN1mgrt1.js → form-input-type.enum-BSJH8Lpg.js} +1 -15
- package/dist/esm/form-input-variation.enum-DfWZa2Wv.js +29 -0
- package/dist/esm/form-select-variation.enum-DCS1KcvC.js +16 -0
- package/dist/esm/form-validation-message-variation.enum-B8hpiXmh.js +8 -0
- package/dist/esm/{index-Cnyfh_8_.js → index-B1Je6g2n.js} +3 -170
- package/dist/esm/index-BixPaBHw.js +170 -0
- package/dist/esm/{index-CVpgLUvB.js → index-BnKuq1L7.js} +233 -17
- package/dist/esm/index-BsIL3T_0.js +63 -0
- package/dist/esm/index.js +25 -6
- package/dist/esm/info-card-multi-type.enum-CkIb3cUS.js +8 -0
- package/dist/esm/info-card-variation.enum-_ycZeBN4.js +24 -0
- package/dist/esm/layout-columns-variation.enum-DJCufAhy.js +23 -0
- package/dist/esm/layout-container-max-width.enum-CuhrrYGE.js +21 -0
- package/dist/esm/link-button-variation.enum-CPzcg9n3.js +9 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/logo-color.enum-Chk3GCYK.js +7 -0
- package/dist/esm/navigation-vertical-menu-variation.enum-DPkRL9Bv.js +13 -0
- package/dist/esm/progress-indicator-heading-level.enum-DE6sqPn9.js +23 -0
- package/dist/esm/tag-media-icon.enum-BvcVTm_t.js +11 -0
- package/dist/esm/tools-theme-provider.brand.enum-DpDyNuVC.js +7 -0
- package/dist/esm/typography-heading-jumbo-variation.enum-DNjGvZvz.js +17 -0
- package/dist/esm/typography-variation.enum-4smNltRI.js +238 -0
- package/dist/types/components/_calendar/week-view/calendar-week-view.d.ts +4 -2
- package/dist/types/components/_chart/bar-chart/bar-chart.d.ts +4 -2
- package/dist/types/components/_chart/chart-line/chart-line.d.ts +3 -1
- package/dist/types/components/_navigation/navigation-tablist/navigation-tablist.d.ts +4 -2
- package/dist/types/components/_navigation/navigation-vertical-menu/navigation-vertical-menu.d.ts +7 -2
- package/dist/types/components/_tools/tools-theme-provider/tools-theme-provider.d.ts +0 -9
- package/dist/types/components.d.ts +3 -16
- package/dist/types/enums.d.ts +0 -1
- package/hydrate/index.js +267 -114
- package/hydrate/index.mjs +267 -114
- package/package.json +2 -4
- package/components/p-BYZUJ0Q_.js +0 -13
- package/components/p-Dk94thVd.js +0 -72
- package/components/p-LWrKvugR.js +0 -187
- package/components/p-YY9KfgDx.js +0 -172
- package/dist/cjs/badge-notification-shape.enum-CEyEo2G5.js +0 -8
- package/dist/cjs/digi-badge-notification.cjs.entry.js +0 -65
- package/dist/cjs/digi-button_83.cjs.entry.js +0 -8834
- package/dist/cjs/digi-tablist-panel.cjs.entry.js +0 -20
- package/dist/cjs/digi-tablist.cjs.entry.js +0 -289
- package/dist/cjs/typography-variation.enum-B05du-qd.js +0 -511
- package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.theme.enum.js +0 -5
- package/dist/collection/styles/src/themes/_alias-dark.mixin.scss +0 -128
- package/dist/digi-arbetsformedlingen/p-36d71792.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3d52c5f5.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-418abb32.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4b52f1c2.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6aa97551.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6f73f111.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-75cda0ec.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-78d1d05c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-791a3661.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-CC1-vxoR.js +0 -1
- package/dist/digi-arbetsformedlingen/p-CKoZU0-H.js +0 -1
- package/dist/digi-arbetsformedlingen/p-CN1mgrt1.js +0 -1
- package/dist/digi-arbetsformedlingen/p-CVpgLUvB.js +0 -3
- package/dist/digi-arbetsformedlingen/p-Cnyfh_8_.js +0 -1
- package/dist/digi-arbetsformedlingen/p-DH_-wpLB.js +0 -1
- package/dist/digi-arbetsformedlingen/p-Ooszw6tl.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a454c755.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c58126ca.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ce683f63.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d8bebd96.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e745e12f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ec79f19d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f8ba57e8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f8bc8e29.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-fe2f7e75.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-y5Nm4oWF.js +0 -1
- package/dist/digi-arbetsformedlingen/styles/src/themes/_alias-dark.mixin.scss +0 -128
- package/dist/esm/badge-notification-shape.enum-CKoZU0-H.js +0 -8
- package/dist/esm/digi-badge-notification.entry.js +0 -63
- package/dist/esm/digi-button_83.entry.js +0 -8750
- package/dist/esm/digi-tablist-panel.entry.js +0 -18
- package/dist/esm/digi-tablist.entry.js +0 -287
- package/dist/esm/typography-variation.enum-CC1-vxoR.js +0 -511
- package/dist/types/components/_tools/tools-theme-provider/tools-theme-provider.theme.enum.d.ts +0 -4
|
@@ -0,0 +1,633 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-Cn1hHaSy.js');
|
|
4
|
+
var text = require('./text-Cu3CaHGj.js');
|
|
5
|
+
var randomIdGenerator_util = require('./randomIdGenerator.util-C8XR2Tn1.js');
|
|
6
|
+
var formFileUploadVariation_enum = require('./form-file-upload-variation.enum-xcEOoggr.js');
|
|
7
|
+
var utilBreakpointObserverBreakpoints_enum = require('./util-breakpoint-observer-breakpoints.enum-zoJiezkV.js');
|
|
8
|
+
var formValidationMessageVariation_enum = require('./form-validation-message-variation.enum-BA5nmCiw.js');
|
|
9
|
+
|
|
10
|
+
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}}`;
|
|
11
|
+
|
|
12
|
+
const FormFileUpload = class {
|
|
13
|
+
constructor(hostRef) {
|
|
14
|
+
index.registerInstance(this, hostRef);
|
|
15
|
+
this.afOnUploadFile = index.createEvent(this, "afOnUploadFile", 7);
|
|
16
|
+
this.afOnRemoveFile = index.createEvent(this, "afOnRemoveFile", 7);
|
|
17
|
+
this.afOnCancelFile = index.createEvent(this, "afOnCancelFile", 7);
|
|
18
|
+
this.afOnReady = index.createEvent(this, "afOnReady", 3);
|
|
19
|
+
this.afShowModal = index.createEvent(this, "afShowModal", 7);
|
|
20
|
+
this.files = [];
|
|
21
|
+
this.error = false;
|
|
22
|
+
this.errorMessages = [];
|
|
23
|
+
this.fileHover = false;
|
|
24
|
+
/**
|
|
25
|
+
* Texten till label-elementet. Obligatoriskt fält.
|
|
26
|
+
* @en The label text. Required field.
|
|
27
|
+
*/
|
|
28
|
+
this.afLabel = text._t.form.file_upload;
|
|
29
|
+
/**
|
|
30
|
+
* Sätter variant. Kan vara 'small', 'medium' eller 'large'. Oberoende på satt storlek så kommer komponenten bli 'small' på mobilskärmar.
|
|
31
|
+
* @en Set input variation 'small', 'medium' or 'large'. On a mobile screen the variation will be automatically set to 'small'.
|
|
32
|
+
*/
|
|
33
|
+
this.afVariation = formFileUploadVariation_enum.FormFileUploadVariation.SMALL;
|
|
34
|
+
/**
|
|
35
|
+
* Sätter attributet 'id'. Om inget väljs så skapas ett slumpmässigt id.
|
|
36
|
+
* @en Input id attribute. Defaults to random string.
|
|
37
|
+
*/
|
|
38
|
+
this.afId = randomIdGenerator_util.randomIdGenerator('digi-form-file-upload');
|
|
39
|
+
/**
|
|
40
|
+
* Sätter en maximal filstorlek i MB, 10MB är standard.
|
|
41
|
+
* @en Set file max size in MB
|
|
42
|
+
*/
|
|
43
|
+
this.afFileMaxSize = 10;
|
|
44
|
+
/**
|
|
45
|
+
* Sätt denna till true om formuläret innehåller fler obligatoriska fält än valfria.
|
|
46
|
+
* @en Set this to true if the form contains more required fields than optional fields.
|
|
47
|
+
*/
|
|
48
|
+
this.afAnnounceIfOptional = false;
|
|
49
|
+
/**
|
|
50
|
+
* Sätt rubrik för uppladdade filer.
|
|
51
|
+
* @en Set heading for uploaded files.
|
|
52
|
+
*/
|
|
53
|
+
this.afHeadingFiles = text._t.form.file_uploaded_files;
|
|
54
|
+
/**
|
|
55
|
+
* Visar miniatyrbild/ikon på uppladdade filer.
|
|
56
|
+
* @en Shows thumbnail.
|
|
57
|
+
*/
|
|
58
|
+
this.afShowThumbnail = false;
|
|
59
|
+
/**
|
|
60
|
+
* Aktiverar förhandsgranskning.
|
|
61
|
+
* @en Activates preview of uploaded files.
|
|
62
|
+
*/
|
|
63
|
+
this.afEnablePreview = false;
|
|
64
|
+
/**
|
|
65
|
+
* Sätter antivirus scan status. Kan vara 'enable' eller 'disabled'.
|
|
66
|
+
* @en Set antivirus scan status. Enable is default.
|
|
67
|
+
*/
|
|
68
|
+
this.afValidation = formFileUploadVariation_enum.FormFileUploadValidation.DISABLED;
|
|
69
|
+
/**
|
|
70
|
+
* Sätt rubrikens vikt. 'h2' är förvalt.
|
|
71
|
+
* @en Set heading level. Default is 'h2'
|
|
72
|
+
*/
|
|
73
|
+
this.afHeadingLevel = formFileUploadVariation_enum.FormFileUploadHeadingLevel.H2;
|
|
74
|
+
/**
|
|
75
|
+
* Om värdet är true får felmeddelandet attributet role="alert".
|
|
76
|
+
* Om felet visas tillsammans med flera andra fel (till exempel efter servervalidering) ska värdet sättas till false.
|
|
77
|
+
* @en If the value is true, the error message gets the attribute role="alert".
|
|
78
|
+
* If the error is shown together with multiple errors (for example after server-side validation), the value should be set to false.
|
|
79
|
+
*/
|
|
80
|
+
this.afErrorMessageIsAlert = true;
|
|
81
|
+
this.toBase64 = (file) => new Promise((resolve, reject) => {
|
|
82
|
+
const reader = new FileReader();
|
|
83
|
+
reader.readAsDataURL(file);
|
|
84
|
+
reader.onload = () => {
|
|
85
|
+
const encoded = reader.result.toString().replace(/^data:(.*,)?/, '');
|
|
86
|
+
resolve(encoded);
|
|
87
|
+
};
|
|
88
|
+
reader.onerror = (error) => reject(error);
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
afValidationTextChange() {
|
|
92
|
+
this.setValidationText();
|
|
93
|
+
}
|
|
94
|
+
get errorMessageIsAlert() {
|
|
95
|
+
return (this.afErrorMessageIsAlert !== false &&
|
|
96
|
+
this.afErrorMessageIsAlert !== 'false');
|
|
97
|
+
}
|
|
98
|
+
breakpointHandler(e) {
|
|
99
|
+
if (e.detail.value) {
|
|
100
|
+
if (e.detail.value === utilBreakpointObserverBreakpoints_enum.UtilBreakpointObserverBreakpoints.SMALL) {
|
|
101
|
+
this.afVariation = formFileUploadVariation_enum.FormFileUploadVariation.SMALL;
|
|
102
|
+
}
|
|
103
|
+
else {
|
|
104
|
+
this.afVariation = this.aforiginalVariation;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* 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".
|
|
110
|
+
* @en Send a validated file to the component. Expects file to exist in component with status "pending".
|
|
111
|
+
*/
|
|
112
|
+
async afMValidateFile(file) {
|
|
113
|
+
if (!this.fileExistInFiles(file)) {
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
116
|
+
this.removeFileFromList(file['id']);
|
|
117
|
+
if (file['status'] !== 'error') {
|
|
118
|
+
/* Måste göra en kopia av filen för att komponenten ska rendera om sig.
|
|
119
|
+
* Annars kan den peka på samma referens och förstår inte att statusen har ändrats. */
|
|
120
|
+
const copiedFile = new File([file], file.name, { type: file.type });
|
|
121
|
+
copiedFile['id'] = file['id'];
|
|
122
|
+
copiedFile['status'] = file['status'];
|
|
123
|
+
copiedFile['base64'] = await this.toBase64(file);
|
|
124
|
+
this.files = [...this.files, copiedFile];
|
|
125
|
+
}
|
|
126
|
+
else {
|
|
127
|
+
this.validateFile(file);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Få ut alla uppladdade filer
|
|
132
|
+
* @en Get all uploaded files
|
|
133
|
+
*/
|
|
134
|
+
async afMGetAllFiles() {
|
|
135
|
+
return this.files;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Hämta ut komponentens validitets-state och felmeddelanden
|
|
139
|
+
* @en Get component validity and error messages
|
|
140
|
+
*/
|
|
141
|
+
async afMGetValidationState() {
|
|
142
|
+
return { isValid: !this.error, errorMessages: this.errorMessages };
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Importera lista med filer utan att trigga uppladdningsevent. Ett objekt måste innehålla id, status och filen själv.
|
|
146
|
+
* @en Import array with files without triggering upload event. A file object needs to contain an id, status and the file itself.
|
|
147
|
+
*/
|
|
148
|
+
async afMImportFiles(files) {
|
|
149
|
+
this.resetErrors();
|
|
150
|
+
if (files && files.length > 0) {
|
|
151
|
+
for (const importedFile of files) {
|
|
152
|
+
this.validateFile(importedFile);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
const filesThatArOK = this.errorMessages.length === 0 ? files : this.getFilesThatAreOK(files);
|
|
156
|
+
if (filesThatArOK.length === 0) {
|
|
157
|
+
return;
|
|
158
|
+
}
|
|
159
|
+
this.files = this.files.concat(filesThatArOK);
|
|
160
|
+
}
|
|
161
|
+
async afMGetFormControlElement() {
|
|
162
|
+
return this._input;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Rensar komponentens fillista och eventuella felmeddelanden.
|
|
166
|
+
* @en Clears the component's file list and any error messages.
|
|
167
|
+
*/
|
|
168
|
+
async afMClearFiles() {
|
|
169
|
+
this.files = [];
|
|
170
|
+
this.resetErrors();
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* Lyssnar på om fokus sätts på custom-elementet och propagerar ner det till själva input-elementet.
|
|
174
|
+
* @en Listens for when focus is set on the custom element and propagates it down to the actual input element.
|
|
175
|
+
*/
|
|
176
|
+
focusOnInput() {
|
|
177
|
+
this._input.focus();
|
|
178
|
+
}
|
|
179
|
+
componentWillLoad() {
|
|
180
|
+
this.aforiginalVariation = this.afVariation;
|
|
181
|
+
}
|
|
182
|
+
componentDidLoad() {
|
|
183
|
+
this.hostElement.setAttribute('tabindex', '-1');
|
|
184
|
+
this.afOnReady.emit();
|
|
185
|
+
/* Vid första renderingen så fungerar inte propertyn korrekt om vi inte kallar på setValidationText härifrån.
|
|
186
|
+
* Gissar att det är en tajmin-issue mellan prop och state, men hinner inte gräva i det mer nu. */
|
|
187
|
+
this.setValidationText();
|
|
188
|
+
}
|
|
189
|
+
get fileMaxSize() {
|
|
190
|
+
const MEGABYTE = 1048576;
|
|
191
|
+
return this.afFileMaxSize * MEGABYTE;
|
|
192
|
+
}
|
|
193
|
+
setValidationText() {
|
|
194
|
+
if (this.afValidationText && this.afValidationText.length > 0) {
|
|
195
|
+
let isDuplicated = false;
|
|
196
|
+
if (this.errorMessages.length > 0) {
|
|
197
|
+
this.errorMessages.forEach((error) => {
|
|
198
|
+
if (error.message === this.afValidationText) {
|
|
199
|
+
isDuplicated = true;
|
|
200
|
+
}
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
if (!isDuplicated) {
|
|
204
|
+
this.errorMessages.push({
|
|
205
|
+
fileName: '',
|
|
206
|
+
message: this.afValidationText
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
this.error = true;
|
|
210
|
+
}
|
|
211
|
+
else {
|
|
212
|
+
this.resetErrors();
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
fileExistInFiles(fileToCheck) {
|
|
216
|
+
let exist = false;
|
|
217
|
+
if (this.files.length > 0) {
|
|
218
|
+
this.files.forEach((file) => {
|
|
219
|
+
if (file['id'] === fileToCheck['id']) {
|
|
220
|
+
exist = true;
|
|
221
|
+
return;
|
|
222
|
+
}
|
|
223
|
+
else if (file.name === fileToCheck.name) {
|
|
224
|
+
exist = true;
|
|
225
|
+
}
|
|
226
|
+
});
|
|
227
|
+
}
|
|
228
|
+
return exist;
|
|
229
|
+
}
|
|
230
|
+
checkAcceptedTypes(file) {
|
|
231
|
+
const acceptedTypes = this.afFileTypes.replace(/\s/g, '').split(',');
|
|
232
|
+
const fileMimeType = file.type;
|
|
233
|
+
const fileNameExtension = file.name
|
|
234
|
+
.split('.')
|
|
235
|
+
.slice(-1)
|
|
236
|
+
.map((item) => '.' + item.toLowerCase())
|
|
237
|
+
.toString();
|
|
238
|
+
return acceptedTypes.some((item) => {
|
|
239
|
+
// Checking against group of mime types
|
|
240
|
+
if (item.includes('/*')) {
|
|
241
|
+
const mimeTypeCategory = item.split('/').slice(0, 1).toString();
|
|
242
|
+
const fileMimeTypeCategory = fileMimeType
|
|
243
|
+
.split('/')
|
|
244
|
+
.slice(0, 1)
|
|
245
|
+
.toString();
|
|
246
|
+
return mimeTypeCategory == fileMimeTypeCategory;
|
|
247
|
+
}
|
|
248
|
+
// Checking against mimetype and extension
|
|
249
|
+
return (item === fileMimeType || item === fileNameExtension || item === '*');
|
|
250
|
+
});
|
|
251
|
+
}
|
|
252
|
+
resetErrors(handleFocus = false) {
|
|
253
|
+
this.error = false;
|
|
254
|
+
this._srTextContainer.textContent = '';
|
|
255
|
+
this.errorMessages = [];
|
|
256
|
+
/* Timeouten behövs för att state och element ska hinna renderas om innan fokus flyttas.
|
|
257
|
+
Vi märkte att det blir problem för hjälpmedel om den inte är på plats. */
|
|
258
|
+
if (handleFocus) {
|
|
259
|
+
setTimeout(() => {
|
|
260
|
+
this._uploadButton.focus();
|
|
261
|
+
}, 100);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
addErrorMessage(fileName, message) {
|
|
265
|
+
this.errorMessages.push({
|
|
266
|
+
fileName: fileName,
|
|
267
|
+
message: message
|
|
268
|
+
});
|
|
269
|
+
}
|
|
270
|
+
validateFileStatus(file) {
|
|
271
|
+
if (file['status'] &&
|
|
272
|
+
file['status'] === formValidationMessageVariation_enum.FormValidationMessageVariation.ERROR) {
|
|
273
|
+
const message = file['error']
|
|
274
|
+
? file['error']
|
|
275
|
+
: text._t.form.file_error_unknown_error;
|
|
276
|
+
this.addErrorMessage(file.name, message);
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
validateMaxSize(file) {
|
|
280
|
+
if (file.size > this.fileMaxSize) {
|
|
281
|
+
const message = this.afFileMaxSizeText
|
|
282
|
+
? this.afFileMaxSizeText
|
|
283
|
+
: text._t.form.file_error_too_large(file.name, this.afFileMaxSize);
|
|
284
|
+
this.addErrorMessage(file.name, message);
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
validateFileType(file) {
|
|
288
|
+
if (!this.checkAcceptedTypes(file)) {
|
|
289
|
+
this.addErrorMessage(file.name, text._t.form.file_error_filetype_not_allowed(file.name, this.afFileTypes));
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
validateFile(file) {
|
|
293
|
+
this.validateIfFileIsAlreadyUploaded(file);
|
|
294
|
+
this.validateFileStatus(file);
|
|
295
|
+
this.validateMaxSize(file);
|
|
296
|
+
this.validateFileType(file);
|
|
297
|
+
this.error = this.errorMessages.length > 0;
|
|
298
|
+
}
|
|
299
|
+
onCancelFileHandler(e, id) {
|
|
300
|
+
e.preventDefault();
|
|
301
|
+
const fileFromList = this.removeFileFromList(id);
|
|
302
|
+
fileFromList['status'] = 'error';
|
|
303
|
+
fileFromList['error'] = text._t.form.file_upload_canceled;
|
|
304
|
+
this.afOnCancelFile.emit(fileFromList);
|
|
305
|
+
}
|
|
306
|
+
removeFileFromList(id) {
|
|
307
|
+
const index = this.getIndexOfFile(id);
|
|
308
|
+
if (index === -1) {
|
|
309
|
+
return;
|
|
310
|
+
}
|
|
311
|
+
const removedFile = this.files[index];
|
|
312
|
+
this.files = [
|
|
313
|
+
...this.files.slice(0, index),
|
|
314
|
+
...this.files.slice(index + 1)
|
|
315
|
+
];
|
|
316
|
+
return removedFile;
|
|
317
|
+
}
|
|
318
|
+
getIndexOfFile(id) {
|
|
319
|
+
const index = this.files.findIndex((file) => file['id'] == id);
|
|
320
|
+
return index;
|
|
321
|
+
}
|
|
322
|
+
getFilesThatAreOK(files) {
|
|
323
|
+
const validFiles = [];
|
|
324
|
+
files.forEach((file) => {
|
|
325
|
+
let isValid = true;
|
|
326
|
+
this.errorMessages.forEach((message) => {
|
|
327
|
+
if (message.fileName === file.name) {
|
|
328
|
+
isValid = false;
|
|
329
|
+
}
|
|
330
|
+
});
|
|
331
|
+
if (isValid) {
|
|
332
|
+
validFiles.push(file);
|
|
333
|
+
}
|
|
334
|
+
});
|
|
335
|
+
return validFiles;
|
|
336
|
+
}
|
|
337
|
+
validateIfFileIsAlreadyUploaded(file) {
|
|
338
|
+
for (const item of this.files) {
|
|
339
|
+
if (item.name === file.name) {
|
|
340
|
+
this.addErrorMessage(file.name, text._t.form.file_error_exists(file.name));
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
handleFiles(e) {
|
|
345
|
+
var _a, _b;
|
|
346
|
+
this.resetErrors();
|
|
347
|
+
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;
|
|
348
|
+
const filesToValidate = [];
|
|
349
|
+
Array.from(fileList).forEach((file) => {
|
|
350
|
+
filesToValidate.push(file);
|
|
351
|
+
});
|
|
352
|
+
if (!filesToValidate || filesToValidate.length === 0) {
|
|
353
|
+
return;
|
|
354
|
+
}
|
|
355
|
+
const numberOfFiles = filesToValidate.length + this.files.length;
|
|
356
|
+
if (numberOfFiles > this.afMaxFiles) {
|
|
357
|
+
this.addErrorMessage('', text._t.form.file_error_too_many);
|
|
358
|
+
this.error = true;
|
|
359
|
+
return;
|
|
360
|
+
}
|
|
361
|
+
filesToValidate.forEach((file) => {
|
|
362
|
+
this.validateFile(file);
|
|
363
|
+
});
|
|
364
|
+
const filesThatArOK = this.errorMessages.length === 0
|
|
365
|
+
? filesToValidate
|
|
366
|
+
: this.getFilesThatAreOK(filesToValidate);
|
|
367
|
+
if (filesThatArOK.length === 0) {
|
|
368
|
+
return;
|
|
369
|
+
}
|
|
370
|
+
const formData = new FormData();
|
|
371
|
+
filesThatArOK.forEach((file) => {
|
|
372
|
+
formData.append('file', file);
|
|
373
|
+
});
|
|
374
|
+
for (const obj of formData.entries()) {
|
|
375
|
+
this.addFileStatusAndEmitFiles(obj[1]);
|
|
376
|
+
}
|
|
377
|
+
this._input.value = '';
|
|
378
|
+
}
|
|
379
|
+
onButtonUploadFileHandler(e) {
|
|
380
|
+
e.preventDefault();
|
|
381
|
+
if (!e.target.files)
|
|
382
|
+
return;
|
|
383
|
+
this.handleFiles(e);
|
|
384
|
+
}
|
|
385
|
+
onRemoveFileHandler(e, id) {
|
|
386
|
+
e.preventDefault();
|
|
387
|
+
this.resetErrors();
|
|
388
|
+
const fileToRemove = this.removeFileFromList(id);
|
|
389
|
+
this.afOnRemoveFile.emit(fileToRemove);
|
|
390
|
+
this._input.value = '';
|
|
391
|
+
this.handleFocusAfterFileRemoved();
|
|
392
|
+
}
|
|
393
|
+
handleFocusAfterFileRemoved() {
|
|
394
|
+
/* Timeouten behövs för att state och element ska hinna renderas om innan fokus flyttas.
|
|
395
|
+
Vi märkte att det blir problem för hjälpmedel om den inte är på plats. */
|
|
396
|
+
setTimeout(() => {
|
|
397
|
+
if (this.files.length > 0) {
|
|
398
|
+
this._fileList.focus();
|
|
399
|
+
}
|
|
400
|
+
else {
|
|
401
|
+
this._uploadButton.focus();
|
|
402
|
+
}
|
|
403
|
+
}, 100);
|
|
404
|
+
}
|
|
405
|
+
emitFile(file) {
|
|
406
|
+
const index = this.getIndexOfFile(file['id']);
|
|
407
|
+
if (this.afValidation === formFileUploadVariation_enum.FormFileUploadValidation.ENABLED) {
|
|
408
|
+
this.afOnUploadFile.emit(this.files[index]);
|
|
409
|
+
}
|
|
410
|
+
else {
|
|
411
|
+
this.files[index]['status'] = 'OK';
|
|
412
|
+
this.afOnUploadFile.emit(this.files[index]);
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
async addFileStatusAndEmitFiles(file) {
|
|
416
|
+
file['id'] = randomIdGenerator_util.randomIdGenerator('file');
|
|
417
|
+
file['status'] = 'pending';
|
|
418
|
+
file['base64'] = await this.toBase64(file);
|
|
419
|
+
this.files = [...this.files, file];
|
|
420
|
+
this.emitFile(file);
|
|
421
|
+
}
|
|
422
|
+
handleDrop(e) {
|
|
423
|
+
e.stopPropagation();
|
|
424
|
+
e.preventDefault();
|
|
425
|
+
this.fileHover = false;
|
|
426
|
+
if (e.dataTransfer.files) {
|
|
427
|
+
this.handleFiles(e);
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
handleAllowDrop(e) {
|
|
431
|
+
if (this.afVariation === formFileUploadVariation_enum.FormFileUploadVariation.SMALL)
|
|
432
|
+
return;
|
|
433
|
+
e.stopPropagation();
|
|
434
|
+
e.preventDefault();
|
|
435
|
+
}
|
|
436
|
+
handleOnDragEnterLeave(e) {
|
|
437
|
+
this.handleAllowDrop(e);
|
|
438
|
+
this.fileHover = !this.fileHover;
|
|
439
|
+
}
|
|
440
|
+
handleInputClick(e) {
|
|
441
|
+
e.stopPropagation();
|
|
442
|
+
this.afShowModal.emit();
|
|
443
|
+
this._input.click();
|
|
444
|
+
}
|
|
445
|
+
getFiletypeAndShortFileName(file) {
|
|
446
|
+
let fileType = null;
|
|
447
|
+
let fileName = file.name;
|
|
448
|
+
const fileExtension = fileName.split('.').pop();
|
|
449
|
+
const fileWithoutExtension = fileName.replace('.' + fileExtension, '');
|
|
450
|
+
const minChars = window.innerWidth < 769 ? 6 : fileName.length;
|
|
451
|
+
const maxChars = window.innerWidth < 769 ? 14 : fileName.length;
|
|
452
|
+
if (String(file['type']).split('/')[0] === 'image') {
|
|
453
|
+
fileType = 'image';
|
|
454
|
+
}
|
|
455
|
+
else if (String(file['type']).split('/')[1] === 'pdf') {
|
|
456
|
+
fileType = 'pdf';
|
|
457
|
+
}
|
|
458
|
+
else {
|
|
459
|
+
fileType = 'default';
|
|
460
|
+
}
|
|
461
|
+
if (fileName.length > minChars) {
|
|
462
|
+
fileName =
|
|
463
|
+
fileWithoutExtension.substring(0, minChars) + '...' + fileExtension;
|
|
464
|
+
}
|
|
465
|
+
else if (fileName.length > maxChars) {
|
|
466
|
+
fileName = fileWithoutExtension.substring(0, 6) + '...' + fileExtension;
|
|
467
|
+
}
|
|
468
|
+
else {
|
|
469
|
+
fileName = file.name;
|
|
470
|
+
}
|
|
471
|
+
return { type: fileType, name: fileName };
|
|
472
|
+
}
|
|
473
|
+
// If its a pdf or an image the file is opened on another tab, any other file formats are downloaded
|
|
474
|
+
async viewUploadedFile(e, file) {
|
|
475
|
+
e.preventDefault();
|
|
476
|
+
if (this.getFiletypeAndShortFileName(file).type === 'image') {
|
|
477
|
+
const w = window.open();
|
|
478
|
+
w.document.write(`<img src="data:${file['type']};base64,${file['base64']}" alt="${file.name}" />`);
|
|
479
|
+
w.document.title = file['name'];
|
|
480
|
+
}
|
|
481
|
+
else if (this.getFiletypeAndShortFileName(file).type === 'pdf') {
|
|
482
|
+
(async () => {
|
|
483
|
+
const pdfstr = await fetch(`data:application/pdf;base64,${file['base64']}`);
|
|
484
|
+
const blobFromFetch = await pdfstr.blob();
|
|
485
|
+
const blob = new Blob([blobFromFetch], { type: 'application/pdf' });
|
|
486
|
+
const blobUrl = URL.createObjectURL(blob);
|
|
487
|
+
setTimeout(() => {
|
|
488
|
+
window.open(blobUrl, '_blank');
|
|
489
|
+
}, 30);
|
|
490
|
+
})();
|
|
491
|
+
}
|
|
492
|
+
else {
|
|
493
|
+
const fileURL = URL.createObjectURL(file);
|
|
494
|
+
const a = document.createElement('a');
|
|
495
|
+
a.href = fileURL;
|
|
496
|
+
a.target = '_blank';
|
|
497
|
+
a.download = file.name;
|
|
498
|
+
a.click();
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
get cssModifiers() {
|
|
502
|
+
return {
|
|
503
|
+
'digi-form-file-upload--small': this.afVariation == 'small',
|
|
504
|
+
'digi-form-file-upload--medium': this.afVariation == 'medium',
|
|
505
|
+
'digi-form-file-upload--large': this.afVariation == 'large',
|
|
506
|
+
'digi-form-file-upload--has-errors': this.errorMessages.length > 0
|
|
507
|
+
};
|
|
508
|
+
}
|
|
509
|
+
renderErrorMessage() {
|
|
510
|
+
if (!this.error) {
|
|
511
|
+
return;
|
|
512
|
+
}
|
|
513
|
+
this.readErrorMessagesToAssistiveTechnologies();
|
|
514
|
+
const showBorder = this.files.length > 0 ? 'with-files' : '';
|
|
515
|
+
return (index.h("div", { class: 'digi-form-file-upload__error-list-container ' + showBorder }, index.h("ul", { class: "digi-form-file-upload__error-list", "aria-hidden": "true" }, this.renderErrorMessages()), index.h("button", { type: "button", "aria-label": text._t.form.file_upload_reset_errors_aria_label, class: "digi-form-file-upload__button clear-button hidden-mobile", onClick: () => {
|
|
516
|
+
this.resetErrors(true);
|
|
517
|
+
} }, index.h("span", null, text._t.form.file_upload_reset_errors)), index.h("button", { type: "button", onClick: () => {
|
|
518
|
+
this.resetErrors(true);
|
|
519
|
+
}, class: "digi-form-file-upload__button clear-button hidden-desktop", "aria-label": text._t.form.file_upload_reset_errors_aria_label }, index.h("digi-icon-x-button-outline", { class: "digi-form-file-upload__button-icon clear-icon", "aria-hidden": "true" }))));
|
|
520
|
+
}
|
|
521
|
+
readErrorMessagesToAssistiveTechnologies() {
|
|
522
|
+
this._srTextContainer.textContent = '';
|
|
523
|
+
const srTexts = this.errorMessages.map((error) => {
|
|
524
|
+
return error.message + ' ';
|
|
525
|
+
});
|
|
526
|
+
/* Timeouten behövs för att state och element ska hinna renderas om innan innehållet ändras.
|
|
527
|
+
Vi märkte att det blir problem för hjälpmedel om den inte är på plats. */
|
|
528
|
+
setTimeout(() => {
|
|
529
|
+
this._srTextContainer.textContent = srTexts.toString();
|
|
530
|
+
}, 200);
|
|
531
|
+
}
|
|
532
|
+
renderErrorMessages() {
|
|
533
|
+
return this.errorMessages.map((error) => {
|
|
534
|
+
return (index.h("li", null, index.h("digi-form-validation-message", { id: "digi-form-file-upload__error", class: "digi-form-file-upload__error", "af-variation": "error" }, error.message)));
|
|
535
|
+
});
|
|
536
|
+
}
|
|
537
|
+
renderPendingFile(file) {
|
|
538
|
+
return (index.h("div", { class: "digi-form-file-upload__item-pending-container" }, index.h("span", { class: "info-wrapper" }, index.h("digi-icon-spinner", { class: "digi-form-file-upload__spinner" }), index.h("span", { style: { margin: '0' } }, text._t.form.file_upload_progress, " ", index.h("span", { class: "hidden-mobile" }, "|")), index.h("p", { class: "digi-form-file-upload__item-name-pending hidden-mobile" }, this.getFiletypeAndShortFileName(file).name)), index.h("span", { class: "button-wrapper" }, index.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": text._t.form.file_cancel_upload_long(file.name) }, text._t.form.file_cancel_upload), index.h("button", { type: "button", onClick: (e) => this.onCancelFileHandler(e, file['id']), class: "digi-form-file-upload__button hidden-desktop", "aria-label": text._t.form.file_cancel_upload_long(file.name) }, index.h("digi-icon-x-button-outline", { class: "digi-form-file-upload__button-icon", "aria-hidden": "true" })))));
|
|
539
|
+
}
|
|
540
|
+
renderImageThumbnail(file) {
|
|
541
|
+
if (this.afShowThumbnail) {
|
|
542
|
+
return (index.h("figure", { class: "digi-form-file-upload__item-text-container-figure", style: { margin: '0' } }, index.h("img", { "aria-hidden": "true", class: "thumbnail", src: `data:${file['type']};base64,${file['base64']}` }), index.h("figcaption", { class: "visually-hidden" }, "Miniatyr av ", file.name)));
|
|
543
|
+
}
|
|
544
|
+
return this.renderCheckmark();
|
|
545
|
+
}
|
|
546
|
+
renderCheckmark() {
|
|
547
|
+
return (index.h("span", { class: "digi-form-file-upload__item-green-check" }, index.h("digi-icon-check-circle-solid", { class: "digi-form-file-upload__item-green-check-icon" })));
|
|
548
|
+
}
|
|
549
|
+
renderPDFThumbnail(file) {
|
|
550
|
+
if (this.afShowThumbnail) {
|
|
551
|
+
return (index.h("span", { class: `${this.afShowThumbnail ? 'digi-form-file-upload__item-pdf-preview-bis' : null}`, "aria-label": file.name }, index.h("svg", { style: { scale: '1' }, width: "23.76", height: "32", xmlns: "http://www.w3.org/2000/svg" }, index.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" }))));
|
|
552
|
+
}
|
|
553
|
+
return this.renderCheckmark();
|
|
554
|
+
}
|
|
555
|
+
renderThumbnail(file) {
|
|
556
|
+
const fileType = this.getFiletypeAndShortFileName(file).type;
|
|
557
|
+
switch (fileType) {
|
|
558
|
+
case 'pdf':
|
|
559
|
+
return this.renderPDFThumbnail(file);
|
|
560
|
+
case 'image':
|
|
561
|
+
return this.renderImageThumbnail(file);
|
|
562
|
+
default:
|
|
563
|
+
return this.renderCheckmark();
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
renderFileName(file) {
|
|
567
|
+
if (this.afEnablePreview) {
|
|
568
|
+
return (index.h("a", { class: "digi-form-file-upload__item-name", href: "#", onClick: (e) => {
|
|
569
|
+
this.viewUploadedFile(e, file);
|
|
570
|
+
} }, file.name));
|
|
571
|
+
}
|
|
572
|
+
else {
|
|
573
|
+
return index.h("span", { class: "digi-form-file-upload__item-name" }, file.name);
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
renderOKFile(file) {
|
|
577
|
+
return (index.h(index.Fragment, null, index.h("span", { class: "digi-form-file-upload__item-text-and-thumbnail-container" }, this.renderThumbnail(file), this.renderFileName(file)), index.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": text._t.form.file_remove(file.name) }, index.h("span", { class: "hidden-mobile" }, text._t.form.file_remove()), index.h("digi-icon-trash", { class: "digi-form-file-upload__button-icon hidden-desktop" }))));
|
|
578
|
+
}
|
|
579
|
+
renderFile(file) {
|
|
580
|
+
switch (file['status']) {
|
|
581
|
+
case 'pending':
|
|
582
|
+
return this.renderPendingFile(file);
|
|
583
|
+
default:
|
|
584
|
+
return this.renderOKFile(file);
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
renderFiles() {
|
|
588
|
+
const filesMap = this.files.map((file, index$1) => {
|
|
589
|
+
{
|
|
590
|
+
return (index.h("li", { class: "digi-form-file-upload__item-container", key: 'file-' + index$1 }, index.h("div", { class: "digi-form-file-upload__item" }, index.h("div", { class: "digi-form-file-upload__item-text-container" }, this.renderFile(file)))));
|
|
591
|
+
}
|
|
592
|
+
});
|
|
593
|
+
return filesMap;
|
|
594
|
+
}
|
|
595
|
+
renderFileContainer() {
|
|
596
|
+
if (this.files.length === 0) {
|
|
597
|
+
return;
|
|
598
|
+
}
|
|
599
|
+
return (index.h(index.Fragment, null, index.h(this.afHeadingLevel, { class: {
|
|
600
|
+
'digi-form-file-upload__files-heading': true,
|
|
601
|
+
'digi-form-file-upload__files-heading--and-errors': this.error
|
|
602
|
+
} }, this.afHeadingFiles), index.h("ul", { class: "digi-form-file-upload__files-list", tabindex: -1, ref: (el) => {
|
|
603
|
+
this._fileList = el;
|
|
604
|
+
} }, this.renderFiles())));
|
|
605
|
+
}
|
|
606
|
+
render() {
|
|
607
|
+
return (index.h(index.Fragment, { key: 'ea0f5e831e4b91840870f13a0f765bddde7f2b3f' }, index.h("digi-util-breakpoint-observer", { key: 'fdba1fa892784d3bfaa437c14ca7fe4a2d6211d0', onAfOnChange: (e) => this.breakpointHandler(e) }), index.h("div", { key: 'cc6ffd28d1478bd5f1205bd3dfe4fa84c19e8f55', class: Object.assign({ 'digi-form-file-upload': true }, this.cssModifiers) }, index.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 }), index.h("div", { key: 'ddb216147c7463573e772bd25cd8ea1313c0be8d', class: {
|
|
608
|
+
'digi-form-file-upload__upload-area': true,
|
|
609
|
+
'digi-form-file-upload__upload-area--hover': this.fileHover
|
|
610
|
+
}, 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 &&
|
|
611
|
+
this.afVariation != formFileUploadVariation_enum.FormFileUploadVariation.SMALL && (index.h("div", { key: 'b5ed1a44293012aa6bdcfc86937f04bf751fc642', class: "digi-form-file-upload__upload-area-overlay" })), index.h("div", { key: 'ec86494fd7299db8e3c5e9ad9940a633fc9e73a8', class: "digi-form-file-upload__text-area" }, index.h("button", { key: 'adcc823a998bce77bd83f2c0ee486f55d060204b', type: "button", id: this.afId + '-button', ref: (el) => {
|
|
612
|
+
this._uploadButton = el;
|
|
613
|
+
}, onClick: (e) => this.handleInputClick(e), class: "digi-form-file-upload__button hidden_mobile", style: {
|
|
614
|
+
margin: '0'
|
|
615
|
+
} }, index.h("digi-icon-paperclip", { key: 'ae23c375fcbbbf3e4b8b105d7e30d9c8316fc5f3', "aria-hidden": "true", class: "digi-form-file-upload__button-icon paper-clip", slot: "icon" }), this.afUploadBtnText
|
|
616
|
+
? this.afUploadBtnText
|
|
617
|
+
: text._t.form.file_choose), index.h("input", { key: '5d2beb87d1565c478cfa280b9790fc25de90e958', ref: (el) => {
|
|
618
|
+
this._input = el;
|
|
619
|
+
}, 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" }), index.h("span", { key: 'c8e9e00250ab4cb9da92bd7695fb389ddd74428a' }, this.afVariation !== formFileUploadVariation_enum.FormFileUploadVariation.SMALL &&
|
|
620
|
+
text._t.form.file_dropzone))), index.h("p", { key: 'e54f8e9d99ddd6b39833c32f3080c6f7eef840a9', class: "visually-hidden", role: this.errorMessageIsAlert ? 'alert' : null, "aria-atomic": "true", ref: (el) => {
|
|
621
|
+
this._srTextContainer = el;
|
|
622
|
+
} }), (this.files.length > 0 || this.error) && (index.h("div", { key: '5f246f4669dc97e046855e46f25792da5325051c', class: "digi-form-file-upload__files" }, this.renderErrorMessage(), this.renderFileContainer())))));
|
|
623
|
+
}
|
|
624
|
+
get hostElement() { return index.getElement(this); }
|
|
625
|
+
static get watchers() { return {
|
|
626
|
+
"afValidationText": [{
|
|
627
|
+
"afValidationTextChange": 0
|
|
628
|
+
}]
|
|
629
|
+
}; }
|
|
630
|
+
};
|
|
631
|
+
FormFileUpload.style = formFileUploadCss();
|
|
632
|
+
|
|
633
|
+
exports.digi_form_file_upload = FormFileUpload;
|