fix(ui): PasswordInput 眼睛移入输入框,隐藏 Edge 原生显隐按钮

- Input 新增 suffix 插槽,眼睛不再并排在外
- 隐藏 ::-ms-reveal / ::-ms-clear,避免 Edge 聚焦时出现两个眼睛
- 展示页补 suffix 示例;COMPONENTS.md / README 同步;版本 0.3.1
This commit is contained in:
2026-10-30 08:59:22 +08:00
parent 93b1e41d28
commit ebe4af3dab
9 changed files with 76 additions and 44 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ stash-ui/
| `Layout` | 页面骨架:页头 / 侧栏 / 内容 / 右栏 / 页脚 | `header` `sider` `aside` `footer` `maxWidth` `gap` |
| `Space` | 元素间距 | `direction` `gap` `wrap` `align` `justify` |
| `Divider` | 分隔线 | `orientation` `variant` `spacing` |
| `Input` | 输入框 | `icon` `clearable` `onClear` `shortcut` `inputRef` |
| `Input` | 输入框 | `icon` `suffix` `clearable` `onClear` `shortcut` `inputRef` |
| `Textarea` | 多行文本(Markdown / 简介) | `rows` `resize` `invalid` |
| `PasswordInput` | 密码输入(锁图标 + 显隐切换) | `icon` `size` `toggle` |
| `Notice` | 提示条 | `tone` `title` `action` |