@duetds/components 8.6.2 → 8.6.4
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 +695 -649
- package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
- package/lib/cjs/duet-alert.cjs.entry.js +2 -0
- package/lib/cjs/duet-banner.cjs.entry.js +6 -4
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +2 -2
- package/lib/cjs/duet-button_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-caption_4.cjs.entry.js +4 -4
- package/lib/cjs/duet-card.cjs.entry.js +2 -2
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
- package/lib/cjs/duet-divider_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +2 -2
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-input_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
- package/lib/cjs/duet-modal.cjs.entry.js +26 -3
- package/lib/cjs/duet-page-heading.cjs.entry.js +2 -1
- package/lib/cjs/duet-pagination_2.cjs.entry.js +24 -11
- package/lib/cjs/duet-popup-menu.cjs.entry.js +1 -0
- package/lib/cjs/duet-promo-card.cjs.entry.js +2 -2
- package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +2 -2
- 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-submenu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip.cjs.entry.js +1 -1
- package/lib/cjs/duet-tray.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +1 -1
- package/lib/cjs/loader.cjs.js +1 -1
- package/lib/cjs/{token-utils-4ff49a49.js → token-utils-2a219fda.js} +1 -1
- package/lib/cjs/{tokens-d270c810.js → tokens-851fb0c9.js} +376 -376
- package/lib/cjs/{tokens.module-2198b663.js → tokens.module-3e57c188.js} +250 -250
- package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
- package/lib/collection/components/duet-alert/duet-alert.js +17 -1
- package/lib/collection/components/duet-banner/duet-banner.css +27 -23
- package/lib/collection/components/duet-banner/duet-banner.js +4 -2
- 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 +4 -4
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
- package/lib/collection/components/duet-chip/duet-chip.js +6 -6
- package/lib/collection/components/duet-choice/duet-choice.js +3 -3
- 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 +5 -5
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
- 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.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.css +3 -2
- 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 +12 -6
- package/lib/collection/components/duet-link/duet-link.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.css +2 -1
- package/lib/collection/components/duet-modal/duet-modal.e2e.js +21 -0
- package/lib/collection/components/duet-modal/duet-modal.js +75 -10
- 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.js +1 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.css +3 -0
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +1 -0
- package/lib/collection/components/duet-pagination/duet-pagination.js +37 -10
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +22 -1
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-radio/duet-radio.css +4 -4
- 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 +24 -2
- 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/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-banner.js +7 -5
- package/lib/dist-custom-elements/duet-breadcrumb.js +1 -1
- package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +2 -2
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +3 -3
- package/lib/dist-custom-elements/duet-choice.js +1 -1
- package/lib/dist-custom-elements/duet-collapsible.js +2 -2
- package/lib/dist-custom-elements/duet-combobox.js +8 -8
- package/lib/dist-custom-elements/duet-contact-card.js +6 -6
- package/lib/dist-custom-elements/duet-cookie-consent.js +3 -3
- package/lib/dist-custom-elements/duet-date-picker.js +8 -8
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +5 -5
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-footer.js +2 -2
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +6 -6
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +5 -5
- 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-link.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-item.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-link.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-modal.js +31 -7
- package/lib/dist-custom-elements/duet-multiselect.js +5 -5
- package/lib/dist-custom-elements/duet-notification-drawer.js +3 -3
- package/lib/dist-custom-elements/duet-number-input.js +7 -7
- package/lib/dist-custom-elements/duet-page-heading.js +3 -2
- package/lib/dist-custom-elements/duet-pagination.js +27 -17
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu.js +2 -0
- package/lib/dist-custom-elements/duet-promo-card.js +3 -3
- package/lib/dist-custom-elements/duet-radio-group.js +3 -3
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +2 -2
- package/lib/dist-custom-elements/duet-range-stepper.js +8 -3
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-link.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +1 -1
- 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-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +1 -1
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +1 -1
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +1 -1
- package/lib/dist-custom-elements/duet-submenu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-tab-group.js +8 -8
- 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 +5 -5
- package/lib/dist-custom-elements/duet-toggle.js +1 -1
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +1 -1
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +1 -1
- package/lib/dist-custom-elements/duet-toolbar-item.js +1 -1
- package/lib/dist-custom-elements/duet-toolbar-link.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 +2 -2
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +11 -11
- package/lib/dist-custom-elements/{p-08124065.js → p-01c62feb.js} +1 -1
- package/lib/dist-custom-elements/{p-92a16064.js → p-18552e4e.js} +3 -3
- package/lib/dist-custom-elements/{p-baf3208f.js → p-1a8d1a11.js} +1 -1
- package/lib/dist-custom-elements/{p-83231ea8.js → p-20b3fa1e.js} +3 -3
- package/lib/dist-custom-elements/{p-a829df6e.js → p-27b6f57b.js} +1 -1
- package/lib/dist-custom-elements/{p-46074a1a.js → p-29926f8a.js} +2 -2
- package/lib/dist-custom-elements/{p-2f410810.js → p-29b18cdf.js} +4 -4
- package/lib/dist-custom-elements/{p-25c80cdb.js → p-3ec3eb5f.js} +1 -1
- package/lib/dist-custom-elements/{p-6d366100.js → p-3f85f7b8.js} +6 -4
- package/lib/dist-custom-elements/{p-e10f446d.js → p-43fc089a.js} +5 -5
- package/lib/dist-custom-elements/{p-17ed32c8.js → p-4779e8e0.js} +1 -1
- package/lib/dist-custom-elements/{p-0c564379.js → p-67ef919e.js} +250 -250
- package/lib/dist-custom-elements/{p-e3d597b6.js → p-6ac13d84.js} +1 -1
- package/lib/dist-custom-elements/{p-014c1177.js → p-7b97ad08.js} +6 -6
- package/lib/dist-custom-elements/{p-28ec3461.js → p-82302a93.js} +3 -3
- package/lib/dist-custom-elements/{p-667579b0.js → p-9ca3437c.js} +2 -2
- package/lib/dist-custom-elements/{p-bb25377b.js → p-b29a25ab.js} +1 -1
- package/lib/dist-custom-elements/{p-63954651.js → p-b676c88c.js} +1 -1
- package/lib/dist-custom-elements/{p-d482a2e9.js → p-c76bd205.js} +1 -1
- package/lib/{esm/tokens-5e02bbe0.js → dist-custom-elements/p-d5c03b61.js} +376 -376
- package/lib/dist-custom-elements/{p-a167e2a0.js → p-d72fa71c.js} +1 -1
- package/lib/dist-custom-elements/{p-e702eb52.js → p-d8932b2b.js} +4 -4
- package/lib/dist-custom-elements/{p-0cee8a12.js → p-ecaba4be.js} +1 -1
- package/lib/dist-custom-elements/{p-755dd68f.js → p-ef51ec63.js} +1 -1
- package/lib/dist-custom-elements/{p-f4ac6968.js → p-f40596e9.js} +2 -2
- package/lib/dist-custom-elements/{p-a02e62f3.js → p-f47e755d.js} +3 -3
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/{p-1a7649e4.entry.js → p-01e99d98.entry.js} +1 -1
- package/lib/duet/{p-4e724a7d.entry.js → p-032e2711.entry.js} +1 -1
- package/lib/duet/{p-956fad95.system.entry.js → p-080d1309.system.entry.js} +1 -1
- package/lib/duet/p-08379332.entry.js +4 -0
- package/lib/duet/{p-37802e1f.system.entry.js → p-0b7eacfc.system.entry.js} +1 -1
- package/lib/duet/{p-c586a2c4.system.entry.js → p-166ee660.system.entry.js} +1 -1
- package/lib/duet/{p-0bdcf67f.js → p-1784b1d2.js} +1 -1
- package/lib/duet/{p-a21391c0.system.entry.js → p-1ab80c29.system.entry.js} +1 -1
- package/lib/duet/{p-7f4b420c.system.entry.js → p-1bc74805.system.entry.js} +1 -1
- package/lib/duet/{p-4781cd58.entry.js → p-20914caa.entry.js} +1 -1
- package/lib/duet/p-21f4713b.system.entry.js +4 -0
- package/lib/duet/{p-45bb3cd0.system.entry.js → p-2208faac.system.entry.js} +1 -1
- package/lib/duet/{p-69e67b58.entry.js → p-283d802c.entry.js} +1 -1
- package/lib/duet/p-33e25171.system.entry.js +4 -0
- package/lib/duet/{p-999fff8d.system.entry.js → p-40a7a9b0.system.entry.js} +1 -1
- package/lib/duet/{p-76e54ff5.entry.js → p-413838af.entry.js} +1 -1
- package/lib/duet/{p-ebbecac7.system.entry.js → p-427eec46.system.entry.js} +1 -1
- package/lib/duet/{p-15c22a22.entry.js → p-4605197f.entry.js} +1 -1
- package/lib/duet/{p-2522cfc3.entry.js → p-49a25bf5.entry.js} +1 -1
- package/lib/duet/p-49f79189.system.entry.js +4 -0
- package/lib/duet/p-4a901bfc.js +4 -0
- package/lib/duet/{p-e0907f29.entry.js → p-5063685a.entry.js} +1 -1
- package/lib/duet/{p-8fb1d27a.system.entry.js → p-51adcace.system.entry.js} +1 -1
- package/lib/duet/{p-afe7d680.entry.js → p-5dd177d8.entry.js} +1 -1
- package/lib/duet/{p-07ac7f3e.system.entry.js → p-60f12cac.system.entry.js} +1 -1
- package/lib/duet/p-6151635f.system.js +1 -1
- package/lib/duet/p-622f89ff.entry.js +4 -0
- package/lib/duet/p-62512c7e.system.entry.js +4 -0
- package/lib/duet/p-62c34a4d.system.entry.js +4 -0
- package/lib/duet/{p-ad9b7b51.entry.js → p-6623f965.entry.js} +1 -1
- package/lib/duet/{p-9e75e5d8.system.entry.js → p-690a8348.system.entry.js} +1 -1
- package/lib/duet/{p-73cd3afd.entry.js → p-6a1bd4d9.entry.js} +1 -1
- package/lib/duet/p-6e3a7d3f.system.entry.js +4 -0
- package/lib/duet/{p-6c9cfb6d.entry.js → p-6f24a09e.entry.js} +1 -1
- package/lib/duet/{p-eafed149.system.entry.js → p-76a419f1.system.entry.js} +1 -1
- package/lib/duet/p-787520f2.entry.js +4 -0
- package/lib/duet/{p-c776e072.entry.js → p-7f7a7a71.entry.js} +1 -1
- package/lib/duet/{p-3302d75d.entry.js → p-805a3314.entry.js} +1 -1
- package/lib/duet/{p-a90f23ec.system.entry.js → p-907787c5.system.entry.js} +1 -1
- package/lib/duet/{p-b78c3e3e.entry.js → p-91677c21.entry.js} +1 -1
- package/lib/duet/{p-b02ca265.entry.js → p-9180b8be.entry.js} +1 -1
- package/lib/duet/{p-7a161455.entry.js → p-96ca57c0.entry.js} +1 -1
- package/lib/duet/{p-628ae8ba.entry.js → p-a5bb0b7f.entry.js} +1 -1
- package/lib/duet/{p-cc9cfdb3.entry.js → p-a64b72f5.entry.js} +1 -1
- package/lib/duet/{p-4de910bd.system.entry.js → p-b781e27f.system.entry.js} +1 -1
- package/lib/duet/{p-73e66b09.system.js → p-c1445714.system.js} +1 -1
- package/lib/duet/{p-7ca15c93.entry.js → p-c2c2e797.entry.js} +1 -1
- package/lib/duet/{p-a659cdb5.system.entry.js → p-c30b6ad6.system.entry.js} +1 -1
- package/lib/duet/{p-38f9c1e3.entry.js → p-c493cd2e.entry.js} +1 -1
- package/lib/duet/p-c51d6fb5.system.js +4 -0
- package/lib/duet/p-c5f48c1c.system.entry.js +4 -0
- package/lib/duet/p-c86d6786.system.js +4 -0
- package/lib/duet/{p-0fc721ab.system.entry.js → p-caf153e4.system.entry.js} +1 -1
- package/lib/duet/{p-c68602c9.system.entry.js → p-ce01f793.system.entry.js} +1 -1
- package/lib/duet/{p-e640a515.system.entry.js → p-ce6892d9.system.entry.js} +1 -1
- package/lib/duet/p-d067ebb8.entry.js +4 -0
- package/lib/duet/p-d5c03b61.js +4 -0
- package/lib/duet/{p-80ffc878.system.entry.js → p-da0e9110.system.entry.js} +1 -1
- package/lib/duet/p-e12b461b.entry.js +4 -0
- package/lib/duet/p-e4595aa7.system.entry.js +4 -0
- package/lib/duet/p-e7d32eaa.entry.js +4 -0
- package/lib/duet/{p-e411627f.entry.js → p-ee4075c2.entry.js} +1 -1
- package/lib/duet/{p-174ad02e.system.entry.js → p-f0209c14.system.entry.js} +1 -1
- package/lib/duet/p-f252a415.entry.js +4 -0
- package/lib/duet/{p-9ac25886.system.entry.js → p-f52f44d6.system.entry.js} +1 -1
- package/lib/duet/{p-179881d0.system.entry.js → p-fa3801ea.system.entry.js} +1 -1
- package/lib/duet/{p-05a72320.entry.js → p-ff4969cc.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +2 -2
- package/lib/esm/duet-alert.entry.js +2 -0
- package/lib/esm/duet-banner.entry.js +6 -4
- package/lib/esm/duet-breadcrumbs.entry.js +2 -2
- package/lib/esm/duet-button_2.entry.js +2 -2
- package/lib/esm/duet-caption_4.entry.js +4 -4
- package/lib/esm/duet-card.entry.js +2 -2
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-collapsible.entry.js +1 -1
- package/lib/esm/duet-divider_2.entry.js +2 -2
- package/lib/esm/duet-editable-table_3.entry.js +2 -2
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +2 -2
- package/lib/esm/duet-icon.entry.js +3 -3
- package/lib/esm/duet-input_2.entry.js +2 -2
- package/lib/esm/duet-menu-bar.entry.js +1 -1
- package/lib/esm/duet-modal.entry.js +26 -3
- package/lib/esm/duet-page-heading.entry.js +2 -1
- package/lib/esm/duet-pagination_2.entry.js +24 -11
- package/lib/esm/duet-popup-menu.entry.js +1 -0
- package/lib/esm/duet-promo-card.entry.js +2 -2
- package/lib/esm/duet-radio_2.entry.js +1 -1
- package/lib/esm/duet-range-slider.entry.js +1 -1
- package/lib/esm/duet-scrollable_3.entry.js +2 -2
- package/lib/esm/duet-slideout-panel.entry.js +2 -2
- package/lib/esm/duet-slideout.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-submenu-bar.entry.js +1 -1
- package/lib/esm/duet-tooltip.entry.js +1 -1
- package/lib/esm/duet-tray.entry.js +1 -1
- package/lib/esm/duet.js +1 -1
- package/lib/esm/loader.js +1 -1
- package/lib/esm/{token-utils-2adbab3f.js → token-utils-1f843fb9.js} +1 -1
- package/lib/{dist-custom-elements/p-f9a8d356.js → esm/tokens-a9d9d4dd.js} +376 -376
- package/lib/esm/{tokens.module-8dbafec7.js → tokens.module-ed0ed26f.js} +250 -250
- 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-banner.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-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-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.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-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.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.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- 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-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.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.js +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{token-utils-2adbab3f.js → token-utils-1f843fb9.js} +1 -1
- package/lib/esm-es5/tokens-a9d9d4dd.js +4 -0
- package/lib/esm-es5/tokens.module-ed0ed26f.js +4 -0
- package/lib/types/components/duet-alert/duet-alert.d.ts +4 -0
- package/lib/types/components/duet-modal/duet-modal.d.ts +12 -2
- package/lib/types/components/duet-pagination/duet-pagination.d.ts +4 -0
- package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +4 -0
- package/lib/types/components/duet-range-stepper/duet-range-stepper.d.ts +4 -0
- package/lib/types/components.d.ts +34 -2
- package/package.json +3 -3
- package/lib/duet/p-061f4be0.system.entry.js +0 -4
- package/lib/duet/p-1c689a26.system.js +0 -4
- package/lib/duet/p-1ef0e5ca.system.entry.js +0 -4
- package/lib/duet/p-46dda347.system.entry.js +0 -4
- package/lib/duet/p-5c8e3667.entry.js +0 -4
- package/lib/duet/p-67dc45d7.js +0 -4
- package/lib/duet/p-723e165b.system.entry.js +0 -4
- package/lib/duet/p-8a41bde4.system.entry.js +0 -4
- package/lib/duet/p-8ba91848.entry.js +0 -4
- package/lib/duet/p-a3afb1af.entry.js +0 -4
- package/lib/duet/p-b31d31d8.system.js +0 -4
- package/lib/duet/p-b6f62761.entry.js +0 -4
- package/lib/duet/p-c3c12f8d.entry.js +0 -4
- package/lib/duet/p-c5cf76db.entry.js +0 -4
- package/lib/duet/p-d739e7af.system.entry.js +0 -4
- package/lib/duet/p-deb98669.entry.js +0 -4
- package/lib/duet/p-e362468f.system.entry.js +0 -4
- package/lib/duet/p-e58015e8.system.entry.js +0 -4
- package/lib/duet/p-f9a8d356.js +0 -4
- package/lib/esm-es5/tokens-5e02bbe0.js +0 -4
- package/lib/esm-es5/tokens.module-8dbafec7.js +0 -4
|
@@ -104,6 +104,7 @@ export class DuetModal {
|
|
|
104
104
|
}
|
|
105
105
|
else {
|
|
106
106
|
this.modalEl.classList.remove("duet-disable-transitions");
|
|
107
|
+
this.modalEl.addEventListener("transitionend", () => this.duetCloseComplete.emit(), { once: true });
|
|
107
108
|
enableBodyScroll(this.modalEl);
|
|
108
109
|
this.duetClose.emit();
|
|
109
110
|
this.teleport.removeInertFromSiblings();
|
|
@@ -183,12 +184,33 @@ export class DuetModal {
|
|
|
183
184
|
async hide() {
|
|
184
185
|
this.open = false;
|
|
185
186
|
}
|
|
187
|
+
/**
|
|
188
|
+
* Scolls the top of the modal's content into view
|
|
189
|
+
*
|
|
190
|
+
* @param smooth Set to false for instant scrolling
|
|
191
|
+
*/
|
|
192
|
+
async scrollToTop(smooth = true) {
|
|
193
|
+
var _a;
|
|
194
|
+
const behavior = smooth ? "smooth" : "auto";
|
|
195
|
+
if (this.variation === "slide-up") {
|
|
196
|
+
const stickyHeaderHeight = ((_a = this.modalEl.querySelector(".duet-modal-sticky-header")) === null || _a === void 0 ? void 0 : _a.clientHeight) || 0;
|
|
197
|
+
const modalBodyPadding = this.modalEl
|
|
198
|
+
.querySelector(".duet-modal-body")
|
|
199
|
+
.computedStyleMap()
|
|
200
|
+
.get("padding-top");
|
|
201
|
+
this.slotContainerEl.style.scrollMarginTop = `${stickyHeaderHeight + modalBodyPadding.value}px`;
|
|
202
|
+
this.slotContainerEl.scrollIntoView({ behavior });
|
|
203
|
+
}
|
|
204
|
+
else {
|
|
205
|
+
this.modalEl.querySelector(".duet-modal-body").scrollIntoView({ behavior });
|
|
206
|
+
}
|
|
207
|
+
}
|
|
186
208
|
/**
|
|
187
209
|
* Adds a message to the modal dialog using animation and annoucing it to screen readers.
|
|
188
210
|
* Primarily for use with the loader variation.
|
|
189
211
|
*
|
|
190
|
-
* @param message
|
|
191
|
-
* @param visible
|
|
212
|
+
* @param message The message to be added to the modal dialog.
|
|
213
|
+
* @param visible Set to false if you want to add a non-visual message.
|
|
192
214
|
*/
|
|
193
215
|
async addMessage(message, visible = true) {
|
|
194
216
|
const el = document.createElement(visible ? "duet-paragraph" : "duet-visually-hidden");
|
|
@@ -355,7 +377,7 @@ export class DuetModal {
|
|
|
355
377
|
"references": {
|
|
356
378
|
"DuetModalSize": {
|
|
357
379
|
"location": "local",
|
|
358
|
-
"path": "/Users/
|
|
380
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-modal/duet-modal.tsx",
|
|
359
381
|
"id": "src/components/duet-modal/duet-modal.tsx::DuetModalSize"
|
|
360
382
|
}
|
|
361
383
|
}
|
|
@@ -466,7 +488,7 @@ export class DuetModal {
|
|
|
466
488
|
"references": {
|
|
467
489
|
"DuetModalVariation": {
|
|
468
490
|
"location": "local",
|
|
469
|
-
"path": "/Users/
|
|
491
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-modal/duet-modal.tsx",
|
|
470
492
|
"id": "src/components/duet-modal/duet-modal.tsx::DuetModalVariation"
|
|
471
493
|
}
|
|
472
494
|
}
|
|
@@ -490,7 +512,7 @@ export class DuetModal {
|
|
|
490
512
|
"references": {
|
|
491
513
|
"DuetModalSize": {
|
|
492
514
|
"location": "local",
|
|
493
|
-
"path": "/Users/
|
|
515
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-modal/duet-modal.tsx",
|
|
494
516
|
"id": "src/components/duet-modal/duet-modal.tsx::DuetModalSize"
|
|
495
517
|
}
|
|
496
518
|
}
|
|
@@ -716,6 +738,21 @@ export class DuetModal {
|
|
|
716
738
|
"resolved": "any",
|
|
717
739
|
"references": {}
|
|
718
740
|
}
|
|
741
|
+
}, {
|
|
742
|
+
"method": "duetCloseComplete",
|
|
743
|
+
"name": "duetCloseComplete",
|
|
744
|
+
"bubbles": true,
|
|
745
|
+
"cancelable": true,
|
|
746
|
+
"composed": true,
|
|
747
|
+
"docs": {
|
|
748
|
+
"tags": [],
|
|
749
|
+
"text": "Emitted when the modal closing transition is complete."
|
|
750
|
+
},
|
|
751
|
+
"complexType": {
|
|
752
|
+
"original": "any",
|
|
753
|
+
"resolved": "any",
|
|
754
|
+
"references": {}
|
|
755
|
+
}
|
|
719
756
|
}, {
|
|
720
757
|
"method": "duetBeforeClose",
|
|
721
758
|
"name": "duetBeforeClose",
|
|
@@ -732,7 +769,7 @@ export class DuetModal {
|
|
|
732
769
|
"references": {
|
|
733
770
|
"DuetModalCloseEvent": {
|
|
734
771
|
"location": "local",
|
|
735
|
-
"path": "/Users/
|
|
772
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-modal/duet-modal.tsx",
|
|
736
773
|
"id": "src/components/duet-modal/duet-modal.tsx::DuetModalCloseEvent"
|
|
737
774
|
}
|
|
738
775
|
}
|
|
@@ -775,17 +812,45 @@ export class DuetModal {
|
|
|
775
812
|
"tags": []
|
|
776
813
|
}
|
|
777
814
|
},
|
|
815
|
+
"scrollToTop": {
|
|
816
|
+
"complexType": {
|
|
817
|
+
"signature": "(smooth?: boolean) => Promise<void>",
|
|
818
|
+
"parameters": [{
|
|
819
|
+
"name": "smooth",
|
|
820
|
+
"type": "boolean",
|
|
821
|
+
"docs": "Set to false for instant scrolling"
|
|
822
|
+
}],
|
|
823
|
+
"references": {
|
|
824
|
+
"Promise": {
|
|
825
|
+
"location": "global",
|
|
826
|
+
"id": "global::Promise"
|
|
827
|
+
},
|
|
828
|
+
"CSSUnitValue": {
|
|
829
|
+
"location": "global",
|
|
830
|
+
"id": "global::CSSUnitValue"
|
|
831
|
+
}
|
|
832
|
+
},
|
|
833
|
+
"return": "Promise<void>"
|
|
834
|
+
},
|
|
835
|
+
"docs": {
|
|
836
|
+
"text": "Scolls the top of the modal's content into view",
|
|
837
|
+
"tags": [{
|
|
838
|
+
"name": "param",
|
|
839
|
+
"text": "smooth Set to false for instant scrolling"
|
|
840
|
+
}]
|
|
841
|
+
}
|
|
842
|
+
},
|
|
778
843
|
"addMessage": {
|
|
779
844
|
"complexType": {
|
|
780
845
|
"signature": "(message: string, visible?: boolean) => Promise<void>",
|
|
781
846
|
"parameters": [{
|
|
782
847
|
"name": "message",
|
|
783
848
|
"type": "string",
|
|
784
|
-
"docs": "
|
|
849
|
+
"docs": "The message to be added to the modal dialog."
|
|
785
850
|
}, {
|
|
786
851
|
"name": "visible",
|
|
787
852
|
"type": "boolean",
|
|
788
|
-
"docs": "
|
|
853
|
+
"docs": "Set to false if you want to add a non-visual message."
|
|
789
854
|
}],
|
|
790
855
|
"references": {
|
|
791
856
|
"Promise": {
|
|
@@ -799,10 +864,10 @@ export class DuetModal {
|
|
|
799
864
|
"text": "Adds a message to the modal dialog using animation and annoucing it to screen readers.\nPrimarily for use with the loader variation.",
|
|
800
865
|
"tags": [{
|
|
801
866
|
"name": "param",
|
|
802
|
-
"text": "message
|
|
867
|
+
"text": "message The message to be added to the modal dialog."
|
|
803
868
|
}, {
|
|
804
869
|
"name": "param",
|
|
805
|
-
"text": "visible
|
|
870
|
+
"text": "visible Set to false if you want to add a non-visual message."
|
|
806
871
|
}]
|
|
807
872
|
}
|
|
808
873
|
}
|
|
@@ -318,7 +318,7 @@ export class DuetMultiselect {
|
|
|
318
318
|
"references": {
|
|
319
319
|
"DuetMultiselectItem": {
|
|
320
320
|
"location": "local",
|
|
321
|
-
"path": "/Users/
|
|
321
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-multiselect/duet-multiselect.tsx",
|
|
322
322
|
"id": "src/components/duet-multiselect/duet-multiselect.tsx::DuetMultiselectItem"
|
|
323
323
|
}
|
|
324
324
|
}
|
|
@@ -453,7 +453,7 @@ export class DuetMultiselect {
|
|
|
453
453
|
"references": {
|
|
454
454
|
"DuetMultiselectItem": {
|
|
455
455
|
"location": "local",
|
|
456
|
-
"path": "/Users/
|
|
456
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-multiselect/duet-multiselect.tsx",
|
|
457
457
|
"id": "src/components/duet-multiselect/duet-multiselect.tsx::DuetMultiselectItem"
|
|
458
458
|
}
|
|
459
459
|
}
|
|
@@ -629,7 +629,7 @@ export class DuetMultiselect {
|
|
|
629
629
|
"references": {
|
|
630
630
|
"DuetMultiselectEvent": {
|
|
631
631
|
"location": "local",
|
|
632
|
-
"path": "/Users/
|
|
632
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-multiselect/duet-multiselect.tsx",
|
|
633
633
|
"id": "src/components/duet-multiselect/duet-multiselect.tsx::DuetMultiselectEvent"
|
|
634
634
|
}
|
|
635
635
|
}
|
|
@@ -650,7 +650,7 @@ export class DuetMultiselect {
|
|
|
650
650
|
"references": {
|
|
651
651
|
"DuetMultiselectEvent": {
|
|
652
652
|
"location": "local",
|
|
653
|
-
"path": "/Users/
|
|
653
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-multiselect/duet-multiselect.tsx",
|
|
654
654
|
"id": "src/components/duet-multiselect/duet-multiselect.tsx::DuetMultiselectEvent"
|
|
655
655
|
}
|
|
656
656
|
}
|
|
@@ -671,7 +671,7 @@ export class DuetMultiselect {
|
|
|
671
671
|
"references": {
|
|
672
672
|
"DuetMultiselectEvent": {
|
|
673
673
|
"location": "local",
|
|
674
|
-
"path": "/Users/
|
|
674
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-multiselect/duet-multiselect.tsx",
|
|
675
675
|
"id": "src/components/duet-multiselect/duet-multiselect.tsx::DuetMultiselectEvent"
|
|
676
676
|
}
|
|
677
677
|
}
|
|
@@ -285,7 +285,7 @@ export class DuetNotificationDrawer {
|
|
|
285
285
|
"references": {
|
|
286
286
|
"DuetNotificationDrawerDirection": {
|
|
287
287
|
"location": "local",
|
|
288
|
-
"path": "/Users/
|
|
288
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-notification-drawer/duet-notification-drawer.tsx",
|
|
289
289
|
"id": "src/components/duet-notification-drawer/duet-notification-drawer.tsx::DuetNotificationDrawerDirection"
|
|
290
290
|
}
|
|
291
291
|
}
|
|
@@ -1032,7 +1032,7 @@ export class DuetNumberInput {
|
|
|
1032
1032
|
"references": {
|
|
1033
1033
|
"DuetNumberInputEvent": {
|
|
1034
1034
|
"location": "local",
|
|
1035
|
-
"path": "/Users/
|
|
1035
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-number-input/duet-number-input.tsx",
|
|
1036
1036
|
"id": "src/components/duet-number-input/duet-number-input.tsx::DuetNumberInputEvent"
|
|
1037
1037
|
}
|
|
1038
1038
|
}
|
|
@@ -1053,7 +1053,7 @@ export class DuetNumberInput {
|
|
|
1053
1053
|
"references": {
|
|
1054
1054
|
"DuetNumberInputEvent": {
|
|
1055
1055
|
"location": "local",
|
|
1056
|
-
"path": "/Users/
|
|
1056
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-number-input/duet-number-input.tsx",
|
|
1057
1057
|
"id": "src/components/duet-number-input/duet-number-input.tsx::DuetNumberInputEvent"
|
|
1058
1058
|
}
|
|
1059
1059
|
}
|
|
@@ -1074,7 +1074,7 @@ export class DuetNumberInput {
|
|
|
1074
1074
|
"references": {
|
|
1075
1075
|
"DuetNumberInputEvent": {
|
|
1076
1076
|
"location": "local",
|
|
1077
|
-
"path": "/Users/
|
|
1077
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-number-input/duet-number-input.tsx",
|
|
1078
1078
|
"id": "src/components/duet-number-input/duet-number-input.tsx::DuetNumberInputEvent"
|
|
1079
1079
|
}
|
|
1080
1080
|
}
|
|
@@ -1095,7 +1095,7 @@ export class DuetNumberInput {
|
|
|
1095
1095
|
"references": {
|
|
1096
1096
|
"DuetNumberInputEvent": {
|
|
1097
1097
|
"location": "local",
|
|
1098
|
-
"path": "/Users/
|
|
1098
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-number-input/duet-number-input.tsx",
|
|
1099
1099
|
"id": "src/components/duet-number-input/duet-number-input.tsx::DuetNumberInputEvent"
|
|
1100
1100
|
}
|
|
1101
1101
|
}
|
|
@@ -150,7 +150,7 @@ export class DuetOverlay {
|
|
|
150
150
|
"references": {
|
|
151
151
|
"OverlayDisplayDevice": {
|
|
152
152
|
"location": "local",
|
|
153
|
-
"path": "/Users/
|
|
153
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-overlay/duet-overlay.tsx",
|
|
154
154
|
"id": "src/components/duet-overlay/duet-overlay.tsx::OverlayDisplayDevice"
|
|
155
155
|
}
|
|
156
156
|
}
|
|
@@ -26,6 +26,7 @@ export class DuetPageHeading {
|
|
|
26
26
|
return (h("div", { class: {
|
|
27
27
|
"duet-page-heading": true,
|
|
28
28
|
"duet-theme-turva": this.theme === "turva",
|
|
29
|
+
"has-icon": !!this.icon,
|
|
29
30
|
[this.layout]: true,
|
|
30
31
|
} }, h("div", { class: "background" }, this.theme === "turva" && h("div", { class: "background-mask" }), this.theme !== "turva" && h("div", { class: "brand-shape" }), this.theme !== "turva" && h("div", { class: "brand-shape second-shape" }), this.icon && (h("div", { class: "brand-shaped-icon" }, h("duet-icon", { background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), h("div", { class: "heading" }, h("slot", { name: "heading" }))));
|
|
31
32
|
}
|
|
@@ -75,6 +75,7 @@ export class DuetPagination {
|
|
|
75
75
|
this.totalPages = 10;
|
|
76
76
|
this.internalSectionIndex = 0;
|
|
77
77
|
this.theme = "";
|
|
78
|
+
this.disabled = false;
|
|
78
79
|
this.variation = "default";
|
|
79
80
|
this.accessibleDescribedBy = undefined;
|
|
80
81
|
this.accessibleDetails = undefined;
|
|
@@ -191,6 +192,9 @@ export class DuetPagination {
|
|
|
191
192
|
}
|
|
192
193
|
//set update current when mouse click on page number
|
|
193
194
|
async onMouseHandler(e, dir) {
|
|
195
|
+
if (this.disabled) {
|
|
196
|
+
return;
|
|
197
|
+
}
|
|
194
198
|
if (!this.processedPageLinks) {
|
|
195
199
|
e.preventDefault();
|
|
196
200
|
e.stopPropagation();
|
|
@@ -200,6 +204,9 @@ export class DuetPagination {
|
|
|
200
204
|
}
|
|
201
205
|
//handle a11y keyboard navigation events
|
|
202
206
|
async onKeyboardDown(e) {
|
|
207
|
+
if (this.disabled) {
|
|
208
|
+
return;
|
|
209
|
+
}
|
|
203
210
|
let next = this.current;
|
|
204
211
|
// handle a11y based keyboard navigation for left/right/up/down
|
|
205
212
|
if (isArrowLeftKey(e) || isArrowUpKey(e)) {
|
|
@@ -287,7 +294,7 @@ export class DuetPagination {
|
|
|
287
294
|
this.emitPageEvent(e);
|
|
288
295
|
}
|
|
289
296
|
renderPageButton(pageNumber) {
|
|
290
|
-
return (h("duet-button", { class: {
|
|
297
|
+
return (h("duet-button", { disabled: this.disabled, class: {
|
|
291
298
|
"duet-pagination-link": true,
|
|
292
299
|
}, id: `page-${pageNumber}-button`, color: pageNumber !== this.current
|
|
293
300
|
? this.theme !== "turva"
|
|
@@ -321,7 +328,7 @@ export class DuetPagination {
|
|
|
321
328
|
label: i.toString(),
|
|
322
329
|
});
|
|
323
330
|
}
|
|
324
|
-
const select = (h("duet-select", { theme: this.theme, class: "duet-pagination-select", variation: "compact", items: JSON.stringify(items), value: this.current.toString(), label: this.accessibleLabels.select_label.replace("{0}", `${this.totalPages}`), labelHidden: true, onDuetChange: e => this.selectClickHandler(e) }));
|
|
331
|
+
const select = (h("duet-select", { disabled: this.disabled, theme: this.theme, class: "duet-pagination-select", variation: "compact", items: JSON.stringify(items), value: this.current.toString(), label: this.accessibleLabels.select_label.replace("{0}", `${this.totalPages}`), labelHidden: true, onDuetChange: e => this.selectClickHandler(e) }));
|
|
325
332
|
return (h("li", null, select, h("span", { class: "duet-pagination-total-pages", "aria-hidden": "true" }, "/ ", this.totalPages)));
|
|
326
333
|
}
|
|
327
334
|
shouldDisplayNavigation() {
|
|
@@ -344,23 +351,25 @@ export class DuetPagination {
|
|
|
344
351
|
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { class: {
|
|
345
352
|
"duet-pagination-page-button": true,
|
|
346
353
|
"duet-pagination-button-first": true,
|
|
347
|
-
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { disabled: this.internalSectionIndex === 0 && this.current <= 1, "data-direction": "back", accessibleLabel: this.accessibleLabels.first_page, title: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), "icon-name": "action-move-to-first", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }))), h("li", { class: {
|
|
354
|
+
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { disabled: (this.internalSectionIndex === 0 && this.current <= 1) || this.disabled, "data-direction": "back", accessibleLabel: this.accessibleLabels.first_page, title: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), "icon-name": "action-move-to-first", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }))), h("li", { class: {
|
|
348
355
|
"duet-pagination-page-button": true,
|
|
349
356
|
"duet-pagination-button-first": true,
|
|
350
357
|
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { disabled: !!((this.internalSectionIndex === 0 && this.current <= 1) ||
|
|
351
|
-
(this.current <= 1 && this.processedPageLinks)
|
|
352
|
-
|
|
358
|
+
(this.current <= 1 && this.processedPageLinks) ||
|
|
359
|
+
this.disabled), "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, title: this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current - 2] : undefined })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (h(Fragment, null, h("li", { class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-back", "center-text": "true", variation: "plain", color: this.theme !== "turva" ? "secondary" : "secondary-turva", margin: "none", accessibleLabel: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }, h("div", { class: "duet-pagination-page-number" }, "1"))), h("li", { class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-back", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.prev_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, -1), theme: this.theme }, h("div", { class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026"))))), (this.shouldDisplayNavigation() && this.renderPageNumbers()) || this.renderSelect(), (this.internalSectionIndex + 1) * this.visibleItems < this.totalPages &&
|
|
360
|
+
this.shouldDisplayNavigation() && (h(Fragment, null, (this.internalSectionIndex + 1) * this.visibleItems !== this.totalPages - 1 && (h("li", { class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.next_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, 1), theme: this.theme }, h("div", { class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026")))), h("li", { class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), theme: this.theme, url: this.processedPageLinks
|
|
353
361
|
? this.processedPageLinks[this.processedPageLinks.length - 1]
|
|
354
362
|
: undefined }, h("div", { class: "duet-pagination-page-number" }, this.totalPages))))), h("li", { class: {
|
|
355
363
|
"duet-pagination-page-button": true,
|
|
356
364
|
"duet-pagination-button-last": true,
|
|
357
365
|
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { disabled: !!((this.current === this.totalPages &&
|
|
358
366
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
359
|
-
(this.current === this.totalPages && this.processedPageLinks)), class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { class: {
|
|
367
|
+
(this.current === this.totalPages && this.processedPageLinks)) || this.disabled, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { class: {
|
|
360
368
|
"duet-pagination-page-button": true,
|
|
361
369
|
"duet-pagination-button-last": true,
|
|
362
|
-
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { disabled: this.current === this.totalPages &&
|
|
363
|
-
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1
|
|
370
|
+
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { disabled: (this.current === this.totalPages &&
|
|
371
|
+
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
372
|
+
this.disabled, accessibleLabel: this.accessibleLabels.last_page, title: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), "icon-name": "action-move-to-last", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.totalPages - 1] : undefined })))))));
|
|
364
373
|
}
|
|
365
374
|
static get is() { return "duet-pagination"; }
|
|
366
375
|
static get encapsulation() { return "shadow"; }
|
|
@@ -400,6 +409,24 @@ export class DuetPagination {
|
|
|
400
409
|
"reflect": false,
|
|
401
410
|
"defaultValue": "\"\""
|
|
402
411
|
},
|
|
412
|
+
"disabled": {
|
|
413
|
+
"type": "boolean",
|
|
414
|
+
"mutable": false,
|
|
415
|
+
"complexType": {
|
|
416
|
+
"original": "boolean",
|
|
417
|
+
"resolved": "boolean",
|
|
418
|
+
"references": {}
|
|
419
|
+
},
|
|
420
|
+
"required": false,
|
|
421
|
+
"optional": false,
|
|
422
|
+
"docs": {
|
|
423
|
+
"tags": [],
|
|
424
|
+
"text": "Makes the controls of pagination component disabled."
|
|
425
|
+
},
|
|
426
|
+
"attribute": "disabled",
|
|
427
|
+
"reflect": true,
|
|
428
|
+
"defaultValue": "false"
|
|
429
|
+
},
|
|
403
430
|
"variation": {
|
|
404
431
|
"type": "string",
|
|
405
432
|
"mutable": false,
|
|
@@ -409,7 +436,7 @@ export class DuetPagination {
|
|
|
409
436
|
"references": {
|
|
410
437
|
"DuetPaginationVariation": {
|
|
411
438
|
"location": "local",
|
|
412
|
-
"path": "/Users/
|
|
439
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-pagination/duet-pagination.tsx",
|
|
413
440
|
"id": "src/components/duet-pagination/duet-pagination.tsx::DuetPaginationVariation"
|
|
414
441
|
}
|
|
415
442
|
}
|
|
@@ -698,7 +725,7 @@ export class DuetPagination {
|
|
|
698
725
|
"references": {
|
|
699
726
|
"DuetPaginationPageEvent": {
|
|
700
727
|
"location": "local",
|
|
701
|
-
"path": "/Users/
|
|
728
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-pagination/duet-pagination.tsx",
|
|
702
729
|
"id": "src/components/duet-pagination/duet-pagination.tsx::DuetPaginationPageEvent"
|
|
703
730
|
}
|
|
704
731
|
}
|
|
@@ -109,7 +109,7 @@ export class DuetParagraph {
|
|
|
109
109
|
"references": {
|
|
110
110
|
"DuetParagraphSize": {
|
|
111
111
|
"location": "local",
|
|
112
|
-
"path": "/Users/
|
|
112
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-paragraph/duet-paragraph.tsx",
|
|
113
113
|
"id": "src/components/duet-paragraph/duet-paragraph.tsx::DuetParagraphSize"
|
|
114
114
|
}
|
|
115
115
|
}
|
|
@@ -133,7 +133,7 @@ export class DuetParagraph {
|
|
|
133
133
|
"references": {
|
|
134
134
|
"DuetParagraphWeight": {
|
|
135
135
|
"location": "local",
|
|
136
|
-
"path": "/Users/
|
|
136
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-paragraph/duet-paragraph.tsx",
|
|
137
137
|
"id": "src/components/duet-paragraph/duet-paragraph.tsx::DuetParagraphWeight"
|
|
138
138
|
}
|
|
139
139
|
}
|
|
@@ -157,7 +157,7 @@ export class DuetParagraph {
|
|
|
157
157
|
"references": {
|
|
158
158
|
"DuetParagraphVariation": {
|
|
159
159
|
"location": "local",
|
|
160
|
-
"path": "/Users/
|
|
160
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-paragraph/duet-paragraph.tsx",
|
|
161
161
|
"id": "src/components/duet-paragraph/duet-paragraph.tsx::DuetParagraphVariation"
|
|
162
162
|
}
|
|
163
163
|
}
|
|
@@ -47,6 +47,7 @@ export class DuetPopupMenu {
|
|
|
47
47
|
this.accessibleLabel = undefined;
|
|
48
48
|
this.accessibleRole = "menu";
|
|
49
49
|
this.theme = "";
|
|
50
|
+
this.skipTeleport = undefined;
|
|
50
51
|
this.controller = undefined;
|
|
51
52
|
this.placement = "bottom-start";
|
|
52
53
|
this.forcePlacement = false;
|
|
@@ -304,6 +305,26 @@ export class DuetPopupMenu {
|
|
|
304
305
|
"reflect": false,
|
|
305
306
|
"defaultValue": "\"\""
|
|
306
307
|
},
|
|
308
|
+
"skipTeleport": {
|
|
309
|
+
"type": "boolean",
|
|
310
|
+
"mutable": false,
|
|
311
|
+
"complexType": {
|
|
312
|
+
"original": "boolean",
|
|
313
|
+
"resolved": "boolean",
|
|
314
|
+
"references": {}
|
|
315
|
+
},
|
|
316
|
+
"required": false,
|
|
317
|
+
"optional": false,
|
|
318
|
+
"docs": {
|
|
319
|
+
"tags": [{
|
|
320
|
+
"name": "internal",
|
|
321
|
+
"text": undefined
|
|
322
|
+
}],
|
|
323
|
+
"text": ""
|
|
324
|
+
},
|
|
325
|
+
"attribute": "skip-teleport",
|
|
326
|
+
"reflect": false
|
|
327
|
+
},
|
|
307
328
|
"controller": {
|
|
308
329
|
"type": "string",
|
|
309
330
|
"mutable": false,
|
|
@@ -452,7 +473,7 @@ export class DuetPopupMenu {
|
|
|
452
473
|
"references": {
|
|
453
474
|
"DuetPopupMenuEvent": {
|
|
454
475
|
"location": "local",
|
|
455
|
-
"path": "/Users/
|
|
476
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-popup-menu/duet-popup-menu.tsx",
|
|
456
477
|
"id": "src/components/duet-popup-menu/duet-popup-menu.tsx::DuetPopupMenuEvent"
|
|
457
478
|
}
|
|
458
479
|
}
|
|
@@ -341,7 +341,7 @@ export class DuetPopupMenuItem {
|
|
|
341
341
|
"references": {
|
|
342
342
|
"DuetPopupMenuItemEvent": {
|
|
343
343
|
"location": "local",
|
|
344
|
-
"path": "/Users/
|
|
344
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-popup-menu-item/duet-popup-menu-item.tsx",
|
|
345
345
|
"id": "src/components/duet-popup-menu-item/duet-popup-menu-item.tsx::DuetPopupMenuItemEvent"
|
|
346
346
|
}
|
|
347
347
|
}
|
|
@@ -362,7 +362,7 @@ export class DuetPopupMenuItem {
|
|
|
362
362
|
"references": {
|
|
363
363
|
"DuetPopupMenuItemEvent": {
|
|
364
364
|
"location": "local",
|
|
365
|
-
"path": "/Users/
|
|
365
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-popup-menu-item/duet-popup-menu-item.tsx",
|
|
366
366
|
"id": "src/components/duet-popup-menu-item/duet-popup-menu-item.tsx::DuetPopupMenuItemEvent"
|
|
367
367
|
}
|
|
368
368
|
}
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
width: 12px;
|
|
148
148
|
height: 12px;
|
|
149
149
|
content: "";
|
|
150
|
-
background: rgb(0,
|
|
150
|
+
background: rgb(0, 119, 179);
|
|
151
151
|
border-radius: 50%;
|
|
152
152
|
}
|
|
153
153
|
.duet-theme-turva .duet-radio:checked + label::after {
|
|
@@ -166,13 +166,13 @@
|
|
|
166
166
|
border-color: rgb(207, 210, 212);
|
|
167
167
|
}
|
|
168
168
|
.duet-theme-turva .duet-radio[disabled] + label::before {
|
|
169
|
-
border-color: rgb(
|
|
169
|
+
border-color: rgb(116, 116, 117);
|
|
170
170
|
}
|
|
171
171
|
.duet-radio[disabled]:checked + label::before {
|
|
172
|
-
border: 1px solid rgb(
|
|
172
|
+
border: 1px solid rgb(144, 149, 153);
|
|
173
173
|
}
|
|
174
174
|
.duet-radio[disabled]:checked + label::after {
|
|
175
|
-
background: rgb(
|
|
175
|
+
background: rgb(144, 149, 153);
|
|
176
176
|
}
|
|
177
177
|
.duet-theme-turva .duet-radio[disabled]:checked + label::after {
|
|
178
178
|
background: rgb(116, 116, 117);
|
|
@@ -546,7 +546,7 @@ export class DuetRadio {
|
|
|
546
546
|
"references": {
|
|
547
547
|
"DuetRadioEvent": {
|
|
548
548
|
"location": "local",
|
|
549
|
-
"path": "/Users/
|
|
549
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-radio/duet-radio.tsx",
|
|
550
550
|
"id": "src/components/duet-radio/duet-radio.tsx::DuetRadioEvent"
|
|
551
551
|
}
|
|
552
552
|
}
|
|
@@ -567,7 +567,7 @@ export class DuetRadio {
|
|
|
567
567
|
"references": {
|
|
568
568
|
"DuetRadioEvent": {
|
|
569
569
|
"location": "local",
|
|
570
|
-
"path": "/Users/
|
|
570
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-radio/duet-radio.tsx",
|
|
571
571
|
"id": "src/components/duet-radio/duet-radio.tsx::DuetRadioEvent"
|
|
572
572
|
}
|
|
573
573
|
}
|
|
@@ -588,7 +588,7 @@ export class DuetRadio {
|
|
|
588
588
|
"references": {
|
|
589
589
|
"DuetRadioEvent": {
|
|
590
590
|
"location": "local",
|
|
591
|
-
"path": "/Users/
|
|
591
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-radio/duet-radio.tsx",
|
|
592
592
|
"id": "src/components/duet-radio/duet-radio.tsx::DuetRadioEvent"
|
|
593
593
|
}
|
|
594
594
|
}
|
|
@@ -567,7 +567,7 @@ export class DuetRangeSlider {
|
|
|
567
567
|
"references": {
|
|
568
568
|
"DuetRangeChangeEvent": {
|
|
569
569
|
"location": "local",
|
|
570
|
-
"path": "/Users/
|
|
570
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-range-slider/duet-range-slider.tsx",
|
|
571
571
|
"id": "src/components/duet-range-slider/duet-range-slider.tsx::DuetRangeChangeEvent"
|
|
572
572
|
}
|
|
573
573
|
}
|
|
@@ -588,7 +588,7 @@ export class DuetRangeSlider {
|
|
|
588
588
|
"references": {
|
|
589
589
|
"DuetRangeChangeEvent": {
|
|
590
590
|
"location": "local",
|
|
591
|
-
"path": "/Users/
|
|
591
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-range-slider/duet-range-slider.tsx",
|
|
592
592
|
"id": "src/components/duet-range-slider/duet-range-slider.tsx::DuetRangeChangeEvent"
|
|
593
593
|
}
|
|
594
594
|
}
|