iter(g139): 提示气泡支持左右方位
This commit is contained in:
+5
-4
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"$schema": "ui-arch-registry-index/0.1",
|
||||
"generatedAt": "2026-10-26T07:31:10.742Z",
|
||||
"generatedAt": "2026-10-26T07:32:30.909Z",
|
||||
"repoRoot": ".",
|
||||
"packages": [
|
||||
{
|
||||
@@ -1211,8 +1211,8 @@
|
||||
},
|
||||
{
|
||||
"n": "placement",
|
||||
"t": "'top' | 'bottom'",
|
||||
"d": "气泡方位;缺省 top(触发器上方)",
|
||||
"t": "'top' | 'bottom' | 'left' | 'right'",
|
||||
"d": "气泡方位;缺省 top,出场时按视口剩余空间自动翻到对侧(水平方位按宽度判左右)",
|
||||
"df": "top"
|
||||
},
|
||||
{
|
||||
@@ -1233,7 +1233,8 @@
|
||||
"把提示要挂在的元素作为第二个参数传入,返回的包裹节点替换原位置(气泡绝对定位,不占布局)",
|
||||
"鼠标悬停或键盘聚焦后延迟 delay 毫秒出场,移出 / 失焦 / Esc 收起;空间不足时自动翻到另一侧",
|
||||
"触摸屏没有 hover:手指按下即出场,抬手后停留 1.2 秒再收起,免得手指正挡着就消失",
|
||||
"气泡设了 pointer-events: none,不会挡住下面的点击;aria-describedby 已关联,读屏能念出提示文案"
|
||||
"气泡设了 pointer-events: none,不会挡住下面的点击;aria-describedby 已关联,读屏能念出提示文案",
|
||||
"方位支持上下左右四向:贴边或工具栏竖排时用 left / right,出场时按该方向剩余空间自动翻到对侧"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user