-
Notifications
You must be signed in to change notification settings - Fork 69
Comparing changes
Open a pull request
base repository: atlassian-labs/compiled
base: @compiled/react@0.17.1
head repository: atlassian-labs/compiled
compare: @compiled/react@0.17.2
- 18 commits
- 68 files changed
- 8 contributors
Commits on Apr 9, 2024
-
Allow
@compiled/babel-plugin
'sincreaseSpecificity
to work with `……@compiled/jest` (#1656) * Allow `@compiled/babel-plugin`'s `increaseSpecificity` to work with `@compiled/jest`. tl;dr: if you have `increaseSpecificity: true` set, you get styles such as `._18u0u2gc:not(#\\9){margin-left:var(--ds-space-100,8px)}` which will never match `._18u0u2gc` I could not think of a nice way to sneak a test in for this without trying to overhaul jest config entirely, so I did not…but happy to take any advice there. * chore: consolidate INCREASE_SPECIFICITY_SELECTOR * Update packages/utils/src/increase-specificity.ts comment * Copy and paste `INCREASE_SPECIFICITY_SELECTOR` to avoid circular TS references.
Configuration menu - View commit details
-
Copy full SHA for e49b4f0 - Browse repository at this point
Copy the full SHA e49b4f0View commit details -
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 229ca7f - Browse repository at this point
Copy the full SHA 229ca7fView commit details -
Fix handling of CSS
content
property (#1658)* Fix handling of content property * Add tests and improve docs * Fix typo in test
Configuration menu - View commit details
-
Copy full SHA for 36c4f0b - Browse repository at this point
Copy the full SHA 36c4f0bView commit details
Commits on Apr 10, 2024
-
Add new default import source (@atlaskit/css) (#1660)
* feat: add atlaskit css as a default import source * chore: changeset * chore: add test
Configuration menu - View commit details
-
Copy full SHA for 8ed3e9b - Browse repository at this point
Copy the full SHA 8ed3e9bView commit details -
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 582c49a - Browse repository at this point
Copy the full SHA 582c49aView commit details
Commits on Apr 11, 2024
-
Replace increase specificity selector as JSDOM breaks with
#\\9
. (#……1661) * Replace increase specificity selector as JSDOM breaks with `#\\9`. Without this, `jsdom` (via `nswapi`) throws an error: `SyntaxError: \8 and \9 are not allowed in strict mode.` Refer to dperini/nwsapi#92. We're instead using what stylex uses for specificity: https://github.com/facebook/stylex/blob/c9216385d40c53612848040ab4d96ff133304203/packages/stylex/src/StyleXSheet.js#L352C16-L352C28 ```diff -._u5f3ftgi:not(#\\9){padding-right:8px} +._u5f3ftgi:not(#\\#){padding-right:8px} ``` * Fix toHaveCompiledCss increasedSpecificity comparison with a target * Reduce @compiled/jest version bump to a patch.
Configuration menu - View commit details
-
Copy full SHA for 04cb7ae - Browse repository at this point
Copy the full SHA 04cb7aeView commit details -
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f741274 - Browse repository at this point
Copy the full SHA f741274View commit details
Commits on Apr 14, 2024
-
Fix CSS variables casing (#1663)
* fix: preserve custom property value casing * chore: changeset * test: add tests for other styling apis * chore: changeset for other packages
Configuration menu - View commit details
-
Copy full SHA for 4f5865a - Browse repository at this point
Copy the full SHA 4f5865aView commit details
Commits on May 9, 2024
-
Add media query sorting (#1666)
* Add media query sorting implementation * Improve documentation and tests * Merge postcss sortAtRulePseudos and sortAtomicStyleSheet plugins, so that media query sorting runs regardless of whether stylesheet extraction is enabled * Update snapshot tests due to at-rule ordering change * Add changeset * Rename sort-atomic-style-sheet tests to sort-pseudo-selectors for clarity * Fix bug in sorting function * Fix @compiled/react tests * Update changeset to clarify that this is a breaking change * Add other Compiled packages to changeset * Improve function naming and comments * Add sortAtRules option for turning off media query sorting, improve changeset * Improve comments, remove superfluous regex * Add basic length unit normalisation
Configuration menu - View commit details
-
Copy full SHA for 83c47f8 - Browse repository at this point
Copy the full SHA 83c47f8View commit details
Commits on May 13, 2024
-
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a0cebe6 - Browse repository at this point
Copy the full SHA a0cebe6View commit details
Commits on May 14, 2024
-
Fix 'as const' expressions causing build error (#1670)
* Fix 'as const' expressions causing build error * Add changeset
Configuration menu - View commit details
-
Copy full SHA for 5c04f89 - Browse repository at this point
Copy the full SHA 5c04f89View commit details
Commits on May 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b47c747 - Browse repository at this point
Copy the full SHA b47c747View commit details -
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 638039f - Browse repository at this point
Copy the full SHA 638039fView commit details
Commits on May 23, 2024
-
Fix jest matcher kebab-casing CSS custom properties (#1674)
* fix: fixes jest matcher kebab casing css vars * chore: changeset
Configuration menu - View commit details
-
Copy full SHA for a205c08 - Browse repository at this point
Copy the full SHA a205c08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f1545f - Browse repository at this point
Copy the full SHA 8f1545fView commit details -
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a4a5075 - Browse repository at this point
Copy the full SHA a4a5075View commit details
Commits on Jun 3, 2024
-
Add
ElementType
to the global compiled JSX namespace (#1678)* Add ElementType to JSX namespace * changeset --------- Co-authored-by: Jordan Overbye <joverbye@atlassian.com>
Configuration menu - View commit details
-
Copy full SHA for d75b828 - Browse repository at this point
Copy the full SHA d75b828View commit details -
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 6695e56 - Browse repository at this point
Copy the full SHA 6695e56View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff @compiled/react@0.17.1...@compiled/react@0.17.2