@duetds/components 10.2.4 → 10.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +1035 -694
- package/hydrate/index.mjs +1035 -694
- package/lib/cjs/{a11y-utils-DrkNSFk7.js → a11y-utils-dXXDBTyF.js} +1 -1
- package/lib/cjs/{app-globals-D924IDJZ.js → app-globals-CyPV2FZK.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +6 -6
- package/lib/cjs/duet-alert.cjs.entry.js +5 -5
- package/lib/cjs/duet-badge.cjs.entry.js +6 -6
- package/lib/cjs/duet-banner.cjs.entry.js +14 -16
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +7 -7
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +8 -8
- package/lib/cjs/duet-button_2.cjs.entry.js +28 -13
- package/lib/cjs/duet-callout.cjs.entry.js +6 -6
- package/lib/cjs/duet-caption_4.cjs.entry.js +19 -19
- package/lib/cjs/duet-card.cjs.entry.js +9 -9
- package/lib/cjs/duet-checkbox.cjs.entry.js +6 -6
- package/lib/cjs/duet-checkmark.cjs.entry.js +5 -5
- package/lib/cjs/duet-chip.cjs.entry.js +5 -5
- package/lib/cjs/duet-choice_2.cjs.entry.js +13 -13
- package/lib/cjs/duet-collapsible.cjs.entry.js +7 -7
- package/lib/cjs/duet-combobox.cjs.entry.js +6 -6
- package/lib/cjs/duet-contact-card.cjs.entry.js +6 -6
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +4 -4
- package/lib/cjs/duet-date-picker.cjs.entry.js +30 -34
- package/lib/cjs/duet-divider_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +86 -130
- package/lib/cjs/duet-empty-state.cjs.entry.js +5 -5
- package/lib/cjs/duet-fieldset.cjs.entry.js +7 -7
- package/lib/cjs/duet-file-chooser.cjs.entry.js +3 -3
- package/lib/cjs/duet-footer.cjs.entry.js +9 -9
- package/lib/cjs/duet-grid_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-header_2.cjs.entry.js +13 -38
- package/lib/cjs/duet-hero.cjs.entry.js +10 -10
- package/lib/cjs/duet-icon.cjs.entry.js +8 -8
- package/lib/cjs/duet-indicator.cjs.entry.js +9 -5
- package/lib/cjs/duet-input_2.cjs.entry.js +19 -15
- package/lib/cjs/duet-layout.cjs.entry.js +7 -7
- package/lib/cjs/duet-list_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +5 -5
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +5 -5
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +7 -7
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +8 -8
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +5 -5
- package/lib/cjs/duet-menu-bar.cjs.entry.js +7 -7
- package/lib/cjs/duet-modal.cjs.entry.js +15 -15
- package/lib/cjs/duet-multiselect.cjs.entry.js +11 -11
- package/lib/cjs/duet-nav.cjs.entry.js +3 -3
- package/lib/cjs/duet-notification_2.cjs.entry.js +11 -11
- package/lib/cjs/duet-number-input.cjs.entry.js +9 -9
- package/lib/cjs/duet-overlay.cjs.entry.js +4 -4
- package/lib/cjs/duet-page-heading.cjs.entry.js +5 -5
- package/lib/cjs/duet-pagination_2.cjs.entry.js +20 -20
- package/lib/cjs/duet-panel.cjs.entry.js +5 -5
- package/lib/cjs/duet-phone-input.cjs.entry.js +4 -4
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +22 -20
- package/lib/cjs/duet-progress.cjs.entry.js +4 -4
- package/lib/cjs/duet-promo-card.cjs.entry.js +13 -9
- package/lib/cjs/duet-radio_2.cjs.entry.js +8 -8
- package/lib/cjs/duet-range-slider.cjs.entry.js +8 -8
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +20 -20
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +10 -10
- package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
- package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-share-chart.cjs.entry.js +9 -9
- package/lib/cjs/duet-show-more.cjs.entry.js +6 -6
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-link.cjs.entry.js +8 -8
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +7 -7
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +14 -14
- package/lib/cjs/duet-slideout.cjs.entry.js +21 -19
- package/lib/cjs/duet-status-icon.cjs.entry.js +4 -4
- package/lib/cjs/duet-step_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +5 -5
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +8 -8
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +7 -7
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +9 -9
- package/lib/cjs/duet-textarea.cjs.entry.js +9 -9
- package/lib/cjs/duet-toggle.cjs.entry.js +9 -9
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +5 -5
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +7 -7
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +9 -9
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +5 -5
- package/lib/cjs/duet-toolbar.cjs.entry.js +5 -5
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +11 -11
- package/lib/cjs/duet-tooltip.cjs.entry.js +5 -5
- package/lib/cjs/duet-tray.cjs.entry.js +7 -7
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-CN2q01zn.js → errorcodes.utils-DQ-I8x2z.js} +1 -1
- package/lib/cjs/{focus-utils-BiNVxwJM.js → focus-utils-DstNW4_h.js} +1 -1
- package/lib/cjs/{index-BU3Nf2d6.js → index-B_QTwXEx.js} +1 -1
- package/lib/cjs/{label-Bkh3nxL_.js → label-yAj5CKm3.js} +1 -1
- package/lib/cjs/{language-utils-BazCSszn.js → language-utils-DjtvVntE.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-BUOLdbgj.js → slot-utils-YUU0XWn9.js} +1 -1
- package/lib/cjs/{themeable-component-BU-IHJDO.js → themeable-component-h3OzJgCb.js} +2 -12
- package/lib/cjs/{token-utils-BstQGJ9_.js → token-utils-DY3-olMV.js} +1 -51
- package/lib/cjs/{tokens-DGQm58Sv.js → tokens-COLlUECP.js} +335 -77
- package/lib/cjs/{tokens.module-CdKmGLcD.js → tokens.module-CTbvyezn.js} +226 -54
- package/lib/collection/common/themeable-component.js +1 -11
- package/lib/collection/components/duet-action-button/duet-action-button.css +5 -19
- package/lib/collection/components/duet-alert/duet-alert.css +4 -3
- package/lib/collection/components/duet-badge/duet-badge.css +20 -65
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-banner/duet-banner.css +16 -14
- package/lib/collection/components/duet-banner/duet-banner.js +9 -11
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +1 -1
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +4 -14
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
- package/lib/collection/components/duet-button/duet-button.css +85 -157
- package/lib/collection/components/duet-button/duet-button.js +20 -5
- package/lib/collection/components/duet-callout/duet-callout.css +4 -8
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-caption/duet-caption.css +6 -10
- package/lib/collection/components/duet-caption/duet-caption.js +2 -2
- package/lib/collection/components/duet-card/duet-card.css +10 -22
- package/lib/collection/components/duet-card/duet-card.js +3 -3
- package/lib/collection/components/duet-checkbox/duet-checkbox.css +28 -38
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +2 -2
- package/lib/collection/components/duet-chip/duet-chip.css +33 -59
- package/lib/collection/components/duet-chip/duet-chip.js +1 -1
- package/lib/collection/components/duet-choice/duet-checkmark.css +1 -1
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice/duet-choice.css +75 -123
- package/lib/collection/components/duet-choice/duet-choice.js +6 -6
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
- package/lib/collection/components/duet-collapsible/duet-collapsible.css +6 -17
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
- package/lib/collection/components/duet-combobox/duet-combobox.css +3 -9
- package/lib/collection/components/duet-contact-card/duet-contact-card.css +2 -5
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +5 -13
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-date-picker/date-utils.js +2 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +56 -80
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +23 -29
- package/lib/collection/components/duet-divider/duet-divider.css +1 -4
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +2 -2
- package/lib/collection/components/duet-empty-state/duet-empty-state.css +1 -5
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
- package/lib/collection/components/duet-fieldset/duet-fieldset.css +6 -5
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.css +17 -19
- package/lib/collection/components/duet-footer/duet-footer.js +4 -4
- package/lib/collection/components/duet-grid/duet-grid.js +2 -2
- package/lib/collection/components/duet-grid-item/duet-grid-item.css +2 -6
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
- package/lib/collection/components/duet-header/duet-header.css +187 -200
- package/lib/collection/components/duet-heading/duet-heading.css +1 -1
- package/lib/collection/components/duet-heading/duet-heading.js +2 -2
- package/lib/collection/components/duet-hero/duet-hero.css +276 -310
- package/lib/collection/components/duet-hero/duet-hero.js +5 -5
- package/lib/collection/components/duet-icon/duet-icon.css +6 -62
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-indicator/duet-indicator.css +1 -1
- package/lib/collection/components/duet-indicator/duet-indicator.js +5 -1
- package/lib/collection/components/duet-input/duet-input.css +103 -131
- package/lib/collection/components/duet-input/duet-input.js +10 -6
- package/lib/collection/components/duet-label/duet-label.css +0 -4
- package/lib/collection/components/duet-layout/duet-layout.js +5 -5
- package/lib/collection/components/duet-link/duet-link.css +19 -53
- package/lib/collection/components/duet-link/duet-link.js +2 -2
- package/lib/collection/components/duet-list/duet-list.js +1 -1
- package/lib/collection/components/duet-list-item/duet-list-item.css +11 -31
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-logo/duet-logo.css +4 -12
- package/lib/collection/components/duet-logo/duet-logo.js +7 -37
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +15 -25
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +5 -8
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +2 -20
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +5 -10
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +14 -20
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +9 -16
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
- package/lib/collection/components/duet-modal/duet-modal.css +3 -10
- package/lib/collection/components/duet-modal/duet-modal.js +7 -7
- package/lib/collection/components/duet-multiselect/duet-multiselect.css +49 -87
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.css +11 -18
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +25 -29
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +3 -3
- package/lib/collection/components/duet-number-input/duet-number-input.css +1 -8
- package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
- package/lib/collection/components/duet-overlay/duet-overlay.css +4 -7
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.css +6 -23
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-pagination/duet-pagination.css +0 -4
- package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
- package/lib/collection/components/duet-panel/duet-panel.css +5 -19
- package/lib/collection/components/duet-panel/duet-panel.js +2 -2
- package/lib/collection/components/duet-paragraph/duet-paragraph.css +7 -14
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +2 -5
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +11 -9
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +8 -15
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-progress/duet-progress.css +11 -24
- package/lib/collection/components/duet-promo-card/duet-promo-card.css +13 -5
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +8 -4
- package/lib/collection/components/duet-radio/duet-radio.css +34 -32
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
- package/lib/collection/components/duet-range-slider/duet-range-slider.css +28 -53
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +1 -1
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
- package/lib/collection/components/duet-scrollable/duet-scrollable.css +3 -11
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-select/duet-select.css +35 -72
- package/lib/collection/components/duet-select/duet-select.js +5 -5
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-share-chart/duet-share-chart.css +2 -5
- package/lib/collection/components/duet-share-chart/duet-share-chart.js +2 -2
- package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
- package/lib/collection/components/duet-show-more/duet-show-more.css +2 -5
- package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
- package/lib/collection/components/duet-slideout/duet-slideout.css +22 -38
- package/lib/collection/components/duet-slideout/duet-slideout.js +12 -10
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +0 -4
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +7 -13
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +16 -32
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +7 -14
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
- package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
- package/lib/collection/components/duet-spinner/duet-spinner.css +1 -4
- package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
- package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
- package/lib/collection/components/duet-step/duet-step.css +18 -23
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +5 -15
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +16 -48
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +9 -22
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +17 -27
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +10 -27
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
- package/lib/collection/components/duet-tab/duet-tab.css +1 -1
- package/lib/collection/components/duet-tab/duet-tab.js +2 -2
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +86 -87
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
- package/lib/collection/components/duet-table/duet-table-styles.js +75 -119
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-textarea/duet-textarea.css +42 -108
- package/lib/collection/components/duet-textarea/duet-textarea.js +3 -3
- package/lib/collection/components/duet-toggle/duet-toggle.css +23 -30
- package/lib/collection/components/duet-toggle/duet-toggle.js +3 -3
- package/lib/collection/components/duet-toolbar/duet-toolbar.css +4 -8
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +34 -47
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +7 -14
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +29 -43
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +22 -46
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +8 -12
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +17 -30
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +3 -3
- package/lib/collection/components/duet-tray/duet-tray.css +8 -17
- package/lib/collection/components/duet-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload/duet-upload.js +2 -2
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/collection/utils/token-utils.js +0 -38
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/{p-a4b1a21e.entry.js → p-06f17fe7.entry.js} +1 -1
- package/lib/duet/p-07b9b6c3.entry.js +4 -0
- package/lib/duet/{p-2da426b2.entry.js → p-0a80de40.entry.js} +1 -1
- package/lib/duet/{p-5ed86143.entry.js → p-0cc2921b.entry.js} +1 -1
- package/lib/duet/p-0ccecf5b.entry.js +4 -0
- package/lib/duet/p-10a326fa.entry.js +4 -0
- package/lib/duet/{p-c1b625d2.entry.js → p-12b2d402.entry.js} +1 -1
- package/lib/duet/p-162993d2.entry.js +4 -0
- package/lib/duet/p-162a0691.entry.js +4 -0
- package/lib/duet/p-17413943.entry.js +4 -0
- package/lib/duet/p-17c063a3.entry.js +4 -0
- package/lib/duet/p-18eada94.entry.js +4 -0
- package/lib/duet/p-1e168d4b.entry.js +4 -0
- package/lib/duet/p-234f4365.entry.js +4 -0
- package/lib/duet/{p-35e4a9c4.entry.js → p-245c0535.entry.js} +1 -1
- package/lib/duet/p-25b4886a.entry.js +4 -0
- package/lib/duet/{p-8f7dd5a6.entry.js → p-278ef4d8.entry.js} +1 -1
- package/lib/duet/p-29599dc5.entry.js +4 -0
- package/lib/duet/{p-2cb58d74.entry.js → p-2ac11077.entry.js} +1 -1
- package/lib/duet/p-2d963ab0.entry.js +4 -0
- package/lib/duet/{p-46959db5.entry.js → p-2e126e15.entry.js} +1 -1
- package/lib/duet/p-301b8664.entry.js +4 -0
- package/lib/duet/{p-840a6293.entry.js → p-3a45c3a4.entry.js} +1 -1
- package/lib/duet/p-3d00efb7.entry.js +4 -0
- package/lib/duet/p-3d0a716c.entry.js +4 -0
- package/lib/duet/{p-60450623.entry.js → p-3eba33cd.entry.js} +1 -1
- package/lib/duet/p-419b96b6.entry.js +4 -0
- package/lib/duet/p-44a97d21.entry.js +4 -0
- package/lib/duet/p-4856f07c.entry.js +4 -0
- package/lib/duet/p-4b8293b3.entry.js +4 -0
- package/lib/duet/{p-06e533f3.entry.js → p-550bfab9.entry.js} +1 -1
- package/lib/duet/p-5c60eca3.entry.js +4 -0
- package/lib/duet/p-5c9530f1.entry.js +4 -0
- package/lib/duet/{p-b6b32a0a.entry.js → p-5fb1092c.entry.js} +1 -1
- package/lib/duet/p-5fb783eb.entry.js +4 -0
- package/lib/duet/p-608ebd47.entry.js +4 -0
- package/lib/duet/{p-6c0ba49c.entry.js → p-65350441.entry.js} +1 -1
- package/lib/duet/p-67b3a01a.entry.js +4 -0
- package/lib/duet/p-690beb31.entry.js +4 -0
- package/lib/duet/p-6cffc5b7.entry.js +4 -0
- package/lib/duet/p-6e1b9cc8.entry.js +4 -0
- package/lib/duet/p-7ce31e10.entry.js +4 -0
- package/lib/duet/p-806c4ab8.entry.js +4 -0
- package/lib/duet/p-86166f8d.entry.js +4 -0
- package/lib/duet/p-898d5701.entry.js +4 -0
- package/lib/duet/p-8a28f86e.entry.js +4 -0
- package/lib/duet/p-9172ba70.entry.js +4 -0
- package/lib/duet/p-93abd97a.entry.js +4 -0
- package/lib/duet/{p-108bb9b1.entry.js → p-968546f6.entry.js} +1 -1
- package/lib/duet/{p-BahNb4S5.js → p-B6Z_1gqI.js} +1 -1
- package/lib/duet/p-BQVGvl4H.js +4 -0
- package/lib/duet/p-BUWuSkQW.js +4 -0
- package/lib/duet/p-CLZq8YfV.js +4 -0
- package/lib/duet/{p-EzuzdWgU.js → p-CW11pVgw.js} +1 -1
- package/lib/duet/p-Ce9HQd35.js +4 -0
- package/lib/duet/p-D2JvSVnG.js +4 -0
- package/lib/duet/p-D2ly4TZR.js +4 -0
- package/lib/duet/p-DEzE2U5T.js +4 -0
- package/lib/duet/{p-udt4OnI3.js → p-DFAnksuG.js} +1 -1
- package/lib/duet/{p-D01wpYGA.js → p-DrqQiRTn.js} +1 -1
- package/lib/duet/p-ELbbzMVZ.js +4 -0
- package/lib/duet/p-a3ad5622.entry.js +4 -0
- package/lib/duet/p-a6bec2da.entry.js +4 -0
- package/lib/duet/p-a73b7110.entry.js +4 -0
- package/lib/duet/p-a8229728.entry.js +4 -0
- package/lib/duet/p-ae778cb1.entry.js +4 -0
- package/lib/duet/{p-959c0fdf.entry.js → p-b1d91a91.entry.js} +1 -1
- package/lib/duet/p-b4c18ee6.entry.js +4 -0
- package/lib/duet/p-b6dc4395.entry.js +4 -0
- package/lib/duet/{p-208ee0bd.entry.js → p-b9a54319.entry.js} +1 -1
- package/lib/duet/p-b9be36c8.entry.js +4 -0
- package/lib/duet/p-bdae48d3.entry.js +4 -0
- package/lib/duet/p-bdf6a296.entry.js +4 -0
- package/lib/duet/p-bfc75bb9.entry.js +4 -0
- package/lib/duet/p-c8d10c67.entry.js +4 -0
- package/lib/duet/p-c8e520b6.entry.js +4 -0
- package/lib/duet/p-ce4d9add.entry.js +4 -0
- package/lib/duet/p-d2e74e89.entry.js +4 -0
- package/lib/duet/p-d7506eaa.entry.js +4 -0
- package/lib/duet/p-d83f38c7.entry.js +4 -0
- package/lib/duet/p-d8bc628c.entry.js +4 -0
- package/lib/duet/p-da275568.entry.js +4 -0
- package/lib/duet/p-dc5682d8.entry.js +4 -0
- package/lib/duet/p-de4b0518.entry.js +4 -0
- package/lib/duet/p-e050ed5c.entry.js +4 -0
- package/lib/duet/{p-52d1157e.entry.js → p-e9c2eb66.entry.js} +1 -1
- package/lib/duet/p-ec5f40a5.entry.js +4 -0
- package/lib/duet/{p-ad7a1cde.entry.js → p-ec689a7c.entry.js} +1 -1
- package/lib/duet/{p-da5a60ce.entry.js → p-ecf69f6d.entry.js} +1 -1
- package/lib/duet/p-ed750cdf.entry.js +4 -0
- package/lib/duet/p-efa1cd0b.entry.js +4 -0
- package/lib/duet/{p-cde24f7a.entry.js → p-f15ab3b8.entry.js} +1 -1
- package/lib/duet/p-f55f8bd9.entry.js +4 -0
- package/lib/duet/p-f68a4a23.entry.js +4 -0
- package/lib/duet/p-f71d04ce.entry.js +4 -0
- package/lib/duet/p-f8e26f21.entry.js +4 -0
- package/lib/duet/{p-068f930b.entry.js → p-fca9c5c4.entry.js} +1 -1
- package/lib/duet/p-fe00331c.entry.js +4 -0
- package/lib/esm/{a11y-utils-DcQ8_LjH.js → a11y-utils-D66Lzlz5.js} +1 -1
- package/lib/esm/{app-globals-BROlDQRT.js → app-globals-G9KPoeGD.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +6 -6
- package/lib/esm/duet-alert.entry.js +5 -5
- package/lib/esm/duet-badge.entry.js +6 -6
- package/lib/esm/duet-banner.entry.js +14 -16
- package/lib/esm/duet-breadcrumb.entry.js +7 -7
- package/lib/esm/duet-breadcrumbs.entry.js +8 -8
- package/lib/esm/duet-button_2.entry.js +28 -13
- package/lib/esm/duet-callout.entry.js +6 -6
- package/lib/esm/duet-caption_4.entry.js +19 -19
- package/lib/esm/duet-card.entry.js +9 -9
- package/lib/esm/duet-checkbox.entry.js +6 -6
- package/lib/esm/duet-checkmark.entry.js +5 -5
- package/lib/esm/duet-chip.entry.js +5 -5
- package/lib/esm/duet-choice_2.entry.js +13 -13
- package/lib/esm/duet-collapsible.entry.js +7 -7
- package/lib/esm/duet-combobox.entry.js +6 -6
- package/lib/esm/duet-contact-card.entry.js +6 -6
- package/lib/esm/duet-cookie-consent.entry.js +4 -4
- package/lib/esm/duet-date-picker.entry.js +30 -34
- package/lib/esm/duet-divider_2.entry.js +7 -7
- package/lib/esm/duet-editable-table_3.entry.js +86 -130
- package/lib/esm/duet-empty-state.entry.js +5 -5
- package/lib/esm/duet-fieldset.entry.js +7 -7
- package/lib/esm/duet-file-chooser.entry.js +3 -3
- package/lib/esm/duet-footer.entry.js +9 -9
- package/lib/esm/duet-grid_2.entry.js +7 -7
- package/lib/esm/duet-header_2.entry.js +13 -38
- package/lib/esm/duet-hero.entry.js +10 -10
- package/lib/esm/duet-icon.entry.js +8 -8
- package/lib/esm/duet-indicator.entry.js +9 -5
- package/lib/esm/duet-input_2.entry.js +19 -15
- package/lib/esm/duet-layout.entry.js +7 -7
- package/lib/esm/duet-list_2.entry.js +6 -6
- package/lib/esm/duet-menu-bar-button.entry.js +5 -5
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +5 -5
- package/lib/esm/duet-menu-bar-dropdown.entry.js +7 -7
- package/lib/esm/duet-menu-bar-item.entry.js +8 -8
- package/lib/esm/duet-menu-bar-link.entry.js +5 -5
- package/lib/esm/duet-menu-bar.entry.js +7 -7
- package/lib/esm/duet-modal.entry.js +15 -15
- package/lib/esm/duet-multiselect.entry.js +11 -11
- package/lib/esm/duet-nav.entry.js +3 -3
- package/lib/esm/duet-notification_2.entry.js +11 -11
- package/lib/esm/duet-number-input.entry.js +9 -9
- package/lib/esm/duet-overlay.entry.js +4 -4
- package/lib/esm/duet-page-heading.entry.js +5 -5
- package/lib/esm/duet-pagination_2.entry.js +20 -20
- package/lib/esm/duet-panel.entry.js +5 -5
- package/lib/esm/duet-phone-input.entry.js +4 -4
- package/lib/esm/duet-popup-menu_2.entry.js +22 -20
- package/lib/esm/duet-progress.entry.js +4 -4
- package/lib/esm/duet-promo-card.entry.js +13 -9
- package/lib/esm/duet-radio_2.entry.js +8 -8
- package/lib/esm/duet-range-slider.entry.js +8 -8
- package/lib/esm/duet-scrollable_3.entry.js +20 -20
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +10 -10
- package/lib/esm/duet-shaped-image.entry.js +4 -4
- package/lib/esm/duet-share-chart-item.entry.js +2 -2
- package/lib/esm/duet-share-chart.entry.js +9 -9
- package/lib/esm/duet-show-more.entry.js +6 -6
- package/lib/esm/duet-slideout-lang.entry.js +5 -5
- package/lib/esm/duet-slideout-link.entry.js +8 -8
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +7 -7
- package/lib/esm/duet-slideout-panel.entry.js +14 -14
- package/lib/esm/duet-slideout.entry.js +21 -19
- package/lib/esm/duet-status-icon.entry.js +4 -4
- package/lib/esm/duet-step_2.entry.js +7 -7
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +5 -5
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +8 -8
- package/lib/esm/duet-submenu-bar-item.entry.js +7 -7
- package/lib/esm/duet-submenu-bar-link.entry.js +4 -4
- package/lib/esm/duet-submenu-bar.entry.js +9 -9
- package/lib/esm/duet-textarea.entry.js +9 -9
- package/lib/esm/duet-toggle.entry.js +9 -9
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +5 -5
- package/lib/esm/duet-toolbar-dropdown.entry.js +7 -7
- package/lib/esm/duet-toolbar-item.entry.js +9 -9
- package/lib/esm/duet-toolbar-link.entry.js +5 -5
- package/lib/esm/duet-toolbar.entry.js +5 -5
- package/lib/esm/duet-tooltip-button_2.entry.js +11 -11
- package/lib/esm/duet-tooltip.entry.js +5 -5
- package/lib/esm/duet-tray.entry.js +7 -7
- package/lib/esm/duet-upload-aria-status.entry.js +2 -2
- package/lib/esm/duet-upload-item.entry.js +6 -6
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-Itv_LXm1.js → errorcodes.utils-C6zptXiM.js} +1 -1
- package/lib/esm/{focus-utils-Ckrg92zt.js → focus-utils-YZ2ticmM.js} +1 -1
- package/lib/esm/{index-D01wpYGA.js → index-DrqQiRTn.js} +1 -1
- package/lib/esm/{label-BDVCTSVS.js → label-CnTwCD-3.js} +1 -1
- package/lib/esm/{language-utils-CJ6UGHBS.js → language-utils-BEG0cFmw.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-BRZl-j4n.js → slot-utils-Dzrezpl3.js} +1 -1
- package/lib/esm/{themeable-component-hw-kujXv.js → themeable-component-BLql61nC.js} +2 -12
- package/lib/esm/{token-utils-DMwF8cmT.js → token-utils-B0KAgyj_.js} +1 -51
- package/lib/esm/{tokens-lzu8l3tx.js → tokens-Ce9HQd35.js} +335 -77
- package/lib/esm/{tokens.module-BzrE0-hp.js → tokens.module-DEzE2U5T.js} +226 -54
- package/lib/types/components/duet-banner/duet-banner.d.ts +1 -1
- package/lib/types/components/duet-date-picker/date-utils.d.ts +1 -1
- package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +1 -2
- package/lib/types/components/duet-logo/duet-logo.d.ts +0 -3
- package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +1 -0
- package/package.json +5 -5
- package/lib/collection/utils/turva2-color-tokens.js +0 -42
- package/lib/duet/p-00c4df17.entry.js +0 -4
- package/lib/duet/p-0e0e4046.entry.js +0 -4
- package/lib/duet/p-1040c382.entry.js +0 -4
- package/lib/duet/p-116bd504.entry.js +0 -4
- package/lib/duet/p-157995c2.entry.js +0 -4
- package/lib/duet/p-1abdf725.entry.js +0 -4
- package/lib/duet/p-1d70c401.entry.js +0 -4
- package/lib/duet/p-241ecfbb.entry.js +0 -4
- package/lib/duet/p-2ae2c00b.entry.js +0 -4
- package/lib/duet/p-38d9c2a4.entry.js +0 -4
- package/lib/duet/p-3ac158a2.entry.js +0 -4
- package/lib/duet/p-3df4d82d.entry.js +0 -4
- package/lib/duet/p-40f1b967.entry.js +0 -4
- package/lib/duet/p-4ace9ad8.entry.js +0 -4
- package/lib/duet/p-506dd7e4.entry.js +0 -4
- package/lib/duet/p-56cd1a09.entry.js +0 -4
- package/lib/duet/p-56e2f9ab.entry.js +0 -4
- package/lib/duet/p-59e14b99.entry.js +0 -4
- package/lib/duet/p-5deb728c.entry.js +0 -4
- package/lib/duet/p-62d78e93.entry.js +0 -4
- package/lib/duet/p-62f879dc.entry.js +0 -4
- package/lib/duet/p-64682619.entry.js +0 -4
- package/lib/duet/p-649abe6b.entry.js +0 -4
- package/lib/duet/p-6f1faec3.entry.js +0 -4
- package/lib/duet/p-7192d852.entry.js +0 -4
- package/lib/duet/p-7323183d.entry.js +0 -4
- package/lib/duet/p-73e78cea.entry.js +0 -4
- package/lib/duet/p-77ee5411.entry.js +0 -4
- package/lib/duet/p-78dbb64a.entry.js +0 -4
- package/lib/duet/p-79260a28.entry.js +0 -4
- package/lib/duet/p-7af8f026.entry.js +0 -4
- package/lib/duet/p-7b970c92.entry.js +0 -4
- package/lib/duet/p-817f5c02.entry.js +0 -4
- package/lib/duet/p-85ed639b.entry.js +0 -4
- package/lib/duet/p-89605d7b.entry.js +0 -4
- package/lib/duet/p-8ecff6ac.entry.js +0 -4
- package/lib/duet/p-92c976d8.entry.js +0 -4
- package/lib/duet/p-97291b00.entry.js +0 -4
- package/lib/duet/p-B0U815Vi.js +0 -4
- package/lib/duet/p-BQqubJCA.js +0 -4
- package/lib/duet/p-BlYFa84w.js +0 -4
- package/lib/duet/p-Bq_F1n6l.js +0 -4
- package/lib/duet/p-Brp9BZK6.js +0 -4
- package/lib/duet/p-BzrE0-hp.js +0 -4
- package/lib/duet/p-De8V1Ewb.js +0 -4
- package/lib/duet/p-a056d95d.entry.js +0 -4
- package/lib/duet/p-a1fdc4ec.entry.js +0 -4
- package/lib/duet/p-a8a6ab54.entry.js +0 -4
- package/lib/duet/p-a8cd78ae.entry.js +0 -4
- package/lib/duet/p-ab6cce18.entry.js +0 -4
- package/lib/duet/p-ae00066d.entry.js +0 -4
- package/lib/duet/p-ae509388.entry.js +0 -4
- package/lib/duet/p-b4f4baa3.entry.js +0 -4
- package/lib/duet/p-b8b4f2c1.entry.js +0 -4
- package/lib/duet/p-b955cb73.entry.js +0 -4
- package/lib/duet/p-c3084c8c.entry.js +0 -4
- package/lib/duet/p-c464f037.entry.js +0 -4
- package/lib/duet/p-c489791a.entry.js +0 -4
- package/lib/duet/p-caed4507.entry.js +0 -4
- package/lib/duet/p-caf9a237.entry.js +0 -4
- package/lib/duet/p-d0d43606.entry.js +0 -4
- package/lib/duet/p-dfbab0b6.entry.js +0 -4
- package/lib/duet/p-e0481b75.entry.js +0 -4
- package/lib/duet/p-e25e6ab3.entry.js +0 -4
- package/lib/duet/p-e4ac8424.entry.js +0 -4
- package/lib/duet/p-e606f740.entry.js +0 -4
- package/lib/duet/p-ed73dc86.entry.js +0 -4
- package/lib/duet/p-f23fcee4.entry.js +0 -4
- package/lib/duet/p-f27e6dd8.entry.js +0 -4
- package/lib/duet/p-f5345710.entry.js +0 -4
- package/lib/duet/p-f5b6ec35.entry.js +0 -4
- package/lib/duet/p-f9974767.entry.js +0 -4
- package/lib/duet/p-lzu8l3tx.js +0 -4
- package/lib/types/utils/turva2-color-tokens.d.ts +0 -39
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { h, r as registerInstance, c as createEvent, H as Host, g as getElement, F as Fragment } from './index-
|
|
5
|
-
import { i as inheritGlobalTheme } from './themeable-component-
|
|
4
|
+
import { h, r as registerInstance, c as createEvent, H as Host, g as getElement, F as Fragment } from './index-DrqQiRTn.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './themeable-component-BLql61nC.js';
|
|
6
6
|
import { f as fieldSorter, d as debounce } from './js-utils-BlUsLmbQ.js';
|
|
7
7
|
import { i as isKeyboardClick } from './keyboard-utils-Db8rvjPI.js';
|
|
8
|
-
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver, g as getLocaleString, s as sanitizeString } from './language-utils-
|
|
9
|
-
import { q as spaceLarge, r as fontFamilyText, p as fontSizeMedium, u as
|
|
10
|
-
import { b as breakpointTokensUpTo, a as breakpointToToken } from './token-utils-
|
|
8
|
+
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver, g as getLocaleString, s as sanitizeString } from './language-utils-BEG0cFmw.js';
|
|
9
|
+
import { q as spaceLarge, r as fontFamilyText, p as fontSizeMedium, u as colorSecondary, v as fontWeightSemiBold, w as lineHeightSmall, x as colorGrayDarker, y as spaceMedium, z as spaceXxSmall, A as colorGrayLightest, f as mediaQueryXSmall, B as spaceSmall, C as colorGrayLight, D as fontFamilyTextTurva, E as colorTurvaGray900, F as colorGrayDarkTurva, G as colorSecondaryTurva, H as colorGrayLightTurva, I as colorGrayDarkerTurva, j as colorPrimary, s as sizeHeader, J as sizeNavigation } from './tokens.module-DEzE2U5T.js';
|
|
10
|
+
import { b as breakpointTokensUpTo, a as breakpointToToken } from './token-utils-B0KAgyj_.js';
|
|
11
11
|
import { c as createID } from './create-id-Cfr_DJqU.js';
|
|
12
12
|
import { p as parsePossibleJSON } from './string-utils-C6E9F6QT.js';
|
|
13
|
-
import { a as getError, g as getI18nError } from './errorcodes.utils-
|
|
13
|
+
import { a as getError, g as getI18nError } from './errorcodes.utils-C6zptXiM.js';
|
|
14
14
|
|
|
15
15
|
//simple functional component that renders the data in the table
|
|
16
16
|
const TableData = ({ data, groupId, alignment }, _children) => {
|
|
@@ -227,7 +227,7 @@ const DuetEditableTable = class {
|
|
|
227
227
|
* Render Methods
|
|
228
228
|
*/
|
|
229
229
|
render() {
|
|
230
|
-
return (h(Host, { key: '
|
|
230
|
+
return (h(Host, { key: 'a0c3202194fcc3910b50193f2a4fcb3bd7d3a5d8', class: {
|
|
231
231
|
[`duet-editable-table-${this.variation}`]: true,
|
|
232
232
|
"duet-editable-table": true,
|
|
233
233
|
[`duet-editable-table-${this.theme}`]: true,
|
|
@@ -237,7 +237,7 @@ const DuetEditableTable = class {
|
|
|
237
237
|
"duet-editable-table-actions": !!this.actions,
|
|
238
238
|
"duet-m-0": this.margin === "none",
|
|
239
239
|
"duet-theme-turva": this.theme === "turva",
|
|
240
|
-
} }, h("duet-table", { key: '
|
|
240
|
+
} }, h("duet-table", { key: '6e53631c212527e8702f9e9c8a1b9bc2b390c830', class: "duet-editable-table-table", sticky: this.sticky, stickyDistance: this.stickyDistance, margin: this.margin, theme: this.theme, variation: this.variation, breakpoint: this.breakpoint, "hide-head-visually": this.hideHeadVisually }, h("table", { key: '990481c1affeb11d6a6541a36a8f0118c961915c', role: this.accessibleRole }, h("caption", { key: 'f7b1bc44ab9fef0194485fdd6e49e11a306e365c' }, h("slot", { key: '2caecec6e5c024bdde6fa6bf72917914e2626752', name: "tcaption" })), h("thead", { key: 'c892dcd586814dcecddc46fbaf0319b04b6d9f16' }, this.hasHeadSlotFirst && (h("tr", { key: 'bfbac21dbab8afab7f34e952bd5803954be4991d' }, h("td", { key: '0a491ed1c4855d55b4dbc493a52029d657a08cc5', class: "duet-editable-table-actions-menu", colSpan: 99 }, h("slot", { key: '87c033e72a1bd3b87a51a4981b1b4939de66578d', name: "thead-first" })))), this.renderTableHeader(), this.hasHeadSlotLast && (h("tr", { key: '2ab66f9b14fe592f7ee7e6293cdd56b3aed0190e' }, h("td", { key: 'edb3ae066371b6f5dc990f10f088246c0d9388d9', class: "duet-editable-table-actions-menu", colSpan: 99 }, h("slot", { key: 'f57ebf07ee01c40cb47469b2fa07a706c4724dae', name: "thead-last" }))))), h("tbody", { key: '538b2de606132fcb272e5af1650cafb947fc5b2a' }, this.renderTableBody()), this.hasFootSlot && (h("tfoot", { key: '2f1a98dd550705933222f7179bc3ff4d6554d117' }, h("tr", { key: 'ecb9667d57ea85de7efa6fa0035fbfbb16c78a9e' }, h("td", { key: 'c78b25495de0621c55f70cce5131b1d192fc5e0e', class: "duet-editable-table-footer-menu", colSpan: 99 }, h("slot", { key: 'ed051b0e66c28fdbee565b33c1c394034a817a82', name: "tfoot" })))))))));
|
|
241
241
|
}
|
|
242
242
|
get element() { return getElement(this); }
|
|
243
243
|
};
|
|
@@ -304,20 +304,12 @@ duet-table {
|
|
|
304
304
|
}
|
|
305
305
|
}
|
|
306
306
|
|
|
307
|
-
&.duet-theme-turva table {
|
|
308
|
-
font-family: ${fontFamilyTextTurva};
|
|
309
|
-
}
|
|
310
|
-
|
|
311
307
|
td {
|
|
312
308
|
-webkit-hyphens: auto;
|
|
313
309
|
hyphens: auto;
|
|
314
310
|
color: ${colorSecondary};
|
|
315
311
|
}
|
|
316
312
|
|
|
317
|
-
&.duet-theme-turva td {
|
|
318
|
-
color: ${colorSecondaryTurva};
|
|
319
|
-
}
|
|
320
|
-
|
|
321
313
|
th {
|
|
322
314
|
font-weight: ${fontWeightSemiBold};
|
|
323
315
|
line-height: ${lineHeightSmall};
|
|
@@ -325,19 +317,11 @@ duet-table {
|
|
|
325
317
|
text-align: left;
|
|
326
318
|
}
|
|
327
319
|
|
|
328
|
-
&.duet-theme-turva th {
|
|
329
|
-
color: ${colorGrayDarkTurva};
|
|
330
|
-
}
|
|
331
|
-
|
|
332
320
|
tbody th {
|
|
333
321
|
font-weight: ${fontWeightSemiBold};
|
|
334
322
|
color: ${colorSecondary};
|
|
335
323
|
}
|
|
336
324
|
|
|
337
|
-
&.duet-theme-turva tbody th {
|
|
338
|
-
color: ${colorSecondaryTurva};
|
|
339
|
-
}
|
|
340
|
-
|
|
341
325
|
& .duet-table-action-row {
|
|
342
326
|
& td:last-child {
|
|
343
327
|
justify-self: end;
|
|
@@ -389,10 +373,6 @@ duet-table {
|
|
|
389
373
|
}
|
|
390
374
|
}
|
|
391
375
|
|
|
392
|
-
&.duet-theme-turva td span.duet-table-cell-heading {
|
|
393
|
-
color: ${colorSecondaryTurva};
|
|
394
|
-
}
|
|
395
|
-
|
|
396
376
|
tbody td,
|
|
397
377
|
tbody th,
|
|
398
378
|
tfoot td {
|
|
@@ -432,10 +412,6 @@ duet-table {
|
|
|
432
412
|
thead th {
|
|
433
413
|
border-bottom: 1px solid ${colorGrayLight};
|
|
434
414
|
}
|
|
435
|
-
|
|
436
|
-
&.duet-theme-turva thead th {
|
|
437
|
-
border-bottom-color: ${colorGrayLightTurva};
|
|
438
|
-
}
|
|
439
415
|
}
|
|
440
416
|
|
|
441
417
|
tbody:not(:first-of-type) th {
|
|
@@ -446,26 +422,14 @@ duet-table {
|
|
|
446
422
|
background: rgba(4, 81, 128, 0.04);
|
|
447
423
|
}
|
|
448
424
|
|
|
449
|
-
&.duet-theme-turva tbody:only-of-type tr:nth-of-type(odd) {
|
|
450
|
-
background: rgba(${rgbable(colorSecondaryTurva)}, 0.04);
|
|
451
|
-
}
|
|
452
|
-
|
|
453
425
|
tbody:not(:only-of-type) tr:nth-of-type(even) {
|
|
454
426
|
background: rgba(4, 81, 128, 0.04);
|
|
455
427
|
}
|
|
456
428
|
|
|
457
|
-
&.duet-theme-turva tbody:not(:only-of-type) tr:nth-of-type(even) {
|
|
458
|
-
background: rgba(${rgbable(colorSecondaryTurva)}, 0.04);
|
|
459
|
-
}
|
|
460
|
-
|
|
461
429
|
tfoot td {
|
|
462
430
|
border-top: 1px solid ${colorGrayLight};
|
|
463
431
|
}
|
|
464
432
|
|
|
465
|
-
&.duet-theme-turva tfoot td {
|
|
466
|
-
border-top-color: ${colorGrayLightTurva};
|
|
467
|
-
}
|
|
468
|
-
|
|
469
433
|
&.duet-table-flattened {
|
|
470
434
|
tbody:not(:first-of-type) th {
|
|
471
435
|
padding-top: ${spaceLarge} !important;
|
|
@@ -484,10 +448,6 @@ duet-table {
|
|
|
484
448
|
border-top: 1px solid ${colorGrayLight};
|
|
485
449
|
}
|
|
486
450
|
}
|
|
487
|
-
|
|
488
|
-
&.duet-theme-turva tfoot tr {
|
|
489
|
-
border-top-color: ${colorGrayLightTurva};
|
|
490
|
-
}
|
|
491
451
|
}
|
|
492
452
|
}
|
|
493
453
|
|
|
@@ -505,19 +465,13 @@ duet-table {
|
|
|
505
465
|
}
|
|
506
466
|
}
|
|
507
467
|
|
|
508
|
-
|
|
509
|
-
border-bottom-color: ${colorGrayDarkerTurva};
|
|
510
|
-
}
|
|
468
|
+
|
|
511
469
|
|
|
512
470
|
tbody th {
|
|
513
471
|
padding-top: calc(${spaceLarge} * 2) !important;
|
|
514
472
|
border-bottom-color: ${colorGrayLight};
|
|
515
473
|
}
|
|
516
474
|
|
|
517
|
-
&.duet-theme-turva tbody th {
|
|
518
|
-
border-bottom-color: ${colorGrayLightTurva};
|
|
519
|
-
}
|
|
520
|
-
|
|
521
475
|
td {
|
|
522
476
|
padding: ${spaceMedium} !important;
|
|
523
477
|
|
|
@@ -534,10 +488,6 @@ duet-table {
|
|
|
534
488
|
border-bottom: 1px solid ${colorGrayLight};
|
|
535
489
|
}
|
|
536
490
|
|
|
537
|
-
&.duet-theme-turva tbody td {
|
|
538
|
-
border-bottom-color: ${colorGrayLightTurva};
|
|
539
|
-
}
|
|
540
|
-
|
|
541
491
|
&.duet-table-flattened {
|
|
542
492
|
tbody:first-of-type th {
|
|
543
493
|
padding-top: 0 !important;
|
|
@@ -572,10 +522,6 @@ duet-table {
|
|
|
572
522
|
tbody tr {
|
|
573
523
|
border-bottom: 1px solid ${colorGrayLight};
|
|
574
524
|
}
|
|
575
|
-
|
|
576
|
-
&.duet-theme-turva tbody tr {
|
|
577
|
-
border-bottom-color: ${colorGrayLightTurva};
|
|
578
|
-
}
|
|
579
525
|
}
|
|
580
526
|
}
|
|
581
527
|
|
|
@@ -605,10 +551,6 @@ duet-table {
|
|
|
605
551
|
tfoot {
|
|
606
552
|
border-top: 1px solid ${colorGrayLight};
|
|
607
553
|
}
|
|
608
|
-
|
|
609
|
-
&.duet-theme-turva tfoot {
|
|
610
|
-
border-top-color: ${colorGrayLightTurva};
|
|
611
|
-
}
|
|
612
554
|
}
|
|
613
555
|
}
|
|
614
556
|
|
|
@@ -639,10 +581,6 @@ duet-table {
|
|
|
639
581
|
tfoot {
|
|
640
582
|
border-top: 1px solid ${colorGrayLight};
|
|
641
583
|
}
|
|
642
|
-
|
|
643
|
-
&.duet-theme-turva tfoot {
|
|
644
|
-
border-top-color: ${colorGrayLightTurva};
|
|
645
|
-
}
|
|
646
584
|
}
|
|
647
585
|
}
|
|
648
586
|
.duet-table-scrollable {
|
|
@@ -657,10 +595,6 @@ duet-table {
|
|
|
657
595
|
|
|
658
596
|
.duet-table-selected-column {
|
|
659
597
|
background: rgba(${rgbable(colorPrimary)}, 0.08);
|
|
660
|
-
|
|
661
|
-
.duet-theme-turva & {
|
|
662
|
-
background: rgba(${rgbable(colorGrayDarkerTurva)}, 0.08);
|
|
663
|
-
}
|
|
664
598
|
}
|
|
665
599
|
|
|
666
600
|
.duet-table-sortable {
|
|
@@ -673,10 +607,6 @@ duet-table {
|
|
|
673
607
|
tfoot {
|
|
674
608
|
border-top: 1px solid ${colorGrayLight};
|
|
675
609
|
}
|
|
676
|
-
|
|
677
|
-
&.duet-theme-turva tfoot {
|
|
678
|
-
border-top-color: ${colorGrayLightTurva};
|
|
679
|
-
}
|
|
680
610
|
}
|
|
681
611
|
}
|
|
682
612
|
|
|
@@ -720,66 +650,92 @@ duet-table {
|
|
|
720
650
|
grid-column: 2;
|
|
721
651
|
}
|
|
722
652
|
}
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
duet-table.duet-theme-turva table {
|
|
656
|
+
font-family: ${fontFamilyTextTurva};
|
|
657
|
+
}
|
|
723
658
|
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
}
|
|
659
|
+
duet-table.duet-theme-turva td {
|
|
660
|
+
color: ${colorTurvaGray900};
|
|
661
|
+
}
|
|
728
662
|
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
663
|
+
duet-table.duet-theme-turva th {
|
|
664
|
+
color: ${colorGrayDarkTurva};
|
|
665
|
+
}
|
|
732
666
|
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
border-bottom-color: $color-turva-nude-100;
|
|
737
|
-
}
|
|
738
|
-
}
|
|
667
|
+
duet-table.duet-theme-turva tbody th {
|
|
668
|
+
color: ${colorTurvaGray900};
|
|
669
|
+
}
|
|
739
670
|
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
671
|
+
duet-table.duet-theme-turva td span.duet-table-cell-heading {
|
|
672
|
+
color: ${colorSecondaryTurva};
|
|
673
|
+
}
|
|
743
674
|
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
675
|
+
duet-table.duet-table-striped.duet-theme-turva.duet-table-sticky thead {
|
|
676
|
+
th,
|
|
677
|
+
td {
|
|
678
|
+
border-bottom-color: ${colorGrayLightTurva};
|
|
679
|
+
}
|
|
680
|
+
}
|
|
747
681
|
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
682
|
+
duet-table.duet-table-striped.duet-theme-turva tbody:only-of-type tr:nth-of-type(odd) {
|
|
683
|
+
background: rgba(${rgbable(colorTurvaGray900)}, 0.04);
|
|
684
|
+
}
|
|
751
685
|
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
686
|
+
duet-table.duet-table-striped.duet-theme-turva tbody:not(:only-of-type) tr:nth-of-type(even) {
|
|
687
|
+
background: rgba(${rgbable(colorTurvaGray900)}, 0.04);
|
|
688
|
+
}
|
|
755
689
|
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
border-bottom-color: $color-turva-nude-100;
|
|
760
|
-
}
|
|
761
|
-
}
|
|
690
|
+
duet-table.duet-table-striped.duet-theme-turva tfoot td {
|
|
691
|
+
border-top-color: ${colorGrayLightTurva};
|
|
692
|
+
}
|
|
762
693
|
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
694
|
+
duet-table.duet-table-striped.duet-table-flattened.duet-theme-turva tfoot tr {
|
|
695
|
+
border-top-color: ${colorGrayLightTurva};
|
|
696
|
+
}
|
|
766
697
|
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
698
|
+
duet-table.duet-table-plain.duet-theme-turva tbody {
|
|
699
|
+
th,
|
|
700
|
+
td {
|
|
701
|
+
border-bottom-color: ${colorGrayLightTurva};
|
|
702
|
+
}
|
|
703
|
+
}
|
|
770
704
|
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
705
|
+
duet-table.duet-table-plain.duet-theme-turva tbody td {
|
|
706
|
+
border-bottom-color: ${colorGrayLightTurva};
|
|
707
|
+
}
|
|
774
708
|
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
709
|
+
duet-theme-turva.duet-table-plain th, duet-theme-turva.duet-table-fixed th, duet-theme-turva.duet-table-minimal th {
|
|
710
|
+
border-bottom-color: ${colorGrayDarkerTurva};
|
|
711
|
+
}
|
|
778
712
|
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
713
|
+
duet-theme-turva.duet-table-plain tbody th, duet-theme-turva.duet-table-fixed tbody th, duet-theme-turva.duet-table-minimal tbody th {
|
|
714
|
+
border-bottom-color: ${colorGrayLightTurva};
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
.duet-table-flattened.duet-table-plain.duet-theme-turva tbody tr {
|
|
718
|
+
border-bottom-color: ${colorGrayLightTurva};
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
.duet-theme-turva .duet-table-selected-column {
|
|
722
|
+
background: rgba(${rgbable(colorGrayDarkerTurva)}, 0.08);
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
duet-table.duet-table-plain.duet-table-flattened.duet-theme-turva tbody tr {
|
|
726
|
+
border-bottom-color: ${colorGrayLightTurva};
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
duet-table.duet-table-minimal.duet-table-flattened.duet-theme-turva tfoot {
|
|
730
|
+
border-top-color: ${colorGrayLightTurva};
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
duet-table.duet-table-fixed.duet-theme-turva:not(.duet-table-flattened) tfoot {
|
|
734
|
+
border-top-color: ${colorGrayLightTurva};
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
duet-table.duet-table-sortable.duet-theme-turva:not(.duet-table-flattened) tfoot {
|
|
738
|
+
border-top-color: ${colorGrayLightTurva};
|
|
783
739
|
}
|
|
784
740
|
`.replace(/[\n\r\t]/gm, "");
|
|
785
741
|
function createStyles(element) {
|
|
@@ -926,7 +882,7 @@ const DuetTable = class {
|
|
|
926
882
|
});
|
|
927
883
|
}
|
|
928
884
|
render() {
|
|
929
|
-
return (h(Host, { key: '
|
|
885
|
+
return (h(Host, { key: 'a1dd7fa3685f9dba8b9e5dca8a0fd24c14431658', class: {
|
|
930
886
|
[`duet-table-${this.variation}`]: true,
|
|
931
887
|
"duet-table-flattened": !this.matchesBreakpoint,
|
|
932
888
|
// sticky only valid when in regular table layout
|
|
@@ -935,7 +891,7 @@ const DuetTable = class {
|
|
|
935
891
|
"duet-m-0": this.margin === "none",
|
|
936
892
|
"duet-theme-turva": this.theme === "turva",
|
|
937
893
|
"duet-table-hide-head-visually": this.hideHeadVisually,
|
|
938
|
-
} }, h("slot", { key: '
|
|
894
|
+
} }, h("slot", { key: '3f4f49a2dc93f99278caa0089c0305a7049817e6' })));
|
|
939
895
|
}
|
|
940
896
|
get element() { return getElement(this); }
|
|
941
897
|
static get watchers() { return {
|
|
@@ -2193,10 +2149,10 @@ const DuetUpload = class {
|
|
|
2193
2149
|
this.externalUploadButton.accessibleLabel = `${this.externalUploadButton.innerText}. ${caption}`;
|
|
2194
2150
|
}
|
|
2195
2151
|
// @ts-ignore
|
|
2196
|
-
return (h(Host, { key: '
|
|
2152
|
+
return (h(Host, { key: 'dc222a10613a05aa4d56526accf4f20d09a85524', class: { "duet-m-0": this.margin === "none" } }, h("duet-fieldset", { key: 'afd3bbefc25846e30ea0a4a3dd6fef490cfce55d', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label }, h("slot", { key: '9927e358eb190f2023f863d4de2306390d71fc8b', name: "header" }), !this.files.size && (h("duet-empty-state", { key: '843385b600508604aeed2894ae0d13134c4726d0', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, h("duet-paragraph", { key: 'c75ef6ac779000de5dee49f7793a01dcad735808', margin: "none" }, this.fileListEmpty))), !!this.files.size && h("slot", { key: 'f9756746a31507f1dca930bdf7fea75ccf2c577b', name: "fileheader" }), !!this.files.size && (h("duet-upload-aria-status", { key: 'b88ca83dcc669708410ac4ff2ab95c171909bcfd', invalid: this.getFilesAsArray().invalid.length, valid: this.getFilesAsArray().valid.length, inprogress: this.filesInProgress.size, total: this.files.size, statusMessageLabel: this.internalStatusMessageLabel })), !!this.files.size && this.renderUploadedItems(), !!this.files.size && h("slot", { key: 'cf7410f30e64f19d7dfc05848cae516c3c4c4998', name: "filefooter" }), h("slot", { key: '3d6ae7f015427bc576b46bcbad37ad21c75c5cff', name: "uploadfooter" }), this.captionOnBottom && (h("duet-caption", { key: 'd9839e2f61e00879f0fe4d804b76884eb3a3c426', margin: "none", size: "small" }, h("div", { key: '0793e849c010f2611e8c30fc9a1adfd5739036ca', class: "upload-bottom-caption" }, caption))), h("slot", { key: 'aea1cf5e8be9c04cfe942a63b609304b89dbd3bf', name: "afterfooter" }), !this.hideButton && (h(Fragment, { key: '5bc3f7808057aecbe5a082aa960cfd0179a5ebb8' }, h("duet-spacer", { key: 'dea860e2657fdd9d826a56ed1cbd3c29c27a6566', size: "large" }), h("duet-button", { key: 'd2e2120f450bd44190d819bcc8b7d3193a2fd7f1', id: this.buttonId, onClick: this.startUpload, "accessible-controls": identifier, disabled: this.fileMaxReached, "accessible-label": this.accessibleButtonLabel || `${this.buttonLabel}. ${caption}`, "accessible-owns": identifier, size: "small", variation: "secondary", fixed: true, icon: "action-add-circle", part: this.identifier ? `${this.identifier}-button-upload` : "duet-upload-button-upload" }, this.buttonLabel))), (this.fileMaxReached ||
|
|
2197
2153
|
this.bytesMaxReached ||
|
|
2198
2154
|
this.filesToUploadExceedsLimit ||
|
|
2199
|
-
this.filesToUploadTotalSizeIsAboveMax) && (h(Fragment, { key: '
|
|
2155
|
+
this.filesToUploadTotalSizeIsAboveMax) && (h(Fragment, { key: 'fcf6947ea9fd60eb05745627ea9bcfdc0a186ae2' }, h("duet-spacer", { key: '0d8d15f15c9dcecb7749d481e29073be66c1e77f', size: "medium" }), h("duet-alert", { key: '392a1d62012973d5e0b730a58ad3d97c48db3256', part: this.identifier ? `${this.identifier}-error-notification` : "duet-upload-error-notification" }, this.fileMaxReached && getI18nError("duet-upload-301", this.errorCodes), this.bytesMaxReached && getI18nError("duet-upload-202", this.errorCodes), this.filesToUploadExceedsLimit && getI18nError("duet-upload-302", this.errorCodes), this.filesToUploadTotalSizeIsAboveMax && getI18nError("duet-upload-203", this.errorCodes)))), h("duet-visually-hidden", { key: 'ecf1098f5d21721d322bc382ff218b2b374e907a', "aria-hidden": "true" }, h("input", { key: 'd47f7522e739d1bda7407882e7ceda5f3e416b3d', ref: input => {
|
|
2200
2156
|
this.nativeInput = input;
|
|
2201
2157
|
}, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
|
|
2202
2158
|
"duet-upload": true,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
5
|
-
import { i as inheritGlobalTheme } from './themeable-component-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-DrqQiRTn.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './themeable-component-BLql61nC.js';
|
|
6
6
|
|
|
7
|
-
const duetEmptyStateCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:block;width:100%;height:100%}.duet-empty-state{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;width:100%;height:100%;padding:48px;color:rgb(8, 42, 77);text-align:center;background:rgb(245, 248, 250);border-radius:4px}.duet-empty-state.duet-theme-turva{color:rgb(23, 42, 59);background:rgb(245, 246, 247)}
|
|
7
|
+
const duetEmptyStateCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:block;width:100%;height:100%}.duet-empty-state{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;width:100%;height:100%;padding:48px;color:rgb(8, 42, 77);text-align:center;background:rgb(245, 248, 250);border-radius:4px}.duet-empty-state.duet-theme-turva{color:rgb(23, 42, 59);background:rgb(245, 246, 247)}";
|
|
8
8
|
|
|
9
9
|
const DuetEmptyState = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -33,11 +33,11 @@ const DuetEmptyState = class {
|
|
|
33
33
|
* Always the last one in the class.
|
|
34
34
|
*/
|
|
35
35
|
render() {
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: '9018087936c4abe5adead5d4fe62991ea84b3dc1' }, h("div", { key: 'a0aa84fb06673f4d741891019a98fd7d4f03b174', class: {
|
|
37
37
|
"duet-empty-state": true,
|
|
38
38
|
"duet-theme-turva": this.theme === "turva",
|
|
39
39
|
"duet-is-small": this.size === "small",
|
|
40
|
-
} }, h("duet-icon", { key: '
|
|
40
|
+
} }, h("duet-icon", { key: '8d9265fb0946a832c1c386b139b28b775ade9936', color: "currentColor", name: this.icon, size: this.size === "small" ? "large" : "x-large" }), h("div", { key: '87abfa72d165e96e3ca1798ab0023e13d540d757' }, h("slot", { key: 'fc437b4821cbc146906f8c33aa06d4718a0584b2' })))));
|
|
41
41
|
}
|
|
42
42
|
get element() { return getElement(this); }
|
|
43
43
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
5
|
-
import { i as inheritGlobalTheme } from './themeable-component-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-DrqQiRTn.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './themeable-component-BLql61nC.js';
|
|
6
6
|
import { c as createID } from './create-id-Cfr_DJqU.js';
|
|
7
|
-
import { h as hasSlot } from './slot-utils-
|
|
7
|
+
import { h as hasSlot } from './slot-utils-Dzrezpl3.js';
|
|
8
8
|
|
|
9
|
-
const duetFieldsetCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:12px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}fieldset{position:relative;width:100%;min-width:0;border:0}fieldset legend{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;border:0 !important;clip:rect(1px, 1px, 1px, 1px) !important}.duet-legend-wrapper{position:relative;display:block;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;font-weight:600;line-height:1.5;color:rgb(8, 42, 77);text-align:left;background:transparent}.duet-legend-wrapper.duet-legend-compact:not(.duet-legend-has-caption){line-height:1.25}.duet-
|
|
9
|
+
const duetFieldsetCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:12px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}fieldset{position:relative;width:100%;min-width:0;border:0}fieldset legend{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;border:0 !important;clip:rect(1px, 1px, 1px, 1px) !important}.duet-legend-wrapper{position:relative;display:block;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;font-weight:600;line-height:1.5;color:rgb(8, 42, 77);text-align:left;background:transparent}.duet-legend-wrapper.duet-legend-compact:not(.duet-legend-has-caption){line-height:1.25}.duet-fieldset-label{margin-bottom:12px !important;display:flex;margin-top:8px}.duet-legend-has-caption .duet-fieldset-label{margin-bottom:6px !important}@media (min-width: 48em){.duet-legend-has-tooltip.duet-legend-has-caption .duet-fieldset-label{margin-bottom:-3px !important}}.duet-fieldset-caption{margin-bottom:12px !important}.duet-fieldset-help{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(214, 28, 82);border-radius:4px}.duet-fieldset-help span{display:block;margin-top:12px}.duet-fieldset-help span.duet-m-0{margin-top:0}.duet-theme-turva .duet-fieldset-help{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(214, 28, 82)}::slotted(duet-tooltip){position:relative;top:4px}.duet-legend-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;border:0;clip:rect(0 0 0 0)}.duet-theme-turva .duet-legend-wrapper{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59)}.duet-theme-turva .duet-fieldset-help{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(214, 28, 82)}";
|
|
10
10
|
|
|
11
11
|
const DuetFieldset = class {
|
|
12
12
|
constructor(hostRef) {
|
|
@@ -75,20 +75,20 @@ const DuetFieldset = class {
|
|
|
75
75
|
* Always the last one in the class.
|
|
76
76
|
*/
|
|
77
77
|
render() {
|
|
78
|
-
return (h(Host, { key: '
|
|
78
|
+
return (h(Host, { key: '150ed749bb02f820ab14416d153e67cea52dc29e', class: { "duet-m-0": this.margin === "none" } }, h("fieldset", { key: '17055f020b42050cfc12e5954edaac9c6658788e', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
|
|
79
79
|
// NVDA and VoiceOver do not yet support aria-errormessage
|
|
80
80
|
// once they do, we can remove errors from the aria-describedby
|
|
81
81
|
// aria-errormessage={this.error ? this.errorId : null}
|
|
82
82
|
class: {
|
|
83
83
|
"duet-fieldset": true,
|
|
84
84
|
"duet-theme-turva": this.theme === "turva",
|
|
85
|
-
} }, h("legend", { key: '
|
|
85
|
+
} }, h("legend", { key: '1cf7a2d88bbcea640fe06e19ce4b2d633be56c3b', id: this.labelId }, h(this.labelHeadingLevel, { key: 'aec7db3663b9cc1c1ac2205ab103c708c56a0573' }, this.label), this.caption && h("span", { key: '849cec9875e1713b0c53ee81ffdcb33b501a78b1' }, this.caption)), h("div", { key: '319c243237ed47fe584e7498514a3f392d9b8b19', class: {
|
|
86
86
|
"duet-legend-wrapper": true,
|
|
87
87
|
"duet-legend-has-caption": !!this.caption,
|
|
88
88
|
"duet-legend-has-tooltip": this.hasTooltip,
|
|
89
89
|
"duet-legend-hidden": this.labelHidden,
|
|
90
90
|
"duet-legend-compact": this.compactLabel,
|
|
91
|
-
} }, h("div", { key: '
|
|
91
|
+
} }, h("div", { key: 'c69484583f6027412eb7d50a33af3db48a4b9755', class: "duet-fieldset-label" }, h("span", { key: 'b8df8f29e780738665c0a054399d1d1f97f5e7ea', "aria-hidden": "true" }, this.label), h("slot", { key: '18d94da36179d4ba5b78c3ed6ac83f41d401c067', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (h("div", { key: '5ceb8c432f19ab8b18d04ce12f6463e563a7459a', class: "duet-fieldset-caption", "aria-hidden": "true" }, h("duet-caption", { key: 'c6f433f3e47f2e2fdedcbc158d169ab6bea4a0a0', theme: this.theme, margin: "none" }, this.caption)))), h("slot", { key: 'b8a61deb6211c5abbc806d2762088fcedb936873' }), h("span", { key: 'a6c68e7ef61365792b92fc6ef7290d3b3a3cdd65', class: "duet-fieldset-help duet-fieldset-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: '4fea45e086a99437a8f7ddc0e1617a3a6046beed', class: { "duet-m-0": this.lastItemIsChip } }, this.error)))));
|
|
92
92
|
}
|
|
93
93
|
get element() { return getElement(this); }
|
|
94
94
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
5
|
-
import { i as inheritGlobalTheme } from './themeable-component-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-DrqQiRTn.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './themeable-component-BLql61nC.js';
|
|
6
6
|
|
|
7
7
|
const duetFileChooserCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}.container{display:flex;flex-direction:row;gap:8px;align-items:center}.container .label{margin-bottom:8px}";
|
|
8
8
|
|
|
@@ -53,7 +53,7 @@ const DuetUploadItem = class {
|
|
|
53
53
|
inheritGlobalTheme(this);
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: '4990de1bf699e3f0daea24f507a9b9e252b11d9a' }, h("duet-visually-hidden", { key: '0a226f6f53a8da89230e81df8be61a2413c44af1', "aria-hidden": "true" }, h("input", { key: 'a8a8e3bfc73847a74ea8dc8dff0da0c16d510e15', ref: input => {
|
|
57
57
|
this.nativeInput = input;
|
|
58
58
|
}, type: "file", class: {
|
|
59
59
|
"duet-upload": true,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent$1, h, F as Fragment, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent$1, h, F as Fragment, g as getElement } from './index-DrqQiRTn.js';
|
|
5
5
|
import { n as newWindowIcon } from './action-new-window-small-EH8_HdAm.js';
|
|
6
6
|
import { a as DuetStringsExternalDefaults } from './common-strings-8RjiAqaE.js';
|
|
7
|
-
import { i as inheritGlobalTheme } from './themeable-component-
|
|
7
|
+
import { i as inheritGlobalTheme } from './themeable-component-BLql61nC.js';
|
|
8
8
|
import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './keyboard-utils-Db8rvjPI.js';
|
|
9
|
-
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-
|
|
10
|
-
import { h as hasSlot } from './slot-utils-
|
|
9
|
+
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-BEG0cFmw.js';
|
|
10
|
+
import { h as hasSlot } from './slot-utils-Dzrezpl3.js';
|
|
11
11
|
import { p as parsePossibleJSON } from './string-utils-C6E9F6QT.js';
|
|
12
12
|
import './_commonjsHelpers-DvwKrUS6.js';
|
|
13
13
|
|
|
14
|
-
const duetFooterCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:block;flex-shrink:0;width:100%}::slotted([slot=info]){padding:0 28px;margin-top:0;margin-bottom:16px}@media (min-width: 62em){::slotted([slot=info]){padding:0;margin-top:calc(20px - 0.5em);margin-bottom:0}}.duet-footer{display:block;width:100%;padding-top:24px;padding-bottom:16px;margin-top:48px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(255, 255, 255);text-align:left;background:rgb(8, 42, 77)}.duet-footer.duet-p-0{padding:0 !important}.duet-footer.duet-m-0{margin:0 !important}@media (min-width: 62em){.duet-footer{padding-top:48px;padding-bottom:36px}}.duet-footer
|
|
14
|
+
const duetFooterCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:block;flex-shrink:0;width:100%}::slotted([slot=info]){padding:0 28px;margin-top:0;margin-bottom:16px}@media (min-width: 62em){::slotted([slot=info]){padding:0;margin-top:calc(20px - 0.5em);margin-bottom:0}}.duet-footer{display:block;width:100%;padding-top:24px;padding-bottom:16px;margin-top:48px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(255, 255, 255);text-align:left;background:rgb(8, 42, 77)}.duet-footer.duet-p-0{padding:0 !important}.duet-footer.duet-m-0{margin:0 !important}@media (min-width: 62em){.duet-footer{padding-top:48px;padding-bottom:36px}}.duet-footer a{color:rgb(255, 255, 255);text-decoration:none}.duet-footer a:focus{outline:0}:host(.user-is-tabbing) .duet-footer a:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva :host(.user-is-tabbing) .duet-footer a:focus,:host(.user-is-tabbing) .duet-footer a:focus.duet-theme-turva{outline-color:rgba(53, 79, 101, 0.8)}@media (min-width: 62em){.duet-footer a{border-radius:4px}}.duet-footer-wrapper{position:relative;margin:0 auto}@media (min-width: 62em){.duet-footer-wrapper{padding:0 72px 0 48px}}@media (min-width: 76.25em){.duet-footer-wrapper{max-width:1110px;padding:0 20px 0 0}}.duet-footer-top{width:100%}@media (min-width: 62em){.duet-footer-top{display:flex;flex-direction:row;align-items:center}.duet-footer-top.duet-has-info{align-items:flex-start}}.duet-footer-top .footer-top-logo{flex-grow:1}.duet-footer-top .footer-top-right-container{flex-grow:1}@media (min-width: 62em){.duet-footer-top .footer-top-right-container{text-align:right}}.duet-footer-top .footer-top-items{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding-left:28px}@media (min-width: 62em){.duet-footer-top .footer-top-items{flex-direction:row;justify-content:flex-end}}duet-logo{margin-bottom:24px;margin-left:16px !important}@media (min-width: 62em){duet-logo{margin-bottom:0;margin-left:0 !important}}.duet-footer-link{padding:16px !important;display:flex;flex-direction:row;align-items:center;width:100%;font-weight:600;border-bottom:1px solid rgba(255, 255, 255, 0.2);transition:background-color 300ms ease}@media (min-width: 36em){.duet-footer-link{padding-right:20px !important;padding-left:28px !important}}@media (min-width: 62em){.duet-footer-link{width:auto;min-width:0;padding-right:0 !important;padding-left:0 !important;border:0}}.duet-footer-link:first-of-type{margin-top:20px;border-top:1px solid rgba(255, 255, 255, 0.2)}@media (min-width: 62em){.duet-footer-link:first-of-type{margin:0;border:0}}.duet-footer-link span{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.duet-footer-link:hover{background:rgba(0, 0, 0, 0.1)}@media (min-width: 62em){.duet-footer-link:hover{background:transparent}}.duet-footer-menu{padding:20px !important;display:flex;gap:2rem;padding-left:28px !important;font-size:0.875rem}@media (min-width: 36em){.duet-footer-menu{padding:28px !important}}@media (min-width: 62em){.duet-footer-menu{padding-right:0 !important;padding-left:8px !important}}.duet-footer-menu a{display:inline-block;overflow-wrap:break-word;text-decoration:none}.duet-footer-menu a:hover,.duet-footer-menu a:focus{text-decoration:underline}.duet-footer-menu a:hover .duet-footer-divider,.duet-footer-menu a:focus .duet-footer-divider{text-decoration:none}.duet-footer-menu .duet-footer-divider{display:inline-block;margin:0 8px}.duet-footer-menu .duet-footer-divider-copyright{display:none}.duet-footer-menu .duet-footer-menu-links{display:block;flex:1}@media (min-width: 62em){.duet-footer-menu .duet-footer-menu-links{text-align:right}}.duet-footer-menu a:last-of-type .duet-footer-divider{display:none}.duet-footer-copyright{display:none;font-size:0.875rem;color:rgb(255, 255, 255)}@media (min-width: 62em){.duet-footer-copyright{display:inline}}.duet-footer-copyright.duet-footer-copyright-mobile{display:block;padding-top:0.5rem;padding-bottom:1.25rem;padding-left:28px;text-align:left}@media (min-width: 62em){.duet-footer-copyright.duet-footer-copyright-mobile{display:none}}.duet-footer-simple{padding:0;margin:0;margin-top:16px;color:rgb(8, 42, 77);background:transparent !important;border-top:1px solid rgb(212, 223, 229)}.duet-footer-simple .duet-footer-wrapper{max-width:100%;padding:0 20px;margin:0}@media (min-width: 62em){.duet-footer-simple .duet-footer-wrapper{padding:0 36px}}@media (min-width: 106.25em){.duet-footer-simple .duet-footer-wrapper{padding:0 48px}}.duet-footer-simple .duet-footer-copyright,.duet-footer-simple .duet-footer-menu a{color:rgb(8, 42, 77)}.duet-footer-simple .duet-footer-menu{padding:20px 0 !important}.duet-footer-simple .duet-footer-copyright-mobile{padding-left:0}.duet-footer-simple.duet-theme-turva{color:rgb(23, 42, 59);border-color:rgb(212, 221, 226)}.duet-footer-simple.duet-theme-turva .duet-footer-copyright,.duet-footer-simple.duet-theme-turva .duet-footer-menu a{color:rgb(23, 42, 59)}.duet-footer-external{display:inline-block;margin-left:4px;color:rgb(0, 119, 179)}.duet-footer.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";background:rgb(230, 23, 64)}.duet-footer-simple.duet-theme-turva{color:rgb(23, 42, 59);border-color:rgb(212, 221, 226)}.duet-footer-simple.duet-theme-turva .duet-footer-copyright,.duet-footer-simple.duet-theme-turva .duet-footer-menu a{color:rgb(23, 42, 59)}.duet-footer-simple.duet-theme-turva .duet-footer-external{color:rgb(230, 23, 64)}.duet-theme-turva .duet-footer-external{color:rgb(255, 255, 255)}.duet-theme-turva duet-logo{margin-left:28px !important}@media (min-width: 62em){.duet-theme-turva duet-logo{margin-left:0 !important}}@media (min-width: 62em){.duet-theme-turva ::slotted([slot=info]){margin-top:4px}}";
|
|
15
15
|
|
|
16
16
|
const i18n = {
|
|
17
17
|
fi: { lahi: "© LähiTapiola", turva: "© Turva" },
|
|
@@ -165,16 +165,16 @@ const DuetFooter = class {
|
|
|
165
165
|
render() {
|
|
166
166
|
const text = getLocaleString(i18n, this.language);
|
|
167
167
|
const copyrightLabel = this.theme === "turva" ? text.turva : text.lahi;
|
|
168
|
-
return (h("footer", { key: '
|
|
168
|
+
return (h("footer", { key: 'cded4930f82ba556fe630d4295e351cbbb2082e2', class: {
|
|
169
169
|
"duet-footer": true,
|
|
170
170
|
"duet-m-0": this.margin === "none",
|
|
171
171
|
"duet-theme-turva": this.theme === "turva",
|
|
172
172
|
"duet-footer-simple": this.variation === "simple",
|
|
173
|
-
}, "aria-label": this.accessibleLabel }, h("div", { key: '
|
|
173
|
+
}, "aria-label": this.accessibleLabel }, h("div", { key: '937096c43e34404c84fa15418efd41c5692f6ac1', class: "duet-footer-wrapper" }, this.variation !== "simple" && (h("div", { key: '865c6932f382aba543ca23c1bd4ab5aab4885b0a', class: {
|
|
174
174
|
"duet-footer-top": true,
|
|
175
175
|
"duet-has-info": this.hasInfoSlot,
|
|
176
|
-
}, part: "top" }, h("div", { key: '
|
|
177
|
-
this.processedItems.map((item, index) => (h(Fragment, null, index > 0 && h("duet-spacer", { size: "x-large", direction: "horizontal" }), h("duet-button", { ref: element => this.setDataAttributes(element, item), theme: this.theme, id: item.id, class: "duet-footer-link", variation: "plain", margin: "none", fixed: true, negative: true, url: item.href, external: item.external, icon: this.getTopItemButtonIcon(item), "icon-right": !this.isMessagingLink(item.href), "icon-size": this.isMessagingLink(item.href) ? "medium" : "medium-small", onClick: event => this.handleItemClick(event, item), onMouseEnter: event => this.emitDuetEvent(event, item), onTouchStart: event => this.emitDuetEvent(event, item) }, item.label)))))))), h("slot", { key: '
|
|
176
|
+
}, part: "top" }, h("div", { key: '5a4e9f746ddacca61409f6d398474e142ddffe81', class: "footer-top-logo" }, h("duet-logo", { key: '9a80fbca3c693fdc4a659b4644b0de9ed23c6773', href: this.logoHref, onClick: this.handleLogoClick, size: "large", inverse: true, language: this.language, theme: this.theme })), h("div", { key: 'ca9651a3a6c65b51931f237bc81d6f95fe779134', class: "footer-top-right-container" }, h("slot", { key: '7c84d38abbbc5618d311e8ef263a4a1aef8ae2b7', name: "info" }), h("div", { key: '488bde039351fbbf7618daaaa071b3420662e317', class: "footer-top-items" }, this.processedItems &&
|
|
177
|
+
this.processedItems.map((item, index) => (h(Fragment, null, index > 0 && h("duet-spacer", { size: "x-large", direction: "horizontal" }), h("duet-button", { ref: element => this.setDataAttributes(element, item), theme: this.theme, id: item.id, class: "duet-footer-link", variation: "plain", margin: "none", fixed: true, negative: true, url: item.href, external: item.external, icon: this.getTopItemButtonIcon(item), "icon-right": !this.isMessagingLink(item.href), "icon-size": this.isMessagingLink(item.href) ? "medium" : "medium-small", onClick: event => this.handleItemClick(event, item), onMouseEnter: event => this.emitDuetEvent(event, item), onTouchStart: event => this.emitDuetEvent(event, item) }, item.label)))))))), h("slot", { key: '33805ebcfc7766486807318270595db1deedbb24', name: "extra" }), h("p", { key: '90ac218478d2659b7f74bb370d8066fd7ef7cf1c', class: "duet-footer-menu", part: "menu" }, h("span", { key: '957a273602b782e88c3e4bd9ae639a68cfd8b966', class: "duet-footer-copyright" }, `${copyrightLabel} ${new Date().getFullYear()}`), h("span", { key: 'd96e17ca5743ed26b331ecd377b6210dcf3e5a2a', class: "duet-footer-menu-links" }, this.processedMenu && (h(Fragment, { key: 'b1495de197bbd8ab5a4ca4c0feddf656e4bfc0b3' }, this.processedMenu.map(item => (h("a", { ref: element => this.setDataAttributes(element, item), href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleMenuClick(event, item), onMouseEnter: event => this.emitDuetEvent(event, item), onTouchStart: event => this.emitDuetEvent(event, item) }, item.label, item.external && (h(Fragment, null, h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), h("span", { class: "duet-footer-external" }, h("duet-icon", { icon: newWindowIcon.svg, size: "xx-small", margin: "none", color: "currentColor" })))), h("span", { class: "duet-footer-divider", role: "presentation", "aria-hidden": "true" }, "/")))))))), h("p", { key: '8be41d3d9944acb6903a6f3caff06d6f8f9cd5cc', class: "duet-footer-copyright duet-footer-copyright-mobile" }, `${copyrightLabel} ${new Date().getFullYear()}`))));
|
|
178
178
|
}
|
|
179
179
|
get element() { return getElement(this); }
|
|
180
180
|
static get watchers() { return {
|