@scania/tegel 1.43.0 → 1.44.0-sonarcloud.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/tds-accordion-item.cjs.entry.js +3 -3
- package/dist/cjs/tds-banner.cjs.entry.js +2 -2
- package/dist/cjs/tds-block.cjs.entry.js +1 -1
- package/dist/cjs/tds-body-cell.cjs.entry.js +4 -4
- package/dist/cjs/tds-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/tds-button_2.cjs.entry.js +3 -3
- package/dist/cjs/tds-card.cjs.entry.js +2 -2
- package/dist/cjs/tds-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/tds-chip.cjs.entry.js +1 -1
- package/dist/cjs/tds-core-header-item_2.cjs.entry.js +2 -2
- package/dist/cjs/tds-datetime.cjs.entry.js +5 -5
- package/dist/cjs/tds-dropdown_2.cjs.entry.js +13 -13
- package/dist/cjs/tds-folder-tab.cjs.entry.js +2 -2
- package/dist/cjs/tds-folder-tabs.cjs.entry.js +8 -4
- package/dist/cjs/tds-footer-group.cjs.entry.js +4 -4
- package/dist/cjs/tds-footer-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-footer.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-cell.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/tds-header-hamburger.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-button.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher.cjs.entry.js +3 -3
- package/dist/cjs/tds-header-title.cjs.entry.js +1 -1
- package/dist/cjs/tds-header.cjs.entry.js +2 -2
- package/dist/cjs/tds-icon.cjs.entry.js +2 -2
- package/dist/cjs/tds-inline-tab.cjs.entry.js +2 -2
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +6 -3
- package/dist/cjs/tds-link.cjs.entry.js +2 -2
- package/dist/cjs/tds-message.cjs.entry.js +3 -3
- package/dist/cjs/tds-modal.cjs.entry.js +6 -6
- package/dist/cjs/tds-navigation-tab.cjs.entry.js +2 -2
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +8 -5
- package/dist/cjs/tds-popover-canvas.cjs.entry.js +3 -3
- package/dist/cjs/tds-popover-core.cjs.entry.js +10 -10
- package/dist/cjs/tds-popover-menu.cjs.entry.js +3 -3
- package/dist/cjs/tds-radio-button.cjs.entry.js +2 -2
- package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +3 -3
- package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +2 -2
- package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +2 -2
- package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +7 -4
- package/dist/cjs/tds-side-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +2 -2
- package/dist/cjs/tds-side-menu-user.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu.cjs.entry.js +4 -4
- package/dist/cjs/tds-slider.cjs.entry.js +9 -8
- package/dist/cjs/tds-step.cjs.entry.js +1 -1
- package/dist/cjs/tds-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +7 -7
- package/dist/cjs/tds-table-body-row.cjs.entry.js +2 -2
- package/dist/cjs/tds-table-body.cjs.entry.js +3 -3
- package/dist/cjs/tds-table-footer.cjs.entry.js +5 -5
- package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-header.cjs.entry.js +2 -2
- package/dist/cjs/tds-table-toolbar.cjs.entry.js +2 -2
- package/dist/cjs/tds-table.cjs.entry.js +8 -8
- package/dist/cjs/tds-tag.cjs.entry.js +1 -1
- package/dist/cjs/tds-text-field.cjs.entry.js +7 -7
- package/dist/cjs/tds-textarea.cjs.entry.js +5 -5
- package/dist/cjs/tds-toast.cjs.entry.js +3 -3
- package/dist/cjs/tds-toggle.cjs.entry.js +3 -3
- package/dist/cjs/tds-tooltip.cjs.entry.js +3 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/accordion/accordion-item/accordion-item.js +3 -3
- package/dist/collection/components/banner/banner.js +8 -8
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +3 -3
- package/dist/collection/components/button/button.js +11 -11
- package/dist/collection/components/card/card.js +10 -10
- package/dist/collection/components/checkbox/checkbox.js +10 -10
- package/dist/collection/components/chip/chip.js +11 -11
- package/dist/collection/components/datetime/datetime.js +13 -13
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +6 -6
- package/dist/collection/components/dropdown/dropdown.css +2 -1
- package/dist/collection/components/dropdown/dropdown.js +27 -27
- package/dist/collection/components/footer/footer-group/footer-group.js +8 -8
- package/dist/collection/components/footer/footer-item/footer-item.js +1 -1
- package/dist/collection/components/footer/footer.js +2 -2
- package/dist/collection/components/header/header-brand-symbol/header-brand-symbol.js +1 -1
- package/dist/collection/components/header/header-dropdown/header-dropdown.css +2 -1
- package/dist/collection/components/header/header-dropdown/header-dropdown.js +7 -7
- package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +1 -1
- package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.js +2 -2
- package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.js +9 -9
- package/dist/collection/components/header/header-hamburger/header-hamburger.js +3 -3
- package/dist/collection/components/header/header-item/header-item.js +2 -2
- package/dist/collection/components/header/header-launcher/header-launcher.css +2 -1
- package/dist/collection/components/header/header-launcher/header-launcher.js +4 -4
- package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +3 -3
- package/dist/collection/components/header/header-launcher-grid/header-launcher-grid.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 +1 -1
- package/dist/collection/components/header/header.css +2 -1
- package/dist/collection/components/header/header.js +1 -1
- package/dist/collection/components/icon/icon.js +2 -2
- package/dist/collection/components/link/link.js +2 -2
- package/dist/collection/components/message/message.css +3 -2
- package/dist/collection/components/message/message.js +6 -6
- package/dist/collection/components/modal/modal.css +2 -3
- package/dist/collection/components/modal/modal.js +15 -11
- package/dist/collection/components/popover-canvas/popover-canvas.js +5 -5
- package/dist/collection/components/popover-core/popover-core.js +12 -12
- package/dist/collection/components/popover-menu/popover-menu.js +5 -5
- package/dist/collection/components/radio-button/radio-button.js +12 -12
- 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 +3 -3
- package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +9 -6
- 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.js +2 -2
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +2 -2
- package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +7 -7
- package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +5 -5
- package/dist/collection/components/side-menu/side-menu-user-label/side-menu-user-label.js +3 -3
- package/dist/collection/components/side-menu/side-menu.css +2 -1
- package/dist/collection/components/side-menu/side-menu.js +3 -3
- package/dist/collection/components/slider/slider.js +9 -8
- package/dist/collection/components/stepper/step/step.js +5 -5
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/table/table/table.css +2 -1
- package/dist/collection/components/table/table/table.js +9 -9
- package/dist/collection/components/table/table-body/table-body.js +3 -3
- package/dist/collection/components/table/table-body-cell/table-body-cell.js +18 -12
- package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +1 -1
- package/dist/collection/components/table/table-body-row/table-body-row.js +2 -2
- package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +9 -9
- package/dist/collection/components/table/table-footer/table-footer.js +5 -5
- package/dist/collection/components/table/table-header/table-header.js +4 -4
- package/dist/collection/components/table/table-header-cell/table-header-cell.js +10 -4
- package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +1 -1
- package/dist/collection/components/table/table-toolbar/table-toolbar.js +2 -2
- package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +2 -2
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +12 -8
- package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +2 -2
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +10 -7
- package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +2 -2
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +12 -9
- package/dist/collection/components/tag/tag.js +1 -1
- package/dist/collection/components/text-field/text-field.js +19 -19
- package/dist/collection/components/textarea/textarea.js +15 -15
- package/dist/collection/components/toast/toast.js +9 -9
- package/dist/collection/components/toggle/toggle.js +9 -9
- package/dist/collection/components/tooltip/tooltip.js +7 -6
- package/dist/collection/utils/appendHiddenInput.js +1 -1
- package/dist/components/{p-3f2187a4.js → p-0f9ce30b.js} +1 -1
- package/dist/components/{p-81499e0f.js → p-122f8027.js} +10 -10
- package/dist/components/{p-edc838a0.js → p-2d8f385e.js} +2 -2
- package/dist/components/{p-bff614d5.js → p-32351d04.js} +1 -1
- package/dist/components/{p-415fafb3.js → p-49b20476.js} +4 -4
- package/dist/components/{p-ead6727f.js → p-4c0aa33f.js} +2 -2
- package/dist/components/{p-ad376f70.js → p-4f672d4f.js} +4 -3
- package/dist/components/{p-91803ba5.js → p-542226b2.js} +2 -2
- package/dist/components/{p-e0ccf8e6.js → p-5725d7a2.js} +2 -2
- package/dist/components/{p-e52a9953.js → p-6fa6de6f.js} +12 -12
- package/dist/components/{p-d9cffacb.js → p-b6a99457.js} +4 -4
- package/dist/components/{p-de86852a.js → p-e0997ae2.js} +2 -2
- package/dist/components/{p-6fd2b339.js → p-e62ed985.js} +10 -10
- package/dist/components/{p-0d286c19.js → p-f2a10fa2.js} +3 -3
- package/dist/components/{p-799470b1.js → p-f6685f1b.js} +3 -3
- package/dist/components/{p-da11a695.js → p-f8db4031.js} +1 -1
- package/dist/components/tds-accordion-item.js +4 -4
- package/dist/components/tds-banner.js +3 -3
- package/dist/components/tds-block.js +1 -1
- package/dist/components/tds-body-cell.js +4 -4
- package/dist/components/tds-breadcrumbs.js +1 -1
- package/dist/components/tds-button.js +1 -1
- package/dist/components/tds-card.js +4 -4
- package/dist/components/tds-checkbox.js +1 -1
- package/dist/components/tds-chip.js +1 -1
- package/dist/components/tds-datetime.js +6 -6
- package/dist/components/tds-dropdown-option.js +1 -1
- package/dist/components/tds-dropdown.js +1 -1
- package/dist/components/tds-folder-tab.js +2 -2
- package/dist/components/tds-folder-tabs.js +9 -5
- package/dist/components/tds-footer-group.js +5 -5
- package/dist/components/tds-footer-item.js +1 -1
- package/dist/components/tds-footer.js +2 -2
- package/dist/components/tds-header-brand-symbol.js +2 -2
- package/dist/components/tds-header-cell.js +3 -3
- package/dist/components/tds-header-dropdown-list-item.js +1 -1
- package/dist/components/tds-header-dropdown-list-user.js +1 -1
- package/dist/components/tds-header-dropdown-list.js +1 -1
- package/dist/components/tds-header-dropdown.js +8 -8
- package/dist/components/tds-header-hamburger.js +3 -3
- 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.js +1 -1
- package/dist/components/tds-header-launcher-list-item.js +1 -1
- package/dist/components/tds-header-launcher-list-title.js +1 -1
- package/dist/components/tds-header-launcher-list.js +1 -1
- package/dist/components/tds-header-launcher.js +8 -8
- package/dist/components/tds-header-title.js +1 -1
- package/dist/components/tds-header.js +2 -2
- package/dist/components/tds-icon.js +1 -1
- package/dist/components/tds-inline-tab.js +2 -2
- package/dist/components/tds-inline-tabs.js +7 -4
- package/dist/components/tds-link.js +2 -2
- package/dist/components/tds-message.js +4 -4
- package/dist/components/tds-modal.js +7 -7
- package/dist/components/tds-navigation-tab.js +2 -2
- package/dist/components/tds-navigation-tabs.js +9 -6
- package/dist/components/tds-popover-canvas.js +1 -1
- package/dist/components/tds-popover-core.js +1 -1
- package/dist/components/tds-popover-menu.js +4 -4
- package/dist/components/tds-radio-button.js +2 -2
- package/dist/components/tds-side-menu-close-button.js +2 -2
- package/dist/components/tds-side-menu-collapse-button.js +4 -4
- package/dist/components/tds-side-menu-dropdown-list-item.js +2 -2
- package/dist/components/tds-side-menu-dropdown-list.js +2 -2
- package/dist/components/tds-side-menu-dropdown.js +9 -6
- package/dist/components/tds-side-menu-item.js +1 -1
- 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 +3 -3
- package/dist/components/tds-side-menu.js +4 -4
- package/dist/components/tds-slider.js +13 -12
- package/dist/components/tds-step.js +2 -2
- package/dist/components/tds-stepper.js +1 -1
- package/dist/components/tds-table-body-input-wrapper.js +2 -2
- package/dist/components/tds-table-body-row-expandable.js +7 -7
- package/dist/components/tds-table-body-row.js +3 -3
- package/dist/components/tds-table-body.js +3 -3
- package/dist/components/tds-table-footer.js +9 -9
- package/dist/components/tds-table-header-input-wrapper.js +2 -2
- package/dist/components/tds-table-header.js +3 -3
- package/dist/components/tds-table-toolbar.js +3 -3
- package/dist/components/tds-table.js +8 -8
- package/dist/components/tds-tag.js +1 -1
- package/dist/components/tds-text-field.js +1 -1
- package/dist/components/tds-textarea.js +8 -8
- package/dist/components/tds-toast.js +4 -4
- package/dist/components/tds-toggle.js +3 -3
- package/dist/components/tds-tooltip.js +1 -1
- package/dist/esm/tds-accordion-item.entry.js +3 -3
- package/dist/esm/tds-banner.entry.js +2 -2
- package/dist/esm/tds-block.entry.js +1 -1
- package/dist/esm/tds-body-cell.entry.js +4 -4
- package/dist/esm/tds-breadcrumbs.entry.js +1 -1
- package/dist/esm/tds-button_2.entry.js +3 -3
- package/dist/esm/tds-card.entry.js +2 -2
- package/dist/esm/tds-checkbox.entry.js +2 -2
- package/dist/esm/tds-chip.entry.js +1 -1
- package/dist/esm/tds-core-header-item_2.entry.js +2 -2
- package/dist/esm/tds-datetime.entry.js +5 -5
- package/dist/esm/tds-dropdown_2.entry.js +13 -13
- package/dist/esm/tds-folder-tab.entry.js +2 -2
- package/dist/esm/tds-folder-tabs.entry.js +8 -4
- package/dist/esm/tds-footer-group.entry.js +4 -4
- package/dist/esm/tds-footer-item.entry.js +1 -1
- package/dist/esm/tds-footer.entry.js +2 -2
- package/dist/esm/tds-header-brand-symbol.entry.js +1 -1
- package/dist/esm/tds-header-cell.entry.js +2 -2
- package/dist/esm/tds-header-dropdown-list-item.entry.js +2 -2
- package/dist/esm/tds-header-dropdown-list-user.entry.js +1 -1
- package/dist/esm/tds-header-dropdown-list.entry.js +1 -1
- package/dist/esm/tds-header-dropdown.entry.js +4 -4
- package/dist/esm/tds-header-hamburger.entry.js +1 -1
- package/dist/esm/tds-header-launcher-button.entry.js +1 -1
- package/dist/esm/tds-header-launcher-grid.entry.js +1 -1
- package/dist/esm/tds-header-launcher-list-title.entry.js +1 -1
- package/dist/esm/tds-header-launcher.entry.js +3 -3
- package/dist/esm/tds-header-title.entry.js +1 -1
- package/dist/esm/tds-header.entry.js +2 -2
- package/dist/esm/tds-icon.entry.js +2 -2
- package/dist/esm/tds-inline-tab.entry.js +2 -2
- package/dist/esm/tds-inline-tabs.entry.js +6 -3
- package/dist/esm/tds-link.entry.js +2 -2
- package/dist/esm/tds-message.entry.js +3 -3
- package/dist/esm/tds-modal.entry.js +6 -6
- package/dist/esm/tds-navigation-tab.entry.js +2 -2
- package/dist/esm/tds-navigation-tabs.entry.js +8 -5
- package/dist/esm/tds-popover-canvas.entry.js +3 -3
- package/dist/esm/tds-popover-core.entry.js +10 -10
- package/dist/esm/tds-popover-menu.entry.js +3 -3
- package/dist/esm/tds-radio-button.entry.js +2 -2
- package/dist/esm/tds-side-menu-close-button.entry.js +1 -1
- package/dist/esm/tds-side-menu-collapse-button.entry.js +3 -3
- package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +2 -2
- package/dist/esm/tds-side-menu-dropdown-list.entry.js +2 -2
- package/dist/esm/tds-side-menu-dropdown.entry.js +7 -4
- package/dist/esm/tds-side-menu-item.entry.js +2 -2
- package/dist/esm/tds-side-menu-user-image_2.entry.js +2 -2
- package/dist/esm/tds-side-menu-user.entry.js +1 -1
- package/dist/esm/tds-side-menu.entry.js +4 -4
- package/dist/esm/tds-slider.entry.js +9 -8
- package/dist/esm/tds-step.entry.js +1 -1
- package/dist/esm/tds-stepper.entry.js +1 -1
- package/dist/esm/tds-table-body-input-wrapper.entry.js +1 -1
- package/dist/esm/tds-table-body-row-expandable.entry.js +7 -7
- package/dist/esm/tds-table-body-row.entry.js +2 -2
- package/dist/esm/tds-table-body.entry.js +3 -3
- package/dist/esm/tds-table-footer.entry.js +5 -5
- package/dist/esm/tds-table-header-input-wrapper.entry.js +1 -1
- package/dist/esm/tds-table-header.entry.js +2 -2
- package/dist/esm/tds-table-toolbar.entry.js +2 -2
- package/dist/esm/tds-table.entry.js +8 -8
- package/dist/esm/tds-tag.entry.js +1 -1
- package/dist/esm/tds-text-field.entry.js +7 -7
- package/dist/esm/tds-textarea.entry.js +5 -5
- package/dist/esm/tds-toast.entry.js +3 -3
- package/dist/esm/tds-toggle.entry.js +3 -3
- package/dist/esm/tds-tooltip.entry.js +3 -2
- package/dist/tegel/{p-6a472310.entry.js → p-066e9613.entry.js} +1 -1
- package/dist/tegel/p-0684b6d3.entry.js +1 -0
- package/dist/tegel/{p-d501a665.entry.js → p-078217d1.entry.js} +1 -1
- package/dist/tegel/p-07d16763.entry.js +1 -0
- package/dist/tegel/{p-c2e514b4.entry.js → p-08c993f3.entry.js} +1 -1
- package/dist/tegel/p-08f5a526.entry.js +1 -0
- package/dist/tegel/p-0e3fcc9f.entry.js +1 -0
- package/dist/tegel/{p-646d1df4.entry.js → p-10340b85.entry.js} +1 -1
- package/dist/tegel/{p-da38aa9a.entry.js → p-106dd3e9.entry.js} +1 -1
- package/dist/tegel/p-1073fb33.entry.js +1 -0
- package/dist/tegel/{p-e29fa563.entry.js → p-15ae9443.entry.js} +1 -1
- package/dist/tegel/p-15b9a73b.entry.js +1 -0
- package/dist/tegel/{p-9b06bd5f.entry.js → p-17893043.entry.js} +1 -1
- package/dist/tegel/p-25928640.entry.js +1 -0
- package/dist/tegel/{p-a60ed3de.entry.js → p-25c4e6f6.entry.js} +1 -1
- package/dist/tegel/{p-c5694dd6.entry.js → p-300af79f.entry.js} +1 -1
- package/dist/tegel/p-336abf3f.entry.js +1 -0
- package/dist/tegel/{p-a6dca188.entry.js → p-38725623.entry.js} +1 -1
- package/dist/tegel/p-3ba2e575.entry.js +1 -0
- package/dist/tegel/p-419212b5.entry.js +1 -0
- package/dist/tegel/{p-bb8c2a36.entry.js → p-4909249c.entry.js} +1 -1
- package/dist/tegel/{p-40d99d7d.entry.js → p-4a10393b.entry.js} +1 -1
- package/dist/tegel/{p-fe4335ca.entry.js → p-4a32a7f8.entry.js} +1 -1
- package/dist/tegel/{p-b9afb39e.entry.js → p-4a7c213f.entry.js} +1 -1
- package/dist/tegel/p-4abe96b6.entry.js +1 -0
- package/dist/tegel/p-508a55c0.entry.js +1 -0
- package/dist/tegel/{p-252a7d3f.entry.js → p-576a60ff.entry.js} +1 -1
- package/dist/tegel/{p-ca32a270.entry.js → p-57a2d4de.entry.js} +1 -1
- package/dist/tegel/p-5b80467f.entry.js +1 -0
- package/dist/tegel/{p-ca16f1ed.entry.js → p-5bab691f.entry.js} +1 -1
- package/dist/tegel/{p-655051b6.entry.js → p-608997fa.entry.js} +1 -1
- package/dist/tegel/p-63f77d7c.entry.js +1 -0
- package/dist/tegel/p-6bb6425c.entry.js +1 -0
- package/dist/tegel/{p-e6e9d11f.entry.js → p-739068bf.entry.js} +1 -1
- package/dist/tegel/{p-88bb1059.entry.js → p-79fb0088.entry.js} +1 -1
- package/dist/tegel/p-8e930da5.entry.js +1 -0
- package/dist/tegel/p-947ec2b0.entry.js +1 -0
- package/dist/tegel/p-9ec850a5.entry.js +1 -0
- package/dist/tegel/p-9f154997.entry.js +1 -0
- package/dist/tegel/{p-942f8c6f.entry.js → p-a00ad341.entry.js} +1 -1
- package/dist/tegel/{p-1e1a87c1.entry.js → p-a15280db.entry.js} +1 -1
- package/dist/tegel/{p-fd22d1ca.entry.js → p-a2aaf61c.entry.js} +1 -1
- package/dist/tegel/p-aa795666.entry.js +1 -0
- package/dist/tegel/{p-f8a37d39.entry.js → p-bc697ea7.entry.js} +1 -1
- package/dist/tegel/{p-08c16b2f.entry.js → p-bf40233e.entry.js} +1 -1
- package/dist/tegel/{p-177386d5.entry.js → p-c05f61d6.entry.js} +1 -1
- package/dist/tegel/{p-b7abb81f.entry.js → p-c2ab817d.entry.js} +1 -1
- package/dist/tegel/{p-9bcb8b2d.entry.js → p-c4719b10.entry.js} +1 -1
- package/dist/tegel/{p-a334b517.entry.js → p-c66b99a8.entry.js} +1 -1
- package/dist/tegel/p-c7be09fc.entry.js +1 -0
- package/dist/tegel/p-c8fd6b3b.entry.js +1 -0
- package/dist/tegel/p-caadaf33.entry.js +1 -0
- package/dist/tegel/{p-dda1ac69.entry.js → p-ce6faf0e.entry.js} +1 -1
- package/dist/tegel/p-d031a7ca.entry.js +1 -0
- package/dist/tegel/{p-ca068263.entry.js → p-da72f897.entry.js} +1 -1
- package/dist/tegel/{p-ceed0476.entry.js → p-dc93c6e5.entry.js} +1 -1
- package/dist/tegel/p-ded1191e.entry.js +1 -0
- package/dist/tegel/{p-98eff725.entry.js → p-e2a6c30c.entry.js} +1 -1
- package/dist/tegel/p-e2db17a5.entry.js +1 -0
- package/dist/tegel/{p-bcd5e06d.entry.js → p-e40d454d.entry.js} +1 -1
- package/dist/tegel/p-e53da1e5.entry.js +1 -0
- package/dist/tegel/{p-e8b58680.entry.js → p-e64c36a3.entry.js} +1 -1
- package/dist/tegel/p-e71f56c7.entry.js +1 -0
- package/dist/tegel/p-ebf13d81.entry.js +1 -0
- package/dist/tegel/{p-40fa0f5b.entry.js → p-ede87410.entry.js} +1 -1
- package/dist/tegel/{p-4b5e15cc.entry.js → p-f1d58cbf.entry.js} +1 -1
- package/dist/tegel/{p-4e15f31d.entry.js → p-f3cf4eba.entry.js} +1 -1
- package/dist/tegel/{p-771f53c2.entry.js → p-fc26fb72.entry.js} +1 -1
- package/dist/tegel/p-fd077a19.entry.js +1 -0
- package/dist/tegel/tegel.css +1 -1
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/banner/banner.d.ts +3 -3
- package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +1 -1
- package/dist/types/components/button/button.d.ts +4 -4
- package/dist/types/components/card/card.d.ts +4 -4
- package/dist/types/components/checkbox/checkbox.d.ts +4 -4
- package/dist/types/components/chip/chip.d.ts +5 -5
- package/dist/types/components/datetime/datetime.d.ts +4 -4
- package/dist/types/components/dropdown/dropdown-option/dropdown-option.d.ts +2 -2
- package/dist/types/components/dropdown/dropdown.d.ts +9 -9
- package/dist/types/components/footer/footer-group/footer-group.d.ts +2 -2
- package/dist/types/components/header/header-dropdown/header-dropdown.d.ts +2 -2
- package/dist/types/components/header/header-dropdown-list-user/header-dropdown-list-user.d.ts +4 -4
- package/dist/types/components/header/header-hamburger/header-hamburger.d.ts +1 -1
- package/dist/types/components/header/header-launcher/header-launcher.d.ts +1 -1
- package/dist/types/components/header/header-launcher-button/header-launcher-button.d.ts +1 -1
- package/dist/types/components/header/header-launcher-grid/header-launcher-grid.d.ts +1 -1
- package/dist/types/components/message/message.d.ts +2 -2
- package/dist/types/components/modal/modal.d.ts +3 -3
- package/dist/types/components/popover-canvas/popover-canvas.d.ts +1 -1
- package/dist/types/components/popover-core/popover-core.d.ts +1 -1
- package/dist/types/components/popover-menu/popover-menu.d.ts +1 -1
- package/dist/types/components/radio-button/radio-button.d.ts +5 -5
- package/dist/types/components/side-menu/side-menu-dropdown/side-menu-dropdown.d.ts +1 -1
- package/dist/types/components/side-menu/side-menu-user/side-menu-user.d.ts +3 -3
- package/dist/types/components/side-menu/side-menu-user-image/side-menu-user-image.d.ts +2 -2
- package/dist/types/components/side-menu/side-menu-user-label/side-menu-user-label.d.ts +1 -1
- package/dist/types/components/stepper/step/step.d.ts +6 -6
- package/dist/types/components/table/table/table.d.ts +2 -1
- package/dist/types/components/table/table-body-cell/table-body-cell.d.ts +5 -5
- package/dist/types/components/table/table-body-row-expandable/table-body-row-expandable.d.ts +1 -1
- package/dist/types/components/table/table-header/table-header.d.ts +1 -1
- package/dist/types/components/table/table-header-cell/table-header-cell.d.ts +3 -3
- package/dist/types/components/tabs/folder-tabs/folder-tab/folder-tab.d.ts +1 -1
- package/dist/types/components/tabs/folder-tabs/folder-tabs.d.ts +2 -2
- package/dist/types/components/tabs/inline-tabs/inline-tabs.d.ts +2 -2
- package/dist/types/components/tabs/navigation-tabs/navigation-tabs.d.ts +2 -2
- package/dist/types/components/text-field/text-field.d.ts +6 -6
- package/dist/types/components/textarea/textarea.d.ts +5 -5
- package/dist/types/components/toast/toast.d.ts +3 -3
- package/dist/types/components/toggle/toggle.d.ts +3 -3
- package/dist/types/components/tooltip/tooltip.d.ts +2 -2
- package/dist/types/components.d.ts +108 -106
- package/dist/types/utils/appendHiddenInput.d.ts +1 -1
- package/package.json +14 -20
- package/dist/tegel/p-0b37e91a.entry.js +0 -1
- package/dist/tegel/p-0ef32f0f.entry.js +0 -1
- package/dist/tegel/p-1b471db7.entry.js +0 -1
- package/dist/tegel/p-2268af7f.entry.js +0 -1
- package/dist/tegel/p-226d0290.entry.js +0 -1
- package/dist/tegel/p-25473962.entry.js +0 -1
- package/dist/tegel/p-3ef04672.entry.js +0 -1
- package/dist/tegel/p-4de2807c.entry.js +0 -1
- package/dist/tegel/p-57c08d0d.entry.js +0 -1
- package/dist/tegel/p-58ac68f3.entry.js +0 -1
- package/dist/tegel/p-5c8fd75e.entry.js +0 -1
- package/dist/tegel/p-70836598.entry.js +0 -1
- package/dist/tegel/p-7104b955.entry.js +0 -1
- package/dist/tegel/p-781b2939.entry.js +0 -1
- package/dist/tegel/p-894e7e11.entry.js +0 -1
- package/dist/tegel/p-9c56b031.entry.js +0 -1
- package/dist/tegel/p-a20a54ef.entry.js +0 -1
- package/dist/tegel/p-a2b2092a.entry.js +0 -1
- package/dist/tegel/p-a912035b.entry.js +0 -1
- package/dist/tegel/p-ab00e6e4.entry.js +0 -1
- package/dist/tegel/p-b218db70.entry.js +0 -1
- package/dist/tegel/p-b3b13975.entry.js +0 -1
- package/dist/tegel/p-bee9e9d1.entry.js +0 -1
- package/dist/tegel/p-c23a3f12.entry.js +0 -1
- package/dist/tegel/p-cc962b6c.entry.js +0 -1
- package/dist/tegel/p-cda2e4b2.entry.js +0 -1
- package/dist/tegel/p-ed66ef30.entry.js +0 -1
- package/dist/tegel/p-f602b3a1.entry.js +0 -1
- package/dist/tegel/p-f922308f.entry.js +0 -1
- package/dist/tegel/p-fb300776.entry.js +0 -1
- /package/dist/collection/{tegel-light → tegel-lite}/components/tl-dropdown/_dropdownKeyboard.js +0 -0
- /package/dist/collection/{tegel-light → tegel-lite}/components/tl-dropdown/_dropdownScripts.js +0 -0
- /package/dist/types/{tegel-light → tegel-lite}/components/tl-dropdown/_dropdownKeyboard.d.ts +0 -0
- /package/dist/types/{tegel-light → tegel-lite}/components/tl-dropdown/_dropdownScripts.d.ts +0 -0
|
@@ -35,10 +35,10 @@ export class TdsFolderTab {
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: '4a695d366a2e8e8e5b11b76f4be517c348e55c5b', "aria-selected": this.selected }, h("div", { key: 'b5dc85bc80aede911238d245d41b06ba82143c47', class: {
|
|
39
39
|
selected: this.selected,
|
|
40
40
|
disabled: this.disabled,
|
|
41
|
-
}, style: { width: `${this.tabWidth}px` } }, h("slot", { key: '
|
|
41
|
+
}, style: { width: `${this.tabWidth}px` } }, h("slot", { key: 'a3c58caf8081862b9b89052f30e7100493ea0985' }))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "tds-folder-tab"; }
|
|
44
44
|
static get encapsulation() { return "shadow"; }
|
|
@@ -8,6 +8,7 @@ export class TdsFolderTabs {
|
|
|
8
8
|
this.componentWidth = 0; // visible width of this component
|
|
9
9
|
this.buttonsWidth = 0; // total width of all nav items combined
|
|
10
10
|
this.scrollWidth = 0; // total amount that is possible to scroll in the nav wrapper
|
|
11
|
+
this.children = [];
|
|
11
12
|
this.clickHandlers = new WeakMap();
|
|
12
13
|
this.addResizeObserver = () => {
|
|
13
14
|
const resizeObserver = new ResizeObserver((entries) => {
|
|
@@ -89,11 +90,14 @@ export class TdsFolderTabs {
|
|
|
89
90
|
this.handleSlotChange();
|
|
90
91
|
}
|
|
91
92
|
handleSelectedIndexUpdate() {
|
|
92
|
-
|
|
93
|
+
const tabs = Array.from(this.host.children);
|
|
94
|
+
this.children = tabs.map((tabElement) => {
|
|
93
95
|
tabElement.setSelected(false);
|
|
94
96
|
return tabElement;
|
|
95
97
|
});
|
|
96
|
-
this.
|
|
98
|
+
if (this.selectedIndex) {
|
|
99
|
+
this.children[this.selectedIndex].setSelected(true);
|
|
100
|
+
}
|
|
97
101
|
}
|
|
98
102
|
scrollRight() {
|
|
99
103
|
if (!this.navWrapperElement)
|
|
@@ -169,9 +173,9 @@ export class TdsFolderTabs {
|
|
|
169
173
|
this.removeEventListenerFromTabs();
|
|
170
174
|
}
|
|
171
175
|
render() {
|
|
172
|
-
return (h(Host, { key: '
|
|
176
|
+
return (h(Host, { key: '093e2804b56cb6c336744551ad4d27d962a34d02', role: "tablist", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: 'eaaa9db902ead14bd581416c661b7c105263e335', class: "wrapper", ref: (el) => {
|
|
173
177
|
this.navWrapperElement = el;
|
|
174
|
-
} }, h("button", { key: '
|
|
178
|
+
} }, h("button", { key: '50a7f0455048807c8642ecb66de0d01b7a27ce58', "aria-label": this.tdsScrollLeftAriaLabel, class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, disabled: !this.showLeftScroll, onClick: () => this.scrollLeft() }, h("tds-icon", { key: '411a393ac446ae8224ec8c407b5e1b0adda87098', name: "chevron_left", size: "20px" })), h("slot", { key: 'a534cd27f044a0ac8a03ffb28e20f04cb8eba7a6', onSlotchange: () => this.handleSlotChange() }), h("button", { key: '6284e9746b9dfdc2010ff65b201e39db0e51feda', "aria-label": this.tdsScrollRightAriaLabel, class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, disabled: !this.showRightScroll, onClick: () => this.scrollRight() }, h("tds-icon", { key: '6a2e53089c50e1aa03a87af001a685ff9ba059dc', name: "chevron_right", size: "20px" })))));
|
|
175
179
|
}
|
|
176
180
|
static get is() { return "tds-folder-tabs"; }
|
|
177
181
|
static get encapsulation() { return "shadow"; }
|
|
@@ -228,11 +232,11 @@ export class TdsFolderTabs {
|
|
|
228
232
|
"mutable": false,
|
|
229
233
|
"complexType": {
|
|
230
234
|
"original": "number",
|
|
231
|
-
"resolved": "number",
|
|
235
|
+
"resolved": "number | undefined",
|
|
232
236
|
"references": {}
|
|
233
237
|
},
|
|
234
238
|
"required": false,
|
|
235
|
-
"optional":
|
|
239
|
+
"optional": true,
|
|
236
240
|
"docs": {
|
|
237
241
|
"tags": [],
|
|
238
242
|
"text": "Sets the selected Tab.\nIf this is set, all Tab changes need to be handled by the user."
|
|
@@ -307,7 +311,7 @@ export class TdsFolderTabs {
|
|
|
307
311
|
return {
|
|
308
312
|
"selectTab": {
|
|
309
313
|
"complexType": {
|
|
310
|
-
"signature": "(tabIndex: number) => Promise<{ selectedTabIndex: number; }>",
|
|
314
|
+
"signature": "(tabIndex: number) => Promise<{ selectedTabIndex: number | undefined; }>",
|
|
311
315
|
"parameters": [{
|
|
312
316
|
"name": "tabIndex",
|
|
313
317
|
"type": "number",
|
|
@@ -319,7 +323,7 @@ export class TdsFolderTabs {
|
|
|
319
323
|
"id": "global::Promise"
|
|
320
324
|
}
|
|
321
325
|
},
|
|
322
|
-
"return": "Promise<{ selectedTabIndex: number; }>"
|
|
326
|
+
"return": "Promise<{ selectedTabIndex: number | undefined; }>"
|
|
323
327
|
},
|
|
324
328
|
"docs": {
|
|
325
329
|
"text": "Sets the passed tabindex as the selected Tab.",
|
|
@@ -30,11 +30,11 @@ export class TdsInlineTab {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h(Host, { key: '
|
|
33
|
+
return (h(Host, { key: '9e15778f89e70701ea058a8aa8377b18bc693d2b', "aria-selected": this.selected }, h("div", { key: '963dfa3c27aa7395919ac976851d173f4bc483fe', class: {
|
|
34
34
|
'inline-tab-item': true,
|
|
35
35
|
'selected': this.selected,
|
|
36
36
|
'disabled': this.disabled,
|
|
37
|
-
} }, h("slot", { key: '
|
|
37
|
+
} }, h("slot", { key: 'dcadb0ee891fa9a3a7ad94a2af33d82a674d2ecf' }))));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "tds-inline-tab"; }
|
|
40
40
|
static get encapsulation() { return "shadow"; }
|
|
@@ -8,6 +8,7 @@ export class TdsInlineTabs {
|
|
|
8
8
|
this.componentWidth = 0; // visible width of this component
|
|
9
9
|
this.buttonsWidth = 0; // total width of all nav items combined
|
|
10
10
|
this.scrollWidth = 0; // total amount that is possible to scroll in the nav wrapper
|
|
11
|
+
this.children = [];
|
|
11
12
|
this.clickHandlers = new WeakMap();
|
|
12
13
|
this.addResizeObserver = () => {
|
|
13
14
|
const resizeObserver = new ResizeObserver((entries) => {
|
|
@@ -94,7 +95,9 @@ export class TdsInlineTabs {
|
|
|
94
95
|
tabElement.setSelected(false);
|
|
95
96
|
return tabElement;
|
|
96
97
|
});
|
|
97
|
-
this.
|
|
98
|
+
if (this.selectedIndex) {
|
|
99
|
+
this.children[this.selectedIndex].setSelected(true);
|
|
100
|
+
}
|
|
98
101
|
}
|
|
99
102
|
scrollRight() {
|
|
100
103
|
if (!this.navWrapperElement)
|
|
@@ -176,9 +179,9 @@ export class TdsInlineTabs {
|
|
|
176
179
|
this.removeEventListenerFromTabs();
|
|
177
180
|
}
|
|
178
181
|
render() {
|
|
179
|
-
return (h(Host, { key: '
|
|
182
|
+
return (h(Host, { key: 'e5c91714cc292fc3b5ba4aea446507b07e3d7928', role: "tablist", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: '494199f5f33abb5b5da122caf0124329630ce0e3', class: "wrapper", ref: (el) => {
|
|
180
183
|
this.navWrapperElement = el;
|
|
181
|
-
}, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '
|
|
184
|
+
}, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '60f7ec503a86d2a2aabb6153a67a804ac297931c', "aria-label": this.tdsScrollLeftAriaLabel, class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: 'ed092e0d1077b9865ce7b62a889c7687c8fe7758', name: "chevron_left", size: "20px" })), h("slot", { key: '99f32f72a5f3b8ccb47a59cd910953fdbc898fb1', onSlotchange: () => this.handleSlotChange() }), h("button", { key: 'c24a97379767c6e4a1107e957fd7304218231b37', "aria-label": this.tdsScrollRightAriaLabel, class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: 'cd0f808c268006cb6074e0cf1250e4667b6f1c89', name: "chevron_right", size: "20px" })))));
|
|
182
185
|
}
|
|
183
186
|
static get is() { return "tds-inline-tabs"; }
|
|
184
187
|
static get encapsulation() { return "shadow"; }
|
|
@@ -235,11 +238,11 @@ export class TdsInlineTabs {
|
|
|
235
238
|
"mutable": false,
|
|
236
239
|
"complexType": {
|
|
237
240
|
"original": "number",
|
|
238
|
-
"resolved": "number",
|
|
241
|
+
"resolved": "number | undefined",
|
|
239
242
|
"references": {}
|
|
240
243
|
},
|
|
241
244
|
"required": false,
|
|
242
|
-
"optional":
|
|
245
|
+
"optional": true,
|
|
243
246
|
"docs": {
|
|
244
247
|
"tags": [],
|
|
245
248
|
"text": "Sets the selected Tab.\nIf this is set, all Tab changes need to be handled by the user."
|
|
@@ -331,7 +334,7 @@ export class TdsInlineTabs {
|
|
|
331
334
|
return {
|
|
332
335
|
"selectTab": {
|
|
333
336
|
"complexType": {
|
|
334
|
-
"signature": "(tabIndex: number) => Promise<{ selectedTabIndex: number; }>",
|
|
337
|
+
"signature": "(tabIndex: number) => Promise<{ selectedTabIndex: number | undefined; }>",
|
|
335
338
|
"parameters": [{
|
|
336
339
|
"name": "tabIndex",
|
|
337
340
|
"type": "number",
|
|
@@ -351,7 +354,7 @@ export class TdsInlineTabs {
|
|
|
351
354
|
"id": "global::HTMLTdsInlineTabElement"
|
|
352
355
|
}
|
|
353
356
|
},
|
|
354
|
-
"return": "Promise<{ selectedTabIndex: number; }>"
|
|
357
|
+
"return": "Promise<{ selectedTabIndex: number | undefined; }>"
|
|
355
358
|
},
|
|
356
359
|
"docs": {
|
|
357
360
|
"text": "Selects a Tab based on tabindex, will not select a disabled Tab.",
|
|
@@ -30,8 +30,8 @@ export class TdsNavigationTab {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h(Host, { key: '
|
|
34
|
-
${this.disabled ? 'disabled' : ''}` }, h("slot", { key: '
|
|
33
|
+
return (h(Host, { key: 'c0efa8fbffa68b4c81b7f337d260ed3e8023f7bc' }, h("div", { key: '759dbcb91ef4b320918bcc0dae18aa9f292f2bf5', class: `navigation-tab-item ${this.selected ? 'selected' : ''}
|
|
34
|
+
${this.disabled ? 'disabled' : ''}` }, h("slot", { key: '9eaa20e00dc625bc96723cb937e45aaa58516aa8' }))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "tds-navigation-tab"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -8,6 +8,7 @@ export class TdsNavigationTabs {
|
|
|
8
8
|
this.componentWidth = 0; // visible width of this component
|
|
9
9
|
this.buttonsWidth = 0; // total width of all nav items combined
|
|
10
10
|
this.scrollWidth = 0; // total amount that is possible to scroll in the nav wrapper
|
|
11
|
+
this.children = [];
|
|
11
12
|
this.clickHandlers = new WeakMap();
|
|
12
13
|
this.addResizeObserver = () => {
|
|
13
14
|
const resizeObserver = new ResizeObserver((entries) => {
|
|
@@ -92,7 +93,9 @@ export class TdsNavigationTabs {
|
|
|
92
93
|
tabElement.setSelected(false);
|
|
93
94
|
return tabElement;
|
|
94
95
|
});
|
|
95
|
-
this.
|
|
96
|
+
if (this.selectedIndex) {
|
|
97
|
+
this.children[this.selectedIndex].setSelected(true);
|
|
98
|
+
}
|
|
96
99
|
}
|
|
97
100
|
scrollRight() {
|
|
98
101
|
if (!this.navWrapperElement)
|
|
@@ -176,15 +179,15 @@ export class TdsNavigationTabs {
|
|
|
176
179
|
this.removeEventListenerFromTabs();
|
|
177
180
|
}
|
|
178
181
|
render() {
|
|
179
|
-
return (h(Host, { key: '
|
|
182
|
+
return (h(Host, { key: 'c7888b2f78e9aeb8fb6ca1041787785fe7d7c840', role: "tablist", class: { [`tds-mode-variant-${this.modeVariant}`]: this.modeVariant !== null } }, h("div", { key: '177a79f69514e597d2795b4d60f335b485195eb0', class: "wrapper", ref: (el) => {
|
|
180
183
|
this.navWrapperElement = el;
|
|
181
|
-
}, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '
|
|
184
|
+
}, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '7455ad87dc61ba3c4fa28aa4e9462e9fe91dbcca', "aria-label": this.tdsScrollLeftAriaLabel, class: {
|
|
182
185
|
'scroll-left-button': true,
|
|
183
186
|
'show': this.showLeftScroll,
|
|
184
|
-
}, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: '
|
|
187
|
+
}, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: 'f4b9a3b4d0eeed6c6b9035a9a33f9868fbb93bab', name: "chevron_left", size: "20px" })), h("slot", { key: '9757ef20e30a223f4dec3bf5a41da912821a46de', onSlotchange: () => this.handleSlotChange() }), h("button", { key: '215c0a386b22f44bb891c4685c4f5b3b991982c8', "aria-label": this.tdsScrollRightAriaLabel, class: {
|
|
185
188
|
'scroll-right-button': true,
|
|
186
189
|
'show': this.showRightScroll,
|
|
187
|
-
}, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '
|
|
190
|
+
}, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '21782c8e407746676988fb00324e10ba94379b78', name: "chevron_right", size: "20px" })))));
|
|
188
191
|
}
|
|
189
192
|
static get is() { return "tds-navigation-tabs"; }
|
|
190
193
|
static get encapsulation() { return "shadow"; }
|
|
@@ -241,11 +244,11 @@ export class TdsNavigationTabs {
|
|
|
241
244
|
"mutable": false,
|
|
242
245
|
"complexType": {
|
|
243
246
|
"original": "number",
|
|
244
|
-
"resolved": "number",
|
|
247
|
+
"resolved": "number | undefined",
|
|
245
248
|
"references": {}
|
|
246
249
|
},
|
|
247
250
|
"required": false,
|
|
248
|
-
"optional":
|
|
251
|
+
"optional": true,
|
|
249
252
|
"docs": {
|
|
250
253
|
"tags": [],
|
|
251
254
|
"text": "Sets the selected Tab.\nIf this is set, all Tab changes need to be handled by the user."
|
|
@@ -337,7 +340,7 @@ export class TdsNavigationTabs {
|
|
|
337
340
|
return {
|
|
338
341
|
"selectTab": {
|
|
339
342
|
"complexType": {
|
|
340
|
-
"signature": "(tabIndex: number) => Promise<{ selectedTabIndex: number; }>",
|
|
343
|
+
"signature": "(tabIndex: number) => Promise<{ selectedTabIndex: number | undefined; }>",
|
|
341
344
|
"parameters": [{
|
|
342
345
|
"name": "tabIndex",
|
|
343
346
|
"type": "number",
|
|
@@ -349,7 +352,7 @@ export class TdsNavigationTabs {
|
|
|
349
352
|
"id": "global::Promise"
|
|
350
353
|
}
|
|
351
354
|
},
|
|
352
|
-
"return": "Promise<{ selectedTabIndex: number; }>"
|
|
355
|
+
"return": "Promise<{ selectedTabIndex: number | undefined; }>"
|
|
353
356
|
},
|
|
354
357
|
"docs": {
|
|
355
358
|
"text": "Sets the passed tabindex as the selected Tab.",
|
|
@@ -15,7 +15,7 @@ export class TdsTag {
|
|
|
15
15
|
[`${this.size.toLowerCase()}`]: true,
|
|
16
16
|
[`${this.variant.toLowerCase()}`]: true,
|
|
17
17
|
});
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: 'f2f854a15358d98bc4c55b093e243cc07cc8e439', class: getTagClasses() }, h("div", { key: 'a9b74511347d721ae769d42e4b0edb5ac9acdf85', class: "tds-tag__content" }, hasPrefixSlot && h("slot", { key: '95b1acec855e8e0caeadc3458222bf6a91795704', name: "prefix" }), h("span", { key: 'e40a01fda9aa32ae42032656ebf11375b45f9183' }, this.text))));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "tds-tag"; }
|
|
21
21
|
static get encapsulation() { return "scoped"; }
|
|
@@ -95,10 +95,10 @@ export class TdsTextField {
|
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
render() {
|
|
98
|
-
var _a;
|
|
98
|
+
var _a, _b, _c, _d;
|
|
99
99
|
const usesPrefixSlot = hasSlot('prefix', this.host);
|
|
100
100
|
const usesSuffixSlot = hasSlot('suffix', this.host);
|
|
101
|
-
return (h("div", { key: '
|
|
101
|
+
return (h("div", { key: '362cc8ca714fab4d75f8b594494413ce8b9ce210', class: {
|
|
102
102
|
'form-text-field': true,
|
|
103
103
|
'form-text-field-nomin': this.noMinWidth,
|
|
104
104
|
'text-field-focus': this.focusInput && !this.disabled,
|
|
@@ -116,12 +116,12 @@ export class TdsTextField {
|
|
|
116
116
|
'form-text-field-sm': this.size === 'sm',
|
|
117
117
|
'form-text-field-error': this.state === 'error',
|
|
118
118
|
'form-text-field-success': this.state === 'success',
|
|
119
|
-
} }, this.labelPosition === 'outside' && (h("div", { key: '
|
|
119
|
+
} }, this.labelPosition === 'outside' && (h("div", { key: 'ace1a48203813254c9d316b78723bb89d4aa5f06', class: "text-field-label-outside" }, h("label", { key: '3fd1cab7e1862cd718d3e54ae5ff89b227e53419', htmlFor: `text-field-input-element-${this.uuid}` }, this.label))), h("div", { key: '6250d6c3318b7ce36156304e8e7d780f91a3821e', onClick: () => { var _a; return (_a = this.textInput) === null || _a === void 0 ? void 0 : _a.focus(); }, class: "text-field-container" }, usesPrefixSlot && (h("div", { key: 'a891ed40d4d99129f126054fd79ce6c12d60b7f4', class: {
|
|
120
120
|
'text-field-slot-wrap-prefix': true,
|
|
121
121
|
'text-field-error': this.state === 'error',
|
|
122
122
|
'text-field-success': this.state === 'success',
|
|
123
123
|
'text-field-default': this.state === 'default',
|
|
124
|
-
} }, h("slot", { key: '
|
|
124
|
+
} }, h("slot", { key: '12ba7d529a5b5402f55d232697fd7db6a9efcfa2', name: "prefix" }))), h("div", { key: 'c191e5733ddfa074915a9ba2fbb1f99784334ca6', class: "text-field-input-container" }, h("input", { key: '692af173c615cddc90dd3306b993f216ca6eedee', ref: (inputEl) => {
|
|
125
125
|
this.textInput = inputEl;
|
|
126
126
|
}, class: {
|
|
127
127
|
'text-field-input': true,
|
|
@@ -137,16 +137,16 @@ export class TdsTextField {
|
|
|
137
137
|
if (!this.readOnly) {
|
|
138
138
|
this.handleBlur(event);
|
|
139
139
|
}
|
|
140
|
-
}, "aria-invalid": getAriaInvalid(this.host, this.state), "aria-label": this.tdsAriaLabel ? this.tdsAriaLabel : this.label, "aria-describedby": `text-field-helper-element-${this.uuid}`, "aria-readonly": this.readOnly, id: `text-field-input-element-${this.uuid}`, required: this.required, autocomplete: this.autocomplete }), this.labelPosition === 'inside' && this.size !== 'sm' && (h("label", { key: '
|
|
140
|
+
}, "aria-invalid": getAriaInvalid(this.host, this.state), "aria-label": this.tdsAriaLabel ? this.tdsAriaLabel : this.label, "aria-describedby": `text-field-helper-element-${this.uuid}`, "aria-readonly": this.readOnly, id: `text-field-input-element-${this.uuid}`, required: this.required, autocomplete: this.autocomplete }), this.labelPosition === 'inside' && this.size !== 'sm' && (h("label", { key: 'bb62115ec19d0b6cfb499f3928bc39f77e510bbb', class: "text-field-label-inside", htmlFor: `text-field-input-element-${this.uuid}` }, this.label))), usesSuffixSlot && (h("div", { key: '2125a08f72b015aa35bb66586d18d10c234bb212', class: {
|
|
141
141
|
'text-field-slot-wrap-suffix': true,
|
|
142
142
|
'text-field-error': this.state === 'error',
|
|
143
143
|
'text-field-success': this.state === 'success',
|
|
144
144
|
'text-field-default': this.state === 'default',
|
|
145
145
|
'tds-u-display-none': this.readOnly,
|
|
146
|
-
} }, h("slot", { key: '
|
|
146
|
+
} }, h("slot", { key: 'debdf5549b04c05a65913c8cea4723b5287cdbc8', name: "suffix" }))), this.readOnly && !this.hideReadOnlyIcon && (h("span", { key: '22153b085a22b54a48610d965dbb1a571985e987', class: "text-field-icon__readonly" }, h("tds-tooltip", { key: '3a49b98a5ab420f58a834f871d40bdf98da5a8c7', placement: "top-end", text: "This field is non-editable", selector: "#readonly-tooltip" }), h("tds-icon", { key: '4be0d74de59aa0c552d951c051ca19a35e186510', id: "readonly-tooltip", name: "edit_inactive", size: "20px" })))), h("div", { key: 'a9f23d11c8cea0a7e3cdc1f81402d81f48853458', "aria-live": "assertive" }, (this.helper || ((_a = this.maxLength) !== null && _a !== void 0 ? _a : 0) > 0) && (h("div", { key: '8d65fbefc728f29279b2fceedfef0bec0fb17fb3', class: "text-field-helper", id: `text-field-helper-element-${this.uuid}` }, this.state === 'error' && (h("div", { key: '5dd1fb8023341c1ef1f794ce8ee472ab476f866f', class: "text-field-helper-error-state" }, !this.readOnly && h("tds-icon", { key: 'a6e87371003644f090b02c7e5e0823f4b44dfc62', name: "error", size: "16px" }), this.helper)), this.state !== 'error' && this.helper, !this.readOnly && ((_b = this.maxLength) !== null && _b !== void 0 ? _b : 0) > 0 && (h("span", { key: '4790188e2a7bc819ce1eb5239950d432193bd083', class: {
|
|
147
147
|
'text-field-textcounter-divider': true,
|
|
148
148
|
'text-field-textcounter-disabled': this.disabled,
|
|
149
|
-
} }, this.value === null ? 0 : (
|
|
149
|
+
} }, this.value === null ? 0 : (_c = this.value) === null || _c === void 0 ? void 0 : _c.length, " / ", (_d = this.maxLength) !== null && _d !== void 0 ? _d : 0)))))));
|
|
150
150
|
}
|
|
151
151
|
static get is() { return "tds-text-field"; }
|
|
152
152
|
static get encapsulation() { return "scoped"; }
|
|
@@ -221,11 +221,11 @@ export class TdsTextField {
|
|
|
221
221
|
"mutable": false,
|
|
222
222
|
"complexType": {
|
|
223
223
|
"original": "string | number",
|
|
224
|
-
"resolved": "number | string",
|
|
224
|
+
"resolved": "number | string | undefined",
|
|
225
225
|
"references": {}
|
|
226
226
|
},
|
|
227
227
|
"required": false,
|
|
228
|
-
"optional":
|
|
228
|
+
"optional": true,
|
|
229
229
|
"docs": {
|
|
230
230
|
"tags": [],
|
|
231
231
|
"text": "Min allowed value for input type number"
|
|
@@ -238,11 +238,11 @@ export class TdsTextField {
|
|
|
238
238
|
"mutable": false,
|
|
239
239
|
"complexType": {
|
|
240
240
|
"original": "string | number",
|
|
241
|
-
"resolved": "number | string",
|
|
241
|
+
"resolved": "number | string | undefined",
|
|
242
242
|
"references": {}
|
|
243
243
|
},
|
|
244
244
|
"required": false,
|
|
245
|
-
"optional":
|
|
245
|
+
"optional": true,
|
|
246
246
|
"docs": {
|
|
247
247
|
"tags": [],
|
|
248
248
|
"text": "Max allowed value for input type number"
|
|
@@ -255,11 +255,11 @@ export class TdsTextField {
|
|
|
255
255
|
"mutable": false,
|
|
256
256
|
"complexType": {
|
|
257
257
|
"original": "string | number",
|
|
258
|
-
"resolved": "number | string",
|
|
258
|
+
"resolved": "number | string | undefined",
|
|
259
259
|
"references": {}
|
|
260
260
|
},
|
|
261
261
|
"required": false,
|
|
262
|
-
"optional":
|
|
262
|
+
"optional": true,
|
|
263
263
|
"docs": {
|
|
264
264
|
"tags": [],
|
|
265
265
|
"text": "Step value for input type number"
|
|
@@ -272,11 +272,11 @@ export class TdsTextField {
|
|
|
272
272
|
"mutable": false,
|
|
273
273
|
"complexType": {
|
|
274
274
|
"original": "string",
|
|
275
|
-
"resolved": "string",
|
|
275
|
+
"resolved": "string | undefined",
|
|
276
276
|
"references": {}
|
|
277
277
|
},
|
|
278
278
|
"required": false,
|
|
279
|
-
"optional":
|
|
279
|
+
"optional": true,
|
|
280
280
|
"docs": {
|
|
281
281
|
"tags": [],
|
|
282
282
|
"text": "Helper text"
|
|
@@ -469,11 +469,11 @@ export class TdsTextField {
|
|
|
469
469
|
"mutable": false,
|
|
470
470
|
"complexType": {
|
|
471
471
|
"original": "number",
|
|
472
|
-
"resolved": "number",
|
|
472
|
+
"resolved": "number | undefined",
|
|
473
473
|
"references": {}
|
|
474
474
|
},
|
|
475
475
|
"required": false,
|
|
476
|
-
"optional":
|
|
476
|
+
"optional": true,
|
|
477
477
|
"docs": {
|
|
478
478
|
"tags": [],
|
|
479
479
|
"text": "Max length of input"
|
|
@@ -504,11 +504,11 @@ export class TdsTextField {
|
|
|
504
504
|
"mutable": false,
|
|
505
505
|
"complexType": {
|
|
506
506
|
"original": "string",
|
|
507
|
-
"resolved": "string",
|
|
507
|
+
"resolved": "string | undefined",
|
|
508
508
|
"references": {}
|
|
509
509
|
},
|
|
510
510
|
"required": false,
|
|
511
|
-
"optional":
|
|
511
|
+
"optional": true,
|
|
512
512
|
"docs": {
|
|
513
513
|
"tags": [],
|
|
514
514
|
"text": "Value to be used for the aria-label attribute. Can be used for announcing that readOnly prop is set to true."
|
|
@@ -21,7 +21,7 @@ export class TdsTextarea {
|
|
|
21
21
|
this.autofocus = false;
|
|
22
22
|
this.noMinWidth = false;
|
|
23
23
|
this.tdsAriaLabel = undefined;
|
|
24
|
-
this.focusInput =
|
|
24
|
+
this.focusInput = false;
|
|
25
25
|
}
|
|
26
26
|
handleChange(event) {
|
|
27
27
|
this.tdsChange.emit(event);
|
|
@@ -61,8 +61,8 @@ export class TdsTextarea {
|
|
|
61
61
|
return modeVariant;
|
|
62
62
|
}
|
|
63
63
|
render() {
|
|
64
|
-
var _a;
|
|
65
|
-
return (h("div", { key: '
|
|
64
|
+
var _a, _b;
|
|
65
|
+
return (h("div", { key: 'd7cf9dcacedf2b147de04a8e7a3bf3be9a3795a3', class: {
|
|
66
66
|
'textarea-container': true,
|
|
67
67
|
'textarea-label-inside': this.labelPosition === 'inside',
|
|
68
68
|
'textarea-focus': this.focusInput,
|
|
@@ -72,7 +72,7 @@ export class TdsTextarea {
|
|
|
72
72
|
'textarea-data': this.value !== '',
|
|
73
73
|
[`textarea-${this.state}`]: this.state === 'error' || this.state === 'success',
|
|
74
74
|
'no-min-width': this.noMinWidth,
|
|
75
|
-
} }, this.labelPosition !== 'no-label' && (h("label", { key: '
|
|
75
|
+
} }, this.labelPosition !== 'no-label' && (h("label", { key: 'cb98c61db81f4efc7b72c50cc56ca121f3d449c8', htmlFor: `textarea-element-${this.uuid}`, class: 'textarea-label' }, this.label)), h("div", { key: '8cfd739439df3a7a29ac73054c789f137b6aceb1', class: "textarea-wrapper" }, h("textarea", { key: 'd0d4eae432b70f1a5704e7d5c0fa351be37cf3b7', id: `textarea-element-${this.uuid}`, class: 'textarea-input', ref: (inputEl) => {
|
|
76
76
|
this.textEl = inputEl;
|
|
77
77
|
}, disabled: this.disabled, readonly: !this.disabled && this.readOnly, placeholder: this.placeholder, value: this.value, name: this.name, autofocus: this.autofocus, maxlength: this.maxLength, cols: this.cols, rows: this.rows, onFocus: (event) => {
|
|
78
78
|
if (!this.readOnly) {
|
|
@@ -82,7 +82,7 @@ export class TdsTextarea {
|
|
|
82
82
|
if (!this.readOnly) {
|
|
83
83
|
this.handleBlur(event);
|
|
84
84
|
}
|
|
85
|
-
}, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), "aria-invalid": getAriaInvalid(this.host, this.state), "aria-readonly": this.readOnly ? 'true' : 'false', "aria-label": this.tdsAriaLabel ? this.tdsAriaLabel : this.label, "aria-describedby": `textarea-helper-element-${this.uuid}` }), h("span", { key: '
|
|
85
|
+
}, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), "aria-invalid": getAriaInvalid(this.host, this.state), "aria-readonly": this.readOnly ? 'true' : 'false', "aria-label": this.tdsAriaLabel ? this.tdsAriaLabel : this.label, "aria-describedby": `textarea-helper-element-${this.uuid}` }), h("span", { key: 'ea26d42ffcc583c3047101200f3abcdcc731bda7', class: "textarea-resizer-icon" }, h("svg", { key: 'b61a4cda00dde41c07961ba320b996b14b04ce80', width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '33118433cdc99ce54347f6720912302d0d3e8c58', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.8536 0.853553C12.0488 0.658291 12.0488 0.341709 11.8536 0.146447C11.6583 -0.0488155 11.3417 -0.0488155 11.1464 0.146447L0.146447 11.1464C-0.0488155 11.3417 -0.0488155 11.6583 0.146447 11.8536C0.341709 12.0488 0.658291 12.0488 0.853553 11.8536L11.8536 0.853553ZM11.8536 4.64645C12.0488 4.84171 12.0488 5.15829 11.8536 5.35355L5.35355 11.8536C5.15829 12.0488 4.84171 12.0488 4.64645 11.8536C4.45118 11.6583 4.45118 11.3417 4.64645 11.1464L11.1464 4.64645C11.3417 4.45118 11.6583 4.45118 11.8536 4.64645ZM11.8536 8.64645C12.0488 8.84171 12.0488 9.15829 11.8536 9.35355L9.35355 11.8536C9.15829 12.0488 8.84171 12.0488 8.64645 11.8536C8.45118 11.6583 8.45118 11.3417 8.64645 11.1464L11.1464 8.64645C11.3417 8.45118 11.6583 8.45118 11.8536 8.64645Z", fill: "currentColor" }))), !this.disabled && !this.hideReadOnlyIcon && this.readOnly && (h("span", { key: 'b399c8b24f70b6f12b54045cc526fb858f162a06', class: "textarea-icon__readonly" }, h("tds-tooltip", { key: '61e7fa6193e2046a8d619078265cae1b0d43b482', placement: "top-end", text: "This field is non-editable", selector: "#readonly-tooltip" }), h("tds-icon", { key: 'e3e74b086fb69ced9d59be3802038e055b9a08d5', id: "readonly-tooltip", name: "edit_inactive", svgTitle: "inactive" })))), h("span", { key: 'be3f5a580e3b741229c61326c0e03df53b1510ee', class: 'textarea-helper', "aria-live": "assertive", id: `textarea-helper-element-${this.uuid}` }, this.state === 'error' && this.helper && !this.readOnly && (h("tds-icon", { key: '2e201cf5e459f0b295ec32a25e1fd1d71e8491df', name: "error", size: "16px" })), this.helper), ((_a = this.maxLength) !== null && _a !== void 0 ? _a : 0) > 0 && (h("div", { key: 'bf7060e27d93495f349771d8b1cc5fb6d0f81e01', class: 'textarea-textcounter' }, this.value === null ? 0 : (_b = this.value) === null || _b === void 0 ? void 0 : _b.length, h("span", { key: 'fd01defdf5a5a3e854b082ed0f6e68e5c943151b', class: "textfield-textcounter-divider" }, " / "), " ", this.maxLength))));
|
|
86
86
|
}
|
|
87
87
|
static get is() { return "tds-textarea"; }
|
|
88
88
|
static get encapsulation() { return "scoped"; }
|
|
@@ -139,11 +139,11 @@ export class TdsTextarea {
|
|
|
139
139
|
"mutable": false,
|
|
140
140
|
"complexType": {
|
|
141
141
|
"original": "string",
|
|
142
|
-
"resolved": "string",
|
|
142
|
+
"resolved": "string | undefined",
|
|
143
143
|
"references": {}
|
|
144
144
|
},
|
|
145
145
|
"required": false,
|
|
146
|
-
"optional":
|
|
146
|
+
"optional": true,
|
|
147
147
|
"docs": {
|
|
148
148
|
"tags": [],
|
|
149
149
|
"text": "Helper text"
|
|
@@ -156,11 +156,11 @@ export class TdsTextarea {
|
|
|
156
156
|
"mutable": false,
|
|
157
157
|
"complexType": {
|
|
158
158
|
"original": "number",
|
|
159
|
-
"resolved": "number",
|
|
159
|
+
"resolved": "number | undefined",
|
|
160
160
|
"references": {}
|
|
161
161
|
},
|
|
162
162
|
"required": false,
|
|
163
|
-
"optional":
|
|
163
|
+
"optional": true,
|
|
164
164
|
"docs": {
|
|
165
165
|
"tags": [],
|
|
166
166
|
"text": "Textarea cols attribute"
|
|
@@ -173,11 +173,11 @@ export class TdsTextarea {
|
|
|
173
173
|
"mutable": false,
|
|
174
174
|
"complexType": {
|
|
175
175
|
"original": "number",
|
|
176
|
-
"resolved": "number",
|
|
176
|
+
"resolved": "number | undefined",
|
|
177
177
|
"references": {}
|
|
178
178
|
},
|
|
179
179
|
"required": false,
|
|
180
|
-
"optional":
|
|
180
|
+
"optional": true,
|
|
181
181
|
"docs": {
|
|
182
182
|
"tags": [],
|
|
183
183
|
"text": "Textarea rows attribute"
|
|
@@ -316,11 +316,11 @@ export class TdsTextarea {
|
|
|
316
316
|
"mutable": false,
|
|
317
317
|
"complexType": {
|
|
318
318
|
"original": "number",
|
|
319
|
-
"resolved": "number",
|
|
319
|
+
"resolved": "number | undefined",
|
|
320
320
|
"references": {}
|
|
321
321
|
},
|
|
322
322
|
"required": false,
|
|
323
|
-
"optional":
|
|
323
|
+
"optional": true,
|
|
324
324
|
"docs": {
|
|
325
325
|
"tags": [],
|
|
326
326
|
"text": "Max length of input"
|
|
@@ -387,11 +387,11 @@ export class TdsTextarea {
|
|
|
387
387
|
"mutable": false,
|
|
388
388
|
"complexType": {
|
|
389
389
|
"original": "string",
|
|
390
|
-
"resolved": "string",
|
|
390
|
+
"resolved": "string | undefined",
|
|
391
391
|
"references": {}
|
|
392
392
|
},
|
|
393
393
|
"required": false,
|
|
394
|
-
"optional":
|
|
394
|
+
"optional": true,
|
|
395
395
|
"docs": {
|
|
396
396
|
"tags": [],
|
|
397
397
|
"text": "Value to be used for the aria-label attribute. Can be used for announcing that readOnly prop is set to true."
|
|
@@ -65,12 +65,12 @@ export class TdsToast {
|
|
|
65
65
|
const usesHeaderSlot = hasSlot('header', this.host);
|
|
66
66
|
const usesSubheaderSlot = hasSlot('subheader', this.host);
|
|
67
67
|
const usesActionsSlot = hasSlot('actions', this.host);
|
|
68
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: 'c486cb86a0e94181135e304cbda2b1bbbb20da22', "aria-live": this.tdsAriaLive, toastRole: this.toastRole, "aria-describedby": this.host.getAttribute('aria-describedby'), class: {
|
|
69
69
|
hide: this.hidden,
|
|
70
70
|
show: !this.hidden,
|
|
71
|
-
} }, h("div", { key: '
|
|
71
|
+
} }, h("div", { key: '946ba38a6c95e3450936014cc46c1eb43f927f0d', class: `
|
|
72
72
|
wrapper
|
|
73
|
-
${this.variant}` }, h("tds-icon", { key: '
|
|
73
|
+
${this.variant}` }, h("tds-icon", { key: '3af328a28e80e1b3f69ec0f4dda31f9d9c7c8571', name: this.getIconName(), size: "20px", svgTitle: this.getIconName() }), h("div", { key: 'eec58153da1bc4dee5955e2393f0610db40242c1', class: `content` }, h("div", { key: 'd40f9433b851fbd3dcfd0d60099d5035a87af2e0', class: "header-subheader" }, this.header && h("div", { key: '7748dda823fc8c17f4a7eb94d15140ba4301fa83', class: "header" }, this.header), usesHeaderSlot && h("slot", { key: '880576822af000000c972125aea031c73569768d', name: "header" }), this.subheader && h("div", { key: 'cc9dee1cef953cce966ebee2ed6c82f693f21dc1', class: "subheader" }, this.subheader), usesSubheaderSlot && h("slot", { key: '01f596caf428985a0bb4dbc97282dead449fef61', name: "subheader" })), usesActionsSlot && (h("div", { key: '81e666f0d9810a0baf008782e6fee3f731b04ab2', class: `toast-bottom ${usesSubheaderSlot || this.subheader ? 'subheader' : 'no-subheader'}` }, h("slot", { key: '085aab762cc590904d6531fcf7e969d1fa0f4eca', name: "actions" })))), this.closable && (h("button", { key: '6e1c909296a175d3a994caccb57f59ab5da9eae2', id: "my-button", "aria-label": this.tdsCloseAriaLabel, onClick: this.handleClose, class: "close" }, h("tds-icon", { key: 'a1e5a6c21070afea181f6b5f20000458b50dbb45', name: "cross", size: "20px", svgTitle: "cross" }))))));
|
|
74
74
|
}
|
|
75
75
|
static get is() { return "tds-toast"; }
|
|
76
76
|
static get encapsulation() { return "shadow"; }
|
|
@@ -109,11 +109,11 @@ export class TdsToast {
|
|
|
109
109
|
"mutable": false,
|
|
110
110
|
"complexType": {
|
|
111
111
|
"original": "string",
|
|
112
|
-
"resolved": "string",
|
|
112
|
+
"resolved": "string | undefined",
|
|
113
113
|
"references": {}
|
|
114
114
|
},
|
|
115
115
|
"required": false,
|
|
116
|
-
"optional":
|
|
116
|
+
"optional": true,
|
|
117
117
|
"docs": {
|
|
118
118
|
"tags": [],
|
|
119
119
|
"text": "Header text for the component."
|
|
@@ -126,11 +126,11 @@ export class TdsToast {
|
|
|
126
126
|
"mutable": false,
|
|
127
127
|
"complexType": {
|
|
128
128
|
"original": "string",
|
|
129
|
-
"resolved": "string",
|
|
129
|
+
"resolved": "string | undefined",
|
|
130
130
|
"references": {}
|
|
131
131
|
},
|
|
132
132
|
"required": false,
|
|
133
|
-
"optional":
|
|
133
|
+
"optional": true,
|
|
134
134
|
"docs": {
|
|
135
135
|
"tags": [],
|
|
136
136
|
"text": "Subheader text for the component."
|
|
@@ -215,11 +215,11 @@ export class TdsToast {
|
|
|
215
215
|
"mutable": false,
|
|
216
216
|
"complexType": {
|
|
217
217
|
"original": "string",
|
|
218
|
-
"resolved": "string",
|
|
218
|
+
"resolved": "string | undefined",
|
|
219
219
|
"references": {}
|
|
220
220
|
},
|
|
221
221
|
"required": false,
|
|
222
|
-
"optional":
|
|
222
|
+
"optional": true,
|
|
223
223
|
"docs": {
|
|
224
224
|
"tags": [],
|
|
225
225
|
"text": "Provides an accessible name for the components close button"
|