@scania/tegel 1.40.0-ts-strict-mode-beta.0 → 1.41.0-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/index-CxAGLnpY.js +2414 -0
- package/dist/cjs/{inheritAriaAttributes-dedbbc57.js → inheritAriaAttributes-D_xFGssc.js} +1 -1
- package/dist/cjs/{isHeadingElement-4f06b688.js → isHeadingElement-DihKNeqS.js} +1 -1
- package/dist/cjs/loader.cjs.js +3 -6
- package/dist/cjs/tds-accordion-item.cjs.entry.js +9 -6
- package/dist/cjs/tds-accordion.cjs.entry.js +6 -7
- package/dist/cjs/tds-badge.cjs.entry.js +6 -5
- package/dist/cjs/tds-banner.cjs.entry.js +18 -14
- package/dist/cjs/tds-block.cjs.entry.js +5 -6
- package/dist/cjs/tds-body-cell.cjs.entry.js +6 -13
- package/dist/cjs/tds-breadcrumb.cjs.entry.js +3 -5
- package/dist/cjs/tds-breadcrumbs.cjs.entry.js +2 -6
- package/dist/cjs/tds-button_2.cjs.entry.js +18 -19
- package/dist/cjs/tds-card.cjs.entry.js +30 -21
- package/dist/cjs/tds-checkbox.cjs.entry.js +16 -21
- package/dist/cjs/tds-chip.cjs.entry.js +18 -15
- package/dist/cjs/tds-core-header-item_2.cjs.entry.js +12 -17
- package/dist/cjs/tds-datetime.cjs.entry.js +32 -31
- package/dist/cjs/tds-dropdown_2.cjs.entry.js +97 -100
- package/dist/cjs/tds-folder-tab.cjs.entry.js +3 -6
- package/dist/cjs/tds-folder-tabs.cjs.entry.js +16 -23
- package/dist/cjs/tds-footer-group.cjs.entry.js +10 -16
- package/dist/cjs/tds-footer-item.cjs.entry.js +4 -11
- package/dist/cjs/tds-footer.cjs.entry.js +7 -9
- package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +4 -7
- package/dist/cjs/tds-header-cell.cjs.entry.js +23 -32
- package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +4 -5
- package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +2 -9
- package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +8 -13
- package/dist/cjs/tds-header-dropdown.cjs.entry.js +13 -19
- package/dist/cjs/tds-header-hamburger.cjs.entry.js +4 -8
- package/dist/cjs/tds-header-launcher-button.cjs.entry.js +6 -8
- package/dist/cjs/tds-header-launcher-grid-item.cjs.entry.js +2 -5
- package/dist/cjs/tds-header-launcher-grid-title.cjs.entry.js +3 -6
- package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +4 -8
- package/dist/cjs/tds-header-launcher-list-item.cjs.entry.js +2 -5
- package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +3 -6
- package/dist/cjs/tds-header-launcher-list.cjs.entry.js +2 -4
- package/dist/cjs/tds-header-launcher.cjs.entry.js +10 -19
- package/dist/cjs/tds-header-title.cjs.entry.js +3 -6
- package/dist/cjs/tds-header.cjs.entry.js +10 -15
- package/dist/cjs/tds-icon.cjs.entry.js +12 -13
- package/dist/cjs/tds-inline-tab.cjs.entry.js +3 -5
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +17 -23
- package/dist/cjs/tds-link.cjs.entry.js +5 -5
- package/dist/cjs/tds-message.cjs.entry.js +16 -16
- package/dist/cjs/tds-modal.cjs.entry.js +23 -24
- package/dist/cjs/tds-navigation-tab.cjs.entry.js +3 -5
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +19 -25
- package/dist/cjs/tds-popover-canvas.cjs.entry.js +19 -13
- package/dist/cjs/tds-popover-core.cjs.entry.js +47 -45
- package/dist/cjs/tds-popover-menu-item.cjs.entry.js +3 -5
- package/dist/cjs/tds-popover-menu.cjs.entry.js +18 -13
- package/dist/cjs/tds-radio-button.cjs.entry.js +12 -18
- package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +4 -7
- package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +7 -11
- package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +12 -18
- package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +5 -8
- package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +9 -12
- package/dist/cjs/tds-side-menu-item.cjs.entry.js +15 -21
- package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +2 -5
- package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +3 -11
- package/dist/cjs/tds-side-menu-user.cjs.entry.js +2 -9
- package/dist/cjs/tds-side-menu.cjs.entry.js +24 -24
- package/dist/cjs/tds-slider.cjs.entry.js +55 -50
- package/dist/cjs/tds-spinner.cjs.entry.js +4 -5
- package/dist/cjs/tds-step.cjs.entry.js +4 -14
- package/dist/cjs/tds-stepper.cjs.entry.js +13 -6
- package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +4 -6
- package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +21 -24
- package/dist/cjs/tds-table-body-row.cjs.entry.js +10 -13
- package/dist/cjs/tds-table-body.cjs.entry.js +12 -20
- package/dist/cjs/tds-table-footer.cjs.entry.js +28 -31
- package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +4 -6
- package/dist/cjs/tds-table-header.cjs.entry.js +23 -30
- package/dist/cjs/tds-table-toolbar.cjs.entry.js +9 -11
- package/dist/cjs/tds-table.cjs.entry.js +33 -21
- package/dist/cjs/tds-tag.cjs.entry.js +5 -7
- package/dist/cjs/tds-text-field.cjs.entry.js +28 -20
- package/dist/cjs/tds-textarea.cjs.entry.js +20 -18
- package/dist/cjs/tds-toast.cjs.entry.js +16 -16
- package/dist/cjs/tds-toggle.cjs.entry.js +17 -19
- package/dist/cjs/tds-tooltip.cjs.entry.js +23 -21
- package/dist/cjs/tegel.cjs.js +7 -8
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/accordion/accordion-item/accordion-item.js +24 -6
- package/dist/collection/components/accordion/accordion.js +12 -6
- package/dist/collection/components/badge/badge.js +16 -4
- package/dist/collection/components/banner/banner.js +39 -18
- package/dist/collection/components/block/block.js +11 -5
- package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.js +4 -1
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +4 -5
- package/dist/collection/components/button/button.js +51 -28
- package/dist/collection/components/card/card.js +68 -32
- package/dist/collection/components/checkbox/checkbox.js +45 -29
- package/dist/collection/components/chip/chip.js +42 -20
- package/dist/collection/components/datetime/datetime.js +83 -47
- package/dist/collection/components/divider/divider.js +8 -2
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +39 -29
- package/dist/collection/components/dropdown/dropdown.css +3 -1
- package/dist/collection/components/dropdown/dropdown.js +139 -94
- package/dist/collection/components/footer/footer-group/footer-group.js +15 -14
- package/dist/collection/components/footer/footer-item/footer-item.js +2 -6
- package/dist/collection/components/footer/footer.js +9 -6
- package/dist/collection/components/header/header-brand-symbol/header-brand-symbol.js +2 -2
- package/dist/collection/components/header/header-dropdown/header-dropdown.js +24 -19
- package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +7 -7
- package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.js +8 -2
- package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.js +16 -14
- package/dist/collection/components/header/header-hamburger/header-hamburger.js +4 -5
- package/dist/collection/components/header/header-item/header-item.js +14 -11
- package/dist/collection/components/header/header-launcher/header-launcher.js +9 -13
- package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +9 -4
- package/dist/collection/components/header/header-launcher-grid/header-launcher-grid.js +0 -3
- package/dist/collection/components/header/header-title/header-title.css +2 -0
- package/dist/collection/components/header/header.js +6 -8
- package/dist/collection/components/icon/icon.js +30 -18
- package/dist/collection/components/link/link.js +12 -3
- package/dist/collection/components/message/message.css +2 -1
- package/dist/collection/components/message/message.js +37 -20
- package/dist/collection/components/modal/modal.css +54 -10
- package/dist/collection/components/modal/modal.js +51 -31
- package/dist/collection/components/popover-canvas/popover-canvas.js +54 -23
- package/dist/collection/components/popover-core/popover-core.js +71 -42
- package/dist/collection/components/popover-menu/popover-menu-item/popover-menu-item.js +4 -1
- package/dist/collection/components/popover-menu/popover-menu.js +51 -23
- package/dist/collection/components/radio-button/radio-button.js +37 -24
- package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +5 -6
- package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +20 -12
- package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.js +3 -3
- package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +13 -14
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +18 -17
- package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +16 -14
- 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 +31 -22
- package/dist/collection/components/slider/slider.js +106 -62
- package/dist/collection/components/spinner/spinner.js +8 -2
- package/dist/collection/components/stepper/step/step.js +13 -14
- package/dist/collection/components/stepper/stepper.js +28 -6
- package/dist/collection/components/table/table/table.js +67 -48
- package/dist/collection/components/table/table-body/table-body.js +10 -15
- package/dist/collection/components/table/table-body-cell/table-body-cell.js +22 -18
- package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +5 -2
- package/dist/collection/components/table/table-body-row/table-body-row.js +22 -16
- package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +43 -31
- package/dist/collection/components/table/table-footer/table-footer.js +48 -36
- package/dist/collection/components/table/table-header/table-header.js +37 -33
- package/dist/collection/components/table/table-header-cell/table-header-cell.js +57 -49
- package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +8 -3
- package/dist/collection/components/table/table-toolbar/table-toolbar.js +18 -11
- package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +4 -2
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +32 -26
- package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +4 -1
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +34 -25
- package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +4 -1
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +36 -27
- package/dist/collection/components/tag/tag.js +12 -5
- package/dist/collection/components/text-field/text-field.js +93 -40
- package/dist/collection/components/textarea/textarea.js +74 -35
- package/dist/collection/components/toast/toast.js +42 -21
- package/dist/collection/components/toggle/toggle.js +41 -24
- package/dist/collection/components/tooltip/tooltip.js +58 -31
- package/dist/collection/utils/appendHiddenInput.js +4 -6
- package/dist/collection/utils/dom.js +7 -0
- package/dist/components/index.js +1825 -1
- package/dist/components/{p-415fafb3.js → p-1YnjaUCy.js} +25 -15
- package/dist/components/{p-6fd2b339.js → p-8koCGAVT.js} +52 -46
- package/dist/components/{p-ead6727f.js → p-BHBgkUfr.js} +17 -17
- package/dist/components/{p-e1622f4a.js → p-BhLq7lgx.js} +7 -6
- package/dist/components/{p-7e02ea3e.js → p-BhQM9_yR.js} +68 -77
- package/dist/components/{p-e0ccf8e6.js → p-BxmFjTxG.js} +20 -22
- package/dist/components/{p-3f2187a4.js → p-CMsPXG7a.js} +7 -8
- package/dist/components/{p-edc838a0.js → p-CPDv0bBc.js} +17 -14
- package/dist/components/{p-e627f11b.js → p-Ca3wGDna.js} +21 -22
- package/dist/components/{p-799470b1.js → p-ChCWm6If.js} +20 -18
- package/dist/components/{p-a64cbc40.js → p-ChGLhiqn.js} +36 -24
- package/dist/components/{p-859e3ebf.js → p-CuIyaNyT.js} +1 -1
- package/dist/components/{p-0d286c19.js → p-D1ati-pM.js} +13 -11
- package/dist/components/{p-ad376f70.js → p-DZDx1Si2.js} +29 -23
- package/dist/components/{p-bff614d5.js → p-DuxH3vDC.js} +7 -8
- package/dist/components/{p-98d082f9.js → p-Ee9QeMgy.js} +45 -33
- package/dist/components/{p-381677ec.js → p-FqP1yGh_.js} +9 -6
- package/dist/components/{p-de86852a.js → p-HRj1DOvh.js} +9 -6
- package/dist/components/{p-0bd4c19c.js → p-Q3W78DlP.js} +1 -1
- package/dist/components/{p-da11a695.js → p-QnvG_QPu.js} +12 -13
- package/dist/components/tds-accordion-item.js +15 -8
- package/dist/components/tds-accordion.js +11 -8
- package/dist/components/tds-badge.js +11 -6
- package/dist/components/tds-banner.js +24 -16
- package/dist/components/tds-block.js +10 -7
- package/dist/components/tds-body-cell.js +12 -15
- package/dist/components/tds-breadcrumb.js +8 -6
- package/dist/components/tds-breadcrumbs.js +7 -7
- package/dist/components/tds-button.js +1 -1
- package/dist/components/tds-card.js +38 -25
- package/dist/components/tds-checkbox.js +1 -1
- package/dist/components/tds-chip.js +23 -16
- package/dist/components/tds-core-header-item.js +1 -1
- package/dist/components/tds-datetime.js +38 -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 +8 -7
- package/dist/components/tds-folder-tabs.js +22 -25
- package/dist/components/tds-footer-group.js +16 -18
- package/dist/components/tds-footer-item.js +9 -12
- package/dist/components/tds-footer.js +12 -10
- package/dist/components/tds-header-brand-symbol.js +11 -10
- package/dist/components/tds-header-cell.js +29 -34
- package/dist/components/tds-header-dropdown-list-item.js +1 -1
- package/dist/components/tds-header-dropdown-list-user.js +7 -10
- package/dist/components/tds-header-dropdown-list.js +1 -1
- package/dist/components/tds-header-dropdown.js +23 -25
- 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 +7 -6
- package/dist/components/tds-header-launcher-grid-title.js +8 -7
- package/dist/components/tds-header-launcher-grid.js +8 -8
- package/dist/components/tds-header-launcher-list-item.js +8 -7
- package/dist/components/tds-header-launcher-list-title.js +8 -7
- package/dist/components/tds-header-launcher-list.js +8 -6
- package/dist/components/tds-header-launcher.js +20 -25
- package/dist/components/tds-header-title.js +8 -7
- package/dist/components/tds-header.js +14 -15
- package/dist/components/tds-icon.js +1 -1
- package/dist/components/tds-inline-tab.js +8 -6
- package/dist/components/tds-inline-tabs.js +23 -25
- package/dist/components/tds-link.js +10 -6
- package/dist/components/tds-message.js +22 -18
- package/dist/components/tds-modal.js +29 -26
- package/dist/components/tds-navigation-tab.js +8 -6
- package/dist/components/tds-navigation-tabs.js +25 -27
- 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 +8 -6
- package/dist/components/tds-popover-menu.js +24 -15
- package/dist/components/tds-radio-button.js +17 -19
- package/dist/components/tds-side-menu-close-button.js +9 -8
- package/dist/components/tds-side-menu-collapse-button.js +13 -13
- package/dist/components/tds-side-menu-dropdown-list-item.js +17 -19
- package/dist/components/tds-side-menu-dropdown-list.js +10 -9
- package/dist/components/tds-side-menu-dropdown.js +16 -15
- package/dist/components/tds-side-menu-item.js +1 -1
- package/dist/components/tds-side-menu-overlay.js +7 -6
- 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 +9 -12
- package/dist/components/tds-side-menu.js +29 -25
- package/dist/components/tds-slider.js +64 -55
- package/dist/components/tds-spinner.js +9 -6
- package/dist/components/tds-step.js +10 -16
- package/dist/components/tds-stepper.js +18 -7
- package/dist/components/tds-table-body-input-wrapper.js +10 -8
- package/dist/components/tds-table-body-row-expandable.js +26 -25
- package/dist/components/tds-table-body-row.js +16 -15
- package/dist/components/tds-table-body.js +17 -21
- package/dist/components/tds-table-footer.js +37 -36
- package/dist/components/tds-table-header-input-wrapper.js +10 -8
- package/dist/components/tds-table-header.js +29 -32
- package/dist/components/tds-table-toolbar.js +15 -13
- package/dist/components/tds-table.js +38 -22
- package/dist/components/tds-tag.js +10 -8
- package/dist/components/tds-text-field.js +1 -1
- package/dist/components/tds-textarea.js +28 -22
- package/dist/components/tds-toast.js +22 -18
- package/dist/components/tds-toggle.js +22 -20
- package/dist/components/tds-tooltip.js +1 -1
- package/dist/esm/index-BqRtRha-.js +2385 -0
- package/dist/esm/{inheritAriaAttributes-04f2f252.js → inheritAriaAttributes-DyLhgCIg.js} +1 -1
- package/dist/esm/{isHeadingElement-8efea284.js → isHeadingElement-BQco7VNg.js} +1 -1
- package/dist/esm/loader.js +3 -4
- package/dist/esm/tds-accordion-item.entry.js +9 -4
- package/dist/esm/tds-accordion.entry.js +6 -5
- package/dist/esm/tds-badge.entry.js +6 -3
- package/dist/esm/tds-banner.entry.js +18 -12
- package/dist/esm/tds-block.entry.js +5 -4
- package/dist/esm/tds-body-cell.entry.js +6 -11
- package/dist/esm/tds-breadcrumb.entry.js +3 -3
- package/dist/esm/tds-breadcrumbs.entry.js +2 -4
- package/dist/esm/tds-button_2.entry.js +18 -17
- package/dist/esm/tds-card.entry.js +30 -19
- package/dist/esm/tds-checkbox.entry.js +16 -19
- package/dist/esm/tds-chip.entry.js +18 -13
- package/dist/esm/tds-core-header-item_2.entry.js +12 -15
- package/dist/esm/tds-datetime.entry.js +32 -29
- package/dist/esm/tds-dropdown_2.entry.js +97 -98
- package/dist/esm/tds-folder-tab.entry.js +3 -4
- package/dist/esm/tds-folder-tabs.entry.js +16 -21
- package/dist/esm/tds-footer-group.entry.js +10 -14
- package/dist/esm/tds-footer-item.entry.js +4 -9
- package/dist/esm/tds-footer.entry.js +7 -7
- package/dist/esm/tds-header-brand-symbol.entry.js +4 -5
- package/dist/esm/tds-header-cell.entry.js +23 -30
- package/dist/esm/tds-header-dropdown-list-item.entry.js +4 -3
- package/dist/esm/tds-header-dropdown-list-user.entry.js +2 -7
- package/dist/esm/tds-header-dropdown-list.entry.js +8 -11
- package/dist/esm/tds-header-dropdown.entry.js +13 -17
- package/dist/esm/tds-header-hamburger.entry.js +4 -6
- package/dist/esm/tds-header-launcher-button.entry.js +6 -6
- package/dist/esm/tds-header-launcher-grid-item.entry.js +2 -3
- package/dist/esm/tds-header-launcher-grid-title.entry.js +3 -4
- package/dist/esm/tds-header-launcher-grid.entry.js +4 -6
- package/dist/esm/tds-header-launcher-list-item.entry.js +2 -3
- package/dist/esm/tds-header-launcher-list-title.entry.js +3 -4
- package/dist/esm/tds-header-launcher-list.entry.js +2 -2
- package/dist/esm/tds-header-launcher.entry.js +10 -17
- package/dist/esm/tds-header-title.entry.js +3 -4
- package/dist/esm/tds-header.entry.js +10 -13
- package/dist/esm/tds-icon.entry.js +12 -11
- package/dist/esm/tds-inline-tab.entry.js +3 -3
- package/dist/esm/tds-inline-tabs.entry.js +17 -21
- package/dist/esm/tds-link.entry.js +5 -3
- package/dist/esm/tds-message.entry.js +16 -14
- package/dist/esm/tds-modal.entry.js +23 -22
- package/dist/esm/tds-navigation-tab.entry.js +3 -3
- package/dist/esm/tds-navigation-tabs.entry.js +19 -23
- package/dist/esm/tds-popover-canvas.entry.js +19 -11
- package/dist/esm/tds-popover-core.entry.js +47 -43
- package/dist/esm/tds-popover-menu-item.entry.js +3 -3
- package/dist/esm/tds-popover-menu.entry.js +18 -11
- package/dist/esm/tds-radio-button.entry.js +12 -16
- package/dist/esm/tds-side-menu-close-button.entry.js +4 -5
- package/dist/esm/tds-side-menu-collapse-button.entry.js +7 -9
- package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +12 -16
- package/dist/esm/tds-side-menu-dropdown-list.entry.js +5 -6
- package/dist/esm/tds-side-menu-dropdown.entry.js +9 -10
- package/dist/esm/tds-side-menu-item.entry.js +15 -19
- package/dist/esm/tds-side-menu-overlay.entry.js +2 -3
- package/dist/esm/tds-side-menu-user-image_2.entry.js +3 -9
- package/dist/esm/tds-side-menu-user.entry.js +2 -7
- package/dist/esm/tds-side-menu.entry.js +24 -22
- package/dist/esm/tds-slider.entry.js +55 -48
- package/dist/esm/tds-spinner.entry.js +4 -3
- package/dist/esm/tds-step.entry.js +4 -12
- package/dist/esm/tds-stepper.entry.js +13 -4
- package/dist/esm/tds-table-body-input-wrapper.entry.js +4 -4
- package/dist/esm/tds-table-body-row-expandable.entry.js +21 -22
- package/dist/esm/tds-table-body-row.entry.js +10 -11
- package/dist/esm/tds-table-body.entry.js +12 -18
- package/dist/esm/tds-table-footer.entry.js +28 -29
- package/dist/esm/tds-table-header-input-wrapper.entry.js +4 -4
- package/dist/esm/tds-table-header.entry.js +23 -28
- package/dist/esm/tds-table-toolbar.entry.js +9 -9
- package/dist/esm/tds-table.entry.js +33 -19
- package/dist/esm/tds-tag.entry.js +5 -5
- package/dist/esm/tds-text-field.entry.js +28 -18
- package/dist/esm/tds-textarea.entry.js +20 -16
- package/dist/esm/tds-toast.entry.js +16 -14
- package/dist/esm/tds-toggle.entry.js +17 -17
- package/dist/esm/tds-tooltip.entry.js +23 -19
- package/dist/esm/tegel.js +5 -5
- package/dist/tegel/p-03ff8648.entry.js +1 -0
- package/dist/tegel/p-08ef673e.entry.js +1 -0
- package/dist/tegel/{p-da38aa9a.entry.js → p-0cd740b9.entry.js} +1 -1
- package/dist/tegel/{p-87219f00.entry.js → p-15c69748.entry.js} +1 -1
- package/dist/tegel/p-192332e7.entry.js +1 -0
- package/dist/tegel/p-206d4703.entry.js +1 -0
- package/dist/tegel/{p-b734b309.entry.js → p-20b5c366.entry.js} +1 -1
- package/dist/tegel/{p-2faeb483.entry.js → p-299e0e56.entry.js} +1 -1
- package/dist/tegel/p-2a1342d8.entry.js +1 -0
- package/dist/tegel/p-312c49f8.entry.js +1 -0
- package/dist/tegel/p-342052b9.entry.js +1 -0
- package/dist/tegel/p-348f3bad.entry.js +1 -0
- package/dist/tegel/p-3806a0e4.entry.js +1 -0
- package/dist/tegel/{p-771f53c2.entry.js → p-3a5588b2.entry.js} +1 -1
- package/dist/tegel/p-3ba30c59.entry.js +1 -0
- package/dist/tegel/p-3bd99720.entry.js +1 -0
- package/dist/tegel/p-3de8e52b.entry.js +1 -0
- package/dist/tegel/p-41084e54.entry.js +1 -0
- package/dist/tegel/p-41242d2e.entry.js +1 -0
- package/dist/tegel/p-43f6c149.entry.js +1 -0
- package/dist/tegel/p-4489b7d5.entry.js +1 -0
- package/dist/tegel/p-503abc18.entry.js +1 -0
- package/dist/tegel/{p-4b5e15cc.entry.js → p-5bea354f.entry.js} +1 -1
- package/dist/tegel/{p-646d1df4.entry.js → p-60cbdc0a.entry.js} +1 -1
- package/dist/tegel/p-6253f1d8.entry.js +1 -0
- package/dist/tegel/p-6301a8b5.entry.js +1 -0
- package/dist/tegel/{p-c163d44f.entry.js → p-648df3a1.entry.js} +1 -1
- package/dist/tegel/p-65d43cfd.entry.js +1 -0
- package/dist/tegel/p-6d4e71fd.entry.js +1 -0
- package/dist/tegel/p-73167867.entry.js +1 -0
- package/dist/tegel/p-73c9a5b3.entry.js +1 -0
- package/dist/tegel/{p-ceed0476.entry.js → p-7cec9df0.entry.js} +1 -1
- package/dist/tegel/p-7ef6db3c.entry.js +1 -0
- package/dist/tegel/p-83a3ca55.entry.js +1 -0
- package/dist/tegel/p-88d3bbbd.entry.js +1 -0
- package/dist/tegel/p-8a5df42a.entry.js +1 -0
- package/dist/tegel/p-8f1bbe70.entry.js +1 -0
- package/dist/tegel/p-9296f0d1.entry.js +1 -0
- package/dist/tegel/p-954e6cf0.entry.js +1 -0
- package/dist/tegel/{p-655051b6.entry.js → p-996f0ac5.entry.js} +1 -1
- package/dist/tegel/p-9fed9d16.entry.js +1 -0
- package/dist/tegel/p-BqRtRha-.js +2 -0
- package/dist/tegel/{p-9332c225.js → p-Bx66i7RU.js} +1 -1
- package/dist/tegel/{p-0bd4c19c.js → p-Q3W78DlP.js} +1 -1
- package/dist/tegel/p-a13ecd87.entry.js +1 -0
- package/dist/tegel/p-a53cb562.entry.js +1 -0
- package/dist/tegel/{p-3c348fcb.entry.js → p-a74d375a.entry.js} +1 -1
- package/dist/tegel/p-a8d29ac5.entry.js +1 -0
- package/dist/tegel/p-abe630f5.entry.js +1 -0
- package/dist/tegel/p-b2934101.entry.js +1 -0
- package/dist/tegel/p-b2d9244a.entry.js +1 -0
- package/dist/tegel/{p-2766b46f.entry.js → p-b5deab8e.entry.js} +1 -1
- package/dist/tegel/p-b901a7e3.entry.js +1 -0
- package/dist/tegel/{p-133351b5.entry.js → p-b9cb2eef.entry.js} +1 -1
- package/dist/tegel/{p-c2e514b4.entry.js → p-bc4d68b0.entry.js} +1 -1
- package/dist/tegel/p-bee62505.entry.js +1 -0
- package/dist/tegel/p-c2ae97bb.entry.js +1 -0
- package/dist/tegel/p-c2b3bd3c.entry.js +1 -0
- package/dist/tegel/{p-88bb1059.entry.js → p-c7c4f528.entry.js} +1 -1
- package/dist/tegel/{p-c5694dd6.entry.js → p-d03f33c0.entry.js} +1 -1
- package/dist/tegel/p-d0c0c8f3.entry.js +1 -0
- package/dist/tegel/p-d1f9c4fd.entry.js +1 -0
- package/dist/tegel/p-d28462be.entry.js +1 -0
- package/dist/tegel/p-d2b7c692.entry.js +1 -0
- package/dist/tegel/p-d4412e32.entry.js +1 -0
- package/dist/tegel/{p-27369d6a.entry.js → p-d659aefa.entry.js} +1 -1
- package/dist/tegel/p-d67ff384.entry.js +1 -0
- package/dist/tegel/p-d8a35537.entry.js +1 -0
- package/dist/tegel/p-dcd132d5.entry.js +1 -0
- package/dist/tegel/{p-fe4335ca.entry.js → p-de9f2a0d.entry.js} +1 -1
- package/dist/tegel/p-dec2ede0.entry.js +1 -0
- package/dist/tegel/p-e1daba90.entry.js +1 -0
- package/dist/tegel/p-e5166678.entry.js +1 -0
- package/dist/tegel/p-e643c9b3.entry.js +1 -0
- package/dist/tegel/{p-8a4837ae.entry.js → p-e777d558.entry.js} +1 -1
- package/dist/tegel/p-f0c912af.entry.js +1 -0
- package/dist/tegel/p-f3da2bf5.entry.js +1 -0
- package/dist/tegel/p-f46be246.entry.js +1 -0
- package/dist/tegel/p-f5a7d350.entry.js +1 -0
- package/dist/tegel/p-fa8a4f27.entry.js +1 -0
- package/dist/tegel/{p-b9afb39e.entry.js → p-fb59d675.entry.js} +1 -1
- package/dist/tegel/p-ff6da1f1.entry.js +1 -0
- package/dist/tegel/tegel.css +3 -3
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/accordion/accordion.d.ts +1 -1
- package/dist/types/components/block/block.d.ts +1 -1
- package/dist/types/components/button/button.d.ts +1 -1
- package/dist/types/components/card/card.d.ts +1 -1
- package/dist/types/components/datetime/datetime.d.ts +2 -2
- package/dist/types/components/dropdown/dropdown.d.ts +9 -5
- package/dist/types/components/footer/footer.d.ts +1 -1
- package/dist/types/components/header/header-launcher/header-launcher.d.ts +1 -1
- package/dist/types/components/icon/icon.d.ts +1 -1
- package/dist/types/components/message/message.d.ts +1 -1
- package/dist/types/components/modal/modal.d.ts +1 -1
- package/dist/types/components/popover-canvas/popover-canvas.d.ts +3 -3
- package/dist/types/components/popover-core/popover-core.d.ts +2 -2
- package/dist/types/components/popover-menu/popover-menu.d.ts +3 -3
- package/dist/types/components/slider/slider-stories-setup.d.ts +2 -2
- package/dist/types/components/table/table/table.d.ts +3 -6
- package/dist/types/components/table/table-body/table-body.d.ts +3 -3
- package/dist/types/components/table/table-body-cell/table-body-cell.d.ts +5 -8
- package/dist/types/components/table/table-body-input-wrapper/table-body-input-wrapper.d.ts +2 -2
- package/dist/types/components/table/table-body-row/table-body-row.d.ts +5 -5
- package/dist/types/components/table/table-body-row-expandable/table-body-row-expandable.d.ts +7 -7
- package/dist/types/components/table/table-footer/table-footer.d.ts +4 -4
- package/dist/types/components/table/table-header/table-header.d.ts +5 -5
- package/dist/types/components/table/table-header-cell/table-header-cell.d.ts +8 -8
- package/dist/types/components/table/table-header-input-wrapper/table-header-input-wrapper.d.ts +1 -1
- package/dist/types/components/table/table-toolbar/table-toolbar.d.ts +4 -4
- package/dist/types/components/tabs/folder-tabs/folder-tabs.d.ts +1 -1
- package/dist/types/components/text-field/text-field.d.ts +1 -1
- package/dist/types/components/textarea/textarea.d.ts +2 -2
- package/dist/types/components/tooltip/tooltip.d.ts +2 -2
- package/dist/types/components.d.ts +624 -77
- package/dist/types/stencil-public-runtime.d.ts +86 -4
- package/dist/types/types/Attributes.d.ts +1 -1
- package/dist/types/utils/dom.d.ts +2 -0
- package/dist/types/utils/findNextFocusableElement.d.ts +1 -1
- package/dist/types/utils/findPreviousFocusableElement.d.ts +1 -1
- package/dist/types/utils/getNextNestedChildOfSiblingsMatching.d.ts +1 -1
- package/dist/types/utils/getPreviousNestedChildOfSiblingsMatching.d.ts +1 -1
- package/package.json +2 -2
- package/dist/cjs/app-globals-3a1e7e63.js +0 -5
- package/dist/cjs/index-ca8040ad.js +0 -2039
- package/dist/components/p-28ef5186.js +0 -1507
- package/dist/esm/app-globals-0f993ce5.js +0 -3
- package/dist/esm/index-51d04e39.js +0 -2009
- package/dist/tegel/p-08c16b2f.entry.js +0 -1
- package/dist/tegel/p-0b37e91a.entry.js +0 -1
- package/dist/tegel/p-177386d5.entry.js +0 -1
- package/dist/tegel/p-1b471db7.entry.js +0 -1
- package/dist/tegel/p-1e1a87c1.entry.js +0 -1
- package/dist/tegel/p-2049fab2.js +0 -2
- package/dist/tegel/p-2268af7f.entry.js +0 -1
- package/dist/tegel/p-252a7d3f.entry.js +0 -1
- package/dist/tegel/p-25473962.entry.js +0 -1
- package/dist/tegel/p-27d39882.entry.js +0 -1
- package/dist/tegel/p-304f5a5c.entry.js +0 -1
- package/dist/tegel/p-3ef04672.entry.js +0 -1
- package/dist/tegel/p-40d99d7d.entry.js +0 -1
- package/dist/tegel/p-40fa0f5b.entry.js +0 -1
- package/dist/tegel/p-48a3e489.entry.js +0 -1
- package/dist/tegel/p-4de2807c.entry.js +0 -1
- package/dist/tegel/p-4e15f31d.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-6a472310.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-942f8c6f.entry.js +0 -1
- package/dist/tegel/p-98eff725.entry.js +0 -1
- package/dist/tegel/p-9b06bd5f.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-a334b517.entry.js +0 -1
- package/dist/tegel/p-a4e4c450.entry.js +0 -1
- package/dist/tegel/p-a60ed3de.entry.js +0 -1
- package/dist/tegel/p-a6dca188.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-b7abb81f.entry.js +0 -1
- package/dist/tegel/p-bb8c2a36.entry.js +0 -1
- package/dist/tegel/p-bcd5e06d.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-ca068263.entry.js +0 -1
- package/dist/tegel/p-ca16f1ed.entry.js +0 -1
- package/dist/tegel/p-ca32a270.entry.js +0 -1
- package/dist/tegel/p-cc962b6c.entry.js +0 -1
- package/dist/tegel/p-d501a665.entry.js +0 -1
- package/dist/tegel/p-dda1ac69.entry.js +0 -1
- package/dist/tegel/p-e0dc09f9.entry.js +0 -1
- package/dist/tegel/p-e1255160.js +0 -1
- package/dist/tegel/p-e29fa563.entry.js +0 -1
- package/dist/tegel/p-e6e9d11f.entry.js +0 -1
- package/dist/tegel/p-e8b58680.entry.js +0 -1
- package/dist/tegel/p-ed66ef30.entry.js +0 -1
- package/dist/tegel/p-f5ca4fbf.entry.js +0 -1
- package/dist/tegel/p-f602b3a1.entry.js +0 -1
- package/dist/tegel/p-f8a37d39.entry.js +0 -1
- package/dist/tegel/p-f922308f.entry.js +0 -1
- package/dist/tegel/p-fb300776.entry.js +0 -1
- package/dist/tegel/p-fd22d1ca.entry.js +0 -1
- package/loader/package.json +0 -11
- /package/dist/cjs/{dfs-84f7f63e.js → dfs-Clg9RCmq.js} +0 -0
- /package/dist/cjs/{generateUniqueId-e3fc9863.js → generateUniqueId-ComXTAM_.js} +0 -0
- /package/dist/cjs/{getAriaInvalid-66a2eade.js → getAriaInvalid-Bdg4qUb_.js} +0 -0
- /package/dist/cjs/{hasSlot-1c90e9ba.js → hasSlot-D-DVNhGg.js} +0 -0
- /package/dist/cjs/{inheritAttributes-ff9ad737.js → inheritAttributes-CGw91JfB.js} +0 -0
- /package/dist/components/{p-a1181b1f.js → p-CBZ6wC3m.js} +0 -0
- /package/dist/components/{p-3fe9cbbf.js → p-CF8bH08v.js} +0 -0
- /package/dist/components/{p-52bf0fdf.js → p-CLF3diNe.js} +0 -0
- /package/dist/components/{p-11648030.js → p-Cn4f8w1e.js} +0 -0
- /package/dist/components/{p-ae110fc2.js → p-DDX6uFcm.js} +0 -0
- /package/dist/components/{p-bbf9492a.js → p-wEP_nEaO.js} +0 -0
- /package/dist/esm/{dfs-1e574d5f.js → dfs-CLF3diNe.js} +0 -0
- /package/dist/esm/{generateUniqueId-7934d315.js → generateUniqueId-Cn4f8w1e.js} +0 -0
- /package/dist/esm/{getAriaInvalid-a9944cb9.js → getAriaInvalid-wEP_nEaO.js} +0 -0
- /package/dist/esm/{hasSlot-d52114d0.js → hasSlot-DDX6uFcm.js} +0 -0
- /package/dist/esm/{inheritAttributes-d21e267b.js → inheritAttributes-CF8bH08v.js} +0 -0
- /package/dist/tegel/{p-3fe9cbbf.js → p-CF8bH08v.js} +0 -0
- /package/dist/tegel/{p-52bf0fdf.js → p-CLF3diNe.js} +0 -0
- /package/dist/tegel/{p-11648030.js → p-Cn4f8w1e.js} +0 -0
- /package/dist/tegel/{p-ae110fc2.js → p-DDX6uFcm.js} +0 -0
- /package/dist/tegel/{p-bbf9492a.js → p-wEP_nEaO.js} +0 -0
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h,
|
|
1
|
+
import { p as proxyCustomElement, H, h, a as Host } from './index.js';
|
|
2
2
|
|
|
3
3
|
const dividerCss = ".divider{box-sizing:border-box;background-color:var(--tds-divider-background)}.divider *{box-sizing:border-box}.divider.discrete{background-color:var(--tds-divider-background-discrete)}.divider.subtle{background-color:var(--tds-divider-background-subtle)}.divider.soft{background-color:var(--tds-divider-background-soft)}.divider.defined{background-color:var(--tds-divider-background-defined)}.divider.dark-blue{background-color:var(--tds-divider-background-dark-blue)}.divider.horizontal{width:100%;height:1px}.divider.vertical{height:100%;width:1px}";
|
|
4
|
-
const TdsDividerStyle0 = dividerCss;
|
|
5
4
|
|
|
6
5
|
const Divider = /*@__PURE__*/ proxyCustomElement(class Divider extends H {
|
|
7
|
-
constructor() {
|
|
6
|
+
constructor(registerHost) {
|
|
8
7
|
super();
|
|
9
|
-
|
|
8
|
+
if (registerHost !== false) {
|
|
9
|
+
this.__registerHost();
|
|
10
|
+
}
|
|
10
11
|
this.__attachShadow();
|
|
12
|
+
/** Orientation of the Divider, horizontal if not specified. */
|
|
11
13
|
this.orientation = 'horizontal';
|
|
14
|
+
/** Variant of the Divider, subtle if not specified. */
|
|
12
15
|
this.variant = 'subtle';
|
|
13
16
|
}
|
|
14
17
|
render() {
|
|
@@ -23,8 +26,8 @@ const Divider = /*@__PURE__*/ proxyCustomElement(class Divider extends H {
|
|
|
23
26
|
'dark-blue': this.variant === 'dark-blue',
|
|
24
27
|
} })));
|
|
25
28
|
}
|
|
26
|
-
static get style() { return
|
|
27
|
-
}, [
|
|
29
|
+
static get style() { return dividerCss; }
|
|
30
|
+
}, [257, "tds-divider", {
|
|
28
31
|
"orientation": [1],
|
|
29
32
|
"variant": [1]
|
|
30
33
|
}]);
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h,
|
|
1
|
+
import { p as proxyCustomElement, H, h, a as Host } from './index.js';
|
|
2
2
|
|
|
3
3
|
const headerDropdownListItemCss = ":host{display:block;box-sizing:border-box;height:var(--tds-header-list-item-md-height);width:100%}:host .component{height:100%}:host .component ::slotted(a),:host .component ::slotted(button){all:unset;box-sizing:border-box;border:none;display:flex;align-items:center;height:100%;padding:0 24px;width:100%;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);background-color:var(--tds-nav-dropdown-item-background);color:var(--tds-header-nav-item-dropdown-opened-color)}:host .component ::slotted(a:hover){background-color:var(--tds-nav-item-background-hover);cursor:pointer}:host .component ::slotted(a:focus-visible){outline:2px solid var(--tds-focus-outline-color);box-shadow:inset 0 0 0 3px var(--tds-white);outline-offset:-2px}:host .component-selected{background-color:var(--tds-nav-item-background-selected);padding-right:4px;border-left-width:4px;border-left-style:solid;border-left-color:var(--tds-nav-item-border-color-active)}:host .component-selected ::slotted(a),:host .component-selected ::slotted(button){background-color:var(--tds-nav-item-background-selected)}:host .component-selected:focus-within{border-left:none}:host(:not(:last-child)){border-bottom:1px solid var(--tds-nav-dropdown-item-border-color)}:host([size=lg]){height:var(--tds-header-height)}:host([size=lg]) ::slotted(a),:host([size=lg]) ::slotted(button){padding:0 16px;color:var(--tds-header-app-launcher-item-color)}";
|
|
4
|
-
const TdsHeaderDropdownListItemStyle0 = headerDropdownListItemCss;
|
|
5
4
|
|
|
6
5
|
const TdsHeaderDropdownListItem = /*@__PURE__*/ proxyCustomElement(class TdsHeaderDropdownListItem extends H {
|
|
7
|
-
constructor() {
|
|
6
|
+
constructor(registerHost) {
|
|
8
7
|
super();
|
|
9
|
-
|
|
8
|
+
if (registerHost !== false) {
|
|
9
|
+
this.__registerHost();
|
|
10
|
+
}
|
|
10
11
|
this.__attachShadow();
|
|
12
|
+
/** If the link should appear selected. */
|
|
11
13
|
this.selected = false;
|
|
14
|
+
/** The size of the component. */
|
|
12
15
|
this.size = 'md';
|
|
13
16
|
}
|
|
14
17
|
render() {
|
|
@@ -18,8 +21,8 @@ const TdsHeaderDropdownListItem = /*@__PURE__*/ proxyCustomElement(class TdsHead
|
|
|
18
21
|
} }, h("slot", { key: '0a037fd8059aa356ed9885e3e06d391f876e2fc3' }))));
|
|
19
22
|
}
|
|
20
23
|
get host() { return this; }
|
|
21
|
-
static get style() { return
|
|
22
|
-
}, [
|
|
24
|
+
static get style() { return headerDropdownListItemCss; }
|
|
25
|
+
}, [257, "tds-header-dropdown-list-item", {
|
|
23
26
|
"selected": [4],
|
|
24
27
|
"size": [513]
|
|
25
28
|
}]);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h,
|
|
2
|
-
import { g as getPreviousNestedChildOfSiblingsMatching, i as isHeadingElement } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, h, a as Host } from './index.js';
|
|
2
|
+
import { g as getPreviousNestedChildOfSiblingsMatching, i as isHeadingElement } from './p-CuIyaNyT.js';
|
|
3
3
|
|
|
4
4
|
const headerDropdownListCss = ":host{display:block;width:190px;padding:0;margin:0;list-style:none;border-radius:unset;background-color:var(--tds-header-app-launcher-menu-bg)}@media all and (max-width: 384px){:host{width:100vw}}:host([size=lg]){width:320px}";
|
|
5
|
-
const TdsHeaderDropdownListStyle0 = headerDropdownListCss;
|
|
6
5
|
|
|
7
6
|
const TdsHeaderDropdownList = /*@__PURE__*/ proxyCustomElement(class TdsHeaderDropdownList extends H {
|
|
8
|
-
constructor() {
|
|
7
|
+
constructor(registerHost) {
|
|
9
8
|
super();
|
|
10
|
-
|
|
9
|
+
if (registerHost !== false) {
|
|
10
|
+
this.__registerHost();
|
|
11
|
+
}
|
|
11
12
|
this.__attachShadow();
|
|
12
13
|
// A Map to store the slots and their associated slotchange listeners.
|
|
13
14
|
this.slotListeners = new Map();
|
|
15
|
+
/** The size of the component. */
|
|
14
16
|
this.size = 'md';
|
|
15
|
-
this.headingElement = undefined;
|
|
16
17
|
}
|
|
17
18
|
componentWillLoad() {
|
|
18
|
-
var _a, _b;
|
|
19
19
|
const { children } = this.host;
|
|
20
20
|
// Set the size prop for each child, if they have such a property
|
|
21
21
|
for (let i = 0; i < children.length; i++) {
|
|
@@ -25,7 +25,7 @@ const TdsHeaderDropdownList = /*@__PURE__*/ proxyCustomElement(class TdsHeaderDr
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
let listRoot = this.host;
|
|
28
|
-
if (
|
|
28
|
+
if (this.host.parentElement.tagName.toLowerCase() === 'tds-header-launcher-list') {
|
|
29
29
|
listRoot = this.host.parentElement;
|
|
30
30
|
}
|
|
31
31
|
const headingEl = getPreviousNestedChildOfSiblingsMatching(listRoot, isHeadingElement);
|
|
@@ -37,8 +37,7 @@ const TdsHeaderDropdownList = /*@__PURE__*/ proxyCustomElement(class TdsHeaderDr
|
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
componentDidLoad() {
|
|
40
|
-
|
|
41
|
-
(_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('slot').forEach((slot) => {
|
|
40
|
+
this.host.shadowRoot.querySelectorAll('slot').forEach((slot) => {
|
|
42
41
|
// Add the slotchange event listener.
|
|
43
42
|
const onSlotChange = (e) => {
|
|
44
43
|
this.processAssignedElements(e.target);
|
|
@@ -77,11 +76,11 @@ const TdsHeaderDropdownList = /*@__PURE__*/ proxyCustomElement(class TdsHeaderDr
|
|
|
77
76
|
'role': 'list',
|
|
78
77
|
'aria-labelledby': (_a = this.headingElement) === null || _a === void 0 ? void 0 : _a.id,
|
|
79
78
|
};
|
|
80
|
-
return (h(Host, Object.assign({ key: '
|
|
79
|
+
return (h(Host, Object.assign({ key: '57e8ecd046b7a260f1516fc80673e9d095ffd4d3' }, attributes), h("slot", { key: 'e0bafe5fffcf8864faebd4603597e3e424a35046' })));
|
|
81
80
|
}
|
|
82
81
|
get host() { return this; }
|
|
83
|
-
static get style() { return
|
|
84
|
-
}, [
|
|
82
|
+
static get style() { return headerDropdownListCss; }
|
|
83
|
+
}, [257, "tds-header-dropdown-list", {
|
|
85
84
|
"size": [513],
|
|
86
85
|
"headingElement": [32]
|
|
87
86
|
}]);
|
|
@@ -1,21 +1,28 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H,
|
|
2
|
-
import { g as generateUniqueId } from './p-
|
|
3
|
-
import { d as defineCustomElement$2 } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, c as createEvent, h, a as Host } from './index.js';
|
|
2
|
+
import { g as generateUniqueId } from './p-Cn4f8w1e.js';
|
|
3
|
+
import { d as defineCustomElement$2 } from './p-CPDv0bBc.js';
|
|
4
4
|
|
|
5
5
|
const accordionItemCss = ".tds-accordion-item{box-sizing:border-box;list-style:none;color:var(--tds-accordion-color);position:relative;border-top:1px solid var(--tds-accordion-border)}.tds-accordion-item *{box-sizing:border-box}.tds-accordion-item:hover{background-color:var(--tds-accordion-background-hover);border-bottom:1px solid var(--tds-accordion-border-hover);border-top:1px solid var(--tds-accordion-border-hover);margin-bottom:-1px;z-index:1}.tds-accordion-item button.tds-accordion-header-icon-start,.tds-accordion-item button.tds-accordion-header-icon-end{all:unset}.tds-accordion-item .tds-accordion-header-icon-start,.tds-accordion-item .tds-accordion-header-icon-end,.tds-accordion-item button.tds-accordion-header-icon-start,.tds-accordion-item button.tds-accordion-header-icon-end{box-sizing:border-box;cursor:pointer;display:flex;align-items:center;width:100%;font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);padding:var(--tds-spacing-element-16);background-color:var(--tds-accordion-background)}.tds-accordion-item .tds-accordion-header-icon-start *,.tds-accordion-item .tds-accordion-header-icon-end *,.tds-accordion-item button.tds-accordion-header-icon-start *,.tds-accordion-item button.tds-accordion-header-icon-end *{box-sizing:border-box}.tds-accordion-item .tds-accordion-header-icon-start .tds-accordion-icon,.tds-accordion-item .tds-accordion-header-icon-end .tds-accordion-icon,.tds-accordion-item button.tds-accordion-header-icon-start .tds-accordion-icon,.tds-accordion-item button.tds-accordion-header-icon-end .tds-accordion-icon{transform-origin:center;transition:transform 0.15s ease-in-out;color:var(--tds-accordion-icon-color)}.tds-accordion-item .tds-accordion-header-icon-start .tds-accordion-icon>tds-icon,.tds-accordion-item .tds-accordion-header-icon-end .tds-accordion-icon>tds-icon,.tds-accordion-item button.tds-accordion-header-icon-start .tds-accordion-icon>tds-icon,.tds-accordion-item button.tds-accordion-header-icon-end .tds-accordion-icon>tds-icon{display:block}.tds-accordion-item .tds-accordion-title{flex-grow:2}.tds-accordion-item .tds-accordion-panel{cursor:default;padding:var(--tds-spacing-element-8) var(--tds-spacing-layout-64) var(--tds-spacing-element-32) var(--tds-spacing-element-16);display:none;font:var(--tds-detail-03);letter-spacing:var(--tds-detail-03-ls)}.tds-accordion-item .tds-accordion-panel p{margin:0;padding:0}.tds-accordion-item .tds-accordion-panel--padding-reset{padding-right:var(--tds-spacing-element-16)}.tds-accordion-item .tds-accordion-header-icon-end .tds-accordion-icon{margin:0 0 0 var(--tds-spacing-element-32)}.tds-accordion-item .tds-accordion-header-icon-start .tds-accordion-title{order:1}.tds-accordion-item .tds-accordion-header-icon-start .tds-accordion-icon{order:0;margin:0 var(--tds-spacing-element-16) 0 0}.tds-accordion-item.disabled,.tds-accordion-item.disabled .tds-accordion-header-icon-end,.tds-accordion-item.disabled .tds-accordion-header-icon-start,.tds-accordion-item.disabled .tds-accordion-panel{color:var(--tds-accordion-color-disabled);cursor:not-allowed}.tds-accordion-item.disabled .tds-accordion-icon,.tds-accordion-item.disabled .tds-accordion-header-icon-end .tds-accordion-icon,.tds-accordion-item.disabled .tds-accordion-header-icon-start .tds-accordion-icon,.tds-accordion-item.disabled .tds-accordion-panel .tds-accordion-icon{color:var(--tds-accordion-color-disabled)}.tds-accordion-item.disabled:hover,.tds-accordion-item.disabled:hover *,.tds-accordion-item.disabled:active,.tds-accordion-item.disabled:active *,.tds-accordion-item.disabled.active,.tds-accordion-item.disabled.active *{cursor:not-allowed}.tds-accordion-item.disabled:hover .tds-accordion-header-icon-start,.tds-accordion-item.disabled:hover .tds-accordion-header-icon-end,.tds-accordion-item.disabled:active .tds-accordion-header-icon-start,.tds-accordion-item.disabled:active .tds-accordion-header-icon-end,.tds-accordion-item.disabled.active .tds-accordion-header-icon-start,.tds-accordion-item.disabled.active .tds-accordion-header-icon-end{background-color:var(--tds-accordion-bg);outline:none;pointer-events:none}.tds-accordion-item.disabled:hover .tds-accordion-header-icon-start::after,.tds-accordion-item.disabled:hover .tds-accordion-header-icon-end::after,.tds-accordion-item.disabled:active .tds-accordion-header-icon-start::after,.tds-accordion-item.disabled:active .tds-accordion-header-icon-end::after,.tds-accordion-item.disabled.active .tds-accordion-header-icon-start::after,.tds-accordion-item.disabled.active .tds-accordion-header-icon-end::after{border-color:transparent}.tds-accordion-item.expanded .tds-accordion-panel{display:block;padding-bottom:31px}.tds-accordion-item.expanded .tds-accordion-icon{transform:rotate(180deg)}.tds-accordion-item.expanded .tds-accordion-header-icon-end .tds-accordion-icon{margin-right:0;margin-left:var(--tds-spacing-element-32)}.tds-accordion-item.expanded .tds-accordion-header-icon-start .tds-accordion-icon{margin-left:0;margin-right:var(--tds-spacing-element-16)}.tds-accordion-item:has(:focus-visible){outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1;z-index:2}.tds-accordion-item[disabled=true]:focus-visible{border-color:var(--tds-accordion-border)}";
|
|
6
|
-
const TdsAccordionItemStyle0 = accordionItemCss;
|
|
7
6
|
|
|
8
7
|
const TdsAccordionItem$1 = /*@__PURE__*/ proxyCustomElement(class TdsAccordionItem extends H {
|
|
9
|
-
constructor() {
|
|
8
|
+
constructor(registerHost) {
|
|
10
9
|
super();
|
|
11
|
-
|
|
10
|
+
if (registerHost !== false) {
|
|
11
|
+
this.__registerHost();
|
|
12
|
+
}
|
|
12
13
|
this.__attachShadow();
|
|
13
14
|
this.tdsToggle = createEvent(this, "tdsToggle", 7);
|
|
15
|
+
/** The header gives users the context about the additional information available inside the panel */
|
|
14
16
|
this.header = '';
|
|
17
|
+
/** Changes position of the expand icon. */
|
|
15
18
|
this.expandIconPosition = 'end';
|
|
19
|
+
/** Disabled option in `boolean`. */
|
|
16
20
|
this.disabled = false;
|
|
21
|
+
/** Set to true to expand panel open */
|
|
17
22
|
this.expanded = false;
|
|
23
|
+
/** When true, 16px on right padding instead of 64px */
|
|
18
24
|
this.paddingReset = false;
|
|
25
|
+
/** Specifies the heading level (aria-level) for accessibility. Only accepts values between 1 and 6. */
|
|
19
26
|
this.ariaLevelValue = '6';
|
|
20
27
|
}
|
|
21
28
|
/** Method for toggling the expanded state of the Accordion Item. */
|
|
@@ -59,8 +66,8 @@ const TdsAccordionItem$1 = /*@__PURE__*/ proxyCustomElement(class TdsAccordionIt
|
|
|
59
66
|
${this.paddingReset ? 'tds-accordion-panel--padding-reset ' : ''}
|
|
60
67
|
` }, h("slot", { key: '274f9aff706adceb82aea35db3a91494e798ab2c' })))));
|
|
61
68
|
}
|
|
62
|
-
static get style() { return
|
|
63
|
-
}, [
|
|
69
|
+
static get style() { return accordionItemCss; }
|
|
70
|
+
}, [257, "tds-accordion-item", {
|
|
64
71
|
"header": [1],
|
|
65
72
|
"expandIconPosition": [1, "expand-icon-position"],
|
|
66
73
|
"disabled": [4],
|
|
@@ -1,25 +1,28 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h,
|
|
1
|
+
import { p as proxyCustomElement, H, h, a as Host } from './index.js';
|
|
2
2
|
|
|
3
3
|
const accordionCss = ":host{display:block;box-sizing:border-box;background-color:transparent}:host *{box-sizing:border-box}:host .tds-accordion-header-icon-start,:host .tds-accordion-header-icon-end{position:relative}:host(:active) .tds-accordion-item .tds-accordion-header-icon-start,:host(:active) .tds-accordion-item .tds-accordion-header-icon-end{background-color:var(--tds-accordion-background-active);outline:none}:host(:active) .disabled,:host(:active) .disabled *{cursor:not-allowed}:host(:active) .disabled .tds-accordion-header-icon-start,:host(:active) .disabled .tds-accordion-header-icon-end{background-color:var(--tds-accordion-bg);outline:none;pointer-events:none}:host(:active) .disabled .tds-accordion-header-icon-start::after,:host(:active) .disabled .tds-accordion-header-icon-end::after{border-color:transparent}:host(:last-child){border-bottom:1px solid var(--tds-accordion-border)}:host(.hide-last-border:last-child){border-bottom:none}:host(.tds-mode-variant-secondary){background-color:var(--tds-accordion-background)}:host(.tds-mode-variant-primary){background-color:var(--tds-accordion-background)}";
|
|
4
|
-
const TdsAccordionStyle0 = accordionCss;
|
|
5
4
|
|
|
6
5
|
const TdsAccordion$1 = /*@__PURE__*/ proxyCustomElement(class TdsAccordion extends H {
|
|
7
|
-
constructor() {
|
|
6
|
+
constructor(registerHost) {
|
|
8
7
|
super();
|
|
9
|
-
|
|
8
|
+
if (registerHost !== false) {
|
|
9
|
+
this.__registerHost();
|
|
10
|
+
}
|
|
10
11
|
this.__attachShadow();
|
|
12
|
+
/** Set the variant of the Accordion. */
|
|
11
13
|
this.modeVariant = null;
|
|
14
|
+
/** Removes the bottom border of the last Accordion item. */
|
|
12
15
|
this.hideLastBorder = false;
|
|
13
16
|
}
|
|
14
17
|
render() {
|
|
15
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: 'c9ecf1a636d34f69a433aa6adac976623739b631', class: {
|
|
16
19
|
'tds-accordion': true,
|
|
17
20
|
[`tds-mode-variant-${this.modeVariant || ''}`]: Boolean(this.modeVariant),
|
|
18
21
|
'hide-last-border': this.hideLastBorder,
|
|
19
|
-
} }, h("slot", { key: '
|
|
22
|
+
} }, h("slot", { key: '4dd6d46024e918a3cd5e7594449147a94d07d6a0' })));
|
|
20
23
|
}
|
|
21
|
-
static get style() { return
|
|
22
|
-
}, [
|
|
24
|
+
static get style() { return accordionCss; }
|
|
25
|
+
}, [257, "tds-accordion", {
|
|
23
26
|
"modeVariant": [1, "mode-variant"],
|
|
24
27
|
"hideLastBorder": [4, "hide-last-border"]
|
|
25
28
|
}]);
|
|
@@ -1,16 +1,21 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h } from './
|
|
1
|
+
import { p as proxyCustomElement, H, h } from './index.js';
|
|
2
2
|
|
|
3
3
|
const badgeCss = ":host{--tds-badge-background-color:var(--tds-red-400);--tds-badge-color-text:var(--tds-white);box-sizing:border-box;display:block}:host *{box-sizing:border-box}.tds-badge{display:block;border-radius:12px;background-color:var(--tds-badge-background-color);text-align:center}.tds-badge.tds-badge-sm{height:8px;width:8px;line-height:8px}.tds-badge.tds-badge-lg{height:20px;line-height:20px;width:20px}.tds-badge.tds-badge-pill{display:inline-block;width:unset;padding-left:8px;padding-right:8px}.tds-badge.tds-badge-hidden{display:none}.tds-badge-text{font-size:12px;color:var(--tds-badge-color-text);font-weight:bold}";
|
|
4
|
-
const TdsBadgeStyle0 = badgeCss;
|
|
5
4
|
|
|
6
5
|
const TdsBadge$1 = /*@__PURE__*/ proxyCustomElement(class TdsBadge extends H {
|
|
7
|
-
constructor() {
|
|
6
|
+
constructor(registerHost) {
|
|
8
7
|
super();
|
|
9
|
-
|
|
8
|
+
if (registerHost !== false) {
|
|
9
|
+
this.__registerHost();
|
|
10
|
+
}
|
|
10
11
|
this.__attachShadow();
|
|
12
|
+
/** Value shown in Badge */
|
|
11
13
|
this.value = '';
|
|
14
|
+
/** Changes visibility of Badge */
|
|
12
15
|
this.hidden = false;
|
|
16
|
+
/** Sets component size. */
|
|
13
17
|
this.size = 'lg';
|
|
18
|
+
/** Defines aria-live attribute */
|
|
14
19
|
this.tdsAriaLive = 'polite';
|
|
15
20
|
this.tdsAriaLabel = '';
|
|
16
21
|
this.shape = '';
|
|
@@ -42,8 +47,8 @@ const TdsBadge$1 = /*@__PURE__*/ proxyCustomElement(class TdsBadge extends H {
|
|
|
42
47
|
"value": ["watchProps"],
|
|
43
48
|
"size": ["watchProps"]
|
|
44
49
|
}; }
|
|
45
|
-
static get style() { return
|
|
46
|
-
}, [
|
|
50
|
+
static get style() { return badgeCss; }
|
|
51
|
+
}, [257, "tds-badge", {
|
|
47
52
|
"value": [1],
|
|
48
53
|
"hidden": [516],
|
|
49
54
|
"size": [1],
|
|
@@ -1,17 +1,32 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H,
|
|
2
|
-
import { g as generateUniqueId } from './p-
|
|
3
|
-
import { h as hasSlot } from './p-
|
|
4
|
-
import { d as defineCustomElement$2 } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, c as createEvent, h, a as Host } from './index.js';
|
|
2
|
+
import { g as generateUniqueId } from './p-Cn4f8w1e.js';
|
|
3
|
+
import { h as hasSlot } from './p-DDX6uFcm.js';
|
|
4
|
+
import { d as defineCustomElement$2 } from './p-CPDv0bBc.js';
|
|
5
5
|
|
|
6
6
|
const bannerCss = ":host(.hide){display:none;visibility:hidden}:host(.error){background-color:var(--tds-banner-background-error)}:host(.information){background-color:var(--tds-banner-background-info)}:host{display:flex;background-color:var(--tds-banner-background-default);z-index:400;padding-left:16px}:host .banner-icon{padding-left:4px;padding-top:14px;padding-right:12px;color:var(--tds-banner-prefix-default-color)}:host .banner-icon.error{color:var(--tds-banner-prefix-error-color)}:host .banner-icon.information{color:var(--tds-banner-prefix-info-color)}:host .content{color:var(--tds-banner-text-color);display:flex;flex-direction:column;flex-grow:1;padding:16px 0}:host .content.no-icon{padding-left:16px}:host .header-subheader{display:flex;flex-direction:column;gap:4px}:host .header,:host slot[name=header]{font:var(--tds-headline-06);letter-spacing:var(--tds-headline-06-ls)}:host .subheader,:host slot[name=subheader]{display:block;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls)}:host slot[name=actions]::slotted(*){display:block;width:fit-content;padding-top:12px}:host .banner-close{color:var(--tds-banner-x-color)}:host .banner-close button{padding-right:16px;padding-top:14px;background-color:transparent;border:none;color:var(--tds-banner-x-color)}:host .banner-close button:hover{cursor:pointer}:host .banner-close button:focus-visible{outline:none}:host .banner-close button:focus-visible tds-icon{outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}";
|
|
7
|
-
const TdsBannerStyle0 = bannerCss;
|
|
8
7
|
|
|
9
8
|
const TdsBanner$1 = /*@__PURE__*/ proxyCustomElement(class TdsBanner extends H {
|
|
10
|
-
constructor() {
|
|
9
|
+
constructor(registerHost) {
|
|
11
10
|
super();
|
|
12
|
-
|
|
11
|
+
if (registerHost !== false) {
|
|
12
|
+
this.__registerHost();
|
|
13
|
+
}
|
|
13
14
|
this.__attachShadow();
|
|
14
15
|
this.tdsClose = createEvent(this, "tdsClose", 7);
|
|
16
|
+
/** Variant of Banner */
|
|
17
|
+
this.variant = 'default';
|
|
18
|
+
/** ID used for internal table functionality and events, must be unique.
|
|
19
|
+
*
|
|
20
|
+
* **NOTE**: If you're listening for Banner close events, you need to set this ID yourself to identify the Banner,
|
|
21
|
+
* as the default ID is random and will be different every time.
|
|
22
|
+
*/
|
|
23
|
+
this.bannerId = generateUniqueId();
|
|
24
|
+
/** Hides the Banner */
|
|
25
|
+
this.hidden = false;
|
|
26
|
+
/** Defines the ARIA role of the banner. Defaults to "banner" for global use,
|
|
27
|
+
* but can be set to "region" or "alert" if used differently.
|
|
28
|
+
*/
|
|
29
|
+
this.roleType = 'banner';
|
|
15
30
|
this.handleClose = () => {
|
|
16
31
|
const tdsCloseEvent = this.tdsClose.emit({
|
|
17
32
|
bannerId: this.bannerId,
|
|
@@ -20,13 +35,6 @@ const TdsBanner$1 = /*@__PURE__*/ proxyCustomElement(class TdsBanner extends H {
|
|
|
20
35
|
this.hidden = true;
|
|
21
36
|
}
|
|
22
37
|
};
|
|
23
|
-
this.icon = undefined;
|
|
24
|
-
this.header = undefined;
|
|
25
|
-
this.subheader = undefined;
|
|
26
|
-
this.variant = 'default';
|
|
27
|
-
this.bannerId = generateUniqueId();
|
|
28
|
-
this.hidden = false;
|
|
29
|
-
this.roleType = 'banner';
|
|
30
38
|
}
|
|
31
39
|
/** Hides the Banner. */
|
|
32
40
|
async hideBanner() {
|
|
@@ -55,8 +63,8 @@ const TdsBanner$1 = /*@__PURE__*/ proxyCustomElement(class TdsBanner extends H {
|
|
|
55
63
|
} }, this.icon && (h("div", { key: '45b0a63ff1015c7a24bb37211eccfa5c8b5320ca', class: `banner-icon ${this.variant}` }, h("tds-icon", { key: '2375c0c7a5a785fc788088e4568ad04a7d5f778e', name: this.icon, size: "20px", svgTitle: this.icon }))), h("div", { key: '0b4a58d3d3ab8405193bd771797badde39e23729', class: "content" }, h("div", { key: 'e9b26e4b13055853ea659cec8d990f7f2eb76999', class: "header-subheader" }, this.header && h("div", { key: '5cedf44a46330c77259c3d64cf567052ef26af0b', class: "header" }, this.header), usesHeaderSlot && h("slot", { key: 'a2c9897a3befbbd5603262962a7652a763650048', name: "header" }), this.subheader && h("div", { key: 'a7916827ee4ea924270242c9f06ce75989021c3b', class: "subheader" }, this.subheader), usesSubheaderSlot && h("slot", { key: 'fba6caffbf916a12b8e5975966551c4c9d03a5c9', name: "subheader" })), usesActionsSlot && h("slot", { key: '7a1b89ac09e9aa7e79740f225960818d2622d4b4', name: "actions" })), h("div", { key: '9dca236d2f8253c64a8a9ff67981f69c6f473c77', class: `banner-close` }, h("button", { key: 'cabd5fa950e125babecc6caf8109c51d05142ec3', "aria-label": "Close banner", onClick: this.handleClose }, h("tds-icon", { key: '2ec160b7e458fc4e99528c390f6190dea039f02a', name: "cross", size: "20px", svgTitle: "Close" })))));
|
|
56
64
|
}
|
|
57
65
|
get host() { return this; }
|
|
58
|
-
static get style() { return
|
|
59
|
-
}, [
|
|
66
|
+
static get style() { return bannerCss; }
|
|
67
|
+
}, [257, "tds-banner", {
|
|
60
68
|
"icon": [1],
|
|
61
69
|
"header": [1],
|
|
62
70
|
"subheader": [1],
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h } from './
|
|
1
|
+
import { p as proxyCustomElement, H, h } from './index.js';
|
|
2
2
|
|
|
3
3
|
const blockCss = ".tds-block{box-sizing:border-box;color:var(--tds-block-color);background-color:var(--tds-block-background);border-radius:4px;padding:16px;font:var(--tds-body-01);letter-spacing:var(--tds-body-01-ls)}.tds-block *{box-sizing:border-box}.tds-mode-variant-primary{background-color:var(--tds-block-background-primary)}.tds-mode-variant-secondary{background-color:var(--tds-block-background-secondary)}.tds-block-even{background-color:var(--tds-block-background-even)}.tds-block-odd{background-color:var(--tds-block-background-odd)}";
|
|
4
|
-
const TdsBlockStyle0 = blockCss;
|
|
5
4
|
|
|
6
5
|
const TdsBlock$1 = /*@__PURE__*/ proxyCustomElement(class TdsBlock extends H {
|
|
7
|
-
constructor() {
|
|
6
|
+
constructor(registerHost) {
|
|
8
7
|
super();
|
|
9
|
-
|
|
8
|
+
if (registerHost !== false) {
|
|
9
|
+
this.__registerHost();
|
|
10
|
+
}
|
|
10
11
|
this.__attachShadow();
|
|
12
|
+
/** Mode variant of the component, based on current mode. */
|
|
11
13
|
this.modeVariant = null;
|
|
14
|
+
/** Specifies the HTML tag to be used for the component wrapper. */
|
|
12
15
|
this.componentTag = 'div';
|
|
13
16
|
}
|
|
14
17
|
getNestingLevel() {
|
|
@@ -34,11 +37,11 @@ const TdsBlock$1 = /*@__PURE__*/ proxyCustomElement(class TdsBlock extends H {
|
|
|
34
37
|
evenOddClass = 'tds-block-odd';
|
|
35
38
|
}
|
|
36
39
|
}
|
|
37
|
-
return (h(TagType, { key: '
|
|
40
|
+
return (h(TagType, { key: '34385f3ac01d173e6bb568432418304186d261c7', class: `tds-block ${evenOddClass} ${this.modeVariant !== null ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("slot", { key: '569b04916fb165fb460711ec659ed2dc3e9ebd12' })));
|
|
38
41
|
}
|
|
39
42
|
get host() { return this; }
|
|
40
|
-
static get style() { return
|
|
41
|
-
}, [
|
|
43
|
+
static get style() { return blockCss; }
|
|
44
|
+
}, [257, "tds-block", {
|
|
42
45
|
"modeVariant": [1, "mode-variant"],
|
|
43
46
|
"componentTag": [1, "component-tag"]
|
|
44
47
|
}]);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h,
|
|
1
|
+
import { p as proxyCustomElement, H, h, a as Host } from './index.js';
|
|
2
2
|
|
|
3
3
|
const tableBodyCellCss = ":host(.tds-table__body-cell){box-sizing:border-box;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);display:table-cell;box-sizing:border-box;color:var(--tds-table-color);padding:var(--tds-spacing-element-16);min-width:192px;vertical-align:top;background-color:transparent;transition:background-color 200ms ease}:host(.tds-table__body-cell) *{box-sizing:border-box}:host(.tds-table__body-cell--hover){background-color:var(--tds-table-body-cell-background-hover)}:host(.tds-table__compact){padding:var(--tds-spacing-element-8) var(--tds-spacing-element-16)}:host(.tds-table--divider){border-right:1px solid var(--tds-table-divider)}:host(.tds-table--divider:last-of-type){border-right:none}:host(.tds-table--no-min-width){min-width:unset}";
|
|
4
|
-
const TdsBodyCellStyle0 = tableBodyCellCss;
|
|
5
4
|
|
|
6
5
|
const relevantTableProps = [
|
|
7
6
|
'verticalDividers',
|
|
@@ -9,15 +8,14 @@ const relevantTableProps = [
|
|
|
9
8
|
'noMinWidth',
|
|
10
9
|
];
|
|
11
10
|
const TdsTableBodyCell = /*@__PURE__*/ proxyCustomElement(class TdsTableBodyCell extends H {
|
|
12
|
-
constructor() {
|
|
11
|
+
constructor(registerHost) {
|
|
13
12
|
super();
|
|
14
|
-
|
|
13
|
+
if (registerHost !== false) {
|
|
14
|
+
this.__registerHost();
|
|
15
|
+
}
|
|
15
16
|
this.__attachShadow();
|
|
16
|
-
|
|
17
|
-
this.cellKey = undefined;
|
|
17
|
+
/** Disables internal padding. Useful when passing other components to cell. */
|
|
18
18
|
this.disablePadding = false;
|
|
19
|
-
this.textAlign = undefined;
|
|
20
|
-
this.textAlignState = undefined;
|
|
21
19
|
this.activeSorting = false;
|
|
22
20
|
this.verticalDividers = false;
|
|
23
21
|
this.compactDesign = false;
|
|
@@ -67,8 +65,7 @@ const TdsTableBodyCell = /*@__PURE__*/ proxyCustomElement(class TdsTableBodyCell
|
|
|
67
65
|
componentWillLoad() {
|
|
68
66
|
if (this.tableEl) {
|
|
69
67
|
relevantTableProps.forEach((tablePropName) => {
|
|
70
|
-
|
|
71
|
-
this[tablePropName] = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a[tablePropName];
|
|
68
|
+
this[tablePropName] = this.tableEl[tablePropName];
|
|
72
69
|
});
|
|
73
70
|
}
|
|
74
71
|
if (this.textAlign) {
|
|
@@ -88,19 +85,19 @@ const TdsTableBodyCell = /*@__PURE__*/ proxyCustomElement(class TdsTableBodyCell
|
|
|
88
85
|
// Conditionally set padding style
|
|
89
86
|
padding: paddingStyle,
|
|
90
87
|
};
|
|
91
|
-
return (h(Host, { key: '
|
|
88
|
+
return (h(Host, { key: 'cfabd07f5fb68862ec1afe31679d492593e5a579', class: {
|
|
92
89
|
'tds-table__body-cell': true,
|
|
93
90
|
'tds-table__body-cell--hover': this.activeSorting,
|
|
94
91
|
'tds-table__compact': this.compactDesign,
|
|
95
92
|
'tds-table--divider': this.verticalDividers,
|
|
96
93
|
'tds-table--no-min-width': this.noMinWidth,
|
|
97
|
-
}, style: dynamicStyles, role: "cell" }, this.cellValue, h("slot", { key: '
|
|
94
|
+
}, style: dynamicStyles, role: "cell" }, this.cellValue, h("slot", { key: 'cb0466abad9e73f9daed8483304246deb79d37e8' })));
|
|
98
95
|
}
|
|
99
96
|
get host() { return this; }
|
|
100
|
-
static get style() { return
|
|
101
|
-
}, [
|
|
97
|
+
static get style() { return tableBodyCellCss; }
|
|
98
|
+
}, [257, "tds-body-cell", {
|
|
102
99
|
"cellValue": [520, "cell-value"],
|
|
103
|
-
"cellKey": [
|
|
100
|
+
"cellKey": [520, "cell-key"],
|
|
104
101
|
"disablePadding": [516, "disable-padding"],
|
|
105
102
|
"textAlign": [513, "text-align"],
|
|
106
103
|
"textAlignState": [32],
|
|
@@ -1,20 +1,22 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h,
|
|
1
|
+
import { p as proxyCustomElement, H, h, a as Host } from './index.js';
|
|
2
2
|
|
|
3
3
|
const breadcrumbCss = "@charset \"UTF-8\";:host([role=listitem]) div ::slotted(*){color:var(--tds-breadcrumb-color);text-decoration:none}:host([role=listitem]) div:hover ::slotted(*){color:var(--tds-breadcrumb-color-hover);text-decoration:underline}:host([role=listitem]) div ::slotted(*:focus-visible){outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1;outline-offset:0}:host([role=listitem]) div.current ::slotted(*),:host([role=listitem]) div [aria-current=page] ::slotted(*){pointer-events:none;cursor:default;color:var(--tds-breadcrumb-color-current)}:host([role=listitem]) div.current:hover ::slotted(*),:host([role=listitem]) div [aria-current=page]:hover ::slotted(*){text-decoration:none;cursor:not-allowed}:host([role=listitem]) div::after{content:\"›\";color:var(--tds-breadcrumb-separator-color);margin-right:4px;margin-left:4px;display:inline-block;width:4px;height:8px}:host([role=listitem]) .current::after{display:none}";
|
|
4
|
-
const TdsBreadcrumbStyle0 = breadcrumbCss;
|
|
5
4
|
|
|
6
5
|
const TdsBreadcrumb$1 = /*@__PURE__*/ proxyCustomElement(class TdsBreadcrumb extends H {
|
|
7
|
-
constructor() {
|
|
6
|
+
constructor(registerHost) {
|
|
8
7
|
super();
|
|
9
|
-
|
|
8
|
+
if (registerHost !== false) {
|
|
9
|
+
this.__registerHost();
|
|
10
|
+
}
|
|
10
11
|
this.__attachShadow();
|
|
12
|
+
/** Boolean for the current link */
|
|
11
13
|
this.current = false;
|
|
12
14
|
}
|
|
13
15
|
render() {
|
|
14
16
|
return (h(Host, { key: 'f1a223cf44e435b547b42382e8b3d47979c71793', role: "listitem" }, h("div", Object.assign({ key: '41baa33ae1474121ae4512ddf89fb960670d1cea', class: { current: this.current } }, (this.current ? { 'aria-current': 'page' } : {})), h("slot", { key: '8f14f28f7e9824e76886a1d49f15d3404666771a' }))));
|
|
15
17
|
}
|
|
16
|
-
static get style() { return
|
|
17
|
-
}, [
|
|
18
|
+
static get style() { return breadcrumbCss; }
|
|
19
|
+
}, [257, "tds-breadcrumb", {
|
|
18
20
|
"current": [4]
|
|
19
21
|
}]);
|
|
20
22
|
function defineCustomElement$1() {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h } from './
|
|
1
|
+
import { p as proxyCustomElement, H, h } from './index.js';
|
|
2
2
|
|
|
3
3
|
const breadcrumbsCss = ":host{box-sizing:border-box}:host *{box-sizing:border-box}:host [role=list]{padding:0;margin:0;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);display:flex;flex-wrap:wrap;list-style-type:none}";
|
|
4
|
-
const TdsBreadcrumbsStyle0 = breadcrumbsCss;
|
|
5
4
|
|
|
6
5
|
const TdsBreadcrumbs$1 = /*@__PURE__*/ proxyCustomElement(class TdsBreadcrumbs extends H {
|
|
7
|
-
constructor() {
|
|
6
|
+
constructor(registerHost) {
|
|
8
7
|
super();
|
|
9
|
-
|
|
8
|
+
if (registerHost !== false) {
|
|
9
|
+
this.__registerHost();
|
|
10
|
+
}
|
|
10
11
|
this.__attachShadow();
|
|
11
|
-
this.tdsAriaLabel = undefined;
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
14
|
var _a;
|
|
@@ -16,8 +16,8 @@ const TdsBreadcrumbs$1 = /*@__PURE__*/ proxyCustomElement(class TdsBreadcrumbs e
|
|
|
16
16
|
return (h("nav", { key: 'd79f99fbdf47a75d66376c7900a1ba2ccfad0ef2', "aria-label": this.tdsAriaLabel }, h("div", { key: 'c06fa49904e230b1fcbaa8eeba1e2d6059f4eccd', role: "list", class: "tds-breadcrumb" }, h("slot", { key: 'fd44b69cd45ffaed95c865988832fa56c545125c' }))));
|
|
17
17
|
}
|
|
18
18
|
get host() { return this; }
|
|
19
|
-
static get style() { return
|
|
20
|
-
}, [
|
|
19
|
+
static get style() { return breadcrumbsCss; }
|
|
20
|
+
}, [257, "tds-breadcrumbs", {
|
|
21
21
|
"tdsAriaLabel": [1, "tds-aria-label"]
|
|
22
22
|
}]);
|
|
23
23
|
function defineCustomElement$1() {
|
|
@@ -1,19 +1,44 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H,
|
|
2
|
-
import { g as generateUniqueId } from './p-
|
|
3
|
-
import { h as hasSlot } from './p-
|
|
4
|
-
import { d as defineCustomElement$4 } from './p-
|
|
5
|
-
import { d as defineCustomElement$3 } from './p-
|
|
6
|
-
import { d as defineCustomElement$2 } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, c as createEvent, h, a as Host } from './index.js';
|
|
2
|
+
import { g as generateUniqueId } from './p-Cn4f8w1e.js';
|
|
3
|
+
import { h as hasSlot } from './p-DDX6uFcm.js';
|
|
4
|
+
import { d as defineCustomElement$4 } from './p-ChCWm6If.js';
|
|
5
|
+
import { d as defineCustomElement$3 } from './p-FqP1yGh_.js';
|
|
6
|
+
import { d as defineCustomElement$2 } from './p-CPDv0bBc.js';
|
|
7
7
|
|
|
8
8
|
const cardCss = ".card{box-sizing:border-box;box-shadow:var(--tds-card-box);background-color:var(--tds-card-background);display:block;border-radius:4px;overflow:hidden}.card *{box-sizing:border-box}.card.clickable:hover{box-shadow:var(--tds-card-box-hover);cursor:pointer}.card .card-header{font:var(--tds-headline-06);letter-spacing:var(--tds-headline-06-ls);padding:16px;display:flex;align-items:center}.card .card-header slot[name=thumbnail]::slotted(*){width:36px;height:36px;border-radius:100%;margin-right:16px}.card .card-header .card-top-header{padding-left:16px;display:flex;flex-direction:column}.card .card-header .card-top-header.no-header-img{padding-left:0}.card .card-header.below{padding-top:16px}.card .card-header.expandable tds-icon{cursor:pointer;margin-left:auto;transition:transform 160ms ease-in-out, opacity 120ms ease-in-out}.card .card-header.expandable tds-icon.rotated{transform:rotate(180deg)}.card .header-subheader{display:flex;flex-direction:column;width:100%;gap:4px}.card .header-subheader .header,.card .header-subheader slot[name=header]{color:var(--tds-card-headline)}.card .header-subheader .subheader,.card .header-subheader slot[name=subheader]{color:var(--tds-card-sub-headline)}.card .card-body-img{width:100%}.card .tds-divider{margin:16px 16px 0;background-color:var(--tds-card-divider);height:1px}.card .card-body{display:block;word-wrap:break-word}.card slot[name=body]::slotted(*){font:var(--tds-detail-03) !important;letter-spacing:var(--tds-detail-03-ls) !important;color:var(--tds-card-body-color);padding:0 16px;margin-bottom:16px;margin-top:16px;max-width:336px}.card slot[name=actions]::slotted(*){display:flex;padding:16px;color:var(--tds-card-icon-color)}button{width:100%;border:none;text-align:left;padding:0}button:focus-visible{outline:2px solid var(--tds-blue-400);outline-offset:-2px}button:active{box-shadow:var(--tds-card-box-pressed)}.below-header-stretch,.above-header-stretch{display:flex;flex-direction:column}.below-header-stretch .stretch,.above-header-stretch .stretch{display:flex;flex-direction:column;flex-grow:1;width:100%}.below-header-stretch .card-body,.above-header-stretch .card-body{display:flex;flex-direction:column;flex-grow:1}.below-header-stretch .card-body slot[name=body]::slotted(*),.above-header-stretch .card-body slot[name=body]::slotted(*){max-width:unset;flex-grow:1}:host([expandable]:not([expanded])) .card-body slot[name=body]{display:none}";
|
|
9
|
-
const TdsCardStyle0 = cardCss;
|
|
10
9
|
|
|
11
10
|
const TdsCard$1 = /*@__PURE__*/ proxyCustomElement(class TdsCard extends H {
|
|
12
|
-
constructor() {
|
|
11
|
+
constructor(registerHost) {
|
|
13
12
|
super();
|
|
14
|
-
|
|
13
|
+
if (registerHost !== false) {
|
|
14
|
+
this.__registerHost();
|
|
15
|
+
}
|
|
15
16
|
this.__attachShadow();
|
|
16
17
|
this.tdsClick = createEvent(this, "tdsClick", 6);
|
|
18
|
+
/** Variant of the Card based on the theme used. */
|
|
19
|
+
this.modeVariant = null;
|
|
20
|
+
/** Placement of the header */
|
|
21
|
+
this.imagePlacement = 'below-header';
|
|
22
|
+
/** Divider for the body */
|
|
23
|
+
this.bodyDivider = false;
|
|
24
|
+
/** Makes the Card clickable. */
|
|
25
|
+
this.clickable = false;
|
|
26
|
+
this.stretch = false;
|
|
27
|
+
/** ID for the Card, must be unique.
|
|
28
|
+
*
|
|
29
|
+
* **NOTE**: If you're listening for Card events, you need to set this ID yourself to identify the Card,
|
|
30
|
+
* as the default ID is random and will be different every time.
|
|
31
|
+
*/
|
|
32
|
+
this.cardId = generateUniqueId();
|
|
33
|
+
/**
|
|
34
|
+
* Enables expandable behaviour.
|
|
35
|
+
* When true, clicking the header toggles content visibility.
|
|
36
|
+
*/
|
|
37
|
+
this.expandable = false;
|
|
38
|
+
/**
|
|
39
|
+
* Tracks the current expanded state when expandable is enabled.
|
|
40
|
+
*/
|
|
41
|
+
this.expanded = false;
|
|
17
42
|
this.toggleExpand = () => {
|
|
18
43
|
if (this.expandable) {
|
|
19
44
|
this.expanded = !this.expanded;
|
|
@@ -35,20 +60,8 @@ const TdsCard$1 = /*@__PURE__*/ proxyCustomElement(class TdsCard extends H {
|
|
|
35
60
|
const usesBodyImageSlot = hasSlot('body-image', this.host);
|
|
36
61
|
const usesActionsSlot = hasSlot('actions', this.host);
|
|
37
62
|
const bodyId = `body-${this.cardId}`;
|
|
38
|
-
return (h("div", { class:
|
|
63
|
+
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` })));
|
|
39
64
|
};
|
|
40
|
-
this.modeVariant = null;
|
|
41
|
-
this.imagePlacement = 'below-header';
|
|
42
|
-
this.header = undefined;
|
|
43
|
-
this.subheader = undefined;
|
|
44
|
-
this.bodyImg = undefined;
|
|
45
|
-
this.bodyImgAlt = undefined;
|
|
46
|
-
this.bodyDivider = false;
|
|
47
|
-
this.clickable = false;
|
|
48
|
-
this.stretch = false;
|
|
49
|
-
this.cardId = generateUniqueId();
|
|
50
|
-
this.expandable = false;
|
|
51
|
-
this.expanded = false;
|
|
52
65
|
}
|
|
53
66
|
render() {
|
|
54
67
|
const cardStyle = {
|
|
@@ -58,11 +71,11 @@ const TdsCard$1 = /*@__PURE__*/ proxyCustomElement(class TdsCard extends H {
|
|
|
58
71
|
[`${this.imagePlacement}-stretch`]: this.stretch,
|
|
59
72
|
};
|
|
60
73
|
const ariaLabel = this.header ? this.header : `Card ${this.cardId}`;
|
|
61
|
-
return (h(Host, { key: '
|
|
74
|
+
return (h(Host, { key: '14e4d2ece54e021a186661c8dfef2dae78791782', class: this.modeVariant && `tds-mode-variant-${this.modeVariant}` }, this.clickable ? (h("button", { class: cardStyle, onClick: this.handleClick, "aria-label": ariaLabel, "aria-describedby": `header-${this.cardId}` }, this.getCardContent())) : (h("div", { class: cardStyle }, this.getCardContent()))));
|
|
62
75
|
}
|
|
63
76
|
get host() { return this; }
|
|
64
|
-
static get style() { return
|
|
65
|
-
}, [
|
|
77
|
+
static get style() { return cardCss; }
|
|
78
|
+
}, [257, "tds-card", {
|
|
66
79
|
"modeVariant": [1, "mode-variant"],
|
|
67
80
|
"imagePlacement": [1, "image-placement"],
|
|
68
81
|
"header": [1],
|