@scania/tegel 0.0.9 → 0.0.10
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/README.md +3 -0
- package/dist/cjs/index-ee36ffa1.js +8 -16
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{popper-9def2535.js → popper-d7adcfc6.js} +6 -12
- package/dist/cjs/tds-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-badge.cjs.entry.js +3 -3
- package/dist/cjs/tds-banner.cjs.entry.js +10 -10
- package/dist/cjs/tds-breadcrumb.cjs.entry.js +2 -4
- package/dist/cjs/tds-breadcrumbs.cjs.entry.js +0 -3
- package/dist/cjs/tds-button.cjs.entry.js +4 -11
- package/dist/cjs/tds-card.cjs.entry.js +19 -23
- package/dist/cjs/tds-checkbox.cjs.entry.js +2 -1
- package/dist/cjs/tds-chip.cjs.entry.js +14 -3
- package/dist/cjs/tds-core-header-item_2.cjs.entry.js +1 -1
- package/dist/cjs/{tds-dropdown-option-v2.cjs.entry.js → tds-dropdown-option.cjs.entry.js} +5 -5
- package/dist/cjs/{tds-dropdown-v2.cjs.entry.js → tds-dropdown.cjs.entry.js} +19 -19
- package/dist/cjs/tds-folder-tab.cjs.entry.js +2 -3
- package/dist/cjs/tds-folder-tabs.cjs.entry.js +5 -5
- package/dist/cjs/tds-footer-group.cjs.entry.js +3 -3
- package/dist/cjs/tds-footer-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-footer.cjs.entry.js +6 -6
- package/dist/cjs/tds-header-cell.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +4 -4
- package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-dropdown.cjs.entry.js +4 -3
- package/dist/cjs/tds-header-hamburger.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-button.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-grid-title.cjs.entry.js +3 -2
- package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +3 -2
- package/dist/cjs/tds-header-launcher-list.cjs.entry.js +2 -1
- package/dist/cjs/tds-header-launcher.cjs.entry.js +2 -2
- package/dist/cjs/tds-header.cjs.entry.js +1 -1
- package/dist/cjs/tds-inline-tab.cjs.entry.js +1 -1
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +5 -5
- package/dist/cjs/tds-link.cjs.entry.js +1 -1
- package/dist/cjs/tds-message.cjs.entry.js +4 -4
- package/dist/cjs/tds-modal.cjs.entry.js +13 -5
- package/dist/cjs/tds-navigation-tab.cjs.entry.js +1 -1
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +5 -5
- package/dist/cjs/tds-popover-canvas.cjs.entry.js +1 -1
- package/dist/cjs/tds-popover-menu.cjs.entry.js +1 -1
- package/dist/cjs/tds-radio-button.cjs.entry.js +3 -2
- package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu.cjs.entry.js +2 -2
- package/dist/cjs/tds-slider.cjs.entry.js +12 -15
- package/dist/cjs/tds-stepper.cjs.entry.js +3 -2
- package/dist/cjs/tds-table-body.cjs.entry.js +4 -51
- package/dist/cjs/tds-table-footer.cjs.entry.js +47 -39
- package/dist/cjs/tds-table-toolbar.cjs.entry.js +2 -2
- package/dist/cjs/tds-table.cjs.entry.js +2 -1
- package/dist/cjs/tds-text-field.cjs.entry.js +6 -2
- package/dist/cjs/tds-toast.cjs.entry.js +11 -26
- package/dist/cjs/tds-toggle.cjs.entry.js +2 -1
- package/dist/cjs/tds-tooltip.cjs.entry.js +6 -2
- package/dist/cjs/tegel.cjs.js +1 -1
- package/dist/cjs/{utils-2beb1aa0.js → utils-41de5fb2.js} +32 -12
- package/dist/collection/collection-manifest.json +0 -3
- package/dist/collection/components/accordion/accordion-item/accordion-item.js +4 -1
- package/dist/collection/components/accordion/accordion.stories.js +100 -0
- package/dist/collection/components/badge/badge.js +4 -4
- package/dist/collection/components/badge/badge.stories.js +106 -0
- package/dist/collection/components/banner/banner.css +12 -9
- package/dist/collection/components/banner/banner.js +33 -17
- package/dist/collection/components/banner/banner.stories.js +107 -0
- package/dist/collection/components/block/block.stories.js +49 -0
- package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.css +4 -4
- package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.js +1 -21
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +0 -3
- package/dist/collection/components/breadcrumbs/breadcrumbs.stories.js +36 -0
- package/dist/collection/components/button/button.css +16 -0
- package/dist/collection/components/button/button.js +7 -12
- package/dist/collection/components/button/button.stories.js +167 -0
- package/dist/collection/components/card/card.css +18 -17
- package/dist/collection/components/card/card.js +32 -68
- package/dist/collection/components/card/card.stories.js +162 -0
- package/dist/collection/components/checkbox/checkbox.js +6 -2
- package/dist/collection/components/checkbox/checkbox.stories.js +80 -0
- package/dist/collection/components/chip/chip.css +23 -8
- package/dist/collection/components/chip/chip.js +19 -3
- package/dist/collection/components/chip/chip.stories.js +230 -0
- package/dist/collection/components/datetime/datetime.stories.js +195 -0
- package/dist/collection/components/divider/divider.stories.js +62 -0
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +142 -116
- package/dist/collection/components/dropdown/dropdown.css +212 -386
- package/dist/collection/components/dropdown/dropdown.js +472 -329
- package/dist/collection/components/dropdown/dropdown.stories.js +268 -0
- package/dist/collection/components/footer/footer-group/footer-group.css +3 -3
- package/dist/collection/components/footer/footer-group/footer-group.js +2 -2
- package/dist/collection/components/footer/footer-item/footer-item.css +16 -8
- package/dist/collection/components/footer/footer.css +8 -12
- package/dist/collection/components/footer/footer.js +10 -10
- package/dist/collection/components/footer/footer.stories.js +145 -0
- package/dist/collection/components/header/header-dropdown/header-dropdown.js +10 -5
- package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.css +1 -1
- package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.js +13 -9
- package/dist/collection/components/header/header-hamburger/header-hamburger.css +0 -1
- package/dist/collection/components/header/header-launcher/header-launcher.js +2 -2
- package/dist/collection/components/header/header-launcher-grid-title/header-launcher-grid-title.js +3 -2
- package/dist/collection/components/header/header-launcher-list/header-launcher-list.js +2 -1
- package/dist/collection/components/header/header-launcher-list-title/header-launcher-list-title.js +3 -2
- package/dist/collection/components/header/header.css +1 -1
- package/dist/collection/components/header/header.js +5 -0
- package/dist/collection/components/header/header.stories.js +80 -0
- package/dist/collection/components/icon/icon.stories.js +48 -0
- package/dist/collection/components/link/link.css +16 -13
- package/dist/collection/components/link/link.js +1 -0
- package/dist/collection/components/link/link.stories.js +57 -0
- package/dist/collection/components/message/message.css +16 -16
- package/dist/collection/components/message/message.js +6 -3
- package/dist/collection/components/message/message.stories.js +110 -0
- package/dist/collection/components/modal/modal.css +19 -33
- package/dist/collection/components/modal/modal.js +36 -6
- package/dist/collection/components/modal/modal.stories.js +109 -0
- package/dist/collection/components/popover-canvas/popover-canvas.js +2 -2
- package/dist/collection/components/popover-canvas/popover-canvas.stories.js +92 -0
- package/dist/collection/components/popover-menu/popover-menu.js +2 -2
- package/dist/collection/components/popover-menu/popover-menu.stories.js +140 -0
- package/dist/collection/components/radio-button/radio-button.css +1 -1
- package/dist/collection/components/radio-button/radio-button.js +6 -2
- package/dist/collection/components/radio-button/radio-button.stories.js +91 -0
- package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +3 -0
- package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.css +1 -1
- package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +5 -0
- package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.js +3 -0
- package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +3 -0
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.css +1 -1
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +3 -0
- package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +3 -0
- package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +5 -0
- package/dist/collection/components/side-menu/side-menu.css +6 -5
- package/dist/collection/components/side-menu/side-menu.js +11 -3
- package/dist/collection/components/side-menu/side-menu.stories.js +215 -0
- package/dist/collection/components/slider/slider.js +13 -16
- package/dist/collection/components/slider/slider.stories.js +243 -0
- package/dist/collection/components/spinner/spinner.stories.js +61 -0
- package/dist/collection/components/stepper/step/step.js +3 -0
- package/dist/collection/components/stepper/stepper.css +3 -0
- package/dist/collection/components/stepper/stepper.js +4 -3
- package/dist/collection/components/stepper/stepper.stories.js +95 -0
- package/dist/collection/components/table/table/table.js +4 -3
- package/dist/collection/components/table/table-body/table-body.js +15 -60
- package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +3 -0
- package/dist/collection/components/table/table-component-basic.stories.js +184 -0
- package/dist/collection/components/table/table-component-batch-actions.stories.js +201 -0
- package/dist/collection/components/table/table-component-bodydata.stories.js +101 -0
- package/dist/collection/components/table/table-component-custom-width.stories.js +174 -0
- package/dist/collection/components/table/table-component-event-listeners.stories.js +193 -0
- package/dist/collection/components/table/table-component-expandable-rows.stories.js +160 -0
- package/dist/collection/components/table/table-component-filtering.stories.js +210 -0
- package/dist/collection/components/table/table-component-multiselect.stories.js +230 -0
- package/dist/collection/components/table/table-component-pagination.stories.js +215 -0
- package/dist/collection/components/table/table-component-sorting.stories.js +238 -0
- package/dist/collection/components/table/table-footer/table-footer.js +65 -54
- package/dist/collection/components/table/table-header-cell/table-header-cell.css +1 -0
- package/dist/collection/components/table/table-toolbar/table-toolbar.css +2 -1
- package/dist/collection/components/table/table-toolbar/table-toolbar.js +4 -1
- package/dist/collection/components/table/table.filtering.spec.js +0 -6
- package/dist/collection/components/table/table.spec.js +0 -6
- package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.css +10 -11
- package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +1 -2
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +5 -5
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.stories.js +105 -0
- package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.css +13 -2
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +5 -5
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.stories.js +99 -0
- package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.css +13 -2
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +5 -5
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.stories.js +101 -0
- package/dist/collection/components/text-field/text-field.js +10 -2
- package/dist/collection/components/text-field/text-field.stories.js +247 -0
- package/dist/collection/components/textarea/textarea.stories.js +188 -0
- package/dist/collection/components/toast/toast.css +32 -25
- package/dist/collection/components/toast/toast.js +17 -33
- package/dist/collection/components/toast/toast.stories.js +79 -0
- package/dist/collection/components/toggle/toggle.js +6 -2
- package/dist/collection/components/toggle/toggle.stories.js +95 -0
- package/dist/collection/components/tooltip/tooltip.js +27 -3
- package/dist/collection/components/tooltip/tooltip.stories.js +128 -0
- package/dist/collection/stories/Installation/installation.stories.js +222 -0
- package/dist/collection/stories/announcements/announce-tegel.stories.js +262 -0
- package/dist/collection/stories/announcements/prefix-change.stories.js +93 -0
- package/dist/collection/stories/foundations/color/color-brand.stories.js +38 -0
- package/dist/collection/stories/foundations/color/color-scales.stories.js +71 -0
- package/dist/collection/stories/foundations/color/color-semantic.stories.js +40 -0
- package/dist/collection/stories/foundations/grid/grid.stories.js +386 -0
- package/dist/collection/stories/foundations/spacing/spacing-element.stories.js +100 -0
- package/dist/collection/stories/foundations/spacing/spacing-layout.stories.js +94 -0
- package/dist/collection/stories/foundations/typography/typography-body.stories.js +16 -0
- package/dist/collection/stories/foundations/typography/typography-detail.stories.js +17 -0
- package/dist/collection/stories/foundations/typography/typography-headline.stories.js +39 -0
- package/dist/collection/stories/foundations/typography/typography-paragraph.stories.js +12 -0
- package/dist/collection/stories/patterns/navigation/navigation-basic.stories.js +85 -0
- package/dist/collection/stories/patterns/navigation/navigation-fewitems.stories.js +259 -0
- package/dist/collection/stories/patterns/navigation/navigation-manyitems.stories.js +246 -0
- package/dist/collection/stories/patterns/navigation/navigation-user-menu.stories.js +140 -0
- package/dist/collection/stories/tegel.stories.js +293 -0
- package/dist/collection/stories/utility/color/background-color.stories.js +96 -0
- package/dist/collection/stories/utility/color/text-color.stories.js +94 -0
- package/dist/collection/utils/utils.js +30 -11
- package/dist/components/checkbox.js +2 -1
- package/dist/components/header-dropdown-list.js +1 -1
- package/dist/components/header-item.js +1 -1
- package/dist/components/popper.js +6 -12
- package/dist/components/side-menu-item.js +1 -1
- package/dist/components/tds-accordion-item.js +1 -1
- package/dist/components/tds-badge.js +4 -4
- package/dist/components/tds-banner.js +12 -13
- package/dist/components/tds-breadcrumb.js +3 -6
- package/dist/components/tds-breadcrumbs.js +0 -3
- package/dist/components/tds-button.js +5 -13
- package/dist/components/tds-card.js +21 -29
- package/dist/components/tds-chip.js +14 -3
- package/dist/components/tds-dropdown-option.js +121 -1
- package/dist/components/tds-dropdown.js +318 -1
- package/dist/components/tds-folder-tab.js +2 -3
- package/dist/components/tds-folder-tabs.js +5 -5
- package/dist/components/tds-footer-group.js +3 -3
- package/dist/components/tds-footer-item.js +1 -1
- package/dist/components/tds-footer.js +7 -8
- package/dist/components/tds-header-cell.js +1 -1
- package/dist/components/tds-header-dropdown-list-user.js +6 -6
- package/dist/components/tds-header-dropdown.js +5 -4
- package/dist/components/tds-header-launcher-grid-title.js +3 -2
- package/dist/components/tds-header-launcher-grid.js +1 -1
- package/dist/components/tds-header-launcher-list-title.js +3 -2
- package/dist/components/tds-header-launcher-list.js +2 -1
- package/dist/components/tds-header-launcher.js +2 -2
- package/dist/components/tds-inline-tab.js +1 -1
- package/dist/components/tds-inline-tabs.js +5 -5
- package/dist/components/tds-link.js +3 -2
- package/dist/components/tds-message.js +4 -4
- package/dist/components/tds-modal.js +14 -5
- package/dist/components/tds-navigation-tab.js +1 -1
- package/dist/components/tds-navigation-tabs.js +5 -5
- package/dist/components/tds-radio-button.js +3 -2
- package/dist/components/tds-side-menu-dropdown.js +1 -1
- package/dist/components/tds-side-menu.js +2 -2
- package/dist/components/tds-slider.js +12 -15
- package/dist/components/tds-stepper.js +3 -2
- package/dist/components/tds-table-body.js +5 -53
- package/dist/components/tds-table-footer.js +50 -42
- package/dist/components/tds-table-toolbar.js +9 -3
- package/dist/components/tds-table.js +2 -1
- package/dist/components/tds-text-field.js +6 -2
- package/dist/components/tds-toast.js +12 -29
- package/dist/components/tds-toggle.js +2 -1
- package/dist/components/tds-tooltip.js +7 -2
- package/dist/components/utils.js +31 -12
- package/dist/esm/index-23ee700b.js +8 -16
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{popper-bfa25c7f.js → popper-15e448b4.js} +6 -12
- package/dist/esm/tds-accordion-item.entry.js +1 -1
- package/dist/esm/tds-badge.entry.js +3 -3
- package/dist/esm/tds-banner.entry.js +10 -10
- package/dist/esm/tds-breadcrumb.entry.js +2 -4
- package/dist/esm/tds-breadcrumbs.entry.js +0 -3
- package/dist/esm/tds-button.entry.js +4 -11
- package/dist/esm/tds-card.entry.js +19 -23
- package/dist/esm/tds-checkbox.entry.js +2 -1
- package/dist/esm/tds-chip.entry.js +15 -4
- package/dist/esm/tds-core-header-item_2.entry.js +1 -1
- package/dist/esm/{tds-dropdown-option-v2.entry.js → tds-dropdown-option.entry.js} +5 -5
- package/dist/esm/{tds-dropdown-v2.entry.js → tds-dropdown.entry.js} +19 -19
- package/dist/esm/tds-folder-tab.entry.js +2 -3
- package/dist/esm/tds-folder-tabs.entry.js +5 -5
- package/dist/esm/tds-footer-group.entry.js +3 -3
- package/dist/esm/tds-footer-item.entry.js +1 -1
- package/dist/esm/tds-footer.entry.js +6 -6
- package/dist/esm/tds-header-cell.entry.js +1 -1
- package/dist/esm/tds-header-dropdown-list-user.entry.js +4 -4
- package/dist/esm/tds-header-dropdown-list.entry.js +1 -1
- package/dist/esm/tds-header-dropdown.entry.js +4 -3
- package/dist/esm/tds-header-hamburger.entry.js +1 -1
- package/dist/esm/tds-header-launcher-button.entry.js +1 -1
- package/dist/esm/tds-header-launcher-grid-title.entry.js +3 -2
- package/dist/esm/tds-header-launcher-grid.entry.js +1 -1
- package/dist/esm/tds-header-launcher-list-title.entry.js +3 -2
- package/dist/esm/tds-header-launcher-list.entry.js +2 -1
- package/dist/esm/tds-header-launcher.entry.js +2 -2
- package/dist/esm/tds-header.entry.js +1 -1
- package/dist/esm/tds-inline-tab.entry.js +1 -1
- package/dist/esm/tds-inline-tabs.entry.js +5 -5
- package/dist/esm/tds-link.entry.js +1 -1
- package/dist/esm/tds-message.entry.js +4 -4
- package/dist/esm/tds-modal.entry.js +13 -5
- package/dist/esm/tds-navigation-tab.entry.js +1 -1
- package/dist/esm/tds-navigation-tabs.entry.js +5 -5
- package/dist/esm/tds-popover-canvas.entry.js +1 -1
- package/dist/esm/tds-popover-menu.entry.js +1 -1
- package/dist/esm/tds-radio-button.entry.js +3 -2
- package/dist/esm/tds-side-menu-close-button.entry.js +1 -1
- package/dist/esm/tds-side-menu-dropdown.entry.js +1 -1
- package/dist/esm/tds-side-menu-item.entry.js +1 -1
- package/dist/esm/tds-side-menu.entry.js +2 -2
- package/dist/esm/tds-slider.entry.js +12 -15
- package/dist/esm/tds-stepper.entry.js +3 -2
- package/dist/esm/tds-table-body.entry.js +4 -51
- package/dist/esm/tds-table-footer.entry.js +47 -39
- package/dist/esm/tds-table-toolbar.entry.js +2 -2
- package/dist/esm/tds-table.entry.js +2 -1
- package/dist/esm/tds-text-field.entry.js +7 -3
- package/dist/esm/tds-toast.entry.js +11 -26
- package/dist/esm/tds-toggle.entry.js +2 -1
- package/dist/esm/tds-tooltip.entry.js +6 -2
- package/dist/esm/tegel.js +1 -1
- package/dist/esm/{utils-9ac24735.js → utils-74fb1bed.js} +31 -12
- package/dist/tegel/p-000d60e5.entry.js +1 -0
- package/dist/tegel/p-04bff255.entry.js +1 -0
- package/dist/tegel/p-06093e3e.entry.js +1 -0
- package/dist/tegel/p-099025f0.entry.js +1 -0
- package/dist/tegel/p-0995ca77.entry.js +1 -0
- package/dist/tegel/p-10337d3f.entry.js +1 -0
- package/dist/tegel/p-19fb9ad5.entry.js +1 -0
- package/dist/tegel/p-1bac7d2e.entry.js +1 -0
- package/dist/tegel/p-1c82ccf0.entry.js +1 -0
- package/dist/tegel/p-347414ad.entry.js +1 -0
- package/dist/tegel/p-34a06d2f.entry.js +1 -0
- package/dist/tegel/p-3c9865c3.entry.js +1 -0
- package/dist/tegel/{p-c8d4af09.entry.js → p-40142a58.entry.js} +1 -1
- package/dist/tegel/p-48136431.entry.js +1 -0
- package/dist/tegel/p-49a084db.entry.js +1 -0
- package/dist/tegel/p-4c809685.entry.js +1 -0
- package/dist/tegel/p-54e56257.entry.js +1 -0
- package/dist/tegel/{p-e8fccebc.entry.js → p-56189659.entry.js} +1 -1
- package/dist/tegel/p-6bee84a2.entry.js +1 -0
- package/dist/tegel/p-6f0072cc.entry.js +1 -0
- package/dist/tegel/p-73a8f43e.entry.js +1 -0
- package/dist/tegel/p-8ba77ea3.entry.js +1 -0
- package/dist/tegel/p-8bd0a233.entry.js +1 -0
- package/dist/tegel/{p-e0ee20ee.entry.js → p-8c194dd8.entry.js} +1 -1
- package/dist/tegel/p-95e170f3.entry.js +1 -0
- package/dist/tegel/p-99837611.entry.js +1 -0
- package/dist/tegel/p-9991a816.entry.js +1 -0
- package/dist/tegel/{p-bcb2fad3.entry.js → p-9b29bf68.entry.js} +1 -1
- package/dist/tegel/{p-39227588.js → p-9dc14c21.js} +1 -1
- package/dist/tegel/p-9f1e1cc0.entry.js +1 -0
- package/dist/tegel/{p-232f5889.entry.js → p-9fe0d654.entry.js} +1 -1
- package/dist/tegel/{p-135575ae.entry.js → p-a08be1c3.entry.js} +1 -1
- package/dist/tegel/{p-3aa634ed.entry.js → p-a1ad46d2.entry.js} +1 -1
- package/dist/tegel/p-a34bb501.entry.js +1 -0
- package/dist/tegel/p-a4e3eb95.entry.js +1 -0
- package/dist/tegel/{p-fb3f4a14.entry.js → p-aa443b06.entry.js} +1 -1
- package/dist/tegel/p-afe13096.entry.js +1 -0
- package/dist/tegel/{p-cd2a74d7.entry.js → p-b0d313cd.entry.js} +1 -1
- package/dist/tegel/p-b1067b50.entry.js +1 -0
- package/dist/tegel/{p-7b34156b.entry.js → p-b5424456.entry.js} +1 -1
- package/dist/tegel/p-c15bbe0b.entry.js +1 -0
- package/dist/tegel/p-c411f254.entry.js +1 -0
- package/dist/tegel/p-c5588508.entry.js +1 -0
- package/dist/tegel/{p-b6a16219.entry.js → p-c5ab3a3b.entry.js} +1 -1
- package/dist/tegel/p-d5bd9b2e.entry.js +1 -0
- package/dist/tegel/p-df95f0ae.entry.js +1 -0
- package/dist/tegel/{p-de799b9a.entry.js → p-e24835ba.entry.js} +1 -1
- package/dist/tegel/p-e3f8fc68.entry.js +1 -0
- package/dist/tegel/{p-89283891.entry.js → p-e4dc07bb.entry.js} +1 -1
- package/dist/tegel/p-f36ec03b.entry.js +1 -0
- package/dist/tegel/{p-7331ec7b.entry.js → p-f795bc11.entry.js} +1 -1
- package/dist/tegel/{p-7d3a66ae.entry.js → p-f9d04ff2.entry.js} +1 -1
- package/dist/tegel/p-fc6da19c.entry.js +1 -0
- package/dist/tegel/tegel.css +2 -2
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/accordion/accordion-item/accordion-item.d.ts +3 -0
- package/dist/types/components/accordion/accordion.stories.d.ts +77 -0
- package/dist/types/components/badge/badge.stories.d.ts +73 -0
- package/dist/types/components/banner/banner.d.ts +7 -2
- package/dist/types/components/banner/banner.stories.d.ts +82 -0
- package/dist/types/components/block/block.stories.d.ts +32 -0
- package/dist/types/components/breadcrumbs/breadcrumb/breadcrumb.d.ts +0 -2
- package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +0 -1
- package/dist/types/components/breadcrumbs/breadcrumbs.stories.d.ts +16 -0
- package/dist/types/components/button/button.d.ts +3 -1
- package/dist/types/components/button/button.stories.d.ts +133 -0
- package/dist/types/components/card/card.d.ts +11 -9
- package/dist/types/components/card/card.stories.d.ts +128 -0
- package/dist/types/components/checkbox/checkbox.d.ts +3 -0
- package/dist/types/components/checkbox/checkbox.stories.d.ts +52 -0
- package/dist/types/components/chip/chip.d.ts +6 -0
- package/dist/types/components/chip/chip.stories.d.ts +99 -0
- package/dist/types/components/datetime/datetime.stories.d.ts +125 -0
- package/dist/types/components/divider/divider.stories.d.ts +58 -0
- package/dist/types/components/dropdown/dropdown-option/dropdown-option.d.ts +28 -17
- package/dist/types/components/dropdown/dropdown.d.ts +79 -54
- package/dist/types/components/dropdown/dropdown.stories.d.ts +183 -0
- package/dist/types/components/footer/footer-group/footer-group.d.ts +1 -1
- package/dist/types/components/footer/footer.d.ts +5 -3
- package/dist/types/components/footer/footer.stories.d.ts +44 -0
- package/dist/types/components/header/header-dropdown/header-dropdown.d.ts +5 -1
- package/dist/types/components/header/header-dropdown-list-user/header-dropdown-list-user.d.ts +8 -4
- package/dist/types/components/header/header.d.ts +5 -0
- package/dist/types/components/header/header.stories.d.ts +31 -0
- package/dist/types/components/icon/icon.stories.d.ts +36 -0
- package/dist/types/components/link/link.stories.d.ts +44 -0
- package/dist/types/components/message/message.d.ts +3 -0
- package/dist/types/components/message/message.stories.d.ts +88 -0
- package/dist/types/components/modal/modal.d.ts +9 -3
- package/dist/types/components/modal/modal.stories.d.ts +70 -0
- package/dist/types/components/popover-canvas/popover-canvas.d.ts +1 -1
- package/dist/types/components/popover-canvas/popover-canvas.stories.d.ts +27 -0
- package/dist/types/components/popover-menu/popover-menu.d.ts +1 -1
- package/dist/types/components/popover-menu/popover-menu.stories.d.ts +40 -0
- package/dist/types/components/radio-button/radio-button.d.ts +3 -0
- package/dist/types/components/radio-button/radio-button.stories.d.ts +39 -0
- package/dist/types/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.d.ts +3 -0
- package/dist/types/components/side-menu/side-menu-dropdown/side-menu-dropdown.d.ts +5 -0
- package/dist/types/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.d.ts +3 -0
- package/dist/types/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.d.ts +3 -0
- package/dist/types/components/side-menu/side-menu-item/side-menu-item.d.ts +3 -0
- package/dist/types/components/side-menu/side-menu-user/side-menu-user.d.ts +3 -0
- package/dist/types/components/side-menu/side-menu-user-image/side-menu-user-image.d.ts +4 -0
- package/dist/types/components/side-menu/side-menu.d.ts +8 -0
- package/dist/types/components/side-menu/side-menu.stories.d.ts +53 -0
- package/dist/types/components/slider/slider.d.ts +0 -1
- package/dist/types/components/slider/slider.stories.d.ts +235 -0
- package/dist/types/components/spinner/spinner.stories.d.ts +46 -0
- package/dist/types/components/stepper/step/step.d.ts +3 -0
- package/dist/types/components/stepper/stepper.stories.d.ts +80 -0
- package/dist/types/components/table/table-body/table-body.d.ts +6 -3
- package/dist/types/components/table/table-body-row-expandable/table-body-row-expandable.d.ts +3 -0
- package/dist/types/components/table/table-component-basic.stories.d.ts +144 -0
- package/dist/types/components/table/table-component-batch-actions.stories.d.ts +139 -0
- package/dist/types/components/table/table-component-bodydata.stories.d.ts +35 -0
- package/dist/types/components/table/table-component-custom-width.stories.d.ts +131 -0
- package/dist/types/components/table/table-component-event-listeners.stories.d.ts +131 -0
- package/dist/types/components/table/table-component-expandable-rows.stories.d.ts +131 -0
- package/dist/types/components/table/table-component-filtering.stories.d.ts +139 -0
- package/dist/types/components/table/table-component-multiselect.stories.d.ts +144 -0
- package/dist/types/components/table/table-component-pagination.stories.d.ts +131 -0
- package/dist/types/components/table/table-component-sorting.stories.d.ts +183 -0
- package/dist/types/components/table/table-footer/table-footer.d.ts +7 -7
- package/dist/types/components/table/table-toolbar/table-toolbar.d.ts +3 -0
- package/dist/types/components/tabs/folder-tabs/folder-tabs.stories.d.ts +69 -0
- package/dist/types/components/tabs/inline-tabs/inline-tabs.stories.d.ts +61 -0
- package/dist/types/components/tabs/navigation-tabs/navigation-tabs.stories.d.ts +61 -0
- package/dist/types/components/text-field/text-field.d.ts +5 -0
- package/dist/types/components/text-field/text-field.stories.d.ts +201 -0
- package/dist/types/components/textarea/textarea.stories.d.ts +139 -0
- package/dist/types/components/toast/toast.d.ts +5 -4
- package/dist/types/components/toast/toast.stories.d.ts +56 -0
- package/dist/types/components/toggle/toggle.d.ts +3 -0
- package/dist/types/components/toggle/toggle.stories.d.ts +74 -0
- package/dist/types/components/tooltip/tooltip.d.ts +3 -1
- package/dist/types/components/tooltip/tooltip.stories.d.ts +66 -0
- package/dist/types/components.d.ts +105 -393
- package/dist/types/stories/Installation/installation.stories.d.ts +7 -0
- package/dist/types/stories/announcements/announce-tegel.stories.d.ts +6 -0
- package/dist/types/stories/announcements/prefix-change.stories.d.ts +6 -0
- package/dist/types/stories/foundations/color/color-brand.stories.d.ts +13 -0
- package/dist/types/stories/foundations/color/color-scales.stories.d.ts +30 -0
- package/dist/types/stories/foundations/color/color-semantic.stories.d.ts +13 -0
- package/dist/types/stories/foundations/grid/grid.stories.d.ts +35 -0
- package/dist/types/stories/foundations/spacing/spacing-element.stories.d.ts +8 -0
- package/dist/types/stories/foundations/spacing/spacing-layout.stories.d.ts +8 -0
- package/dist/types/stories/foundations/typography/typography-body.stories.d.ts +8 -0
- package/dist/types/stories/foundations/typography/typography-detail.stories.d.ts +8 -0
- package/dist/types/stories/foundations/typography/typography-headline.stories.d.ts +21 -0
- package/dist/types/stories/foundations/typography/typography-paragraph.stories.d.ts +8 -0
- package/dist/types/stories/patterns/navigation/navigation-basic.stories.d.ts +23 -0
- package/dist/types/stories/patterns/navigation/navigation-fewitems.stories.d.ts +23 -0
- package/dist/types/stories/patterns/navigation/navigation-manyitems.stories.d.ts +38 -0
- package/dist/types/stories/patterns/navigation/navigation-user-menu.stories.d.ts +33 -0
- package/dist/types/stories/tegel.stories.d.ts +6 -0
- package/dist/types/stories/utility/color/background-color.stories.d.ts +64 -0
- package/dist/types/stories/utility/color/text-color.stories.d.ts +64 -0
- package/dist/types/utils/utils.d.ts +20 -6
- package/package.json +21 -24
- package/dist/cjs/tds-dropdown-filter.cjs.entry.js +0 -96
- package/dist/cjs/tds-dropdown_2.cjs.entry.js +0 -339
- package/dist/collection/components/dropdown/dropdown-filter/dropdown-filter.js +0 -380
- package/dist/collection/components/dropdown-v2/dropdown-option-v2/dropdown-option-v2.js +0 -216
- package/dist/collection/components/dropdown-v2/dropdown-v2.css +0 -286
- package/dist/collection/components/dropdown-v2/dropdown-v2.js +0 -726
- package/dist/components/dropdown-option.js +0 -104
- package/dist/components/dropdown.js +0 -304
- package/dist/components/tds-dropdown-filter.d.ts +0 -11
- package/dist/components/tds-dropdown-filter.js +0 -150
- package/dist/components/tds-dropdown-option-v2.d.ts +0 -11
- package/dist/components/tds-dropdown-option-v2.js +0 -126
- package/dist/components/tds-dropdown-v2.d.ts +0 -11
- package/dist/components/tds-dropdown-v2.js +0 -323
- package/dist/esm/tds-dropdown-filter.entry.js +0 -92
- package/dist/esm/tds-dropdown_2.entry.js +0 -334
- package/dist/tegel/p-07e5df94.entry.js +0 -1
- package/dist/tegel/p-0a3e7512.entry.js +0 -1
- package/dist/tegel/p-0e55d72f.entry.js +0 -1
- package/dist/tegel/p-107d3da8.entry.js +0 -1
- package/dist/tegel/p-13b02a4f.entry.js +0 -1
- package/dist/tegel/p-19e9addd.entry.js +0 -1
- package/dist/tegel/p-1fb5c5d4.entry.js +0 -1
- package/dist/tegel/p-2bee16f6.entry.js +0 -1
- package/dist/tegel/p-2e2c91c4.entry.js +0 -1
- package/dist/tegel/p-330ed982.entry.js +0 -1
- package/dist/tegel/p-3604b5d3.entry.js +0 -1
- package/dist/tegel/p-375e361b.entry.js +0 -1
- package/dist/tegel/p-55dc4711.entry.js +0 -1
- package/dist/tegel/p-59f1cb9b.entry.js +0 -1
- package/dist/tegel/p-5a6aba01.entry.js +0 -1
- package/dist/tegel/p-60733f89.entry.js +0 -1
- package/dist/tegel/p-6a530c2f.entry.js +0 -1
- package/dist/tegel/p-732256e0.entry.js +0 -1
- package/dist/tegel/p-76f941e8.entry.js +0 -1
- package/dist/tegel/p-7b0853e6.entry.js +0 -1
- package/dist/tegel/p-90686bc7.entry.js +0 -1
- package/dist/tegel/p-95da9b7f.entry.js +0 -1
- package/dist/tegel/p-99f540db.entry.js +0 -1
- package/dist/tegel/p-9bcc42cf.entry.js +0 -1
- package/dist/tegel/p-9f57d275.entry.js +0 -1
- package/dist/tegel/p-9fe384ad.entry.js +0 -1
- package/dist/tegel/p-a5604352.entry.js +0 -1
- package/dist/tegel/p-acb62b52.entry.js +0 -1
- package/dist/tegel/p-aeffa257.entry.js +0 -1
- package/dist/tegel/p-b8d88873.entry.js +0 -1
- package/dist/tegel/p-beb8a6bd.entry.js +0 -1
- package/dist/tegel/p-c90a247c.entry.js +0 -1
- package/dist/tegel/p-ca4527de.entry.js +0 -1
- package/dist/tegel/p-cf4cfc54.entry.js +0 -1
- package/dist/tegel/p-d3f5cf74.entry.js +0 -1
- package/dist/tegel/p-d67d67be.entry.js +0 -1
- package/dist/tegel/p-da4c92b9.entry.js +0 -1
- package/dist/tegel/p-f6206d3c.entry.js +0 -1
- package/dist/tegel/p-fc47d911.entry.js +0 -1
- package/dist/types/components/dropdown/dropdown-filter/dropdown-filter.d.ts +0 -47
- package/dist/types/components/dropdown-v2/dropdown-option-v2/dropdown-option-v2.d.ts +0 -35
- package/dist/types/components/dropdown-v2/dropdown-v2.d.ts +0 -86
- /package/dist/collection/components/{dropdown-v2/dropdown-option-v2/dropdown-option-v2.css → dropdown/dropdown-option/dropdown-option.css} +0 -0
- /package/dist/tegel/{p-9d707f6e.js → p-7c0dcd00.js} +0 -0
|
@@ -91,6 +91,10 @@ export namespace Components {
|
|
|
91
91
|
* Shows the Banner
|
|
92
92
|
*/
|
|
93
93
|
"showBanner": () => Promise<void>;
|
|
94
|
+
/**
|
|
95
|
+
* Subheader text.
|
|
96
|
+
*/
|
|
97
|
+
"subheader": string;
|
|
94
98
|
/**
|
|
95
99
|
* Type of Banner
|
|
96
100
|
*/
|
|
@@ -121,10 +125,6 @@ export namespace Components {
|
|
|
121
125
|
* Boolean for the current link
|
|
122
126
|
*/
|
|
123
127
|
"current": boolean;
|
|
124
|
-
/**
|
|
125
|
-
* Toggle the disabled state for the Breadcrumb
|
|
126
|
-
*/
|
|
127
|
-
"disabled": boolean;
|
|
128
128
|
}
|
|
129
129
|
interface TdsBreadcrumbs {
|
|
130
130
|
}
|
|
@@ -176,18 +176,10 @@ export namespace Components {
|
|
|
176
176
|
* Text in the header
|
|
177
177
|
*/
|
|
178
178
|
"header": string;
|
|
179
|
-
/**
|
|
180
|
-
* Header image src
|
|
181
|
-
*/
|
|
182
|
-
"headerImg": string;
|
|
183
|
-
/**
|
|
184
|
-
* Alt text for the header image
|
|
185
|
-
*/
|
|
186
|
-
"headerImgAlt": string;
|
|
187
179
|
/**
|
|
188
180
|
* Placement of the header
|
|
189
181
|
*/
|
|
190
|
-
"
|
|
182
|
+
"imagePlacement": 'above-header' | 'below-header';
|
|
191
183
|
/**
|
|
192
184
|
* Variant of the Card based on the theme used.
|
|
193
185
|
*/
|
|
@@ -312,147 +304,6 @@ export namespace Components {
|
|
|
312
304
|
"orientation": 'horizontal' | 'vertical';
|
|
313
305
|
}
|
|
314
306
|
interface TdsDropdown {
|
|
315
|
-
/**
|
|
316
|
-
* Add the value of the option as string to set it as default
|
|
317
|
-
*/
|
|
318
|
-
"defaultOption": string;
|
|
319
|
-
/**
|
|
320
|
-
* Set to true for disabled states
|
|
321
|
-
*/
|
|
322
|
-
"disabled": boolean;
|
|
323
|
-
/**
|
|
324
|
-
* Add helper text in the bottom of Dropdown
|
|
325
|
-
*/
|
|
326
|
-
"helper": string;
|
|
327
|
-
/**
|
|
328
|
-
* Set to true to make the width following the label text length
|
|
329
|
-
*/
|
|
330
|
-
"inline": boolean;
|
|
331
|
-
/**
|
|
332
|
-
* Label text for label inside & outside
|
|
333
|
-
*/
|
|
334
|
-
"label": string;
|
|
335
|
-
/**
|
|
336
|
-
* Controls position of label
|
|
337
|
-
*/
|
|
338
|
-
"labelPosition": 'no-label' | 'inside' | 'outside';
|
|
339
|
-
/**
|
|
340
|
-
* Set the variant of the Dropdown.
|
|
341
|
-
*/
|
|
342
|
-
"modeVariant": 'primary' | 'secondary';
|
|
343
|
-
/**
|
|
344
|
-
* Direction that the Dropdown will open. Default is auto.
|
|
345
|
-
*/
|
|
346
|
-
"openDirection": 'down' | 'up' | 'auto';
|
|
347
|
-
/**
|
|
348
|
-
* Placeholder text for Dropdown with no selectedLabel item
|
|
349
|
-
*/
|
|
350
|
-
"placeholder": string;
|
|
351
|
-
"resetOption": () => Promise<void>;
|
|
352
|
-
/**
|
|
353
|
-
* Add the value of the option as string to set it as new selected value
|
|
354
|
-
*/
|
|
355
|
-
"selectedOption": string;
|
|
356
|
-
/**
|
|
357
|
-
* Controls the size of the Dropdown. 'sm', 'md' and 'lg' correct values and 'small', 'medium' and 'large' are deprecated
|
|
358
|
-
*/
|
|
359
|
-
"size": 'sm' | 'md' | 'lg' | 'small' | 'medium' | 'large';
|
|
360
|
-
/**
|
|
361
|
-
* Support `error` state
|
|
362
|
-
*/
|
|
363
|
-
"state": boolean;
|
|
364
|
-
/**
|
|
365
|
-
* `Controls type of Dropdown.
|
|
366
|
-
*/
|
|
367
|
-
"type": 'default' | 'multiselect' | 'filter';
|
|
368
|
-
}
|
|
369
|
-
interface TdsDropdownFilter {
|
|
370
|
-
/**
|
|
371
|
-
* Data is an array of objects that contains label and value `data = [{label:'Option 1', value:'opt-1'},{label:'Option 2', value:'opt-2'}]`
|
|
372
|
-
*/
|
|
373
|
-
"data": string;
|
|
374
|
-
/**
|
|
375
|
-
* Add the value of the option to set it as default
|
|
376
|
-
*/
|
|
377
|
-
"defaultOption": string;
|
|
378
|
-
/**
|
|
379
|
-
* Add the value of the option to set it as default
|
|
380
|
-
*/
|
|
381
|
-
"disabled": boolean;
|
|
382
|
-
/**
|
|
383
|
-
* Add helper text in the bottom of Dropdown
|
|
384
|
-
*/
|
|
385
|
-
"helper": string;
|
|
386
|
-
/**
|
|
387
|
-
* Set to true to make the width following the label text length
|
|
388
|
-
*/
|
|
389
|
-
"inline": boolean;
|
|
390
|
-
/**
|
|
391
|
-
* Label for Dropdown with no selected item
|
|
392
|
-
*/
|
|
393
|
-
"label": string;
|
|
394
|
-
/**
|
|
395
|
-
* Position of label
|
|
396
|
-
*/
|
|
397
|
-
"labelPosition": 'no-label' | 'outside';
|
|
398
|
-
/**
|
|
399
|
-
* Set the variant of the Dropdown.
|
|
400
|
-
*/
|
|
401
|
-
"modeVariant": 'primary' | 'secondary';
|
|
402
|
-
/**
|
|
403
|
-
* Direction that the Dropdown will open. Default is auto.
|
|
404
|
-
*/
|
|
405
|
-
"openDirection": 'down' | 'up' | 'auto';
|
|
406
|
-
/**
|
|
407
|
-
* Placeholder text for Dropdown with no selected item
|
|
408
|
-
*/
|
|
409
|
-
"placeholder": string;
|
|
410
|
-
/**
|
|
411
|
-
* Use this method to reset the Dropdown. Then it will go back to its initial state.
|
|
412
|
-
*/
|
|
413
|
-
"resetOption": () => Promise<void>;
|
|
414
|
-
/**
|
|
415
|
-
* Add the value of the option as string to set it as new selected value
|
|
416
|
-
*/
|
|
417
|
-
"selectedOption": string;
|
|
418
|
-
/**
|
|
419
|
-
* Controls the size of the Dropdown. 'sm', 'md' and 'lg' correct values and 'small', 'medium' and 'large' are deprecated
|
|
420
|
-
*/
|
|
421
|
-
"size": 'sm' | 'md' | 'lg' | 'small' | 'medium' | 'large';
|
|
422
|
-
/**
|
|
423
|
-
* Support `error` state
|
|
424
|
-
*/
|
|
425
|
-
"state": boolean;
|
|
426
|
-
}
|
|
427
|
-
interface TdsDropdownOption {
|
|
428
|
-
/**
|
|
429
|
-
* Sets option to disabled state if true
|
|
430
|
-
*/
|
|
431
|
-
"disabled": boolean;
|
|
432
|
-
/**
|
|
433
|
-
* Set to true if selected
|
|
434
|
-
*/
|
|
435
|
-
"selected": boolean;
|
|
436
|
-
/**
|
|
437
|
-
* Value is a unique string that will be used for application logic
|
|
438
|
-
*/
|
|
439
|
-
"value": string;
|
|
440
|
-
}
|
|
441
|
-
interface TdsDropdownOptionV2 {
|
|
442
|
-
/**
|
|
443
|
-
* Sets the option as disabled.
|
|
444
|
-
*/
|
|
445
|
-
"disabled": boolean;
|
|
446
|
-
/**
|
|
447
|
-
* Method to select/deselect an option if the option is not disabled.
|
|
448
|
-
*/
|
|
449
|
-
"setSelected": (selected: boolean) => Promise<void>;
|
|
450
|
-
/**
|
|
451
|
-
* Value for the Dropdown option.
|
|
452
|
-
*/
|
|
453
|
-
"value": string;
|
|
454
|
-
}
|
|
455
|
-
interface TdsDropdownV2 {
|
|
456
307
|
/**
|
|
457
308
|
* Method for closing the Dropdown.
|
|
458
309
|
*/
|
|
@@ -530,6 +381,20 @@ export namespace Components {
|
|
|
530
381
|
*/
|
|
531
382
|
"size": 'sm' | 'md' | 'lg';
|
|
532
383
|
}
|
|
384
|
+
interface TdsDropdownOption {
|
|
385
|
+
/**
|
|
386
|
+
* Sets the option as disabled.
|
|
387
|
+
*/
|
|
388
|
+
"disabled": boolean;
|
|
389
|
+
/**
|
|
390
|
+
* Method to select/deselect an option if the option is not disabled.
|
|
391
|
+
*/
|
|
392
|
+
"setSelected": (selected: boolean) => Promise<void>;
|
|
393
|
+
/**
|
|
394
|
+
* Value for the Dropdown option.
|
|
395
|
+
*/
|
|
396
|
+
"value": string;
|
|
397
|
+
}
|
|
533
398
|
interface TdsFolderTab {
|
|
534
399
|
/**
|
|
535
400
|
* Disables the Tab.
|
|
@@ -600,7 +465,7 @@ export namespace Components {
|
|
|
600
465
|
/**
|
|
601
466
|
* The label of the button that opens the dropdown. This is an alternative to the button-label slot.
|
|
602
467
|
*/
|
|
603
|
-
"
|
|
468
|
+
"label": string;
|
|
604
469
|
/**
|
|
605
470
|
* If the dropdown icon (downwards chevron) should be hidden.
|
|
606
471
|
*/
|
|
@@ -625,9 +490,9 @@ export namespace Components {
|
|
|
625
490
|
}
|
|
626
491
|
interface TdsHeaderDropdownListUser {
|
|
627
492
|
/**
|
|
628
|
-
*
|
|
493
|
+
* Header text, usually the users first name and last name.
|
|
629
494
|
*/
|
|
630
|
-
"
|
|
495
|
+
"header": string;
|
|
631
496
|
/**
|
|
632
497
|
* Image alt text.
|
|
633
498
|
*/
|
|
@@ -637,9 +502,9 @@ export namespace Components {
|
|
|
637
502
|
*/
|
|
638
503
|
"imgUrl": string;
|
|
639
504
|
/**
|
|
640
|
-
*
|
|
505
|
+
* Subheader text.
|
|
641
506
|
*/
|
|
642
|
-
"
|
|
507
|
+
"subheader": string;
|
|
643
508
|
}
|
|
644
509
|
interface TdsHeaderHamburger {
|
|
645
510
|
}
|
|
@@ -751,6 +616,10 @@ export namespace Components {
|
|
|
751
616
|
* Closes the Modal.
|
|
752
617
|
*/
|
|
753
618
|
"closeModal": () => Promise<void>;
|
|
619
|
+
/**
|
|
620
|
+
* Sets the header of the Modal.
|
|
621
|
+
*/
|
|
622
|
+
"header": string;
|
|
754
623
|
/**
|
|
755
624
|
* Disables closing Modal on clicking on overlay area.
|
|
756
625
|
*/
|
|
@@ -758,7 +627,7 @@ export namespace Components {
|
|
|
758
627
|
/**
|
|
759
628
|
* Element that will show the Modal (takes priority over selector)
|
|
760
629
|
*/
|
|
761
|
-
"referenceEl"
|
|
630
|
+
"referenceEl"?: HTMLElement | null;
|
|
762
631
|
/**
|
|
763
632
|
* CSS selector for the element that will show the Modal.
|
|
764
633
|
*/
|
|
@@ -821,7 +690,7 @@ export namespace Components {
|
|
|
821
690
|
/**
|
|
822
691
|
* Element that will trigger the Popover (takes priority over selector)
|
|
823
692
|
*/
|
|
824
|
-
"referenceEl"
|
|
693
|
+
"referenceEl"?: HTMLElement | null;
|
|
825
694
|
/**
|
|
826
695
|
* The CSS-selector for an element that will trigger the Popover
|
|
827
696
|
*/
|
|
@@ -847,7 +716,7 @@ export namespace Components {
|
|
|
847
716
|
/**
|
|
848
717
|
* Element that will trigger the pop-over (takes priority over selector)
|
|
849
718
|
*/
|
|
850
|
-
"referenceEl"
|
|
719
|
+
"referenceEl"?: HTMLElement | null;
|
|
851
720
|
/**
|
|
852
721
|
* The CSS-selector for an element that will trigger the pop-over
|
|
853
722
|
*/
|
|
@@ -1125,9 +994,9 @@ export namespace Components {
|
|
|
1125
994
|
*/
|
|
1126
995
|
"bodyData": any;
|
|
1127
996
|
/**
|
|
1128
|
-
* Prop for
|
|
997
|
+
* Prop for no result message when using filtering
|
|
1129
998
|
*/
|
|
1130
|
-
"
|
|
999
|
+
"noResultMessage": string;
|
|
1131
1000
|
}
|
|
1132
1001
|
interface TdsTableBodyRow {
|
|
1133
1002
|
}
|
|
@@ -1139,23 +1008,23 @@ export namespace Components {
|
|
|
1139
1008
|
}
|
|
1140
1009
|
interface TdsTableFooter {
|
|
1141
1010
|
/**
|
|
1142
|
-
*
|
|
1011
|
+
* <b>Client override</b> Used to set the number of columns, use as fallback if the automatic count of columns fail.
|
|
1143
1012
|
*/
|
|
1144
|
-
"
|
|
1013
|
+
"cols": number;
|
|
1145
1014
|
/**
|
|
1146
|
-
*
|
|
1015
|
+
* Sets the default page number.
|
|
1147
1016
|
*/
|
|
1148
|
-
"
|
|
1017
|
+
"defaultPage": number;
|
|
1149
1018
|
/**
|
|
1150
|
-
*
|
|
1019
|
+
* Sets the number of pages.
|
|
1151
1020
|
*/
|
|
1152
|
-
"
|
|
1021
|
+
"pages": number;
|
|
1153
1022
|
/**
|
|
1154
|
-
*
|
|
1023
|
+
* Enable pagination and show pagination controls
|
|
1155
1024
|
*/
|
|
1156
|
-
"
|
|
1025
|
+
"pagination": boolean;
|
|
1157
1026
|
/**
|
|
1158
|
-
*
|
|
1027
|
+
* @deprecated Used to set rows per page, this also enabled automatic pagination of the table.
|
|
1159
1028
|
*/
|
|
1160
1029
|
"rowsPerPage": number;
|
|
1161
1030
|
}
|
|
@@ -1375,7 +1244,7 @@ export namespace Components {
|
|
|
1375
1244
|
/**
|
|
1376
1245
|
* Element that will trigger the Tooltip (takes priority over selector)
|
|
1377
1246
|
*/
|
|
1378
|
-
"referenceEl"
|
|
1247
|
+
"referenceEl"?: HTMLElement | null;
|
|
1379
1248
|
/**
|
|
1380
1249
|
* The CSS-selector for an element that will trigger the Tooltip
|
|
1381
1250
|
*/
|
|
@@ -1388,6 +1257,10 @@ export namespace Components {
|
|
|
1388
1257
|
* In case Tooltip contains only text, no HTML, a text can be passed by this prop
|
|
1389
1258
|
*/
|
|
1390
1259
|
"text": string;
|
|
1260
|
+
/**
|
|
1261
|
+
* Method to update the Tooltip. Will reevaluate the Tooltips position.
|
|
1262
|
+
*/
|
|
1263
|
+
"updateTooltip": () => Promise<void>;
|
|
1391
1264
|
}
|
|
1392
1265
|
}
|
|
1393
1266
|
export interface TdsAccordionItemCustomEvent<T> extends CustomEvent<T> {
|
|
@@ -1422,14 +1295,6 @@ export interface TdsDropdownOptionCustomEvent<T> extends CustomEvent<T> {
|
|
|
1422
1295
|
detail: T;
|
|
1423
1296
|
target: HTMLTdsDropdownOptionElement;
|
|
1424
1297
|
}
|
|
1425
|
-
export interface TdsDropdownOptionV2CustomEvent<T> extends CustomEvent<T> {
|
|
1426
|
-
detail: T;
|
|
1427
|
-
target: HTMLTdsDropdownOptionV2Element;
|
|
1428
|
-
}
|
|
1429
|
-
export interface TdsDropdownV2CustomEvent<T> extends CustomEvent<T> {
|
|
1430
|
-
detail: T;
|
|
1431
|
-
target: HTMLTdsDropdownV2Element;
|
|
1432
|
-
}
|
|
1433
1298
|
export interface TdsFolderTabsCustomEvent<T> extends CustomEvent<T> {
|
|
1434
1299
|
detail: T;
|
|
1435
1300
|
target: HTMLTdsFolderTabsElement;
|
|
@@ -1611,30 +1476,12 @@ declare global {
|
|
|
1611
1476
|
prototype: HTMLTdsDropdownElement;
|
|
1612
1477
|
new (): HTMLTdsDropdownElement;
|
|
1613
1478
|
};
|
|
1614
|
-
interface HTMLTdsDropdownFilterElement extends Components.TdsDropdownFilter, HTMLStencilElement {
|
|
1615
|
-
}
|
|
1616
|
-
var HTMLTdsDropdownFilterElement: {
|
|
1617
|
-
prototype: HTMLTdsDropdownFilterElement;
|
|
1618
|
-
new (): HTMLTdsDropdownFilterElement;
|
|
1619
|
-
};
|
|
1620
1479
|
interface HTMLTdsDropdownOptionElement extends Components.TdsDropdownOption, HTMLStencilElement {
|
|
1621
1480
|
}
|
|
1622
1481
|
var HTMLTdsDropdownOptionElement: {
|
|
1623
1482
|
prototype: HTMLTdsDropdownOptionElement;
|
|
1624
1483
|
new (): HTMLTdsDropdownOptionElement;
|
|
1625
1484
|
};
|
|
1626
|
-
interface HTMLTdsDropdownOptionV2Element extends Components.TdsDropdownOptionV2, HTMLStencilElement {
|
|
1627
|
-
}
|
|
1628
|
-
var HTMLTdsDropdownOptionV2Element: {
|
|
1629
|
-
prototype: HTMLTdsDropdownOptionV2Element;
|
|
1630
|
-
new (): HTMLTdsDropdownOptionV2Element;
|
|
1631
|
-
};
|
|
1632
|
-
interface HTMLTdsDropdownV2Element extends Components.TdsDropdownV2, HTMLStencilElement {
|
|
1633
|
-
}
|
|
1634
|
-
var HTMLTdsDropdownV2Element: {
|
|
1635
|
-
prototype: HTMLTdsDropdownV2Element;
|
|
1636
|
-
new (): HTMLTdsDropdownV2Element;
|
|
1637
|
-
};
|
|
1638
1485
|
interface HTMLTdsFolderTabElement extends Components.TdsFolderTab, HTMLStencilElement {
|
|
1639
1486
|
}
|
|
1640
1487
|
var HTMLTdsFolderTabElement: {
|
|
@@ -2018,10 +1865,7 @@ declare global {
|
|
|
2018
1865
|
"tds-datetime": HTMLTdsDatetimeElement;
|
|
2019
1866
|
"tds-divider": HTMLTdsDividerElement;
|
|
2020
1867
|
"tds-dropdown": HTMLTdsDropdownElement;
|
|
2021
|
-
"tds-dropdown-filter": HTMLTdsDropdownFilterElement;
|
|
2022
1868
|
"tds-dropdown-option": HTMLTdsDropdownOptionElement;
|
|
2023
|
-
"tds-dropdown-option-v2": HTMLTdsDropdownOptionV2Element;
|
|
2024
|
-
"tds-dropdown-v2": HTMLTdsDropdownV2Element;
|
|
2025
1869
|
"tds-folder-tab": HTMLTdsFolderTabElement;
|
|
2026
1870
|
"tds-folder-tabs": HTMLTdsFolderTabsElement;
|
|
2027
1871
|
"tds-footer": HTMLTdsFooterElement;
|
|
@@ -2167,6 +2011,10 @@ declare namespace LocalJSX {
|
|
|
2167
2011
|
* Removes the close button on the Banner.
|
|
2168
2012
|
*/
|
|
2169
2013
|
"persistent"?: boolean;
|
|
2014
|
+
/**
|
|
2015
|
+
* Subheader text.
|
|
2016
|
+
*/
|
|
2017
|
+
"subheader"?: string;
|
|
2170
2018
|
/**
|
|
2171
2019
|
* Type of Banner
|
|
2172
2020
|
*/
|
|
@@ -2197,10 +2045,6 @@ declare namespace LocalJSX {
|
|
|
2197
2045
|
* Boolean for the current link
|
|
2198
2046
|
*/
|
|
2199
2047
|
"current"?: boolean;
|
|
2200
|
-
/**
|
|
2201
|
-
* Toggle the disabled state for the Breadcrumb
|
|
2202
|
-
*/
|
|
2203
|
-
"disabled"?: boolean;
|
|
2204
2048
|
}
|
|
2205
2049
|
interface TdsBreadcrumbs {
|
|
2206
2050
|
}
|
|
@@ -2252,18 +2096,10 @@ declare namespace LocalJSX {
|
|
|
2252
2096
|
* Text in the header
|
|
2253
2097
|
*/
|
|
2254
2098
|
"header"?: string;
|
|
2255
|
-
/**
|
|
2256
|
-
* Header image src
|
|
2257
|
-
*/
|
|
2258
|
-
"headerImg"?: string;
|
|
2259
|
-
/**
|
|
2260
|
-
* Alt text for the header image
|
|
2261
|
-
*/
|
|
2262
|
-
"headerImgAlt"?: string;
|
|
2263
2099
|
/**
|
|
2264
2100
|
* Placement of the header
|
|
2265
2101
|
*/
|
|
2266
|
-
"
|
|
2102
|
+
"imagePlacement"?: 'above-header' | 'below-header';
|
|
2267
2103
|
/**
|
|
2268
2104
|
* Variant of the Card based on the theme used.
|
|
2269
2105
|
*/
|
|
@@ -2431,153 +2267,6 @@ declare namespace LocalJSX {
|
|
|
2431
2267
|
"orientation"?: 'horizontal' | 'vertical';
|
|
2432
2268
|
}
|
|
2433
2269
|
interface TdsDropdown {
|
|
2434
|
-
/**
|
|
2435
|
-
* Add the value of the option as string to set it as default
|
|
2436
|
-
*/
|
|
2437
|
-
"defaultOption"?: string;
|
|
2438
|
-
/**
|
|
2439
|
-
* Set to true for disabled states
|
|
2440
|
-
*/
|
|
2441
|
-
"disabled"?: boolean;
|
|
2442
|
-
/**
|
|
2443
|
-
* Add helper text in the bottom of Dropdown
|
|
2444
|
-
*/
|
|
2445
|
-
"helper"?: string;
|
|
2446
|
-
/**
|
|
2447
|
-
* Set to true to make the width following the label text length
|
|
2448
|
-
*/
|
|
2449
|
-
"inline"?: boolean;
|
|
2450
|
-
/**
|
|
2451
|
-
* Label text for label inside & outside
|
|
2452
|
-
*/
|
|
2453
|
-
"label"?: string;
|
|
2454
|
-
/**
|
|
2455
|
-
* Controls position of label
|
|
2456
|
-
*/
|
|
2457
|
-
"labelPosition"?: 'no-label' | 'inside' | 'outside';
|
|
2458
|
-
/**
|
|
2459
|
-
* Set the variant of the Dropdown.
|
|
2460
|
-
*/
|
|
2461
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
2462
|
-
/**
|
|
2463
|
-
* Direction that the Dropdown will open. Default is auto.
|
|
2464
|
-
*/
|
|
2465
|
-
"openDirection"?: 'down' | 'up' | 'auto';
|
|
2466
|
-
/**
|
|
2467
|
-
* Placeholder text for Dropdown with no selectedLabel item
|
|
2468
|
-
*/
|
|
2469
|
-
"placeholder"?: string;
|
|
2470
|
-
/**
|
|
2471
|
-
* Add the value of the option as string to set it as new selected value
|
|
2472
|
-
*/
|
|
2473
|
-
"selectedOption"?: string;
|
|
2474
|
-
/**
|
|
2475
|
-
* Controls the size of the Dropdown. 'sm', 'md' and 'lg' correct values and 'small', 'medium' and 'large' are deprecated
|
|
2476
|
-
*/
|
|
2477
|
-
"size"?: 'sm' | 'md' | 'lg' | 'small' | 'medium' | 'large';
|
|
2478
|
-
/**
|
|
2479
|
-
* Support `error` state
|
|
2480
|
-
*/
|
|
2481
|
-
"state"?: boolean;
|
|
2482
|
-
/**
|
|
2483
|
-
* `Controls type of Dropdown.
|
|
2484
|
-
*/
|
|
2485
|
-
"type"?: 'default' | 'multiselect' | 'filter';
|
|
2486
|
-
}
|
|
2487
|
-
interface TdsDropdownFilter {
|
|
2488
|
-
/**
|
|
2489
|
-
* Data is an array of objects that contains label and value `data = [{label:'Option 1', value:'opt-1'},{label:'Option 2', value:'opt-2'}]`
|
|
2490
|
-
*/
|
|
2491
|
-
"data"?: string;
|
|
2492
|
-
/**
|
|
2493
|
-
* Add the value of the option to set it as default
|
|
2494
|
-
*/
|
|
2495
|
-
"defaultOption"?: string;
|
|
2496
|
-
/**
|
|
2497
|
-
* Add the value of the option to set it as default
|
|
2498
|
-
*/
|
|
2499
|
-
"disabled"?: boolean;
|
|
2500
|
-
/**
|
|
2501
|
-
* Add helper text in the bottom of Dropdown
|
|
2502
|
-
*/
|
|
2503
|
-
"helper"?: string;
|
|
2504
|
-
/**
|
|
2505
|
-
* Set to true to make the width following the label text length
|
|
2506
|
-
*/
|
|
2507
|
-
"inline"?: boolean;
|
|
2508
|
-
/**
|
|
2509
|
-
* Label for Dropdown with no selected item
|
|
2510
|
-
*/
|
|
2511
|
-
"label"?: string;
|
|
2512
|
-
/**
|
|
2513
|
-
* Position of label
|
|
2514
|
-
*/
|
|
2515
|
-
"labelPosition"?: 'no-label' | 'outside';
|
|
2516
|
-
/**
|
|
2517
|
-
* Set the variant of the Dropdown.
|
|
2518
|
-
*/
|
|
2519
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
2520
|
-
/**
|
|
2521
|
-
* Direction that the Dropdown will open. Default is auto.
|
|
2522
|
-
*/
|
|
2523
|
-
"openDirection"?: 'down' | 'up' | 'auto';
|
|
2524
|
-
/**
|
|
2525
|
-
* Placeholder text for Dropdown with no selected item
|
|
2526
|
-
*/
|
|
2527
|
-
"placeholder"?: string;
|
|
2528
|
-
/**
|
|
2529
|
-
* Add the value of the option as string to set it as new selected value
|
|
2530
|
-
*/
|
|
2531
|
-
"selectedOption"?: string;
|
|
2532
|
-
/**
|
|
2533
|
-
* Controls the size of the Dropdown. 'sm', 'md' and 'lg' correct values and 'small', 'medium' and 'large' are deprecated
|
|
2534
|
-
*/
|
|
2535
|
-
"size"?: 'sm' | 'md' | 'lg' | 'small' | 'medium' | 'large';
|
|
2536
|
-
/**
|
|
2537
|
-
* Support `error` state
|
|
2538
|
-
*/
|
|
2539
|
-
"state"?: boolean;
|
|
2540
|
-
}
|
|
2541
|
-
interface TdsDropdownOption {
|
|
2542
|
-
/**
|
|
2543
|
-
* Sets option to disabled state if true
|
|
2544
|
-
*/
|
|
2545
|
-
"disabled"?: boolean;
|
|
2546
|
-
/**
|
|
2547
|
-
* Set to true if selected
|
|
2548
|
-
*/
|
|
2549
|
-
"selected"?: boolean;
|
|
2550
|
-
/**
|
|
2551
|
-
* Value is a unique string that will be used for application logic
|
|
2552
|
-
*/
|
|
2553
|
-
"value"?: string;
|
|
2554
|
-
}
|
|
2555
|
-
interface TdsDropdownOptionV2 {
|
|
2556
|
-
/**
|
|
2557
|
-
* Sets the option as disabled.
|
|
2558
|
-
*/
|
|
2559
|
-
"disabled"?: boolean;
|
|
2560
|
-
/**
|
|
2561
|
-
* Blur event for the Dropdown option.
|
|
2562
|
-
*/
|
|
2563
|
-
"onTdsBlur"?: (event: TdsDropdownOptionV2CustomEvent<FocusEvent>) => void;
|
|
2564
|
-
/**
|
|
2565
|
-
* Focus event for the Dropdown option.
|
|
2566
|
-
*/
|
|
2567
|
-
"onTdsFocus"?: (event: TdsDropdownOptionV2CustomEvent<FocusEvent>) => void;
|
|
2568
|
-
/**
|
|
2569
|
-
* Click event for the Dropdown option.
|
|
2570
|
-
*/
|
|
2571
|
-
"onTdsSelect"?: (event: TdsDropdownOptionV2CustomEvent<{
|
|
2572
|
-
selected: boolean;
|
|
2573
|
-
value: string;
|
|
2574
|
-
}>) => void;
|
|
2575
|
-
/**
|
|
2576
|
-
* Value for the Dropdown option.
|
|
2577
|
-
*/
|
|
2578
|
-
"value"?: string;
|
|
2579
|
-
}
|
|
2580
|
-
interface TdsDropdownV2 {
|
|
2581
2270
|
/**
|
|
2582
2271
|
* Default value selected in the Dropdown.
|
|
2583
2272
|
*/
|
|
@@ -2625,22 +2314,22 @@ declare namespace LocalJSX {
|
|
|
2625
2314
|
/**
|
|
2626
2315
|
* Blur event for the Dropdown.
|
|
2627
2316
|
*/
|
|
2628
|
-
"onTdsBlur"?: (event:
|
|
2317
|
+
"onTdsBlur"?: (event: TdsDropdownCustomEvent<FocusEvent>) => void;
|
|
2629
2318
|
/**
|
|
2630
2319
|
* Change event for the Dropdown.
|
|
2631
2320
|
*/
|
|
2632
|
-
"onTdsChange"?: (event:
|
|
2321
|
+
"onTdsChange"?: (event: TdsDropdownCustomEvent<{
|
|
2633
2322
|
name: string;
|
|
2634
2323
|
value: string;
|
|
2635
2324
|
}>) => void;
|
|
2636
2325
|
/**
|
|
2637
2326
|
* Focus event for the Dropdown.
|
|
2638
2327
|
*/
|
|
2639
|
-
"onTdsFocus"?: (event:
|
|
2328
|
+
"onTdsFocus"?: (event: TdsDropdownCustomEvent<FocusEvent>) => void;
|
|
2640
2329
|
/**
|
|
2641
2330
|
* Input event for the Dropdown.
|
|
2642
2331
|
*/
|
|
2643
|
-
"onTdsInput"?: (event:
|
|
2332
|
+
"onTdsInput"?: (event: TdsDropdownCustomEvent<InputEvent>) => void;
|
|
2644
2333
|
/**
|
|
2645
2334
|
* The direction the Dropdown should open, auto if not specified.
|
|
2646
2335
|
*/
|
|
@@ -2658,6 +2347,31 @@ declare namespace LocalJSX {
|
|
|
2658
2347
|
*/
|
|
2659
2348
|
"size"?: 'sm' | 'md' | 'lg';
|
|
2660
2349
|
}
|
|
2350
|
+
interface TdsDropdownOption {
|
|
2351
|
+
/**
|
|
2352
|
+
* Sets the option as disabled.
|
|
2353
|
+
*/
|
|
2354
|
+
"disabled"?: boolean;
|
|
2355
|
+
/**
|
|
2356
|
+
* Blur event for the Dropdown option.
|
|
2357
|
+
*/
|
|
2358
|
+
"onTdsBlur"?: (event: TdsDropdownOptionCustomEvent<FocusEvent>) => void;
|
|
2359
|
+
/**
|
|
2360
|
+
* Focus event for the Dropdown option.
|
|
2361
|
+
*/
|
|
2362
|
+
"onTdsFocus"?: (event: TdsDropdownOptionCustomEvent<FocusEvent>) => void;
|
|
2363
|
+
/**
|
|
2364
|
+
* Click event for the Dropdown option.
|
|
2365
|
+
*/
|
|
2366
|
+
"onTdsSelect"?: (event: TdsDropdownOptionCustomEvent<{
|
|
2367
|
+
selected: boolean;
|
|
2368
|
+
value: string;
|
|
2369
|
+
}>) => void;
|
|
2370
|
+
/**
|
|
2371
|
+
* Value for the Dropdown option.
|
|
2372
|
+
*/
|
|
2373
|
+
"value"?: string;
|
|
2374
|
+
}
|
|
2661
2375
|
interface TdsFolderTab {
|
|
2662
2376
|
/**
|
|
2663
2377
|
* Disables the Tab.
|
|
@@ -2736,7 +2450,7 @@ declare namespace LocalJSX {
|
|
|
2736
2450
|
/**
|
|
2737
2451
|
* The label of the button that opens the dropdown. This is an alternative to the button-label slot.
|
|
2738
2452
|
*/
|
|
2739
|
-
"
|
|
2453
|
+
"label"?: string;
|
|
2740
2454
|
/**
|
|
2741
2455
|
* If the dropdown icon (downwards chevron) should be hidden.
|
|
2742
2456
|
*/
|
|
@@ -2761,9 +2475,9 @@ declare namespace LocalJSX {
|
|
|
2761
2475
|
}
|
|
2762
2476
|
interface TdsHeaderDropdownListUser {
|
|
2763
2477
|
/**
|
|
2764
|
-
*
|
|
2478
|
+
* Header text, usually the users first name and last name.
|
|
2765
2479
|
*/
|
|
2766
|
-
"
|
|
2480
|
+
"header"?: string;
|
|
2767
2481
|
/**
|
|
2768
2482
|
* Image alt text.
|
|
2769
2483
|
*/
|
|
@@ -2773,9 +2487,9 @@ declare namespace LocalJSX {
|
|
|
2773
2487
|
*/
|
|
2774
2488
|
"imgUrl"?: string;
|
|
2775
2489
|
/**
|
|
2776
|
-
*
|
|
2490
|
+
* Subheader text.
|
|
2777
2491
|
*/
|
|
2778
|
-
"
|
|
2492
|
+
"subheader"?: string;
|
|
2779
2493
|
}
|
|
2780
2494
|
interface TdsHeaderHamburger {
|
|
2781
2495
|
}
|
|
@@ -2881,6 +2595,10 @@ declare namespace LocalJSX {
|
|
|
2881
2595
|
* Sticky or Static Actions
|
|
2882
2596
|
*/
|
|
2883
2597
|
"actions"?: 'sticky' | 'static';
|
|
2598
|
+
/**
|
|
2599
|
+
* Sets the header of the Modal.
|
|
2600
|
+
*/
|
|
2601
|
+
"header"?: string;
|
|
2884
2602
|
/**
|
|
2885
2603
|
* Emits when the Modal is closed.
|
|
2886
2604
|
*/
|
|
@@ -2892,7 +2610,7 @@ declare namespace LocalJSX {
|
|
|
2892
2610
|
/**
|
|
2893
2611
|
* Element that will show the Modal (takes priority over selector)
|
|
2894
2612
|
*/
|
|
2895
|
-
"referenceEl"?: HTMLElement;
|
|
2613
|
+
"referenceEl"?: HTMLElement | null;
|
|
2896
2614
|
/**
|
|
2897
2615
|
* CSS selector for the element that will show the Modal.
|
|
2898
2616
|
*/
|
|
@@ -2952,7 +2670,7 @@ declare namespace LocalJSX {
|
|
|
2952
2670
|
/**
|
|
2953
2671
|
* Element that will trigger the Popover (takes priority over selector)
|
|
2954
2672
|
*/
|
|
2955
|
-
"referenceEl"?: HTMLElement;
|
|
2673
|
+
"referenceEl"?: HTMLElement | null;
|
|
2956
2674
|
/**
|
|
2957
2675
|
* The CSS-selector for an element that will trigger the Popover
|
|
2958
2676
|
*/
|
|
@@ -2978,7 +2696,7 @@ declare namespace LocalJSX {
|
|
|
2978
2696
|
/**
|
|
2979
2697
|
* Element that will trigger the pop-over (takes priority over selector)
|
|
2980
2698
|
*/
|
|
2981
|
-
"referenceEl"?: HTMLElement;
|
|
2699
|
+
"referenceEl"?: HTMLElement | null;
|
|
2982
2700
|
/**
|
|
2983
2701
|
* The CSS-selector for an element that will trigger the pop-over
|
|
2984
2702
|
*/
|
|
@@ -3274,9 +2992,9 @@ declare namespace LocalJSX {
|
|
|
3274
2992
|
*/
|
|
3275
2993
|
"bodyData"?: any;
|
|
3276
2994
|
/**
|
|
3277
|
-
* Prop for
|
|
2995
|
+
* Prop for no result message when using filtering
|
|
3278
2996
|
*/
|
|
3279
|
-
"
|
|
2997
|
+
"noResultMessage"?: string;
|
|
3280
2998
|
}
|
|
3281
2999
|
interface TdsTableBodyRow {
|
|
3282
3000
|
}
|
|
@@ -3288,13 +3006,13 @@ declare namespace LocalJSX {
|
|
|
3288
3006
|
}
|
|
3289
3007
|
interface TdsTableFooter {
|
|
3290
3008
|
/**
|
|
3291
|
-
*
|
|
3009
|
+
* <b>Client override</b> Used to set the number of columns, use as fallback if the automatic count of columns fail.
|
|
3292
3010
|
*/
|
|
3293
|
-
"
|
|
3011
|
+
"cols"?: number;
|
|
3294
3012
|
/**
|
|
3295
|
-
*
|
|
3013
|
+
* Sets the default page number.
|
|
3296
3014
|
*/
|
|
3297
|
-
"
|
|
3015
|
+
"defaultPage"?: number;
|
|
3298
3016
|
/**
|
|
3299
3017
|
* Event to send current page value to tds-table-body component, can also be listened to in order to implement custom pagination logic.
|
|
3300
3018
|
*/
|
|
@@ -3303,15 +3021,15 @@ declare namespace LocalJSX {
|
|
|
3303
3021
|
paginationValue: number;
|
|
3304
3022
|
}>) => void;
|
|
3305
3023
|
/**
|
|
3306
|
-
*
|
|
3024
|
+
* Sets the number of pages.
|
|
3307
3025
|
*/
|
|
3308
|
-
"
|
|
3026
|
+
"pages"?: number;
|
|
3309
3027
|
/**
|
|
3310
|
-
*
|
|
3028
|
+
* Enable pagination and show pagination controls
|
|
3311
3029
|
*/
|
|
3312
|
-
"
|
|
3030
|
+
"pagination"?: boolean;
|
|
3313
3031
|
/**
|
|
3314
|
-
*
|
|
3032
|
+
* @deprecated Used to set rows per page, this also enabled automatic pagination of the table.
|
|
3315
3033
|
*/
|
|
3316
3034
|
"rowsPerPage"?: number;
|
|
3317
3035
|
}
|
|
@@ -3571,7 +3289,7 @@ declare namespace LocalJSX {
|
|
|
3571
3289
|
/**
|
|
3572
3290
|
* Element that will trigger the Tooltip (takes priority over selector)
|
|
3573
3291
|
*/
|
|
3574
|
-
"referenceEl"?: HTMLElement;
|
|
3292
|
+
"referenceEl"?: HTMLElement | null;
|
|
3575
3293
|
/**
|
|
3576
3294
|
* The CSS-selector for an element that will trigger the Tooltip
|
|
3577
3295
|
*/
|
|
@@ -3602,10 +3320,7 @@ declare namespace LocalJSX {
|
|
|
3602
3320
|
"tds-datetime": TdsDatetime;
|
|
3603
3321
|
"tds-divider": TdsDivider;
|
|
3604
3322
|
"tds-dropdown": TdsDropdown;
|
|
3605
|
-
"tds-dropdown-filter": TdsDropdownFilter;
|
|
3606
3323
|
"tds-dropdown-option": TdsDropdownOption;
|
|
3607
|
-
"tds-dropdown-option-v2": TdsDropdownOptionV2;
|
|
3608
|
-
"tds-dropdown-v2": TdsDropdownV2;
|
|
3609
3324
|
"tds-folder-tab": TdsFolderTab;
|
|
3610
3325
|
"tds-folder-tabs": TdsFolderTabs;
|
|
3611
3326
|
"tds-footer": TdsFooter;
|
|
@@ -3689,10 +3404,7 @@ declare module "@stencil/core" {
|
|
|
3689
3404
|
"tds-datetime": LocalJSX.TdsDatetime & JSXBase.HTMLAttributes<HTMLTdsDatetimeElement>;
|
|
3690
3405
|
"tds-divider": LocalJSX.TdsDivider & JSXBase.HTMLAttributes<HTMLTdsDividerElement>;
|
|
3691
3406
|
"tds-dropdown": LocalJSX.TdsDropdown & JSXBase.HTMLAttributes<HTMLTdsDropdownElement>;
|
|
3692
|
-
"tds-dropdown-filter": LocalJSX.TdsDropdownFilter & JSXBase.HTMLAttributes<HTMLTdsDropdownFilterElement>;
|
|
3693
3407
|
"tds-dropdown-option": LocalJSX.TdsDropdownOption & JSXBase.HTMLAttributes<HTMLTdsDropdownOptionElement>;
|
|
3694
|
-
"tds-dropdown-option-v2": LocalJSX.TdsDropdownOptionV2 & JSXBase.HTMLAttributes<HTMLTdsDropdownOptionV2Element>;
|
|
3695
|
-
"tds-dropdown-v2": LocalJSX.TdsDropdownV2 & JSXBase.HTMLAttributes<HTMLTdsDropdownV2Element>;
|
|
3696
3408
|
"tds-folder-tab": LocalJSX.TdsFolderTab & JSXBase.HTMLAttributes<HTMLTdsFolderTabElement>;
|
|
3697
3409
|
"tds-folder-tabs": LocalJSX.TdsFolderTabs & JSXBase.HTMLAttributes<HTMLTdsFolderTabsElement>;
|
|
3698
3410
|
"tds-footer": LocalJSX.TdsFooter & JSXBase.HTMLAttributes<HTMLTdsFooterElement>;
|