@duetds/components 6.6.2 → 6.7.1
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.d.ts +17 -16
- package/hydrate/index.js +387 -227
- package/lib/cjs/{dom-bcfa684c.js → dom-c42e1019.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-alert.cjs.entry.js +26 -5
- package/lib/cjs/duet-badge.cjs.entry.js +2 -2
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +3 -3
- package/lib/cjs/duet-button_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-caption_4.cjs.entry.js +9 -7
- package/lib/cjs/duet-card.cjs.entry.js +2 -2
- package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
- package/lib/cjs/duet-checkmark.cjs.entry.js +2 -2
- package/lib/cjs/duet-choice_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
- package/lib/cjs/duet-combobox.cjs.entry.js +3 -3
- package/lib/cjs/duet-contact-card.cjs.entry.js +64 -0
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
- package/lib/cjs/duet-date-picker.cjs.entry.js +4 -4
- package/lib/cjs/duet-divider_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +7 -7
- package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
- package/lib/cjs/duet-fieldset.cjs.entry.js +2 -2
- package/lib/cjs/duet-footer.cjs.entry.js +3 -3
- package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-header_2.cjs.entry.js +10 -4
- package/lib/cjs/duet-hero.cjs.entry.js +4 -4
- package/lib/cjs/duet-icon.cjs.entry.js +2 -2
- package/lib/cjs/duet-input_2.cjs.entry.js +32 -21
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar.cjs.entry.js +3 -3
- package/lib/cjs/duet-modal.cjs.entry.js +7 -5
- package/lib/cjs/duet-multiselect.cjs.entry.js +3 -3
- package/lib/cjs/duet-nav.cjs.entry.js +4 -4
- package/lib/cjs/duet-notification_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-number-input.cjs.entry.js +3 -3
- package/lib/cjs/duet-page-heading.cjs.entry.js +2 -2
- package/lib/cjs/duet-pagination_2.cjs.entry.js +18 -4
- package/lib/cjs/duet-progress.cjs.entry.js +3 -3
- package/lib/cjs/duet-radio_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +18 -19
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout.cjs.entry.js +6 -5
- package/lib/cjs/duet-step_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
- package/lib/cjs/duet-textarea.cjs.entry.js +2 -2
- package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar.cjs.entry.js +2 -2
- package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
- package/lib/cjs/duet-tray.cjs.entry.js +3 -3
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +37 -6
- package/lib/cjs/{focus-utils-73de6126.js → focus-utils-b2f050a2.js} +1 -1
- package/lib/cjs/{index-c7042fe2.js → index-5d835acd.js} +130 -6
- package/lib/cjs/{language-utils-4f62a7db.js → language-utils-44df1d37.js} +36 -0
- package/lib/cjs/loader.cjs.js +4 -3
- package/lib/cjs/{shadow-css-1ea48714.js → shadow-css-6c99270e.js} +1 -1
- package/lib/collection/collection-manifest.json +5 -4
- package/lib/collection/components/duet-action-button/duet-action-button.css +10 -10
- package/lib/collection/components/duet-action-button/duet-action-button.js +4 -2
- package/lib/collection/components/duet-alert/duet-alert.css +13 -13
- package/lib/collection/components/duet-alert/duet-alert.js +61 -3
- package/lib/collection/components/duet-badge/duet-badge.css +2 -2
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +6 -6
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +5 -5
- package/lib/collection/components/duet-button/duet-button.css +80 -80
- package/lib/collection/components/duet-button/duet-button.js +10 -5
- package/lib/collection/components/duet-caption/duet-caption.css +4 -4
- package/lib/collection/components/duet-caption/duet-caption.js +2 -1
- package/lib/collection/components/duet-card/duet-card.css +12 -12
- package/lib/collection/components/duet-card/duet-card.js +6 -3
- package/lib/collection/components/duet-checkbox/duet-checkbox.css +19 -19
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +6 -3
- package/lib/collection/components/duet-choice/duet-checkmark.css +12 -12
- package/lib/collection/components/duet-choice/duet-checkmark.js +1 -1
- package/lib/collection/components/duet-choice/duet-choice.css +74 -74
- package/lib/collection/components/duet-choice/duet-choice.js +8 -4
- package/lib/collection/components/duet-collapsible/duet-collapsible.css +10 -9
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +6 -3
- package/lib/collection/components/duet-combobox/duet-combobox.css +18 -18
- package/lib/collection/components/duet-combobox/duet-combobox.js +6 -3
- package/lib/collection/components/duet-contact-card/duet-contact-card.css +85 -0
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +261 -0
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +6 -6
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +2 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +56 -56
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +8 -4
- package/lib/collection/components/duet-divider/duet-divider.css +2 -2
- package/lib/collection/components/duet-divider/duet-divider.js +2 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +13 -8
- package/lib/collection/components/duet-empty-state/duet-empty-state.css +4 -4
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -1
- package/lib/collection/components/duet-fieldset/duet-fieldset.css +6 -6
- package/lib/collection/components/duet-footer/duet-footer.css +19 -19
- package/lib/collection/components/duet-footer/duet-footer.js +14 -7
- package/lib/collection/components/duet-grid/duet-grid.js +6 -3
- package/lib/collection/components/duet-grid-item/duet-grid-item.css +2 -2
- package/lib/collection/components/duet-header/duet-header.css +105 -105
- package/lib/collection/components/duet-header/duet-header.js +30 -15
- package/lib/collection/components/duet-heading/duet-heading.css +4 -4
- package/lib/collection/components/duet-heading/duet-heading.js +2 -1
- package/lib/collection/components/duet-hero/duet-hero.css +160 -66
- package/lib/collection/components/duet-hero/duet-hero.js +11 -6
- package/lib/collection/components/duet-icon/duet-icon.css +4 -4
- package/lib/collection/components/duet-icon/duet-icon.js +2 -1
- package/lib/collection/components/duet-input/duet-input.css +66 -66
- package/lib/collection/components/duet-input/duet-input.js +48 -28
- package/lib/collection/components/duet-label/duet-label.css +2 -2
- package/lib/collection/components/duet-label/duet-label.js +4 -2
- package/lib/collection/components/duet-layout/duet-layout.js +2 -1
- package/lib/collection/components/duet-link/duet-link.css +13 -10
- package/lib/collection/components/duet-link/duet-link.js +3 -1
- package/lib/collection/components/duet-list/duet-list.js +8 -4
- package/lib/collection/components/duet-list-item/duet-list-item.css +8 -8
- package/lib/collection/components/duet-logo/duet-logo.css +2 -2
- package/lib/collection/components/duet-logo/duet-logo.js +9 -2
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +8 -8
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -2
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +4 -4
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +26 -15
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +8 -8
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +10 -9
- package/lib/collection/components/duet-modal/duet-modal.css +4 -4
- package/lib/collection/components/duet-modal/duet-modal.js +31 -4
- package/lib/collection/components/duet-multiselect/duet-multiselect.css +40 -40
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +10 -5
- package/lib/collection/components/duet-nav/duet-nav.css +0 -1
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.css +14 -14
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +25 -25
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -1
- package/lib/collection/components/duet-number-input/duet-number-input.css +5 -5
- package/lib/collection/components/duet-number-input/duet-number-input.js +8 -4
- package/lib/collection/components/duet-page-heading/duet-page-heading.css +4 -4
- package/lib/collection/components/duet-pagination/duet-pagination.js +6 -3
- package/lib/collection/components/duet-paragraph/duet-paragraph.css +6 -6
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +6 -3
- package/lib/collection/components/duet-progress/duet-progress.css +12 -12
- package/lib/collection/components/duet-radio/duet-radio.css +17 -17
- package/lib/collection/components/duet-radio/duet-radio.js +6 -3
- package/lib/collection/components/duet-range-slider/duet-range-slider.css +30 -30
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +4 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +1 -1
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +24 -3
- package/lib/collection/components/duet-select/duet-select.css +38 -38
- package/lib/collection/components/duet-select/duet-select.js +10 -5
- package/lib/collection/components/duet-slideout/duet-slideout.css +5 -6
- package/lib/collection/components/duet-slideout/duet-slideout.js +11 -9
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +2 -2
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +4 -4
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +9 -9
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +5 -5
- package/lib/collection/components/duet-spacer/duet-spacer.js +4 -2
- package/lib/collection/components/duet-spinner/duet-spinner.css +3 -3
- package/lib/collection/components/duet-spinner/duet-spinner.js +2 -1
- package/lib/collection/components/duet-step/duet-step.css +10 -10
- package/lib/collection/components/duet-step/duet-step.js +4 -2
- package/lib/collection/components/duet-stepper/duet-stepper.css +1 -1
- package/lib/collection/components/duet-stepper/duet-stepper.js +2 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +10 -10
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +18 -18
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +8 -8
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +8 -8
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +61 -45
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +24 -21
- package/lib/collection/components/duet-table/duet-table.css +33 -33
- package/lib/collection/components/duet-table/duet-table.js +6 -3
- package/lib/collection/components/duet-textarea/duet-textarea.css +39 -39
- package/lib/collection/components/duet-textarea/duet-textarea.js +8 -4
- package/lib/collection/components/duet-toggle/duet-toggle.css +12 -12
- package/lib/collection/components/duet-toggle/duet-toggle.js +2 -1
- package/lib/collection/components/duet-toolbar/duet-toolbar.css +6 -6
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +13 -13
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +8 -8
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +11 -11
- package/lib/collection/components/duet-tooltip/duet-tooltip.css +26 -26
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +2 -1
- package/lib/collection/components/duet-tray/duet-tray.css +14 -14
- package/lib/collection/components/duet-upload/duet-upload.css +1 -1
- package/lib/collection/components/duet-upload/duet-upload.js +30 -17
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +2 -1
- package/lib/collection/utils/language-utils.js +35 -0
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
- 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-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +5 -5
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +6 -6
- package/lib/dist-custom-elements/duet-choice.js +8 -8
- package/lib/dist-custom-elements/duet-collapsible.js +4 -4
- package/lib/dist-custom-elements/duet-combobox.js +5 -5
- package/lib/dist-custom-elements/duet-contact-card.d.ts +11 -0
- package/lib/dist-custom-elements/duet-contact-card.js +131 -0
- package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
- package/lib/dist-custom-elements/duet-date-picker.js +14 -14
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +1 -1
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-footer.js +6 -6
- 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 +12 -12
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +12 -12
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar.js +5 -5
- package/lib/dist-custom-elements/duet-modal.js +14 -11
- package/lib/dist-custom-elements/duet-multiselect.js +10 -10
- package/lib/dist-custom-elements/duet-nav.js +4 -4
- 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 +11 -11
- package/lib/dist-custom-elements/duet-page-heading.js +3 -3
- package/lib/dist-custom-elements/duet-pagination.js +10 -9
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-radio-group.js +6 -6
- package/lib/dist-custom-elements/duet-radio.js +2 -2
- package/lib/dist-custom-elements/duet-range-slider.js +4 -4
- package/lib/dist-custom-elements/duet-range-stepper.js +22 -8
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +1 -1
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +5 -5
- package/lib/dist-custom-elements/duet-slideout-link.js +3 -3
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +3 -3
- package/lib/dist-custom-elements/duet-slideout-panel.js +6 -6
- package/lib/dist-custom-elements/duet-slideout.js +9 -8
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +5 -5
- package/lib/dist-custom-elements/duet-stepper.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
- package/lib/dist-custom-elements/duet-tab-group.js +26 -27
- package/lib/dist-custom-elements/duet-tab.js +2 -2
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +9 -9
- package/lib/dist-custom-elements/duet-toggle.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-link.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar.js +2 -2
- 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.js +24 -24
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.d.ts +9 -86
- package/lib/dist-custom-elements/index.js +1 -84
- package/lib/dist-custom-elements/{p-8dd42921.js → p-032585fc.js} +9 -9
- package/lib/dist-custom-elements/{p-69aed4fa.js → p-108485b6.js} +3 -3
- package/lib/dist-custom-elements/{p-e4a60f42.js → p-152ee893.js} +38 -1
- package/lib/dist-custom-elements/p-1b0ba3fe.js +265 -0
- package/lib/dist-custom-elements/{p-24b5f5d8.js → p-1eb646ce.js} +3 -3
- package/lib/dist-custom-elements/{p-35c42834.js → p-2a6f4122.js} +6 -6
- package/lib/dist-custom-elements/{p-55325c49.js → p-33e00967.js} +1 -1
- package/lib/dist-custom-elements/{p-3bd1c042.js → p-42457971.js} +2 -2
- package/lib/dist-custom-elements/{p-5b4c8e0d.js → p-43363964.js} +2 -2
- package/lib/dist-custom-elements/{p-d117f5df.js → p-562ae9bf.js} +2 -2
- package/lib/dist-custom-elements/{p-eecb0a82.js → p-5c4104e5.js} +3 -3
- package/lib/dist-custom-elements/{p-691b1920.js → p-5fdfdb42.js} +33 -10
- package/lib/dist-custom-elements/p-614f2712.js +37 -0
- package/lib/dist-custom-elements/p-646d548a.js +120 -0
- package/lib/dist-custom-elements/{p-52fa416b.js → p-66ce2aa1.js} +2 -2
- package/lib/dist-custom-elements/{p-e565b192.js → p-67e14cd3.js} +122 -7
- package/lib/dist-custom-elements/{p-5392a088.js → p-697162df.js} +2 -2
- package/lib/dist-custom-elements/p-6a1d1526.js +54 -0
- package/lib/dist-custom-elements/{p-ede854e1.js → p-6c05e879.js} +35 -1
- package/lib/{esm/shadow-css-a011f1fe.js → dist-custom-elements/p-6ee53ac3.js} +1 -1
- package/lib/dist-custom-elements/{p-85a51040.js → p-6fe0175a.js} +1 -1
- package/lib/dist-custom-elements/{p-aa1fc08e.js → p-7c398a84.js} +8 -6
- package/lib/dist-custom-elements/{p-f6adaddb.js → p-7e1eab44.js} +3 -3
- package/lib/dist-custom-elements/{p-535ce3ec.js → p-9ed347f9.js} +1 -1
- package/lib/dist-custom-elements/{p-ae7cfbe5.js → p-a080c8ea.js} +2 -2
- package/lib/dist-custom-elements/{p-b0e64542.js → p-a4ba7145.js} +7 -7
- package/lib/dist-custom-elements/p-adb9a785.js +76 -0
- package/lib/dist-custom-elements/{p-baef8898.js → p-b9b19d30.js} +10 -4
- package/lib/dist-custom-elements/{p-92475994.js → p-beeeb7a4.js} +40 -28
- package/lib/dist-custom-elements/{p-738bd3c5.js → p-c4d8cad0.js} +1 -1
- package/lib/dist-custom-elements/p-c6137eb6.js +186 -0
- package/lib/dist-custom-elements/{p-ce6c013f.js → p-ca2fe740.js} +2 -2
- package/lib/dist-custom-elements/{p-7e80afc3.js → p-eb4fb7b2.js} +5 -5
- package/lib/dist-custom-elements/{p-9986919d.js → p-efaad71c.js} +1 -1
- package/lib/dist-custom-elements/{p-7f5fd72b.js → p-efd5d01e.js} +1 -1
- package/lib/dist-custom-elements/{p-5f350253.js → p-f65831ce.js} +1 -1
- package/lib/dist-custom-elements/{p-add72ec7.js → p-fc98d756.js} +2 -2
- package/lib/dist-custom-elements/{p-84bde6a4.js → p-fcd87887.js} +4 -4
- package/lib/dist-custom-elements/{p-67b44d57.js → p-fd7efa16.js} +3 -3
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/p-03cfa47f.entry.js +4 -0
- package/lib/duet/p-0656f2f9.system.entry.js +4 -0
- package/lib/duet/p-07e066a7.entry.js +4 -0
- package/lib/duet/p-08ef8050.system.entry.js +4 -0
- package/lib/duet/p-0adf7b64.entry.js +4 -0
- package/lib/duet/{p-df355346.system.js → p-0c095985.system.js} +1 -1
- package/lib/duet/p-0c53f007.system.entry.js +4 -0
- package/lib/duet/p-0c6ed41d.system.entry.js +4 -0
- package/lib/duet/{p-5e1919f6.entry.js → p-1550576c.entry.js} +1 -1
- package/lib/duet/p-18c0ff13.entry.js +4 -0
- package/lib/duet/{p-effcbf69.entry.js → p-193a8abf.entry.js} +1 -1
- package/lib/duet/p-193cae12.system.entry.js +4 -0
- package/lib/duet/{p-d9b1e1a8.entry.js → p-1b7f8128.entry.js} +1 -1
- package/lib/duet/{p-15491676.entry.js → p-1c8c6afd.entry.js} +1 -1
- package/lib/duet/{p-cdcabbcb.entry.js → p-1d0fe0e5.entry.js} +1 -1
- package/lib/duet/p-1f4351ab.system.entry.js +4 -0
- package/lib/duet/p-22442b75.system.entry.js +4 -0
- package/lib/duet/p-228a7948.entry.js +4 -0
- package/lib/duet/p-23e7d935.entry.js +4 -0
- package/lib/duet/{p-d7dba7ef.system.entry.js → p-25152446.system.entry.js} +1 -1
- package/lib/duet/p-25cfb26a.system.entry.js +4 -0
- package/lib/duet/{p-3e69e46e.entry.js → p-2634dad4.entry.js} +1 -1
- package/lib/duet/p-2af0cd90.system.entry.js +4 -0
- package/lib/duet/p-2c0dbf48.system.entry.js +4 -0
- package/lib/duet/p-2ef88161.system.js +4 -0
- package/lib/duet/p-2f560eb6.system.entry.js +4 -0
- package/lib/duet/p-317e939c.system.entry.js +4 -0
- package/lib/duet/p-31c08993.system.entry.js +4 -0
- package/lib/duet/{p-2e97fd2e.entry.js → p-31dc2463.entry.js} +1 -1
- package/lib/duet/{p-715de0da.system.entry.js → p-322b78d6.system.entry.js} +1 -1
- package/lib/duet/p-33887f28.entry.js +4 -0
- package/lib/duet/p-3575bb17.entry.js +4 -0
- package/lib/duet/p-35853dae.system.entry.js +4 -0
- package/lib/duet/{p-106a741f.entry.js → p-3a053f92.entry.js} +1 -1
- package/lib/duet/p-3a2bc2f9.system.entry.js +4 -0
- package/lib/duet/p-3a8be22c.entry.js +4 -0
- package/lib/duet/p-3b808dd4.system.entry.js +4 -0
- package/lib/duet/{p-a05f0aa4.system.entry.js → p-3c24751d.system.entry.js} +1 -1
- package/lib/duet/p-43d6c9e5.system.entry.js +4 -0
- package/lib/duet/p-460e0000.system.entry.js +4 -0
- package/lib/duet/p-466aa228.entry.js +4 -0
- package/lib/duet/p-49cf2d52.system.entry.js +4 -0
- package/lib/duet/p-4bf107bc.system.entry.js +4 -0
- package/lib/duet/p-4c3009d4.entry.js +4 -0
- package/lib/duet/{p-59076cae.entry.js → p-4d427b74.entry.js} +1 -1
- package/lib/duet/p-51eee6b2.system.entry.js +4 -0
- package/lib/duet/p-56db6310.entry.js +4 -0
- package/lib/duet/p-57ff4a56.system.entry.js +4 -0
- package/lib/duet/p-59ab89fe.entry.js +4 -0
- package/lib/duet/p-59d0e9da.system.entry.js +4 -0
- package/lib/duet/p-5a158681.system.entry.js +4 -0
- package/lib/duet/p-5c142974.system.entry.js +4 -0
- package/lib/duet/p-6228593b.system.entry.js +4 -0
- package/lib/duet/p-63996737.entry.js +4 -0
- package/lib/duet/p-67d326ad.system.entry.js +4 -0
- package/lib/duet/p-6b420202.system.entry.js +4 -0
- package/lib/duet/p-6c05e879.js +4 -0
- package/lib/duet/p-6d3af831.system.entry.js +4 -0
- package/lib/duet/p-6ee53ac3.js +15 -0
- package/lib/duet/p-703d38f6.entry.js +4 -0
- package/lib/duet/p-77149afc.entry.js +4 -0
- package/lib/duet/p-77f82263.entry.js +4 -0
- package/lib/duet/p-79a9746e.js +1 -1
- package/lib/duet/{p-f7cde9df.entry.js → p-812836a4.entry.js} +1 -1
- package/lib/duet/p-83740a39.entry.js +4 -0
- package/lib/duet/p-83a78090.system.entry.js +4 -0
- package/lib/duet/p-86fa6670.entry.js +4 -0
- package/lib/duet/p-8757adcf.system.entry.js +4 -0
- package/lib/duet/p-88a6749f.system.entry.js +4 -0
- package/lib/duet/p-88c382be.entry.js +4 -0
- package/lib/duet/{p-b655eb33.entry.js → p-8982ddf8.entry.js} +1 -1
- package/lib/duet/{p-9264d821.entry.js → p-8d129d52.entry.js} +1 -1
- package/lib/duet/{p-45b6203e.entry.js → p-8d2d6072.entry.js} +1 -1
- package/lib/duet/{p-98686c85.system.entry.js → p-8d545d1b.system.entry.js} +1 -1
- package/lib/duet/p-8f806a8b.entry.js +4 -0
- package/lib/duet/{p-d4fd1619.system.entry.js → p-8fcec069.system.entry.js} +1 -1
- package/lib/duet/p-9052b6f5.js +1 -1
- package/lib/duet/p-924a6fae.system.entry.js +4 -0
- package/lib/duet/{p-f32a7df7.entry.js → p-92e65f96.entry.js} +1 -1
- package/lib/duet/p-960b240d.system.entry.js +4 -0
- package/lib/duet/p-9629d71a.system.entry.js +4 -0
- package/lib/duet/{p-6ddb8a89.entry.js → p-9b9055ce.entry.js} +1 -1
- package/lib/duet/{p-e8238bc0.entry.js → p-9c87118f.entry.js} +1 -1
- package/lib/duet/p-9d0a9bd5.system.entry.js +4 -0
- package/lib/duet/p-9f11e160.system.entry.js +4 -0
- package/lib/duet/{p-6c280f89.entry.js → p-9f1f39b5.entry.js} +1 -1
- package/lib/duet/{p-b4305d0a.system.entry.js → p-a1199061.system.entry.js} +2 -2
- package/lib/duet/p-a221c855.entry.js +4 -0
- package/lib/duet/p-a29a4414.system.entry.js +4 -0
- package/lib/duet/p-a5d5622d.system.entry.js +4 -0
- package/lib/duet/{p-0ad201e5.entry.js → p-a917e3b6.entry.js} +1 -1
- package/lib/duet/p-a933c3f8.system.entry.js +4 -0
- package/lib/duet/p-ab13177d.entry.js +4 -0
- package/lib/duet/p-acad33fd.entry.js +4 -0
- package/lib/duet/p-b1db3006.js +1 -1
- package/lib/duet/p-b2ba1012.system.entry.js +4 -0
- package/lib/duet/p-b3cdf97b.js +5 -0
- package/lib/duet/p-b44772bb.entry.js +4 -0
- package/lib/duet/{p-51816111.entry.js → p-b4c89247.entry.js} +1 -1
- package/lib/duet/p-b50558d2.entry.js +4 -0
- package/lib/duet/p-b5895431.system.entry.js +4 -0
- package/lib/duet/{p-ac573362.entry.js → p-b5d742f4.entry.js} +1 -1
- package/lib/duet/p-b7867483.system.entry.js +4 -0
- package/lib/duet/p-b87a1d54.system.entry.js +4 -0
- package/lib/duet/p-b9e6d933.system.entry.js +4 -0
- package/lib/duet/{p-b6e277a1.entry.js → p-ba3c427f.entry.js} +1 -1
- package/lib/duet/p-bb04665a.entry.js +4 -0
- package/lib/duet/p-bbd312c3.entry.js +4 -0
- package/lib/duet/p-c0b16f31.entry.js +4 -0
- package/lib/duet/p-c4d454c3.entry.js +4 -0
- package/lib/duet/p-c4d8cad0.js +1 -1
- package/lib/duet/p-c9971192.system.entry.js +4 -0
- package/lib/duet/p-cc12d9fa.entry.js +4 -0
- package/lib/duet/p-ccca2abd.system.entry.js +4 -0
- package/lib/duet/p-cd0c52b9.system.js +5 -0
- package/lib/duet/p-cd24dd64.entry.js +4 -0
- package/lib/duet/p-cd44cc43.system.entry.js +4 -0
- package/lib/duet/{p-21fe5a95.entry.js → p-cd51c9f9.entry.js} +1 -1
- package/lib/duet/p-d0a204dd.js +4 -0
- package/lib/duet/p-d4a49f9d.entry.js +4 -0
- package/lib/duet/{p-93b95959.entry.js → p-d5039af1.entry.js} +1 -1
- package/lib/duet/p-d54bc721.entry.js +4 -0
- package/lib/duet/p-d6c3dc66.entry.js +4 -0
- package/lib/duet/p-dd52fc75.entry.js +4 -0
- package/lib/duet/p-de63db12.system.entry.js +4 -0
- package/lib/duet/{p-6101021f.system.entry.js → p-e2592469.system.entry.js} +2 -2
- package/lib/duet/p-e79b8e08.system.entry.js +4 -0
- package/lib/duet/p-ea0c5cce.system.entry.js +4 -0
- package/lib/duet/p-eac7d756.system.entry.js +4 -0
- package/lib/duet/p-eb4dc652.system.entry.js +4 -0
- package/lib/duet/p-ef6131cf.system.entry.js +4 -0
- package/lib/duet/p-f20780ad.system.js +4 -0
- package/lib/duet/{p-3e2c92b9.entry.js → p-f3340517.entry.js} +1 -1
- package/lib/duet/p-f364ae29.entry.js +4 -0
- package/lib/duet/p-f495c3af.system.entry.js +4 -0
- package/lib/duet/p-f695a268.system.entry.js +4 -0
- package/lib/duet/p-f6dfcdb7.system.entry.js +4 -0
- package/lib/duet/{p-513a7695.entry.js → p-f7c8e22c.entry.js} +1 -1
- package/lib/duet/{p-a563982e.system.entry.js → p-fb92ab7b.system.entry.js} +1 -1
- package/lib/duet/p-fcaa49c3.entry.js +4 -0
- package/lib/duet/p-fcdc6d18.entry.js +4 -0
- package/lib/duet/p-fd55984b.system.entry.js +4 -0
- package/lib/duet/{p-806372aa.entry.js → p-fe87de6d.entry.js} +1 -1
- package/lib/duet/p-ff6679c1.entry.js +4 -0
- package/lib/esm/{dom-4d9c03f4.js → dom-ae12a113.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +3 -3
- package/lib/esm/duet-alert.entry.js +26 -5
- package/lib/esm/duet-badge.entry.js +2 -2
- package/lib/esm/duet-breadcrumb.entry.js +2 -2
- package/lib/esm/duet-breadcrumbs.entry.js +3 -3
- package/lib/esm/duet-button_2.entry.js +4 -4
- package/lib/esm/duet-caption_4.entry.js +9 -7
- package/lib/esm/duet-card.entry.js +2 -2
- package/lib/esm/duet-checkbox.entry.js +2 -2
- package/lib/esm/duet-checkmark.entry.js +2 -2
- package/lib/esm/duet-choice_2.entry.js +4 -4
- package/lib/esm/duet-collapsible.entry.js +2 -2
- package/lib/esm/duet-combobox.entry.js +3 -3
- package/lib/esm/duet-contact-card.entry.js +60 -0
- package/lib/esm/duet-cookie-consent.entry.js +2 -2
- package/lib/esm/duet-date-picker.entry.js +4 -4
- package/lib/esm/duet-divider_2.entry.js +2 -2
- package/lib/esm/duet-editable-table_3.entry.js +7 -7
- package/lib/esm/duet-empty-state.entry.js +2 -2
- package/lib/esm/duet-fieldset.entry.js +2 -2
- package/lib/esm/duet-footer.entry.js +3 -3
- package/lib/esm/duet-grid_2.entry.js +2 -2
- package/lib/esm/duet-header_2.entry.js +10 -4
- package/lib/esm/duet-hero.entry.js +4 -4
- package/lib/esm/duet-icon.entry.js +2 -2
- package/lib/esm/duet-input_2.entry.js +32 -21
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +2 -2
- package/lib/esm/duet-menu-bar-button.entry.js +2 -2
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar-dropdown.entry.js +2 -2
- package/lib/esm/duet-menu-bar-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar.entry.js +3 -3
- package/lib/esm/duet-modal.entry.js +7 -5
- package/lib/esm/duet-multiselect.entry.js +3 -3
- package/lib/esm/duet-nav.entry.js +4 -4
- package/lib/esm/duet-notification_2.entry.js +4 -4
- package/lib/esm/duet-number-input.entry.js +3 -3
- package/lib/esm/duet-page-heading.entry.js +2 -2
- package/lib/esm/duet-pagination_2.entry.js +18 -4
- package/lib/esm/duet-progress.entry.js +3 -3
- package/lib/esm/duet-radio_2.entry.js +2 -2
- package/lib/esm/duet-range-slider.entry.js +2 -2
- package/lib/esm/duet-scrollable_3.entry.js +18 -19
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +2 -2
- package/lib/esm/duet-slideout-lang.entry.js +3 -3
- package/lib/esm/duet-slideout-link.entry.js +2 -2
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +2 -2
- package/lib/esm/duet-slideout-panel.entry.js +4 -4
- package/lib/esm/duet-slideout.entry.js +6 -5
- package/lib/esm/duet-step_2.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar.entry.js +2 -2
- package/lib/esm/duet-textarea.entry.js +2 -2
- package/lib/esm/duet-toggle.entry.js +2 -2
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-toolbar-dropdown.entry.js +2 -2
- package/lib/esm/duet-toolbar-link.entry.js +2 -2
- package/lib/esm/duet-toolbar.entry.js +2 -2
- package/lib/esm/duet-tooltip.entry.js +3 -3
- package/lib/esm/duet-tray.entry.js +3 -3
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +34 -6
- package/lib/esm/{focus-utils-fd1ff36a.js → focus-utils-cf8246ed.js} +1 -1
- package/lib/esm/{index-4ce7972b.js → index-df15a197.js} +129 -7
- package/lib/esm/{language-utils-bf701d37.js → language-utils-7b211f31.js} +35 -1
- package/lib/esm/loader.js +4 -3
- package/lib/esm/polyfills/css-shim.js +1 -1
- package/lib/{dist-custom-elements/p-e2cd1c98.js → esm/shadow-css-66bc7949.js} +1 -1
- package/lib/esm-es5/duet-action-button.entry.js +2 -2
- package/lib/esm-es5/duet-alert.entry.js +2 -2
- package/lib/esm-es5/duet-badge.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 +2 -2
- 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-choice_2.entry.js +2 -2
- package/lib/esm-es5/duet-collapsible.entry.js +2 -2
- package/lib/esm-es5/duet-combobox.entry.js +2 -2
- package/lib/esm-es5/duet-contact-card.entry.js +4 -0
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +2 -2
- 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-footer.entry.js +2 -2
- package/lib/esm-es5/duet-grid_2.entry.js +2 -2
- package/lib/esm-es5/duet-header_2.entry.js +2 -2
- package/lib/esm-es5/duet-hero.entry.js +2 -2
- package/lib/esm-es5/duet-icon.entry.js +2 -2
- package/lib/esm-es5/duet-input_2.entry.js +2 -2
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +2 -2
- 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-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +2 -2
- package/lib/esm-es5/duet-multiselect.entry.js +2 -2
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +2 -2
- package/lib/esm-es5/duet-number-input.entry.js +2 -2
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +2 -2
- package/lib/esm-es5/duet-range-slider.entry.js +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +2 -2
- package/lib/esm-es5/duet-step_2.entry.js +2 -2
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +2 -2
- 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-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +2 -2
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/focus-utils-cf8246ed.js +4 -0
- package/lib/esm-es5/index-df15a197.js +5 -0
- package/lib/esm-es5/{language-utils-bf701d37.js → language-utils-7b211f31.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/loader/index.d.ts +9 -0
- package/lib/types/common-types.d.ts +20 -0
- package/lib/types/components/duet-action-button/duet-action-button.d.ts +2 -2
- package/lib/types/components/duet-alert/duet-alert.d.ts +11 -1
- package/lib/types/components/duet-button/duet-button.d.ts +6 -6
- package/lib/types/components/duet-caption/duet-caption.d.ts +1 -1
- package/lib/types/components/duet-card/duet-card.d.ts +3 -3
- package/lib/types/components/duet-checkbox/duet-checkbox.d.ts +1 -1
- package/lib/types/components/duet-choice/duet-checkmark.d.ts +1 -2
- package/lib/types/components/duet-choice/duet-choice.d.ts +2 -3
- package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +3 -3
- package/lib/types/components/duet-combobox/duet-combobox.d.ts +2 -2
- package/lib/types/components/duet-contact-card/duet-contact-card.d.ts +64 -0
- package/lib/types/components/duet-cookie-consent/duet-cookie-consent.d.ts +2 -2
- package/lib/types/components/duet-date-picker/date-i18n.d.ts +3 -3
- package/lib/types/components/duet-date-picker/date-picker-day.d.ts +1 -1
- package/lib/types/components/duet-date-picker/date-picker-input.d.ts +1 -1
- package/lib/types/components/duet-date-picker/date-picker-month.d.ts +1 -1
- package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +3 -3
- package/lib/types/components/duet-divider/duet-divider.d.ts +1 -1
- package/lib/types/components/duet-editable-table/duet-editable-table.d.ts +9 -10
- package/lib/types/components/duet-empty-state/duet-empty-state.d.ts +1 -1
- package/lib/types/components/duet-footer/duet-footer.d.ts +5 -5
- package/lib/types/components/duet-grid/duet-grid.d.ts +3 -3
- package/lib/types/components/duet-header/duet-header.d.ts +9 -9
- package/lib/types/components/duet-heading/duet-heading.d.ts +1 -1
- package/lib/types/components/duet-hero/duet-hero.d.ts +8 -8
- package/lib/types/components/duet-icon/duet-icon.d.ts +1 -1
- package/lib/types/components/duet-input/duet-input.d.ts +8 -5
- package/lib/types/components/duet-label/duet-label.d.ts +2 -2
- package/lib/types/components/duet-layout/duet-layout.d.ts +1 -1
- package/lib/types/components/duet-list/duet-list.d.ts +4 -4
- package/lib/types/components/duet-logo/duet-logo.d.ts +3 -1
- package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +1 -1
- package/lib/types/components/duet-modal/duet-modal.d.ts +9 -3
- package/lib/types/components/duet-multiselect/duet-multiselect.d.ts +2 -2
- package/lib/types/components/duet-nav/duet-nav.d.ts +1 -1
- package/lib/types/components/duet-notification-drawer/duet-notification-drawer.d.ts +1 -1
- package/lib/types/components/duet-number-input/duet-number-input.d.ts +1 -1
- package/lib/types/components/duet-pagination/duet-pagination.d.ts +2 -2
- package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +3 -3
- package/lib/types/components/duet-progress/duet-progress.d.ts +1 -1
- package/lib/types/components/duet-radio/duet-radio.d.ts +1 -1
- package/lib/types/components/duet-range-slider/duet-range-slider.d.ts +1 -1
- package/lib/types/components/duet-range-stepper/duet-range-stepper.d.ts +9 -2
- package/lib/types/components/duet-select/duet-select.d.ts +5 -5
- package/lib/types/components/duet-slideout/duet-slideout.d.ts +3 -4
- package/lib/types/components/duet-spacer/duet-spacer.d.ts +2 -2
- package/lib/types/components/duet-spinner/duet-spinner.d.ts +1 -1
- package/lib/types/components/duet-step/duet-step.d.ts +2 -2
- package/lib/types/components/duet-stepper/duet-stepper.d.ts +1 -1
- package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +2 -2
- package/lib/types/components/duet-table/duet-table.d.ts +2 -5
- package/lib/types/components/duet-textarea/duet-textarea.d.ts +1 -1
- package/lib/types/components/duet-toggle/duet-toggle.d.ts +1 -1
- package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +1 -1
- package/lib/types/components/duet-upload/duet-upload.d.ts +7 -8
- package/lib/types/components/duet-upload/errorcodes.utils.d.ts +2 -2
- package/lib/types/components/duet-upload/xhr.helpers.d.ts +5 -5
- package/lib/types/components/duet-upload-aria-status/duet-upload-aria-status.d.ts +1 -8
- package/lib/types/components.d.ts +166 -11
- package/lib/types/stencil-public-runtime.d.ts +71 -15
- package/lib/types/utils/fixture-utils.d.ts +1 -1
- package/lib/types/utils/focus-utils.d.ts +1 -1
- package/lib/types/utils/language-utils.d.ts +4 -1
- package/lib/types/utils/test-utils.d.ts +2 -2
- package/lib/types/utils/token-utils.d.ts +1 -1
- package/package.json +17 -22
- package/lib/dist-custom-elements/p-07adaab8.js +0 -120
- package/lib/dist-custom-elements/p-19440466.js +0 -54
- package/lib/dist-custom-elements/p-7429e56d.js +0 -37
- package/lib/dist-custom-elements/p-a1657855.js +0 -186
- package/lib/dist-custom-elements/p-ebd24c35.js +0 -76
- package/lib/dist-custom-elements/p-f039872b.js +0 -265
- package/lib/duet/p-00d1faa8.system.entry.js +0 -4
- package/lib/duet/p-0224239f.system.entry.js +0 -4
- package/lib/duet/p-0a66156e.entry.js +0 -4
- package/lib/duet/p-0f832028.system.entry.js +0 -4
- package/lib/duet/p-1aa20ab7.entry.js +0 -4
- package/lib/duet/p-1ad4d522.entry.js +0 -4
- package/lib/duet/p-1bcd686c.system.entry.js +0 -4
- package/lib/duet/p-1d27e786.system.entry.js +0 -4
- package/lib/duet/p-1d3eea4d.entry.js +0 -4
- package/lib/duet/p-1e1399f1.system.entry.js +0 -4
- package/lib/duet/p-1e13b45e.entry.js +0 -4
- package/lib/duet/p-207a0c1c.system.entry.js +0 -4
- package/lib/duet/p-229df87f.system.entry.js +0 -4
- package/lib/duet/p-23f53cd4.entry.js +0 -4
- package/lib/duet/p-2487f6d3.entry.js +0 -4
- package/lib/duet/p-2512dbc9.system.entry.js +0 -4
- package/lib/duet/p-27047a6b.system.entry.js +0 -4
- package/lib/duet/p-28ad9ea4.system.entry.js +0 -4
- package/lib/duet/p-2caf0416.system.entry.js +0 -4
- package/lib/duet/p-2de3ab1e.entry.js +0 -4
- package/lib/duet/p-31ee64dd.system.entry.js +0 -4
- package/lib/duet/p-3328db18.system.entry.js +0 -4
- package/lib/duet/p-361f1e5a.system.entry.js +0 -4
- package/lib/duet/p-36f8f697.js +0 -4
- package/lib/duet/p-3c178cbd.system.entry.js +0 -4
- package/lib/duet/p-3cf5edbe.system.entry.js +0 -4
- package/lib/duet/p-3ee4e5c9.system.js +0 -5
- package/lib/duet/p-3f03edf8.entry.js +0 -4
- package/lib/duet/p-41bb6838.entry.js +0 -4
- package/lib/duet/p-43c49efe.entry.js +0 -4
- package/lib/duet/p-4c83be57.entry.js +0 -4
- package/lib/duet/p-4e77a3b7.system.entry.js +0 -4
- package/lib/duet/p-54b1d0e3.entry.js +0 -4
- package/lib/duet/p-55b0e3be.system.entry.js +0 -4
- package/lib/duet/p-564a241d.entry.js +0 -4
- package/lib/duet/p-58a856ae.entry.js +0 -4
- package/lib/duet/p-5cf6e9e8.entry.js +0 -4
- package/lib/duet/p-5f6d34d7.entry.js +0 -4
- package/lib/duet/p-60749162.system.entry.js +0 -4
- package/lib/duet/p-6295446a.system.entry.js +0 -4
- package/lib/duet/p-63d1a582.system.entry.js +0 -4
- package/lib/duet/p-64689daf.entry.js +0 -4
- package/lib/duet/p-65368604.system.entry.js +0 -4
- package/lib/duet/p-673781c4.system.entry.js +0 -4
- package/lib/duet/p-68728106.entry.js +0 -4
- package/lib/duet/p-6876fae1.entry.js +0 -4
- package/lib/duet/p-68b5494b.system.entry.js +0 -4
- package/lib/duet/p-6a43bf52.system.entry.js +0 -4
- package/lib/duet/p-6dcd0742.system.entry.js +0 -4
- package/lib/duet/p-6e299197.js +0 -5
- package/lib/duet/p-6eaa227c.system.entry.js +0 -4
- package/lib/duet/p-7275e002.system.entry.js +0 -4
- package/lib/duet/p-73dc5bf7.system.entry.js +0 -4
- package/lib/duet/p-7a8021a0.entry.js +0 -4
- package/lib/duet/p-7b6e0f85.entry.js +0 -4
- package/lib/duet/p-80b5a050.entry.js +0 -4
- package/lib/duet/p-80d19e6c.entry.js +0 -4
- package/lib/duet/p-85a0df90.system.entry.js +0 -4
- package/lib/duet/p-886d12fc.entry.js +0 -4
- package/lib/duet/p-8abf23da.system.entry.js +0 -4
- package/lib/duet/p-8b0d9081.system.entry.js +0 -4
- package/lib/duet/p-8b8c4430.system.entry.js +0 -4
- package/lib/duet/p-9753f842.system.entry.js +0 -4
- package/lib/duet/p-97994ff7.system.entry.js +0 -4
- package/lib/duet/p-97e511b5.entry.js +0 -4
- package/lib/duet/p-9c8786d8.entry.js +0 -4
- package/lib/duet/p-9faea5f0.entry.js +0 -4
- package/lib/duet/p-a1b78e12.entry.js +0 -4
- package/lib/duet/p-a8f63ab3.entry.js +0 -4
- package/lib/duet/p-ab1058cc.entry.js +0 -4
- package/lib/duet/p-abb2234e.system.entry.js +0 -4
- package/lib/duet/p-ac760895.system.entry.js +0 -4
- package/lib/duet/p-b00a028b.entry.js +0 -4
- package/lib/duet/p-b0d707dc.system.entry.js +0 -4
- package/lib/duet/p-b1bf336d.entry.js +0 -4
- package/lib/duet/p-b5eb7f56.system.entry.js +0 -4
- package/lib/duet/p-b7d31c4f.system.entry.js +0 -4
- package/lib/duet/p-b7d5c170.entry.js +0 -4
- package/lib/duet/p-b95cf5f3.entry.js +0 -4
- package/lib/duet/p-bc3b08f1.system.entry.js +0 -4
- package/lib/duet/p-be2f66e7.entry.js +0 -4
- package/lib/duet/p-c20350ab.system.entry.js +0 -4
- package/lib/duet/p-c282e7ea.system.entry.js +0 -4
- package/lib/duet/p-c29992ea.system.entry.js +0 -4
- package/lib/duet/p-ce147403.system.entry.js +0 -4
- package/lib/duet/p-ce9d1284.system.entry.js +0 -4
- package/lib/duet/p-cf07b5b8.system.entry.js +0 -4
- package/lib/duet/p-cf320f27.entry.js +0 -4
- package/lib/duet/p-d3f5238b.system.js +0 -4
- package/lib/duet/p-e0508afa.system.entry.js +0 -4
- package/lib/duet/p-e11e19e6.system.entry.js +0 -4
- package/lib/duet/p-e2cd1c98.js +0 -15
- package/lib/duet/p-e2fd4fbe.system.entry.js +0 -4
- package/lib/duet/p-e44d8e24.system.entry.js +0 -4
- package/lib/duet/p-e4c09798.entry.js +0 -4
- package/lib/duet/p-e50172c5.system.entry.js +0 -4
- package/lib/duet/p-e57031c1.entry.js +0 -4
- package/lib/duet/p-ea6472ee.system.entry.js +0 -4
- package/lib/duet/p-ede854e1.js +0 -4
- package/lib/duet/p-f18ade76.system.entry.js +0 -4
- package/lib/duet/p-f69b64c9.system.js +0 -4
- package/lib/duet/p-f707d7e2.system.entry.js +0 -4
- package/lib/duet/p-faae74b5.system.entry.js +0 -4
- package/lib/esm-es5/focus-utils-fd1ff36a.js +0 -4
- package/lib/esm-es5/index-4ce7972b.js +0 -5
- /package/lib/duet/{p-73900354.system.js → p-6cf44bfa.system.js} +0 -0
- /package/lib/duet/{p-07970d29.js → p-9c159fd4.js} +0 -0
- /package/lib/duet/{p-da0d4ee3.system.js → p-9d9204af.system.js} +0 -0
- /package/lib/esm-es5/{dom-4d9c03f4.js → dom-ae12a113.js} +0 -0
- /package/lib/esm-es5/{shadow-css-a011f1fe.js → shadow-css-66bc7949.js} +0 -0
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { p as proxyCustomElement, H, h } from './p-67e14cd3.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
|
+
import { s as sanitizeString } from './p-5a9d75e1.js';
|
|
7
|
+
import { g as getColorByName } from './p-9ed347f9.js';
|
|
8
|
+
|
|
9
|
+
const duetHeadingCss = "*,*::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;position:relative;display:block;width:100%}.duet-heading{margin-bottom:16px !important;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-style:normal;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(0, 41, 77);text-decoration:none;letter-spacing:-0.01rem;word-break:break-word}@media (min-width: 36em){.duet-heading{margin-bottom:20px !important}}.duet-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\";font-style:italic;font-weight:700;color:rgb(23, 28, 58)}.duet-heading.duet-heading-border{padding-bottom:20px;border-bottom:1px solid rgb(225, 227, 230)}.duet-heading.duet-heading-border.duet-heading-border-solid{border-bottom-color:rgb(101, 119, 135)}.duet-heading.duet-heading-hyphenate{-webkit-hyphens:auto;hyphens:auto}.duet-heading.h0{font-size:9.4vw}.duet-heading.h0.duet-p-0{padding:0 !important}.duet-heading.h0.duet-m-0{margin:0 !important}@media (max-width: 31.914893617rem){.duet-heading.h0{font-size:3rem}}@media (min-width: 47.8723404255rem){.duet-heading.h0{font-size:4.5rem}}@media (max-width: 22.5em){.duet-heading.h0{font-size:2.25rem}}.duet-heading.h1{font-size:7vw}.duet-heading.h1.duet-p-0{padding:0 !important}.duet-heading.h1.duet-m-0{margin:0 !important}@media (max-width: 32.1428571429rem){.duet-heading.h1{font-size:2.25rem}}@media (min-width: 42.8571428571rem){.duet-heading.h1{font-size:3rem}}@media (max-width: 22.5em){.duet-heading.h1{font-size:1.5rem}}.duet-heading.h2{font-size:5.8vw}.duet-heading.h2.duet-p-0{padding:0 !important}.duet-heading.h2.duet-m-0{margin:0 !important}@media (max-width: 25.8620689655rem){.duet-heading.h2{font-size:1.5rem}}@media (min-width: 38.7931034483rem){.duet-heading.h2{font-size:2.25rem}}.duet-heading.h2.duet-theme-turva{font-style:normal}@media (max-width: 22.5em){.duet-heading.h2{font-size:1.375rem}}.duet-heading.h3{margin-bottom:12px !important;font-size:4.2vw}.duet-heading.h3.duet-p-0{padding:0 !important}.duet-heading.h3.duet-m-0{margin:0 !important}@media (max-width: 29.7619047619rem){.duet-heading.h3{font-size:1.25rem}}@media (min-width: 35.7142857143rem){.duet-heading.h3{font-size:1.5rem}}.duet-heading.h3.duet-theme-turva{font-style:normal}.duet-heading.h3.duet-heading-border{padding-bottom:20px}.duet-heading.h4{margin-bottom:8px !important;font-size:4vw;letter-spacing:0}.duet-heading.h4.duet-p-0{padding:0 !important}.duet-heading.h4.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h4{font-size:1.1rem}}@media (min-width: 31.25rem){.duet-heading.h4{font-size:1.25rem}}.duet-heading.h4.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h4.duet-heading-border{padding-bottom:20px}.duet-heading.h5{margin-bottom:8px !important;font-size:4vw;font-weight:600;letter-spacing:0}.duet-heading.h5.duet-p-0{padding:0 !important}.duet-heading.h5.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h5{font-size:1.1rem}}@media (min-width: 28.4090909091rem){.duet-heading.h5{font-size:1.1363636364rem}}.duet-heading.h5.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h5.duet-heading-border{padding-bottom:16px}.duet-heading.h6{margin-bottom:8px !important;font-size:1rem;font-weight:600;letter-spacing:0}.duet-heading.h6.duet-p-0{padding:0 !important}.duet-heading.h6.duet-m-0{margin:0 !important}.duet-heading.h6.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h6.duet-heading-border{padding-bottom:16px}.duet-heading.duet-normal,.duet-heading.duet-theme-turva.duet-normal{font-style:normal !important;font-weight:400 !important}.duet-heading.duet-semibold,.duet-heading.duet-theme-turva.duet-semibold{font-style:normal !important;font-weight:600 !important}";
|
|
10
|
+
|
|
11
|
+
const DuetHeading = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
12
|
+
constructor() {
|
|
13
|
+
super();
|
|
14
|
+
this.__registerHost();
|
|
15
|
+
this.__attachShadow();
|
|
16
|
+
this.level = "h2";
|
|
17
|
+
this.margin = "auto";
|
|
18
|
+
this.visualLevel = undefined;
|
|
19
|
+
this.border = false;
|
|
20
|
+
this.weight = "auto";
|
|
21
|
+
this.color = "";
|
|
22
|
+
this.theme = "";
|
|
23
|
+
this.hyphenate = false;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Component lifecycle events.
|
|
27
|
+
*/
|
|
28
|
+
componentWillLoad() {
|
|
29
|
+
inheritGlobalTheme(this);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* render() function
|
|
33
|
+
* Always the last one in the class.
|
|
34
|
+
*/
|
|
35
|
+
render() {
|
|
36
|
+
const TagName = sanitizeString(this.level);
|
|
37
|
+
const color = getColorByName(this.color);
|
|
38
|
+
return (h(TagName, { class: {
|
|
39
|
+
"duet-heading": true,
|
|
40
|
+
"duet-heading-border": this.border !== false,
|
|
41
|
+
"duet-heading-border-solid": this.border === "solid",
|
|
42
|
+
"duet-normal": this.weight === "normal",
|
|
43
|
+
"duet-semibold": this.weight === "semibold",
|
|
44
|
+
"duet-heading-hyphenate": this.hyphenate,
|
|
45
|
+
"duet-m-0": this.margin === "none",
|
|
46
|
+
[this.visualLevel ? this.visualLevel : this.level]: true,
|
|
47
|
+
"duet-theme-turva": this.theme === "turva",
|
|
48
|
+
}, style: { color } }, h("slot", null)));
|
|
49
|
+
}
|
|
50
|
+
get element() { return this; }
|
|
51
|
+
static get style() { return duetHeadingCss; }
|
|
52
|
+
}, [1, "duet-heading", {
|
|
53
|
+
"level": [513],
|
|
54
|
+
"margin": [1],
|
|
55
|
+
"visualLevel": [1, "visual-level"],
|
|
56
|
+
"border": [8],
|
|
57
|
+
"weight": [1],
|
|
58
|
+
"color": [1],
|
|
59
|
+
"theme": [1025],
|
|
60
|
+
"hyphenate": [4]
|
|
61
|
+
}]);
|
|
62
|
+
function defineCustomElement() {
|
|
63
|
+
if (typeof customElements === "undefined") {
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
const components = ["duet-heading"];
|
|
67
|
+
components.forEach(tagName => { switch (tagName) {
|
|
68
|
+
case "duet-heading":
|
|
69
|
+
if (!customElements.get(tagName)) {
|
|
70
|
+
customElements.define(tagName, DuetHeading);
|
|
71
|
+
}
|
|
72
|
+
break;
|
|
73
|
+
} });
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export { DuetHeading as D, defineCustomElement as d };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h,
|
|
5
|
-
import {
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-67e14cd3.js';
|
|
5
|
+
import { j as colorGrayLightest, k as colorBrandGrayTurva, l as colorPrimaryTurva, n as colorBrandBlue } from './p-33e00967.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
7
7
|
import { c as createID } from './p-c1325e35.js';
|
|
8
|
-
import { a as getLanguage } from './p-
|
|
8
|
+
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-6c05e879.js';
|
|
9
9
|
|
|
10
|
-
const duetLogoCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-logo{-webkit-user-select:none;user-select:none;display:block;width:154px;height:40px;border-radius:4px}.duet-logo:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px
|
|
10
|
+
const duetLogoCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-logo{-webkit-user-select:none;user-select:none;display:block;width:154px;height:40px;border-radius:4px}.duet-logo:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-theme-turva .duet-logo:focus,.duet-logo:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-logo.duet-logo-en{width:166px}.duet-logo.duet-logo-sv{width:167px}.duet-logo.duet-theme-turva{width:110px;height:40px}.duet-logo svg{display:block;width:100%;height:auto}.duet-logo.large{width:184.8px;height:48px}.duet-logo.large.duet-logo-en{width:199.2px}.duet-logo.large.duet-logo-sv{width:200.4px}.duet-logo.large.duet-theme-turva{width:149.6px;height:54.4px}";
|
|
11
11
|
|
|
12
12
|
const TurvaLogo = ({ inverse, logoId }) => {
|
|
13
13
|
const logoColor = inverse ? colorGrayLightest : colorBrandGrayTurva;
|
|
@@ -58,6 +58,12 @@ const DuetLogo = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
58
58
|
componentWillLoad() {
|
|
59
59
|
inheritGlobalTheme(this);
|
|
60
60
|
}
|
|
61
|
+
connectedCallback() {
|
|
62
|
+
connectLanguageChangeObserver(this);
|
|
63
|
+
}
|
|
64
|
+
disconnectedCallback() {
|
|
65
|
+
disconnectLanguageChangeObserver(this);
|
|
66
|
+
}
|
|
61
67
|
/**
|
|
62
68
|
* Sets focus on the specified `duet-logo`. Use this method instead of the global
|
|
63
69
|
* `logo.focus()`.
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h,
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-67e14cd3.js';
|
|
5
5
|
import { f as formSearch } from './p-d004da5f.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
7
7
|
import { c as createID } from './p-c1325e35.js';
|
|
8
8
|
import { c as cleanValue, r as resetCursor } from './p-56118313.js';
|
|
9
9
|
import { b as isEscapeKey, c as isEnterKey } from './p-d8549efe.js';
|
|
10
|
-
import {
|
|
11
|
-
import { d as defineCustomElement$7 } from './p-
|
|
12
|
-
import { d as defineCustomElement$6 } from './p-
|
|
13
|
-
import { d as defineCustomElement$5 } from './p-
|
|
14
|
-
import { d as defineCustomElement$4 } from './p-
|
|
15
|
-
import { d as defineCustomElement$3 } from './p-
|
|
16
|
-
import { d as defineCustomElement$2 } from './p-
|
|
17
|
-
import { d as defineCustomElement$1 } from './p-
|
|
10
|
+
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-6c05e879.js';
|
|
11
|
+
import { d as defineCustomElement$7 } from './p-1b0ba3fe.js';
|
|
12
|
+
import { d as defineCustomElement$6 } from './p-fc98d756.js';
|
|
13
|
+
import { d as defineCustomElement$5 } from './p-c6137eb6.js';
|
|
14
|
+
import { d as defineCustomElement$4 } from './p-697162df.js';
|
|
15
|
+
import { d as defineCustomElement$3 } from './p-7e1eab44.js';
|
|
16
|
+
import { d as defineCustomElement$2 } from './p-eb4fb7b2.js';
|
|
17
|
+
import { d as defineCustomElement$1 } from './p-6fe0175a.js';
|
|
18
18
|
|
|
19
19
|
var formEmail={"title":"form-email","tags":"form email","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M12 23.999c-3.205 0-6.218-1.248-8.484-3.514S.001 15.206.001 12.001s1.248-6.218 3.514-8.485C5.782 1.25 8.795.001 12 .001s6.218 1.248 8.485 3.514A11.92 11.92 0 0 1 24 12v2.25A3.754 3.754 0 0 1 20.25 18a3.77 3.77 0 0 1-3.48-2.365A6.009 6.009 0 0 1 12 18c-3.308 0-6-2.692-6-6s2.692-6 6-6 6 2.692 6 6v2.25c0 1.241 1.009 2.25 2.25 2.25s2.25-1.009 2.25-2.25V12c0-2.804-1.092-5.441-3.075-7.424A10.433 10.433 0 0 0 12 1.501c-2.804 0-5.441 1.092-7.424 3.075S1.501 9.196 1.501 12c0 2.805 1.092 5.441 3.075 7.424s4.619 3.074 7.423 3.074c2.257 0 4.494-.746 6.299-2.1a.749.749 0 1 1 .9 1.199A12.049 12.049 0 0 1 12 23.999zM12 7.5c-2.481 0-4.5 2.019-4.5 4.5s2.019 4.5 4.5 4.5 4.5-2.019 4.5-4.5-2.019-4.5-4.5-4.5z\"/></svg>"};
|
|
20
20
|
|
|
21
|
-
const duetInputCss = "*.sc-duet-input,*.sc-duet-input::after,*.sc-duet-input::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-input-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:bottom}.sc-duet-input-h:last-child,.sc-duet-input-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-input-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-input-h{width:100% !important}.duet-m-0.sc-duet-input-h{margin:0 !important}input[type=search].sc-duet-input::-webkit-search-cancel-button{-webkit-appearance:none}duet-tooltip.sc-duet-input{position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-input{position:relative;top:4px;right:auto}}duet-caption.sc-duet-input:not(:last-of-type){margin-bottom:0}.duet-input-placeholder.sc-duet-input{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:white}.duet-input-icon.sc-duet-input{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:#00294d;pointer-events:none;transform:translateY(-50%)}.duet-theme-turva.sc-duet-input .duet-input-icon.sc-duet-input{color:#171c3a}.duet-input-container.sc-duet-input{position:relative;width:100%;height:100%}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input{position:relative;z-index:250}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:#004d80}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:active{opacity:0.75;transition:none}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-single.sc-duet-input button.sc-duet-input{top:-48px;right:0}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-double.sc-duet-input button.sc-duet-input{top:-24px;right:12px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-button.sc-duet-input button.sc-duet-input{top:-24px;right:0}.duet-input-container.has-clear.has-icon.sc-duet-input .duet-input-clear-icon.sc-duet-input{top:-24px;right:24px}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{color:#00294d}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-input.sc-duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;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 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:#00294d !important;cursor:initial !important;background:white !important;background-clip:initial !important;border:1px solid #909599 !important;border-radius:4px !important;box-shadow:initial !important;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-input.is-number.sc-duet-input{padding-right:112px !important}.duet-input.is-date.sc-duet-input{padding-right:64px !important}.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:#de2362 !important}.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:#de2362 !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:#e02a0d !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:#e02a0d !important}.has-icon.sc-duet-input .duet-input.sc-duet-input{padding-right:48px !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#171c3a !important;border-color:#747475 !important}.duet-input.sc-duet-input::-ms-clear{display:none}.duet-input.sc-duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input.sc-duet-input::-webkit-input-placeholder{color:#657787;opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-webkit-input-placeholder{color:#747475}.duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:#cfd2d4}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:#cfcfd1}.duet-input.sc-duet-input::-moz-placeholder{color:#657787;opacity:1 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-moz-placeholder{color:#747475}.duet-input.sc-duet-input:focus::-moz-placeholder{color:#cfd2d4}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-moz-placeholder{color:#cfcfd1}.duet-input.sc-duet-input:-ms-input-placeholder{color:#657787}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:-ms-input-placeholder{color:#747475}.duet-input.sc-duet-input:focus:-ms-input-placeholder{color:#cfd2d4}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus:-ms-input-placeholder{color:#cfcfd1}.duet-input[disabled].sc-duet-input{color:#00294d !important;cursor:text !important;background:#f5f8fa !important;border-color:#f5f8fa !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:#00294d !important}.duet-theme-turva.sc-duet-input .duet-input[disabled].sc-duet-input{color:#171c3a !important;background:#f5f5f7 !important;border-color:#f5f5f7 !important;-webkit-text-fill-color:#171c3a !important}.duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #e02a0d}.duet-input.sc-duet-input:focus{border-color:#0077b3 !important;outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus{border-color:#171c3a !important;box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:#171c3a}.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #e02a0d}.duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:#0077b3}.duet-input[type=search].sc-duet-input:not(:placeholder-shown):focus+.duet-input-icon.sc-duet-input{display:none}.duet-input.sc-duet-input:not(:focus):not(:hover):invalid{box-shadow:none !important}.duet-input[type=number].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=number].sc-duet-input::-webkit-outer-spin-button,.duet-input[type=time].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=time].sc-duet-input::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input.sc-duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-label-has-tooltip.sc-duet-input{display:inline-flex}@media (min-width: 48em){.duet-label-has-tooltip.sc-duet-input{display:inline}}.duet-label-has-tooltip.sc-duet-input::before{display:block;margin-top:7px;content:\" \"}.duet-input-tooltip.sc-duet-input::after{display:inline-block;height:49px;content:\" \"}.duet-input-help.sc-duet-input{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:0.875rem;font-weight:400;line-height:1.25;color:#657787;border-radius:4px}.duet-input-help.sc-duet-input span.sc-duet-input{display:block;margin-top:8px}.duet-theme-turva.sc-duet-input .duet-input-help.sc-duet-input{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#747475}.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:#de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:#e02a0d}.duet-label-hidden.sc-duet-input duet-label.sc-duet-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-input-relative.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-revealable.sc-duet-input{position:relative;width:100%}.duet-input-variation-revealable.sc-duet-input .sc-duet-input::-ms-reveal{display:none}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid #909599;border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{border-color:#747475}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-width:0 !important}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{border-width:0 !important;box-shadow:none !important}.duet-input-variation-revealable.disabled.sc-duet-input .duet-input-relative.sc-duet-input{background:#f5f8fa;border-color:#e1e3e6;box-shadow:none}.duet-input-variation-revealable.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:#de2362}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:#e02a0d}.duet-input-variation-revealable.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:#0077b3;box-shadow:0 0 0 1px #0077b3}.duet-input-variation-revealable.duet-theme-turva.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:#171c3a;box-shadow:0 0 0 1px #171c3a}.duet-input-variation-revealable.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #909599}.duet-input-variation-revealable.duet-theme-turva.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #747475}.duet-input-variation-revealable.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #de2362}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #e02a0d}";
|
|
21
|
+
const duetInputCss = "*.sc-duet-input,*.sc-duet-input::after,*.sc-duet-input::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-input-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:bottom}.sc-duet-input-h:last-child,.sc-duet-input-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-input-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-input-h{width:100% !important}.duet-m-0.sc-duet-input-h{margin:0 !important}input[type=search].sc-duet-input::-webkit-search-cancel-button{-webkit-appearance:none}duet-tooltip.sc-duet-input{position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-input{position:relative;top:4px;right:auto}}duet-caption.sc-duet-input:not(:last-of-type){margin-bottom:0}.duet-input-placeholder.sc-duet-input{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-input-icon.sc-duet-input{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:rgb(0, 41, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva.sc-duet-input .duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.duet-input-container.sc-duet-input{position:relative;width:100%;height:100%}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input{position:relative;z-index:250}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:rgb(0, 77, 128)}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:active{opacity:0.75;transition:none}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-single.sc-duet-input button.sc-duet-input{top:-48px;right:0}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-double.sc-duet-input button.sc-duet-input{top:-24px;right:12px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-button.sc-duet-input button.sc-duet-input{top:-24px;right:0}.duet-input-container.has-clear.has-icon.sc-duet-input .duet-input-clear-icon.sc-duet-input{top:-24px;right:24px}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{color:rgb(0, 41, 77)}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-input.sc-duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;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 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:rgb(0, 41, 77) !important;cursor:initial !important;background:rgb(255, 255, 255) !important;background-clip:initial !important;border:1px solid rgb(144, 149, 153) !important;border-radius:4px !important;box-shadow:initial !important;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-input.is-number.sc-duet-input{padding-right:112px !important}.duet-input.is-date.sc-duet-input{padding-right:64px !important}.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(222, 35, 98) !important}.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(222, 35, 98) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(224, 42, 13) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(224, 42, 13) !important}.has-icon.sc-duet-input .duet-input.sc-duet-input{padding-right:48px !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input{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) !important;border-color:rgb(116, 116, 117) !important}.duet-input.sc-duet-input::-ms-clear{display:none}.duet-input.sc-duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(101, 119, 135);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(116, 116, 117)}.duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(207, 207, 209)}.duet-input.sc-duet-input::-moz-placeholder{color:rgb(101, 119, 135);opacity:1 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-moz-placeholder{color:rgb(116, 116, 117)}.duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(207, 207, 209)}.duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(101, 119, 135)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(116, 116, 117)}.duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(207, 207, 209)}.duet-input[disabled].sc-duet-input{color:rgb(0, 41, 77) !important;cursor:text !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(0, 41, 77) !important}.duet-theme-turva.sc-duet-input .duet-input[disabled].sc-duet-input{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247) !important;border-color:rgb(245, 245, 247) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px rgb(144, 149, 153) !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px rgb(116, 116, 117) !important}.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px rgb(222, 35, 98)}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px rgb(224, 42, 13)}.duet-input.sc-duet-input:focus{border-color:rgb(0, 119, 179) !important;outline:0;box-shadow:0 0 0 1px rgb(0, 119, 179) !important;transition:none}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus{border-color:rgb(23, 28, 58) !important;box-shadow:0 0 0 1px rgb(23, 28, 58) !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px rgb(222, 35, 98)}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px rgb(224, 42, 13)}.duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(0, 119, 179)}.duet-input[type=search].sc-duet-input:not(:placeholder-shown):focus+.duet-input-icon.sc-duet-input{display:none}.duet-input.sc-duet-input:not(:focus):not(:hover):invalid{box-shadow:none !important}.duet-input[type=number].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=number].sc-duet-input::-webkit-outer-spin-button,.duet-input[type=time].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=time].sc-duet-input::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input.sc-duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-label-has-tooltip.sc-duet-input{display:inline-flex}@media (min-width: 48em){.duet-label-has-tooltip.sc-duet-input{display:inline}}.duet-label-has-tooltip.sc-duet-input::before{display:block;margin-top:7px;content:\" \"}.duet-input-tooltip.sc-duet-input::after{display:inline-block;height:49px;content:\" \"}.duet-input-help.sc-duet-input{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:0.875rem;font-weight:400;line-height:1.25;color:rgb(101, 119, 135);border-radius:4px}.duet-input-help.sc-duet-input span.sc-duet-input{display:block;margin-top:8px}.duet-theme-turva.sc-duet-input .duet-input-help.sc-duet-input{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(116, 116, 117)}.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(222, 35, 98)}.duet-theme-turva.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(224, 42, 13)}.duet-label-hidden.sc-duet-input duet-label.sc-duet-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-input-relative.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-revealable.sc-duet-input{position:relative;width:100%}.duet-input-variation-revealable.sc-duet-input .sc-duet-input::-ms-reveal{display:none}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(116, 116, 117)}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-width:0 !important}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{border-width:0 !important;box-shadow:none !important}.duet-input-variation-revealable.disabled.sc-duet-input .duet-input-relative.sc-duet-input{background:rgb(245, 248, 250);border-color:rgb(225, 227, 230);box-shadow:none}.duet-input-variation-revealable.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(222, 35, 98)}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(224, 42, 13)}.duet-input-variation-revealable.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(0, 119, 179);box-shadow:0 0 0 1px rgb(0, 119, 179)}.duet-input-variation-revealable.duet-theme-turva.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px rgb(23, 28, 58)}.duet-input-variation-revealable.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px rgb(144, 149, 153)}.duet-input-variation-revealable.duet-theme-turva.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px rgb(116, 116, 117)}.duet-input-variation-revealable.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px rgb(222, 35, 98)}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px rgb(224, 42, 13)}";
|
|
22
22
|
|
|
23
23
|
const icons = {
|
|
24
24
|
search: formSearch,
|
|
@@ -43,36 +43,36 @@ const DuetInput = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
43
43
|
this.topCaptionPlaceholderId = createID("DuetCaptionPlaceholderTop");
|
|
44
44
|
this.errorId = createID("DuetError");
|
|
45
45
|
this.disallowPatternRegex = null;
|
|
46
|
-
this.clearLabel =
|
|
46
|
+
this.clearLabel = {
|
|
47
47
|
en: "Clear",
|
|
48
48
|
fi: "Tyhjennä",
|
|
49
49
|
sv: "Rensa",
|
|
50
|
-
}
|
|
51
|
-
this.timeAnnouncement =
|
|
50
|
+
};
|
|
51
|
+
this.timeAnnouncement = {
|
|
52
52
|
en: "Time",
|
|
53
53
|
fi: "Aika",
|
|
54
54
|
sv: "Tid",
|
|
55
|
-
}
|
|
56
|
-
this.showPasswordLabel =
|
|
55
|
+
};
|
|
56
|
+
this.showPasswordLabel = {
|
|
57
57
|
en: "Show password",
|
|
58
58
|
fi: "Näytä salasana",
|
|
59
59
|
sv: "Visa lösenord",
|
|
60
|
-
}
|
|
61
|
-
this.hidePasswordLabel =
|
|
60
|
+
};
|
|
61
|
+
this.hidePasswordLabel = {
|
|
62
62
|
en: "Hide password",
|
|
63
63
|
fi: "Piilota salasana",
|
|
64
64
|
sv: "Dölj lösenord",
|
|
65
|
-
}
|
|
66
|
-
this.passwordShownAriaAnnouncement =
|
|
65
|
+
};
|
|
66
|
+
this.passwordShownAriaAnnouncement = {
|
|
67
67
|
en: "Password is shown",
|
|
68
68
|
fi: "Salasana näytetään",
|
|
69
69
|
sv: "Lösenordet visas",
|
|
70
|
-
}
|
|
71
|
-
this.passwordHiddenAriaAnnouncement =
|
|
70
|
+
};
|
|
71
|
+
this.passwordHiddenAriaAnnouncement = {
|
|
72
72
|
en: "Password is hidden",
|
|
73
73
|
fi: "Salasana on piilotettu",
|
|
74
74
|
sv: "Lösenordet är dolt",
|
|
75
|
-
}
|
|
75
|
+
};
|
|
76
76
|
/**
|
|
77
77
|
* Component event handling.
|
|
78
78
|
*/
|
|
@@ -92,7 +92,7 @@ const DuetInput = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
92
92
|
if (ev.relatedTarget === this.nativeInput || ev.relatedTarget === this.togglePasswordRevealedButton) {
|
|
93
93
|
return;
|
|
94
94
|
}
|
|
95
|
-
if (this.variation === "revealable") {
|
|
95
|
+
if (this.variation === "revealable" && this.isPasswordRevealed) {
|
|
96
96
|
this.isPasswordRevealed = false;
|
|
97
97
|
}
|
|
98
98
|
this.isFocused = false;
|
|
@@ -164,7 +164,8 @@ const DuetInput = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
164
164
|
}
|
|
165
165
|
return this.type;
|
|
166
166
|
};
|
|
167
|
-
this.
|
|
167
|
+
this.language = getLanguage();
|
|
168
|
+
this.isPasswordRevealed = undefined;
|
|
168
169
|
this.isFocused = false;
|
|
169
170
|
this.accessibleActiveDescendant = undefined;
|
|
170
171
|
this.accessibleAutocomplete = undefined;
|
|
@@ -188,7 +189,7 @@ const DuetInput = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
188
189
|
this.required = false;
|
|
189
190
|
this.type = "text";
|
|
190
191
|
this.variation = "default";
|
|
191
|
-
this.label = "
|
|
192
|
+
this.label = "Label";
|
|
192
193
|
this.error = "";
|
|
193
194
|
this.labelHidden = false;
|
|
194
195
|
this.numericKeyboard = false;
|
|
@@ -246,6 +247,12 @@ const DuetInput = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
246
247
|
});
|
|
247
248
|
}
|
|
248
249
|
}
|
|
250
|
+
connectedCallback() {
|
|
251
|
+
connectLanguageChangeObserver(this);
|
|
252
|
+
}
|
|
253
|
+
disconnectedCallback() {
|
|
254
|
+
disconnectLanguageChangeObserver(this);
|
|
255
|
+
}
|
|
249
256
|
/**
|
|
250
257
|
* Sets focus on the specified `duet-input`. Use this method instead of the global
|
|
251
258
|
* `input.focus()`.
|
|
@@ -310,7 +317,7 @@ const DuetInput = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
310
317
|
this.type !== "password" &&
|
|
311
318
|
this.type !== "time" &&
|
|
312
319
|
this.variation !== "button";
|
|
313
|
-
return (h(Host, { class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" }, onKeyUp: e => this.keyHandler(e) }, this.type === "time" && (h("duet-visually-hidden", { "aria-live": "polite", "aria-atomic": "true" }, selectedTime ? `${this.timeAnnouncement} ${selectedTime.toLocaleTimeString()}` : "")), h("div", { class: {
|
|
320
|
+
return (h(Host, { class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" }, onKeyUp: e => this.keyHandler(e) }, this.type === "time" && (h("duet-visually-hidden", { "aria-live": "polite", "aria-atomic": "true" }, selectedTime ? `${this.timeAnnouncement[this.language]} ${selectedTime.toLocaleTimeString()}` : "")), h("div", { class: {
|
|
314
321
|
"duet-input-container": true,
|
|
315
322
|
"duet-theme-turva": this.theme === "turva",
|
|
316
323
|
[`duet-input-variation-${this.variation}`]: true,
|
|
@@ -335,7 +342,11 @@ const DuetInput = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
335
342
|
"duet-input-clear-icon-single": !hasInputIcon,
|
|
336
343
|
"duet-input-clear-icon-double": !!this.icon,
|
|
337
344
|
"duet-input-clear-icon-button": this.variation === "button",
|
|
338
|
-
} }, h("button", { onClick: this.handleClearClick, id: this.clearId, "aria-label": this.clearLabel, "aria-keyshortcuts": "Escape" }, h("duet-icon", { margin: "none", size: "medium", name: "action-clear-input", color: "currentColor" })))), this.icon && this.variation !== "button" && (h("div", { class: "duet-input-icon" }, h("duet-icon", { margin: "none", size: "small", name: this.icon, color: "currentColor" }))), this.variation === "button" && h("slot", { name: "button" }), this.variation === "revealable" && (h("duet-button", { ref: button => (this.togglePasswordRevealedButton = button), onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.togglePasswordRevealed, icon: this.isPasswordRevealed ? "action-hide" : "action-show", accessibleLabel: this.isPasswordRevealed
|
|
345
|
+
} }, h("button", { onClick: this.handleClearClick, id: this.clearId, "aria-label": this.clearLabel[this.language], "aria-keyshortcuts": "Escape" }, h("duet-icon", { margin: "none", size: "medium", name: "action-clear-input", color: "currentColor" })))), this.icon && this.variation !== "button" && (h("div", { class: "duet-input-icon" }, h("duet-icon", { margin: "none", size: "small", name: this.icon, color: "currentColor" }))), this.variation === "button" && h("slot", { name: "button" }), this.variation === "revealable" && (h("duet-button", { ref: button => (this.togglePasswordRevealedButton = button), onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.togglePasswordRevealed, icon: this.isPasswordRevealed ? "action-hide" : "action-show", accessibleLabel: this.isPasswordRevealed
|
|
346
|
+
? this.hidePasswordLabel[this.language]
|
|
347
|
+
: this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (h("duet-visually-hidden", null, h("span", { "aria-live": "polite" }, this.isPasswordRevealed
|
|
348
|
+
? this.passwordShownAriaAnnouncement[this.language]
|
|
349
|
+
: this.passwordHiddenAriaAnnouncement[this.language]))), h("slot", null)), h("span", { class: "duet-input-help", id: this.errorId, "aria-atomic": "true", "aria-live": "polite", "aria-relevant": "additions removals" }, this.error && h("span", { class: "duet-input-error" }, this.error)))));
|
|
339
350
|
}
|
|
340
351
|
get element() { return this; }
|
|
341
352
|
static get watchers() { return {
|
|
@@ -366,7 +377,7 @@ const DuetInput = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
366
377
|
"required": [4],
|
|
367
378
|
"type": [1],
|
|
368
379
|
"variation": [1],
|
|
369
|
-
"label": [
|
|
380
|
+
"label": [1025],
|
|
370
381
|
"error": [1],
|
|
371
382
|
"labelHidden": [4, "label-hidden"],
|
|
372
383
|
"numericKeyboard": [4, "numeric-keyboard"],
|
|
@@ -383,6 +394,7 @@ const DuetInput = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
383
394
|
"value": [1025],
|
|
384
395
|
"tooltip": [1],
|
|
385
396
|
"tooltipDirection": [1, "tooltip-direction"],
|
|
397
|
+
"language": [32],
|
|
386
398
|
"isPasswordRevealed": [32],
|
|
387
399
|
"isFocused": [32],
|
|
388
400
|
"setFocus": [64],
|
|
@@ -456,4 +456,4 @@ const tokens$1 = /*#__PURE__*/Object.freeze({
|
|
|
456
456
|
'default': tokens
|
|
457
457
|
});
|
|
458
458
|
|
|
459
|
-
export {
|
|
459
|
+
export { media_query_medium as a, media_query_small as b, media_query_xx_large as c, font_size_medium as f, media_query_large as m, tokens$1 as t };
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { E as Env, p as proxyCustomElement, H, h, d as Host } from './p-67e14cd3.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
|
+
import { g as getColorByName } from './p-9ed347f9.js';
|
|
7
|
+
|
|
8
|
+
const cleanupSvg = (svgContent) => {
|
|
9
|
+
if (typeof document === "undefined" || !svgContent) {
|
|
10
|
+
return;
|
|
11
|
+
}
|
|
12
|
+
const div = document.createElement("div");
|
|
13
|
+
div.innerHTML = svgContent;
|
|
14
|
+
// setup this way to ensure it works on our buddy IE
|
|
15
|
+
for (let i = div.childNodes.length - 1; i >= 0; i--) {
|
|
16
|
+
const child = div.childNodes[i];
|
|
17
|
+
if (child.nodeName.toLowerCase() !== "svg") {
|
|
18
|
+
div.removeChild(div.childNodes[i]);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
return div.firstElementChild;
|
|
22
|
+
};
|
|
23
|
+
const isValid = (elm) => {
|
|
24
|
+
if (elm.nodeName.toLowerCase() === "script") {
|
|
25
|
+
return false;
|
|
26
|
+
}
|
|
27
|
+
for (let i = 0; i < elm.attributes.length; i++) {
|
|
28
|
+
const attribute = elm.attributes[i];
|
|
29
|
+
if (attribute.name.toLowerCase().indexOf("on") === 0) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
if (elm.children) {
|
|
34
|
+
for (let i = 0; i < elm.children.length; i++) {
|
|
35
|
+
if (!isValid(elm.children[i])) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return true;
|
|
41
|
+
};
|
|
42
|
+
const buildIconUrl = (iconName) => {
|
|
43
|
+
// under normal operations the Icons should always be loaded from the CDN
|
|
44
|
+
{
|
|
45
|
+
return `${Env.cdnURIProd}/icons/${Env.duetIconVersion}/lib/assets/${iconName}.svg`;
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
const iconCache = {};
|
|
49
|
+
function fetchIconByUrl(url) {
|
|
50
|
+
if (iconCache[url]) {
|
|
51
|
+
return iconCache[url];
|
|
52
|
+
}
|
|
53
|
+
// we create a function that covers all the fetching, cleanup, validation etc,
|
|
54
|
+
// this way we can perform that work just once, and then return the same promise in future.
|
|
55
|
+
async function doFetch() {
|
|
56
|
+
const res = await fetch(url);
|
|
57
|
+
if (!res.ok) {
|
|
58
|
+
throw new Error(`SVG request failed: ${res.status} ${res.statusText}`);
|
|
59
|
+
}
|
|
60
|
+
const responseText = await res.text();
|
|
61
|
+
const svgElement = cleanupSvg(responseText);
|
|
62
|
+
if (!isValid(svgElement)) {
|
|
63
|
+
throw new Error("SVG validation failed");
|
|
64
|
+
}
|
|
65
|
+
// OuterHTML does not unfortunately work here with IE11
|
|
66
|
+
// was previously: resolve(svgElement.outerHTML)
|
|
67
|
+
const div = document.createElement("div");
|
|
68
|
+
div.appendChild(svgElement);
|
|
69
|
+
return div.innerHTML;
|
|
70
|
+
}
|
|
71
|
+
// we do not `await` the fetch, as we only care about initiating the work,
|
|
72
|
+
// it's the responsibility of the calling code to wait for the response.
|
|
73
|
+
const req = doFetch();
|
|
74
|
+
// cache for the repeat requests
|
|
75
|
+
return (iconCache[url] = req);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
const duetIconCss = "*,*::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-bottom:16px !important;display:inline-block;width:auto;max-width:100%;color:inherit;-webkit-tap-highlight-color:transparent}@media (max-width: 35.9375em){:host(.duet-icon-has-outline){margin-bottom:0 !important}}@media (max-width: 35.9375em){:host(.duet-icon-has-background){margin-bottom:0 !important}}:host(.duet-m-0){margin:0 !important}@media (max-width: 35.9375em){:host(.duet-m-0){margin:0 !important}}.duet-icon{-webkit-user-select:none;user-select:none;width:100%;height:100%;transform-origin:top center}.duet-icon.duet-icon-has-outline{padding:12px;border-style:solid;border-width:1px}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-outline{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background{padding:16px;color:rgb(255, 255, 255)}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-background{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background.duet-theme-turva,.duet-icon.duet-icon-has-background.duet-theme-default{color:rgb(255, 255, 255)}.duet-icon.duet-icon-shape-circle{border-radius:50%}.duet-icon.duet-icon-shape-brand{border-radius:25%}.duet-icon.duet-icon-has-background.xxx-small .duet-icon-svg,.duet-icon.duet-icon-has-outline.xxx-small .duet-icon-svg{width:10px;height:10px}.duet-icon.duet-icon-has-background.xx-small .duet-icon-svg,.duet-icon.duet-icon-has-outline.xx-small .duet-icon-svg{width:16px;height:16px}@media (max-width: 35.9375em){.duet-icon.duet-icon-not-responsive{transform:scale(1) !important}}.duet-icon.duet-theme-default{color:rgb(0, 119, 179)}.duet-icon.duet-theme-turva{color:rgb(198, 12, 48)}.duet-icon.auto .duet-icon-svg{width:100%;height:100%}.duet-icon.xxx-small .duet-icon-svg{width:7px;height:7px}.duet-icon.duet-icon-has-background.xxx-small{padding:6px}.duet-icon.duet-icon-has-outline.xxx-small{padding:4px}.duet-icon.xx-small .duet-icon-svg{width:10px;height:10px}.duet-icon.duet-icon-has-background.xx-small{padding:8px}.duet-icon.duet-icon-has-outline.xx-small{padding:7px}.duet-icon.x-small .duet-icon-svg{width:16px;height:16px}.duet-icon.duet-icon-has-outline.x-small{padding:10px}.duet-icon.duet-icon-has-background.x-small{padding:12px}.duet-icon.small .duet-icon-svg{width:20px;height:20px}.duet-icon.duet-icon-has-background.small{padding:14px}.duet-icon.large .duet-icon-svg{width:30px;height:30px}.duet-icon.x-large .duet-icon-svg{width:36px;height:36px}.duet-icon.xx-large .duet-icon-svg{width:48px;height:48px}.duet-icon.xxx-large .duet-icon-svg{width:48px;height:48px}@media (min-width: 48em){.duet-icon.xxx-large .duet-icon-svg{width:72px;height:72px}}.duet-icon.duet-icon-shape-brand.duet-theme-turva{display:flex;align-items:center;justify-content:center;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");-webkit-mask-repeat:no-repeat;mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");mask-repeat:no-repeat}.duet-icon.duet-icon-shape-brand.duet-theme-turva .duet-icon-svg{min-width:auto}.duet-icon.duet-icon-shape-brand.duet-theme-turva.xx-small{width:18px;height:15px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.x-small{width:32px;height:30px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.small{width:36px;height:34px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.medium{width:48px;height:44px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.large{width:62px;height:56px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.x-large{width:76px;height:68px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.xx-large{width:95px;height:86px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.xxx-large{width:144px;height:130px;padding:0}.duet-icon.duet-icon-shape-brand.xxx-small{padding:0}.duet-icon.duet-icon-shape-brand.xxx-small .duet-icon-svg{width:0;height:0}.duet-icon.duet-icon-shape-brand.xx-small{padding:4px}.duet-icon.duet-icon-shape-brand.xx-small .duet-icon-svg{width:10px;height:10px}.duet-icon.duet-icon-shape-brand.x-small{padding:8px}.duet-icon.duet-icon-shape-brand.x-small .duet-icon-svg{width:16px;height:16px}.duet-icon.duet-icon-shape-brand.small{padding:8px}.duet-icon.duet-icon-shape-brand.small .duet-icon-svg{width:20px;height:20px}.duet-icon.duet-icon-shape-brand.medium{padding:12px}.duet-icon.duet-icon-shape-brand.medium .duet-icon-svg{width:24px;height:24px}.duet-icon.duet-icon-shape-brand.large{padding:16px}.duet-icon.duet-icon-shape-brand.large .duet-icon-svg{width:30px;height:30px}.duet-icon.duet-icon-shape-brand.x-large{padding:20px}.duet-icon.duet-icon-shape-brand.x-large .duet-icon-svg{width:36px;height:36px}.duet-icon.duet-icon-shape-brand.xx-large{padding:24px}.duet-icon.duet-icon-shape-brand.xx-large .duet-icon-svg{width:48px;height:48px}.duet-icon.duet-icon-shape-brand.xxx-large{padding:36px}.duet-icon.duet-icon-shape-brand.xxx-large .duet-icon-svg{width:72px;height:72px}.duet-icon .duet-icon-svg{display:block;width:24px;min-width:100%;height:24px;font-size:0}.duet-icon svg{width:100%;min-width:100%;fill:currentColor}";
|
|
79
|
+
|
|
80
|
+
const DuetIcon = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
81
|
+
constructor() {
|
|
82
|
+
super();
|
|
83
|
+
this.__registerHost();
|
|
84
|
+
this.__attachShadow();
|
|
85
|
+
this.svgContent = undefined;
|
|
86
|
+
this.theme = "";
|
|
87
|
+
this.icon = undefined;
|
|
88
|
+
this.src = undefined;
|
|
89
|
+
this.name = "action-add";
|
|
90
|
+
this.margin = "auto";
|
|
91
|
+
this.responsive = true;
|
|
92
|
+
this.color = "";
|
|
93
|
+
this.background = "";
|
|
94
|
+
this.size = "medium";
|
|
95
|
+
this.outline = "";
|
|
96
|
+
this.shape = "circle";
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Component lifecycle events.
|
|
100
|
+
*/
|
|
101
|
+
componentWillLoad() {
|
|
102
|
+
inheritGlobalTheme(this);
|
|
103
|
+
if (this.src && this.icon) {
|
|
104
|
+
console.warn("[DUET COMPONENTS]: <duet-icon> should have either have src or icon attributes, but not both. icon attribute will take precedence", "icon:", this.icon, "src:", this.src);
|
|
105
|
+
}
|
|
106
|
+
this.loadIcon();
|
|
107
|
+
}
|
|
108
|
+
async loadIcon() {
|
|
109
|
+
// static icon known at build-time, so we can set it synchronously
|
|
110
|
+
if (this.icon) {
|
|
111
|
+
this.svgContent = this.icon;
|
|
112
|
+
return;
|
|
113
|
+
}
|
|
114
|
+
// dynamically load icon from url
|
|
115
|
+
const src = this.src ? this.src : buildIconUrl(this.name);
|
|
116
|
+
try {
|
|
117
|
+
this.svgContent = await fetchIconByUrl(src);
|
|
118
|
+
}
|
|
119
|
+
catch (e) {
|
|
120
|
+
console.warn(`[DUET COMPONENTS]: <duet-icon> could not load SVG from URL: ${src}.`, e);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* render() function.
|
|
125
|
+
* Always the last one in the class.
|
|
126
|
+
*/
|
|
127
|
+
render() {
|
|
128
|
+
const color = this.color === "currentColor"
|
|
129
|
+
? "currentColor"
|
|
130
|
+
: getColorByName(this.color, this.theme) || getColorByName(this.outline, this.theme);
|
|
131
|
+
const styles = {
|
|
132
|
+
color,
|
|
133
|
+
background: getColorByName(this.background, this.theme),
|
|
134
|
+
"border-color": getColorByName(this.outline, this.theme),
|
|
135
|
+
};
|
|
136
|
+
return (h(Host, { class: {
|
|
137
|
+
"duet-m-0": this.margin === "none",
|
|
138
|
+
"duet-icon-has-outline": !!this.outline,
|
|
139
|
+
"duet-icon-has-background": !!this.background,
|
|
140
|
+
} }, h("div", { "aria-hidden": "true", style: styles, class: {
|
|
141
|
+
"duet-icon": true,
|
|
142
|
+
[this.size]: true,
|
|
143
|
+
"duet-theme-turva": this.theme === "turva",
|
|
144
|
+
"duet-theme-default": this.theme === "default",
|
|
145
|
+
"duet-icon-has-outline": !!this.outline,
|
|
146
|
+
"duet-icon-has-background": !!this.background,
|
|
147
|
+
[`duet-icon-shape-${this.shape}`]: true,
|
|
148
|
+
"duet-icon-not-responsive": !this.responsive,
|
|
149
|
+
} }, h("span", { "aria-hidden": "true", class: "duet-icon-svg", innerHTML: this.svgContent }))));
|
|
150
|
+
}
|
|
151
|
+
get element() { return this; }
|
|
152
|
+
static get watchers() { return {
|
|
153
|
+
"src": ["loadIcon"],
|
|
154
|
+
"icon": ["loadIcon"],
|
|
155
|
+
"name": ["loadIcon"]
|
|
156
|
+
}; }
|
|
157
|
+
static get style() { return duetIconCss; }
|
|
158
|
+
}, [1, "duet-icon", {
|
|
159
|
+
"theme": [1025],
|
|
160
|
+
"icon": [1],
|
|
161
|
+
"src": [1],
|
|
162
|
+
"name": [1],
|
|
163
|
+
"margin": [1],
|
|
164
|
+
"responsive": [4],
|
|
165
|
+
"color": [513],
|
|
166
|
+
"background": [1],
|
|
167
|
+
"size": [1],
|
|
168
|
+
"outline": [1],
|
|
169
|
+
"shape": [1],
|
|
170
|
+
"svgContent": [32]
|
|
171
|
+
}]);
|
|
172
|
+
function defineCustomElement() {
|
|
173
|
+
if (typeof customElements === "undefined") {
|
|
174
|
+
return;
|
|
175
|
+
}
|
|
176
|
+
const components = ["duet-icon"];
|
|
177
|
+
components.forEach(tagName => { switch (tagName) {
|
|
178
|
+
case "duet-icon":
|
|
179
|
+
if (!customElements.get(tagName)) {
|
|
180
|
+
customElements.define(tagName, DuetIcon);
|
|
181
|
+
}
|
|
182
|
+
break;
|
|
183
|
+
} });
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
export { DuetIcon as D, defineCustomElement as d };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h,
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-67e14cd3.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
|
|
7
|
-
const duetGridItemCss = ".sc-duet-grid-item-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;min-width:0;max-width:100%;flex:0 0 auto;padding-right:8px;padding-left: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-style:normal;font-weight:400;line-height:1.5;color
|
|
7
|
+
const duetGridItemCss = ".sc-duet-grid-item-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;min-width:0;max-width:100%;flex:0 0 auto;padding-right:8px;padding-left: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-style:normal;font-weight:400;line-height:1.5;color:rgb(0, 41, 77)}.sc-duet-grid-item-h:first-child,.sc-duet-grid-item-h:first-of-type{padding-left:0}.sc-duet-grid-item-h:last-child,.sc-duet-grid-item-h:last-of-type{padding-right:0}@media (max-width: 35.9375em){.duet-grid-item-responsive.sc-duet-grid-item-h{width:100% !important;min-width:0 !important;max-width:100% !important;padding-right:0;padding-left:0}}@media screen and (max-width: 47.9375em){.duet-grid-item-br-medium.sc-duet-grid-item-h{width:100% !important;min-width:0 !important;max-width:100% !important}}@media screen and (max-width: 47.9375em){.duet-grid-item-responsive.duet-grid-item-br-medium.sc-duet-grid-item-h{padding-right:0;padding-left:0}}@media screen and (max-width: 64em){.duet-grid-item-br-x-large.sc-duet-grid-item-h{width:100% !important;min-width:0 !important;max-width:100% !important}}@media screen and (max-width: 64em){.duet-grid-item-responsive.duet-grid-item-br-x-large.sc-duet-grid-item-h{padding-right:0;padding-left:0}}.duet-grid-item-fill.sc-duet-grid-item-h{flex:1 1 auto;width:100%}.duet-theme-turva.sc-duet-grid-item-h{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-m-0.sc-duet-grid-item-h{padding:0 !important;margin:0 !important}";
|
|
8
8
|
|
|
9
9
|
const DuetGridItem = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
10
10
|
constructor() {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h,
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-67e14cd3.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { c as createID } from './p-c1325e35.js';
|
|
7
|
-
import { a as getLanguage, g as getLocaleString } from './p-
|
|
8
|
-
import { d as defineCustomElement$2 } from './p-
|
|
9
|
-
import { d as defineCustomElement$1 } from './p-
|
|
7
|
+
import { a as getLanguage, g as getLocaleString } from './p-6c05e879.js';
|
|
8
|
+
import { d as defineCustomElement$2 } from './p-c6137eb6.js';
|
|
9
|
+
import { d as defineCustomElement$1 } from './p-6fe0175a.js';
|
|
10
10
|
|
|
11
|
-
const duetTooltipCss = "*,*::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;position:relative;z-index:200;display:inline-flex;width:auto;margin-top:-16px !important;margin-left:-3px !important;-webkit-tap-highlight-color:transparent}.duet-tooltip{position:absolute;right:-141px;bottom:100%;z-index:950;display:block;width:282px;min-height:48px;max-height:340px;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
|
|
11
|
+
const duetTooltipCss = "*,*::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;position:relative;z-index:200;display:inline-flex;width:auto;margin-top:-16px !important;margin-left:-3px !important;-webkit-tap-highlight-color:transparent}.duet-tooltip{position:absolute;right:-141px;bottom:100%;z-index:950;display:block;width:282px;min-height:48px;max-height:340px;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(0, 41, 77);visibility:hidden;background:rgb(255, 255, 255);border:1px solid rgb(225, 227, 230);border-radius:4px;box-shadow:0 2px 10px 0 rgba(0, 41, 77, 0.07);opacity:0;transition:300ms ease;transform:scale(0.9) translateZ(0) translateY(20px);transform-origin:100% 100%}.duet-tooltip.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);border-color:rgb(228, 228, 230);box-shadow:0 2px 10px 0 rgba(117, 117, 117, 0.13)}.duet-tooltip::after{position:absolute;right:142px;bottom:-20px;z-index:200;width:0;height:0;content:\"\";border:10px solid transparent;border-top:10px solid rgb(255, 255, 255)}.duet-tooltip::before{position:absolute;right:141px;bottom:-22px;z-index:100;width:0;height:0;content:\"\";border:11px solid transparent;border-top:11px solid rgb(225, 227, 230)}.duet-theme-turva .duet-tooltip::before{border-top:11px solid rgb(228, 228, 230)}.duet-tooltip.duet-tooltip-down{top:100%;bottom:auto;transform:scale(0.9) translateZ(0) translateY(-20px);transform-origin:100% 0}.duet-tooltip.duet-tooltip-down::after{top:-20px;bottom:auto;border:10px solid transparent;border-bottom:10px solid rgb(255, 255, 255)}.duet-tooltip.duet-tooltip-down::before{top:-22px;bottom:auto;border:11px solid transparent;border-bottom:11px solid rgb(225, 227, 230)}.duet-theme-turva .duet-tooltip.duet-tooltip-down::before{border-bottom:11px solid rgb(228, 228, 230)}.duet-tooltip.duet-tooltip-left{right:-21px !important;transform-origin:100% 100% !important}.duet-tooltip.duet-tooltip-left::after{right:22px !important;transform:none !important}.duet-tooltip.duet-tooltip-left::before{right:21px !important;transform:none !important}.duet-tooltip.duet-tooltip-right{right:auto !important;left:-9px !important;transform-origin:100% 100% !important}.duet-tooltip.duet-tooltip-right::after{right:auto !important;left:22px !important;transform:none !important}.duet-tooltip.duet-tooltip-right::before{right:auto !important;left:21px !important;transform:none !important}.duet-tooltip.duet-tooltip-has-label{right:auto !important;left:0;width:282px !important;transform-origin:0 0 !important}.duet-tooltip.duet-tooltip-has-label::after{right:auto !important;left:1px !important;transform:none !important}.duet-tooltip.duet-tooltip-has-label::before{right:auto !important;left:0 !important;transform:none !important}.duet-tooltip.duet-tooltip-active{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(-8px)}.duet-tooltip.duet-tooltip-active.duet-tooltip-down{transform:scale(1.0001) translateZ(0) translateY(8px)}.duet-tooltip-button{z-index:100;display:inline-block;align-items:center;justify-content:center;min-width:48px;height:48px;padding:0 !important;margin-right:-12px;line-height:normal !important;color:rgb(0, 119, 179);white-space:nowrap;cursor:pointer;background:transparent !important;border-radius:4px}.duet-tooltip-button.duet-theme-turva{color:rgb(198, 12, 48)}.duet-tooltip-button:hover{color:rgb(0, 77, 128)}.duet-tooltip-button:hover.duet-theme-turva{color:rgb(148, 9, 37)}.duet-tooltip-button:focus{background:transparent !important;outline:0}:host(.user-is-tabbing) .duet-tooltip-button:focus{background:transparent !important;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179) !important}:host(.user-is-tabbing) .duet-tooltip-button.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58) !important}.duet-tooltip-button svg{width:20px;height:20px;pointer-events:none}.duet-tooltip-button-has-label{margin-right:0}.duet-tooltip-scrollable{padding:20px !important;width:100%;max-height:250px;padding-right:25px !important;overflow-y:auto;-webkit-hyphens:auto;hyphens:auto;border-radius:4px;-webkit-overflow-scrolling:touch}.duet-tooltip-scrollable:focus{outline:none}:host(.user-is-tabbing) .duet-tooltip-scrollable:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}:host(.user-is-tabbing) .duet-theme-turva .duet-tooltip-scrollable:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-tooltip-scrollable::-webkit-scrollbar{width:4px}.duet-tooltip-scrollable::-webkit-scrollbar-track{border-radius:4px}.duet-tooltip-scrollable::-webkit-scrollbar-thumb{background:rgb(225, 227, 230);border-radius:4px}.duet-theme-turva .duet-tooltip-scrollable::-webkit-scrollbar-thumb{background:rgb(228, 228, 230)}.duet-tooltip-label{position:relative;z-index:100;display:inline-block;max-width:calc(100% - 30px);margin-left:12px !important;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.25;text-align:left;white-space:normal;vertical-align:top}.duet-theme-turva .duet-tooltip-label{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-tooltip-close{position:absolute;top:8px;right:8px;display:flex;align-items:center;justify-content:center;width:17px;height:17px;min-height:0 !important;padding:0 !important;margin:0 !important;line-height:normal;color:rgb(0, 41, 77);cursor:pointer;background:rgb(245, 248, 250);border-radius:50%;-webkit-appearance:none;appearance:none}.duet-tooltip-close:focus{outline:none;box-shadow:0 0 0 2px rgb(0, 119, 179)}.duet-theme-turva .duet-tooltip-close:focus{color:rgb(23, 28, 58);box-shadow:0 0 0 2px rgb(23, 28, 58)}@media (min-width: 48em){.duet-tooltip.duet-mq-medium{right:-148px;width:320px;transform-origin:50% 100%}.duet-tooltip.duet-mq-medium::after{right:50%;transform:translateX(50%)}.duet-tooltip.duet-mq-medium::before{right:50%;transform:translateX(50%)}.duet-tooltip.duet-mq-medium.duet-tooltip-down{transform-origin:50% 0}}@media (min-width: 62em){.duet-tooltip.duet-mq-large{right:-148px;width:320px;transform-origin:50% 100%}.duet-tooltip.duet-mq-large::after{right:50%;transform:translateX(50%)}.duet-tooltip.duet-mq-large::before{right:50%;transform:translateX(50%)}.duet-tooltip.duet-mq-large.duet-tooltip-down{transform-origin:50% 0}}";
|
|
12
12
|
|
|
13
13
|
const DuetTooltip = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
14
14
|
constructor() {
|