@duetds/components 8.6.8 → 8.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.d.ts +30 -12
- package/hydrate/index.js +33069 -23517
- package/lib/cjs/{app-globals-aece069f.js → app-globals-44f2c7a3.js} +2 -0
- package/lib/cjs/duet-action-button.cjs.entry.js +5 -4
- package/lib/cjs/duet-alert.cjs.entry.js +10 -9
- package/lib/cjs/duet-badge.cjs.entry.js +5 -4
- package/lib/cjs/duet-banner.cjs.entry.js +6 -5
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +8 -7
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +6 -5
- package/lib/cjs/duet-button_2.cjs.entry.js +13 -11
- package/lib/cjs/duet-callout.cjs.entry.js +6 -5
- package/lib/cjs/duet-caption_4.cjs.entry.js +18 -14
- package/lib/cjs/duet-card.cjs.entry.js +6 -5
- package/lib/cjs/duet-checkbox.cjs.entry.js +3 -2
- package/lib/cjs/duet-checkmark.cjs.entry.js +5 -4
- package/lib/cjs/duet-chip.cjs.entry.js +4 -3
- package/lib/cjs/duet-choice_2.cjs.entry.js +7 -5
- package/lib/cjs/duet-collapsible.cjs.entry.js +6 -5
- package/lib/cjs/duet-combobox.cjs.entry.js +5 -4
- package/lib/cjs/duet-contact-card.cjs.entry.js +6 -5
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +4 -3
- package/lib/cjs/duet-date-picker.cjs.entry.js +6 -5
- package/lib/cjs/duet-divider_2.cjs.entry.js +7 -5
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +13 -10
- package/lib/cjs/duet-empty-state.cjs.entry.js +5 -4
- package/lib/cjs/duet-fieldset.cjs.entry.js +7 -6
- package/lib/cjs/duet-file-chooser.cjs.entry.js +4 -3
- package/lib/cjs/duet-footer.cjs.entry.js +9 -8
- package/lib/cjs/duet-grid_2.cjs.entry.js +5 -3
- package/lib/cjs/duet-header_2.cjs.entry.js +7 -5
- package/lib/cjs/duet-hero.cjs.entry.js +10 -9
- package/lib/cjs/duet-icon.cjs.entry.js +6 -5
- package/lib/cjs/duet-input_2.cjs.entry.js +7 -5
- package/lib/cjs/duet-layout.cjs.entry.js +8 -7
- package/lib/cjs/duet-list_2.cjs.entry.js +8 -6
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +5 -4
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +5 -4
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +7 -6
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +5 -4
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +5 -4
- package/lib/cjs/duet-menu-bar.cjs.entry.js +5 -4
- package/lib/cjs/duet-modal.cjs.entry.js +17 -14
- package/lib/cjs/duet-multiselect.cjs.entry.js +11 -10
- package/lib/cjs/duet-nav.cjs.entry.js +4 -3
- package/lib/cjs/duet-notification_2.cjs.entry.js +10 -8
- package/lib/cjs/duet-number-input.cjs.entry.js +5 -4
- package/lib/cjs/duet-overlay.cjs.entry.js +4 -3
- package/lib/cjs/duet-page-heading.cjs.entry.js +5 -4
- package/lib/cjs/duet-pagination_2.cjs.entry.js +19 -17
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +4 -3
- package/lib/cjs/duet-popup-menu.cjs.entry.js +5 -4
- package/lib/cjs/duet-progress.cjs.entry.js +4 -3
- package/lib/cjs/duet-promo-card.cjs.entry.js +6 -5
- package/lib/cjs/duet-radio_2.cjs.entry.js +6 -4
- package/lib/cjs/duet-range-slider.cjs.entry.js +3 -2
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +44 -23
- package/lib/cjs/duet-section-layout.cjs.entry.js +6 -5
- package/lib/cjs/duet-select.cjs.entry.js +4 -3
- package/lib/cjs/duet-shaped-image.cjs.entry.js +5 -4
- package/lib/cjs/duet-show-more.cjs.entry.js +6 -5
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +5 -4
- package/lib/cjs/duet-slideout-link.cjs.entry.js +5 -4
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +7 -6
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +12 -11
- package/lib/cjs/duet-slideout.cjs.entry.js +10 -9
- package/lib/cjs/duet-step_2.cjs.entry.js +6 -4
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +5 -4
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +7 -6
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +4 -3
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +4 -3
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -6
- package/lib/cjs/duet-textarea.cjs.entry.js +4 -3
- package/lib/cjs/duet-toggle.cjs.entry.js +3 -2
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +5 -4
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +7 -6
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +5 -4
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +5 -4
- package/lib/cjs/duet-toolbar.cjs.entry.js +4 -3
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +10 -8
- package/lib/cjs/duet-tooltip.cjs.entry.js +4 -3
- package/lib/cjs/duet-tray.cjs.entry.js +6 -5
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-item.cjs.entry.js +7 -6
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +4 -3
- package/lib/cjs/duet.cjs.js +15 -15
- package/lib/cjs/{errorcodes.utils-a86b1f94.js → errorcodes.utils-d9f472df.js} +1 -1
- package/lib/cjs/{focus-utils-f04d6c12.js → focus-utils-2de8d5de.js} +1 -1
- package/lib/cjs/index-7efe7e19.js +1996 -0
- package/lib/cjs/{language-utils-e8a527e5.js → language-utils-1ed4b266.js} +1 -0
- package/lib/cjs/loader.cjs.js +4 -4
- package/lib/cjs/{slot-utils-03a40c78.js → slot-utils-0664e341.js} +2 -0
- package/lib/collection/collection-manifest.json +2 -2
- package/lib/collection/components/duet-action-button/duet-action-button.js +1 -1
- package/lib/collection/components/duet-alert/duet-alert.js +5 -5
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-banner/duet-banner.js +2 -2
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
- package/lib/collection/components/duet-button/duet-button.js +5 -5
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-caption/duet-caption.js +2 -2
- package/lib/collection/components/duet-card/duet-card.js +3 -3
- package/lib/collection/components/duet-chip/duet-chip.js +1 -1
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.js +4 -4
- package/lib/collection/components/duet-heading/duet-heading.js +2 -2
- package/lib/collection/components/duet-hero/duet-hero.js +5 -5
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-layout/duet-layout.js +5 -5
- package/lib/collection/components/duet-link/duet-link.js +2 -2
- package/lib/collection/components/duet-list/duet-list.js +1 -1
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +2 -2
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
- package/lib/collection/components/duet-modal/duet-modal.css +6 -0
- package/lib/collection/components/duet-modal/duet-modal.js +10 -8
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +6 -6
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +1 -1
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +1 -1
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
- package/lib/collection/components/duet-scrollable/duet-scrollable.css +39 -9
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +29 -11
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
- package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
- package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
- package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +4 -4
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +1 -1
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +2 -2
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
- package/lib/collection/components/duet-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload/duet-upload.js +2 -2
- package/lib/collection/components/duet-upload/mock.helpers.js +6 -4
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +3 -3
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/collection/utils/axe-core-utils.js +12 -4
- package/lib/collection/utils/test-utils.js +82 -32
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +9 -8
- package/lib/dist-custom-elements/duet-breadcrumb.js +10 -9
- package/lib/dist-custom-elements/duet-breadcrumbs.js +6 -5
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +7 -6
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +8 -7
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +11 -10
- package/lib/dist-custom-elements/duet-choice.js +8 -7
- package/lib/dist-custom-elements/duet-collapsible.js +7 -6
- package/lib/dist-custom-elements/duet-combobox.js +17 -16
- package/lib/dist-custom-elements/duet-contact-card.js +13 -12
- package/lib/dist-custom-elements/duet-cookie-consent.js +9 -8
- package/lib/dist-custom-elements/duet-date-picker.js +19 -18
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +11 -10
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-file-chooser.js +5 -4
- package/lib/dist-custom-elements/duet-footer.js +15 -14
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +12 -11
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +18 -17
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +8 -7
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +6 -5
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +6 -5
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +8 -7
- package/lib/dist-custom-elements/duet-menu-bar-item.js +6 -5
- package/lib/dist-custom-elements/duet-menu-bar-link.js +6 -5
- package/lib/dist-custom-elements/duet-menu-bar.js +6 -5
- package/lib/dist-custom-elements/duet-modal.js +24 -21
- package/lib/dist-custom-elements/duet-multiselect.js +19 -18
- package/lib/dist-custom-elements/duet-nav.js +4 -3
- package/lib/dist-custom-elements/duet-notification-drawer.js +9 -8
- package/lib/dist-custom-elements/duet-notification.js +7 -6
- package/lib/dist-custom-elements/duet-number-input.js +15 -14
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +6 -5
- package/lib/dist-custom-elements/duet-pagination.js +27 -26
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +5 -4
- package/lib/dist-custom-elements/duet-popup-menu.js +6 -5
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +8 -7
- package/lib/dist-custom-elements/duet-radio-group.js +11 -10
- package/lib/dist-custom-elements/duet-radio.js +3 -2
- package/lib/dist-custom-elements/duet-range-slider.js +4 -3
- package/lib/dist-custom-elements/duet-range-stepper.js +9 -8
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +6 -5
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +5 -4
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +6 -5
- package/lib/dist-custom-elements/duet-slideout-link.js +6 -5
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +8 -7
- package/lib/dist-custom-elements/duet-slideout-panel.js +13 -12
- package/lib/dist-custom-elements/duet-slideout.js +12 -11
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +6 -5
- package/lib/dist-custom-elements/duet-stepper.js +5 -4
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +6 -5
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +8 -7
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +5 -4
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +5 -4
- package/lib/dist-custom-elements/duet-submenu-bar.js +9 -8
- package/lib/dist-custom-elements/duet-tab-group.js +21 -20
- package/lib/dist-custom-elements/duet-tab.js +4 -3
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +13 -12
- package/lib/dist-custom-elements/duet-toggle.js +4 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +6 -5
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +8 -7
- package/lib/dist-custom-elements/duet-toolbar-item.js +6 -5
- package/lib/dist-custom-elements/duet-toolbar-link.js +6 -5
- package/lib/dist-custom-elements/duet-toolbar.js +4 -3
- package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +8 -7
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +25 -24
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +2 -1
- package/lib/dist-custom-elements/{p-5d1b1309.js → p-00eccbc8.js} +5 -4
- package/lib/dist-custom-elements/{p-dcbd3217.js → p-0231ea20.js} +5 -4
- package/lib/dist-custom-elements/{p-2f74a80b.js → p-02911244.js} +3 -3
- package/lib/dist-custom-elements/{p-f010dbb0.js → p-03c64124.js} +5 -4
- package/lib/dist-custom-elements/{p-184196bf.js → p-12a09bbc.js} +5 -4
- package/lib/dist-custom-elements/{p-8806e54e.js → p-151934ce.js} +8 -7
- package/lib/dist-custom-elements/{p-8b931125.js → p-1c341405.js} +11 -10
- package/lib/dist-custom-elements/{p-0301d789.js → p-21e0af47.js} +38 -19
- package/lib/dist-custom-elements/{p-2e4d752a.js → p-26d4d49e.js} +3 -2
- package/lib/dist-custom-elements/{p-a1b81dbc.js → p-2a041992.js} +7 -6
- package/lib/dist-custom-elements/{p-2e36d5bf.js → p-2f5e2da8.js} +1 -0
- package/lib/dist-custom-elements/{p-3a3e990d.js → p-330bf2a1.js} +4 -3
- package/lib/dist-custom-elements/{p-ecb49066.js → p-37e44d89.js} +5 -4
- package/lib/dist-custom-elements/{p-aaf04b7b.js → p-384f880b.js} +6 -5
- package/lib/dist-custom-elements/{p-164f1743.js → p-3e74515a.js} +10 -9
- package/lib/dist-custom-elements/{p-a5b07a4c.js → p-401b6b1f.js} +5 -4
- package/lib/dist-custom-elements/{p-e4489c9c.js → p-45dd5240.js} +7 -6
- package/lib/dist-custom-elements/p-47c44289.js +178 -0
- package/lib/dist-custom-elements/{p-d4cc9e7f.js → p-48a3af88.js} +3 -2
- package/lib/dist-custom-elements/{p-b691a561.js → p-5ad5934d.js} +4 -3
- package/lib/dist-custom-elements/{p-188198bb.js → p-61ffea9e.js} +6 -5
- package/lib/dist-custom-elements/{p-f3fed1d1.js → p-6bd18890.js} +15 -14
- package/lib/dist-custom-elements/{p-9d2943a1.js → p-706daff4.js} +14 -13
- package/lib/dist-custom-elements/{p-fe0978ef.js → p-7666f1bc.js} +5 -4
- package/lib/dist-custom-elements/{p-e4f40301.js → p-7eef087e.js} +12 -11
- package/lib/{esm/floating-ui.dom.esm-01fcd83a.js → dist-custom-elements/p-81287261.js} +1 -1
- package/lib/dist-custom-elements/{p-06e608ae.js → p-895db398.js} +2 -0
- package/lib/dist-custom-elements/{p-45ce252d.js → p-8fb1d873.js} +15 -14
- package/lib/dist-custom-elements/{p-2933d260.js → p-955053f9.js} +7 -5
- package/lib/dist-custom-elements/p-955746f9.js +1848 -0
- package/lib/dist-custom-elements/{p-d1f8f9d9.js → p-9bda0343.js} +5 -4
- package/lib/dist-custom-elements/{p-674040a2.js → p-9d348a4b.js} +4 -3
- package/lib/dist-custom-elements/{p-f390637a.js → p-9dc74a9b.js} +8 -7
- package/lib/dist-custom-elements/{p-9a63d9a1.js → p-ad23e869.js} +6 -5
- package/lib/dist-custom-elements/{p-2a29afc3.js → p-b8bb3910.js} +5 -4
- package/lib/dist-custom-elements/{p-c6788c34.js → p-bb20326f.js} +4 -3
- package/lib/dist-custom-elements/{p-ee310f8e.js → p-c7a796da.js} +4 -3
- package/lib/dist-custom-elements/{p-4bd749d9.js → p-d2f0147b.js} +1 -1
- package/lib/dist-custom-elements/{p-3ee1ee19.js → p-d7ff39b6.js} +5 -4
- package/lib/dist-custom-elements/{p-1a167655.js → p-e091bb48.js} +3 -2
- package/lib/dist-custom-elements/{p-2d44ce95.js → p-f1938f1a.js} +3 -2
- package/lib/dist-custom-elements/{p-b59388e4.js → p-fd601808.js} +9 -8
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/p-01e99b47.system.entry.js +4 -0
- package/lib/duet/p-032d42d4.entry.js +4 -0
- package/lib/duet/p-06472b8c.entry.js +4 -0
- package/lib/duet/p-064b908b.entry.js +4 -0
- package/lib/duet/p-069aaf78.entry.js +4 -0
- package/lib/duet/{p-00638431.system.entry.js → p-077b9a06.system.entry.js} +1 -1
- package/lib/duet/p-08866b96.system.entry.js +4 -0
- package/lib/duet/{p-09f2162b.system.entry.js → p-08daf525.system.entry.js} +1 -1
- package/lib/duet/p-0a042569.entry.js +4 -0
- package/lib/duet/p-0c3a491b.system.entry.js +4 -0
- package/lib/duet/{p-f0a8edfa.system.entry.js → p-0cbdf836.system.entry.js} +1 -1
- package/lib/duet/{p-15d65ccc.system.js → p-0dc9089b.system.js} +1 -1
- package/lib/duet/{p-fabb616b.js → p-0f1980bc.js} +1 -1
- package/lib/duet/{p-bc99f838.system.entry.js → p-115a50f2.system.entry.js} +1 -1
- package/lib/duet/{p-c9c57249.system.entry.js → p-12b4df90.system.entry.js} +1 -1
- package/lib/duet/p-13ea970e.system.entry.js +4 -0
- package/lib/duet/{p-d537a47b.entry.js → p-155b7733.entry.js} +1 -1
- package/lib/duet/p-16be8ba9.entry.js +4 -0
- package/lib/duet/{p-b0d67f51.entry.js → p-16e63390.entry.js} +1 -1
- package/lib/duet/p-1784b1d2.js +1 -1
- package/lib/duet/{p-48e4b33e.system.entry.js → p-17eeb1cc.system.entry.js} +1 -1
- package/lib/duet/p-1801e2be.entry.js +4 -0
- package/lib/duet/p-18d8207e.entry.js +4 -0
- package/lib/duet/{p-a87c1819.entry.js → p-198b0f16.entry.js} +1 -1
- package/lib/duet/p-1a6ea3db.entry.js +4 -0
- package/lib/duet/p-1d1f8607.entry.js +4 -0
- package/lib/duet/p-23805ac9.entry.js +4 -0
- package/lib/duet/p-2383fbeb.entry.js +4 -0
- package/lib/duet/p-2504c504.entry.js +4 -0
- package/lib/duet/p-28106a87.system.entry.js +4 -0
- package/lib/duet/{p-322273ee.system.entry.js → p-2928c320.system.entry.js} +1 -1
- package/lib/duet/{p-1af39d2d.entry.js → p-29665476.entry.js} +1 -1
- package/lib/duet/p-2aa796b7.js +4 -0
- package/lib/duet/p-2b9defde.system.entry.js +4 -0
- package/lib/duet/p-2c78ff7b.system.entry.js +4 -0
- package/lib/duet/p-300c8dd9.entry.js +4 -0
- package/lib/duet/{p-b3f5fea3.entry.js → p-32be247b.entry.js} +1 -1
- package/lib/duet/p-32d698f2.system.entry.js +4 -0
- package/lib/duet/{p-d9800a64.entry.js → p-364d7058.entry.js} +1 -1
- package/lib/duet/p-3e1a0cb7.entry.js +4 -0
- package/lib/duet/p-41b6d132.entry.js +4 -0
- package/lib/duet/{p-15a018c2.entry.js → p-41d5039a.entry.js} +1 -1
- package/lib/duet/p-428f66d6.system.entry.js +4 -0
- package/lib/duet/p-42e31c87.entry.js +4 -0
- package/lib/duet/p-43417c63.entry.js +4 -0
- package/lib/duet/{p-d2082904.system.entry.js → p-4487736b.system.entry.js} +1 -1
- package/lib/duet/p-4520f63d.system.entry.js +4 -0
- package/lib/duet/p-46079f71.entry.js +4 -0
- package/lib/duet/p-48879a51.entry.js +4 -0
- package/lib/duet/{p-4083bda5.entry.js → p-4a8d2af0.entry.js} +1 -1
- package/lib/duet/{p-0204b3b0.js → p-4bc401c3.js} +1 -1
- package/lib/duet/p-50c0ea9c.system.entry.js +4 -0
- package/lib/duet/p-54351362.entry.js +4 -0
- package/lib/duet/p-54c28fa4.system.entry.js +4 -0
- package/lib/duet/p-55327462.entry.js +4 -0
- package/lib/duet/p-5672308b.entry.js +4 -0
- package/lib/duet/p-56d35ccf.system.entry.js +4 -0
- package/lib/duet/p-5776972c.entry.js +4 -0
- package/lib/duet/p-585ad67b.entry.js +4 -0
- package/lib/duet/p-5866eaea.entry.js +4 -0
- package/lib/duet/p-58cb8b0b.system.entry.js +4 -0
- package/lib/duet/p-5abdc5ab.entry.js +4 -0
- package/lib/duet/p-5cb08833.system.entry.js +4 -0
- package/lib/duet/p-5f3de870.system.entry.js +4 -0
- package/lib/duet/{p-da20db91.system.js → p-6084bf4c.system.js} +1 -1
- package/lib/duet/{p-e36d3c27.entry.js → p-60d43265.entry.js} +1 -1
- package/lib/duet/{p-4a65e996.system.entry.js → p-61a24bce.system.entry.js} +1 -1
- package/lib/duet/{p-f370f3c5.system.entry.js → p-66e3ce81.system.entry.js} +1 -1
- package/lib/duet/p-6892b798.system.entry.js +4 -0
- package/lib/duet/{p-36eb52a8.system.entry.js → p-68a9aeee.system.entry.js} +1 -1
- package/lib/duet/p-68f52c23.system.entry.js +4 -0
- package/lib/duet/p-693ad8aa.entry.js +4 -0
- package/lib/duet/{p-e67c546c.system.entry.js → p-6a496c70.system.entry.js} +1 -1
- package/lib/duet/{p-e1fb0446.entry.js → p-6a84bf93.entry.js} +1 -1
- package/lib/duet/p-6bb927f9.system.entry.js +4 -0
- package/lib/duet/p-6c76d396.entry.js +4 -0
- package/lib/duet/p-6cdd3596.entry.js +4 -0
- package/lib/duet/{p-a909fac2.system.entry.js → p-6d157e53.system.entry.js} +2 -2
- package/lib/duet/p-6d75cdf6.system.js +4 -0
- package/lib/duet/p-6db296a5.entry.js +4 -0
- package/lib/duet/{p-95d3a1c1.system.entry.js → p-6dfa9f0e.system.entry.js} +1 -1
- package/lib/duet/{p-d54716cb.system.entry.js → p-70ba1823.system.entry.js} +1 -1
- package/lib/duet/p-72affe21.system.entry.js +4 -0
- package/lib/duet/p-7340e2e2.entry.js +4 -0
- package/lib/duet/p-7344d97c.system.js +4 -0
- package/lib/duet/p-7a5dd34d.entry.js +4 -0
- package/lib/duet/p-7b0e681f.system.entry.js +4 -0
- package/lib/duet/{p-55ce0916.system.entry.js → p-7bfc6d05.system.entry.js} +1 -1
- package/lib/duet/p-7c3649ba.js +5 -0
- package/lib/duet/p-7c533802.entry.js +4 -0
- package/lib/duet/p-7d473104.system.entry.js +4 -0
- package/lib/duet/{p-22b1cabe.system.entry.js → p-7e4597c6.system.entry.js} +1 -1
- package/lib/duet/p-7f8fc279.entry.js +4 -0
- package/lib/duet/p-7ff17c05.system.entry.js +4 -0
- package/lib/duet/p-80d722bc.entry.js +4 -0
- package/lib/duet/{p-31ed51c3.js → p-81287261.js} +1 -1
- package/lib/duet/p-813c2271.entry.js +4 -0
- package/lib/duet/{p-71b71fae.system.entry.js → p-83b88e0d.system.entry.js} +1 -1
- package/lib/duet/{p-e240a248.system.entry.js → p-84c50c75.system.entry.js} +1 -1
- package/lib/duet/p-8589c504.system.entry.js +4 -0
- package/lib/duet/p-86361d66.system.entry.js +4 -0
- package/lib/duet/p-8aefdb36.entry.js +4 -0
- package/lib/duet/p-8d4fde72.entry.js +4 -0
- package/lib/duet/{p-49492752.system.entry.js → p-8dcb869d.system.entry.js} +2 -2
- package/lib/duet/p-933895d6.system.entry.js +4 -0
- package/lib/duet/p-93d9f454.system.js +4 -0
- package/lib/duet/{p-2ebe1ac5.system.entry.js → p-95778aca.system.entry.js} +2 -2
- package/lib/duet/{p-fd736af1.entry.js → p-97f74160.entry.js} +1 -1
- package/lib/duet/p-98ac1721.system.entry.js +4 -0
- package/lib/duet/{p-b0c801cc.system.entry.js → p-9b6cc90a.system.entry.js} +1 -1
- package/lib/duet/{p-56c629ed.entry.js → p-9bdec5df.entry.js} +1 -1
- package/lib/duet/p-9d4cd103.system.entry.js +4 -0
- package/lib/duet/p-9d5823eb.entry.js +4 -0
- package/lib/duet/{p-847bf63e.entry.js → p-9e60a58d.entry.js} +1 -1
- package/lib/duet/p-9ef799f8.js +4 -0
- package/lib/duet/p-9f850d18.system.entry.js +4 -0
- package/lib/duet/p-9f9e290a.system.entry.js +4 -0
- package/lib/duet/p-a168b3f5.system.js +4 -0
- package/lib/duet/p-a32dad7f.system.entry.js +4 -0
- package/lib/duet/p-a4d9c151.system.entry.js +4 -0
- package/lib/duet/p-a5d65d5f.entry.js +4 -0
- package/lib/duet/{p-ec9dbf7d.system.entry.js → p-a7768425.system.entry.js} +2 -2
- package/lib/duet/p-a7c62459.system.entry.js +4 -0
- package/lib/duet/{p-7fcbb429.system.entry.js → p-a8301a1a.system.entry.js} +1 -1
- package/lib/duet/{p-dd9e6250.system.entry.js → p-a9891098.system.entry.js} +1 -1
- package/lib/duet/p-aa1f6b55.entry.js +4 -0
- package/lib/duet/p-ac596f9f.entry.js +4 -0
- package/lib/duet/p-acd65ed7.entry.js +4 -0
- package/lib/duet/p-ad433963.system.entry.js +4 -0
- package/lib/duet/{p-87e7e6d8.entry.js → p-ae714885.entry.js} +1 -1
- package/lib/duet/p-aeaa9698.entry.js +4 -0
- package/lib/duet/{p-1dc415a6.system.entry.js → p-aface64d.system.entry.js} +1 -1
- package/lib/duet/p-afadf391.entry.js +4 -0
- package/lib/duet/p-b0be53ba.entry.js +4 -0
- package/lib/duet/p-b25d69bf.system.entry.js +4 -0
- package/lib/duet/p-b2b49d1a.entry.js +4 -0
- package/lib/duet/p-b3bff87d.entry.js +4 -0
- package/lib/duet/{p-6f74db7d.system.entry.js → p-b5e50220.system.entry.js} +2 -2
- package/lib/duet/{p-ec7dd416.system.entry.js → p-b70dd317.system.entry.js} +1 -1
- package/lib/duet/p-b8fc9725.system.entry.js +4 -0
- package/lib/duet/p-b9772bdf.entry.js +4 -0
- package/lib/duet/p-b9e27ff4.entry.js +4 -0
- package/lib/duet/{p-9ef3bc8d.system.entry.js → p-ba7fbd88.system.entry.js} +1 -1
- package/lib/duet/p-bd936407.js +4 -0
- package/lib/duet/{p-24046fe3.system.entry.js → p-bddc227d.system.entry.js} +1 -1
- package/lib/duet/{p-b3c24039.system.entry.js → p-bf5630d6.system.entry.js} +1 -1
- package/lib/duet/p-bfecf35c.entry.js +4 -0
- package/lib/duet/p-c1445714.system.js +1 -1
- package/lib/duet/p-c3de57c1.system.entry.js +4 -0
- package/lib/duet/{p-81e718f5.system.entry.js → p-c45a4823.system.entry.js} +1 -1
- package/lib/duet/p-c45c1cc8.entry.js +4 -0
- package/lib/duet/{p-29ef8ffc.system.entry.js → p-c5759522.system.entry.js} +1 -1
- package/lib/duet/p-c62ed778.entry.js +4 -0
- package/lib/duet/{p-81681caf.entry.js → p-cb4e6c86.entry.js} +1 -1
- package/lib/duet/p-cf83f662.entry.js +4 -0
- package/lib/duet/p-d0f3224e.entry.js +4 -0
- package/lib/duet/{p-bdd90cdd.system.entry.js → p-d52fa492.system.entry.js} +1 -1
- package/lib/duet/p-d6c95c73.system.entry.js +4 -0
- package/lib/duet/p-d920063d.entry.js +4 -0
- package/lib/duet/p-dde61943.system.js +4 -0
- package/lib/duet/p-e0db32fc.system.entry.js +4 -0
- package/lib/duet/p-e38064d5.entry.js +4 -0
- package/lib/duet/p-e4674cda.entry.js +4 -0
- package/lib/duet/p-e7d7928e.system.js +5 -0
- package/lib/duet/{p-8a9f7476.entry.js → p-e824a614.entry.js} +1 -1
- package/lib/duet/p-ec143606.entry.js +4 -0
- package/lib/duet/{p-aad5c506.system.entry.js → p-ee6f4bc1.system.entry.js} +2 -2
- package/lib/duet/p-ee8bcb1f.entry.js +4 -0
- package/lib/duet/{p-bc2af760.system.entry.js → p-ef9675f8.system.entry.js} +2 -2
- package/lib/duet/{p-ed7d1160.system.entry.js → p-ef9b2ced.system.entry.js} +1 -1
- package/lib/duet/p-f0eeebb5.entry.js +4 -0
- package/lib/duet/p-f1a726c9.entry.js +4 -0
- package/lib/duet/{p-b5bbe11d.system.entry.js → p-f2f1de65.system.entry.js} +2 -2
- package/lib/duet/{p-2936ccf3.system.entry.js → p-f6ea07d1.system.entry.js} +1 -1
- package/lib/duet/p-f6fc4754.system.entry.js +4 -0
- package/lib/duet/p-f9069050.system.entry.js +4 -0
- package/lib/duet/p-fbb2d1c4.system.entry.js +4 -0
- package/lib/duet/{p-47fa3bf9.entry.js → p-fc76bb60.entry.js} +1 -1
- package/lib/duet/p-fd1cbfc8.entry.js +4 -0
- package/lib/esm/{app-globals-45aa6d20.js → app-globals-21820dd0.js} +2 -0
- package/lib/esm/duet-action-button.entry.js +5 -4
- package/lib/esm/duet-alert.entry.js +10 -9
- package/lib/esm/duet-badge.entry.js +5 -4
- package/lib/esm/duet-banner.entry.js +6 -5
- package/lib/esm/duet-breadcrumb.entry.js +8 -7
- package/lib/esm/duet-breadcrumbs.entry.js +6 -5
- package/lib/esm/duet-button_2.entry.js +13 -11
- package/lib/esm/duet-callout.entry.js +6 -5
- package/lib/esm/duet-caption_4.entry.js +18 -14
- package/lib/esm/duet-card.entry.js +6 -5
- package/lib/esm/duet-checkbox.entry.js +3 -2
- package/lib/esm/duet-checkmark.entry.js +5 -4
- package/lib/esm/duet-chip.entry.js +4 -3
- package/lib/esm/duet-choice_2.entry.js +7 -5
- package/lib/esm/duet-collapsible.entry.js +6 -5
- package/lib/esm/duet-combobox.entry.js +5 -4
- package/lib/esm/duet-contact-card.entry.js +6 -5
- package/lib/esm/duet-cookie-consent.entry.js +4 -3
- package/lib/esm/duet-date-picker.entry.js +6 -5
- package/lib/esm/duet-divider_2.entry.js +7 -5
- package/lib/esm/duet-editable-table_3.entry.js +13 -10
- package/lib/esm/duet-empty-state.entry.js +5 -4
- package/lib/esm/duet-fieldset.entry.js +7 -6
- package/lib/esm/duet-file-chooser.entry.js +4 -3
- package/lib/esm/duet-footer.entry.js +9 -8
- package/lib/esm/duet-grid_2.entry.js +5 -3
- package/lib/esm/duet-header_2.entry.js +7 -5
- package/lib/esm/duet-hero.entry.js +10 -9
- package/lib/esm/duet-icon.entry.js +6 -5
- package/lib/esm/duet-input_2.entry.js +7 -5
- package/lib/esm/duet-layout.entry.js +8 -7
- package/lib/esm/duet-list_2.entry.js +8 -6
- package/lib/esm/duet-menu-bar-button.entry.js +5 -4
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +5 -4
- package/lib/esm/duet-menu-bar-dropdown.entry.js +7 -6
- package/lib/esm/duet-menu-bar-item.entry.js +5 -4
- package/lib/esm/duet-menu-bar-link.entry.js +5 -4
- package/lib/esm/duet-menu-bar.entry.js +5 -4
- package/lib/esm/duet-modal.entry.js +17 -14
- package/lib/esm/duet-multiselect.entry.js +11 -10
- package/lib/esm/duet-nav.entry.js +4 -3
- package/lib/esm/duet-notification_2.entry.js +10 -8
- package/lib/esm/duet-number-input.entry.js +5 -4
- package/lib/esm/duet-overlay.entry.js +4 -3
- package/lib/esm/duet-page-heading.entry.js +5 -4
- package/lib/esm/duet-pagination_2.entry.js +19 -17
- package/lib/esm/duet-popup-menu-item.entry.js +4 -3
- package/lib/esm/duet-popup-menu.entry.js +6 -5
- package/lib/esm/duet-progress.entry.js +4 -3
- package/lib/esm/duet-promo-card.entry.js +6 -5
- package/lib/esm/duet-radio_2.entry.js +6 -4
- package/lib/esm/duet-range-slider.entry.js +3 -2
- package/lib/esm/duet-scrollable_3.entry.js +44 -23
- package/lib/esm/duet-section-layout.entry.js +6 -5
- package/lib/esm/duet-select.entry.js +4 -3
- package/lib/esm/duet-shaped-image.entry.js +5 -4
- package/lib/esm/duet-show-more.entry.js +6 -5
- package/lib/esm/duet-slideout-lang.entry.js +5 -4
- package/lib/esm/duet-slideout-link.entry.js +5 -4
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +7 -6
- package/lib/esm/duet-slideout-panel.entry.js +12 -11
- package/lib/esm/duet-slideout.entry.js +10 -9
- package/lib/esm/duet-step_2.entry.js +6 -4
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +5 -4
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +7 -6
- package/lib/esm/duet-submenu-bar-item.entry.js +4 -3
- package/lib/esm/duet-submenu-bar-link.entry.js +4 -3
- package/lib/esm/duet-submenu-bar.entry.js +7 -6
- package/lib/esm/duet-textarea.entry.js +4 -3
- package/lib/esm/duet-toggle.entry.js +3 -2
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +5 -4
- package/lib/esm/duet-toolbar-dropdown.entry.js +7 -6
- package/lib/esm/duet-toolbar-item.entry.js +5 -4
- package/lib/esm/duet-toolbar-link.entry.js +5 -4
- package/lib/esm/duet-toolbar.entry.js +4 -3
- package/lib/esm/duet-tooltip-button_2.entry.js +10 -8
- package/lib/esm/duet-tooltip.entry.js +5 -4
- package/lib/esm/duet-tray.entry.js +6 -5
- package/lib/esm/duet-upload-aria-status.entry.js +2 -2
- package/lib/esm/duet-upload-item.entry.js +7 -6
- package/lib/esm/duet-visually-hidden.entry.js +4 -3
- package/lib/esm/duet.js +16 -16
- package/lib/esm/{errorcodes.utils-e681347c.js → errorcodes.utils-a4ae6efc.js} +1 -1
- package/lib/{dist-custom-elements/p-31ed51c3.js → esm/floating-ui.dom.esm-ebc91b33.js} +1 -1
- package/lib/esm/{focus-utils-f0e6853d.js → focus-utils-f583d4fb.js} +1 -1
- package/lib/esm/index-640026f0.js +1962 -0
- package/lib/esm/{language-utils-00ca4c55.js → language-utils-eda57343.js} +1 -0
- package/lib/esm/loader.js +5 -5
- package/lib/esm/{slot-utils-b50aaef5.js → slot-utils-00899492.js} +2 -0
- package/lib/esm/token-utils-1f843fb9.js +1 -1
- package/lib/esm-es5/app-globals-21820dd0.js +4 -0
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +2 -2
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +2 -2
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +2 -2
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +2 -2
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-file-chooser.entry.js +2 -2
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +2 -2
- package/lib/esm-es5/duet-icon.entry.js +2 -2
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +2 -2
- package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-item.entry.js +2 -2
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +2 -2
- package/lib/esm-es5/duet-multiselect.entry.js +2 -2
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +2 -2
- package/lib/esm-es5/duet-number-input.entry.js +2 -2
- package/lib/esm-es5/duet-overlay.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
- package/lib/esm-es5/duet-popup-menu-item.entry.js +2 -2
- package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +2 -2
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +2 -2
- package/lib/esm-es5/duet-slideout.entry.js +2 -2
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-item.entry.js +2 -2
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +2 -2
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +2 -2
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +2 -2
- package/lib/esm-es5/{errorcodes.utils-e681347c.js → errorcodes.utils-a4ae6efc.js} +1 -1
- package/lib/esm-es5/{floating-ui.dom.esm-01fcd83a.js → floating-ui.dom.esm-ebc91b33.js} +1 -1
- package/lib/esm-es5/focus-utils-f583d4fb.js +4 -0
- package/lib/esm-es5/index-640026f0.js +5 -0
- package/lib/esm-es5/language-utils-eda57343.js +4 -0
- package/lib/esm-es5/loader.js +2 -2
- package/lib/esm-es5/slot-utils-00899492.js +4 -0
- package/lib/esm-es5/token-utils-1f843fb9.js +1 -1
- package/lib/loader/cdn.js +1 -1
- package/lib/loader/index.cjs.js +1 -1
- package/lib/loader/index.d.ts +3 -0
- package/lib/loader/index.es2017.js +1 -1
- package/lib/loader/index.js +1 -1
- package/lib/types/components/duet-modal/duet-modal.d.ts +1 -0
- package/lib/types/components/duet-upload/mock.helpers.d.ts +1 -0
- package/lib/types/stencil-public-runtime.d.ts +3 -10
- package/lib/types/utils/axe-core-utils.d.ts +2 -1
- package/lib/types/utils/test-utils.d.ts +22 -10
- package/lib/types/utils/watch-options.d.ts +2 -2
- package/package.json +17 -16
- package/lib/cjs/index-c3716ea8.js +0 -2836
- package/lib/collection/components/duet-action-button/duet-action-button.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-alert/duet-alert.a11y.e2e.js +0 -20
- package/lib/collection/components/duet-alert/duet-alert.e2e.js +0 -53
- package/lib/collection/components/duet-badge/duet-badge.a11y.e2e.js +0 -20
- package/lib/collection/components/duet-badge/duet-badge.e2e.js +0 -28
- package/lib/collection/components/duet-banner/duet-banner.a11y.e2e.js +0 -34
- package/lib/collection/components/duet-banner/duet-banner.e2e.js +0 -23
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.a11y.e2e.js +0 -17
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.e2e.js +0 -18
- package/lib/collection/components/duet-button/duet-button.a11y.e2e.js +0 -48
- package/lib/collection/components/duet-button/duet-button.e2e.js +0 -212
- package/lib/collection/components/duet-callout/duet-callout.a11y.e2e.js +0 -17
- package/lib/collection/components/duet-callout/duet-callout.e2e.js +0 -21
- package/lib/collection/components/duet-caption/duet-caption.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-caption/duet-caption.e2e.js +0 -26
- package/lib/collection/components/duet-card/duet-card.a11y.e2e.js +0 -29
- package/lib/collection/components/duet-card/duet-card.e2e.js +0 -91
- package/lib/collection/components/duet-checkbox/duet-checkbox.a11y.e2e.js +0 -20
- package/lib/collection/components/duet-checkbox/duet-checkbox.e2e.js +0 -112
- package/lib/collection/components/duet-chip/duet-chip.a11y.e2e.js +0 -25
- package/lib/collection/components/duet-chip/duet-chip.e2e.js +0 -56
- package/lib/collection/components/duet-choice/duet-choice.a11y.e2e.js +0 -79
- package/lib/collection/components/duet-choice/duet-choice.e2e.js +0 -184
- package/lib/collection/components/duet-choice-group/duet-choice-group.a11y.e2e.js +0 -17
- package/lib/collection/components/duet-choice-group/duet-choice-group.e2e.js +0 -102
- package/lib/collection/components/duet-collapsible/duet-collapsible.a11y.e2e.js +0 -24
- package/lib/collection/components/duet-collapsible/duet-collapsible.e2e.js +0 -123
- package/lib/collection/components/duet-combobox/duet-combobox.a11y.e2e.js +0 -17
- package/lib/collection/components/duet-combobox/duet-combobox.e2e.js +0 -153
- package/lib/collection/components/duet-contact-card/duet-contact-card.a11y.e2e.js +0 -36
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.a11y.e2e.js +0 -16
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.e2e.js +0 -27
- package/lib/collection/components/duet-date-picker/date-utils.spec.js +0 -330
- package/lib/collection/components/duet-date-picker/duet-date-picker.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-date-picker/duet-date-picker.e2e.js +0 -693
- package/lib/collection/components/duet-divider/duet-divider.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-divider/duet-divider.e2e.js +0 -32
- package/lib/collection/components/duet-editable-table/duet-editable-table.a11y.e2e.js +0 -202
- package/lib/collection/components/duet-editable-table/duet-editable-table.e2e.js +0 -29
- package/lib/collection/components/duet-empty-state/duet-empty-state.a11y.e2e.js +0 -15
- package/lib/collection/components/duet-empty-state/duet-empty-state.e2e.js +0 -16
- package/lib/collection/components/duet-fieldset/duet-fieldset.a11y.e2e.js +0 -17
- package/lib/collection/components/duet-fieldset/duet-fieldset.e2e.js +0 -13
- package/lib/collection/components/duet-footer/duet-footer.a11y.e2e.js +0 -22
- package/lib/collection/components/duet-footer/duet-footer.e2e.js +0 -186
- package/lib/collection/components/duet-grid/duet-grid.a11y.e2e.js +0 -17
- package/lib/collection/components/duet-grid/duet-grid.e2e.js +0 -42
- package/lib/collection/components/duet-header/duet-header.a11y.e2e.js +0 -42
- package/lib/collection/components/duet-header/duet-header.e2e.js +0 -470
- package/lib/collection/components/duet-heading/duet-heading.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-heading/duet-heading.e2e.js +0 -27
- package/lib/collection/components/duet-hero/duet-hero.a11y.e2e.js +0 -70
- package/lib/collection/components/duet-hero/duet-hero.e2e.js +0 -172
- package/lib/collection/components/duet-icon/duet-icon.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-icon/duet-icon.e2e.js +0 -27
- package/lib/collection/components/duet-icon/icon-utils.spec.js +0 -84
- package/lib/collection/components/duet-input/duet-input.a11y.e2e.js +0 -33
- package/lib/collection/components/duet-input/duet-input.e2e.js +0 -201
- package/lib/collection/components/duet-label/duet-label.a11y.e2e.js +0 -14
- package/lib/collection/components/duet-label/duet-label.e2e.js +0 -32
- package/lib/collection/components/duet-layout/duet-layout.a11y.e2e.js +0 -18
- package/lib/collection/components/duet-layout/duet-layout.e2e.js +0 -32
- package/lib/collection/components/duet-link/duet-link.a11y.e2e.js +0 -39
- package/lib/collection/components/duet-link/duet-link.e2e.js +0 -53
- package/lib/collection/components/duet-list/duet-list.a11y.e2e.js +0 -30
- package/lib/collection/components/duet-list/duet-list.e2e.js +0 -105
- package/lib/collection/components/duet-logo/duet-logo.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-logo/duet-logo.e2e.js +0 -42
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.a11y.e2e.js +0 -63
- package/lib/collection/components/duet-modal/duet-modal.a11y.e2e.js +0 -49
- package/lib/collection/components/duet-modal/duet-modal.e2e.js +0 -113
- package/lib/collection/components/duet-multiselect/duet-multiselect.a11y.e2e.js +0 -22
- package/lib/collection/components/duet-multiselect/duet-multiselect.e2e.js +0 -157
- package/lib/collection/components/duet-notification/duet-notification.a11y.e2e.js +0 -20
- package/lib/collection/components/duet-notification/duet-notification.e2e.js +0 -12
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.a11y.e2e.js +0 -28
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.e2e.js +0 -177
- package/lib/collection/components/duet-number-input/duet-number-input-negative.e2e.js +0 -32
- package/lib/collection/components/duet-number-input/duet-number-input.a11y.e2e.js +0 -14
- package/lib/collection/components/duet-number-input/duet-number-input.e2e.js +0 -242
- package/lib/collection/components/duet-page-heading/duet-page-heading.a11y.e2e.js +0 -15
- package/lib/collection/components/duet-pagination/duet-pagination.a11y.e2e.js +0 -36
- package/lib/collection/components/duet-pagination/duet-pagination.e2e.js +0 -101
- package/lib/collection/components/duet-paragraph/duet-paragraph.a11y.e2e.js +0 -18
- package/lib/collection/components/duet-paragraph/duet-paragraph.e2e.js +0 -27
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.a11y.e2e.js +0 -27
- package/lib/collection/components/duet-progress/duet-progress.a11y.e2e.js +0 -17
- package/lib/collection/components/duet-progress/duet-progress.e2e.js +0 -12
- package/lib/collection/components/duet-promo-card/duet-promo-card.a11y.e2e.js +0 -43
- package/lib/collection/components/duet-promo-card/duet-promo-card.e2e.js +0 -23
- package/lib/collection/components/duet-radio/duet-radio.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-radio/duet-radio.e2e.js +0 -135
- package/lib/collection/components/duet-radio-group/duet-radio-group.a11y.e2e.js +0 -36
- package/lib/collection/components/duet-radio-group/duet-radio-group.e2e.js +0 -57
- package/lib/collection/components/duet-range-slider/duet-range-slider.a11y.e2e.js +0 -14
- package/lib/collection/components/duet-range-slider/duet-range-slider.e2e.js +0 -57
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.e2e.js +0 -52
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.spec.js +0 -23
- package/lib/collection/components/duet-scrollable/duet-scrollable.a11y.e2e.js +0 -17
- package/lib/collection/components/duet-scrollable/duet-scrollable.e2e.js +0 -12
- package/lib/collection/components/duet-section-layout/duet-section-layout.a11y.e2e.js +0 -18
- package/lib/collection/components/duet-section-layout/duet-section-layout.e2e.js +0 -22
- package/lib/collection/components/duet-select/duet-select.a11y.e2e.js +0 -45
- package/lib/collection/components/duet-select/duet-select.e2e.js +0 -211
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.a11y.e2e.js +0 -20
- package/lib/collection/components/duet-show-more/duet-show-more.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-slideout/duet-slideout.a11y.e2e.js +0 -47
- package/lib/collection/components/duet-spacer/duet-spacer.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-spacer/duet-spacer.e2e.js +0 -27
- package/lib/collection/components/duet-spinner/duet-spinner.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-spinner/duet-spinner.e2e.js +0 -30
- package/lib/collection/components/duet-step/duet-step.e2e.js +0 -94
- package/lib/collection/components/duet-stepper/duet-stepper.a11y.e2e.js +0 -26
- package/lib/collection/components/duet-stepper/duet-stepper.e2e.js +0 -84
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.a11y.e2e.js +0 -21
- package/lib/collection/components/duet-tab/duet-tab.e2e.js +0 -16
- package/lib/collection/components/duet-tab-group/duet-tab-group.a11y.e2e.js +0 -16
- package/lib/collection/components/duet-tab-group/duet-tab-group.e2e.js +0 -108
- package/lib/collection/components/duet-table/duet-table.a11y.e2e.js +0 -35
- package/lib/collection/components/duet-table/duet-table.e2e.js +0 -95
- package/lib/collection/components/duet-textarea/duet-textarea.a11y.e2e.js +0 -28
- package/lib/collection/components/duet-textarea/duet-textarea.e2e.js +0 -199
- package/lib/collection/components/duet-toggle/duet-toggle.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-toggle/duet-toggle.e2e.js +0 -73
- package/lib/collection/components/duet-toolbar/duet-toolbar.a11y.e2e.js +0 -82
- package/lib/collection/components/duet-tooltip/duet-tooltip.a11y.e2e.js +0 -34
- package/lib/collection/components/duet-tooltip/duet-tooltip.e2e.js +0 -104
- package/lib/collection/components/duet-tray/duet-tray.a11y.e2e.js +0 -22
- package/lib/collection/components/duet-tray/duet-tray.e2e.js +0 -103
- package/lib/collection/components/duet-upload/duet-upload.e2e.js +0 -48
- package/lib/collection/components/duet-upload/upload-validators.spec.js +0 -41
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.a11y.e2e.js +0 -15
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.e2e.js +0 -12
- package/lib/collection/utils/create-id.spec.js +0 -12
- package/lib/collection/utils/js-utils.spec.js +0 -22
- package/lib/collection/utils/language-utils.spec.js +0 -159
- package/lib/collection/utils/math.utils.spec.js +0 -140
- package/lib/collection/utils/string-utils.spec.js +0 -39
- package/lib/collection/utils/template-utils.spec.js +0 -39
- package/lib/collection/utils/token-utils.spec.js +0 -178
- package/lib/dist-custom-elements/p-33937fd7.js +0 -183
- package/lib/dist-custom-elements/p-d160ca6a.js +0 -2333
- package/lib/duet/p-021968b7.system.entry.js +0 -4
- package/lib/duet/p-039f1ee1.system.entry.js +0 -4
- package/lib/duet/p-06e608ae.js +0 -4
- package/lib/duet/p-09fdd234.entry.js +0 -4
- package/lib/duet/p-0b515d0c.system.entry.js +0 -4
- package/lib/duet/p-0b7e7cdd.entry.js +0 -4
- package/lib/duet/p-12e97d2c.entry.js +0 -4
- package/lib/duet/p-17abbe45.system.entry.js +0 -4
- package/lib/duet/p-1a815d69.entry.js +0 -4
- package/lib/duet/p-1c90a161.system.entry.js +0 -4
- package/lib/duet/p-1f0c6aa9.entry.js +0 -4
- package/lib/duet/p-224f6c46.system.js +0 -4
- package/lib/duet/p-252c61f9.entry.js +0 -4
- package/lib/duet/p-259a297a.system.js +0 -4
- package/lib/duet/p-2757e1be.entry.js +0 -4
- package/lib/duet/p-286cbd79.system.entry.js +0 -4
- package/lib/duet/p-2a3b428e.entry.js +0 -4
- package/lib/duet/p-2e36d5bf.js +0 -4
- package/lib/duet/p-2e615f90.entry.js +0 -4
- package/lib/duet/p-2f1b5c7d.js +0 -5
- package/lib/duet/p-354e8617.entry.js +0 -4
- package/lib/duet/p-36340a70.entry.js +0 -4
- package/lib/duet/p-36a4e269.system.entry.js +0 -4
- package/lib/duet/p-37aab3fc.entry.js +0 -4
- package/lib/duet/p-3aca8b0e.entry.js +0 -4
- package/lib/duet/p-3eb18ea9.system.entry.js +0 -4
- package/lib/duet/p-45ec9edc.entry.js +0 -4
- package/lib/duet/p-47ba309d.system.entry.js +0 -4
- package/lib/duet/p-48de6532.entry.js +0 -4
- package/lib/duet/p-4918a89e.entry.js +0 -4
- package/lib/duet/p-4bbe62cc.system.entry.js +0 -4
- package/lib/duet/p-4c41c996.system.entry.js +0 -4
- package/lib/duet/p-4db9c3d9.entry.js +0 -4
- package/lib/duet/p-52899472.entry.js +0 -4
- package/lib/duet/p-5318851f.system.entry.js +0 -4
- package/lib/duet/p-57346eff.system.entry.js +0 -4
- package/lib/duet/p-5747dc4a.entry.js +0 -4
- package/lib/duet/p-5852bc10.system.entry.js +0 -4
- package/lib/duet/p-59923821.system.entry.js +0 -4
- package/lib/duet/p-5c1c9204.system.entry.js +0 -4
- package/lib/duet/p-5f07590d.entry.js +0 -4
- package/lib/duet/p-61a1045e.entry.js +0 -4
- package/lib/duet/p-647e7930.entry.js +0 -4
- package/lib/duet/p-68ff07cc.entry.js +0 -4
- package/lib/duet/p-694dc2b2.entry.js +0 -4
- package/lib/duet/p-69b8ad83.system.entry.js +0 -4
- package/lib/duet/p-6ae750db.system.entry.js +0 -4
- package/lib/duet/p-6d7602d0.system.entry.js +0 -4
- package/lib/duet/p-6d839458.js +0 -4
- package/lib/duet/p-6dd2833f.entry.js +0 -4
- package/lib/duet/p-6e788570.entry.js +0 -4
- package/lib/duet/p-7187fcdb.entry.js +0 -4
- package/lib/duet/p-72a9c332.entry.js +0 -4
- package/lib/duet/p-7bba0a5f.entry.js +0 -4
- package/lib/duet/p-8030ac7d.entry.js +0 -4
- package/lib/duet/p-808390ff.entry.js +0 -4
- package/lib/duet/p-80c37175.system.entry.js +0 -4
- package/lib/duet/p-81488a05.system.js +0 -4
- package/lib/duet/p-820439f1.system.entry.js +0 -4
- package/lib/duet/p-848fd377.system.entry.js +0 -4
- package/lib/duet/p-86bb5185.entry.js +0 -4
- package/lib/duet/p-8868aefd.system.entry.js +0 -4
- package/lib/duet/p-8aa74f9c.system.entry.js +0 -4
- package/lib/duet/p-8c610e96.system.entry.js +0 -4
- package/lib/duet/p-916d8f4e.system.entry.js +0 -4
- package/lib/duet/p-92dd9326.entry.js +0 -4
- package/lib/duet/p-93abcf6f.system.entry.js +0 -4
- package/lib/duet/p-95ba5b53.system.entry.js +0 -4
- package/lib/duet/p-95bba705.entry.js +0 -4
- package/lib/duet/p-9c102070.system.entry.js +0 -4
- package/lib/duet/p-9c5e5c04.entry.js +0 -4
- package/lib/duet/p-9cbcb120.entry.js +0 -4
- package/lib/duet/p-a072af11.entry.js +0 -4
- package/lib/duet/p-a0be10bb.entry.js +0 -4
- package/lib/duet/p-a2ebc336.entry.js +0 -4
- package/lib/duet/p-a3def4ae.entry.js +0 -4
- package/lib/duet/p-a42bd424.system.entry.js +0 -4
- package/lib/duet/p-a52cfc5a.entry.js +0 -4
- package/lib/duet/p-a532d984.entry.js +0 -4
- package/lib/duet/p-a58f39e3.entry.js +0 -4
- package/lib/duet/p-a74d3389.system.entry.js +0 -4
- package/lib/duet/p-a787f19b.system.entry.js +0 -4
- package/lib/duet/p-a7b5f7e2.system.entry.js +0 -4
- package/lib/duet/p-aab7c415.system.js +0 -5
- package/lib/duet/p-ac32b610.entry.js +0 -4
- package/lib/duet/p-adcab9d7.system.entry.js +0 -4
- package/lib/duet/p-ae21ad57.system.js +0 -4
- package/lib/duet/p-b3bb7acb.entry.js +0 -4
- package/lib/duet/p-b86e538f.system.entry.js +0 -4
- package/lib/duet/p-bbe8cb06.system.entry.js +0 -4
- package/lib/duet/p-bbf58838.entry.js +0 -4
- package/lib/duet/p-bda99d9b.entry.js +0 -4
- package/lib/duet/p-be1dc5c4.entry.js +0 -4
- package/lib/duet/p-c1cc3eeb.entry.js +0 -4
- package/lib/duet/p-c75f879a.entry.js +0 -4
- package/lib/duet/p-c7626b56.entry.js +0 -4
- package/lib/duet/p-c7d7a477.system.entry.js +0 -4
- package/lib/duet/p-c7e75e4b.entry.js +0 -4
- package/lib/duet/p-d3964acf.entry.js +0 -4
- package/lib/duet/p-d43d061f.entry.js +0 -4
- package/lib/duet/p-d4c16da7.system.entry.js +0 -4
- package/lib/duet/p-d5eff7a7.system.js +0 -4
- package/lib/duet/p-d778d2ac.entry.js +0 -4
- package/lib/duet/p-dade1b81.entry.js +0 -4
- package/lib/duet/p-de217be7.entry.js +0 -4
- package/lib/duet/p-dfdc8492.system.entry.js +0 -4
- package/lib/duet/p-e11847f2.entry.js +0 -4
- package/lib/duet/p-e2760c6f.system.entry.js +0 -4
- package/lib/duet/p-e5f76223.entry.js +0 -4
- package/lib/duet/p-e81fdc04.entry.js +0 -4
- package/lib/duet/p-ec29ee80.system.entry.js +0 -4
- package/lib/duet/p-f04ed9cd.entry.js +0 -4
- package/lib/duet/p-f2da4d8f.entry.js +0 -4
- package/lib/duet/p-f6d62e5a.system.entry.js +0 -4
- package/lib/duet/p-ff45b962.entry.js +0 -4
- package/lib/duet/p-ff7efd44.entry.js +0 -4
- package/lib/esm/index-0f5e92a8.js +0 -2802
- package/lib/esm-es5/app-globals-45aa6d20.js +0 -4
- package/lib/esm-es5/focus-utils-f0e6853d.js +0 -4
- package/lib/esm-es5/index-0f5e92a8.js +0 -5
- package/lib/esm-es5/language-utils-00ca4c55.js +0 -4
- package/lib/esm-es5/slot-utils-b50aaef5.js +0 -4
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-640026f0.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-724c0f7e.js';
|
|
6
6
|
import { c as createID } from './create-id-149a1b6d.js';
|
|
7
7
|
import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './keyboard-utils-439bcc8b.js';
|
|
8
8
|
|
|
9
9
|
const duetChipCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.input){margin-top:6px !important;margin-right:0 !important;margin-bottom:6px !important;margin-left:4px !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:1px;hyphens:none;line-height:1.1;color:rgb(0, 41, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(207, 210, 212);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(207, 207, 209)}.duet-chip-container.duet-theme-turva:hover{border-color:rgb(198, 12, 48)}.duet-chip-container:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-disabled{color:rgb(101, 119, 135) !important;cursor:default;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-chip-container.duet-chip-disabled.duet-theme-turva{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-disabled:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-disabled button,.duet-chip-container.duet-chip-disabled label{cursor:default}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:8px 14px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:600;line-height:1rem;color:rgb(0, 41, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:10px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container.duet-chip-has-icon button,.duet-chip-container.duet-chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:8px}.duet-chip-container duet-icon:not(.check-mark){width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked,.duet-chip-container.duet-chip-radio-checked{padding:0 !important;background:rgb(230, 242, 248);border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(205, 229, 241)}.duet-chip-container.duet-chip-filter-checked.chip-has-icon button,.duet-chip-container.duet-chip-filter-checked.chip-has-icon label,.duet-chip-container.duet-chip-radio-checked.chip-has-icon button,.duet-chip-container.duet-chip-radio-checked.chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container{padding-right:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark),.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon:not(.check-mark){width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon.check-mark{width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(228, 228, 230)}.duet-chip-container .duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container .duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(243, 249, 252);border-color:rgb(243, 249, 252)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input{display:flex;align-items:center;padding-right:0 !important}.duet-chip-container.duet-chip-input .duet-chip-input-button{flex-grow:1}.duet-chip-container.duet-chip-input .duet-chip-remove-button{width:26px;padding:8px 16px 8px 0;margin:-8px 0}.duet-chip-container.large button,.duet-chip-container.large label{padding:15px 22px}:host(.user-is-tabbing) .duet-chip-focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-chip-container input,*::slotted([slot=input]){position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;cursor:pointer;opacity:0}";
|
|
10
|
+
const DuetChipStyle0 = duetChipCss;
|
|
10
11
|
|
|
11
12
|
const DuetChip = class {
|
|
12
13
|
constructor(hostRef) {
|
|
@@ -261,13 +262,13 @@ const DuetChip = class {
|
|
|
261
262
|
onBlur: this.onBlur,
|
|
262
263
|
ref: el => (this.focusableElement = el),
|
|
263
264
|
};
|
|
264
|
-
return (h(Host, { class: { [this.variation]: true } }, this.variation === "button" && (h("span", { class: classes }, h("button", Object.assign({ id: identifier, "aria-label": this.accessibleLabel, "aria-disabled": this.disabled ? "true" : undefined, name: this.name, value: this.value, onClick: this.disabled ? evt => evt.stopPropagation() : undefined }, focusHandlers), h("span", { class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), h("slot",
|
|
265
|
+
return (h(Host, { key: '63d116523c6f8fd4c61d150adac9759f2e0e29a1', class: { [this.variation]: true } }, this.variation === "button" && (h("span", { key: 'a3e43367f9e537aeaf1b257684888c067075e3e8', class: classes }, h("button", Object.assign({ key: '7a762c378f1d718523cb35bbf50ebaf60c59d062', id: identifier, "aria-label": this.accessibleLabel, "aria-disabled": this.disabled ? "true" : undefined, name: this.name, value: this.value, onClick: this.disabled ? evt => evt.stopPropagation() : undefined }, focusHandlers), h("span", { key: '8f1a0d6e8f6a980f3da318918f5e21235140ebfb', class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { key: '2336e0011ee6931b63934af2e4982c06d9a0d456', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), h("slot", { key: '7bf8172d3f1310d8cdf19d260eb2b0646e1dabcd' })))), this.variation === "input" && (h("span", { key: 'b5959dbf57ef68ccac4cad2368d485137303a5b6', class: classes }, h("button", Object.assign({ key: '6395bcf3de40496dae48c1e6f184c6a1ce969e5d', id: identifier, class: "duet-chip-input-button", value: this.value, "aria-label": this.accessibleLabel }, focusHandlers), h("span", { key: '47115e51b88864aba6ea47307d071f7cda181550', class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { key: '50c466515758a2f625435f2c35a3714d8c33f174', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), h("slot", { key: '3dd5e1c1621582f7c7058bbc77d31748f6fab688' })), h("button", { key: 'e252ac9a1e9a710972a3e7fd6839ac6cee9041d0', class: "duet-chip-remove-button", onClick: this.onRemoveClick }, h("duet-icon", { key: '9b4adf2cec01d524e9dc0196f972dc557d10d8a8', name: "activity-close", size: "xx-small", margin: "none", color: "currentColor" })))), this.variation === "filter" && (h("span", { key: '3c6c3c4f4d4402a7400e03b7d74fb95d352967b6', class: classes }, h("input", Object.assign({ key: 'bb101690fb37507a4405df9509aa7b469e48c255', "aria-haspopup": this.getAccessiblePopup(), "aria-controls": (_a = this.popupElement) === null || _a === void 0 ? void 0 : _a.id, "aria-expanded": this.getAccessibleExpanded(), "aria-disabled": this.disabled ? "true" : undefined, id: identifier, type: "checkbox", name: this.name, value: this.value, checked: this.checked, onClick: this.onFilterClick, onChange: this.onFilterChange }, focusHandlers)), h("label", { key: 'ecd0105df1f88ff1d5ee22c74fd040e2ee19fd3c', htmlFor: identifier }, this.icon && (h("span", { key: 'cefe4394d500de2353bd7ae42b93c132c32a58de', class: "duet-chip-icon-container" }, h("duet-icon", { key: '57d6081fed000289fe066dc6ec4db761554557e2', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), h("duet-icon", { key: '5c7b9acbf6fb5de394186734e636c93fcf175a14', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), h("slot", { key: '770c2ff769e2fb063607d943735be580cc323d06' }), this.popupElement && (h("span", { key: '9e7095323427853f41854f6e0f1d5901c7f9207d', class: "duet-chip-popup-disclosure" }, h("duet-icon", { key: '72031bdb57fa12468b8f318d6380f845ff272248', name: "action-arrow-down-small", size: "xxx-small", margin: "none", color: "currentColor" })))))), this.variation === "radio" && (h("span", { key: 'd1b2ac7c1fe1415094d639f57b3cd232a0355bc4', class: classes }, h("slot", { key: '4fd7346e9e40355f863a53aa95e97bbd05b94ec1', name: "input" }), h("label", { key: 'a6f74dc9687dc5abba3d2d3c4bb4cbbab8e72d6e', htmlFor: identifier }, this.icon && (h("span", { key: 'adf688f4c9a7a153c52193a8effd643aeaf1008a', class: "duet-chip-icon-container" }, h("duet-icon", { key: '7aca800ab15bcb1d1d7b86cd6276fbe37514e93d', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), h("duet-icon", { key: '84000545953f8f7dfdf214a5dbdee3b029cd42bc', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), h("slot", { key: '9364faebdb2a14195e36d4645ae81058e2c3a04c' }))))));
|
|
265
266
|
}
|
|
266
267
|
get element() { return getElement(this); }
|
|
267
268
|
static get watchers() { return {
|
|
268
269
|
"checked": ["clearOtherRadioButtons"]
|
|
269
270
|
}; }
|
|
270
271
|
};
|
|
271
|
-
DuetChip.style =
|
|
272
|
+
DuetChip.style = DuetChipStyle0;
|
|
272
273
|
|
|
273
274
|
export { DuetChip as duet_chip };
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-640026f0.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-724c0f7e.js';
|
|
6
6
|
import { D as DuetStringsExternalDefaults } from './common-strings-af765cad.js';
|
|
7
7
|
import { c as createID } from './create-id-149a1b6d.js';
|
|
8
8
|
import { i as isKeyboardClick, h as isQuestionKey, s as subscribeTabbingChange, u as unsubscribeTabbingChange, f as isEscapeKey } from './keyboard-utils-439bcc8b.js';
|
|
9
|
-
import { g as getLocaleString, a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-
|
|
10
|
-
import { h as hasSlot, c as checkNamedSlotElement } from './slot-utils-
|
|
9
|
+
import { g as getLocaleString, a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-eda57343.js';
|
|
10
|
+
import { h as hasSlot, c as checkNamedSlotElement } from './slot-utils-00899492.js';
|
|
11
11
|
import './string-utils-ca039233.js';
|
|
12
12
|
|
|
13
13
|
var messagingInfo={"title":"messaging-info","tags":"messaging info information circle","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z\"/><circle cx=\"11.625\" cy=\"7.125\" r=\"1.125\"/><path d=\"M12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12zm0-22.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z\"/></svg>"};
|
|
14
14
|
|
|
15
15
|
const duetChoiceCss = "*.sc-duet-choice,*.sc-duet-choice::after,*.sc-duet-choice::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-choice-h:last-child,.sc-duet-choice-h:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){.sc-duet-choice-h{width:100%}}.duet-expand.sc-duet-choice-h{width:100% !important}.duet-m-0.sc-duet-choice-h{margin:0 !important}.duet-fixed.sc-duet-choice-h{width:auto !important}.vertical.sc-duet-choice-h{margin-right:0 !important}@media (min-width: 48em){.horizontal.sc-duet-choice-h{margin-bottom:0 !important}}@media (min-width: 48em){.horizontal-responsive.sc-duet-choice-h{margin-bottom:0 !important;margin-right:16px !important}.horizontal-responsive.sc-duet-choice-h:last-child,.horizontal-responsive.sc-duet-choice-h:last-of-type{margin-right:0 !important}}.sc-duet-choice-h:last-child:not(:only-child){margin-right:0 !important}.duet-choice-card.sc-duet-choice{position:relative;display:block;width:100%;min-width:8rem;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(0, 41, 77) !important;text-align:left;background:rgb(255, 255, 255);border-width:1px}.duet-choice-card.duet-p-0.sc-duet-choice{padding:0 !important}.duet-choice-card.duet-m-0.sc-duet-choice{margin:0 !important}.duet-theme-turva.sc-duet-choice .duet-choice-card.sc-duet-choice{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58) !important}.duet-choice-card-flextainer.sc-duet-choice{display:flex}.duet-choice-label.sc-duet-choice{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:12px;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:calc(1rem + 1px);font-size:1rem;font-weight:600;text-decoration:none;word-break:break-word;cursor:pointer;border:1px solid rgb(225, 227, 230);border-radius:8px;transition:background-color 150ms ease, border-color 300ms ease}.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-icon.sc-duet-choice,.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-text.sc-duet-choice{align-self:flex-start;margin-top:0.25rem}.duet-choice-label.sc-duet-choice>div.sc-duet-choice:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-top-right-radius:0;border-bottom-right-radius:0}.info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-theme-turva.sc-duet-choice .info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-choice-label.sc-duet-choice:active{opacity:0.75;transition:none !important}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding:1rem;background:rgb(243, 249, 252);border-color:rgb(0, 119, 179) !important;border-width:2px}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(23, 28, 58) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(198, 12, 48)}.checked.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice,.collapsible-force-expanded.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding-bottom:calc(1rem + 2px) !important;border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(144, 149, 153)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(23, 28, 58)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(116, 116, 117)}.duet-theme-turva .info .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(116, 116, 117)}.sc-duet-choice-h:not(.no-hover):not(.disabled):not([checked]):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){padding:1rem}input.sc-duet-choice:focus{outline:0}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(101, 119, 135) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(225, 227, 230) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(101, 119, 135)}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(116, 116, 117)}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(101, 119, 135) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:hover,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:active,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:focus{box-shadow:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247) !important;border-color:rgb(228, 228, 230) !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(116, 116, 117) !important}.checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{border-color:rgb(144, 149, 153) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{border-color:rgb(116, 116, 117) !important}.duet-checkmark-container.sc-duet-choice{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;transition:border 300ms ease}.duet-theme-turva.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(116, 116, 117)}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio.sc-duet-choice{border-radius:50%}[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 210, 212) !important;border-color:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(207, 207, 209) !important}.checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 207, 209) !important;border-color:rgb(207, 207, 209) !important}.duet-checkmark.sc-duet-choice{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}.duet-choice-card-icon.sc-duet-choice{position:relative;color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(173, 11, 43)}.duet-choice-card-icon.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-section-hidden.sc-duet-choice{display:none}.duet-choice-card-info.duet-choice-card-collapsed.sc-duet-choice,.duet-choice-card-collapsed.duet-choice-card-collapsible.sc-duet-choice{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:20px !important;position:relative;width:100%;font-weight:400;color:rgb(0, 41, 77);border:1px solid rgb(225, 227, 230);border-top:0;border-radius:0 0 8px 8px;transition:border-color 300ms ease}@media (min-width: 36em){.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:28px !important}}.duet-theme-turva.sc-duet-choice .duet-choice-card-info.sc-duet-choice,.duet-theme-turva.sc-duet-choice .duet-choice-card-collapsible.sc-duet-choice{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked.sc-duet-choice>.duet-choice-card-info.sc-duet-choice,.checked.sc-duet-choice>.duet-choice-card-collapsible.sc-duet-choice{display:block}.duet-choice-card-info-expanded.sc-duet-choice,.duet-choice-card-collapsible-expanded.sc-duet-choice{display:block}.duet-choice-card-collapsible.sc-duet-choice{background:rgb(255, 255, 255);border:1px solid rgb(225, 227, 230);border-top:0}.duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{background:rgb(255, 255, 255);border-color:rgb(228, 228, 230)}.duet-choice-card-collapsible.checked.sc-duet-choice{padding:19px !important;padding-top:20px !important;border-color:rgb(0, 119, 179);border-width:2px}@media (min-width: 36em){.duet-choice-card-collapsible.checked.sc-duet-choice{padding:27px !important;padding-top:28px !important}}.duet-choice-card-collapsible.checked.duet-theme-turva.sc-duet-choice{border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled.sc-duet-choice{background:rgb(245, 248, 250);border-color:rgb(225, 227, 230)}.duet-choice-card-collapsible-disabled.checked.sc-duet-choice{border-color:rgb(225, 227, 230)}.duet-choice-card-collapsible-disabled.duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.duet-choice-card-collapsible-disabled.duet-theme-turva.checked.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-choice-card-info.sc-duet-choice{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container.sc-duet-choice-s>*,.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container .sc-duet-choice-s>*{display:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-container.sc-duet-choice:focus{display:block;outline:none;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(116, 116, 117)}[collapsible-force-expanded].sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){padding:19px !important;padding-top:20px !important}@media (min-width: 36em){[collapsible-force-expanded].sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){padding:27px !important;padding-top:28px !important}}.duet-choice-info-toggle.sc-duet-choice{display:flex;flex-shrink:0;align-items:flex-start;justify-content:center;width:57.6px;padding-top:1.25rem;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(225, 227, 230);border-left:0 none;border-top-right-radius:8px;border-bottom-right-radius:8px;-webkit-appearance:none;appearance:none}.duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 245, 247)}.duet-choice-info-toggle[disabled].sc-duet-choice{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(225, 227, 230) !important}.duet-choice-info-toggle[disabled].sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(144, 149, 153) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247) !important;border-color:rgb(228, 228, 230) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(116, 116, 117) !important}.duet-choice-info-toggle.sc-duet-choice:focus{outline:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.checked.sc-duet-choice+.duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(198, 12, 48)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(144, 149, 153)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(116, 116, 117)}.duet-choice-input.sc-duet-choice{position:absolute !important;width:100%;height:100%;opacity:0}";
|
|
16
|
+
const DuetChoiceStyle0 = duetChoiceCss;
|
|
16
17
|
|
|
17
18
|
const DuetChoice = class {
|
|
18
19
|
constructor(hostRef) {
|
|
@@ -289,9 +290,10 @@ const DuetChoice = class {
|
|
|
289
290
|
}
|
|
290
291
|
get element() { return getElement(this); }
|
|
291
292
|
};
|
|
292
|
-
DuetChoice.style =
|
|
293
|
+
DuetChoice.style = DuetChoiceStyle0;
|
|
293
294
|
|
|
294
295
|
const duetChoiceGroupCss = "*.sc-duet-choice-group,*.sc-duet-choice-group::after,*.sc-duet-choice-group::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-group-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:block;margin-bottom:-12px}.horizontal.sc-duet-choice-group-h .duet-choice-group.duet-no-stacking.sc-duet-choice-group{display:flex}@media (min-width: 48em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{margin-bottom:0}}@media (max-width: 35.9375em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:flex}}.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}@media (max-width: 22.5em){.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}}.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 36em){.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 48em){.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 62em){.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 64.0625em){.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.duet-choice-group.sc-duet-choice-group{position:relative;width:100%;margin-bottom:-12px}";
|
|
296
|
+
const DuetChoiceGroupStyle0 = duetChoiceGroupCss;
|
|
295
297
|
|
|
296
298
|
const DuetChoiceGroup = class {
|
|
297
299
|
constructor(hostRef) {
|
|
@@ -424,6 +426,6 @@ const DuetChoiceGroup = class {
|
|
|
424
426
|
"responsive": ["updateChoices"]
|
|
425
427
|
}; }
|
|
426
428
|
};
|
|
427
|
-
DuetChoiceGroup.style =
|
|
429
|
+
DuetChoiceGroup.style = DuetChoiceGroupStyle0;
|
|
428
430
|
|
|
429
431
|
export { DuetChoice as duet_choice, DuetChoiceGroup as duet_choice_group };
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-640026f0.js';
|
|
5
5
|
import { a as actionArrowDownSmall } from './action-arrow-down-small-82273dc8.js';
|
|
6
6
|
import { f as font_size_medium, t as tokens } from './tokens-a9d9d4dd.js';
|
|
7
7
|
import { i as inheritGlobalTheme } from './themeable-component-724c0f7e.js';
|
|
8
8
|
import { c as createID } from './create-id-149a1b6d.js';
|
|
9
9
|
import { i as isKeyboardClick, s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './keyboard-utils-439bcc8b.js';
|
|
10
|
-
import { h as hasSlot } from './slot-utils-
|
|
10
|
+
import { h as hasSlot } from './slot-utils-00899492.js';
|
|
11
11
|
import { s as sanitizeString } from './string-utils-ca039233.js';
|
|
12
12
|
|
|
13
13
|
const duetCollapsibleCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=after-heading]){display:inline-block}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77)}:host(.duet-theme-turva){font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}.duet-collapsible-content{display:none;padding-left:18px;margin-top:8px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(0, 41, 77)}@media (max-width: 35.9375em){.duet-collapsible-content{font-size:0.875rem}}.duet-collapsible-content.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}:host([open])>.duet-collapsible-content{display:block}.duet-collapsible-heading{-webkit-user-select:none;user-select:none;display:flex;align-items:center;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77);text-align:left;cursor:pointer;border-radius:4px}.duet-collapsible-heading.full-width{width:100%}.duet-collapsible-heading.duet-collapsible-heading-centered{margin:auto}.duet-collapsible-heading.duet-collapsible-normal-weight{font-weight:400}.duet-collapsible-heading.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-collapsible-heading .duet-collapsible-heading-content{min-width:0}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div{margin-left:16px}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div.float-right{margin-left:auto}.duet-collapsible-heading:focus{outline:0}:host(.user-is-tabbing) .duet-collapsible-heading:focus{border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-collapsible-heading.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-collapsible-heading-icon{margin-right:8px !important;display:flex;align-items:center;justify-content:center;color:rgb(0, 41, 77);transition:transform 300ms ease}.duet-collapsible-heading-icon:last-child,.duet-collapsible-heading-icon:last-of-type{margin-right:0 !important}[aria-expanded=true] .duet-collapsible-heading-icon{transform:rotate(180deg)}";
|
|
14
|
+
const DuetCollapsibleStyle0 = duetCollapsibleCss;
|
|
14
15
|
|
|
15
16
|
const DuetCollapsible = class {
|
|
16
17
|
constructor(hostRef) {
|
|
@@ -103,17 +104,17 @@ const DuetCollapsible = class {
|
|
|
103
104
|
*/
|
|
104
105
|
render() {
|
|
105
106
|
const HeadingTagName = this.headingLevel ? sanitizeString(this.headingLevel) : "div";
|
|
106
|
-
return (h(Host, { class: { "duet-m-0": this.margin === "none" } }, h(HeadingTagName,
|
|
107
|
+
return (h(Host, { key: 'aafe219a93ff8b806e05ecf9c0203f7afd6929e1', class: { "duet-m-0": this.margin === "none" } }, h(HeadingTagName, { key: 'c6f7409213132914e3ec49ba138a10aee197fb03' }, h("button", { key: '988a8b779e70e27852ac15b271ee8ad6eeb53f52', class: {
|
|
107
108
|
"duet-collapsible-heading": true,
|
|
108
109
|
"duet-collapsible-heading-centered": this.centerHeading,
|
|
109
110
|
"duet-theme-turva": this.theme === "turva",
|
|
110
111
|
"duet-collapsible-normal-weight": this.headingWeight === "normal",
|
|
111
112
|
"has-after-heading": this.hasAfterHeading,
|
|
112
113
|
"full-width": this.headingFullWidth,
|
|
113
|
-
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.accessibleLabel, "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("div", { class: "duet-collapsible-heading-icon" }, h("duet-icon", { margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary", size: this.getEquivalentIconSize(), icon: actionArrowDownSmall.svg })), h("div", { class: "duet-collapsible-heading-content", part: "duet-collapsible-heading-content" }, this.heading), this.hasAfterHeading && (h("div", { part: "duet-collapsible-after-heading" }, h("slot", { name: "after-heading" }))))), h("div", { id: this.id, class: { "duet-collapsible-content": true, "duet-theme-turva": this.theme === "turva" }, part: "duet-collapsible-content" }, h("slot",
|
|
114
|
+
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.accessibleLabel, "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("div", { key: '7ad9554421eb7d8777b207721224268ba575b832', class: "duet-collapsible-heading-icon" }, h("duet-icon", { key: '057dd8ded09e313bc868f3f349d80b37d565f1da', margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary", size: this.getEquivalentIconSize(), icon: actionArrowDownSmall.svg })), h("div", { key: '4a929efd3b1cd2b1725e1d2dc3a68b3656ad32f3', class: "duet-collapsible-heading-content", part: "duet-collapsible-heading-content" }, this.heading), this.hasAfterHeading && (h("div", { key: 'a8a3051f9f9fa0e01619a2c8cf82dde1e117aa3e', part: "duet-collapsible-after-heading" }, h("slot", { key: '5eb5fbcdacf0edcb52f3fcc4c196dc308a1c5ac2', name: "after-heading" }))))), h("div", { key: '1cae60d79f74a0961eb0a280b3f31b457ba82c86', id: this.id, class: { "duet-collapsible-content": true, "duet-theme-turva": this.theme === "turva" }, part: "duet-collapsible-content" }, h("slot", { key: '1c8fb0d10608e14f55023891f331b4a7a538f527' }))));
|
|
114
115
|
}
|
|
115
116
|
get element() { return getElement(this); }
|
|
116
117
|
};
|
|
117
|
-
DuetCollapsible.style =
|
|
118
|
+
DuetCollapsible.style = DuetCollapsibleStyle0;
|
|
118
119
|
|
|
119
120
|
export { DuetCollapsible as duet_collapsible };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { h, F as Fragment, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-
|
|
4
|
+
import { h, F as Fragment, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-640026f0.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-724c0f7e.js';
|
|
6
6
|
import { c as createID } from './create-id-149a1b6d.js';
|
|
7
7
|
import { d as debounce } from './js-utils-9b9e0039.js';
|
|
8
8
|
import { j as isEnterKey, f as isEscapeKey, o as isTabKey, e as isBackspaceKey, b as isArrowUpKey, c as isArrowDownKey } from './keyboard-utils-439bcc8b.js';
|
|
9
|
-
import { g as getLocaleString, a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-
|
|
10
|
-
import { g as getElementsFromDefaultSlot } from './slot-utils-
|
|
9
|
+
import { g as getLocaleString, a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-eda57343.js';
|
|
10
|
+
import { g as getElementsFromDefaultSlot } from './slot-utils-00899492.js';
|
|
11
11
|
import { p as parsePossibleJSON } from './string-utils-ca039233.js';
|
|
12
12
|
|
|
13
13
|
const SelectSingle = ({ item, search = "", selected }) => {
|
|
@@ -35,6 +35,7 @@ const DuetComboBoxSelect = ({ item, active, total, selected, label = undefined,
|
|
|
35
35
|
};
|
|
36
36
|
|
|
37
37
|
const duetComboboxCss = ".sc-duet-combobox-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:inline-block;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(0, 41, 77)}.sc-duet-combobox-h a.sc-duet-combobox{color:rgb(0, 41, 77);transition:none}.duet-theme-turva.sc-duet-combobox-h{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-theme-turva.sc-duet-combobox-h a.sc-duet-combobox{color:rgb(23, 28, 58)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option.sc-duet-combobox .option-tags.sc-duet-combobox{color:rgb(116, 116, 117)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option.selected.sc-duet-combobox{background:rgb(244, 207, 214)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover{color:rgb(255, 255, 255);background:rgb(198, 12, 48)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox .option-tags.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus .option-tags.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover .option-tags.sc-duet-combobox{color:rgb(255, 255, 255)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox a.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus a.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover a.sc-duet-combobox{color:rgb(255, 255, 255)}.duet-combobox-list.sc-duet-combobox{position:absolute;top:calc(100% - 12px);z-index:700;margin:8px 0 0;visibility:hidden;background:rgb(255, 255, 255);border-radius:0 4px;box-shadow:0 2px 10px 0 rgba(0, 41, 77, 0.1);opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}.duet-combobox-list.open.sc-duet-combobox{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox{max-height:200px;padding:0.75rem 0;margin:0;overflow-y:scroll;font-weight:600;list-style:none;cursor:pointer;scroll-behavior:smooth}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox{padding:4px 0}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:not(.selected){padding-left:16px}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:not(.selected) .highlight.sc-duet-combobox{text-decoration:underline}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option.sc-duet-combobox .option-link.sc-duet-combobox{display:block;width:100%}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option.sc-duet-combobox .option-tags.sc-duet-combobox{float:right;padding-right:0.875rem;font-weight:400;color:rgb(144, 149, 153)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option-link.sc-duet-combobox{display:block;width:100%}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.selected.sc-duet-combobox{padding-left:0;background:rgb(205, 229, 241)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.selected.option.sc-duet-combobox .option-icon.sc-duet-combobox{padding:0 8px 0 8px}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.selected.option.sc-duet-combobox .option-tags.sc-duet-combobox{color:rgb(144, 149, 153)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox .option-tags.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus .option-tags.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover .option-tags.sc-duet-combobox{color:rgb(255, 255, 255)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox a.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus a.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover a.sc-duet-combobox{color:rgb(255, 255, 255)}";
|
|
38
|
+
const DuetComboboxStyle0 = duetComboboxCss;
|
|
38
39
|
|
|
39
40
|
const DuetCombobox = class {
|
|
40
41
|
constructor(hostRef) {
|
|
@@ -542,6 +543,6 @@ const DuetCombobox = class {
|
|
|
542
543
|
"listOpen": ["processListOpenChange"]
|
|
543
544
|
}; }
|
|
544
545
|
};
|
|
545
|
-
DuetCombobox.style =
|
|
546
|
+
DuetCombobox.style = DuetComboboxStyle0;
|
|
546
547
|
|
|
547
548
|
export { DuetCombobox as duet_combobox };
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-640026f0.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-724c0f7e.js';
|
|
6
|
-
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-
|
|
6
|
+
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-eda57343.js';
|
|
7
7
|
import './string-utils-ca039233.js';
|
|
8
8
|
|
|
9
9
|
const duetContactCardCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:block}:host(.duet-m-0){margin:0 !important}::slotted(*){padding-top:1.5rem}@media (min-width: 48em){::slotted(*){grid-column:2/span 2;padding-top:0}}.duet-contact-card{display:grid;grid-template-columns:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77)}.duet-contact-card.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}@media (min-width: 48em){.duet-contact-card{grid-template-columns:min-content minmax(0, 1fr) auto;gap:20px}}.duet-contact-card .image{width:4rem;height:4rem;margin-bottom:8px;border-radius:4px}@media (min-width: 48em){.duet-contact-card .image{width:6rem;height:6rem;padding-bottom:0}}.duet-contact-card .description{padding-bottom:8px}.duet-contact-card .email,.duet-contact-card .phone{display:grid;grid-template-columns:min-content auto;gap:8px;align-items:center;justify-content:flex-start;padding-bottom:8px;overflow-wrap:break-word}";
|
|
10
|
+
const DuetContactCardStyle0 = duetContactCardCss;
|
|
10
11
|
|
|
11
12
|
const DuetContactCard = class {
|
|
12
13
|
constructor(hostRef) {
|
|
@@ -50,13 +51,13 @@ const DuetContactCard = class {
|
|
|
50
51
|
render() {
|
|
51
52
|
const isTurva = this.theme === "turva";
|
|
52
53
|
const theme = isTurva ? "turva" : "default";
|
|
53
|
-
return (h(Host, { class: { "duet-m-0": this.margin === "none" } }, h("div", { class: {
|
|
54
|
+
return (h(Host, { key: 'b674fc807cce1c817b2b31dd1825f3a190642c6d', class: { "duet-m-0": this.margin === "none" } }, h("div", { key: 'b68429aaf66a828b9f42bcf700a918576da7acba', class: {
|
|
54
55
|
"duet-contact-card": true,
|
|
55
56
|
"duet-theme-turva": this.theme === "turva",
|
|
56
|
-
}, role: "group", "aria-label": this.name }, this.image ? h("img", { class: "image", src: this.image, alt: this.name }) : h("div", null), h("div",
|
|
57
|
+
}, role: "group", "aria-label": this.name }, this.image ? h("img", { class: "image", src: this.image, alt: this.name }) : h("div", null), h("div", { key: '272aa33aa12d99826ff5fe2374676a48daada92d' }, this.name && (h("duet-heading", { key: '1a6453e05d380f91303585547001924e6e5967fd', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (h("duet-paragraph", { key: '9eca18116b6526836aa593eaa4919e5f2f36e4b2', class: "description", margin: "none", theme: theme }, this.description)), this.email && (h("div", { key: '2b0ddbf82dd582b527b4c1db30dea8942d6640cf', class: "email" }, h("duet-icon", { key: 'c33e19a395ae75b1d6e432b4f3d75e38fbe701ef', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: '017a56f1452bf82445865f574e92c5b0ea917f1a', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (h("div", { key: '8f13ffc2706973678e7d60994f2c4e97e13009fa', class: "phone" }, h("duet-icon", { key: '805a325b64354506973084bad6de2ed6600e78f7', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: 'a2675d71e041417e4a4d5f3ca168d5552d836fb9', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (h("div", { key: 'bc888628c3b9b126025305ee3ab1ebbd5643b02c', class: "call-to-action" }, h("duet-button", { key: 'c0a58c25990cadc362bd091e6f0ef9372ba5be25', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), h("div", { key: '9851c5f372f29ec895b2c638f6d2bb17160af760' }), h("slot", { key: '0af6c234d5db80e6ee5903b9844537a4f2e34d2d' }))));
|
|
57
58
|
}
|
|
58
59
|
get element() { return getElement(this); }
|
|
59
60
|
};
|
|
60
|
-
DuetContactCard.style =
|
|
61
|
+
DuetContactCard.style = DuetContactCardStyle0;
|
|
61
62
|
|
|
62
63
|
export { DuetContactCard as duet_contact_card };
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-640026f0.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-724c0f7e.js';
|
|
6
6
|
import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './keyboard-utils-439bcc8b.js';
|
|
7
7
|
|
|
8
8
|
const duetCookieConsentCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:fixed;right:0;bottom:0;left:0;z-index:950;display:block;width:100%;box-shadow:0 2px 20px 0 rgba(0, 0, 0, 0.2)}@media (min-width: 48em){:host{right:28px;bottom:28px;left:auto;width:25rem}}:host(:focus){outline:0}:host(.user-is-tabbing:not(.descendant-focused):focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing:not(.descendant-focused).duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-cookie-consent{padding:20px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;color:rgb(255, 255, 255) !important;background-color:rgba(0, 21, 39, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent{background:rgba(0, 21, 39, 0.8);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}}.duet-cookie-consent.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";background-color:rgba(12, 14, 29, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent.duet-theme-turva{background:rgba(12, 14, 29, 0.8)}}@media (min-width: 48em){.duet-cookie-consent{padding:20px;border-radius:4px}}.duet-cookie-consent-content{display:flex;align-items:center;max-width:1110px;margin:0 auto}.duet-cookie-consent-content .expand{flex:1}::slotted(a){font-weight:600;color:rgb(255, 255, 255) !important;text-decoration:underline;white-space:nowrap}::slotted(a[target=_blank]){padding-right:16px;background:url(\"data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjZmZmIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjUgMmExLjUgMS41IDAgMDEuMTQgM0gzLjc1Yy0uMzggMC0uNy4yOC0uNzQuNjVsLS4wMS4xdjE0LjVjMCAuMzguMjguNy42NS43NGwuMS4wMWgxNC41Yy4zOCAwIC43LS4yOC43NC0uNjVsLjAxLS4xdi02Ljg5YTEuNSAxLjUgMCAwMTMgMHY2Ljg5QTMuNzUgMy43NSAwIDAxMTguMjUgMjRIMy43NUEzLjc1IDMuNzUgMCAwMTAgMjAuMjVWNS43NUEzLjc1IDMuNzUgMCAwMTMuNzUgMnptMTItMmMuNzggMCAxLjQyLjYgMS41IDEuMzZWNy41YTEuNSAxLjUgMCAwMS0zIC4xNFY1LjEybC01LjQ0IDUuNDRhMS41IDEuNSAwIDAxLTIuMjItMmwuMS0uMTJMMTguODggM0gxNi41QTEuNSAxLjUgMCAwMTE1IDEuNjRWMS41YzAtLjc4LjYtMS40MiAxLjM2LTEuNWguMTR6Ii8+PC9zdmc+\") no-repeat right 50%;background-size:12px 10px}::slotted(a:focus){outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva ::slotted(a:focus){outline:0;box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";
|
|
9
|
+
const DuetCookieConsentStyle0 = duetCookieConsentCss;
|
|
9
10
|
|
|
10
11
|
const DuetCookieConsent = class {
|
|
11
12
|
constructor(hostRef) {
|
|
@@ -45,10 +46,10 @@ const DuetCookieConsent = class {
|
|
|
45
46
|
* Always the last one in the class.
|
|
46
47
|
*/
|
|
47
48
|
render() {
|
|
48
|
-
return (h(Host, { tabindex: "0", class: { "duet-theme-turva": this.theme === "turva" } }, h("div", { class: { "duet-cookie-consent": true, "duet-theme-turva": this.theme === "turva" } }, h("div", { class: "duet-cookie-consent-content" }, h("div", { class: "expand" }, h("slot",
|
|
49
|
+
return (h(Host, { key: 'b6200017500c61af5823af477a967f1b0eb4c3e8', tabindex: "0", class: { "duet-theme-turva": this.theme === "turva" } }, h("div", { key: '2a24f576b5c8d4afa80ebbd1efb1535d39057fc9', class: { "duet-cookie-consent": true, "duet-theme-turva": this.theme === "turva" } }, h("div", { key: 'dfce32c2435aff2e90e5ef68bf2058635c0bebba', class: "duet-cookie-consent-content" }, h("div", { key: '426215741b6ae8be77620bee45f34cafcb2b0a9b', class: "expand" }, h("slot", { key: '29dc8d4183c2ec992e44bb8ef38a492daefc0393' })), h("duet-spacer", { key: 'aef61de5d2b9b12dec6ebac9d0b0b2f3a9709d97', size: "large", direction: "horizontal" }), h("div", { key: '660dc857d3ba6115beb552745416929a22a4d6b3' }, h("duet-button", { key: '24b68101280c3a953653256d9660309efee09194', variation: "negative", size: "small", onClick: this.handleClick, margin: "none", "aria-label": this.accessibleLabel, theme: this.theme }, "OK"))))));
|
|
49
50
|
}
|
|
50
51
|
get element() { return getElement(this); }
|
|
51
52
|
};
|
|
52
|
-
DuetCookieConsent.style =
|
|
53
|
+
DuetCookieConsent.style = DuetCookieConsentStyle0;
|
|
53
54
|
|
|
54
55
|
export { DuetCookieConsent as duet_cookie_consent };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-
|
|
4
|
+
import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-640026f0.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-724c0f7e.js';
|
|
6
6
|
import { c as createID } from './create-id-149a1b6d.js';
|
|
7
|
-
import { F as FocusGuard } from './focus-utils-
|
|
8
|
-
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-
|
|
9
|
-
import { c as checkNamedSlotElement } from './slot-utils-
|
|
7
|
+
import { F as FocusGuard } from './focus-utils-f583d4fb.js';
|
|
8
|
+
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-eda57343.js';
|
|
9
|
+
import { c as checkNamedSlotElement } from './slot-utils-00899492.js';
|
|
10
10
|
import './string-utils-ca039233.js';
|
|
11
11
|
|
|
12
12
|
const formatOptionsShort = { day: "numeric", month: "long" };
|
|
@@ -401,6 +401,7 @@ const DatePickerMonth = ({ selectedDate, focusedDate, labelledById, theme, langu
|
|
|
401
401
|
};
|
|
402
402
|
|
|
403
403
|
const duetDatePickerCss = "*.sc-duet-date-picker,*.sc-duet-date-picker::after,*.sc-duet-date-picker::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-date-picker-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;position:relative;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:top}.sc-duet-date-picker-h:last-child,.sc-duet-date-picker-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-date-picker-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-date-picker-h{width:100% !important}.duet-m-0.sc-duet-date-picker-h{margin:0 !important}.duet-date.sc-duet-date-picker{position:relative;width:100%}.duet-date.sc-duet-date-picker button.sc-duet-date-picker,.duet-date-dialog.sc-duet-date-picker button.sc-duet-date-picker{max-width:initial !important;min-height:initial !important;padding:0 !important;margin:0 !important;transition:initial}.duet-date-button.sc-duet-date-picker{-webkit-user-select:none;user-select:none;position:absolute;top:1px;right:1px;z-index:200;display:flex;align-items:center;justify-content:center;width:48px;height:calc(100% - 2px);color:rgb(0, 41, 77);cursor:pointer;background:transparent !important;border-left:1px solid rgb(207, 210, 212) !important;border-radius:0 4px 4px 0 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker{color:rgb(23, 28, 58);border-color:rgb(207, 207, 209)}.duet-date-button.sc-duet-date-picker::before{position:absolute;top:0;left:-6px;width:6px;height:100%;content:\"\";background:linear-gradient(to left, rgba(207, 210, 212, 0.2) 0%, rgba(207, 210, 212, 0.2) 1px, rgba(207, 210, 212, 0.1) 1px, rgba(207, 210, 212, 0) 100%)}.duet-date-button.sc-duet-date-picker:disabled{pointer-events:none;cursor:not-allowed;background:rgb(245, 248, 250) !important;border:0 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker:disabled{background:rgb(245, 245, 247) !important}.duet-date-button.sc-duet-date-picker:disabled::before{display:none}.duet-date-button.sc-duet-date-picker:disabled duet-icon.sc-duet-date-picker{opacity:0.4}.duet-date-button.sc-duet-date-picker duet-icon.sc-duet-date-picker{transform:translateY(-1px)}.duet-date-button.sc-duet-date-picker:active duet-icon.sc-duet-date-picker{transform:translateY(0)}.duet-date-button.sc-duet-date-picker:focus{color:rgb(0, 119, 179);border-color:transparent;outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker:focus{color:rgb(23, 28, 58);box-shadow:0 0 0 2px #171c3a !important}.duet-date-dialog.sc-duet-date-picker{position:absolute;top:100%;left:0;z-index:900;display:flex;width:100%;visibility:hidden;opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}@media (min-width: 36em){.duet-date-dialog.left.sc-duet-date-picker{right:0;left:auto;width:auto}}@media (max-width: 35.9375em){.duet-date-dialog.sc-duet-date-picker{position:fixed;top:0;right:0;bottom:0;transition:opacity 400ms ease, visibility 400ms ease;transform:translateZ(0);transform-origin:bottom center}}.duet-date-dialog.active.sc-duet-date-picker{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}@media (min-width: 36em){.duet-date-dialog.error.sc-duet-date-picker{top:calc(100% - 28px);margin-top:4px}}.duet-date-dialog-wrapper.sc-duet-date-picker{position:relative;z-index:600;width:100%;min-width:290px;max-width:310px;padding:16px 16px 20px;margin-top:8px;margin-left:auto;background:rgb(255, 255, 255);border:1px solid rgb(225, 227, 230);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);transform:none}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-wrapper.sc-duet-date-picker{border-color:rgb(228, 228, 230)}@media (max-width: 35.9375em){.duet-date-dialog-wrapper.sc-duet-date-picker{position:absolute;bottom:0;left:0;z-index:900;max-width:none;min-height:25em;padding:0 8% 20px;margin:0;visibility:hidden;border:0;border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px;opacity:0;transition:transform 400ms ease, opacity 400ms ease, visibility 400ms ease;transform:translateZ(0) translateY(100%)}.active.sc-duet-date-picker .duet-date-dialog-wrapper.sc-duet-date-picker{visibility:visible;opacity:1;transition-property:transform, opacity;transform:translateZ(0) translateY(0)}}.duet-date-table.sc-duet-date-picker{width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(0, 41, 77);text-align:center;border-spacing:0;border-collapse:collapse}.duet-date-table.duet-theme-turva.sc-duet-date-picker{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-date-table.sc-duet-date-picker th.sc-duet-date-picker{padding-bottom:8px;font-size:0.75rem;font-weight:600;line-height:1.25;text-decoration:none;text-transform:uppercase;letter-spacing:1px}.duet-date-table.sc-duet-date-picker .duet-date-table-cell.sc-duet-date-picker{text-align:center}.duet-date-table-button.sc-duet-date-picker{position:relative;z-index:100;display:inline-block !important;width:36.9230769231px !important;height:36.9230769231px !important;min-height:initial !important;padding:0 !important;margin:0 !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25 !important;color:rgb(0, 41, 77) !important;text-align:center;vertical-align:initial !important;cursor:pointer;background:transparent !important;border-radius:50% !important;transition:initial !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\" !important;color:rgb(23, 28, 58) !important}.duet-date-table-button.sc-duet-date-picker:hover{background:rgb(230, 242, 248) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:hover{background:rgb(249, 230, 234) !important}.duet-date-table-button.today.sc-duet-date-picker{z-index:200;color:rgb(0, 77, 128) !important;background:rgb(243, 249, 252) !important;box-shadow:0 0 0 1px #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.today.sc-duet-date-picker{color:rgb(148, 9, 37) !important;background:rgb(252, 243, 244) !important;box-shadow:0 0 0 1px #171c3a !important}.duet-date-table-button[aria-pressed=true].sc-duet-date-picker,.duet-date-table-button.sc-duet-date-picker:focus{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;outline:0}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button[aria-pressed=true].sc-duet-date-picker,.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:focus{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important}.duet-date-table-button.sc-duet-date-picker:active{z-index:200;color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;box-shadow:0 0 5px 0 #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:active{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important;box-shadow:0 0 5px 0 #171c3a !important}.duet-date-table-button.sc-duet-date-picker:focus{z-index:200;box-shadow:0 0 5px 0 #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:focus{box-shadow:0 0 5px 0 #171c3a !important}.duet-date-table-button.disabled.sc-duet-date-picker{color:rgb(144, 149, 153) !important;cursor:default;background:transparent !important;box-shadow:none !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.disabled.sc-duet-date-picker{color:rgb(116, 116, 117) !important;background:transparent !important;box-shadow:none !important}.duet-date-table-button.outside.sc-duet-date-picker{color:rgb(144, 149, 153) !important;pointer-events:none;cursor:default;background:rgb(245, 248, 250) !important;box-shadow:none;opacity:0.75}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.outside.sc-duet-date-picker{color:rgb(116, 116, 117);background:rgb(245, 245, 247);box-shadow:none}.duet-date-dialog-header.sc-duet-date-picker{margin-bottom:16px !important;display:flex;align-items:center;justify-content:space-between;width:100%}.duet-date-dialog-buttons.sc-duet-date-picker{white-space:nowrap}.duet-date-dialog-buttons.sc-duet-date-picker .sc-duet-date-picker::part(button){border:0}.duet-date-dialog-select.sc-duet-date-picker{position:relative;display:inline-flex;margin-top:4px}.duet-date-dialog-select.sc-duet-date-picker .duet-date-dialog-select-label.sc-duet-date-picker{position:relative;z-index:1;display:flex;align-items:center;width:100%;padding:0 8px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1.25rem;font-weight:600;line-height:1.25;color:rgb(0, 41, 77);pointer-events:none;border-radius:4px}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-select.sc-duet-date-picker .duet-date-dialog-select-label.sc-duet-date-picker{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-date-dialog-select.sc-duet-date-picker span.sc-duet-date-picker{margin-right:4px}.duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker{position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;font-size:1rem;cursor:pointer;opacity:0}.duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker:focus+.duet-date-dialog-select-label.sc-duet-date-picker{box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker:focus+.duet-date-dialog-select-label.sc-duet-date-picker{box-shadow:0 0 0 2px #171c3a !important}.duet-date-dialog-mobile-header.sc-duet-date-picker{position:relative;display:flex;align-items:center;justify-content:space-between;width:120%;padding:12px 20px;margin-bottom:20px;margin-left:-10%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid rgb(207, 210, 212)}@media (min-width: 36em){.duet-date-dialog-mobile-header.sc-duet-date-picker{position:absolute;top:-8px;right:-8px;width:auto;padding:0;margin:0;overflow:visible;border:0}}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-mobile-header.sc-duet-date-picker{border-color:rgb(207, 207, 209)}.duet-date-dialog-mobile-header.sc-duet-date-picker duet-label.sc-duet-date-picker{display:inline-block;max-width:84%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 36em){.duet-date-dialog-mobile-header.sc-duet-date-picker duet-label.sc-duet-date-picker{display:none}}.duet-date-picker-close.sc-duet-date-picker{display:flex;align-items:center;justify-content:center;width:24px;height:24px !important;padding:0 !important;color:rgb(0, 41, 77) !important;cursor:pointer;background:rgb(245, 248, 250) !important;border-radius:50%;-webkit-appearance:none;appearance:none}@media (min-width: 36em){.duet-date-picker-close.sc-duet-date-picker{opacity:0}}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker{background:rgb(245, 245, 247) !important}.duet-date-picker-close.sc-duet-date-picker:hover{background:rgb(245, 248, 250) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker:hover{background:rgb(245, 245, 247) !important}.duet-date-picker-close.sc-duet-date-picker:focus{outline:none;box-shadow:0 0 0 2px #0077b3 !important}@media (min-width: 36em){.duet-date-picker-close.sc-duet-date-picker:focus{opacity:1}}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker:focus{box-shadow:0 0 0 2px #171c3a !important}";
|
|
404
|
+
const DuetDatePickerStyle0 = duetDatePickerCss;
|
|
404
405
|
|
|
405
406
|
const DuetDatePicker = class {
|
|
406
407
|
constructor(hostRef) {
|
|
@@ -745,6 +746,6 @@ const DuetDatePicker = class {
|
|
|
745
746
|
"required": ["updateValidity"]
|
|
746
747
|
}; }
|
|
747
748
|
};
|
|
748
|
-
DuetDatePicker.style =
|
|
749
|
+
DuetDatePicker.style = DuetDatePickerStyle0;
|
|
749
750
|
|
|
750
751
|
export { DuetDatePicker as duet_date_picker };
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, g as getElement, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, h, g as getElement, H as Host } from './index-640026f0.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-724c0f7e.js';
|
|
6
6
|
import { g as getColorByName } from './token-utils-1f843fb9.js';
|
|
7
7
|
import './tokens.module-ed0ed26f.js';
|
|
8
8
|
|
|
9
9
|
const duetDividerCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-divider{-webkit-user-select:none;user-select:none;display:block;width:100%;height:1px;margin-top:36px !important;margin-bottom:28px;background:rgb(225, 227, 230)}.duet-divider.duet-p-0{padding:0 !important}.duet-divider.duet-m-0{margin:0 !important}.duet-divider.duet-m-s{margin-bottom:16px !important;margin-top:0 !important}.duet-divider.duet-theme-turva{background:rgb(228, 228, 230)}";
|
|
10
|
+
const DuetDividerStyle0 = duetDividerCss;
|
|
10
11
|
|
|
11
12
|
const DuetDivider = class {
|
|
12
13
|
constructor(hostRef) {
|
|
@@ -27,7 +28,7 @@ const DuetDivider = class {
|
|
|
27
28
|
*/
|
|
28
29
|
render() {
|
|
29
30
|
const background = getColorByName(this.color);
|
|
30
|
-
return (h("div", { class: {
|
|
31
|
+
return (h("div", { key: '2caae5a247c86ce334214ce1efd4155d9941df6a', class: {
|
|
31
32
|
"duet-m-0": this.margin === "none",
|
|
32
33
|
"duet-m-s": this.margin === "small",
|
|
33
34
|
"duet-divider": true,
|
|
@@ -36,9 +37,10 @@ const DuetDivider = class {
|
|
|
36
37
|
}
|
|
37
38
|
get element() { return getElement(this); }
|
|
38
39
|
};
|
|
39
|
-
DuetDivider.style =
|
|
40
|
+
DuetDivider.style = DuetDividerStyle0;
|
|
40
41
|
|
|
41
42
|
const duetSpacerCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.duet-spacer-horizontal){display:inline-block;height:100% !important}:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.duet-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.duet-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.small){width:12px;min-width:12px}}:host(.duet-spacer-horizontal.medium){height:100%}:host(.duet-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.large){width:20px;min-width:20px}}:host(.duet-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.duet-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.duet-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.duet-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.duet-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.duet-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.duet-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.duet-spacer-vertical.small){height:12px;min-height:12px}}:host(.duet-spacer-vertical.medium){width:100%}:host(.duet-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.duet-spacer-vertical.large){height:20px;min-height:20px}}:host(.duet-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.duet-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.duet-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.duet-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.duet-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.duet-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.duet-spacer-xx-small){display:block}}:host(.duet-spacer-x-small){display:none}@media (max-width: 35.9375em){:host(.duet-spacer-x-small){display:block}}:host(.duet-spacer-small){display:none}@media (min-width: 36em){:host(.duet-spacer-small){display:block}}:host(.duet-spacer-medium){display:none}@media (min-width: 48em){:host(.duet-spacer-medium){display:block}}:host(.duet-spacer-large){display:none}@media (min-width: 62em){:host(.duet-spacer-large){display:block}}:host(.duet-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.duet-spacer-x-large){display:block}}:host(.duet-spacer-xx-large){display:none}@media (min-width: 76.25em){:host(.duet-spacer-xx-large){display:block}}";
|
|
43
|
+
const DuetSpacerStyle0 = duetSpacerCss;
|
|
42
44
|
|
|
43
45
|
const DuetSpacer = class {
|
|
44
46
|
constructor(hostRef) {
|
|
@@ -52,7 +54,7 @@ const DuetSpacer = class {
|
|
|
52
54
|
* Always the last one in the class.
|
|
53
55
|
*/
|
|
54
56
|
render() {
|
|
55
|
-
return (h(Host, { class: {
|
|
57
|
+
return (h(Host, { key: '560e7ad5451c97ac65ee8a4ba14aa0fcf45a7f6b', class: {
|
|
56
58
|
"duet-spacer": true,
|
|
57
59
|
"duet-spacer-xx-small": this.breakpoint === "xx-small",
|
|
58
60
|
"duet-spacer-x-small": this.breakpoint === "x-small",
|
|
@@ -66,6 +68,6 @@ const DuetSpacer = class {
|
|
|
66
68
|
} }));
|
|
67
69
|
}
|
|
68
70
|
};
|
|
69
|
-
DuetSpacer.style =
|
|
71
|
+
DuetSpacer.style = DuetSpacerStyle0;
|
|
70
72
|
|
|
71
73
|
export { DuetDivider as duet_divider, DuetSpacer as duet_spacer };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { h, r as registerInstance, c as createEvent, H as Host, g as getElement, F as Fragment } from './index-
|
|
4
|
+
import { h, r as registerInstance, c as createEvent, H as Host, g as getElement, F as Fragment } from './index-640026f0.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-724c0f7e.js';
|
|
6
6
|
import { f as fieldSorter, d as debounce } from './js-utils-9b9e0039.js';
|
|
7
7
|
import { i as isKeyboardClick } from './keyboard-utils-439bcc8b.js';
|
|
8
|
-
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver, g as getLocaleString, s as sanitizeString } from './language-utils-
|
|
8
|
+
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver, g as getLocaleString, s as sanitizeString } from './language-utils-eda57343.js';
|
|
9
9
|
import { p as sizeNavigation, s as sizeHeader } from './tokens.module-ed0ed26f.js';
|
|
10
10
|
import { b as breakpointTokensUpTo, a as breakpointToToken } from './token-utils-1f843fb9.js';
|
|
11
11
|
import { c as createID } from './create-id-149a1b6d.js';
|
|
12
12
|
import { p as parsePossibleJSON } from './string-utils-ca039233.js';
|
|
13
|
-
import { g as getError, a as getI18nError } from './errorcodes.utils-
|
|
13
|
+
import { g as getError, a as getI18nError } from './errorcodes.utils-a4ae6efc.js';
|
|
14
14
|
|
|
15
15
|
//simple functional component that renders the data in the table
|
|
16
16
|
const TableData = ({ data, groupId, alignment }, _children) => {
|
|
@@ -24,6 +24,7 @@ const TableData = ({ data, groupId, alignment }, _children) => {
|
|
|
24
24
|
};
|
|
25
25
|
|
|
26
26
|
const duetEditableTableCss = ".sc-duet-editable-table-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-editable-table-actions-menu.sc-duet-editable-table{position:relative;padding:0 !important;margin:0}.duet-editable-table-actions-menu-button.sc-duet-editable-table{position:relative;right:-16px;float:right;padding:0}.duet-editable-table-actions-menu-icon.sc-duet-editable-table .duet-icon.sc-duet-editable-table{max-width:16px;max-height:16px}.duet-editable-table-row.duet-table-action-row.sc-duet-editable-table .duet-text-right.sc-duet-editable-table{text-align:right}.duet-editable-table-header.sc-duet-editable-table tr.sc-duet-editable-table .duet-editable-table-header-hidden.sc-duet-editable-table{padding:0 !important;font-size:0;border-bottom:0}";
|
|
27
|
+
const DuetEditableTableStyle0 = duetEditableTableCss;
|
|
27
28
|
|
|
28
29
|
const DuetEditableTable = class {
|
|
29
30
|
constructor(hostRef) {
|
|
@@ -187,9 +188,10 @@ const DuetEditableTable = class {
|
|
|
187
188
|
}
|
|
188
189
|
get element() { return getElement(this); }
|
|
189
190
|
};
|
|
190
|
-
DuetEditableTable.style =
|
|
191
|
+
DuetEditableTable.style = DuetEditableTableStyle0;
|
|
191
192
|
|
|
192
193
|
const duetTableCss = "duet-table{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:block;font-variant-numeric:tabular-nums}duet-table table,duet-table thead,duet-table tbody,duet-table tfoot,duet-table th,duet-table td,duet-table tr{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}duet-table.duet-m-0{margin:0 !important}duet-table table{width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;text-align:left;border-spacing:0;border-collapse:separate}duet-table.duet-table-hide-head-visually.duet-table-hide-head-visually thead,duet-table.duet-table-hide-head-visually.duet-table-hide-head-visually thead *{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}duet-table.duet-theme-turva table{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}duet-table td{-webkit-hyphens:auto;hyphens:auto;color:rgb(0, 41, 77)}duet-table.duet-theme-turva td{color:rgb(23, 28, 58)}duet-table th{font-weight:600;line-height:1.25;color:rgb(101, 119, 135);text-align:left}duet-table.duet-theme-turva th{color:rgb(116, 116, 117)}duet-table tbody th{font-weight:600;color:rgb(0, 41, 77)}duet-table.duet-theme-turva tbody th{color:rgb(23, 28, 58)}duet-table .duet-table-action-row td:last-child{justify-self:end;padding-right:20px !important;white-space:nowrap}duet-table span.duet-table-cell-heading{display:none}.duet-table-flattened table,.duet-table-flattened thead,.duet-table-flattened tbody,.duet-table-flattened tfoot,.duet-table-flattened th,.duet-table-flattened td,.duet-table-flattened tr{display:block}.duet-table-flattened thead tr{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-table-flattened td{line-height:1.25}.duet-table-flattened td:not(:last-child){margin-bottom:16px !important}.duet-table-flattened td span.duet-table-cell-heading{margin-bottom:4px !important;display:block;font-size:1rem;font-weight:600;color:rgb(0, 41, 77)}.duet-table-flattened.duet-theme-turva td span.duet-table-cell-heading{color:rgb(23, 28, 58)}.duet-table-flattened tbody td,.duet-table-flattened tbody th,.duet-table-flattened tfoot td{padding:0 !important;text-align:left !important}.duet-table-flattened tbody th{font-weight:600;line-height:1.25;color:rgb(101, 119, 135);text-align:left}.duet-table-sticky thead th{position:sticky;top:0;background:rgb(255, 255, 255)}.duet-table-striped td,.duet-table-striped th{padding:20px !important}@media (max-width: 35.9375em){.duet-table-striped td,.duet-table-striped th{padding:20px 12px !important}}.duet-table-striped tbody th{background:rgb(255, 255, 255)}.duet-table-striped.duet-table-sticky thead th{border-bottom:1px solid rgb(225, 227, 230)}.duet-table-striped.duet-table-sticky.duet-theme-turva thead th{border-bottom-color:rgb(228, 228, 230)}.duet-table-striped tbody:not(:first-of-type) th{padding-top:40px !important}.duet-table-striped tbody:only-of-type tr:nth-of-type(odd){background:rgba(0, 80, 128, 0.04)}.duet-table-striped.duet-theme-turva tbody:only-of-type tr:nth-of-type(odd){background:rgba(23, 28, 58, 0.04)}.duet-table-striped tbody:not(:only-of-type) tr:nth-of-type(even){background:rgba(0, 80, 128, 0.04)}.duet-table-striped.duet-theme-turva tbody:not(:only-of-type) tr:nth-of-type(even){background:rgba(23, 28, 58, 0.04)}.duet-table-striped tfoot td{border-top:1px solid rgb(225, 227, 230)}.duet-table-striped.duet-theme-turva tfoot td{border-top-color:rgb(228, 228, 230)}.duet-table-striped.duet-table-flattened tbody:not(:first-of-type) th{padding-top:20px !important}.duet-table-striped.duet-table-flattened tr{padding:20px !important}.duet-table-striped.duet-table-flattened tfoot td{border-top:0}.duet-table-striped.duet-table-flattened tfoot tr{border-top:1px solid rgb(225, 227, 230)}.duet-table-striped.duet-table-flattened.duet-theme-turva tfoot tr{border-top-color:rgb(228, 228, 230)}.duet-table-fixed th,.duet-table-minimal th,.duet-table-plain th{padding:16px !important;border-bottom:1px solid rgb(101, 119, 135)}.duet-table-fixed th:first-child,.duet-table-minimal th:first-child,.duet-table-plain th:first-child{padding-left:0 !important}.duet-table-fixed th:last-child,.duet-table-minimal th:last-child,.duet-table-plain th:last-child{padding-right:0 !important}.duet-theme-turva.duet-table-fixed th,.duet-theme-turva.duet-table-minimal th,.duet-theme-turva.duet-table-plain th{border-bottom-color:rgb(68, 68, 69)}.duet-table-fixed tbody th,.duet-table-minimal tbody th,.duet-table-plain tbody th{padding-top:40px !important;border-bottom-color:rgb(225, 227, 230)}.duet-theme-turva.duet-table-fixed tbody th,.duet-theme-turva.duet-table-minimal tbody th,.duet-theme-turva.duet-table-plain tbody th{border-bottom-color:rgb(228, 228, 230)}.duet-table-fixed td,.duet-table-minimal td,.duet-table-plain td{padding:16px !important}.duet-table-fixed td:first-child,.duet-table-minimal td:first-child,.duet-table-plain td:first-child{padding-left:0 !important}.duet-table-fixed td:last-child,.duet-table-minimal td:last-child,.duet-table-plain td:last-child{padding-right:0 !important}.duet-table-fixed tbody td,.duet-table-minimal tbody td,.duet-table-plain tbody td{border-bottom:1px solid rgb(225, 227, 230)}.duet-theme-turva.duet-table-fixed tbody td,.duet-theme-turva.duet-table-minimal tbody td,.duet-theme-turva.duet-table-plain tbody td{border-bottom-color:rgb(228, 228, 230)}.duet-table-flattened.duet-table-fixed tbody:first-of-type th,.duet-table-flattened.duet-table-minimal tbody:first-of-type th,.duet-table-flattened.duet-table-plain tbody:first-of-type th{padding-top:0 !important}.duet-table-flattened.duet-table-fixed td,.duet-table-flattened.duet-table-minimal td,.duet-table-flattened.duet-table-plain td,.duet-table-flattened.duet-table-fixed tbody th,.duet-table-flattened.duet-table-minimal tbody th,.duet-table-flattened.duet-table-plain tbody th{border-bottom:0}.duet-table-flattened.duet-table-fixed tr,.duet-table-flattened.duet-table-minimal tr,.duet-table-flattened.duet-table-plain tr{padding:20px 0 !important}.duet-table-flattened.duet-table-fixed tbody th,.duet-table-flattened.duet-table-minimal tbody th,.duet-table-flattened.duet-table-plain tbody th{padding-top:20px !important}.duet-table-flattened.duet-table-fixed tfoot td,.duet-table-flattened.duet-table-minimal tfoot td,.duet-table-flattened.duet-table-plain tfoot td{margin-bottom:4px !important}.duet-table-flattened.duet-table-fixed tbody:not(:only-of-type) tr:first-child,.duet-table-flattened.duet-table-minimal tbody:not(:only-of-type) tr:first-child,.duet-table-flattened.duet-table-plain tbody:not(:only-of-type) tr:first-child{border-bottom:0}.duet-table-plain.duet-table-flattened tbody tr{border-bottom:1px solid rgb(225, 227, 230)}.duet-table-plain.duet-table-flattened.duet-theme-turva tbody tr{border-bottom-color:rgb(228, 228, 230)}.duet-table-minimal tbody tr,.duet-table-minimal tbody tr td{vertical-align:top;border-bottom:0 none}.duet-table-minimal tbody tr:last-of-type,.duet-table-minimal tbody tr:last-of-type td{border-bottom:1px solid rgb(225, 227, 230)}.duet-table-minimal.duet-table-flattened tbody tr,.duet-table-minimal.duet-table-flattened tbody tr td{border-bottom:0 none}.duet-table-minimal.duet-table-flattened tbody tr td[data-heading]::before{display:none}.duet-table-minimal.duet-table-flattened tfoot{border-top:1px solid rgb(225, 227, 230)}.duet-table-minimal.duet-table-flattened.duet-theme-turva tfoot{border-top-color:rgb(228, 228, 230)}.duet-table-fixed table{table-layout:fixed}.duet-table-fixed tbody tr,.duet-table-fixed tbody tr td,.duet-table-fixed tbody tr td:first-child{padding:4px !important;vertical-align:text-bottom;border-bottom:0 none}.duet-table-fixed thead{display:none}.duet-table-fixed tbody tr,.duet-table-fixed tbody tr td{border-bottom:0 none}.duet-table-fixed:not(.duet-table-flattened) tfoot{border-top:1px solid rgb(225, 227, 230)}.duet-table-fixed:not(.duet-table-flattened).duet-theme-turva tfoot{border-top-color:rgb(228, 228, 230)}.duet-table-scrollable{position:relative;width:100%;overflow-x:auto;background:linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0)), linear-gradient(-90deg, #fff 0%, rgba(255, 255, 255, 0)) 100% 0, radial-gradient(farthest-side at 0% 50%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)), radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)) 100% 0%;background-repeat:no-repeat;background-attachment:local, local, scroll, scroll;background-size:100px 100%, 100px 100%, 12px 100%, 12px 100%}.duet-table-selected-column{background:rgba(0, 119, 179, 0.08)}.duet-theme-turva .duet-table-selected-column{background:rgba(68, 68, 69, 0.08)}.duet-table-sortable tbody tr td:first-child,.duet-table-sortable thead tr th:first-child{padding:20px}.duet-table-sortable:not(.duet-table-flattened) tfoot{border-top:1px solid rgb(225, 227, 230)}.duet-table-sortable:not(.duet-table-flattened).duet-theme-turva tfoot{border-top-color:rgb(228, 228, 230)}.duet-table-actions table{table-layout:auto}.duet-table-actions thead th:last-child{width:1px;white-space:nowrap}.duet-editable-table-table.duet-table-flattened tr{display:grid;grid-template-columns:repeat(2, 1fr);grid-auto-rows:auto;gap:10px}.duet-editable-table-table.duet-table-flattened tr.duet-table-action-row td:last-child::before{padding:0;content:\"\"}.duet-editable-table-table.duet-table-flattened td{grid-column:1/2}.duet-editable-table-table.duet-table-flattened td:first-child{grid-row:1;grid-column:1}.duet-editable-table-table.duet-table-flattened td:last-child{grid-row:1;grid-column:2}";
|
|
194
|
+
const DuetTableStyle0 = duetTableCss;
|
|
193
195
|
|
|
194
196
|
const stickyTopValues = {
|
|
195
197
|
none: 0,
|
|
@@ -281,7 +283,7 @@ const DuetTable = class {
|
|
|
281
283
|
});
|
|
282
284
|
}
|
|
283
285
|
render() {
|
|
284
|
-
return (h(Host, { class: {
|
|
286
|
+
return (h(Host, { key: 'ab8dd44a4ed7d49de8ad2f11150455407c8d3a80', class: {
|
|
285
287
|
[`duet-table-${this.variation}`]: true,
|
|
286
288
|
"duet-table-flattened": !this.matchesBreakpoint,
|
|
287
289
|
// sticky only valid when in regular table layout
|
|
@@ -290,14 +292,14 @@ const DuetTable = class {
|
|
|
290
292
|
"duet-m-0": this.margin === "none",
|
|
291
293
|
"duet-theme-turva": this.theme === "turva",
|
|
292
294
|
"duet-table-hide-head-visually": this.hideHeadVisually,
|
|
293
|
-
} }, h("slot",
|
|
295
|
+
} }, h("slot", { key: 'fe9ea56f8b1567513f3efdf1be6dbd5723e56f6e' })));
|
|
294
296
|
}
|
|
295
297
|
get element() { return getElement(this); }
|
|
296
298
|
static get watchers() { return {
|
|
297
299
|
"language": ["watchLanguageStateHandler"]
|
|
298
300
|
}; }
|
|
299
301
|
};
|
|
300
|
-
DuetTable.style =
|
|
302
|
+
DuetTable.style = DuetTableStyle0;
|
|
301
303
|
|
|
302
304
|
const errorCodes = [
|
|
303
305
|
{
|
|
@@ -606,6 +608,7 @@ const makeXhrRequest = ({ payload, options, onFailure, onSuccess, onProgress })
|
|
|
606
608
|
};
|
|
607
609
|
|
|
608
610
|
const duetUploadCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=header]){margin-bottom:16px}::slotted([slot=fileheader]){margin:16px 0 0 0}::slotted([slot=filefooter]){margin-top:16px}::slotted([slot=uploadfooter]){margin-top:20px}.duet-upload{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-upload-item-size{font-size:0.75rem;font-weight:400}.duet-upload-filelist{margin-bottom:25px}.duet-upload-filelist-empty{display:flex;align-items:center;justify-content:center;width:100%;height:75px;margin:0 auto;font-size:1rem;font-weight:400;background-color:rgb(245, 248, 250)}.duet-upload-filelist-empty-label{font-size:1rem;font-weight:400}.duet-upload-editable-table-header-hidden{display:none}.duet-upload-editable-table tbody .duet-upload-editable-table-data{padding:0 !important;border:0}.duet-upload-editable-table duet-editable-table tfoot,.duet-upload-editable-table duet-editable-table thead{display:none}.duet-upload-editable-table duet-editable-table .duet-editable-table-content{padding-right:0 !important;padding-left:0 !important}.duet-upload-editable-table duet-editable-table duet-table .duet-table-action-row td{padding:1rem 0 !important}.duet-upload-editable-table duet-editable-table duet-table .duet-table-action-row td:last-child{padding-right:0 !important}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress,.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending{position:relative}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress duet-progress,.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending duet-progress{position:absolute;bottom:0;width:100%}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress duet-action-button::part(button),.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending duet-action-button::part(button){border:0}duet-paragraph::part(duet-paragraph){word-break:break-word}duet-editable-table tfoot{display:none}.upload-bottom-caption{margin-top:12px;margin-bottom:16px;line-height:1.4rem}.items-header{display:none;flex-direction:row;margin-bottom:0}@media (min-width: 36em){.items-header{display:flex}}.items-header:not(:last-child),.items-header:not(:first-child){margin-top:12px}.items-header .category-header{width:35%}.items-header .filename-header{width:65%}.items-header .filename-header.no-category{width:100%}.upload-item-row{display:flex;flex-direction:column;gap:16px;align-content:center;align-items:center;padding:16px 0 16px 0;border-bottom:1px solid rgb(225, 227, 230)}@media (min-width: 36em){.upload-item-row{flex-direction:row;gap:10px}}.upload-item-row .item-categories{width:100%}@media (min-width: 36em){.upload-item-row .item-categories{width:35%}}.upload-item-row .item-name{position:relative;bottom:2px;width:100%;text-align:left}@media (min-width: 36em){.upload-item-row .item-name{width:50%}.upload-item-row .item-name.no-category{width:85%}}.upload-item-row .item-categories .heading,.upload-item-row .item-name .heading{display:block}@media (min-width: 36em){.upload-item-row .item-categories .heading,.upload-item-row .item-name .heading{display:none}}.upload-item-row .item-actions{width:100%;margin-left:-8px;text-align:left}@media (min-width: 36em){.upload-item-row .item-actions{width:15%;padding-top:0;margin-left:auto;text-align:right}}.upload-item-row .duet-upload-item-name duet-icon{position:relative;top:4px}.upload-item-row .duet-upload-item-name duet-progress{display:block;margin-top:16px}";
|
|
611
|
+
const DuetUploadStyle0 = duetUploadCss;
|
|
609
612
|
|
|
610
613
|
const DuetUpload = class {
|
|
611
614
|
constructor(hostRef) {
|
|
@@ -1349,10 +1352,10 @@ const DuetUpload = class {
|
|
|
1349
1352
|
this.externalUploadButton.accessibleLabel = caption;
|
|
1350
1353
|
}
|
|
1351
1354
|
// @ts-ignore
|
|
1352
|
-
return (h(Host, { class: { "duet-m-0": this.margin === "none" } }, h("duet-fieldset", { "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label, caption: !this.captionOnBottom ? caption : undefined }, h("slot", { name: "header" }), !this.files.size && (h("duet-empty-state", { id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, h("duet-paragraph", { margin: "none" }, this.fileListEmpty))), !!this.files.size && h("slot", { name: "fileheader" }), !!this.files.size && (h("duet-upload-aria-status", { invalid: this.getFilesAsArray().invalid.length, valid: this.getFilesAsArray().valid.length, inprogress: this.filesInProgress.size, total: this.files.size, statusMessageLabel: this.internalStatusMessageLabel })), !!this.files.size && this.renderUploadedItems(), !!this.files.size && h("slot", { name: "filefooter" }), h("slot", { name: "uploadfooter" }), this.captionOnBottom && (h("duet-caption", { margin: "none", size: "small" }, h("div", { class: "upload-bottom-caption" }, caption))), h("slot", { name: "afterfooter" }), !this.hideButton && (h(Fragment,
|
|
1355
|
+
return (h(Host, { key: 'fbb23e4c7dafe25f609164ab839dfe2b773e4656', class: { "duet-m-0": this.margin === "none" } }, h("duet-fieldset", { key: '06b9887702d76107263650313313f1a9d0da18e1', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label, caption: !this.captionOnBottom ? caption : undefined }, h("slot", { key: '09d08704944030cfcf9577d1e9ff5743530cb087', name: "header" }), !this.files.size && (h("duet-empty-state", { key: '9455c1f4ec1c6f23ec1d005aa6aa1f0c902ea6d5', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, h("duet-paragraph", { key: '33c49028d666ce29fd441817062f5fce1d5d87df', margin: "none" }, this.fileListEmpty))), !!this.files.size && h("slot", { key: 'ec41dfe1c379d717f4514d819118e8484feadc61', name: "fileheader" }), !!this.files.size && (h("duet-upload-aria-status", { key: 'ba56e1700f6254c05f0aeebded23eb071c2712a8', invalid: this.getFilesAsArray().invalid.length, valid: this.getFilesAsArray().valid.length, inprogress: this.filesInProgress.size, total: this.files.size, statusMessageLabel: this.internalStatusMessageLabel })), !!this.files.size && this.renderUploadedItems(), !!this.files.size && h("slot", { key: 'c751122858e240739f4a439b89f9ff7f7603ee65', name: "filefooter" }), h("slot", { key: '44add8b2fd77cb942db72bd83cad90cab6e3b83a', name: "uploadfooter" }), this.captionOnBottom && (h("duet-caption", { key: 'b788d8ba602fe61da7ff8c06509ea0521027082f', margin: "none", size: "small" }, h("div", { key: '905be51cf09c625bd19737b9fa28c85f7911a2a4', class: "upload-bottom-caption" }, caption))), h("slot", { key: '2da304d7094152a7c38607af3d74d5d8b076c711', name: "afterfooter" }), !this.hideButton && (h(Fragment, { key: '74cc919f60e229c4fa1f7f8f4472c2d5cd731a6c' }, h("duet-spacer", { key: 'f60c7893de953a3551e5f0b826bc34510e205d42', size: "large" }), h("duet-button", { key: '20792f561a4a6b35ea120d6f24d5e6e49e366c7a', id: this.buttonId, onClick: this.startUpload, "accessible-controls": identifier, disabled: this.fileMaxReached, "accessible-label": this.accessibleButtonLabel, "accessible-owns": identifier, size: "small", variation: "secondary", fixed: true, icon: "action-add-circle", part: this.identifier ? `${this.identifier}-button-upload` : "duet-upload-button-upload" }, this.buttonLabel))), (this.fileMaxReached ||
|
|
1353
1356
|
this.bytesMaxReached ||
|
|
1354
1357
|
this.filesToUploadExceedsLimit ||
|
|
1355
|
-
this.filesToUploadTotalSizeIsAboveMax) && (h(Fragment,
|
|
1358
|
+
this.filesToUploadTotalSizeIsAboveMax) && (h(Fragment, { key: 'dd237b355a77db2eb3c3a6bea07eae884ffce4ca' }, h("duet-spacer", { key: '0ecfd226ae4a1b30e1a3598848327c9e7d1d6cce', size: "medium" }), h("duet-alert", { key: '45e1d585869c782cd624d6c6c8bf93e819944980', part: this.identifier ? `${this.identifier}-error-notification` : "duet-upload-error-notification" }, this.fileMaxReached && getI18nError("duet-upload-301", this.errorCodes), this.bytesMaxReached && getI18nError("duet-upload-202", this.errorCodes), this.filesToUploadExceedsLimit && getI18nError("duet-upload-302", this.errorCodes), this.filesToUploadTotalSizeIsAboveMax && getI18nError("duet-upload-203", this.errorCodes)))), h("duet-visually-hidden", { key: '3783514ca6994a7cabf2f2027c7a61f8147e633a', "aria-hidden": "true" }, h("input", { key: '6e79027a037da18e89b2dbebdb6ce3d750d11c3b', ref: input => {
|
|
1356
1359
|
this.nativeInput = input;
|
|
1357
1360
|
}, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
|
|
1358
1361
|
"duet-upload": true,
|
|
@@ -1537,6 +1540,6 @@ const DuetUpload = class {
|
|
|
1537
1540
|
"valid": ["watchValidHandler"]
|
|
1538
1541
|
}; }
|
|
1539
1542
|
};
|
|
1540
|
-
DuetUpload.style =
|
|
1543
|
+
DuetUpload.style = DuetUploadStyle0;
|
|
1541
1544
|
|
|
1542
1545
|
export { DuetEditableTable as duet_editable_table, DuetTable as duet_table, DuetUpload as duet_upload };
|