-
Notifications
You must be signed in to change notification settings - Fork 529
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(Progress): new component #697
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Is this a duplicate of #696? Your branch is not up-to-date with |
Oh, I see. Gonna fix that. It's not a duplicate. This uses |
I think your one is quite good. Just add from my MR: @DarkGhostHunter , what do you think? |
AnimationsThat can be fixed by adding a lost for the bar and let the dev create it's own animation. The problem is that in WebKit/Blink uses Indicator positionThat can be fixed with just passing the slot with the current percent.
Indicator slotAs the above. Loading modeIt's called indeterminate mode from the tag point of view. When it's indeterminate, it shows the bar animation. Min propThe |
aaa4dcd
to
1985de9
Compare
@benjamincanac Waiting for approval. |
Seems the animation broke on iOS. I'll make some changes. |
1985de9
to
8b7f6fc
Compare
Animations are fixed on Chromium, Firefox and Safari. That's it for me. Looking up to see it live. |
Does this resolves #691? |
Yes, check the deployment->edge->meter->indeterminate. |
Will review asap. |
While you're active, check why the hell the dev branch |
a3769dc
to
d940d65
Compare
@benjamincanac Ready for review. |
5f2f108
to
4deca56
Compare
@MuhammadM1998 Thanks. Got a brain fart |
@DarkGhostHunter Thanks a lot for this awesome component! I've made a few changes if you want to take a look before I merge it 😊 |
Just saw the edits on the sizing. I think it's better. The only thing I was wondering if the UI tree is too convoluted. I tried my best by using the native tag, but a wrapper was required to make it work, plus a bunch of other properties. |
You mean the DOM? |
No, the UI object where the classes are. Tried to slim it down to no avail |
What?
Resolves #691
This is a new component that uses
<progress>
behind the scenes, with specific pseudo-element fixes for Gecko/Quantum (Firefox) and Webkit/Blink (Chromium, Safari).Some additional features:
<progress>
(value, max)indicator
and is shown on top.max
accepts an array of string to use as label below the progress bar.value
is not issued or isnull
, showing an animated bar.