@duetds/components 10.0.0-alpha.24 → 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 +348 -195
- package/hydrate/index.mjs +348 -195
- package/lib/cjs/{a11y-utils-CZnG1VYN.js → a11y-utils-BeS3x4Hg.js} +1 -1
- package/lib/cjs/{app-globals-B36JTAfq.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 +3 -3
- package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
- package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
- package/lib/cjs/duet-date-picker.cjs.entry.js +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 +6 -5
- package/lib/cjs/duet-hero.cjs.entry.js +4 -4
- package/lib/cjs/duet-icon.cjs.entry.js +6 -6
- package/lib/cjs/duet-input_2.cjs.entry.js +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 +3 -3
- package/lib/cjs/duet-modal.cjs.entry.js +37 -20
- package/lib/cjs/duet-multiselect.cjs.entry.js +5 -5
- package/lib/cjs/duet-nav.cjs.entry.js +3 -3
- package/lib/cjs/duet-notification_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-number-input.cjs.entry.js +14 -9
- package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
- package/lib/cjs/duet-page-heading.cjs.entry.js +4 -4
- package/lib/cjs/duet-pagination_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-panel.cjs.entry.js +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 +3 -3
- 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 +6 -6
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -7
- package/lib/cjs/duet-textarea.cjs.entry.js +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 +4 -4
- package/lib/cjs/duet-tray.cjs.entry.js +5 -5
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-C58jiu8o.js → errorcodes.utils-CwTzu57-.js} +1 -1
- package/lib/cjs/{focus-utils-tY80LFI3.js → focus-utils-Dh4b8BiX.js} +1 -1
- package/lib/cjs/{index-C1crwqC7.js → index-D3O_5Hr7.js} +5 -1
- package/lib/cjs/{label-ClSVuKQ_.js → label-8AXhdqJy.js} +1 -1
- package/lib/cjs/{language-utils-BtiS-RGS.js → language-utils-CMK9eR4Q.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-DZVD8m30.js → slot-utils-BIdgEejh.js} +1 -1
- package/lib/cjs/{themeable-component-6YQpZOSC.js → themeable-component-B3llZmjN.js} +1 -1
- package/lib/cjs/{token-utils-CHLLcMzU.js → token-utils-DsVwGXGM.js} +75 -7
- package/lib/collection/collection-manifest.json +1 -0
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-banner/duet-banner.css +1 -0
- package/lib/collection/components/duet-banner/duet-banner.js +3 -3
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
- package/lib/collection/components/duet-button/duet-button.css +14 -5
- package/lib/collection/components/duet-button/duet-button.js +5 -5
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-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.js +3 -2
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-label/duet-label.js +1 -1
- package/lib/collection/components/duet-link/duet-link.js +5 -4
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
- package/lib/collection/components/duet-modal/duet-modal.js +96 -15
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-number-input/duet-number-input.js +11 -6
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-panel/duet-panel.css +98 -0
- package/lib/collection/components/duet-panel/duet-panel.js +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-b8c10f92.entry.js → p-04ce95ba.entry.js} +1 -1
- package/lib/duet/{p-6104db31.entry.js → p-05766552.entry.js} +1 -1
- package/lib/duet/{p-5816e147.entry.js → p-065f7e81.entry.js} +1 -1
- package/lib/duet/{p-f234f837.entry.js → p-06ed84cb.entry.js} +1 -1
- package/lib/duet/{p-bae186c7.entry.js → p-08ed76c2.entry.js} +1 -1
- package/lib/duet/{p-64731e35.entry.js → p-0a448068.entry.js} +1 -1
- package/lib/duet/{p-b4e2e77d.entry.js → p-0dc4fe1d.entry.js} +1 -1
- package/lib/duet/{p-688ea42b.entry.js → p-0ebeee02.entry.js} +1 -1
- package/lib/duet/{p-0e288f30.entry.js → p-106d3089.entry.js} +1 -1
- package/lib/duet/p-15593e3e.entry.js +4 -0
- package/lib/duet/{p-bb468aae.entry.js → p-2057cc55.entry.js} +1 -1
- package/lib/duet/{p-662331c7.entry.js → p-2792ec0b.entry.js} +1 -1
- package/lib/duet/p-28a998f9.entry.js +4 -0
- package/lib/duet/{p-416cbbf6.entry.js → p-2d3d11db.entry.js} +1 -1
- package/lib/duet/{p-2bc683b8.entry.js → p-2e34dd28.entry.js} +1 -1
- package/lib/duet/{p-74d7480d.entry.js → p-30ade10d.entry.js} +1 -1
- package/lib/duet/{p-58bd2e53.entry.js → p-35ac072d.entry.js} +1 -1
- package/lib/duet/p-37222c50.entry.js +4 -0
- package/lib/duet/p-39169420.entry.js +4 -0
- package/lib/duet/{p-7dceae70.entry.js → p-3dd4fbf1.entry.js} +1 -1
- package/lib/duet/{p-a2a94d9a.entry.js → p-402c8cd9.entry.js} +1 -1
- package/lib/duet/{p-908b3a74.entry.js → p-4628e002.entry.js} +1 -1
- package/lib/duet/{p-c28dc621.entry.js → p-466ef37c.entry.js} +1 -1
- package/lib/duet/{p-32ac2068.entry.js → p-4aece4f9.entry.js} +1 -1
- package/lib/duet/{p-3897c6bf.entry.js → p-4ee576a2.entry.js} +1 -1
- package/lib/duet/p-500d799b.entry.js +4 -0
- package/lib/duet/{p-1c2d8dfc.entry.js → p-5564a39c.entry.js} +1 -1
- package/lib/duet/{p-a6173e93.entry.js → p-5848a34c.entry.js} +1 -1
- package/lib/duet/{p-5f18c78a.entry.js → p-5ab64521.entry.js} +1 -1
- package/lib/duet/{p-42539282.entry.js → p-60be3836.entry.js} +1 -1
- package/lib/duet/{p-7c19dac5.entry.js → p-625347d3.entry.js} +1 -1
- package/lib/duet/{p-db110424.entry.js → p-64ebf5e9.entry.js} +1 -1
- package/lib/duet/{p-3aeaed85.entry.js → p-64f8d654.entry.js} +1 -1
- package/lib/duet/{p-3baa3eaa.entry.js → p-652eefa8.entry.js} +1 -1
- package/lib/duet/{p-3cee5337.entry.js → p-65a8dd89.entry.js} +1 -1
- package/lib/duet/{p-2ba227ae.entry.js → p-66c7af01.entry.js} +1 -1
- package/lib/duet/{p-be397530.entry.js → p-67290546.entry.js} +1 -1
- package/lib/duet/{p-abec4876.entry.js → p-693fda6b.entry.js} +1 -1
- package/lib/duet/{p-545e9dd3.entry.js → p-6a6e4d82.entry.js} +1 -1
- package/lib/duet/{p-5018b536.entry.js → p-6aa6ce7d.entry.js} +1 -1
- package/lib/duet/{p-ca626317.entry.js → p-71603edd.entry.js} +1 -1
- package/lib/duet/{p-156d2362.entry.js → p-71a6b137.entry.js} +1 -1
- package/lib/duet/{p-3d8dc9a3.entry.js → p-72c2ba6b.entry.js} +1 -1
- package/lib/duet/p-73290da8.entry.js +4 -0
- package/lib/duet/{p-f6c347b4.entry.js → p-73ce0ef8.entry.js} +1 -1
- package/lib/duet/p-767afcf4.entry.js +4 -0
- package/lib/duet/{p-f4a44d9d.entry.js → p-774cf9f5.entry.js} +1 -1
- package/lib/duet/{p-ff564afe.entry.js → p-7a9f3475.entry.js} +1 -1
- package/lib/duet/{p-6cafd585.entry.js → p-7c814d9a.entry.js} +1 -1
- package/lib/duet/{p-038b8ea1.entry.js → p-7f1fb1a9.entry.js} +1 -1
- package/lib/duet/{p-88422e6a.entry.js → p-83f6beb5.entry.js} +1 -1
- package/lib/duet/{p-f4be7b00.entry.js → p-8596c993.entry.js} +1 -1
- package/lib/duet/{p-815c955b.entry.js → p-867aab83.entry.js} +1 -1
- package/lib/duet/p-86b74914.entry.js +4 -0
- package/lib/duet/{p-f4a0f95a.entry.js → p-8ed6f7c7.entry.js} +1 -1
- package/lib/duet/{p-bf586daf.entry.js → p-94e33308.entry.js} +1 -1
- package/lib/duet/p-960f95b4.entry.js +4 -0
- package/lib/duet/{p-66861503.entry.js → p-9973c0dc.entry.js} +1 -1
- package/lib/duet/{p-8a852600.entry.js → p-9a1f29ac.entry.js} +1 -1
- package/lib/duet/{p-6f635395.entry.js → p-9fade6a0.entry.js} +1 -1
- package/lib/duet/{p-b0484b68.entry.js → p-9fff2189.entry.js} +1 -1
- package/lib/duet/{p-CsVaeVlH.js → p-B_VBeM3r.js} +1 -1
- package/lib/duet/{p-DglOA-oE.js → p-BaR6ufr4.js} +1 -1
- package/lib/duet/p-BdUQgQFn.js +4 -0
- package/lib/duet/{p-uJz71_4x.js → p-DdwVwK5C.js} +1 -1
- package/lib/duet/p-Dr2j33H2.js +4 -0
- package/lib/duet/p-DyXNfxdT.js +4 -0
- 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-b463cb8b.entry.js → p-a09c6e42.entry.js} +1 -1
- package/lib/duet/{p-41ef0467.entry.js → p-a3a2e89e.entry.js} +1 -1
- package/lib/duet/{p-da1914c5.entry.js → p-a440c5b3.entry.js} +1 -1
- package/lib/duet/{p-034efb8b.entry.js → p-a4a768bf.entry.js} +1 -1
- package/lib/duet/{p-1d5bdc66.entry.js → p-a72b8cf4.entry.js} +1 -1
- package/lib/duet/p-ab0cd4e5.entry.js +4 -0
- package/lib/duet/{p-9ef5fe85.entry.js → p-aefcd222.entry.js} +1 -1
- package/lib/duet/p-b84ac47b.entry.js +4 -0
- package/lib/duet/{p-218b0dc3.entry.js → p-ba0fcce1.entry.js} +1 -1
- package/lib/duet/p-ba2b47d3.entry.js +4 -0
- package/lib/duet/{p-90efef7f.entry.js → p-baeb1090.entry.js} +1 -1
- package/lib/duet/{p-db50a06b.entry.js → p-bcbe4d11.entry.js} +1 -1
- package/lib/duet/{p-caf145ea.entry.js → p-bf5fae27.entry.js} +1 -1
- package/lib/duet/p-c6479694.entry.js +4 -0
- package/lib/duet/{p-72ad01cb.entry.js → p-c8308bec.entry.js} +1 -1
- package/lib/duet/p-d0f3a2e6.entry.js +4 -0
- package/lib/duet/{p-e99bccef.entry.js → p-d28a8bc4.entry.js} +1 -1
- package/lib/duet/p-d2ceafd6.entry.js +4 -0
- package/lib/duet/{p-7bc24df3.entry.js → p-d96af9c9.entry.js} +1 -1
- package/lib/duet/{p-9b757818.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-08f98123.entry.js → p-effefdec.entry.js} +1 -1
- package/lib/duet/{p-4427fd7d.entry.js → p-fb3b8e0f.entry.js} +1 -1
- package/lib/esm/{a11y-utils-ehCV15cK.js → a11y-utils-CXqm1pj1.js} +1 -1
- package/lib/esm/{app-globals-BWEEyeBa.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 +3 -3
- package/lib/esm/duet-combobox.entry.js +4 -4
- package/lib/esm/duet-contact-card.entry.js +5 -5
- package/lib/esm/duet-cookie-consent.entry.js +2 -2
- package/lib/esm/duet-date-picker.entry.js +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 +7 -6
- package/lib/esm/duet-hero.entry.js +4 -4
- package/lib/esm/duet-icon.entry.js +7 -7
- package/lib/esm/duet-input_2.entry.js +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 +3 -3
- package/lib/esm/duet-modal.entry.js +37 -20
- package/lib/esm/duet-multiselect.entry.js +5 -5
- package/lib/esm/duet-nav.entry.js +3 -3
- package/lib/esm/duet-notification_2.entry.js +5 -5
- package/lib/esm/duet-number-input.entry.js +14 -9
- package/lib/esm/duet-overlay.entry.js +2 -2
- package/lib/esm/duet-page-heading.entry.js +4 -4
- package/lib/esm/duet-pagination_2.entry.js +7 -7
- 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 +3 -3
- 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 +6 -6
- package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
- package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar.entry.js +7 -7
- package/lib/esm/duet-textarea.entry.js +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 +4 -4
- 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-DM0J2eP4.js → errorcodes.utils-Bre55Njd.js} +1 -1
- package/lib/esm/{focus-utils-BSQKWOQJ.js → focus-utils-vvgYykmM.js} +1 -1
- package/lib/esm/{index-CsVaeVlH.js → index-B_VBeM3r.js} +5 -1
- package/lib/esm/{label-J3UGBylH.js → label-l-Eza5H3.js} +1 -1
- package/lib/esm/{language-utils-B79DRNQM.js → language-utils-B7PXWqpg.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-DYWEum3Y.js → slot-utils-aDCRCdc4.js} +1 -1
- package/lib/esm/{themeable-component-CcmXnsoX.js → themeable-component-DPqozkF4.js} +1 -1
- package/lib/esm/{token-utils-orOLyKQw.js → token-utils-BGFYWQ6j.js} +76 -9
- package/lib/esm/{tokens.module-D5_4M8f7.js → tokens.module-Z0D6Gy9e.js} +1 -1
- 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 +111 -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-0b358066.entry.js +0 -4
- package/lib/duet/p-11a4fb44.entry.js +0 -4
- package/lib/duet/p-24d04bd7.entry.js +0 -4
- package/lib/duet/p-3d904355.entry.js +0 -4
- package/lib/duet/p-3e42346e.entry.js +0 -4
- package/lib/duet/p-5c2e03bf.entry.js +0 -4
- package/lib/duet/p-70757ffa.entry.js +0 -4
- package/lib/duet/p-86669a06.entry.js +0 -4
- package/lib/duet/p-933da99a.entry.js +0 -4
- package/lib/duet/p-C4JF-vDv.js +0 -4
- package/lib/duet/p-DpD8uhf3.js +0 -4
- package/lib/duet/p-DyjhCDQL.js +0 -4
- package/lib/duet/p-R41sfCqP.js +0 -4
- package/lib/duet/p-SyNakUqS.js +0 -4
- package/lib/duet/p-aad8dac7.entry.js +0 -4
- package/lib/duet/p-abda9682.entry.js +0 -4
- package/lib/duet/p-d4a03e18.entry.js +0 -4
- package/lib/duet/p-d8b7a8da.entry.js +0 -4
- package/lib/duet/p-ee3ca3a8.entry.js +0 -4
- package/lib/duet/p-ef3083e7.entry.js +0 -4
- package/lib/duet/p-f237085e.entry.js +0 -4
- package/lib/duet/p-wJIv584C.js +0 -4
- package/lib/duet/p-ymqr0QD0.js +0 -4
package/hydrate/index.js
CHANGED
|
@@ -4216,7 +4216,31 @@ var tokens$2 = /*#__PURE__*/Object.freeze({
|
|
|
4216
4216
|
zIndexToast: zIndexToast
|
|
4217
4217
|
});
|
|
4218
4218
|
|
|
4219
|
+
const turva2ColorTokens = {
|
|
4220
|
+
"color-turva2-red-600": "#e61740",
|
|
4221
|
+
"color-turva2-red-700": "#b90329",
|
|
4222
|
+
"color-turva2-red-800": "#8c001e",
|
|
4223
|
+
"color-turva2-gray-00": "#f5f6f7",
|
|
4224
|
+
"color-turva2-gray-100": "#d4dde2",
|
|
4225
|
+
"color-turva2-gray-200": "#b2c2cd",
|
|
4226
|
+
"color-turva2-gray-400": "#7891a4",
|
|
4227
|
+
"color-turva2-gray-500": "#5f7a8f",
|
|
4228
|
+
"color-turva2-gray-900": "#172a3b"};
|
|
4229
|
+
|
|
4219
4230
|
const allowedThemes = ["turva"];
|
|
4231
|
+
const MATCH_CAPITAL_CASE = /[A-Z]/g;
|
|
4232
|
+
function isTurva2() {
|
|
4233
|
+
var _a;
|
|
4234
|
+
if (typeof document === "undefined") {
|
|
4235
|
+
return false;
|
|
4236
|
+
}
|
|
4237
|
+
return !!((_a = document.documentElement.attributes.getNamedItem("class")) === null || _a === void 0 ? void 0 : _a.value.includes("duet-theme-turva2"));
|
|
4238
|
+
}
|
|
4239
|
+
function isCamelCase(str) {
|
|
4240
|
+
const camel = MATCH_CAPITAL_CASE.test(str);
|
|
4241
|
+
const barredString = !str.includes("_") && !str.includes("-") && !str.includes(" ");
|
|
4242
|
+
return camel && barredString;
|
|
4243
|
+
}
|
|
4220
4244
|
function isDashCase(str) {
|
|
4221
4245
|
const dash = str.includes("-");
|
|
4222
4246
|
const barredString = str.includes(" ") || str.includes("_");
|
|
@@ -4262,18 +4286,61 @@ function addTheme(str, theme) {
|
|
|
4262
4286
|
}
|
|
4263
4287
|
return str;
|
|
4264
4288
|
}
|
|
4289
|
+
/**
|
|
4290
|
+
* Add "-turva" to color names (or "Turva" to camelCase color names)
|
|
4291
|
+
*/
|
|
4292
|
+
function postfixTheme(name, theme) {
|
|
4293
|
+
if (!name) {
|
|
4294
|
+
return undefined;
|
|
4295
|
+
}
|
|
4296
|
+
if (["", "default"].includes(theme)) {
|
|
4297
|
+
return name;
|
|
4298
|
+
}
|
|
4299
|
+
if ((isDashCase(name) && name.endsWith(`-${theme}`)) || (isCamelCase(name) && name.endsWith(capitalize(theme)))) {
|
|
4300
|
+
return name;
|
|
4301
|
+
}
|
|
4302
|
+
if (tokens$2[`color${camelize(name)}${capitalizeFirstLetter(theme)}`]) {
|
|
4303
|
+
return !isCamelCase(name) ? `${name}-${theme}` : `${name}${capitalize(theme)}`;
|
|
4304
|
+
}
|
|
4305
|
+
return name;
|
|
4306
|
+
}
|
|
4265
4307
|
function getColorByName(name, theme = "") {
|
|
4266
4308
|
if (!name) {
|
|
4267
4309
|
return undefined;
|
|
4268
4310
|
}
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4311
|
+
if ((theme === "turva" || name.endsWith("-turva")) && isTurva2()) {
|
|
4312
|
+
switch (name.replace(/-turva$/, "")) {
|
|
4313
|
+
case "primary-lightest":
|
|
4314
|
+
return turva2ColorTokens["color-turva2-nude-00"];
|
|
4315
|
+
case "primary-lighter":
|
|
4316
|
+
return turva2ColorTokens["color-turva2-nude-50"];
|
|
4317
|
+
case "primary-light":
|
|
4318
|
+
return turva2ColorTokens["color-turva2-nude-200"];
|
|
4319
|
+
case "primary":
|
|
4320
|
+
return turva2ColorTokens["color-turva2-red-600"];
|
|
4321
|
+
case "primary-darker":
|
|
4322
|
+
return turva2ColorTokens["color-turva2-red-700"];
|
|
4323
|
+
case "primary-dark":
|
|
4324
|
+
return turva2ColorTokens["color-turva2-red-800"];
|
|
4325
|
+
case "secondary":
|
|
4326
|
+
return turva2ColorTokens["color-turva2-gray-900"];
|
|
4327
|
+
case "gray-lighter":
|
|
4328
|
+
return turva2ColorTokens["color-turva2-gray-00"];
|
|
4329
|
+
case "gray-light":
|
|
4330
|
+
return turva2ColorTokens["color-turva2-gray-100"];
|
|
4331
|
+
case "gray":
|
|
4332
|
+
return turva2ColorTokens["color-turva2-gray-200"];
|
|
4333
|
+
case "gray-dark":
|
|
4334
|
+
return turva2ColorTokens["color-turva2-gray-400"];
|
|
4335
|
+
case "gray-darker":
|
|
4336
|
+
return turva2ColorTokens["color-turva2-gray-500"];
|
|
4337
|
+
// carry on to old turva colors
|
|
4338
|
+
}
|
|
4275
4339
|
}
|
|
4276
|
-
|
|
4340
|
+
const defaultColor = convertToColorName(name);
|
|
4341
|
+
const themedColor = theme && convertToColorName(name, theme);
|
|
4342
|
+
// return themed color if it exists
|
|
4343
|
+
return tokens$2[themedColor] || tokens$2[defaultColor];
|
|
4277
4344
|
}
|
|
4278
4345
|
function convertToColorName(name = "", theme = "") {
|
|
4279
4346
|
let colorResolution = name;
|
|
@@ -4903,12 +4970,12 @@ class DuetBadge {
|
|
|
4903
4970
|
*/
|
|
4904
4971
|
render() {
|
|
4905
4972
|
const backgroundClass = `background-${this.background}`;
|
|
4906
|
-
return (hAsync(Host, { key: '
|
|
4973
|
+
return (hAsync(Host, { key: 'da159f6322336c9e29fe1f6fd62a1c856fee0a86', class: { "duet-m-0": this.margin === "none" } }, hAsync("span", { key: '9e9e12f29c7a27a2c15be1e4e7aaffcacc81f053', class: {
|
|
4907
4974
|
"duet-badge": true,
|
|
4908
4975
|
[this.variation]: true,
|
|
4909
4976
|
[backgroundClass]: true,
|
|
4910
4977
|
"duet-theme-turva": this.theme === "turva",
|
|
4911
|
-
} }, hAsync("slot", { key: '
|
|
4978
|
+
} }, hAsync("slot", { key: '97ed4f103d26ccf534b9eb10168a7855a958b466' }))));
|
|
4912
4979
|
}
|
|
4913
4980
|
get element() { return getElement(this); }
|
|
4914
4981
|
static get style() { return duetBadgeCss; }
|
|
@@ -4934,7 +5001,7 @@ const DuetPicture = ({ img, sources }) => {
|
|
|
4934
5001
|
hAsync("img", Object.assign({}, img))));
|
|
4935
5002
|
};
|
|
4936
5003
|
|
|
4937
|
-
const duetBannerCss = "*,\n*::after,\n*::before {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n}\n\n:host {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n margin-right: 36px !important;\n margin-bottom: 36px !important;\n display: flex;\n justify-content: center;\n width: auto;\n container: duet-banner-container;\n container-type: inline-size;\n}\n:host:last-child, :host:last-of-type {\n margin-right: 0 !important;\n}\n\n:host(.duet-m-0) {\n margin: 0 !important;\n}\n\n.duet-banner {\n display: grid;\n grid-template-rows: min-content 1fr;\n width: 100%;\n height: 100%;\n font-family: \"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n font-style: normal;\n text-align: left;\n border-radius: 16px;\n}\n.duet-banner.duet-p-0 {\n padding: 0 !important;\n}\n.duet-banner.duet-m-0 {\n margin: 0 !important;\n}\n.duet-banner .visual {\n position: relative;\n display: none;\n overflow: hidden;\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 0px) {\n .duet-banner .visual {\n /* stylelint-enable */\n display: block;\n }\n}\n.duet-banner .visual .image-container {\n position: relative;\n aspect-ratio: 2/1;\n overflow: hidden;\n}\n.duet-banner .visual .image {\n position: relative;\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: center;\n}\n.duet-banner .visual .icon {\n position: absolute;\n}\n.duet-banner .visual .brand-shape {\n position: absolute;\n top: 0;\n left: 72%;\n display: none;\n width: 100%;\n height: 100%;\n mask-image: url(\"data:image/svg+xml,%3Csvg%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20344%22%20fill%3D%22none%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M2.72641e-07%2091.1902C0.000476976%2097.9034%200.626077%20104.726%201.92282%20111.592L42.7493%20327.771C43.8045%20333.358%2045.2667%20338.776%2047.0996%20344H160V0H51.1439C19.7799%2019.1253%200.00268143%2053.4178%202.72641e-07%2091.1749C-9.08807e-08%2091.18%20-9.08875e-08%2091.1851%202.72641e-07%2091.1902Z%22%20fill%3D%22%23E6F2F8%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fsvg%3E\");\n}\n.duet-banner .content {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 16px 20px 28px;\n}\n.duet-banner .content .description {\n hyphens: auto;\n}\n.duet-banner .action {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n align-items: flex-start;\n justify-content: flex-end;\n padding-top: 16px;\n}\n.duet-banner .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n}\n.duet-banner .visual .image-container {\n width: 100%;\n height: auto;\n border-radius: 0;\n}\n.duet-banner .visual .icon {\n bottom: 30px;\n left: 15px;\n}\n.duet-banner.duet-theme-turva {\n font-family: \"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n}\n.duet-banner.duet-theme-turva .visual .brand-shape {\n mask-image: url(\"data:image/svg+xml,%3Csvg viewBox='0 0 160 344' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_7920_3801)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2.58983 142.533C0.751086 155.147 0.0746585 167.857 0.00796847 179.225C0.00263853 179.814 0 180.409 0 181.007C0 194.845 1.41172 210.806 3.58065 223.171C5.6528 234.934 8.58716 246.495 12.5981 257.779C21.2249 282.059 34.0151 304.109 50.8401 323.977C56.7824 330.993 63.0921 337.68 69.8162 344H160V0H65.0733C52.1771 10.7866 41.4339 23.4177 32.7528 37.7978C21.1154 57.0822 14.0367 77.9583 9.75424 99.7913C9.09214 103.157 8.55049 106.545 8.00901 109.933C7.75185 111.542 7.49474 113.15 7.22478 114.756C6.74308 117.618 6.24543 120.479 5.74776 123.34C4.6361 129.729 3.52432 136.12 2.58983 142.533Z' fill='%23F5F5F7'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_7920_3801'%3E%3Crect width='160' height='344' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A\");\n}\n.duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-disable */\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-enable */\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-medium .visual, .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 0;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-medium .visual .image-container, .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-medium .visual .image, .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-medium .visual .icon, .duet-banner.size-large .visual .icon {\n top: 36px;\n left: 168px;\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-medium .content, .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 28px 28px 28px 0;\n }\n .duet-banner.size-medium .action, .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n@container duet-banner-container (min-width: 586px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-enable */\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n left: 80%;\n }\n}\n.duet-banner.size-large {\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 900px) {\n .duet-banner.size-large {\n /* stylelint-enable */\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-large .visual .icon {\n top: 40px;\n bottom: auto;\n left: 335px;\n }\n .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 48px 48px 48px 0;\n }\n .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n.duet-banner.no-image {\n display: flex;\n justify-content: center;\n padding: 36px 20px;\n}\n.duet-banner.no-image .visual {\n display: none;\n}\n.duet-banner.no-image .content {\n width: 100%;\n max-width: 720px;\n padding: 0;\n}\n.duet-banner.no-image.size-medium, .duet-banner.no-image.size-large {\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.no-image.size-medium, .duet-banner.no-image.size-large {\n /* stylelint-enable */\n padding: 48px;\n }\n}";
|
|
5004
|
+
const duetBannerCss = "*,\n*::after,\n*::before {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n}\n\n:host {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n margin-right: 36px !important;\n margin-bottom: 36px !important;\n display: flex;\n justify-content: center;\n width: auto;\n container: duet-banner-container;\n container-type: inline-size;\n}\n:host:last-child, :host:last-of-type {\n margin-right: 0 !important;\n}\n\n:host(.duet-m-0) {\n margin: 0 !important;\n}\n\n.duet-banner {\n display: grid;\n grid-template-rows: min-content 1fr;\n width: 100%;\n height: 100%;\n font-family: \"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n font-style: normal;\n text-align: left;\n border-radius: 16px;\n}\n.duet-banner.duet-p-0 {\n padding: 0 !important;\n}\n.duet-banner.duet-m-0 {\n margin: 0 !important;\n}\n.duet-banner .visual {\n position: relative;\n display: none;\n overflow: hidden;\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 0px) {\n .duet-banner .visual {\n /* stylelint-enable */\n display: block;\n }\n}\n.duet-banner .visual .image-container {\n position: relative;\n aspect-ratio: 2/1;\n overflow: hidden;\n}\n.duet-banner .visual .image {\n position: relative;\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: center;\n}\n.duet-banner .visual .icon {\n position: absolute;\n}\n.duet-banner .visual .brand-shape {\n position: absolute;\n top: 0;\n left: 72%;\n display: none;\n width: 100%;\n height: 100%;\n mask-image: url(\"data:image/svg+xml,%3Csvg%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20344%22%20fill%3D%22none%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M2.72641e-07%2091.1902C0.000476976%2097.9034%200.626077%20104.726%201.92282%20111.592L42.7493%20327.771C43.8045%20333.358%2045.2667%20338.776%2047.0996%20344H160V0H51.1439C19.7799%2019.1253%200.00268143%2053.4178%202.72641e-07%2091.1749C-9.08807e-08%2091.18%20-9.08875e-08%2091.1851%202.72641e-07%2091.1902Z%22%20fill%3D%22%23E6F2F8%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fsvg%3E\");\n transform: scale(101%);\n}\n.duet-banner .content {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 16px 20px 28px;\n}\n.duet-banner .content .description {\n hyphens: auto;\n}\n.duet-banner .action {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n align-items: flex-start;\n justify-content: flex-end;\n padding-top: 16px;\n}\n.duet-banner .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n}\n.duet-banner .visual .image-container {\n width: 100%;\n height: auto;\n border-radius: 0;\n}\n.duet-banner .visual .icon {\n bottom: 30px;\n left: 15px;\n}\n.duet-banner.duet-theme-turva {\n font-family: \"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n}\n.duet-banner.duet-theme-turva .visual .brand-shape {\n mask-image: url(\"data:image/svg+xml,%3Csvg viewBox='0 0 160 344' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_7920_3801)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2.58983 142.533C0.751086 155.147 0.0746585 167.857 0.00796847 179.225C0.00263853 179.814 0 180.409 0 181.007C0 194.845 1.41172 210.806 3.58065 223.171C5.6528 234.934 8.58716 246.495 12.5981 257.779C21.2249 282.059 34.0151 304.109 50.8401 323.977C56.7824 330.993 63.0921 337.68 69.8162 344H160V0H65.0733C52.1771 10.7866 41.4339 23.4177 32.7528 37.7978C21.1154 57.0822 14.0367 77.9583 9.75424 99.7913C9.09214 103.157 8.55049 106.545 8.00901 109.933C7.75185 111.542 7.49474 113.15 7.22478 114.756C6.74308 117.618 6.24543 120.479 5.74776 123.34C4.6361 129.729 3.52432 136.12 2.58983 142.533Z' fill='%23F5F5F7'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_7920_3801'%3E%3Crect width='160' height='344' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A\");\n}\n.duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-disable */\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-enable */\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-medium .visual, .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 0;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-medium .visual .image-container, .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-medium .visual .image, .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-medium .visual .icon, .duet-banner.size-large .visual .icon {\n top: 36px;\n left: 168px;\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-medium .content, .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 28px 28px 28px 0;\n }\n .duet-banner.size-medium .action, .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n@container duet-banner-container (min-width: 586px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-enable */\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n left: 80%;\n }\n}\n.duet-banner.size-large {\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 900px) {\n .duet-banner.size-large {\n /* stylelint-enable */\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-large .visual .icon {\n top: 40px;\n bottom: auto;\n left: 335px;\n }\n .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 48px 48px 48px 0;\n }\n .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n.duet-banner.no-image {\n display: flex;\n justify-content: center;\n padding: 36px 20px;\n}\n.duet-banner.no-image .visual {\n display: none;\n}\n.duet-banner.no-image .content {\n width: 100%;\n max-width: 720px;\n padding: 0;\n}\n.duet-banner.no-image.size-medium, .duet-banner.no-image.size-large {\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.no-image.size-medium, .duet-banner.no-image.size-large {\n /* stylelint-enable */\n padding: 48px;\n }\n}";
|
|
4938
5005
|
|
|
4939
5006
|
/**
|
|
4940
5007
|
* @slot heading - Slot for heading content. Only span should be used in this slot.
|
|
@@ -5050,14 +5117,14 @@ class DuetBanner {
|
|
|
5050
5117
|
img: { src: this.image, alt: "", loading: "lazy", class: "image", role: "presentation" },
|
|
5051
5118
|
sources: parsePossibleJSON(this.sources),
|
|
5052
5119
|
};
|
|
5053
|
-
return (hAsync(Host, { key: '
|
|
5120
|
+
return (hAsync(Host, { key: '12cea619c3a29693b7bbb7189962468eee715f68', class: { "duet-m-0": this.margin === "none" } }, hAsync("aside", { key: 'b4e70162ea52e299c8cc3481961e1354f7a348d0', class: {
|
|
5054
5121
|
"duet-banner": true,
|
|
5055
5122
|
"duet-theme-turva": this.theme === "turva",
|
|
5056
5123
|
[this.currentSize]: true,
|
|
5057
5124
|
"size-medium": this.size === "medium" || this.size === "large",
|
|
5058
5125
|
"size-large": this.size === "large",
|
|
5059
5126
|
"no-image": !this.image,
|
|
5060
|
-
}, style: bannerStyles }, hAsync("div", { key: '
|
|
5127
|
+
}, style: bannerStyles }, hAsync("div", { key: '77b6658e115f6c6ad322e4d81607a842de28ad7f', class: "visual" }, hAsync("div", { key: '1140037769c9615f7fc233d5ef7db5e93e5b1434', class: "image-container" }, this.image && hAsync(DuetPicture, Object.assign({ key: '63b777ee272d5fe8c7df6f6a8bff7b84a44c9dff' }, pictureSource))), 1 > 2, hAsync("div", { key: '5af78573b362552f7bdc061be9bed68373255aae', style: bannerStyles, class: "brand-shape" })), hAsync("div", { key: '99f371a78ff9d7e85cff37c9c5eb2d49f51e7aaa', class: "content" }, this.hasHeadingSlot && (hAsync("div", { key: '8684e9cbd15cd42e8bce73271543ce7fc91b63fc', class: "heading" }, hAsync("duet-heading", { key: '2d3348662100fc98f088ac9dee4a5a38681ce9d7', theme: this.theme, level: this.headingLevel, "visual-level": this.currentSize === "large" ? "h2" : "h3", "fixed-size": true, margin: "none", color: postfixTheme(this.textColor, this.theme) }, hAsync("span", { key: '692332080a527df5d5ed15773ef34efbda983f15' }, hAsync("slot", { key: '8a0a0e72edfcf4c55f66b8565fe90b948e86c4bc', name: "heading" }))))), this.hasDescriptionSlot && (hAsync("div", { key: 'daba4eb6a51dc590ea3591132b8cddebb5cf9756', class: "description", style: { color } }, hAsync("slot", { key: '5d8e3bc1324a170bf266b89e8815896c470a512a', name: "description" }))), this.hasActionSlot && (hAsync("div", { key: 'c9d0e0f700ef91081cad82c8edb5db69ee38ef56', class: "action" }, hAsync("slot", { key: 'e72dfb579efb7ad822de3f59d3d828fffd3ef015', name: "action" })))))));
|
|
5061
5128
|
}
|
|
5062
5129
|
get element() { return getElement(this); }
|
|
5063
5130
|
static get style() { return duetBannerCss; }
|
|
@@ -5151,14 +5218,14 @@ class DuetBreadcrumb {
|
|
|
5151
5218
|
*/
|
|
5152
5219
|
render() {
|
|
5153
5220
|
var _a;
|
|
5154
|
-
return (hAsync(Host, { key: '
|
|
5221
|
+
return (hAsync(Host, { key: '1ea751b77b703d6054db7aa48bdeb9ac2a7cf742', role: "listitem" }, hAsync("div", { key: '147ae3c1a0ff6744d0d363ce2162b0acf8083535', class: "container" }, this.icon === "arrow-right-small-icon" && (hAsync("duet-icon", { key: 'd1642e1065ca32cc3b05d2724fbb3a1fae48fe2d', class: "duet-breadrumbs-arrow", size: "auto", icon: arrowRightSmallIcon.svg, margin: "none", color: "currentColor" })), hAsync("a", { key: '43ab506c5a641b44b99b9589eb7afdf7dc12172e', class: {
|
|
5155
5222
|
"duet-breadcrumb": true,
|
|
5156
5223
|
"duet-theme-turva": this.theme === "turva",
|
|
5157
5224
|
}, href: this.href ? this.href : undefined, "aria-label": `${!this.href ? `${getLocaleString(this.currentCrumb)} ` : ""}${(_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.element.innerHTML}`, role: "link" }, this.icon !== "arrow-right-small-icon" &&
|
|
5158
5225
|
this.icon && [
|
|
5159
|
-
hAsync("duet-icon", { key: '
|
|
5160
|
-
this.hasSlottedContent && hAsync("duet-spacer", { key: '
|
|
5161
|
-
], hAsync("slot", { key: '
|
|
5226
|
+
hAsync("duet-icon", { key: '73e448e620cf4284d620295ee791e8ebf8d8f491', size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" }),
|
|
5227
|
+
this.hasSlottedContent && hAsync("duet-spacer", { key: '9b0715738cc45d50d03a74f3310b654566fa0d59', size: "x-small", direction: "horizontal" }),
|
|
5228
|
+
], hAsync("slot", { key: '67cd2c6250927322b997b23a199c5ea758e2829e' })))));
|
|
5162
5229
|
}
|
|
5163
5230
|
get element() { return getElement(this); }
|
|
5164
5231
|
static get style() { return duetBreadcrumbCss; }
|
|
@@ -5227,11 +5294,11 @@ class DuetBreadcrumbs {
|
|
|
5227
5294
|
*/
|
|
5228
5295
|
render() {
|
|
5229
5296
|
const color = getColorByName(this.color);
|
|
5230
|
-
return (hAsync(Host, { key: '
|
|
5297
|
+
return (hAsync(Host, { key: 'a33196239b9b8f6933f6e8b46df005591cd7234c' }, hAsync("nav", { key: 'e132c17465eefb28d91c1a2a98fb6fa6bf812c92', "aria-label": this.breadcrumbsAriaLabel, class: {
|
|
5231
5298
|
"duet-breadcrumbs": true,
|
|
5232
5299
|
"duet-theme-turva": this.theme === "turva",
|
|
5233
5300
|
[this.variation]: true,
|
|
5234
|
-
} }, hAsync("div", { key: '
|
|
5301
|
+
} }, hAsync("div", { key: '515e61b4523d016aeaf79f9785f335793f3fd8a7', class: "container" }, hAsync("div", { key: '5cc015e840532c3e5450d2f99ea6dbfe16da9e21', role: "list", class: "list", style: { color } }, hAsync("slot", { key: '712824b51a9798d5df687a5146e7564c32e3b192' })), hAsync("div", { key: '6c669b82b4d9bebfec76cd852e422df64fc378f7', class: "bottom-border bottom-border--container" })), hAsync("div", { key: '04cb09bd7682b668fd9ca24ddd91efea24da9bf6', class: "bottom-border bottom-border--nav" }))));
|
|
5235
5302
|
}
|
|
5236
5303
|
get element() { return getElement(this); }
|
|
5237
5304
|
static get style() { return duetBreadcrumbsCss; }
|
|
@@ -5276,7 +5343,7 @@ const DuetStringsListStepOfTotal = {
|
|
|
5276
5343
|
sv: "Lista med {total} steg. Du är på steg {current}.",
|
|
5277
5344
|
};
|
|
5278
5345
|
|
|
5279
|
-
const duetButtonCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;font-size:0;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.square){margin-right:12px !important}:host(.square):last-child,:host(.square):last-of-type{margin-right:0 !important}:host(.input-button){z-index:250}:host(.duet-small),:host(.duet-x-small){margin-right:4px !important;margin-bottom:8px !important}:host(.duet-small):last-child,:host(.duet-small):last-of-type,:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host(.duet-small),:host(.duet-x-small){width:auto}}:host(.duet-x-small){margin-right:2px !important}:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}:host(.square.duet-small),:host(.square.duet-x-small){margin-right:8px !important}:host(.square.duet-small):last-child,:host(.square.duet-small):last-of-type,:host(.square.duet-x-small):last-child,:host(.square.duet-x-small):last-of-type{margin-right:0 !important}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(:last-child){margin-right:0 !important}.duet-button-container{position:relative;display:block;width:100%}.duet-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;align-items:center;width:100%;min-width:8rem;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.1;color:rgb(0, 119, 179) !important;text-align:center;text-decoration:none;cursor:pointer;background:transparent;border-style:solid;border-width:1px;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, outline 300ms ease, padding 300ms ease, box-shadow 300ms ease}.duet-button.duet-p-0{padding:0 !important}.duet-button.duet-m-0{margin:0 !important}.duet-button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-button:focus,.duet-button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-button.duet-button-size-medium{height:50px;padding-right:30px;padding-left:30px;font-size:1rem;border-radius:25px}.duet-theme-turva .duet-button.duet-button-size-medium{padding-right:24px;padding-left:24px;border-radius:12.5px}.duet-button.duet-button-size-medium.square{border-radius:12.5px}.duet-button.duet-button-size-medium.icon-left{padding-left:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-left{padding-left:18px}.duet-button.duet-button-size-medium.icon-right{padding-right:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-right{padding-right:18px}.duet-button.duet-button-size-small{height:40px;padding-right:20px;padding-left:20px;font-size:0.875rem;border-radius:20px}.duet-theme-turva .duet-button.duet-button-size-small{padding-right:18px;padding-left:18px;border-radius:10px}.duet-button.duet-button-size-small.square{border-radius:10px}.duet-button.duet-button-size-small.icon-left{padding-left:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-left{padding-left:14px}.duet-button.duet-button-size-small.icon-right{padding-right:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-right{padding-right:14px}.duet-button.duet-button-size-x-small{height:32px;padding-right:12px;padding-left:12px;font-size:0.75rem;border-radius:8px}.duet-button.duet-button-size-x-small.icon-left{padding-left:10px}.duet-button.duet-button-size-x-small.icon-right{padding-right:10px}.duet-button.plain.duet-p-0{height:auto}.duet-button:not(.input-button-primary,.input-button-secondary,.input-button-embedded){font-variant-numeric:tabular-nums}.duet-button.duet-button-text-center{text-align:center !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only){min-width:48px}.duet-button.duet-button-is-small:not(.duet-button-icon-only).plain{padding-right:0 !important;padding-left:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).duet-p-0{padding:0 !important}.duet-theme-turva .duet-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(198, 12, 48) !important}.duet-button .duet-button-contents{position:relative;display:flex;gap:10px;align-items:center;margin:0 auto;pointer-events:none}.duet-button .duet-button-contents.icon-right{flex-direction:row-reverse}.duet-button .duet-button-contents .duet-button-contents-slot{position:relative;top:0}.duet-button.duet-no-wrap{white-space:nowrap}.duet-button svg{width:100%;min-width:100%;fill:currentColor}.duet-button .duet-button-icon{display:flex;align-items:center}.duet-button .duet-button-icon duet-icon{width:16px;height:16px}.duet-button .duet-button-icon.large duet-icon{width:20px;height:20px}.duet-button .duet-button-icon.medium-small duet-icon{width:10px;height:10px}.duet-button .duet-button-icon.small duet-icon{width:7px;height:7px}.duet-button:active:not([disabled]){opacity:0.75;transition:none}.duet-button.default{background:rgb(255, 255, 255);border-color:rgb(181, 198, 208)}.duet-theme-turva .duet-button.default{color:rgb(198, 12, 48) !important;border-color:rgb(222, 224, 228)}.duet-button.default:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179);outline-offset:-2px}.duet-theme-turva .duet-button.default:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-button.default.duet-button-negative{background-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.default.duet-button-negative{background-color:rgb(222, 224, 228) !important}.duet-button.default.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.primary,.duet-button.input-button-primary,.duet-button.input-button-left-primary{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.primary,.duet-theme-turva .duet-button.input-button-primary,.duet-theme-turva .duet-button.input-button-left-primary{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.primary:hover,.duet-button.input-button-primary:hover,.duet-button.input-button-left-primary:hover{background:#005f8f;border-color:#005f8f;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.primary:hover,.duet-theme-turva .duet-button.input-button-primary:hover,.duet-theme-turva .duet-button.input-button-left-primary:hover{background:rgb(126, 2, 35);border-color:rgb(126, 2, 35)}.duet-button.primary:focus,.duet-button.input-button-primary:focus,.duet-button.input-button-left-primary:focus{outline:0;box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(0, 119, 179, 0.75)}.duet-theme-turva .duet-button.primary:focus,.duet-theme-turva .duet-button.input-button-primary:focus,.duet-theme-turva .duet-button.input-button-left-primary:focus{box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(23, 28, 58, 0.75)}.duet-button.secondary,.duet-button.input-button-secondary,.duet-button.input-button-left-secondary,.duet-button.input-button-embedded{color:rgb(8, 42, 77) !important;background:transparent;border-color:rgb(8, 42, 77)}.duet-theme-turva .duet-button.secondary,.duet-theme-turva .duet-button.input-button-secondary,.duet-theme-turva .duet-button.input-button-left-secondary,.duet-theme-turva .duet-button.input-button-embedded{color:rgb(23, 28, 58) !important;border-color:rgb(23, 28, 58)}.duet-button.secondary:hover,.duet-button.input-button-secondary:hover,.duet-button.input-button-left-secondary:hover,.duet-button.input-button-embedded:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary:hover,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-theme-turva .duet-button.input-button-left-secondary:hover,.duet-theme-turva .duet-button.input-button-embedded:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.secondary.duet-button-negative,.duet-button.input-button-secondary.duet-button-negative,.duet-button.input-button-left-secondary.duet-button-negative,.duet-button.input-button-embedded.duet-button-negative{color:rgb(212, 223, 229) !important;border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:rgb(222, 224, 228) !important}.duet-button.secondary.duet-button-negative:hover,.duet-button.input-button-secondary.duet-button-negative:hover,.duet-button.input-button-left-secondary.duet-button-negative:hover,.duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.input-button-embedded{width:40px;min-width:40px !important;min-height:40px !important;margin:4px !important;border-width:0 !important;border-radius:4px !important}.duet-button.input-button{height:auto}.duet-button.negative{color:rgb(8, 42, 77) !important;background:rgb(255, 255, 255);border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.negative{color:rgb(23, 28, 58) !important}.duet-button.negative:hover{color:rgb(255, 255, 255) !important;background:transparent;border-color:rgb(255, 255, 255)}.duet-button.negative:focus{outline:0;box-shadow:0 0 0 1px #00294d, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-theme-turva .duet-button.negative:focus{box-shadow:0 0 0 1px #0077b3, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-button.destructive-primary:hover{background:#ab1642;border-color:#ab1642;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.destructive-primary:hover{background:#ab1642}.duet-button.destructive,.duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive,.duet-theme-turva .duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-button.destructive:hover,.duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-theme-turva .duet-button.destructive:hover,.duet-theme-turva .duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-button.plain{min-width:48px;padding-right:0 !important;padding-left:0 !important;line-height:1.5;text-align:left;background:transparent;border:0;border-color:transparent;border-radius:4px}.duet-theme-turva .duet-button.plain{color:rgb(198, 12, 48) !important;background:transparent;border-color:transparent}.duet-button.plain.duet-p-0 .duet-button-contents{height:auto}.duet-button.plain[disabled]{color:rgb(98, 121, 138) !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}.duet-theme-turva .duet-button.plain[disabled]{color:transparent !important;cursor:not-allowed;background:transparent !important;border-color:rgb(222, 224, 228) !important}.duet-button.plain:hover{color:rgb(0, 75, 129) !important;background:transparent !important}.duet-theme-turva .duet-button.plain:hover{color:rgb(126, 2, 35) !important}.duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-button.plain.duet-button-negative:hover{color:rgba(255, 255, 255, 0.8) !important}.duet-button.duet-button-icon-only{min-width:48px;min-height:48px;padding:0 !important}.duet-button.duet-button-icon-only .duet-button-contents{position:static}.duet-button.duet-button-icon-only .duet-button-icon.left.large,.duet-button.duet-button-icon-only .duet-button-icon.left.medium,.duet-button.duet-button-icon-only .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded,.duet-button.duet-button.input-button-left-primary,.duet-button.duet-button.input-button-left-secondary{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px}.duet-button.duet-button.input-button-primary .duet-button-contents,.duet-button.duet-button.input-button-secondary .duet-button-contents,.duet-button.duet-button.input-button-embedded .duet-button-contents,.duet-button.duet-button.input-button-left-primary .duet-button-contents,.duet-button.duet-button.input-button-left-secondary .duet-button-contents{position:static}.duet-button.duet-button.input-button-primary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-secondary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-embedded .duet-button-contents.icon-right,.duet-button.duet-button.input-button-left-primary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-left-secondary .duet-button-contents.icon-right{padding:0 16px}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded{border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}.duet-button.duet-button.input-button-primary .duet-button-icon.left.large,.duet-button.duet-button.input-button-primary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-primary .duet-button-icon.left.small,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.large,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.small,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.large,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.medium,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-embedded{border-left-width:0}.duet-button.duet-button.input-button-left-primary,.duet-button.duet-button.input-button-left-secondary{border-top-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px}.duet-button.duet-button.input-button-left-primary .duet-button-contents,.duet-button.duet-button.input-button-left-secondary .duet-button-contents{position:static}.duet-button.square{width:52px;min-width:auto !important;padding:0 !important;font-size:1rem;border-color:rgb(181, 198, 208);border-width:1px}.duet-button.square.duet-button-size-small{width:42px;font-size:0.875rem}.duet-button.square.duet-button-size-x-small{width:34px;font-size:0.875rem}.duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-theme-turva .duet-button.square{border-color:rgb(222, 224, 228)}.duet-button.square:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179);outline-offset:-2px}.duet-theme-turva .duet-button.square:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-button.square .duet-button-contents{gap:0}.duet-button[disabled],.duet-button[disabled]:hover,.duet-button.duet-button-negative[disabled],.duet-button.duet-button-negative[disabled]:hover{color:rgb(98, 121, 138) !important;cursor:not-allowed;background:rgb(212, 223, 229) !important;border-color:rgb(212, 223, 229) !important;outline-color:rgb(212, 223, 229) !important;box-shadow:none !important}.duet-theme-turva .duet-button[disabled],.duet-theme-turva .duet-button[disabled]:hover,.duet-theme-turva .duet-button.duet-button-negative [disabled],.duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:rgb(143, 147, 158) !important;cursor:not-allowed;background:rgb(222, 224, 228) !important;border-color:rgb(222, 224, 228) !important;outline-color:rgb(222, 224, 228) !important}.duet-button-is-loading.primary,.duet-button-is-loading.input-button-primary{color:rgb(255, 255, 255)}.duet-button-is-loading.default{color:rgb(0, 119, 179)}.duet-button-is-loading.default.duet-theme-turva{color:rgb(198, 12, 48)}.duet-button-is-loading .duet-button-contents{visibility:hidden;opacity:0}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default{color:#e61740 !important;border-color:#fbe1d1}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default:hover{border-color:#e61740;outline-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default.duet-button-negative{background-color:#fbe1d1 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default.duet-button-negative:hover{color:#e61740 !important;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.primary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-primary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-primary{background:#e61740;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded{color:#172a3b !important;border-color:#172a3b}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded:hover{color:#e61740 !important;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:#fbe1d1 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:#e61740 !important;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.negative{color:#172a3b !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.negative:hover{color:rgb(255, 255, 255) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain{color:#e61740 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain:hover{color:rgba(255, 255, 255, 0.8) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain[disabled]{border-color:#fbe1d1 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square{border-color:#fbe1d1}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square.duet-button-negative{background:#e61740;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square:hover{border-color:#e61740;outline-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button-is-loading.default{color:#e61740}";
|
|
5346
|
+
const duetButtonCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;font-size:0;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.square){margin-right:12px !important}:host(.square):last-child,:host(.square):last-of-type{margin-right:0 !important}:host(.input-button){z-index:250}:host(.duet-small),:host(.duet-x-small){margin-right:4px !important;margin-bottom:8px !important}:host(.duet-small):last-child,:host(.duet-small):last-of-type,:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host(.duet-small),:host(.duet-x-small){width:auto}}:host(.duet-x-small){margin-right:2px !important}:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}:host(.square.duet-small),:host(.square.duet-x-small){margin-right:8px !important}:host(.square.duet-small):last-child,:host(.square.duet-small):last-of-type,:host(.square.duet-x-small):last-child,:host(.square.duet-x-small):last-of-type{margin-right:0 !important}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(:last-child){margin-right:0 !important}.duet-button-container{position:relative;display:block;width:100%}.duet-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;align-items:center;width:100%;min-width:8rem;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.1;color:rgb(0, 119, 179) !important;text-align:center;text-decoration:none;cursor:pointer;background:transparent;border-style:solid;border-width:1px;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, outline 300ms ease, padding 300ms ease, box-shadow 300ms ease}.duet-button.duet-p-0{padding:0 !important}.duet-button.duet-m-0{margin:0 !important}.duet-button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-button:focus,.duet-button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-button.duet-button-size-medium{height:50px;padding-right:30px;padding-left:30px;font-size:1rem;border-radius:25px}.duet-theme-turva .duet-button.duet-button-size-medium{padding-right:24px;padding-left:24px;border-radius:12.5px}.duet-button.duet-button-size-medium.square{border-radius:12.5px}.duet-button.duet-button-size-medium.icon-left{padding-left:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-left{padding-left:18px}.duet-button.duet-button-size-medium.icon-right{padding-right:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-right{padding-right:18px}.duet-button.duet-button-size-small{height:40px;padding-right:20px;padding-left:20px;font-size:0.875rem;border-radius:20px}.duet-theme-turva .duet-button.duet-button-size-small{padding-right:18px;padding-left:18px;border-radius:10px}.duet-button.duet-button-size-small.square{border-radius:10px}.duet-button.duet-button-size-small.icon-left{padding-left:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-left{padding-left:14px}.duet-button.duet-button-size-small.icon-right{padding-right:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-right{padding-right:14px}.duet-button.duet-button-size-x-small{height:32px;padding-right:12px;padding-left:12px;font-size:0.75rem;border-radius:8px}.duet-button.duet-button-size-x-small.icon-left{padding-left:10px}.duet-button.duet-button-size-x-small.icon-right{padding-right:10px}.duet-button.plain.duet-p-0{height:auto}.duet-button:not(.input-button-primary,.input-button-secondary,.input-button-embedded){font-variant-numeric:tabular-nums}.duet-button.duet-button-text-center{text-align:center !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only){min-width:48px}.duet-button.duet-button-is-small:not(.duet-button-icon-only).plain{padding-right:0 !important;padding-left:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).duet-p-0{padding:0 !important}.duet-theme-turva .duet-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(198, 12, 48) !important}.duet-button .duet-button-contents{position:relative;display:flex;gap:10px;align-items:center;margin:0 auto;pointer-events:none}.duet-button .duet-button-contents.icon-right{flex-direction:row-reverse}.duet-button .duet-button-contents .duet-button-contents-slot{position:relative;top:0}.duet-button.duet-no-wrap{white-space:nowrap}.duet-button svg{width:100%;min-width:100%;fill:currentColor}.duet-button .duet-button-icon{display:flex;align-items:center}.duet-button .duet-button-icon duet-icon{width:16px;height:16px}.duet-button .duet-button-icon.large duet-icon{width:20px;height:20px}.duet-button .duet-button-icon.medium-small duet-icon{width:10px;height:10px}.duet-button .duet-button-icon.small duet-icon{width:7px;height:7px}.duet-button:active:not([disabled]){opacity:0.75;transition:none}.duet-button.default{background:rgb(255, 255, 255);border-color:rgb(181, 198, 208)}.duet-theme-turva .duet-button.default{color:rgb(198, 12, 48) !important;border-color:rgb(222, 224, 228)}.duet-button.default:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179);outline-offset:-2px}.duet-theme-turva .duet-button.default:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-button.default.duet-button-negative{background-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.default.duet-button-negative{background-color:rgb(222, 224, 228) !important}.duet-button.default.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.primary,.duet-button.input-button-primary,.duet-button.input-button-left-primary{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.primary,.duet-theme-turva .duet-button.input-button-primary,.duet-theme-turva .duet-button.input-button-left-primary{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.primary:hover,.duet-button.input-button-primary:hover,.duet-button.input-button-left-primary:hover{background:#005f8f;border-color:#005f8f;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.primary:hover,.duet-theme-turva .duet-button.input-button-primary:hover,.duet-theme-turva .duet-button.input-button-left-primary:hover{background:rgb(126, 2, 35);border-color:rgb(126, 2, 35)}.duet-button.primary:focus,.duet-button.input-button-primary:focus,.duet-button.input-button-left-primary:focus{outline:0;box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(0, 119, 179, 0.75)}.duet-theme-turva .duet-button.primary:focus,.duet-theme-turva .duet-button.input-button-primary:focus,.duet-theme-turva .duet-button.input-button-left-primary:focus{box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(23, 28, 58, 0.75)}.duet-button.secondary,.duet-button.input-button-secondary,.duet-button.input-button-left-secondary,.duet-button.input-button-embedded{color:rgb(8, 42, 77) !important;background:transparent;border-color:rgb(8, 42, 77)}.duet-theme-turva .duet-button.secondary,.duet-theme-turva .duet-button.input-button-secondary,.duet-theme-turva .duet-button.input-button-left-secondary,.duet-theme-turva .duet-button.input-button-embedded{color:rgb(23, 28, 58) !important;border-color:rgb(23, 28, 58)}.duet-button.secondary:hover,.duet-button.input-button-secondary:hover,.duet-button.input-button-left-secondary:hover,.duet-button.input-button-embedded:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary:hover,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-theme-turva .duet-button.input-button-left-secondary:hover,.duet-theme-turva .duet-button.input-button-embedded:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.secondary.duet-button-negative,.duet-button.input-button-secondary.duet-button-negative,.duet-button.input-button-left-secondary.duet-button-negative,.duet-button.input-button-embedded.duet-button-negative{color:rgb(212, 223, 229) !important;border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:rgb(222, 224, 228) !important}.duet-button.secondary.duet-button-negative:hover,.duet-button.input-button-secondary.duet-button-negative:hover,.duet-button.input-button-left-secondary.duet-button-negative:hover,.duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.input-button-embedded{width:40px;min-width:40px !important;min-height:40px !important;margin:4px !important;border-width:0 !important;border-radius:4px !important}.duet-button.input-button{height:auto}.duet-button.negative{color:rgb(8, 42, 77) !important;background:rgb(255, 255, 255);border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.negative{color:rgb(23, 28, 58) !important}.duet-button.negative:hover{color:rgb(255, 255, 255) !important;background:transparent;border-color:rgb(255, 255, 255)}.duet-button.negative:focus{outline:0;box-shadow:0 0 0 1px #00294d, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-theme-turva .duet-button.negative:focus{box-shadow:0 0 0 1px #0077b3, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-button.destructive-primary:hover{background:#ab1642;border-color:#ab1642;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.destructive-primary:hover{background:#ab1642}.duet-button.destructive,.duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive,.duet-theme-turva .duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-button.destructive:hover,.duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-theme-turva .duet-button.destructive:hover,.duet-theme-turva .duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-button.plain{min-width:48px;padding-right:0 !important;padding-left:0 !important;line-height:1.5;text-align:left;background:transparent;border:0;border-color:transparent;border-radius:4px}.duet-theme-turva .duet-button.plain{color:rgb(198, 12, 48) !important;background:transparent;border-color:transparent}.duet-button.plain.duet-p-0 .duet-button-contents{height:auto}.duet-button.plain[disabled],.duet-button.plain[disabled]:hover{color:rgb(98, 121, 138) !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}.duet-theme-turva .duet-button.plain[disabled],.duet-theme-turva .duet-button.plain[disabled]:hover{color:rgb(113, 118, 132) !important;cursor:not-allowed;background:transparent !important;border-color:rgb(222, 224, 228) !important}.duet-button.plain:hover{color:rgb(0, 75, 129) !important;background:transparent !important}.duet-theme-turva .duet-button.plain:hover{color:rgb(126, 2, 35) !important}.duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-button.plain.duet-button-negative:hover{color:rgba(255, 255, 255, 0.8) !important}.duet-button.duet-button-icon-only{min-width:48px;min-height:48px;padding:0 !important}.duet-button.duet-button-icon-only .duet-button-contents{position:static}.duet-button.duet-button-icon-only .duet-button-icon.left.large,.duet-button.duet-button-icon-only .duet-button-icon.left.medium,.duet-button.duet-button-icon-only .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded,.duet-button.duet-button.input-button-left-primary,.duet-button.duet-button.input-button-left-secondary{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px}.duet-button.duet-button.input-button-primary .duet-button-contents,.duet-button.duet-button.input-button-secondary .duet-button-contents,.duet-button.duet-button.input-button-embedded .duet-button-contents,.duet-button.duet-button.input-button-left-primary .duet-button-contents,.duet-button.duet-button.input-button-left-secondary .duet-button-contents{position:static}.duet-button.duet-button.input-button-primary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-secondary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-embedded .duet-button-contents.icon-right,.duet-button.duet-button.input-button-left-primary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-left-secondary .duet-button-contents.icon-right{padding:0 16px}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded{border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}.duet-button.duet-button.input-button-primary .duet-button-icon.left.large,.duet-button.duet-button.input-button-primary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-primary .duet-button-icon.left.small,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.large,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.small,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.large,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.medium,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-embedded{border-left-width:0}.duet-button.duet-button.input-button-left-primary,.duet-button.duet-button.input-button-left-secondary{border-top-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px}.duet-button.duet-button.input-button-left-primary .duet-button-contents,.duet-button.duet-button.input-button-left-secondary .duet-button-contents{position:static}.duet-button.square{width:52px;min-width:auto !important;padding:0 !important;font-size:1rem;border-color:rgb(181, 198, 208);border-width:1px}.duet-button.square.duet-button-size-small{width:42px;font-size:0.875rem}.duet-button.square.duet-button-size-x-small{width:34px;font-size:0.875rem}.duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-theme-turva .duet-button.square{border-color:rgb(222, 224, 228)}.duet-button.square:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179);outline-offset:-2px}.duet-theme-turva .duet-button.square:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-button.square .duet-button-contents{gap:0}.duet-button[disabled],.duet-button[disabled]:hover,.duet-button.duet-button-negative[disabled],.duet-button.duet-button-negative[disabled]:hover{color:rgb(98, 121, 138) !important;cursor:not-allowed;background:rgb(212, 223, 229) !important;border-color:rgb(212, 223, 229) !important;outline-color:rgb(212, 223, 229) !important;box-shadow:none !important}.duet-theme-turva .duet-button[disabled],.duet-theme-turva .duet-button[disabled]:hover,.duet-theme-turva .duet-button.duet-button-negative [disabled],.duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:rgb(143, 147, 158) !important;cursor:not-allowed;background:rgb(222, 224, 228) !important;border-color:rgb(222, 224, 228) !important;outline-color:rgb(222, 224, 228) !important}.duet-button-is-loading.primary,.duet-button-is-loading.input-button-primary{color:rgb(255, 255, 255)}.duet-button-is-loading.default{color:rgb(0, 119, 179)}.duet-button-is-loading.default.duet-theme-turva{color:rgb(198, 12, 48)}.duet-button-is-loading .duet-button-contents{visibility:hidden;opacity:0}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default{color:#e61740 !important;border-color:#fbe1d1}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default:hover{border-color:#e61740;outline-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default.duet-button-negative{background-color:#fbe1d1 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default.duet-button-negative:hover{color:#e61740 !important;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.primary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-primary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-primary{background:#e61740;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded{color:#172a3b !important;border-color:#172a3b}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded:hover{color:#e61740 !important;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:#fbe1d1 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:#e61740 !important;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.negative{color:#172a3b !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.negative:hover{color:rgb(255, 255, 255) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain{color:#e61740 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain:hover{color:#8c001e !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain[disabled],:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain[disabled]:hover{color:#5f7a8f !important;background:transparent !important;border-color:#fbe1d1 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square{border-color:#fbe1d1}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square.duet-button-negative{background:#e61740;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square:hover{border-color:#e61740;outline-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button[disabled],:host(.duet-theme-turva2) .duet-theme-turva .duet-button[disabled]:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button-negative [disabled],:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:#7891a4 !important;cursor:not-allowed;background:#d4dde2 !important;border-color:#d4dde2 !important;outline-color:#d4dde2 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button-is-loading.default{color:#e61740}";
|
|
5280
5347
|
|
|
5281
5348
|
class DuetButton {
|
|
5282
5349
|
constructor(hostRef) {
|
|
@@ -5532,12 +5599,12 @@ class DuetButton {
|
|
|
5532
5599
|
// enforce consistency for external links
|
|
5533
5600
|
const icon = isExternalLink ? "action-new-window" : this.icon;
|
|
5534
5601
|
const iconRight = isExternalLink ? true : this.iconRight;
|
|
5535
|
-
const commonChildren = (hAsync("span", { key: '
|
|
5602
|
+
const commonChildren = (hAsync("span", { key: '4b6618222c037ec329c118f7ad247b9fd514e878', class: { "duet-button-contents": true, "icon-right": iconRight }, style: { color: getColorByName(this.color, this.theme) } }, icon && (hAsync("span", { key: '67492c9b50231879ba232f7c6bcdadcb2d219875', "aria-hidden": "true", class: {
|
|
5536
5603
|
"duet-button-icon": true,
|
|
5537
5604
|
left: !iconRight,
|
|
5538
5605
|
right: iconRight,
|
|
5539
5606
|
[this.getButtonIconSize()]: true,
|
|
5540
|
-
} }, hAsync("duet-icon", { key: '
|
|
5607
|
+
} }, hAsync("duet-icon", { key: 'fce0630d78df187c2a7f3946ff3d262c43e5ce95', size: "auto", margin: "none", name: icon, color: "currentColor" }))), hAsync("span", { key: '34d608211bac6921c4aec51f71a9b33e2ac2b7b0', class: "duet-button-contents-slot" }, hAsync("slot", { key: 'b2478d851993c148be6a83a76f9f725469bc9944' }))));
|
|
5541
5608
|
const size = this.size == "medium" || this.size == "small" || this.size == "x-small" ? this.size : "medium";
|
|
5542
5609
|
const commonProps = {
|
|
5543
5610
|
onFocus: this.onFocus,
|
|
@@ -5572,7 +5639,7 @@ class DuetButton {
|
|
|
5572
5639
|
"aria-details": this.accessibleDetails,
|
|
5573
5640
|
"aria-description": this.accessibleDescription,
|
|
5574
5641
|
};
|
|
5575
|
-
return (hAsync(Host, { key: '
|
|
5642
|
+
return (hAsync(Host, { key: 'c70e2d9cbe884c7b6cc3012721f01ce6d54b4555', class: {
|
|
5576
5643
|
"duet-m-0": this.margin === "none",
|
|
5577
5644
|
"duet-small": this.size === "small",
|
|
5578
5645
|
"duet-x-small": this.size === "x-small",
|
|
@@ -5580,13 +5647,13 @@ class DuetButton {
|
|
|
5580
5647
|
"duet-expand": this.expand,
|
|
5581
5648
|
[this.variation]: true,
|
|
5582
5649
|
"input-button": (_b = this.variation) === null || _b === void 0 ? void 0 : _b.startsWith("input-button"),
|
|
5583
|
-
} }, hAsync("span", { key: '
|
|
5650
|
+
} }, hAsync("span", { key: 'c8be7792d2ae572befbfbe921a3ec453c073637d', onClick: this.handleClick, class: {
|
|
5584
5651
|
"duet-button-container": true,
|
|
5585
5652
|
"duet-button-is-loading": this.loading,
|
|
5586
5653
|
"duet-theme-turva": this.theme === "turva",
|
|
5587
5654
|
"duet-button-negative": this.negative || this.variation === "negative",
|
|
5588
5655
|
[this.variation]: true,
|
|
5589
|
-
} }, this.url ? (hAsync("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && hAsync("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (hAsync("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren, this.loading && hAsync("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "))), this.loading && hAsync("duet-spinner", { key: '
|
|
5656
|
+
} }, this.url ? (hAsync("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && hAsync("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (hAsync("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren, this.loading && hAsync("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "))), this.loading && hAsync("duet-spinner", { key: 'da956cda627d2afc5084ee69629b54ffabcb672b', color: "currentColor" })), hAsync("slot", { key: '0ead01a475d6242c0049a259f9b9c725830d4b80', name: "proxybutton" })));
|
|
5590
5657
|
}
|
|
5591
5658
|
get element() { return getElement(this); }
|
|
5592
5659
|
static get style() { return duetButtonCss; }
|
|
@@ -5678,11 +5745,11 @@ class DuetCallout {
|
|
|
5678
5745
|
<path d="M6.6591 0.557547L9.2031 2.33355C7.0911 5.21355 6.1311 7.18155 5.8431 8.90955C7.4751 9.34155 8.7231 10.5415 8.7231 12.6535C8.7231 15.2935 6.9471 16.9255 4.6431 16.9255C2.0511 16.9255 0.227096 15.1975 0.227096 12.2695C0.227096 8.28555 2.3871 4.34955 6.6591 0.557547ZM17.9871 8.95755C19.6191 9.34155 20.8671 10.5415 20.8671 12.6535C20.8671 15.2935 19.1391 16.9255 16.8351 16.9255C14.2431 16.9255 12.4191 15.1975 12.4191 12.2695C12.4191 8.28555 14.5791 4.34955 18.8511 0.557547L21.3951 2.33355C19.2351 5.21355 18.3231 7.18155 17.9871 8.95755Z"/>
|
|
5679
5746
|
</svg>
|
|
5680
5747
|
`;
|
|
5681
|
-
return (hAsync(Host, { key: '
|
|
5748
|
+
return (hAsync(Host, { key: 'c491469b698a73c9a411cf3f660770be81879bd7' }, hAsync("div", { key: '4c7e1af2f3c229e617d04c0aaf1355bce04a2d6d', class: {
|
|
5682
5749
|
"duet-callout": true,
|
|
5683
5750
|
"duet-theme-turva": this.theme === "turva",
|
|
5684
5751
|
"duet-m-0": this.margin === "none",
|
|
5685
|
-
} }, hAsync("figure", { key: '
|
|
5752
|
+
} }, hAsync("figure", { key: 'eb03690c450a0d767e18bffdbce24d83e3334e65', class: "container" }, hAsync("duet-icon", { key: '1695f3f5c59f29b3497a9df3269e791bc19095a6', class: "callout-icon", shape: "brand-rotated", background: "primary-lighter", "background-opacity": "0.75", "background-rotation": this.theme === "turva" ? "0" : "7", color: "secondary", icon: icon, size: "auto", margin: "none", theme: this.theme }), hAsync("blockquote", { key: '6297aefa621ef90e3cb100bcfd07c798cf9b378a' }, hAsync("slot", { key: '14186875763fbf1989d9de9cb90706be15de8508' })), this.hasAuthorSlot && (hAsync("figcaption", { key: 'c17e4fe83fb3c067c4c91369ee6d80a2a6abf3a8', class: "author" }, hAsync("span", { key: 'fac4c2303e1ff78e28fd1538ab43d1b19e84610f' }, "\u2014 "), hAsync("slot", { key: '648acac653c20369d7d52a5537c43175cb4dbd5d', name: "author" })))))));
|
|
5686
5753
|
}
|
|
5687
5754
|
get element() { return getElement(this); }
|
|
5688
5755
|
static get style() { return duetCalloutCss; }
|
|
@@ -6162,11 +6229,11 @@ class DuetCheckmark {
|
|
|
6162
6229
|
inheritGlobalTheme(this);
|
|
6163
6230
|
}
|
|
6164
6231
|
render() {
|
|
6165
|
-
return (hAsync(Host, { key: '
|
|
6232
|
+
return (hAsync(Host, { key: '9a2512992413ec797c17d55d2a41908cda0e6307', class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: 'f95a151961586c89597dd2d31436deecc0cabf4d', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, hAsync("div", { key: '42f1b50012a17910a3c1d91bac31bfc370c73abf', class: {
|
|
6166
6233
|
"duet-checkmark-container": true,
|
|
6167
6234
|
center: this.center,
|
|
6168
6235
|
"duet-checkmark-radio": this.type === "radio",
|
|
6169
|
-
} }, this.checked && hAsync("div", { key: '
|
|
6236
|
+
} }, this.checked && hAsync("div", { key: 'ed62491f54edf398da1c22ae672683107b6aa8bc', class: "duet-checkmark" })))));
|
|
6170
6237
|
}
|
|
6171
6238
|
static get style() { return duetCheckmarkCss; }
|
|
6172
6239
|
static get cmpMeta() { return {
|
|
@@ -7207,14 +7274,14 @@ class DuetChoiceGroup {
|
|
|
7207
7274
|
* Always the last one in the class.
|
|
7208
7275
|
*/
|
|
7209
7276
|
render() {
|
|
7210
|
-
return (hAsync(Host, { key: '
|
|
7277
|
+
return (hAsync(Host, { key: 'd339b389eb4a7e9867dc0646ad760bce3e835714', onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, onDuetChoiceRemove: this.onChoiceRemove, class: {
|
|
7211
7278
|
horizontal: this.direction === "horizontal",
|
|
7212
7279
|
"duet-choice-group-breakpoint-x-small": this.responsive && this.breakpoint === "x-small",
|
|
7213
7280
|
"duet-choice-group-breakpoint-small": this.responsive && this.breakpoint === "small",
|
|
7214
7281
|
"duet-choice-group-breakpoint-medium": this.responsive && this.breakpoint === "medium",
|
|
7215
7282
|
"duet-choice-group-breakpoint-large": this.responsive && this.breakpoint === "large",
|
|
7216
7283
|
"duet-choice-group-breakpoint-x-large": this.responsive && this.breakpoint === "x-large",
|
|
7217
|
-
} }, hAsync("duet-fieldset", { key: '
|
|
7284
|
+
} }, hAsync("duet-fieldset", { key: '00a0c17d4dda00d8482933db51e713995820d82d', label: this.label, labelHidden: this.labelHidden, compactLabel: true, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (hAsync("duet-tooltip", { key: '3d4ef32226b7f822175c071479f2e3339fbfdf6b', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: '89e8ef0c51e053463d12ed01ba61b814b28623ec', name: "tooltip" }), hAsync("div", { key: 'a86be50bed561647750f76764f9998567360318d', class: { [this.choiceGroupName]: true, "duet-no-stacking": !this.responsive } }, hAsync("slot", { key: '629c8b4458323f78742eedebe2807010079ccec0' })))));
|
|
7218
7285
|
}
|
|
7219
7286
|
get element() { return getElement(this); }
|
|
7220
7287
|
static get watchers() { return {
|
|
@@ -8836,10 +8903,10 @@ class DuetContactCard {
|
|
|
8836
8903
|
render() {
|
|
8837
8904
|
const isTurva = this.theme === "turva";
|
|
8838
8905
|
const theme = isTurva ? "turva" : "default";
|
|
8839
|
-
return (hAsync(Host, { key: '
|
|
8906
|
+
return (hAsync(Host, { key: 'a08fac4daef7586a885d4556d27260feb027d4fb', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'd70cc29e06be46210e3150661f16bcf19fab27b1', class: {
|
|
8840
8907
|
"duet-contact-card": true,
|
|
8841
8908
|
"duet-theme-turva": this.theme === "turva",
|
|
8842
|
-
}, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: '
|
|
8909
|
+
}, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: '4cde139368ebb252e83638d0634671f2167b14a0' }, this.name && (hAsync("duet-heading", { key: 'c91fe7f5ef066de893cfa2fb4018e9b17e5e66af', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (hAsync("duet-paragraph", { key: '9ef8bdab5f11c125115cfa147428327131e6086a', class: "description", margin: "none", theme: theme }, this.description)), this.email && (hAsync("div", { key: 'd07bbb21d8963247655a3b172e26c9f1becc2fd2', class: "email" }, hAsync("duet-icon", { key: 'd25b13911b29302d0eabc8f715e13ff59b473c7f', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: '2765a6cbc0fb671c3cb8a37d7ac2fe578f369cfe', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (hAsync("div", { key: 'fcbed4d2a82ed0ee1e90665f5e42f10bfdcaf344', class: "phone" }, hAsync("duet-icon", { key: '17233a8a4863c68255e207c23de3667437bd1177', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: '0a49811728ddfd13096701fe9d33c54722554107', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (hAsync("div", { key: 'eb199cf8f4f83cb7ebebbfb2e791c78b6424091e', class: "call-to-action" }, hAsync("duet-button", { key: 'c8e0d2d72d5b15a74b0d7fd79a595c6ffddf6f7e', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), hAsync("div", { key: '5e2f0915b883c85ad3bca3f54b62347af8250749' }), hAsync("slot", { key: '388383ea2ca2a756a28d13bdbf521cd85094526a' }))));
|
|
8843
8910
|
}
|
|
8844
8911
|
get element() { return getElement(this); }
|
|
8845
8912
|
static get style() { return duetContactCardCss; }
|
|
@@ -10320,20 +10387,20 @@ class DuetFieldset {
|
|
|
10320
10387
|
* Always the last one in the class.
|
|
10321
10388
|
*/
|
|
10322
10389
|
render() {
|
|
10323
|
-
return (hAsync(Host, { key: '
|
|
10390
|
+
return (hAsync(Host, { key: 'c761c38f09035452c65fd2a660bc83eb9f0325a7', class: { "duet-m-0": this.margin === "none" } }, hAsync("fieldset", { key: 'c62cd3a0354883251b153612cd9a685059205638', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
|
|
10324
10391
|
// NVDA and VoiceOver do not yet support aria-errormessage
|
|
10325
10392
|
// once they do, we can remove errors from the aria-describedby
|
|
10326
10393
|
// aria-errormessage={this.error ? this.errorId : null}
|
|
10327
10394
|
class: {
|
|
10328
10395
|
"duet-fieldset": true,
|
|
10329
10396
|
"duet-theme-turva": this.theme === "turva",
|
|
10330
|
-
} }, hAsync("legend", { key: '
|
|
10397
|
+
} }, hAsync("legend", { key: 'a67feca7ba42a9de83e3eacfa41bb9c53de0185d', id: this.labelId }, hAsync(this.labelHeadingLevel, { key: '98598e545d1ac5d30cead1818c2831285e21fd59' }, this.label), this.caption && hAsync("span", { key: '44d72ba880fb2ba4b2e9826389ca0b23a4c09446' }, this.caption)), hAsync("div", { key: 'd6680f823096d1510778845d46bcf10f3070064c', class: {
|
|
10331
10398
|
"duet-legend-wrapper": true,
|
|
10332
10399
|
"duet-legend-has-caption": !!this.caption,
|
|
10333
10400
|
"duet-legend-has-tooltip": this.hasTooltip,
|
|
10334
10401
|
"duet-legend-hidden": this.labelHidden,
|
|
10335
10402
|
"duet-legend-compact": this.compactLabel,
|
|
10336
|
-
} }, hAsync("div", { key: '
|
|
10403
|
+
} }, hAsync("div", { key: '126ab7bb76240a4da7d9b647955a8a804875e375', class: "duet-fieldset-label" }, hAsync("span", { key: 'ff60e083f1776471163c59d196d5a98e32279456', "aria-hidden": "true" }, this.label), hAsync("slot", { key: '06eb238c6e9921dca17ca43ae38a1de2351af119', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (hAsync("div", { key: '5a7a0bcb4167f6ffbf89880060e05f82e032012b', class: "duet-fieldset-caption", "aria-hidden": "true" }, hAsync("duet-caption", { key: '7781c0787fe4ff082d80e9bc2e7ea2280da13d7e', theme: this.theme, margin: "none" }, this.caption)))), hAsync("slot", { key: 'd6227947f219d39ca25e5a3ac582e4459e58d504' }), hAsync("span", { key: 'ecf7f364237951e9bceacf067e854118b5676009', class: "duet-fieldset-help duet-fieldset-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: 'e7a456498d709f36eba051c5ce891f5b9b39c5fb', class: { "duet-m-0": this.lastItemIsChip } }, this.error)))));
|
|
10337
10404
|
}
|
|
10338
10405
|
get element() { return getElement(this); }
|
|
10339
10406
|
static get style() { return duetFieldsetCss; }
|
|
@@ -10848,7 +10915,7 @@ class DuetGridItem {
|
|
|
10848
10915
|
* Always the last one in the class.
|
|
10849
10916
|
*/
|
|
10850
10917
|
render() {
|
|
10851
|
-
return (hAsync(Host, { key: '
|
|
10918
|
+
return (hAsync(Host, { key: '116018aebb0122341885d5c189c49e80651a9c8d', style: {
|
|
10852
10919
|
"min-width": this.minWidth,
|
|
10853
10920
|
"max-width": this.maxWidth,
|
|
10854
10921
|
}, class: {
|
|
@@ -10865,7 +10932,7 @@ class DuetGridItem {
|
|
|
10865
10932
|
"duet-grid-item-br-medium": this.breakpoint === "medium",
|
|
10866
10933
|
"duet-grid-item-br-large": this.breakpoint === "large",
|
|
10867
10934
|
"duet-grid-item-br-x-large": this.breakpoint === "x-large",
|
|
10868
|
-
} }, hAsync("slot", { key: '
|
|
10935
|
+
} }, hAsync("slot", { key: '8f0abe7f48298866dc52e646b8d08bbeaf4ce234' })));
|
|
10869
10936
|
}
|
|
10870
10937
|
static get style() { return duetGridItemCss; }
|
|
10871
10938
|
static get cmpMeta() { return {
|
|
@@ -11708,7 +11775,7 @@ class DuetHeader {
|
|
|
11708
11775
|
"duet-theme-turva": this.theme === "turva",
|
|
11709
11776
|
"duet-header-back": true,
|
|
11710
11777
|
"duet-header-inactive": true,
|
|
11711
|
-
}, part: "header" }, hAsync("div", { class: "duet-header-top" }, skipToLabel(), hAsync("duet-button", { url: this.processedBack.href, id: this.processedBack.id, theme: this.theme, variation: "plain", color:
|
|
11778
|
+
}, part: "header" }, hAsync("div", { class: "duet-header-top" }, skipToLabel(), hAsync("duet-button", { url: this.processedBack.href, id: this.processedBack.id, theme: this.theme, variation: "plain", color: postfixTheme("secondary", this.theme), icon: "navigation-arrow-left", iconSize: "large", onClick: this.handleBackClick }, this.processedBack.label), logo(), hAsync("slot", { name: "logo-utility" }))))));
|
|
11712
11779
|
}
|
|
11713
11780
|
const itemsHaveSubItems = this.processedItems && this.processedItems.some(item => item.items && item.items.length > 0);
|
|
11714
11781
|
const isSecondLevelActive = this.processedItems &&
|
|
@@ -12403,11 +12470,11 @@ class DuetIcon {
|
|
|
12403
12470
|
: {};
|
|
12404
12471
|
const iconStyles = Object.assign({}, iconRotationStyles);
|
|
12405
12472
|
const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
|
|
12406
|
-
return (hAsync(Host, { key: '
|
|
12473
|
+
return (hAsync(Host, { key: '2f6837b926530cee2afc83a590aa1ccb0dfeca03', class: {
|
|
12407
12474
|
"duet-m-0": this.margin === "none",
|
|
12408
12475
|
"duet-icon-has-outline": !!this.outline,
|
|
12409
12476
|
"duet-icon-has-background": !!this.background,
|
|
12410
|
-
} }, hAsync("span", { key: '
|
|
12477
|
+
} }, hAsync("span", { key: '6fa86044b5f3966537f38590bd12b28b698a080b', "aria-hidden": "true", style: styles, class: {
|
|
12411
12478
|
"duet-icon": true,
|
|
12412
12479
|
"duet-theme-turva": this.theme === "turva",
|
|
12413
12480
|
"duet-theme-default": this.theme === "default",
|
|
@@ -12416,7 +12483,7 @@ class DuetIcon {
|
|
|
12416
12483
|
[shapeStyle]: true,
|
|
12417
12484
|
rotated: this.shape === "brand-rotated" && this.theme !== "turva",
|
|
12418
12485
|
"duet-icon-not-responsive": !this.responsive,
|
|
12419
|
-
} }, hAsync("span", { key: '
|
|
12486
|
+
} }, hAsync("span", { key: '4ba33bca7da0ccbc0f11b1b5693e7912d0a0d45d', "aria-hidden": "true", class: { "duet-icon-svg": true, rotated: this.shape === "brand-rotated" && this.theme !== "turva" }, "data-name": this.name, innerHTML: this.svgContent, style: iconStyles }))));
|
|
12420
12487
|
}
|
|
12421
12488
|
get element() { return getElement(this); }
|
|
12422
12489
|
static get watchers() { return {
|
|
@@ -13522,12 +13589,13 @@ class DuetLink {
|
|
|
13522
13589
|
* Always the last one in the class.
|
|
13523
13590
|
*/
|
|
13524
13591
|
render() {
|
|
13525
|
-
const Tag = !this.url ? "button" : "a";
|
|
13592
|
+
const Tag = !this.url && this.variation !== "default" ? "button" : "a";
|
|
13593
|
+
const role = !this.url && this.variation === "default" ? "button" : null;
|
|
13526
13594
|
const isButton = Tag === "button";
|
|
13527
|
-
return (hAsync(Host, { key: '
|
|
13595
|
+
return (hAsync(Host, { key: 'eae1c61afe3b8413b109313020b9757cfe7f2e42', class: {
|
|
13528
13596
|
[`duet-link-${this.variation}`]: true,
|
|
13529
13597
|
"duet-m-0": this.margin === "none",
|
|
13530
|
-
} }, hAsync(Tag, { key: '
|
|
13598
|
+
} }, hAsync(Tag, { key: '973984aeb4ef7dd331df49218b1552a4955b80c2', href: this.url, class: {
|
|
13531
13599
|
"duet-link": true,
|
|
13532
13600
|
"duet-link-is-external": this.external,
|
|
13533
13601
|
"duet-link-is-download": !!this.download,
|
|
@@ -13538,7 +13606,7 @@ class DuetLink {
|
|
|
13538
13606
|
"duet-p-0": this.padding === "none",
|
|
13539
13607
|
[this.padding]: true,
|
|
13540
13608
|
[this.variation]: true,
|
|
13541
|
-
}, target: this.download || !this.url ? null : this.external ? "_blank" : "_self", download: this.resolvedDownload, "aria-label": this.ariaLabel, "aria-expanded": this.accessibleExpanded != null && isButton ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null && isButton ? this.accessiblePopup.toString() : undefined, id: this.identifier, ref: el => (this.nativeLink = el), part: "duet-link", rel: this.external ? "noopener" : undefined }, this.renderContent())));
|
|
13609
|
+
}, target: this.download || !this.url ? null : this.external ? "_blank" : "_self", download: this.resolvedDownload, "aria-label": this.ariaLabel, "aria-expanded": this.accessibleExpanded != null && isButton ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null && isButton ? this.accessiblePopup.toString() : undefined, id: this.identifier, ref: el => (this.nativeLink = el), part: "duet-link", rel: this.external ? "noopener" : undefined, role: role }, this.renderContent())));
|
|
13542
13610
|
}
|
|
13543
13611
|
static get delegatesFocus() { return true; }
|
|
13544
13612
|
get element() { return getElement(this); }
|
|
@@ -13783,7 +13851,7 @@ class DuetListItem {
|
|
|
13783
13851
|
* Always the last one in the class.
|
|
13784
13852
|
*/
|
|
13785
13853
|
render() {
|
|
13786
|
-
return (hAsync(Host, { key: '
|
|
13854
|
+
return (hAsync(Host, { key: '47185c0399f547a7d80ac43adf617b617e33e604', class: {
|
|
13787
13855
|
"duet-theme-turva": this.theme === "turva",
|
|
13788
13856
|
"duet-no-stacking": !this.responsive,
|
|
13789
13857
|
"duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
|
|
@@ -13791,7 +13859,7 @@ class DuetListItem {
|
|
|
13791
13859
|
"duet-list-item-breakpoint-medium": this.breakpoint === "medium",
|
|
13792
13860
|
"duet-list-item-breakpoint-large": this.breakpoint === "large",
|
|
13793
13861
|
"duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
|
|
13794
|
-
} }, hAsync("dt", { key: '
|
|
13862
|
+
} }, hAsync("dt", { key: '6ae3c144789f6f61efd296b660b88b180a5e0e38' }, hAsync("slot", { key: 'c33e76c13b822b05a938e421d6eb53ef95e403f7', name: "label" })), hAsync("dd", { key: '31bda43d4a91ec3b4a44746a0ddde2f7b91845c2' }, hAsync("slot", { key: 'c1ce54a0b9a7dd7256a7dcf3a32bef70bb063621', name: "value" }))));
|
|
13795
13863
|
}
|
|
13796
13864
|
get element() { return getElement(this); }
|
|
13797
13865
|
static get style() { return duetListItemCss; }
|
|
@@ -14189,10 +14257,10 @@ class DuetMenuBarButton {
|
|
|
14189
14257
|
* Always the last one in the class.
|
|
14190
14258
|
*/
|
|
14191
14259
|
render() {
|
|
14192
|
-
return (hAsync(Host, { key: '
|
|
14260
|
+
return (hAsync(Host, { key: '5e64c2ede59d8e16972663cace2e98dffca3a060', role: "listitem", onfocus: () => this.setFocus() }, hAsync("button", { key: '362525c4f563bd1a5ffad7b8fee029d904fb72c8', ref: button => (this.nativeButton = button), class: {
|
|
14193
14261
|
"duet-menu-bar-button": true,
|
|
14194
14262
|
"duet-theme-turva": this.theme === "turva",
|
|
14195
|
-
}, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (hAsync("duet-icon", { key: '
|
|
14263
|
+
}, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (hAsync("duet-icon", { key: '439d74e7bdfb1396a7c1e2940c3bcf142c3150b6', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: '61a36d95ee1b2962b3f966dc99678c7e00c00692' }))));
|
|
14196
14264
|
}
|
|
14197
14265
|
get element() { return getElement(this); }
|
|
14198
14266
|
static get style() { return duetMenuBarButtonCss; }
|
|
@@ -14282,17 +14350,17 @@ class DuetMenuBarDropdown {
|
|
|
14282
14350
|
* Always the last one in the class.
|
|
14283
14351
|
*/
|
|
14284
14352
|
render() {
|
|
14285
|
-
return (hAsync(Host, { key: '
|
|
14353
|
+
return (hAsync(Host, { key: '870e7ba2d40001532dabdb4c9468b73570e1ade7', role: "listitem" }, hAsync("div", { key: '7c60bf682acd9d11e8633f862f07391a706de817', class: {
|
|
14286
14354
|
"duet-menu-bar-dropdown": true,
|
|
14287
14355
|
"duet-theme-turva": this.theme === "turva",
|
|
14288
14356
|
active: this.open,
|
|
14289
14357
|
[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
|
|
14290
|
-
} }, hAsync("button", { key: '
|
|
14358
|
+
} }, hAsync("button", { key: 'c0bdf57ef46ae179d3c0d6e7f45bdd7ffe10769b', ref: element => (this.button = element), "aria-label": this.accessibleLabel, "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
14291
14359
|
active: this.open,
|
|
14292
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
14360
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: 'c97e52d72933959ecbd6b9519940427735cdeccc', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: 'd831c0f2defb108643ac9a11f6be93f4f98a8dbc', class: "label" }, hAsync("slot", { key: 'c396567614cd3badd2b373a1922ea907f75750a8', name: "label" }), hAsync("duet-icon", { key: '4e8adfdf9998028a514fa386275affa9c4fe29be', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '683257ed3f02ee4cde289c0efe48af7f06fa50c5', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
14293
14361
|
items: true,
|
|
14294
14362
|
hidden: !this.open,
|
|
14295
|
-
} }, hAsync("slot", { key: '
|
|
14363
|
+
} }, hAsync("slot", { key: '281de42fd56a1c9be76c9b4218d4354032a56834' })))));
|
|
14296
14364
|
}
|
|
14297
14365
|
get element() { return getElement(this); }
|
|
14298
14366
|
static get style() { return duetMenuBarDropdownCss; }
|
|
@@ -14359,11 +14427,11 @@ class DuetMenuBarDropdownLink {
|
|
|
14359
14427
|
* Always the last one in the class.
|
|
14360
14428
|
*/
|
|
14361
14429
|
render() {
|
|
14362
|
-
return (hAsync(Host, { key: '
|
|
14430
|
+
return (hAsync(Host, { key: '6d31641d480353ee7f924029a31c94dc1747f1ed' }, hAsync("a", { key: 'ea374446994ad7ea0780b8f4320247c718f08219', class: {
|
|
14363
14431
|
"duet-menu-bar-dropdown-link": true,
|
|
14364
14432
|
[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
|
|
14365
14433
|
"duet-theme-turva": this.theme === "turva",
|
|
14366
|
-
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
14434
|
+
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '486173db589cdbf851d3a5dd9171990af84707bb', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("slot", { key: 'd284cabdff17ad2590e80ed02894fe87425507b0' }))));
|
|
14367
14435
|
}
|
|
14368
14436
|
get element() { return getElement(this); }
|
|
14369
14437
|
static get style() { return duetMenuBarDropdownLinkCss; }
|
|
@@ -14449,11 +14517,11 @@ class DuetMenuBarItem {
|
|
|
14449
14517
|
*/
|
|
14450
14518
|
render() {
|
|
14451
14519
|
const TagName = this.url ? "a" : "button";
|
|
14452
|
-
return (hAsync(Host, { key: '
|
|
14520
|
+
return (hAsync(Host, { key: 'd968cd5ac488d7cc0fea66408de412524dc88b35', role: "listitem" }, hAsync(TagName, { key: '143da0db925d6a45f69a6defcc0d96710d395cbf', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
14453
14521
|
"duet-menu-bar-item": true,
|
|
14454
14522
|
"duet-theme-turva": this.theme === "turva",
|
|
14455
14523
|
active: this.active,
|
|
14456
|
-
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: '
|
|
14524
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: '22ef7c16eb08f2a24bbd902c1e702103a8319621', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: '9560bccb8d749a945592866e33279c9e1686f9af' }), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: 'c152621621d193d9d80cc0984fe36d230a2b7a63', class: {
|
|
14457
14525
|
"trailing-icon": !!this.trailingIcon,
|
|
14458
14526
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
14459
14527
|
"external-icon": !!this.external,
|
|
@@ -14518,11 +14586,11 @@ class DuetMenuBarLink {
|
|
|
14518
14586
|
* Always the last one in the class.
|
|
14519
14587
|
*/
|
|
14520
14588
|
render() {
|
|
14521
|
-
return (hAsync(Host, { key: '
|
|
14589
|
+
return (hAsync(Host, { key: 'd150209d2395822ac0ba4b0d6372bdc0ba5532fd', role: "listitem" }, hAsync("a", { key: '46070813f893e645146a7ca8ea798fa455df11e9', class: {
|
|
14522
14590
|
"duet-menu-bar-link": true,
|
|
14523
14591
|
"duet-theme-turva": this.theme === "turva",
|
|
14524
14592
|
active: this.active,
|
|
14525
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
14593
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: 'bac5752b20258b49e6b3210f071578154de8d8d8', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: 'efec03fcc7a033a4f9df871a4a087d7c9a04a0e8' }))));
|
|
14526
14594
|
}
|
|
14527
14595
|
get element() { return getElement(this); }
|
|
14528
14596
|
static get style() { return duetMenuBarLinkCss; }
|
|
@@ -14708,9 +14776,18 @@ class DuetModal {
|
|
|
14708
14776
|
enableBodyScroll$1(this.variation === "slide-up" ? this.modalContentEl : this.modalEl);
|
|
14709
14777
|
this.duetClose.emit();
|
|
14710
14778
|
this.teleport.removeInertFromSiblings();
|
|
14711
|
-
|
|
14712
|
-
|
|
14713
|
-
|
|
14779
|
+
if (this.focusElementOnClose !== "") {
|
|
14780
|
+
setTimeout(() => {
|
|
14781
|
+
let focusEl = this.focusedElBeforeOpen;
|
|
14782
|
+
if (typeof this.focusElementOnClose === "string") {
|
|
14783
|
+
focusEl = document.getElementById(this.focusElementOnClose) || focusEl;
|
|
14784
|
+
}
|
|
14785
|
+
else {
|
|
14786
|
+
focusEl = this.focusElementOnClose || focusEl;
|
|
14787
|
+
}
|
|
14788
|
+
focusElement(focusEl);
|
|
14789
|
+
}, TRANSITION_MS);
|
|
14790
|
+
}
|
|
14714
14791
|
if (this.isAndroidDevice) {
|
|
14715
14792
|
window.removeEventListener("resize", this.handleAndroidResizeEvents);
|
|
14716
14793
|
}
|
|
@@ -14768,6 +14845,12 @@ class DuetModal {
|
|
|
14768
14845
|
async hide() {
|
|
14769
14846
|
this.open = false;
|
|
14770
14847
|
}
|
|
14848
|
+
/**
|
|
14849
|
+
* Set focus on the close button of the modal.
|
|
14850
|
+
*/
|
|
14851
|
+
async focusCloseButton() {
|
|
14852
|
+
this.buttonEl.setFocus();
|
|
14853
|
+
}
|
|
14771
14854
|
/**
|
|
14772
14855
|
* Scolls the top of the modal's content into view
|
|
14773
14856
|
*
|
|
@@ -14829,20 +14912,16 @@ class DuetModal {
|
|
|
14829
14912
|
*/
|
|
14830
14913
|
render() {
|
|
14831
14914
|
var _a, _b;
|
|
14832
|
-
|
|
14833
|
-
|
|
14834
|
-
const closingButton = (hAsync("div", { key: '
|
|
14835
|
-
|
|
14836
|
-
iconColor = "primary-turva";
|
|
14837
|
-
closeColor = "secondary-turva";
|
|
14838
|
-
}
|
|
14839
|
-
return (hAsync("div", { key: 'ff98af4d04d36b5967954bae9fad52d8a3c92af1', ref: modal => (this.modalEl = modal), "aria-label": (_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.heading, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-describedby": this.accessibleDescribedBy, role: this.variation === "loader" ? "alert" : "dialog", "aria-modal": this.isSafariBrowser ? false : true, tabindex: "-1", class: {
|
|
14915
|
+
const iconColor = postfixTheme("primary", this.theme);
|
|
14916
|
+
const closeColor = postfixTheme("secondary", this.theme);
|
|
14917
|
+
const closingButton = (hAsync("div", { key: '39d89598c50f59be771033542b474cc6b7e1df0b', class: "duet-modal-close" }, hAsync("duet-button", { key: 'b5c6f0c486eaa24d4c7747a839288562e63808bf', ref: button => (this.buttonEl = button), variation: "plain", accessibleLabel: this.accessibleCloseLabel, color: closeColor, iconSize: "large", icon: "navigation-close", iconOnly: true, margin: "none", theme: this.theme, onClick: ev => this.closeModal(ev), fixed: true })));
|
|
14918
|
+
return (hAsync("div", { key: '07de0b18de78d147afa8cdaeadc39c877cd32dca', ref: modal => (this.modalEl = modal), "aria-label": (_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.heading, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-describedby": this.accessibleDescribedBy, role: this.variation === "loader" ? "alert" : "dialog", "aria-modal": this.isSafariBrowser ? false : true, tabindex: "-1", class: {
|
|
14840
14919
|
"duet-modal-container": true,
|
|
14841
14920
|
"duet-theme-turva": this.theme === "turva",
|
|
14842
14921
|
"duet-modal-active": this.open,
|
|
14843
14922
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
14844
14923
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
14845
|
-
} }, hAsync("duet-overlay", { key: '
|
|
14924
|
+
} }, hAsync("duet-overlay", { key: '08d67fe06635ffce14ed2151c9b7211740f5366f', "z-index": "-1", visible: this.open, variation: this.variation === "loader" ? "white" : "default" }), hAsync("div", { key: '83d7365182d8a008dbceca7d19d5f110d4e3e39a', ref: modalInner => (this.modalInnerEl = modalInner), class: {
|
|
14846
14925
|
"duet-modal-inner": true,
|
|
14847
14926
|
[this.size]: true,
|
|
14848
14927
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
@@ -14853,18 +14932,22 @@ class DuetModal {
|
|
|
14853
14932
|
this.closeModal(e);
|
|
14854
14933
|
}
|
|
14855
14934
|
}
|
|
14856
|
-
} }, hAsync("div", { key: '
|
|
14935
|
+
} }, hAsync("div", { key: '926f82204442851d8fa4d3b83c49fa1b3e0970f0', ref: modalContentEl => (this.modalContentEl = modalContentEl), "aria-live": this.accessibleAnnounceChanges === "all" ? "polite" : null, "aria-atomic": this.accessibleAnnounceChanges === "all" ? "true" : null, class: {
|
|
14857
14936
|
"duet-modal": true,
|
|
14858
14937
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
14859
14938
|
[this.size]: true,
|
|
14860
14939
|
[this.variation]: true,
|
|
14861
|
-
} }, this.gutterSize !== "none" && !this.hasStickyHeader && hAsync("duet-spacer", { key: '
|
|
14940
|
+
} }, this.gutterSize !== "none" && !this.hasStickyHeader && hAsync("duet-spacer", { key: 'b1b6c5d0fab63540a89c585e09db2044a9944957' }), this.hasStickyHeader ? (hAsync("div", { class: "duet-modal-sticky-header" }, closingButton, hAsync("slot", { name: "sticky-header" }))) : (closingButton), hAsync("div", { key: '55e0891ac4dc8e5eaebd53740ccc2afb4759c45c', class: {
|
|
14862
14941
|
"duet-modal-body": true,
|
|
14863
14942
|
"duet-modal-gutter-none": this.gutterSize === "none",
|
|
14864
14943
|
"duet-modal-gutter-small": this.gutterSize === "small",
|
|
14865
14944
|
"duet-modal-gutter-medium": this.gutterSize === "medium",
|
|
14866
14945
|
"duet-modal-gutter-large": this.gutterSize === "large",
|
|
14867
|
-
} }, hAsync("div", { key: '
|
|
14946
|
+
}, "aria-live": this.accessibleAnnounceChanges === "heading" ? "polite" : null, "aria-atomic": this.accessibleAnnounceChanges === "heading" ? "true" : null }, hAsync("div", { key: '1cab42f970d7b12c6684ac63e37324516180d168', class: "duet-modal-header" }, hAsync("span", { key: 'a3e9c69a6eb8ebcc8e0cbb282e14438c20153f7c', class: "duet-modal-inner-slot-top" }, hAsync("slot", { key: 'b719c6a7ae968b6687f259d061ec414326ad9301', name: "top" })), this.icon && hAsync("duet-icon", { key: '378d48739073800b81634af0441e5b82013df9a6', name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (hAsync("duet-heading", { key: '8052f57a3d06363e38bcf748d81e37ec8d9e7928', "visual-level": (_b = this.headingVisualLevel) !== null && _b !== void 0 ? _b : this.headingLevel, level: this.headingLevel, theme: this.theme }, this.heading))), this.variation === "loader" && (hAsync("div", { key: 'c98e91827794451431e8f875994446ee09d5bd9f', class: "duet-modal-spinner" }, hAsync("duet-spinner", { key: '08f09524dd18e633063e5a5ac5fced5103610d7d', size: "large", color: postfixTheme("primary", this.theme) }))), hAsync("div", { key: 'b237e8483fd62056b4f99507a78580983b1135a8', "aria-live": this.variation === "loader"
|
|
14947
|
+
? "assertive"
|
|
14948
|
+
: this.accessibleAnnounceChanges === "body"
|
|
14949
|
+
? "polite"
|
|
14950
|
+
: null, "aria-atomic": this.accessibleAnnounceChanges === "body" ? "true" : null, class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el) }, hAsync("slot", { key: 'f9ed9945e262cbb20ff4c51d1a2e67329eae9a5e' })))))));
|
|
14868
14951
|
}
|
|
14869
14952
|
get element() { return getElement(this); }
|
|
14870
14953
|
static get watchers() { return {
|
|
@@ -14895,9 +14978,12 @@ class DuetModal {
|
|
|
14895
14978
|
"color": [1],
|
|
14896
14979
|
"active": [1540],
|
|
14897
14980
|
"closeOnBlur": [1028, "close-on-blur"],
|
|
14981
|
+
"focusElementOnClose": [1, "focus-element-on-close"],
|
|
14982
|
+
"accessibleAnnounceChanges": [1, "accessible-announce-changes"],
|
|
14898
14983
|
"open": [32],
|
|
14899
14984
|
"show": [64],
|
|
14900
14985
|
"hide": [64],
|
|
14986
|
+
"focusCloseButton": [64],
|
|
14901
14987
|
"scrollToTop": [64],
|
|
14902
14988
|
"addMessage": [64]
|
|
14903
14989
|
},
|
|
@@ -15268,7 +15354,7 @@ class DuetNav {
|
|
|
15268
15354
|
* Always the last one in the class.
|
|
15269
15355
|
*/
|
|
15270
15356
|
render() {
|
|
15271
|
-
return (hAsync(Host, { key: '
|
|
15357
|
+
return (hAsync(Host, { key: 'fff23e9c9f994ed80cebebdf7bb16d05a0b13281' }, hAsync("div", { key: 'bf9f4a0d164a27073a8f3be2fc14e7f14f39e479', class: { container: true, sticky: this.sticky } }, hAsync("slot", { key: '4fa7cc506db4c4b6fa9ff5219ba7b7e56107a8da' }), hAsync("slot", { key: 'e9e8c0e724f76feb3aa320207f5a3ef7a7ab5ac9', name: "mobile" }), hAsync("slot", { key: '49e37c33533e3ba9c733660c0420d85a3a63e80f', name: "desktop" }))));
|
|
15272
15358
|
}
|
|
15273
15359
|
get element() { return getElement(this); }
|
|
15274
15360
|
static get style() { return duetNavCss; }
|
|
@@ -15355,11 +15441,11 @@ class DuetNotification {
|
|
|
15355
15441
|
this.linkElement.focus(options);
|
|
15356
15442
|
}
|
|
15357
15443
|
render() {
|
|
15358
|
-
return (hAsync("div", { key: '
|
|
15444
|
+
return (hAsync("div", { key: '16098cf5ca86dd0bd72d9429d1e78557246f850b', role: "listitem", class: {
|
|
15359
15445
|
"duet-notification": true,
|
|
15360
15446
|
"duet-notification-highlight": this.highlight,
|
|
15361
15447
|
"duet-theme-turva": this.theme === "turva",
|
|
15362
|
-
} }, hAsync("a", { key: '
|
|
15448
|
+
} }, hAsync("a", { key: '440018559e85d3ae11cde70edbaa3848cb453995', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, hAsync("div", { key: '6b14d618dda184d06f059b1a3acf99e38e5c17f3', class: "duet-notification-container" }, hAsync("div", { key: 'f65f90dc005eb72c52335cc5c8ca39bffdd88c8a', class: "duet-notification-badge-container" }, this.highlight && (hAsync("div", { key: '7e64283158dd4015c8f676f6ee03efe2cefae043', class: "duet-notification-badge" }, hAsync("duet-visually-hidden", { key: 'c306ae4dc490d35c8aff9259ba3fdf182a5f7e00' }, this.accessibleLabelUnread, ":")))), hAsync("div", { key: '444db9cd85d2dab3181834ba371e1d01f2e6b596', class: "duet-notification-content" }, hAsync("slot", { key: 'efebf98a71ddb109a1bf26729ca0365a624e9f18' })), hAsync("div", { key: 'e9dd7f7817e9e5fd06f38c33225d0821db760cd4', class: "duet-notification-date" }, this.date)))));
|
|
15363
15449
|
}
|
|
15364
15450
|
get element() { return getElement(this); }
|
|
15365
15451
|
static get style() { return duetNotificationCss; }
|
|
@@ -15677,7 +15763,8 @@ class DuetNumberInput {
|
|
|
15677
15763
|
sv: "{current} euro valt",
|
|
15678
15764
|
};
|
|
15679
15765
|
/**
|
|
15680
|
-
* Format of message used to announce current amount when switching between amounts.
|
|
15766
|
+
* Format of message used to announce current amount when switching between amounts. Note that the default has "euros"
|
|
15767
|
+
* so if you use another unit is is essential you set this attribute to reflect that unit.
|
|
15681
15768
|
* The string {current} is replaced with the current amount.
|
|
15682
15769
|
* @default {fi: "{current} euroa valittuna", en: "{current} euros selected", sv: "{current} valda euro"}
|
|
15683
15770
|
*/
|
|
@@ -15895,7 +15982,7 @@ class DuetNumberInput {
|
|
|
15895
15982
|
// Set the localized prop value.
|
|
15896
15983
|
this.value = this.localizeValue(value);
|
|
15897
15984
|
// Finally also set the visible input value and unit.
|
|
15898
|
-
this.duetInputElement.value = `${this.value}
|
|
15985
|
+
this.duetInputElement.value = `${this.value}${this.getUnitString()}`;
|
|
15899
15986
|
};
|
|
15900
15987
|
this.add = (ev) => {
|
|
15901
15988
|
// If this was called via a html button, prevent the default functionality
|
|
@@ -15992,6 +16079,10 @@ class DuetNumberInput {
|
|
|
15992
16079
|
this.emitNull(ev);
|
|
15993
16080
|
}
|
|
15994
16081
|
}
|
|
16082
|
+
// prefix existing unit with white space or return empty string if no unit
|
|
16083
|
+
getUnitString() {
|
|
16084
|
+
return this.unit ? ` ${this.unit}` : "";
|
|
16085
|
+
}
|
|
15995
16086
|
formatAnnouncement() {
|
|
15996
16087
|
const current = !!this.value ? SafeParseFloat(this.value, this.locale) : null;
|
|
15997
16088
|
if (current == null) {
|
|
@@ -16005,13 +16096,13 @@ class DuetNumberInput {
|
|
|
16005
16096
|
*/
|
|
16006
16097
|
render() {
|
|
16007
16098
|
const identifier = this.identifier || this.inputId;
|
|
16008
|
-
const maxlength = `${this.localizeValue(this.max)}
|
|
16099
|
+
const maxlength = `${this.localizeValue(this.max)}${this.getUnitString()}`.length;
|
|
16009
16100
|
const cleanedValue = !!this.value ? SafeParseFloat(this.value, this.locale) : null;
|
|
16010
|
-
return (hAsync(Host, { key: '
|
|
16101
|
+
return (hAsync(Host, { key: 'ff7a3b099b6146f8db869268ecc2609fefa88ca6', class: {
|
|
16011
16102
|
"duet-theme-turva": this.theme === "turva",
|
|
16012
16103
|
"duet-expand": this.expand,
|
|
16013
16104
|
"duet-m-0": this.margin === "none",
|
|
16014
|
-
} }, hAsync("div", { key: '
|
|
16105
|
+
} }, hAsync("div", { key: '04d204f9d0dc1bf334606a101b0b4b5e165d36a3', class: "duet-number-container" }, hAsync("duet-input", { key: '464c323e615b8978944cdeec09e0e1a1503391a0', ref: input => (this.duetInputElement = input), onDuetChange: event => this.handleChange(event), onDuetFocus: this.handleFocus, onDuetBlur: event => this.handleBlur(event), onKeyDown: event => this.handleKeyDown(event), label: this.label, value: this.value ? `${this.value}${this.getUnitString()}` : "", error: this.error, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": cleanedValue != null ? cleanedValue : "", maxlength: maxlength, name: this.name, component: "number", required: this.required, disabled: this.disabled, role: this.role, labelHidden: this.labelHidden, tooltip: this.tooltip, identifier: identifier, theme: this.theme, margin: "none", expand: true, numericKeyboard: true, autoComplete: "off", type: "text", accessibleActiveDescendant: this.accessibleActiveDescendant, accessibleLabelledBy: this.accessibleLabelledBy, accessibleDescription: this.accessibleDescription, accessibleDetails: this.accessibleDetails, accessibleControls: this.accessibleControls, accessibleOwns: this.accessibleOwns, accessibleDescribedBy: this.accessibleDescribedBy }, hAsync("slot", { key: '876fa9e487574bd143648c8649105ac9f5972829', name: "tooltip" }), hAsync("div", { key: '60053c4b4c4602d494693804539eff2149fe2a64', class: { "duet-number-buttons": true, "duet-no-label": this.labelHidden } }, hAsync("button", { key: '083dc0860543ddc7e2532620e345ad9d8d163d13', disabled: this.disabled, "aria-disabled": cleanedValue == null || cleanedValue === this.min ? "true" : "false", class: "duet-number-button duet-number-button-subtract", onClick: this.subtract, type: "button" }, hAsync("duet-visually-hidden", { key: '5323ecaf1f86fa97f9267b70bc048dadcca7d34f' }, this.accessibleSubtract, " ", this.step), hAsync("duet-icon", { key: 'd6ab1819fe4c96d6e379570c5a5c4eb41a1a775f', icon: subtractIcon.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })), hAsync("button", { key: '82b9a72bfeba3653c85f853c2e9d295d146b2152', disabled: this.disabled, "aria-disabled": cleanedValue === this.max ? "true" : "false", class: "duet-number-button duet-number-button-add", onClick: this.add, type: "button" }, hAsync("duet-visually-hidden", { key: '697550e4c1f874401d2e17f60c6c4f324fc97bd8' }, this.accessibleAdd, " ", this.step), hAsync("duet-icon", { key: '7947d70d3a48a3ea7e36a46aa79c6abc82d52565', icon: addIcon.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })))), this.accessibleLiveEnabled && (hAsync("duet-visually-hidden", { key: '0759711664742966c214cb765c179706affc7b2f', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement())))));
|
|
16015
16106
|
}
|
|
16016
16107
|
get element() { return getElement(this); }
|
|
16017
16108
|
static get style() { return duetNumberInputCss; }
|
|
@@ -16201,12 +16292,12 @@ class DuetPageHeading {
|
|
|
16201
16292
|
*/
|
|
16202
16293
|
render() {
|
|
16203
16294
|
const layout = this.layout === "narrow" ? "narrow" : this.layout === "fluid" ? "fluid" : "auto";
|
|
16204
|
-
return (hAsync("div", { key: '
|
|
16295
|
+
return (hAsync("div", { key: '7580ec6ad47222aa71f87e9b030152fcbc230a6c', class: {
|
|
16205
16296
|
"duet-page-heading": true,
|
|
16206
16297
|
"duet-theme-turva": this.theme === "turva",
|
|
16207
16298
|
"has-icon": !!this.icon,
|
|
16208
16299
|
[layout]: true,
|
|
16209
|
-
} }, hAsync("div", { key: '
|
|
16300
|
+
} }, hAsync("div", { key: '41d70adffe75142d1bb229064c284c6b6ce447e7', class: "background" }, this.theme === "turva" && hAsync("div", { key: '44a17513b00dfec52ee689008fec882a083d467f', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: 'd9d50fca7431f9d49058030b51b5548e4db8af04', class: "brand-shape" }), this.theme !== "turva" && hAsync("div", { key: '1b93a6948bf23c1bc9bc7dafa64b6df7eea10a91', class: "brand-shape second-shape" }), this.icon && (hAsync("div", { key: '4007f3e9d29cbfd246dc8ae43074ef7ea53fd694', class: "brand-shaped-icon" }, hAsync("duet-icon", { key: 'efe66977b0559e745a17e6da691f8390af017c56', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), hAsync("div", { key: '50070a51cbd61ddcd380063f9635cfb9edbb8b24', class: "heading" }, hAsync("slot", { key: '1ae7e6e3261bb8dd1104bc47b1b87142a5f1cfdd', name: "heading" }), this.progressCurrentStep && this.progressTotalSteps && (hAsync("div", { key: '01bf2c3472defbd1a7fe6c0af2b9cb4cc99185db' }, hAsync("duet-spacer", { key: '723e327a2c3913b0e130d4326a163e326e57eaf4', size: "large" }), hAsync("div", { key: '0bb28f56e6b92b7990467fcca1a16a0893380ce1', role: "presentation" }, this.progressIndicator()))))));
|
|
16210
16301
|
}
|
|
16211
16302
|
get element() { return getElement(this); }
|
|
16212
16303
|
static get style() { return duetPageHeadingCss; }
|
|
@@ -16680,6 +16771,67 @@ class DuetPagination {
|
|
|
16680
16771
|
}; }
|
|
16681
16772
|
}
|
|
16682
16773
|
|
|
16774
|
+
const duetPanelCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%;margin:8px 0 20px 0}@media (min-width: 36em){:host{margin:12px 0 28px 0}}:host .duet-m-0{margin:0 !important}.duet-panel{font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(8, 42, 77);background-color:rgb(255, 255, 255);border:0 solid rgb(212, 223, 229);border-radius:16px}.duet-panel.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);border-color:rgb(222, 224, 228)}.duet-panel.padding-small{padding:16px;border-radius:12px}@media (min-width: 36em){.duet-panel.padding-small{padding:20px}}.duet-panel.padding-medium{padding:20px}@media (min-width: 36em){.duet-panel.padding-medium{padding:28px}}.duet-panel.padding-large{padding:28px}@media (min-width: 36em){.duet-panel.padding-large{padding:36px}}.duet-panel.border{border-width:1px}.duet-panel.secondary{background-color:rgb(245, 248, 250)}.duet-panel.secondary.duet-theme-turva{background-color:rgb(245, 247, 250)}.duet-panel.accent{background-color:rgb(240, 247, 250);border-color:rgb(198, 225, 238)}.duet-panel.accent.duet-theme-turva{background-color:rgb(245, 247, 250);border-color:rgb(199, 202, 207)}.duet-panel.accent.secondary{background-color:rgb(217, 236, 245)}.duet-panel.accent.secondary.duet-theme-turva{background-color:rgb(222, 224, 228)}:host(.duet-theme-turva2) .duet-panel.duet-theme-turva{color:#172a3b;border-color:#d4dde2}:host(.duet-theme-turva2) .duet-panel.duet-theme-turva.secondary{background-color:#f5f6f7}:host(.duet-theme-turva2) .duet-panel.duet-theme-turva.accent{background-color:#fdf7f2;border-color:#f1cab2}:host(.duet-theme-turva2) .duet-panel.duet-theme-turva.accent.secondary{background-color:#fbe1d1}";
|
|
16775
|
+
|
|
16776
|
+
class DuetPanel {
|
|
16777
|
+
constructor(hostRef) {
|
|
16778
|
+
registerInstance(this, hostRef);
|
|
16779
|
+
/**
|
|
16780
|
+
* Theme of the panel.
|
|
16781
|
+
*/
|
|
16782
|
+
this.theme = "";
|
|
16783
|
+
/**
|
|
16784
|
+
* Controls the padding of the component. Padding is automatically responsive.
|
|
16785
|
+
*/
|
|
16786
|
+
this.padding = "medium";
|
|
16787
|
+
/**
|
|
16788
|
+
* The color variation of the panel. Combination of palette ("default", "accent") and palette variation ("primary",
|
|
16789
|
+
* "secondary"). You can ommit "default" and "primary" - they are the defaults.
|
|
16790
|
+
*/
|
|
16791
|
+
this.variation = "";
|
|
16792
|
+
/**
|
|
16793
|
+
* Controls the margin of the component.
|
|
16794
|
+
*/
|
|
16795
|
+
this.margin = "auto";
|
|
16796
|
+
}
|
|
16797
|
+
/**
|
|
16798
|
+
* Component lifecycle events.
|
|
16799
|
+
*/
|
|
16800
|
+
componentWillLoad() {
|
|
16801
|
+
inheritGlobalTheme(this);
|
|
16802
|
+
}
|
|
16803
|
+
render() {
|
|
16804
|
+
return (hAsync(Host, { key: 'ce2c9ad02ea4b482491120c4564322a7ab1b97c8' }, hAsync("section", { key: '058ae2c34b915888645f0a0fbce8c905f9a99330', "aria-label": this.accessibleLabel, "aria-labelledby": this.accessibleLabelledBy, "aria-describedby": this.accessibleDescribedBy, class: {
|
|
16805
|
+
"duet-panel": true,
|
|
16806
|
+
"duet-theme-turva": this.theme === "turva",
|
|
16807
|
+
[this.variation.split("-")[0]]: true,
|
|
16808
|
+
[this.variation.split("-")[1]]: true,
|
|
16809
|
+
[`padding-${this.padding}`]: true,
|
|
16810
|
+
border: this.border,
|
|
16811
|
+
"duet-m-0": this.margin === "none",
|
|
16812
|
+
} }, hAsync("slot", { key: 'eabfa138724309e78227fb8e48507a2a065c5822' }))));
|
|
16813
|
+
}
|
|
16814
|
+
get element() { return getElement(this); }
|
|
16815
|
+
static get style() { return duetPanelCss; }
|
|
16816
|
+
static get cmpMeta() { return {
|
|
16817
|
+
"$flags$": 265,
|
|
16818
|
+
"$tagName$": "duet-panel",
|
|
16819
|
+
"$members$": {
|
|
16820
|
+
"theme": [1025],
|
|
16821
|
+
"padding": [1],
|
|
16822
|
+
"variation": [1],
|
|
16823
|
+
"margin": [1],
|
|
16824
|
+
"border": [4],
|
|
16825
|
+
"accessibleLabel": [1, "accessible-label"],
|
|
16826
|
+
"accessibleLabelledBy": [1, "accessible-labelled-by"],
|
|
16827
|
+
"accessibleDescribedBy": [1, "accessible-described-by"]
|
|
16828
|
+
},
|
|
16829
|
+
"$listeners$": undefined,
|
|
16830
|
+
"$lazyBundleId$": "-",
|
|
16831
|
+
"$attrsToReflect$": []
|
|
16832
|
+
}; }
|
|
16833
|
+
}
|
|
16834
|
+
|
|
16683
16835
|
const duetParagraphCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}.duet-paragraph{margin-bottom:16px !important;display:block;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-style:normal;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(8, 42, 77)}.duet-paragraph.duet-p-0{padding:0 !important}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.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-paragraph.duet-paragraph-small{font-size:0.875rem}.duet-paragraph.duet-paragraph-semi-bold{font-weight:600}.duet-paragraph.duet-paragraph-bold{font-weight:700}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.intro{font-size:2.7vw;margin-bottom:28px !important;-webkit-hyphens:inherit;hyphens:inherit}@media (max-width: 37.037037037rem){.duet-paragraph.intro{font-size:1rem}}@media (min-width: 46.2962962963rem){.duet-paragraph.intro{font-size:1.25rem}}.duet-paragraph.intro.duet-m-0{margin:0 !important}::slotted(a){font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;font-weight:400;color:rgb(0, 119, 179);text-decoration:underline;transition:300ms ease}::slotted(a).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(198, 12, 48)}::slotted(a):hover{color:rgb(0, 75, 129);text-decoration:none}::slotted(a):hover.duet-theme-turva{color:rgb(126, 2, 35)}::slotted(a):active{opacity:0.75;transition:none}:host(.duet-theme-turva2) .duet-paragraph.duet-theme-turva{color:#172a3b}:host(.duet-theme-turva2) ::slotted(a).duet-theme-turva{color:#e61740}:host(.duet-theme-turva2) ::slotted(a:hover).duet-theme-turva{color:#8c001e}";
|
|
16684
16836
|
|
|
16685
16837
|
/**
|
|
@@ -16729,7 +16881,7 @@ class DuetParagraph {
|
|
|
16729
16881
|
const color = getColorByName(this.color);
|
|
16730
16882
|
// aria-describedby is to fix accessibility issue in Chrome where duet-paragraphs
|
|
16731
16883
|
// are not announced when placed inside duet-modal
|
|
16732
|
-
return (hAsync(Host, { key: '
|
|
16884
|
+
return (hAsync(Host, { key: '844328a8133f4abbbbd2424b38cc14b019fd23d4', "aria-describedby": this.id }, hAsync("p", { key: 'dfd78aa829ee142323997f6bebde60ac47bb98e7', id: this.id, class: {
|
|
16733
16885
|
"duet-paragraph": true,
|
|
16734
16886
|
"duet-paragraph-small": this.size === "small",
|
|
16735
16887
|
"duet-paragraph-semi-bold": this.weight === "semi-bold",
|
|
@@ -16737,7 +16889,7 @@ class DuetParagraph {
|
|
|
16737
16889
|
"duet-m-0": this.margin === "none",
|
|
16738
16890
|
[this.variation]: true,
|
|
16739
16891
|
"duet-theme-turva": this.theme === "turva",
|
|
16740
|
-
}, style: { color }, part: "duet-paragraph" }, hAsync("slot", { key: '
|
|
16892
|
+
}, style: { color }, part: "duet-paragraph" }, hAsync("slot", { key: 'f014b5496f1b791cc2879b09bd12dd85649fb0e3' }))));
|
|
16741
16893
|
}
|
|
16742
16894
|
get element() { return getElement(this); }
|
|
16743
16895
|
static get style() { return duetParagraphCss; }
|
|
@@ -20717,11 +20869,11 @@ class DuetPopupMenuItem {
|
|
|
20717
20869
|
};
|
|
20718
20870
|
// Without the role ternary Safari/iPhone wouldn't announce the label for role menuitem.
|
|
20719
20871
|
// This is a tradeoff and now Safari announces these items as buttons and links with the label.
|
|
20720
|
-
return (hAsync(Host, { key: '
|
|
20872
|
+
return (hAsync(Host, { key: '8e31b4732e423f363115f217c220217f85a3899a', role: this.accessibleRole === "menuitem" && this.isSafariBrowser ? null : this.accessibleRole }, hAsync(TagName, { key: '4c9a0b3966b5b11b3f8286fdc7bbe83ce93f5df9', ref: element => (this.itemElement = element), tabIndex: this.accessibleRole === "listitem" ? 0 : -1, onFocus: this.onFocus, onBlur: this.onBlur, role: `${TagName === "a" ? "link" : "button"}`, "aria-label": this.accessibleLabel, class: classes, value: this.value, href: this.url, target: this.external ? "_blank" : undefined, rel: this.external ? "noopener" : undefined, lang: TagName === "button" ? undefined : this.targetLanguage, hreflang: TagName === "button" ? undefined : this.targetLanguage }, this.leadingIcon && (hAsync("duet-icon", { key: 'decd1fdc669965de735b9538d8256ea34b7d12b7', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), hAsync("span", { key: 'bd28f3d116506e2168fc3e5530d086fa0dd0edcd', class: "duet-popup-menu-item-label" }, hAsync("slot", { key: '0aebe6bcf50f8fbbd7d89bbdc0c4f484f67adb6d' })), (this.trailingIcon || this.active || (this.url && this.external)) && (hAsync("duet-icon", { key: '616a80b13b29eb90f003a163bbcded07a551b58c', name: this.url && this.external
|
|
20721
20873
|
? newWindowIcon.title
|
|
20722
20874
|
: this.active
|
|
20723
20875
|
? "messaging-checked-small"
|
|
20724
|
-
: this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && hAsync("span", { key: '
|
|
20876
|
+
: this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && hAsync("span", { key: '74e587e4cc5c0c431f068bb7974ee8c385cf4259', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
|
|
20725
20877
|
}
|
|
20726
20878
|
get element() { return getElement(this); }
|
|
20727
20879
|
static get style() { return duetPopupMenuItemCss; }
|
|
@@ -20913,12 +21065,12 @@ class DuetPromoCard {
|
|
|
20913
21065
|
backgroundColor: backgroundColor ? backgroundColor : "none",
|
|
20914
21066
|
};
|
|
20915
21067
|
const TagName = this.url ? "a" : "div";
|
|
20916
|
-
return (hAsync(Host, { key: '
|
|
21068
|
+
return (hAsync(Host, { key: '427288a23a020a8ba83d29535a990685e56136cd', class: { "duet-m-0": this.margin === "none" } }, hAsync("aside", { key: 'b34e5beb86c428cf1d23c252c9867d8109fa28c9', class: {
|
|
20917
21069
|
"duet-promo-card": true,
|
|
20918
21070
|
"duet-theme-turva": this.theme === "turva",
|
|
20919
21071
|
"no-bg-color": !this.backgroundColor,
|
|
20920
21072
|
"duet-promo-card-link": !!this.url,
|
|
20921
|
-
}, style: bannerStyles }, hAsync(TagName, { key: '
|
|
21073
|
+
}, style: bannerStyles }, hAsync(TagName, { key: '3d17bf1dc1fa3bc580ef7feb08e1d749dafaec34', href: this.url, class: "content-wrapper", ref: element => (this.aOrDivElement = element) }, hAsync("img", { key: 'ba518b8e4449f267ebef440bed06ebb1349d90c5', class: "image", src: this.image, alt: "", role: "presentation" }), hAsync("div", { key: '638d94d31bb60bec7019ed852f70269f73241d7e', class: "content" }, this.hasPreHeadingSlot && (hAsync("div", { key: '08e8bb35ced5d1f6fc9a442c017e96f3294c3341', class: "pre-heading" }, hAsync("slot", { key: '3cc1c6bcaeea2e811bf8984b0574cc7086e997c3', name: "pre-heading" }))), this.hasHeadingSlot && (hAsync("div", { key: 'edfb7d324d0d5f68392b7b4b2386183cad567698', class: "heading" }, hAsync("duet-heading", { key: '57820fcebf0e3c172c232611843679bb47e41e61', theme: this.theme, level: this.headingLevel, "visual-level": "h3", margin: "none", color: postfixTheme(this.textColor, this.theme) }, hAsync("span", { key: 'e2b7014be3e8d44f00a418f76e1f9959a783e9e6' }, hAsync("slot", { key: '094c582e2f0dfc6055563892bfa02dd9d5de4261', name: "heading" }))))), this.hasDescriptionSlot && (hAsync("div", { key: '2af2637554173d2c40ad28bee0e589b6dc92a19c', class: "description" }, hAsync("duet-paragraph", { key: 'f9a47265148a494e1803f5493ab359cfe4abb895', theme: this.theme, margin: "none", color: postfixTheme(this.textColor, this.theme) }, hAsync("span", { key: '42af2e9a0d151bb22d303f453d481bb69891746c' }, hAsync("slot", { key: '3a4173db824f27939a8abc88124a8751d10cbc71', name: "description" }))))), this.hasActionSlot && (hAsync("div", { key: '59a84926d8d346d724980bef00e42a48a44574d1', class: "action" }, hAsync("slot", { key: '52109f0d34365be7e7fe8ec5091ee5ddc5c83bce', name: "action" }))))))));
|
|
20922
21074
|
}
|
|
20923
21075
|
get element() { return getElement(this); }
|
|
20924
21076
|
static get style() { return duetPromoCardCss; }
|
|
@@ -21124,16 +21276,16 @@ class DuetRadio {
|
|
|
21124
21276
|
* Always the last one in the class.
|
|
21125
21277
|
*/
|
|
21126
21278
|
render() {
|
|
21127
|
-
return (hAsync(Host, { key: '
|
|
21279
|
+
return (hAsync(Host, { key: '173f8f9bee06f6f1fce187b223c661a737e724a5', onClick: this.onClick, class: {
|
|
21128
21280
|
horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
|
|
21129
21281
|
"horizontal-responsive": this.groupDirection === "horizontal" && this.groupResponsive,
|
|
21130
21282
|
"duet-m-0": this.margin === "none",
|
|
21131
|
-
} }, hAsync("div", { key: '
|
|
21283
|
+
} }, hAsync("div", { key: 'c234b7ed5eb36bcce5c89ebe92b3347245136267', class: { "duet-radio-container": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("slot", { key: '064045eefce1bcd83621abeba85129b345867a9e', name: "input" }), hAsync("label", { key: '28efb57846fef34d8be372c9d9ac351120efa58d', inert: true, ref: element => (this.labelElement = element), class: {
|
|
21132
21284
|
"duet-label": true,
|
|
21133
21285
|
checked: this.checked,
|
|
21134
21286
|
focus: this.focus,
|
|
21135
21287
|
disabled: this.disabled || this.groupDisabled,
|
|
21136
|
-
} }, hAsync("div", { key: '
|
|
21288
|
+
} }, hAsync("div", { key: '1f6a2376b2c34c7f5479eac3817b3f3c92b7ca42', class: "duet-label-content" }, this.hasLabel ? hAsync("slot", { name: "label" }) : this.label)))));
|
|
21137
21289
|
}
|
|
21138
21290
|
get element() { return getElement(this); }
|
|
21139
21291
|
static get style() { return duetRadioCss; }
|
|
@@ -21328,7 +21480,7 @@ class DuetRadioGroup {
|
|
|
21328
21480
|
* Always the last one in the class.
|
|
21329
21481
|
*/
|
|
21330
21482
|
render() {
|
|
21331
|
-
return (hAsync(Host, { key: '
|
|
21483
|
+
return (hAsync(Host, { key: 'b39897a5768066e81309d63d7f5c75c1c2eecfef', onDuetChange: this.onSelect, class: { horizontal: this.direction === "horizontal" } }, hAsync("duet-fieldset", { key: 'f26a8ac391a951b87e2015bfa3ffcfe63bc3f8c8', label: this.label, labelHidden: this.labelHidden, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (hAsync("duet-tooltip", { key: '2c5bd82fbd17c3c959ee697de49ebc79382b08fd', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: 'ac3c4bc22b28dfb4e75d7ee646433f0dc54fd1cf', name: "tooltip" }), hAsync("div", { key: '8eb867559bf7ad38008c675aea68ed32f4b1f78d', class: { "duet-radio-group": true, "duet-no-stacking": !this.responsive } }, hAsync("slot", { key: 'b7c150d9ed7e6643a158032e3d110576358d14e2' })))));
|
|
21332
21484
|
}
|
|
21333
21485
|
get element() { return getElement(this); }
|
|
21334
21486
|
static get watchers() { return {
|
|
@@ -21516,13 +21668,13 @@ class DuetRangeSlider {
|
|
|
21516
21668
|
const rangeStyles = {
|
|
21517
21669
|
background: `-webkit-linear-gradient(left,${active} 0%,${active} ${percentage}%,${inactive} ${percentage}%)`,
|
|
21518
21670
|
};
|
|
21519
|
-
return (hAsync(Host, { key: '
|
|
21671
|
+
return (hAsync(Host, { key: '8ae2f8b801002f2d7f36a1f6f2c5d9de5e52d480', class: { "duet-m-0": this.margin === "none", "duet-expand": this.expand } }, hAsync("div", { key: '3faa6f6b699d012b9d6ff43f0f5255dee1842fe8', class: {
|
|
21520
21672
|
"duet-range-container": true,
|
|
21521
21673
|
"duet-label-hidden": this.labelHidden,
|
|
21522
21674
|
"duet-theme-turva": this.theme === "turva",
|
|
21523
21675
|
"duet-ie": isInternetExplorer(),
|
|
21524
21676
|
"duet-range-disabled": this.disabled,
|
|
21525
|
-
} }, hAsync(DuetInternalLabel, { key: '
|
|
21677
|
+
} }, hAsync(DuetInternalLabel, { key: '330e765a6f42437f0ec80c8fd12f02aa9c8f564d', theme: theme, color: this.labelColor, weight: this.labelWeight, margin: "small", for: identifier }, this.label), hAsync("output", { key: '91a85bd1d5816c694a32882bbe3bce178afe76ba', "aria-hidden": "true", htmlFor: identifier, class: "duet-output" }, this.value.toLocaleString(this.locale), this.unit), hAsync("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" }))));
|
|
21526
21678
|
}
|
|
21527
21679
|
get element() { return getElement(this); }
|
|
21528
21680
|
static get style() { return duetRangeSliderCss; }
|
|
@@ -21751,10 +21903,10 @@ class DuetRangeStepper {
|
|
|
21751
21903
|
* Always the last one in the class.
|
|
21752
21904
|
*/
|
|
21753
21905
|
render() {
|
|
21754
|
-
return (hAsync("div", { key: '
|
|
21906
|
+
return (hAsync("div", { key: '1b5b22965b01d2a7ae85b7339ee8645f8349f4b6', class: {
|
|
21755
21907
|
"duet-range-stepper": true,
|
|
21756
21908
|
"duet-theme-turva": this.theme === "turva",
|
|
21757
|
-
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, hAsync("span", { key: '
|
|
21909
|
+
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, hAsync("span", { key: '54b38991bc5f22f1834a911aab5adcb3f5564728', class: "duet-range-step-counter", part: "range-numbers" }, this.generateStepSize()), hAsync("duet-action-button", { key: '1f0e154e3dc32e14ebf7ec696182b11915045b5a', disabled: this.disabled || this.buttonLeftDisabled, class: "duet-range-step-button duet-range-step-minus", onClick: e => this.handleClick(e, -1), id: this.leftBn, "accessible-label": `${this.ariaLabels.previous_increment} ${this.generatePreviousIncrementLabel()}`, ref: el => (this.leftBnRef = el), part: "navigation-arrow", iconName: "action-arrow-left-small", title: "" }), hAsync("duet-action-button", { key: '2531345ee7783cc6b6c2e742abdf6240aea88bb9', disabled: this.disabled || this.buttonRightDisabled, class: "duet-range-step-button duet-range-step-plus", onClick: e => this.handleClick(e, 1), "accessible-label": `${this.ariaLabels.next_increment} ${this.generateNextIncrementLabel()}`, id: this.rightBn, ref: el => (this.rightBnRef = el), part: "navigation-arrow", iconName: "action-arrow-right-small", title: "" })));
|
|
21758
21910
|
}
|
|
21759
21911
|
get element() { return getElement(this); }
|
|
21760
21912
|
static get watchers() { return {
|
|
@@ -22046,18 +22198,18 @@ class DuetScrollable {
|
|
|
22046
22198
|
* Always the last one in the class.
|
|
22047
22199
|
*/
|
|
22048
22200
|
render() {
|
|
22049
|
-
return (hAsync(Host, { key: '
|
|
22201
|
+
return (hAsync(Host, { key: 'bc8b656d8f78f5f510d489faa85a4d2c4c15b913', class: {
|
|
22050
22202
|
"duet-theme-turva": this.theme === "turva",
|
|
22051
22203
|
"duet-theme-default": this.theme === "default",
|
|
22052
|
-
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: '
|
|
22204
|
+
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: '1964654ce6a29b231c13452ef75a6d7b5448da6e', class: {
|
|
22053
22205
|
collapse: true,
|
|
22054
22206
|
hide: !this.needsScrolling && !this.collapsed,
|
|
22055
|
-
} }, hAsync("duet-button", { key: '
|
|
22207
|
+
} }, hAsync("duet-button", { key: '338e3a03214db233166699f2ed53f24a401113d8', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, hAsync("slot", { key: '574284b5aff3e856c4d752e5fea30b66a30b144d', name: "collapse-button-label" })))), hAsync("div", { key: '8c4f8d877a2eb1bea136563524830c43a8a6e4ab', class: {
|
|
22056
22208
|
"duet-scrollable-items": true,
|
|
22057
22209
|
buttons: this.buttons,
|
|
22058
22210
|
center: this.center,
|
|
22059
22211
|
"duet-theme-turva": this.theme === "turva",
|
|
22060
|
-
} }, this.buttons && this.renderButton("left"), hAsync("div", { key: '
|
|
22212
|
+
} }, this.buttons && this.renderButton("left"), hAsync("div", { key: '8eee588b344791d7e40275b7c5ee8688a55848c7', class: {
|
|
22061
22213
|
"duet-scrollable-list": true,
|
|
22062
22214
|
[`duet-scrollable-list--${this.buttonPosition}`]: true,
|
|
22063
22215
|
[`gap-${this.gap}`]: true,
|
|
@@ -22065,7 +22217,7 @@ class DuetScrollable {
|
|
|
22065
22217
|
[`duet-overflow-padding--${this.padding}`]: this.padding !== "none",
|
|
22066
22218
|
[`duet-scrollable-list--${this.buttonPosition}`]: this.buttonPosition === "absolute",
|
|
22067
22219
|
"duet-scrollable-stretch": this.stretch,
|
|
22068
|
-
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: '
|
|
22220
|
+
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: '36bce964a756ce2b4ccd6314773baa06227e2530' })), this.buttons && this.renderButton("right"))));
|
|
22069
22221
|
}
|
|
22070
22222
|
get element() { return getElement(this); }
|
|
22071
22223
|
static get watchers() { return {
|
|
@@ -22122,13 +22274,13 @@ class DuetSectionLayout {
|
|
|
22122
22274
|
* Always the last one in the class.
|
|
22123
22275
|
*/
|
|
22124
22276
|
render() {
|
|
22125
|
-
return (hAsync(Host, { key: '
|
|
22277
|
+
return (hAsync(Host, { key: 'eb1923a8bfba01565e0452347752088c58d9ab08', class: {
|
|
22126
22278
|
"duet-middle": this.middle,
|
|
22127
22279
|
"duet-ie": isInternetExplorer(),
|
|
22128
|
-
} }, hAsync("div", { key: '
|
|
22280
|
+
} }, hAsync("div", { key: '0c04bf013cc9644f09de55e114f3692022374c6f', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'bf2d3164111fad314c90114ce15e2b2488608505', class: {
|
|
22129
22281
|
"duet-layout": true,
|
|
22130
22282
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
22131
|
-
} }, hAsync("section", { key: '
|
|
22283
|
+
} }, hAsync("section", { key: '5c07cbae7cf870868a5c8f897bf6393eb6a7e866', class: "duet-main" }, hAsync("slot", { key: '5dea403267b9102ee9a375aac51c931bd0dde438' }))))));
|
|
22132
22284
|
}
|
|
22133
22285
|
get element() { return getElement(this); }
|
|
22134
22286
|
static get style() { return duetSectionLayoutCss; }
|
|
@@ -22344,23 +22496,23 @@ class DuetSelect {
|
|
|
22344
22496
|
*/
|
|
22345
22497
|
render() {
|
|
22346
22498
|
const identifier = this.identifier || this.selectId;
|
|
22347
|
-
return (hAsync(Host, { key: '
|
|
22499
|
+
return (hAsync(Host, { key: '3d3bc7d84000806ae8fab973ba04c08a25dc0c2f', onClick: this.onClick, class: {
|
|
22348
22500
|
"duet-m-0": this.margin === "none",
|
|
22349
22501
|
"duet-expand": this.expand,
|
|
22350
22502
|
[`duet-select-variation-${this.variation}`]: true,
|
|
22351
|
-
} }, hAsync("div", { key: '
|
|
22503
|
+
} }, hAsync("div", { key: 'fe0f4b2d68a812713191449693d63fa56513164e', class: {
|
|
22352
22504
|
"duet-select-container": true,
|
|
22353
22505
|
"duet-label-hidden": this.labelHidden,
|
|
22354
22506
|
"duet-theme-turva": this.theme === "turva",
|
|
22355
22507
|
[`duet-select-variation-${this.variation}`]: true,
|
|
22356
22508
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
22357
22509
|
"has-error": !!this.error,
|
|
22358
|
-
} }, hAsync(DuetInternalLabel, { key: '
|
|
22510
|
+
} }, hAsync(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 && (hAsync("duet-tooltip", { key: '7a3d46b3f60d283ecfa474b05a918fa8c505d1aa', direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: '3566d83ece8668e83b0ccde241ed49418ed941e4', name: "tooltip" }), this.caption && (hAsync("duet-caption", { key: '709ed39dea050b314217f5de4190535166a82f3c', id: this.topCaptionId, size: "medium" }, this.caption)), hAsync("div", { key: 'cf8a14439328e37ccc1d41c38190c18414b894ea', class: "duet-select-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (hAsync("duet-caption", { key: '1b439a475ac5a6220bbab2d93f827c089a7a5c7b', id: this.topCaptionPlaceholderId, class: "duet-select-placeholder", size: "small" }, this.placeholder)), hAsync("slot", { key: '15182f28fa38955377dc822ab7d8ff61238cb4d8' }), hAsync("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 && (hAsync("option", { key: '8e7c047411a37cd3a8a82415566d6f73e71a5533', disabled: true, selected: true, value: "" }, this.placeholder)), !this.processedItems ? (hAsync("option", null, "Virhe valintoja ladattaessa. P\u00E4ivit\u00E4 sivu ja kokeile uusiksi.")) : (this.processedItems.map(item => {
|
|
22359
22511
|
return isOptionGroup(item) ? this.renderOptionGroup(item) : this.renderOption(item);
|
|
22360
|
-
}))), hAsync("div", { key: '
|
|
22512
|
+
}))), hAsync("div", { key: '05ac432d89ce773e077f01f7b272484f110f10db', class: {
|
|
22361
22513
|
"duet-select": true,
|
|
22362
22514
|
[`duet-select-variation-${this.variation}`]: true,
|
|
22363
|
-
}, "aria-hidden": "true" }, hAsync("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (hAsync("svg", { key: '
|
|
22515
|
+
}, "aria-hidden": "true" }, hAsync("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (hAsync("svg", { key: '3c6969c19468b5a26e8cc95ec2947442dcebc42a', role: "img", class: "duet-select-icon", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("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" })))) || (hAsync("duet-icon", { key: 'f0698dcc03bf523766986c548fa5cad2a6b1875c', theme: this.theme, name: "action-arrow-down-small", color: "currentColor", margin: "none", size: this.variation === "compact" ? "xxx-small" : "xx-small" }))), hAsync("span", { key: 'ae2878e5f962708b0a8cdcf15e22c79e9b26f9d5', class: "duet-keep-container-height", role: "presention", "aria-hidden": "true" }, "_")), hAsync("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 && hAsync("span", { key: '38b9169e9a7418f193b97512f6303a8e90215e06' }, this.error)))));
|
|
22364
22516
|
}
|
|
22365
22517
|
get element() { return getElement(this); }
|
|
22366
22518
|
static get watchers() { return {
|
|
@@ -22440,9 +22592,9 @@ class DuetShapedImage {
|
|
|
22440
22592
|
const style = {
|
|
22441
22593
|
"--rotation": `${this.rotation}deg`,
|
|
22442
22594
|
};
|
|
22443
|
-
return (hAsync(Host, { key: '
|
|
22595
|
+
return (hAsync(Host, { key: 'f1e1775c6baa92468f792435cbd7bf6b9b1bc04b', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, hAsync("span", { key: '9a55361487de0adea55f23a48613607bb366d712', class: {
|
|
22444
22596
|
"shaped-image": true,
|
|
22445
|
-
}, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: '
|
|
22597
|
+
}, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: 'cab98476c89fa5d135797f18601d1cd7f86be610', class: "shaped-image-mask", role: "presentation" }, hAsync("span", { key: '03e422ae06acfbb4e5889d2f48e4eee064426877', class: "shaped-image-img", role: "presentation", style: { backgroundImage: `url("${this.src}")` } })))));
|
|
22446
22598
|
}
|
|
22447
22599
|
static get style() { return duetShapedImageCss; }
|
|
22448
22600
|
static get cmpMeta() { return {
|
|
@@ -22512,10 +22664,10 @@ class DuetShareChart {
|
|
|
22512
22664
|
this.itemsTotalValue = this.items.reduce((total, { value }) => total + value, 0);
|
|
22513
22665
|
}
|
|
22514
22666
|
render() {
|
|
22515
|
-
return (hAsync(Host, { key: '
|
|
22667
|
+
return (hAsync(Host, { key: 'ecdd674f7aafaac0d6ce2b92ffee521d33f04f54' }, hAsync("div", { key: '162f5b9eab9a30df3861a97264691d3796500286', class: "duet-share-chart-horizontal-bar", role: "presentation" }, this.items.map(item => (hAsync("span", { class: "duet-share-chart-share", style: {
|
|
22516
22668
|
width: `${(item.value / this.itemsTotalValue) * 100}%`,
|
|
22517
22669
|
backgroundColor: getColorByName(item.color, this.theme),
|
|
22518
|
-
} })))), hAsync("ul", { key: '
|
|
22670
|
+
} })))), hAsync("ul", { key: 'fbfb17146f550b7812355d34f4a0c44b667f1a58', class: "duet-share-chart-item-list" }, this.items.map(item => (hAsync("li", { class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("span", { class: "duet-share-chart-item-color", style: { background: getColorByName(item.color, this.theme) } }), hAsync("span", { class: "duet-share-chart-item-text" }, item.text, ":"), hAsync("span", { class: "duet-share-chart-item-value" }, "\u00A0", formatNumber(item.value), "\u00A0", this.unit), this.unit !== "%" && (hAsync("duet-visually-hidden", null, `${formatNumber((item.value / this.itemsTotalValue) * 100, 0)} %`)))))), hAsync("slot", { key: '79fc779211d3b265620226647dcbd3508ad3c86c' })));
|
|
22519
22671
|
}
|
|
22520
22672
|
get element() { return getElement(this); }
|
|
22521
22673
|
static get style() { return duetShareChartCss; }
|
|
@@ -22542,7 +22694,7 @@ class DuetShareChartItem {
|
|
|
22542
22694
|
this.value = 0;
|
|
22543
22695
|
}
|
|
22544
22696
|
render() {
|
|
22545
|
-
return (hAsync(Host, { key: '
|
|
22697
|
+
return (hAsync(Host, { key: 'd018941bdb98ff2a561661ac4ced29081d0783c5' }, hAsync("div", { key: '3b07a96aa1150f1f51ab3a08344bd656c9d52eef', hidden: true }, hAsync("slot", { key: 'cc7299ead2dbe45e3005a48a8da09bb7eb2fd9e0' }))));
|
|
22546
22698
|
}
|
|
22547
22699
|
get element() { return getElement(this); }
|
|
22548
22700
|
static get cmpMeta() { return {
|
|
@@ -22692,12 +22844,12 @@ class DuetShowMore {
|
|
|
22692
22844
|
* Always the last one of the class.
|
|
22693
22845
|
*/
|
|
22694
22846
|
render() {
|
|
22695
|
-
return (hAsync(Host, { key: '
|
|
22847
|
+
return (hAsync(Host, { key: 'a43de6a4bae0a8c38852a11a7b384b7f104ec024' }, hAsync("div", { key: '74f8d429039d38ea1151aeab159f34cfed375df6', class: {
|
|
22696
22848
|
"duet-show-more": true,
|
|
22697
22849
|
"duet-theme-turva": this.theme === "turva",
|
|
22698
22850
|
"duet-m-0": this.margin === "none",
|
|
22699
22851
|
open: this.open,
|
|
22700
|
-
} }, hAsync("div", { key: '
|
|
22852
|
+
} }, hAsync("div", { key: '1e7b359e2ec056100a22d4fcdf12a9afd3432f36', ref: ref => (this.contentElement = ref), class: { content: true }, id: this.contentId, tabindex: this.open ? "-1" : "" }, hAsync("div", { key: 'd56eb046a4f700defffcefd1c279149ab85b68ae', class: { "slotted-content": true } }, hAsync("slot", { key: '4978e6989abb32797fd956d5bb35d1e860b63f71' }))), hAsync("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" }, hAsync("span", { key: '106762507a1b6c28e334d0c383ff481b9a4bf8aa' }, this.open ? this.showLessLabel : this.showMoreLabel)))));
|
|
22701
22853
|
}
|
|
22702
22854
|
get element() { return getElement(this); }
|
|
22703
22855
|
static get style() { return duetShowMoreCss; }
|
|
@@ -23224,16 +23376,16 @@ class DuetSlideout {
|
|
|
23224
23376
|
};
|
|
23225
23377
|
const topLevelOpenMenuBarTranslation = getLocaleString(this.topLevelOpenMenuBarLangObject);
|
|
23226
23378
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
23227
|
-
return (hAsync(Host, { key: '
|
|
23379
|
+
return (hAsync(Host, { key: '80fe71cba1f67117359472cbc3d59ec80910cca2' }, hAsync("div", { key: 'b4611be3d11b74e906804f32fa54f09ef03c9319', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, this.modal && hAsync("duet-overlay", { key: '72729044a85b3915f914f9b37efc503601681aed', visible: this.open, "display-device": "large", zIndex: "600" }), hAsync("div", { key: 'dd793703df1c6412ba02021f6ee26232180db120', ref: element => (this.dialog = element), tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": this.isSafariBrowser ? false : true, "aria-flowto": "slot-container", class: {
|
|
23228
23380
|
dialog: true,
|
|
23229
23381
|
hidden: !this.open,
|
|
23230
23382
|
modal: this.modal,
|
|
23231
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
23383
|
+
}, style: styles }, hAsync(FocusGuard, { key: '7217cb29c43fcab1a4d7a0ab2bc25516d5a3db86', moveFocusTo: this.closeButton }), hAsync("div", { key: 'f660e3d4126342062aeef72abb440bfd8c638b26', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: '05ed9fae1dd41c76c8af9e31ec907cc58f83d3d5', class: "top" }, hAsync("button", { key: '65d0a9c2feb22186f337961c6967021d9dbc97f4', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
|
|
23232
23384
|
"slideout-close": true,
|
|
23233
23385
|
active: this.open,
|
|
23234
|
-
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: '
|
|
23386
|
+
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: 'db5c0e81b4fdb700e9cd790249abcc7be8ddb93d', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: '3056bf2ec202421d6314e9bbec1176990dac8d7d', class: "sticky-header" }, hAsync("slot", { key: 'c9c7e39ec4d453a110ad37ba6e273bcb50cfe8a8', name: "sticky-header" }))), hAsync("div", { key: 'a051d32697cb79fdf3dddcc5c28c5f6e1e11afb3', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
|
|
23235
23387
|
items: true,
|
|
23236
|
-
} }, hAsync("slot", { key: '
|
|
23388
|
+
} }, hAsync("slot", { key: 'b552c7adcb64a48b13ae808a26037b0c6ba34021' })), hAsync(FocusGuard, { key: 'eb6637a6a2c879f6bcab0f798f8f13639d2fdc68', moveFocusTo: this.closeButton })))));
|
|
23237
23389
|
}
|
|
23238
23390
|
get element() { return getElement(this); }
|
|
23239
23391
|
static get watchers() { return {
|
|
@@ -23303,7 +23455,7 @@ class DuetSlideoutLang {
|
|
|
23303
23455
|
*/
|
|
23304
23456
|
render() {
|
|
23305
23457
|
const langTranslation = getLocaleString(this.chooseLangObject);
|
|
23306
|
-
return (hAsync(Host, { key: '
|
|
23458
|
+
return (hAsync(Host, { key: '20fb38dbab51fb94d8cb27d0be873d5857809716' }, hAsync("div", { key: 'eac5154fff5df2c8358398a3228909c0cf960b35', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, hAsync("duet-icon", { key: 'c5b9b485d6ab7fcd2172bb951ad88640d1979fee', name: "navigation-language", margin: "none", color: "secondary" }), hAsync("slot", { key: '68cdb507db897fff3e4738ac384fdf504059943e' }))));
|
|
23307
23459
|
}
|
|
23308
23460
|
get element() { return getElement(this); }
|
|
23309
23461
|
static get style() { return duetSlideoutLangCss; }
|
|
@@ -23393,12 +23545,12 @@ class DuetSlideoutLink {
|
|
|
23393
23545
|
* Always the last one in the class.
|
|
23394
23546
|
*/
|
|
23395
23547
|
render() {
|
|
23396
|
-
return (hAsync(Host, { key: '
|
|
23548
|
+
return (hAsync(Host, { key: 'b0e234fc3dac2e49ce7e1cb175f1599ab9275530' }, hAsync("a", { key: '3ec02799b58d7b1d44bfc5b0e24bf65720db1c3a', target: !this.href ? null : this.external ? "_blank" : "_self", class: {
|
|
23397
23549
|
"duet-slideout-link": true,
|
|
23398
23550
|
"duet-theme-turva": this.theme === "turva",
|
|
23399
23551
|
active: this.active,
|
|
23400
23552
|
[this.size]: true,
|
|
23401
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": (this.href && getAccessibleLinkLabel(this)) || this.accessibleLabel, rel: this.external ? "noopener" : undefined }, this.icon && (hAsync("duet-icon", { key: '
|
|
23553
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": (this.href && getAccessibleLinkLabel(this)) || this.accessibleLabel, rel: this.external ? "noopener" : undefined }, this.icon && (hAsync("duet-icon", { key: 'b9e3b673239c5b9655c01bcec4a2a5abe515bd88', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "medium", margin: "none" })), hAsync("div", { key: '498acf483827529da2b9f512228ca158edaf8faa', class: "label" }, hAsync("span", { key: 'e6415f10f37d8b957ce06e93b5cbb042634d1672' }, hAsync("span", { key: '53865ac539a3312b509ffb15594e72f9fa4d0f33', class: "label-container" }, hAsync("span", { key: '81cbf04aec6b336558641516b55a554a11751aa7', class: "label-content" }, hAsync("slot", { key: 'f217af73f101e8a8a9ab71f611f759f4c8a8ceef' })), this.external && (hAsync("duet-icon", { key: '0696dda9b2fe219b2a76a0c65855d47cd151bc55', class: "external-icon", theme: this.theme, name: newWindowIcon.title, margin: "none", size: "auto", color: "currentColor" }))), hAsync("slot", { key: '497d712ed9f5155cee76d0c9cca080a89fb26ea2', name: "description" })), this.caret && (hAsync("duet-icon", { key: 'b3057bf91b4062442a5c7823d12c714ca74d86ae', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
|
|
23402
23554
|
}
|
|
23403
23555
|
get element() { return getElement(this); }
|
|
23404
23556
|
static get style() { return duetSlideoutLinkCss; }
|
|
@@ -23580,23 +23732,23 @@ class DuetSlideoutPanel {
|
|
|
23580
23732
|
};
|
|
23581
23733
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
23582
23734
|
const backTranslation = getLocaleString(this.backLangObject);
|
|
23583
|
-
return (hAsync(Host, { key: '
|
|
23735
|
+
return (hAsync(Host, { key: '942391bf280f263cbbb12ff47d5e19e64677ce59' }, hAsync("div", { key: '5150a8a4f51a6518de50432847b7a4be7f52a8f7', class: {
|
|
23584
23736
|
"duet-slideout-panel": true,
|
|
23585
23737
|
"duet-theme-turva": this.theme === "turva",
|
|
23586
23738
|
active: this.open,
|
|
23587
|
-
} }, hAsync("button", { key: '
|
|
23739
|
+
} }, hAsync("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: {
|
|
23588
23740
|
link: true,
|
|
23589
23741
|
active: this.active,
|
|
23590
|
-
}, onClick: this.onClick, inert: this.open }, this.icon && (hAsync("div", { key: '
|
|
23742
|
+
}, onClick: this.onClick, inert: this.open }, this.icon && (hAsync("div", { key: '239abf831224e505471d4faa690c4fb9eec39657', class: "duet-slideout-icon" }, hAsync("duet-icon", { key: '91d352ae3154e830d2ea6e07be749a301f959dd7', name: this.icon, size: "medium", margin: "none", color: "secondary" }), this.badge && hAsync("div", { key: '048f8d6339aa0fac808cb8539aec7fc39dc69e22', class: "duet-slideout-badge" }))), hAsync("span", { key: '78c8194b03f576175deb05836ee62db4909ff2ae', class: "label" }, hAsync("span", { key: '698881982e56840d20105c0859d433f057d0e8c2', class: { "label-text": true, [this.labelSize]: true } }, hAsync("slot", { key: '52990bf8fd3f928746ee83d5b84570ca6324b2bd', name: "label" })), hAsync("duet-icon", { key: '8b11c870487c41351035fd29a0379ff022f86676', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), hAsync("div", { key: '420fc600c08d2636b7ee91ef2378cd073822ffc7', ref: element => (this.dialog = element), class: {
|
|
23591
23743
|
dialog: true,
|
|
23592
23744
|
hidden: !this.open,
|
|
23593
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
23745
|
+
}, style: styles }, hAsync(FocusGuard, { key: '53c5dd886930895a4b98a215d12c26a1da4e33c0', moveFocusTo: this.closeButton }), hAsync("div", { key: '4be2ad3519e0e43f9bdf7d9db5cfab397f5a2f48', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: 'e10cd953dccb8a456545bc58e374e53361016759', class: "top" }, hAsync("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: {
|
|
23594
23746
|
back: true,
|
|
23595
|
-
}, onClick: this.onClick }, hAsync("duet-icon", { key: '
|
|
23747
|
+
}, onClick: this.onClick }, hAsync("duet-icon", { key: '40b07857257d0e150e40cd506c53ee743d1323fa', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), hAsync("span", { key: 'f1c04199ddd3f93c079edea3666879483e003c9e' }, this.label.innerHTML), hAsync("button", { key: 'fe8dafe02a327c652b4815013aeae50ab2ffa40d', class: "close", type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, hAsync("duet-icon", { key: 'aa9cdab26dfe54f286a9586716285b7400d78ea3', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: 'c046cb5cef75c8932a338db3a4e7056f489c3bd4', class: "sticky-header" }, hAsync("slot", { key: '08fe11beec9d0a01519ca21a00cc11298c17facb', name: "sticky-header" }))), hAsync("div", { key: '34b482569c730fe07ec6b4899f7d8fb0b371190c', tabindex: "-1", role: "menu",
|
|
23596
23748
|
//TODO: slideout menu fades out, needs to be instant
|
|
23597
23749
|
id: "menu", "aria-labelledby": "button", class: {
|
|
23598
23750
|
items: true,
|
|
23599
|
-
} }, hAsync("slot", { key: '
|
|
23751
|
+
} }, hAsync("slot", { key: '2b87c3b4d7ab96fe8b069d023e7b07f27910cf07' })), hAsync(FocusGuard, { key: '158e38e0df98000f097952a14da74a4195b4515b', moveFocusTo: this.closeButton })))));
|
|
23600
23752
|
}
|
|
23601
23753
|
get element() { return getElement(this); }
|
|
23602
23754
|
static get watchers() { return {
|
|
@@ -23677,16 +23829,16 @@ class DuetSlideoutPanelDropdown {
|
|
|
23677
23829
|
* Always the last one in the class.
|
|
23678
23830
|
*/
|
|
23679
23831
|
render() {
|
|
23680
|
-
return (hAsync(Host, { key: '
|
|
23832
|
+
return (hAsync(Host, { key: 'f96919a68190339dfad3a02b63943bc7c944a1e7' }, hAsync("div", { key: '109f23c80ed885b60278b261eca318bde1ec47eb', class: {
|
|
23681
23833
|
"duet-slideout-panel-dropdown": true,
|
|
23682
23834
|
"duet-theme-turva": this.theme === "turva",
|
|
23683
23835
|
active: this.open,
|
|
23684
|
-
} }, hAsync("button", { key: '
|
|
23836
|
+
} }, hAsync("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: {
|
|
23685
23837
|
active: this.active,
|
|
23686
|
-
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: '
|
|
23838
|
+
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: '885d1ef770aa91efc19169c8084d8fb60f6ae314', name: this.icon, size: "medium", margin: "none", color: "secondary" }), hAsync("span", { key: 'bafa2159d2892a908ed6ce49c13d4d1beaa674c1', class: "label" }, hAsync("slot", { key: '96fa1309813257aeb3acff36894828563331b43d', name: "label" }), hAsync("duet-icon", { key: 'fbad64614399ece9b86750e3851336a523944951', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), hAsync("div", { key: '2869b77624970b590f37909f10ee2a2b9d252a64', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
23687
23839
|
items: true,
|
|
23688
23840
|
hidden: !this.open,
|
|
23689
|
-
} }, hAsync("slot", { key: '
|
|
23841
|
+
} }, hAsync("slot", { key: 'a76b88dbcbb32ce8c0d96f807da0623a6cb8fc1f' })))));
|
|
23690
23842
|
}
|
|
23691
23843
|
get element() { return getElement(this); }
|
|
23692
23844
|
static get style() { return duetSlideoutPanelDropdownCss; }
|
|
@@ -23730,7 +23882,7 @@ class DuetSpacer {
|
|
|
23730
23882
|
* Always the last one in the class.
|
|
23731
23883
|
*/
|
|
23732
23884
|
render() {
|
|
23733
|
-
return (hAsync(Host, { key: '
|
|
23885
|
+
return (hAsync(Host, { key: 'f2f4fa377c08b91ba94544d234bc8ab55c8b35b5', class: {
|
|
23734
23886
|
"duet-spacer": true,
|
|
23735
23887
|
"duet-spacer-xx-small": this.breakpoint === "xx-small",
|
|
23736
23888
|
"duet-spacer-x-small": this.breakpoint === "x-small",
|
|
@@ -23793,11 +23945,11 @@ class DuetSpinner {
|
|
|
23793
23945
|
*/
|
|
23794
23946
|
render() {
|
|
23795
23947
|
const color = this.color === "currentColor" ? "currentColor" : getColorByName(this.color);
|
|
23796
|
-
return (hAsync(Host, { key: '
|
|
23948
|
+
return (hAsync(Host, { key: '8e4d0ddb4abd8fb9c68b9f3935ca75fb65f63cf3', class: {
|
|
23797
23949
|
"duet-custom-color": this.color !== "currentColor" && this.theme !== "turva" && this.theme !== "default",
|
|
23798
23950
|
"duet-theme-turva": this.theme === "turva" && this.color !== "currentColor",
|
|
23799
23951
|
"duet-theme-default": this.theme === "default" && this.color !== "currentColor",
|
|
23800
|
-
} }, hAsync("div", { key: '
|
|
23952
|
+
} }, hAsync("div", { key: '4940f908c0ecdb401c361b0ab7dc2720d5c6a1a1', class: {
|
|
23801
23953
|
"duet-spinner": true,
|
|
23802
23954
|
[this.size]: true,
|
|
23803
23955
|
}, style: { color }, "aria-label": this.accessibleLabel })));
|
|
@@ -23902,10 +24054,10 @@ class DuetStatusIcon {
|
|
|
23902
24054
|
}
|
|
23903
24055
|
}
|
|
23904
24056
|
render() {
|
|
23905
|
-
return (hAsync(Host, { key: '
|
|
24057
|
+
return (hAsync(Host, { key: 'd35995f352a518b4933f82071bba491062afa0e6', class: {
|
|
23906
24058
|
[`duet-status-icon-${this.getVariation()}`]: true,
|
|
23907
24059
|
"duet-strong-bg": this.strong,
|
|
23908
|
-
} }, hAsync("duet-icon", { key: '
|
|
24060
|
+
} }, hAsync("duet-icon", { key: '67a2d52e3cc7e6d2685de643130654f8031f643a', icon: this.getIcon(), size: this.size, margin: this.margin })));
|
|
23909
24061
|
}
|
|
23910
24062
|
static get cmpMeta() { return {
|
|
23911
24063
|
"$flags$": 265,
|
|
@@ -24026,13 +24178,13 @@ class DuetStep {
|
|
|
24026
24178
|
* Always the last one in the class.
|
|
24027
24179
|
*/
|
|
24028
24180
|
render() {
|
|
24029
|
-
return (hAsync("div", { key: '
|
|
24181
|
+
return (hAsync("div", { key: '3204237f7f65d0f7e40d171da59beae2438d0b73', class: {
|
|
24030
24182
|
"duet-step": true,
|
|
24031
24183
|
[`is-${this.state}`]: true,
|
|
24032
24184
|
"rounded-top": this.roundedTop,
|
|
24033
24185
|
"rounded-bottom": this.roundedBottom,
|
|
24034
24186
|
"duet-theme-turva": this.theme === "turva",
|
|
24035
|
-
} }, hAsync("div", { key: '
|
|
24187
|
+
} }, hAsync("div", { key: '144dc2c4f67e3ab88437ba11dbe665d8d938e998', class: "duet-step-heading", id: this.buttonId, role: this.state !== "current" ? "button" : "region", "aria-current": this.state === "current" ? "step" : undefined, tabindex: this.state !== "current" ? "0" : undefined, "aria-disabled": this.isClickDisabled().toString(), "aria-expanded": (this.state === "current").toString(), "aria-controls": this.contentId, "aria-selected": (this.state === "current").toString(), onClick: this.handleClick, onKeyDown: this.handleKeyDown, ref: element => (this.buttonElement = element) }, hAsync("div", { key: '3a16cbf1b403adb015eafda7d8768e17eae7fb40', "aria-hidden": "true" }, hAsync("div", { key: '8ee2d9f18fcef2d1cdb2ad43cf8a41c5615b4765', class: "duet-step-counter" }, this.renderStepCounter())), hAsync("duet-spacer", { key: '0dd226292f09ae93ba5ca9bde08511982771fe15', direction: "horizontal", size: "large", breakpoint: "small" }), hAsync("duet-spacer", { key: 'd2fea319dfc6db59b1aaba216a913c3a8e9e81e8', direction: "horizontal", size: "medium", breakpoint: "x-small" }), hAsync("div", { key: '7c3dee5bf9df62db35cbe5896551062c482d8b3e' }, hAsync("duet-heading", { key: '27d4325d36f4f0621af0bf633fe3de821822d4bc', theme: this.theme, level: this.headingLevel, visualLevel: "h4", color: this.headingColor(), margin: "none" }, this.heading)), hAsync("duet-spacer", { key: 'f0e367883df25339d1882ebe17ff56c3555d4cd1', direction: "horizontal", size: "large" }), hAsync("div", { key: 'f4313eed84ca3fe24272ce59a59b711169c4c0a8', class: "duet-step-heading-slot" }, hAsync("slot", { key: 'a06a67c70d672288b7ef3f76149561fe5200ed99', name: "heading-content" }))), hAsync("div", { key: '62b81bf1127a74bd5fb1cec4b0aa1e9c706d2038', class: "duet-step-content-wrapper" }, hAsync("div", { key: 'c46f37355b38f10b1dc182108cae7f444025246d', class: "duet-step-content", role: "region", "aria-labelledby": this.buttonId, id: this.contentId }, hAsync("slot", { key: 'f08a916f605a7227add9fdb0bd4f6ede0719ec02' })))));
|
|
24036
24188
|
}
|
|
24037
24189
|
get element() { return getElement(this); }
|
|
24038
24190
|
static get style() { return duetStepCss; }
|
|
@@ -24179,7 +24331,7 @@ class DuetStepper {
|
|
|
24179
24331
|
* Always the last one in the class.
|
|
24180
24332
|
*/
|
|
24181
24333
|
render() {
|
|
24182
|
-
return (hAsync(Host, { key: '
|
|
24334
|
+
return (hAsync(Host, { key: 'f135a9f1ddcc6eaa86acdcdc9d11def0ec489b81', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'd68ff41042b6582c21d555e3131054278e9eaf1f', class: { "duet-stepper": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("duet-visually-hidden", { key: '21d8af2f8896f0e5f893f041a2f3010ada1e74c9', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement()), hAsync("slot", { key: 'efe281a3ddce9364e69c5131e7e59e3a9c2bb9d5' }))));
|
|
24183
24335
|
}
|
|
24184
24336
|
get element() { return getElement(this); }
|
|
24185
24337
|
static get watchers() { return {
|
|
@@ -24333,19 +24485,19 @@ class DuetSubmenuBar {
|
|
|
24333
24485
|
* Always the last one in the class.
|
|
24334
24486
|
*/
|
|
24335
24487
|
render() {
|
|
24336
|
-
return (hAsync(Host, { key: '
|
|
24488
|
+
return (hAsync(Host, { key: '3e7b02904bbbba59c39e6ab92da7f5c57725da8b' }, hAsync("nav", { key: '2dc04f3533701d9c21afd7c15756f27ecb58441f', class: {
|
|
24337
24489
|
"duet-submenu-bar": true,
|
|
24338
24490
|
"duet-theme-turva": this.theme === "turva",
|
|
24339
24491
|
hidden: this.hidden,
|
|
24340
|
-
}, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: '
|
|
24492
|
+
}, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: '839b1d9944d8c6c3bfaf329a682d91657066ec2f', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
24341
24493
|
active: this.open,
|
|
24342
|
-
}, onClick: this.onClick }, hAsync("span", { key: '
|
|
24494
|
+
}, onClick: this.onClick }, hAsync("span", { key: '67a6c63dc412388b52a2de220127dea5bef408e9', class: "label" }, hAsync("slot", { key: 'f7c3882a3339a2cfdf581b63d4aee13867b5d67b', name: "label" }), hAsync("duet-icon", { key: 'e0f1cd34ad6ae56df39fcdf39683cb7dfacc6aec', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), hAsync("div", { key: '368b77169fb80a8486623763734cedecb40b33a8', class: {
|
|
24343
24495
|
"menu-container": true,
|
|
24344
24496
|
hidden: !this.open,
|
|
24345
|
-
}, role: "presentation" }, hAsync("div", { key: '
|
|
24497
|
+
}, role: "presentation" }, hAsync("div", { key: '25476a3938ac4a4cde6a36aeb5c992e61cd016b3', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
|
|
24346
24498
|
items: true,
|
|
24347
24499
|
hidden: !this.open,
|
|
24348
|
-
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: '
|
|
24500
|
+
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: '78a0b5dcbad16181839842b362fc2aa4233933e0', class: "list", role: this.mobile ? "presentation" : "list" }, hAsync("slot", { key: '88ed711a6f222bfa266148da84789eaecfa433d4' }), hAsync("div", { key: 'bccca592f7f6986a27e8b90b410f09c28d7d5667', class: "list-padding" }))), hAsync("duet-overlay", { key: '3ba23120b948aeb6f066d21d86b58e3b6fa91669', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
|
|
24349
24501
|
}
|
|
24350
24502
|
get element() { return getElement(this); }
|
|
24351
24503
|
static get watchers() { return {
|
|
@@ -24477,18 +24629,18 @@ class DuetSubmenuBarDropdown {
|
|
|
24477
24629
|
* Always the last one in the class.
|
|
24478
24630
|
*/
|
|
24479
24631
|
render() {
|
|
24480
|
-
return (hAsync(Host, { key: '
|
|
24632
|
+
return (hAsync(Host, { key: '0cb9c03f321c7ff444123e06bee1017a69786c76', role: "listitem" }, hAsync("div", { key: '7a69b5c2e3d9f7f6737931fd98d0626ecb23dcb5', class: {
|
|
24481
24633
|
"duet-submenu-bar-dropdown": true,
|
|
24482
24634
|
"duet-theme-turva": this.theme === "turva",
|
|
24483
24635
|
open: this.open,
|
|
24484
24636
|
active: this.active,
|
|
24485
|
-
} }, hAsync("button", { key: '
|
|
24637
|
+
} }, hAsync("button", { key: 'cb47f2b220eccb921a6fb2b6d9372cab734dcf9f', 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: {
|
|
24486
24638
|
open: this.open,
|
|
24487
24639
|
active: this.active,
|
|
24488
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
24640
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '0777f325a3186cfb4a20c0d71fa3bbcc0ee752b5', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: 'db5cabb7d09304cd2bd9eba231ed5c3d0453131b', class: "label" }, hAsync("span", { key: '33760c3388e525ca78442660bcba3712bb1a0b91', class: "label-text" }, hAsync("slot", { key: '557457c4d150285a804a861755393b2ead85eb29', name: "label" })), hAsync("duet-icon", { key: '0632a6cb7801c25f3ddec7c36744ed1def3d2d42', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '22f16e71f250d490bf1fca22119b5422ea519021', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
24489
24641
|
items: true,
|
|
24490
24642
|
hidden: !this.open,
|
|
24491
|
-
} }, hAsync("slot", { key: '
|
|
24643
|
+
} }, hAsync("slot", { key: '63e09b29477fe83753399f2934115780169deb5c' })))));
|
|
24492
24644
|
}
|
|
24493
24645
|
get element() { return getElement(this); }
|
|
24494
24646
|
static get style() { return duetSubmenuBarDropdownCss; }
|
|
@@ -24557,12 +24709,12 @@ class DuetSubmenuBarDropdownLink {
|
|
|
24557
24709
|
* Always the last one in the class.
|
|
24558
24710
|
*/
|
|
24559
24711
|
render() {
|
|
24560
|
-
return (hAsync(Host, { key: '
|
|
24712
|
+
return (hAsync(Host, { key: '634468684f5ca0645aca55e4755a6f778d4aeaf1' }, hAsync("a", { key: 'df84408330d4e171054f96de10b761d9c6435800', class: {
|
|
24561
24713
|
"duet-submenu-bar-dropdown-link": true,
|
|
24562
24714
|
"duet-theme-turva": this.theme === "turva",
|
|
24563
24715
|
highlight: this.highlight,
|
|
24564
24716
|
active: this.active,
|
|
24565
|
-
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '
|
|
24717
|
+
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '70f8d741e10aaf9e6492e47b3bf2ffe2d488b0dc', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("span", { key: '9ec616e8c8b512f0731e90441bf1d20b485f503a', class: "label-container" }, hAsync("span", { key: '41825ec964adb07f1d6262d995de497b5bf597c8', class: "label" }, hAsync("slot", { key: '16e2e05e0662ee3cbb59ee5ceb371b57b2b3ddcd' })), this.caret && hAsync("duet-icon", { key: '97aa221937f2099cd478aad6745d8b1fc93fdb22', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (hAsync("duet-icon", { key: '1b281ba9300b07c9b8e15688b7383e27195b1ce2', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
24566
24718
|
}
|
|
24567
24719
|
get element() { return getElement(this); }
|
|
24568
24720
|
static get style() { return duetSubmenuBarDropdownLinkCss; }
|
|
@@ -24658,7 +24810,7 @@ class DuetSubmenuBarItem {
|
|
|
24658
24810
|
render() {
|
|
24659
24811
|
const TagName = this.url ? "a" : "button";
|
|
24660
24812
|
const role = this.url ? "link" : "button";
|
|
24661
|
-
return (hAsync(Host, { key: '
|
|
24813
|
+
return (hAsync(Host, { key: 'bc1b76eff2619e0f79a21c0d8bef3efb622a4f75', role: "listitem" }, hAsync(TagName, { key: 'ecb396d50b5964ca911a4bcc01dfbbd2235554f0', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: { "duet-submenu-bar-item": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.url, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, role: role, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: '64e157f0aad997e6f8f20c8f61be5a9f6cb1ba7d', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: 'd51db5d687d360dc8d82c704407c35d2b7878193', class: "label" }, hAsync("span", { key: '067121784839bea1c72167d2b8bcb6869620b69a', class: "label-text" }, hAsync("slot", { key: 'd080c716b2c29ad39aa4e377d298d2fc340162b6' })), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: 'd749eeeb21d1491c418db9469b2b7bde9ddf1014', class: {
|
|
24662
24814
|
"trailing-icon": !!this.trailingIcon,
|
|
24663
24815
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
24664
24816
|
"external-icon": !!this.external,
|
|
@@ -24730,7 +24882,7 @@ class DuetSubmenuBarLink {
|
|
|
24730
24882
|
* Always the last one in the class.
|
|
24731
24883
|
*/
|
|
24732
24884
|
render() {
|
|
24733
|
-
return (hAsync(Host, { key: '
|
|
24885
|
+
return (hAsync(Host, { key: '1690f55f331c933f9fb468a34dacd7ca59b4a6ec', role: "listitem" }, hAsync("a", { key: 'bef17a08ede70f41666795b66295bde08809e350', class: { "duet-submenu-bar-link": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.href, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false" }, this.icon && (hAsync("duet-icon", { key: 'b7cbc5a4b7747f3b151eded40adaa568a58abb56', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("span", { key: '7351aeba73af6d8f8606662ee3bc100dc4f8c513', class: "label" }, hAsync("slot", { key: 'c56efc7a7ac3d5afeea81444f1c7ec0db3a6ce68' })))));
|
|
24734
24886
|
}
|
|
24735
24887
|
get element() { return getElement(this); }
|
|
24736
24888
|
static get style() { return duetSubmenuBarLinkCss; }
|
|
@@ -24853,7 +25005,7 @@ class DuetTab {
|
|
|
24853
25005
|
* Always the last one in the class.
|
|
24854
25006
|
*/
|
|
24855
25007
|
render() {
|
|
24856
|
-
return (hAsync("div", { key: '
|
|
25008
|
+
return (hAsync("div", { key: '6903bcdb8e3fa5178b6238ccdcf4f028a85a1cf2', ref: element => {
|
|
24857
25009
|
if (!this.contentId) {
|
|
24858
25010
|
this.tabpanelElement = element;
|
|
24859
25011
|
}
|
|
@@ -24862,7 +25014,7 @@ class DuetTab {
|
|
|
24862
25014
|
"duet-tab": true,
|
|
24863
25015
|
selected: this.selected,
|
|
24864
25016
|
"has-content-id": !!this.contentId,
|
|
24865
|
-
}, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, hAsync("slot", { key: '
|
|
25017
|
+
}, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, hAsync("slot", { key: '6629dc6968129353f9daa96cc26a4c9f23dc384d' })));
|
|
24866
25018
|
}
|
|
24867
25019
|
get element() { return getElement(this); }
|
|
24868
25020
|
static get watchers() { return {
|
|
@@ -25168,13 +25320,13 @@ class DuetTabGroup {
|
|
|
25168
25320
|
[`duet-notification-mark-${element.notificationMark}`]: !!element.notificationMark,
|
|
25169
25321
|
[largeBreakpoint]: ["default", "plain", "plain-scrolling"].includes(this.variation) ? true : false,
|
|
25170
25322
|
}, onClick: () => this.onTabSelect(index), onKeyDown: ev => this.handleKeyDown(ev) }, this.variation === "checked" ? (hAsync("div", { class: { "checked-tab-content": true, "stackable-checked-tab-content": this.tabs.length <= 3 } }, hAsync("div", { class: { "checked-tab-description": true, "stackable-description": this.tabs.length <= 3 } }, hAsync("p", null, element.label), hAsync("p", { class: { "tab-caption": true, selected: element.selected } }, element.caption)), hAsync("div", { class: { "stackable-checkmark": this.tabs.length <= 3 } }, hAsync("duet-checkmark", { theme: this.theme, checked: element.selected, type: "radio", "presentation-only": true, center: true })))) : (element.label))));
|
|
25171
|
-
return (hAsync("div", { key: '
|
|
25323
|
+
return (hAsync("div", { key: 'd96e791cdd488611f7d63128408d9347a290728e', class: {
|
|
25172
25324
|
"duet-tab-group": true,
|
|
25173
25325
|
"duet-theme-turva": this.theme === "turva",
|
|
25174
25326
|
[variationClass]: true,
|
|
25175
25327
|
"duet-tab-plain-scrolling": this.variation === "plain-scrolling",
|
|
25176
25328
|
"duet-tab-group-scrolls": true,
|
|
25177
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
25329
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: 'b65cc9f6446fa3d2f6847a2ace6d9abdfd04b337', role: "tablist", class: {
|
|
25178
25330
|
"duet-m-0": this.margin === "none" || this.variation === "checked",
|
|
25179
25331
|
"duet-tab-group-tabs": true,
|
|
25180
25332
|
"duet-tab-group-hidden": this.tabs.length > 3 && !isSwipeScrollable,
|
|
@@ -25185,11 +25337,11 @@ class DuetTabGroup {
|
|
|
25185
25337
|
} }, this.variation === "checked" ? (buttons) : (hAsync("div", { class: {
|
|
25186
25338
|
"duet-tab-group-scrollable-wrapper": true,
|
|
25187
25339
|
"duet-tab-group-fill-space-wrapper": this.fillSpace && this.variation === "default",
|
|
25188
|
-
} }, this.fillSpace && !this.stretch && this.variation === "default" && (hAsync("div", { class: "duet-scrollable-stretch-overlay" }, hAsync("div", { class: "background" }), hAsync("div", { class: "border" }))), hAsync("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)))), hAsync("div", { key: '
|
|
25340
|
+
} }, this.fillSpace && !this.stretch && this.variation === "default" && (hAsync("div", { class: "duet-scrollable-stretch-overlay" }, hAsync("div", { class: "background" }), hAsync("div", { class: "border" }))), hAsync("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)))), hAsync("div", { key: '91e042386356d5c7c7584ee8b93d1b65df78e41b', class: {
|
|
25189
25341
|
"duet-tab-group-content": true,
|
|
25190
25342
|
"duet-m-0": this.margin === "none",
|
|
25191
25343
|
"checked-group-content": this.variation === "checked",
|
|
25192
|
-
} }, hAsync("slot", { key: '
|
|
25344
|
+
} }, hAsync("slot", { key: 'a3cfe437f448fcaa8baf7c801814da9bf1eb744f' }))));
|
|
25193
25345
|
}
|
|
25194
25346
|
get element() { return getElement(this); }
|
|
25195
25347
|
static get style() { return duetTabGroupCss; }
|
|
@@ -25882,7 +26034,7 @@ class DuetTable {
|
|
|
25882
26034
|
}
|
|
25883
26035
|
}
|
|
25884
26036
|
render() {
|
|
25885
|
-
return (hAsync(Host, { key: '
|
|
26037
|
+
return (hAsync(Host, { key: '67be51f9c66e5e52789ede10d31aaa34da556e3b', class: {
|
|
25886
26038
|
[`duet-table-${this.variation}`]: true,
|
|
25887
26039
|
"duet-table-flattened": !this.matchesBreakpoint,
|
|
25888
26040
|
// sticky only valid when in regular table layout
|
|
@@ -25891,7 +26043,7 @@ class DuetTable {
|
|
|
25891
26043
|
"duet-m-0": this.margin === "none",
|
|
25892
26044
|
"duet-theme-turva": this.theme === "turva",
|
|
25893
26045
|
"duet-table-hide-head-visually": this.hideHeadVisually,
|
|
25894
|
-
} }, hAsync("slot", { key: '
|
|
26046
|
+
} }, hAsync("slot", { key: 'f20fd89d6078307f21e60a3c772e0719e78a94f7' })));
|
|
25895
26047
|
}
|
|
25896
26048
|
get element() { return getElement(this); }
|
|
25897
26049
|
static get watchers() { return {
|
|
@@ -26145,17 +26297,17 @@ class DuetTextarea {
|
|
|
26145
26297
|
*/
|
|
26146
26298
|
render() {
|
|
26147
26299
|
const identifier = this.identifier || this.textareaId;
|
|
26148
|
-
return (hAsync(Host, { key: '
|
|
26300
|
+
return (hAsync(Host, { key: 'f5f89ec4deb6832fb80b077eca0401ceae4f8bf8', class: {
|
|
26149
26301
|
"duet-m-0": this.margin === "none",
|
|
26150
26302
|
"duet-has-counter": this.counter && !this.error,
|
|
26151
26303
|
"duet-expand": this.expand,
|
|
26152
|
-
} }, hAsync("div", { key: '
|
|
26304
|
+
} }, hAsync("div", { key: '36131b2417d7eed326112df08c9736814bc90b8d', class: {
|
|
26153
26305
|
"duet-textarea-container": true,
|
|
26154
26306
|
"duet-theme-turva": this.theme === "turva",
|
|
26155
26307
|
"duet-label-hidden": this.labelHidden,
|
|
26156
26308
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
26157
26309
|
"has-error": !!this.error,
|
|
26158
|
-
} }, hAsync(DuetInternalLabel, { key: '
|
|
26310
|
+
} }, hAsync(DuetInternalLabel, { key: '0120ce299715ef884c1cc2f1e42373e5bcb0e7a7', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (hAsync("duet-tooltip", { key: '1b729cb1128299e33c70671aa55d5125ffcdc18a', direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), hAsync("slot", { key: '9072f184bc0244ec5fb2a2fe6719696028bb7d0b', name: "tooltip" }), this.caption && (hAsync("duet-caption", { key: '848706df1a73ce054a2b06f7c6e5510a21ff4a11', id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), hAsync("div", { key: '11ede29273d13f5ecb0ce24264096f387ec78c84', class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (hAsync("duet-caption", { key: '07ac46dc00428b32d11b7d5e3e5a1b3c4f2aad05', id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), hAsync("textarea", { key: '936fdccf8c2ad06a96579c790f044db2f5d9b17d', onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, ref: input => (this.nativeInput = input), class: { "duet-textarea": true, disabled: this.disabled }, value: this.value, disabled: this.disabled, "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, placeholder: this.placeholder, spellcheck: "false", required: this.required, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })), hAsync("duet-grid", { key: '5b42e4e2f4f76d45c40aa36caec99eaaa242586a', alignment: "stretch" }, hAsync("duet-grid-item", { key: '59fd223682e940aeefdf807a2cdfd724a503b8e5', margin: "none", fill: true }, hAsync("div", { key: '01d99f1d11d978925155a9d4856920780df240bf', class: "duet-textarea-help duet-textarea-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '5da5cc08fb85900d797232142167ce3be0f1cbb0' }, this.error))), hAsync("duet-grid-item", { key: '5124866d99a9a381afcb045edf709ae6df2f342b', margin: "none", class: "duet-character-count-caption" }, this.counter && (hAsync(CharacterCount, { key: 'eed9f6583984587452c6f0825dcfa801295f4c74', theme: this.theme, value: this.value, maxlength: this.maxlength, label: this.counterLabel })))), this.counter && (hAsync("duet-visually-hidden", { key: '3dd2f6aee58742d3ad84b9f213ee26a1d17c04ba', class: "duet-visually-hidden", id: this.characterCountId, ref: el => {
|
|
26159
26311
|
this.hiddenCounterLabel = el;
|
|
26160
26312
|
} })))));
|
|
26161
26313
|
}
|
|
@@ -26311,12 +26463,12 @@ class DuetToggle {
|
|
|
26311
26463
|
*/
|
|
26312
26464
|
render() {
|
|
26313
26465
|
const identifier = this.identifier || this.toggleId;
|
|
26314
|
-
return (hAsync(Host, { key: '
|
|
26466
|
+
return (hAsync(Host, { key: '1dd080e2157b99e6fa5b08148203be1318d2b842', onClick: this.disabled ? undefined : this.onClick, class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'c75404887077682a10ab2c936730230b67fbfd60', class: {
|
|
26315
26467
|
"duet-toggle": true,
|
|
26316
26468
|
"duet-theme-turva": this.theme === "turva",
|
|
26317
26469
|
"duet-side-label": this.labelPosition !== "top",
|
|
26318
26470
|
"duet-reverse-label": this.labelPosition === "right",
|
|
26319
|
-
} }, hAsync(DuetInternalLabel, { key: '
|
|
26471
|
+
} }, hAsync(DuetInternalLabel, { key: '729c25fde1456d487e6f469fb8fb9fb1f45a5bb9', theme: this.theme, color: this.labelColor, weight: this.labelWeight, for: identifier, margin: this.labelPosition === "top" ? "auto" : "none" }, this.label), hAsync("label", { key: '7a551eb3640c2ff849c18fa6d257cb8787e056e1', class: "duet-switch" }, hAsync("input", { key: '30c8f85f4938c0ee3b258d02446ce24c03664897', type: "checkbox", value: this.value, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, id: identifier, role: this.role, name: this.name, checked: this.checked, required: this.required, disabled: this.disabled, ref: input => (this.nativeInput = input) }), hAsync("div", { key: 'fe4a68e81538ba476056ee0aa98c50b7fbccbe98', class: "duet-slider" })))));
|
|
26320
26472
|
}
|
|
26321
26473
|
get element() { return getElement(this); }
|
|
26322
26474
|
static get watchers() { return {
|
|
@@ -26391,11 +26543,11 @@ class DuetToolbar {
|
|
|
26391
26543
|
: this.variation === "secondary"
|
|
26392
26544
|
? "secondary"
|
|
26393
26545
|
: "default";
|
|
26394
|
-
return (hAsync(Host, { key: '
|
|
26546
|
+
return (hAsync(Host, { key: 'd09fa625eaa0a62a319e2ce34e24dfd33007b353' }, hAsync("nav", { key: 'e0cefc23438745c64618d52fb2a7a842f65a8087', class: {
|
|
26395
26547
|
"duet-toolbar": true,
|
|
26396
26548
|
"duet-theme-turva": this.theme === "turva",
|
|
26397
26549
|
[variation]: true,
|
|
26398
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
26550
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '0f9047f89f861b03b53c9f7b24c975af3a846f0e', class: "container" }, hAsync("div", { key: '3476fceb8e8be124a473f4c959763c1da9aa27a5', class: "list", role: "list" }, hAsync("slot", { key: 'a18d367ca5aa63a9dfc969e3b6951bb63e45d1e9', name: "left" })), hAsync("div", { key: '6cc9f7958b933bc2ccd91b9d4711c0b4a446b469', class: "list", role: "list" }, hAsync("slot", { key: 'c850cff27a2b664300cc468c5bc255cb030db51c', name: "right" }))))));
|
|
26399
26551
|
}
|
|
26400
26552
|
get element() { return getElement(this); }
|
|
26401
26553
|
static get style() { return duetToolbarCss; }
|
|
@@ -26476,18 +26628,18 @@ class DuetToolbarDropdown {
|
|
|
26476
26628
|
itemsAlign = this.element.parentElement.getAttribute("slot") === "left" ? "right" : "left";
|
|
26477
26629
|
}
|
|
26478
26630
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
26479
|
-
return (hAsync(Host, { key: '
|
|
26631
|
+
return (hAsync(Host, { key: 'fa64118228a1c141fa9456b15e614613ed5ec29a', role: "listitem" }, hAsync("div", { key: 'cbb037e5087481045cd3563c550d870e882cbd87', class: {
|
|
26480
26632
|
"duet-toolbar-dropdown": true,
|
|
26481
26633
|
"duet-theme-turva": this.theme === "turva",
|
|
26482
26634
|
[itemsAlign]: true,
|
|
26483
26635
|
[variation]: true,
|
|
26484
|
-
} }, hAsync("button", { key: '
|
|
26636
|
+
} }, hAsync("button", { key: '7f6abecc182ebcbc6f1942de14c523846750119f', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, id: "button", type: "button", class: {
|
|
26485
26637
|
active: this.active,
|
|
26486
26638
|
open: this.open,
|
|
26487
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
26639
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '35525346c9e8c24119fafa21f73438e99c74e17d', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("span", { key: 'df334ca08fccecb1daaaf2e84b3a4c1fc355e3d5', class: "label" }, hAsync("slot", { key: '4ff5128d48d41cf7dae8bd1a6fc59b134621fc02', name: "label" }), hAsync("duet-icon", { key: '5292898bab697b524543d9a6285ba7a1d88f01d2', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '980dde4c37021bfff8c9f0d82efe3b647807f2c6', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
26488
26640
|
items: true,
|
|
26489
26641
|
hidden: !this.open,
|
|
26490
|
-
} }, hAsync("slot", { key: '
|
|
26642
|
+
} }, hAsync("slot", { key: 'de67c7723de372d3250c9933a1572f329b32314c' })))));
|
|
26491
26643
|
}
|
|
26492
26644
|
get element() { return getElement(this); }
|
|
26493
26645
|
static get style() { return duetToolbarDropdownCss; }
|
|
@@ -26553,11 +26705,11 @@ class DuetToolbarDropdownLink {
|
|
|
26553
26705
|
* Always the last one in the class.
|
|
26554
26706
|
*/
|
|
26555
26707
|
render() {
|
|
26556
|
-
return (hAsync(Host, { key: '
|
|
26708
|
+
return (hAsync(Host, { key: '2bf85e25fb52ce14c4379309850230fa5763014f' }, hAsync("a", { key: '6ae67ccccb29c4daac6b2b107a2b6c1ff9b1d554', class: {
|
|
26557
26709
|
"duet-toolbar-dropdown-link": true,
|
|
26558
26710
|
"duet-theme-turva": this.theme === "turva",
|
|
26559
26711
|
active: this.active,
|
|
26560
|
-
}, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "link menuitem", "aria-label": this.accessibleLabel, "aria-current": this.active ? "true" : "false", onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '
|
|
26712
|
+
}, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "link menuitem", "aria-label": this.accessibleLabel, "aria-current": this.active ? "true" : "false", onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: 'ffde6abcd4d9e925623445cacf0c5996c4b35a20', name: this.icon, size: "x-small", margin: "none" }), hAsync("span", { key: '24d31392d95a52029a75119c3f835e4915d214c7', class: "label" }, hAsync("slot", { key: '920ba82ac8e9c23acff11015c9ba336cc4a699e0' })), this.active && (hAsync("duet-icon", { key: '2b6f96f89947c64504220ce22f347aaaac32d7b1', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
26561
26713
|
}
|
|
26562
26714
|
get element() { return getElement(this); }
|
|
26563
26715
|
static get style() { return duetToolbarDropdownLinkCss; }
|
|
@@ -26660,17 +26812,17 @@ class DuetToolbarItem {
|
|
|
26660
26812
|
: this.variation === "secondary"
|
|
26661
26813
|
? "secondary"
|
|
26662
26814
|
: "default";
|
|
26663
|
-
return (hAsync(Host, { key: '
|
|
26815
|
+
return (hAsync(Host, { key: '162cf805e05ccc2afbe436132c6eea801ade6d91', role: "listitem" }, hAsync(TagName, { key: '56ade7a57f34340591df7e1b040a8478de805ae1', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
26664
26816
|
"duet-toolbar-item": true,
|
|
26665
26817
|
"duet-theme-turva": this.theme === "turva",
|
|
26666
26818
|
active: this.active,
|
|
26667
26819
|
[variation]: true,
|
|
26668
|
-
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("div", { key: '
|
|
26820
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("div", { key: '5ad00f6ebd929f86345eff8d567dca3c47e6b724', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: '7d876e02c1fa8c0702f497487fdc63fa28c9f19c', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && hAsync("div", { key: 'c23c6b7e24652198ee4bfa23b83dbbd769238ef8', class: "duet-toolbar-badge" }))), hAsync("slot", { key: 'e8e49955cbcee9ef19d74bb6a2bbe315504dd54e' }), (this.trailingIcon || (this.url && this.external)) && (hAsync("div", { key: '89abb2ae15dad5cc0775ffe3e432be5e35f20751', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: 'dcd41089541238143d30e109bdc28c6b03c20cbb', class: {
|
|
26669
26821
|
"trailing-icon": !!this.trailingIcon,
|
|
26670
26822
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
26671
26823
|
"external-icon": !!(this.url && this.external),
|
|
26672
26824
|
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
26673
|
-
}, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? newWindowIcon.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && hAsync("div", { key: '
|
|
26825
|
+
}, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? newWindowIcon.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && hAsync("div", { key: '0cfca44b60f68a885d83b230411954dc5fc42b5e', class: "duet-toolbar-badge" }))))));
|
|
26674
26826
|
}
|
|
26675
26827
|
get element() { return getElement(this); }
|
|
26676
26828
|
static get style() { return duetToolbarItemCss; }
|
|
@@ -26737,12 +26889,12 @@ class DuetToolbarLink {
|
|
|
26737
26889
|
*/
|
|
26738
26890
|
render() {
|
|
26739
26891
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
26740
|
-
return (hAsync(Host, { key: '
|
|
26892
|
+
return (hAsync(Host, { key: '3892831234a833b4a247d3de3f9a66c30135e5a2', role: "listitem" }, hAsync("a", { key: '7f8a8e206d7775ed92ab5936304cc4c4aea4147a', class: {
|
|
26741
26893
|
"duet-toolbar-link": true,
|
|
26742
26894
|
"duet-theme-turva": this.theme === "turva",
|
|
26743
26895
|
active: this.active,
|
|
26744
26896
|
[variation]: true,
|
|
26745
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
26897
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '8c58a04f9ee135ee12d4b32aee1c43d5b0e9f18b', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: 'c6a1605ebb2b6d099a87e430792730aceeb9230a' }))));
|
|
26746
26898
|
}
|
|
26747
26899
|
get element() { return getElement(this); }
|
|
26748
26900
|
static get style() { return duetToolbarLinkCss; }
|
|
@@ -27064,13 +27216,13 @@ class DuetTooltipButton {
|
|
|
27064
27216
|
* Always the last one in the class.
|
|
27065
27217
|
*/
|
|
27066
27218
|
render() {
|
|
27067
|
-
const visuallyHidden = hAsync("duet-visually-hidden", { key: '
|
|
27068
|
-
return (hAsync(Host, { key: '
|
|
27219
|
+
const visuallyHidden = hAsync("duet-visually-hidden", { key: '70a82f2c22f0f4f4550e15b1e7ec8c526e3c122e' }, this.accessibleLabel);
|
|
27220
|
+
return (hAsync(Host, { key: '19556e89ed879d642f95db9e14dfe6350af14858' }, hAsync("button", { key: '2b2fab3108b3575da91c00ad81a763d776476b28', ref: el => (this.buttonElement = el), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", type: "button", class: {
|
|
27069
27221
|
"duet-tooltip-button": true,
|
|
27070
27222
|
"duet-tooltip-button-has-label": !!this.label,
|
|
27071
27223
|
"duet-theme-turva": this.theme === "turva",
|
|
27072
27224
|
"duet-tooltip-button-negative": this.negative,
|
|
27073
|
-
} }, hAsync("svg", { key: '
|
|
27225
|
+
} }, hAsync("svg", { key: 'b665bf9fc4f777eed4e4e152c394adce11fc4f4e', "aria-hidden": "true", role: "img", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: '2f25f9fefa3c82c6f182507c79d3a9cf904fa009', d: "m13.5 17.25c-1.241 0-2.25-1.009-2.25-2.25v-3.75h-.75c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h.75c.827 0 1.5.673 1.5 1.5v3.75c0 .414.336.75.75.75h.75c.414 0 .75.336.75.75s-.336.75-.75.75z" }), hAsync("circle", { key: '2b0bea40ebef849a5faf6958f2d6da457180eaa1', cx: "11.625", cy: "7.125", r: "1.125" }), hAsync("path", { key: '44744f79a997b131473388d0e02347277d04c42e', d: "m12 24c-6.617 0-12-5.383-12-12s5.383-12 12-12 12 5.383 12 12-5.383 12-12 12zm0-22.5c-5.79 0-10.5 4.71-10.5 10.5s4.71 10.5 10.5 10.5 10.5-4.71 10.5-10.5-4.71-10.5-10.5-10.5z" })), this.label ? (hAsync("span", { class: "duet-tooltip-label" }, this.label, visuallyHidden)) : (visuallyHidden))));
|
|
27074
27226
|
}
|
|
27075
27227
|
get element() { return getElement(this); }
|
|
27076
27228
|
static get style() { return duetTooltipButtonCss; }
|
|
@@ -27135,11 +27287,11 @@ class DuetTooltipPopup {
|
|
|
27135
27287
|
this.contentEl.focus();
|
|
27136
27288
|
}
|
|
27137
27289
|
render() {
|
|
27138
|
-
return (hAsync(Host, { key: '
|
|
27290
|
+
return (hAsync(Host, { key: 'cf44855d08d69141e629987f9ba2fdccdcdc21d7' }, hAsync("div", { key: 'bf7580b8ecdf58b6c93c3c21cbb362234cc699b4', class: {
|
|
27139
27291
|
"duet-tooltip": true,
|
|
27140
27292
|
"duet-theme-turva": this.theme === "turva",
|
|
27141
27293
|
"duet-tooltip-active": this.active === true,
|
|
27142
|
-
} }, hAsync(FocusGuard, { key: '
|
|
27294
|
+
} }, hAsync(FocusGuard, { key: '6f5a516e23035e8e0b9c2951ef4a10243b564d17', moveFocusTo: this.buttonEl }), hAsync("div", { key: 'c41a0c3b305e6b7a2378ef026e62cf2317dafbae', ref: element => (this.contentEl = element), class: "duet-tooltip-content-area", tabindex: -1, id: this.tooltipId }, hAsync("slot", { key: '52b6fdbfbdcbcc8862deef3747e757c264d3ab48' })), hAsync("div", { key: '0d4dfae3f19140c33f0f3fb3d809fb4040709482', ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, hAsync("div", { key: '7d6908f726db2eccbc469cd001f90eda504f2a81', class: { "arrow-container": true, [this.placement]: true } })), hAsync("button", { key: '781903abe2564af32ae934ac36932d472c0f931a', type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick, ref: el => (this.buttonEl = el) }, hAsync("duet-icon", { key: '093d2ef20e77164379ca8fbd684c8df2a3b1b2a6', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), hAsync("duet-visually-hidden", { key: '75dd3160901c07c32af93259975321284e62bc90' }, this.accessibleCloseLabel)), hAsync(FocusGuard, { key: '9f838f645eff92ea829befb3acb4816d160179f3', moveFocusTo: this.contentEl }))));
|
|
27143
27295
|
}
|
|
27144
27296
|
get element() { return getElement(this); }
|
|
27145
27297
|
static get style() { return duetTooltipPopupCss; }
|
|
@@ -27288,14 +27440,14 @@ class DuetTray {
|
|
|
27288
27440
|
* Always the last one in the class.
|
|
27289
27441
|
*/
|
|
27290
27442
|
render() {
|
|
27291
|
-
return (hAsync("div", { key: '
|
|
27443
|
+
return (hAsync("div", { key: '4feb3ea8d6067ec6d82c6eaf9225fe6728bd4acc', class: {
|
|
27292
27444
|
"duet-tray": true,
|
|
27293
27445
|
"duet-tray-is-active": this.active,
|
|
27294
27446
|
"duet-tray-is-hidden": this.hiddenState,
|
|
27295
27447
|
"duet-tray-is-responsive": this.responsive,
|
|
27296
27448
|
"duet-theme-turva": this.theme === "turva",
|
|
27297
27449
|
"duet-tray-is-expandable": this.hasAdditionalContent,
|
|
27298
|
-
} }, hAsync("div", { key: '
|
|
27450
|
+
} }, hAsync("div", { key: 'c51904bcc9f3d0297da08c32952be7ea690bafc8', class: "duet-tray-default-content", role: "status" }, hAsync("slot", { key: '52e8b11bdf354f65b34fb1d6d2facbf636a01758' })), this.hasAdditionalContent && (hAsync(Fragment, { key: '86e6560df02094fcc7b7df9146c34c47923d89eb' }, hAsync("button", { key: '000c5472ff2f7f1a0ffe6e796817a51fcaecd856', "aria-expanded": this.expanded ? "true" : "false", "aria-controls": this.expandableId, onClick: ev => this.toggleExpandable(ev), class: { "duet-tray-button": true, "duet-tray-is-expanded": this.expanded } }, hAsync("duet-icon", { key: '02489a52896b40ce4916a3b6dfcdd40d36212251', name: "action-arrow-down", size: "small", color: "currentColor", margin: "none" }), hAsync("duet-visually-hidden", { key: '866528d950899fe557f6023f8f9ca79e9545fd15' }, this.expanded ? this.accessibleCloseLabel : this.accessibleOpenLabel)), hAsync("div", { key: 'c3400e3dda10617ffd45395e46247ef88a2157a8', id: this.expandableId, class: { "duet-tray-expandable": true, active: this.expanded } }, hAsync("div", { key: 'f2176a2e171dfae93254cba98d31e13855c3b0e5', class: "duet-tray-expandable-content" }, hAsync("slot", { key: '21d7e1276815c885a9832fcdb87ffbd96fe8a03c', name: "additional" })))))));
|
|
27299
27451
|
}
|
|
27300
27452
|
get element() { return getElement(this); }
|
|
27301
27453
|
static get style() { return duetTrayCss; }
|
|
@@ -28610,10 +28762,10 @@ class DuetUpload {
|
|
|
28610
28762
|
this.externalUploadButton.accessibleLabel = `${this.externalUploadButton.innerText}. ${caption}`;
|
|
28611
28763
|
}
|
|
28612
28764
|
// @ts-ignore
|
|
28613
|
-
return (hAsync(Host, { key: '
|
|
28765
|
+
return (hAsync(Host, { key: '778bd75c9be94d65bb9722e49f919ebe96d0232d', class: { "duet-m-0": this.margin === "none" } }, hAsync("duet-fieldset", { key: '86cb01a83aaa8b07b30a0dea14df211cba69f3ab', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label }, hAsync("slot", { key: '4bde3430f3d36cb1220fc12bbb801eafe70c4e91', name: "header" }), !this.files.size && (hAsync("duet-empty-state", { key: '3427abd455392d8063bd85a3396a831efc5f099e', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, hAsync("duet-paragraph", { key: '5c46fc6e79ad3427d705d237cbb7cbc271179c3f', margin: "none" }, this.fileListEmpty))), !!this.files.size && hAsync("slot", { key: 'bd7345b68ba7339c2163a07055bcd0195be06974', name: "fileheader" }), !!this.files.size && (hAsync("duet-upload-aria-status", { key: '3d4316e1a725d9c76b077d6f7af8f7e555070aa3', invalid: this.getFilesAsArray().invalid.length, valid: this.getFilesAsArray().valid.length, inprogress: this.filesInProgress.size, total: this.files.size, statusMessageLabel: this.internalStatusMessageLabel })), !!this.files.size && this.renderUploadedItems(), !!this.files.size && hAsync("slot", { key: '37e2422249ea697845dc47e1e793feef29927186', name: "filefooter" }), hAsync("slot", { key: '0056e0dd3847319978358fee188d82398c06c9a1', name: "uploadfooter" }), this.captionOnBottom && (hAsync("duet-caption", { key: '962a0485219f6a4a0d983d362860aa9caaecdd9c', margin: "none", size: "small" }, hAsync("div", { key: 'c0e53f5f8e508406eb2b79bc3aca2e6d9c91ac42', class: "upload-bottom-caption" }, caption))), hAsync("slot", { key: '7476632f57f0516caff8967a08d7c011c4859c21', name: "afterfooter" }), !this.hideButton && (hAsync(Fragment, { key: '3f7e814dd7256beee8db3e8393b837be7da1f8a8' }, hAsync("duet-spacer", { key: '8ef3e7422cfa406c721cdc843ad2625c64dd4f7b', size: "large" }), hAsync("duet-button", { key: 'b3af8fa02fea6339f92b3e5fe46b4259392357fa', id: this.buttonId, onClick: this.startUpload, "accessible-controls": identifier, disabled: this.fileMaxReached, "accessible-label": this.accessibleButtonLabel || `${this.buttonLabel}. ${caption}`, "accessible-owns": identifier, size: "small", variation: "secondary", fixed: true, icon: "action-add-circle", part: this.identifier ? `${this.identifier}-button-upload` : "duet-upload-button-upload" }, this.buttonLabel))), (this.fileMaxReached ||
|
|
28614
28766
|
this.bytesMaxReached ||
|
|
28615
28767
|
this.filesToUploadExceedsLimit ||
|
|
28616
|
-
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '
|
|
28768
|
+
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '51436c684d7830dac19f0cfac75b85b85945aaa9' }, hAsync("duet-spacer", { key: '5d32c83854ace51e13433bd001d936d61ffd2a3c', size: "medium" }), hAsync("duet-alert", { key: '97960577cf5e708740f6b68d6a7e242b696e7378', part: this.identifier ? `${this.identifier}-error-notification` : "duet-upload-error-notification" }, this.fileMaxReached && getI18nError("duet-upload-301", this.errorCodes), this.bytesMaxReached && getI18nError("duet-upload-202", this.errorCodes), this.filesToUploadExceedsLimit && getI18nError("duet-upload-302", this.errorCodes), this.filesToUploadTotalSizeIsAboveMax && getI18nError("duet-upload-203", this.errorCodes)))), hAsync("duet-visually-hidden", { key: 'd1063962b250be5515cf9e98738b0b2ddb437d80', "aria-hidden": "true" }, hAsync("input", { key: 'b7e46fbc27706de8c6159467c471c81834663b65', ref: input => {
|
|
28617
28769
|
this.nativeInput = input;
|
|
28618
28770
|
}, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
|
|
28619
28771
|
"duet-upload": true,
|
|
@@ -28955,7 +29107,7 @@ class DuetUploadAriaStatus {
|
|
|
28955
29107
|
* Always the last one in the class.
|
|
28956
29108
|
*/
|
|
28957
29109
|
render() {
|
|
28958
|
-
return (hAsync(Host, { key: '
|
|
29110
|
+
return (hAsync(Host, { key: '2084d67e27f201170cb0915e97235481a8f42ff6', role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, hAsync("duet-visually-hidden", { key: 'f774f8926c1f2500866e4b50781cf83a1263b0c2' }, this.statusMessage)));
|
|
28959
29111
|
}
|
|
28960
29112
|
get element() { return getElement(this); }
|
|
28961
29113
|
static get watchers() { return {
|
|
@@ -29135,9 +29287,9 @@ class DuetUploadItem {
|
|
|
29135
29287
|
const { uid, meta, item } = this.data;
|
|
29136
29288
|
const Badges = meta && meta.badges ? (hAsync("span", null, meta.badges.map(badgeText => (hAsync("duet-badge", { color: "primary" }, badgeText))))) : undefined;
|
|
29137
29289
|
const actionDescription = `${meta && meta.badges ? meta.badges.join(",") : ""} ${item.name}`;
|
|
29138
|
-
return (hAsync("div", { key: '
|
|
29290
|
+
return (hAsync("div", { key: 'd5e5d2db3667a4f6011411a27fef2f9b45108f8e', class: {
|
|
29139
29291
|
"upload-item-row": true,
|
|
29140
|
-
} }, this.showCategory && (hAsync("div", { key: '
|
|
29292
|
+
} }, this.showCategory && (hAsync("div", { key: '1ab11fe55d884a902497e0e3af8126f4b007af5f', class: "item-categories" }, hAsync("duet-heading", { key: 'f035ab2fdb44c04d6e2d8747caee034db92325bc', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), hAsync("div", { key: 'e9eebcc83bcaac3a8eeb8fd441f6663cd43be213', class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (hAsync("duet-heading", { key: '4e18a21c1e78c6af26e4728635930b83de247593', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), hAsync("div", { key: '3b1ee538c1f5e43ff3cd35f99bcb2a565e5e68e2', class: "item-actions" }, this.actions.map(actionItem => {
|
|
29141
29293
|
return (hAsync("duet-action-button", { actionMeta: Object.assign({}, meta || {}), actionId: uid || null, actionName: actionItem.name, theme: this.theme, iconName: actionItem.icon, iconColor: actionItem.color, iconSize: actionItem.size, background: actionItem.background, "accessible-label": `${actionDescription} ${getLocaleString(actionItem.label)} `, accessibleTitle: this.getActionButtonTitle(actionItem), ref: button => (this.actionButton = button) }));
|
|
29142
29294
|
}))));
|
|
29143
29295
|
}
|
|
@@ -29177,7 +29329,7 @@ class DuetVisuallyHidden {
|
|
|
29177
29329
|
* Always the last one in the class.
|
|
29178
29330
|
*/
|
|
29179
29331
|
render() {
|
|
29180
|
-
return (hAsync(Host, { key: '
|
|
29332
|
+
return (hAsync(Host, { key: '2ac2536c5fb762954d328da1080105d92292c8b4', class: "duet-visually-hidden" }, hAsync("slot", { key: '4f58c2bdca5f9d629586174be225448f22662155' })));
|
|
29181
29333
|
}
|
|
29182
29334
|
get element() { return getElement(this); }
|
|
29183
29335
|
static get style() { return duetVisuallyHiddenCss; }
|
|
@@ -29245,6 +29397,7 @@ registerComponents([
|
|
|
29245
29397
|
DuetOverlay,
|
|
29246
29398
|
DuetPageHeading,
|
|
29247
29399
|
DuetPagination,
|
|
29400
|
+
DuetPanel,
|
|
29248
29401
|
DuetParagraph,
|
|
29249
29402
|
DuetPhoneInput,
|
|
29250
29403
|
DuetPopupMenu,
|