UNPKG

@carbon/ibm-products-web-components

Version:
39 lines (35 loc) 1.23 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 } from '../../globals/settings.js'; import HostListenerMixin from '@carbon/web-components/es/globals/mixins/host-listener.js'; import { carbonElement } from '@carbon/web-components/es/globals/decorators/carbon-element.js'; /** * @license * * Copyright IBM Corp. 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. */ const blockClass = `${prefix}--guidebanner__element`; let CDSGuideBannerElement = class CDSGuideBannerElement extends HostListenerMixin(LitElement) { render() { return html ` <div class="${blockClass}"> <slot></slot> </div> `; } }; CDSGuideBannerElement = __decorate([ carbonElement(`${prefix}-guide-banner-element`) ], CDSGuideBannerElement); var CDSGuideBannerElement$1 = CDSGuideBannerElement; export { blockClass, CDSGuideBannerElement$1 as default }; //# sourceMappingURL=guide-banner-element.js.map