@carbon/ibm-products-web-components
Version:
Carbon for IBM Products Web Components
53 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 } from 'lit';
import '../side-panel/index.js';
declare const CDSTearsheetInfluencer_base: {
new (...args: any[]): {
_handles: Set<import("@carbon/web-components/es/globals/internal/handle.js").default>;
connectedCallback(): void;
disconnectedCallback(): void;
};
_hostListeners: {
[listenerName: string]: {
[type: string]: {
options?: boolean | AddEventListenerOptions;
};
};
};
} & typeof LitElement & (new (...args: any[]) => import("@lit-labs/signals").SignalWatcherApi);
/**
* Tearsheet Influencer component - Left-side panel for contextual information.
* Automatically converts to a slide-in panel on small screens.
*
* @element c4p-tearsheet-influencer
* @slot - Content for the influencer panel
* @fires cds-tearsheet-influencer-closed - Fired when the influencer panel is closed (mobile only)
*/
declare class CDSTearsheetInfluencer extends CDSTearsheetInfluencer_base {
slot: string;
isFlush: boolean;
/**
* In mobile screens left side influencer section won't be visible by default.
* This prop can be toggled to open/close left panel in this case.
*/
influencerPanelOpen: boolean;
/**
* Optional aria-label for the influencer panel. Defaults to "Influencer panel".
*/
influencerPanelAriaLabel: string;
/**
* Handler for closing the influencer panel
*/
private handleClose;
render(): import("lit-html").TemplateResult<1>;
static styles: any;
}
export default CDSTearsheetInfluencer;
//# sourceMappingURL=tearsheet-influencer.d.ts.map