ant-design icon indicating copy to clipboard operation
ant-design copied to clipboard

feat: useValueBreakpoint hook #29642 #7309

Open chornos13 opened this issue 5 years ago • 3 comments

[中文版模板 / Chinese template]

🤔 This is a ...

  • [x] New feature
  • [ ] Bug fix
  • [ ] Site / documentation update
  • [ ] Demo update
  • [ ] Component style update
  • [ ] TypeScript definition update
  • [ ] Bundle size optimization
  • [ ] Performance optimization
  • [ ] Enhancement feature
  • [ ] Internationalization
  • [ ] Refactoring
  • [ ] Code style optimization
  • [ ] Test Case
  • [ ] Branch merge
  • [ ] Other (about what?)

🔗 Related issue link

#29642 #7309

💡 Background and solution

Flexibility responsive and readable code over useBreakpoint

📝 Changelog

Language Changelog
🇺🇸 English useValueBreakpoint hook
🇨🇳 Chinese useValueBreakpoint hook

☑️ Self Check before Merge

⚠️ Please check all items below before review. ⚠️

  • [x] Doc is updated/provided
  • [x] Demo is updated/provided
  • [x] TypeScript definition is updated/provided
  • [x] Changelog is provided

View rendered components/grid/demo/useValueBreakpoint.md!

chornos13 avatar Mar 07 '21 05:03 chornos13

github-actions[bot] avatar Mar 07 '21 05:03 github-actions[bot]

Codecov Report

Merging #29643 (1ac798d) into feature (f45f735) will increase coverage by 1.18%. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##           feature    #29643      +/-   ##
============================================
+ Coverage    98.81%   100.00%   +1.18%     
============================================
  Files          363       395      +32     
  Lines         7280      7530     +250     
  Branches      1967      2112     +145     
============================================
+ Hits          7194      7530     +336     
+ Misses          86         0      -86     
Impacted Files Coverage Δ
components/_util/easings.ts 100.00% <ø> (ø)
components/_util/raf.ts 100.00% <ø> (ø)
components/_util/scrollTo.ts 100.00% <ø> (ø)
components/_util/type.ts 100.00% <ø> (ø)
components/calendar/generateCalendar.tsx 100.00% <ø> (+1.33%) :arrow_up:
components/calendar/index.tsx 100.00% <ø> (ø)
components/card/Grid.tsx 100.00% <ø> (ø)
components/card/index.tsx 100.00% <ø> (ø)
components/_util/getScroll.tsx 100.00% <100.00%> (ø)
components/_util/hooks/useForceUpdate.ts 100.00% <100.00%> (ø)
... and 229 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update e40fd9f...32206a9. Read the comment docs.

codecov[bot] avatar Mar 07 '21 05:03 codecov[bot]

冲突了

afc163 avatar Oct 25 '22 15:10 afc163

Closing for no response.

afc163 avatar Dec 03 '22 17:12 afc163