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(comp:empty): add simple mode and support css variable #1268

Merged
merged 1 commit into from
Nov 11, 2022

Conversation

danranVm
Copy link
Member

PR Checklist

Please check if your PR fulfills the following requirements:

  • The commit message follows our guidelines
  • Tests for the changes have been added/updated or not needed
  • Docs and demo have been added/updated or not needed

What is the current behavior?

What is the new behavior?

  • 按照设计规范更新图片和样式
  • 新增 simple 模式,
  • 支持 css variable

需要注意的是:其他组件(例如:table, select ...) 传给 empty 为字符串的时候,不再作为 description 传递给空状态组件。

Other information

@idux-bot
Copy link

idux-bot bot commented Nov 10, 2022

This preview will be available after the AzureCI is passed.

@codecov
Copy link

codecov bot commented Nov 10, 2022

Codecov Report

Merging #1268 (e556399) into main (99e4ddd) will increase coverage by 0.05%.
The diff coverage is 99.61%.

@@            Coverage Diff             @@
##             main    #1268      +/-   ##
==========================================
+ Coverage   93.05%   93.10%   +0.05%     
==========================================
  Files         320      321       +1     
  Lines       29469    29699     +230     
  Branches     3344     3350       +6     
==========================================
+ Hits        27422    27652     +230     
  Misses       2047     2047              
Impacted Files Coverage Δ
packages/components/empty/src/Empty.tsx 94.11% <94.73%> (+1.39%) ⬆️
packages/components/_private/empty/src/Empty.tsx 100.00% <100.00%> (ø)
packages/components/cascader/src/types.ts 100.00% <100.00%> (ø)
packages/components/config/src/defaultConfig.ts 100.00% <100.00%> (ø)
packages/components/config/src/types.ts 100.00% <100.00%> (ø)
packages/components/empty/src/Images.tsx 100.00% <100.00%> (ø)
packages/components/empty/src/types.ts 100.00% <100.00%> (ø)
packages/components/list/src/List.tsx 100.00% <100.00%> (ø)
packages/components/list/src/types.ts 100.00% <100.00%> (ø)
packages/components/select/src/types.ts 100.00% <100.00%> (ø)
... and 7 more

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

@danranVm danranVm changed the base branch from main to feature November 11, 2022 01:29
@danranVm danranVm merged commit b2afad0 into IDuxFE:feature Nov 11, 2022
@danranVm danranVm deleted the docs-build branch November 11, 2022 01:29
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