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

feat: support raw str for root cssobject #43

Merged
merged 12 commits into from
Sep 15, 2022
Merged

feat: support raw str for root cssobject #43

merged 12 commits into from
Sep 15, 2022

Conversation

zombieJ
Copy link
Member

@zombieJ zombieJ commented Sep 15, 2022

  • 如果是顶层提供 string 作为 cssinjs 配置会直接作用,以支持 layer 优先级配置。
  • 修复 hashedId 对于 element selector 适配问题(如 .hashIdp => p.hashId
  • LayerName 定义时支持配置顺序(shared, ant-btn

@github-actions
Copy link

github-actions bot commented Sep 15, 2022

🎊 PR Preview 1da882e has been successfully built and deployed to https://ant-design-cssinjs-preview-pr-43.surge.sh

🕐 Build time: 376.076s

🤖 By surge-preview

@codecov-commenter
Copy link

codecov-commenter commented Sep 15, 2022

Codecov Report

Merging #43 (8fd26cb) into master (eff5ced) will increase coverage by 0.30%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #43      +/-   ##
==========================================
+ Coverage   94.18%   94.49%   +0.30%     
==========================================
  Files          11       11              
  Lines         447      454       +7     
  Branches      145      148       +3     
==========================================
+ Hits          421      429       +8     
+ Misses         26       25       -1     
Impacted Files Coverage Δ
src/hooks/useStyleRegister.tsx 100.00% <100.00%> (+0.86%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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.

None yet

2 participants