@designsystem-se/af 35.2.1-beta.1 → 35.2.1-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/digi-badge-notification.d.ts +1 -1
- package/components/digi-badge-status.d.ts +1 -1
- package/components/digi-bar-chart.d.ts +1 -1
- package/components/digi-bar-chart.js +1 -1
- package/components/digi-button.d.ts +1 -1
- package/components/digi-calendar-datepicker.d.ts +1 -1
- package/components/digi-calendar-datepicker.js +63 -48
- package/components/digi-calendar-week-view.d.ts +1 -1
- package/components/digi-calendar-week-view.js +1 -1
- package/components/digi-calendar.d.ts +1 -1
- package/components/digi-calendar.js +1 -1
- package/components/digi-chart-line.d.ts +1 -1
- package/components/digi-chart-line.js +1 -1
- package/components/digi-code-block.d.ts +1 -1
- package/components/digi-code-block.js +1 -1
- package/components/digi-code-example.d.ts +1 -1
- package/components/digi-code-example.js +2 -2
- package/components/digi-code.d.ts +1 -1
- package/components/digi-context-menu.d.ts +1 -1
- package/components/digi-dialog.d.ts +1 -1
- package/components/digi-expandable-accordion.d.ts +1 -1
- package/components/digi-expandable-accordion.js +1 -1
- package/components/digi-expandable-faq-item.d.ts +1 -1
- package/components/digi-expandable-faq.d.ts +1 -1
- package/components/digi-footer-card.d.ts +1 -1
- package/components/digi-footer.d.ts +1 -1
- package/components/digi-form-category-filter.d.ts +1 -1
- package/components/digi-form-category-filter.js +2 -2
- package/components/digi-form-checkbox.d.ts +1 -1
- package/components/digi-form-error-list.d.ts +1 -1
- package/components/digi-form-fieldset.d.ts +1 -1
- package/components/digi-form-file-upload.d.ts +1 -1
- package/components/digi-form-file-upload.js +8 -8
- package/components/digi-form-filter.d.ts +1 -1
- package/components/digi-form-filter.js +1 -1
- package/components/digi-form-input-search.d.ts +1 -1
- package/components/digi-form-input-search.js +2 -2
- package/components/digi-form-input.d.ts +1 -1
- package/components/digi-form-input.js +1 -1
- package/components/digi-form-label.d.ts +1 -1
- package/components/digi-form-label.js +1 -1
- package/components/digi-form-radiobutton.d.ts +1 -1
- package/components/digi-form-radiogroup.d.ts +1 -1
- package/components/digi-form-receipt.d.ts +1 -1
- package/components/digi-form-select-filter.d.ts +1 -1
- package/components/digi-form-select-filter.js +10 -10
- package/components/digi-form-select.d.ts +1 -1
- package/components/digi-form-select.js +1 -1
- package/components/digi-form-textarea.d.ts +1 -1
- package/components/digi-form-textarea.js +6 -9
- package/components/digi-form-validation-message.d.ts +1 -1
- package/components/digi-header-avatar.d.ts +1 -1
- package/components/digi-header-navigation-item.d.ts +1 -1
- package/components/digi-header-navigation.d.ts +1 -1
- package/components/digi-header-notification.d.ts +1 -1
- package/components/digi-header.d.ts +1 -1
- package/components/digi-icon-accessibility-deaf.d.ts +1 -1
- package/components/digi-icon-accessibility-universal.d.ts +1 -1
- package/components/digi-icon-apple.d.ts +1 -1
- package/components/digi-icon-archive-outline.d.ts +1 -1
- package/components/digi-icon-archive.d.ts +1 -1
- package/components/digi-icon-arrow-back.d.ts +1 -1
- package/components/digi-icon-arrow-down.d.ts +1 -1
- package/components/digi-icon-arrow-left.d.ts +1 -1
- package/components/digi-icon-arrow-right.d.ts +1 -1
- package/components/digi-icon-arrow-sign-in.d.ts +1 -1
- package/components/digi-icon-arrow-sign-out.d.ts +1 -1
- package/components/digi-icon-arrow-up.d.ts +1 -1
- package/components/digi-icon-at.d.ts +1 -1
- package/components/digi-icon-bars.d.ts +1 -1
- package/components/digi-icon-bell-filled.d.ts +1 -1
- package/components/digi-icon-bell.d.ts +1 -1
- package/components/digi-icon-book.d.ts +1 -1
- package/components/digi-icon-bookmark-outline.d.ts +1 -1
- package/components/digi-icon-bookmark-solid.d.ts +1 -1
- package/components/digi-icon-bubble-ellipsis.d.ts +1 -1
- package/components/digi-icon-bubble.d.ts +1 -1
- package/components/digi-icon-building-outline.d.ts +1 -1
- package/components/digi-icon-building-solid.d.ts +1 -1
- package/components/digi-icon-bullseye.d.ts +1 -1
- package/components/digi-icon-calculator-solid.d.ts +1 -1
- package/components/digi-icon-calendar-alt-alert.d.ts +1 -1
- package/components/digi-icon-calendar-alt.d.ts +1 -1
- package/components/digi-icon-calendar.d.ts +1 -1
- package/components/digi-icon-caret-circle-right.d.ts +1 -1
- package/components/digi-icon-caret-down.d.ts +1 -1
- package/components/digi-icon-caret-left.d.ts +1 -1
- package/components/digi-icon-caret-right.d.ts +1 -1
- package/components/digi-icon-caret-up.d.ts +1 -1
- package/components/digi-icon-chart.d.ts +1 -1
- package/components/digi-icon-chat.d.ts +1 -1
- package/components/digi-icon-check-circle-reg-alt.d.ts +1 -1
- package/components/digi-icon-check-circle-solid.d.ts +1 -1
- package/components/digi-icon-check.d.ts +1 -1
- package/components/digi-icon-checklist.d.ts +1 -1
- package/components/digi-icon-chevron-down.d.ts +1 -1
- package/components/digi-icon-chevron-left.d.ts +1 -1
- package/components/digi-icon-chevron-right.d.ts +1 -1
- package/components/digi-icon-chevron-up.d.ts +1 -1
- package/components/digi-icon-clock.d.ts +1 -1
- package/components/digi-icon-communication-play-solid.d.ts +1 -1
- package/components/digi-icon-compress-alt.d.ts +1 -1
- package/components/digi-icon-comunication-case.d.ts +1 -1
- package/components/digi-icon-comunication-flag.d.ts +1 -1
- package/components/digi-icon-comunication-graduate.d.ts +1 -1
- package/components/digi-icon-comunication-play.d.ts +1 -1
- package/components/digi-icon-cooperation.d.ts +1 -1
- package/components/digi-icon-copy.d.ts +1 -1
- package/components/digi-icon-danger-outline.d.ts +1 -1
- package/components/digi-icon-download.d.ts +1 -1
- package/components/digi-icon-dxa.d.ts +1 -1
- package/components/digi-icon-edit.d.ts +1 -1
- package/components/digi-icon-ellipsis.d.ts +1 -1
- package/components/digi-icon-envelope-filled.d.ts +1 -1
- package/components/digi-icon-envelope.d.ts +1 -1
- package/components/digi-icon-exclamation-circle-filled.d.ts +1 -1
- package/components/digi-icon-exclamation-triangle-filled.d.ts +1 -1
- package/components/digi-icon-exclamation-triangle-warning.d.ts +1 -1
- package/components/digi-icon-exclamation-triangle.d.ts +1 -1
- package/components/digi-icon-expand-alt.d.ts +1 -1
- package/components/digi-icon-external-link-alt.d.ts +1 -1
- package/components/digi-icon-eye-slash.d.ts +1 -1
- package/components/digi-icon-eye.d.ts +1 -1
- package/components/digi-icon-facebook-square.d.ts +1 -1
- package/components/digi-icon-file-add.d.ts +1 -1
- package/components/digi-icon-file-document.d.ts +1 -1
- package/components/digi-icon-file-excel.d.ts +1 -1
- package/components/digi-icon-file-export.d.ts +1 -1
- package/components/digi-icon-file-governing.d.ts +1 -1
- package/components/digi-icon-file-pdf.d.ts +1 -1
- package/components/digi-icon-file-powerpoint.d.ts +1 -1
- package/components/digi-icon-file-remove.d.ts +1 -1
- package/components/digi-icon-file-word.d.ts +1 -1
- package/components/digi-icon-film.d.ts +1 -1
- package/components/digi-icon-filter.d.ts +1 -1
- package/components/digi-icon-folder-add.d.ts +1 -1
- package/components/digi-icon-folder-directory.d.ts +1 -1
- package/components/digi-icon-folder-open.d.ts +1 -1
- package/components/digi-icon-folder.d.ts +1 -1
- package/components/digi-icon-globe-filled.d.ts +1 -1
- package/components/digi-icon-globe.d.ts +1 -1
- package/components/digi-icon-headphones.d.ts +1 -1
- package/components/digi-icon-heart-solid.d.ts +1 -1
- package/components/digi-icon-heart.d.ts +1 -1
- package/components/digi-icon-history.d.ts +1 -1
- package/components/digi-icon-home.d.ts +1 -1
- package/components/digi-icon-image.d.ts +1 -1
- package/components/digi-icon-info-circle-solid.d.ts +1 -1
- package/components/digi-icon-input-select-marker.d.ts +1 -1
- package/components/digi-icon-instagram.d.ts +1 -1
- package/components/digi-icon-job-suggestion.d.ts +1 -1
- package/components/digi-icon-language-outline.d.ts +1 -1
- package/components/digi-icon-language.d.ts +1 -1
- package/components/digi-icon-laptop-phone.d.ts +1 -1
- package/components/digi-icon-lattlast.d.ts +1 -1
- package/components/digi-icon-licence-bus.d.ts +1 -1
- package/components/digi-icon-licence-car.d.ts +1 -1
- package/components/digi-icon-licence-motorcycle.d.ts +1 -1
- package/components/digi-icon-licence-truck.d.ts +1 -1
- package/components/digi-icon-lightbulb.d.ts +1 -1
- package/components/digi-icon-linkedin-in.d.ts +1 -1
- package/components/digi-icon-list-ul.d.ts +1 -1
- package/components/digi-icon-lock.d.ts +1 -1
- package/components/digi-icon-marker-filled.d.ts +1 -1
- package/components/digi-icon-marker.d.ts +1 -1
- package/components/digi-icon-media-course.d.ts +1 -1
- package/components/digi-icon-media-podcast.d.ts +1 -1
- package/components/digi-icon-microphone-off.d.ts +1 -1
- package/components/digi-icon-microphone.d.ts +1 -1
- package/components/digi-icon-minus.d.ts +1 -1
- package/components/digi-icon-move.d.ts +1 -1
- package/components/digi-icon-news.d.ts +1 -1
- package/components/digi-icon-notification-error.d.ts +1 -1
- package/components/digi-icon-notification-info.d.ts +1 -1
- package/components/digi-icon-notification-succes.d.ts +1 -1
- package/components/digi-icon-notification-warning.d.ts +1 -1
- package/components/digi-icon-online-computervideo.d.ts +1 -1
- package/components/digi-icon-online-interview.d.ts +1 -1
- package/components/digi-icon-online-meeting.d.ts +1 -1
- package/components/digi-icon-online-task.d.ts +1 -1
- package/components/digi-icon-online-video.d.ts +1 -1
- package/components/digi-icon-open-source.d.ts +1 -1
- package/components/digi-icon-palette.d.ts +1 -1
- package/components/digi-icon-paperclip.d.ts +1 -1
- package/components/digi-icon-paste.d.ts +1 -1
- package/components/digi-icon-pen.d.ts +1 -1
- package/components/digi-icon-phone-hangup.d.ts +1 -1
- package/components/digi-icon-phone.d.ts +1 -1
- package/components/digi-icon-plus.d.ts +1 -1
- package/components/digi-icon-pod.d.ts +1 -1
- package/components/digi-icon-print.d.ts +1 -1
- package/components/digi-icon-read.d.ts +1 -1
- package/components/digi-icon-redo.d.ts +1 -1
- package/components/digi-icon-scale.d.ts +1 -1
- package/components/digi-icon-screensharing-off.d.ts +1 -1
- package/components/digi-icon-screensharing.d.ts +1 -1
- package/components/digi-icon-search.d.ts +1 -1
- package/components/digi-icon-send-outline.d.ts +1 -1
- package/components/digi-icon-send-solid.d.ts +1 -1
- package/components/digi-icon-settings.d.ts +1 -1
- package/components/digi-icon-share-alt.d.ts +1 -1
- package/components/digi-icon-share-chain.d.ts +1 -1
- package/components/digi-icon-sign.d.ts +1 -1
- package/components/digi-icon-sliders-h.d.ts +1 -1
- package/components/digi-icon-sokkandidat.d.ts +1 -1
- package/components/digi-icon-sort-down.d.ts +1 -1
- package/components/digi-icon-sort-up.d.ts +1 -1
- package/components/digi-icon-sort.d.ts +1 -1
- package/components/digi-icon-spinner.d.ts +1 -1
- package/components/digi-icon-star-reg.d.ts +1 -1
- package/components/digi-icon-star.d.ts +1 -1
- package/components/digi-icon-suitcase-outline.d.ts +1 -1
- package/components/digi-icon-suitcase-solid.d.ts +1 -1
- package/components/digi-icon-system-assistance.d.ts +1 -1
- package/components/digi-icon-table-column.d.ts +1 -1
- package/components/digi-icon-table-row.d.ts +1 -1
- package/components/digi-icon-table.d.ts +1 -1
- package/components/digi-icon-task-done.d.ts +1 -1
- package/components/digi-icon-toggle-off.d.ts +1 -1
- package/components/digi-icon-toggle-on.d.ts +1 -1
- package/components/digi-icon-trash.d.ts +1 -1
- package/components/digi-icon-twitter.d.ts +1 -1
- package/components/digi-icon-tyck-till.d.ts +1 -1
- package/components/digi-icon-unlock.d.ts +1 -1
- package/components/digi-icon-update.d.ts +1 -1
- package/components/digi-icon-upload.d.ts +1 -1
- package/components/digi-icon-user-add.d.ts +1 -1
- package/components/digi-icon-user-alt.d.ts +1 -1
- package/components/digi-icon-user-edit.d.ts +1 -1
- package/components/digi-icon-users-solid.d.ts +1 -1
- package/components/digi-icon-validation-error.d.ts +1 -1
- package/components/digi-icon-validation-success.d.ts +1 -1
- package/components/digi-icon-validation-warning.d.ts +1 -1
- package/components/digi-icon-videocamera-off.d.ts +1 -1
- package/components/digi-icon-videocamera.d.ts +1 -1
- package/components/digi-icon-volume.d.ts +1 -1
- package/components/digi-icon-web-tv.d.ts +1 -1
- package/components/digi-icon-webinar.d.ts +1 -1
- package/components/digi-icon-wifi-signal0.d.ts +1 -1
- package/components/digi-icon-wifi-signal1.d.ts +1 -1
- package/components/digi-icon-wifi-signal2.d.ts +1 -1
- package/components/digi-icon-wifi-signal3.d.ts +1 -1
- package/components/digi-icon-window.d.ts +1 -1
- package/components/digi-icon-x-button-outline.d.ts +1 -1
- package/components/digi-icon-x-button.d.ts +1 -1
- package/components/digi-icon-x.d.ts +1 -1
- package/components/digi-icon-youtube.d.ts +1 -1
- package/components/digi-info-card-multi-container.d.ts +1 -1
- package/components/digi-info-card-multi.d.ts +1 -1
- package/components/digi-info-card.d.ts +1 -1
- package/components/digi-layout-block.d.ts +1 -1
- package/components/digi-layout-columns.d.ts +1 -1
- package/components/digi-layout-container.d.ts +1 -1
- package/components/digi-link-button.d.ts +1 -1
- package/components/digi-link-external.d.ts +1 -1
- package/components/digi-link-internal.d.ts +1 -1
- package/components/digi-link.d.ts +1 -1
- package/components/digi-list.d.ts +1 -1
- package/components/digi-loader-skeleton.d.ts +1 -1
- package/components/digi-loader-spinner.d.ts +1 -1
- package/components/digi-logo.d.ts +1 -1
- package/components/digi-media-figure.d.ts +1 -1
- package/components/digi-media-image.d.ts +1 -1
- package/components/digi-navigation-breadcrumbs.d.ts +1 -1
- package/components/digi-navigation-breadcrumbs.js +1 -1
- package/components/digi-navigation-pagination.d.ts +1 -1
- package/components/digi-navigation-sidebar-button.d.ts +1 -1
- package/components/digi-navigation-sidebar.d.ts +1 -1
- package/components/digi-navigation-vertical-menu-item.d.ts +1 -1
- package/components/digi-navigation-vertical-menu.d.ts +1 -1
- package/components/digi-notification-alert.d.ts +1 -1
- package/components/digi-notification-error-page.d.ts +1 -1
- package/components/digi-progress-circle.d.ts +1 -1
- package/components/digi-progress-circle.js +1 -1
- package/components/digi-progress-indicator.d.ts +1 -1
- package/components/digi-progress-indicator.js +1 -1
- package/components/digi-progress-list-item.d.ts +1 -1
- package/components/digi-progress-list-item.js +1 -1
- package/components/digi-progress-list.d.ts +1 -1
- package/components/digi-progressbar.d.ts +1 -1
- package/components/digi-progressbar.js +1 -1
- package/components/digi-quote.d.ts +1 -1
- package/components/digi-table.d.ts +1 -1
- package/components/digi-tablist-panel.d.ts +1 -1
- package/components/digi-tablist.d.ts +1 -1
- package/components/digi-tag-media.d.ts +1 -1
- package/components/digi-tag.d.ts +1 -1
- package/components/digi-tag.js +1 -1
- package/components/digi-tools-feedback-banner.d.ts +1 -1
- package/components/digi-tools-feedback-rating.d.ts +1 -1
- package/components/digi-tools-feedback.d.ts +1 -1
- package/components/digi-tools-theme-provider.d.ts +1 -1
- package/components/digi-typography-heading-jumbo.d.ts +1 -1
- package/components/digi-typography-meta.d.ts +1 -1
- package/components/digi-typography-preamble.d.ts +1 -1
- package/components/digi-typography-time.d.ts +1 -1
- package/components/digi-typography-time.js +1 -1
- package/components/digi-typography.d.ts +1 -1
- package/components/digi-util-breakpoint-observer.d.ts +1 -1
- package/components/digi-util-detect-click-outside.d.ts +1 -1
- package/components/digi-util-detect-focus-outside.d.ts +1 -1
- package/components/digi-util-intersection-observer.d.ts +1 -1
- package/components/digi-util-keydown-handler.d.ts +1 -1
- package/components/digi-util-keyup-handler.d.ts +1 -1
- package/components/digi-util-mutation-observer.d.ts +1 -1
- package/components/digi-util-resize-observer.d.ts +1 -1
- package/components/index.d.ts +283 -283
- package/components/{p-98765f91.js → p-504118d4.js} +1 -1
- package/components/{p-0dd35954.js → p-669e7c83.js} +54 -72
- package/components/{p-08cf2c0e.js → p-903a27d9.js} +19 -0
- package/components/{p-e3961597.js → p-9cbf7565.js} +9 -9
- package/components/{p-5010c1e6.js → p-aa63b60e.js} +1 -1
- package/components/{p-05a97800.js → p-cb20ea78.js} +5 -5
- package/custom-elements.json +23 -23
- package/dist/cjs/digi-arbetsformedlingen.cjs.js +1 -1
- package/dist/cjs/digi-bar-chart.cjs.entry.js +1 -1
- package/dist/cjs/{digi-button_19.cjs.entry.js → digi-button_17.cjs.entry.js} +117 -268
- package/dist/cjs/digi-calendar-week-view.cjs.entry.js +1 -1
- package/dist/cjs/digi-chart-line.cjs.entry.js +1 -1
- package/dist/cjs/digi-code-block_3.cjs.entry.js +3 -2
- package/dist/cjs/digi-code-example.cjs.entry.js +1 -1
- package/dist/cjs/digi-dialog.cjs.entry.js +2 -1
- package/dist/cjs/digi-expandable-accordion.cjs.entry.js +1 -1
- package/dist/cjs/digi-footer.cjs.entry.js +2 -1
- package/dist/cjs/digi-form-category-filter.cjs.entry.js +2 -2
- package/dist/cjs/digi-form-error-list.cjs.entry.js +2 -1
- package/dist/cjs/digi-form-file-upload.cjs.entry.js +7 -7
- package/dist/cjs/digi-form-filter.cjs.entry.js +1 -1
- package/dist/cjs/digi-form-receipt.cjs.entry.js +2 -1
- package/dist/cjs/digi-form-select-filter.cjs.entry.js +10 -9
- package/dist/cjs/digi-form-textarea.cjs.entry.js +133 -0
- package/dist/cjs/digi-header-navigation.cjs.entry.js +2 -1
- package/dist/cjs/digi-header.cjs.entry.js +2 -1
- package/dist/cjs/digi-navigation-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/digi-navigation-pagination.cjs.entry.js +2 -1
- package/dist/cjs/digi-notification-alert.cjs.entry.js +2 -1
- package/dist/cjs/digi-notification-error-page.cjs.entry.js +2 -1
- package/dist/cjs/digi-progress-circle.cjs.entry.js +1 -1
- package/dist/cjs/digi-progress-indicator.cjs.entry.js +1 -1
- package/dist/cjs/digi-progress-list-item.cjs.entry.js +1 -1
- package/dist/cjs/digi-progressbar.cjs.entry.js +1 -1
- package/dist/cjs/digi-tag.cjs.entry.js +1 -1
- package/dist/cjs/digi-tools-feedback.cjs.entry.js +2 -1
- package/dist/cjs/digi-typography-time.cjs.entry.js +1 -1
- package/dist/cjs/digi-typography.cjs.entry.js +26 -0
- package/dist/cjs/form-textarea-variation.enum-9c90d40f.js +17 -0
- package/dist/cjs/index-81fc5a97.js +10 -2
- package/dist/cjs/index.cjs.js +14 -13
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{text-3157012b.js → text-65b1b58c.js} +19 -0
- package/dist/cjs/{typography-variation.enum-c6bb12f2.js → typography-variation.enum-6077eba3.js} +0 -16
- package/dist/collection/components/_calendar/calendar/calendar.js +61 -77
- package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.css +4 -1
- package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.js +115 -75
- package/dist/collection/components/_form/form-category-filter/form-category-filter.js +13 -13
- package/dist/collection/components/_form/form-file-upload/form-file-upload.js +6 -6
- package/dist/collection/components/_form/form-input/form-input.js +9 -9
- package/dist/collection/components/_form/form-select/form-select.js +6 -6
- package/dist/collection/components/_form/form-select-filter/form-select-filter.js +27 -15
- package/dist/collection/components/_form/form-textarea/form-textarea.js +6 -9
- package/dist/collection/text/locale/sv/text.js +19 -0
- package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
- package/dist/digi-arbetsformedlingen/index.esm.js +1 -1
- package/dist/digi-arbetsformedlingen/{p-460572d9.entry.js → p-038a6f4d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-03e35369.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-5ffc1490.entry.js → p-04b9fcfc.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-086ef192.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-58a86b5f.entry.js → p-1472371d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-19f13b56.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-220c63f6.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-365e6558.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-693e33b2.entry.js → p-3d0c0083.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-48f60428.entry.js → p-41e16393.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-4a1af082.entry.js → p-4e81efad.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-59bf3077.js +1 -0
- package/dist/digi-arbetsformedlingen/p-64067f33.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-73358d64.entry.js → p-6ea62ad2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-7bdbb8b4.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-903a27d9.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-e2fe3edf.entry.js → p-954b1a74.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-9c5a93d8.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-bfb78e9e.entry.js → p-9ebefb9c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-9ed7d731.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ac812f71.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-b21ccf7c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-b4c9f295.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d0465354.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-3ae0fb97.entry.js → p-d24cebf9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-d6cc9061.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-df0dfa95.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-79c6ecc6.entry.js → p-dff9777b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1a12faea.entry.js → p-e03b9727.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1443ee18.entry.js → p-e955c7bd.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-ed3db5d0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-fb17bf4b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-fd32cb7c.entry.js +1 -0
- package/dist/esm/digi-arbetsformedlingen.js +1 -1
- package/dist/esm/digi-bar-chart.entry.js +1 -1
- package/dist/esm/{digi-button_19.entry.js → digi-button_17.entry.js} +118 -267
- package/dist/esm/digi-calendar-week-view.entry.js +1 -1
- package/dist/esm/digi-chart-line.entry.js +1 -1
- package/dist/esm/digi-code-block_3.entry.js +3 -2
- package/dist/esm/digi-code-example.entry.js +1 -1
- package/dist/esm/digi-dialog.entry.js +2 -1
- package/dist/esm/digi-expandable-accordion.entry.js +1 -1
- package/dist/esm/digi-footer.entry.js +2 -1
- package/dist/esm/digi-form-category-filter.entry.js +2 -2
- package/dist/esm/digi-form-error-list.entry.js +2 -1
- package/dist/esm/digi-form-file-upload.entry.js +7 -7
- package/dist/esm/digi-form-filter.entry.js +1 -1
- package/dist/esm/digi-form-receipt.entry.js +2 -1
- package/dist/esm/digi-form-select-filter.entry.js +10 -9
- package/dist/esm/digi-form-textarea.entry.js +129 -0
- package/dist/esm/digi-header-navigation.entry.js +2 -1
- package/dist/esm/digi-header.entry.js +2 -1
- package/dist/esm/digi-navigation-breadcrumbs.entry.js +1 -1
- package/dist/esm/digi-navigation-pagination.entry.js +2 -1
- package/dist/esm/digi-notification-alert.entry.js +2 -1
- package/dist/esm/digi-notification-error-page.entry.js +2 -1
- package/dist/esm/digi-progress-circle.entry.js +1 -1
- package/dist/esm/digi-progress-indicator.entry.js +1 -1
- package/dist/esm/digi-progress-list-item.entry.js +1 -1
- package/dist/esm/digi-progressbar.entry.js +1 -1
- package/dist/esm/digi-tag.entry.js +1 -1
- package/dist/esm/digi-tools-feedback.entry.js +2 -1
- package/dist/esm/digi-typography-time.entry.js +1 -1
- package/dist/esm/digi-typography.entry.js +22 -0
- package/dist/esm/form-textarea-variation.enum-05017e8e.js +17 -0
- package/dist/esm/index-bfea2cc5.js +10 -2
- package/dist/esm/index.js +2 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{text-26e02c8d.js → text-8f88c0f6.js} +19 -0
- package/dist/esm/{typography-variation.enum-dea0fe69.js → typography-variation.enum-04944af5.js} +1 -17
- package/dist/types/components/_calendar/calendar/calendar.d.ts +12 -12
- package/dist/types/components/_calendar/calendar-datepicker/calendar-datepicker.d.ts +38 -32
- package/dist/types/components/_form/form-category-filter/form-category-filter.d.ts +10 -10
- package/dist/types/components/_form/form-input/form-input.d.ts +0 -1
- package/dist/types/components/_form/form-select/form-select.d.ts +2 -2
- package/dist/types/components/_form/form-select-filter/form-select-filter.d.ts +4 -4
- package/dist/types/components/_form/form-textarea/form-textarea.d.ts +0 -1
- package/dist/types/components.d.ts +126 -110
- package/dist/types/text/locale/sv/text.d.ts +6 -0
- package/hydrate/index.js +158 -147
- package/hydrate/index.mjs +158 -147
- package/package.json +1 -1
- package/dist/digi-arbetsformedlingen/p-02a6c3e6.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-08cf2c0e.js +0 -1
- package/dist/digi-arbetsformedlingen/p-11035a85.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2242582b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4f68f34d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5990798b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5bd4feb1.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5c6726e4.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-648ed420.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6c701c64.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-70cd00fd.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-871eb27f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8dde1275.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-903cd4b7.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-94170a0d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-aa63b05a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-bb92f2eb.js +0 -1
|
@@ -122,17 +122,17 @@ export class FormSelect {
|
|
|
122
122
|
: false;
|
|
123
123
|
}
|
|
124
124
|
render() {
|
|
125
|
-
return (h("div", { key: '
|
|
125
|
+
return (h("div", { key: '09b309b4f5b1397162fa1b398f58d1696ebd2479', class: Object.assign({ 'digi-form-select': true }, this.cssModifiers) }, h("div", { key: 'e2d824232a6630111b87f325e3e5583d2dd08bd3', class: "digi-form-select__label-group" }, h("digi-form-label", { key: 'f60f04f30a9594d39b439239230441241d4fbe6c', afFor: this.afId, afLabel: this.afLabel, afId: `${this.afId}-label`, afDescription: this.afDescription, afRequired: this.afRequired, afAnnounceIfOptional: this.afAnnounceIfOptional, afRequiredText: this.afRequiredText, afAnnounceIfOptionalText: this.afAnnounceIfOptionalText })), h("div", { key: '621062b207232904aa2a6a6fbaa93ebedb146210', class: "digi-form-select__select-wrapper" }, h("select", { key: 'd199ce9bf648952a1309f8ac8914b9da59f15f98', class: "digi-form-select__select", name: this.afName, id: this.afId, "aria-label": this.afAriaLabel, "aria-invalid": this.afValidation === FormSelectValidation.ERROR
|
|
126
126
|
? 'true'
|
|
127
|
-
: 'false', ref: (el) => (this._select = el), required: this.afRequired ? this.afRequired : null, onFocus: (e) => this.focusHandler(e), onFocusout: (e) => this.focusoutHandler(e), onBlur: (e) => this.blurHandler(e), onChange: (e) => this.changeHandler(e), onInput: (e) => this.selectHandler(e), autoFocus: this.afAutofocus ? this.afAutofocus : null }, this.hasPlaceholder && (h("option", { key: '
|
|
127
|
+
: 'false', ref: (el) => (this._select = el), required: this.afRequired ? this.afRequired : null, onFocus: (e) => this.focusHandler(e), onFocusout: (e) => this.focusoutHandler(e), onBlur: (e) => this.blurHandler(e), onChange: (e) => this.changeHandler(e), onInput: (e) => this.selectHandler(e), autoFocus: this.afAutofocus ? this.afAutofocus : null }, this.hasPlaceholder && (h("option", { key: '1537f5bbf4d76e607663b241913912e034af2006', class: {
|
|
128
128
|
'digi-form-select__select-option': true,
|
|
129
129
|
'digi-form-select__select-option--initial-value': true
|
|
130
130
|
}, disabled: true, selected: !this.afValue, value: "" }, this.afPlaceholder)), this.optionItems.map((option, index) => {
|
|
131
131
|
return (h("option", { key: index, class: "digi-form-select__select-option", value: option.value, selected: this.getSelectedItem(option) }, option.text));
|
|
132
|
-
})), h("digi-icon-input-select-marker", { key: '
|
|
132
|
+
})), h("digi-icon-input-select-marker", { key: '43cc5722be7b769a59661c6128c3bd3149172adc', class: "digi-form-select__icon", slot: "icon" })), h("digi-util-mutation-observer", { key: '74e420460572eeb8d9ca308190dc33191b608b4e', hidden: true, ref: (el) => (this._observer = el), onAfOnChange: (e) => {
|
|
133
133
|
e.stopImmediatePropagation();
|
|
134
134
|
this.getOptions();
|
|
135
|
-
} }, h("slot", { key: '
|
|
135
|
+
} }, h("slot", { key: 'd77e562c340452ec68c7dedda478c4d66933324a' })), h("div", { key: '81a982666ecded6b8b614bff3598b4dcaf91b2af', class: "digi-form-select__footer" }, h("div", { key: '5d6c5b802eba0c2238dec9930a6655f3ce57342c', "aria-atomic": "true", role: "alert", id: `${this.afId}--validation-message` }, this.showValidation() && (h("digi-form-validation-message", { key: 'f2c347f0404db61bace89dd4aa7e98c50b7ac30d', "af-variation": this.afValidation }, this.afValidationText))))));
|
|
136
136
|
}
|
|
137
137
|
static get is() { return "digi-form-select"; }
|
|
138
138
|
static get encapsulation() { return "scoped"; }
|
|
@@ -430,9 +430,9 @@ export class FormSelect {
|
|
|
430
430
|
"docs": {
|
|
431
431
|
"tags": [{
|
|
432
432
|
"name": "en",
|
|
433
|
-
"text": "
|
|
433
|
+
"text": "Hides the validation message."
|
|
434
434
|
}],
|
|
435
|
-
"text": "
|
|
435
|
+
"text": "D\u00F6ljer valideringsmeddelandet."
|
|
436
436
|
},
|
|
437
437
|
"getter": false,
|
|
438
438
|
"setter": false,
|
|
@@ -444,16 +444,16 @@ export class FormSelectFilter {
|
|
|
444
444
|
} }, h("slot", { name: "empty-search-result" })))));
|
|
445
445
|
}
|
|
446
446
|
render() {
|
|
447
|
-
return (h("div", { key: '
|
|
447
|
+
return (h("div", { key: '47778d535bf8b4297d22fef644727e29daab942d', class: Object.assign({ 'digi-form-select-filter': true }, this.cssModifiers), role: "application", id: `${this.afId}-identifier` }, h("digi-form-label", { key: '0987a58c51d49043f1141721a02faf6294156690', afLabel: this.afFilterButtonTextLabel, afFor: `${this.afId}`, afId: `${this.afId}-label`, class: "digi-form-select-filter__label", afDescription: this.afDescription, afRequired: this.afRequired, afAnnounceIfOptional: this.afAnnounceIfOptional, afRequiredText: this.afRequiredText, afAnnounceIfOptionalText: this.afAnnounceIfOptionalText }), h("digi-util-keydown-handler", { key: '83bb7d44629e0c23aef4d9d870e6d2b75de3f2b2', onAfOnEsc: () => this.escHandler() }, h("button", { key: '915f385d3eba371b737b589b194de2368f99dca4', type: "button", id: `${this.afId}`, class: "digi-form-select-filter__toggle-button", onClick: () => this.toggleDropdown(), ref: (el) => (this._toggleButton = el), "aria-haspopup": "true", "aria-label": this.ariaLabel, "aria-labelledby": this.afFilterButtonAriaDescribedby, "aria-controls": `${this.afId}-dropdown-menu`, "aria-expanded": this.isOpen }, h("div", { key: 'df2833df13736c53ff31f5d991d390604c3b5fb4', class: Object.assign({ 'digi-form-filter__toggle-button-wrapper': true }, this.cssModifiersToggleButtonWrapper) }, h("digi-icon-check", { key: '47029103d04679aa4eab91f075a8d7624d8faac5', class: Object.assign({ 'digi-form-select-filter__toggle-button-indicator': true }, this.cssModifiersToggleButtonIndicator), slot: "icon" }), h("span", { key: 'da2a3bfcbb0d7954b169fdc140073ca6bea72f79', class: "digi-form-select-filter__toggle-button-text" }, this.renderButtonLabel)), h("digi-icon-chevron-down", { key: '7d27fddb7228ed2f65c953431a5e6d52a05a218d', class: "digi-form-select-filter__toggle-icon" })), h("div", { key: '3e33a6b8af63a097204223d7111e1d35009ef4d6', id: `${this.afId}-dropdown-menu`, tabindex: this.isOpen ? '-1' : undefined, class: {
|
|
448
448
|
'digi-form-select-filter__dropdown': true,
|
|
449
449
|
'digi-form-select-filter__dropdown--right': this.afAlignRight,
|
|
450
450
|
'digi-form-select-filter__dropdown--hidden': !this.isOpen
|
|
451
|
-
} }, h("fieldset", { key: '
|
|
451
|
+
} }, h("fieldset", { key: 'b6052c5c1630678be2fe5cb6062a91bef16d80b3' }, h("div", { key: '00be00b083cc86845f6bf332705c4c5f14139249', class: "digi-form-select-filter__header" }, h("legend", { key: 'c26418abfc62031873cecf02427ed32da9324291', class: "digi-form-select-filter__legend" }, this.afFilterButtonTextLabel), h("digi-form-input", { key: '78299e86526afe7801a01a3c0099f09e17e3ed2f', afLabel: this.afName, afId: `${this.afId}-search`, afVariation: FormInputVariation.MEDIUM, afType: FormInputType.SEARCH, afValidation: FormInputValidation.NEUTRAL, onAfOnFocus: () => {
|
|
452
452
|
this.focusListItemIndex = 0;
|
|
453
453
|
99;
|
|
454
454
|
}, onAfOnKeyup: (e) => {
|
|
455
455
|
this.inputSearchKeyboardHandler(e.detail);
|
|
456
|
-
}, onAfOnInput: (e) => this.inputSearchInputHandler(e.detail), afValue: this._searchQuery, class: "digi-form-select-filter__search-input", afAriaControls: `${this.afId}-select-filter-list`, afAutocomplete: "off", afAriaAutocomplete: "none" }), this.renderEmptyStateBox()), h("div", { key: '
|
|
456
|
+
}, onAfOnInput: (e) => this.inputSearchInputHandler(e.detail), afValue: this._searchQuery, class: "digi-form-select-filter__search-input", afAriaControls: `${this.afId}-select-filter-list`, afAutocomplete: "off", afAriaAutocomplete: "none" }), this.renderEmptyStateBox()), h("div", { key: '9e2c976667ee00f6631c13056be4aa1bb004e770', class: "digi-form-select-filter__scroll" }, h("digi-util-keydown-handler", { key: '53463d2aa5a0757c2be36634f11050f2254acdc5', onAfOnDown: (e) => this.downHandler(e), onAfOnRight: (e) => this.downHandler(e), onAfOnUp: (e) => this.upHandler(e), onAfOnLeft: (e) => this.upHandler(e), onAfOnHome: (e) => this.homeHandler(e), onAfOnEnd: (e) => this.endHandler(e), onAfOnEnter: (e) => this.enterHandler(e), onAfOnSpace: (e) => this.spaceHandler(e), onAfOnTab: () => this.tabHandler(), onAfOnShiftTab: () => this.shiftHandler() }, h("ul", { key: 'a9053be0bfc7fc06cfff06834e6c287bf3f13316', class: "digi-form-select-filter__list", "aria-labelledby": `${this.afId}`, id: `${this.afId}-select-filter-list`, role: this.afMultipleItems ? '' : 'radiogroup', "aria-invalid": this.afMultipleItems
|
|
457
457
|
? 'false'
|
|
458
458
|
: this.afValidation === FormSelectFilterValidation.ERROR
|
|
459
459
|
? 'true'
|
|
@@ -461,11 +461,11 @@ export class FormSelectFilter {
|
|
|
461
461
|
? false
|
|
462
462
|
: this.afRequired
|
|
463
463
|
? 'true'
|
|
464
|
-
: 'false' }, this.showNeutralValue && (h("li", { key: '
|
|
464
|
+
: 'false' }, this.showNeutralValue && (h("li", { key: '6db36b1fb4a721be77a2db2442f00488b730f8ff', class: "digi-form-select-filter__item", role: "radio", "aria-required": this.afMultipleItems
|
|
465
465
|
? 'false'
|
|
466
466
|
: this.afRequired
|
|
467
467
|
? 'true'
|
|
468
|
-
: 'false', "aria-checked": this._selectedItems.length === 0 ? 'true' : 'false', onClick: () => this.resetSelectItems(true), tabIndex: 0, "aria-label": this.afFilterButtonText }, this._selectedItems.length === 0 && (h("digi-icon-check", { key: '
|
|
468
|
+
: 'false', "aria-checked": this._selectedItems.length === 0 ? 'true' : 'false', onClick: () => this.resetSelectItems(true), tabIndex: 0, "aria-label": this.afFilterButtonText }, this._selectedItems.length === 0 && (h("digi-icon-check", { key: 'a2a34d7082a28a85328cfcd55814a0914396b54f', class: "digi-form-select-filter__item__icon", "aria-hidden": 'true' })), this.afFilterButtonText)), this._filteredResult &&
|
|
469
469
|
this._filteredResult.map((item, index) => {
|
|
470
470
|
return (h("li", { class: "digi-form-select-filter__item", key: index, dir: item.dir, lang: item.lang, "aria-checked": this.isSelected(item.value) ? 'true' : 'false', role: this.afMultipleItems ? 'checkbox' : 'radio', "aria-required": this.afMultipleItems
|
|
471
471
|
? 'false'
|
|
@@ -477,9 +477,9 @@ export class FormSelectFilter {
|
|
|
477
477
|
? 'true'
|
|
478
478
|
: 'false'
|
|
479
479
|
: 'false', "aria-errormessage": `${this.afId}--validation-message`, onClick: () => this.selectItemHandler(item), tabIndex: this.showNeutralValue ? -1 : index === 0 ? 0 : -1 }, this.isSelected(item.value) && (h("digi-icon-check", { class: "digi-form-select-filter__item__icon", "aria-hidden": 'true' })), item.label));
|
|
480
|
-
}))))), this.afMultipleItems && (h("div", { key: '
|
|
480
|
+
}))))), this.afMultipleItems && (h("div", { key: '0f6fc63028d7286ddf1830a25c7441b8fd2a2ed9', class: "digi-form-select-filter__footer" }, !this.afHideResetButton && (h("digi-button", { key: '6e8f95754b33b7b3f16d85121c3d66d18a3dbec6', "af-variation": "secondary", "af-aria-label": this.afResetButtonTextAriaLabel, onClick: () => this.resetSelectItems(), class: "digi-form-select-filter__reset-button" }, this.afResetButtonText)), h("digi-util-keydown-handler", { key: '828bd37c6f8f5e8eb0c8b3707587f999974d2ccd', onAfOnUp: () => this.setFocusItem() }, h("digi-button", { key: '3ef5fddce6e20cbf578117112f7038dba6dba8e0', ref: (el) => (this._submitButton = el), "af-variation": "primary", "af-aria-label": this.afSubmitButtonTextAriaLabel, onClick: () => {
|
|
481
481
|
this.setClosed(true);
|
|
482
|
-
}, class: "digi-form-select-filter__submit-button" }, this.afSubmitButtonText)))))), h("div", { key: '
|
|
482
|
+
}, class: "digi-form-select-filter__submit-button" }, this.afSubmitButtonText)))))), h("div", { key: 'c19aa161c29be9caf7f311c7cdafbc4e4349648c', class: "digi-form-select__footer" }, h("div", { key: '061934f8086fea4e00fea101a5d9b7d2bd49ee2b', "aria-atomic": "true", role: "alert", id: `${this.afId}--validation-message` }, this.showValidation() && (h("digi-form-validation-message", { key: 'ae827efc04d969a67f3c7ebae9592678c6eb2e6e', "af-variation": this.afValidation }, this.afValidationText))))));
|
|
483
483
|
}
|
|
484
484
|
static get is() { return "digi-form-select-filter"; }
|
|
485
485
|
static get encapsulation() { return "scoped"; }
|
|
@@ -530,9 +530,9 @@ export class FormSelectFilter {
|
|
|
530
530
|
"docs": {
|
|
531
531
|
"tags": [{
|
|
532
532
|
"name": "en",
|
|
533
|
-
"text": "
|
|
533
|
+
"text": "Hides the validation message."
|
|
534
534
|
}],
|
|
535
|
-
"text": "
|
|
535
|
+
"text": "D\u00F6ljer valideringsmeddelandet."
|
|
536
536
|
},
|
|
537
537
|
"getter": false,
|
|
538
538
|
"setter": false,
|
|
@@ -1112,9 +1112,15 @@ export class FormSelectFilter {
|
|
|
1112
1112
|
"text": "Vid uppdatering av filtret"
|
|
1113
1113
|
},
|
|
1114
1114
|
"complexType": {
|
|
1115
|
-
"original": "
|
|
1116
|
-
"resolved": "
|
|
1117
|
-
"references": {
|
|
1115
|
+
"original": "IListItem[]",
|
|
1116
|
+
"resolved": "IListItem[]",
|
|
1117
|
+
"references": {
|
|
1118
|
+
"IListItem": {
|
|
1119
|
+
"location": "import",
|
|
1120
|
+
"path": "./form-select-filter.interface",
|
|
1121
|
+
"id": "src/components/_form/form-select-filter/form-select-filter.interface.ts::IListItem"
|
|
1122
|
+
}
|
|
1123
|
+
}
|
|
1118
1124
|
}
|
|
1119
1125
|
}, {
|
|
1120
1126
|
"method": "afOnFilterClosed",
|
|
@@ -1166,9 +1172,15 @@ export class FormSelectFilter {
|
|
|
1166
1172
|
"text": "N\u00E4r ett eller flera filter v\u00E4ljs"
|
|
1167
1173
|
},
|
|
1168
1174
|
"complexType": {
|
|
1169
|
-
"original": "
|
|
1170
|
-
"resolved": "
|
|
1171
|
-
"references": {
|
|
1175
|
+
"original": "IListItem[]",
|
|
1176
|
+
"resolved": "IListItem[]",
|
|
1177
|
+
"references": {
|
|
1178
|
+
"IListItem": {
|
|
1179
|
+
"location": "import",
|
|
1180
|
+
"path": "./form-select-filter.interface",
|
|
1181
|
+
"id": "src/components/_form/form-select-filter/form-select-filter.interface.ts::IListItem"
|
|
1182
|
+
}
|
|
1183
|
+
}
|
|
1172
1184
|
}
|
|
1173
1185
|
}, {
|
|
1174
1186
|
"method": "afOnQueryChanged",
|
|
@@ -12,7 +12,6 @@ export class FormTextarea {
|
|
|
12
12
|
this.hasActiveValidationMessage = false;
|
|
13
13
|
this.dirty = false;
|
|
14
14
|
this.touched = false;
|
|
15
|
-
this.isEditing = false;
|
|
16
15
|
this.afLabel = undefined;
|
|
17
16
|
this.afLabelDescription = undefined;
|
|
18
17
|
this.afVariation = FormTextareaVariation.MEDIUM;
|
|
@@ -68,15 +67,14 @@ export class FormTextarea {
|
|
|
68
67
|
'digi-form-textarea--auto': this.afVariation === FormTextareaVariation.AUTO,
|
|
69
68
|
'digi-form-textarea--neutral': this.afValidation === FormTextareaValidation.NEUTRAL,
|
|
70
69
|
'digi-form-textarea--success': this.afValidation === FormTextareaValidation.SUCCESS,
|
|
71
|
-
'digi-form-textarea--error':
|
|
72
|
-
'digi-form-textarea--warning':
|
|
70
|
+
'digi-form-textarea--error': this.afValidation === FormTextareaValidation.ERROR,
|
|
71
|
+
'digi-form-textarea--warning': this.afValidation === FormTextareaValidation.WARNING,
|
|
73
72
|
'digi-form-textarea--empty': !this.afValue &&
|
|
74
73
|
(!this.afValidation ||
|
|
75
74
|
this.afValidation === FormTextareaValidation.NEUTRAL)
|
|
76
75
|
};
|
|
77
76
|
}
|
|
78
77
|
blurHandler(e) {
|
|
79
|
-
this.isEditing = false;
|
|
80
78
|
if (!this.touched) {
|
|
81
79
|
this.afOnTouched.emit(e);
|
|
82
80
|
this.touched = true;
|
|
@@ -106,10 +104,10 @@ export class FormTextarea {
|
|
|
106
104
|
this.afOnInput.emit(e);
|
|
107
105
|
}
|
|
108
106
|
render() {
|
|
109
|
-
return (h("div", { key: '
|
|
107
|
+
return (h("div", { key: '4e161920de063a876f4f5c43dfa6944922eef59b', class: Object.assign({ 'digi-form-textarea': true }, this.cssModifiers) }, h("div", { key: '3ae923d8d252e998eccc232a0d0fee16175bf2ab', class: "digi-form-textarea__label" }, h("digi-form-label", { key: '302f582d624fe4680fd0b4dc381a35ab51c390b6', afFor: this.afId, afLabel: this.afLabel, afDescription: this.afLabelDescription, afRequired: this.afRequired, afAnnounceIfOptional: this.afAnnounceIfOptional, afRequiredText: this.afRequiredText, afAnnounceIfOptionalText: this.afAnnounceIfOptionalText })), h("div", { key: '8ab908ee5525be7edf84dc26c8844da4f2a8d43c', class: "digi-form-textarea__content" }, h("textarea", { key: '8bc1706df463f6d94d0a895691c33eca19dc2e0b', class: "digi-form-textarea__textarea", ref: (el) => (this._textarea = el), onBlur: (e) => this.blurHandler(e), onChange: (e) => this.changeHandler(e), onFocus: (e) => this.focusHandler(e), onFocusout: (e) => this.focusoutHandler(e), onKeyUp: (e) => this.keyupHandler(e), onInput: (e) => this.inputHandler(e), "aria-activedescendant": this.afAriaActivedescendant, "aria-describedby": this.afAriaDescribedby, "aria-labelledby": this.afAriaLabelledby, "aria-invalid": this.afValidation === FormTextareaValidation.ERROR
|
|
110
108
|
? 'true'
|
|
111
|
-
: 'false', maxLength: this.afMaxlength, minLength: this.afMinlength, role: this.afRole, required: this.afRequired, id: this.afId, name: this.afName, value: this.afValue, autofocus: this.afAutofocus ? this.afAutofocus : null })), h("div", { key: '
|
|
112
|
-
this.afValidation != FormTextareaValidation.NEUTRAL && (h("digi-form-validation-message", { key: '
|
|
109
|
+
: 'false', maxLength: this.afMaxlength, minLength: this.afMinlength, role: this.afRole, required: this.afRequired, id: this.afId, name: this.afName, value: this.afValue, autofocus: this.afAutofocus ? this.afAutofocus : null })), h("div", { key: 'b5267c63a67bc5b00f1b1e415230ebaca238beaf', class: "digi-form-textarea__footer" }, h("div", { key: '3306d1e5309d9a9dc0dcd72efb6d89b3f467b3eb', class: "digi-form-textarea__validation", "aria-atomic": "true", role: "alert", id: `${this.afId}--validation-message` }, this.hasActiveValidationMessage &&
|
|
110
|
+
this.afValidation != FormTextareaValidation.NEUTRAL && (h("digi-form-validation-message", { key: '4fe2ef8decb98c91db107c4ed2db9cba5dbc0038', class: "digi-form-textarea__validation-message", "af-variation": this.afValidation }, this.afValidationText))))));
|
|
113
111
|
}
|
|
114
112
|
static get is() { return "digi-form-textarea"; }
|
|
115
113
|
static get encapsulation() { return "scoped"; }
|
|
@@ -590,8 +588,7 @@ export class FormTextarea {
|
|
|
590
588
|
return {
|
|
591
589
|
"hasActiveValidationMessage": {},
|
|
592
590
|
"dirty": {},
|
|
593
|
-
"touched": {}
|
|
594
|
-
"isEditing": {}
|
|
591
|
+
"touched": {}
|
|
595
592
|
};
|
|
596
593
|
}
|
|
597
594
|
static get events() {
|
|
@@ -11,6 +11,7 @@ const common = {
|
|
|
11
11
|
required: 'Obligatoriskt',
|
|
12
12
|
optional: 'Frivilligt',
|
|
13
13
|
of: 'av',
|
|
14
|
+
and: 'och',
|
|
14
15
|
today: 'Idag',
|
|
15
16
|
cancel: 'Avbryt',
|
|
16
17
|
canceled: 'Avbruten',
|
|
@@ -26,6 +27,24 @@ const common = {
|
|
|
26
27
|
};
|
|
27
28
|
const calendar = {
|
|
28
29
|
screenReaderInstructions: 'För navigering mellan månader med piltangenterna, använd inte den virtuella markören.',
|
|
30
|
+
year: 'År',
|
|
31
|
+
month: 'Månad',
|
|
32
|
+
months: [
|
|
33
|
+
'januari',
|
|
34
|
+
'februari',
|
|
35
|
+
'mars',
|
|
36
|
+
'april',
|
|
37
|
+
'maj',
|
|
38
|
+
'juni',
|
|
39
|
+
'juli',
|
|
40
|
+
'augusti',
|
|
41
|
+
'september',
|
|
42
|
+
'oktober',
|
|
43
|
+
'november',
|
|
44
|
+
'december'
|
|
45
|
+
],
|
|
46
|
+
previousMonth: 'föregående månad',
|
|
47
|
+
nextMonth: 'nästa månad',
|
|
29
48
|
week: 'Vecka',
|
|
30
49
|
weekdays: {
|
|
31
50
|
mon: 'Måndag',
|