UNPKG

@carbon/ibm-products-web-components

Version:
54 lines 1.86 kB
/** * @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 } from 'lit'; import '../side-panel/index.js'; declare const CDSTearsheetSummaryContent_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 Summary Content component - Right-side panel for summary details. * Automatically converts to a slide-in panel on small screens. * * @element c4p-tearsheet-summary-content * @slot - Content for the summary panel * @fires cds-tearsheet-summary-closed - Fired when the summary panel is closed (mobile only) */ declare class CDSTearsheetSummaryContent extends CDSTearsheetSummaryContent_base { slot: string; isFlush: boolean; /** * In mobile screens right side summary-content section won't be visible by default. * This prop can be toggled to open/close right panel in this case. */ summaryPanelOpen: boolean; /** * Optional aria-label for the summary panel. Defaults to "Summary panel". */ summaryPanelAriaLabel: string; /** * Handler for closing the summary panel */ private handleClose; firstUpdated(): void; render(): import("lit-html").TemplateResult<1>; static styles: any; } export default CDSTearsheetSummaryContent; //# sourceMappingURL=tearsheet-summary-content.d.ts.map