Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: atlassian-labs/compiled
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: @compiled/react@0.17.1
Choose a base ref
...
head repository: atlassian-labs/compiled
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: @compiled/react@0.17.2
Choose a head ref
  • 18 commits
  • 68 files changed
  • 8 contributors

Commits on Apr 9, 2024

  1. Allow @compiled/babel-plugin's increaseSpecificity 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.
    kylorhall-atlassian authored Apr 9, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    e49b4f0 View commit details
  2. Version Packages (#1657)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    atlas-dst-bot and github-actions[bot] authored Apr 9, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    229ca7f View commit details
  3. Fix handling of CSS content property (#1658)

    * Fix handling of content property
    
    * Add tests and improve docs
    
    * Fix typo in test
    dddlr authored Apr 9, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    36c4f0b View commit details

Commits on Apr 10, 2024

  1. Add new default import source (@atlaskit/css) (#1660)

    * feat: add atlaskit css as a default import source
    
    * chore: changeset
    
    * chore: add test
    itsdouges authored Apr 10, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    8ed3e9b View commit details
  2. Version Packages (#1659)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    atlas-dst-bot and github-actions[bot] authored Apr 10, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    582c49a View commit details

Commits on Apr 11, 2024

  1. 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.
    kylorhall-atlassian authored Apr 11, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    04cb7ae View commit details
  2. Version Packages (#1662)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    atlas-dst-bot and github-actions[bot] authored Apr 11, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    f741274 View commit details

Commits on Apr 14, 2024

  1. 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
    mitchgavan authored Apr 14, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    4f5865a View commit details

Commits on May 9, 2024

  1. 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
    dddlr authored May 9, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    83c47f8 View commit details

Commits on May 13, 2024

  1. Version Packages (#1664)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    atlas-dst-bot and github-actions[bot] authored May 13, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    a0cebe6 View commit details

Commits on May 14, 2024

  1. Fix 'as const' expressions causing build error (#1670)

    * Fix 'as const' expressions causing build error
    
    * Add changeset
    dddlr authored May 14, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    5c04f89 View commit details

Commits on May 15, 2024

  1. Add test case (#1672)

    dddlr authored May 15, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    b47c747 View commit details
  2. Version Packages (#1671)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    atlas-dst-bot and github-actions[bot] authored May 15, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    638039f View commit details

Commits on May 23, 2024

  1. Fix jest matcher kebab-casing CSS custom properties (#1674)

    * fix: fixes jest matcher kebab casing css vars
    
    * chore: changeset
    itsdouges authored May 23, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    a205c08 View commit details
  2. chore: var (#1676)

    itsdouges authored May 23, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    8f1545f View commit details
  3. Version Packages (#1675)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    atlas-dst-bot and github-actions[bot] authored May 23, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    a4a5075 View commit details

Commits on Jun 3, 2024

  1. Add ElementType to the global compiled JSX namespace (#1678)

    * Add ElementType to JSX namespace
    
    * changeset
    
    ---------
    
    Co-authored-by: Jordan Overbye <joverbye@atlassian.com>
    jordanoverbye and joverbye-alassian authored Jun 3, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    d75b828 View commit details
  2. Version Packages (#1679)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    atlas-dst-bot and github-actions[bot] authored Jun 3, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    6695e56 View commit details
Loading