@duetds/components 6.10.2 → 6.10.3
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 +4106 -3645
- package/lib/cjs/duet-action-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-alert.cjs.entry.js +1 -1
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-banner.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
- package/lib/cjs/duet-button_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-callout.cjs.entry.js +1 -1
- package/lib/cjs/duet-caption_4.cjs.entry.js +1 -1
- package/lib/cjs/duet-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
- package/lib/cjs/duet-chip.cjs.entry.js +95 -0
- package/lib/cjs/duet-choice_2.cjs.entry.js +24 -11
- package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
- package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
- package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
- package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +4 -2
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +1 -1
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-hero.cjs.entry.js +1 -1
- package/lib/cjs/duet-icon.cjs.entry.js +1 -1
- package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
- 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 +1 -1
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
- package/lib/cjs/duet-modal.cjs.entry.js +2 -2
- package/lib/cjs/duet-multiselect.cjs.entry.js +1 -1
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-number-input.cjs.entry.js +8 -1
- package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
- package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +43 -0
- package/lib/cjs/duet-popup-menu.cjs.entry.js +109 -0
- package/lib/cjs/duet-progress.cjs.entry.js +1 -1
- package/lib/cjs/duet-promo-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-radio_2.cjs.entry.js +5 -4
- package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -1
- 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 +95 -0
- 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 +2 -2
- package/lib/cjs/duet-slideout.cjs.entry.js +2 -2
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +1 -1
- package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown.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.cjs.entry.js +4 -1174
- package/lib/cjs/duet-tray.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-aria-status.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/floating-ui.dom.esm-3801794e.js +1251 -0
- package/lib/cjs/{focus-utils-a7ec8d4d.js → focus-utils-fa8771cc.js} +1 -1
- package/lib/cjs/{index-b91d0c7f.js → index-ad229c23.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/collection/collection-manifest.json +4 -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-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.js +3 -3
- package/lib/collection/components/duet-chip/duet-chip.css +174 -0
- package/lib/collection/components/duet-chip/duet-chip.js +320 -0
- package/lib/collection/components/duet-choice/duet-choice.css +48 -21
- package/lib/collection/components/duet-choice/duet-choice.js +42 -11
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
- package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
- 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 +8 -6
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.js +7 -7
- 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 +5 -5
- package/lib/collection/components/duet-icon/duet-icon.js +1 -1
- 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-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.js +3 -3
- 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 +27 -4
- 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.css +50 -0
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +317 -0
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +69 -0
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +205 -0
- package/lib/collection/components/duet-radio/duet-radio.css +3 -3
- package/lib/collection/components/duet-radio/duet-radio.js +12 -6
- 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.css +46 -0
- package/lib/collection/components/duet-show-more/duet-show-more.js +214 -0
- 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/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 +4 -4
- package/lib/dist-custom-elements/duet-breadcrumb.js +2 -2
- 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 +3 -3
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +3 -3
- 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.d.ts +11 -0
- package/lib/dist-custom-elements/duet-chip.js +125 -0
- package/lib/dist-custom-elements/duet-choice-group.js +6 -6
- package/lib/dist-custom-elements/duet-choice.js +28 -14
- package/lib/dist-custom-elements/duet-collapsible.js +2 -2
- package/lib/dist-custom-elements/duet-combobox.js +2 -2
- package/lib/dist-custom-elements/duet-contact-card.js +8 -8
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +10 -10
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +10 -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-footer.js +4 -4
- 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 +8 -8
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +9 -9
- 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 +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-modal.js +7 -7
- package/lib/dist-custom-elements/duet-multiselect.js +8 -8
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
- package/lib/dist-custom-elements/duet-notification.js +2 -2
- package/lib/dist-custom-elements/duet-number-input.js +18 -10
- package/lib/dist-custom-elements/duet-page-heading.js +2 -2
- package/lib/dist-custom-elements/duet-pagination.js +7 -7
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.d.ts +11 -0
- package/lib/dist-custom-elements/duet-popup-menu-item.js +72 -0
- package/lib/dist-custom-elements/duet-popup-menu.d.ts +11 -0
- package/lib/dist-custom-elements/duet-popup-menu.js +137 -0
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +3 -3
- package/lib/dist-custom-elements/duet-radio-group.js +6 -6
- package/lib/dist-custom-elements/duet-radio.js +6 -5
- package/lib/dist-custom-elements/duet-range-slider.js +2 -2
- package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
- 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.d.ts +11 -0
- package/lib/dist-custom-elements/duet-show-more.js +137 -0
- 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 +2 -2
- package/lib/dist-custom-elements/duet-slideout.js +2 -2
- 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 +4 -4
- package/lib/dist-custom-elements/duet-stepper.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-tab-group.js +11 -11
- package/lib/dist-custom-elements/duet-tab.js +1 -1
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +8 -8
- package/lib/dist-custom-elements/duet-toggle.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown.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.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +3 -3
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +17 -17
- 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-39c6c68e.js → p-0639a930.js} +1 -1
- package/lib/dist-custom-elements/{p-227cc94f.js → p-06f56040.js} +1 -1
- package/lib/dist-custom-elements/{p-a0f68c00.js → p-0bab8976.js} +3 -3
- package/lib/dist-custom-elements/{p-beca0ced.js → p-1460c5f4.js} +1 -1
- package/lib/dist-custom-elements/{p-4197b9ee.js → p-362cf634.js} +2 -2
- package/lib/dist-custom-elements/{p-8fb68cb1.js → p-4524a59b.js} +2 -2
- package/lib/dist-custom-elements/{p-e6f6efa6.js → p-581d4969.js} +1 -1
- package/lib/dist-custom-elements/{p-00f8d4bc.js → p-59964344.js} +1 -1
- package/lib/dist-custom-elements/{p-6f4b6168.js → p-8549a5d3.js} +1 -1
- package/lib/dist-custom-elements/{p-62f3b6cb.js → p-87b42dc0.js} +3 -3
- package/lib/dist-custom-elements/{p-3595aea9.js → p-88a1aa29.js} +1 -1
- package/lib/dist-custom-elements/{p-c202693f.js → p-9a39285c.js} +1 -1
- package/lib/dist-custom-elements/{p-8638ba69.js → p-9e321809.js} +1 -1
- package/lib/dist-custom-elements/{p-419d2da0.js → p-a76c2c68.js} +6 -6
- package/lib/dist-custom-elements/{p-e3acab40.js → p-ab8093ce.js} +2 -2
- package/lib/dist-custom-elements/{p-58105b4f.js → p-abf2f8eb.js} +1 -1
- package/lib/dist-custom-elements/{p-f6b5ce88.js → p-b0a1fc7a.js} +1 -1
- package/lib/dist-custom-elements/{p-6de01596.js → p-b0e822ad.js} +1 -1
- package/lib/dist-custom-elements/{p-96b624ec.js → p-bd3f4de1.js} +1 -1
- package/lib/dist-custom-elements/{p-e3ac121c.js → p-c221f8d5.js} +5 -5
- package/lib/dist-custom-elements/{p-7d6d90bc.js → p-c3a8f22f.js} +1 -1
- package/lib/dist-custom-elements/{p-1b3de4b8.js → p-c5723f69.js} +1 -1
- package/lib/dist-custom-elements/{p-d6a6460a.js → p-c9cee36a.js} +1 -1
- package/lib/dist-custom-elements/{p-2747b8c6.js → p-d993c8ca.js} +4 -4
- package/lib/dist-custom-elements/{p-9e83a449.js → p-dade840c.js} +2 -2
- package/lib/dist-custom-elements/{p-ea756e9e.js → p-ddbc4897.js} +5 -5
- package/lib/dist-custom-elements/{p-38b3c30a.js → p-df10a767.js} +71 -274
- package/lib/dist-custom-elements/{p-2b132855.js → p-e550208a.js} +1 -1
- package/lib/dist-custom-elements/{p-28658e20.js → p-e6027c0e.js} +8 -8
- package/lib/dist-custom-elements/{p-eb29050b.js → p-f4a36471.js} +1 -1
- package/lib/dist-custom-elements/{p-05139591.js → p-f97098ff.js} +1 -1
- package/lib/dist-custom-elements/p-fa4af49a.js +278 -0
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-17dc8da9.system.entry.js → p-000197bb.system.entry.js} +1 -1
- package/lib/duet/p-00c61228.system.entry.js +4 -0
- package/lib/duet/{p-2cab347d.system.entry.js → p-02a9b697.system.entry.js} +2 -2
- package/lib/duet/{p-42e270f3.entry.js → p-07795672.entry.js} +1 -1
- package/lib/duet/{p-1e6f5e74.system.entry.js → p-0b208f94.system.entry.js} +1 -1
- package/lib/duet/{p-931c3e1f.system.entry.js → p-0b4324b1.system.entry.js} +1 -1
- package/lib/duet/p-0c7c6acc.system.entry.js +4 -0
- package/lib/duet/{p-e9939ddb.system.entry.js → p-0de3b52d.system.entry.js} +1 -1
- package/lib/duet/{p-93ef4cc2.system.entry.js → p-0f05038e.system.entry.js} +1 -1
- package/lib/duet/{p-1d73a1d2.system.entry.js → p-0f49469b.system.entry.js} +1 -1
- package/lib/duet/{p-dc9bf216.entry.js → p-0fc4fd1f.entry.js} +1 -1
- package/lib/duet/{p-87f85912.system.entry.js → p-0fdddc6d.system.entry.js} +1 -1
- package/lib/duet/{p-0fbdbb6a.entry.js → p-0fe6e2f3.entry.js} +1 -1
- package/lib/duet/p-1090bfbd.entry.js +4 -0
- package/lib/duet/p-10d47bb3.entry.js +4 -0
- package/lib/duet/{p-8cf1327e.entry.js → p-10d57786.entry.js} +1 -1
- package/lib/duet/{p-75898c81.entry.js → p-17569309.entry.js} +1 -1
- package/lib/duet/{p-22e418ea.entry.js → p-18084aa4.entry.js} +1 -1
- package/lib/duet/{p-1d3647c6.system.entry.js → p-18b63745.system.entry.js} +1 -1
- package/lib/duet/{p-673127ac.system.entry.js → p-190e7c1f.system.entry.js} +1 -1
- package/lib/duet/{p-770d0c35.system.entry.js → p-193d3aaa.system.entry.js} +1 -1
- package/lib/duet/p-1983b903.system.entry.js +4 -0
- package/lib/duet/p-2271aa12.entry.js +4 -0
- package/lib/duet/{p-30c684e8.entry.js → p-242c1c1a.entry.js} +1 -1
- package/lib/duet/{p-f88ac93f.system.entry.js → p-26cfed76.system.entry.js} +1 -1
- package/lib/duet/p-26fb19cc.entry.js +4 -0
- package/lib/duet/{p-29ce564d.entry.js → p-29dd2b2b.entry.js} +1 -1
- package/lib/duet/{p-6c1a2b16.entry.js → p-2a8ca3eb.entry.js} +1 -1
- package/lib/duet/{p-65a5fdd5.entry.js → p-2ab30c7f.entry.js} +1 -1
- package/lib/duet/{p-5ad63594.entry.js → p-2f2554c2.entry.js} +1 -1
- package/lib/duet/p-31a14896.entry.js +4 -0
- package/lib/duet/{p-a4cc9386.system.entry.js → p-33ace290.system.entry.js} +1 -1
- package/lib/duet/{p-98202339.entry.js → p-33e8ba00.entry.js} +1 -1
- package/lib/duet/{p-3b70cce3.entry.js → p-346b440a.entry.js} +1 -1
- package/lib/duet/{p-1b11e540.entry.js → p-369190ba.entry.js} +1 -1
- package/lib/duet/{p-379e2995.system.entry.js → p-38b225ec.system.entry.js} +1 -1
- package/lib/duet/{p-ee909d5f.system.entry.js → p-3ae87f9a.system.entry.js} +1 -1
- package/lib/duet/p-3aebf88e.entry.js +4 -0
- package/lib/duet/p-3d4d7d03.system.entry.js +4 -0
- package/lib/duet/{p-03522bb4.entry.js → p-3fe319db.entry.js} +1 -1
- package/lib/duet/p-4047730e.entry.js +4 -0
- package/lib/duet/p-41993ad4.js +4 -0
- package/lib/duet/{p-925f2b45.entry.js → p-42199e80.entry.js} +1 -1
- package/lib/duet/p-4489355c.system.entry.js +4 -0
- package/lib/duet/{p-245a63f4.entry.js → p-45df6b17.entry.js} +1 -1
- package/lib/duet/{p-2a277fb6.entry.js → p-476bec1d.entry.js} +1 -1
- package/lib/duet/{p-ff5f4d38.entry.js → p-49cbf9cc.entry.js} +1 -1
- package/lib/duet/{p-72a2ff4d.entry.js → p-49f5f27e.entry.js} +1 -1
- package/lib/duet/p-4f40525e.system.entry.js +4 -0
- package/lib/duet/{p-9960de16.entry.js → p-53800205.entry.js} +1 -1
- package/lib/duet/{p-f5728af6.system.entry.js → p-54607ab5.system.entry.js} +1 -1
- package/lib/duet/{p-f8d00821.entry.js → p-5514488e.entry.js} +1 -1
- package/lib/duet/{p-cf9279b9.system.entry.js → p-5590d075.system.entry.js} +1 -1
- package/lib/duet/p-57ec25ee.entry.js +4 -0
- package/lib/duet/p-59570fb7.system.entry.js +4 -0
- package/lib/duet/{p-c794bee3.system.entry.js → p-596343b6.system.entry.js} +1 -1
- package/lib/duet/{p-a8a1d1f6.entry.js → p-5c5dd33e.entry.js} +1 -1
- package/lib/duet/p-5dfc4e72.entry.js +4 -0
- package/lib/duet/{p-4f4ed95d.system.entry.js → p-5f9fc349.system.entry.js} +1 -1
- package/lib/duet/{p-13384099.entry.js → p-60210fa0.entry.js} +1 -1
- package/lib/duet/{p-b3154717.entry.js → p-6059377c.entry.js} +1 -1
- package/lib/duet/{p-f4799c34.system.entry.js → p-61dbdf5a.system.entry.js} +1 -1
- package/lib/duet/{p-91df8a4a.system.entry.js → p-639c44ed.system.entry.js} +1 -1
- package/lib/duet/{p-073221c9.system.entry.js → p-642a879a.system.entry.js} +1 -1
- package/lib/duet/{p-d159787d.entry.js → p-645d04bc.entry.js} +1 -1
- package/lib/duet/{p-a31222e3.entry.js → p-65180079.entry.js} +1 -1
- package/lib/duet/{p-0738bb7d.system.entry.js → p-659b9600.system.entry.js} +1 -1
- package/lib/duet/{p-5c4a2f44.system.entry.js → p-679721de.system.entry.js} +1 -1
- package/lib/duet/{p-d6a1c0de.entry.js → p-67f35157.entry.js} +1 -1
- package/lib/duet/{p-bd1d0640.system.js → p-6dea5bde.system.js} +1 -1
- package/lib/duet/{p-4a97ca92.system.entry.js → p-6fafabc4.system.entry.js} +1 -1
- package/lib/duet/{p-8ec5c49e.entry.js → p-6ff2601a.entry.js} +1 -1
- package/lib/duet/{p-b4e863ee.system.entry.js → p-72a8644b.system.entry.js} +1 -1
- package/lib/duet/{p-30551712.system.entry.js → p-74bf128c.system.entry.js} +1 -1
- package/lib/duet/{p-de31586c.system.entry.js → p-7604e184.system.entry.js} +1 -1
- package/lib/duet/{p-5e7dc52a.system.entry.js → p-76c68d61.system.entry.js} +1 -1
- package/lib/duet/{p-6392cafe.entry.js → p-77432368.entry.js} +1 -1
- package/lib/duet/{p-36edc06c.system.entry.js → p-7b75c66a.system.entry.js} +1 -1
- package/lib/duet/{p-1df0bbf9.system.entry.js → p-7c81a1aa.system.entry.js} +1 -1
- package/lib/duet/{p-c654f863.system.entry.js → p-7ce403a2.system.entry.js} +1 -1
- package/lib/duet/{p-a6917de1.system.entry.js → p-7fd5d974.system.entry.js} +1 -1
- package/lib/duet/{p-e7af2cd8.system.entry.js → p-7fe4bf9c.system.entry.js} +1 -1
- package/lib/duet/{p-cad8060d.system.entry.js → p-8168ef41.system.entry.js} +2 -2
- package/lib/duet/{p-6a89c7d0.system.entry.js → p-8215e341.system.entry.js} +1 -1
- package/lib/duet/p-82b5380b.system.js +4 -0
- package/lib/duet/p-82ebc3a6.system.entry.js +4 -0
- package/lib/duet/{p-81668ed2.system.entry.js → p-831c76d5.system.entry.js} +1 -1
- package/lib/duet/{p-6ad538a7.system.entry.js → p-855f2712.system.entry.js} +1 -1
- package/lib/duet/{p-09daf29e.system.entry.js → p-87ea8cd4.system.entry.js} +1 -1
- package/lib/duet/{p-c7fbe38a.entry.js → p-8a06964b.entry.js} +1 -1
- package/lib/duet/{p-cb5ebe92.system.entry.js → p-8d9dc8b8.system.entry.js} +1 -1
- package/lib/duet/{p-058dfaad.entry.js → p-8fc58e21.entry.js} +1 -1
- package/lib/duet/{p-1b426189.entry.js → p-9277a98e.entry.js} +1 -1
- package/lib/duet/{p-c424c794.entry.js → p-9781cd5a.entry.js} +1 -1
- package/lib/duet/{p-91a5c4fd.system.entry.js → p-984be1b2.system.entry.js} +1 -1
- package/lib/duet/{p-2f8c7a7d.entry.js → p-9ad4b03e.entry.js} +1 -1
- package/lib/duet/{p-2528a411.system.entry.js → p-9b4b6a88.system.entry.js} +1 -1
- package/lib/duet/{p-2d3dbd85.system.entry.js → p-9cec464f.system.entry.js} +1 -1
- package/lib/duet/{p-39496689.entry.js → p-a1e03781.entry.js} +1 -1
- package/lib/duet/{p-d3323581.system.entry.js → p-a6f4302f.system.entry.js} +1 -1
- package/lib/duet/{p-62b68de6.system.js → p-a7774674.system.js} +1 -1
- package/lib/duet/{p-85ad609f.entry.js → p-a80b6e7d.entry.js} +1 -1
- package/lib/duet/{p-6486ab91.entry.js → p-a9fac1f4.entry.js} +1 -1
- package/lib/duet/{p-6766ef3d.system.entry.js → p-aa1c11b3.system.entry.js} +1 -1
- package/lib/duet/{p-d18383cd.entry.js → p-ab15c9ba.entry.js} +1 -1
- package/lib/duet/{p-fa400061.entry.js → p-b6f46697.entry.js} +1 -1
- package/lib/duet/{p-637f635a.entry.js → p-bb3ab94b.entry.js} +1 -1
- package/lib/duet/{p-7f8020bf.entry.js → p-bb450fde.entry.js} +1 -1
- package/lib/duet/{p-308b881b.js → p-bcb2eb05.js} +1 -1
- package/lib/duet/{p-fd33eb2c.entry.js → p-bd21ed24.entry.js} +1 -1
- package/lib/duet/{p-1f3d12d2.system.entry.js → p-be64cb47.system.entry.js} +1 -1
- package/lib/duet/{p-72d1f618.system.entry.js → p-bf5e03b7.system.entry.js} +1 -1
- package/lib/duet/{p-07300cb6.entry.js → p-c01a1e38.entry.js} +1 -1
- package/lib/duet/{p-62b435d1.system.entry.js → p-c20f14ee.system.entry.js} +1 -1
- package/lib/duet/{p-5f2e386e.entry.js → p-c56f6296.entry.js} +1 -1
- package/lib/duet/{p-779be7c6.system.entry.js → p-c591ed98.system.entry.js} +1 -1
- package/lib/duet/{p-ef033a06.system.entry.js → p-c838f35a.system.entry.js} +1 -1
- package/lib/duet/{p-909e088e.system.entry.js → p-c8af967c.system.entry.js} +1 -1
- package/lib/duet/{p-17d2c223.system.entry.js → p-cd14aa98.system.entry.js} +1 -1
- package/lib/duet/{p-e501bad4.system.entry.js → p-ced270b7.system.entry.js} +1 -1
- package/lib/duet/{p-ad3eba9a.entry.js → p-d1308874.entry.js} +1 -1
- package/lib/duet/{p-22dd2fab.entry.js → p-d1fdf904.entry.js} +1 -1
- package/lib/duet/{p-99a8b5f5.entry.js → p-d20bc0fc.entry.js} +1 -1
- package/lib/duet/{p-56b92797.entry.js → p-d309acda.entry.js} +1 -1
- package/lib/duet/{p-d85d8db5.entry.js → p-d707c91d.entry.js} +1 -1
- package/lib/duet/{p-5048f9a7.entry.js → p-d70c1993.entry.js} +1 -1
- package/lib/duet/{p-420dfc2c.entry.js → p-d837c30c.entry.js} +1 -1
- package/lib/duet/{p-62c70a95.entry.js → p-d90b9d82.entry.js} +1 -1
- package/lib/duet/{p-89d9030e.system.entry.js → p-d95542b2.system.entry.js} +1 -1
- package/lib/duet/{p-1a542b7c.system.entry.js → p-dcb58b72.system.entry.js} +1 -1
- package/lib/duet/p-df10a767.js +4 -0
- package/lib/duet/{p-ed78f6fe.system.entry.js → p-e13b266c.system.entry.js} +1 -1
- package/lib/duet/{p-c085e346.system.entry.js → p-e1470177.system.entry.js} +1 -1
- package/lib/duet/{p-a7c64d94.entry.js → p-e195ff77.entry.js} +1 -1
- package/lib/duet/{p-32237f45.entry.js → p-e26c92ae.entry.js} +1 -1
- package/lib/duet/{p-5c444839.entry.js → p-e33b158e.entry.js} +1 -1
- package/lib/duet/{p-1c7ad230.system.entry.js → p-e3a868e7.system.entry.js} +1 -1
- package/lib/duet/{p-6a42d57c.system.entry.js → p-e5ff4740.system.entry.js} +1 -1
- package/lib/duet/{p-bbadf525.system.entry.js → p-e664403b.system.entry.js} +1 -1
- package/lib/duet/{p-0dda8331.entry.js → p-e6701508.entry.js} +1 -1
- package/lib/duet/{p-8f7f4724.entry.js → p-ea0b3f23.entry.js} +1 -1
- package/lib/duet/{p-b76ce62b.entry.js → p-eaf5b796.entry.js} +1 -1
- package/lib/duet/{p-9c554b07.entry.js → p-f01b3bfa.entry.js} +1 -1
- package/lib/duet/{p-cfde4f9a.system.entry.js → p-f1bce38a.system.entry.js} +1 -1
- package/lib/duet/{p-8c404f51.system.entry.js → p-f3baf86a.system.entry.js} +1 -1
- package/lib/duet/{p-0b34d9b5.system.entry.js → p-f605a26a.system.entry.js} +1 -1
- package/lib/duet/{p-b906790d.entry.js → p-f9191467.entry.js} +1 -1
- package/lib/duet/p-f93a2b8c.system.js +4 -0
- package/lib/duet/{p-077edef7.entry.js → p-fb88df1a.entry.js} +1 -1
- package/lib/duet/{p-94d448f9.system.entry.js → p-fca2f60d.system.entry.js} +1 -1
- package/lib/duet/{p-eb9c8e60.entry.js → p-fcc9c563.entry.js} +1 -1
- package/lib/duet/{p-d7425b07.entry.js → p-fce75de7.entry.js} +1 -1
- package/lib/duet/{p-7dea5e1a.system.entry.js → p-fd760e06.system.entry.js} +1 -1
- package/lib/duet/{p-af3060c1.system.entry.js → p-ff0c5b5b.system.entry.js} +1 -1
- package/lib/duet/{p-6a07feba.entry.js → p-ff814fdc.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +1 -1
- package/lib/esm/duet-alert.entry.js +1 -1
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-banner.entry.js +1 -1
- package/lib/esm/duet-breadcrumb.entry.js +1 -1
- package/lib/esm/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm/duet-button_2.entry.js +1 -1
- package/lib/esm/duet-callout.entry.js +1 -1
- package/lib/esm/duet-caption_4.entry.js +1 -1
- package/lib/esm/duet-card.entry.js +1 -1
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +1 -1
- package/lib/esm/duet-chip.entry.js +91 -0
- package/lib/esm/duet-choice_2.entry.js +24 -11
- package/lib/esm/duet-collapsible.entry.js +1 -1
- package/lib/esm/duet-combobox.entry.js +1 -1
- package/lib/esm/duet-contact-card.entry.js +1 -1
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +2 -2
- package/lib/esm/duet-divider_2.entry.js +1 -1
- package/lib/esm/duet-editable-table_3.entry.js +4 -2
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +1 -1
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +1 -1
- package/lib/esm/duet-hero.entry.js +1 -1
- package/lib/esm/duet-icon.entry.js +1 -1
- package/lib/esm/duet-input_2.entry.js +1 -1
- 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 +1 -1
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar.entry.js +1 -1
- package/lib/esm/duet-modal.entry.js +2 -2
- package/lib/esm/duet-multiselect.entry.js +1 -1
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +1 -1
- package/lib/esm/duet-number-input.entry.js +8 -1
- package/lib/esm/duet-page-heading.entry.js +1 -1
- package/lib/esm/duet-pagination_2.entry.js +1 -1
- package/lib/esm/duet-popup-menu-item.entry.js +39 -0
- package/lib/esm/duet-popup-menu.entry.js +105 -0
- package/lib/esm/duet-progress.entry.js +1 -1
- package/lib/esm/duet-promo-card.entry.js +1 -1
- package/lib/esm/duet-radio_2.entry.js +5 -4
- package/lib/esm/duet-range-slider.entry.js +1 -1
- package/lib/esm/duet-scrollable_3.entry.js +1 -1
- 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 +91 -0
- 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 +2 -2
- package/lib/esm/duet-slideout.entry.js +2 -2
- package/lib/esm/duet-step_2.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar.entry.js +1 -1
- package/lib/esm/duet-textarea.entry.js +1 -1
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown.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.entry.js +2 -1172
- package/lib/esm/duet-tray.entry.js +1 -1
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +3 -3
- package/lib/esm/floating-ui.dom.esm-37dc174a.js +1245 -0
- package/lib/esm/{focus-utils-552e67ed.js → focus-utils-20785530.js} +1 -1
- package/lib/esm/{index-5aaf4b5b.js → index-dcb8c495.js} +1 -1
- package/lib/esm/loader.js +3 -3
- 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 +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +4 -0
- 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-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 +1 -1
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- 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-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- 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 +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 +4 -0
- package/lib/esm-es5/duet-popup-menu.entry.js +4 -0
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +2 -2
- 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 +4 -0
- 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 +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-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 +2 -2
- 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-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +2 -2
- 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-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/floating-ui.dom.esm-37dc174a.js +4 -0
- package/lib/esm-es5/{focus-utils-552e67ed.js → focus-utils-20785530.js} +1 -1
- package/lib/esm-es5/{index-5aaf4b5b.js → index-dcb8c495.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/types/components/duet-chip/duet-chip.d.ts +83 -0
- package/lib/types/components/duet-choice/duet-choice.d.ts +7 -0
- package/lib/types/components/duet-editable-table/duet-editable-table.d.ts +1 -0
- package/lib/types/components/duet-number-input/duet-number-input.d.ts +4 -0
- package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +67 -0
- package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +47 -0
- package/lib/types/components/duet-radio/duet-radio.d.ts +4 -0
- package/lib/types/components/duet-show-more/duet-show-more.d.ts +53 -0
- package/lib/types/components.d.ts +342 -0
- package/package.json +11 -6
- package/lib/duet/p-0952d4a4.system.entry.js +0 -4
- package/lib/duet/p-225d9dbe.js +0 -4
- package/lib/duet/p-3a0676ab.entry.js +0 -4
- package/lib/duet/p-55952227.system.entry.js +0 -4
- package/lib/duet/p-6a9319ad.system.entry.js +0 -4
- package/lib/duet/p-78cb4832.entry.js +0 -4
- package/lib/duet/p-80f4a443.system.js +0 -4
- package/lib/duet/p-8c9d67e4.entry.js +0 -4
- package/lib/duet/p-8faea849.entry.js +0 -4
- package/lib/duet/p-b17e6185.system.entry.js +0 -4
- package/lib/duet/p-c1ccc327.entry.js +0 -4
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-ad229c23.js');
|
|
9
9
|
const isInternetExplorer = require('./is-internet-explorer-91361c56.js');
|
|
10
10
|
|
|
11
11
|
const duetLayoutCss = "*,*::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;flex:1 0 auto;width:100%}:host(.duet-middle){display:flex}:host(.duet-middle) .duet-layout{padding:36px 28px !important}@media (min-width: 36em){:host(.duet-middle) .duet-layout{padding:48px 36px !important}}@media (min-width: 62em){:host(.duet-middle) .duet-layout{padding:56px !important}}:host(.duet-ie){height:100%}:host(.duet-middle.duet-ie){height:auto}.duet-layout{position:relative;padding:0 16px;margin:48px auto 36px}@media (max-width: 20.5em){.duet-layout.padding-xxx-small{padding:0}}@media (max-width: 22.5em){.duet-layout.padding-xx-small{padding:0}}@media (max-width: 35.9375em){.duet-layout.padding-x-small{padding:0}}@media (min-width: 36em){.duet-layout.padding-small{padding:0}}@media (min-width: 48em){.duet-layout.padding-medium{padding:0}}@media (min-width: 62em){.duet-layout.padding-large{padding:0}}@media (min-width: 64.0625em){.duet-layout.padding-x-large{padding:0}}@media (min-width: 76.25em){.duet-layout.padding-xx-large{padding:0}}@media (min-width: 106.25em){.duet-layout.padding-xxx-large{padding:0}}@media (min-width: 36em){.duet-layout{margin-top:72px}}.duet-layout.duet-layout-has-top{margin-top:0}.duet-layout.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}.duet-layout.duet-center{display:flex;align-items:center;justify-content:center;width:100%;max-width:888px}@media (min-width: 36em){.duet-layout.duet-center{padding:0 48px}}@media (min-width: 48em){.duet-layout.duet-center{padding:0 72px}}@media (min-width: 62em){.duet-layout.duet-center{width:100%}}@media (min-width: 36em){.duet-layout{padding:0 28px}}@media (min-width: 62em){.duet-layout{display:flex;flex-direction:row;padding:0 56px;margin-bottom:48px}}@media (min-width: 76.25em){.duet-layout{max-width:1110px;padding:0}}.duet-main,.duet-sidebar,.duet-layout-top,.duet-layout-bottom{display:block;width:100%}.duet-layout-top{position:relative;display:block;width:100%;margin:72px auto 0}.duet-layout-top.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}.duet-layout-top .duet-layout-top-wrapper{padding:0 20px;margin:0 auto}@media (min-width: 36em){.duet-layout-top .duet-layout-top-wrapper{padding:0 28px}}@media (min-width: 62em){.duet-layout-top .duet-layout-top-wrapper{padding:0 56px}}@media (min-width: 76.25em){.duet-layout-top .duet-layout-top-wrapper{max-width:1110px;padding:0}}.duet-center .duet-layout-top-wrapper{max-width:888px}@media (min-width: 36em){.duet-center .duet-layout-top-wrapper{padding:0 48px}}@media (min-width: 48em){.duet-center .duet-layout-top-wrapper{padding:0 72px}}@media (min-width: 62em){.duet-main{min-width:600px;margin:0 auto}.has-sidebar .duet-main{max-width:734px;margin-right:20px}}@media (min-width: 62em){.duet-sidebar{min-width:256px;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container{width:auto;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container.has-tabs{margin-top:89px}}@media (min-width: 62em){.duet-sidebar-container.sticky{position:sticky}.duet-sidebar-container.sticky.with-links{top:calc(3rem + 20px)}.duet-sidebar-container.sticky.without-links{top:calc(4rem + 20px)}}";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-ad229c23.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-fdeaef9f.js');
|
|
10
10
|
const watchOptions = require('./watch-options-d88afac0.js');
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-ad229c23.js');
|
|
9
9
|
const tokens = require('./tokens-30e7656b.js');
|
|
10
10
|
const themeableComponent = require('./themeable-component-fdeaef9f.js');
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-ad229c23.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-fdeaef9f.js');
|
|
10
10
|
const keyboardUtils = require('./keyboard-utils-bb32119b.js');
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-ad229c23.js');
|
|
9
9
|
const tokens = require('./tokens-30e7656b.js');
|
|
10
10
|
const themeableComponent = require('./themeable-component-fdeaef9f.js');
|
|
11
11
|
const keyboardUtils = require('./keyboard-utils-bb32119b.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-ad229c23.js');
|
|
9
9
|
const tokens = require('./tokens-30e7656b.js');
|
|
10
10
|
const themeableComponent = require('./themeable-component-fdeaef9f.js');
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-ad229c23.js');
|
|
9
9
|
const tokens = require('./tokens-30e7656b.js');
|
|
10
10
|
const themeableComponent = require('./themeable-component-fdeaef9f.js');
|
|
11
11
|
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-ad229c23.js');
|
|
9
9
|
const bodyScrollLock_es6 = require('./bodyScrollLock.es6-6ef1142a.js');
|
|
10
10
|
const themeableComponent = require('./themeable-component-fdeaef9f.js');
|
|
11
11
|
const createId = require('./create-id-c3b984b1.js');
|
|
12
|
-
const focusUtils = require('./focus-utils-
|
|
12
|
+
const focusUtils = require('./focus-utils-fa8771cc.js');
|
|
13
13
|
const keyboardUtils = require('./keyboard-utils-bb32119b.js');
|
|
14
14
|
const languageUtils = require('./language-utils-44df1d37.js');
|
|
15
15
|
require('./string-utils-5cadd058.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-ad229c23.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-fdeaef9f.js');
|
|
10
10
|
const createId = require('./create-id-c3b984b1.js');
|
|
11
11
|
const keyboardUtils = require('./keyboard-utils-bb32119b.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-ad229c23.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-fdeaef9f.js');
|
|
10
10
|
|
|
11
11
|
const duetNavCss = "*,*::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;width:100%}slot[name=mobile]{display:inherit}slot[name=desktop]{display:none}@media (min-width: 62em){slot[name=mobile]{display:none}slot[name=desktop]{display:inherit}}";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-ad229c23.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-fdeaef9f.js');
|
|
10
10
|
const languageUtils = require('./language-utils-44df1d37.js');
|
|
11
11
|
const actionArrowDownSmall = require('./action-arrow-down-small-ef77a2d1.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-ad229c23.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-fdeaef9f.js');
|
|
10
10
|
const createId = require('./create-id-c3b984b1.js');
|
|
11
11
|
const keyboardUtils = require('./keyboard-utils-bb32119b.js');
|
|
@@ -329,6 +329,13 @@ const DuetNumberInput = class {
|
|
|
329
329
|
async setFocus(options) {
|
|
330
330
|
this.duetInputElement.setFocus(options);
|
|
331
331
|
}
|
|
332
|
+
/**
|
|
333
|
+
* Returns a promise which resolves to the current input numeric value.
|
|
334
|
+
*/
|
|
335
|
+
async getValueAsNumber() {
|
|
336
|
+
const currentValue = SafeParseFloat(this.value, this.locale);
|
|
337
|
+
return this.value === undefined || this.value === null || isNaN(currentValue) ? null : currentValue;
|
|
338
|
+
}
|
|
332
339
|
clearValue() {
|
|
333
340
|
this.value = null;
|
|
334
341
|
this.duetInputElement.value = "";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-ad229c23.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-fdeaef9f.js');
|
|
10
10
|
|
|
11
11
|
const duetPageHeadingCss = "*,*::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-page-heading{position:relative;display:block;width:100%;margin:0 auto;overflow:hidden;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)}.duet-page-heading.duet-p-0{padding:0 !important}.duet-page-heading.duet-m-0{margin:0 !important}.duet-page-heading.fluid,.duet-page-heading.narrow{padding:0 16px}@media (min-width: 36em){.duet-page-heading.fluid{padding:0 28px}}@media (min-width: 62em){.duet-page-heading.fluid{padding:0 56px}}@media (min-width: 76.25em){.duet-page-heading.fluid{max-width:1110px;padding:0}}.duet-page-heading.narrow{max-width:888px}@media (min-width: 36em){.duet-page-heading.narrow{padding:0 48px}}@media (min-width: 48em){.duet-page-heading.narrow{padding:0 72px}}.duet-page-heading .heading{max-width:744px;padding:48px 90px 16px 0}@media (min-width: 48em){.duet-page-heading .heading{padding:72px 150px 40px 0}}.duet-page-heading .background{position:absolute;top:0;right:0;left:0;width:100%;max-width:744px;height:104px;margin:0 auto;margin:0 auto}@media (min-width: 48em){.duet-page-heading .background{height:165px}}.duet-page-heading .background .background-mask{position:absolute;top:-20px;right:0;display:block;width:286px;height:331px;background-image:url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIxIiBoZWlnaHQ9IjI1NyIgdmlld0JveD0iMCAwIDcyMSAyNTciIGZpbGw9Im5vbmUiIHh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TcxLjUyOCA0NTIuNDU4IDE4NS4wODcgNDcwLjI1NCAxOTUuN0M0OTAuNzM3IDIwOC44ODEgNTEyLjE0NSAyMTcuNzIxIDUzNC40MDEgMjIyLjI0NUM1NTYuNjQ0IDIyNi43NTcgNTc5Ljg2NSAyMjYuNTA5IDYwNC4xMTUgMjIxLjU2N0M2MDkuNjQzIDIyMC42MTYgNjE1LjI2MyAyMTkuNDY4IDYyMC45MjEgMjE4LjA5OUM2MjYuNTY3IDIxNi43NTYgNjMyLjI3NyAyMTUuMTkyIDYzOC4wNTMgMjEzLjQxOUM2NTkuMDU3IDIwNy41MjUgNjc4LjU2MiAxOTkuMzkgNjk2LjU0MSAxODkuMDc3IiBmaWxsPSIjRjVGNUY3Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMjgyMF82OTk5MSI+CjxyZWN0IHdpZHRoPSI3MjEiIGhlaWdodD0iMjU2Ljg0OCIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K\");background-repeat:no-repeat;background-size:contain}@media (min-width: 48em){.duet-page-heading .background .background-mask{top:-40px;width:502px;height:577px}}.duet-page-heading .background .brand-shape{position:absolute;top:-157px;right:-20px;width:185px;height:185px;background:rgb(0, 119, 179);border-radius:20%;mix-blend-mode:normal;opacity:0.2;transform:rotate(7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shape{top:-280px;right:-40px;width:325px;height:325px}}.duet-page-heading .background .brand-shape.second-shape{top:-182px;right:100px;width:207px;height:207px;background:rgb(11, 114, 136);opacity:0.1}@media (min-width: 48em){.duet-page-heading .background .brand-shape.second-shape{top:-325px;right:200px;width:365px;height:365px}}.duet-page-heading .background .brand-shaped-icon{position:absolute;top:20px;right:16px;display:flex;align-items:center;justify-content:center;width:85px;width:60px;height:85px;height:60px;background:rgba(0, 119, 179, 0.75);border-radius:25%;mix-blend-mode:normal;transform:rotate(7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shaped-icon{right:36px;width:93px;height:93px}}.duet-page-heading .background .brand-shaped-icon duet-icon{width:60px;height:60px;transform:rotate(-7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shaped-icon duet-icon{width:75px;height:75px}}.duet-page-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(0, 41, 77)}.duet-page-heading.duet-theme-turva .brand-shaped-icon{background:rgba(198, 12, 48, 0.9);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");-webkit-mask-repeat:no-repeat;mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");mask-repeat:no-repeat}.duet-page-heading.duet-theme-turva .brand-shaped-icon duet-icon{position:relative;top:-3px}";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-ad229c23.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-fdeaef9f.js');
|
|
10
10
|
const createId = require('./create-id-c3b984b1.js');
|
|
11
11
|
const jsUtils = require('./js-utils-134e0318.js');
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
'use strict';
|
|
5
|
+
|
|
6
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
|
+
|
|
8
|
+
const index = require('./index-ad229c23.js');
|
|
9
|
+
const themeableComponent = require('./themeable-component-fdeaef9f.js');
|
|
10
|
+
|
|
11
|
+
const duetPopupMenuItemCss = "*,*::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:flex;flex-direction:row;gap:0.5rem;align-items:center;justify-content:flex-start}.duet-popup-menu-item{display:flex;flex-grow:1;gap:8px;align-items:center;height:100%;padding:8px 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;font-weight:400;line-height:1.25;color:rgb(0, 41, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-popup-menu-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-popup-menu-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-popup-menu-item.active,.duet-popup-menu-item.active:hover{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-popup-menu-item.active.duet-theme-turva,.duet-popup-menu-item.active:hover.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(198, 12, 48)}.duet-popup-menu-item:hover{background:rgb(230, 242, 248)}.duet-popup-menu-item:hover.duet-theme-turva{background:rgb(228, 228, 230)}.duet-popup-menu-item .duet-popup-menu-item-label{flex-grow:1}";
|
|
12
|
+
|
|
13
|
+
const DuetPopupMenuItem = class {
|
|
14
|
+
constructor(hostRef) {
|
|
15
|
+
index.registerInstance(this, hostRef);
|
|
16
|
+
this.accessibleLabel = undefined;
|
|
17
|
+
this.theme = "";
|
|
18
|
+
this.url = undefined;
|
|
19
|
+
this.external = false;
|
|
20
|
+
this.leadingIcon = undefined;
|
|
21
|
+
this.trailingIcon = undefined;
|
|
22
|
+
this.trailingText = undefined;
|
|
23
|
+
this.active = false;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Component lifecycle events.
|
|
27
|
+
*/
|
|
28
|
+
componentWillLoad() {
|
|
29
|
+
themeableComponent.inheritGlobalTheme(this);
|
|
30
|
+
}
|
|
31
|
+
render() {
|
|
32
|
+
const TagName = this.url ? "a" : "button";
|
|
33
|
+
const classes = {
|
|
34
|
+
"duet-popup-menu-item": true,
|
|
35
|
+
active: this.active,
|
|
36
|
+
};
|
|
37
|
+
return (index.h(index.Host, null, index.h(TagName, { role: "menuitem", "aria-label": this.accessibleLabel, class: classes, href: this.url, target: this.external ? "_blank" : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (index.h("duet-icon", { name: this.leadingIcon, size: "xx-small", color: "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), index.h("span", { class: "duet-popup-menu-item-label" }, index.h("slot", null)), this.trailingIcon && (index.h("duet-icon", { name: this.trailingIcon, size: "xx-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && index.h("span", { class: "duet-popup-menu-item-trailing" }, this.trailingText))));
|
|
38
|
+
}
|
|
39
|
+
get element() { return index.getElement(this); }
|
|
40
|
+
};
|
|
41
|
+
DuetPopupMenuItem.style = duetPopupMenuItemCss;
|
|
42
|
+
|
|
43
|
+
exports.duet_popup_menu_item = DuetPopupMenuItem;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
'use strict';
|
|
5
|
+
|
|
6
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
|
+
|
|
8
|
+
const index = require('./index-ad229c23.js');
|
|
9
|
+
const floatingUi_dom_esm = require('./floating-ui.dom.esm-3801794e.js');
|
|
10
|
+
const themeableComponent = require('./themeable-component-fdeaef9f.js');
|
|
11
|
+
const keyboardUtils = require('./keyboard-utils-bb32119b.js');
|
|
12
|
+
|
|
13
|
+
const duetPopupMenuCss = "*,*::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}.duet-popup-menu-list{position:fixed;top:0;left:0;z-index:950;width:max-content;min-width:175px;padding:0;padding:1rem 0;margin:0;color:rgb(0, 41, 77);list-style:none;visibility:hidden !important;background:rgb(243, 249, 252);border-radius:0 0 8px 8px;box-shadow:0 6px 6px 0 rgba(0, 41, 77, 0.1);opacity:0;transition:transform 300ms ease, visibility 300ms ease, opacity 300ms ease;transform:scaleY(0);transform-origin:top center}.duet-popup-menu-list.open{visibility:visible !important;opacity:1;transform:scaleY(1)}";
|
|
14
|
+
|
|
15
|
+
const DuetPopupMenu = class {
|
|
16
|
+
constructor(hostRef) {
|
|
17
|
+
index.registerInstance(this, hostRef);
|
|
18
|
+
this.updatePlacement = async () => {
|
|
19
|
+
if (!this.controller) {
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
const position = await floatingUi_dom_esm.computePosition(this.controller, this.element, {
|
|
23
|
+
middleware: [floatingUi_dom_esm.offset({ mainAxis: this.mainAxisOffset, crossAxis: this.crossAxisOffset }), floatingUi_dom_esm.flip()],
|
|
24
|
+
placement: this.placement,
|
|
25
|
+
strategy: "fixed",
|
|
26
|
+
});
|
|
27
|
+
this.menuY = position.y;
|
|
28
|
+
this.menuX = position.x;
|
|
29
|
+
};
|
|
30
|
+
this.open = false;
|
|
31
|
+
this.menuY = undefined;
|
|
32
|
+
this.menuX = undefined;
|
|
33
|
+
this.accessibleLabel = undefined;
|
|
34
|
+
this.theme = "";
|
|
35
|
+
this.controller = undefined;
|
|
36
|
+
this.placement = "bottom-start";
|
|
37
|
+
this.mainAxisOffset = 0;
|
|
38
|
+
this.crossAxisOffset = 0;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Component lifecycle events.
|
|
42
|
+
*/
|
|
43
|
+
componentWillLoad() {
|
|
44
|
+
themeableComponent.inheritGlobalTheme(this);
|
|
45
|
+
}
|
|
46
|
+
componentDidLoad() {
|
|
47
|
+
{
|
|
48
|
+
this.updatePlacement();
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Component event handling.
|
|
53
|
+
*/
|
|
54
|
+
handleKeyUp(evt) {
|
|
55
|
+
if (this.open) {
|
|
56
|
+
// When Esc is pressed the modal should be closed
|
|
57
|
+
if (keyboardUtils.isEscapeKey(evt)) {
|
|
58
|
+
this.hide();
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
handleClick(evt) {
|
|
63
|
+
const isClickOutside = evt.composedPath().every(node => node !== this.element && node !== this.controller);
|
|
64
|
+
if (this.open && isClickOutside) {
|
|
65
|
+
this.hide();
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* isOpen.
|
|
70
|
+
*/
|
|
71
|
+
async isOpen() {
|
|
72
|
+
return this.open;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Show.
|
|
76
|
+
*/
|
|
77
|
+
async show() {
|
|
78
|
+
this.open = true;
|
|
79
|
+
this.updatePlacement();
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Hide.
|
|
83
|
+
*/
|
|
84
|
+
async hide() {
|
|
85
|
+
this.open = false;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Toggle.
|
|
89
|
+
*/
|
|
90
|
+
async toggle() {
|
|
91
|
+
if (this.open) {
|
|
92
|
+
this.hide();
|
|
93
|
+
}
|
|
94
|
+
else {
|
|
95
|
+
this.show();
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
render() {
|
|
99
|
+
const positionStyles = {
|
|
100
|
+
top: `${this.menuY}px`,
|
|
101
|
+
left: `${this.menuX}px`,
|
|
102
|
+
};
|
|
103
|
+
return (index.h(index.Host, null, index.h("div", { style: positionStyles, class: { open: this.open, "duet-popup-menu-list": true }, role: "menu", "aria-label": this.accessibleLabel }, index.h("slot", null))));
|
|
104
|
+
}
|
|
105
|
+
get element() { return index.getElement(this); }
|
|
106
|
+
};
|
|
107
|
+
DuetPopupMenu.style = duetPopupMenuCss;
|
|
108
|
+
|
|
109
|
+
exports.duet_popup_menu = DuetPopupMenu;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-ad229c23.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-fdeaef9f.js');
|
|
10
10
|
const createId = require('./create-id-c3b984b1.js');
|
|
11
11
|
const languageUtils = require('./language-utils-44df1d37.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-ad229c23.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-fdeaef9f.js');
|
|
10
10
|
const tokenUtils = require('./token-utils-c1864408.js');
|
|
11
11
|
require('./tokens.module-5fe478ed.js');
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-ad229c23.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-fdeaef9f.js');
|
|
10
10
|
const createId = require('./create-id-c3b984b1.js');
|
|
11
11
|
const watchOptions = require('./watch-options-d88afac0.js');
|
|
12
12
|
|
|
13
|
-
const duetRadioCss = "*.sc-duet-radio,*.sc-duet-radio::after,*.sc-duet-radio::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-radio-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:28px !important;margin-bottom:12px !important;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-radio-h:last-child,.sc-duet-radio-h:last-of-type{margin-right:0 !important}.vertical.sc-duet-radio-h{margin-right:0 !important}.horizontal.sc-duet-radio-h{margin-bottom:0 !important;width:auto}.horizontal.sc-duet-radio-h .duet-label.sc-duet-radio
|
|
13
|
+
const duetRadioCss = "*.sc-duet-radio,*.sc-duet-radio::after,*.sc-duet-radio::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-radio-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:28px !important;margin-bottom:12px !important;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-radio-h:last-child,.sc-duet-radio-h:last-of-type{margin-right:0 !important}.vertical.sc-duet-radio-h{margin-right:0 !important}.horizontal.sc-duet-radio-h{margin-bottom:0 !important;width:auto}.horizontal.sc-duet-radio-h .duet-label.sc-duet-radio .duet-label-content.sc-duet-radio{max-width:100%}@media (min-width: 48em){.horizontal-responsive.sc-duet-radio-h{margin-right:28px !important;margin-bottom:0 !important;width:auto}.horizontal-responsive.sc-duet-radio-h:last-child,.horizontal-responsive.sc-duet-radio-h:last-of-type{margin-right:0 !important}.horizontal-responsive.sc-duet-radio-h .duet-label.sc-duet-radio .duet-label-content.sc-duet-radio{max-width:100%}}.duet-m-0.sc-duet-radio-h{margin:0 !important}.sc-duet-radio-h:last-child:not(:only-child){margin-right:0 !important;margin-bottom:0 !important}.duet-label.sc-duet-radio{position:relative;z-index:100;display:flex;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;hyphens:auto;line-height:1.5;color:rgb(0, 41, 77);word-break:break-word;overflow-wrap:break-word;cursor:pointer;background:transparent}.duet-theme-turva.sc-duet-radio .duet-label.sc-duet-radio{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-label.sc-duet-radio .duet-label-content.sc-duet-radio{flex-grow:1;font-size:1rem}.duet-label-hidden.sc-duet-radio .duet-label.sc-duet-radio{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-radio-container.sc-duet-radio{position:relative;width:100%;height:100%}.duet-radio.sc-duet-radio{padding:14px !important;position:absolute;top:0;left:0;z-index:200;width:100%;height:100%;cursor:pointer;opacity:0}.duet-radio.sc-duet-radio+label.sc-duet-radio::before{z-index:100;flex-shrink:0;width:20px;height:20px;margin:2px 10px 1px 1px;content:\"\";background:rgb(255, 255, 255);border:1px solid rgb(0, 41, 77);border-radius:50%}.duet-theme-turva.sc-duet-radio .duet-radio.sc-duet-radio+label.sc-duet-radio::before{border-color:rgb(23, 28, 58)}.duet-radio.sc-duet-radio:focus+label.sc-duet-radio::before{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-theme-turva.sc-duet-radio .duet-radio.sc-duet-radio:focus+label.sc-duet-radio::before{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-radio.sc-duet-radio:checked+label.sc-duet-radio::after{position:absolute;top:6px;left:5px;z-index:200;flex-shrink:0;width:12px;height:12px;content:\"\";background:rgb(0, 41, 77);border-radius:50%}.duet-theme-turva.sc-duet-radio .duet-radio.sc-duet-radio:checked+label.sc-duet-radio::after{background:rgb(23, 28, 58)}.duet-radio[disabled].sc-duet-radio{cursor:default}.duet-radio[disabled].sc-duet-radio+label.sc-duet-radio{color:rgb(101, 119, 135)}.duet-theme-turva.sc-duet-radio .duet-radio[disabled].sc-duet-radio+label.sc-duet-radio{color:rgb(116, 116, 117)}.duet-radio[disabled].sc-duet-radio+label.sc-duet-radio::before{border-color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-radio .duet-radio[disabled].sc-duet-radio+label.sc-duet-radio::before{border-color:rgb(207, 207, 209)}.duet-radio[disabled].sc-duet-radio:checked+label.sc-duet-radio::before{border:1px solid rgb(101, 119, 135)}.duet-radio[disabled].sc-duet-radio:checked+label.sc-duet-radio::after{background:rgb(101, 119, 135)}.duet-theme-turva.sc-duet-radio .duet-radio[disabled].sc-duet-radio:checked+label.sc-duet-radio::after{background:rgb(116, 116, 117);border-color:rgb(116, 116, 117)}";
|
|
14
14
|
|
|
15
15
|
const DuetRadio = class {
|
|
16
16
|
constructor(hostRef) {
|
|
@@ -29,7 +29,7 @@ const DuetRadio = class {
|
|
|
29
29
|
ev.stopPropagation();
|
|
30
30
|
};
|
|
31
31
|
this.onChange = (ev) => {
|
|
32
|
-
this.checked =
|
|
32
|
+
this.checked = this.nativeInput.checked || false;
|
|
33
33
|
if (this.checked && !this.blockEvents) {
|
|
34
34
|
this.duetChange.emit({
|
|
35
35
|
originalEvent: ev,
|
|
@@ -83,6 +83,7 @@ const DuetRadio = class {
|
|
|
83
83
|
*/
|
|
84
84
|
componentWillLoad() {
|
|
85
85
|
themeableComponent.inheritGlobalTheme(this);
|
|
86
|
+
this.hasLabel = !!this.element.querySelector(":scope > [slot='label']");
|
|
86
87
|
if (this.value === undefined) {
|
|
87
88
|
this.value = this.identifier;
|
|
88
89
|
}
|
|
@@ -104,7 +105,7 @@ const DuetRadio = class {
|
|
|
104
105
|
horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
|
|
105
106
|
"horizontal-responsive": this.groupDirection === "horizontal" && this.groupResponsive,
|
|
106
107
|
"duet-m-0": this.margin === "none",
|
|
107
|
-
} }, index.h("div", { class: { "duet-radio-container": true, "duet-theme-turva": this.theme === "turva" } }, index.h("input", { type: "radio", onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, value: this.value, tabindex: this.accessibleIndex, class: { "duet-radio": true, disabled: this.disabled || this.groupDisabled }, checked: this.checked, disabled: this.disabled || this.groupDisabled, required: this.required, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, role: this.role, name: this.name, id: identifier, ref: input => (this.nativeInput = input) }), index.h("label", { class: "duet-label", htmlFor: identifier }, index.h("
|
|
108
|
+
} }, index.h("div", { class: { "duet-radio-container": true, "duet-theme-turva": this.theme === "turva" } }, index.h("input", { type: "radio", onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, value: this.value, tabindex: this.accessibleIndex, class: { "duet-radio": true, disabled: this.disabled || this.groupDisabled }, checked: this.checked, disabled: this.disabled || this.groupDisabled, required: this.required, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, role: this.role, name: this.name, id: identifier, ref: input => (this.nativeInput = input) }), index.h("label", { class: "duet-label", htmlFor: identifier }, index.h("div", { class: "duet-label-content" }, this.hasLabel ? index.h("slot", { name: "label" }) : this.label)))));
|
|
108
109
|
}
|
|
109
110
|
get element() { return index.getElement(this); }
|
|
110
111
|
};
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-ad229c23.js');
|
|
9
9
|
const tokens_module = require('./tokens.module-5fe478ed.js');
|
|
10
10
|
const themeableComponent = require('./themeable-component-fdeaef9f.js');
|
|
11
11
|
const createId = require('./create-id-c3b984b1.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-ad229c23.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-fdeaef9f.js');
|
|
10
10
|
const languageUtils = require('./language-utils-44df1d37.js');
|
|
11
11
|
const createId = require('./create-id-c3b984b1.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-ad229c23.js');
|
|
9
9
|
const isInternetExplorer = require('./is-internet-explorer-91361c56.js');
|
|
10
10
|
|
|
11
11
|
const duetSectionLayoutCss = "*,*::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;flex:1 0 auto;width:100%}:host(.duet-middle){display:flex}:host(.duet-middle) .duet-layout{padding:36px 28px !important}@media (min-width: 36em){:host(.duet-middle) .duet-layout{padding:48px 36px !important}}@media (min-width: 62em){:host(.duet-middle) .duet-layout{padding:56px !important}}:host(.duet-ie){height:100%}:host(.duet-middle.duet-ie){height:auto}.duet-layout{position:relative;padding:0 16px;margin:48px auto 36px}@media (min-width: 36em){.duet-layout{margin-top:72px}}.duet-layout.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}@media (min-width: 36em){.duet-layout{padding:0 28px}}@media (min-width: 62em){.duet-layout{display:flex;flex-direction:row;padding:0 56px;margin-bottom:48px}}@media (min-width: 76.25em){.duet-layout{max-width:1110px;padding:0}}.duet-main{display:block;width:100%}@media (min-width: 62em){.duet-main{min-width:600px;margin:0 auto}.has-sidebar .duet-main{max-width:734px;margin-right:20px}}";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-ad229c23.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-fdeaef9f.js');
|
|
10
10
|
const createId = require('./create-id-c3b984b1.js');
|
|
11
11
|
const stringUtils = require('./string-utils-5cadd058.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-ad229c23.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-fdeaef9f.js');
|
|
10
10
|
|
|
11
11
|
const duetShapedImageCss = "*,*::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:inline-block;width:100%;height:100%;margin:5%}:host(.duet-theme-turva){margin:3%}:host(.duet-m-0){margin:0}.shaped-image{position:relative;display:inline-block;width:100%;height:100%}.shaped-image .shaped-image-mask{position:relative;display:block;width:100%;height:100%;overflow:hidden;border-radius:25%;transform:rotate(var(--rotation))}.shaped-image .shaped-image-mask .shaped-image-img{position:relative;display:block;width:100%;height:100%;background-repeat:no-repeat;background-position:center;background-size:cover;transform:scale(1.07) rotate(calc(-1 * var(--rotation)));transform-origin:center}:host(.duet-theme-turva) .shaped-image .shaped-image-mask{transform:none;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");-webkit-mask-repeat:no-repeat;mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");mask-repeat:no-repeat}:host(.duet-theme-turva) .shaped-image .shaped-image-mask .shaped-image-img{transform:none}";
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
'use strict';
|
|
5
|
+
|
|
6
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
|
+
|
|
8
|
+
const index = require('./index-ad229c23.js');
|
|
9
|
+
const themeableComponent = require('./themeable-component-fdeaef9f.js');
|
|
10
|
+
const createId = require('./create-id-c3b984b1.js');
|
|
11
|
+
const keyboardUtils = require('./keyboard-utils-bb32119b.js');
|
|
12
|
+
const languageUtils = require('./language-utils-44df1d37.js');
|
|
13
|
+
require('./string-utils-5cadd058.js');
|
|
14
|
+
|
|
15
|
+
const duetShowMoreCss = "*,*::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:16px !important;display:block}.duet-show-more{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-show-more.duet-m-0{margin:0 !important}.duet-show-more .slotted-content{display:none}.duet-show-more.open .slotted-content{display:block}.duet-show-more.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)}";
|
|
16
|
+
|
|
17
|
+
const DuetShowMore = class {
|
|
18
|
+
constructor(hostRef) {
|
|
19
|
+
index.registerInstance(this, hostRef);
|
|
20
|
+
this.duetToggle = index.createEvent(this, "duetToggle", 7);
|
|
21
|
+
this.contentId = createId.createID("DuetShowMore");
|
|
22
|
+
this.buttonId = createId.createID("DuetShowMoreButton");
|
|
23
|
+
this.showMoreLangObject = {
|
|
24
|
+
fi: "Näytä lisää",
|
|
25
|
+
sv: "Visa mer",
|
|
26
|
+
en: "Show more",
|
|
27
|
+
};
|
|
28
|
+
this.showLessLangObject = {
|
|
29
|
+
fi: "Näytä vähemmän",
|
|
30
|
+
sv: "Visa mindre",
|
|
31
|
+
en: "Show less",
|
|
32
|
+
};
|
|
33
|
+
this.showMoreContentAriaLangObject = {
|
|
34
|
+
fi: "Piilotettu sisältö",
|
|
35
|
+
sv: "Utökat innehåll",
|
|
36
|
+
en: "Hidden content",
|
|
37
|
+
};
|
|
38
|
+
this.showMoreAriaLangObject = {
|
|
39
|
+
fi: "Paljasta piilotettu sisältö ennen tätä painiketta",
|
|
40
|
+
sv: "Visa dolt innehåll före den här knappen",
|
|
41
|
+
en: "Reveal hidden content before this button",
|
|
42
|
+
};
|
|
43
|
+
this.showLessAriaLangObject = {
|
|
44
|
+
fi: "Piilota paljastettu sisältö ennen tätä painiketta",
|
|
45
|
+
sv: "Dölj innehåll före den här knappen",
|
|
46
|
+
en: "Hide revealed content before this button",
|
|
47
|
+
};
|
|
48
|
+
this.handleKeyDown = (e) => {
|
|
49
|
+
if (keyboardUtils.isKeyboardClick(e)) {
|
|
50
|
+
this.handleClick(e);
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
this.handleClick = (e) => {
|
|
54
|
+
e.preventDefault();
|
|
55
|
+
const open = !this.open;
|
|
56
|
+
this.open = open;
|
|
57
|
+
this.duetToggle.emit({
|
|
58
|
+
component: "duet-show-more",
|
|
59
|
+
originalEvent: e,
|
|
60
|
+
});
|
|
61
|
+
};
|
|
62
|
+
this.theme = "";
|
|
63
|
+
this.language = languageUtils.getLanguage();
|
|
64
|
+
this.margin = "auto";
|
|
65
|
+
this.open = false;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Component lifecycle events.
|
|
69
|
+
*/
|
|
70
|
+
componentWillLoad() {
|
|
71
|
+
themeableComponent.inheritGlobalTheme(this);
|
|
72
|
+
}
|
|
73
|
+
connectedCallback() {
|
|
74
|
+
languageUtils.connectLanguageChangeObserver(this);
|
|
75
|
+
}
|
|
76
|
+
disconnectedCallback() {
|
|
77
|
+
languageUtils.disconnectLanguageChangeObserver(this);
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* render() function
|
|
81
|
+
* Always the last one of the class.
|
|
82
|
+
*/
|
|
83
|
+
render() {
|
|
84
|
+
return (index.h(index.Host, null, index.h("div", { class: {
|
|
85
|
+
"duet-show-more": true,
|
|
86
|
+
"duet-theme-turva": this.theme === "turva",
|
|
87
|
+
"duet-m-0": this.margin === "none",
|
|
88
|
+
open: this.open,
|
|
89
|
+
} }, index.h("div", { class: { content: true }, role: "group", "aria-label": languageUtils.getLocaleString(this.showMoreContentAriaLangObject), id: this.contentId, tabindex: this.open ? "0" : "" }, index.h("div", { class: { "slotted-content": true } }, index.h("slot", null))), index.h("duet-button", { id: this.buttonId, variation: "plain", "accessible-label": languageUtils.getLocaleString(this.open ? this.showLessAriaLangObject : this.showMoreAriaLangObject), "accessible-expanded": this.open ? "true" : "false", "accessible-controls": this.contentId, onClick: this.handleClick, onKeyDown: this.handleKeyDown, "icon-right": true, icon: this.open ? "action-arrow-up-small" : "action-arrow-down-small", "icon-size": "medium-small", size: "small" }, languageUtils.getLocaleString(this.open ? this.showLessLangObject : this.showMoreLangObject)))));
|
|
90
|
+
}
|
|
91
|
+
get element() { return index.getElement(this); }
|
|
92
|
+
};
|
|
93
|
+
DuetShowMore.style = duetShowMoreCss;
|
|
94
|
+
|
|
95
|
+
exports.duet_show_more = DuetShowMore;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-ad229c23.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-fdeaef9f.js');
|
|
10
10
|
const languageUtils = require('./language-utils-44df1d37.js');
|
|
11
11
|
require('./string-utils-5cadd058.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-ad229c23.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-fdeaef9f.js');
|
|
10
10
|
|
|
11
11
|
const duetSlideoutLinkCss = "*,*::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;width:100%;height:100%}.duet-slideout-link{position:relative;display:flex;gap:20px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 0;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:inherit;font-weight:inherit;line-height:1.25;color:inherit;text-align:left;text-decoration:none}.duet-slideout-link.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\"}.duet-slideout-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-slideout-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-slideout-link.active span{position:relative}.duet-slideout-link.active span::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:var(--active-height, 2px);content:\"\";background:rgb(0, 119, 179);transform:var(--active-translate-y, translateY(2px))}.duet-slideout-link.active.duet-theme-turva span::after{background:rgb(198, 12, 48)}.duet-slideout-link.small{font-size:1rem;font-weight:600}.duet-slideout-link.small span::after{--active-height:1px;--active-translate-y:1px}.duet-slideout-link.medium{font-size:1.25rem;font-weight:600}.duet-slideout-link.large{font-size:1.5rem;font-weight:800}.duet-slideout-link .label{display:flex;gap:0.5rem;align-items:center;justify-content:space-between;width:100%}slot[name=description]::slotted(*){display:block;padding:8px 0 0;font-size:1rem;font-size:1.25;font-weight:400;color:rgb(101, 119, 135)}.duet-theme-turva slot[name=description]::slotted(*){color:rgb(68, 68, 69)}";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-ad229c23.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-fdeaef9f.js');
|
|
10
10
|
|
|
11
11
|
const duetSlideoutPanelDropdownCss = "*,*::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;width:100%;height:100%}:host slot:not([name=label])::slotted(*){position:relative;top:-0.5rem;opacity:0;transition:top 0.3s ease-in, opacity 0.3s ease-in}:host([open]) slot:not([name=label])::slotted(*){top:0;opacity:1}.duet-slideout-panel-dropdown{position:relative;width:100%;height:100%}.duet-slideout-panel-dropdown button{position:relative;display:flex;gap:20px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 0;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:800;line-height:1.25;color:rgb(0, 41, 77);text-align:center;text-decoration:none;cursor:pointer}.duet-slideout-panel-dropdown button .label{position:relative;display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-slideout-panel-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-slideout-panel-dropdown button.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:calc(100% - 18px);height:1px;content:\"\";background:rgb(0, 119, 179);transform:translateY(1px)}.duet-slideout-panel-dropdown .items{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;max-height:1000px;padding:4px 20px 8px 44px;overflow-y:auto;visibility:visible;transition:max-height 0.3s ease-in, padding-bottom 0.3s ease-in;-ms-overflow-style:none;scrollbar-width:none}.duet-slideout-panel-dropdown .items::-webkit-scrollbar{display:none}.duet-slideout-panel-dropdown .items.hidden{max-height:0;padding:0;overflow:hidden;visibility:hidden;transition:max-height 0.3s ease-out, padding-bottom 0.3s ease-out}.duet-slideout-panel-dropdown.duet-theme-turva button{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-slideout-panel-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-slideout-panel-dropdown.duet-theme-turva button.active .label::after{background:rgb(198, 12, 48)}slot{--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:400;color:rgb(0, 41, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}slot[name=label]{font-size:1rem;font-weight:600}";
|