@duetds/components 6.7.0 → 6.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.d.ts +17 -16
- package/hydrate/index.js +203 -120
- package/lib/cjs/{dom-b340f674.js → dom-c42e1019.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
- package/lib/cjs/duet-alert.cjs.entry.js +8 -2
- package/lib/cjs/duet-badge.cjs.entry.js +2 -2
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +2 -2
- package/lib/cjs/duet-button_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-caption_4.cjs.entry.js +5 -5
- package/lib/cjs/duet-card.cjs.entry.js +2 -2
- package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
- package/lib/cjs/duet-checkmark.cjs.entry.js +2 -2
- package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
- package/lib/cjs/duet-combobox.cjs.entry.js +2 -2
- package/lib/cjs/duet-contact-card.cjs.entry.js +64 -0
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
- package/lib/cjs/duet-date-picker.cjs.entry.js +3 -3
- package/lib/cjs/duet-divider_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +3 -3
- package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
- package/lib/cjs/duet-fieldset.cjs.entry.js +2 -2
- package/lib/cjs/duet-footer.cjs.entry.js +2 -2
- package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-hero.cjs.entry.js +2 -2
- package/lib/cjs/duet-icon.cjs.entry.js +2 -2
- package/lib/cjs/duet-input_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -2
- package/lib/cjs/duet-modal.cjs.entry.js +6 -4
- package/lib/cjs/duet-multiselect.cjs.entry.js +2 -2
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-number-input.cjs.entry.js +2 -2
- package/lib/cjs/duet-page-heading.cjs.entry.js +2 -2
- package/lib/cjs/duet-pagination_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-progress.cjs.entry.js +2 -2
- package/lib/cjs/duet-radio_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +2 -2
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout.cjs.entry.js +3 -3
- package/lib/cjs/duet-step_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
- package/lib/cjs/duet-textarea.cjs.entry.js +2 -2
- package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar.cjs.entry.js +2 -2
- package/lib/cjs/duet-tooltip.cjs.entry.js +2 -2
- package/lib/cjs/duet-tray.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +15 -6
- package/lib/cjs/{focus-utils-0dd9281d.js → focus-utils-b2f050a2.js} +1 -1
- package/lib/cjs/{index-3d0845f0.js → index-5d835acd.js} +18 -4
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{shadow-css-cce1abf1.js → shadow-css-6c99270e.js} +1 -1
- package/lib/collection/collection-manifest.json +5 -4
- package/lib/collection/components/duet-action-button/duet-action-button.css +10 -10
- package/lib/collection/components/duet-action-button/duet-action-button.js +4 -2
- package/lib/collection/components/duet-alert/duet-alert.css +12 -12
- package/lib/collection/components/duet-alert/duet-alert.js +10 -3
- package/lib/collection/components/duet-badge/duet-badge.css +2 -2
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +6 -6
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +5 -5
- package/lib/collection/components/duet-button/duet-button.css +80 -80
- package/lib/collection/components/duet-button/duet-button.js +10 -5
- package/lib/collection/components/duet-caption/duet-caption.css +4 -4
- package/lib/collection/components/duet-caption/duet-caption.js +2 -1
- package/lib/collection/components/duet-card/duet-card.css +12 -12
- package/lib/collection/components/duet-card/duet-card.js +6 -3
- package/lib/collection/components/duet-checkbox/duet-checkbox.css +19 -19
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +6 -3
- package/lib/collection/components/duet-choice/duet-checkmark.css +12 -12
- package/lib/collection/components/duet-choice/duet-checkmark.js +1 -1
- package/lib/collection/components/duet-choice/duet-choice.css +74 -74
- package/lib/collection/components/duet-choice/duet-choice.js +8 -4
- package/lib/collection/components/duet-collapsible/duet-collapsible.css +9 -9
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +6 -3
- package/lib/collection/components/duet-combobox/duet-combobox.css +18 -18
- package/lib/collection/components/duet-combobox/duet-combobox.js +6 -3
- package/lib/collection/components/duet-contact-card/duet-contact-card.css +85 -0
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +261 -0
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +6 -6
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +2 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +56 -56
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +8 -4
- package/lib/collection/components/duet-divider/duet-divider.css +2 -2
- package/lib/collection/components/duet-divider/duet-divider.js +2 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +13 -8
- package/lib/collection/components/duet-empty-state/duet-empty-state.css +4 -4
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -1
- package/lib/collection/components/duet-fieldset/duet-fieldset.css +4 -4
- package/lib/collection/components/duet-footer/duet-footer.css +19 -19
- package/lib/collection/components/duet-footer/duet-footer.js +14 -7
- package/lib/collection/components/duet-grid/duet-grid.js +6 -3
- package/lib/collection/components/duet-grid-item/duet-grid-item.css +2 -2
- package/lib/collection/components/duet-header/duet-header.css +105 -105
- package/lib/collection/components/duet-header/duet-header.js +30 -15
- package/lib/collection/components/duet-heading/duet-heading.css +4 -4
- package/lib/collection/components/duet-heading/duet-heading.js +2 -1
- package/lib/collection/components/duet-hero/duet-hero.css +36 -38
- package/lib/collection/components/duet-hero/duet-hero.js +10 -5
- package/lib/collection/components/duet-icon/duet-icon.css +4 -4
- package/lib/collection/components/duet-icon/duet-icon.js +2 -1
- package/lib/collection/components/duet-input/duet-input.css +66 -66
- package/lib/collection/components/duet-input/duet-input.js +16 -8
- package/lib/collection/components/duet-label/duet-label.css +2 -2
- package/lib/collection/components/duet-label/duet-label.js +4 -2
- package/lib/collection/components/duet-layout/duet-layout.js +2 -1
- package/lib/collection/components/duet-link/duet-link.css +9 -9
- package/lib/collection/components/duet-list/duet-list.js +8 -4
- package/lib/collection/components/duet-list-item/duet-list-item.css +8 -8
- package/lib/collection/components/duet-logo/duet-logo.css +2 -2
- package/lib/collection/components/duet-logo/duet-logo.js +2 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +8 -8
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +2 -1
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +2 -2
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +13 -13
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +8 -8
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +6 -6
- package/lib/collection/components/duet-modal/duet-modal.css +4 -4
- package/lib/collection/components/duet-modal/duet-modal.js +31 -4
- package/lib/collection/components/duet-multiselect/duet-multiselect.css +40 -40
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +10 -5
- package/lib/collection/components/duet-nav/duet-nav.css +0 -1
- package/lib/collection/components/duet-notification/duet-notification.css +14 -14
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +25 -25
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -1
- package/lib/collection/components/duet-number-input/duet-number-input.css +5 -5
- package/lib/collection/components/duet-number-input/duet-number-input.js +8 -4
- package/lib/collection/components/duet-page-heading/duet-page-heading.css +4 -4
- package/lib/collection/components/duet-pagination/duet-pagination.js +4 -2
- package/lib/collection/components/duet-paragraph/duet-paragraph.css +6 -6
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +6 -3
- package/lib/collection/components/duet-progress/duet-progress.css +12 -12
- package/lib/collection/components/duet-radio/duet-radio.css +17 -17
- package/lib/collection/components/duet-radio/duet-radio.js +6 -3
- package/lib/collection/components/duet-range-slider/duet-range-slider.css +30 -30
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +4 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +1 -1
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -1
- package/lib/collection/components/duet-select/duet-select.css +38 -38
- package/lib/collection/components/duet-select/duet-select.js +10 -5
- package/lib/collection/components/duet-slideout/duet-slideout.css +5 -5
- package/lib/collection/components/duet-slideout/duet-slideout.js +2 -1
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +2 -2
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +4 -4
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +9 -9
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +5 -5
- package/lib/collection/components/duet-spacer/duet-spacer.js +4 -2
- package/lib/collection/components/duet-spinner/duet-spinner.css +3 -3
- package/lib/collection/components/duet-spinner/duet-spinner.js +2 -1
- package/lib/collection/components/duet-step/duet-step.css +10 -10
- package/lib/collection/components/duet-step/duet-step.js +4 -2
- package/lib/collection/components/duet-stepper/duet-stepper.css +1 -1
- package/lib/collection/components/duet-stepper/duet-stepper.js +2 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +10 -10
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +18 -18
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +8 -8
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +8 -8
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +45 -49
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +8 -4
- package/lib/collection/components/duet-table/duet-table.css +33 -33
- package/lib/collection/components/duet-table/duet-table.js +6 -3
- package/lib/collection/components/duet-textarea/duet-textarea.css +39 -39
- package/lib/collection/components/duet-textarea/duet-textarea.js +8 -4
- package/lib/collection/components/duet-toggle/duet-toggle.css +12 -12
- package/lib/collection/components/duet-toggle/duet-toggle.js +2 -1
- package/lib/collection/components/duet-toolbar/duet-toolbar.css +4 -4
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +13 -13
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +8 -8
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +11 -11
- package/lib/collection/components/duet-tooltip/duet-tooltip.css +26 -26
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +2 -1
- package/lib/collection/components/duet-tray/duet-tray.css +14 -14
- package/lib/collection/components/duet-upload/duet-upload.css +1 -1
- package/lib/collection/components/duet-upload/duet-upload.js +27 -14
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +2 -1
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
- package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -3
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +5 -5
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +6 -6
- package/lib/dist-custom-elements/duet-choice.js +7 -7
- package/lib/dist-custom-elements/duet-collapsible.js +4 -4
- package/lib/dist-custom-elements/duet-combobox.js +4 -4
- package/lib/dist-custom-elements/duet-contact-card.d.ts +11 -0
- package/lib/dist-custom-elements/duet-contact-card.js +131 -0
- package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
- package/lib/dist-custom-elements/duet-date-picker.js +13 -13
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +1 -1
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-footer.js +5 -5
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +11 -11
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +10 -10
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar.js +4 -4
- package/lib/dist-custom-elements/duet-modal.js +13 -10
- package/lib/dist-custom-elements/duet-multiselect.js +9 -9
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +5 -5
- package/lib/dist-custom-elements/duet-notification.js +3 -3
- package/lib/dist-custom-elements/duet-number-input.js +10 -10
- package/lib/dist-custom-elements/duet-page-heading.js +3 -3
- package/lib/dist-custom-elements/duet-pagination.js +7 -7
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-radio-group.js +6 -6
- package/lib/dist-custom-elements/duet-radio.js +2 -2
- package/lib/dist-custom-elements/duet-range-slider.js +4 -4
- package/lib/dist-custom-elements/duet-range-stepper.js +5 -5
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +1 -1
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +4 -4
- package/lib/dist-custom-elements/duet-slideout-link.js +3 -3
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +3 -3
- package/lib/dist-custom-elements/duet-slideout-panel.js +5 -5
- package/lib/dist-custom-elements/duet-slideout.js +5 -5
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +5 -5
- package/lib/dist-custom-elements/duet-stepper.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
- package/lib/dist-custom-elements/duet-tab-group.js +10 -10
- package/lib/dist-custom-elements/duet-tab.js +1 -1
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +9 -9
- package/lib/dist-custom-elements/duet-toggle.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-link.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar.js +2 -2
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +5 -5
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +20 -20
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.d.ts +0 -86
- package/lib/dist-custom-elements/index.js +1 -84
- package/lib/dist-custom-elements/{p-22eba43b.js → p-032585fc.js} +8 -8
- package/lib/dist-custom-elements/{p-c9a16897.js → p-108485b6.js} +3 -3
- package/lib/dist-custom-elements/{p-5084748e.js → p-152ee893.js} +7 -0
- package/lib/dist-custom-elements/p-1b0ba3fe.js +265 -0
- package/lib/dist-custom-elements/{p-ae149130.js → p-1eb646ce.js} +3 -3
- package/lib/dist-custom-elements/{p-ad4c031f.js → p-2a6f4122.js} +5 -5
- package/lib/dist-custom-elements/{p-55325c49.js → p-33e00967.js} +1 -1
- package/lib/dist-custom-elements/{p-f6a5967a.js → p-42457971.js} +2 -2
- package/lib/dist-custom-elements/{p-2b6f6cba.js → p-43363964.js} +2 -2
- package/lib/dist-custom-elements/{p-85f97595.js → p-562ae9bf.js} +2 -2
- package/lib/dist-custom-elements/{p-2b3a8e8c.js → p-5c4104e5.js} +3 -3
- package/lib/dist-custom-elements/{p-ba2d607e.js → p-5fdfdb42.js} +12 -6
- package/lib/dist-custom-elements/p-614f2712.js +37 -0
- package/lib/dist-custom-elements/p-646d548a.js +120 -0
- package/lib/dist-custom-elements/{p-7857fd92.js → p-66ce2aa1.js} +2 -2
- package/lib/dist-custom-elements/{p-e47da081.js → p-67e14cd3.js} +18 -5
- package/lib/dist-custom-elements/{p-756308c3.js → p-697162df.js} +2 -2
- package/lib/dist-custom-elements/p-6a1d1526.js +54 -0
- package/lib/{esm/shadow-css-e76e6e1c.js → dist-custom-elements/p-6ee53ac3.js} +1 -1
- package/lib/dist-custom-elements/{p-4e9d1f9b.js → p-6fe0175a.js} +1 -1
- package/lib/dist-custom-elements/{p-447ea0a6.js → p-7c398a84.js} +4 -4
- package/lib/dist-custom-elements/{p-e36eb97d.js → p-7e1eab44.js} +3 -3
- package/lib/dist-custom-elements/{p-535ce3ec.js → p-9ed347f9.js} +1 -1
- package/lib/dist-custom-elements/{p-13b6dd90.js → p-a080c8ea.js} +2 -2
- package/lib/dist-custom-elements/{p-767cc415.js → p-a4ba7145.js} +7 -7
- package/lib/dist-custom-elements/p-adb9a785.js +76 -0
- package/lib/dist-custom-elements/{p-267801f1.js → p-b9b19d30.js} +3 -3
- package/lib/dist-custom-elements/{p-f7da07ee.js → p-beeeb7a4.js} +9 -9
- package/lib/dist-custom-elements/{p-738bd3c5.js → p-c4d8cad0.js} +1 -1
- package/lib/dist-custom-elements/p-c6137eb6.js +186 -0
- package/lib/dist-custom-elements/{p-c203ef96.js → p-ca2fe740.js} +2 -2
- package/lib/dist-custom-elements/{p-4e752d2d.js → p-eb4fb7b2.js} +4 -4
- package/lib/dist-custom-elements/{p-9d0348a4.js → p-efaad71c.js} +1 -1
- package/lib/dist-custom-elements/{p-504f30a0.js → p-efd5d01e.js} +1 -1
- package/lib/dist-custom-elements/{p-47f3085b.js → p-f65831ce.js} +1 -1
- package/lib/dist-custom-elements/{p-c91ba42a.js → p-fc98d756.js} +2 -2
- package/lib/dist-custom-elements/{p-aa1ab20d.js → p-fcd87887.js} +3 -3
- package/lib/dist-custom-elements/{p-0d2d0d0e.js → p-fd7efa16.js} +3 -3
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-d56140a2.entry.js → p-03cfa47f.entry.js} +1 -1
- package/lib/duet/p-0656f2f9.system.entry.js +4 -0
- package/lib/duet/p-07e066a7.entry.js +4 -0
- package/lib/duet/p-08ef8050.system.entry.js +4 -0
- package/lib/duet/p-0adf7b64.entry.js +4 -0
- package/lib/duet/{p-aa46e5b8.system.js → p-0c095985.system.js} +1 -1
- package/lib/duet/p-0c53f007.system.entry.js +4 -0
- package/lib/duet/p-0c6ed41d.system.entry.js +4 -0
- package/lib/duet/{p-5b5bdf1a.entry.js → p-1550576c.entry.js} +1 -1
- package/lib/duet/p-18c0ff13.entry.js +4 -0
- package/lib/duet/{p-be3de0f9.entry.js → p-193a8abf.entry.js} +1 -1
- package/lib/duet/p-193cae12.system.entry.js +4 -0
- package/lib/duet/{p-1eed2800.entry.js → p-1b7f8128.entry.js} +1 -1
- package/lib/duet/{p-2c74f36a.entry.js → p-1c8c6afd.entry.js} +1 -1
- package/lib/duet/{p-33f2a44e.entry.js → p-1d0fe0e5.entry.js} +1 -1
- package/lib/duet/p-1f4351ab.system.entry.js +4 -0
- package/lib/duet/p-22442b75.system.entry.js +4 -0
- package/lib/duet/p-228a7948.entry.js +4 -0
- package/lib/duet/p-23e7d935.entry.js +4 -0
- package/lib/duet/{p-9285796a.system.entry.js → p-25152446.system.entry.js} +1 -1
- package/lib/duet/p-25cfb26a.system.entry.js +4 -0
- package/lib/duet/{p-35539173.entry.js → p-2634dad4.entry.js} +1 -1
- package/lib/duet/p-2af0cd90.system.entry.js +4 -0
- package/lib/duet/p-2c0dbf48.system.entry.js +4 -0
- package/lib/duet/p-2f560eb6.system.entry.js +4 -0
- package/lib/duet/p-317e939c.system.entry.js +4 -0
- package/lib/duet/p-31c08993.system.entry.js +4 -0
- package/lib/duet/{p-563485d2.entry.js → p-31dc2463.entry.js} +1 -1
- package/lib/duet/{p-5607a0a7.system.entry.js → p-322b78d6.system.entry.js} +1 -1
- package/lib/duet/p-33887f28.entry.js +4 -0
- package/lib/duet/{p-1787fb22.entry.js → p-3575bb17.entry.js} +1 -1
- package/lib/duet/p-35853dae.system.entry.js +4 -0
- package/lib/duet/{p-c6612c3f.entry.js → p-3a053f92.entry.js} +1 -1
- package/lib/duet/p-3a2bc2f9.system.entry.js +4 -0
- package/lib/duet/{p-c27afab2.entry.js → p-3a8be22c.entry.js} +1 -1
- package/lib/duet/p-3b808dd4.system.entry.js +4 -0
- package/lib/duet/{p-f795fec5.system.entry.js → p-3c24751d.system.entry.js} +1 -1
- package/lib/duet/p-43d6c9e5.system.entry.js +4 -0
- package/lib/duet/p-460e0000.system.entry.js +4 -0
- package/lib/duet/{p-f2c39318.entry.js → p-466aa228.entry.js} +1 -1
- package/lib/duet/p-49cf2d52.system.entry.js +4 -0
- package/lib/duet/p-4bf107bc.system.entry.js +4 -0
- package/lib/duet/p-4c3009d4.entry.js +4 -0
- package/lib/duet/{p-40276f4e.entry.js → p-4d427b74.entry.js} +1 -1
- package/lib/duet/p-51eee6b2.system.entry.js +4 -0
- package/lib/duet/p-56db6310.entry.js +4 -0
- package/lib/duet/p-57ff4a56.system.entry.js +4 -0
- package/lib/duet/{p-ab72659c.entry.js → p-59ab89fe.entry.js} +1 -1
- package/lib/duet/p-59d0e9da.system.entry.js +4 -0
- package/lib/duet/p-5a158681.system.entry.js +4 -0
- package/lib/duet/p-5c142974.system.entry.js +4 -0
- package/lib/duet/p-6228593b.system.entry.js +4 -0
- package/lib/duet/p-63996737.entry.js +4 -0
- package/lib/duet/p-67d326ad.system.entry.js +4 -0
- package/lib/duet/p-6b420202.system.entry.js +4 -0
- package/lib/duet/p-6d3af831.system.entry.js +4 -0
- package/lib/duet/p-703d38f6.entry.js +4 -0
- package/lib/duet/p-77149afc.entry.js +4 -0
- package/lib/duet/p-77f82263.entry.js +4 -0
- package/lib/duet/{p-5fe54705.entry.js → p-812836a4.entry.js} +1 -1
- package/lib/duet/p-83740a39.entry.js +4 -0
- package/lib/duet/p-83a78090.system.entry.js +4 -0
- package/lib/duet/p-86fa6670.entry.js +4 -0
- package/lib/duet/p-8757adcf.system.entry.js +4 -0
- package/lib/duet/p-88a6749f.system.entry.js +4 -0
- package/lib/duet/p-88c382be.entry.js +4 -0
- package/lib/duet/{p-04ca6ed4.entry.js → p-8982ddf8.entry.js} +1 -1
- package/lib/duet/{p-427cbdfe.entry.js → p-8d129d52.entry.js} +1 -1
- package/lib/duet/{p-e447d590.entry.js → p-8d2d6072.entry.js} +1 -1
- package/lib/duet/{p-7c21c7b2.system.entry.js → p-8d545d1b.system.entry.js} +1 -1
- package/lib/duet/p-8f806a8b.entry.js +4 -0
- package/lib/duet/{p-dbf0d77a.system.entry.js → p-8fcec069.system.entry.js} +1 -1
- package/lib/duet/p-924a6fae.system.entry.js +4 -0
- package/lib/duet/{p-c1a863fa.entry.js → p-92e65f96.entry.js} +1 -1
- package/lib/duet/p-960b240d.system.entry.js +4 -0
- package/lib/duet/p-9629d71a.system.entry.js +4 -0
- package/lib/duet/{p-3eb94a67.entry.js → p-9b9055ce.entry.js} +1 -1
- package/lib/duet/{p-d989bb64.entry.js → p-9c87118f.entry.js} +1 -1
- package/lib/duet/p-9d0a9bd5.system.entry.js +4 -0
- package/lib/duet/p-9f11e160.system.entry.js +4 -0
- package/lib/duet/{p-a27366e9.entry.js → p-9f1f39b5.entry.js} +1 -1
- package/lib/duet/{p-630b0aee.system.entry.js → p-a1199061.system.entry.js} +1 -1
- package/lib/duet/p-a221c855.entry.js +4 -0
- package/lib/duet/p-a29a4414.system.entry.js +4 -0
- package/lib/duet/p-a5d5622d.system.entry.js +4 -0
- package/lib/duet/{p-5c3be505.entry.js → p-a917e3b6.entry.js} +1 -1
- package/lib/duet/p-a933c3f8.system.entry.js +4 -0
- package/lib/duet/{p-54c2f367.entry.js → p-ab13177d.entry.js} +1 -1
- package/lib/duet/p-acad33fd.entry.js +4 -0
- package/lib/duet/p-b1db3006.js +1 -1
- package/lib/duet/p-b2ba1012.system.entry.js +4 -0
- package/lib/duet/{p-14b1e688.js → p-b3cdf97b.js} +1 -1
- package/lib/duet/p-b44772bb.entry.js +4 -0
- package/lib/duet/{p-dd3b2f92.entry.js → p-b4c89247.entry.js} +1 -1
- package/lib/duet/p-b50558d2.entry.js +4 -0
- package/lib/duet/p-b5895431.system.entry.js +4 -0
- package/lib/duet/{p-eb54ff63.entry.js → p-b5d742f4.entry.js} +1 -1
- package/lib/duet/p-b7867483.system.entry.js +4 -0
- package/lib/duet/p-b87a1d54.system.entry.js +4 -0
- package/lib/duet/{p-6f0ce728.system.entry.js → p-b9e6d933.system.entry.js} +1 -1
- package/lib/duet/{p-393e06fc.entry.js → p-ba3c427f.entry.js} +1 -1
- package/lib/duet/p-bb04665a.entry.js +4 -0
- package/lib/duet/p-bbd312c3.entry.js +4 -0
- package/lib/duet/p-c0b16f31.entry.js +4 -0
- package/lib/duet/p-c4d454c3.entry.js +4 -0
- package/lib/duet/p-c9971192.system.entry.js +4 -0
- package/lib/duet/p-cc12d9fa.entry.js +4 -0
- package/lib/duet/p-ccca2abd.system.entry.js +4 -0
- package/lib/duet/{p-b32f4c37.system.js → p-cd0c52b9.system.js} +1 -1
- package/lib/duet/p-cd24dd64.entry.js +4 -0
- package/lib/duet/p-cd44cc43.system.entry.js +4 -0
- package/lib/duet/{p-c8946e4e.entry.js → p-cd51c9f9.entry.js} +1 -1
- package/lib/duet/p-d0a204dd.js +4 -0
- package/lib/duet/p-d4a49f9d.entry.js +4 -0
- package/lib/duet/{p-4be8874a.entry.js → p-d5039af1.entry.js} +1 -1
- package/lib/duet/p-d54bc721.entry.js +4 -0
- package/lib/duet/p-d6c3dc66.entry.js +4 -0
- package/lib/duet/p-dd52fc75.entry.js +4 -0
- package/lib/duet/p-de63db12.system.entry.js +4 -0
- package/lib/duet/{p-6705969f.system.entry.js → p-e2592469.system.entry.js} +1 -1
- package/lib/duet/{p-39a2d6f7.system.entry.js → p-e79b8e08.system.entry.js} +1 -1
- package/lib/duet/p-ea0c5cce.system.entry.js +4 -0
- package/lib/duet/p-eac7d756.system.entry.js +4 -0
- package/lib/duet/p-eb4dc652.system.entry.js +4 -0
- package/lib/duet/p-ef6131cf.system.entry.js +4 -0
- package/lib/duet/p-f20780ad.system.js +4 -0
- package/lib/duet/{p-0f4aff17.entry.js → p-f3340517.entry.js} +1 -1
- package/lib/duet/p-f364ae29.entry.js +4 -0
- package/lib/duet/p-f495c3af.system.entry.js +4 -0
- package/lib/duet/p-f695a268.system.entry.js +4 -0
- package/lib/duet/p-f6dfcdb7.system.entry.js +4 -0
- package/lib/duet/{p-4fafb7d6.entry.js → p-f7c8e22c.entry.js} +1 -1
- package/lib/duet/{p-33ef2855.system.entry.js → p-fb92ab7b.system.entry.js} +1 -1
- package/lib/duet/p-fcaa49c3.entry.js +4 -0
- package/lib/duet/p-fcdc6d18.entry.js +4 -0
- package/lib/duet/p-fd55984b.system.entry.js +4 -0
- package/lib/duet/{p-0cefe244.entry.js → p-fe87de6d.entry.js} +1 -1
- package/lib/duet/p-ff6679c1.entry.js +4 -0
- package/lib/esm/{dom-d10a1938.js → dom-ae12a113.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +2 -2
- package/lib/esm/duet-alert.entry.js +8 -2
- package/lib/esm/duet-badge.entry.js +2 -2
- package/lib/esm/duet-breadcrumb.entry.js +2 -2
- package/lib/esm/duet-breadcrumbs.entry.js +2 -2
- package/lib/esm/duet-button_2.entry.js +3 -3
- package/lib/esm/duet-caption_4.entry.js +5 -5
- package/lib/esm/duet-card.entry.js +2 -2
- package/lib/esm/duet-checkbox.entry.js +2 -2
- package/lib/esm/duet-checkmark.entry.js +2 -2
- package/lib/esm/duet-choice_2.entry.js +3 -3
- package/lib/esm/duet-collapsible.entry.js +2 -2
- package/lib/esm/duet-combobox.entry.js +2 -2
- package/lib/esm/duet-contact-card.entry.js +60 -0
- package/lib/esm/duet-cookie-consent.entry.js +2 -2
- package/lib/esm/duet-date-picker.entry.js +3 -3
- package/lib/esm/duet-divider_2.entry.js +2 -2
- package/lib/esm/duet-editable-table_3.entry.js +3 -3
- package/lib/esm/duet-empty-state.entry.js +2 -2
- package/lib/esm/duet-fieldset.entry.js +2 -2
- package/lib/esm/duet-footer.entry.js +2 -2
- package/lib/esm/duet-grid_2.entry.js +2 -2
- package/lib/esm/duet-header_2.entry.js +3 -3
- package/lib/esm/duet-hero.entry.js +2 -2
- package/lib/esm/duet-icon.entry.js +2 -2
- package/lib/esm/duet-input_2.entry.js +3 -3
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +2 -2
- package/lib/esm/duet-menu-bar-button.entry.js +2 -2
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar-dropdown.entry.js +2 -2
- package/lib/esm/duet-menu-bar-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar.entry.js +2 -2
- package/lib/esm/duet-modal.entry.js +6 -4
- package/lib/esm/duet-multiselect.entry.js +2 -2
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +3 -3
- package/lib/esm/duet-number-input.entry.js +2 -2
- package/lib/esm/duet-page-heading.entry.js +2 -2
- package/lib/esm/duet-pagination_2.entry.js +2 -2
- package/lib/esm/duet-progress.entry.js +2 -2
- package/lib/esm/duet-radio_2.entry.js +2 -2
- package/lib/esm/duet-range-slider.entry.js +2 -2
- package/lib/esm/duet-scrollable_3.entry.js +2 -2
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +2 -2
- package/lib/esm/duet-slideout-lang.entry.js +2 -2
- package/lib/esm/duet-slideout-link.entry.js +2 -2
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +2 -2
- package/lib/esm/duet-slideout-panel.entry.js +3 -3
- package/lib/esm/duet-slideout.entry.js +3 -3
- package/lib/esm/duet-step_2.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar.entry.js +2 -2
- package/lib/esm/duet-textarea.entry.js +2 -2
- package/lib/esm/duet-toggle.entry.js +2 -2
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-toolbar-dropdown.entry.js +2 -2
- package/lib/esm/duet-toolbar-link.entry.js +2 -2
- package/lib/esm/duet-toolbar.entry.js +2 -2
- package/lib/esm/duet-tooltip.entry.js +2 -2
- package/lib/esm/duet-tray.entry.js +2 -2
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +16 -7
- package/lib/esm/{focus-utils-7b317f32.js → focus-utils-cf8246ed.js} +1 -1
- package/lib/esm/{index-849c698d.js → index-df15a197.js} +18 -4
- package/lib/esm/loader.js +4 -4
- package/lib/{dist-custom-elements/p-5a17a015.js → esm/shadow-css-66bc7949.js} +1 -1
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +2 -2
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +2 -2
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +2 -2
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +2 -2
- package/lib/esm-es5/duet-contact-card.entry.js +4 -0
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +2 -2
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +2 -2
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +2 -2
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +2 -2
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +2 -2
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +2 -2
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +2 -2
- package/lib/esm-es5/duet-range-slider.entry.js +2 -2
- package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +2 -2
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +2 -2
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +2 -2
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{focus-utils-7b317f32.js → focus-utils-cf8246ed.js} +1 -1
- package/lib/esm-es5/{index-849c698d.js → index-df15a197.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/types/common-types.d.ts +20 -0
- package/lib/types/components/duet-alert/duet-alert.d.ts +6 -0
- package/lib/types/components/duet-choice/duet-checkmark.d.ts +1 -2
- package/lib/types/components/duet-choice/duet-choice.d.ts +1 -2
- package/lib/types/components/duet-contact-card/duet-contact-card.d.ts +64 -0
- package/lib/types/components/duet-editable-table/duet-editable-table.d.ts +1 -2
- package/lib/types/components/duet-modal/duet-modal.d.ts +7 -1
- package/lib/types/components/duet-table/duet-table.d.ts +1 -4
- package/lib/types/components/duet-upload/duet-upload.d.ts +1 -2
- package/lib/types/components/duet-upload-aria-status/duet-upload-aria-status.d.ts +1 -8
- package/lib/types/components.d.ts +160 -7
- package/lib/types/stencil-public-runtime.d.ts +12 -12
- package/package.json +7 -7
- package/lib/dist-custom-elements/p-2228bf13.js +0 -186
- package/lib/dist-custom-elements/p-364cfb78.js +0 -54
- package/lib/dist-custom-elements/p-c0878e32.js +0 -265
- package/lib/dist-custom-elements/p-e201a19a.js +0 -76
- package/lib/dist-custom-elements/p-e38fc76d.js +0 -37
- package/lib/dist-custom-elements/p-e6b8ebb0.js +0 -120
- package/lib/duet/p-00a53506.system.entry.js +0 -4
- package/lib/duet/p-010cbd87.system.entry.js +0 -4
- package/lib/duet/p-0339a6ba.system.entry.js +0 -4
- package/lib/duet/p-0480457b.system.entry.js +0 -4
- package/lib/duet/p-0783af51.system.entry.js +0 -4
- package/lib/duet/p-0875374b.entry.js +0 -4
- package/lib/duet/p-0b08aa13.system.entry.js +0 -4
- package/lib/duet/p-0de644e5.entry.js +0 -4
- package/lib/duet/p-12593e03.entry.js +0 -4
- package/lib/duet/p-14c4c15a.system.entry.js +0 -4
- package/lib/duet/p-165f0e7c.system.entry.js +0 -4
- package/lib/duet/p-1b8a8804.system.entry.js +0 -4
- package/lib/duet/p-1c952867.system.entry.js +0 -4
- package/lib/duet/p-1e2595e2.system.entry.js +0 -4
- package/lib/duet/p-2ae7d801.entry.js +0 -4
- package/lib/duet/p-2ae9d336.system.entry.js +0 -4
- package/lib/duet/p-2b1ddf25.js +0 -4
- package/lib/duet/p-2c170dc6.system.entry.js +0 -4
- package/lib/duet/p-2ca556bd.entry.js +0 -4
- package/lib/duet/p-2ebfba54.system.entry.js +0 -4
- package/lib/duet/p-31252f4a.system.entry.js +0 -4
- package/lib/duet/p-3406f73d.system.entry.js +0 -4
- package/lib/duet/p-35ba9699.system.entry.js +0 -4
- package/lib/duet/p-38547565.system.entry.js +0 -4
- package/lib/duet/p-396dce30.entry.js +0 -4
- package/lib/duet/p-3a3bd672.system.entry.js +0 -4
- package/lib/duet/p-3f45ca7b.entry.js +0 -4
- package/lib/duet/p-4444cfb8.system.entry.js +0 -4
- package/lib/duet/p-452cb659.system.entry.js +0 -4
- package/lib/duet/p-47f3c160.system.entry.js +0 -4
- package/lib/duet/p-495582a5.entry.js +0 -4
- package/lib/duet/p-4c699ac2.system.entry.js +0 -4
- package/lib/duet/p-4c6d9583.entry.js +0 -4
- package/lib/duet/p-52148128.entry.js +0 -4
- package/lib/duet/p-55cbf1e0.system.entry.js +0 -4
- package/lib/duet/p-5a0333a6.entry.js +0 -4
- package/lib/duet/p-67e40f5a.system.entry.js +0 -4
- package/lib/duet/p-6fe86c6a.system.entry.js +0 -4
- package/lib/duet/p-7385646e.system.entry.js +0 -4
- package/lib/duet/p-7881585e.entry.js +0 -4
- package/lib/duet/p-79230071.system.entry.js +0 -4
- package/lib/duet/p-7a6d0da2.entry.js +0 -4
- package/lib/duet/p-7b0e565a.system.entry.js +0 -4
- package/lib/duet/p-7e177248.entry.js +0 -4
- package/lib/duet/p-812b157d.entry.js +0 -4
- package/lib/duet/p-815ba656.system.entry.js +0 -4
- package/lib/duet/p-81a9673b.entry.js +0 -4
- package/lib/duet/p-83e0a386.system.entry.js +0 -4
- package/lib/duet/p-8694aa9f.entry.js +0 -4
- package/lib/duet/p-88b30828.system.entry.js +0 -4
- package/lib/duet/p-8ce83440.system.entry.js +0 -4
- package/lib/duet/p-94aed15c.entry.js +0 -4
- package/lib/duet/p-9938e39c.entry.js +0 -4
- package/lib/duet/p-9b062a1c.system.entry.js +0 -4
- package/lib/duet/p-a3eb0816.system.entry.js +0 -4
- package/lib/duet/p-aa915061.system.entry.js +0 -4
- package/lib/duet/p-aa9eef98.system.entry.js +0 -4
- package/lib/duet/p-ae3234af.system.entry.js +0 -4
- package/lib/duet/p-b0361d6a.system.entry.js +0 -4
- package/lib/duet/p-b55995ae.system.entry.js +0 -4
- package/lib/duet/p-b6d674ce.system.entry.js +0 -4
- package/lib/duet/p-b744dbba.system.entry.js +0 -4
- package/lib/duet/p-b791aabb.entry.js +0 -4
- package/lib/duet/p-b868a149.entry.js +0 -4
- package/lib/duet/p-b89a4172.entry.js +0 -4
- package/lib/duet/p-bbd64ff4.entry.js +0 -4
- package/lib/duet/p-bbf6eb36.system.entry.js +0 -4
- package/lib/duet/p-cbc1cdf4.system.entry.js +0 -4
- package/lib/duet/p-ccc3f9e9.entry.js +0 -4
- package/lib/duet/p-cdf070ab.system.entry.js +0 -4
- package/lib/duet/p-ced14b92.system.entry.js +0 -4
- package/lib/duet/p-d7713234.system.entry.js +0 -4
- package/lib/duet/p-d7ef7aa4.system.entry.js +0 -4
- package/lib/duet/p-da36ba6e.system.entry.js +0 -4
- package/lib/duet/p-da4cf292.entry.js +0 -4
- package/lib/duet/p-dbe40b10.entry.js +0 -4
- package/lib/duet/p-de57ee9e.entry.js +0 -4
- package/lib/duet/p-e0628a33.system.entry.js +0 -4
- package/lib/duet/p-e0a6ce6f.entry.js +0 -4
- package/lib/duet/p-e36abf9f.system.entry.js +0 -4
- package/lib/duet/p-eb7d40bf.system.entry.js +0 -4
- package/lib/duet/p-ed665738.entry.js +0 -4
- package/lib/duet/p-ee43b8cc.entry.js +0 -4
- package/lib/duet/p-eebe30a6.system.entry.js +0 -4
- package/lib/duet/p-f2654f02.entry.js +0 -4
- package/lib/duet/p-f46d2cdf.system.entry.js +0 -4
- package/lib/duet/p-f4c24c1a.system.entry.js +0 -4
- package/lib/duet/p-f74665b5.entry.js +0 -4
- package/lib/duet/p-f7781ab9.system.js +0 -4
- package/lib/duet/p-fcac77ef.entry.js +0 -4
- /package/lib/duet/{p-524ad48c.system.js → p-6cf44bfa.system.js} +0 -0
- /package/lib/duet/{p-5a17a015.js → p-6ee53ac3.js} +0 -0
- /package/lib/duet/{p-49dfa097.js → p-9c159fd4.js} +0 -0
- /package/lib/duet/{p-43179518.system.js → p-9d9204af.system.js} +0 -0
- /package/lib/esm-es5/{dom-d10a1938.js → dom-ae12a113.js} +0 -0
- /package/lib/esm-es5/{shadow-css-e76e6e1c.js → shadow-css-66bc7949.js} +0 -0
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-67e14cd3.js';
|
|
5
|
+
import { s as sizeNavigation, i as sizeHeader } from './p-33e00967.js';
|
|
6
|
+
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
7
|
+
import { d as debounce } from './p-0b3f675e.js';
|
|
8
|
+
import { b as breakpointToToken } from './p-9ed347f9.js';
|
|
9
|
+
|
|
10
|
+
const duetTableCss = "duet-table{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:block;font-variant-numeric:tabular-nums}duet-table table,duet-table thead,duet-table tbody,duet-table tfoot,duet-table th,duet-table td,duet-table tr{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}duet-table.duet-m-0{margin:0 !important}duet-table table{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;text-align:left;border-spacing:0;border-collapse:separate}duet-table.duet-theme-turva table{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}duet-table td{-webkit-hyphens:auto;hyphens:auto;color:rgb(0, 41, 77)}duet-table.duet-theme-turva td{color:rgb(23, 28, 58)}duet-table th{font-weight:600;line-height:1.25;color:rgb(101, 119, 135);text-align:left}duet-table.duet-theme-turva th{color:rgb(116, 116, 117)}duet-table tbody th{font-weight:600;color:rgb(0, 41, 77)}duet-table.duet-theme-turva tbody th{color:rgb(23, 28, 58)}duet-table .duet-table-action-row td:last-child{justify-self:end;padding-right:20px !important;white-space:nowrap}.duet-table-flattened table,.duet-table-flattened thead,.duet-table-flattened tbody,.duet-table-flattened tfoot,.duet-table-flattened th,.duet-table-flattened td,.duet-table-flattened tr{display:block}.duet-table-flattened thead tr{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-table-flattened td{line-height:1.25}.duet-table-flattened td:not(:last-child){margin-bottom:16px !important}.duet-table-flattened tbody td,.duet-table-flattened tbody th,.duet-table-flattened tfoot td{padding:0 !important;text-align:left !important}.duet-table-flattened tbody th{font-weight:600;line-height:1.25;color:rgb(101, 119, 135);text-align:left}.duet-table-flattened td[data-heading]::before{margin-bottom:4px !important;display:block;font-size:1rem;font-weight:600;color:rgb(0, 41, 77);content:attr(data-heading)}.duet-table-flattened.duet-theme-turva td[data-heading]::before{color:rgb(23, 28, 58)}.duet-table-sticky thead th{position:sticky;top:0;background:rgb(255, 255, 255)}.duet-table-striped td,.duet-table-striped th{padding:20px !important}@media (max-width: 35.9375em){.duet-table-striped td,.duet-table-striped th{padding:20px 12px !important}}.duet-table-striped tbody th{background:rgb(255, 255, 255)}.duet-table-striped.duet-table-sticky thead th{border-bottom:1px solid rgb(225, 227, 230)}.duet-table-striped.duet-table-sticky.duet-theme-turva thead th{border-bottom-color:rgb(228, 228, 230)}.duet-table-striped tbody:not(:first-of-type) th{padding-top:40px !important}.duet-table-striped tbody:only-of-type tr:nth-of-type(odd){background:rgba(0, 80, 128, 0.04)}.duet-table-striped.duet-theme-turva tbody:only-of-type tr:nth-of-type(odd){background:rgba(23, 28, 58, 0.04)}.duet-table-striped tbody:not(:only-of-type) tr:nth-of-type(even){background:rgba(0, 80, 128, 0.04)}.duet-table-striped.duet-theme-turva tbody:not(:only-of-type) tr:nth-of-type(even){background:rgba(23, 28, 58, 0.04)}.duet-table-striped tfoot td{border-top:1px solid rgb(225, 227, 230)}.duet-table-striped.duet-theme-turva tfoot td{border-top-color:rgb(228, 228, 230)}.duet-table-striped.duet-table-flattened tbody:not(:first-of-type) th{padding-top:20px !important}.duet-table-striped.duet-table-flattened tr{padding:20px !important}.duet-table-striped.duet-table-flattened tfoot td{border-top:0}.duet-table-striped.duet-table-flattened tfoot tr{border-top:1px solid rgb(225, 227, 230)}.duet-table-striped.duet-table-flattened.duet-theme-turva tfoot tr{border-top-color:rgb(228, 228, 230)}.duet-table-fixed th,.duet-table-minimal th,.duet-table-plain th{padding:16px !important;border-bottom:1px solid rgb(101, 119, 135)}.duet-table-fixed th:first-child,.duet-table-minimal th:first-child,.duet-table-plain th:first-child{padding-left:0 !important}.duet-table-fixed th:last-child,.duet-table-minimal th:last-child,.duet-table-plain th:last-child{padding-right:0 !important}.duet-theme-turva.duet-table-fixed th,.duet-theme-turva.duet-table-minimal th,.duet-theme-turva.duet-table-plain th{border-bottom-color:rgb(68, 68, 69)}.duet-table-fixed tbody th,.duet-table-minimal tbody th,.duet-table-plain tbody th{padding-top:40px !important;border-bottom-color:rgb(225, 227, 230)}.duet-theme-turva.duet-table-fixed tbody th,.duet-theme-turva.duet-table-minimal tbody th,.duet-theme-turva.duet-table-plain tbody th{border-bottom-color:rgb(228, 228, 230)}.duet-table-fixed td,.duet-table-minimal td,.duet-table-plain td{padding:16px !important}.duet-table-fixed td:first-child,.duet-table-minimal td:first-child,.duet-table-plain td:first-child{padding-left:0 !important}.duet-table-fixed td:last-child,.duet-table-minimal td:last-child,.duet-table-plain td:last-child{padding-right:0 !important}.duet-table-fixed tbody td,.duet-table-minimal tbody td,.duet-table-plain tbody td{border-bottom:1px solid rgb(225, 227, 230)}.duet-theme-turva.duet-table-fixed tbody td,.duet-theme-turva.duet-table-minimal tbody td,.duet-theme-turva.duet-table-plain tbody td{border-bottom-color:rgb(228, 228, 230)}.duet-table-flattened.duet-table-fixed tbody:first-of-type th,.duet-table-flattened.duet-table-minimal tbody:first-of-type th,.duet-table-flattened.duet-table-plain tbody:first-of-type th{padding-top:0 !important}.duet-table-flattened.duet-table-fixed td,.duet-table-flattened.duet-table-minimal td,.duet-table-flattened.duet-table-plain td,.duet-table-flattened.duet-table-fixed tbody th,.duet-table-flattened.duet-table-minimal tbody th,.duet-table-flattened.duet-table-plain tbody th{border-bottom:0}.duet-table-flattened.duet-table-fixed tr,.duet-table-flattened.duet-table-minimal tr,.duet-table-flattened.duet-table-plain tr{padding:20px 0 !important}.duet-table-flattened.duet-table-fixed tbody th,.duet-table-flattened.duet-table-minimal tbody th,.duet-table-flattened.duet-table-plain tbody th{padding-top:20px !important}.duet-table-flattened.duet-table-fixed tfoot td,.duet-table-flattened.duet-table-minimal tfoot td,.duet-table-flattened.duet-table-plain tfoot td{margin-bottom:4px !important}.duet-table-flattened.duet-table-fixed tbody:not(:only-of-type) tr:first-child,.duet-table-flattened.duet-table-minimal tbody:not(:only-of-type) tr:first-child,.duet-table-flattened.duet-table-plain tbody:not(:only-of-type) tr:first-child{border-bottom:0}.duet-table-plain.duet-table-flattened tbody tr{border-bottom:1px solid rgb(225, 227, 230)}.duet-table-plain.duet-table-flattened.duet-theme-turva tbody tr{border-bottom-color:rgb(228, 228, 230)}.duet-table-minimal tbody tr,.duet-table-minimal tbody tr td{vertical-align:top;border-bottom:0 none}.duet-table-minimal tbody tr:last-of-type,.duet-table-minimal tbody tr:last-of-type td{border-bottom:1px solid rgb(225, 227, 230)}.duet-table-minimal.duet-table-flattened tbody tr,.duet-table-minimal.duet-table-flattened tbody tr td{border-bottom:0 none}.duet-table-minimal.duet-table-flattened tbody tr td[data-heading]::before{display:none}.duet-table-minimal.duet-table-flattened tfoot{border-top:1px solid rgb(225, 227, 230)}.duet-table-minimal.duet-table-flattened.duet-theme-turva tfoot{border-top-color:rgb(228, 228, 230)}.duet-table-fixed table{table-layout:fixed}.duet-table-fixed tbody tr,.duet-table-fixed tbody tr td,.duet-table-fixed tbody tr td:first-child{padding:4px !important;vertical-align:text-bottom;border-bottom:0 none}.duet-table-fixed thead{display:none}.duet-table-fixed tbody tr,.duet-table-fixed tbody tr td{border-bottom:0 none}.duet-table-fixed:not(.duet-table-flattened) tfoot{border-top:1px solid rgb(225, 227, 230)}.duet-table-fixed:not(.duet-table-flattened).duet-theme-turva tfoot{border-top-color:rgb(228, 228, 230)}.duet-table-scrollable{position:relative;width:100%;overflow-x:auto;background:linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0)), linear-gradient(-90deg, #fff 0%, rgba(255, 255, 255, 0)) 100% 0, radial-gradient(farthest-side at 0% 50%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)), radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)) 100% 0%;background-repeat:no-repeat;background-attachment:local, local, scroll, scroll;background-size:100px 100%, 100px 100%, 12px 100%, 12px 100%}.duet-table-selected-column{background:rgba(0, 119, 179, 0.08)}.duet-theme-turva .duet-table-selected-column{background:rgba(68, 68, 69, 0.08)}.duet-table-sortable tbody tr td:first-child,.duet-table-sortable thead tr th:first-child{padding:20px}.duet-table-sortable:not(.duet-table-flattened) tfoot{border-top:1px solid rgb(225, 227, 230)}.duet-table-sortable:not(.duet-table-flattened).duet-theme-turva tfoot{border-top-color:rgb(228, 228, 230)}.duet-table-actions table{table-layout:auto}.duet-table-actions thead th:last-child{width:1px;white-space:nowrap}.duet-editable-table-table.duet-table-flattened tr{display:grid;grid-template-columns:repeat(2, 1fr);grid-auto-rows:auto;gap:10px}.duet-editable-table-table.duet-table-flattened tr.duet-table-action-row td:last-child::before{padding:0;content:\"\"}.duet-editable-table-table.duet-table-flattened td{grid-column:1/2}.duet-editable-table-table.duet-table-flattened td:first-child{grid-row:1;grid-column:1}.duet-editable-table-table.duet-table-flattened td:last-child{grid-row:1;grid-column:2}";
|
|
11
|
+
|
|
12
|
+
const stickyTopValues = {
|
|
13
|
+
none: 0,
|
|
14
|
+
"with-links": parseFloat(sizeNavigation) * 16,
|
|
15
|
+
"without-links": parseFloat(sizeHeader) * 16,
|
|
16
|
+
};
|
|
17
|
+
const DuetTable = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
18
|
+
constructor() {
|
|
19
|
+
super();
|
|
20
|
+
this.__registerHost();
|
|
21
|
+
this.headingSelector = "thead tr > :not(*.duet-editable-table-actions-menu)";
|
|
22
|
+
this.handleMediaQueryChange = (mq) => {
|
|
23
|
+
this.matchesBreakpoint = mq.matches;
|
|
24
|
+
};
|
|
25
|
+
this.matchesBreakpoint = true;
|
|
26
|
+
this.theme = undefined;
|
|
27
|
+
this.margin = "auto";
|
|
28
|
+
this.variation = "striped";
|
|
29
|
+
this.sticky = false;
|
|
30
|
+
this.stickyDistance = "with-links";
|
|
31
|
+
this.breakpoint = "small";
|
|
32
|
+
}
|
|
33
|
+
connectedCallback() {
|
|
34
|
+
const token = this.breakpoint === "none" || this.breakpoint === "none-scrollable" ? "all" : breakpointToToken[this.breakpoint];
|
|
35
|
+
this.mq = matchMedia(token);
|
|
36
|
+
this.mq.addEventListener("change", debounce(this.handleMediaQueryChange, 50));
|
|
37
|
+
this.handleMediaQueryChange(this.mq);
|
|
38
|
+
this.observer = new MutationObserver(() => debounce(this.copyHeadingsToCells(), 50));
|
|
39
|
+
this.observer.observe(this.element, {
|
|
40
|
+
childList: true,
|
|
41
|
+
subtree: true,
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
componentWillLoad() {
|
|
45
|
+
inheritGlobalTheme(this);
|
|
46
|
+
this.copyHeadingsToCells();
|
|
47
|
+
if (this.sticky && this.breakpoint === "none-scrollable") {
|
|
48
|
+
console.warn(`[DUET WARNING]: sticky and breakpoint="none-scrollable" are incompatible. Scrollable takes precedence`);
|
|
49
|
+
}
|
|
50
|
+
if (this.sticky) {
|
|
51
|
+
const stickyTop = stickyTopValues[this.stickyDistance];
|
|
52
|
+
const headingElements = this.element.querySelectorAll(this.headingSelector);
|
|
53
|
+
headingElements.forEach(th => (th.style.top = `${stickyTop}px`));
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
componentDidLoad() {
|
|
57
|
+
// this clears all pending mutations,
|
|
58
|
+
// that way we avoid dealing with any initial changes
|
|
59
|
+
// and only get genuine mutations as rows are added/removed
|
|
60
|
+
this.observer ? this.observer.takeRecords() : null;
|
|
61
|
+
}
|
|
62
|
+
disconnectedCallback() {
|
|
63
|
+
this.observer.disconnect();
|
|
64
|
+
this.observer = null;
|
|
65
|
+
this.mq.removeListener(this.handleMediaQueryChange);
|
|
66
|
+
this.mq = null;
|
|
67
|
+
this.matchesBreakpoint = true;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Local methods.
|
|
71
|
+
*/
|
|
72
|
+
copyHeadingsToCells() {
|
|
73
|
+
const headingElements = this.element.querySelectorAll(this.headingSelector);
|
|
74
|
+
const rowElements = this.element.querySelectorAll("tbody tr");
|
|
75
|
+
const headings = Array.from(headingElements).map(th => th.textContent.trim());
|
|
76
|
+
rowElements.forEach(tr => {
|
|
77
|
+
tr.querySelectorAll("td").forEach((td, i) => {
|
|
78
|
+
if (headings[i]) {
|
|
79
|
+
td.dataset.heading = headings[i];
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
render() {
|
|
85
|
+
return (h(Host, { class: {
|
|
86
|
+
[`duet-table-${this.variation}`]: true,
|
|
87
|
+
"duet-table-flattened": !this.matchesBreakpoint,
|
|
88
|
+
// sticky only valid when in regular table layout
|
|
89
|
+
"duet-table-sticky": this.matchesBreakpoint && this.sticky,
|
|
90
|
+
"duet-table-scrollable": this.breakpoint === "none-scrollable",
|
|
91
|
+
"duet-m-0": this.margin === "none",
|
|
92
|
+
"duet-theme-turva": this.theme === "turva",
|
|
93
|
+
} }, h("slot", null)));
|
|
94
|
+
}
|
|
95
|
+
get element() { return this; }
|
|
96
|
+
static get style() { return duetTableCss; }
|
|
97
|
+
}, [4, "duet-table", {
|
|
98
|
+
"theme": [1025],
|
|
99
|
+
"margin": [1],
|
|
100
|
+
"variation": [1],
|
|
101
|
+
"sticky": [4],
|
|
102
|
+
"stickyDistance": [1, "sticky-distance"],
|
|
103
|
+
"breakpoint": [1],
|
|
104
|
+
"matchesBreakpoint": [32]
|
|
105
|
+
}]);
|
|
106
|
+
function defineCustomElement() {
|
|
107
|
+
if (typeof customElements === "undefined") {
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
110
|
+
const components = ["duet-table"];
|
|
111
|
+
components.forEach(tagName => { switch (tagName) {
|
|
112
|
+
case "duet-table":
|
|
113
|
+
if (!customElements.get(tagName)) {
|
|
114
|
+
customElements.define(tagName, DuetTable);
|
|
115
|
+
}
|
|
116
|
+
break;
|
|
117
|
+
} });
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export { DuetTable as D, defineCustomElement as d };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h,
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-67e14cd3.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
|
-
import { d as defineCustomElement$1 } from './p-
|
|
6
|
+
import { d as defineCustomElement$1 } from './p-c6137eb6.js';
|
|
7
7
|
|
|
8
8
|
const duetScrollableCss = "*,*::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;-webkit-tap-highlight-color:transparent}:host{position:relative !important}:host .duet-scrollable-items{display:flex}:host .duet-scrollable-items .duet-scrollable-button{position:relative;flex:0 0 auto;flex-basis:40px;padding:10px;cursor:pointer}:host .duet-scrollable-items .duet-scrollable-button:active{transform:scale(0.8)}:host .duet-scrollable-items .duet-scrollable-button--left{left:-12px}:host .duet-scrollable-items .duet-scrollable-button--right{right:-12px}:host .duet-scrollable-items .duet-scrollable-button--occluded{display:none}:host .duet-scrollable-items .duet-scrollable-list{display:flex;flex-wrap:nowrap;gap:20px;padding-top:2px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scroll-snap-type:x mandatory;scroll-behavior:smooth;scroll-margin:0 20px;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch;}:host .duet-scrollable-items .duet-scrollable-list::-webkit-scrollbar{display:none}::slotted(*){scroll-snap-align:center;margin-left:0;-webkit-transition:-webkit-transform 0.2s ease-in-out;transition:-webkit-transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out}";
|
|
9
9
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
4
|
const NAMESPACE = 'duet';
|
|
5
|
-
const Env = /* duet */ {"cdnURILocal":"http://0.0.0.0:3334","cdnURIProd":"https://cdn.duetds.com/api","duetIconVersion":"3.0.
|
|
5
|
+
const Env = /* duet */ {"cdnURILocal":"http://0.0.0.0:3334","cdnURIProd":"https://cdn.duetds.com/api","duetIconVersion":"3.0.36"};
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Virtual DOM patching algorithm based on Snabbdom by
|
|
@@ -49,6 +49,13 @@ const EMPTY_OBJ = {};
|
|
|
49
49
|
const SVG_NS = 'http://www.w3.org/2000/svg';
|
|
50
50
|
const HTML_NS = 'http://www.w3.org/1999/xhtml';
|
|
51
51
|
const isDef = (v) => v != null;
|
|
52
|
+
/**
|
|
53
|
+
* Check whether a value is a 'complex type', defined here as an object or a
|
|
54
|
+
* function.
|
|
55
|
+
*
|
|
56
|
+
* @param o the value to check
|
|
57
|
+
* @returns whether it's a complex type or not
|
|
58
|
+
*/
|
|
52
59
|
const isComplexType = (o) => {
|
|
53
60
|
// https://jsperf.com/typeof-fn-object/5
|
|
54
61
|
o = typeof o;
|
|
@@ -338,6 +345,7 @@ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
|
338
345
|
}
|
|
339
346
|
if (!appliedStyles.has(scopeId)) {
|
|
340
347
|
{
|
|
348
|
+
// TODO(STENCIL-659): Remove code implementing the CSS variable shim
|
|
341
349
|
{
|
|
342
350
|
styleElm = doc.createElement('style');
|
|
343
351
|
styleElm.innerHTML = style;
|
|
@@ -366,6 +374,7 @@ const attachStyles = (hostRef) => {
|
|
|
366
374
|
const flags = cmpMeta.$flags$;
|
|
367
375
|
const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
|
|
368
376
|
const scopeId = addStyle(supportsShadow && elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
|
|
377
|
+
// TODO(STENCIL-662): Remove code related to deprecated shadowDomShim field
|
|
369
378
|
if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
|
|
370
379
|
// only required when we're NOT using native shadow dom (slot)
|
|
371
380
|
// or this browser doesn't support native shadow dom
|
|
@@ -1683,7 +1692,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1683
1692
|
if (!styles.has(scopeId)) {
|
|
1684
1693
|
const endRegisterStyles = createTime('registerStyles', cmpMeta.$tagName$);
|
|
1685
1694
|
if (cmpMeta.$flags$ & 8 /* CMP_FLAGS.needsShadowDomShim */) {
|
|
1686
|
-
style = await import('./p-
|
|
1695
|
+
style = await import('./p-6ee53ac3.js').then((m) => m.scopeCss(style, scopeId, false));
|
|
1687
1696
|
}
|
|
1688
1697
|
registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */));
|
|
1689
1698
|
endRegisterStyles();
|
|
@@ -1719,7 +1728,8 @@ const connectedCallback = (elm) => {
|
|
|
1719
1728
|
// if the slot polyfill is required we'll need to put some nodes
|
|
1720
1729
|
// in here to act as original content anchors as we move nodes around
|
|
1721
1730
|
// host element has been connected to the DOM
|
|
1722
|
-
if ((
|
|
1731
|
+
if ((// TODO(STENCIL-662): Remove code related to deprecated shadowDomShim field
|
|
1732
|
+
cmpMeta.$flags$ & (4 /* CMP_FLAGS.hasSlotRelocation */ | 8 /* CMP_FLAGS.needsShadowDomShim */))) {
|
|
1723
1733
|
setContentReference(elm);
|
|
1724
1734
|
}
|
|
1725
1735
|
}
|
|
@@ -1802,6 +1812,7 @@ const proxyCustomElement = (Cstr, compactMeta) => {
|
|
|
1802
1812
|
cmpMeta.$attrsToReflect$ = [];
|
|
1803
1813
|
}
|
|
1804
1814
|
if (!supportsShadow && cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {
|
|
1815
|
+
// TODO(STENCIL-662): Remove code related to deprecated shadowDomShim field
|
|
1805
1816
|
cmpMeta.$flags$ |= 8 /* CMP_FLAGS.needsShadowDomShim */;
|
|
1806
1817
|
}
|
|
1807
1818
|
const originalConnectedCallback = Cstr.prototype.connectedCallback;
|
|
@@ -1913,7 +1924,9 @@ const plt = {
|
|
|
1913
1924
|
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
1914
1925
|
ce: (eventName, opts) => new CustomEvent(eventName, opts),
|
|
1915
1926
|
};
|
|
1916
|
-
const supportsShadow =
|
|
1927
|
+
const supportsShadow =
|
|
1928
|
+
// TODO(STENCIL-662): Remove code related to deprecated shadowDomShim field
|
|
1929
|
+
/*@__PURE__*/ (() => (doc.head.attachShadow + '').indexOf('[native') > -1)()
|
|
1917
1930
|
;
|
|
1918
1931
|
const promiseResolve = (v) => Promise.resolve(v);
|
|
1919
1932
|
const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
|
|
@@ -1968,4 +1981,4 @@ const flush = () => {
|
|
|
1968
1981
|
const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
|
|
1969
1982
|
const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
|
|
1970
1983
|
|
|
1971
|
-
export { Build as B, Env as E, Fragment as F, H, setNonce as a, setPlatformOptions as b,
|
|
1984
|
+
export { Build as B, Env as E, Fragment as F, H, setNonce as a, setPlatformOptions as b, createEvent as c, Host as d, h, proxyCustomElement as p, setAssetPath as s };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h,
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-67e14cd3.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
|
|
7
|
-
const duetLabelCss = "*.sc-duet-label,*.sc-duet-label::after,*.sc-duet-label::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-label-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;line-height:1.25;cursor:default}.duet-p-0.sc-duet-label-h{padding:0 !important}.duet-m-0.sc-duet-label-h{margin:0 !important}.duet-m-0.sc-duet-label-h{margin-bottom:0 !important}.duet-small-margin.sc-duet-label-h{margin-top:8px !important;margin-bottom:4px !important}.duet-has-tooltip.sc-duet-label-h{padding-right:48px}@media (min-width: 48em){.duet-has-tooltip.sc-duet-label-h{padding-right:0}}label.sc-duet-label{margin:0;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600 !important;line-height:1.25;color
|
|
7
|
+
const duetLabelCss = "*.sc-duet-label,*.sc-duet-label::after,*.sc-duet-label::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-label-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;line-height:1.25;cursor:default}.duet-p-0.sc-duet-label-h{padding:0 !important}.duet-m-0.sc-duet-label-h{margin:0 !important}.duet-m-0.sc-duet-label-h{margin-bottom:0 !important}.duet-small-margin.sc-duet-label-h{margin-top:8px !important;margin-bottom:4px !important}.duet-has-tooltip.sc-duet-label-h{padding-right:48px}@media (min-width: 48em){.duet-has-tooltip.sc-duet-label-h{padding-right:0}}label.sc-duet-label{margin:0;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600 !important;line-height:1.25;color:rgb(0, 41, 77);text-align:left;word-break:break-word}label.sc-duet-label span.sc-duet-label{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-label-small.sc-duet-label-h label.sc-duet-label{font-size:0.875rem}.duet-label-small.sc-duet-label-h label.sc-duet-label span.sc-duet-label{font-size:0.875rem}.duet-theme-turva.sc-duet-label-h label.sc-duet-label{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}";
|
|
8
8
|
|
|
9
9
|
const DuetLabel = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
10
10
|
constructor() {
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-67e14cd3.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
|
+
|
|
7
|
+
const duetCheckmarkCss = ".duet-checkmark-container{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;transition:border 300ms ease}.duet-checkmark-container.center{margin-right:auto}.duet-theme-turva .duet-checkmark-container{border-color:rgb(116, 116, 117)}.checked .duet-checkmark-container{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .checked .duet-checkmark-container{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio{border-radius:50%}[disabled]+label .duet-checkmark-container{border-color:rgb(207, 210, 212) !important}.duet-theme-turva [disabled]+label .duet-checkmark-container{border-color:rgb(207, 207, 209) !important}.checked [disabled]+label .duet-checkmark-container{background:rgb(207, 210, 212) !important}.duet-theme-turva .checked [disabled]+label .duet-checkmark-container{background:rgb(207, 207, 209) !important}.duet-checkmark{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}";
|
|
8
|
+
|
|
9
|
+
const DuetCheckmark = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
10
|
+
constructor() {
|
|
11
|
+
super();
|
|
12
|
+
this.__registerHost();
|
|
13
|
+
this.theme = "";
|
|
14
|
+
this.checked = false;
|
|
15
|
+
this.presentationOnly = false;
|
|
16
|
+
this.center = false;
|
|
17
|
+
this.type = "checkbox";
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Component lifecycle events.
|
|
21
|
+
*/
|
|
22
|
+
componentWillLoad() {
|
|
23
|
+
inheritGlobalTheme(this);
|
|
24
|
+
}
|
|
25
|
+
render() {
|
|
26
|
+
return (h(Host, { class: { "duet-theme-turva": this.theme === "turva" } }, h("div", { role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, h("div", { class: {
|
|
27
|
+
"duet-checkmark-container": true,
|
|
28
|
+
center: this.center,
|
|
29
|
+
"duet-checkmark-radio": this.type === "radio",
|
|
30
|
+
} }, this.checked && h("div", { class: "duet-checkmark" })))));
|
|
31
|
+
}
|
|
32
|
+
static get style() { return duetCheckmarkCss; }
|
|
33
|
+
}, [0, "duet-checkmark", {
|
|
34
|
+
"theme": [1025],
|
|
35
|
+
"checked": [1028],
|
|
36
|
+
"presentationOnly": [4, "presentation-only"],
|
|
37
|
+
"center": [4],
|
|
38
|
+
"type": [513]
|
|
39
|
+
}]);
|
|
40
|
+
function defineCustomElement() {
|
|
41
|
+
if (typeof customElements === "undefined") {
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
const components = ["duet-checkmark"];
|
|
45
|
+
components.forEach(tagName => { switch (tagName) {
|
|
46
|
+
case "duet-checkmark":
|
|
47
|
+
if (!customElements.get(tagName)) {
|
|
48
|
+
customElements.define(tagName, DuetCheckmark);
|
|
49
|
+
}
|
|
50
|
+
break;
|
|
51
|
+
} });
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export { DuetCheckmark as D, defineCustomElement as d };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h,
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-67e14cd3.js';
|
|
5
5
|
|
|
6
6
|
const duetVisuallyHiddenCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}";
|
|
7
7
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, F as Fragment,
|
|
4
|
+
import { p as proxyCustomElement, H, h, F as Fragment, d as Host } from './p-67e14cd3.js';
|
|
5
5
|
import { a as actionNewWindowSmall } from './p-f11208c3.js';
|
|
6
6
|
import { D as DuetStringsExternalDefaults } from './p-76f00bd5.js';
|
|
7
7
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
8
8
|
import { a as getLanguage, g as getLocaleString } from './p-6c05e879.js';
|
|
9
|
-
import { d as defineCustomElement$2 } from './p-
|
|
10
|
-
import { d as defineCustomElement$1 } from './p-
|
|
9
|
+
import { d as defineCustomElement$2 } from './p-c6137eb6.js';
|
|
10
|
+
import { d as defineCustomElement$1 } from './p-6fe0175a.js';
|
|
11
11
|
|
|
12
|
-
const duetLinkCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline}.duet-link{display:inline;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;font-weight:400;color
|
|
12
|
+
const duetLinkCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline}.duet-link{display:inline;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;font-weight:400;color:rgb(0, 119, 179);text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-theme-turva .duet-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-link.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(198, 12, 48)}.duet-link:hover{color:rgb(0, 77, 128);text-decoration:none}.duet-link:hover.duet-theme-turva{color:rgb(148, 9, 37)}.duet-link:active{opacity:0.75;transition:none}.duet-link-external{position:absolute;width:20px;height:20px;margin-left:-15px}.duet-tab-to-link{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:rgb(0, 119, 179);text-align:center;text-decoration:none;background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:none}.duet-tab-to-link.duet-theme-turva{min-width:120px;color:rgb(23, 28, 58)}@media (min-width: 106.25em){.duet-tab-to-link{margin-left:20px}}.duet-tab-to-link:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}";
|
|
13
13
|
|
|
14
14
|
const DuetLink = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
15
15
|
constructor() {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h,
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-67e14cd3.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
|
-
import { g as getColorByName } from './p-
|
|
6
|
+
import { g as getColorByName } from './p-9ed347f9.js';
|
|
7
7
|
|
|
8
|
-
const duetSpinnerCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute;top:50%;left:50%;z-index:800;max-width:100%}:host(.duet-theme-default) .duet-spinner{color
|
|
8
|
+
const duetSpinnerCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute;top:50%;left:50%;z-index:800;max-width:100%}:host(.duet-theme-default) .duet-spinner{color:rgb(0, 119, 179) !important}:host(.duet-theme-turva) .duet-spinner{color:rgb(198, 12, 48) !important}:host(.duet-custom-color){color:inherit}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-spinner{-webkit-user-select:none;user-select:none;position:absolute;top:50%;left:50%;z-index:800;width:24px;height:24px;color:rgb(0, 119, 179);border:2px solid transparent;border-left:2px solid currentColor;border-radius:50%;transform:translateZ(0) translateX(-50%) translateY(-50%);transform-origin:0% 0%;animation:duetRotate 0.6s linear infinite}.duet-spinner::after{position:absolute;top:50%;left:50%;z-index:200;box-sizing:content-box;width:100%;height:100%;overflow:hidden;content:\"\";border:2px solid currentColor;border-radius:50%;opacity:0.3;transform:translateZ(0) translateX(-50%) translateY(-50%);transform-origin:0% 0%}.duet-spinner.medium{width:36px;height:36px;border-width:4px}.duet-spinner.medium::after{border-width:4px}.duet-spinner.large{width:72px;height:72px;border-width:8px}.duet-spinner.large::after{border-width:8px}@keyframes duetRotate{0%{transform:translateZ(0) rotate(0deg) translateX(-50%) translateY(-50%)}100%{transform:translateZ(0) rotate(360deg) translateX(-50%) translateY(-50%)}}";
|
|
9
9
|
|
|
10
10
|
const DuetSpinner = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
11
11
|
constructor() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { m as mediaQueryXxSmall,
|
|
4
|
+
import { m as mediaQueryXxSmall, a as mediaQueryXSmall, b as mediaQuerySmall, c as mediaQueryMedium, d as mediaQueryLarge, e as mediaQueryXLarge, f as mediaQueryXxLarge, g as mediaQueryXxxLarge, h as mediaQueryXxxSmall, t as tokens } from './p-33e00967.js';
|
|
5
5
|
|
|
6
6
|
const allowedThemes = ["turva"];
|
|
7
7
|
function isDashCase(str) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H,
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-67e14cd3.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { c as createID } from './p-c1325e35.js';
|
|
7
7
|
|
|
8
|
-
const duetCheckboxCss = "*.sc-duet-checkbox,*.sc-duet-checkbox::after,*.sc-duet-checkbox::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-checkbox-h{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;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-checkbox-h:last-child,.sc-duet-checkbox-h:last-of-type{margin-right:0 !important}.sc-duet-checkbox-h:last-child:not(:only-child){margin-bottom:0 !important}.duet-m-0.sc-duet-checkbox-h{margin:0 !important}.duet-label.sc-duet-checkbox{position:relative;z-index:100;display:inline;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.5;color
|
|
8
|
+
const duetCheckboxCss = "*.sc-duet-checkbox,*.sc-duet-checkbox::after,*.sc-duet-checkbox::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-checkbox-h{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;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-checkbox-h:last-child,.sc-duet-checkbox-h:last-of-type{margin-right:0 !important}.sc-duet-checkbox-h:last-child:not(:only-child){margin-bottom:0 !important}.duet-m-0.sc-duet-checkbox-h{margin:0 !important}.duet-label.sc-duet-checkbox{position:relative;z-index:100;display:inline;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(0, 41, 77);vertical-align:top;cursor:pointer;background:transparent;transition:300ms ease}.duet-theme-turva.sc-duet-checkbox .duet-label.sc-duet-checkbox{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-label.sc-duet-checkbox span.sc-duet-checkbox{display:inline-block;width:calc(100% - 32px);font-size:1rem;font-weight:400;vertical-align:top}.duet-checkbox-container.sc-duet-checkbox{position:relative;width:100%;height:100%}.duet-checkbox.sc-duet-checkbox{padding:14px !important;position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;cursor:pointer;opacity:0}.duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox::before{z-index:100;display:inline-block;width:20px;height:20px;margin:2px 10px 1px 1px;vertical-align:top;content:\"\";background:rgb(255, 255, 255);border:1px solid rgb(0, 41, 77);border-radius:4px}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(23, 28, 58)}.duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(0, 41, 77);border:1px solid rgb(0, 41, 77)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox{position:static}.duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::after{position:absolute;top:6px;left:5px;z-index:200;width:12px;height:12px;pointer-events:none;content:\"\";background:transparent url(\"data:image/svg+xml,%3Csvg%20fill%3D%27white%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2724%27%20height%3D%2724%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M23.374.287a1.5%2C1.5%2C0%2C0%2C0-2.093.345L7.246%2C20.2%2C2.561%2C15.511A1.5%2C1.5%2C0%2C1%2C0%2C.439%2C17.632l5.935%2C5.934a1.525%2C1.525%2C0%2C0%2C0%2C2.279-.186l15.066-21A1.5%2C1.5%2C0%2C0%2C0%2C23.374.287Z%27%20%2F%3E%3C%2Fsvg%3E\") no-repeat 0 0;background-size:100% auto}.duet-checkbox[disabled].sc-duet-checkbox{cursor:default}.duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox{color:rgb(101, 119, 135)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox{color:rgb(116, 116, 117)}.duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(207, 207, 209)}.duet-checkbox[disabled].sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(101, 119, 135);border:1px solid rgb(101, 119, 135)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(116, 116, 117);border-color:rgb(116, 116, 117)}.duet-label-hidden.sc-duet-checkbox .duet-label.sc-duet-checkbox span.sc-duet-checkbox{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}";
|
|
9
9
|
|
|
10
10
|
const DuetCheckbox = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
11
11
|
constructor() {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H,
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-67e14cd3.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { c as createID } from './p-c1325e35.js';
|
|
7
7
|
import { p as parsePossibleJSON } from './p-5a9d75e1.js';
|
|
8
|
-
import { d as defineCustomElement$5 } from './p-
|
|
9
|
-
import { d as defineCustomElement$4 } from './p-
|
|
10
|
-
import { d as defineCustomElement$3 } from './p-
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-
|
|
12
|
-
import { d as defineCustomElement$1 } from './p-
|
|
8
|
+
import { d as defineCustomElement$5 } from './p-fc98d756.js';
|
|
9
|
+
import { d as defineCustomElement$4 } from './p-c6137eb6.js';
|
|
10
|
+
import { d as defineCustomElement$3 } from './p-697162df.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-eb4fb7b2.js';
|
|
12
|
+
import { d as defineCustomElement$1 } from './p-6fe0175a.js';
|
|
13
13
|
|
|
14
|
-
const duetSelectCss = "@charset \"UTF-8\";*.sc-duet-select,*.sc-duet-select::after,*.sc-duet-select::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-select-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;max-width:100%;vertical-align:bottom}.sc-duet-select-h:last-child,.sc-duet-select-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-select-h{width:calc(50% - 16px - 3px)}.duet-expand.sc-duet-select-h{width:100% !important}}.duet-select-variation-tiny.sc-duet-select-h{position:relative;top:-2px;width:72px;margin:0 !important;vertical-align:baseline}.duet-m-0.sc-duet-select-h{margin:0 !important}duet-tooltip.sc-duet-select{position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-select{position:relative;top:4px;right:auto}}.duet-select-placeholder.sc-duet-select{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:
|
|
14
|
+
const duetSelectCss = "@charset \"UTF-8\";*.sc-duet-select,*.sc-duet-select::after,*.sc-duet-select::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-select-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;max-width:100%;vertical-align:bottom}.sc-duet-select-h:last-child,.sc-duet-select-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-select-h{width:calc(50% - 16px - 3px)}.duet-expand.sc-duet-select-h{width:100% !important}}.duet-select-variation-tiny.sc-duet-select-h{position:relative;top:-2px;width:72px;margin:0 !important;vertical-align:baseline}.duet-m-0.sc-duet-select-h{margin:0 !important}duet-tooltip.sc-duet-select{position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-select{position:relative;top:4px;right:auto}}.duet-select-placeholder.sc-duet-select{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-select-container.sc-duet-select{position:relative;width:100%}.duet-select-container.duet-select-variation-tiny.sc-duet-select{width:72px}.duet-select-wrapper.sc-duet-select{position:relative;width:100%;padding:15px 14px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-select-variation-tiny.sc-duet-select .duet-select-wrapper.sc-duet-select{width:81px;padding:0 !important}.duet-select-wrapper.sc-duet-select::after{content:\" \"}.duet-select-wrapper.sc-duet-select select.sc-duet-select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:200;width:100%;height:100%;padding:0;margin:0;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;cursor:pointer;border:0;outline:none;opacity:0}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-select-wrapper.sc-duet-select select.sc-duet-select:hover+.duet-select.sc-duet-select{border-color:rgb(144, 149, 153);box-shadow:0 0 0 1px rgb(144, 149, 153)}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:hover+.duet-select.sc-duet-select{border-color:rgb(116, 116, 117);box-shadow:0 0 0 1px rgb(116, 116, 117)}.has-error.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:hover+.duet-select.sc-duet-select{box-shadow:0 0 0 1px rgb(222, 35, 98)}.duet-theme-turva.has-error.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:hover+.duet-select.sc-duet-select{box-shadow:0 0 0 1px rgb(224, 42, 13)}.duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px rgb(0, 119, 179);transition:none}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px rgb(23, 28, 58)}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select .duet-select-icon.sc-duet-select{color:rgb(23, 28, 58)}.duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select .duet-select-icon.sc-duet-select{color:rgb(0, 119, 179)}.has-error.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select{box-shadow:0 0 0 1px rgb(222, 35, 98)}.duet-theme-turva.has-error.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select{box-shadow:0 0 0 1px rgb(224, 42, 13)}.duet-select-wrapper.sc-duet-select select[disabled].sc-duet-select{cursor:default !important}.duet-select-wrapper.sc-duet-select select[disabled].sc-duet-select+.duet-select.sc-duet-select{color:rgb(0, 41, 77) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(0, 41, 77) !important}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select[disabled].sc-duet-select+.duet-select.sc-duet-select{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247) !important;border-color:rgb(245, 245, 247) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-select.sc-duet-select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:100;display:block;width:100%;min-width:8rem;padding:12px 14px !important;padding-right:48px !important;overflow:hidden;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(0, 41, 77);text-align:left;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255);border:1px solid rgb(144, 149, 153);border-radius:4px;transition:150ms ease}.has-error.sc-duet-select .duet-select.sc-duet-select{border-color:rgb(222, 35, 98) !important}.has-error.sc-duet-select .duet-select.sc-duet-select .duet-select-icon.sc-duet-select{color:rgb(222, 35, 98) !important}.duet-theme-turva.has-error.sc-duet-select .duet-select.sc-duet-select{border-color:rgb(224, 42, 13) !important}.duet-theme-turva.has-error.sc-duet-select .duet-select.sc-duet-select .duet-select-icon.sc-duet-select{color:rgb(224, 42, 13) !important}.duet-theme-turva.sc-duet-select .duet-select.sc-duet-select{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);border-color:rgb(116, 116, 117)}.duet-select.sc-duet-select svg.sc-duet-select{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;color:rgb(0, 41, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva.sc-duet-select .duet-select.sc-duet-select svg.sc-duet-select{color:rgb(23, 28, 58)}.duet-select-variation-tiny.sc-duet-select .duet-select.sc-duet-select{width:72px;min-width:inherit;padding:0 !important;margin-bottom:-4px;overflow:visible;font-weight:600;text-align:center}.duet-select-variation-tiny.sc-duet-select .duet-select.sc-duet-select duet-icon.sc-duet-select{padding-left:10px}.duet-select-help.sc-duet-select{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(101, 119, 135);border-radius:4px}.duet-select-help.sc-duet-select span.sc-duet-select{display:block;margin-top:8px}.duet-theme-turva.sc-duet-select .duet-select-help.sc-duet-select{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(116, 116, 117)}.has-error.sc-duet-select .duet-select-help.sc-duet-select{color:rgb(222, 35, 98)}.duet-theme-turva.has-error.sc-duet-select .duet-select-help.sc-duet-select{color:rgb(224, 42, 13)}.duet-label-hidden.sc-duet-select duet-label.sc-duet-select{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}";
|
|
15
15
|
|
|
16
16
|
function isOptionGroup(item) {
|
|
17
17
|
return "options" in item;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { p as proxyCustomElement, H, h } from './p-67e14cd3.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
|
+
import { s as sanitizeString } from './p-5a9d75e1.js';
|
|
7
|
+
import { g as getColorByName } from './p-9ed347f9.js';
|
|
8
|
+
|
|
9
|
+
const duetHeadingCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}.duet-heading{margin-bottom:16px !important;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(0, 41, 77);text-decoration:none;letter-spacing:-0.01rem;word-break:break-word}@media (min-width: 36em){.duet-heading{margin-bottom:20px !important}}.duet-heading.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:italic;font-weight:700;color:rgb(23, 28, 58)}.duet-heading.duet-heading-border{padding-bottom:20px;border-bottom:1px solid rgb(225, 227, 230)}.duet-heading.duet-heading-border.duet-heading-border-solid{border-bottom-color:rgb(101, 119, 135)}.duet-heading.duet-heading-hyphenate{-webkit-hyphens:auto;hyphens:auto}.duet-heading.h0{font-size:9.4vw}.duet-heading.h0.duet-p-0{padding:0 !important}.duet-heading.h0.duet-m-0{margin:0 !important}@media (max-width: 31.914893617rem){.duet-heading.h0{font-size:3rem}}@media (min-width: 47.8723404255rem){.duet-heading.h0{font-size:4.5rem}}@media (max-width: 22.5em){.duet-heading.h0{font-size:2.25rem}}.duet-heading.h1{font-size:7vw}.duet-heading.h1.duet-p-0{padding:0 !important}.duet-heading.h1.duet-m-0{margin:0 !important}@media (max-width: 32.1428571429rem){.duet-heading.h1{font-size:2.25rem}}@media (min-width: 42.8571428571rem){.duet-heading.h1{font-size:3rem}}@media (max-width: 22.5em){.duet-heading.h1{font-size:1.5rem}}.duet-heading.h2{font-size:5.8vw}.duet-heading.h2.duet-p-0{padding:0 !important}.duet-heading.h2.duet-m-0{margin:0 !important}@media (max-width: 25.8620689655rem){.duet-heading.h2{font-size:1.5rem}}@media (min-width: 38.7931034483rem){.duet-heading.h2{font-size:2.25rem}}.duet-heading.h2.duet-theme-turva{font-style:normal}@media (max-width: 22.5em){.duet-heading.h2{font-size:1.375rem}}.duet-heading.h3{margin-bottom:12px !important;font-size:4.2vw}.duet-heading.h3.duet-p-0{padding:0 !important}.duet-heading.h3.duet-m-0{margin:0 !important}@media (max-width: 29.7619047619rem){.duet-heading.h3{font-size:1.25rem}}@media (min-width: 35.7142857143rem){.duet-heading.h3{font-size:1.5rem}}.duet-heading.h3.duet-theme-turva{font-style:normal}.duet-heading.h3.duet-heading-border{padding-bottom:20px}.duet-heading.h4{margin-bottom:8px !important;font-size:4vw;letter-spacing:0}.duet-heading.h4.duet-p-0{padding:0 !important}.duet-heading.h4.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h4{font-size:1.1rem}}@media (min-width: 31.25rem){.duet-heading.h4{font-size:1.25rem}}.duet-heading.h4.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h4.duet-heading-border{padding-bottom:20px}.duet-heading.h5{margin-bottom:8px !important;font-size:4vw;font-weight:600;letter-spacing:0}.duet-heading.h5.duet-p-0{padding:0 !important}.duet-heading.h5.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h5{font-size:1.1rem}}@media (min-width: 28.4090909091rem){.duet-heading.h5{font-size:1.1363636364rem}}.duet-heading.h5.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h5.duet-heading-border{padding-bottom:16px}.duet-heading.h6{margin-bottom:8px !important;font-size:1rem;font-weight:600;letter-spacing:0}.duet-heading.h6.duet-p-0{padding:0 !important}.duet-heading.h6.duet-m-0{margin:0 !important}.duet-heading.h6.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h6.duet-heading-border{padding-bottom:16px}.duet-heading.duet-normal,.duet-heading.duet-theme-turva.duet-normal{font-style:normal !important;font-weight:400 !important}.duet-heading.duet-semibold,.duet-heading.duet-theme-turva.duet-semibold{font-style:normal !important;font-weight:600 !important}";
|
|
10
|
+
|
|
11
|
+
const DuetHeading = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
12
|
+
constructor() {
|
|
13
|
+
super();
|
|
14
|
+
this.__registerHost();
|
|
15
|
+
this.__attachShadow();
|
|
16
|
+
this.level = "h2";
|
|
17
|
+
this.margin = "auto";
|
|
18
|
+
this.visualLevel = undefined;
|
|
19
|
+
this.border = false;
|
|
20
|
+
this.weight = "auto";
|
|
21
|
+
this.color = "";
|
|
22
|
+
this.theme = "";
|
|
23
|
+
this.hyphenate = false;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Component lifecycle events.
|
|
27
|
+
*/
|
|
28
|
+
componentWillLoad() {
|
|
29
|
+
inheritGlobalTheme(this);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* render() function
|
|
33
|
+
* Always the last one in the class.
|
|
34
|
+
*/
|
|
35
|
+
render() {
|
|
36
|
+
const TagName = sanitizeString(this.level);
|
|
37
|
+
const color = getColorByName(this.color);
|
|
38
|
+
return (h(TagName, { class: {
|
|
39
|
+
"duet-heading": true,
|
|
40
|
+
"duet-heading-border": this.border !== false,
|
|
41
|
+
"duet-heading-border-solid": this.border === "solid",
|
|
42
|
+
"duet-normal": this.weight === "normal",
|
|
43
|
+
"duet-semibold": this.weight === "semibold",
|
|
44
|
+
"duet-heading-hyphenate": this.hyphenate,
|
|
45
|
+
"duet-m-0": this.margin === "none",
|
|
46
|
+
[this.visualLevel ? this.visualLevel : this.level]: true,
|
|
47
|
+
"duet-theme-turva": this.theme === "turva",
|
|
48
|
+
}, style: { color } }, h("slot", null)));
|
|
49
|
+
}
|
|
50
|
+
get element() { return this; }
|
|
51
|
+
static get style() { return duetHeadingCss; }
|
|
52
|
+
}, [1, "duet-heading", {
|
|
53
|
+
"level": [513],
|
|
54
|
+
"margin": [1],
|
|
55
|
+
"visualLevel": [1, "visual-level"],
|
|
56
|
+
"border": [8],
|
|
57
|
+
"weight": [1],
|
|
58
|
+
"color": [1],
|
|
59
|
+
"theme": [1025],
|
|
60
|
+
"hyphenate": [4]
|
|
61
|
+
}]);
|
|
62
|
+
function defineCustomElement() {
|
|
63
|
+
if (typeof customElements === "undefined") {
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
const components = ["duet-heading"];
|
|
67
|
+
components.forEach(tagName => { switch (tagName) {
|
|
68
|
+
case "duet-heading":
|
|
69
|
+
if (!customElements.get(tagName)) {
|
|
70
|
+
customElements.define(tagName, DuetHeading);
|
|
71
|
+
}
|
|
72
|
+
break;
|
|
73
|
+
} });
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export { DuetHeading as D, defineCustomElement as d };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h,
|
|
5
|
-
import {
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-67e14cd3.js';
|
|
5
|
+
import { j as colorGrayLightest, k as colorBrandGrayTurva, l as colorPrimaryTurva, n as colorBrandBlue } from './p-33e00967.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
7
7
|
import { c as createID } from './p-c1325e35.js';
|
|
8
8
|
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-6c05e879.js';
|
|
9
9
|
|
|
10
|
-
const duetLogoCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-logo{-webkit-user-select:none;user-select:none;display:block;width:154px;height:40px;border-radius:4px}.duet-logo:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px
|
|
10
|
+
const duetLogoCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-logo{-webkit-user-select:none;user-select:none;display:block;width:154px;height:40px;border-radius:4px}.duet-logo:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-theme-turva .duet-logo:focus,.duet-logo:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-logo.duet-logo-en{width:166px}.duet-logo.duet-logo-sv{width:167px}.duet-logo.duet-theme-turva{width:110px;height:40px}.duet-logo svg{display:block;width:100%;height:auto}.duet-logo.large{width:184.8px;height:48px}.duet-logo.large.duet-logo-en{width:199.2px}.duet-logo.large.duet-logo-sv{width:200.4px}.duet-logo.large.duet-theme-turva{width:149.6px;height:54.4px}";
|
|
11
11
|
|
|
12
12
|
const TurvaLogo = ({ inverse, logoId }) => {
|
|
13
13
|
const logoColor = inverse ? colorGrayLightest : colorBrandGrayTurva;
|