import { LitElement, PropertyValues } from 'lit'; import { TableContextType } from './table-context'; import '../checkbox/checkbox'; /** * `kyn-tr` Web Component. * * Represents a table row (``) equivalent for custom tables created with Shidoka's design system. * It primarily acts as a container for individual table cells and behaves similarly to a native `` element. * * @slot unnamed - The content slot for adding table cells (`kyn-td` or other relevant cells). * @slot expand-placeholder - Slot for expand placeholder content (like `kyn-td` or other relevant cells). */ export declare class TableRow extends LitElement { static styles: import("lit").CSSResult; /** aria role. * @internal */ accessor role: string; /** aria-disabled. * @internal */ accessor 'aria-disabled': string; /** * rowId: String - Unique identifier for the row. */ accessor rowId: string; /** * selected: Boolean indicating whether the row is selected. * Reflects the `selected` attribute. */ accessor selected: boolean; /** * checkboxSelection: Boolean indicating whether rows should be * selectable using checkboxes. */ accessor checkboxSelection: boolean; /** * dense: Boolean indicating whether the table should be displayed * in dense mode. */ accessor dense: boolean; /** * Unread row state. */ accessor unread: boolean; /** * locked: Boolean indicating whether the row is locked. * If a row is selected before it is locked, it remains selected even after being locked. * A row can be selected and disabled/locked simultaneously. */ accessor locked: boolean; /** * expandable: Boolean indicating whether the row is expandable. */ accessor expandable: boolean; /** * expanded: Boolean indicating whether the row is expanded. */ accessor expanded: boolean; /** * disabled: Boolean indicating whether the row is disabled. * A disabled row is not allowed to have any user interactions. * A row can be selected and disabled/locked simultaneously. */ accessor disabled: boolean; /** * preventHighlight: Boolean indicating whether the row should not be highlighted. */ accessor preventHighlight: boolean; /** * dimmed: Boolean indicating whether the row is dimmed. * A row should not be selected and dimmed simultaneously. */ accessor dimmed: boolean; /** Text string customization. */ accessor textStrings: { expanded: string; collapsed: string; }; /** Internal text strings. * @internal */ accessor _textStrings: { expanded: string; collapsed: string; }; /** * @ignore */ accessor unnamedSlotEls: Array; /** * Context consumer for the table context. * Updates the cell's dense properties when the context changes. * @private * @ignore * @type {ContextConsumer} */ private accessor _contextConsumer; /** * Assistive text for screen readers. * @ignore */ accessor assistiveText: string; /** * Updates the cell's dense and ellipsis properties when the context changes. * @param {TableContextType} context - The updated context. */ handleContextChange: ({ checkboxSelection }: TableContextType) => void; /** * Handles the change of selection state for a specific row. */ handleRowSelectionChange(event: CustomEvent): void; _emitSelected(): void; willUpdate(changedProps: any): void; updated(changedProperties: PropertyValues): void; _handleUserInitiatedToggleExpando(expanded?: boolean): void; private _handleExpanding; render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'kyn-tr': TableRow; } } //# sourceMappingURL=table-row.d.ts.map