@scania/tegel 1.40.0-stencil-core-4.38.1-beta.0 → 1.40.0-ts-strict-mode-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/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/index-ca8040ad.js +2039 -0
- package/dist/cjs/{inheritAriaAttributes-D_xFGssc.js → inheritAriaAttributes-dedbbc57.js} +1 -1
- package/dist/cjs/{isHeadingElement-DihKNeqS.js → isHeadingElement-4f06b688.js} +1 -1
- package/dist/cjs/loader.cjs.js +6 -3
- package/dist/cjs/tds-accordion-item.cjs.entry.js +6 -9
- package/dist/cjs/tds-accordion.cjs.entry.js +7 -6
- package/dist/cjs/tds-badge.cjs.entry.js +5 -6
- package/dist/cjs/tds-banner.cjs.entry.js +14 -18
- package/dist/cjs/tds-block.cjs.entry.js +6 -5
- package/dist/cjs/tds-body-cell.cjs.entry.js +13 -6
- package/dist/cjs/tds-breadcrumb.cjs.entry.js +5 -3
- package/dist/cjs/tds-breadcrumbs.cjs.entry.js +6 -2
- package/dist/cjs/tds-button_2.cjs.entry.js +19 -18
- package/dist/cjs/tds-card.cjs.entry.js +21 -30
- package/dist/cjs/tds-checkbox.cjs.entry.js +21 -16
- package/dist/cjs/tds-chip.cjs.entry.js +15 -18
- package/dist/cjs/tds-core-header-item_2.cjs.entry.js +17 -12
- package/dist/cjs/tds-datetime.cjs.entry.js +31 -32
- package/dist/cjs/tds-dropdown_2.cjs.entry.js +99 -88
- package/dist/cjs/tds-folder-tab.cjs.entry.js +6 -3
- package/dist/cjs/tds-folder-tabs.cjs.entry.js +23 -16
- package/dist/cjs/tds-footer-group.cjs.entry.js +17 -11
- package/dist/cjs/tds-footer-item.cjs.entry.js +12 -5
- package/dist/cjs/tds-footer.cjs.entry.js +9 -7
- package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +7 -4
- package/dist/cjs/tds-header-cell.cjs.entry.js +32 -23
- package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +5 -4
- package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +9 -2
- package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +13 -8
- package/dist/cjs/tds-header-dropdown.cjs.entry.js +19 -13
- package/dist/cjs/tds-header-hamburger.cjs.entry.js +8 -4
- package/dist/cjs/tds-header-launcher-button.cjs.entry.js +8 -6
- package/dist/cjs/tds-header-launcher-grid-item.cjs.entry.js +5 -2
- package/dist/cjs/tds-header-launcher-grid-title.cjs.entry.js +6 -3
- package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +8 -4
- package/dist/cjs/tds-header-launcher-list-item.cjs.entry.js +5 -2
- package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +6 -3
- package/dist/cjs/tds-header-launcher-list.cjs.entry.js +4 -2
- package/dist/cjs/tds-header-launcher.cjs.entry.js +19 -10
- package/dist/cjs/tds-header-title.cjs.entry.js +6 -3
- package/dist/cjs/tds-header.cjs.entry.js +15 -10
- package/dist/cjs/tds-icon.cjs.entry.js +13 -12
- package/dist/cjs/tds-inline-tab.cjs.entry.js +5 -3
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +23 -17
- package/dist/cjs/tds-link.cjs.entry.js +5 -5
- package/dist/cjs/tds-message.cjs.entry.js +15 -15
- package/dist/cjs/tds-modal.cjs.entry.js +23 -22
- package/dist/cjs/tds-navigation-tab.cjs.entry.js +5 -3
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +25 -19
- package/dist/cjs/tds-popover-canvas.cjs.entry.js +13 -19
- package/dist/cjs/tds-popover-core.cjs.entry.js +45 -47
- package/dist/cjs/tds-popover-menu-item.cjs.entry.js +5 -3
- package/dist/cjs/tds-popover-menu.cjs.entry.js +13 -18
- package/dist/cjs/tds-radio-button.cjs.entry.js +18 -12
- package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +7 -4
- package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +11 -7
- package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +18 -12
- package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +8 -5
- package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +12 -9
- package/dist/cjs/tds-side-menu-item.cjs.entry.js +21 -15
- package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +5 -2
- package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +11 -3
- package/dist/cjs/tds-side-menu-user.cjs.entry.js +9 -2
- package/dist/cjs/tds-side-menu.cjs.entry.js +24 -24
- package/dist/cjs/tds-slider.cjs.entry.js +50 -55
- package/dist/cjs/tds-spinner.cjs.entry.js +5 -4
- package/dist/cjs/tds-step.cjs.entry.js +14 -4
- package/dist/cjs/tds-stepper.cjs.entry.js +6 -13
- package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +6 -4
- package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +24 -21
- package/dist/cjs/tds-table-body-row.cjs.entry.js +13 -10
- package/dist/cjs/tds-table-body.cjs.entry.js +20 -12
- package/dist/cjs/tds-table-footer.cjs.entry.js +31 -28
- package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +6 -4
- package/dist/cjs/tds-table-header.cjs.entry.js +30 -23
- package/dist/cjs/tds-table-toolbar.cjs.entry.js +11 -9
- package/dist/cjs/tds-table.cjs.entry.js +21 -33
- package/dist/cjs/tds-tag.cjs.entry.js +7 -5
- package/dist/cjs/tds-text-field.cjs.entry.js +20 -28
- package/dist/cjs/tds-textarea.cjs.entry.js +18 -20
- package/dist/cjs/tds-toast.cjs.entry.js +16 -16
- package/dist/cjs/tds-toggle.cjs.entry.js +19 -17
- package/dist/cjs/tds-tooltip.cjs.entry.js +23 -29
- package/dist/cjs/tegel.cjs.js +8 -7
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/accordion/accordion-item/accordion-item.js +6 -24
- package/dist/collection/components/accordion/accordion.js +6 -12
- package/dist/collection/components/badge/badge.js +4 -16
- package/dist/collection/components/banner/banner.js +18 -39
- package/dist/collection/components/block/block.js +5 -11
- package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.js +1 -4
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +5 -4
- package/dist/collection/components/button/button.js +28 -51
- package/dist/collection/components/card/card.js +32 -68
- package/dist/collection/components/checkbox/checkbox.js +29 -45
- package/dist/collection/components/chip/chip.js +20 -42
- package/dist/collection/components/datetime/datetime.js +47 -83
- package/dist/collection/components/divider/divider.js +2 -8
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +29 -39
- package/dist/collection/components/dropdown/dropdown.js +94 -117
- package/dist/collection/components/footer/footer-group/footer-group.css +1 -4
- package/dist/collection/components/footer/footer-group/footer-group.js +14 -15
- package/dist/collection/components/footer/footer-item/footer-item.css +3 -3
- package/dist/collection/components/footer/footer-item/footer-item.js +6 -2
- package/dist/collection/components/footer/footer.js +6 -9
- package/dist/collection/components/header/header-brand-symbol/header-brand-symbol.js +2 -2
- package/dist/collection/components/header/header-dropdown/header-dropdown.js +19 -24
- package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +7 -7
- package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.js +2 -8
- package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.js +14 -16
- package/dist/collection/components/header/header-hamburger/header-hamburger.js +5 -4
- package/dist/collection/components/header/header-item/header-item.js +11 -14
- package/dist/collection/components/header/header-launcher/header-launcher.js +13 -9
- package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +4 -9
- package/dist/collection/components/header/header-launcher-grid/header-launcher-grid.js +3 -0
- package/dist/collection/components/header/header-title/header-title.css +0 -2
- package/dist/collection/components/header/header.js +8 -6
- package/dist/collection/components/icon/icon.js +18 -30
- package/dist/collection/components/link/link.js +3 -12
- package/dist/collection/components/message/message.js +20 -37
- package/dist/collection/components/modal/modal.js +31 -51
- package/dist/collection/components/popover-canvas/popover-canvas.js +23 -54
- package/dist/collection/components/popover-core/popover-core.js +49 -83
- package/dist/collection/components/popover-menu/popover-menu-item/popover-menu-item.js +1 -4
- package/dist/collection/components/popover-menu/popover-menu.js +23 -51
- package/dist/collection/components/radio-button/radio-button.js +24 -37
- package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +6 -5
- package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +12 -20
- package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.js +3 -3
- package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +14 -13
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +17 -18
- package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +14 -16
- package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +8 -8
- package/dist/collection/components/side-menu/side-menu-user-label/side-menu-user-label.js +8 -8
- package/dist/collection/components/side-menu/side-menu.js +22 -31
- package/dist/collection/components/slider/slider.js +62 -106
- package/dist/collection/components/spinner/spinner.js +2 -8
- package/dist/collection/components/stepper/step/step.js +14 -13
- package/dist/collection/components/stepper/stepper.js +6 -28
- package/dist/collection/components/table/table/table.js +48 -67
- package/dist/collection/components/table/table-body/table-body.js +15 -10
- package/dist/collection/components/table/table-body-cell/table-body-cell.js +18 -22
- package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +2 -5
- package/dist/collection/components/table/table-body-row/table-body-row.js +16 -22
- package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +31 -43
- package/dist/collection/components/table/table-footer/table-footer.js +36 -48
- package/dist/collection/components/table/table-header/table-header.js +33 -37
- package/dist/collection/components/table/table-header-cell/table-header-cell.js +49 -57
- package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +3 -8
- package/dist/collection/components/table/table-toolbar/table-toolbar.js +11 -18
- package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +2 -4
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +26 -32
- package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +1 -4
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +25 -34
- package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +1 -4
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +27 -36
- package/dist/collection/components/tag/tag.js +5 -12
- package/dist/collection/components/text-field/text-field.js +40 -93
- package/dist/collection/components/textarea/textarea.js +35 -74
- package/dist/collection/components/toast/toast.js +21 -42
- package/dist/collection/components/toggle/toggle.js +24 -41
- package/dist/collection/components/tooltip/tooltip.js +33 -64
- package/dist/collection/utils/appendHiddenInput.js +6 -4
- package/dist/components/index.js +1 -1790
- package/dist/components/{p-Q3W78DlP.js → p-0bd4c19c.js} +1 -1
- package/dist/components/{p-D1ati-pM.js → p-0d286c19.js} +11 -13
- package/dist/components/p-28ef5186.js +1507 -0
- package/dist/components/{p-FqP1yGh_.js → p-381677ec.js} +6 -9
- package/dist/components/{p-CMsPXG7a.js → p-3f2187a4.js} +8 -7
- package/dist/components/{p-B569z5eW.js → p-415fafb3.js} +15 -25
- package/dist/components/{p-X1sPx4t5.js → p-6fd2b339.js} +46 -52
- package/dist/components/{p-ChCWm6If.js → p-799470b1.js} +18 -20
- package/dist/components/{p-BiyghEA7.js → p-7e02ea3e.js} +76 -59
- package/dist/components/{p-CuIyaNyT.js → p-859e3ebf.js} +1 -1
- package/dist/components/{p-Ee9QeMgy.js → p-98d082f9.js} +33 -45
- package/dist/components/{p-Ip9G3co9.js → p-a64cbc40.js} +24 -36
- package/dist/components/{p-DnzQe_HU.js → p-ad376f70.js} +25 -35
- package/dist/components/{p-DuxH3vDC.js → p-bff614d5.js} +8 -7
- package/dist/components/{p-QnvG_QPu.js → p-da11a695.js} +13 -12
- package/dist/components/{p-HRj1DOvh.js → p-de86852a.js} +6 -9
- package/dist/components/{p-BxmFjTxG.js → p-e0ccf8e6.js} +22 -20
- package/dist/components/{p-BhLq7lgx.js → p-e1622f4a.js} +6 -7
- package/dist/components/{p-Ca3wGDna.js → p-e627f11b.js} +22 -21
- package/dist/components/{p-BHBgkUfr.js → p-ead6727f.js} +17 -17
- package/dist/components/{p-CPDv0bBc.js → p-edc838a0.js} +14 -17
- package/dist/components/tds-accordion-item.js +8 -15
- package/dist/components/tds-accordion.js +8 -11
- package/dist/components/tds-badge.js +6 -11
- package/dist/components/tds-banner.js +16 -24
- package/dist/components/tds-block.js +7 -10
- package/dist/components/tds-body-cell.js +15 -12
- package/dist/components/tds-breadcrumb.js +6 -8
- package/dist/components/tds-breadcrumbs.js +7 -7
- package/dist/components/tds-button.js +1 -1
- package/dist/components/tds-card.js +25 -38
- package/dist/components/tds-checkbox.js +1 -1
- package/dist/components/tds-chip.js +16 -23
- package/dist/components/tds-core-header-item.js +1 -1
- package/dist/components/tds-datetime.js +33 -38
- 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 +7 -8
- package/dist/components/tds-folder-tabs.js +25 -22
- package/dist/components/tds-footer-group.js +19 -17
- package/dist/components/tds-footer-item.js +13 -10
- package/dist/components/tds-footer.js +10 -12
- package/dist/components/tds-header-brand-symbol.js +10 -11
- package/dist/components/tds-header-cell.js +34 -29
- package/dist/components/tds-header-dropdown-list-item.js +1 -1
- package/dist/components/tds-header-dropdown-list-user.js +10 -7
- package/dist/components/tds-header-dropdown-list.js +1 -1
- package/dist/components/tds-header-dropdown.js +25 -23
- package/dist/components/tds-header-hamburger.js +11 -11
- 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 +6 -7
- package/dist/components/tds-header-launcher-grid-title.js +7 -8
- package/dist/components/tds-header-launcher-grid.js +8 -8
- package/dist/components/tds-header-launcher-list-item.js +7 -8
- package/dist/components/tds-header-launcher-list-title.js +7 -8
- package/dist/components/tds-header-launcher-list.js +6 -8
- package/dist/components/tds-header-launcher.js +25 -20
- package/dist/components/tds-header-title.js +7 -8
- package/dist/components/tds-header.js +15 -14
- package/dist/components/tds-icon.js +1 -1
- package/dist/components/tds-inline-tab.js +6 -8
- package/dist/components/tds-inline-tabs.js +25 -23
- package/dist/components/tds-link.js +6 -10
- package/dist/components/tds-message.js +17 -21
- package/dist/components/tds-modal.js +25 -28
- package/dist/components/tds-navigation-tab.js +6 -8
- package/dist/components/tds-navigation-tabs.js +27 -25
- 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 +6 -8
- package/dist/components/tds-popover-menu.js +15 -24
- package/dist/components/tds-radio-button.js +19 -17
- package/dist/components/tds-side-menu-close-button.js +8 -9
- package/dist/components/tds-side-menu-collapse-button.js +13 -13
- package/dist/components/tds-side-menu-dropdown-list-item.js +19 -17
- package/dist/components/tds-side-menu-dropdown-list.js +9 -10
- package/dist/components/tds-side-menu-dropdown.js +15 -16
- package/dist/components/tds-side-menu-item.js +1 -1
- package/dist/components/tds-side-menu-overlay.js +6 -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 +12 -9
- package/dist/components/tds-side-menu.js +25 -29
- package/dist/components/tds-slider.js +55 -64
- package/dist/components/tds-spinner.js +6 -9
- package/dist/components/tds-step.js +16 -10
- package/dist/components/tds-stepper.js +7 -18
- package/dist/components/tds-table-body-input-wrapper.js +8 -10
- package/dist/components/tds-table-body-row-expandable.js +25 -26
- package/dist/components/tds-table-body-row.js +15 -16
- package/dist/components/tds-table-body.js +21 -17
- package/dist/components/tds-table-footer.js +36 -37
- package/dist/components/tds-table-header-input-wrapper.js +8 -10
- package/dist/components/tds-table-header.js +32 -29
- package/dist/components/tds-table-toolbar.js +13 -15
- package/dist/components/tds-table.js +22 -38
- package/dist/components/tds-tag.js +8 -10
- package/dist/components/tds-text-field.js +1 -1
- package/dist/components/tds-textarea.js +22 -28
- package/dist/components/tds-toast.js +18 -22
- package/dist/components/tds-toggle.js +20 -22
- package/dist/components/tds-tooltip.js +1 -1
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/index-51d04e39.js +2009 -0
- package/dist/esm/{inheritAriaAttributes-DyLhgCIg.js → inheritAriaAttributes-04f2f252.js} +1 -1
- package/dist/esm/{isHeadingElement-BQco7VNg.js → isHeadingElement-8efea284.js} +1 -1
- package/dist/esm/loader.js +4 -3
- package/dist/esm/tds-accordion-item.entry.js +4 -9
- package/dist/esm/tds-accordion.entry.js +5 -6
- package/dist/esm/tds-badge.entry.js +3 -6
- package/dist/esm/tds-banner.entry.js +12 -18
- package/dist/esm/tds-block.entry.js +4 -5
- package/dist/esm/tds-body-cell.entry.js +11 -6
- package/dist/esm/tds-breadcrumb.entry.js +3 -3
- package/dist/esm/tds-breadcrumbs.entry.js +4 -2
- package/dist/esm/tds-button_2.entry.js +17 -18
- package/dist/esm/tds-card.entry.js +19 -30
- package/dist/esm/tds-checkbox.entry.js +19 -16
- package/dist/esm/tds-chip.entry.js +13 -18
- package/dist/esm/tds-core-header-item_2.entry.js +15 -12
- package/dist/esm/tds-datetime.entry.js +29 -32
- package/dist/esm/tds-dropdown_2.entry.js +97 -88
- package/dist/esm/tds-folder-tab.entry.js +4 -3
- package/dist/esm/tds-folder-tabs.entry.js +21 -16
- package/dist/esm/tds-footer-group.entry.js +15 -11
- package/dist/esm/tds-footer-item.entry.js +10 -5
- package/dist/esm/tds-footer.entry.js +7 -7
- package/dist/esm/tds-header-brand-symbol.entry.js +5 -4
- package/dist/esm/tds-header-cell.entry.js +30 -23
- package/dist/esm/tds-header-dropdown-list-item.entry.js +3 -4
- package/dist/esm/tds-header-dropdown-list-user.entry.js +7 -2
- package/dist/esm/tds-header-dropdown-list.entry.js +11 -8
- package/dist/esm/tds-header-dropdown.entry.js +17 -13
- package/dist/esm/tds-header-hamburger.entry.js +6 -4
- package/dist/esm/tds-header-launcher-button.entry.js +6 -6
- package/dist/esm/tds-header-launcher-grid-item.entry.js +3 -2
- package/dist/esm/tds-header-launcher-grid-title.entry.js +4 -3
- package/dist/esm/tds-header-launcher-grid.entry.js +6 -4
- package/dist/esm/tds-header-launcher-list-item.entry.js +3 -2
- package/dist/esm/tds-header-launcher-list-title.entry.js +4 -3
- package/dist/esm/tds-header-launcher-list.entry.js +2 -2
- package/dist/esm/tds-header-launcher.entry.js +17 -10
- package/dist/esm/tds-header-title.entry.js +4 -3
- package/dist/esm/tds-header.entry.js +13 -10
- package/dist/esm/tds-icon.entry.js +11 -12
- package/dist/esm/tds-inline-tab.entry.js +3 -3
- package/dist/esm/tds-inline-tabs.entry.js +21 -17
- package/dist/esm/tds-link.entry.js +3 -5
- package/dist/esm/tds-message.entry.js +13 -15
- package/dist/esm/tds-modal.entry.js +21 -22
- package/dist/esm/tds-navigation-tab.entry.js +3 -3
- package/dist/esm/tds-navigation-tabs.entry.js +23 -19
- package/dist/esm/tds-popover-canvas.entry.js +11 -19
- package/dist/esm/tds-popover-core.entry.js +43 -47
- package/dist/esm/tds-popover-menu-item.entry.js +3 -3
- package/dist/esm/tds-popover-menu.entry.js +11 -18
- package/dist/esm/tds-radio-button.entry.js +16 -12
- package/dist/esm/tds-side-menu-close-button.entry.js +5 -4
- package/dist/esm/tds-side-menu-collapse-button.entry.js +9 -7
- package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +16 -12
- package/dist/esm/tds-side-menu-dropdown-list.entry.js +6 -5
- package/dist/esm/tds-side-menu-dropdown.entry.js +10 -9
- package/dist/esm/tds-side-menu-item.entry.js +19 -15
- package/dist/esm/tds-side-menu-overlay.entry.js +3 -2
- package/dist/esm/tds-side-menu-user-image_2.entry.js +9 -3
- package/dist/esm/tds-side-menu-user.entry.js +7 -2
- package/dist/esm/tds-side-menu.entry.js +22 -24
- package/dist/esm/tds-slider.entry.js +48 -55
- package/dist/esm/tds-spinner.entry.js +3 -4
- package/dist/esm/tds-step.entry.js +12 -4
- package/dist/esm/tds-stepper.entry.js +4 -13
- package/dist/esm/tds-table-body-input-wrapper.entry.js +4 -4
- package/dist/esm/tds-table-body-row-expandable.entry.js +22 -21
- package/dist/esm/tds-table-body-row.entry.js +11 -10
- package/dist/esm/tds-table-body.entry.js +18 -12
- package/dist/esm/tds-table-footer.entry.js +29 -28
- package/dist/esm/tds-table-header-input-wrapper.entry.js +4 -4
- package/dist/esm/tds-table-header.entry.js +28 -23
- package/dist/esm/tds-table-toolbar.entry.js +9 -9
- package/dist/esm/tds-table.entry.js +19 -33
- package/dist/esm/tds-tag.entry.js +5 -5
- package/dist/esm/tds-text-field.entry.js +18 -28
- package/dist/esm/tds-textarea.entry.js +16 -20
- package/dist/esm/tds-toast.entry.js +14 -16
- package/dist/esm/tds-toggle.entry.js +17 -17
- package/dist/esm/tds-tooltip.entry.js +21 -29
- package/dist/esm/tegel.js +5 -5
- package/dist/tegel/p-08c16b2f.entry.js +1 -0
- package/dist/tegel/p-0b37e91a.entry.js +1 -0
- package/dist/tegel/{p-Q3W78DlP.js → p-0bd4c19c.js} +1 -1
- package/dist/tegel/{p-e22a2a9b.entry.js → p-133351b5.entry.js} +1 -1
- package/dist/tegel/p-177386d5.entry.js +1 -0
- package/dist/tegel/p-1b471db7.entry.js +1 -0
- package/dist/tegel/p-1e1a87c1.entry.js +1 -0
- package/dist/tegel/p-2049fab2.js +2 -0
- package/dist/tegel/p-2268af7f.entry.js +1 -0
- package/dist/tegel/p-252a7d3f.entry.js +1 -0
- package/dist/tegel/p-25473962.entry.js +1 -0
- package/dist/tegel/{p-59a1c10f.entry.js → p-27369d6a.entry.js} +1 -1
- package/dist/tegel/{p-03d1456f.entry.js → p-2766b46f.entry.js} +1 -1
- package/dist/tegel/p-27d39882.entry.js +1 -0
- package/dist/tegel/{p-449e8c13.entry.js → p-2faeb483.entry.js} +1 -1
- package/dist/tegel/{p-dfd5a301.entry.js → p-304f5a5c.entry.js} +1 -1
- package/dist/tegel/p-3c348fcb.entry.js +1 -0
- package/dist/tegel/p-3ef04672.entry.js +1 -0
- package/dist/tegel/p-40d99d7d.entry.js +1 -0
- package/dist/tegel/p-40fa0f5b.entry.js +1 -0
- package/dist/tegel/p-48a3e489.entry.js +1 -0
- package/dist/tegel/{p-b2bfe0fb.entry.js → p-4b5e15cc.entry.js} +1 -1
- package/dist/tegel/p-4de2807c.entry.js +1 -0
- package/dist/tegel/p-4e15f31d.entry.js +1 -0
- package/dist/tegel/p-57c08d0d.entry.js +1 -0
- package/dist/tegel/p-58ac68f3.entry.js +1 -0
- package/dist/tegel/p-5c8fd75e.entry.js +1 -0
- package/dist/tegel/{p-3910b9e0.entry.js → p-646d1df4.entry.js} +1 -1
- package/dist/tegel/{p-08d8a464.entry.js → p-655051b6.entry.js} +1 -1
- package/dist/tegel/p-6a472310.entry.js +1 -0
- package/dist/tegel/p-7104b955.entry.js +1 -0
- package/dist/tegel/{p-69bf3133.entry.js → p-771f53c2.entry.js} +1 -1
- package/dist/tegel/p-781b2939.entry.js +1 -0
- package/dist/tegel/{p-8ad8234f.entry.js → p-87219f00.entry.js} +1 -1
- package/dist/tegel/{p-37aa4516.entry.js → p-88bb1059.entry.js} +1 -1
- package/dist/tegel/p-894e7e11.entry.js +1 -0
- package/dist/tegel/{p-2c5e101e.entry.js → p-8a4837ae.entry.js} +1 -1
- package/dist/tegel/{p-Bx66i7RU.js → p-9332c225.js} +1 -1
- package/dist/tegel/p-942f8c6f.entry.js +1 -0
- package/dist/tegel/p-98eff725.entry.js +1 -0
- package/dist/tegel/p-9b06bd5f.entry.js +1 -0
- package/dist/tegel/p-9c56b031.entry.js +1 -0
- package/dist/tegel/p-a20a54ef.entry.js +1 -0
- package/dist/tegel/p-a2b2092a.entry.js +1 -0
- package/dist/tegel/p-a334b517.entry.js +1 -0
- package/dist/tegel/p-a4e4c450.entry.js +1 -0
- package/dist/tegel/p-a60ed3de.entry.js +1 -0
- package/dist/tegel/p-a6dca188.entry.js +1 -0
- package/dist/tegel/p-a912035b.entry.js +1 -0
- package/dist/tegel/p-ab00e6e4.entry.js +1 -0
- package/dist/tegel/p-b218db70.entry.js +1 -0
- package/dist/tegel/p-b3b13975.entry.js +1 -0
- package/dist/tegel/{p-0a3bd804.entry.js → p-b734b309.entry.js} +1 -1
- package/dist/tegel/p-b7abb81f.entry.js +1 -0
- package/dist/tegel/{p-a595dba7.entry.js → p-b9afb39e.entry.js} +1 -1
- package/dist/tegel/p-bb8c2a36.entry.js +1 -0
- package/dist/tegel/p-bcd5e06d.entry.js +1 -0
- package/dist/tegel/p-bee9e9d1.entry.js +1 -0
- package/dist/tegel/{p-628798d4.entry.js → p-c163d44f.entry.js} +1 -1
- package/dist/tegel/p-c23a3f12.entry.js +1 -0
- package/dist/tegel/{p-8d98759c.entry.js → p-c2e514b4.entry.js} +1 -1
- package/dist/tegel/{p-ec41cf1e.entry.js → p-c5694dd6.entry.js} +1 -1
- package/dist/tegel/p-ca068263.entry.js +1 -0
- package/dist/tegel/p-ca16f1ed.entry.js +1 -0
- package/dist/tegel/p-ca32a270.entry.js +1 -0
- package/dist/tegel/p-cc962b6c.entry.js +1 -0
- package/dist/tegel/{p-57def79e.entry.js → p-ceed0476.entry.js} +1 -1
- package/dist/tegel/p-d501a665.entry.js +1 -0
- package/dist/tegel/{p-99f46fe1.entry.js → p-da38aa9a.entry.js} +1 -1
- package/dist/tegel/p-dda1ac69.entry.js +1 -0
- package/dist/tegel/p-e0dc09f9.entry.js +1 -0
- package/dist/tegel/p-e1255160.js +1 -0
- package/dist/tegel/p-e29fa563.entry.js +1 -0
- package/dist/tegel/p-e6e9d11f.entry.js +1 -0
- package/dist/tegel/p-e8b58680.entry.js +1 -0
- package/dist/tegel/p-ed66ef30.entry.js +1 -0
- package/dist/tegel/p-f5ca4fbf.entry.js +1 -0
- package/dist/tegel/p-f602b3a1.entry.js +1 -0
- package/dist/tegel/p-f8a37d39.entry.js +1 -0
- package/dist/tegel/p-f922308f.entry.js +1 -0
- package/dist/tegel/p-fb300776.entry.js +1 -0
- package/dist/tegel/p-fd22d1ca.entry.js +1 -0
- package/dist/tegel/{p-b4df0131.entry.js → p-fe4335ca.entry.js} +1 -1
- package/dist/tegel/tegel.css +1 -1
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/accordion/accordion.d.ts +1 -1
- package/dist/types/components/block/block.d.ts +1 -1
- package/dist/types/components/button/button.d.ts +1 -1
- package/dist/types/components/card/card.d.ts +1 -1
- package/dist/types/components/datetime/datetime.d.ts +2 -2
- package/dist/types/components/dropdown/dropdown.d.ts +5 -5
- package/dist/types/components/footer/footer.d.ts +1 -1
- package/dist/types/components/icon/icon.d.ts +1 -1
- package/dist/types/components/message/message.d.ts +1 -1
- package/dist/types/components/modal/modal.d.ts +1 -1
- package/dist/types/components/popover-canvas/popover-canvas.d.ts +2 -2
- package/dist/types/components/popover-core/popover-core.d.ts +4 -4
- package/dist/types/components/popover-menu/popover-menu.d.ts +2 -2
- package/dist/types/components/slider/slider-stories-setup.d.ts +2 -2
- package/dist/types/components/table/table/table.d.ts +6 -3
- package/dist/types/components/table/table-body/table-body.d.ts +3 -3
- package/dist/types/components/table/table-body-cell/table-body-cell.d.ts +8 -5
- package/dist/types/components/table/table-body-input-wrapper/table-body-input-wrapper.d.ts +2 -2
- package/dist/types/components/table/table-body-row/table-body-row.d.ts +5 -5
- package/dist/types/components/table/table-body-row-expandable/table-body-row-expandable.d.ts +7 -7
- package/dist/types/components/table/table-footer/table-footer.d.ts +4 -4
- package/dist/types/components/table/table-header/table-header.d.ts +5 -5
- package/dist/types/components/table/table-header-cell/table-header-cell.d.ts +8 -8
- package/dist/types/components/table/table-header-input-wrapper/table-header-input-wrapper.d.ts +1 -1
- package/dist/types/components/table/table-toolbar/table-toolbar.d.ts +4 -4
- package/dist/types/components/tabs/folder-tabs/folder-tabs.d.ts +1 -1
- package/dist/types/components/text-field/text-field.d.ts +1 -1
- package/dist/types/components/textarea/textarea.d.ts +2 -2
- package/dist/types/components/tooltip/tooltip.d.ts +1 -1
- package/dist/types/components.d.ts +81 -623
- package/dist/types/stencil-public-runtime.d.ts +5 -78
- package/dist/types/types/Attributes.d.ts +1 -1
- package/dist/types/utils/findNextFocusableElement.d.ts +1 -1
- package/dist/types/utils/findPreviousFocusableElement.d.ts +1 -1
- package/dist/types/utils/getNextNestedChildOfSiblingsMatching.d.ts +1 -1
- package/dist/types/utils/getPreviousNestedChildOfSiblingsMatching.d.ts +1 -1
- package/loader/package.json +11 -0
- package/package.json +2 -2
- package/dist/cjs/index-Cpz8G-hs.js +0 -2379
- package/dist/collection/utils/dom.js +0 -7
- package/dist/esm/index-Cl9XBhQW.js +0 -2350
- package/dist/tegel/p-07c5665c.entry.js +0 -1
- package/dist/tegel/p-0ab44df9.entry.js +0 -1
- package/dist/tegel/p-0e8721cf.entry.js +0 -1
- package/dist/tegel/p-1371f357.entry.js +0 -1
- package/dist/tegel/p-147d2c33.entry.js +0 -1
- package/dist/tegel/p-250a843a.entry.js +0 -1
- package/dist/tegel/p-2b89b750.entry.js +0 -1
- package/dist/tegel/p-2ebac517.entry.js +0 -1
- package/dist/tegel/p-36ea4775.entry.js +0 -1
- package/dist/tegel/p-37873e68.entry.js +0 -1
- package/dist/tegel/p-39f80d1b.entry.js +0 -1
- package/dist/tegel/p-3c409856.entry.js +0 -1
- package/dist/tegel/p-3e1edb21.entry.js +0 -1
- package/dist/tegel/p-3e27eee0.entry.js +0 -1
- package/dist/tegel/p-3f0c978a.entry.js +0 -1
- package/dist/tegel/p-41fa3671.entry.js +0 -1
- package/dist/tegel/p-4b711300.entry.js +0 -1
- package/dist/tegel/p-4ebf13bf.entry.js +0 -1
- package/dist/tegel/p-599ae54d.entry.js +0 -1
- package/dist/tegel/p-5d64b236.entry.js +0 -1
- package/dist/tegel/p-6066b5be.entry.js +0 -1
- package/dist/tegel/p-620b157a.entry.js +0 -1
- package/dist/tegel/p-624a8ca4.entry.js +0 -1
- package/dist/tegel/p-63646981.entry.js +0 -1
- package/dist/tegel/p-6cad127c.entry.js +0 -1
- package/dist/tegel/p-6d3447b7.entry.js +0 -1
- package/dist/tegel/p-71943f32.entry.js +0 -1
- package/dist/tegel/p-7ba0b456.entry.js +0 -1
- package/dist/tegel/p-802e8d8a.entry.js +0 -1
- package/dist/tegel/p-80be1071.entry.js +0 -1
- package/dist/tegel/p-8501b0d7.entry.js +0 -1
- package/dist/tegel/p-8d4d136f.entry.js +0 -1
- package/dist/tegel/p-902183d7.entry.js +0 -1
- package/dist/tegel/p-936d77e4.entry.js +0 -1
- package/dist/tegel/p-942df5c4.entry.js +0 -1
- package/dist/tegel/p-9b7ad650.entry.js +0 -1
- package/dist/tegel/p-9c62f888.entry.js +0 -1
- package/dist/tegel/p-9f25060e.entry.js +0 -1
- package/dist/tegel/p-Cl9XBhQW.js +0 -2
- package/dist/tegel/p-a08baed5.entry.js +0 -1
- package/dist/tegel/p-a30159f5.entry.js +0 -1
- package/dist/tegel/p-a3ef627e.entry.js +0 -1
- package/dist/tegel/p-aaacbe31.entry.js +0 -1
- package/dist/tegel/p-b0f44fd9.entry.js +0 -1
- package/dist/tegel/p-b509c734.entry.js +0 -1
- package/dist/tegel/p-b82a11bf.entry.js +0 -1
- package/dist/tegel/p-bbea0ac6.entry.js +0 -1
- package/dist/tegel/p-c0114238.entry.js +0 -1
- package/dist/tegel/p-c578be27.entry.js +0 -1
- package/dist/tegel/p-d5041602.entry.js +0 -1
- package/dist/tegel/p-e25343d7.entry.js +0 -1
- package/dist/tegel/p-e2ce7b37.entry.js +0 -1
- package/dist/tegel/p-e4d0d1cb.entry.js +0 -1
- package/dist/tegel/p-e853d304.entry.js +0 -1
- package/dist/tegel/p-eb479100.entry.js +0 -1
- package/dist/tegel/p-ec60f391.entry.js +0 -1
- package/dist/tegel/p-ee227187.entry.js +0 -1
- package/dist/tegel/p-ee500e52.entry.js +0 -1
- package/dist/tegel/p-f42f851e.entry.js +0 -1
- package/dist/tegel/p-f6cf2d52.entry.js +0 -1
- package/dist/types/utils/dom.d.ts +0 -2
- /package/dist/cjs/{dfs-Clg9RCmq.js → dfs-84f7f63e.js} +0 -0
- /package/dist/cjs/{generateUniqueId-ComXTAM_.js → generateUniqueId-e3fc9863.js} +0 -0
- /package/dist/cjs/{getAriaInvalid-Bdg4qUb_.js → getAriaInvalid-66a2eade.js} +0 -0
- /package/dist/cjs/{hasSlot-D-DVNhGg.js → hasSlot-1c90e9ba.js} +0 -0
- /package/dist/cjs/{inheritAttributes-CGw91JfB.js → inheritAttributes-ff9ad737.js} +0 -0
- /package/dist/components/{p-Cn4f8w1e.js → p-11648030.js} +0 -0
- /package/dist/components/{p-CF8bH08v.js → p-3fe9cbbf.js} +0 -0
- /package/dist/components/{p-CLF3diNe.js → p-52bf0fdf.js} +0 -0
- /package/dist/components/{p-CBZ6wC3m.js → p-a1181b1f.js} +0 -0
- /package/dist/components/{p-DDX6uFcm.js → p-ae110fc2.js} +0 -0
- /package/dist/components/{p-wEP_nEaO.js → p-bbf9492a.js} +0 -0
- /package/dist/esm/{dfs-CLF3diNe.js → dfs-1e574d5f.js} +0 -0
- /package/dist/esm/{generateUniqueId-Cn4f8w1e.js → generateUniqueId-7934d315.js} +0 -0
- /package/dist/esm/{getAriaInvalid-wEP_nEaO.js → getAriaInvalid-a9944cb9.js} +0 -0
- /package/dist/esm/{hasSlot-DDX6uFcm.js → hasSlot-d52114d0.js} +0 -0
- /package/dist/esm/{inheritAttributes-CF8bH08v.js → inheritAttributes-d21e267b.js} +0 -0
- /package/dist/tegel/{p-Cn4f8w1e.js → p-11648030.js} +0 -0
- /package/dist/tegel/{p-CF8bH08v.js → p-3fe9cbbf.js} +0 -0
- /package/dist/tegel/{p-CLF3diNe.js → p-52bf0fdf.js} +0 -0
- /package/dist/tegel/{p-DDX6uFcm.js → p-ae110fc2.js} +0 -0
- /package/dist/tegel/{p-wEP_nEaO.js → p-bbf9492a.js} +0 -0
|
@@ -8,20 +8,6 @@ import hasSlot from "../../utils/hasSlot";
|
|
|
8
8
|
*/
|
|
9
9
|
export class TdsBanner {
|
|
10
10
|
constructor() {
|
|
11
|
-
/** Variant of Banner */
|
|
12
|
-
this.variant = 'default';
|
|
13
|
-
/** ID used for internal table functionality and events, must be unique.
|
|
14
|
-
*
|
|
15
|
-
* **NOTE**: If you're listening for Banner close events, you need to set this ID yourself to identify the Banner,
|
|
16
|
-
* as the default ID is random and will be different every time.
|
|
17
|
-
*/
|
|
18
|
-
this.bannerId = generateUniqueId();
|
|
19
|
-
/** Hides the Banner */
|
|
20
|
-
this.hidden = false;
|
|
21
|
-
/** Defines the ARIA role of the banner. Defaults to "banner" for global use,
|
|
22
|
-
* but can be set to "region" or "alert" if used differently.
|
|
23
|
-
*/
|
|
24
|
-
this.roleType = 'banner';
|
|
25
11
|
this.handleClose = () => {
|
|
26
12
|
const tdsCloseEvent = this.tdsClose.emit({
|
|
27
13
|
bannerId: this.bannerId,
|
|
@@ -30,6 +16,13 @@ export class TdsBanner {
|
|
|
30
16
|
this.hidden = true;
|
|
31
17
|
}
|
|
32
18
|
};
|
|
19
|
+
this.icon = undefined;
|
|
20
|
+
this.header = undefined;
|
|
21
|
+
this.subheader = undefined;
|
|
22
|
+
this.variant = 'default';
|
|
23
|
+
this.bannerId = generateUniqueId();
|
|
24
|
+
this.hidden = false;
|
|
25
|
+
this.roleType = 'banner';
|
|
33
26
|
}
|
|
34
27
|
/** Hides the Banner. */
|
|
35
28
|
async hideBanner() {
|
|
@@ -76,7 +69,7 @@ export class TdsBanner {
|
|
|
76
69
|
"mutable": false,
|
|
77
70
|
"complexType": {
|
|
78
71
|
"original": "IconNames",
|
|
79
|
-
"resolved": "\"profile\" | \"expand\" | \"info\" | \"error\" | \"global\" | \"
|
|
72
|
+
"resolved": "\"profile\" | \"expand\" | \"info\" | \"error\" | \"global\" | \"merge\" | \"copy\" | \"document\" | \"audio\" | \"link\" | \"video\" | \"image\" | \"text\" | \"download\" | \"target\" | \"placeholder\" | \"history\" | \"print\" | \"key\" | \"24v_battery_inactive\" | \"24v_battery\" | \"acceleration_inactive\" | \"acceleration\" | \"adblue_inactive\" | \"adblue\" | \"arrow_diagonal\" | \"arrow_down\" | \"arrow_left\" | \"arrow_right\" | \"arrow_up\" | \"audio_inactive\" | \"award\" | \"back\" | \"backward_inactive\" | \"backward\" | \"bento\" | \"bug_inactive\" | \"bug\" | \"burger\" | \"bus_inactive\" | \"bus\" | \"calendar_inactive\" | \"calendar\" | \"camera_inactive\" | \"camera\" | \"card\" | \"cart\" | \"charging_complete\" | \"charging_failed\" | \"charging_speed_inactive\" | \"charging_speed\" | \"charging_stopped\" | \"chevron_down\" | \"chevron_left\" | \"chevron_right\" | \"chevron_up\" | \"clock_inactive\" | \"clock\" | \"configurator\" | \"contact_inactive\" | \"contact\" | \"cookie_inactive\" | \"cookie\" | \"coolant_level_inactive\" | \"coolant_level\" | \"cross\" | \"cup_inactive\" | \"cup\" | \"dashboard\" | \"department_inactive\" | \"department\" | \"departure_scheduling_inactive\" | \"departure_scheduling\" | \"diamond_inactive\" | \"diamond\" | \"document_check\" | \"document_doc\" | \"document_eye\" | \"document_pdf\" | \"document_plus_inactive\" | \"document_plus\" | \"document_ppt\" | \"document_tool\" | \"document_wrong\" | \"document_xls\" | \"dollar\" | \"doner\" | \"double_kebab\" | \"driving_licence_inactive\" | \"driving_licence\" | \"drop_inactive\" | \"drop\" | \"edit_inactive\" | \"edit\" | \"email\" | \"engine_inactive\" | \"engine\" | \"environment_inactive\" | \"environment\" | \"exit\" | \"expand_inactive\" | \"export_inactive\" | \"export\" | \"eye_inactive\" | \"eye\" | \"face_dissatisfied\" | \"face_neutral\" | \"face_satisfied\" | \"factory_inactive\" | \"factory\" | \"ferry_inactive\" | \"ferry\" | \"filters_inactive\" | \"filters\" | \"flash_inactive\" | \"flash\" | \"folder\" | \"forward_inactive\" | \"forward\" | \"fuel_gauge_inactive\" | \"fuel_gauge\" | \"fuel_inactive\" | \"fuel\" | \"gift inactive\" | \"gift\" | \"guided_tour_inactive\" | \"guided_tour\" | \"hatch_open_1\" | \"hatch_open_2\" | \"hatch_open_inactive\" | \"hatch_open\" | \"heart_inactive\" | \"heart\" | \"heating_inactive_screen\" | \"history_inactive\" | \"home_inactive\" | \"home\" | \"idea_inactive\" | \"idea\" | \"image_add\" | \"image_inactive\" | \"image_set\" | \"insights\" | \"kebab\" | \"key_inactive\" | \"layer_inactive\" | \"layer\" | \"link_broken\" | \"list_inactive\" | \"list\" | \"lock_inactive\" | \"lock\" | \"map_cursor_inactive\" | \"map_cursor\" | \"maximize_fullscreen\" | \"meatballs\" | \"merge_inactive\" | \"message_inactive\" | \"message\" | \"mileage_inactive\" | \"mileage\" | \"minimize_fullscreen\" | \"minus\" | \"navigate_inactive\" | \"navigate\" | \"notification_inactive\" | \"notification\" | \"oil_level_inactive\" | \"oil_level\" | \"pause_inactive\" | \"pause\" | \"phone_inactive\" | \"phone\" | \"pie_chart\" | \"pin_inactive\" | \"pin\" | \"play_inactive\" | \"play\" | \"plus\" | \"powerplug_inactive\" | \"powerplug\" | \"print_inactive\" | \"privacy_inactive\" | \"privacy\" | \"profile_inactive\" | \"proportions_inactive\" | \"proportions\" | \"range_inactive\" | \"range\" | \"redirect\" | \"refresh_inactive\" | \"refresh\" | \"reload_inactive\" | \"reload\" | \"repeat\" | \"report_inactive\" | \"report\" | \"route_inactive\" | \"route\" | \"save_inactive\" | \"save\" | \"search\" | \"send_inactive\" | \"send\" | \"settings\" | \"share\" | \"skip_backwards\" | \"skip_forward\" | \"smartphone_inactive\" | \"smartphone\" | \"sorting\" | \"speedometer_inactive\" | \"speedometer\" | \"star\" | \"support\" | \"target_inactive\" | \"temperature_inactive\" | \"temperature\" | \"text_inactive\" | \"thumbs_down\" | \"thumbs_up\" | \"tick\" | \"timer\" | \"tool_inactive\" | \"tool\" | \"trailer_inactive\" | \"trailer\" | \"trash_inactive\" | \"trash\" | \"truck_inactive\" | \"truck\" | \"undo_inactive\" | \"undo\" | \"unlock\" | \"upload\" | \"video_inactive\" | \"wallet\" | \"warning\" | \"weight_inactive\" | \"weight\" | \"wifi_inactive\" | \"wifi\" | \"windscreen_heating_inactive\" | \"windscreen_heating\"",
|
|
80
73
|
"references": {
|
|
81
74
|
"IconNames": {
|
|
82
75
|
"location": "import",
|
|
@@ -91,10 +84,8 @@ export class TdsBanner {
|
|
|
91
84
|
"tags": [],
|
|
92
85
|
"text": "Name of the icon for the component. For error and information variant, the icon is predefined."
|
|
93
86
|
},
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"reflect": false,
|
|
97
|
-
"attribute": "icon"
|
|
87
|
+
"attribute": "icon",
|
|
88
|
+
"reflect": false
|
|
98
89
|
},
|
|
99
90
|
"header": {
|
|
100
91
|
"type": "string",
|
|
@@ -110,10 +101,8 @@ export class TdsBanner {
|
|
|
110
101
|
"tags": [],
|
|
111
102
|
"text": "Header text."
|
|
112
103
|
},
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"reflect": false,
|
|
116
|
-
"attribute": "header"
|
|
104
|
+
"attribute": "header",
|
|
105
|
+
"reflect": false
|
|
117
106
|
},
|
|
118
107
|
"subheader": {
|
|
119
108
|
"type": "string",
|
|
@@ -129,10 +118,8 @@ export class TdsBanner {
|
|
|
129
118
|
"tags": [],
|
|
130
119
|
"text": "Subheader text."
|
|
131
120
|
},
|
|
132
|
-
"
|
|
133
|
-
"
|
|
134
|
-
"reflect": false,
|
|
135
|
-
"attribute": "subheader"
|
|
121
|
+
"attribute": "subheader",
|
|
122
|
+
"reflect": false
|
|
136
123
|
},
|
|
137
124
|
"variant": {
|
|
138
125
|
"type": "string",
|
|
@@ -148,10 +135,8 @@ export class TdsBanner {
|
|
|
148
135
|
"tags": [],
|
|
149
136
|
"text": "Variant of Banner"
|
|
150
137
|
},
|
|
151
|
-
"getter": false,
|
|
152
|
-
"setter": false,
|
|
153
|
-
"reflect": false,
|
|
154
138
|
"attribute": "variant",
|
|
139
|
+
"reflect": false,
|
|
155
140
|
"defaultValue": "'default'"
|
|
156
141
|
},
|
|
157
142
|
"bannerId": {
|
|
@@ -168,10 +153,8 @@ export class TdsBanner {
|
|
|
168
153
|
"tags": [],
|
|
169
154
|
"text": "ID used for internal table functionality and events, must be unique.\n\n**NOTE**: If you're listening for Banner close events, you need to set this ID yourself to identify the Banner,\nas the default ID is random and will be different every time."
|
|
170
155
|
},
|
|
171
|
-
"getter": false,
|
|
172
|
-
"setter": false,
|
|
173
|
-
"reflect": false,
|
|
174
156
|
"attribute": "banner-id",
|
|
157
|
+
"reflect": false,
|
|
175
158
|
"defaultValue": "generateUniqueId()"
|
|
176
159
|
},
|
|
177
160
|
"hidden": {
|
|
@@ -188,10 +171,8 @@ export class TdsBanner {
|
|
|
188
171
|
"tags": [],
|
|
189
172
|
"text": "Hides the Banner"
|
|
190
173
|
},
|
|
191
|
-
"getter": false,
|
|
192
|
-
"setter": false,
|
|
193
|
-
"reflect": true,
|
|
194
174
|
"attribute": "hidden",
|
|
175
|
+
"reflect": true,
|
|
195
176
|
"defaultValue": "false"
|
|
196
177
|
},
|
|
197
178
|
"roleType": {
|
|
@@ -208,10 +189,8 @@ export class TdsBanner {
|
|
|
208
189
|
"tags": [],
|
|
209
190
|
"text": "Defines the ARIA role of the banner. Defaults to \"banner\" for global use,\nbut can be set to \"region\" or \"alert\" if used differently."
|
|
210
191
|
},
|
|
211
|
-
"getter": false,
|
|
212
|
-
"setter": false,
|
|
213
|
-
"reflect": false,
|
|
214
192
|
"attribute": "role-type",
|
|
193
|
+
"reflect": false,
|
|
215
194
|
"defaultValue": "'banner'"
|
|
216
195
|
}
|
|
217
196
|
};
|
|
@@ -9,9 +9,7 @@ import { h } from "@stencil/core";
|
|
|
9
9
|
*/
|
|
10
10
|
export class TdsBlock {
|
|
11
11
|
constructor() {
|
|
12
|
-
/** Mode variant of the component, based on current mode. */
|
|
13
12
|
this.modeVariant = null;
|
|
14
|
-
/** Specifies the HTML tag to be used for the component wrapper. */
|
|
15
13
|
this.componentTag = 'div';
|
|
16
14
|
}
|
|
17
15
|
getNestingLevel() {
|
|
@@ -37,7 +35,7 @@ export class TdsBlock {
|
|
|
37
35
|
evenOddClass = 'tds-block-odd';
|
|
38
36
|
}
|
|
39
37
|
}
|
|
40
|
-
return (h(TagType, { key: '
|
|
38
|
+
return (h(TagType, { key: 'd5d08c72dcca1716e58f21bd231912ad17a72b08', class: `tds-block ${evenOddClass} ${this.modeVariant !== null ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("slot", { key: 'a7884e78c4e569d4b55782b16b73c670aabe8390' })));
|
|
41
39
|
}
|
|
42
40
|
static get is() { return "tds-block"; }
|
|
43
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -57,8 +55,8 @@ export class TdsBlock {
|
|
|
57
55
|
"type": "string",
|
|
58
56
|
"mutable": false,
|
|
59
57
|
"complexType": {
|
|
60
|
-
"original": "'primary' | 'secondary'",
|
|
61
|
-
"resolved": "\"primary\" | \"secondary\"",
|
|
58
|
+
"original": "'primary' | 'secondary' | null",
|
|
59
|
+
"resolved": "\"primary\" | \"secondary\" | null",
|
|
62
60
|
"references": {}
|
|
63
61
|
},
|
|
64
62
|
"required": false,
|
|
@@ -67,10 +65,8 @@ export class TdsBlock {
|
|
|
67
65
|
"tags": [],
|
|
68
66
|
"text": "Mode variant of the component, based on current mode."
|
|
69
67
|
},
|
|
70
|
-
"getter": false,
|
|
71
|
-
"setter": false,
|
|
72
|
-
"reflect": false,
|
|
73
68
|
"attribute": "mode-variant",
|
|
69
|
+
"reflect": false,
|
|
74
70
|
"defaultValue": "null"
|
|
75
71
|
},
|
|
76
72
|
"componentTag": {
|
|
@@ -87,10 +83,8 @@ export class TdsBlock {
|
|
|
87
83
|
"tags": [],
|
|
88
84
|
"text": "Specifies the HTML tag to be used for the component wrapper."
|
|
89
85
|
},
|
|
90
|
-
"getter": false,
|
|
91
|
-
"setter": false,
|
|
92
|
-
"reflect": false,
|
|
93
86
|
"attribute": "component-tag",
|
|
87
|
+
"reflect": false,
|
|
94
88
|
"defaultValue": "'div'"
|
|
95
89
|
}
|
|
96
90
|
};
|
|
@@ -4,7 +4,6 @@ import { h, Host } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class TdsBreadcrumb {
|
|
6
6
|
constructor() {
|
|
7
|
-
/** Boolean for the current link */
|
|
8
7
|
this.current = false;
|
|
9
8
|
}
|
|
10
9
|
render() {
|
|
@@ -38,10 +37,8 @@ export class TdsBreadcrumb {
|
|
|
38
37
|
"tags": [],
|
|
39
38
|
"text": "Boolean for the current link"
|
|
40
39
|
},
|
|
41
|
-
"getter": false,
|
|
42
|
-
"setter": false,
|
|
43
|
-
"reflect": false,
|
|
44
40
|
"attribute": "current",
|
|
41
|
+
"reflect": false,
|
|
45
42
|
"defaultValue": "false"
|
|
46
43
|
}
|
|
47
44
|
};
|
|
@@ -3,6 +3,9 @@ import { h } from "@stencil/core";
|
|
|
3
3
|
* @slot <default> - <b>Unnamed slot.</b> For the breadcrumb elements.
|
|
4
4
|
*/
|
|
5
5
|
export class TdsBreadcrumbs {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.tdsAriaLabel = undefined;
|
|
8
|
+
}
|
|
6
9
|
render() {
|
|
7
10
|
var _a;
|
|
8
11
|
(_a = this.host.children[this.host.children.length - 1]) === null || _a === void 0 ? void 0 : _a.classList.add('last');
|
|
@@ -36,10 +39,8 @@ export class TdsBreadcrumbs {
|
|
|
36
39
|
"tags": [],
|
|
37
40
|
"text": "The value to be used for the aria-label attribute"
|
|
38
41
|
},
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"reflect": false,
|
|
42
|
-
"attribute": "tds-aria-label"
|
|
42
|
+
"attribute": "tds-aria-label",
|
|
43
|
+
"reflect": false
|
|
43
44
|
}
|
|
44
45
|
};
|
|
45
46
|
}
|
|
@@ -6,30 +6,29 @@ import hasSlot from "../../utils/hasSlot";
|
|
|
6
6
|
*/
|
|
7
7
|
export class TdsButton {
|
|
8
8
|
constructor() {
|
|
9
|
-
|
|
9
|
+
this.text = undefined;
|
|
10
10
|
this.type = 'button';
|
|
11
|
-
/** Variation of Button's design */
|
|
12
11
|
this.variant = 'primary';
|
|
13
|
-
/** Size of a Button */
|
|
14
12
|
this.size = 'lg';
|
|
15
|
-
/** Control for disabled state of a component */
|
|
16
13
|
this.disabled = false;
|
|
17
|
-
/** When enabled, the Button takes 100% width */
|
|
18
14
|
this.fullbleed = false;
|
|
19
|
-
/** Set the mode variant of the Button. */
|
|
20
15
|
this.modeVariant = null;
|
|
21
|
-
/** Determines if and how the button should animate. */
|
|
22
16
|
this.animation = 'none';
|
|
17
|
+
this.tdsAriaLabel = undefined;
|
|
18
|
+
this.name = undefined;
|
|
19
|
+
this.value = undefined;
|
|
23
20
|
this.onlyIcon = false;
|
|
24
21
|
}
|
|
25
22
|
handleKeyDown(event) {
|
|
23
|
+
var _a;
|
|
26
24
|
if (event.key === 'Enter' && !this.disabled) {
|
|
27
|
-
this.host.querySelector('button').classList.add('active');
|
|
25
|
+
(_a = this.host.querySelector('button')) === null || _a === void 0 ? void 0 : _a.classList.add('active');
|
|
28
26
|
}
|
|
29
27
|
}
|
|
30
28
|
handleKeyUp(event) {
|
|
29
|
+
var _a;
|
|
31
30
|
if (event.key === 'Enter' && !this.disabled) {
|
|
32
|
-
this.host.querySelector('button').classList.remove('active');
|
|
31
|
+
(_a = this.host.querySelector('button')) === null || _a === void 0 ? void 0 : _a.classList.remove('active');
|
|
33
32
|
}
|
|
34
33
|
}
|
|
35
34
|
render() {
|
|
@@ -38,11 +37,11 @@ export class TdsButton {
|
|
|
38
37
|
if (!this.text && !hasLabelSlot) {
|
|
39
38
|
this.onlyIcon = true;
|
|
40
39
|
}
|
|
41
|
-
return (h(Host, { key: '
|
|
40
|
+
return (h(Host, { key: '21f6dc31ba1b823cb16f9fe305ae25787e19a30b', class: {
|
|
42
41
|
[`tds-mode-variant-${this.modeVariant}`]: Boolean(this.modeVariant),
|
|
43
42
|
disabled: Boolean(this.disabled),
|
|
44
43
|
fullbleed: Boolean(this.fullbleed),
|
|
45
|
-
}, disabled: this.disabled }, h("button", Object.assign({ key: '
|
|
44
|
+
}, disabled: this.disabled }, h("button", Object.assign({ key: 'bd728c9a035b0625ac1aad1fd6c3b95bff1968ef', type: this.type, name: this.name ? this.name : undefined, value: this.value ? this.value : undefined, disabled: this.disabled, class: {
|
|
46
45
|
'primary': this.variant === 'primary',
|
|
47
46
|
'secondary': this.variant === 'secondary',
|
|
48
47
|
'ghost': this.variant === 'ghost',
|
|
@@ -56,7 +55,7 @@ export class TdsButton {
|
|
|
56
55
|
'icon': hasIconSlot,
|
|
57
56
|
'only-icon': this.onlyIcon,
|
|
58
57
|
[`animation-${this.animation}`]: this.animation !== 'none',
|
|
59
|
-
} }, (this.onlyIcon && this.tdsAriaLabel && { 'aria-label': this.tdsAriaLabel })), this.text, hasLabelSlot && !this.onlyIcon && h("slot", { key: '
|
|
58
|
+
} }, (this.onlyIcon && this.tdsAriaLabel && { 'aria-label': this.tdsAriaLabel })), this.text, hasLabelSlot && !this.onlyIcon && h("slot", { key: '91fd005e481049141b0a34f654f1a3f2c7ff8c20', name: "label" }), hasIconSlot && h("slot", { key: '52a6ae5066c89b72f953026bdb49037274005e75', name: "icon" }))));
|
|
60
59
|
}
|
|
61
60
|
static get is() { return "tds-button"; }
|
|
62
61
|
static get encapsulation() { return "scoped"; }
|
|
@@ -86,10 +85,8 @@ export class TdsButton {
|
|
|
86
85
|
"tags": [],
|
|
87
86
|
"text": "Text displayed inside the Button"
|
|
88
87
|
},
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"reflect": false,
|
|
92
|
-
"attribute": "text"
|
|
88
|
+
"attribute": "text",
|
|
89
|
+
"reflect": false
|
|
93
90
|
},
|
|
94
91
|
"type": {
|
|
95
92
|
"type": "string",
|
|
@@ -105,10 +102,8 @@ export class TdsButton {
|
|
|
105
102
|
"tags": [],
|
|
106
103
|
"text": "Button's type"
|
|
107
104
|
},
|
|
108
|
-
"getter": false,
|
|
109
|
-
"setter": false,
|
|
110
|
-
"reflect": false,
|
|
111
105
|
"attribute": "type",
|
|
106
|
+
"reflect": false,
|
|
112
107
|
"defaultValue": "'button'"
|
|
113
108
|
},
|
|
114
109
|
"variant": {
|
|
@@ -125,10 +120,8 @@ export class TdsButton {
|
|
|
125
120
|
"tags": [],
|
|
126
121
|
"text": "Variation of Button's design"
|
|
127
122
|
},
|
|
128
|
-
"getter": false,
|
|
129
|
-
"setter": false,
|
|
130
|
-
"reflect": false,
|
|
131
123
|
"attribute": "variant",
|
|
124
|
+
"reflect": false,
|
|
132
125
|
"defaultValue": "'primary'"
|
|
133
126
|
},
|
|
134
127
|
"size": {
|
|
@@ -145,10 +138,8 @@ export class TdsButton {
|
|
|
145
138
|
"tags": [],
|
|
146
139
|
"text": "Size of a Button"
|
|
147
140
|
},
|
|
148
|
-
"getter": false,
|
|
149
|
-
"setter": false,
|
|
150
|
-
"reflect": false,
|
|
151
141
|
"attribute": "size",
|
|
142
|
+
"reflect": false,
|
|
152
143
|
"defaultValue": "'lg'"
|
|
153
144
|
},
|
|
154
145
|
"disabled": {
|
|
@@ -165,10 +156,8 @@ export class TdsButton {
|
|
|
165
156
|
"tags": [],
|
|
166
157
|
"text": "Control for disabled state of a component"
|
|
167
158
|
},
|
|
168
|
-
"getter": false,
|
|
169
|
-
"setter": false,
|
|
170
|
-
"reflect": false,
|
|
171
159
|
"attribute": "disabled",
|
|
160
|
+
"reflect": false,
|
|
172
161
|
"defaultValue": "false"
|
|
173
162
|
},
|
|
174
163
|
"fullbleed": {
|
|
@@ -185,18 +174,16 @@ export class TdsButton {
|
|
|
185
174
|
"tags": [],
|
|
186
175
|
"text": "When enabled, the Button takes 100% width"
|
|
187
176
|
},
|
|
188
|
-
"getter": false,
|
|
189
|
-
"setter": false,
|
|
190
|
-
"reflect": false,
|
|
191
177
|
"attribute": "fullbleed",
|
|
178
|
+
"reflect": false,
|
|
192
179
|
"defaultValue": "false"
|
|
193
180
|
},
|
|
194
181
|
"modeVariant": {
|
|
195
182
|
"type": "string",
|
|
196
183
|
"mutable": false,
|
|
197
184
|
"complexType": {
|
|
198
|
-
"original": "'primary' | 'secondary'",
|
|
199
|
-
"resolved": "\"primary\" | \"secondary\"",
|
|
185
|
+
"original": "'primary' | 'secondary' | null",
|
|
186
|
+
"resolved": "\"primary\" | \"secondary\" | null",
|
|
200
187
|
"references": {}
|
|
201
188
|
},
|
|
202
189
|
"required": false,
|
|
@@ -205,10 +192,8 @@ export class TdsButton {
|
|
|
205
192
|
"tags": [],
|
|
206
193
|
"text": "Set the mode variant of the Button."
|
|
207
194
|
},
|
|
208
|
-
"getter": false,
|
|
209
|
-
"setter": false,
|
|
210
|
-
"reflect": false,
|
|
211
195
|
"attribute": "mode-variant",
|
|
196
|
+
"reflect": false,
|
|
212
197
|
"defaultValue": "null"
|
|
213
198
|
},
|
|
214
199
|
"animation": {
|
|
@@ -225,10 +210,8 @@ export class TdsButton {
|
|
|
225
210
|
"tags": [],
|
|
226
211
|
"text": "Determines if and how the button should animate."
|
|
227
212
|
},
|
|
228
|
-
"getter": false,
|
|
229
|
-
"setter": false,
|
|
230
|
-
"reflect": false,
|
|
231
213
|
"attribute": "animation",
|
|
214
|
+
"reflect": false,
|
|
232
215
|
"defaultValue": "'none'"
|
|
233
216
|
},
|
|
234
217
|
"tdsAriaLabel": {
|
|
@@ -245,10 +228,8 @@ export class TdsButton {
|
|
|
245
228
|
"tags": [],
|
|
246
229
|
"text": "The value to be used for the aria-label attribute if onlyIcon is set to true"
|
|
247
230
|
},
|
|
248
|
-
"
|
|
249
|
-
"
|
|
250
|
-
"reflect": false,
|
|
251
|
-
"attribute": "tds-aria-label"
|
|
231
|
+
"attribute": "tds-aria-label",
|
|
232
|
+
"reflect": false
|
|
252
233
|
},
|
|
253
234
|
"name": {
|
|
254
235
|
"type": "string",
|
|
@@ -264,10 +245,8 @@ export class TdsButton {
|
|
|
264
245
|
"tags": [],
|
|
265
246
|
"text": "The name attribute allows for different ways of accessing the button element"
|
|
266
247
|
},
|
|
267
|
-
"
|
|
268
|
-
"
|
|
269
|
-
"reflect": false,
|
|
270
|
-
"attribute": "name"
|
|
248
|
+
"attribute": "name",
|
|
249
|
+
"reflect": false
|
|
271
250
|
},
|
|
272
251
|
"value": {
|
|
273
252
|
"type": "string",
|
|
@@ -283,10 +262,8 @@ export class TdsButton {
|
|
|
283
262
|
"tags": [],
|
|
284
263
|
"text": "The value attribute can be used when handling a form submission"
|
|
285
264
|
},
|
|
286
|
-
"
|
|
287
|
-
"
|
|
288
|
-
"reflect": false,
|
|
289
|
-
"attribute": "value"
|
|
265
|
+
"attribute": "value",
|
|
266
|
+
"reflect": false
|
|
290
267
|
}
|
|
291
268
|
};
|
|
292
269
|
}
|