-
Notifications
You must be signed in to change notification settings - Fork 596
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(Meter): new component #708
Conversation
The latest updates on your projects. Learn more about Vercel for Git βοΈ
|
58ffb92
to
90773c4
Compare
All deployments are failing and I can't check why. The only clue is that on my machine it's |
It seems the Vercel build breaks because of this line: https://github.com/nuxt/ui/pull/708/files#diff-041bae31f76c99f1b1872d3aaf8b763b4363e117deb1cad1141d90a8d3639d0fR131. I didn't get what's going on with [09:43:08.894] [error] [nuxt] [request error] [unhandled] [500] can not read a block mapping entry; a multiline key may not be an implicit key (18:1)
[09:43:08.894]
[09:43:08.894] 15 | <UMeter :value="12" color="oran ...
[09:43:08.894] 16 | <UMeter :value="37" color="yell ...
[09:43:08.894] 17 | <UMeter :value="52" color="gree ...
[09:43:08.894] 18 |
[09:43:08.895] ------^ |
I think Iβll try to reload and reinstall the dev branch all over again. |
90773c4
to
c2d69e0
Compare
No luck and I canβt see why itβs failing. |
Update: I just forgot to use |
Going to give up this PR for a new up-to-date PR later. |
π Linked issue
β Type of change
π Description
This component is basically
<meter>
with some amphetamines. It follows the same principle of #697:min
andmax
values.You read that right: YOU CAN GROUP THEM.
Things to note
optimum|high|low
props: you can change the bar behavior with Vue already. Below a value? Turn it red, or change the label.<UMeterGroup>
reuses the<Meter>
but uses the default slot to inject the cloned VNodes (which are edited to meet the group criteria). I could done a normal.vue
file but I didn't find how to override the default slot being passed without doingh(...)
into oblivion.π Checklist