griffel icon indicating copy to clipboard operation
griffel copied to clipboard

core: Publish `shorthand` as a dedicated package

Open SukkaW opened this issue 3 years ago • 4 comments
trafficstars

... which would benefit the entire CSS-in-JS community!

I've been creating PRs toward inline-style-expand-shorthand, which is currently the only shorthand expander the entire CSS-in-JS community has, but none of them has been merged.

SukkaW avatar Mar 16 '22 10:03 SukkaW

@SukkaW it's something that we can consider, after #52 will be merged I will followup on that 👍

layershifter avatar Mar 22 '22 14:03 layershifter

@layershifter

A friendly ping since #52 has been merged, would you mind starting working on this? I'd expect it is being published as @griffel/shorthand.

And then I can start working on porting features from inline-style-expand-shorthand to Griffel!

SukkaW avatar Apr 04 '22 06:04 SukkaW

@SukkaW this is not our top priority now, but it will eventually happen.

layershifter avatar Apr 11 '22 09:04 layershifter

Request the "flex", "animation" and "textDecoration" shorthands, thanks.

Aloento avatar Apr 19 '22 23:04 Aloento

@SukkaW Griffel now has support for CSS shorthands in #531, the most of shorthands.*() are now deprecated, we don't plan to publish them.

layershifter avatar May 03 '24 08:05 layershifter