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

Update linear progress to new NTC guidelines #5451

Open
aksdog opened this issue Feb 10, 2024 · 3 comments
Open

Update linear progress to new NTC guidelines #5451

aksdog opened this issue Feb 10, 2024 · 3 comments

Comments

@aksdog
Copy link

aksdog commented Feb 10, 2024

Description

The new linear progress bar implemented in Material Design 3 is not yet present in material-web. It contains:

  • New animations
  • Rounded corners
  • A dot at the end of the bar.

This is needed to ensure material-web is fully compliant with Material Design specs.

For more details:
https://github.com/material-components/material-web/assets/136392184/51822daf-7c43-4295-a0be-56f18cb30c29

@asyncLiz asyncLiz changed the title md-linear-progress: implement new material design 3 specs Update linear progress to new NTC guideliness Feb 14, 2024
@asyncLiz asyncLiz changed the title Update linear progress to new NTC guideliness Update linear progress to new NTC guidelines Feb 14, 2024
@palexdev
Copy link

palexdev commented Jun 11, 2024

@asyncLiz May I ask why there is such a discrepancy?
The guidelines show a specific animation for the indeterminate bar, but every single implementation (flutter, web, etc.) show a completely different one
It's quite hard to replicate the original animation without having its specifics, and of course the guidelines do not mention anything about animations
I've also tried using the values here, but they make no sense, the resulting animation is broken, but I may be doing something wrong.

@asyncLiz
Copy link
Collaborator

why there is such a discrepancy?

Some components were recently re-designed, so most implementations are still on the old one, including this project.

the guidelines do not mention anything about animations

Unfortunately there's no published component specs for motion (yet!). Internally we work closely with motion designers for the values, but that isn't formally published outside of the CSS you see here.

@palexdev
Copy link

why there is such a discrepancy?

Some components were recently re-designed, so most implementations are still on the old one, including this project.

the guidelines do not mention anything about animations

Unfortunately there's no published component specs for motion (yet!). Internally we work closely with motion designers for the values, but that isn't formally published outside of the CSS you see here.

I see, I hope the specs will come out soon
I tried my best to replicate the animation and this was the closest attempt so far:

mpi_handbrake.mp4

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

No branches or pull requests

3 participants