UNPKG

@carbon/ibm-products-web-components

Version:
56 lines 2.02 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, PropertyValues } from 'lit'; import type { ActionButton, ButtonSize } from '../action-set/index.js'; import '../action-set/index.js'; declare const CDSTearsheetFooter_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 Footer component - Contains action buttons at the bottom of the tearsheet. * * @element c4p-tearsheet-footer * @slot - Default slot for custom footer content (rendered before actions) */ declare class CDSTearsheetFooter extends CDSTearsheetFooter_base { slot: string; /** * Array of action button configurations. Each action is an object with properties * like 'kind', 'label', 'disabled', 'onClick', etc. * These are passed directly to the action-set component which handles rendering. */ actions: ActionButton[]; /** * Optional button size override. If not provided, defaults based on tearsheet variant. */ buttonSize?: ButtonSize; private actionSetElement?; private _actionSetRegistered; protected firstUpdated(_changedProperties: PropertyValues): void; protected updated(_changedProperties: PropertyValues): void; /** * Renders the action-set component with actions */ private _renderActions; render(): import("lit-html").TemplateResult<1>; static styles: any; } export default CDSTearsheetFooter; //# sourceMappingURL=tearsheet-footer.d.ts.map