@scania/tegel 1.38.0 → 1.40.0-stencil-core-4.38.1-beta.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/dist/cjs/getAriaInvalid-Bdg4qUb_.js +25 -0
- package/dist/cjs/index-Cpz8G-hs.js +2379 -0
- package/dist/cjs/{inheritAriaAttributes-dedbbc57.js → inheritAriaAttributes-D_xFGssc.js} +1 -1
- package/dist/cjs/{isHeadingElement-4f06b688.js → isHeadingElement-DihKNeqS.js} +1 -1
- package/dist/cjs/loader.cjs.js +3 -6
- package/dist/cjs/tds-accordion-item.cjs.entry.js +10 -7
- package/dist/cjs/tds-accordion.cjs.entry.js +4 -5
- package/dist/cjs/tds-badge.cjs.entry.js +6 -5
- package/dist/cjs/tds-banner.cjs.entry.js +18 -14
- package/dist/cjs/tds-block.cjs.entry.js +4 -5
- package/dist/cjs/tds-body-cell.cjs.entry.js +5 -11
- package/dist/cjs/tds-breadcrumb.cjs.entry.js +3 -5
- package/dist/cjs/tds-breadcrumbs.cjs.entry.js +2 -6
- package/dist/cjs/tds-button_2.cjs.entry.js +93 -0
- package/dist/cjs/tds-card.cjs.entry.js +36 -20
- package/dist/cjs/tds-checkbox.cjs.entry.js +13 -15
- package/dist/cjs/tds-chip.cjs.entry.js +19 -16
- package/dist/cjs/tds-core-header-item_2.cjs.entry.js +11 -12
- package/dist/cjs/tds-datetime.cjs.entry.js +29 -25
- package/dist/cjs/tds-dropdown_2.cjs.entry.js +113 -73
- package/dist/cjs/tds-folder-tab.cjs.entry.js +5 -8
- package/dist/cjs/tds-folder-tabs.cjs.entry.js +15 -15
- package/dist/cjs/tds-footer-group.cjs.entry.js +8 -13
- package/dist/cjs/tds-footer-item.cjs.entry.js +3 -6
- package/dist/cjs/tds-footer.cjs.entry.js +7 -9
- package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +3 -6
- package/dist/cjs/tds-header-cell.cjs.entry.js +19 -23
- package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +7 -8
- package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +3 -10
- package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +6 -9
- package/dist/cjs/tds-header-dropdown.cjs.entry.js +12 -16
- package/dist/cjs/tds-header-hamburger.cjs.entry.js +5 -9
- package/dist/cjs/tds-header-launcher-button.cjs.entry.js +7 -9
- package/dist/cjs/tds-header-launcher-grid-item.cjs.entry.js +3 -6
- package/dist/cjs/tds-header-launcher-grid-title.cjs.entry.js +4 -7
- package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +5 -9
- package/dist/cjs/tds-header-launcher-list-item.cjs.entry.js +3 -6
- package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +4 -7
- package/dist/cjs/tds-header-launcher-list.cjs.entry.js +3 -5
- package/dist/cjs/tds-header-launcher.cjs.entry.js +8 -13
- package/dist/cjs/tds-header-title.cjs.entry.js +4 -7
- package/dist/cjs/tds-header.cjs.entry.js +5 -8
- package/dist/cjs/tds-icon.cjs.entry.js +11 -13
- package/dist/cjs/tds-inline-tab.cjs.entry.js +6 -8
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +17 -16
- package/dist/cjs/tds-link.cjs.entry.js +8 -8
- package/dist/cjs/tds-message.cjs.entry.js +16 -16
- package/dist/cjs/tds-modal.cjs.entry.js +20 -20
- package/dist/cjs/tds-navigation-tab.cjs.entry.js +6 -8
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +18 -17
- package/dist/cjs/tds-popover-canvas.cjs.entry.js +22 -13
- package/dist/cjs/tds-popover-core.cjs.entry.js +40 -36
- package/dist/cjs/tds-popover-menu-item.cjs.entry.js +5 -7
- package/dist/cjs/tds-popover-menu.cjs.entry.js +18 -13
- package/dist/cjs/tds-radio-button.cjs.entry.js +12 -15
- package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +5 -8
- package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +7 -12
- package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +6 -8
- package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +4 -7
- package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +8 -10
- package/dist/cjs/tds-side-menu-item.cjs.entry.js +9 -9
- package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +3 -6
- package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +5 -13
- package/dist/cjs/tds-side-menu-user.cjs.entry.js +3 -10
- package/dist/cjs/tds-side-menu.cjs.entry.js +15 -12
- package/dist/cjs/tds-slider.cjs.entry.js +78 -34
- package/dist/cjs/tds-spinner.cjs.entry.js +5 -6
- package/dist/cjs/tds-step.cjs.entry.js +4 -12
- package/dist/cjs/tds-stepper.cjs.entry.js +13 -6
- package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +4 -6
- package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +18 -14
- package/dist/cjs/tds-table-body-row.cjs.entry.js +7 -7
- package/dist/cjs/tds-table-body.cjs.entry.js +9 -13
- package/dist/cjs/tds-table-footer.cjs.entry.js +24 -20
- package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +4 -6
- package/dist/cjs/tds-table-header.cjs.entry.js +7 -8
- package/dist/cjs/tds-table-toolbar.cjs.entry.js +7 -7
- package/dist/cjs/tds-table.cjs.entry.js +21 -7
- package/dist/cjs/tds-tag.cjs.entry.js +6 -8
- package/dist/cjs/tds-text-field.cjs.entry.js +29 -17
- package/dist/cjs/tds-textarea.cjs.entry.js +20 -15
- package/dist/cjs/tds-toast.cjs.entry.js +20 -20
- package/dist/cjs/tds-toggle.cjs.entry.js +16 -17
- package/dist/cjs/tds-tooltip.cjs.entry.js +21 -19
- package/dist/cjs/tegel.cjs.js +7 -8
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/accordion/accordion-item/accordion-item.css +9 -30
- package/dist/collection/components/accordion/accordion-item/accordion-item.js +24 -6
- package/dist/collection/components/accordion/accordion.js +8 -2
- package/dist/collection/components/badge/badge.js +16 -4
- package/dist/collection/components/banner/banner.js +39 -18
- package/dist/collection/components/block/block.js +8 -2
- package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.js +4 -1
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +4 -5
- package/dist/collection/components/button/button.css +14 -14
- package/dist/collection/components/button/button.js +44 -19
- package/dist/collection/components/card/card.css +12 -0
- package/dist/collection/components/card/card.js +105 -26
- package/dist/collection/components/checkbox/checkbox.js +41 -22
- package/dist/collection/components/chip/chip.css +23 -15
- package/dist/collection/components/chip/chip.js +41 -19
- package/dist/collection/components/datetime/datetime.css +21 -96
- package/dist/collection/components/datetime/datetime.js +77 -38
- package/dist/collection/components/divider/divider.js +9 -3
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.css +1 -1
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +46 -23
- package/dist/collection/components/dropdown/dropdown.js +141 -69
- package/dist/collection/components/footer/footer-group/footer-group.js +13 -11
- package/dist/collection/components/footer/footer-item/footer-item.js +1 -1
- package/dist/collection/components/footer/footer.js +7 -4
- package/dist/collection/components/header/core-header-item/core-header-item.js +1 -1
- package/dist/collection/components/header/header-brand-symbol/header-brand-symbol.js +1 -1
- package/dist/collection/components/header/header-dropdown/header-dropdown.css +5 -0
- package/dist/collection/components/header/header-dropdown/header-dropdown.js +22 -15
- package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +5 -3
- package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.css +5 -3
- package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.js +10 -4
- package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.js +17 -15
- package/dist/collection/components/header/header-hamburger/header-hamburger.js +5 -6
- package/dist/collection/components/header/header-item/header-item.css +15 -8
- package/dist/collection/components/header/header-item/header-item.js +11 -4
- package/dist/collection/components/header/header-launcher/header-launcher.js +7 -7
- package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +10 -5
- package/dist/collection/components/header/header-launcher-grid/header-launcher-grid.js +1 -4
- package/dist/collection/components/header/header-launcher-grid-item/header-launcher-grid-item.js +1 -1
- package/dist/collection/components/header/header-launcher-grid-title/header-launcher-grid-title.js +1 -1
- package/dist/collection/components/header/header-launcher-list/header-launcher-list.js +1 -1
- package/dist/collection/components/header/header-launcher-list-item/header-launcher-list-item.js +1 -1
- package/dist/collection/components/header/header-launcher-list-title/header-launcher-list-title.js +1 -1
- package/dist/collection/components/header/header-title/header-title.css +2 -0
- package/dist/collection/components/header/header-title/header-title.js +1 -1
- package/dist/collection/components/header/header.js +1 -1
- package/dist/collection/components/icon/icon.js +27 -16
- package/dist/collection/components/link/link.css +13 -15
- package/dist/collection/components/link/link.js +14 -5
- package/dist/collection/components/message/message.css +9 -9
- package/dist/collection/components/message/message.js +35 -18
- package/dist/collection/components/modal/modal.js +46 -25
- package/dist/collection/components/popover-canvas/popover-canvas.css +1 -1
- package/dist/collection/components/popover-canvas/popover-canvas.js +71 -24
- package/dist/collection/components/popover-core/popover-core.js +61 -30
- package/dist/collection/components/popover-menu/popover-menu-item/popover-menu-item.js +6 -3
- package/dist/collection/components/popover-menu/popover-menu.js +46 -18
- package/dist/collection/components/radio-button/radio-button.js +37 -21
- package/dist/collection/components/side-menu/side-menu-close-button/side-menu-close-button.js +1 -1
- package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +5 -7
- package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +19 -10
- package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.js +2 -2
- package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.css +84 -5
- package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +6 -3
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.css +82 -5
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +11 -4
- package/dist/collection/components/side-menu/side-menu-overlay/side-menu-overlay.js +1 -1
- package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +17 -15
- package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +9 -9
- package/dist/collection/components/side-menu/side-menu-user-label/side-menu-user-label.js +9 -9
- package/dist/collection/components/side-menu/side-menu.js +22 -10
- package/dist/collection/components/slider/slider.css +24 -28
- package/dist/collection/components/slider/slider.js +128 -45
- package/dist/collection/components/spinner/spinner.js +9 -3
- package/dist/collection/components/stepper/step/step.js +13 -12
- package/dist/collection/components/stepper/stepper.js +28 -6
- package/dist/collection/components/table/table/table.js +49 -12
- package/dist/collection/components/table/table-body/table-body.js +7 -8
- package/dist/collection/components/table/table-body-cell/table-body-cell.js +18 -13
- package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +5 -2
- package/dist/collection/components/table/table-body-row/table-body-row.js +14 -5
- package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +34 -15
- package/dist/collection/components/table/table-footer/table-footer.js +39 -20
- package/dist/collection/components/table/table-header/table-header.js +18 -8
- package/dist/collection/components/table/table-header-cell/table-header-cell.js +41 -28
- package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +8 -3
- package/dist/collection/components/table/table-toolbar/table-toolbar.js +14 -5
- package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +6 -4
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +29 -16
- package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.css +11 -12
- package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +6 -3
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.css +9 -2
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +33 -17
- package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.css +1 -1
- package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +6 -3
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +35 -19
- package/dist/collection/components/tag/tag.js +13 -6
- package/dist/collection/components/text-field/text-field.js +129 -36
- package/dist/collection/components/textarea/textarea.js +73 -31
- package/dist/collection/components/toast/toast.css +7 -7
- package/dist/collection/components/toast/toast.js +45 -24
- package/dist/collection/components/toggle/toggle.js +40 -22
- package/dist/collection/components/tooltip/tooltip.js +53 -26
- package/dist/collection/utils/dom.js +7 -0
- package/dist/collection/utils/getAriaInvalid.js +21 -0
- package/dist/components/index.js +1790 -1
- package/dist/components/{p-df84759a.js → p-B569z5eW.js} +29 -15
- package/dist/components/{p-6adb1ce3.js → p-BHBgkUfr.js} +15 -11
- package/dist/components/{p-9ad61cb5.js → p-BhLq7lgx.js} +8 -7
- package/dist/components/{p-94bfc9f4.js → p-BiyghEA7.js} +78 -56
- package/dist/components/{p-ea381f94.js → p-BxmFjTxG.js} +14 -10
- package/dist/components/{p-927cf777.js → p-CMsPXG7a.js} +8 -9
- package/dist/components/{p-b390ece5.js → p-CPDv0bBc.js} +16 -14
- package/dist/components/{p-44f5b5e1.js → p-Ca3wGDna.js} +18 -16
- package/dist/components/p-ChCWm6If.js +95 -0
- package/dist/components/{p-859e3ebf.js → p-CuIyaNyT.js} +1 -1
- package/dist/components/{p-63437b77.js → p-D1ati-pM.js} +14 -12
- package/dist/components/{p-40253725.js → p-DnzQe_HU.js} +27 -21
- package/dist/components/{p-b609e7a7.js → p-DuxH3vDC.js} +8 -9
- package/dist/components/{p-d64878cb.js → p-Ee9QeMgy.js} +53 -28
- package/dist/components/{p-6eecf159.js → p-FqP1yGh_.js} +10 -7
- package/dist/components/{p-71c3dfe9.js → p-HRj1DOvh.js} +12 -9
- package/dist/components/p-Ip9G3co9.js +205 -0
- package/dist/components/{p-0bd4c19c.js → p-Q3W78DlP.js} +1 -1
- package/dist/components/{p-d0cf68be.js → p-QnvG_QPu.js} +10 -9
- package/dist/components/{p-d3866be7.js → p-X1sPx4t5.js} +45 -37
- package/dist/components/p-wEP_nEaO.js +23 -0
- package/dist/components/tds-accordion-item.js +16 -9
- package/dist/components/tds-accordion.js +9 -6
- package/dist/components/tds-badge.js +11 -6
- package/dist/components/tds-banner.js +24 -16
- package/dist/components/tds-block.js +9 -6
- package/dist/components/tds-body-cell.js +10 -12
- package/dist/components/tds-breadcrumb.js +8 -6
- package/dist/components/tds-breadcrumbs.js +7 -7
- package/dist/components/tds-button.js +1 -89
- package/dist/components/tds-card.js +58 -24
- package/dist/components/tds-checkbox.js +1 -1
- package/dist/components/tds-chip.js +24 -17
- package/dist/components/tds-core-header-item.js +1 -1
- package/dist/components/tds-datetime.js +35 -27
- package/dist/components/tds-divider.js +1 -1
- package/dist/components/tds-dropdown-option.js +1 -1
- package/dist/components/tds-dropdown.js +1 -1
- package/dist/components/tds-folder-tab.js +10 -9
- package/dist/components/tds-folder-tabs.js +21 -17
- package/dist/components/tds-footer-group.js +14 -15
- package/dist/components/tds-footer-item.js +8 -7
- package/dist/components/tds-footer.js +12 -10
- package/dist/components/tds-header-brand-symbol.js +10 -9
- package/dist/components/tds-header-cell.js +25 -25
- package/dist/components/tds-header-dropdown-list-item.js +1 -1
- package/dist/components/tds-header-dropdown-list-user.js +8 -11
- package/dist/components/tds-header-dropdown-list.js +1 -1
- package/dist/components/tds-header-dropdown.js +22 -22
- package/dist/components/tds-header-hamburger.js +12 -12
- package/dist/components/tds-header-item.js +1 -1
- package/dist/components/tds-header-launcher-button.js +1 -1
- package/dist/components/tds-header-launcher-grid-item.js +8 -7
- package/dist/components/tds-header-launcher-grid-title.js +9 -8
- package/dist/components/tds-header-launcher-grid.js +9 -9
- package/dist/components/tds-header-launcher-list-item.js +9 -8
- package/dist/components/tds-header-launcher-list-title.js +9 -8
- package/dist/components/tds-header-launcher-list.js +9 -7
- package/dist/components/tds-header-launcher.js +18 -19
- package/dist/components/tds-header-title.js +9 -8
- package/dist/components/tds-header.js +9 -8
- package/dist/components/tds-icon.js +1 -1
- package/dist/components/tds-inline-tab.js +11 -9
- package/dist/components/tds-inline-tabs.js +23 -18
- package/dist/components/tds-link.js +13 -9
- package/dist/components/tds-message.js +22 -18
- package/dist/components/tds-modal.js +26 -22
- package/dist/components/tds-navigation-tab.js +11 -9
- package/dist/components/tds-navigation-tabs.js +24 -19
- package/dist/components/tds-popover-canvas.js +1 -1
- package/dist/components/tds-popover-core.js +1 -1
- package/dist/components/tds-popover-menu-item.js +10 -8
- package/dist/components/tds-popover-menu.js +24 -15
- package/dist/components/tds-radio-button.js +17 -16
- package/dist/components/tds-side-menu-close-button.js +10 -9
- package/dist/components/tds-side-menu-collapse-button.js +13 -14
- package/dist/components/tds-side-menu-dropdown-list-item.js +11 -9
- package/dist/components/tds-side-menu-dropdown-list.js +9 -8
- package/dist/components/tds-side-menu-dropdown.js +15 -13
- package/dist/components/tds-side-menu-item.js +1 -1
- package/dist/components/tds-side-menu-overlay.js +8 -7
- package/dist/components/tds-side-menu-user-image.js +1 -1
- package/dist/components/tds-side-menu-user-label.js +1 -1
- package/dist/components/tds-side-menu-user.js +10 -13
- package/dist/components/tds-side-menu.js +20 -13
- package/dist/components/tds-slider.js +103 -37
- package/dist/components/tds-spinner.js +10 -7
- package/dist/components/tds-step.js +10 -14
- package/dist/components/tds-stepper.js +18 -7
- package/dist/components/tds-table-body-input-wrapper.js +10 -8
- package/dist/components/tds-table-body-row-expandable.js +23 -15
- package/dist/components/tds-table-body-row.js +13 -9
- package/dist/components/tds-table-body.js +14 -14
- package/dist/components/tds-table-footer.js +33 -25
- package/dist/components/tds-table-header-input-wrapper.js +10 -8
- package/dist/components/tds-table-header.js +13 -10
- package/dist/components/tds-table-toolbar.js +13 -9
- package/dist/components/tds-table.js +26 -8
- package/dist/components/tds-tag.js +11 -9
- package/dist/components/tds-text-field.js +1 -185
- package/dist/components/tds-textarea.js +28 -19
- package/dist/components/tds-toast.js +26 -22
- package/dist/components/tds-toggle.js +21 -18
- package/dist/components/tds-tooltip.js +1 -1
- package/dist/esm/getAriaInvalid-wEP_nEaO.js +23 -0
- package/dist/esm/index-Cl9XBhQW.js +2350 -0
- package/dist/esm/{inheritAriaAttributes-04f2f252.js → inheritAriaAttributes-DyLhgCIg.js} +1 -1
- package/dist/esm/{isHeadingElement-8efea284.js → isHeadingElement-BQco7VNg.js} +1 -1
- package/dist/esm/loader.js +3 -4
- package/dist/esm/tds-accordion-item.entry.js +10 -5
- package/dist/esm/tds-accordion.entry.js +4 -3
- package/dist/esm/tds-badge.entry.js +6 -3
- package/dist/esm/tds-banner.entry.js +18 -12
- package/dist/esm/tds-block.entry.js +4 -3
- package/dist/esm/tds-body-cell.entry.js +5 -9
- package/dist/esm/tds-breadcrumb.entry.js +3 -3
- package/dist/esm/tds-breadcrumbs.entry.js +2 -4
- package/dist/esm/tds-button_2.entry.js +90 -0
- package/dist/esm/tds-card.entry.js +36 -18
- package/dist/esm/tds-checkbox.entry.js +13 -13
- package/dist/esm/tds-chip.entry.js +19 -14
- package/dist/esm/tds-core-header-item_2.entry.js +11 -10
- package/dist/esm/tds-datetime.entry.js +29 -23
- package/dist/esm/tds-dropdown_2.entry.js +113 -71
- package/dist/esm/tds-folder-tab.entry.js +5 -6
- package/dist/esm/tds-folder-tabs.entry.js +15 -13
- package/dist/esm/tds-footer-group.entry.js +8 -11
- package/dist/esm/tds-footer-item.entry.js +3 -4
- package/dist/esm/tds-footer.entry.js +7 -7
- package/dist/esm/tds-header-brand-symbol.entry.js +3 -4
- package/dist/esm/tds-header-cell.entry.js +19 -21
- package/dist/esm/tds-header-dropdown-list-item.entry.js +7 -6
- package/dist/esm/tds-header-dropdown-list-user.entry.js +3 -8
- package/dist/esm/tds-header-dropdown-list.entry.js +6 -7
- package/dist/esm/tds-header-dropdown.entry.js +12 -14
- package/dist/esm/tds-header-hamburger.entry.js +5 -7
- package/dist/esm/tds-header-launcher-button.entry.js +7 -7
- package/dist/esm/tds-header-launcher-grid-item.entry.js +3 -4
- package/dist/esm/tds-header-launcher-grid-title.entry.js +4 -5
- package/dist/esm/tds-header-launcher-grid.entry.js +5 -7
- package/dist/esm/tds-header-launcher-list-item.entry.js +3 -4
- package/dist/esm/tds-header-launcher-list-title.entry.js +4 -5
- package/dist/esm/tds-header-launcher-list.entry.js +3 -3
- package/dist/esm/tds-header-launcher.entry.js +8 -11
- package/dist/esm/tds-header-title.entry.js +4 -5
- package/dist/esm/tds-header.entry.js +5 -6
- package/dist/esm/tds-icon.entry.js +11 -11
- package/dist/esm/tds-inline-tab.entry.js +6 -6
- package/dist/esm/tds-inline-tabs.entry.js +17 -14
- package/dist/esm/tds-link.entry.js +8 -6
- package/dist/esm/tds-message.entry.js +16 -14
- package/dist/esm/tds-modal.entry.js +20 -18
- package/dist/esm/tds-navigation-tab.entry.js +6 -6
- package/dist/esm/tds-navigation-tabs.entry.js +18 -15
- package/dist/esm/tds-popover-canvas.entry.js +22 -11
- package/dist/esm/tds-popover-core.entry.js +40 -34
- package/dist/esm/tds-popover-menu-item.entry.js +5 -5
- package/dist/esm/tds-popover-menu.entry.js +18 -11
- package/dist/esm/tds-radio-button.entry.js +12 -13
- package/dist/esm/tds-side-menu-close-button.entry.js +5 -6
- package/dist/esm/tds-side-menu-collapse-button.entry.js +7 -10
- package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +6 -6
- package/dist/esm/tds-side-menu-dropdown-list.entry.js +4 -5
- package/dist/esm/tds-side-menu-dropdown.entry.js +8 -8
- package/dist/esm/tds-side-menu-item.entry.js +9 -7
- package/dist/esm/tds-side-menu-overlay.entry.js +3 -4
- package/dist/esm/tds-side-menu-user-image_2.entry.js +5 -11
- package/dist/esm/tds-side-menu-user.entry.js +3 -8
- package/dist/esm/tds-side-menu.entry.js +15 -10
- package/dist/esm/tds-slider.entry.js +78 -32
- package/dist/esm/tds-spinner.entry.js +5 -4
- package/dist/esm/tds-step.entry.js +4 -10
- package/dist/esm/tds-stepper.entry.js +13 -4
- package/dist/esm/tds-table-body-input-wrapper.entry.js +4 -4
- package/dist/esm/tds-table-body-row-expandable.entry.js +18 -12
- package/dist/esm/tds-table-body-row.entry.js +7 -5
- package/dist/esm/tds-table-body.entry.js +9 -11
- package/dist/esm/tds-table-footer.entry.js +24 -18
- package/dist/esm/tds-table-header-input-wrapper.entry.js +4 -4
- package/dist/esm/tds-table-header.entry.js +7 -6
- package/dist/esm/tds-table-toolbar.entry.js +7 -5
- package/dist/esm/tds-table.entry.js +21 -5
- package/dist/esm/tds-tag.entry.js +6 -6
- package/dist/esm/tds-text-field.entry.js +29 -15
- package/dist/esm/tds-textarea.entry.js +20 -13
- package/dist/esm/tds-toast.entry.js +20 -18
- package/dist/esm/tds-toggle.entry.js +16 -15
- package/dist/esm/tds-tooltip.entry.js +21 -17
- package/dist/esm/tegel.js +5 -5
- package/dist/tegel/{p-6e57997e.entry.js → p-03d1456f.entry.js} +1 -1
- package/dist/tegel/p-07c5665c.entry.js +1 -0
- package/dist/tegel/p-08d8a464.entry.js +1 -0
- package/dist/tegel/{p-b734b309.entry.js → p-0a3bd804.entry.js} +1 -1
- package/dist/tegel/{p-72006dd7.entry.js → p-0ab44df9.entry.js} +1 -1
- package/dist/tegel/p-0e8721cf.entry.js +1 -0
- package/dist/tegel/p-1371f357.entry.js +1 -0
- package/dist/tegel/p-147d2c33.entry.js +1 -0
- package/dist/tegel/p-250a843a.entry.js +1 -0
- package/dist/tegel/p-2b89b750.entry.js +1 -0
- package/dist/tegel/p-2c5e101e.entry.js +1 -0
- package/dist/tegel/p-2ebac517.entry.js +1 -0
- package/dist/tegel/p-36ea4775.entry.js +1 -0
- package/dist/tegel/p-37873e68.entry.js +1 -0
- package/dist/tegel/p-37aa4516.entry.js +1 -0
- package/dist/tegel/p-3910b9e0.entry.js +1 -0
- package/dist/tegel/p-39f80d1b.entry.js +1 -0
- package/dist/tegel/{p-3022d31d.entry.js → p-3c409856.entry.js} +1 -1
- package/dist/tegel/p-3e1edb21.entry.js +1 -0
- package/dist/tegel/p-3e27eee0.entry.js +1 -0
- package/dist/tegel/p-3f0c978a.entry.js +1 -0
- package/dist/tegel/p-41fa3671.entry.js +1 -0
- package/dist/tegel/{p-bcdf13e0.entry.js → p-449e8c13.entry.js} +1 -1
- package/dist/tegel/p-4b711300.entry.js +1 -0
- package/dist/tegel/p-4ebf13bf.entry.js +1 -0
- package/dist/tegel/{p-525c81b1.entry.js → p-57def79e.entry.js} +1 -1
- package/dist/tegel/p-599ae54d.entry.js +1 -0
- package/dist/tegel/{p-650b98bf.entry.js → p-59a1c10f.entry.js} +1 -1
- package/dist/tegel/p-5d64b236.entry.js +1 -0
- package/dist/tegel/p-6066b5be.entry.js +1 -0
- package/dist/tegel/p-620b157a.entry.js +1 -0
- package/dist/tegel/p-624a8ca4.entry.js +1 -0
- package/dist/tegel/p-628798d4.entry.js +1 -0
- package/dist/tegel/p-63646981.entry.js +1 -0
- package/dist/tegel/p-69bf3133.entry.js +1 -0
- package/dist/tegel/{p-d0f09796.entry.js → p-6cad127c.entry.js} +1 -1
- package/dist/tegel/p-6d3447b7.entry.js +1 -0
- package/dist/tegel/p-71943f32.entry.js +1 -0
- package/dist/tegel/p-7ba0b456.entry.js +1 -0
- package/dist/tegel/p-802e8d8a.entry.js +1 -0
- package/dist/tegel/p-80be1071.entry.js +1 -0
- package/dist/tegel/p-8501b0d7.entry.js +1 -0
- package/dist/tegel/{p-87219f00.entry.js → p-8ad8234f.entry.js} +1 -1
- package/dist/tegel/p-8d4d136f.entry.js +1 -0
- package/dist/tegel/{p-db38b4f2.entry.js → p-8d98759c.entry.js} +1 -1
- package/dist/tegel/p-902183d7.entry.js +1 -0
- package/dist/tegel/p-936d77e4.entry.js +1 -0
- package/dist/tegel/p-942df5c4.entry.js +1 -0
- package/dist/tegel/{p-fbffe3aa.entry.js → p-99f46fe1.entry.js} +1 -1
- package/dist/tegel/p-9b7ad650.entry.js +1 -0
- package/dist/tegel/{p-3a92d554.entry.js → p-9c62f888.entry.js} +1 -1
- package/dist/tegel/p-9f25060e.entry.js +1 -0
- package/dist/tegel/{p-9332c225.js → p-Bx66i7RU.js} +1 -1
- package/dist/tegel/p-Cl9XBhQW.js +2 -0
- package/dist/tegel/{p-0bd4c19c.js → p-Q3W78DlP.js} +1 -1
- package/dist/tegel/p-a08baed5.entry.js +1 -0
- package/dist/tegel/p-a30159f5.entry.js +1 -0
- package/dist/tegel/{p-c7b0253c.entry.js → p-a3ef627e.entry.js} +1 -1
- package/dist/tegel/{p-bb1d069f.entry.js → p-a595dba7.entry.js} +1 -1
- package/dist/tegel/p-aaacbe31.entry.js +1 -0
- package/dist/tegel/p-b0f44fd9.entry.js +1 -0
- package/dist/tegel/p-b2bfe0fb.entry.js +1 -0
- package/dist/tegel/{p-eff87481.entry.js → p-b4df0131.entry.js} +1 -1
- package/dist/tegel/p-b509c734.entry.js +1 -0
- package/dist/tegel/{p-0cfe8671.entry.js → p-b82a11bf.entry.js} +1 -1
- package/dist/tegel/p-bbea0ac6.entry.js +1 -0
- package/dist/tegel/p-c0114238.entry.js +1 -0
- package/dist/tegel/p-c578be27.entry.js +1 -0
- package/dist/tegel/p-d5041602.entry.js +1 -0
- package/dist/tegel/p-dfd5a301.entry.js +1 -0
- package/dist/tegel/{p-5dd2aac8.entry.js → p-e22a2a9b.entry.js} +1 -1
- package/dist/tegel/p-e25343d7.entry.js +1 -0
- package/dist/tegel/p-e2ce7b37.entry.js +1 -0
- package/dist/tegel/p-e4d0d1cb.entry.js +1 -0
- package/dist/tegel/{p-bdc913a0.entry.js → p-e853d304.entry.js} +1 -1
- package/dist/tegel/p-eb479100.entry.js +1 -0
- package/dist/tegel/{p-3ec01fb3.entry.js → p-ec41cf1e.entry.js} +1 -1
- package/dist/tegel/p-ec60f391.entry.js +1 -0
- package/dist/tegel/p-ee227187.entry.js +1 -0
- package/dist/tegel/p-ee500e52.entry.js +1 -0
- package/dist/tegel/p-f42f851e.entry.js +1 -0
- package/dist/tegel/p-f6cf2d52.entry.js +1 -0
- package/dist/tegel/p-wEP_nEaO.js +1 -0
- package/dist/tegel/tegel.css +4 -4
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/card/card.d.ts +10 -0
- package/dist/types/components/dropdown/dropdown.d.ts +4 -0
- package/dist/types/components/popover-canvas/popover-canvas.d.ts +3 -1
- package/dist/types/components/slider/slider-stories-setup.d.ts +1 -1
- package/dist/types/components/slider/slider.d.ts +2 -0
- package/dist/types/components/table/table-body-input-wrapper/table-body-input-wrapper.d.ts +1 -1
- package/dist/types/components/text-field/text-field.d.ts +5 -1
- package/dist/types/components/textarea/textarea.d.ts +1 -0
- package/dist/types/components.d.ts +586 -4
- package/dist/types/stencil-public-runtime.d.ts +78 -5
- package/dist/types/utils/dom.d.ts +2 -0
- package/dist/types/utils/getAriaInvalid.d.ts +14 -0
- package/package.json +5 -3
- package/dist/cjs/app-globals-3a1e7e63.js +0 -5
- package/dist/cjs/index-ca8040ad.js +0 -2043
- package/dist/cjs/tds-button.cjs.entry.js +0 -67
- package/dist/cjs/tds-divider.cjs.entry.js +0 -31
- package/dist/components/p-28ef5186.js +0 -1507
- package/dist/esm/app-globals-0f993ce5.js +0 -3
- package/dist/esm/index-51d04e39.js +0 -2013
- package/dist/esm/tds-button.entry.js +0 -63
- package/dist/esm/tds-divider.entry.js +0 -27
- package/dist/tegel/p-06d3490c.entry.js +0 -1
- package/dist/tegel/p-08f63e5d.entry.js +0 -1
- package/dist/tegel/p-0cac9ea6.entry.js +0 -1
- package/dist/tegel/p-177386d5.entry.js +0 -1
- package/dist/tegel/p-1b471db7.entry.js +0 -1
- package/dist/tegel/p-1bbef1a5.entry.js +0 -1
- package/dist/tegel/p-1c75f8a7.entry.js +0 -1
- package/dist/tegel/p-2049fab2.js +0 -2
- package/dist/tegel/p-22b6223e.entry.js +0 -1
- package/dist/tegel/p-23fb4dee.entry.js +0 -1
- package/dist/tegel/p-25d026a6.entry.js +0 -1
- package/dist/tegel/p-25f4b4ca.entry.js +0 -1
- package/dist/tegel/p-27c2f109.entry.js +0 -1
- package/dist/tegel/p-303acf88.entry.js +0 -1
- package/dist/tegel/p-397c8969.entry.js +0 -1
- package/dist/tegel/p-3ebe93ff.entry.js +0 -1
- package/dist/tegel/p-462a6049.entry.js +0 -1
- package/dist/tegel/p-46c9af0f.entry.js +0 -1
- package/dist/tegel/p-49364819.entry.js +0 -1
- package/dist/tegel/p-4a77edf1.entry.js +0 -1
- package/dist/tegel/p-5734c6ef.entry.js +0 -1
- package/dist/tegel/p-5bca9fe7.entry.js +0 -1
- package/dist/tegel/p-5c077bb9.entry.js +0 -1
- package/dist/tegel/p-601a74ad.entry.js +0 -1
- package/dist/tegel/p-614bcd4b.entry.js +0 -1
- package/dist/tegel/p-61a1dc59.entry.js +0 -1
- package/dist/tegel/p-6a615ac1.entry.js +0 -1
- package/dist/tegel/p-7013249b.entry.js +0 -1
- package/dist/tegel/p-704682d6.entry.js +0 -1
- package/dist/tegel/p-7caad569.entry.js +0 -1
- package/dist/tegel/p-7cb9790d.entry.js +0 -1
- package/dist/tegel/p-7d427dff.entry.js +0 -1
- package/dist/tegel/p-84de314b.entry.js +0 -1
- package/dist/tegel/p-86e99fdb.entry.js +0 -1
- package/dist/tegel/p-8ae4e03c.entry.js +0 -1
- package/dist/tegel/p-8c2695af.entry.js +0 -1
- package/dist/tegel/p-9099d978.entry.js +0 -1
- package/dist/tegel/p-9b0c886e.entry.js +0 -1
- package/dist/tegel/p-9b2257f3.entry.js +0 -1
- package/dist/tegel/p-a0591e58.entry.js +0 -1
- package/dist/tegel/p-a6238890.entry.js +0 -1
- package/dist/tegel/p-a66a4a4e.entry.js +0 -1
- package/dist/tegel/p-a74cb560.entry.js +0 -1
- package/dist/tegel/p-a829417c.entry.js +0 -1
- package/dist/tegel/p-a98767ea.entry.js +0 -1
- package/dist/tegel/p-abad3489.entry.js +0 -1
- package/dist/tegel/p-ae438c2e.entry.js +0 -1
- package/dist/tegel/p-aec3e4cf.entry.js +0 -1
- package/dist/tegel/p-b20f250b.entry.js +0 -1
- package/dist/tegel/p-b2b9561f.entry.js +0 -1
- package/dist/tegel/p-b994e7ac.entry.js +0 -1
- package/dist/tegel/p-bb9445ff.entry.js +0 -1
- package/dist/tegel/p-bcd5e06d.entry.js +0 -1
- package/dist/tegel/p-bd935506.entry.js +0 -1
- package/dist/tegel/p-c15eba7d.entry.js +0 -1
- package/dist/tegel/p-cd5103e3.entry.js +0 -1
- package/dist/tegel/p-cf7af8f2.entry.js +0 -1
- package/dist/tegel/p-d184a3f0.entry.js +0 -1
- package/dist/tegel/p-debd6adc.entry.js +0 -1
- package/dist/tegel/p-e1255160.js +0 -1
- package/dist/tegel/p-f2232281.entry.js +0 -1
- package/dist/tegel/p-f4b5e80b.entry.js +0 -1
- package/dist/tegel/p-f9c17612.entry.js +0 -1
- package/loader/package.json +0 -11
- /package/dist/cjs/{dfs-84f7f63e.js → dfs-Clg9RCmq.js} +0 -0
- /package/dist/cjs/{generateUniqueId-e3fc9863.js → generateUniqueId-ComXTAM_.js} +0 -0
- /package/dist/cjs/{hasSlot-1c90e9ba.js → hasSlot-D-DVNhGg.js} +0 -0
- /package/dist/cjs/{inheritAttributes-ff9ad737.js → inheritAttributes-CGw91JfB.js} +0 -0
- /package/dist/components/{p-a1181b1f.js → p-CBZ6wC3m.js} +0 -0
- /package/dist/components/{p-3fe9cbbf.js → p-CF8bH08v.js} +0 -0
- /package/dist/components/{p-52bf0fdf.js → p-CLF3diNe.js} +0 -0
- /package/dist/components/{p-11648030.js → p-Cn4f8w1e.js} +0 -0
- /package/dist/components/{p-ae110fc2.js → p-DDX6uFcm.js} +0 -0
- /package/dist/esm/{dfs-1e574d5f.js → dfs-CLF3diNe.js} +0 -0
- /package/dist/esm/{generateUniqueId-7934d315.js → generateUniqueId-Cn4f8w1e.js} +0 -0
- /package/dist/esm/{hasSlot-d52114d0.js → hasSlot-DDX6uFcm.js} +0 -0
- /package/dist/esm/{inheritAttributes-d21e267b.js → inheritAttributes-CF8bH08v.js} +0 -0
- /package/dist/tegel/{p-3fe9cbbf.js → p-CF8bH08v.js} +0 -0
- /package/dist/tegel/{p-52bf0fdf.js → p-CLF3diNe.js} +0 -0
- /package/dist/tegel/{p-11648030.js → p-Cn4f8w1e.js} +0 -0
- /package/dist/tegel/{p-ae110fc2.js → p-DDX6uFcm.js} +0 -0
|
@@ -1,16 +1,23 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
var index = require('./index-Cpz8G-hs.js');
|
|
4
|
+
var generateUniqueId = require('./generateUniqueId-ComXTAM_.js');
|
|
4
5
|
|
|
5
|
-
const
|
|
6
|
-
const generateUniqueId = require('./generateUniqueId-e3fc9863.js');
|
|
7
|
-
|
|
8
|
-
const messageCss = ":host .wrapper{display:flex;padding:16px;background-color:var(--tds-message-background);border-radius:4px}:host .wrapper.information{border-left:4px solid var(--system-info-default)}:host .wrapper.information tds-icon{color:var(--system-info-default)}:host .wrapper.success{background-color:var(--tds-message-background-success);border-left:4px solid var(--system-success-default)}:host .wrapper.success tds-icon{color:var(--system-success-default)}:host .wrapper.error{background-color:var(--tds-message-background-error);border-left:4px solid var(--system-danger-default)}:host .wrapper.error tds-icon{color:var(--system-danger-default)}:host .wrapper.warning{background-color:var(--tds-message-background-warning);border-left:4px solid var(--system-warning-default)}:host .wrapper.warning tds-icon{color:var(--system-warning-default)}:host .wrapper.minimal{border:none;padding:0;background-color:transparent}:host .wrapper.minimal .header{font-family:var(--detail-02-font-family);font-size:var(--detail-02-font-size);line-height:var(--detail-02-line-height);font-weight:var(--detail-02-font-weight);letter-spacing:var(--detail-02-letter-spacing);text-transform:var(--detail-02-text-transform)}:host .wrapper.minimal.error .header{color:var(--system-danger-default)}:host tds-icon{padding-right:16px}:host .content{display:flex;flex-direction:column;gap:4px;color:var(--foreground-text-strong);padding:2px 0}:host .content .header{font-family:var(--headline-07-font-family);font-size:var(--headline-07-font-size);line-height:var(--headline-07-line-height);font-weight:var(--headline-07-font-weight);letter-spacing:var(--headline-07-letter-spacing);text-transform:var(--headline-07-text-transform)}:host .content .extended-message{color:var(--foreground-text-strong);font-family:var(--detail-02-font-family);font-size:var(--detail-02-font-size);line-height:var(--detail-02-line-height);font-weight:var(--detail-02-font-weight);letter-spacing:var(--detail-02-letter-spacing);text-transform:var(--detail-02-text-transform)}";
|
|
9
|
-
const TdsMessageStyle0 = messageCss;
|
|
6
|
+
const messageCss = ":host .wrapper{display:flex;padding:16px;background-color:var(--tds-message-background);border-radius:4px}:host .wrapper.information{border-left:4px solid var(--tds-message-border-info)}:host .wrapper.information tds-icon{color:var(--tds-message-icon-info)}:host .wrapper.success{background-color:var(--tds-message-background-success);border-left:4px solid var(--tds-message-border-success)}:host .wrapper.success tds-icon{color:var(--tds-message-icon-success)}:host .wrapper.error{background-color:var(--tds-message-background-error);border-left:4px solid var(--tds-message-border-error)}:host .wrapper.error tds-icon{color:var(--tds-message-icon-error)}:host .wrapper.warning{background-color:var(--tds-message-background-warning);border-left:4px solid var(--tds-message-border-warning)}:host .wrapper.warning tds-icon{color:var(--tds-message-icon-warning)}:host .wrapper.minimal{border:none;padding:0;background-color:transparent}:host .wrapper.minimal .header{font-family:var(--detail-02-font-family);font-size:var(--detail-02-font-size);line-height:var(--detail-02-line-height);font-weight:var(--detail-02-font-weight);letter-spacing:var(--detail-02-letter-spacing);text-transform:var(--detail-02-text-transform)}:host .wrapper.minimal.error .header{color:var(--tds-message-minimal-header-error)}:host tds-icon{padding-right:16px}:host .content{display:flex;flex-direction:column;gap:4px;color:var(--foreground-text-strong);padding:2px 0}:host .content .header{font-family:var(--headline-07-font-family);font-size:var(--headline-07-font-size);line-height:var(--headline-07-line-height);font-weight:var(--headline-07-font-weight);letter-spacing:var(--headline-07-letter-spacing);text-transform:var(--headline-07-text-transform)}:host .content .extended-message{color:var(--foreground-text-strong);font-family:var(--detail-02-font-family);font-size:var(--detail-02-font-size);line-height:var(--detail-02-line-height);font-weight:var(--detail-02-font-weight);letter-spacing:var(--detail-02-letter-spacing);text-transform:var(--detail-02-text-transform)}";
|
|
10
7
|
|
|
11
8
|
const TdsMessage = class {
|
|
12
9
|
constructor(hostRef) {
|
|
13
10
|
index.registerInstance(this, hostRef);
|
|
11
|
+
/** Variant of the component, based on current mode. */
|
|
12
|
+
this.modeVariant = null;
|
|
13
|
+
/** Variant of Message. */
|
|
14
|
+
this.variant = 'information';
|
|
15
|
+
/** Removes the icon in the Message. */
|
|
16
|
+
this.noIcon = false;
|
|
17
|
+
/** Minimal Message styling. */
|
|
18
|
+
this.minimal = false;
|
|
19
|
+
/** Role of the message component. Can be either 'alertdialog' for important messages that require immediate attention, or 'dialog' for regular messages. */
|
|
20
|
+
this.tdsAlertDialog = 'dialog';
|
|
14
21
|
this.getIconName = () => {
|
|
15
22
|
switch (this.variant) {
|
|
16
23
|
case 'information':
|
|
@@ -25,13 +32,6 @@ const TdsMessage = class {
|
|
|
25
32
|
return 'info';
|
|
26
33
|
}
|
|
27
34
|
};
|
|
28
|
-
this.header = undefined;
|
|
29
|
-
this.modeVariant = null;
|
|
30
|
-
this.variant = 'information';
|
|
31
|
-
this.noIcon = false;
|
|
32
|
-
this.minimal = false;
|
|
33
|
-
this.tdsAlertDialog = 'dialog';
|
|
34
|
-
this.tdsAriaLabel = undefined;
|
|
35
35
|
}
|
|
36
36
|
getAriaLabel() {
|
|
37
37
|
if (this.header) {
|
|
@@ -43,13 +43,13 @@ const TdsMessage = class {
|
|
|
43
43
|
render() {
|
|
44
44
|
const headerId = this.header ? `tds-message-header-${generateUniqueId.generateUniqueId()}` : undefined;
|
|
45
45
|
const contentId = !this.minimal ? `tds-message-content-${generateUniqueId.generateUniqueId()}` : undefined;
|
|
46
|
-
return (index.h(index.Host, { key: '
|
|
46
|
+
return (index.h(index.Host, { key: 'ac71829f0647270d499469049a833c282abca25d', role: this.tdsAlertDialog, "aria-describedby": contentId, "aria-label": this.getAriaLabel(), class: { [`tds-mode-variant-${this.modeVariant}`]: this.modeVariant !== null } }, index.h("div", { key: 'ae95905137e70a95e6013e643e43baec0c10792b', class: {
|
|
47
47
|
wrapper: true,
|
|
48
48
|
[this.variant]: true,
|
|
49
49
|
minimal: this.minimal,
|
|
50
|
-
} }, !this.noIcon && (index.h("tds-icon", { key: '
|
|
50
|
+
} }, !this.noIcon && (index.h("tds-icon", { key: 'ea830e6051ef9e0f751a1e8d5e24fbd17ad6ec58', "aria-hidden": "true", "aria-label": `${this.variant}`, svgTitle: `${this.variant}`, name: this.getIconName(), size: "20px" })), index.h("div", { key: 'c71e70d57147d9ac050e7a223ed097e58cb6a49e', class: `content` }, this.header && (index.h("div", { key: '1acded0a8f8522792f41a4331a2009a42cbf4894', class: "header", id: headerId }, this.header)), !this.minimal && (index.h("div", { key: '0aed7c6daf7892e6ac1d5b3f8715e7c9032b11a3', class: "extended-message", id: contentId }, index.h("slot", { key: '75898f0a957581dc2720667c3eaae6e17201d81c' })))))));
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
|
-
TdsMessage.style =
|
|
53
|
+
TdsMessage.style = messageCss;
|
|
54
54
|
|
|
55
55
|
exports.tds_message = TdsMessage;
|
|
@@ -1,19 +1,30 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const hasSlot = require('./hasSlot-1c90e9ba.js');
|
|
7
|
-
const generateUniqueId = require('./generateUniqueId-e3fc9863.js');
|
|
3
|
+
var index = require('./index-Cpz8G-hs.js');
|
|
4
|
+
var hasSlot = require('./hasSlot-D-DVNhGg.js');
|
|
5
|
+
var generateUniqueId = require('./generateUniqueId-ComXTAM_.js');
|
|
8
6
|
|
|
9
7
|
const modalCss = ".tds-modal{box-sizing:border-box;box-shadow:var(--tds-modal-box-shadow);background-color:var(--background-elevation-layer-02);margin:auto;position:relative;border-radius:var(--radius-narrow);max-height:85vh;overflow-y:auto;pointer-events:auto}.tds-modal *{box-sizing:border-box}.tds-modal::-webkit-scrollbar{width:6px;background-color:transparent}.tds-modal::-webkit-scrollbar-track{background-color:transparent}.tds-modal::-webkit-scrollbar-thumb{background-color:var(--foreground-elements-transparparent-discrete);border-radius:3px}.tds-modal__actions-sticky{overflow:hidden;display:flex;flex-direction:column}.tds-modal__actions-sticky .body{font-family:var(--body-01-font-family);font-size:var(--body-01-font-size);line-height:var(--body-01-line-height);font-weight:var(--body-01-font-weight);letter-spacing:var(--body-01-letter-spacing);text-transform:var(--body-01-text-transform);max-height:calc(85vh - 36px);overflow-y:auto}.tds-modal__actions-sticky slot[name=actions]{bottom:-1px;left:0;right:0;background-color:var(--background-elevation-layer-02);padding:24px 16px 16px;display:flex;gap:16px}.tds-modal__actions-static slot[name=actions]{background-color:var(--background-elevation-layer-02);display:flex;gap:16px;padding:24px 16px 16px}@media (min-width: 320px){.tds-modal-xs{width:100%}.tds-modal-sm{width:100%}.tds-modal-md{width:100%}.tds-modal-lg{width:100%}}@media (min-width: 672px){.tds-modal-xs{width:50%}.tds-modal-sm{width:62.5%}.tds-modal-md{width:75%}.tds-modal-lg{width:100%}}@media (min-width: 1056px){.tds-modal-xs{width:31.25%}.tds-modal-sm{width:43.75%}.tds-modal-md{width:62.5%}.tds-modal-lg{width:75%}}@media (min-width: 1312px){.tds-modal-xs{width:31.25%}.tds-modal-sm{width:37.5%}.tds-modal-md{width:62.5%}.tds-modal-lg{width:75%}}@media (min-width: 1584px){.tds-modal-xs{width:25%}.tds-modal-sm{width:37.5%}.tds-modal-md{width:50%}.tds-modal-lg{width:75%}}@media (max-width: 320px){.tds-modal-md,.tds-modal-lg,.tds-modal-sm{height:100%}.tds-modal-md slot[name=actions]::slotted(*),.tds-modal-lg slot[name=actions]::slotted(*),.tds-modal-sm slot[name=actions]::slotted(*){display:flex}}.header{display:flex;padding:16px;position:sticky;top:0;background-color:var(--background-elevation-layer-02);z-index:1}.header,slot[name=header]::slotted(*){font-family:var(--headline-05-font-family);font-size:var(--headline-05-font-size);line-height:var(--headline-05-line-height);font-weight:var(--headline-05-font-weight);letter-spacing:var(--headline-05-letter-spacing);text-transform:var(--headline-05-text-transform);color:var(--foreground-text-strong);margin:0;flex:1}.body{font-family:var(--body-01-font-family);font-size:var(--body-01-font-size);line-height:var(--body-01-line-height);font-weight:var(--body-01-font-weight);letter-spacing:var(--body-01-letter-spacing);text-transform:var(--body-01-text-transform);color:var(--foreground-text-strong);overflow-y:visible;padding:0 16px 16px}.body::-webkit-scrollbar{width:6px;background-color:transparent}.body::-webkit-scrollbar-track{background-color:transparent}.body::-webkit-scrollbar-thumb{background-color:var(--foreground-elements-transparparent-discrete);border-radius:3px}.tds-modal-backdrop{box-sizing:border-box;position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--tds-modal-backdrop-background);pointer-events:auto}.tds-modal-backdrop *{box-sizing:border-box}button.tds-modal-close{margin:0 0 auto auto;background-color:transparent;border:0;padding:0;appearance:unset}.tds-modal-close{display:inline-block;height:auto;color:var(--foreground-text-strong);cursor:pointer}.tds-modal-close:focus{outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}@media (min-width: 320px){.tds-modal-close{margin-left:16px}}@media (min-width: 1056px){.tds-modal-close{margin-left:48px}}.tds-modal-close-btn{display:inline-block;height:auto;background-repeat:no-repeat;cursor:pointer}@media (min-width: 320px){.tds-modal-close-btn{margin-left:16px}}@media (min-width: 1056px){.tds-modal-close-btn{margin-left:48px}}.tds-modal-close-btn svg{fill:var(--foreground-text-strong)}.tds-modal-overflow{overflow:hidden}:host{box-sizing:border-box;position:fixed;top:0;right:0;bottom:0;left:0;padding:0 16px;z-index:700;pointer-events:none}:host *{box-sizing:border-box}:host .tds-modal-close{border:none;background-color:transparent}:host .tds-modal-close-btn{border:none;background-color:transparent}@media (max-width: 320px){:host{padding:0}}:host.show{display:flex}:host.hide{display:none}:host(.show){display:flex}:host(.hide){display:none}";
|
|
10
|
-
const TdsModalStyle0 = modalCss;
|
|
11
8
|
|
|
12
9
|
const TdsModal = class {
|
|
13
10
|
constructor(hostRef) {
|
|
14
11
|
index.registerInstance(this, hostRef);
|
|
15
12
|
this.tdsClose = index.createEvent(this, "tdsClose", 7);
|
|
16
13
|
this.tdsOpen = index.createEvent(this, "tdsOpen", 7);
|
|
14
|
+
/** Disables closing Modal on clicking on overlay area. */
|
|
15
|
+
this.prevent = false;
|
|
16
|
+
/** Size of Modal */
|
|
17
|
+
this.size = 'md';
|
|
18
|
+
/** Changes the position behaviour of the actions slot. */
|
|
19
|
+
this.actionsPosition = 'static';
|
|
20
|
+
/** Shows or hides the close [X] button. */
|
|
21
|
+
this.closable = true;
|
|
22
|
+
/** Role of the modal component. Can be either 'alertdialog' for important messages that require immediate attention, or 'dialog' for regular messages. */
|
|
23
|
+
this.tdsAlertDialog = 'dialog';
|
|
24
|
+
// State that keeps track of show/closed state for the Modal.
|
|
25
|
+
this.isShown = false;
|
|
26
|
+
// Focus state index in focusable Elements
|
|
27
|
+
this.activeElementIndex = 0;
|
|
17
28
|
this.handleClose = (event) => {
|
|
18
29
|
const closeEvent = this.tdsClose.emit(event);
|
|
19
30
|
this.returnFocusOnClose();
|
|
@@ -62,17 +73,6 @@ const TdsModal = class {
|
|
|
62
73
|
referenceEl.addEventListener('click', this.handleReferenceElementClick);
|
|
63
74
|
}
|
|
64
75
|
};
|
|
65
|
-
this.header = undefined;
|
|
66
|
-
this.prevent = false;
|
|
67
|
-
this.size = 'md';
|
|
68
|
-
this.actionsPosition = 'static';
|
|
69
|
-
this.selector = undefined;
|
|
70
|
-
this.referenceEl = undefined;
|
|
71
|
-
this.show = undefined;
|
|
72
|
-
this.closable = true;
|
|
73
|
-
this.tdsAlertDialog = 'dialog';
|
|
74
|
-
this.isShown = false;
|
|
75
|
-
this.activeElementIndex = 0;
|
|
76
76
|
}
|
|
77
77
|
/** Shows the Modal. */
|
|
78
78
|
async showModal() {
|
|
@@ -211,13 +211,13 @@ const TdsModal = class {
|
|
|
211
211
|
const usesActionsSlot = hasSlot.hasSlot('actions', this.host);
|
|
212
212
|
const headerId = this.header ? `tds-modal-header-${generateUniqueId.generateUniqueId()}` : undefined;
|
|
213
213
|
const bodyId = `tds-modal-body-${generateUniqueId.generateUniqueId()}`;
|
|
214
|
-
return (index.h(index.Host, { key: '
|
|
214
|
+
return (index.h(index.Host, { key: '4a220f8d1156cd7ef30ba0f77e33f6b368a71c5d', role: this.tdsAlertDialog, "aria-modal": "true", "aria-describedby": bodyId, "aria-labelledby": headerId, class: {
|
|
215
215
|
show: this.isShown,
|
|
216
216
|
hide: !this.isShown,
|
|
217
|
-
}, onClick: (event) => this.handleOverlayClick(event) }, index.h("div", { key: '
|
|
217
|
+
}, onClick: (event) => this.handleOverlayClick(event) }, index.h("div", { key: '2129611789e7d9c1e32731f59100f75ff4e58800', class: "tds-modal-backdrop" }), index.h("div", { key: 'cce280887ce68ab5471cd939847c8f23703e6a11', class: `tds-modal tds-modal__actions-${this.actionsPosition} tds-modal-${this.size}` }, index.h("div", { key: '2629204523dff0d2afefab238514db74b9d1a93b', id: headerId, class: "header" }, this.header && index.h("div", { key: '040ddd22c7b782d77e07cc1ff4cd1fdf0d508cbe', class: "header-text" }, this.header), usesHeaderSlot && index.h("slot", { key: '7b15247fea7c3ab2986e453b98e7a7f9ccff943f', name: "header" }), this.closable && (index.h("button", { key: '67e09f9f95ad58e02c1f9adb9883af4a1c16f837', class: "tds-modal-close", "aria-label": "close", onClick: (event) => this.handleClose(event) }, index.h("tds-icon", { key: '52694db7eb7dc40ca2ea8aeb3e13611f899177a8', name: "cross", size: "20px" })))), index.h("div", { key: 'b7fedc44fae5a964399f6b63fad96acaba9263a1', id: bodyId, class: "body" }, index.h("slot", { key: 'd60cbee2a55a487f738aa9a741d8b1e0cb74484e', name: "body" })), usesActionsSlot && index.h("slot", { key: 'c969e1f820a4f4ecfab84fe3349eee0233710f05', name: "actions" }))));
|
|
218
218
|
}
|
|
219
219
|
get host() { return index.getElement(this); }
|
|
220
220
|
};
|
|
221
|
-
TdsModal.style =
|
|
221
|
+
TdsModal.style = modalCss;
|
|
222
222
|
|
|
223
223
|
exports.tds_modal = TdsModal;
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
var index = require('./index-Cpz8G-hs.js');
|
|
4
4
|
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
const navigationTabCss = ":host{box-sizing:border-box;display:block}:host *{box-sizing:border-box}:host ::slotted(*){all:unset;font:var(--tds-headline-07) !important;letter-spacing:var(--tds-headline-07-ls) !important;color:var(--tds-navigation-tabs-tab-color);text-decoration:none;display:block;position:relative;transition:color 0.15s ease-in-out 0s;white-space:nowrap;background-color:transparent;border:0;width:100%;padding:26px 0}:host ::slotted(*:focus-visible)::before{content:\"\";position:absolute;left:0;right:0;top:3px;bottom:3px;outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}:host .navigation-tab-item:not(.selected)::after{width:0%;transition:width 0.15s ease-in-out 0s}:host .navigation-tab-item{position:relative}:host .navigation-tab-item:hover{cursor:pointer}:host .navigation-tab-item:hover ::slotted(*){color:var(--tds-navigation-tabs-tab-color-hover)}:host .navigation-tab-item:hover::after{width:100%}:host .navigation-tab-item::after{content:\" \";position:absolute;bottom:0;right:0;left:0;margin-left:auto;width:0%;margin-right:auto;height:2px;background-color:var(--tds-navigation-tabs-tab-indicator-background-hover);z-index:1}:host .navigation-tab-item:focus-visible::after{bottom:3px}:host .selected ::slotted(*){color:var(--tds-navigation-tabs-tab-color-selected)}:host .selected::after{width:100%;background-color:var(--tds-navigation-tabs-tab-indicator-background-active)}:host .disabled ::slotted(*){color:var(--tds-navigation-tabs-tab-color-disabled)}:host .disabled::after{content:none}:host .disabled ::slotted(*:hover){cursor:not-allowed;color:var(--tds-navigation-tabs-tab-color-disabled)}:host .disabled ::slotted(*:focus-visible){outline:none}:host(.last){margin-right:32px}";
|
|
8
|
-
const TdsNavigationTabStyle0 = navigationTabCss;
|
|
5
|
+
const navigationTabCss = ":host{box-sizing:border-box;display:block}:host *{box-sizing:border-box}:host ::slotted(*){all:unset;font:var(--tds-headline-07) !important;letter-spacing:var(--tds-headline-07-ls) !important;color:var(--tds-navigation-tabs-tab-color);text-decoration:none;display:block;position:relative;transition:color 0.15s ease-in-out 0s;white-space:nowrap;background-color:transparent;border:0;width:100%;padding:26px 0}:host ::slotted(*:focus-visible)::before{content:\"\";position:absolute;left:0;right:0;top:3px;bottom:3px;outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}:host .navigation-tab-item:not(.selected)::after{width:0%;transition:width 0.15s ease-in-out 0s}:host .navigation-tab-item{position:relative}:host .navigation-tab-item:hover{cursor:pointer}:host .navigation-tab-item:hover ::slotted(*){color:var(--tds-navigation-tabs-tab-color-hover)}:host .navigation-tab-item:hover::after{width:100%}:host .navigation-tab-item::after{content:\" \";position:absolute;bottom:0;right:0;left:0;margin-left:auto;width:0%;margin-right:auto;height:2px;background-color:var(--tds-navigation-tabs-tab-indicator-background-hover);z-index:1}:host .navigation-tab-item:hover:focus-within::after{bottom:3px}:host .selected ::slotted(*){color:var(--tds-navigation-tabs-tab-color-selected)}:host .selected::after{width:100%;background-color:var(--tds-navigation-tabs-tab-indicator-background-active)}:host .disabled ::slotted(*){color:var(--tds-navigation-tabs-tab-color-disabled)}:host .disabled::after{content:none}:host .disabled ::slotted(*:hover){cursor:not-allowed;color:var(--tds-navigation-tabs-tab-color-disabled)}:host .disabled ::slotted(*:focus-visible){outline:none}:host(.last){margin-right:32px}";
|
|
9
6
|
|
|
10
7
|
const TdsNavigationTab = class {
|
|
11
8
|
constructor(hostRef) {
|
|
12
9
|
index.registerInstance(this, hostRef);
|
|
10
|
+
/** Disables the Tab. */
|
|
13
11
|
this.disabled = false;
|
|
14
12
|
this.selected = false;
|
|
15
13
|
}
|
|
@@ -36,11 +34,11 @@ const TdsNavigationTab = class {
|
|
|
36
34
|
}
|
|
37
35
|
}
|
|
38
36
|
render() {
|
|
39
|
-
return (index.h(index.Host, { key: '
|
|
40
|
-
${this.disabled ? 'disabled' : ''}` }, index.h("slot", { key: '
|
|
37
|
+
return (index.h(index.Host, { key: 'fe07e37cb49b89fcd4f84e09f0d281c058e2ef0f' }, index.h("div", { key: '243d283d090cae8d00cfafa15a95f099d9c7d2e8', class: `navigation-tab-item ${this.selected ? 'selected' : ''}
|
|
38
|
+
${this.disabled ? 'disabled' : ''}` }, index.h("slot", { key: '9824df7626af1bedbc17f98c0cfe305b9546f235' }))));
|
|
41
39
|
}
|
|
42
40
|
get host() { return index.getElement(this); }
|
|
43
41
|
};
|
|
44
|
-
TdsNavigationTab.style =
|
|
42
|
+
TdsNavigationTab.style = navigationTabCss;
|
|
45
43
|
|
|
46
44
|
exports.tds_navigation_tab = TdsNavigationTab;
|
|
@@ -1,16 +1,25 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const index = require('./index-ca8040ad.js');
|
|
3
|
+
var index = require('./index-Cpz8G-hs.js');
|
|
6
4
|
|
|
7
5
|
const navigationTabsCss = ":host{box-sizing:border-box;display:flex;background-color:var(--tds-navigation-tabs-background);position:relative}:host *{box-sizing:border-box}:host::after{content:\" \";display:block;border-bottom:1px solid var(--tds-navigation-tabs-horizontal-divider-background);left:0;right:0;bottom:0;position:absolute}:host .wrapper{display:flex;flex-wrap:nowrap;white-space:nowrap;width:100%;overflow-x:scroll;scrollbar-width:none;gap:16px}:host .wrapper::-webkit-scrollbar{display:none}:host .scroll-right-button{right:0;z-index:1}:host .scroll-left-button{left:0;z-index:1}:host .scroll-right-button,:host .scroll-left-button{color:var(--tds-folder-tabs-scroll-btn-color);cursor:pointer;border:0;width:0;background-color:var(--tds-inline-tabs-scroll-btn-background);display:none;justify-content:center;align-items:center;opacity:0;pointer-events:none;position:sticky}:host .scroll-right-button.show,:host .scroll-left-button.show{min-width:48px;display:block;opacity:1;pointer-events:all}:host .scroll-right-button:hover,:host .scroll-left-button:hover{background-color:var(--tds-folder-tabs-scroll-btn-background-hover)}:host .scroll-right-button:active,:host .scroll-left-button:active{background-color:var(--tds-folder-tabs-scroll-btn-background-active)}:host .scroll-right-button:focus::before,:host .scroll-left-button:focus::before{content:\"\";position:absolute;left:3px;right:3px;top:3px;bottom:3px;outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}:host .scroll-right-button:focus,:host .scroll-left-button:focus{outline:0}:host .scroll-right-button svg,:host .scroll-left-button svg{fill:var(--tds-folder-tabs-scroll-btn-color)}";
|
|
8
|
-
const TdsNavigationTabsStyle0 = navigationTabsCss;
|
|
9
6
|
|
|
10
7
|
const TdsNavigationTabs = class {
|
|
11
8
|
constructor(hostRef) {
|
|
12
9
|
index.registerInstance(this, hostRef);
|
|
13
10
|
this.tdsChange = index.createEvent(this, "tdsChange", 7);
|
|
11
|
+
/** Variant of the Tabs, primary= on white, secondary= on grey50 */
|
|
12
|
+
this.modeVariant = 'primary';
|
|
13
|
+
/** Sets the default selected Tab. */
|
|
14
|
+
this.defaultSelectedIndex = 0;
|
|
15
|
+
/** Custom left padding value for the wrapper element. */
|
|
16
|
+
this.leftPadding = 32;
|
|
17
|
+
/** Defines aria-label on left scroll button */
|
|
18
|
+
this.tdsScrollLeftAriaLabel = 'Scroll left';
|
|
19
|
+
/** Defines aria-label on right scroll button */
|
|
20
|
+
this.tdsScrollRightAriaLabel = 'Scroll right';
|
|
21
|
+
this.showLeftScroll = false;
|
|
22
|
+
this.showRightScroll = false;
|
|
14
23
|
this.navWrapperElement = null; // reference to container with nav buttons
|
|
15
24
|
this.componentWidth = 0; // visible width of this component
|
|
16
25
|
this.buttonsWidth = 0; // total width of all nav items combined
|
|
@@ -64,14 +73,6 @@ const TdsNavigationTabs = class {
|
|
|
64
73
|
}
|
|
65
74
|
});
|
|
66
75
|
};
|
|
67
|
-
this.modeVariant = 'primary';
|
|
68
|
-
this.defaultSelectedIndex = 0;
|
|
69
|
-
this.selectedIndex = undefined;
|
|
70
|
-
this.leftPadding = 32;
|
|
71
|
-
this.tdsScrollLeftAriaLabel = 'Scroll left';
|
|
72
|
-
this.tdsScrollRightAriaLabel = 'Scroll right';
|
|
73
|
-
this.showLeftScroll = false;
|
|
74
|
-
this.showRightScroll = false;
|
|
75
76
|
}
|
|
76
77
|
/** Sets the passed tabindex as the selected Tab. */
|
|
77
78
|
async selectTab(tabIndex) {
|
|
@@ -176,21 +177,21 @@ const TdsNavigationTabs = class {
|
|
|
176
177
|
this.removeEventListenerFromTabs();
|
|
177
178
|
}
|
|
178
179
|
render() {
|
|
179
|
-
return (index.h(index.Host, { key: '
|
|
180
|
+
return (index.h(index.Host, { key: 'cdf0eff9acca827e372a58f5721ff9279b0360f4', role: "tablist", class: { [`tds-mode-variant-${this.modeVariant}`]: this.modeVariant !== null } }, index.h("div", { key: 'a8fafbc680fbdb0450db591e7f3ffda864946684', class: "wrapper", ref: (el) => {
|
|
180
181
|
this.navWrapperElement = el;
|
|
181
|
-
}, style: { paddingLeft: `${this.leftPadding}px` } }, index.h("button", { key: '
|
|
182
|
+
}, style: { paddingLeft: `${this.leftPadding}px` } }, index.h("button", { key: '402e0ca33fa71dced98cf8d86e26e3dba312fa7d', "aria-label": this.tdsScrollLeftAriaLabel, class: {
|
|
182
183
|
'scroll-left-button': true,
|
|
183
184
|
'show': this.showLeftScroll,
|
|
184
|
-
}, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, index.h("tds-icon", { key: '
|
|
185
|
+
}, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, index.h("tds-icon", { key: '2849a2da7c6ef133d173756778400baa2a51d58d', name: "chevron_left", size: "20px" })), index.h("slot", { key: '64081b7518abde00c8f1d80ff414849bccd1cb0b', onSlotchange: () => this.handleSlotChange() }), index.h("button", { key: '916ba6b9107982f8b8763920bdf4e2bd99127943', "aria-label": this.tdsScrollRightAriaLabel, class: {
|
|
185
186
|
'scroll-right-button': true,
|
|
186
187
|
'show': this.showRightScroll,
|
|
187
|
-
}, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, index.h("tds-icon", { key: '
|
|
188
|
+
}, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, index.h("tds-icon", { key: '26f84d67bc4b1eb04668464a74b655db1953d999', name: "chevron_right", size: "20px" })))));
|
|
188
189
|
}
|
|
189
190
|
get host() { return index.getElement(this); }
|
|
190
191
|
static get watchers() { return {
|
|
191
192
|
"selectedIndex": ["handleSelectedIndexUpdate"]
|
|
192
193
|
}; }
|
|
193
194
|
};
|
|
194
|
-
TdsNavigationTabs.style =
|
|
195
|
+
TdsNavigationTabs.style = navigationTabsCss;
|
|
195
196
|
|
|
196
197
|
exports.tds_navigation_tabs = TdsNavigationTabs;
|
|
@@ -1,28 +1,35 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
var index = require('./index-Cpz8G-hs.js');
|
|
4
|
+
var inheritAttributes = require('./inheritAttributes-CGw91JfB.js');
|
|
4
5
|
|
|
5
|
-
const
|
|
6
|
-
const inheritAttributes = require('./inheritAttributes-ff9ad737.js');
|
|
7
|
-
|
|
8
|
-
const popoverCanvasCss = ".tds-popover-canvas.sc-tds-popover-canvas{box-sizing:border-box;display:inline-block;color:var(--tds-popover-canvas-color);background-color:var(--tds-popover-canvas-background);box-shadow:0 3px 3px rgba(0, 0, 0, 0.15), 0 -1px 1px rgba(0, 0, 0, 0.1);border-radius:4px;z-index:900}.tds-popover-canvas.sc-tds-popover-canvas *.sc-tds-popover-canvas{box-sizing:border-box}";
|
|
9
|
-
const TdsPopoverCanvasStyle0 = popoverCanvasCss;
|
|
6
|
+
const popoverCanvasCss = ".tds-popover-canvas.sc-tds-popover-canvas{box-sizing:border-box;display:inline-block;color:var(--tds-popover-canvas-color);background-color:var(--tds-popover-canvas-background);box-shadow:var(--tds-popover-canvas-box-shadow);border-radius:4px;z-index:900}.tds-popover-canvas.sc-tds-popover-canvas *.sc-tds-popover-canvas{box-sizing:border-box}";
|
|
10
7
|
|
|
11
8
|
const TdsPopoverCanvas = class {
|
|
12
9
|
constructor(hostRef) {
|
|
13
10
|
index.registerInstance(this, hostRef);
|
|
14
|
-
|
|
15
|
-
this.selector = undefined;
|
|
16
|
-
this.referenceEl = undefined;
|
|
11
|
+
/** Decides if the component should be visible from the start. */
|
|
17
12
|
this.defaultShow = false;
|
|
13
|
+
/** Controls whether the Popover is shown or not. If this is set hiding and showing
|
|
14
|
+
* will be decided by this prop and will need to be controlled from the outside. This
|
|
15
|
+
* also means that clicking outside of the popover won't close it. Takes precedence over `defaultShow` prop.
|
|
16
|
+
*/
|
|
18
17
|
this.show = null;
|
|
18
|
+
/** Decides the placement of the Popover Canvas. See https://popper.js.org/docs/v2/constructors/#placement */
|
|
19
19
|
this.placement = 'auto';
|
|
20
|
+
/** Sets the offset skidding */
|
|
20
21
|
this.offsetSkidding = 0;
|
|
22
|
+
/** Whether the popover should animate when being opened/closed or not */
|
|
21
23
|
this.animation = 'none';
|
|
24
|
+
/** Sets the offset distance */
|
|
22
25
|
this.offsetDistance = 8;
|
|
26
|
+
/** Array of modifier objects to pass to popper.js. See https://popper.js.org/docs/v2/modifiers/ */
|
|
23
27
|
this.modifiers = [];
|
|
28
|
+
/** Role of the popover canvas component. Can be either 'alertdialog' for important messages that require immediate attention, or 'dialog' for regular messages. */
|
|
24
29
|
this.tdsAlertDialog = 'dialog';
|
|
25
|
-
|
|
30
|
+
/** Mode variant of the component, based on current mode. */
|
|
31
|
+
this.modeVariant = null;
|
|
32
|
+
this.inheritedAttributes = [];
|
|
26
33
|
}
|
|
27
34
|
/** Property for closing popover programmatically */
|
|
28
35
|
async close() {
|
|
@@ -34,15 +41,17 @@ const TdsPopoverCanvas = class {
|
|
|
34
41
|
}
|
|
35
42
|
render() {
|
|
36
43
|
var _a;
|
|
37
|
-
return (index.h(index.Host, { key: '
|
|
44
|
+
return (index.h(index.Host, { key: '8f22b74f8df985de4505b1472cf47b621d5c515e', class: {
|
|
45
|
+
[`tds-mode-variant-${this.modeVariant}`]: Boolean(this.modeVariant),
|
|
46
|
+
} }, index.h("tds-popover-core", Object.assign({ key: 'a7d3fed2b26cd2dc532e9e78413828d52b28b21e', role: this.tdsAlertDialog }, this.inheritedAttributes, { class: {
|
|
38
47
|
'tds-popover-canvas': true,
|
|
39
48
|
[(_a = this.inheritedAttributes.class) !== null && _a !== void 0 ? _a : '']: true,
|
|
40
49
|
}, selector: this.selector, referenceEl: this.referenceEl, show: this.show, placement: this.placement, offsetSkidding: this.offsetSkidding, offsetDistance: this.offsetDistance, modifiers: this.modifiers, trigger: 'click', ref: (el) => {
|
|
41
50
|
this.childRef = el;
|
|
42
|
-
}, defaultShow: this.defaultShow, animation: this.animation }), index.h("div", { key: '
|
|
51
|
+
}, defaultShow: this.defaultShow, animation: this.animation }), index.h("div", { key: '3c1fde8225ca64b259798f763b8d2264346c246e' }, index.h("slot", { key: 'e133b76f8088a4b572c8bb69792bc3fa6d652da9' })))));
|
|
43
52
|
}
|
|
44
53
|
get host() { return index.getElement(this); }
|
|
45
54
|
};
|
|
46
|
-
TdsPopoverCanvas.style =
|
|
55
|
+
TdsPopoverCanvas.style = popoverCanvasCss;
|
|
47
56
|
|
|
48
57
|
exports.tds_popover_canvas = TdsPopoverCanvas;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const index = require('./index-ca8040ad.js');
|
|
6
|
-
const generateUniqueId = require('./generateUniqueId-e3fc9863.js');
|
|
3
|
+
var index = require('./index-Cpz8G-hs.js');
|
|
4
|
+
var generateUniqueId = require('./generateUniqueId-ComXTAM_.js');
|
|
7
5
|
|
|
8
6
|
var top = 'top';
|
|
9
7
|
var bottom = 'bottom';
|
|
@@ -148,7 +146,7 @@ function effect$2(_ref2) {
|
|
|
148
146
|
} // eslint-disable-next-line import/no-unused-modules
|
|
149
147
|
|
|
150
148
|
|
|
151
|
-
|
|
149
|
+
var applyStyles$1 = {
|
|
152
150
|
name: 'applyStyles',
|
|
153
151
|
enabled: true,
|
|
154
152
|
phase: 'write',
|
|
@@ -463,7 +461,7 @@ function effect$1(_ref2) {
|
|
|
463
461
|
} // eslint-disable-next-line import/no-unused-modules
|
|
464
462
|
|
|
465
463
|
|
|
466
|
-
|
|
464
|
+
var arrow$1 = {
|
|
467
465
|
name: 'arrow',
|
|
468
466
|
enabled: true,
|
|
469
467
|
phase: 'main',
|
|
@@ -630,7 +628,7 @@ function computeStyles(_ref5) {
|
|
|
630
628
|
} // eslint-disable-next-line import/no-unused-modules
|
|
631
629
|
|
|
632
630
|
|
|
633
|
-
|
|
631
|
+
var computeStyles$1 = {
|
|
634
632
|
name: 'computeStyles',
|
|
635
633
|
enabled: true,
|
|
636
634
|
phase: 'beforeWrite',
|
|
@@ -677,7 +675,7 @@ function effect(_ref) {
|
|
|
677
675
|
} // eslint-disable-next-line import/no-unused-modules
|
|
678
676
|
|
|
679
677
|
|
|
680
|
-
|
|
678
|
+
var eventListeners = {
|
|
681
679
|
name: 'eventListeners',
|
|
682
680
|
enabled: true,
|
|
683
681
|
phase: 'write',
|
|
@@ -987,7 +985,6 @@ function detectOverflow(state, options) {
|
|
|
987
985
|
var popperOffsets = computeOffsets({
|
|
988
986
|
reference: referenceClientRect,
|
|
989
987
|
element: popperRect,
|
|
990
|
-
strategy: 'absolute',
|
|
991
988
|
placement: placement
|
|
992
989
|
});
|
|
993
990
|
var popperClientRect = rectToClientRect(Object.assign({}, popperRect, popperOffsets));
|
|
@@ -1183,7 +1180,7 @@ function flip(_ref) {
|
|
|
1183
1180
|
} // eslint-disable-next-line import/no-unused-modules
|
|
1184
1181
|
|
|
1185
1182
|
|
|
1186
|
-
|
|
1183
|
+
var flip$1 = {
|
|
1187
1184
|
name: 'flip',
|
|
1188
1185
|
enabled: true,
|
|
1189
1186
|
phase: 'main',
|
|
@@ -1245,7 +1242,7 @@ function hide(_ref) {
|
|
|
1245
1242
|
} // eslint-disable-next-line import/no-unused-modules
|
|
1246
1243
|
|
|
1247
1244
|
|
|
1248
|
-
|
|
1245
|
+
var hide$1 = {
|
|
1249
1246
|
name: 'hide',
|
|
1250
1247
|
enabled: true,
|
|
1251
1248
|
phase: 'main',
|
|
@@ -1297,7 +1294,7 @@ function offset(_ref2) {
|
|
|
1297
1294
|
} // eslint-disable-next-line import/no-unused-modules
|
|
1298
1295
|
|
|
1299
1296
|
|
|
1300
|
-
|
|
1297
|
+
var offset$1 = {
|
|
1301
1298
|
name: 'offset',
|
|
1302
1299
|
enabled: true,
|
|
1303
1300
|
phase: 'main',
|
|
@@ -1315,13 +1312,12 @@ function popperOffsets(_ref) {
|
|
|
1315
1312
|
state.modifiersData[name] = computeOffsets({
|
|
1316
1313
|
reference: state.rects.reference,
|
|
1317
1314
|
element: state.rects.popper,
|
|
1318
|
-
strategy: 'absolute',
|
|
1319
1315
|
placement: state.placement
|
|
1320
1316
|
});
|
|
1321
1317
|
} // eslint-disable-next-line import/no-unused-modules
|
|
1322
1318
|
|
|
1323
1319
|
|
|
1324
|
-
|
|
1320
|
+
var popperOffsets$1 = {
|
|
1325
1321
|
name: 'popperOffsets',
|
|
1326
1322
|
enabled: true,
|
|
1327
1323
|
phase: 'read',
|
|
@@ -1456,7 +1452,7 @@ function preventOverflow(_ref) {
|
|
|
1456
1452
|
} // eslint-disable-next-line import/no-unused-modules
|
|
1457
1453
|
|
|
1458
1454
|
|
|
1459
|
-
|
|
1455
|
+
var preventOverflow$1 = {
|
|
1460
1456
|
name: 'preventOverflow',
|
|
1461
1457
|
enabled: true,
|
|
1462
1458
|
phase: 'main',
|
|
@@ -1820,13 +1816,39 @@ const generateClassList = (classes) => {
|
|
|
1820
1816
|
};
|
|
1821
1817
|
|
|
1822
1818
|
const tdsPopoverCoreCss = ".sc-tds-popover-core-h{pointer-events:none;display:block}.tds-animation-enter-fade.sc-tds-popover-core-h{animation:tds-fade-in var(--tds-motion-duration-moderate-01) var(--tds-motion-easing-enter) forwards}.tds-animation-exit-fade.sc-tds-popover-core-h{animation:tds-fade-out var(--tds-motion-duration-moderate-01) var(--tds-motion-easing-exit) forwards}.is-shown.sc-tds-popover-core-h{opacity:1;pointer-events:auto;visibility:visible}.is-hidden.sc-tds-popover-core-h{opacity:0;pointer-events:none;visibility:hidden}.initially-hidden.sc-tds-popover-core-h{opacity:0;pointer-events:none;visibility:hidden}";
|
|
1823
|
-
const TdsPopoverCoreStyle0 = tdsPopoverCoreCss;
|
|
1824
1819
|
|
|
1825
1820
|
const TdsPopoverCore = class {
|
|
1826
1821
|
constructor(hostRef) {
|
|
1827
1822
|
index.registerInstance(this, hostRef);
|
|
1828
1823
|
this.internalTdsShow = index.createEvent(this, "internalTdsShow", 4);
|
|
1829
1824
|
this.internalTdsClose = index.createEvent(this, "internalTdsClose", 0);
|
|
1825
|
+
/** Decides if the component should be visible from the start. */
|
|
1826
|
+
this.defaultShow = false;
|
|
1827
|
+
/** Whether the popover should animate when being opened/closed or not */
|
|
1828
|
+
this.animation = 'none';
|
|
1829
|
+
/** Controls whether the Popover is shown or not. If this is set hiding and showing
|
|
1830
|
+
* will be decided by this prop and will need to be controlled from the outside. This
|
|
1831
|
+
* also means that clicking outside of the popover won't close it. Takes precedence over `defaultShow` prop.
|
|
1832
|
+
*/
|
|
1833
|
+
this.show = null;
|
|
1834
|
+
/** Decides the placement of the Popover Menu */
|
|
1835
|
+
this.placement = 'auto';
|
|
1836
|
+
/** Sets the offset skidding */
|
|
1837
|
+
this.offsetSkidding = 0;
|
|
1838
|
+
/** Sets the offset distance */
|
|
1839
|
+
this.offsetDistance = 8;
|
|
1840
|
+
/** Array of modifier objects to pass to popper.js. See https://popper.js.org/docs/v2/modifiers/ */
|
|
1841
|
+
this.modifiers = [];
|
|
1842
|
+
/** What triggers the popover to show */
|
|
1843
|
+
this.trigger = 'click';
|
|
1844
|
+
/** Decides if the popover should hide automatically.
|
|
1845
|
+
* Alternatevly it can be hidden externally based on emitted events. */
|
|
1846
|
+
this.autoHide = true;
|
|
1847
|
+
this.renderedShowValue = false;
|
|
1848
|
+
this.isShown = false;
|
|
1849
|
+
this.disableLogic = false;
|
|
1850
|
+
this.hasShownAtLeastOnce = false;
|
|
1851
|
+
this.openedByKeyboard = false;
|
|
1830
1852
|
this.uuid = generateUniqueId.generateUniqueId();
|
|
1831
1853
|
this.setIsShown = function setIsShown(isShown) {
|
|
1832
1854
|
if (typeof isShown === 'function') {
|
|
@@ -1863,24 +1885,6 @@ const TdsPopoverCore = class {
|
|
|
1863
1885
|
event.stopPropagation();
|
|
1864
1886
|
this.setIsShown(false);
|
|
1865
1887
|
}.bind(this);
|
|
1866
|
-
this.selector = undefined;
|
|
1867
|
-
this.referenceEl = undefined;
|
|
1868
|
-
this.defaultShow = false;
|
|
1869
|
-
this.animation = 'none';
|
|
1870
|
-
this.show = null;
|
|
1871
|
-
this.placement = 'auto';
|
|
1872
|
-
this.offsetSkidding = 0;
|
|
1873
|
-
this.offsetDistance = 8;
|
|
1874
|
-
this.modifiers = [];
|
|
1875
|
-
this.trigger = 'click';
|
|
1876
|
-
this.autoHide = true;
|
|
1877
|
-
this.renderedShowValue = false;
|
|
1878
|
-
this.popperInstance = undefined;
|
|
1879
|
-
this.target = undefined;
|
|
1880
|
-
this.isShown = false;
|
|
1881
|
-
this.disableLogic = false;
|
|
1882
|
-
this.hasShownAtLeastOnce = false;
|
|
1883
|
-
this.openedByKeyboard = false;
|
|
1884
1888
|
}
|
|
1885
1889
|
/** Property for closing popover programmatically */
|
|
1886
1890
|
async close() {
|
|
@@ -2047,7 +2051,7 @@ const TdsPopoverCore = class {
|
|
|
2047
2051
|
'tds-animation-exit-fade': !this.isShown && this.animation === 'fade',
|
|
2048
2052
|
};
|
|
2049
2053
|
const classList = generateClassList(classes);
|
|
2050
|
-
return (index.h(index.Host, { key: '
|
|
2054
|
+
return (index.h(index.Host, { key: '5c557610103827aedbabbd37a79730580d15ca2d', role: this.host.getAttribute('role'), class: classList, id: `tds-popover-core-${this.uuid}` }, index.h("slot", { key: '487a937b3c9d87b91425f6bd9eb88bc3fa85d7df' })));
|
|
2051
2055
|
}
|
|
2052
2056
|
get host() { return index.getElement(this); }
|
|
2053
2057
|
static get watchers() { return {
|
|
@@ -2057,6 +2061,6 @@ const TdsPopoverCore = class {
|
|
|
2057
2061
|
"isShown": ["onIsShownChange"]
|
|
2058
2062
|
}; }
|
|
2059
2063
|
};
|
|
2060
|
-
TdsPopoverCore.style =
|
|
2064
|
+
TdsPopoverCore.style = tdsPopoverCoreCss;
|
|
2061
2065
|
|
|
2062
2066
|
exports.tds_popover_core = TdsPopoverCore;
|
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const index = require('./index-ca8040ad.js');
|
|
3
|
+
var index = require('./index-Cpz8G-hs.js');
|
|
6
4
|
|
|
7
5
|
const popoverMenuItemCss = ":host{box-sizing:border-box;display:block}:host *{box-sizing:border-box}:host .wrapper{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);color:var(--tds-popover-menu-color);position:relative;width:100%;display:flex;align-items:center;transition:background-color var(--tds-motion-duration-fast-02) var(--tds-motion-easing-easy)}:host .wrapper:hover{cursor:pointer;background-color:var(--tds-popover-menu-background-hover)}:host .wrapper.disabled{cursor:not-allowed;color:var(--tds-popover-menu-divider-disabled-color)}:host .wrapper.disabled:hover{background-color:inherit}:host .wrapper.disabled ::slotted(tds-icon){color:var(--tds-popover-menu-divider-disabled-icon-color)}:host .wrapper.disabled ::slotted(*){pointer-events:none}:host ::slotted(*:not(tds-icon)){all:unset;width:100%;display:inline-flex;display:flex;align-items:center;gap:10px;padding:10px 16px}:host ::slotted(*:focus-visible)::before{z-index:-1;content:\"\";display:block;position:absolute;width:calc(100% - 4px);height:100%;top:0;left:2px;outline:1px solid var(--tds-blue-400);outline-offset:1px}";
|
|
8
|
-
const TdsPopoverMenuItemStyle0 = popoverMenuItemCss;
|
|
9
6
|
|
|
10
7
|
const TdsPopoverMenuItem = class {
|
|
11
8
|
constructor(hostRef) {
|
|
12
9
|
index.registerInstance(this, hostRef);
|
|
10
|
+
/** Disables the Popover Menu Item */
|
|
13
11
|
this.disabled = false;
|
|
14
12
|
}
|
|
15
13
|
render() {
|
|
16
|
-
return (index.h(index.Host, { key: '
|
|
14
|
+
return (index.h(index.Host, { key: '189497fe898065e585b2bf342611716b7b44778b', role: "menuitem", "aria-disabled": this.disabled ? 'true' : 'false' }, index.h("div", { key: '5904e5da7c9f4cfe1a35df1b5b1549a8a4c501a9', class: {
|
|
17
15
|
wrapper: true,
|
|
18
16
|
disabled: this.disabled,
|
|
19
|
-
} }, index.h("slot", { key: '
|
|
17
|
+
} }, index.h("slot", { key: 'ddacc7938ca455a8151b2e46449414146073b045' }))));
|
|
20
18
|
}
|
|
21
19
|
};
|
|
22
|
-
TdsPopoverMenuItem.style =
|
|
20
|
+
TdsPopoverMenuItem.style = popoverMenuItemCss;
|
|
23
21
|
|
|
24
22
|
exports.tds_popover_menu_item = TdsPopoverMenuItem;
|
|
@@ -1,28 +1,33 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const index = require('./index-ca8040ad.js');
|
|
6
|
-
const inheritAttributes = require('./inheritAttributes-ff9ad737.js');
|
|
3
|
+
var index = require('./index-Cpz8G-hs.js');
|
|
4
|
+
var inheritAttributes = require('./inheritAttributes-CGw91JfB.js');
|
|
7
5
|
|
|
8
6
|
const popoverMenuCss = ".tds-popover-menu.sc-tds-popover-menu{box-sizing:border-box;overflow:hidden;width:160px;background-color:var(--tds-popover-menu-background);padding:16px 6px;box-shadow:0 3px 3px rgba(0, 0, 0, 0.15), 0 -1px 1px rgba(0, 0, 0, 0.1);border-radius:4px;z-index:900}.tds-popover-menu.sc-tds-popover-menu *.sc-tds-popover-menu{box-sizing:border-box}.tds-popover-menu.fluid-width.sc-tds-popover-menu{width:unset}tds-popover-core.sc-tds-popover-menu{padding:6px 0 !important}.sc-tds-popover-menu-s>tds-divider{display:block;padding:6px !important}";
|
|
9
|
-
const TdsPopoverMenuStyle0 = popoverMenuCss;
|
|
10
7
|
|
|
11
8
|
const TdsPopoverMenu = class {
|
|
12
9
|
constructor(hostRef) {
|
|
13
10
|
index.registerInstance(this, hostRef);
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
/** Controls whether the Popover is shown or not. If this is set hiding and showing
|
|
12
|
+
* will be decided by this prop and will need to be controlled from the outside. This
|
|
13
|
+
* also means that clicking outside of the popover won't close it. Takes precedence over `defaultShow` prop.
|
|
14
|
+
*/
|
|
17
15
|
this.show = null;
|
|
16
|
+
/** Decides if the component should be visible from the start. */
|
|
18
17
|
this.defaultShow = false;
|
|
18
|
+
/** Decides the placement of the Popover Menu */
|
|
19
19
|
this.placement = 'auto';
|
|
20
|
+
/** Whether the popover should animate when being opened/closed or not */
|
|
20
21
|
this.animation = 'none';
|
|
22
|
+
/** Sets the offset skidding */
|
|
21
23
|
this.offsetSkidding = 0;
|
|
24
|
+
/** Sets the offset distance */
|
|
22
25
|
this.offsetDistance = 8;
|
|
26
|
+
/** If true this unsets the width (160px) of the Popover Menu */
|
|
23
27
|
this.fluidWidth = false;
|
|
28
|
+
/** Mode variant of the component, based on current mode. */
|
|
24
29
|
this.modeVariant = null;
|
|
25
|
-
this.
|
|
30
|
+
this.inheritedAttributes = [];
|
|
26
31
|
}
|
|
27
32
|
/** Property for closing popover programmatically */
|
|
28
33
|
async close() {
|
|
@@ -34,18 +39,18 @@ const TdsPopoverMenu = class {
|
|
|
34
39
|
}
|
|
35
40
|
render() {
|
|
36
41
|
var _a;
|
|
37
|
-
return (index.h(index.Host, { key: '
|
|
42
|
+
return (index.h(index.Host, { key: 'ad39066c2a2f7d4e4696143095fa8a0032d7c148', class: {
|
|
38
43
|
[`tds-mode-variant-${this.modeVariant}`]: Boolean(this.modeVariant),
|
|
39
|
-
} }, index.h("tds-popover-core", { key: '
|
|
44
|
+
} }, index.h("tds-popover-core", { key: 'f261b18f6e1e26df1baf39628911cb885277b431', class: {
|
|
40
45
|
'tds-popover-menu': true,
|
|
41
46
|
[(_a = this.inheritedAttributes.class) !== null && _a !== void 0 ? _a : '']: true,
|
|
42
47
|
'fluid-width': this.fluidWidth,
|
|
43
48
|
}, selector: this.selector, referenceEl: this.referenceEl, show: this.show, placement: this.placement, offsetSkidding: this.offsetSkidding, offsetDistance: this.offsetDistance, ref: (el) => {
|
|
44
49
|
this.childRef = el;
|
|
45
|
-
}, defaultShow: this.defaultShow, animation: this.animation }, index.h("div", { key: '
|
|
50
|
+
}, defaultShow: this.defaultShow, animation: this.animation }, index.h("div", { key: 'f1549f6d338ed8e9a511577a85735b834a89df27', role: "menu" }, index.h("slot", { key: 'def698636f21c11133ad0289b21b76db0f208116' })))));
|
|
46
51
|
}
|
|
47
52
|
get host() { return index.getElement(this); }
|
|
48
53
|
};
|
|
49
|
-
TdsPopoverMenu.style =
|
|
54
|
+
TdsPopoverMenu.style = popoverMenuCss;
|
|
50
55
|
|
|
51
56
|
exports.tds_popover_menu = TdsPopoverMenu;
|