@duetds/components 10.0.0-alpha.25 → 10.0.0-alpha.27
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 +460 -329
- package/hydrate/index.mjs +460 -329
- package/lib/cjs/{a11y-utils-BeS3x4Hg.js → a11y-utils-B33qnv_c.js} +1 -1
- package/lib/cjs/{app-globals-BvljEFtV.js → app-globals-DxEBgBDv.js} +1 -1
- package/lib/cjs/{common-strings-DQ3xONmA.js → common-strings-CSqtNIxt.js} +23 -0
- package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-alert.cjs.entry.js +24 -33
- package/lib/cjs/duet-badge.cjs.entry.js +16 -4
- package/lib/cjs/duet-banner.cjs.entry.js +19 -8
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +7 -7
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +5 -5
- package/lib/cjs/duet-button_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-callout.cjs.entry.js +5 -5
- package/lib/cjs/duet-caption_4.cjs.entry.js +11 -11
- package/lib/cjs/duet-card.cjs.entry.js +14 -8
- 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 +4 -4
- package/lib/cjs/duet-choice_2.cjs.entry.js +36 -29
- 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 +19 -9
- package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +8 -8
- 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 +5 -5
- package/lib/cjs/duet-grid_2.cjs.entry.js +11 -10
- package/lib/cjs/duet-header_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-hero.cjs.entry.js +6 -6
- package/lib/cjs/duet-icon.cjs.entry.js +5 -5
- package/lib/cjs/duet-indicator.cjs.entry.js +53 -0
- package/lib/cjs/duet-input_2.cjs.entry.js +11 -11
- package/lib/cjs/duet-layout.cjs.entry.js +7 -7
- package/lib/cjs/duet-list_2.cjs.entry.js +5 -5
- 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 +8 -8
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar.cjs.entry.js +6 -6
- package/lib/cjs/duet-modal.cjs.entry.js +13 -13
- package/lib/cjs/duet-multiselect.cjs.entry.js +10 -10
- package/lib/cjs/duet-nav.cjs.entry.js +3 -3
- package/lib/cjs/duet-notification_2.cjs.entry.js +9 -9
- package/lib/cjs/duet-number-input.cjs.entry.js +6 -6
- package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
- package/lib/cjs/duet-page-heading.cjs.entry.js +4 -4
- package/lib/cjs/duet-pagination_2.cjs.entry.js +16 -16
- package/lib/cjs/duet-panel.cjs.entry.js +4 -4
- package/lib/cjs/duet-phone-input.cjs.entry.js +22 -7
- 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 +5 -5
- 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 +30 -25
- 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 +8 -6
- package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-link.cjs.entry.js +9 -9
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +7 -7
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +14 -19
- 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 +7 -7
- 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 +7 -7
- 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 +10 -10
- 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-CwTzu57-.js → errorcodes.utils-D9V4NJkh.js} +1 -1
- package/lib/cjs/{focus-utils-Dh4b8BiX.js → focus-utils-2MQWj2yf.js} +1 -1
- package/lib/cjs/{index-D3O_5Hr7.js → index-CgbT-GDe.js} +5 -1
- package/lib/cjs/{label-8AXhdqJy.js → label-B2EZulEI.js} +1 -1
- package/lib/cjs/{language-utils-CMK9eR4Q.js → language-utils-DjVt82-o.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-BIdgEejh.js → slot-utils-mZWWDERy.js} +1 -1
- package/lib/cjs/{themeable-component-B3llZmjN.js → themeable-component-DtTN09xK.js} +1 -1
- package/lib/collection/collection-manifest.json +1 -0
- package/lib/collection/common-strings.js +22 -0
- package/lib/collection/components/duet-alert/duet-alert.js +21 -30
- package/lib/collection/components/duet-badge/duet-badge.js +13 -2
- package/lib/collection/components/duet-banner/duet-banner.css +27 -0
- package/lib/collection/components/duet-banner/duet-banner.js +15 -4
- 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-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-card/duet-card.css +12 -3
- package/lib/collection/components/duet-card/duet-card.js +36 -4
- package/lib/collection/components/duet-chip/duet-chip.css +6 -6
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice/duet-choice.css +4 -4
- package/lib/collection/components/duet-choice/duet-choice.js +6 -27
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +24 -15
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-date-picker/date-picker-day.js +6 -1
- package/lib/collection/components/duet-date-picker/date-utils.js +6 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +2 -2
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-grid/duet-grid.js +7 -6
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
- package/lib/collection/components/duet-heading/duet-heading.css +1 -0
- package/lib/collection/components/duet-hero/duet-hero.css +282 -0
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-indicator/duet-indicator.css +46 -0
- package/lib/collection/components/duet-indicator/duet-indicator.js +104 -0
- package/lib/collection/components/duet-input/duet-input.js +8 -8
- package/lib/collection/components/duet-layout/duet-layout.js +5 -5
- package/lib/collection/components/duet-link/duet-link.js +2 -2
- package/lib/collection/components/duet-list/duet-list.js +1 -1
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
- 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 +7 -7
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.css +4 -15
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +0 -15
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
- package/lib/collection/components/duet-number-input/duet-number-input.js +2 -2
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
- package/lib/collection/components/duet-panel/duet-panel.js +2 -2
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
- package/lib/collection/components/duet-phone-input/duet-phone-input.js +56 -3
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +6 -6
- 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 +4 -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.css +26 -19
- package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +2 -2
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +3 -3
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +16 -22
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +9 -14
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +2 -2
- 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 +53 -3
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +6 -61
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +15 -13
- 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.css +9 -14
- 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/duet/duet.esm.js +1 -1
- package/lib/duet/{p-83f6beb5.entry.js → p-0528f691.entry.js} +1 -1
- package/lib/duet/{p-fb3b8e0f.entry.js → p-076d2d0d.entry.js} +1 -1
- package/lib/duet/p-1228299f.entry.js +4 -0
- package/lib/duet/{p-37222c50.entry.js → p-15d4751c.entry.js} +1 -1
- package/lib/duet/p-167290f7.entry.js +4 -0
- package/lib/duet/p-1995091e.entry.js +4 -0
- package/lib/duet/{p-DyXNfxdT.js → p-1s1EpusX.js} +1 -1
- package/lib/duet/p-208fdfe6.entry.js +4 -0
- package/lib/duet/p-25ebe6a5.entry.js +4 -0
- package/lib/duet/{p-c6479694.entry.js → p-26146512.entry.js} +1 -1
- package/lib/duet/p-263790e3.entry.js +4 -0
- package/lib/duet/p-2c976b5a.entry.js +4 -0
- package/lib/duet/p-338667ab.entry.js +4 -0
- package/lib/duet/{p-7a9f3475.entry.js → p-3389969d.entry.js} +1 -1
- package/lib/duet/{p-30ade10d.entry.js → p-39087512.entry.js} +1 -1
- package/lib/duet/{p-402c8cd9.entry.js → p-3c7ba14f.entry.js} +1 -1
- package/lib/duet/p-3d3aff4c.entry.js +4 -0
- package/lib/duet/p-3facac5a.entry.js +4 -0
- package/lib/duet/{p-ec6e097b.entry.js → p-4107efb5.entry.js} +1 -1
- package/lib/duet/p-41dd144f.entry.js +4 -0
- package/lib/duet/{p-c8308bec.entry.js → p-4289c214.entry.js} +1 -1
- package/lib/duet/p-46eaee49.entry.js +4 -0
- package/lib/duet/p-493d938a.entry.js +4 -0
- package/lib/duet/{p-9973c0dc.entry.js → p-4b032feb.entry.js} +1 -1
- package/lib/duet/{p-64f8d654.entry.js → p-4f638a3d.entry.js} +1 -1
- package/lib/duet/{p-04ce95ba.entry.js → p-503a290b.entry.js} +1 -1
- package/lib/duet/p-50afabfb.entry.js +4 -0
- package/lib/duet/p-537d3b11.entry.js +4 -0
- package/lib/duet/{p-72c2ba6b.entry.js → p-55a63695.entry.js} +1 -1
- package/lib/duet/{p-35ac072d.entry.js → p-59cd72fc.entry.js} +1 -1
- package/lib/duet/{p-06ed84cb.entry.js → p-5a8f14cf.entry.js} +1 -1
- package/lib/duet/{p-73ce0ef8.entry.js → p-5b2527f7.entry.js} +1 -1
- package/lib/duet/p-5efda812.entry.js +4 -0
- package/lib/duet/{p-a440c5b3.entry.js → p-61105f0d.entry.js} +1 -1
- package/lib/duet/{p-dee8ff90.entry.js → p-6943a2ef.entry.js} +1 -1
- package/lib/duet/p-6a95d722.entry.js +4 -0
- package/lib/duet/{p-4628e002.entry.js → p-6fe283f7.entry.js} +1 -1
- package/lib/duet/p-72c7db64.entry.js +4 -0
- package/lib/duet/{p-9a1f29ac.entry.js → p-7379c2ed.entry.js} +1 -1
- package/lib/duet/p-75fd0eca.entry.js +4 -0
- package/lib/duet/{p-6aa6ce7d.entry.js → p-79c93372.entry.js} +1 -1
- package/lib/duet/{p-2057cc55.entry.js → p-7ace4629.entry.js} +1 -1
- package/lib/duet/p-875dd701.entry.js +4 -0
- package/lib/duet/{p-867aab83.entry.js → p-8ff78f91.entry.js} +1 -1
- package/lib/duet/{p-64ebf5e9.entry.js → p-91f39296.entry.js} +1 -1
- package/lib/duet/{p-71a6b137.entry.js → p-931b4437.entry.js} +1 -1
- package/lib/duet/{p-d2ceafd6.entry.js → p-9500f26b.entry.js} +1 -1
- package/lib/duet/{p-3dd4fbf1.entry.js → p-950c4ec0.entry.js} +1 -1
- package/lib/duet/{p-ab0cd4e5.entry.js → p-9af77c24.entry.js} +1 -1
- package/lib/duet/{p-4aece4f9.entry.js → p-9f9576a2.entry.js} +1 -1
- package/lib/duet/p-BSOF0zb5.js +4 -0
- package/lib/duet/p-BWvtXbhA.js +4 -0
- package/lib/duet/{p-DdwVwK5C.js → p-BXJZKiJg.js} +1 -1
- package/lib/duet/p-Cq7Ixl9a.js +4 -0
- package/lib/duet/p-DejMEymG.js +4 -0
- package/lib/duet/{p-T5kkooky.js → p-G09pKpI-.js} +1 -1
- package/lib/duet/{p-BaR6ufr4.js → p-Ob09ol4-.js} +1 -1
- package/lib/duet/p-a0e708db.entry.js +4 -0
- package/lib/duet/{p-e9421a0e.entry.js → p-a274b8fd.entry.js} +1 -1
- package/lib/duet/p-a431d704.entry.js +4 -0
- package/lib/duet/{p-71603edd.entry.js → p-a582e823.entry.js} +1 -1
- package/lib/duet/p-a9094bdc.entry.js +4 -0
- package/lib/duet/{p-625347d3.entry.js → p-a94cc8a6.entry.js} +1 -1
- package/lib/duet/p-aWO-HcmJ.js +4 -0
- package/lib/duet/p-ab61831a.entry.js +4 -0
- package/lib/duet/{p-5564a39c.entry.js → p-b001a8a4.entry.js} +1 -1
- package/lib/duet/{p-d96af9c9.entry.js → p-b025df86.entry.js} +1 -1
- package/lib/duet/{p-15593e3e.entry.js → p-b2780442.entry.js} +1 -1
- package/lib/duet/{p-0ebeee02.entry.js → p-b37b1542.entry.js} +1 -1
- package/lib/duet/{p-bcbe4d11.entry.js → p-b6354004.entry.js} +1 -1
- package/lib/duet/{p-a09c6e42.entry.js → p-ba6dc53e.entry.js} +1 -1
- package/lib/duet/{p-6a6e4d82.entry.js → p-babbf633.entry.js} +1 -1
- package/lib/duet/{p-a72b8cf4.entry.js → p-bc7d4da0.entry.js} +1 -1
- package/lib/duet/{p-2e34dd28.entry.js → p-bed6b29f.entry.js} +1 -1
- package/lib/duet/{p-ba2b47d3.entry.js → p-c43669b3.entry.js} +1 -1
- package/lib/duet/{p-a4a768bf.entry.js → p-c4fe8bae.entry.js} +1 -1
- package/lib/duet/{p-9fff2189.entry.js → p-c516bf93.entry.js} +1 -1
- package/lib/duet/{p-d0f3a2e6.entry.js → p-c588fc15.entry.js} +1 -1
- package/lib/duet/p-c745c02a.entry.js +4 -0
- package/lib/duet/{p-67290546.entry.js → p-ca2fd9dc.entry.js} +1 -1
- package/lib/duet/{p-652eefa8.entry.js → p-cbedc26b.entry.js} +1 -1
- package/lib/duet/{p-2d3d11db.entry.js → p-cd4d12c2.entry.js} +1 -1
- package/lib/duet/{p-65a8dd89.entry.js → p-d11b094d.entry.js} +1 -1
- package/lib/duet/{p-774cf9f5.entry.js → p-d65a706f.entry.js} +1 -1
- package/lib/duet/{p-466ef37c.entry.js → p-deb90dc7.entry.js} +1 -1
- package/lib/duet/p-e439d733.entry.js +4 -0
- package/lib/duet/p-e882bbb5.entry.js +4 -0
- package/lib/duet/{p-5ab64521.entry.js → p-ed5f5c6b.entry.js} +1 -1
- package/lib/duet/{p-7c814d9a.entry.js → p-ef821bec.entry.js} +1 -1
- package/lib/duet/p-f46480c6.entry.js +4 -0
- package/lib/duet/{p-66c7af01.entry.js → p-f6b76f66.entry.js} +1 -1
- package/lib/duet/{p-94e33308.entry.js → p-fc7d6429.entry.js} +1 -1
- package/lib/duet/{p-693fda6b.entry.js → p-fd989bd6.entry.js} +1 -1
- package/lib/duet/{p-bf5fae27.entry.js → p-fe29dee3.entry.js} +1 -1
- package/lib/duet/{p-2792ec0b.entry.js → p-fe393084.entry.js} +1 -1
- package/lib/duet/{p-B_VBeM3r.js → p-vt84lkeQ.js} +1 -1
- package/lib/esm/{a11y-utils-CXqm1pj1.js → a11y-utils-CROKOfOD.js} +1 -1
- package/lib/esm/{app-globals-s-_CGo5t.js → app-globals-CahJi_2c.js} +1 -1
- package/lib/esm/{common-strings-MxsWrBCY.js → common-strings-BWvtXbhA.js} +23 -1
- package/lib/esm/duet-action-button.entry.js +3 -3
- package/lib/esm/duet-alert.entry.js +24 -33
- package/lib/esm/duet-badge.entry.js +16 -4
- package/lib/esm/duet-banner.entry.js +19 -8
- package/lib/esm/duet-breadcrumb.entry.js +7 -7
- package/lib/esm/duet-breadcrumbs.entry.js +5 -5
- package/lib/esm/duet-button_2.entry.js +6 -6
- package/lib/esm/duet-callout.entry.js +5 -5
- package/lib/esm/duet-caption_4.entry.js +11 -11
- package/lib/esm/duet-card.entry.js +14 -8
- 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 +4 -4
- package/lib/esm/duet-choice_2.entry.js +36 -29
- 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 +19 -9
- package/lib/esm/duet-divider_2.entry.js +3 -3
- package/lib/esm/duet-editable-table_3.entry.js +8 -8
- 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 +5 -5
- package/lib/esm/duet-grid_2.entry.js +11 -10
- package/lib/esm/duet-header_2.entry.js +5 -5
- package/lib/esm/duet-hero.entry.js +6 -6
- package/lib/esm/duet-icon.entry.js +5 -5
- package/lib/esm/duet-indicator.entry.js +51 -0
- package/lib/esm/duet-input_2.entry.js +11 -11
- package/lib/esm/duet-layout.entry.js +7 -7
- package/lib/esm/duet-list_2.entry.js +5 -5
- 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 +8 -8
- package/lib/esm/duet-menu-bar-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar.entry.js +6 -6
- package/lib/esm/duet-modal.entry.js +13 -13
- package/lib/esm/duet-multiselect.entry.js +10 -10
- package/lib/esm/duet-nav.entry.js +3 -3
- package/lib/esm/duet-notification_2.entry.js +9 -9
- package/lib/esm/duet-number-input.entry.js +6 -6
- package/lib/esm/duet-overlay.entry.js +3 -3
- package/lib/esm/duet-page-heading.entry.js +4 -4
- package/lib/esm/duet-pagination_2.entry.js +16 -16
- package/lib/esm/duet-panel.entry.js +4 -4
- package/lib/esm/duet-phone-input.entry.js +22 -7
- package/lib/esm/duet-popup-menu_2.entry.js +6 -6
- package/lib/esm/duet-progress.entry.js +3 -3
- package/lib/esm/duet-promo-card.entry.js +5 -5
- package/lib/esm/duet-radio_2.entry.js +7 -7
- package/lib/esm/duet-range-slider.entry.js +6 -6
- package/lib/esm/duet-scrollable_3.entry.js +30 -25
- 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 -6
- package/lib/esm/duet-show-more.entry.js +5 -5
- package/lib/esm/duet-slideout-lang.entry.js +5 -5
- package/lib/esm/duet-slideout-link.entry.js +9 -9
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +7 -7
- package/lib/esm/duet-slideout-panel.entry.js +14 -19
- package/lib/esm/duet-slideout.entry.js +10 -10
- package/lib/esm/duet-status-icon.entry.js +3 -3
- package/lib/esm/duet-step_2.entry.js +7 -7
- 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 +7 -7
- 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 +10 -10
- package/lib/esm/duet-toolbar-link.entry.js +4 -4
- package/lib/esm/duet-toolbar.entry.js +4 -4
- package/lib/esm/duet-tooltip-button_2.entry.js +8 -8
- package/lib/esm/duet-tooltip.entry.js +4 -4
- package/lib/esm/duet-tray.entry.js +5 -5
- package/lib/esm/duet-upload-aria-status.entry.js +2 -2
- package/lib/esm/duet-upload-item.entry.js +6 -6
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-Bre55Njd.js → errorcodes.utils-6V_f8y5q.js} +1 -1
- package/lib/esm/{focus-utils-vvgYykmM.js → focus-utils-CErdQceY.js} +1 -1
- package/lib/esm/{index-B_VBeM3r.js → index-vt84lkeQ.js} +5 -1
- package/lib/esm/{label-l-Eza5H3.js → label-BosP5JdK.js} +1 -1
- package/lib/esm/{language-utils-B7PXWqpg.js → language-utils-B9dLrWKg.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-aDCRCdc4.js → slot-utils-BZXZ33TK.js} +1 -1
- package/lib/esm/{themeable-component-DPqozkF4.js → themeable-component-CsnFpp6R.js} +1 -1
- package/lib/types/common-strings.d.ts +2 -0
- package/lib/types/components/duet-alert/duet-alert.d.ts +5 -2
- package/lib/types/components/duet-badge/duet-badge.d.ts +1 -0
- package/lib/types/components/duet-banner/duet-banner.d.ts +2 -0
- package/lib/types/components/duet-card/duet-card.d.ts +6 -0
- package/lib/types/components/duet-choice/duet-choice.d.ts +0 -4
- package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +2 -2
- package/lib/types/components/duet-indicator/duet-indicator.d.ts +17 -0
- package/lib/types/components/duet-input/duet-input.d.ts +0 -2
- package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +14 -0
- package/lib/types/components/duet-tab/duet-tab.d.ts +10 -0
- package/lib/types/components.d.ts +87 -15
- package/package.json +3 -3
- package/lib/duet/p-05766552.entry.js +0 -4
- package/lib/duet/p-065f7e81.entry.js +0 -4
- package/lib/duet/p-08ed76c2.entry.js +0 -4
- package/lib/duet/p-0a448068.entry.js +0 -4
- package/lib/duet/p-0dc4fe1d.entry.js +0 -4
- package/lib/duet/p-106d3089.entry.js +0 -4
- package/lib/duet/p-28a998f9.entry.js +0 -4
- package/lib/duet/p-39169420.entry.js +0 -4
- package/lib/duet/p-4ee576a2.entry.js +0 -4
- package/lib/duet/p-500d799b.entry.js +0 -4
- package/lib/duet/p-5848a34c.entry.js +0 -4
- package/lib/duet/p-60be3836.entry.js +0 -4
- package/lib/duet/p-73290da8.entry.js +0 -4
- package/lib/duet/p-767afcf4.entry.js +0 -4
- package/lib/duet/p-7f1fb1a9.entry.js +0 -4
- package/lib/duet/p-8596c993.entry.js +0 -4
- package/lib/duet/p-86b74914.entry.js +0 -4
- package/lib/duet/p-8ed6f7c7.entry.js +0 -4
- package/lib/duet/p-960f95b4.entry.js +0 -4
- package/lib/duet/p-9fade6a0.entry.js +0 -4
- package/lib/duet/p-BdUQgQFn.js +0 -4
- package/lib/duet/p-DzerL_yn.js +0 -4
- package/lib/duet/p-KocOARXM.js +0 -4
- package/lib/duet/p-MxsWrBCY.js +0 -4
- package/lib/duet/p-OdY4DjJa.js +0 -4
- package/lib/duet/p-a3a2e89e.entry.js +0 -4
- package/lib/duet/p-aefcd222.entry.js +0 -4
- package/lib/duet/p-b84ac47b.entry.js +0 -4
- package/lib/duet/p-ba0fcce1.entry.js +0 -4
- package/lib/duet/p-baeb1090.entry.js +0 -4
- package/lib/duet/p-d28a8bc4.entry.js +0 -4
- package/lib/duet/p-effefdec.entry.js +0 -4
|
@@ -53,10 +53,11 @@ export class DuetGrid {
|
|
|
53
53
|
* @returns {number}
|
|
54
54
|
*/
|
|
55
55
|
outerHeight(element) {
|
|
56
|
-
const height = element.offsetHeight
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
56
|
+
const height = element.offsetHeight;
|
|
57
|
+
const style = window.getComputedStyle(element);
|
|
58
|
+
const topMargin = parseInt(style.marginTop);
|
|
59
|
+
const bottomMargin = parseInt(style.marginBottom);
|
|
60
|
+
return topMargin + height + bottomMargin;
|
|
60
61
|
}
|
|
61
62
|
debounceWindowResizeHandler() {
|
|
62
63
|
debounce(this.updateGridItemsWithInputFields, 100);
|
|
@@ -184,7 +185,7 @@ export class DuetGrid {
|
|
|
184
185
|
* Always the last one in the class.
|
|
185
186
|
*/
|
|
186
187
|
render() {
|
|
187
|
-
return (h(Host, { key: '
|
|
188
|
+
return (h(Host, { key: '2bb3d9243ec7a125fb661965f3cbaf286783b81d', class: {
|
|
188
189
|
"duet-grid": true,
|
|
189
190
|
"duet-no-stacking": !this.responsive,
|
|
190
191
|
"duet-grid-align-top": this.alignment === "top", // flex-start
|
|
@@ -211,7 +212,7 @@ export class DuetGrid {
|
|
|
211
212
|
"duet-grid-row-reverse": this.rowReverse,
|
|
212
213
|
[`duet-grid-variation-${this.gridTemplate ? "grid" : "flex"}`]: true,
|
|
213
214
|
[`duet-grid-template-${this.gridTemplate}`]: true,
|
|
214
|
-
} }, h("slot", { key: '
|
|
215
|
+
} }, h("slot", { key: 'c24fa9a1a433f68a451601ab0313149b4c2cd13d' })));
|
|
215
216
|
}
|
|
216
217
|
static get is() { return "duet-grid"; }
|
|
217
218
|
static get encapsulation() { return "shadow"; }
|
|
@@ -53,7 +53,7 @@ export class DuetGridItem {
|
|
|
53
53
|
* Always the last one in the class.
|
|
54
54
|
*/
|
|
55
55
|
render() {
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: 'cd699b121a356a4998001457a43186fcc2c75f29', style: {
|
|
57
57
|
"min-width": this.minWidth,
|
|
58
58
|
"max-width": this.maxWidth,
|
|
59
59
|
}, class: {
|
|
@@ -70,7 +70,7 @@ export class DuetGridItem {
|
|
|
70
70
|
"duet-grid-item-br-medium": this.breakpoint === "medium",
|
|
71
71
|
"duet-grid-item-br-large": this.breakpoint === "large",
|
|
72
72
|
"duet-grid-item-br-x-large": this.breakpoint === "x-large",
|
|
73
|
-
} }, h("slot", { key: '
|
|
73
|
+
} }, h("slot", { key: 'c5bf503f54cdf776eb9ee3f975d09925f61e0922' })));
|
|
74
74
|
}
|
|
75
75
|
static get is() { return "duet-grid-item"; }
|
|
76
76
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1778,6 +1778,288 @@ duet-heading + duet-button {
|
|
|
1778
1778
|
:host(.duet-theme-turva2) .duet-hero.duet-hero-gray.duet-theme-turva {
|
|
1779
1779
|
background: #f5f6f7;
|
|
1780
1780
|
}
|
|
1781
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-campaign .duet-hero-heading, :host(.duet-theme-turva2) .duet-hero.duet-hero-section .duet-hero-heading {
|
|
1782
|
+
margin-bottom: 2rem;
|
|
1783
|
+
}
|
|
1784
|
+
@media (min-width: 22.5em) {
|
|
1785
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-campaign .duet-hero-heading, :host(.duet-theme-turva2) .duet-hero.duet-hero-section .duet-hero-heading {
|
|
1786
|
+
margin-bottom: 2rem;
|
|
1787
|
+
}
|
|
1788
|
+
}
|
|
1789
|
+
@media (min-width: 36em) {
|
|
1790
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-campaign .duet-hero-heading, :host(.duet-theme-turva2) .duet-hero.duet-hero-section .duet-hero-heading {
|
|
1791
|
+
margin-bottom: 4rem;
|
|
1792
|
+
}
|
|
1793
|
+
}
|
|
1794
|
+
@media (min-width: 48em) {
|
|
1795
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-campaign .duet-hero-heading, :host(.duet-theme-turva2) .duet-hero.duet-hero-section .duet-hero-heading {
|
|
1796
|
+
margin-bottom: 6rem;
|
|
1797
|
+
}
|
|
1798
|
+
}
|
|
1799
|
+
@media (min-width: 62em) {
|
|
1800
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-campaign .duet-hero-heading, :host(.duet-theme-turva2) .duet-hero.duet-hero-section .duet-hero-heading {
|
|
1801
|
+
margin-bottom: 7rem;
|
|
1802
|
+
}
|
|
1803
|
+
}
|
|
1804
|
+
@media (min-width: 76.25em) {
|
|
1805
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-campaign .duet-hero-heading, :host(.duet-theme-turva2) .duet-hero.duet-hero-section .duet-hero-heading {
|
|
1806
|
+
margin-bottom: 8rem;
|
|
1807
|
+
}
|
|
1808
|
+
}
|
|
1809
|
+
@media (min-width: 106.25em) {
|
|
1810
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-campaign .duet-hero-heading, :host(.duet-theme-turva2) .duet-hero.duet-hero-section .duet-hero-heading {
|
|
1811
|
+
margin-botton: 9rem;
|
|
1812
|
+
}
|
|
1813
|
+
}
|
|
1814
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-campaign .background-area .brand-shape, :host(.duet-theme-turva2) .duet-hero.duet-hero-section .background-area .brand-shape {
|
|
1815
|
+
background-color: rgb(255, 255, 255);
|
|
1816
|
+
border-radius: 24px;
|
|
1817
|
+
mask-image: none;
|
|
1818
|
+
}
|
|
1819
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product {
|
|
1820
|
+
display: flex;
|
|
1821
|
+
flex-direction: column;
|
|
1822
|
+
gap: 20px;
|
|
1823
|
+
min-height: auto;
|
|
1824
|
+
padding-top: 0;
|
|
1825
|
+
padding-bottom: 72px;
|
|
1826
|
+
margin: 0 auto;
|
|
1827
|
+
}
|
|
1828
|
+
@media (min-width: 62em) {
|
|
1829
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product {
|
|
1830
|
+
flex-direction: row-reverse;
|
|
1831
|
+
gap: 40px;
|
|
1832
|
+
padding-top: 72px;
|
|
1833
|
+
padding-right: 56px;
|
|
1834
|
+
padding-left: 56px;
|
|
1835
|
+
}
|
|
1836
|
+
}
|
|
1837
|
+
@media (min-width: 76.25em) {
|
|
1838
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product {
|
|
1839
|
+
max-width: 1110px;
|
|
1840
|
+
padding-right: 0;
|
|
1841
|
+
padding-left: 0;
|
|
1842
|
+
}
|
|
1843
|
+
}
|
|
1844
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area {
|
|
1845
|
+
position: relative;
|
|
1846
|
+
height: auto;
|
|
1847
|
+
overflow: visible;
|
|
1848
|
+
}
|
|
1849
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow,
|
|
1850
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid {
|
|
1851
|
+
position: relative;
|
|
1852
|
+
top: 0;
|
|
1853
|
+
width: 100%;
|
|
1854
|
+
height: auto;
|
|
1855
|
+
aspect-ratio: 576/250;
|
|
1856
|
+
padding: 0;
|
|
1857
|
+
overflow: visible;
|
|
1858
|
+
/* stylelint-disable max-nesting-depth */
|
|
1859
|
+
}
|
|
1860
|
+
@media (min-width: 36em) {
|
|
1861
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow,
|
|
1862
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid {
|
|
1863
|
+
height: 250px;
|
|
1864
|
+
aspect-ratio: auto;
|
|
1865
|
+
}
|
|
1866
|
+
}
|
|
1867
|
+
@media (min-width: 48em) {
|
|
1868
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow,
|
|
1869
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid {
|
|
1870
|
+
padding-right: 28px;
|
|
1871
|
+
padding-left: 28px;
|
|
1872
|
+
}
|
|
1873
|
+
}
|
|
1874
|
+
@media (min-width: 62em) {
|
|
1875
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow,
|
|
1876
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid {
|
|
1877
|
+
height: auto;
|
|
1878
|
+
aspect-ratio: 53/32;
|
|
1879
|
+
padding-right: 0;
|
|
1880
|
+
padding-left: 0;
|
|
1881
|
+
}
|
|
1882
|
+
}
|
|
1883
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background,
|
|
1884
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background {
|
|
1885
|
+
position: relative;
|
|
1886
|
+
top: auto;
|
|
1887
|
+
height: 100%;
|
|
1888
|
+
}
|
|
1889
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .background-mask,
|
|
1890
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .background-mask {
|
|
1891
|
+
display: none;
|
|
1892
|
+
background-image: none;
|
|
1893
|
+
}
|
|
1894
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-image,
|
|
1895
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-image {
|
|
1896
|
+
position: static;
|
|
1897
|
+
width: 100%;
|
|
1898
|
+
height: 100%;
|
|
1899
|
+
border-radius: 0;
|
|
1900
|
+
mask-image: none;
|
|
1901
|
+
}
|
|
1902
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-image .brand-shaped-image-bg,
|
|
1903
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-image .brand-shaped-image-bg {
|
|
1904
|
+
position: static;
|
|
1905
|
+
width: 100%;
|
|
1906
|
+
height: 100%;
|
|
1907
|
+
background-position: 0;
|
|
1908
|
+
background-size: cover;
|
|
1909
|
+
transform: none;
|
|
1910
|
+
}
|
|
1911
|
+
@media (min-width: 48em) {
|
|
1912
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-image,
|
|
1913
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-image {
|
|
1914
|
+
border-radius: 0 0 12px 12px;
|
|
1915
|
+
}
|
|
1916
|
+
}
|
|
1917
|
+
@media (min-width: 62em) {
|
|
1918
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-image,
|
|
1919
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-image {
|
|
1920
|
+
border-radius: 12px;
|
|
1921
|
+
}
|
|
1922
|
+
}
|
|
1923
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-icon,
|
|
1924
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-icon {
|
|
1925
|
+
top: auto;
|
|
1926
|
+
right: 20px;
|
|
1927
|
+
bottom: -16px;
|
|
1928
|
+
width: auto;
|
|
1929
|
+
height: auto;
|
|
1930
|
+
padding: 0;
|
|
1931
|
+
background-color: #172a3b;
|
|
1932
|
+
border-radius: 8px;
|
|
1933
|
+
mask-image: none;
|
|
1934
|
+
}
|
|
1935
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-icon duet-icon,
|
|
1936
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-icon duet-icon {
|
|
1937
|
+
top: 0;
|
|
1938
|
+
width: 62px;
|
|
1939
|
+
height: 62px;
|
|
1940
|
+
}
|
|
1941
|
+
@media (min-width: 36em) {
|
|
1942
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-icon,
|
|
1943
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-icon {
|
|
1944
|
+
right: 40px;
|
|
1945
|
+
bottom: -24px;
|
|
1946
|
+
padding: 8px;
|
|
1947
|
+
}
|
|
1948
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-icon duet-icon,
|
|
1949
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-icon duet-icon {
|
|
1950
|
+
width: 80px;
|
|
1951
|
+
height: 80px;
|
|
1952
|
+
}
|
|
1953
|
+
}
|
|
1954
|
+
@media (min-width: 48em) {
|
|
1955
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-icon,
|
|
1956
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-icon {
|
|
1957
|
+
right: 68px;
|
|
1958
|
+
}
|
|
1959
|
+
}
|
|
1960
|
+
@media (min-width: 62em) {
|
|
1961
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-icon,
|
|
1962
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-icon {
|
|
1963
|
+
right: 40px;
|
|
1964
|
+
}
|
|
1965
|
+
}
|
|
1966
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .duet-hero-wrapper .duet-hero-text {
|
|
1967
|
+
width: 100%;
|
|
1968
|
+
}
|
|
1969
|
+
@media (min-width: 48em) {
|
|
1970
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .duet-hero-wrapper {
|
|
1971
|
+
margin-top: 28px;
|
|
1972
|
+
}
|
|
1973
|
+
}
|
|
1974
|
+
@media (min-width: 62em) {
|
|
1975
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .duet-hero-wrapper {
|
|
1976
|
+
padding: 0;
|
|
1977
|
+
}
|
|
1978
|
+
}
|
|
1979
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content {
|
|
1980
|
+
padding: 0;
|
|
1981
|
+
margin: 20px auto;
|
|
1982
|
+
}
|
|
1983
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content.duet-hero-narrow .background-area {
|
|
1984
|
+
max-width: 888px;
|
|
1985
|
+
}
|
|
1986
|
+
@media (min-width: 36em) {
|
|
1987
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content.duet-hero-narrow .background-area {
|
|
1988
|
+
padding: 0 48px;
|
|
1989
|
+
}
|
|
1990
|
+
}
|
|
1991
|
+
@media (min-width: 48em) {
|
|
1992
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content.duet-hero-narrow .background-area {
|
|
1993
|
+
padding: 0 72px;
|
|
1994
|
+
}
|
|
1995
|
+
}
|
|
1996
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area {
|
|
1997
|
+
position: static;
|
|
1998
|
+
padding: 0 16px;
|
|
1999
|
+
margin: 0 auto;
|
|
2000
|
+
}
|
|
2001
|
+
@media (min-width: 36em) {
|
|
2002
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area {
|
|
2003
|
+
padding: 0 28px;
|
|
2004
|
+
}
|
|
2005
|
+
}
|
|
2006
|
+
@media (min-width: 62em) {
|
|
2007
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area {
|
|
2008
|
+
padding: 0 56px;
|
|
2009
|
+
}
|
|
2010
|
+
}
|
|
2011
|
+
@media (min-width: 76.25em) {
|
|
2012
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area {
|
|
2013
|
+
max-width: 1110px;
|
|
2014
|
+
padding: 0;
|
|
2015
|
+
}
|
|
2016
|
+
}
|
|
2017
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area .background {
|
|
2018
|
+
position: static;
|
|
2019
|
+
height: auto;
|
|
2020
|
+
}
|
|
2021
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area .background .background-mask {
|
|
2022
|
+
display: none;
|
|
2023
|
+
background-image: none;
|
|
2024
|
+
}
|
|
2025
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area .background .brand-shaped-image {
|
|
2026
|
+
position: static;
|
|
2027
|
+
width: auto;
|
|
2028
|
+
height: auto;
|
|
2029
|
+
}
|
|
2030
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area .background .brand-shaped-image .brand-shaped-image-wrapper {
|
|
2031
|
+
width: auto;
|
|
2032
|
+
height: auto;
|
|
2033
|
+
}
|
|
2034
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area .background .brand-shaped-image .brand-shaped-image-bg {
|
|
2035
|
+
position: static;
|
|
2036
|
+
width: 100%;
|
|
2037
|
+
height: auto;
|
|
2038
|
+
aspect-ratio: 5/2;
|
|
2039
|
+
background-size: cover;
|
|
2040
|
+
transform: none;
|
|
2041
|
+
}
|
|
2042
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content .brand-shaped-image {
|
|
2043
|
+
border-radius: 12px;
|
|
2044
|
+
mask-image: none;
|
|
2045
|
+
}
|
|
2046
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content .duet-hero-wrapper {
|
|
2047
|
+
margin-top: 28px;
|
|
2048
|
+
}
|
|
2049
|
+
@media (min-width: 48em) {
|
|
2050
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content .duet-hero-wrapper {
|
|
2051
|
+
margin-top: 36px;
|
|
2052
|
+
}
|
|
2053
|
+
}
|
|
2054
|
+
:host(.duet-theme-turva2) .duet-hero .duet-hero-wrapper {
|
|
2055
|
+
position: static;
|
|
2056
|
+
margin-top: 16px;
|
|
2057
|
+
}
|
|
2058
|
+
@media (min-width: 48em) {
|
|
2059
|
+
:host(.duet-theme-turva2) .duet-hero .duet-hero-wrapper {
|
|
2060
|
+
margin-top: 0;
|
|
2061
|
+
}
|
|
2062
|
+
}
|
|
1781
2063
|
.duet-theme-turva :host(.duet-theme-turva2) .duet-hero-link {
|
|
1782
2064
|
color: #e61740;
|
|
1783
2065
|
}
|
|
@@ -144,11 +144,11 @@ export class DuetIcon {
|
|
|
144
144
|
: {};
|
|
145
145
|
const iconStyles = Object.assign({}, iconRotationStyles);
|
|
146
146
|
const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
|
|
147
|
-
return (h(Host, { key: '
|
|
147
|
+
return (h(Host, { key: '2a800d3292964b5a1dd5fd454662f690ce9e6b5a', class: {
|
|
148
148
|
"duet-m-0": this.margin === "none",
|
|
149
149
|
"duet-icon-has-outline": !!this.outline,
|
|
150
150
|
"duet-icon-has-background": !!this.background,
|
|
151
|
-
} }, h("span", { key: '
|
|
151
|
+
} }, h("span", { key: '4d5d3fc155d6d2e4f677d8753c116c82eb865a2c', "aria-hidden": "true", style: styles, class: {
|
|
152
152
|
"duet-icon": true,
|
|
153
153
|
"duet-theme-turva": this.theme === "turva",
|
|
154
154
|
"duet-theme-default": this.theme === "default",
|
|
@@ -157,7 +157,7 @@ export class DuetIcon {
|
|
|
157
157
|
[shapeStyle]: true,
|
|
158
158
|
rotated: this.shape === "brand-rotated" && this.theme !== "turva",
|
|
159
159
|
"duet-icon-not-responsive": !this.responsive,
|
|
160
|
-
} }, h("span", { key: '
|
|
160
|
+
} }, h("span", { key: '6c79866426237ff75ff36401a9117dca1a68cf19', "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 }))));
|
|
161
161
|
}
|
|
162
162
|
static get is() { return "duet-icon"; }
|
|
163
163
|
static get encapsulation() { return "shadow"; }
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
*,
|
|
2
|
+
*::after,
|
|
3
|
+
*::before {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
padding: 0;
|
|
6
|
+
margin: 0;
|
|
7
|
+
background: transparent;
|
|
8
|
+
border: 0;
|
|
9
|
+
-moz-appearance: none;
|
|
10
|
+
-webkit-appearance: none;
|
|
11
|
+
appearance: none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:host {
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
padding: 0;
|
|
17
|
+
margin: 0;
|
|
18
|
+
background: transparent;
|
|
19
|
+
border: 0;
|
|
20
|
+
-moz-appearance: none;
|
|
21
|
+
-webkit-appearance: none;
|
|
22
|
+
appearance: none;
|
|
23
|
+
position: relative;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.duet-indicator {
|
|
27
|
+
position: absolute;
|
|
28
|
+
top: 0;
|
|
29
|
+
right: 0;
|
|
30
|
+
display: inline-block;
|
|
31
|
+
width: 8px;
|
|
32
|
+
height: 8px;
|
|
33
|
+
border-radius: 50%;
|
|
34
|
+
}
|
|
35
|
+
.duet-indicator-new {
|
|
36
|
+
background: rgb(0, 119, 179);
|
|
37
|
+
}
|
|
38
|
+
.duet-indicator-change {
|
|
39
|
+
background: rgb(247, 178, 40);
|
|
40
|
+
}
|
|
41
|
+
.duet-indicator-error {
|
|
42
|
+
background: rgb(185, 16, 74);
|
|
43
|
+
}
|
|
44
|
+
.duet-indicator-success {
|
|
45
|
+
background: rgb(29, 106, 88);
|
|
46
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { h, Host } from "@stencil/core";
|
|
5
|
+
import { getLocaleString } from "../../utils/language-utils";
|
|
6
|
+
export class DuetIndicator {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.defaultLabels = {
|
|
9
|
+
new: {
|
|
10
|
+
fi: "Uutta sisältöä",
|
|
11
|
+
en: "New content",
|
|
12
|
+
sv: "Nyt innehålle",
|
|
13
|
+
},
|
|
14
|
+
change: {
|
|
15
|
+
fi: "Muuttunutta sisältöä",
|
|
16
|
+
en: "Changed content",
|
|
17
|
+
sv: "Ändrat innehålle",
|
|
18
|
+
},
|
|
19
|
+
error: {
|
|
20
|
+
fi: "Sisältää virheen",
|
|
21
|
+
en: "Contains error",
|
|
22
|
+
sv: "Innehåller ett fel",
|
|
23
|
+
},
|
|
24
|
+
success: {
|
|
25
|
+
fi: "Onnistunut toiminto",
|
|
26
|
+
en: "Completed successfully",
|
|
27
|
+
sv: "Lyckad åtgärd",
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* The variation of the indicator. Typically "change" and "new" are used; "error" and "success" should be used
|
|
32
|
+
* only in special cases, as errors and succeses normally require a more prominent message.
|
|
33
|
+
*/
|
|
34
|
+
this.variation = "change";
|
|
35
|
+
this.getAccessibleLabel = () => {
|
|
36
|
+
return this.accessibleLabel || getLocaleString(this.defaultLabels[this.variation]);
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
render() {
|
|
40
|
+
return (h(Host, { key: '09990afce3e74a91ff9ce76ac6a038418e40272e' }, h("span", { key: 'e5695f01c4d009bc1c18b92b07975980e799becd', class: { "duet-indicator": true, [`duet-indicator-${this.variation}`]: true } }), h("duet-visually-hidden", { key: '4300b55a370c674cb6bd0caf3f5b834e382481a9' }, this.getAccessibleLabel())));
|
|
41
|
+
}
|
|
42
|
+
static get is() { return "duet-indicator"; }
|
|
43
|
+
static get encapsulation() { return "shadow"; }
|
|
44
|
+
static get originalStyleUrls() {
|
|
45
|
+
return {
|
|
46
|
+
"$": ["duet-indicator.scss"]
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
static get styleUrls() {
|
|
50
|
+
return {
|
|
51
|
+
"$": ["duet-indicator.css"]
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
static get properties() {
|
|
55
|
+
return {
|
|
56
|
+
"variation": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"attribute": "variation",
|
|
59
|
+
"mutable": false,
|
|
60
|
+
"complexType": {
|
|
61
|
+
"original": "IndicatorVariation",
|
|
62
|
+
"resolved": "\"change\" | \"error\" | \"new\" | \"success\"",
|
|
63
|
+
"references": {
|
|
64
|
+
"IndicatorVariation": {
|
|
65
|
+
"location": "local",
|
|
66
|
+
"path": "/Users/juha-matti.laaksonen/duetds/packages/components/src/components/duet-indicator/duet-indicator.tsx",
|
|
67
|
+
"id": "src/components/duet-indicator/duet-indicator.tsx::IndicatorVariation"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"required": false,
|
|
72
|
+
"optional": false,
|
|
73
|
+
"docs": {
|
|
74
|
+
"tags": [],
|
|
75
|
+
"text": "The variation of the indicator. Typically \"change\" and \"new\" are used; \"error\" and \"success\" should be used\nonly in special cases, as errors and succeses normally require a more prominent message."
|
|
76
|
+
},
|
|
77
|
+
"getter": false,
|
|
78
|
+
"setter": false,
|
|
79
|
+
"reflect": false,
|
|
80
|
+
"defaultValue": "\"change\""
|
|
81
|
+
},
|
|
82
|
+
"accessibleLabel": {
|
|
83
|
+
"type": "string",
|
|
84
|
+
"attribute": "accessible-label",
|
|
85
|
+
"mutable": false,
|
|
86
|
+
"complexType": {
|
|
87
|
+
"original": "string",
|
|
88
|
+
"resolved": "string",
|
|
89
|
+
"references": {}
|
|
90
|
+
},
|
|
91
|
+
"required": false,
|
|
92
|
+
"optional": false,
|
|
93
|
+
"docs": {
|
|
94
|
+
"tags": [],
|
|
95
|
+
"text": "Label for users of assistive technologies. This component has sensible defaults, but they can be replaced with this\nproperty."
|
|
96
|
+
},
|
|
97
|
+
"getter": false,
|
|
98
|
+
"setter": false,
|
|
99
|
+
"reflect": false
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
static get elementRef() { return "element"; }
|
|
104
|
+
}
|
|
@@ -528,7 +528,7 @@ export class DuetInput {
|
|
|
528
528
|
this.type !== "password" &&
|
|
529
529
|
this.type !== "time" &&
|
|
530
530
|
this.variation !== "button";
|
|
531
|
-
return (h(Host, { key: '
|
|
531
|
+
return (h(Host, { key: 'a510fa25a1bfafc15b45ec3ae52673542c9431f8', class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" }, onKeyUp: e => this.keyHandler(e) }, this.type === "time" && (h("duet-visually-hidden", { key: 'de872f33e40e697f2bfbbd44cf50baa6119d7cf1', "aria-live": "polite", "aria-atomic": "true" }, selectedTime ? `${this.timeAnnouncement[this.language]} ${selectedTime.toLocaleTimeString()}` : "")), h("div", { key: 'c90de920afdad7d205699cea7d5f4fdd1572a87b', class: {
|
|
532
532
|
"duet-input-container": true,
|
|
533
533
|
"duet-theme-turva": this.theme === "turva",
|
|
534
534
|
[`duet-input-variation-${this.variation}`]: true,
|
|
@@ -542,7 +542,7 @@ export class DuetInput {
|
|
|
542
542
|
"has-clear": this.clear,
|
|
543
543
|
"has-focus": this.isFocused,
|
|
544
544
|
disabled: this.disabled,
|
|
545
|
-
} }, h("div", { key: '
|
|
545
|
+
} }, h("div", { key: '25af0df12601480977d1073be0dac1f37edce26e', class: "duet-input-label-container" }, h(DuetInternalLabel, { key: '8472acbdb1f02f3177acb1cc359b684359577c97', theme: this.theme === "turva" ? "turva" : "default", margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: '6ae13a9809afd8abea403d05594d0ac605043f13', class: "duet-input-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { key: '456f3ee403878a23c7141e9b063c8d8e04e95be2', name: "tooltip" })), this.caption && (h("duet-caption", { key: 'c4c6f0174d210348bbbab129508fc99917243f2c', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: 'ba63a0017715fab0c39fca2a948c9bfbfdad1f31', class: "duet-input-relative" }, this.placeholder && this.echoPlaceholder && (this.value || this.type === "time") && (h("duet-caption", { key: 'eaad95087d69b5b4a8e72b43ddb184bf8b941087', id: this.topCaptionPlaceholderId, class: "duet-input-placeholder", margin: "none", size: "small" }, this.placeholder)), this.chips && (h("duet-visually-hidden", { key: '2013c4ffb1127068ced232f02ef8885f3e8f614e', id: this.chipCountId }, ", ", `${this.getAllChips().length} ${getLocaleString(this.chipsSelectedDesriptionLabel)}`, ",")), this.variation === "button-left" && h("slot", { key: '5fbfb4ca2fd57a0ae853d4ec2512c79fa85aefd0', name: "button-left" }), h("input", Object.assign({ key: '060cab78180db35d613d8e8944ae17fc61dcb7c8', ref: input => (this.nativeInput = input), onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, type: this.getInputType(), class: {
|
|
546
546
|
"duet-input": true,
|
|
547
547
|
disabled: this.disabled,
|
|
548
548
|
"is-number": this.component === "number",
|
|
@@ -550,17 +550,17 @@ export class DuetInput {
|
|
|
550
550
|
"after-chip": this.getAllChips().length > 0,
|
|
551
551
|
"align-right": this.inputAlign === "right",
|
|
552
552
|
[`input-padding-${this.inputPadding}`]: true,
|
|
553
|
-
}, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (h("div", { key: '
|
|
553
|
+
}, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (h("div", { key: '2ef57d881263ad7285afe3bd58ed9de8913131ca', class: "duet-input-icon" }, h("duet-icon", { key: '0424cb373c27e808b8ed1e1f44ca28b077af2f43', margin: "none", size: "small", icon: icons[this.type].svg, color: "currentColor" }))), this.clear && this.value && (h("div", { key: '2ba7ed30cf2409845b231bbc21cb1a7b9e001196', class: {
|
|
554
554
|
"duet-input-clear-icon": true,
|
|
555
555
|
"duet-input-clear-icon-single": !hasInputIcon,
|
|
556
556
|
"duet-input-clear-icon-double": !!this.icon,
|
|
557
557
|
"duet-input-clear-icon-button": this.variation === "button",
|
|
558
558
|
[`input-padding-${this.inputPadding}`]: true,
|
|
559
|
-
} }, h("button", { key: '
|
|
559
|
+
} }, h("button", { key: '7be0f3cce53d669a7cb2553ea0c720a0a8f234fb', onClick: this.handleClearClick, id: this.clearId, "aria-label": this.clearLabel[this.language], "aria-keyshortcuts": "Escape" }, h("duet-icon", { key: 'd51041231a488756076772109503dcb42a47cef9', margin: "none", size: "medium", name: "action-clear-input", color: "currentColor" })))), this.icon && this.variation !== "button" && (h("div", { key: '34624c33d8582374f0deddee30d4cc3968fa38db', class: "duet-input-icon" }, h("duet-icon", { key: 'f1fde9b9334ea64219f70363ec2bf40aa9e57d6f', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), this.variation === "button" && h("slot", { key: '5f490c321a2ac47676a4aff02e30f0871b640dc2', name: "button" }), this.variation === "revealable" && (h("duet-button", { key: 'd8c8a40544d07411b453bfa332c9741851bf6226', ref: button => (this.togglePasswordRevealedButton = button), onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.togglePasswordRevealed, icon: this.isPasswordRevealed ? "action-hide" : "action-show", accessibleLabel: this.isPasswordRevealed
|
|
560
560
|
? this.hidePasswordLabel[this.language]
|
|
561
|
-
: this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (h("duet-visually-hidden", { key: '
|
|
561
|
+
: this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (h("duet-visually-hidden", { key: '6c96533d140ef424e33a3a67961042c3d3838161' }, h("span", { key: '6ab1b5959e16b393688eaa068d772b0a600badaf', "aria-live": "polite" }, this.isPasswordRevealed
|
|
562
562
|
? this.passwordShownAriaAnnouncement[this.language]
|
|
563
|
-
: this.passwordHiddenAriaAnnouncement[this.language]))), h("slot", { key: '
|
|
563
|
+
: this.passwordHiddenAriaAnnouncement[this.language]))), h("slot", { key: '5546955121bfe120490c3b22825c1035c096dd6c' })), h("span", { key: '79328cf71b7ba877431ed97a0ec98cadc31efa56', class: "duet-input-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: 'f483bcaa8219c1636b5f0b83ee1ee33bd49ec1d5', class: "duet-input-error" }, this.error)))));
|
|
564
564
|
}
|
|
565
565
|
static get is() { return "duet-input"; }
|
|
566
566
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1297,7 +1297,7 @@ export class DuetInput {
|
|
|
1297
1297
|
"optional": false,
|
|
1298
1298
|
"docs": {
|
|
1299
1299
|
"tags": [],
|
|
1300
|
-
"text": "Use maxlength to specify the maximum length of the value that can be entered
|
|
1300
|
+
"text": "Use maxlength to specify the maximum length of the value that can be entered."
|
|
1301
1301
|
},
|
|
1302
1302
|
"getter": false,
|
|
1303
1303
|
"setter": false,
|
|
@@ -1316,7 +1316,7 @@ export class DuetInput {
|
|
|
1316
1316
|
"optional": false,
|
|
1317
1317
|
"docs": {
|
|
1318
1318
|
"tags": [],
|
|
1319
|
-
"text": "Use minlength to specify the minimum length of the value that can be entered
|
|
1319
|
+
"text": "Use minlength to specify the minimum length of the value that can be entered."
|
|
1320
1320
|
},
|
|
1321
1321
|
"getter": false,
|
|
1322
1322
|
"setter": false,
|
|
@@ -66,24 +66,24 @@ export class DuetLayout {
|
|
|
66
66
|
* Always the last one in the class.
|
|
67
67
|
*/
|
|
68
68
|
render() {
|
|
69
|
-
return (h(Host, { key: '
|
|
69
|
+
return (h(Host, { key: 'a2e2da10366f6be7ac33297fd517b70cccd91d3a', class: {
|
|
70
70
|
center: this.center,
|
|
71
71
|
"duet-middle": this.middle,
|
|
72
72
|
"duet-ie": isInternetExplorer(),
|
|
73
|
-
} }, h("div", { key: '
|
|
73
|
+
} }, h("div", { key: '963134d9ac0866556e457fb1559789b3fdc04ac9', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, this.hasTop && (h("div", { key: '2af6f591e1f2af28de75b5ad014d2465a227d6e8', class: {
|
|
74
74
|
"duet-layout-top": true,
|
|
75
75
|
"duet-center": this.center,
|
|
76
|
-
} }, h("div", { key: '
|
|
76
|
+
} }, h("div", { key: 'ada1feb7bcfd4aa2ad32163e551eb617ce6a3e0e', class: "duet-layout-top-wrapper" }, h("slot", { key: 'c902eb9bd68adf934510fcd036e73ca221cc25a2', name: "top" })))), h("div", { key: '10a599002b1cd07f67085bfc6712ec55d70f9c6c', class: {
|
|
77
77
|
"duet-layout": true,
|
|
78
78
|
"has-sidebar": this.hasSidebar,
|
|
79
79
|
"duet-center": this.center,
|
|
80
80
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
81
|
-
} }, h("main", { key: '
|
|
81
|
+
} }, h("main", { key: 'f1aa73887189771b2bd8fcfb91f1abbe85d91f32', class: "duet-main" }, this.hasPageHeading && h("slot", { key: '972898b8f80d486dac54d3f02f746ea6453afde0', name: "page-heading" }), h("slot", { key: '916d907b26b5fc5c8cbc3b8e6c7bffbf044b2a09', name: "main" })), this.hasSidebar && (h("aside", { key: 'b153227de7fd9cd22c5101ca3b55e5f6c538cea2', class: "duet-sidebar" }, h("div", { key: '3de02670c41fff15245d73a5d6a1989ba1342a1c', class: {
|
|
82
82
|
"duet-sidebar-container": true,
|
|
83
83
|
"has-tabs": this.tabs,
|
|
84
84
|
sticky: this.sticky,
|
|
85
85
|
[this.stickyDistance]: this.sticky,
|
|
86
|
-
} }, h("slot", { key: '
|
|
86
|
+
} }, h("slot", { key: '70a65e789aeea0b965ca02ef0876070c6fa337ff', name: "sidebar" }))))))));
|
|
87
87
|
}
|
|
88
88
|
static get is() { return "duet-layout"; }
|
|
89
89
|
static get encapsulation() { return "shadow"; }
|
|
@@ -181,10 +181,10 @@ export class DuetLink {
|
|
|
181
181
|
const Tag = !this.url && this.variation !== "default" ? "button" : "a";
|
|
182
182
|
const role = !this.url && this.variation === "default" ? "button" : null;
|
|
183
183
|
const isButton = Tag === "button";
|
|
184
|
-
return (h(Host, { key: '
|
|
184
|
+
return (h(Host, { key: 'c6dfd9dd4ce34ea1deea147e76481197cfa90854', class: {
|
|
185
185
|
[`duet-link-${this.variation}`]: true,
|
|
186
186
|
"duet-m-0": this.margin === "none",
|
|
187
|
-
} }, h(Tag, { key: '
|
|
187
|
+
} }, h(Tag, { key: '72968ba8e93c2773e8cdbdc7521a854e63569826', href: this.url, class: {
|
|
188
188
|
"duet-link": true,
|
|
189
189
|
"duet-link-is-external": this.external,
|
|
190
190
|
"duet-link-is-download": !!this.download,
|