@sandlada/mdc
Version:
@sandlada/mdc is an open source component library that follows the Material Design 3 design specifications.
24 lines • 946 B
TypeScript
/**
* @license
* Copyright 2026 Kai-Orion & Sandlada
* SPDX-License-Identifier: MIT
*/
import { type LitElement, type TemplateResult } from 'lit';
import type { MixinBase, MixinReturn } from '../../utils/behaviors/mixin';
import type { MDCFocusRing } from './focus-ring';
export interface IMixinFocusRingAttributes {
ignoreGlobalConfig: boolean;
focusRingInward: boolean;
focusRingShapeInherit: boolean;
focusRingDisabled: boolean;
focusRingAnimationDisabled: boolean;
focusRingFocused: boolean;
}
export interface IMixinFocusRingOption extends IMixinFocusRingAttributes {
focusRingControl: HTMLElement | null;
focusRingHtmlFor: string | null;
focusRingElement: MDCFocusRing | null;
renderFocusRing(): TemplateResult;
}
export declare function mixinFocusRingOptions<T extends MixinBase<LitElement>>(base: T): MixinReturn<T, IMixinFocusRingOption>;
//# sourceMappingURL=focus-ring-options.mixin.d.ts.map