@duetds/components 6.10.2 → 6.10.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 +4370 -3798
- 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 +168 -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 +32 -135
- 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 +6 -3
- 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 +45 -0
- package/lib/cjs/duet-popup-menu.cjs.entry.js +113 -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 +2 -2
- 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-upload-item.cjs.entry.js +93 -0
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/errorcodes.utils-5deca818.js +39 -0
- package/lib/cjs/floating-ui.dom.esm-3801794e.js +1251 -0
- package/lib/cjs/{focus-utils-a7ec8d4d.js → focus-utils-a66763f4.js} +1 -1
- package/lib/cjs/{index-b91d0c7f.js → index-4eb7ce33.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/collection/collection-manifest.json +5 -0
- package/lib/collection/components/duet-chip/duet-chip.css +202 -0
- package/lib/collection/components/duet-chip/duet-chip.js +395 -0
- package/lib/collection/components/duet-choice/duet-choice.css +60 -33
- package/lib/collection/components/duet-choice/duet-choice.js +39 -8
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +3 -1
- package/lib/collection/components/duet-grid/duet-grid.css +260 -116
- package/lib/collection/components/duet-grid/duet-grid.js +22 -1
- package/lib/collection/components/duet-number-input/duet-number-input.js +23 -0
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +57 -0
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +361 -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 +225 -0
- package/lib/collection/components/duet-radio/duet-radio.css +3 -3
- package/lib/collection/components/duet-radio/duet-radio.js +9 -3
- package/lib/collection/components/duet-scrollable/duet-scrollable.css +1 -1
- 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-upload/duet-upload.js +37 -13
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +299 -0
- 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 +200 -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 +75 -0
- package/lib/dist-custom-elements/duet-popup-menu.d.ts +11 -0
- package/lib/dist-custom-elements/duet-popup-menu.js +142 -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-item.d.ts +11 -0
- package/lib/dist-custom-elements/duet-upload-item.js +9 -0
- package/lib/dist-custom-elements/duet-upload.js +58 -158
- 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-4197b9ee.js → p-006d0fb1.js} +2 -2
- package/lib/dist-custom-elements/{p-05139591.js → p-03297bf3.js} +1 -1
- package/lib/dist-custom-elements/{p-e3acab40.js → p-08f20e44.js} +2 -2
- package/lib/dist-custom-elements/{p-39c6c68e.js → p-0f04ecb5.js} +1 -1
- package/lib/dist-custom-elements/{p-c202693f.js → p-171c70e8.js} +1 -1
- package/lib/dist-custom-elements/{p-8fb68cb1.js → p-1b34adf1.js} +2 -2
- package/lib/dist-custom-elements/{p-d6a6460a.js → p-1f14a267.js} +1 -1
- package/lib/dist-custom-elements/{p-f6b5ce88.js → p-226f50bb.js} +1 -1
- package/lib/dist-custom-elements/{p-1b3de4b8.js → p-25d3d458.js} +1 -1
- package/lib/dist-custom-elements/{p-2b132855.js → p-25fa826f.js} +1 -1
- package/lib/dist-custom-elements/{p-e6f6efa6.js → p-265d42fd.js} +1 -1
- package/lib/dist-custom-elements/{p-96b624ec.js → p-26a65533.js} +1 -1
- package/lib/dist-custom-elements/{p-419d2da0.js → p-2b8c0c2f.js} +6 -6
- package/lib/dist-custom-elements/{p-28658e20.js → p-37255027.js} +8 -8
- package/lib/dist-custom-elements/{p-58105b4f.js → p-3e609785.js} +1 -1
- package/lib/dist-custom-elements/p-4c575cf4.js +278 -0
- package/lib/dist-custom-elements/{p-9e83a449.js → p-5114f1bd.js} +2 -2
- package/lib/dist-custom-elements/{p-8638ba69.js → p-5c48ca92.js} +1 -1
- package/lib/dist-custom-elements/{p-ea756e9e.js → p-661fee29.js} +6 -6
- package/lib/dist-custom-elements/{p-3595aea9.js → p-7681059e.js} +1 -1
- package/lib/dist-custom-elements/{p-7d6d90bc.js → p-7c2e755b.js} +1 -1
- package/lib/dist-custom-elements/{p-e3ac121c.js → p-80cd62f8.js} +5 -5
- package/lib/dist-custom-elements/p-84a78894.js +187 -0
- package/lib/dist-custom-elements/{p-62f3b6cb.js → p-8a1632b1.js} +3 -3
- package/lib/dist-custom-elements/{p-eb29050b.js → p-a60259d1.js} +1 -1
- package/lib/dist-custom-elements/{p-227cc94f.js → p-b98f1d2a.js} +1 -1
- package/lib/dist-custom-elements/{p-6de01596.js → p-c85e7fbd.js} +1 -1
- package/lib/dist-custom-elements/{p-6f4b6168.js → p-d5e61aac.js} +1 -1
- package/lib/dist-custom-elements/{p-a0f68c00.js → p-dbb9df4e.js} +3 -3
- package/lib/dist-custom-elements/{p-38b3c30a.js → p-df10a767.js} +71 -274
- package/lib/dist-custom-elements/p-e0afb5aa.js +197 -0
- package/lib/dist-custom-elements/{p-beca0ced.js → p-e467de13.js} +1 -1
- package/lib/dist-custom-elements/{p-2747b8c6.js → p-ffc196f5.js} +4 -4
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-d3323581.system.entry.js → p-000a0a75.system.entry.js} +1 -1
- package/lib/duet/{p-6766ef3d.system.entry.js → p-00355028.system.entry.js} +1 -1
- package/lib/duet/{p-62b68de6.system.js → p-053be9dd.system.js} +1 -1
- package/lib/duet/p-05dd0fb6.entry.js +4 -0
- package/lib/duet/{p-1e6f5e74.system.entry.js → p-06969947.system.entry.js} +1 -1
- package/lib/duet/p-08c7360e.system.entry.js +4 -0
- package/lib/duet/{p-5e7dc52a.system.entry.js → p-099119d3.system.entry.js} +1 -1
- package/lib/duet/{p-6ad538a7.system.entry.js → p-0b696003.system.entry.js} +1 -1
- package/lib/duet/p-101cc3fe.system.entry.js +4 -0
- package/lib/duet/{p-1df0bbf9.system.entry.js → p-110c2c76.system.entry.js} +1 -1
- package/lib/duet/{p-8c404f51.system.entry.js → p-11d01178.system.entry.js} +1 -1
- package/lib/duet/{p-87f85912.system.entry.js → p-13fa33f3.system.entry.js} +1 -1
- package/lib/duet/{p-91a5c4fd.system.entry.js → p-1483de5f.system.entry.js} +1 -1
- package/lib/duet/{p-62b435d1.system.entry.js → p-15505723.system.entry.js} +1 -1
- package/lib/duet/{p-89d9030e.system.entry.js → p-1616c51d.system.entry.js} +1 -1
- package/lib/duet/{p-1f3d12d2.system.entry.js → p-184ee980.system.entry.js} +1 -1
- package/lib/duet/p-19ea4e54.entry.js +4 -0
- package/lib/duet/{p-cfde4f9a.system.entry.js → p-1ff16557.system.entry.js} +1 -1
- package/lib/duet/{p-f88ac93f.system.entry.js → p-20c19d2e.system.entry.js} +1 -1
- package/lib/duet/p-26ed5006.system.entry.js +4 -0
- package/lib/duet/{p-72a2ff4d.entry.js → p-276da9b8.entry.js} +1 -1
- package/lib/duet/{p-94d448f9.system.entry.js → p-28b0deff.system.entry.js} +1 -1
- package/lib/duet/{p-03522bb4.entry.js → p-28cf3d78.entry.js} +1 -1
- package/lib/duet/{p-af3060c1.system.entry.js → p-2a37e574.system.entry.js} +1 -1
- package/lib/duet/{p-de31586c.system.entry.js → p-2a9b8270.system.entry.js} +1 -1
- package/lib/duet/{p-245a63f4.entry.js → p-2a9e5e4c.entry.js} +1 -1
- package/lib/duet/{p-17d2c223.system.entry.js → p-2bd98cbe.system.entry.js} +1 -1
- package/lib/duet/{p-c424c794.entry.js → p-31155f08.entry.js} +1 -1
- package/lib/duet/{p-8f7f4724.entry.js → p-322f69c7.entry.js} +1 -1
- package/lib/duet/{p-56b92797.entry.js → p-32d31570.entry.js} +1 -1
- package/lib/duet/{p-909e088e.system.entry.js → p-32ee127a.system.entry.js} +1 -1
- package/lib/duet/{p-d159787d.entry.js → p-35b74797.entry.js} +1 -1
- package/lib/duet/{p-058dfaad.entry.js → p-368e63a8.entry.js} +1 -1
- package/lib/duet/{p-e7af2cd8.system.entry.js → p-380ead38.system.entry.js} +1 -1
- package/lib/duet/{p-c7fbe38a.entry.js → p-38e24930.entry.js} +1 -1
- package/lib/duet/{p-6392cafe.entry.js → p-3b33c459.entry.js} +1 -1
- package/lib/duet/{p-2f8c7a7d.entry.js → p-3c43d0ee.entry.js} +1 -1
- package/lib/duet/{p-30551712.system.entry.js → p-40463065.system.entry.js} +1 -1
- package/lib/duet/p-434b31e9.system.js +4 -0
- package/lib/duet/{p-5c4a2f44.system.entry.js → p-45046cb8.system.entry.js} +1 -1
- package/lib/duet/{p-99a8b5f5.entry.js → p-4667e5cc.entry.js} +1 -1
- package/lib/duet/{p-bbadf525.system.entry.js → p-4956fa1c.system.entry.js} +1 -1
- package/lib/duet/{p-d18383cd.entry.js → p-4af3a90a.entry.js} +1 -1
- package/lib/duet/{p-b906790d.entry.js → p-4f321fb8.entry.js} +1 -1
- package/lib/duet/{p-29ce564d.entry.js → p-4f90dd0a.entry.js} +1 -1
- package/lib/duet/{p-a6917de1.system.entry.js → p-4fc64fe9.system.entry.js} +1 -1
- package/lib/duet/{p-6a42d57c.system.entry.js → p-521b2f02.system.entry.js} +1 -1
- package/lib/duet/p-540d7ed6.entry.js +4 -0
- package/lib/duet/p-549a1ffd.system.entry.js +4 -0
- package/lib/duet/{p-eb9c8e60.entry.js → p-5e2af124.entry.js} +1 -1
- package/lib/duet/{p-cad8060d.system.entry.js → p-5ed8969b.system.entry.js} +1 -1
- package/lib/duet/{p-420dfc2c.entry.js → p-604adb3e.entry.js} +1 -1
- package/lib/duet/{p-c085e346.system.entry.js → p-60c99082.system.entry.js} +1 -1
- package/lib/duet/{p-ef033a06.system.entry.js → p-6508eed1.system.entry.js} +1 -1
- package/lib/duet/{p-09daf29e.system.entry.js → p-684b2d77.system.entry.js} +1 -1
- package/lib/duet/{p-0738bb7d.system.entry.js → p-6892546a.system.entry.js} +1 -1
- package/lib/duet/{p-36edc06c.system.entry.js → p-699f593c.system.entry.js} +1 -1
- package/lib/duet/p-6b115b63.system.js +4 -0
- package/lib/duet/{p-ed78f6fe.system.entry.js → p-6baede6c.system.entry.js} +1 -1
- package/lib/duet/{p-42e270f3.entry.js → p-6bb42603.entry.js} +1 -1
- package/lib/duet/{p-0dda8331.entry.js → p-6e93b2f3.entry.js} +1 -1
- package/lib/duet/{p-dc9bf216.entry.js → p-6ee35830.entry.js} +1 -1
- package/lib/duet/{p-9c554b07.entry.js → p-700cc5d1.entry.js} +1 -1
- package/lib/duet/{p-ff5f4d38.entry.js → p-721bf508.entry.js} +1 -1
- package/lib/duet/{p-a4cc9386.system.entry.js → p-7284cb09.system.entry.js} +1 -1
- package/lib/duet/{p-d85d8db5.entry.js → p-72d18d55.entry.js} +1 -1
- package/lib/duet/p-756341c2.system.entry.js +4 -0
- package/lib/duet/{p-a31222e3.entry.js → p-7565b093.entry.js} +1 -1
- package/lib/duet/{p-673127ac.system.entry.js → p-773268e7.system.entry.js} +1 -1
- package/lib/duet/{p-30c684e8.entry.js → p-77616680.entry.js} +1 -1
- package/lib/duet/{p-f4799c34.system.entry.js → p-7a3071a5.system.entry.js} +1 -1
- package/lib/duet/{p-779be7c6.system.entry.js → p-7e061e75.system.entry.js} +1 -1
- package/lib/duet/{p-8ec5c49e.entry.js → p-7f588669.entry.js} +1 -1
- package/lib/duet/p-8094e185.entry.js +4 -0
- package/lib/duet/{p-7dea5e1a.system.entry.js → p-8146f5d7.system.entry.js} +1 -1
- package/lib/duet/{p-81668ed2.system.entry.js → p-82330774.system.entry.js} +1 -1
- package/lib/duet/{p-1d3647c6.system.entry.js → p-8275330c.system.entry.js} +1 -1
- package/lib/duet/p-82b5380b.system.js +4 -0
- package/lib/duet/{p-0fbdbb6a.entry.js → p-8445fc10.entry.js} +1 -1
- package/lib/duet/{p-0b34d9b5.system.entry.js → p-8584bcfe.system.entry.js} +1 -1
- package/lib/duet/{p-07300cb6.entry.js → p-86e7a88a.entry.js} +1 -1
- package/lib/duet/p-871eca43.entry.js +4 -0
- package/lib/duet/{p-72d1f618.system.entry.js → p-8862fec1.system.entry.js} +1 -1
- package/lib/duet/{p-1b11e540.entry.js → p-8cf359d9.entry.js} +1 -1
- package/lib/duet/{p-2528a411.system.entry.js → p-8daa915d.system.entry.js} +1 -1
- package/lib/duet/{p-379e2995.system.entry.js → p-8db6114f.system.entry.js} +1 -1
- package/lib/duet/p-90f06b7a.system.entry.js +4 -0
- package/lib/duet/p-91b3d075.entry.js +4 -0
- package/lib/duet/p-9226aca2.entry.js +4 -0
- package/lib/duet/{p-fd33eb2c.entry.js → p-99a90b30.entry.js} +1 -1
- package/lib/duet/{p-3b70cce3.entry.js → p-9ad6fc83.entry.js} +1 -1
- package/lib/duet/p-9e72b23c.system.entry.js +4 -0
- package/lib/duet/{p-13384099.entry.js → p-9ec0d197.entry.js} +1 -1
- package/lib/duet/{p-1a542b7c.system.entry.js → p-a0f76a04.system.entry.js} +1 -1
- package/lib/duet/p-a1978b4b.entry.js +4 -0
- package/lib/duet/p-a2ddca83.system.entry.js +4 -0
- package/lib/duet/{p-a7c64d94.entry.js → p-a5cf2316.entry.js} +1 -1
- package/lib/duet/{p-39496689.entry.js → p-a61825d9.entry.js} +1 -1
- package/lib/duet/{p-22dd2fab.entry.js → p-a6696d45.entry.js} +1 -1
- package/lib/duet/{p-7f8020bf.entry.js → p-a66ca0af.entry.js} +1 -1
- package/lib/duet/{p-62c70a95.entry.js → p-a7ed46e3.entry.js} +1 -1
- package/lib/duet/{p-85ad609f.entry.js → p-a86ae0c3.entry.js} +1 -1
- package/lib/duet/{p-9960de16.entry.js → p-ae7602cb.entry.js} +1 -1
- package/lib/duet/{p-cf9279b9.system.entry.js → p-b134229a.system.entry.js} +1 -1
- package/lib/duet/p-b362d8f7.entry.js +4 -0
- package/lib/duet/{p-65a5fdd5.entry.js → p-b4b5f803.entry.js} +1 -1
- package/lib/duet/{p-8cf1327e.entry.js → p-b594282a.entry.js} +1 -1
- package/lib/duet/{p-cb5ebe92.system.entry.js → p-b650e679.system.entry.js} +1 -1
- package/lib/duet/{p-6a07feba.entry.js → p-b77224fc.entry.js} +1 -1
- package/lib/duet/{p-6a89c7d0.system.entry.js → p-b7fe2c37.system.entry.js} +1 -1
- package/lib/duet/{p-931c3e1f.system.entry.js → p-bc541e97.system.entry.js} +1 -1
- package/lib/duet/{p-93ef4cc2.system.entry.js → p-be295e13.system.entry.js} +1 -1
- package/lib/duet/{p-98202339.entry.js → p-c0874730.entry.js} +1 -1
- package/lib/duet/{p-1d73a1d2.system.entry.js → p-c0c92199.system.entry.js} +1 -1
- package/lib/duet/p-c185ea87.system.entry.js +4 -0
- package/lib/duet/{p-fa400061.entry.js → p-c1c6a4f5.entry.js} +1 -1
- package/lib/duet/p-c2ff6bb2.entry.js +4 -0
- package/lib/duet/{p-637f635a.entry.js → p-c391b2a4.entry.js} +1 -1
- package/lib/duet/p-c5efb3f6.entry.js +4 -0
- package/lib/duet/p-c6122404.entry.js +4 -0
- package/lib/duet/p-c6b09397.js +4 -0
- package/lib/duet/p-c79f4b4b.entry.js +4 -0
- package/lib/duet/{p-32237f45.entry.js → p-c9198461.entry.js} +1 -1
- package/lib/duet/{p-770d0c35.system.entry.js → p-ca2725cd.system.entry.js} +1 -1
- package/lib/duet/{p-4a97ca92.system.entry.js → p-ca4d7a6d.system.entry.js} +1 -1
- package/lib/duet/{p-ee909d5f.system.entry.js → p-cb4799d1.system.entry.js} +1 -1
- package/lib/duet/{p-2a277fb6.entry.js → p-ccb08e8c.entry.js} +1 -1
- package/lib/duet/p-cf504df5.js +4 -0
- package/lib/duet/{p-b76ce62b.entry.js → p-cff11c78.entry.js} +1 -1
- package/lib/duet/{p-22e418ea.entry.js → p-d0175269.entry.js} +1 -1
- package/lib/duet/{p-91df8a4a.system.entry.js → p-d029f8dc.system.entry.js} +1 -1
- package/lib/duet/{p-5f2e386e.entry.js → p-d42279cd.entry.js} +1 -1
- package/lib/duet/{p-b3154717.entry.js → p-d4bc7a19.entry.js} +1 -1
- package/lib/duet/{p-1c7ad230.system.entry.js → p-d6dfa7c8.system.entry.js} +1 -1
- package/lib/duet/{p-ad3eba9a.entry.js → p-d841291b.entry.js} +1 -1
- package/lib/duet/{p-5048f9a7.entry.js → p-d988f03a.entry.js} +1 -1
- package/lib/duet/{p-a8a1d1f6.entry.js → p-da4f4b6c.entry.js} +1 -1
- package/lib/duet/{p-bd1d0640.system.js → p-dd1393e3.system.js} +1 -1
- package/lib/duet/{p-e9939ddb.system.entry.js → p-dee73c08.system.entry.js} +1 -1
- package/lib/duet/p-df10a767.js +4 -0
- package/lib/duet/{p-4f4ed95d.system.entry.js → p-df213a66.system.entry.js} +1 -1
- package/lib/duet/{p-e501bad4.system.entry.js → p-e288bb38.system.entry.js} +1 -1
- package/lib/duet/{p-5c444839.entry.js → p-e368e194.entry.js} +1 -1
- package/lib/duet/{p-f5728af6.system.entry.js → p-e6315f68.system.entry.js} +1 -1
- package/lib/duet/{p-1b426189.entry.js → p-e79c63b6.entry.js} +1 -1
- package/lib/duet/{p-2d3dbd85.system.entry.js → p-e8d8c7a2.system.entry.js} +1 -1
- package/lib/duet/{p-925f2b45.entry.js → p-e983ff0c.entry.js} +1 -1
- package/lib/duet/{p-17dc8da9.system.entry.js → p-ec796dfe.system.entry.js} +1 -1
- package/lib/duet/{p-d7425b07.entry.js → p-f58832f6.entry.js} +1 -1
- package/lib/duet/p-f5b53f2f.system.entry.js +4 -0
- package/lib/duet/{p-073221c9.system.entry.js → p-f74e934b.system.entry.js} +1 -1
- package/lib/duet/{p-c794bee3.system.entry.js → p-f78e3197.system.entry.js} +1 -1
- package/lib/duet/{p-6c1a2b16.entry.js → p-f90e86d3.entry.js} +1 -1
- package/lib/duet/p-f9603b0d.entry.js +4 -0
- package/lib/duet/{p-308b881b.js → p-fbd0d098.js} +1 -1
- package/lib/duet/{p-6486ab91.entry.js → p-fd1dcee1.entry.js} +1 -1
- package/lib/duet/{p-b4e863ee.system.entry.js → p-feaaff49.system.entry.js} +1 -1
- package/lib/duet/p-ff5a9358.system.entry.js +4 -0
- package/lib/duet/{p-d6a1c0de.entry.js → p-ffa34163.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 +164 -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 +24 -127
- 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 +6 -3
- 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 +41 -0
- package/lib/esm/duet-popup-menu.entry.js +109 -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 +2 -2
- 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-upload-item.entry.js +89 -0
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +3 -3
- package/lib/esm/errorcodes.utils-c0c33bce.js +36 -0
- package/lib/esm/floating-ui.dom.esm-37dc174a.js +1245 -0
- package/lib/esm/{focus-utils-552e67ed.js → focus-utils-e2239371.js} +1 -1
- package/lib/esm/{index-5aaf4b5b.js → index-b67ea1f1.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 +2 -2
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +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 +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-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-upload-item.entry.js +4 -0
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/errorcodes.utils-c0c33bce.js +4 -0
- package/lib/esm-es5/floating-ui.dom.esm-37dc174a.js +4 -0
- package/lib/esm-es5/focus-utils-e2239371.js +4 -0
- package/lib/esm-es5/{index-5aaf4b5b.js → index-b67ea1f1.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/types/components/duet-chip/duet-chip.d.ts +97 -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-grid/duet-grid.d.ts +4 -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 +77 -0
- package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +51 -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/duet-upload/duet-upload.d.ts +2 -1
- package/lib/types/components/duet-upload-item/duet-upload-item.d.ts +29 -0
- package/lib/types/components.d.ts +417 -0
- package/package.json +11 -6
- package/lib/collection/components/duet-upload/upload-item.js +0 -44
- package/lib/dist-custom-elements/p-00f8d4bc.js +0 -183
- package/lib/duet/p-077edef7.entry.js +0 -4
- package/lib/duet/p-0952d4a4.system.entry.js +0 -4
- package/lib/duet/p-225d9dbe.js +0 -4
- package/lib/duet/p-2cab347d.system.entry.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-5ad63594.entry.js +0 -4
- package/lib/duet/p-6a9319ad.system.entry.js +0 -4
- package/lib/duet/p-75898c81.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
- package/lib/duet/p-c654f863.system.entry.js +0 -4
- package/lib/duet/p-f8d00821.entry.js +0 -4
- package/lib/esm-es5/focus-utils-552e67ed.js +0 -4
- package/lib/types/components/duet-upload/upload-item.d.ts +0 -20
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-2b132855.js';
|
|
5
|
-
import { m as media_query_medium, a as media_query_large } from './p-b519ac77.js';
|
|
6
|
-
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
7
|
-
import { c as createID } from './p-c1325e35.js';
|
|
8
|
-
import { g as getLanguage, a as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-076452be.js';
|
|
9
|
-
import { d as defineCustomElement$2 } from './p-c202693f.js';
|
|
10
|
-
import { d as defineCustomElement$1 } from './p-beca0ced.js';
|
|
11
|
-
|
|
12
4
|
function getAlignment(placement) {
|
|
13
5
|
return placement.split('-')[1];
|
|
14
6
|
}
|
|
@@ -521,6 +513,76 @@ const flip = function (options) {
|
|
|
521
513
|
};
|
|
522
514
|
};
|
|
523
515
|
|
|
516
|
+
async function convertValueToCoords(state, value) {
|
|
517
|
+
const {
|
|
518
|
+
placement,
|
|
519
|
+
platform,
|
|
520
|
+
elements
|
|
521
|
+
} = state;
|
|
522
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
523
|
+
const side = getSide(placement);
|
|
524
|
+
const alignment = getAlignment(placement);
|
|
525
|
+
const isVertical = getMainAxisFromPlacement(placement) === 'x';
|
|
526
|
+
const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
|
|
527
|
+
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
528
|
+
const rawValue = typeof value === 'function' ? value(state) : value;
|
|
529
|
+
|
|
530
|
+
// eslint-disable-next-line prefer-const
|
|
531
|
+
let {
|
|
532
|
+
mainAxis,
|
|
533
|
+
crossAxis,
|
|
534
|
+
alignmentAxis
|
|
535
|
+
} = typeof rawValue === 'number' ? {
|
|
536
|
+
mainAxis: rawValue,
|
|
537
|
+
crossAxis: 0,
|
|
538
|
+
alignmentAxis: null
|
|
539
|
+
} : {
|
|
540
|
+
mainAxis: 0,
|
|
541
|
+
crossAxis: 0,
|
|
542
|
+
alignmentAxis: null,
|
|
543
|
+
...rawValue
|
|
544
|
+
};
|
|
545
|
+
if (alignment && typeof alignmentAxis === 'number') {
|
|
546
|
+
crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;
|
|
547
|
+
}
|
|
548
|
+
return isVertical ? {
|
|
549
|
+
x: crossAxis * crossAxisMulti,
|
|
550
|
+
y: mainAxis * mainAxisMulti
|
|
551
|
+
} : {
|
|
552
|
+
x: mainAxis * mainAxisMulti,
|
|
553
|
+
y: crossAxis * crossAxisMulti
|
|
554
|
+
};
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* Modifies the placement by translating the floating element along the
|
|
559
|
+
* specified axes.
|
|
560
|
+
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
561
|
+
* object may be passed.
|
|
562
|
+
* @see https://floating-ui.com/docs/offset
|
|
563
|
+
*/
|
|
564
|
+
const offset = function (value) {
|
|
565
|
+
if (value === void 0) {
|
|
566
|
+
value = 0;
|
|
567
|
+
}
|
|
568
|
+
return {
|
|
569
|
+
name: 'offset',
|
|
570
|
+
options: value,
|
|
571
|
+
async fn(state) {
|
|
572
|
+
const {
|
|
573
|
+
x,
|
|
574
|
+
y
|
|
575
|
+
} = state;
|
|
576
|
+
const diffCoords = await convertValueToCoords(state, value);
|
|
577
|
+
return {
|
|
578
|
+
x: x + diffCoords.x,
|
|
579
|
+
y: y + diffCoords.y,
|
|
580
|
+
data: diffCoords
|
|
581
|
+
};
|
|
582
|
+
}
|
|
583
|
+
};
|
|
584
|
+
};
|
|
585
|
+
|
|
524
586
|
function getCrossAxis(axis) {
|
|
525
587
|
return axis === 'x' ? 'y' : 'x';
|
|
526
588
|
}
|
|
@@ -1180,269 +1242,4 @@ const computePosition = (reference, floating, options) => {
|
|
|
1180
1242
|
});
|
|
1181
1243
|
};
|
|
1182
1244
|
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
const DuetTooltip = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
1186
|
-
constructor() {
|
|
1187
|
-
super();
|
|
1188
|
-
this.__registerHost();
|
|
1189
|
-
this.__attachShadow();
|
|
1190
|
-
/**
|
|
1191
|
-
* Own Properties.
|
|
1192
|
-
*/
|
|
1193
|
-
this.mql = [
|
|
1194
|
-
window.matchMedia(media_query_medium.replace(/'/g, "")),
|
|
1195
|
-
window.matchMedia(media_query_large.replace(/'/g, "")),
|
|
1196
|
-
];
|
|
1197
|
-
this.tooltipId = createID("DuetTooltip");
|
|
1198
|
-
/**
|
|
1199
|
-
* Local methods
|
|
1200
|
-
*/
|
|
1201
|
-
this.openTooltip = () => {
|
|
1202
|
-
this.focusTarget = "tooltip";
|
|
1203
|
-
this.active = true;
|
|
1204
|
-
};
|
|
1205
|
-
this.closeTooltip = (moveFocusToButton = false) => {
|
|
1206
|
-
if (moveFocusToButton) {
|
|
1207
|
-
this.focusTarget = "trigger";
|
|
1208
|
-
}
|
|
1209
|
-
this.active = false;
|
|
1210
|
-
};
|
|
1211
|
-
this.toggleOpen = () => {
|
|
1212
|
-
this.active ? this.closeTooltip() : this.openTooltip();
|
|
1213
|
-
};
|
|
1214
|
-
this.handleFocusOut = (e) => {
|
|
1215
|
-
if (!this.active) {
|
|
1216
|
-
return;
|
|
1217
|
-
}
|
|
1218
|
-
const relatedTarget = e.relatedTarget;
|
|
1219
|
-
if (
|
|
1220
|
-
// if we don't know where focus went
|
|
1221
|
-
relatedTarget == null ||
|
|
1222
|
-
// if focus is within the tooltip itself
|
|
1223
|
-
this.element.shadowRoot.contains(relatedTarget) ||
|
|
1224
|
-
// if focus is within the tooltip light DOM
|
|
1225
|
-
this.element.contains(relatedTarget)) {
|
|
1226
|
-
// then we can skip closing
|
|
1227
|
-
return;
|
|
1228
|
-
}
|
|
1229
|
-
this.closeTooltip();
|
|
1230
|
-
};
|
|
1231
|
-
this.handleKeyDown = (e) => {
|
|
1232
|
-
const isEscapeKey = e.keyCode === 27;
|
|
1233
|
-
const isTabbingOut = e.target === this.scrollableEl && e.shiftKey && e.keyCode === 9;
|
|
1234
|
-
if (isEscapeKey || isTabbingOut) {
|
|
1235
|
-
this.closeTooltip(true);
|
|
1236
|
-
}
|
|
1237
|
-
};
|
|
1238
|
-
this.handleCloseClick = () => {
|
|
1239
|
-
this.closeTooltip(true);
|
|
1240
|
-
};
|
|
1241
|
-
this.updatePlacement = async () => {
|
|
1242
|
-
var _a, _b;
|
|
1243
|
-
let preferRight = true;
|
|
1244
|
-
if (this.breakpoint === "large" && !this.mql[1].matches) {
|
|
1245
|
-
preferRight = false;
|
|
1246
|
-
}
|
|
1247
|
-
else if (this.breakpoint === "medium" && !this.mql[0].matches) {
|
|
1248
|
-
preferRight = false;
|
|
1249
|
-
}
|
|
1250
|
-
let placement = preferRight ? "top-start" : "top-end";
|
|
1251
|
-
if (this.direction === "left") {
|
|
1252
|
-
placement = "top-end";
|
|
1253
|
-
}
|
|
1254
|
-
else if (this.direction === "right") {
|
|
1255
|
-
placement = "top-start";
|
|
1256
|
-
}
|
|
1257
|
-
const position = await computePosition(this.buttonEl, this.tooltipEl, {
|
|
1258
|
-
placement,
|
|
1259
|
-
middleware: [flip(), shift({ padding: 5 }), arrow({ element: this.arrowEl })],
|
|
1260
|
-
});
|
|
1261
|
-
this.tooltipY = position.y;
|
|
1262
|
-
this.tooltipX = position.x;
|
|
1263
|
-
this.placement = position.placement;
|
|
1264
|
-
this.arrowY = (_a = position.middlewareData.arrow) === null || _a === void 0 ? void 0 : _a.y;
|
|
1265
|
-
this.arrowX = (_b = position.middlewareData.arrow) === null || _b === void 0 ? void 0 : _b.x;
|
|
1266
|
-
};
|
|
1267
|
-
this.placement = "bottom";
|
|
1268
|
-
this.tooltipY = undefined;
|
|
1269
|
-
this.tooltipX = undefined;
|
|
1270
|
-
this.arrowX = undefined;
|
|
1271
|
-
this.arrowY = undefined;
|
|
1272
|
-
this.theme = "";
|
|
1273
|
-
this.language = getLanguage();
|
|
1274
|
-
this.accessibleLabelDefault = {
|
|
1275
|
-
fi: "Näytä lisätietoja",
|
|
1276
|
-
en: "Show more information",
|
|
1277
|
-
sv: "Visa mer tilläggsuppgifter",
|
|
1278
|
-
};
|
|
1279
|
-
this.accessibleLabel = getLocaleString(this.accessibleLabelDefault, this.language);
|
|
1280
|
-
this.accessibleInputLabel = undefined;
|
|
1281
|
-
this.accessibleCloseLabelDefault = {
|
|
1282
|
-
fi: "Sulje lisätiedot",
|
|
1283
|
-
en: "Close details",
|
|
1284
|
-
sv: "Stäng tilläggsuppgifter",
|
|
1285
|
-
};
|
|
1286
|
-
this.accessibleCloseLabel = getLocaleString(this.accessibleCloseLabelDefault, this.language);
|
|
1287
|
-
this.label = "";
|
|
1288
|
-
this.breakpoint = "medium";
|
|
1289
|
-
this.direction = "auto";
|
|
1290
|
-
this.positionVertical = "0";
|
|
1291
|
-
this.positionHorizontal = "0";
|
|
1292
|
-
this.active = false;
|
|
1293
|
-
}
|
|
1294
|
-
watchLanguageStateHandler(newValue, oldValue) {
|
|
1295
|
-
if (newValue !== oldValue && this.accessibleLabel === this.accessibleLabelDefault[oldValue]) {
|
|
1296
|
-
this.accessibleLabel = getLocaleString(this.accessibleLabelDefault, newValue);
|
|
1297
|
-
}
|
|
1298
|
-
if (newValue !== oldValue && this.accessibleCloseLabel === this.accessibleCloseLabelDefault[oldValue]) {
|
|
1299
|
-
this.accessibleCloseLabel = getLocaleString(this.accessibleCloseLabelDefault, newValue);
|
|
1300
|
-
}
|
|
1301
|
-
}
|
|
1302
|
-
/**
|
|
1303
|
-
* Component lifecycle events.
|
|
1304
|
-
*/
|
|
1305
|
-
componentWillLoad() {
|
|
1306
|
-
inheritGlobalTheme(this);
|
|
1307
|
-
}
|
|
1308
|
-
componentDidLoad() {
|
|
1309
|
-
{
|
|
1310
|
-
this.updatePlacement();
|
|
1311
|
-
}
|
|
1312
|
-
}
|
|
1313
|
-
componentDidUpdate() {
|
|
1314
|
-
switch (this.focusTarget) {
|
|
1315
|
-
case "tooltip":
|
|
1316
|
-
this.scrollableEl.focus({ preventScroll: true });
|
|
1317
|
-
break;
|
|
1318
|
-
case "trigger":
|
|
1319
|
-
this.buttonEl.focus({ preventScroll: true });
|
|
1320
|
-
break;
|
|
1321
|
-
}
|
|
1322
|
-
this.focusTarget = null;
|
|
1323
|
-
}
|
|
1324
|
-
connectedCallback() {
|
|
1325
|
-
connectLanguageChangeObserver(this);
|
|
1326
|
-
}
|
|
1327
|
-
disconnectedCallback() {
|
|
1328
|
-
disconnectLanguageChangeObserver(this);
|
|
1329
|
-
}
|
|
1330
|
-
/**
|
|
1331
|
-
* Component event handling.
|
|
1332
|
-
*/
|
|
1333
|
-
onScroll() {
|
|
1334
|
-
clearTimeout(this.scrollTimer);
|
|
1335
|
-
this.scrollTimer = setTimeout(() => {
|
|
1336
|
-
if (this.active) {
|
|
1337
|
-
this.updatePlacement();
|
|
1338
|
-
}
|
|
1339
|
-
}, 100);
|
|
1340
|
-
}
|
|
1341
|
-
handleWindowResize() {
|
|
1342
|
-
clearTimeout(this.resizeTimer);
|
|
1343
|
-
this.resizeTimer = setTimeout(() => {
|
|
1344
|
-
this.updatePlacement();
|
|
1345
|
-
}, 100);
|
|
1346
|
-
}
|
|
1347
|
-
handleDocumentClick(e) {
|
|
1348
|
-
if (!this.active) {
|
|
1349
|
-
return;
|
|
1350
|
-
}
|
|
1351
|
-
const path = e.composedPath();
|
|
1352
|
-
const isClickOutside = path.every(el => el !== this.element);
|
|
1353
|
-
if (isClickOutside) {
|
|
1354
|
-
this.closeTooltip();
|
|
1355
|
-
}
|
|
1356
|
-
}
|
|
1357
|
-
async handleActiveChange(newActiveValue) {
|
|
1358
|
-
if (newActiveValue) {
|
|
1359
|
-
this.updatePlacement();
|
|
1360
|
-
}
|
|
1361
|
-
else {
|
|
1362
|
-
setTimeout(() => this.updatePlacement(), 300);
|
|
1363
|
-
}
|
|
1364
|
-
}
|
|
1365
|
-
/**
|
|
1366
|
-
* render() function.
|
|
1367
|
-
* Always the last one in the class.
|
|
1368
|
-
*/
|
|
1369
|
-
render() {
|
|
1370
|
-
const tooltipStyles = {
|
|
1371
|
-
transform: `translateY(${this.positionVertical}) translateX(${this.positionHorizontal})`,
|
|
1372
|
-
// This is needed to that the active tooltip stacks on
|
|
1373
|
-
// top of other tooltips and the header.
|
|
1374
|
-
zIndex: this.active ? "201" : "",
|
|
1375
|
-
};
|
|
1376
|
-
const positionStyles = {
|
|
1377
|
-
top: `${this.tooltipY}px`,
|
|
1378
|
-
left: `${this.tooltipX}px`,
|
|
1379
|
-
display: "block",
|
|
1380
|
-
};
|
|
1381
|
-
const arrowStyles = {
|
|
1382
|
-
top: this.arrowY ? `${this.arrowY}px` : undefined,
|
|
1383
|
-
left: this.arrowX ? `${this.arrowX}px` : undefined,
|
|
1384
|
-
};
|
|
1385
|
-
return (h(Host, { style: tooltipStyles }, h("button", { ref: element => (this.buttonEl = element), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", onClick: this.toggleOpen, type: "button", class: {
|
|
1386
|
-
"duet-tooltip-button": true,
|
|
1387
|
-
"duet-tooltip-button-has-label": !!this.label,
|
|
1388
|
-
"duet-theme-turva": this.theme === "turva",
|
|
1389
|
-
} }, h("svg", { "aria-hidden": "true", role: "img", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "m13.5 17.25c-1.241 0-2.25-1.009-2.25-2.25v-3.75h-.75c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h.75c.827 0 1.5.673 1.5 1.5v3.75c0 .414.336.75.75.75h.75c.414 0 .75.336.75.75s-.336.75-.75.75z" }), h("circle", { cx: "11.625", cy: "7.125", r: "1.125" }), h("path", { d: "m12 24c-6.617 0-12-5.383-12-12s5.383-12 12-12 12 5.383 12 12-5.383 12-12 12zm0-22.5c-5.79 0-10.5 4.71-10.5 10.5s4.71 10.5 10.5 10.5 10.5-4.71 10.5-10.5-4.71-10.5-10.5-10.5z" })), this.label ? (h("span", { class: "duet-tooltip-label" }, this.label)) : (h("duet-visually-hidden", null, this.accessibleInputLabel
|
|
1390
|
-
? `${this.accessibleInputLabel}, ${this.accessibleLabel}`
|
|
1391
|
-
: this.accessibleLabel))), h("div", { ref: element => (this.tooltipEl = element), style: positionStyles, class: {
|
|
1392
|
-
"duet-tooltip": true,
|
|
1393
|
-
"duet-theme-turva": this.theme === "turva",
|
|
1394
|
-
"duet-tooltip-has-label": !!this.label,
|
|
1395
|
-
"duet-tooltip-active": this.active === true,
|
|
1396
|
-
}, onClick: e => e.stopPropagation(), onKeyDown: this.handleKeyDown, onFocusout: this.handleFocusOut }, h("div", { ref: element => (this.scrollableEl = element), class: "duet-tooltip-scrollable", tabindex: "0", id: this.tooltipId }, h("slot", null)), h("div", { ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: arrowStyles }, h("div", { class: { "arrow-container": true, [this.placement]: true } })), h("button", { type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick }, h("duet-icon", { name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), h("duet-visually-hidden", null, this.accessibleCloseLabel)))));
|
|
1397
|
-
}
|
|
1398
|
-
get element() { return this; }
|
|
1399
|
-
static get watchers() { return {
|
|
1400
|
-
"language": ["watchLanguageStateHandler"],
|
|
1401
|
-
"active": ["handleActiveChange"]
|
|
1402
|
-
}; }
|
|
1403
|
-
static get style() { return duetTooltipCss; }
|
|
1404
|
-
}, [1, "duet-tooltip", {
|
|
1405
|
-
"theme": [1025],
|
|
1406
|
-
"language": [1025],
|
|
1407
|
-
"accessibleLabelDefault": [1, "accessible-label-default"],
|
|
1408
|
-
"accessibleLabel": [1025, "accessible-label"],
|
|
1409
|
-
"accessibleInputLabel": [1, "accessible-input-label"],
|
|
1410
|
-
"accessibleCloseLabelDefault": [1, "accessible-close-label-default"],
|
|
1411
|
-
"accessibleCloseLabel": [1025, "accessible-close-label"],
|
|
1412
|
-
"label": [1],
|
|
1413
|
-
"breakpoint": [1],
|
|
1414
|
-
"direction": [1],
|
|
1415
|
-
"positionVertical": [513, "position-vertical"],
|
|
1416
|
-
"positionHorizontal": [513, "position-horizontal"],
|
|
1417
|
-
"active": [1540],
|
|
1418
|
-
"placement": [32],
|
|
1419
|
-
"tooltipY": [32],
|
|
1420
|
-
"tooltipX": [32],
|
|
1421
|
-
"arrowX": [32],
|
|
1422
|
-
"arrowY": [32]
|
|
1423
|
-
}, [[9, "scroll", "onScroll"], [9, "resize", "handleWindowResize"], [4, "click", "handleDocumentClick"]]]);
|
|
1424
|
-
function defineCustomElement() {
|
|
1425
|
-
if (typeof customElements === "undefined") {
|
|
1426
|
-
return;
|
|
1427
|
-
}
|
|
1428
|
-
const components = ["duet-tooltip", "duet-icon", "duet-visually-hidden"];
|
|
1429
|
-
components.forEach(tagName => { switch (tagName) {
|
|
1430
|
-
case "duet-tooltip":
|
|
1431
|
-
if (!customElements.get(tagName)) {
|
|
1432
|
-
customElements.define(tagName, DuetTooltip);
|
|
1433
|
-
}
|
|
1434
|
-
break;
|
|
1435
|
-
case "duet-icon":
|
|
1436
|
-
if (!customElements.get(tagName)) {
|
|
1437
|
-
defineCustomElement$2();
|
|
1438
|
-
}
|
|
1439
|
-
break;
|
|
1440
|
-
case "duet-visually-hidden":
|
|
1441
|
-
if (!customElements.get(tagName)) {
|
|
1442
|
-
defineCustomElement$1();
|
|
1443
|
-
}
|
|
1444
|
-
break;
|
|
1445
|
-
} });
|
|
1446
|
-
}
|
|
1447
|
-
|
|
1448
|
-
export { DuetTooltip as D, defineCustomElement as d };
|
|
1245
|
+
export { arrow as a, computePosition as c, flip as f, offset as o, shift as s };
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { p as proxyCustomElement, H, h } from './p-25fa826f.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
|
+
import { a as getLocaleString } from './p-076452be.js';
|
|
7
|
+
import { p as parsePossibleJSON } from './p-5a9d75e1.js';
|
|
8
|
+
import { d as defineCustomElement$9 } from './p-dbb9df4e.js';
|
|
9
|
+
import { d as defineCustomElement$8 } from './p-5c48ca92.js';
|
|
10
|
+
import { d as defineCustomElement$7 } from './p-226f50bb.js';
|
|
11
|
+
import { d as defineCustomElement$6 } from './p-171c70e8.js';
|
|
12
|
+
import { d as defineCustomElement$5 } from './p-8a1632b1.js';
|
|
13
|
+
import { d as defineCustomElement$4 } from './p-26a65533.js';
|
|
14
|
+
import { d as defineCustomElement$3 } from './p-08f20e44.js';
|
|
15
|
+
import { d as defineCustomElement$2 } from './p-7681059e.js';
|
|
16
|
+
import { d as defineCustomElement$1 } from './p-e467de13.js';
|
|
17
|
+
|
|
18
|
+
const getError = (code, errorCodes) => {
|
|
19
|
+
let error = {
|
|
20
|
+
type: undefined,
|
|
21
|
+
system_message: undefined,
|
|
22
|
+
message: undefined,
|
|
23
|
+
};
|
|
24
|
+
errorCodes = parsePossibleJSON(errorCodes);
|
|
25
|
+
error = errorCodes.filter(errorItem => {
|
|
26
|
+
// the == is intentional we may be comparing numbers to strings - and that is ok here
|
|
27
|
+
return errorItem.type == code;
|
|
28
|
+
})[0];
|
|
29
|
+
if (!error) {
|
|
30
|
+
error = errorCodes.filter(errorItem => {
|
|
31
|
+
return errorItem.type === "default";
|
|
32
|
+
})[0];
|
|
33
|
+
}
|
|
34
|
+
return error;
|
|
35
|
+
};
|
|
36
|
+
const getI18nError = (errorCode, errorCodes) => {
|
|
37
|
+
const errorFromJson = getError(errorCode, errorCodes);
|
|
38
|
+
const i18String = getLocaleString(errorFromJson.message);
|
|
39
|
+
if (i18String === "" || !i18String) {
|
|
40
|
+
return errorFromJson.system_message;
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
return i18String;
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
const formatBytes = (bytes, decimals = 2) => {
|
|
48
|
+
if (bytes === 0) {
|
|
49
|
+
return "0 Bytes";
|
|
50
|
+
}
|
|
51
|
+
const k = 1024;
|
|
52
|
+
const dm = decimals < 0 ? 0 : decimals;
|
|
53
|
+
const sizes = ["Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"];
|
|
54
|
+
const i = Math.floor(Math.log(bytes) / Math.log(k));
|
|
55
|
+
return parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + " " + sizes[i];
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
const DuetUploadItem = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
59
|
+
constructor() {
|
|
60
|
+
super();
|
|
61
|
+
this.__registerHost();
|
|
62
|
+
this.fileUploadingInfo = {
|
|
63
|
+
fi: "Tiedosto latautuu",
|
|
64
|
+
sv: "Filen laddas upp",
|
|
65
|
+
en: "File is uploading",
|
|
66
|
+
};
|
|
67
|
+
this.onLinkClick = (event) => {
|
|
68
|
+
const { url, meta } = this.data;
|
|
69
|
+
if (!!this.linkClickEvent) {
|
|
70
|
+
event.preventDefault();
|
|
71
|
+
this.linkClickEvent.emit({
|
|
72
|
+
component: "duet-upload",
|
|
73
|
+
data: { name: this.data.item.name, url, meta },
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
this.theme = "";
|
|
78
|
+
this.data = undefined;
|
|
79
|
+
this.type = undefined;
|
|
80
|
+
this.showLinks = undefined;
|
|
81
|
+
this.actions = undefined;
|
|
82
|
+
this.label = undefined;
|
|
83
|
+
this.categoryLabel = undefined;
|
|
84
|
+
this.errorCodes = undefined;
|
|
85
|
+
this.showCategory = undefined;
|
|
86
|
+
this.linkClickEvent = undefined;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Component lifecycle events.
|
|
90
|
+
*/
|
|
91
|
+
componentWillLoad() {
|
|
92
|
+
inheritGlobalTheme(this);
|
|
93
|
+
}
|
|
94
|
+
async focusActionButton() {
|
|
95
|
+
if (this.actionButton) {
|
|
96
|
+
await this.actionButton.setFocus();
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
getFileNameLine() {
|
|
100
|
+
const { item, size, uploaded, url, progress, error } = this.data;
|
|
101
|
+
const { name } = item;
|
|
102
|
+
const ContentName = (h("span", { class: "duet-upload-item-name" }, h("duet-icon", { margin: "none", size: "x-small", name: "messaging-attachment" }), h("duet-spacer", { size: "xx-small", direction: "horizontal" }), name));
|
|
103
|
+
const SizeText = (h("span", { class: "duet-upload-item-size", style: { fontSize: "14px", fontWeight: "400" } }, "(", formatBytes(size), ")"));
|
|
104
|
+
switch (this.type) {
|
|
105
|
+
case "inprogress":
|
|
106
|
+
return (h("span", { class: "duet-upload-item-name", role: "status" }, h("duet-paragraph", { class: "duet-upload-item-name", color: "gray-darker", margin: "none", weight: "semi-bold" }, h("duet-icon", { margin: "none", size: "x-small", name: "messaging-attachment" }), h("duet-spacer", { size: "xx-small", direction: "horizontal" }), name), h("duet-visually-hidden", null, h("duet-paragraph", null, getLocaleString(this.fileUploadingInfo))), h("duet-progress", { progress: Math.ceil(progress), "aria-hidden": true })));
|
|
107
|
+
case "pending":
|
|
108
|
+
return (h("span", { class: "duet-upload-item-name" }, h("duet-icon", { margin: "none", size: "x-small", name: "messaging-attachment" }), h("duet-spacer", { size: "xx-small", direction: "horizontal" }), name));
|
|
109
|
+
case "failure":
|
|
110
|
+
return (h("span", { class: "duet-upload-item-error", role: "status" }, h("duet-paragraph", { class: "duet-upload-item-name", color: "danger", margin: "none", weight: "semi-bold" }, h("duet-icon", { margin: "none", size: "x-small", name: "messaging-attachment" }), h("duet-spacer", { size: "xx-small", direction: "horizontal" }), name), h("duet-paragraph", { class: "duet-upload-item-error-label", size: "small", margin: "none", color: "danger" }, getI18nError(error.type, this.errorCodes))));
|
|
111
|
+
default:
|
|
112
|
+
return uploaded && url && this.showLinks ? (h("duet-paragraph", { color: "secondary", margin: "none", weight: "semi-bold" }, h("duet-link", { onClick: this.onLinkClick, url: url, external: true }, ContentName), h("duet-spacer", { size: "xx-small", direction: "horizontal" }), SizeText)) : (h("duet-paragraph", { color: "secondary", margin: "none", weight: "semi-bold" }, ContentName, h("duet-spacer", { size: "xx-small", direction: "horizontal" }), SizeText));
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
render() {
|
|
116
|
+
const { uid, meta } = this.data;
|
|
117
|
+
const Badges = meta && meta.badges ? (h("span", null, meta.badges.map(badgeText => (h("duet-badge", { color: "primary" }, badgeText))))) : undefined;
|
|
118
|
+
const actionDescription = `${meta && meta.badges ? meta.badges.join(",") : ""} ${name}`;
|
|
119
|
+
return (h("div", { class: {
|
|
120
|
+
"upload-item-row": true,
|
|
121
|
+
} }, this.showCategory && (h("div", { class: "item-categories" }, h("duet-heading", { class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), h("div", { class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (h("duet-heading", { class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), h("div", { class: "item-actions" }, this.actions.map(actionItem => {
|
|
122
|
+
return (h("duet-action-button", { actionMeta: Object.assign({}, meta || {}), actionId: uid || null, actionName: actionItem.name, theme: this.theme, iconName: actionItem.icon, iconColor: actionItem.color, iconSize: actionItem.size, background: actionItem.background, "accessible-label": `${actionDescription} ${getLocaleString(actionItem.label)} `, accessibleTitle: false, ref: button => (this.actionButton = button) }));
|
|
123
|
+
}))));
|
|
124
|
+
}
|
|
125
|
+
}, [0, "duet-upload-item", {
|
|
126
|
+
"theme": [1025],
|
|
127
|
+
"data": [16],
|
|
128
|
+
"type": [1],
|
|
129
|
+
"showLinks": [4, "show-links"],
|
|
130
|
+
"actions": [8],
|
|
131
|
+
"label": [16],
|
|
132
|
+
"categoryLabel": [16],
|
|
133
|
+
"errorCodes": [16],
|
|
134
|
+
"showCategory": [4, "show-category"],
|
|
135
|
+
"linkClickEvent": [16],
|
|
136
|
+
"focusActionButton": [64]
|
|
137
|
+
}]);
|
|
138
|
+
function defineCustomElement() {
|
|
139
|
+
if (typeof customElements === "undefined") {
|
|
140
|
+
return;
|
|
141
|
+
}
|
|
142
|
+
const components = ["duet-upload-item", "duet-action-button", "duet-badge", "duet-heading", "duet-icon", "duet-link", "duet-paragraph", "duet-progress", "duet-spacer", "duet-visually-hidden"];
|
|
143
|
+
components.forEach(tagName => { switch (tagName) {
|
|
144
|
+
case "duet-upload-item":
|
|
145
|
+
if (!customElements.get(tagName)) {
|
|
146
|
+
customElements.define(tagName, DuetUploadItem);
|
|
147
|
+
}
|
|
148
|
+
break;
|
|
149
|
+
case "duet-action-button":
|
|
150
|
+
if (!customElements.get(tagName)) {
|
|
151
|
+
defineCustomElement$9();
|
|
152
|
+
}
|
|
153
|
+
break;
|
|
154
|
+
case "duet-badge":
|
|
155
|
+
if (!customElements.get(tagName)) {
|
|
156
|
+
defineCustomElement$8();
|
|
157
|
+
}
|
|
158
|
+
break;
|
|
159
|
+
case "duet-heading":
|
|
160
|
+
if (!customElements.get(tagName)) {
|
|
161
|
+
defineCustomElement$7();
|
|
162
|
+
}
|
|
163
|
+
break;
|
|
164
|
+
case "duet-icon":
|
|
165
|
+
if (!customElements.get(tagName)) {
|
|
166
|
+
defineCustomElement$6();
|
|
167
|
+
}
|
|
168
|
+
break;
|
|
169
|
+
case "duet-link":
|
|
170
|
+
if (!customElements.get(tagName)) {
|
|
171
|
+
defineCustomElement$5();
|
|
172
|
+
}
|
|
173
|
+
break;
|
|
174
|
+
case "duet-paragraph":
|
|
175
|
+
if (!customElements.get(tagName)) {
|
|
176
|
+
defineCustomElement$4();
|
|
177
|
+
}
|
|
178
|
+
break;
|
|
179
|
+
case "duet-progress":
|
|
180
|
+
if (!customElements.get(tagName)) {
|
|
181
|
+
defineCustomElement$3();
|
|
182
|
+
}
|
|
183
|
+
break;
|
|
184
|
+
case "duet-spacer":
|
|
185
|
+
if (!customElements.get(tagName)) {
|
|
186
|
+
defineCustomElement$2();
|
|
187
|
+
}
|
|
188
|
+
break;
|
|
189
|
+
case "duet-visually-hidden":
|
|
190
|
+
if (!customElements.get(tagName)) {
|
|
191
|
+
defineCustomElement$1();
|
|
192
|
+
}
|
|
193
|
+
break;
|
|
194
|
+
} });
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
export { DuetUploadItem as D, getI18nError as a, defineCustomElement as d, getError as g };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-25fa826f.js';
|
|
5
5
|
|
|
6
6
|
const duetVisuallyHiddenCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}";
|
|
7
7
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-25fa826f.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { D as DuetStringsExternalDefaults } from './p-76f00bd5.js';
|
|
7
7
|
import { g as getLanguage, a as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-076452be.js';
|
|
8
8
|
import { g as getColorByName } from './p-de68431d.js';
|
|
9
|
-
import { d as defineCustomElement$3 } from './p-
|
|
10
|
-
import { d as defineCustomElement$2 } from './p-
|
|
11
|
-
import { d as defineCustomElement$1 } from './p-
|
|
9
|
+
import { d as defineCustomElement$3 } from './p-171c70e8.js';
|
|
10
|
+
import { d as defineCustomElement$2 } from './p-03297bf3.js';
|
|
11
|
+
import { d as defineCustomElement$1 } from './p-e467de13.js';
|
|
12
12
|
|
|
13
13
|
const duetButtonCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.input-button){z-index:250}:host(.duet-small){margin-right:2px !important;margin-bottom:8px !important}:host(.duet-small):last-child,:host(.duet-small):last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host(.duet-small){width:auto}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(:last-child){margin-right:0 !important}.duet-button-container{position:relative;width:100%}.duet-button{padding:14px 27px 15px !important;-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;min-width:8rem;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(0, 119, 179) !important;text-align:center;text-decoration:none;cursor:pointer;background:transparent;border-style:solid;border-width:2px;border-radius:20rem;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, box-shadow 300ms ease}.duet-button.duet-p-0{padding:0 !important}.duet-button.duet-m-0{margin:0 !important}.duet-button:not(.input-button-primary,.input-button-secondary,.input-button-embedded){font-variant-numeric:tabular-nums}.duet-button.duet-button-text-center{text-align:center !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only){padding:9px 19px 10px !important;min-width:5.3333333333rem;font-size:0.875rem}.duet-button.duet-button-is-small:not(.duet-button-icon-only).icon{padding-left:48px !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).icon-right{padding-right:48px !important;padding-left:20px !important}.duet-theme-turva .duet-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(198, 12, 48) !important}.duet-button .duet-button-contents{position:relative;display:inline-block;margin:0 auto;pointer-events:none}.duet-button.duet-no-wrap{white-space:nowrap}.duet-button.icon{padding-left:52px !important}.duet-button.icon-right{padding-right:52px !important;padding-left:28px !important}.duet-button svg{width:100%;min-width:100%;fill:currentColor}.duet-button .duet-button-icon{position:absolute;top:50%;left:-28px;display:flex;align-items:center;justify-content:center;width:16px;height:16px;margin:0 !important;transform:translateY(-50%)}.duet-button .duet-button-icon duet-icon{width:16px;height:16px}.duet-button .duet-button-icon.right{right:-28px;left:auto}.duet-button .duet-button-icon.large{left:-32px;width:20px;height:20px}.duet-button .duet-button-icon.large duet-icon{width:20px;height:20px}.duet-button .duet-button-icon.large.right{right:-32px;left:auto}.duet-button .duet-button-icon.medium-small{left:-16px;width:10px;height:10px;padding-top:1px}.duet-button .duet-button-icon.medium-small duet-icon{width:10px;height:10px}.duet-button .duet-button-icon.medium-small.right{right:-16px;left:auto}.duet-button .duet-button-icon.small{left:-16px;width:7px;height:7px}.duet-button .duet-button-icon.small duet-icon{width:7px;height:7px}.duet-button .duet-button-icon.small.right{right:-16px;left:auto}.duet-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-theme-turva .duet-button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-button:active:not([disabled]){opacity:0.75;transition:none}.duet-button.default{border-color:rgb(225, 227, 230)}.duet-theme-turva .duet-button.default{color:rgb(198, 12, 48) !important;border-color:rgb(228, 228, 230)}.duet-button.default:hover{border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default:hover{border-color:rgb(198, 12, 48)}.duet-button.default.duet-button-negative{background-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.default.duet-button-negative{background-color:rgb(228, 228, 230) !important}.duet-button.default.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.primary,.duet-button.input-button-primary{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.primary,.duet-theme-turva .duet-button.input-button-primary{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.primary:hover,.duet-button.input-button-primary:hover{background:#005f8f;border-color:#005f8f;box-shadow:0 4px 20px rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.primary:hover,.duet-theme-turva .duet-button.input-button-primary:hover{background:rgb(148, 9, 37);border-color:rgb(148, 9, 37)}.duet-button.primary:focus,.duet-button.input-button-primary:focus{outline:0;box-shadow:0 0 0 1px rgb(255, 255, 255), 0 0 0 4px rgba(0, 119, 179, 0.75)}.duet-theme-turva .duet-button.primary:focus,.duet-theme-turva .duet-button.input-button-primary:focus{box-shadow:0 0 0 1px rgb(255, 255, 255), 0 0 0 4px rgba(23, 28, 58, 0.7)}.duet-button.secondary,.duet-button.input-button-secondary,.duet-button.input-button-embedded{color:rgb(0, 41, 77) !important;background:transparent;border-color:rgb(0, 41, 77)}.duet-theme-turva .duet-button.secondary,.duet-theme-turva .duet-button.input-button-secondary,.duet-theme-turva .duet-button.input-button-embedded{color:rgb(23, 28, 58) !important;border-color:rgb(23, 28, 58)}.duet-button.secondary:hover,.duet-button.input-button-secondary:hover,.duet-button.input-button-embedded:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary:hover,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-theme-turva .duet-button.input-button-embedded:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.secondary.duet-button-negative,.duet-button.input-button-secondary.duet-button-negative,.duet-button.input-button-embedded.duet-button-negative{color:rgb(225, 227, 230) !important;border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:rgb(228, 228, 230) !important}.duet-button.secondary.duet-button-negative:hover,.duet-button.input-button-secondary.duet-button-negative:hover,.duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.input-button-embedded{width:40px;min-width:40px !important;min-height:40px !important;margin:4px !important;border-width:0 !important;border-radius:4px !important}.duet-button.negative{color:rgb(0, 41, 77) !important;background:rgb(255, 255, 255);border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.negative{color:rgb(23, 28, 58) !important}.duet-button.negative:hover{color:rgb(255, 255, 255) !important;background:transparent;border-color:rgb(255, 255, 255)}.duet-button.negative:focus{outline:0;box-shadow:0 0 0 1px rgb(0, 41, 77), 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-theme-turva .duet-button.negative:focus{box-shadow:0 0 0 1px rgb(23, 28, 58), 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(222, 35, 98);border-color:rgb(222, 35, 98)}.duet-theme-turva .duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(224, 42, 13);border-color:rgb(224, 42, 13)}.duet-button.destructive-primary:hover{background:#b21c4e;border-color:#b21c4e;box-shadow:0 4px 20px rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.destructive-primary:hover{background:#b3220a}.duet-button.destructive,.duet-button.destructive-secondary{color:rgb(222, 35, 98) !important;background:rgb(255, 255, 255);border-color:rgb(222, 35, 98)}.duet-theme-turva .duet-button.destructive,.duet-theme-turva .duet-button.destructive-secondary{color:rgb(224, 42, 13) !important;background:rgb(255, 255, 255);border-color:rgb(224, 42, 13)}.duet-button.destructive:hover,.duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#b21c4e;border-color:#b21c4e}.duet-theme-turva .duet-button.destructive:hover,.duet-theme-turva .duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#b3220a;border-color:#b3220a}.duet-button.plain{min-width:48px;padding-right:0 !important;padding-left:0 !important;line-height:1.5;text-align:left;background:transparent;border:0;border-color:transparent;border-radius:4px}.duet-theme-turva .duet-button.plain{color:rgb(198, 12, 48) !important;background:transparent;border-color:transparent}.duet-button.plain.icon{padding-left:20px !important}.duet-button.plain.icon.icon-right{padding-right:20px !important;padding-left:0 !important}.duet-button.plain.icon.medium{padding-left:24px !important}.duet-button.plain.icon.medium.icon-right{padding-right:24px !important;padding-left:0 !important}.duet-button.plain.icon.large{padding-left:30px !important}.duet-button.plain.icon.large.icon-right{padding-right:30px !important;padding-left:0 !important}.duet-button.plain .duet-button-icon.left{left:-16.6666666667px !important}.duet-button.plain .duet-button-icon.left.medium{left:-24px !important}.duet-button.plain .duet-button-icon.left.large{left:-30px !important}.duet-button.plain .duet-button-icon.right{right:-16.6666666667px !important}.duet-button.plain .duet-button-icon.right.medium{right:-24px !important}.duet-button.plain .duet-button-icon.right.large{right:-30px !important}.duet-button.plain[disabled]{color:rgb(101, 119, 135) !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}.duet-theme-turva .duet-button.plain[disabled]{color:transparent !important;cursor:not-allowed;background:transparent !important;border-color:rgb(228, 228, 230) !important}.duet-button.plain:hover{color:rgb(0, 77, 128) !important;background:transparent !important}.duet-theme-turva .duet-button.plain:hover{color:rgb(148, 9, 37) !important}.duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(228, 228, 230) !important}.duet-button.plain.duet-button-negative:hover{color:rgb(0, 119, 179) !important}.duet-theme-turva .duet-button.plain.duet-button-negative:hover{color:rgb(198, 12, 48) !important}.duet-button.duet-button-icon-only{min-width:48px;min-height:48px;padding:0 !important}.duet-button.duet-button-icon-only .duet-button-contents{position:static}.duet-button.duet-button-icon-only .duet-button-icon.left.large,.duet-button.duet-button-icon-only .duet-button-icon.left.medium,.duet-button.duet-button-icon-only .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px;border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}.duet-button.duet-button.input-button-primary .duet-button-contents,.duet-button.duet-button.input-button-secondary .duet-button-contents,.duet-button.duet-button.input-button-embedded .duet-button-contents{position:static}.duet-button.duet-button.input-button-primary .duet-button-icon.left.large,.duet-button.duet-button.input-button-primary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-primary .duet-button-icon.left.small,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.large,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.small,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.large,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.medium,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-embedded{border-left-width:0}.duet-button.square{width:48px !important;min-width:auto !important;height:48px !important;padding:0 !important;font-size:1.25rem;border-color:rgb(225, 227, 230);border-width:1px;border-radius:8px}.duet-button.square.duet-button-is-small{width:28px !important;height:28px !important;padding:0 !important;font-size:1rem}.duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-theme-turva .duet-button.square{border-color:rgb(228, 228, 230)}.duet-button[disabled],.duet-button[disabled]:hover,.duet-button.duet-button-negative[disabled],.duet-button.duet-button-negative[disabled]:hover{color:rgb(101, 119, 135) !important;cursor:not-allowed;background:rgb(225, 227, 230) !important;border-color:rgb(225, 227, 230) !important;box-shadow:none !important}.duet-theme-turva .duet-button[disabled],.duet-theme-turva .duet-button[disabled]:hover,.duet-theme-turva .duet-button.duet-button-negative [disabled],.duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:rgb(116, 116, 117) !important;cursor:not-allowed;background:rgb(228, 228, 230) !important;border-color:rgb(228, 228, 230) !important}.duet-button-is-loading.primary,.duet-button-is-loading.input-button-primary{color:rgb(255, 255, 255)}.duet-button-is-loading.default{color:rgb(0, 119, 179)}.duet-button-is-loading.default.duet-theme-turva{color:rgb(198, 12, 48)}.duet-button-is-loading .duet-button-contents{visibility:hidden;opacity:0}";
|
|
14
14
|
|