chore(deps): update @primer/react to v38.7.0 #2509
Merged
+43
−65
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 contains the following updates:
38.6.2→38.7.0Release Notes
primer/react (@primer/react)
v38.7.0Compare Source
Minor Changes
d418509Thanks @lindseywild! - Adds character counts to TextInput and TextArea componentsPatch Changes
#7354
efbebdfThanks @llastflowers! - update SelectPanel Multi Select Modal story#7426
094be60Thanks @kelsey-myers! - Add focusPrependedElements prop to useFocusZone, FilteredActionList, and SelectPanel#7349
713d5a5Thanks @mattcosta7! - PageLayout: Optimize drag/resize performance with inline styles and new optimizationsRefactored:
.Pane[data-dragging='true']) instead of descendant selectors for CSS containment (O(1) vs O(n) selector matching)paneUtils.tsAdded:
content-visibility: autoduring drag/resize to skip off-screen content renderingThese changes improve style recalculation performance on large DOMs (100k+ nodes) by eliminating descendant selector traversal.
#7337
de970d6Thanks @mattcosta7! - perf(Autocomplete): Split context to reduce unnecessary re-rendersSplit AutocompleteContext into separate contexts for static values, setters, and dynamic state.
Components now subscribe only to the context slices they need, reducing re-renders.
#7325
cc7e10eThanks @mattcosta7! - perf(BaseStyles): Remove expensive :has([data-color-mode]) selectorsRemove
:has([data-color-mode])selectors that scanned the entire DOM on every style recalculation.Input color-scheme is already handled by global selectors in the codebase.
#7329
501a41fThanks @mattcosta7! - perf(Dialog): Add feature flag for CSS :has() selector performance optimizationprimer_react_css_has_selector_perffeature flag (default: false)body:has(.Dialog.DisableScroll)selectorbody[data-dialog-scroll-disabled]data attribute with ref counting#7342
a8b42b2Thanks @mattcosta7! - perf(hasInteractiveNodes): Optimize with combined selector and early attribute checksConfiguration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.