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(components): [progress] support set striped progress bar #12333

Merged
merged 8 commits into from
Apr 13, 2023

Conversation

wzc520pyfm
Copy link
Contributor

Set the striped progress bar with the striped property.

Please make sure these boxes are checked before submitting your PR, thank you!

  • Make sure you follow contributing guide English | (中文 | Español | Français).
  • Make sure you are merging your commits to dev branch.
  • Add some descriptions and refer to relative issues for your PR.

@pull-request-triage
Copy link

👋 @wzc520pyfm, seems like this is your first time contribution to element-plus.

  • Please make sure that you have read our guidelines and code of conduct before making a contribution.
  • You can comment with /label Components:[component_name] to add a label for which component you are working on.
  • You may join our Discord for staying tuned.

@pull-request-triage pull-request-triage bot added 1st contribution Their very first contribution Needs Review labels Apr 5, 2023
@github-actions
Copy link

github-actions bot commented Apr 5, 2023

@github-actions
Copy link

github-actions bot commented Apr 5, 2023

Hello @wzc520pyfm, thank you for contributing to element-plus, please see our guideline to see how to make contribution

@github-actions
Copy link

github-actions bot commented Apr 5, 2023

🧪 Playground Preview: https://element-plus.run/?pr=12333
Please comment the example via this playground if needed.

packages/components/progress/src/progress.ts Outdated Show resolved Hide resolved
packages/theme-chalk/src/progress.scss Outdated Show resolved Hide resolved
Copy link
Collaborator

@btea btea left a comment

Choose a reason for hiding this comment

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

LGTM

@btea
Copy link
Collaborator

btea commented Apr 8, 2023

Maybe can add a property to control whether to add animation, what do you think? @wzc520pyfm @ryuhangyeong

@wzc520pyfm
Copy link
Contributor Author

Maybe can add a property to control whether to add animation, what do you think? @wzc520pyfm @ryuhangyeong

I think it's cool, we can add a striped-flow property to get the stripes to flow? let's me try.

@ryuhangyeong
Copy link
Member

@btea A very cool idea!

@btea
Copy link
Collaborator

btea commented Apr 13, 2023

Thank you for your contribution ❤️

@btea btea merged commit c9895f8 into element-plus:dev Apr 13, 2023
9 checks passed
@element-bot element-bot mentioned this pull request Apr 23, 2023
3 tasks
consultation-applio pushed a commit to consultation-applio/element-plus that referenced this pull request May 4, 2023
…t-plus#12333)

* feat(components): [progress] support set striped progress bar

* docs(components): [progress] add `striped` attribute

* refactor(components): [progress] update striped prop and `bg-size` style

* feat(components): [progress] add `striped-flow` attribute

use `striped-flow` to get the stripes to flow

* docs(components): [progress] add `striped-flow` attribute

add `striped-flow` attribute

update `duration` attribute description

* docs(components): [progress] refactor `striped-progress` example

* refactor(theme-chalk): [progress] refactor striped flow animation
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.

None yet

3 participants