@primer/react 0.0.0-20260915185318 → 0.0.0-20261105032827

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (249) hide show
  1. package/CHANGELOG.md +124 -4
  2. package/dist/ActionBar/ActionBar.js +502 -169
  3. package/dist/ActionBar/index.d.ts +2 -2
  4. package/dist/ActionList/{ActionList-1ff5220c.css → ActionList-64885d7a.css} +2 -2
  5. package/dist/ActionList/ActionList-64885d7a.css.map +1 -0
  6. package/dist/ActionList/ActionList.module.css.js +1 -1
  7. package/dist/ActionList/Description.js +3 -3
  8. package/dist/ActionList/Divider.js +1 -1
  9. package/dist/ActionList/Group.js +16 -17
  10. package/dist/ActionList/GroupHeadingTrailingAction.js +1 -10
  11. package/dist/ActionList/Heading.js +1 -1
  12. package/dist/ActionList/Item.js +123 -122
  13. package/dist/ActionList/LinkItem.js +4 -4
  14. package/dist/ActionList/List.js +2 -2
  15. package/dist/ActionList/Selection.js +6 -6
  16. package/dist/ActionList/TrailingAction.js +3 -3
  17. package/dist/ActionList/Visuals.js +9 -9
  18. package/dist/ActionList/index.d.ts +5 -18
  19. package/dist/ActionList/shared.d.ts +1 -1
  20. package/dist/ActionMenu/ActionMenu.js +20 -19
  21. package/dist/AnchoredOverlay/AnchoredOverlay.js +4 -4
  22. package/dist/Autocomplete/Autocomplete.js +3 -3
  23. package/dist/Autocomplete/AutocompleteInput.js +1 -1
  24. package/dist/Autocomplete/AutocompleteMenu.js +111 -106
  25. package/dist/Autocomplete/AutocompleteOverlay.js +2 -2
  26. package/dist/Avatar/Avatar.js +1 -1
  27. package/dist/AvatarStack/{AvatarStack-e6a99916.css → AvatarStack-937ec7c1.css} +2 -2
  28. package/dist/AvatarStack/{AvatarStack-e6a99916.css.map → AvatarStack-937ec7c1.css.map} +1 -1
  29. package/dist/AvatarStack/AvatarStack.js +3 -3
  30. package/dist/AvatarStack/AvatarStack.module.css.js +1 -1
  31. package/dist/Banner/Banner.js +24 -26
  32. package/dist/BaseStyles.js +1 -1
  33. package/dist/Blankslate/Blankslate.js +10 -11
  34. package/dist/BranchName/BranchName.d.ts +1 -1
  35. package/dist/BranchName/BranchName.js +1 -1
  36. package/dist/Breadcrumbs/Breadcrumbs.d.ts +2 -2
  37. package/dist/Breadcrumbs/Breadcrumbs.js +20 -29
  38. package/dist/Button/Button.js +1 -1
  39. package/dist/Button/ButtonBase-c8dab214.css +2 -0
  40. package/dist/Button/ButtonBase-c8dab214.css.map +1 -0
  41. package/dist/Button/ButtonBase.js +14 -10
  42. package/dist/Button/ButtonBase.module.css.js +1 -1
  43. package/dist/Button/IconButton.js +6 -7
  44. package/dist/Button/LinkButton.js +1 -1
  45. package/dist/Button/types.d.ts +2 -2
  46. package/dist/ButtonGroup/ButtonGroup.js +2 -3
  47. package/dist/Card/Card.js +17 -18
  48. package/dist/Card/index.d.ts +1 -1
  49. package/dist/Checkbox/Checkbox.js +145 -41
  50. package/dist/CheckboxGroup/CheckboxGroup.js +2 -2
  51. package/dist/CircleBadge/CircleBadge.js +2 -2
  52. package/dist/ConfirmationDialog/ConfirmationDialog.js +1 -5
  53. package/dist/CounterLabel/CounterLabel.js +80 -18
  54. package/dist/DataTable/DataTable.d.ts +76 -22
  55. package/dist/DataTable/DataTable.js +239 -73
  56. package/dist/DataTable/ErrorDialog.js +1 -1
  57. package/dist/DataTable/Pagination.js +23 -23
  58. package/dist/DataTable/Table-7f0e985b.css +2 -0
  59. package/dist/DataTable/Table-7f0e985b.css.map +1 -0
  60. package/dist/DataTable/Table.d.ts +77 -1
  61. package/dist/DataTable/Table.js +269 -55
  62. package/dist/DataTable/Table.module.css.js +8 -5
  63. package/dist/DataTable/TableBulkActions-aca5618a.css +2 -0
  64. package/dist/DataTable/TableBulkActions-aca5618a.css.map +1 -0
  65. package/dist/DataTable/TableBulkActions.d.ts +15 -0
  66. package/dist/DataTable/TableBulkActions.js +217 -0
  67. package/dist/DataTable/TableBulkActions.module.css.js +12 -0
  68. package/dist/DataTable/TableGroup.d.ts +25 -1
  69. package/dist/DataTable/TableGroup.js +197 -117
  70. package/dist/DataTable/index.d.ts +8 -4
  71. package/dist/DataTable/index.js +6 -2
  72. package/dist/DataTable/row.d.ts +26 -2
  73. package/dist/DataTable/useTable.js +354 -90
  74. package/dist/DataTable/utils.d.ts +4 -2
  75. package/dist/Details/Details.js +4 -6
  76. package/dist/Dialog/Dialog.js +20 -23
  77. package/dist/FeatureFlags/DefaultFeatureFlags.js +3 -1
  78. package/dist/FeatureFlags/FeatureFlagScope.js +1 -0
  79. package/dist/FeatureFlags/FeatureFlags.js +1 -1
  80. package/dist/FilteredActionList/FilteredActionList.js +27 -22
  81. package/dist/FilteredActionList/FilteredActionListInput.d.ts +5 -1
  82. package/dist/FilteredActionList/FilteredActionListInput.js +61 -40
  83. package/dist/FilteredActionList/FilteredActionListLoaders.js +10 -11
  84. package/dist/FilteredActionList/constants.js +2 -0
  85. package/dist/FilteredActionList/useAnnouncements.js +160 -71
  86. package/dist/Flash/Flash.js +1 -4
  87. package/dist/FormControl/FormControl.js +58 -83
  88. package/dist/FormControl/FormControlCaption.js +1 -1
  89. package/dist/FormControl/FormControlLabel.js +2 -3
  90. package/dist/FormControl/FormControlLeadingVisual.js +1 -1
  91. package/dist/FormControl/_FormControlContext.js +1 -2
  92. package/dist/FormControl/_FormControlContextProvider.js +5 -0
  93. package/dist/FormControl/_FormControlValidation.js +1 -1
  94. package/dist/Header/Header.js +3 -3
  95. package/dist/Heading/Heading.js +1 -1
  96. package/dist/Hidden/Hidden.js +1 -1
  97. package/dist/InlineMessage/InlineMessage.js +12 -13
  98. package/dist/KeybindingHint/KeybindingHint.js +3 -3
  99. package/dist/KeybindingHint/components/Chord.js +3 -3
  100. package/dist/KeybindingHint/components/Key.js +3 -3
  101. package/dist/KeybindingHint/components/Sequence.js +1 -1
  102. package/dist/KeybindingHint/platform.js +0 -8
  103. package/dist/Label/Label.js +1 -1
  104. package/dist/LabelGroup/LabelGroup.js +18 -18
  105. package/dist/Link/Link.d.ts +1 -1
  106. package/dist/Link/Link.js +1 -1
  107. package/dist/NavList/NavList.d.ts +1 -1
  108. package/dist/NavList/NavList.js +27 -28
  109. package/dist/Octicon/Octicon.js +1 -4
  110. package/dist/Overlay/Overlay.d.ts +2 -0
  111. package/dist/Overlay/Overlay.js +300 -63
  112. package/dist/PageHeader/PageHeader.js +21 -21
  113. package/dist/PageLayout/DragHandle.js +1 -1
  114. package/dist/PageLayout/PageLayout.js +26 -26
  115. package/dist/PageLayout/usePaneWidth.js +2 -7
  116. package/dist/Pagehead/Pagehead.js +1 -1
  117. package/dist/Pagination/Pagination.js +9 -10
  118. package/dist/Popover/Popover.js +6 -8
  119. package/dist/ProgressBar/ProgressBar-ac90a742.css +2 -0
  120. package/dist/ProgressBar/ProgressBar-ac90a742.css.map +1 -0
  121. package/dist/ProgressBar/ProgressBar.js +4 -5
  122. package/dist/ProgressBar/ProgressBar.module.css.js +1 -1
  123. package/dist/Radio/Radio.js +1 -1
  124. package/dist/RadioGroup/RadioGroup.js +2 -2
  125. package/dist/RelativeTime/RelativeTime.js +1 -1
  126. package/dist/ScrollableRegion/ScrollableRegion.js +1 -1
  127. package/dist/SegmentedControl/SegmentedControl-99b8e34e.css +2 -0
  128. package/dist/SegmentedControl/SegmentedControl-99b8e34e.css.map +1 -0
  129. package/dist/SegmentedControl/SegmentedControl.js +13 -13
  130. package/dist/SegmentedControl/SegmentedControl.module.css.js +1 -1
  131. package/dist/SegmentedControl/SegmentedControlAction.js +6 -6
  132. package/dist/SegmentedControl/SegmentedControlButton.js +9 -10
  133. package/dist/SegmentedControl/SegmentedControlDivider.js +1 -1
  134. package/dist/SegmentedControl/SegmentedControlIconButton.js +5 -5
  135. package/dist/Select/Select.js +11 -11
  136. package/dist/SelectPanel/SelectPanel.d.ts +1 -1
  137. package/dist/SelectPanel/SelectPanel.js +117 -68
  138. package/dist/SelectPanel/SelectPanelMessage.js +5 -5
  139. package/dist/SideNav.js +2 -2
  140. package/dist/Skeleton/SkeletonBox-8a6ec314.css +2 -0
  141. package/dist/Skeleton/SkeletonBox-8a6ec314.css.map +1 -0
  142. package/dist/Skeleton/SkeletonBox.js +1 -1
  143. package/dist/Skeleton/SkeletonBox.module.css.js +1 -1
  144. package/dist/SkeletonAvatar/SkeletonAvatar.js +1 -1
  145. package/dist/SkeletonText/SkeletonText.js +3 -3
  146. package/dist/Spinner/Spinner.js +6 -7
  147. package/dist/SplitPageLayout/SplitPageLayout.js +6 -6
  148. package/dist/Stack/Stack.js +2 -2
  149. package/dist/StateLabel/StateLabel.js +2 -2
  150. package/dist/SubNav/SubNav.js +5 -5
  151. package/dist/TabNav/TabNav.js +4 -10
  152. package/dist/Text/Text.d.ts +1 -1
  153. package/dist/Text/Text.js +1 -1
  154. package/dist/TextInput/TextInput.js +246 -91
  155. package/dist/TextInputWithTokens/TextInputWithTokens.js +12 -15
  156. package/dist/Textarea/Textarea.d.ts +2 -2
  157. package/dist/Textarea/Textarea.js +7 -7
  158. package/dist/ThemeProvider.js +1 -2
  159. package/dist/Timeline/Timeline.js +11 -14
  160. package/dist/ToggleSwitch/ToggleSwitch.js +20 -21
  161. package/dist/Token/IssueLabelToken.js +3 -3
  162. package/dist/Token/Token.js +7 -7
  163. package/dist/Token/TokenBase.js +1 -1
  164. package/dist/Token/_RemoveTokenButton.js +115 -21
  165. package/dist/Token/_TokenTextContainer.js +1 -1
  166. package/dist/Tooltip/Tooltip.js +98 -20
  167. package/dist/TooltipV2/Tooltip.js +304 -137
  168. package/dist/TopicTag/TopicTag.js +2 -3
  169. package/dist/TopicTag/TopicTagGroup.js +1 -1
  170. package/dist/TreeView/TreeView.js +52 -59
  171. package/dist/TreeView/useRovingTabIndex.js +1 -0
  172. package/dist/TreeView/useTypeahead.js +4 -3
  173. package/dist/Truncate/Truncate.d.ts +9 -4
  174. package/dist/Truncate/Truncate.js +92 -16
  175. package/dist/Truncate/index.d.ts +2 -2
  176. package/dist/UnderlineNav/UnderlineNav.js +18 -18
  177. package/dist/UnderlineNav/UnderlineNavItem.js +53 -47
  178. package/dist/VisuallyHidden/VisuallyHidden.js +1 -1
  179. package/dist/_VisuallyHidden.js +1 -1
  180. package/dist/deprecated/ActionList/Divider.js +1 -1
  181. package/dist/deprecated/ActionList/Group.js +2 -5
  182. package/dist/deprecated/ActionList/Header.js +2 -5
  183. package/dist/deprecated/ActionList/Item.js +18 -21
  184. package/dist/deprecated/ActionList/List.js +5 -14
  185. package/dist/deprecated/ActionMenu.js +4 -6
  186. package/dist/deprecated/DialogV1/Dialog.js +5 -5
  187. package/dist/deprecated/FilteredSearch/FilteredSearch.js +1 -1
  188. package/dist/deprecated/UnderlineNav/UnderlineNav.js +4 -4
  189. package/dist/experimental/IssueLabel/IssueLabel.js +4 -4
  190. package/dist/experimental/SelectPanel2/SelectPanel.d.ts +1 -1
  191. package/dist/experimental/SelectPanel2/SelectPanel.js +42 -49
  192. package/dist/experimental/Tabs/Tabs.js +1 -1
  193. package/dist/experimental/UnderlinePanels/UnderlinePanels.js +417 -124
  194. package/dist/experimental/index.d.ts +5 -4
  195. package/dist/experimental/index.js +1 -1
  196. package/dist/hooks/useControllableState.js +70 -19
  197. package/dist/hooks/useMergedRefs.js +0 -12
  198. package/dist/hooks/useOnOutsideClick.js +48 -21
  199. package/dist/hooks/useOpenAndCloseFocus.d.ts +3 -1
  200. package/dist/hooks/useOpenAndCloseFocus.js +28 -16
  201. package/dist/hooks/useOverlay.d.ts +3 -1
  202. package/dist/hooks/useOverlay.js +24 -22
  203. package/dist/hooks/useResponsiveValue.js +0 -5
  204. package/dist/hooks/useSafeTimeout.js +54 -19
  205. package/dist/hooks/useSlots.js +0 -48
  206. package/dist/index.d.ts +3 -3
  207. package/dist/index.js +2 -2
  208. package/dist/internal/components/ButtonReset.js +1 -1
  209. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup.js +9 -9
  210. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupCaption.js +1 -1
  211. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupLabel.js +4 -4
  212. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupValidation.js +1 -1
  213. package/dist/internal/components/ConditionalWrapper.js +2 -2
  214. package/dist/internal/components/InputLabel.js +4 -5
  215. package/dist/internal/components/InputValidation.js +4 -4
  216. package/dist/internal/components/OverflowObserverProvider.js +1 -1
  217. package/dist/internal/components/TextInputInnerAction.js +7 -8
  218. package/dist/internal/components/TextInputInnerVisualSlot.js +5 -5
  219. package/dist/internal/components/TextInputWrapper.d.ts +3 -0
  220. package/dist/internal/components/TextInputWrapper.js +2 -2
  221. package/dist/internal/components/ThemeProviderBase.js +3 -3
  222. package/dist/internal/components/UnderlineTabbedInterface.js +11 -11
  223. package/dist/internal/components/UnstyledTextInput.js +1 -1
  224. package/dist/internal/components/ValidationAnimationContainer.js +2 -2
  225. package/dist/internal/hooks/useDevOnlyEffect.js +3 -8
  226. package/dist/internal/hooks/useOverflowObserver.js +1 -2
  227. package/dist/internal/hooks/useThemeProvider.js +3 -3
  228. package/dist/live-region/Announce.js +1 -1
  229. package/dist/live-region/AriaAlert.js +1 -1
  230. package/dist/live-region/AriaStatus.js +1 -1
  231. package/dist/next/ThemeProvider.js +1 -1
  232. package/dist/utils/descendant-registry.d.ts +1 -1
  233. package/dist/utils/descendant-registry.js +94 -82
  234. package/dist/utils/modern-polymorphic.d.ts +2 -1
  235. package/dist/utils/modern-polymorphic.js +0 -10
  236. package/generated/components.json +286 -28
  237. package/generated/hooks.json +13 -1
  238. package/package.json +16 -17
  239. package/dist/ActionList/ActionList-1ff5220c.css.map +0 -1
  240. package/dist/Button/ButtonBase-b44e29d1.css +0 -2
  241. package/dist/Button/ButtonBase-b44e29d1.css.map +0 -1
  242. package/dist/DataTable/Table-50e68700.css +0 -2
  243. package/dist/DataTable/Table-50e68700.css.map +0 -1
  244. package/dist/ProgressBar/ProgressBar-e403d83d.css +0 -2
  245. package/dist/ProgressBar/ProgressBar-e403d83d.css.map +0 -1
  246. package/dist/SegmentedControl/SegmentedControl-e68d4197.css +0 -2
  247. package/dist/SegmentedControl/SegmentedControl-e68d4197.css.map +0 -1
  248. package/dist/Skeleton/SkeletonBox-e078be7c.css +0 -2
  249. package/dist/Skeleton/SkeletonBox-e078be7c.css.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,10 +1,132 @@
1
1
  # @primer/react
2
2
 
3
- ## 0.0.0-20260915185318
3
+ ## 0.0.0-20261105032827
4
4
 
5
5
  ### Minor Changes
6
6
 
7
- - [#8422](https://github.com/primer/react/pull/8422) [`77d8cc9`](https://github.com/primer/react/commit/77d8cc90b1b5a3906a42fa39eb2d47e9d1019e6f) Thanks [@tay1orjones](https://github.com/tay1orjones)! - NavList, ActionList: Add a `disableItemGap` prop to render navigation items edge-to-edge.
7
+ - [#8534](https://github.com/primer/react/pull/8534) [`57c2ac5`](https://github.com/primer/react/commit/57c2ac594efb8ee9b3e59ed2b9abb66fc15a36d9) Thanks [@rickyzhangca](https://github.com/rickyzhangca)! - DataTable: Add bulk actions in the table header with selection counts and focus recovery.
8
+
9
+ ### Patch Changes
10
+
11
+ - [#8612](https://github.com/primer/react/pull/8612) [`9cd1f8a`](https://github.com/primer/react/commit/9cd1f8ae897b8db44434474b937fda39f57f15f9) Thanks [@alexus37](https://github.com/alexus37)! - ActionBar, UnderlineNav: Batch descendant registry updates to reduce cascading renders during rapid item changes
12
+
13
+ - [#8634](https://github.com/primer/react/pull/8634) [`62d32c9`](https://github.com/primer/react/commit/62d32c94ac730847a4557441b65a6a48334201a3) Thanks [@HadrielWonda](https://github.com/HadrielWonda)! - FilteredActionList: Only reference the list from the filter input while the list is rendered, so `aria-controls` never points at a missing element during body loading or when a message is shown
14
+
15
+ - Fake entry to force publishing
16
+
17
+ - [#8638](https://github.com/primer/react/pull/8638) [`4b1cc1d`](https://github.com/primer/react/commit/4b1cc1d863209aa9aaf9f6ab47ae25b86de5c1e1) Thanks [@joshblack](https://github.com/joshblack)! - Polymorphic components: Fix TypeScript inference for component-specific props while preserving `as` support.
18
+
19
+ - [#8611](https://github.com/primer/react/pull/8611) [`68a5c0b`](https://github.com/primer/react/commit/68a5c0b18c800b8f6f6555f9d4d327c48389ae06) Thanks [@alexus37](https://github.com/alexus37)! - ActionMenu: Avoid an extra render when closed menus mount while preserving accessible trigger labeling
20
+
21
+ - [#8681](https://github.com/primer/react/pull/8681) [`b776831`](https://github.com/primer/react/commit/b776831c2cf0961c5bb35cea1087974eb6c76488) Thanks [@mattcosta7](https://github.com/mattcosta7)! - SkeletonBox, ProgressBar: Run the loading shimmer animation on the compositor to reduce main-thread work while skeletons are visible
22
+
23
+ - [#8534](https://github.com/primer/react/pull/8534) [`57c2ac5`](https://github.com/primer/react/commit/57c2ac594efb8ee9b3e59ed2b9abb66fc15a36d9) Thanks [@rickyzhangca](https://github.com/rickyzhangca)! - Table: Preserve bottom corners when the final row group is empty.
24
+
25
+ ## 38.44.0
26
+
27
+ ### Minor Changes
28
+
29
+ - [#8533](https://github.com/primer/react/pull/8533) [`714cb96`](https://github.com/primer/react/commit/714cb96adbdc0aec951f7a131f44f221b10ef3ae) Thanks [@rickyzhangca](https://github.com/rickyzhangca)! - DataTable, Table.Group: Add controlled and uncontrolled group expansion without changing row selection.
30
+
31
+ ### Patch Changes
32
+
33
+ - [#8533](https://github.com/primer/react/pull/8533) [`714cb96`](https://github.com/primer/react/commit/714cb96adbdc0aec951f7a131f44f221b10ef3ae) Thanks [@rickyzhangca](https://github.com/rickyzhangca)! - Table.SelectionHeader: Preserve the mixed checkbox state when using a callback ref.
34
+
35
+ - [#8613](https://github.com/primer/react/pull/8613) [`f733dcb`](https://github.com/primer/react/commit/f733dcb2b086c6da7902bfecfcf68cd61c7daab3) Thanks [@alexus37](https://github.com/alexus37)! - SelectPanel: Improve rendering performance when opening and updating items or selection
36
+
37
+ - [#8590](https://github.com/primer/react/pull/8590) [`f83d6a9`](https://github.com/primer/react/commit/f83d6a9350f85784e51d9632dfc881cf805976f7) Thanks [@donjo](https://github.com/donjo)! - SegmentedControl: Match unselected hover backgrounds in the subtle variant to invisible buttons.
38
+
39
+ ## 38.43.0
40
+
41
+ ### Minor Changes
42
+
43
+ - [#8545](https://github.com/primer/react/pull/8545) [`c29b6fe`](https://github.com/primer/react/commit/c29b6fec94c8b18b4f59f7935740ab7b94598ecc) Thanks [@tay1orjones](https://github.com/tay1orjones)! - TextInput and Textarea: Deprecate the `contrast` prop. Omit it to use the default background.
44
+
45
+ - [#8558](https://github.com/primer/react/pull/8558) [`6f52273`](https://github.com/primer/react/commit/6f522732b1370954fd1de47b806864c6a46886c5) Thanks [@joshblack](https://github.com/joshblack)! - useControllableState, useOnOutsideClick: Support automatic memoization with React Compiler.
46
+
47
+ - [#8555](https://github.com/primer/react/pull/8555) [`746d76a`](https://github.com/primer/react/commit/746d76ae7a21ba675ebb4282dd5771c351aeb8f3) Thanks [@joshblack](https://github.com/joshblack)! - useSafeTimeout: Support automatic memoization with React Compiler.
48
+
49
+ - [#8555](https://github.com/primer/react/pull/8555) [`746d76a`](https://github.com/primer/react/commit/746d76ae7a21ba675ebb4282dd5771c351aeb8f3) Thanks [@joshblack](https://github.com/joshblack)! - Token, IssueLabelToken: Improve rendering performance with React Compiler support.
50
+
51
+ - [#8555](https://github.com/primer/react/pull/8555) [`746d76a`](https://github.com/primer/react/commit/746d76ae7a21ba675ebb4282dd5771c351aeb8f3) Thanks [@joshblack](https://github.com/joshblack)! - UnderlinePanels: Improve rendering performance with React Compiler support.
52
+
53
+ ### Patch Changes
54
+
55
+ - [#8545](https://github.com/primer/react/pull/8545) [`c29b6fe`](https://github.com/primer/react/commit/c29b6fec94c8b18b4f59f7935740ab7b94598ecc) Thanks [@tay1orjones](https://github.com/tay1orjones)! - SelectPanel: Use the default filter input background. Enable `primer_react_select_panel_legacy_contrast` to restore the previous appearance.
56
+
57
+ - [#8524](https://github.com/primer/react/pull/8524) [`0d5607c`](https://github.com/primer/react/commit/0d5607c3b29ab090a0a97d1532fdc3a066a37d3d) Thanks [@tay1orjones](https://github.com/tay1orjones)! - TreeView: Prevent typeahead errors and focus changes when typing in nested controls.
58
+
59
+ ## 38.42.0
60
+
61
+ ### Minor Changes
62
+
63
+ - [#8513](https://github.com/primer/react/pull/8513) [`1bab81a`](https://github.com/primer/react/commit/1bab81a0eb3f613c8d6b4abd36bd92d0ac6cedc4) Thanks [@tay1orjones](https://github.com/tay1orjones)! - ActionMenu, Overlay: Add `preventFocusOnClose` to let consumers manage focus when an overlay closes.
64
+
65
+ - [#8525](https://github.com/primer/react/pull/8525) [`013ab30`](https://github.com/primer/react/commit/013ab3078785ee90afe8a7562576fe0a26001b96) Thanks [@tay1orjones](https://github.com/tay1orjones)! - TextInput and Textarea: Deprecate the `contrast` prop. Omit it to use the default background.
66
+
67
+ - [#8450](https://github.com/primer/react/pull/8450) [`1528a48`](https://github.com/primer/react/commit/1528a483f9efa41fdb4bea7793c49bcde6fb4220) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - IconButton, ActionBar: Accept React nodes and icon components
68
+
69
+ - [#8509](https://github.com/primer/react/pull/8509) [`78ba2e0`](https://github.com/primer/react/commit/78ba2e08bc194f36b023e126a3084468aabff2ac) Thanks [@joshblack](https://github.com/joshblack)! - CounterLabel, Truncate: Improve rendering performance with React Compiler support.
70
+
71
+ - [#8511](https://github.com/primer/react/pull/8511) [`6d14fa0`](https://github.com/primer/react/commit/6d14fa092e3e9e470991dab7f8e753bfb265a905) Thanks [@joshblack](https://github.com/joshblack)! - Checkbox, Tooltip: Improve rendering performance with React Compiler support.
72
+
73
+ - [#8512](https://github.com/primer/react/pull/8512) [`e236683`](https://github.com/primer/react/commit/e236683d5c21c1d4b8121d35f4960986f5cd3a5f) Thanks [@joshblack](https://github.com/joshblack)! - ActionBar, FilteredActionList, Overlay, TextInput, Tooltip: Improve rendering performance with automatic memoization.
74
+
75
+ - [#8415](https://github.com/primer/react/pull/8415) [`66a9f31`](https://github.com/primer/react/commit/66a9f31611c642209f66ed68b7d43712b09dbd88) Thanks [@rickyzhangca](https://github.com/rickyzhangca)! - DataTable: Add controlled and uncontrolled row selection.
76
+
77
+ ### Patch Changes
78
+
79
+ - [#8508](https://github.com/primer/react/pull/8508) [`f71dce4`](https://github.com/primer/react/commit/f71dce4869dedf4cb8460ed2fa8e18edc0604198) Thanks [@namangoyal176-10](https://github.com/namangoyal176-10)! - FormControl: Prevent duplicate input rendering when layout is horizontal with non-choice inputs
80
+
81
+ ## 38.41.0
82
+
83
+ ### Minor Changes
84
+
85
+ - [#8504](https://github.com/primer/react/pull/8504) [`c9419e7`](https://github.com/primer/react/commit/c9419e75d7084b62096b50fb54f6a94e96592a9a) Thanks [@joshblack](https://github.com/joshblack)! - React Compiler: Switch from Babel to Oxc.
86
+
87
+ - [#8477](https://github.com/primer/react/pull/8477) [`7f5303d`](https://github.com/primer/react/commit/7f5303d803986887187d86dcebaeda22a4dc6823) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - ActionList.Item and ActionList.LinkItem: Add a small size variant with smaller text.
88
+
89
+ ### Patch Changes
90
+
91
+ - [#8484](https://github.com/primer/react/pull/8484) [`da3be09`](https://github.com/primer/react/commit/da3be09cc9b28cd95e9117db0a422ab08a7e37b2) Thanks [@tay1orjones](https://github.com/tay1orjones)! - TreeView: Prevent keyboard navigation errors when nested controls have focus
92
+
93
+ - [#8473](https://github.com/primer/react/pull/8473) [`53ed545`](https://github.com/primer/react/commit/53ed54524aac9c3e829c239afdb4f63de160f873) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - LiveRegion: Upgrade `@primer/live-region-element` to 0.8.1
94
+
95
+ - [#8412](https://github.com/primer/react/pull/8412) [`3d8f32f`](https://github.com/primer/react/commit/3d8f32fcce51a40db8e3091027714673d4a48617) Thanks [@anishtsudo](https://github.com/anishtsudo)! - Button: Add opt-in disabled styling for loading buttons so they look non-interactive while staying focusable
96
+
97
+ - [#8463](https://github.com/primer/react/pull/8463) [`f710336`](https://github.com/primer/react/commit/f7103363ce5c916b8aa27a3fd5d4c9d564d3a13f) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Truncate: Infer accepted props from the `as` prop and forward `inline` to custom `as` components (e.g. `Link`).
98
+
99
+ ## 38.40.1
100
+
101
+ ### Patch Changes
102
+
103
+ - [#8413](https://github.com/primer/react/pull/8413) [`d4e30ed`](https://github.com/primer/react/commit/d4e30ed186af6ae781b3adcf83278e0c2001a834) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - SelectPanel: Announce the filter input label when focus moves into the panel
104
+
105
+ - [#8434](https://github.com/primer/react/pull/8434) [`6794582`](https://github.com/primer/react/commit/67945828439898ace865bd5f7417c562033bcbc2) Thanks [@siddharthkp](https://github.com/siddharthkp)! - AvatarStack: Prevent a thin edge from a masked avatar over the next avatar
106
+
107
+ - [#8443](https://github.com/primer/react/pull/8443) [`e2d6cb9`](https://github.com/primer/react/commit/e2d6cb931bbde9446701056f204b055789b16dd9) Thanks [@siddharthkp](https://github.com/siddharthkp)! - UnderlineNav: Avoid adding a default `href` when items render as custom link components
108
+
109
+ - [#8429](https://github.com/primer/react/pull/8429) [`f2c075a`](https://github.com/primer/react/commit/f2c075a5d4d0b51a279c39effa18226ad909929d) Thanks [@tay1orjones](https://github.com/tay1orjones)! - SelectPanel: Prevent console warnings when measuring virtualized items
110
+
111
+ ## 38.40.0
112
+
113
+ ### Minor Changes
114
+
115
+ - [#8422](https://github.com/primer/react/pull/8422) [`2909f19`](https://github.com/primer/react/commit/2909f19f64dbbc12aefb3455139596d88e5098b2) Thanks [@tay1orjones](https://github.com/tay1orjones)! - NavList, ActionList: Add a `disableItemGap` prop to render navigation items edge-to-edge.
116
+
117
+ - [#8386](https://github.com/primer/react/pull/8386) [`6c64598`](https://github.com/primer/react/commit/6c645987c5ad27d5c23f57190a10b8707b29c58c) Thanks [@rickyzhangca](https://github.com/rickyzhangca)! - DataTable: Add config-driven row groups that can be interleaved with standalone rows.
118
+
119
+ ### Patch Changes
120
+
121
+ - [#8427](https://github.com/primer/react/pull/8427) [`2749f42`](https://github.com/primer/react/commit/2749f420d8ae882a4ee2fbdc79a3068cc4dbf355) Thanks [@llastflowers](https://github.com/llastflowers)! - Button, LinkButton: Limit link underlines to the label when the button includes a visual.
122
+
123
+ - [#8411](https://github.com/primer/react/pull/8411) [`8c52029`](https://github.com/primer/react/commit/8c520293151054fd39e5094f4740e97e89ce18d8) Thanks [@mattcosta7](https://github.com/mattcosta7)! - Tooltip: Prevent React Fragment triggers from crashing and provide a clear development warning
124
+
125
+ - [#8409](https://github.com/primer/react/pull/8409) [`9d0632c`](https://github.com/primer/react/commit/9d0632ccc6c23e92cbbe786ce922795c92931b04) Thanks [@iansan5653](https://github.com/iansan5653)! - Fix Tooltip ref handling to preserve child element ref
126
+
127
+ ## 38.39.0
128
+
129
+ ### Minor Changes
8
130
 
9
131
  - [#8372](https://github.com/primer/react/pull/8372) [`23185b7`](https://github.com/primer/react/commit/23185b7a6d457d8d8a2161d804bb36da5e62e301) Thanks [@rickyzhangca](https://github.com/rickyzhangca)! - DataTable: Add `Table.Group` for rendering accessible groups of table rows.
10
132
 
@@ -12,8 +134,6 @@
12
134
 
13
135
  - [#8234](https://github.com/primer/react/pull/8234) [`fd1a26a`](https://github.com/primer/react/commit/fd1a26ad9af3fcde69dddb8eb1b161465e94e3ca) Thanks [@TylerJDev](https://github.com/TylerJDev)! - Bundle the React Compiler memo helper (`c`) into `@primer/react` instead of importing it from an external `react-compiler-runtime` module. This prevents a runtime crash (`TypeError: (0, t.c) is not a function`) that could occur when a consumer's bundle resolved a skewed or stale `react-compiler-runtime` across independently-cached chunks.
14
136
 
15
- - Fake entry to force publishing
16
-
17
137
  - [#8370](https://github.com/primer/react/pull/8370) [`56ebdc4`](https://github.com/primer/react/commit/56ebdc49f8f6c862288ee653a4cdc7a70afe829c) Thanks [@rickyzhangca](https://github.com/rickyzhangca)! - ScrollableRegion: Remove focusability when content no longer overflows
18
138
 
19
139
  - [#8371](https://github.com/primer/react/pull/8371) [`dc8387f`](https://github.com/primer/react/commit/dc8387f4fa07cf00887cb2412d358fb7eb54be63) Thanks [@rickyzhangca](https://github.com/rickyzhangca)! - DataTable: Keep sortable column names concise and convey the next sort action as an accessible description