新增编辑器生成规范、生成角色形象、生成图标素材等功能

新增编辑器生成规范、生成角色形象、生成图标素材等功能
This commit is contained in:
2026-06-16 14:47:13 +08:00
parent 0fd0a06387
commit 7eeff10c67
33 changed files with 8783 additions and 502 deletions

View File

@@ -1,10 +1,11 @@
import type { ButtonHTMLAttributes, ReactNode } from 'react';
import type { ButtonHTMLAttributes, CSSProperties, ReactNode } from 'react';
type PlatformFloatingMenuProps = {
children: ReactNode;
className?: string;
label?: string;
placement?: 'bottom-start' | 'bottom-end' | 'top-start' | 'top-end';
style?: CSSProperties;
};
type PlatformFloatingMenuItemProps = Omit<
@@ -24,6 +25,7 @@ export function PlatformFloatingMenu({
className,
label,
placement = 'top-end',
style,
}: PlatformFloatingMenuProps) {
return (
<div
@@ -36,6 +38,7 @@ export function PlatformFloatingMenu({
.join(' ')}
role="menu"
aria-label={label}
style={style}
>
{children}
</div>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff