MujicaUI

上游归并与上游缺口

归并(PRD 4.11)

MyGo 已有能力纳入下列组件,不增加计数。

MyGo 能力MujicaUI 组件文件
Primary button、Menu buttonButton 主按钮变体;DropdownMenuinput/button.go、overlay/dropdown_menu.go
Stepper、Number inputNumberInput 仅步进模式与输入模式input/number_input.go
Search field、Find barSearchInput 搜索模式与查找栏模式input/search_input.go
Autocomplete、ComboboxCombobox 自由输入与选项选择input/combobox.go
Token field、Editable textTagsInput;Text 的 EditableTextinput/tags_input.go、display/text.go
List、Grid viewList 列表模式与网格模式data/list.go
Table、Outline、TreeDataTable;TreeTable;Treedata/data_table.go、data/tree_table.go、data/tree.go
Date input、Time inputDatePicker;TimePickerdatetime/date_picker.go、datetime/time_picker.go
Back and forward buttonsNavigationMenu 历史导航navigation/navigation_menu.go
Meter、Progress barProgress 计量模式与进度模式feedback/progress.go

上游缺口(待提交 MyGo)

PRD 第 2 节要求公开接口不足时向上游提交扩展。以下缺口在 MyGo v0.2.10 中核实,组件文档的“限制”节写明影响。本仓库不访问 MyGo internal,也未修改依赖。

缺口位置受影响组件
自定义元素无法设置 expanded、mixed、数值范围与值ui/element.go:282-295、ui/base.go:128,297Checkbox 半选、MultiSelect、TreeSelect、RangeSlider、Rating、全部日期时间弹出按钮
无 menu、menuitem 角色ui/access.go:22-79Menubar、DropdownMenu、ContextMenu
无 heading 角色ui/access.goHeading
输入法组合状态不公开ui/editor.go:73、ui/input.go:689TextInput、TextArea、SearchInput、Dialog、AlertDialog
打开链接失败不回传ui/context.go:270、ui/window.go:583Link
浮层焦点恢复与浮层快捷键不公开ui/scope.go:109,123,137Dialog、Drawer、Overlay
PopoverBase 背板吞掉外部点击;只有上下两个位置ui/base.go:373、ui/widgets.go:689Popover、Popconfirm、DropdownMenu、HoverCard
activeDescendant 不公开ui/element.go:331Menubar、CommandPalette
SliderBase 方向键步长固定 1%,构建时处理指针ui/base.go:111-117Slider
SelectBase 高亮无设置接口ui/base.go:260Select
TextInputBase 无只读开关ui/editor.go:139,811TextInput 只读模式
ui.Stepper 禁用时仍可步进,固定 9 位取整ui/indicators.go:216、ui/widgets.go snapNumberInput(已改为自绘)
路径遮罩缓存按四分之一像素取键,进程内共享ui/path.go:189-210自绘路径以 internal.Snap 对齐;MyGo 自绘的箭头(Outline 等)无法对齐;快照测试因此在独立子进程中渲染,结果与测试顺序无关