@scania/tegel 1.3.3 → 1.5.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/dfs-84f7f63e.js +29 -0
- package/dist/cjs/{generateUniqueId-56da4810.js → generateUniqueId-e3fc9863.js} +9 -9
- package/dist/cjs/{index-705dca7c.js → index-ae4fbf97.js} +417 -356
- package/dist/cjs/inheritAriaAttributes-dedbbc57.js +78 -0
- package/dist/cjs/{inheritAttributes-845f5217.js → inheritAttributes-ff9ad737.js} +11 -11
- package/dist/cjs/{isHeadingElement-d31dde38.js → isHeadingElement-4f06b688.js} +19 -19
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/tds-accordion-item.cjs.entry.js +22 -22
- package/dist/cjs/tds-accordion.cjs.entry.js +8 -8
- package/dist/cjs/tds-badge.cjs.entry.js +34 -34
- package/dist/cjs/tds-banner.cjs.entry.js +42 -42
- package/dist/cjs/tds-block.cjs.entry.js +22 -22
- package/dist/cjs/tds-body-cell.cjs.entry.js +61 -61
- package/dist/cjs/tds-breadcrumb.cjs.entry.js +8 -8
- package/dist/cjs/tds-breadcrumbs.cjs.entry.js +10 -10
- package/dist/cjs/tds-button.cjs.entry.js +34 -34
- package/dist/cjs/tds-card.cjs.entry.js +40 -40
- package/dist/cjs/tds-checkbox.cjs.entry.js +57 -57
- package/dist/cjs/tds-chip.cjs.entry.js +62 -62
- package/dist/cjs/tds-core-header-item_2.cjs.entry.js +46 -46
- package/dist/cjs/tds-datetime.cjs.entry.js +82 -82
- package/dist/cjs/tds-divider.cjs.entry.js +8 -8
- package/dist/cjs/tds-dropdown-option.cjs.entry.js +78 -78
- package/dist/cjs/tds-dropdown.cjs.entry.js +368 -350
- package/dist/cjs/tds-folder-tab.cjs.entry.js +18 -18
- package/dist/cjs/tds-folder-tabs.cjs.entry.js +149 -149
- package/dist/cjs/tds-footer-group.cjs.entry.js +22 -22
- package/dist/cjs/tds-footer-item.cjs.entry.js +12 -12
- package/dist/cjs/tds-footer.cjs.entry.js +14 -12
- package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +8 -8
- package/dist/cjs/tds-header-cell.cjs.entry.js +122 -122
- package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +13 -13
- package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +12 -12
- package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +70 -70
- package/dist/cjs/tds-header-dropdown.cjs.entry.js +37 -37
- package/dist/cjs/tds-header-hamburger.cjs.entry.js +11 -11
- package/dist/cjs/tds-header-launcher-button.cjs.entry.js +13 -13
- package/dist/cjs/tds-header-launcher-grid-item.cjs.entry.js +7 -7
- package/dist/cjs/tds-header-launcher-grid-title.cjs.entry.js +9 -9
- package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +28 -28
- package/dist/cjs/tds-header-launcher-list-item.cjs.entry.js +7 -7
- package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +10 -10
- package/dist/cjs/tds-header-launcher-list.cjs.entry.js +9 -9
- package/dist/cjs/tds-header-launcher.cjs.entry.js +48 -48
- package/dist/cjs/tds-header-title.cjs.entry.js +7 -7
- package/dist/cjs/tds-header.cjs.entry.js +39 -39
- package/dist/cjs/tds-icon.cjs.entry.js +29 -28
- package/dist/cjs/tds-inline-tab.cjs.entry.js +13 -13
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +134 -134
- package/dist/cjs/tds-link.cjs.entry.js +13 -13
- package/dist/cjs/tds-message.cjs.entry.js +26 -26
- package/dist/cjs/tds-modal.cjs.entry.js +83 -83
- package/dist/cjs/tds-navigation-tab.cjs.entry.js +13 -13
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +130 -130
- package/dist/cjs/tds-popover-canvas.cjs.entry.js +24 -24
- package/dist/cjs/tds-popover-core.cjs.entry.js +148 -148
- package/dist/cjs/tds-popover-menu-item.cjs.entry.js +11 -11
- package/dist/cjs/tds-popover-menu.cjs.entry.js +25 -25
- package/dist/cjs/tds-radio-button.cjs.entry.js +22 -22
- package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +11 -11
- package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +39 -39
- package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +34 -34
- package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +19 -19
- package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +56 -56
- package/dist/cjs/tds-side-menu-item.cjs.entry.js +57 -57
- package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +7 -7
- package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +17 -17
- package/dist/cjs/tds-side-menu-user.cjs.entry.js +11 -11
- package/dist/cjs/tds-side-menu.cjs.entry.js +68 -60
- package/dist/cjs/tds-slider.cjs.entry.js +285 -283
- package/dist/cjs/tds-spinner.cjs.entry.js +9 -9
- package/dist/cjs/tds-step.cjs.entry.js +37 -37
- package/dist/cjs/tds-stepper.cjs.entry.js +55 -55
- package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +58 -58
- package/dist/cjs/tds-table-body-row.cjs.entry.js +51 -51
- package/dist/cjs/tds-table-body.cjs.entry.js +52 -52
- package/dist/cjs/tds-table-footer.cjs.entry.js +87 -87
- package/dist/cjs/tds-table-header.cjs.entry.js +81 -81
- package/dist/cjs/tds-table-toolbar.cjs.entry.js +51 -51
- package/dist/cjs/tds-table.cjs.entry.js +83 -83
- package/dist/cjs/tds-text-field.cjs.entry.js +62 -62
- package/dist/cjs/tds-textarea.cjs.entry.js +54 -54
- package/dist/cjs/tds-toast.cjs.entry.js +60 -60
- package/dist/cjs/tds-toggle.cjs.entry.js +32 -32
- package/dist/cjs/tds-tooltip.cjs.entry.js +54 -54
- package/dist/cjs/tegel.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/accordion/accordion-item/accordion-item.js +163 -163
- package/dist/collection/components/accordion/accordion.js +40 -40
- package/dist/collection/components/badge/badge.js +113 -113
- package/dist/collection/components/banner/banner.js +212 -212
- package/dist/collection/components/block/block.js +54 -54
- package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.js +40 -40
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +18 -18
- package/dist/collection/components/button/button.css +23 -25
- package/dist/collection/components/button/button.js +177 -177
- package/dist/collection/components/card/card.js +228 -228
- package/dist/collection/components/checkbox/checkbox.js +270 -270
- package/dist/collection/components/chip/chip.js +211 -211
- package/dist/collection/components/datetime/datetime.js +419 -419
- package/dist/collection/components/divider/divider.js +40 -40
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +212 -211
- package/dist/collection/components/dropdown/dropdown.css +1 -0
- package/dist/collection/components/dropdown/dropdown.js +831 -809
- package/dist/collection/components/footer/footer-group/footer-group.js +58 -58
- package/dist/collection/components/footer/footer-item/footer-item.js +22 -22
- package/dist/collection/components/footer/footer.js +48 -45
- package/dist/collection/components/header/core-header-item/core-header-item.js +15 -15
- package/dist/collection/components/header/header-brand-symbol/header-brand-symbol.js +16 -16
- package/dist/collection/components/header/header-dropdown/header-dropdown.js +118 -118
- package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +105 -105
- package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.js +63 -63
- package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.js +94 -94
- package/dist/collection/components/header/header-hamburger/header-hamburger.js +17 -17
- package/dist/collection/components/header/header-item/header-item.js +89 -89
- package/dist/collection/components/header/header-launcher/header-launcher.js +71 -71
- package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +43 -43
- package/dist/collection/components/header/header-launcher-grid/header-launcher-grid.js +40 -40
- package/dist/collection/components/header/header-launcher-grid-item/header-launcher-grid-item.js +15 -15
- package/dist/collection/components/header/header-launcher-grid-title/header-launcher-grid-title.js +17 -17
- package/dist/collection/components/header/header-launcher-list/header-launcher-list.js +7 -7
- package/dist/collection/components/header/header-launcher-list-item/header-launcher-list-item.js +15 -15
- package/dist/collection/components/header/header-launcher-list-title/header-launcher-list-title.js +18 -18
- package/dist/collection/components/header/header-title/header-title.js +15 -15
- package/dist/collection/components/header/header.js +38 -38
- package/dist/collection/components/icon/icon.js +119 -101
- package/dist/collection/components/link/link.js +63 -63
- package/dist/collection/components/message/message.js +129 -129
- package/dist/collection/components/modal/modal.css +1 -1
- package/dist/collection/components/modal/modal.js +278 -278
- package/dist/collection/components/popover-canvas/popover-canvas.js +173 -173
- package/dist/collection/components/popover-core/popover-core.js +384 -384
- package/dist/collection/components/popover-menu/popover-menu-item/popover-menu-item.js +43 -43
- package/dist/collection/components/popover-menu/popover-menu.js +171 -171
- package/dist/collection/components/radio-button/radio-button.js +158 -158
- package/dist/collection/components/side-menu/side-menu-close-button/side-menu-close-button.js +17 -17
- package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +108 -108
- package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +163 -163
- package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.js +43 -43
- package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +81 -81
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +120 -120
- package/dist/collection/components/side-menu/side-menu-overlay/side-menu-overlay.js +15 -15
- package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +93 -93
- package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +57 -57
- package/dist/collection/components/side-menu/side-menu-user-label/side-menu-user-label.js +57 -57
- package/dist/collection/components/side-menu/side-menu.js +221 -212
- package/dist/collection/components/slider/slider.js +684 -682
- package/dist/collection/components/spinner/spinner.js +58 -58
- package/dist/collection/components/stepper/step/step.js +103 -103
- package/dist/collection/components/stepper/stepper.js +192 -192
- package/dist/collection/components/table/table/table.js +296 -296
- package/dist/collection/components/table/table-body/table-body.js +88 -88
- package/dist/collection/components/table/table-body-cell/table-body-cell.js +159 -159
- package/dist/collection/components/table/table-body-row/table-body-row.js +119 -119
- package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +129 -129
- package/dist/collection/components/table/table-footer/table-footer.js +207 -207
- package/dist/collection/components/table/table-header/table-header.js +197 -197
- package/dist/collection/components/table/table-header-cell/table-header-cell.js +320 -317
- package/dist/collection/components/table/table-toolbar/table-toolbar.js +135 -135
- package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +106 -104
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +266 -265
- package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +77 -76
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +251 -250
- package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +77 -76
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +246 -245
- package/dist/collection/components/text-field/text-field.js +422 -422
- package/dist/collection/components/textarea/textarea.js +412 -412
- package/dist/collection/components/toast/toast.js +232 -232
- package/dist/collection/components/toggle/toggle.js +206 -206
- package/dist/collection/components/tooltip/tooltip.js +182 -182
- package/dist/collection/utils/appendHiddenInput.js +11 -11
- package/dist/collection/utils/dfs.js +15 -15
- package/dist/collection/utils/findNextFocusableElement.js +7 -7
- package/dist/collection/utils/findPreviousFocusableElement.js +7 -7
- package/dist/collection/utils/generateUniqueId.js +9 -9
- package/dist/collection/utils/getNestedChildOfSiblingsMatching.js +15 -15
- package/dist/collection/utils/inheritAriaAttributes.js +56 -56
- package/dist/collection/utils/inheritAttributes.js +11 -11
- package/dist/collection/utils/isHeadingElement.js +3 -3
- package/dist/collection/utils/updateListChildrenRoles.js +8 -8
- package/dist/components/checkbox.js +79 -79
- package/dist/components/core-header-item.js +20 -20
- package/dist/components/dfs.js +15 -15
- package/dist/components/divider.js +23 -23
- package/dist/components/generateUniqueId.js +9 -9
- package/dist/components/getPreviousNestedChildOfSiblingsMatching.js +18 -18
- package/dist/components/header-dropdown-list-item.js +29 -29
- package/dist/components/header-dropdown-list.js +84 -84
- package/dist/components/header-item.js +60 -60
- package/dist/components/header-launcher-button.js +41 -41
- package/dist/components/icon.js +49 -47
- package/dist/components/inheritAriaAttributes.js +56 -56
- package/dist/components/inheritAttributes.js +11 -11
- package/dist/components/popover-canvas.js +48 -48
- package/dist/components/popover-core.js +177 -177
- package/dist/components/side-menu-item.js +73 -73
- package/dist/components/side-menu-user-image.js +25 -25
- package/dist/components/side-menu-user-label.js +25 -25
- package/dist/components/tds-accordion-item.d.ts +2 -2
- package/dist/components/tds-accordion-item.js +47 -47
- package/dist/components/tds-accordion.d.ts +2 -2
- package/dist/components/tds-accordion.js +23 -23
- package/dist/components/tds-badge.d.ts +2 -2
- package/dist/components/tds-badge.js +56 -56
- package/dist/components/tds-banner.d.ts +2 -2
- package/dist/components/tds-banner.js +68 -68
- package/dist/components/tds-block.d.ts +2 -2
- package/dist/components/tds-block.js +37 -37
- package/dist/components/tds-body-cell.d.ts +2 -2
- package/dist/components/tds-body-cell.js +85 -85
- package/dist/components/tds-breadcrumb.d.ts +2 -2
- package/dist/components/tds-breadcrumb.js +23 -23
- package/dist/components/tds-breadcrumbs.d.ts +2 -2
- package/dist/components/tds-breadcrumbs.js +23 -23
- package/dist/components/tds-button.d.ts +2 -2
- package/dist/components/tds-button.js +55 -55
- package/dist/components/tds-card.d.ts +2 -2
- package/dist/components/tds-card.js +67 -67
- package/dist/components/tds-checkbox.d.ts +2 -2
- package/dist/components/tds-chip.d.ts +2 -2
- package/dist/components/tds-chip.js +80 -80
- package/dist/components/tds-core-header-item.d.ts +2 -2
- package/dist/components/tds-datetime.d.ts +2 -2
- package/dist/components/tds-datetime.js +115 -115
- package/dist/components/tds-divider.d.ts +2 -2
- package/dist/components/tds-dropdown-option.d.ts +2 -2
- package/dist/components/tds-dropdown-option.js +108 -108
- package/dist/components/tds-dropdown.d.ts +2 -2
- package/dist/components/tds-dropdown.js +413 -395
- package/dist/components/tds-folder-tab.d.ts +2 -2
- package/dist/components/tds-folder-tab.js +37 -37
- package/dist/components/tds-folder-tabs.d.ts +2 -2
- package/dist/components/tds-folder-tabs.js +177 -177
- package/dist/components/tds-footer-group.d.ts +2 -2
- package/dist/components/tds-footer-group.js +43 -43
- package/dist/components/tds-footer-item.d.ts +2 -2
- package/dist/components/tds-footer-item.js +25 -25
- package/dist/components/tds-footer.d.ts +2 -2
- package/dist/components/tds-footer.js +29 -27
- package/dist/components/tds-header-brand-symbol.d.ts +2 -2
- package/dist/components/tds-header-brand-symbol.js +31 -31
- package/dist/components/tds-header-cell.d.ts +2 -2
- package/dist/components/tds-header-cell.js +151 -151
- package/dist/components/tds-header-dropdown-list-item.d.ts +2 -2
- package/dist/components/tds-header-dropdown-list-user.d.ts +2 -2
- package/dist/components/tds-header-dropdown-list-user.js +30 -30
- package/dist/components/tds-header-dropdown-list.d.ts +2 -2
- package/dist/components/tds-header-dropdown.d.ts +2 -2
- package/dist/components/tds-header-dropdown.js +80 -80
- package/dist/components/tds-header-hamburger.d.ts +2 -2
- package/dist/components/tds-header-hamburger.js +37 -37
- package/dist/components/tds-header-item.d.ts +2 -2
- package/dist/components/tds-header-launcher-button.d.ts +2 -2
- package/dist/components/tds-header-launcher-grid-item.d.ts +2 -2
- package/dist/components/tds-header-launcher-grid-item.js +20 -20
- package/dist/components/tds-header-launcher-grid-title.d.ts +2 -2
- package/dist/components/tds-header-launcher-grid-title.js +20 -20
- package/dist/components/tds-header-launcher-grid.d.ts +2 -2
- package/dist/components/tds-header-launcher-grid.js +40 -40
- package/dist/components/tds-header-launcher-list-item.d.ts +2 -2
- package/dist/components/tds-header-launcher-list-item.js +25 -25
- package/dist/components/tds-header-launcher-list-title.d.ts +2 -2
- package/dist/components/tds-header-launcher-list-title.js +21 -21
- package/dist/components/tds-header-launcher-list.d.ts +2 -2
- package/dist/components/tds-header-launcher-list.js +24 -24
- package/dist/components/tds-header-launcher.d.ts +2 -2
- package/dist/components/tds-header-launcher.js +92 -92
- package/dist/components/tds-header-title.d.ts +2 -2
- package/dist/components/tds-header-title.js +20 -20
- package/dist/components/tds-header.d.ts +2 -2
- package/dist/components/tds-header.js +49 -49
- package/dist/components/tds-icon.d.ts +2 -2
- package/dist/components/tds-inline-tab.d.ts +2 -2
- package/dist/components/tds-inline-tab.js +30 -30
- package/dist/components/tds-inline-tabs.d.ts +2 -2
- package/dist/components/tds-inline-tabs.js +162 -162
- package/dist/components/tds-link.d.ts +2 -2
- package/dist/components/tds-link.js +29 -29
- package/dist/components/tds-message.d.ts +2 -2
- package/dist/components/tds-message.js +50 -50
- package/dist/components/tds-modal.d.ts +2 -2
- package/dist/components/tds-modal.js +112 -112
- package/dist/components/tds-navigation-tab.d.ts +2 -2
- package/dist/components/tds-navigation-tab.js +30 -30
- package/dist/components/tds-navigation-tabs.d.ts +2 -2
- package/dist/components/tds-navigation-tabs.js +157 -157
- package/dist/components/tds-popover-canvas.d.ts +2 -2
- package/dist/components/tds-popover-core.d.ts +2 -2
- package/dist/components/tds-popover-menu-item.d.ts +2 -2
- package/dist/components/tds-popover-menu-item.js +26 -26
- package/dist/components/tds-popover-menu.d.ts +2 -2
- package/dist/components/tds-popover-menu.js +49 -49
- package/dist/components/tds-radio-button.d.ts +2 -2
- package/dist/components/tds-radio-button.js +40 -40
- package/dist/components/tds-side-menu-close-button.d.ts +2 -2
- package/dist/components/tds-side-menu-close-button.js +27 -27
- package/dist/components/tds-side-menu-collapse-button.d.ts +2 -2
- package/dist/components/tds-side-menu-collapse-button.js +59 -59
- package/dist/components/tds-side-menu-dropdown-list-item.d.ts +2 -2
- package/dist/components/tds-side-menu-dropdown-list-item.js +51 -51
- package/dist/components/tds-side-menu-dropdown-list.d.ts +2 -2
- package/dist/components/tds-side-menu-dropdown-list.js +34 -34
- package/dist/components/tds-side-menu-dropdown.d.ts +2 -2
- package/dist/components/tds-side-menu-dropdown.js +86 -86
- package/dist/components/tds-side-menu-item.d.ts +2 -2
- package/dist/components/tds-side-menu-overlay.d.ts +2 -2
- package/dist/components/tds-side-menu-overlay.js +20 -20
- package/dist/components/tds-side-menu-user-image.d.ts +2 -2
- package/dist/components/tds-side-menu-user-label.d.ts +2 -2
- package/dist/components/tds-side-menu-user.d.ts +2 -2
- package/dist/components/tds-side-menu-user.js +39 -39
- package/dist/components/tds-side-menu.d.ts +2 -2
- package/dist/components/tds-side-menu.js +90 -81
- package/dist/components/tds-slider.d.ts +2 -2
- package/dist/components/tds-slider.js +321 -319
- package/dist/components/tds-spinner.d.ts +2 -2
- package/dist/components/tds-spinner.js +24 -24
- package/dist/components/tds-step.d.ts +2 -2
- package/dist/components/tds-step.js +62 -62
- package/dist/components/tds-stepper.d.ts +2 -2
- package/dist/components/tds-stepper.js +78 -78
- package/dist/components/tds-table-body-row-expandable.d.ts +2 -2
- package/dist/components/tds-table-body-row-expandable.js +80 -80
- package/dist/components/tds-table-body-row.d.ts +2 -2
- package/dist/components/tds-table-body-row.js +77 -77
- package/dist/components/tds-table-body.d.ts +2 -2
- package/dist/components/tds-table-body.js +73 -73
- package/dist/components/tds-table-footer.d.ts +2 -2
- package/dist/components/tds-table-footer.js +114 -114
- package/dist/components/tds-table-header.d.ts +2 -2
- package/dist/components/tds-table-header.js +113 -113
- package/dist/components/tds-table-toolbar.d.ts +2 -2
- package/dist/components/tds-table-toolbar.js +77 -77
- package/dist/components/tds-table.d.ts +2 -2
- package/dist/components/tds-table.js +112 -112
- package/dist/components/tds-text-field.d.ts +2 -2
- package/dist/components/tds-text-field.js +96 -96
- package/dist/components/tds-textarea.d.ts +2 -2
- package/dist/components/tds-textarea.js +88 -88
- package/dist/components/tds-toast.d.ts +2 -2
- package/dist/components/tds-toast.js +86 -86
- package/dist/components/tds-toggle.d.ts +2 -2
- package/dist/components/tds-toggle.js +52 -52
- package/dist/components/tds-tooltip.d.ts +2 -2
- package/dist/components/tds-tooltip.js +77 -77
- package/dist/esm/dfs-1e574d5f.js +27 -0
- package/dist/esm/{generateUniqueId-c96c8ee6.js → generateUniqueId-7934d315.js} +9 -9
- package/dist/esm/{index-7dc8c41f.js → index-6e6ff771.js} +417 -356
- package/dist/esm/inheritAriaAttributes-04f2f252.js +76 -0
- package/dist/esm/{inheritAttributes-8bb09af0.js → inheritAttributes-d21e267b.js} +11 -11
- package/dist/esm/{isHeadingElement-2c158fc4.js → isHeadingElement-8efea284.js} +19 -19
- package/dist/esm/loader.js +3 -3
- package/dist/esm/tds-accordion-item.entry.js +22 -22
- package/dist/esm/tds-accordion.entry.js +8 -8
- package/dist/esm/tds-badge.entry.js +34 -34
- package/dist/esm/tds-banner.entry.js +42 -42
- package/dist/esm/tds-block.entry.js +22 -22
- package/dist/esm/tds-body-cell.entry.js +61 -61
- package/dist/esm/tds-breadcrumb.entry.js +8 -8
- package/dist/esm/tds-breadcrumbs.entry.js +10 -10
- package/dist/esm/tds-button.entry.js +34 -34
- package/dist/esm/tds-card.entry.js +40 -40
- package/dist/esm/tds-checkbox.entry.js +57 -57
- package/dist/esm/tds-chip.entry.js +62 -62
- package/dist/esm/tds-core-header-item_2.entry.js +46 -46
- package/dist/esm/tds-datetime.entry.js +82 -82
- package/dist/esm/tds-divider.entry.js +8 -8
- package/dist/esm/tds-dropdown-option.entry.js +78 -78
- package/dist/esm/tds-dropdown.entry.js +368 -350
- package/dist/esm/tds-folder-tab.entry.js +18 -18
- package/dist/esm/tds-folder-tabs.entry.js +149 -149
- package/dist/esm/tds-footer-group.entry.js +22 -22
- package/dist/esm/tds-footer-item.entry.js +12 -12
- package/dist/esm/tds-footer.entry.js +14 -12
- package/dist/esm/tds-header-brand-symbol.entry.js +8 -8
- package/dist/esm/tds-header-cell.entry.js +122 -122
- package/dist/esm/tds-header-dropdown-list-item.entry.js +13 -13
- package/dist/esm/tds-header-dropdown-list-user.entry.js +12 -12
- package/dist/esm/tds-header-dropdown-list.entry.js +70 -70
- package/dist/esm/tds-header-dropdown.entry.js +37 -37
- package/dist/esm/tds-header-hamburger.entry.js +11 -11
- package/dist/esm/tds-header-launcher-button.entry.js +13 -13
- package/dist/esm/tds-header-launcher-grid-item.entry.js +7 -7
- package/dist/esm/tds-header-launcher-grid-title.entry.js +9 -9
- package/dist/esm/tds-header-launcher-grid.entry.js +28 -28
- package/dist/esm/tds-header-launcher-list-item.entry.js +7 -7
- package/dist/esm/tds-header-launcher-list-title.entry.js +10 -10
- package/dist/esm/tds-header-launcher-list.entry.js +9 -9
- package/dist/esm/tds-header-launcher.entry.js +48 -48
- package/dist/esm/tds-header-title.entry.js +7 -7
- package/dist/esm/tds-header.entry.js +39 -39
- package/dist/esm/tds-icon.entry.js +29 -28
- package/dist/esm/tds-inline-tab.entry.js +13 -13
- package/dist/esm/tds-inline-tabs.entry.js +134 -134
- package/dist/esm/tds-link.entry.js +13 -13
- package/dist/esm/tds-message.entry.js +26 -26
- package/dist/esm/tds-modal.entry.js +83 -83
- package/dist/esm/tds-navigation-tab.entry.js +13 -13
- package/dist/esm/tds-navigation-tabs.entry.js +130 -130
- package/dist/esm/tds-popover-canvas.entry.js +24 -24
- package/dist/esm/tds-popover-core.entry.js +148 -148
- package/dist/esm/tds-popover-menu-item.entry.js +11 -11
- package/dist/esm/tds-popover-menu.entry.js +25 -25
- package/dist/esm/tds-radio-button.entry.js +22 -22
- package/dist/esm/tds-side-menu-close-button.entry.js +11 -11
- package/dist/esm/tds-side-menu-collapse-button.entry.js +39 -39
- package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +34 -34
- package/dist/esm/tds-side-menu-dropdown-list.entry.js +19 -19
- package/dist/esm/tds-side-menu-dropdown.entry.js +56 -56
- package/dist/esm/tds-side-menu-item.entry.js +57 -57
- package/dist/esm/tds-side-menu-overlay.entry.js +7 -7
- package/dist/esm/tds-side-menu-user-image_2.entry.js +17 -17
- package/dist/esm/tds-side-menu-user.entry.js +11 -11
- package/dist/esm/tds-side-menu.entry.js +68 -60
- package/dist/esm/tds-slider.entry.js +285 -283
- package/dist/esm/tds-spinner.entry.js +9 -9
- package/dist/esm/tds-step.entry.js +37 -37
- package/dist/esm/tds-stepper.entry.js +55 -55
- package/dist/esm/tds-table-body-row-expandable.entry.js +58 -58
- package/dist/esm/tds-table-body-row.entry.js +51 -51
- package/dist/esm/tds-table-body.entry.js +52 -52
- package/dist/esm/tds-table-footer.entry.js +87 -87
- package/dist/esm/tds-table-header.entry.js +81 -81
- package/dist/esm/tds-table-toolbar.entry.js +51 -51
- package/dist/esm/tds-table.entry.js +83 -83
- package/dist/esm/tds-text-field.entry.js +62 -62
- package/dist/esm/tds-textarea.entry.js +54 -54
- package/dist/esm/tds-toast.entry.js +60 -60
- package/dist/esm/tds-toggle.entry.js +32 -32
- package/dist/esm/tds-tooltip.entry.js +54 -54
- package/dist/esm/tegel.js +4 -4
- package/dist/tegel/{p-d757dc45.entry.js → p-0657ff1a.entry.js} +1 -1
- package/dist/tegel/{p-0edeccb6.js → p-0bd4c19c.js} +1 -1
- package/dist/tegel/{p-ee299956.entry.js → p-0d0c6493.entry.js} +1 -1
- package/dist/tegel/p-15f8ac46.entry.js +1 -0
- package/dist/tegel/p-18940c9c.entry.js +1 -0
- package/dist/tegel/{p-851520df.entry.js → p-1945a0f3.entry.js} +1 -1
- package/dist/tegel/{p-9108c81f.entry.js → p-1a7230e1.entry.js} +1 -1
- package/dist/tegel/{p-80dd10db.entry.js → p-1e4217c5.entry.js} +1 -1
- package/dist/tegel/{p-33dfc79a.entry.js → p-21df464d.entry.js} +1 -1
- package/dist/tegel/{p-c5138ecf.entry.js → p-24e3d7e2.entry.js} +1 -1
- package/dist/tegel/{p-8c41b79d.entry.js → p-25e56f32.entry.js} +1 -1
- package/dist/tegel/{p-5b1d6647.entry.js → p-29556a90.entry.js} +1 -1
- package/dist/tegel/{p-cb477168.entry.js → p-2b344346.entry.js} +1 -1
- package/dist/tegel/{p-0204ea55.entry.js → p-2b829947.entry.js} +1 -1
- package/dist/tegel/{p-4c913e4b.entry.js → p-2c513250.entry.js} +1 -1
- package/dist/tegel/{p-83dc1dde.entry.js → p-2c8de389.entry.js} +1 -1
- package/dist/tegel/{p-e1cd3cc1.entry.js → p-2caafb56.entry.js} +1 -1
- package/dist/tegel/{p-99632e91.entry.js → p-2cdb5f19.entry.js} +1 -1
- package/dist/tegel/p-2f9c1ad7.entry.js +1 -0
- package/dist/tegel/p-30f28214.entry.js +1 -0
- package/dist/tegel/{p-cec4cc4d.entry.js → p-317b5299.entry.js} +1 -1
- package/dist/tegel/{p-5e8bf615.entry.js → p-326cb2ba.entry.js} +1 -1
- package/dist/tegel/p-3b597a64.entry.js +1 -0
- package/dist/tegel/{p-e889c82b.entry.js → p-40562f4b.entry.js} +1 -1
- package/dist/tegel/{p-574f1148.entry.js → p-422e53ec.entry.js} +1 -1
- package/dist/tegel/{p-242abd17.entry.js → p-49813878.entry.js} +1 -1
- package/dist/tegel/{p-24ac98b9.entry.js → p-4c4f5168.entry.js} +1 -1
- package/dist/tegel/{p-86c1146e.entry.js → p-4cc28733.entry.js} +1 -1
- package/dist/tegel/p-4d661599.js +2 -0
- package/dist/tegel/{p-a872e086.entry.js → p-4da1c8a8.entry.js} +1 -1
- package/dist/tegel/{p-d2989b66.entry.js → p-4e195abb.entry.js} +1 -1
- package/dist/tegel/{p-6243906b.entry.js → p-50978479.entry.js} +1 -1
- package/dist/tegel/{p-281a7ea6.entry.js → p-50ffec23.entry.js} +1 -1
- package/dist/tegel/p-515dfcea.entry.js +1 -0
- package/dist/tegel/{p-32d2354f.entry.js → p-55964061.entry.js} +1 -1
- package/dist/tegel/{p-1d6b48e1.entry.js → p-58835a58.entry.js} +1 -1
- package/dist/tegel/{p-49c03547.entry.js → p-63cd5c41.entry.js} +1 -1
- package/dist/tegel/{p-74478110.entry.js → p-66b5c8ba.entry.js} +1 -1
- package/dist/tegel/{p-15527d1c.entry.js → p-6a8a1f0f.entry.js} +1 -1
- package/dist/tegel/{p-4c314d67.entry.js → p-6ae68836.entry.js} +1 -1
- package/dist/tegel/{p-1b55a206.entry.js → p-71479b49.entry.js} +1 -1
- package/dist/tegel/p-73db3fab.entry.js +1 -0
- package/dist/tegel/{p-e0a62474.entry.js → p-75846b6a.entry.js} +1 -1
- package/dist/tegel/{p-f46ab7e0.entry.js → p-78853c02.entry.js} +1 -1
- package/dist/tegel/{p-825be958.entry.js → p-7bb9c668.entry.js} +1 -1
- package/dist/tegel/p-7d93c35b.entry.js +1 -0
- package/dist/tegel/{p-d5bd93b0.entry.js → p-86ae068b.entry.js} +1 -1
- package/dist/tegel/{p-cdf605b6.entry.js → p-8d22e0d4.entry.js} +1 -1
- package/dist/tegel/p-8f1b824b.entry.js +1 -0
- package/dist/tegel/{p-8c781ff3.entry.js → p-8fedca76.entry.js} +1 -1
- package/dist/tegel/{p-86f542a6.js → p-9332c225.js} +1 -1
- package/dist/tegel/{p-e07afb36.entry.js → p-936a8c86.entry.js} +1 -1
- package/dist/tegel/{p-e32e00dc.entry.js → p-94bce2be.entry.js} +1 -1
- package/dist/tegel/{p-10600320.entry.js → p-981e917a.entry.js} +1 -1
- package/dist/tegel/{p-5c11a9c9.entry.js → p-98716bbf.entry.js} +1 -1
- package/dist/tegel/{p-a00c06d4.entry.js → p-9a00d07e.entry.js} +1 -1
- package/dist/tegel/{p-7be1c8ea.entry.js → p-a3f6cc1e.entry.js} +1 -1
- package/dist/tegel/{p-75eae0ae.entry.js → p-aa069789.entry.js} +1 -1
- package/dist/tegel/{p-0891c691.entry.js → p-aa627d7b.entry.js} +1 -1
- package/dist/tegel/{p-bda16bee.entry.js → p-aebe9fdf.entry.js} +1 -1
- package/dist/tegel/{p-8837c8f0.entry.js → p-be72cf43.entry.js} +1 -1
- package/dist/tegel/{p-604022ba.entry.js → p-bf95003c.entry.js} +1 -1
- package/dist/tegel/{p-d73f40b0.entry.js → p-c7b2017c.entry.js} +1 -1
- package/dist/tegel/{p-7b5c5881.entry.js → p-ca6b5098.entry.js} +1 -1
- package/dist/tegel/{p-8a7a998e.entry.js → p-ceb13ac1.entry.js} +1 -1
- package/dist/tegel/{p-caaab9d1.entry.js → p-d08d8a44.entry.js} +1 -1
- package/dist/tegel/{p-6b625fe1.entry.js → p-d2efffab.entry.js} +1 -1
- package/dist/tegel/{p-81c7ece9.entry.js → p-d33b5f47.entry.js} +1 -1
- package/dist/tegel/{p-b2466d89.entry.js → p-d82ec760.entry.js} +1 -1
- package/dist/tegel/{p-ffe71966.entry.js → p-d82fecc1.entry.js} +1 -1
- package/dist/tegel/{p-05815c7a.entry.js → p-dc2b8ccc.entry.js} +1 -1
- package/dist/tegel/{p-56a341a1.entry.js → p-dee090d9.entry.js} +1 -1
- package/dist/tegel/{p-f7b73968.entry.js → p-df3d220d.entry.js} +1 -1
- package/dist/tegel/{p-0308dd60.entry.js → p-ea6b7621.entry.js} +1 -1
- package/dist/tegel/{p-c7301ecb.entry.js → p-ed69bc61.entry.js} +1 -1
- package/dist/tegel/{p-d72f1690.entry.js → p-f4011972.entry.js} +1 -1
- package/dist/tegel/{p-47a92f41.entry.js → p-f54daf7d.entry.js} +1 -1
- package/dist/tegel/{p-ff6dfbe5.entry.js → p-fc250504.entry.js} +1 -1
- package/dist/tegel/{p-2f69406d.entry.js → p-fc3df599.entry.js} +1 -1
- package/dist/tegel/{p-46808902.entry.js → p-fcfb96da.entry.js} +1 -1
- package/dist/tegel/{p-84b79c10.entry.js → p-fe2a3b1d.entry.js} +1 -1
- package/dist/tegel/tegel.css +3 -3
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/accordion/accordion-item/accordion-item.d.ts +16 -16
- package/dist/types/components/accordion/accordion.d.ts +3 -3
- package/dist/types/components/badge/badge.d.ts +12 -12
- package/dist/types/components/banner/banner.d.ts +27 -27
- package/dist/types/components/block/block.d.ts +6 -6
- package/dist/types/components/breadcrumbs/breadcrumb/breadcrumb.d.ts +3 -3
- package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +2 -2
- package/dist/types/components/button/button.d.ts +17 -17
- package/dist/types/components/card/card.d.ts +30 -30
- package/dist/types/components/checkbox/checkbox.d.ts +36 -36
- package/dist/types/components/chip/chip.d.ts +35 -35
- package/dist/types/components/datetime/datetime.d.ts +49 -49
- package/dist/types/components/divider/divider.d.ts +3 -3
- package/dist/types/components/dropdown/dropdown-option/dropdown-option.d.ts +30 -30
- package/dist/types/components/dropdown/dropdown.d.ts +102 -99
- package/dist/types/components/footer/footer-group/footer-group.d.ts +12 -12
- package/dist/types/components/footer/footer-item/footer-item.d.ts +4 -4
- package/dist/types/components/footer/footer.d.ts +7 -5
- package/dist/types/components/header/core-header-item/core-header-item.d.ts +1 -1
- package/dist/types/components/header/header-brand-symbol/header-brand-symbol.d.ts +2 -2
- package/dist/types/components/header/header-dropdown/header-dropdown.d.ts +14 -14
- package/dist/types/components/header/header-dropdown-list/header-dropdown-list.d.ts +10 -10
- package/dist/types/components/header/header-dropdown-list-item/header-dropdown-list-item.d.ts +6 -6
- package/dist/types/components/header/header-dropdown-list-user/header-dropdown-list-user.d.ts +10 -10
- package/dist/types/components/header/header-hamburger/header-hamburger.d.ts +2 -2
- package/dist/types/components/header/header-item/header-item.d.ts +14 -14
- package/dist/types/components/header/header-launcher/header-launcher.d.ts +10 -10
- package/dist/types/components/header/header-launcher-button/header-launcher-button.d.ts +6 -6
- package/dist/types/components/header/header-launcher-grid/header-launcher-grid.d.ts +4 -4
- package/dist/types/components/header/header-launcher-grid-item/header-launcher-grid-item.d.ts +1 -1
- package/dist/types/components/header/header-launcher-grid-title/header-launcher-grid-title.d.ts +2 -2
- package/dist/types/components/header/header-launcher-list/header-launcher-list.d.ts +2 -2
- package/dist/types/components/header/header-launcher-list-item/header-launcher-list-item.d.ts +1 -1
- package/dist/types/components/header/header-launcher-list-title/header-launcher-list-title.d.ts +3 -3
- package/dist/types/components/header/header-title/header-title.d.ts +1 -1
- package/dist/types/components/header/header.d.ts +6 -6
- package/dist/types/components/icon/icon.d.ts +15 -12
- package/dist/types/components/link/link.d.ts +7 -7
- package/dist/types/components/message/message.d.ts +12 -12
- package/dist/types/components/modal/modal.d.ts +35 -35
- package/dist/types/components/popover-canvas/popover-canvas.d.ts +20 -20
- package/dist/types/components/popover-core/popover-core.d.ts +43 -43
- package/dist/types/components/popover-menu/popover-menu-item/popover-menu-item.d.ts +3 -3
- package/dist/types/components/popover-menu/popover-menu.d.ts +21 -21
- package/dist/types/components/radio-button/radio-button.d.ts +21 -21
- package/dist/types/components/side-menu/side-menu-close-button/side-menu-close-button.d.ts +2 -2
- package/dist/types/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.d.ts +12 -12
- package/dist/types/components/side-menu/side-menu-dropdown/side-menu-dropdown.d.ts +25 -25
- package/dist/types/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.d.ts +6 -6
- package/dist/types/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.d.ts +10 -10
- package/dist/types/components/side-menu/side-menu-item/side-menu-item.d.ts +18 -18
- package/dist/types/components/side-menu/side-menu-overlay/side-menu-overlay.d.ts +1 -1
- package/dist/types/components/side-menu/side-menu-user/side-menu-user.d.ts +9 -9
- package/dist/types/components/side-menu/side-menu-user-image/side-menu-user-image.d.ts +5 -5
- package/dist/types/components/side-menu/side-menu-user-label/side-menu-user-label.d.ts +5 -5
- package/dist/types/components/side-menu/side-menu.d.ts +28 -27
- package/dist/types/components/slider/slider.d.ts +77 -77
- package/dist/types/components/spinner/spinner.d.ts +5 -5
- package/dist/types/components/stepper/step/step.d.ts +14 -14
- package/dist/types/components/stepper/stepper.d.ts +29 -29
- package/dist/types/components/table/table/table.d.ts +43 -43
- package/dist/types/components/table/table-body/table-body.d.ts +17 -17
- package/dist/types/components/table/table-body-cell/table-body-cell.d.ts +21 -21
- package/dist/types/components/table/table-body-row/table-body-row.d.ts +20 -20
- package/dist/types/components/table/table-body-row-expandable/table-body-row-expandable.d.ts +21 -21
- package/dist/types/components/table/table-footer/table-footer.d.ts +28 -28
- package/dist/types/components/table/table-header/table-header.d.ts +31 -31
- package/dist/types/components/table/table-header-cell/table-header-cell.d.ts +56 -50
- package/dist/types/components/table/table-toolbar/table-toolbar.d.ts +21 -21
- package/dist/types/components/tabs/folder-tabs/folder-tab/folder-tab.d.ts +9 -9
- package/dist/types/components/tabs/folder-tabs/folder-tabs.d.ts +36 -36
- package/dist/types/components/tabs/inline-tabs/inline-tab/inline-tab.d.ts +6 -6
- package/dist/types/components/tabs/inline-tabs/inline-tabs.d.ts +34 -34
- package/dist/types/components/tabs/navigation-tabs/navigation-tab/navigation-tab.d.ts +6 -6
- package/dist/types/components/tabs/navigation-tabs/navigation-tabs.d.ts +33 -33
- package/dist/types/components/text-field/text-field.d.ts +50 -50
- package/dist/types/components/textarea/textarea.d.ts +47 -47
- package/dist/types/components/toast/toast.d.ts +24 -24
- package/dist/types/components/toggle/toggle.d.ts +25 -25
- package/dist/types/components/tooltip/tooltip.d.ts +27 -27
- package/dist/types/components.d.ts +25 -17
- package/dist/types/stencil-public-runtime.d.ts +8 -0
- package/dist/types/types/Attributes.d.ts +1 -1
- package/dist/types/utils/appendHiddenInput.d.ts +2 -2
- package/package.json +3 -3
- package/dist/cjs/dfs-babd18a6.js +0 -29
- package/dist/cjs/inheritAriaAttributes-640b1abb.js +0 -78
- package/dist/collection/components/accordion/accordion.stories.js +0 -100
- package/dist/collection/components/accordion/test/basic/accordion.e2e.js +0 -19
- package/dist/collection/components/accordion/test/disabled/accordion.e2e.js +0 -19
- package/dist/collection/components/accordion/test/expanded/accordion.e2e.js +0 -24
- package/dist/collection/components/accordion/test/padding-reset/accordion.e2e.js +0 -24
- package/dist/collection/components/badge/badge.stories.js +0 -106
- package/dist/collection/components/badge/test/basic/badge.e2e.js +0 -10
- package/dist/collection/components/badge/test/value/badge.e2e.js +0 -11
- package/dist/collection/components/banner/banner.stories.js +0 -92
- package/dist/collection/components/banner/test/basic/banner.e2e.js +0 -10
- package/dist/collection/components/block/block.stories.js +0 -49
- package/dist/collection/components/breadcrumbs/breadcrumbs.stories.js +0 -36
- package/dist/collection/components/button/button.stories.js +0 -185
- package/dist/collection/components/button/test/basic/button.e2e.js +0 -35
- package/dist/collection/components/button/test/danger/button.e2e.js +0 -18
- package/dist/collection/components/button/test/disabled/button.e2e.js +0 -24
- package/dist/collection/components/button/test/ghost/button.e2e.js +0 -18
- package/dist/collection/components/button/test/icon/button.e2e.js +0 -38
- package/dist/collection/components/button/test/secondary/button.e2e.js +0 -18
- package/dist/collection/components/card/card.stories.js +0 -163
- package/dist/collection/components/checkbox/checkbox.stories.js +0 -93
- package/dist/collection/components/chip/chip.stories.js +0 -230
- package/dist/collection/components/datetime/datetime.stories.js +0 -219
- package/dist/collection/components/divider/divider.stories.js +0 -62
- package/dist/collection/components/dropdown/dropdown.stories.js +0 -248
- package/dist/collection/components/dropdown/test/basic/dropdown.e2e.js +0 -41
- package/dist/collection/components/dropdown/test/default/dropdown.e2e.js +0 -76
- package/dist/collection/components/dropdown/test/error/dropdown.e2e.js +0 -36
- package/dist/collection/components/dropdown/test/filter/dropdown.e2e.js +0 -56
- package/dist/collection/components/dropdown/test/filter/normalize-text-false/dropdown.e2e.js +0 -43
- package/dist/collection/components/dropdown/test/multiselect/dropdown.e2e.js +0 -81
- package/dist/collection/components/footer/footer.stories.js +0 -145
- package/dist/collection/components/header/header.stories.js +0 -82
- package/dist/collection/components/icon/icon.stories.js +0 -48
- package/dist/collection/components/link/link.stories.js +0 -59
- package/dist/collection/components/message/message.stories.js +0 -109
- package/dist/collection/components/message/test/error/message.e2e.js +0 -33
- package/dist/collection/components/message/test/information/message.e2e.js +0 -33
- package/dist/collection/components/message/test/success/message.e2e.js +0 -33
- package/dist/collection/components/message/test/warning/message.e2e.js +0 -33
- package/dist/collection/components/modal/modal.stories.js +0 -119
- package/dist/collection/components/popover-canvas/popover-canvas.stories.js +0 -92
- package/dist/collection/components/popover-menu/popover-menu.stories.js +0 -146
- package/dist/collection/components/radio-button/radio-button.stories.js +0 -91
- package/dist/collection/components/side-menu/side-menu.stories.js +0 -224
- package/dist/collection/components/slider/slider.stories.js +0 -243
- package/dist/collection/components/spinner/spinner.stories.js +0 -61
- package/dist/collection/components/stepper/stepper.stories.js +0 -95
- package/dist/collection/components/table/table/test/batch/table.e2e.js +0 -24
- package/dist/collection/components/table/table/test/default/table.e2e.js +0 -46
- package/dist/collection/components/table/table/test/expandable-row/table.e2e.js +0 -64
- package/dist/collection/components/table/table/test/filtering/table.e2e.js +0 -41
- package/dist/collection/components/table/table/test/multiselect/table.e2e.js +0 -47
- package/dist/collection/components/table/table/test/pagination/table.e2e.js +0 -53
- package/dist/collection/components/table/table/test/sorting/table.e2e.js +0 -36
- package/dist/collection/components/table/table-component-basic.stories.js +0 -184
- package/dist/collection/components/table/table-component-batch-actions.stories.js +0 -188
- package/dist/collection/components/table/table-component-custom-width.stories.js +0 -174
- package/dist/collection/components/table/table-component-expandable-rows.stories.js +0 -160
- package/dist/collection/components/table/table-component-filtering.stories.js +0 -195
- package/dist/collection/components/table/table-component-multiselect.stories.js +0 -211
- package/dist/collection/components/table/table-component-pagination.stories.js +0 -196
- package/dist/collection/components/table/table-component-sorting.stories.js +0 -240
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.stories.js +0 -105
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.stories.js +0 -99
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.stories.js +0 -101
- package/dist/collection/components/text-field/text-field.stories.js +0 -247
- package/dist/collection/components/textarea/test/basic/textarea.e2e.js +0 -26
- package/dist/collection/components/textarea/test/default/textarea.e2e.js +0 -34
- package/dist/collection/components/textarea/test/read-only/textarea.e2e.js +0 -26
- package/dist/collection/components/textarea/textarea.stories.js +0 -188
- package/dist/collection/components/toast/toast.stories.js +0 -90
- package/dist/collection/components/toggle/toggle.stories.js +0 -95
- package/dist/collection/components/tooltip/tooltip.stories.js +0 -126
- package/dist/collection/stories/Installation/angular.stories.js +0 -111
- package/dist/collection/stories/Installation/javascript.stories.js +0 -99
- package/dist/collection/stories/Installation/react.stories.js +0 -117
- package/dist/collection/stories/announcements/announce-tegel.stories.js +0 -262
- package/dist/collection/stories/announcements/prefix-change.stories.js +0 -93
- package/dist/collection/stories/formatHtmlPreview.js +0 -10
- package/dist/collection/stories/foundations/color/color-brand.stories.js +0 -38
- package/dist/collection/stories/foundations/color/color-scales.stories.js +0 -71
- package/dist/collection/stories/foundations/color/color-semantic.stories.js +0 -40
- package/dist/collection/stories/foundations/grid/grid.stories.js +0 -386
- package/dist/collection/stories/foundations/spacing/spacing-element.stories.js +0 -100
- package/dist/collection/stories/foundations/spacing/spacing-layout.stories.js +0 -94
- package/dist/collection/stories/foundations/typography/typography-body.stories.js +0 -16
- package/dist/collection/stories/foundations/typography/typography-detail.stories.js +0 -17
- package/dist/collection/stories/foundations/typography/typography-headline.stories.js +0 -39
- package/dist/collection/stories/foundations/typography/typography-paragraph.stories.js +0 -12
- package/dist/collection/stories/patterns/navigation/navigation-basic.stories.js +0 -85
- package/dist/collection/stories/patterns/navigation/navigation-fewitems.stories.js +0 -259
- package/dist/collection/stories/patterns/navigation/navigation-manyitems.stories.js +0 -247
- package/dist/collection/stories/patterns/navigation/navigation-user-menu.stories.js +0 -140
- package/dist/collection/stories/tegel.stories.js +0 -283
- package/dist/collection/stories/utility/color/background-color.stories.js +0 -96
- package/dist/collection/stories/utility/color/text-color.stories.js +0 -94
- package/dist/esm/dfs-3f5bd9e8.js +0 -27
- package/dist/esm/inheritAriaAttributes-d4dfca6b.js +0 -76
- package/dist/tegel/p-027473cc.entry.js +0 -1
- package/dist/tegel/p-31bb4c3e.entry.js +0 -1
- package/dist/tegel/p-3418e94b.entry.js +0 -1
- package/dist/tegel/p-3e9b9672.js +0 -2
- package/dist/tegel/p-5092497e.entry.js +0 -1
- package/dist/tegel/p-5dc4f120.entry.js +0 -1
- package/dist/tegel/p-7f94a735.entry.js +0 -1
- package/dist/tegel/p-ae19b833.entry.js +0 -1
- package/dist/tegel/p-c1f3d3a9.entry.js +0 -1
- package/dist/tegel/p-f0c9ff6a.entry.js +0 -1
- package/dist/types/components/accordion/accordion.stories.d.ts +0 -77
- package/dist/types/components/badge/badge.stories.d.ts +0 -73
- package/dist/types/components/banner/banner.stories.d.ts +0 -69
- package/dist/types/components/block/block.stories.d.ts +0 -32
- package/dist/types/components/breadcrumbs/breadcrumbs.stories.d.ts +0 -16
- package/dist/types/components/button/button.stories.d.ts +0 -147
- package/dist/types/components/card/card.stories.d.ts +0 -128
- package/dist/types/components/checkbox/checkbox.stories.d.ts +0 -65
- package/dist/types/components/chip/chip.stories.d.ts +0 -99
- package/dist/types/components/datetime/datetime.stories.d.ts +0 -151
- package/dist/types/components/divider/divider.stories.d.ts +0 -58
- package/dist/types/components/dropdown/dropdown.stories.d.ts +0 -189
- package/dist/types/components/footer/footer.stories.d.ts +0 -44
- package/dist/types/components/header/header.stories.d.ts +0 -32
- package/dist/types/components/icon/icon.stories.d.ts +0 -36
- package/dist/types/components/link/link.stories.d.ts +0 -44
- package/dist/types/components/message/message.stories.d.ts +0 -88
- package/dist/types/components/modal/modal.stories.d.ts +0 -78
- package/dist/types/components/popover-canvas/popover-canvas.stories.d.ts +0 -27
- package/dist/types/components/popover-menu/popover-menu.stories.d.ts +0 -51
- package/dist/types/components/radio-button/radio-button.stories.d.ts +0 -39
- package/dist/types/components/side-menu/side-menu.stories.d.ts +0 -65
- package/dist/types/components/slider/slider.stories.d.ts +0 -235
- package/dist/types/components/spinner/spinner.stories.d.ts +0 -46
- package/dist/types/components/stepper/stepper.stories.d.ts +0 -80
- package/dist/types/components/table/table-component-basic.stories.d.ts +0 -144
- package/dist/types/components/table/table-component-batch-actions.stories.d.ts +0 -139
- package/dist/types/components/table/table-component-custom-width.stories.d.ts +0 -131
- package/dist/types/components/table/table-component-expandable-rows.stories.d.ts +0 -131
- package/dist/types/components/table/table-component-filtering.stories.d.ts +0 -131
- package/dist/types/components/table/table-component-multiselect.stories.d.ts +0 -147
- package/dist/types/components/table/table-component-pagination.stories.d.ts +0 -131
- package/dist/types/components/table/table-component-sorting.stories.d.ts +0 -183
- package/dist/types/components/tabs/folder-tabs/folder-tabs.stories.d.ts +0 -69
- package/dist/types/components/tabs/inline-tabs/inline-tabs.stories.d.ts +0 -61
- package/dist/types/components/tabs/navigation-tabs/navigation-tabs.stories.d.ts +0 -61
- package/dist/types/components/text-field/text-field.stories.d.ts +0 -201
- package/dist/types/components/textarea/textarea.stories.d.ts +0 -139
- package/dist/types/components/toast/toast.stories.d.ts +0 -64
- package/dist/types/components/toggle/toggle.stories.d.ts +0 -74
- package/dist/types/components/tooltip/tooltip.stories.d.ts +0 -66
- package/dist/types/stories/Installation/angular.stories.d.ts +0 -6
- package/dist/types/stories/Installation/javascript.stories.d.ts +0 -7
- package/dist/types/stories/Installation/react.stories.d.ts +0 -6
- package/dist/types/stories/announcements/announce-tegel.stories.d.ts +0 -6
- package/dist/types/stories/announcements/prefix-change.stories.d.ts +0 -6
- package/dist/types/stories/formatHtmlPreview.d.ts +0 -2
- package/dist/types/stories/foundations/color/color-brand.stories.d.ts +0 -13
- package/dist/types/stories/foundations/color/color-scales.stories.d.ts +0 -30
- package/dist/types/stories/foundations/color/color-semantic.stories.d.ts +0 -13
- package/dist/types/stories/foundations/grid/grid.stories.d.ts +0 -35
- package/dist/types/stories/foundations/spacing/spacing-element.stories.d.ts +0 -8
- package/dist/types/stories/foundations/spacing/spacing-layout.stories.d.ts +0 -8
- package/dist/types/stories/foundations/typography/typography-body.stories.d.ts +0 -8
- package/dist/types/stories/foundations/typography/typography-detail.stories.d.ts +0 -8
- package/dist/types/stories/foundations/typography/typography-headline.stories.d.ts +0 -21
- package/dist/types/stories/foundations/typography/typography-paragraph.stories.d.ts +0 -8
- package/dist/types/stories/patterns/navigation/navigation-basic.stories.d.ts +0 -23
- package/dist/types/stories/patterns/navigation/navigation-fewitems.stories.d.ts +0 -23
- package/dist/types/stories/patterns/navigation/navigation-manyitems.stories.d.ts +0 -38
- package/dist/types/stories/patterns/navigation/navigation-user-menu.stories.d.ts +0 -33
- package/dist/types/stories/tegel.stories.d.ts +0 -6
- package/dist/types/stories/utility/color/background-color.stories.d.ts +0 -64
- package/dist/types/stories/utility/color/text-color.stories.d.ts +0 -64
- /package/dist/tegel/{p-f7ce52e9.js → p-11648030.js} +0 -0
- /package/dist/tegel/{p-098a26f3.js → p-3fe9cbbf.js} +0 -0
- /package/dist/tegel/{p-81039661.js → p-52bf0fdf.js} +0 -0
|
@@ -6,79 +6,79 @@ import { d as defineCustomElement$2 } from './icon.js';
|
|
|
6
6
|
const bannerCss = ":root,.tds-mode-light{--tds-link:var(--tds-blue-500);--tds-link-hover:var(--tds-blue-400);--tds-link-focus:var(--tds-blue-400);--tds-link-visited:var(--tds-grey-900);--tds-link-disabled:var(--tds-grey-400)}:root tds-toast,.tds-mode-light tds-toast{--tds-link:var(--tds-blue-300);--tds-link-hover:var(--tds-blue-400);--tds-link-focus:var(--tds-blue-400);--tds-link-visited:var(--tds-blue-100);--tds-link-disabled:var(--tds-grey-800)}.tds-mode-dark{--tds-link:var(--tds-blue-300);--tds-link-hover:var(--tds-blue-400);--tds-link-focus:var(--tds-blue-400);--tds-link-visited:var(--tds-blue-100);--tds-link-disabled:var(--tds-grey-800)}.tds-mode-dark tds-toast{--tds-link:var(--tds-blue-500);--tds-link-hover:var(--tds-blue-400);--tds-link-focus:var(--tds-blue-400);--tds-link-visited:var(--tds-grey-900);--tds-link-disabled:var(--tds-grey-400)}: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}:host .banner-icon{padding-left:20px;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;margin-top:16px}: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-blue-400);outline-offset:-2px}";
|
|
7
7
|
|
|
8
8
|
const TdsBanner$1 = /*@__PURE__*/ proxyCustomElement(class TdsBanner extends HTMLElement {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
9
|
+
constructor() {
|
|
10
|
+
super();
|
|
11
|
+
this.__registerHost();
|
|
12
|
+
this.__attachShadow();
|
|
13
|
+
this.tdsClose = createEvent(this, "tdsClose", 7);
|
|
14
|
+
this.handleClose = () => {
|
|
15
|
+
const tdsCloseEvent = this.tdsClose.emit({
|
|
16
|
+
bannerId: this.bannerId,
|
|
17
|
+
});
|
|
18
|
+
if (!tdsCloseEvent.defaultPrevented) {
|
|
19
|
+
this.hidden = true;
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
this.icon = undefined;
|
|
23
|
+
this.header = undefined;
|
|
24
|
+
this.subheader = undefined;
|
|
25
|
+
this.variant = 'default';
|
|
26
|
+
this.bannerId = generateUniqueId();
|
|
27
|
+
this.hidden = false;
|
|
28
|
+
}
|
|
29
|
+
/** Hides the Banner. */
|
|
30
|
+
async hideBanner() {
|
|
19
31
|
this.hidden = true;
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
this.icon = undefined;
|
|
23
|
-
this.header = undefined;
|
|
24
|
-
this.subheader = undefined;
|
|
25
|
-
this.variant = 'default';
|
|
26
|
-
this.bannerId = generateUniqueId();
|
|
27
|
-
this.hidden = false;
|
|
28
|
-
}
|
|
29
|
-
/** Hides the Banner. */
|
|
30
|
-
async hideBanner() {
|
|
31
|
-
this.hidden = true;
|
|
32
|
-
}
|
|
33
|
-
/** Shows the Banner */
|
|
34
|
-
async showBanner() {
|
|
35
|
-
this.hidden = false;
|
|
36
|
-
}
|
|
37
|
-
connectedCallback() {
|
|
38
|
-
if (this.variant === 'error') {
|
|
39
|
-
this.icon = 'error';
|
|
40
32
|
}
|
|
41
|
-
|
|
42
|
-
|
|
33
|
+
/** Shows the Banner */
|
|
34
|
+
async showBanner() {
|
|
35
|
+
this.hidden = false;
|
|
36
|
+
}
|
|
37
|
+
connectedCallback() {
|
|
38
|
+
if (this.variant === 'error') {
|
|
39
|
+
this.icon = 'error';
|
|
40
|
+
}
|
|
41
|
+
else if (this.variant === 'information') {
|
|
42
|
+
this.icon = 'info';
|
|
43
|
+
}
|
|
43
44
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
static get style() { return bannerCss; }
|
|
45
|
+
render() {
|
|
46
|
+
const usesHeaderSlot = hasSlot('subheader', this.host);
|
|
47
|
+
const usesSubheaderSlot = hasSlot('subheader', this.host);
|
|
48
|
+
const usesActionsSlot = hasSlot('actions', this.host);
|
|
49
|
+
return (h(Host, { role: "banner", "aria-hidden": `${this.hidden}`, "aria-live": this.host.getAttribute('aria-live') ? this.host.getAttribute('aria-live') : 'polite', "aria-atomic": this.host.getAttribute('aria-atomic'), class: `${this.variant} ${this.hidden ? 'hide' : 'show'}` }, this.icon && (h("div", { class: `banner-icon ${this.variant}` }, h("tds-icon", { name: this.icon, size: "20px" }))), h("div", { class: "content" }, h("div", { class: "header-subheader" }, this.header && h("div", { class: "header" }, this.header), usesHeaderSlot && h("slot", { name: "header" }), this.subheader && h("div", { class: "subheader" }, this.subheader), usesSubheaderSlot && h("slot", { name: "subheader" })), usesActionsSlot && h("slot", { name: "actions" })), h("div", { class: `banner-close` }, h("button", { onClick: () => {
|
|
50
|
+
this.handleClose();
|
|
51
|
+
} }, h("tds-icon", { name: "cross", size: "20px" })))));
|
|
52
|
+
}
|
|
53
|
+
get host() { return this; }
|
|
54
|
+
static get style() { return bannerCss; }
|
|
55
55
|
}, [1, "tds-banner", {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
56
|
+
"icon": [1],
|
|
57
|
+
"header": [1],
|
|
58
|
+
"subheader": [1],
|
|
59
|
+
"variant": [1],
|
|
60
|
+
"bannerId": [1, "banner-id"],
|
|
61
|
+
"hidden": [516],
|
|
62
|
+
"hideBanner": [64],
|
|
63
|
+
"showBanner": [64]
|
|
64
|
+
}]);
|
|
65
65
|
function defineCustomElement$1() {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
66
|
+
if (typeof customElements === "undefined") {
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
const components = ["tds-banner", "tds-icon"];
|
|
70
|
+
components.forEach(tagName => { switch (tagName) {
|
|
71
|
+
case "tds-banner":
|
|
72
|
+
if (!customElements.get(tagName)) {
|
|
73
|
+
customElements.define(tagName, TdsBanner$1);
|
|
74
|
+
}
|
|
75
|
+
break;
|
|
76
|
+
case "tds-icon":
|
|
77
|
+
if (!customElements.get(tagName)) {
|
|
78
|
+
defineCustomElement$2();
|
|
79
|
+
}
|
|
80
|
+
break;
|
|
81
|
+
} });
|
|
82
82
|
}
|
|
83
83
|
defineCustomElement$1();
|
|
84
84
|
|
|
@@ -2,8 +2,8 @@ import type { Components, JSX } from "../types/components";
|
|
|
2
2
|
|
|
3
3
|
interface TdsBlock extends Components.TdsBlock, HTMLElement {}
|
|
4
4
|
export const TdsBlock: {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
prototype: TdsBlock;
|
|
6
|
+
new (): TdsBlock;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -3,45 +3,45 @@ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/clien
|
|
|
3
3
|
const blockCss = ".tds-block{box-sizing:border-box;color:var(--tds-block-color);border-radius:4px;padding:16px;font:var(--tds-body-01);letter-spacing:var(--tds-body-01-ls);background-color:var(--tds-block-background)}.tds-block *{box-sizing:border-box}.tds-mode-variant-primary{--tds-block-background:var(--tds-block-background-primary);--tds-block-background-nested:var(--tds-block-background-nested-primary)}.tds-mode-variant-secondary{--tds-block-background:var(--tds-block-background-secondary);--tds-block-background-nested:var(--tds-block-background-nested-secondary)}";
|
|
4
4
|
|
|
5
5
|
const TdsBlock$1 = /*@__PURE__*/ proxyCustomElement(class TdsBlock extends HTMLElement {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
this.__registerHost();
|
|
9
|
+
this.__attachShadow();
|
|
10
|
+
this.modeVariant = null;
|
|
11
|
+
}
|
|
12
|
+
setModeVariantOnChildBlocks() {
|
|
13
|
+
var _a;
|
|
14
|
+
this.children = Array.from(this.host.children).filter((item) => item.tagName === 'TDS-BLOCK');
|
|
15
|
+
(_a = this.children) === null || _a === void 0 ? void 0 : _a.forEach((item) => {
|
|
16
|
+
if (!this.modeVariant) {
|
|
17
|
+
item.setAttribute('mode-variant', 'secondary');
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
item.setAttribute('mode-variant', this.modeVariant === 'primary' ? 'secondary' : 'primary');
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
render() {
|
|
25
|
+
this.setModeVariantOnChildBlocks();
|
|
26
|
+
return (h("div", { class: `tds-block ${this.modeVariant !== null ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("slot", null)));
|
|
27
|
+
}
|
|
28
|
+
get host() { return this; }
|
|
29
|
+
static get style() { return blockCss; }
|
|
30
30
|
}, [1, "tds-block", {
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
"modeVariant": [1, "mode-variant"]
|
|
32
|
+
}]);
|
|
33
33
|
function defineCustomElement$1() {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
34
|
+
if (typeof customElements === "undefined") {
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
const components = ["tds-block"];
|
|
38
|
+
components.forEach(tagName => { switch (tagName) {
|
|
39
|
+
case "tds-block":
|
|
40
|
+
if (!customElements.get(tagName)) {
|
|
41
|
+
customElements.define(tagName, TdsBlock$1);
|
|
42
|
+
}
|
|
43
|
+
break;
|
|
44
|
+
} });
|
|
45
45
|
}
|
|
46
46
|
defineCustomElement$1();
|
|
47
47
|
|
|
@@ -2,8 +2,8 @@ import type { Components, JSX } from "../types/components";
|
|
|
2
2
|
|
|
3
3
|
interface TdsBodyCell extends Components.TdsBodyCell, HTMLElement {}
|
|
4
4
|
export const TdsBodyCell: {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
prototype: TdsBodyCell;
|
|
6
|
+
new (): TdsBodyCell;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -3,99 +3,99 @@ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal
|
|
|
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--no-padding){padding:0}: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
4
|
|
|
5
5
|
const relevantTableProps = [
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
'verticalDividers',
|
|
7
|
+
'compactDesign',
|
|
8
|
+
'noMinWidth',
|
|
9
9
|
];
|
|
10
10
|
const TdsTableBodyCell = /*@__PURE__*/ proxyCustomElement(class TdsTableBodyCell extends HTMLElement {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
11
|
+
constructor() {
|
|
12
|
+
super();
|
|
13
|
+
this.__registerHost();
|
|
14
|
+
this.__attachShadow();
|
|
15
|
+
this.cellValue = undefined;
|
|
16
|
+
this.cellKey = undefined;
|
|
17
|
+
this.disablePadding = false;
|
|
18
|
+
this.textAlignState = undefined;
|
|
19
|
+
this.activeSorting = false;
|
|
20
|
+
this.verticalDividers = false;
|
|
21
|
+
this.compactDesign = false;
|
|
22
|
+
this.noMinWidth = false;
|
|
23
|
+
this.whiteBackground = false;
|
|
24
|
+
this.tableId = '';
|
|
25
|
+
}
|
|
26
|
+
internalTdsPropChangeListener(event) {
|
|
27
|
+
if (this.tableId === event.detail.tableId) {
|
|
28
|
+
event.detail.changed
|
|
29
|
+
.filter((changedProp) => relevantTableProps.includes(changedProp))
|
|
30
|
+
.forEach((changedProp) => {
|
|
31
|
+
if (typeof this[changedProp] === 'undefined') {
|
|
32
|
+
throw new Error(`Table prop is not supported: ${changedProp}`);
|
|
33
|
+
}
|
|
34
|
+
this[changedProp] = event.detail[changedProp];
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
// Listen to headKey from table-header-element
|
|
39
|
+
internalTdsHoverListener(event) {
|
|
40
|
+
const { tableId, key } = event.detail;
|
|
41
|
+
if (tableId === this.tableId) {
|
|
42
|
+
this.activeSorting = this.cellKey === key;
|
|
33
43
|
}
|
|
34
|
-
this[changedProp] = event.detail[changedProp];
|
|
35
|
-
});
|
|
36
44
|
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
45
|
+
// Listen to internalTdsTextAlign from table-header-element
|
|
46
|
+
internalTdsTextAlignListener(event) {
|
|
47
|
+
const [receivedID, receivedKey, receivedTextAlign] = event.detail;
|
|
48
|
+
if (this.tableId === receivedID) {
|
|
49
|
+
if (this.cellKey === receivedKey) {
|
|
50
|
+
this.textAlignState = receivedTextAlign;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
43
53
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
const [receivedID, receivedKey, receivedTextAlign] = event.detail;
|
|
48
|
-
if (this.tableId === receivedID) {
|
|
49
|
-
if (this.cellKey === receivedKey) {
|
|
50
|
-
this.textAlignState = receivedTextAlign;
|
|
51
|
-
}
|
|
54
|
+
connectedCallback() {
|
|
55
|
+
this.tableEl = this.host.closest('tds-table');
|
|
56
|
+
this.tableId = this.tableEl.tableId;
|
|
52
57
|
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
'tds-table__body-cell--no-padding': this.disablePadding,
|
|
71
|
-
}, style: { textAlign: this.textAlignState } }, this.cellValue, h("slot", null)));
|
|
72
|
-
}
|
|
73
|
-
get host() { return this; }
|
|
74
|
-
static get style() { return tableBodyCellCss; }
|
|
58
|
+
componentWillLoad() {
|
|
59
|
+
relevantTableProps.forEach((tablePropName) => {
|
|
60
|
+
this[tablePropName] = this.tableEl[tablePropName];
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
render() {
|
|
64
|
+
return (h(Host, { class: {
|
|
65
|
+
'tds-table__body-cell': true,
|
|
66
|
+
'tds-table__body-cell--hover': this.activeSorting,
|
|
67
|
+
'tds-table__compact': this.compactDesign,
|
|
68
|
+
'tds-table--divider': this.verticalDividers,
|
|
69
|
+
'tds-table--no-min-width': this.noMinWidth,
|
|
70
|
+
'tds-table__body-cell--no-padding': this.disablePadding,
|
|
71
|
+
}, style: { textAlign: this.textAlignState } }, this.cellValue, h("slot", null)));
|
|
72
|
+
}
|
|
73
|
+
get host() { return this; }
|
|
74
|
+
static get style() { return tableBodyCellCss; }
|
|
75
75
|
}, [1, "tds-body-cell", {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
76
|
+
"cellValue": [520, "cell-value"],
|
|
77
|
+
"cellKey": [520, "cell-key"],
|
|
78
|
+
"disablePadding": [516, "disable-padding"],
|
|
79
|
+
"textAlignState": [32],
|
|
80
|
+
"activeSorting": [32],
|
|
81
|
+
"verticalDividers": [32],
|
|
82
|
+
"compactDesign": [32],
|
|
83
|
+
"noMinWidth": [32],
|
|
84
|
+
"whiteBackground": [32],
|
|
85
|
+
"tableId": [32]
|
|
86
|
+
}, [[16, "internalTdsPropChange", "internalTdsPropChangeListener"], [16, "internalTdsHover", "internalTdsHoverListener"], [16, "internalTdsTextAlign", "internalTdsTextAlignListener"]]]);
|
|
87
87
|
function defineCustomElement$1() {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
88
|
+
if (typeof customElements === "undefined") {
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
const components = ["tds-body-cell"];
|
|
92
|
+
components.forEach(tagName => { switch (tagName) {
|
|
93
|
+
case "tds-body-cell":
|
|
94
|
+
if (!customElements.get(tagName)) {
|
|
95
|
+
customElements.define(tagName, TdsTableBodyCell);
|
|
96
|
+
}
|
|
97
|
+
break;
|
|
98
|
+
} });
|
|
99
99
|
}
|
|
100
100
|
defineCustomElement$1();
|
|
101
101
|
|
|
@@ -2,8 +2,8 @@ import type { Components, JSX } from "../types/components";
|
|
|
2
2
|
|
|
3
3
|
interface TdsBreadcrumb extends Components.TdsBreadcrumb, HTMLElement {}
|
|
4
4
|
export const TdsBreadcrumb: {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
prototype: TdsBreadcrumb;
|
|
6
|
+
new (): TdsBreadcrumb;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -3,31 +3,31 @@ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/clien
|
|
|
3
3
|
const breadcrumbCss = "@charset \"UTF-8\";[role=listitem] ::slotted(*){color:var(--tds-breadcrumb-color);text-decoration:none}[role=listitem]:hover ::slotted(*){color:var(--tds-breadcrumb-color-hover);text-decoration:underline}[role=listitem] ::slotted(*:focus-visible){outline:2px solid var(--tds-blue-400);outline-offset:-2px;outline-offset:0}[role=listitem].current ::slotted(*),[role=listitem] [aria-current=page] ::slotted(*){pointer-events:none;cursor:default;color:var(--tds-breadcrumb-color-current)}[role=listitem].current:hover ::slotted(*),[role=listitem] [aria-current=page]:hover ::slotted(*){text-decoration:none;cursor:not-allowed}[role=listitem]::after{content:\"›\";color:var(--tds-breadcrumb-separator-color);margin-right:4px;margin-left:4px;display:inline-block;width:4px;height:8px}:host(.last) [role=listitem]::after{display:none}";
|
|
4
4
|
|
|
5
5
|
const TdsBreadcrumb$1 = /*@__PURE__*/ proxyCustomElement(class TdsBreadcrumb extends HTMLElement {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
this.__registerHost();
|
|
9
|
+
this.__attachShadow();
|
|
10
|
+
this.current = false;
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return (h("div", { role: "listitem", class: `${this.current ? 'current' : ''}` }, h("slot", null)));
|
|
14
|
+
}
|
|
15
|
+
static get style() { return breadcrumbCss; }
|
|
16
16
|
}, [1, "tds-breadcrumb", {
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
"current": [4]
|
|
18
|
+
}]);
|
|
19
19
|
function defineCustomElement$1() {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
20
|
+
if (typeof customElements === "undefined") {
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
const components = ["tds-breadcrumb"];
|
|
24
|
+
components.forEach(tagName => { switch (tagName) {
|
|
25
|
+
case "tds-breadcrumb":
|
|
26
|
+
if (!customElements.get(tagName)) {
|
|
27
|
+
customElements.define(tagName, TdsBreadcrumb$1);
|
|
28
|
+
}
|
|
29
|
+
break;
|
|
30
|
+
} });
|
|
31
31
|
}
|
|
32
32
|
defineCustomElement$1();
|
|
33
33
|
|
|
@@ -2,8 +2,8 @@ import type { Components, JSX } from "../types/components";
|
|
|
2
2
|
|
|
3
3
|
interface TdsBreadcrumbs extends Components.TdsBreadcrumbs, HTMLElement {}
|
|
4
4
|
export const TdsBreadcrumbs: {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
prototype: TdsBreadcrumbs;
|
|
6
|
+
new (): TdsBreadcrumbs;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -3,31 +3,31 @@ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/clien
|
|
|
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
4
|
|
|
5
5
|
const TdsBreadcrumbs$1 = /*@__PURE__*/ proxyCustomElement(class TdsBreadcrumbs extends HTMLElement {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
this.__registerHost();
|
|
9
|
+
this.__attachShadow();
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
var _a;
|
|
13
|
+
(_a = this.host.children[this.host.children.length - 1]) === null || _a === void 0 ? void 0 : _a.classList.add('last');
|
|
14
|
+
return (h("nav", null, h("div", { role: "list", class: 'tds-breadcrumb' }, h("slot", null))));
|
|
15
|
+
}
|
|
16
|
+
get host() { return this; }
|
|
17
|
+
static get style() { return breadcrumbsCss; }
|
|
18
18
|
}, [1, "tds-breadcrumbs"]);
|
|
19
19
|
function defineCustomElement$1() {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
20
|
+
if (typeof customElements === "undefined") {
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
const components = ["tds-breadcrumbs"];
|
|
24
|
+
components.forEach(tagName => { switch (tagName) {
|
|
25
|
+
case "tds-breadcrumbs":
|
|
26
|
+
if (!customElements.get(tagName)) {
|
|
27
|
+
customElements.define(tagName, TdsBreadcrumbs$1);
|
|
28
|
+
}
|
|
29
|
+
break;
|
|
30
|
+
} });
|
|
31
31
|
}
|
|
32
32
|
defineCustomElement$1();
|
|
33
33
|
|
|
@@ -2,8 +2,8 @@ import type { Components, JSX } from "../types/components";
|
|
|
2
2
|
|
|
3
3
|
interface TdsButton extends Components.TdsButton, HTMLElement {}
|
|
4
4
|
export const TdsButton: {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
prototype: TdsButton;
|
|
6
|
+
new (): TdsButton;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|