Skip to content

feat(button): 增加 circle 配置项 (#733)#1003

Closed
wanchun wants to merge 1 commit into
chore/test-infrafrom
fix/issue-733-v2
Closed

feat(button): 增加 circle 配置项 (#733)#1003
wanchun wants to merge 1 commit into
chore/test-infrafrom
fix/issue-733-v2

Conversation

@wanchun

@wanchun wanchun commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

修复内容

FButton 加 circle 配置项 —— 圆形 icon-only 按钮,与 primary/default/warning/danger 等 type 兼容。

改动

  • button.tsx —— 加 circle: Boolean prop (default false),classList 拼接 fes-btn-circle
  • style/index.less —— 加 .fes-btn-circle { border-radius: 50%; padding: 0; }
  • button-733.spec.ts —— 4 个行为测试

验证

PATH="$HOME/.nvm/versions/node/v22.22.3/bin:$PATH" ./node_modules/.bin/vitest run components/button

5/5 tests passed (1 老 + 4 新)。

改动文件

3 files / 55+ / 2-

Closes #733

@wanchun

wanchun commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator Author

Closed as part of v3 rebuild from chore/test-infra. Original v1/v2 PRs being superseded by clean re-implementation (vitest + playwright + docs).

@wanchun wanchun closed this Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant