fix: 本地 patch MDUI 以解决 tabindex = 0 导致的一系列玄学问题

This commit is contained in:
CrescentLeaf
2025-10-04 11:07:03 +08:00
parent af694f6f6c
commit 6e164cbdfb
480 changed files with 94389 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
import { MduiElement } from '@mdui/shared/base/mdui-element.js';
import type { TemplateResult, CSSResultGroup } from 'lit';
/**
* @summary 图标组件
*
* ```html
* <mdui-icon name="search"></mdui-icon>
* ```
*
* @slot - `svg` 图标的内容
*/
export declare class Icon extends MduiElement<IconEventMap> {
static styles: CSSResultGroup;
/**
* Material Icons 图标名
*/
name?: string;
/**
* svg 图标的路径
*/
src?: string;
private readonly hasSlotController;
protected render(): TemplateResult;
}
export interface IconEventMap {
}
declare global {
interface HTMLElementTagNameMap {
'mdui-icon': Icon;
}
}