@duetds/components 10.0.0-alpha.2 → 10.0.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +818 -323
- package/lib/cjs/{a11y-utils-8177cf00.js → a11y-utils-5ac97fdd.js} +1 -1
- package/lib/cjs/{app-globals-718a3704.js → app-globals-087a6bf3.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
- package/lib/cjs/duet-alert.cjs.entry.js +3 -3
- package/lib/cjs/duet-badge.cjs.entry.js +3 -3
- package/lib/cjs/duet-banner.cjs.entry.js +4 -4
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +6 -6
- package/lib/cjs/duet-button_2.cjs.entry.js +16 -13
- package/lib/cjs/duet-callout.cjs.entry.js +4 -4
- package/lib/cjs/duet-caption_4.cjs.entry.js +17 -47
- package/lib/cjs/duet-card.cjs.entry.js +10 -7
- package/lib/cjs/duet-checkbox.cjs.entry.js +4 -4
- package/lib/cjs/duet-checkmark.cjs.entry.js +3 -3
- package/lib/cjs/duet-chip_3.cjs.entry.js +9 -9
- package/lib/cjs/duet-choice_2.cjs.entry.js +11 -11
- package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
- package/lib/cjs/duet-combobox.cjs.entry.js +3 -3
- package/lib/cjs/duet-contact-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
- package/lib/cjs/duet-date-picker.cjs.entry.js +12 -7
- package/lib/cjs/duet-divider_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +507 -14
- package/lib/cjs/duet-empty-state.cjs.entry.js +3 -3
- package/lib/cjs/duet-fieldset.cjs.entry.js +5 -5
- package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
- package/lib/cjs/duet-footer.cjs.entry.js +7 -7
- package/lib/cjs/duet-grid_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-header_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-hero.cjs.entry.js +8 -8
- package/lib/cjs/duet-icon.cjs.entry.js +6 -6
- package/lib/cjs/duet-input_2.cjs.entry.js +12 -12
- package/lib/cjs/duet-layout.cjs.entry.js +7 -7
- package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar.cjs.entry.js +4 -4
- package/lib/cjs/duet-modal.cjs.entry.js +10 -10
- package/lib/cjs/duet-multiselect.cjs.entry.js +9 -9
- package/lib/cjs/duet-nav.cjs.entry.js +2 -2
- package/lib/cjs/duet-notification_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-number-input.cjs.entry.js +5 -5
- package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
- package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
- package/lib/cjs/duet-pagination_2.cjs.entry.js +17 -17
- package/lib/cjs/duet-progress.cjs.entry.js +2 -2
- package/lib/cjs/duet-promo-card.cjs.entry.js +6 -6
- package/lib/cjs/duet-radio_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-range-slider.cjs.entry.js +6 -6
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +50 -50
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +8 -8
- package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
- package/lib/cjs/duet-show-more.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +12 -12
- package/lib/cjs/duet-slideout.cjs.entry.js +21 -18
- package/lib/cjs/duet-step_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +6 -6
- package/lib/cjs/duet-textarea.cjs.entry.js +7 -7
- package/lib/cjs/duet-toggle.cjs.entry.js +5 -5
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +7 -7
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar.cjs.entry.js +3 -3
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +6 -6
- 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 +5 -5
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-4e8a9de4.js → errorcodes.utils-62e9ce86.js} +1 -1
- package/lib/cjs/{focus-utils-2a0030aa.js → focus-utils-d551f3ab.js} +1 -1
- package/lib/cjs/{index-21e67ab3.js → index-b496e711.js} +1 -1
- package/lib/cjs/{label-2abeac23.js → label-65ad1748.js} +1 -1
- package/lib/cjs/{language-utils-b5940c7b.js → language-utils-de99a5da.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-382633cf.js → slot-utils-0a5c7c03.js} +1 -1
- package/lib/cjs/{token-utils-12717808.js → token-utils-5000595c.js} +1 -1
- package/lib/cjs/{tokens.module-46ddb47a.js → tokens.module-7c947029.js} +16 -0
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- 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.js +10 -7
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-caption/duet-caption.js +2 -2
- package/lib/collection/components/duet-card/duet-card.js +7 -4
- package/lib/collection/components/duet-checkbox/duet-checkbox.css +9 -4
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -6
- package/lib/collection/components/duet-chip/duet-chip.js +1 -1
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice/duet-choice.js +6 -6
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +7 -2
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +3 -6
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.js +4 -4
- package/lib/collection/components/duet-grid/duet-grid.js +2 -2
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
- package/lib/collection/components/duet-heading/duet-heading.js +2 -2
- package/lib/collection/components/duet-hero/duet-hero.js +7 -10
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-input/duet-input.js +6 -6
- package/lib/collection/components/duet-layout/duet-layout.js +5 -5
- package/lib/collection/components/duet-link/duet-link.css +42 -0
- package/lib/collection/components/duet-link/duet-link.js +5 -42
- package/lib/collection/components/duet-list/duet-list.js +1 -1
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.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 +6 -6
- 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 +2 -2
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -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-paragraph/duet-paragraph.js +2 -2
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.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 +2 -2
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
- package/lib/collection/components/duet-scrollable/duet-scrollable.css +44 -1
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +61 -8
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-select/duet-select.js +5 -5
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
- package/lib/collection/components/duet-slideout/duet-slideout.js +15 -12
- 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-step/duet-step.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/duet-tab.js +2 -2
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +66 -56
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +39 -40
- package/lib/collection/components/duet-table/duet-table-styles.js +499 -0
- package/lib/collection/components/duet-table/duet-table.js +5 -12
- package/lib/collection/components/duet-textarea/duet-textarea.js +3 -3
- package/lib/collection/components/duet-toggle/duet-toggle.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 +2 -2
- 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/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +4 -4
- package/lib/dist-custom-elements/duet-breadcrumb.js +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 +11 -8
- 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 +10 -10
- package/lib/dist-custom-elements/duet-choice.js +10 -10
- package/lib/dist-custom-elements/duet-collapsible.js +4 -4
- package/lib/dist-custom-elements/duet-combobox.js +14 -14
- package/lib/dist-custom-elements/duet-contact-card.js +10 -10
- package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
- package/lib/dist-custom-elements/duet-date-picker.js +19 -14
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +9 -9
- 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 +11 -11
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +8 -8
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +14 -14
- 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 +2 -2
- package/lib/dist-custom-elements/duet-layout.js +6 -6
- 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 +4 -4
- package/lib/dist-custom-elements/duet-modal.js +14 -14
- package/lib/dist-custom-elements/duet-multiselect.js +13 -13
- package/lib/dist-custom-elements/duet-nav.js +2 -2
- package/lib/dist-custom-elements/duet-notification-drawer.js +6 -6
- package/lib/dist-custom-elements/duet-notification.js +4 -4
- package/lib/dist-custom-elements/duet-number-input.js +12 -12
- 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 +24 -24
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu.js +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 +9 -9
- package/lib/dist-custom-elements/duet-radio.js +4 -4
- package/lib/dist-custom-elements/duet-range-slider.js +4 -4
- 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-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 +19 -16
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +6 -6
- 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 +40 -77
- package/lib/dist-custom-elements/duet-tab.js +4 -4
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +12 -12
- package/lib/dist-custom-elements/duet-toggle.js +3 -3
- 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 +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 +21 -21
- 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-88ed3495.js → p-0562173d.js} +2 -2
- package/lib/dist-custom-elements/{p-b4289ed0.js → p-06932c23.js} +5 -5
- package/lib/dist-custom-elements/{p-2c4fc6d3.js → p-09509e38.js} +3 -3
- package/lib/dist-custom-elements/{p-d77db171.js → p-188506d4.js} +1 -1
- package/lib/dist-custom-elements/{p-29782b53.js → p-19a763d1.js} +4 -4
- package/lib/dist-custom-elements/{p-4c1f4287.js → p-1f07910e.js} +5 -5
- package/lib/dist-custom-elements/{p-726ae243.js → p-3a8f6bf2.js} +3 -3
- package/lib/dist-custom-elements/{p-e4936fed.js → p-44f0c510.js} +12 -12
- package/lib/dist-custom-elements/{p-3b5e8904.js → p-48b9317e.js} +3 -3
- package/lib/dist-custom-elements/{p-c0a30d29.js → p-5c3b173b.js} +2 -2
- package/lib/dist-custom-elements/{p-f9994ef4.js → p-5ccb11e5.js} +4 -4
- package/lib/dist-custom-elements/{p-e5a55204.js → p-641af615.js} +12 -12
- package/lib/dist-custom-elements/{p-35ad7f77.js → p-69dae529.js} +3 -3
- package/lib/dist-custom-elements/{p-d5812145.js → p-7307e4ef.js} +2 -2
- package/lib/dist-custom-elements/p-77f4f1d9.js +642 -0
- package/lib/dist-custom-elements/{p-86f479be.js → p-7897b8a7.js} +4 -4
- package/lib/dist-custom-elements/{p-723b6358.js → p-82f4662e.js} +8 -39
- package/lib/dist-custom-elements/{p-1e88beeb.js → p-8b5ed6f5.js} +2 -2
- package/lib/dist-custom-elements/{p-5086d1a0.js → p-9263fe36.js} +2 -2
- package/lib/dist-custom-elements/{p-87b1c772.js → p-9a9bfcd7.js} +4 -4
- package/lib/dist-custom-elements/{p-a0f74881.js → p-9b7e188a.js} +7 -7
- package/lib/dist-custom-elements/{p-19172e2c.js → p-a6f6eeea.js} +4 -4
- package/lib/dist-custom-elements/{p-a9e09647.js → p-a95aa79f.js} +23 -14
- package/lib/dist-custom-elements/{p-6a285be8.js → p-b3ffc8ec.js} +2 -2
- package/lib/dist-custom-elements/{p-254d2993.js → p-b59bcc0d.js} +4 -4
- package/lib/dist-custom-elements/{p-a2b5c68e.js → p-b59d4ed8.js} +5 -5
- package/lib/dist-custom-elements/{p-3c7d413f.js → p-b605dc21.js} +3 -3
- package/lib/dist-custom-elements/p-bc8e5d5f.js +154 -0
- package/lib/dist-custom-elements/{p-fca5b65b.js → p-c5766108.js} +3 -3
- package/lib/dist-custom-elements/{p-a1e17113.js → p-ca6c91da.js} +15 -12
- package/lib/dist-custom-elements/{p-4c179c1e.js → p-cea716f7.js} +1 -1
- package/lib/dist-custom-elements/{p-d2a5148f.js → p-ceace5a5.js} +3 -3
- package/lib/dist-custom-elements/{p-64139e5c.js → p-d3f11b87.js} +3 -3
- package/lib/dist-custom-elements/{p-1df834b1.js → p-d46e8086.js} +4 -4
- package/lib/dist-custom-elements/{p-55bbb3b6.js → p-e13570ea.js} +15 -15
- package/lib/dist-custom-elements/{p-e774334b.js → p-f08fd5ce.js} +4 -4
- package/lib/dist-custom-elements/{p-56d9b926.js → p-f459d4e1.js} +3 -3
- package/lib/dist-custom-elements/{p-1f7ae97d.js → p-fa0f5c3a.js} +6 -6
- package/lib/dist-custom-elements/{p-7f69e1e3.js → p-fbf7b0a3.js} +5 -5
- package/lib/dist-custom-elements/{p-c81244d9.js → p-fc1fca67.js} +3 -3
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-7f5c1da2.entry.js → p-000e222f.entry.js} +1 -1
- package/lib/duet/{p-1183d305.system.entry.js → p-0252f72e.system.entry.js} +1 -1
- package/lib/duet/p-02ed65bb.entry.js +4 -0
- package/lib/duet/p-0591a60a.entry.js +4 -0
- package/lib/duet/{p-8ad8b9a8.entry.js → p-065b1525.entry.js} +1 -1
- package/lib/duet/{p-b865116a.entry.js → p-07ee8a5a.entry.js} +1 -1
- package/lib/duet/{p-eca1904d.system.entry.js → p-094a08cd.system.entry.js} +1 -1
- package/lib/duet/{p-9fcce08c.system.entry.js → p-0ca126ad.system.entry.js} +2 -2
- package/lib/duet/p-0d7da85a.js +4 -0
- package/lib/duet/{p-8d462e3a.system.entry.js → p-0ede7f02.system.entry.js} +1 -1
- package/lib/duet/{p-95836be2.system.entry.js → p-0ee00147.system.entry.js} +1 -1
- package/lib/duet/{p-105f1a75.entry.js → p-0f6cce6b.entry.js} +1 -1
- package/lib/duet/p-1098a40f.system.js +4 -0
- package/lib/duet/{p-8b397c1a.entry.js → p-13dc711a.entry.js} +1 -1
- package/lib/duet/{p-d3c304b5.system.js → p-149b677a.system.js} +1 -1
- package/lib/duet/{p-f78099b6.entry.js → p-150dbbea.entry.js} +1 -1
- package/lib/duet/{p-4f527f43.entry.js → p-169b720a.entry.js} +1 -1
- package/lib/duet/{p-bc6e219f.system.entry.js → p-16d57da2.system.entry.js} +1 -1
- package/lib/duet/{p-7fe5e0dc.system.entry.js → p-1721c077.system.entry.js} +1 -1
- package/lib/duet/p-19119130.entry.js +4 -0
- package/lib/duet/p-1a570ee1.system.entry.js +4 -0
- package/lib/duet/p-1ac41e38.entry.js +4 -0
- package/lib/duet/{p-435a217b.entry.js → p-1bd826bf.entry.js} +1 -1
- package/lib/duet/{p-e5cb7fc9.entry.js → p-1e0cebdf.entry.js} +1 -1
- package/lib/duet/p-1e5e00f9.entry.js +4 -0
- package/lib/duet/{p-7606ec6c.system.entry.js → p-1feb6b08.system.entry.js} +1 -1
- package/lib/duet/{p-d85741b1.entry.js → p-20fd92d9.entry.js} +1 -1
- package/lib/duet/{p-376a0839.system.entry.js → p-23e0edcb.system.entry.js} +1 -1
- package/lib/duet/{p-705c5299.entry.js → p-23f70a40.entry.js} +1 -1
- package/lib/duet/{p-319e77d6.entry.js → p-25953772.entry.js} +1 -1
- package/lib/duet/{p-c6617f16.entry.js → p-26807a70.entry.js} +1 -1
- package/lib/duet/{p-8f31572d.system.entry.js → p-268864c3.system.entry.js} +1 -1
- package/lib/duet/{p-032fbfa1.system.entry.js → p-2bd1ad09.system.entry.js} +1 -1
- package/lib/duet/{p-02200dcc.entry.js → p-2dcfcae6.entry.js} +1 -1
- package/lib/duet/{p-a19244e5.system.js → p-2e0eb8a4.system.js} +1 -1
- package/lib/duet/{p-3b3c341e.system.entry.js → p-3170270d.system.entry.js} +1 -1
- package/lib/duet/{p-605e69c8.system.js → p-32a09a31.system.js} +1 -1
- package/lib/duet/{p-76d69a18.system.js → p-35a1ffee.system.js} +1 -1
- package/lib/duet/{p-df19c239.system.entry.js → p-3a1eeb98.system.entry.js} +1 -1
- package/lib/duet/{p-f2f1e0e9.entry.js → p-3a76a6b7.entry.js} +1 -1
- package/lib/duet/{p-ca691c4a.entry.js → p-3b807b7b.entry.js} +1 -1
- package/lib/duet/{p-a437992b.system.entry.js → p-3d6d7bad.system.entry.js} +1 -1
- package/lib/duet/{p-14bae734.system.entry.js → p-3d96fc7c.system.entry.js} +1 -1
- package/lib/duet/p-3e39a663.system.entry.js +4 -0
- package/lib/duet/{p-3b8dbebe.system.entry.js → p-3ee6543a.system.entry.js} +1 -1
- package/lib/duet/{p-97ec270c.entry.js → p-3f4ee42c.entry.js} +1 -1
- package/lib/duet/{p-eb0d15a0.system.entry.js → p-410f94e9.system.entry.js} +1 -1
- package/lib/duet/p-477a0ad7.system.entry.js +4 -0
- package/lib/duet/{p-e2daf94c.entry.js → p-4816c631.entry.js} +1 -1
- package/lib/duet/{p-d5dfa70d.system.entry.js → p-4a96a1cc.system.entry.js} +1 -1
- package/lib/duet/{p-a23eec0f.entry.js → p-4ac45e30.entry.js} +1 -1
- package/lib/duet/{p-0937f800.system.entry.js → p-4ba72133.system.entry.js} +1 -1
- package/lib/duet/{p-066b94ca.entry.js → p-4c30f1b5.entry.js} +1 -1
- package/lib/duet/{p-d62da84e.system.entry.js → p-4cd00958.system.entry.js} +1 -1
- package/lib/duet/{p-cbbf6d6a.system.js → p-4cff3036.system.js} +1 -1
- package/lib/duet/{p-abec198c.system.entry.js → p-4dcf7aab.system.entry.js} +1 -1
- package/lib/duet/{p-2437b4cb.js → p-51b2f340.js} +1 -1
- package/lib/duet/{p-2fa7ecef.entry.js → p-51b8e39a.entry.js} +1 -1
- package/lib/duet/{p-67dd83cc.entry.js → p-529bb649.entry.js} +1 -1
- package/lib/duet/{p-3d794db6.system.entry.js → p-539ee8e9.system.entry.js} +1 -1
- package/lib/duet/{p-0458abd0.system.entry.js → p-53b490bf.system.entry.js} +1 -1
- package/lib/duet/{p-265fdd97.system.entry.js → p-5428f3f5.system.entry.js} +1 -1
- package/lib/duet/{p-68fd5f9a.entry.js → p-547f2129.entry.js} +1 -1
- package/lib/duet/{p-f43e134e.system.entry.js → p-54a3643a.system.entry.js} +1 -1
- package/lib/duet/p-55309597.system.entry.js +4 -0
- package/lib/duet/{p-2af9e483.entry.js → p-57930d52.entry.js} +1 -1
- package/lib/duet/{p-6f285100.system.entry.js → p-57ab6af5.system.entry.js} +1 -1
- package/lib/duet/{p-3cd80f60.system.entry.js → p-58ea29ca.system.entry.js} +1 -1
- package/lib/duet/{p-27a43e79.entry.js → p-59435e55.entry.js} +1 -1
- package/lib/duet/{p-f8b6380d.entry.js → p-5acb3f21.entry.js} +1 -1
- package/lib/duet/{p-ed6a110f.system.entry.js → p-5ca36d56.system.entry.js} +1 -1
- package/lib/duet/{p-c7ecec29.entry.js → p-5dea17eb.entry.js} +1 -1
- package/lib/duet/{p-07200cbb.entry.js → p-5e234865.entry.js} +1 -1
- package/lib/duet/{p-3cd483ab.entry.js → p-5e780477.entry.js} +1 -1
- package/lib/duet/{p-502bf069.entry.js → p-5ebe5e38.entry.js} +1 -1
- package/lib/duet/{p-2034ac6f.system.entry.js → p-602843ca.system.entry.js} +1 -1
- package/lib/duet/{p-3ab3a8c6.entry.js → p-60d2344e.entry.js} +1 -1
- package/lib/duet/{p-58f6b887.system.entry.js → p-645cfb68.system.entry.js} +2 -2
- package/lib/duet/{p-d7d86092.js → p-6817c980.js} +1 -1
- package/lib/duet/{p-2af3edb3.system.entry.js → p-68209f39.system.entry.js} +2 -2
- package/lib/duet/{p-639def3e.system.entry.js → p-6898b482.system.entry.js} +1 -1
- package/lib/duet/p-6a263519.entry.js +4 -0
- package/lib/duet/{p-042576d6.system.entry.js → p-6a30f4a1.system.entry.js} +1 -1
- package/lib/duet/{p-e95e650d.system.entry.js → p-6c10d77d.system.entry.js} +1 -1
- package/lib/duet/{p-7813d124.system.entry.js → p-6e72268d.system.entry.js} +1 -1
- package/lib/duet/{p-947ceeb6.system.entry.js → p-6fe2f15f.system.entry.js} +1 -1
- package/lib/duet/p-6fe8172a.entry.js +4 -0
- package/lib/duet/p-735aecee.system.entry.js +4 -0
- package/lib/duet/{p-cef3ec26.entry.js → p-74f62fcc.entry.js} +1 -1
- package/lib/duet/{p-38908608.system.entry.js → p-751e58ce.system.entry.js} +1 -1
- package/lib/duet/{p-8ceddf7a.entry.js → p-76a9c7a5.entry.js} +1 -1
- package/lib/duet/{p-1d016525.system.entry.js → p-76ce944a.system.entry.js} +1 -1
- package/lib/duet/{p-a51f3a0b.entry.js → p-78368247.entry.js} +1 -1
- package/lib/duet/p-79bdb03d.entry.js +4 -0
- package/lib/duet/{p-0ecb70e0.system.entry.js → p-79e58ba1.system.entry.js} +2 -2
- package/lib/duet/{p-8abb0984.js → p-7a75bff7.js} +1 -1
- package/lib/duet/p-7b47d427.entry.js +4 -0
- package/lib/duet/{p-86176559.entry.js → p-7ee6ca05.entry.js} +1 -1
- package/lib/duet/{p-87e96a18.system.entry.js → p-80d8a60b.system.entry.js} +1 -1
- package/lib/duet/{p-1e17463d.system.js → p-81835239.system.js} +1 -1
- package/lib/duet/p-85e7cc53.entry.js +4 -0
- package/lib/duet/{p-d41543d3.entry.js → p-863b96d9.entry.js} +1 -1
- package/lib/duet/{p-f0fa9c9a.system.entry.js → p-885bdca8.system.entry.js} +1 -1
- package/lib/duet/{p-fdb3098f.system.entry.js → p-88f8dcab.system.entry.js} +1 -1
- package/lib/duet/{p-c551216e.system.entry.js → p-8bee9cd3.system.entry.js} +1 -1
- package/lib/duet/{p-c6995496.system.entry.js → p-8c0a6ad4.system.entry.js} +1 -1
- package/lib/duet/{p-ab4c886f.system.entry.js → p-8c7b6794.system.entry.js} +1 -1
- package/lib/duet/{p-7acabaa7.system.js → p-8e540cf9.system.js} +1 -1
- package/lib/duet/{p-84bfc619.system.entry.js → p-8f2cac21.system.entry.js} +1 -1
- package/lib/duet/{p-5e6b91f6.entry.js → p-8fe4cb7b.entry.js} +1 -1
- package/lib/duet/{p-e797e2f4.system.entry.js → p-915b2385.system.entry.js} +1 -1
- package/lib/duet/{p-b0b00dad.system.entry.js → p-942d73b3.system.entry.js} +1 -1
- package/lib/duet/{p-03af0f0d.system.entry.js → p-97406378.system.entry.js} +1 -1
- package/lib/duet/{p-a2b93336.system.entry.js → p-99c527c4.system.entry.js} +1 -1
- package/lib/duet/{p-77e70fca.entry.js → p-99d8e4b1.entry.js} +1 -1
- package/lib/duet/{p-772dbed5.entry.js → p-9a3a1129.entry.js} +1 -1
- package/lib/duet/p-9bcd8d52.system.js +4 -0
- package/lib/duet/{p-27ed5ca7.system.entry.js → p-9c9e3bf3.system.entry.js} +1 -1
- package/lib/duet/{p-bed279f6.entry.js → p-9cc7444d.entry.js} +1 -1
- package/lib/duet/{p-63016bc3.entry.js → p-9cdabda3.entry.js} +1 -1
- package/lib/duet/p-9d6cf60e.entry.js +4 -0
- package/lib/duet/{p-1da5945a.system.entry.js → p-9e014353.system.entry.js} +1 -1
- package/lib/duet/p-a030ecff.entry.js +4 -0
- package/lib/duet/{p-53366e23.entry.js → p-a49aa1e4.entry.js} +1 -1
- package/lib/duet/{p-e7558f6c.entry.js → p-a6ca2484.entry.js} +1 -1
- package/lib/duet/{p-8ff30ce6.system.entry.js → p-abb0f090.system.entry.js} +1 -1
- package/lib/duet/{p-8440bd4f.entry.js → p-af086dc4.entry.js} +1 -1
- package/lib/duet/{p-3b3432e2.system.entry.js → p-b065a169.system.entry.js} +1 -1
- package/lib/duet/p-b4f3e81a.js +4 -0
- package/lib/duet/{p-38685b43.system.entry.js → p-b5ce0b66.system.entry.js} +1 -1
- package/lib/duet/{p-d04dbf1f.system.entry.js → p-b6689aeb.system.entry.js} +1 -1
- package/lib/duet/{p-ffe6fbbb.entry.js → p-b7247c4a.entry.js} +1 -1
- package/lib/duet/p-b909d55e.system.entry.js +4 -0
- package/lib/duet/p-ba03d034.system.js +4 -0
- package/lib/duet/{p-ed17957c.system.entry.js → p-c31aff06.system.entry.js} +2 -2
- package/lib/duet/{p-3987eed8.system.entry.js → p-c4b27218.system.entry.js} +1 -1
- package/lib/duet/{p-807bf6da.system.entry.js → p-c4cd0199.system.entry.js} +1 -1
- package/lib/duet/{p-2b6a7397.js → p-c553a49a.js} +1 -1
- package/lib/duet/{p-77b21edc.entry.js → p-c59bc2db.entry.js} +1 -1
- package/lib/duet/{p-70651da4.system.entry.js → p-c64eb22a.system.entry.js} +1 -1
- package/lib/duet/{p-e283e9fe.entry.js → p-c86a2ae1.entry.js} +1 -1
- package/lib/duet/p-c8bd1ccb.entry.js +4 -0
- package/lib/duet/{p-4eb70cc2.system.entry.js → p-c90242c5.system.entry.js} +1 -1
- package/lib/duet/{p-10c530d1.js → p-cc67e773.js} +1 -1
- package/lib/duet/{p-dc4b5372.system.entry.js → p-cc70a233.system.entry.js} +1 -1
- package/lib/duet/{p-ffd1290e.system.entry.js → p-cc8d3ed0.system.entry.js} +1 -1
- package/lib/duet/{p-bf5c8102.entry.js → p-cd9f1743.entry.js} +1 -1
- package/lib/duet/{p-17aa3a20.entry.js → p-cfa7d3f2.entry.js} +1 -1
- package/lib/duet/{p-4f212753.entry.js → p-d07788a4.entry.js} +1 -1
- package/lib/duet/{p-328d9919.system.entry.js → p-d146e39b.system.entry.js} +1 -1
- package/lib/duet/{p-7cce22af.system.js → p-d41e4088.system.js} +1 -1
- package/lib/duet/{p-824d882f.entry.js → p-d4ccd7cd.entry.js} +1 -1
- package/lib/duet/{p-7512d569.entry.js → p-d71ee4e2.entry.js} +1 -1
- package/lib/duet/{p-48618d75.entry.js → p-d8e196af.entry.js} +1 -1
- package/lib/duet/{p-7a25f374.entry.js → p-dd7fb771.entry.js} +1 -1
- package/lib/duet/{p-b0d79ffe.entry.js → p-de4bf9cc.entry.js} +1 -1
- package/lib/duet/{p-88fe57e8.system.entry.js → p-e033daf1.system.entry.js} +1 -1
- package/lib/duet/{p-084ab781.entry.js → p-e0f5fed4.entry.js} +1 -1
- package/lib/duet/{p-d42b2af0.entry.js → p-e2c7e2d3.entry.js} +1 -1
- package/lib/duet/{p-7b8b93c3.entry.js → p-e385f91d.entry.js} +1 -1
- package/lib/duet/{p-472b3fbd.entry.js → p-e395172c.entry.js} +1 -1
- package/lib/duet/{p-26d1dc6c.system.entry.js → p-e4b4cb3c.system.entry.js} +1 -1
- package/lib/duet/{p-4bd72541.entry.js → p-e57690a5.entry.js} +1 -1
- package/lib/duet/{p-3b281171.entry.js → p-e7596a00.entry.js} +1 -1
- package/lib/duet/{p-8520e026.system.entry.js → p-ea4c67d7.system.entry.js} +1 -1
- package/lib/duet/{p-bbeafbd0.entry.js → p-eb00f684.entry.js} +1 -1
- package/lib/duet/p-ec87c2c0.entry.js +4 -0
- package/lib/duet/{p-eca03d5e.js → p-ecf89776.js} +1 -1
- package/lib/duet/p-f0d3cbf0.entry.js +4 -0
- package/lib/duet/{p-8c9eb171.js → p-f2462d98.js} +1 -1
- package/lib/duet/{p-1fd3ec9e.system.entry.js → p-f3e11ae2.system.entry.js} +1 -1
- package/lib/duet/{p-020be412.system.entry.js → p-f4cd0368.system.entry.js} +1 -1
- package/lib/duet/{p-274473a3.system.entry.js → p-f609ba36.system.entry.js} +1 -1
- package/lib/duet/{p-20213e01.system.entry.js → p-f64fe362.system.entry.js} +1 -1
- package/lib/duet/{p-009c7325.entry.js → p-f691b978.entry.js} +1 -1
- package/lib/duet/{p-bbb56267.entry.js → p-f8956559.entry.js} +1 -1
- package/lib/duet/{p-d62b6ca1.system.entry.js → p-fb8e8fbf.system.entry.js} +2 -2
- package/lib/duet/{p-2eae4a0b.js → p-fbc347fd.js} +1 -1
- package/lib/duet/{p-9dda3449.system.entry.js → p-fcd4f841.system.entry.js} +1 -1
- package/lib/esm/{a11y-utils-8fc393f6.js → a11y-utils-c52606bf.js} +1 -1
- package/lib/esm/{app-globals-00959ca9.js → app-globals-18e70157.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +4 -4
- package/lib/esm/duet-alert.entry.js +3 -3
- package/lib/esm/duet-badge.entry.js +3 -3
- package/lib/esm/duet-banner.entry.js +4 -4
- package/lib/esm/duet-breadcrumb.entry.js +6 -6
- package/lib/esm/duet-breadcrumbs.entry.js +6 -6
- package/lib/esm/duet-button_2.entry.js +16 -13
- package/lib/esm/duet-callout.entry.js +4 -4
- package/lib/esm/duet-caption_4.entry.js +17 -47
- package/lib/esm/duet-card.entry.js +10 -7
- package/lib/esm/duet-checkbox.entry.js +4 -4
- package/lib/esm/duet-checkmark.entry.js +3 -3
- package/lib/esm/duet-chip_3.entry.js +9 -9
- package/lib/esm/duet-choice_2.entry.js +11 -11
- package/lib/esm/duet-collapsible.entry.js +4 -4
- package/lib/esm/duet-combobox.entry.js +3 -3
- package/lib/esm/duet-contact-card.entry.js +4 -4
- package/lib/esm/duet-cookie-consent.entry.js +2 -2
- package/lib/esm/duet-date-picker.entry.js +12 -7
- package/lib/esm/duet-divider_2.entry.js +5 -5
- package/lib/esm/duet-editable-table_3.entry.js +507 -14
- package/lib/esm/duet-empty-state.entry.js +3 -3
- package/lib/esm/duet-fieldset.entry.js +5 -5
- package/lib/esm/duet-file-chooser.entry.js +2 -2
- package/lib/esm/duet-footer.entry.js +7 -7
- package/lib/esm/duet-grid_2.entry.js +5 -5
- package/lib/esm/duet-header_2.entry.js +4 -4
- package/lib/esm/duet-hero.entry.js +8 -8
- package/lib/esm/duet-icon.entry.js +6 -6
- package/lib/esm/duet-input_2.entry.js +12 -12
- package/lib/esm/duet-layout.entry.js +7 -7
- package/lib/esm/duet-list_2.entry.js +4 -4
- package/lib/esm/duet-menu-bar-button.entry.js +3 -3
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar-dropdown.entry.js +5 -5
- package/lib/esm/duet-menu-bar-item.entry.js +6 -6
- package/lib/esm/duet-menu-bar-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar.entry.js +4 -4
- package/lib/esm/duet-modal.entry.js +10 -10
- package/lib/esm/duet-multiselect.entry.js +9 -9
- package/lib/esm/duet-nav.entry.js +2 -2
- package/lib/esm/duet-notification_2.entry.js +6 -6
- package/lib/esm/duet-number-input.entry.js +5 -5
- package/lib/esm/duet-overlay.entry.js +2 -2
- package/lib/esm/duet-page-heading.entry.js +3 -3
- package/lib/esm/duet-pagination_2.entry.js +17 -17
- package/lib/esm/duet-progress.entry.js +2 -2
- package/lib/esm/duet-promo-card.entry.js +6 -6
- package/lib/esm/duet-radio_2.entry.js +6 -6
- package/lib/esm/duet-range-slider.entry.js +6 -6
- package/lib/esm/duet-scrollable_3.entry.js +50 -50
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +8 -8
- package/lib/esm/duet-shaped-image.entry.js +3 -3
- package/lib/esm/duet-show-more.entry.js +4 -4
- package/lib/esm/duet-slideout-lang.entry.js +3 -3
- package/lib/esm/duet-slideout-link.entry.js +3 -3
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +5 -5
- package/lib/esm/duet-slideout-panel.entry.js +12 -12
- package/lib/esm/duet-slideout.entry.js +21 -18
- package/lib/esm/duet-step_2.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +5 -5
- package/lib/esm/duet-submenu-bar-item.entry.js +5 -5
- package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar.entry.js +6 -6
- package/lib/esm/duet-textarea.entry.js +7 -7
- package/lib/esm/duet-toggle.entry.js +5 -5
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-toolbar-dropdown.entry.js +5 -5
- package/lib/esm/duet-toolbar-item.entry.js +7 -7
- package/lib/esm/duet-toolbar-link.entry.js +3 -3
- package/lib/esm/duet-toolbar.entry.js +3 -3
- package/lib/esm/duet-tooltip-button_2.entry.js +6 -6
- 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 +5 -5
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-d9431251.js → errorcodes.utils-e12abdc5.js} +1 -1
- package/lib/esm/{focus-utils-adcd9463.js → focus-utils-4226b57a.js} +1 -1
- package/lib/esm/{index-1d0b7c66.js → index-4b4e4ec8.js} +1 -1
- package/lib/esm/{label-ce262202.js → label-a30d1f04.js} +1 -1
- package/lib/esm/{language-utils-14969cef.js → language-utils-1b413a6b.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-4e5ed4eb.js → slot-utils-ae4dc467.js} +1 -1
- package/lib/esm/{token-utils-a32eb753.js → token-utils-b9ba8c5e.js} +1 -1
- package/lib/esm/{tokens.module-a746651a.js → tokens.module-2d02f5ff.js} +1 -1
- package/lib/esm-es5/{a11y-utils-8fc393f6.js → a11y-utils-c52606bf.js} +1 -1
- package/lib/esm-es5/{app-globals-00959ca9.js → app-globals-18e70157.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 +2 -2
- package/lib/esm-es5/duet-card.entry.js +2 -2
- package/lib/esm-es5/duet-checkbox.entry.js +2 -2
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip_3.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +2 -2
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +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-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 +2 -2
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +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 +2 -2
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-item.entry.js +2 -2
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-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 +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-d9431251.js → errorcodes.utils-e12abdc5.js} +1 -1
- package/lib/esm-es5/focus-utils-4226b57a.js +4 -0
- package/lib/esm-es5/{index-1d0b7c66.js → index-4b4e4ec8.js} +1 -1
- package/lib/esm-es5/{label-ce262202.js → label-a30d1f04.js} +1 -1
- package/lib/esm-es5/{language-utils-14969cef.js → language-utils-1b413a6b.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-4e5ed4eb.js → slot-utils-ae4dc467.js} +1 -1
- package/lib/esm-es5/{token-utils-a32eb753.js → token-utils-b9ba8c5e.js} +1 -1
- package/lib/esm-es5/{tokens.module-a746651a.js → tokens.module-2d02f5ff.js} +1 -1
- package/lib/types/components/duet-hero/duet-hero.d.ts +1 -2
- package/lib/types/components/duet-link/duet-link.d.ts +0 -7
- package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +8 -0
- package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +9 -4
- package/lib/types/components/duet-table/duet-table-styles.d.ts +1 -0
- package/lib/types/components.d.ts +12 -6
- package/package.json +3 -3
- package/lib/collection/components/duet-table/duet-table.css +0 -365
- package/lib/dist-custom-elements/p-5fbb6039.js +0 -154
- package/lib/dist-custom-elements/p-ffa44070.js +0 -148
- package/lib/duet/p-0c4aa4d0.system.entry.js +0 -4
- package/lib/duet/p-1004af75.js +0 -4
- package/lib/duet/p-150e5f1b.entry.js +0 -4
- package/lib/duet/p-23376e2a.entry.js +0 -4
- package/lib/duet/p-29672737.entry.js +0 -4
- package/lib/duet/p-2c9a6e05.entry.js +0 -4
- package/lib/duet/p-3f97122e.system.entry.js +0 -4
- package/lib/duet/p-4289f34a.entry.js +0 -4
- package/lib/duet/p-50ca9099.system.entry.js +0 -4
- package/lib/duet/p-5db9497a.entry.js +0 -4
- package/lib/duet/p-61a93486.system.entry.js +0 -4
- package/lib/duet/p-6c25b6a4.system.entry.js +0 -4
- package/lib/duet/p-716865fe.entry.js +0 -4
- package/lib/duet/p-7af3fb35.entry.js +0 -4
- package/lib/duet/p-806adaa3.entry.js +0 -4
- package/lib/duet/p-851e1a0f.entry.js +0 -4
- package/lib/duet/p-88d8265d.entry.js +0 -4
- package/lib/duet/p-965e597c.system.js +0 -4
- package/lib/duet/p-a48acf0f.system.entry.js +0 -4
- package/lib/duet/p-c1b1801d.entry.js +0 -4
- package/lib/duet/p-cdb6c612.entry.js +0 -4
- package/lib/duet/p-d3aa7a74.entry.js +0 -4
- package/lib/duet/p-dfef2cbe.entry.js +0 -4
- package/lib/duet/p-e1c881da.system.js +0 -4
- package/lib/duet/p-ef731dfb.system.js +0 -4
- package/lib/duet/p-fd78f61a.js +0 -4
- package/lib/esm-es5/focus-utils-adcd9463.js +0 -4
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement, F as Fragment } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement, F as Fragment } from './index-4b4e4ec8.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
6
|
import { s as sanitizeString } from './string-utils-192eb3c8.js';
|
|
7
|
-
import { g as getColorByName
|
|
7
|
+
import { g as getColorByName } from './token-utils-b9ba8c5e.js';
|
|
8
8
|
import { a as actionNewWindowSmall } from './action-new-window-small-1945be91.js';
|
|
9
9
|
import { D as DuetStringsExternalDefaults, c as DuetStringsDownloadLinkDefaults } from './common-strings-af765cad.js';
|
|
10
|
-
import { g as getAccessibleLinkLabel } from './a11y-utils-
|
|
11
|
-
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-
|
|
10
|
+
import { g as getAccessibleLinkLabel } from './a11y-utils-c52606bf.js';
|
|
11
|
+
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-1b413a6b.js';
|
|
12
12
|
import { c as createID } from './create-id-149a1b6d.js';
|
|
13
|
-
import './tokens.module-
|
|
14
|
-
import './slot-utils-
|
|
13
|
+
import './tokens.module-2d02f5ff.js';
|
|
14
|
+
import './slot-utils-ae4dc467.js';
|
|
15
15
|
|
|
16
16
|
const duetCaptionCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:flex;flex:0 0 100%;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(98, 121, 138);vertical-align:top}:host.duet-p-0{padding:0 !important}:host.duet-m-0{margin:0 !important}:host(.duet-caption-small){font-size:0.875rem;line-height:1.25}:host(.duet-theme-turva){font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(143, 147, 158)}:host(.duet-caption-selected){color:rgb(0, 119, 179)}:host(.duet-caption-selected.duet-theme-turva){color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}";
|
|
17
17
|
const DuetCaptionStyle0 = duetCaptionCss;
|
|
@@ -35,13 +35,13 @@ const DuetCaption = class {
|
|
|
35
35
|
* Always the last one in the class.
|
|
36
36
|
*/
|
|
37
37
|
render() {
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: 'cefb662c677d5a45cc8e007a68ab67b0698ce2ee', class: {
|
|
39
39
|
"duet-caption": true,
|
|
40
40
|
"duet-caption-selected": this.selected,
|
|
41
41
|
"duet-caption-small": this.size === "small",
|
|
42
42
|
"duet-theme-turva": this.theme === "turva",
|
|
43
43
|
"duet-m-0": this.margin === "none",
|
|
44
|
-
} }, h("slot", { key: '
|
|
44
|
+
} }, h("slot", { key: '4a38bee52925d9c7db4473dd0e5bc92797b0b058' })));
|
|
45
45
|
}
|
|
46
46
|
get element() { return getElement(this); }
|
|
47
47
|
};
|
|
@@ -76,7 +76,7 @@ const DuetHeading = class {
|
|
|
76
76
|
render() {
|
|
77
77
|
const TagName = sanitizeString(this.level);
|
|
78
78
|
const color = getColorByName(this.color);
|
|
79
|
-
return (h(TagName, { key: '
|
|
79
|
+
return (h(TagName, { key: '639aa76baa836dd1154030602e491d5592976e29', class: {
|
|
80
80
|
"duet-heading": true,
|
|
81
81
|
"duet-heading-border": this.border !== false,
|
|
82
82
|
"duet-heading-border-solid": this.border === "solid",
|
|
@@ -87,7 +87,7 @@ const DuetHeading = class {
|
|
|
87
87
|
[this.visualLevel ? this.visualLevel : this.level]: true,
|
|
88
88
|
"duet-theme-turva": this.theme === "turva",
|
|
89
89
|
"fixed-size": this.fixedSize,
|
|
90
|
-
}, style: { color }, part: "duet-heading" }, h("slot", { key: '
|
|
90
|
+
}, style: { color }, part: "duet-heading" }, h("slot", { key: '99875cdb1ebbbee0ac5a3b7821dcb8504f2f8bb9' })));
|
|
91
91
|
}
|
|
92
92
|
get element() { return getElement(this); }
|
|
93
93
|
};
|
|
@@ -99,7 +99,7 @@ var actionDownloadSmall={"title":"action-download-small","tags":"action download
|
|
|
99
99
|
|
|
100
100
|
var actionNewWindow={"title":"action-new-window","tags":"arrow open new window tab external link square box rectangle action","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M10.25 2a.75.75 0 1 1 0 1.5h-6.5A2.252 2.252 0 0 0 1.5 5.75v14.5a2.252 2.252 0 0 0 2.25 2.25h14.5a2.252 2.252 0 0 0 2.25-2.25v-6.5a.75.75 0 0 1 1.5 0v6.5A3.754 3.754 0 0 1 18.25 24H3.75A3.754 3.754 0 0 1 0 20.25V5.75A3.754 3.754 0 0 1 3.75 2zm12.985-2c.1 0 .198.02.29.058l.025.011a.726.726 0 0 1 .15.091l.066.059a.755.755 0 0 1 .109.138l.051.1c.04.092.06.192.06.293l-.001 6.363c0 .2-.078.389-.22.53a.743.743 0 0 1-.53.22.743.743 0 0 1-.53-.22.743.743 0 0 1-.22-.53V2.559L15.28 9.764a.75.75 0 0 1-1.06-1.06l7.204-7.205h-4.553a.744.744 0 0 1-.75-.75c0-.2.078-.388.22-.53A.743.743 0 0 1 16.87 0z\"/></svg>"};
|
|
101
101
|
|
|
102
|
-
const duetLinkCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline}:host(.duet-link-block){display:block}:host(.duet-link-button){margin-right:8px !important;margin-bottom:12px !important;display:inline-block;width:100%}:host(.duet-link-button):last-child,:host(.duet-link-button):last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-link{display:inline;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;font-weight:400;color:rgb(0, 97, 155);text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}.duet-theme-turva .duet-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-link.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(164, 4, 40)}.duet-link:hover{color:rgb(0, 75, 129);text-decoration:none}.duet-link:hover.duet-theme-turva{color:rgb(126, 2, 35)}.duet-link:active{opacity:0.75;transition:none}button{font-size:inherit;cursor:pointer}.duet-link-is-external.duet-link:not(.block,.button,.card),.duet-link-is-download.duet-link:not(.block,.button,.card){text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-content{text-decoration:underline}.duet-link-is-external.duet-link:not(.block,.button,.card):hover>.duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card):hover>.duet-link-content{text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-icon-tail,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-icon-tail{text-decoration:none;white-space:nowrap}.duet-tab-to-link{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:rgb(0, 119, 179);text-align:center;text-decoration:none;background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:none}.duet-tab-to-link.duet-theme-turva{min-width:120px;color:rgb(23, 28, 58)}@media (min-width: 106.25em){.duet-tab-to-link{margin-left:20px}}.duet-tab-to-link:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}.block.duet-link{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:start;padding:16px;font-weight:600;color:rgb(8, 42, 77);text-decoration:none}.block.duet-link.duet-link-has-icon{grid-template-columns:auto 1fr auto}.block.duet-link.none{padding:0}.block .block__icon{display:flex}.block .block__content{position:relative;bottom:2px}.block .block__chevron{align-self:center}.block .block__chevron-icon{transition:300ms ease}.block:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.button,.duet-link.card{display:flex;gap:12px;align-items:center;width:100%;min-height:48px;padding:14px 16px;line-height:1.25;text-decoration:none;background-color:rgb(255, 255, 255);border:solid 1px rgb(181, 198, 208);border-radius:12px;outline:0 solid rgb(181, 198, 208);outline-offset:-2px;transition:all 300ms ease}.duet-link.button>*,.duet-link.card>*{flex-shrink:0}.duet-link.button .duet-link-content,.duet-link.card .duet-link-content{flex-grow:1;flex-shrink:1;font-size:1rem;font-weight:600;color:rgb(8, 42, 77);text-align:left}.duet-link.button .icon-wrap,.duet-link.card .icon-wrap{display:flex;align-items:center;justify-content:center}.duet-link.button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{min-height:60px;padding:12px;padding-right:20px;line-height:1.5}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:36px;height:36px;border-radius:8px}.duet-link.button:hover,.duet-link.card:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179)}@media (min-width: 48em){.duet-link.button,.duet-link.card{min-height:50px}.duet-link.button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{gap:16px;min-height:72px;border-radius:16px}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.button.duet-link-has-icon-background .duet-link-content,.duet-link.card.duet-link-has-icon-background .duet-link-content{font-size:1.1rem}}.duet-link.button.duet-theme-turva,.duet-link.card.duet-theme-turva{border-color:rgb(199, 202, 207)}.duet-link.button.duet-theme-turva .duet-link-content,.duet-link.card.duet-theme-turva .duet-link-content{color:rgb(23, 28, 58)}.duet-link.button.duet-theme-turva:hover,.duet-link.card.duet-theme-turva:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-link.button .block__chevron-icon,.duet-link.card .block__chevron-icon{transition:300ms ease}.duet-link.button:not(.duet-link-is-external):hover .block__chevron-icon,.duet-link.card:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.card{border-color:rgb(228, 236, 239);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-link.card.duet-theme-turva{border-color:rgb(234, 235, 239);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13)}.duet-link.card:not(.duet-link-has-icon){gap:12px;padding:16px}.duet-link.card .chevron-wrap{display:flex;align-items:center;height:100%}.duet-link.card.duet-link-has-icon{gap:12px;align-items:flex-start;padding:16px}.duet-link.card.duet-link-has-icon .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:48px}@media (min-width: 48em){.duet-link.card:not(.duet-link-has-icon){gap:20px;padding:24px}.duet-link.card.duet-link-has-icon{gap:20px;padding:24px}.duet-link.card.duet-link-has-icon .icon-wrap{width:62px;height:62px;border-radius:16px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:62px}}";
|
|
102
|
+
const duetLinkCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline}:host(.duet-link-block){display:block}:host(.duet-link-button){margin-right:8px !important;margin-bottom:12px !important;display:inline-block;width:100%}:host(.duet-link-button):last-child,:host(.duet-link-button):last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-link{display:inline;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;font-weight:400;color:rgb(0, 97, 155);text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}.duet-theme-turva .duet-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-link.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(164, 4, 40)}.duet-link:hover{color:rgb(0, 75, 129);text-decoration:none}.duet-link:hover.duet-theme-turva{color:rgb(126, 2, 35)}.duet-link:active{opacity:0.75;transition:none}button{font-size:inherit;cursor:pointer}.duet-link-is-external.duet-link:not(.block,.button,.card),.duet-link-is-download.duet-link:not(.block,.button,.card){text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-content{text-decoration:underline}.duet-link-is-external.duet-link:not(.block,.button,.card):hover>.duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card):hover>.duet-link-content{text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-icon-tail,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-icon-tail{text-decoration:none;white-space:nowrap}.duet-tab-to-link{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:rgb(0, 119, 179);text-align:center;text-decoration:none;background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:none}.duet-tab-to-link.duet-theme-turva{min-width:120px;color:rgb(23, 28, 58)}@media (min-width: 106.25em){.duet-tab-to-link{margin-left:20px}}.duet-tab-to-link:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}.block.duet-link{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:start;padding:16px;font-weight:600;color:rgb(8, 42, 77);text-decoration:none}.block.duet-link.duet-link-has-icon{grid-template-columns:auto 1fr auto}.block.duet-link.none{padding:0}.block .block__icon{display:flex}.block .block__icon duet-icon{width:16px;height:16px}.block .block__icon duet-icon.icon-responsive{width:30px;height:30px}@media (max-width: 22.5em){.block .block__icon duet-icon.icon-responsive{width:24px;height:24px}}.block .block__content{position:relative;bottom:2px}.block .block__chevron{align-self:center}.block .block__chevron-icon{transition:300ms ease}.block:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.button:not(.duet-link-has-icon-background) .icon-wrap duet-icon{width:20px;height:20px}.duet-link.button.duet-link-has-icon-background .icon-wrap duet-icon{width:20px;height:20px}@media (min-width: 48em){.duet-link.button.duet-link-has-icon-background .icon-wrap duet-icon{width:24px;height:24px}}.duet-link.button,.duet-link.card{display:flex;gap:12px;align-items:center;width:100%;min-height:48px;padding:14px 16px;line-height:1.25;text-decoration:none;background-color:rgb(255, 255, 255);border:solid 1px rgb(181, 198, 208);border-radius:12px;outline:0 solid rgb(181, 198, 208);outline-offset:-2px;transition:all 300ms ease}.duet-link.button>*,.duet-link.card>*{flex-shrink:0}.duet-link.button .duet-link-content,.duet-link.card .duet-link-content{flex-grow:1;flex-shrink:1;font-size:1rem;font-weight:600;color:rgb(8, 42, 77);text-align:left}.duet-link.button .icon-wrap,.duet-link.card .icon-wrap{display:flex;align-items:center;justify-content:center}.duet-link.button .icon-wrap duet-icon,.duet-link.card .icon-wrap duet-icon{width:24px;height:24px}@media (min-width: 48em){.duet-link.button .icon-wrap duet-icon,.duet-link.card .icon-wrap duet-icon{width:30px;height:30px}}.duet-link.button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{min-height:60px;padding:12px;padding-right:20px;line-height:1.5}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:36px;height:36px;border-radius:8px}.duet-link.button:hover,.duet-link.card:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179)}@media (min-width: 48em){.duet-link.button,.duet-link.card{min-height:50px}.duet-link.button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{gap:16px;min-height:72px;border-radius:16px}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.button.duet-link-has-icon-background .duet-link-content,.duet-link.card.duet-link-has-icon-background .duet-link-content{font-size:1.1rem}}.duet-link.button.duet-theme-turva,.duet-link.card.duet-theme-turva{border-color:rgb(199, 202, 207)}.duet-link.button.duet-theme-turva .duet-link-content,.duet-link.card.duet-theme-turva .duet-link-content{color:rgb(23, 28, 58)}.duet-link.button.duet-theme-turva:hover,.duet-link.card.duet-theme-turva:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-link.button .block__chevron-icon,.duet-link.card .block__chevron-icon{transition:300ms ease}.duet-link.button:not(.duet-link-is-external):hover .block__chevron-icon,.duet-link.card:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.card{border-color:rgb(228, 236, 239);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-link.card.duet-theme-turva{border-color:rgb(234, 235, 239);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13)}.duet-link.card:not(.duet-link-has-icon){gap:12px;padding:16px}.duet-link.card .chevron-wrap{display:flex;align-items:center;height:100%}.duet-link.card.duet-link-has-icon{gap:12px;align-items:flex-start;padding:16px}.duet-link.card.duet-link-has-icon .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:48px}@media (min-width: 48em){.duet-link.card:not(.duet-link-has-icon){gap:20px;padding:24px}.duet-link.card.duet-link-has-icon{gap:20px;padding:24px}.duet-link.card.duet-link-has-icon .icon-wrap{width:62px;height:62px;border-radius:16px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:62px}}";
|
|
103
103
|
const DuetLinkStyle0 = duetLinkCss;
|
|
104
104
|
|
|
105
105
|
const DuetLink = class {
|
|
@@ -126,7 +126,6 @@ const DuetLink = class {
|
|
|
126
126
|
this.iconResponsive = false;
|
|
127
127
|
this.margin = "auto";
|
|
128
128
|
this.padding = "auto";
|
|
129
|
-
this.isSmallScreen = false;
|
|
130
129
|
this.isMediumScreen = false;
|
|
131
130
|
}
|
|
132
131
|
/**
|
|
@@ -134,7 +133,6 @@ const DuetLink = class {
|
|
|
134
133
|
*/
|
|
135
134
|
componentWillLoad() {
|
|
136
135
|
inheritGlobalTheme(this);
|
|
137
|
-
this.initMediaQuery();
|
|
138
136
|
this.resolvedDownload = this.resolveDownload();
|
|
139
137
|
// button variation renders a button element when no url is provided
|
|
140
138
|
if (this.variation === "button" && this.url === "#") {
|
|
@@ -149,7 +147,6 @@ const DuetLink = class {
|
|
|
149
147
|
}
|
|
150
148
|
disconnectedCallback() {
|
|
151
149
|
disconnectLanguageChangeObserver(this);
|
|
152
|
-
this.destroyMediaQuery();
|
|
153
150
|
}
|
|
154
151
|
/**
|
|
155
152
|
* Sets focus on the specified `duet-link`. Use this method instead of the global
|
|
@@ -158,27 +155,6 @@ const DuetLink = class {
|
|
|
158
155
|
async setFocus(options) {
|
|
159
156
|
this.nativeLink.focus(options);
|
|
160
157
|
}
|
|
161
|
-
initMediaQuery() {
|
|
162
|
-
this.screenTestBound = this.screenTest.bind(this);
|
|
163
|
-
this.mediaQuerySmall = window.matchMedia(breakpointToToken["xx-small"]);
|
|
164
|
-
this.mediaQueryMedium = window.matchMedia(breakpointToToken["medium"]);
|
|
165
|
-
this.isSmallScreen = this.mediaQuerySmall.matches;
|
|
166
|
-
this.isMediumScreen = this.mediaQueryMedium.matches;
|
|
167
|
-
this.mediaQuerySmall.addEventListener("change", this.screenTestBound);
|
|
168
|
-
this.mediaQueryMedium.addEventListener("change", this.screenTestBound);
|
|
169
|
-
}
|
|
170
|
-
destroyMediaQuery() {
|
|
171
|
-
if (this.mediaQuerySmall) {
|
|
172
|
-
this.mediaQuerySmall.removeEventListener("change", this.screenTestBound);
|
|
173
|
-
}
|
|
174
|
-
if (this.mediaQueryMedium) {
|
|
175
|
-
this.mediaQueryMedium.removeEventListener("change", this.screenTestBound);
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
screenTest(event) {
|
|
179
|
-
this.isSmallScreen = event.matches;
|
|
180
|
-
this.isMediumScreen = event.matches;
|
|
181
|
-
}
|
|
182
158
|
resolveDownload() {
|
|
183
159
|
if (this.download === "") {
|
|
184
160
|
return this.url.split("/").pop();
|
|
@@ -191,19 +167,13 @@ const DuetLink = class {
|
|
|
191
167
|
return (h(Fragment, null, h("span", { class: "duet-link-content", part: "duet-link-content" }, h("slot", null)), (this.resolvedDownload || this.external) && this.variation === "default" && (h(Fragment, null, h("span", { class: "duet-link-icon-tail" }, "\u00A0", h("duet-icon", { icon: this.resolvedDownload ? actionDownloadSmall.svg : actionNewWindowSmall.svg, size: "xx-small", margin: "none", color: "currentColor" }))))));
|
|
192
168
|
}
|
|
193
169
|
renderBlockContent() {
|
|
194
|
-
return (h(Fragment, null, this.icon && (h("span", { class: "block__icon" }, h("duet-icon", {
|
|
170
|
+
return (h(Fragment, null, this.icon && (h("span", { class: "block__icon" }, h("duet-icon", { class: this.iconResponsive ? "icon-responsive" : "", size: "auto", name: this.icon, margin: "none", color: this.iconColor }))), h("span", { class: "block__content" }, this.renderDefaultContent()), h("span", { class: "block__chevron", part: "block-chevron" }, h("duet-icon", { class: "block__chevron-icon", icon: this.external ? actionNewWindow.svg : actionArrowRight.svg, size: "x-small", margin: "none", color: "primary-dark" }))));
|
|
195
171
|
}
|
|
196
172
|
renderButtonCardContent() {
|
|
197
173
|
const iconWrapStyle = {
|
|
198
174
|
"background-color": getColorByName(this.iconBackground, this.theme),
|
|
199
175
|
};
|
|
200
|
-
|
|
201
|
-
if (this.variation === "button") {
|
|
202
|
-
return this.iconBackground && this.isMediumScreen ? "medium" : "small";
|
|
203
|
-
}
|
|
204
|
-
return this.isMediumScreen ? "large" : "medium";
|
|
205
|
-
};
|
|
206
|
-
return (h(Fragment, null, this.icon && (h("span", { class: "icon-wrap", style: iconWrapStyle }, h("duet-icon", { size: iconSize(), name: this.icon, margin: "none", color: this.iconColor }))), h("div", { class: "duet-link-content", part: "duet-link-content" }, h("slot", null)), h("span", { class: "chevron-wrap" }, h("duet-icon", { class: "block__chevron-icon", icon: this.external ? actionNewWindow.svg : actionArrowRight.svg, size: "x-small", margin: "none", color: "primary-dark" }))));
|
|
176
|
+
return (h(Fragment, null, this.icon && (h("span", { class: "icon-wrap", style: iconWrapStyle }, h("duet-icon", { size: "auto", name: this.icon, margin: "none", color: this.iconColor }))), h("div", { class: "duet-link-content", part: "duet-link-content" }, h("slot", null)), h("span", { class: "chevron-wrap" }, h("duet-icon", { class: "block__chevron-icon", icon: this.external ? actionNewWindow.svg : actionArrowRight.svg, size: "x-small", margin: "none", color: "primary-dark" }))));
|
|
207
177
|
}
|
|
208
178
|
renderContent() {
|
|
209
179
|
switch (this.variation) {
|
|
@@ -223,10 +193,10 @@ const DuetLink = class {
|
|
|
223
193
|
render() {
|
|
224
194
|
const Tag = !this.url ? "button" : "a";
|
|
225
195
|
const isButton = Tag === "button";
|
|
226
|
-
return (h(Host, { key: '
|
|
196
|
+
return (h(Host, { key: 'abc49b84dd9a522c921d5447f1b2ec451a456f44', class: {
|
|
227
197
|
[`duet-link-${this.variation}`]: true,
|
|
228
198
|
"duet-m-0": this.margin === "none",
|
|
229
|
-
} }, h(Tag, { key: '
|
|
199
|
+
} }, h(Tag, { key: '24ecdb7c1b3bbb33f2cf612170574b06931574fc', href: this.url, class: {
|
|
230
200
|
"duet-link": true,
|
|
231
201
|
"duet-link-is-external": this.external,
|
|
232
202
|
"duet-link-is-download": !!this.download,
|
|
@@ -272,7 +242,7 @@ const DuetParagraph = class {
|
|
|
272
242
|
const color = getColorByName(this.color);
|
|
273
243
|
// aria-describedby is to fix accessibility issue in Chrome where duet-paragraphs
|
|
274
244
|
// are not announced when placed inside duet-modal
|
|
275
|
-
return (h(Host, { key: '
|
|
245
|
+
return (h(Host, { key: '4cdc1e2db953dc363eb77f14bf5c8473cd22c7ca', "aria-describedby": this.id }, h("p", { key: '6fc77faf20566dc0442bb36f20079aeca48ea41f', id: this.id, class: {
|
|
276
246
|
"duet-paragraph": true,
|
|
277
247
|
"duet-paragraph-small": this.size === "small",
|
|
278
248
|
"duet-paragraph-semi-bold": this.weight === "semi-bold",
|
|
@@ -280,7 +250,7 @@ const DuetParagraph = class {
|
|
|
280
250
|
"duet-m-0": this.margin === "none",
|
|
281
251
|
[this.variation]: true,
|
|
282
252
|
"duet-theme-turva": this.theme === "turva",
|
|
283
|
-
}, style: { color }, part: "duet-paragraph" }, h("slot", { key: '
|
|
253
|
+
}, style: { color }, part: "duet-paragraph" }, h("slot", { key: 'df2a9f9c672fe560e62f97addbef69d72b13fefe' }))));
|
|
284
254
|
}
|
|
285
255
|
get element() { return getElement(this); }
|
|
286
256
|
};
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-4b4e4ec8.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
6
|
import { c as createID } from './create-id-149a1b6d.js';
|
|
7
7
|
import { i as isKeyboardClick, s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './keyboard-utils-439bcc8b.js';
|
|
8
|
+
import { g as getElementsFromNamedSlot } from './slot-utils-ae4dc467.js';
|
|
8
9
|
import { s as sanitizeString } from './string-utils-192eb3c8.js';
|
|
9
|
-
import { g as getColorByName } from './token-utils-
|
|
10
|
-
import './tokens.module-
|
|
10
|
+
import { g as getColorByName } from './token-utils-b9ba8c5e.js';
|
|
11
|
+
import './tokens.module-2d02f5ff.js';
|
|
11
12
|
|
|
12
13
|
const duetHeadingLevels = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
13
14
|
const duetBlock = "div";
|
|
@@ -70,6 +71,7 @@ const DuetCard = class {
|
|
|
70
71
|
unsubscribeTabbingChange(this);
|
|
71
72
|
}
|
|
72
73
|
renderHeading() {
|
|
74
|
+
var _a;
|
|
73
75
|
const safeHeadingLevel = sanitizeString(this.headingLevel);
|
|
74
76
|
const HeadingTag = [...duetHeadingLevels, duetBlock].some(tag => tag === safeHeadingLevel) ? safeHeadingLevel : "h2";
|
|
75
77
|
const headingStyles = {
|
|
@@ -77,7 +79,8 @@ const DuetCard = class {
|
|
|
77
79
|
};
|
|
78
80
|
const headingContent = (h(Fragment, null, h("div", { class: "duet-card-heading-grid" }, this.icon && (h(Fragment, null, h("duet-icon", { class: "duet-card-icon", name: this.icon, size: "medium", margin: "none", color: "currentColor" }), h("duet-spacer", { direction: "horizontal", size: "small" }))), h("div", { class: "duet-card-heading-text" }, this.heading ? this.heading : h("slot", { name: "heading" })), this.secondaryHeading && (h(Fragment, null, h("duet-spacer", { direction: "horizontal", size: "small" }), h("div", { class: "duet-card-secondary-heading duet-card-secondary-heading--inline" }, this.secondaryHeading))), this.collapsible && (h(Fragment, null, h("duet-spacer", { direction: "horizontal", size: "small" }), h("duet-icon", { class: "duet-card-caret", icon: actionArrowUp.svg, size: "small", margin: "none", color: "currentColor" })))), this.secondaryHeading && (h("div", { class: "duet-card-secondary-heading duet-card-secondary-heading--new-line" }, this.secondaryHeading)), h("slot", { name: "below-heading" })));
|
|
79
81
|
if (this.collapsible) {
|
|
80
|
-
|
|
82
|
+
const ariaLabel = (_a = getElementsFromNamedSlot(this.element, "heading")) === null || _a === void 0 ? void 0 : _a.map(e => e.textContent).join(" ");
|
|
83
|
+
return (h(HeadingTag, { style: headingStyles, class: "duet-card-heading duet-card-heading--collapsible", onClick: this.togglePanel, onKeyDown: this.handleKeyDown }, h("button", { type: "button", "aria-controls": this.cardId, "aria-expanded": this.open ? "true" : "false", "aria-label": ariaLabel }, headingContent)));
|
|
81
84
|
}
|
|
82
85
|
else {
|
|
83
86
|
return (h(HeadingTag, { style: headingStyles, class: "duet-card-heading" }, headingContent));
|
|
@@ -102,10 +105,10 @@ const DuetCard = class {
|
|
|
102
105
|
const styles = {
|
|
103
106
|
backgroundColor: getColorByName(this.background),
|
|
104
107
|
};
|
|
105
|
-
return (h(Host, { key: '
|
|
108
|
+
return (h(Host, { key: '81af7af276b2b67f13855aa9e11bd95e8abeaa2d', class: {
|
|
106
109
|
"duet-m-0": this.margin === "none",
|
|
107
110
|
"duet-card-info": this.variation === "info",
|
|
108
|
-
} }, h(TagName, { key: '
|
|
111
|
+
} }, h(TagName, { key: '9c121ca16ed478f72e8c5976cc73499de2c48de2', href: this.url, style: styles, ref: card => (this.nativeCard = card), "aria-label": this.accessibleLabel, class: {
|
|
109
112
|
"duet-card": true,
|
|
110
113
|
[this.padding]: true,
|
|
111
114
|
[this.variation]: true,
|
|
@@ -115,7 +118,7 @@ const DuetCard = class {
|
|
|
115
118
|
"duet-card-has-bg": this.background !== "gray-lightest",
|
|
116
119
|
"duet-card-has-icon": !!this.icon,
|
|
117
120
|
"duet-card-collapsed": this.collapsible && !this.open,
|
|
118
|
-
} }, this.image && (h("div", { key: '
|
|
121
|
+
} }, this.image && (h("div", { key: '370ab67ee9e9e00267dfe6a034d9258fc41deb9c', class: "duet-card-image-mask" }, h("img", { key: 'f93b70812e33b71f9057b5a890baba36894012ea', src: this.image, class: "duet-card-image", loading: "lazy", alt: "", "aria-hidden": "true" }))), (this.heading || this.hasHeadingSlot) && this.renderHeading(), h("div", { key: '64b6d8e1e2d02085fa6101f54cf95f15c6c4e3b8', class: "duet-card-content", id: this.cardId }, h("slot", { key: '9a20c3971a53038f5786c9321214cd2dc19bdcef' }), this.hasFooter && (h("div", { key: '5009d44d6ffb5c7d6774a0c22664979d84a12561', class: "duet-card-footer" }, h("slot", { key: 'e177a2f18a636b5e6c093150e52614e56ad56c68', name: "footer" })))))));
|
|
119
122
|
}
|
|
120
123
|
get element() { return getElement(this); }
|
|
121
124
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-4b4e4ec8.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
6
|
import { c as createID } from './create-id-149a1b6d.js';
|
|
7
7
|
|
|
8
|
-
const duetCheckboxCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-
|
|
8
|
+
const duetCheckboxCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{margin-right:8px !important}:host(:last-child),:host(:last-of-type){margin-right:0 !important}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host(:last-child:not(:only-child)){margin-bottom:0 !important}:host(.duet-m-0){margin:0 !important}.duet-label{position:relative;z-index:100;display:inline;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);vertical-align:top;cursor:pointer;background:transparent;transition:300ms ease}.duet-theme-turva .duet-label{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-label span{display:inline-block;width:calc(100% - 32px);font-size:1rem;font-weight:400;vertical-align:top}.duet-checkbox-container{position:relative;width:100%;height:100%}.duet-checkbox{padding:14px !important;position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;cursor:pointer;opacity:0}.duet-checkbox+label::before{z-index:100;display:inline-block;width:20px;height:20px;margin:2px 10px 1px 1px;vertical-align:top;content:\"\";background:rgb(255, 255, 255);border:1px solid rgb(8, 42, 77);border-radius:4px}.duet-theme-turva .duet-checkbox+label::before{border-color:rgb(23, 28, 58)}.duet-checkbox:checked+label::before{background:rgb(0, 119, 179);border:1px solid rgb(0, 119, 179)}.duet-theme-turva .duet-checkbox:checked+label::before{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.duet-checkbox:focus+label::before{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-checkbox:focus+label::before{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-checkbox[aria-invalid=true]+label::before{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-checkbox[aria-invalid=true]+label::before{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-checkbox+label{position:static}.duet-checkbox:checked+label::after{position:absolute;top:6px;left:5px;z-index:200;width:12px;height:12px;pointer-events:none;content:\"\";background:transparent url(\"data:image/svg+xml,%3Csvg%20fill%3D%27white%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2724%27%20height%3D%2724%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M23.374.287a1.5%2C1.5%2C0%2C0%2C0-2.093.345L7.246%2C20.2%2C2.561%2C15.511A1.5%2C1.5%2C0%2C1%2C0%2C.439%2C17.632l5.935%2C5.934a1.525%2C1.525%2C0%2C0%2C0%2C2.279-.186l15.066-21A1.5%2C1.5%2C0%2C0%2C0%2C23.374.287Z%27%20%2F%3E%3C%2Fsvg%3E\") no-repeat 0 0;background-size:100% auto}.duet-checkbox[disabled]{cursor:default}.duet-checkbox[disabled]+label{color:rgb(98, 121, 138)}.duet-theme-turva .duet-checkbox[disabled]+label{color:rgb(143, 147, 158)}.duet-checkbox[disabled]+label::before{border-color:rgb(181, 198, 208)}.duet-theme-turva .duet-checkbox[disabled]+label::before{border-color:rgb(199, 202, 207)}.duet-checkbox[disabled]:checked+label::before{background:rgb(127, 150, 165);border:1px solid rgb(127, 150, 165)}.duet-theme-turva .duet-checkbox[disabled]:checked+label::before{background:rgb(143, 147, 158);border-color:rgb(143, 147, 158)}.duet-checkbox-error{margin-left:31px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(214, 28, 82);border-radius:4px}.duet-theme-turva .duet-checkbox-error{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(214, 28, 82)}.duet-label-hidden .duet-label span,.duet-label-hidden .duet-checkbox-error span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}";
|
|
9
9
|
const DuetCheckboxStyle0 = duetCheckboxCss;
|
|
10
10
|
|
|
11
11
|
const DuetCheckbox = class {
|
|
@@ -102,11 +102,11 @@ const DuetCheckbox = class {
|
|
|
102
102
|
*/
|
|
103
103
|
render() {
|
|
104
104
|
const identifier = this.identifier || this.checkboxId;
|
|
105
|
-
return (h(Host, { class: { "duet-m-0": this.margin === "none" } }, h("div", { class: {
|
|
105
|
+
return (h(Host, { key: 'b766728b3dfefde1c6deefe6d0db2f549cd8aad3', class: { "duet-m-0": this.margin === "none" } }, h("div", { key: 'caeaf8e29cbfdc3f684a64a5c7e7e5ef6513432b', class: {
|
|
106
106
|
"duet-checkbox-container": true,
|
|
107
107
|
"duet-label-hidden": this.labelHidden,
|
|
108
108
|
"duet-theme-turva": this.theme === "turva",
|
|
109
|
-
} }, h("input", { ref: input => (this.nativeInput = input), type: "checkbox", onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, value: this.value, class: { "duet-checkbox": true, disabled: this.disabled }, checked: this.checked, disabled: this.disabled, tabindex: this.accessibleIndex, "aria-invalid": this.error ? "true" : "false", "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-selected": this.accessibleSelected, required: this.required, role: this.role, name: this.name, id: identifier }), h("label", { class: "duet-label", htmlFor: identifier }, h("span",
|
|
109
|
+
} }, h("input", { key: '6ab801fbe93327d25187b276878076bcfdf48b36', ref: input => (this.nativeInput = input), type: "checkbox", onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, value: this.value, class: { "duet-checkbox": true, disabled: this.disabled }, checked: this.checked, disabled: this.disabled, tabindex: this.accessibleIndex, "aria-invalid": this.error ? "true" : "false", "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-selected": this.accessibleSelected, required: this.required, role: this.role, name: this.name, id: identifier }), h("label", { key: '68e27e7756a0db41709ff8a3ae200ee99ff786b1', class: "duet-label", htmlFor: identifier }, h("span", { key: '3db3ad22a9878f989e6dc47fee0c37c7d5195f42' }, this.label)), h("div", { key: '9d27e662b34db5a4db91e3a7e7d9f989ba933f94', class: "duet-checkbox-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: '7901825f9db5ff2a62876fa4324b449155ffac6a' }, this.error)))));
|
|
110
110
|
}
|
|
111
111
|
get element() { return getElement(this); }
|
|
112
112
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host } from './index-4b4e4ec8.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
6
|
|
|
7
7
|
const duetCheckmarkCss = ".duet-checkmark-container{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 300ms ease}.duet-checkmark-container.center{margin-right:auto}.duet-theme-turva .duet-checkmark-container{border-color:rgb(143, 147, 158)}.checked .duet-checkmark-container{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .checked .duet-checkmark-container{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio{border-radius:50%}[disabled]+label .duet-checkmark-container{border-color:rgb(181, 198, 208) !important}.duet-theme-turva [disabled]+label .duet-checkmark-container{border-color:rgb(199, 202, 207) !important}.checked [disabled]+label .duet-checkmark-container{background:rgb(181, 198, 208) !important}.duet-theme-turva .checked [disabled]+label .duet-checkmark-container{background:rgb(199, 202, 207) !important}.duet-checkmark{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}";
|
|
@@ -23,11 +23,11 @@ const DuetCheckmark = class {
|
|
|
23
23
|
inheritGlobalTheme(this);
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
return (h(Host, { key: '
|
|
26
|
+
return (h(Host, { key: '621afec8eb7b55088937983fdd862cdf3876c01b', class: { "duet-theme-turva": this.theme === "turva" } }, h("div", { key: 'dd3020a77469f7c8d14006f2495f2fe7a6849290', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, h("div", { key: '806bb3821f8947e99f10b031f8b20f3d0063f579', class: {
|
|
27
27
|
"duet-checkmark-container": true,
|
|
28
28
|
center: this.center,
|
|
29
29
|
"duet-checkmark-radio": this.type === "radio",
|
|
30
|
-
} }, this.checked && h("div", { key: '
|
|
30
|
+
} }, this.checked && h("div", { key: 'cd19c44014e480d7b6a886cdd7200da58f2c8bf1', class: "duet-checkmark" })))));
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
DuetCheckmark.style = DuetCheckmarkStyle0;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-4b4e4ec8.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
6
|
import { c as createID } from './create-id-149a1b6d.js';
|
|
7
7
|
import { s as subscribeTabbingChange, u as unsubscribeTabbingChange, f as isEscapeKey, c as isArrowDownKey, b as isArrowUpKey, o as isTabKey } from './keyboard-utils-439bcc8b.js';
|
|
8
|
-
import { g as getLocaleString } from './language-utils-
|
|
9
|
-
import {
|
|
8
|
+
import { g as getLocaleString } from './language-utils-1b413a6b.js';
|
|
9
|
+
import { I as spaceXSmall } from './tokens.module-2d02f5ff.js';
|
|
10
10
|
import { o as offset, f as flip, s as shift, c as computePosition, b as autoUpdate } from './floating-ui.dom.esm-ebc91b33.js';
|
|
11
|
-
import { f as focusElement } from './focus-utils-
|
|
11
|
+
import { f as focusElement } from './focus-utils-4226b57a.js';
|
|
12
12
|
import { T as Teleport } from './teleport-546f382d.js';
|
|
13
13
|
import { a as actionNewWindowSmall } from './action-new-window-small-1945be91.js';
|
|
14
14
|
import './string-utils-192eb3c8.js';
|
|
@@ -316,7 +316,7 @@ const DuetChip = class {
|
|
|
316
316
|
onBlur: this.onBlur,
|
|
317
317
|
ref: el => (this.focusableElement = el),
|
|
318
318
|
};
|
|
319
|
-
return (h(Host, { key: '
|
|
319
|
+
return (h(Host, { key: 'f5866959a8c96e4c06f87b9da16bb1a1fce05235', class: { [this.variation]: true } }, this.variation === "button" && (h("span", { key: 'f118e5cb6fd7e7a36b783b6b136b85848493d7b2', class: classes }, h("button", Object.assign({ key: '8136c5fc8d81b414f102d52af06bef9a4b85bf8c', id: identifier, "aria-label": this.accessibleLabel, "aria-haspopup": this.getAccessiblePopup(), "aria-expanded": this.getAccessibleExpanded(), "aria-disabled": this.disabled ? "true" : undefined, name: this.name, value: this.value, onClick: this.disabled ? evt => evt.stopPropagation() : undefined }, focusHandlers), h("span", { key: 'bcbd7ed8bda270105ad63bda748c3e99440e210a', class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { key: '878b7a3bd90f777342a9f01ec3b9d6487c84ae62', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), h("slot", { key: '80af3c2e2ed0326f64ba76df23cb013ad6453bc7' })))), this.variation === "input" && (h("span", { key: 'b58b2486ea2a68bf3cb4f7936acd3c1bae7a8f01', class: classes, "aria-label": this.getAccessibleInputChipLabel() }, h("button", Object.assign({ key: 'aab83e094723fea4006b2d6d5b7d0c7561741dc0', id: identifier, class: "duet-chip-input-button", value: this.value, "aria-label": this.accessibleLabel, onMouseOver: () => (this.inputChipHover = true), onMouseOut: () => (this.inputChipHover = false), onClick: () => (this.selected = !this.selected) }, focusHandlers), h("span", { key: '7060c0297c7a9ac439e1b8cacf331286076e49d3', class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { key: '285b4f499a36e796777a68ac9d625776bd01f8fe', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), h("slot", { key: 'abad02d6dc1809c0bed85b1c51e9150835470e24' })), h("button", { key: '89239750f6c9738272cc92142889f59a7c8d4ea0', class: "duet-chip-remove-button", "aria-label": this.getAccessibleDeleteLabel(), onClick: this.onRemoveClick, onFocus: () => (this.inputChipDeleteFocus = true), onBlur: () => (this.inputChipDeleteFocus = false), ref: el => (this.deleteButtonElement = el) }, h("duet-icon", { key: 'da6a4b111356b20f82bfc083cbaaf35ce9facdaa', name: "activity-close", size: "xx-small", margin: "none", color: "currentColor" })))), this.variation === "filter" && (h("span", { key: 'a7f9ee8ddaf8f256bf6a43ec10e4df16da91fe01', class: classes }, h("input", Object.assign({ key: '9717dd6ef3002cb5bb0382bbcf0c93f4e4b9a7e6', "aria-haspopup": this.getAccessiblePopup(), "aria-controls": (_a = this.popupElement) === null || _a === void 0 ? void 0 : _a.id, "aria-expanded": this.getAccessibleExpanded(), "aria-disabled": this.disabled ? "true" : undefined, id: identifier, type: "checkbox", name: this.name, value: this.value, checked: this.checked, onClick: this.onFilterClick, onChange: this.onFilterChange }, focusHandlers)), h("label", { key: '1cf57481446293957a2a639afea5a72d847f82eb', htmlFor: identifier }, this.icon && (h("span", { key: '491a9eb7a0d9ea0fa1ed30e49826ecc51e5fa394', class: "duet-chip-icon-container" }, h("duet-icon", { key: '1ca20585deaa344a434a013fac217e8191432b31', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), h("duet-icon", { key: '6bfd6b12f71a7264b657c164a748de134d0e7976', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), h("slot", { key: 'f51bf27633eb450f0469f43b569e6dc8ec19a5a2' }), this.popupElement && (h("span", { key: 'c8e24b22bc5dada17637c970f5c240a0ab1432dd', class: "duet-chip-popup-disclosure" }, h("duet-icon", { key: '77bff8f2d2d4d2bacfd35e466c8917af0dee3712', name: "action-arrow-down-small", size: "xxx-small", margin: "none", color: "currentColor" })))))), this.variation === "radio" && (h("span", { key: '9301ae9f35e1f8b98e9fb22581054a7d9e4e95f7', class: classes }, h("slot", { key: 'ef01900b142a3ccbb3df9609de81c765d171fc7a', name: "input" }), h("label", { key: '5803f303e6073ea2521400ad5a019668752dc72f', htmlFor: identifier }, this.icon && (h("span", { key: '3a02f6262d9409fd67f5dec28333813e00059ee2', class: "duet-chip-icon-container" }, h("duet-icon", { key: '782a8428f4516926dd572640670084f17f1a0a6c', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), h("duet-icon", { key: '20bbe0863bb89ba63507469f3d47c910ca08842c', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), h("slot", { key: 'b9f66eeaa21825e40fde477edc0928e461ff3b62' }))))));
|
|
320
320
|
}
|
|
321
321
|
get element() { return getElement(this); }
|
|
322
322
|
static get watchers() { return {
|
|
@@ -596,14 +596,14 @@ const DuetPopupMenu = class {
|
|
|
596
596
|
overflowY: "auto",
|
|
597
597
|
height: this.popupMenuStyleHeight,
|
|
598
598
|
};
|
|
599
|
-
return (h(Host, { key: '
|
|
599
|
+
return (h(Host, { key: 'c5d59c4859a8b66d3fdc725163b4163599c70a6f' }, h("div", { key: '376869b621cf3f1899ef6d1e9c1e913bb47fc83f', ref: element => {
|
|
600
600
|
this.menuElement = element;
|
|
601
601
|
}, style: styles, class: {
|
|
602
602
|
open: this.open,
|
|
603
603
|
"duet-popup-menu-list": true,
|
|
604
604
|
"duet-theme-turva": this.theme === "turva",
|
|
605
605
|
"scroll-visible": this.scrollLimit < this.itemElements.length,
|
|
606
|
-
}, role: this.accessibleRole, "aria-label": this.accessibleLabel }, h("slot", { key: '
|
|
606
|
+
}, role: this.accessibleRole, "aria-label": this.accessibleLabel }, h("slot", { key: '7a5793c36e4103077f1e8165478b410a5068e4a0' }))));
|
|
607
607
|
}
|
|
608
608
|
get element() { return getElement(this); }
|
|
609
609
|
static get watchers() { return {
|
|
@@ -680,11 +680,11 @@ const DuetPopupMenuItem = class {
|
|
|
680
680
|
"duet-theme-turva": this.theme === "turva",
|
|
681
681
|
"active-descendant": this.activeDescendant,
|
|
682
682
|
};
|
|
683
|
-
return (h(Host, { key: '
|
|
683
|
+
return (h(Host, { key: 'cba4450c5f4e743f1c54c4736930fd263acba1db', role: this.accessibleRole }, h(TagName, { key: '94c16ad9906c2ea626f186a405a044f8c0fdc38b', 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: 'bc37f155bb1a3c6e0519f1b673682840e7cc2838', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), h("span", { key: '641cb769d15e68d2e05893737b2712cb22916084', class: "duet-popup-menu-item-label" }, h("slot", { key: 'c4e79af7b0a972b68a6a30ca479d3fe49ec0ac57' })), (this.trailingIcon || this.active || (this.url && this.external)) && (h("duet-icon", { key: 'd5ae36ac91afb6b5f9a6bfe461a10b68ee0f916e', name: this.url && this.external
|
|
684
684
|
? actionNewWindowSmall.title
|
|
685
685
|
: this.active
|
|
686
686
|
? "messaging-checked-small"
|
|
687
|
-
: 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: '
|
|
687
|
+
: 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: '79631aaffd5c2b020ebc6f37f0770147ae8291fa', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
|
|
688
688
|
}
|
|
689
689
|
get element() { return getElement(this); }
|
|
690
690
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-4b4e4ec8.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
6
|
import { D as DuetStringsExternalDefaults } from './common-strings-af765cad.js';
|
|
7
7
|
import { c as createID } from './create-id-149a1b6d.js';
|
|
8
8
|
import { i as isKeyboardClick, h as isQuestionKey, s as subscribeTabbingChange, u as unsubscribeTabbingChange, f as isEscapeKey } from './keyboard-utils-439bcc8b.js';
|
|
9
|
-
import { g as getLocaleString, a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-
|
|
10
|
-
import { h as hasSlot, g as getElementsFromNamedSlot, c as checkNamedSlotElement } from './slot-utils-
|
|
9
|
+
import { g as getLocaleString, a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-1b413a6b.js';
|
|
10
|
+
import { h as hasSlot, g as getElementsFromNamedSlot, c as checkNamedSlotElement } from './slot-utils-ae4dc467.js';
|
|
11
11
|
import './string-utils-192eb3c8.js';
|
|
12
12
|
|
|
13
13
|
var messagingInfo={"title":"messaging-info","tags":"messaging info information circle","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z\"/><circle cx=\"11.625\" cy=\"7.125\" r=\"1.125\"/><path d=\"M12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12zm0-22.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z\"/></svg>"};
|
|
@@ -340,7 +340,7 @@ const DuetChoice = class {
|
|
|
340
340
|
*/
|
|
341
341
|
render() {
|
|
342
342
|
const identifier = this.identifier || this.choiceId;
|
|
343
|
-
return (h(Host, { key: '
|
|
343
|
+
return (h(Host, { key: 'e45e3d883ff601f42cda53bb745589a6cff07669', class: {
|
|
344
344
|
horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
|
|
345
345
|
"horizontal-responsive": this.groupDirection === "horizontal" && this.groupResponsive,
|
|
346
346
|
"duet-m-0": this.margin === "none",
|
|
@@ -348,10 +348,10 @@ const DuetChoice = class {
|
|
|
348
348
|
"duet-theme-turva": this.theme === "turva",
|
|
349
349
|
"no-hover": this.isHovering,
|
|
350
350
|
disabled: this.getDisabled(),
|
|
351
|
-
} }, h("div", { key: '
|
|
351
|
+
} }, h("div", { key: '269cb0465b9088983bb4a9c3b0fab4ee0e4a2bd4', class: {
|
|
352
352
|
"duet-choice-card-flextainer": true,
|
|
353
353
|
"duet-theme-turva": this.theme === "turva",
|
|
354
|
-
} }, h("div", { key: '
|
|
354
|
+
} }, h("div", { key: 'f58dab3ebe6b31f9284d609e62d8c97e3056160a', class: {
|
|
355
355
|
"duet-choice-card": true,
|
|
356
356
|
"has-icon": !!this.icon,
|
|
357
357
|
"has-info": this.hasInfo,
|
|
@@ -360,16 +360,16 @@ const DuetChoice = class {
|
|
|
360
360
|
collapsible: this.collapsible,
|
|
361
361
|
"collapsible-force-expanded": this.collapsibleForceExpanded,
|
|
362
362
|
"duet-p-0": this.padding === "none",
|
|
363
|
-
} }, this.type === "checkbox" && (h("input", { key: '
|
|
363
|
+
} }, this.type === "checkbox" && (h("input", { key: '0223b78eb319e469137a52e6b64898d0862eafac', class: "duet-choice-input", type: this.type, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, disabled: this.getDisabled(), required: this.required, id: identifier, name: this.name, value: this.value, checked: this.checked, "aria-label": this.getLabel(), "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedby(), onKeyDown: this.handleKeyDown, ref: input => (this.focusableElement = input) })), h("slot", { key: 'b438afa42e1d50c6aa9a145e656aed1b0f801efa', name: "choiceradioinput" }), h("label", { key: 'c08ba3234495038c9dedce7247aef93e9171e4c1', class: {
|
|
364
364
|
"duet-choice-label": true,
|
|
365
365
|
"has-before-text": this.hasBeforeText,
|
|
366
366
|
checked: this.checked,
|
|
367
367
|
focus: this.focus,
|
|
368
368
|
disabled: this.getDisabled(),
|
|
369
|
-
}, onClick: this.onClick }, this.hasBeforeText && h("slot", { key: '
|
|
369
|
+
}, onClick: this.onClick }, this.hasBeforeText && h("slot", { key: '822b608190ed8058e5083664364f7802f36bbc12', name: "before-text" }), this.icon && (h("div", { key: '47be54fb7c3c00ab9cdff531a158e3bf8131d1eb', class: "duet-choice-card-icon" }, h("duet-icon", { key: 'ba85bd90adcc57f4f3b4641d10417f14c0a3d0a7', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), h("div", { key: '9bffd97bdf78929c3e18eed10f9903c068f84284', class: "duet-choice-card-text" }, h("div", { key: '7378526d0c1be754eeef8acb758b800534710af6' }, this.hasLabel ? h("slot", { name: "label" }) : this.label), this.caption && (h("div", { key: '2c026043a64085f44ec11e2b59fa7d3625880b98' }, h("duet-spacer", { key: '23bd4874a25550df5c010a4ac2f4753b7bebe095', size: "xx-small" }), h("duet-caption", { key: '1e91ca0d61dcbb29b48095ade98d69f35f8d034e', margin: "none", selected: this.checked }, this.caption))), this.hasAdditional && (h("div", { key: 'af539e1466767e981b523efd118aaadec4c3ac7e' }, h("duet-spacer", { key: '3062fe17e11d61e8e02364762088fc33e3f123fd', size: "xx-small" }), h("slot", { key: '2a4faf03104769cf9c8c12b3700608ccbf353233', name: "additional" })))), h("div", { key: 'a31c056ac9d543e7ee157fd4e2dddfd64cc823a9' }, h("div", { key: '8e139394a6669f009546db7274152790fb099cb0', class: { "duet-checkmark-container": true, "duet-checkmark-radio": this.type === "radio" } }, this.checked && h("div", { key: '661c15b7dd0fbe9012e16841c1f082e85fd8f6de', class: "duet-checkmark" }))))), this.hasInfo && !this.collapsible && (h("button", { key: 'c8b30535f36197e9f435b806ca23f0c8cbf81e4a', ref: button => (this.infoButtonEl = button), id: this.infoButtonId, class: {
|
|
370
370
|
"duet-choice-info-toggle": true,
|
|
371
371
|
"duet-theme-turva": this.theme === "turva",
|
|
372
|
-
}, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button", onKeyUp: e => this.handleEscape(e) }, h("div", { key: '
|
|
372
|
+
}, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button", onKeyUp: e => this.handleEscape(e) }, h("div", { key: 'a658c863b61f1d5f8949e24ed9a59108c8a6fa76', class: "duet-choice-info-icon" }, h("duet-icon", { key: '6d4aae6cdecafd186807a43914409cb35e8fdb38', icon: messagingInfo.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible && (h("span", { key: '9796521f397d0b976a84884108d4138a054c3b92', id: `${this.choiceId}-collapsible-notification`, hidden: true }, this.collapsibleNotification)), this.collapsible || this.hasInfo ? (h("div", { class: this.getClassNames(), id: this.expandId }, h("span", { class: {
|
|
373
373
|
"duet-choice-section-visible": this.collapsible ? this.getExpanded() : this.isInfoOpen,
|
|
374
374
|
"duet-choice-section-hidden": this.collapsible ? !this.getExpanded() : !this.isInfoOpen,
|
|
375
375
|
} }, h("span", { id: this.headerId }, h("slot", { name: "header" })), this.hasInfo ? (h("span", { ref: span => (this.infoContainer = span), tabindex: "0", class: "duet-choice-info-container", onKeyUp: e => this.handleEscape(e) }, h("span", null, h("slot", { name: "info" })), h("slot", null))) : (h("span", { id: `${this.choiceId}-collapsible-content` }, h("slot", null)))))) : null));
|
|
@@ -494,14 +494,14 @@ const DuetChoiceGroup = class {
|
|
|
494
494
|
* Always the last one in the class.
|
|
495
495
|
*/
|
|
496
496
|
render() {
|
|
497
|
-
return (h(Host, { key: '
|
|
497
|
+
return (h(Host, { key: 'fda102de643d0654008818d2fcde77410c6cdde2', onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, onDuetChoiceRemove: this.onChoiceRemove, class: {
|
|
498
498
|
horizontal: this.direction === "horizontal",
|
|
499
499
|
"duet-choice-group-breakpoint-x-small": this.responsive && this.breakpoint === "x-small",
|
|
500
500
|
"duet-choice-group-breakpoint-small": this.responsive && this.breakpoint === "small",
|
|
501
501
|
"duet-choice-group-breakpoint-medium": this.responsive && this.breakpoint === "medium",
|
|
502
502
|
"duet-choice-group-breakpoint-large": this.responsive && this.breakpoint === "large",
|
|
503
503
|
"duet-choice-group-breakpoint-x-large": this.responsive && this.breakpoint === "x-large",
|
|
504
|
-
} }, h("duet-fieldset", { key: '
|
|
504
|
+
} }, h("duet-fieldset", { key: '3f0fb7608260d92a4e92efedadb5e2a115a6d6c7', label: this.label, labelHidden: this.labelHidden, compactLabel: true, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (h("duet-tooltip", { key: '8c3ec02a326faca65617b165b7746e5e2963cce4', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: 'c5ae2e61d96374bca1b12acdea2f47596401f456', name: "tooltip" }), h("div", { key: '399845c3e169ceca3476e685bcd2ee76f8c45b02', class: { [this.choiceGroupName]: true, "duet-no-stacking": !this.responsive } }, h("slot", { key: 'ea9969eee1a0c2e454e59bffc03952c2247c119a' })))));
|
|
505
505
|
}
|
|
506
506
|
get element() { return getElement(this); }
|
|
507
507
|
static get watchers() { return {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-4b4e4ec8.js';
|
|
5
5
|
import { a as actionArrowDownSmall } from './action-arrow-down-small-82273dc8.js';
|
|
6
6
|
import { f as font_size_medium, t as tokens } from './tokens-84fb2357.js';
|
|
7
7
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
8
8
|
import { c as createID } from './create-id-149a1b6d.js';
|
|
9
9
|
import { i as isKeyboardClick, s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './keyboard-utils-439bcc8b.js';
|
|
10
|
-
import { h as hasSlot } from './slot-utils-
|
|
10
|
+
import { h as hasSlot } from './slot-utils-ae4dc467.js';
|
|
11
11
|
import { s as sanitizeString } from './string-utils-192eb3c8.js';
|
|
12
12
|
|
|
13
13
|
const duetCollapsibleCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=after-heading]){display:inline-block}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}:host(.duet-theme-turva){font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}.duet-collapsible-content{display:none;padding-left:18px;margin-top:8px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(8, 42, 77)}@media (max-width: 35.9375em){.duet-collapsible-content{font-size:0.875rem}}.duet-collapsible-content.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}:host([open])>.duet-collapsible-content{display:block}.duet-collapsible-heading{-webkit-user-select:none;user-select:none;display:flex;align-items:center;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77);text-align:left;cursor:pointer;border-radius:4px}.duet-collapsible-heading.full-width{width:100%}.duet-collapsible-heading.duet-collapsible-heading-centered{margin:auto}.duet-collapsible-heading.duet-collapsible-normal-weight{font-weight:400}.duet-collapsible-heading.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-collapsible-heading .duet-collapsible-heading-content{min-width:0}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div{margin-left:16px}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div.float-right{margin-left:auto}.duet-collapsible-heading:focus{outline:0}:host(.user-is-tabbing) .duet-collapsible-heading:focus{border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-collapsible-heading.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-collapsible-heading-icon{margin-right:8px !important;display:flex;align-items:center;justify-content:center;color:rgb(8, 42, 77);transition:transform 300ms ease}.duet-collapsible-heading-icon:last-child,.duet-collapsible-heading-icon:last-of-type{margin-right:0 !important}[aria-expanded=true] .duet-collapsible-heading-icon{transform:rotate(180deg)}:host(.negative) .duet-collapsible-heading,:host(.negative) .duet-collapsible-content,:host(.negative) .duet-collapsible-heading-icon{color:rgb(255, 255, 255)}";
|
|
@@ -105,14 +105,14 @@ const DuetCollapsible = class {
|
|
|
105
105
|
*/
|
|
106
106
|
render() {
|
|
107
107
|
const HeadingTagName = this.headingLevel ? sanitizeString(this.headingLevel) : "div";
|
|
108
|
-
return (h(Host, { key: '
|
|
108
|
+
return (h(Host, { key: '249132a1b5e58240d37d3d995a4ef53378eff63f', class: { "duet-m-0": this.margin === "none", negative: this.negative } }, h(HeadingTagName, { key: '7b9c2682402ac40049fa13406131a1d1a55eb051' }, h("button", { key: 'cb3b234ce9ee241fa3f63c81850ea418af00f045', class: {
|
|
109
109
|
"duet-collapsible-heading": true,
|
|
110
110
|
"duet-collapsible-heading-centered": this.centerHeading,
|
|
111
111
|
"duet-theme-turva": this.theme === "turva",
|
|
112
112
|
"duet-collapsible-normal-weight": this.headingWeight === "normal",
|
|
113
113
|
"has-after-heading": this.hasAfterHeading,
|
|
114
114
|
"full-width": this.headingFullWidth,
|
|
115
|
-
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.accessibleLabel, "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("div", { key: '
|
|
115
|
+
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.accessibleLabel, "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("div", { key: '4aebb0229f1a8436ef5413b696c8d8674d81bd7d', class: "duet-collapsible-heading-icon" }, h("duet-icon", { key: 'a67ec08b1f5f0ef4e3b7ece52664104d9d2df10b', margin: "none", size: this.getEquivalentIconSize(), icon: actionArrowDownSmall.svg })), h("div", { key: 'a2a5c24dd64f3bab25c8167c11f738953e78a948', class: "duet-collapsible-heading-content", part: "duet-collapsible-heading-content" }, this.heading), this.hasAfterHeading && (h("div", { key: '9d4820bb70777bfcaee8fc76f47fcba4e9ed9a91', part: "duet-collapsible-after-heading" }, h("slot", { key: 'cbe50074d804f79c746f29760d3536241e5d2717', name: "after-heading" }))))), h("div", { key: '8cd82a8d4e2aa518cd1c9ca8451ace90a4ff8ec9', id: this.id, class: { "duet-collapsible-content": true, "duet-theme-turva": this.theme === "turva" }, part: "duet-collapsible-content" }, h("slot", { key: '2bf409c9b05c884ce0c1de5358c4446ed0d6dc34' }))));
|
|
116
116
|
}
|
|
117
117
|
get element() { return getElement(this); }
|
|
118
118
|
};
|