@duetds/components 10.0.0-alpha.23 → 10.0.0-alpha.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +414 -261
- package/hydrate/index.mjs +414 -261
- package/lib/cjs/{a11y-utils-aMJTxbM9.js → a11y-utils-BeS3x4Hg.js} +1 -1
- package/lib/cjs/{app-globals-DN9e0v8L.js → app-globals-BvljEFtV.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
- package/lib/cjs/duet-alert.cjs.entry.js +4 -4
- package/lib/cjs/duet-badge.cjs.entry.js +4 -4
- package/lib/cjs/duet-banner.cjs.entry.js +7 -7
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +7 -7
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +6 -6
- package/lib/cjs/duet-button_2.cjs.entry.js +12 -12
- package/lib/cjs/duet-callout.cjs.entry.js +5 -5
- package/lib/cjs/duet-caption_4.cjs.entry.js +13 -12
- package/lib/cjs/duet-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
- package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
- package/lib/cjs/duet-chip.cjs.entry.js +3 -3
- package/lib/cjs/duet-choice_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
- package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
- package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
- package/lib/cjs/duet-date-picker.cjs.entry.js +6 -6
- package/lib/cjs/duet-divider_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +9 -9
- package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
- package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
- package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
- package/lib/cjs/duet-footer.cjs.entry.js +4 -4
- package/lib/cjs/duet-grid_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-header_2.cjs.entry.js +54 -12
- package/lib/cjs/duet-hero.cjs.entry.js +4 -4
- package/lib/cjs/duet-icon.cjs.entry.js +7 -7
- package/lib/cjs/duet-input_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-layout.cjs.entry.js +2 -2
- package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +7 -7
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar.cjs.entry.js +10 -42
- package/lib/cjs/duet-modal.cjs.entry.js +37 -20
- package/lib/cjs/duet-multiselect.cjs.entry.js +10 -10
- package/lib/cjs/duet-nav.cjs.entry.js +3 -3
- package/lib/cjs/duet-notification_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-number-input.cjs.entry.js +14 -9
- package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
- package/lib/cjs/duet-page-heading.cjs.entry.js +5 -5
- package/lib/cjs/duet-pagination_2.cjs.entry.js +17 -17
- package/lib/cjs/duet-panel.cjs.entry.js +53 -0
- package/lib/cjs/duet-phone-input.cjs.entry.js +4 -4
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-progress.cjs.entry.js +3 -3
- package/lib/cjs/duet-promo-card.cjs.entry.js +6 -6
- package/lib/cjs/duet-radio_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-range-slider.cjs.entry.js +6 -6
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +16 -16
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +9 -9
- package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
- package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-share-chart.cjs.entry.js +7 -7
- package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout-link.cjs.entry.js +7 -7
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +12 -12
- package/lib/cjs/duet-slideout.cjs.entry.js +10 -10
- package/lib/cjs/duet-status-icon.cjs.entry.js +4 -4
- package/lib/cjs/duet-step_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +7 -7
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +8 -8
- package/lib/cjs/duet-textarea.cjs.entry.js +8 -8
- package/lib/cjs/duet-toggle.cjs.entry.js +6 -6
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +8 -8
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +8 -8
- package/lib/cjs/duet-tooltip.cjs.entry.js +5 -5
- package/lib/cjs/duet-tray.cjs.entry.js +5 -5
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-CSxc4txc.js → errorcodes.utils-CwTzu57-.js} +1 -1
- package/lib/cjs/{focus-utils-R3gIGr8k.js → focus-utils-Dh4b8BiX.js} +1 -1
- package/lib/cjs/{index-cypK_uRu.js → index-D3O_5Hr7.js} +5 -1
- package/lib/cjs/{label-61f_b8fi.js → label-8AXhdqJy.js} +1 -1
- package/lib/cjs/{language-utils-DIDyCgUk.js → language-utils-CMK9eR4Q.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-BC5Q3UDm.js → slot-utils-BIdgEejh.js} +1 -1
- package/lib/cjs/{themeable-component-BWW4XmUY.js → themeable-component-B3llZmjN.js} +14 -2
- package/lib/cjs/{token-utils-CHLLcMzU.js → token-utils-DsVwGXGM.js} +75 -7
- package/lib/cjs/{tokens-DYbf8HFV.js → tokens-D7zqZKjQ.js} +0 -1
- package/lib/collection/collection-manifest.json +1 -0
- package/lib/collection/common/themeable-component.js +13 -1
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-banner/duet-banner.css +1 -0
- package/lib/collection/components/duet-banner/duet-banner.js +3 -3
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
- package/lib/collection/components/duet-button/duet-button.css +19 -4
- package/lib/collection/components/duet-button/duet-button.js +5 -5
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
- package/lib/collection/components/duet-header/duet-header.css +3 -0
- package/lib/collection/components/duet-header/duet-header.js +3 -2
- package/lib/collection/components/duet-icon/duet-icon.css +5 -0
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-label/duet-label.js +1 -1
- package/lib/collection/components/duet-link/duet-link.js +5 -4
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-logo/duet-logo.css +8 -0
- package/lib/collection/components/duet-logo/duet-logo.js +74 -5
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +91 -0
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +27 -39
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
- package/lib/collection/components/duet-modal/duet-modal.js +96 -15
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
- package/lib/collection/components/duet-number-input/duet-number-input.js +11 -6
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.css +12 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
- package/lib/collection/components/duet-panel/duet-panel.css +98 -0
- package/lib/collection/components/duet-panel/duet-panel.js +234 -0
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +3 -3
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-select/duet-select.js +5 -5
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-share-chart/duet-share-chart.js +2 -2
- package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
- package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
- package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
- package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
- package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
- package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
- package/lib/collection/components/duet-tab/duet-tab.js +2 -2
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-textarea/duet-textarea.js +3 -3
- package/lib/collection/components/duet-toggle/duet-toggle.js +2 -2
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
- package/lib/collection/components/duet-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload/duet-upload.js +2 -2
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/collection/utils/token-utils.js +59 -7
- package/lib/collection/utils/turva2-color-tokens.js +42 -0
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/{p-2de0e6b5.entry.js → p-04ce95ba.entry.js} +1 -1
- package/lib/duet/{p-eafab2a1.entry.js → p-05766552.entry.js} +1 -1
- package/lib/duet/{p-3ea842ba.entry.js → p-065f7e81.entry.js} +1 -1
- package/lib/duet/{p-95dd811d.entry.js → p-06ed84cb.entry.js} +1 -1
- package/lib/duet/{p-625a23c2.entry.js → p-08ed76c2.entry.js} +1 -1
- package/lib/duet/{p-f3d5e40a.entry.js → p-0a448068.entry.js} +1 -1
- package/lib/duet/{p-44786477.entry.js → p-0dc4fe1d.entry.js} +1 -1
- package/lib/duet/{p-626e92a9.entry.js → p-0ebeee02.entry.js} +1 -1
- package/lib/duet/{p-9b9031cf.entry.js → p-106d3089.entry.js} +1 -1
- package/lib/duet/{p-32352972.entry.js → p-15593e3e.entry.js} +1 -1
- package/lib/duet/{p-54b978c0.entry.js → p-2057cc55.entry.js} +1 -1
- package/lib/duet/{p-061f484f.entry.js → p-2792ec0b.entry.js} +1 -1
- package/lib/duet/p-28a998f9.entry.js +4 -0
- package/lib/duet/{p-8057c9e5.entry.js → p-2d3d11db.entry.js} +1 -1
- package/lib/duet/{p-9d5be586.entry.js → p-2e34dd28.entry.js} +1 -1
- package/lib/duet/{p-f7782ce5.entry.js → p-30ade10d.entry.js} +1 -1
- package/lib/duet/{p-d5270614.entry.js → p-35ac072d.entry.js} +1 -1
- package/lib/duet/{p-70fd5cb5.entry.js → p-37222c50.entry.js} +1 -1
- package/lib/duet/{p-80f567c7.entry.js → p-39169420.entry.js} +1 -1
- package/lib/duet/{p-a544dcb2.entry.js → p-3dd4fbf1.entry.js} +1 -1
- package/lib/duet/{p-8ae3ba95.entry.js → p-402c8cd9.entry.js} +1 -1
- package/lib/duet/{p-2b2be1ce.entry.js → p-4628e002.entry.js} +1 -1
- package/lib/duet/{p-07cd31d4.entry.js → p-466ef37c.entry.js} +1 -1
- package/lib/duet/{p-f2e88086.entry.js → p-4aece4f9.entry.js} +1 -1
- package/lib/duet/{p-1b4e4213.entry.js → p-4ee576a2.entry.js} +1 -1
- package/lib/duet/p-500d799b.entry.js +4 -0
- package/lib/duet/{p-e8bf81e8.entry.js → p-5564a39c.entry.js} +1 -1
- package/lib/duet/p-5848a34c.entry.js +4 -0
- package/lib/duet/{p-1662ddb0.entry.js → p-5ab64521.entry.js} +1 -1
- package/lib/duet/{p-b3547427.entry.js → p-60be3836.entry.js} +1 -1
- package/lib/duet/p-625347d3.entry.js +4 -0
- package/lib/duet/{p-779380f8.entry.js → p-64ebf5e9.entry.js} +1 -1
- package/lib/duet/{p-48bcf197.entry.js → p-64f8d654.entry.js} +1 -1
- package/lib/duet/{p-73f38d13.entry.js → p-652eefa8.entry.js} +1 -1
- package/lib/duet/{p-85ddf215.entry.js → p-65a8dd89.entry.js} +1 -1
- package/lib/duet/{p-05cb3ef2.entry.js → p-66c7af01.entry.js} +1 -1
- package/lib/duet/{p-e8668d1a.entry.js → p-67290546.entry.js} +1 -1
- package/lib/duet/p-693fda6b.entry.js +4 -0
- package/lib/duet/{p-6fa05aeb.entry.js → p-6a6e4d82.entry.js} +1 -1
- package/lib/duet/{p-5c749aae.entry.js → p-6aa6ce7d.entry.js} +1 -1
- package/lib/duet/{p-e6a5676c.entry.js → p-71603edd.entry.js} +1 -1
- package/lib/duet/{p-c0721ad9.entry.js → p-71a6b137.entry.js} +1 -1
- package/lib/duet/{p-a40fbcac.entry.js → p-72c2ba6b.entry.js} +1 -1
- package/lib/duet/p-73290da8.entry.js +4 -0
- package/lib/duet/{p-2c2a8a28.entry.js → p-73ce0ef8.entry.js} +1 -1
- package/lib/duet/p-767afcf4.entry.js +4 -0
- package/lib/duet/{p-7ac87fc1.entry.js → p-774cf9f5.entry.js} +1 -1
- package/lib/duet/{p-89e9badf.entry.js → p-7a9f3475.entry.js} +1 -1
- package/lib/duet/{p-61da8d25.entry.js → p-7c814d9a.entry.js} +1 -1
- package/lib/duet/{p-1cc69291.entry.js → p-7f1fb1a9.entry.js} +1 -1
- package/lib/duet/{p-d154fb42.entry.js → p-83f6beb5.entry.js} +1 -1
- package/lib/duet/{p-5b2e8342.entry.js → p-8596c993.entry.js} +1 -1
- package/lib/duet/{p-e72e498d.entry.js → p-867aab83.entry.js} +1 -1
- package/lib/duet/{p-a854a83c.entry.js → p-86b74914.entry.js} +1 -1
- package/lib/duet/{p-11b6b71d.entry.js → p-8ed6f7c7.entry.js} +1 -1
- package/lib/duet/{p-b5cdfd48.entry.js → p-94e33308.entry.js} +1 -1
- package/lib/duet/p-960f95b4.entry.js +4 -0
- package/lib/duet/{p-5f437262.entry.js → p-9973c0dc.entry.js} +1 -1
- package/lib/duet/{p-e89f59fe.entry.js → p-9a1f29ac.entry.js} +1 -1
- package/lib/duet/{p-e3c9a33a.entry.js → p-9fade6a0.entry.js} +1 -1
- package/lib/duet/{p-0710ad83.entry.js → p-9fff2189.entry.js} +1 -1
- package/lib/duet/{p-CUNSbdt4.js → p-B_VBeM3r.js} +1 -1
- package/lib/duet/{p-B_RHZ7jo.js → p-BaR6ufr4.js} +1 -1
- package/lib/duet/p-BdUQgQFn.js +4 -0
- package/lib/duet/p-DdwVwK5C.js +4 -0
- package/lib/duet/p-Dr2j33H2.js +4 -0
- package/lib/duet/{p-Dvk6bntS.js → p-DxV3RbmM.js} +1 -1
- package/lib/duet/{p-fwfCVW-k.js → p-DyXNfxdT.js} +1 -1
- package/lib/duet/p-DzerL_yn.js +4 -0
- package/lib/duet/p-KocOARXM.js +4 -0
- package/lib/duet/p-OdY4DjJa.js +4 -0
- package/lib/duet/p-T5kkooky.js +4 -0
- package/lib/duet/{p-D5_4M8f7.js → p-Z0D6Gy9e.js} +1 -1
- package/lib/duet/{p-bd6f7e7b.entry.js → p-a09c6e42.entry.js} +1 -1
- package/lib/duet/{p-5956c71f.entry.js → p-a3a2e89e.entry.js} +1 -1
- package/lib/duet/{p-a94d6219.entry.js → p-a440c5b3.entry.js} +1 -1
- package/lib/duet/{p-835874ed.entry.js → p-a4a768bf.entry.js} +1 -1
- package/lib/duet/{p-e1715e1f.entry.js → p-a72b8cf4.entry.js} +1 -1
- package/lib/duet/{p-24f39c08.entry.js → p-ab0cd4e5.entry.js} +1 -1
- package/lib/duet/{p-a9353027.entry.js → p-aefcd222.entry.js} +1 -1
- package/lib/duet/p-b84ac47b.entry.js +4 -0
- package/lib/duet/{p-7cfcd244.entry.js → p-ba0fcce1.entry.js} +1 -1
- package/lib/duet/p-ba2b47d3.entry.js +4 -0
- package/lib/duet/{p-3d266d49.entry.js → p-baeb1090.entry.js} +1 -1
- package/lib/duet/{p-828a4e8b.entry.js → p-bcbe4d11.entry.js} +1 -1
- package/lib/duet/{p-fcb87d86.entry.js → p-bf5fae27.entry.js} +1 -1
- package/lib/duet/p-c6479694.entry.js +4 -0
- package/lib/duet/{p-c037858f.entry.js → p-c8308bec.entry.js} +1 -1
- package/lib/duet/p-d0f3a2e6.entry.js +4 -0
- package/lib/duet/{p-d29c6c90.entry.js → p-d28a8bc4.entry.js} +1 -1
- package/lib/duet/p-d2ceafd6.entry.js +4 -0
- package/lib/duet/{p-26ef0a2c.entry.js → p-d96af9c9.entry.js} +1 -1
- package/lib/duet/{p-a930cc2b.entry.js → p-dee8ff90.entry.js} +1 -1
- package/lib/duet/p-e9421a0e.entry.js +4 -0
- package/lib/duet/p-ec6e097b.entry.js +4 -0
- package/lib/duet/{p-b52c9aed.entry.js → p-effefdec.entry.js} +1 -1
- package/lib/duet/{p-9d16f09d.entry.js → p-fb3b8e0f.entry.js} +1 -1
- package/lib/esm/{a11y-utils-Do8wJ0uc.js → a11y-utils-CXqm1pj1.js} +1 -1
- package/lib/esm/{app-globals-CM7s1rys.js → app-globals-s-_CGo5t.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +5 -5
- package/lib/esm/duet-alert.entry.js +4 -4
- package/lib/esm/duet-badge.entry.js +4 -4
- package/lib/esm/duet-banner.entry.js +8 -8
- package/lib/esm/duet-breadcrumb.entry.js +7 -7
- package/lib/esm/duet-breadcrumbs.entry.js +7 -7
- package/lib/esm/duet-button_2.entry.js +13 -13
- package/lib/esm/duet-callout.entry.js +5 -5
- package/lib/esm/duet-caption_4.entry.js +14 -13
- package/lib/esm/duet-card.entry.js +5 -5
- package/lib/esm/duet-checkbox.entry.js +2 -2
- package/lib/esm/duet-checkmark.entry.js +4 -4
- package/lib/esm/duet-chip.entry.js +3 -3
- package/lib/esm/duet-choice_2.entry.js +6 -6
- package/lib/esm/duet-collapsible.entry.js +4 -4
- package/lib/esm/duet-combobox.entry.js +4 -4
- package/lib/esm/duet-contact-card.entry.js +5 -5
- package/lib/esm/duet-cookie-consent.entry.js +2 -2
- package/lib/esm/duet-date-picker.entry.js +6 -6
- package/lib/esm/duet-divider_2.entry.js +5 -5
- package/lib/esm/duet-editable-table_3.entry.js +10 -10
- package/lib/esm/duet-empty-state.entry.js +2 -2
- package/lib/esm/duet-fieldset.entry.js +6 -6
- package/lib/esm/duet-file-chooser.entry.js +2 -2
- package/lib/esm/duet-footer.entry.js +4 -4
- package/lib/esm/duet-grid_2.entry.js +4 -4
- package/lib/esm/duet-header_2.entry.js +55 -13
- package/lib/esm/duet-hero.entry.js +4 -4
- package/lib/esm/duet-icon.entry.js +8 -8
- package/lib/esm/duet-input_2.entry.js +8 -8
- package/lib/esm/duet-layout.entry.js +2 -2
- package/lib/esm/duet-list_2.entry.js +4 -4
- package/lib/esm/duet-menu-bar-button.entry.js +4 -4
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
- package/lib/esm/duet-menu-bar-item.entry.js +7 -7
- package/lib/esm/duet-menu-bar-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar.entry.js +10 -42
- package/lib/esm/duet-modal.entry.js +37 -20
- package/lib/esm/duet-multiselect.entry.js +10 -10
- package/lib/esm/duet-nav.entry.js +3 -3
- package/lib/esm/duet-notification_2.entry.js +7 -7
- package/lib/esm/duet-number-input.entry.js +14 -9
- package/lib/esm/duet-overlay.entry.js +3 -3
- package/lib/esm/duet-page-heading.entry.js +5 -5
- package/lib/esm/duet-pagination_2.entry.js +18 -18
- package/lib/esm/duet-panel.entry.js +51 -0
- package/lib/esm/duet-phone-input.entry.js +4 -4
- package/lib/esm/duet-popup-menu_2.entry.js +7 -7
- package/lib/esm/duet-progress.entry.js +3 -3
- package/lib/esm/duet-promo-card.entry.js +7 -7
- package/lib/esm/duet-radio_2.entry.js +7 -7
- package/lib/esm/duet-range-slider.entry.js +7 -7
- package/lib/esm/duet-scrollable_3.entry.js +17 -17
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +9 -9
- package/lib/esm/duet-shaped-image.entry.js +4 -4
- package/lib/esm/duet-share-chart-item.entry.js +2 -2
- package/lib/esm/duet-share-chart.entry.js +8 -8
- package/lib/esm/duet-show-more.entry.js +5 -5
- package/lib/esm/duet-slideout-lang.entry.js +4 -4
- package/lib/esm/duet-slideout-link.entry.js +7 -7
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -6
- package/lib/esm/duet-slideout-panel.entry.js +13 -13
- package/lib/esm/duet-slideout.entry.js +11 -11
- package/lib/esm/duet-status-icon.entry.js +4 -4
- package/lib/esm/duet-step_2.entry.js +6 -6
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +7 -7
- package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
- package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar.entry.js +8 -8
- package/lib/esm/duet-textarea.entry.js +8 -8
- package/lib/esm/duet-toggle.entry.js +6 -6
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
- package/lib/esm/duet-toolbar-item.entry.js +8 -8
- package/lib/esm/duet-toolbar-link.entry.js +4 -4
- package/lib/esm/duet-toolbar.entry.js +4 -4
- package/lib/esm/duet-tooltip-button_2.entry.js +8 -8
- package/lib/esm/duet-tooltip.entry.js +5 -5
- package/lib/esm/duet-tray.entry.js +6 -6
- package/lib/esm/duet-upload-aria-status.entry.js +2 -2
- package/lib/esm/duet-upload-item.entry.js +6 -6
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-jdmUflM5.js → errorcodes.utils-Bre55Njd.js} +1 -1
- package/lib/esm/{focus-utils-Fb4Hjq5k.js → focus-utils-vvgYykmM.js} +1 -1
- package/lib/esm/{index-CUNSbdt4.js → index-B_VBeM3r.js} +5 -1
- package/lib/esm/{label-CSouuUKb.js → label-l-Eza5H3.js} +1 -1
- package/lib/esm/{language-utils-fAqNRSrI.js → language-utils-B7PXWqpg.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-CgXzS75x.js → slot-utils-aDCRCdc4.js} +1 -1
- package/lib/esm/{themeable-component-EVqsr6Ut.js → themeable-component-DPqozkF4.js} +14 -2
- package/lib/esm/{token-utils-orOLyKQw.js → token-utils-BGFYWQ6j.js} +76 -9
- package/lib/esm/{tokens-Dvk6bntS.js → tokens-DxV3RbmM.js} +1 -1
- package/lib/esm/{tokens.module-D5_4M8f7.js → tokens.module-Z0D6Gy9e.js} +1 -1
- package/lib/types/components/duet-logo/duet-logo.d.ts +8 -0
- package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +5 -4
- package/lib/types/components/duet-modal/duet-modal.d.ts +17 -1
- package/lib/types/components/duet-number-input/duet-number-input.d.ts +3 -1
- package/lib/types/components/duet-panel/duet-panel.d.ts +47 -0
- package/lib/types/components.d.ts +123 -4
- package/lib/types/utils/token-utils.d.ts +4 -0
- package/lib/types/utils/turva2-color-tokens.d.ts +39 -0
- package/package.json +3 -3
- package/lib/duet/p-2354e2c1.entry.js +0 -4
- package/lib/duet/p-50Jw5Ir2.js +0 -4
- package/lib/duet/p-5432f24c.entry.js +0 -4
- package/lib/duet/p-710ae64d.entry.js +0 -4
- package/lib/duet/p-7a9e6423.entry.js +0 -4
- package/lib/duet/p-7c4f010e.entry.js +0 -4
- package/lib/duet/p-88773ebf.entry.js +0 -4
- package/lib/duet/p-89e6b8d0.entry.js +0 -4
- package/lib/duet/p-9d501c34.entry.js +0 -4
- package/lib/duet/p-BI7G8d3Z.js +0 -4
- package/lib/duet/p-Be6-farU.js +0 -4
- package/lib/duet/p-CF5Kkdym.js +0 -4
- package/lib/duet/p-DyjhCDQL.js +0 -4
- package/lib/duet/p-M3ljdQX1.js +0 -4
- package/lib/duet/p-b2c2a24e.entry.js +0 -4
- package/lib/duet/p-b314a75a.entry.js +0 -4
- package/lib/duet/p-b4569b01.entry.js +0 -4
- package/lib/duet/p-d2e1cef2.entry.js +0 -4
- package/lib/duet/p-e89e940b.entry.js +0 -4
- package/lib/duet/p-ekdrapBY.js +0 -4
- package/lib/duet/p-fc319c57.entry.js +0 -4
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-D3O_5Hr7.js');
|
|
7
7
|
var tokens_module = require('./tokens.module-7opSZfop.js');
|
|
8
|
-
var label = require('./label-
|
|
9
|
-
var themeableComponent = require('./themeable-component-
|
|
8
|
+
var label = require('./label-8AXhdqJy.js');
|
|
9
|
+
var themeableComponent = require('./themeable-component-B3llZmjN.js');
|
|
10
10
|
var createId = require('./create-id-DtslnIOq.js');
|
|
11
11
|
var isInternetExplorer = require('./is-internet-explorer-BTLb_loH.js');
|
|
12
12
|
var keyboardUtils = require('./keyboard-utils-D9UlHbik.js');
|
|
13
|
-
var slotUtils = require('./slot-utils-
|
|
13
|
+
var slotUtils = require('./slot-utils-BIdgEejh.js');
|
|
14
14
|
|
|
15
15
|
const duetRangeSliderCss = ".duet-internal-label{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !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 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.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)}*,*::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:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;max-width:100%;text-align:left;vertical-align:bottom}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(.duet-m-0){margin:0 !important}.duet-range-container{position:relative;width:100%}.duet-output{position:absolute;top:12px;right:0;z-index:200;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;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);background:rgb(255, 255, 255)}.duet-theme-turva .duet-output{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-range-disabled .duet-output{color:rgb(127, 150, 165)}.duet-range-disabled.duet-theme-turva .duet-output{color:rgb(143, 147, 158)}.duet-range{position:relative;z-index:100;width:100%;height:4px;background:rgb(181, 198, 208);border-radius:4px}.duet-theme-turva .duet-range{background:rgb(199, 202, 207)}.duet-ie .duet-range{display:block;width:auto;height:26px;background:transparent !important}.duet-range::-moz-range-track{height:1px;background:transparent !important;border:0;-moz-appearance:none}.duet-range::-ms-track{color:transparent;background:transparent;border:0}.duet-range:focus,.duet-range:active{outline:0}:host(.user-is-tabbing) .duet-range:focus{box-shadow:0 0 0 1px #fff, 0 0 0 3px rgba(0, 119, 179, 0.75)}:host(.user-is-tabbing) .duet-theme-turva .duet-range:focus{box-shadow:0 0 0 1px #fff, 0 0 0 3px rgba(23, 28, 58, 0.75)}.duet-range::-webkit-slider-runnable-track{background:transparent}.duet-range::-webkit-slider-thumb{position:relative;width:24px;height:24px;cursor:-webkit-grab;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:50%;transition:box-shadow 300ms ease;-webkit-appearance:none}.duet-theme-turva .duet-range::-webkit-slider-thumb{border-color:rgb(143, 147, 158)}.duet-range:active::-webkit-slider-thumb{cursor:-webkit-grabbing}.duet-range::-moz-range-thumb{position:relative;width:24px;height:24px;cursor:-moz-grab;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:50%;appearance:none}.duet-theme-turva .duet-range::-moz-range-thumb{border-color:rgb(143, 147, 158)}.duet-range:active::-moz-range-thumb{cursor:-moz-grabbing}.duet-range::-ms-thumb{position:relative;width:24px;height:24px;overflow:visible;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:50%}.duet-theme-turva .duet-range::-ms-thumb{border-color:rgb(143, 147, 158)}.duet-range:disabled{background:rgb(181, 198, 208) !important}.duet-theme-turva .duet-range:disabled{background:rgb(199, 202, 207) !important}.duet-range:disabled::-webkit-slider-thumb{cursor:default;background:rgb(181, 198, 208);border-color:transparent}.duet-theme-turva .duet-range:disabled::-webkit-slider-thumb{background:rgb(199, 202, 207);border-color:transparent}.duet-range:disabled::-moz-range-thumb{cursor:default;background:rgb(181, 198, 208);border-color:transparent}.duet-theme-turva .duet-range:disabled::-moz-range-thumb{background:rgb(199, 202, 207);border-color:transparent}.duet-range:disabled::-ms-thumb{cursor:default;background:rgb(181, 198, 208);border-color:transparent}.duet-theme-turva .duet-range:disabled::-ms-thumb{background:rgb(199, 202, 207);border-color:transparent}.duet-range::-ms-fill-lower{height:4px;background:rgb(0, 119, 179)}.duet-theme-turva .duet-range::-ms-fill-lower{background:rgb(198, 12, 48)}.duet-range::-ms-fill-upper{height:4px;background:rgb(181, 198, 208)}.duet-theme-turva .duet-range::-ms-fill-upper{background:rgb(199, 202, 207)}.duet-label-hidden .duet-internal-label,.duet-label-hidden output{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}:host(.duet-theme-turva2) .duet-theme-turva .duet-output{color:#172a3b}:host(.duet-theme-turva2) .duet-range-disabled.duet-theme-turva .duet-output{color:#7891a4}:host(.duet-theme-turva2) .duet-theme-turva .duet-range{background:#b2c2cd}:host(.duet-theme-turva2) .duet-theme-turva .duet-range::-webkit-slider-thumb{border-color:#7891a4}:host(.duet-theme-turva2) .duet-theme-turva .duet-range::-moz-range-thumb{border-color:#7891a4}:host(.duet-theme-turva2) .duet-theme-turva .duet-range::-ms-thumb{border-color:#7891a4}:host(.duet-theme-turva2) .duet-theme-turva .duet-range:disabled{background:#b2c2cd !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-range:disabled::-webkit-slider-thumb{background:#b2c2cd}:host(.duet-theme-turva2) .duet-theme-turva .duet-range:disabled::-moz-range-thumb{background:#b2c2cd}:host(.duet-theme-turva2) .duet-theme-turva .duet-range:disabled::-ms-thumb{background:#b2c2cd}:host(.duet-theme-turva2) .duet-theme-turva .duet-range::-ms-fill-lower{background:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-range::-ms-fill-upper{background:#b2c2cd}";
|
|
16
16
|
|
|
@@ -164,13 +164,13 @@ const DuetRangeSlider = class {
|
|
|
164
164
|
const rangeStyles = {
|
|
165
165
|
background: `-webkit-linear-gradient(left,${active} 0%,${active} ${percentage}%,${inactive} ${percentage}%)`,
|
|
166
166
|
};
|
|
167
|
-
return (index.h(index.Host, { key: '
|
|
167
|
+
return (index.h(index.Host, { key: '8ae2f8b801002f2d7f36a1f6f2c5d9de5e52d480', class: { "duet-m-0": this.margin === "none", "duet-expand": this.expand } }, index.h("div", { key: '3faa6f6b699d012b9d6ff43f0f5255dee1842fe8', class: {
|
|
168
168
|
"duet-range-container": true,
|
|
169
169
|
"duet-label-hidden": this.labelHidden,
|
|
170
170
|
"duet-theme-turva": this.theme === "turva",
|
|
171
171
|
"duet-ie": isInternetExplorer.isInternetExplorer(),
|
|
172
172
|
"duet-range-disabled": this.disabled,
|
|
173
|
-
} }, index.h(label.DuetInternalLabel, { key: '
|
|
173
|
+
} }, index.h(label.DuetInternalLabel, { key: '330e765a6f42437f0ec80c8fd12f02aa9c8f564d', theme: theme, color: this.labelColor, weight: this.labelWeight, margin: "small", for: identifier }, this.label), index.h("output", { key: '91a85bd1d5816c694a32882bbe3bce178afe76ba', "aria-hidden": "true", htmlFor: identifier, class: "duet-output" }, this.value.toLocaleString(this.locale), this.unit), index.h("input", { key: '9ccf4115591954ca7123216d7fda90ca24a3a06d', onInput: this.onInput, onChange: this.onChange, ref: input => (this.nativeInput = input), type: "range", min: this.min, max: this.max, step: this.step, value: this.value, style: rangeStyles, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.value, "aria-valuetext": `${this.value} ${this.unit}`, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, id: identifier, name: this.name, disabled: this.disabled, required: this.required, class: "duet-range" }))));
|
|
174
174
|
}
|
|
175
175
|
get element() { return index.getElement(this); }
|
|
176
176
|
};
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var themeableComponent = require('./themeable-component-
|
|
8
|
-
var slotUtils = require('./slot-utils-
|
|
6
|
+
var index = require('./index-D3O_5Hr7.js');
|
|
7
|
+
var themeableComponent = require('./themeable-component-B3llZmjN.js');
|
|
8
|
+
var slotUtils = require('./slot-utils-BIdgEejh.js');
|
|
9
9
|
var keyboardUtils = require('./keyboard-utils-D9UlHbik.js');
|
|
10
|
-
var languageUtils = require('./language-utils-
|
|
11
|
-
var tokenUtils = require('./token-utils-
|
|
10
|
+
var languageUtils = require('./language-utils-CMK9eR4Q.js');
|
|
11
|
+
var tokenUtils = require('./token-utils-DsVwGXGM.js');
|
|
12
12
|
var createId = require('./create-id-DtslnIOq.js');
|
|
13
13
|
require('./string-utils-B35hEUBv.js');
|
|
14
14
|
require('./tokens.module-7opSZfop.js');
|
|
@@ -273,18 +273,18 @@ const DuetScrollable = class {
|
|
|
273
273
|
* Always the last one in the class.
|
|
274
274
|
*/
|
|
275
275
|
render() {
|
|
276
|
-
return (index.h(index.Host, { key: '
|
|
276
|
+
return (index.h(index.Host, { key: 'bc8b656d8f78f5f510d489faa85a4d2c4c15b913', class: {
|
|
277
277
|
"duet-theme-turva": this.theme === "turva",
|
|
278
278
|
"duet-theme-default": this.theme === "default",
|
|
279
|
-
} }, this.hasCollapseButtonLabelSlot && (index.h("div", { key: '
|
|
279
|
+
} }, this.hasCollapseButtonLabelSlot && (index.h("div", { key: '1964654ce6a29b231c13452ef75a6d7b5448da6e', class: {
|
|
280
280
|
collapse: true,
|
|
281
281
|
hide: !this.needsScrolling && !this.collapsed,
|
|
282
|
-
} }, index.h("duet-button", { key: '
|
|
282
|
+
} }, index.h("duet-button", { key: '338e3a03214db233166699f2ed53f24a401113d8', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, index.h("slot", { key: '574284b5aff3e856c4d752e5fea30b66a30b144d', name: "collapse-button-label" })))), index.h("div", { key: '8c4f8d877a2eb1bea136563524830c43a8a6e4ab', class: {
|
|
283
283
|
"duet-scrollable-items": true,
|
|
284
284
|
buttons: this.buttons,
|
|
285
285
|
center: this.center,
|
|
286
286
|
"duet-theme-turva": this.theme === "turva",
|
|
287
|
-
} }, this.buttons && this.renderButton("left"), index.h("div", { key: '
|
|
287
|
+
} }, this.buttons && this.renderButton("left"), index.h("div", { key: '8eee588b344791d7e40275b7c5ee8688a55848c7', class: {
|
|
288
288
|
"duet-scrollable-list": true,
|
|
289
289
|
[`duet-scrollable-list--${this.buttonPosition}`]: true,
|
|
290
290
|
[`gap-${this.gap}`]: true,
|
|
@@ -292,7 +292,7 @@ const DuetScrollable = class {
|
|
|
292
292
|
[`duet-overflow-padding--${this.padding}`]: this.padding !== "none",
|
|
293
293
|
[`duet-scrollable-list--${this.buttonPosition}`]: this.buttonPosition === "absolute",
|
|
294
294
|
"duet-scrollable-stretch": this.stretch,
|
|
295
|
-
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, index.h("slot", { key: '
|
|
295
|
+
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, index.h("slot", { key: '36bce964a756ce2b4ccd6314773baa06227e2530' })), this.buttons && this.renderButton("right"))));
|
|
296
296
|
}
|
|
297
297
|
get element() { return index.getElement(this); }
|
|
298
298
|
static get watchers() { return {
|
|
@@ -405,7 +405,7 @@ const DuetTab = class {
|
|
|
405
405
|
* Always the last one in the class.
|
|
406
406
|
*/
|
|
407
407
|
render() {
|
|
408
|
-
return (index.h("div", { key: '
|
|
408
|
+
return (index.h("div", { key: '6903bcdb8e3fa5178b6238ccdcf4f028a85a1cf2', ref: element => {
|
|
409
409
|
if (!this.contentId) {
|
|
410
410
|
this.tabpanelElement = element;
|
|
411
411
|
}
|
|
@@ -414,7 +414,7 @@ const DuetTab = class {
|
|
|
414
414
|
"duet-tab": true,
|
|
415
415
|
selected: this.selected,
|
|
416
416
|
"has-content-id": !!this.contentId,
|
|
417
|
-
}, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, index.h("slot", { key: '
|
|
417
|
+
}, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, index.h("slot", { key: '6629dc6968129353f9daa96cc26a4c9f23dc384d' })));
|
|
418
418
|
}
|
|
419
419
|
get element() { return index.getElement(this); }
|
|
420
420
|
static get watchers() { return {
|
|
@@ -697,13 +697,13 @@ const DuetTabGroup = class {
|
|
|
697
697
|
[`duet-notification-mark-${element.notificationMark}`]: !!element.notificationMark,
|
|
698
698
|
[largeBreakpoint]: ["default", "plain", "plain-scrolling"].includes(this.variation) ? true : false,
|
|
699
699
|
}, onClick: () => this.onTabSelect(index$1), onKeyDown: ev => this.handleKeyDown(ev) }, this.variation === "checked" ? (index.h("div", { class: { "checked-tab-content": true, "stackable-checked-tab-content": this.tabs.length <= 3 } }, index.h("div", { class: { "checked-tab-description": true, "stackable-description": this.tabs.length <= 3 } }, index.h("p", null, element.label), index.h("p", { class: { "tab-caption": true, selected: element.selected } }, element.caption)), index.h("div", { class: { "stackable-checkmark": this.tabs.length <= 3 } }, index.h("duet-checkmark", { theme: this.theme, checked: element.selected, type: "radio", "presentation-only": true, center: true })))) : (element.label))));
|
|
700
|
-
return (index.h("div", { key: '
|
|
700
|
+
return (index.h("div", { key: 'd96e791cdd488611f7d63128408d9347a290728e', class: {
|
|
701
701
|
"duet-tab-group": true,
|
|
702
702
|
"duet-theme-turva": this.theme === "turva",
|
|
703
703
|
[variationClass]: true,
|
|
704
704
|
"duet-tab-plain-scrolling": this.variation === "plain-scrolling",
|
|
705
705
|
"duet-tab-group-scrolls": true,
|
|
706
|
-
}, "aria-label": this.accessibleLabel }, index.h("div", { key: '
|
|
706
|
+
}, "aria-label": this.accessibleLabel }, index.h("div", { key: 'b65cc9f6446fa3d2f6847a2ace6d9abdfd04b337', role: "tablist", class: {
|
|
707
707
|
"duet-m-0": this.margin === "none" || this.variation === "checked",
|
|
708
708
|
"duet-tab-group-tabs": true,
|
|
709
709
|
"duet-tab-group-hidden": this.tabs.length > 3 && !isSwipeScrollable,
|
|
@@ -714,11 +714,11 @@ const DuetTabGroup = class {
|
|
|
714
714
|
} }, this.variation === "checked" ? (buttons) : (index.h("div", { class: {
|
|
715
715
|
"duet-tab-group-scrollable-wrapper": true,
|
|
716
716
|
"duet-tab-group-fill-space-wrapper": this.fillSpace && this.variation === "default",
|
|
717
|
-
} }, this.fillSpace && !this.stretch && this.variation === "default" && (index.h("div", { class: "duet-scrollable-stretch-overlay" }, index.h("div", { class: "background" }), index.h("div", { class: "border" }))), index.h("duet-scrollable", { selected: this.selected, identifier: this.identifier, gap: ["default", "plain", "plain-scrolling"].includes(this.variation) ? "none" : "large", buttonPosition: this.variation === "default" ? "absolute" : "relative", center: this.isCentered() ? this.isCentered() : this.element.style.textAlign == "center", theme: this.theme, stretch: this.stretch }, buttons)))), index.h("div", { key: '
|
|
717
|
+
} }, this.fillSpace && !this.stretch && this.variation === "default" && (index.h("div", { class: "duet-scrollable-stretch-overlay" }, index.h("div", { class: "background" }), index.h("div", { class: "border" }))), index.h("duet-scrollable", { selected: this.selected, identifier: this.identifier, gap: ["default", "plain", "plain-scrolling"].includes(this.variation) ? "none" : "large", buttonPosition: this.variation === "default" ? "absolute" : "relative", center: this.isCentered() ? this.isCentered() : this.element.style.textAlign == "center", theme: this.theme, stretch: this.stretch }, buttons)))), index.h("div", { key: '91e042386356d5c7c7584ee8b93d1b65df78e41b', class: {
|
|
718
718
|
"duet-tab-group-content": true,
|
|
719
719
|
"duet-m-0": this.margin === "none",
|
|
720
720
|
"checked-group-content": this.variation === "checked",
|
|
721
|
-
} }, index.h("slot", { key: '
|
|
721
|
+
} }, index.h("slot", { key: 'a3cfe437f448fcaa8baf7c801814da9bf1eb744f' }))));
|
|
722
722
|
}
|
|
723
723
|
get element() { return index.getElement(this); }
|
|
724
724
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-D3O_5Hr7.js');
|
|
7
7
|
var isInternetExplorer = require('./is-internet-explorer-BTLb_loH.js');
|
|
8
8
|
|
|
9
9
|
const duetSectionLayoutCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex:1 0 auto;width:100%}:host(.duet-middle) .duet-layout{padding:36px 28px !important}@media (min-width: 36em){:host(.duet-middle) .duet-layout{padding:48px 36px !important}}@media (min-width: 62em){:host(.duet-middle) .duet-layout{padding:56px !important}}:host(.duet-ie){height:100%}:host(.duet-middle.duet-ie){height:auto}.duet-layout-wrapper{display:block;margin:48px 0 36px;overflow-x:clip}@media (min-width: 36em){.duet-layout-wrapper{margin-top:72px}}@media (min-width: 62em){.duet-layout-wrapper{margin-bottom:48px}}.duet-layout-wrapper.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}.duet-layout-wrapper>*{width:100%}.duet-layout{position:relative;padding:0 16px;margin:0 auto}@media (max-width: 20.5em){.duet-layout.padding-xxx-small{padding:0}}@media (max-width: 22.5em){.duet-layout.padding-xx-small{padding:0}}@media (max-width: 35.9375em){.duet-layout.padding-x-small{padding:0}}@media (min-width: 36em){.duet-layout.padding-small{padding:0}}@media (min-width: 48em){.duet-layout.padding-medium{padding:0}}@media (min-width: 62em){.duet-layout.padding-large{padding:0}}@media (min-width: 64.0625em){.duet-layout.padding-x-large{padding:0}}@media (min-width: 76.25em){.duet-layout.padding-xx-large{padding:0}}@media (min-width: 106.25em){.duet-layout.padding-xxx-large{padding:0}}@media (min-width: 36em){.duet-layout{padding:0 28px}}@media (min-width: 62em){.duet-layout{display:flex;flex-direction:row;padding:0 56px}}@media (min-width: 76.25em){.duet-layout{max-width:1110px;padding:0}}.duet-main{display:block;width:100%}@media (min-width: 62em){.duet-main{min-width:600px;margin:0 auto}}";
|
|
@@ -30,13 +30,13 @@ const DuetSectionLayout = class {
|
|
|
30
30
|
* Always the last one in the class.
|
|
31
31
|
*/
|
|
32
32
|
render() {
|
|
33
|
-
return (index.h(index.Host, { key: '
|
|
33
|
+
return (index.h(index.Host, { key: 'eb1923a8bfba01565e0452347752088c58d9ab08', class: {
|
|
34
34
|
"duet-middle": this.middle,
|
|
35
35
|
"duet-ie": isInternetExplorer.isInternetExplorer(),
|
|
36
|
-
} }, index.h("div", { key: '
|
|
36
|
+
} }, index.h("div", { key: '0c04bf013cc9644f09de55e114f3692022374c6f', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, index.h("div", { key: 'bf2d3164111fad314c90114ce15e2b2488608505', class: {
|
|
37
37
|
"duet-layout": true,
|
|
38
38
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
39
|
-
} }, index.h("section", { key: '
|
|
39
|
+
} }, index.h("section", { key: '5c07cbae7cf870868a5c8f897bf6393eb6a7e866', class: "duet-main" }, index.h("slot", { key: '5dea403267b9102ee9a375aac51c931bd0dde438' }))))));
|
|
40
40
|
}
|
|
41
41
|
get element() { return index.getElement(this); }
|
|
42
42
|
};
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var label = require('./label-
|
|
8
|
-
var themeableComponent = require('./themeable-component-
|
|
6
|
+
var index = require('./index-D3O_5Hr7.js');
|
|
7
|
+
var label = require('./label-8AXhdqJy.js');
|
|
8
|
+
var themeableComponent = require('./themeable-component-B3llZmjN.js');
|
|
9
9
|
var createId = require('./create-id-DtslnIOq.js');
|
|
10
|
-
var slotUtils = require('./slot-utils-
|
|
10
|
+
var slotUtils = require('./slot-utils-BIdgEejh.js');
|
|
11
11
|
var stringUtils = require('./string-utils-B35hEUBv.js');
|
|
12
12
|
|
|
13
13
|
const duetSelectCss = ".duet-internal-label{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !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 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.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)}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-flex;width:100%;max-width:100%;vertical-align:bottom}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(:not(.duet-m-0)){margin-right:16px !important;margin-bottom:12px !important}:host(:not(.duet-m-0)):last-child,:host(:not(.duet-m-0)):last-of-type{margin-right:0 !important}@media (min-width: 36em){:host(.duet-expand){width:100% !important}}:host(.duet-select-variation-tiny),:host(.duet-select-variation-compact){position:relative;top:-2px;width:72px;margin:0;vertical-align:baseline}:host(.duet-select-variation-compact){width:auto}duet-tooltip,::slotted(duet-tooltip){position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip,::slotted(duet-tooltip){position:relative;top:4px;right:auto}}.duet-select-placeholder{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-select-container{position:relative;width:100%}.duet-select-container.duet-select-variation-tiny{width:72px}.duet-select-wrapper{position:relative;width:100%;padding:15px 14px !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;line-height:1.25}.duet-theme-turva .duet-select-wrapper{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-select-variation-tiny .duet-select-wrapper{width:81px;padding:0 !important}.duet-select-variation-compact .duet-select-wrapper{padding:0 !important;line-height:1}.duet-select-wrapper select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:200;width:100%;height:100%;padding:0;margin:0;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;cursor:pointer;border:0;outline:none;opacity:0}.duet-theme-turva .duet-select-wrapper select{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-select-wrapper select:hover+.duet-select{border-color:rgb(127, 150, 165);box-shadow:0 0 0 1px #909599}.duet-theme-turva .duet-select-wrapper select:hover+.duet-select{border-color:rgb(143, 147, 158);box-shadow:0 0 0 1px #747475}.has-error .duet-select-wrapper select:hover+.duet-select{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-select-wrapper select:hover+.duet-select{box-shadow:0 0 0 1px #e55039}.duet-select-wrapper select:focus+.duet-select{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-select-wrapper select:focus+.duet-select{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva .duet-select-wrapper select:focus+.duet-select .duet-select-icon{color:rgb(23, 28, 58)}.duet-select-wrapper select:focus+.duet-select .duet-select-icon{color:rgb(0, 119, 179)}.has-error .duet-select-wrapper select:focus+.duet-select{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-select-wrapper select:focus+.duet-select{box-shadow:0 0 0 1px #e55039}.duet-select-wrapper select[disabled]{cursor:default !important}.duet-select-wrapper select[disabled]+.duet-select{color:rgb(8, 42, 77) !important;cursor:default !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(8, 42, 77) !important}.duet-theme-turva .duet-select-wrapper select[disabled]+.duet-select{color:rgb(23, 28, 58) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-select-wrapper span.duet-keep-container-height{opacity:0}.duet-select-variation-compact .duet-select-wrapper span.duet-keep-container-height{display:none}.duet-select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:100;display:block;width:100%;min-width:8rem;padding:12px 14px !important;padding-right:48px !important;overflow:hidden;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(8, 42, 77);text-align:left;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:4px;transition:150ms ease}.has-error .duet-select{border-color:rgb(214, 28, 82) !important}.has-error .duet-select .duet-select-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-select{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-select .duet-select-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva .duet-select{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(143, 147, 158)}.duet-select svg{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva .duet-select svg{color:rgb(23, 28, 58)}.duet-select-variation-tiny .duet-select,.duet-select-variation-compact .duet-select{width:72px;min-width:inherit;padding:0 !important;margin-bottom:-4px;overflow:visible;font-weight:600;text-align:center}.duet-select-variation-tiny .duet-select duet-icon,.duet-select-variation-compact .duet-select duet-icon{padding-left:10px}.duet-select-variation-compact .duet-select{position:relative;width:fit-content;padding:7px 16px !important;font-size:0.875rem;line-height:1.1;text-align:right;border-radius:8px}.duet-select-help{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(98, 121, 138);border-radius:4px}.duet-select-help span{display:block;margin-top:8px}.duet-theme-turva .duet-select-help{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(143, 147, 158)}.has-error .duet-select-help{color:rgb(214, 28, 82)}.duet-theme-turva.has-error .duet-select-help{color:rgb(214, 28, 82)}.duet-label-hidden .duet-internal-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}:host(.duet-theme-turva2) .duet-theme-turva .duet-select-wrapper select:hover+.duet-select{border-color:#7891a4}:host(.duet-theme-turva2) .duet-theme-turva .duet-select-wrapper select:focus+.duet-select{border-color:#172a3b}:host(.duet-theme-turva2) .duet-theme-turva .duet-select-wrapper select:focus+.duet-select .duet-select-icon{color:#172a3b}:host(.duet-theme-turva2) .duet-theme-turva .duet-select-wrapper select[disabled]+.duet-select{color:#172a3b !important;background:#f5f6f7 !important;border-color:#f5f6f7 !important;-webkit-text-fill-color:#172a3b !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-select{color:#172a3b;border-color:#7891a4}:host(.duet-theme-turva2) .duet-theme-turva .duet-select svg{color:#172a3b}";
|
|
@@ -206,23 +206,23 @@ const DuetSelect = class {
|
|
|
206
206
|
*/
|
|
207
207
|
render() {
|
|
208
208
|
const identifier = this.identifier || this.selectId;
|
|
209
|
-
return (index.h(index.Host, { key: '
|
|
209
|
+
return (index.h(index.Host, { key: '3d3bc7d84000806ae8fab973ba04c08a25dc0c2f', onClick: this.onClick, class: {
|
|
210
210
|
"duet-m-0": this.margin === "none",
|
|
211
211
|
"duet-expand": this.expand,
|
|
212
212
|
[`duet-select-variation-${this.variation}`]: true,
|
|
213
|
-
} }, index.h("div", { key: '
|
|
213
|
+
} }, index.h("div", { key: 'fe0f4b2d68a812713191449693d63fa56513164e', class: {
|
|
214
214
|
"duet-select-container": true,
|
|
215
215
|
"duet-label-hidden": this.labelHidden,
|
|
216
216
|
"duet-theme-turva": this.theme === "turva",
|
|
217
217
|
[`duet-select-variation-${this.variation}`]: true,
|
|
218
218
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
219
219
|
"has-error": !!this.error,
|
|
220
|
-
} }, index.h(label.DuetInternalLabel, { key: '
|
|
220
|
+
} }, index.h(label.DuetInternalLabel, { key: 'a44feea69dd179e6c27685de9074cf3fa966b571', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (index.h("duet-tooltip", { key: '7a3d46b3f60d283ecfa474b05a918fa8c505d1aa', direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), index.h("slot", { key: '3566d83ece8668e83b0ccde241ed49418ed941e4', name: "tooltip" }), this.caption && (index.h("duet-caption", { key: '709ed39dea050b314217f5de4190535166a82f3c', id: this.topCaptionId, size: "medium" }, this.caption)), index.h("div", { key: 'cf8a14439328e37ccc1d41c38190c18414b894ea', class: "duet-select-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (index.h("duet-caption", { key: '1b439a475ac5a6220bbab2d93f827c089a7a5c7b', id: this.topCaptionPlaceholderId, class: "duet-select-placeholder", size: "small" }, this.placeholder)), index.h("slot", { key: '15182f28fa38955377dc822ab7d8ff61238cb4d8' }), index.h("select", { key: '99ca572fb0b31f28659712b18accef2b30225d4a', ref: select => (this.nativeSelect = select), disabled: this.disabled, name: this.name, id: identifier, role: this.role, "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, required: this.required }, this.placeholder && (index.h("option", { key: '8e7c047411a37cd3a8a82415566d6f73e71a5533', disabled: true, selected: true, value: "" }, this.placeholder)), !this.processedItems ? (index.h("option", null, "Virhe valintoja ladattaessa. P\u00E4ivit\u00E4 sivu ja kokeile uusiksi.")) : (this.processedItems.map(item => {
|
|
221
221
|
return isOptionGroup(item) ? this.renderOptionGroup(item) : this.renderOption(item);
|
|
222
|
-
}))), index.h("div", { key: '
|
|
222
|
+
}))), index.h("div", { key: '05ac432d89ce773e077f01f7b272484f110f10db', class: {
|
|
223
223
|
"duet-select": true,
|
|
224
224
|
[`duet-select-variation-${this.variation}`]: true,
|
|
225
|
-
}, "aria-hidden": "true" }, index.h("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (index.h("svg", { key: '
|
|
225
|
+
}, "aria-hidden": "true" }, index.h("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (index.h("svg", { key: '3c6969c19468b5a26e8cc95ec2947442dcebc42a', role: "img", class: "duet-select-icon", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: '36c334a0f8ce00a2b0099d3941570f8526d15dbb', d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" })))) || (index.h("duet-icon", { key: 'f0698dcc03bf523766986c548fa5cad2a6b1875c', theme: this.theme, name: "action-arrow-down-small", color: "currentColor", margin: "none", size: this.variation === "compact" ? "xxx-small" : "xx-small" }))), index.h("span", { key: 'ae2878e5f962708b0a8cdcf15e22c79e9b26f9d5', class: "duet-keep-container-height", role: "presention", "aria-hidden": "true" }, "_")), index.h("span", { key: '9f818a79660ccb1e79c0b5160541da183d5b371e', class: "duet-select-help duet-select-error", id: this.errorId, "aria-live": this.accessibleLiveError, "aria-atomic": "true", "aria-relevant": "additions removals" }, this.error && index.h("span", { key: '38b9169e9a7418f193b97512f6303a8e90215e06' }, this.error)))));
|
|
226
226
|
}
|
|
227
227
|
get element() { return index.getElement(this); }
|
|
228
228
|
static get watchers() { return {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var themeableComponent = require('./themeable-component-
|
|
6
|
+
var index = require('./index-D3O_5Hr7.js');
|
|
7
|
+
var themeableComponent = require('./themeable-component-B3llZmjN.js');
|
|
8
8
|
|
|
9
9
|
const duetShapedImageCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;width:100%;height:100%;margin:5%}:host(.duet-theme-turva){margin:3%}:host(.duet-m-0){margin:0}.shaped-image{position:relative;display:inline-block;width:100%;height:100%}.shaped-image .shaped-image-mask{position:relative;display:block;width:100%;height:100%;overflow:hidden;border-radius:25%;transform:rotate(var(--rotation))}.shaped-image .shaped-image-mask .shaped-image-img{position:relative;display:block;width:100%;height:100%;background-repeat:no-repeat;background-position:center;background-size:cover;transform:scale(1.07) rotate(calc(-1 * var(--rotation)));transform-origin:center}:host(.duet-theme-turva) .shaped-image .shaped-image-mask{transform:none;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");-webkit-mask-repeat:no-repeat;mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");mask-repeat:no-repeat}:host(.duet-theme-turva) .shaped-image .shaped-image-mask .shaped-image-img{transform:none}";
|
|
10
10
|
|
|
@@ -39,9 +39,9 @@ const DuetShapedImage = class {
|
|
|
39
39
|
const style = {
|
|
40
40
|
"--rotation": `${this.rotation}deg`,
|
|
41
41
|
};
|
|
42
|
-
return (index.h(index.Host, { key: '
|
|
42
|
+
return (index.h(index.Host, { key: 'f1e1775c6baa92468f792435cbd7bf6b9b1bc04b', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, index.h("span", { key: '9a55361487de0adea55f23a48613607bb366d712', class: {
|
|
43
43
|
"shaped-image": true,
|
|
44
|
-
}, role: "img", "aria-label": this.accessibleLabel, style: style }, index.h("span", { key: '
|
|
44
|
+
}, role: "img", "aria-label": this.accessibleLabel, style: style }, index.h("span", { key: 'cab98476c89fa5d135797f18601d1cd7f86be610', class: "shaped-image-mask", role: "presentation" }, index.h("span", { key: '03e422ae06acfbb4e5889d2f48e4eee064426877', class: "shaped-image-img", role: "presentation", style: { backgroundImage: `url("${this.src}")` } })))));
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
47
|
DuetShapedImage.style = duetShapedImageCss;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-D3O_5Hr7.js');
|
|
7
7
|
|
|
8
8
|
const DuetShareChartItem = class {
|
|
9
9
|
constructor(hostRef) {
|
|
@@ -14,7 +14,7 @@ const DuetShareChartItem = class {
|
|
|
14
14
|
this.value = 0;
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (index.h(index.Host, { key: '
|
|
17
|
+
return (index.h(index.Host, { key: 'd018941bdb98ff2a561661ac4ced29081d0783c5' }, index.h("div", { key: '3b07a96aa1150f1f51ab3a08344bd656c9d52eef', hidden: true }, index.h("slot", { key: 'cc7299ead2dbe45e3005a48a8da09bb7eb2fd9e0' }))));
|
|
18
18
|
}
|
|
19
19
|
get element() { return index.getElement(this); }
|
|
20
20
|
};
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var themeableComponent = require('./themeable-component-
|
|
8
|
-
var languageUtils = require('./language-utils-
|
|
9
|
-
var slotUtils = require('./slot-utils-
|
|
10
|
-
var tokenUtils = require('./token-utils-
|
|
6
|
+
var index = require('./index-D3O_5Hr7.js');
|
|
7
|
+
var themeableComponent = require('./themeable-component-B3llZmjN.js');
|
|
8
|
+
var languageUtils = require('./language-utils-CMK9eR4Q.js');
|
|
9
|
+
var slotUtils = require('./slot-utils-BIdgEejh.js');
|
|
10
|
+
var tokenUtils = require('./token-utils-DsVwGXGM.js');
|
|
11
11
|
require('./string-utils-B35hEUBv.js');
|
|
12
12
|
require('./tokens.module-7opSZfop.js');
|
|
13
13
|
|
|
@@ -71,10 +71,10 @@ const DuetShareChart = class {
|
|
|
71
71
|
this.itemsTotalValue = this.items.reduce((total, { value }) => total + value, 0);
|
|
72
72
|
}
|
|
73
73
|
render() {
|
|
74
|
-
return (index.h(index.Host, { key: '
|
|
74
|
+
return (index.h(index.Host, { key: 'ecdd674f7aafaac0d6ce2b92ffee521d33f04f54' }, index.h("div", { key: '162f5b9eab9a30df3861a97264691d3796500286', class: "duet-share-chart-horizontal-bar", role: "presentation" }, this.items.map(item => (index.h("span", { class: "duet-share-chart-share", style: {
|
|
75
75
|
width: `${(item.value / this.itemsTotalValue) * 100}%`,
|
|
76
76
|
backgroundColor: tokenUtils.getColorByName(item.color, this.theme),
|
|
77
|
-
} })))), index.h("ul", { key: '
|
|
77
|
+
} })))), index.h("ul", { key: 'fbfb17146f550b7812355d34f4a0c44b667f1a58', class: "duet-share-chart-item-list" }, this.items.map(item => (index.h("li", { class: { "duet-theme-turva": this.theme === "turva" } }, index.h("span", { class: "duet-share-chart-item-color", style: { background: tokenUtils.getColorByName(item.color, this.theme) } }), index.h("span", { class: "duet-share-chart-item-text" }, item.text, ":"), index.h("span", { class: "duet-share-chart-item-value" }, "\u00A0", languageUtils.formatNumber(item.value), "\u00A0", this.unit), this.unit !== "%" && (index.h("duet-visually-hidden", null, `${languageUtils.formatNumber((item.value / this.itemsTotalValue) * 100, 0)} %`)))))), index.h("slot", { key: '79fc779211d3b265620226647dcbd3508ad3c86c' })));
|
|
78
78
|
}
|
|
79
79
|
get element() { return index.getElement(this); }
|
|
80
80
|
};
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var themeableComponent = require('./themeable-component-
|
|
6
|
+
var index = require('./index-D3O_5Hr7.js');
|
|
7
|
+
var themeableComponent = require('./themeable-component-B3llZmjN.js');
|
|
8
8
|
var createId = require('./create-id-DtslnIOq.js');
|
|
9
9
|
var keyboardUtils = require('./keyboard-utils-D9UlHbik.js');
|
|
10
|
-
var languageUtils = require('./language-utils-
|
|
10
|
+
var languageUtils = require('./language-utils-CMK9eR4Q.js');
|
|
11
11
|
require('./string-utils-B35hEUBv.js');
|
|
12
12
|
|
|
13
13
|
const duetShowMoreCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block}.duet-show-more{margin-bottom:16px !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.5;color:rgb(8, 42, 77)}.duet-show-more.duet-m-0{margin:0 !important}.duet-show-more .slotted-content{display:none}.duet-show-more.open .slotted-content{display:block}.duet-show-more .content:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-show-more.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-show-more.duet-theme-turva .content:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-theme-turva2) .duet-show-more.duet-theme-turva{color:#172a3b}";
|
|
@@ -144,12 +144,12 @@ const DuetShowMore = class {
|
|
|
144
144
|
* Always the last one of the class.
|
|
145
145
|
*/
|
|
146
146
|
render() {
|
|
147
|
-
return (index.h(index.Host, { key: '
|
|
147
|
+
return (index.h(index.Host, { key: 'a43de6a4bae0a8c38852a11a7b384b7f104ec024' }, index.h("div", { key: '74f8d429039d38ea1151aeab159f34cfed375df6', class: {
|
|
148
148
|
"duet-show-more": true,
|
|
149
149
|
"duet-theme-turva": this.theme === "turva",
|
|
150
150
|
"duet-m-0": this.margin === "none",
|
|
151
151
|
open: this.open,
|
|
152
|
-
} }, index.h("div", { key: '
|
|
152
|
+
} }, index.h("div", { key: '1e7b359e2ec056100a22d4fcdf12a9afd3432f36', ref: ref => (this.contentElement = ref), class: { content: true }, id: this.contentId, tabindex: this.open ? "-1" : "" }, index.h("div", { key: 'd56eb046a4f700defffcefd1c279149ab85b68ae', class: { "slotted-content": true } }, index.h("slot", { key: '4978e6989abb32797fd956d5bb35d1e860b63f71' }))), index.h("duet-button", { key: 'ba557d00ed023a0b31efcf3480e1b30b326e6799', id: this.buttonId, variation: "plain", "accessible-label": this.buttonAriaOpen ? this.showLessAccessibleLabel : this.showMoreAccessibleLabel, "accessible-expanded": this.buttonAriaOpen ? "true" : "false", "accessible-controls": this.contentId, accessiblePressed: this.isSafariBrowser ? this.open : null, onClick: this.handleClick, onKeyDown: this.handleKeyDown, "icon-right": true, icon: this.open ? "action-arrow-up-small" : "action-arrow-down-small", "icon-size": "medium-small", size: "small", margin: this.buttonMargin, padding: this.buttonPadding, theme: this.theme === "turva" ? "turva" : "default" }, index.h("span", { key: '106762507a1b6c28e334d0c383ff481b9a4bf8aa' }, this.open ? this.showLessLabel : this.showMoreLabel)))));
|
|
153
153
|
}
|
|
154
154
|
get element() { return index.getElement(this); }
|
|
155
155
|
};
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var themeableComponent = require('./themeable-component-
|
|
8
|
-
var languageUtils = require('./language-utils-
|
|
6
|
+
var index = require('./index-D3O_5Hr7.js');
|
|
7
|
+
var themeableComponent = require('./themeable-component-B3llZmjN.js');
|
|
8
|
+
var languageUtils = require('./language-utils-CMK9eR4Q.js');
|
|
9
9
|
require('./string-utils-B35hEUBv.js');
|
|
10
10
|
|
|
11
11
|
const duetSlideoutLangCss = "*,*::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}.duet-slideout-lang{display:flex;gap:20px;align-items:center;justify-content:flex-start;width:min-content;white-space:nowrap}::slotted(*){position:relative}::slotted(:not(:first-child)){padding-right:0;padding-left:0.5rem}::slotted(:not(:last-child))::after{position:absolute;top:25%;right:-16px;width:2px;height:50%;content:\"\";background:rgb(8, 42, 77)}.duet-theme-turva ::slotted(:not(:last-child))::after{background:rgb(23, 28, 58)}:host(.duet-theme-turva2) .duet-theme-turva ::slotted(:not(:last-child))::after{background:#172a3b}";
|
|
@@ -45,7 +45,7 @@ const DuetSlideoutLang = class {
|
|
|
45
45
|
*/
|
|
46
46
|
render() {
|
|
47
47
|
const langTranslation = languageUtils.getLocaleString(this.chooseLangObject);
|
|
48
|
-
return (index.h(index.Host, { key: '
|
|
48
|
+
return (index.h(index.Host, { key: '20fb38dbab51fb94d8cb27d0be873d5857809716' }, index.h("div", { key: 'eac5154fff5df2c8358398a3228909c0cf960b35', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, index.h("duet-icon", { key: 'c5b9b485d6ab7fcd2172bb951ad88640d1979fee', name: "navigation-language", margin: "none", color: "secondary" }), index.h("slot", { key: '68cdb507db897fff3e4738ac384fdf504059943e' }))));
|
|
49
49
|
}
|
|
50
50
|
get element() { return index.getElement(this); }
|
|
51
51
|
};
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-D3O_5Hr7.js');
|
|
7
7
|
var actionNewWindowSmall = require('./action-new-window-small-BWlVx6YN.js');
|
|
8
8
|
var commonStrings = require('./common-strings-DQ3xONmA.js');
|
|
9
|
-
var themeableComponent = require('./themeable-component-
|
|
10
|
-
var a11yUtils = require('./a11y-utils-
|
|
11
|
-
var languageUtils = require('./language-utils-
|
|
9
|
+
var themeableComponent = require('./themeable-component-B3llZmjN.js');
|
|
10
|
+
var a11yUtils = require('./a11y-utils-BeS3x4Hg.js');
|
|
11
|
+
var languageUtils = require('./language-utils-CMK9eR4Q.js');
|
|
12
12
|
require('./_commonjsHelpers-4N64IRaP.js');
|
|
13
|
-
require('./slot-utils-
|
|
13
|
+
require('./slot-utils-BIdgEejh.js');
|
|
14
14
|
require('./string-utils-B35hEUBv.js');
|
|
15
15
|
|
|
16
16
|
const duetSlideoutLinkCss = "*,*::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;width:100%;height:100%}.duet-slideout-link{position:relative;display:flex;gap:20px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 0;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:inherit;font-weight:inherit;line-height:1.25;color:inherit;text-align:left;text-decoration:none}.duet-slideout-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-slideout-link:focus,.duet-slideout-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-link.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-slideout-link.active span{position:relative}.duet-slideout-link.active .label-content::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:var(--active-height, 2px);content:\"\";background:rgb(0, 119, 179);transform:var(--active-translate-y, translateY(2px))}.duet-slideout-link.active.duet-theme-turva span::after{background:rgb(198, 12, 48)}.duet-slideout-link.small{font-size:1rem;font-weight:600}.duet-slideout-link.small span::after{--active-height:1px;--active-translate-y:1px}.duet-slideout-link.medium{font-size:1.25rem;font-weight:600}.duet-slideout-link.large{font-size:1.5rem;font-weight:800}.duet-slideout-link .label{display:flex;gap:8px;align-items:center;justify-content:space-between;width:100%}.duet-slideout-link .label-container{display:flex;gap:8px;align-items:center;justify-content:flex-start;width:100%}.duet-slideout-link .external-icon{width:10px;height:10px}.duet-slideout-link.medium .external-icon,.duet-slideout-link.large .external-icon{width:12px;height:12px}slot[name=description]::slotted(*){display:block;padding:8px 0 0;font-size:1rem;font-size:1.25;font-weight:400;color:rgb(98, 121, 138)}.duet-theme-turva slot[name=description]::slotted(*){color:rgb(113, 118, 132)}:host(.duet-theme-turva2) .duet-slideout-link.duet-theme-turva{color:#172a3b}:host(.duet-theme-turva2) .duet-slideout-link.duet-theme-turva.active .label-content::after{background:#e61740}:host(.duet-theme-turva2) slot[name=description]::slotted(*){color:#172a3b}";
|
|
@@ -86,12 +86,12 @@ const DuetSlideoutLink = class {
|
|
|
86
86
|
* Always the last one in the class.
|
|
87
87
|
*/
|
|
88
88
|
render() {
|
|
89
|
-
return (index.h(index.Host, { key: '
|
|
89
|
+
return (index.h(index.Host, { key: 'b0e234fc3dac2e49ce7e1cb175f1599ab9275530' }, index.h("a", { key: '3ec02799b58d7b1d44bfc5b0e24bf65720db1c3a', target: !this.href ? null : this.external ? "_blank" : "_self", class: {
|
|
90
90
|
"duet-slideout-link": true,
|
|
91
91
|
"duet-theme-turva": this.theme === "turva",
|
|
92
92
|
active: this.active,
|
|
93
93
|
[this.size]: true,
|
|
94
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": (this.href && a11yUtils.getAccessibleLinkLabel(this)) || this.accessibleLabel, rel: this.external ? "noopener" : undefined }, this.icon && (index.h("duet-icon", { key: '
|
|
94
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": (this.href && a11yUtils.getAccessibleLinkLabel(this)) || this.accessibleLabel, rel: this.external ? "noopener" : undefined }, this.icon && (index.h("duet-icon", { key: 'b9e3b673239c5b9655c01bcec4a2a5abe515bd88', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "medium", margin: "none" })), index.h("div", { key: '498acf483827529da2b9f512228ca158edaf8faa', class: "label" }, index.h("span", { key: 'e6415f10f37d8b957ce06e93b5cbb042634d1672' }, index.h("span", { key: '53865ac539a3312b509ffb15594e72f9fa4d0f33', class: "label-container" }, index.h("span", { key: '81cbf04aec6b336558641516b55a554a11751aa7', class: "label-content" }, index.h("slot", { key: 'f217af73f101e8a8a9ab71f611f759f4c8a8ceef' })), this.external && (index.h("duet-icon", { key: '0696dda9b2fe219b2a76a0c65855d47cd151bc55', class: "external-icon", theme: this.theme, name: actionNewWindowSmall.newWindowIcon.title, margin: "none", size: "auto", color: "currentColor" }))), index.h("slot", { key: '497d712ed9f5155cee76d0c9cca080a89fb26ea2', name: "description" })), this.caret && (index.h("duet-icon", { key: 'b3057bf91b4062442a5c7823d12c714ca74d86ae', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
|
|
95
95
|
}
|
|
96
96
|
get element() { return index.getElement(this); }
|
|
97
97
|
};
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var themeableComponent = require('./themeable-component-
|
|
6
|
+
var index = require('./index-D3O_5Hr7.js');
|
|
7
|
+
var themeableComponent = require('./themeable-component-B3llZmjN.js');
|
|
8
8
|
|
|
9
9
|
const duetSlideoutPanelDropdownCss = "*,*::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;width:100%;height:100%}:host slot:not([name=label])::slotted(*){position:relative;top:-0.5rem;opacity:0;transition:top 0.3s ease-in, opacity 0.3s ease-in}:host([open]) slot:not([name=label])::slotted(*){top:0;opacity:1}.duet-slideout-panel-dropdown{position:relative;width:100%;height:100%}.duet-slideout-panel-dropdown button{position:relative;display:flex;gap:20px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 0;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:1.25rem;font-weight:800;line-height:1.25;color:rgb(8, 42, 77);text-align:center;text-decoration:none;cursor:pointer}.duet-slideout-panel-dropdown button .label{position:relative;display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-slideout-panel-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel-dropdown button.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:calc(100% - 18px);height:1px;content:\"\";background:rgb(0, 119, 179);transform:translateY(1px)}.duet-slideout-panel-dropdown .items{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;max-height:1000px;padding:4px 20px 8px 44px;overflow-y:auto;visibility:visible;transition:max-height 0.3s ease-in, padding-bottom 0.3s ease-in;-ms-overflow-style:none;scrollbar-width:none}.duet-slideout-panel-dropdown .items::-webkit-scrollbar{display:none}.duet-slideout-panel-dropdown .items.hidden{max-height:0;padding:0;overflow:hidden;visibility:hidden;transition:max-height 0.3s ease-out, padding-bottom 0.3s ease-out}.duet-slideout-panel-dropdown.duet-theme-turva button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-slideout-panel-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel-dropdown.duet-theme-turva button.active .label::after{background:rgb(198, 12, 48)}slot{--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:400;color:rgb(8, 42, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}slot[name=label]{font-size:1rem;font-weight:600}:host(.duet-theme-turva2) .duet-slideout-panel-dropdown.duet-theme-turva button{color:#172a3b}:host(.duet-theme-turva2) .duet-slideout-panel-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-theme-turva2) .duet-slideout-panel-dropdown.duet-theme-turva button.active .label::after{background:#e61740}:host(.duet-theme-turva2) slot{color:#172a3b}";
|
|
10
10
|
|
|
@@ -58,16 +58,16 @@ const DuetSlideoutPanelDropdown = class {
|
|
|
58
58
|
* Always the last one in the class.
|
|
59
59
|
*/
|
|
60
60
|
render() {
|
|
61
|
-
return (index.h(index.Host, { key: '
|
|
61
|
+
return (index.h(index.Host, { key: 'f96919a68190339dfad3a02b63943bc7c944a1e7' }, index.h("div", { key: '109f23c80ed885b60278b261eca318bde1ec47eb', class: {
|
|
62
62
|
"duet-slideout-panel-dropdown": true,
|
|
63
63
|
"duet-theme-turva": this.theme === "turva",
|
|
64
64
|
active: this.open,
|
|
65
|
-
} }, index.h("button", { key: '
|
|
65
|
+
} }, index.h("button", { key: 'b40332159750123f2564b18834426c09a7a69bf0', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
66
66
|
active: this.active,
|
|
67
|
-
}, onClick: this.onClick }, this.icon && index.h("duet-icon", { key: '
|
|
67
|
+
}, onClick: this.onClick }, this.icon && index.h("duet-icon", { key: '885d1ef770aa91efc19169c8084d8fb60f6ae314', name: this.icon, size: "medium", margin: "none", color: "secondary" }), index.h("span", { key: 'bafa2159d2892a908ed6ce49c13d4d1beaa674c1', class: "label" }, index.h("slot", { key: '96fa1309813257aeb3acff36894828563331b43d', name: "label" }), index.h("duet-icon", { key: 'fbad64614399ece9b86750e3851336a523944951', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), index.h("div", { key: '2869b77624970b590f37909f10ee2a2b9d252a64', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
68
68
|
items: true,
|
|
69
69
|
hidden: !this.open,
|
|
70
|
-
} }, index.h("slot", { key: '
|
|
70
|
+
} }, index.h("slot", { key: 'a76b88dbcbb32ce8c0d96f807da0623a6cb8fc1f' })))));
|
|
71
71
|
}
|
|
72
72
|
get element() { return index.getElement(this); }
|
|
73
73
|
};
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var themeableComponent = require('./themeable-component-
|
|
6
|
+
var index = require('./index-D3O_5Hr7.js');
|
|
7
|
+
var themeableComponent = require('./themeable-component-B3llZmjN.js');
|
|
8
8
|
var bodyScroll = require('./body-scroll-FWPe3_T_.js');
|
|
9
|
-
var focusUtils = require('./focus-utils-
|
|
10
|
-
var languageUtils = require('./language-utils-
|
|
11
|
-
var slotUtils = require('./slot-utils-
|
|
12
|
-
var tokenUtils = require('./token-utils-
|
|
9
|
+
var focusUtils = require('./focus-utils-Dh4b8BiX.js');
|
|
10
|
+
var languageUtils = require('./language-utils-CMK9eR4Q.js');
|
|
11
|
+
var slotUtils = require('./slot-utils-BIdgEejh.js');
|
|
12
|
+
var tokenUtils = require('./token-utils-DsVwGXGM.js');
|
|
13
13
|
require('./string-utils-B35hEUBv.js');
|
|
14
14
|
require('./tokens.module-7opSZfop.js');
|
|
15
15
|
|
|
@@ -181,23 +181,23 @@ const DuetSlideoutPanel = class {
|
|
|
181
181
|
};
|
|
182
182
|
const exitTranslation = languageUtils.getLocaleString(this.exitLangObject);
|
|
183
183
|
const backTranslation = languageUtils.getLocaleString(this.backLangObject);
|
|
184
|
-
return (index.h(index.Host, { key: '
|
|
184
|
+
return (index.h(index.Host, { key: '942391bf280f263cbbb12ff47d5e19e64677ce59' }, index.h("div", { key: '5150a8a4f51a6518de50432847b7a4be7f52a8f7', class: {
|
|
185
185
|
"duet-slideout-panel": true,
|
|
186
186
|
"duet-theme-turva": this.theme === "turva",
|
|
187
187
|
active: this.open,
|
|
188
|
-
} }, index.h("button", { key: '
|
|
188
|
+
} }, index.h("button", { key: '2fa4949a7380687952d41bec65b982162f4b1369', ref: element => (this.openButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
189
189
|
link: true,
|
|
190
190
|
active: this.active,
|
|
191
|
-
}, onClick: this.onClick, inert: this.open }, this.icon && (index.h("div", { key: '
|
|
191
|
+
}, onClick: this.onClick, inert: this.open }, this.icon && (index.h("div", { key: '239abf831224e505471d4faa690c4fb9eec39657', class: "duet-slideout-icon" }, index.h("duet-icon", { key: '91d352ae3154e830d2ea6e07be749a301f959dd7', name: this.icon, size: "medium", margin: "none", color: "secondary" }), this.badge && index.h("div", { key: '048f8d6339aa0fac808cb8539aec7fc39dc69e22', class: "duet-slideout-badge" }))), index.h("span", { key: '78c8194b03f576175deb05836ee62db4909ff2ae', class: "label" }, index.h("span", { key: '698881982e56840d20105c0859d433f057d0e8c2', class: { "label-text": true, [this.labelSize]: true } }, index.h("slot", { key: '52990bf8fd3f928746ee83d5b84570ca6324b2bd', name: "label" })), index.h("duet-icon", { key: '8b11c870487c41351035fd29a0379ff022f86676', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), index.h("div", { key: '420fc600c08d2636b7ee91ef2378cd073822ffc7', ref: element => (this.dialog = element), class: {
|
|
192
192
|
dialog: true,
|
|
193
193
|
hidden: !this.open,
|
|
194
|
-
}, style: styles }, index.h(focusUtils.FocusGuard, { key: '
|
|
194
|
+
}, style: styles }, index.h(focusUtils.FocusGuard, { key: '53c5dd886930895a4b98a215d12c26a1da4e33c0', moveFocusTo: this.closeButton }), index.h("div", { key: '4be2ad3519e0e43f9bdf7d9db5cfab397f5a2f48', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, index.h("div", { key: 'e10cd953dccb8a456545bc58e374e53361016759', class: "top" }, index.h("button", { key: '0fdc986a24b858871aebe4431fc5a02ee73d42bf', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
|
|
195
195
|
back: true,
|
|
196
|
-
}, onClick: this.onClick }, index.h("duet-icon", { key: '
|
|
196
|
+
}, onClick: this.onClick }, index.h("duet-icon", { key: '40b07857257d0e150e40cd506c53ee743d1323fa', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), index.h("span", { key: 'f1c04199ddd3f93c079edea3666879483e003c9e' }, this.label.innerHTML), index.h("button", { key: 'fe8dafe02a327c652b4815013aeae50ab2ffa40d', class: "close", type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, index.h("duet-icon", { key: 'aa9cdab26dfe54f286a9586716285b7400d78ea3', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), index.h("div", { key: 'c046cb5cef75c8932a338db3a4e7056f489c3bd4', class: "sticky-header" }, index.h("slot", { key: '08fe11beec9d0a01519ca21a00cc11298c17facb', name: "sticky-header" }))), index.h("div", { key: '34b482569c730fe07ec6b4899f7d8fb0b371190c', tabindex: "-1", role: "menu",
|
|
197
197
|
//TODO: slideout menu fades out, needs to be instant
|
|
198
198
|
id: "menu", "aria-labelledby": "button", class: {
|
|
199
199
|
items: true,
|
|
200
|
-
} }, index.h("slot", { key: '
|
|
200
|
+
} }, index.h("slot", { key: '2b87c3b4d7ab96fe8b069d023e7b07f27910cf07' })), index.h(focusUtils.FocusGuard, { key: '158e38e0df98000f097952a14da74a4195b4515b', moveFocusTo: this.closeButton })))));
|
|
201
201
|
}
|
|
202
202
|
get element() { return index.getElement(this); }
|
|
203
203
|
static get watchers() { return {
|