UNPKG

@carbon/ibm-products-web-components

Version:
42 lines 1.35 kB
/** * @license * * Copyright IBM Corp. 2025 * * 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'; /** * item in c4p-checklist-group * @element c4p-checklist-item * @slot icon - checklist item icon, usually a status indicator icon * @slot content - checklist item title/description * @fires c4p-checklist-item-clicked - The custom event which is fired when a user clicks on checklist item with clickable attribute. */ declare class CDSChecklistItem extends LitElement { /** * label of the c4p-checklist-item */ label: any; /** * status of the c4p-checklist-item * Values can be 'not started', 'in progress', 'completed', 'error', 'disabled' */ status: any; /** When true, makes the checklist item label clickable */ clickable: boolean; private _handleClick; private _handleKeyDown; private _mapStatusToKind; private _updateAttributes; firstUpdated(): void; render(): import("lit-html").TemplateResult<1>; /** * The custom event which is fired when the checklist item is clicked. */ static get checklistItemClicked(): string; static styles: any; } export default CDSChecklistItem; //# sourceMappingURL=checklist-item.d.ts.map