Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release Tracking #1324

Merged
merged 2 commits into from
Jul 26, 2021
Merged

Release Tracking #1324

merged 2 commits into from
Jul 26, 2021

Conversation

github-actions[bot]
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/components@28.3.0

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
@vercel vercel bot temporarily deployed to Preview June 25, 2021 21:59 Inactive
@vercel vercel bot temporarily deployed to Preview June 29, 2021 21:11 Inactive
@vercel vercel bot temporarily deployed to Preview July 2, 2021 14:49 Inactive
@vercel vercel bot temporarily deployed to Preview July 19, 2021 20:36 Inactive
@vercel vercel bot temporarily deployed to Preview July 19, 2021 22:29 Inactive
@vercel vercel bot temporarily deployed to Preview July 19, 2021 22:39 Inactive
@vercel vercel bot temporarily deployed to Preview July 21, 2021 23:01 Inactive
@vercel vercel bot temporarily deployed to Preview July 22, 2021 18:12 Inactive
@vercel vercel bot temporarily deployed to Preview July 22, 2021 19:01 Inactive
@vercel vercel bot temporarily deployed to Preview July 22, 2021 21:33 Inactive
@vercel vercel bot temporarily deployed to Preview July 22, 2021 21:49 Inactive
@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.

1 participant