@scania/tegel 1.0.1 → 1.1.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-babd18a6.js +29 -0
- package/dist/cjs/generateUniqueId-56da4810.js +28 -0
- package/dist/cjs/hasSlot-1c90e9ba.js +11 -0
- package/dist/cjs/{index-2a60e106.js → index-f21bdb5d.js} +96 -25
- package/dist/cjs/inheritAriaAttributes-640b1abb.js +78 -0
- package/dist/cjs/inheritAttributes-845f5217.js +27 -0
- package/dist/cjs/isHeadingElement-d31dde38.js +71 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/tds-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-accordion.cjs.entry.js +1 -1
- package/dist/cjs/tds-badge.cjs.entry.js +1 -1
- package/dist/cjs/tds-banner.cjs.entry.js +7 -6
- package/dist/cjs/tds-block.cjs.entry.js +5 -3
- package/dist/cjs/tds-body-cell.cjs.entry.js +1 -1
- package/dist/cjs/tds-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/tds-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/tds-button.cjs.entry.js +5 -5
- package/dist/cjs/tds-card.cjs.entry.js +11 -10
- package/dist/cjs/tds-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/tds-chip.cjs.entry.js +7 -6
- package/dist/cjs/tds-core-header-item_2.cjs.entry.js +3 -3
- package/dist/cjs/tds-datetime.cjs.entry.js +2 -2
- package/dist/cjs/tds-divider.cjs.entry.js +1 -1
- package/dist/cjs/tds-dropdown-option.cjs.entry.js +4 -3
- package/dist/cjs/tds-dropdown.cjs.entry.js +191 -57
- package/dist/cjs/tds-folder-tab.cjs.entry.js +2 -2
- package/dist/cjs/tds-folder-tabs.cjs.entry.js +1 -1
- package/dist/cjs/tds-footer-group.cjs.entry.js +1 -1
- package/dist/cjs/tds-footer-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-footer.cjs.entry.js +5 -5
- package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-cell.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +4 -3
- package/dist/cjs/tds-header-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/tds-header-hamburger.cjs.entry.js +4 -3
- package/dist/cjs/tds-header-launcher-button.cjs.entry.js +4 -3
- package/dist/cjs/tds-header-launcher-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-grid-title.cjs.entry.js +3 -3
- package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +5 -4
- package/dist/cjs/tds-header-launcher-list-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +3 -3
- package/dist/cjs/tds-header-launcher-list.cjs.entry.js +3 -3
- package/dist/cjs/tds-header-launcher.cjs.entry.js +6 -4
- package/dist/cjs/tds-header-title.cjs.entry.js +1 -1
- package/dist/cjs/tds-header.cjs.entry.js +21 -5
- package/dist/cjs/tds-icon.cjs.entry.js +4 -2
- package/dist/cjs/tds-inline-tab.cjs.entry.js +2 -2
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +1 -7
- package/dist/cjs/tds-link.cjs.entry.js +1 -1
- package/dist/cjs/tds-message.cjs.entry.js +1 -1
- package/dist/cjs/tds-modal.cjs.entry.js +17 -21
- package/dist/cjs/tds-navigation-tab.cjs.entry.js +2 -2
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +1 -4
- package/dist/cjs/tds-popover-canvas.cjs.entry.js +3 -3
- package/dist/cjs/tds-popover-core.cjs.entry.js +1 -1
- package/dist/cjs/tds-popover-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-popover-menu.cjs.entry.js +3 -3
- package/dist/cjs/tds-radio-button.cjs.entry.js +3 -3
- package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +4 -3
- package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +2 -2
- package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +3 -1
- package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +3 -1
- package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +2 -1
- package/dist/cjs/tds-side-menu-item.cjs.entry.js +5 -3
- package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu-user.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu.cjs.entry.js +1 -1
- package/dist/cjs/tds-slider.cjs.entry.js +15 -9
- package/dist/cjs/tds-spinner.cjs.entry.js +1 -1
- package/dist/cjs/tds-step.cjs.entry.js +1 -1
- package/dist/cjs/tds-stepper.cjs.entry.js +3 -3
- package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-body-row.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-body.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-footer.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-header.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-toolbar.cjs.entry.js +1 -1
- package/dist/cjs/tds-table.cjs.entry.js +3 -3
- package/dist/cjs/tds-text-field.cjs.entry.js +5 -5
- package/dist/cjs/tds-textarea.cjs.entry.js +1 -1
- package/dist/cjs/tds-toast.cjs.entry.js +8 -7
- package/dist/cjs/tds-toggle.cjs.entry.js +3 -3
- package/dist/cjs/tds-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/tegel.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/accordion/accordion.stories.js +1 -1
- package/dist/collection/components/badge/badge.stories.js +1 -1
- package/dist/collection/components/banner/banner.js +2 -1
- package/dist/collection/components/banner/banner.stories.js +2 -2
- package/dist/collection/components/block/block.js +4 -2
- package/dist/collection/components/block/block.stories.js +1 -1
- package/dist/collection/components/breadcrumbs/breadcrumbs.stories.js +1 -1
- package/dist/collection/components/button/button.css +12 -12
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/button.stories.js +2 -2
- package/dist/collection/components/card/card.css +4 -2
- package/dist/collection/components/card/card.js +2 -1
- package/dist/collection/components/card/card.stories.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/checkbox/checkbox.stories.js +1 -1
- package/dist/collection/components/chip/chip.js +2 -1
- package/dist/collection/components/chip/chip.stories.js +1 -1
- package/dist/collection/components/datetime/datetime.js +1 -1
- package/dist/collection/components/datetime/datetime.stories.js +1 -1
- package/dist/collection/components/divider/divider.stories.js +1 -1
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +4 -3
- package/dist/collection/components/dropdown/dropdown.css +7 -2
- package/dist/collection/components/dropdown/dropdown.js +161 -63
- package/dist/collection/components/dropdown/dropdown.stories.js +10 -14
- package/dist/collection/components/dropdown/test/dropdown.e2e.js +32 -0
- package/dist/collection/components/dropdown/test/dropdown.filter.spec.js +49 -0
- package/dist/collection/components/dropdown/test/dropdown.multiselect.e2e.js +31 -0
- package/dist/collection/components/dropdown/test/dropdown.multiselect.spec.js +51 -0
- package/dist/collection/components/dropdown/test/dropdown.spec.js +51 -0
- package/dist/collection/components/footer/footer.js +2 -3
- package/dist/collection/components/footer/footer.stories.js +1 -1
- package/dist/collection/components/header/header-dropdown/header-dropdown.js +1 -1
- package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +2 -1
- package/dist/collection/components/header/header-hamburger/header-hamburger.js +1 -1
- package/dist/collection/components/header/header-item/header-item.js +1 -1
- package/dist/collection/components/header/header-launcher/header-launcher.js +2 -1
- package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +1 -1
- package/dist/collection/components/header/header-launcher-grid/header-launcher-grid.js +2 -1
- package/dist/collection/components/header/header-launcher-grid-title/header-launcher-grid-title.js +1 -1
- package/dist/collection/components/header/header-launcher-list/header-launcher-list.js +1 -1
- package/dist/collection/components/header/header-launcher-list-title/header-launcher-list-title.js +1 -1
- package/dist/collection/components/header/header.js +2 -1
- package/dist/collection/components/header/header.stories.js +1 -1
- package/dist/collection/components/icon/icon.js +20 -1
- package/dist/collection/components/icon/icon.stories.js +1 -1
- package/dist/collection/components/link/link.stories.js +1 -1
- package/dist/collection/components/message/message.stories.js +1 -1
- package/dist/collection/components/modal/modal.css +27 -33
- package/dist/collection/components/modal/modal.js +12 -16
- package/dist/collection/components/modal/modal.stories.js +17 -7
- package/dist/collection/components/popover-canvas/popover-canvas.js +1 -1
- package/dist/collection/components/popover-canvas/popover-canvas.stories.js +1 -1
- package/dist/collection/components/popover-menu/popover-menu.js +1 -1
- package/dist/collection/components/popover-menu/popover-menu.stories.js +3 -5
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/radio-button.stories.js +1 -1
- package/dist/collection/components/side-menu/side-menu-close-button/side-menu-close-button.js +1 -1
- package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +1 -1
- package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +1 -0
- package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.js +2 -0
- package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +2 -0
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +3 -1
- package/dist/collection/components/side-menu/side-menu.js +3 -3
- package/dist/collection/components/side-menu/side-menu.stories.js +12 -3
- package/dist/collection/components/slider/slider.js +16 -7
- package/dist/collection/components/slider/slider.stories.js +3 -3
- package/dist/collection/components/spinner/spinner.stories.js +1 -1
- package/dist/collection/components/stepper/stepper.js +6 -3
- package/dist/collection/components/stepper/stepper.stories.js +1 -1
- package/dist/collection/components/table/table/table.js +2 -2
- package/dist/collection/components/table/table-component-basic.stories.js +1 -1
- package/dist/collection/components/table/table-component-batch-actions.stories.js +1 -1
- package/dist/collection/components/table/table-component-custom-width.stories.js +1 -1
- package/dist/collection/components/table/table-component-expandable-rows.stories.js +1 -1
- package/dist/collection/components/table/table-component-filtering.stories.js +1 -9
- package/dist/collection/components/table/table-component-multiselect.stories.js +1 -2
- package/dist/collection/components/table/table-component-pagination.stories.js +1 -1
- package/dist/collection/components/table/table-component-sorting.stories.js +1 -1
- package/dist/collection/components/table/table.filtering.spec.js +0 -3
- package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.css +3 -2
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.stories.js +1 -1
- package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.css +3 -2
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +1 -7
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.stories.js +1 -1
- package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.css +4 -3
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +0 -3
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.stories.js +1 -1
- package/dist/collection/components/text-field/text-field.js +2 -2
- package/dist/collection/components/text-field/text-field.stories.js +1 -1
- package/dist/collection/components/textarea/textarea.stories.js +1 -1
- package/dist/collection/components/toast/toast.css +6 -4
- package/dist/collection/components/toast/toast.js +2 -1
- package/dist/collection/components/toast/toast.stories.js +1 -1
- package/dist/collection/components/toggle/toggle.js +1 -1
- package/dist/collection/components/toggle/toggle.stories.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/tooltip.stories.js +3 -13
- package/dist/collection/stories/Installation/installation.stories.js +4 -8
- package/dist/collection/stories/formatHtmlPreview.js +10 -0
- package/dist/collection/stories/foundations/color/color-brand.stories.js +1 -1
- package/dist/collection/stories/foundations/color/color-scales.stories.js +1 -1
- package/dist/collection/stories/foundations/color/color-semantic.stories.js +2 -2
- package/dist/collection/stories/foundations/grid/grid.stories.js +1 -1
- package/dist/collection/stories/foundations/spacing/spacing-element.stories.js +1 -1
- package/dist/collection/stories/foundations/spacing/spacing-layout.stories.js +1 -1
- package/dist/collection/stories/foundations/typography/typography-body.stories.js +1 -1
- package/dist/collection/stories/foundations/typography/typography-detail.stories.js +1 -1
- package/dist/collection/stories/foundations/typography/typography-headline.stories.js +1 -1
- package/dist/collection/stories/foundations/typography/typography-paragraph.stories.js +1 -1
- package/dist/collection/stories/patterns/navigation/navigation-basic.stories.js +1 -1
- package/dist/collection/stories/patterns/navigation/navigation-fewitems.stories.js +1 -1
- package/dist/collection/stories/patterns/navigation/navigation-manyitems.stories.js +1 -1
- package/dist/collection/stories/patterns/navigation/navigation-user-menu.stories.js +1 -1
- package/dist/collection/stories/utility/color/background-color.stories.js +1 -1
- package/dist/collection/stories/utility/color/text-color.stories.js +1 -1
- package/dist/collection/types/Attributes.js +1 -0
- package/dist/collection/utils/appendHiddenInput.js +25 -0
- package/dist/collection/utils/dfs.js +26 -0
- package/dist/collection/utils/findNextFocusableElement.js +16 -0
- package/dist/collection/utils/findPreviousFocusableElement.js +17 -0
- package/dist/collection/utils/generateUniqueId.js +25 -0
- package/dist/collection/utils/getNestedChildOfSiblingsMatching.js +22 -0
- package/dist/collection/utils/getNextNestedChildOfSiblingsMatching.js +32 -0
- package/dist/collection/utils/getNextSibling.js +2 -0
- package/dist/collection/utils/getPreviousNestedChildOfSiblingsMatching.js +32 -0
- package/dist/collection/utils/getPreviousSibling.js +2 -0
- package/dist/collection/utils/hasSlot.js +8 -0
- package/dist/collection/utils/inheritAriaAttributes.js +74 -0
- package/dist/collection/utils/inheritAttributes.js +24 -0
- package/dist/collection/utils/isHeadingElement.js +12 -0
- package/dist/collection/utils/updateListChildrenRoles.js +15 -0
- package/{components → dist/components}/checkbox.js +1 -1
- package/dist/components/dfs.js +27 -0
- package/dist/components/generateUniqueId.js +26 -0
- package/dist/components/getPreviousNestedChildOfSiblingsMatching.js +68 -0
- package/dist/components/hasSlot.js +9 -0
- package/{components → dist/components}/header-dropdown-list.js +1 -1
- package/{components → dist/components}/header-item.js +1 -1
- package/{components → dist/components}/header-launcher-button.js +1 -1
- package/{components → dist/components}/icon.js +4 -1
- package/dist/components/inheritAriaAttributes.js +76 -0
- package/dist/components/inheritAttributes.js +25 -0
- package/{components → dist/components}/popover-canvas.js +1 -1
- package/{components → dist/components}/popover-core.js +5 -1
- package/{components → dist/components}/side-menu-item.js +3 -1
- package/{components → dist/components}/tds-accordion-item.d.ts +1 -1
- package/{components → dist/components}/tds-accordion.d.ts +1 -1
- package/{components → dist/components}/tds-badge.d.ts +1 -1
- package/{components → dist/components}/tds-badge.js +3 -0
- package/{components → dist/components}/tds-banner.d.ts +1 -1
- package/{components → dist/components}/tds-banner.js +2 -1
- package/{components → dist/components}/tds-block.d.ts +1 -1
- package/{components → dist/components}/tds-block.js +4 -2
- package/{components → dist/components}/tds-body-cell.d.ts +1 -1
- package/{components → dist/components}/tds-breadcrumb.d.ts +1 -1
- package/{components → dist/components}/tds-breadcrumbs.d.ts +1 -1
- package/{components → dist/components}/tds-button.d.ts +1 -1
- package/dist/components/tds-button.js +70 -0
- package/{components → dist/components}/tds-card.d.ts +1 -1
- package/{components → dist/components}/tds-card.js +3 -2
- package/{components → dist/components}/tds-checkbox.d.ts +1 -1
- package/{components → dist/components}/tds-chip.d.ts +1 -1
- package/{components → dist/components}/tds-chip.js +2 -1
- package/{components → dist/components}/tds-core-header-item.d.ts +1 -1
- package/{components → dist/components}/tds-datetime.d.ts +1 -1
- package/{components → dist/components}/tds-datetime.js +1 -1
- package/{components → dist/components}/tds-divider.d.ts +1 -1
- package/{components → dist/components}/tds-dropdown-option.d.ts +1 -1
- package/{components → dist/components}/tds-dropdown-option.js +3 -2
- package/{components → dist/components}/tds-dropdown.d.ts +1 -1
- package/dist/components/tds-dropdown.js +456 -0
- package/{components → dist/components}/tds-folder-tab.d.ts +1 -1
- package/{components → dist/components}/tds-folder-tab.js +1 -1
- package/{components → dist/components}/tds-folder-tabs.d.ts +1 -1
- package/{components → dist/components}/tds-folder-tabs.js +2 -0
- package/{components → dist/components}/tds-footer-group.d.ts +1 -1
- package/{components → dist/components}/tds-footer-item.d.ts +1 -1
- package/{components → dist/components}/tds-footer.d.ts +1 -1
- package/{components → dist/components}/tds-footer.js +1 -1
- package/{components → dist/components}/tds-header-brand-symbol.d.ts +1 -1
- package/{components → dist/components}/tds-header-cell.d.ts +1 -1
- package/{components → dist/components}/tds-header-dropdown-list-item.d.ts +1 -1
- package/{components → dist/components}/tds-header-dropdown-list-user.d.ts +1 -1
- package/{components → dist/components}/tds-header-dropdown-list.d.ts +1 -1
- package/{components → dist/components}/tds-header-dropdown.d.ts +1 -1
- package/{components → dist/components}/tds-header-dropdown.js +1 -1
- package/{components → dist/components}/tds-header-hamburger.d.ts +1 -1
- package/{components → dist/components}/tds-header-hamburger.js +1 -1
- package/{components → dist/components}/tds-header-item.d.ts +1 -1
- package/{components → dist/components}/tds-header-launcher-button.d.ts +1 -1
- package/{components → dist/components}/tds-header-launcher-grid-item.d.ts +1 -1
- package/{components → dist/components}/tds-header-launcher-grid-title.d.ts +1 -1
- package/{components → dist/components}/tds-header-launcher-grid-title.js +1 -1
- package/{components → dist/components}/tds-header-launcher-grid.d.ts +1 -1
- package/{components → dist/components}/tds-header-launcher-grid.js +1 -1
- package/{components → dist/components}/tds-header-launcher-list-item.d.ts +1 -1
- package/{components → dist/components}/tds-header-launcher-list-title.d.ts +1 -1
- package/{components → dist/components}/tds-header-launcher-list-title.js +1 -1
- package/{components → dist/components}/tds-header-launcher-list.d.ts +1 -1
- package/{components → dist/components}/tds-header-launcher-list.js +1 -1
- package/{components → dist/components}/tds-header-launcher.d.ts +1 -1
- package/{components → dist/components}/tds-header-launcher.js +2 -1
- package/{components → dist/components}/tds-header-title.d.ts +1 -1
- package/{components → dist/components}/tds-header.d.ts +1 -1
- package/{components → dist/components}/tds-header.js +16 -1
- package/{components → dist/components}/tds-icon.d.ts +1 -1
- package/{components → dist/components}/tds-inline-tab.d.ts +1 -1
- package/dist/components/tds-inline-tab.js +45 -0
- package/{components → dist/components}/tds-inline-tabs.d.ts +1 -1
- package/{components → dist/components}/tds-inline-tabs.js +2 -6
- package/{components → dist/components}/tds-link.d.ts +1 -1
- package/{components → dist/components}/tds-message.d.ts +1 -1
- package/{components → dist/components}/tds-modal.d.ts +1 -1
- package/{components → dist/components}/tds-modal.js +13 -17
- package/{components → dist/components}/tds-navigation-tab.d.ts +1 -1
- package/dist/components/tds-navigation-tab.js +45 -0
- package/{components → dist/components}/tds-navigation-tabs.d.ts +1 -1
- package/{components → dist/components}/tds-navigation-tabs.js +2 -3
- package/{components → dist/components}/tds-popover-canvas.d.ts +1 -1
- package/{components → dist/components}/tds-popover-core.d.ts +1 -1
- package/{components → dist/components}/tds-popover-menu-item.d.ts +1 -1
- package/{components → dist/components}/tds-popover-menu.d.ts +1 -1
- package/{components → dist/components}/tds-popover-menu.js +1 -1
- package/{components → dist/components}/tds-radio-button.d.ts +1 -1
- package/{components → dist/components}/tds-radio-button.js +1 -1
- package/{components → dist/components}/tds-side-menu-close-button.d.ts +1 -1
- package/{components → dist/components}/tds-side-menu-close-button.js +1 -1
- package/{components → dist/components}/tds-side-menu-collapse-button.d.ts +1 -1
- package/{components → dist/components}/tds-side-menu-collapse-button.js +1 -1
- package/{components → dist/components}/tds-side-menu-dropdown-list-item.d.ts +1 -1
- package/{components → dist/components}/tds-side-menu-dropdown-list-item.js +2 -0
- package/{components → dist/components}/tds-side-menu-dropdown-list.d.ts +1 -1
- package/{components → dist/components}/tds-side-menu-dropdown-list.js +2 -0
- package/{components → dist/components}/tds-side-menu-dropdown.d.ts +1 -1
- package/{components → dist/components}/tds-side-menu-dropdown.js +1 -0
- package/{components → dist/components}/tds-side-menu-item.d.ts +1 -1
- package/{components → dist/components}/tds-side-menu-overlay.d.ts +1 -1
- package/{components → dist/components}/tds-side-menu-user-image.d.ts +1 -1
- package/{components → dist/components}/tds-side-menu-user-label.d.ts +1 -1
- package/{components → dist/components}/tds-side-menu-user.d.ts +1 -1
- package/{components → dist/components}/tds-side-menu.d.ts +1 -1
- package/{components → dist/components}/tds-side-menu.js +3 -1
- package/{components → dist/components}/tds-slider.d.ts +1 -1
- package/{components → dist/components}/tds-slider.js +16 -8
- package/{components → dist/components}/tds-spinner.d.ts +1 -1
- package/{components → dist/components}/tds-step.d.ts +1 -1
- package/{components → dist/components}/tds-stepper.d.ts +1 -1
- package/{components → dist/components}/tds-stepper.js +6 -1
- package/{components → dist/components}/tds-table-body-row-expandable.d.ts +1 -1
- package/{components → dist/components}/tds-table-body-row.d.ts +1 -1
- package/{components → dist/components}/tds-table-body.d.ts +1 -1
- package/{components → dist/components}/tds-table-footer.d.ts +1 -1
- package/{components → dist/components}/tds-table-header.d.ts +1 -1
- package/{components → dist/components}/tds-table-toolbar.d.ts +1 -1
- package/{components → dist/components}/tds-table.d.ts +1 -1
- package/{components → dist/components}/tds-table.js +8 -1
- package/{components → dist/components}/tds-text-field.d.ts +1 -1
- package/{components → dist/components}/tds-text-field.js +2 -2
- package/{components → dist/components}/tds-textarea.d.ts +1 -1
- package/{components → dist/components}/tds-toast.d.ts +1 -1
- package/{components → dist/components}/tds-toast.js +3 -2
- package/{components → dist/components}/tds-toggle.d.ts +1 -1
- package/{components → dist/components}/tds-toggle.js +1 -1
- package/{components → dist/components}/tds-tooltip.d.ts +1 -1
- package/{components → dist/components}/tds-tooltip.js +1 -1
- package/dist/esm/dfs-3f5bd9e8.js +27 -0
- package/dist/esm/generateUniqueId-c96c8ee6.js +26 -0
- package/dist/esm/hasSlot-d52114d0.js +9 -0
- package/dist/esm/{index-7471aeb6.js → index-35cb608c.js} +96 -25
- package/dist/esm/inheritAriaAttributes-d4dfca6b.js +76 -0
- package/dist/esm/inheritAttributes-8bb09af0.js +25 -0
- package/dist/esm/isHeadingElement-2c158fc4.js +68 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/tds-accordion-item.entry.js +1 -1
- package/dist/esm/tds-accordion.entry.js +1 -1
- package/dist/esm/tds-badge.entry.js +1 -1
- package/dist/esm/tds-banner.entry.js +3 -2
- package/dist/esm/tds-block.entry.js +5 -3
- package/dist/esm/tds-body-cell.entry.js +1 -1
- package/dist/esm/tds-breadcrumb.entry.js +1 -1
- package/dist/esm/tds-breadcrumbs.entry.js +1 -1
- package/dist/esm/tds-button.entry.js +3 -3
- package/dist/esm/tds-card.entry.js +4 -3
- package/dist/esm/tds-checkbox.entry.js +2 -2
- package/dist/esm/tds-chip.entry.js +3 -2
- package/dist/esm/tds-core-header-item_2.entry.js +2 -2
- package/dist/esm/tds-datetime.entry.js +2 -2
- package/dist/esm/tds-divider.entry.js +1 -1
- package/dist/esm/tds-dropdown-option.entry.js +4 -3
- package/dist/esm/tds-dropdown.entry.js +191 -57
- package/dist/esm/tds-folder-tab.entry.js +2 -2
- package/dist/esm/tds-folder-tabs.entry.js +1 -1
- package/dist/esm/tds-footer-group.entry.js +1 -1
- package/dist/esm/tds-footer-item.entry.js +1 -1
- package/dist/esm/tds-footer.entry.js +2 -2
- package/dist/esm/tds-header-brand-symbol.entry.js +1 -1
- package/dist/esm/tds-header-cell.entry.js +1 -1
- package/dist/esm/tds-header-dropdown-list-item.entry.js +1 -1
- package/dist/esm/tds-header-dropdown-list-user.entry.js +1 -1
- package/dist/esm/tds-header-dropdown-list.entry.js +3 -2
- package/dist/esm/tds-header-dropdown.entry.js +2 -2
- package/dist/esm/tds-header-hamburger.entry.js +3 -2
- package/dist/esm/tds-header-launcher-button.entry.js +3 -2
- package/dist/esm/tds-header-launcher-grid-item.entry.js +1 -1
- package/dist/esm/tds-header-launcher-grid-title.entry.js +2 -2
- package/dist/esm/tds-header-launcher-grid.entry.js +3 -2
- package/dist/esm/tds-header-launcher-list-item.entry.js +1 -1
- package/dist/esm/tds-header-launcher-list-title.entry.js +2 -2
- package/dist/esm/tds-header-launcher-list.entry.js +2 -2
- package/dist/esm/tds-header-launcher.entry.js +4 -2
- package/dist/esm/tds-header-title.entry.js +1 -1
- package/dist/esm/tds-header.entry.js +18 -2
- package/dist/esm/tds-icon.entry.js +4 -2
- package/dist/esm/tds-inline-tab.entry.js +2 -2
- package/dist/esm/tds-inline-tabs.entry.js +1 -7
- package/dist/esm/tds-link.entry.js +1 -1
- package/dist/esm/tds-message.entry.js +1 -1
- package/dist/esm/tds-modal.entry.js +14 -18
- package/dist/esm/tds-navigation-tab.entry.js +2 -2
- package/dist/esm/tds-navigation-tabs.entry.js +1 -4
- package/dist/esm/tds-popover-canvas.entry.js +2 -2
- package/dist/esm/tds-popover-core.entry.js +1 -1
- package/dist/esm/tds-popover-menu-item.entry.js +1 -1
- package/dist/esm/tds-popover-menu.entry.js +2 -2
- package/dist/esm/tds-radio-button.entry.js +2 -2
- package/dist/esm/tds-side-menu-close-button.entry.js +3 -2
- package/dist/esm/tds-side-menu-collapse-button.entry.js +2 -2
- package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +3 -1
- package/dist/esm/tds-side-menu-dropdown-list.entry.js +3 -1
- package/dist/esm/tds-side-menu-dropdown.entry.js +2 -1
- package/dist/esm/tds-side-menu-item.entry.js +4 -2
- package/dist/esm/tds-side-menu-overlay.entry.js +1 -1
- package/dist/esm/tds-side-menu-user-image_2.entry.js +1 -1
- package/dist/esm/tds-side-menu-user.entry.js +1 -1
- package/dist/esm/tds-side-menu.entry.js +1 -1
- package/dist/esm/tds-slider.entry.js +14 -8
- package/dist/esm/tds-spinner.entry.js +1 -1
- package/dist/esm/tds-step.entry.js +1 -1
- package/dist/esm/tds-stepper.entry.js +2 -2
- package/dist/esm/tds-table-body-row-expandable.entry.js +1 -1
- package/dist/esm/tds-table-body-row.entry.js +1 -1
- package/dist/esm/tds-table-body.entry.js +1 -1
- package/dist/esm/tds-table-footer.entry.js +1 -1
- package/dist/esm/tds-table-header.entry.js +1 -1
- package/dist/esm/tds-table-toolbar.entry.js +1 -1
- package/dist/esm/tds-table.entry.js +2 -2
- package/dist/esm/tds-text-field.entry.js +3 -3
- package/dist/esm/tds-textarea.entry.js +1 -1
- package/dist/esm/tds-toast.entry.js +4 -3
- package/dist/esm/tds-toggle.entry.js +2 -2
- package/dist/esm/tds-tooltip.entry.js +2 -2
- package/dist/esm/tegel.js +4 -4
- package/dist/tegel/{p-c1ed83c6.entry.js → p-016d07b2.entry.js} +1 -1
- package/dist/tegel/{p-5b58d6c9.entry.js → p-03fc5ca3.entry.js} +1 -1
- package/dist/tegel/{p-78a367c0.entry.js → p-05eda91f.entry.js} +1 -1
- package/dist/tegel/{p-38c68fac.entry.js → p-0893ad9d.entry.js} +1 -1
- package/dist/tegel/p-098a26f3.js +1 -0
- package/dist/tegel/{p-2782cab8.entry.js → p-0be49c5e.entry.js} +1 -1
- package/dist/tegel/{p-073cf6c0.entry.js → p-0d300a96.entry.js} +1 -1
- package/dist/tegel/{p-286691df.entry.js → p-0e6f9768.entry.js} +1 -1
- package/dist/tegel/p-0edeccb6.js +1 -0
- package/dist/tegel/p-18de1663.entry.js +1 -0
- package/dist/tegel/p-1a978a31.entry.js +1 -0
- package/dist/tegel/{p-eeedd806.entry.js → p-1efa3ab3.entry.js} +1 -1
- package/dist/tegel/{p-9c6e8abb.entry.js → p-1f35bdc7.entry.js} +1 -1
- package/dist/tegel/{p-888fec9e.entry.js → p-25347b32.entry.js} +1 -1
- package/dist/tegel/p-25f306a0.js +2 -0
- package/dist/tegel/p-2b8680cb.entry.js +1 -0
- package/dist/tegel/p-2eb27fd7.entry.js +1 -0
- package/dist/tegel/{p-301110a1.entry.js → p-3516a5fc.entry.js} +1 -1
- package/dist/tegel/{p-ae2c6537.entry.js → p-374161a8.entry.js} +1 -1
- package/dist/tegel/{p-f6ff8d7e.entry.js → p-3ade3e28.entry.js} +1 -1
- package/dist/tegel/{p-bd823881.entry.js → p-41016d27.entry.js} +1 -1
- package/dist/tegel/p-517deee0.entry.js +1 -0
- package/dist/tegel/{p-d289a792.entry.js → p-52979643.entry.js} +1 -1
- package/dist/tegel/{p-dfeaa580.entry.js → p-535504e3.entry.js} +1 -1
- package/dist/tegel/p-54680d69.entry.js +1 -0
- package/dist/tegel/p-5b9f499d.entry.js +1 -0
- package/dist/tegel/p-5e9aacd5.entry.js +1 -0
- package/dist/tegel/p-5f203f87.entry.js +1 -0
- package/dist/tegel/p-6adb65cb.entry.js +1 -0
- package/dist/tegel/{p-8b634b36.entry.js → p-6e863efc.entry.js} +1 -1
- package/dist/tegel/{p-495d2b37.entry.js → p-72d3a19b.entry.js} +1 -1
- package/dist/tegel/{p-f712146b.entry.js → p-7480ddd3.entry.js} +1 -1
- package/dist/tegel/p-78f42968.entry.js +1 -0
- package/dist/tegel/p-792a3cb6.entry.js +1 -0
- package/dist/tegel/{p-514610b9.entry.js → p-80a99356.entry.js} +1 -1
- package/dist/tegel/p-80b501e3.entry.js +1 -0
- package/dist/tegel/p-81039661.js +1 -0
- package/dist/tegel/p-86f542a6.js +1 -0
- package/dist/tegel/p-89e23724.entry.js +1 -0
- package/dist/tegel/{p-2efaac74.entry.js → p-8f1a037c.entry.js} +1 -1
- package/dist/tegel/{p-fc88f7ba.entry.js → p-900532bf.entry.js} +1 -1
- package/dist/tegel/p-90987d11.entry.js +1 -0
- package/dist/tegel/{p-62732059.entry.js → p-92984605.entry.js} +1 -1
- package/dist/tegel/p-97c23511.entry.js +1 -0
- package/dist/tegel/p-9839df9e.entry.js +1 -0
- package/dist/tegel/p-a001ec58.entry.js +1 -0
- package/dist/tegel/p-a0f3086c.entry.js +1 -0
- package/dist/tegel/{p-cbb227b3.entry.js → p-a5152b59.entry.js} +1 -1
- package/dist/tegel/{p-824f5dad.entry.js → p-a5a9cac8.entry.js} +1 -1
- package/dist/tegel/{p-c9c5b832.entry.js → p-a8712a64.entry.js} +1 -1
- package/dist/tegel/{p-166d6252.entry.js → p-aaaced18.entry.js} +1 -1
- package/dist/tegel/p-ae110fc2.js +1 -0
- package/dist/tegel/{p-ef96df10.entry.js → p-b0703dd5.entry.js} +1 -1
- package/dist/tegel/{p-94c27eb3.entry.js → p-bc94c1c2.entry.js} +1 -1
- package/dist/tegel/{p-0d886890.entry.js → p-be7119d3.entry.js} +1 -1
- package/dist/tegel/{p-b0a5cef2.entry.js → p-c0b7acbb.entry.js} +1 -1
- package/dist/tegel/p-c191ca51.entry.js +1 -0
- package/dist/tegel/{p-0eac159c.entry.js → p-c277a05d.entry.js} +1 -1
- package/dist/tegel/{p-e9b8d1d5.entry.js → p-c56160f2.entry.js} +1 -1
- package/dist/tegel/{p-f2819741.entry.js → p-cb9aba1b.entry.js} +1 -1
- package/dist/tegel/{p-974ee937.entry.js → p-ceaa2ea7.entry.js} +1 -1
- package/dist/tegel/p-d1dffa21.entry.js +1 -0
- package/dist/tegel/{p-34e75630.entry.js → p-d5bf6d99.entry.js} +1 -1
- package/dist/tegel/p-d5d2a4f0.entry.js +1 -0
- package/dist/tegel/{p-a72409fc.entry.js → p-d6c9b267.entry.js} +1 -1
- package/dist/tegel/{p-9af2e8ab.entry.js → p-d8137332.entry.js} +1 -1
- package/dist/tegel/{p-0d573de8.entry.js → p-db67d784.entry.js} +1 -1
- package/dist/tegel/p-dc0fcac8.entry.js +1 -0
- package/dist/tegel/p-dfbb887e.entry.js +1 -0
- package/dist/tegel/p-e035ddeb.entry.js +1 -0
- package/dist/tegel/{p-446ab609.entry.js → p-e3aa0903.entry.js} +1 -1
- package/dist/tegel/p-e3c5a663.entry.js +1 -0
- package/dist/tegel/{p-d1be74e7.entry.js → p-e4db065d.entry.js} +1 -1
- package/dist/tegel/p-e55ec17c.entry.js +1 -0
- package/dist/tegel/{p-acabb656.entry.js → p-e8c8ed2f.entry.js} +1 -1
- package/dist/tegel/p-ea5a0c9d.entry.js +1 -0
- package/dist/tegel/{p-026a3e05.entry.js → p-eda7ecf6.entry.js} +1 -1
- package/dist/tegel/p-efb40b9c.entry.js +1 -0
- package/dist/tegel/p-f5063d5b.entry.js +1 -0
- package/dist/tegel/{p-386c3c42.entry.js → p-f55da9ef.entry.js} +1 -1
- package/dist/tegel/p-f7ce52e9.js +1 -0
- package/dist/tegel/{p-7bbae944.entry.js → p-f8da6ce5.entry.js} +1 -1
- package/dist/tegel/{p-364654b5.entry.js → p-f935d5f3.entry.js} +1 -1
- package/dist/tegel/p-fc76d99c.entry.js +1 -0
- package/dist/tegel/p-fecfc7c7.entry.js +1 -0
- package/dist/tegel/tegel.css +2 -2
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/block/block.d.ts +1 -1
- package/dist/types/components/dropdown/dropdown.d.ts +33 -14
- package/dist/types/components/icon/icon.d.ts +2 -0
- package/dist/types/components/modal/modal.d.ts +2 -2
- package/dist/types/components/modal/modal.stories.d.ts +8 -0
- package/dist/types/components/popover-canvas/popover-canvas.d.ts +1 -1
- package/dist/types/components/popover-menu/popover-menu.d.ts +1 -1
- package/dist/types/components/side-menu/side-menu.stories.d.ts +12 -0
- package/dist/types/components/slider/slider.d.ts +1 -1
- package/dist/types/components/stepper/stepper.d.ts +1 -0
- package/dist/types/components/table/table-component-filtering.stories.d.ts +0 -8
- package/dist/types/components/table/table-component-multiselect.stories.d.ts +0 -1
- package/dist/types/components/tooltip/tooltip.d.ts +1 -1
- package/dist/types/components.d.ts +11 -3
- package/dist/types/stencil-public-runtime.d.ts +3 -3
- package/dist/types/stories/formatHtmlPreview.d.ts +2 -0
- package/dist/types/stories/foundations/color/color-semantic.stories.d.ts +1 -1
- package/dist/types/types/Attributes.d.ts +3 -0
- package/dist/types/utils/appendHiddenInput.d.ts +15 -0
- package/dist/types/utils/dfs.d.ts +10 -0
- package/dist/types/utils/findNextFocusableElement.d.ts +7 -0
- package/dist/types/utils/findPreviousFocusableElement.d.ts +8 -0
- package/dist/types/utils/generateUniqueId.d.ts +15 -0
- package/dist/types/utils/getNestedChildOfSiblingsMatching.d.ts +2 -0
- package/dist/types/utils/getNextNestedChildOfSiblingsMatching.d.ts +30 -0
- package/dist/types/utils/getNextSibling.d.ts +2 -0
- package/dist/types/utils/getPreviousNestedChildOfSiblingsMatching.d.ts +30 -0
- package/dist/types/utils/getPreviousSibling.d.ts +2 -0
- package/dist/types/utils/hasSlot.d.ts +8 -0
- package/dist/types/utils/inheritAriaAttributes.d.ts +9 -0
- package/dist/types/utils/inheritAttributes.d.ts +13 -0
- package/dist/types/utils/isHeadingElement.d.ts +8 -0
- package/dist/types/utils/updateListChildrenRoles.d.ts +6 -0
- package/package.json +5 -4
- package/components/tds-button.js +0 -70
- package/components/tds-dropdown.js +0 -319
- package/components/tds-inline-tab.js +0 -45
- package/components/tds-navigation-tab.js +0 -45
- package/components/utils.js +0 -489
- package/dist/cjs/utils-23ce2e45.js +0 -501
- package/dist/collection/utils/utils.js +0 -369
- package/dist/collection/utils/utils.spec.js +0 -15
- package/dist/esm/utils-4d967376.js +0 -489
- package/dist/tegel/p-045e99f2.entry.js +0 -1
- package/dist/tegel/p-1af982bc.entry.js +0 -1
- package/dist/tegel/p-24fc848d.entry.js +0 -1
- package/dist/tegel/p-26757a32.entry.js +0 -1
- package/dist/tegel/p-271d0081.entry.js +0 -1
- package/dist/tegel/p-37b1329c.entry.js +0 -1
- package/dist/tegel/p-3c5acada.entry.js +0 -1
- package/dist/tegel/p-43fe6507.js +0 -2
- package/dist/tegel/p-461e81bd.entry.js +0 -1
- package/dist/tegel/p-4e676ba1.entry.js +0 -1
- package/dist/tegel/p-52b727a7.entry.js +0 -1
- package/dist/tegel/p-54ebce22.entry.js +0 -1
- package/dist/tegel/p-5663c320.entry.js +0 -1
- package/dist/tegel/p-5e6318d2.entry.js +0 -1
- package/dist/tegel/p-62154528.entry.js +0 -1
- package/dist/tegel/p-67fa6245.entry.js +0 -1
- package/dist/tegel/p-6e1c6b71.entry.js +0 -1
- package/dist/tegel/p-7125dad7.entry.js +0 -1
- package/dist/tegel/p-77282750.entry.js +0 -1
- package/dist/tegel/p-8a502e4f.entry.js +0 -1
- package/dist/tegel/p-8a6dac22.entry.js +0 -1
- package/dist/tegel/p-8faaaaf3.entry.js +0 -1
- package/dist/tegel/p-8fea52fe.js +0 -43
- package/dist/tegel/p-98d31b74.entry.js +0 -1
- package/dist/tegel/p-aeff41d5.entry.js +0 -1
- package/dist/tegel/p-c65429b4.entry.js +0 -1
- package/dist/tegel/p-ca8b8a16.entry.js +0 -1
- package/dist/tegel/p-d1289eb3.entry.js +0 -1
- package/dist/tegel/p-d4aa3315.entry.js +0 -1
- package/dist/tegel/p-d8215514.entry.js +0 -1
- package/dist/tegel/p-d852143b.entry.js +0 -1
- package/dist/tegel/p-e9ae12d7.entry.js +0 -1
- package/dist/tegel/p-ec6afc7b.entry.js +0 -1
- package/dist/tegel/p-f147d270.entry.js +0 -1
- package/dist/types/utils/utils.d.ts +0 -164
- /package/{components → dist/components}/core-header-item.js +0 -0
- /package/{components → dist/components}/divider.js +0 -0
- /package/{components → dist/components}/header-dropdown-list-item.js +0 -0
- /package/{components → dist/components}/index.d.ts +0 -0
- /package/{components → dist/components}/index.js +0 -0
- /package/{components → dist/components}/side-menu-user-image.js +0 -0
- /package/{components → dist/components}/side-menu-user-label.js +0 -0
- /package/{components → dist/components}/tds-accordion-item.js +0 -0
- /package/{components → dist/components}/tds-accordion.js +0 -0
- /package/{components → dist/components}/tds-body-cell.js +0 -0
- /package/{components → dist/components}/tds-breadcrumb.js +0 -0
- /package/{components → dist/components}/tds-breadcrumbs.js +0 -0
- /package/{components → dist/components}/tds-checkbox.js +0 -0
- /package/{components → dist/components}/tds-core-header-item.js +0 -0
- /package/{components → dist/components}/tds-divider.js +0 -0
- /package/{components → dist/components}/tds-footer-group.js +0 -0
- /package/{components → dist/components}/tds-footer-item.js +0 -0
- /package/{components → dist/components}/tds-header-brand-symbol.js +0 -0
- /package/{components → dist/components}/tds-header-cell.js +0 -0
- /package/{components → dist/components}/tds-header-dropdown-list-item.js +0 -0
- /package/{components → dist/components}/tds-header-dropdown-list-user.js +0 -0
- /package/{components → dist/components}/tds-header-dropdown-list.js +0 -0
- /package/{components → dist/components}/tds-header-item.js +0 -0
- /package/{components → dist/components}/tds-header-launcher-button.js +0 -0
- /package/{components → dist/components}/tds-header-launcher-grid-item.js +0 -0
- /package/{components → dist/components}/tds-header-launcher-list-item.js +0 -0
- /package/{components → dist/components}/tds-header-title.js +0 -0
- /package/{components → dist/components}/tds-icon.js +0 -0
- /package/{components → dist/components}/tds-link.js +0 -0
- /package/{components → dist/components}/tds-message.js +0 -0
- /package/{components → dist/components}/tds-popover-canvas.js +0 -0
- /package/{components → dist/components}/tds-popover-core.js +0 -0
- /package/{components → dist/components}/tds-popover-menu-item.js +0 -0
- /package/{components → dist/components}/tds-side-menu-item.js +0 -0
- /package/{components → dist/components}/tds-side-menu-overlay.js +0 -0
- /package/{components → dist/components}/tds-side-menu-user-image.js +0 -0
- /package/{components → dist/components}/tds-side-menu-user-label.js +0 -0
- /package/{components → dist/components}/tds-side-menu-user.js +0 -0
- /package/{components → dist/components}/tds-spinner.js +0 -0
- /package/{components → dist/components}/tds-step.js +0 -0
- /package/{components → dist/components}/tds-table-body-row-expandable.js +0 -0
- /package/{components → dist/components}/tds-table-body-row.js +0 -0
- /package/{components → dist/components}/tds-table-body.js +0 -0
- /package/{components → dist/components}/tds-table-footer.js +0 -0
- /package/{components → dist/components}/tds-table-header.js +0 -0
- /package/{components → dist/components}/tds-table-toolbar.js +0 -0
- /package/{components → dist/components}/tds-textarea.js +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { g as getPreviousNestedChildOfSiblingsMatching, i as isHeadingElement } from './getPreviousNestedChildOfSiblingsMatching.js';
|
|
3
3
|
|
|
4
4
|
const headerLauncherGridCss = ".tds-header-launcher-grid{box-sizing:border-box;padding:12px;margin:0;list-style:none;width:100%;display:grid;grid-template-columns:1fr 1fr 1fr;gap:4px;border-radius:none}";
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Components, JSX } from "../
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
2
|
|
|
3
3
|
interface TdsHeaderLauncherListTitle extends Components.TdsHeaderLauncherListTitle, HTMLElement {}
|
|
4
4
|
export const TdsHeaderLauncherListTitle: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { g as generateUniqueId } from './
|
|
2
|
+
import { g as generateUniqueId } from './generateUniqueId.js';
|
|
3
3
|
|
|
4
4
|
const headerLauncherListTitleCss = ".tds-header-launcher-list-title{all:unset;box-sizing:border-box;font:var(--tds-detail-06);letter-spacing:var(--tds-detail-06-ls);color:var(--tds-header-app-launcher-category-title-color);text-transform:uppercase;height:48px;padding:0 16px;display:flex;align-items:center;border-bottom:1px solid var(--tds-nav-dropdown-item-border-color);margin:0}";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { g as generateUniqueId } from './
|
|
2
|
+
import { g as generateUniqueId } from './generateUniqueId.js';
|
|
3
3
|
import { d as defineCustomElement$2 } from './header-dropdown-list.js';
|
|
4
4
|
|
|
5
5
|
const TdsHeaderLauncherList$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeaderLauncherList extends HTMLElement {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { g as generateUniqueId
|
|
2
|
+
import { g as generateUniqueId } from './generateUniqueId.js';
|
|
3
|
+
import { i as inheritAriaAttributes } from './inheritAriaAttributes.js';
|
|
3
4
|
import { d as defineCustomElement$7 } from './core-header-item.js';
|
|
4
5
|
import { d as defineCustomElement$6 } from './header-item.js';
|
|
5
6
|
import { d as defineCustomElement$5 } from './header-launcher-button.js';
|
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { i as inheritAriaAttributes } from './inheritAriaAttributes.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Loop through the children and add the 'listitem' role if needed.
|
|
6
|
+
* @param {Node} targetNode The node being updated.
|
|
7
|
+
* */
|
|
8
|
+
const updateListChildrenRoles = (targetNode) => {
|
|
9
|
+
targetNode.childNodes.forEach((node) => {
|
|
10
|
+
if (node.nodeType === Node.ELEMENT_NODE) {
|
|
11
|
+
const element = node;
|
|
12
|
+
if (element.tagName.toLowerCase() !== 'li' && element.getAttribute('role') !== 'listitem') {
|
|
13
|
+
element.setAttribute('role', 'listitem');
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
};
|
|
3
18
|
|
|
4
19
|
const headerCss = "html,:root{--tds-nav-dropdown-menu-box:0 3px 3px rgb(0 0 0 / 15%), 0 -1px 1px rgb(0 0 0 / 1%);--tds-nav-dropdown-item-border-radius:0 0 4px 4px;--tds-font-family-headline:\"Scania Sans Headline\", arial, helvetica, sans-serif}tds-header{display:block;height:var(--tds-header-height);background-color:var(--tds-header-background);width:100%;z-index:300}nav{box-sizing:border-box;background-color:var(--tds-header-background);width:100%;display:block}nav *{box-sizing:border-box}nav .tds-header-component-list{height:var(--tds-header-height);all:unset;display:flex;justify-content:start;align-items:center}nav tds-header-dropdown,nav tds-header-item{display:none}nav .tds-header-middle-spacer{all:unset;display:block;flex-grow:1;height:var(--tds-header-height);border-right:1px solid var(--tds-header--basic-element-border)}@media screen and (min-width: 992px){nav tds-header-dropdown,nav tds-header-item{display:block}}nav tds-header-item:nth-child(3),nav tds-header-dropdown:nth-child(3){border-left:1px solid var(--tds-header--basic-element-border)}";
|
|
5
20
|
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
|
|
3
|
+
const inlineTabCss = ":host{box-sizing:border-box;z-index:200;display:block;position:relative}:host *{box-sizing:border-box}:host ::slotted(*){all:unset;font:var(--tds-headline-07) !important;letter-spacing:var(--tds-headline-07-ls) !important;color:var(--tds-navigation-tabs-tab-color);text-decoration:none;display:block;position:relative;transition:color 0.15s ease-in-out 0s;white-space:nowrap;background-color:transparent;border:0;width:100%;padding:20px 4px}:host ::slotted(*:focus-visible)::before{content:\"\";position:absolute;left:0;right:0;top:20px;bottom:20px;outline:2px solid var(--tds-blue-400)}:host .inline-tab-item:not(.selected)::after{width:0%;transition:width 0.15s ease-in-out 0s}:host .inline-tab-item{position:relative;margin-right:32px}:host .inline-tab-item:hover{cursor:pointer}:host .inline-tab-item:hover::after{width:100%}:host .inline-tab-item::after{content:\" \";position:absolute;bottom:0;right:0;left:0;margin-left:auto;width:0%;margin-right:auto;height:2px;background-color:var(--tds-inline-tabs-tab-indicator-background-hover);z-index:1}:host .selected ::slotted(*){color:var(--tds-inline-tabs-tab-color-selected)}:host .selected::after{width:100%;background-color:var(--tds-inline-tabs-tab-indicator-background-active)}:host .disabled{color:var(--tds-inline-tabs-tab-color-disabled)}:host .disabled ::slotted(*){opacity:var(--tds-inline-tabs-tab-color-opacity-disabled)}:host .disabled::after{content:none}:host .disabled ::slotted(*:hover){cursor:not-allowed}:host .disabled ::slotted(*:focus-visible){outline:none}:host(.first){margin-left:32px}:host(.last){margin-right:32px}";
|
|
4
|
+
|
|
5
|
+
const TdsInlineTab$1 = /*@__PURE__*/ proxyCustomElement(class TdsInlineTab extends HTMLElement {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
this.__registerHost();
|
|
9
|
+
this.__attachShadow();
|
|
10
|
+
this.disabled = false;
|
|
11
|
+
this.selected = false;
|
|
12
|
+
}
|
|
13
|
+
/** @internal Method to set the Tab as selected. Used by the <tds-inline-tabs> */
|
|
14
|
+
async setSelected(selected) {
|
|
15
|
+
this.selected = selected;
|
|
16
|
+
}
|
|
17
|
+
render() {
|
|
18
|
+
return (h(Host, { role: "listitem" }, h("div", { class: `inline-tab-item ${this.selected ? 'selected' : ''}
|
|
19
|
+
${this.disabled ? 'disabled' : ''}` }, h("slot", null))));
|
|
20
|
+
}
|
|
21
|
+
static get style() { return inlineTabCss; }
|
|
22
|
+
}, [1, "tds-inline-tab", {
|
|
23
|
+
"disabled": [4],
|
|
24
|
+
"selected": [32],
|
|
25
|
+
"setSelected": [64]
|
|
26
|
+
}]);
|
|
27
|
+
function defineCustomElement$1() {
|
|
28
|
+
if (typeof customElements === "undefined") {
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
const components = ["tds-inline-tab"];
|
|
32
|
+
components.forEach(tagName => { switch (tagName) {
|
|
33
|
+
case "tds-inline-tab":
|
|
34
|
+
if (!customElements.get(tagName)) {
|
|
35
|
+
customElements.define(tagName, TdsInlineTab$1);
|
|
36
|
+
}
|
|
37
|
+
break;
|
|
38
|
+
} });
|
|
39
|
+
}
|
|
40
|
+
defineCustomElement$1();
|
|
41
|
+
|
|
42
|
+
const TdsInlineTab = TdsInlineTab$1;
|
|
43
|
+
const defineCustomElement = defineCustomElement$1;
|
|
44
|
+
|
|
45
|
+
export { TdsInlineTab, defineCustomElement };
|
|
@@ -49,9 +49,6 @@ const TdsInlineTabs$1 = /*@__PURE__*/ proxyCustomElement(class TdsInlineTabs ext
|
|
|
49
49
|
this.children.forEach((element) => element.setSelected(false));
|
|
50
50
|
item.setSelected(true);
|
|
51
51
|
this.selectedIndex = index;
|
|
52
|
-
this.tdsChange.emit({
|
|
53
|
-
selectedTabIndex: this.selectedIndex,
|
|
54
|
-
});
|
|
55
52
|
}
|
|
56
53
|
}
|
|
57
54
|
});
|
|
@@ -73,9 +70,6 @@ const TdsInlineTabs$1 = /*@__PURE__*/ proxyCustomElement(class TdsInlineTabs ext
|
|
|
73
70
|
if (index === tabIndex) {
|
|
74
71
|
element.setSelected(true);
|
|
75
72
|
this.selectedIndex = tabIndex;
|
|
76
|
-
this.tdsChange.emit({
|
|
77
|
-
selectedTabIndex: this.selectedIndex,
|
|
78
|
-
});
|
|
79
73
|
}
|
|
80
74
|
return element;
|
|
81
75
|
});
|
|
@@ -165,6 +159,8 @@ const TdsInlineTabs$1 = /*@__PURE__*/ proxyCustomElement(class TdsInlineTabs ext
|
|
|
165
159
|
"showRightScroll": [32],
|
|
166
160
|
"buttonWidth": [32],
|
|
167
161
|
"selectTab": [64]
|
|
162
|
+
}, undefined, {
|
|
163
|
+
"selectedIndex": ["handleSelectedIndexUpdate"]
|
|
168
164
|
}]);
|
|
169
165
|
function defineCustomElement$1() {
|
|
170
166
|
if (typeof customElements === "undefined") {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { h as hasSlot } from './
|
|
2
|
+
import { h as hasSlot } from './hasSlot.js';
|
|
3
3
|
import { d as defineCustomElement$2 } from './icon.js';
|
|
4
4
|
|
|
5
|
-
const modalCss = ":root,.tds-mode-light{--tds-modal-backdrop:rgba(0 0 0 / 40%);--tds-modal-background:var(--tds-white);--tds-modal-text:var(--tds-grey-958);--tds-modal-icon:var(--tds-black);--tds-modal-icon-native:url(\"data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.40338 2.34308C3.11048 2.05019 2.63561 2.05019 2.34272 2.34308C2.04982 2.63598 2.04982 3.11085 2.34272 3.40374L6.93897 8L2.34283 12.5961C2.04994 12.889 2.04994 13.3639 2.34283 13.6568C2.63572 13.9497 3.1106 13.9497 3.40349 13.6568L7.99963 9.06066L12.5958 13.6568C12.8887 13.9497 13.3635 13.9497 13.6564 13.6568C13.9493 13.3639 13.9493 12.889 13.6564 12.5961L9.06029 8L13.6565 3.40376C13.9494 3.11086 13.9494 2.63599 13.6565 2.3431C13.3636 2.0502 12.8888 2.0502 12.5959 2.3431L7.99963 6.93934L3.40338 2.34308Z' fill='black'/%3E%3C/svg%3E%0A\");--tds-modal-scrollbar:var(--tds-grey-300);--tds-modal-scrollbar-track:var(--tds-grey-300);--tds-modal-scrollbar-thumb:var(--tds-grey-500)}.tds-mode-dark{--tds-modal-backdrop:rgba(0 0 0 / 40%);--tds-modal-background:var(--tds-grey-900);--tds-modal-text:var(--tds-grey-50);--tds-modal-icon:var(--tds-white);--tds-modal-icon-native:url(\"data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.40338 2.34308C3.11048 2.05019 2.63561 2.05019 2.34272 2.34308C2.04982 2.63598 2.04982 3.11085 2.34272 3.40374L6.93897 8L2.34283 12.5961C2.04994 12.889 2.04994 13.3639 2.34283 13.6568C2.63572 13.9497 3.1106 13.9497 3.40349 13.6568L7.99963 9.06066L12.5958 13.6568C12.8887 13.9497 13.3635 13.9497 13.6564 13.6568C13.9493 13.3639 13.9493 12.889 13.6564 12.5961L9.06029 8L13.6565 3.40376C13.9494 3.11086 13.9494 2.63599 13.6565 2.3431C13.3636 2.0502 12.8888 2.0502 12.5959 2.3431L7.99963 6.93934L3.40338 2.34308Z' fill='white'/%3E%3C/svg%3E%0A\");--tds-modal-scrollbar:var(--tds-grey-300);--tds-modal-scrollbar-track:var(--tds-grey-300);--tds-modal-scrollbar-thumb:var(--tds-grey-500)}.tds-modal{box-sizing:border-box;background-color:var(--tds-modal-background);margin:auto;position:relative;border-radius:4px;padding:16px;max-height:85vh;overflow-y:auto;}.tds-modal *{box-sizing:border-box}.tds-modal::-webkit-scrollbar{width:5px;background-color:var(--tds-grey-300);border-radius:0 1em 1em 0}.tds-modal::-webkit-scrollbar-track{background-color:var(--tds-grey-300);border-radius:0 1em 1em 0}.tds-modal::-webkit-scrollbar-thumb{background-color:var(--tds-grey-500);border-radius:0 1em 1em 0}.tds-modal__actions-sticky{overflow:hidden}.tds-modal__actions-sticky .body{font:var(--tds-body-01);letter-spacing:var(--tds-body-01-ls);padding-bottom:96px;margin:0 -16px 0 0;max-height:calc(85vh - 36px);overflow-y:auto}.tds-modal__actions-sticky slot[name=actions]{position:absolute;bottom:-1px;left:0;right:0;background-color:var(--tds-modal-background);padding:var(--tds-spacing-element-16);display:flex;gap:16px}.tds-modal__actions-static slot[name=actions]{background-color:var(--tds-modal-background);display:flex;gap:16px}@media (min-width: 320px){.tds-modal-xs{width:100%}.tds-modal-sm{width:100%}.tds-modal-md{width:100%}.tds-modal-lg{width:100%}}@media (min-width: 672px){.tds-modal-xs{width:75%}.tds-modal-sm{width:62.5%}.tds-modal-md{width:75%}.tds-modal-lg{width:100%}}@media (min-width: 1056px){.tds-modal-xs{width:31.25%}.tds-modal-sm{width:43.75%}.tds-modal-md{width:62.5%}.tds-modal-lg{width:75%}}@media (min-width: 1312px){.tds-modal-xs{width:31.25%}.tds-modal-sm{width:37.5%}.tds-modal-md{width:62.5%}.tds-modal-lg{width:75%}}@media (min-width: 1584px){.tds-modal-xs{width:25%}.tds-modal-sm{width:37.5%}.tds-modal-md{width:50%}.tds-modal-lg{width:75%}}@media (max-width: 320px){.tds-modal-md,.tds-modal-lg,.tds-modal-sm{height:100%}.tds-modal-md slot[name=actions]::slotted(*),.tds-modal-lg slot[name=actions]::slotted(*),.tds-modal-sm slot[name=actions]::slotted(*){display:flex}}.header{display:flex;padding-bottom:var(--tds-spacing-element-8);position:sticky;top:0;background-color:var(--tds-modal-background);z-index:1}.header::before{content:\" \";position:absolute;height:16px;top:-16px;width:100%;background-color:var(--tds-modal-background)}.header,slot[name=header]::slotted(*){color:var(--tds-modal-text);font:var(--tds-headline-05);letter-spacing:var(--tds-headline-05-ls);margin:0;flex:1}.body{color:var(--tds-modal-text);font:var(--tds-body-01);letter-spacing:var(--tds-body-01-ls);padding-bottom:40px;overflow-y:visible;padding-right:16px;}.body::-webkit-scrollbar{width:5px;background-color:var(--tds-grey-300)}.body::-webkit-scrollbar-track{background-color:var(--tds-grey-300)}.body::-webkit-scrollbar-thumb{background-color:var(--tds-grey-500)}@media (min-width: 1056px){.body{padding-right:64px}}.tds-modal-backdrop{box-sizing:border-box;
|
|
5
|
+
const modalCss = ":root,.tds-mode-light{--tds-modal-backdrop:rgba(0 0 0 / 40%);--tds-modal-background:var(--tds-white);--tds-modal-text:var(--tds-grey-958);--tds-modal-icon:var(--tds-black);--tds-modal-icon-native:url(\"data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.40338 2.34308C3.11048 2.05019 2.63561 2.05019 2.34272 2.34308C2.04982 2.63598 2.04982 3.11085 2.34272 3.40374L6.93897 8L2.34283 12.5961C2.04994 12.889 2.04994 13.3639 2.34283 13.6568C2.63572 13.9497 3.1106 13.9497 3.40349 13.6568L7.99963 9.06066L12.5958 13.6568C12.8887 13.9497 13.3635 13.9497 13.6564 13.6568C13.9493 13.3639 13.9493 12.889 13.6564 12.5961L9.06029 8L13.6565 3.40376C13.9494 3.11086 13.9494 2.63599 13.6565 2.3431C13.3636 2.0502 12.8888 2.0502 12.5959 2.3431L7.99963 6.93934L3.40338 2.34308Z' fill='black'/%3E%3C/svg%3E%0A\");--tds-modal-scrollbar:var(--tds-grey-300);--tds-modal-scrollbar-track:var(--tds-grey-300);--tds-modal-scrollbar-thumb:var(--tds-grey-500)}.tds-mode-dark{--tds-modal-backdrop:rgba(0 0 0 / 40%);--tds-modal-background:var(--tds-grey-900);--tds-modal-text:var(--tds-grey-50);--tds-modal-icon:var(--tds-white);--tds-modal-icon-native:url(\"data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.40338 2.34308C3.11048 2.05019 2.63561 2.05019 2.34272 2.34308C2.04982 2.63598 2.04982 3.11085 2.34272 3.40374L6.93897 8L2.34283 12.5961C2.04994 12.889 2.04994 13.3639 2.34283 13.6568C2.63572 13.9497 3.1106 13.9497 3.40349 13.6568L7.99963 9.06066L12.5958 13.6568C12.8887 13.9497 13.3635 13.9497 13.6564 13.6568C13.9493 13.3639 13.9493 12.889 13.6564 12.5961L9.06029 8L13.6565 3.40376C13.9494 3.11086 13.9494 2.63599 13.6565 2.3431C13.3636 2.0502 12.8888 2.0502 12.5959 2.3431L7.99963 6.93934L3.40338 2.34308Z' fill='white'/%3E%3C/svg%3E%0A\");--tds-modal-scrollbar:var(--tds-grey-300);--tds-modal-scrollbar-track:var(--tds-grey-300);--tds-modal-scrollbar-thumb:var(--tds-grey-500)}.tds-modal{box-sizing:border-box;background-color:var(--tds-modal-background);margin:auto;position:relative;border-radius:4px;padding:16px;max-height:85vh;overflow-y:auto;pointer-events:auto;}.tds-modal *{box-sizing:border-box}.tds-modal::-webkit-scrollbar{width:5px;background-color:var(--tds-grey-300);border-radius:0 1em 1em 0}.tds-modal::-webkit-scrollbar-track{background-color:var(--tds-grey-300);border-radius:0 1em 1em 0}.tds-modal::-webkit-scrollbar-thumb{background-color:var(--tds-grey-500);border-radius:0 1em 1em 0}.tds-modal__actions-sticky{overflow:hidden}.tds-modal__actions-sticky .body{font:var(--tds-body-01);letter-spacing:var(--tds-body-01-ls);padding-bottom:96px;margin:0 -16px 0 0;max-height:calc(85vh - 36px);overflow-y:auto}.tds-modal__actions-sticky slot[name=actions]{position:absolute;bottom:-1px;left:0;right:0;background-color:var(--tds-modal-background);padding:var(--tds-spacing-element-16);display:flex;gap:16px}.tds-modal__actions-static slot[name=actions]{background-color:var(--tds-modal-background);display:flex;gap:16px}@media (min-width: 320px){.tds-modal-xs{width:100%}.tds-modal-sm{width:100%}.tds-modal-md{width:100%}.tds-modal-lg{width:100%}}@media (min-width: 672px){.tds-modal-xs{width:75%}.tds-modal-sm{width:62.5%}.tds-modal-md{width:75%}.tds-modal-lg{width:100%}}@media (min-width: 1056px){.tds-modal-xs{width:31.25%}.tds-modal-sm{width:43.75%}.tds-modal-md{width:62.5%}.tds-modal-lg{width:75%}}@media (min-width: 1312px){.tds-modal-xs{width:31.25%}.tds-modal-sm{width:37.5%}.tds-modal-md{width:62.5%}.tds-modal-lg{width:75%}}@media (min-width: 1584px){.tds-modal-xs{width:25%}.tds-modal-sm{width:37.5%}.tds-modal-md{width:50%}.tds-modal-lg{width:75%}}@media (max-width: 320px){.tds-modal-md,.tds-modal-lg,.tds-modal-sm{height:100%}.tds-modal-md slot[name=actions]::slotted(*),.tds-modal-lg slot[name=actions]::slotted(*),.tds-modal-sm slot[name=actions]::slotted(*){display:flex}}.header{display:flex;padding-bottom:var(--tds-spacing-element-8);position:sticky;top:0;background-color:var(--tds-modal-background);z-index:1}.header::before{content:\" \";position:absolute;height:16px;top:-16px;width:100%;background-color:var(--tds-modal-background)}.header,slot[name=header]::slotted(*){color:var(--tds-modal-text);font:var(--tds-headline-05) !important;letter-spacing:var(--tds-headline-05-ls) !important;margin:0;flex:1}.body{color:var(--tds-modal-text);font:var(--tds-body-01);letter-spacing:var(--tds-body-01-ls);padding-bottom:40px;overflow-y:visible;padding-right:16px;}.body::-webkit-scrollbar{width:5px;background-color:var(--tds-grey-300)}.body::-webkit-scrollbar-track{background-color:var(--tds-grey-300)}.body::-webkit-scrollbar-thumb{background-color:var(--tds-grey-500)}@media (min-width: 1056px){.body{padding-right:64px}}.tds-modal-backdrop{box-sizing:border-box;position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--tds-modal-backdrop);pointer-events:auto}.tds-modal-backdrop *{box-sizing:border-box}button.tds-modal-close{margin:0 0 auto auto;background-color:transparent;border:0;padding:0;appearance:unset}.tds-modal-close{display:inline-block;height:auto;color:var(--tds-modal-icon);cursor:pointer}.tds-modal-close:focus{outline:2px solid var(--tds-blue-400);outline-offset:-2px}@media (min-width: 320px){.tds-modal-close{margin-left:var(--tds-spacing-element-16)}}@media (min-width: 1056px){.tds-modal-close{margin-left:var(--tds-spacing-element-48)}}.tds-modal-close-btn{display:inline-block;height:auto;background-repeat:no-repeat;cursor:pointer}@media (min-width: 320px){.tds-modal-close-btn{margin-left:var(--tds-spacing-element-16)}}@media (min-width: 1056px){.tds-modal-close-btn{margin-left:var(--tds-spacing-element-48)}}.tds-modal-close-btn svg{fill:var(--tds-modal-icon)}.tds-modal-overflow{overflow:hidden}:host{box-sizing:border-box;position:fixed;top:0;right:0;bottom:0;left:0;padding:0 16px;z-index:700;pointer-events:none}:host *{box-sizing:border-box}:host .tds-modal-close{border:none;background-color:transparent}:host .tds-modal-close-btn{border:none;background-color:transparent}@media (max-width: 320px){:host{padding:0}}:host.show{display:flex}:host.hide{display:none}:host(.show){display:flex}:host(.hide){display:none}";
|
|
6
6
|
|
|
7
7
|
const TdsModal$1 = /*@__PURE__*/ proxyCustomElement(class TdsModal extends HTMLElement {
|
|
8
8
|
constructor() {
|
|
@@ -19,6 +19,15 @@ const TdsModal$1 = /*@__PURE__*/ proxyCustomElement(class TdsModal extends HTMLE
|
|
|
19
19
|
this.handleShow = () => {
|
|
20
20
|
this.isShown = true;
|
|
21
21
|
};
|
|
22
|
+
/** Checks if click on Modal is on overlay, if so it closes the Modal if prevent is not true. */
|
|
23
|
+
this.handleOverlayClick = (event) => {
|
|
24
|
+
const targetList = event.composedPath();
|
|
25
|
+
const target = targetList[0];
|
|
26
|
+
if (target.classList[0] === 'tds-modal-close' ||
|
|
27
|
+
(target.classList[0] === 'tds-modal-backdrop' && this.prevent === false)) {
|
|
28
|
+
this.handleClose(event);
|
|
29
|
+
}
|
|
30
|
+
};
|
|
22
31
|
/** Adds an event listener to the reference element that shows/closes the Modal. */
|
|
23
32
|
this.initializeReferenceElement = (referenceEl) => {
|
|
24
33
|
if (referenceEl) {
|
|
@@ -60,7 +69,7 @@ const TdsModal$1 = /*@__PURE__*/ proxyCustomElement(class TdsModal extends HTMLE
|
|
|
60
69
|
this.isShown = false;
|
|
61
70
|
}
|
|
62
71
|
connectedCallback() {
|
|
63
|
-
if (this.show !==
|
|
72
|
+
if (this.show !== undefined) {
|
|
64
73
|
this.isShown = this.show;
|
|
65
74
|
}
|
|
66
75
|
this.setDismissButtons();
|
|
@@ -69,15 +78,6 @@ const TdsModal$1 = /*@__PURE__*/ proxyCustomElement(class TdsModal extends HTMLE
|
|
|
69
78
|
console.warn("Tegel Modal component: Using both header prop and header slot might break modal's design. Please use just one of them. ");
|
|
70
79
|
}
|
|
71
80
|
}
|
|
72
|
-
/** Checks if click on Modal is on overlay, if so it closes the Modal if prevent is not true. */
|
|
73
|
-
handleOverlayClick(event) {
|
|
74
|
-
const targetList = event.composedPath();
|
|
75
|
-
const target = targetList[0];
|
|
76
|
-
if (target.classList[0] === 'tds-modal-close' ||
|
|
77
|
-
(target.classList[0] === 'tds-modal-backdrop' && this.prevent === false)) {
|
|
78
|
-
this.handleClose(event);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
81
|
/** Adds an event listener to the dismiss buttons that closes the Modal. */
|
|
82
82
|
setDismissButtons() {
|
|
83
83
|
this.host.querySelectorAll('[data-dismiss-modal]').forEach((dismissButton) => {
|
|
@@ -89,11 +89,7 @@ const TdsModal$1 = /*@__PURE__*/ proxyCustomElement(class TdsModal extends HTMLE
|
|
|
89
89
|
render() {
|
|
90
90
|
const usesHeaderSlot = hasSlot('header', this.host);
|
|
91
91
|
const usesActionsSlot = hasSlot('actions', this.host);
|
|
92
|
-
return (h(Host, { onClick: (event) => {
|
|
93
|
-
this.handleOverlayClick(event);
|
|
94
|
-
}, class: `tds-modal-backdrop ${this.isShown ? 'show' : 'hide'}` }, h("div", { class: `tds-modal tds-modal__actions-${this.actionsPosition} tds-modal-${this.size}` }, h("div", { class: "header" }, this.header && h("div", { class: "header" }, this.header), usesHeaderSlot && h("slot", { name: "header" }), h("button", { class: "tds-modal-close", "aria-label": "close", onClick: (event) => {
|
|
95
|
-
this.handleClose(event);
|
|
96
|
-
} }, h("tds-icon", { name: "cross", size: "20px" }))), h("div", { class: "body" }, h("slot", { name: "body" })), usesActionsSlot && h("slot", { name: "actions" }))));
|
|
92
|
+
return (h(Host, { class: `${this.isShown ? 'show' : 'hide'}`, onClick: (event) => this.handleOverlayClick(event) }, h("div", { class: "tds-modal-backdrop" }), h("div", { class: `tds-modal tds-modal__actions-${this.actionsPosition} tds-modal-${this.size}` }, h("div", { class: "header" }, this.header && h("div", { class: "header" }, this.header), usesHeaderSlot && h("slot", { name: "header" }), h("button", { class: "tds-modal-close", "aria-label": "close", onClick: (event) => this.handleClose(event) }, h("tds-icon", { name: "cross", size: "20px" }))), h("div", { class: "body" }, h("slot", { name: "body" })), usesActionsSlot && h("slot", { name: "actions" }))));
|
|
97
93
|
}
|
|
98
94
|
get host() { return this; }
|
|
99
95
|
static get style() { return modalCss; }
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
|
|
3
|
+
const navigationTabCss = ":host{box-sizing:border-box;z-index:200;display:block}:host *{box-sizing:border-box}:host ::slotted(*){all:unset;font:var(--tds-headline-07) !important;letter-spacing:var(--tds-headline-07-ls) !important;color:var(--tds-navigation-tabs-tab-color) !important;text-decoration:none;display:block;position:relative;transition:color 0.15s ease-in-out 0s;white-space:nowrap;background-color:transparent;border:0;width:100%;padding:26px 4px}:host ::slotted(*:focus-visible)::before{content:\"\";position:absolute;left:0;right:0;top:26px;bottom:26px;outline:2px solid var(--tds-blue-400)}:host .navigation-tab-item:not(.selected)::after{width:0%;transition:width 0.15s ease-in-out 0s}:host .navigation-tab-item{position:relative;margin-right:32px}:host .navigation-tab-item:hover{cursor:pointer}:host .navigation-tab-item:hover::after{width:100%}:host .navigation-tab-item::after{content:\" \";position:absolute;bottom:0;right:0;left:0;margin-left:auto;width:0%;margin-right:auto;height:2px;background-color:var(--tds-navigation-tabs-tab-indicator-background-hover);z-index:1}:host .selected ::slotted(*){color:var(--tds-navigation-tabs-tab-color-selected)}:host .selected::after{width:100%;background-color:var(--tds-navigation-tabs-tab-indicator-background-active)}:host .disabled{color:var(--tds-navigation-tabs-tab-color-disabled)}:host .disabled ::slotted(*){opacity:var(--tds-navigation-tabs-tab-color-opacity-disabled)}:host .disabled::after{content:none}:host .disabled ::slotted(*:hover){cursor:not-allowed}:host .disabled ::slotted(*:focus-visible){outline:none}:host(.first){margin-left:32px}:host(.last){margin-right:32px}";
|
|
4
|
+
|
|
5
|
+
const TdsNavigationTab$1 = /*@__PURE__*/ proxyCustomElement(class TdsNavigationTab extends HTMLElement {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
this.__registerHost();
|
|
9
|
+
this.__attachShadow();
|
|
10
|
+
this.disabled = false;
|
|
11
|
+
this.selected = false;
|
|
12
|
+
}
|
|
13
|
+
/** @internal Method to set the Tab as selected. Used by the <tds-navigation-tabs> */
|
|
14
|
+
async setSelected(selected) {
|
|
15
|
+
this.selected = selected;
|
|
16
|
+
}
|
|
17
|
+
render() {
|
|
18
|
+
return (h(Host, { role: "listitem" }, h("div", { class: `navigation-tab-item ${this.selected ? 'selected' : ''}
|
|
19
|
+
${this.disabled ? 'disabled' : ''}` }, h("slot", null))));
|
|
20
|
+
}
|
|
21
|
+
static get style() { return navigationTabCss; }
|
|
22
|
+
}, [1, "tds-navigation-tab", {
|
|
23
|
+
"disabled": [4],
|
|
24
|
+
"selected": [32],
|
|
25
|
+
"setSelected": [64]
|
|
26
|
+
}]);
|
|
27
|
+
function defineCustomElement$1() {
|
|
28
|
+
if (typeof customElements === "undefined") {
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
const components = ["tds-navigation-tab"];
|
|
32
|
+
components.forEach(tagName => { switch (tagName) {
|
|
33
|
+
case "tds-navigation-tab":
|
|
34
|
+
if (!customElements.get(tagName)) {
|
|
35
|
+
customElements.define(tagName, TdsNavigationTab$1);
|
|
36
|
+
}
|
|
37
|
+
break;
|
|
38
|
+
} });
|
|
39
|
+
}
|
|
40
|
+
defineCustomElement$1();
|
|
41
|
+
|
|
42
|
+
const TdsNavigationTab = TdsNavigationTab$1;
|
|
43
|
+
const defineCustomElement = defineCustomElement$1;
|
|
44
|
+
|
|
45
|
+
export { TdsNavigationTab, defineCustomElement };
|
|
@@ -51,9 +51,6 @@ const TdsNavigationTabs$1 = /*@__PURE__*/ proxyCustomElement(class TdsNavigation
|
|
|
51
51
|
this.children.forEach((element) => element.setSelected(false));
|
|
52
52
|
item.setSelected(true);
|
|
53
53
|
this.selectedIndex = index;
|
|
54
|
-
this.tdsChange.emit({
|
|
55
|
-
selectedTabIndex: this.selectedIndex,
|
|
56
|
-
});
|
|
57
54
|
}
|
|
58
55
|
}
|
|
59
56
|
});
|
|
@@ -155,6 +152,8 @@ const TdsNavigationTabs$1 = /*@__PURE__*/ proxyCustomElement(class TdsNavigation
|
|
|
155
152
|
"showLeftScroll": [32],
|
|
156
153
|
"showRightScroll": [32],
|
|
157
154
|
"selectTab": [64]
|
|
155
|
+
}, undefined, {
|
|
156
|
+
"selectedIndex": ["handleSelectedIndexUpdate"]
|
|
158
157
|
}]);
|
|
159
158
|
function defineCustomElement$1() {
|
|
160
159
|
if (typeof customElements === "undefined") {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { i as inheritAttributes } from './inheritAttributes.js';
|
|
3
3
|
import { d as defineCustomElement$2 } from './popover-core.js';
|
|
4
4
|
|
|
5
5
|
const popoverMenuCss = ".tds-popover-menu.sc-tds-popover-menu{box-sizing:border-box;overflow:hidden;width:160px;background-color:var(--tds-popover-menu-background);padding:16px 6px;box-shadow:0 3px 3px rgba(0, 0, 0, 0.15), 0 -1px 1px rgba(0, 0, 0, 0.1);border-radius:4px;z-index:900}.tds-popover-menu.sc-tds-popover-menu *.sc-tds-popover-menu{box-sizing:border-box}.tds-popover-menu.fluid-width.sc-tds-popover-menu{width:unset}tds-popover-core.sc-tds-popover-menu{padding:6px 0 !important}.sc-tds-popover-menu-s>tds-divider{display:block;padding:6px !important}";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { g as generateUniqueId } from './
|
|
2
|
+
import { g as generateUniqueId } from './generateUniqueId.js';
|
|
3
3
|
|
|
4
4
|
const radioButtonCss = ".sc-tds-radio-button:root,.tds-mode-light.sc-tds-radio-button{--tds-radio-button-color:var(--tds-grey-958);--tds-radio-button-interaction-01:var(--tds-blue-800);--tds-radio-button-interaction-02:var(--tds-white);--tds-radio-button-background-hover:var(--tds-blue-800);--tds-radio-button-background-focus:var(--tds-blue-800);--tds-radio-button-disabled:var(--tds-grey-600);--tds-radio-button-border-color-disabled-after:var(--tds-grey-500);--tds-radio-button-color-disabled-after:var(--tds-grey-700);--tds-radio-button-color-disabled-before:var(--tds-grey-700)}.tds-mode-dark.sc-tds-radio-button{--tds-radio-button-color:var(--tds-white);--tds-radio-button-interaction-01:var(--tds-white);--tds-radio-button-interaction-02:var(--tds-grey-958);--tds-radio-button-background-hover:var(--tds-white);--tds-radio-button-background-focus:var(--tds-white);--tds-radio-button-disabled:var(--tds-grey-600);--tds-radio-button-border-color-disabled-after:var(--tds-grey-700);--tds-radio-button-color-disabled-after:var(--tds-grey-700)}.tds-radio-button.sc-tds-radio-button{box-sizing:border-box;display:flex;align-items:center;margin-left:-4px;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);color:var(--tds-radio-button-color)}.tds-radio-button.sc-tds-radio-button *.sc-tds-radio-button{box-sizing:border-box}.tds-radio-button.sc-tds-radio-button .tds-form-input[type=radio].sc-tds-radio-button{appearance:none;outline:none;margin:0;border:0;width:24px;height:24px;border-radius:50%;position:relative;cursor:pointer;flex-shrink:0;align-self:flex-start}.tds-radio-button.sc-tds-radio-button .tds-form-input[type=radio].sc-tds-radio-button+label.sc-tds-radio-button{padding:var(--tds-spacing-element-4) 0 var(--tds-spacing-element-4) var(--tds-spacing-element-4);cursor:pointer}.tds-radio-button.sc-tds-radio-button .tds-form-input[type=radio].sc-tds-radio-button::before,.tds-radio-button.sc-tds-radio-button .tds-form-input[type=radio].sc-tds-radio-button::after{content:\"\";position:absolute;border-radius:50%;box-sizing:border-box}.tds-radio-button.sc-tds-radio-button .tds-form-input[type=radio].sc-tds-radio-button::before{width:24px;height:24px;left:0;top:0}.tds-radio-button.sc-tds-radio-button .tds-form-input[type=radio].sc-tds-radio-button::after{border:1px solid var(--tds-radio-button-interaction-01);background-color:var(--tds-radio-button-interaction-02);width:16px;height:16px;left:4px;top:4px}.tds-radio-button.sc-tds-radio-button .tds-form-input[type=radio].sc-tds-radio-button:hover::before{background-color:var(--tds-radio-button-background-hover);opacity:0.12}.tds-radio-button.sc-tds-radio-button .tds-form-input[type=radio].sc-tds-radio-button:focus::before{background-color:var(--tds-radio-button-background-focus);opacity:0.24;animation:rb-focus 0.4s cubic-bezier(0.65, 0.05, 0.38, 0.95) forwards}.tds-radio-button.sc-tds-radio-button .tds-form-input[type=radio].sc-tds-radio-button:disabled,.tds-radio-button.sc-tds-radio-button .tds-form-input[type=radio].disabled.sc-tds-radio-button{cursor:not-allowed}.tds-radio-button.sc-tds-radio-button .tds-form-input[type=radio].sc-tds-radio-button:disabled::after,.tds-radio-button.sc-tds-radio-button .tds-form-input[type=radio].disabled.sc-tds-radio-button::after{border-color:var(--tds-radio-button-border-color-disabled-after);background-color:var(--tds-radio-button-interaction-02)}.tds-radio-button.sc-tds-radio-button .tds-form-input[type=radio].sc-tds-radio-button:disabled+label.sc-tds-radio-button,.tds-radio-button.sc-tds-radio-button .tds-form-input[type=radio].disabled.sc-tds-radio-button+label.sc-tds-radio-button{color:var(--tds-radio-button-disabled);cursor:not-allowed}.tds-radio-button.sc-tds-radio-button .tds-form-input[type=radio].sc-tds-radio-button:disabled:hover::before,.tds-radio-button.sc-tds-radio-button .tds-form-input[type=radio].disabled.sc-tds-radio-button:hover::before{display:none;opacity:1}.tds-radio-button.sc-tds-radio-button .tds-form-input[type=radio].sc-tds-radio-button:checked::after{border:4px solid var(--tds-radio-button-interaction-01)}.tds-radio-button.sc-tds-radio-button .tds-form-input[type=radio].sc-tds-radio-button:checked:disabled:hover::before,.tds-radio-button.sc-tds-radio-button .tds-form-input[type=radio].sc-tds-radio-button:checked:disabled::before,.tds-radio-button.sc-tds-radio-button .tds-form-input[type=radio].sc-tds-radio-button:checked.disabled:hover::before,.tds-radio-button.sc-tds-radio-button .tds-form-input[type=radio].sc-tds-radio-button:checked.disabled::before{display:block;width:16px;height:16px;left:4px;top:4px;border:1px solid var(--tds-radio-button-color-disabled-before);box-sizing:content-box}.tds-radio-button.sc-tds-radio-button .tds-form-input[type=radio].sc-tds-radio-button:checked:disabled::after,.tds-radio-button.sc-tds-radio-button .tds-form-input[type=radio].sc-tds-radio-button:checked.disabled::after{border:4px solid var(--tds-radio-button-interaction-02);background-color:var(--tds-radio-button-color-disabled-after);left:5px;top:5px}@keyframes rb-focus{0%{transform:scale(0);opacity:0}100%{transform:scale(1);opacity:0.24}}";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { i as inheritAriaAttributes } from './
|
|
2
|
+
import { i as inheritAriaAttributes } from './inheritAriaAttributes.js';
|
|
3
3
|
import { d as defineCustomElement$2 } from './icon.js';
|
|
4
4
|
|
|
5
5
|
const sideMenuCloseButtonCss = ":host button{height:64px;width:100%;text-align:left;padding:0 24px;border:none;background-color:var(--tds-sidebar-side-menu-background-cover);font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-sidebar-side-menu-single-item-color);display:flex;align-items:center;border-bottom:1px solid var(--tds-sidebar-side-menu-bottom-menu-border-top)}:host button:hover{cursor:pointer;background-color:var(--tds-sidebar-item-state-hover)}:host button:focus-visible{cursor:pointer;border:1px solid var(--tds-sidebar-side-menu-single-subitem-selected-border-color)}";
|
|
@@ -41,7 +41,7 @@ const TdsSideMenuCollapseButton$1 = /*@__PURE__*/ proxyCustomElement(class TdsSi
|
|
|
41
41
|
'state-collapsed': this.collapsed,
|
|
42
42
|
} }, h("tds-side-menu-item", { class: {
|
|
43
43
|
button: true,
|
|
44
|
-
} }, h("a", null, h("svg", { class: "icon", slot: "icon", fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M16 1.975a1 1 0 0 1 1 1v20.3l9.311-9.312a1 1 0 0 1 1.415 1.414l-9.887 9.887a2.6 2.6 0 0 1-3.677 0l-9.887-9.887a1 1 0 1 1 1.414-1.414L15 23.274V2.975a1 1 0 0 1 1-1ZM5.188 28.001a1 1 0 0 0 0 2h21.62a1 1 0 1 0 0-2H5.188Z", fill: "currentColor" })), h("slot", null))))));
|
|
44
|
+
} }, h("a", null, h("svg", { class: "icon", slot: "icon", fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M16 1.975a1 1 0 0 1 1 1v20.3l9.311-9.312a1 1 0 0 1 1.415 1.414l-9.887 9.887a2.6 2.6 0 0 1-3.677 0l-9.887-9.887a1 1 0 1 1 1.414-1.414L15 23.274V2.975a1 1 0 0 1 1-1ZM5.188 28.001a1 1 0 0 0 0 2h21.62a1 1 0 1 0 0-2H5.188Z", fill: "currentColor" })), !this.collapsed && h("slot", null))))));
|
|
45
45
|
}
|
|
46
46
|
get host() { return this; }
|
|
47
47
|
static get style() { return sideMenuCollapseButtonCss; }
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Components, JSX } from "../
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
2
|
|
|
3
3
|
interface TdsSideMenuDropdownListItem extends Components.TdsSideMenuDropdownListItem, HTMLElement {}
|
|
4
4
|
export const TdsSideMenuDropdownListItem: {
|
|
@@ -15,7 +15,9 @@ const TdsSideMenuDropdownListItem$1 = /*@__PURE__*/ proxyCustomElement(class Tds
|
|
|
15
15
|
this.collapsed = event.detail.collapsed;
|
|
16
16
|
}
|
|
17
17
|
connectedCallback() {
|
|
18
|
+
var _a;
|
|
18
19
|
this.sideMenuEl = this.host.closest('tds-side-menu');
|
|
20
|
+
this.collapsed = (_a = this.sideMenuEl) === null || _a === void 0 ? void 0 : _a.collapsed;
|
|
19
21
|
}
|
|
20
22
|
componentDidLoad() {
|
|
21
23
|
var _a;
|
|
@@ -13,7 +13,9 @@ const TdsSideMenuDropdownList$1 = /*@__PURE__*/ proxyCustomElement(class TdsSide
|
|
|
13
13
|
this.collapsed = event.detail.collapsed;
|
|
14
14
|
}
|
|
15
15
|
connectedCallback() {
|
|
16
|
+
var _a;
|
|
16
17
|
this.sideMenuEl = this.host.closest('tds-side-menu');
|
|
18
|
+
this.collapsed = (_a = this.sideMenuEl) === null || _a === void 0 ? void 0 : _a.collapsed;
|
|
17
19
|
}
|
|
18
20
|
render() {
|
|
19
21
|
return (h(Host, { role: "list" }, h("div", { class: {
|
|
@@ -49,6 +49,7 @@ const TdsSideMenuDropdown$1 = /*@__PURE__*/ proxyCustomElement(class TdsSideMenu
|
|
|
49
49
|
}
|
|
50
50
|
connectedCallback() {
|
|
51
51
|
this.sideMenuEl = this.host.closest('tds-side-menu');
|
|
52
|
+
this.collapsed = this.sideMenuEl.collapsed;
|
|
52
53
|
this.open = this.defaultOpen;
|
|
53
54
|
}
|
|
54
55
|
render() {
|
|
@@ -73,7 +73,9 @@ const TdsSideMenu$1 = /*@__PURE__*/ proxyCustomElement(class TdsSideMenu extends
|
|
|
73
73
|
"collapsed": [4],
|
|
74
74
|
"isUpperSlotEmpty": [32],
|
|
75
75
|
"isCollapsed": [32]
|
|
76
|
-
}, [[16, "internalTdsCollapse", "collapsedSideMenuEventHandler"]]
|
|
76
|
+
}, [[16, "internalTdsCollapse", "collapsedSideMenuEventHandler"]], {
|
|
77
|
+
"collapsed": ["onCollapsedChange"]
|
|
78
|
+
}]);
|
|
77
79
|
function defineCustomElement$1() {
|
|
78
80
|
if (typeof customElements === "undefined") {
|
|
79
81
|
return;
|