@scania/tegel 1.40.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 +4 -5
- package/dist/cjs/tds-badge.cjs.entry.js +6 -5
- package/dist/cjs/tds-banner.cjs.entry.js +18 -14
- package/dist/cjs/tds-block.cjs.entry.js +4 -5
- package/dist/cjs/tds-body-cell.cjs.entry.js +3 -9
- 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 +13 -12
- package/dist/cjs/tds-card.cjs.entry.js +28 -19
- package/dist/cjs/tds-checkbox.cjs.entry.js +13 -15
- package/dist/cjs/tds-chip.cjs.entry.js +18 -15
- package/dist/cjs/tds-core-header-item_2.cjs.entry.js +7 -8
- package/dist/cjs/tds-datetime.cjs.entry.js +27 -23
- package/dist/cjs/tds-dropdown_2.cjs.entry.js +73 -58
- package/dist/cjs/tds-folder-tab.cjs.entry.js +3 -6
- package/dist/cjs/tds-folder-tabs.cjs.entry.js +15 -15
- package/dist/cjs/tds-footer-group.cjs.entry.js +6 -11
- package/dist/cjs/tds-footer-item.cjs.entry.js +3 -6
- package/dist/cjs/tds-footer.cjs.entry.js +5 -7
- package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +2 -5
- package/dist/cjs/tds-header-cell.cjs.entry.js +18 -22
- 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 +5 -8
- package/dist/cjs/tds-header-dropdown.cjs.entry.js +8 -12
- 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 +8 -13
- package/dist/cjs/tds-header-title.cjs.entry.js +3 -6
- package/dist/cjs/tds-header.cjs.entry.js +4 -7
- package/dist/cjs/tds-icon.cjs.entry.js +10 -12
- package/dist/cjs/tds-inline-tab.cjs.entry.js +3 -5
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +16 -15
- package/dist/cjs/tds-link.cjs.entry.js +5 -5
- package/dist/cjs/tds-message.cjs.entry.js +14 -14
- package/dist/cjs/tds-modal.cjs.entry.js +19 -19
- package/dist/cjs/tds-navigation-tab.cjs.entry.js +3 -5
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +18 -17
- package/dist/cjs/tds-popover-canvas.cjs.entry.js +19 -13
- package/dist/cjs/tds-popover-core.cjs.entry.js +40 -36
- 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 +11 -14
- package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +4 -7
- package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +3 -6
- package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +3 -5
- package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +2 -5
- package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +5 -7
- package/dist/cjs/tds-side-menu-item.cjs.entry.js +6 -6
- 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 +15 -12
- package/dist/cjs/tds-slider.cjs.entry.js +39 -24
- package/dist/cjs/tds-spinner.cjs.entry.js +4 -5
- package/dist/cjs/tds-step.cjs.entry.js +3 -11
- 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 +11 -7
- package/dist/cjs/tds-table-body-row.cjs.entry.js +5 -5
- package/dist/cjs/tds-table-body.cjs.entry.js +7 -11
- package/dist/cjs/tds-table-footer.cjs.entry.js +21 -17
- package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +3 -5
- package/dist/cjs/tds-table-header.cjs.entry.js +5 -6
- package/dist/cjs/tds-table-toolbar.cjs.entry.js +5 -5
- package/dist/cjs/tds-table.cjs.entry.js +21 -7
- package/dist/cjs/tds-tag.cjs.entry.js +5 -7
- package/dist/cjs/tds-text-field.cjs.entry.js +22 -13
- package/dist/cjs/tds-textarea.cjs.entry.js +16 -13
- package/dist/cjs/tds-toast.cjs.entry.js +16 -16
- package/dist/cjs/tds-toggle.cjs.entry.js +13 -14
- package/dist/cjs/tds-tooltip.cjs.entry.js +23 -25
- 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 +8 -2
- package/dist/collection/components/badge/badge.js +16 -4
- package/dist/collection/components/banner/banner.js +39 -18
- package/dist/collection/components/block/block.js +8 -2
- package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.js +4 -1
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +4 -5
- package/dist/collection/components/button/button.js +44 -19
- package/dist/collection/components/card/card.js +64 -28
- package/dist/collection/components/checkbox/checkbox.js +41 -22
- package/dist/collection/components/chip/chip.js +41 -19
- package/dist/collection/components/datetime/datetime.js +76 -37
- package/dist/collection/components/divider/divider.js +8 -2
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +34 -21
- package/dist/collection/components/dropdown/dropdown.css +3 -1
- package/dist/collection/components/dropdown/dropdown.js +113 -55
- package/dist/collection/components/footer/footer-group/footer-group.css +1 -4
- package/dist/collection/components/footer/footer-group/footer-group.js +10 -8
- package/dist/collection/components/footer/footer-item/footer-item.css +3 -3
- package/dist/collection/components/footer/footer.js +5 -2
- package/dist/collection/components/header/header-dropdown/header-dropdown.js +19 -12
- package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +4 -2
- 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 +9 -2
- package/dist/collection/components/header/header-launcher/header-launcher.js +7 -7
- 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/icon/icon.js +26 -15
- 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 +33 -16
- package/dist/collection/components/modal/modal.css +54 -10
- package/dist/collection/components/modal/modal.js +44 -23
- package/dist/collection/components/popover-canvas/popover-canvas.js +49 -18
- package/dist/collection/components/popover-core/popover-core.js +68 -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 +46 -18
- package/dist/collection/components/radio-button/radio-button.js +36 -20
- 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 +16 -7
- package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +4 -1
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +9 -2
- 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 +22 -10
- package/dist/collection/components/slider/slider.js +90 -36
- package/dist/collection/components/spinner/spinner.js +8 -2
- package/dist/collection/components/stepper/step/step.js +12 -11
- package/dist/collection/components/stepper/stepper.js +28 -6
- package/dist/collection/components/table/table/table.js +49 -12
- package/dist/collection/components/table/table-body/table-body.js +5 -6
- package/dist/collection/components/table/table-body-cell/table-body-cell.js +16 -11
- 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 +12 -3
- package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +27 -8
- package/dist/collection/components/table/table-footer/table-footer.js +36 -17
- package/dist/collection/components/table/table-header/table-header.js +16 -6
- package/dist/collection/components/table/table-header-cell/table-header-cell.js +40 -27
- package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +7 -2
- package/dist/collection/components/table/table-toolbar/table-toolbar.js +12 -3
- package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +4 -2
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +29 -16
- package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +4 -1
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +33 -17
- package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +4 -1
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +35 -19
- package/dist/collection/components/tag/tag.js +12 -5
- package/dist/collection/components/text-field/text-field.js +85 -31
- package/dist/collection/components/textarea/textarea.js +68 -28
- package/dist/collection/components/toast/toast.js +42 -21
- package/dist/collection/components/toggle/toggle.js +37 -19
- package/dist/collection/components/tooltip/tooltip.js +55 -32
- package/dist/collection/utils/dom.js +7 -0
- package/dist/components/index.js +1825 -1
- package/dist/components/{p-63552d0e.js → p-1YnjaUCy.js} +25 -15
- package/dist/components/{p-3308d5fa.js → p-8koCGAVT.js} +45 -37
- package/dist/components/{p-7c3348eb.js → p-BHBgkUfr.js} +12 -8
- package/dist/components/{p-e1622f4a.js → p-BhLq7lgx.js} +7 -6
- package/dist/components/{p-2a2d66fe.js → p-BhQM9_yR.js} +49 -43
- package/dist/components/{p-1dafdc8c.js → p-BxmFjTxG.js} +11 -7
- package/dist/components/{p-3f2187a4.js → p-CMsPXG7a.js} +7 -8
- package/dist/components/{p-f7d94947.js → p-CPDv0bBc.js} +15 -13
- package/dist/components/{p-44f5b5e1.js → p-Ca3wGDna.js} +18 -16
- package/dist/components/{p-c62b61fe.js → p-ChCWm6If.js} +15 -11
- package/dist/components/{p-3a7e4d0d.js → p-ChGLhiqn.js} +30 -17
- package/dist/components/{p-859e3ebf.js → p-CuIyaNyT.js} +1 -1
- package/dist/components/{p-d10d21bd.js → p-D1ati-pM.js} +13 -11
- package/dist/components/{p-04a014cf.js → p-DZDx1Si2.js} +29 -27
- package/dist/components/{p-bff614d5.js → p-DuxH3vDC.js} +7 -8
- package/dist/components/{p-6ef207b2.js → p-Ee9QeMgy.js} +40 -25
- 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-9336db16.js → p-QnvG_QPu.js} +9 -8
- package/dist/components/tds-accordion-item.js +15 -8
- package/dist/components/tds-accordion.js +9 -6
- package/dist/components/tds-badge.js +11 -6
- package/dist/components/tds-banner.js +24 -16
- package/dist/components/tds-block.js +9 -6
- package/dist/components/tds-body-cell.js +8 -10
- 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 +36 -23
- 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 +33 -25
- 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 +21 -17
- package/dist/components/tds-footer-group.js +12 -13
- package/dist/components/tds-footer-item.js +8 -7
- package/dist/components/tds-footer.js +10 -8
- package/dist/components/tds-header-brand-symbol.js +9 -8
- 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 +7 -10
- 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 +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 +18 -19
- package/dist/components/tds-header-title.js +8 -7
- package/dist/components/tds-header.js +8 -7
- package/dist/components/tds-icon.js +1 -1
- package/dist/components/tds-inline-tab.js +8 -6
- package/dist/components/tds-inline-tabs.js +22 -17
- package/dist/components/tds-link.js +10 -6
- package/dist/components/tds-message.js +20 -16
- package/dist/components/tds-modal.js +25 -21
- package/dist/components/tds-navigation-tab.js +8 -6
- package/dist/components/tds-navigation-tabs.js +24 -19
- package/dist/components/tds-popover-canvas.js +1 -1
- package/dist/components/tds-popover-core.js +1 -1
- package/dist/components/tds-popover-menu-item.js +8 -6
- package/dist/components/tds-popover-menu.js +24 -15
- package/dist/components/tds-radio-button.js +16 -15
- package/dist/components/tds-side-menu-close-button.js +9 -8
- package/dist/components/tds-side-menu-collapse-button.js +9 -8
- package/dist/components/tds-side-menu-dropdown-list-item.js +8 -6
- package/dist/components/tds-side-menu-dropdown-list.js +7 -6
- package/dist/components/tds-side-menu-dropdown.js +12 -10
- 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 +20 -13
- package/dist/components/tds-slider.js +48 -29
- package/dist/components/tds-spinner.js +9 -6
- package/dist/components/tds-step.js +9 -13
- 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 +16 -8
- package/dist/components/tds-table-body-row.js +11 -7
- package/dist/components/tds-table-body.js +12 -12
- package/dist/components/tds-table-footer.js +30 -22
- package/dist/components/tds-table-header-input-wrapper.js +9 -7
- package/dist/components/tds-table-header.js +11 -8
- package/dist/components/tds-table-toolbar.js +11 -7
- package/dist/components/tds-table.js +26 -8
- package/dist/components/tds-tag.js +10 -8
- package/dist/components/tds-text-field.js +1 -1
- package/dist/components/tds-textarea.js +24 -17
- package/dist/components/tds-toast.js +22 -18
- package/dist/components/tds-toggle.js +18 -15
- 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 +4 -3
- package/dist/esm/tds-badge.entry.js +6 -3
- package/dist/esm/tds-banner.entry.js +18 -12
- package/dist/esm/tds-block.entry.js +4 -3
- package/dist/esm/tds-body-cell.entry.js +3 -7
- 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 +13 -10
- package/dist/esm/tds-card.entry.js +28 -17
- package/dist/esm/tds-checkbox.entry.js +13 -13
- package/dist/esm/tds-chip.entry.js +18 -13
- package/dist/esm/tds-core-header-item_2.entry.js +7 -6
- package/dist/esm/tds-datetime.entry.js +27 -21
- package/dist/esm/tds-dropdown_2.entry.js +73 -56
- package/dist/esm/tds-folder-tab.entry.js +3 -4
- package/dist/esm/tds-folder-tabs.entry.js +15 -13
- package/dist/esm/tds-footer-group.entry.js +6 -9
- package/dist/esm/tds-footer-item.entry.js +3 -4
- package/dist/esm/tds-footer.entry.js +5 -5
- package/dist/esm/tds-header-brand-symbol.entry.js +2 -3
- package/dist/esm/tds-header-cell.entry.js +18 -20
- 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 +5 -6
- package/dist/esm/tds-header-dropdown.entry.js +8 -10
- 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 +8 -11
- package/dist/esm/tds-header-title.entry.js +3 -4
- package/dist/esm/tds-header.entry.js +4 -5
- 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 +16 -13
- package/dist/esm/tds-link.entry.js +5 -3
- package/dist/esm/tds-message.entry.js +14 -12
- package/dist/esm/tds-modal.entry.js +19 -17
- package/dist/esm/tds-navigation-tab.entry.js +3 -3
- package/dist/esm/tds-navigation-tabs.entry.js +18 -15
- package/dist/esm/tds-popover-canvas.entry.js +19 -11
- package/dist/esm/tds-popover-core.entry.js +40 -34
- 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 +11 -12
- package/dist/esm/tds-side-menu-close-button.entry.js +4 -5
- package/dist/esm/tds-side-menu-collapse-button.entry.js +3 -4
- package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +3 -3
- package/dist/esm/tds-side-menu-dropdown-list.entry.js +2 -3
- package/dist/esm/tds-side-menu-dropdown.entry.js +5 -5
- package/dist/esm/tds-side-menu-item.entry.js +6 -4
- 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 +15 -10
- package/dist/esm/tds-slider.entry.js +39 -22
- package/dist/esm/tds-spinner.entry.js +4 -3
- package/dist/esm/tds-step.entry.js +3 -9
- 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 +11 -5
- package/dist/esm/tds-table-body-row.entry.js +5 -3
- package/dist/esm/tds-table-body.entry.js +7 -9
- package/dist/esm/tds-table-footer.entry.js +21 -15
- package/dist/esm/tds-table-header-input-wrapper.entry.js +3 -3
- package/dist/esm/tds-table-header.entry.js +5 -4
- package/dist/esm/tds-table-toolbar.entry.js +5 -3
- package/dist/esm/tds-table.entry.js +21 -5
- package/dist/esm/tds-tag.entry.js +5 -5
- package/dist/esm/tds-text-field.entry.js +22 -11
- package/dist/esm/tds-textarea.entry.js +16 -11
- package/dist/esm/tds-toast.entry.js +16 -14
- package/dist/esm/tds-toggle.entry.js +13 -12
- package/dist/esm/tds-tooltip.entry.js +23 -23
- package/dist/esm/tegel.js +5 -5
- package/dist/tegel/p-03ff8648.entry.js +1 -0
- package/dist/tegel/{p-743d4f07.entry.js → p-08ef673e.entry.js} +1 -1
- package/dist/tegel/{p-f2318c88.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-24a76927.entry.js → p-192332e7.entry.js} +1 -1
- package/dist/tegel/{p-09cd056c.entry.js → p-206d4703.entry.js} +1 -1
- 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-fd15ced7.entry.js → p-2a1342d8.entry.js} +1 -1
- 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-72006dd7.entry.js → p-3de8e52b.entry.js} +1 -1
- 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-a090bd2f.entry.js → p-4489b7d5.entry.js} +1 -1
- 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-51a17707.entry.js → p-73c9a5b3.entry.js} +1 -1
- 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-0e772ad7.entry.js → p-954e6cf0.entry.js} +1 -1
- 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-f31f56fe.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-3450dd6c.entry.js → p-d2b7c692.entry.js} +1 -1
- package/dist/tegel/p-d4412e32.entry.js +1 -0
- package/dist/tegel/{p-650b98bf.entry.js → p-d659aefa.entry.js} +1 -1
- package/dist/tegel/p-d67ff384.entry.js +1 -0
- package/dist/tegel/{p-0cfe8671.entry.js → p-d8a35537.entry.js} +1 -1
- package/dist/tegel/p-dcd132d5.entry.js +1 -0
- package/dist/tegel/{p-c6968db1.entry.js → p-de9f2a0d.entry.js} +1 -1
- package/dist/tegel/p-dec2ede0.entry.js +1 -0
- package/dist/tegel/{p-d1d45942.entry.js → p-e1daba90.entry.js} +1 -1
- 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-77cfb0ef.entry.js → p-fa8a4f27.entry.js} +1 -1
- package/dist/tegel/{p-987f8f0f.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/dropdown/dropdown.d.ts +4 -0
- package/dist/types/components/header/header-launcher/header-launcher.d.ts +1 -1
- package/dist/types/components/popover-canvas/popover-canvas.d.ts +1 -1
- package/dist/types/components/popover-core/popover-core.d.ts +4 -4
- package/dist/types/components/popover-menu/popover-menu.d.ts +1 -1
- package/dist/types/components/slider/slider-stories-setup.d.ts +1 -1
- package/dist/types/components/table/table-body-input-wrapper/table-body-input-wrapper.d.ts +1 -1
- package/dist/types/components/tooltip/tooltip.d.ts +1 -1
- package/dist/types/components.d.ts +551 -4
- package/dist/types/stencil-public-runtime.d.ts +86 -4
- package/dist/types/utils/dom.d.ts +2 -0
- 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-0672ddfc.entry.js +0 -1
- package/dist/tegel/p-08ad6a21.entry.js +0 -1
- package/dist/tegel/p-08f63e5d.entry.js +0 -1
- package/dist/tegel/p-0c9a51d9.entry.js +0 -1
- package/dist/tegel/p-177386d5.entry.js +0 -1
- package/dist/tegel/p-17bc1e49.entry.js +0 -1
- package/dist/tegel/p-1859156f.entry.js +0 -1
- package/dist/tegel/p-1b471db7.entry.js +0 -1
- package/dist/tegel/p-1f4267a8.entry.js +0 -1
- package/dist/tegel/p-2049fab2.js +0 -2
- package/dist/tegel/p-28f85555.entry.js +0 -1
- package/dist/tegel/p-304f5a5c.entry.js +0 -1
- package/dist/tegel/p-3462a7cc.entry.js +0 -1
- package/dist/tegel/p-354d3986.entry.js +0 -1
- package/dist/tegel/p-3c97cb45.entry.js +0 -1
- package/dist/tegel/p-3e6d65ee.entry.js +0 -1
- package/dist/tegel/p-445fa788.entry.js +0 -1
- package/dist/tegel/p-464469fe.entry.js +0 -1
- package/dist/tegel/p-4de2807c.entry.js +0 -1
- package/dist/tegel/p-52689019.entry.js +0 -1
- package/dist/tegel/p-55f9c79a.entry.js +0 -1
- package/dist/tegel/p-57a28f62.entry.js +0 -1
- package/dist/tegel/p-5c8fd75e.entry.js +0 -1
- package/dist/tegel/p-6b340718.entry.js +0 -1
- package/dist/tegel/p-7887bdbb.entry.js +0 -1
- package/dist/tegel/p-7b598e60.entry.js +0 -1
- package/dist/tegel/p-7ef50e7f.entry.js +0 -1
- package/dist/tegel/p-8c2695af.entry.js +0 -1
- package/dist/tegel/p-9f187848.entry.js +0 -1
- package/dist/tegel/p-9fdc8fa5.entry.js +0 -1
- package/dist/tegel/p-a4cbb541.entry.js +0 -1
- package/dist/tegel/p-a56436c8.entry.js +0 -1
- package/dist/tegel/p-a8abc8d9.entry.js +0 -1
- package/dist/tegel/p-ab00e6e4.entry.js +0 -1
- package/dist/tegel/p-b210d23c.entry.js +0 -1
- package/dist/tegel/p-b7abb81f.entry.js +0 -1
- package/dist/tegel/p-bcd5e06d.entry.js +0 -1
- package/dist/tegel/p-c0cbc9f5.entry.js +0 -1
- package/dist/tegel/p-c23a3f12.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-cf717912.entry.js +0 -1
- package/dist/tegel/p-d7cdbc4e.entry.js +0 -1
- package/dist/tegel/p-e1255160.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-f3c32d4d.entry.js +0 -1
- package/dist/tegel/p-f8a37d39.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,44 +1,57 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H,
|
|
2
|
-
import { h as hasSlot } from './p-
|
|
3
|
-
import { g as generateUniqueId } from './p-
|
|
4
|
-
import { g as getAriaInvalid } from './p-
|
|
5
|
-
import { d as defineCustomElement$3 } from './p-
|
|
6
|
-
import { d as defineCustomElement$2 } from './p-
|
|
7
|
-
import { d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, c as createEvent, h } from './index.js';
|
|
2
|
+
import { h as hasSlot } from './p-DDX6uFcm.js';
|
|
3
|
+
import { g as generateUniqueId } from './p-Cn4f8w1e.js';
|
|
4
|
+
import { g as getAriaInvalid } from './p-wEP_nEaO.js';
|
|
5
|
+
import { d as defineCustomElement$3 } from './p-CPDv0bBc.js';
|
|
6
|
+
import { d as defineCustomElement$2 } from './p-8koCGAVT.js';
|
|
7
|
+
import { d as defineCustomElement$1 } from './p-DZDx1Si2.js';
|
|
8
8
|
|
|
9
9
|
const textFieldCss = ".text-field-input-lg.sc-tds-text-field{all:unset;border-radius:4px 4px 0 0;width:100%;box-sizing:border-box;margin:0;border:none;outline:none;height:100%;color:var(--tds-text-field-color);background-color:var(--tds-text-field-background);font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);padding:var(--tds-spacing-element-20) var(--tds-spacing-element-16)}.text-field-input-lg.sc-tds-text-field::placeholder{color:var(--tds-text-field-placeholder)}.text-field-input-lg.sc-tds-text-field:disabled{user-select:none;pointer-events:none;background-color:var(--tds-text-field-background-disabled);color:var(--tds-text-field-color-disabled)}.text-field-input-lg.sc-tds-text-field:disabled::placeholder{color:var(--tds-text-field-placeholder-disabled)}.text-field-input-lg.sc-tds-text-field:disabled~.text-field-label-inside.sc-tds-text-field{color:var(--tds-text-field-label-disabled)}.text-field-input-md.sc-tds-text-field{all:unset;border-radius:4px 4px 0 0;width:100%;box-sizing:border-box;margin:0;border:none;outline:none;height:100%;color:var(--tds-text-field-color);background-color:var(--tds-text-field-background);font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);padding:var(--tds-spacing-element-16)}.text-field-input-md.sc-tds-text-field::placeholder{color:var(--tds-text-field-placeholder)}.text-field-input-md.sc-tds-text-field:disabled{user-select:none;pointer-events:none;background-color:var(--tds-text-field-background-disabled);color:var(--tds-text-field-color-disabled)}.text-field-input-md.sc-tds-text-field:disabled::placeholder{color:var(--tds-text-field-placeholder-disabled)}.text-field-input-md.sc-tds-text-field:disabled~.text-field-label-inside.sc-tds-text-field{color:var(--tds-text-field-label-disabled)}.text-field-input-sm.sc-tds-text-field{all:unset;border-radius:4px 4px 0 0;width:100%;box-sizing:border-box;margin:0;border:none;outline:none;height:100%;color:var(--tds-text-field-color);background-color:var(--tds-text-field-background);font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);padding:var(--tds-spacing-element-16)}.text-field-input-sm.sc-tds-text-field::placeholder{color:var(--tds-text-field-placeholder)}.text-field-input-sm.sc-tds-text-field:disabled{user-select:none;pointer-events:none;background-color:var(--tds-text-field-background-disabled);color:var(--tds-text-field-color-disabled)}.text-field-input-sm.sc-tds-text-field:disabled::placeholder{color:var(--tds-text-field-placeholder-disabled)}.text-field-input-sm.sc-tds-text-field:disabled~.text-field-label-inside.sc-tds-text-field{color:var(--tds-text-field-label-disabled)}.text-field-container.sc-tds-text-field{border-radius:4px 4px 0 0;display:flex;position:relative;height:56px;box-sizing:border-box;background-color:var(--tds-text-field-background);border-bottom:1px solid var(--tds-text-field-border-bottom);border-top:1px solid transparent;transition:border-bottom-color 200ms ease}.text-field-container.sc-tds-text-field:hover{border-bottom-color:var(--tds-text-field-border-bottom-hover)}.form-text-field-md.sc-tds-text-field .text-field-container.sc-tds-text-field{height:48px}.form-text-field-sm.sc-tds-text-field .text-field-container.sc-tds-text-field{height:40px}.text-field-container.sc-tds-text-field:focus-within{border:2px solid var(--tds-focus-outline-color);margin:0 -2px}.text-field-input-container.sc-tds-text-field{position:relative;width:100%}.text-field-data.sc-tds-text-field,.text-field-input.sc-tds-text-field{color:var(--tds-text-field-data-color)}.text-field-label-outside.sc-tds-text-field>*.sc-tds-text-field{font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);display:block;margin-bottom:var(--tds-spacing-element-8);color:var(--tds-text-field-label-color)}.text-field-label-inside.sc-tds-text-field{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);position:absolute;pointer-events:none;color:var(--tds-text-field-label-inside-color);left:16px}.form-text-field.sc-tds-text-field{display:block;min-width:208px}.form-text-field-nomin.sc-tds-text-field{min-width:auto}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-lg.sc-tds-text-field{padding-top:var(--tds-spacing-element-24);padding-bottom:15px}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-lg.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field{top:20px}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-lg.sc-tds-text-field::placeholder{color:transparent}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-lg.sc-tds-text-field .sc-tds-text-field::placeholder{color:transparent}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-lg.sc-tds-text-field:focus::placeholder{transition:color 0.35s ease;color:var(--tds-text-field-placeholder)}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-md.sc-tds-text-field{padding-top:var(--tds-spacing-element-20);padding-bottom:11px}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-md.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field{top:16px}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-md.sc-tds-text-field::placeholder{color:transparent}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-md.sc-tds-text-field .sc-tds-text-field::placeholder{color:transparent}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-md.sc-tds-text-field:focus::placeholder{transition:color 0.35s ease;color:var(--tds-text-field-placeholder)}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-sm.sc-tds-text-field{padding-top:var(--tds-spacing-element-20);padding-bottom:11px}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-sm.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field{top:16px}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-sm.sc-tds-text-field::placeholder{color:transparent}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-sm.sc-tds-text-field .sc-tds-text-field::placeholder{color:transparent}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-sm.sc-tds-text-field:focus::placeholder{transition:color 0.35s ease;color:var(--tds-text-field-placeholder)}.form-text-field.text-field-container-label-inside.text-field-focus.sc-tds-text-field .text-field-input-sm.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field,.form-text-field.text-field-container-label-inside.text-field-data.sc-tds-text-field .text-field-input-sm.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field{font:var(--tds-detail-07);letter-spacing:var(--tds-detail-07-ls);transition:0.1s ease all;top:8px}.form-text-field.text-field-container-label-inside.text-field-focus.sc-tds-text-field .text-field-input-md.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field,.form-text-field.text-field-container-label-inside.text-field-data.sc-tds-text-field .text-field-input-md.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field{font:var(--tds-detail-07);letter-spacing:var(--tds-detail-07-ls);transition:0.1s ease all;top:8px}.form-text-field.text-field-container-label-inside.text-field-focus.sc-tds-text-field .text-field-input-lg.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field,.form-text-field.text-field-container-label-inside.text-field-data.sc-tds-text-field .text-field-input-lg.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field{font:var(--tds-detail-07);letter-spacing:var(--tds-detail-07-ls);transition:0.1s ease all;top:12px}.text-field-helper.sc-tds-text-field{font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);display:flex;gap:8px;justify-content:space-between;flex-basis:100%;padding-top:var(--tds-spacing-element-4);color:var(--tds-text-field-helper)}.text-field-helper.sc-tds-text-field .text-field-textcounter.sc-tds-text-field{margin-left:auto}.form-text-field-disabled.sc-tds-text-field .text-field-container.sc-tds-text-field{cursor:not-allowed;border-bottom-color:transparent}.form-text-field-disabled.sc-tds-text-field .text-field-slot-wrap-prefix.sc-tds-text-field>*.sc-tds-text-field,.form-text-field-disabled.sc-tds-text-field .text-field-slot-wrap-suffix.sc-tds-text-field>*.sc-tds-text-field{color:var(--tds-text-field-ps-color-disabled)}.form-text-field-disabled.sc-tds-text-field .text-field-label-outside.sc-tds-text-field>*.sc-tds-text-field{color:var(--tds-text-field-label-disabled)}.form-text-field-disabled.sc-tds-text-field .text-field-helper.sc-tds-text-field{color:var(--tds-text-field-helper-disabled)}.text-field-icon__readonly.sc-tds-text-field{display:none;position:absolute;right:18px;top:50%;transform:translateY(-50%);color:var(--tds-text-field-icon-read-only-label-color)}.text-field-icon__readonly.sc-tds-text-field .tds-tooltip.sc-tds-text-field{min-width:150px}.form-text-field-readonly.sc-tds-text-field{user-select:auto;caret-color:transparent;cursor:default}.form-text-field-readonly.sc-tds-text-field .text-field-container.sc-tds-text-field{border-bottom-color:var(--tds-text-field-border-bottom-readonly)}.form-text-field-readonly.sc-tds-text-field .text-field-icon__readonly.sc-tds-text-field{display:block}.form-text-field-readonly.sc-tds-text-field .text-field-icon__readonly.sc-tds-text-field:hover~.text-field-icon__readonly-label.sc-tds-text-field{display:block}.form-text-field-readonly.sc-tds-text-field .text-field-input.sc-tds-text-field{background-color:transparent}.form-text-field-readonly.sc-tds-text-field:has(.text-field-icon__readonly) .text-field-input.sc-tds-text-field{padding-right:54px}.form-text-field-success.sc-tds-text-field:not(.form-text-field-readonly) .text-field-container.sc-tds-text-field{border-bottom-color:var(--tds-text-field-border-bottom-success)}.form-text-field-error.sc-tds-text-field:not(.form-text-field-readonly) .text-field-helper.sc-tds-text-field{color:var(--tds-text-field-helper-error)}.form-text-field-error.sc-tds-text-field:not(.form-text-field-readonly) .text-field-container.sc-tds-text-field{border-bottom-color:var(--tds-text-field-border-bottom-error)}.text-field-helper-error-state.sc-tds-text-field{display:flex;gap:8px;flex-wrap:nowrap}.text-field-textcounter-disabled.sc-tds-text-field{color:var(--tds-text-field-textcounter-disabled)}.text-field-textcounter.sc-tds-text-field{font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);color:var(--tds-text-field-textcounter);float:right}.text-field-textcounter.text-field-textcounter-disabled.sc-tds-text-field{color:var(--tds-text-field-textcounter-disabled)}.text-field-textcounter.text-field-textcounter-divider.sc-tds-text-field{color:var(--tds-text-field-textcounter-divider)}.text-field-textcounter.text-field-textcounter-divider-disabled.sc-tds-text-field{color:var(--tds-text-field-textcounter-divider-disabled)}.text-field-slot-wrap-prefix.sc-tds-text-field,.text-field-slot-wrap-suffix.sc-tds-text-field{align-self:center;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);margin:0 0 0 14px;color:var(--tds-text-field-ps-color)}.text-field-slot-wrap-prefix.sc-tds-text-field-s>:not(tds-icon),.text-field-slot-wrap-suffix.sc-tds-text-field-s>:not(tds-icon){margin:0 0 0 2px}.text-field-slot-wrap-prefix.text-field-error.sc-tds-text-field,.text-field-slot-wrap-suffix.text-field-error.sc-tds-text-field{color:var(--tds-text-field-ps-color-error)}.text-field-slot-wrap-suffix.sc-tds-text-field{margin:0 14px 0 0}.text-field-slot-wrap-suffix.sc-tds-text-field-s>:not(tds-icon){margin:0 2px 0 0}";
|
|
10
|
-
const TdsTextFieldStyle0 = textFieldCss;
|
|
11
10
|
|
|
12
11
|
const TdsTextField = /*@__PURE__*/ proxyCustomElement(class TdsTextField extends H {
|
|
13
|
-
constructor() {
|
|
12
|
+
constructor(registerHost) {
|
|
14
13
|
super();
|
|
15
|
-
|
|
14
|
+
if (registerHost !== false) {
|
|
15
|
+
this.__registerHost();
|
|
16
|
+
}
|
|
16
17
|
this.tdsChange = createEvent(this, "tdsChange", 6);
|
|
17
18
|
this.tdsInput = createEvent(this, "tdsInput", 6);
|
|
18
19
|
this.tdsFocus = createEvent(this, "tdsFocus", 6);
|
|
19
20
|
this.tdsBlur = createEvent(this, "tdsBlur", 6);
|
|
20
21
|
this.uuid = generateUniqueId();
|
|
22
|
+
/** Which input type, text, password or similar */
|
|
21
23
|
this.type = 'text';
|
|
24
|
+
/** Position of the label for the Text Field. */
|
|
22
25
|
this.labelPosition = 'no-label';
|
|
26
|
+
/** Label text */
|
|
23
27
|
this.label = '';
|
|
24
|
-
|
|
25
|
-
this.max = undefined;
|
|
26
|
-
this.helper = undefined;
|
|
28
|
+
/** Placeholder text */
|
|
27
29
|
this.placeholder = '';
|
|
30
|
+
/** Value of the input text */
|
|
28
31
|
this.value = '';
|
|
32
|
+
/** Set input in disabled state */
|
|
29
33
|
this.disabled = false;
|
|
34
|
+
/** Set input in readonly state */
|
|
30
35
|
this.readOnly = false;
|
|
36
|
+
/** Hides the read-only icon in the Text Field. Requires Read Only to be enabled. */
|
|
31
37
|
this.hideReadOnlyIcon = false;
|
|
38
|
+
/** Size of the input */
|
|
32
39
|
this.size = 'lg';
|
|
40
|
+
/** Mode variant of the Text Field */
|
|
33
41
|
this.modeVariant = null;
|
|
42
|
+
/** Unset minimum width of 208px. */
|
|
34
43
|
this.noMinWidth = false;
|
|
44
|
+
/** Name property */
|
|
35
45
|
this.name = '';
|
|
46
|
+
/** Error state of input */
|
|
36
47
|
this.state = 'default';
|
|
37
|
-
|
|
48
|
+
/** Autofocus for input */
|
|
38
49
|
this.autofocus = false;
|
|
39
|
-
|
|
50
|
+
/** Makes the text field required */
|
|
40
51
|
this.required = false;
|
|
52
|
+
/** Value to be used for the text field's autocomplete attribute */
|
|
41
53
|
this.autocomplete = 'off';
|
|
54
|
+
/** Listen to the focus state of the input */
|
|
42
55
|
this.focusInput = false;
|
|
43
56
|
}
|
|
44
57
|
handleChange(event) {
|
|
@@ -133,8 +146,8 @@ const TdsTextField = /*@__PURE__*/ proxyCustomElement(class TdsTextField extends
|
|
|
133
146
|
} }, this.value === null ? 0 : (_a = this.value) === null || _a === void 0 ? void 0 : _a.length, " / ", this.maxLength)))))));
|
|
134
147
|
}
|
|
135
148
|
get host() { return this; }
|
|
136
|
-
static get style() { return
|
|
137
|
-
}, [
|
|
149
|
+
static get style() { return textFieldCss; }
|
|
150
|
+
}, [262, "tds-text-field", {
|
|
138
151
|
"type": [513],
|
|
139
152
|
"labelPosition": [1, "label-position"],
|
|
140
153
|
"label": [1],
|
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h,
|
|
2
|
-
import { i as inheritAriaAttributes } from './p-
|
|
3
|
-
import { d as defineCustomElement$3 } from './p-
|
|
4
|
-
import { d as defineCustomElement$2 } from './p-
|
|
5
|
-
import { d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, h, a as Host } from './index.js';
|
|
2
|
+
import { i as inheritAriaAttributes } from './p-Q3W78DlP.js';
|
|
3
|
+
import { d as defineCustomElement$3 } from './p-BhLq7lgx.js';
|
|
4
|
+
import { d as defineCustomElement$2 } from './p-BHBgkUfr.js';
|
|
5
|
+
import { d as defineCustomElement$1 } from './p-CPDv0bBc.js';
|
|
6
6
|
|
|
7
7
|
const headerLauncherButtonCss = ":host{display:block}:host tds-header-item{display:block}:host .icon{position:relative;margin-left:-6px;left:3px;transition:all 0.2s ease-in-out}";
|
|
8
|
-
const TdsHeaderLauncherButtonStyle0 = headerLauncherButtonCss;
|
|
9
8
|
|
|
10
9
|
const TdsHeaderLauncherButton = /*@__PURE__*/ proxyCustomElement(class TdsHeaderLauncherButton extends H {
|
|
11
|
-
constructor() {
|
|
10
|
+
constructor(registerHost) {
|
|
12
11
|
super();
|
|
13
|
-
|
|
12
|
+
if (registerHost !== false) {
|
|
13
|
+
this.__registerHost();
|
|
14
|
+
}
|
|
14
15
|
this.__attachShadow();
|
|
16
|
+
/** If the button should appear active. Can be used when the button is
|
|
17
|
+
* triggering a dropdown, and the dropdown is open, for example. */
|
|
15
18
|
this.active = false;
|
|
16
|
-
this.tdsAriaLabel = undefined;
|
|
17
19
|
}
|
|
18
20
|
render() {
|
|
19
21
|
this.ariaAttributes = Object.assign(Object.assign({}, this.ariaAttributes), inheritAriaAttributes(this.host));
|
|
@@ -21,8 +23,8 @@ const TdsHeaderLauncherButton = /*@__PURE__*/ proxyCustomElement(class TdsHeader
|
|
|
21
23
|
return (h(Host, { key: '6d8b16f71586f3bc944f17aa80234605bbc57ab0' }, h("tds-header-item", { key: '49529617101956090cdc2092d4df80fdf376a123', active: this.active }, h("button", Object.assign({ key: '76cd7b84413aafedaec6b1326e55307bf640b73f' }, buttonProps, { "aria-label": this.tdsAriaLabel }), h("tds-icon", { key: '145394461e3bc680a2f2b07e82f8b3bb549f1e6d', class: "icon", name: "bento", size: "20px", "svg-title": this.tdsAriaLabel })))));
|
|
22
24
|
}
|
|
23
25
|
get host() { return this; }
|
|
24
|
-
static get style() { return
|
|
25
|
-
}, [
|
|
26
|
+
static get style() { return headerLauncherButtonCss; }
|
|
27
|
+
}, [257, "tds-header-launcher-button", {
|
|
26
28
|
"active": [4],
|
|
27
29
|
"tdsAriaLabel": [1, "tds-aria-label"]
|
|
28
30
|
}]);
|
|
@@ -1,14 +1,31 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h,
|
|
2
|
-
import { i as inheritAttributes } from './p-
|
|
3
|
-
import { d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, h, a as Host } from './index.js';
|
|
2
|
+
import { i as inheritAttributes } from './p-CF8bH08v.js';
|
|
3
|
+
import { d as defineCustomElement$1 } from './p-8koCGAVT.js';
|
|
4
4
|
|
|
5
5
|
const tooltipCss = ".sc-tds-tooltip-h{position:absolute}.tds-tooltip.sc-tds-tooltip{box-sizing:border-box;font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);color:var(--tds-tooltip-color);background-color:var(--tds-tooltip-background);border-radius:4px;padding:8px;word-wrap:break-word;white-space:normal;max-width:192px;z-index:900;opacity:0;visibility:hidden;transition:opacity 200ms ease-in, visibility 200ms ease-in}.tds-tooltip.sc-tds-tooltip *.sc-tds-tooltip{box-sizing:border-box}.tds-tooltip.tds-tooltip-top-left.sc-tds-tooltip{border-radius:0 4px 4px}.tds-tooltip.tds-tooltip-top-right.sc-tds-tooltip{border-radius:4px 0 4px 4px}.tds-tooltip.tds-tooltip-bottom-right.sc-tds-tooltip{border-radius:4px 4px 0}.tds-tooltip.tds-tooltip-bottom-left.sc-tds-tooltip{border-radius:4px 4px 4px 0}.tds-tooltip-show.sc-tds-tooltip{opacity:1;visibility:visible}";
|
|
6
|
-
const TdsTooltipStyle0 = tooltipCss;
|
|
7
6
|
|
|
8
7
|
const TdsTooltip = /*@__PURE__*/ proxyCustomElement(class TdsTooltip extends H {
|
|
9
|
-
constructor() {
|
|
8
|
+
constructor(registerHost) {
|
|
10
9
|
super();
|
|
11
|
-
|
|
10
|
+
if (registerHost !== false) {
|
|
11
|
+
this.__registerHost();
|
|
12
|
+
}
|
|
13
|
+
/** In case Tooltip contains only text, no HTML, a text can be passed by this prop */
|
|
14
|
+
this.text = '';
|
|
15
|
+
/** Decides if the component should be visible from the start. */
|
|
16
|
+
this.defaultShow = false;
|
|
17
|
+
/** Allow mouse over Tooltip. Useful when Tooltip contains clickable elements like link or button. */
|
|
18
|
+
this.mouseOverTooltip = false;
|
|
19
|
+
/** What triggers the popover to show */
|
|
20
|
+
this.trigger = 'hover';
|
|
21
|
+
/** Prop in control of showing and hiding prop. Takes precedence over `defaultOpen` prop. */
|
|
22
|
+
this.show = null;
|
|
23
|
+
/** Placement of Tooltip. */
|
|
24
|
+
this.placement = 'bottom';
|
|
25
|
+
/** Sets the offset skidding */
|
|
26
|
+
this.offsetSkidding = 0;
|
|
27
|
+
/** Sets the offset distance */
|
|
28
|
+
this.offsetDistance = 8;
|
|
12
29
|
this.popperjsExtraModifiers = [
|
|
13
30
|
{
|
|
14
31
|
name: 'positionCalc',
|
|
@@ -34,17 +51,6 @@ const TdsTooltip = /*@__PURE__*/ proxyCustomElement(class TdsTooltip extends H {
|
|
|
34
51
|
},
|
|
35
52
|
];
|
|
36
53
|
this.inheritedAttributes = [];
|
|
37
|
-
this.text = '';
|
|
38
|
-
this.selector = undefined;
|
|
39
|
-
this.referenceEl = undefined;
|
|
40
|
-
this.defaultShow = false;
|
|
41
|
-
this.mouseOverTooltip = false;
|
|
42
|
-
this.trigger = 'hover';
|
|
43
|
-
this.show = null;
|
|
44
|
-
this.placement = 'bottom';
|
|
45
|
-
this.offsetSkidding = 0;
|
|
46
|
-
this.offsetDistance = 8;
|
|
47
|
-
this.tdsAriaDescribedby = undefined;
|
|
48
54
|
}
|
|
49
55
|
handleKeyDown(event) {
|
|
50
56
|
if (event.key === 'Escape' && this.show) {
|
|
@@ -62,24 +68,20 @@ const TdsTooltip = /*@__PURE__*/ proxyCustomElement(class TdsTooltip extends H {
|
|
|
62
68
|
}
|
|
63
69
|
render() {
|
|
64
70
|
var _a;
|
|
65
|
-
return (h(Host, { key: '
|
|
71
|
+
return (h(Host, { key: '898440a89d6d72e57b537aa442f806667240a1c1', role: "tooltip", "aria-describedby": this.tdsAriaDescribedby, "aria-label": this.text }, h("tds-popover-core", Object.assign({ key: '3265ee9e08d6802c086a4c12cfcefc110a0f5dd2' }, this.inheritedAttributes, { class: {
|
|
66
72
|
'tds-tooltip': true,
|
|
67
73
|
[`tds-tooltip-${this.border}`]: true,
|
|
68
74
|
[(_a = this.inheritedAttributes.class) !== null && _a !== void 0 ? _a : '']: true,
|
|
69
75
|
'tds-tooltip-show': this.show,
|
|
70
|
-
}, selector: this.selector, referenceEl: this.referenceEl, trigger: this.determineTrigger(), modifiers: this.popperjsExtraModifiers, offsetSkidding: this.offsetSkidding, offsetDistance: this.offsetDistance, show: this.show, placement: this.placement, autoHide: false,
|
|
71
|
-
// @ts-ignore
|
|
72
|
-
onInternalTdsShow: () => {
|
|
76
|
+
}, selector: this.selector, referenceEl: this.referenceEl, trigger: this.determineTrigger(), modifiers: this.popperjsExtraModifiers, offsetSkidding: this.offsetSkidding, offsetDistance: this.offsetDistance, show: this.show, placement: this.placement, autoHide: false, onInternalTdsShow: () => {
|
|
73
77
|
this.show = true;
|
|
74
|
-
},
|
|
75
|
-
// @ts-ignore
|
|
76
|
-
onInternalTdsClose: () => {
|
|
78
|
+
}, onInternalTdsClose: () => {
|
|
77
79
|
this.show = false;
|
|
78
|
-
}, defaultShow: this.defaultShow }), this.text, h("slot", { key: '
|
|
80
|
+
}, defaultShow: this.defaultShow }), this.text, h("slot", { key: '150aa2a7fdc8bad50c6f42148ce2091eb5058b82' }))));
|
|
79
81
|
}
|
|
80
82
|
get host() { return this; }
|
|
81
|
-
static get style() { return
|
|
82
|
-
}, [
|
|
83
|
+
static get style() { return tooltipCss; }
|
|
84
|
+
}, [262, "tds-tooltip", {
|
|
83
85
|
"text": [1],
|
|
84
86
|
"selector": [1],
|
|
85
87
|
"referenceEl": [16],
|
|
@@ -1,21 +1,20 @@
|
|
|
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 sideMenuUserImageCss = ":host img,:host ::slotted(*){width:34px;height:34px;border-radius:50%}";
|
|
4
|
-
const TdsSideMenuUserImageStyle0 = sideMenuUserImageCss;
|
|
5
4
|
|
|
6
5
|
const TdsSideMenuUserImage = /*@__PURE__*/ proxyCustomElement(class TdsSideMenuUserImage 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.src = undefined;
|
|
12
|
-
this.alt = undefined;
|
|
13
12
|
}
|
|
14
13
|
render() {
|
|
15
14
|
return (h(Host, { key: '62b6a38f0705b052cb4d5b9379bc77662f66c505' }, h("slot", { key: '99aeba48272e512ce419a934cb4147052a5e0190' }), this.src && h("img", { key: '352e0a3f93558b298835afbfe72193cdbebcffa4', src: this.src, alt: this.alt })));
|
|
16
15
|
}
|
|
17
|
-
static get style() { return
|
|
18
|
-
}, [
|
|
16
|
+
static get style() { return sideMenuUserImageCss; }
|
|
17
|
+
}, [257, "tds-side-menu-user-image", {
|
|
19
18
|
"src": [1],
|
|
20
19
|
"alt": [1]
|
|
21
20
|
}]);
|
|
@@ -1,37 +1,59 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H,
|
|
2
|
-
import { c as convertToString } from './p-
|
|
3
|
-
import { d as defineCustomElement$2 } from './p-
|
|
4
|
-
import { d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, c as createEvent, h, a as Host } from './index.js';
|
|
2
|
+
import { c as convertToString } from './p-CBZ6wC3m.js';
|
|
3
|
+
import { d as defineCustomElement$2 } from './p-Ca3wGDna.js';
|
|
4
|
+
import { d as defineCustomElement$1 } from './p-CPDv0bBc.js';
|
|
5
|
+
|
|
6
|
+
function isTag(el, tagName) {
|
|
7
|
+
return !!el && el.tagName === tagName.toUpperCase();
|
|
8
|
+
}
|
|
9
|
+
function closestByTag(start, tagName) {
|
|
10
|
+
const found = start.closest(tagName);
|
|
11
|
+
return isTag(found, tagName) ? found : null;
|
|
12
|
+
}
|
|
5
13
|
|
|
6
14
|
const dropdownOptionCss = ":host{box-sizing:border-box;display:block;background-color:var(--tds-dropdown-option-background)}:host *{box-sizing:border-box}:host .dropdown-option{color:var(--tds-dropdown-option-color);border-bottom:1px solid var(--tds-dropdown-option-border);font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);overflow-wrap:anywhere;transition:background-color var(--tds-motion-duration-fast-02) var(--tds-motion-easing-scania)}:host .dropdown-option.selected{background-color:var(--tds-dropdown-option-background-selected)}:host .dropdown-option.disabled{color:var(--tds-dropdown-option-color-disabled)}:host .dropdown-option button:focus{outline:2px solid var(--tds-focus-outline-color);box-shadow:inset 0 0 0 3px var(--tds-white);outline-offset:-2px}:host .dropdown-option button{all:unset;width:100%}:host .dropdown-option button.lg{padding:19px 0 20px}:host .dropdown-option button.md{padding:15px 0 16px}:host .dropdown-option button.sm{padding:11px 0 12px}:host .dropdown-option button.xs{padding:7px 0 8px}:host .dropdown-option button .single-select{display:flex;align-items:center;justify-content:space-between;padding:0 16px}:host .dropdown-option .multiselect{width:100%;height:100%}:host .dropdown-option .multiselect tds-checkbox{display:flex;height:100%;width:100%}:host .dropdown-option .multiselect tds-checkbox.lg{padding:15px 16px 16px}:host .dropdown-option .multiselect tds-checkbox.md{padding:11px 16px 12px}:host .dropdown-option .multiselect tds-checkbox.sm{padding:7px 16px 8px}:host .dropdown-option .multiselect tds-checkbox.xs{padding:7px 16px 8px}:host .dropdown-option:hover{border-bottom-color:var(--tds-dropdown-option-border-hover);cursor:pointer}:host .dropdown-option:hover.disabled{border-bottom-color:var(--tds-dropdown-option-border-hover);cursor:not-allowed}:host([hidden]){display:none}";
|
|
7
|
-
const TdsDropdownOptionStyle0 = dropdownOptionCss;
|
|
8
15
|
|
|
9
16
|
const TdsDropdownOption = /*@__PURE__*/ proxyCustomElement(class TdsDropdownOption extends H {
|
|
10
|
-
constructor() {
|
|
17
|
+
constructor(registerHost) {
|
|
11
18
|
super();
|
|
12
|
-
|
|
19
|
+
if (registerHost !== false) {
|
|
20
|
+
this.__registerHost();
|
|
21
|
+
}
|
|
13
22
|
this.__attachShadow();
|
|
14
23
|
this.tdsSelect = createEvent(this, "tdsSelect", 6);
|
|
15
24
|
this.tdsFocus = createEvent(this, "tdsFocus", 6);
|
|
16
25
|
this.tdsBlur = createEvent(this, "tdsBlur", 6);
|
|
26
|
+
/** Sets the option as disabled. */
|
|
27
|
+
this.disabled = false;
|
|
28
|
+
this.selected = false;
|
|
29
|
+
this.multiselect = false;
|
|
30
|
+
this.size = 'lg';
|
|
17
31
|
this.parentElement = null;
|
|
18
32
|
// @ts-expect-error - label property is used internally for text content tracking
|
|
19
33
|
// eslint-disable-next-line no-unused-vars,
|
|
20
34
|
this.label = '';
|
|
21
35
|
this.componentWillRender = () => {
|
|
22
|
-
var _a, _b
|
|
23
|
-
if (!this.host.parentElement)
|
|
36
|
+
var _a, _b;
|
|
37
|
+
if (!this.host.parentElement)
|
|
24
38
|
return;
|
|
39
|
+
const directParent = this.host.parentElement;
|
|
40
|
+
if (isTag(directParent, 'tds-dropdown')) {
|
|
41
|
+
this.parentElement = directParent;
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
const root = this.host.getRootNode();
|
|
45
|
+
if (root instanceof ShadowRoot) {
|
|
46
|
+
this.parentElement = closestByTag(root.host, 'tds-dropdown');
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
this.parentElement = null;
|
|
50
|
+
}
|
|
25
51
|
}
|
|
26
|
-
this.parentElement =
|
|
27
|
-
((_a = this.host.parentElement) === null || _a === void 0 ? void 0 : _a.tagName) === 'TDS-DROPDOWN'
|
|
28
|
-
? this.host.parentElement
|
|
29
|
-
: this.host.getRootNode().host;
|
|
30
52
|
if (this.parentElement) {
|
|
31
|
-
this.multiselect = (
|
|
53
|
+
this.multiselect = (_a = this.parentElement.multiselect) !== null && _a !== void 0 ? _a : false;
|
|
32
54
|
this.size = this.parentElement.size || 'lg';
|
|
33
55
|
}
|
|
34
|
-
this.label = ((
|
|
56
|
+
this.label = ((_b = this.host.textContent) === null || _b === void 0 ? void 0 : _b.trim()) || '';
|
|
35
57
|
};
|
|
36
58
|
this.handleSingleSelect = () => {
|
|
37
59
|
if (!this.disabled) {
|
|
@@ -79,13 +101,6 @@ const TdsDropdownOption = /*@__PURE__*/ proxyCustomElement(class TdsDropdownOpti
|
|
|
79
101
|
this.tdsBlur.emit(event);
|
|
80
102
|
}
|
|
81
103
|
};
|
|
82
|
-
this.value = undefined;
|
|
83
|
-
this.internalValue = undefined;
|
|
84
|
-
this.disabled = false;
|
|
85
|
-
this.tdsAriaLabel = undefined;
|
|
86
|
-
this.selected = false;
|
|
87
|
-
this.multiselect = false;
|
|
88
|
-
this.size = 'lg';
|
|
89
104
|
}
|
|
90
105
|
/** Method to select/deselect an option. */
|
|
91
106
|
async setSelected(selected) {
|
|
@@ -98,7 +113,7 @@ const TdsDropdownOption = /*@__PURE__*/ proxyCustomElement(class TdsDropdownOpti
|
|
|
98
113
|
this.internalValue = convertToString(this.value);
|
|
99
114
|
}
|
|
100
115
|
render() {
|
|
101
|
-
return (h(Host, { key: '
|
|
116
|
+
return (h(Host, { key: '9fa5bfe8a6dc4596c0181c3319cba2e4101b7502' }, h("div", { key: 'b160e2007f01dfa6b13b633408125cd32159bb95', class: `dropdown-option
|
|
102
117
|
${this.size}
|
|
103
118
|
${this.selected ? 'selected' : ''}
|
|
104
119
|
${this.disabled ? 'disabled' : ''}
|
|
@@ -121,8 +136,8 @@ const TdsDropdownOption = /*@__PURE__*/ proxyCustomElement(class TdsDropdownOpti
|
|
|
121
136
|
static get watchers() { return {
|
|
122
137
|
"value": ["valueWatcher"]
|
|
123
138
|
}; }
|
|
124
|
-
static get style() { return
|
|
125
|
-
}, [
|
|
139
|
+
static get style() { return dropdownOptionCss; }
|
|
140
|
+
}, [273, "tds-dropdown-option", {
|
|
126
141
|
"value": [8],
|
|
127
142
|
"disabled": [4],
|
|
128
143
|
"tdsAriaLabel": [1, "tds-aria-label"],
|
|
@@ -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,18 +1,19 @@
|
|
|
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
19
|
const { children } = this.host;
|
|
@@ -78,8 +79,8 @@ const TdsHeaderDropdownList = /*@__PURE__*/ proxyCustomElement(class TdsHeaderDr
|
|
|
78
79
|
return (h(Host, Object.assign({ key: '57e8ecd046b7a260f1516fc80673e9d095ffd4d3' }, attributes), h("slot", { key: 'e0bafe5fffcf8864faebd4603597e3e424a35046' })));
|
|
79
80
|
}
|
|
80
81
|
get host() { return this; }
|
|
81
|
-
static get style() { return
|
|
82
|
-
}, [
|
|
82
|
+
static get style() { return headerDropdownListCss; }
|
|
83
|
+
}, [257, "tds-header-dropdown-list", {
|
|
83
84
|
"size": [513],
|
|
84
85
|
"headingElement": [32]
|
|
85
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,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 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() {
|
|
@@ -18,8 +21,8 @@ const TdsAccordion$1 = /*@__PURE__*/ proxyCustomElement(class TdsAccordion exten
|
|
|
18
21
|
'hide-last-border': this.hideLastBorder,
|
|
19
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],
|