@carbon/ibm-products-web-components
Version:
Carbon for IBM Products Web Components
50 lines • 1.83 kB
TypeScript
/**
* @license
*
* Copyright IBM Corp. 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 { LitElement, PropertyValues } from 'lit';
import '@carbon/web-components/es/components/layer/index.js';
declare const CDSTearsheetBody_base: {
new (...args: any[]): {
_handles: Set<import("@carbon/web-components/es/globals/internal/handle").default>;
connectedCallback(): void;
disconnectedCallback(): void;
};
_hostListeners: {
[listenerName: string]: {
[type: string]: {
options?: boolean | AddEventListenerOptions;
};
};
};
} & typeof LitElement & (new (...args: any[]) => import("@lit-labs/signals").SignalWatcherApi);
/**
* Tearsheet Body component - Contains the main content area with optional influencer and summary panels.
* Supports automatic header collapse on scroll.
*
* @element c4p-tearsheet-body
* @slot influencer - Left-side panel for contextual information (use c4p-tearsheet-influencer)
* @slot main-content - Primary content area
* @slot summary-content - Right-side panel for summary details (use c4p-tearsheet-summary-content)
*/
declare class CDSTearsheetBody extends CDSTearsheetBody_base {
slot: string;
isFlush: boolean;
private _summaryContentSlot?;
private _hasSummaryContent;
/**@ts-ignore */
private _collapsibleController;
private getMainContentContainer;
private collapseHeader;
protected firstUpdated(_changedProperties: PropertyValues): void;
private _checkSummaryContent;
private _handleSlotChange;
render(): import("lit-html").TemplateResult<1>;
static styles: any;
}
export default CDSTearsheetBody;
//# sourceMappingURL=tearsheet-body.d.ts.map