UNPKG

@carbon/ibm-products-web-components

Version:
54 lines 1.52 kB
/** * @license * * Copyright IBM Corp. 2025, 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 '@carbon/web-components/es/components/overflow-menu/index.js'; interface PageAction { label: string; } export default class CDSPageHeaderActionsSet extends LitElement { /** * Hidden actions that will be rendered in the overflow menu. */ hiddenItems: PageAction[]; /** * The list of page action labels for overflow menu. */ actionsData: PageAction[]; /** * Aria label for the overflow menu button. */ overflowAriaLabel: string; /** * Container holding all action buttons and the overflow menu. */ private container; /** * Items wrapper containing the slotted elements. */ private itemsContainer; private resizeObserver; private isSetup; private resizeTimeout; private lastContainerWidth; connectedCallback(): void; firstUpdated(): void; updated(changedProperties: Map<string, unknown>): void; private setupOverflowDetection; disconnectedCallback(): void; private handleOverflowItemClick; render(): import("lit-html").TemplateResult<1>; static styles: any; } declare global { interface HTMLElementTagNameMap { 'c4p-page-header-actions-set': CDSPageHeaderActionsSet; } } export {}; //# sourceMappingURL=page-header-actions-set.d.ts.map