@duetds/components 9.13.0 → 9.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +341 -167
- package/lib/cjs/{a11y-utils-7f0f44ac.js → a11y-utils-a934645c.js} +1 -1
- package/lib/cjs/{app-globals-7f261ff1.js → app-globals-6b9852f3.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
- package/lib/cjs/duet-alert.cjs.entry.js +4 -4
- package/lib/cjs/duet-badge.cjs.entry.js +4 -4
- package/lib/cjs/duet-banner.cjs.entry.js +7 -7
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +7 -7
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +6 -6
- package/lib/cjs/duet-button_2.cjs.entry.js +12 -12
- package/lib/cjs/duet-callout.cjs.entry.js +5 -5
- package/lib/cjs/duet-caption_4.cjs.entry.js +13 -12
- package/lib/cjs/duet-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
- package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
- package/lib/cjs/duet-chip.cjs.entry.js +3 -3
- package/lib/cjs/duet-choice_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
- package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
- package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
- package/lib/cjs/duet-date-picker.cjs.entry.js +5 -5
- package/lib/cjs/duet-divider_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +9 -9
- package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
- package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
- package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
- package/lib/cjs/duet-footer.cjs.entry.js +4 -4
- package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-header_2.cjs.entry.js +6 -5
- package/lib/cjs/duet-hero.cjs.entry.js +4 -4
- package/lib/cjs/duet-icon.cjs.entry.js +6 -6
- package/lib/cjs/duet-input_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-layout.cjs.entry.js +2 -2
- package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +7 -7
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar.cjs.entry.js +3 -3
- package/lib/cjs/duet-modal.cjs.entry.js +39 -20
- package/lib/cjs/duet-multiselect.cjs.entry.js +4 -4
- package/lib/cjs/duet-nav.cjs.entry.js +3 -3
- package/lib/cjs/duet-notification_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-number-input.cjs.entry.js +11 -7
- package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
- package/lib/cjs/duet-page-heading.cjs.entry.js +4 -4
- package/lib/cjs/duet-pagination_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-panel.cjs.entry.js +47 -0
- package/lib/cjs/duet-phone-input.cjs.entry.js +4 -4
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-progress.cjs.entry.js +3 -3
- package/lib/cjs/duet-promo-card.cjs.entry.js +6 -6
- package/lib/cjs/duet-radio_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +14 -14
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +4 -4
- package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
- package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-share-chart.cjs.entry.js +7 -7
- package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout-link.cjs.entry.js +7 -7
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +12 -12
- package/lib/cjs/duet-slideout.cjs.entry.js +10 -10
- package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-step_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -7
- package/lib/cjs/duet-textarea.cjs.entry.js +4 -4
- package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +8 -8
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +8 -8
- package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
- package/lib/cjs/duet-tray.cjs.entry.js +5 -5
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-cde5cb76.js → errorcodes.utils-9ce7ca99.js} +1 -1
- package/lib/cjs/{focus-utils-3b3e2586.js → focus-utils-fa11f04b.js} +1 -1
- package/lib/cjs/{index-4babbdda.js → index-3d15fb5e.js} +5 -1
- package/lib/cjs/{language-utils-83791d57.js → language-utils-eaec2648.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-c565d8b9.js → slot-utils-61317778.js} +1 -1
- package/lib/cjs/{themeable-component-a007f8ee.js → themeable-component-46222401.js} +1 -1
- package/lib/cjs/{token-utils-6258d3f7.js → token-utils-658c4c54.js} +103 -7
- package/lib/collection/collection-manifest.json +1 -0
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-banner/duet-banner.css +1 -0
- package/lib/collection/components/duet-banner/duet-banner.js +3 -3
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
- package/lib/collection/components/duet-button/duet-button.css +14 -5
- package/lib/collection/components/duet-button/duet-button.js +5 -5
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-header/duet-header.js +3 -2
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-label/duet-label.js +1 -1
- package/lib/collection/components/duet-link/duet-link.js +5 -4
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
- package/lib/collection/components/duet-modal/duet-modal.js +98 -15
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-number-input/duet-number-input.js +8 -4
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-panel/duet-panel.css +98 -0
- package/lib/collection/components/duet-panel/duet-panel.js +225 -0
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +3 -3
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-select/duet-select.js +1 -1
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-share-chart/duet-share-chart.js +2 -2
- package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
- package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
- package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
- package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
- package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
- package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
- package/lib/collection/components/duet-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload/duet-upload.js +2 -2
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/collection/utils/token-utils.js +59 -7
- package/lib/collection/utils/turva2-color-tokens.js +42 -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 +7 -7
- package/lib/dist-custom-elements/duet-breadcrumb.js +7 -7
- package/lib/dist-custom-elements/duet-breadcrumbs.js +4 -4
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +4 -4
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +4 -4
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +8 -8
- package/lib/dist-custom-elements/duet-choice.js +4 -4
- package/lib/dist-custom-elements/duet-collapsible.js +3 -3
- package/lib/dist-custom-elements/duet-combobox.js +15 -15
- package/lib/dist-custom-elements/duet-contact-card.js +10 -10
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +13 -13
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +7 -7
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
- package/lib/dist-custom-elements/duet-footer.js +7 -7
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +11 -10
- 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 +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-menu-bar-item.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-modal.js +44 -23
- package/lib/dist-custom-elements/duet-multiselect.js +9 -9
- package/lib/dist-custom-elements/duet-nav.js +2 -2
- package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
- package/lib/dist-custom-elements/duet-notification.js +4 -4
- package/lib/dist-custom-elements/duet-number-input.js +18 -14
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +5 -5
- package/lib/dist-custom-elements/duet-pagination.js +14 -14
- package/lib/dist-custom-elements/duet-panel.d.ts +11 -0
- package/lib/dist-custom-elements/duet-panel.js +70 -0
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-phone-input.js +16 -16
- package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +6 -6
- package/lib/dist-custom-elements/duet-radio-group.js +8 -8
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +2 -2
- package/lib/dist-custom-elements/duet-range-stepper.js +6 -6
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +4 -4
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +3 -3
- package/lib/dist-custom-elements/duet-share-chart-item.js +2 -2
- package/lib/dist-custom-elements/duet-share-chart.js +5 -5
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
- package/lib/dist-custom-elements/duet-slideout-link.js +4 -4
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-slideout-panel.js +9 -9
- package/lib/dist-custom-elements/duet-slideout.js +8 -8
- 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-status-icon.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +4 -4
- package/lib/dist-custom-elements/duet-stepper.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar.js +8 -8
- package/lib/dist-custom-elements/duet-tab-group.js +11 -11
- package/lib/dist-custom-elements/duet-tab.js +2 -2
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +10 -10
- package/lib/dist-custom-elements/duet-toggle.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-toolbar-item.js +5 -5
- package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar.js +3 -3
- package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +5 -5
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +22 -22
- 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-e8dc8877.js → p-05fb2c81.js} +4 -4
- package/lib/dist-custom-elements/{p-06beac61.js → p-0a34fa11.js} +2 -2
- package/lib/dist-custom-elements/{p-c1e381e3.js → p-0e0a0525.js} +3 -3
- package/lib/dist-custom-elements/{p-0c829768.js → p-10893657.js} +1 -1
- package/lib/dist-custom-elements/{p-a000e044.js → p-25f8ea4b.js} +2 -2
- package/lib/dist-custom-elements/{p-2dcb2900.js → p-3419cd58.js} +9 -9
- package/lib/dist-custom-elements/{p-ad927290.js → p-3471fa90.js} +3 -3
- package/lib/dist-custom-elements/{p-911326a0.js → p-36f6ec52.js} +2 -2
- package/lib/dist-custom-elements/{p-f7d93067.js → p-3883f329.js} +5 -5
- package/lib/dist-custom-elements/{p-b660d362.js → p-3a815628.js} +10 -10
- package/lib/dist-custom-elements/{p-ca899a3c.js → p-444e732a.js} +8 -7
- package/lib/dist-custom-elements/{p-77260ba8.js → p-499da71e.js} +103 -8
- package/lib/dist-custom-elements/{p-c7002b0e.js → p-5e16131c.js} +1 -1
- package/lib/dist-custom-elements/{p-3c558254.js → p-61b4aec9.js} +12 -12
- package/lib/dist-custom-elements/{p-67e54308.js → p-65300e85.js} +11 -11
- package/lib/dist-custom-elements/{p-16151d9e.js → p-706a9a13.js} +2 -2
- package/lib/dist-custom-elements/{p-1271d1b9.js → p-778364d6.js} +3 -3
- package/lib/dist-custom-elements/{p-13082a20.js → p-81360956.js} +2 -2
- package/lib/dist-custom-elements/{p-80bbbb3a.js → p-85f0068e.js} +5 -5
- package/lib/dist-custom-elements/{p-8c472242.js → p-92710b68.js} +1 -1
- package/lib/dist-custom-elements/{p-2e148296.js → p-96cabce8.js} +7 -7
- package/lib/dist-custom-elements/{p-276a59a3.js → p-9ac441e6.js} +4 -4
- package/lib/dist-custom-elements/{p-70b67cdd.js → p-9f715fa9.js} +4 -4
- package/lib/dist-custom-elements/{p-55c477f3.js → p-a4513f7a.js} +2 -2
- package/lib/dist-custom-elements/{p-135f668d.js → p-a69bc735.js} +1 -1
- package/lib/dist-custom-elements/{p-12884dcf.js → p-b3835995.js} +4 -4
- package/lib/dist-custom-elements/{p-cdf4b7f6.js → p-c7f33aed.js} +4 -4
- package/lib/dist-custom-elements/{p-653d2256.js → p-cc1b78ce.js} +10 -10
- package/lib/dist-custom-elements/{p-e3280064.js → p-d04e213c.js} +12 -12
- package/lib/dist-custom-elements/{p-63a0bdcd.js → p-d0bc3da2.js} +1 -1
- package/lib/dist-custom-elements/{p-aa4ebea4.js → p-d5c72ea3.js} +5 -5
- package/lib/dist-custom-elements/{p-4e53b45e.js → p-db2b09ab.js} +2 -2
- package/lib/dist-custom-elements/{p-de35873c.js → p-dc970fdb.js} +1 -1
- package/lib/dist-custom-elements/{p-46749593.js → p-e77ffc34.js} +3 -3
- package/lib/dist-custom-elements/{p-d60c7d74.js → p-e9c8ad74.js} +1 -1
- package/lib/dist-custom-elements/{p-f80dea81.js → p-ee948dc8.js} +4 -4
- package/lib/dist-custom-elements/{p-1027ea53.js → p-f290964d.js} +5 -5
- package/lib/dist-custom-elements/{p-7fd99694.js → p-f38adca4.js} +7 -7
- package/lib/dist-custom-elements/{p-2582f9a3.js → p-f3b2867a.js} +3 -3
- package/lib/dist-custom-elements/{p-be9b9c9d.js → p-f479ee47.js} +5 -5
- package/lib/dist-custom-elements/{p-47d05b62.js → p-fddb3ec1.js} +1 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-c45ddc7a.system.entry.js → p-013232a8.system.entry.js} +1 -1
- package/lib/duet/{p-8c2abe91.js → p-01fe0f34.js} +1 -1
- package/lib/duet/{p-88dda3dd.entry.js → p-063b31ef.entry.js} +1 -1
- package/lib/duet/{p-a51a1f94.system.entry.js → p-07d21021.system.entry.js} +1 -1
- package/lib/duet/p-07dd4405.system.entry.js +4 -0
- package/lib/duet/{p-9f1e07cc.entry.js → p-08f594ea.entry.js} +1 -1
- package/lib/duet/{p-ece11bcb.entry.js → p-08f64c06.entry.js} +1 -1
- package/lib/duet/{p-d0b648c5.system.entry.js → p-0bc88aac.system.entry.js} +1 -1
- package/lib/duet/{p-964cab98.entry.js → p-0c16128f.entry.js} +1 -1
- package/lib/duet/{p-71a2b27b.system.entry.js → p-0cef5003.system.entry.js} +2 -2
- package/lib/duet/{p-0990faec.system.entry.js → p-0e013c22.system.entry.js} +1 -1
- package/lib/duet/{p-0dd78a56.system.entry.js → p-0e4ff2a3.system.entry.js} +1 -1
- package/lib/duet/p-10310520.entry.js +4 -0
- package/lib/duet/{p-b5191612.system.entry.js → p-11262ef8.system.entry.js} +1 -1
- package/lib/duet/{p-24cc3a49.entry.js → p-119d8a9d.entry.js} +1 -1
- package/lib/duet/{p-9e4e3a7d.entry.js → p-11e013dd.entry.js} +1 -1
- package/lib/duet/{p-c658fdf2.system.entry.js → p-13821573.system.entry.js} +1 -1
- package/lib/duet/{p-5026ba81.system.entry.js → p-13f4076a.system.entry.js} +2 -2
- package/lib/duet/{p-7686eb1f.entry.js → p-147f5eb5.entry.js} +1 -1
- package/lib/duet/p-16e80004.entry.js +4 -0
- package/lib/duet/{p-38baa305.entry.js → p-17f215e8.entry.js} +1 -1
- package/lib/duet/{p-af3397e6.entry.js → p-18b21048.entry.js} +1 -1
- package/lib/duet/{p-d5a2f426.entry.js → p-19ad52bc.entry.js} +1 -1
- package/lib/duet/{p-ab7e07be.system.entry.js → p-1a767c08.system.entry.js} +1 -1
- package/lib/duet/{p-b094d253.entry.js → p-1c2dcb63.entry.js} +1 -1
- package/lib/duet/p-1f495ebe.entry.js +4 -0
- package/lib/duet/{p-570a2d5c.entry.js → p-20170d5a.entry.js} +1 -1
- package/lib/duet/{p-c59fbbb1.system.entry.js → p-201895ea.system.entry.js} +1 -1
- package/lib/duet/{p-3c29e0ba.entry.js → p-2162fe62.entry.js} +1 -1
- package/lib/duet/{p-526bce13.system.entry.js → p-22349ab1.system.entry.js} +1 -1
- package/lib/duet/{p-e538f43c.system.entry.js → p-22932c08.system.entry.js} +1 -1
- package/lib/duet/{p-7adab44d.system.entry.js → p-23d5c3fe.system.entry.js} +1 -1
- package/lib/duet/{p-71a70553.system.entry.js → p-2455cbff.system.entry.js} +1 -1
- package/lib/duet/{p-17029aad.entry.js → p-268d9b35.entry.js} +1 -1
- package/lib/duet/p-2a542c6a.entry.js +4 -0
- package/lib/duet/p-2a96f88a.system.entry.js +4 -0
- package/lib/duet/{p-ecb06d44.entry.js → p-2c15a77e.entry.js} +1 -1
- package/lib/duet/{p-c6c01a4f.system.entry.js → p-2d14dafa.system.entry.js} +1 -1
- package/lib/duet/p-2dd204b0.entry.js +4 -0
- package/lib/duet/{p-e4bda446.system.entry.js → p-2e58b3ab.system.entry.js} +1 -1
- package/lib/duet/{p-7761f427.system.entry.js → p-2e7454bd.system.entry.js} +1 -1
- package/lib/duet/{p-3aecf400.system.entry.js → p-2ee8e84d.system.entry.js} +1 -1
- package/lib/duet/{p-144182a4.entry.js → p-2fe381b6.entry.js} +1 -1
- package/lib/duet/{p-dd011cf1.system.entry.js → p-322c0015.system.entry.js} +2 -2
- package/lib/duet/{p-f01d0296.system.entry.js → p-344834d8.system.entry.js} +1 -1
- package/lib/duet/{p-0e4fe522.system.entry.js → p-34485370.system.entry.js} +1 -1
- package/lib/duet/{p-97393e12.system.entry.js → p-352b3557.system.entry.js} +1 -1
- package/lib/duet/{p-1fe5a7e9.js → p-378546de.js} +1 -1
- package/lib/duet/{p-5c48b80a.system.entry.js → p-38faf7e7.system.entry.js} +1 -1
- package/lib/duet/{p-20baa68b.entry.js → p-3a75e6d3.entry.js} +1 -1
- package/lib/duet/{p-c23c9c77.entry.js → p-3b9c02b1.entry.js} +1 -1
- package/lib/duet/{p-b9af2990.system.entry.js → p-413fc831.system.entry.js} +2 -2
- package/lib/duet/p-4215bd92.system.entry.js +4 -0
- package/lib/duet/p-42a0205d.entry.js +4 -0
- package/lib/duet/{p-bb71c581.entry.js → p-430ef395.entry.js} +1 -1
- package/lib/duet/p-44b3eb2c.entry.js +4 -0
- package/lib/duet/{p-4509c90e.entry.js → p-463b0d7a.entry.js} +1 -1
- package/lib/duet/{p-4ead37f9.entry.js → p-48fb5298.entry.js} +1 -1
- package/lib/duet/{p-13dce266.entry.js → p-4989501c.entry.js} +1 -1
- package/lib/duet/{p-8522541f.entry.js → p-49b696b3.entry.js} +1 -1
- package/lib/duet/{p-8da3b624.entry.js → p-49b6f9a1.entry.js} +1 -1
- package/lib/duet/{p-1be0f96f.system.entry.js → p-4a54ae2a.system.entry.js} +1 -1
- package/lib/duet/{p-d5ad1dca.system.entry.js → p-4c44b9d0.system.entry.js} +1 -1
- package/lib/duet/p-4d81e7f6.system.js +4 -0
- package/lib/duet/{p-cc22486b.system.entry.js → p-4e21f876.system.entry.js} +1 -1
- package/lib/duet/{p-baf03e8b.entry.js → p-51717f08.entry.js} +1 -1
- package/lib/duet/{p-1657ff9a.entry.js → p-51fc30ef.entry.js} +1 -1
- package/lib/duet/{p-e5716306.entry.js → p-52746f84.entry.js} +1 -1
- package/lib/duet/p-52d80d96.js +4 -0
- package/lib/duet/{p-33a9413f.system.entry.js → p-561dd467.system.entry.js} +1 -1
- package/lib/duet/p-564022f1.entry.js +4 -0
- package/lib/duet/{p-d610918e.system.entry.js → p-56bada0c.system.entry.js} +1 -1
- package/lib/duet/{p-b3f5912a.system.entry.js → p-58d8549a.system.entry.js} +1 -1
- package/lib/duet/{p-3b760329.entry.js → p-593df331.entry.js} +1 -1
- package/lib/duet/p-59777da7.system.js +4 -0
- package/lib/duet/{p-7d10302e.entry.js → p-5b583276.entry.js} +1 -1
- package/lib/duet/{p-0a72cb14.system.entry.js → p-5c271084.system.entry.js} +1 -1
- package/lib/duet/{p-328f8f18.entry.js → p-5f678caa.entry.js} +1 -1
- package/lib/duet/{p-cf5551f7.entry.js → p-628a59a6.entry.js} +1 -1
- package/lib/duet/{p-e9e59d73.entry.js → p-62cb44f1.entry.js} +1 -1
- package/lib/duet/{p-5122eee8.system.js → p-670f33d1.system.js} +1 -1
- package/lib/duet/p-6a4e23b5.entry.js +4 -0
- package/lib/duet/{p-590505a4.system.entry.js → p-6a718c27.system.entry.js} +1 -1
- package/lib/duet/{p-01965153.entry.js → p-6a900d10.entry.js} +1 -1
- package/lib/duet/p-6b99bf3d.system.js +4 -0
- package/lib/duet/{p-a8e26d38.entry.js → p-6cf2b2b8.entry.js} +1 -1
- package/lib/duet/{p-ad43bd23.system.entry.js → p-6d5e6c51.system.entry.js} +1 -1
- package/lib/duet/{p-18e13eb6.system.entry.js → p-6db869c9.system.entry.js} +1 -1
- package/lib/duet/{p-45cb4d7f.system.entry.js → p-6f46b9da.system.entry.js} +1 -1
- package/lib/duet/{p-22ae0db4.entry.js → p-704b8b7e.entry.js} +1 -1
- package/lib/duet/{p-aadd382f.system.entry.js → p-713918d1.system.entry.js} +1 -1
- package/lib/duet/{p-d4e9333f.entry.js → p-72ad70a2.entry.js} +1 -1
- package/lib/duet/{p-9eed5f82.js → p-72b4c06f.js} +1 -1
- package/lib/duet/{p-43c4d670.entry.js → p-75542e0e.entry.js} +1 -1
- package/lib/duet/{p-9faf2ac2.system.entry.js → p-75e72c46.system.entry.js} +1 -1
- package/lib/duet/{p-98feb289.system.entry.js → p-76c797cb.system.entry.js} +1 -1
- package/lib/duet/{p-0a405da0.system.entry.js → p-78024429.system.entry.js} +1 -1
- package/lib/duet/p-7856f483.entry.js +4 -0
- package/lib/duet/{p-e8059b67.system.entry.js → p-786418b7.system.entry.js} +1 -1
- package/lib/duet/{p-17ed0be9.system.entry.js → p-7a022fb4.system.entry.js} +1 -1
- package/lib/duet/{p-8e5de54a.entry.js → p-7be7fb2c.entry.js} +1 -1
- package/lib/duet/{p-c4eb60a1.system.entry.js → p-7ce8fc32.system.entry.js} +1 -1
- package/lib/duet/{p-333f7ae7.entry.js → p-7d63b0c0.entry.js} +1 -1
- package/lib/duet/{p-b5eb657a.system.js → p-7fd0a219.system.js} +1 -1
- package/lib/duet/p-82680aa5.system.js +4 -0
- package/lib/duet/{p-e762de37.entry.js → p-82733ff7.entry.js} +1 -1
- package/lib/duet/{p-3cbeb209.system.entry.js → p-834d6b2d.system.entry.js} +1 -1
- package/lib/duet/{p-7194f790.entry.js → p-83c0cfed.entry.js} +1 -1
- package/lib/duet/p-854605a6.js +4 -0
- package/lib/duet/{p-89a1d75a.js → p-8637a449.js} +1 -1
- package/lib/duet/{p-3372296f.entry.js → p-86929bf6.entry.js} +1 -1
- package/lib/duet/{p-80c89ac1.entry.js → p-86d288e5.entry.js} +1 -1
- package/lib/duet/{p-40edc180.system.entry.js → p-870a420d.system.entry.js} +1 -1
- package/lib/duet/p-89b2f873.system.js +4 -0
- package/lib/duet/{p-9004d8ff.entry.js → p-89d45610.entry.js} +1 -1
- package/lib/duet/{p-8c66abfb.system.entry.js → p-89f89a39.system.entry.js} +2 -2
- package/lib/duet/{p-7789db31.system.entry.js → p-8a9fb89c.system.entry.js} +1 -1
- package/lib/duet/p-8bb2ddda.entry.js +4 -0
- package/lib/duet/{p-8bed4283.system.entry.js → p-8cbe7888.system.entry.js} +1 -1
- package/lib/duet/{p-b6578600.system.entry.js → p-8e7af8a4.system.entry.js} +1 -1
- package/lib/duet/{p-1ca12248.entry.js → p-8edc7ed6.entry.js} +1 -1
- package/lib/duet/{p-080a85af.system.entry.js → p-8f55b49a.system.entry.js} +2 -2
- package/lib/duet/{p-05fc82b0.entry.js → p-901f7bd1.entry.js} +1 -1
- package/lib/duet/{p-61198184.system.entry.js → p-903d05d9.system.entry.js} +1 -1
- package/lib/duet/{p-bfa13cf6.entry.js → p-914292d2.entry.js} +1 -1
- package/lib/duet/{p-ecf25e2f.system.entry.js → p-91be5d76.system.entry.js} +1 -1
- package/lib/duet/{p-33ee2b28.entry.js → p-9361e0ff.entry.js} +1 -1
- package/lib/duet/{p-844d9170.entry.js → p-936f0051.entry.js} +1 -1
- package/lib/duet/{p-4421763f.entry.js → p-961dc1b6.entry.js} +1 -1
- package/lib/duet/{p-1830fafe.entry.js → p-98af4e91.entry.js} +1 -1
- package/lib/duet/p-9921468e.entry.js +4 -0
- package/lib/duet/{p-d63c92fc.system.js → p-99ffd1cf.system.js} +1 -1
- package/lib/duet/{p-03e76030.system.entry.js → p-9ae77fe6.system.entry.js} +1 -1
- package/lib/duet/{p-d1c7c87b.entry.js → p-9dc97ec5.entry.js} +1 -1
- package/lib/duet/{p-8a02bd75.system.entry.js → p-a2f05f0b.system.entry.js} +1 -1
- package/lib/duet/{p-4dd14bc1.system.entry.js → p-a8527a22.system.entry.js} +1 -1
- package/lib/duet/{p-7930882f.entry.js → p-aaa700a4.entry.js} +1 -1
- package/lib/duet/{p-5c01b990.entry.js → p-ac643c4d.entry.js} +1 -1
- package/lib/duet/p-adcfa80c.system.entry.js +4 -0
- package/lib/duet/{p-442cac9c.entry.js → p-af4c5e2b.entry.js} +1 -1
- package/lib/duet/{p-04e49b2e.system.entry.js → p-b083c7df.system.entry.js} +1 -1
- package/lib/duet/p-b1b64718.system.entry.js +4 -0
- package/lib/duet/{p-f6ada3f6.entry.js → p-b4018154.entry.js} +1 -1
- package/lib/duet/{p-a03fcf76.system.js → p-b65f6339.system.js} +1 -1
- package/lib/duet/{p-f7a30994.system.entry.js → p-b728fce7.system.entry.js} +1 -1
- package/lib/duet/p-b84841d7.js +4 -0
- package/lib/duet/{p-bffda5ab.entry.js → p-baaa9e94.entry.js} +1 -1
- package/lib/duet/{p-1390ae19.entry.js → p-be26ac3a.entry.js} +1 -1
- package/lib/duet/{p-73666dbd.entry.js → p-c0020521.entry.js} +1 -1
- package/lib/duet/p-c157389b.system.entry.js +4 -0
- package/lib/duet/{p-d977fe38.system.entry.js → p-c371758a.system.entry.js} +1 -1
- package/lib/duet/{p-85167dd4.entry.js → p-c4e34a8e.entry.js} +1 -1
- package/lib/duet/{p-9c201da2.entry.js → p-c60c40a2.entry.js} +1 -1
- package/lib/duet/{p-f740cd96.entry.js → p-c70b52b6.entry.js} +1 -1
- package/lib/duet/{p-8b350472.system.entry.js → p-c9751b3c.system.entry.js} +1 -1
- package/lib/duet/{p-25bfda5f.system.entry.js → p-cb279bed.system.entry.js} +1 -1
- package/lib/duet/{p-14f51a29.entry.js → p-cd27da84.entry.js} +1 -1
- package/lib/duet/p-cff34f13.entry.js +4 -0
- package/lib/duet/{p-60ef6c46.system.entry.js → p-d06d2098.system.entry.js} +1 -1
- package/lib/duet/{p-e124ed8c.system.entry.js → p-d3e245f0.system.entry.js} +1 -1
- package/lib/duet/{p-68d50809.system.entry.js → p-d6368121.system.entry.js} +1 -1
- package/lib/duet/{p-c6e60d08.system.entry.js → p-d647ef97.system.entry.js} +1 -1
- package/lib/duet/{p-2fe6628e.system.entry.js → p-d6a2cc77.system.entry.js} +1 -1
- package/lib/duet/{p-3cd37502.entry.js → p-d6afc825.entry.js} +1 -1
- package/lib/duet/{p-41a3f8ed.entry.js → p-d8fadd2d.entry.js} +1 -1
- package/lib/duet/{p-7d050716.system.entry.js → p-dc3646e2.system.entry.js} +1 -1
- package/lib/duet/p-e63f5ff5.js +4 -0
- package/lib/duet/{p-5aeec4ac.system.entry.js → p-e6f40951.system.entry.js} +1 -1
- package/lib/duet/p-e70fad83.entry.js +4 -0
- package/lib/duet/{p-077813ae.entry.js → p-e8777cf4.entry.js} +1 -1
- package/lib/duet/{p-22f40c48.system.entry.js → p-eb237688.system.entry.js} +1 -1
- package/lib/duet/p-eb7b2984.system.entry.js +4 -0
- package/lib/duet/{p-f482b5af.system.entry.js → p-ebb0b51d.system.entry.js} +1 -1
- package/lib/duet/{p-85696a8e.entry.js → p-ec22154d.entry.js} +1 -1
- package/lib/duet/{p-f78b9d60.system.js → p-ed810e76.system.js} +1 -1
- package/lib/duet/{p-618a0f3a.entry.js → p-edb65a28.entry.js} +1 -1
- package/lib/duet/{p-024c34d9.system.entry.js → p-f1beb947.system.entry.js} +1 -1
- package/lib/duet/{p-5a1dbce7.system.entry.js → p-f3587718.system.entry.js} +1 -1
- package/lib/duet/{p-a04ebea2.system.entry.js → p-f58cbc59.system.entry.js} +1 -1
- package/lib/duet/{p-3c438fec.entry.js → p-f7b6fecb.entry.js} +1 -1
- package/lib/duet/{p-808d9dc7.system.entry.js → p-f835eb92.system.entry.js} +2 -2
- package/lib/duet/p-f89feeb2.entry.js +4 -0
- package/lib/duet/{p-bc44defc.system.entry.js → p-f947b5c5.system.entry.js} +1 -1
- package/lib/duet/{p-1425b59f.entry.js → p-f9b9fbf5.entry.js} +1 -1
- package/lib/duet/{p-e2e84fa3.system.entry.js → p-fae74a37.system.entry.js} +1 -1
- package/lib/duet/{p-35d651a8.system.entry.js → p-fb9c9879.system.entry.js} +1 -1
- package/lib/duet/{p-e5f1e38a.js → p-fbc59efc.js} +1 -1
- package/lib/duet/{p-0aaac3fd.system.entry.js → p-fe9adf7c.system.entry.js} +1 -1
- package/lib/duet/{p-02aca5ee.system.entry.js → p-ff97f8e4.system.entry.js} +1 -1
- package/lib/esm/{a11y-utils-d44f1172.js → a11y-utils-87967050.js} +1 -1
- package/lib/esm/{app-globals-5ec0d260.js → app-globals-db5be99e.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +4 -4
- package/lib/esm/duet-alert.entry.js +4 -4
- package/lib/esm/duet-badge.entry.js +4 -4
- package/lib/esm/duet-banner.entry.js +7 -7
- package/lib/esm/duet-breadcrumb.entry.js +7 -7
- package/lib/esm/duet-breadcrumbs.entry.js +6 -6
- package/lib/esm/duet-button_2.entry.js +12 -12
- package/lib/esm/duet-callout.entry.js +5 -5
- package/lib/esm/duet-caption_4.entry.js +13 -12
- package/lib/esm/duet-card.entry.js +4 -4
- package/lib/esm/duet-checkbox.entry.js +2 -2
- package/lib/esm/duet-checkmark.entry.js +4 -4
- package/lib/esm/duet-chip.entry.js +3 -3
- package/lib/esm/duet-choice_2.entry.js +4 -4
- package/lib/esm/duet-collapsible.entry.js +3 -3
- package/lib/esm/duet-combobox.entry.js +4 -4
- package/lib/esm/duet-contact-card.entry.js +5 -5
- package/lib/esm/duet-cookie-consent.entry.js +2 -2
- package/lib/esm/duet-date-picker.entry.js +5 -5
- package/lib/esm/duet-divider_2.entry.js +4 -4
- package/lib/esm/duet-editable-table_3.entry.js +9 -9
- package/lib/esm/duet-empty-state.entry.js +2 -2
- package/lib/esm/duet-fieldset.entry.js +6 -6
- package/lib/esm/duet-file-chooser.entry.js +2 -2
- package/lib/esm/duet-footer.entry.js +4 -4
- package/lib/esm/duet-grid_2.entry.js +2 -2
- package/lib/esm/duet-header_2.entry.js +6 -5
- package/lib/esm/duet-hero.entry.js +4 -4
- package/lib/esm/duet-icon.entry.js +6 -6
- package/lib/esm/duet-input_2.entry.js +6 -6
- package/lib/esm/duet-layout.entry.js +2 -2
- package/lib/esm/duet-list_2.entry.js +4 -4
- package/lib/esm/duet-menu-bar-button.entry.js +4 -4
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
- package/lib/esm/duet-menu-bar-item.entry.js +7 -7
- package/lib/esm/duet-menu-bar-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar.entry.js +3 -3
- package/lib/esm/duet-modal.entry.js +39 -20
- package/lib/esm/duet-multiselect.entry.js +4 -4
- package/lib/esm/duet-nav.entry.js +3 -3
- package/lib/esm/duet-notification_2.entry.js +5 -5
- package/lib/esm/duet-number-input.entry.js +11 -7
- package/lib/esm/duet-overlay.entry.js +2 -2
- package/lib/esm/duet-page-heading.entry.js +4 -4
- package/lib/esm/duet-pagination_2.entry.js +6 -6
- package/lib/esm/duet-panel.entry.js +43 -0
- package/lib/esm/duet-phone-input.entry.js +4 -4
- package/lib/esm/duet-popup-menu_2.entry.js +6 -6
- package/lib/esm/duet-progress.entry.js +3 -3
- package/lib/esm/duet-promo-card.entry.js +6 -6
- package/lib/esm/duet-radio_2.entry.js +3 -3
- package/lib/esm/duet-range-slider.entry.js +2 -2
- package/lib/esm/duet-scrollable_3.entry.js +14 -14
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +4 -4
- package/lib/esm/duet-shaped-image.entry.js +4 -4
- package/lib/esm/duet-share-chart-item.entry.js +2 -2
- package/lib/esm/duet-share-chart.entry.js +7 -7
- package/lib/esm/duet-show-more.entry.js +5 -5
- package/lib/esm/duet-slideout-lang.entry.js +4 -4
- package/lib/esm/duet-slideout-link.entry.js +7 -7
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -6
- package/lib/esm/duet-slideout-panel.entry.js +12 -12
- package/lib/esm/duet-slideout.entry.js +10 -10
- package/lib/esm/duet-status-icon.entry.js +3 -3
- package/lib/esm/duet-step_2.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +6 -6
- package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
- package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar.entry.js +7 -7
- package/lib/esm/duet-textarea.entry.js +4 -4
- package/lib/esm/duet-toggle.entry.js +2 -2
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
- package/lib/esm/duet-toolbar-item.entry.js +8 -8
- package/lib/esm/duet-toolbar-link.entry.js +4 -4
- package/lib/esm/duet-toolbar.entry.js +4 -4
- package/lib/esm/duet-tooltip-button_2.entry.js +8 -8
- package/lib/esm/duet-tooltip.entry.js +3 -3
- package/lib/esm/duet-tray.entry.js +5 -5
- package/lib/esm/duet-upload-aria-status.entry.js +2 -2
- package/lib/esm/duet-upload-item.entry.js +6 -6
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-4ce3105d.js → errorcodes.utils-f17cc5a4.js} +1 -1
- package/lib/esm/{focus-utils-0d727936.js → focus-utils-28046c5d.js} +1 -1
- package/lib/esm/{index-5757a151.js → index-04630419.js} +5 -1
- package/lib/esm/{language-utils-1aea3619.js → language-utils-7caf2c7c.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-03502471.js → slot-utils-e3cda10f.js} +1 -1
- package/lib/esm/{themeable-component-e507940b.js → themeable-component-ddf67193.js} +1 -1
- package/lib/esm/{token-utils-7360bb84.js → token-utils-06ae5c10.js} +103 -8
- package/lib/esm-es5/{a11y-utils-d44f1172.js → a11y-utils-87967050.js} +1 -1
- package/lib/esm-es5/{app-globals-5ec0d260.js → app-globals-db5be99e.js} +1 -1
- 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 +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +2 -2
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-overlay.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-panel.entry.js +4 -0
- package/lib/esm-es5/duet-phone-input.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu_2.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +2 -2
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-share-chart-item.entry.js +1 -1
- package/lib/esm-es5/duet-share-chart.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +1 -1
- package/lib/esm-es5/duet-status-icon.entry.js +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +1 -1
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{errorcodes.utils-4ce3105d.js → errorcodes.utils-f17cc5a4.js} +1 -1
- package/lib/esm-es5/{focus-utils-0d727936.js → focus-utils-28046c5d.js} +1 -1
- package/lib/esm-es5/index-04630419.js +4 -0
- package/lib/esm-es5/{language-utils-1aea3619.js → language-utils-7caf2c7c.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-03502471.js → slot-utils-e3cda10f.js} +1 -1
- package/lib/esm-es5/{themeable-component-e507940b.js → themeable-component-ddf67193.js} +1 -1
- package/lib/esm-es5/token-utils-06ae5c10.js +4 -0
- package/lib/types/components/duet-modal/duet-modal.d.ts +17 -1
- package/lib/types/components/duet-number-input/duet-number-input.d.ts +3 -1
- package/lib/types/components/duet-panel/duet-panel.d.ts +47 -0
- package/lib/types/components.d.ts +103 -4
- package/lib/types/utils/token-utils.d.ts +4 -0
- package/lib/types/utils/turva2-color-tokens.d.ts +39 -0
- package/package.json +4 -4
- package/lib/duet/p-0e1d879e.system.js +0 -4
- package/lib/duet/p-1b355115.entry.js +0 -4
- package/lib/duet/p-20669a1b.system.entry.js +0 -4
- package/lib/duet/p-2519a1b2.entry.js +0 -4
- package/lib/duet/p-2d6cd3b0.system.entry.js +0 -4
- package/lib/duet/p-3c2cf893.system.entry.js +0 -4
- package/lib/duet/p-3ea64651.entry.js +0 -4
- package/lib/duet/p-435ed67f.entry.js +0 -4
- package/lib/duet/p-473febb8.entry.js +0 -4
- package/lib/duet/p-4cae058e.entry.js +0 -4
- package/lib/duet/p-519fef05.system.js +0 -4
- package/lib/duet/p-5de30279.js +0 -4
- package/lib/duet/p-62ba7ee2.entry.js +0 -4
- package/lib/duet/p-63a67247.js +0 -4
- package/lib/duet/p-662c351a.system.js +0 -4
- package/lib/duet/p-78033ea5.js +0 -4
- package/lib/duet/p-79562f98.entry.js +0 -4
- package/lib/duet/p-836bee60.system.entry.js +0 -4
- package/lib/duet/p-8975b5ee.entry.js +0 -4
- package/lib/duet/p-8c1442ff.entry.js +0 -4
- package/lib/duet/p-9508ee67.system.js +0 -4
- package/lib/duet/p-9608ad22.system.js +0 -4
- package/lib/duet/p-9615338f.system.entry.js +0 -4
- package/lib/duet/p-a41a83dc.system.entry.js +0 -4
- package/lib/duet/p-b036d747.entry.js +0 -4
- package/lib/duet/p-b16705db.js +0 -4
- package/lib/duet/p-b5cb52b3.entry.js +0 -4
- package/lib/duet/p-d87768a3.entry.js +0 -4
- package/lib/duet/p-f38adc18.entry.js +0 -4
- package/lib/esm-es5/index-5757a151.js +0 -4
- package/lib/esm-es5/token-utils-7360bb84.js +0 -4
|
@@ -24,7 +24,7 @@ export class DuetNav {
|
|
|
24
24
|
* Always the last one in the class.
|
|
25
25
|
*/
|
|
26
26
|
render() {
|
|
27
|
-
return (h(Host, { key: '
|
|
27
|
+
return (h(Host, { key: '1bd9e1c748e898763d70850e3e7995557aa70828' }, h("div", { key: '256c0acc4e956aea59eb153bc7b3bad1126501f3', class: { container: true, sticky: this.sticky } }, h("slot", { key: '64f9a6096d183ce0cbd496db4dcee65d565e15b9' }), h("slot", { key: 'b0f455061d1e7d8affab734c72b8479239184b0b', name: "mobile" }), h("slot", { key: 'dce4933ac2f67107843c4121100f7adae7a3b72f', name: "desktop" }))));
|
|
28
28
|
}
|
|
29
29
|
static get is() { return "duet-nav"; }
|
|
30
30
|
static get encapsulation() { return "shadow"; }
|
|
@@ -43,11 +43,11 @@ export class DuetNotification {
|
|
|
43
43
|
this.linkElement.focus(options);
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return (h("div", { key: '
|
|
46
|
+
return (h("div", { key: '49b14512d29db67c3f5bcb27f101a51fc9036fd0', role: "listitem", class: {
|
|
47
47
|
"duet-notification": true,
|
|
48
48
|
"duet-notification-highlight": this.highlight,
|
|
49
49
|
"duet-theme-turva": this.theme === "turva",
|
|
50
|
-
} }, h("a", { key: '
|
|
50
|
+
} }, h("a", { key: '6f042207812b140e4527347593e928cc3493af31', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, h("div", { key: '2d479ec70393a50322b0ed54f2807c222dc13a1a', class: "duet-notification-container" }, h("div", { key: 'ee94c09c0cd7087c3a9012938ff8ca45d2c3a2ad', class: "duet-notification-badge-container" }, this.highlight && (h("div", { key: '12c75cc56f374dbb3219009ed71e3133c2f1f490', class: "duet-notification-badge" }, h("duet-visually-hidden", { key: '63608edd5d1768c8a2963273ecaa2cf51ddf3e20' }, this.accessibleLabelUnread, ":")))), h("div", { key: '6ec5105d17c74d1cf8b29e08c5488cc14cd41377', class: "duet-notification-content" }, h("slot", { key: '9aa83e4b79fa59c4336ec10f0b3c2ba69e26b5ec' })), h("div", { key: 'cf580f03e32ff454941cf973497fe4a97066fa5d', class: "duet-notification-date" }, this.date)))));
|
|
51
51
|
}
|
|
52
52
|
static get is() { return "duet-notification"; }
|
|
53
53
|
static get encapsulation() { return "shadow"; }
|
|
@@ -129,7 +129,7 @@ export class DuetNumberInput {
|
|
|
129
129
|
// Set the localized prop value.
|
|
130
130
|
this.value = this.localizeValue(value);
|
|
131
131
|
// Finally also set the visible input value and unit.
|
|
132
|
-
this.duetInputElement.value = `${this.value}
|
|
132
|
+
this.duetInputElement.value = `${this.value}${this.getUnitString()}`;
|
|
133
133
|
};
|
|
134
134
|
this.add = (ev) => {
|
|
135
135
|
// If this was called via a html button, prevent the default functionality
|
|
@@ -276,6 +276,10 @@ export class DuetNumberInput {
|
|
|
276
276
|
this.emitNull(ev);
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
|
+
// prefix existing unit with white space or return empty string if no unit
|
|
280
|
+
getUnitString() {
|
|
281
|
+
return this.unit ? ` ${this.unit}` : "";
|
|
282
|
+
}
|
|
279
283
|
formatAnnouncement() {
|
|
280
284
|
const current = !!this.value ? SafeParseFloat(this.value, this.locale) : null;
|
|
281
285
|
if (current == null) {
|
|
@@ -292,13 +296,13 @@ export class DuetNumberInput {
|
|
|
292
296
|
return;
|
|
293
297
|
}
|
|
294
298
|
const identifier = this.identifier || this.inputId;
|
|
295
|
-
const maxlength = `${this.localizeValue(this.max)}
|
|
299
|
+
const maxlength = `${this.localizeValue(this.max)}${this.getUnitString()}`.length;
|
|
296
300
|
const cleanedValue = !!this.value ? SafeParseFloat(this.value, this.locale) : null;
|
|
297
301
|
return (h(Host, { class: {
|
|
298
302
|
"duet-theme-turva": this.theme === "turva",
|
|
299
303
|
"duet-expand": this.expand,
|
|
300
304
|
"duet-m-0": this.margin === "none",
|
|
301
|
-
} }, h("div", { class: "duet-number-container" }, h("duet-input", { ref: input => (this.duetInputElement = input), onDuetChange: event => this.handleChange(event), onDuetFocus: this.handleFocus, onDuetBlur: event => this.handleBlur(event), onKeyDown: event => this.handleKeyDown(event), label: this.label, value: this.value ? `${this.value}
|
|
305
|
+
} }, h("div", { class: "duet-number-container" }, h("duet-input", { ref: input => (this.duetInputElement = input), onDuetChange: event => this.handleChange(event), onDuetFocus: this.handleFocus, onDuetBlur: event => this.handleBlur(event), onKeyDown: event => this.handleKeyDown(event), label: this.label, value: this.value ? `${this.value}${this.getUnitString()}` : "", error: this.error, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": cleanedValue != null ? cleanedValue : "", maxlength: maxlength, name: this.name, component: "number", required: this.required, disabled: this.disabled, role: this.role, labelHidden: this.labelHidden, tooltip: this.tooltip, identifier: identifier, theme: this.theme, margin: "none", expand: true, numericKeyboard: true, autoComplete: "off", type: "text", accessibleActiveDescendant: this.accessibleActiveDescendant, accessibleLabelledBy: this.accessibleLabelledBy, accessibleDescription: this.accessibleDescription, accessibleDetails: this.accessibleDetails, accessibleControls: this.accessibleControls, accessibleOwns: this.accessibleOwns, accessibleDescribedBy: this.accessibleDescribedBy }, h("slot", { name: "tooltip" }), h("div", { class: { "duet-number-buttons": true, "duet-no-label": this.labelHidden } }, h("button", { "aria-controls": identifier, disabled: this.disabled, "aria-disabled": cleanedValue == null || cleanedValue === this.min ? "true" : "false", class: "duet-number-button duet-number-button-subtract", onClick: this.subtract, type: "button" }, h("duet-visually-hidden", null, this.accessibleSubtract, " ", this.step), h("duet-icon", { icon: subtractIcon.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })), h("button", { "aria-controls": identifier, disabled: this.disabled, "aria-disabled": cleanedValue === this.max ? "true" : "false", class: "duet-number-button duet-number-button-add", onClick: this.add, type: "button" }, h("duet-visually-hidden", null, this.accessibleAdd, " ", this.step), h("duet-icon", { icon: addIcon.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })))), this.accessibleLiveEnabled && (h("duet-visually-hidden", { "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement())))));
|
|
302
306
|
}
|
|
303
307
|
static get is() { return "duet-number-input"; }
|
|
304
308
|
static get encapsulation() { return "scoped"; }
|
|
@@ -572,7 +576,7 @@ export class DuetNumberInput {
|
|
|
572
576
|
"name": "default",
|
|
573
577
|
"text": "{fi: \"{current} euroa valittuna\", en: \"{current} euros selected\", sv: \"{current} valda euro\"}"
|
|
574
578
|
}],
|
|
575
|
-
"text": "Format of message used to announce current amount when switching between amounts.\nThe string {current} is replaced with the current amount."
|
|
579
|
+
"text": "Format of message used to announce current amount when switching between amounts. Note that the default has \"euros\"\nso if you use another unit is is essential you set this attribute to reflect that unit.\nThe string {current} is replaced with the current amount."
|
|
576
580
|
},
|
|
577
581
|
"getter": false,
|
|
578
582
|
"setter": false,
|
|
@@ -35,12 +35,12 @@ export class DuetPageHeading {
|
|
|
35
35
|
*/
|
|
36
36
|
render() {
|
|
37
37
|
const layout = this.layout === "narrow" ? "narrow" : this.layout === "fluid" ? "fluid" : "auto";
|
|
38
|
-
return (h("div", { key: '
|
|
38
|
+
return (h("div", { key: 'a7f8ed31eea2471a6f6daeab1a41ebbf3274974a', class: {
|
|
39
39
|
"duet-page-heading": true,
|
|
40
40
|
"duet-theme-turva": this.theme === "turva",
|
|
41
41
|
"has-icon": !!this.icon,
|
|
42
42
|
[layout]: true,
|
|
43
|
-
} }, h("div", { key: '
|
|
43
|
+
} }, h("div", { key: '29929daebf61d58c95ecb45ea75fe53303cd90c6', class: "background" }, this.theme === "turva" && h("div", { key: '8e16ccbc29987d20713eefb78f1272640023cd19', class: "background-mask" }), this.theme !== "turva" && h("div", { key: 'c853c2efb26521b9421413e85e6f468d411fa016', class: "brand-shape" }), this.theme !== "turva" && h("div", { key: 'd3a2d96868a56e251bace2d82ad6c9ad55294794', class: "brand-shape second-shape" }), this.icon && (h("div", { key: '3b4627a7ed9f38878dc057717df1b3dcef713963', class: "brand-shaped-icon" }, h("duet-icon", { key: 'b2489267d519d737b77fd292f21fb828553f7c3b', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), h("div", { key: 'bfc316227a81b1ae3b600c0fa8a5ea7242523dcc', class: "heading" }, h("slot", { key: '8e0397609bafb4de4ef85422f6397ded1ec15039', name: "heading" }), this.progressCurrentStep && this.progressTotalSteps && (h("div", { key: '337621f9ecdc98a53fa649fdc7e001985577ac7a' }, h("duet-spacer", { key: 'e548da55d72cce0c0fa88ce29bac93184673d1e2', size: "large" }), h("div", { key: '1b6d8f3e486a69add538d4a5f786944521a8906f', role: "presentation" }, this.progressIndicator()))))));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "duet-page-heading"; }
|
|
46
46
|
static get encapsulation() { return "shadow"; }
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
padding: 0;
|
|
4
|
+
margin: 0;
|
|
5
|
+
background: transparent;
|
|
6
|
+
border: 0;
|
|
7
|
+
-moz-appearance: none;
|
|
8
|
+
-webkit-appearance: none;
|
|
9
|
+
appearance: none;
|
|
10
|
+
position: relative;
|
|
11
|
+
display: block;
|
|
12
|
+
width: 100%;
|
|
13
|
+
margin: 8px 0 20px 0;
|
|
14
|
+
}
|
|
15
|
+
@media (min-width: 36em) {
|
|
16
|
+
:host {
|
|
17
|
+
margin: 12px 0 28px 0;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
:host .duet-m-0 {
|
|
21
|
+
margin: 0 !important;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.duet-panel {
|
|
25
|
+
font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
26
|
+
color: rgb(8, 42, 77);
|
|
27
|
+
background-color: rgb(255, 255, 255);
|
|
28
|
+
border: 0 solid rgb(212, 223, 229);
|
|
29
|
+
border-radius: 16px;
|
|
30
|
+
}
|
|
31
|
+
.duet-panel.duet-theme-turva {
|
|
32
|
+
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
33
|
+
color: rgb(23, 28, 58);
|
|
34
|
+
border-color: rgb(222, 224, 228);
|
|
35
|
+
}
|
|
36
|
+
.duet-panel.padding-small {
|
|
37
|
+
padding: 16px;
|
|
38
|
+
border-radius: 12px;
|
|
39
|
+
}
|
|
40
|
+
@media (min-width: 36em) {
|
|
41
|
+
.duet-panel.padding-small {
|
|
42
|
+
padding: 20px;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
.duet-panel.padding-medium {
|
|
46
|
+
padding: 20px;
|
|
47
|
+
}
|
|
48
|
+
@media (min-width: 36em) {
|
|
49
|
+
.duet-panel.padding-medium {
|
|
50
|
+
padding: 28px;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
.duet-panel.padding-large {
|
|
54
|
+
padding: 28px;
|
|
55
|
+
}
|
|
56
|
+
@media (min-width: 36em) {
|
|
57
|
+
.duet-panel.padding-large {
|
|
58
|
+
padding: 36px;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
.duet-panel.border {
|
|
62
|
+
border-width: 1px;
|
|
63
|
+
}
|
|
64
|
+
.duet-panel.secondary {
|
|
65
|
+
background-color: rgb(245, 248, 250);
|
|
66
|
+
}
|
|
67
|
+
.duet-panel.secondary.duet-theme-turva {
|
|
68
|
+
background-color: rgb(245, 247, 250);
|
|
69
|
+
}
|
|
70
|
+
.duet-panel.accent {
|
|
71
|
+
background-color: rgb(240, 247, 250);
|
|
72
|
+
border-color: rgb(198, 225, 238);
|
|
73
|
+
}
|
|
74
|
+
.duet-panel.accent.duet-theme-turva {
|
|
75
|
+
background-color: rgb(245, 247, 250);
|
|
76
|
+
border-color: rgb(199, 202, 207);
|
|
77
|
+
}
|
|
78
|
+
.duet-panel.accent.secondary {
|
|
79
|
+
background-color: rgb(217, 236, 245);
|
|
80
|
+
}
|
|
81
|
+
.duet-panel.accent.secondary.duet-theme-turva {
|
|
82
|
+
background-color: rgb(222, 224, 228);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
:host(.duet-theme-turva2) .duet-panel.duet-theme-turva {
|
|
86
|
+
color: #172a3b;
|
|
87
|
+
border-color: #d4dde2;
|
|
88
|
+
}
|
|
89
|
+
:host(.duet-theme-turva2) .duet-panel.duet-theme-turva.secondary {
|
|
90
|
+
background-color: #f5f6f7;
|
|
91
|
+
}
|
|
92
|
+
:host(.duet-theme-turva2) .duet-panel.duet-theme-turva.accent {
|
|
93
|
+
background-color: #fdf7f2;
|
|
94
|
+
border-color: #f1cab2;
|
|
95
|
+
}
|
|
96
|
+
:host(.duet-theme-turva2) .duet-panel.duet-theme-turva.accent.secondary {
|
|
97
|
+
background-color: #fbe1d1;
|
|
98
|
+
}
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { h, Host } from "@stencil/core";
|
|
5
|
+
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
6
|
+
export class DuetPanel {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.theme = "";
|
|
9
|
+
this.padding = "medium";
|
|
10
|
+
this.variation = "";
|
|
11
|
+
this.margin = "auto";
|
|
12
|
+
this.border = undefined;
|
|
13
|
+
this.accessibleLabel = undefined;
|
|
14
|
+
this.accessibleLabelledBy = undefined;
|
|
15
|
+
this.accessibleDescribedBy = undefined;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Component lifecycle events.
|
|
19
|
+
*/
|
|
20
|
+
componentWillLoad() {
|
|
21
|
+
inheritGlobalTheme(this);
|
|
22
|
+
}
|
|
23
|
+
render() {
|
|
24
|
+
return (h(Host, { key: '13228863e0bd8364a1624863047eecc22101529e' }, h("section", { key: '0548dea2315bd39b2f55b3796ebb9f7c0d29240c', "aria-label": this.accessibleLabel, "aria-labelledby": this.accessibleLabelledBy, "aria-describedby": this.accessibleDescribedBy, class: {
|
|
25
|
+
"duet-panel": true,
|
|
26
|
+
"duet-theme-turva": this.theme === "turva",
|
|
27
|
+
[this.variation.split("-")[0]]: true,
|
|
28
|
+
[this.variation.split("-")[1]]: true,
|
|
29
|
+
[`padding-${this.padding}`]: true,
|
|
30
|
+
border: this.border,
|
|
31
|
+
"duet-m-0": this.margin === "none",
|
|
32
|
+
} }, h("slot", { key: 'f83407ac8d792c512b5df894f066adefa37bf3a4' }))));
|
|
33
|
+
}
|
|
34
|
+
static get is() { return "duet-panel"; }
|
|
35
|
+
static get encapsulation() { return "shadow"; }
|
|
36
|
+
static get originalStyleUrls() {
|
|
37
|
+
return {
|
|
38
|
+
"$": ["duet-panel.scss"]
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
static get styleUrls() {
|
|
42
|
+
return {
|
|
43
|
+
"$": ["duet-panel.css"]
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
static get properties() {
|
|
47
|
+
return {
|
|
48
|
+
"theme": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"mutable": true,
|
|
51
|
+
"complexType": {
|
|
52
|
+
"original": "DuetTheme",
|
|
53
|
+
"resolved": "\"\" | \"default\" | \"turva\"",
|
|
54
|
+
"references": {
|
|
55
|
+
"DuetTheme": {
|
|
56
|
+
"location": "import",
|
|
57
|
+
"path": "../../common-types",
|
|
58
|
+
"id": "src/common-types.d.ts::DuetTheme"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"required": false,
|
|
63
|
+
"optional": false,
|
|
64
|
+
"docs": {
|
|
65
|
+
"tags": [],
|
|
66
|
+
"text": "Theme of the panel."
|
|
67
|
+
},
|
|
68
|
+
"getter": false,
|
|
69
|
+
"setter": false,
|
|
70
|
+
"attribute": "theme",
|
|
71
|
+
"reflect": false,
|
|
72
|
+
"defaultValue": "\"\""
|
|
73
|
+
},
|
|
74
|
+
"padding": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"mutable": false,
|
|
77
|
+
"complexType": {
|
|
78
|
+
"original": "\"small\" | \"medium\" | \"large\"",
|
|
79
|
+
"resolved": "\"large\" | \"medium\" | \"small\"",
|
|
80
|
+
"references": {}
|
|
81
|
+
},
|
|
82
|
+
"required": false,
|
|
83
|
+
"optional": false,
|
|
84
|
+
"docs": {
|
|
85
|
+
"tags": [],
|
|
86
|
+
"text": "Controls the padding of the component. Padding is automatically responsive."
|
|
87
|
+
},
|
|
88
|
+
"getter": false,
|
|
89
|
+
"setter": false,
|
|
90
|
+
"attribute": "padding",
|
|
91
|
+
"reflect": false,
|
|
92
|
+
"defaultValue": "\"medium\""
|
|
93
|
+
},
|
|
94
|
+
"variation": {
|
|
95
|
+
"type": "string",
|
|
96
|
+
"mutable": false,
|
|
97
|
+
"complexType": {
|
|
98
|
+
"original": "DuetPanelVariation",
|
|
99
|
+
"resolved": "\"\" | \"accent\" | \"accent-primary\" | \"accent-secondary\" | \"default\" | \"default-primary\" | \"default-secondary\" | \"primary\" | \"primary-accent\" | \"primary-default\" | \"secondary\" | \"secondary-accent\" | \"secondary-default\"",
|
|
100
|
+
"references": {
|
|
101
|
+
"DuetPanelVariation": {
|
|
102
|
+
"location": "local",
|
|
103
|
+
"path": "/Users/juha-matti.laaksonen/duetds/packages/components/src/components/duet-panel/duet-panel.tsx",
|
|
104
|
+
"id": "src/components/duet-panel/duet-panel.tsx::DuetPanelVariation"
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"required": false,
|
|
109
|
+
"optional": false,
|
|
110
|
+
"docs": {
|
|
111
|
+
"tags": [],
|
|
112
|
+
"text": "The color variation of the panel. Combination of palette (\"default\", \"accent\") and palette variation (\"primary\",\n\"secondary\"). You can ommit \"default\" and \"primary\" - they are the defaults."
|
|
113
|
+
},
|
|
114
|
+
"getter": false,
|
|
115
|
+
"setter": false,
|
|
116
|
+
"attribute": "variation",
|
|
117
|
+
"reflect": false,
|
|
118
|
+
"defaultValue": "\"\""
|
|
119
|
+
},
|
|
120
|
+
"margin": {
|
|
121
|
+
"type": "string",
|
|
122
|
+
"mutable": false,
|
|
123
|
+
"complexType": {
|
|
124
|
+
"original": "DuetMargin",
|
|
125
|
+
"resolved": "\"auto\" | \"none\"",
|
|
126
|
+
"references": {
|
|
127
|
+
"DuetMargin": {
|
|
128
|
+
"location": "import",
|
|
129
|
+
"path": "../../common-types",
|
|
130
|
+
"id": "src/common-types.d.ts::DuetMargin"
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
"required": false,
|
|
135
|
+
"optional": false,
|
|
136
|
+
"docs": {
|
|
137
|
+
"tags": [],
|
|
138
|
+
"text": "Controls the margin of the component."
|
|
139
|
+
},
|
|
140
|
+
"getter": false,
|
|
141
|
+
"setter": false,
|
|
142
|
+
"attribute": "margin",
|
|
143
|
+
"reflect": false,
|
|
144
|
+
"defaultValue": "\"auto\""
|
|
145
|
+
},
|
|
146
|
+
"border": {
|
|
147
|
+
"type": "boolean",
|
|
148
|
+
"mutable": false,
|
|
149
|
+
"complexType": {
|
|
150
|
+
"original": "boolean",
|
|
151
|
+
"resolved": "boolean",
|
|
152
|
+
"references": {}
|
|
153
|
+
},
|
|
154
|
+
"required": false,
|
|
155
|
+
"optional": false,
|
|
156
|
+
"docs": {
|
|
157
|
+
"tags": [],
|
|
158
|
+
"text": "Set this attribute to draw a border around the panel."
|
|
159
|
+
},
|
|
160
|
+
"getter": false,
|
|
161
|
+
"setter": false,
|
|
162
|
+
"attribute": "border",
|
|
163
|
+
"reflect": false
|
|
164
|
+
},
|
|
165
|
+
"accessibleLabel": {
|
|
166
|
+
"type": "string",
|
|
167
|
+
"mutable": false,
|
|
168
|
+
"complexType": {
|
|
169
|
+
"original": "string",
|
|
170
|
+
"resolved": "string",
|
|
171
|
+
"references": {}
|
|
172
|
+
},
|
|
173
|
+
"required": false,
|
|
174
|
+
"optional": false,
|
|
175
|
+
"docs": {
|
|
176
|
+
"tags": [],
|
|
177
|
+
"text": "Adds accessible label for the panel that is only shown for screen readers."
|
|
178
|
+
},
|
|
179
|
+
"getter": false,
|
|
180
|
+
"setter": false,
|
|
181
|
+
"attribute": "accessible-label",
|
|
182
|
+
"reflect": false
|
|
183
|
+
},
|
|
184
|
+
"accessibleLabelledBy": {
|
|
185
|
+
"type": "string",
|
|
186
|
+
"mutable": false,
|
|
187
|
+
"complexType": {
|
|
188
|
+
"original": "string",
|
|
189
|
+
"resolved": "string",
|
|
190
|
+
"references": {}
|
|
191
|
+
},
|
|
192
|
+
"required": false,
|
|
193
|
+
"optional": false,
|
|
194
|
+
"docs": {
|
|
195
|
+
"tags": [],
|
|
196
|
+
"text": "Indicates the id of a component that labels the panel."
|
|
197
|
+
},
|
|
198
|
+
"getter": false,
|
|
199
|
+
"setter": false,
|
|
200
|
+
"attribute": "accessible-labelled-by",
|
|
201
|
+
"reflect": false
|
|
202
|
+
},
|
|
203
|
+
"accessibleDescribedBy": {
|
|
204
|
+
"type": "string",
|
|
205
|
+
"mutable": false,
|
|
206
|
+
"complexType": {
|
|
207
|
+
"original": "string",
|
|
208
|
+
"resolved": "string",
|
|
209
|
+
"references": {}
|
|
210
|
+
},
|
|
211
|
+
"required": false,
|
|
212
|
+
"optional": false,
|
|
213
|
+
"docs": {
|
|
214
|
+
"tags": [],
|
|
215
|
+
"text": "Indicates the id of a component that describes the panel."
|
|
216
|
+
},
|
|
217
|
+
"getter": false,
|
|
218
|
+
"setter": false,
|
|
219
|
+
"attribute": "accessible-described-by",
|
|
220
|
+
"reflect": false
|
|
221
|
+
}
|
|
222
|
+
};
|
|
223
|
+
}
|
|
224
|
+
static get elementRef() { return "element"; }
|
|
225
|
+
}
|
|
@@ -32,7 +32,7 @@ export class DuetParagraph {
|
|
|
32
32
|
const color = getColorByName(this.color);
|
|
33
33
|
// aria-describedby is to fix accessibility issue in Chrome where duet-paragraphs
|
|
34
34
|
// are not announced when placed inside duet-modal
|
|
35
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: 'e0a1fc0374987c1390c1139195f8dc69bb497da2', "aria-describedby": this.id }, h("p", { key: '89978d42d63df315736996c9bb4c264098d46fe3', id: this.id, class: {
|
|
36
36
|
"duet-paragraph": true,
|
|
37
37
|
"duet-paragraph-small": this.size === "small",
|
|
38
38
|
"duet-paragraph-semi-bold": this.weight === "semi-bold",
|
|
@@ -40,7 +40,7 @@ export class DuetParagraph {
|
|
|
40
40
|
"duet-m-0": this.margin === "none",
|
|
41
41
|
[this.variation]: true,
|
|
42
42
|
"duet-theme-turva": this.theme === "turva",
|
|
43
|
-
}, style: { color }, part: "duet-paragraph" }, h("slot", { key: '
|
|
43
|
+
}, style: { color }, part: "duet-paragraph" }, h("slot", { key: 'befa3faf8f7b1f565f1a17d2ae668c49b7694db2' }))));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "duet-paragraph"; }
|
|
46
46
|
static get encapsulation() { return "shadow"; }
|
|
@@ -69,11 +69,11 @@ export class DuetPopupMenuItem {
|
|
|
69
69
|
};
|
|
70
70
|
// Without the role ternary Safari/iPhone wouldn't announce the label for role menuitem.
|
|
71
71
|
// This is a tradeoff and now Safari announces these items as buttons and links with the label.
|
|
72
|
-
return (h(Host, { key: '
|
|
72
|
+
return (h(Host, { key: 'eade853d9656feba3f1c183a9d496b056b1efab1', role: this.accessibleRole === "menuitem" && this.isSafariBrowser ? null : this.accessibleRole }, h(TagName, { key: '390261bc354ca208b61e9d653478dc2a9d6db956', ref: element => (this.itemElement = element), tabIndex: this.accessibleRole === "listitem" ? 0 : -1, onFocus: this.onFocus, onBlur: this.onBlur, role: `${TagName === "a" ? "link" : "button"}`, "aria-label": this.accessibleLabel, class: classes, value: this.value, href: this.url, target: this.external ? "_blank" : undefined, rel: this.external ? "noopener" : undefined, lang: TagName === "button" ? undefined : this.targetLanguage, hreflang: TagName === "button" ? undefined : this.targetLanguage }, this.leadingIcon && (h("duet-icon", { key: '0e33f555ecced822df70e017274ef9b2a05806b3', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), h("span", { key: '7223f5c991169e250db10d39513a14379e8a328c', class: "duet-popup-menu-item-label" }, h("slot", { key: '0ef37ea3f2a8246a7fcc4d611cae5792fedc6588' })), (this.trailingIcon || this.active || (this.url && this.external)) && (h("duet-icon", { key: 'c79c060559a1fe3698b321ba3f91a95949cf0320', name: this.url && this.external
|
|
73
73
|
? newWindowIcon.title
|
|
74
74
|
: this.active
|
|
75
75
|
? "messaging-checked-small"
|
|
76
|
-
: this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && h("span", { key: '
|
|
76
|
+
: this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && h("span", { key: 'bef480bed8100c06a5f8acf0e059dab3896f94d5', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
|
|
77
77
|
}
|
|
78
78
|
static get is() { return "duet-popup-menu-item"; }
|
|
79
79
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { h, Host } from "@stencil/core";
|
|
5
5
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
6
6
|
import { checkNamedSlotElement, hasSlot } from "../../utils/slot-utils";
|
|
7
|
-
import { getColorByName } from "../../utils/token-utils";
|
|
7
|
+
import { getColorByName, postfixTheme } from "../../utils/token-utils";
|
|
8
8
|
/**
|
|
9
9
|
* @slot pre-heading - Slot for pre-heading content.
|
|
10
10
|
* @slot heading - Slot for heading content. Only span should be used in this slot.
|
|
@@ -53,12 +53,12 @@ export class DuetPromoCard {
|
|
|
53
53
|
backgroundColor: backgroundColor ? backgroundColor : "none",
|
|
54
54
|
};
|
|
55
55
|
const TagName = this.url ? "a" : "div";
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: '1515fc190e761f1806452d49d62b61412a4c28f9', class: { "duet-m-0": this.margin === "none" } }, h("aside", { key: 'a4939b94e4f746437fdf950d860c18cbdcb7bd55', class: {
|
|
57
57
|
"duet-promo-card": true,
|
|
58
58
|
"duet-theme-turva": this.theme === "turva",
|
|
59
59
|
"no-bg-color": !this.backgroundColor,
|
|
60
60
|
"duet-promo-card-link": !!this.url,
|
|
61
|
-
}, style: bannerStyles }, h(TagName, { key: '
|
|
61
|
+
}, style: bannerStyles }, h(TagName, { key: '807abfae3d508b57899c6db98e25f9d55ca2da14', href: this.url, class: "content-wrapper", ref: element => (this.aOrDivElement = element) }, h("img", { key: 'c8aff5a3a991787ed36ae5413111eea8e72d180e', class: "image", src: this.image, alt: "", role: "presentation" }), h("div", { key: '98ca8b87d56b052ec8b284060e9d40db91e76ae4', class: "content" }, this.hasPreHeadingSlot && (h("div", { key: 'd523708f802adba25c3cbbb49a701d2ba9e1c4c4', class: "pre-heading" }, h("slot", { key: '497b57d5a7f7dd3ad40f4b7d1fea749bbe24a0f8', name: "pre-heading" }))), this.hasHeadingSlot && (h("div", { key: '8ffed905559c96f7216b589ad6c7cac539ed6da8', class: "heading" }, h("duet-heading", { key: '28b56308bca5a9c51618b9fc5781cd9c72d11aff', theme: this.theme, level: this.headingLevel, "visual-level": "h3", margin: "none", color: postfixTheme(this.textColor, this.theme) }, h("span", { key: '48dd4256899ce88967628e402039ee2b48823962' }, h("slot", { key: 'ee8c4c059c2e763e12977ec375485f9302f89794', name: "heading" }))))), this.hasDescriptionSlot && (h("div", { key: '84c464f1982f18704a6c58711f2833f812b576f5', class: "description" }, h("duet-paragraph", { key: 'e7b5bfcb91f583d32445076db2a9dd802a7284a8', theme: this.theme, margin: "none", color: postfixTheme(this.textColor, this.theme) }, h("span", { key: '1af43961242bc227beef31940ab6d4a6fb2baedf' }, h("slot", { key: '2a0fd2143ed221fea16af81d8aed863c1e889014', name: "description" }))))), this.hasActionSlot && (h("div", { key: '7edc91af1e9bce504fa3fef8d01c3a6edfed202c', class: "action" }, h("slot", { key: '7e8cd91e532de002a468327a6870dfeae9b13011', name: "action" }))))))));
|
|
62
62
|
}
|
|
63
63
|
static get is() { return "duet-promo-card"; }
|
|
64
64
|
static get encapsulation() { return "shadow"; }
|
|
@@ -169,10 +169,10 @@ export class DuetRangeStepper {
|
|
|
169
169
|
* Always the last one in the class.
|
|
170
170
|
*/
|
|
171
171
|
render() {
|
|
172
|
-
return (h("div", { key: '
|
|
172
|
+
return (h("div", { key: '0d213325a438908c6fbb5ef3be056baf2dd9a9cc', class: {
|
|
173
173
|
"duet-range-stepper": true,
|
|
174
174
|
"duet-theme-turva": this.theme === "turva",
|
|
175
|
-
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, h("span", { key: '
|
|
175
|
+
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, h("span", { key: '2fcef9d93303d111aa7de17a44614ae8a7be97b9', class: "duet-range-step-counter", part: "range-numbers" }, this.generateStepSize()), h("duet-action-button", { key: '8cb9d3c298a12c9b4e539676020702d346731b76', disabled: this.disabled || this.buttonLeftDisabled, class: "duet-range-step-button duet-range-step-minus", onClick: e => this.handleClick(e, -1), id: this.leftBn, "accessible-label": `${this.ariaLabels.previous_increment} ${this.generatePreviousIncrementLabel()}`, ref: el => (this.leftBnRef = el), part: "navigation-arrow", iconName: "action-arrow-left-small", title: "" }), h("duet-action-button", { key: 'f53a8b31d7f5d5fa9df56765fefe8096d08eea44', disabled: this.disabled || this.buttonRightDisabled, class: "duet-range-step-button duet-range-step-plus", onClick: e => this.handleClick(e, 1), "accessible-label": `${this.ariaLabels.next_increment} ${this.generateNextIncrementLabel()}`, id: this.rightBn, ref: el => (this.rightBnRef = el), part: "navigation-arrow", iconName: "action-arrow-right-small", title: "" })));
|
|
176
176
|
}
|
|
177
177
|
static get is() { return "duet-range-stepper"; }
|
|
178
178
|
static get encapsulation() { return "shadow"; }
|
|
@@ -228,18 +228,18 @@ export class DuetScrollable {
|
|
|
228
228
|
* Always the last one in the class.
|
|
229
229
|
*/
|
|
230
230
|
render() {
|
|
231
|
-
return (h(Host, { key: '
|
|
231
|
+
return (h(Host, { key: '6901fea371dda6fd20b8c14a15f007356a4f0a38', class: {
|
|
232
232
|
"duet-theme-turva": this.theme === "turva",
|
|
233
233
|
"duet-theme-default": this.theme === "default",
|
|
234
|
-
} }, this.hasCollapseButtonLabelSlot && (h("div", { key: '
|
|
234
|
+
} }, this.hasCollapseButtonLabelSlot && (h("div", { key: '59b5b0b6b1a791fadf53a07f33466cb10ed3dedb', class: {
|
|
235
235
|
collapse: true,
|
|
236
236
|
hide: !this.needsScrolling && !this.collapsed,
|
|
237
|
-
} }, h("duet-button", { key: '
|
|
237
|
+
} }, h("duet-button", { key: 'ef2ce19aa8cbf5829d7f54d3b79a53d84e79f4a3', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, h("slot", { key: '2c0f7231015097adadcd7143cef863b8c75da68c', name: "collapse-button-label" })))), h("div", { key: 'efdef383e022816af6dfd91ae609ab81d5ef1fa1', class: {
|
|
238
238
|
"duet-scrollable-items": true,
|
|
239
239
|
buttons: this.buttons,
|
|
240
240
|
center: this.center,
|
|
241
241
|
"duet-theme-turva": this.theme === "turva",
|
|
242
|
-
} }, this.buttons && this.renderButton("left"), h("div", { key: '
|
|
242
|
+
} }, this.buttons && this.renderButton("left"), h("div", { key: 'a429707e2ff1d17f2865300ee65a42c1ff4217f1', class: {
|
|
243
243
|
"duet-scrollable-list": true,
|
|
244
244
|
[`duet-scrollable-list--${this.buttonPosition}`]: true,
|
|
245
245
|
[`gap-${this.gap}`]: true,
|
|
@@ -247,7 +247,7 @@ export class DuetScrollable {
|
|
|
247
247
|
[`duet-overflow-padding--${this.padding}`]: this.padding !== "none",
|
|
248
248
|
[`duet-scrollable-list--${this.buttonPosition}`]: this.buttonPosition === "absolute",
|
|
249
249
|
"duet-scrollable-stretch": this.stretch,
|
|
250
|
-
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, h("slot", { key: '
|
|
250
|
+
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, h("slot", { key: '792a604368bc6fe33577173b8986babb17e95050' })), this.buttons && this.renderButton("right"))));
|
|
251
251
|
}
|
|
252
252
|
static get is() { return "duet-scrollable"; }
|
|
253
253
|
static get encapsulation() { return "shadow"; }
|
|
@@ -14,13 +14,13 @@ export class DuetSectionLayout {
|
|
|
14
14
|
* Always the last one in the class.
|
|
15
15
|
*/
|
|
16
16
|
render() {
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: '3760201c8af426d8ce0a3e736e1ea158aa52d98e', class: {
|
|
18
18
|
"duet-middle": this.middle,
|
|
19
19
|
"duet-ie": isInternetExplorer(),
|
|
20
|
-
} }, h("div", { key: '
|
|
20
|
+
} }, h("div", { key: '94d48826fd6b116936f4850e1e21b1cf761c7260', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, h("div", { key: 'b33936aa900e4503eed9d5b82dbcdf07f51e9b19', class: {
|
|
21
21
|
"duet-layout": true,
|
|
22
22
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
23
|
-
} }, h("section", { key: '
|
|
23
|
+
} }, h("section", { key: 'a2177f2b863ec3782382f8b5b512913af6bbe4b0', class: "duet-main" }, h("slot", { key: '446c361279e487f659f839b9b21b19ff7f6b0739' }))))));
|
|
24
24
|
}
|
|
25
25
|
static get is() { return "duet-section-layout"; }
|
|
26
26
|
static get encapsulation() { return "shadow"; }
|
|
@@ -169,7 +169,7 @@ export class DuetSelect {
|
|
|
169
169
|
}))), h("div", { class: {
|
|
170
170
|
"duet-select": true,
|
|
171
171
|
[`duet-select-variation-${this.variation}`]: true,
|
|
172
|
-
}, "aria-hidden": "true" }, h("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (h("svg", { role: "img", class: "duet-select-icon", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" })))) || (h("duet-icon", { theme: this.theme, name: "action-arrow-down-small", color: "currentColor", margin: "none", size: this.variation === "compact" ? "xxx-small" : "xx-small" }))), h("span", { class: "duet-keep-container-height", role: "presention", "aria-hidden": "true" }, "_")), h("span", { class: "duet-select-help", id: this.errorId, "aria-live": this.accessibleLiveError, "aria-atomic": "true", "aria-relevant": "additions removals" }, this.error && h("span", null, this.error)))));
|
|
172
|
+
}, "aria-hidden": "true" }, h("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (h("svg", { role: "img", class: "duet-select-icon", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" })))) || (h("duet-icon", { theme: this.theme, name: "action-arrow-down-small", color: "currentColor", margin: "none", size: this.variation === "compact" ? "xxx-small" : "xx-small" }))), h("span", { class: "duet-keep-container-height", role: "presention", "aria-hidden": "true" }, "_")), h("span", { class: "duet-select-help duet-select-error", id: this.errorId, "aria-live": this.accessibleLiveError, "aria-atomic": "true", "aria-relevant": "additions removals" }, this.error && h("span", null, this.error)))));
|
|
173
173
|
}
|
|
174
174
|
static get is() { return "duet-select"; }
|
|
175
175
|
static get encapsulation() { return "scoped"; }
|
|
@@ -25,9 +25,9 @@ export class DuetShapedImage {
|
|
|
25
25
|
const style = {
|
|
26
26
|
"--rotation": `${this.rotation}deg`,
|
|
27
27
|
};
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: 'b750a11c4dccb225ec7f6a62eb41137cd21a45b7', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, h("span", { key: '77296c3eed29b5b7fbd1f5296b194d2b4f74babc', class: {
|
|
29
29
|
"shaped-image": true,
|
|
30
|
-
}, role: "img", "aria-label": this.accessibleLabel, style: style }, h("span", { key: '
|
|
30
|
+
}, role: "img", "aria-label": this.accessibleLabel, style: style }, h("span", { key: '6ca14f632c8c963c66895b10759946a4dae0ee90', class: "shaped-image-mask", role: "presentation" }, h("span", { key: 'ff5781d620721b0997aec9c03bf899a0a1e21ff6', class: "shaped-image-img", role: "presentation", style: { backgroundImage: `url("${this.src}")` } })))));
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "duet-shaped-image"; }
|
|
33
33
|
static get encapsulation() { return "shadow"; }
|
|
@@ -58,10 +58,10 @@ export class DuetShareChart {
|
|
|
58
58
|
this.itemsTotalValue = this.items.reduce((total, { value }) => total + value, 0);
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
|
-
return (h(Host, { key: '
|
|
61
|
+
return (h(Host, { key: '3b18282d22572dd1fa224333f5cd1b50459873b9' }, h("div", { key: 'fb1a5532570e59e9d1998eccbaffc5e72cd23337', class: "duet-share-chart-horizontal-bar", role: "presentation" }, this.items.map(item => (h("span", { class: "duet-share-chart-share", style: {
|
|
62
62
|
width: `${(item.value / this.itemsTotalValue) * 100}%`,
|
|
63
63
|
backgroundColor: getColorByName(item.color, this.theme),
|
|
64
|
-
} })))), h("ul", { key: '
|
|
64
|
+
} })))), h("ul", { key: '4749f8f2d599d9e34b834aaa55a5919f1193aa9f', class: "duet-share-chart-item-list" }, this.items.map(item => (h("li", { class: { "duet-theme-turva": this.theme === "turva" } }, h("span", { class: "duet-share-chart-item-color", style: { background: getColorByName(item.color, this.theme) } }), h("span", { class: "duet-share-chart-item-text" }, item.text, ":"), h("span", { class: "duet-share-chart-item-value" }, "\u00A0", formatNumber(item.value), "\u00A0", this.unit), this.unit !== "%" && (h("duet-visually-hidden", null, `${formatNumber((item.value / this.itemsTotalValue) * 100, 0)} %`)))))), h("slot", { key: 'fa8b976fc09c00aebebe41cb580aee8664e93f3d' })));
|
|
65
65
|
}
|
|
66
66
|
static get is() { return "duet-share-chart"; }
|
|
67
67
|
static get encapsulation() { return "shadow"; }
|