@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
package/dist/cjs/{typography-variation.enum-c6bb12f2.js → typography-variation.enum-6077eba3.js}
RENAMED
|
@@ -165,22 +165,6 @@ exports.FormSelectVariation = void 0;
|
|
|
165
165
|
FormSelectVariation["LARGE"] = "large";
|
|
166
166
|
})(exports.FormSelectVariation || (exports.FormSelectVariation = {}));
|
|
167
167
|
|
|
168
|
-
exports.FormTextareaValidation = void 0;
|
|
169
|
-
(function (FormTextareaValidation) {
|
|
170
|
-
FormTextareaValidation["SUCCESS"] = "success";
|
|
171
|
-
FormTextareaValidation["ERROR"] = "error";
|
|
172
|
-
FormTextareaValidation["WARNING"] = "warning";
|
|
173
|
-
FormTextareaValidation["NEUTRAL"] = "neutral";
|
|
174
|
-
})(exports.FormTextareaValidation || (exports.FormTextareaValidation = {}));
|
|
175
|
-
|
|
176
|
-
exports.FormTextareaVariation = void 0;
|
|
177
|
-
(function (FormTextareaVariation) {
|
|
178
|
-
FormTextareaVariation["SMALL"] = "small";
|
|
179
|
-
FormTextareaVariation["MEDIUM"] = "medium";
|
|
180
|
-
FormTextareaVariation["LARGE"] = "large";
|
|
181
|
-
FormTextareaVariation["AUTO"] = "auto";
|
|
182
|
-
})(exports.FormTextareaVariation || (exports.FormTextareaVariation = {}));
|
|
183
|
-
|
|
184
168
|
exports.HeaderCenterContentWidth = void 0;
|
|
185
169
|
(function (HeaderCenterContentWidth) {
|
|
186
170
|
HeaderCenterContentWidth["DEFAULT"] = "none";
|
|
@@ -10,15 +10,11 @@ import { _t } from "../../../text";
|
|
|
10
10
|
*/
|
|
11
11
|
export class Calendar {
|
|
12
12
|
constructor() {
|
|
13
|
-
var _a;
|
|
14
|
-
this.locale = ((_a = document === null || document === void 0 ? void 0 : document.documentElement) === null || _a === void 0 ? void 0 : _a.lang) || 'sv-SE';
|
|
15
|
-
this.activeCalendar = [];
|
|
16
|
-
this.months = [];
|
|
17
13
|
this.selectedDates = [];
|
|
18
14
|
this.focusedDate = undefined;
|
|
19
15
|
this.dirty = false;
|
|
20
16
|
this.afId = randomIdGenerator('digi-calendar');
|
|
21
|
-
this.
|
|
17
|
+
this.afOpenCalendarTo = undefined;
|
|
22
18
|
this.afShowWeekNumber = false;
|
|
23
19
|
this.afSelectedDate = undefined;
|
|
24
20
|
this.afSelectedDates = [];
|
|
@@ -27,6 +23,13 @@ export class Calendar {
|
|
|
27
23
|
this.afMaxDate = undefined;
|
|
28
24
|
this.afMultipleDates = false;
|
|
29
25
|
this.afYearSelect = false;
|
|
26
|
+
this.activeCalendar = [];
|
|
27
|
+
}
|
|
28
|
+
focusedDateChanged() {
|
|
29
|
+
this.drawCalendar(this.focusedDate);
|
|
30
|
+
}
|
|
31
|
+
afOpenCalendarToChangeHandler() {
|
|
32
|
+
this.determineFocusedDate();
|
|
30
33
|
}
|
|
31
34
|
afSelectedDateChangeHandler() {
|
|
32
35
|
this.afSelectedDates = isValid(this.afSelectedDate)
|
|
@@ -39,24 +42,12 @@ export class Calendar {
|
|
|
39
42
|
const invalidDate = this.afSelectedDates.find((date) => !isValid(date));
|
|
40
43
|
if (invalidDate === undefined) {
|
|
41
44
|
this.selectedDates = this.afSelectedDates;
|
|
42
|
-
|
|
43
|
-
this.focusedDate = this.afInitFocusDate;
|
|
44
|
-
}
|
|
45
|
-
else {
|
|
46
|
-
this.focusedDate = new Date(this.afSelectedDates
|
|
47
|
-
.slice()
|
|
48
|
-
.sort((a, b) => a.getTime() - b.getTime())[0]);
|
|
49
|
-
}
|
|
45
|
+
this.determineFocusedDate();
|
|
50
46
|
}
|
|
51
47
|
}
|
|
52
48
|
else if (isValid(this.afSelectedDates[0])) {
|
|
53
49
|
this.selectedDates = [this.afSelectedDates[0]];
|
|
54
|
-
|
|
55
|
-
this.focusedDate = this.afInitFocusDate;
|
|
56
|
-
}
|
|
57
|
-
else {
|
|
58
|
-
this.focusedDate = new Date(this.afSelectedDates[0]);
|
|
59
|
-
}
|
|
50
|
+
this.determineFocusedDate();
|
|
60
51
|
}
|
|
61
52
|
}
|
|
62
53
|
else {
|
|
@@ -77,6 +68,20 @@ export class Calendar {
|
|
|
77
68
|
this.afOnClickOutside.emit(e);
|
|
78
69
|
}
|
|
79
70
|
}
|
|
71
|
+
determineFocusedDate() {
|
|
72
|
+
if (this.dirty) {
|
|
73
|
+
return; // Don't change focused date if user has already interacted with the calendar
|
|
74
|
+
}
|
|
75
|
+
else if (this.afOpenCalendarTo && isValid(this.afOpenCalendarTo)) {
|
|
76
|
+
this.focusedDate = this.afOpenCalendarTo;
|
|
77
|
+
}
|
|
78
|
+
else if (this.selectedDates.length > 0) {
|
|
79
|
+
this.focusedDate = this.selectedDates[0];
|
|
80
|
+
}
|
|
81
|
+
else {
|
|
82
|
+
this.focusedDate = new Date();
|
|
83
|
+
}
|
|
84
|
+
}
|
|
80
85
|
drawCalendar(focusedDate) {
|
|
81
86
|
const date = {
|
|
82
87
|
year: focusedDate.getFullYear(),
|
|
@@ -86,20 +91,6 @@ export class Calendar {
|
|
|
86
91
|
this.firstWeekOfNextMonth = this.getWeekDays(this.getFirstDayOfNextMonth(date));
|
|
87
92
|
this.weeksBetween = this.getWeeksBetween(this.getLastDayOfPrevMonth(date), this.getFirstDayOfNextMonth(date));
|
|
88
93
|
this.weekDaysbetween = this.getWeekdaysOfMonth(this.weeksBetween);
|
|
89
|
-
this.months = [
|
|
90
|
-
'januari',
|
|
91
|
-
'februari',
|
|
92
|
-
'mars',
|
|
93
|
-
'april',
|
|
94
|
-
'maj',
|
|
95
|
-
'juni',
|
|
96
|
-
'juli',
|
|
97
|
-
'augusti',
|
|
98
|
-
'september',
|
|
99
|
-
'oktober',
|
|
100
|
-
'november',
|
|
101
|
-
'december'
|
|
102
|
-
];
|
|
103
94
|
this.activeCalendar = this.appendFirstWeekOfNextMonth()
|
|
104
95
|
? [
|
|
105
96
|
this.lastWeekOfPreviousMonth,
|
|
@@ -130,10 +121,9 @@ export class Calendar {
|
|
|
130
121
|
getWeekDays(date) {
|
|
131
122
|
const today = date || new Date();
|
|
132
123
|
const week = [];
|
|
124
|
+
const dayOffset = today.getDay(); // 0=söndag
|
|
133
125
|
for (let i = 1; i <= 7; i++) {
|
|
134
|
-
|
|
135
|
-
const day = new Date(today.setDate(first));
|
|
136
|
-
week.push(day);
|
|
126
|
+
week.push(new Date(today.getFullYear(), today.getMonth(), today.getDate() - dayOffset + i));
|
|
137
127
|
}
|
|
138
128
|
return week;
|
|
139
129
|
}
|
|
@@ -184,13 +174,13 @@ export class Calendar {
|
|
|
184
174
|
}
|
|
185
175
|
getMonthName(monthNumber) {
|
|
186
176
|
return new Date(1992, monthNumber, 1)
|
|
187
|
-
.toLocaleDateString(
|
|
177
|
+
.toLocaleDateString(_t.locale, {
|
|
188
178
|
month: 'short'
|
|
189
179
|
})
|
|
190
180
|
.replace('.', '');
|
|
191
181
|
}
|
|
192
182
|
getFullMonthName(monthNumber) {
|
|
193
|
-
return new Date(this.focusedDate.getFullYear(), monthNumber, 1).toLocaleDateString(
|
|
183
|
+
return new Date(this.focusedDate.getFullYear(), monthNumber, 1).toLocaleDateString(_t.locale, {
|
|
194
184
|
month: 'long',
|
|
195
185
|
year: 'numeric'
|
|
196
186
|
});
|
|
@@ -315,8 +305,8 @@ export class Calendar {
|
|
|
315
305
|
if (this.dirty) {
|
|
316
306
|
return this.isSameDate(date, this.focusedDate);
|
|
317
307
|
}
|
|
318
|
-
if (this.
|
|
319
|
-
return this.isSameDate(date, this.
|
|
308
|
+
if (this.afOpenCalendarTo) {
|
|
309
|
+
return this.isSameDate(date, this.afOpenCalendarTo);
|
|
320
310
|
}
|
|
321
311
|
return this.isSameMonth(date, new Date())
|
|
322
312
|
? this.isSameDate(date, new Date())
|
|
@@ -337,14 +327,14 @@ export class Calendar {
|
|
|
337
327
|
const lastDayOfSelectedMonth = new Date(tempDate.getFullYear(), selectedMonth + 1, 0).getDate();
|
|
338
328
|
tempDate.setDate(Math.min(currentDay, lastDayOfSelectedMonth));
|
|
339
329
|
this.focusedDate = tempDate;
|
|
340
|
-
this.drawCalendar(this.focusedDate);
|
|
341
330
|
}
|
|
342
331
|
selectYear(evt) {
|
|
343
332
|
this.onDirty();
|
|
344
|
-
const
|
|
345
|
-
|
|
346
|
-
this.focusedDate
|
|
347
|
-
|
|
333
|
+
const selectedYear = parseInt(evt.target.value, 10);
|
|
334
|
+
// Skydda mot ogiltiga datum som 29 februari
|
|
335
|
+
const day = Math.min(this.focusedDate.getDate(), new Date(selectedYear, this.focusedDate.getMonth() + 1, 0).getDate());
|
|
336
|
+
const newDate = new Date(selectedYear, this.focusedDate.getMonth(), day);
|
|
337
|
+
this.focusedDate = newDate;
|
|
348
338
|
}
|
|
349
339
|
earliestSelectableYear() {
|
|
350
340
|
if (this.afMinDate)
|
|
@@ -374,20 +364,7 @@ export class Calendar {
|
|
|
374
364
|
if (valid.length > 0)
|
|
375
365
|
this.selectedDates = valid;
|
|
376
366
|
}
|
|
377
|
-
|
|
378
|
-
this.focusedDate = this.afInitFocusDate;
|
|
379
|
-
}
|
|
380
|
-
else if (this.selectedDates.length > 0) {
|
|
381
|
-
this.focusedDate = this.selectedDates
|
|
382
|
-
.slice()
|
|
383
|
-
.sort((a, b) => a.getTime() - b.getTime())[0];
|
|
384
|
-
}
|
|
385
|
-
else {
|
|
386
|
-
this.focusedDate = new Date();
|
|
387
|
-
}
|
|
388
|
-
this.drawCalendar(this.focusedDate);
|
|
389
|
-
}
|
|
390
|
-
componentWillUpdate() {
|
|
367
|
+
this.determineFocusedDate();
|
|
391
368
|
this.drawCalendar(this.focusedDate);
|
|
392
369
|
}
|
|
393
370
|
async componentDidLoad() {
|
|
@@ -408,18 +385,18 @@ export class Calendar {
|
|
|
408
385
|
};
|
|
409
386
|
}
|
|
410
387
|
render() {
|
|
411
|
-
return (h("div", { key: '
|
|
388
|
+
return (h("div", { key: '2951c3cb75fbace29267998e7e17ed48fd7c934f', class: {
|
|
412
389
|
'digi-calendar': true,
|
|
413
390
|
'digi-calendar--hide': !this.afActive
|
|
414
|
-
}, id: `${this.afId}-calendar` }, this.afYearSelect && (h("div", { key: '
|
|
391
|
+
}, id: `${this.afId}-calendar` }, this.afYearSelect && (h("div", { key: '0afa63be62669edd3ecef28953711892810a308b', class: "digi-calendar__header" }, h("div", { key: '37d19ca99a173d0195179a361d7460c18e3e75db', class: "digi-calendar__header--year-select" }, h("digi-form-select", { key: '6c5cde1508e7948b675d4495190f04a69c321570', afLabel: _t.calendar.month, "af-variation": "small", afValue: this.focusedDate.getMonth().toString(), onAfOnSelect: (evt) => {
|
|
415
392
|
this.selectMonth(evt);
|
|
416
|
-
} },
|
|
393
|
+
} }, _t.calendar.months.map((month, index) => {
|
|
417
394
|
return h("option", { value: index }, month);
|
|
418
|
-
})), h("digi-form-select", { key: '
|
|
395
|
+
})), h("digi-form-select", { key: '2ac58393e542efb8dab01da4aa3367107646f524', afLabel: _t.calendar.year, "af-variation": "small", afValue: this.focusedDate.getFullYear().toString(), onAfOnSelect: (evt) => {
|
|
419
396
|
this.selectYear(evt);
|
|
420
|
-
} }, this.allSelectableYears().map((year) => (h("option", { value: year.toString() }, year))))))), !this.afYearSelect && (h("div", { key: '
|
|
421
|
-
',
|
|
422
|
-
',
|
|
397
|
+
} }, this.allSelectableYears().map((year) => (h("option", { value: year.toString() }, year))))))), !this.afYearSelect && (h("div", { key: '0c715aeece50ada4c13173e95a431b4bf3b2d584', class: "digi-calendar__header" }, h("div", { key: '7183e490dbfe41f705b06e525907c63a11d13c7d', class: "digi-calendar__header--month-step" }, h("button", { key: '1ac729938041d87ee0a2588211c09ff8eaedafae', class: "digi-calendar__month-select-button", type: "button", "aria-label": this.getFullMonthName(this.focusedDate.getMonth() - 1) +
|
|
398
|
+
', ' + _t.calendar.previousMonth, onClick: () => this.subtractMonth() }, h("digi-icon-chevron-left", { key: '2fc849f377c0d817d2c03b2f365f5f35ae2ae422', slot: "icon", "aria-hidden": "true" }), h("span", { key: '9a454f6a75c8525d0559013f420083461e59e38c', class: "digi-calendar__month-select-name" }, this.getMonthName(this.focusedDate.getMonth() - 1))), h("div", { key: 'fe11bd1a3e7fe57152136e6cd05763735d64c164', class: "digi-calendar__month" }, this.getFullMonthName(this.focusedDate.getMonth())), h("button", { key: '1b46134446f5fb21be57b3d9b492a227c732aded', class: "digi-calendar__month-select-button", type: "button", "aria-label": this.getFullMonthName(this.focusedDate.getMonth() + 1) +
|
|
399
|
+
', ' + _t.calendar.nextMonth, onClick: () => this.addMonth() }, h("span", { key: '07efeb5a1b3341814e6a9fd3cbe9c81fdf8d55fb', class: "digi-calendar__month-select-name" }, this.getMonthName(this.focusedDate.getMonth() + 1)), h("digi-icon-chevron-right", { key: 'f16b49b2d05d06a928b944f515b9706d21a860d7', slot: "icon", "aria-hidden": "true" }))))), h("digi-util-keydown-handler", { key: 'dc86ed3df6e5f70384b9e2ada473f4af2a11ccca', onAfOnDown: (e) => this.navigateHandler(e, 7), onAfOnUp: (e) => this.navigateHandler(e, -7), onAfOnLeft: (e) => this.navigateHandler(e, -1), onAfOnRight: (e) => this.navigateHandler(e, 1) }, h("table", { key: 'f493df85506b3482066bc542e19630311180d224', role: "grid", class: "digi-calendar__table" }, h("thead", { key: 'b2f33f1dc3b75c4406df209e0cd37ff6e915dfa4' }, h("tr", { key: '74baa5b744116ad187f5cb04ff5b160117698adc', role: "row" }, this.afShowWeekNumber && (h("th", { key: '4cd7f3261eb3fb270a0299a23f4ced5d21301270', role: "columnheader", abbr: _t.calendar.week, class: "digi-calendar__table-header-week" }, _t.calendar.week.toLowerCase())), Object.keys(_t.calendar.weekdays).map((day) => (h("th", { role: "columnheader", "aria-label": _t.calendar.weekdays[day], abbr: _t.calendar.weekdays[day], class: "digi-calendar__table-header" }, _t.calendar.weekdays_short[day].toLowerCase()))))), h("tbody", { key: '40266516692ee0a3b67781ff51881bf71fa325ba', ref: (el) => (this._tbody = el) }, this.activeCalendar.map((week) => {
|
|
423
400
|
return (h("tr", null, week.map((day, i) => {
|
|
424
401
|
if (this.afShowWeekNumber && i === 0) {
|
|
425
402
|
return (h("th", { role: "rowheader", "aria-label": _t.calendar.week + ' ' + day, class: "digi-calendar__td-week digi-calendar__date--week-number", id: 'digi-calendar__week-' + day }, day));
|
|
@@ -434,7 +411,7 @@ export class Calendar {
|
|
|
434
411
|
: null }, h("span", { "aria-hidden": "true" }, day.getDate()))));
|
|
435
412
|
}
|
|
436
413
|
})));
|
|
437
|
-
})))), h("slot", { key: '
|
|
414
|
+
})))), h("slot", { key: 'a1d6061116378a7f60fbc8d779999db45cf04b86', name: "calendar-footer" })));
|
|
438
415
|
}
|
|
439
416
|
static get is() { return "digi-calendar"; }
|
|
440
417
|
static get encapsulation() { return "scoped"; }
|
|
@@ -473,7 +450,7 @@ export class Calendar {
|
|
|
473
450
|
"reflect": false,
|
|
474
451
|
"defaultValue": "randomIdGenerator('digi-calendar')"
|
|
475
452
|
},
|
|
476
|
-
"
|
|
453
|
+
"afOpenCalendarTo": {
|
|
477
454
|
"type": "unknown",
|
|
478
455
|
"mutable": false,
|
|
479
456
|
"complexType": {
|
|
@@ -491,9 +468,9 @@ export class Calendar {
|
|
|
491
468
|
"docs": {
|
|
492
469
|
"tags": [{
|
|
493
470
|
"name": "en",
|
|
494
|
-
"text": "Controls which month is shown from start, and which date button is the entry point for keyboard navigation. If not provided, selected date
|
|
471
|
+
"text": "Controls which month is shown from start, and which date button is the entry point for keyboard navigation. If not provided, selected date or today's date is used."
|
|
495
472
|
}],
|
|
496
|
-
"text": "Styr vilken m\u00E5nad som visas fr\u00E5n start, samt vilken datumknapp som \u00E4r ing\u00E5ngspunkt f\u00F6r tangentbordsnavigering. Om inte angiven anv\u00E4nds valt datum
|
|
473
|
+
"text": "Styr vilken m\u00E5nad som visas fr\u00E5n start, samt vilken datumknapp som \u00E4r ing\u00E5ngspunkt f\u00F6r tangentbordsnavigering. Om inte angiven anv\u00E4nds valt datum eller dagens datum."
|
|
497
474
|
},
|
|
498
475
|
"getter": false,
|
|
499
476
|
"setter": false
|
|
@@ -511,9 +488,9 @@ export class Calendar {
|
|
|
511
488
|
"docs": {
|
|
512
489
|
"tags": [{
|
|
513
490
|
"name": "en",
|
|
514
|
-
"text": "Show week number in the
|
|
491
|
+
"text": "Show week number in the calendar"
|
|
515
492
|
}],
|
|
516
|
-
"text": "Visa veckonummer i kalender
|
|
493
|
+
"text": "Visa veckonummer i kalender"
|
|
517
494
|
},
|
|
518
495
|
"getter": false,
|
|
519
496
|
"setter": false,
|
|
@@ -658,9 +635,9 @@ export class Calendar {
|
|
|
658
635
|
"docs": {
|
|
659
636
|
"tags": [{
|
|
660
637
|
"name": "en",
|
|
661
|
-
"text": "Set this to true to be able to
|
|
638
|
+
"text": "Set this to true to be able to allow selection of multiple dates"
|
|
662
639
|
}],
|
|
663
|
-
"text": "S\u00E4tt denna till true f\u00F6r att
|
|
640
|
+
"text": "S\u00E4tt denna till true f\u00F6r att till\u00E5ta val av flera datum"
|
|
664
641
|
},
|
|
665
642
|
"getter": false,
|
|
666
643
|
"setter": false,
|
|
@@ -681,9 +658,9 @@ export class Calendar {
|
|
|
681
658
|
"docs": {
|
|
682
659
|
"tags": [{
|
|
683
660
|
"name": "en",
|
|
684
|
-
"text": "Set this to true to be
|
|
661
|
+
"text": "Set this to true to be show year selector"
|
|
685
662
|
}],
|
|
686
|
-
"text": "S\u00E4tt denna till true f\u00F6r att
|
|
663
|
+
"text": "S\u00E4tt denna till true f\u00F6r att visa v\u00E4ljare f\u00F6r \u00E5r"
|
|
687
664
|
},
|
|
688
665
|
"getter": false,
|
|
689
666
|
"setter": false,
|
|
@@ -697,7 +674,8 @@ export class Calendar {
|
|
|
697
674
|
return {
|
|
698
675
|
"selectedDates": {},
|
|
699
676
|
"focusedDate": {},
|
|
700
|
-
"dirty": {}
|
|
677
|
+
"dirty": {},
|
|
678
|
+
"activeCalendar": {}
|
|
701
679
|
};
|
|
702
680
|
}
|
|
703
681
|
static get events() {
|
|
@@ -777,6 +755,12 @@ export class Calendar {
|
|
|
777
755
|
}
|
|
778
756
|
static get watchers() {
|
|
779
757
|
return [{
|
|
758
|
+
"propName": "focusedDate",
|
|
759
|
+
"methodName": "focusedDateChanged"
|
|
760
|
+
}, {
|
|
761
|
+
"propName": "afOpenCalendarTo",
|
|
762
|
+
"methodName": "afOpenCalendarToChangeHandler"
|
|
763
|
+
}, {
|
|
780
764
|
"propName": "afSelectedDate",
|
|
781
765
|
"methodName": "afSelectedDateChangeHandler"
|
|
782
766
|
}, {
|
|
@@ -745,10 +745,12 @@ body {
|
|
|
745
745
|
}
|
|
746
746
|
:host .digi-calendar-datepicker {
|
|
747
747
|
position: relative;
|
|
748
|
+
pointer-events: none;
|
|
748
749
|
}
|
|
749
750
|
:host .digi-calendar-datepicker__input-field {
|
|
750
751
|
position: relative;
|
|
751
752
|
max-width: var(--digi--datepicker--max-width);
|
|
753
|
+
pointer-events: auto;
|
|
752
754
|
}
|
|
753
755
|
:host .digi-calendar-datepicker__input-field .digi-calendar-datepicker__inactive {
|
|
754
756
|
--digi--form-input--background--empty: var(--digi--datepicker--input--inactive-background);
|
|
@@ -777,7 +779,7 @@ body {
|
|
|
777
779
|
outline-offset: 2px;
|
|
778
780
|
box-shadow: 0px 0px 0px 5px white;
|
|
779
781
|
}
|
|
780
|
-
:host .digi-calendar-datepicker__input-field .digi-calendar-datepicker__input-button:hover {
|
|
782
|
+
:host .digi-calendar-datepicker__input-field .digi-calendar-datepicker__input-button:hover, :host .digi-calendar-datepicker__input-field .digi-calendar-datepicker__input-button:focus {
|
|
781
783
|
background: var(--digi--color--background--interactive--hover--secondary);
|
|
782
784
|
}
|
|
783
785
|
:host .digi-calendar-datepicker__calendar {
|
|
@@ -797,6 +799,7 @@ body {
|
|
|
797
799
|
position: absolute;
|
|
798
800
|
top: var(--digi--datepicker--calendar--popup-top);
|
|
799
801
|
left: 0;
|
|
802
|
+
pointer-events: auto;
|
|
800
803
|
}
|
|
801
804
|
:host .digi-calendar-datepicker__input-component {
|
|
802
805
|
--digi--form-input--padding: 0 var(--digi--datepicker--input--inline-end) 0 var(--digi--datepicker--input--inline-start);
|