UNPKG

@carbon/ibm-products-web-components

Version:

Carbon for IBM Products Web Components

49 lines (45 loc) 1.5 kB
/** * Copyright IBM Corp. 2024 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import { __decorate } from 'tslib'; import { LitElement, html } from 'lit'; import { prefix, carbonPrefix } from '../../globals/settings.js'; import styles from './page-header.scss.js'; import { carbonElement } from '@carbon/web-components/es/globals/decorators/carbon-element.js'; /** * @license * * Copyright IBM Corp. 2025, 2025 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ /** * Page header Tabs Bar. * @element c4p-page-header-tabs */ let CDSPageHeaderTabs = class CDSPageHeaderTabs extends LitElement { render() { return html ` <div class="${carbonPrefix}--css-grid"> <div class="${carbonPrefix}--sm:col-span-4 ${carbonPrefix}--md:col-span-8 ${carbonPrefix}--lg:col-span-16 ${carbonPrefix}--css-grid-column" > <div class="${prefix}--page-header__tab-bar--tablist"> <slot></slot> <slot name="tags"></slot> </div> </div> <slot name="scroller"></slot> </div>`; } }; CDSPageHeaderTabs.styles = styles; CDSPageHeaderTabs = __decorate([ carbonElement(`${prefix}-page-header-tabs`) ], CDSPageHeaderTabs); var CDSPageHeaderTabs$1 = CDSPageHeaderTabs; export { CDSPageHeaderTabs$1 as default }; //# sourceMappingURL=page-header-tabs.js.map