Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(configprovider): 文档可读性优化 #1882

Merged
merged 7 commits into from
Jan 25, 2024

Conversation

Alex-huxiyang
Copy link
Collaborator

@Alex-huxiyang Alex-huxiyang commented Jan 19, 2024

文档优化、doc&demo一致化、button demo错字修改

🤔 这个变动的性质是?

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

🔗 相关 Issue

💡 需求背景和解决方案

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

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

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

Copy link

codecov bot commented Jan 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (bbdb1e7) 76.06% compared to head (fd7b3b7) 76.21%.
Report is 10 commits behind head on next.

Additional details and impacted files
@@            Coverage Diff             @@
##             next    #1882      +/-   ##
==========================================
+ Coverage   76.06%   76.21%   +0.15%     
==========================================
  Files         215      215              
  Lines        8699     8700       +1     
  Branches     2489     2490       +1     
==========================================
+ Hits         6617     6631      +14     
+ Misses       1886     1873      -13     
  Partials      196      196              

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

@@ -36,34 +36,99 @@ NutUI-React 可以通过 [CSS 变量](https://developer.mozilla.org/zh-CN/docs/W
ConfigProvider 组件提供了覆盖 CSS 变量的能力,你需要在根节点包裹一个 ConfigProvider 组件,并通过 theme 属性来配置一些主题变量。

> ConfigProvider 组件不是一个虚拟组件,它会生成一个 div 标签。
>
##### Textarea 默认
Copy link
Collaborator

Choose a reason for hiding this comment

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

configprovider 组件更偏向说明,不必和例子对应,此组件的重点不在右侧演示的例子上。可以调整下 demo 的顺序,因为文档先讲了 主题定制,然后才是国际化

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

明白,doc和demo重新调整了下

@oasis-cloud oasis-cloud changed the title fix(configProvider): 文档优化、doc&demo一致化、button demo错字修改 fix(configprovider): 文档优化、doc&demo一致化、button demo错字修改 Jan 24, 2024
@Alex-huxiyang Alex-huxiyang changed the title fix(configprovider): 文档优化、doc&demo一致化、button demo错字修改 fix(configprovider): 文档可读性优化 Jan 24, 2024
@Alex-huxiyang Alex-huxiyang changed the title fix(configprovider): 文档可读性优化 docs(configprovider): 文档可读性优化 Jan 25, 2024
@oasis-cloud oasis-cloud merged commit f97ecdf into jdf2e:next Jan 25, 2024
5 checks passed
@Alex-huxiyang Alex-huxiyang deleted the hxy/0119/configProvider-fix branch March 13, 2024 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants