公共 UI 组件与主题桥:FitScreenIcon – LoadingIcon
本页由当前 SDK 声明自动生成。 导入入口:@woohaa3/ui。
FitScreenIcon · FolderPlusIcon · GameIcon · GenerationDirectoryProps · GenerationHistoryIcon · GenerationModelDirectory · GenerationParameterField · GenerationParameters · HandIcon · HistoryIcon · HourglassIcon · IconButton · IconButtonProps · IdentityIcon · ImageIcon · InvalidIcon · LassoIcon · LayersIcon · LayoutGridIcon · LinkIcon · Listbox · ListboxOption · ListboxProps · LoadingIcon
FitScreenIcon
export const FitScreenIcon: { ({ size, strokeWidth, absoluteStrokeWidth, ...rest }: UiIconProps): React.JSX.Element; displayName: string; };关联类型:UiIconProps
FolderPlusIcon
export const FolderPlusIcon: { ({ size, strokeWidth, absoluteStrokeWidth, ...rest }: UiIconProps): React.JSX.Element; displayName: string; };关联类型:UiIconProps
GameIcon
游戏生成。
export const GameIcon: { ({ size, strokeWidth, absoluteStrokeWidth, ...rest }: UiIconProps): React.JSX.Element; displayName: string; };关联类型:UiIconProps
GenerationDirectoryProps
export type GenerationDirectoryProps = { entries: readonly GenerationModelEntry[]; sources: readonly GenerationSourceEntry[]; selected: string; open: boolean; onOpenChange(open: boolean): void; onSelect(entry: GenerationModelEntry): void; onRetry?(sourceIdentity: string): void; onManage?(): void; recent?: readonly string[]; disabled?: boolean; placeholder?: string; loading?: boolean; error?: string; onRetryAll?(): void;};关联类型:GenerationModelEntry · GenerationSourceEntry
GenerationHistoryIcon
export const GenerationHistoryIcon: { ({ size, strokeWidth, absoluteStrokeWidth, ...rest }: UiIconProps): React.JSX.Element; displayName: string; };关联类型:UiIconProps
GenerationModelDirectory
Pure controlled directory. Source browsing is deliberately not an execution selection.
export function GenerationModelDirectory(props: GenerationDirectoryProps): React.JSX.Element;GenerationParameterField
export interface GenerationParameterField extends PresentableParameter { type?: "select" | "number" | "text" | "boolean" | "textarea" | "unsupported"; control?: "slider"; semantic?: PptaskParameterControl; required?: boolean; adaptiveValue?: string;}关联类型:PresentableParameter · PptaskParameterControl
成员说明:
schema:Original property schema, used for constraints beyond the basic control.
GenerationParameters
export function GenerationParameters({ fields, parameters, open, onOpenChange, onChange, onReset, disabled, summary: summaryOverride }: { fields: readonly GenerationParameterField[]; parameters: Record<string, unknown>; open: boolean; onOpenChange(open: boolean): void; onChange(patch: Record<string, unknown>): void; onReset?(): void; disabled?: boolean; summary?: string; }): React.JSX.Element;HandIcon
export const HandIcon: { ({ size, strokeWidth, absoluteStrokeWidth, ...rest }: UiIconProps): React.JSX.Element; displayName: string; };关联类型:UiIconProps
HistoryIcon
历史与撤销。
export const HistoryIcon: { ({ size, strokeWidth, absoluteStrokeWidth, ...rest }: UiIconProps): React.JSX.Element; displayName: string; };关联类型:UiIconProps
HourglassIcon
export const HourglassIcon: { ({ size, strokeWidth, absoluteStrokeWidth, ...rest }: UiIconProps): React.JSX.Element; displayName: string; };关联类型:UiIconProps
IconButton
紧凑图标按钮。默认图标 aria-hidden;label 是唯一的可访问名称来源。
陌生操作由调用方用 Tooltip 包裹本组件提供可见说明。
export const IconButton: React.ForwardRefExoticComponent<Omit<ButtonHTMLAttributes<HTMLButtonElement>, "type" | "children"> & { label: string; size?: ButtonSize; tone?: ButtonTone; loading?: boolean; children: ReactNode; pressed?: boolean; type?: "button" | "submit" | "reset"; } & React.RefAttributes<HTMLButtonElement>>;关联类型:ButtonSize · ButtonTone
IconButtonProps
export type IconButtonProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "type" | "children"> & { label: string; size?: ButtonSize; tone?: ButtonTone; loading?: boolean; children: ReactNode; pressed?: boolean; type?: "button" | "submit" | "reset";};关联类型:ButtonSize · ButtonTone
成员说明:
label:强制可访问名称(icon-only MUST 有名称,design D3)。children:图标(默认aria-hidden)。pressed:切换类控件的按下态。
IdentityIcon
身份与访问。
export const IdentityIcon: { ({ size, strokeWidth, absoluteStrokeWidth, ...rest }: UiIconProps): React.JSX.Element; displayName: string; };关联类型:UiIconProps
ImageIcon
export const ImageIcon: { ({ size, strokeWidth, absoluteStrokeWidth, ...rest }: UiIconProps): React.JSX.Element; displayName: string; };关联类型:UiIconProps
InvalidIcon
export const InvalidIcon: { ({ size, strokeWidth, absoluteStrokeWidth, ...rest }: UiIconProps): React.JSX.Element; displayName: string; };关联类型:UiIconProps
LassoIcon
export const LassoIcon: { ({ size, strokeWidth, absoluteStrokeWidth, ...rest }: UiIconProps): React.JSX.Element; displayName: string; };关联类型:UiIconProps
LayersIcon
export const LayersIcon: { ({ size, strokeWidth, absoluteStrokeWidth, ...rest }: UiIconProps): React.JSX.Element; displayName: string; };关联类型:UiIconProps
LayoutGridIcon
export const LayoutGridIcon: { ({ size, strokeWidth, absoluteStrokeWidth, ...rest }: UiIconProps): React.JSX.Element; displayName: string; };关联类型:UiIconProps
LinkIcon
export const LinkIcon: { ({ size, strokeWidth, absoluteStrokeWidth, ...rest }: UiIconProps): React.JSX.Element; displayName: string; };关联类型:UiIconProps
Listbox
export function Listbox(props: ListboxProps): React.JSX.Element;关联类型:ListboxProps
ListboxOption
export type ListboxOption = { value: string; label: ReactNode; disabled?: boolean; className?: string; ariaLabel?: string; dataAttributes?: Record<string, string | undefined>;};成员说明:
className:选项额外 class。ariaLabel:选项可访问名(label 为复杂结构时提供)。dataAttributes:选项附加数据属性。
ListboxProps
export type ListboxProps = { value: string; onValueChange: (value: string) => void; options: readonly ListboxOption[]; label: string; className?: string; optionClassName?: string; autoFocus?: boolean; empty?: ReactNode; dataAttributes?: Record<string, string | undefined>;};关联类型:ListboxOption
成员说明:
autoFocus:首个可选项获得焦点(键盘进入时)。empty:空态内容(无匹配时)。dataAttributes:透传到根的数据属性。
LoadingIcon
export const LoadingIcon: { ({ size, strokeWidth, absoluteStrokeWidth, ...rest }: UiIconProps): React.JSX.Element; displayName: string; };关联类型:UiIconProps