UNPKG

@carbon/ibm-products-web-components

Version:
53 lines (51 loc) 1.76 kB
/** * Copyright IBM Corp. 2020, 2026 * * 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 "../../globals/settings.js"; import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.127.0/helpers/decorate.js"; import guide_banner_element_default$1 from "./guide-banner-element.scss.js"; import { LitElement, html } from "lit"; import HostListenerMixin from "@carbon/web-components/es/globals/mixins/host-listener.js"; import { carbonElement } from "@carbon/web-components/es/globals/decorators/carbon-element.js"; //#region src/components/guide-banner/guide-banner-element.ts /** * @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 = `c4p--guidebanner__element`; /** * GuideBannerElement. * * @element c4p-guide-banner-element * @csspart guide-banner-element * */ let CDSGuideBannerElement = class CDSGuideBannerElement extends HostListenerMixin(LitElement) { render() { return html` <div class="${blockClass}"> <div class="${blockClass}__title"> <slot name="title"></slot> </div> <div class="${blockClass}__description"> <slot name="description"></slot> </div> <slot></slot> </div> `; } static { this.styles = guide_banner_element_default$1; } }; CDSGuideBannerElement = __decorate([carbonElement(`c4p-guide-banner-element`)], CDSGuideBannerElement); var guide_banner_element_default = CDSGuideBannerElement; //#endregion export { blockClass, guide_banner_element_default as default }; //# sourceMappingURL=guide-banner-element.js.map