911ceca079
Select 组件(用户拍板:下拉框全端共用一个真相源): - design/components/forms/Select.jsx:自绘下拉——触发器同 Input (control-sm/radius-sm/border-1 + chevronDown),弹层同菜单 (radius-md/shadow-menu、选中项前置对勾、hover surface-2), 外点/Esc 收起;登记簿加卡;icons.js 新增 chevronDown 并登记 icon-map - 原型 SettingsTray 与桌面 SettingsApp 同步换用(替换原生 select—— 其系统弹层样式/位置不可控,即 12A 截图问题) 原型组件运行时可再生(修复单源缺口): - design-pipeline/bundle-components.mjs:用 desktop 现成 esbuild 重建 _ds_bundle.js(此前为 Claude 导出产物、仓库内无法再生,组件一改即 过期);import 'react' 经全局 shim,命名空间不变;已实测原型页正常 - _ds_bundle.js 重建(15 个组件,含 Select/Icon) 设置窗口无边框: - tauri.conf settings 窗口 titleBarStyle=Overlay + hiddenTitle, 系统红绿灯悬浮左上;SettingsApp 自绘顶条(surface-2 + 下边框 + data-tauri-drag-region 可拖拽),对齐原型 MacWindow 规格 合并 feat/design-truth-source(真相源与闸体系)进本分支 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
18 lines
1.3 KiB
JSON
18 lines
1.3 KiB
JSON
{
|
||
"$schema": "语义图标 → 各端实现的映射表(真相源)。web = design/icons.js 的 key;ios = SF Symbol 名;android = Compose/资源名。null = 该端暂未使用。业务代码使用的图标必须能在对应列找到,check-ds/check-code 闸强制。",
|
||
"mic": { "web": "mic", "ios": "mic", "android": null },
|
||
"micFill": { "web": null, "ios": "mic.fill", "android": null },
|
||
"micSlash": { "web": null, "ios": "mic.slash", "android": null },
|
||
"check": { "web": "check", "ios": "checkmark", "android": null },
|
||
"close": { "web": "x", "ios": "xmark", "android": null },
|
||
"chevronRight": { "web": null, "ios": "chevron.right", "android": null },
|
||
"chevronDown": { "web": "chevronDown", "ios": null, "android": null },
|
||
"settings": { "web": null, "ios": "gearshape", "android": null },
|
||
"person": { "web": null, "ios": "person.fill", "android": null },
|
||
"globe": { "web": null, "ios": "globe", "android": null },
|
||
"logout": { "web": null, "ios": "rectangle.portrait.and.arrow.right", "android": null },
|
||
"imagePlus": { "web": "imagePlus", "ios": "photo.badge.plus", "android": null },
|
||
"feedback": { "web": null, "ios": "bubble.left.and.bubble.right.fill", "android": null },
|
||
"accessibilityKey": { "web": "key", "ios": null, "android": null }
|
||
}
|