Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Jun 24, 2021

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@primer/[email protected]

Minor Changes

  • #1315 85d0202b Thanks @VanAnderson! - Box now accepts all styled system props.

  • #1316 4c063317 Thanks @VanAnderson! - The following components have been deprecated in favor of the Box component:

    Component Replacement
    Flex <Box display="flex">
    Grid <Box display="grid">
    Position <Box>
    Absolute <Box position="absolute">
    Fixed <Box position="fixed">
    Relative <Box position="relative">
    Sticky <Box position="sticky">
    BorderBox <Box borderWidth="1px" borderStyle="solid" borderColor="border.primary" borderRadius={2}>

    There is a codemod available to upgrade these components:

    • TypeScript example:

      npx jscodeshift -t node_modules/@primer/components/codemods/deprecateUtilityComponents.js
      --parser=tsx path/to/workspace/src/*.tsx
    • Babel example:

      npx jscodeshift -t node_modules/@primer/components/codemods/deprecateUtilityComponents.js
      --parser=babel path/to/workspace/src/*.tsx
  • #1336 489a718b Thanks @VanAnderson! - System props are deprecated in all components except Box. Move all system props into the sx prop instead. Example:

    - <Button mr={2}>...</Button>
    + <Button sx={{mr: 2}}>...</Button>

    There is a codemod available to migrate from system props to the sx prop:

    • TypeScript example:

      npx jscodeshift -t node_modules/@primer/components/codemods/removeSystemProps.js
      --parser=tsx path/to/workspace/src/*.tsx
    • Babel example:

      npx jscodeshift -t node_modules/@primer/components/codemods/removeSystemProps.js
      --parser=babel path/to/workspace/src/*.tsx

Patch Changes

  • #1332 ec11d7b8 Thanks @mattcosta7! - Side effects are properly declared in package.json

  • #1308 a8f3ca6d Thanks @dgreif! - Focus zones will now update active-descendant on mousemove over focusable elements. ActionList has been updated to handle direct (key press) vs indirect (mousemove, DOM change, etc.) changes to active-descendant, and will use a distinct background color for the directly activated items.

@vercel
Copy link

vercel bot commented Jun 24, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/primer/primer-components/BcRWR75VStWkVGQr1JPUtaqurZ62
✅ Preview: https://primer-components-git-changeset-release-main-primer.vercel.app

@vercel vercel bot temporarily deployed to Preview June 24, 2021 19:52 Inactive
@github-actions github-actions bot force-pushed the changeset-release/main branch from 0779e85 to 2a10ead Compare June 25, 2021 21:59
@vercel vercel bot temporarily deployed to Preview June 25, 2021 21:59 Inactive
@github-actions github-actions bot force-pushed the changeset-release/main branch from 2a10ead to af16fa8 Compare June 29, 2021 21:11
@vercel vercel bot temporarily deployed to Preview June 29, 2021 21:11 Inactive
@github-actions github-actions bot force-pushed the changeset-release/main branch from af16fa8 to 5168f9b Compare July 2, 2021 14:49
@vercel vercel bot temporarily deployed to Preview July 2, 2021 14:49 Inactive
@github-actions github-actions bot force-pushed the changeset-release/main branch from 5168f9b to a35a8c6 Compare July 19, 2021 20:36
@vercel vercel bot temporarily deployed to Preview July 19, 2021 20:36 Inactive
@github-actions github-actions bot force-pushed the changeset-release/main branch from a35a8c6 to 5ca4144 Compare July 19, 2021 22:29
@vercel vercel bot temporarily deployed to Preview July 19, 2021 22:29 Inactive
@github-actions github-actions bot force-pushed the changeset-release/main branch from 5ca4144 to dd83901 Compare July 19, 2021 22:39
@vercel vercel bot temporarily deployed to Preview July 19, 2021 22:39 Inactive
@github-actions github-actions bot force-pushed the changeset-release/main branch from dd83901 to 5380f8c Compare July 21, 2021 23:01
@vercel vercel bot temporarily deployed to Preview July 21, 2021 23:01 Inactive
@github-actions github-actions bot force-pushed the changeset-release/main branch from 5380f8c to 072c327 Compare July 22, 2021 18:12
@vercel vercel bot temporarily deployed to Preview July 22, 2021 18:12 Inactive
@github-actions github-actions bot force-pushed the changeset-release/main branch from 072c327 to eef07a5 Compare July 22, 2021 19:01
@vercel vercel bot temporarily deployed to Preview July 22, 2021 19:01 Inactive
@github-actions github-actions bot force-pushed the changeset-release/main branch from eef07a5 to 9c19f56 Compare July 22, 2021 21:33
@vercel vercel bot temporarily deployed to Preview July 22, 2021 21:33 Inactive
@github-actions github-actions bot force-pushed the changeset-release/main branch from 9c19f56 to 8d10bb1 Compare July 22, 2021 21:49
@vercel vercel bot temporarily deployed to Preview July 22, 2021 21:49 Inactive
@github-actions github-actions bot force-pushed the changeset-release/main branch from 8d10bb1 to fa2efcd Compare July 26, 2021 16:36
@vercel vercel bot temporarily deployed to Preview July 26, 2021 16:36 Inactive
@vercel vercel bot temporarily deployed to Preview July 26, 2021 19:59 Inactive
@colebemis colebemis merged commit 63a5647 into main Jul 26, 2021
@colebemis colebemis deleted the changeset-release/main branch July 26, 2021 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants