@duetds/components 8.0.5 → 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 +19102 -17869
- 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 +60 -57
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +32 -25
- package/lib/cjs/duet-toolbar.cjs.entry.js +35 -33
- 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-9e2ea961.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.css +12 -0
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +105 -85
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +38 -0
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +221 -199
- 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.css +32 -0
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +156 -131
- 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 +88 -84
- package/lib/dist-custom-elements/duet-toolbar-link.d.ts +2 -2
- package/lib/dist-custom-elements/duet-toolbar-link.js +59 -51
- package/lib/dist-custom-elements/duet-toolbar.d.ts +2 -2
- package/lib/dist-custom-elements/duet-toolbar.js +53 -50
- 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-ae75bc08.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/{esm/language-utils-9ff76444.js → dist-custom-elements/p-2e36d5bf.js} +74 -74
- package/lib/dist-custom-elements/p-38b35e69.js +265 -0
- package/lib/dist-custom-elements/{p-bde48422.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-3a63e916.js → p-5fe36e8b.js} +278 -278
- package/lib/dist-custom-elements/{p-670570b2.js → p-6f7dcc4d.js} +65 -43
- package/lib/dist-custom-elements/{p-b996e85b.js → p-6fbb1970.js} +128 -128
- package/lib/dist-custom-elements/{p-cb0eec72.js → p-70a66e96.js} +42 -42
- package/lib/dist-custom-elements/{p-219d974b.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-e558d310.js → p-a45d0398.js} +56 -56
- package/lib/dist-custom-elements/p-a58bd561.js +13 -0
- package/lib/dist-custom-elements/{p-8290757e.js → p-a6e6f578.js} +48 -48
- package/lib/dist-custom-elements/p-b2e550a3.js +97 -0
- package/lib/dist-custom-elements/{p-650d5990.js → p-ba0f907f.js} +64 -64
- package/lib/dist-custom-elements/{p-4469d73c.js → p-ba9ad148.js} +47 -47
- package/lib/dist-custom-elements/p-bc3fa417.js +76 -0
- package/lib/dist-custom-elements/{p-49a51210.js → p-ce1cc5ab.js} +98 -88
- package/lib/dist-custom-elements/p-d5f3b174.js +38 -0
- package/lib/dist-custom-elements/{p-d3ee5c39.js → p-d5fc2405.js} +50 -50
- package/lib/dist-custom-elements/p-df7874f9.js +53 -0
- package/lib/dist-custom-elements/{p-d7f8cd01.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-6d7578b9.js → p-07af14f1.js} +1 -1
- package/lib/duet/{p-e79a0e0b.entry.js → p-0a7c3ecf.entry.js} +1 -1
- package/lib/duet/{p-5ddd8a91.system.entry.js → p-0aa1b1cd.system.entry.js} +2 -2
- package/lib/duet/{p-29d7df6e.entry.js → p-105a1448.entry.js} +1 -1
- package/lib/duet/{p-bb56723c.entry.js → p-132ea5e6.entry.js} +1 -1
- package/lib/duet/{p-9d1267d8.entry.js → p-13876bc6.entry.js} +1 -1
- package/lib/duet/{p-34c59882.entry.js → p-13f7d993.entry.js} +1 -1
- package/lib/duet/{p-602f1983.entry.js → p-16db7b1e.entry.js} +1 -1
- package/lib/duet/{p-1a7b4937.entry.js → p-191959c7.entry.js} +1 -1
- package/lib/duet/p-1b11541f.entry.js +4 -0
- package/lib/duet/{p-2869dc54.system.entry.js → p-1e587bcc.system.entry.js} +1 -1
- package/lib/duet/{p-4b0cee30.system.entry.js → p-1ea5e7e8.system.entry.js} +1 -1
- package/lib/duet/{p-7b5cadc7.entry.js → p-1fbbf69f.entry.js} +1 -1
- package/lib/duet/{p-6e3f96c8.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-367d5eb9.entry.js → p-226489c4.entry.js} +1 -1
- package/lib/duet/{p-ac19c76a.entry.js → p-2349e838.entry.js} +1 -1
- package/lib/duet/{p-b188d4e3.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-ad0f3fb7.entry.js → p-25bde810.entry.js} +1 -1
- package/lib/duet/{p-53490e72.entry.js → p-26c85bab.entry.js} +1 -1
- package/lib/duet/{p-778f42fe.system.entry.js → p-26f7d1b9.system.entry.js} +1 -1
- package/lib/duet/{p-28d09818.entry.js → p-2b9499f1.entry.js} +1 -1
- package/lib/duet/{p-d056bac9.entry.js → p-2c730d40.entry.js} +1 -1
- package/lib/duet/{p-4883df66.js → p-2e36d5bf.js} +1 -1
- package/lib/duet/{p-50f395c1.entry.js → p-2f0a23ae.entry.js} +1 -1
- package/lib/duet/{p-893c30c7.entry.js → p-338ba4d2.entry.js} +1 -1
- package/lib/duet/{p-6278cc44.entry.js → p-33d6e5ef.entry.js} +1 -1
- package/lib/duet/{p-3247b913.entry.js → p-342527a4.entry.js} +1 -1
- package/lib/duet/{p-424f29fc.system.entry.js → p-3aa3fb24.system.entry.js} +1 -1
- package/lib/duet/{p-61e50943.system.entry.js → p-3cafacc3.system.entry.js} +1 -1
- package/lib/duet/{p-a94e261a.entry.js → p-3e1248d8.entry.js} +1 -1
- package/lib/duet/p-40ee5f5e.system.entry.js +4 -0
- package/lib/duet/p-4212bab8.js +5 -0
- package/lib/duet/{p-8609ea8a.system.entry.js → p-42b49430.system.entry.js} +1 -1
- package/lib/duet/{p-8a954fe5.system.entry.js → p-42b9c6f9.system.entry.js} +1 -1
- package/lib/duet/{p-3e6ef3dd.system.entry.js → p-464adc60.system.entry.js} +1 -1
- package/lib/duet/{p-e921c496.system.entry.js → p-48d6a81d.system.entry.js} +1 -1
- package/lib/duet/p-4911c778.system.entry.js +4 -0
- package/lib/duet/{p-51a3bd98.system.entry.js → p-4b272eca.system.entry.js} +1 -1
- package/lib/duet/p-4c650a9e.entry.js +4 -0
- package/lib/duet/{p-8b7f5890.entry.js → p-502f43bb.entry.js} +1 -1
- package/lib/duet/{p-a33aea42.entry.js → p-513dfe01.entry.js} +1 -1
- package/lib/duet/{p-6b66a45f.system.entry.js → p-51bdb5fd.system.entry.js} +1 -1
- package/lib/duet/{p-659e1bf0.entry.js → p-51d53e57.entry.js} +1 -1
- package/lib/duet/p-542d792f.entry.js +4 -0
- package/lib/duet/{p-d8bcb92e.entry.js → p-55f98dc4.entry.js} +1 -1
- package/lib/duet/{p-1c2a80cb.entry.js → p-57a63204.entry.js} +1 -1
- package/lib/duet/{p-cb9548e8.entry.js → p-580a7bae.entry.js} +1 -1
- package/lib/duet/{p-dfd872f3.entry.js → p-5b86c564.entry.js} +1 -1
- package/lib/duet/{p-d94805ae.system.entry.js → p-5c94249e.system.entry.js} +1 -1
- package/lib/duet/{p-ccc4e7bb.entry.js → p-5dccd17b.entry.js} +1 -1
- package/lib/duet/p-5ed00370.system.js +4 -0
- package/lib/duet/{p-dde05948.entry.js → p-5f43dbcf.entry.js} +1 -1
- package/lib/duet/{p-b1c635b8.system.entry.js → p-60cee508.system.entry.js} +1 -1
- package/lib/duet/{p-d1f67700.system.entry.js → p-61fe1543.system.entry.js} +1 -1
- package/lib/duet/{p-3158cd64.system.entry.js → p-625f750f.system.entry.js} +1 -1
- package/lib/duet/{p-f50f189c.entry.js → p-6576401a.entry.js} +1 -1
- package/lib/duet/{p-8d3f98b7.entry.js → p-65e434a5.entry.js} +1 -1
- package/lib/duet/{p-0a929975.system.entry.js → p-69fba9fe.system.entry.js} +1 -1
- package/lib/duet/{p-d6875b70.system.entry.js → p-6a972453.system.entry.js} +1 -1
- package/lib/duet/{p-63635163.entry.js → p-6b2876f1.entry.js} +1 -1
- package/lib/duet/{p-c827fd02.entry.js → p-6cae9d4b.entry.js} +1 -1
- package/lib/duet/{p-087aeef6.system.entry.js → p-6e6ececd.system.entry.js} +1 -1
- package/lib/duet/{p-20ac2a2d.entry.js → p-6f891451.entry.js} +1 -1
- package/lib/duet/{p-6376d683.system.entry.js → p-71ef1651.system.entry.js} +1 -1
- package/lib/duet/{p-8bcc2542.system.entry.js → p-73f176dc.system.entry.js} +1 -1
- package/lib/duet/{p-60ed1a37.system.entry.js → p-75243a15.system.entry.js} +1 -1
- package/lib/duet/{p-079a4f75.entry.js → p-785ff4f2.entry.js} +1 -1
- package/lib/duet/{p-3cbbc148.system.entry.js → p-793d7e04.system.entry.js} +1 -1
- package/lib/duet/{p-6ba4b5b4.system.entry.js → p-7a085479.system.entry.js} +1 -1
- package/lib/duet/p-7a832531.entry.js +4 -0
- package/lib/duet/p-7a91a53e.system.entry.js +4 -0
- package/lib/duet/{p-6adfb9eb.system.entry.js → p-7b5cd54a.system.entry.js} +1 -1
- package/lib/duet/{p-63e91537.system.entry.js → p-7b847e11.system.entry.js} +1 -1
- package/lib/duet/{p-453ec42e.system.entry.js → p-7bbc5a65.system.entry.js} +1 -1
- package/lib/duet/{p-487fd6b0.system.entry.js → p-7e833901.system.entry.js} +1 -1
- package/lib/duet/{p-61e03237.system.entry.js → p-81230084.system.entry.js} +1 -1
- package/lib/duet/{p-df315839.system.entry.js → p-8920edb7.system.entry.js} +1 -1
- package/lib/duet/{p-62cc70a1.entry.js → p-8a16fb3c.entry.js} +1 -1
- package/lib/duet/{p-7aa9fffd.entry.js → p-8bc5df74.entry.js} +1 -1
- package/lib/duet/{p-852dc293.entry.js → p-8cf2feaa.entry.js} +1 -1
- package/lib/duet/{p-77e6559b.entry.js → p-8d69624a.entry.js} +1 -1
- package/lib/duet/{p-65c96206.system.entry.js → p-8d8bdf90.system.entry.js} +2 -2
- package/lib/duet/{p-9b6f7d9b.entry.js → p-8e414050.entry.js} +1 -1
- package/lib/duet/{p-cf480e2e.system.entry.js → p-8eb82556.system.entry.js} +1 -1
- package/lib/duet/{p-d0022dc9.entry.js → p-903efe1d.entry.js} +1 -1
- package/lib/duet/{p-8a1790be.system.entry.js → p-9192de69.system.entry.js} +1 -1
- package/lib/duet/{p-c9c7f469.system.entry.js → p-9308c47c.system.entry.js} +1 -1
- package/lib/duet/{p-c0442e1a.entry.js → p-97488cc9.entry.js} +1 -1
- package/lib/duet/{p-2f8c95b7.system.entry.js → p-97d72f16.system.entry.js} +1 -1
- package/lib/duet/{p-a7962854.entry.js → p-9aa0ebba.entry.js} +1 -1
- package/lib/duet/{p-9e64ef8e.entry.js → p-9de9d3eb.entry.js} +1 -1
- package/lib/duet/{p-83cfac28.system.entry.js → p-9ec69dbc.system.entry.js} +1 -1
- package/lib/duet/{p-6c665829.system.entry.js → p-9f39d6de.system.entry.js} +1 -1
- package/lib/duet/{p-2a0f3958.system.entry.js → p-9fb3e7b4.system.entry.js} +1 -1
- package/lib/duet/{p-dbbd0ded.entry.js → p-a4dd147b.entry.js} +1 -1
- package/lib/duet/p-a5504252.entry.js +4 -0
- package/lib/duet/{p-41ad5fe4.entry.js → p-a59b5059.entry.js} +1 -1
- package/lib/duet/{p-35fff67f.system.entry.js → p-aa6ad573.system.entry.js} +1 -1
- package/lib/duet/{p-756aabe3.entry.js → p-ab2da6f9.entry.js} +1 -1
- package/lib/duet/{p-7ef0a13e.system.entry.js → p-ad0179fa.system.entry.js} +1 -1
- package/lib/duet/{p-f3c15b5b.system.entry.js → p-ad3021d3.system.entry.js} +1 -1
- package/lib/duet/p-ad5e3c9c.system.entry.js +4 -0
- package/lib/duet/{p-cc8908a2.system.entry.js → p-b022a3d5.system.entry.js} +2 -2
- package/lib/duet/{p-0f810b17.system.entry.js → p-b036d4f0.system.entry.js} +1 -1
- package/lib/duet/{p-738e4a30.system.entry.js → p-b27b1902.system.entry.js} +1 -1
- package/lib/duet/{p-21665b49.entry.js → p-b54be005.entry.js} +1 -1
- package/lib/duet/{p-49a7c9ae.system.entry.js → p-b5831260.system.entry.js} +1 -1
- package/lib/duet/p-b5ffa156.entry.js +4 -0
- package/lib/duet/{p-35c39ed3.system.entry.js → p-b62108c8.system.entry.js} +2 -2
- package/lib/duet/{p-e19c5a93.entry.js → p-b62ed1f0.entry.js} +1 -1
- package/lib/duet/{p-2c971ea1.entry.js → p-b6af2626.entry.js} +1 -1
- package/lib/duet/{p-2cc074b2.system.entry.js → p-b868bb09.system.entry.js} +1 -1
- package/lib/duet/{p-a1780035.system.entry.js → p-b8b0249f.system.entry.js} +1 -1
- package/lib/duet/{p-080af406.entry.js → p-bc16a555.entry.js} +1 -1
- package/lib/duet/p-bcd1e9d8.system.entry.js +4 -0
- package/lib/duet/p-bd97fff1.system.entry.js +4 -0
- package/lib/duet/{p-196d661f.entry.js → p-bf0e9413.entry.js} +1 -1
- package/lib/duet/{p-980da7ef.system.entry.js → p-bf3bf531.system.entry.js} +1 -1
- package/lib/duet/{p-3973c640.system.entry.js → p-c0152624.system.entry.js} +1 -1
- package/lib/duet/{p-bcb319e6.system.entry.js → p-c0c9acd9.system.entry.js} +1 -1
- package/lib/duet/{p-99192406.system.entry.js → p-c565698d.system.entry.js} +1 -1
- package/lib/duet/{p-11c0868f.entry.js → p-cb69ce4a.entry.js} +1 -1
- package/lib/duet/{p-162d843a.entry.js → p-cd8177fe.entry.js} +1 -1
- package/lib/duet/{p-bab934fc.entry.js → p-cfb85117.entry.js} +1 -1
- package/lib/duet/{p-78a100ed.system.entry.js → p-d13cb6f4.system.entry.js} +1 -1
- package/lib/duet/{p-24f7cd35.entry.js → p-d2681203.entry.js} +1 -1
- package/lib/duet/{p-89041ec3.entry.js → p-d3069a7b.entry.js} +1 -1
- package/lib/duet/{p-0beab734.system.entry.js → p-d32e9ae1.system.entry.js} +1 -1
- package/lib/duet/{p-9e41e5a6.entry.js → p-d41e819d.entry.js} +1 -1
- package/lib/duet/{p-2176c975.system.entry.js → p-d5d57b8f.system.entry.js} +1 -1
- package/lib/duet/{p-075d23d4.entry.js → p-d73f7574.entry.js} +1 -1
- package/lib/duet/{p-df802ae3.entry.js → p-d8104d1b.entry.js} +1 -1
- package/lib/duet/{p-0b479ca3.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-24a81bf6.system.entry.js → p-db14fdfd.system.entry.js} +1 -1
- package/lib/duet/{p-a9f62bc8.entry.js → p-dce5a6f9.entry.js} +1 -1
- package/lib/duet/p-dcfe6e27.system.entry.js +4 -0
- package/lib/duet/{p-7b411c65.system.entry.js → p-e1f6b6f3.system.entry.js} +2 -2
- package/lib/duet/p-e3574b05.entry.js +4 -0
- package/lib/duet/{p-726f5b13.system.entry.js → p-e3a8dcb3.system.entry.js} +1 -1
- package/lib/duet/{p-e70dc2a1.entry.js → p-e3c5663f.entry.js} +1 -1
- package/lib/duet/{p-76dcd997.system.entry.js → p-e6bd0e51.system.entry.js} +1 -1
- package/lib/duet/p-e79bf1c2.entry.js +4 -0
- package/lib/duet/{p-f107bb45.system.entry.js → p-e96a5f8b.system.entry.js} +1 -1
- package/lib/duet/{p-ea37e5ca.system.entry.js → p-ebe22b98.system.entry.js} +1 -1
- package/lib/duet/{p-61755646.system.entry.js → p-ec98691e.system.entry.js} +1 -1
- package/lib/duet/p-f009e108.entry.js +4 -0
- package/lib/duet/{p-5e6d0fba.entry.js → p-f0dc0a5b.entry.js} +1 -1
- package/lib/duet/{p-b033b5a6.system.entry.js → p-f1d894da.system.entry.js} +1 -1
- package/lib/duet/{p-49c560a4.system.entry.js → p-f25e57fe.system.entry.js} +1 -1
- package/lib/duet/{p-71818a07.system.js → p-f3bf4d40.system.js} +1 -1
- package/lib/duet/{p-00b1b87e.entry.js → p-f4493cb6.entry.js} +1 -1
- package/lib/duet/p-f7b58d72.system.js +5 -0
- package/lib/duet/{p-5390af39.system.entry.js → p-f8c64564.system.entry.js} +1 -1
- package/lib/duet/p-fabb616b.js +4 -0
- package/lib/duet/{p-523b6afe.system.entry.js → p-fb30fcb0.system.entry.js} +1 -1
- package/lib/duet/{p-2afb3d9f.system.entry.js → p-fb8a5b68.system.entry.js} +1 -1
- package/lib/duet/{p-29800d01.system.entry.js → p-fc0fe631.system.entry.js} +2 -2
- package/lib/duet/{p-ee1cade9.system.entry.js → p-fc4f175f.system.entry.js} +1 -1
- package/lib/duet/{p-757d8ba4.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 +60 -57
- package/lib/esm/duet-toolbar-link.entry.js +32 -25
- package/lib/esm/duet-toolbar.entry.js +35 -33
- 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-e89bc6bf.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/{dist-custom-elements/p-4883df66.js → esm/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 +2 -2
- 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 +2 -2
- 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-4707a1e8.js → focus-utils-d54af982.js} +1 -1
- 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 -26
- package/lib/types/components/duet-toolbar-dropdown/duet-toolbar-dropdown.d.ts +50 -46
- 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 -38
- 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/components.d.ts +24 -0
- 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-9b46865d.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-08b3f943.js +0 -226
- package/lib/dist-custom-elements/p-105af500.js +0 -265
- package/lib/dist-custom-elements/p-1296f08a.js +0 -465
- package/lib/dist-custom-elements/p-1a395a8d.js +0 -55
- package/lib/dist-custom-elements/p-1e625a72.js +0 -147
- package/lib/dist-custom-elements/p-2434057e.js +0 -123
- package/lib/dist-custom-elements/p-24853ebf.js +0 -97
- package/lib/dist-custom-elements/p-24a51286.js +0 -38
- package/lib/dist-custom-elements/p-268171f7.js +0 -9
- package/lib/dist-custom-elements/p-3f6372e1.js +0 -271
- package/lib/dist-custom-elements/p-40f73dc7.js +0 -174
- package/lib/dist-custom-elements/p-45f71a69.js +0 -11
- package/lib/dist-custom-elements/p-701d0f44.js +0 -126
- package/lib/dist-custom-elements/p-77f2dbee.js +0 -53
- package/lib/dist-custom-elements/p-7855af1f.js +0 -72
- package/lib/dist-custom-elements/p-8350edff.js +0 -206
- package/lib/dist-custom-elements/p-8a760b84.js +0 -76
- package/lib/dist-custom-elements/p-9d8865d0.js +0 -137
- package/lib/dist-custom-elements/p-a1371eee.js +0 -57
- package/lib/dist-custom-elements/p-a848925d.js +0 -98
- package/lib/dist-custom-elements/p-a90d09f3.js +0 -110
- package/lib/dist-custom-elements/p-aa5fdf1c.js +0 -59
- package/lib/dist-custom-elements/p-ae0811df.js +0 -93
- package/lib/dist-custom-elements/p-b0ed56f3.js +0 -60
- package/lib/dist-custom-elements/p-bafa44de.js +0 -205
- package/lib/dist-custom-elements/p-c137ffb9.js +0 -62
- 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/duet/p-035ed3a5.entry.js +0 -4
- package/lib/duet/p-0c2260c1.entry.js +0 -4
- package/lib/duet/p-0ff971c3.entry.js +0 -4
- package/lib/duet/p-1088a724.system.entry.js +0 -4
- package/lib/duet/p-12b77122.entry.js +0 -4
- package/lib/duet/p-227a98c3.system.js +0 -5
- package/lib/duet/p-27db4f60.system.entry.js +0 -4
- package/lib/duet/p-306c56d8.entry.js +0 -4
- package/lib/duet/p-40b64c0f.entry.js +0 -4
- package/lib/duet/p-4669b0af.js +0 -4
- package/lib/duet/p-60e4c89d.entry.js +0 -4
- package/lib/duet/p-88e554c9.entry.js +0 -4
- package/lib/duet/p-8e13850e.system.entry.js +0 -4
- package/lib/duet/p-9160fca2.system.entry.js +0 -4
- package/lib/duet/p-a3c1b8ea.entry.js +0 -4
- package/lib/duet/p-b10e72ff.system.js +0 -4
- package/lib/duet/p-b8d12bc2.js +0 -5
- package/lib/duet/p-c33904be.system.entry.js +0 -4
- package/lib/duet/p-c62e9ef9.entry.js +0 -4
- package/lib/duet/p-c8a46cb9.system.entry.js +0 -4
- package/lib/duet/p-d9c3fb44.system.entry.js +0 -4
- package/lib/duet/p-f50ecfd3.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-4707a1e8.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/index-e89bc6bf.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,8 +2,8 @@
|
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
4
|
const NAMESPACE = 'duet';
|
|
5
|
-
const BUILD = /* duet */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, invisiblePrehydration: false, isDebug: false, isDev: false, isTesting: false, lazyLoad: false, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: true, scopedSlotTextContentFix: false, scriptDataOpts: true, shadowDelegatesFocus: true, shadowDom: true, slot: true, slotChildNodesFix: true, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
|
|
6
|
-
const Env = /* duet */ {"cdnURILocal":"http://0.0.0.0:3334","cdnURIProd":"https://cdn.duetds.com/api","duetIconVersion":"4.0.
|
|
5
|
+
const BUILD = /* duet */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, invisiblePrehydration: false, isDebug: false, isDev: false, isTesting: false, lazyLoad: false, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: true, scopedSlotTextContentFix: false, scriptDataOpts: true, shadowDelegatesFocus: true, shadowDom: true, slot: true, slotChildNodesFix: true, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
|
|
6
|
+
const Env = /* duet */ {"cdnURILocal":"http://0.0.0.0:3334","cdnURIProd":"https://cdn.duetds.com/api","duetIconVersion":"4.0.25"};
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Virtual DOM patching algorithm based on Snabbdom by
|
|
@@ -537,7 +537,11 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
537
537
|
elm[memberName] = newValue;
|
|
538
538
|
}
|
|
539
539
|
}
|
|
540
|
-
catch (e) {
|
|
540
|
+
catch (e) {
|
|
541
|
+
/**
|
|
542
|
+
* in case someone tries to set a read-only property, e.g. "namespaceURI", we just ignore it
|
|
543
|
+
*/
|
|
544
|
+
}
|
|
541
545
|
}
|
|
542
546
|
/**
|
|
543
547
|
* Need to manually update attribute if:
|
|
@@ -576,6 +580,11 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
576
580
|
}
|
|
577
581
|
};
|
|
578
582
|
const parseClassListRegex = /\s/;
|
|
583
|
+
/**
|
|
584
|
+
* Parsed a string of classnames into an array
|
|
585
|
+
* @param value className string, e.g. "foo bar baz"
|
|
586
|
+
* @returns list of classes, e.g. ["foo", "bar", "baz"]
|
|
587
|
+
*/
|
|
579
588
|
const parseClassList = (value) => (!value ? [] : value.split(parseClassListRegex));
|
|
580
589
|
const CAPTURE_EVENT_SUFFIX = 'Capture';
|
|
581
590
|
const CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + '$');
|
|
@@ -612,7 +621,6 @@ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
|
|
|
612
621
|
* @returns the newly created node
|
|
613
622
|
*/
|
|
614
623
|
const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
615
|
-
var _a;
|
|
616
624
|
// tslint:disable-next-line: prefer-const
|
|
617
625
|
const newVNode = newParentVNode.$children$[childIndex];
|
|
618
626
|
let i = 0;
|
|
@@ -686,13 +694,13 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
686
694
|
}
|
|
687
695
|
}
|
|
688
696
|
}
|
|
697
|
+
// This needs to always happen so we can hide nodes that are projected
|
|
698
|
+
// to another component but don't end up in a slot
|
|
699
|
+
elm['s-hn'] = hostTagName;
|
|
689
700
|
{
|
|
690
|
-
elm['s-hn'] = hostTagName;
|
|
691
701
|
if (newVNode.$flags$ & (2 /* VNODE_FLAGS.isSlotFallback */ | 1 /* VNODE_FLAGS.isSlotReference */)) {
|
|
692
702
|
// remember the content reference comment
|
|
693
703
|
elm['s-sr'] = true;
|
|
694
|
-
// Persist the name of the slot that this slot was going to be projected into.
|
|
695
|
-
elm['s-fs'] = (_a = newVNode.$attrs$) === null || _a === void 0 ? void 0 : _a.slot;
|
|
696
704
|
// remember the content reference comment
|
|
697
705
|
elm['s-cr'] = contentRef;
|
|
698
706
|
// remember the slot name, or empty string for default slot
|
|
@@ -700,24 +708,22 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
700
708
|
// check if we've got an old vnode for this slot
|
|
701
709
|
oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
|
|
702
710
|
if (oldVNode && oldVNode.$tag$ === newVNode.$tag$ && oldParentVNode.$elm$) {
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
711
|
+
{
|
|
712
|
+
// we've got an old slot vnode and the wrapper is being replaced
|
|
713
|
+
// so let's move the old slot content back to its original location
|
|
714
|
+
putBackInOriginalLocation(oldParentVNode.$elm$, false);
|
|
715
|
+
}
|
|
706
716
|
}
|
|
707
717
|
}
|
|
708
718
|
}
|
|
709
719
|
return elm;
|
|
710
720
|
};
|
|
711
721
|
const putBackInOriginalLocation = (parentElm, recursive) => {
|
|
712
|
-
var _a;
|
|
713
722
|
plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
714
723
|
const oldSlotChildNodes = parentElm.childNodes;
|
|
715
724
|
for (let i = oldSlotChildNodes.length - 1; i >= 0; i--) {
|
|
716
725
|
const childNode = oldSlotChildNodes[i];
|
|
717
726
|
if (childNode['s-hn'] !== hostTagName && childNode['s-ol']) {
|
|
718
|
-
// // this child node in the old element is from another component
|
|
719
|
-
// // remove this node from the old slot's parent
|
|
720
|
-
// childNode.remove();
|
|
721
727
|
// and relocate it back to it's original location
|
|
722
728
|
parentReferenceNode(childNode).insertBefore(childNode, referenceNode(childNode));
|
|
723
729
|
// remove the old original location comment entirely
|
|
@@ -727,12 +733,6 @@ const putBackInOriginalLocation = (parentElm, recursive) => {
|
|
|
727
733
|
childNode['s-ol'] = undefined;
|
|
728
734
|
// Reset so we can correctly move the node around again.
|
|
729
735
|
childNode['s-sh'] = undefined;
|
|
730
|
-
// When putting an element node back in its original location,
|
|
731
|
-
// we need to reset the `slot` attribute back to the value it originally had
|
|
732
|
-
// so we can correctly relocate it again in the future
|
|
733
|
-
if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
734
|
-
childNode.setAttribute('slot', (_a = childNode['s-sn']) !== null && _a !== void 0 ? _a : '');
|
|
735
|
-
}
|
|
736
736
|
checkSlotRelocate = true;
|
|
737
737
|
}
|
|
738
738
|
if (recursive) {
|
|
@@ -877,8 +877,9 @@ const removeVnodes = (vnodes, startIdx, endIdx) => {
|
|
|
877
877
|
* @param oldCh the old children of the parent node
|
|
878
878
|
* @param newVNode the new VNode which will replace the parent
|
|
879
879
|
* @param newCh the new children of the parent node
|
|
880
|
+
* @param isInitialRender whether or not this is the first render of the vdom
|
|
880
881
|
*/
|
|
881
|
-
const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
882
|
+
const updateChildren = (parentElm, oldCh, newVNode, newCh, isInitialRender = false) => {
|
|
882
883
|
let oldStartIdx = 0;
|
|
883
884
|
let newStartIdx = 0;
|
|
884
885
|
let idxInOld = 0;
|
|
@@ -905,24 +906,24 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
905
906
|
else if (newEndVnode == null) {
|
|
906
907
|
newEndVnode = newCh[--newEndIdx];
|
|
907
908
|
}
|
|
908
|
-
else if (isSameVnode(oldStartVnode, newStartVnode)) {
|
|
909
|
+
else if (isSameVnode(oldStartVnode, newStartVnode, isInitialRender)) {
|
|
909
910
|
// if the start nodes are the same then we should patch the new VNode
|
|
910
911
|
// onto the old one, and increment our `newStartIdx` and `oldStartIdx`
|
|
911
912
|
// indices to reflect that. We don't need to move any DOM Nodes around
|
|
912
913
|
// since things are matched up in order.
|
|
913
|
-
patch(oldStartVnode, newStartVnode);
|
|
914
|
+
patch(oldStartVnode, newStartVnode, isInitialRender);
|
|
914
915
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
915
916
|
newStartVnode = newCh[++newStartIdx];
|
|
916
917
|
}
|
|
917
|
-
else if (isSameVnode(oldEndVnode, newEndVnode)) {
|
|
918
|
+
else if (isSameVnode(oldEndVnode, newEndVnode, isInitialRender)) {
|
|
918
919
|
// likewise, if the end nodes are the same we patch new onto old and
|
|
919
920
|
// decrement our end indices, and also likewise in this case we don't
|
|
920
921
|
// need to move any DOM Nodes.
|
|
921
|
-
patch(oldEndVnode, newEndVnode);
|
|
922
|
+
patch(oldEndVnode, newEndVnode, isInitialRender);
|
|
922
923
|
oldEndVnode = oldCh[--oldEndIdx];
|
|
923
924
|
newEndVnode = newCh[--newEndIdx];
|
|
924
925
|
}
|
|
925
|
-
else if (isSameVnode(oldStartVnode, newEndVnode)) {
|
|
926
|
+
else if (isSameVnode(oldStartVnode, newEndVnode, isInitialRender)) {
|
|
926
927
|
// case: "Vnode moved right"
|
|
927
928
|
//
|
|
928
929
|
// We've found that the last node in our window on the new children is
|
|
@@ -940,7 +941,7 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
940
941
|
if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
|
|
941
942
|
putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
|
|
942
943
|
}
|
|
943
|
-
patch(oldStartVnode, newEndVnode);
|
|
944
|
+
patch(oldStartVnode, newEndVnode, isInitialRender);
|
|
944
945
|
// We need to move the element for `oldStartVnode` into a position which
|
|
945
946
|
// will be appropriate for `newEndVnode`. For this we can use
|
|
946
947
|
// `.insertBefore` and `oldEndVnode.$elm$.nextSibling`. If there is a
|
|
@@ -962,7 +963,7 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
962
963
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
963
964
|
newEndVnode = newCh[--newEndIdx];
|
|
964
965
|
}
|
|
965
|
-
else if (isSameVnode(oldEndVnode, newStartVnode)) {
|
|
966
|
+
else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
|
|
966
967
|
// case: "Vnode moved left"
|
|
967
968
|
//
|
|
968
969
|
// We've found that the first node in our window on the new children is
|
|
@@ -981,7 +982,7 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
981
982
|
if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
|
|
982
983
|
putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
|
|
983
984
|
}
|
|
984
|
-
patch(oldEndVnode, newStartVnode);
|
|
985
|
+
patch(oldEndVnode, newStartVnode, isInitialRender);
|
|
985
986
|
// We've already checked above if `oldStartVnode` and `newStartVnode` are
|
|
986
987
|
// the same node, so since we're here we know that they are not. Thus we
|
|
987
988
|
// can move the element for `oldEndVnode` _before_ the element for
|
|
@@ -1018,7 +1019,7 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
1018
1019
|
node = createElm(oldCh && oldCh[newStartIdx], newVNode, idxInOld, parentElm);
|
|
1019
1020
|
}
|
|
1020
1021
|
else {
|
|
1021
|
-
patch(elmToMove, newStartVnode);
|
|
1022
|
+
patch(elmToMove, newStartVnode, isInitialRender);
|
|
1022
1023
|
// invalidate the matching old node so that we won't try to update it
|
|
1023
1024
|
// again later on
|
|
1024
1025
|
oldCh[idxInOld] = undefined;
|
|
@@ -1069,19 +1070,25 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
1069
1070
|
*
|
|
1070
1071
|
* @param leftVNode the first VNode to check
|
|
1071
1072
|
* @param rightVNode the second VNode to check
|
|
1073
|
+
* @param isInitialRender whether or not this is the first render of the vdom
|
|
1072
1074
|
* @returns whether they're equal or not
|
|
1073
1075
|
*/
|
|
1074
|
-
const isSameVnode = (leftVNode, rightVNode) => {
|
|
1076
|
+
const isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
|
|
1075
1077
|
// compare if two vnode to see if they're "technically" the same
|
|
1076
1078
|
// need to have the same element tag, and same key to be the same
|
|
1077
1079
|
if (leftVNode.$tag$ === rightVNode.$tag$) {
|
|
1078
1080
|
if (leftVNode.$tag$ === 'slot') {
|
|
1079
1081
|
return leftVNode.$name$ === rightVNode.$name$;
|
|
1080
1082
|
}
|
|
1081
|
-
// this will be set if
|
|
1082
|
-
|
|
1083
|
+
// this will be set if JSX tags in the build have `key` attrs set on them
|
|
1084
|
+
// we only want to check this if we're not on the first render since on
|
|
1085
|
+
// first render `leftVNode.$key$` will always be `null`, so we can be led
|
|
1086
|
+
// astray and, for instance, accidentally delete a DOM node that we want to
|
|
1087
|
+
// keep around.
|
|
1088
|
+
if (!isInitialRender) {
|
|
1083
1089
|
return leftVNode.$key$ === rightVNode.$key$;
|
|
1084
1090
|
}
|
|
1091
|
+
return true;
|
|
1085
1092
|
}
|
|
1086
1093
|
return false;
|
|
1087
1094
|
};
|
|
@@ -1100,8 +1107,9 @@ const parentReferenceNode = (node) => (node['s-ol'] ? node['s-ol'] : node).paren
|
|
|
1100
1107
|
*
|
|
1101
1108
|
* @param oldVNode an old VNode whose DOM element and children we want to update
|
|
1102
1109
|
* @param newVNode a new VNode representing an updated version of the old one
|
|
1110
|
+
* @param isInitialRender whether or not this is the first render of the vdom
|
|
1103
1111
|
*/
|
|
1104
|
-
const patch = (oldVNode, newVNode) => {
|
|
1112
|
+
const patch = (oldVNode, newVNode, isInitialRender = false) => {
|
|
1105
1113
|
const elm = (newVNode.$elm$ = oldVNode.$elm$);
|
|
1106
1114
|
const oldChildren = oldVNode.$children$;
|
|
1107
1115
|
const newChildren = newVNode.$children$;
|
|
@@ -1127,7 +1135,7 @@ const patch = (oldVNode, newVNode) => {
|
|
|
1127
1135
|
if (oldChildren !== null && newChildren !== null) {
|
|
1128
1136
|
// looks like there's child vnodes for both the old and new vnodes
|
|
1129
1137
|
// so we need to call `updateChildren` to reconcile them
|
|
1130
|
-
updateChildren(elm, oldChildren, newVNode, newChildren);
|
|
1138
|
+
updateChildren(elm, oldChildren, newVNode, newChildren, isInitialRender);
|
|
1131
1139
|
}
|
|
1132
1140
|
else if (newChildren !== null) {
|
|
1133
1141
|
// no old child vnodes, but there are new child vnodes to add
|
|
@@ -1360,7 +1368,7 @@ const nullifyVNodeRefs = (vNode) => {
|
|
|
1360
1368
|
* @param isInitialLoad whether or not this is the first call after page load
|
|
1361
1369
|
*/
|
|
1362
1370
|
const renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
1363
|
-
var _a, _b;
|
|
1371
|
+
var _a, _b, _c, _d;
|
|
1364
1372
|
const hostElm = hostRef.$hostElement$;
|
|
1365
1373
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
1366
1374
|
const oldVNode = hostRef.$vnode$ || newVNode(null, null);
|
|
@@ -1410,7 +1418,7 @@ const renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
1410
1418
|
checkSlotFallbackVisibility = false;
|
|
1411
1419
|
}
|
|
1412
1420
|
// synchronous patch
|
|
1413
|
-
patch(oldVNode, rootVnode);
|
|
1421
|
+
patch(oldVNode, rootVnode, isInitialLoad);
|
|
1414
1422
|
{
|
|
1415
1423
|
// while we're moving nodes around existing nodes, temporarily disable
|
|
1416
1424
|
// the disconnectCallback from working
|
|
@@ -1475,12 +1483,24 @@ const renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
1475
1483
|
// we're just going to append the node as the last child of the parent. Passing
|
|
1476
1484
|
// `null` as the second arg here will trigger that behavior.
|
|
1477
1485
|
parentNodeRef.insertBefore(nodeToRelocate, insertBeforeNode);
|
|
1486
|
+
// Reset the `hidden` value back to what it was defined as originally
|
|
1487
|
+
// This solves a problem where a `slot` is dynamically rendered and `hidden` may have
|
|
1488
|
+
// been set on content originally, but now it has a slot to go to so it should have
|
|
1489
|
+
// the value it was defined as having in the DOM, not what we overrode it to.
|
|
1490
|
+
if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
1491
|
+
nodeToRelocate.hidden = (_c = nodeToRelocate['s-ih']) !== null && _c !== void 0 ? _c : false;
|
|
1492
|
+
}
|
|
1478
1493
|
}
|
|
1479
1494
|
}
|
|
1480
1495
|
}
|
|
1481
1496
|
else {
|
|
1482
1497
|
// this node doesn't have a slot home to go to, so let's hide it
|
|
1483
1498
|
if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
1499
|
+
// Store the initial value of `hidden` so we can reset it later when
|
|
1500
|
+
// moving nodes around.
|
|
1501
|
+
if (isInitialLoad) {
|
|
1502
|
+
nodeToRelocate['s-ih'] = (_d = nodeToRelocate.hidden) !== null && _d !== void 0 ? _d : false;
|
|
1503
|
+
}
|
|
1484
1504
|
nodeToRelocate.hidden = true;
|
|
1485
1505
|
}
|
|
1486
1506
|
}
|
|
@@ -1808,13 +1828,13 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1808
1828
|
*/
|
|
1809
1829
|
const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
1810
1830
|
var _a;
|
|
1831
|
+
const prototype = Cstr.prototype;
|
|
1811
1832
|
if (cmpMeta.$members$) {
|
|
1812
1833
|
if (Cstr.watchers) {
|
|
1813
1834
|
cmpMeta.$watchers$ = Cstr.watchers;
|
|
1814
1835
|
}
|
|
1815
1836
|
// It's better to have a const than two Object.entries()
|
|
1816
1837
|
const members = Object.entries(cmpMeta.$members$);
|
|
1817
|
-
const prototype = Cstr.prototype;
|
|
1818
1838
|
members.map(([memberName, [memberFlags]]) => {
|
|
1819
1839
|
if ((memberFlags & 31 /* MEMBER_FLAGS.Prop */ ||
|
|
1820
1840
|
(memberFlags & 32 /* MEMBER_FLAGS.State */))) {
|
|
@@ -1837,6 +1857,7 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1837
1857
|
const attrNameToPropName = new Map();
|
|
1838
1858
|
prototype.attributeChangedCallback = function (attrName, oldValue, newValue) {
|
|
1839
1859
|
plt.jmp(() => {
|
|
1860
|
+
var _a;
|
|
1840
1861
|
const propName = attrNameToPropName.get(attrName);
|
|
1841
1862
|
// In a web component lifecycle the attributeChangedCallback runs prior to connectedCallback
|
|
1842
1863
|
// in the case where an attribute was set inline.
|
|
@@ -1892,12 +1913,13 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1892
1913
|
// 1. The instance is ready
|
|
1893
1914
|
// 2. The watchers are ready
|
|
1894
1915
|
// 3. The value has changed
|
|
1895
|
-
if (
|
|
1916
|
+
if (flags &&
|
|
1917
|
+
!(flags & 8 /* HOST_FLAGS.isConstructingInstance */) &&
|
|
1896
1918
|
flags & 128 /* HOST_FLAGS.isWatchReady */ &&
|
|
1897
1919
|
newValue !== oldValue) {
|
|
1898
1920
|
const elm = this;
|
|
1899
1921
|
const instance = elm;
|
|
1900
|
-
const entry = cmpMeta.$watchers$[attrName];
|
|
1922
|
+
const entry = (_a = cmpMeta.$watchers$) === null || _a === void 0 ? void 0 : _a[attrName];
|
|
1901
1923
|
entry === null || entry === void 0 ? void 0 : entry.forEach((callbackName) => {
|
|
1902
1924
|
if (instance[callbackName] != null) {
|
|
1903
1925
|
instance[callbackName].call(instance, newValue, oldValue, attrName);
|
|
@@ -1919,10 +1941,11 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1919
1941
|
...members
|
|
1920
1942
|
.filter(([_, m]) => m[0] & 15 /* MEMBER_FLAGS.HasAttribute */)
|
|
1921
1943
|
.map(([propName, m]) => {
|
|
1944
|
+
var _a;
|
|
1922
1945
|
const attrName = m[1] || propName;
|
|
1923
1946
|
attrNameToPropName.set(attrName, propName);
|
|
1924
1947
|
if (m[0] & 512 /* MEMBER_FLAGS.ReflectAttr */) {
|
|
1925
|
-
cmpMeta.$attrsToReflect
|
|
1948
|
+
(_a = cmpMeta.$attrsToReflect$) === null || _a === void 0 ? void 0 : _a.push([propName, attrName]);
|
|
1926
1949
|
}
|
|
1927
1950
|
return attrName;
|
|
1928
1951
|
}),
|
|
@@ -2123,8 +2146,7 @@ const proxyCustomElement = (Cstr, compactMeta) => {
|
|
|
2123
2146
|
{
|
|
2124
2147
|
cmpMeta.$attrsToReflect$ = [];
|
|
2125
2148
|
}
|
|
2126
|
-
// TODO(STENCIL-914): this check and `else` block can go away and be replaced by just `
|
|
2127
|
-
// default our pseudo-slot behavior
|
|
2149
|
+
// TODO(STENCIL-914): this check and `else` block can go away and be replaced by just the `scoped` check
|
|
2128
2150
|
{
|
|
2129
2151
|
{
|
|
2130
2152
|
patchChildSlotNodes(Cstr.prototype, cmpMeta);
|
|
@@ -1,147 +1,147 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-6f7dcc4d.js';
|
|
5
5
|
import { s as sizeNavigation, i as sizeHeader } from './p-c057158b.js';
|
|
6
|
-
import { i as inheritGlobalTheme } from './p-
|
|
7
|
-
import { d as debounce } from './p-
|
|
8
|
-
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-
|
|
9
|
-
import { a as breakpointTokensUpTo, b as breakpointToToken } from './p-
|
|
6
|
+
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
7
|
+
import { d as debounce } from './p-9e371678.js';
|
|
8
|
+
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-2e36d5bf.js';
|
|
9
|
+
import { a as breakpointTokensUpTo, b as breakpointToToken } from './p-57a1cba9.js';
|
|
10
10
|
|
|
11
11
|
const duetTableCss = "duet-table{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:block;font-variant-numeric:tabular-nums}duet-table table,duet-table thead,duet-table tbody,duet-table tfoot,duet-table th,duet-table td,duet-table tr{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}duet-table.duet-m-0{margin:0 !important}duet-table table{width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;text-align:left;border-spacing:0;border-collapse:separate}duet-table.duet-table-hide-head-visually.duet-table-hide-head-visually thead,duet-table.duet-table-hide-head-visually.duet-table-hide-head-visually thead *{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}duet-table.duet-theme-turva table{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}duet-table td{-webkit-hyphens:auto;hyphens:auto;color:rgb(0, 41, 77)}duet-table.duet-theme-turva td{color:rgb(23, 28, 58)}duet-table th{font-weight:600;line-height:1.25;color:rgb(101, 119, 135);text-align:left}duet-table.duet-theme-turva th{color:rgb(116, 116, 117)}duet-table tbody th{font-weight:600;color:rgb(0, 41, 77)}duet-table.duet-theme-turva tbody th{color:rgb(23, 28, 58)}duet-table .duet-table-action-row td:last-child{justify-self:end;padding-right:20px !important;white-space:nowrap}duet-table span.duet-table-cell-heading{display:none}.duet-table-flattened table,.duet-table-flattened thead,.duet-table-flattened tbody,.duet-table-flattened tfoot,.duet-table-flattened th,.duet-table-flattened td,.duet-table-flattened tr{display:block}.duet-table-flattened thead tr{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-table-flattened td{line-height:1.25}.duet-table-flattened td:not(:last-child){margin-bottom:16px !important}.duet-table-flattened td span.duet-table-cell-heading{margin-bottom:4px !important;display:block;font-size:1rem;font-weight:600;color:rgb(0, 41, 77)}.duet-table-flattened.duet-theme-turva td span.duet-table-cell-heading{color:rgb(23, 28, 58)}.duet-table-flattened tbody td,.duet-table-flattened tbody th,.duet-table-flattened tfoot td{padding:0 !important;text-align:left !important}.duet-table-flattened tbody th{font-weight:600;line-height:1.25;color:rgb(101, 119, 135);text-align:left}.duet-table-sticky thead th{position:sticky;top:0;background:rgb(255, 255, 255)}.duet-table-striped td,.duet-table-striped th{padding:20px !important}@media (max-width: 35.9375em){.duet-table-striped td,.duet-table-striped th{padding:20px 12px !important}}.duet-table-striped tbody th{background:rgb(255, 255, 255)}.duet-table-striped.duet-table-sticky thead th{border-bottom:1px solid rgb(225, 227, 230)}.duet-table-striped.duet-table-sticky.duet-theme-turva thead th{border-bottom-color:rgb(228, 228, 230)}.duet-table-striped tbody:not(:first-of-type) th{padding-top:40px !important}.duet-table-striped tbody:only-of-type tr:nth-of-type(odd){background:rgba(0, 80, 128, 0.04)}.duet-table-striped.duet-theme-turva tbody:only-of-type tr:nth-of-type(odd){background:rgba(23, 28, 58, 0.04)}.duet-table-striped tbody:not(:only-of-type) tr:nth-of-type(even){background:rgba(0, 80, 128, 0.04)}.duet-table-striped.duet-theme-turva tbody:not(:only-of-type) tr:nth-of-type(even){background:rgba(23, 28, 58, 0.04)}.duet-table-striped tfoot td{border-top:1px solid rgb(225, 227, 230)}.duet-table-striped.duet-theme-turva tfoot td{border-top-color:rgb(228, 228, 230)}.duet-table-striped.duet-table-flattened tbody:not(:first-of-type) th{padding-top:20px !important}.duet-table-striped.duet-table-flattened tr{padding:20px !important}.duet-table-striped.duet-table-flattened tfoot td{border-top:0}.duet-table-striped.duet-table-flattened tfoot tr{border-top:1px solid rgb(225, 227, 230)}.duet-table-striped.duet-table-flattened.duet-theme-turva tfoot tr{border-top-color:rgb(228, 228, 230)}.duet-table-fixed th,.duet-table-minimal th,.duet-table-plain th{padding:16px !important;border-bottom:1px solid rgb(101, 119, 135)}.duet-table-fixed th:first-child,.duet-table-minimal th:first-child,.duet-table-plain th:first-child{padding-left:0 !important}.duet-table-fixed th:last-child,.duet-table-minimal th:last-child,.duet-table-plain th:last-child{padding-right:0 !important}.duet-theme-turva.duet-table-fixed th,.duet-theme-turva.duet-table-minimal th,.duet-theme-turva.duet-table-plain th{border-bottom-color:rgb(68, 68, 69)}.duet-table-fixed tbody th,.duet-table-minimal tbody th,.duet-table-plain tbody th{padding-top:40px !important;border-bottom-color:rgb(225, 227, 230)}.duet-theme-turva.duet-table-fixed tbody th,.duet-theme-turva.duet-table-minimal tbody th,.duet-theme-turva.duet-table-plain tbody th{border-bottom-color:rgb(228, 228, 230)}.duet-table-fixed td,.duet-table-minimal td,.duet-table-plain td{padding:16px !important}.duet-table-fixed td:first-child,.duet-table-minimal td:first-child,.duet-table-plain td:first-child{padding-left:0 !important}.duet-table-fixed td:last-child,.duet-table-minimal td:last-child,.duet-table-plain td:last-child{padding-right:0 !important}.duet-table-fixed tbody td,.duet-table-minimal tbody td,.duet-table-plain tbody td{border-bottom:1px solid rgb(225, 227, 230)}.duet-theme-turva.duet-table-fixed tbody td,.duet-theme-turva.duet-table-minimal tbody td,.duet-theme-turva.duet-table-plain tbody td{border-bottom-color:rgb(228, 228, 230)}.duet-table-flattened.duet-table-fixed tbody:first-of-type th,.duet-table-flattened.duet-table-minimal tbody:first-of-type th,.duet-table-flattened.duet-table-plain tbody:first-of-type th{padding-top:0 !important}.duet-table-flattened.duet-table-fixed td,.duet-table-flattened.duet-table-minimal td,.duet-table-flattened.duet-table-plain td,.duet-table-flattened.duet-table-fixed tbody th,.duet-table-flattened.duet-table-minimal tbody th,.duet-table-flattened.duet-table-plain tbody th{border-bottom:0}.duet-table-flattened.duet-table-fixed tr,.duet-table-flattened.duet-table-minimal tr,.duet-table-flattened.duet-table-plain tr{padding:20px 0 !important}.duet-table-flattened.duet-table-fixed tbody th,.duet-table-flattened.duet-table-minimal tbody th,.duet-table-flattened.duet-table-plain tbody th{padding-top:20px !important}.duet-table-flattened.duet-table-fixed tfoot td,.duet-table-flattened.duet-table-minimal tfoot td,.duet-table-flattened.duet-table-plain tfoot td{margin-bottom:4px !important}.duet-table-flattened.duet-table-fixed tbody:not(:only-of-type) tr:first-child,.duet-table-flattened.duet-table-minimal tbody:not(:only-of-type) tr:first-child,.duet-table-flattened.duet-table-plain tbody:not(:only-of-type) tr:first-child{border-bottom:0}.duet-table-plain.duet-table-flattened tbody tr{border-bottom:1px solid rgb(225, 227, 230)}.duet-table-plain.duet-table-flattened.duet-theme-turva tbody tr{border-bottom-color:rgb(228, 228, 230)}.duet-table-minimal tbody tr,.duet-table-minimal tbody tr td{vertical-align:top;border-bottom:0 none}.duet-table-minimal tbody tr:last-of-type,.duet-table-minimal tbody tr:last-of-type td{border-bottom:1px solid rgb(225, 227, 230)}.duet-table-minimal.duet-table-flattened tbody tr,.duet-table-minimal.duet-table-flattened tbody tr td{border-bottom:0 none}.duet-table-minimal.duet-table-flattened tbody tr td[data-heading]::before{display:none}.duet-table-minimal.duet-table-flattened tfoot{border-top:1px solid rgb(225, 227, 230)}.duet-table-minimal.duet-table-flattened.duet-theme-turva tfoot{border-top-color:rgb(228, 228, 230)}.duet-table-fixed table{table-layout:fixed}.duet-table-fixed tbody tr,.duet-table-fixed tbody tr td,.duet-table-fixed tbody tr td:first-child{padding:4px !important;vertical-align:text-bottom;border-bottom:0 none}.duet-table-fixed thead{display:none}.duet-table-fixed tbody tr,.duet-table-fixed tbody tr td{border-bottom:0 none}.duet-table-fixed:not(.duet-table-flattened) tfoot{border-top:1px solid rgb(225, 227, 230)}.duet-table-fixed:not(.duet-table-flattened).duet-theme-turva tfoot{border-top-color:rgb(228, 228, 230)}.duet-table-scrollable{position:relative;width:100%;overflow-x:auto;background:linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0)), linear-gradient(-90deg, #fff 0%, rgba(255, 255, 255, 0)) 100% 0, radial-gradient(farthest-side at 0% 50%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)), radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)) 100% 0%;background-repeat:no-repeat;background-attachment:local, local, scroll, scroll;background-size:100px 100%, 100px 100%, 12px 100%, 12px 100%}.duet-table-selected-column{background:rgba(0, 119, 179, 0.08)}.duet-theme-turva .duet-table-selected-column{background:rgba(68, 68, 69, 0.08)}.duet-table-sortable tbody tr td:first-child,.duet-table-sortable thead tr th:first-child{padding:20px}.duet-table-sortable:not(.duet-table-flattened) tfoot{border-top:1px solid rgb(225, 227, 230)}.duet-table-sortable:not(.duet-table-flattened).duet-theme-turva tfoot{border-top-color:rgb(228, 228, 230)}.duet-table-actions table{table-layout:auto}.duet-table-actions thead th:last-child{width:1px;white-space:nowrap}.duet-editable-table-table.duet-table-flattened tr{display:grid;grid-template-columns:repeat(2, 1fr);grid-auto-rows:auto;gap:10px}.duet-editable-table-table.duet-table-flattened tr.duet-table-action-row td:last-child::before{padding:0;content:\"\"}.duet-editable-table-table.duet-table-flattened td{grid-column:1/2}.duet-editable-table-table.duet-table-flattened td:first-child{grid-row:1;grid-column:1}.duet-editable-table-table.duet-table-flattened td:last-child{grid-row:1;grid-column:2}";
|
|
12
12
|
|
|
13
13
|
const stickyTopValues = {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
none: 0,
|
|
15
|
+
"with-links": parseFloat(sizeNavigation) * 16, // convert rem -> px
|
|
16
|
+
"without-links": parseFloat(sizeHeader) * 16,
|
|
17
17
|
};
|
|
18
18
|
const DuetTable = /*@__PURE__*/ proxyCustomElement(class DuetTable extends H {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
watchLanguageStateHandler(newValue, oldValue) {
|
|
37
|
-
if (newValue !== oldValue) {
|
|
38
|
-
setTimeout(() => this.copyHeadingsToCells(), 50);
|
|
19
|
+
constructor() {
|
|
20
|
+
super();
|
|
21
|
+
this.__registerHost();
|
|
22
|
+
this.headingSelector = "thead tr > :not(*.duet-editable-table-actions-menu)";
|
|
23
|
+
this.handleMediaQueryChange = (mq) => {
|
|
24
|
+
this.matchesBreakpoint = breakpointTokensUpTo.includes(this.breakpoint) ? !mq.matches : mq.matches;
|
|
25
|
+
};
|
|
26
|
+
this.matchesBreakpoint = true;
|
|
27
|
+
this.language = getLanguage();
|
|
28
|
+
this.theme = undefined;
|
|
29
|
+
this.margin = "auto";
|
|
30
|
+
this.variation = "striped";
|
|
31
|
+
this.sticky = false;
|
|
32
|
+
this.stickyDistance = "with-links";
|
|
33
|
+
this.breakpoint = "small";
|
|
34
|
+
this.hideHeadVisually = false;
|
|
39
35
|
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
this.mq.addEventListener("change", debounce(this.handleMediaQueryChange, 50));
|
|
45
|
-
this.handleMediaQueryChange(this.mq);
|
|
46
|
-
this.observer = new MutationObserver(() => debounce(this.copyHeadingsToCells(), 50));
|
|
47
|
-
this.observer.observe(this.element, {
|
|
48
|
-
childList: true,
|
|
49
|
-
subtree: true,
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
componentWillLoad() {
|
|
53
|
-
inheritGlobalTheme(this);
|
|
54
|
-
this.copyHeadingsToCells();
|
|
55
|
-
if (this.sticky && this.breakpoint === "none-scrollable") {
|
|
56
|
-
console.warn(`[DUET WARNING]: sticky and breakpoint="none-scrollable" are incompatible. Scrollable takes precedence`);
|
|
36
|
+
watchLanguageStateHandler(newValue, oldValue) {
|
|
37
|
+
if (newValue !== oldValue) {
|
|
38
|
+
setTimeout(() => this.copyHeadingsToCells(), 50);
|
|
39
|
+
}
|
|
57
40
|
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
41
|
+
connectedCallback() {
|
|
42
|
+
const token = this.breakpoint === "none" || this.breakpoint === "none-scrollable" ? "all" : breakpointToToken[this.breakpoint];
|
|
43
|
+
this.mq = matchMedia(token);
|
|
44
|
+
this.mq.addEventListener("change", debounce(this.handleMediaQueryChange, 50));
|
|
45
|
+
this.handleMediaQueryChange(this.mq);
|
|
46
|
+
this.observer = new MutationObserver(() => debounce(this.copyHeadingsToCells(), 50));
|
|
47
|
+
this.observer.observe(this.element, {
|
|
48
|
+
childList: true,
|
|
49
|
+
subtree: true,
|
|
50
|
+
});
|
|
62
51
|
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
this.observer = null;
|
|
74
|
-
this.mq.removeListener(this.handleMediaQueryChange);
|
|
75
|
-
this.mq = null;
|
|
76
|
-
this.matchesBreakpoint = true;
|
|
77
|
-
disconnectLanguageChangeObserver(this);
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* Local methods.
|
|
81
|
-
*/
|
|
82
|
-
copyHeadingsToCells() {
|
|
83
|
-
const headingElements = this.element.querySelectorAll(this.headingSelector);
|
|
84
|
-
const rowElements = this.element.querySelectorAll("tbody tr");
|
|
85
|
-
const headings = Array.from(headingElements).map(th => th.textContent.trim());
|
|
86
|
-
rowElements.forEach(tr => {
|
|
87
|
-
tr.querySelectorAll("td").forEach((td, i) => {
|
|
88
|
-
if (headings[i]) {
|
|
89
|
-
const previousSpan = td.querySelector(".duet-table-cell-heading");
|
|
90
|
-
if (!previousSpan || previousSpan.textContent !== headings[i]) {
|
|
91
|
-
previousSpan === null || previousSpan === void 0 ? void 0 : previousSpan.remove();
|
|
92
|
-
const span = document.createElement("span");
|
|
93
|
-
span.textContent = headings[i];
|
|
94
|
-
span.classList.add("duet-table-cell-heading");
|
|
95
|
-
span.setAttribute("aria-hidden", "true");
|
|
96
|
-
span.inert = true;
|
|
97
|
-
td.prepend(span);
|
|
98
|
-
}
|
|
52
|
+
componentWillLoad() {
|
|
53
|
+
inheritGlobalTheme(this);
|
|
54
|
+
this.copyHeadingsToCells();
|
|
55
|
+
if (this.sticky && this.breakpoint === "none-scrollable") {
|
|
56
|
+
console.warn(`[DUET WARNING]: sticky and breakpoint="none-scrollable" are incompatible. Scrollable takes precedence`);
|
|
57
|
+
}
|
|
58
|
+
if (this.sticky) {
|
|
59
|
+
const stickyTop = stickyTopValues[this.stickyDistance];
|
|
60
|
+
const headingElements = this.element.querySelectorAll(this.headingSelector);
|
|
61
|
+
headingElements.forEach(th => (th.style.top = `${stickyTop}px`));
|
|
99
62
|
}
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
63
|
+
}
|
|
64
|
+
componentDidLoad() {
|
|
65
|
+
// this clears all pending mutations,
|
|
66
|
+
// that way we avoid dealing with any initial changes
|
|
67
|
+
// and only get genuine mutations as rows are added/removed
|
|
68
|
+
this.observer ? this.observer.takeRecords() : null;
|
|
69
|
+
connectLanguageChangeObserver(this);
|
|
70
|
+
}
|
|
71
|
+
disconnectedCallback() {
|
|
72
|
+
this.observer.disconnect();
|
|
73
|
+
this.observer = null;
|
|
74
|
+
this.mq.removeListener(this.handleMediaQueryChange);
|
|
75
|
+
this.mq = null;
|
|
76
|
+
this.matchesBreakpoint = true;
|
|
77
|
+
disconnectLanguageChangeObserver(this);
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Local methods.
|
|
81
|
+
*/
|
|
82
|
+
copyHeadingsToCells() {
|
|
83
|
+
const headingElements = this.element.querySelectorAll(this.headingSelector);
|
|
84
|
+
const rowElements = this.element.querySelectorAll("tbody tr");
|
|
85
|
+
const headings = Array.from(headingElements).map(th => th.textContent.trim());
|
|
86
|
+
rowElements.forEach(tr => {
|
|
87
|
+
tr.querySelectorAll("td").forEach((td, i) => {
|
|
88
|
+
if (headings[i]) {
|
|
89
|
+
const previousSpan = td.querySelector(".duet-table-cell-heading");
|
|
90
|
+
if (!previousSpan || previousSpan.textContent !== headings[i]) {
|
|
91
|
+
previousSpan === null || previousSpan === void 0 ? void 0 : previousSpan.remove();
|
|
92
|
+
const span = document.createElement("span");
|
|
93
|
+
span.textContent = headings[i];
|
|
94
|
+
span.classList.add("duet-table-cell-heading");
|
|
95
|
+
span.setAttribute("aria-hidden", "true");
|
|
96
|
+
span.inert = true;
|
|
97
|
+
td.prepend(span);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
render() {
|
|
104
|
+
return (h(Host, { class: {
|
|
105
|
+
[`duet-table-${this.variation}`]: true,
|
|
106
|
+
"duet-table-flattened": !this.matchesBreakpoint,
|
|
107
|
+
// sticky only valid when in regular table layout
|
|
108
|
+
"duet-table-sticky": this.matchesBreakpoint && this.sticky,
|
|
109
|
+
"duet-table-scrollable": this.breakpoint === "none-scrollable",
|
|
110
|
+
"duet-m-0": this.margin === "none",
|
|
111
|
+
"duet-theme-turva": this.theme === "turva",
|
|
112
|
+
"duet-table-hide-head-visually": this.hideHeadVisually,
|
|
113
|
+
} }, h("slot", null)));
|
|
114
|
+
}
|
|
115
|
+
get element() { return this; }
|
|
116
|
+
static get watchers() { return {
|
|
117
|
+
"language": ["watchLanguageStateHandler"]
|
|
118
|
+
}; }
|
|
119
|
+
static get style() { return duetTableCss; }
|
|
120
120
|
}, [4, "duet-table", {
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
121
|
+
"theme": [1025],
|
|
122
|
+
"margin": [1],
|
|
123
|
+
"variation": [1],
|
|
124
|
+
"sticky": [4],
|
|
125
|
+
"stickyDistance": [1, "sticky-distance"],
|
|
126
|
+
"breakpoint": [1],
|
|
127
|
+
"hideHeadVisually": [4, "hide-head-visually"],
|
|
128
|
+
"matchesBreakpoint": [32],
|
|
129
|
+
"language": [32]
|
|
130
|
+
}, undefined, {
|
|
131
|
+
"language": ["watchLanguageStateHandler"]
|
|
132
|
+
}]);
|
|
133
133
|
function defineCustomElement() {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
134
|
+
if (typeof customElements === "undefined") {
|
|
135
|
+
return;
|
|
136
|
+
}
|
|
137
|
+
const components = ["duet-table"];
|
|
138
|
+
components.forEach(tagName => { switch (tagName) {
|
|
139
|
+
case "duet-table":
|
|
140
|
+
if (!customElements.get(tagName)) {
|
|
141
|
+
customElements.define(tagName, DuetTable);
|
|
142
|
+
}
|
|
143
|
+
break;
|
|
144
|
+
} });
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
export { DuetTable as D, defineCustomElement as d };
|