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(tabs): Implement a couple of features and fix bugs of tabs #47

Merged
merged 66 commits into from Aug 28, 2020
Merged

Conversation

GuichiZhao
Copy link

Checklist

  • Fix linting errors
  • Tests have been added / updated (or snapshots)

Change information

fix props data flow, fix children synchronization, add custom border
We can development component seperately, indipendent of doc and generate doc automatically
# Conflicts:
#	components/tabs/__tests__/__snapshots__/index.test.tsx.snap
#	pages/en-us/components/tabs.mdx
each playground is in seperate folder
# Conflicts:
#	components/utils/prop-types.ts
@GuichiZhao GuichiZhao changed the title Tabs feat(tabs) Aug 4, 2020
@GuichiZhao GuichiZhao changed the title feat(tabs) feat(tabs): Implemnent tabs Aug 4, 2020
@angelia-yuqi-personal
Copy link

Task linked: CU-3tvnee Tab Component

Fix forwardRef error so that Callers can recognize ref properfly; come up with a better way to
extend Component
Just identify controlled component has some valid use case
remove useTabs; add test case
add file to lint in tsConfig
@codecov
Copy link

codecov bot commented Aug 5, 2020

Codecov Report

Merging #47 into dev will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##               dev       #47   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          189       190    +1     
  Lines         2585      2613   +28     
  Branches       617       658   +41     
=========================================
+ Hits          2585      2613   +28     
Impacted Files Coverage Δ
components/tabs/index.ts 100.00% <100.00%> (ø)
components/tabs/style.ts 100.00% <100.00%> (ø)
components/tabs/tabs-context.ts 100.00% <100.00%> (ø)
components/tabs/tabs-item.tsx 100.00% <100.00%> (ø)
components/tabs/tabs-nav.tsx 100.00% <100.00%> (ø)
components/tabs/tabs.tsx 100.00% <100.00%> (ø)
components/tabs/use-tabs-handle.ts 100.00% <100.00%> (ø)
components/modal/index.ts 100.00% <0.00%> (ø)
components/modal/modal.tsx 100.00% <0.00%> (ø)
components/modal/modal-title.tsx 100.00% <0.00%> (ø)
... and 11 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 7d45a44...0222538. Read the comment docs.

@GuichiZhao GuichiZhao changed the title feat(tabs): Implemnent tabs feat(tabs): Implement tabs Aug 10, 2020
@GuichiZhao GuichiZhao changed the title feat(tabs): Implement tabs feat(tabs): Implement a couple of feature of fix bugs of tabs Aug 10, 2020
@GuichiZhao GuichiZhao changed the title feat(tabs): Implement a couple of feature of fix bugs of tabs feat(tabs): Implement a couple of features and fix bugs of tabs Aug 10, 2020
@vercel vercel bot temporarily deployed to Preview August 11, 2020 03:01 Inactive
# Conflicts:
#	pages/zh-cn/components/select.mdx
components/tabs/style.ts Outdated Show resolved Hide resolved
.eslintignore Outdated
@@ -6,4 +6,6 @@ esm/*
public/*
scripts/*
tests/*
loaders/*
pages/code/*

Choose a reason for hiding this comment

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

I think so

# Conflicts:
#	components/utils/prop-types.ts
@GuichiZhao GuichiZhao merged commit 726bf7f into dev Aug 28, 2020
@GuichiZhao GuichiZhao deleted the Tabs branch August 28, 2020 03:43
@ConfluxBot
Copy link

🎉 This PR is included in version 1.0.0-alpha.43 🎉

The release is available on:

Your semantic-release bot 📦🚀

@ConfluxBot
Copy link

🎉 This PR is included in version 1.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants