@duetds/components 8.4.9 → 8.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +177 -121
- package/lib/cjs/{common-strings-75850753.js → common-strings-2984301e.js} +6 -0
- package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
- package/lib/cjs/duet-alert.cjs.entry.js +2 -2
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-banner.cjs.entry.js +31 -8
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +3 -3
- package/lib/cjs/duet-button_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-callout.cjs.entry.js +1 -1
- package/lib/cjs/duet-caption_4.cjs.entry.js +5 -5
- package/lib/cjs/duet-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
- package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
- package/lib/cjs/duet-chip.cjs.entry.js +2 -2
- package/lib/cjs/duet-choice_2.cjs.entry.js +21 -37
- package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
- package/lib/cjs/duet-combobox.cjs.entry.js +50 -50
- package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
- package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
- package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +4 -4
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +2 -2
- package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +3 -3
- package/lib/cjs/duet-grid_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-header_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-hero.cjs.entry.js +3 -3
- package/lib/cjs/duet-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-input_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -2
- package/lib/cjs/duet-modal.cjs.entry.js +45 -14
- package/lib/cjs/duet-multiselect.cjs.entry.js +2 -2
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-number-input.cjs.entry.js +2 -2
- package/lib/cjs/duet-overlay.cjs.entry.js +4 -2
- package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
- package/lib/cjs/duet-pagination_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-popup-menu.cjs.entry.js +3 -3
- package/lib/cjs/duet-progress.cjs.entry.js +1 -1
- package/lib/cjs/duet-promo-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-range-slider.cjs.entry.js +3 -3
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +4 -4
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +1 -1
- package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
- package/lib/cjs/duet-show-more.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout.cjs.entry.js +5 -5
- package/lib/cjs/duet-step_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
- package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
- package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
- package/lib/cjs/duet-tray.cjs.entry.js +3 -3
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/{focus-utils-1fe78578.js → focus-utils-e1cd19ee.js} +1 -1
- package/lib/cjs/{index-93f04ccf.js → index-549a7702.js} +1 -1
- package/lib/cjs/{keyboard-utils-66ecb5d6.js → keyboard-utils-681e11ec.js} +2 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/cjs/{token-utils-c8094d1e.js → token-utils-4ff49a49.js} +1 -1
- package/lib/cjs/{tokens-5b487d39.js → tokens-d270c810.js} +6 -0
- package/lib/cjs/{tokens.module-450a747b.js → tokens.module-2198b663.js} +4 -0
- package/lib/collection/collection-manifest.json +1 -1
- package/lib/collection/common-strings.js +5 -0
- package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
- package/lib/collection/components/duet-alert/duet-alert.js +1 -1
- package/lib/collection/components/duet-banner/duet-banner.css +4 -134
- package/lib/collection/components/duet-banner/duet-banner.js +43 -9
- package/lib/collection/components/duet-button/duet-button.js +5 -5
- package/lib/collection/components/duet-caption/duet-caption.js +1 -1
- package/lib/collection/components/duet-card/duet-card.js +3 -3
- package/lib/collection/components/duet-checkbox/duet-checkbox.css +2 -1
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
- package/lib/collection/components/duet-chip/duet-chip.js +5 -5
- package/lib/collection/components/duet-choice/duet-choice.css +43 -12
- package/lib/collection/components/duet-choice/duet-choice.js +21 -59
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
- package/lib/collection/components/duet-combobox/duet-combobox.js +51 -51
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +4 -4
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.js +7 -7
- package/lib/collection/components/duet-grid/duet-grid.css +27 -27
- package/lib/collection/components/duet-grid/duet-grid.js +3 -3
- package/lib/collection/components/duet-header/duet-header.js +15 -15
- package/lib/collection/components/duet-heading/duet-heading.js +1 -1
- package/lib/collection/components/duet-hero/duet-hero.js +6 -6
- package/lib/collection/components/duet-input/duet-input.js +8 -8
- package/lib/collection/components/duet-label/duet-label.js +2 -2
- package/lib/collection/components/duet-layout/duet-layout.js +1 -1
- package/lib/collection/components/duet-link/duet-link.css +2 -2
- package/lib/collection/components/duet-list/duet-list.js +3 -3
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
- package/lib/collection/components/duet-modal/duet-modal.css +30 -0
- package/lib/collection/components/duet-modal/duet-modal.js +95 -36
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
- package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
- package/lib/collection/components/duet-overlay/duet-overlay.css +10 -0
- package/lib/collection/components/duet-overlay/duet-overlay.js +21 -1
- package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
- 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 +2 -2
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
- package/lib/collection/components/duet-select/duet-select.js +5 -5
- package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
- package/lib/collection/components/duet-slideout/duet-slideout.js +1 -1
- package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
- package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
- package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
- package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
- package/lib/collection/components/duet-upload/duet-upload.js +14 -14
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
- package/lib/collection/utils/keyboard-utils.js +2 -1
- 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 +34 -10
- package/lib/dist-custom-elements/duet-breadcrumb.js +4 -4
- package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +2 -2
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +5 -5
- 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 +3 -3
- package/lib/dist-custom-elements/duet-choice-group.js +8 -8
- package/lib/dist-custom-elements/duet-choice.js +28 -51
- package/lib/dist-custom-elements/duet-collapsible.js +4 -4
- package/lib/dist-custom-elements/duet-combobox.js +51 -51
- package/lib/dist-custom-elements/duet-contact-card.js +8 -8
- package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
- package/lib/dist-custom-elements/duet-date-picker.js +13 -13
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +8 -8
- 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 +2 -2
- package/lib/dist-custom-elements/duet-footer.js +6 -6
- 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 +11 -11
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +11 -11
- 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 +1 -1
- 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 +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-item.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar.js +3 -3
- package/lib/dist-custom-elements/duet-modal.js +54 -22
- package/lib/dist-custom-elements/duet-multiselect.js +10 -10
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +5 -5
- package/lib/dist-custom-elements/duet-notification.js +3 -3
- package/lib/dist-custom-elements/duet-number-input.js +12 -12
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +2 -2
- package/lib/dist-custom-elements/duet-pagination.js +15 -15
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +2 -2
- package/lib/dist-custom-elements/duet-popup-menu.js +2 -2
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +4 -4
- package/lib/dist-custom-elements/duet-radio-group.js +8 -8
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +4 -4
- package/lib/dist-custom-elements/duet-range-stepper.js +5 -5
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +1 -1
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel.js +3 -3
- package/lib/dist-custom-elements/duet-slideout.js +5 -5
- 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 +5 -5
- package/lib/dist-custom-elements/duet-stepper.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar.js +4 -4
- package/lib/dist-custom-elements/duet-tab-group.js +14 -14
- package/lib/dist-custom-elements/duet-tab.js +3 -3
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +10 -10
- package/lib/dist-custom-elements/duet-toggle.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-item.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar.js +1 -1
- 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 +5 -5
- 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 +19 -19
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-834debd3.js → p-05cfef82.js} +2 -2
- package/lib/dist-custom-elements/{p-2f3ee599.js → p-0c564379.js} +4 -0
- package/lib/dist-custom-elements/{p-152360b2.js → p-0cb122bf.js} +3 -3
- package/lib/dist-custom-elements/{p-48ac698e.js → p-1156248d.js} +3 -3
- package/lib/dist-custom-elements/{p-ad2711d6.js → p-13bfc699.js} +1 -1
- package/lib/dist-custom-elements/{p-c81e3dce.js → p-18f2ebcd.js} +1 -1
- package/lib/dist-custom-elements/{p-edee8d26.js → p-1b6c466c.js} +7 -7
- package/lib/dist-custom-elements/{p-0e22be10.js → p-1d0794c9.js} +2 -2
- package/lib/dist-custom-elements/{p-9a4206ea.js → p-204592de.js} +2 -2
- package/lib/dist-custom-elements/{p-2807b16f.js → p-25c80cdb.js} +1 -1
- package/lib/dist-custom-elements/{p-20f18c3d.js → p-2a725cd8.js} +2 -2
- package/lib/dist-custom-elements/{p-3e45369c.js → p-2fa3041f.js} +5 -5
- package/lib/dist-custom-elements/{p-eb917962.js → p-309d40ca.js} +2 -2
- package/lib/dist-custom-elements/{p-c76e19d6.js → p-47534dc7.js} +1 -1
- package/lib/dist-custom-elements/{p-0d256713.js → p-4c9ec608.js} +1 -1
- package/lib/dist-custom-elements/{p-63679953.js → p-66a72b57.js} +2 -2
- package/lib/dist-custom-elements/{p-56c2e1f8.js → p-6d835c97.js} +11 -11
- package/lib/dist-custom-elements/{p-75d39aa3.js → p-771e2eca.js} +2 -2
- package/lib/dist-custom-elements/{p-0f30ce47.js → p-7f8b3939.js} +1 -1
- package/lib/dist-custom-elements/{p-a4254a38.js → p-95c03966.js} +1 -1
- package/lib/dist-custom-elements/{p-fcfbe6bf.js → p-95c051bc.js} +1 -1
- package/lib/dist-custom-elements/{p-7933de65.js → p-967a8f13.js} +3 -3
- package/lib/dist-custom-elements/{p-c994587b.js → p-9a81bb97.js} +1 -1
- package/lib/dist-custom-elements/{p-aa07d1a7.js → p-9df4cfa4.js} +6 -1
- package/lib/dist-custom-elements/{p-678b1b51.js → p-a33222ce.js} +6 -6
- package/lib/dist-custom-elements/{p-577e8d15.js → p-a6ab22be.js} +2 -2
- package/lib/dist-custom-elements/{p-f2587ca1.js → p-a8fcb246.js} +8 -8
- package/lib/dist-custom-elements/{p-1801b3e4.js → p-b1c54404.js} +2 -2
- package/lib/dist-custom-elements/{p-e524d43b.js → p-b5ab75f4.js} +2 -2
- package/lib/dist-custom-elements/{p-91afbcb8.js → p-b7523459.js} +10 -10
- package/lib/dist-custom-elements/{p-17e9d613.js → p-c622edcc.js} +7 -7
- package/lib/dist-custom-elements/{p-a9386ba7.js → p-ce8ea46e.js} +5 -5
- package/lib/dist-custom-elements/{p-20a7348b.js → p-cfc01f01.js} +5 -5
- package/lib/dist-custom-elements/{p-1f8e3f5c.js → p-e44089a7.js} +6 -3
- package/lib/dist-custom-elements/{p-bec3a15c.js → p-e44c0eff.js} +2 -1
- package/lib/dist-custom-elements/{p-84553757.js → p-e4eeb350.js} +4 -4
- package/lib/dist-custom-elements/{p-9091d3ba.js → p-e61e745f.js} +1 -1
- package/lib/dist-custom-elements/{p-e93331ad.js → p-e8ab4056.js} +2 -2
- package/lib/dist-custom-elements/{p-6376ce81.js → p-efd41b98.js} +6 -6
- package/lib/dist-custom-elements/{p-64c79bfb.js → p-f111aa04.js} +3 -3
- package/lib/dist-custom-elements/{p-ed995372.js → p-f9a8d356.js} +6 -0
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-47d9bf6c.system.entry.js → p-00490c2d.system.entry.js} +1 -1
- package/lib/duet/{p-35619112.system.entry.js → p-02a4fab4.system.entry.js} +1 -1
- package/lib/duet/{p-0a365c48.system.entry.js → p-03b3896d.system.entry.js} +1 -1
- package/lib/duet/{p-b4534f33.entry.js → p-03ba1f65.entry.js} +1 -1
- package/lib/duet/{p-61bdb8f5.entry.js → p-059954c5.entry.js} +1 -1
- package/lib/duet/{p-14cb3b5d.entry.js → p-062800e3.entry.js} +1 -1
- package/lib/duet/{p-47e58b32.entry.js → p-095aba6c.entry.js} +1 -1
- package/lib/duet/{p-43aef4d6.system.entry.js → p-0aaa7c52.system.entry.js} +1 -1
- package/lib/duet/{p-7a66b632.js → p-0bdcf67f.js} +1 -1
- package/lib/duet/{p-88390f0d.entry.js → p-0c4706df.entry.js} +1 -1
- package/lib/duet/{p-b0ff9649.system.entry.js → p-106ce428.system.entry.js} +1 -1
- package/lib/duet/{p-1c44fb6a.system.entry.js → p-10b6ecba.system.entry.js} +1 -1
- package/lib/duet/{p-479cb243.system.entry.js → p-117a0b29.system.entry.js} +1 -1
- package/lib/duet/{p-d49b2ec8.entry.js → p-148bc528.entry.js} +1 -1
- package/lib/duet/{p-79de6bd7.entry.js → p-181d6ed0.entry.js} +1 -1
- package/lib/duet/{p-127b077a.entry.js → p-190d47de.entry.js} +1 -1
- package/lib/duet/p-1c689a26.system.js +4 -0
- package/lib/duet/{p-470463d7.system.entry.js → p-1ccbd436.system.entry.js} +1 -1
- package/lib/duet/{p-f3622582.system.entry.js → p-1de381e2.system.entry.js} +1 -1
- package/lib/duet/{p-46d717b5.entry.js → p-1e75d2c2.entry.js} +1 -1
- package/lib/duet/{p-c2d0873d.system.entry.js → p-1fba8c78.system.entry.js} +1 -1
- package/lib/duet/{p-a4054df1.system.entry.js → p-20533062.system.entry.js} +1 -1
- package/lib/duet/{p-0cadbd87.system.entry.js → p-220bb407.system.entry.js} +1 -1
- package/lib/duet/{p-62f8a72d.system.entry.js → p-22a8fb2e.system.entry.js} +1 -1
- package/lib/duet/{p-4df61f88.system.entry.js → p-23be59a9.system.entry.js} +1 -1
- package/lib/duet/{p-4cfc156b.entry.js → p-24455de3.entry.js} +1 -1
- package/lib/duet/{p-53dda19c.entry.js → p-2528b528.entry.js} +1 -1
- package/lib/duet/{p-9176e0c2.entry.js → p-254e32d9.entry.js} +1 -1
- package/lib/duet/p-28669c27.entry.js +4 -0
- package/lib/duet/{p-b3cd865e.entry.js → p-2b44092c.entry.js} +1 -1
- package/lib/duet/{p-9ca2c729.system.entry.js → p-2be9b17b.system.entry.js} +1 -1
- package/lib/duet/{p-9319a23f.system.entry.js → p-2c13773e.system.entry.js} +1 -1
- package/lib/duet/p-2c75274e.system.entry.js +4 -0
- package/lib/duet/{p-4a5c19e5.system.entry.js → p-2cf0931d.system.entry.js} +1 -1
- package/lib/duet/{p-0729a30a.entry.js → p-2d1aa4bb.entry.js} +1 -1
- package/lib/duet/p-2d7c2ce7.entry.js +4 -0
- package/lib/duet/{p-76bc4957.system.entry.js → p-2e2b6a95.system.entry.js} +1 -1
- package/lib/duet/{p-c9fb1a93.entry.js → p-2eae6a4e.entry.js} +1 -1
- package/lib/duet/{p-faabf909.system.entry.js → p-3087775d.system.entry.js} +1 -1
- package/lib/duet/{p-b4c654b6.entry.js → p-3093fa09.entry.js} +1 -1
- package/lib/duet/p-31cc0bd5.entry.js +4 -0
- package/lib/duet/{p-302277e7.system.entry.js → p-31fe1d1a.system.entry.js} +1 -1
- package/lib/duet/{p-a1fba72f.system.entry.js → p-327e2019.system.entry.js} +1 -1
- package/lib/duet/{p-b2716337.system.js → p-34d7dd10.system.js} +1 -1
- package/lib/duet/p-37ae40e9.system.entry.js +4 -0
- package/lib/duet/{p-93d01125.system.entry.js → p-38a1721f.system.entry.js} +1 -1
- package/lib/duet/{p-8efa2c37.entry.js → p-3a5a9947.entry.js} +1 -1
- package/lib/duet/{p-65a8ccb8.entry.js → p-3a7d5532.entry.js} +1 -1
- package/lib/duet/{p-11f655ce.system.entry.js → p-3b859909.system.entry.js} +1 -1
- package/lib/duet/{p-3799f546.system.entry.js → p-3f86b484.system.entry.js} +1 -1
- package/lib/duet/{p-b53c5f39.system.entry.js → p-4112aa71.system.entry.js} +1 -1
- package/lib/duet/{p-fcdb9075.system.entry.js → p-41e58471.system.entry.js} +1 -1
- package/lib/duet/{p-6e6b361d.system.entry.js → p-42139e5a.system.entry.js} +1 -1
- package/lib/duet/{p-4e30645a.entry.js → p-421adcc5.entry.js} +1 -1
- package/lib/duet/p-446d5ba7.system.entry.js +4 -0
- package/lib/duet/{p-629c90d5.system.entry.js → p-45f3e361.system.entry.js} +1 -1
- package/lib/duet/p-46333231.js +4 -0
- package/lib/duet/{p-cbb47ed3.entry.js → p-46ce246d.entry.js} +1 -1
- package/lib/duet/{p-db6220cc.system.entry.js → p-49229ba1.system.entry.js} +1 -1
- package/lib/duet/{p-06a5d769.system.entry.js → p-4a2dc59a.system.entry.js} +1 -1
- package/lib/duet/p-4fc5b308.entry.js +4 -0
- package/lib/duet/{p-b4147628.system.entry.js → p-500206c3.system.entry.js} +1 -1
- package/lib/duet/{p-df5bd426.system.entry.js → p-50c4e263.system.entry.js} +1 -1
- package/lib/duet/{p-27b9ce07.entry.js → p-520a3a42.entry.js} +1 -1
- package/lib/duet/{p-4e19671c.system.entry.js → p-5241ef6c.system.entry.js} +1 -1
- package/lib/duet/{p-da9a1543.system.entry.js → p-55b8f2fc.system.entry.js} +1 -1
- package/lib/duet/{p-aece6518.system.entry.js → p-5781142a.system.entry.js} +1 -1
- package/lib/duet/p-5807d4a1.entry.js +4 -0
- package/lib/duet/{p-0613bd7b.system.entry.js → p-5edba964.system.entry.js} +1 -1
- package/lib/duet/{p-fc99a8d0.entry.js → p-620cedba.entry.js} +1 -1
- package/lib/duet/{p-3272c31c.entry.js → p-6217ecbb.entry.js} +1 -1
- package/lib/duet/{p-2d118807.entry.js → p-63c6795c.entry.js} +1 -1
- package/lib/duet/p-67dc45d7.js +4 -0
- package/lib/duet/{p-0d5ea85f.system.entry.js → p-69b543fa.system.entry.js} +1 -1
- package/lib/duet/p-6e7b84a3.entry.js +4 -0
- package/lib/duet/{p-f396711d.entry.js → p-730aecdb.entry.js} +1 -1
- package/lib/duet/p-73e66b09.system.js +4 -0
- package/lib/duet/{p-549766dc.entry.js → p-74700e22.entry.js} +1 -1
- package/lib/duet/{p-cd5f4075.system.entry.js → p-76928c65.system.entry.js} +1 -1
- package/lib/duet/{p-f1caf89d.system.entry.js → p-76fec604.system.entry.js} +1 -1
- package/lib/duet/{p-227d2ea5.system.entry.js → p-79aa2820.system.entry.js} +1 -1
- package/lib/duet/p-79c1afbf.entry.js +4 -0
- package/lib/duet/{p-9b364492.entry.js → p-7a4fa93b.entry.js} +1 -1
- package/lib/duet/{p-d921dc51.system.entry.js → p-7a96b8b3.system.entry.js} +1 -1
- package/lib/duet/{p-a8d4a4d8.system.entry.js → p-803acead.system.entry.js} +1 -1
- package/lib/duet/{p-5f3cc9cc.system.entry.js → p-81b997f3.system.entry.js} +1 -1
- package/lib/duet/{p-e73ec26d.entry.js → p-82fc84ad.entry.js} +1 -1
- package/lib/duet/{p-71f101cd.system.entry.js → p-84dd785f.system.entry.js} +1 -1
- package/lib/duet/{p-78232810.system.entry.js → p-86b4751c.system.entry.js} +1 -1
- package/lib/duet/{p-ad2e7d4d.system.entry.js → p-87b0ef7e.system.entry.js} +1 -1
- package/lib/duet/{p-598848bb.entry.js → p-87d6d6d1.entry.js} +1 -1
- package/lib/duet/{p-d627991d.entry.js → p-87e3f51e.entry.js} +1 -1
- package/lib/duet/{p-4bebe5f9.entry.js → p-88bddd9b.entry.js} +1 -1
- package/lib/duet/{p-3d187b25.system.entry.js → p-8aa594cc.system.entry.js} +1 -1
- package/lib/duet/{p-abef55b3.entry.js → p-8c088f60.entry.js} +1 -1
- package/lib/duet/{p-2e1077be.entry.js → p-8c8dbb29.entry.js} +1 -1
- package/lib/duet/{p-7a20254b.system.js → p-8db70218.system.js} +1 -1
- package/lib/duet/{p-49bd5789.system.entry.js → p-8f36d670.system.entry.js} +1 -1
- package/lib/duet/{p-0f80de34.system.entry.js → p-8f46fcdc.system.entry.js} +1 -1
- package/lib/duet/{p-04604c7d.system.entry.js → p-936f98fb.system.entry.js} +1 -1
- package/lib/duet/{p-afe99772.system.entry.js → p-969d0963.system.entry.js} +1 -1
- package/lib/duet/{p-36c7b722.system.entry.js → p-975eda35.system.entry.js} +1 -1
- package/lib/duet/{p-eafc21dd.system.entry.js → p-986e6e20.system.entry.js} +1 -1
- package/lib/duet/p-9a467121.system.entry.js +4 -0
- package/lib/duet/p-9b0c7d54.entry.js +4 -0
- package/lib/duet/{p-8f2400f8.entry.js → p-9bdb09d1.entry.js} +1 -1
- package/lib/duet/{p-d849f056.entry.js → p-9ca4671a.entry.js} +1 -1
- package/lib/duet/{p-5cc472da.entry.js → p-9dc68857.entry.js} +1 -1
- package/lib/duet/{p-fafb02c5.system.entry.js → p-a026f0ad.system.entry.js} +1 -1
- package/lib/duet/p-a1b7f2a0.js +4 -0
- package/lib/duet/{p-09373a35.entry.js → p-a2becf94.entry.js} +1 -1
- package/lib/duet/{p-6ee0d230.system.entry.js → p-a6111d86.system.entry.js} +1 -1
- package/lib/duet/{p-6cab7d53.entry.js → p-a6276e85.entry.js} +1 -1
- package/lib/duet/{p-53b1b4ff.entry.js → p-a9227434.entry.js} +1 -1
- package/lib/duet/{p-d1785147.system.entry.js → p-aaa21d34.system.entry.js} +1 -1
- package/lib/duet/{p-1d480462.system.entry.js → p-ab7e3bc7.system.entry.js} +1 -1
- package/lib/duet/{p-2ce48cb5.entry.js → p-ab7e7315.entry.js} +1 -1
- package/lib/duet/{p-5c70ad80.entry.js → p-abc309a5.entry.js} +1 -1
- package/lib/duet/{p-1a088c64.entry.js → p-ac5eb233.entry.js} +1 -1
- package/lib/duet/p-ac6596bc.entry.js +4 -0
- package/lib/duet/{p-cd396f47.entry.js → p-afd9fa1e.entry.js} +1 -1
- package/lib/duet/{p-29aa3196.system.entry.js → p-b13ac0d6.system.entry.js} +2 -2
- package/lib/duet/p-b31d31d8.system.js +4 -0
- package/lib/duet/{p-a47ff0f9.entry.js → p-b60245fb.entry.js} +1 -1
- package/lib/duet/{p-e45e1ad1.entry.js → p-b82a3bc9.entry.js} +1 -1
- package/lib/duet/p-bb1242c4.system.entry.js +4 -0
- package/lib/duet/{p-41cec1fa.system.entry.js → p-bb65547e.system.entry.js} +1 -1
- package/lib/duet/{p-23924ee4.system.entry.js → p-bc437348.system.entry.js} +1 -1
- package/lib/duet/{p-bfe7345f.system.entry.js → p-bc4503a0.system.entry.js} +1 -1
- package/lib/duet/{p-2bfe040a.entry.js → p-bd3e6f66.entry.js} +1 -1
- package/lib/duet/{p-76f1a474.entry.js → p-bdb89a57.entry.js} +1 -1
- package/lib/duet/{p-4248b34b.entry.js → p-be289587.entry.js} +1 -1
- package/lib/duet/{p-aa07d1a7.js → p-beeb12f1.js} +1 -1
- package/lib/duet/{p-a8783554.entry.js → p-c109f676.entry.js} +1 -1
- package/lib/duet/{p-d2e7c4ba.entry.js → p-c61b7a67.entry.js} +1 -1
- package/lib/duet/{p-f972232d.entry.js → p-c7b0caee.entry.js} +1 -1
- package/lib/duet/{p-12ddb88e.entry.js → p-c9bc93f6.entry.js} +1 -1
- package/lib/duet/{p-e418ecc5.system.entry.js → p-c9ecaf47.system.entry.js} +1 -1
- package/lib/duet/{p-ee2526a2.system.entry.js → p-cad03252.system.entry.js} +1 -1
- package/lib/duet/{p-8dd241c6.system.js → p-cc5e6288.system.js} +1 -1
- package/lib/duet/{p-00cb57a0.entry.js → p-ccb310bf.entry.js} +1 -1
- package/lib/duet/{p-cfd6cdac.system.js → p-cd536e94.system.js} +1 -1
- package/lib/duet/{p-eb4526a5.system.entry.js → p-cee77d01.system.entry.js} +1 -1
- package/lib/duet/{p-d3671b0b.entry.js → p-cf17a64c.entry.js} +1 -1
- package/lib/duet/{p-579b25fe.system.entry.js → p-cfbd8dea.system.entry.js} +1 -1
- package/lib/duet/{p-d32483d3.entry.js → p-d5c7c1a6.entry.js} +1 -1
- package/lib/duet/{p-c74758d9.entry.js → p-d620395a.entry.js} +1 -1
- package/lib/duet/{p-b9478c40.entry.js → p-d826cf0f.entry.js} +1 -1
- package/lib/duet/p-db25d820.system.entry.js +4 -0
- package/lib/duet/{p-66486150.entry.js → p-db42dba7.entry.js} +1 -1
- package/lib/duet/{p-6270bb70.system.entry.js → p-dc79932a.system.entry.js} +2 -2
- package/lib/duet/{p-06c66116.entry.js → p-de4fdfa7.entry.js} +1 -1
- package/lib/duet/{p-2fbd04f4.entry.js → p-dfb38e8b.entry.js} +1 -1
- package/lib/duet/{p-e83d0d2b.entry.js → p-e14bba59.entry.js} +1 -1
- package/lib/duet/{p-e214ba3f.entry.js → p-e1b17390.entry.js} +1 -1
- package/lib/duet/{p-692591e8.entry.js → p-e4063faf.entry.js} +1 -1
- package/lib/duet/{p-1ba88f61.entry.js → p-e4eeac5d.entry.js} +1 -1
- package/lib/duet/{p-bd08cea3.system.entry.js → p-e638b5f1.system.entry.js} +1 -1
- package/lib/duet/{p-3066bcb5.js → p-e852decc.js} +1 -1
- package/lib/duet/{p-55e89add.system.entry.js → p-e8d08921.system.entry.js} +1 -1
- package/lib/duet/{p-f3d8db78.entry.js → p-e9a9c2ac.entry.js} +1 -1
- package/lib/duet/{p-e60bf586.system.entry.js → p-eb8322af.system.entry.js} +1 -1
- package/lib/duet/{p-2c78f4e7.system.entry.js → p-ebdf6136.system.entry.js} +1 -1
- package/lib/duet/{p-e2dc45d0.system.entry.js → p-ed752627.system.entry.js} +1 -1
- package/lib/duet/{p-df714cea.entry.js → p-ee5aa36b.entry.js} +1 -1
- package/lib/duet/{p-99efd567.entry.js → p-ee5d6418.entry.js} +1 -1
- package/lib/duet/p-eef2351f.system.js +4 -0
- package/lib/duet/{p-887ffbd4.entry.js → p-f12a21c8.entry.js} +1 -1
- package/lib/duet/{p-381e8ed9.system.entry.js → p-f447dc6b.system.entry.js} +1 -1
- package/lib/duet/{p-b55b77a8.entry.js → p-f554c8ae.entry.js} +1 -1
- package/lib/duet/{p-0147c133.system.entry.js → p-f63a6bb7.system.entry.js} +1 -1
- package/lib/duet/{p-285e6f0b.system.entry.js → p-f69d61e7.system.entry.js} +1 -1
- package/lib/duet/{p-4cc461bc.system.entry.js → p-f7462af1.system.entry.js} +1 -1
- package/lib/duet/{p-9ddd62a5.entry.js → p-f789f606.entry.js} +1 -1
- package/lib/duet/p-f9a8d356.js +4 -0
- package/lib/duet/{p-19c22eeb.entry.js → p-fa6b4be4.entry.js} +1 -1
- package/lib/duet/{p-215f47be.entry.js → p-fae3a8e7.entry.js} +1 -1
- package/lib/esm/{common-strings-7c7f8e40.js → common-strings-af765cad.js} +6 -1
- package/lib/esm/duet-action-button.entry.js +4 -4
- package/lib/esm/duet-alert.entry.js +2 -2
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-banner.entry.js +31 -8
- package/lib/esm/duet-breadcrumb.entry.js +2 -2
- package/lib/esm/duet-breadcrumbs.entry.js +3 -3
- package/lib/esm/duet-button_2.entry.js +4 -4
- package/lib/esm/duet-callout.entry.js +1 -1
- package/lib/esm/duet-caption_4.entry.js +5 -5
- package/lib/esm/duet-card.entry.js +4 -4
- package/lib/esm/duet-checkbox.entry.js +2 -2
- package/lib/esm/duet-checkmark.entry.js +1 -1
- package/lib/esm/duet-chip.entry.js +2 -2
- package/lib/esm/duet-choice_2.entry.js +21 -37
- package/lib/esm/duet-collapsible.entry.js +3 -3
- package/lib/esm/duet-combobox.entry.js +50 -50
- package/lib/esm/duet-contact-card.entry.js +1 -1
- package/lib/esm/duet-cookie-consent.entry.js +2 -2
- package/lib/esm/duet-date-picker.entry.js +2 -2
- package/lib/esm/duet-divider_2.entry.js +3 -3
- package/lib/esm/duet-editable-table_3.entry.js +4 -4
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +2 -2
- package/lib/esm/duet-file-chooser.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +3 -3
- package/lib/esm/duet-grid_2.entry.js +3 -3
- package/lib/esm/duet-header_2.entry.js +5 -5
- package/lib/esm/duet-hero.entry.js +3 -3
- package/lib/esm/duet-icon.entry.js +3 -3
- package/lib/esm/duet-input_2.entry.js +4 -4
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +1 -1
- package/lib/esm/duet-menu-bar-button.entry.js +2 -2
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar-dropdown.entry.js +3 -3
- package/lib/esm/duet-menu-bar-item.entry.js +2 -2
- package/lib/esm/duet-menu-bar-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar.entry.js +2 -2
- package/lib/esm/duet-modal.entry.js +45 -14
- package/lib/esm/duet-multiselect.entry.js +2 -2
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +2 -2
- package/lib/esm/duet-number-input.entry.js +2 -2
- package/lib/esm/duet-overlay.entry.js +4 -2
- package/lib/esm/duet-page-heading.entry.js +1 -1
- package/lib/esm/duet-pagination_2.entry.js +4 -4
- package/lib/esm/duet-popup-menu-item.entry.js +1 -1
- package/lib/esm/duet-popup-menu.entry.js +3 -3
- package/lib/esm/duet-progress.entry.js +1 -1
- package/lib/esm/duet-promo-card.entry.js +3 -3
- package/lib/esm/duet-radio_2.entry.js +1 -1
- package/lib/esm/duet-range-slider.entry.js +3 -3
- package/lib/esm/duet-scrollable_3.entry.js +4 -4
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +1 -1
- package/lib/esm/duet-shaped-image.entry.js +1 -1
- package/lib/esm/duet-show-more.entry.js +2 -2
- package/lib/esm/duet-slideout-lang.entry.js +1 -1
- package/lib/esm/duet-slideout-link.entry.js +1 -1
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm/duet-slideout-panel.entry.js +4 -4
- package/lib/esm/duet-slideout.entry.js +5 -5
- package/lib/esm/duet-step_2.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-item.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar.entry.js +2 -2
- package/lib/esm/duet-textarea.entry.js +1 -1
- package/lib/esm/duet-toggle.entry.js +2 -2
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-toolbar-dropdown.entry.js +2 -2
- package/lib/esm/duet-toolbar-item.entry.js +1 -1
- package/lib/esm/duet-toolbar-link.entry.js +1 -1
- package/lib/esm/duet-toolbar.entry.js +1 -1
- package/lib/esm/duet-tooltip-button_2.entry.js +3 -3
- package/lib/esm/duet-tooltip.entry.js +3 -3
- package/lib/esm/duet-tray.entry.js +3 -3
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-upload-item.entry.js +1 -1
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +3 -3
- package/lib/esm/{focus-utils-b121d217.js → focus-utils-2ec819ab.js} +1 -1
- package/lib/esm/{index-ae33ad50.js → index-70bb0f65.js} +1 -1
- package/lib/esm/{keyboard-utils-0708be80.js → keyboard-utils-439bcc8b.js} +2 -1
- package/lib/esm/loader.js +3 -3
- package/lib/esm/{token-utils-be83d039.js → token-utils-2adbab3f.js} +1 -1
- package/lib/esm/{tokens-94133fa9.js → tokens-5e02bbe0.js} +6 -0
- package/lib/esm/{tokens.module-3547915d.js → tokens.module-8dbafec7.js} +4 -0
- package/lib/esm-es5/common-strings-af765cad.js +4 -0
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- 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 +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +2 -2
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +2 -2
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +2 -2
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- 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 +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- 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 +1 -1
- package/lib/esm-es5/duet-popup-menu-item.entry.js +1 -1
- 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 +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +1 -1
- 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 +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- 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 +1 -1
- package/lib/esm-es5/duet-toolbar-item.entry.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/focus-utils-2ec819ab.js +4 -0
- package/lib/esm-es5/{index-ae33ad50.js → index-70bb0f65.js} +1 -1
- package/lib/esm-es5/{keyboard-utils-0708be80.js → keyboard-utils-439bcc8b.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{token-utils-be83d039.js → token-utils-2adbab3f.js} +1 -1
- package/lib/esm-es5/tokens-5e02bbe0.js +4 -0
- package/lib/esm-es5/tokens.module-8dbafec7.js +4 -0
- package/lib/types/common-strings.d.ts +1 -0
- package/lib/types/components/duet-banner/duet-banner.d.ts +8 -3
- package/lib/types/components/duet-choice/duet-choice.d.ts +1 -5
- package/lib/types/components/duet-fieldset/duet-fieldset.d.ts +1 -1
- package/lib/types/components/duet-modal/duet-modal.d.ts +21 -8
- package/lib/types/components/duet-overlay/duet-overlay.d.ts +4 -0
- package/lib/types/components.d.ts +34 -18
- package/package.json +5 -5
- package/lib/duet/p-0239cd87.system.entry.js +0 -4
- package/lib/duet/p-03f6f09a.js +0 -4
- package/lib/duet/p-16478189.system.entry.js +0 -4
- package/lib/duet/p-1f98c13d.entry.js +0 -4
- package/lib/duet/p-3076ce41.entry.js +0 -4
- package/lib/duet/p-32c25096.entry.js +0 -4
- package/lib/duet/p-3624bad1.js +0 -4
- package/lib/duet/p-41ba30b7.system.js +0 -4
- package/lib/duet/p-52e38899.system.js +0 -4
- package/lib/duet/p-580a7108.system.js +0 -4
- package/lib/duet/p-5e1cd395.entry.js +0 -4
- package/lib/duet/p-650a419d.system.js +0 -4
- package/lib/duet/p-6968b5e5.system.entry.js +0 -4
- package/lib/duet/p-77621947.entry.js +0 -4
- package/lib/duet/p-78b32f51.system.entry.js +0 -4
- package/lib/duet/p-910b09cf.entry.js +0 -4
- package/lib/duet/p-9b216691.entry.js +0 -4
- package/lib/duet/p-ba13e78e.entry.js +0 -4
- package/lib/duet/p-bf2e4020.system.entry.js +0 -4
- package/lib/duet/p-cbdba86b.entry.js +0 -4
- package/lib/duet/p-ed995372.js +0 -4
- package/lib/duet/p-f4821cf8.system.entry.js +0 -4
- package/lib/duet/p-f7c29a40.js +0 -4
- package/lib/esm-es5/common-strings-7c7f8e40.js +0 -4
- package/lib/esm-es5/focus-utils-b121d217.js +0 -4
- package/lib/esm-es5/tokens-94133fa9.js +0 -4
- package/lib/esm-es5/tokens.module-3547915d.js +0 -4
|
@@ -14,6 +14,19 @@ import { getColorByName } from "../../utils/token-utils";
|
|
|
14
14
|
*/
|
|
15
15
|
export class DuetBanner {
|
|
16
16
|
constructor() {
|
|
17
|
+
this.checkBannerSize = () => {
|
|
18
|
+
const elementSize = this.element.clientWidth;
|
|
19
|
+
if (elementSize < 500 || this.size === "small") {
|
|
20
|
+
this.currentSize = "small";
|
|
21
|
+
}
|
|
22
|
+
else if (elementSize < 900 || this.size === "medium") {
|
|
23
|
+
this.currentSize = "medium";
|
|
24
|
+
}
|
|
25
|
+
else {
|
|
26
|
+
this.currentSize = "large";
|
|
27
|
+
}
|
|
28
|
+
this.setButtonSize();
|
|
29
|
+
};
|
|
17
30
|
/**
|
|
18
31
|
* Default to smaller button size for small and medium banners.
|
|
19
32
|
*/
|
|
@@ -21,19 +34,20 @@ export class DuetBanner {
|
|
|
21
34
|
if (this.hasActionSlot) {
|
|
22
35
|
const buttons = this.element.querySelectorAll("[slot='action'] duet-button, duet-button[slot='action']");
|
|
23
36
|
for (const button of buttons) {
|
|
24
|
-
if (button && button.getAttribute("size") === null && this.
|
|
37
|
+
if (button && button.getAttribute("size") === null && this.currentSize !== "large") {
|
|
25
38
|
button.size = "small";
|
|
26
39
|
}
|
|
27
40
|
}
|
|
28
41
|
}
|
|
29
42
|
};
|
|
43
|
+
this.currentSize = undefined;
|
|
30
44
|
this.theme = "";
|
|
31
45
|
this.margin = "auto";
|
|
32
46
|
this.backgroundColor = "primary-lighter";
|
|
33
47
|
this.iconColor = "gray-lightest";
|
|
34
48
|
this.iconBackgroundColor = "primary";
|
|
35
49
|
this.textColor = "secondary";
|
|
36
|
-
this.size = "
|
|
50
|
+
this.size = "large";
|
|
37
51
|
this.image = "";
|
|
38
52
|
this.sources = undefined;
|
|
39
53
|
this.icon = "";
|
|
@@ -49,6 +63,15 @@ export class DuetBanner {
|
|
|
49
63
|
this.hasActionSlot = hasSlot(this.element, "action");
|
|
50
64
|
checkNamedSlotElement(this.element, "heading", "span");
|
|
51
65
|
this.setButtonSize();
|
|
66
|
+
setTimeout(() => {
|
|
67
|
+
this.checkBannerSize();
|
|
68
|
+
}, 0);
|
|
69
|
+
}
|
|
70
|
+
connectedCallback() {
|
|
71
|
+
window.addEventListener("resize", this.checkBannerSize);
|
|
72
|
+
}
|
|
73
|
+
disconnectedCallback() {
|
|
74
|
+
window.removeEventListener("resize", this.checkBannerSize);
|
|
52
75
|
}
|
|
53
76
|
/**
|
|
54
77
|
* render() function
|
|
@@ -68,8 +91,8 @@ export class DuetBanner {
|
|
|
68
91
|
return (h(Host, { class: { "duet-m-0": this.margin === "none" } }, h("aside", { class: {
|
|
69
92
|
"duet-banner": true,
|
|
70
93
|
"duet-theme-turva": this.theme === "turva",
|
|
71
|
-
[this.
|
|
72
|
-
}, style: bannerStyles }, h("div", { class: "visual" }, h("div", { class: "image-container" }, this.image && h(DuetPicture, Object.assign({}, pictureSource))), this.icon && (h("duet-icon", { theme: this.theme, class: "icon", name: this.icon, shape: "brand", size: this.
|
|
94
|
+
[this.currentSize]: true,
|
|
95
|
+
}, style: bannerStyles }, h("div", { class: "visual" }, h("div", { class: "image-container" }, this.image && h(DuetPicture, Object.assign({}, pictureSource))), this.icon && (h("duet-icon", { theme: this.theme, class: "icon", name: this.icon, shape: "brand", size: this.currentSize === "large" ? "xx-large" : "x-large", color: this.iconColor, background: this.iconBackgroundColor, "background-rotation": "7", "background-opacity": "0.85", margin: "none" }))), h("div", { class: "content" }, this.hasHeadingSlot && (h("div", { class: "heading" }, h("duet-heading", { theme: this.theme, level: this.headingLevel, "visual-level": this.currentSize === "large" ? "h2" : "h3", "fixed-size": true, margin: "none", color: this.textColor }, h("span", null, h("slot", { name: "heading" }))))), this.hasDescriptionSlot && (h("div", { class: "description", style: { color } }, h("slot", { name: "description" }))), this.hasActionSlot && (h("div", { class: "action" }, h("slot", { name: "action" })))))));
|
|
73
96
|
}
|
|
74
97
|
static get is() { return "duet-banner"; }
|
|
75
98
|
static get encapsulation() { return "shadow"; }
|
|
@@ -233,19 +256,25 @@ export class DuetBanner {
|
|
|
233
256
|
"type": "string",
|
|
234
257
|
"mutable": true,
|
|
235
258
|
"complexType": {
|
|
236
|
-
"original": "
|
|
237
|
-
"resolved": "\"
|
|
238
|
-
"references": {
|
|
259
|
+
"original": "bannerSize",
|
|
260
|
+
"resolved": "\"large\" | \"medium\" | \"small\"",
|
|
261
|
+
"references": {
|
|
262
|
+
"bannerSize": {
|
|
263
|
+
"location": "local",
|
|
264
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-banner/duet-banner.tsx",
|
|
265
|
+
"id": "src/components/duet-banner/duet-banner.tsx::bannerSize"
|
|
266
|
+
}
|
|
267
|
+
}
|
|
239
268
|
},
|
|
240
269
|
"required": false,
|
|
241
270
|
"optional": false,
|
|
242
271
|
"docs": {
|
|
243
272
|
"tags": [],
|
|
244
|
-
"text": "
|
|
273
|
+
"text": "Maximum size of the banner. The banner will automatically switch to smaller sizes when space is not available.\nSizes \"large\" and \"medium\" are horizontal, \"small\" is vertical,"
|
|
245
274
|
},
|
|
246
275
|
"attribute": "size",
|
|
247
276
|
"reflect": false,
|
|
248
|
-
"defaultValue": "\"
|
|
277
|
+
"defaultValue": "\"large\""
|
|
249
278
|
},
|
|
250
279
|
"image": {
|
|
251
280
|
"type": "string",
|
|
@@ -338,5 +367,10 @@ export class DuetBanner {
|
|
|
338
367
|
}
|
|
339
368
|
};
|
|
340
369
|
}
|
|
370
|
+
static get states() {
|
|
371
|
+
return {
|
|
372
|
+
"currentSize": {}
|
|
373
|
+
};
|
|
374
|
+
}
|
|
341
375
|
static get elementRef() { return "element"; }
|
|
342
376
|
}
|
|
@@ -442,7 +442,7 @@ export class DuetButton {
|
|
|
442
442
|
"references": {
|
|
443
443
|
"DuetButtonVariation": {
|
|
444
444
|
"location": "local",
|
|
445
|
-
"path": "/Users/
|
|
445
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-button/duet-button.tsx",
|
|
446
446
|
"id": "src/components/duet-button/duet-button.tsx::DuetButtonVariation"
|
|
447
447
|
}
|
|
448
448
|
}
|
|
@@ -562,7 +562,7 @@ export class DuetButton {
|
|
|
562
562
|
"references": {
|
|
563
563
|
"DuetButtonTextCentering": {
|
|
564
564
|
"location": "local",
|
|
565
|
-
"path": "/Users/
|
|
565
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-button/duet-button.tsx",
|
|
566
566
|
"id": "src/components/duet-button/duet-button.tsx::DuetButtonTextCentering"
|
|
567
567
|
}
|
|
568
568
|
}
|
|
@@ -586,7 +586,7 @@ export class DuetButton {
|
|
|
586
586
|
"references": {
|
|
587
587
|
"DuetButtonWrapping": {
|
|
588
588
|
"location": "local",
|
|
589
|
-
"path": "/Users/
|
|
589
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-button/duet-button.tsx",
|
|
590
590
|
"id": "src/components/duet-button/duet-button.tsx::DuetButtonWrapping"
|
|
591
591
|
}
|
|
592
592
|
}
|
|
@@ -943,7 +943,7 @@ export class DuetButton {
|
|
|
943
943
|
"references": {
|
|
944
944
|
"DuetButtonIconSize": {
|
|
945
945
|
"location": "local",
|
|
946
|
-
"path": "/Users/
|
|
946
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-button/duet-button.tsx",
|
|
947
947
|
"id": "src/components/duet-button/duet-button.tsx::DuetButtonIconSize"
|
|
948
948
|
}
|
|
949
949
|
}
|
|
@@ -967,7 +967,7 @@ export class DuetButton {
|
|
|
967
967
|
"references": {
|
|
968
968
|
"DuetButtonSize": {
|
|
969
969
|
"location": "local",
|
|
970
|
-
"path": "/Users/
|
|
970
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-button/duet-button.tsx",
|
|
971
971
|
"id": "src/components/duet-button/duet-button.tsx::DuetButtonSize"
|
|
972
972
|
}
|
|
973
973
|
}
|
|
@@ -118,7 +118,7 @@ export class DuetCaption {
|
|
|
118
118
|
"references": {
|
|
119
119
|
"DuetCaptionSize": {
|
|
120
120
|
"location": "local",
|
|
121
|
-
"path": "/Users/
|
|
121
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-caption/duet-caption.tsx",
|
|
122
122
|
"id": "src/components/duet-caption/duet-caption.tsx::DuetCaptionSize"
|
|
123
123
|
}
|
|
124
124
|
}
|
|
@@ -190,7 +190,7 @@ export class DuetCard {
|
|
|
190
190
|
"references": {
|
|
191
191
|
"DuetCardVariation": {
|
|
192
192
|
"location": "local",
|
|
193
|
-
"path": "/Users/
|
|
193
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-card/duet-card.tsx",
|
|
194
194
|
"id": "src/components/duet-card/duet-card.tsx::DuetCardVariation"
|
|
195
195
|
}
|
|
196
196
|
}
|
|
@@ -361,7 +361,7 @@ export class DuetCard {
|
|
|
361
361
|
"references": {
|
|
362
362
|
"DuetCardPadding": {
|
|
363
363
|
"location": "local",
|
|
364
|
-
"path": "/Users/
|
|
364
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-card/duet-card.tsx",
|
|
365
365
|
"id": "src/components/duet-card/duet-card.tsx::DuetCardPadding"
|
|
366
366
|
}
|
|
367
367
|
}
|
|
@@ -484,7 +484,7 @@ export class DuetCard {
|
|
|
484
484
|
"references": {
|
|
485
485
|
"DuetCardToggleEvent": {
|
|
486
486
|
"location": "local",
|
|
487
|
-
"path": "/Users/
|
|
487
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-card/duet-card.tsx",
|
|
488
488
|
"id": "src/components/duet-card/duet-card.tsx::DuetCardToggleEvent"
|
|
489
489
|
}
|
|
490
490
|
}
|
|
@@ -535,7 +535,7 @@ export class DuetCheckbox {
|
|
|
535
535
|
"references": {
|
|
536
536
|
"DuetCheckboxEvent": {
|
|
537
537
|
"location": "local",
|
|
538
|
-
"path": "/Users/
|
|
538
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-checkbox/duet-checkbox.tsx",
|
|
539
539
|
"id": "src/components/duet-checkbox/duet-checkbox.tsx::DuetCheckboxEvent"
|
|
540
540
|
}
|
|
541
541
|
}
|
|
@@ -556,7 +556,7 @@ export class DuetCheckbox {
|
|
|
556
556
|
"references": {
|
|
557
557
|
"DuetCheckboxEvent": {
|
|
558
558
|
"location": "local",
|
|
559
|
-
"path": "/Users/
|
|
559
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-checkbox/duet-checkbox.tsx",
|
|
560
560
|
"id": "src/components/duet-checkbox/duet-checkbox.tsx::DuetCheckboxEvent"
|
|
561
561
|
}
|
|
562
562
|
}
|
|
@@ -577,7 +577,7 @@ export class DuetCheckbox {
|
|
|
577
577
|
"references": {
|
|
578
578
|
"DuetCheckboxEvent": {
|
|
579
579
|
"location": "local",
|
|
580
|
-
"path": "/Users/
|
|
580
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-checkbox/duet-checkbox.tsx",
|
|
581
581
|
"id": "src/components/duet-checkbox/duet-checkbox.tsx::DuetCheckboxEvent"
|
|
582
582
|
}
|
|
583
583
|
}
|
|
@@ -260,7 +260,7 @@ export class DuetChip {
|
|
|
260
260
|
"references": {
|
|
261
261
|
"DuetChipVariation": {
|
|
262
262
|
"location": "local",
|
|
263
|
-
"path": "/Users/
|
|
263
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-chip/duet-chip.tsx",
|
|
264
264
|
"id": "src/components/duet-chip/duet-chip.tsx::DuetChipVariation"
|
|
265
265
|
}
|
|
266
266
|
}
|
|
@@ -284,7 +284,7 @@ export class DuetChip {
|
|
|
284
284
|
"references": {
|
|
285
285
|
"DuetChipSize": {
|
|
286
286
|
"location": "local",
|
|
287
|
-
"path": "/Users/
|
|
287
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-chip/duet-chip.tsx",
|
|
288
288
|
"id": "src/components/duet-chip/duet-chip.tsx::DuetChipSize"
|
|
289
289
|
}
|
|
290
290
|
}
|
|
@@ -512,7 +512,7 @@ export class DuetChip {
|
|
|
512
512
|
"references": {
|
|
513
513
|
"DuetChipEvent": {
|
|
514
514
|
"location": "local",
|
|
515
|
-
"path": "/Users/
|
|
515
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-chip/duet-chip.tsx",
|
|
516
516
|
"id": "src/components/duet-chip/duet-chip.tsx::DuetChipEvent"
|
|
517
517
|
}
|
|
518
518
|
}
|
|
@@ -533,7 +533,7 @@ export class DuetChip {
|
|
|
533
533
|
"references": {
|
|
534
534
|
"DuetChipEvent": {
|
|
535
535
|
"location": "local",
|
|
536
|
-
"path": "/Users/
|
|
536
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-chip/duet-chip.tsx",
|
|
537
537
|
"id": "src/components/duet-chip/duet-chip.tsx::DuetChipEvent"
|
|
538
538
|
}
|
|
539
539
|
}
|
|
@@ -554,7 +554,7 @@ export class DuetChip {
|
|
|
554
554
|
"references": {
|
|
555
555
|
"DuetChipEvent": {
|
|
556
556
|
"location": "local",
|
|
557
|
-
"path": "/Users/
|
|
557
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-chip/duet-chip.tsx",
|
|
558
558
|
"id": "src/components/duet-chip/duet-chip.tsx::DuetChipEvent"
|
|
559
559
|
}
|
|
560
560
|
}
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
position: relative;
|
|
111
111
|
z-index: 100;
|
|
112
112
|
display: flex;
|
|
113
|
-
gap:
|
|
113
|
+
gap: 12px;
|
|
114
114
|
align-items: center;
|
|
115
115
|
justify-content: flex-start;
|
|
116
116
|
width: 100%;
|
|
@@ -157,7 +157,6 @@
|
|
|
157
157
|
}
|
|
158
158
|
.checked > .duet-choice-label {
|
|
159
159
|
padding: 1rem;
|
|
160
|
-
color: rgb(0, 119, 179) !important;
|
|
161
160
|
background: rgb(243, 249, 252);
|
|
162
161
|
border-color: rgb(0, 119, 179) !important;
|
|
163
162
|
border-width: 2px;
|
|
@@ -166,7 +165,6 @@
|
|
|
166
165
|
border-color: rgb(0, 119, 179);
|
|
167
166
|
}
|
|
168
167
|
.duet-theme-turva .checked > .duet-choice-label {
|
|
169
|
-
color: rgb(23, 28, 58) !important;
|
|
170
168
|
background: rgb(245, 245, 247);
|
|
171
169
|
border-color: rgb(23, 28, 58) !important;
|
|
172
170
|
}
|
|
@@ -174,7 +172,7 @@
|
|
|
174
172
|
border-color: rgb(198, 12, 48);
|
|
175
173
|
}
|
|
176
174
|
.checked.collapsible > .duet-choice-label, .collapsible-force-expanded.collapsible > .duet-choice-label {
|
|
177
|
-
padding-bottom: calc(1rem +
|
|
175
|
+
padding-bottom: calc(1rem + 2px) !important;
|
|
178
176
|
border-bottom: 0 !important;
|
|
179
177
|
border-bottom-right-radius: 0;
|
|
180
178
|
border-bottom-left-radius: 0;
|
|
@@ -188,7 +186,7 @@
|
|
|
188
186
|
border-color: rgb(144, 149, 153);
|
|
189
187
|
}
|
|
190
188
|
.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover) > .duet-choice-card-flextainer .duet-choice-label:not(.checked) {
|
|
191
|
-
border-color: rgb(
|
|
189
|
+
border-color: rgb(23, 28, 58);
|
|
192
190
|
}
|
|
193
191
|
.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover) > .duet-choice-card-flextainer .duet-choice-label:not(.checked) .duet-checkmark-container {
|
|
194
192
|
border-color: rgb(116, 116, 117);
|
|
@@ -227,6 +225,12 @@ input[disabled] + .duet-choice-label {
|
|
|
227
225
|
background: rgb(245, 248, 250) !important;
|
|
228
226
|
border-color: rgb(225, 227, 230) !important;
|
|
229
227
|
}
|
|
228
|
+
input[disabled] + .duet-choice-label .duet-choice-card-icon {
|
|
229
|
+
color: rgb(101, 119, 135);
|
|
230
|
+
}
|
|
231
|
+
.duet-theme-turva input[disabled] + .duet-choice-label .duet-choice-card-icon {
|
|
232
|
+
color: rgb(116, 116, 117);
|
|
233
|
+
}
|
|
230
234
|
input[disabled] + .duet-choice-label .duet-checkmark {
|
|
231
235
|
border-color: rgb(101, 119, 135) !important;
|
|
232
236
|
}
|
|
@@ -246,13 +250,11 @@ input[disabled] + .duet-choice-label:hover, input[disabled] + .duet-choice-label
|
|
|
246
250
|
}
|
|
247
251
|
|
|
248
252
|
.checked > input[disabled] + .duet-choice-label {
|
|
249
|
-
|
|
250
|
-
border-color: rgb(225, 227, 230) !important;
|
|
253
|
+
border-color: rgb(144, 149, 153) !important;
|
|
251
254
|
}
|
|
252
255
|
|
|
253
256
|
.duet-theme-turva .checked > input[disabled] + .duet-choice-label {
|
|
254
|
-
|
|
255
|
-
border-color: rgb(228, 228, 230) !important;
|
|
257
|
+
border-color: rgb(116, 116, 117) !important;
|
|
256
258
|
}
|
|
257
259
|
|
|
258
260
|
.duet-checkmark-container {
|
|
@@ -280,6 +282,7 @@ input[disabled] + .duet-choice-label:hover, input[disabled] + .duet-choice-label
|
|
|
280
282
|
border-radius: 50%;
|
|
281
283
|
}
|
|
282
284
|
[disabled] + label .duet-checkmark-container {
|
|
285
|
+
background: rgb(207, 210, 212) !important;
|
|
283
286
|
border-color: rgb(207, 210, 212) !important;
|
|
284
287
|
}
|
|
285
288
|
.duet-theme-turva [disabled] + label .duet-checkmark-container {
|
|
@@ -290,6 +293,7 @@ input[disabled] + .duet-choice-label:hover, input[disabled] + .duet-choice-label
|
|
|
290
293
|
}
|
|
291
294
|
.duet-theme-turva .checked > [disabled] + label .duet-checkmark-container {
|
|
292
295
|
background: rgb(207, 207, 209) !important;
|
|
296
|
+
border-color: rgb(207, 207, 209) !important;
|
|
293
297
|
}
|
|
294
298
|
|
|
295
299
|
.duet-checkmark {
|
|
@@ -328,6 +332,10 @@ input[disabled] + .duet-choice-label:hover, input[disabled] + .duet-choice-label
|
|
|
328
332
|
}
|
|
329
333
|
.duet-choice-card-icon {
|
|
330
334
|
position: relative;
|
|
335
|
+
color: rgb(0, 119, 179);
|
|
336
|
+
}
|
|
337
|
+
.duet-theme-turva .duet-choice-card-icon {
|
|
338
|
+
color: rgb(173, 11, 43);
|
|
331
339
|
}
|
|
332
340
|
.duet-choice-card-icon duet-icon {
|
|
333
341
|
display: block;
|
|
@@ -356,6 +364,7 @@ input[disabled] + .duet-choice-label:hover, input[disabled] + .duet-choice-label
|
|
|
356
364
|
border: 1px solid rgb(225, 227, 230);
|
|
357
365
|
border-top: 0;
|
|
358
366
|
border-radius: 0 0 8px 8px;
|
|
367
|
+
transition: border-color 300ms ease;
|
|
359
368
|
}
|
|
360
369
|
@media (min-width: 36em) {
|
|
361
370
|
.duet-choice-card-info, .duet-choice-card-collapsible {
|
|
@@ -382,9 +391,17 @@ input[disabled] + .duet-choice-label:hover, input[disabled] + .duet-choice-label
|
|
|
382
391
|
border-color: rgb(228, 228, 230);
|
|
383
392
|
}
|
|
384
393
|
.duet-choice-card-collapsible.checked {
|
|
394
|
+
padding: 19px !important;
|
|
395
|
+
padding-top: 20px !important;
|
|
385
396
|
border-color: rgb(0, 119, 179);
|
|
386
397
|
border-width: 2px;
|
|
387
398
|
}
|
|
399
|
+
@media (min-width: 36em) {
|
|
400
|
+
.duet-choice-card-collapsible.checked {
|
|
401
|
+
padding: 27px !important;
|
|
402
|
+
padding-top: 28px !important;
|
|
403
|
+
}
|
|
404
|
+
}
|
|
388
405
|
.duet-choice-card-collapsible.checked.duet-theme-turva {
|
|
389
406
|
border-color: rgb(23, 28, 58);
|
|
390
407
|
}
|
|
@@ -412,13 +429,16 @@ input[disabled] + .duet-choice-label:hover, input[disabled] + .duet-choice-label
|
|
|
412
429
|
background: rgb(245, 245, 247);
|
|
413
430
|
border-color: rgb(228, 228, 230);
|
|
414
431
|
}
|
|
415
|
-
.duet-choice-card-info .duet-choice-info-container:focus {
|
|
416
|
-
outline: none;
|
|
417
|
-
}
|
|
418
432
|
.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container ::slotted(*) {
|
|
419
433
|
display: none;
|
|
420
434
|
}
|
|
421
435
|
|
|
436
|
+
:host(.user-is-tabbing) .duet-choice-info-container:focus {
|
|
437
|
+
display: block;
|
|
438
|
+
outline: none;
|
|
439
|
+
box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3;
|
|
440
|
+
}
|
|
441
|
+
|
|
422
442
|
:host(:not(.no-hover):not(.disabled):hover) > .duet-choice-card-collapsible:not(.checked) {
|
|
423
443
|
border-color: rgb(0, 119, 179);
|
|
424
444
|
border-width: 2px;
|
|
@@ -427,6 +447,17 @@ input[disabled] + .duet-choice-label:hover, input[disabled] + .duet-choice-label
|
|
|
427
447
|
border-color: rgb(116, 116, 117);
|
|
428
448
|
}
|
|
429
449
|
|
|
450
|
+
:host([collapsible-force-expanded]:not(.no-hover):not(.disabled):hover) > .duet-choice-card-collapsible:not(.checked) {
|
|
451
|
+
padding: 19px !important;
|
|
452
|
+
padding-top: 20px !important;
|
|
453
|
+
}
|
|
454
|
+
@media (min-width: 36em) {
|
|
455
|
+
:host([collapsible-force-expanded]:not(.no-hover):not(.disabled):hover) > .duet-choice-card-collapsible:not(.checked) {
|
|
456
|
+
padding: 27px !important;
|
|
457
|
+
padding-top: 28px !important;
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
|
|
430
461
|
.duet-choice-info-toggle {
|
|
431
462
|
display: flex;
|
|
432
463
|
flex-shrink: 0;
|
|
@@ -6,7 +6,6 @@ import { Build, h, Host } from "@stencil/core";
|
|
|
6
6
|
import { inheritGlobalTheme } from "../../common";
|
|
7
7
|
import { DuetStringsExternalDefaults } from "../../common-strings";
|
|
8
8
|
import { createID } from "../../utils/create-id";
|
|
9
|
-
import { FocusGuard } from "../../utils/focus-utils";
|
|
10
9
|
import { isEscapeKey, isKeyboardClick, isQuestionKey, subscribeTabbingChange, unsubscribeTabbingChange, } from "../../utils/keyboard-utils";
|
|
11
10
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
|
|
12
11
|
import { hasSlot } from "../../utils/slot-utils";
|
|
@@ -25,6 +24,9 @@ export class DuetChoice {
|
|
|
25
24
|
this.expandId = createID("DuetChoiceExpand");
|
|
26
25
|
this.headerId = createID("DuetChoiceHeader");
|
|
27
26
|
this.infoButtonId = createID("DuetChoiceInfoButton");
|
|
27
|
+
/**
|
|
28
|
+
* Component event handling.
|
|
29
|
+
*/
|
|
28
30
|
this.onMouseEnter = () => {
|
|
29
31
|
this.isHovering = true;
|
|
30
32
|
};
|
|
@@ -75,7 +77,6 @@ export class DuetChoice {
|
|
|
75
77
|
if (this.getDisabled()) {
|
|
76
78
|
return;
|
|
77
79
|
}
|
|
78
|
-
this.isInfoOpen = false;
|
|
79
80
|
// if it's a radio button, and it's already checked
|
|
80
81
|
// we shouldn't fire an event, so exit early
|
|
81
82
|
if (this.type === "radio" && this.checked) {
|
|
@@ -95,12 +96,11 @@ export class DuetChoice {
|
|
|
95
96
|
setTimeout(() => {
|
|
96
97
|
var _a;
|
|
97
98
|
(_a = this.infoContainer) === null || _a === void 0 ? void 0 : _a.focus();
|
|
98
|
-
});
|
|
99
|
+
}, 150);
|
|
99
100
|
}
|
|
100
101
|
};
|
|
101
102
|
this.isHovering = false;
|
|
102
103
|
this.isInfoOpen = false;
|
|
103
|
-
this.isBlurred = false;
|
|
104
104
|
this.theme = "";
|
|
105
105
|
this.label = "label";
|
|
106
106
|
this.accessibleLabelInfoButtonDefaults = DuetStringsExternalDefaults;
|
|
@@ -168,30 +168,6 @@ export class DuetChoice {
|
|
|
168
168
|
unsubscribeTabbingChange(this);
|
|
169
169
|
this.duetChoiceRemove.emit();
|
|
170
170
|
}
|
|
171
|
-
/**
|
|
172
|
-
* Component event handling.
|
|
173
|
-
*/
|
|
174
|
-
handleHostBlur(ev) {
|
|
175
|
-
/**
|
|
176
|
-
* When moving away from a choice, collapse the info bar to assist visually impared people on focusing
|
|
177
|
-
*/
|
|
178
|
-
if (this.hasInfo && this.isInfoOpen && this.isKeyDown) {
|
|
179
|
-
// @ts-ignore
|
|
180
|
-
const isTargetContainedInHost = this.element.contains(ev === null || ev === void 0 ? void 0 : ev.relatedTarget) || false;
|
|
181
|
-
if (!isTargetContainedInHost) {
|
|
182
|
-
this.toggleInfo();
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
handleHostKeyDown() {
|
|
187
|
-
this.isKeyDown = true;
|
|
188
|
-
}
|
|
189
|
-
handleHostKeyUp(ev) {
|
|
190
|
-
this.isKeyDown = false;
|
|
191
|
-
if (isEscapeKey(ev) && this.isInfoOpen) {
|
|
192
|
-
this.toggleInfo();
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
171
|
/**
|
|
196
172
|
* Sets focus on the specified `duet-choice`. Use this method instead of the global
|
|
197
173
|
* `input.focus()`.
|
|
@@ -205,6 +181,16 @@ export class DuetChoice {
|
|
|
205
181
|
async toggleInfoMethod() {
|
|
206
182
|
this.isInfoOpen = !this.isInfoOpen;
|
|
207
183
|
}
|
|
184
|
+
handleEscape(e) {
|
|
185
|
+
if (isEscapeKey(e)) {
|
|
186
|
+
if (this.isInfoOpen) {
|
|
187
|
+
this.isInfoOpen = false;
|
|
188
|
+
if (this.infoButtonEl) {
|
|
189
|
+
this.infoButtonEl.focus();
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
208
194
|
/**
|
|
209
195
|
* Should the collapsible content be announced by screen readers
|
|
210
196
|
*/
|
|
@@ -272,8 +258,6 @@ export class DuetChoice {
|
|
|
272
258
|
if (Build.isServer) {
|
|
273
259
|
return;
|
|
274
260
|
}
|
|
275
|
-
const choiceGroup = this.element.closest("duet-choice-group");
|
|
276
|
-
const choiceGroupLabel = choiceGroup ? choiceGroup.label : undefined;
|
|
277
261
|
const identifier = this.identifier || this.choiceId;
|
|
278
262
|
return (h(Host, { class: {
|
|
279
263
|
horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
|
|
@@ -295,13 +279,13 @@ export class DuetChoice {
|
|
|
295
279
|
collapsible: this.collapsible,
|
|
296
280
|
"collapsible-force-expanded": this.collapsibleForceExpanded,
|
|
297
281
|
"duet-p-0": this.padding === "none",
|
|
298
|
-
} }, h("input", { class: "duet-choice-input", type: this.type, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, disabled: this.getDisabled(), required: this.required, id: identifier, name: this.name, value: this.value, checked: this.checked, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedby(), onKeyDown: this.handleKeyDown, ref: input => (this.nativeInput = input) }), h("label", { htmlFor: identifier, class: { "duet-choice-label": true, "has-before-text": this.hasBeforeText }, onClick: this.onClick }, this.hasBeforeText && h("slot", { name: "before-text" }), this.icon && (h("div", { class: "duet-choice-card-icon" }, h("duet-icon", { margin: "none", size: "small", name: this.icon, color: "currentColor" }))), h("div", { class: "duet-choice-card-text" },
|
|
282
|
+
} }, h("input", { class: "duet-choice-input", type: this.type, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, disabled: this.getDisabled(), required: this.required, id: identifier, name: this.name, value: this.value, checked: this.checked, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedby(), onKeyDown: this.handleKeyDown, ref: input => (this.nativeInput = input) }), h("label", { htmlFor: identifier, class: { "duet-choice-label": true, "has-before-text": this.hasBeforeText }, onClick: this.onClick }, this.hasBeforeText && h("slot", { name: "before-text" }), this.icon && (h("div", { class: "duet-choice-card-icon" }, h("duet-icon", { margin: "none", size: "small", name: this.icon, color: "currentColor" }))), h("div", { class: "duet-choice-card-text" }, h("div", null, this.hasLabel ? h("slot", { name: "label" }) : this.label), this.caption && (h("div", null, h("duet-spacer", { size: "xx-small" }), h("duet-caption", { margin: "none", selected: this.checked }, this.caption))), this.hasAdditional && (h("div", null, h("duet-spacer", { size: "xx-small" }), h("slot", { name: "additional" })))), h("div", null, h("div", { class: { "duet-checkmark-container": true, "duet-checkmark-radio": this.type === "radio" } }, this.checked && h("div", { class: "duet-checkmark" }))))), this.hasInfo && !this.collapsible && (h("button", { ref: button => (this.infoButtonEl = button), id: this.infoButtonId, class: {
|
|
299
283
|
"duet-choice-info-toggle": true,
|
|
300
284
|
"duet-theme-turva": this.theme === "turva",
|
|
301
|
-
}, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId,
|
|
285
|
+
}, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button", onKeyUp: e => this.handleEscape(e) }, h("div", { class: "duet-choice-info-icon" }, h("duet-icon", { icon: infoIcon.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible && (h("span", { id: `${this.choiceId}-collapsible-notification`, hidden: true }, this.collapsibleNotification)), this.collapsible || this.hasInfo ? (h("div", { class: this.getClassNames(), id: this.expandId }, h("span", { class: {
|
|
302
286
|
"duet-choice-section-visible": this.collapsible ? this.getExpanded() : this.isInfoOpen,
|
|
303
287
|
"duet-choice-section-hidden": this.collapsible ? !this.getExpanded() : !this.isInfoOpen,
|
|
304
|
-
} }, h("span", { id: this.headerId }, h("slot", { name: "header" })), this.hasInfo ? (h("span", { ref: span => (this.infoContainer = span), tabindex: "0", class: "duet-choice-info-container"
|
|
288
|
+
} }, h("span", { id: this.headerId }, h("slot", { name: "header" })), this.hasInfo ? (h("span", { ref: span => (this.infoContainer = span), tabindex: "0", class: "duet-choice-info-container", onKeyUp: e => this.handleEscape(e) }, h("span", null, h("slot", { name: "info" })), h("slot", null))) : (h("span", { id: `${this.choiceId}-collapsible-content` }, h("slot", null)))))) : null));
|
|
305
289
|
}
|
|
306
290
|
static get is() { return "duet-choice"; }
|
|
307
291
|
static get encapsulation() { return "scoped"; }
|
|
@@ -954,8 +938,7 @@ export class DuetChoice {
|
|
|
954
938
|
static get states() {
|
|
955
939
|
return {
|
|
956
940
|
"isHovering": {},
|
|
957
|
-
"isInfoOpen": {}
|
|
958
|
-
"isBlurred": {}
|
|
941
|
+
"isInfoOpen": {}
|
|
959
942
|
};
|
|
960
943
|
}
|
|
961
944
|
static get events() {
|
|
@@ -1015,7 +998,7 @@ export class DuetChoice {
|
|
|
1015
998
|
"references": {
|
|
1016
999
|
"DuetChoiceEvent": {
|
|
1017
1000
|
"location": "local",
|
|
1018
|
-
"path": "/Users/
|
|
1001
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-choice/duet-choice.tsx",
|
|
1019
1002
|
"id": "src/components/duet-choice/duet-choice.tsx::DuetChoiceEvent"
|
|
1020
1003
|
}
|
|
1021
1004
|
}
|
|
@@ -1036,7 +1019,7 @@ export class DuetChoice {
|
|
|
1036
1019
|
"references": {
|
|
1037
1020
|
"DuetChoiceEvent": {
|
|
1038
1021
|
"location": "local",
|
|
1039
|
-
"path": "/Users/
|
|
1022
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-choice/duet-choice.tsx",
|
|
1040
1023
|
"id": "src/components/duet-choice/duet-choice.tsx::DuetChoiceEvent"
|
|
1041
1024
|
}
|
|
1042
1025
|
}
|
|
@@ -1057,7 +1040,7 @@ export class DuetChoice {
|
|
|
1057
1040
|
"references": {
|
|
1058
1041
|
"DuetChoiceEvent": {
|
|
1059
1042
|
"location": "local",
|
|
1060
|
-
"path": "/Users/
|
|
1043
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-choice/duet-choice.tsx",
|
|
1061
1044
|
"id": "src/components/duet-choice/duet-choice.tsx::DuetChoiceEvent"
|
|
1062
1045
|
}
|
|
1063
1046
|
}
|
|
@@ -1111,25 +1094,4 @@ export class DuetChoice {
|
|
|
1111
1094
|
};
|
|
1112
1095
|
}
|
|
1113
1096
|
static get elementRef() { return "element"; }
|
|
1114
|
-
static get listeners() {
|
|
1115
|
-
return [{
|
|
1116
|
-
"name": "blur",
|
|
1117
|
-
"method": "handleHostBlur",
|
|
1118
|
-
"target": undefined,
|
|
1119
|
-
"capture": true,
|
|
1120
|
-
"passive": false
|
|
1121
|
-
}, {
|
|
1122
|
-
"name": "keydown",
|
|
1123
|
-
"method": "handleHostKeyDown",
|
|
1124
|
-
"target": undefined,
|
|
1125
|
-
"capture": true,
|
|
1126
|
-
"passive": false
|
|
1127
|
-
}, {
|
|
1128
|
-
"name": "keyup",
|
|
1129
|
-
"method": "handleHostKeyUp",
|
|
1130
|
-
"target": undefined,
|
|
1131
|
-
"capture": true,
|
|
1132
|
-
"passive": false
|
|
1133
|
-
}];
|
|
1134
|
-
}
|
|
1135
1097
|
}
|