atlassian-labs / compiled

A familiar and performant compile time CSS-in-JS library for React.
https://compiledcssinjs.com
Apache License 2.0
1.99k stars 67 forks source link

Remove required pseudo from XCSS prop #1643

Closed itsdouges closed 7 months ago

itsdouges commented 7 months ago

During the implementation of media query types for strict / XCSS apis we came to the realization that required pseudos isn't actually useful, only ensuring the base case properties are required is.

This pull request removes the type property.

changeset-bot[bot] commented 7 months ago

🦋 Changeset detected

Latest commit: fd1c5c4a7d8d622bc83ac0c69e84a9cf53c4f4a5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages | Name | Type | | --------------------------------------------------------- | ----- | | @compiled/react | Minor | | @compiled/parcel-optimizer-test-app | Patch | | @compiled/parcel-transformer-test-app | Patch | | @compiled/parcel-transformer-test-compress-class-name-app | Patch | | @compiled/parcel-transformer-test-custom-resolve-app | Patch | | @compiled/parcel-transformer-test-custom-resolver-app | Patch | | @compiled/parcel-transformer-test-extract-app | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR