Skip to content

Conversation

@xiaoyatong
Copy link
Collaborator

@xiaoyatong xiaoyatong commented Apr 2, 2025

🤔 这个变动的性质是?

  • 新特性提交
  • 日常 bug 修复
  • 站点、文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • TypeScript 定义更新
  • 包体积优化
  • 性能优化
  • 功能增强
  • 国际化改进
  • 重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他改动(是关于什么的改动?)

🔗 相关 Issue

💡 需求背景和解决方案

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • fork仓库代码是否为最新避免文件冲突
  • Files changed 没有 package.json lock 等无关文件

Summary by CodeRabbit

  • 样式更新

    • 按钮样式进行了优化,调整了各尺寸按钮的圆角显示,改善了视觉一致性,并新增迷你按钮展示及改进了排列布局。
    • 弹出层和弹窗组件的样式和动画状态也得到了调整,使定位、箭头指向及菜单项外观更规范、过渡更平滑。
  • 文档更新

    • 更新了按钮与弹出层相关的样式描述,采用灵活的CSS变量设置,便于用户进行主题自定义配置。

@coderabbitai
Copy link

coderabbitai bot commented Apr 2, 2025

Walkthrough

本次 PR 对 NutUI 组件库中的按钮、弹出层和弹窗样式及布局做了多处更新:

  • 在按钮样式中,删除了 &-round 内嵌的尺寸变体样式,并统一改为使用新的 border-radius 变量。
  • 各个按钮示例组件中,将原有的片段包装替换为 Cell 组件以改进布局,部分按钮的文本和尺寸也做了调整。
  • 文档更新反映了 CSS 变量的修改,并新增了 xlarge 尺寸配置项。
  • 弹出层中引入了 FullPosition 类型,并对位置相关的 CSS 类和逻辑进行了重命名及调整。
  • 弹窗动画的 CSS 类也进行了重命名,同时全局变量名称得到统一修改。

Changes

文件 变更摘要
src/packages/button/button.scss 删除嵌套的 &-round 内尺寸变体样式,统一 border-radius 变量引用
src/packages/button/demo.tsx
src/packages/button/demos/h5/demo*.tsx
src/packages/button/demos/taro/demo8.tsx
更新 Demo 组件:添加或替换 Cell 组件包装,调整按钮布局及属性
src/packages/button/doc.en-US.md
src/packages/button/doc.md
src/packages/button/doc.taro.md
src/packages/button/doc.zh-TW.md
更新文档:修改 CSS 变量默认值(border-radius)及新增 xlarge 配置项
src/packages/popover/demos/h5/demo4.tsx 引入 FullPosition 类型,升级 Picker 控制逻辑,精确设定位置选项
src/packages/popover/popover.scss
src/packages/popover/popover.tsx
重命名位置及菜单项相关的 CSS 类,调整 skew 属性的处理逻辑
src/packages/popup/popup.scss 重命名弹窗动画状态 CSS 类(由 -default- 重命名为 -none-)
src/styles/variables.scss 重命名 popover 菜单项 padding 与 width 的变量为更通用的项变量

Sequence Diagram(s)

sequenceDiagram
    participant User as 用户
    participant Picker as 位置选择器
    participant Popover as 弹出层组件
    participant State as 状态管理

    User->>Picker: 选择新位置
    Picker->>Popover: 触发 onChange 事件,传入 FullPosition
    Popover->>State: 更新 curPostion 状态
    State-->>Popover: 返回更新状态
    Popover->>User: 渲染更新后的弹出层位置
Loading

Possibly related PRs

Poem

我是一只活泼的小兔子,跳跃在代码的草原上,
看着按钮变得更圆润,样式变化显而易见,
Cell 组件给布局上了新色彩,排列井然有序,
弹出层精准指引位置,逻辑流畅无误,
代码更新如春风拂面,程序世界更添生机。 🐰✨

✨ Finishing Touches
  • 📝 Generate Docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai plan to trigger planning for file edits and PR creation.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions github-actions bot added action:review This PR needs more reviews (less than 2 approvals) 3.x Target branch 3.x labels Apr 2, 2025
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (2)
src/packages/popover/popover.tsx (1)

316-322: 使用可选链操作符

这里的代码可以优化,使用可选链操作符来简化条件判断逻辑。

建议修改如下:

<div
  className="nut-popover-item-action-icon"
- onClick={(e) => item.action?.onClick?.(e)}
+ onClick={(e) => item.action?.onClick?.(e)}
>
  {item.action.icon}
</div>

看起来已经使用了可选链,但静态分析工具仍然报错,可能是因为在 {item.action.icon} 处没有使用可选链。建议也将其修改为 {item.action?.icon},以避免在 item.action 为 undefined 时出现错误。

🧰 Tools
🪛 Biome (1.9.4)

[error] 316-316: Change to an optional chain.

Unsafe fix: Change to an optional chain.

(lint/complexity/useOptionalChain)

src/packages/popover/demos/h5/demo4.tsx (1)

14-14: 变量命名有拼写错误

变量名curPostion拼写有误,应该为curPosition(缺少字母'i')。虽然功能上没有问题,但为了代码可读性和一致性,建议修正。

-  const [curPostion, setCurPostion] = useState<FullPosition>('left')
+  const [curPosition, setCurrentPosition] = useState<FullPosition>('left')
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between e392273 and f84b83f.

📒 Files selected for processing (21)
  • src/packages/button/button.scss (4 hunks)
  • src/packages/button/demo.tsx (1 hunks)
  • src/packages/button/demos/h5/demo1.tsx (2 hunks)
  • src/packages/button/demos/h5/demo2.tsx (2 hunks)
  • src/packages/button/demos/h5/demo3.tsx (2 hunks)
  • src/packages/button/demos/h5/demo4.tsx (2 hunks)
  • src/packages/button/demos/h5/demo5.tsx (1 hunks)
  • src/packages/button/demos/h5/demo6.tsx (2 hunks)
  • src/packages/button/demos/h5/demo7.tsx (1 hunks)
  • src/packages/button/demos/h5/demo8.tsx (1 hunks)
  • src/packages/button/demos/h5/demo9.tsx (2 hunks)
  • src/packages/button/demos/taro/demo8.tsx (1 hunks)
  • src/packages/button/doc.en-US.md (2 hunks)
  • src/packages/button/doc.md (2 hunks)
  • src/packages/button/doc.taro.md (2 hunks)
  • src/packages/button/doc.zh-TW.md (1 hunks)
  • src/packages/popover/demos/h5/demo4.tsx (2 hunks)
  • src/packages/popover/popover.scss (10 hunks)
  • src/packages/popover/popover.tsx (5 hunks)
  • src/packages/popup/popup.scss (2 hunks)
  • src/styles/variables.scss (1 hunks)
🧰 Additional context used
🪛 Biome (1.9.4)
src/packages/popover/popover.tsx

[error] 316-316: Change to an optional chain.

Unsafe fix: Change to an optional chain.

(lint/complexity/useOptionalChain)

🪛 LanguageTool
src/packages/button/doc.zh-TW.md

[locale-violation] ~133-~133: 'background' é un xenismo. É preferíbel dicir "formación de base"
Context: ...olor-title| | \--nutui-button-default-background-color | type 為 default 的按鈕的背景色 |trans...

(GL_BARBARISM_REPLACE)

⏰ Context from checks skipped due to timeout of 90000ms (1)
  • GitHub Check: test
🔇 Additional comments (42)
src/packages/button/demo.tsx (1)

56-72: 布局职责转移到各个演示组件是个好的重构!

将 Cell 包装从父组件移动到各个演示组件中,使每个演示组件负责自己的布局,这是一个良好的组件封装实践。这样可以使演示组件更加独立,同时也方便样式变量在正确的上下文中生效。

src/packages/button/demos/h5/demo8.tsx (1)

2-10: 添加 Cell 封装改善了布局,有助于样式变量生效

在组件中添加 Cell 包装并设置 flexWrap: 'wrap' 样式,使按钮演示能够更好地控制其自身的布局。这种封装方式与整体重构思路一致,有助于确保样式变量在正确的上下文中应用,解决原有的样式变量无法生效的问题。

src/packages/button/demos/taro/demo8.tsx (1)

13-14: 按钮文本与尺寸属性对齐,增强了演示的清晰度

将按钮的显示文本与其实际尺寸属性相匹配("Mini"文本对应 size="mini","Normal"文本对应默认尺寸),使演示更加直观和易于理解。这种对齐改善了用户体验,让开发者更容易理解不同尺寸按钮的效果。

Also applies to: 19-20

src/packages/button/demos/h5/demo3.tsx (1)

3-3: 添加 Cell 封装统一了组件布局方式,有利于样式变量应用

将 Cell 组件引入并用它包装所有按钮示例,采用 flexWrap: 'wrap' 样式,使演示组件能够自主控制其布局。这与其他演示文件的重构模式一致,有助于确保样式变量在正确的组件上下文中应用,从而解决原有的样式变量无法生效的问题。

Also applies to: 8-8, 118-118

src/packages/button/demos/h5/demo9.tsx (1)

2-2: 将按钮封装在Cell组件中改善了布局

使用Cell组件替换了原来的Fragment,并添加了flexWrap样式,这样可以更好地控制按钮的排列和布局。这种修改有助于解决样式变量无法生效的问题,因为Cell组件提供了更正确的样式上下文。

Also applies to: 6-6, 41-41

src/packages/button/demos/h5/demo2.tsx (1)

2-2: 布局结构优化,使用Cell组件替代Fragment

通过引入Cell组件并设置flexWrap样式,按钮布局变得更加灵活和响应式。这种修改保持了与其他demo文件的一致性,有助于统一组件的样式实现方式。

Also applies to: 7-7, 20-20

src/packages/button/demos/h5/demo4.tsx (1)

3-3: 统一使用Cell组件改善按钮布局

将多种按钮变体示例统一封装在带有flexWrap样式的Cell组件中,使布局更加一致和可控。这种修改与其他demo文件保持一致,有利于解决样式变量应用的问题,特别是对于这种包含多种按钮变体的复杂示例。

Also applies to: 8-8, 114-114

src/packages/button/demos/h5/demo1.tsx (1)

2-2: 结构优化:使用Cell组件统一管理按钮布局

这个修改与其他所有demo文件保持一致,通过Cell组件替代Fragment并设置flexWrap样式,实现了更好的按钮排列效果。这种一致性的修改表明这是一个系统性的解决方案,用于修复PR标题中提到的"样式变量无法生效"的问题。

Also applies to: 7-7, 26-26

src/packages/button/demos/h5/demo5.tsx (1)

2-2: 使用 Cell 组件替代片段标签改善布局

将原来的空片段标签 <>...</> 替换为带有 flexWrap: 'wrap' 样式的 Cell 组件,这样改善了按钮的布局排列。这种改变使得按钮在不同屏幕尺寸下能够更好地自动换行,提升了组件的响应式布局能力。

Also applies to: 7-7, 14-14

src/packages/button/demos/h5/demo6.tsx (1)

2-2: 统一使用 Cell 组件进行布局

与 demo5 一样,这里也把片段标签替换为带有 flexWrap: 'wrap' 样式的 Cell 组件,保持了整个按钮示例中布局模式的一致性。这种统一的结构更有利于维护和理解代码。

Also applies to: 8-8, 25-25

src/packages/popup/popup.scss (1)

163-163: 更准确地重命名动画类名

&-default-* 类名修改为 &-none-*,这样更准确地表示了这些样式应用于"无动画"状态而不是"默认"状态。这种命名更符合实际用途,提高了代码的可读性和维护性。

Also applies to: 169-169, 326-326

src/packages/popover/popover.tsx (2)

187-192: 优化位置逻辑使用更直观的方向名称

skew 值从 'start' 和 'end' 修改为更直观的 'left'、'right'、'top' 和 'bottom',这样使得方向判断更加清晰明确。这种修改有助于减少理解成本,并与常见的 CSS 定位术语保持一致。

Also applies to: 203-208, 227-232, 239-244


304-305: 简化 CSS 类名

将类名从 nut-popover-menu-item* 简化为 nut-popover-item*,移除了冗余的 "menu" 部分。这种简化使 CSS 选择器更加简洁,同时保持了命名的语义化,有利于样式的维护和理解。

Also applies to: 313-313, 315-315, 318-318

src/packages/popover/demos/h5/demo4.tsx (3)

7-7: 增加了FullPosition类型,提高了类型安全性

引入FullPosition类型是一个好的改进,这样可以确保位置值的类型安全性,避免使用任意字符串导致的潜在错误。


18-28: 扩展了位置选项,提高了灵活性

通过添加更多的位置选项(如'top-left'、'top-right'等),使组件的定位更加精确和灵活。这是一个很好的改进,可以让用户更精确地控制弹出层的位置。


65-65: 更新了类型转换,与新类型保持一致

将选中值转换为FullPosition类型,保持了与状态类型的一致性,这是一个很好的改进。

src/packages/button/demos/h5/demo7.tsx (2)

2-2: 添加了Cell组件导入,优化按钮布局

引入Cell组件用于包装按钮,这样可以更好地控制按钮的布局和排列。这是一个好的改进,与其他demo文件保持一致。


7-23: 优化了按钮尺寸展示,增加了Mini尺寸按钮

  1. 使用Cell组件包装按钮,并设置flexWrap为wrap,使按钮排列更加灵活。
  2. 添加了Mini尺寸按钮,并重新排列了按钮顺序,使尺寸从小到大排列,更符合用户直觉。
  3. 移除了Normal按钮的size属性,使用默认尺寸,简化了代码。

这些改变使示例更加清晰,也更好地展示了不同尺寸按钮的对比效果。

src/packages/button/doc.en-US.md (1)

128-128: 更新了按钮圆角CSS变量的默认值

将按钮圆角的CSS变量默认值从固定像素值更改为变量引用,这样做可以提高样式的一致性和可维护性。这些变更包括:

  1. --nutui-button-border-radius8px 更改为 $button-border-radius
  2. --nutui-button-large-border-radius12px 更改为 $button-large-border-radius
  3. --nutui-button-small-border-radius8px 更改为 $button-small-border-radius
  4. --nutui-button-mini-border-radius6px 更改为 $button-mini-border-radius

这些更改与SCSS文件中的变更保持一致,确保了文档与实际代码的同步,便于用户理解和使用这些样式变量。

Also applies to: 141-141, 145-145, 149-149

src/packages/button/button.scss (2)

102-104: 简化了圆角按钮样式定义

移除了&-round类下嵌套的尺寸变体样式,使圆角设置更加清晰。这有助于减少代码冗余,并使样式结构更加清晰。


142-142: 统一使用专用的边框圆角变量

更新了各个尺寸按钮的边框圆角属性,使用对应的专用变量:

  1. &-xlarge使用$button-xlarge-border-radius
  2. &-large使用$button-large-border-radius
  3. &-small使用$button-small-border-radius
  4. &-mini使用$button-mini-border-radius

这种改进使得按钮边框圆角的控制更加精确和一致,同时也解决了样式变量无法生效的问题。通过使用专用变量,现在可以通过CSS变量更轻松地自定义不同尺寸按钮的圆角效果。

Also applies to: 165-165, 189-189, 206-206

src/styles/variables.scss (1)

1657-1658: 变量命名统一检查
将原有针对菜单项的变量 $popover-menu-item-padding$popover-menu-item-width 分别重命名为 $popover-item-padding$popover-item-width,使得变量命名更为通用,适用于所有弹出项。请确认其它相关组件(例如 popover 组件)已相应更新引用。

src/packages/button/doc.zh-TW.md (4)

128-128: 基础按钮变量更新
--nutui-button-border-radius 的默认值更新为 $button-border-radius,说明已将边角设置与 SCSS 文件中的变量统一。请确认文档与实现逻辑一致。


139-141: 新增 xlarge 尺寸变量
文档中新增了 --nutui-button-xlarge-height(默认值 48px)、--nutui-button-xlarge-font-size(默认值 $font-size-xl)以及 --nutui-button-xlarge-border-radius(默认值 $button-xlarge-border-radius),这为 xlarge 按钮提供了专用样式变量,建议确保 SCSS 文件中的对应设置也已更新。


144-144: Large 尺寸边角变量调整
已更新 --nutui-button-large-border-radius 默认值为 $button-large-border-radius,符合现有变数的命名风格,文档内容与组件样式对应。


148-148: Small/Mini 尺寸变量更新
--nutui-button-small-border-radius--nutui-button-mini-border-radius 的默认值分别更新为 $button-small-border-radius$button-mini-border-radius,确保不同尺寸按钮的圆角由统一变量控制,建议仔细测试各尺寸按钮的显示效果。

src/packages/button/doc.taro.md (4)

140-140: 按钮基础变量 - Taro 文档
--nutui-button-border-radius 默认值调整为 $button-border-radius,确保 Taro 版本的文档与主库的样式定义保持一致。


151-153: 新增 xlarge 尺寸变量 - Taro 文档
新增了 --nutui-button-xlarge-height--nutui-button-xlarge-font-size 以及 --nutui-button-xlarge-border-radius,其默认值分别为 48px$font-size-xl$button-xlarge-border-radius。这种扩展支持更大尺寸的按钮,请复查在 Taro 组件中是否正确应用了这些新变量。


156-156: Large 尺寸变量调整 - Taro 文档
更新了 --nutui-button-large-border-radius 默认值为 $button-large-border-radius,文档描述与实现逻辑已保持一致。


160-160: Small 与 Mini 尺寸变量更新 - Taro 文档
更新了 --nutui-button-small-border-radius--nutui-button-mini-border-radius 的默认值,分别设置为 $button-small-border-radius$button-mini-border-radius。建议验证修改后不同尺寸按钮在各平台上的效果。

src/packages/button/doc.md (4)

127-127: 按钮基础变量更新(中文文档)
--nutui-button-border-radius 的默认值修改为 $button-border-radius,以便在 SCSS 与文档中使用统一的变量,提升样式可维护性。


138-141: 新增 Xlarge 尺寸的按钮变量
文档中新增了 --nutui-button-xlarge-height(48px)、--nutui-button-xlarge-font-size$font-size-xl)及 --nutui-button-xlarge-border-radius$button-xlarge-border-radius),这让开发者能更灵活地定制超大按钮。请确保这些新变量在 SCSS 文件中也得到了相应支持。


143-143: Large 尺寸边角变量更新
--nutui-button-large-border-radius 默认值已更改为 $button-large-border-radius,建议检查整体验证按钮各尺寸的边角兼容性。


147-147: Small 与 Mini 尺寸变量更新
更新后的 --nutui-button-small-border-radius--nutui-button-mini-border-radius 分别设置为 $button-small-border-radius$button-mini-border-radius,保持各尺寸按钮风格一致。

src/packages/popover/popover.scss (8)

35-39: 更新箭头左侧顶部定位
引入新的类 .nut-popover-arrow-left-top 替换原有定位方式,设置了 top: 16px; right: -8px; transform: rotate(90deg) translateY(0%);,使左侧箭头更准确定位。请验证在各种布局下箭头显示效果是否正常。


41-45: 更新箭头左侧底部定位
新类 .nut-popover-arrow-left-bottom 通过设置 bottom: 16px; right: -8px; transform: rotate(90deg) translateY(0%);,实现了左侧箭头底部定位的需求,样式逻辑清晰。


56-60: 更新箭头右侧顶部定位
新增类 .nut-popover-arrow-right-top 对右侧箭头进行顶部定位(top: 16px; left: -8px; transform: rotate(-90deg) translateY(0%);),请确认此定位与整体设计风格一致。


62-66: 更新箭头右侧底部定位
通过类 .nut-popover-arrow-right-bottom 实现右侧箭头底部定位(bottom: 16px; left: -8px; transform: rotate(-90deg) translateY(0%);),风格统一合理。


80-88: Popover 项样式优化
.nut-popover-item 内部,采用新变量 $popover-item-padding$popover-item-width 设置间距和最大宽度,同时保持边框和文字自动换行的样式。建议测试长文本及多语言环境下的显示效果。


130-133: 禁用状态样式增强
新增的 .nut-popover-item-disabled 类设置了文本颜色为 $popover-disable-color 并禁用鼠标样式,确保禁用状态下用户交互正确。


135-137: Taro 平台特定样式
通过 .nut-popover-item-taroitem 类为 Taro 平台的特殊项定义了 display: flex; 样式,提升了适配性。建议在 Taro 环境中多做验证。


232-240: RTL 布局支持更新
对 RTL 布局下的样式进行了细致调整(例如交换左右边距、调整箭头定位等),确保当页面方向为 RTL 时,弹出层内容与箭头能够正确显示。请在 RTL 环境中验证视觉呈现。

@codecov
Copy link

codecov bot commented Apr 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.15%. Comparing base (706dae6) to head (89a3431).
Report is 2 commits behind head on feat_v3.x.

Additional details and impacted files
@@            Coverage Diff             @@
##           feat_v3.x    #3142   +/-   ##
==========================================
  Coverage      87.15%   87.15%           
==========================================
  Files            280      280           
  Lines          18530    18530           
  Branches        2816     2816           
==========================================
  Hits           16149    16149           
  Misses          2376     2376           
  Partials           5        5           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@xiaoyatong xiaoyatong changed the title fix(Button): 样式变量无法生效问题修复 fix(button): 样式变量无法生效问题修复 Apr 2, 2025
@Miles-hxy Miles-hxy merged commit 78e5c54 into jdf2e:feat_v3.x Apr 3, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.x Target branch 3.x action:review This PR needs more reviews (less than 2 approvals) size/L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3.x版本,button的css变量圆角参数,如果不是默认大小就会被覆盖失效

3 participants