-
Notifications
You must be signed in to change notification settings - Fork 646
Release Tracking #1324
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
Merged
Merged
Release Tracking #1324
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/primer/primer-components/BcRWR75VStWkVGQr1JPUtaqurZ62 |
0779e85 to
2a10ead
Compare
2a10ead to
af16fa8
Compare
af16fa8 to
5168f9b
Compare
5168f9b to
a35a8c6
Compare
a35a8c6 to
5ca4144
Compare
5ca4144 to
dd83901
Compare
dd83901 to
5380f8c
Compare
5380f8c to
072c327
Compare
072c327 to
eef07a5
Compare
eef07a5 to
9c19f56
Compare
9c19f56 to
8d10bb1
Compare
8d10bb1 to
fa2efcd
Compare
colebemis
approved these changes
Jul 26, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
85d0202bThanks @VanAnderson! -Boxnow accepts all styled system props.#1316
4c063317Thanks @VanAnderson! - The following components have been deprecated in favor of theBoxcomponent: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/*.tsxBabel example:
npx jscodeshift -t node_modules/@primer/components/codemods/deprecateUtilityComponents.js --parser=babel path/to/workspace/src/*.tsx#1336
489a718bThanks @VanAnderson! - System props are deprecated in all components exceptBox. Move all system props into thesxprop instead. Example:There is a codemod available to migrate from system props to the
sxprop:TypeScript example:
npx jscodeshift -t node_modules/@primer/components/codemods/removeSystemProps.js --parser=tsx path/to/workspace/src/*.tsxBabel example:
npx jscodeshift -t node_modules/@primer/components/codemods/removeSystemProps.js --parser=babel path/to/workspace/src/*.tsxPatch Changes
#1332
ec11d7b8Thanks @mattcosta7! - Side effects are properly declared in package.json#1308
a8f3ca6dThanks @dgreif! - Focus zones will now update active-descendant onmousemoveover 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.