@scania/tegel 1.41.0-stencil-core-beta.0 → 1.42.0-input-decimal-fix-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 +5 -4
- 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 +5 -4
- package/dist/cjs/tds-body-cell.cjs.entry.js +9 -3
- 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 +12 -13
- package/dist/cjs/tds-card.cjs.entry.js +19 -28
- package/dist/cjs/tds-checkbox.cjs.entry.js +15 -13
- package/dist/cjs/tds-chip.cjs.entry.js +15 -18
- package/dist/cjs/tds-core-header-item_2.cjs.entry.js +8 -7
- package/dist/cjs/tds-datetime.cjs.entry.js +23 -27
- package/dist/cjs/tds-dropdown_2.cjs.entry.js +43 -34
- package/dist/cjs/tds-folder-tab.cjs.entry.js +6 -3
- package/dist/cjs/tds-folder-tabs.cjs.entry.js +13 -13
- package/dist/cjs/tds-footer-group.cjs.entry.js +10 -5
- package/dist/cjs/tds-footer-item.cjs.entry.js +5 -2
- package/dist/cjs/tds-footer.cjs.entry.js +7 -5
- package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +5 -2
- package/dist/cjs/tds-header-cell.cjs.entry.js +22 -18
- 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 +8 -5
- package/dist/cjs/tds-header-dropdown.cjs.entry.js +12 -8
- 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 +11 -6
- package/dist/cjs/tds-header-title.cjs.entry.js +5 -2
- package/dist/cjs/tds-header.cjs.entry.js +7 -4
- package/dist/cjs/tds-icon.cjs.entry.js +12 -10
- package/dist/cjs/tds-inline-tab.cjs.entry.js +5 -3
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +13 -14
- package/dist/cjs/tds-link.cjs.entry.js +5 -5
- package/dist/cjs/tds-message.cjs.entry.js +13 -13
- package/dist/cjs/tds-modal.cjs.entry.js +18 -18
- package/dist/cjs/tds-navigation-tab.cjs.entry.js +5 -3
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +13 -14
- package/dist/cjs/tds-popover-canvas.cjs.entry.js +10 -16
- package/dist/cjs/tds-popover-core.cjs.entry.js +35 -39
- package/dist/cjs/tds-popover-menu-item.cjs.entry.js +5 -3
- package/dist/cjs/tds-popover-menu.cjs.entry.js +10 -15
- package/dist/cjs/tds-radio-button.cjs.entry.js +14 -11
- package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +7 -4
- package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +6 -3
- package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +5 -3
- package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +5 -2
- package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +7 -5
- package/dist/cjs/tds-side-menu-item.cjs.entry.js +6 -6
- 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 +12 -15
- package/dist/cjs/tds-slider.cjs.entry.js +24 -39
- package/dist/cjs/tds-spinner.cjs.entry.js +5 -4
- package/dist/cjs/tds-step.cjs.entry.js +11 -3
- package/dist/cjs/tds-stepper.cjs.entry.js +6 -13
- package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +5 -3
- package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +7 -11
- package/dist/cjs/tds-table-body-row.cjs.entry.js +5 -5
- package/dist/cjs/tds-table-body.cjs.entry.js +11 -7
- package/dist/cjs/tds-table-footer.cjs.entry.js +17 -21
- package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +5 -3
- package/dist/cjs/tds-table-header.cjs.entry.js +6 -5
- package/dist/cjs/tds-table-toolbar.cjs.entry.js +5 -5
- package/dist/cjs/tds-table.cjs.entry.js +7 -21
- package/dist/cjs/tds-tag.cjs.entry.js +7 -5
- package/dist/cjs/tds-text-field.cjs.entry.js +58 -42
- package/dist/cjs/tds-textarea.cjs.entry.js +13 -16
- package/dist/cjs/tds-toast.cjs.entry.js +16 -16
- package/dist/cjs/tds-toggle.cjs.entry.js +14 -13
- package/dist/cjs/tds-tooltip.cjs.entry.js +17 -19
- 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 +2 -8
- 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 +2 -8
- 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 +19 -44
- package/dist/collection/components/card/card.js +28 -64
- package/dist/collection/components/checkbox/checkbox.js +22 -41
- package/dist/collection/components/chip/chip.js +19 -41
- package/dist/collection/components/datetime/datetime.js +37 -76
- package/dist/collection/components/divider/divider.js +2 -8
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +12 -16
- package/dist/collection/components/dropdown/dropdown.js +50 -86
- package/dist/collection/components/footer/footer-group/footer-group.js +8 -10
- package/dist/collection/components/footer/footer.js +2 -5
- package/dist/collection/components/header/header-dropdown/header-dropdown.js +12 -19
- package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +2 -4
- 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 +2 -9
- package/dist/collection/components/header/header-launcher/header-launcher.js +5 -5
- 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/icon/icon.js +15 -26
- package/dist/collection/components/link/link.js +3 -12
- package/dist/collection/components/message/message.js +16 -33
- package/dist/collection/components/modal/modal.js +23 -44
- package/dist/collection/components/popover-canvas/popover-canvas.js +15 -46
- package/dist/collection/components/popover-core/popover-core.js +29 -60
- package/dist/collection/components/popover-menu/popover-menu-item/popover-menu-item.js +1 -4
- package/dist/collection/components/popover-menu/popover-menu.js +15 -43
- package/dist/collection/components/radio-button/radio-button.js +20 -36
- package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +1 -1
- package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +7 -16
- package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +1 -4
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +2 -9
- 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 +10 -22
- package/dist/collection/components/slider/slider.js +36 -90
- package/dist/collection/components/spinner/spinner.js +2 -8
- package/dist/collection/components/stepper/step/step.js +11 -12
- package/dist/collection/components/stepper/stepper.js +6 -28
- package/dist/collection/components/table/table/table.js +12 -49
- package/dist/collection/components/table/table-body/table-body.js +6 -5
- package/dist/collection/components/table/table-body-cell/table-body-cell.js +11 -16
- package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +1 -4
- package/dist/collection/components/table/table-body-row/table-body-row.js +3 -12
- package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +8 -27
- package/dist/collection/components/table/table-footer/table-footer.js +17 -36
- package/dist/collection/components/table/table-header/table-header.js +6 -16
- package/dist/collection/components/table/table-header-cell/table-header-cell.js +27 -40
- package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +2 -7
- package/dist/collection/components/table/table-toolbar/table-toolbar.js +3 -12
- package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +2 -4
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +14 -27
- package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +1 -4
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +15 -31
- package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +1 -4
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +15 -31
- package/dist/collection/components/tag/tag.js +5 -12
- package/dist/collection/components/text-field/text-field.css +8 -0
- package/dist/collection/components/text-field/text-field.js +124 -104
- package/dist/collection/components/textarea/textarea.js +28 -68
- package/dist/collection/components/toast/toast.js +21 -42
- package/dist/collection/components/toggle/toggle.js +19 -37
- package/dist/collection/components/tooltip/tooltip.js +24 -51
- package/dist/components/index.js +1 -1825
- package/dist/components/{p-DnzQe_HU.js → p-04a014cf.js} +19 -25
- package/dist/components/{p-Q3W78DlP.js → p-0bd4c19c.js} +1 -1
- package/dist/components/{p-Ip9G3co9.js → p-152b0078.js} +64 -50
- package/dist/components/{p-BxmFjTxG.js → p-1dafdc8c.js} +7 -11
- package/dist/components/p-28ef5186.js +1507 -0
- package/dist/components/{p-X1sPx4t5.js → p-3308d5fa.js} +36 -44
- 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-Ca3wGDna.js → p-44f5b5e1.js} +16 -18
- package/dist/components/{p-BhQM9_yR.js → p-5ea0ae00.js} +37 -35
- package/dist/components/{p-B569z5eW.js → p-63552d0e.js} +12 -22
- package/dist/components/{p-SqXsUd-b.js → p-6ef207b2.js} +16 -15
- package/dist/components/{p-BHBgkUfr.js → p-7c3348eb.js} +8 -12
- package/dist/components/{p-CuIyaNyT.js → p-859e3ebf.js} +1 -1
- package/dist/components/{p-QnvG_QPu.js → p-9336db16.js} +8 -9
- package/dist/components/{p-DuxH3vDC.js → p-bff614d5.js} +8 -7
- package/dist/components/{p-ChCWm6If.js → p-c62b61fe.js} +11 -15
- package/dist/components/{p-D1ati-pM.js → p-d10d21bd.js} +11 -13
- package/dist/components/{p-HRj1DOvh.js → p-de86852a.js} +6 -9
- package/dist/components/{p-BhLq7lgx.js → p-e1622f4a.js} +6 -7
- package/dist/components/{p-CPDv0bBc.js → p-f7d94947.js} +13 -15
- package/dist/components/tds-accordion-item.js +8 -15
- package/dist/components/tds-accordion.js +6 -9
- package/dist/components/tds-badge.js +6 -11
- package/dist/components/tds-banner.js +16 -24
- package/dist/components/tds-block.js +6 -9
- package/dist/components/tds-body-cell.js +10 -8
- 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 +23 -36
- 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 +25 -33
- 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 +15 -19
- package/dist/components/tds-footer-group.js +12 -11
- package/dist/components/tds-footer-item.js +6 -7
- package/dist/components/tds-footer.js +8 -10
- package/dist/components/tds-header-brand-symbol.js +8 -9
- package/dist/components/tds-header-cell.js +24 -24
- 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 +18 -18
- 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 +17 -16
- package/dist/components/tds-header-title.js +6 -7
- package/dist/components/tds-header.js +7 -8
- package/dist/components/tds-icon.js +1 -1
- package/dist/components/tds-inline-tab.js +6 -8
- package/dist/components/tds-inline-tabs.js +15 -20
- package/dist/components/tds-link.js +6 -10
- package/dist/components/tds-message.js +15 -19
- package/dist/components/tds-modal.js +20 -24
- package/dist/components/tds-navigation-tab.js +6 -8
- package/dist/components/tds-navigation-tabs.js +15 -20
- 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 +12 -21
- package/dist/components/tds-radio-button.js +15 -16
- package/dist/components/tds-side-menu-close-button.js +8 -9
- package/dist/components/tds-side-menu-collapse-button.js +8 -9
- package/dist/components/tds-side-menu-dropdown-list-item.js +6 -8
- package/dist/components/tds-side-menu-dropdown-list.js +6 -7
- package/dist/components/tds-side-menu-dropdown.js +10 -12
- 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 +13 -20
- package/dist/components/tds-slider.js +29 -48
- package/dist/components/tds-spinner.js +6 -9
- package/dist/components/tds-step.js +13 -9
- package/dist/components/tds-stepper.js +7 -18
- package/dist/components/tds-table-body-input-wrapper.js +7 -9
- package/dist/components/tds-table-body-row-expandable.js +8 -16
- package/dist/components/tds-table-body-row.js +7 -11
- package/dist/components/tds-table-body.js +12 -12
- package/dist/components/tds-table-footer.js +22 -30
- package/dist/components/tds-table-header-input-wrapper.js +7 -9
- package/dist/components/tds-table-header.js +8 -11
- package/dist/components/tds-table-toolbar.js +7 -11
- package/dist/components/tds-table.js +8 -26
- package/dist/components/tds-tag.js +8 -10
- package/dist/components/tds-text-field.js +1 -1
- package/dist/components/tds-textarea.js +17 -24
- package/dist/components/tds-toast.js +18 -22
- package/dist/components/tds-toggle.js +15 -18
- 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 +3 -4
- 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 +3 -4
- package/dist/esm/tds-body-cell.entry.js +7 -3
- 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 +10 -13
- package/dist/esm/tds-card.entry.js +17 -28
- package/dist/esm/tds-checkbox.entry.js +13 -13
- package/dist/esm/tds-chip.entry.js +13 -18
- package/dist/esm/tds-core-header-item_2.entry.js +6 -7
- package/dist/esm/tds-datetime.entry.js +21 -27
- package/dist/esm/tds-dropdown_2.entry.js +41 -34
- package/dist/esm/tds-folder-tab.entry.js +4 -3
- package/dist/esm/tds-folder-tabs.entry.js +11 -13
- package/dist/esm/tds-footer-group.entry.js +8 -5
- package/dist/esm/tds-footer-item.entry.js +3 -2
- package/dist/esm/tds-footer.entry.js +5 -5
- package/dist/esm/tds-header-brand-symbol.entry.js +3 -2
- package/dist/esm/tds-header-cell.entry.js +20 -18
- 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 +6 -5
- package/dist/esm/tds-header-dropdown.entry.js +10 -8
- 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 +9 -6
- package/dist/esm/tds-header-title.entry.js +3 -2
- package/dist/esm/tds-header.entry.js +5 -4
- package/dist/esm/tds-icon.entry.js +10 -10
- package/dist/esm/tds-inline-tab.entry.js +3 -3
- package/dist/esm/tds-inline-tabs.entry.js +11 -14
- package/dist/esm/tds-link.entry.js +3 -5
- package/dist/esm/tds-message.entry.js +11 -13
- package/dist/esm/tds-modal.entry.js +16 -18
- package/dist/esm/tds-navigation-tab.entry.js +3 -3
- package/dist/esm/tds-navigation-tabs.entry.js +11 -14
- package/dist/esm/tds-popover-canvas.entry.js +8 -16
- package/dist/esm/tds-popover-core.entry.js +33 -39
- package/dist/esm/tds-popover-menu-item.entry.js +3 -3
- package/dist/esm/tds-popover-menu.entry.js +8 -15
- package/dist/esm/tds-radio-button.entry.js +12 -11
- package/dist/esm/tds-side-menu-close-button.entry.js +5 -4
- package/dist/esm/tds-side-menu-collapse-button.entry.js +4 -3
- package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +3 -3
- package/dist/esm/tds-side-menu-dropdown-list.entry.js +3 -2
- package/dist/esm/tds-side-menu-dropdown.entry.js +5 -5
- package/dist/esm/tds-side-menu-item.entry.js +4 -6
- 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 +10 -15
- package/dist/esm/tds-slider.entry.js +22 -39
- package/dist/esm/tds-spinner.entry.js +3 -4
- package/dist/esm/tds-step.entry.js +9 -3
- package/dist/esm/tds-stepper.entry.js +4 -13
- package/dist/esm/tds-table-body-input-wrapper.entry.js +3 -3
- package/dist/esm/tds-table-body-row-expandable.entry.js +5 -11
- package/dist/esm/tds-table-body-row.entry.js +3 -5
- package/dist/esm/tds-table-body.entry.js +9 -7
- package/dist/esm/tds-table-footer.entry.js +15 -21
- package/dist/esm/tds-table-header-input-wrapper.entry.js +3 -3
- package/dist/esm/tds-table-header.entry.js +4 -5
- package/dist/esm/tds-table-toolbar.entry.js +3 -5
- package/dist/esm/tds-table.entry.js +5 -21
- package/dist/esm/tds-tag.entry.js +5 -5
- package/dist/esm/tds-text-field.entry.js +56 -42
- package/dist/esm/tds-textarea.entry.js +11 -16
- package/dist/esm/tds-toast.entry.js +14 -16
- package/dist/esm/tds-toggle.entry.js +12 -13
- package/dist/esm/tds-tooltip.entry.js +15 -19
- package/dist/esm/tegel.js +5 -5
- package/dist/tegel/p-0672ddfc.entry.js +1 -0
- package/dist/tegel/p-08ad6a21.entry.js +1 -0
- package/dist/tegel/p-08f63e5d.entry.js +1 -0
- package/dist/tegel/{p-206d4703.entry.js → p-09cd056c.entry.js} +1 -1
- package/dist/tegel/{p-Q3W78DlP.js → p-0bd4c19c.js} +1 -1
- package/dist/tegel/{p-d8a35537.entry.js → p-0cfe8671.entry.js} +1 -1
- package/dist/tegel/{p-954e6cf0.entry.js → p-0e772ad7.entry.js} +1 -1
- package/dist/tegel/{p-b9cb2eef.entry.js → p-133351b5.entry.js} +1 -1
- package/dist/tegel/p-177386d5.entry.js +1 -0
- package/dist/tegel/p-17bc1e49.entry.js +1 -0
- package/dist/tegel/p-1859156f.entry.js +1 -0
- package/dist/tegel/p-1b471db7.entry.js +1 -0
- package/dist/tegel/p-1f4267a8.entry.js +1 -0
- package/dist/tegel/p-2049fab2.js +2 -0
- package/dist/tegel/{p-192332e7.entry.js → p-24a76927.entry.js} +1 -1
- package/dist/tegel/{p-b5deab8e.entry.js → p-2766b46f.entry.js} +1 -1
- package/dist/tegel/p-28f85555.entry.js +1 -0
- package/dist/tegel/{p-299e0e56.entry.js → p-2faeb483.entry.js} +1 -1
- package/dist/tegel/p-304f5a5c.entry.js +1 -0
- package/dist/tegel/p-354d3986.entry.js +1 -0
- package/dist/tegel/p-379df59b.entry.js +1 -0
- package/dist/tegel/{p-a74d375a.entry.js → p-3c348fcb.entry.js} +1 -1
- package/dist/tegel/p-3c97cb45.entry.js +1 -0
- package/dist/tegel/p-3e6d65ee.entry.js +1 -0
- package/dist/tegel/p-445fa788.entry.js +1 -0
- package/dist/tegel/p-464469fe.entry.js +1 -0
- package/dist/tegel/{p-5bea354f.entry.js → p-4b5e15cc.entry.js} +1 -1
- package/dist/tegel/p-4de2807c.entry.js +1 -0
- package/dist/tegel/{p-73c9a5b3.entry.js → p-51a17707.entry.js} +1 -1
- package/dist/tegel/p-52689019.entry.js +1 -0
- package/dist/tegel/p-57a28f62.entry.js +1 -0
- package/dist/tegel/p-5c8fd75e.entry.js +1 -0
- package/dist/tegel/{p-0ac95ef0.entry.js → p-646d1df4.entry.js} +1 -1
- package/dist/tegel/{p-d659aefa.entry.js → p-650b98bf.entry.js} +1 -1
- package/dist/tegel/{p-996f0ac5.entry.js → p-655051b6.entry.js} +1 -1
- package/dist/tegel/p-6b340718.entry.js +1 -0
- package/dist/tegel/{p-3de8e52b.entry.js → p-72006dd7.entry.js} +1 -1
- package/dist/tegel/{p-08ef673e.entry.js → p-743d4f07.entry.js} +1 -1
- package/dist/tegel/{p-3a5588b2.entry.js → p-771f53c2.entry.js} +1 -1
- package/dist/tegel/{p-fa8a4f27.entry.js → p-77cfb0ef.entry.js} +1 -1
- package/dist/tegel/p-7887bdbb.entry.js +1 -0
- package/dist/tegel/p-7b598e60.entry.js +1 -0
- package/dist/tegel/p-7ef50e7f.entry.js +1 -0
- package/dist/tegel/{p-15c69748.entry.js → p-87219f00.entry.js} +1 -1
- package/dist/tegel/{p-c7c4f528.entry.js → p-88bb1059.entry.js} +1 -1
- package/dist/tegel/{p-e777d558.entry.js → p-8a4837ae.entry.js} +1 -1
- package/dist/tegel/p-8c2695af.entry.js +1 -0
- package/dist/tegel/{p-Bx66i7RU.js → p-9332c225.js} +1 -1
- package/dist/tegel/{p-fb59d675.entry.js → p-987f8f0f.entry.js} +1 -1
- package/dist/tegel/p-9b635e01.entry.js +1 -0
- package/dist/tegel/p-9f187848.entry.js +1 -0
- package/dist/tegel/p-9fdc8fa5.entry.js +1 -0
- package/dist/tegel/{p-4489b7d5.entry.js → p-a090bd2f.entry.js} +1 -1
- package/dist/tegel/p-a56436c8.entry.js +1 -0
- package/dist/tegel/p-ab00e6e4.entry.js +1 -0
- package/dist/tegel/p-b210d23c.entry.js +1 -0
- package/dist/tegel/{p-20b5c366.entry.js → p-b734b309.entry.js} +1 -1
- package/dist/tegel/p-b7abb81f.entry.js +1 -0
- package/dist/tegel/p-bcd5e06d.entry.js +1 -0
- package/dist/tegel/p-c0cbc9f5.entry.js +1 -0
- package/dist/tegel/{p-648df3a1.entry.js → p-c163d44f.entry.js} +1 -1
- package/dist/tegel/p-c23a3f12.entry.js +1 -0
- package/dist/tegel/{p-bc4d68b0.entry.js → p-c2e514b4.entry.js} +1 -1
- package/dist/tegel/{p-de9f2a0d.entry.js → p-c6968db1.entry.js} +1 -1
- 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-7cec9df0.entry.js → p-ceed0476.entry.js} +1 -1
- package/dist/tegel/p-cf717912.entry.js +1 -0
- package/dist/tegel/{p-d2b7c692.entry.js → p-cfd7ed1a.entry.js} +1 -1
- package/dist/tegel/{p-e1daba90.entry.js → p-d1d45942.entry.js} +1 -1
- package/dist/tegel/p-d7cdbc4e.entry.js +1 -0
- package/dist/tegel/p-e1255160.js +1 -0
- package/dist/tegel/p-e5b796e7.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-eb91e33b.entry.js +1 -0
- package/dist/tegel/{p-1f255f25.entry.js → p-f2318c88.entry.js} +1 -1
- package/dist/tegel/{p-d03f33c0.entry.js → p-f31f56fe.entry.js} +1 -1
- package/dist/tegel/p-f3c32d4d.entry.js +1 -0
- package/dist/tegel/p-f7e8b26c.entry.js +1 -0
- package/dist/tegel/p-f8a37d39.entry.js +1 -0
- package/dist/tegel/{p-2a1342d8.entry.js → p-fd15ced7.entry.js} +1 -1
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/slider/slider-stories-setup.d.ts +1 -1
- package/dist/types/components/text-field/text-field.d.ts +12 -1
- package/dist/types/components.d.ts +21 -542
- package/dist/types/stencil-public-runtime.d.ts +4 -86
- package/loader/package.json +11 -0
- package/package.json +2 -2
- package/dist/cjs/index-CxAGLnpY.js +0 -2414
- package/dist/esm/index-BqRtRha-.js +0 -2385
- package/dist/tegel/p-03ff8648.entry.js +0 -1
- package/dist/tegel/p-11159349.entry.js +0 -1
- package/dist/tegel/p-26907beb.entry.js +0 -1
- package/dist/tegel/p-312c49f8.entry.js +0 -1
- package/dist/tegel/p-342052b9.entry.js +0 -1
- package/dist/tegel/p-3557fbdf.entry.js +0 -1
- package/dist/tegel/p-3806a0e4.entry.js +0 -1
- package/dist/tegel/p-3ba30c59.entry.js +0 -1
- package/dist/tegel/p-3bd99720.entry.js +0 -1
- package/dist/tegel/p-41084e54.entry.js +0 -1
- package/dist/tegel/p-41242d2e.entry.js +0 -1
- package/dist/tegel/p-43f6c149.entry.js +0 -1
- package/dist/tegel/p-4e58b98d.entry.js +0 -1
- package/dist/tegel/p-503abc18.entry.js +0 -1
- package/dist/tegel/p-5eed2dae.entry.js +0 -1
- package/dist/tegel/p-6253f1d8.entry.js +0 -1
- package/dist/tegel/p-6301a8b5.entry.js +0 -1
- package/dist/tegel/p-65d43cfd.entry.js +0 -1
- package/dist/tegel/p-6d4e71fd.entry.js +0 -1
- package/dist/tegel/p-7ef6db3c.entry.js +0 -1
- package/dist/tegel/p-81314f19.entry.js +0 -1
- package/dist/tegel/p-88d3bbbd.entry.js +0 -1
- package/dist/tegel/p-8a5df42a.entry.js +0 -1
- package/dist/tegel/p-8f1bbe70.entry.js +0 -1
- package/dist/tegel/p-9296f0d1.entry.js +0 -1
- package/dist/tegel/p-9fed9d16.entry.js +0 -1
- package/dist/tegel/p-BqRtRha-.js +0 -2
- package/dist/tegel/p-a13ecd87.entry.js +0 -1
- package/dist/tegel/p-a8d29ac5.entry.js +0 -1
- package/dist/tegel/p-abe630f5.entry.js +0 -1
- package/dist/tegel/p-b2934101.entry.js +0 -1
- package/dist/tegel/p-b2d9244a.entry.js +0 -1
- package/dist/tegel/p-b901a7e3.entry.js +0 -1
- package/dist/tegel/p-bbcab377.entry.js +0 -1
- package/dist/tegel/p-c2ae97bb.entry.js +0 -1
- package/dist/tegel/p-ca437b9a.entry.js +0 -1
- package/dist/tegel/p-d0c0c8f3.entry.js +0 -1
- package/dist/tegel/p-d1f9c4fd.entry.js +0 -1
- package/dist/tegel/p-d67ff384.entry.js +0 -1
- package/dist/tegel/p-dec2ede0.entry.js +0 -1
- package/dist/tegel/p-e5166678.entry.js +0 -1
- package/dist/tegel/p-e643c9b3.entry.js +0 -1
- package/dist/tegel/p-f0c912af.entry.js +0 -1
- package/dist/tegel/p-f3da2bf5.entry.js +0 -1
- package/dist/tegel/p-f46be246.entry.js +0 -1
- package/dist/tegel/p-f5a7d350.entry.js +0 -1
- package/dist/tegel/p-fa19eac0.entry.js +0 -1
- package/dist/tegel/p-ff6da1f1.entry.js +0 -1
- /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() {
|
|
@@ -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,20 +6,17 @@ 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) {
|
|
@@ -86,10 +83,8 @@ export class TdsButton {
|
|
|
86
83
|
"tags": [],
|
|
87
84
|
"text": "Text displayed inside the Button"
|
|
88
85
|
},
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"reflect": false,
|
|
92
|
-
"attribute": "text"
|
|
86
|
+
"attribute": "text",
|
|
87
|
+
"reflect": false
|
|
93
88
|
},
|
|
94
89
|
"type": {
|
|
95
90
|
"type": "string",
|
|
@@ -105,10 +100,8 @@ export class TdsButton {
|
|
|
105
100
|
"tags": [],
|
|
106
101
|
"text": "Button's type"
|
|
107
102
|
},
|
|
108
|
-
"getter": false,
|
|
109
|
-
"setter": false,
|
|
110
|
-
"reflect": false,
|
|
111
103
|
"attribute": "type",
|
|
104
|
+
"reflect": false,
|
|
112
105
|
"defaultValue": "'button'"
|
|
113
106
|
},
|
|
114
107
|
"variant": {
|
|
@@ -125,10 +118,8 @@ export class TdsButton {
|
|
|
125
118
|
"tags": [],
|
|
126
119
|
"text": "Variation of Button's design"
|
|
127
120
|
},
|
|
128
|
-
"getter": false,
|
|
129
|
-
"setter": false,
|
|
130
|
-
"reflect": false,
|
|
131
121
|
"attribute": "variant",
|
|
122
|
+
"reflect": false,
|
|
132
123
|
"defaultValue": "'primary'"
|
|
133
124
|
},
|
|
134
125
|
"size": {
|
|
@@ -145,10 +136,8 @@ export class TdsButton {
|
|
|
145
136
|
"tags": [],
|
|
146
137
|
"text": "Size of a Button"
|
|
147
138
|
},
|
|
148
|
-
"getter": false,
|
|
149
|
-
"setter": false,
|
|
150
|
-
"reflect": false,
|
|
151
139
|
"attribute": "size",
|
|
140
|
+
"reflect": false,
|
|
152
141
|
"defaultValue": "'lg'"
|
|
153
142
|
},
|
|
154
143
|
"disabled": {
|
|
@@ -165,10 +154,8 @@ export class TdsButton {
|
|
|
165
154
|
"tags": [],
|
|
166
155
|
"text": "Control for disabled state of a component"
|
|
167
156
|
},
|
|
168
|
-
"getter": false,
|
|
169
|
-
"setter": false,
|
|
170
|
-
"reflect": false,
|
|
171
157
|
"attribute": "disabled",
|
|
158
|
+
"reflect": false,
|
|
172
159
|
"defaultValue": "false"
|
|
173
160
|
},
|
|
174
161
|
"fullbleed": {
|
|
@@ -185,10 +172,8 @@ export class TdsButton {
|
|
|
185
172
|
"tags": [],
|
|
186
173
|
"text": "When enabled, the Button takes 100% width"
|
|
187
174
|
},
|
|
188
|
-
"getter": false,
|
|
189
|
-
"setter": false,
|
|
190
|
-
"reflect": false,
|
|
191
175
|
"attribute": "fullbleed",
|
|
176
|
+
"reflect": false,
|
|
192
177
|
"defaultValue": "false"
|
|
193
178
|
},
|
|
194
179
|
"modeVariant": {
|
|
@@ -205,10 +190,8 @@ export class TdsButton {
|
|
|
205
190
|
"tags": [],
|
|
206
191
|
"text": "Set the mode variant of the Button."
|
|
207
192
|
},
|
|
208
|
-
"getter": false,
|
|
209
|
-
"setter": false,
|
|
210
|
-
"reflect": false,
|
|
211
193
|
"attribute": "mode-variant",
|
|
194
|
+
"reflect": false,
|
|
212
195
|
"defaultValue": "null"
|
|
213
196
|
},
|
|
214
197
|
"animation": {
|
|
@@ -225,10 +208,8 @@ export class TdsButton {
|
|
|
225
208
|
"tags": [],
|
|
226
209
|
"text": "Determines if and how the button should animate."
|
|
227
210
|
},
|
|
228
|
-
"getter": false,
|
|
229
|
-
"setter": false,
|
|
230
|
-
"reflect": false,
|
|
231
211
|
"attribute": "animation",
|
|
212
|
+
"reflect": false,
|
|
232
213
|
"defaultValue": "'none'"
|
|
233
214
|
},
|
|
234
215
|
"tdsAriaLabel": {
|
|
@@ -245,10 +226,8 @@ export class TdsButton {
|
|
|
245
226
|
"tags": [],
|
|
246
227
|
"text": "The value to be used for the aria-label attribute if onlyIcon is set to true"
|
|
247
228
|
},
|
|
248
|
-
"
|
|
249
|
-
"
|
|
250
|
-
"reflect": false,
|
|
251
|
-
"attribute": "tds-aria-label"
|
|
229
|
+
"attribute": "tds-aria-label",
|
|
230
|
+
"reflect": false
|
|
252
231
|
},
|
|
253
232
|
"name": {
|
|
254
233
|
"type": "string",
|
|
@@ -264,10 +243,8 @@ export class TdsButton {
|
|
|
264
243
|
"tags": [],
|
|
265
244
|
"text": "The name attribute allows for different ways of accessing the button element"
|
|
266
245
|
},
|
|
267
|
-
"
|
|
268
|
-
"
|
|
269
|
-
"reflect": false,
|
|
270
|
-
"attribute": "name"
|
|
246
|
+
"attribute": "name",
|
|
247
|
+
"reflect": false
|
|
271
248
|
},
|
|
272
249
|
"value": {
|
|
273
250
|
"type": "string",
|
|
@@ -283,10 +260,8 @@ export class TdsButton {
|
|
|
283
260
|
"tags": [],
|
|
284
261
|
"text": "The value attribute can be used when handling a form submission"
|
|
285
262
|
},
|
|
286
|
-
"
|
|
287
|
-
"
|
|
288
|
-
"reflect": false,
|
|
289
|
-
"attribute": "value"
|
|
263
|
+
"attribute": "value",
|
|
264
|
+
"reflect": false
|
|
290
265
|
}
|
|
291
266
|
};
|
|
292
267
|
}
|
|
@@ -11,30 +11,6 @@ import hasSlot from "../../utils/hasSlot";
|
|
|
11
11
|
*/
|
|
12
12
|
export class TdsCard {
|
|
13
13
|
constructor() {
|
|
14
|
-
/** Variant of the Card based on the theme used. */
|
|
15
|
-
this.modeVariant = null;
|
|
16
|
-
/** Placement of the header */
|
|
17
|
-
this.imagePlacement = 'below-header';
|
|
18
|
-
/** Divider for the body */
|
|
19
|
-
this.bodyDivider = false;
|
|
20
|
-
/** Makes the Card clickable. */
|
|
21
|
-
this.clickable = false;
|
|
22
|
-
this.stretch = false;
|
|
23
|
-
/** ID for the Card, must be unique.
|
|
24
|
-
*
|
|
25
|
-
* **NOTE**: If you're listening for Card events, you need to set this ID yourself to identify the Card,
|
|
26
|
-
* as the default ID is random and will be different every time.
|
|
27
|
-
*/
|
|
28
|
-
this.cardId = generateUniqueId();
|
|
29
|
-
/**
|
|
30
|
-
* Enables expandable behaviour.
|
|
31
|
-
* When true, clicking the header toggles content visibility.
|
|
32
|
-
*/
|
|
33
|
-
this.expandable = false;
|
|
34
|
-
/**
|
|
35
|
-
* Tracks the current expanded state when expandable is enabled.
|
|
36
|
-
*/
|
|
37
|
-
this.expanded = false;
|
|
38
14
|
this.toggleExpand = () => {
|
|
39
15
|
if (this.expandable) {
|
|
40
16
|
this.expanded = !this.expanded;
|
|
@@ -58,6 +34,18 @@ export class TdsCard {
|
|
|
58
34
|
const bodyId = `body-${this.cardId}`;
|
|
59
35
|
return (h("div", { class: this.stretch && 'stretch', "aria-describedby": usesBodySlot ? bodyId : null }, this.imagePlacement === 'below-header' && this.getCardHeader(), h("div", { class: "card-body", id: bodyId }, usesBodyImageSlot && h("slot", { name: "body-image" }), this.bodyImg && h("img", { class: "card-body-img", src: this.bodyImg, alt: this.bodyImgAlt }), this.imagePlacement === 'above-header' && this.getCardHeader(), this.bodyDivider && h("tds-divider", null), usesBodySlot && h("slot", { name: "body" })), usesActionsSlot && h("slot", { name: `actions` })));
|
|
60
36
|
};
|
|
37
|
+
this.modeVariant = null;
|
|
38
|
+
this.imagePlacement = 'below-header';
|
|
39
|
+
this.header = undefined;
|
|
40
|
+
this.subheader = undefined;
|
|
41
|
+
this.bodyImg = undefined;
|
|
42
|
+
this.bodyImgAlt = undefined;
|
|
43
|
+
this.bodyDivider = false;
|
|
44
|
+
this.clickable = false;
|
|
45
|
+
this.stretch = false;
|
|
46
|
+
this.cardId = generateUniqueId();
|
|
47
|
+
this.expandable = false;
|
|
48
|
+
this.expanded = false;
|
|
61
49
|
}
|
|
62
50
|
render() {
|
|
63
51
|
const cardStyle = {
|
|
@@ -97,10 +85,8 @@ export class TdsCard {
|
|
|
97
85
|
"tags": [],
|
|
98
86
|
"text": "Variant of the Card based on the theme used."
|
|
99
87
|
},
|
|
100
|
-
"getter": false,
|
|
101
|
-
"setter": false,
|
|
102
|
-
"reflect": false,
|
|
103
88
|
"attribute": "mode-variant",
|
|
89
|
+
"reflect": false,
|
|
104
90
|
"defaultValue": "null"
|
|
105
91
|
},
|
|
106
92
|
"imagePlacement": {
|
|
@@ -117,10 +103,8 @@ export class TdsCard {
|
|
|
117
103
|
"tags": [],
|
|
118
104
|
"text": "Placement of the header"
|
|
119
105
|
},
|
|
120
|
-
"getter": false,
|
|
121
|
-
"setter": false,
|
|
122
|
-
"reflect": false,
|
|
123
106
|
"attribute": "image-placement",
|
|
107
|
+
"reflect": false,
|
|
124
108
|
"defaultValue": "'below-header'"
|
|
125
109
|
},
|
|
126
110
|
"header": {
|
|
@@ -137,10 +121,8 @@ export class TdsCard {
|
|
|
137
121
|
"tags": [],
|
|
138
122
|
"text": "Text in the header"
|
|
139
123
|
},
|
|
140
|
-
"
|
|
141
|
-
"
|
|
142
|
-
"reflect": false,
|
|
143
|
-
"attribute": "header"
|
|
124
|
+
"attribute": "header",
|
|
125
|
+
"reflect": false
|
|
144
126
|
},
|
|
145
127
|
"subheader": {
|
|
146
128
|
"type": "string",
|
|
@@ -156,10 +138,8 @@ export class TdsCard {
|
|
|
156
138
|
"tags": [],
|
|
157
139
|
"text": "Subheader text in the header"
|
|
158
140
|
},
|
|
159
|
-
"
|
|
160
|
-
"
|
|
161
|
-
"reflect": false,
|
|
162
|
-
"attribute": "subheader"
|
|
141
|
+
"attribute": "subheader",
|
|
142
|
+
"reflect": false
|
|
163
143
|
},
|
|
164
144
|
"bodyImg": {
|
|
165
145
|
"type": "string",
|
|
@@ -175,10 +155,8 @@ export class TdsCard {
|
|
|
175
155
|
"tags": [],
|
|
176
156
|
"text": "Body image src"
|
|
177
157
|
},
|
|
178
|
-
"
|
|
179
|
-
"
|
|
180
|
-
"reflect": false,
|
|
181
|
-
"attribute": "body-img"
|
|
158
|
+
"attribute": "body-img",
|
|
159
|
+
"reflect": false
|
|
182
160
|
},
|
|
183
161
|
"bodyImgAlt": {
|
|
184
162
|
"type": "string",
|
|
@@ -194,10 +172,8 @@ export class TdsCard {
|
|
|
194
172
|
"tags": [],
|
|
195
173
|
"text": "Alt text for the body image"
|
|
196
174
|
},
|
|
197
|
-
"
|
|
198
|
-
"
|
|
199
|
-
"reflect": false,
|
|
200
|
-
"attribute": "body-img-alt"
|
|
175
|
+
"attribute": "body-img-alt",
|
|
176
|
+
"reflect": false
|
|
201
177
|
},
|
|
202
178
|
"bodyDivider": {
|
|
203
179
|
"type": "boolean",
|
|
@@ -213,10 +189,8 @@ export class TdsCard {
|
|
|
213
189
|
"tags": [],
|
|
214
190
|
"text": "Divider for the body"
|
|
215
191
|
},
|
|
216
|
-
"getter": false,
|
|
217
|
-
"setter": false,
|
|
218
|
-
"reflect": false,
|
|
219
192
|
"attribute": "body-divider",
|
|
193
|
+
"reflect": false,
|
|
220
194
|
"defaultValue": "false"
|
|
221
195
|
},
|
|
222
196
|
"clickable": {
|
|
@@ -233,10 +207,8 @@ export class TdsCard {
|
|
|
233
207
|
"tags": [],
|
|
234
208
|
"text": "Makes the Card clickable."
|
|
235
209
|
},
|
|
236
|
-
"getter": false,
|
|
237
|
-
"setter": false,
|
|
238
|
-
"reflect": false,
|
|
239
210
|
"attribute": "clickable",
|
|
211
|
+
"reflect": false,
|
|
240
212
|
"defaultValue": "false"
|
|
241
213
|
},
|
|
242
214
|
"stretch": {
|
|
@@ -253,10 +225,8 @@ export class TdsCard {
|
|
|
253
225
|
"tags": [],
|
|
254
226
|
"text": ""
|
|
255
227
|
},
|
|
256
|
-
"getter": false,
|
|
257
|
-
"setter": false,
|
|
258
|
-
"reflect": false,
|
|
259
228
|
"attribute": "stretch",
|
|
229
|
+
"reflect": false,
|
|
260
230
|
"defaultValue": "false"
|
|
261
231
|
},
|
|
262
232
|
"cardId": {
|
|
@@ -273,10 +243,8 @@ export class TdsCard {
|
|
|
273
243
|
"tags": [],
|
|
274
244
|
"text": "ID for the Card, must be unique.\n\n**NOTE**: If you're listening for Card events, you need to set this ID yourself to identify the Card,\nas the default ID is random and will be different every time."
|
|
275
245
|
},
|
|
276
|
-
"getter": false,
|
|
277
|
-
"setter": false,
|
|
278
|
-
"reflect": false,
|
|
279
246
|
"attribute": "card-id",
|
|
247
|
+
"reflect": false,
|
|
280
248
|
"defaultValue": "generateUniqueId()"
|
|
281
249
|
},
|
|
282
250
|
"expandable": {
|
|
@@ -293,10 +261,8 @@ export class TdsCard {
|
|
|
293
261
|
"tags": [],
|
|
294
262
|
"text": "Enables expandable behaviour.\nWhen true, clicking the header toggles content visibility."
|
|
295
263
|
},
|
|
296
|
-
"getter": false,
|
|
297
|
-
"setter": false,
|
|
298
|
-
"reflect": false,
|
|
299
264
|
"attribute": "expandable",
|
|
265
|
+
"reflect": false,
|
|
300
266
|
"defaultValue": "false"
|
|
301
267
|
},
|
|
302
268
|
"expanded": {
|
|
@@ -313,10 +279,8 @@ export class TdsCard {
|
|
|
313
279
|
"tags": [],
|
|
314
280
|
"text": "Tracks the current expanded state when expandable is enabled."
|
|
315
281
|
},
|
|
316
|
-
"getter": false,
|
|
317
|
-
"setter": false,
|
|
318
|
-
"reflect": true,
|
|
319
282
|
"attribute": "expanded",
|
|
283
|
+
"reflect": true,
|
|
320
284
|
"defaultValue": "false"
|
|
321
285
|
}
|
|
322
286
|
};
|