@carbon/ibm-products-web-components
Version:
Carbon for IBM Products Web Components
41 lines (37 loc) • 1.27 kB
JavaScript
/**
* 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';
import styles from './coachmark-body.scss.js';
import { SignalWatcher } from '@lit-labs/signals';
/**
* @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.
*/
/**
* coachmark-body for content body
* @element c4p-coachmark-body
*/
let CDSCoachmarkBody = class CDSCoachmarkBody extends SignalWatcher(HostListenerMixin(LitElement)) {
render() {
return html ` <slot></slot> `;
}
};
CDSCoachmarkBody.styles = styles;
CDSCoachmarkBody = __decorate([
carbonElement(`${prefix}-coachmark-body`)
], CDSCoachmarkBody);
var CDSCoachmarkBody$1 = CDSCoachmarkBody;
export { CDSCoachmarkBody$1 as default };
//# sourceMappingURL=coachmark-body.js.map