[Snyk] Upgrade @primer/components from 28.0.4 to 28.5.0 #4
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.
Snyk has created this PR to upgrade @primer/components from 28.0.4 to 28.5.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Release notes
Package name: @primer/components
-
28.5.0 - 2021-09-01
-
-
-
-
28.5.0-rc.f4a7d51f - 2021-08-31
-
28.5.0-rc.e936962f - 2021-09-01
-
28.5.0-rc.7023310f - 2021-08-31
-
28.5.0-rc.40c7517b - 2021-08-31
-
28.5.0-rc.06fed4f9 - 2021-09-01
-
28.4.0 - 2021-08-25
- #1381
-
-
-
-
28.4.0-rc.f7b37360 - 2021-08-24
-
28.4.0-rc.d99f7189 - 2021-08-19
-
28.4.0-rc.b5d3d54e - 2021-08-24
-
28.4.0-rc.9287e845 - 2021-08-24
-
28.4.0-rc.4ad9d9bb - 2021-08-23
-
28.4.0-rc.1efbbe5d - 2021-08-25
-
28.4.0-rc.36385428 - 2021-08-18
-
28.3.3-rc.ef50471b - 2021-08-11
-
28.3.2 - 2021-08-05
- #1368
-
28.3.2-rc.93cb21aa - 2021-08-05
-
28.3.1 - 2021-07-30
- #1355
-
28.3.1-rc.c7d4149f - 2021-07-30
-
28.3.1-rc.accee0aa - 2021-07-27
-
28.3.1-rc.7d886d03 - 2021-07-28
-
28.3.1-rc.7569ba1f - 2021-07-27
-
28.3.1-rc.66dcc8cd - 2021-07-27
-
28.3.1-rc.5e5320f4 - 2021-07-27
-
28.3.1-rc.393159b2 - 2021-07-27
-
28.3.1-rc.2aadd559 - 2021-07-27
-
28.3.1-rc.2854eea8 - 2021-07-27
-
28.3.0 - 2021-07-26
-
-
Component
Replacement
-
-
-
-
-
-
-
-
28.2.5 - 2021-06-18
-
-
-
-
-
28.2.4 - 2021-06-14
-
-
-
-
-
-
-
28.2.3 - 2021-06-11
-
28.2.2 - 2021-06-11
-
28.2.1 - 2021-06-09
-
28.2.0 - 2021-05-27
-
28.1.1 - 2021-05-21
-
28.1.0 - 2021-05-20
-
28.0.4 - 2021-05-17
from @primer/components GitHub release notesMinor Changes
#1398
e4dac575Thanks @ jfuchs! - Default portal containers created by primer are absolutely positioned at 0,0#1385
5470b61bThanks @ jfuchs! - Make top and left position explicit props of Overlay handled separately from other styles#1388
83b888f0Thanks @ jfuchs! - Overlay takes a portalContainerName prop. This allows overlays with an anchor inside a scrolling container to track with their anchor, so long as the specified portal is also inside that scrolling container.Minor Changes
b31f0853Thanks @ jfuchs! - AnchoredOverlay positions are set directly on style propertyPatch Changes
#1372
23be0ed7Thanks @ jfuchs! - Extends DropdownMenu to allow anchorRef, open, and onOpenChange props.#1386
2ea30b43Thanks @ colebemis! - Bump @ primer/primitives dependency to 4.6.4#1387
6b4d52daThanks @ jfuchs! - Guard against MediaQueryList.addEventListener calls where unavailable and possibly fall back to .addListenerPatch Changes
36f156a0Thanks @ dgreif! - AllowanchorRefto be passed intoSelectPanelif you want to use an external anchorPatch Changes
3cc7be77Thanks @ colebemis! - Replace octoface icon with spinner in SelectMenu componentMinor 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.Patch Changes
#1311
6f0535dfThanks @ lukewar! - Expose 'textInputProps' from the 'SelectPanel'#1309
dc17a49eThanks @ colebemis! - Include all shadow variables in theme object#1251
528e9a41Thanks @ VanAnderson! - CalluseOnOutsideClickhandlers in reverse order that they are registered, and allow propagation to stop if default is prevented or an non-outside click is detected.#1312
76a38432Thanks @ smockle! - Ensure clicking anAnchoredOverlay’s trigger allows it to close without immediately reopening.Patch Changes
#1293
1148a718Thanks @ smockle! - Restore "fix: Don’t focus first 'Item' of 'DropdownMenu' and 'SelectMenu' on open" by deferring the removal of a temporarytabIndexuntil focus moves within the container.#1279
bb38754fThanks @ VanAnderson! - Update overlay shadows#1297
5fb3683dThanks @ VanAnderson! - Bump @ primer/primitives to 4.4.0#1288
15207119Thanks @ dgreif! - Focus zones with anactiveDescendantControlwill now activate the first descendant as soon as the control element is focused, rather than waiting for an up/down arrow press. Descendants stay active until the control element is blurred. This is a breaking change touseFocusZone, but this behavior is still considered to be inalpha.#1292
4b643818Thanks @ dgreif! - Bump dependencies#1279
bb38754fThanks @ VanAnderson! - Update TextInput border colorCommit messages
Package name: @primer/components
pull_request_targetevent github/docs#1354)Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs