@duetds/components 8.0.6 → 8.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 +2 -2
- package/hydrate/index.js +19099 -17881
- package/lib/cjs/app-globals-cd75f624.js +54 -0
- package/lib/cjs/{common-strings-86913e94.js → common-strings-22c70ef0.js} +6 -6
- package/lib/cjs/create-id-1f8c438f.js +13 -0
- package/lib/cjs/duet-action-button.cjs.entry.js +133 -133
- package/lib/cjs/duet-alert.cjs.entry.js +106 -106
- package/lib/cjs/duet-badge.cjs.entry.js +29 -29
- package/lib/cjs/duet-banner.cjs.entry.js +52 -52
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +41 -41
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +51 -51
- package/lib/cjs/duet-button_2.cjs.entry.js +229 -229
- package/lib/cjs/duet-callout.cjs.entry.js +28 -28
- package/lib/cjs/duet-caption_4.cjs.entry.js +187 -187
- package/lib/cjs/duet-card.cjs.entry.js +93 -93
- package/lib/cjs/duet-checkbox.cjs.entry.js +85 -85
- package/lib/cjs/duet-checkmark.cjs.entry.js +23 -23
- package/lib/cjs/duet-chip.cjs.entry.js +182 -182
- package/lib/cjs/duet-choice_2.cjs.entry.js +392 -392
- package/lib/cjs/duet-collapsible.cjs.entry.js +98 -98
- package/lib/cjs/duet-combobox.cjs.entry.js +362 -362
- package/lib/cjs/duet-contact-card.cjs.entry.js +49 -49
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +35 -35
- package/lib/cjs/duet-date-picker.cjs.entry.js +610 -610
- package/lib/cjs/duet-divider_2.cjs.entry.js +53 -53
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +1247 -1247
- package/lib/cjs/duet-empty-state.cjs.entry.js +26 -26
- package/lib/cjs/duet-fieldset.cjs.entry.js +50 -50
- package/lib/cjs/duet-file-chooser.cjs.entry.js +44 -44
- package/lib/cjs/duet-footer.cjs.entry.js +118 -118
- package/lib/cjs/duet-grid_2.cjs.entry.js +185 -185
- package/lib/cjs/duet-header_2.cjs.entry.js +610 -610
- package/lib/cjs/duet-hero.cjs.entry.js +172 -172
- package/lib/cjs/duet-icon.cjs.entry.js +141 -141
- package/lib/cjs/duet-input_2.cjs.entry.js +346 -346
- package/lib/cjs/duet-layout.cjs.entry.js +51 -51
- package/lib/cjs/duet-list_2.cjs.entry.js +99 -99
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +70 -70
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +44 -44
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +93 -93
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +58 -58
- package/lib/cjs/duet-menu-bar.cjs.entry.js +116 -116
- package/lib/cjs/duet-modal.cjs.entry.js +188 -188
- package/lib/cjs/duet-multiselect.cjs.entry.js +206 -206
- package/lib/cjs/duet-nav.cjs.entry.js +20 -20
- package/lib/cjs/duet-notification_2.cjs.entry.js +140 -140
- package/lib/cjs/duet-number-input.cjs.entry.js +337 -337
- package/lib/cjs/duet-page-heading.cjs.entry.js +26 -26
- package/lib/cjs/duet-pagination_2.cjs.entry.js +511 -511
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +62 -62
- package/lib/cjs/duet-popup-menu.cjs.entry.js +147 -147
- package/lib/cjs/duet-progress.cjs.entry.js +54 -54
- package/lib/cjs/duet-promo-card.cjs.entry.js +40 -40
- package/lib/cjs/duet-radio_2.cjs.entry.js +197 -197
- package/lib/cjs/duet-range-slider.cjs.entry.js +105 -105
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +384 -386
- package/lib/cjs/duet-section-layout.cjs.entry.js +21 -21
- package/lib/cjs/duet-select.cjs.entry.js +156 -156
- package/lib/cjs/duet-shaped-image.cjs.entry.js +28 -28
- package/lib/cjs/duet-show-more.cjs.entry.js +98 -98
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +36 -36
- package/lib/cjs/duet-slideout-link.cjs.entry.js +33 -33
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +50 -50
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +120 -120
- package/lib/cjs/duet-slideout.cjs.entry.js +194 -194
- package/lib/cjs/duet-step_2.cjs.entry.js +182 -184
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +36 -36
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +103 -103
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +59 -59
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +110 -110
- package/lib/cjs/duet-textarea.cjs.entry.js +160 -160
- package/lib/cjs/duet-toggle.cjs.entry.js +72 -72
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +35 -35
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +59 -59
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +31 -31
- package/lib/cjs/duet-toolbar.cjs.entry.js +34 -34
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +98 -80
- package/lib/cjs/duet-tooltip.cjs.entry.js +185 -187
- package/lib/cjs/duet-tray.cjs.entry.js +82 -82
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +65 -65
- package/lib/cjs/duet-upload-item.cjs.entry.js +81 -81
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +12 -12
- package/lib/cjs/duet.cjs.js +4 -4
- package/lib/cjs/errorcodes.utils-a86b1f94.js +39 -0
- package/lib/cjs/focus-utils-9b549956.js +21 -0
- package/lib/cjs/{index-2cce7b13.js → index-ce232ed8.js} +106 -45
- package/lib/cjs/input-utils-1096a2c5.js +56 -0
- package/lib/cjs/{is-internet-explorer-76c3b538.js → is-internet-explorer-e7f58ebc.js} +2 -2
- package/lib/cjs/{js-utils-b20cfc79.js → js-utils-92e24ba1.js} +27 -27
- package/lib/cjs/{language-utils-dc19e8b6.js → language-utils-e8a527e5.js} +74 -74
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-query-b7555763.js → slot-query-3259af5b.js} +1 -1
- package/lib/cjs/string-utils-053749ff.js +59 -0
- package/lib/cjs/teleport-e9d05bca.js +99 -0
- package/lib/cjs/themeable-component-83a2a0d4.js +15 -0
- package/lib/cjs/token-utils-84b3bca6.js +124 -0
- package/lib/cjs/watch-options-30a12622.js +61 -0
- package/lib/collection/collection-manifest.json +2 -2
- package/lib/collection/common/slot-query.js +3 -3
- package/lib/collection/common/themeable-component.js +6 -6
- package/lib/collection/common-strings.js +6 -6
- package/lib/collection/components/duet-action-button/duet-action-button.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-action-button/duet-action-button.js +570 -569
- package/lib/collection/components/duet-alert/duet-alert.a11y.e2e.js +10 -10
- package/lib/collection/components/duet-alert/duet-alert.e2e.js +47 -47
- package/lib/collection/components/duet-alert/duet-alert.js +442 -441
- package/lib/collection/components/duet-badge/duet-badge.a11y.e2e.js +10 -10
- package/lib/collection/components/duet-badge/duet-badge.e2e.js +21 -21
- package/lib/collection/components/duet-badge/duet-badge.js +134 -134
- package/lib/collection/components/duet-banner/duet-banner.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-banner/duet-banner.e2e.js +16 -16
- package/lib/collection/components/duet-banner/duet-banner.js +309 -309
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +139 -139
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.e2e.js +6 -6
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +112 -112
- package/lib/collection/components/duet-button/duet-button.a11y.e2e.js +30 -30
- package/lib/collection/components/duet-button/duet-button.e2e.js +187 -187
- package/lib/collection/components/duet-button/duet-button.js +1068 -1067
- package/lib/collection/components/duet-callout/duet-callout.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-callout/duet-callout.e2e.js +15 -15
- package/lib/collection/components/duet-callout/duet-callout.js +88 -88
- package/lib/collection/components/duet-caption/duet-caption.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-caption/duet-caption.e2e.js +20 -20
- package/lib/collection/components/duet-caption/duet-caption.js +131 -131
- package/lib/collection/components/duet-card/duet-card.a11y.e2e.js +10 -10
- package/lib/collection/components/duet-card/duet-card.e2e.js +85 -85
- package/lib/collection/components/duet-card/duet-card.js +492 -491
- package/lib/collection/components/duet-checkbox/duet-checkbox.a11y.e2e.js +10 -10
- package/lib/collection/components/duet-checkbox/duet-checkbox.e2e.js +103 -103
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +553 -549
- package/lib/collection/components/duet-chip/duet-chip.a11y.e2e.js +10 -10
- package/lib/collection/components/duet-chip/duet-chip.e2e.js +40 -40
- package/lib/collection/components/duet-chip/duet-chip.js +487 -486
- package/lib/collection/components/duet-choice/duet-checkmark.js +136 -136
- package/lib/collection/components/duet-choice/duet-choice.a11y.e2e.js +25 -25
- package/lib/collection/components/duet-choice/duet-choice.e2e.js +171 -171
- package/lib/collection/components/duet-choice/duet-choice.js +1092 -1088
- package/lib/collection/components/duet-choice-group/duet-choice-group.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-choice-group/duet-choice-group.e2e.js +63 -63
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +456 -453
- package/lib/collection/components/duet-collapsible/duet-collapsible.a11y.e2e.js +10 -10
- package/lib/collection/components/duet-collapsible/duet-collapsible.e2e.js +87 -87
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +363 -362
- package/lib/collection/components/duet-combobox/duet-combobox-select-single.js +2 -2
- package/lib/collection/components/duet-combobox/duet-combobox-select.js +8 -8
- package/lib/collection/components/duet-combobox/duet-combobox.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-combobox/duet-combobox.e2e.js +115 -115
- package/lib/collection/components/duet-combobox/duet-combobox.js +670 -669
- package/lib/collection/components/duet-contact-card/duet-contact-card.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +255 -255
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.e2e.js +16 -16
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +127 -127
- package/lib/collection/components/duet-date-picker/date-i18n.js +97 -97
- package/lib/collection/components/duet-date-picker/date-picker-day.js +9 -9
- package/lib/collection/components/duet-date-picker/date-picker-input.js +5 -5
- package/lib/collection/components/duet-date-picker/date-picker-month.js +16 -16
- package/lib/collection/components/duet-date-picker/date-utils.js +95 -95
- package/lib/collection/components/duet-date-picker/date-utils.spec.js +323 -323
- package/lib/collection/components/duet-date-picker/duet-date-picker.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-date-picker/duet-date-picker.e2e.js +618 -618
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +1049 -1044
- package/lib/collection/components/duet-date-picker/utils.js +29 -29
- package/lib/collection/components/duet-divider/duet-divider.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-divider/duet-divider.e2e.js +24 -24
- package/lib/collection/components/duet-divider/duet-divider.js +112 -112
- package/lib/collection/components/duet-editable-table/duet-editable-table-tabledata.js +7 -7
- package/lib/collection/components/duet-editable-table/duet-editable-table.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-editable-table/duet-editable-table.e2e.js +19 -19
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +501 -498
- package/lib/collection/components/duet-empty-state/duet-empty-state.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-empty-state/duet-empty-state.e2e.js +10 -10
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +110 -110
- package/lib/collection/components/duet-fieldset/duet-fieldset.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-fieldset/duet-fieldset.e2e.js +5 -5
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +245 -245
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +179 -179
- package/lib/collection/components/duet-footer/duet-footer.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-footer/duet-footer.e2e.js +163 -163
- package/lib/collection/components/duet-footer/duet-footer.js +485 -485
- package/lib/collection/components/duet-grid/duet-grid.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-grid/duet-grid.e2e.js +36 -36
- package/lib/collection/components/duet-grid/duet-grid.js +345 -342
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +233 -230
- package/lib/collection/components/duet-header/duet-header-dropdown.js +12 -12
- package/lib/collection/components/duet-header/duet-header-icon.js +2 -2
- package/lib/collection/components/duet-header/duet-header.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-header/duet-header.e2e.js +430 -430
- package/lib/collection/components/duet-header/duet-header.js +1297 -1295
- package/lib/collection/components/duet-heading/duet-heading.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-heading/duet-heading.e2e.js +21 -21
- package/lib/collection/components/duet-heading/duet-heading.js +230 -230
- package/lib/collection/components/duet-hero/duet-hero.a11y.e2e.js +15 -15
- package/lib/collection/components/duet-hero/duet-hero.e2e.js +166 -166
- package/lib/collection/components/duet-hero/duet-hero.js +814 -814
- package/lib/collection/components/duet-icon/duet-icon.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-icon/duet-icon.e2e.js +26 -26
- package/lib/collection/components/duet-icon/duet-icon.js +392 -392
- package/lib/collection/components/duet-icon/icon-utils.js +59 -59
- package/lib/collection/components/duet-icon/icon-utils.spec.js +76 -76
- package/lib/collection/components/duet-input/duet-input.a11y.e2e.js +20 -20
- package/lib/collection/components/duet-input/duet-input.e2e.js +195 -195
- package/lib/collection/components/duet-input/duet-input.js +1249 -1245
- package/lib/collection/components/duet-label/duet-label.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-label/duet-label.e2e.js +26 -26
- package/lib/collection/components/duet-label/duet-label.js +134 -131
- package/lib/collection/components/duet-layout/duet-layout.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-layout/duet-layout.e2e.js +26 -26
- package/lib/collection/components/duet-layout/duet-layout.js +207 -207
- package/lib/collection/components/duet-link/duet-link.a11y.e2e.js +15 -15
- package/lib/collection/components/duet-link/duet-link.e2e.js +47 -47
- package/lib/collection/components/duet-link/duet-link.js +436 -435
- package/lib/collection/components/duet-list/duet-list.a11y.e2e.js +11 -11
- package/lib/collection/components/duet-list/duet-list.e2e.js +50 -50
- package/lib/collection/components/duet-list/duet-list.js +292 -292
- package/lib/collection/components/duet-list-item/duet-list-item.js +81 -81
- package/lib/collection/components/duet-logo/duet-logo.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-logo/duet-logo.e2e.js +36 -36
- package/lib/collection/components/duet-logo/duet-logo.js +293 -292
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +261 -261
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +347 -346
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +224 -223
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +133 -133
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +170 -170
- package/lib/collection/components/duet-modal/duet-modal.a11y.e2e.js +10 -10
- package/lib/collection/components/duet-modal/duet-modal.e2e.js +78 -78
- package/lib/collection/components/duet-modal/duet-modal.js +687 -687
- package/lib/collection/components/duet-multiselect/duet-multiselect.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-multiselect/duet-multiselect.e2e.js +87 -87
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +654 -653
- package/lib/collection/components/duet-nav/duet-nav.js +56 -56
- package/lib/collection/components/duet-notification/duet-notification.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-notification/duet-notification.e2e.js +6 -6
- package/lib/collection/components/duet-notification/duet-notification.js +257 -259
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.a11y.e2e.js +10 -10
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.e2e.js +141 -141
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +379 -383
- package/lib/collection/components/duet-number-input/duet-number-input-negative.e2e.js +26 -26
- package/lib/collection/components/duet-number-input/duet-number-input.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-number-input/duet-number-input.e2e.js +232 -232
- package/lib/collection/components/duet-number-input/duet-number-input.js +1117 -1113
- package/lib/collection/components/duet-page-heading/duet-page-heading.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +104 -104
- package/lib/collection/components/duet-pagination/duet-pagination-utils.js +4 -4
- package/lib/collection/components/duet-pagination/duet-pagination.a11y.e2e.js +10 -10
- package/lib/collection/components/duet-pagination/duet-pagination.e2e.js +79 -79
- package/lib/collection/components/duet-pagination/duet-pagination.js +677 -677
- package/lib/collection/components/duet-paragraph/duet-paragraph.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-paragraph/duet-paragraph.e2e.js +21 -21
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +190 -190
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +407 -407
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +344 -343
- package/lib/collection/components/duet-progress/duet-progress.a11y.e2e.js +7 -7
- package/lib/collection/components/duet-progress/duet-progress.e2e.js +6 -6
- package/lib/collection/components/duet-progress/duet-progress.js +276 -273
- package/lib/collection/components/duet-promo-card/duet-promo-card.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-promo-card/duet-promo-card.e2e.js +16 -16
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +206 -206
- package/lib/collection/components/duet-radio/duet-radio.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-radio/duet-radio.e2e.js +126 -126
- package/lib/collection/components/duet-radio/duet-radio.js +609 -605
- package/lib/collection/components/duet-radio-group/duet-radio-group.a11y.e2e.js +10 -10
- package/lib/collection/components/duet-radio-group/duet-radio-group.e2e.js +39 -39
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +423 -420
- package/lib/collection/components/duet-range-slider/duet-range-slider.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-range-slider/duet-range-slider.e2e.js +51 -51
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +561 -557
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.e2e.js +46 -46
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +341 -341
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.spec.js +17 -17
- package/lib/collection/components/duet-scrollable/duet-scrollable.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-scrollable/duet-scrollable.e2e.js +6 -6
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +294 -294
- package/lib/collection/components/duet-section-layout/duet-section-layout.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-section-layout/duet-section-layout.e2e.js +16 -16
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +75 -75
- package/lib/collection/components/duet-select/duet-select.a11y.e2e.js +10 -10
- package/lib/collection/components/duet-select/duet-select.e2e.js +201 -201
- package/lib/collection/components/duet-select/duet-select.js +722 -718
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +143 -143
- package/lib/collection/components/duet-show-more/duet-show-more.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-show-more/duet-show-more.js +436 -436
- package/lib/collection/components/duet-slideout/duet-slideout.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-slideout/duet-slideout.js +408 -407
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +75 -75
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +215 -215
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +282 -281
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +177 -176
- package/lib/collection/components/duet-spacer/duet-spacer.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-spacer/duet-spacer.e2e.js +21 -21
- package/lib/collection/components/duet-spacer/duet-spacer.js +110 -110
- package/lib/collection/components/duet-spinner/duet-spinner.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-spinner/duet-spinner.e2e.js +23 -23
- package/lib/collection/components/duet-spinner/duet-spinner.js +131 -131
- package/lib/collection/components/duet-step/duet-step.e2e.js +83 -83
- package/lib/collection/components/duet-step/duet-step.js +292 -290
- package/lib/collection/components/duet-stepper/duet-stepper.a11y.e2e.js +8 -8
- package/lib/collection/components/duet-stepper/duet-stepper.e2e.js +49 -49
- package/lib/collection/components/duet-stepper/duet-stepper.js +243 -243
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +218 -217
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +235 -234
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +162 -162
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +154 -154
- package/lib/collection/components/duet-tab/duet-tab.e2e.js +10 -10
- package/lib/collection/components/duet-tab/duet-tab.js +162 -161
- package/lib/collection/components/duet-tab-group/duet-tab-group.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-tab-group/duet-tab-group.e2e.js +60 -60
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +633 -632
- package/lib/collection/components/duet-table/duet-table.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-table/duet-table.e2e.js +25 -25
- package/lib/collection/components/duet-table/duet-table.js +284 -281
- package/lib/collection/components/duet-textarea/duet-textarea.a11y.e2e.js +10 -10
- package/lib/collection/components/duet-textarea/duet-textarea.e2e.js +193 -193
- package/lib/collection/components/duet-textarea/duet-textarea.js +849 -845
- package/lib/collection/components/duet-toggle/duet-toggle.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-toggle/duet-toggle.e2e.js +66 -66
- package/lib/collection/components/duet-toggle/duet-toggle.js +468 -464
- package/lib/collection/components/duet-toolbar/duet-toolbar.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +105 -105
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +221 -220
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +160 -160
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +156 -156
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +194 -164
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +280 -251
- package/lib/collection/components/duet-tooltip/duet-tooltip.a11y.e2e.js +14 -14
- package/lib/collection/components/duet-tooltip/duet-tooltip.e2e.js +76 -76
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +533 -529
- package/lib/collection/components/duet-tray/duet-tray.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-tray/duet-tray.e2e.js +67 -67
- package/lib/collection/components/duet-tray/duet-tray.js +315 -315
- package/lib/collection/components/duet-upload/duet-upload.e2e.js +40 -40
- package/lib/collection/components/duet-upload/duet-upload.js +2282 -2276
- package/lib/collection/components/duet-upload/errorcodes.utils.js +22 -22
- package/lib/collection/components/duet-upload/mock.helpers.js +85 -85
- package/lib/collection/components/duet-upload/upload-editable-item-error.js +4 -4
- package/lib/collection/components/duet-upload/upload-editable-item-success.js +15 -15
- package/lib/collection/components/duet-upload/upload-item-category.js +2 -2
- package/lib/collection/components/duet-upload/upload-item-header.js +4 -4
- package/lib/collection/components/duet-upload/upload-validators.js +96 -96
- package/lib/collection/components/duet-upload/upload-validators.spec.js +35 -35
- package/lib/collection/components/duet-upload/upload.helpers.js +8 -8
- package/lib/collection/components/duet-upload/xhr.helpers.js +26 -26
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +194 -194
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +306 -306
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.a11y.e2e.js +5 -5
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.e2e.js +6 -6
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +20 -20
- package/lib/collection/global/duet-global.js +22 -22
- package/lib/collection/global/log-wrapper.js +29 -29
- package/lib/collection/utils/axe-core-utils.js +24 -24
- package/lib/collection/utils/create-id.js +2 -2
- package/lib/collection/utils/create-id.spec.js +6 -6
- package/lib/collection/utils/fixture-utils.js +25 -25
- package/lib/collection/utils/focus-utils.js +7 -7
- package/lib/collection/utils/group-by.js +9 -9
- package/lib/collection/utils/input-utils.js +25 -25
- package/lib/collection/utils/is-internet-explorer.js +2 -2
- package/lib/collection/utils/js-utils.js +38 -38
- package/lib/collection/utils/js-utils.spec.js +14 -14
- package/lib/collection/utils/language-utils.js +73 -73
- package/lib/collection/utils/language-utils.spec.js +151 -151
- package/lib/collection/utils/math.utils.js +59 -59
- package/lib/collection/utils/math.utils.spec.js +130 -130
- package/lib/collection/utils/picture-utils.js +2 -2
- package/lib/collection/utils/string-utils.js +31 -31
- package/lib/collection/utils/string-utils.spec.js +32 -32
- package/lib/collection/utils/teleport.js +77 -77
- package/lib/collection/utils/template-utils.js +18 -18
- package/lib/collection/utils/template-utils.spec.js +33 -33
- package/lib/collection/utils/test-utils.js +31 -31
- package/lib/collection/utils/token-utils.js +96 -96
- package/lib/collection/utils/token-utils.spec.js +170 -170
- package/lib/collection/utils/watch-options.js +44 -44
- package/lib/dist-custom-elements/duet-action-button.d.ts +2 -2
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.d.ts +2 -2
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.d.ts +2 -2
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.d.ts +2 -2
- package/lib/dist-custom-elements/duet-banner.js +96 -96
- package/lib/dist-custom-elements/duet-breadcrumb.d.ts +2 -2
- package/lib/dist-custom-elements/duet-breadcrumb.js +66 -66
- package/lib/dist-custom-elements/duet-breadcrumbs.d.ts +2 -2
- package/lib/dist-custom-elements/duet-breadcrumbs.js +68 -68
- package/lib/dist-custom-elements/duet-button.d.ts +2 -2
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.d.ts +2 -2
- package/lib/dist-custom-elements/duet-callout.js +57 -57
- package/lib/dist-custom-elements/duet-caption.d.ts +2 -2
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.d.ts +2 -2
- package/lib/dist-custom-elements/duet-card.js +137 -137
- package/lib/dist-custom-elements/duet-checkbox.d.ts +2 -2
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.d.ts +2 -2
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.d.ts +2 -2
- package/lib/dist-custom-elements/duet-chip.js +219 -219
- package/lib/dist-custom-elements/duet-choice-group.d.ts +2 -2
- package/lib/dist-custom-elements/duet-choice-group.js +189 -189
- package/lib/dist-custom-elements/duet-choice.d.ts +2 -2
- package/lib/dist-custom-elements/duet-choice.js +357 -357
- package/lib/dist-custom-elements/duet-collapsible.d.ts +2 -2
- package/lib/dist-custom-elements/duet-collapsible.js +130 -130
- package/lib/dist-custom-elements/duet-combobox.d.ts +2 -2
- package/lib/dist-custom-elements/duet-combobox.js +405 -405
- package/lib/dist-custom-elements/duet-contact-card.d.ts +2 -2
- package/lib/dist-custom-elements/duet-contact-card.js +116 -116
- package/lib/dist-custom-elements/duet-cookie-consent.d.ts +2 -2
- package/lib/dist-custom-elements/duet-cookie-consent.js +82 -82
- package/lib/dist-custom-elements/duet-date-picker.d.ts +2 -2
- package/lib/dist-custom-elements/duet-date-picker.js +728 -728
- package/lib/dist-custom-elements/duet-divider.d.ts +2 -2
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.d.ts +2 -2
- package/lib/dist-custom-elements/duet-editable-table.js +230 -230
- package/lib/dist-custom-elements/duet-empty-state.d.ts +2 -2
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.d.ts +2 -2
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-file-chooser.d.ts +2 -2
- package/lib/dist-custom-elements/duet-file-chooser.js +70 -70
- package/lib/dist-custom-elements/duet-footer.d.ts +2 -2
- package/lib/dist-custom-elements/duet-footer.js +167 -167
- package/lib/dist-custom-elements/duet-grid-item.d.ts +2 -2
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.d.ts +2 -2
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.d.ts +2 -2
- package/lib/dist-custom-elements/duet-header.js +637 -637
- package/lib/dist-custom-elements/duet-heading.d.ts +2 -2
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.d.ts +2 -2
- package/lib/dist-custom-elements/duet-hero.js +270 -270
- package/lib/dist-custom-elements/duet-icon.d.ts +2 -2
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.d.ts +2 -2
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.d.ts +2 -2
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.d.ts +2 -2
- package/lib/dist-custom-elements/duet-layout.js +73 -73
- package/lib/dist-custom-elements/duet-link.d.ts +2 -2
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.d.ts +2 -2
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.d.ts +2 -2
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.d.ts +2 -2
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.d.ts +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-button.js +106 -106
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.d.ts +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +69 -69
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.d.ts +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +120 -120
- package/lib/dist-custom-elements/duet-menu-bar-link.d.ts +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-link.js +85 -85
- package/lib/dist-custom-elements/duet-menu-bar.d.ts +2 -2
- package/lib/dist-custom-elements/duet-menu-bar.js +145 -145
- package/lib/dist-custom-elements/duet-modal.d.ts +2 -2
- package/lib/dist-custom-elements/duet-modal.js +262 -262
- package/lib/dist-custom-elements/duet-multiselect.d.ts +2 -2
- package/lib/dist-custom-elements/duet-multiselect.js +299 -299
- package/lib/dist-custom-elements/duet-nav.d.ts +2 -2
- package/lib/dist-custom-elements/duet-nav.js +36 -36
- package/lib/dist-custom-elements/duet-notification-drawer.d.ts +2 -2
- package/lib/dist-custom-elements/duet-notification-drawer.js +142 -142
- package/lib/dist-custom-elements/duet-notification.d.ts +2 -2
- package/lib/dist-custom-elements/duet-notification.js +76 -76
- package/lib/dist-custom-elements/duet-number-input.d.ts +2 -2
- package/lib/dist-custom-elements/duet-number-input.js +448 -448
- package/lib/dist-custom-elements/duet-page-heading.d.ts +2 -2
- package/lib/dist-custom-elements/duet-page-heading.js +50 -50
- package/lib/dist-custom-elements/duet-pagination.d.ts +2 -2
- package/lib/dist-custom-elements/duet-pagination.js +449 -449
- package/lib/dist-custom-elements/duet-paragraph.d.ts +2 -2
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.d.ts +2 -2
- package/lib/dist-custom-elements/duet-popup-menu-item.js +95 -95
- package/lib/dist-custom-elements/duet-popup-menu.d.ts +2 -2
- package/lib/dist-custom-elements/duet-popup-menu.js +176 -176
- package/lib/dist-custom-elements/duet-progress.d.ts +2 -2
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.d.ts +2 -2
- package/lib/dist-custom-elements/duet-promo-card.js +74 -74
- package/lib/dist-custom-elements/duet-radio-group.d.ts +2 -2
- package/lib/dist-custom-elements/duet-radio-group.js +183 -183
- package/lib/dist-custom-elements/duet-radio.d.ts +2 -2
- package/lib/dist-custom-elements/duet-radio.js +130 -130
- package/lib/dist-custom-elements/duet-range-slider.d.ts +2 -2
- package/lib/dist-custom-elements/duet-range-slider.js +146 -146
- package/lib/dist-custom-elements/duet-range-stepper.d.ts +2 -2
- package/lib/dist-custom-elements/duet-range-stepper.js +206 -206
- package/lib/dist-custom-elements/duet-scrollable.d.ts +2 -2
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.d.ts +2 -2
- package/lib/dist-custom-elements/duet-section-layout.js +38 -38
- package/lib/dist-custom-elements/duet-select.d.ts +2 -2
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.d.ts +2 -2
- package/lib/dist-custom-elements/duet-shaped-image.js +48 -48
- package/lib/dist-custom-elements/duet-show-more.d.ts +2 -2
- package/lib/dist-custom-elements/duet-show-more.js +151 -151
- package/lib/dist-custom-elements/duet-slideout-lang.d.ts +2 -2
- package/lib/dist-custom-elements/duet-slideout-lang.js +58 -58
- package/lib/dist-custom-elements/duet-slideout-link.d.ts +2 -2
- package/lib/dist-custom-elements/duet-slideout-link.js +63 -63
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.d.ts +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +76 -76
- package/lib/dist-custom-elements/duet-slideout-panel.d.ts +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel.js +149 -149
- package/lib/dist-custom-elements/duet-slideout.d.ts +2 -2
- package/lib/dist-custom-elements/duet-slideout.js +225 -225
- package/lib/dist-custom-elements/duet-spacer.d.ts +2 -2
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.d.ts +2 -2
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.d.ts +2 -2
- package/lib/dist-custom-elements/duet-step.js +116 -118
- package/lib/dist-custom-elements/duet-stepper.d.ts +2 -2
- package/lib/dist-custom-elements/duet-stepper.js +129 -129
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.d.ts +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +63 -63
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.d.ts +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +131 -131
- package/lib/dist-custom-elements/duet-submenu-bar-link.d.ts +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +85 -85
- package/lib/dist-custom-elements/duet-submenu-bar.d.ts +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar.js +139 -139
- package/lib/dist-custom-elements/duet-tab-group.d.ts +2 -2
- package/lib/dist-custom-elements/duet-tab-group.js +309 -309
- package/lib/dist-custom-elements/duet-tab.d.ts +2 -2
- package/lib/dist-custom-elements/duet-tab.js +50 -52
- package/lib/dist-custom-elements/duet-table.d.ts +2 -2
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.d.ts +2 -2
- package/lib/dist-custom-elements/duet-textarea.js +262 -262
- package/lib/dist-custom-elements/duet-toggle.d.ts +2 -2
- package/lib/dist-custom-elements/duet-toggle.js +113 -113
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.d.ts +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +62 -62
- package/lib/dist-custom-elements/duet-toolbar-dropdown.d.ts +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +87 -87
- package/lib/dist-custom-elements/duet-toolbar-link.d.ts +2 -2
- package/lib/dist-custom-elements/duet-toolbar-link.js +58 -58
- package/lib/dist-custom-elements/duet-toolbar.d.ts +2 -2
- package/lib/dist-custom-elements/duet-toolbar.js +52 -52
- package/lib/dist-custom-elements/duet-tooltip-button.d.ts +2 -2
- package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-popup.d.ts +2 -2
- package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.d.ts +2 -2
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.d.ts +2 -2
- package/lib/dist-custom-elements/duet-tray.js +119 -119
- package/lib/dist-custom-elements/duet-upload-aria-status.d.ts +2 -2
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.d.ts +2 -2
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.d.ts +2 -2
- package/lib/dist-custom-elements/duet-upload.js +1163 -1163
- package/lib/dist-custom-elements/duet-visually-hidden.d.ts +2 -2
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +36 -36
- package/lib/dist-custom-elements/p-02eb68f2.js +123 -0
- package/lib/dist-custom-elements/p-0825cbc5.js +82 -0
- package/lib/dist-custom-elements/p-0a7c0d3d.js +205 -0
- package/lib/dist-custom-elements/p-0e052642.js +55 -0
- package/lib/{esm/slot-query-7877f18f.js → dist-custom-elements/p-11230037.js} +1 -1
- package/lib/dist-custom-elements/{p-52014bb2.js → p-1cd7077a.js} +37 -37
- package/lib/dist-custom-elements/p-247a9d01.js +174 -0
- package/lib/dist-custom-elements/p-257f2e82.js +147 -0
- package/lib/dist-custom-elements/p-2605a78e.js +62 -0
- package/lib/dist-custom-elements/{p-4883df66.js → p-2e36d5bf.js} +74 -74
- package/lib/dist-custom-elements/p-38b35e69.js +265 -0
- package/lib/dist-custom-elements/{p-d49389d2.js → p-39827833.js} +171 -171
- package/lib/dist-custom-elements/p-3a17ba0c.js +226 -0
- package/lib/dist-custom-elements/p-402e81c0.js +206 -0
- package/lib/dist-custom-elements/p-43b89e38.js +9 -0
- package/lib/dist-custom-elements/{p-274d11e3.js → p-4ab776f4.js} +6 -6
- package/lib/dist-custom-elements/p-4f43c247.js +126 -0
- package/lib/dist-custom-elements/p-57a1cba9.js +117 -0
- package/lib/dist-custom-elements/p-598731b0.js +110 -0
- package/lib/dist-custom-elements/p-5e59e970.js +11 -0
- package/lib/dist-custom-elements/{p-2b1a35cd.js → p-5fe36e8b.js} +278 -278
- package/lib/dist-custom-elements/{p-7247d0b2.js → p-6f7dcc4d.js} +65 -43
- package/lib/dist-custom-elements/{p-9dd26401.js → p-6fbb1970.js} +128 -128
- package/lib/dist-custom-elements/{p-21b815ae.js → p-70a66e96.js} +42 -42
- package/lib/dist-custom-elements/{p-180c0d2d.js → p-76b345c8.js} +174 -174
- package/lib/dist-custom-elements/p-7d8a2628.js +57 -0
- package/lib/dist-custom-elements/p-86649f25.js +465 -0
- package/lib/dist-custom-elements/p-872a2adb.js +93 -0
- package/lib/dist-custom-elements/p-98746766.js +60 -0
- package/lib/dist-custom-elements/p-9b5f8ba4.js +98 -0
- package/lib/{esm/js-utils-a35dcc8c.js → dist-custom-elements/p-9e371678.js} +27 -27
- package/lib/dist-custom-elements/{p-6c2e13f0.js → p-a45d0398.js} +56 -56
- package/lib/dist-custom-elements/p-a58bd561.js +13 -0
- package/lib/dist-custom-elements/{p-d0987122.js → p-a6e6f578.js} +48 -48
- package/lib/dist-custom-elements/p-b2e550a3.js +97 -0
- package/lib/dist-custom-elements/{p-c0af301d.js → p-ba0f907f.js} +64 -64
- package/lib/dist-custom-elements/{p-ba870310.js → p-ba9ad148.js} +47 -47
- package/lib/dist-custom-elements/p-bc3fa417.js +76 -0
- package/lib/dist-custom-elements/{p-e4355989.js → p-ce1cc5ab.js} +98 -88
- package/lib/dist-custom-elements/p-d5f3b174.js +38 -0
- package/lib/dist-custom-elements/{p-bcfb9e03.js → p-d5fc2405.js} +50 -50
- package/lib/dist-custom-elements/p-df7874f9.js +53 -0
- package/lib/dist-custom-elements/{p-3ccd454b.js → p-dfd29738.js} +43 -43
- package/lib/dist-custom-elements/p-eef66341.js +18 -0
- package/lib/dist-custom-elements/p-f91cddd9.js +269 -0
- package/lib/dist-custom-elements/p-ff387a2f.js +59 -0
- package/lib/dist-custom-elements/p-ffc7f083.js +137 -0
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +15 -15
- package/lib/duet/p-07af14f1.js +4 -0
- package/lib/duet/{p-dc63462c.entry.js → p-0a7c3ecf.entry.js} +1 -1
- package/lib/duet/{p-57afa4b8.system.entry.js → p-0aa1b1cd.system.entry.js} +2 -2
- package/lib/duet/{p-76b68b44.entry.js → p-105a1448.entry.js} +1 -1
- package/lib/duet/{p-4aa91f55.entry.js → p-132ea5e6.entry.js} +1 -1
- package/lib/duet/{p-33765ffd.entry.js → p-13876bc6.entry.js} +1 -1
- package/lib/duet/{p-ff7a57a9.entry.js → p-13f7d993.entry.js} +1 -1
- package/lib/duet/{p-1dadf501.entry.js → p-16db7b1e.entry.js} +1 -1
- package/lib/duet/{p-3fd4c411.entry.js → p-191959c7.entry.js} +1 -1
- package/lib/duet/p-1b11541f.entry.js +4 -0
- package/lib/duet/{p-faa6ea94.system.entry.js → p-1e587bcc.system.entry.js} +1 -1
- package/lib/duet/{p-e95d09bb.system.entry.js → p-1ea5e7e8.system.entry.js} +1 -1
- package/lib/duet/{p-566668e1.entry.js → p-1fbbf69f.entry.js} +1 -1
- package/lib/duet/{p-ded28a6e.system.entry.js → p-200089a6.system.entry.js} +1 -1
- package/lib/duet/{p-8972381a.system.js → p-224f6c46.system.js} +1 -1
- package/lib/duet/{p-604175d2.entry.js → p-226489c4.entry.js} +1 -1
- package/lib/duet/p-2349e838.entry.js +4 -0
- package/lib/duet/{p-05e3a2cc.entry.js → p-246db04a.entry.js} +1 -1
- package/lib/duet/p-24f7d6bf.entry.js +4 -0
- package/lib/duet/p-258b8732.entry.js +4 -0
- package/lib/duet/{p-6da7b933.entry.js → p-25bde810.entry.js} +1 -1
- package/lib/duet/{p-177c55aa.entry.js → p-26c85bab.entry.js} +1 -1
- package/lib/duet/{p-2b70d58a.system.entry.js → p-26f7d1b9.system.entry.js} +1 -1
- package/lib/duet/{p-8aa7771f.entry.js → p-2b9499f1.entry.js} +1 -1
- package/lib/duet/{p-afd00506.entry.js → p-2c730d40.entry.js} +1 -1
- package/lib/duet/{p-4883df66.js → p-2e36d5bf.js} +1 -1
- package/lib/duet/{p-d9353709.entry.js → p-2f0a23ae.entry.js} +1 -1
- package/lib/duet/{p-89b82e5a.entry.js → p-338ba4d2.entry.js} +1 -1
- package/lib/duet/{p-445523a8.entry.js → p-33d6e5ef.entry.js} +1 -1
- package/lib/duet/{p-089043d5.entry.js → p-342527a4.entry.js} +1 -1
- package/lib/duet/{p-fd1fb3f9.system.entry.js → p-3aa3fb24.system.entry.js} +1 -1
- package/lib/duet/{p-789365cb.system.entry.js → p-3cafacc3.system.entry.js} +1 -1
- package/lib/duet/{p-c36a1bb7.entry.js → p-3e1248d8.entry.js} +1 -1
- package/lib/duet/{p-8ba72fa0.system.entry.js → p-40ee5f5e.system.entry.js} +1 -1
- package/lib/duet/p-4212bab8.js +5 -0
- package/lib/duet/{p-80013513.system.entry.js → p-42b49430.system.entry.js} +1 -1
- package/lib/duet/{p-c3289020.system.entry.js → p-42b9c6f9.system.entry.js} +1 -1
- package/lib/duet/{p-6ae7579a.system.entry.js → p-464adc60.system.entry.js} +1 -1
- package/lib/duet/{p-18e2e6c8.system.entry.js → p-48d6a81d.system.entry.js} +1 -1
- package/lib/duet/p-4911c778.system.entry.js +4 -0
- package/lib/duet/{p-d02e3fe0.system.entry.js → p-4b272eca.system.entry.js} +1 -1
- package/lib/duet/p-4c650a9e.entry.js +4 -0
- package/lib/duet/{p-ac367891.entry.js → p-502f43bb.entry.js} +1 -1
- package/lib/duet/{p-7e1f37e2.entry.js → p-513dfe01.entry.js} +1 -1
- package/lib/duet/{p-b8db6e02.system.entry.js → p-51bdb5fd.system.entry.js} +1 -1
- package/lib/duet/{p-3b0969dc.entry.js → p-51d53e57.entry.js} +1 -1
- package/lib/duet/{p-59b9c68b.entry.js → p-542d792f.entry.js} +1 -1
- package/lib/duet/{p-07401f31.entry.js → p-55f98dc4.entry.js} +1 -1
- package/lib/duet/{p-77b43a95.entry.js → p-57a63204.entry.js} +1 -1
- package/lib/duet/{p-1e9f1c45.entry.js → p-580a7bae.entry.js} +1 -1
- package/lib/duet/{p-aa6d7d97.entry.js → p-5b86c564.entry.js} +1 -1
- package/lib/duet/{p-038ac494.system.entry.js → p-5c94249e.system.entry.js} +1 -1
- package/lib/duet/{p-4630d3cb.entry.js → p-5dccd17b.entry.js} +1 -1
- package/lib/duet/{p-0fd024c9.system.js → p-5ed00370.system.js} +1 -1
- package/lib/duet/{p-e1e89fd5.entry.js → p-5f43dbcf.entry.js} +1 -1
- package/lib/duet/{p-0d0101d9.system.entry.js → p-60cee508.system.entry.js} +1 -1
- package/lib/duet/{p-501f62eb.system.entry.js → p-61fe1543.system.entry.js} +1 -1
- package/lib/duet/{p-a7e7c277.system.entry.js → p-625f750f.system.entry.js} +1 -1
- package/lib/duet/{p-6f3f2e66.entry.js → p-6576401a.entry.js} +1 -1
- package/lib/duet/{p-3b147393.entry.js → p-65e434a5.entry.js} +1 -1
- package/lib/duet/{p-113d90cb.system.entry.js → p-69fba9fe.system.entry.js} +1 -1
- package/lib/duet/{p-9a613a25.system.entry.js → p-6a972453.system.entry.js} +1 -1
- package/lib/duet/{p-0f1ec9c0.entry.js → p-6b2876f1.entry.js} +1 -1
- package/lib/duet/{p-08f2114a.entry.js → p-6cae9d4b.entry.js} +1 -1
- package/lib/duet/{p-e90b5865.system.entry.js → p-6e6ececd.system.entry.js} +1 -1
- package/lib/duet/{p-35990684.entry.js → p-6f891451.entry.js} +1 -1
- package/lib/duet/{p-ed961bc6.system.entry.js → p-71ef1651.system.entry.js} +1 -1
- package/lib/duet/{p-5eb2a31f.system.entry.js → p-73f176dc.system.entry.js} +1 -1
- package/lib/duet/{p-56bdad28.system.entry.js → p-75243a15.system.entry.js} +1 -1
- package/lib/duet/{p-c801ebee.entry.js → p-785ff4f2.entry.js} +1 -1
- package/lib/duet/{p-3639371a.system.entry.js → p-793d7e04.system.entry.js} +1 -1
- package/lib/duet/{p-a91c8a42.system.entry.js → p-7a085479.system.entry.js} +1 -1
- package/lib/duet/{p-54fbdedf.entry.js → p-7a832531.entry.js} +1 -1
- package/lib/duet/p-7a91a53e.system.entry.js +4 -0
- package/lib/duet/{p-2c78c637.system.entry.js → p-7b5cd54a.system.entry.js} +1 -1
- package/lib/duet/{p-9cba7f04.system.entry.js → p-7b847e11.system.entry.js} +1 -1
- package/lib/duet/{p-b0ab2ead.system.entry.js → p-7bbc5a65.system.entry.js} +1 -1
- package/lib/duet/{p-9f835123.system.entry.js → p-7e833901.system.entry.js} +1 -1
- package/lib/duet/{p-4f770f51.system.entry.js → p-81230084.system.entry.js} +1 -1
- package/lib/duet/{p-f75a1805.system.entry.js → p-8920edb7.system.entry.js} +1 -1
- package/lib/duet/{p-0606cea3.entry.js → p-8a16fb3c.entry.js} +1 -1
- package/lib/duet/{p-0c702d36.entry.js → p-8bc5df74.entry.js} +1 -1
- package/lib/duet/{p-c79a0641.entry.js → p-8cf2feaa.entry.js} +1 -1
- package/lib/duet/{p-fcbb30e1.entry.js → p-8d69624a.entry.js} +1 -1
- package/lib/duet/{p-39078c27.system.entry.js → p-8d8bdf90.system.entry.js} +2 -2
- package/lib/duet/{p-301ddafe.entry.js → p-8e414050.entry.js} +1 -1
- package/lib/duet/{p-0e89cbae.system.entry.js → p-8eb82556.system.entry.js} +1 -1
- package/lib/duet/{p-e6168195.entry.js → p-903efe1d.entry.js} +1 -1
- package/lib/duet/{p-79faf440.system.entry.js → p-9192de69.system.entry.js} +1 -1
- package/lib/duet/{p-e9be64de.system.entry.js → p-9308c47c.system.entry.js} +1 -1
- package/lib/duet/{p-61d39730.entry.js → p-97488cc9.entry.js} +1 -1
- package/lib/duet/{p-a0ecfa13.system.entry.js → p-97d72f16.system.entry.js} +1 -1
- package/lib/duet/{p-a8878fd3.entry.js → p-9aa0ebba.entry.js} +1 -1
- package/lib/duet/{p-30bd8807.entry.js → p-9de9d3eb.entry.js} +1 -1
- package/lib/duet/{p-8bf363f4.system.entry.js → p-9ec69dbc.system.entry.js} +1 -1
- package/lib/duet/{p-ccef6554.system.entry.js → p-9f39d6de.system.entry.js} +1 -1
- package/lib/duet/{p-c08928e1.system.entry.js → p-9fb3e7b4.system.entry.js} +1 -1
- package/lib/duet/{p-9e2a2cf7.entry.js → p-a4dd147b.entry.js} +1 -1
- package/lib/duet/{p-fab7c1ed.entry.js → p-a5504252.entry.js} +1 -1
- package/lib/duet/{p-50ec2074.entry.js → p-a59b5059.entry.js} +1 -1
- package/lib/duet/{p-716329a7.system.entry.js → p-aa6ad573.system.entry.js} +1 -1
- package/lib/duet/{p-8855bd51.entry.js → p-ab2da6f9.entry.js} +1 -1
- package/lib/duet/{p-032a613f.system.entry.js → p-ad0179fa.system.entry.js} +1 -1
- package/lib/duet/{p-ed011021.system.entry.js → p-ad3021d3.system.entry.js} +1 -1
- package/lib/duet/{p-1a877bd1.system.entry.js → p-ad5e3c9c.system.entry.js} +1 -1
- package/lib/duet/{p-bfeeee67.system.entry.js → p-b022a3d5.system.entry.js} +2 -2
- package/lib/duet/{p-50f4319b.system.entry.js → p-b036d4f0.system.entry.js} +1 -1
- package/lib/duet/{p-98d01f1c.system.entry.js → p-b27b1902.system.entry.js} +1 -1
- package/lib/duet/{p-1b3fde48.entry.js → p-b54be005.entry.js} +1 -1
- package/lib/duet/{p-37af6296.system.entry.js → p-b5831260.system.entry.js} +1 -1
- package/lib/duet/p-b5ffa156.entry.js +4 -0
- package/lib/duet/{p-b46fa994.system.entry.js → p-b62108c8.system.entry.js} +2 -2
- package/lib/duet/{p-6205bcb4.entry.js → p-b62ed1f0.entry.js} +1 -1
- package/lib/duet/{p-bdc59646.entry.js → p-b6af2626.entry.js} +1 -1
- package/lib/duet/{p-0558a17e.system.entry.js → p-b868bb09.system.entry.js} +1 -1
- package/lib/duet/{p-ff09528c.system.entry.js → p-b8b0249f.system.entry.js} +1 -1
- package/lib/duet/{p-def3df7d.entry.js → p-bc16a555.entry.js} +1 -1
- package/lib/duet/p-bcd1e9d8.system.entry.js +4 -0
- package/lib/duet/{p-ee796d5e.system.entry.js → p-bd97fff1.system.entry.js} +1 -1
- package/lib/duet/{p-e1d3c21e.entry.js → p-bf0e9413.entry.js} +1 -1
- package/lib/duet/{p-e3ffb537.system.entry.js → p-bf3bf531.system.entry.js} +1 -1
- package/lib/duet/{p-58a08a7b.system.entry.js → p-c0152624.system.entry.js} +1 -1
- package/lib/duet/{p-6da4db52.system.entry.js → p-c0c9acd9.system.entry.js} +1 -1
- package/lib/duet/{p-7a46b4ef.system.entry.js → p-c565698d.system.entry.js} +1 -1
- package/lib/duet/p-cb69ce4a.entry.js +4 -0
- package/lib/duet/{p-64b323bf.entry.js → p-cd8177fe.entry.js} +1 -1
- package/lib/duet/{p-68f3526e.entry.js → p-cfb85117.entry.js} +1 -1
- package/lib/duet/{p-c5725fee.system.entry.js → p-d13cb6f4.system.entry.js} +1 -1
- package/lib/duet/{p-efa6152d.entry.js → p-d2681203.entry.js} +1 -1
- package/lib/duet/{p-bf3331ed.entry.js → p-d3069a7b.entry.js} +1 -1
- package/lib/duet/{p-c23bf76f.system.entry.js → p-d32e9ae1.system.entry.js} +1 -1
- package/lib/duet/{p-13915ce0.entry.js → p-d41e819d.entry.js} +1 -1
- package/lib/duet/{p-463ddc2c.system.entry.js → p-d5d57b8f.system.entry.js} +1 -1
- package/lib/duet/{p-95df823b.entry.js → p-d73f7574.entry.js} +1 -1
- package/lib/duet/{p-ed8f7cac.entry.js → p-d8104d1b.entry.js} +1 -1
- package/lib/duet/{p-d5a9cfac.entry.js → p-d8ee9cc9.entry.js} +1 -1
- package/lib/duet/{p-7671b7b7.system.js → p-da20db91.system.js} +1 -1
- package/lib/duet/{p-5311f96e.system.entry.js → p-db14fdfd.system.entry.js} +1 -1
- package/lib/duet/{p-c4e79927.entry.js → p-dce5a6f9.entry.js} +1 -1
- package/lib/duet/p-dcfe6e27.system.entry.js +4 -0
- package/lib/duet/{p-8eff5e91.system.entry.js → p-e1f6b6f3.system.entry.js} +2 -2
- package/lib/duet/p-e3574b05.entry.js +4 -0
- package/lib/duet/{p-051488a0.system.entry.js → p-e3a8dcb3.system.entry.js} +1 -1
- package/lib/duet/{p-d02b92fa.entry.js → p-e3c5663f.entry.js} +1 -1
- package/lib/duet/{p-e4aa049f.system.entry.js → p-e6bd0e51.system.entry.js} +1 -1
- package/lib/duet/p-e79bf1c2.entry.js +4 -0
- package/lib/duet/{p-995e1b11.system.entry.js → p-e96a5f8b.system.entry.js} +1 -1
- package/lib/duet/{p-cef36d14.system.entry.js → p-ebe22b98.system.entry.js} +1 -1
- package/lib/duet/{p-5c0de81a.system.entry.js → p-ec98691e.system.entry.js} +1 -1
- package/lib/duet/p-f009e108.entry.js +4 -0
- package/lib/duet/{p-5ae9b74f.entry.js → p-f0dc0a5b.entry.js} +1 -1
- package/lib/duet/{p-da9fe13c.system.entry.js → p-f1d894da.system.entry.js} +1 -1
- package/lib/duet/{p-96f66e14.system.entry.js → p-f25e57fe.system.entry.js} +1 -1
- package/lib/duet/{p-efdbddb5.system.js → p-f3bf4d40.system.js} +1 -1
- package/lib/duet/{p-80d1a5d3.entry.js → p-f4493cb6.entry.js} +1 -1
- package/lib/duet/p-f7b58d72.system.js +5 -0
- package/lib/duet/{p-e7a22d84.system.entry.js → p-f8c64564.system.entry.js} +1 -1
- package/lib/duet/p-fabb616b.js +4 -0
- package/lib/duet/{p-5c5012f6.system.entry.js → p-fb30fcb0.system.entry.js} +1 -1
- package/lib/duet/{p-d4d7d607.system.entry.js → p-fb8a5b68.system.entry.js} +1 -1
- package/lib/duet/{p-34b5285b.system.entry.js → p-fc0fe631.system.entry.js} +2 -2
- package/lib/duet/{p-e491c098.system.entry.js → p-fc4f175f.system.entry.js} +1 -1
- package/lib/duet/{p-7de467b8.entry.js → p-ff815e47.entry.js} +1 -1
- package/lib/esm/app-globals-41b37f11.js +52 -0
- package/lib/esm/{common-strings-c0ac5a0b.js → common-strings-59db6973.js} +6 -6
- package/lib/esm/create-id-149a1b6d.js +11 -0
- package/lib/esm/duet-action-button.entry.js +133 -133
- package/lib/esm/duet-alert.entry.js +106 -106
- package/lib/esm/duet-badge.entry.js +29 -29
- package/lib/esm/duet-banner.entry.js +52 -52
- package/lib/esm/duet-breadcrumb.entry.js +41 -41
- package/lib/esm/duet-breadcrumbs.entry.js +51 -51
- package/lib/esm/duet-button_2.entry.js +229 -229
- package/lib/esm/duet-callout.entry.js +28 -28
- package/lib/esm/duet-caption_4.entry.js +187 -187
- package/lib/esm/duet-card.entry.js +93 -93
- package/lib/esm/duet-checkbox.entry.js +85 -85
- package/lib/esm/duet-checkmark.entry.js +23 -23
- package/lib/esm/duet-chip.entry.js +182 -182
- package/lib/esm/duet-choice_2.entry.js +392 -392
- package/lib/esm/duet-collapsible.entry.js +98 -98
- package/lib/esm/duet-combobox.entry.js +362 -362
- package/lib/esm/duet-contact-card.entry.js +49 -49
- package/lib/esm/duet-cookie-consent.entry.js +35 -35
- package/lib/esm/duet-date-picker.entry.js +610 -610
- package/lib/esm/duet-divider_2.entry.js +53 -53
- package/lib/esm/duet-editable-table_3.entry.js +1247 -1247
- package/lib/esm/duet-empty-state.entry.js +26 -26
- package/lib/esm/duet-fieldset.entry.js +50 -50
- package/lib/esm/duet-file-chooser.entry.js +44 -44
- package/lib/esm/duet-footer.entry.js +118 -118
- package/lib/esm/duet-grid_2.entry.js +185 -185
- package/lib/esm/duet-header_2.entry.js +610 -610
- package/lib/esm/duet-hero.entry.js +172 -172
- package/lib/esm/duet-icon.entry.js +141 -141
- package/lib/esm/duet-input_2.entry.js +346 -346
- package/lib/esm/duet-layout.entry.js +51 -51
- package/lib/esm/duet-list_2.entry.js +99 -99
- package/lib/esm/duet-menu-bar-button.entry.js +70 -70
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +44 -44
- package/lib/esm/duet-menu-bar-dropdown.entry.js +93 -93
- package/lib/esm/duet-menu-bar-link.entry.js +58 -58
- package/lib/esm/duet-menu-bar.entry.js +116 -116
- package/lib/esm/duet-modal.entry.js +188 -188
- package/lib/esm/duet-multiselect.entry.js +206 -206
- package/lib/esm/duet-nav.entry.js +20 -20
- package/lib/esm/duet-notification_2.entry.js +140 -140
- package/lib/esm/duet-number-input.entry.js +337 -337
- package/lib/esm/duet-page-heading.entry.js +26 -26
- package/lib/esm/duet-pagination_2.entry.js +511 -511
- package/lib/esm/duet-popup-menu-item.entry.js +62 -62
- package/lib/esm/duet-popup-menu.entry.js +147 -147
- package/lib/esm/duet-progress.entry.js +54 -54
- package/lib/esm/duet-promo-card.entry.js +40 -40
- package/lib/esm/duet-radio_2.entry.js +197 -197
- package/lib/esm/duet-range-slider.entry.js +105 -105
- package/lib/esm/duet-scrollable_3.entry.js +384 -386
- package/lib/esm/duet-section-layout.entry.js +21 -21
- package/lib/esm/duet-select.entry.js +156 -156
- package/lib/esm/duet-shaped-image.entry.js +28 -28
- package/lib/esm/duet-show-more.entry.js +98 -98
- package/lib/esm/duet-slideout-lang.entry.js +36 -36
- package/lib/esm/duet-slideout-link.entry.js +33 -33
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +50 -50
- package/lib/esm/duet-slideout-panel.entry.js +120 -120
- package/lib/esm/duet-slideout.entry.js +194 -194
- package/lib/esm/duet-step_2.entry.js +182 -184
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +36 -36
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +103 -103
- package/lib/esm/duet-submenu-bar-link.entry.js +59 -59
- package/lib/esm/duet-submenu-bar.entry.js +110 -110
- package/lib/esm/duet-textarea.entry.js +160 -160
- package/lib/esm/duet-toggle.entry.js +72 -72
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +35 -35
- package/lib/esm/duet-toolbar-dropdown.entry.js +59 -59
- package/lib/esm/duet-toolbar-link.entry.js +31 -31
- package/lib/esm/duet-toolbar.entry.js +34 -34
- package/lib/esm/duet-tooltip-button_2.entry.js +98 -80
- package/lib/esm/duet-tooltip.entry.js +185 -187
- package/lib/esm/duet-tray.entry.js +82 -82
- package/lib/esm/duet-upload-aria-status.entry.js +65 -65
- package/lib/esm/duet-upload-item.entry.js +81 -81
- package/lib/esm/duet-visually-hidden.entry.js +12 -12
- package/lib/esm/duet.js +5 -5
- package/lib/esm/errorcodes.utils-e681347c.js +36 -0
- package/lib/esm/focus-utils-d54af982.js +18 -0
- package/lib/esm/{index-b3bf9761.js → index-d4489a2e.js} +106 -45
- package/lib/esm/input-utils-85681162.js +53 -0
- package/lib/esm/is-internet-explorer-2c48f686.js +9 -0
- package/lib/{dist-custom-elements/p-3d8d557b.js → esm/js-utils-9b9e0039.js} +27 -27
- package/lib/esm/{language-utils-9ff76444.js → language-utils-00ca4c55.js} +74 -74
- package/lib/esm/loader.js +4 -4
- package/lib/{dist-custom-elements/p-f8c76b25.js → esm/slot-query-022710bb.js} +1 -1
- package/lib/esm/string-utils-ca039233.js +55 -0
- package/lib/esm/teleport-4462e8c1.js +97 -0
- package/lib/esm/themeable-component-724c0f7e.js +13 -0
- package/lib/esm/token-utils-b4bd3ec7.js +117 -0
- package/lib/esm/watch-options-e96ecd92.js +57 -0
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu-item.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +2 -2
- package/lib/esm-es5/duet-step_2.entry.js +2 -2
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +2 -2
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +1 -1
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{errorcodes.utils-424b1197.js → errorcodes.utils-e681347c.js} +1 -1
- package/lib/esm-es5/focus-utils-d54af982.js +4 -0
- package/lib/esm-es5/index-d4489a2e.js +5 -0
- package/lib/esm-es5/{language-utils-9ff76444.js → language-utils-00ca4c55.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/types/common/a11y-component.d.ts +7 -7
- package/lib/types/common/form-components.d.ts +15 -15
- package/lib/types/common/themeable-component.d.ts +4 -4
- package/lib/types/components/duet-action-button/duet-action-button.d.ts +126 -126
- package/lib/types/components/duet-alert/duet-alert.d.ts +100 -100
- package/lib/types/components/duet-badge/duet-badge.d.ts +27 -27
- package/lib/types/components/duet-banner/duet-banner.d.ts +58 -58
- package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +32 -32
- package/lib/types/components/duet-breadcrumbs/duet-breadcrumbs.d.ts +23 -23
- package/lib/types/components/duet-button/duet-button.d.ts +219 -219
- package/lib/types/components/duet-callout/duet-callout.d.ts +19 -19
- package/lib/types/components/duet-caption/duet-caption.d.ts +26 -26
- package/lib/types/components/duet-card/duet-card.d.ts +119 -119
- package/lib/types/components/duet-checkbox/duet-checkbox.d.ts +132 -132
- package/lib/types/components/duet-chip/duet-chip.d.ts +109 -109
- package/lib/types/components/duet-choice/duet-checkmark.d.ts +27 -27
- package/lib/types/components/duet-choice/duet-choice.d.ts +259 -259
- package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +103 -103
- package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +88 -88
- package/lib/types/components/duet-combobox/duet-combobox-select-single.d.ts +3 -3
- package/lib/types/components/duet-combobox/duet-combobox-select.d.ts +8 -8
- package/lib/types/components/duet-combobox/duet-combobox.d.ts +135 -135
- package/lib/types/components/duet-contact-card/duet-contact-card.d.ts +60 -60
- package/lib/types/components/duet-cookie-consent/duet-cookie-consent.d.ts +29 -29
- package/lib/types/components/duet-date-picker/date-i18n.d.ts +13 -13
- package/lib/types/components/duet-date-picker/date-picker-day.d.ts +9 -9
- package/lib/types/components/duet-date-picker/date-picker-input.d.ts +28 -28
- package/lib/types/components/duet-date-picker/date-picker-month.d.ts +12 -12
- package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +220 -220
- package/lib/types/components/duet-divider/duet-divider.d.ts +26 -26
- package/lib/types/components/duet-editable-table/duet-editable-table-tabledata.d.ts +3 -3
- package/lib/types/components/duet-editable-table/duet-editable-table.d.ts +133 -133
- package/lib/types/components/duet-empty-state/duet-empty-state.d.ts +22 -22
- package/lib/types/components/duet-fieldset/duet-fieldset.d.ts +60 -60
- package/lib/types/components/duet-file-chooser/duet-file-chooser.d.ts +35 -35
- package/lib/types/components/duet-footer/duet-footer.d.ts +143 -143
- package/lib/types/components/duet-grid/duet-grid.d.ts +73 -73
- package/lib/types/components/duet-grid-item/duet-grid-item.d.ts +49 -49
- package/lib/types/components/duet-header/duet-header-dropdown.d.ts +11 -11
- package/lib/types/components/duet-header/duet-header-icon.d.ts +3 -3
- package/lib/types/components/duet-header/duet-header.d.ts +347 -347
- package/lib/types/components/duet-heading/duet-heading.d.ts +49 -49
- package/lib/types/components/duet-hero/duet-hero.d.ts +198 -198
- package/lib/types/components/duet-icon/duet-icon.d.ts +79 -79
- package/lib/types/components/duet-input/duet-input.d.ts +279 -279
- package/lib/types/components/duet-label/duet-label.d.ts +26 -26
- package/lib/types/components/duet-layout/duet-layout.d.ts +48 -48
- package/lib/types/components/duet-link/duet-link.d.ts +94 -94
- package/lib/types/components/duet-list/duet-list.d.ts +60 -60
- package/lib/types/components/duet-list-item/duet-list-item.d.ts +17 -17
- package/lib/types/components/duet-logo/duet-logo.d.ts +59 -59
- package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +68 -68
- package/lib/types/components/duet-menu-bar-button/duet-menu-bar-button.d.ts +84 -84
- package/lib/types/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.d.ts +49 -49
- package/lib/types/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.d.ts +36 -36
- package/lib/types/components/duet-menu-bar-link/duet-menu-bar-link.d.ts +44 -44
- package/lib/types/components/duet-modal/duet-modal.d.ts +155 -155
- package/lib/types/components/duet-multiselect/duet-multiselect.d.ts +153 -153
- package/lib/types/components/duet-nav/duet-nav.d.ts +20 -20
- package/lib/types/components/duet-notification/duet-notification.d.ts +55 -55
- package/lib/types/components/duet-notification-drawer/duet-notification-drawer.d.ts +83 -83
- package/lib/types/components/duet-number-input/duet-number-input.d.ts +230 -230
- package/lib/types/components/duet-page-heading/duet-page-heading.d.ts +25 -25
- package/lib/types/components/duet-pagination/duet-pagination.d.ts +129 -129
- package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +38 -38
- package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +80 -80
- package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +73 -73
- package/lib/types/components/duet-progress/duet-progress.d.ts +71 -71
- package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +42 -42
- package/lib/types/components/duet-radio/duet-radio.d.ts +145 -145
- package/lib/types/components/duet-radio-group/duet-radio-group.d.ts +93 -93
- package/lib/types/components/duet-range-slider/duet-range-slider.d.ts +130 -130
- package/lib/types/components/duet-range-stepper/duet-range-stepper.d.ts +68 -68
- package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +61 -61
- package/lib/types/components/duet-section-layout/duet-section-layout.d.ts +17 -17
- package/lib/types/components/duet-select/duet-select.d.ts +179 -179
- package/lib/types/components/duet-shaped-image/duet-shaped-image.d.ts +30 -30
- package/lib/types/components/duet-show-more/duet-show-more.d.ts +83 -83
- package/lib/types/components/duet-slideout/duet-slideout.d.ts +86 -86
- package/lib/types/components/duet-slideout-lang/duet-slideout-lang.d.ts +24 -24
- package/lib/types/components/duet-slideout-link/duet-slideout-link.d.ts +55 -55
- package/lib/types/components/duet-slideout-panel/duet-slideout-panel.d.ts +55 -55
- package/lib/types/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.d.ts +39 -39
- package/lib/types/components/duet-spacer/duet-spacer.d.ts +18 -18
- package/lib/types/components/duet-spinner/duet-spinner.d.ts +30 -30
- package/lib/types/components/duet-step/duet-step.d.ts +66 -66
- package/lib/types/components/duet-stepper/duet-stepper.d.ts +47 -47
- package/lib/types/components/duet-submenu-bar/duet-submenu-bar.d.ts +50 -50
- package/lib/types/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.d.ts +47 -47
- package/lib/types/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.d.ts +43 -43
- package/lib/types/components/duet-submenu-bar-link/duet-submenu-bar-link.d.ts +39 -39
- package/lib/types/components/duet-tab/duet-tab.d.ts +37 -37
- package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +132 -132
- package/lib/types/components/duet-table/duet-table.d.ts +66 -66
- package/lib/types/components/duet-textarea/duet-textarea.d.ts +200 -200
- package/lib/types/components/duet-toggle/duet-toggle.d.ts +113 -113
- package/lib/types/components/duet-toolbar/duet-toolbar.d.ts +30 -30
- package/lib/types/components/duet-toolbar-dropdown/duet-toolbar-dropdown.d.ts +50 -50
- package/lib/types/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.d.ts +43 -43
- package/lib/types/components/duet-toolbar-link/duet-toolbar-link.d.ts +42 -42
- package/lib/types/components/duet-tooltip/duet-tooltip-button.d.ts +22 -19
- package/lib/types/components/duet-tooltip/duet-tooltip-popup.d.ts +34 -31
- package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +122 -122
- package/lib/types/components/duet-tray/duet-tray.d.ts +84 -84
- package/lib/types/components/duet-upload/duet-upload.d.ts +484 -484
- package/lib/types/components/duet-upload/errorcodes.utils.d.ts +3 -3
- package/lib/types/components/duet-upload/upload-editable-item-error.d.ts +2 -2
- package/lib/types/components/duet-upload/upload-editable-item-inprogres.d.ts +2 -2
- package/lib/types/components/duet-upload/upload-editable-item-pending.d.ts +1 -1
- package/lib/types/components/duet-upload/upload-editable-item-success.d.ts +2 -2
- package/lib/types/components/duet-upload/upload-item-header.d.ts +2 -2
- package/lib/types/components/duet-upload/upload-validators.d.ts +4 -4
- package/lib/types/components/duet-upload/xhr.helpers.d.ts +10 -10
- package/lib/types/components/duet-upload-aria-status/duet-upload-aria-status.d.ts +40 -40
- package/lib/types/components/duet-upload-item/duet-upload-item.d.ts +54 -54
- package/lib/types/components/duet-visually-hidden/duet-visually-hidden.d.ts +6 -6
- package/lib/types/stencil-public-runtime.d.ts +8 -0
- package/lib/types/utils/axe-core-utils.d.ts +3 -3
- package/lib/types/utils/fixture-utils.d.ts +2 -2
- package/lib/types/utils/focus-utils.d.ts +2 -2
- package/lib/types/utils/language-utils.d.ts +10 -10
- package/lib/types/utils/picture-utils.d.ts +10 -10
- package/lib/types/utils/teleport.d.ts +20 -20
- package/lib/types/utils/template-utils.d.ts +1 -1
- package/lib/types/utils/test-utils.d.ts +2 -2
- package/lib/types/utils/token-utils.d.ts +9 -9
- package/package.json +6 -6
- package/lib/cjs/app-globals-4ab83f59.js +0 -54
- package/lib/cjs/create-id-167cd350.js +0 -13
- package/lib/cjs/errorcodes.utils-8e928de5.js +0 -39
- package/lib/cjs/focus-utils-aea9f4e1.js +0 -21
- package/lib/cjs/input-utils-b4615782.js +0 -56
- package/lib/cjs/string-utils-51a2f59f.js +0 -59
- package/lib/cjs/teleport-af825e04.js +0 -99
- package/lib/cjs/themeable-component-0be6d1f4.js +0 -15
- package/lib/cjs/token-utils-dbfeff2e.js +0 -124
- package/lib/cjs/watch-options-1773d69f.js +0 -61
- package/lib/dist-custom-elements/p-03ac3eb3.js +0 -137
- package/lib/dist-custom-elements/p-1a395a8d.js +0 -55
- package/lib/dist-custom-elements/p-1ce55654.js +0 -265
- package/lib/dist-custom-elements/p-1f56e02f.js +0 -174
- package/lib/dist-custom-elements/p-24853ebf.js +0 -97
- package/lib/dist-custom-elements/p-268171f7.js +0 -9
- package/lib/dist-custom-elements/p-3049dfd5.js +0 -147
- package/lib/dist-custom-elements/p-45f71a69.js +0 -11
- package/lib/dist-custom-elements/p-4687ca41.js +0 -465
- package/lib/dist-custom-elements/p-5d8d9a52.js +0 -98
- package/lib/dist-custom-elements/p-62e68de8.js +0 -38
- package/lib/dist-custom-elements/p-64cd1abb.js +0 -93
- package/lib/dist-custom-elements/p-665418f0.js +0 -205
- package/lib/dist-custom-elements/p-759c725f.js +0 -226
- package/lib/dist-custom-elements/p-77f2dbee.js +0 -53
- package/lib/dist-custom-elements/p-80ec4336.js +0 -123
- package/lib/dist-custom-elements/p-8be301dd.js +0 -62
- package/lib/dist-custom-elements/p-9541f0b6.js +0 -59
- package/lib/dist-custom-elements/p-a1371eee.js +0 -57
- package/lib/dist-custom-elements/p-a3923b18.js +0 -126
- package/lib/dist-custom-elements/p-c5032d3a.js +0 -18
- package/lib/dist-custom-elements/p-d48735b6.js +0 -13
- package/lib/dist-custom-elements/p-e19d1e27.js +0 -117
- package/lib/dist-custom-elements/p-e6b07569.js +0 -271
- package/lib/dist-custom-elements/p-e77f7fff.js +0 -60
- package/lib/dist-custom-elements/p-f27e355b.js +0 -76
- package/lib/dist-custom-elements/p-f46be918.js +0 -110
- package/lib/dist-custom-elements/p-fd4877d1.js +0 -72
- package/lib/dist-custom-elements/p-fe8a2205.js +0 -206
- package/lib/duet/p-08764d71.entry.js +0 -4
- package/lib/duet/p-0a664ebb.entry.js +0 -4
- package/lib/duet/p-11571ab9.entry.js +0 -4
- package/lib/duet/p-4669b0af.js +0 -4
- package/lib/duet/p-486eec2d.entry.js +0 -4
- package/lib/duet/p-4dc0fff9.entry.js +0 -4
- package/lib/duet/p-52806dad.system.entry.js +0 -4
- package/lib/duet/p-6c4c0279.js +0 -5
- package/lib/duet/p-7bca584a.entry.js +0 -4
- package/lib/duet/p-7c36b779.entry.js +0 -4
- package/lib/duet/p-821c350f.system.entry.js +0 -4
- package/lib/duet/p-a0660ffa.system.js +0 -5
- package/lib/duet/p-ac9f6601.entry.js +0 -4
- package/lib/duet/p-b3ae5641.system.entry.js +0 -4
- package/lib/duet/p-c1bc9249.entry.js +0 -4
- package/lib/duet/p-d098d59c.system.entry.js +0 -4
- package/lib/duet/p-f58eb425.js +0 -4
- package/lib/duet/p-fab6160a.entry.js +0 -4
- package/lib/esm/app-globals-de2a5510.js +0 -52
- package/lib/esm/create-id-2b0cd46d.js +0 -11
- package/lib/esm/errorcodes.utils-424b1197.js +0 -36
- package/lib/esm/focus-utils-74961919.js +0 -18
- package/lib/esm/input-utils-a0225b92.js +0 -53
- package/lib/esm/is-internet-explorer-032d4dae.js +0 -9
- package/lib/esm/string-utils-59ad4cb2.js +0 -55
- package/lib/esm/teleport-15747328.js +0 -97
- package/lib/esm/themeable-component-fdce4fd7.js +0 -13
- package/lib/esm/token-utils-46c8fe31.js +0 -117
- package/lib/esm/watch-options-f189118b.js +0 -57
- package/lib/esm-es5/focus-utils-74961919.js +0 -4
- package/lib/esm-es5/index-b3bf9761.js +0 -5
- /package/lib/duet/{p-b1db3006.js → p-0782a6e5.js} +0 -0
- /package/lib/duet/{p-1a395a8d.js → p-0e052642.js} +0 -0
- /package/lib/duet/{p-f8c76b25.js → p-11230037.js} +0 -0
- /package/lib/duet/{p-0b31864f.js → p-38320af8.js} +0 -0
- /package/lib/duet/{p-c30a5f7c.system.js → p-41982d26.system.js} +0 -0
- /package/lib/duet/{p-268171f7.js → p-43b89e38.js} +0 -0
- /package/lib/duet/{p-274d11e3.js → p-4ab776f4.js} +0 -0
- /package/lib/duet/{p-77b6e4ba.system.js → p-50f4bca2.system.js} +0 -0
- /package/lib/duet/{p-45f71a69.js → p-5e59e970.js} +0 -0
- /package/lib/duet/{p-75daef16.system.js → p-634e8787.system.js} +0 -0
- /package/lib/duet/{p-719b38fe.system.js → p-67c653f9.system.js} +0 -0
- /package/lib/duet/{p-b99c00fa.system.js → p-6ef75455.system.js} +0 -0
- /package/lib/duet/{p-a1371eee.js → p-7d8a2628.js} +0 -0
- /package/lib/duet/{p-21f3a17a.system.js → p-81a6df68.system.js} +0 -0
- /package/lib/duet/{p-ecf1f6cd.system.js → p-9e36548d.system.js} +0 -0
- /package/lib/duet/{p-3d8d557b.js → p-9e371678.js} +0 -0
- /package/lib/duet/{p-d48735b6.js → p-a58bd561.js} +0 -0
- /package/lib/duet/{p-8e1da663.system.js → p-afad5fd3.system.js} +0 -0
- /package/lib/duet/{p-24853ebf.js → p-b2e550a3.js} +0 -0
- /package/lib/duet/{p-7c29d36a.system.js → p-b864159a.system.js} +0 -0
- /package/lib/duet/{p-88a50491.system.js → p-d1cedaa1.system.js} +0 -0
- /package/lib/duet/{p-77f2dbee.js → p-df7874f9.js} +0 -0
- /package/lib/duet/{p-87dd7bf3.system.js → p-e12066c8.system.js} +0 -0
- /package/lib/duet/{p-1a91e22a.system.js → p-e6b5a1c7.system.js} +0 -0
- /package/lib/esm-es5/{app-globals-de2a5510.js → app-globals-41b37f11.js} +0 -0
- /package/lib/esm-es5/{common-strings-c0ac5a0b.js → common-strings-59db6973.js} +0 -0
- /package/lib/esm-es5/{create-id-2b0cd46d.js → create-id-149a1b6d.js} +0 -0
- /package/lib/esm-es5/{input-utils-a0225b92.js → input-utils-85681162.js} +0 -0
- /package/lib/esm-es5/{is-internet-explorer-032d4dae.js → is-internet-explorer-2c48f686.js} +0 -0
- /package/lib/esm-es5/{js-utils-a35dcc8c.js → js-utils-9b9e0039.js} +0 -0
- /package/lib/esm-es5/{slot-query-7877f18f.js → slot-query-022710bb.js} +0 -0
- /package/lib/esm-es5/{string-utils-59ad4cb2.js → string-utils-ca039233.js} +0 -0
- /package/lib/esm-es5/{teleport-15747328.js → teleport-4462e8c1.js} +0 -0
- /package/lib/esm-es5/{themeable-component-fdce4fd7.js → themeable-component-724c0f7e.js} +0 -0
- /package/lib/esm-es5/{token-utils-46c8fe31.js → token-utils-b4bd3ec7.js} +0 -0
- /package/lib/esm-es5/{watch-options-f189118b.js → watch-options-e96ecd92.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 { hasSlot, inheritGlobalTheme } from "../../common";
|
|
7
7
|
import { DuetStringsExternalDefaults } from "../../common-strings";
|
|
8
8
|
import { createID } from "../../utils/create-id";
|
|
@@ -18,1111 +18,1115 @@ import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLan
|
|
|
18
18
|
* @slot additional - Additional content. Anything inserted into this slot is displayed as additional content under the label and caption
|
|
19
19
|
*/
|
|
20
20
|
export class DuetChoice {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
21
|
+
constructor() {
|
|
22
|
+
this.hasHeader = false;
|
|
23
|
+
this.choiceId = createID("DuetChoice");
|
|
24
|
+
this.expandId = createID("DuetChoiceExpand");
|
|
25
|
+
this.headerId = createID("DuetChoiceHeader");
|
|
26
|
+
this.infoButtonId = createID("DuetChoiceInfoButton");
|
|
27
|
+
this.onMouseEnter = () => {
|
|
28
|
+
this.isHovering = true;
|
|
29
|
+
};
|
|
30
|
+
this.onMouseLeave = () => {
|
|
31
|
+
this.isHovering = false;
|
|
32
|
+
};
|
|
33
|
+
this.onClick = (ev) => {
|
|
34
|
+
this.toggleChecked(ev);
|
|
35
|
+
};
|
|
36
|
+
this.handleKeyDown = (ev) => {
|
|
37
|
+
if (isKeyboardClick(ev)) {
|
|
38
|
+
this.toggleChecked(ev);
|
|
39
|
+
}
|
|
40
|
+
if (isQuestionKey(ev) && this.hasInfo) {
|
|
41
|
+
this.toggleInfo();
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
this.onChange = () => {
|
|
45
|
+
this.checked = this.nativeInput.checked || false;
|
|
46
|
+
this.duetChange.emit({
|
|
47
|
+
checked: this.checked,
|
|
48
|
+
value: this.value,
|
|
49
|
+
component: "duet-choice",
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
this.onBlur = (ev) => {
|
|
53
|
+
this.duetBlur.emit({
|
|
54
|
+
originalEvent: ev,
|
|
55
|
+
checked: this.checked,
|
|
56
|
+
value: this.value,
|
|
57
|
+
component: "duet-choice",
|
|
58
|
+
});
|
|
59
|
+
};
|
|
60
|
+
this.onFocus = (ev) => {
|
|
61
|
+
this.duetFocus.emit({
|
|
62
|
+
originalEvent: ev,
|
|
63
|
+
checked: this.checked,
|
|
64
|
+
value: this.value,
|
|
65
|
+
component: "duet-choice",
|
|
66
|
+
});
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* Local methods
|
|
70
|
+
*/
|
|
71
|
+
this.toggleChecked = ev => {
|
|
72
|
+
ev.preventDefault();
|
|
73
|
+
ev.stopPropagation();
|
|
74
|
+
if (this.getDisabled()) {
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
this.isInfoOpen = false;
|
|
78
|
+
// if it's a radio button, and it's already checked
|
|
79
|
+
// we shouldn't fire an event, so exit early
|
|
80
|
+
if (this.type === "radio" && this.checked) {
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
this.checked = !this.checked;
|
|
84
|
+
this.duetChange.emit({
|
|
85
|
+
originalEvent: ev,
|
|
86
|
+
checked: this.checked,
|
|
87
|
+
value: this.value,
|
|
88
|
+
component: "duet-choice",
|
|
89
|
+
});
|
|
90
|
+
};
|
|
91
|
+
this.toggleInfo = () => {
|
|
92
|
+
this.isInfoOpen = !this.isInfoOpen;
|
|
93
|
+
if (this.isInfoOpen) {
|
|
94
|
+
setTimeout(() => {
|
|
95
|
+
var _a;
|
|
96
|
+
(_a = this.infoContainer) === null || _a === void 0 ? void 0 : _a.focus();
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
this.isHovering = false;
|
|
101
|
+
this.isInfoOpen = false;
|
|
102
|
+
this.isBlurred = false;
|
|
103
|
+
this.theme = "";
|
|
104
|
+
this.label = "label";
|
|
105
|
+
this.accessibleLabelInfoButtonDefaults = DuetStringsExternalDefaults;
|
|
106
|
+
this.accessibleLabelInfoButton = getLocaleString(this.accessibleLabelInfoButtonDefaults);
|
|
107
|
+
this.accessibleActiveDescendant = undefined;
|
|
108
|
+
this.accessibleControls = undefined;
|
|
109
|
+
this.accessibleOwns = undefined;
|
|
110
|
+
this.accessibleDescribedBy = undefined;
|
|
111
|
+
this.accessibleDetails = undefined;
|
|
112
|
+
this.accessibleLabelledBy = undefined;
|
|
113
|
+
this.accessibleDescription = undefined;
|
|
114
|
+
this.caption = "";
|
|
115
|
+
this.value = undefined;
|
|
116
|
+
this.type = "checkbox";
|
|
117
|
+
this.name = undefined;
|
|
118
|
+
this.checked = false;
|
|
119
|
+
this.collapsible = false;
|
|
120
|
+
this.collapsibleForceExpanded = false;
|
|
121
|
+
this.margin = "auto";
|
|
122
|
+
this.icon = "";
|
|
123
|
+
this.expand = false;
|
|
124
|
+
this.padding = "auto";
|
|
125
|
+
this.identifier = undefined;
|
|
126
|
+
this.groupDirection = undefined;
|
|
127
|
+
this.groupDisabled = undefined;
|
|
128
|
+
this.groupResponsive = undefined;
|
|
129
|
+
this.disabled = false;
|
|
130
|
+
this.required = false;
|
|
131
|
+
this.infoLabelDefaults = {
|
|
132
|
+
fi: "Lisätietoja vaihtoehdosta",
|
|
133
|
+
en: "More information about",
|
|
134
|
+
sv: "Mera information om",
|
|
135
|
+
};
|
|
136
|
+
this.infoLabel = getLocaleString(this.infoLabelDefaults, getLanguage());
|
|
137
|
+
this.collapsibleNotificationDefaults = {
|
|
138
|
+
fi: "Tämä valinta sisältää lisätietoja, jotka avautuivat alle",
|
|
139
|
+
en: "This choice has additional information opened below",
|
|
140
|
+
sv: "Det här val har mer information som öppnades nedan",
|
|
141
|
+
};
|
|
142
|
+
this.collapsibleNotification = getLocaleString(this.collapsibleNotificationDefaults, getLanguage());
|
|
143
|
+
}
|
|
68
144
|
/**
|
|
69
|
-
*
|
|
145
|
+
* Component lifecycle events.
|
|
70
146
|
*/
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
this.isInfoOpen = !this.isInfoOpen;
|
|
93
|
-
if (this.isInfoOpen) {
|
|
94
|
-
setTimeout(() => {
|
|
95
|
-
var _a;
|
|
96
|
-
(_a = this.infoContainer) === null || _a === void 0 ? void 0 : _a.focus();
|
|
97
|
-
});
|
|
98
|
-
}
|
|
99
|
-
};
|
|
100
|
-
this.isHovering = false;
|
|
101
|
-
this.isInfoOpen = false;
|
|
102
|
-
this.isBlurred = false;
|
|
103
|
-
this.theme = "";
|
|
104
|
-
this.label = "label";
|
|
105
|
-
this.accessibleLabelInfoButtonDefaults = DuetStringsExternalDefaults;
|
|
106
|
-
this.accessibleLabelInfoButton = getLocaleString(this.accessibleLabelInfoButtonDefaults);
|
|
107
|
-
this.accessibleActiveDescendant = undefined;
|
|
108
|
-
this.accessibleControls = undefined;
|
|
109
|
-
this.accessibleOwns = undefined;
|
|
110
|
-
this.accessibleDescribedBy = undefined;
|
|
111
|
-
this.accessibleDetails = undefined;
|
|
112
|
-
this.accessibleLabelledBy = undefined;
|
|
113
|
-
this.accessibleDescription = undefined;
|
|
114
|
-
this.caption = "";
|
|
115
|
-
this.value = undefined;
|
|
116
|
-
this.type = "checkbox";
|
|
117
|
-
this.name = undefined;
|
|
118
|
-
this.checked = false;
|
|
119
|
-
this.collapsible = false;
|
|
120
|
-
this.collapsibleForceExpanded = false;
|
|
121
|
-
this.margin = "auto";
|
|
122
|
-
this.icon = "";
|
|
123
|
-
this.expand = false;
|
|
124
|
-
this.padding = "auto";
|
|
125
|
-
this.identifier = undefined;
|
|
126
|
-
this.groupDirection = undefined;
|
|
127
|
-
this.groupDisabled = undefined;
|
|
128
|
-
this.groupResponsive = undefined;
|
|
129
|
-
this.disabled = false;
|
|
130
|
-
this.required = false;
|
|
131
|
-
this.infoLabelDefaults = {
|
|
132
|
-
fi: "Lisätietoja vaihtoehdosta",
|
|
133
|
-
en: "More information about",
|
|
134
|
-
sv: "Mera information om",
|
|
135
|
-
};
|
|
136
|
-
this.infoLabel = getLocaleString(this.infoLabelDefaults, getLanguage());
|
|
137
|
-
this.collapsibleNotificationDefaults = {
|
|
138
|
-
fi: "Tämä valinta sisältää lisätietoja, jotka avautuivat alle",
|
|
139
|
-
en: "This choice has additional information opened below",
|
|
140
|
-
sv: "Det här val har mer information som öppnades nedan",
|
|
141
|
-
};
|
|
142
|
-
this.collapsibleNotification = getLocaleString(this.collapsibleNotificationDefaults, getLanguage());
|
|
143
|
-
}
|
|
144
|
-
/**
|
|
145
|
-
* Component lifecycle events.
|
|
146
|
-
*/
|
|
147
|
-
componentWillLoad() {
|
|
148
|
-
inheritGlobalTheme(this);
|
|
149
|
-
this.hasInfo = hasSlot(this.element, "info");
|
|
150
|
-
this.hasHeader = hasSlot(this.element, "header");
|
|
151
|
-
this.hasAdditional = hasSlot(this.element, "additional");
|
|
152
|
-
this.hasLabel = hasSlot(this.element, "label");
|
|
153
|
-
this.hasBeforeText = hasSlot(this.element, "before-text");
|
|
154
|
-
this.duetChoiceReady.emit();
|
|
155
|
-
}
|
|
156
|
-
connectedCallback() {
|
|
157
|
-
connectLanguageChangeObserver(this, [
|
|
158
|
-
{ prop: "accessibleLabelInfoButton", defaults: "accessibleLabelInfoButtonDefaults" },
|
|
159
|
-
{ prop: "infoLabel", defaults: "infoLabelDefaults" },
|
|
160
|
-
{ prop: "collapsibleNotification", defaults: "collapsibleNotificationDefaults" },
|
|
161
|
-
]);
|
|
162
|
-
this.duetChoiceReady.emit();
|
|
163
|
-
}
|
|
164
|
-
disconnectedCallback() {
|
|
165
|
-
disconnectLanguageChangeObserver(this);
|
|
166
|
-
this.duetChoiceRemove.emit();
|
|
167
|
-
}
|
|
168
|
-
/**
|
|
169
|
-
* Component event handling.
|
|
170
|
-
*/
|
|
171
|
-
handleHostBlur(ev) {
|
|
147
|
+
componentWillLoad() {
|
|
148
|
+
inheritGlobalTheme(this);
|
|
149
|
+
this.hasInfo = hasSlot(this.element, "info");
|
|
150
|
+
this.hasHeader = hasSlot(this.element, "header");
|
|
151
|
+
this.hasAdditional = hasSlot(this.element, "additional");
|
|
152
|
+
this.hasLabel = hasSlot(this.element, "label");
|
|
153
|
+
this.hasBeforeText = hasSlot(this.element, "before-text");
|
|
154
|
+
this.duetChoiceReady.emit();
|
|
155
|
+
}
|
|
156
|
+
connectedCallback() {
|
|
157
|
+
connectLanguageChangeObserver(this, [
|
|
158
|
+
{ prop: "accessibleLabelInfoButton", defaults: "accessibleLabelInfoButtonDefaults" },
|
|
159
|
+
{ prop: "infoLabel", defaults: "infoLabelDefaults" },
|
|
160
|
+
{ prop: "collapsibleNotification", defaults: "collapsibleNotificationDefaults" },
|
|
161
|
+
]);
|
|
162
|
+
this.duetChoiceReady.emit();
|
|
163
|
+
}
|
|
164
|
+
disconnectedCallback() {
|
|
165
|
+
disconnectLanguageChangeObserver(this);
|
|
166
|
+
this.duetChoiceRemove.emit();
|
|
167
|
+
}
|
|
172
168
|
/**
|
|
173
|
-
*
|
|
169
|
+
* Component event handling.
|
|
174
170
|
*/
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
this.
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
handleHostKeyUp(ev) {
|
|
187
|
-
this.isKeyDown = false;
|
|
188
|
-
if (isEscapeKey(ev) && this.isInfoOpen) {
|
|
189
|
-
this.toggleInfo();
|
|
171
|
+
handleHostBlur(ev) {
|
|
172
|
+
/**
|
|
173
|
+
* When moving away from a choice, collapse the info bar to assist visually impared people on focusing
|
|
174
|
+
*/
|
|
175
|
+
if (this.hasInfo && this.isInfoOpen && this.isKeyDown) {
|
|
176
|
+
// @ts-ignore
|
|
177
|
+
const isTargetContainedInHost = this.element.contains(ev === null || ev === void 0 ? void 0 : ev.relatedTarget) || false;
|
|
178
|
+
if (!isTargetContainedInHost) {
|
|
179
|
+
this.toggleInfo();
|
|
180
|
+
}
|
|
181
|
+
}
|
|
190
182
|
}
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
* Sets focus on the specified `duet-choice`. Use this method instead of the global
|
|
194
|
-
* `input.focus()`.
|
|
195
|
-
*/
|
|
196
|
-
async setFocus(options) {
|
|
197
|
-
this.nativeInput.focus(options);
|
|
198
|
-
}
|
|
199
|
-
/**
|
|
200
|
-
* This method toggles the info section.
|
|
201
|
-
*/
|
|
202
|
-
async toggleInfoMethod() {
|
|
203
|
-
this.isInfoOpen = !this.isInfoOpen;
|
|
204
|
-
}
|
|
205
|
-
/**
|
|
206
|
-
* Should the collapsible content be announced by screen readers
|
|
207
|
-
*/
|
|
208
|
-
isCollapsibleAnnounceable() {
|
|
209
|
-
if (!this.collapsible || !this.getExpanded()) {
|
|
210
|
-
return false;
|
|
183
|
+
handleHostKeyDown() {
|
|
184
|
+
this.isKeyDown = true;
|
|
211
185
|
}
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
if (this.accessibleDescribedBy) {
|
|
218
|
-
return this.accessibleDescribedBy;
|
|
186
|
+
handleHostKeyUp(ev) {
|
|
187
|
+
this.isKeyDown = false;
|
|
188
|
+
if (isEscapeKey(ev) && this.isInfoOpen) {
|
|
189
|
+
this.toggleInfo();
|
|
190
|
+
}
|
|
219
191
|
}
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
}
|
|
227
|
-
else {
|
|
228
|
-
return `${this.choiceId}-collapsible-notification`;
|
|
229
|
-
}
|
|
192
|
+
/**
|
|
193
|
+
* Sets focus on the specified `duet-choice`. Use this method instead of the global
|
|
194
|
+
* `input.focus()`.
|
|
195
|
+
*/
|
|
196
|
+
async setFocus(options) {
|
|
197
|
+
this.nativeInput.focus(options);
|
|
230
198
|
}
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
getExpanded() {
|
|
237
|
-
return this.checked || this.collapsibleForceExpanded;
|
|
238
|
-
}
|
|
239
|
-
getClassNames() {
|
|
240
|
-
if (this.hasInfo && !this.collapsible) {
|
|
241
|
-
return {
|
|
242
|
-
checked: this.checked,
|
|
243
|
-
"duet-choice-card-info": true,
|
|
244
|
-
"duet-choice-card-info-expanded": this.isInfoOpen,
|
|
245
|
-
"duet-choice-card-collapsed": !this.isInfoOpen,
|
|
246
|
-
"duet-theme-turva": this.theme === "turva",
|
|
247
|
-
};
|
|
199
|
+
/**
|
|
200
|
+
* This method toggles the info section.
|
|
201
|
+
*/
|
|
202
|
+
async toggleInfoMethod() {
|
|
203
|
+
this.isInfoOpen = !this.isInfoOpen;
|
|
248
204
|
}
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
205
|
+
/**
|
|
206
|
+
* Should the collapsible content be announced by screen readers
|
|
207
|
+
*/
|
|
208
|
+
isCollapsibleAnnounceable() {
|
|
209
|
+
if (!this.collapsible || !this.getExpanded()) {
|
|
210
|
+
return false;
|
|
211
|
+
}
|
|
212
|
+
const children = Array.from(this.element.querySelectorAll(`#${this.choiceId}-collapsible-content > *`) || []);
|
|
213
|
+
const announceableElements = ["duet-paragraph", "duet-heading", "duet-fieldset"];
|
|
214
|
+
return children.every(child => announceableElements.includes(child.tagName.toLowerCase()));
|
|
258
215
|
}
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
* Always the last one in the class.
|
|
267
|
-
*/
|
|
268
|
-
render() {
|
|
269
|
-
const choiceGroup = this.element.closest("duet-choice-group");
|
|
270
|
-
const choiceGroupLabel = choiceGroup ? choiceGroup.label : undefined;
|
|
271
|
-
const identifier = this.identifier || this.choiceId;
|
|
272
|
-
return (h(Host, { class: {
|
|
273
|
-
horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
|
|
274
|
-
"horizontal-responsive": this.groupDirection === "horizontal" && this.groupResponsive,
|
|
275
|
-
"duet-m-0": this.margin === "none",
|
|
276
|
-
"duet-expand": this.expand,
|
|
277
|
-
"duet-theme-turva": this.theme === "turva",
|
|
278
|
-
"no-hover": this.isHovering,
|
|
279
|
-
disabled: this.getDisabled(),
|
|
280
|
-
} }, h("div", { class: {
|
|
281
|
-
"duet-choice-card-flextainer": true,
|
|
282
|
-
"duet-theme-turva": this.theme === "turva",
|
|
283
|
-
} }, h("div", { class: {
|
|
284
|
-
"duet-choice-card": true,
|
|
285
|
-
"has-icon": !!this.icon,
|
|
286
|
-
"has-info": this.hasInfo,
|
|
287
|
-
checked: this.checked,
|
|
288
|
-
info: this.isInfoOpen,
|
|
289
|
-
collapsible: this.collapsible,
|
|
290
|
-
"collapsible-force-expanded": this.collapsibleForceExpanded,
|
|
291
|
-
"duet-p-0": this.padding === "none",
|
|
292
|
-
} }, h("input", { class: "duet-choice-input", type: this.type, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, disabled: this.getDisabled(), required: this.required, id: identifier, name: this.name, value: this.value, checked: this.checked, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedby(), onKeyDown: this.handleKeyDown, ref: input => (this.nativeInput = input) }), h("label", { htmlFor: identifier, class: { "duet-choice-label": true, "has-before-text": this.hasBeforeText }, onClick: this.onClick }, this.hasBeforeText && h("slot", { name: "before-text" }), this.icon && (h("div", { class: "duet-choice-card-icon" }, h("duet-icon", { margin: "none", size: "small", name: this.icon, color: "currentColor" }))), h("div", { class: "duet-choice-card-text" }, choiceGroupLabel && h("duet-visually-hidden", null, choiceGroupLabel, ", "), h("div", null, this.hasLabel ? h("slot", { name: "label" }) : this.label), this.caption && (h("div", null, h("duet-spacer", { size: "xx-small" }), h("duet-caption", { margin: "none", selected: this.checked }, this.caption))), this.hasAdditional && (h("div", null, h("duet-spacer", { size: "xx-small" }), h("slot", { name: "additional" })))), h("div", null, h("div", { class: { "duet-checkmark-container": true, "duet-checkmark-radio": this.type === "radio" } }, this.checked && h("div", { class: "duet-checkmark" }))))), this.hasInfo && !this.collapsible && (h("button", { ref: button => (this.infoButtonEl = button), id: this.infoButtonId, class: {
|
|
293
|
-
"duet-choice-info-toggle": true,
|
|
294
|
-
"duet-theme-turva": this.theme === "turva",
|
|
295
|
-
}, 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, "aria-flowto": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button" }, h("duet-visually-hidden", { "aria-hidden": !this.isBlurred ? "true" : "false" }, this.accessibleLabelInfoButton), h("div", { class: "duet-choice-info-icon" }, h("duet-icon", { icon: infoIcon.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible && (h("span", { id: `${this.choiceId}-collapsible-notification`, hidden: true }, this.collapsibleNotification)), this.collapsible || this.hasInfo ? (h("div", { class: this.getClassNames(), id: this.expandId }, h("span", { class: {
|
|
296
|
-
"duet-choice-section-visible": this.collapsible ? this.getExpanded() : this.isInfoOpen,
|
|
297
|
-
"duet-choice-section-hidden": this.collapsible ? !this.getExpanded() : !this.isInfoOpen,
|
|
298
|
-
} }, h("span", { id: this.headerId }, h("slot", { name: "header" })), this.hasInfo ? (h("span", { ref: span => (this.infoContainer = span), tabindex: "0", class: "duet-choice-info-container" }, h("span", { "aria-relevant": "all", "aria-atomic": "true", "aria-live": this.isInfoOpen ? "polite" : "off" }, h("slot", { name: "info" })), h("slot", null))) : (h("span", { id: `${this.choiceId}-collapsible-content` }, h("slot", null)))), this.isInfoOpen && h(FocusGuard, { moveFocusTo: this.infoButtonEl }))) : null));
|
|
299
|
-
}
|
|
300
|
-
static get is() { return "duet-choice"; }
|
|
301
|
-
static get encapsulation() { return "scoped"; }
|
|
302
|
-
static get originalStyleUrls() {
|
|
303
|
-
return {
|
|
304
|
-
"$": ["duet-choice.scss"]
|
|
305
|
-
};
|
|
306
|
-
}
|
|
307
|
-
static get styleUrls() {
|
|
308
|
-
return {
|
|
309
|
-
"$": ["duet-choice.css"]
|
|
310
|
-
};
|
|
311
|
-
}
|
|
312
|
-
static get properties() {
|
|
313
|
-
return {
|
|
314
|
-
"theme": {
|
|
315
|
-
"type": "string",
|
|
316
|
-
"mutable": true,
|
|
317
|
-
"complexType": {
|
|
318
|
-
"original": "DuetTheme",
|
|
319
|
-
"resolved": "\"\" | \"default\" | \"turva\"",
|
|
320
|
-
"references": {
|
|
321
|
-
"DuetTheme": {
|
|
322
|
-
"location": "import",
|
|
323
|
-
"path": "../../common-types",
|
|
324
|
-
"id": "src/common-types.d.ts::DuetTheme"
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
},
|
|
328
|
-
"required": false,
|
|
329
|
-
"optional": false,
|
|
330
|
-
"docs": {
|
|
331
|
-
"tags": [],
|
|
332
|
-
"text": "Theme of the choice."
|
|
333
|
-
},
|
|
334
|
-
"attribute": "theme",
|
|
335
|
-
"reflect": false,
|
|
336
|
-
"defaultValue": "\"\""
|
|
337
|
-
},
|
|
338
|
-
"label": {
|
|
339
|
-
"type": "string",
|
|
340
|
-
"mutable": false,
|
|
341
|
-
"complexType": {
|
|
342
|
-
"original": "string",
|
|
343
|
-
"resolved": "string",
|
|
344
|
-
"references": {}
|
|
345
|
-
},
|
|
346
|
-
"required": false,
|
|
347
|
-
"optional": false,
|
|
348
|
-
"docs": {
|
|
349
|
-
"tags": [],
|
|
350
|
-
"text": "Label for the choice button."
|
|
351
|
-
},
|
|
352
|
-
"attribute": "label",
|
|
353
|
-
"reflect": false,
|
|
354
|
-
"defaultValue": "\"label\""
|
|
355
|
-
},
|
|
356
|
-
"accessibleLabelInfoButtonDefaults": {
|
|
357
|
-
"type": "string",
|
|
358
|
-
"mutable": false,
|
|
359
|
-
"complexType": {
|
|
360
|
-
"original": "DuetLangObject | string",
|
|
361
|
-
"resolved": "DuetLangObject | string",
|
|
362
|
-
"references": {
|
|
363
|
-
"DuetLangObject": {
|
|
364
|
-
"location": "import",
|
|
365
|
-
"path": "../../utils/language-utils",
|
|
366
|
-
"id": "src/utils/language-utils.ts::DuetLangObject"
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
},
|
|
370
|
-
"required": false,
|
|
371
|
-
"optional": false,
|
|
372
|
-
"docs": {
|
|
373
|
-
"tags": [],
|
|
374
|
-
"text": "Property to change accessibleLabelInfoButton defaults on the component.\nnormally you would handle these strings on an application level and override accessibleLabelInfoButton when needed"
|
|
375
|
-
},
|
|
376
|
-
"attribute": "accessible-label-info-default",
|
|
377
|
-
"reflect": false,
|
|
378
|
-
"defaultValue": "DuetStringsExternalDefaults"
|
|
379
|
-
},
|
|
380
|
-
"accessibleLabelInfoButton": {
|
|
381
|
-
"type": "string",
|
|
382
|
-
"mutable": true,
|
|
383
|
-
"complexType": {
|
|
384
|
-
"original": "string",
|
|
385
|
-
"resolved": "string",
|
|
386
|
-
"references": {}
|
|
387
|
-
},
|
|
388
|
-
"required": false,
|
|
389
|
-
"optional": false,
|
|
390
|
-
"docs": {
|
|
391
|
-
"tags": [{
|
|
392
|
-
"name": "default",
|
|
393
|
-
"text": "{fi: \"Avautuu uuteen ikkunaan\",sv: \"\u00D6ppnas i nytt f\u00F6nster\",en: \"Opens in a new window\"}"
|
|
394
|
-
}],
|
|
395
|
-
"text": "Accessible label that is read for screen reader users in the info toggle trigger button.\nNot visible for normal users."
|
|
396
|
-
},
|
|
397
|
-
"attribute": "accessible-label-info-button",
|
|
398
|
-
"reflect": false,
|
|
399
|
-
"defaultValue": "getLocaleString(this.accessibleLabelInfoButtonDefaults)"
|
|
400
|
-
},
|
|
401
|
-
"accessibleActiveDescendant": {
|
|
402
|
-
"type": "string",
|
|
403
|
-
"mutable": false,
|
|
404
|
-
"complexType": {
|
|
405
|
-
"original": "string",
|
|
406
|
-
"resolved": "string",
|
|
407
|
-
"references": {}
|
|
408
|
-
},
|
|
409
|
-
"required": false,
|
|
410
|
-
"optional": false,
|
|
411
|
-
"docs": {
|
|
412
|
-
"tags": [],
|
|
413
|
-
"text": "Indicates the id of a related component\u2019s visually focused element."
|
|
414
|
-
},
|
|
415
|
-
"attribute": "accessible-active-descendant",
|
|
416
|
-
"reflect": false
|
|
417
|
-
},
|
|
418
|
-
"accessibleControls": {
|
|
419
|
-
"type": "string",
|
|
420
|
-
"mutable": false,
|
|
421
|
-
"complexType": {
|
|
422
|
-
"original": "string",
|
|
423
|
-
"resolved": "string",
|
|
424
|
-
"references": {}
|
|
425
|
-
},
|
|
426
|
-
"required": false,
|
|
427
|
-
"optional": false,
|
|
428
|
-
"docs": {
|
|
429
|
-
"tags": [],
|
|
430
|
-
"text": "Use this prop to add an aria-controls attribute. Use the attribute to\nindicate the id of a component controlled by this component."
|
|
431
|
-
},
|
|
432
|
-
"attribute": "accessible-controls",
|
|
433
|
-
"reflect": false
|
|
434
|
-
},
|
|
435
|
-
"accessibleOwns": {
|
|
436
|
-
"type": "string",
|
|
437
|
-
"mutable": false,
|
|
438
|
-
"complexType": {
|
|
439
|
-
"original": "string",
|
|
440
|
-
"resolved": "string",
|
|
441
|
-
"references": {}
|
|
442
|
-
},
|
|
443
|
-
"required": false,
|
|
444
|
-
"optional": false,
|
|
445
|
-
"docs": {
|
|
446
|
-
"tags": [],
|
|
447
|
-
"text": "Indicates the id of a component owned by the choice."
|
|
448
|
-
},
|
|
449
|
-
"attribute": "accessible-owns",
|
|
450
|
-
"reflect": false
|
|
451
|
-
},
|
|
452
|
-
"accessibleDescribedBy": {
|
|
453
|
-
"type": "string",
|
|
454
|
-
"mutable": false,
|
|
455
|
-
"complexType": {
|
|
456
|
-
"original": "string",
|
|
457
|
-
"resolved": "string",
|
|
458
|
-
"references": {}
|
|
459
|
-
},
|
|
460
|
-
"required": false,
|
|
461
|
-
"optional": false,
|
|
462
|
-
"docs": {
|
|
463
|
-
"tags": [],
|
|
464
|
-
"text": "Indicates the id of a component that describes the choice.\nif this is set to an empty string it will prevent screenreaders from flowing to a collapsible content\nand can be used as an escape hatch if that behaviour is undesired."
|
|
465
|
-
},
|
|
466
|
-
"attribute": "accessible-described-by",
|
|
467
|
-
"reflect": false
|
|
468
|
-
},
|
|
469
|
-
"accessibleDetails": {
|
|
470
|
-
"type": "string",
|
|
471
|
-
"mutable": false,
|
|
472
|
-
"complexType": {
|
|
473
|
-
"original": "string",
|
|
474
|
-
"resolved": "string",
|
|
475
|
-
"references": {}
|
|
476
|
-
},
|
|
477
|
-
"required": false,
|
|
478
|
-
"optional": false,
|
|
479
|
-
"docs": {
|
|
480
|
-
"tags": [],
|
|
481
|
-
"text": "Aria Details of the component"
|
|
482
|
-
},
|
|
483
|
-
"attribute": "accessible-details",
|
|
484
|
-
"reflect": false,
|
|
485
|
-
"defaultValue": "undefined"
|
|
486
|
-
},
|
|
487
|
-
"accessibleLabelledBy": {
|
|
488
|
-
"type": "string",
|
|
489
|
-
"mutable": false,
|
|
490
|
-
"complexType": {
|
|
491
|
-
"original": "string",
|
|
492
|
-
"resolved": "string",
|
|
493
|
-
"references": {}
|
|
494
|
-
},
|
|
495
|
-
"required": false,
|
|
496
|
-
"optional": false,
|
|
497
|
-
"docs": {
|
|
498
|
-
"tags": [],
|
|
499
|
-
"text": "String of id's that indicate alternative labels elements"
|
|
500
|
-
},
|
|
501
|
-
"attribute": "accessible-labelled-by",
|
|
502
|
-
"reflect": false,
|
|
503
|
-
"defaultValue": "undefined"
|
|
504
|
-
},
|
|
505
|
-
"accessibleDescription": {
|
|
506
|
-
"type": "string",
|
|
507
|
-
"mutable": false,
|
|
508
|
-
"complexType": {
|
|
509
|
-
"original": "string",
|
|
510
|
-
"resolved": "string",
|
|
511
|
-
"references": {}
|
|
512
|
-
},
|
|
513
|
-
"required": false,
|
|
514
|
-
"optional": false,
|
|
515
|
-
"docs": {
|
|
516
|
-
"tags": [],
|
|
517
|
-
"text": "Aria description the button"
|
|
518
|
-
},
|
|
519
|
-
"attribute": "accessible-description",
|
|
520
|
-
"reflect": false,
|
|
521
|
-
"defaultValue": "undefined"
|
|
522
|
-
},
|
|
523
|
-
"caption": {
|
|
524
|
-
"type": "string",
|
|
525
|
-
"mutable": false,
|
|
526
|
-
"complexType": {
|
|
527
|
-
"original": "string",
|
|
528
|
-
"resolved": "string",
|
|
529
|
-
"references": {}
|
|
530
|
-
},
|
|
531
|
-
"required": false,
|
|
532
|
-
"optional": false,
|
|
533
|
-
"docs": {
|
|
534
|
-
"tags": [],
|
|
535
|
-
"text": "Additional caption to show inside the label of the choice button."
|
|
536
|
-
},
|
|
537
|
-
"attribute": "caption",
|
|
538
|
-
"reflect": false,
|
|
539
|
-
"defaultValue": "\"\""
|
|
540
|
-
},
|
|
541
|
-
"value": {
|
|
542
|
-
"type": "string",
|
|
543
|
-
"mutable": true,
|
|
544
|
-
"complexType": {
|
|
545
|
-
"original": "string",
|
|
546
|
-
"resolved": "string",
|
|
547
|
-
"references": {}
|
|
548
|
-
},
|
|
549
|
-
"required": false,
|
|
550
|
-
"optional": false,
|
|
551
|
-
"docs": {
|
|
552
|
-
"tags": [],
|
|
553
|
-
"text": "The value of the html input that the Choice component controls."
|
|
554
|
-
},
|
|
555
|
-
"attribute": "value",
|
|
556
|
-
"reflect": true
|
|
557
|
-
},
|
|
558
|
-
"type": {
|
|
559
|
-
"type": "string",
|
|
560
|
-
"mutable": false,
|
|
561
|
-
"complexType": {
|
|
562
|
-
"original": "DuetChoiceType",
|
|
563
|
-
"resolved": "\"checkbox\" | \"radio\"",
|
|
564
|
-
"references": {
|
|
565
|
-
"DuetChoiceType": {
|
|
566
|
-
"location": "import",
|
|
567
|
-
"path": "../../common-types",
|
|
568
|
-
"id": "src/common-types.d.ts::DuetChoiceType"
|
|
569
|
-
}
|
|
570
|
-
}
|
|
571
|
-
},
|
|
572
|
-
"required": false,
|
|
573
|
-
"optional": false,
|
|
574
|
-
"docs": {
|
|
575
|
-
"tags": [],
|
|
576
|
-
"text": "Type of the choice button. You can set the type of the choice to be either\n\u201Cradio\u201D or \u201Ccheckbox\u201D. Depending on this selection we convey the selection\ntype to assistive technologies as well. When type \u201Cradio\u201D is chosen it is\nrequired to place the choices inside Choice Group component."
|
|
577
|
-
},
|
|
578
|
-
"attribute": "type",
|
|
579
|
-
"reflect": true,
|
|
580
|
-
"defaultValue": "\"checkbox\""
|
|
581
|
-
},
|
|
582
|
-
"name": {
|
|
583
|
-
"type": "string",
|
|
584
|
-
"mutable": false,
|
|
585
|
-
"complexType": {
|
|
586
|
-
"original": "string",
|
|
587
|
-
"resolved": "string",
|
|
588
|
-
"references": {}
|
|
589
|
-
},
|
|
590
|
-
"required": false,
|
|
591
|
-
"optional": false,
|
|
592
|
-
"docs": {
|
|
593
|
-
"tags": [],
|
|
594
|
-
"text": "Name attribute of the html input that the Choice component controls."
|
|
595
|
-
},
|
|
596
|
-
"attribute": "name",
|
|
597
|
-
"reflect": false
|
|
598
|
-
},
|
|
599
|
-
"checked": {
|
|
600
|
-
"type": "boolean",
|
|
601
|
-
"mutable": true,
|
|
602
|
-
"complexType": {
|
|
603
|
-
"original": "boolean",
|
|
604
|
-
"resolved": "boolean",
|
|
605
|
-
"references": {}
|
|
606
|
-
},
|
|
607
|
-
"required": false,
|
|
608
|
-
"optional": false,
|
|
609
|
-
"docs": {
|
|
610
|
-
"tags": [],
|
|
611
|
-
"text": "Checked state of the choice button."
|
|
612
|
-
},
|
|
613
|
-
"attribute": "checked",
|
|
614
|
-
"reflect": true,
|
|
615
|
-
"defaultValue": "false"
|
|
616
|
-
},
|
|
617
|
-
"collapsible": {
|
|
618
|
-
"type": "boolean",
|
|
619
|
-
"mutable": false,
|
|
620
|
-
"complexType": {
|
|
621
|
-
"original": "boolean",
|
|
622
|
-
"resolved": "boolean",
|
|
623
|
-
"references": {}
|
|
624
|
-
},
|
|
625
|
-
"required": false,
|
|
626
|
-
"optional": false,
|
|
627
|
-
"docs": {
|
|
628
|
-
"tags": [],
|
|
629
|
-
"text": "Makes the choice button open a new section underneath it when clicked or\ntapped. This new section can be used to show more options related to this\nchoice. Please note that this feature can\u2019t be used together with the \"info\"\nfunctionality and that it only accepts plain dom nodes (no shadow dom elements\nsuch as duet-paragraph can be used as this will break accessibility)"
|
|
630
|
-
},
|
|
631
|
-
"attribute": "collapsible",
|
|
632
|
-
"reflect": false,
|
|
633
|
-
"defaultValue": "false"
|
|
634
|
-
},
|
|
635
|
-
"collapsibleForceExpanded": {
|
|
636
|
-
"type": "boolean",
|
|
637
|
-
"mutable": false,
|
|
638
|
-
"complexType": {
|
|
639
|
-
"original": "boolean",
|
|
640
|
-
"resolved": "boolean",
|
|
641
|
-
"references": {}
|
|
642
|
-
},
|
|
643
|
-
"required": false,
|
|
644
|
-
"optional": false,
|
|
645
|
-
"docs": {
|
|
646
|
-
"tags": [],
|
|
647
|
-
"text": "This attribute works only when the 'collapsible' attribute is set to true.\nIt maintains the visibility of the additional content section, regardless of whether the input is checked or not."
|
|
648
|
-
},
|
|
649
|
-
"attribute": "collapsible-force-expanded",
|
|
650
|
-
"reflect": false,
|
|
651
|
-
"defaultValue": "false"
|
|
652
|
-
},
|
|
653
|
-
"margin": {
|
|
654
|
-
"type": "string",
|
|
655
|
-
"mutable": false,
|
|
656
|
-
"complexType": {
|
|
657
|
-
"original": "DuetMargin",
|
|
658
|
-
"resolved": "\"auto\" | \"none\"",
|
|
659
|
-
"references": {
|
|
660
|
-
"DuetMargin": {
|
|
661
|
-
"location": "import",
|
|
662
|
-
"path": "../../common-types",
|
|
663
|
-
"id": "src/common-types.d.ts::DuetMargin"
|
|
664
|
-
}
|
|
665
|
-
}
|
|
666
|
-
},
|
|
667
|
-
"required": false,
|
|
668
|
-
"optional": false,
|
|
669
|
-
"docs": {
|
|
670
|
-
"tags": [],
|
|
671
|
-
"text": "Controls the margin of the component."
|
|
672
|
-
},
|
|
673
|
-
"attribute": "margin",
|
|
674
|
-
"reflect": false,
|
|
675
|
-
"defaultValue": "\"auto\""
|
|
676
|
-
},
|
|
677
|
-
"icon": {
|
|
678
|
-
"type": "string",
|
|
679
|
-
"mutable": false,
|
|
680
|
-
"complexType": {
|
|
681
|
-
"original": "string",
|
|
682
|
-
"resolved": "string",
|
|
683
|
-
"references": {}
|
|
684
|
-
},
|
|
685
|
-
"required": false,
|
|
686
|
-
"optional": false,
|
|
687
|
-
"docs": {
|
|
688
|
-
"tags": [],
|
|
689
|
-
"text": "Icon to display to the left of the choice button label."
|
|
690
|
-
},
|
|
691
|
-
"attribute": "icon",
|
|
692
|
-
"reflect": false,
|
|
693
|
-
"defaultValue": "\"\""
|
|
694
|
-
},
|
|
695
|
-
"expand": {
|
|
696
|
-
"type": "boolean",
|
|
697
|
-
"mutable": false,
|
|
698
|
-
"complexType": {
|
|
699
|
-
"original": "boolean",
|
|
700
|
-
"resolved": "boolean",
|
|
701
|
-
"references": {}
|
|
702
|
-
},
|
|
703
|
-
"required": false,
|
|
704
|
-
"optional": false,
|
|
705
|
-
"docs": {
|
|
706
|
-
"tags": [],
|
|
707
|
-
"text": "Expands the choice button to fill 100% of the container width."
|
|
708
|
-
},
|
|
709
|
-
"attribute": "expand",
|
|
710
|
-
"reflect": false,
|
|
711
|
-
"defaultValue": "false"
|
|
712
|
-
},
|
|
713
|
-
"padding": {
|
|
714
|
-
"type": "string",
|
|
715
|
-
"mutable": false,
|
|
716
|
-
"complexType": {
|
|
717
|
-
"original": "DuetPadding",
|
|
718
|
-
"resolved": "\"auto\" | \"none\"",
|
|
719
|
-
"references": {
|
|
720
|
-
"DuetPadding": {
|
|
721
|
-
"location": "import",
|
|
722
|
-
"path": "../../common-types",
|
|
723
|
-
"id": "src/common-types.d.ts::DuetPadding"
|
|
724
|
-
}
|
|
725
|
-
}
|
|
726
|
-
},
|
|
727
|
-
"required": false,
|
|
728
|
-
"optional": false,
|
|
729
|
-
"docs": {
|
|
730
|
-
"tags": [],
|
|
731
|
-
"text": "Controls the padding of the component."
|
|
732
|
-
},
|
|
733
|
-
"attribute": "padding",
|
|
734
|
-
"reflect": false,
|
|
735
|
-
"defaultValue": "\"auto\""
|
|
736
|
-
},
|
|
737
|
-
"identifier": {
|
|
738
|
-
"type": "string",
|
|
739
|
-
"mutable": false,
|
|
740
|
-
"complexType": {
|
|
741
|
-
"original": "string",
|
|
742
|
-
"resolved": "string",
|
|
743
|
-
"references": {}
|
|
744
|
-
},
|
|
745
|
-
"required": false,
|
|
746
|
-
"optional": false,
|
|
747
|
-
"docs": {
|
|
748
|
-
"tags": [],
|
|
749
|
-
"text": "Adds a unique identifier for the choice button."
|
|
750
|
-
},
|
|
751
|
-
"attribute": "identifier",
|
|
752
|
-
"reflect": false
|
|
753
|
-
},
|
|
754
|
-
"groupDirection": {
|
|
755
|
-
"type": "string",
|
|
756
|
-
"mutable": false,
|
|
757
|
-
"complexType": {
|
|
758
|
-
"original": "DuetDirection",
|
|
759
|
-
"resolved": "\"horizontal\" | \"vertical\"",
|
|
760
|
-
"references": {
|
|
761
|
-
"DuetDirection": {
|
|
762
|
-
"location": "import",
|
|
763
|
-
"path": "../../common-types",
|
|
764
|
-
"id": "src/common-types.d.ts::DuetDirection"
|
|
765
|
-
}
|
|
766
|
-
}
|
|
767
|
-
},
|
|
768
|
-
"required": false,
|
|
769
|
-
"optional": false,
|
|
770
|
-
"docs": {
|
|
771
|
-
"tags": [{
|
|
772
|
-
"name": "internal",
|
|
773
|
-
"text": "Determines whether the control is displayed horizontally or vertically within\na group."
|
|
774
|
-
}],
|
|
775
|
-
"text": ""
|
|
776
|
-
},
|
|
777
|
-
"attribute": "group-direction",
|
|
778
|
-
"reflect": false
|
|
779
|
-
},
|
|
780
|
-
"groupDisabled": {
|
|
781
|
-
"type": "boolean",
|
|
782
|
-
"mutable": false,
|
|
783
|
-
"complexType": {
|
|
784
|
-
"original": "boolean",
|
|
785
|
-
"resolved": "boolean",
|
|
786
|
-
"references": {}
|
|
787
|
-
},
|
|
788
|
-
"required": false,
|
|
789
|
-
"optional": false,
|
|
790
|
-
"docs": {
|
|
791
|
-
"tags": [{
|
|
792
|
-
"name": "internal",
|
|
793
|
-
"text": "Determines, whether the control is disabled from the parent group."
|
|
794
|
-
}],
|
|
795
|
-
"text": ""
|
|
796
|
-
},
|
|
797
|
-
"attribute": "group-disabled",
|
|
798
|
-
"reflect": false
|
|
799
|
-
},
|
|
800
|
-
"groupResponsive": {
|
|
801
|
-
"type": "boolean",
|
|
802
|
-
"mutable": false,
|
|
803
|
-
"complexType": {
|
|
804
|
-
"original": "boolean",
|
|
805
|
-
"resolved": "boolean",
|
|
806
|
-
"references": {}
|
|
807
|
-
},
|
|
808
|
-
"required": false,
|
|
809
|
-
"optional": false,
|
|
810
|
-
"docs": {
|
|
811
|
-
"tags": [{
|
|
812
|
-
"name": "internal",
|
|
813
|
-
"text": "Determines whether the group has responsive behavior"
|
|
814
|
-
}],
|
|
815
|
-
"text": ""
|
|
816
|
-
},
|
|
817
|
-
"attribute": "group-responsive",
|
|
818
|
-
"reflect": false
|
|
819
|
-
},
|
|
820
|
-
"disabled": {
|
|
821
|
-
"type": "boolean",
|
|
822
|
-
"mutable": false,
|
|
823
|
-
"complexType": {
|
|
824
|
-
"original": "boolean",
|
|
825
|
-
"resolved": "boolean",
|
|
826
|
-
"references": {}
|
|
827
|
-
},
|
|
828
|
-
"required": false,
|
|
829
|
-
"optional": false,
|
|
830
|
-
"docs": {
|
|
831
|
-
"tags": [],
|
|
832
|
-
"text": "Makes the choice component disabled. This prevents users from being able to\ninteract with the choice, and conveys its inactive state to assistive technologies."
|
|
833
|
-
},
|
|
834
|
-
"attribute": "disabled",
|
|
835
|
-
"reflect": true,
|
|
836
|
-
"defaultValue": "false"
|
|
837
|
-
},
|
|
838
|
-
"required": {
|
|
839
|
-
"type": "boolean",
|
|
840
|
-
"mutable": false,
|
|
841
|
-
"complexType": {
|
|
842
|
-
"original": "boolean",
|
|
843
|
-
"resolved": "boolean",
|
|
844
|
-
"references": {}
|
|
845
|
-
},
|
|
846
|
-
"required": false,
|
|
847
|
-
"optional": false,
|
|
848
|
-
"docs": {
|
|
849
|
-
"tags": [],
|
|
850
|
-
"text": "Set whether the input is required or not. Please note that this is necessary for\naccessible inputs when the user is required to fill them. When using this property\nyou need to also set \u201Cnovalidate\u201D attribute to your form element to prevent\nbrowser from displaying its own validation errors."
|
|
851
|
-
},
|
|
852
|
-
"attribute": "required",
|
|
853
|
-
"reflect": false,
|
|
854
|
-
"defaultValue": "false"
|
|
855
|
-
},
|
|
856
|
-
"infoLabelDefaults": {
|
|
857
|
-
"type": "string",
|
|
858
|
-
"mutable": false,
|
|
859
|
-
"complexType": {
|
|
860
|
-
"original": "DuetLangObject | string",
|
|
861
|
-
"resolved": "DuetLangObject | string",
|
|
862
|
-
"references": {
|
|
863
|
-
"DuetLangObject": {
|
|
864
|
-
"location": "import",
|
|
865
|
-
"path": "../../utils/language-utils",
|
|
866
|
-
"id": "src/utils/language-utils.ts::DuetLangObject"
|
|
216
|
+
getAriaDescribedby() {
|
|
217
|
+
if (this.accessibleDescribedBy) {
|
|
218
|
+
return this.accessibleDescribedBy;
|
|
219
|
+
}
|
|
220
|
+
if (this.collapsible || this.hasInfo) {
|
|
221
|
+
if (this.hasHeader) {
|
|
222
|
+
return this.headerId;
|
|
867
223
|
}
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
"required": false,
|
|
871
|
-
"optional": false,
|
|
872
|
-
"docs": {
|
|
873
|
-
"tags": [],
|
|
874
|
-
"text": "Accessible info label defaults"
|
|
875
|
-
},
|
|
876
|
-
"attribute": "accessible-label-info-default",
|
|
877
|
-
"reflect": false,
|
|
878
|
-
"defaultValue": "{\n fi: \"Lis\u00E4tietoja vaihtoehdosta\",\n en: \"More information about\",\n sv: \"Mera information om\",\n }"
|
|
879
|
-
},
|
|
880
|
-
"infoLabel": {
|
|
881
|
-
"type": "string",
|
|
882
|
-
"mutable": true,
|
|
883
|
-
"complexType": {
|
|
884
|
-
"original": "string",
|
|
885
|
-
"resolved": "string",
|
|
886
|
-
"references": {}
|
|
887
|
-
},
|
|
888
|
-
"required": false,
|
|
889
|
-
"optional": false,
|
|
890
|
-
"docs": {
|
|
891
|
-
"tags": [{
|
|
892
|
-
"name": "default",
|
|
893
|
-
"text": "{\nfi: \"Lis\u00E4tietoja vaihtoehdosta\",\nen: \"More information about\",\nsv: \"Mera information om\",\n}"
|
|
894
|
-
}],
|
|
895
|
-
"text": "Accessible info label"
|
|
896
|
-
},
|
|
897
|
-
"attribute": "info-label",
|
|
898
|
-
"reflect": false,
|
|
899
|
-
"defaultValue": "getLocaleString(this.infoLabelDefaults, getLanguage())"
|
|
900
|
-
},
|
|
901
|
-
"collapsibleNotificationDefaults": {
|
|
902
|
-
"type": "string",
|
|
903
|
-
"mutable": false,
|
|
904
|
-
"complexType": {
|
|
905
|
-
"original": "| DuetLangObject\n | string",
|
|
906
|
-
"resolved": "DuetLangObject | string",
|
|
907
|
-
"references": {
|
|
908
|
-
"DuetLangObject": {
|
|
909
|
-
"location": "import",
|
|
910
|
-
"path": "../../utils/language-utils",
|
|
911
|
-
"id": "src/utils/language-utils.ts::DuetLangObject"
|
|
224
|
+
else if (this.isCollapsibleAnnounceable()) {
|
|
225
|
+
return this.expandId;
|
|
912
226
|
}
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
"required": false,
|
|
916
|
-
"optional": false,
|
|
917
|
-
"docs": {
|
|
918
|
-
"tags": [],
|
|
919
|
-
"text": "Accessible collapsible notification defaults"
|
|
920
|
-
},
|
|
921
|
-
"attribute": "accessible-collapsible-notification-default",
|
|
922
|
-
"reflect": false,
|
|
923
|
-
"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 }"
|
|
924
|
-
},
|
|
925
|
-
"collapsibleNotification": {
|
|
926
|
-
"type": "string",
|
|
927
|
-
"mutable": true,
|
|
928
|
-
"complexType": {
|
|
929
|
-
"original": "string",
|
|
930
|
-
"resolved": "string",
|
|
931
|
-
"references": {}
|
|
932
|
-
},
|
|
933
|
-
"required": false,
|
|
934
|
-
"optional": false,
|
|
935
|
-
"docs": {
|
|
936
|
-
"tags": [{
|
|
937
|
-
"name": "default",
|
|
938
|
-
"text": "{\nfi: \"T\u00E4m\u00E4 valinta sis\u00E4lt\u00E4\u00E4 lis\u00E4tietoja, jotka avautuivat alle\",\nen: \"This choice has additional information opened below\",\nsv: \"Det h\u00E4r val har mer information som \u00F6ppnades nedan\",\n}"
|
|
939
|
-
}],
|
|
940
|
-
"text": "Accessible collapsible notification. If a collapsible choice has no header, and contains other\nelements than duet-paragraph, duet-heading or duet-fieldset, this is used as the accessible\nnotification of opening the collapsible content (added to aria-describedby)."
|
|
941
|
-
},
|
|
942
|
-
"attribute": "collapsible-notification",
|
|
943
|
-
"reflect": false,
|
|
944
|
-
"defaultValue": "getLocaleString(\n this.collapsibleNotificationDefaults,\n getLanguage()\n )"
|
|
945
|
-
}
|
|
946
|
-
};
|
|
947
|
-
}
|
|
948
|
-
static get states() {
|
|
949
|
-
return {
|
|
950
|
-
"isHovering": {},
|
|
951
|
-
"isInfoOpen": {},
|
|
952
|
-
"isBlurred": {}
|
|
953
|
-
};
|
|
954
|
-
}
|
|
955
|
-
static get events() {
|
|
956
|
-
return [{
|
|
957
|
-
"method": "duetChoiceReady",
|
|
958
|
-
"name": "duetChoiceReady",
|
|
959
|
-
"bubbles": true,
|
|
960
|
-
"cancelable": true,
|
|
961
|
-
"composed": true,
|
|
962
|
-
"docs": {
|
|
963
|
-
"tags": [],
|
|
964
|
-
"text": "Emitted when the component is available in the DOM."
|
|
965
|
-
},
|
|
966
|
-
"complexType": {
|
|
967
|
-
"original": "CustomEvent",
|
|
968
|
-
"resolved": "CustomEvent<any>",
|
|
969
|
-
"references": {
|
|
970
|
-
"CustomEvent": {
|
|
971
|
-
"location": "global",
|
|
972
|
-
"id": "global::CustomEvent"
|
|
227
|
+
else {
|
|
228
|
+
return `${this.choiceId}-collapsible-notification`;
|
|
973
229
|
}
|
|
974
|
-
}
|
|
975
230
|
}
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
}
|
|
994
|
-
}
|
|
995
|
-
}
|
|
996
|
-
}, {
|
|
997
|
-
"method": "duetChange",
|
|
998
|
-
"name": "duetChange",
|
|
999
|
-
"bubbles": true,
|
|
1000
|
-
"cancelable": true,
|
|
1001
|
-
"composed": true,
|
|
1002
|
-
"docs": {
|
|
1003
|
-
"tags": [],
|
|
1004
|
-
"text": "Emitted when the checked property has changed."
|
|
1005
|
-
},
|
|
1006
|
-
"complexType": {
|
|
1007
|
-
"original": "DuetChoiceEvent",
|
|
1008
|
-
"resolved": "{ originalEvent?: Event; checked: boolean; value: string; component: \"duet-choice\"; }",
|
|
1009
|
-
"references": {
|
|
1010
|
-
"DuetChoiceEvent": {
|
|
1011
|
-
"location": "local",
|
|
1012
|
-
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-choice/duet-choice.tsx",
|
|
1013
|
-
"id": "src/components/duet-choice/duet-choice.tsx::DuetChoiceEvent"
|
|
1014
|
-
}
|
|
1015
|
-
}
|
|
231
|
+
return null;
|
|
232
|
+
}
|
|
233
|
+
getDisabled() {
|
|
234
|
+
return this.disabled || this.groupDisabled;
|
|
235
|
+
}
|
|
236
|
+
getExpanded() {
|
|
237
|
+
return this.checked || this.collapsibleForceExpanded;
|
|
238
|
+
}
|
|
239
|
+
getClassNames() {
|
|
240
|
+
if (this.hasInfo && !this.collapsible) {
|
|
241
|
+
return {
|
|
242
|
+
checked: this.checked,
|
|
243
|
+
"duet-choice-card-info": true,
|
|
244
|
+
"duet-choice-card-info-expanded": this.isInfoOpen,
|
|
245
|
+
"duet-choice-card-collapsed": !this.isInfoOpen,
|
|
246
|
+
"duet-theme-turva": this.theme === "turva",
|
|
247
|
+
};
|
|
1016
248
|
}
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
},
|
|
1027
|
-
"complexType": {
|
|
1028
|
-
"original": "DuetChoiceEvent",
|
|
1029
|
-
"resolved": "{ originalEvent?: Event; checked: boolean; value: string; component: \"duet-choice\"; }",
|
|
1030
|
-
"references": {
|
|
1031
|
-
"DuetChoiceEvent": {
|
|
1032
|
-
"location": "local",
|
|
1033
|
-
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-choice/duet-choice.tsx",
|
|
1034
|
-
"id": "src/components/duet-choice/duet-choice.tsx::DuetChoiceEvent"
|
|
1035
|
-
}
|
|
1036
|
-
}
|
|
249
|
+
if (!this.hasInfo && this.collapsible) {
|
|
250
|
+
return {
|
|
251
|
+
checked: this.checked,
|
|
252
|
+
"duet-choice-card-collapsible": true,
|
|
253
|
+
"duet-choice-card-collapsible-expanded": this.getExpanded(),
|
|
254
|
+
"duet-choice-card-collapsed": !this.getExpanded(),
|
|
255
|
+
"duet-choice-card-collapsible-disabled": this.getDisabled(),
|
|
256
|
+
"duet-theme-turva": this.theme === "turva",
|
|
257
|
+
};
|
|
1037
258
|
}
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
"resolved": "{ originalEvent?: Event; checked: boolean; value: string; component: \"duet-choice\"; }",
|
|
1051
|
-
"references": {
|
|
1052
|
-
"DuetChoiceEvent": {
|
|
1053
|
-
"location": "local",
|
|
1054
|
-
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-choice/duet-choice.tsx",
|
|
1055
|
-
"id": "src/components/duet-choice/duet-choice.tsx::DuetChoiceEvent"
|
|
1056
|
-
}
|
|
1057
|
-
}
|
|
259
|
+
return {
|
|
260
|
+
checked: this.checked,
|
|
261
|
+
"duet-choice-default-slot": true,
|
|
262
|
+
};
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* render() function
|
|
266
|
+
* Always the last one in the class.
|
|
267
|
+
*/
|
|
268
|
+
render() {
|
|
269
|
+
if (Build.isServer) {
|
|
270
|
+
return;
|
|
1058
271
|
}
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
272
|
+
const choiceGroup = this.element.closest("duet-choice-group");
|
|
273
|
+
const choiceGroupLabel = choiceGroup ? choiceGroup.label : undefined;
|
|
274
|
+
const identifier = this.identifier || this.choiceId;
|
|
275
|
+
return (h(Host, { class: {
|
|
276
|
+
horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
|
|
277
|
+
"horizontal-responsive": this.groupDirection === "horizontal" && this.groupResponsive,
|
|
278
|
+
"duet-m-0": this.margin === "none",
|
|
279
|
+
"duet-expand": this.expand,
|
|
280
|
+
"duet-theme-turva": this.theme === "turva",
|
|
281
|
+
"no-hover": this.isHovering,
|
|
282
|
+
disabled: this.getDisabled(),
|
|
283
|
+
} }, h("div", { class: {
|
|
284
|
+
"duet-choice-card-flextainer": true,
|
|
285
|
+
"duet-theme-turva": this.theme === "turva",
|
|
286
|
+
} }, h("div", { class: {
|
|
287
|
+
"duet-choice-card": true,
|
|
288
|
+
"has-icon": !!this.icon,
|
|
289
|
+
"has-info": this.hasInfo,
|
|
290
|
+
checked: this.checked,
|
|
291
|
+
info: this.isInfoOpen,
|
|
292
|
+
collapsible: this.collapsible,
|
|
293
|
+
"collapsible-force-expanded": this.collapsibleForceExpanded,
|
|
294
|
+
"duet-p-0": this.padding === "none",
|
|
295
|
+
} }, h("input", { class: "duet-choice-input", type: this.type, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, disabled: this.getDisabled(), required: this.required, id: identifier, name: this.name, value: this.value, checked: this.checked, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedby(), onKeyDown: this.handleKeyDown, ref: input => (this.nativeInput = input) }), h("label", { htmlFor: identifier, class: { "duet-choice-label": true, "has-before-text": this.hasBeforeText }, onClick: this.onClick }, this.hasBeforeText && h("slot", { name: "before-text" }), this.icon && (h("div", { class: "duet-choice-card-icon" }, h("duet-icon", { margin: "none", size: "small", name: this.icon, color: "currentColor" }))), h("div", { class: "duet-choice-card-text" }, choiceGroupLabel && h("duet-visually-hidden", null, choiceGroupLabel, ", "), h("div", null, this.hasLabel ? h("slot", { name: "label" }) : this.label), this.caption && (h("div", null, h("duet-spacer", { size: "xx-small" }), h("duet-caption", { margin: "none", selected: this.checked }, this.caption))), this.hasAdditional && (h("div", null, h("duet-spacer", { size: "xx-small" }), h("slot", { name: "additional" })))), h("div", null, h("div", { class: { "duet-checkmark-container": true, "duet-checkmark-radio": this.type === "radio" } }, this.checked && h("div", { class: "duet-checkmark" }))))), this.hasInfo && !this.collapsible && (h("button", { ref: button => (this.infoButtonEl = button), id: this.infoButtonId, class: {
|
|
296
|
+
"duet-choice-info-toggle": true,
|
|
297
|
+
"duet-theme-turva": this.theme === "turva",
|
|
298
|
+
}, 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, "aria-flowto": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button" }, h("duet-visually-hidden", { "aria-hidden": !this.isBlurred ? "true" : "false" }, this.accessibleLabelInfoButton), h("div", { class: "duet-choice-info-icon" }, h("duet-icon", { icon: infoIcon.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible && (h("span", { id: `${this.choiceId}-collapsible-notification`, hidden: true }, this.collapsibleNotification)), this.collapsible || this.hasInfo ? (h("div", { class: this.getClassNames(), id: this.expandId }, h("span", { class: {
|
|
299
|
+
"duet-choice-section-visible": this.collapsible ? this.getExpanded() : this.isInfoOpen,
|
|
300
|
+
"duet-choice-section-hidden": this.collapsible ? !this.getExpanded() : !this.isInfoOpen,
|
|
301
|
+
} }, h("span", { id: this.headerId }, h("slot", { name: "header" })), this.hasInfo ? (h("span", { ref: span => (this.infoContainer = span), tabindex: "0", class: "duet-choice-info-container" }, h("span", { "aria-relevant": "all", "aria-atomic": "true", "aria-live": this.isInfoOpen ? "polite" : "off" }, h("slot", { name: "info" })), h("slot", null))) : (h("span", { id: `${this.choiceId}-collapsible-content` }, h("slot", null)))), this.isInfoOpen && h(FocusGuard, { moveFocusTo: this.infoButtonEl }))) : null));
|
|
302
|
+
}
|
|
303
|
+
static get is() { return "duet-choice"; }
|
|
304
|
+
static get encapsulation() { return "scoped"; }
|
|
305
|
+
static get originalStyleUrls() {
|
|
306
|
+
return {
|
|
307
|
+
"$": ["duet-choice.scss"]
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
static get styleUrls() {
|
|
311
|
+
return {
|
|
312
|
+
"$": ["duet-choice.css"]
|
|
313
|
+
};
|
|
314
|
+
}
|
|
315
|
+
static get properties() {
|
|
316
|
+
return {
|
|
317
|
+
"theme": {
|
|
318
|
+
"type": "string",
|
|
319
|
+
"mutable": true,
|
|
320
|
+
"complexType": {
|
|
321
|
+
"original": "DuetTheme",
|
|
322
|
+
"resolved": "\"\" | \"default\" | \"turva\"",
|
|
323
|
+
"references": {
|
|
324
|
+
"DuetTheme": {
|
|
325
|
+
"location": "import",
|
|
326
|
+
"path": "../../common-types",
|
|
327
|
+
"id": "src/common-types.d.ts::DuetTheme"
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
"required": false,
|
|
332
|
+
"optional": false,
|
|
333
|
+
"docs": {
|
|
334
|
+
"tags": [],
|
|
335
|
+
"text": "Theme of the choice."
|
|
336
|
+
},
|
|
337
|
+
"attribute": "theme",
|
|
338
|
+
"reflect": false,
|
|
339
|
+
"defaultValue": "\"\""
|
|
340
|
+
},
|
|
341
|
+
"label": {
|
|
342
|
+
"type": "string",
|
|
343
|
+
"mutable": false,
|
|
344
|
+
"complexType": {
|
|
345
|
+
"original": "string",
|
|
346
|
+
"resolved": "string",
|
|
347
|
+
"references": {}
|
|
348
|
+
},
|
|
349
|
+
"required": false,
|
|
350
|
+
"optional": false,
|
|
351
|
+
"docs": {
|
|
352
|
+
"tags": [],
|
|
353
|
+
"text": "Label for the choice button."
|
|
354
|
+
},
|
|
355
|
+
"attribute": "label",
|
|
356
|
+
"reflect": false,
|
|
357
|
+
"defaultValue": "\"label\""
|
|
358
|
+
},
|
|
359
|
+
"accessibleLabelInfoButtonDefaults": {
|
|
360
|
+
"type": "string",
|
|
361
|
+
"mutable": false,
|
|
362
|
+
"complexType": {
|
|
363
|
+
"original": "DuetLangObject | string",
|
|
364
|
+
"resolved": "DuetLangObject | string",
|
|
365
|
+
"references": {
|
|
366
|
+
"DuetLangObject": {
|
|
367
|
+
"location": "import",
|
|
368
|
+
"path": "../../utils/language-utils",
|
|
369
|
+
"id": "src/utils/language-utils.ts::DuetLangObject"
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
"required": false,
|
|
374
|
+
"optional": false,
|
|
375
|
+
"docs": {
|
|
376
|
+
"tags": [],
|
|
377
|
+
"text": "Property to change accessibleLabelInfoButton defaults on the component.\nnormally you would handle these strings on an application level and override accessibleLabelInfoButton when needed"
|
|
378
|
+
},
|
|
379
|
+
"attribute": "accessible-label-info-default",
|
|
380
|
+
"reflect": false,
|
|
381
|
+
"defaultValue": "DuetStringsExternalDefaults"
|
|
382
|
+
},
|
|
383
|
+
"accessibleLabelInfoButton": {
|
|
384
|
+
"type": "string",
|
|
385
|
+
"mutable": true,
|
|
386
|
+
"complexType": {
|
|
387
|
+
"original": "string",
|
|
388
|
+
"resolved": "string",
|
|
389
|
+
"references": {}
|
|
390
|
+
},
|
|
391
|
+
"required": false,
|
|
392
|
+
"optional": false,
|
|
393
|
+
"docs": {
|
|
394
|
+
"tags": [{
|
|
395
|
+
"name": "default",
|
|
396
|
+
"text": "{fi: \"Avautuu uuteen ikkunaan\",sv: \"\u00D6ppnas i nytt f\u00F6nster\",en: \"Opens in a new window\"}"
|
|
397
|
+
}],
|
|
398
|
+
"text": "Accessible label that is read for screen reader users in the info toggle trigger button.\nNot visible for normal users."
|
|
399
|
+
},
|
|
400
|
+
"attribute": "accessible-label-info-button",
|
|
401
|
+
"reflect": false,
|
|
402
|
+
"defaultValue": "getLocaleString(this.accessibleLabelInfoButtonDefaults)"
|
|
403
|
+
},
|
|
404
|
+
"accessibleActiveDescendant": {
|
|
405
|
+
"type": "string",
|
|
406
|
+
"mutable": false,
|
|
407
|
+
"complexType": {
|
|
408
|
+
"original": "string",
|
|
409
|
+
"resolved": "string",
|
|
410
|
+
"references": {}
|
|
411
|
+
},
|
|
412
|
+
"required": false,
|
|
413
|
+
"optional": false,
|
|
414
|
+
"docs": {
|
|
415
|
+
"tags": [],
|
|
416
|
+
"text": "Indicates the id of a related component\u2019s visually focused element."
|
|
417
|
+
},
|
|
418
|
+
"attribute": "accessible-active-descendant",
|
|
419
|
+
"reflect": false
|
|
420
|
+
},
|
|
421
|
+
"accessibleControls": {
|
|
422
|
+
"type": "string",
|
|
423
|
+
"mutable": false,
|
|
424
|
+
"complexType": {
|
|
425
|
+
"original": "string",
|
|
426
|
+
"resolved": "string",
|
|
427
|
+
"references": {}
|
|
428
|
+
},
|
|
429
|
+
"required": false,
|
|
430
|
+
"optional": false,
|
|
431
|
+
"docs": {
|
|
432
|
+
"tags": [],
|
|
433
|
+
"text": "Use this prop to add an aria-controls attribute. Use the attribute to\nindicate the id of a component controlled by this component."
|
|
434
|
+
},
|
|
435
|
+
"attribute": "accessible-controls",
|
|
436
|
+
"reflect": false
|
|
437
|
+
},
|
|
438
|
+
"accessibleOwns": {
|
|
439
|
+
"type": "string",
|
|
440
|
+
"mutable": false,
|
|
441
|
+
"complexType": {
|
|
442
|
+
"original": "string",
|
|
443
|
+
"resolved": "string",
|
|
444
|
+
"references": {}
|
|
445
|
+
},
|
|
446
|
+
"required": false,
|
|
447
|
+
"optional": false,
|
|
448
|
+
"docs": {
|
|
449
|
+
"tags": [],
|
|
450
|
+
"text": "Indicates the id of a component owned by the choice."
|
|
451
|
+
},
|
|
452
|
+
"attribute": "accessible-owns",
|
|
453
|
+
"reflect": false
|
|
454
|
+
},
|
|
455
|
+
"accessibleDescribedBy": {
|
|
456
|
+
"type": "string",
|
|
457
|
+
"mutable": false,
|
|
458
|
+
"complexType": {
|
|
459
|
+
"original": "string",
|
|
460
|
+
"resolved": "string",
|
|
461
|
+
"references": {}
|
|
462
|
+
},
|
|
463
|
+
"required": false,
|
|
464
|
+
"optional": false,
|
|
465
|
+
"docs": {
|
|
466
|
+
"tags": [],
|
|
467
|
+
"text": "Indicates the id of a component that describes the choice.\nif this is set to an empty string it will prevent screenreaders from flowing to a collapsible content\nand can be used as an escape hatch if that behaviour is undesired."
|
|
468
|
+
},
|
|
469
|
+
"attribute": "accessible-described-by",
|
|
470
|
+
"reflect": false
|
|
471
|
+
},
|
|
472
|
+
"accessibleDetails": {
|
|
473
|
+
"type": "string",
|
|
474
|
+
"mutable": false,
|
|
475
|
+
"complexType": {
|
|
476
|
+
"original": "string",
|
|
477
|
+
"resolved": "string",
|
|
478
|
+
"references": {}
|
|
479
|
+
},
|
|
480
|
+
"required": false,
|
|
481
|
+
"optional": false,
|
|
482
|
+
"docs": {
|
|
483
|
+
"tags": [],
|
|
484
|
+
"text": "Aria Details of the component"
|
|
485
|
+
},
|
|
486
|
+
"attribute": "accessible-details",
|
|
487
|
+
"reflect": false,
|
|
488
|
+
"defaultValue": "undefined"
|
|
489
|
+
},
|
|
490
|
+
"accessibleLabelledBy": {
|
|
491
|
+
"type": "string",
|
|
492
|
+
"mutable": false,
|
|
493
|
+
"complexType": {
|
|
494
|
+
"original": "string",
|
|
495
|
+
"resolved": "string",
|
|
496
|
+
"references": {}
|
|
497
|
+
},
|
|
498
|
+
"required": false,
|
|
499
|
+
"optional": false,
|
|
500
|
+
"docs": {
|
|
501
|
+
"tags": [],
|
|
502
|
+
"text": "String of id's that indicate alternative labels elements"
|
|
503
|
+
},
|
|
504
|
+
"attribute": "accessible-labelled-by",
|
|
505
|
+
"reflect": false,
|
|
506
|
+
"defaultValue": "undefined"
|
|
507
|
+
},
|
|
508
|
+
"accessibleDescription": {
|
|
509
|
+
"type": "string",
|
|
510
|
+
"mutable": false,
|
|
511
|
+
"complexType": {
|
|
512
|
+
"original": "string",
|
|
513
|
+
"resolved": "string",
|
|
514
|
+
"references": {}
|
|
515
|
+
},
|
|
516
|
+
"required": false,
|
|
517
|
+
"optional": false,
|
|
518
|
+
"docs": {
|
|
519
|
+
"tags": [],
|
|
520
|
+
"text": "Aria description the button"
|
|
521
|
+
},
|
|
522
|
+
"attribute": "accessible-description",
|
|
523
|
+
"reflect": false,
|
|
524
|
+
"defaultValue": "undefined"
|
|
525
|
+
},
|
|
526
|
+
"caption": {
|
|
527
|
+
"type": "string",
|
|
528
|
+
"mutable": false,
|
|
529
|
+
"complexType": {
|
|
530
|
+
"original": "string",
|
|
531
|
+
"resolved": "string",
|
|
532
|
+
"references": {}
|
|
533
|
+
},
|
|
534
|
+
"required": false,
|
|
535
|
+
"optional": false,
|
|
536
|
+
"docs": {
|
|
537
|
+
"tags": [],
|
|
538
|
+
"text": "Additional caption to show inside the label of the choice button."
|
|
539
|
+
},
|
|
540
|
+
"attribute": "caption",
|
|
541
|
+
"reflect": false,
|
|
542
|
+
"defaultValue": "\"\""
|
|
543
|
+
},
|
|
544
|
+
"value": {
|
|
545
|
+
"type": "string",
|
|
546
|
+
"mutable": true,
|
|
547
|
+
"complexType": {
|
|
548
|
+
"original": "string",
|
|
549
|
+
"resolved": "string",
|
|
550
|
+
"references": {}
|
|
551
|
+
},
|
|
552
|
+
"required": false,
|
|
553
|
+
"optional": false,
|
|
554
|
+
"docs": {
|
|
555
|
+
"tags": [],
|
|
556
|
+
"text": "The value of the html input that the Choice component controls."
|
|
557
|
+
},
|
|
558
|
+
"attribute": "value",
|
|
559
|
+
"reflect": true
|
|
560
|
+
},
|
|
561
|
+
"type": {
|
|
562
|
+
"type": "string",
|
|
563
|
+
"mutable": false,
|
|
564
|
+
"complexType": {
|
|
565
|
+
"original": "DuetChoiceType",
|
|
566
|
+
"resolved": "\"checkbox\" | \"radio\"",
|
|
567
|
+
"references": {
|
|
568
|
+
"DuetChoiceType": {
|
|
569
|
+
"location": "import",
|
|
570
|
+
"path": "../../common-types",
|
|
571
|
+
"id": "src/common-types.d.ts::DuetChoiceType"
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
},
|
|
575
|
+
"required": false,
|
|
576
|
+
"optional": false,
|
|
577
|
+
"docs": {
|
|
578
|
+
"tags": [],
|
|
579
|
+
"text": "Type of the choice button. You can set the type of the choice to be either\n\u201Cradio\u201D or \u201Ccheckbox\u201D. Depending on this selection we convey the selection\ntype to assistive technologies as well. When type \u201Cradio\u201D is chosen it is\nrequired to place the choices inside Choice Group component."
|
|
580
|
+
},
|
|
581
|
+
"attribute": "type",
|
|
582
|
+
"reflect": true,
|
|
583
|
+
"defaultValue": "\"checkbox\""
|
|
584
|
+
},
|
|
585
|
+
"name": {
|
|
586
|
+
"type": "string",
|
|
587
|
+
"mutable": false,
|
|
588
|
+
"complexType": {
|
|
589
|
+
"original": "string",
|
|
590
|
+
"resolved": "string",
|
|
591
|
+
"references": {}
|
|
592
|
+
},
|
|
593
|
+
"required": false,
|
|
594
|
+
"optional": false,
|
|
595
|
+
"docs": {
|
|
596
|
+
"tags": [],
|
|
597
|
+
"text": "Name attribute of the html input that the Choice component controls."
|
|
598
|
+
},
|
|
599
|
+
"attribute": "name",
|
|
600
|
+
"reflect": false
|
|
601
|
+
},
|
|
602
|
+
"checked": {
|
|
603
|
+
"type": "boolean",
|
|
604
|
+
"mutable": true,
|
|
605
|
+
"complexType": {
|
|
606
|
+
"original": "boolean",
|
|
607
|
+
"resolved": "boolean",
|
|
608
|
+
"references": {}
|
|
609
|
+
},
|
|
610
|
+
"required": false,
|
|
611
|
+
"optional": false,
|
|
612
|
+
"docs": {
|
|
613
|
+
"tags": [],
|
|
614
|
+
"text": "Checked state of the choice button."
|
|
615
|
+
},
|
|
616
|
+
"attribute": "checked",
|
|
617
|
+
"reflect": true,
|
|
618
|
+
"defaultValue": "false"
|
|
619
|
+
},
|
|
620
|
+
"collapsible": {
|
|
621
|
+
"type": "boolean",
|
|
622
|
+
"mutable": false,
|
|
623
|
+
"complexType": {
|
|
624
|
+
"original": "boolean",
|
|
625
|
+
"resolved": "boolean",
|
|
626
|
+
"references": {}
|
|
627
|
+
},
|
|
628
|
+
"required": false,
|
|
629
|
+
"optional": false,
|
|
630
|
+
"docs": {
|
|
631
|
+
"tags": [],
|
|
632
|
+
"text": "Makes the choice button open a new section underneath it when clicked or\ntapped. This new section can be used to show more options related to this\nchoice. Please note that this feature can\u2019t be used together with the \"info\"\nfunctionality and that it only accepts plain dom nodes (no shadow dom elements\nsuch as duet-paragraph can be used as this will break accessibility)"
|
|
633
|
+
},
|
|
634
|
+
"attribute": "collapsible",
|
|
635
|
+
"reflect": false,
|
|
636
|
+
"defaultValue": "false"
|
|
637
|
+
},
|
|
638
|
+
"collapsibleForceExpanded": {
|
|
639
|
+
"type": "boolean",
|
|
640
|
+
"mutable": false,
|
|
641
|
+
"complexType": {
|
|
642
|
+
"original": "boolean",
|
|
643
|
+
"resolved": "boolean",
|
|
644
|
+
"references": {}
|
|
645
|
+
},
|
|
646
|
+
"required": false,
|
|
647
|
+
"optional": false,
|
|
648
|
+
"docs": {
|
|
649
|
+
"tags": [],
|
|
650
|
+
"text": "This attribute works only when the 'collapsible' attribute is set to true.\nIt maintains the visibility of the additional content section, regardless of whether the input is checked or not."
|
|
651
|
+
},
|
|
652
|
+
"attribute": "collapsible-force-expanded",
|
|
653
|
+
"reflect": false,
|
|
654
|
+
"defaultValue": "false"
|
|
655
|
+
},
|
|
656
|
+
"margin": {
|
|
657
|
+
"type": "string",
|
|
658
|
+
"mutable": false,
|
|
659
|
+
"complexType": {
|
|
660
|
+
"original": "DuetMargin",
|
|
661
|
+
"resolved": "\"auto\" | \"none\"",
|
|
662
|
+
"references": {
|
|
663
|
+
"DuetMargin": {
|
|
664
|
+
"location": "import",
|
|
665
|
+
"path": "../../common-types",
|
|
666
|
+
"id": "src/common-types.d.ts::DuetMargin"
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
},
|
|
670
|
+
"required": false,
|
|
671
|
+
"optional": false,
|
|
672
|
+
"docs": {
|
|
673
|
+
"tags": [],
|
|
674
|
+
"text": "Controls the margin of the component."
|
|
675
|
+
},
|
|
676
|
+
"attribute": "margin",
|
|
677
|
+
"reflect": false,
|
|
678
|
+
"defaultValue": "\"auto\""
|
|
679
|
+
},
|
|
680
|
+
"icon": {
|
|
681
|
+
"type": "string",
|
|
682
|
+
"mutable": false,
|
|
683
|
+
"complexType": {
|
|
684
|
+
"original": "string",
|
|
685
|
+
"resolved": "string",
|
|
686
|
+
"references": {}
|
|
687
|
+
},
|
|
688
|
+
"required": false,
|
|
689
|
+
"optional": false,
|
|
690
|
+
"docs": {
|
|
691
|
+
"tags": [],
|
|
692
|
+
"text": "Icon to display to the left of the choice button label."
|
|
693
|
+
},
|
|
694
|
+
"attribute": "icon",
|
|
695
|
+
"reflect": false,
|
|
696
|
+
"defaultValue": "\"\""
|
|
1074
697
|
},
|
|
1075
|
-
"
|
|
1076
|
-
|
|
1077
|
-
|
|
698
|
+
"expand": {
|
|
699
|
+
"type": "boolean",
|
|
700
|
+
"mutable": false,
|
|
701
|
+
"complexType": {
|
|
702
|
+
"original": "boolean",
|
|
703
|
+
"resolved": "boolean",
|
|
704
|
+
"references": {}
|
|
705
|
+
},
|
|
706
|
+
"required": false,
|
|
707
|
+
"optional": false,
|
|
708
|
+
"docs": {
|
|
709
|
+
"tags": [],
|
|
710
|
+
"text": "Expands the choice button to fill 100% of the container width."
|
|
711
|
+
},
|
|
712
|
+
"attribute": "expand",
|
|
713
|
+
"reflect": false,
|
|
714
|
+
"defaultValue": "false"
|
|
715
|
+
},
|
|
716
|
+
"padding": {
|
|
717
|
+
"type": "string",
|
|
718
|
+
"mutable": false,
|
|
719
|
+
"complexType": {
|
|
720
|
+
"original": "DuetPadding",
|
|
721
|
+
"resolved": "\"auto\" | \"none\"",
|
|
722
|
+
"references": {
|
|
723
|
+
"DuetPadding": {
|
|
724
|
+
"location": "import",
|
|
725
|
+
"path": "../../common-types",
|
|
726
|
+
"id": "src/common-types.d.ts::DuetPadding"
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
},
|
|
730
|
+
"required": false,
|
|
731
|
+
"optional": false,
|
|
732
|
+
"docs": {
|
|
733
|
+
"tags": [],
|
|
734
|
+
"text": "Controls the padding of the component."
|
|
735
|
+
},
|
|
736
|
+
"attribute": "padding",
|
|
737
|
+
"reflect": false,
|
|
738
|
+
"defaultValue": "\"auto\""
|
|
739
|
+
},
|
|
740
|
+
"identifier": {
|
|
741
|
+
"type": "string",
|
|
742
|
+
"mutable": false,
|
|
743
|
+
"complexType": {
|
|
744
|
+
"original": "string",
|
|
745
|
+
"resolved": "string",
|
|
746
|
+
"references": {}
|
|
747
|
+
},
|
|
748
|
+
"required": false,
|
|
749
|
+
"optional": false,
|
|
750
|
+
"docs": {
|
|
751
|
+
"tags": [],
|
|
752
|
+
"text": "Adds a unique identifier for the choice button."
|
|
753
|
+
},
|
|
754
|
+
"attribute": "identifier",
|
|
755
|
+
"reflect": false
|
|
756
|
+
},
|
|
757
|
+
"groupDirection": {
|
|
758
|
+
"type": "string",
|
|
759
|
+
"mutable": false,
|
|
760
|
+
"complexType": {
|
|
761
|
+
"original": "DuetDirection",
|
|
762
|
+
"resolved": "\"horizontal\" | \"vertical\"",
|
|
763
|
+
"references": {
|
|
764
|
+
"DuetDirection": {
|
|
765
|
+
"location": "import",
|
|
766
|
+
"path": "../../common-types",
|
|
767
|
+
"id": "src/common-types.d.ts::DuetDirection"
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
},
|
|
771
|
+
"required": false,
|
|
772
|
+
"optional": false,
|
|
773
|
+
"docs": {
|
|
774
|
+
"tags": [{
|
|
775
|
+
"name": "internal",
|
|
776
|
+
"text": "Determines whether the control is displayed horizontally or vertically within\na group."
|
|
777
|
+
}],
|
|
778
|
+
"text": ""
|
|
779
|
+
},
|
|
780
|
+
"attribute": "group-direction",
|
|
781
|
+
"reflect": false
|
|
782
|
+
},
|
|
783
|
+
"groupDisabled": {
|
|
784
|
+
"type": "boolean",
|
|
785
|
+
"mutable": false,
|
|
786
|
+
"complexType": {
|
|
787
|
+
"original": "boolean",
|
|
788
|
+
"resolved": "boolean",
|
|
789
|
+
"references": {}
|
|
790
|
+
},
|
|
791
|
+
"required": false,
|
|
792
|
+
"optional": false,
|
|
793
|
+
"docs": {
|
|
794
|
+
"tags": [{
|
|
795
|
+
"name": "internal",
|
|
796
|
+
"text": "Determines, whether the control is disabled from the parent group."
|
|
797
|
+
}],
|
|
798
|
+
"text": ""
|
|
799
|
+
},
|
|
800
|
+
"attribute": "group-disabled",
|
|
801
|
+
"reflect": false
|
|
802
|
+
},
|
|
803
|
+
"groupResponsive": {
|
|
804
|
+
"type": "boolean",
|
|
805
|
+
"mutable": false,
|
|
806
|
+
"complexType": {
|
|
807
|
+
"original": "boolean",
|
|
808
|
+
"resolved": "boolean",
|
|
809
|
+
"references": {}
|
|
810
|
+
},
|
|
811
|
+
"required": false,
|
|
812
|
+
"optional": false,
|
|
813
|
+
"docs": {
|
|
814
|
+
"tags": [{
|
|
815
|
+
"name": "internal",
|
|
816
|
+
"text": "Determines whether the group has responsive behavior"
|
|
817
|
+
}],
|
|
818
|
+
"text": ""
|
|
819
|
+
},
|
|
820
|
+
"attribute": "group-responsive",
|
|
821
|
+
"reflect": false
|
|
822
|
+
},
|
|
823
|
+
"disabled": {
|
|
824
|
+
"type": "boolean",
|
|
825
|
+
"mutable": false,
|
|
826
|
+
"complexType": {
|
|
827
|
+
"original": "boolean",
|
|
828
|
+
"resolved": "boolean",
|
|
829
|
+
"references": {}
|
|
830
|
+
},
|
|
831
|
+
"required": false,
|
|
832
|
+
"optional": false,
|
|
833
|
+
"docs": {
|
|
834
|
+
"tags": [],
|
|
835
|
+
"text": "Makes the choice component disabled. This prevents users from being able to\ninteract with the choice, and conveys its inactive state to assistive technologies."
|
|
836
|
+
},
|
|
837
|
+
"attribute": "disabled",
|
|
838
|
+
"reflect": true,
|
|
839
|
+
"defaultValue": "false"
|
|
840
|
+
},
|
|
841
|
+
"required": {
|
|
842
|
+
"type": "boolean",
|
|
843
|
+
"mutable": false,
|
|
844
|
+
"complexType": {
|
|
845
|
+
"original": "boolean",
|
|
846
|
+
"resolved": "boolean",
|
|
847
|
+
"references": {}
|
|
848
|
+
},
|
|
849
|
+
"required": false,
|
|
850
|
+
"optional": false,
|
|
851
|
+
"docs": {
|
|
852
|
+
"tags": [],
|
|
853
|
+
"text": "Set whether the input is required or not. Please note that this is necessary for\naccessible inputs when the user is required to fill them. When using this property\nyou need to also set \u201Cnovalidate\u201D attribute to your form element to prevent\nbrowser from displaying its own validation errors."
|
|
854
|
+
},
|
|
855
|
+
"attribute": "required",
|
|
856
|
+
"reflect": false,
|
|
857
|
+
"defaultValue": "false"
|
|
858
|
+
},
|
|
859
|
+
"infoLabelDefaults": {
|
|
860
|
+
"type": "string",
|
|
861
|
+
"mutable": false,
|
|
862
|
+
"complexType": {
|
|
863
|
+
"original": "DuetLangObject | string",
|
|
864
|
+
"resolved": "DuetLangObject | string",
|
|
865
|
+
"references": {
|
|
866
|
+
"DuetLangObject": {
|
|
867
|
+
"location": "import",
|
|
868
|
+
"path": "../../utils/language-utils",
|
|
869
|
+
"id": "src/utils/language-utils.ts::DuetLangObject"
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
},
|
|
873
|
+
"required": false,
|
|
874
|
+
"optional": false,
|
|
875
|
+
"docs": {
|
|
876
|
+
"tags": [],
|
|
877
|
+
"text": "Accessible info label defaults"
|
|
878
|
+
},
|
|
879
|
+
"attribute": "accessible-label-info-default",
|
|
880
|
+
"reflect": false,
|
|
881
|
+
"defaultValue": "{\n fi: \"Lis\u00E4tietoja vaihtoehdosta\",\n en: \"More information about\",\n sv: \"Mera information om\",\n }"
|
|
882
|
+
},
|
|
883
|
+
"infoLabel": {
|
|
884
|
+
"type": "string",
|
|
885
|
+
"mutable": true,
|
|
886
|
+
"complexType": {
|
|
887
|
+
"original": "string",
|
|
888
|
+
"resolved": "string",
|
|
889
|
+
"references": {}
|
|
890
|
+
},
|
|
891
|
+
"required": false,
|
|
892
|
+
"optional": false,
|
|
893
|
+
"docs": {
|
|
894
|
+
"tags": [{
|
|
895
|
+
"name": "default",
|
|
896
|
+
"text": "{\nfi: \"Lis\u00E4tietoja vaihtoehdosta\",\nen: \"More information about\",\nsv: \"Mera information om\",\n}"
|
|
897
|
+
}],
|
|
898
|
+
"text": "Accessible info label"
|
|
899
|
+
},
|
|
900
|
+
"attribute": "info-label",
|
|
901
|
+
"reflect": false,
|
|
902
|
+
"defaultValue": "getLocaleString(this.infoLabelDefaults, getLanguage())"
|
|
903
|
+
},
|
|
904
|
+
"collapsibleNotificationDefaults": {
|
|
905
|
+
"type": "string",
|
|
906
|
+
"mutable": false,
|
|
907
|
+
"complexType": {
|
|
908
|
+
"original": "| DuetLangObject\n | string",
|
|
909
|
+
"resolved": "DuetLangObject | string",
|
|
910
|
+
"references": {
|
|
911
|
+
"DuetLangObject": {
|
|
912
|
+
"location": "import",
|
|
913
|
+
"path": "../../utils/language-utils",
|
|
914
|
+
"id": "src/utils/language-utils.ts::DuetLangObject"
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
},
|
|
918
|
+
"required": false,
|
|
919
|
+
"optional": false,
|
|
920
|
+
"docs": {
|
|
921
|
+
"tags": [],
|
|
922
|
+
"text": "Accessible collapsible notification defaults"
|
|
923
|
+
},
|
|
924
|
+
"attribute": "accessible-collapsible-notification-default",
|
|
925
|
+
"reflect": false,
|
|
926
|
+
"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 }"
|
|
927
|
+
},
|
|
928
|
+
"collapsibleNotification": {
|
|
929
|
+
"type": "string",
|
|
930
|
+
"mutable": true,
|
|
931
|
+
"complexType": {
|
|
932
|
+
"original": "string",
|
|
933
|
+
"resolved": "string",
|
|
934
|
+
"references": {}
|
|
935
|
+
},
|
|
936
|
+
"required": false,
|
|
937
|
+
"optional": false,
|
|
938
|
+
"docs": {
|
|
939
|
+
"tags": [{
|
|
940
|
+
"name": "default",
|
|
941
|
+
"text": "{\nfi: \"T\u00E4m\u00E4 valinta sis\u00E4lt\u00E4\u00E4 lis\u00E4tietoja, jotka avautuivat alle\",\nen: \"This choice has additional information opened below\",\nsv: \"Det h\u00E4r val har mer information som \u00F6ppnades nedan\",\n}"
|
|
942
|
+
}],
|
|
943
|
+
"text": "Accessible collapsible notification. If a collapsible choice has no header, and contains other\nelements than duet-paragraph, duet-heading or duet-fieldset, this is used as the accessible\nnotification of opening the collapsible content (added to aria-describedby)."
|
|
944
|
+
},
|
|
945
|
+
"attribute": "collapsible-notification",
|
|
946
|
+
"reflect": false,
|
|
947
|
+
"defaultValue": "getLocaleString(\n this.collapsibleNotificationDefaults,\n getLanguage()\n )"
|
|
1078
948
|
}
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
949
|
+
};
|
|
950
|
+
}
|
|
951
|
+
static get states() {
|
|
952
|
+
return {
|
|
953
|
+
"isHovering": {},
|
|
954
|
+
"isInfoOpen": {},
|
|
955
|
+
"isBlurred": {}
|
|
956
|
+
};
|
|
957
|
+
}
|
|
958
|
+
static get events() {
|
|
959
|
+
return [{
|
|
960
|
+
"method": "duetChoiceReady",
|
|
961
|
+
"name": "duetChoiceReady",
|
|
962
|
+
"bubbles": true,
|
|
963
|
+
"cancelable": true,
|
|
964
|
+
"composed": true,
|
|
965
|
+
"docs": {
|
|
966
|
+
"tags": [],
|
|
967
|
+
"text": "Emitted when the component is available in the DOM."
|
|
968
|
+
},
|
|
969
|
+
"complexType": {
|
|
970
|
+
"original": "CustomEvent",
|
|
971
|
+
"resolved": "CustomEvent<any>",
|
|
972
|
+
"references": {
|
|
973
|
+
"CustomEvent": {
|
|
974
|
+
"location": "global",
|
|
975
|
+
"id": "global::CustomEvent"
|
|
976
|
+
}
|
|
977
|
+
}
|
|
978
|
+
}
|
|
979
|
+
}, {
|
|
980
|
+
"method": "duetChoiceRemove",
|
|
981
|
+
"name": "duetChoiceRemove",
|
|
982
|
+
"bubbles": true,
|
|
983
|
+
"cancelable": true,
|
|
984
|
+
"composed": true,
|
|
985
|
+
"docs": {
|
|
986
|
+
"tags": [],
|
|
987
|
+
"text": "Emitted when the component is removed from the DOM."
|
|
988
|
+
},
|
|
989
|
+
"complexType": {
|
|
990
|
+
"original": "CustomEvent",
|
|
991
|
+
"resolved": "CustomEvent<any>",
|
|
992
|
+
"references": {
|
|
993
|
+
"CustomEvent": {
|
|
994
|
+
"location": "global",
|
|
995
|
+
"id": "global::CustomEvent"
|
|
996
|
+
}
|
|
997
|
+
}
|
|
998
|
+
}
|
|
999
|
+
}, {
|
|
1000
|
+
"method": "duetChange",
|
|
1001
|
+
"name": "duetChange",
|
|
1002
|
+
"bubbles": true,
|
|
1003
|
+
"cancelable": true,
|
|
1004
|
+
"composed": true,
|
|
1005
|
+
"docs": {
|
|
1006
|
+
"tags": [],
|
|
1007
|
+
"text": "Emitted when the checked property has changed."
|
|
1008
|
+
},
|
|
1009
|
+
"complexType": {
|
|
1010
|
+
"original": "DuetChoiceEvent",
|
|
1011
|
+
"resolved": "{ originalEvent?: Event; checked: boolean; value: string; component: \"duet-choice\"; }",
|
|
1012
|
+
"references": {
|
|
1013
|
+
"DuetChoiceEvent": {
|
|
1014
|
+
"location": "local",
|
|
1015
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-choice/duet-choice.tsx",
|
|
1016
|
+
"id": "src/components/duet-choice/duet-choice.tsx::DuetChoiceEvent"
|
|
1017
|
+
}
|
|
1018
|
+
}
|
|
1019
|
+
}
|
|
1020
|
+
}, {
|
|
1021
|
+
"method": "duetFocus",
|
|
1022
|
+
"name": "duetFocus",
|
|
1023
|
+
"bubbles": true,
|
|
1024
|
+
"cancelable": true,
|
|
1025
|
+
"composed": true,
|
|
1026
|
+
"docs": {
|
|
1027
|
+
"tags": [],
|
|
1028
|
+
"text": "Emitted when the checkbox has focus."
|
|
1029
|
+
},
|
|
1030
|
+
"complexType": {
|
|
1031
|
+
"original": "DuetChoiceEvent",
|
|
1032
|
+
"resolved": "{ originalEvent?: Event; checked: boolean; value: string; component: \"duet-choice\"; }",
|
|
1033
|
+
"references": {
|
|
1034
|
+
"DuetChoiceEvent": {
|
|
1035
|
+
"location": "local",
|
|
1036
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-choice/duet-choice.tsx",
|
|
1037
|
+
"id": "src/components/duet-choice/duet-choice.tsx::DuetChoiceEvent"
|
|
1038
|
+
}
|
|
1039
|
+
}
|
|
1040
|
+
}
|
|
1041
|
+
}, {
|
|
1042
|
+
"method": "duetBlur",
|
|
1043
|
+
"name": "duetBlur",
|
|
1044
|
+
"bubbles": true,
|
|
1045
|
+
"cancelable": true,
|
|
1046
|
+
"composed": true,
|
|
1047
|
+
"docs": {
|
|
1048
|
+
"tags": [],
|
|
1049
|
+
"text": "Emitted when the checkbox loses focus."
|
|
1050
|
+
},
|
|
1051
|
+
"complexType": {
|
|
1052
|
+
"original": "DuetChoiceEvent",
|
|
1053
|
+
"resolved": "{ originalEvent?: Event; checked: boolean; value: string; component: \"duet-choice\"; }",
|
|
1054
|
+
"references": {
|
|
1055
|
+
"DuetChoiceEvent": {
|
|
1056
|
+
"location": "local",
|
|
1057
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-choice/duet-choice.tsx",
|
|
1058
|
+
"id": "src/components/duet-choice/duet-choice.tsx::DuetChoiceEvent"
|
|
1059
|
+
}
|
|
1060
|
+
}
|
|
1061
|
+
}
|
|
1062
|
+
}];
|
|
1063
|
+
}
|
|
1064
|
+
static get methods() {
|
|
1065
|
+
return {
|
|
1066
|
+
"setFocus": {
|
|
1067
|
+
"complexType": {
|
|
1068
|
+
"signature": "(options?: FocusOptions) => Promise<void>",
|
|
1069
|
+
"parameters": [{
|
|
1070
|
+
"name": "options",
|
|
1071
|
+
"type": "FocusOptions",
|
|
1072
|
+
"docs": ""
|
|
1073
|
+
}],
|
|
1074
|
+
"references": {
|
|
1075
|
+
"Promise": {
|
|
1076
|
+
"location": "global",
|
|
1077
|
+
"id": "global::Promise"
|
|
1078
|
+
},
|
|
1079
|
+
"FocusOptions": {
|
|
1080
|
+
"location": "global",
|
|
1081
|
+
"id": "global::FocusOptions"
|
|
1082
|
+
}
|
|
1083
|
+
},
|
|
1084
|
+
"return": "Promise<void>"
|
|
1085
|
+
},
|
|
1086
|
+
"docs": {
|
|
1087
|
+
"text": "Sets focus on the specified `duet-choice`. Use this method instead of the global\n`input.focus()`.",
|
|
1088
|
+
"tags": []
|
|
1089
|
+
}
|
|
1090
|
+
},
|
|
1091
|
+
"toggleInfoMethod": {
|
|
1092
|
+
"complexType": {
|
|
1093
|
+
"signature": "() => Promise<void>",
|
|
1094
|
+
"parameters": [],
|
|
1095
|
+
"references": {
|
|
1096
|
+
"Promise": {
|
|
1097
|
+
"location": "global",
|
|
1098
|
+
"id": "global::Promise"
|
|
1099
|
+
}
|
|
1100
|
+
},
|
|
1101
|
+
"return": "Promise<void>"
|
|
1102
|
+
},
|
|
1103
|
+
"docs": {
|
|
1104
|
+
"text": "This method toggles the info section.",
|
|
1105
|
+
"tags": []
|
|
1106
|
+
}
|
|
1095
1107
|
}
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
}, {
|
|
1121
|
-
"name": "keyup",
|
|
1122
|
-
"method": "handleHostKeyUp",
|
|
1123
|
-
"target": undefined,
|
|
1124
|
-
"capture": true,
|
|
1125
|
-
"passive": false
|
|
1126
|
-
}];
|
|
1127
|
-
}
|
|
1108
|
+
};
|
|
1109
|
+
}
|
|
1110
|
+
static get elementRef() { return "element"; }
|
|
1111
|
+
static get listeners() {
|
|
1112
|
+
return [{
|
|
1113
|
+
"name": "blur",
|
|
1114
|
+
"method": "handleHostBlur",
|
|
1115
|
+
"target": undefined,
|
|
1116
|
+
"capture": true,
|
|
1117
|
+
"passive": false
|
|
1118
|
+
}, {
|
|
1119
|
+
"name": "keydown",
|
|
1120
|
+
"method": "handleHostKeyDown",
|
|
1121
|
+
"target": undefined,
|
|
1122
|
+
"capture": true,
|
|
1123
|
+
"passive": false
|
|
1124
|
+
}, {
|
|
1125
|
+
"name": "keyup",
|
|
1126
|
+
"method": "handleHostKeyUp",
|
|
1127
|
+
"target": undefined,
|
|
1128
|
+
"capture": true,
|
|
1129
|
+
"passive": false
|
|
1130
|
+
}];
|
|
1131
|
+
}
|
|
1128
1132
|
}
|