Open romainmenke opened 1 year ago
Run & review this pull request in StackBlitz Codeflow.
thanks for this kick start! i just spent 5m reviewing the diff and running some stuff locally. will need to set aside a chunk of time for this task.
is postcss-combine-duplicated-selectors
still misbehaving? i agree it's normally not advised, but for the bundling of props it's great.
is postcss-combine-duplicated-selectors still misbehaving? i agree it's normally not advised, but for the bundling of props it's great.
yup, maybe better to create a dedicated plugin that does exactly what you need it to do for open-props
?
is postcss-combine-duplicated-selectors still misbehaving? i agree it's normally not advised, but for the bundling of props it's great.
yup, maybe better to create a dedicated plugin that does exactly what you need it to do for
open-props
?
merged!
nice!
A lot has happened since originally opening this pull request and I noticed that we removed a feature somewhere along the way that you depend on here. Transpiling of media range syntax in @custom-media
is no longer supported. But I think we should bring this back.
I will modernise this pull request after patching that issue.
@argyleink This is ready for another look. I've updated the diff preview in the original post at the top, but another link here : https://github.com/romainmenke/open-props/pull/1/commits/ed93c5ed490fc8b494ae86800f1a61d6d11983b3
Summary :
;
are now added by the nesting plugin, this fixed some issues for some userspx
fractions:has()
polyfill is now disabledI added this back in to postcss.config.cjs
to remove the .focus-visible
or .focus-within
conveniences, and then disabled :has()
so it just passes through.
'has-pseudo-class': false,
'focus-visible-pseudo-class': false,
'focus-within-pseudo-class': false,
pending I do a deeper comparison, this PR is lookin good.
I also need to update the docsite in /docsite
. Will test out these updates there too and get back to this PR with findings.
Thanks Romain!
Definitely fine to disable those explicitly but this isn't needed anymore as of version 8. Any plugin that also requires some client-side JS script is now disabled by default.
We found that too many users had these plugins enabled without knowing this and without loading the client-side JS scripts :)
supersedes : https://github.com/argyleink/open-props/pull/234
unminified diff can be viewed here : https://github.com/romainmenke/open-props/pull/1/commits/ed93c5ed490fc8b494ae86800f1a61d6d11983b3