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.16.9
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.16.10
Choose a head ref
  • 12 commits
  • 25 files changed
  • 6 contributors

Commits on Feb 2, 2024

  1. Add "similar" debugging to toHaveCompiledCss (#1619)

    * Add "similar" debugging to `toHaveCompiledCss`
    
    I found it difficult to debug with `toHaveCompiledCss`, particularly in the case of local css variables being resolved by jest-dom (I think that's how it works), as the error for "could not find `padding: 8px`" doesn't tell you if it was wrong or just doesn't exist.
    
    ```tsx
    expect(element).toHaveCompiledCss({ paddingInlineEdit: '8px' });
    ```
    ```sh
        Could not find "padding-inline-end:8px" on <a data-testid="test-link" class="css-1mufnsm">…</a> element.
    ```
    
    Now this should have a a clearer error:
    ```tsx
        Could not find "padding-inline-end:8px" on <a data-testid="test-link" class="css-1mufnsm">…</a> element.
    
        Found similar styles:
        padding-inline-end:var(--ds-space-0, 0px)
        padding-inline-end:var(--ds-space-100, 8px)
    ```
    
    This could go a step further and show all css properties or have a debug mode I couldn't find, but that could get quite spammy…
    
    * chore: changeset
    kylorhall-atlassian authored Feb 2, 2024
    Copy the full SHA
    749994b View commit details
  2. Version Packages (#1620)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    atlas-dst-bot and github-actions[bot] authored Feb 2, 2024
    Copy the full SHA
    6d09679 View commit details

Commits on Feb 7, 2024

  1. Add importSources to @compiled/webpack-loader (#1623)

    * Add importSources to @compiled/webpack-loader
    dddlr authored Feb 7, 2024
    Copy the full SHA
    8d48ca0 View commit details
  2. Version Packages (#1624)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    atlas-dst-bot and github-actions[bot] authored Feb 7, 2024
    Copy the full SHA
    b76e985 View commit details

Commits on Feb 8, 2024

  1. Add importSources option to jsx-pragma rule (#1622)

    * Add onlyRunIfImportingCompiled option to jsx-pragma rule
    
    * Add changeset
    
    * Address PR feedback
    
    * Fix typo
    
    * Re-run prettier
    
    * Address remaining PR feedback
    dddlr authored Feb 8, 2024
    Copy the full SHA
    292a05d View commit details
  2. Version Packages (#1625)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    atlas-dst-bot and github-actions[bot] authored Feb 8, 2024
    Copy the full SHA
    ece91fd View commit details
  3. Bail out early in parcel-transformer if @compiled/react is not present (

    #1621)
    
    * Bail out early in parcel-transformer if @compiled/reactis present but unused
    
    * Update packages/parcel-transformer/src/index.ts
    
    Co-authored-by: Grant Wong <2908767+dddlr@users.noreply.github.com>
    
    * Add changeset
    
    ---------
    
    Co-authored-by: Grant Wong <2908767+dddlr@users.noreply.github.com>
    eddie-atkinson and dddlr authored Feb 8, 2024
    Copy the full SHA
    41bcb1e View commit details

Commits on Feb 19, 2024

  1. Fix Compiled props being incorrectly forwarded when default values us…

    …ed (#1630)
    
    * Fix properties fall-through when default values used
    
    * Add changeset
    
    * Address PR feedback
    dddlr authored Feb 19, 2024
    Copy the full SHA
    d5c6578 View commit details

Commits on Mar 1, 2024

  1. Remove Hannah from code owners (#1632)

    dddlr authored Mar 1, 2024
    Copy the full SHA
    88a44fc View commit details

Commits on Mar 4, 2024

  1. Fix CSS func types (#1635)

    * fix: update base css func types
    
    * chore: changeset
    itsdouges authored Mar 4, 2024
    Copy the full SHA
    a68817a View commit details
  2. Fix passing props arrow function directly to styled not working (#1633)

    * Fix passing props arrow function directly to styled not working
    
    * Make formatting a bit nicer
    
    * Add changeset
    
    * Add tests
    
    * Add tsx syntax highlighting to changeset
    
    * Fix prettier warning in changeset
    dddlr authored Mar 4, 2024
    Copy the full SHA
    7d3406c View commit details
  3. Version Packages (#1626)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    atlas-dst-bot and github-actions[bot] authored Mar 4, 2024
    Copy the full SHA
    ac82deb View commit details
Loading