@duetds/components 9.12.2 → 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 +404 -233
- package/lib/cjs/{a11y-utils-e59debeb.js → a11y-utils-a934645c.js} +1 -1
- package/lib/cjs/{app-globals-f559c48a.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 +4 -4
- 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 +50 -12
- package/lib/cjs/duet-hero.cjs.entry.js +4 -4
- package/lib/cjs/duet-icon.cjs.entry.js +7 -7
- 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 +11 -42
- package/lib/cjs/duet-modal.cjs.entry.js +39 -20
- package/lib/cjs/duet-multiselect.cjs.entry.js +9 -9
- package/lib/cjs/duet-nav.cjs.entry.js +3 -3
- package/lib/cjs/duet-notification_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-number-input.cjs.entry.js +11 -7
- package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
- package/lib/cjs/duet-page-heading.cjs.entry.js +5 -5
- package/lib/cjs/duet-pagination_2.cjs.entry.js +17 -17
- 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 +4 -4
- 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 +7 -7
- 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 +8 -8
- 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 +4 -4
- 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-803bdf0f.js → errorcodes.utils-9ce7ca99.js} +1 -1
- package/lib/cjs/{focus-utils-aab4fc49.js → focus-utils-fa11f04b.js} +1 -1
- package/lib/cjs/{index-9f14a370.js → index-3d15fb5e.js} +5 -1
- package/lib/cjs/{language-utils-db49b98b.js → language-utils-eaec2648.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-018275a5.js → slot-utils-61317778.js} +1 -1
- package/lib/cjs/{themeable-component-59982a4b.js → themeable-component-46222401.js} +14 -2
- package/lib/cjs/{token-utils-6258d3f7.js → token-utils-658c4c54.js} +103 -7
- package/lib/cjs/{tokens-e6fda5ee.js → tokens-22702e71.js} +0 -1
- package/lib/collection/collection-manifest.json +1 -0
- package/lib/collection/common/themeable-component.js +13 -1
- 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 +19 -4
- 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.css +3 -0
- package/lib/collection/components/duet-header/duet-header.js +3 -2
- package/lib/collection/components/duet-icon/duet-icon.css +5 -0
- 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-logo/duet-logo.css +8 -0
- package/lib/collection/components/duet-logo/duet-logo.js +70 -5
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +91 -0
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +28 -39
- 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-multiselect/duet-multiselect.js +5 -5
- 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-notification-drawer/duet-notification-drawer.js +2 -2
- package/lib/collection/components/duet-number-input/duet-number-input.js +8 -4
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.css +12 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
- 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 +8 -8
- package/lib/dist-custom-elements/duet-breadcrumb.js +8 -8
- package/lib/dist-custom-elements/duet-breadcrumbs.js +5 -5
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +5 -5
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +5 -5
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +9 -9
- package/lib/dist-custom-elements/duet-choice.js +5 -5
- package/lib/dist-custom-elements/duet-collapsible.js +5 -5
- package/lib/dist-custom-elements/duet-combobox.js +16 -16
- package/lib/dist-custom-elements/duet-contact-card.js +11 -11
- package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
- package/lib/dist-custom-elements/duet-date-picker.js +14 -14
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +8 -8
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-file-chooser.js +3 -3
- package/lib/dist-custom-elements/duet-footer.js +8 -8
- 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 +14 -13
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +10 -10
- 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 +5 -5
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +5 -5
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +7 -7
- package/lib/dist-custom-elements/duet-menu-bar-item.js +5 -5
- package/lib/dist-custom-elements/duet-menu-bar-link.js +5 -5
- package/lib/dist-custom-elements/duet-menu-bar.js +14 -43
- package/lib/dist-custom-elements/duet-modal.js +45 -24
- package/lib/dist-custom-elements/duet-multiselect.js +15 -15
- package/lib/dist-custom-elements/duet-nav.js +3 -3
- package/lib/dist-custom-elements/duet-notification-drawer.js +7 -7
- package/lib/dist-custom-elements/duet-notification.js +5 -5
- package/lib/dist-custom-elements/duet-number-input.js +19 -15
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +7 -7
- package/lib/dist-custom-elements/duet-pagination.js +26 -26
- 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 +17 -17
- 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 +7 -7
- package/lib/dist-custom-elements/duet-radio-group.js +9 -9
- package/lib/dist-custom-elements/duet-radio.js +2 -2
- package/lib/dist-custom-elements/duet-range-slider.js +3 -3
- package/lib/dist-custom-elements/duet-range-stepper.js +7 -7
- 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 +4 -4
- package/lib/dist-custom-elements/duet-share-chart-item.js +2 -2
- package/lib/dist-custom-elements/duet-share-chart.js +6 -6
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +4 -4
- package/lib/dist-custom-elements/duet-slideout-link.js +5 -5
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +7 -7
- package/lib/dist-custom-elements/duet-slideout-panel.js +10 -10
- package/lib/dist-custom-elements/duet-slideout.js +9 -9
- 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 +5 -5
- package/lib/dist-custom-elements/duet-stepper.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +5 -5
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +8 -8
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar.js +10 -10
- package/lib/dist-custom-elements/duet-tab-group.js +12 -12
- package/lib/dist-custom-elements/duet-tab.js +3 -3
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +11 -11
- package/lib/dist-custom-elements/duet-toggle.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +5 -5
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +7 -7
- package/lib/dist-custom-elements/duet-toolbar-item.js +6 -6
- package/lib/dist-custom-elements/duet-toolbar-link.js +5 -5
- package/lib/dist-custom-elements/duet-toolbar.js +4 -4
- 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 +6 -6
- 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 +23 -23
- 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-32a8ced7.js → p-05fb2c81.js} +5 -5
- package/lib/dist-custom-elements/{p-64abcbeb.js → p-0a34fa11.js} +3 -3
- package/lib/dist-custom-elements/{p-e024b525.js → p-0e0a0525.js} +4 -4
- package/lib/dist-custom-elements/{p-e40817b6.js → p-10893657.js} +2 -2
- package/lib/dist-custom-elements/{p-1d53e17e.js → p-25f8ea4b.js} +3 -3
- package/lib/dist-custom-elements/{p-3d69644c.js → p-3419cd58.js} +10 -10
- package/lib/dist-custom-elements/{p-1b344cf7.js → p-3471fa90.js} +4 -4
- package/lib/dist-custom-elements/{p-14f9f7a0.js → p-36f6ec52.js} +2 -2
- package/lib/dist-custom-elements/{p-6f57e174.js → p-3757c660.js} +13 -1
- package/lib/dist-custom-elements/{p-0b77ee39.js → p-3883f329.js} +6 -6
- package/lib/dist-custom-elements/{p-0c936fe5.js → p-3a815628.js} +11 -11
- package/lib/dist-custom-elements/{p-69ca7615.js → p-444e732a.js} +9 -8
- package/lib/dist-custom-elements/{p-77260ba8.js → p-499da71e.js} +103 -8
- package/lib/dist-custom-elements/{p-38225a71.js → p-5e16131c.js} +46 -7
- package/lib/dist-custom-elements/{p-71245313.js → p-61b4aec9.js} +13 -13
- package/lib/dist-custom-elements/{p-1a647490.js → p-65300e85.js} +12 -12
- package/lib/dist-custom-elements/{p-b879c406.js → p-706a9a13.js} +3 -3
- package/lib/dist-custom-elements/{p-5fb435c0.js → p-778364d6.js} +4 -4
- package/lib/dist-custom-elements/{p-d6d3f142.js → p-81360956.js} +3 -3
- package/lib/dist-custom-elements/{p-64f1c43c.js → p-85f0068e.js} +6 -6
- package/lib/dist-custom-elements/{p-dbe0ddfd.js → p-92710b68.js} +1 -1
- package/lib/dist-custom-elements/{p-93896e54.js → p-96cabce8.js} +8 -8
- package/lib/dist-custom-elements/{p-6f7ac4a5.js → p-9ac441e6.js} +5 -5
- package/lib/dist-custom-elements/{p-6f969e11.js → p-9f715fa9.js} +5 -5
- package/lib/dist-custom-elements/{p-3600a7d8.js → p-a4513f7a.js} +3 -3
- package/lib/dist-custom-elements/{p-1f214262.js → p-a69bc735.js} +2 -2
- package/lib/dist-custom-elements/{p-ccf00480.js → p-b3835995.js} +5 -5
- package/lib/dist-custom-elements/{p-9f5cbda4.js → p-c7f33aed.js} +5 -5
- package/lib/dist-custom-elements/{p-4f46d35d.js → p-cc1b78ce.js} +11 -11
- package/lib/dist-custom-elements/{p-5c0ef833.js → p-d04e213c.js} +13 -13
- package/lib/dist-custom-elements/{p-c4cf8fc4.js → p-d0bc3da2.js} +2 -2
- package/lib/dist-custom-elements/{p-16f01714.js → p-d5c72ea3.js} +7 -7
- package/lib/dist-custom-elements/{p-7b0e3959.js → p-db2b09ab.js} +2 -2
- package/lib/dist-custom-elements/{p-b34c0bc0.js → p-dc970fdb.js} +2 -2
- package/lib/dist-custom-elements/{p-e7c96fb9.js → p-e77ffc34.js} +3 -3
- package/lib/dist-custom-elements/{p-74971fe9.js → p-e9c8ad74.js} +3 -3
- package/lib/dist-custom-elements/{p-d32bd233.js → p-eb60efcc.js} +1 -1
- package/lib/dist-custom-elements/{p-ff3742a3.js → p-ee948dc8.js} +5 -5
- package/lib/dist-custom-elements/{p-f42fd1a5.js → p-f290964d.js} +7 -7
- package/lib/dist-custom-elements/{p-b1100334.js → p-f38adca4.js} +8 -8
- package/lib/dist-custom-elements/{p-b7e3ed2c.js → p-f3b2867a.js} +4 -4
- package/lib/dist-custom-elements/{p-b760d510.js → p-f479ee47.js} +6 -6
- package/lib/dist-custom-elements/{p-daa2778f.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-43a8d843.system.entry.js → p-013232a8.system.entry.js} +1 -1
- package/lib/duet/{p-40295380.js → p-01fe0f34.js} +1 -1
- package/lib/duet/p-063b31ef.entry.js +4 -0
- package/lib/duet/{p-ede03d44.system.entry.js → p-07d21021.system.entry.js} +1 -1
- package/lib/duet/p-07dd4405.system.entry.js +4 -0
- package/lib/duet/{p-72b80f54.entry.js → p-08f594ea.entry.js} +1 -1
- package/lib/duet/{p-9cc1306c.entry.js → p-08f64c06.entry.js} +1 -1
- package/lib/duet/{p-326ef77a.system.entry.js → p-0bc88aac.system.entry.js} +1 -1
- package/lib/duet/{p-85d98f00.entry.js → p-0c16128f.entry.js} +1 -1
- package/lib/duet/{p-618232f5.system.entry.js → p-0cef5003.system.entry.js} +1 -1
- package/lib/duet/{p-f2277c25.system.entry.js → p-0e013c22.system.entry.js} +1 -1
- package/lib/duet/{p-6f5c7766.system.entry.js → p-0e4ff2a3.system.entry.js} +1 -1
- package/lib/duet/p-10310520.entry.js +4 -0
- package/lib/duet/{p-822bbe28.system.entry.js → p-11262ef8.system.entry.js} +1 -1
- package/lib/duet/{p-21208eb0.entry.js → p-119d8a9d.entry.js} +1 -1
- package/lib/duet/{p-3e995aa9.entry.js → p-11e013dd.entry.js} +1 -1
- package/lib/duet/{p-db1a5bf4.system.entry.js → p-13821573.system.entry.js} +1 -1
- package/lib/duet/{p-b87f5ff8.system.entry.js → p-13f4076a.system.entry.js} +1 -1
- package/lib/duet/{p-6a455c03.entry.js → p-147f5eb5.entry.js} +1 -1
- package/lib/duet/p-16e80004.entry.js +4 -0
- package/lib/duet/{p-940ed1a1.entry.js → p-17f215e8.entry.js} +1 -1
- package/lib/duet/{p-69d12878.entry.js → p-18b21048.entry.js} +1 -1
- package/lib/duet/{p-013ff1b1.entry.js → p-19ad52bc.entry.js} +1 -1
- package/lib/duet/{p-6288d368.system.entry.js → p-1a767c08.system.entry.js} +1 -1
- package/lib/duet/{p-fa843791.entry.js → p-1c2dcb63.entry.js} +1 -1
- package/lib/duet/p-1f495ebe.entry.js +4 -0
- package/lib/duet/{p-62a9692f.entry.js → p-20170d5a.entry.js} +1 -1
- package/lib/duet/{p-6ab8cc04.system.entry.js → p-201895ea.system.entry.js} +1 -1
- package/lib/duet/{p-911830a9.entry.js → p-2162fe62.entry.js} +1 -1
- package/lib/duet/{p-1df441b0.system.entry.js → p-22349ab1.system.entry.js} +1 -1
- package/lib/duet/{p-dc12856e.system.entry.js → p-22932c08.system.entry.js} +1 -1
- package/lib/duet/{p-f87be171.system.entry.js → p-23d5c3fe.system.entry.js} +1 -1
- package/lib/duet/{p-a3a2f086.system.entry.js → p-2455cbff.system.entry.js} +1 -1
- package/lib/duet/{p-9b88b8f4.entry.js → p-268d9b35.entry.js} +1 -1
- package/lib/duet/{p-25da61f0.entry.js → p-2a542c6a.entry.js} +1 -1
- package/lib/duet/p-2a96f88a.system.entry.js +4 -0
- package/lib/duet/{p-4ded9936.entry.js → p-2c15a77e.entry.js} +1 -1
- package/lib/duet/{p-e430fc87.system.entry.js → p-2d14dafa.system.entry.js} +1 -1
- package/lib/duet/p-2dd204b0.entry.js +4 -0
- package/lib/duet/{p-46ba82ab.system.entry.js → p-2e58b3ab.system.entry.js} +1 -1
- package/lib/duet/{p-03eb030a.system.entry.js → p-2e7454bd.system.entry.js} +1 -1
- package/lib/duet/p-2ee8e84d.system.entry.js +4 -0
- package/lib/duet/{p-24dcf46b.entry.js → p-2fe381b6.entry.js} +1 -1
- package/lib/duet/{p-c1db69bc.system.entry.js → p-322c0015.system.entry.js} +1 -1
- package/lib/duet/{p-7b43d889.system.entry.js → p-344834d8.system.entry.js} +1 -1
- package/lib/duet/{p-fa43f6c2.system.entry.js → p-34485370.system.entry.js} +1 -1
- package/lib/duet/{p-f58be348.system.entry.js → p-352b3557.system.entry.js} +1 -1
- package/lib/duet/{p-83ea5225.js → p-378546de.js} +1 -1
- package/lib/duet/{p-ebf7a3ac.system.entry.js → p-38faf7e7.system.entry.js} +1 -1
- package/lib/duet/{p-16432cd4.entry.js → p-3a75e6d3.entry.js} +1 -1
- package/lib/duet/p-3b9c02b1.entry.js +4 -0
- package/lib/duet/{p-e9b88155.system.entry.js → p-413fc831.system.entry.js} +1 -1
- package/lib/duet/p-4215bd92.system.entry.js +4 -0
- package/lib/duet/p-42a0205d.entry.js +4 -0
- package/lib/duet/{p-2c09d10f.entry.js → p-430ef395.entry.js} +1 -1
- package/lib/duet/p-44b3eb2c.entry.js +4 -0
- package/lib/duet/{p-6bbb4dd9.entry.js → p-463b0d7a.entry.js} +1 -1
- package/lib/duet/{p-21fb0158.entry.js → p-48fb5298.entry.js} +1 -1
- package/lib/duet/{p-651d3dec.entry.js → p-4989501c.entry.js} +1 -1
- package/lib/duet/{p-98eddabd.entry.js → p-49b696b3.entry.js} +1 -1
- package/lib/duet/{p-dab809f9.entry.js → p-49b6f9a1.entry.js} +1 -1
- package/lib/duet/{p-e70e9c50.system.entry.js → p-4a54ae2a.system.entry.js} +2 -2
- package/lib/duet/{p-1c58f3a1.system.entry.js → p-4c44b9d0.system.entry.js} +1 -1
- package/lib/duet/p-4d81e7f6.system.js +4 -0
- package/lib/duet/{p-79bccb1f.system.entry.js → p-4e21f876.system.entry.js} +1 -1
- package/lib/duet/{p-c6497425.entry.js → p-51717f08.entry.js} +1 -1
- package/lib/duet/{p-4f87023e.entry.js → p-51fc30ef.entry.js} +1 -1
- package/lib/duet/{p-0f945464.entry.js → p-52746f84.entry.js} +1 -1
- package/lib/duet/p-52d80d96.js +4 -0
- package/lib/duet/{p-ce063cbd.system.entry.js → p-561dd467.system.entry.js} +1 -1
- package/lib/duet/p-564022f1.entry.js +4 -0
- package/lib/duet/{p-41bafdf1.system.entry.js → p-56bada0c.system.entry.js} +1 -1
- package/lib/duet/{p-1eed0b1c.system.entry.js → p-58d8549a.system.entry.js} +1 -1
- package/lib/duet/{p-bf62ea4a.entry.js → p-593df331.entry.js} +1 -1
- package/lib/duet/p-59777da7.system.js +4 -0
- package/lib/duet/{p-a0a43bf4.entry.js → p-5b583276.entry.js} +1 -1
- package/lib/duet/{p-5d2cba5e.system.entry.js → p-5c271084.system.entry.js} +1 -1
- package/lib/duet/{p-35580d9e.entry.js → p-5f678caa.entry.js} +1 -1
- package/lib/duet/{p-fc9148a1.entry.js → p-628a59a6.entry.js} +1 -1
- package/lib/duet/{p-38d5c9e6.entry.js → p-62cb44f1.entry.js} +1 -1
- package/lib/duet/{p-af0e060c.system.js → p-670f33d1.system.js} +1 -1
- package/lib/duet/p-6a4e23b5.entry.js +4 -0
- package/lib/duet/{p-0dac0f34.system.entry.js → p-6a718c27.system.entry.js} +1 -1
- package/lib/duet/{p-02922551.entry.js → p-6a900d10.entry.js} +1 -1
- package/lib/duet/{p-e50a2f96.system.js → p-6b99bf3d.system.js} +1 -1
- package/lib/duet/{p-1f5772a7.entry.js → p-6cf2b2b8.entry.js} +1 -1
- package/lib/duet/{p-d5ceec92.system.entry.js → p-6d5e6c51.system.entry.js} +1 -1
- package/lib/duet/{p-628dc72c.system.entry.js → p-6db869c9.system.entry.js} +1 -1
- package/lib/duet/{p-02785b42.system.entry.js → p-6f46b9da.system.entry.js} +1 -1
- package/lib/duet/{p-d8323868.entry.js → p-704b8b7e.entry.js} +1 -1
- package/lib/duet/{p-a820ff4d.system.entry.js → p-713918d1.system.entry.js} +1 -1
- package/lib/duet/{p-91df376b.entry.js → p-72ad70a2.entry.js} +1 -1
- package/lib/duet/{p-bf06650e.js → p-72b4c06f.js} +1 -1
- package/lib/duet/{p-5a144646.entry.js → p-75542e0e.entry.js} +1 -1
- package/lib/duet/{p-025452a3.system.entry.js → p-75e72c46.system.entry.js} +1 -1
- package/lib/duet/p-75fdf144.system.js +4 -0
- package/lib/duet/{p-3bffb004.system.entry.js → p-76c797cb.system.entry.js} +1 -1
- package/lib/duet/{p-1f45b3af.system.entry.js → p-78024429.system.entry.js} +1 -1
- package/lib/duet/p-7856f483.entry.js +4 -0
- package/lib/duet/{p-0aa18687.system.entry.js → p-786418b7.system.entry.js} +1 -1
- package/lib/duet/{p-0db9de80.system.entry.js → p-7a022fb4.system.entry.js} +1 -1
- package/lib/duet/{p-7053f582.entry.js → p-7be7fb2c.entry.js} +1 -1
- package/lib/duet/{p-33e24f0b.system.entry.js → p-7ce8fc32.system.entry.js} +2 -2
- package/lib/duet/{p-3c7d3755.entry.js → p-7d63b0c0.entry.js} +1 -1
- package/lib/duet/{p-61e21220.system.js → p-7fd0a219.system.js} +1 -1
- package/lib/duet/p-82680aa5.system.js +4 -0
- package/lib/duet/{p-5da25b76.entry.js → p-82733ff7.entry.js} +1 -1
- package/lib/duet/{p-f0354143.system.entry.js → p-834d6b2d.system.entry.js} +1 -1
- package/lib/duet/{p-32971abc.entry.js → p-83c0cfed.entry.js} +1 -1
- package/lib/duet/p-854605a6.js +4 -0
- package/lib/duet/{p-d064df5e.js → p-8637a449.js} +1 -1
- package/lib/duet/{p-c1a9ca3f.entry.js → p-86929bf6.entry.js} +1 -1
- package/lib/duet/{p-10bfafcf.entry.js → p-86d288e5.entry.js} +1 -1
- package/lib/duet/{p-587b5b14.system.entry.js → p-870a420d.system.entry.js} +1 -1
- package/lib/duet/p-89b2f873.system.js +4 -0
- package/lib/duet/{p-e06e9231.entry.js → p-89d45610.entry.js} +1 -1
- package/lib/duet/{p-b3b3b6d2.system.entry.js → p-89f89a39.system.entry.js} +1 -1
- package/lib/duet/{p-7013ce09.system.entry.js → p-8a9fb89c.system.entry.js} +1 -1
- package/lib/duet/p-8bb2ddda.entry.js +4 -0
- package/lib/duet/{p-8173dd50.system.entry.js → p-8cbe7888.system.entry.js} +2 -2
- package/lib/duet/{p-64709c5e.system.entry.js → p-8e7af8a4.system.entry.js} +1 -1
- package/lib/duet/p-8edc7ed6.entry.js +4 -0
- package/lib/duet/{p-00e5d987.system.entry.js → p-8f55b49a.system.entry.js} +2 -2
- package/lib/duet/{p-a6c30abd.entry.js → p-901f7bd1.entry.js} +1 -1
- package/lib/duet/{p-833d7be7.system.entry.js → p-903d05d9.system.entry.js} +1 -1
- package/lib/duet/{p-c9c52ec2.entry.js → p-914292d2.entry.js} +1 -1
- package/lib/duet/{p-9516f5fc.system.entry.js → p-91be5d76.system.entry.js} +1 -1
- package/lib/duet/{p-88317c08.entry.js → p-9361e0ff.entry.js} +1 -1
- package/lib/duet/{p-ca812b3c.entry.js → p-936f0051.entry.js} +1 -1
- package/lib/duet/{p-c4ea6d92.entry.js → p-961dc1b6.entry.js} +1 -1
- package/lib/duet/{p-987e96a5.entry.js → p-98af4e91.entry.js} +1 -1
- package/lib/duet/p-9921468e.entry.js +4 -0
- package/lib/duet/{p-5d7af988.system.js → p-99ffd1cf.system.js} +1 -1
- package/lib/duet/{p-9e73ce43.system.entry.js → p-9ae77fe6.system.entry.js} +1 -1
- package/lib/duet/{p-a157e1cc.entry.js → p-9dc97ec5.entry.js} +1 -1
- package/lib/duet/{p-2819123b.system.entry.js → p-a2f05f0b.system.entry.js} +1 -1
- package/lib/duet/{p-053c4b67.system.entry.js → p-a8527a22.system.entry.js} +1 -1
- package/lib/duet/{p-bca76d73.entry.js → p-aaa700a4.entry.js} +1 -1
- package/lib/duet/{p-7d861055.entry.js → p-ac643c4d.entry.js} +1 -1
- package/lib/duet/p-adcfa80c.system.entry.js +4 -0
- package/lib/duet/{p-c8df1d39.entry.js → p-af4c5e2b.entry.js} +1 -1
- package/lib/duet/{p-cc2adccb.system.entry.js → p-b083c7df.system.entry.js} +1 -1
- package/lib/duet/p-b1b64718.system.entry.js +4 -0
- package/lib/duet/{p-a445ce8a.entry.js → p-b4018154.entry.js} +1 -1
- package/lib/duet/p-b65f6339.system.js +4 -0
- package/lib/duet/{p-563804e0.system.entry.js → p-b728fce7.system.entry.js} +1 -1
- package/lib/duet/p-b84841d7.js +4 -0
- package/lib/duet/{p-14108f66.entry.js → p-baaa9e94.entry.js} +1 -1
- package/lib/duet/{p-d17b23fc.entry.js → p-be26ac3a.entry.js} +1 -1
- package/lib/duet/{p-fcf1b096.entry.js → p-c0020521.entry.js} +1 -1
- package/lib/duet/p-c157389b.system.entry.js +4 -0
- package/lib/duet/{p-89a1fa97.system.entry.js → p-c371758a.system.entry.js} +1 -1
- package/lib/duet/{p-8e0952b2.entry.js → p-c4e34a8e.entry.js} +1 -1
- package/lib/duet/{p-f074b245.entry.js → p-c60c40a2.entry.js} +1 -1
- package/lib/duet/{p-f787b33c.entry.js → p-c70b52b6.entry.js} +1 -1
- package/lib/duet/{p-8bf31541.system.entry.js → p-c9751b3c.system.entry.js} +1 -1
- package/lib/duet/{p-e9e4825a.system.entry.js → p-cb279bed.system.entry.js} +1 -1
- package/lib/duet/{p-0fa3c05b.entry.js → p-cd27da84.entry.js} +1 -1
- package/lib/duet/{p-91d5d8cb.entry.js → p-cff34f13.entry.js} +1 -1
- package/lib/duet/{p-f9be6c4a.system.entry.js → p-d06d2098.system.entry.js} +1 -1
- package/lib/duet/{p-386fdf47.system.entry.js → p-d3e245f0.system.entry.js} +2 -2
- package/lib/duet/{p-da1458e1.system.entry.js → p-d6368121.system.entry.js} +1 -1
- package/lib/duet/{p-903b934c.system.entry.js → p-d647ef97.system.entry.js} +1 -1
- package/lib/duet/{p-5638079e.system.entry.js → p-d6a2cc77.system.entry.js} +2 -2
- package/lib/duet/{p-82412ccb.entry.js → p-d6afc825.entry.js} +1 -1
- package/lib/duet/{p-705d56cf.entry.js → p-d8fadd2d.entry.js} +1 -1
- package/lib/duet/{p-474c40d9.system.entry.js → p-dc3646e2.system.entry.js} +1 -1
- package/lib/duet/p-e63f5ff5.js +4 -0
- package/lib/duet/{p-3c412042.system.entry.js → p-e6f40951.system.entry.js} +1 -1
- package/lib/duet/p-e70fad83.entry.js +4 -0
- package/lib/duet/{p-2a1dd592.entry.js → p-e8777cf4.entry.js} +1 -1
- package/lib/duet/{p-1bd4baef.system.entry.js → p-eb237688.system.entry.js} +1 -1
- package/lib/duet/{p-d32bd233.js → p-eb60efcc.js} +1 -1
- package/lib/duet/p-eb7b2984.system.entry.js +4 -0
- package/lib/duet/{p-b7a29ea3.system.entry.js → p-ebb0b51d.system.entry.js} +1 -1
- package/lib/duet/{p-0b74ce31.entry.js → p-ec22154d.entry.js} +1 -1
- package/lib/duet/{p-adeb1555.system.js → p-ed810e76.system.js} +1 -1
- package/lib/duet/{p-ef4fea1b.entry.js → p-edb65a28.entry.js} +1 -1
- package/lib/duet/{p-8cfba882.system.entry.js → p-f1beb947.system.entry.js} +1 -1
- package/lib/duet/{p-21090503.system.entry.js → p-f3587718.system.entry.js} +1 -1
- package/lib/duet/{p-e6c3d5b0.system.entry.js → p-f58cbc59.system.entry.js} +1 -1
- package/lib/duet/{p-7fe2a579.entry.js → p-f7b6fecb.entry.js} +1 -1
- package/lib/duet/{p-5b0acd52.system.entry.js → p-f835eb92.system.entry.js} +1 -1
- package/lib/duet/p-f89feeb2.entry.js +4 -0
- package/lib/duet/{p-723a5a2f.system.entry.js → p-f947b5c5.system.entry.js} +1 -1
- package/lib/duet/{p-fdf1fec8.entry.js → p-f9b9fbf5.entry.js} +1 -1
- package/lib/duet/{p-61f97ebd.system.entry.js → p-fae74a37.system.entry.js} +1 -1
- package/lib/duet/{p-67d84e6e.system.entry.js → p-fb9c9879.system.entry.js} +1 -1
- package/lib/duet/p-fbc59efc.js +4 -0
- package/lib/duet/{p-7b01ab6d.system.entry.js → p-fe9adf7c.system.entry.js} +1 -1
- package/lib/duet/{p-7ff43e10.system.entry.js → p-ff97f8e4.system.entry.js} +1 -1
- package/lib/esm/{a11y-utils-e494647a.js → a11y-utils-87967050.js} +1 -1
- package/lib/esm/{app-globals-ba36fb7c.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 +4 -4
- 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 +50 -12
- package/lib/esm/duet-hero.entry.js +4 -4
- package/lib/esm/duet-icon.entry.js +7 -7
- 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 +11 -42
- package/lib/esm/duet-modal.entry.js +39 -20
- package/lib/esm/duet-multiselect.entry.js +9 -9
- package/lib/esm/duet-nav.entry.js +3 -3
- package/lib/esm/duet-notification_2.entry.js +7 -7
- package/lib/esm/duet-number-input.entry.js +11 -7
- package/lib/esm/duet-overlay.entry.js +3 -3
- package/lib/esm/duet-page-heading.entry.js +5 -5
- package/lib/esm/duet-pagination_2.entry.js +17 -17
- 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 +4 -4
- 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 +7 -7
- 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 +8 -8
- 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 +4 -4
- 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-f1b68042.js → errorcodes.utils-f17cc5a4.js} +1 -1
- package/lib/esm/{focus-utils-b131ac81.js → focus-utils-28046c5d.js} +1 -1
- package/lib/esm/{index-822baec2.js → index-04630419.js} +5 -1
- package/lib/esm/{language-utils-2038d09e.js → language-utils-7caf2c7c.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-5410a171.js → slot-utils-e3cda10f.js} +1 -1
- package/lib/esm/{themeable-component-4e1ca2f5.js → themeable-component-ddf67193.js} +14 -2
- package/lib/esm/{token-utils-7360bb84.js → token-utils-06ae5c10.js} +103 -8
- package/lib/esm/{tokens-85fb95d1.js → tokens-57aa1508.js} +1 -1
- package/lib/esm-es5/{a11y-utils-e494647a.js → a11y-utils-87967050.js} +1 -1
- package/lib/esm-es5/{app-globals-ba36fb7c.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 +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +2 -2
- 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 +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-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 +2 -2
- 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 +1 -1
- package/lib/esm-es5/duet-toolbar-item.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +2 -2
- 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-f1b68042.js → errorcodes.utils-f17cc5a4.js} +1 -1
- package/lib/esm-es5/focus-utils-28046c5d.js +4 -0
- package/lib/esm-es5/index-04630419.js +4 -0
- package/lib/esm-es5/{language-utils-2038d09e.js → language-utils-7caf2c7c.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-5410a171.js → slot-utils-e3cda10f.js} +1 -1
- package/lib/esm-es5/themeable-component-ddf67193.js +4 -0
- package/lib/esm-es5/token-utils-06ae5c10.js +4 -0
- package/lib/esm-es5/{tokens-85fb95d1.js → tokens-57aa1508.js} +1 -1
- package/lib/types/components/duet-logo/duet-logo.d.ts +8 -0
- package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +5 -4
- 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 +112 -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-0454a8c6.entry.js +0 -4
- package/lib/duet/p-0a7ee399.js +0 -4
- package/lib/duet/p-0e7cf850.js +0 -4
- package/lib/duet/p-11f51d65.entry.js +0 -4
- package/lib/duet/p-1c8887ea.entry.js +0 -4
- package/lib/duet/p-23eb5520.entry.js +0 -4
- package/lib/duet/p-242bcacd.system.js +0 -4
- package/lib/duet/p-27219a43.js +0 -4
- package/lib/duet/p-3b7bc2eb.entry.js +0 -4
- package/lib/duet/p-437e64f1.system.entry.js +0 -4
- package/lib/duet/p-4bb9c12b.system.entry.js +0 -4
- package/lib/duet/p-4c6198ef.system.entry.js +0 -4
- package/lib/duet/p-4ca291e2.entry.js +0 -4
- package/lib/duet/p-4e9fc9dc.system.js +0 -4
- package/lib/duet/p-586ba4e6.system.entry.js +0 -4
- package/lib/duet/p-594f7ff9.entry.js +0 -4
- package/lib/duet/p-5de30279.js +0 -4
- package/lib/duet/p-6916bba8.entry.js +0 -4
- package/lib/duet/p-78376f40.system.entry.js +0 -4
- package/lib/duet/p-8d5ebdab.system.entry.js +0 -4
- package/lib/duet/p-9508ee67.system.js +0 -4
- package/lib/duet/p-9d336f77.system.js +0 -4
- package/lib/duet/p-b159c0a9.entry.js +0 -4
- package/lib/duet/p-b9189fc1.js +0 -4
- package/lib/duet/p-c1884875.entry.js +0 -4
- package/lib/duet/p-c1c77f83.entry.js +0 -4
- package/lib/duet/p-d64b13f1.system.entry.js +0 -4
- package/lib/duet/p-d80ae90e.system.js +0 -4
- package/lib/duet/p-dff0867d.system.js +0 -4
- package/lib/duet/p-f0566568.entry.js +0 -4
- package/lib/duet/p-f528fb99.entry.js +0 -4
- package/lib/duet/p-f713c32c.entry.js +0 -4
- package/lib/duet/p-feb01054.entry.js +0 -4
- package/lib/esm-es5/focus-utils-b131ac81.js +0 -4
- package/lib/esm-es5/index-822baec2.js +0 -4
- package/lib/esm-es5/themeable-component-4e1ca2f5.js +0 -4
- package/lib/esm-es5/token-utils-7360bb84.js +0 -4
|
@@ -96,10 +96,10 @@ export class DuetNotificationDrawer {
|
|
|
96
96
|
* Always the last one in the class.
|
|
97
97
|
*/
|
|
98
98
|
render() {
|
|
99
|
-
return (h("div", { key: '
|
|
99
|
+
return (h("div", { key: '8ef9649e5f79d548b8ea459e702e8cfac4fcfff4', class: {
|
|
100
100
|
"duet-drawer": true,
|
|
101
101
|
"duet-theme-turva": this.theme === "turva",
|
|
102
|
-
}, onKeyDown: this.handleKeyDown }, h("button", { key: '
|
|
102
|
+
}, onKeyDown: this.handleKeyDown }, h("button", { key: '88f5571a59e721e77c275927ba134edf616f8c2b', ref: el => (this.drawerButtonEl = el), type: "button", class: "duet-drawer-toggle", id: "duet-drawer-toggle", "aria-controls": "duet-drawer-content", "aria-expanded": this.isOpen ? "true" : "false", onClick: this.toggleMenu }, this.icon && (h("div", { key: 'ae96c1156e5f3533c6cfe14f71cb06e3d5f37dcd', class: "duet-drawer-icon" }, h("duet-icon", { key: '25623fed9e75f768b6617506af5f24d47cf491a4', margin: "none", size: "x-small", name: this.icon, color: "currentColor" }), this.badge && h("div", { key: 'b2ebd4178aa5680e97f5ff9f0b12fb6cb92b1e33', class: "duet-drawer-badge" }))), h("span", { key: '9f8446b2cbbd5041e0431b3e724364364493e773', class: "duet-drawer-label" }, this.label), h("div", { key: '162eea01bfbd402f5325b4428ca0e75d51cf1ab1', class: "duet-drawer-caret" }, h("duet-icon", { key: '93086f79bf7f637b9933ed53999718cd2797d2c2', margin: "none", size: "auto", icon: arrowDownIcon.svg, color: "currentColor" }))), h("div", { key: '106c804293207a14600e49af7f996cce568d0b5c', id: "duet-drawer-content", class: {
|
|
103
103
|
"duet-drawer-content": true,
|
|
104
104
|
"duet-drawer-right": this.direction === "right",
|
|
105
105
|
"duet-drawer-left": this.direction === "left",
|
|
@@ -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,7 +35,7 @@ export class DuetOverlay {
|
|
|
35
35
|
* Always the last one in the class.
|
|
36
36
|
*/
|
|
37
37
|
render() {
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: '1e8d70b0f9dec6f2f735f297d0a7383c56846292', "aria-hidden": "true" }, h("div", { key: '467d95faee164cb8945fb2c5ffe076a5a0b4ee8e', style: { zIndex: this.zIndex }, class: {
|
|
39
39
|
"duet-overlay": true,
|
|
40
40
|
"duet-theme-turva": this.theme === "turva",
|
|
41
41
|
"keep-stacking-context": this.keepStackingContext,
|
|
@@ -231,8 +231,19 @@
|
|
|
231
231
|
background-color: rgb(198, 12, 48);
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
+
:host(.duet-theme-turva2) .duet-page-heading.duet-theme-turva .background .background-mask {
|
|
235
|
+
background-image: none;
|
|
236
|
+
}
|
|
234
237
|
:host(.duet-theme-turva2) .duet-page-heading.duet-theme-turva .brand-shaped-icon {
|
|
235
|
-
background:
|
|
238
|
+
background: #172a3b;
|
|
239
|
+
border-radius: 16%;
|
|
240
|
+
transform: rotate(0);
|
|
241
|
+
-webkit-mask-image: none;
|
|
242
|
+
mask-image: none;
|
|
243
|
+
}
|
|
244
|
+
:host(.duet-theme-turva2) .duet-page-heading.duet-theme-turva .brand-shaped-icon duet-icon {
|
|
245
|
+
top: 0;
|
|
246
|
+
transform: rotate(0);
|
|
236
247
|
}
|
|
237
248
|
:host(.duet-theme-turva2) .duet-page-heading.duet-theme-turva .progress-step {
|
|
238
249
|
background-color: #b2c2cd;
|
|
@@ -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"; }
|
|
@@ -342,32 +342,32 @@ export class DuetPagination {
|
|
|
342
342
|
* Always the last one in the class.
|
|
343
343
|
*/
|
|
344
344
|
render() {
|
|
345
|
-
return (h(Host, { key: '
|
|
345
|
+
return (h(Host, { key: '550a0fc5ef320fe167a76073ac541e5c7d5fc906', onKeyDown: e => this.onKeyboardDown(e), class: { "duet-theme-turva": this.theme === "turva" } }, h("nav", { key: '7276d529426c05ac4586f1111615893e89192ca3', role: "navigation", "aria-labelledby": this.accessibleLabelledBy ? `${this.accessibleLabelledBy} ${this.listId}` : this.listId, "aria-describedby": this.accessibleDescribedBy ? `${this.accessibleDescribedBy} ${this.listId}` : this.listId, "aria-descriptions": this.accessibleDescription, "aria-details": this.accessibleDetails, ref: el => (this.nativeNav = el), "aria-controls": this.ariaControls, class: {
|
|
346
346
|
"duet-pagination-nav": true,
|
|
347
347
|
[`duet-pagination-variation-${this.variation}`]: true,
|
|
348
|
-
} }, this.numbersStore !== "" && (h("div", { key: '
|
|
348
|
+
} }, this.numbersStore !== "" && (h("div", { key: '6c876ae7965c0db70dfc9d4bb38185b3400fd980', "aria-live": "assertive", "aria-relevant": "text", class: "duet-pagination-overlay", "aria-label": `${this.accessibleLabels.jump_to} ${this.numbersStore}`, part: "navigation-overlay" }, h("duet-badge", { key: '491ab26e71e2274ec1f3ae9f9fa807c96c26988f', theme: this.theme }, "jump to page : ", this.numbersStore))), h("ol", { key: 'b044281e69261b30b387c5511bac3ff44cceffd3', id: this.listId, class: {
|
|
349
349
|
"duet-pagination": true,
|
|
350
350
|
"duet-pagination-is-dimmed": this.numbersStore !== "",
|
|
351
|
-
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: '
|
|
351
|
+
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: 'a6255e0ba8858f57f18821a3b1586d069e668c60', class: {
|
|
352
352
|
"duet-pagination-page-button": true,
|
|
353
353
|
"duet-pagination-button-first": true,
|
|
354
|
-
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '
|
|
354
|
+
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '8497e8b2e090635cf36df9342a57bd69f6c0ca3e', disabled: (this.internalSectionIndex === 0 && this.current <= 1) || this.disabled, "data-direction": "back", accessibleLabel: this.accessibleLabels.first_page, title: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), "icon-name": "action-move-to-first", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }))), h("li", { key: '63c11bc55792509810011a9b5998e28b806af088', class: {
|
|
355
355
|
"duet-pagination-page-button": true,
|
|
356
356
|
"duet-pagination-button-first": true,
|
|
357
|
-
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '
|
|
357
|
+
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '785127577a59b664ac24dd84ba49fa4ff766b12f', disabled: !!((this.internalSectionIndex === 0 && this.current <= 1) ||
|
|
358
358
|
(this.current <= 1 && this.processedPageLinks) ||
|
|
359
|
-
this.disabled), "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, title: this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current - 2] : undefined })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (h(Fragment, { key: '
|
|
360
|
-
this.shouldDisplayNavigation() && (h(Fragment, { key: '
|
|
359
|
+
this.disabled), "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, title: this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current - 2] : undefined })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (h(Fragment, { key: '2e20e28716d50f15ff6b3d0155503885c6d4b1f9' }, h("li", { key: 'e7ca743b6441e11f4e7ca05f2d70bd51e0d8249f', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { key: '0ca7e2d7f9b372f7e8159b415f65bb0e034b4412', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-back", "center-text": "true", variation: "plain", color: this.theme !== "turva" ? "secondary" : "secondary-turva", margin: "none", accessibleLabel: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }, h("div", { key: 'd962fe9e611a86d7a920a79844e4f218f612f2e0', class: "duet-pagination-page-number" }, "1"))), h("li", { key: '0c98e2881a6a27df7c04f39885fdb0091e576e63', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { key: '60657c4c2e7d780ba28f043a8bdb4cdd2bbe056e', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-back", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.prev_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, -1), theme: this.theme }, h("div", { key: '04541316f789326e8beab65643257d6163dc7862', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026"))))), (this.shouldDisplayNavigation() && this.renderPageNumbers()) || this.renderSelect(), (this.internalSectionIndex + 1) * this.visibleItems < this.totalPages &&
|
|
360
|
+
this.shouldDisplayNavigation() && (h(Fragment, { key: 'fd65168afa2ec2fda465bbc67f65fbbb7ef82fad' }, (this.internalSectionIndex + 1) * this.visibleItems !== this.totalPages - 1 && (h("li", { key: '16f9aaa144f051f8b69d077c82c7b1373df20533', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { key: 'cb8a5a9c94e69471f20a34674e70e5033461f6ca', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.next_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, 1), theme: this.theme }, h("div", { key: 'f0f2535ec2b567e905d09e8b53ecb0c8c8356a3c', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026")))), h("li", { key: '0b55a14d5c021e0287574d8b0087d539286d0aa2', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { key: 'ffbcc148424ed5780261538630d9bf3838fd004d', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), theme: this.theme, url: this.processedPageLinks
|
|
361
361
|
? this.processedPageLinks[this.processedPageLinks.length - 1]
|
|
362
|
-
: undefined }, h("div", { key: '
|
|
362
|
+
: undefined }, h("div", { key: 'e3555c707cce955ffa25c1a0a0f69e87b00aa930', class: "duet-pagination-page-number" }, this.totalPages))))), h("li", { key: 'afe74ceb64b04457870df86a203cead270c0a576', class: {
|
|
363
363
|
"duet-pagination-page-button": true,
|
|
364
364
|
"duet-pagination-button-last": true,
|
|
365
|
-
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '
|
|
365
|
+
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '2349f3eefaa6ffd9a681fe51fd4897e96087758e', disabled: !!((this.current === this.totalPages &&
|
|
366
366
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
367
|
-
(this.current === this.totalPages && this.processedPageLinks)) || this.disabled, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: '
|
|
367
|
+
(this.current === this.totalPages && this.processedPageLinks)) || this.disabled, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: 'b2b64a21aebddfe74abbba43fa76cc3dcbd1c1e9', class: {
|
|
368
368
|
"duet-pagination-page-button": true,
|
|
369
369
|
"duet-pagination-button-last": true,
|
|
370
|
-
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '
|
|
370
|
+
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '0d0a88080e449b5b36f8c5ac22bff1482f5bf2ac', disabled: (this.current === this.totalPages &&
|
|
371
371
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
372
372
|
this.disabled, accessibleLabel: this.accessibleLabels.last_page, title: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), "icon-name": "action-move-to-last", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.totalPages - 1] : undefined })))))));
|
|
373
373
|
}
|
|
@@ -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"; }
|