components icon indicating copy to clipboard operation
components copied to clipboard

feat(Elevation class helpers): Expose transition-property-value

Open MuMaestro opened this issue 4 years ago • 5 comments

Feature Description

While building styles for elements that use transitions of elevations and other values, the elevation-transition get overridden or overwrites other transitions defined in the same component. This could be easily solved by exposing the private-transition-property-value that returns a value inserted in a transition;

Use Case

By exposing the function, it could be used as as follows

.element {
     transition: border 1s ease-in, transition-property-value(), width 1s ease-in;
}

Also

I don't know much css or scss, but I guess there is a hacky way of inheriting already set transitions, appending to the current list.

MuMaestro avatar May 14 '21 17:05 MuMaestro

One solution I came up with is a manual definition of transitions of shadow-box and others that I need. But this makes me use manual, user defined animations, which is bad; I there any expositions on animations easings in angular material ?

MuMaestro avatar May 17 '21 15:05 MuMaestro

Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.

Find more details about Angular's feature request process in our documentation.

angular-robot[bot] avatar Mar 13 '22 15:03 angular-robot[bot]

Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.

We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.

You can find more details about the feature request process in our documentation.

angular-robot[bot] avatar Apr 01 '22 15:04 angular-robot[bot]

This is forcing consumers to manually add the elevation transition styles and bypassing the mixin provided.

Could this not be fixed by allowing the function to be extensible somehow?

jamcoupe avatar Dec 22 '23 16:12 jamcoupe

can you pls assign me this work

dhruvishah122 avatar Dec 28 '23 17:12 dhruvishah122