@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
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* It contains typing information for all components that exist in this project.
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
-
import { DuetColor, DuetDirection, DuetGridBreakpoint, DuetHeadingLevel, DuetIconName, DuetLanguage, DuetLocale, DuetMargin, DuetPadding, DuetStatus, DuetTheme, DuetTooltipDirection, DuetVisualHeadingLevel } from "./common-types";
|
|
8
|
+
import { DuetChoiceType, DuetColor, DuetDirection, DuetGridBreakpoint, DuetHeadingLevel, DuetIconName, DuetLanguage, DuetLocale, DuetMargin, DuetPadding, DuetStatus, DuetTableBreakpoint, DuetTableStickyDistance, DuetTableVariant, DuetTheme, DuetTooltipDirection, DuetVisualHeadingLevel, StatusMessage } from "./common-types";
|
|
9
9
|
import { DuetActionButtonEvent, DuetActionButtonIconSize } from "./components/duet-action-button/duet-action-button";
|
|
10
10
|
import { DuetLangObject } from "./utils/language-utils";
|
|
11
11
|
import { DuetAlertEvent } from "./components/duet-alert/duet-alert";
|
|
@@ -14,14 +14,12 @@ import { DuetCaptionSize } from "./components/duet-caption/duet-caption";
|
|
|
14
14
|
import { DuetCardPadding, DuetCardToggleEvent, DuetCardVariation } from "./components/duet-card/duet-card";
|
|
15
15
|
import { DuetBreakpoints } from "./utils/token-utils";
|
|
16
16
|
import { DuetCheckboxEvent } from "./components/duet-checkbox/duet-checkbox";
|
|
17
|
-
import {
|
|
18
|
-
import { DuetChoiceEvent, DuetChoiceType as DuetChoiceType1 } from "./components/duet-choice/duet-choice";
|
|
17
|
+
import { DuetChoiceEvent } from "./components/duet-choice/duet-choice";
|
|
19
18
|
import { DuetCollapsibleHeadingFontSize, DuetCollapsibleToggleEvent, DuetCollapsibleWeight } from "./components/duet-collapsible/duet-collapsible";
|
|
20
19
|
import { DuetComboboxEvent, DuetComboboxItem } from "./components/duet-combobox/duet-combobox";
|
|
21
20
|
import { DuetCookieConsentEvent } from "./components/duet-cookie-consent/duet-cookie-consent";
|
|
22
21
|
import { DuetDatePickerChangeEvent, DuetDatePickerDirection, DuetDatePickerFocusEvent } from "./components/duet-date-picker/duet-date-picker";
|
|
23
22
|
import { DuetDividerMargin } from "./components/duet-divider/duet-divider";
|
|
24
|
-
import { DuetTableBreakpoint, DuetTableStickyDistance, DuetTableVariant } from "./components/duet-table/duet-table";
|
|
25
23
|
import { DuetEditableTableActions, DuetEditableTableColumns, DuetEditableTableRows, DuetTableMenuEvent, DuetTableToggleEvent } from "./components/duet-editable-table/duet-editable-table";
|
|
26
24
|
import { DuetEmptyStateSize } from "./components/duet-empty-state/duet-empty-state";
|
|
27
25
|
import { DuetFooterAnalyticsEvent, DuetFooterChangeEvent, DuetFooterVariation } from "./components/duet-footer/duet-footer";
|
|
@@ -52,15 +50,63 @@ import { DuetSpinnerSize } from "./components/duet-spinner/duet-spinner";
|
|
|
52
50
|
import { DuetStepClickEvent, DuetStepState } from "./components/duet-step/duet-step";
|
|
53
51
|
import { DuetStepChangeEvent } from "./components/duet-stepper/duet-stepper";
|
|
54
52
|
import { DuetTabGroupEvent, DuetTabVariation } from "./components/duet-tab-group/duet-tab-group";
|
|
55
|
-
import { DuetTableBreakpoint as DuetTableBreakpoint1, DuetTableStickyDistance as DuetTableStickyDistance1, DuetTableVariant as DuetTableVariant1 } from "./components/duet-table/duet-table";
|
|
56
53
|
import { DuetTextareaEvent } from "./components/duet-textarea/duet-textarea";
|
|
57
54
|
import { DuetToggleChangeEvent } from "./components/duet-toggle/duet-toggle";
|
|
58
55
|
import { DuetTooltipBreakpoint } from "./components/duet-tooltip/duet-tooltip";
|
|
59
56
|
import { DuetUploadEvent, DuetUploadTableGroupName, StringMap, XHRInternalMiddleWare } from "./components/duet-upload/duet-upload";
|
|
60
57
|
import { DuetEditableTableActions as DuetEditableTableActions1 } from "./components/duet-editable-table/duet-editable-table";
|
|
61
|
-
import { StatusMessage } from "./components/duet-upload-aria-status/duet-upload-aria-status";
|
|
62
58
|
import { DuetUploadErrorCode } from "./components/duet-upload/errorcodes.utils";
|
|
63
|
-
|
|
59
|
+
export { DuetChoiceType, DuetColor, DuetDirection, DuetGridBreakpoint, DuetHeadingLevel, DuetIconName, DuetLanguage, DuetLocale, DuetMargin, DuetPadding, DuetStatus, DuetTableBreakpoint, DuetTableStickyDistance, DuetTableVariant, DuetTheme, DuetTooltipDirection, DuetVisualHeadingLevel, StatusMessage } from "./common-types";
|
|
60
|
+
export { DuetActionButtonEvent, DuetActionButtonIconSize } from "./components/duet-action-button/duet-action-button";
|
|
61
|
+
export { DuetLangObject } from "./utils/language-utils";
|
|
62
|
+
export { DuetAlertEvent } from "./components/duet-alert/duet-alert";
|
|
63
|
+
export { DuetButtonIconSize, DuetButtonSize, DuetButtonTextCentering, DuetButtonVariation, DuetButtonWrapping } from "./components/duet-button/duet-button";
|
|
64
|
+
export { DuetCaptionSize } from "./components/duet-caption/duet-caption";
|
|
65
|
+
export { DuetCardPadding, DuetCardToggleEvent, DuetCardVariation } from "./components/duet-card/duet-card";
|
|
66
|
+
export { DuetBreakpoints } from "./utils/token-utils";
|
|
67
|
+
export { DuetCheckboxEvent } from "./components/duet-checkbox/duet-checkbox";
|
|
68
|
+
export { DuetChoiceEvent } from "./components/duet-choice/duet-choice";
|
|
69
|
+
export { DuetCollapsibleHeadingFontSize, DuetCollapsibleToggleEvent, DuetCollapsibleWeight } from "./components/duet-collapsible/duet-collapsible";
|
|
70
|
+
export { DuetComboboxEvent, DuetComboboxItem } from "./components/duet-combobox/duet-combobox";
|
|
71
|
+
export { DuetCookieConsentEvent } from "./components/duet-cookie-consent/duet-cookie-consent";
|
|
72
|
+
export { DuetDatePickerChangeEvent, DuetDatePickerDirection, DuetDatePickerFocusEvent } from "./components/duet-date-picker/duet-date-picker";
|
|
73
|
+
export { DuetDividerMargin } from "./components/duet-divider/duet-divider";
|
|
74
|
+
export { DuetEditableTableActions, DuetEditableTableColumns, DuetEditableTableRows, DuetTableMenuEvent, DuetTableToggleEvent } from "./components/duet-editable-table/duet-editable-table";
|
|
75
|
+
export { DuetEmptyStateSize } from "./components/duet-empty-state/duet-empty-state";
|
|
76
|
+
export { DuetFooterAnalyticsEvent, DuetFooterChangeEvent, DuetFooterVariation } from "./components/duet-footer/duet-footer";
|
|
77
|
+
export { DuetGridAlignment, DuetGridDistribution, DuetGridMobileAlignment } from "./components/duet-grid/duet-grid";
|
|
78
|
+
export { DuetHeaderAnalyticsEvent, DuetHeaderChangeEvent, DuetHeaderMobileNavToggleEvent, I18nText } from "./components/duet-header/duet-header";
|
|
79
|
+
export { DuetHeadingWeight } from "./components/duet-heading/duet-heading";
|
|
80
|
+
export { DuetHeroAnalyticsEvent, DuetHeroButtonData, DuetHeroClickEvent, DuetHeroIconSize, DuetHeroVariation } from "./components/duet-hero/duet-hero";
|
|
81
|
+
export { DuetIconSize } from "./components/duet-icon/duet-icon";
|
|
82
|
+
export { DuetInputComponentType, DuetInputEvent, DuetInputType, DuetVariationType } from "./components/duet-input/duet-input";
|
|
83
|
+
export { DuetLabelMargin, DuetLabelSize } from "./components/duet-label/duet-label";
|
|
84
|
+
export { DuetLayoutStickyDistance } from "./components/duet-layout/duet-layout";
|
|
85
|
+
export { DuetListBreakpoint, DuetListLabelWidth, DuetListMobileAlignment, DuetListVariation } from "./components/duet-list/duet-list";
|
|
86
|
+
export { DuetLogoSize } from "./components/duet-logo/duet-logo";
|
|
87
|
+
export { DuetMenuBarChangeEvent } from "./components/duet-menu-bar/duet-menu-bar";
|
|
88
|
+
export { DuetModalCloseEvent, DuetModalSize } from "./components/duet-modal/duet-modal";
|
|
89
|
+
export { DuetMultiselectEvent, DuetMultiselectItem } from "./components/duet-multiselect/duet-multiselect";
|
|
90
|
+
export { DuetNotificationDrawerDirection } from "./components/duet-notification-drawer/duet-notification-drawer";
|
|
91
|
+
export { DuetNumberInputEvent } from "./components/duet-number-input/duet-number-input";
|
|
92
|
+
export { DuetPaginationPageEvent, DuetPaginationVariation } from "./components/duet-pagination/duet-pagination";
|
|
93
|
+
export { DuetParagraphSize, DuetParagraphVariation, DuetParagraphWeight } from "./components/duet-paragraph/duet-paragraph";
|
|
94
|
+
export { DuetRadioEvent } from "./components/duet-radio/duet-radio";
|
|
95
|
+
export { DuetRangeChangeEvent } from "./components/duet-range-slider/duet-range-slider";
|
|
96
|
+
export { DuetRangeStepperUpdateEvent } from "./components/duet-range-stepper/duet-range-stepper";
|
|
97
|
+
export { DuetSelectEvent, DuetSelectItems, DuetSelectVariation } from "./components/duet-select/duet-select";
|
|
98
|
+
export { DuetSlideoutEventDetails } from "./components/duet-slideout/duet-slideout";
|
|
99
|
+
export { DuetSpacerBreakpoint, DuetSpacerSize } from "./components/duet-spacer/duet-spacer";
|
|
100
|
+
export { DuetSpinnerSize } from "./components/duet-spinner/duet-spinner";
|
|
101
|
+
export { DuetStepClickEvent, DuetStepState } from "./components/duet-step/duet-step";
|
|
102
|
+
export { DuetStepChangeEvent } from "./components/duet-stepper/duet-stepper";
|
|
103
|
+
export { DuetTabGroupEvent, DuetTabVariation } from "./components/duet-tab-group/duet-tab-group";
|
|
104
|
+
export { DuetTextareaEvent } from "./components/duet-textarea/duet-textarea";
|
|
105
|
+
export { DuetToggleChangeEvent } from "./components/duet-toggle/duet-toggle";
|
|
106
|
+
export { DuetTooltipBreakpoint } from "./components/duet-tooltip/duet-tooltip";
|
|
107
|
+
export { DuetUploadEvent, DuetUploadTableGroupName, StringMap, XHRInternalMiddleWare } from "./components/duet-upload/duet-upload";
|
|
108
|
+
export { DuetEditableTableActions as DuetEditableTableActions1 } from "./components/duet-editable-table/duet-editable-table";
|
|
109
|
+
export { DuetUploadErrorCode } from "./components/duet-upload/errorcodes.utils";
|
|
64
110
|
export namespace Components {
|
|
65
111
|
interface DuetActionButton {
|
|
66
112
|
/**
|
|
@@ -159,6 +205,9 @@ export namespace Components {
|
|
|
159
205
|
* Should a button be rendered to dismiss the alert?
|
|
160
206
|
*/
|
|
161
207
|
"dismissible": boolean;
|
|
208
|
+
/**
|
|
209
|
+
* Hide.
|
|
210
|
+
*/
|
|
162
211
|
"hide": () => Promise<void>;
|
|
163
212
|
/**
|
|
164
213
|
* Icon to display to the left of the content.
|
|
@@ -172,6 +221,9 @@ export namespace Components {
|
|
|
172
221
|
* Controls the padding of the component.
|
|
173
222
|
*/
|
|
174
223
|
"padding": DuetPadding;
|
|
224
|
+
/**
|
|
225
|
+
* Show.
|
|
226
|
+
*/
|
|
175
227
|
"show": () => Promise<void>;
|
|
176
228
|
/**
|
|
177
229
|
* Theme of the card.
|
|
@@ -822,6 +874,48 @@ export namespace Components {
|
|
|
822
874
|
*/
|
|
823
875
|
"value": string;
|
|
824
876
|
}
|
|
877
|
+
interface DuetContactCard {
|
|
878
|
+
/**
|
|
879
|
+
* Button icon.
|
|
880
|
+
*/
|
|
881
|
+
"buttonIcon": DuetIconName;
|
|
882
|
+
/**
|
|
883
|
+
* Button text.
|
|
884
|
+
*/
|
|
885
|
+
"buttonText": string;
|
|
886
|
+
/**
|
|
887
|
+
* Button url.
|
|
888
|
+
*/
|
|
889
|
+
"buttonUrl": string;
|
|
890
|
+
/**
|
|
891
|
+
* Description.
|
|
892
|
+
*/
|
|
893
|
+
"description": string;
|
|
894
|
+
/**
|
|
895
|
+
* Email.
|
|
896
|
+
*/
|
|
897
|
+
"email": string;
|
|
898
|
+
/**
|
|
899
|
+
* Image.
|
|
900
|
+
*/
|
|
901
|
+
"image": string;
|
|
902
|
+
/**
|
|
903
|
+
* Controls the margin of the component.
|
|
904
|
+
*/
|
|
905
|
+
"margin": DuetMargin;
|
|
906
|
+
/**
|
|
907
|
+
* Name.
|
|
908
|
+
*/
|
|
909
|
+
"name": string;
|
|
910
|
+
/**
|
|
911
|
+
* Phone.
|
|
912
|
+
*/
|
|
913
|
+
"phone": string;
|
|
914
|
+
/**
|
|
915
|
+
* Theme.
|
|
916
|
+
*/
|
|
917
|
+
"theme": DuetTheme;
|
|
918
|
+
}
|
|
825
919
|
interface DuetCookieConsent {
|
|
826
920
|
/**
|
|
827
921
|
* Adds accessible label for the cookie consent ok button.
|
|
@@ -1950,6 +2044,10 @@ export namespace Components {
|
|
|
1950
2044
|
* Accessible heading size
|
|
1951
2045
|
*/
|
|
1952
2046
|
"headingLevel": DuetHeadingLevel;
|
|
2047
|
+
/**
|
|
2048
|
+
* Makes the visual style mimic a specific heading level. This option allows you to make e.g. h1 visually look like h3, but still keep it h1 in the markup.
|
|
2049
|
+
*/
|
|
2050
|
+
"headingVisualLevel": DuetVisualHeadingLevel | undefined;
|
|
1953
2051
|
/**
|
|
1954
2052
|
* Hides the modal dialog and puts focus back to the original element that triggered the modal (if we’re still in the same view).
|
|
1955
2053
|
*/
|
|
@@ -4001,6 +4099,12 @@ declare global {
|
|
|
4001
4099
|
prototype: HTMLDuetComboboxElement;
|
|
4002
4100
|
new (): HTMLDuetComboboxElement;
|
|
4003
4101
|
};
|
|
4102
|
+
interface HTMLDuetContactCardElement extends Components.DuetContactCard, HTMLStencilElement {
|
|
4103
|
+
}
|
|
4104
|
+
var HTMLDuetContactCardElement: {
|
|
4105
|
+
prototype: HTMLDuetContactCardElement;
|
|
4106
|
+
new (): HTMLDuetContactCardElement;
|
|
4107
|
+
};
|
|
4004
4108
|
interface HTMLDuetCookieConsentElement extends Components.DuetCookieConsent, HTMLStencilElement {
|
|
4005
4109
|
}
|
|
4006
4110
|
var HTMLDuetCookieConsentElement: {
|
|
@@ -4430,6 +4534,7 @@ declare global {
|
|
|
4430
4534
|
"duet-choice-group": HTMLDuetChoiceGroupElement;
|
|
4431
4535
|
"duet-collapsible": HTMLDuetCollapsibleElement;
|
|
4432
4536
|
"duet-combobox": HTMLDuetComboboxElement;
|
|
4537
|
+
"duet-contact-card": HTMLDuetContactCardElement;
|
|
4433
4538
|
"duet-cookie-consent": HTMLDuetCookieConsentElement;
|
|
4434
4539
|
"duet-date-picker": HTMLDuetDatePickerElement;
|
|
4435
4540
|
"duet-divider": HTMLDuetDividerElement;
|
|
@@ -5280,6 +5385,48 @@ declare namespace LocalJSX {
|
|
|
5280
5385
|
*/
|
|
5281
5386
|
"value"?: string;
|
|
5282
5387
|
}
|
|
5388
|
+
interface DuetContactCard {
|
|
5389
|
+
/**
|
|
5390
|
+
* Button icon.
|
|
5391
|
+
*/
|
|
5392
|
+
"buttonIcon"?: DuetIconName;
|
|
5393
|
+
/**
|
|
5394
|
+
* Button text.
|
|
5395
|
+
*/
|
|
5396
|
+
"buttonText"?: string;
|
|
5397
|
+
/**
|
|
5398
|
+
* Button url.
|
|
5399
|
+
*/
|
|
5400
|
+
"buttonUrl"?: string;
|
|
5401
|
+
/**
|
|
5402
|
+
* Description.
|
|
5403
|
+
*/
|
|
5404
|
+
"description"?: string;
|
|
5405
|
+
/**
|
|
5406
|
+
* Email.
|
|
5407
|
+
*/
|
|
5408
|
+
"email"?: string;
|
|
5409
|
+
/**
|
|
5410
|
+
* Image.
|
|
5411
|
+
*/
|
|
5412
|
+
"image"?: string;
|
|
5413
|
+
/**
|
|
5414
|
+
* Controls the margin of the component.
|
|
5415
|
+
*/
|
|
5416
|
+
"margin"?: DuetMargin;
|
|
5417
|
+
/**
|
|
5418
|
+
* Name.
|
|
5419
|
+
*/
|
|
5420
|
+
"name"?: string;
|
|
5421
|
+
/**
|
|
5422
|
+
* Phone.
|
|
5423
|
+
*/
|
|
5424
|
+
"phone"?: string;
|
|
5425
|
+
/**
|
|
5426
|
+
* Theme.
|
|
5427
|
+
*/
|
|
5428
|
+
"theme"?: DuetTheme;
|
|
5429
|
+
}
|
|
5283
5430
|
interface DuetCookieConsent {
|
|
5284
5431
|
/**
|
|
5285
5432
|
* Adds accessible label for the cookie consent ok button.
|
|
@@ -6494,6 +6641,10 @@ declare namespace LocalJSX {
|
|
|
6494
6641
|
* Accessible heading size
|
|
6495
6642
|
*/
|
|
6496
6643
|
"headingLevel"?: DuetHeadingLevel;
|
|
6644
|
+
/**
|
|
6645
|
+
* Makes the visual style mimic a specific heading level. This option allows you to make e.g. h1 visually look like h3, but still keep it h1 in the markup.
|
|
6646
|
+
*/
|
|
6647
|
+
"headingVisualLevel"?: DuetVisualHeadingLevel | undefined;
|
|
6497
6648
|
/**
|
|
6498
6649
|
* Icon to display above the heading (from Duet’s icons). Example: "form-location"
|
|
6499
6650
|
*/
|
|
@@ -8405,6 +8556,7 @@ declare namespace LocalJSX {
|
|
|
8405
8556
|
"duet-choice-group": DuetChoiceGroup;
|
|
8406
8557
|
"duet-collapsible": DuetCollapsible;
|
|
8407
8558
|
"duet-combobox": DuetCombobox;
|
|
8559
|
+
"duet-contact-card": DuetContactCard;
|
|
8408
8560
|
"duet-cookie-consent": DuetCookieConsent;
|
|
8409
8561
|
"duet-date-picker": DuetDatePicker;
|
|
8410
8562
|
"duet-divider": DuetDivider;
|
|
@@ -8494,6 +8646,7 @@ declare module "@stencil/core" {
|
|
|
8494
8646
|
"duet-choice-group": LocalJSX.DuetChoiceGroup & JSXBase.HTMLAttributes<HTMLDuetChoiceGroupElement>;
|
|
8495
8647
|
"duet-collapsible": LocalJSX.DuetCollapsible & JSXBase.HTMLAttributes<HTMLDuetCollapsibleElement>;
|
|
8496
8648
|
"duet-combobox": LocalJSX.DuetCombobox & JSXBase.HTMLAttributes<HTMLDuetComboboxElement>;
|
|
8649
|
+
"duet-contact-card": LocalJSX.DuetContactCard & JSXBase.HTMLAttributes<HTMLDuetContactCardElement>;
|
|
8497
8650
|
"duet-cookie-consent": LocalJSX.DuetCookieConsent & JSXBase.HTMLAttributes<HTMLDuetCookieConsentElement>;
|
|
8498
8651
|
"duet-date-picker": LocalJSX.DuetDatePicker & JSXBase.HTMLAttributes<HTMLDuetDatePickerElement>;
|
|
8499
8652
|
"duet-divider": LocalJSX.DuetDivider & JSXBase.HTMLAttributes<HTMLDuetDividerElement>;
|
|
@@ -892,8 +892,8 @@ export declare namespace JSXBase {
|
|
|
892
892
|
accept?: string;
|
|
893
893
|
allowdirs?: boolean;
|
|
894
894
|
alt?: string;
|
|
895
|
-
autoCapitalize?:
|
|
896
|
-
autocapitalize?:
|
|
895
|
+
autoCapitalize?: string;
|
|
896
|
+
autocapitalize?: string;
|
|
897
897
|
autoComplete?: string;
|
|
898
898
|
autocomplete?: string;
|
|
899
899
|
autoFocus?: boolean;
|
|
@@ -1217,8 +1217,8 @@ export declare namespace JSXBase {
|
|
|
1217
1217
|
resource?: string;
|
|
1218
1218
|
typeof?: string;
|
|
1219
1219
|
vocab?: string;
|
|
1220
|
-
autoCapitalize?:
|
|
1221
|
-
autocapitalize?:
|
|
1220
|
+
autoCapitalize?: string;
|
|
1221
|
+
autocapitalize?: string;
|
|
1222
1222
|
autoCorrect?: string;
|
|
1223
1223
|
autocorrect?: string;
|
|
1224
1224
|
autoSave?: string;
|
|
@@ -1509,12 +1509,12 @@ export declare namespace JSXBase {
|
|
|
1509
1509
|
onCutCapture?: (event: ClipboardEvent) => void;
|
|
1510
1510
|
onPaste?: (event: ClipboardEvent) => void;
|
|
1511
1511
|
onPasteCapture?: (event: ClipboardEvent) => void;
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1512
|
+
onCompositionend?: (event: CompositionEvent) => void;
|
|
1513
|
+
onCompositionendCapture?: (event: CompositionEvent) => void;
|
|
1514
|
+
onCompositionstart?: (event: CompositionEvent) => void;
|
|
1515
|
+
onCompositionstartCapture?: (event: CompositionEvent) => void;
|
|
1516
|
+
onCompositionupdate?: (event: CompositionEvent) => void;
|
|
1517
|
+
onCompositionupdateCapture?: (event: CompositionEvent) => void;
|
|
1518
1518
|
onFocus?: (event: FocusEvent) => void;
|
|
1519
1519
|
onFocusCapture?: (event: FocusEvent) => void;
|
|
1520
1520
|
onFocusin?: (event: FocusEvent) => void;
|
|
@@ -1525,8 +1525,8 @@ export declare namespace JSXBase {
|
|
|
1525
1525
|
onBlurCapture?: (event: FocusEvent) => void;
|
|
1526
1526
|
onChange?: (event: Event) => void;
|
|
1527
1527
|
onChangeCapture?: (event: Event) => void;
|
|
1528
|
-
onInput?: (event:
|
|
1529
|
-
onInputCapture?: (event:
|
|
1528
|
+
onInput?: (event: InputEvent) => void;
|
|
1529
|
+
onInputCapture?: (event: InputEvent) => void;
|
|
1530
1530
|
onReset?: (event: Event) => void;
|
|
1531
1531
|
onResetCapture?: (event: Event) => void;
|
|
1532
1532
|
onSubmit?: (event: Event) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duetds/components",
|
|
3
|
-
"version": "6.7.
|
|
3
|
+
"version": "6.7.1",
|
|
4
4
|
"description": "This package includes Duet Design System Web Components and related utilities.",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"email": "duetdesignsystem@lahitapiola.fi"
|
|
@@ -50,12 +50,12 @@
|
|
|
50
50
|
"body-scroll-lock": "3.1.5"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@duetds/fonts": "2.0.
|
|
54
|
-
"@duetds/icons": "3.0.
|
|
55
|
-
"@duetds/tokens": "3.0.
|
|
53
|
+
"@duetds/fonts": "2.0.36",
|
|
54
|
+
"@duetds/icons": "3.0.36",
|
|
55
|
+
"@duetds/tokens": "3.0.36",
|
|
56
56
|
"@rollup/plugin-replace": "5.0.2",
|
|
57
|
-
"@stencil/core": "
|
|
58
|
-
"@stencil/sass": "
|
|
57
|
+
"@stencil/core": "3.1.0",
|
|
58
|
+
"@stencil/sass": "3.0.0",
|
|
59
59
|
"@types/jest": "27.0.3",
|
|
60
60
|
"cross-env": "7.0.3",
|
|
61
61
|
"dotenv": "16.0.3",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"collection": "lib/collection/collection-manifest.json",
|
|
79
79
|
"es2015": "lib/esm/index.js",
|
|
80
80
|
"es2017": "lib/esm/index.js",
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "473da676ecdde00ca544c4317a4afb043d40b915"
|
|
82
82
|
}
|
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import { E as Env, p as proxyCustomElement, H, h, c as Host } from './p-e47da081.js';
|
|
5
|
-
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
|
-
import { g as getColorByName } from './p-535ce3ec.js';
|
|
7
|
-
|
|
8
|
-
const cleanupSvg = (svgContent) => {
|
|
9
|
-
if (typeof document === "undefined" || !svgContent) {
|
|
10
|
-
return;
|
|
11
|
-
}
|
|
12
|
-
const div = document.createElement("div");
|
|
13
|
-
div.innerHTML = svgContent;
|
|
14
|
-
// setup this way to ensure it works on our buddy IE
|
|
15
|
-
for (let i = div.childNodes.length - 1; i >= 0; i--) {
|
|
16
|
-
const child = div.childNodes[i];
|
|
17
|
-
if (child.nodeName.toLowerCase() !== "svg") {
|
|
18
|
-
div.removeChild(div.childNodes[i]);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
return div.firstElementChild;
|
|
22
|
-
};
|
|
23
|
-
const isValid = (elm) => {
|
|
24
|
-
if (elm.nodeName.toLowerCase() === "script") {
|
|
25
|
-
return false;
|
|
26
|
-
}
|
|
27
|
-
for (let i = 0; i < elm.attributes.length; i++) {
|
|
28
|
-
const attribute = elm.attributes[i];
|
|
29
|
-
if (attribute.name.toLowerCase().indexOf("on") === 0) {
|
|
30
|
-
return false;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
if (elm.children) {
|
|
34
|
-
for (let i = 0; i < elm.children.length; i++) {
|
|
35
|
-
if (!isValid(elm.children[i])) {
|
|
36
|
-
return false;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
return true;
|
|
41
|
-
};
|
|
42
|
-
const buildIconUrl = (iconName) => {
|
|
43
|
-
// under normal operations the Icons should always be loaded from the CDN
|
|
44
|
-
{
|
|
45
|
-
return `${Env.cdnURIProd}/icons/${Env.duetIconVersion}/lib/assets/${iconName}.svg`;
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
const iconCache = {};
|
|
49
|
-
function fetchIconByUrl(url) {
|
|
50
|
-
if (iconCache[url]) {
|
|
51
|
-
return iconCache[url];
|
|
52
|
-
}
|
|
53
|
-
// we create a function that covers all the fetching, cleanup, validation etc,
|
|
54
|
-
// this way we can perform that work just once, and then return the same promise in future.
|
|
55
|
-
async function doFetch() {
|
|
56
|
-
const res = await fetch(url);
|
|
57
|
-
if (!res.ok) {
|
|
58
|
-
throw new Error(`SVG request failed: ${res.status} ${res.statusText}`);
|
|
59
|
-
}
|
|
60
|
-
const responseText = await res.text();
|
|
61
|
-
const svgElement = cleanupSvg(responseText);
|
|
62
|
-
if (!isValid(svgElement)) {
|
|
63
|
-
throw new Error("SVG validation failed");
|
|
64
|
-
}
|
|
65
|
-
// OuterHTML does not unfortunately work here with IE11
|
|
66
|
-
// was previously: resolve(svgElement.outerHTML)
|
|
67
|
-
const div = document.createElement("div");
|
|
68
|
-
div.appendChild(svgElement);
|
|
69
|
-
return div.innerHTML;
|
|
70
|
-
}
|
|
71
|
-
// we do not `await` the fetch, as we only care about initiating the work,
|
|
72
|
-
// it's the responsibility of the calling code to wait for the response.
|
|
73
|
-
const req = doFetch();
|
|
74
|
-
// cache for the repeat requests
|
|
75
|
-
return (iconCache[url] = req);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
const duetIconCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:inline-block;width:auto;max-width:100%;color:inherit;-webkit-tap-highlight-color:transparent}@media (max-width: 35.9375em){:host(.duet-icon-has-outline){margin-bottom:0 !important}}@media (max-width: 35.9375em){:host(.duet-icon-has-background){margin-bottom:0 !important}}:host(.duet-m-0){margin:0 !important}@media (max-width: 35.9375em){:host(.duet-m-0){margin:0 !important}}.duet-icon{-webkit-user-select:none;user-select:none;width:100%;height:100%;transform-origin:top center}.duet-icon.duet-icon-has-outline{padding:12px;border-style:solid;border-width:1px}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-outline{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background{padding:16px;color:white}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-background{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background.duet-theme-turva,.duet-icon.duet-icon-has-background.duet-theme-default{color:white}.duet-icon.duet-icon-shape-circle{border-radius:50%}.duet-icon.duet-icon-shape-brand{border-radius:25%}.duet-icon.duet-icon-has-background.xxx-small .duet-icon-svg,.duet-icon.duet-icon-has-outline.xxx-small .duet-icon-svg{width:10px;height:10px}.duet-icon.duet-icon-has-background.xx-small .duet-icon-svg,.duet-icon.duet-icon-has-outline.xx-small .duet-icon-svg{width:16px;height:16px}@media (max-width: 35.9375em){.duet-icon.duet-icon-not-responsive{transform:scale(1) !important}}.duet-icon.duet-theme-default{color:#0077b3}.duet-icon.duet-theme-turva{color:#c60c30}.duet-icon.auto .duet-icon-svg{width:100%;height:100%}.duet-icon.xxx-small .duet-icon-svg{width:7px;height:7px}.duet-icon.duet-icon-has-background.xxx-small{padding:6px}.duet-icon.duet-icon-has-outline.xxx-small{padding:4px}.duet-icon.xx-small .duet-icon-svg{width:10px;height:10px}.duet-icon.duet-icon-has-background.xx-small{padding:8px}.duet-icon.duet-icon-has-outline.xx-small{padding:7px}.duet-icon.x-small .duet-icon-svg{width:16px;height:16px}.duet-icon.duet-icon-has-outline.x-small{padding:10px}.duet-icon.duet-icon-has-background.x-small{padding:12px}.duet-icon.small .duet-icon-svg{width:20px;height:20px}.duet-icon.duet-icon-has-background.small{padding:14px}.duet-icon.large .duet-icon-svg{width:30px;height:30px}.duet-icon.x-large .duet-icon-svg{width:36px;height:36px}.duet-icon.xx-large .duet-icon-svg{width:48px;height:48px}.duet-icon.xxx-large .duet-icon-svg{width:48px;height:48px}@media (min-width: 48em){.duet-icon.xxx-large .duet-icon-svg{width:72px;height:72px}}.duet-icon.duet-icon-shape-brand.duet-theme-turva{display:flex;align-items:center;justify-content:center;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");-webkit-mask-repeat:no-repeat;mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");mask-repeat:no-repeat}.duet-icon.duet-icon-shape-brand.duet-theme-turva .duet-icon-svg{min-width:auto}.duet-icon.duet-icon-shape-brand.duet-theme-turva.xx-small{width:18px;height:15px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.x-small{width:32px;height:30px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.small{width:36px;height:34px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.medium{width:48px;height:44px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.large{width:62px;height:56px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.x-large{width:76px;height:68px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.xx-large{width:95px;height:86px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.xxx-large{width:144px;height:130px;padding:0}.duet-icon.duet-icon-shape-brand.xxx-small{padding:0}.duet-icon.duet-icon-shape-brand.xxx-small .duet-icon-svg{width:0;height:0}.duet-icon.duet-icon-shape-brand.xx-small{padding:4px}.duet-icon.duet-icon-shape-brand.xx-small .duet-icon-svg{width:10px;height:10px}.duet-icon.duet-icon-shape-brand.x-small{padding:8px}.duet-icon.duet-icon-shape-brand.x-small .duet-icon-svg{width:16px;height:16px}.duet-icon.duet-icon-shape-brand.small{padding:8px}.duet-icon.duet-icon-shape-brand.small .duet-icon-svg{width:20px;height:20px}.duet-icon.duet-icon-shape-brand.medium{padding:12px}.duet-icon.duet-icon-shape-brand.medium .duet-icon-svg{width:24px;height:24px}.duet-icon.duet-icon-shape-brand.large{padding:16px}.duet-icon.duet-icon-shape-brand.large .duet-icon-svg{width:30px;height:30px}.duet-icon.duet-icon-shape-brand.x-large{padding:20px}.duet-icon.duet-icon-shape-brand.x-large .duet-icon-svg{width:36px;height:36px}.duet-icon.duet-icon-shape-brand.xx-large{padding:24px}.duet-icon.duet-icon-shape-brand.xx-large .duet-icon-svg{width:48px;height:48px}.duet-icon.duet-icon-shape-brand.xxx-large{padding:36px}.duet-icon.duet-icon-shape-brand.xxx-large .duet-icon-svg{width:72px;height:72px}.duet-icon .duet-icon-svg{display:block;width:24px;min-width:100%;height:24px;font-size:0}.duet-icon svg{width:100%;min-width:100%;fill:currentColor}";
|
|
79
|
-
|
|
80
|
-
const DuetIcon = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
81
|
-
constructor() {
|
|
82
|
-
super();
|
|
83
|
-
this.__registerHost();
|
|
84
|
-
this.__attachShadow();
|
|
85
|
-
this.svgContent = undefined;
|
|
86
|
-
this.theme = "";
|
|
87
|
-
this.icon = undefined;
|
|
88
|
-
this.src = undefined;
|
|
89
|
-
this.name = "action-add";
|
|
90
|
-
this.margin = "auto";
|
|
91
|
-
this.responsive = true;
|
|
92
|
-
this.color = "";
|
|
93
|
-
this.background = "";
|
|
94
|
-
this.size = "medium";
|
|
95
|
-
this.outline = "";
|
|
96
|
-
this.shape = "circle";
|
|
97
|
-
}
|
|
98
|
-
/**
|
|
99
|
-
* Component lifecycle events.
|
|
100
|
-
*/
|
|
101
|
-
componentWillLoad() {
|
|
102
|
-
inheritGlobalTheme(this);
|
|
103
|
-
if (this.src && this.icon) {
|
|
104
|
-
console.warn("[DUET COMPONENTS]: <duet-icon> should have either have src or icon attributes, but not both. icon attribute will take precedence", "icon:", this.icon, "src:", this.src);
|
|
105
|
-
}
|
|
106
|
-
this.loadIcon();
|
|
107
|
-
}
|
|
108
|
-
async loadIcon() {
|
|
109
|
-
// static icon known at build-time, so we can set it synchronously
|
|
110
|
-
if (this.icon) {
|
|
111
|
-
this.svgContent = this.icon;
|
|
112
|
-
return;
|
|
113
|
-
}
|
|
114
|
-
// dynamically load icon from url
|
|
115
|
-
const src = this.src ? this.src : buildIconUrl(this.name);
|
|
116
|
-
try {
|
|
117
|
-
this.svgContent = await fetchIconByUrl(src);
|
|
118
|
-
}
|
|
119
|
-
catch (e) {
|
|
120
|
-
console.warn(`[DUET COMPONENTS]: <duet-icon> could not load SVG from URL: ${src}.`, e);
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* render() function.
|
|
125
|
-
* Always the last one in the class.
|
|
126
|
-
*/
|
|
127
|
-
render() {
|
|
128
|
-
const color = this.color === "currentColor"
|
|
129
|
-
? "currentColor"
|
|
130
|
-
: getColorByName(this.color, this.theme) || getColorByName(this.outline, this.theme);
|
|
131
|
-
const styles = {
|
|
132
|
-
color,
|
|
133
|
-
background: getColorByName(this.background, this.theme),
|
|
134
|
-
"border-color": getColorByName(this.outline, this.theme),
|
|
135
|
-
};
|
|
136
|
-
return (h(Host, { class: {
|
|
137
|
-
"duet-m-0": this.margin === "none",
|
|
138
|
-
"duet-icon-has-outline": !!this.outline,
|
|
139
|
-
"duet-icon-has-background": !!this.background,
|
|
140
|
-
} }, h("div", { "aria-hidden": "true", style: styles, class: {
|
|
141
|
-
"duet-icon": true,
|
|
142
|
-
[this.size]: true,
|
|
143
|
-
"duet-theme-turva": this.theme === "turva",
|
|
144
|
-
"duet-theme-default": this.theme === "default",
|
|
145
|
-
"duet-icon-has-outline": !!this.outline,
|
|
146
|
-
"duet-icon-has-background": !!this.background,
|
|
147
|
-
[`duet-icon-shape-${this.shape}`]: true,
|
|
148
|
-
"duet-icon-not-responsive": !this.responsive,
|
|
149
|
-
} }, h("span", { "aria-hidden": "true", class: "duet-icon-svg", innerHTML: this.svgContent }))));
|
|
150
|
-
}
|
|
151
|
-
get element() { return this; }
|
|
152
|
-
static get watchers() { return {
|
|
153
|
-
"src": ["loadIcon"],
|
|
154
|
-
"icon": ["loadIcon"],
|
|
155
|
-
"name": ["loadIcon"]
|
|
156
|
-
}; }
|
|
157
|
-
static get style() { return duetIconCss; }
|
|
158
|
-
}, [1, "duet-icon", {
|
|
159
|
-
"theme": [1025],
|
|
160
|
-
"icon": [1],
|
|
161
|
-
"src": [1],
|
|
162
|
-
"name": [1],
|
|
163
|
-
"margin": [1],
|
|
164
|
-
"responsive": [4],
|
|
165
|
-
"color": [513],
|
|
166
|
-
"background": [1],
|
|
167
|
-
"size": [1],
|
|
168
|
-
"outline": [1],
|
|
169
|
-
"shape": [1],
|
|
170
|
-
"svgContent": [32]
|
|
171
|
-
}]);
|
|
172
|
-
function defineCustomElement() {
|
|
173
|
-
if (typeof customElements === "undefined") {
|
|
174
|
-
return;
|
|
175
|
-
}
|
|
176
|
-
const components = ["duet-icon"];
|
|
177
|
-
components.forEach(tagName => { switch (tagName) {
|
|
178
|
-
case "duet-icon":
|
|
179
|
-
if (!customElements.get(tagName)) {
|
|
180
|
-
customElements.define(tagName, DuetIcon);
|
|
181
|
-
}
|
|
182
|
-
break;
|
|
183
|
-
} });
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
export { DuetIcon as D, defineCustomElement as d };
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, c as Host } from './p-e47da081.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 #909599;border-radius:4px;transition:border 300ms ease}.duet-checkmark-container.center{margin-right:auto}.duet-theme-turva .duet-checkmark-container{border-color:#747475}.checked .duet-checkmark-container{background:#0077b3;border-color:#0077b3;transition:none}.duet-theme-turva .checked .duet-checkmark-container{background:#171c3a;border-color:#171c3a !important}.duet-checkmark-container.duet-checkmark-radio{border-radius:50%}[disabled]+label .duet-checkmark-container{border-color:#cfd2d4 !important}.duet-theme-turva [disabled]+label .duet-checkmark-container{border-color:#cfcfd1 !important}.checked [disabled]+label .duet-checkmark-container{background:#cfd2d4 !important}.duet-theme-turva .checked [disabled]+label .duet-checkmark-container{background:#cfcfd1 !important}.duet-checkmark{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid white;border-right:2px solid white;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 };
|