@duetds/components 10.0.0-alpha.9 → 10.1.0
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 +38 -7
- package/hydrate/index.js +9613 -4173
- package/hydrate/index.mjs +46160 -0
- package/lib/cjs/_commonjsHelpers-4N64IRaP.js +10 -0
- package/lib/cjs/a11y-utils-DzwEPbds.js +46 -0
- package/lib/cjs/action-arrow-down-small-CDsSJFvZ.js +21 -0
- package/lib/cjs/action-new-window-small-BWlVx6YN.js +21 -0
- package/lib/cjs/{app-globals-2b7fff72.js → app-globals-BtFYkwDf.js} +2 -2
- package/lib/cjs/{common-strings-2984301e.js → common-strings-CC6Xpjb8.js} +30 -0
- package/lib/cjs/duet-action-button.cjs.entry.js +84 -29
- package/lib/cjs/duet-alert.cjs.entry.js +106 -49
- package/lib/cjs/duet-badge.cjs.entry.js +31 -9
- package/lib/cjs/duet-banner.cjs.entry.js +71 -28
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +37 -26
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +20 -14
- package/lib/cjs/duet-button_2.cjs.entry.js +152 -72
- package/lib/cjs/duet-callout.cjs.entry.js +13 -10
- package/lib/cjs/duet-caption_4.cjs.entry.js +212 -47
- package/lib/cjs/duet-card.cjs.entry.js +93 -35
- package/lib/cjs/duet-checkbox.cjs.entry.js +68 -32
- package/lib/cjs/duet-checkmark.cjs.entry.js +21 -9
- package/lib/cjs/duet-chip.cjs.entry.js +60 -33
- package/lib/cjs/duet-choice_2.cjs.entry.js +279 -130
- package/lib/cjs/duet-collapsible.cjs.entry.js +92 -33
- package/lib/cjs/duet-combobox.cjs.entry.js +99 -58
- package/lib/cjs/duet-contact-card.cjs.entry.js +17 -18
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +14 -11
- package/lib/cjs/duet-date-picker.cjs.entry.js +158 -57
- package/lib/cjs/duet-divider_2.cjs.entry.js +30 -14
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +556 -210
- package/lib/cjs/duet-empty-state.cjs.entry.js +15 -9
- package/lib/cjs/duet-fieldset.cjs.entry.js +51 -18
- package/lib/cjs/duet-file-chooser.cjs.entry.js +18 -11
- package/lib/cjs/duet-footer.cjs.entry.js +56 -30
- package/lib/cjs/duet-grid_2.cjs.entry.js +169 -64
- package/lib/cjs/duet-header_2.cjs.entry.js +302 -91
- package/lib/cjs/duet-hero.cjs.entry.js +159 -35
- package/lib/cjs/duet-icon.cjs.entry.js +64 -20
- package/lib/cjs/duet-indicator.cjs.entry.js +61 -0
- package/lib/cjs/duet-input_2.cjs.entry.js +225 -86
- package/lib/cjs/duet-layout.cjs.entry.js +33 -13
- package/lib/cjs/duet-list_2.cjs.entry.js +58 -14
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +24 -16
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +19 -14
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +21 -16
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +40 -19
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +18 -10
- package/lib/cjs/duet-menu-bar.cjs.entry.js +37 -59
- package/lib/cjs/duet-modal.cjs.entry.js +122 -35
- package/lib/cjs/duet-multiselect.cjs.entry.js +88 -42
- package/lib/cjs/duet-nav.cjs.entry.js +12 -8
- package/lib/cjs/duet-notification_2.cjs.entry.js +98 -32
- package/lib/cjs/duet-number-input.cjs.entry.js +191 -70
- package/lib/cjs/duet-overlay.cjs.entry.js +36 -14
- package/lib/cjs/duet-page-heading.cjs.entry.js +16 -11
- package/lib/cjs/duet-pagination_2.cjs.entry.js +162 -87
- package/lib/cjs/duet-panel.cjs.entry.js +52 -0
- package/lib/cjs/duet-phone-input.cjs.entry.js +115 -45
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +226 -102
- package/lib/cjs/duet-progress.cjs.entry.js +32 -13
- package/lib/cjs/duet-promo-card.cjs.entry.js +27 -13
- package/lib/cjs/duet-radio_2.cjs.entry.js +114 -55
- package/lib/cjs/duet-range-slider.cjs.entry.js +73 -37
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +233 -88
- package/lib/cjs/duet-section-layout.cjs.entry.js +17 -10
- package/lib/cjs/duet-select.cjs.entry.js +89 -46
- package/lib/cjs/duet-shaped-image.cjs.entry.js +16 -11
- package/lib/cjs/duet-share-chart-item.cjs.entry.js +22 -0
- package/lib/cjs/duet-share-chart.cjs.entry.js +85 -0
- package/lib/cjs/duet-show-more.cjs.entry.js +81 -38
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +10 -10
- package/lib/cjs/duet-slideout-link.cjs.entry.js +49 -16
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +25 -14
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +50 -36
- package/lib/cjs/duet-slideout.cjs.entry.js +85 -52
- package/lib/cjs/duet-status-icon.cjs.entry.js +28 -15
- package/lib/cjs/duet-step_2.cjs.entry.js +72 -24
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +25 -10
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +27 -18
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +40 -19
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +18 -9
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +27 -21
- package/lib/cjs/duet-textarea.cjs.entry.js +146 -71
- package/lib/cjs/duet-toggle.cjs.entry.js +55 -29
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +22 -11
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +27 -16
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +46 -19
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +21 -10
- package/lib/cjs/duet-toolbar.cjs.entry.js +12 -10
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +24 -27
- package/lib/cjs/duet-tooltip.cjs.entry.js +98 -46
- package/lib/cjs/duet-tray.cjs.entry.js +63 -24
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +30 -11
- package/lib/cjs/duet-upload-item.cjs.entry.js +12 -22
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +4 -7
- package/lib/cjs/duet.cjs.js +8 -8
- package/lib/cjs/{errorcodes.utils-e3a0f607.js → errorcodes.utils-BuseNrD9.js} +2 -2
- package/lib/cjs/floating-ui.dom.browser.min-Cj0r5YDz.js +709 -0
- package/lib/cjs/{focus-utils-47d23c45.js → focus-utils-Cbk0cnOs.js} +1 -1
- package/lib/cjs/form-search-CzPfHB80.js +21 -0
- package/lib/cjs/{index-7b1d76ef.js → index-blgG8IJB.js} +1853 -1361
- package/lib/cjs/{label-874fd84f.js → label-DeanNJa0.js} +1 -1
- package/lib/cjs/{language-utils-a6a152b8.js → language-utils-DWW8tvkB.js} +10 -2
- package/lib/cjs/loader.cjs.js +3 -5
- package/lib/cjs/{slot-utils-7e6aa48b.js → slot-utils-Byx247xX.js} +6 -1
- package/lib/cjs/{teleport-c6f8391a.js → teleport-D5NDbuu0.js} +22 -7
- package/lib/cjs/themeable-component-DcR7DztR.js +74 -0
- package/lib/cjs/{token-utils-5000595c.js → token-utils-BJtlJxnJ.js} +80 -9
- package/lib/cjs/{tokens-57e06fe4.js → tokens-BxWzRxOl.js} +150 -8
- package/lib/cjs/{tokens.module-7c947029.js → tokens.module-DJt2h4FX.js} +99 -3
- package/lib/cjs/{watch-options-30a12622.js → watch-options-D4JNsU3B.js} +0 -20
- package/lib/collection/collection-manifest.json +5 -1
- package/lib/collection/common/themeable-component.js +61 -3
- package/lib/collection/common-strings.js +28 -0
- package/lib/collection/components/duet-action-button/duet-action-button.css +29 -12
- package/lib/collection/components/duet-action-button/duet-action-button.js +94 -35
- package/lib/collection/components/duet-alert/duet-alert.css +96 -58
- package/lib/collection/components/duet-alert/duet-alert.js +146 -59
- package/lib/collection/components/duet-badge/duet-badge.css +24 -9
- package/lib/collection/components/duet-badge/duet-badge.js +30 -6
- package/lib/collection/components/duet-banner/duet-banner.css +51 -24
- package/lib/collection/components/duet-banner/duet-banner.js +95 -30
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +10 -8
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +26 -28
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +18 -7
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +15 -6
- package/lib/collection/components/duet-button/duet-button.css +140 -32
- package/lib/collection/components/duet-button/duet-button.js +174 -93
- package/lib/collection/components/duet-callout/duet-callout.css +7 -2
- package/lib/collection/components/duet-callout/duet-callout.js +10 -4
- package/lib/collection/components/duet-caption/duet-caption.css +8 -4
- package/lib/collection/components/duet-caption/duet-caption.js +19 -7
- package/lib/collection/components/duet-card/duet-card.css +48 -16
- package/lib/collection/components/duet-card/duet-card.js +134 -40
- package/lib/collection/components/duet-checkbox/duet-checkbox.css +30 -8
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +89 -50
- package/lib/collection/components/duet-chip/duet-chip.css +66 -25
- package/lib/collection/components/duet-chip/duet-chip.js +73 -41
- package/lib/collection/components/duet-choice/duet-checkmark.css +4 -0
- package/lib/collection/components/duet-choice/duet-checkmark.js +22 -7
- package/lib/collection/components/duet-choice/duet-choice.css +164 -41
- package/lib/collection/components/duet-choice/duet-choice.js +244 -142
- package/lib/collection/components/duet-choice-group/duet-choice-group.css +4 -4
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +109 -48
- package/lib/collection/components/duet-collapsible/duet-collapsible.css +36 -13
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +100 -38
- package/lib/collection/components/duet-combobox/duet-combobox.css +9 -2
- package/lib/collection/components/duet-combobox/duet-combobox.js +106 -59
- package/lib/collection/components/duet-contact-card/duet-contact-card.css +8 -4
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +21 -19
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +23 -14
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +12 -6
- package/lib/collection/components/duet-date-picker/date-picker-day.js +6 -1
- package/lib/collection/components/duet-date-picker/date-utils.js +6 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +103 -46
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +176 -73
- package/lib/collection/components/duet-divider/duet-divider.css +12 -6
- package/lib/collection/components/duet-divider/duet-divider.js +15 -5
- package/lib/collection/components/duet-editable-table/duet-editable-table.css +2 -2
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +88 -31
- package/lib/collection/components/duet-empty-state/duet-empty-state.css +11 -6
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +15 -6
- package/lib/collection/components/duet-fieldset/duet-fieldset.css +13 -6
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +58 -20
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.css +2 -2
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +18 -8
- package/lib/collection/components/duet-footer/duet-footer.css +43 -14
- package/lib/collection/components/duet-footer/duet-footer.js +62 -34
- package/lib/collection/components/duet-grid/duet-grid.css +2 -6
- package/lib/collection/components/duet-grid/duet-grid.js +151 -70
- package/lib/collection/components/duet-grid-item/duet-grid-item.css +6 -2
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +40 -13
- package/lib/collection/components/duet-header/duet-header.css +165 -65
- package/lib/collection/components/duet-header/duet-header.js +180 -91
- package/lib/collection/components/duet-heading/duet-heading.css +11 -6
- package/lib/collection/components/duet-heading/duet-heading.js +39 -15
- package/lib/collection/components/duet-hero/duet-hero.css +326 -18
- package/lib/collection/components/duet-hero/duet-hero.js +202 -56
- package/lib/collection/components/duet-icon/duet-icon.css +17 -5
- package/lib/collection/components/duet-icon/duet-icon.js +71 -24
- package/lib/collection/components/duet-indicator/duet-indicator.css +50 -0
- package/lib/collection/components/duet-indicator/duet-indicator.js +138 -0
- package/lib/collection/components/duet-input/duet-input.css +143 -68
- package/lib/collection/components/duet-input/duet-input.js +320 -146
- package/lib/collection/components/duet-label/duet-label.css +8 -4
- package/lib/collection/components/duet-label/duet-label.js +25 -10
- package/lib/collection/components/duet-layout/duet-layout.css +4 -4
- package/lib/collection/components/duet-layout/duet-layout.js +36 -13
- package/lib/collection/components/duet-link/duet-link.css +149 -25
- package/lib/collection/components/duet-link/duet-link.js +120 -32
- package/lib/collection/components/duet-list/duet-list.css +4 -4
- package/lib/collection/components/duet-list/duet-list.js +41 -12
- package/lib/collection/components/duet-list-item/duet-list-item.css +29 -9
- package/lib/collection/components/duet-list-item/duet-list-item.js +50 -4
- package/lib/collection/components/duet-logo/duet-logo.css +36 -8
- package/lib/collection/components/duet-logo/duet-logo.js +112 -12
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +108 -6
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +60 -59
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +17 -8
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +33 -22
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +28 -12
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +20 -12
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +19 -9
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +18 -10
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +28 -10
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +39 -16
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +25 -10
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +19 -8
- package/lib/collection/components/duet-modal/duet-modal.css +23 -25
- package/lib/collection/components/duet-modal/duet-modal.js +197 -43
- package/lib/collection/components/duet-multiselect/duet-multiselect.css +71 -30
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +104 -54
- package/lib/collection/components/duet-nav/duet-nav.css +8 -4
- package/lib/collection/components/duet-nav/duet-nav.js +10 -3
- package/lib/collection/components/duet-notification/duet-notification.css +33 -26
- package/lib/collection/components/duet-notification/duet-notification.js +46 -9
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +38 -36
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +58 -25
- package/lib/collection/components/duet-number-input/duet-number-input.css +29 -14
- package/lib/collection/components/duet-number-input/duet-number-input.js +208 -107
- package/lib/collection/components/duet-overlay/duet-overlay.css +5 -1
- package/lib/collection/components/duet-overlay/duet-overlay.js +41 -16
- package/lib/collection/components/duet-page-heading/duet-page-heading.css +44 -16
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +17 -9
- package/lib/collection/components/duet-pagination/duet-pagination.css +8 -4
- package/lib/collection/components/duet-pagination/duet-pagination.js +132 -78
- package/lib/collection/components/duet-panel/duet-panel.css +99 -0
- package/lib/collection/components/duet-panel/duet-panel.js +233 -0
- package/lib/collection/components/duet-paragraph/duet-paragraph.css +19 -6
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +32 -11
- package/lib/collection/components/duet-phone-input/duet-phone-input.css +46 -2
- package/lib/collection/components/duet-phone-input/duet-phone-input.js +211 -58
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +14 -6
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +184 -90
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +30 -12
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +66 -31
- package/lib/collection/components/duet-progress/duet-progress.css +27 -8
- package/lib/collection/components/duet-progress/duet-progress.js +36 -14
- package/lib/collection/components/duet-promo-card/duet-promo-card.css +18 -12
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +47 -11
- package/lib/collection/components/duet-radio/duet-radio.css +41 -8
- package/lib/collection/components/duet-radio/duet-radio.js +70 -52
- package/lib/collection/components/duet-radio-group/duet-radio-group.css +4 -4
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +78 -30
- package/lib/collection/components/duet-range-slider/duet-range-slider.css +64 -19
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +87 -48
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +8 -4
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +44 -15
- package/lib/collection/components/duet-scrollable/duet-scrollable.css +29 -19
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +170 -29
- package/lib/collection/components/duet-section-layout/duet-section-layout.css +4 -4
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +16 -6
- package/lib/collection/components/duet-select/duet-select.css +55 -24
- package/lib/collection/components/duet-select/duet-select.js +114 -68
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.css +6 -6
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +17 -9
- package/lib/collection/components/duet-share-chart/duet-share-chart.css +82 -0
- package/lib/collection/components/duet-share-chart/duet-share-chart.js +141 -0
- package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +67 -0
- package/lib/collection/components/duet-show-more/duet-show-more.css +15 -8
- package/lib/collection/components/duet-show-more/duet-show-more.js +88 -38
- package/lib/collection/components/duet-slideout/duet-slideout.css +72 -40
- package/lib/collection/components/duet-slideout/duet-slideout.js +89 -51
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +10 -6
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +5 -2
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +24 -11
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +50 -15
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +63 -40
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +47 -30
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +29 -16
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +25 -11
- package/lib/collection/components/duet-spacer/duet-spacer.css +2 -2
- package/lib/collection/components/duet-spacer/duet-spacer.js +16 -6
- package/lib/collection/components/duet-spinner/duet-spinner.css +10 -16
- package/lib/collection/components/duet-spinner/duet-spinner.js +22 -24
- package/lib/collection/components/duet-status-icon/duet-status-icon.js +30 -15
- package/lib/collection/components/duet-step/duet-step.css +28 -13
- package/lib/collection/components/duet-step/duet-step.js +27 -18
- package/lib/collection/components/duet-stepper/duet-stepper.css +4 -4
- package/lib/collection/components/duet-stepper/duet-stepper.js +46 -11
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +34 -16
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +25 -16
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +49 -15
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +25 -13
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +29 -8
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +26 -8
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +33 -10
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +38 -15
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +34 -9
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +17 -5
- package/lib/collection/components/duet-tab/duet-tab.css +15 -11
- package/lib/collection/components/duet-tab/duet-tab.js +88 -24
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +131 -85
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +173 -56
- package/lib/collection/components/duet-table/duet-table-styles.js +68 -4
- package/lib/collection/components/duet-table/duet-table.js +43 -14
- package/lib/collection/components/duet-textarea/duet-textarea.css +68 -23
- package/lib/collection/components/duet-textarea/duet-textarea.js +231 -103
- package/lib/collection/components/duet-toggle/duet-toggle.css +38 -11
- package/lib/collection/components/duet-toggle/duet-toggle.js +88 -39
- package/lib/collection/components/duet-toolbar/duet-toolbar.css +11 -4
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +11 -6
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +42 -12
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +28 -14
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +21 -8
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +23 -9
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +52 -30
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +48 -19
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +60 -10
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +23 -9
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +24 -14
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +9 -11
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +48 -16
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +18 -14
- package/lib/collection/components/duet-tooltip/duet-tooltip.css +4 -4
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +101 -46
- package/lib/collection/components/duet-tray/duet-tray.css +43 -27
- package/lib/collection/components/duet-tray/duet-tray.js +63 -21
- package/lib/collection/components/duet-upload/duet-upload.css +6 -6
- package/lib/collection/components/duet-upload/duet-upload.js +433 -227
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +35 -13
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +19 -20
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.css +3 -3
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/collection/index.js +1 -0
- package/lib/collection/utils/a11y-utils.js +20 -0
- package/lib/collection/utils/language-utils.js +7 -0
- package/lib/collection/utils/slot-utils.js +4 -0
- package/lib/collection/utils/teleport.js +22 -7
- package/lib/collection/utils/test-utils.js +2 -2
- package/lib/collection/utils/token-utils.js +59 -7
- package/lib/collection/utils/turva2-color-tokens.js +42 -0
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/p-01ce999b.entry.js +4 -0
- package/lib/duet/p-04c9c13e.entry.js +4 -0
- package/lib/duet/p-0d1a4928.entry.js +4 -0
- package/lib/duet/p-0fabcede.entry.js +4 -0
- package/lib/duet/p-1380370e.entry.js +4 -0
- package/lib/duet/p-140b87f4.entry.js +4 -0
- package/lib/duet/p-141f03da.entry.js +4 -0
- package/lib/duet/p-14d64261.entry.js +4 -0
- package/lib/duet/p-1U75pxcR.js +4 -0
- package/lib/duet/p-1d8da041.entry.js +4 -0
- package/lib/duet/p-24f206ab.entry.js +4 -0
- package/lib/duet/p-276f8827.entry.js +4 -0
- package/lib/duet/p-28325583.entry.js +4 -0
- package/lib/duet/p-29e677bc.entry.js +4 -0
- package/lib/duet/p-2c4f4896.entry.js +4 -0
- package/lib/duet/p-2d0eb4b5.entry.js +4 -0
- package/lib/duet/p-30ae4852.entry.js +4 -0
- package/lib/duet/p-320e4688.entry.js +4 -0
- package/lib/duet/p-36d2a441.entry.js +4 -0
- package/lib/duet/p-3a108321.entry.js +4 -0
- package/lib/duet/p-3b52f20d.entry.js +4 -0
- package/lib/duet/p-40956ec6.entry.js +4 -0
- package/lib/duet/p-43f15ad6.entry.js +4 -0
- package/lib/duet/p-4862f0c6.entry.js +4 -0
- package/lib/duet/{p-7d5c5b60.entry.js → p-486a4bc6.entry.js} +1 -1
- package/lib/duet/p-4d14780b.entry.js +4 -0
- package/lib/duet/p-4de6cd49.entry.js +4 -0
- package/lib/duet/p-540fc47b.entry.js +4 -0
- package/lib/duet/p-57ba8f5f.entry.js +4 -0
- package/lib/duet/p-581e1e08.entry.js +4 -0
- package/lib/duet/p-5db08755.entry.js +4 -0
- package/lib/duet/p-5f329414.entry.js +4 -0
- package/lib/duet/p-5iZMFvpJ.js +4 -0
- package/lib/duet/p-6043a6de.entry.js +4 -0
- package/lib/duet/p-6662042f.entry.js +4 -0
- package/lib/duet/p-6862c7d5.entry.js +4 -0
- package/lib/duet/p-6b2823ed.entry.js +4 -0
- package/lib/duet/p-6cf8e63d.entry.js +4 -0
- package/lib/duet/p-6d90a89c.entry.js +4 -0
- package/lib/duet/p-6qQ9c51e.js +4 -0
- package/lib/duet/p-72c7816e.entry.js +4 -0
- package/lib/duet/p-7a8f23b7.entry.js +4 -0
- package/lib/duet/p-823522c9.entry.js +4 -0
- package/lib/duet/p-83c7bfe0.entry.js +4 -0
- package/lib/duet/p-8857eb7b.entry.js +4 -0
- package/lib/duet/{p-e5229df1.entry.js → p-8f2fbd03.entry.js} +1 -1
- package/lib/duet/p-90981fbb.entry.js +4 -0
- package/lib/duet/p-90eed96d.entry.js +4 -0
- package/lib/duet/p-93303c68.entry.js +4 -0
- package/lib/duet/p-94f1de2c.entry.js +4 -0
- package/lib/duet/p-960ada39.entry.js +4 -0
- package/lib/duet/{p-597e4a0d.entry.js → p-9dc2b0d2.entry.js} +1 -1
- package/lib/duet/p-9ee8ddc9.entry.js +4 -0
- package/lib/duet/p-9fd10aed.entry.js +4 -0
- package/lib/duet/p-B0pM7dNk.js +4 -0
- package/lib/duet/p-BDAqOMlM.js +4 -0
- package/lib/duet/p-BVgBUIYF.js +4 -0
- package/lib/duet/{p-81287261.js → p-B_NkY9T0.js} +1 -1
- package/lib/duet/p-Bg75Vqqq.js +4 -0
- package/lib/duet/p-BhYt_2Vd.js +5 -0
- package/lib/duet/p-BmMFVM-y.js +4 -0
- package/lib/duet/p-BtxOyTe3.js +4 -0
- package/lib/duet/p-CVPfl9fc.js +4 -0
- package/lib/duet/p-CooAqTCj.js +4 -0
- package/lib/duet/{p-b3d6e031.js → p-CxgSYSyh.js} +1 -1
- package/lib/duet/p-DJzDRf9m.js +4 -0
- package/lib/duet/p-DOuLHrH5.js +4 -0
- package/lib/duet/{p-a45e3f8b.js → p-Db8rvjPI.js} +1 -1
- package/lib/duet/p-DvwKrUS6.js +4 -0
- package/lib/duet/p-a1e60676.entry.js +4 -0
- package/lib/duet/p-a28d4312.entry.js +4 -0
- package/lib/duet/p-a9692b2a.entry.js +4 -0
- package/lib/duet/p-a9cf57f5.entry.js +4 -0
- package/lib/duet/p-ab74c20e.entry.js +4 -0
- package/lib/duet/p-ac_1YilV.js +4 -0
- package/lib/duet/p-afabb51f.entry.js +4 -0
- package/lib/duet/p-b2464865.entry.js +4 -0
- package/lib/duet/p-b2f22262.entry.js +4 -0
- package/lib/duet/p-ba39d3ad.entry.js +4 -0
- package/lib/duet/p-bb8634c4.entry.js +4 -0
- package/lib/duet/p-bcb8d390.entry.js +4 -0
- package/lib/duet/p-bd0ad7c3.entry.js +4 -0
- package/lib/duet/p-ca3fe683.entry.js +4 -0
- package/lib/duet/p-d26c644d.entry.js +4 -0
- package/lib/duet/p-d31cafc9.entry.js +4 -0
- package/lib/duet/p-d35a4b95.entry.js +4 -0
- package/lib/duet/p-d4e2e471.entry.js +4 -0
- package/lib/duet/p-d8ebfd49.entry.js +4 -0
- package/lib/duet/p-d9f504b7.entry.js +4 -0
- package/lib/duet/{p-8cbd3dfd.entry.js → p-db22799a.entry.js} +1 -1
- package/lib/duet/p-db594a93.entry.js +4 -0
- package/lib/duet/p-dc4d385d.entry.js +4 -0
- package/lib/duet/p-dc57fff7.entry.js +4 -0
- package/lib/duet/p-de255274.entry.js +4 -0
- package/lib/duet/{p-546cf344.entry.js → p-de639eff.entry.js} +1 -1
- package/lib/duet/p-e195c5e2.entry.js +4 -0
- package/lib/duet/p-e2e7b3bd.entry.js +4 -0
- package/lib/duet/p-e3780362.entry.js +4 -0
- package/lib/duet/p-e7c058b0.entry.js +4 -0
- package/lib/duet/p-ec5b54f3.entry.js +4 -0
- package/lib/duet/p-f6720f8c.entry.js +4 -0
- package/lib/duet/p-f6f6b960.entry.js +4 -0
- package/lib/duet/p-fb4ab1f5.entry.js +4 -0
- package/lib/duet/p-fd120a7b.entry.js +4 -0
- package/lib/duet/p-fe34272e.entry.js +4 -0
- package/lib/duet/p-vVCYtBMj.js +4 -0
- package/lib/duet/p-xwlQQBxs.js +4 -0
- package/lib/esm/_commonjsHelpers-DvwKrUS6.js +8 -0
- package/lib/esm/a11y-utils-BuWx2D09.js +43 -0
- package/lib/esm/action-arrow-down-small-Bk3GShyI.js +19 -0
- package/lib/esm/action-new-window-small-EH8_HdAm.js +19 -0
- package/lib/esm/{app-globals-e00fbe9c.js → app-globals-DRDLN5wE.js} +2 -2
- package/lib/esm/common-strings-CVPfl9fc.js +53 -0
- package/lib/esm/duet-action-button.entry.js +84 -27
- package/lib/esm/duet-alert.entry.js +106 -47
- package/lib/esm/duet-badge.entry.js +31 -7
- package/lib/esm/duet-banner.entry.js +71 -26
- package/lib/esm/duet-breadcrumb.entry.js +38 -25
- package/lib/esm/duet-breadcrumbs.entry.js +20 -12
- package/lib/esm/duet-button_2.entry.js +152 -70
- package/lib/esm/duet-callout.entry.js +13 -8
- package/lib/esm/duet-caption_4.entry.js +212 -45
- package/lib/esm/duet-card.entry.js +93 -33
- package/lib/esm/duet-checkbox.entry.js +68 -30
- package/lib/esm/duet-checkmark.entry.js +21 -7
- package/lib/esm/duet-chip.entry.js +60 -31
- package/lib/esm/duet-choice_2.entry.js +280 -129
- package/lib/esm/duet-collapsible.entry.js +92 -31
- package/lib/esm/duet-combobox.entry.js +99 -56
- package/lib/esm/duet-contact-card.entry.js +17 -16
- package/lib/esm/duet-cookie-consent.entry.js +14 -9
- package/lib/esm/duet-date-picker.entry.js +158 -55
- package/lib/esm/duet-divider_2.entry.js +30 -12
- package/lib/esm/duet-editable-table_3.entry.js +556 -208
- package/lib/esm/duet-empty-state.entry.js +15 -7
- package/lib/esm/duet-fieldset.entry.js +51 -16
- package/lib/esm/duet-file-chooser.entry.js +18 -9
- package/lib/esm/duet-footer.entry.js +56 -28
- package/lib/esm/duet-grid_2.entry.js +169 -62
- package/lib/esm/duet-header_2.entry.js +303 -90
- package/lib/esm/duet-hero.entry.js +159 -33
- package/lib/esm/duet-icon.entry.js +64 -18
- package/lib/esm/duet-indicator.entry.js +59 -0
- package/lib/esm/duet-input_2.entry.js +226 -85
- package/lib/esm/duet-layout.entry.js +33 -11
- package/lib/esm/duet-list_2.entry.js +58 -12
- package/lib/esm/duet-menu-bar-button.entry.js +24 -14
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +19 -12
- package/lib/esm/duet-menu-bar-dropdown.entry.js +21 -14
- package/lib/esm/duet-menu-bar-item.entry.js +40 -17
- package/lib/esm/duet-menu-bar-link.entry.js +18 -8
- package/lib/esm/duet-menu-bar.entry.js +37 -57
- package/lib/esm/duet-modal.entry.js +122 -33
- package/lib/esm/duet-multiselect.entry.js +88 -40
- package/lib/esm/duet-nav.entry.js +12 -6
- package/lib/esm/duet-notification_2.entry.js +98 -30
- package/lib/esm/duet-number-input.entry.js +192 -69
- package/lib/esm/duet-overlay.entry.js +36 -12
- package/lib/esm/duet-page-heading.entry.js +16 -9
- package/lib/esm/duet-pagination_2.entry.js +162 -85
- package/lib/esm/duet-panel.entry.js +50 -0
- package/lib/esm/duet-phone-input.entry.js +115 -43
- package/lib/esm/duet-popup-menu_2.entry.js +223 -97
- package/lib/esm/duet-progress.entry.js +32 -11
- package/lib/esm/duet-promo-card.entry.js +27 -11
- package/lib/esm/duet-radio_2.entry.js +114 -53
- package/lib/esm/duet-range-slider.entry.js +73 -35
- package/lib/esm/duet-scrollable_3.entry.js +233 -86
- package/lib/esm/duet-section-layout.entry.js +17 -8
- package/lib/esm/duet-select.entry.js +89 -44
- package/lib/esm/duet-shaped-image.entry.js +16 -9
- package/lib/esm/duet-share-chart-item.entry.js +20 -0
- package/lib/esm/duet-share-chart.entry.js +83 -0
- package/lib/esm/duet-show-more.entry.js +81 -36
- package/lib/esm/duet-slideout-lang.entry.js +10 -8
- package/lib/esm/duet-slideout-link.entry.js +49 -14
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +25 -12
- package/lib/esm/duet-slideout-panel.entry.js +50 -34
- package/lib/esm/duet-slideout.entry.js +85 -50
- package/lib/esm/duet-status-icon.entry.js +28 -13
- package/lib/esm/duet-step_2.entry.js +73 -23
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +25 -8
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +27 -16
- package/lib/esm/duet-submenu-bar-item.entry.js +40 -17
- package/lib/esm/duet-submenu-bar-link.entry.js +18 -7
- package/lib/esm/duet-submenu-bar.entry.js +27 -19
- package/lib/esm/duet-textarea.entry.js +146 -69
- package/lib/esm/duet-toggle.entry.js +55 -27
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +22 -9
- package/lib/esm/duet-toolbar-dropdown.entry.js +27 -14
- package/lib/esm/duet-toolbar-item.entry.js +46 -17
- package/lib/esm/duet-toolbar-link.entry.js +21 -8
- package/lib/esm/duet-toolbar.entry.js +12 -8
- package/lib/esm/duet-tooltip-button_2.entry.js +24 -25
- package/lib/esm/duet-tooltip.entry.js +97 -43
- package/lib/esm/duet-tray.entry.js +63 -22
- package/lib/esm/duet-upload-aria-status.entry.js +30 -9
- package/lib/esm/duet-upload-item.entry.js +12 -20
- package/lib/esm/duet-visually-hidden.entry.js +4 -5
- package/lib/esm/duet.js +7 -6
- package/lib/esm/{errorcodes.utils-416994cc.js → errorcodes.utils-CjUqHglR.js} +3 -3
- package/lib/esm/floating-ui.dom.browser.min-B_NkY9T0.js +702 -0
- package/lib/{dist-custom-elements/p-e30dc66d.js → esm/focus-utils-Do5KtPgs.js} +1 -1
- package/lib/esm/form-search-CevX33LA.js +19 -0
- package/lib/esm/{index-1a6cee61.js → index-BhYt_2Vd.js} +1851 -1357
- package/lib/{dist-custom-elements/p-8db11326.js → esm/keyboard-utils-Db8rvjPI.js} +1 -1
- package/lib/{dist-custom-elements/p-42619f94.js → esm/label-BRuShBbJ.js} +1 -1
- package/lib/esm/{language-utils-8a9d5323.js → language-utils-D2jecvOr.js} +10 -3
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-bf214ae5.js → slot-utils-nDLvv_4O.js} +6 -2
- package/lib/esm/{teleport-546f382d.js → teleport-CooAqTCj.js} +22 -7
- package/lib/esm/themeable-component-C0nhBgYw.js +72 -0
- package/lib/{dist-custom-elements/p-0562173d.js → esm/token-utils-Dks4GBDa.js} +80 -10
- package/lib/esm/{tokens-84fb2357.js → tokens-DOuLHrH5.js} +151 -7
- package/lib/esm/{tokens.module-2d02f5ff.js → tokens.module-BDAqOMlM.js} +100 -4
- package/lib/{dist-custom-elements/p-7d8a2628.js → esm/watch-options-BmMFVM-y.js} +1 -20
- package/lib/index.js +1 -1
- package/lib/loader/cdn.js +1 -2
- package/lib/loader/index.cjs.js +1 -2
- package/lib/loader/index.es2017.js +0 -1
- package/lib/loader/index.js +1 -2
- package/lib/types/common-strings.d.ts +3 -0
- package/lib/types/common-types.d.ts +1 -1
- package/lib/types/components/duet-alert/duet-alert.d.ts +20 -10
- package/lib/types/components/duet-badge/duet-badge.d.ts +1 -0
- package/lib/types/components/duet-banner/duet-banner.d.ts +6 -0
- package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +2 -4
- package/lib/types/components/duet-card/duet-card.d.ts +10 -0
- package/lib/types/components/duet-chip/duet-chip.d.ts +1 -0
- package/lib/types/components/duet-choice/duet-choice.d.ts +4 -8
- package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +3 -2
- package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +4 -1
- package/lib/types/components/duet-combobox/duet-combobox.d.ts +2 -0
- package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +4 -0
- package/lib/types/components/duet-fieldset/duet-fieldset.d.ts +3 -0
- package/lib/types/components/duet-grid/duet-grid.d.ts +10 -7
- package/lib/types/components/duet-hero/duet-hero.d.ts +9 -0
- package/lib/types/components/duet-indicator/duet-indicator.d.ts +24 -0
- package/lib/types/components/duet-input/duet-input.d.ts +21 -13
- package/lib/types/components/duet-link/duet-link.d.ts +3 -0
- package/lib/types/components/duet-list-item/duet-list-item.d.ts +9 -3
- package/lib/types/components/duet-logo/duet-logo.d.ts +8 -0
- package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +5 -4
- package/lib/types/components/duet-modal/duet-modal.d.ts +17 -1
- package/lib/types/components/duet-notification/duet-notification.d.ts +1 -0
- package/lib/types/components/duet-number-input/duet-number-input.d.ts +13 -8
- package/lib/types/components/duet-overlay/duet-overlay.d.ts +4 -0
- package/lib/types/components/duet-panel/duet-panel.d.ts +47 -0
- package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +1 -0
- package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +23 -1
- package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +10 -6
- package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +1 -0
- package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +4 -0
- package/lib/types/components/duet-radio-group/duet-radio-group.d.ts +1 -0
- package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +18 -0
- package/lib/types/components/duet-select/duet-select.d.ts +2 -1
- package/lib/types/components/duet-share-chart/duet-share-chart.d.ts +34 -0
- package/lib/types/components/duet-share-chart-item/duet-share-chart-item.d.ts +13 -0
- package/lib/types/components/duet-show-more/duet-show-more.d.ts +1 -0
- package/lib/types/components/duet-slideout/duet-slideout.d.ts +4 -5
- package/lib/types/components/duet-spinner/duet-spinner.d.ts +6 -3
- package/lib/types/components/duet-status-icon/duet-status-icon.d.ts +1 -0
- package/lib/types/components/duet-stepper/duet-stepper.d.ts +5 -2
- package/lib/types/components/duet-tab/duet-tab.d.ts +10 -0
- package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +9 -0
- package/lib/types/components/duet-textarea/duet-textarea.d.ts +21 -9
- package/lib/types/components/duet-toggle/duet-toggle.d.ts +4 -0
- package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +1 -1
- package/lib/types/components.d.ts +2136 -73
- package/lib/types/index.d.ts +1 -0
- package/lib/types/stencil-public-runtime.d.ts +35 -6
- package/lib/types/utils/a11y-utils.d.ts +11 -0
- package/lib/types/utils/language-utils.d.ts +1 -0
- package/lib/types/utils/slot-utils.d.ts +1 -0
- package/lib/types/utils/teleport.d.ts +4 -1
- package/lib/types/utils/token-utils.d.ts +4 -0
- package/lib/types/utils/turva2-color-tokens.d.ts +39 -0
- package/package.json +37 -17
- package/lib/cjs/a11y-utils-be617c0c.js +0 -25
- package/lib/cjs/action-arrow-down-small-ef77a2d1.js +0 -8
- package/lib/cjs/action-new-window-small-fa51dfb9.js +0 -8
- package/lib/cjs/floating-ui.dom.esm-806e7c53.js +0 -1355
- package/lib/cjs/form-search-d61b2843.js +0 -8
- package/lib/cjs/themeable-component-996b489c.js +0 -15
- package/lib/dist-custom-elements/duet-action-button.d.ts +0 -11
- package/lib/dist-custom-elements/duet-action-button.js +0 -9
- package/lib/dist-custom-elements/duet-alert.d.ts +0 -11
- package/lib/dist-custom-elements/duet-alert.js +0 -9
- package/lib/dist-custom-elements/duet-badge.d.ts +0 -11
- package/lib/dist-custom-elements/duet-badge.js +0 -9
- package/lib/dist-custom-elements/duet-banner.d.ts +0 -11
- package/lib/dist-custom-elements/duet-banner.js +0 -157
- package/lib/dist-custom-elements/duet-breadcrumb.d.ts +0 -11
- package/lib/dist-custom-elements/duet-breadcrumb.js +0 -101
- package/lib/dist-custom-elements/duet-breadcrumbs.d.ts +0 -11
- package/lib/dist-custom-elements/duet-breadcrumbs.js +0 -88
- package/lib/dist-custom-elements/duet-button.d.ts +0 -11
- package/lib/dist-custom-elements/duet-button.js +0 -9
- package/lib/dist-custom-elements/duet-callout.d.ts +0 -11
- package/lib/dist-custom-elements/duet-callout.js +0 -72
- package/lib/dist-custom-elements/duet-caption.d.ts +0 -11
- package/lib/dist-custom-elements/duet-caption.js +0 -9
- package/lib/dist-custom-elements/duet-card.d.ts +0 -11
- package/lib/dist-custom-elements/duet-card.js +0 -174
- package/lib/dist-custom-elements/duet-checkbox.d.ts +0 -11
- package/lib/dist-custom-elements/duet-checkbox.js +0 -9
- package/lib/dist-custom-elements/duet-checkmark.d.ts +0 -11
- package/lib/dist-custom-elements/duet-checkmark.js +0 -9
- package/lib/dist-custom-elements/duet-chip.d.ts +0 -11
- package/lib/dist-custom-elements/duet-chip.js +0 -9
- package/lib/dist-custom-elements/duet-choice-group.d.ts +0 -11
- package/lib/dist-custom-elements/duet-choice-group.js +0 -228
- package/lib/dist-custom-elements/duet-choice.d.ts +0 -11
- package/lib/dist-custom-elements/duet-choice.js +0 -454
- package/lib/dist-custom-elements/duet-collapsible.d.ts +0 -11
- package/lib/dist-custom-elements/duet-collapsible.js +0 -176
- package/lib/dist-custom-elements/duet-combobox.d.ts +0 -11
- package/lib/dist-custom-elements/duet-combobox.js +0 -702
- package/lib/dist-custom-elements/duet-contact-card.d.ts +0 -11
- package/lib/dist-custom-elements/duet-contact-card.js +0 -134
- package/lib/dist-custom-elements/duet-cookie-consent.d.ts +0 -11
- package/lib/dist-custom-elements/duet-cookie-consent.js +0 -106
- package/lib/dist-custom-elements/duet-date-picker.d.ts +0 -11
- package/lib/dist-custom-elements/duet-date-picker.js +0 -937
- package/lib/dist-custom-elements/duet-divider.d.ts +0 -11
- package/lib/dist-custom-elements/duet-divider.js +0 -9
- package/lib/dist-custom-elements/duet-editable-table.d.ts +0 -11
- package/lib/dist-custom-elements/duet-editable-table.js +0 -258
- package/lib/dist-custom-elements/duet-empty-state.d.ts +0 -11
- package/lib/dist-custom-elements/duet-empty-state.js +0 -9
- package/lib/dist-custom-elements/duet-fieldset.d.ts +0 -11
- package/lib/dist-custom-elements/duet-fieldset.js +0 -9
- package/lib/dist-custom-elements/duet-file-chooser.d.ts +0 -11
- package/lib/dist-custom-elements/duet-file-chooser.js +0 -86
- package/lib/dist-custom-elements/duet-footer.d.ts +0 -11
- package/lib/dist-custom-elements/duet-footer.js +0 -223
- package/lib/dist-custom-elements/duet-grid-item.d.ts +0 -11
- package/lib/dist-custom-elements/duet-grid-item.js +0 -9
- package/lib/dist-custom-elements/duet-grid.d.ts +0 -11
- package/lib/dist-custom-elements/duet-grid.js +0 -9
- package/lib/dist-custom-elements/duet-header.d.ts +0 -11
- package/lib/dist-custom-elements/duet-header.js +0 -698
- package/lib/dist-custom-elements/duet-heading.d.ts +0 -11
- package/lib/dist-custom-elements/duet-heading.js +0 -9
- package/lib/dist-custom-elements/duet-hero.d.ts +0 -11
- package/lib/dist-custom-elements/duet-hero.js +0 -299
- package/lib/dist-custom-elements/duet-icon.d.ts +0 -11
- package/lib/dist-custom-elements/duet-icon.js +0 -9
- package/lib/dist-custom-elements/duet-input.d.ts +0 -11
- package/lib/dist-custom-elements/duet-input.js +0 -9
- package/lib/dist-custom-elements/duet-label.d.ts +0 -11
- package/lib/dist-custom-elements/duet-label.js +0 -70
- package/lib/dist-custom-elements/duet-layout.d.ts +0 -11
- package/lib/dist-custom-elements/duet-layout.js +0 -94
- package/lib/dist-custom-elements/duet-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-link.js +0 -9
- package/lib/dist-custom-elements/duet-list-item.d.ts +0 -11
- package/lib/dist-custom-elements/duet-list-item.js +0 -9
- package/lib/dist-custom-elements/duet-list.d.ts +0 -11
- package/lib/dist-custom-elements/duet-list.js +0 -9
- package/lib/dist-custom-elements/duet-logo.d.ts +0 -11
- package/lib/dist-custom-elements/duet-logo.js +0 -9
- package/lib/dist-custom-elements/duet-menu-bar-button.d.ts +0 -11
- package/lib/dist-custom-elements/duet-menu-bar-button.js +0 -94
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +0 -87
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.d.ts +0 -11
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +0 -108
- package/lib/dist-custom-elements/duet-menu-bar-item.d.ts +0 -11
- package/lib/dist-custom-elements/duet-menu-bar-item.js +0 -108
- package/lib/dist-custom-elements/duet-menu-bar-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-menu-bar-link.js +0 -70
- package/lib/dist-custom-elements/duet-menu-bar.d.ts +0 -11
- package/lib/dist-custom-elements/duet-menu-bar.js +0 -207
- package/lib/dist-custom-elements/duet-modal.d.ts +0 -11
- package/lib/dist-custom-elements/duet-modal.js +0 -382
- package/lib/dist-custom-elements/duet-multiselect.d.ts +0 -11
- package/lib/dist-custom-elements/duet-multiselect.js +0 -346
- package/lib/dist-custom-elements/duet-nav.d.ts +0 -11
- package/lib/dist-custom-elements/duet-nav.js +0 -54
- package/lib/dist-custom-elements/duet-notification-drawer.d.ts +0 -11
- package/lib/dist-custom-elements/duet-notification-drawer.js +0 -168
- package/lib/dist-custom-elements/duet-notification.d.ts +0 -11
- package/lib/dist-custom-elements/duet-notification.js +0 -95
- package/lib/dist-custom-elements/duet-number-input.d.ts +0 -11
- package/lib/dist-custom-elements/duet-number-input.js +0 -484
- package/lib/dist-custom-elements/duet-overlay.d.ts +0 -11
- package/lib/dist-custom-elements/duet-overlay.js +0 -9
- package/lib/dist-custom-elements/duet-page-heading.d.ts +0 -11
- package/lib/dist-custom-elements/duet-page-heading.js +0 -87
- package/lib/dist-custom-elements/duet-pagination.d.ts +0 -11
- package/lib/dist-custom-elements/duet-pagination.js +0 -493
- package/lib/dist-custom-elements/duet-paragraph.d.ts +0 -11
- package/lib/dist-custom-elements/duet-paragraph.js +0 -9
- package/lib/dist-custom-elements/duet-phone-input.d.ts +0 -11
- package/lib/dist-custom-elements/duet-phone-input.js +0 -2122
- package/lib/dist-custom-elements/duet-popup-menu-item.d.ts +0 -11
- package/lib/dist-custom-elements/duet-popup-menu-item.js +0 -9
- package/lib/dist-custom-elements/duet-popup-menu.d.ts +0 -11
- package/lib/dist-custom-elements/duet-popup-menu.js +0 -9
- package/lib/dist-custom-elements/duet-progress.d.ts +0 -11
- package/lib/dist-custom-elements/duet-progress.js +0 -9
- package/lib/dist-custom-elements/duet-promo-card.d.ts +0 -11
- package/lib/dist-custom-elements/duet-promo-card.js +0 -105
- package/lib/dist-custom-elements/duet-radio-group.d.ts +0 -11
- package/lib/dist-custom-elements/duet-radio-group.js +0 -213
- package/lib/dist-custom-elements/duet-radio.d.ts +0 -11
- package/lib/dist-custom-elements/duet-radio.js +0 -230
- package/lib/dist-custom-elements/duet-range-slider.d.ts +0 -11
- package/lib/dist-custom-elements/duet-range-slider.js +0 -181
- package/lib/dist-custom-elements/duet-range-stepper.d.ts +0 -11
- package/lib/dist-custom-elements/duet-range-stepper.js +0 -234
- package/lib/dist-custom-elements/duet-scrollable.d.ts +0 -11
- package/lib/dist-custom-elements/duet-scrollable.js +0 -9
- package/lib/dist-custom-elements/duet-section-layout.d.ts +0 -11
- package/lib/dist-custom-elements/duet-section-layout.js +0 -56
- package/lib/dist-custom-elements/duet-select.d.ts +0 -11
- package/lib/dist-custom-elements/duet-select.js +0 -9
- package/lib/dist-custom-elements/duet-shaped-image.d.ts +0 -11
- package/lib/dist-custom-elements/duet-shaped-image.js +0 -64
- package/lib/dist-custom-elements/duet-show-more.d.ts +0 -11
- package/lib/dist-custom-elements/duet-show-more.js +0 -9
- package/lib/dist-custom-elements/duet-slideout-lang.d.ts +0 -11
- package/lib/dist-custom-elements/duet-slideout-lang.js +0 -76
- package/lib/dist-custom-elements/duet-slideout-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-slideout-link.js +0 -98
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.d.ts +0 -11
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +0 -93
- package/lib/dist-custom-elements/duet-slideout-panel.d.ts +0 -11
- package/lib/dist-custom-elements/duet-slideout-panel.js +0 -224
- package/lib/dist-custom-elements/duet-slideout.d.ts +0 -11
- package/lib/dist-custom-elements/duet-slideout.js +0 -328
- package/lib/dist-custom-elements/duet-spacer.d.ts +0 -11
- package/lib/dist-custom-elements/duet-spacer.js +0 -9
- package/lib/dist-custom-elements/duet-spinner.d.ts +0 -11
- package/lib/dist-custom-elements/duet-spinner.js +0 -9
- package/lib/dist-custom-elements/duet-status-icon.d.ts +0 -11
- package/lib/dist-custom-elements/duet-status-icon.js +0 -111
- package/lib/dist-custom-elements/duet-step.d.ts +0 -11
- package/lib/dist-custom-elements/duet-step.js +0 -147
- package/lib/dist-custom-elements/duet-stepper.d.ts +0 -11
- package/lib/dist-custom-elements/duet-stepper.js +0 -151
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +0 -81
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.d.ts +0 -11
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +0 -152
- package/lib/dist-custom-elements/duet-submenu-bar-item.d.ts +0 -11
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +0 -113
- package/lib/dist-custom-elements/duet-submenu-bar-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +0 -72
- package/lib/dist-custom-elements/duet-submenu-bar.d.ts +0 -11
- package/lib/dist-custom-elements/duet-submenu-bar.js +0 -192
- package/lib/dist-custom-elements/duet-tab-group.d.ts +0 -11
- package/lib/dist-custom-elements/duet-tab-group.js +0 -312
- package/lib/dist-custom-elements/duet-tab.d.ts +0 -11
- package/lib/dist-custom-elements/duet-tab.js +0 -150
- package/lib/dist-custom-elements/duet-table.d.ts +0 -11
- package/lib/dist-custom-elements/duet-table.js +0 -9
- package/lib/dist-custom-elements/duet-textarea.d.ts +0 -11
- package/lib/dist-custom-elements/duet-textarea.js +0 -301
- package/lib/dist-custom-elements/duet-toggle.d.ts +0 -11
- package/lib/dist-custom-elements/duet-toggle.js +0 -146
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +0 -80
- package/lib/dist-custom-elements/duet-toolbar-dropdown.d.ts +0 -11
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +0 -107
- package/lib/dist-custom-elements/duet-toolbar-item.d.ts +0 -11
- package/lib/dist-custom-elements/duet-toolbar-item.js +0 -120
- package/lib/dist-custom-elements/duet-toolbar-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-toolbar-link.js +0 -74
- package/lib/dist-custom-elements/duet-toolbar.d.ts +0 -11
- package/lib/dist-custom-elements/duet-toolbar.js +0 -67
- package/lib/dist-custom-elements/duet-tooltip-button.d.ts +0 -11
- package/lib/dist-custom-elements/duet-tooltip-button.js +0 -9
- package/lib/dist-custom-elements/duet-tooltip-popup.d.ts +0 -11
- package/lib/dist-custom-elements/duet-tooltip-popup.js +0 -9
- package/lib/dist-custom-elements/duet-tooltip.d.ts +0 -11
- package/lib/dist-custom-elements/duet-tooltip.js +0 -9
- package/lib/dist-custom-elements/duet-tray.d.ts +0 -11
- package/lib/dist-custom-elements/duet-tray.js +0 -146
- package/lib/dist-custom-elements/duet-upload-aria-status.d.ts +0 -11
- package/lib/dist-custom-elements/duet-upload-aria-status.js +0 -9
- package/lib/dist-custom-elements/duet-upload-item.d.ts +0 -11
- package/lib/dist-custom-elements/duet-upload-item.js +0 -9
- package/lib/dist-custom-elements/duet-upload.d.ts +0 -11
- package/lib/dist-custom-elements/duet-upload.js +0 -1444
- package/lib/dist-custom-elements/duet-visually-hidden.d.ts +0 -11
- package/lib/dist-custom-elements/duet-visually-hidden.js +0 -9
- package/lib/dist-custom-elements/index.d.ts +0 -33
- package/lib/dist-custom-elements/index.js +0 -29
- package/lib/dist-custom-elements/p-081025d8.js +0 -82
- package/lib/dist-custom-elements/p-0871ccd4.js +0 -56
- package/lib/dist-custom-elements/p-115c79b6.js +0 -6
- package/lib/dist-custom-elements/p-18248c41.js +0 -81
- package/lib/dist-custom-elements/p-196352e6.js +0 -39
- package/lib/dist-custom-elements/p-2768f969.js +0 -268
- package/lib/dist-custom-elements/p-30810e37.js +0 -60
- package/lib/dist-custom-elements/p-35375593.js +0 -161
- package/lib/dist-custom-elements/p-3c70317f.js +0 -63
- package/lib/dist-custom-elements/p-4150399b.js +0 -205
- package/lib/dist-custom-elements/p-548610a6.js +0 -2130
- package/lib/dist-custom-elements/p-592cf939.js +0 -102
- package/lib/dist-custom-elements/p-59782228.js +0 -61
- package/lib/dist-custom-elements/p-5d871374.js +0 -316
- package/lib/dist-custom-elements/p-5e91471a.js +0 -63
- package/lib/dist-custom-elements/p-60316b82.js +0 -642
- package/lib/dist-custom-elements/p-63963e6b.js +0 -124
- package/lib/dist-custom-elements/p-6620a58c.js +0 -607
- package/lib/dist-custom-elements/p-77667998.js +0 -232
- package/lib/dist-custom-elements/p-77d42564.js +0 -124
- package/lib/dist-custom-elements/p-8258c05e.js +0 -100
- package/lib/dist-custom-elements/p-8a840972.js +0 -194
- package/lib/dist-custom-elements/p-8d263ac9.js +0 -94
- package/lib/dist-custom-elements/p-91cdfcdd.js +0 -73
- package/lib/dist-custom-elements/p-940f9ee8.js +0 -1630
- package/lib/dist-custom-elements/p-993aea39.js +0 -175
- package/lib/dist-custom-elements/p-9df4cfa4.js +0 -25
- package/lib/dist-custom-elements/p-9e31e365.js +0 -214
- package/lib/dist-custom-elements/p-9ee4d52e.js +0 -321
- package/lib/dist-custom-elements/p-a9b78a2b.js +0 -441
- package/lib/dist-custom-elements/p-aaa7a7bd.js +0 -13
- package/lib/dist-custom-elements/p-aaa95dbc.js +0 -370
- package/lib/dist-custom-elements/p-ad615991.js +0 -115
- package/lib/dist-custom-elements/p-afb6f7fb.js +0 -23
- package/lib/dist-custom-elements/p-b322feac.js +0 -206
- package/lib/dist-custom-elements/p-b632bf7b.js +0 -178
- package/lib/dist-custom-elements/p-ca3cb21e.js +0 -116
- package/lib/dist-custom-elements/p-ccee2b7f.js +0 -127
- package/lib/dist-custom-elements/p-cea716f7.js +0 -503
- package/lib/dist-custom-elements/p-d004da5f.js +0 -6
- package/lib/dist-custom-elements/p-df2458b1.js +0 -80
- package/lib/dist-custom-elements/p-e58296e6.js +0 -110
- package/lib/dist-custom-elements/p-ed1ef4c3.js +0 -55
- package/lib/dist-custom-elements/p-ed6a907e.js +0 -61
- package/lib/dist-custom-elements/p-ed6f3abc.js +0 -165
- package/lib/dist-custom-elements/p-ee0c73c3.js +0 -50
- package/lib/dist-custom-elements/p-f11208c3.js +0 -6
- package/lib/dist-custom-elements/p-f4067b03.js +0 -154
- package/lib/dist-custom-elements/p-f6000a03.js +0 -753
- package/lib/dist-custom-elements/p-f6270dca.js +0 -83
- package/lib/duet/duet.js +0 -127
- package/lib/duet/p-00556ef0.entry.js +0 -4
- package/lib/duet/p-00e58acf.system.entry.js +0 -4
- package/lib/duet/p-02d914b6.system.js +0 -4
- package/lib/duet/p-03dfd146.system.entry.js +0 -4
- package/lib/duet/p-043d8cac.entry.js +0 -4
- package/lib/duet/p-053b71e6.system.js +0 -4
- package/lib/duet/p-078dc32d.system.js +0 -4
- package/lib/duet/p-083bbc28.js +0 -4
- package/lib/duet/p-097593e0.system.entry.js +0 -4
- package/lib/duet/p-0c4bbd65.system.js +0 -4
- package/lib/duet/p-0d7da85a.js +0 -4
- package/lib/duet/p-0dc9089b.system.js +0 -4
- package/lib/duet/p-115c79b6.js +0 -4
- package/lib/duet/p-12739ce5.entry.js +0 -4
- package/lib/duet/p-154681bc.system.entry.js +0 -4
- package/lib/duet/p-16bc0f6a.system.entry.js +0 -4
- package/lib/duet/p-20a9379e.entry.js +0 -4
- package/lib/duet/p-21124f63.system.entry.js +0 -4
- package/lib/duet/p-222fb4e2.entry.js +0 -4
- package/lib/duet/p-2306d206.entry.js +0 -4
- package/lib/duet/p-232405fe.system.entry.js +0 -4
- package/lib/duet/p-280babbe.entry.js +0 -4
- package/lib/duet/p-29cfae19.system.entry.js +0 -4
- package/lib/duet/p-2acb5228.system.entry.js +0 -4
- package/lib/duet/p-2bb44297.system.js +0 -4
- package/lib/duet/p-2d3cfed7.entry.js +0 -4
- package/lib/duet/p-2ea79237.entry.js +0 -4
- package/lib/duet/p-2f4a1c87.system.entry.js +0 -4
- package/lib/duet/p-30424dea.entry.js +0 -4
- package/lib/duet/p-32f2bb6f.system.entry.js +0 -4
- package/lib/duet/p-36d473db.entry.js +0 -4
- package/lib/duet/p-36e38e72.entry.js +0 -4
- package/lib/duet/p-380e506a.system.entry.js +0 -4
- package/lib/duet/p-3931d796.system.entry.js +0 -4
- package/lib/duet/p-396397f0.entry.js +0 -4
- package/lib/duet/p-39c8d5f4.entry.js +0 -4
- package/lib/duet/p-3c43bf45.system.entry.js +0 -4
- package/lib/duet/p-3c548017.entry.js +0 -4
- package/lib/duet/p-3edeecdd.system.entry.js +0 -4
- package/lib/duet/p-41982d26.system.js +0 -4
- package/lib/duet/p-422bf802.system.entry.js +0 -4
- package/lib/duet/p-42789990.system.entry.js +0 -4
- package/lib/duet/p-44ac35f1.entry.js +0 -4
- package/lib/duet/p-49957220.system.js +0 -4
- package/lib/duet/p-49cbde53.entry.js +0 -4
- package/lib/duet/p-49d89759.system.entry.js +0 -4
- package/lib/duet/p-4af1174c.entry.js +0 -4
- package/lib/duet/p-4bbc1e3f.system.entry.js +0 -4
- package/lib/duet/p-4cff3036.system.js +0 -4
- package/lib/duet/p-4d228791.entry.js +0 -4
- package/lib/duet/p-4e095335.entry.js +0 -4
- package/lib/duet/p-4f872b2e.system.entry.js +0 -4
- package/lib/duet/p-4f945200.system.js +0 -4
- package/lib/duet/p-4ffcbae2.entry.js +0 -4
- package/lib/duet/p-534baf68.system.entry.js +0 -4
- package/lib/duet/p-55b6ebd2.system.entry.js +0 -4
- package/lib/duet/p-565c967d.system.entry.js +0 -4
- package/lib/duet/p-56d5d3bd.system.entry.js +0 -4
- package/lib/duet/p-570fd695.system.entry.js +0 -4
- package/lib/duet/p-5a148896.entry.js +0 -4
- package/lib/duet/p-5a47d2bb.entry.js +0 -4
- package/lib/duet/p-5acfa4bf.entry.js +0 -4
- package/lib/duet/p-5b5a4a8f.entry.js +0 -4
- package/lib/duet/p-5cbadb53.system.entry.js +0 -4
- package/lib/duet/p-5cc339cf.entry.js +0 -4
- package/lib/duet/p-5d1a4238.entry.js +0 -4
- package/lib/duet/p-5e01a303.system.entry.js +0 -4
- package/lib/duet/p-5f668b4a.system.entry.js +0 -4
- package/lib/duet/p-5ffa7838.entry.js +0 -4
- package/lib/duet/p-61173f11.system.js +0 -5
- package/lib/duet/p-622e1ffc.js +0 -4
- package/lib/duet/p-64f2d5cf.system.entry.js +0 -4
- package/lib/duet/p-650c6251.system.entry.js +0 -4
- package/lib/duet/p-69e55527.system.entry.js +0 -4
- package/lib/duet/p-6ac3b242.entry.js +0 -4
- package/lib/duet/p-6ac7d70c.entry.js +0 -4
- package/lib/duet/p-6c8f09c8.system.entry.js +0 -4
- package/lib/duet/p-6eec1445.system.entry.js +0 -4
- package/lib/duet/p-6fc78573.entry.js +0 -4
- package/lib/duet/p-705dbeac.system.entry.js +0 -4
- package/lib/duet/p-71a37f03.entry.js +0 -4
- package/lib/duet/p-752fa0fc.system.js +0 -4
- package/lib/duet/p-760919c7.system.entry.js +0 -4
- package/lib/duet/p-7be5b9a7.js +0 -4
- package/lib/duet/p-7c119b9b.system.entry.js +0 -4
- package/lib/duet/p-7cd899ca.system.entry.js +0 -4
- package/lib/duet/p-7d8a2628.js +0 -4
- package/lib/duet/p-7ea9d8e4.system.entry.js +0 -4
- package/lib/duet/p-7fc6af46.system.entry.js +0 -4
- package/lib/duet/p-7fe5e652.entry.js +0 -4
- package/lib/duet/p-86038989.entry.js +0 -4
- package/lib/duet/p-872b746e.entry.js +0 -4
- package/lib/duet/p-875d3971.entry.js +0 -4
- package/lib/duet/p-88daf9bb.system.entry.js +0 -4
- package/lib/duet/p-89ac2008.system.entry.js +0 -4
- package/lib/duet/p-89cf1a91.system.js +0 -4
- package/lib/duet/p-8d43c8cf.entry.js +0 -4
- package/lib/duet/p-8f450e25.entry.js +0 -4
- package/lib/duet/p-8f477bd6.system.js +0 -4
- package/lib/duet/p-8faaaf5f.system.js +0 -4
- package/lib/duet/p-907b42ae.system.entry.js +0 -4
- package/lib/duet/p-9183c04b.system.entry.js +0 -4
- package/lib/duet/p-91b68d54.entry.js +0 -4
- package/lib/duet/p-92d47024.system.entry.js +0 -4
- package/lib/duet/p-939f268d.entry.js +0 -4
- package/lib/duet/p-93c115a9.system.entry.js +0 -4
- package/lib/duet/p-943bf2b1.system.entry.js +0 -4
- package/lib/duet/p-9592f6ba.entry.js +0 -4
- package/lib/duet/p-96d76a4b.entry.js +0 -4
- package/lib/duet/p-98636086.system.js +0 -4
- package/lib/duet/p-9a57fac7.entry.js +0 -4
- package/lib/duet/p-9b16ba14.system.entry.js +0 -4
- package/lib/duet/p-9b61d7b9.system.entry.js +0 -4
- package/lib/duet/p-9d429df0.system.entry.js +0 -4
- package/lib/duet/p-9e5b11f7.entry.js +0 -4
- package/lib/duet/p-9ee0f850.entry.js +0 -4
- package/lib/duet/p-a083b91a.js +0 -5
- package/lib/duet/p-a11e1a80.system.entry.js +0 -4
- package/lib/duet/p-a1e5f0d4.entry.js +0 -4
- package/lib/duet/p-a4b80c74.entry.js +0 -4
- package/lib/duet/p-a7b0d8ce.entry.js +0 -4
- package/lib/duet/p-aaa7a7bd.js +0 -4
- package/lib/duet/p-abc0c9c6.system.js +0 -4
- package/lib/duet/p-ad07b21e.system.entry.js +0 -4
- package/lib/duet/p-ad0d289a.system.entry.js +0 -4
- package/lib/duet/p-ad2b37b0.entry.js +0 -4
- package/lib/duet/p-adc2d7ce.system.entry.js +0 -4
- package/lib/duet/p-aef92a68.entry.js +0 -4
- package/lib/duet/p-afad5fd3.system.js +0 -4
- package/lib/duet/p-b15523c2.entry.js +0 -4
- package/lib/duet/p-b17984d6.system.entry.js +0 -4
- package/lib/duet/p-b2df3729.entry.js +0 -4
- package/lib/duet/p-b327a269.entry.js +0 -4
- package/lib/duet/p-b33512d6.js +0 -4
- package/lib/duet/p-b48b58e1.entry.js +0 -4
- package/lib/duet/p-b864159a.system.js +0 -4
- package/lib/duet/p-b8775dc1.system.entry.js +0 -4
- package/lib/duet/p-ba03d034.system.js +0 -4
- package/lib/duet/p-bbb92080.entry.js +0 -4
- package/lib/duet/p-bd5b0381.entry.js +0 -4
- package/lib/duet/p-bdb001df.entry.js +0 -4
- package/lib/duet/p-be097905.entry.js +0 -4
- package/lib/duet/p-beeb12f1.js +0 -4
- package/lib/duet/p-c118fad4.js +0 -4
- package/lib/duet/p-c1483141.entry.js +0 -4
- package/lib/duet/p-c2e74c89.system.entry.js +0 -4
- package/lib/duet/p-c40ee5d3.entry.js +0 -4
- package/lib/duet/p-c480533b.entry.js +0 -4
- package/lib/duet/p-c487869c.entry.js +0 -4
- package/lib/duet/p-c507caa0.entry.js +0 -4
- package/lib/duet/p-c58f3932.entry.js +0 -4
- package/lib/duet/p-c5d88a34.system.entry.js +0 -4
- package/lib/duet/p-c6bf2cc4.system.entry.js +0 -4
- package/lib/duet/p-c6f29010.system.entry.js +0 -4
- package/lib/duet/p-ca29569e.system.js +0 -4
- package/lib/duet/p-ca3cb21e.js +0 -4
- package/lib/duet/p-ca901ab9.entry.js +0 -4
- package/lib/duet/p-cc5e6288.system.js +0 -4
- package/lib/duet/p-cc67e773.js +0 -4
- package/lib/duet/p-cdba12cc.system.js +0 -4
- package/lib/duet/p-ce282523.entry.js +0 -4
- package/lib/duet/p-cebffd48.system.entry.js +0 -4
- package/lib/duet/p-cf2d66a9.system.entry.js +0 -4
- package/lib/duet/p-cf511280.system.entry.js +0 -4
- package/lib/duet/p-d004da5f.js +0 -4
- package/lib/duet/p-d2875f04.system.entry.js +0 -4
- package/lib/duet/p-d40b4a20.entry.js +0 -4
- package/lib/duet/p-d4554cf2.entry.js +0 -4
- package/lib/duet/p-d4ddd4d1.entry.js +0 -4
- package/lib/duet/p-d5317013.system.entry.js +0 -4
- package/lib/duet/p-d68e93e4.system.entry.js +0 -4
- package/lib/duet/p-d6a321fd.system.entry.js +0 -4
- package/lib/duet/p-d835a292.entry.js +0 -4
- package/lib/duet/p-d840dcdc.system.entry.js +0 -4
- package/lib/duet/p-dac4bc08.system.entry.js +0 -4
- package/lib/duet/p-db2ccb9d.system.js +0 -4
- package/lib/duet/p-e0b83f6c.system.entry.js +0 -4
- package/lib/duet/p-e12066c8.system.js +0 -4
- package/lib/duet/p-e216bea4.system.js +0 -4
- package/lib/duet/p-e29d9d5b.system.entry.js +0 -4
- package/lib/duet/p-e3857119.js +0 -4
- package/lib/duet/p-e45d4dc4.system.entry.js +0 -4
- package/lib/duet/p-e4c8559c.system.js +0 -4
- package/lib/duet/p-e50214f5.system.entry.js +0 -4
- package/lib/duet/p-e6b5a1c7.system.js +0 -4
- package/lib/duet/p-e7c3186e.system.entry.js +0 -4
- package/lib/duet/p-e89a92a9.entry.js +0 -4
- package/lib/duet/p-eb02c981.system.entry.js +0 -4
- package/lib/duet/p-ed086770.system.entry.js +0 -4
- package/lib/duet/p-eebfe28d.system.entry.js +0 -4
- package/lib/duet/p-ef520403.entry.js +0 -4
- package/lib/duet/p-f0260e4c.entry.js +0 -4
- package/lib/duet/p-f07eace6.system.entry.js +0 -4
- package/lib/duet/p-f1083d8c.system.entry.js +0 -4
- package/lib/duet/p-f10d7817.entry.js +0 -4
- package/lib/duet/p-f11208c3.js +0 -4
- package/lib/duet/p-f18245aa.system.entry.js +0 -4
- package/lib/duet/p-f4063bd4.entry.js +0 -4
- package/lib/duet/p-f56098f1.system.entry.js +0 -4
- package/lib/duet/p-f6000a03.js +0 -4
- package/lib/duet/p-f67921d2.system.entry.js +0 -4
- package/lib/duet/p-f6b21d17.system.js +0 -4
- package/lib/duet/p-f7fe4161.system.entry.js +0 -4
- package/lib/duet/p-f97dd407.entry.js +0 -4
- package/lib/duet/p-fcfae4d6.entry.js +0 -4
- package/lib/esm/a11y-utils-c3a7fd7e.js +0 -23
- package/lib/esm/action-arrow-down-small-82273dc8.js +0 -6
- package/lib/esm/action-new-window-small-1945be91.js +0 -6
- package/lib/esm/body-scroll-46854769.js +0 -234
- package/lib/esm/bodyScrollLock.es6-ecbf187e.js +0 -184
- package/lib/esm/common-strings-af765cad.js +0 -25
- package/lib/esm/create-id-149a1b6d.js +0 -11
- package/lib/esm/floating-ui.dom.esm-ebc91b33.js +0 -1348
- package/lib/esm/focus-utils-7bc146cd.js +0 -18
- package/lib/esm/form-search-ea8e19ae.js +0 -6
- package/lib/esm/input-utils-85681162.js +0 -53
- package/lib/esm/is-internet-explorer-2c48f686.js +0 -9
- package/lib/esm/js-utils-9b9e0039.js +0 -47
- package/lib/esm/keyboard-utils-daf80d44.js +0 -58
- package/lib/esm/label-de5c8cbd.js +0 -20
- package/lib/esm/polyfills/core-js.js +0 -11
- package/lib/esm/polyfills/dom.js +0 -79
- package/lib/esm/polyfills/es5-html-element.js +0 -1
- package/lib/esm/polyfills/index.js +0 -34
- package/lib/esm/polyfills/system.js +0 -6
- package/lib/esm/string-utils-192eb3c8.js +0 -61
- package/lib/esm/themeable-component-860041c5.js +0 -13
- package/lib/esm/token-utils-b9ba8c5e.js +0 -138
- package/lib/esm/watch-options-e96ecd92.js +0 -57
- package/lib/esm-es5/a11y-utils-c3a7fd7e.js +0 -4
- package/lib/esm-es5/action-arrow-down-small-82273dc8.js +0 -4
- package/lib/esm-es5/action-new-window-small-1945be91.js +0 -4
- package/lib/esm-es5/app-globals-e00fbe9c.js +0 -4
- package/lib/esm-es5/body-scroll-46854769.js +0 -4
- package/lib/esm-es5/bodyScrollLock.es6-ecbf187e.js +0 -4
- package/lib/esm-es5/common-strings-af765cad.js +0 -4
- package/lib/esm-es5/create-id-149a1b6d.js +0 -4
- package/lib/esm-es5/duet-action-button.entry.js +0 -4
- package/lib/esm-es5/duet-alert.entry.js +0 -4
- package/lib/esm-es5/duet-badge.entry.js +0 -4
- package/lib/esm-es5/duet-banner.entry.js +0 -4
- package/lib/esm-es5/duet-breadcrumb.entry.js +0 -4
- package/lib/esm-es5/duet-breadcrumbs.entry.js +0 -4
- package/lib/esm-es5/duet-button_2.entry.js +0 -4
- package/lib/esm-es5/duet-callout.entry.js +0 -4
- package/lib/esm-es5/duet-caption_4.entry.js +0 -4
- package/lib/esm-es5/duet-card.entry.js +0 -4
- package/lib/esm-es5/duet-checkbox.entry.js +0 -4
- package/lib/esm-es5/duet-checkmark.entry.js +0 -4
- package/lib/esm-es5/duet-chip.entry.js +0 -4
- package/lib/esm-es5/duet-choice_2.entry.js +0 -4
- package/lib/esm-es5/duet-collapsible.entry.js +0 -4
- package/lib/esm-es5/duet-combobox.entry.js +0 -4
- package/lib/esm-es5/duet-contact-card.entry.js +0 -4
- package/lib/esm-es5/duet-cookie-consent.entry.js +0 -4
- package/lib/esm-es5/duet-date-picker.entry.js +0 -4
- package/lib/esm-es5/duet-divider_2.entry.js +0 -4
- package/lib/esm-es5/duet-editable-table_3.entry.js +0 -4
- package/lib/esm-es5/duet-empty-state.entry.js +0 -4
- package/lib/esm-es5/duet-fieldset.entry.js +0 -4
- package/lib/esm-es5/duet-file-chooser.entry.js +0 -4
- package/lib/esm-es5/duet-footer.entry.js +0 -4
- package/lib/esm-es5/duet-grid_2.entry.js +0 -4
- package/lib/esm-es5/duet-header_2.entry.js +0 -4
- package/lib/esm-es5/duet-hero.entry.js +0 -4
- package/lib/esm-es5/duet-icon.entry.js +0 -4
- package/lib/esm-es5/duet-input_2.entry.js +0 -4
- package/lib/esm-es5/duet-layout.entry.js +0 -4
- package/lib/esm-es5/duet-list_2.entry.js +0 -4
- package/lib/esm-es5/duet-menu-bar-button.entry.js +0 -4
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +0 -4
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +0 -4
- package/lib/esm-es5/duet-menu-bar-item.entry.js +0 -4
- package/lib/esm-es5/duet-menu-bar-link.entry.js +0 -4
- package/lib/esm-es5/duet-menu-bar.entry.js +0 -4
- package/lib/esm-es5/duet-modal.entry.js +0 -4
- package/lib/esm-es5/duet-multiselect.entry.js +0 -4
- package/lib/esm-es5/duet-nav.entry.js +0 -4
- package/lib/esm-es5/duet-notification_2.entry.js +0 -4
- package/lib/esm-es5/duet-number-input.entry.js +0 -4
- package/lib/esm-es5/duet-overlay.entry.js +0 -4
- package/lib/esm-es5/duet-page-heading.entry.js +0 -4
- package/lib/esm-es5/duet-pagination_2.entry.js +0 -4
- package/lib/esm-es5/duet-phone-input.entry.js +0 -4
- package/lib/esm-es5/duet-popup-menu_2.entry.js +0 -4
- package/lib/esm-es5/duet-progress.entry.js +0 -4
- package/lib/esm-es5/duet-promo-card.entry.js +0 -4
- package/lib/esm-es5/duet-radio_2.entry.js +0 -4
- package/lib/esm-es5/duet-range-slider.entry.js +0 -4
- package/lib/esm-es5/duet-scrollable_3.entry.js +0 -4
- package/lib/esm-es5/duet-section-layout.entry.js +0 -4
- package/lib/esm-es5/duet-select.entry.js +0 -4
- package/lib/esm-es5/duet-shaped-image.entry.js +0 -4
- package/lib/esm-es5/duet-show-more.entry.js +0 -4
- package/lib/esm-es5/duet-slideout-lang.entry.js +0 -4
- package/lib/esm-es5/duet-slideout-link.entry.js +0 -4
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +0 -4
- package/lib/esm-es5/duet-slideout-panel.entry.js +0 -4
- package/lib/esm-es5/duet-slideout.entry.js +0 -4
- package/lib/esm-es5/duet-status-icon.entry.js +0 -4
- package/lib/esm-es5/duet-step_2.entry.js +0 -4
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +0 -4
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +0 -4
- package/lib/esm-es5/duet-submenu-bar-item.entry.js +0 -4
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +0 -4
- package/lib/esm-es5/duet-submenu-bar.entry.js +0 -4
- package/lib/esm-es5/duet-textarea.entry.js +0 -4
- package/lib/esm-es5/duet-toggle.entry.js +0 -4
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +0 -4
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +0 -4
- package/lib/esm-es5/duet-toolbar-item.entry.js +0 -4
- package/lib/esm-es5/duet-toolbar-link.entry.js +0 -4
- package/lib/esm-es5/duet-toolbar.entry.js +0 -4
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +0 -4
- package/lib/esm-es5/duet-tooltip.entry.js +0 -4
- package/lib/esm-es5/duet-tray.entry.js +0 -4
- package/lib/esm-es5/duet-upload-aria-status.entry.js +0 -4
- package/lib/esm-es5/duet-upload-item.entry.js +0 -4
- package/lib/esm-es5/duet-visually-hidden.entry.js +0 -4
- package/lib/esm-es5/duet.js +0 -4
- package/lib/esm-es5/errorcodes.utils-416994cc.js +0 -4
- package/lib/esm-es5/floating-ui.dom.esm-ebc91b33.js +0 -4
- package/lib/esm-es5/focus-utils-7bc146cd.js +0 -4
- package/lib/esm-es5/form-search-ea8e19ae.js +0 -4
- package/lib/esm-es5/index-1a6cee61.js +0 -4
- package/lib/esm-es5/index.js +0 -3
- package/lib/esm-es5/input-utils-85681162.js +0 -4
- package/lib/esm-es5/is-internet-explorer-2c48f686.js +0 -4
- package/lib/esm-es5/js-utils-9b9e0039.js +0 -4
- package/lib/esm-es5/keyboard-utils-daf80d44.js +0 -4
- package/lib/esm-es5/label-de5c8cbd.js +0 -4
- package/lib/esm-es5/language-utils-8a9d5323.js +0 -4
- package/lib/esm-es5/loader.js +0 -4
- package/lib/esm-es5/slot-utils-bf214ae5.js +0 -4
- package/lib/esm-es5/string-utils-192eb3c8.js +0 -4
- package/lib/esm-es5/teleport-546f382d.js +0 -4
- package/lib/esm-es5/themeable-component-860041c5.js +0 -4
- package/lib/esm-es5/token-utils-b9ba8c5e.js +0 -4
- package/lib/esm-es5/tokens-84fb2357.js +0 -4
- package/lib/esm-es5/tokens.module-2d02f5ff.js +0 -4
- package/lib/esm-es5/watch-options-e96ecd92.js +0 -4
- package/lib/loader/package.json +0 -11
- /package/lib/cjs/{body-scroll-dba42314.js → body-scroll-FWPe3_T_.js} +0 -0
- /package/lib/cjs/{bodyScrollLock.es6-dd2d7d91.js → bodyScrollLock.es6-B2sCDud5.js} +0 -0
- /package/lib/cjs/{create-id-1f8c438f.js → create-id-DtslnIOq.js} +0 -0
- /package/lib/cjs/{input-utils-1096a2c5.js → input-utils-DUKdslOM.js} +0 -0
- /package/lib/cjs/{is-internet-explorer-e7f58ebc.js → is-internet-explorer-BTLb_loH.js} +0 -0
- /package/lib/cjs/{js-utils-92e24ba1.js → js-utils-hJ4A2edy.js} +0 -0
- /package/lib/cjs/{keyboard-utils-f7c9f980.js → keyboard-utils-D9UlHbik.js} +0 -0
- /package/lib/cjs/{string-utils-7b13c16e.js → string-utils-B35hEUBv.js} +0 -0
- /package/lib/duet/{p-8354d1f1.js → p-B1B-PPrh.js} +0 -0
- /package/lib/duet/{p-9e371678.js → p-BlUsLmbQ.js} +0 -0
- /package/lib/duet/{p-fc09c464.js → p-C6CAT054.js} +0 -0
- /package/lib/duet/{p-9c3c64b9.js → p-C6E9F6QT.js} +0 -0
- /package/lib/duet/{p-df7874f9.js → p-CLDy7YaM.js} +0 -0
- /package/lib/duet/{p-5e59e970.js → p-Cfr_DJqU.js} +0 -0
- /package/lib/duet/{p-43b89e38.js → p-DxESMgwA.js} +0 -0
- /package/lib/{dist-custom-elements/p-fc09c464.js → esm/body-scroll-C6CAT054.js} +0 -0
- /package/lib/{dist-custom-elements/p-8354d1f1.js → esm/bodyScrollLock.es6-B1B-PPrh.js} +0 -0
- /package/lib/{dist-custom-elements/p-5e59e970.js → esm/create-id-Cfr_DJqU.js} +0 -0
- /package/lib/{dist-custom-elements/p-df7874f9.js → esm/input-utils-CLDy7YaM.js} +0 -0
- /package/lib/{dist-custom-elements/p-43b89e38.js → esm/is-internet-explorer-DxESMgwA.js} +0 -0
- /package/lib/{dist-custom-elements/p-9e371678.js → esm/js-utils-BlUsLmbQ.js} +0 -0
- /package/lib/{dist-custom-elements/p-9c3c64b9.js → esm/string-utils-C6E9F6QT.js} +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
4
|
import infoIcon from "@duetds/icons/lib/assets/messaging-info";
|
|
5
|
-
import { h, Host } from "@stencil/core";
|
|
5
|
+
import { Build, h, Host } from "@stencil/core";
|
|
6
6
|
import { inheritGlobalTheme } from "../../common";
|
|
7
7
|
import { DuetStringsExternalDefaults } from "../../common-strings";
|
|
8
8
|
import { createID } from "../../utils/create-id";
|
|
@@ -19,11 +19,141 @@ import { getElementsFromNamedSlot, hasSlot } from "../../utils/slot-utils";
|
|
|
19
19
|
*/
|
|
20
20
|
export class DuetChoice {
|
|
21
21
|
constructor() {
|
|
22
|
+
this.focus = false;
|
|
22
23
|
this.hasHeader = false;
|
|
23
24
|
this.choiceId = createID("DuetChoice");
|
|
24
25
|
this.expandId = createID("DuetChoiceExpand");
|
|
25
26
|
this.headerId = createID("DuetChoiceHeader");
|
|
26
27
|
this.infoButtonId = createID("DuetChoiceInfoButton");
|
|
28
|
+
/**
|
|
29
|
+
* State() variables
|
|
30
|
+
* Inlined decorator, alphabetical order.
|
|
31
|
+
*/
|
|
32
|
+
this.isHovering = false;
|
|
33
|
+
this.isInfoOpen = false;
|
|
34
|
+
/**
|
|
35
|
+
* Theme of the choice.
|
|
36
|
+
*/
|
|
37
|
+
this.theme = "";
|
|
38
|
+
/**
|
|
39
|
+
* Label for the choice button.
|
|
40
|
+
*/
|
|
41
|
+
this.label = "label";
|
|
42
|
+
/**
|
|
43
|
+
* Property to change accessibleLabelInfoButton defaults on the component.
|
|
44
|
+
* normally you would handle these strings on an application level and override accessibleLabelInfoButton when needed
|
|
45
|
+
*/
|
|
46
|
+
this.accessibleLabelInfoButtonDefaults = DuetStringsExternalDefaults;
|
|
47
|
+
/**
|
|
48
|
+
* Accessible label that is read for screen reader users in the info toggle trigger button.
|
|
49
|
+
* Not visible for normal users.
|
|
50
|
+
* @default {fi: "Avautuu uuteen ikkunaan",sv: "Öppnas i nytt fönster",en: "Opens in a new window"}
|
|
51
|
+
*/
|
|
52
|
+
this.accessibleLabelInfoButton = getLocaleString(this.accessibleLabelInfoButtonDefaults);
|
|
53
|
+
/**
|
|
54
|
+
* Aria Details of the component
|
|
55
|
+
*/
|
|
56
|
+
this.accessibleDetails = undefined;
|
|
57
|
+
/**
|
|
58
|
+
* String of id's that indicate alternative labels elements
|
|
59
|
+
*/
|
|
60
|
+
this.accessibleLabelledBy = undefined;
|
|
61
|
+
/**
|
|
62
|
+
* Aria description the button
|
|
63
|
+
*/
|
|
64
|
+
this.accessibleDescription = undefined;
|
|
65
|
+
/**
|
|
66
|
+
* Additional caption to show inside the label of the choice button.
|
|
67
|
+
*/
|
|
68
|
+
this.caption = "";
|
|
69
|
+
/**
|
|
70
|
+
* Type of the choice button. You can set the type of the choice to be either
|
|
71
|
+
* “radio” or “checkbox”. Depending on this selection we convey the selection
|
|
72
|
+
* type to assistive technologies as well. When type “radio” is chosen it is
|
|
73
|
+
* required to place the choices inside Choice Group component.
|
|
74
|
+
*/
|
|
75
|
+
this.type = "checkbox";
|
|
76
|
+
/**
|
|
77
|
+
* Checked state of the choice button.
|
|
78
|
+
*/
|
|
79
|
+
this.checked = false;
|
|
80
|
+
/**
|
|
81
|
+
* Makes the choice button open a new section underneath it when clicked or
|
|
82
|
+
* tapped. This new section can be used to show more options related to this
|
|
83
|
+
* choice. Please note that this feature can’t be used together with the "info"
|
|
84
|
+
* functionality and that it only accepts plain dom nodes (no shadow dom elements
|
|
85
|
+
* such as duet-paragraph can be used as this will break accessibility)
|
|
86
|
+
*/
|
|
87
|
+
this.collapsible = false;
|
|
88
|
+
/**
|
|
89
|
+
* This attribute works only when the 'collapsible' attribute is set to true.
|
|
90
|
+
* It maintains the visibility of the additional content section, regardless of whether the input is checked or not.
|
|
91
|
+
*/
|
|
92
|
+
this.collapsibleForceExpanded = false;
|
|
93
|
+
/**
|
|
94
|
+
* Controls the margin of the component.
|
|
95
|
+
*/
|
|
96
|
+
this.margin = "auto";
|
|
97
|
+
/**
|
|
98
|
+
* Icon to display to the left of the choice button label.
|
|
99
|
+
*/
|
|
100
|
+
this.icon = "";
|
|
101
|
+
/**
|
|
102
|
+
* Expands the choice button to fill 100% of the container width.
|
|
103
|
+
*/
|
|
104
|
+
this.expand = false;
|
|
105
|
+
/**
|
|
106
|
+
* Controls the padding of the component.
|
|
107
|
+
*/
|
|
108
|
+
this.padding = "auto";
|
|
109
|
+
/**
|
|
110
|
+
* Makes the choice component disabled. This prevents users from being able to
|
|
111
|
+
* interact with the choice, and conveys its inactive state to assistive technologies.
|
|
112
|
+
*/
|
|
113
|
+
this.disabled = false;
|
|
114
|
+
/**
|
|
115
|
+
* Set whether the input is required or not. Please note that this is necessary for
|
|
116
|
+
* accessible inputs when the user is required to fill them. When using this property
|
|
117
|
+
* you need to also set “novalidate” attribute to your form element to prevent
|
|
118
|
+
* browser from displaying its own validation errors.
|
|
119
|
+
*/
|
|
120
|
+
this.required = false;
|
|
121
|
+
/**
|
|
122
|
+
* Accessible info label defaults
|
|
123
|
+
*/
|
|
124
|
+
this.infoLabelDefaults = {
|
|
125
|
+
fi: "Lisätietoja vaihtoehdosta",
|
|
126
|
+
en: "More information about",
|
|
127
|
+
sv: "Mera information om",
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* Accessible info label
|
|
131
|
+
* @default {
|
|
132
|
+
* fi: "Lisätietoja vaihtoehdosta",
|
|
133
|
+
* en: "More information about",
|
|
134
|
+
* sv: "Mera information om",
|
|
135
|
+
* }
|
|
136
|
+
*/
|
|
137
|
+
this.infoLabel = getLocaleString(this.infoLabelDefaults, getLanguage());
|
|
138
|
+
/**
|
|
139
|
+
* Accessible collapsible notification defaults
|
|
140
|
+
*/
|
|
141
|
+
this.collapsibleNotificationDefaults = {
|
|
142
|
+
fi: "Tämä valinta sisältää lisätietoja, jotka avautuivat alle",
|
|
143
|
+
en: "This choice has additional information opened below",
|
|
144
|
+
sv: "Det här val har mer information som öppnades nedan",
|
|
145
|
+
};
|
|
146
|
+
/**
|
|
147
|
+
* Accessible collapsible notification. If a collapsible choice has no header, and contains other
|
|
148
|
+
* elements than duet-paragraph, duet-heading or duet-fieldset, this is used as the accessible
|
|
149
|
+
* notification of opening the collapsible content (added to aria-describedby).
|
|
150
|
+
* @default {
|
|
151
|
+
* fi: "Tämä valinta sisältää lisätietoja, jotka avautuivat alle",
|
|
152
|
+
* en: "This choice has additional information opened below",
|
|
153
|
+
* sv: "Det här val har mer information som öppnades nedan",
|
|
154
|
+
* }
|
|
155
|
+
*/
|
|
156
|
+
this.collapsibleNotification = getLocaleString(this.collapsibleNotificationDefaults, getLanguage());
|
|
27
157
|
this.radioInputListenersRemove = radioInput => {
|
|
28
158
|
radioInput.removeEventListener("change", this.onChange);
|
|
29
159
|
radioInput.removeEventListener("keydown", this.handleKeyDown);
|
|
@@ -36,45 +166,48 @@ export class DuetChoice {
|
|
|
36
166
|
radioInput.addEventListener("focus", this.onFocus);
|
|
37
167
|
radioInput.addEventListener("blur", this.onBlur);
|
|
38
168
|
};
|
|
39
|
-
this.
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
169
|
+
this.inputSetUp = () => {
|
|
170
|
+
if (Build.isServer) {
|
|
171
|
+
return;
|
|
172
|
+
}
|
|
173
|
+
const slotInput = this.element.querySelectorAll(":scope > input");
|
|
174
|
+
const input = slotInput[slotInput.length - 1] || document.createElement("input");
|
|
175
|
+
input.slot = "choiceinput";
|
|
176
|
+
input.disabled = this.getDisabled();
|
|
177
|
+
input.id = this.identifier || this.choiceId;
|
|
178
|
+
input.type = this.type;
|
|
179
|
+
input.name = this.name;
|
|
180
|
+
input.value = this.value;
|
|
181
|
+
input.checked = this.checked;
|
|
182
|
+
input.required = this.required;
|
|
183
|
+
input.ariaDescription = this.accessibleDescription;
|
|
51
184
|
if (this.accessibleControls) {
|
|
52
|
-
|
|
185
|
+
input.setAttribute("aria-controls", this.accessibleControls);
|
|
53
186
|
}
|
|
54
187
|
if (this.accessibleActiveDescendant) {
|
|
55
|
-
|
|
188
|
+
input.setAttribute("aria-activedescendant", this.accessibleActiveDescendant);
|
|
56
189
|
}
|
|
57
190
|
if (this.accessibleLabelledBy) {
|
|
58
|
-
|
|
191
|
+
input.setAttribute("aria-labelledby", this.accessibleLabelledBy);
|
|
59
192
|
}
|
|
60
193
|
if (this.accessibleDetails) {
|
|
61
|
-
|
|
194
|
+
input.setAttribute("aria-details", this.accessibleDetails);
|
|
62
195
|
}
|
|
63
196
|
if (this.accessibleOwns) {
|
|
64
|
-
|
|
197
|
+
input.setAttribute("aria-owns", this.accessibleOwns);
|
|
65
198
|
}
|
|
66
199
|
if (this.getAriaDescribedby()) {
|
|
67
|
-
|
|
200
|
+
input.setAttribute("aria-describedby", this.getAriaDescribedby());
|
|
68
201
|
}
|
|
69
|
-
|
|
70
|
-
if (slotInput) {
|
|
71
|
-
this.radioInputListenersRemove(
|
|
202
|
+
input.ariaLabel = this.getLabel();
|
|
203
|
+
if (slotInput.length > 0) {
|
|
204
|
+
this.radioInputListenersRemove(input);
|
|
72
205
|
}
|
|
73
206
|
else {
|
|
74
|
-
this.element.appendChild(
|
|
207
|
+
this.element.appendChild(input);
|
|
75
208
|
}
|
|
76
|
-
this.radioInputListenersAdd(
|
|
77
|
-
this.focusableElement =
|
|
209
|
+
this.radioInputListenersAdd(input);
|
|
210
|
+
this.focusableElement = input;
|
|
78
211
|
};
|
|
79
212
|
/**
|
|
80
213
|
* Component event handling.
|
|
@@ -155,49 +288,6 @@ export class DuetChoice {
|
|
|
155
288
|
}, 150);
|
|
156
289
|
}
|
|
157
290
|
};
|
|
158
|
-
this.focus = false;
|
|
159
|
-
this.isHovering = false;
|
|
160
|
-
this.isInfoOpen = false;
|
|
161
|
-
this.theme = "";
|
|
162
|
-
this.label = "label";
|
|
163
|
-
this.accessibleLabelInfoButtonDefaults = DuetStringsExternalDefaults;
|
|
164
|
-
this.accessibleLabelInfoButton = getLocaleString(this.accessibleLabelInfoButtonDefaults);
|
|
165
|
-
this.accessibleActiveDescendant = undefined;
|
|
166
|
-
this.accessibleControls = undefined;
|
|
167
|
-
this.accessibleOwns = undefined;
|
|
168
|
-
this.accessibleDescribedBy = undefined;
|
|
169
|
-
this.accessibleDetails = undefined;
|
|
170
|
-
this.accessibleLabelledBy = undefined;
|
|
171
|
-
this.accessibleDescription = undefined;
|
|
172
|
-
this.caption = "";
|
|
173
|
-
this.value = undefined;
|
|
174
|
-
this.type = "checkbox";
|
|
175
|
-
this.name = undefined;
|
|
176
|
-
this.checked = false;
|
|
177
|
-
this.collapsible = false;
|
|
178
|
-
this.collapsibleForceExpanded = false;
|
|
179
|
-
this.margin = "auto";
|
|
180
|
-
this.icon = "";
|
|
181
|
-
this.expand = false;
|
|
182
|
-
this.padding = "auto";
|
|
183
|
-
this.identifier = undefined;
|
|
184
|
-
this.groupDirection = undefined;
|
|
185
|
-
this.groupDisabled = undefined;
|
|
186
|
-
this.groupResponsive = undefined;
|
|
187
|
-
this.disabled = false;
|
|
188
|
-
this.required = false;
|
|
189
|
-
this.infoLabelDefaults = {
|
|
190
|
-
fi: "Lisätietoja vaihtoehdosta",
|
|
191
|
-
en: "More information about",
|
|
192
|
-
sv: "Mera information om",
|
|
193
|
-
};
|
|
194
|
-
this.infoLabel = getLocaleString(this.infoLabelDefaults, getLanguage());
|
|
195
|
-
this.collapsibleNotificationDefaults = {
|
|
196
|
-
fi: "Tämä valinta sisältää lisätietoja, jotka avautuivat alle",
|
|
197
|
-
en: "This choice has additional information opened below",
|
|
198
|
-
sv: "Det här val har mer information som öppnades nedan",
|
|
199
|
-
};
|
|
200
|
-
this.collapsibleNotification = getLocaleString(this.collapsibleNotificationDefaults, getLanguage());
|
|
201
291
|
}
|
|
202
292
|
/**
|
|
203
293
|
* Component lifecycle events.
|
|
@@ -221,14 +311,11 @@ export class DuetChoice {
|
|
|
221
311
|
this.duetChoiceReady.emit();
|
|
222
312
|
}
|
|
223
313
|
componentDidRender() {
|
|
224
|
-
|
|
225
|
-
this.radioInputSetUp();
|
|
226
|
-
}
|
|
314
|
+
this.inputSetUp();
|
|
227
315
|
}
|
|
228
316
|
disconnectedCallback() {
|
|
229
317
|
disconnectLanguageChangeObserver(this);
|
|
230
318
|
unsubscribeTabbingChange(this);
|
|
231
|
-
this.duetChoiceRemove.emit();
|
|
232
319
|
}
|
|
233
320
|
/**
|
|
234
321
|
* Sets focus on the specified `duet-choice`. Use this method instead of the global
|
|
@@ -268,7 +355,7 @@ export class DuetChoice {
|
|
|
268
355
|
if (this.accessibleDescribedBy) {
|
|
269
356
|
return this.accessibleDescribedBy;
|
|
270
357
|
}
|
|
271
|
-
if (this.collapsible || this.hasInfo) {
|
|
358
|
+
if ((this.collapsible || this.hasInfo) && this.getExpanded()) {
|
|
272
359
|
if (this.hasHeader) {
|
|
273
360
|
return this.headerId;
|
|
274
361
|
}
|
|
@@ -335,19 +422,19 @@ export class DuetChoice {
|
|
|
335
422
|
* Always the last one in the class.
|
|
336
423
|
*/
|
|
337
424
|
render() {
|
|
338
|
-
|
|
339
|
-
return (h(Host, { key: '95c3bf3494b8d33d7f30cd09b46a5542371c9252', class: {
|
|
425
|
+
return (h(Host, { key: '74c4b0c1afd04d78513d2f428df66aea0c755a30', class: {
|
|
340
426
|
horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
|
|
341
|
-
|
|
427
|
+
[`horizontal-responsive-${this.groupResponsive}`]: this.groupDirection === "horizontal" && !!this.groupResponsive,
|
|
428
|
+
"vertical-stretch": this.groupDirection === "horizontal",
|
|
342
429
|
"duet-m-0": this.margin === "none",
|
|
343
430
|
"duet-expand": this.expand,
|
|
344
431
|
"duet-theme-turva": this.theme === "turva",
|
|
345
432
|
"no-hover": this.isHovering,
|
|
346
433
|
disabled: this.getDisabled(),
|
|
347
|
-
} }, h("div", { key: '
|
|
434
|
+
} }, h("div", { key: '40f23ef0315551c972d13462c800fbc08170bb60', class: {
|
|
348
435
|
"duet-choice-card-flextainer": true,
|
|
349
436
|
"duet-theme-turva": this.theme === "turva",
|
|
350
|
-
} }, h("div", { key: '
|
|
437
|
+
} }, h("div", { key: '0cc5f080734a81eb10bc8810c3416f8cc16a0d25', class: {
|
|
351
438
|
"duet-choice-card": true,
|
|
352
439
|
"has-icon": !!this.icon,
|
|
353
440
|
"has-info": this.hasInfo,
|
|
@@ -356,19 +443,19 @@ export class DuetChoice {
|
|
|
356
443
|
collapsible: this.collapsible,
|
|
357
444
|
"collapsible-force-expanded": this.collapsibleForceExpanded,
|
|
358
445
|
"duet-p-0": this.padding === "none",
|
|
359
|
-
} },
|
|
446
|
+
} }, h("slot", { key: '65d5bb2cd8c8c0b4f5ed9811b38b48b7335c0df4', name: "choiceinput" }), h("label", { key: '98b47986d36a16dc5349cd465c5273dc463aab1b', class: {
|
|
360
447
|
"duet-choice-label": true,
|
|
361
448
|
"has-before-text": this.hasBeforeText,
|
|
362
449
|
checked: this.checked,
|
|
363
450
|
focus: this.focus,
|
|
364
451
|
disabled: this.getDisabled(),
|
|
365
|
-
}, onClick: this.onClick }, this.hasBeforeText && h("slot", { key: '
|
|
452
|
+
}, onClick: this.onClick }, this.hasBeforeText && h("slot", { key: 'b29fd679de70ab070b1b821dc4a2c8e091914073', name: "before-text" }), this.icon && (h("div", { key: '1881e659c9c7c4fbdb0935e54850f4f70c28975f', class: "duet-choice-card-icon" }, h("duet-icon", { key: '91d0be349f26a8c0f0bfae30ce809d6c98fdf833', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), h("div", { key: 'e38af0b72bbd56517fc3cd08db6bd0e35d1941a0', class: "duet-choice-card-text" }, h("div", { key: 'afe1e13db8d21c88042eb740b03920c60ca3f0b8' }, this.hasLabel ? h("slot", { name: "label" }) : this.label), this.caption && (h("div", { key: 'db42771f819ba0b951458505be33fa27d96c626e' }, h("duet-spacer", { key: 'ece32f47f5c075f949156ae62ea4d53f2bc9a75a', size: "xx-small" }), h("duet-caption", { key: 'eb570008d5b29058acbe690a92e93cfaa66810e7', margin: "none", selected: this.checked }, this.caption))), this.hasAdditional && (h("div", { key: 'ddd0d7cf3e349528ae6ec6c013df72449aae340a' }, h("duet-spacer", { key: 'b8b542af5b875cb32591d12125726441bfc71927', size: "xx-small" }), h("slot", { key: '40409b224b5b2acdd0689cadc4332b8bff4750d9', name: "additional" })))), h("div", { key: 'ad56ee344580c7cb2a9abca5651375dd9d725e24' }, h("div", { key: '2c5bdf19e1001fd6bb57bfe3b2cdc44c217c64f7', class: { "duet-checkmark-container": true, "duet-checkmark-radio": this.type === "radio" } }, this.checked && h("div", { key: 'cfea1353992716f4d965ce0db1869d9914db7bc6', class: "duet-checkmark" }))))), this.hasInfo && !this.collapsible && (h("button", { key: 'c3073fdf9da1c74366e9fd43a07321587db86374', ref: button => (this.infoButtonEl = button), id: this.infoButtonId, class: {
|
|
366
453
|
"duet-choice-info-toggle": true,
|
|
367
454
|
"duet-theme-turva": this.theme === "turva",
|
|
368
|
-
}, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button", onKeyUp: e => this.handleEscape(e) }, h("div", { key: '
|
|
455
|
+
}, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button", onKeyUp: e => this.handleEscape(e) }, h("div", { key: '6fa70b3e97c81f44e8d4bdce9d1511680a19d674', class: "duet-choice-info-icon" }, h("duet-icon", { key: '2129ca97e0d1e45ca69cd17ad0dd5de7fd4dfafb', icon: infoIcon.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible && (h("span", { key: '4990fa0e4b60b0e87076113b5e302b06d55d566f', id: `${this.choiceId}-collapsible-notification`, hidden: true }, this.collapsibleNotification)), this.collapsible || this.hasInfo ? (h("div", { class: this.getClassNames(), id: this.expandId }, h("span", { class: {
|
|
369
456
|
"duet-choice-section-visible": this.collapsible ? this.getExpanded() : this.isInfoOpen,
|
|
370
457
|
"duet-choice-section-hidden": this.collapsible ? !this.getExpanded() : !this.isInfoOpen,
|
|
371
|
-
} }, h("span", { id: this.headerId }, h("slot", { name: "header" })), this.hasInfo ? (h("span", { ref: span => (this.infoContainer = span), tabindex: "
|
|
458
|
+
} }, h("span", { id: this.headerId }, h("slot", { name: "header" })), this.hasInfo ? (h("span", { ref: span => (this.infoContainer = span), tabindex: "-1", class: "duet-choice-info-container", onKeyUp: e => this.handleEscape(e) }, h("span", null, h("slot", { name: "info" })), h("slot", null))) : (h("span", { id: `${this.choiceId}-collapsible-content` }, h("slot", null)))))) : null));
|
|
372
459
|
}
|
|
373
460
|
static get is() { return "duet-choice"; }
|
|
374
461
|
static get encapsulation() { return "shadow"; }
|
|
@@ -386,6 +473,7 @@ export class DuetChoice {
|
|
|
386
473
|
return {
|
|
387
474
|
"theme": {
|
|
388
475
|
"type": "string",
|
|
476
|
+
"attribute": "theme",
|
|
389
477
|
"mutable": true,
|
|
390
478
|
"complexType": {
|
|
391
479
|
"original": "DuetTheme",
|
|
@@ -406,12 +494,12 @@ export class DuetChoice {
|
|
|
406
494
|
},
|
|
407
495
|
"getter": false,
|
|
408
496
|
"setter": false,
|
|
409
|
-
"attribute": "theme",
|
|
410
497
|
"reflect": false,
|
|
411
498
|
"defaultValue": "\"\""
|
|
412
499
|
},
|
|
413
500
|
"label": {
|
|
414
501
|
"type": "string",
|
|
502
|
+
"attribute": "label",
|
|
415
503
|
"mutable": false,
|
|
416
504
|
"complexType": {
|
|
417
505
|
"original": "string",
|
|
@@ -426,12 +514,12 @@ export class DuetChoice {
|
|
|
426
514
|
},
|
|
427
515
|
"getter": false,
|
|
428
516
|
"setter": false,
|
|
429
|
-
"attribute": "label",
|
|
430
517
|
"reflect": false,
|
|
431
518
|
"defaultValue": "\"label\""
|
|
432
519
|
},
|
|
433
520
|
"accessibleLabelInfoButtonDefaults": {
|
|
434
521
|
"type": "string",
|
|
522
|
+
"attribute": "accessible-label-info-default",
|
|
435
523
|
"mutable": false,
|
|
436
524
|
"complexType": {
|
|
437
525
|
"original": "DuetLangObject | string",
|
|
@@ -452,12 +540,12 @@ export class DuetChoice {
|
|
|
452
540
|
},
|
|
453
541
|
"getter": false,
|
|
454
542
|
"setter": false,
|
|
455
|
-
"attribute": "accessible-label-info-default",
|
|
456
543
|
"reflect": false,
|
|
457
544
|
"defaultValue": "DuetStringsExternalDefaults"
|
|
458
545
|
},
|
|
459
546
|
"accessibleLabelInfoButton": {
|
|
460
547
|
"type": "string",
|
|
548
|
+
"attribute": "accessible-label-info-button",
|
|
461
549
|
"mutable": true,
|
|
462
550
|
"complexType": {
|
|
463
551
|
"original": "string",
|
|
@@ -475,12 +563,12 @@ export class DuetChoice {
|
|
|
475
563
|
},
|
|
476
564
|
"getter": false,
|
|
477
565
|
"setter": false,
|
|
478
|
-
"attribute": "accessible-label-info-button",
|
|
479
566
|
"reflect": false,
|
|
480
567
|
"defaultValue": "getLocaleString(this.accessibleLabelInfoButtonDefaults)"
|
|
481
568
|
},
|
|
482
569
|
"accessibleActiveDescendant": {
|
|
483
570
|
"type": "string",
|
|
571
|
+
"attribute": "accessible-active-descendant",
|
|
484
572
|
"mutable": false,
|
|
485
573
|
"complexType": {
|
|
486
574
|
"original": "string",
|
|
@@ -495,11 +583,11 @@ export class DuetChoice {
|
|
|
495
583
|
},
|
|
496
584
|
"getter": false,
|
|
497
585
|
"setter": false,
|
|
498
|
-
"attribute": "accessible-active-descendant",
|
|
499
586
|
"reflect": false
|
|
500
587
|
},
|
|
501
588
|
"accessibleControls": {
|
|
502
589
|
"type": "string",
|
|
590
|
+
"attribute": "accessible-controls",
|
|
503
591
|
"mutable": false,
|
|
504
592
|
"complexType": {
|
|
505
593
|
"original": "string",
|
|
@@ -514,11 +602,11 @@ export class DuetChoice {
|
|
|
514
602
|
},
|
|
515
603
|
"getter": false,
|
|
516
604
|
"setter": false,
|
|
517
|
-
"attribute": "accessible-controls",
|
|
518
605
|
"reflect": false
|
|
519
606
|
},
|
|
520
607
|
"accessibleOwns": {
|
|
521
608
|
"type": "string",
|
|
609
|
+
"attribute": "accessible-owns",
|
|
522
610
|
"mutable": false,
|
|
523
611
|
"complexType": {
|
|
524
612
|
"original": "string",
|
|
@@ -533,11 +621,11 @@ export class DuetChoice {
|
|
|
533
621
|
},
|
|
534
622
|
"getter": false,
|
|
535
623
|
"setter": false,
|
|
536
|
-
"attribute": "accessible-owns",
|
|
537
624
|
"reflect": false
|
|
538
625
|
},
|
|
539
626
|
"accessibleDescribedBy": {
|
|
540
627
|
"type": "string",
|
|
628
|
+
"attribute": "accessible-described-by",
|
|
541
629
|
"mutable": false,
|
|
542
630
|
"complexType": {
|
|
543
631
|
"original": "string",
|
|
@@ -552,11 +640,11 @@ export class DuetChoice {
|
|
|
552
640
|
},
|
|
553
641
|
"getter": false,
|
|
554
642
|
"setter": false,
|
|
555
|
-
"attribute": "accessible-described-by",
|
|
556
643
|
"reflect": false
|
|
557
644
|
},
|
|
558
645
|
"accessibleDetails": {
|
|
559
646
|
"type": "string",
|
|
647
|
+
"attribute": "accessible-details",
|
|
560
648
|
"mutable": false,
|
|
561
649
|
"complexType": {
|
|
562
650
|
"original": "string",
|
|
@@ -571,12 +659,12 @@ export class DuetChoice {
|
|
|
571
659
|
},
|
|
572
660
|
"getter": false,
|
|
573
661
|
"setter": false,
|
|
574
|
-
"attribute": "accessible-details",
|
|
575
662
|
"reflect": false,
|
|
576
663
|
"defaultValue": "undefined"
|
|
577
664
|
},
|
|
578
665
|
"accessibleLabelledBy": {
|
|
579
666
|
"type": "string",
|
|
667
|
+
"attribute": "accessible-labelled-by",
|
|
580
668
|
"mutable": false,
|
|
581
669
|
"complexType": {
|
|
582
670
|
"original": "string",
|
|
@@ -591,12 +679,12 @@ export class DuetChoice {
|
|
|
591
679
|
},
|
|
592
680
|
"getter": false,
|
|
593
681
|
"setter": false,
|
|
594
|
-
"attribute": "accessible-labelled-by",
|
|
595
682
|
"reflect": false,
|
|
596
683
|
"defaultValue": "undefined"
|
|
597
684
|
},
|
|
598
685
|
"accessibleDescription": {
|
|
599
686
|
"type": "string",
|
|
687
|
+
"attribute": "accessible-description",
|
|
600
688
|
"mutable": false,
|
|
601
689
|
"complexType": {
|
|
602
690
|
"original": "string",
|
|
@@ -611,12 +699,12 @@ export class DuetChoice {
|
|
|
611
699
|
},
|
|
612
700
|
"getter": false,
|
|
613
701
|
"setter": false,
|
|
614
|
-
"attribute": "accessible-description",
|
|
615
702
|
"reflect": false,
|
|
616
703
|
"defaultValue": "undefined"
|
|
617
704
|
},
|
|
618
705
|
"caption": {
|
|
619
706
|
"type": "string",
|
|
707
|
+
"attribute": "caption",
|
|
620
708
|
"mutable": false,
|
|
621
709
|
"complexType": {
|
|
622
710
|
"original": "string",
|
|
@@ -631,12 +719,12 @@ export class DuetChoice {
|
|
|
631
719
|
},
|
|
632
720
|
"getter": false,
|
|
633
721
|
"setter": false,
|
|
634
|
-
"attribute": "caption",
|
|
635
722
|
"reflect": false,
|
|
636
723
|
"defaultValue": "\"\""
|
|
637
724
|
},
|
|
638
725
|
"value": {
|
|
639
726
|
"type": "string",
|
|
727
|
+
"attribute": "value",
|
|
640
728
|
"mutable": true,
|
|
641
729
|
"complexType": {
|
|
642
730
|
"original": "string",
|
|
@@ -651,11 +739,11 @@ export class DuetChoice {
|
|
|
651
739
|
},
|
|
652
740
|
"getter": false,
|
|
653
741
|
"setter": false,
|
|
654
|
-
"attribute": "value",
|
|
655
742
|
"reflect": true
|
|
656
743
|
},
|
|
657
744
|
"type": {
|
|
658
745
|
"type": "string",
|
|
746
|
+
"attribute": "type",
|
|
659
747
|
"mutable": false,
|
|
660
748
|
"complexType": {
|
|
661
749
|
"original": "DuetChoiceType",
|
|
@@ -676,12 +764,12 @@ export class DuetChoice {
|
|
|
676
764
|
},
|
|
677
765
|
"getter": false,
|
|
678
766
|
"setter": false,
|
|
679
|
-
"attribute": "type",
|
|
680
767
|
"reflect": true,
|
|
681
768
|
"defaultValue": "\"checkbox\""
|
|
682
769
|
},
|
|
683
770
|
"name": {
|
|
684
771
|
"type": "string",
|
|
772
|
+
"attribute": "name",
|
|
685
773
|
"mutable": false,
|
|
686
774
|
"complexType": {
|
|
687
775
|
"original": "string",
|
|
@@ -696,11 +784,11 @@ export class DuetChoice {
|
|
|
696
784
|
},
|
|
697
785
|
"getter": false,
|
|
698
786
|
"setter": false,
|
|
699
|
-
"attribute": "name",
|
|
700
787
|
"reflect": false
|
|
701
788
|
},
|
|
702
789
|
"checked": {
|
|
703
790
|
"type": "boolean",
|
|
791
|
+
"attribute": "checked",
|
|
704
792
|
"mutable": true,
|
|
705
793
|
"complexType": {
|
|
706
794
|
"original": "boolean",
|
|
@@ -715,12 +803,12 @@ export class DuetChoice {
|
|
|
715
803
|
},
|
|
716
804
|
"getter": false,
|
|
717
805
|
"setter": false,
|
|
718
|
-
"attribute": "checked",
|
|
719
806
|
"reflect": true,
|
|
720
807
|
"defaultValue": "false"
|
|
721
808
|
},
|
|
722
809
|
"collapsible": {
|
|
723
810
|
"type": "boolean",
|
|
811
|
+
"attribute": "collapsible",
|
|
724
812
|
"mutable": false,
|
|
725
813
|
"complexType": {
|
|
726
814
|
"original": "boolean",
|
|
@@ -735,12 +823,12 @@ export class DuetChoice {
|
|
|
735
823
|
},
|
|
736
824
|
"getter": false,
|
|
737
825
|
"setter": false,
|
|
738
|
-
"attribute": "collapsible",
|
|
739
826
|
"reflect": false,
|
|
740
827
|
"defaultValue": "false"
|
|
741
828
|
},
|
|
742
829
|
"collapsibleForceExpanded": {
|
|
743
830
|
"type": "boolean",
|
|
831
|
+
"attribute": "collapsible-force-expanded",
|
|
744
832
|
"mutable": false,
|
|
745
833
|
"complexType": {
|
|
746
834
|
"original": "boolean",
|
|
@@ -755,12 +843,12 @@ export class DuetChoice {
|
|
|
755
843
|
},
|
|
756
844
|
"getter": false,
|
|
757
845
|
"setter": false,
|
|
758
|
-
"attribute": "collapsible-force-expanded",
|
|
759
846
|
"reflect": false,
|
|
760
847
|
"defaultValue": "false"
|
|
761
848
|
},
|
|
762
849
|
"margin": {
|
|
763
850
|
"type": "string",
|
|
851
|
+
"attribute": "margin",
|
|
764
852
|
"mutable": false,
|
|
765
853
|
"complexType": {
|
|
766
854
|
"original": "DuetMargin",
|
|
@@ -781,12 +869,12 @@ export class DuetChoice {
|
|
|
781
869
|
},
|
|
782
870
|
"getter": false,
|
|
783
871
|
"setter": false,
|
|
784
|
-
"attribute": "margin",
|
|
785
872
|
"reflect": false,
|
|
786
873
|
"defaultValue": "\"auto\""
|
|
787
874
|
},
|
|
788
875
|
"icon": {
|
|
789
876
|
"type": "string",
|
|
877
|
+
"attribute": "icon",
|
|
790
878
|
"mutable": false,
|
|
791
879
|
"complexType": {
|
|
792
880
|
"original": "string",
|
|
@@ -801,12 +889,12 @@ export class DuetChoice {
|
|
|
801
889
|
},
|
|
802
890
|
"getter": false,
|
|
803
891
|
"setter": false,
|
|
804
|
-
"attribute": "icon",
|
|
805
892
|
"reflect": false,
|
|
806
893
|
"defaultValue": "\"\""
|
|
807
894
|
},
|
|
808
895
|
"expand": {
|
|
809
896
|
"type": "boolean",
|
|
897
|
+
"attribute": "expand",
|
|
810
898
|
"mutable": false,
|
|
811
899
|
"complexType": {
|
|
812
900
|
"original": "boolean",
|
|
@@ -821,12 +909,12 @@ export class DuetChoice {
|
|
|
821
909
|
},
|
|
822
910
|
"getter": false,
|
|
823
911
|
"setter": false,
|
|
824
|
-
"attribute": "expand",
|
|
825
912
|
"reflect": false,
|
|
826
913
|
"defaultValue": "false"
|
|
827
914
|
},
|
|
828
915
|
"padding": {
|
|
829
916
|
"type": "string",
|
|
917
|
+
"attribute": "padding",
|
|
830
918
|
"mutable": false,
|
|
831
919
|
"complexType": {
|
|
832
920
|
"original": "DuetPadding",
|
|
@@ -847,12 +935,12 @@ export class DuetChoice {
|
|
|
847
935
|
},
|
|
848
936
|
"getter": false,
|
|
849
937
|
"setter": false,
|
|
850
|
-
"attribute": "padding",
|
|
851
938
|
"reflect": false,
|
|
852
939
|
"defaultValue": "\"auto\""
|
|
853
940
|
},
|
|
854
941
|
"identifier": {
|
|
855
942
|
"type": "string",
|
|
943
|
+
"attribute": "identifier",
|
|
856
944
|
"mutable": false,
|
|
857
945
|
"complexType": {
|
|
858
946
|
"original": "string",
|
|
@@ -867,11 +955,11 @@ export class DuetChoice {
|
|
|
867
955
|
},
|
|
868
956
|
"getter": false,
|
|
869
957
|
"setter": false,
|
|
870
|
-
"attribute": "identifier",
|
|
871
958
|
"reflect": false
|
|
872
959
|
},
|
|
873
960
|
"groupDirection": {
|
|
874
961
|
"type": "string",
|
|
962
|
+
"attribute": "group-direction",
|
|
875
963
|
"mutable": false,
|
|
876
964
|
"complexType": {
|
|
877
965
|
"original": "DuetDirection",
|
|
@@ -895,11 +983,11 @@ export class DuetChoice {
|
|
|
895
983
|
},
|
|
896
984
|
"getter": false,
|
|
897
985
|
"setter": false,
|
|
898
|
-
"attribute": "group-direction",
|
|
899
986
|
"reflect": false
|
|
900
987
|
},
|
|
901
988
|
"groupDisabled": {
|
|
902
989
|
"type": "boolean",
|
|
990
|
+
"attribute": "group-disabled",
|
|
903
991
|
"mutable": false,
|
|
904
992
|
"complexType": {
|
|
905
993
|
"original": "boolean",
|
|
@@ -917,33 +1005,39 @@ export class DuetChoice {
|
|
|
917
1005
|
},
|
|
918
1006
|
"getter": false,
|
|
919
1007
|
"setter": false,
|
|
920
|
-
"attribute": "group-disabled",
|
|
921
1008
|
"reflect": false
|
|
922
1009
|
},
|
|
923
1010
|
"groupResponsive": {
|
|
924
|
-
"type": "
|
|
1011
|
+
"type": "string",
|
|
1012
|
+
"attribute": "group-responsive",
|
|
925
1013
|
"mutable": false,
|
|
926
1014
|
"complexType": {
|
|
927
|
-
"original": "
|
|
928
|
-
"resolved": "
|
|
929
|
-
"references": {
|
|
1015
|
+
"original": "DuetChoiceGroupBreakpoint",
|
|
1016
|
+
"resolved": "\"large\" | \"medium\" | \"small\" | \"x-large\" | \"x-small\"",
|
|
1017
|
+
"references": {
|
|
1018
|
+
"DuetChoiceGroupBreakpoint": {
|
|
1019
|
+
"location": "import",
|
|
1020
|
+
"path": "../../common-types",
|
|
1021
|
+
"id": "src/common-types.d.ts::DuetChoiceGroupBreakpoint"
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
930
1024
|
},
|
|
931
1025
|
"required": false,
|
|
932
1026
|
"optional": false,
|
|
933
1027
|
"docs": {
|
|
934
1028
|
"tags": [{
|
|
935
1029
|
"name": "internal",
|
|
936
|
-
"text": "Determines
|
|
1030
|
+
"text": "Determines at which breakpoint the group has responsive behavior"
|
|
937
1031
|
}],
|
|
938
1032
|
"text": ""
|
|
939
1033
|
},
|
|
940
1034
|
"getter": false,
|
|
941
1035
|
"setter": false,
|
|
942
|
-
"attribute": "group-responsive",
|
|
943
1036
|
"reflect": false
|
|
944
1037
|
},
|
|
945
1038
|
"disabled": {
|
|
946
1039
|
"type": "boolean",
|
|
1040
|
+
"attribute": "disabled",
|
|
947
1041
|
"mutable": false,
|
|
948
1042
|
"complexType": {
|
|
949
1043
|
"original": "boolean",
|
|
@@ -958,12 +1052,12 @@ export class DuetChoice {
|
|
|
958
1052
|
},
|
|
959
1053
|
"getter": false,
|
|
960
1054
|
"setter": false,
|
|
961
|
-
"attribute": "disabled",
|
|
962
1055
|
"reflect": true,
|
|
963
1056
|
"defaultValue": "false"
|
|
964
1057
|
},
|
|
965
1058
|
"required": {
|
|
966
1059
|
"type": "boolean",
|
|
1060
|
+
"attribute": "required",
|
|
967
1061
|
"mutable": false,
|
|
968
1062
|
"complexType": {
|
|
969
1063
|
"original": "boolean",
|
|
@@ -978,12 +1072,12 @@ export class DuetChoice {
|
|
|
978
1072
|
},
|
|
979
1073
|
"getter": false,
|
|
980
1074
|
"setter": false,
|
|
981
|
-
"attribute": "required",
|
|
982
1075
|
"reflect": false,
|
|
983
1076
|
"defaultValue": "false"
|
|
984
1077
|
},
|
|
985
1078
|
"infoLabelDefaults": {
|
|
986
1079
|
"type": "string",
|
|
1080
|
+
"attribute": "accessible-label-info-default",
|
|
987
1081
|
"mutable": false,
|
|
988
1082
|
"complexType": {
|
|
989
1083
|
"original": "DuetLangObject | string",
|
|
@@ -1004,12 +1098,12 @@ export class DuetChoice {
|
|
|
1004
1098
|
},
|
|
1005
1099
|
"getter": false,
|
|
1006
1100
|
"setter": false,
|
|
1007
|
-
"attribute": "accessible-label-info-default",
|
|
1008
1101
|
"reflect": false,
|
|
1009
1102
|
"defaultValue": "{\n fi: \"Lis\u00E4tietoja vaihtoehdosta\",\n en: \"More information about\",\n sv: \"Mera information om\",\n }"
|
|
1010
1103
|
},
|
|
1011
1104
|
"infoLabel": {
|
|
1012
1105
|
"type": "string",
|
|
1106
|
+
"attribute": "info-label",
|
|
1013
1107
|
"mutable": true,
|
|
1014
1108
|
"complexType": {
|
|
1015
1109
|
"original": "string",
|
|
@@ -1027,12 +1121,12 @@ export class DuetChoice {
|
|
|
1027
1121
|
},
|
|
1028
1122
|
"getter": false,
|
|
1029
1123
|
"setter": false,
|
|
1030
|
-
"attribute": "info-label",
|
|
1031
1124
|
"reflect": false,
|
|
1032
1125
|
"defaultValue": "getLocaleString(this.infoLabelDefaults, getLanguage())"
|
|
1033
1126
|
},
|
|
1034
1127
|
"collapsibleNotificationDefaults": {
|
|
1035
1128
|
"type": "string",
|
|
1129
|
+
"attribute": "accessible-collapsible-notification-default",
|
|
1036
1130
|
"mutable": false,
|
|
1037
1131
|
"complexType": {
|
|
1038
1132
|
"original": "| DuetLangObject\n | string",
|
|
@@ -1053,12 +1147,12 @@ export class DuetChoice {
|
|
|
1053
1147
|
},
|
|
1054
1148
|
"getter": false,
|
|
1055
1149
|
"setter": false,
|
|
1056
|
-
"attribute": "accessible-collapsible-notification-default",
|
|
1057
1150
|
"reflect": false,
|
|
1058
1151
|
"defaultValue": "{\n fi: \"T\u00E4m\u00E4 valinta sis\u00E4lt\u00E4\u00E4 lis\u00E4tietoja, jotka avautuivat alle\",\n en: \"This choice has additional information opened below\",\n sv: \"Det h\u00E4r val har mer information som \u00F6ppnades nedan\",\n }"
|
|
1059
1152
|
},
|
|
1060
1153
|
"collapsibleNotification": {
|
|
1061
1154
|
"type": "string",
|
|
1155
|
+
"attribute": "collapsible-notification",
|
|
1062
1156
|
"mutable": true,
|
|
1063
1157
|
"complexType": {
|
|
1064
1158
|
"original": "string",
|
|
@@ -1076,7 +1170,6 @@ export class DuetChoice {
|
|
|
1076
1170
|
},
|
|
1077
1171
|
"getter": false,
|
|
1078
1172
|
"setter": false,
|
|
1079
|
-
"attribute": "collapsible-notification",
|
|
1080
1173
|
"reflect": false,
|
|
1081
1174
|
"defaultValue": "getLocaleString(\n this.collapsibleNotificationDefaults,\n getLanguage()\n )"
|
|
1082
1175
|
}
|
|
@@ -1110,26 +1203,6 @@ export class DuetChoice {
|
|
|
1110
1203
|
}
|
|
1111
1204
|
}
|
|
1112
1205
|
}
|
|
1113
|
-
}, {
|
|
1114
|
-
"method": "duetChoiceRemove",
|
|
1115
|
-
"name": "duetChoiceRemove",
|
|
1116
|
-
"bubbles": true,
|
|
1117
|
-
"cancelable": true,
|
|
1118
|
-
"composed": true,
|
|
1119
|
-
"docs": {
|
|
1120
|
-
"tags": [],
|
|
1121
|
-
"text": "Emitted when the component is removed from the DOM."
|
|
1122
|
-
},
|
|
1123
|
-
"complexType": {
|
|
1124
|
-
"original": "CustomEvent",
|
|
1125
|
-
"resolved": "CustomEvent<any>",
|
|
1126
|
-
"references": {
|
|
1127
|
-
"CustomEvent": {
|
|
1128
|
-
"location": "global",
|
|
1129
|
-
"id": "global::CustomEvent"
|
|
1130
|
-
}
|
|
1131
|
-
}
|
|
1132
|
-
}
|
|
1133
1206
|
}, {
|
|
1134
1207
|
"method": "duetChange",
|
|
1135
1208
|
"name": "duetChange",
|
|
@@ -1146,7 +1219,7 @@ export class DuetChoice {
|
|
|
1146
1219
|
"references": {
|
|
1147
1220
|
"DuetChoiceEvent": {
|
|
1148
1221
|
"location": "local",
|
|
1149
|
-
"path": "/Users/
|
|
1222
|
+
"path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-choice/duet-choice.tsx",
|
|
1150
1223
|
"id": "src/components/duet-choice/duet-choice.tsx::DuetChoiceEvent"
|
|
1151
1224
|
}
|
|
1152
1225
|
}
|
|
@@ -1167,7 +1240,7 @@ export class DuetChoice {
|
|
|
1167
1240
|
"references": {
|
|
1168
1241
|
"DuetChoiceEvent": {
|
|
1169
1242
|
"location": "local",
|
|
1170
|
-
"path": "/Users/
|
|
1243
|
+
"path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-choice/duet-choice.tsx",
|
|
1171
1244
|
"id": "src/components/duet-choice/duet-choice.tsx::DuetChoiceEvent"
|
|
1172
1245
|
}
|
|
1173
1246
|
}
|
|
@@ -1188,7 +1261,7 @@ export class DuetChoice {
|
|
|
1188
1261
|
"references": {
|
|
1189
1262
|
"DuetChoiceEvent": {
|
|
1190
1263
|
"location": "local",
|
|
1191
|
-
"path": "/Users/
|
|
1264
|
+
"path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-choice/duet-choice.tsx",
|
|
1192
1265
|
"id": "src/components/duet-choice/duet-choice.tsx::DuetChoiceEvent"
|
|
1193
1266
|
}
|
|
1194
1267
|
}
|
|
@@ -1243,3 +1316,32 @@ export class DuetChoice {
|
|
|
1243
1316
|
}
|
|
1244
1317
|
static get elementRef() { return "element"; }
|
|
1245
1318
|
}
|
|
1319
|
+
/*
|
|
1320
|
+
|
|
1321
|
+
{this.type === "checkbox" && (
|
|
1322
|
+
<input
|
|
1323
|
+
class="duet-choice-input"
|
|
1324
|
+
type={this.type}
|
|
1325
|
+
onFocus={this.onFocus}
|
|
1326
|
+
onBlur={this.onBlur}
|
|
1327
|
+
onChange={this.onChange}
|
|
1328
|
+
disabled={this.getDisabled()}
|
|
1329
|
+
required={this.required}
|
|
1330
|
+
id={identifier}
|
|
1331
|
+
name={this.name}
|
|
1332
|
+
value={this.value}
|
|
1333
|
+
checked={this.checked}
|
|
1334
|
+
aria-label={this.getLabel()}
|
|
1335
|
+
aria-controls={this.accessibleControls}
|
|
1336
|
+
aria-activedescendant={this.accessibleActiveDescendant}
|
|
1337
|
+
aria-labelledby={this.accessibleLabelledBy}
|
|
1338
|
+
aria-details={this.accessibleDetails}
|
|
1339
|
+
aria-description={this.accessibleDescription}
|
|
1340
|
+
aria-owns={this.accessibleOwns}
|
|
1341
|
+
aria-describedby={this.getAriaDescribedby()}
|
|
1342
|
+
onKeyDown={this.handleKeyDown}
|
|
1343
|
+
ref={input => (this.focusableElement = input)}
|
|
1344
|
+
></input>
|
|
1345
|
+
)}
|
|
1346
|
+
|
|
1347
|
+
*/
|