@primer/react 39.0.0-rc.0aa873f54 → 39.0.0-rc.cb01b74bb

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 (1452) hide show
  1. package/CHANGELOG.md +1178 -1
  2. package/README.md +16 -11
  3. package/dist/ActionBar/ActionBar-3767d551.css +2 -0
  4. package/dist/ActionBar/ActionBar-3767d551.css.map +1 -0
  5. package/dist/ActionBar/ActionBar.d.ts +85 -40
  6. package/dist/ActionBar/ActionBar.js +569 -528
  7. package/dist/ActionBar/ActionBar.module.css.js +13 -5
  8. package/dist/ActionBar/index.d.ts +49 -10
  9. package/dist/ActionBar/index.js +7 -6
  10. package/dist/ActionList/ActionList-64885d7a.css +2 -0
  11. package/dist/ActionList/ActionList-64885d7a.css.map +1 -0
  12. package/dist/ActionList/ActionList.module.css.js +31 -5
  13. package/dist/ActionList/ActionListContainerContext.js +3 -5
  14. package/dist/ActionList/Description.d.ts +18 -18
  15. package/dist/ActionList/Description.js +116 -52
  16. package/dist/ActionList/Divider.d.ts +7 -10
  17. package/dist/ActionList/Divider.js +30 -19
  18. package/dist/ActionList/Group-d89306a8.css +2 -0
  19. package/dist/ActionList/Group-d89306a8.css.map +1 -0
  20. package/dist/ActionList/Group.d.ts +33 -45
  21. package/dist/ActionList/Group.js +312 -173
  22. package/dist/ActionList/Group.module.css.js +10 -5
  23. package/dist/ActionList/GroupContext.js +7 -0
  24. package/dist/ActionList/GroupHeadingTrailingAction.d.ts +17 -0
  25. package/dist/ActionList/GroupHeadingTrailingAction.js +62 -0
  26. package/dist/ActionList/Heading-b9360636.css +1 -1
  27. package/dist/ActionList/Heading-b9360636.css.map +1 -1
  28. package/dist/ActionList/Heading.d.ts +10 -11
  29. package/dist/ActionList/Heading.js +78 -50
  30. package/dist/ActionList/Heading.module.css.js +4 -5
  31. package/dist/ActionList/Item.js +689 -274
  32. package/dist/ActionList/LinkItem.d.ts +16 -17
  33. package/dist/ActionList/LinkItem.js +112 -47
  34. package/dist/ActionList/List.js +175 -74
  35. package/dist/ActionList/Selection.js +82 -64
  36. package/dist/ActionList/TrailingAction.d.ts +21 -21
  37. package/dist/ActionList/TrailingAction.js +102 -51
  38. package/dist/ActionList/Visuals.d.ts +7 -18
  39. package/dist/ActionList/Visuals.js +144 -91
  40. package/dist/ActionList/index.d.ts +105 -96
  41. package/dist/ActionList/index.js +38 -33
  42. package/dist/ActionList/shared.d.ts +103 -117
  43. package/dist/ActionList/shared.js +4 -9
  44. package/dist/ActionMenu/ActionMenu-c4e2a589.css +2 -0
  45. package/dist/ActionMenu/ActionMenu-c4e2a589.css.map +1 -0
  46. package/dist/ActionMenu/ActionMenu.d.ts +46 -47
  47. package/dist/ActionMenu/ActionMenu.js +485 -293
  48. package/dist/ActionMenu/ActionMenu.module.css.js +4 -5
  49. package/dist/ActionMenu/index.d.ts +2 -2
  50. package/dist/AnchoredOverlay/AnchoredOverlay-83281f45.css +2 -0
  51. package/dist/AnchoredOverlay/AnchoredOverlay-83281f45.css.map +1 -0
  52. package/dist/AnchoredOverlay/AnchoredOverlay.d.ts +117 -94
  53. package/dist/AnchoredOverlay/AnchoredOverlay.js +261 -159
  54. package/dist/AnchoredOverlay/AnchoredOverlay.module.css.js +8 -5
  55. package/dist/AnchoredOverlay/index.d.ts +2 -3
  56. package/dist/Autocomplete/Autocomplete.d.ts +41 -46
  57. package/dist/Autocomplete/Autocomplete.js +182 -179
  58. package/dist/Autocomplete/AutocompleteContext.js +21 -5
  59. package/dist/Autocomplete/AutocompleteInput.d.ts +15 -14
  60. package/dist/Autocomplete/AutocompleteInput.js +121 -144
  61. package/dist/Autocomplete/AutocompleteMenu-7f135c03.css +1 -1
  62. package/dist/Autocomplete/AutocompleteMenu-7f135c03.css.map +1 -1
  63. package/dist/Autocomplete/AutocompleteMenu.d.ts +70 -68
  64. package/dist/Autocomplete/AutocompleteMenu.js +371 -231
  65. package/dist/Autocomplete/AutocompleteMenu.module.css.js +7 -5
  66. package/dist/Autocomplete/AutocompleteOverlay-d99d778c.css +1 -1
  67. package/dist/Autocomplete/AutocompleteOverlay-d99d778c.css.map +1 -1
  68. package/dist/Autocomplete/AutocompleteOverlay.d.ts +25 -18
  69. package/dist/Autocomplete/AutocompleteOverlay.js +128 -134
  70. package/dist/Autocomplete/AutocompleteOverlay.module.css.js +4 -5
  71. package/dist/Autocomplete/index.d.ts +5 -3
  72. package/dist/Avatar/Avatar-61b19061.css +1 -1
  73. package/dist/Avatar/Avatar-61b19061.css.map +1 -1
  74. package/dist/Avatar/Avatar.d.ts +16 -26
  75. package/dist/Avatar/Avatar.js +105 -125
  76. package/dist/Avatar/Avatar.module.css.js +4 -5
  77. package/dist/Avatar/index.d.ts +2 -3
  78. package/dist/AvatarStack/AvatarStack-937ec7c1.css +2 -0
  79. package/dist/AvatarStack/AvatarStack-937ec7c1.css.map +1 -0
  80. package/dist/AvatarStack/AvatarStack.d.ts +24 -14
  81. package/dist/AvatarStack/AvatarStack.js +209 -143
  82. package/dist/AvatarStack/AvatarStack.module.css.js +8 -5
  83. package/dist/AvatarStack/index.d.ts +2 -3
  84. package/dist/Banner/Banner-41040ab7.css +2 -0
  85. package/dist/Banner/Banner-41040ab7.css.map +1 -0
  86. package/dist/Banner/Banner.d.ts +81 -130
  87. package/dist/Banner/Banner.js +449 -338
  88. package/dist/Banner/Banner.module.css.js +13 -5
  89. package/dist/Banner/index.d.ts +24 -21
  90. package/dist/Banner/index.js +6 -7
  91. package/dist/BaseStyles-fda34843.css +2 -0
  92. package/dist/BaseStyles-fda34843.css.map +1 -0
  93. package/dist/BaseStyles.d.ts +15 -11
  94. package/dist/BaseStyles.js +73 -90
  95. package/dist/BaseStyles.module.css.js +4 -5
  96. package/dist/Blankslate/Blankslate-670cf090.css +2 -0
  97. package/dist/Blankslate/Blankslate-670cf090.css.map +1 -0
  98. package/dist/Blankslate/Blankslate.d.ts +62 -34
  99. package/dist/Blankslate/Blankslate.js +280 -328
  100. package/dist/Blankslate/Blankslate.module.css.js +11 -5
  101. package/dist/Blankslate/BlankslateContext.js +6 -9
  102. package/dist/Blankslate/index.d.ts +9 -10
  103. package/dist/Blankslate/index.js +7 -8
  104. package/dist/BranchName/BranchName-2fad4f4b.css +1 -1
  105. package/dist/BranchName/BranchName-2fad4f4b.css.map +1 -1
  106. package/dist/BranchName/BranchName.d.ts +11 -12
  107. package/dist/BranchName/BranchName.js +51 -61
  108. package/dist/BranchName/BranchName.module.css.js +4 -5
  109. package/dist/BranchName/index.d.ts +2 -3
  110. package/dist/Breadcrumbs/Breadcrumbs-6c9aadcf.css +2 -0
  111. package/dist/Breadcrumbs/Breadcrumbs-6c9aadcf.css.map +1 -0
  112. package/dist/Breadcrumbs/Breadcrumbs.d.ts +57 -41
  113. package/dist/Breadcrumbs/Breadcrumbs.js +509 -480
  114. package/dist/Breadcrumbs/Breadcrumbs.module.css.js +14 -5
  115. package/dist/Breadcrumbs/index.d.ts +2 -3
  116. package/dist/Button/Button.d.ts +6 -5
  117. package/dist/Button/Button.js +35 -18
  118. package/dist/Button/ButtonBase-c8dab214.css +2 -0
  119. package/dist/Button/ButtonBase-c8dab214.css.map +1 -0
  120. package/dist/Button/ButtonBase.d.ts +9 -5
  121. package/dist/Button/ButtonBase.js +83 -142
  122. package/dist/Button/ButtonBase.module.css.js +17 -5
  123. package/dist/Button/IconButton.d.ts +6 -5
  124. package/dist/Button/IconButton.js +133 -65
  125. package/dist/Button/LinkButton.d.ts +7 -6
  126. package/dist/Button/LinkButton.js +38 -16
  127. package/dist/Button/index.d.ts +6 -8
  128. package/dist/Button/types.d.ts +99 -86
  129. package/dist/ButtonGroup/ButtonGroup-be1c1123.css +2 -0
  130. package/dist/ButtonGroup/ButtonGroup-be1c1123.css.map +1 -0
  131. package/dist/ButtonGroup/ButtonGroup.d.ts +9 -10
  132. package/dist/ButtonGroup/ButtonGroup.js +83 -98
  133. package/dist/ButtonGroup/ButtonGroup.module.css.js +7 -5
  134. package/dist/ButtonGroup/index.d.ts +2 -3
  135. package/dist/Card/Card-0e84ee3c.css +2 -0
  136. package/dist/Card/Card-0e84ee3c.css.map +1 -0
  137. package/dist/Card/Card.d.ts +113 -0
  138. package/dist/Card/Card.js +624 -0
  139. package/dist/Card/Card.module.css.js +18 -0
  140. package/dist/Card/index.d.ts +38 -0
  141. package/dist/Card/index.js +13 -0
  142. package/dist/Checkbox/Checkbox-7476a7ba.css +2 -0
  143. package/dist/Checkbox/Checkbox-7476a7ba.css.map +1 -0
  144. package/dist/Checkbox/Checkbox.d.ts +33 -31
  145. package/dist/Checkbox/Checkbox.js +153 -179
  146. package/dist/Checkbox/Checkbox.module.css.js +8 -5
  147. package/dist/Checkbox/index.d.ts +2 -3
  148. package/dist/Checkbox/shared-edc41e16.css +1 -1
  149. package/dist/Checkbox/shared-edc41e16.css.map +1 -1
  150. package/dist/Checkbox/shared.module.css.js +4 -5
  151. package/dist/CheckboxGroup/CheckboxGroup.d.ts +21 -21
  152. package/dist/CheckboxGroup/CheckboxGroup.js +111 -133
  153. package/dist/CheckboxGroup/CheckboxGroupContext.d.ts +1 -6
  154. package/dist/CheckboxGroup/CheckboxGroupContext.js +3 -4
  155. package/dist/CheckboxGroup/index.d.ts +2 -2
  156. package/dist/CircleBadge/CircleBadge-87549d20.css +1 -1
  157. package/dist/CircleBadge/CircleBadge-87549d20.css.map +1 -1
  158. package/dist/CircleBadge/CircleBadge.d.ts +24 -21
  159. package/dist/CircleBadge/CircleBadge.js +91 -91
  160. package/dist/CircleBadge/CircleBadge.module.css.js +7 -5
  161. package/dist/CircleBadge/index.d.ts +2 -3
  162. package/dist/ConfirmationDialog/ConfirmationDialog.d.ts +63 -70
  163. package/dist/ConfirmationDialog/ConfirmationDialog.js +103 -157
  164. package/dist/ConfirmationDialog/useConfirm.d.ts +14 -0
  165. package/dist/ConfirmationDialog/useConfirm.js +34 -0
  166. package/dist/CounterLabel/CounterLabel-8c6e8ee4.css +2 -0
  167. package/dist/CounterLabel/CounterLabel-8c6e8ee4.css.map +1 -0
  168. package/dist/CounterLabel/CounterLabel.d.ts +14 -10
  169. package/dist/CounterLabel/CounterLabel.js +88 -95
  170. package/dist/CounterLabel/CounterLabel.module.css.js +4 -5
  171. package/dist/CounterLabel/index.d.ts +2 -3
  172. package/dist/DataTable/DataTable.d.ts +129 -56
  173. package/dist/DataTable/DataTable.js +277 -141
  174. package/dist/DataTable/ErrorDialog.d.ts +24 -17
  175. package/dist/DataTable/ErrorDialog.js +32 -45
  176. package/dist/DataTable/Pagination-aebe86e8.css +2 -0
  177. package/dist/DataTable/Pagination-aebe86e8.css.map +1 -0
  178. package/dist/DataTable/Pagination.d.ts +49 -40
  179. package/dist/DataTable/Pagination.js +464 -383
  180. package/dist/DataTable/Pagination.module.css.js +12 -5
  181. package/dist/DataTable/Table-3916da1f.css +2 -0
  182. package/dist/DataTable/Table-3916da1f.css.map +1 -0
  183. package/dist/DataTable/Table.d.ts +224 -124
  184. package/dist/DataTable/Table.js +773 -699
  185. package/dist/DataTable/Table.module.css.js +35 -5
  186. package/dist/DataTable/TableBulkActions-aca5618a.css +2 -0
  187. package/dist/DataTable/TableBulkActions-aca5618a.css.map +1 -0
  188. package/dist/DataTable/TableBulkActions.d.ts +14 -0
  189. package/dist/DataTable/TableBulkActions.js +216 -0
  190. package/dist/DataTable/TableBulkActions.module.css.js +11 -0
  191. package/dist/DataTable/TableGroup.d.ts +72 -0
  192. package/dist/DataTable/TableGroup.js +292 -0
  193. package/dist/DataTable/TableGroupContext.js +4 -0
  194. package/dist/DataTable/column.d.ts +62 -60
  195. package/dist/DataTable/column.js +9 -11
  196. package/dist/DataTable/index.d.ts +32 -32
  197. package/dist/DataTable/index.js +27 -20
  198. package/dist/DataTable/row.d.ts +27 -3
  199. package/dist/DataTable/sorting.d.ts +12 -16
  200. package/dist/DataTable/sorting.js +63 -102
  201. package/dist/DataTable/useTable.js +503 -285
  202. package/dist/DataTable/utils.d.ts +6 -6
  203. package/dist/Details/Details-8093044f.css +1 -1
  204. package/dist/Details/Details-8093044f.css.map +1 -1
  205. package/dist/Details/Details.d.ts +23 -15
  206. package/dist/Details/Details.js +105 -123
  207. package/dist/Details/Details.module.css.js +4 -5
  208. package/dist/Details/index.d.ts +2 -3
  209. package/dist/Dialog/Dialog-b7da369a.css +2 -0
  210. package/dist/Dialog/Dialog-b7da369a.css.map +1 -0
  211. package/dist/Dialog/Dialog.d.ts +158 -143
  212. package/dist/Dialog/Dialog.js +292 -547
  213. package/dist/Dialog/Dialog.module.css.js +21 -5
  214. package/dist/Dialog/DialogContext.js +4 -0
  215. package/dist/Dialog/index.d.ts +2 -0
  216. package/dist/FeatureFlags/DefaultFeatureFlags.d.ts +5 -3
  217. package/dist/FeatureFlags/DefaultFeatureFlags.js +11 -11
  218. package/dist/FeatureFlags/FeatureFlagContext.js +4 -5
  219. package/dist/FeatureFlags/FeatureFlagScope.d.ts +20 -20
  220. package/dist/FeatureFlags/FeatureFlagScope.js +36 -44
  221. package/dist/FeatureFlags/FeatureFlags.d.ts +11 -6
  222. package/dist/FeatureFlags/FeatureFlags.js +28 -37
  223. package/dist/FeatureFlags/index.d.ts +4 -5
  224. package/dist/FeatureFlags/useFeatureFlag.d.ts +2 -2
  225. package/dist/FeatureFlags/useFeatureFlag.js +17 -19
  226. package/dist/FilteredActionList/FilteredActionList-6808e67a.css +2 -0
  227. package/dist/FilteredActionList/FilteredActionList-6808e67a.css.map +1 -0
  228. package/dist/FilteredActionList/FilteredActionList.d.ts +141 -27
  229. package/dist/FilteredActionList/FilteredActionList.js +351 -452
  230. package/dist/FilteredActionList/FilteredActionList.module.css.js +14 -5
  231. package/dist/FilteredActionList/FilteredActionListInput.d.ts +34 -0
  232. package/dist/FilteredActionList/FilteredActionListInput.js +120 -0
  233. package/dist/FilteredActionList/FilteredActionListLoaders-bdda3d7e.css +2 -0
  234. package/dist/FilteredActionList/FilteredActionListLoaders-bdda3d7e.css.map +1 -0
  235. package/dist/FilteredActionList/FilteredActionListLoaders.d.ts +11 -14
  236. package/dist/FilteredActionList/FilteredActionListLoaders.js +110 -151
  237. package/dist/FilteredActionList/FilteredActionListLoaders.module.css.js +9 -5
  238. package/dist/FilteredActionList/constants.d.ts +11 -0
  239. package/dist/FilteredActionList/constants.js +15 -0
  240. package/dist/FilteredActionList/index.d.ts +12 -4
  241. package/dist/FilteredActionList/index.js +10 -0
  242. package/dist/FilteredActionList/types.d.ts +153 -151
  243. package/dist/FilteredActionList/useAnnouncements.js +191 -186
  244. package/dist/Flash/Flash-a3596568.css +1 -1
  245. package/dist/Flash/Flash-a3596568.css.map +1 -1
  246. package/dist/Flash/Flash.d.ts +16 -9
  247. package/dist/Flash/Flash.js +60 -69
  248. package/dist/Flash/Flash.module.css.js +4 -5
  249. package/dist/Flash/index.d.ts +2 -3
  250. package/dist/FormControl/FormControl-fa33984d.css +1 -1
  251. package/dist/FormControl/FormControl-fa33984d.css.map +1 -1
  252. package/dist/FormControl/FormControl.d.ts +41 -36
  253. package/dist/FormControl/FormControl.js +189 -212
  254. package/dist/FormControl/FormControl.module.css.js +10 -5
  255. package/dist/FormControl/FormControlCaption-f58db5f7.css +1 -1
  256. package/dist/FormControl/FormControlCaption-f58db5f7.css.map +1 -1
  257. package/dist/FormControl/FormControlCaption.d.ts +15 -9
  258. package/dist/FormControl/FormControlCaption.js +37 -49
  259. package/dist/FormControl/FormControlCaption.module.css.js +4 -5
  260. package/dist/FormControl/FormControlLabel.d.ts +14 -18
  261. package/dist/FormControl/FormControlLabel.js +94 -110
  262. package/dist/FormControl/FormControlLeadingVisual-e217df71.css +1 -1
  263. package/dist/FormControl/FormControlLeadingVisual-e217df71.css.map +1 -1
  264. package/dist/FormControl/FormControlLeadingVisual.js +29 -37
  265. package/dist/FormControl/FormControlLeadingVisual.module.css.js +4 -5
  266. package/dist/FormControl/_FormControlContext.d.ts +6 -15
  267. package/dist/FormControl/_FormControlContext.js +41 -50
  268. package/dist/FormControl/_FormControlContextProvider.js +4 -0
  269. package/dist/FormControl/_FormControlValidation.d.ts +10 -11
  270. package/dist/FormControl/_FormControlValidation.js +29 -39
  271. package/dist/FormControl/index.d.ts +6 -7
  272. package/dist/Header/Header-aff64597.css +1 -1
  273. package/dist/Header/Header-aff64597.css.map +1 -1
  274. package/dist/Header/Header.d.ts +16 -15
  275. package/dist/Header/Header.js +142 -167
  276. package/dist/Header/Header.module.css.js +8 -5
  277. package/dist/Header/index.d.ts +2 -3
  278. package/dist/Heading/Heading-26b4879b.css +1 -1
  279. package/dist/Heading/Heading-26b4879b.css.map +1 -1
  280. package/dist/Heading/Heading.d.ts +9 -8
  281. package/dist/Heading/Heading.js +68 -38
  282. package/dist/Heading/Heading.module.css.js +4 -5
  283. package/dist/Heading/index.d.ts +2 -3
  284. package/dist/Hidden/Hidden-b3896306.css +1 -1
  285. package/dist/Hidden/Hidden-b3896306.css.map +1 -1
  286. package/dist/Hidden/Hidden.d.ts +17 -12
  287. package/dist/Hidden/Hidden.js +54 -77
  288. package/dist/Hidden/Hidden.module.css.js +4 -5
  289. package/dist/Hidden/index.d.ts +2 -6
  290. package/dist/InlineMessage/InlineMessage-cd1e4c93.css +2 -0
  291. package/dist/InlineMessage/InlineMessage-cd1e4c93.css.map +1 -0
  292. package/dist/InlineMessage/InlineMessage.d.ts +25 -13
  293. package/dist/InlineMessage/InlineMessage.js +98 -92
  294. package/dist/InlineMessage/InlineMessage.module.css.js +7 -5
  295. package/dist/InlineMessage/index.d.ts +2 -3
  296. package/dist/KeybindingHint/KeybindingHint-0856c11b.css +1 -1
  297. package/dist/KeybindingHint/KeybindingHint-0856c11b.css.map +1 -1
  298. package/dist/KeybindingHint/KeybindingHint.d.ts +8 -12
  299. package/dist/KeybindingHint/KeybindingHint.js +64 -91
  300. package/dist/KeybindingHint/KeybindingHint.module.css.js +4 -5
  301. package/dist/KeybindingHint/components/Chord-d4edcc89.css +1 -1
  302. package/dist/KeybindingHint/components/Chord-d4edcc89.css.map +1 -1
  303. package/dist/KeybindingHint/components/Chord.js +65 -99
  304. package/dist/KeybindingHint/components/Chord.module.css.js +10 -5
  305. package/dist/KeybindingHint/components/Key.js +48 -66
  306. package/dist/KeybindingHint/components/Sequence.js +11 -26
  307. package/dist/KeybindingHint/components/utils.js +28 -0
  308. package/dist/KeybindingHint/key-names.js +102 -117
  309. package/dist/KeybindingHint/platform.d.ts +10 -0
  310. package/dist/KeybindingHint/platform.js +43 -0
  311. package/dist/KeybindingHint/props.d.ts +36 -36
  312. package/dist/KeybindingHint/utils.d.ts +17 -0
  313. package/dist/KeybindingHint/utils.js +16 -0
  314. package/dist/Label/Label-7904957c.css +1 -1
  315. package/dist/Label/Label-7904957c.css.map +1 -1
  316. package/dist/Label/Label.d.ts +9 -10
  317. package/dist/Label/Label.js +56 -66
  318. package/dist/Label/Label.module.css.js +4 -5
  319. package/dist/Label/index.d.ts +2 -4
  320. package/dist/Label/index.js +4 -5
  321. package/dist/LabelGroup/LabelGroup-db41f443.css +2 -0
  322. package/dist/LabelGroup/LabelGroup-db41f443.css.map +1 -0
  323. package/dist/LabelGroup/LabelGroup.d.ts +9 -11
  324. package/dist/LabelGroup/LabelGroup.js +234 -333
  325. package/dist/LabelGroup/LabelGroup.module.css.js +11 -5
  326. package/dist/LabelGroup/index.d.ts +2 -3
  327. package/dist/Link/Link-ba423096.css +2 -0
  328. package/dist/Link/Link-ba423096.css.map +1 -0
  329. package/dist/Link/Link.d.ts +14 -15
  330. package/dist/Link/Link.js +79 -46
  331. package/dist/Link/Link.module.css.js +4 -5
  332. package/dist/Link/index.d.ts +2 -3
  333. package/dist/NavList/NavList-b50d982b.css +2 -0
  334. package/dist/NavList/NavList-b50d982b.css.map +1 -0
  335. package/dist/NavList/NavList.d.ts +72 -46
  336. package/dist/NavList/NavList.js +628 -687
  337. package/dist/NavList/NavList.module.css.js +7 -5
  338. package/dist/NavList/index.d.ts +2 -2
  339. package/dist/Octicon/Octicon.d.ts +10 -9
  340. package/dist/Octicon/Octicon.js +31 -37
  341. package/dist/Octicon/index.d.ts +2 -3
  342. package/dist/Overlay/Overlay-214d10dd.css +2 -0
  343. package/dist/Overlay/Overlay-214d10dd.css.map +1 -0
  344. package/dist/Overlay/Overlay.d.ts +43 -56
  345. package/dist/Overlay/Overlay.js +364 -305
  346. package/dist/Overlay/Overlay.module.css.js +8 -5
  347. package/dist/Overlay/constants.d.ts +19 -0
  348. package/dist/Overlay/constants.js +20 -0
  349. package/dist/Overlay/index.d.ts +2 -3
  350. package/dist/PageHeader/PageHeader-b12247c8.css +2 -0
  351. package/dist/PageHeader/PageHeader-b12247c8.css.map +1 -0
  352. package/dist/PageHeader/PageHeader.d.ts +49 -43
  353. package/dist/PageHeader/PageHeader.js +654 -817
  354. package/dist/PageHeader/PageHeader.module.css.js +20 -5
  355. package/dist/PageHeader/index.d.ts +2 -2
  356. package/dist/PageLayout/DragHandle.d.ts +44 -0
  357. package/dist/PageLayout/DragHandle.js +223 -0
  358. package/dist/PageLayout/PageLayout-3444a142.css +2 -0
  359. package/dist/PageLayout/PageLayout-3444a142.css.map +1 -0
  360. package/dist/PageLayout/PageLayout.d.ts +283 -178
  361. package/dist/PageLayout/PageLayout.js +1267 -1204
  362. package/dist/PageLayout/PageLayout.module.css.js +30 -5
  363. package/dist/PageLayout/index.d.ts +4 -2
  364. package/dist/PageLayout/paneUtils.js +19 -0
  365. package/dist/PageLayout/usePaneWidth.d.ts +79 -0
  366. package/dist/PageLayout/usePaneWidth.js +372 -0
  367. package/dist/Pagehead/Pagehead-0744ffce.css +1 -1
  368. package/dist/Pagehead/Pagehead-0744ffce.css.map +1 -1
  369. package/dist/Pagehead/Pagehead.d.ts +11 -6
  370. package/dist/Pagehead/Pagehead.js +41 -15
  371. package/dist/Pagehead/Pagehead.module.css.js +4 -5
  372. package/dist/Pagehead/index.d.ts +2 -3
  373. package/dist/Pagination/Pagination-16a5b4c6.css +1 -1
  374. package/dist/Pagination/Pagination-16a5b4c6.css.map +1 -1
  375. package/dist/Pagination/Pagination.d.ts +34 -21
  376. package/dist/Pagination/Pagination.js +209 -107
  377. package/dist/Pagination/Pagination.module.css.js +8 -5
  378. package/dist/Pagination/index.d.ts +2 -4
  379. package/dist/Pagination/index.js +4 -5
  380. package/dist/Pagination/model.d.ts +15 -25
  381. package/dist/Pagination/model.js +117 -194
  382. package/dist/Popover/Popover-a93df39c.css +2 -0
  383. package/dist/Popover/Popover-a93df39c.css.map +1 -0
  384. package/dist/Popover/Popover.d.ts +18 -18
  385. package/dist/Popover/Popover.js +163 -152
  386. package/dist/Popover/Popover.module.css.js +7 -5
  387. package/dist/Popover/index.d.ts +2 -3
  388. package/dist/Portal/Portal.d.ts +16 -28
  389. package/dist/Portal/Portal.js +100 -89
  390. package/dist/Portal/PortalContext.d.ts +7 -0
  391. package/dist/Portal/PortalContext.js +4 -0
  392. package/dist/Portal/index.d.ts +4 -7
  393. package/dist/Portal/index.js +6 -6
  394. package/dist/Portal/portalRoot.d.ts +8 -0
  395. package/dist/Portal/portalRoot.js +35 -0
  396. package/dist/ProgressBar/ProgressBar-3d1db6c7.css +2 -0
  397. package/dist/ProgressBar/ProgressBar-3d1db6c7.css.map +1 -0
  398. package/dist/ProgressBar/ProgressBar.d.ts +16 -23
  399. package/dist/ProgressBar/ProgressBar.js +210 -255
  400. package/dist/ProgressBar/ProgressBar.module.css.js +8 -5
  401. package/dist/ProgressBar/index.d.ts +19 -17
  402. package/dist/ProgressBar/index.js +5 -8
  403. package/dist/Radio/Radio-4319e717.css +2 -0
  404. package/dist/Radio/Radio-4319e717.css.map +1 -0
  405. package/dist/Radio/Radio.d.ts +31 -31
  406. package/dist/Radio/Radio.js +97 -115
  407. package/dist/Radio/Radio.module.css.js +4 -5
  408. package/dist/Radio/index.d.ts +2 -3
  409. package/dist/RadioGroup/RadioGroup.d.ts +24 -27
  410. package/dist/RadioGroup/RadioGroup.js +99 -120
  411. package/dist/RadioGroup/RadioGroupContext.d.ts +1 -0
  412. package/dist/RadioGroup/RadioGroupContext.js +4 -0
  413. package/dist/RadioGroup/index.d.ts +2 -3
  414. package/dist/RelativeTime/RelativeTime.d.ts +13 -6
  415. package/dist/RelativeTime/RelativeTime.js +65 -76
  416. package/dist/RelativeTime/index.d.ts +2 -3
  417. package/dist/ScrollableRegion/ScrollableRegion-c1018dbe.css +1 -1
  418. package/dist/ScrollableRegion/ScrollableRegion-c1018dbe.css.map +1 -1
  419. package/dist/ScrollableRegion/ScrollableRegion.d.ts +15 -9
  420. package/dist/ScrollableRegion/ScrollableRegion.js +67 -79
  421. package/dist/ScrollableRegion/ScrollableRegion.module.css.js +4 -5
  422. package/dist/ScrollableRegion/index.d.ts +2 -3
  423. package/dist/SegmentedControl/SegmentedControl-99b8e34e.css +2 -0
  424. package/dist/SegmentedControl/SegmentedControl-99b8e34e.css.map +1 -0
  425. package/dist/SegmentedControl/SegmentedControl.d.ts +25 -23
  426. package/dist/SegmentedControl/SegmentedControl.js +282 -222
  427. package/dist/SegmentedControl/SegmentedControl.module.css.js +18 -5
  428. package/dist/SegmentedControl/SegmentedControlAction.d.ts +11 -0
  429. package/dist/SegmentedControl/SegmentedControlAction.js +110 -0
  430. package/dist/SegmentedControl/SegmentedControlActionContext.js +4 -0
  431. package/dist/SegmentedControl/SegmentedControlButton.d.ts +13 -20
  432. package/dist/SegmentedControl/SegmentedControlButton.js +155 -165
  433. package/dist/SegmentedControl/SegmentedControlDivider.d.ts +8 -0
  434. package/dist/SegmentedControl/SegmentedControlDivider.js +23 -0
  435. package/dist/SegmentedControl/SegmentedControlIconButton.d.ts +14 -20
  436. package/dist/SegmentedControl/SegmentedControlIconButton.js +132 -219
  437. package/dist/SegmentedControl/index.d.ts +6 -5
  438. package/dist/Select/Select-ab428dc7.css +1 -1
  439. package/dist/Select/Select-ab428dc7.css.map +1 -1
  440. package/dist/Select/Select.d.ts +14 -13
  441. package/dist/Select/Select.js +192 -234
  442. package/dist/Select/Select.module.css.js +9 -5
  443. package/dist/Select/index.d.ts +2 -3
  444. package/dist/SelectPanel/SelectPanel-00796bf3.css +2 -0
  445. package/dist/SelectPanel/SelectPanel-00796bf3.css.map +1 -0
  446. package/dist/SelectPanel/SelectPanel.d.ts +122 -76
  447. package/dist/SelectPanel/SelectPanel.js +677 -740
  448. package/dist/SelectPanel/SelectPanel.module.css.js +26 -5
  449. package/dist/SelectPanel/SelectPanelMessage.d.ts +22 -21
  450. package/dist/SelectPanel/SelectPanelMessage.js +80 -35
  451. package/dist/SelectPanel/index.d.ts +3 -4
  452. package/dist/SideNav-baa2364d.css +1 -1
  453. package/dist/SideNav-baa2364d.css.map +1 -1
  454. package/dist/SideNav.d.ts +46 -25
  455. package/dist/SideNav.js +93 -50
  456. package/dist/SideNav.module.css.js +11 -5
  457. package/dist/Skeleton/SkeletonBox-6305aba6.css +2 -0
  458. package/dist/Skeleton/SkeletonBox-6305aba6.css.map +1 -0
  459. package/dist/Skeleton/SkeletonBox.d.ts +11 -11
  460. package/dist/Skeleton/SkeletonBox.js +100 -83
  461. package/dist/Skeleton/SkeletonBox.module.css.js +4 -5
  462. package/dist/Skeleton/index.d.ts +2 -5
  463. package/dist/Skeleton/skeleton-bdbe6bf2.css +2 -0
  464. package/dist/Skeleton/skeleton-bdbe6bf2.css.map +1 -0
  465. package/dist/Skeleton/skeleton.module.css.js +7 -0
  466. package/dist/SkeletonAvatar/SkeletonAvatar-e00fff32.css +1 -1
  467. package/dist/SkeletonAvatar/SkeletonAvatar-e00fff32.css.map +1 -1
  468. package/dist/SkeletonAvatar/SkeletonAvatar.d.ts +19 -10
  469. package/dist/SkeletonAvatar/SkeletonAvatar.js +110 -112
  470. package/dist/SkeletonAvatar/SkeletonAvatar.module.css.js +4 -5
  471. package/dist/SkeletonAvatar/index.d.ts +2 -3
  472. package/dist/SkeletonText/SkeletonText-5cf908c1.css +1 -1
  473. package/dist/SkeletonText/SkeletonText-5cf908c1.css.map +1 -1
  474. package/dist/SkeletonText/SkeletonText.d.ts +23 -14
  475. package/dist/SkeletonText/SkeletonText.js +129 -137
  476. package/dist/SkeletonText/SkeletonText.module.css.js +7 -5
  477. package/dist/SkeletonText/index.d.ts +2 -3
  478. package/dist/Spinner/Spinner-2dbceeca.css +1 -1
  479. package/dist/Spinner/Spinner-2dbceeca.css.map +1 -1
  480. package/dist/Spinner/Spinner.d.ts +25 -18
  481. package/dist/Spinner/Spinner.js +185 -135
  482. package/dist/Spinner/Spinner.module.css.js +8 -5
  483. package/dist/Spinner/index.d.ts +2 -3
  484. package/dist/SplitPageLayout/SplitPageLayout.d.ts +17 -19
  485. package/dist/SplitPageLayout/SplitPageLayout.js +226 -225
  486. package/dist/SplitPageLayout/index.d.ts +2 -2
  487. package/dist/Stack/Stack-1790a166.css +2 -0
  488. package/dist/Stack/Stack-1790a166.css.map +1 -0
  489. package/dist/Stack/Stack.d.ts +67 -61
  490. package/dist/Stack/Stack.js +208 -227
  491. package/dist/Stack/Stack.module.css.js +7 -5
  492. package/dist/Stack/index.d.ts +7 -4
  493. package/dist/Stack/index.js +3 -6
  494. package/dist/StateLabel/StateLabel-cd51ae39.css +2 -0
  495. package/dist/StateLabel/StateLabel-cd51ae39.css.map +1 -0
  496. package/dist/StateLabel/StateLabel.d.ts +28 -20
  497. package/dist/StateLabel/StateLabel.js +110 -109
  498. package/dist/StateLabel/StateLabel.module.css.js +7 -5
  499. package/dist/StateLabel/index.d.ts +2 -3
  500. package/dist/SubNav/SubNav-88128e5c.css +1 -1
  501. package/dist/SubNav/SubNav-88128e5c.css.map +1 -1
  502. package/dist/SubNav/SubNav.d.ts +18 -17
  503. package/dist/SubNav/SubNav.js +163 -199
  504. package/dist/SubNav/SubNav.module.css.js +10 -5
  505. package/dist/SubNav/index.d.ts +2 -3
  506. package/dist/TabNav/TabNav-83c6145e.css +1 -1
  507. package/dist/TabNav/TabNav-83c6145e.css.map +1 -1
  508. package/dist/TabNav/TabNav.d.ts +20 -15
  509. package/dist/TabNav/TabNav.js +164 -201
  510. package/dist/TabNav/TabNav.module.css.js +9 -5
  511. package/dist/TabNav/index.d.ts +2 -3
  512. package/dist/Text/Text-d649cda5.css +2 -0
  513. package/dist/Text/Text-d649cda5.css.map +1 -0
  514. package/dist/Text/Text.d.ts +17 -18
  515. package/dist/Text/Text.js +61 -70
  516. package/dist/Text/Text.module.css.js +4 -5
  517. package/dist/Text/index.d.ts +2 -3
  518. package/dist/TextInput/TextInput-dff8f842.css +2 -0
  519. package/dist/TextInput/TextInput-dff8f842.css.map +1 -0
  520. package/dist/TextInput/TextInput.d.ts +52 -42
  521. package/dist/TextInput/TextInput.js +303 -116
  522. package/dist/TextInput/TextInput.module.css.js +7 -0
  523. package/dist/TextInput/index.d.ts +3 -4
  524. package/dist/TextInputWithTokens/TextInputWithTokens-946ead3e.css +1 -1
  525. package/dist/TextInputWithTokens/TextInputWithTokens-946ead3e.css.map +1 -1
  526. package/dist/TextInputWithTokens/TextInputWithTokens.d.ts +84 -83
  527. package/dist/TextInputWithTokens/TextInputWithTokens.js +571 -604
  528. package/dist/TextInputWithTokens/TextInputWithTokens.module.css.js +13 -5
  529. package/dist/TextInputWithTokens/index.d.ts +2 -3
  530. package/dist/Textarea/TextArea-2dc51d35.css +2 -0
  531. package/dist/Textarea/TextArea-2dc51d35.css.map +1 -0
  532. package/dist/Textarea/TextArea.module.css.js +8 -5
  533. package/dist/Textarea/Textarea.d.ts +97 -82
  534. package/dist/Textarea/Textarea.js +239 -148
  535. package/dist/Textarea/index.d.ts +2 -3
  536. package/dist/ThemeContext.d.ts +19 -0
  537. package/dist/ThemeContext.js +8 -0
  538. package/dist/ThemeProvider.d.ts +25 -26
  539. package/dist/ThemeProvider.js +77 -217
  540. package/dist/Timeline/Timeline-b7e6685b.css +2 -0
  541. package/dist/Timeline/Timeline-b7e6685b.css.map +1 -0
  542. package/dist/Timeline/Timeline.d.ts +49 -33
  543. package/dist/Timeline/Timeline.js +277 -233
  544. package/dist/Timeline/Timeline.module.css.js +13 -5
  545. package/dist/Timeline/constants.d.ts +2 -0
  546. package/dist/Timeline/index.d.ts +2 -3
  547. package/dist/ToggleSwitch/ToggleSwitch-b5866af6.css +2 -0
  548. package/dist/ToggleSwitch/ToggleSwitch-b5866af6.css.map +1 -0
  549. package/dist/ToggleSwitch/ToggleSwitch.d.ts +42 -42
  550. package/dist/ToggleSwitch/ToggleSwitch.js +382 -471
  551. package/dist/ToggleSwitch/ToggleSwitch.module.css.js +15 -5
  552. package/dist/ToggleSwitch/index.d.ts +2 -3
  553. package/dist/Token/IssueLabelToken-10cfada5.css +2 -0
  554. package/dist/Token/IssueLabelToken-10cfada5.css.map +1 -0
  555. package/dist/Token/IssueLabelToken.d.ts +11 -10
  556. package/dist/Token/IssueLabelToken.js +257 -74
  557. package/dist/Token/IssueLabelToken.module.css.js +7 -5
  558. package/dist/Token/Token-b3c86dc0.css +2 -0
  559. package/dist/Token/Token-b3c86dc0.css.map +1 -0
  560. package/dist/Token/Token.d.ts +13 -11
  561. package/dist/Token/Token.js +233 -280
  562. package/dist/Token/Token.module.css.js +8 -5
  563. package/dist/Token/TokenBase-a805f182.css +2 -0
  564. package/dist/Token/TokenBase-a805f182.css.map +1 -0
  565. package/dist/Token/TokenBase.d.ts +35 -40
  566. package/dist/Token/TokenBase.js +97 -128
  567. package/dist/Token/TokenBase.module.css.js +4 -5
  568. package/dist/Token/_RemoveTokenButton-a0d2969b.css +2 -0
  569. package/dist/Token/_RemoveTokenButton-a0d2969b.css.map +1 -0
  570. package/dist/Token/_RemoveTokenButton.js +121 -48
  571. package/dist/Token/_RemoveTokenButton.module.css.js +4 -5
  572. package/dist/Token/_TokenTextContainer-55ce2de3.css +2 -0
  573. package/dist/Token/_TokenTextContainer-55ce2de3.css.map +1 -0
  574. package/dist/Token/_TokenTextContainer.js +53 -65
  575. package/dist/Token/_TokenTextContainer.module.css.js +7 -5
  576. package/dist/Token/constants.d.ts +2 -0
  577. package/dist/Token/constants.js +3 -0
  578. package/dist/Token/index.d.ts +4 -6
  579. package/dist/Token/utils.js +6 -0
  580. package/dist/Tooltip/Tooltip-dca4338d.css +2 -0
  581. package/dist/Tooltip/Tooltip-dca4338d.css.map +1 -0
  582. package/dist/Tooltip/Tooltip.d.ts +14 -16
  583. package/dist/Tooltip/Tooltip.js +127 -57
  584. package/dist/Tooltip/Tooltip.module.css.js +19 -5
  585. package/dist/Tooltip/TooltipContext.js +4 -0
  586. package/dist/TooltipV2/Tooltip-dd983e5b.css +2 -0
  587. package/dist/TooltipV2/Tooltip-dd983e5b.css.map +1 -0
  588. package/dist/TooltipV2/Tooltip.d.ts +30 -21
  589. package/dist/TooltipV2/Tooltip.js +393 -297
  590. package/dist/TooltipV2/Tooltip.module.css.js +10 -5
  591. package/dist/TooltipV2/TooltipContext.js +4 -0
  592. package/dist/TooltipV2/index.d.ts +2 -3
  593. package/dist/TopicTag/TopicTag-b15f6cf1.css +2 -0
  594. package/dist/TopicTag/TopicTag-b15f6cf1.css.map +1 -0
  595. package/dist/TopicTag/TopicTag.d.ts +20 -0
  596. package/dist/TopicTag/TopicTag.js +47 -0
  597. package/dist/TopicTag/TopicTag.module.css.js +4 -0
  598. package/dist/TopicTag/TopicTagGroup-785f4d65.css +2 -0
  599. package/dist/TopicTag/TopicTagGroup-785f4d65.css.map +1 -0
  600. package/dist/TopicTag/TopicTagGroup.d.ts +10 -0
  601. package/dist/TopicTag/TopicTagGroup.js +42 -0
  602. package/dist/TopicTag/TopicTagGroup.module.css.js +4 -0
  603. package/dist/TopicTag/index.d.ts +8 -0
  604. package/dist/TopicTag/index.js +5 -0
  605. package/dist/TreeView/TreeView-1bf45a33.css +2 -0
  606. package/dist/TreeView/TreeView-1bf45a33.css.map +1 -0
  607. package/dist/TreeView/TreeView.d.ts +67 -65
  608. package/dist/TreeView/TreeView.js +630 -1395
  609. package/dist/TreeView/TreeView.module.css.js +22 -5
  610. package/dist/TreeView/index.d.ts +2 -2
  611. package/dist/TreeView/shared.js +9 -9
  612. package/dist/TreeView/useRovingTabIndex.d.ts +13 -13
  613. package/dist/TreeView/useRovingTabIndex.js +145 -202
  614. package/dist/TreeView/useTreeItemCache.js +69 -0
  615. package/dist/TreeView/useTreeRovingTabIndex.js +155 -0
  616. package/dist/TreeView/useTypeahead.js +91 -109
  617. package/dist/Truncate/Truncate-030d5f52.css +1 -1
  618. package/dist/Truncate/Truncate-030d5f52.css.map +1 -1
  619. package/dist/Truncate/Truncate.d.ts +16 -11
  620. package/dist/Truncate/Truncate.js +97 -34
  621. package/dist/Truncate/Truncate.module.css.js +4 -5
  622. package/dist/Truncate/index.d.ts +2 -3
  623. package/dist/UnderlineNav/UnderlineNav-a06bbc74.css +2 -0
  624. package/dist/UnderlineNav/UnderlineNav-a06bbc74.css.map +1 -0
  625. package/dist/UnderlineNav/UnderlineNav.d.ts +25 -20
  626. package/dist/UnderlineNav/UnderlineNav.js +252 -374
  627. package/dist/UnderlineNav/UnderlineNav.module.css.js +14 -5
  628. package/dist/UnderlineNav/UnderlineNavContext.js +3 -9
  629. package/dist/UnderlineNav/UnderlineNavItem-402cd41c.css +2 -0
  630. package/dist/UnderlineNav/UnderlineNavItem-402cd41c.css.map +1 -0
  631. package/dist/UnderlineNav/UnderlineNavItem.js +121 -159
  632. package/dist/UnderlineNav/UnderlineNavItem.module.css.js +4 -5
  633. package/dist/UnderlineNav/UnderlineNavItemsRegistry.d.ts +46 -0
  634. package/dist/UnderlineNav/UnderlineNavItemsRegistry.js +5 -0
  635. package/dist/UnderlineNav/index.d.ts +7 -6
  636. package/dist/UnderlineNav/index.js +4 -7
  637. package/dist/UnderlineNav/utils.js +7 -0
  638. package/dist/VisuallyHidden/VisuallyHidden-ce2a3270.css +1 -1
  639. package/dist/VisuallyHidden/VisuallyHidden-ce2a3270.css.map +1 -1
  640. package/dist/VisuallyHidden/VisuallyHidden.d.ts +12 -7
  641. package/dist/VisuallyHidden/VisuallyHidden.js +50 -49
  642. package/dist/VisuallyHidden/VisuallyHidden.module.css.js +4 -5
  643. package/dist/VisuallyHidden/index.d.ts +2 -3
  644. package/dist/_VisuallyHidden-1f156b61.css +2 -0
  645. package/dist/_VisuallyHidden-1f156b61.css.map +1 -0
  646. package/dist/_VisuallyHidden.js +49 -62
  647. package/dist/_VisuallyHidden.module.css.js +4 -5
  648. package/dist/deprecated/ActionList/Divider-7c6b656a.css +1 -1
  649. package/dist/deprecated/ActionList/Divider-7c6b656a.css.map +1 -1
  650. package/dist/deprecated/ActionList/Divider.d.ts +7 -4
  651. package/dist/deprecated/ActionList/Divider.js +22 -23
  652. package/dist/deprecated/ActionList/Divider.module.css.js +4 -5
  653. package/dist/deprecated/ActionList/Group.d.ts +28 -21
  654. package/dist/deprecated/ActionList/Group.js +42 -50
  655. package/dist/deprecated/ActionList/Header-493b1d76.css +1 -1
  656. package/dist/deprecated/ActionList/Header-493b1d76.css.map +1 -1
  657. package/dist/deprecated/ActionList/Header.d.ts +20 -22
  658. package/dist/deprecated/ActionList/Header.js +65 -81
  659. package/dist/deprecated/ActionList/Header.module.css.js +4 -5
  660. package/dist/deprecated/ActionList/Item-f48bd3ee.css +3 -0
  661. package/dist/deprecated/ActionList/Item-f48bd3ee.css.map +1 -0
  662. package/dist/deprecated/ActionList/Item.d.ts +87 -90
  663. package/dist/deprecated/ActionList/Item.js +304 -352
  664. package/dist/deprecated/ActionList/Item.module.css.js +17 -5
  665. package/dist/deprecated/ActionList/List-1ec9d6d9.css +1 -1
  666. package/dist/deprecated/ActionList/List-1ec9d6d9.css.map +1 -1
  667. package/dist/deprecated/ActionList/List.d.ts +78 -82
  668. package/dist/deprecated/ActionList/List.js +149 -197
  669. package/dist/deprecated/ActionList/List.module.css.js +4 -5
  670. package/dist/deprecated/ActionList/index.d.ts +12 -13
  671. package/dist/deprecated/ActionList/index.js +13 -14
  672. package/dist/deprecated/ActionMenu.d.ts +48 -37
  673. package/dist/deprecated/ActionMenu.js +157 -191
  674. package/dist/deprecated/DialogV1/Dialog-dce13989.css +1 -1
  675. package/dist/deprecated/DialogV1/Dialog-dce13989.css.map +1 -1
  676. package/dist/deprecated/DialogV1/Dialog.d.ts +29 -23
  677. package/dist/deprecated/DialogV1/Dialog.js +167 -201
  678. package/dist/deprecated/DialogV1/Dialog.module.css.js +10 -5
  679. package/dist/deprecated/DialogV1/index.d.ts +2 -3
  680. package/dist/deprecated/FilteredSearch/FilteredSearch-d30f5bbc.css +1 -1
  681. package/dist/deprecated/FilteredSearch/FilteredSearch-d30f5bbc.css.map +1 -1
  682. package/dist/deprecated/FilteredSearch/FilteredSearch.d.ts +6 -4
  683. package/dist/deprecated/FilteredSearch/FilteredSearch.js +42 -51
  684. package/dist/deprecated/FilteredSearch/FilteredSearch.module.css.js +4 -5
  685. package/dist/deprecated/UnderlineNav/UnderlineNav-0c1e0dff.css +1 -1
  686. package/dist/deprecated/UnderlineNav/UnderlineNav-0c1e0dff.css.map +1 -1
  687. package/dist/deprecated/UnderlineNav/UnderlineNav.d.ts +22 -14
  688. package/dist/deprecated/UnderlineNav/UnderlineNav.js +132 -161
  689. package/dist/deprecated/UnderlineNav/UnderlineNav.module.css.js +13 -5
  690. package/dist/deprecated/UnderlineNav/index.d.ts +2 -3
  691. package/dist/deprecated/index.d.ts +14 -26
  692. package/dist/deprecated/index.js +19 -9
  693. package/dist/experimental/IssueLabel/IssueLabel-2007d7e7.css +2 -0
  694. package/dist/experimental/IssueLabel/IssueLabel-2007d7e7.css.map +1 -0
  695. package/dist/experimental/IssueLabel/IssueLabel.d.ts +15 -15
  696. package/dist/experimental/IssueLabel/IssueLabel.js +133 -157
  697. package/dist/experimental/IssueLabel/IssueLabel.module.css.js +4 -5
  698. package/dist/experimental/IssueLabel/index.d.ts +2 -3
  699. package/dist/experimental/SelectPanel2/SelectPanel-917fdaef.css +2 -0
  700. package/dist/experimental/SelectPanel2/SelectPanel-917fdaef.css.map +1 -0
  701. package/dist/experimental/SelectPanel2/SelectPanel.d.ts +81 -71
  702. package/dist/experimental/SelectPanel2/SelectPanel.js +422 -953
  703. package/dist/experimental/SelectPanel2/SelectPanel.module.css.js +31 -5
  704. package/dist/experimental/SelectPanel2/index.d.ts +2 -2
  705. package/dist/experimental/Tabs/Tabs.d.ts +13 -0
  706. package/dist/experimental/Tabs/Tabs.js +90 -0
  707. package/dist/experimental/Tabs/TabsContext.js +4 -0
  708. package/dist/experimental/Tabs/index.d.ts +6 -0
  709. package/dist/experimental/Tabs/types.d.ts +115 -0
  710. package/dist/experimental/Tabs/useTab.d.ts +9 -0
  711. package/dist/experimental/Tabs/useTab.js +81 -0
  712. package/dist/experimental/Tabs/useTabList.d.ts +5 -0
  713. package/dist/experimental/Tabs/useTabList.js +73 -0
  714. package/dist/experimental/Tabs/useTabPanel.d.ts +6 -0
  715. package/dist/experimental/Tabs/useTabPanel.js +30 -0
  716. package/dist/experimental/Tabs/useTabs.js +9 -0
  717. package/dist/experimental/UnderlinePanels/UnderlinePanels-162f9aed.css +2 -0
  718. package/dist/experimental/UnderlinePanels/UnderlinePanels-162f9aed.css.map +1 -0
  719. package/dist/experimental/UnderlinePanels/UnderlinePanels.d.ts +93 -55
  720. package/dist/experimental/UnderlinePanels/UnderlinePanels.js +481 -216
  721. package/dist/experimental/UnderlinePanels/UnderlinePanels.module.css.js +4 -5
  722. package/dist/experimental/UnderlinePanels/index.d.ts +2 -4
  723. package/dist/experimental/hooks/index.d.ts +3 -3
  724. package/dist/experimental/index.d.ts +55 -48
  725. package/dist/experimental/index.js +47 -30
  726. package/dist/hooks/MatchMediaContext.js +4 -0
  727. package/dist/hooks/index.d.ts +11 -19
  728. package/dist/hooks/useAnchoredPosition.d.ts +15 -12
  729. package/dist/hooks/useAnchoredPosition.js +147 -83
  730. package/dist/hooks/useControllableState.js +84 -57
  731. package/dist/hooks/useDetails.d.ts +17 -13
  732. package/dist/hooks/useDetails.js +83 -99
  733. package/dist/hooks/useDialog.js +140 -178
  734. package/dist/hooks/useFocusTrap.d.ts +41 -33
  735. package/dist/hooks/useFocusTrap.js +58 -53
  736. package/dist/hooks/useFocusZone.d.ts +28 -24
  737. package/dist/hooks/useFocusZone.js +34 -39
  738. package/dist/hooks/useId.d.ts +2 -2
  739. package/dist/hooks/useId.js +13 -16
  740. package/dist/hooks/useMedia.js +66 -83
  741. package/dist/hooks/useMenuInitialFocus.d.ts +1 -3
  742. package/dist/hooks/useMenuInitialFocus.js +80 -63
  743. package/dist/hooks/useMenuKeyboardNavigation.d.ts +1 -11
  744. package/dist/hooks/useMenuKeyboardNavigation.js +128 -126
  745. package/dist/hooks/useMergedRefs.d.ts +52 -0
  746. package/dist/hooks/useMergedRefs.js +71 -0
  747. package/dist/hooks/useMnemonics.d.ts +1 -6
  748. package/dist/hooks/useMnemonics.js +76 -107
  749. package/dist/hooks/useOnEscapePress.d.ts +4 -2
  750. package/dist/hooks/useOnEscapePress.js +51 -57
  751. package/dist/hooks/useOnOutsideClick.d.ts +14 -8
  752. package/dist/hooks/useOnOutsideClick.js +59 -63
  753. package/dist/hooks/useOpenAndCloseFocus.d.ts +17 -8
  754. package/dist/hooks/useOpenAndCloseFocus.js +51 -43
  755. package/dist/hooks/useOverflow.d.ts +2 -2
  756. package/dist/hooks/useOverflow.js +31 -36
  757. package/dist/hooks/useOverlay.d.ts +25 -13
  758. package/dist/hooks/useOverlay.js +57 -75
  759. package/dist/hooks/useProvidedRefOrCreate.d.ts +14 -3
  760. package/dist/hooks/useProvidedRefOrCreate.js +20 -12
  761. package/dist/hooks/useProvidedStateOrCreate.js +32 -39
  762. package/dist/hooks/useRefObjectAsForwardedRef.d.ts +17 -3
  763. package/dist/hooks/useRefObjectAsForwardedRef.js +29 -20
  764. package/dist/hooks/useRenderForcingRef.d.ts +1 -9
  765. package/dist/hooks/useRenderForcingRef.js +41 -16
  766. package/dist/hooks/useResizeObserver.d.ts +8 -6
  767. package/dist/hooks/useResizeObserver.js +37 -45
  768. package/dist/hooks/useResponsiveValue.d.ts +9 -17
  769. package/dist/hooks/useResponsiveValue.js +32 -56
  770. package/dist/hooks/useSafeTimeout.d.ts +4 -5
  771. package/dist/hooks/useSafeTimeout.js +60 -30
  772. package/dist/hooks/useScrollFlash.js +30 -31
  773. package/dist/hooks/useSlots.d.ts +58 -18
  774. package/dist/hooks/useSlots.js +83 -68
  775. package/dist/hooks/useSyncedState.d.ts +7 -4
  776. package/dist/hooks/useSyncedState.js +36 -37
  777. package/dist/index.d.ts +126 -146
  778. package/dist/index.js +98 -84
  779. package/dist/internal/components/ButtonReset-904f2483.css +1 -1
  780. package/dist/internal/components/ButtonReset-904f2483.css.map +1 -1
  781. package/dist/internal/components/ButtonReset.js +44 -50
  782. package/dist/internal/components/ButtonReset.module.css.js +4 -5
  783. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup-e38b5339.css +1 -1
  784. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup-e38b5339.css.map +1 -1
  785. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup.d.ts +25 -33
  786. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup.js +191 -97
  787. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup.module.css.js +11 -5
  788. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupCaption.js +35 -22
  789. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupContext.d.ts +1 -9
  790. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupContext.js +3 -4
  791. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupLabel.d.ts +10 -12
  792. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupLabel.js +58 -36
  793. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupValidation.d.ts +7 -9
  794. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupValidation.js +28 -20
  795. package/dist/internal/components/CheckboxOrRadioGroup/index.d.ts +2 -4
  796. package/dist/internal/components/ConditionalWrapper.js +40 -51
  797. package/dist/internal/components/InputLabel-985ef80b.css +2 -0
  798. package/dist/internal/components/InputLabel-985ef80b.css.map +1 -0
  799. package/dist/internal/components/InputLabel.d.ts +17 -18
  800. package/dist/internal/components/InputLabel.js +90 -113
  801. package/dist/internal/components/InputLabel.module.css.js +7 -5
  802. package/dist/internal/components/InputValidation-dddeaafd.css +1 -1
  803. package/dist/internal/components/InputValidation-dddeaafd.css.map +1 -1
  804. package/dist/internal/components/InputValidation.js +95 -87
  805. package/dist/internal/components/InputValidation.module.css.js +8 -5
  806. package/dist/internal/components/OverflowObserverProvider.js +156 -0
  807. package/dist/internal/components/TextInputInnerAction-477e9b99.css +1 -1
  808. package/dist/internal/components/TextInputInnerAction-477e9b99.css.map +1 -1
  809. package/dist/internal/components/TextInputInnerAction.d.ts +16 -34
  810. package/dist/internal/components/TextInputInnerAction.js +132 -172
  811. package/dist/internal/components/TextInputInnerAction.module.css.js +8 -5
  812. package/dist/internal/components/TextInputInnerVisualSlot-4a14b955.css +1 -1
  813. package/dist/internal/components/TextInputInnerVisualSlot-4a14b955.css.map +1 -1
  814. package/dist/internal/components/TextInputInnerVisualSlot.js +88 -94
  815. package/dist/internal/components/TextInputInnerVisualSlot.module.css.js +10 -5
  816. package/dist/internal/components/TextInputWrapper-b2f7f9fa.css +2 -0
  817. package/dist/internal/components/TextInputWrapper-b2f7f9fa.css.map +1 -0
  818. package/dist/internal/components/TextInputWrapper.d.ts +29 -34
  819. package/dist/internal/components/TextInputWrapper.js +194 -228
  820. package/dist/internal/components/TextInputWrapper.module.css.js +7 -5
  821. package/dist/internal/components/ThemeProviderBase.js +49 -0
  822. package/dist/internal/components/UnderlineTabbedInterface-a5cd75c0.css +2 -0
  823. package/dist/internal/components/UnderlineTabbedInterface-a5cd75c0.css.map +1 -0
  824. package/dist/internal/components/UnderlineTabbedInterface.js +198 -216
  825. package/dist/internal/components/UnderlineTabbedInterface.module.css.js +10 -5
  826. package/dist/internal/components/UnstyledTextInput-8270f063.css +1 -1
  827. package/dist/internal/components/UnstyledTextInput-8270f063.css.map +1 -1
  828. package/dist/internal/components/UnstyledTextInput.js +39 -47
  829. package/dist/internal/components/UnstyledTextInput.module.css.js +4 -5
  830. package/dist/internal/components/ValidationAnimationContainer-04125429.css +1 -1
  831. package/dist/internal/components/ValidationAnimationContainer-04125429.css.map +1 -1
  832. package/dist/internal/components/ValidationAnimationContainer.js +60 -66
  833. package/dist/internal/components/ValidationAnimationContainer.module.css.js +7 -5
  834. package/dist/internal/hooks/useDevOnlyEffect.js +15 -0
  835. package/dist/internal/hooks/useEffectCallback.js +34 -38
  836. package/dist/internal/hooks/useEffectOnce.js +22 -25
  837. package/dist/internal/hooks/useOverflowObserver.js +55 -0
  838. package/dist/internal/hooks/useThemeProvider.js +70 -0
  839. package/dist/internal/internal-types.d.ts +3 -3
  840. package/dist/internal/utils/getResponsiveAttributes.js +22 -26
  841. package/dist/internal/utils/hasInteractiveNodes.js +33 -40
  842. package/dist/legacy-theme/ts/color-schemes.js +4249 -4732
  843. package/dist/live-region/Announce.d.ts +28 -26
  844. package/dist/live-region/Announce.js +153 -180
  845. package/dist/live-region/AriaAlert.d.ts +18 -17
  846. package/dist/live-region/AriaAlert.js +19 -22
  847. package/dist/live-region/AriaStatus.d.ts +22 -21
  848. package/dist/live-region/AriaStatus.js +19 -22
  849. package/dist/live-region/index.d.ts +4 -7
  850. package/dist/next/ThemeProvider.d.ts +6 -0
  851. package/dist/next/ThemeProvider.js +34 -0
  852. package/dist/next/index.d.ts +5 -3
  853. package/dist/next/index.js +4 -1
  854. package/dist/test-helpers.d.ts +2 -0
  855. package/dist/test-helpers.js +39 -62
  856. package/dist/theme.d.ts +1125 -1162
  857. package/dist/theme.js +82 -47
  858. package/dist/useTheme.d.ts +6 -0
  859. package/dist/useTheme.js +12 -0
  860. package/dist/utils/as-slot.d.ts +22 -0
  861. package/dist/utils/as-slot.js +25 -0
  862. package/dist/utils/character-counter.js +20 -0
  863. package/dist/utils/create-component.d.ts +5 -4
  864. package/dist/utils/create-component.js +14 -16
  865. package/dist/utils/descendant-registry.d.ts +1 -0
  866. package/dist/utils/descendant-registry.js +234 -0
  867. package/dist/utils/environment.js +11 -8
  868. package/dist/utils/getBreakpointDeclarations.js +8 -10
  869. package/dist/utils/invariant.js +16 -23
  870. package/dist/utils/is-slot.d.ts +5 -3
  871. package/dist/utils/is-slot.js +9 -11
  872. package/dist/utils/isNumeric.js +2 -3
  873. package/dist/utils/modern-polymorphic.d.ts +7 -13
  874. package/dist/utils/modern-polymorphic.js +4 -23
  875. package/dist/utils/polymorphic.d.ts +24 -33
  876. package/dist/utils/react-compiler-runtime.js +31 -0
  877. package/dist/utils/scroll.js +7 -11
  878. package/dist/utils/theme.js +4 -10
  879. package/dist/utils/types/AriaRole.d.ts +2 -2
  880. package/dist/utils/types/ComponentProps.d.ts +2 -2
  881. package/dist/utils/types/FormValidationStatus.d.ts +2 -2
  882. package/dist/utils/types/KeyPaths.d.ts +2 -4
  883. package/dist/utils/types/MandateProps.d.ts +2 -4
  884. package/dist/utils/types/Merge.d.ts +2 -2
  885. package/dist/utils/types/Slots.d.ts +6 -6
  886. package/dist/utils/types/ViewportRangeKeys.d.ts +3 -3
  887. package/dist/utils/useIsomorphicLayoutEffect.d.ts +5 -4
  888. package/dist/utils/useIsomorphicLayoutEffect.js +3 -9
  889. package/dist/utils/warning.js +13 -20
  890. package/generated/components.json +1675 -216
  891. package/generated/hooks.json +89 -8
  892. package/package.json +42 -48
  893. package/dist/ActionBar/ActionBar-8ed12fe7.css +0 -2
  894. package/dist/ActionBar/ActionBar-8ed12fe7.css.map +0 -1
  895. package/dist/ActionBar/ActionBar.d.ts.map +0 -1
  896. package/dist/ActionBar/disabled.ActionBar.Figma.d.ts +0 -2
  897. package/dist/ActionBar/disabled.ActionBar.Figma.d.ts.map +0 -1
  898. package/dist/ActionBar/index.d.ts.map +0 -1
  899. package/dist/ActionList/ActionList-167cf6c7.css +0 -2
  900. package/dist/ActionList/ActionList-167cf6c7.css.map +0 -1
  901. package/dist/ActionList/ActionListContainerContext.d.ts +0 -16
  902. package/dist/ActionList/ActionListContainerContext.d.ts.map +0 -1
  903. package/dist/ActionList/Description.d.ts.map +0 -1
  904. package/dist/ActionList/Divider.d.ts.map +0 -1
  905. package/dist/ActionList/Group-2c8b5711.css +0 -2
  906. package/dist/ActionList/Group-2c8b5711.css.map +0 -1
  907. package/dist/ActionList/Group.d.ts.map +0 -1
  908. package/dist/ActionList/Heading.d.ts.map +0 -1
  909. package/dist/ActionList/Item.d.ts +0 -56
  910. package/dist/ActionList/Item.d.ts.map +0 -1
  911. package/dist/ActionList/LinkItem.d.ts.map +0 -1
  912. package/dist/ActionList/List.d.ts +0 -24
  913. package/dist/ActionList/List.d.ts.map +0 -1
  914. package/dist/ActionList/Selection.d.ts +0 -6
  915. package/dist/ActionList/Selection.d.ts.map +0 -1
  916. package/dist/ActionList/TrailingAction.d.ts.map +0 -1
  917. package/dist/ActionList/Visuals.d.ts.map +0 -1
  918. package/dist/ActionList/index.d.ts.map +0 -1
  919. package/dist/ActionList/shared.d.ts.map +0 -1
  920. package/dist/ActionMenu/ActionMenu-bb42318d.css +0 -2
  921. package/dist/ActionMenu/ActionMenu-bb42318d.css.map +0 -1
  922. package/dist/ActionMenu/ActionMenu.d.ts.map +0 -1
  923. package/dist/ActionMenu/index.d.ts.map +0 -1
  924. package/dist/AnchoredOverlay/AnchoredOverlay-73c1b2d1.css +0 -2
  925. package/dist/AnchoredOverlay/AnchoredOverlay-73c1b2d1.css.map +0 -1
  926. package/dist/AnchoredOverlay/AnchoredOverlay.d.ts.map +0 -1
  927. package/dist/AnchoredOverlay/index.d.ts.map +0 -1
  928. package/dist/Autocomplete/Autocomplete.d.ts.map +0 -1
  929. package/dist/Autocomplete/AutocompleteContext.d.ts +0 -17
  930. package/dist/Autocomplete/AutocompleteContext.d.ts.map +0 -1
  931. package/dist/Autocomplete/AutocompleteInput.d.ts.map +0 -1
  932. package/dist/Autocomplete/AutocompleteMenu.d.ts.map +0 -1
  933. package/dist/Autocomplete/AutocompleteOverlay.d.ts.map +0 -1
  934. package/dist/Autocomplete/index.d.ts.map +0 -1
  935. package/dist/Avatar/Avatar.d.ts.map +0 -1
  936. package/dist/Avatar/index.d.ts.map +0 -1
  937. package/dist/Avatar/storyHelpers.d.ts +0 -6
  938. package/dist/Avatar/storyHelpers.d.ts.map +0 -1
  939. package/dist/AvatarStack/AvatarStack-802bdd7c.css +0 -2
  940. package/dist/AvatarStack/AvatarStack-802bdd7c.css.map +0 -1
  941. package/dist/AvatarStack/AvatarStack.d.ts.map +0 -1
  942. package/dist/AvatarStack/index.d.ts.map +0 -1
  943. package/dist/Banner/Banner-c1744c4b.css +0 -2
  944. package/dist/Banner/Banner-c1744c4b.css.map +0 -1
  945. package/dist/Banner/Banner.d.ts.map +0 -1
  946. package/dist/Banner/index.d.ts.map +0 -1
  947. package/dist/BaseStyles-79fd37c4.css +0 -2
  948. package/dist/BaseStyles-79fd37c4.css.map +0 -1
  949. package/dist/BaseStyles.d.ts.map +0 -1
  950. package/dist/Blankslate/Blankslate-2be5efdc.css +0 -2
  951. package/dist/Blankslate/Blankslate-2be5efdc.css.map +0 -1
  952. package/dist/Blankslate/Blankslate.d.ts.map +0 -1
  953. package/dist/Blankslate/BlankslateContext.d.ts +0 -7
  954. package/dist/Blankslate/BlankslateContext.d.ts.map +0 -1
  955. package/dist/Blankslate/index.d.ts.map +0 -1
  956. package/dist/BranchName/BranchName.d.ts.map +0 -1
  957. package/dist/BranchName/index.d.ts.map +0 -1
  958. package/dist/Breadcrumbs/Breadcrumbs-dbfc9d95.css +0 -2
  959. package/dist/Breadcrumbs/Breadcrumbs-dbfc9d95.css.map +0 -1
  960. package/dist/Breadcrumbs/Breadcrumbs.d.ts.map +0 -1
  961. package/dist/Breadcrumbs/index.d.ts.map +0 -1
  962. package/dist/Button/Button.d.ts.map +0 -1
  963. package/dist/Button/ButtonBase-643c673a.css +0 -2
  964. package/dist/Button/ButtonBase-643c673a.css.map +0 -1
  965. package/dist/Button/ButtonBase.d.ts.map +0 -1
  966. package/dist/Button/IconButton.d.ts.map +0 -1
  967. package/dist/Button/LinkButton.d.ts.map +0 -1
  968. package/dist/Button/index.d.ts.map +0 -1
  969. package/dist/Button/types.d.ts.map +0 -1
  970. package/dist/ButtonGroup/ButtonGroup-10292330.css +0 -2
  971. package/dist/ButtonGroup/ButtonGroup-10292330.css.map +0 -1
  972. package/dist/ButtonGroup/ButtonGroup.d.ts.map +0 -1
  973. package/dist/ButtonGroup/index.d.ts.map +0 -1
  974. package/dist/Checkbox/Checkbox-edc5dc3e.css +0 -2
  975. package/dist/Checkbox/Checkbox-edc5dc3e.css.map +0 -1
  976. package/dist/Checkbox/Checkbox.d.ts.map +0 -1
  977. package/dist/Checkbox/index.d.ts.map +0 -1
  978. package/dist/CheckboxGroup/CheckboxGroup.d.ts.map +0 -1
  979. package/dist/CheckboxGroup/CheckboxGroupContext.d.ts.map +0 -1
  980. package/dist/CheckboxGroup/index.d.ts.map +0 -1
  981. package/dist/CircleBadge/CircleBadge.d.ts.map +0 -1
  982. package/dist/CircleBadge/index.d.ts.map +0 -1
  983. package/dist/ConfirmationDialog/ConfirmationDialog-87ccf595.css +0 -2
  984. package/dist/ConfirmationDialog/ConfirmationDialog-87ccf595.css.map +0 -1
  985. package/dist/ConfirmationDialog/ConfirmationDialog.d.ts.map +0 -1
  986. package/dist/ConfirmationDialog/ConfirmationDialog.module.css.js +0 -5
  987. package/dist/CounterLabel/CounterLabel-44fb5d16.css +0 -2
  988. package/dist/CounterLabel/CounterLabel-44fb5d16.css.map +0 -1
  989. package/dist/CounterLabel/CounterLabel.d.ts.map +0 -1
  990. package/dist/CounterLabel/index.d.ts.map +0 -1
  991. package/dist/DataTable/DataTable.d.ts.map +0 -1
  992. package/dist/DataTable/ErrorDialog.d.ts.map +0 -1
  993. package/dist/DataTable/Pagination-b6f8418c.css +0 -2
  994. package/dist/DataTable/Pagination-b6f8418c.css.map +0 -1
  995. package/dist/DataTable/Pagination.d.ts.map +0 -1
  996. package/dist/DataTable/Table-7f5cb3e4.css +0 -2
  997. package/dist/DataTable/Table-7f5cb3e4.css.map +0 -1
  998. package/dist/DataTable/Table.d.ts.map +0 -1
  999. package/dist/DataTable/__tests__/sorting.test.d.ts +0 -2
  1000. package/dist/DataTable/__tests__/sorting.test.d.ts.map +0 -1
  1001. package/dist/DataTable/column.d.ts.map +0 -1
  1002. package/dist/DataTable/index.d.ts.map +0 -1
  1003. package/dist/DataTable/row.d.ts.map +0 -1
  1004. package/dist/DataTable/sorting.d.ts.map +0 -1
  1005. package/dist/DataTable/storyHelpers.d.ts +0 -4
  1006. package/dist/DataTable/storyHelpers.d.ts.map +0 -1
  1007. package/dist/DataTable/storybook/data.d.ts +0 -41
  1008. package/dist/DataTable/storybook/data.d.ts.map +0 -1
  1009. package/dist/DataTable/useTable.d.ts +0 -42
  1010. package/dist/DataTable/useTable.d.ts.map +0 -1
  1011. package/dist/DataTable/utils.d.ts.map +0 -1
  1012. package/dist/Details/Details.d.ts.map +0 -1
  1013. package/dist/Details/index.d.ts.map +0 -1
  1014. package/dist/Dialog/Dialog-1a61e61a.css +0 -2
  1015. package/dist/Dialog/Dialog-1a61e61a.css.map +0 -1
  1016. package/dist/Dialog/Dialog.d.ts.map +0 -1
  1017. package/dist/FeatureFlags/DefaultFeatureFlags.d.ts.map +0 -1
  1018. package/dist/FeatureFlags/FeatureFlagContext.d.ts +0 -3
  1019. package/dist/FeatureFlags/FeatureFlagContext.d.ts.map +0 -1
  1020. package/dist/FeatureFlags/FeatureFlagScope.d.ts.map +0 -1
  1021. package/dist/FeatureFlags/FeatureFlags.d.ts.map +0 -1
  1022. package/dist/FeatureFlags/index.d.ts.map +0 -1
  1023. package/dist/FeatureFlags/useFeatureFlag.d.ts.map +0 -1
  1024. package/dist/FilteredActionList/FilteredActionList-f6c2dc7a.css +0 -2
  1025. package/dist/FilteredActionList/FilteredActionList-f6c2dc7a.css.map +0 -1
  1026. package/dist/FilteredActionList/FilteredActionList.d.ts.map +0 -1
  1027. package/dist/FilteredActionList/FilteredActionListLoaders-a46a8ea4.css +0 -2
  1028. package/dist/FilteredActionList/FilteredActionListLoaders-a46a8ea4.css.map +0 -1
  1029. package/dist/FilteredActionList/FilteredActionListLoaders.d.ts.map +0 -1
  1030. package/dist/FilteredActionList/index.d.ts.map +0 -1
  1031. package/dist/FilteredActionList/types.d.ts.map +0 -1
  1032. package/dist/FilteredActionList/useAnnouncements.d.ts +0 -6
  1033. package/dist/FilteredActionList/useAnnouncements.d.ts.map +0 -1
  1034. package/dist/Flash/Flash.d.ts.map +0 -1
  1035. package/dist/Flash/index.d.ts.map +0 -1
  1036. package/dist/FormControl/FormControl.d.ts.map +0 -1
  1037. package/dist/FormControl/FormControlCaption.d.ts.map +0 -1
  1038. package/dist/FormControl/FormControlLabel.d.ts.map +0 -1
  1039. package/dist/FormControl/FormControlLeadingVisual.d.ts +0 -7
  1040. package/dist/FormControl/FormControlLeadingVisual.d.ts.map +0 -1
  1041. package/dist/FormControl/_FormControlContext.d.ts.map +0 -1
  1042. package/dist/FormControl/_FormControlValidation.d.ts.map +0 -1
  1043. package/dist/FormControl/index.d.ts.map +0 -1
  1044. package/dist/Header/Header.d.ts.map +0 -1
  1045. package/dist/Header/index.d.ts.map +0 -1
  1046. package/dist/Heading/Heading.d.ts.map +0 -1
  1047. package/dist/Heading/index.d.ts.map +0 -1
  1048. package/dist/Hidden/Hidden.d.ts.map +0 -1
  1049. package/dist/Hidden/index.d.ts.map +0 -1
  1050. package/dist/InlineMessage/InlineMessage-80d97643.css +0 -2
  1051. package/dist/InlineMessage/InlineMessage-80d97643.css.map +0 -1
  1052. package/dist/InlineMessage/InlineMessage.d.ts.map +0 -1
  1053. package/dist/InlineMessage/index.d.ts.map +0 -1
  1054. package/dist/KeybindingHint/KeybindingHint.d.ts.map +0 -1
  1055. package/dist/KeybindingHint/components/Chord.d.ts +0 -5
  1056. package/dist/KeybindingHint/components/Chord.d.ts.map +0 -1
  1057. package/dist/KeybindingHint/components/Key.d.ts +0 -9
  1058. package/dist/KeybindingHint/components/Key.d.ts.map +0 -1
  1059. package/dist/KeybindingHint/components/Sequence.d.ts +0 -5
  1060. package/dist/KeybindingHint/components/Sequence.d.ts.map +0 -1
  1061. package/dist/KeybindingHint/index.d.ts +0 -3
  1062. package/dist/KeybindingHint/index.d.ts.map +0 -1
  1063. package/dist/KeybindingHint/key-names.d.ts +0 -16
  1064. package/dist/KeybindingHint/key-names.d.ts.map +0 -1
  1065. package/dist/KeybindingHint/props.d.ts.map +0 -1
  1066. package/dist/Label/Label.d.ts.map +0 -1
  1067. package/dist/Label/index.d.ts.map +0 -1
  1068. package/dist/LabelGroup/LabelGroup-7d19205a.css +0 -2
  1069. package/dist/LabelGroup/LabelGroup-7d19205a.css.map +0 -1
  1070. package/dist/LabelGroup/LabelGroup.d.ts.map +0 -1
  1071. package/dist/LabelGroup/index.d.ts.map +0 -1
  1072. package/dist/Link/Link-968346ff.css +0 -2
  1073. package/dist/Link/Link-968346ff.css.map +0 -1
  1074. package/dist/Link/Link.d.ts.map +0 -1
  1075. package/dist/Link/index.d.ts.map +0 -1
  1076. package/dist/NavList/NavList-5dc067e3.css +0 -2
  1077. package/dist/NavList/NavList-5dc067e3.css.map +0 -1
  1078. package/dist/NavList/NavList.d.ts.map +0 -1
  1079. package/dist/NavList/index.d.ts.map +0 -1
  1080. package/dist/Octicon/Octicon.d.ts.map +0 -1
  1081. package/dist/Octicon/index.d.ts.map +0 -1
  1082. package/dist/Overlay/Overlay-40e80d0e.css +0 -2
  1083. package/dist/Overlay/Overlay-40e80d0e.css.map +0 -1
  1084. package/dist/Overlay/Overlay.d.ts.map +0 -1
  1085. package/dist/Overlay/index.d.ts.map +0 -1
  1086. package/dist/PageHeader/PageHeader-4e1d8fee.css +0 -2
  1087. package/dist/PageHeader/PageHeader-4e1d8fee.css.map +0 -1
  1088. package/dist/PageHeader/PageHeader.d.ts.map +0 -1
  1089. package/dist/PageHeader/index.d.ts.map +0 -1
  1090. package/dist/PageLayout/PageLayout-1849f083.css +0 -2
  1091. package/dist/PageLayout/PageLayout-1849f083.css.map +0 -1
  1092. package/dist/PageLayout/PageLayout.d.ts.map +0 -1
  1093. package/dist/PageLayout/index.d.ts.map +0 -1
  1094. package/dist/Pagehead/Pagehead.d.ts.map +0 -1
  1095. package/dist/Pagehead/index.d.ts.map +0 -1
  1096. package/dist/Pagination/Pagination.d.ts.map +0 -1
  1097. package/dist/Pagination/index.d.ts.map +0 -1
  1098. package/dist/Pagination/mocks/ReactRouterLink.d.ts +0 -8
  1099. package/dist/Pagination/mocks/ReactRouterLink.d.ts.map +0 -1
  1100. package/dist/Pagination/model.d.ts.map +0 -1
  1101. package/dist/Placeholder.d.ts +0 -9
  1102. package/dist/Placeholder.d.ts.map +0 -1
  1103. package/dist/Popover/Popover-3ba3b962.css +0 -2
  1104. package/dist/Popover/Popover-3ba3b962.css.map +0 -1
  1105. package/dist/Popover/Popover.d.ts.map +0 -1
  1106. package/dist/Popover/index.d.ts.map +0 -1
  1107. package/dist/Portal/Portal.d.ts.map +0 -1
  1108. package/dist/Portal/index.d.ts.map +0 -1
  1109. package/dist/ProgressBar/ProgressBar-d27aca1d.css +0 -2
  1110. package/dist/ProgressBar/ProgressBar-d27aca1d.css.map +0 -1
  1111. package/dist/ProgressBar/ProgressBar.d.ts.map +0 -1
  1112. package/dist/ProgressBar/index.d.ts.map +0 -1
  1113. package/dist/Radio/Radio-df9a5c02.css +0 -2
  1114. package/dist/Radio/Radio-df9a5c02.css.map +0 -1
  1115. package/dist/Radio/Radio.d.ts.map +0 -1
  1116. package/dist/Radio/index.d.ts.map +0 -1
  1117. package/dist/RadioGroup/RadioGroup.d.ts.map +0 -1
  1118. package/dist/RadioGroup/index.d.ts.map +0 -1
  1119. package/dist/RelativeTime/RelativeTime.d.ts.map +0 -1
  1120. package/dist/RelativeTime/index.d.ts.map +0 -1
  1121. package/dist/ScrollableRegion/ScrollableRegion.d.ts.map +0 -1
  1122. package/dist/ScrollableRegion/index.d.ts.map +0 -1
  1123. package/dist/SegmentedControl/SegmentedControl-7f79ab74.css +0 -2
  1124. package/dist/SegmentedControl/SegmentedControl-7f79ab74.css.map +0 -1
  1125. package/dist/SegmentedControl/SegmentedControl.d.ts.map +0 -1
  1126. package/dist/SegmentedControl/SegmentedControlButton.d.ts.map +0 -1
  1127. package/dist/SegmentedControl/SegmentedControlIconButton.d.ts.map +0 -1
  1128. package/dist/SegmentedControl/index.d.ts.map +0 -1
  1129. package/dist/Select/Select.d.ts.map +0 -1
  1130. package/dist/Select/index.d.ts.map +0 -1
  1131. package/dist/SelectPanel/SelectPanel-3ac7e8d0.css +0 -2
  1132. package/dist/SelectPanel/SelectPanel-3ac7e8d0.css.map +0 -1
  1133. package/dist/SelectPanel/SelectPanel.d.ts.map +0 -1
  1134. package/dist/SelectPanel/SelectPanelMessage.d.ts.map +0 -1
  1135. package/dist/SelectPanel/index.d.ts.map +0 -1
  1136. package/dist/SideNav.d.ts.map +0 -1
  1137. package/dist/Skeleton/SkeletonBox-248bfcc3.css +0 -2
  1138. package/dist/Skeleton/SkeletonBox-248bfcc3.css.map +0 -1
  1139. package/dist/Skeleton/SkeletonBox.d.ts.map +0 -1
  1140. package/dist/Skeleton/index.d.ts.map +0 -1
  1141. package/dist/SkeletonAvatar/SkeletonAvatar.d.ts.map +0 -1
  1142. package/dist/SkeletonAvatar/index.d.ts.map +0 -1
  1143. package/dist/SkeletonText/SkeletonText.d.ts.map +0 -1
  1144. package/dist/SkeletonText/index.d.ts.map +0 -1
  1145. package/dist/Spinner/Spinner.d.ts.map +0 -1
  1146. package/dist/Spinner/index.d.ts.map +0 -1
  1147. package/dist/SplitPageLayout/SplitPageLayout.d.ts.map +0 -1
  1148. package/dist/SplitPageLayout/index.d.ts.map +0 -1
  1149. package/dist/Stack/Stack-9e7b935d.css +0 -2
  1150. package/dist/Stack/Stack-9e7b935d.css.map +0 -1
  1151. package/dist/Stack/Stack.d.ts.map +0 -1
  1152. package/dist/Stack/index.d.ts.map +0 -1
  1153. package/dist/StateLabel/StateLabel-b586b0bc.css +0 -2
  1154. package/dist/StateLabel/StateLabel-b586b0bc.css.map +0 -1
  1155. package/dist/StateLabel/StateLabel.d.ts.map +0 -1
  1156. package/dist/StateLabel/index.d.ts.map +0 -1
  1157. package/dist/SubNav/SubNav.d.ts.map +0 -1
  1158. package/dist/SubNav/index.d.ts.map +0 -1
  1159. package/dist/TabNav/TabNav.d.ts.map +0 -1
  1160. package/dist/TabNav/index.d.ts.map +0 -1
  1161. package/dist/Text/Text-ca7603b7.css +0 -2
  1162. package/dist/Text/Text-ca7603b7.css.map +0 -1
  1163. package/dist/Text/Text.d.ts.map +0 -1
  1164. package/dist/Text/index.d.ts.map +0 -1
  1165. package/dist/TextInput/TextInput.d.ts.map +0 -1
  1166. package/dist/TextInput/index.d.ts.map +0 -1
  1167. package/dist/TextInputWithTokens/TextInputWithTokens.d.ts.map +0 -1
  1168. package/dist/TextInputWithTokens/index.d.ts.map +0 -1
  1169. package/dist/Textarea/TextArea-54099020.css +0 -2
  1170. package/dist/Textarea/TextArea-54099020.css.map +0 -1
  1171. package/dist/Textarea/Textarea.d.ts.map +0 -1
  1172. package/dist/Textarea/index.d.ts.map +0 -1
  1173. package/dist/ThemeProvider.d.ts.map +0 -1
  1174. package/dist/Timeline/Timeline-116393ee.css +0 -2
  1175. package/dist/Timeline/Timeline-116393ee.css.map +0 -1
  1176. package/dist/Timeline/Timeline.d.ts.map +0 -1
  1177. package/dist/Timeline/index.d.ts.map +0 -1
  1178. package/dist/ToggleSwitch/ToggleSwitch-d5c8dc81.css +0 -2
  1179. package/dist/ToggleSwitch/ToggleSwitch-d5c8dc81.css.map +0 -1
  1180. package/dist/ToggleSwitch/ToggleSwitch.d.ts.map +0 -1
  1181. package/dist/ToggleSwitch/ToggleSwitchStoryWrapper.d.ts +0 -4
  1182. package/dist/ToggleSwitch/ToggleSwitchStoryWrapper.d.ts.map +0 -1
  1183. package/dist/ToggleSwitch/index.d.ts.map +0 -1
  1184. package/dist/Token/IssueLabelToken-a5fe569e.css +0 -2
  1185. package/dist/Token/IssueLabelToken-a5fe569e.css.map +0 -1
  1186. package/dist/Token/IssueLabelToken.d.ts.map +0 -1
  1187. package/dist/Token/Token-942271b0.css +0 -2
  1188. package/dist/Token/Token-942271b0.css.map +0 -1
  1189. package/dist/Token/Token.d.ts.map +0 -1
  1190. package/dist/Token/TokenBase-57c65c47.css +0 -2
  1191. package/dist/Token/TokenBase-57c65c47.css.map +0 -1
  1192. package/dist/Token/TokenBase.d.ts.map +0 -1
  1193. package/dist/Token/_RemoveTokenButton-c205593b.css +0 -2
  1194. package/dist/Token/_RemoveTokenButton-c205593b.css.map +0 -1
  1195. package/dist/Token/_RemoveTokenButton.d.ts +0 -13
  1196. package/dist/Token/_RemoveTokenButton.d.ts.map +0 -1
  1197. package/dist/Token/_TokenTextContainer-2ab10996.css +0 -2
  1198. package/dist/Token/_TokenTextContainer-2ab10996.css.map +0 -1
  1199. package/dist/Token/_TokenTextContainer.d.ts +0 -5
  1200. package/dist/Token/_TokenTextContainer.d.ts.map +0 -1
  1201. package/dist/Token/index.d.ts.map +0 -1
  1202. package/dist/Tooltip/Tooltip-fffa9948.css +0 -2
  1203. package/dist/Tooltip/Tooltip-fffa9948.css.map +0 -1
  1204. package/dist/Tooltip/Tooltip.d.ts.map +0 -1
  1205. package/dist/Tooltip/index.d.ts +0 -3
  1206. package/dist/Tooltip/index.d.ts.map +0 -1
  1207. package/dist/TooltipV2/Tooltip-5a80d7b2.css +0 -2
  1208. package/dist/TooltipV2/Tooltip-5a80d7b2.css.map +0 -1
  1209. package/dist/TooltipV2/Tooltip.d.ts.map +0 -1
  1210. package/dist/TooltipV2/index.d.ts.map +0 -1
  1211. package/dist/TreeView/TreeView-bdf34914.css +0 -2
  1212. package/dist/TreeView/TreeView-bdf34914.css.map +0 -1
  1213. package/dist/TreeView/TreeView.d.ts.map +0 -1
  1214. package/dist/TreeView/index.d.ts.map +0 -1
  1215. package/dist/TreeView/shared.d.ts +0 -5
  1216. package/dist/TreeView/shared.d.ts.map +0 -1
  1217. package/dist/TreeView/useRovingTabIndex.d.ts.map +0 -1
  1218. package/dist/TreeView/useTypeahead.d.ts +0 -8
  1219. package/dist/TreeView/useTypeahead.d.ts.map +0 -1
  1220. package/dist/Truncate/Truncate.d.ts.map +0 -1
  1221. package/dist/Truncate/index.d.ts.map +0 -1
  1222. package/dist/UnderlineNav/UnderlineNav-4344d9b0.css +0 -2
  1223. package/dist/UnderlineNav/UnderlineNav-4344d9b0.css.map +0 -1
  1224. package/dist/UnderlineNav/UnderlineNav.d.ts.map +0 -1
  1225. package/dist/UnderlineNav/UnderlineNavContext.d.ts +0 -14
  1226. package/dist/UnderlineNav/UnderlineNavContext.d.ts.map +0 -1
  1227. package/dist/UnderlineNav/UnderlineNavItem-b65e8fd3.css +0 -2
  1228. package/dist/UnderlineNav/UnderlineNavItem-b65e8fd3.css.map +0 -1
  1229. package/dist/UnderlineNav/UnderlineNavItem.d.ts +0 -42
  1230. package/dist/UnderlineNav/UnderlineNavItem.d.ts.map +0 -1
  1231. package/dist/UnderlineNav/index.d.ts.map +0 -1
  1232. package/dist/UnderlineNav/styles.d.ts +0 -16
  1233. package/dist/UnderlineNav/styles.d.ts.map +0 -1
  1234. package/dist/UnderlineNav/styles.js +0 -19
  1235. package/dist/UnderlineNav/types.d.ts +0 -10
  1236. package/dist/UnderlineNav/types.d.ts.map +0 -1
  1237. package/dist/VisuallyHidden/VisuallyHidden.d.ts.map +0 -1
  1238. package/dist/VisuallyHidden/index.d.ts.map +0 -1
  1239. package/dist/_VisuallyHidden-5c0a2499.css +0 -2
  1240. package/dist/_VisuallyHidden-5c0a2499.css.map +0 -1
  1241. package/dist/_VisuallyHidden.d.ts +0 -8
  1242. package/dist/_VisuallyHidden.d.ts.map +0 -1
  1243. package/dist/deprecated/ActionList/Divider.d.ts.map +0 -1
  1244. package/dist/deprecated/ActionList/Group.d.ts.map +0 -1
  1245. package/dist/deprecated/ActionList/Header.d.ts.map +0 -1
  1246. package/dist/deprecated/ActionList/Item-cf87f98a.css +0 -3
  1247. package/dist/deprecated/ActionList/Item-cf87f98a.css.map +0 -1
  1248. package/dist/deprecated/ActionList/Item.d.ts.map +0 -1
  1249. package/dist/deprecated/ActionList/List.d.ts.map +0 -1
  1250. package/dist/deprecated/ActionList/index.d.ts.map +0 -1
  1251. package/dist/deprecated/ActionMenu.d.ts.map +0 -1
  1252. package/dist/deprecated/DialogV1/Dialog.d.ts.map +0 -1
  1253. package/dist/deprecated/DialogV1/index.d.ts.map +0 -1
  1254. package/dist/deprecated/FilteredSearch/FilteredSearch.d.ts.map +0 -1
  1255. package/dist/deprecated/FilteredSearch/index.d.ts +0 -3
  1256. package/dist/deprecated/FilteredSearch/index.d.ts.map +0 -1
  1257. package/dist/deprecated/UnderlineNav/UnderlineNav.d.ts.map +0 -1
  1258. package/dist/deprecated/UnderlineNav/index.d.ts.map +0 -1
  1259. package/dist/deprecated/index.d.ts.map +0 -1
  1260. package/dist/deprecated/utils/create-slots.d.ts +0 -21
  1261. package/dist/deprecated/utils/create-slots.d.ts.map +0 -1
  1262. package/dist/experimental/CSSComponent/index.d.ts +0 -3
  1263. package/dist/experimental/CSSComponent/index.d.ts.map +0 -1
  1264. package/dist/experimental/IssueLabel/IssueLabel-d9c2c5cf.css +0 -2
  1265. package/dist/experimental/IssueLabel/IssueLabel-d9c2c5cf.css.map +0 -1
  1266. package/dist/experimental/IssueLabel/IssueLabel.d.ts.map +0 -1
  1267. package/dist/experimental/IssueLabel/getColorFromHex.d.ts +0 -8
  1268. package/dist/experimental/IssueLabel/getColorFromHex.d.ts.map +0 -1
  1269. package/dist/experimental/IssueLabel/getColorFromHex.js +0 -185
  1270. package/dist/experimental/IssueLabel/index.d.ts.map +0 -1
  1271. package/dist/experimental/SelectPanel2/SelectPanel-e919f619.css +0 -2
  1272. package/dist/experimental/SelectPanel2/SelectPanel-e919f619.css.map +0 -1
  1273. package/dist/experimental/SelectPanel2/SelectPanel.d.ts.map +0 -1
  1274. package/dist/experimental/SelectPanel2/index.d.ts.map +0 -1
  1275. package/dist/experimental/SelectPanel2/mock-story-data.d.ts +0 -67
  1276. package/dist/experimental/SelectPanel2/mock-story-data.d.ts.map +0 -1
  1277. package/dist/experimental/UnderlinePanels/UnderlinePanels-e4b325b9.css +0 -2
  1278. package/dist/experimental/UnderlinePanels/UnderlinePanels-e4b325b9.css.map +0 -1
  1279. package/dist/experimental/UnderlinePanels/UnderlinePanels.d.ts.map +0 -1
  1280. package/dist/experimental/UnderlinePanels/index.d.ts.map +0 -1
  1281. package/dist/experimental/hooks/index.d.ts.map +0 -1
  1282. package/dist/experimental/index.d.ts.map +0 -1
  1283. package/dist/hooks/index.d.ts.map +0 -1
  1284. package/dist/hooks/useAnchoredPosition.d.ts.map +0 -1
  1285. package/dist/hooks/useControllableState.d.ts +0 -35
  1286. package/dist/hooks/useControllableState.d.ts.map +0 -1
  1287. package/dist/hooks/useDetails.d.ts.map +0 -1
  1288. package/dist/hooks/useDialog.d.ts +0 -16
  1289. package/dist/hooks/useDialog.d.ts.map +0 -1
  1290. package/dist/hooks/useFocusTrap.d.ts.map +0 -1
  1291. package/dist/hooks/useFocusZone.d.ts.map +0 -1
  1292. package/dist/hooks/useId.d.ts.map +0 -1
  1293. package/dist/hooks/useIsMacOS.d.ts +0 -7
  1294. package/dist/hooks/useIsMacOS.d.ts.map +0 -1
  1295. package/dist/hooks/useIsMacOS.js +0 -32
  1296. package/dist/hooks/useMedia.d.ts +0 -39
  1297. package/dist/hooks/useMedia.d.ts.map +0 -1
  1298. package/dist/hooks/useMenuInitialFocus.d.ts.map +0 -1
  1299. package/dist/hooks/useMenuKeyboardNavigation.d.ts.map +0 -1
  1300. package/dist/hooks/useMnemonics.d.ts.map +0 -1
  1301. package/dist/hooks/useOnEscapePress.d.ts.map +0 -1
  1302. package/dist/hooks/useOnOutsideClick.d.ts.map +0 -1
  1303. package/dist/hooks/useOpenAndCloseFocus.d.ts.map +0 -1
  1304. package/dist/hooks/useOverflow.d.ts.map +0 -1
  1305. package/dist/hooks/useOverlay.d.ts.map +0 -1
  1306. package/dist/hooks/useProvidedRefOrCreate.d.ts.map +0 -1
  1307. package/dist/hooks/useProvidedStateOrCreate.d.ts +0 -11
  1308. package/dist/hooks/useProvidedStateOrCreate.d.ts.map +0 -1
  1309. package/dist/hooks/useRefObjectAsForwardedRef.d.ts.map +0 -1
  1310. package/dist/hooks/useRenderForcingRef.d.ts.map +0 -1
  1311. package/dist/hooks/useResizeObserver.d.ts.map +0 -1
  1312. package/dist/hooks/useResponsiveValue.d.ts.map +0 -1
  1313. package/dist/hooks/useSafeTimeout.d.ts.map +0 -1
  1314. package/dist/hooks/useScrollFlash.d.ts +0 -7
  1315. package/dist/hooks/useScrollFlash.d.ts.map +0 -1
  1316. package/dist/hooks/useSlots.d.ts.map +0 -1
  1317. package/dist/hooks/useSyncedState.d.ts.map +0 -1
  1318. package/dist/index.d.ts.map +0 -1
  1319. package/dist/internal/components/ButtonReset.d.ts +0 -5
  1320. package/dist/internal/components/ButtonReset.d.ts.map +0 -1
  1321. package/dist/internal/components/Caret.d.ts +0 -15
  1322. package/dist/internal/components/Caret.d.ts.map +0 -1
  1323. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup.d.ts.map +0 -1
  1324. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupCaption.d.ts +0 -8
  1325. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupCaption.d.ts.map +0 -1
  1326. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupContext.d.ts.map +0 -1
  1327. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupLabel.d.ts.map +0 -1
  1328. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupValidation.d.ts.map +0 -1
  1329. package/dist/internal/components/CheckboxOrRadioGroup/index.d.ts.map +0 -1
  1330. package/dist/internal/components/ConditionalWrapper.d.ts +0 -5
  1331. package/dist/internal/components/ConditionalWrapper.d.ts.map +0 -1
  1332. package/dist/internal/components/InputLabel-eb267c58.css +0 -2
  1333. package/dist/internal/components/InputLabel-eb267c58.css.map +0 -1
  1334. package/dist/internal/components/InputLabel.d.ts.map +0 -1
  1335. package/dist/internal/components/InputValidation.d.ts +0 -11
  1336. package/dist/internal/components/InputValidation.d.ts.map +0 -1
  1337. package/dist/internal/components/LiveRegion.d.ts +0 -14
  1338. package/dist/internal/components/LiveRegion.d.ts.map +0 -1
  1339. package/dist/internal/components/LiveRegion.js +0 -130
  1340. package/dist/internal/components/TextInputInnerAction.d.ts.map +0 -1
  1341. package/dist/internal/components/TextInputInnerVisualSlot.d.ts +0 -14
  1342. package/dist/internal/components/TextInputInnerVisualSlot.d.ts.map +0 -1
  1343. package/dist/internal/components/TextInputWrapper-889df5d3.css +0 -2
  1344. package/dist/internal/components/TextInputWrapper-889df5d3.css.map +0 -1
  1345. package/dist/internal/components/TextInputWrapper.d.ts.map +0 -1
  1346. package/dist/internal/components/UnderlineTabbedInterface-addc90dd.css +0 -2
  1347. package/dist/internal/components/UnderlineTabbedInterface-addc90dd.css.map +0 -1
  1348. package/dist/internal/components/UnderlineTabbedInterface.d.ts +0 -27
  1349. package/dist/internal/components/UnderlineTabbedInterface.d.ts.map +0 -1
  1350. package/dist/internal/components/UnstyledTextInput.d.ts +0 -4
  1351. package/dist/internal/components/UnstyledTextInput.d.ts.map +0 -1
  1352. package/dist/internal/components/ValidationAnimationContainer.d.ts +0 -8
  1353. package/dist/internal/components/ValidationAnimationContainer.d.ts.map +0 -1
  1354. package/dist/internal/hooks/useEffectCallback.d.ts +0 -8
  1355. package/dist/internal/hooks/useEffectCallback.d.ts.map +0 -1
  1356. package/dist/internal/hooks/useEffectOnce.d.ts +0 -2
  1357. package/dist/internal/hooks/useEffectOnce.d.ts.map +0 -1
  1358. package/dist/internal/hooks/useFocus.d.ts +0 -3
  1359. package/dist/internal/hooks/useFocus.d.ts.map +0 -1
  1360. package/dist/internal/hooks/useMergedRefs.d.ts +0 -2
  1361. package/dist/internal/hooks/useMergedRefs.d.ts.map +0 -1
  1362. package/dist/internal/hooks/useMergedRefs.js +0 -17
  1363. package/dist/internal/internal-types.d.ts.map +0 -1
  1364. package/dist/internal/utils/__tests__/getResponsiveAttributes.test.d.ts +0 -2
  1365. package/dist/internal/utils/__tests__/getResponsiveAttributes.test.d.ts.map +0 -1
  1366. package/dist/internal/utils/__tests__/hasInteractiveNodes.test.d.ts +0 -2
  1367. package/dist/internal/utils/__tests__/hasInteractiveNodes.test.d.ts.map +0 -1
  1368. package/dist/internal/utils/getResponsiveAttributes.d.ts +0 -19
  1369. package/dist/internal/utils/getResponsiveAttributes.d.ts.map +0 -1
  1370. package/dist/internal/utils/getResponsiveControlValues.d.ts +0 -8
  1371. package/dist/internal/utils/getResponsiveControlValues.d.ts.map +0 -1
  1372. package/dist/internal/utils/hasInteractiveNodes.d.ts +0 -11
  1373. package/dist/internal/utils/hasInteractiveNodes.d.ts.map +0 -1
  1374. package/dist/legacy-theme/ts/color-schemes.d.ts +0 -4733
  1375. package/dist/legacy-theme/ts/color-schemes.d.ts.map +0 -1
  1376. package/dist/legacy-theme/ts/colors/dark.d.ts +0 -517
  1377. package/dist/legacy-theme/ts/colors/dark.d.ts.map +0 -1
  1378. package/dist/legacy-theme/ts/colors/dark_colorblind.d.ts +0 -517
  1379. package/dist/legacy-theme/ts/colors/dark_colorblind.d.ts.map +0 -1
  1380. package/dist/legacy-theme/ts/colors/dark_dimmed.d.ts +0 -517
  1381. package/dist/legacy-theme/ts/colors/dark_dimmed.d.ts.map +0 -1
  1382. package/dist/legacy-theme/ts/colors/dark_high_contrast.d.ts +0 -517
  1383. package/dist/legacy-theme/ts/colors/dark_high_contrast.d.ts.map +0 -1
  1384. package/dist/legacy-theme/ts/colors/dark_tritanopia.d.ts +0 -517
  1385. package/dist/legacy-theme/ts/colors/dark_tritanopia.d.ts.map +0 -1
  1386. package/dist/legacy-theme/ts/colors/index.d.ts +0 -4638
  1387. package/dist/legacy-theme/ts/colors/index.d.ts.map +0 -1
  1388. package/dist/legacy-theme/ts/colors/light.d.ts +0 -517
  1389. package/dist/legacy-theme/ts/colors/light.d.ts.map +0 -1
  1390. package/dist/legacy-theme/ts/colors/light_colorblind.d.ts +0 -517
  1391. package/dist/legacy-theme/ts/colors/light_colorblind.d.ts.map +0 -1
  1392. package/dist/legacy-theme/ts/colors/light_high_contrast.d.ts +0 -517
  1393. package/dist/legacy-theme/ts/colors/light_high_contrast.d.ts.map +0 -1
  1394. package/dist/legacy-theme/ts/colors/light_tritanopia.d.ts +0 -517
  1395. package/dist/legacy-theme/ts/colors/light_tritanopia.d.ts.map +0 -1
  1396. package/dist/legacy-theme/ts/index.d.ts +0 -2
  1397. package/dist/legacy-theme/ts/index.d.ts.map +0 -1
  1398. package/dist/live-region/Announce.d.ts.map +0 -1
  1399. package/dist/live-region/AriaAlert.d.ts.map +0 -1
  1400. package/dist/live-region/AriaStatus.d.ts.map +0 -1
  1401. package/dist/live-region/__tests__/test-helpers.d.ts +0 -3
  1402. package/dist/live-region/__tests__/test-helpers.d.ts.map +0 -1
  1403. package/dist/live-region/index.d.ts.map +0 -1
  1404. package/dist/next/index.d.ts.map +0 -1
  1405. package/dist/polyfills/eventListenerSignal.d.ts +0 -7
  1406. package/dist/polyfills/eventListenerSignal.d.ts.map +0 -1
  1407. package/dist/theme.d.ts.map +0 -1
  1408. package/dist/utils/StressTest.d.ts +0 -10
  1409. package/dist/utils/StressTest.d.ts.map +0 -1
  1410. package/dist/utils/__tests__/invariant.test.d.ts +0 -2
  1411. package/dist/utils/__tests__/invariant.test.d.ts.map +0 -1
  1412. package/dist/utils/__tests__/warning.test.d.ts +0 -2
  1413. package/dist/utils/__tests__/warning.test.d.ts.map +0 -1
  1414. package/dist/utils/create-component.d.ts.map +0 -1
  1415. package/dist/utils/deprecate.d.ts +0 -19
  1416. package/dist/utils/deprecate.d.ts.map +0 -1
  1417. package/dist/utils/environment.d.ts +0 -7
  1418. package/dist/utils/environment.d.ts.map +0 -1
  1419. package/dist/utils/form-story-helpers.d.ts +0 -62
  1420. package/dist/utils/form-story-helpers.d.ts.map +0 -1
  1421. package/dist/utils/getBreakpointDeclarations.d.ts +0 -4
  1422. package/dist/utils/getBreakpointDeclarations.d.ts.map +0 -1
  1423. package/dist/utils/invariant.d.ts +0 -3
  1424. package/dist/utils/invariant.d.ts.map +0 -1
  1425. package/dist/utils/is-slot.d.ts.map +0 -1
  1426. package/dist/utils/isNumeric.d.ts +0 -2
  1427. package/dist/utils/isNumeric.d.ts.map +0 -1
  1428. package/dist/utils/modern-polymorphic.d.ts.map +0 -1
  1429. package/dist/utils/polymorphic.d.ts.map +0 -1
  1430. package/dist/utils/scroll.d.ts +0 -6
  1431. package/dist/utils/scroll.d.ts.map +0 -1
  1432. package/dist/utils/test-helpers.d.ts +0 -2
  1433. package/dist/utils/test-helpers.d.ts.map +0 -1
  1434. package/dist/utils/theme.d.ts +0 -20
  1435. package/dist/utils/theme.d.ts.map +0 -1
  1436. package/dist/utils/types/AriaRole.d.ts.map +0 -1
  1437. package/dist/utils/types/ComponentProps.d.ts.map +0 -1
  1438. package/dist/utils/types/Flatten.d.ts +0 -5
  1439. package/dist/utils/types/Flatten.d.ts.map +0 -1
  1440. package/dist/utils/types/FormValidationStatus.d.ts.map +0 -1
  1441. package/dist/utils/types/KeyPaths.d.ts.map +0 -1
  1442. package/dist/utils/types/MandateProps.d.ts.map +0 -1
  1443. package/dist/utils/types/Merge.d.ts.map +0 -1
  1444. package/dist/utils/types/Slots.d.ts.map +0 -1
  1445. package/dist/utils/types/ViewportRangeKeys.d.ts.map +0 -1
  1446. package/dist/utils/types/index.d.ts +0 -7
  1447. package/dist/utils/types/index.d.ts.map +0 -1
  1448. package/dist/utils/use-force-update.d.ts +0 -2
  1449. package/dist/utils/use-force-update.d.ts.map +0 -1
  1450. package/dist/utils/useIsomorphicLayoutEffect.d.ts.map +0 -1
  1451. package/dist/utils/warning.d.ts +0 -4
  1452. package/dist/utils/warning.d.ts.map +0 -1
package/CHANGELOG.md CHANGED
@@ -4,26 +4,1203 @@
4
4
 
5
5
  ### Major Changes
6
6
 
7
- - [#7021](https://github.com/primer/react/pull/7021) [`fb773ad`](https://github.com/primer/react/commit/fb773ada9e76d48a0fb64f489369caa9b8d7c756) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Remove deprecated underline prop from Link component.
7
+ - [#8742](https://github.com/primer/react/pull/8742) [`5817eb9`](https://github.com/primer/react/commit/5817eb9d2ec60193a933f09bfb3446eb479950cc) Thanks [@janmaarten-a11y](https://github.com/janmaarten-a11y)! - Timeline: Always render an ordered list with list items, removing the list-semantics opt-out. Refs now target list elements instead of divs.
8
8
 
9
9
  ### Minor Changes
10
10
 
11
+ - [#8688](https://github.com/primer/react/pull/8688) [`92a1fca`](https://github.com/primer/react/commit/92a1fca80cd63c2b729141a38a4a93ec27c47a43) Thanks [@rickyzhangca](https://github.com/rickyzhangca)! - DataTable: Describe group selection checkboxes with the member count. Add count-label formatters for localizing checkbox and disclosure descriptions in DataTable and Table.Group.
12
+
13
+ - [#8563](https://github.com/primer/react/pull/8563) [`998b471`](https://github.com/primer/react/commit/998b471a4ad78c7c23426038ef0c4a5261fc41cf) Thanks [@joshblack](https://github.com/joshblack)! - ActionMenu: Improve rendering performance with React Compiler support.
14
+
15
+ - [#8746](https://github.com/primer/react/pull/8746) [`d2dd516`](https://github.com/primer/react/commit/d2dd516adc1eb82657df80a07e91b9a86a295165) Thanks [@Archanachaurasiya30](https://github.com/Archanachaurasiya30)! - Remove the unused hsluv dependency and move react-intersection-observer to devDependencies.
16
+
17
+ ### Patch Changes
18
+
19
+ - [#8548](https://github.com/primer/react/pull/8548) [`6075e98`](https://github.com/primer/react/commit/6075e98c6ea8fefb1d20f3918a0c133e77a68c9a) Thanks [@llastflowers](https://github.com/llastflowers)! - Ref handling: Preserve forwarded refs while maintaining internal component refs.
20
+
21
+ - [#8708](https://github.com/primer/react/pull/8708) [`16c41d3`](https://github.com/primer/react/commit/16c41d3e57bb7358d887c613aaeb22aaea3a0d97) Thanks [@vivanvv](https://github.com/vivanvv)! - Pagination: Disable Next for empty results when page numbers are hidden.
22
+
23
+ - [#8731](https://github.com/primer/react/pull/8731) [`cb71c93`](https://github.com/primer/react/commit/cb71c93fada0adb063905e1894fe1667c0e3c3fa) Thanks [@dependabot](https://github.com/apps/dependabot)! - PageLayout and TreeView: Preserve pane resizing and keyboard focus behavior
24
+
25
+ ## 38.46.0
26
+
27
+ ### Minor Changes
28
+
29
+ - [#8592](https://github.com/primer/react/pull/8592) [`0ae18d3`](https://github.com/primer/react/commit/0ae18d38f09044c40c1a181288c2783e93629b4e) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Card: Add optional shadows, regular (16px) and spacious (24px) padding in either layout, and heading links and buttons with opt-in full-card hit areas using fullCardHitArea. Existing normal padding and defaults are unchanged.
30
+
31
+ - [#8692](https://github.com/primer/react/pull/8692) [`918d7cf`](https://github.com/primer/react/commit/918d7cf82d3884ab134e9b074e0a595198a1c033) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Stack: Add `balance` as a value for the `wrap` prop.
32
+
33
+ ### Patch Changes
34
+
35
+ - [#8748](https://github.com/primer/react/pull/8748) [`324b0aa`](https://github.com/primer/react/commit/324b0aa0f1e4cc12c61a8a36b5790357e428dccc) Thanks [@mattcosta7](https://github.com/mattcosta7)! - Breadcrumbs: Collapse crumbs that render more than one element (such as a link with a sibling button) when they no longer fit, instead of overflowing the container.
36
+
37
+ - [#8683](https://github.com/primer/react/pull/8683) [`32d5061`](https://github.com/primer/react/commit/32d50618c58cceddf66d83716ac9742c2134b790) Thanks [@mattcosta7](https://github.com/mattcosta7)! - Breadcrumbs: Improve the performance of `overflow="menu"` and `"menu-with-root"` on mount, resize and navigation. Server-rendered markup now applies the collapse rules before hydration, and the overflow menu trigger is a `<button>`.
38
+
39
+ - [#8592](https://github.com/primer/react/pull/8592) [`0ae18d3`](https://github.com/primer/react/commit/0ae18d38f09044c40c1a181288c2783e93629b4e) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Card: Improve shrinking and equal-height layouts, keep secondary controls accessible in custom whole-card compositions, and keep images edge-to-edge across padding options.
40
+
41
+ - [#8679](https://github.com/primer/react/pull/8679) [`dbf2ac1`](https://github.com/primer/react/commit/dbf2ac1d758a0aae69f37ad1bd789480ce58ff4c) Thanks [@llastflowers](https://github.com/llastflowers)! - Breadcrumbs: Close the overflow menu when Escape is pressed while its tooltip is open.
42
+
43
+ - [#8628](https://github.com/primer/react/pull/8628) [`41f29c8`](https://github.com/primer/react/commit/41f29c845663936043618af29dcb71de4c9384b2) Thanks [@joshblack](https://github.com/joshblack)! - SkeletonAvatar, SkeletonText: Preserve the requested size and shape regardless of stylesheet load order
44
+
45
+ - [#8681](https://github.com/primer/react/pull/8681) [`8a9013e`](https://github.com/primer/react/commit/8a9013ea48359ad60a60e194783c865c08d3b7db) Thanks [@mattcosta7](https://github.com/mattcosta7)! - SkeletonBox, SkeletonText, SkeletonAvatar, ProgressBar: Run the loading shimmer animation on the compositor to reduce main-thread work while skeletons are visible
46
+
47
+ - [#8562](https://github.com/primer/react/pull/8562) [`ee46232`](https://github.com/primer/react/commit/ee46232fafa24701415b21eed60cca68e589cf1c) Thanks [@joshblack](https://github.com/joshblack)! - useOnEscapePress, useOnOutsideClick: Improve performance when callbacks change between renders.
48
+
49
+ - [#8609](https://github.com/primer/react/pull/8609) [`da90227`](https://github.com/primer/react/commit/da9022741a8109195480d7e6ccdf80cd723d6199) Thanks [@tay1orjones](https://github.com/tay1orjones)! - ActionList.LinkItem, NavList.Item: Preserve keyboard focus and running child animations when links rerender.
50
+
51
+ - [#8684](https://github.com/primer/react/pull/8684) [`35ff497`](https://github.com/primer/react/commit/35ff4972b1d62810df69f606c6785bc7f123d5d5) Thanks [@mattcosta7](https://github.com/mattcosta7)! - TreeView: Reduce mount and hydration cost for large trees. Server-rendered trees now have a single tab stop and named subtrees before hydration.
52
+
53
+ ## 38.45.0
54
+
55
+ ### Minor Changes
56
+
57
+ - [#8034](https://github.com/primer/react/pull/8034) [`f80b27c`](https://github.com/primer/react/commit/f80b27cc531b4f12f3384a68a6c0259639d07d99) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Blankslate: Add compact-default sizing and default-sized primary actions behind the default-off `primer_react_blankslate_compact_default` feature flag. The `small` size remains supported.
58
+
59
+ - [#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.
60
+
61
+ - [#8640](https://github.com/primer/react/pull/8640) [`8088a06`](https://github.com/primer/react/commit/8088a06e5b5380d81736179fee71d698b650d110) Thanks [@rickyzhangca](https://github.com/rickyzhangca)! - DataTable: Add selection checkboxes to collapsible groups, aligned with row checkboxes. Table.Group supports controlled group selection.
62
+
63
+ ### Patch Changes
64
+
65
+ - [#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
66
+
67
+ - [#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
68
+
69
+ - [#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.
70
+
71
+ - [#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
72
+
73
+ - [#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.
74
+
75
+ ## 38.44.0
76
+
77
+ ### Minor Changes
78
+
79
+ - [#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.
80
+
81
+ ### Patch Changes
82
+
83
+ - [#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.
84
+
85
+ - [#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
86
+
87
+ - [#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.
88
+
89
+ ## 38.43.0
90
+
91
+ ### Minor Changes
92
+
93
+ - [#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.
94
+
95
+ - [#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.
96
+
97
+ - [#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.
98
+
99
+ - [#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.
100
+
101
+ - [#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.
102
+
103
+ ### Patch Changes
104
+
105
+ - [#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.
106
+
107
+ - [#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.
108
+
109
+ ## 38.42.0
110
+
111
+ ### Minor Changes
112
+
113
+ - [#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.
114
+
115
+ - [#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.
116
+
117
+ - [#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
118
+
119
+ - [#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.
120
+
121
+ - [#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.
122
+
123
+ - [#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.
124
+
125
+ - [#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.
126
+
127
+ ### Patch Changes
128
+
129
+ - [#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
130
+
131
+ ## 38.41.0
132
+
133
+ ### Minor Changes
134
+
135
+ - [#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.
136
+
137
+ - [#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.
138
+
139
+ ### Patch Changes
140
+
141
+ - [#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
142
+
143
+ - [#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
144
+
145
+ - [#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
146
+
147
+ - [#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`).
148
+
149
+ ## 38.40.1
150
+
151
+ ### Patch Changes
152
+
153
+ - [#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
154
+
155
+ - [#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
156
+
157
+ - [#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
158
+
159
+ - [#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
160
+
161
+ ## 38.40.0
162
+
163
+ ### Minor Changes
164
+
165
+ - [#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.
166
+
167
+ - [#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.
168
+
169
+ ### Patch Changes
170
+
171
+ - [#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.
172
+
173
+ - [#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
174
+
175
+ - [#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
176
+
177
+ ## 38.39.0
178
+
179
+ ### Minor Changes
180
+
181
+ - [#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.
182
+
183
+ ### Patch Changes
184
+
185
+ - [#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.
186
+
187
+ - [#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
188
+
189
+ - [#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
190
+
191
+ - [#8352](https://github.com/primer/react/pull/8352) [`4dc92ec`](https://github.com/primer/react/commit/4dc92ecc5014f4c5f7675ec64d11cd0e0d5aa83e) Thanks [@rickyzhangca](https://github.com/rickyzhangca)! - Tabs and UnderlinePanels: Make the controlled selection and manual activation APIs available without a feature flag. Re-selecting the active tab no longer fires the value change callback.
192
+
193
+ ## 38.38.0
194
+
195
+ ### Minor Changes
196
+
197
+ - [#8300](https://github.com/primer/react/pull/8300) [`3a32d6f`](https://github.com/primer/react/commit/3a32d6ff015b11dd2ac9bf299f8f558bb1e46ef5) Thanks [@joshblack](https://github.com/joshblack)! - Promote AriaStatus and AriaAlert from experimental to stable
198
+
199
+ - [#8325](https://github.com/primer/react/pull/8325) [`4266cab`](https://github.com/primer/react/commit/4266cab4cb9e744f70cc13a8904c3b29a6499284) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - SegmentedControl: Add a subtle visual variant with group dividers and an optional trailing action child.
200
+
201
+ ### Patch Changes
202
+
203
+ - [#8343](https://github.com/primer/react/pull/8343) [`7034e1f`](https://github.com/primer/react/commit/7034e1fbb754883b29a05fdf75eea8704359e7bb) Thanks [@llastflowers](https://github.com/llastflowers)! - Don't focus Autocomplete menu items while menu is closed: fix SR announcement bug and menu item skipping bug
204
+
205
+ - [#8330](https://github.com/primer/react/pull/8330) [`f7329dc`](https://github.com/primer/react/commit/f7329dc8224166fad2698ae7d6c518dc97d89754) Thanks [@mattcosta7](https://github.com/mattcosta7)! - RelativeTime: Prevent hydration errors when the server and client use different time zones
206
+
207
+ - [#8339](https://github.com/primer/react/pull/8339) [`1f5b99e`](https://github.com/primer/react/commit/1f5b99edc63e3989eb470d258c4d7b8703540f6b) Thanks [@ShiyunXu](https://github.com/ShiyunXu)! - Pin `box-sizing` with `!important` on the underline tabbed interface wrapper in wrap mode so external overrides can no longer offset its height budget and incorrectly trigger the overflow "more" menu
208
+
209
+ - [#8340](https://github.com/primer/react/pull/8340) [`a79d6c6`](https://github.com/primer/react/commit/a79d6c60ca23abce6f85502e1db78458f5fc3e90) Thanks [@ShiyunXu](https://github.com/ShiyunXu)! - UnderlineNav: Prevent external borders from incorrectly triggering the overflow menu
210
+
211
+ ## 38.37.0
212
+
213
+ ### Minor Changes
214
+
215
+ - [#8311](https://github.com/primer/react/pull/8311) [`b111781`](https://github.com/primer/react/commit/b1117811cebfb9463f20fe76f77cdf13917ae6b2) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Button: Add configurable notification indicators to Button and IconButton
216
+
217
+ - [#8306](https://github.com/primer/react/pull/8306) [`a3afd7b`](https://github.com/primer/react/commit/a3afd7baf05ea6c4a272a40ccb636f20a48f87dc) Thanks [@llastflowers](https://github.com/llastflowers)! - Deprecate the `Flash` component and move to `@primer/react/deprecated`
218
+
219
+ - [#8295](https://github.com/primer/react/pull/8295) [`bfebb8a`](https://github.com/primer/react/commit/bfebb8a538e6f068a457722b154799876bda3ab4) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Textarea: Add an `autoSize` option that allows the field to grow with its content
220
+
221
+ - [#8233](https://github.com/primer/react/pull/8233) [`80a68cf`](https://github.com/primer/react/commit/80a68cf05226323ad8cbc0531f244d60ea6747e3) Thanks [@rickyzhangca](https://github.com/rickyzhangca)! - UnderlinePanels: add controlled `value`/`defaultValue`/`onChange` and `activationMode` props, keyed to a per-`Tab`/`Panel` `value`, for data-driven tabs. Behind the `primer_react_underline_panels_controlled` feature flag; the existing `aria-selected`/`onSelect` API is unchanged.
222
+
223
+ ### Patch Changes
224
+
225
+ - [#8304](https://github.com/primer/react/pull/8304) [`88feb65`](https://github.com/primer/react/commit/88feb658c13fec154da1a8aa199250514f4fdba3) Thanks [@iansan5653](https://github.com/iansan5653)! - Animate `SegmentedControl` when switching between items
226
+
227
+ ## 38.36.0
228
+
229
+ ### Minor Changes
230
+
231
+ - [#8212](https://github.com/primer/react/pull/8212) [`9ac9343`](https://github.com/primer/react/commit/9ac9343a70fd0f70413a42cd27baf562a74dd4fc) Thanks [@mattcosta7](https://github.com/mattcosta7)! - ThemeProvider: Add a CSS-variable-based implementation to `@primer/react/next`
232
+ and deprecate the legacy JavaScript theme implementation.
233
+
234
+ - [#8303](https://github.com/primer/react/pull/8303) [`a88cc69`](https://github.com/primer/react/commit/a88cc693539e2b9aa836623c737e860e7203e73a) Thanks [@TylerJDev](https://github.com/TylerJDev)! - NavList: Add a `tooltipText` prop to items
235
+
236
+ ### Patch Changes
237
+
238
+ - [#8276](https://github.com/primer/react/pull/8276) [`5069f8a`](https://github.com/primer/react/commit/5069f8a7cb95544ce14122e97d67c8a1279f8a08) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Portal: Render nothing while server rendering and during hydration instead of accessing the DOM during render, fixing server rendering support. Client-only renders are unchanged and still mount portaled content in the same commit.
239
+
240
+ - [#8260](https://github.com/primer/react/pull/8260) [`24d0831`](https://github.com/primer/react/commit/24d0831d34b13e3b4bac8afcfa2ccd5795cd9a9d) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - UnderlineNav: Keep item icons visible by default at the medium breakpoint and above
241
+
242
+ ## 38.35.1
243
+
244
+ ### Patch Changes
245
+
246
+ - [#8258](https://github.com/primer/react/pull/8258) [`edbcd94`](https://github.com/primer/react/commit/edbcd942354ff45148c2623be8b543ef8789a20f) Thanks [@llastflowers](https://github.com/llastflowers)! - Update `AvatarStack` to not reserve space when collapsed
247
+
248
+ - [#8273](https://github.com/primer/react/pull/8273) [`0c1e401`](https://github.com/primer/react/commit/0c1e401b6b0d57f95f8115ea90af78281751a766) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - NavList: Exclude group headings from navigation list item counts
249
+
250
+ ## 38.35.0
251
+
252
+ ### Minor Changes
253
+
254
+ - [#8253](https://github.com/primer/react/pull/8253) [`da3df9a`](https://github.com/primer/react/commit/da3df9aba582c7bcedbe69f1bdc5ab64ac90d32b) Thanks [@llastflowers](https://github.com/llastflowers)! - Add default Esc-to-dismiss support to `Popover` component
255
+
256
+ ## 38.34.0
257
+
258
+ ### Minor Changes
259
+
260
+ - [#8086](https://github.com/primer/react/pull/8086) [`81d4174`](https://github.com/primer/react/commit/81d4174150b37da95db23480574ddf8db5b20ca4) Thanks [@TylerJDev](https://github.com/TylerJDev)! - Add a `hideDivider` prop to `NavList.Group` so consumers can opt out of rendering the divider before a group.
261
+
262
+ ### Patch Changes
263
+
264
+ - [#8211](https://github.com/primer/react/pull/8211) [`a3e669f`](https://github.com/primer/react/commit/a3e669fa551a7d07841ce20224199d172905860f) Thanks [@francinelucca](https://github.com/francinelucca)! - Link: Remove unnecessary `data-hover-color` attribute from rendered DOM element
265
+
266
+ - [#8196](https://github.com/primer/react/pull/8196) [`e24effd`](https://github.com/primer/react/commit/e24effd440d69f0068a89aba26bae9e39fb3254e) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Use `aria-pressed` instead of `aria-current` on `SegmentedControl.Button` and `SegmentedControl.IconButton` so JAWS announces the selected state when a segment is activated.
267
+
268
+ - [#8169](https://github.com/primer/react/pull/8169) [`1d6f559`](https://github.com/primer/react/commit/1d6f5593f5e482d1d03027522bc882560c7b1f06) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Timeline: `Timeline.Actions` now wraps onto a new row below `Timeline.Body`, left-aligned with the body content, when `Timeline.Item` is narrower than 480px.
269
+
270
+ - [#8214](https://github.com/primer/react/pull/8214) [`41705f4`](https://github.com/primer/react/commit/41705f430ce0f64eb61c2665313f36a88cf6f16c) Thanks [@rickyzhangca](https://github.com/rickyzhangca)! - UnderlinePanels: The experimental `UnderlinePanels` component is now built on the experimental `Tabs` component instead of `@github/tab-container-element`. Its public API and behavior are unchanged.
271
+
272
+ ## 38.33.0
273
+
274
+ ### Minor Changes
275
+
276
+ - [#8160](https://github.com/primer/react/pull/8160) [`f8e7cf2`](https://github.com/primer/react/commit/f8e7cf2e1bd3eb02d4106b4932b487bb8ff108e6) Thanks [@TylerJDev](https://github.com/TylerJDev)! - PageLayout: Export the resize primitives `usePaneWidth` and `DragHandle` (with `defaultPaneWidth` and related types) so pane-resize behavior can be reused outside of `PageLayout`.
277
+
278
+ ### Patch Changes
279
+
280
+ - [#8064](https://github.com/primer/react/pull/8064) [`eb447fe`](https://github.com/primer/react/commit/eb447fef0f1565934dc38d09df21d8063957aa9d) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Update the ActionBar overflow menu anchor label to `More items`
281
+
282
+ - [#8166](https://github.com/primer/react/pull/8166) [`4045abe`](https://github.com/primer/react/commit/4045abea621d0940edcd1120fc70e6ed5f797205) Thanks [@mattcosta7](https://github.com/mattcosta7)! - Add `contain: layout` to high-churn overflow containers (`ActionBar`, `UnderlineNav`, `UnderlinePanels`, and `LabelGroup`) so their frequent reflows no longer invalidate ancestor layout.
283
+
284
+ - [#8176](https://github.com/primer/react/pull/8176) [`f061bc4`](https://github.com/primer/react/commit/f061bc41483211bef1ec8b1dfe07937f20a9ddd6) Thanks [@francinelucca](https://github.com/francinelucca)! - FeatureFlags: Guard against missing context in `useFeatureFlag` so it returns `false` instead of throwing when used outside a provider
285
+
286
+ - [#8188](https://github.com/primer/react/pull/8188) [`2a67c19`](https://github.com/primer/react/commit/2a67c191a0038df64d2225c0bc11c020c2def03c) Thanks [@iansan5653](https://github.com/iansan5653)! - Fix `UnderlineNav` items all being considered overflowing on Safari with text size overrides
287
+
288
+ - [#8116](https://github.com/primer/react/pull/8116) [`cade4af`](https://github.com/primer/react/commit/cade4af9a70f3fd2622031af585dc07dccd79e11) Thanks [@mattcosta7](https://github.com/mattcosta7)! - `useAnchoredPosition`: improve performance by caching the scrollable-ancestor walk per anchor, reducing repositioning work for overlays, menus, and tooltips.
289
+
290
+ - [#8164](https://github.com/primer/react/pull/8164) [`f86e5a6`](https://github.com/primer/react/commit/f86e5a6420e857e7476c3954d419f4e228bdcf1a) Thanks [@jonrohan](https://github.com/jonrohan)! - Fix `UnderlineNav` tab list not filling the full width of the underline nav in Safari
291
+
292
+ - [#8165](https://github.com/primer/react/pull/8165) [`d60d05b`](https://github.com/primer/react/commit/d60d05b2684056b653cb605418d6f1cae0ba38e2) Thanks [@jonrohan](https://github.com/jonrohan)! - Pin the underline tabbed interface wrapper's vertical box model in wrap mode so external border and padding overrides can no longer offset its height and incorrectly trigger the overflow "more" menu
293
+
294
+ ## 38.32.0
295
+
296
+ ### Minor Changes
297
+
298
+ - [#8133](https://github.com/primer/react/pull/8133) [`0cb8e17`](https://github.com/primer/react/commit/0cb8e17219f61f853fcf06ce9ee09c755c9ef5ff) Thanks [@iansan5653](https://github.com/iansan5653)! - `UnderlineNav`: Replaced dynamic icon visibility with static breakpoints to avoid flickering. Breakpoints customizable via the `hideIconsBreakpoint` prop.
299
+
300
+ - [#8112](https://github.com/primer/react/pull/8112) [`50face0`](https://github.com/primer/react/commit/50face041d55eb800d643b0d264d23fc12fd4121) Thanks [@llastflowers](https://github.com/llastflowers)! - Add data-component attributes and associated tests for:
301
+
302
+ SplitPageLayout
303
+ Stack
304
+ StateLabel
305
+ SubNav
306
+ TabNav
307
+ Text
308
+ TextArea
309
+ ThemeProvider
310
+
311
+ ### Patch Changes
312
+
313
+ - [#7901](https://github.com/primer/react/pull/7901) [`8288ed9`](https://github.com/primer/react/commit/8288ed9d88668f93cf3b1eb70ee61edac6217367) Thanks [@mattcosta7](https://github.com/mattcosta7)! - PageHeader: improve rendering performance by removing expensive `:has()` selectors. No visual or API changes.
314
+
315
+ - [#8115](https://github.com/primer/react/pull/8115) [`07c530a`](https://github.com/primer/react/commit/07c530a1686ef16b68b2f2fe692b7a3327bdc02b) Thanks [@mattcosta7](https://github.com/mattcosta7)! - Improve rendering performance in Safari by removing expensive `:has()` selectors from ActionList/NavList, Breadcrumbs, SelectPanel, and SegmentedControl. No visual or API changes.
316
+
317
+ - [#8024](https://github.com/primer/react/pull/8024) [`18e3b7d`](https://github.com/primer/react/commit/18e3b7d7a7b54275b99d2562eb279722f5cdd60e) Thanks [@mattcosta7](https://github.com/mattcosta7)! - ToggleSwitch: Fire `onChange` from the user interaction instead of an effect, so it no longer fires on mount or when a controlled `checked` value changes externally.
318
+
319
+ - [#8035](https://github.com/primer/react/pull/8035) [`723f4d6`](https://github.com/primer/react/commit/723f4d6db12710e2b94f56b945a937158fcbb127) Thanks [@mattcosta7](https://github.com/mattcosta7)! - UnderlineNav, ActionBar: Detect item overflow with a single shared IntersectionObserver per component instead of one observer per item, reducing observer churn during resize. No public API changes.
320
+
321
+ - [#8001](https://github.com/primer/react/pull/8001) [`4edc824`](https://github.com/primer/react/commit/4edc8242da557eedd41d71b242674b33254029ec) Thanks [@mattcosta7](https://github.com/mattcosta7)! - `useMedia` now reads the live `matchMedia` value on the first client render instead of after an effect, removing a redundant render pass. `defaultState` is only used for the SSR/hydration snapshot (no public API changes).
322
+
323
+ - [#8023](https://github.com/primer/react/pull/8023) [`71fa75c`](https://github.com/primer/react/commit/71fa75c861c55bf29dd30ddf4a83549bf81369f8) Thanks [@mattcosta7](https://github.com/mattcosta7)! - FormControl: Avoid an extra re-render when showing a validation message.
324
+
325
+ ## 38.31.0
326
+
327
+ ### Minor Changes
328
+
329
+ - [#8057](https://github.com/primer/react/pull/8057) [`0b9c81e`](https://github.com/primer/react/commit/0b9c81e7e8fef1dfc98f3b86b5a375d4ec7fe204) Thanks [@francinelucca](https://github.com/francinelucca)! - ThemeProvider: Remove `primer_react_theme_provider_remove_ssr_handoff` feature flag.
330
+
331
+ - [#8105](https://github.com/primer/react/pull/8105) [`be2950f`](https://github.com/primer/react/commit/be2950fd1ac268dd4e79258ab2cfe9241dd9e1c6) Thanks [@joshblack](https://github.com/joshblack)! - React Compiler: Enable compiler output for Banner, ConfirmationDialog, PageLayout, Pagination, UnderlineNav, `useMergedRefs`, and `useScrollFlash`
332
+
333
+ ### Patch Changes
334
+
335
+ - [#8066](https://github.com/primer/react/pull/8066) [`dd66aa2`](https://github.com/primer/react/commit/dd66aa27611f7ad56adb7429b50813d6af5a01d7) Thanks [@janmaarten-a11y](https://github.com/janmaarten-a11y)! - Fix invalid HTML nesting in `ActionList.Heading` by applying the visually-hidden styles directly to the heading element instead of wrapping it in a `span`.
336
+
337
+ - [#8054](https://github.com/primer/react/pull/8054) [`1775f2e`](https://github.com/primer/react/commit/1775f2e8b968d59a1189456b14cff15e527937cb) Thanks [@joshblack](https://github.com/joshblack)! - AvatarStack: Improve rendering performance with React Compiler support
338
+
339
+ - [#8053](https://github.com/primer/react/pull/8053) [`b2151ae`](https://github.com/primer/react/commit/b2151ae2d5719f09efb0b89731e52e4ca50e8bf1) Thanks [@joshblack](https://github.com/joshblack)! - Checkbox, CheckboxGroup, and RadioGroup: Improve rendering performance with React Compiler support
340
+
341
+ - [#8052](https://github.com/primer/react/pull/8052) [`a1b24cf`](https://github.com/primer/react/commit/a1b24cf3411566641aeb846e62069dc26505da6b) Thanks [@joshblack](https://github.com/joshblack)! - Heading, Link, Pagehead, Portal, and SideNav: Improve rendering performance with React Compiler support
342
+
343
+ ## 38.30.0
344
+
345
+ ### Minor Changes
346
+
347
+ - [#8048](https://github.com/primer/react/pull/8048) [`0add561`](https://github.com/primer/react/commit/0add5615720d17d69c77b014786c5e17e4337bb0) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - ActionBar: Add `ActionBar.Button` for rendering text buttons that overflow into the menu, alongside the existing `ActionBar.IconButton`
348
+
349
+ - [#8031](https://github.com/primer/react/pull/8031) [`cb79351`](https://github.com/primer/react/commit/cb79351f29b9a1aea7bacf890eca97a5c9d97590) Thanks [@janmaarten-a11y](https://github.com/janmaarten-a11y)! - Add a `NavList.Heading` slot that names the navigation region. It renders an `h2`
350
+ by default (configurable to `h3` via `as`), supports a `visuallyHidden` variant,
351
+ labels the `nav` landmark via `aria-labelledby`, and makes `NavList.Group`
352
+ headings default to one level deeper (`h3`, or `h4` under an `h3` heading) for a
353
+ correct heading hierarchy.
354
+
355
+ - [#7991](https://github.com/primer/react/pull/7991) [`b906268`](https://github.com/primer/react/commit/b906268b7ebe8d684d8b5e9b1c4e9b528a5dd67a) Thanks [@llastflowers](https://github.com/llastflowers)! - Add data-component attributes and associated tests for:
356
+
357
+ Radio
358
+ RadioGroup
359
+ RelativeTime
360
+ ScrollableRegion
361
+ SegmentedControl
362
+ Select
363
+ SideNav
364
+ SkeletonBox
365
+ SkeletonAvatar
366
+ SkeletonText
367
+ Spinner
368
+
369
+ - [#8026](https://github.com/primer/react/pull/8026) [`73a45df`](https://github.com/primer/react/commit/73a45dfe11c3a297e4f2f8317caa4a535a70ce80) Thanks [@TylerJDev](https://github.com/TylerJDev)! - SelectPanel: Add `cssAnchorPositioningSettings` prop to customize CSS anchor positioning behavior
370
+
371
+ - [#7506](https://github.com/primer/react/pull/7506) [`e58907c`](https://github.com/primer/react/commit/e58907c5559f5ef8133a1d98a05e2e4a6c1ca6cb) Thanks [@iansan5653](https://github.com/iansan5653)! - Refactors `UnderlineNav` overflow handling to use CSS-based overflow detection instead of JavaScript width measurements, eliminating layout shift (CLS) issues and improving performance. The overflow menu is now implemented with `ActionMenu`, and item registration uses a descendant registry instead of the `React.Children` API. Consumer-facing changes: items can now be wrapped in fragments or wrapper components; the current item may appear in the overflow menu when the viewport is narrow; and the overflow menu button is right-aligned.
372
+
373
+ ### Patch Changes
374
+
375
+ - [#8021](https://github.com/primer/react/pull/8021) [`6131a94`](https://github.com/primer/react/commit/6131a9424b5bd5bb98b7ae05771d8187fe2f58cd) Thanks [@mattcosta7](https://github.com/mattcosta7)! - Announce, AriaStatus, AriaAlert: Avoid an extra React render on every content change (e.g. per keystroke when tied to an input)
376
+
377
+ - [#7935](https://github.com/primer/react/pull/7935) [`5b3c806`](https://github.com/primer/react/commit/5b3c806305cfa09d33d42fc2957d55105725ea3b) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - ConfirmationDialog: `useConfirm`/`confirm` now removes its host element from `document.body` after the dialog is closed, and uses a fresh host element per call, so the empty container no longer lingers or leaks into other components and tests
378
+
379
+ - [#8007](https://github.com/primer/react/pull/8007) [`f052126`](https://github.com/primer/react/commit/f0521263c85a8d665f7c031bd711b3568bdac8e2) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Improve style-recalc performance by making ButtonGroup, DataTable Pagination, and Checkbox CSS selectors bucketable (removing universal `*`/`:not([attr])` subjects and `:is()` selector-list merges)
380
+
381
+ - [#8021](https://github.com/primer/react/pull/8021) [`6131a94`](https://github.com/primer/react/commit/6131a9424b5bd5bb98b7ae05771d8187fe2f58cd) Thanks [@mattcosta7](https://github.com/mattcosta7)! - Textarea: Improve typing performance by deriving the character counter in render instead of in effects, removing extra re-renders on each keystroke.
382
+
383
+ - [#8021](https://github.com/primer/react/pull/8021) [`6131a94`](https://github.com/primer/react/commit/6131a9424b5bd5bb98b7ae05771d8187fe2f58cd) Thanks [@mattcosta7](https://github.com/mattcosta7)! - TextInput: Improve typing performance by deriving the character counter in render instead of in effects, removing extra re-renders on each keystroke.
384
+
385
+ ## 38.29.0
386
+
387
+ ### Minor Changes
388
+
389
+ - [#8009](https://github.com/primer/react/pull/8009) [`2cf75b5`](https://github.com/primer/react/commit/2cf75b5e81218b55252ccd87beac6b2103326917) Thanks [@joshblack](https://github.com/joshblack)! - Update CSS build options to compile down :is() selectors
390
+
391
+ - [#7994](https://github.com/primer/react/pull/7994) [`8cb7f6d`](https://github.com/primer/react/commit/8cb7f6d9e1314e8c9b3bddeabebbf6a93fb4f768) Thanks [@TylerJDev](https://github.com/TylerJDev)! - ActionList: Adds `tooltipDirection` prop to `ActionList.TrailingAction`
392
+
393
+ - [#7867](https://github.com/primer/react/pull/7867) [`4ec4248`](https://github.com/primer/react/commit/4ec4248b9c1ae662b761385110f1fd7ad7480a2f) Thanks [@llastflowers](https://github.com/llastflowers)! - Add data-component attributes and associated tests for ActionMenu, AnchoredOverlay, Autocomplete, and NavList
394
+
395
+ - [#7897](https://github.com/primer/react/pull/7897) [`1f7b8af`](https://github.com/primer/react/commit/1f7b8af8127a859c472b3972ebe9fce934246c38) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Add support for the `as` prop on `TreeView.Item`. This enables rendering the
396
+ treeitem as a different element (e.g. `as="a"` for native anchors, or a custom
397
+ router-link component) while preserving all existing keyboard, focus, and ARIA
398
+ behavior.
399
+
400
+ When `as` is omitted, the existing markup is unchanged: an `<li>` is rendered
401
+ as the `role="treeitem"` element. When `as` is provided, the polymorphic
402
+ element is rendered as the treeitem and is wrapped in an `<li role="none">`
403
+ so the markup remains valid (a `<ul role="tree">` may only directly contain
404
+ `<li>` elements).
405
+
406
+ ### Patch Changes
407
+
408
+ - [#7976](https://github.com/primer/react/pull/7976) [`1fac927`](https://github.com/primer/react/commit/1fac9270c497c1904acbb3eb60805630aab82a97) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - NavList: add a small gap between items for readability, including before expanded sub-navs, behind the `primer_react_action_list_item_gap` feature flag
409
+
410
+ - [#7999](https://github.com/primer/react/pull/7999) [`eada357`](https://github.com/primer/react/commit/eada3574ff15bfd7680602f34e19308ea766a972) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Breadcrumbs: Improve rendering performance and refresh the overflow menu when breadcrumb content changes without changing the number of items.
411
+
412
+ - [#7929](https://github.com/primer/react/pull/7929) [`48c34ca`](https://github.com/primer/react/commit/48c34ca452a5449b0ba901783edb169b6a1e1882) Thanks [@joshblack](https://github.com/joshblack)! - FilteredActionList: Make body skeleton widths stable for server rendering
413
+
414
+ - [#7985](https://github.com/primer/react/pull/7985) [`969c874`](https://github.com/primer/react/commit/969c8749b40a8f5075dd9ca91314cde5c41e3814) Thanks [@joshblack](https://github.com/joshblack)! - AnchoredOverlay: Render the popover target attribute correctly for popover anchors
415
+
416
+ - [#7984](https://github.com/primer/react/pull/7984) [`06fdad4`](https://github.com/primer/react/commit/06fdad432ad274878b15921d3ee25a157c61e70d) Thanks [@joshblack](https://github.com/joshblack)! - CircleBadge, ActionList: Prevent internal props from rendering on DOM elements
417
+
418
+ - [#7978](https://github.com/primer/react/pull/7978) [`e3f655c`](https://github.com/primer/react/commit/e3f655c6735ffd1bd105b8e7599e273bb1eee4d1) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - PageHeader.ParentLink: Forward unknown props (e.g. `to`) to the underlying element, enabling client-side routing with polymorphic `as`.
419
+
420
+ - [#7930](https://github.com/primer/react/pull/7930) [`f32ac0f`](https://github.com/primer/react/commit/f32ac0f4d623a78c9e92c43e0f13e654eb5ce2ca) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Blankslate: reduce `size="small"` padding to `var(--base-size-16)` for denser layouts
421
+
422
+ ## 38.28.0
423
+
424
+ ### Minor Changes
425
+
426
+ - [#7888](https://github.com/primer/react/pull/7888) [`45be31b`](https://github.com/primer/react/commit/45be31b561b2c1280b182531069e8a84364a4185) Thanks [@TylerJDev](https://github.com/TylerJDev)! - AnchoredOverlay: Extend `cssAnchorPositioningSettings` with a `fallbackStrategy` (`'default' | 'none' | 'opposite-side'`) to control CSS anchor positioning fallback behavior when native CSS anchor positioning is active.
427
+
428
+ - [#7923](https://github.com/primer/react/pull/7923) [`6a7e130`](https://github.com/primer/react/commit/6a7e13051139ba06e48391edc0b05ef555b814b9) Thanks [@dylanatsmith](https://github.com/dylanatsmith)! - Card: Add `layout="compact"` prop for a compact card layout with tighter spacing, no icon background, and smaller title
429
+
430
+ - [#7922](https://github.com/primer/react/pull/7922) [`55b7b04`](https://github.com/primer/react/commit/55b7b04647af9d7812e9ff77605524048358039c) Thanks [@dylanatsmith](https://github.com/dylanatsmith)! - InlineMessage: Make `variant` prop optional, defaulting to the standard foreground color with an info icon
431
+
432
+ - [#7889](https://github.com/primer/react/pull/7889) [`3af5edc`](https://github.com/primer/react/commit/3af5edc56dd21aaa16c7c1676c4627c4ecd6f0f2) Thanks [@llastflowers](https://github.com/llastflowers)! - Add data-component attributes and associated tests for PageHeader, PageLayout, Pagehead, Popover, Portal, and ProgressBar
433
+
434
+ - [#7964](https://github.com/primer/react/pull/7964) [`0f0f79f`](https://github.com/primer/react/commit/0f0f79f5da92087e636cde0d0709479c9c68d2d1) Thanks [@TylerJDev](https://github.com/TylerJDev)! - AnchoredOverlay: Add `cssAnchorPositioningSettings` prop to allow opting out of native CSS anchor positioning (via `disable`), and use it in `SelectPanel` so the `modal` variant stays manually centered instead of being repositioned by CSS anchor positioning.
435
+
436
+ ### Patch Changes
437
+
438
+ - [#7918](https://github.com/primer/react/pull/7918) [`95986ce`](https://github.com/primer/react/commit/95986ce22eaca6f4cb2122a00d51ec93d72f2dfe) Thanks [@jonrohan](https://github.com/jonrohan)! - Autocomplete: Keep the typed text instead of restoring the full inline suggestion when the input loses focus, matching the behavior of pressing Escape
439
+
440
+ - [#7971](https://github.com/primer/react/pull/7971) [`2087e87`](https://github.com/primer/react/commit/2087e87c9fe869a59fc1dcb0546ee25a14767006) Thanks [@francinelucca](https://github.com/francinelucca)! - ThemeProvider: Skip rendering the SSR handoff script when the `primer_react_theme_provider_remove_ssr_handoff` feature flag is enabled
441
+
442
+ - [#7910](https://github.com/primer/react/pull/7910) [`0c38cfa`](https://github.com/primer/react/commit/0c38cfaeabab347e48d4e34c200739e32efa73a2) Thanks [@janmaarten-a11y](https://github.com/janmaarten-a11y)! - Timeline: Add `primer_react_timeline_list_semantics` feature flag to opt into list semantics
443
+
444
+ When the `primer_react_timeline_list_semantics` feature flag is enabled, `Timeline` renders as `<ol role="list">` and `Timeline.Item` / `Timeline.Break` render as `<li>` so screen reader users get list navigation (total item count, position in sequence). The default behavior is unchanged — `Timeline` and its subcomponents still render as `<div>` until the flag is opted into.
445
+
446
+ Enable the flag with the `FeatureFlags` provider:
447
+
448
+ ```tsx
449
+ import {FeatureFlags} from '@primer/react/experimental'
450
+ ;<FeatureFlags flags={{primer_react_timeline_list_semantics: true}}>
451
+ <Timeline>…</Timeline>
452
+ </FeatureFlags>
453
+ ```
454
+
455
+ ## 38.27.0
456
+
457
+ ### Minor Changes
458
+
459
+ - [#7900](https://github.com/primer/react/pull/7900) [`49a546f`](https://github.com/primer/react/commit/49a546fcb3901c139a3abe8f1daea7b5f3427f5d) Thanks [@mattcosta7](https://github.com/mattcosta7)! - `PageLayout.Sidebar` (and `SplitPageLayout.Sidebar`): add controlled-width support via `currentWidth` + `onResizeEnd`, matching the discriminated-union API already on `PageLayout.Pane`. The underlying `usePaneWidth` hook already supported these options; this wires them through the component's prop surface. Existing usage is unchanged — the props are opt-in and the uncontrolled (default or `widthStorageKey`-backed) behavior is preserved exactly.
460
+
461
+ - [#7906](https://github.com/primer/react/pull/7906) [`adc5299`](https://github.com/primer/react/commit/adc5299f3d98519119fb9547e50dd2985fc96174) Thanks [@jonrohan](https://github.com/jonrohan)! - Text: Add `whiteSpace` prop to control the CSS `white-space` property
462
+
463
+ ### Patch Changes
464
+
465
+ - [#7915](https://github.com/primer/react/pull/7915) [`f58e448`](https://github.com/primer/react/commit/f58e448961df15e28b4a69950de84d478e2664af) Thanks [@jonrohan](https://github.com/jonrohan)! - Dialog: Fix `Escape` key not closing the dialog on the first keypress when the close button is focused
466
+
467
+ - [#7908](https://github.com/primer/react/pull/7908) [`e9a2254`](https://github.com/primer/react/commit/e9a225421df61e7fa62da1b2796972122d266d36) Thanks [@jonrohan](https://github.com/jonrohan)! - `KeybindingHint`: display the `Meta` key correctly on platforms other than macOS and Windows. The `Meta`, `Alt`, and `Mod` keys are now resolved based on the detected platform: Apple platforms (macOS and iOS) show `⌘`/`⌥`, Windows shows `Win`, and all other platforms show `Meta`/`Alt`.
468
+
469
+ - [#7894](https://github.com/primer/react/pull/7894) [`af4541d`](https://github.com/primer/react/commit/af4541d991c6e583dbf510bd0a0699f244ea00b2) Thanks [@mattcosta7](https://github.com/mattcosta7)! - ActionList: Replace `:has(...)` selectors on `ActionList.Item`, `InactiveButtonWrap`, and `TrailingActionButton` with JS-derived data attributes (`data-has-trailing-action`, `data-trailing-action-loading`, `data-position`, `data-has-label`). Reduces style-recalculation cost on lists that render many items. No visual or behavioral changes.
470
+
471
+ - [#7899](https://github.com/primer/react/pull/7899) [`9659ce7`](https://github.com/primer/react/commit/9659ce767760d85c033e43e7e8ecdfdfb452dcb1) Thanks [@mattcosta7](https://github.com/mattcosta7)! - `TreeView`: make rows safer to use with `contain: paint` / `content-visibility: auto` and reduce style-recalc cost on hover/focus in large trees. No visual or layout changes; all changes are either invisible at the default rendering or behind an opt-in CSS containment property the consumer sets.
472
+
473
+ - The current-item indicator (positioned at `left: -8px` of the row container) was being clipped when a consumer applied `contain: paint` to the `<li>` or when the documented `containIntrinsicSize` prop on `TreeView.Item` triggered `content-visibility: auto` on the row container — including for `current` items. Both `.TreeViewItem` and `.TreeViewItemContainer` now declare `overflow-clip-margin: var(--base-size-8)`, which extends the paint-clip edge by 8px on the side the indicator paints. The property is a no-op when no paint containment is active, so default rendering is byte-identical.
474
+ - Skeleton-row hover suppression no longer relies on `:has(.TreeViewItemSkeleton)`, which forced subtree invalidation on every row. `LoadingItem` now communicates with the placeholder `Item` via a module-private context that emits a positive `data-loading` attribute on the `<li>`, and the CSS selector targets that directly. No new public prop.
475
+ - Nesting indicator lines no longer use a root-scope `:hover`/`:focus-within` descendant selector. Color is driven by an inherited `--tree-line-color` custom property set on the root `<ul>`, so a hover or focus change inside the tree updates one property on one element instead of re-matching `.TreeViewItemLevelLine` selectors against every level line in the tree.
476
+ - Fixed a unitless `outline-offset: -2` in the forced-colors focus-ring fallback that browsers were silently dropping (so forced-colors users now actually get a focus indicator on tree items).
477
+ - `.TreeViewItemContainer`'s `grid-template-columns` now declares the `trailingAction` column explicitly (`auto`) so it matches the 5-area `grid-template-areas` declaration (previously the trailing column was implicit `auto`).
478
+
479
+ ## 38.26.0
480
+
481
+ ### Minor Changes
482
+
483
+ - [#7869](https://github.com/primer/react/pull/7869) [`23fba52`](https://github.com/primer/react/commit/23fba52138e3314d058187e8d07d011e6889e1e2) Thanks [@adierkens](https://github.com/adierkens)! - Slot system consistency improvements:
484
+
485
+ - Remove orphan `__SLOT__` markers from root components that no parent scans for: `ActionMenu` (root `Menu`), `UnderlinePanels` (root), `Autocomplete` is unchanged (still used as a `FormControl` child), `PageLayout` (root), `SegmentedControl` (root), `RadioGroup` (root), `CheckboxGroup` (root), and `Dialog` (root). Sub-component markers are intentionally retained so consumers can keep wrapping them.
486
+ - Standardize `Symbol(...)` descriptions used as slot markers to the `Parent.Slot` convention: `CheckboxOrRadioGroupLabel` → `CheckboxOrRadioGroup.Label`, `CheckboxOrRadioGroupCaption` → `CheckboxOrRadioGroup.Caption`, `CheckboxOrRadioGroupValidation` → `CheckboxOrRadioGroup.Validation`, `DEPRECATED_Tooltip` → `Tooltip`, and `Table` → `DataTable.Table`.
487
+ - Migrate `PageHeader`, `NavList.Item`, and the internal `CheckboxOrRadioGroup` to use the `useSlots` hook instead of hand-rolling `React.Children` traversal with `isSlot`. The `CheckboxOrRadioGroup` migration also removes duplicated work where `useSlots` was already called but slots were re-extracted by hand immediately after.
488
+ - Export `useSlots`, `isSlot`, `asSlot`, and the `WithSlotMarker`/`FCWithSlotMarker` types publicly from `@primer/react` so downstream consumers can build their own slot-aware compound components.
489
+ - Add `asSlot(component, slotSource)` helper: a typed utility that copies a `__SLOT__` marker from a source slot component onto a wrapper component, replacing the cast-heavy `(Wrapper as typeof Wrapper & {__SLOT__?: symbol}).__SLOT__ = Source.__SLOT__` pattern.
490
+ - Add a dev-mode warning in `useSlots` when a child's `displayName` matches a slot component's `displayName` but the child is missing the `__SLOT__` marker — a common footgun when wrapping slot components.
491
+
492
+ - [#7898](https://github.com/primer/react/pull/7898) [`da27739`](https://github.com/primer/react/commit/da2773915b5d299fd5971322f41dc9a2cfb8a13a) Thanks [@francinelucca](https://github.com/francinelucca)! - ThemeProvider: Add `contextOnly` prop to opt out of rendering the wrapping `<div>` with `data-*` theme attributes
493
+
494
+ - [#7886](https://github.com/primer/react/pull/7886) [`64dfbd3`](https://github.com/primer/react/commit/64dfbd307314d4c52c2072d0f72611a5da3e6739) Thanks [@janmaarten-a11y](https://github.com/janmaarten-a11y)! - Add `Timeline.Actions` sub-component for rendering action buttons, links, SHAs, status labels, and similar right-aligned content on a `Timeline.Item`. Renders as a horizontal flex row pushed to the right edge of the item with `gap: 8px` between children and `min-height` matching the badge so contents vertically center against it.
495
+
496
+ - [#7885](https://github.com/primer/react/pull/7885) [`9d2cb53`](https://github.com/primer/react/commit/9d2cb53c06f172598dc96be11ac0441c338e5341) Thanks [@janmaarten-a11y](https://github.com/janmaarten-a11y)! - Add `Timeline.Avatar` sub-component for rendering an actor avatar in the left gutter of a `Timeline.Item`. Accepts any React children and is absolutely positioned so it does not affect badge or body layout. Consumers must reserve roughly 72px of left padding around the `Timeline` for the avatar to be visible.
497
+
498
+ ### Patch Changes
499
+
500
+ - [#7864](https://github.com/primer/react/pull/7864) [`e7205ea`](https://github.com/primer/react/commit/e7205ea51b02fb1b7ac9de2df122f7ba67ebe078) Thanks [@mattcosta7](https://github.com/mattcosta7)! - Eliminate nested-update cascades in `useFocus`, `PageLayout.Pane`, and
501
+ `AnchoredOverlay`:
502
+
503
+ - `useFocus` no longer produces a second re-render after focusing; one
504
+ `focus()` call now results in exactly one render instead of two.
505
+ - `PageLayout.Pane` (resizable) no longer triggers a forced re-render
506
+ before paint on mount. The CSS variable and ARIA attributes are still
507
+ updated synchronously in the layout effect; the React state sync is
508
+ wrapped in `startTransition` so it runs in the transition lane rather
509
+ than as part of the layout-effect commit.
510
+ - `AnchoredOverlay` no longer keeps `useAnchoredPosition`'s scroll
511
+ listeners and `ResizeObserver` attached while it is closed. After an
512
+ open→close cycle, the first scroll/resize event no longer fires a
513
+ spurious `setPosition(undefined)` that re-renders the closed overlay.
514
+
515
+ Also adds a profiler-based test harness at
516
+ `src/utils/testing/profiler.tsx` so future regressions can be pinned with
517
+ `counter.updateCount` and `counter.nestedUpdateCount` assertions.
518
+
519
+ - [#7892](https://github.com/primer/react/pull/7892) [`4dd08af`](https://github.com/primer/react/commit/4dd08af9e4942962ebb253050b1807c13382dc76) Thanks [@TylerJDev](https://github.com/TylerJDev)! - AnchoredOverlay: Disable CSS anchor positioning if related CSS rules are not supported
520
+
521
+ - [#7878](https://github.com/primer/react/pull/7878) [`8c468fd`](https://github.com/primer/react/commit/8c468fd28322456f48601f9cbf6226fc4c35b661) Thanks [@mattcosta7](https://github.com/mattcosta7)! - FilteredActionList: Guard against `undefined` items in the virtualizer's `getItemKey` callback to prevent a crash when `@tanstack/react-virtual` invokes it with an index whose item was just removed (e.g. when filtering shrinks the items list).
522
+
523
+ - [#7893](https://github.com/primer/react/pull/7893) [`0eef204`](https://github.com/primer/react/commit/0eef20484e5e26d0b6edb89dca68c538e7e898c6) Thanks [@mattcosta7](https://github.com/mattcosta7)! - Button: Replace the icon-only-with-counter `:has(...):not(:has(...))` selector with a `data-icon-only-counter` attribute computed from props. Reduces style-recalculation cost on pages that render many Buttons. No visual or behavioral changes.
524
+
525
+ - [#7896](https://github.com/primer/react/pull/7896) [`673514b`](https://github.com/primer/react/commit/673514bf6743067d9db887a2c57e675a7e2a52f8) Thanks [@mattcosta7](https://github.com/mattcosta7)! - TextInput / TextInputWithTokens / Select / Autocomplete: Replace chained `:not([data-leading-visual])`, `:not([data-trailing-visual])`, and `:not([data-trailing-action])` attribute negations in `TextInputWrapper` styles with positive `data-no-leading-visual`, `data-no-trailing-visual`, and `data-no-trailing-action` markers emitted by the wrapper components. Eliminates the 2- and 3-deep `:not()` chains that previously evaluated against every input on every state change. No visual or behavioral changes.
526
+
527
+ - [#7876](https://github.com/primer/react/pull/7876) [`980e94c`](https://github.com/primer/react/commit/980e94cc1de7807bb2b3fc4dd006ea8dbf3e8303) Thanks [@mattcosta7](https://github.com/mattcosta7)! - UnderlinePanels: Eliminate the empty-tablist frame on mount and the cascading
528
+ re-render when icons toggle. Tabs and panels are now derived in render
529
+ (previously stored in state synced via `useEffect`), the list width is kept
530
+ in a ref instead of state, and `iconsVisible` / `loadingCounters` flow to
531
+ each tab via context — combined with `React.memo(Tab)`, that makes
532
+ resize-driven icon toggles update only the part of each tab that depends on
533
+ the change, not the whole tablist subtree. Behavior is unchanged.
534
+
535
+ - [#7874](https://github.com/primer/react/pull/7874) [`8cc7e99`](https://github.com/primer/react/commit/8cc7e998d2dbde1fb927b598755810b534702a6a) Thanks [@mattcosta7](https://github.com/mattcosta7)! - Dev-only effects (the `if (__DEV__) { useEffect(...) }` pattern with an
536
+ `eslint-disable react-hooks/rules-of-hooks` comment at every call site) are
537
+ now expressed via a new internal `useDevOnlyEffect` hook. The lint
538
+ suppression lives in the wrapper, the effect is dropped from production by
539
+ the consumer's `process.env.NODE_ENV` replacement, and call sites get
540
+ `react-hooks/exhaustive-deps` lint via `additionalEffectHooks`. No public
541
+ API changes.
542
+
543
+ ## 38.25.0
544
+
545
+ ### Minor Changes
546
+
547
+ - [#7852](https://github.com/primer/react/pull/7852) [`5504680`](https://github.com/primer/react/commit/5504680614bacc2ce3eecaaa55d10887e6fb152d) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Card: Add `data-component` attributes to `Card` and its subcomponents (`Icon`, `Image`, `Heading`, `Description`, `Metadata`, `Menu`). Add an `as` prop (`'div' | 'section'`) so standalone Cards can render as a labelled region landmark; `as="section"` requires `aria-label` or `aria-labelledby`. `Card` now requires `children`. Also improves docs and stories.
548
+
549
+ ### Patch Changes
550
+
551
+ - [#7858](https://github.com/primer/react/pull/7858) [`1ce2906`](https://github.com/primer/react/commit/1ce2906d1816ba443eacfede67d496d074b8d2fb) Thanks [@TylerJDev](https://github.com/TylerJDev)! - AnchoredOverlay: Add additional fallbacks for CSS Anchor Positioning
552
+
553
+ - [#7843](https://github.com/primer/react/pull/7843) [`fc571fd`](https://github.com/primer/react/commit/fc571fd8c3899f19a1dd9e77b8a22f6528d776e2) Thanks [@joshblack](https://github.com/joshblack)! - Update useMergedRefs so that in React 18 no warning is emitted
554
+
555
+ ## 38.24.0
556
+
557
+ ### Minor Changes
558
+
559
+ - [#7829](https://github.com/primer/react/pull/7829) [`228019c`](https://github.com/primer/react/commit/228019cac474e94558e571c325692d3b40ca4488) Thanks [@adierkens](https://github.com/adierkens)! - ActionList: Add `ActionList.GroupHeading.TrailingAction` for header-level actions on grouped lists. Closes #2043.
560
+
561
+ When the `primer_react_action_list_group_heading_trailing_action` feature flag is enabled, you can place an `ActionList.GroupHeading.TrailingAction` (a small invisible `IconButton`) inside `ActionList.GroupHeading` to render a uniform square action target next to the group's heading. Only supported inside an `ActionList` with the default `list` role — using it inside `ActionMenu` or with `role="listbox"` will throw.
562
+
563
+ ```tsx
564
+ <ActionList>
565
+ <ActionList.Group>
566
+ <ActionList.GroupHeading as="h3">
567
+ Custom fields
568
+ <ActionList.GroupHeading.TrailingAction label="New field" icon={PlusIcon} />
569
+ </ActionList.GroupHeading>
570
+ <ActionList.Item>...</ActionList.Item>
571
+ </ActionList.Group>
572
+ </ActionList>
573
+ ```
574
+
575
+ - [#7838](https://github.com/primer/react/pull/7838) [`8ddf1b0`](https://github.com/primer/react/commit/8ddf1b0b0082e43ffb83c572877f38eb6e9e30c3) Thanks [@llastflowers](https://github.com/llastflowers)! - Add data-component attributes and associated tests for Hidden, InlineMessage, KeybindingHint, Label, and LabelGroup
576
+
577
+ - [#7776](https://github.com/primer/react/pull/7776) [`d6f61c1`](https://github.com/primer/react/commit/d6f61c1e197b52eb75cff97299bfac4caedcc1ac) Thanks [@llastflowers](https://github.com/llastflowers)! - Add `data-component` attributes for Blankslate, BranchName, Breadcrumbs, ButtonGroup, Checkbox, CheckboxGroup, CircleBadge, ConfirmationDialog, CounterLabel, and Dialog to provide stable selectors.
578
+
579
+ - [#7816](https://github.com/primer/react/pull/7816) [`aef8548`](https://github.com/primer/react/commit/aef85486a77a544ab36fcc18470dc06bf2502b09) Thanks [@iansan5653](https://github.com/iansan5653)! - Replace `ActionBar` overflow calculations with CSS wrapping approach to improve performance and stability
580
+
581
+ - [#7831](https://github.com/primer/react/pull/7831) [`0de97c2`](https://github.com/primer/react/commit/0de97c25ae2adb026b04f7cac46463779ff023a1) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Dialog: Support custom width values.
582
+
583
+ - [#7819](https://github.com/primer/react/pull/7819) [`8ed6149`](https://github.com/primer/react/commit/8ed6149b45093449c6e12a71a374618fe282d6a1) Thanks [@llastflowers](https://github.com/llastflowers)! - Add `data-component` attributes for Details, Flash, FormControl (+ update InputValidation to forward from FormControl.Validation), Header, and Heading.
584
+
585
+ ### Patch Changes
586
+
587
+ - [#7842](https://github.com/primer/react/pull/7842) [`635357e`](https://github.com/primer/react/commit/635357e7d2963bb594718a754fb7f53c1f917c41) Thanks [@joshblack](https://github.com/joshblack)! - DataTable: Treat zero as a populated value when sorting numeric columns
588
+
589
+ - [#7824](https://github.com/primer/react/pull/7824) [`6889235`](https://github.com/primer/react/commit/6889235fac93f17cfd0354758f4f9a1e6ff01942) Thanks [@jonrohan](https://github.com/jonrohan)! - Fix `usePaneWidth` triggering unnecessary React re-renders on every window resize
590
+
591
+ - [#7833](https://github.com/primer/react/pull/7833) [`dfed7ca`](https://github.com/primer/react/commit/dfed7ca73532922ec0526dd85afcf7ae471c566e) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Timeline: Remove border override from TimelineBadge when variant is set
592
+
593
+ ## 38.23.0
594
+
595
+ ### Minor Changes
596
+
597
+ - [#7817](https://github.com/primer/react/pull/7817) [`51a7a28`](https://github.com/primer/react/commit/51a7a28a8c1a44d80cffe774783dfff1d436a1d1) Thanks [@francinelucca](https://github.com/francinelucca)! - - ActionList: Expand `selectableRoles` and `listRoleTypes` to include `treeitem` and `tree`.
598
+ - Export `ActionListContainerContext` as `ActionList.ContainerContext`.
599
+ - Export `useRovingTabIndex` from the public API with additional configuration options (`preventScroll` and `dependencies`).
600
+
601
+ ### Patch Changes
602
+
603
+ - [#7805](https://github.com/primer/react/pull/7805) [`8f8844e`](https://github.com/primer/react/commit/8f8844ef69a52b0462bf76cee389e61bb02de2d7) Thanks [@TylerJDev](https://github.com/TylerJDev)! - AnchoredOverlay: Disables CSS anchor positioning if `portalContainerName` is true. (behind `primer_react_css_anchor_positioning` feature flag)
604
+
605
+ - [#7800](https://github.com/primer/react/pull/7800) [`ce88bdf`](https://github.com/primer/react/commit/ce88bdf3191aaee0ad662803f285a4e77810ce9e) Thanks [@francinelucca](https://github.com/francinelucca)! - chore: add `primer_react_styled_react_use_primer_theme_providers` feature flag to DefaultFeatureFlags
606
+
607
+ - [#7802](https://github.com/primer/react/pull/7802) [`872bf46`](https://github.com/primer/react/commit/872bf464c0cdf2144b680ffe309ef4ad2ac1b5ac) Thanks [@TylerJDev](https://github.com/TylerJDev)! - AnchoredOverlay: Ensure overlay fits within viewport by calculating viewport height + width (behind `primer_react_css_anchor_positioning` feature flag)
608
+
609
+ ## 38.22.0
610
+
611
+ ### Minor Changes
612
+
613
+ - [#7755](https://github.com/primer/react/pull/7755) [`0e868f9`](https://github.com/primer/react/commit/0e868f9c34ee6d073485e81651a16e92d3ff822c) Thanks [@francinelucca](https://github.com/francinelucca)! - feat: add ActionList, SelectPanel primitives exports and new FilteredActionList.Input components
614
+
615
+ ### Patch Changes
616
+
617
+ - [#7797](https://github.com/primer/react/pull/7797) [`3e05935`](https://github.com/primer/react/commit/3e059351a65b18e99d006facc1863feb94be0a7e) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Breadcrumbs overflow menu no longer appears when there are only two crumb items.
618
+
619
+ - [#7511](https://github.com/primer/react/pull/7511) [`eb73dee`](https://github.com/primer/react/commit/eb73deea0c9f8fb0fdb44b28445eebc748a39443) Thanks [@RSoeborg](https://github.com/RSoeborg)! - Fix NavList parent item flicker during static-to-interactive transitions when navigating between current sub-items in a SubNav.
620
+
621
+ - [#7619](https://github.com/primer/react/pull/7619) [`68aaf61`](https://github.com/primer/react/commit/68aaf617ebbeeb36aa5a7eb4b696d0061f6c2674) Thanks [@hectahertz](https://github.com/hectahertz)! - Memoize ActionMenu context values to prevent unnecessary re-renders of menu items
622
+
623
+ - [#7708](https://github.com/primer/react/pull/7708) [`d0fa0ff`](https://github.com/primer/react/commit/d0fa0ff2301b3db7a4b66e7aabf3ff544ffb4ef2) Thanks [@hectahertz](https://github.com/hectahertz)! - perf(css): audit :has() selectors and add stylelint guard for Safari
624
+
625
+ - [#7775](https://github.com/primer/react/pull/7775) [`4b7e4ca`](https://github.com/primer/react/commit/4b7e4ca0fe1dcbb687fff94a9c8cfe6951bb08f7) Thanks [@TylerJDev](https://github.com/TylerJDev)! - AnchoredOverlay: Ensure styles persist on anchors even when re-mounted (behind feature flag)
626
+
627
+ - [#7780](https://github.com/primer/react/pull/7780) [`8330aad`](https://github.com/primer/react/commit/8330aadeba6231bf916a9c93757f89018838ebb4) Thanks [@francinelucca](https://github.com/francinelucca)! - fix: Checkbox indeterminate state now persists on click if the state didn't change
628
+
629
+ ## 38.21.1
630
+
631
+ ### Patch Changes
632
+
633
+ - [#7770](https://github.com/primer/react/pull/7770) [`619175c`](https://github.com/primer/react/commit/619175c00dece144573fe5afbe4cd51e524a6c3d) Thanks [@LisaKr](https://github.com/LisaKr)! - Defer `useAnchoredPosition` initial mount setState from useLayoutEffect to useEffect when overlay is closed, eliminating unnecessary cascading re-renders that block paint.
634
+
635
+ ## 38.21.0
636
+
637
+ ### Minor Changes
638
+
639
+ - [#7760](https://github.com/primer/react/pull/7760) [`b2e0efd`](https://github.com/primer/react/commit/b2e0efd04c61e526d8e7db6bc773f9b4ab155d72) Thanks [@siddharthkp](https://github.com/siddharthkp)! - Deprecate the `useResponsiveValue` hook.
640
+
641
+ - [#7724](https://github.com/primer/react/pull/7724) [`d813099`](https://github.com/primer/react/commit/d813099b7377be4eed329b4276e8b231054326c8) Thanks [@francinelucca](https://github.com/francinelucca)! - Add stable `data-component` selectors to multiple components following ADR-023:
642
+
643
+ - **ActionBar**
644
+ - **ActionList** and friends
645
+ - **Button**
646
+ - **FilteredActionList** and friends
647
+ - **Link**
648
+ - **LinkButton**
649
+ - **Pagination**
650
+ - **SelectPanel** and friends
651
+ - **Table** and friends
652
+ - **TextInput**
653
+ - **TextInputWithTokens**
654
+ - **TooltipV2**
655
+
656
+ This enables consumers to query and test components using stable selectors like `[data-component="Table.Row"]`.
657
+
658
+ - [#7766](https://github.com/primer/react/pull/7766) [`b3f06f1`](https://github.com/primer/react/commit/b3f06f1e2c91125c7b6b035bd019f534219d358f) Thanks [@TylerJDev](https://github.com/TylerJDev)! - AnchoredOverlay: (Behind feature flag) Make popover API usage opt-in
659
+
660
+ - [#7763](https://github.com/primer/react/pull/7763) [`b288d6e`](https://github.com/primer/react/commit/b288d6e2dc9d1eef345ef4d16f6b0fba4f165955) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Add borderRadius prop to Card component.
661
+
662
+ ### Patch Changes
663
+
664
+ - [#7714](https://github.com/primer/react/pull/7714) [`e974d9f`](https://github.com/primer/react/commit/e974d9f6d156805dbda9639a3fe6091a02a1a754) Thanks [@hectahertz](https://github.com/hectahertz)! - perf(ActionList): replace :has() selector with JS-computed attribute
665
+
666
+ - [#7754](https://github.com/primer/react/pull/7754) [`9e3fe4b`](https://github.com/primer/react/commit/9e3fe4b501ce5affb558bf92697e5c79341903ca) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Breadcrumbs: On narrow viewports, only show the current page breadcrumb and the overflow menu when `overflow="menu"` is set.
667
+
668
+ - [#7757](https://github.com/primer/react/pull/7757) [`ed82a1e`](https://github.com/primer/react/commit/ed82a1e0399b98428d4b794239bb37649806b5cc) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - SelectPanel: Lock body scroll when modal variant is on.
669
+
670
+ - [#7734](https://github.com/primer/react/pull/7734) [`421ebf0`](https://github.com/primer/react/commit/421ebf0a54558a29f1efbe1850036f80b1bbe126) Thanks [@llastflowers](https://github.com/llastflowers)! - add data-component attributes for Avatar, AvatarStack, Banner, & BaseStyles
671
+
672
+ ## 38.20.0
673
+
674
+ ### Minor Changes
675
+
676
+ - [#7723](https://github.com/primer/react/pull/7723) [`ec6c88f`](https://github.com/primer/react/commit/ec6c88fe3eb3ef349500617c90378712f802376d) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Add Card component with subcomponents: Card.Icon, Card.Image, Card.Heading, Card.Description, Card.Menu, and Card.Metadata
677
+
678
+ - [#7725](https://github.com/primer/react/pull/7725) [`d7b9313`](https://github.com/primer/react/commit/d7b9313b53e370e258c152084ac1f0402d64b77f) Thanks [@TylerJDev](https://github.com/TylerJDev)! - AnchoredOverlay: Remove polyfill for CSS Anchor Positioning, use primer/behaviors as fallback. Ensure overlays take available space.
679
+
680
+ - [#7752](https://github.com/primer/react/pull/7752) [`d7380a7`](https://github.com/primer/react/commit/d7380a7616a6c0cf861b5fe3dd9bd8d76470ca2e) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Breadcrumbs: Graduate `primer_react_breadcrumbs_overflow_menu` feature flag, making the overflow menu behavior always-on.
681
+
682
+ - [#7733](https://github.com/primer/react/pull/7733) [`b9211db`](https://github.com/primer/react/commit/b9211db173841c9d9a531c777c5ce2c0cd8af60f) Thanks [@francinelucca](https://github.com/francinelucca)! - Overlay: Graduate `primer_react_overlay_max_height_clamp_to_viewport` feature flag
683
+
684
+ The max-height of overlays is now clamped to the viewport height by default using `min(size, 100dvh)`. This prevents overlays from extending beyond the viewport on smaller screens.
685
+
686
+ - [#7698](https://github.com/primer/react/pull/7698) [`5c34ab4`](https://github.com/primer/react/commit/5c34ab45c8744d7d038d63773adff324015f5643) Thanks [@hectahertz](https://github.com/hectahertz)! - Timeline: add `variant` prop to `Timeline.Badge` for built-in color schemes (`accent`, `success`, `attention`, `severe`, `danger`, `done`, `open`, `closed`, `sponsors`)
687
+
688
+ ### Patch Changes
689
+
690
+ - [#7738](https://github.com/primer/react/pull/7738) [`f5f2869`](https://github.com/primer/react/commit/f5f28691d9e5c9f8495e8c592635d2b616f7cb49) Thanks [@francinelucca](https://github.com/francinelucca)! - ActionMenu, Table: Fix component mutation issue where `Object.assign` was modifying original `@primer/react` components. Now uses wrapper components to avoid side effects.
691
+
692
+ - [#7747](https://github.com/primer/react/pull/7747) [`b7dfb78`](https://github.com/primer/react/commit/b7dfb78079c50c6798aa4e09212aede701bf6c56) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Fix IssueLabelToken text contrast in light theme by updating the lightness-switch formula to use a division-based approach that properly produces a binary switch value for selecting black vs white text
693
+
694
+ - [#7739](https://github.com/primer/react/pull/7739) [`efa7af8`](https://github.com/primer/react/commit/efa7af8d1e628cddc2f0356de83e7af5568ff358) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Spinner: Remove feature flag `primer_react_spinner_synchronize_animations`, treat it as always enabled.
695
+
696
+ - [#7746](https://github.com/primer/react/pull/7746) [`30206c4`](https://github.com/primer/react/commit/30206c4fab92de8888f3f103f9b05bff96fdc1b9) Thanks [@jonrohan](https://github.com/jonrohan)! - Update TokenTextContainer `line-height` to use primer primitives CSS variable `var(--base-text-lineHeight-normal)`
697
+
698
+ ## 38.19.0
699
+
700
+ ### Minor Changes
701
+
702
+ - [#7677](https://github.com/primer/react/pull/7677) [`c1a81b1`](https://github.com/primer/react/commit/c1a81b178742ba547b85a3df3ed3c27bcff6b7c5) Thanks [@TylerJDev](https://github.com/TylerJDev)! - AnchoredOverlay: Add Popover API to AnchoredOverlay (behind `primer_react_css_anchor_positioning` feature flag)
703
+
704
+ - [#7697](https://github.com/primer/react/pull/7697) [`990ce7b`](https://github.com/primer/react/commit/990ce7b625bcf90ef3867e93086d0c74835a9068) Thanks [@hectahertz](https://github.com/hectahertz)! - **Stack**: Add `tight` (4px) and `cozy` (12px) spacing values to `gap` and `padding` props. Add `paddingBlock` and `paddingInline` props for directional padding control.
705
+
706
+ ### Patch Changes
707
+
708
+ - [#7652](https://github.com/primer/react/pull/7652) [`5d19e2b`](https://github.com/primer/react/commit/5d19e2bb5bbd444f2e82d98eef300c221863941c) Thanks [@owenniblock](https://github.com/owenniblock)! - useAnchoredPosition: recalculate overlay position when any scrollable ancestor (or the window) is scrolled.
709
+
710
+ - [#7707](https://github.com/primer/react/pull/7707) [`6431bfe`](https://github.com/primer/react/commit/6431bfecd72e24db1dfa90b02f8a42834e63843b) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Fix anchor-name not being set on the anchor element when SelectPanel is opened in Copilot code agent.
711
+
712
+ - [#7633](https://github.com/primer/react/pull/7633) [`a107d39`](https://github.com/primer/react/commit/a107d398e0574b5f8085485c96b27a168061eb50) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Graduate `primer_react_css_has_selector_perf` feature flag: the CSS `:has()` performance optimization (`body[data-dialog-scroll-disabled]`) is now the default behavior for Dialog scroll disabling
713
+
714
+ - [#7695](https://github.com/primer/react/pull/7695) [`780fc3d`](https://github.com/primer/react/commit/780fc3d7b52fd0f9b63f313af6355398180a0118) Thanks [@mattcosta7](https://github.com/mattcosta7)! - perf(ThemeProvider): Reduce unnecessary renders and effect cascades
715
+
716
+ - Replace `useState` + `useEffect` SSR hydration handoff with `useSyncExternalStore` — eliminates post-hydration re-render
717
+ - Replace `useState` + `useEffect` in `useSystemColorMode` with `useSyncExternalStore` — eliminates effect gap and stale-then-update flicker
718
+ - Cache `getServerHandoff` DOM read + JSON.parse per ID (runs once, not on every call)
719
+ - Memoize context value object to prevent unnecessary re-renders of all consumers
720
+
721
+ - [#7706](https://github.com/primer/react/pull/7706) [`fd8910a`](https://github.com/primer/react/commit/fd8910abff851f43d19805ceaa439a9a18c4f226) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - ActionList.Item: fix inline descriptions being referenced via `aria-labelledby` instead of `aria-describedby`
722
+
723
+ ## 38.18.0
724
+
725
+ ### Minor Changes
726
+
727
+ - [#7700](https://github.com/primer/react/pull/7700) [`91bf343`](https://github.com/primer/react/commit/91bf343210483be373f7ec5ce1ba652518a9ce4c) Thanks [@francinelucca](https://github.com/francinelucca)! - ActionMenu: Graduate `primer_react_action_menu_display_in_viewport_inside_dialog` feature flag. ActionMenu now automatically uses `displayInViewport` when rendered inside a Dialog, without requiring the feature flag.
728
+
729
+ - [#7699](https://github.com/primer/react/pull/7699) [`1505d9b`](https://github.com/primer/react/commit/1505d9b06bbcbb1d6bf87b4d21461d79b71eff10) Thanks [@francinelucca](https://github.com/francinelucca)! - SelectPanel: Add `displayInViewport` prop
730
+
731
+ - [#7662](https://github.com/primer/react/pull/7662) [`39c8cf3`](https://github.com/primer/react/commit/39c8cf30254268d770422b9d890d96da51d35d89) Thanks [@HiroAgustin](https://github.com/HiroAgustin)! - Timeline: Update `clipSidebar` prop to accept `'start'`, `'end'`, or `'both'` in addition to `boolean`. Use `'start'` to only clip the top, `'end'` to only clip the bottom, or `'both'`/`true` to clip both ends.
732
+
733
+ ### Patch Changes
734
+
735
+ - [#7690](https://github.com/primer/react/pull/7690) [`b492cc8`](https://github.com/primer/react/commit/b492cc82efdb68189a070dfa7fcd88f18cc9d7b4) Thanks [@HiroAgustin](https://github.com/HiroAgustin)! - fix(Button): Apply inline-flex display to loading wrapper for link variant buttons
736
+
737
+ - [#7696](https://github.com/primer/react/pull/7696) [`1acb7d3`](https://github.com/primer/react/commit/1acb7d3dc416094e481ac9b45d3fa45ebd527c86) Thanks [@francinelucca](https://github.com/francinelucca)! - Fix item dividers not visible in SelectPanel and FilteredActionList when `showItemDividers` is enabled, caused by `content-visibility: auto` clipping the absolutely-positioned divider pseudo-elements.
738
+
739
+ - [#7683](https://github.com/primer/react/pull/7683) [`f05fcac`](https://github.com/primer/react/commit/f05fcacedafe8a9a1af9caa6a762403d47851250) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Dialog: dynamically switch footer button layout based on available height.
740
+
741
+ - [#7676](https://github.com/primer/react/pull/7676) [`35ca056`](https://github.com/primer/react/commit/35ca05690910ffb8286a2aeef01c043af377a6c2) Thanks [@HiroAgustin](https://github.com/HiroAgustin)! - Remove link underline effect on hover for both Link (inline) and Button with variant link (no visuals)
742
+
743
+ - [#7631](https://github.com/primer/react/pull/7631) [`0ecaf6f`](https://github.com/primer/react/commit/0ecaf6f64c50235081416515b7d5b6b2e364b33f) Thanks [@mattcosta7](https://github.com/mattcosta7)! - Add test to validate that the `muted` prop is not leaked as a bare DOM attribute on `Link`
744
+
745
+ ## 38.17.0
746
+
747
+ ### Minor Changes
748
+
749
+ - [#7658](https://github.com/primer/react/pull/7658) [`259fdff`](https://github.com/primer/react/commit/259fdff67550e328b851129a78e87413ddb07229) Thanks [@hussam-i-am](https://github.com/hussam-i-am)! - fix(polymorphic): Improve prop passthrough for ActionList.LinkItem and Breadcrumbs.Item
750
+
751
+ - [#7672](https://github.com/primer/react/pull/7672) [`77735f9`](https://github.com/primer/react/commit/77735f975c71b267130899fc1fd7b47bcb5f062d) Thanks [@iansan5653](https://github.com/iansan5653)! - - New: Exposes new `useMergedRefs` hook that can merge two refs into a single combined ref
752
+
753
+ - Deprecates `useRefObjectAsForwardedRef`; see doc comment for migration instructions
754
+ - Deprecates `useProvidedRefOrCreate`; see doc comment for migration instructions
755
+
756
+ - [#7623](https://github.com/primer/react/pull/7623) [`42847d1`](https://github.com/primer/react/commit/42847d1bb943c2db6d2309dfd604e8d3ab55d387) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - `IconButton`: `keybindingHint` now accepts `string[]` in addition to `string`. Multiple hints are rendered joined with "or".
757
+
758
+ ### Patch Changes
759
+
760
+ - [#7510](https://github.com/primer/react/pull/7510) [`8fa988b`](https://github.com/primer/react/commit/8fa988ba613117874657af722ef6de768b0e0eb8) Thanks [@francinelucca](https://github.com/francinelucca)! - chore: ensure max-height does not surpass viewport height in Overlay, ActionMenu under feature flag
761
+
762
+ - [#7682](https://github.com/primer/react/pull/7682) [`8aed331`](https://github.com/primer/react/commit/8aed331f9dcb8c51d86bf531f7e331a6ccd23d9a) Thanks [@llastflowers](https://github.com/llastflowers)! - Update CheckboxOrRadioGroup.tsx to add `required` announcement
763
+
764
+ ## 38.16.0
765
+
766
+ ### Minor Changes
767
+
768
+ - [#7661](https://github.com/primer/react/pull/7661) [`dceb79c`](https://github.com/primer/react/commit/dceb79c5e0f8ab5c25bbc9727bc3207fb77d520e) Thanks [@TylerJDev](https://github.com/TylerJDev)! - AnchoredOverlay: Add CSS Anchor Positioning to `AnchoredOverlay` (under a feature flag)
769
+
770
+ ## 38.15.1
771
+
772
+ ### Patch Changes
773
+
774
+ - [#7625](https://github.com/primer/react/pull/7625) [`2e8c707`](https://github.com/primer/react/commit/2e8c70702d5096551049c29c8e79749bf63a919f) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Banner: stack inline actions vertically on narrow viewports.
775
+
776
+ - [#7554](https://github.com/primer/react/pull/7554) [`f34f0c3`](https://github.com/primer/react/commit/f34f0c37c2bb144e34b029696c580ee8104dbce6) Thanks [@hectahertz](https://github.com/hectahertz)! - perf(ActionList): memoize context values, menuItemProps, and aria attributes
777
+
778
+ - [#7598](https://github.com/primer/react/pull/7598) [`4b345db`](https://github.com/primer/react/commit/4b345db228997b66c381f7d03369f87ee25fdf02) Thanks [@hectahertz](https://github.com/hectahertz)! - perf(Banner): replace `:has(.BannerActions)` with `[data-has-actions]` attribute selector
779
+
780
+ - [#7597](https://github.com/primer/react/pull/7597) [`adadd38`](https://github.com/primer/react/commit/adadd380043c637d431e30643e910e7b4ec7fe03) Thanks [@hectahertz](https://github.com/hectahertz)! - perf(Button): replace `:has(.Visual)` with `[data-no-visuals]` attribute selector in link variant styling
781
+
782
+ - [#7599](https://github.com/primer/react/pull/7599) [`e6513c2`](https://github.com/primer/react/commit/e6513c2a8a5b99e61c9009e0e3c7112a7388a295) Thanks [@hectahertz](https://github.com/hectahertz)! - perf(Dialog): replace `:has(.Footer)` with `[data-has-footer]` attribute selector for footer border detection
783
+
784
+ - [#7620](https://github.com/primer/react/pull/7620) [`ec0b789`](https://github.com/primer/react/commit/ec0b7890b45ca939c24d6236d94a69d9006c3a64) Thanks [@hectahertz](https://github.com/hectahertz)! - Use stable object reference for DialogContext value to prevent unnecessary re-renders
785
+
786
+ - [#7621](https://github.com/primer/react/pull/7621) [`235126a`](https://github.com/primer/react/commit/235126abbd271e0a6e1e95110f40d72c193c6d24) Thanks [@hectahertz](https://github.com/hectahertz)! - Memoize SelectPanel overlayProps, focusTrapSettings, and preventBubbling to reduce allocations on re-renders
787
+
788
+ - [#7600](https://github.com/primer/react/pull/7600) [`0d7cc92`](https://github.com/primer/react/commit/0d7cc92b474185c7efa09871b42c6a97a9326be6) Thanks [@hectahertz](https://github.com/hectahertz)! - perf(TextInput): skip redundant character counter updates
789
+
790
+ - [#7654](https://github.com/primer/react/pull/7654) [`a09a60c`](https://github.com/primer/react/commit/a09a60cb8218adf8fe2ab71e46da76fbf8331bc6) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - SelectPanel: use `100dvh` and `env(safe-area-inset-bottom)` in fullscreen-on-narrow mode to prevent content from being obscured by iOS Safari's browser chrome.
791
+
792
+ - [#7545](https://github.com/primer/react/pull/7545) [`17ec46f`](https://github.com/primer/react/commit/17ec46f77524f3ad5e1789102bdf2dbaf47eab49) Thanks [@hectahertz](https://github.com/hectahertz)! - perf(TreeView): defer scrollIntoView to coalesce reflows during rapid navigation
793
+
794
+ ## 38.15.0
795
+
796
+ ### Minor Changes
797
+
798
+ - [#7524](https://github.com/primer/react/pull/7524) [`f7bdd1c`](https://github.com/primer/react/commit/f7bdd1c04f8cbb17b6a913ba55f7d0855c8eebf1) Thanks [@francinelucca](https://github.com/francinelucca)! - chore: always render ActionMenu in viewport when inside Dialog under feature flag
799
+
800
+ - [#7594](https://github.com/primer/react/pull/7594) [`1e54bdf`](https://github.com/primer/react/commit/1e54bdf72c9466f23c567cfdc73b7b5c243782a4) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Add `align` and `style` props to Dialog component
801
+
802
+ ### Patch Changes
803
+
804
+ - [#7529](https://github.com/primer/react/pull/7529) [`7e108fe`](https://github.com/primer/react/commit/7e108fea1a9f92ce22f46ff1d55bfe4753d89ad8) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Add keyboard-accessible tooltip for truncated ActionList.Description
805
+
806
+ - [#7585](https://github.com/primer/react/pull/7585) [`3dd2c78`](https://github.com/primer/react/commit/3dd2c78f768ad560ee0f37947af2c17ca8d7938c) Thanks [@iansan5653](https://github.com/iansan5653)! - - Fixes a bug where `ActionBar` menu items would be out of order if new items were mounted after the initial render
807
+
808
+ - Improves initial render performance for `ActionBar`
809
+
810
+ - [#7624](https://github.com/primer/react/pull/7624) [`f6d4311`](https://github.com/primer/react/commit/f6d431194d217fbb7d456e58bcbbcbb434896fe1) Thanks [@llastflowers](https://github.com/llastflowers)! - Fix FormControl + SelectPanel accessible name to address SR issues
811
+
812
+ - [#7617](https://github.com/primer/react/pull/7617) [`79c855a`](https://github.com/primer/react/commit/79c855abeb6f46d3fefafb236f00ea65dfcd1ed4) Thanks [@llastflowers](https://github.com/llastflowers)! - Push margin-top of TimelineBody +1px
813
+
814
+ - [#7635](https://github.com/primer/react/pull/7635) [`74762e2`](https://github.com/primer/react/commit/74762e265a44b4fa46fcb4db8fd5194cb81b14c4) Thanks [@iansan5653](https://github.com/iansan5653)! - Fix(useRefObjectAsForwardedRef): fix ref failing to update when target changes
815
+
816
+ - [#7550](https://github.com/primer/react/pull/7550) [`9585669`](https://github.com/primer/react/commit/958566907a580b54b484ff2339b32315b8a3b4b7) Thanks [@hectahertz](https://github.com/hectahertz)! - perf(Spinner): replace Web Animations API with CSS animation-delay sync
817
+
818
+ - [#7618](https://github.com/primer/react/pull/7618) [`17a103c`](https://github.com/primer/react/commit/17a103c0726ff2903e008a69dfd141461f99591f) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - TextInputWithTokens: announce selected token values for screen readers.
819
+
820
+ - [#7588](https://github.com/primer/react/pull/7588) [`e649da3`](https://github.com/primer/react/commit/e649da3c89b38f477fb574acf5bb06a49b41ee9d) Thanks [@lukasoppermann](https://github.com/lukasoppermann)! - ToggleSwitch: Updated with a 1px space around the knob to work better with updated primitives.
821
+
822
+ ## 38.14.0
823
+
824
+ ### Minor Changes
825
+
826
+ - [#7531](https://github.com/primer/react/pull/7531) [`0cfb938`](https://github.com/primer/react/commit/0cfb938704ec7589b6453a23ba8a9f2c8ab7d824) Thanks [@hectahertz](https://github.com/hectahertz)! - SelectPanel: Add built-in client-side list virtualization via a new `virtualized` prop. When enabled, only the visible items plus a small overscan buffer are rendered in the DOM, dramatically improving performance for large lists.
827
+
828
+ ### Patch Changes
829
+
830
+ - [#7497](https://github.com/primer/react/pull/7497) [`931740b`](https://github.com/primer/react/commit/931740bc6d96dd3bb6f335ea98eedd4b64eb1859) Thanks [@hectahertz](https://github.com/hectahertz)! - Remove render phase setStates on SelectPanel
831
+
832
+ - [#7532](https://github.com/primer/react/pull/7532) [`39a2151`](https://github.com/primer/react/commit/39a21512f71083649bdb00b1d3a6c05e40ec5bfb) Thanks [@hectahertz](https://github.com/hectahertz)! - **PageLayout**: Eliminate forced reflow (~614ms) on mount by replacing `getComputedStyle` call with a pure JS viewport width check for the `--pane-max-width-diff` CSS variable.
833
+
834
+ - [#7555](https://github.com/primer/react/pull/7555) [`64c2243`](https://github.com/primer/react/commit/64c2243d07fc580a5565493b917b27081ef6a191) Thanks [@hectahertz](https://github.com/hectahertz)! - perf(useSlots): short-circuit iteration and skip filled slots
835
+
836
+ - [#7547](https://github.com/primer/react/pull/7547) [`4943d67`](https://github.com/primer/react/commit/4943d671ddb590461e59f9745e6093d47e770f7a) Thanks [@hectahertz](https://github.com/hectahertz)! - perf(useScrollFlash): defer scroll read/write to requestAnimationFrame to avoid forced reflow
837
+
838
+ - [#7497](https://github.com/primer/react/pull/7497) [`931740b`](https://github.com/primer/react/commit/931740bc6d96dd3bb6f335ea98eedd4b64eb1859) Thanks [@hectahertz](https://github.com/hectahertz)! - Improve SelectPanel performance
839
+
840
+ - [#7551](https://github.com/primer/react/pull/7551) [`2fbfc49`](https://github.com/primer/react/commit/2fbfc49fad6f11edc51850e32e9c0b2ade8ca1f1) Thanks [@hectahertz](https://github.com/hectahertz)! - perf(Text): remove unnecessary useRef and useImperativeHandle hooks
841
+
842
+ - [#7571](https://github.com/primer/react/pull/7571) [`59ab235`](https://github.com/primer/react/commit/59ab235cb8089442652daca33746b11cea3e6a5f) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - AnchoredOverlay: changed `overflow` from `hidden` to `auto` to prevent content clipping at small viewports.
843
+
844
+ - [#7553](https://github.com/primer/react/pull/7553) [`6225ba2`](https://github.com/primer/react/commit/6225ba231cfdbe6ef7fa41dd62734d5a970bdc7d) Thanks [@hectahertz](https://github.com/hectahertz)! - perf(useRefObjectAsForwardedRef): add dependency array to useImperativeHandle
845
+
846
+ ## 38.13.0
847
+
848
+ ### Minor Changes
849
+
850
+ - [#7099](https://github.com/primer/react/pull/7099) [`4720c2f`](https://github.com/primer/react/commit/4720c2f27cfacc7600244422ee22af9104b5aa09) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Banner: Use `aria-labelledby` to reference the title for the landmark region instead of generic variant labels.
851
+
852
+ - [#7521](https://github.com/primer/react/pull/7521) [`12dda86`](https://github.com/primer/react/commit/12dda8654b07bffc33e6b8f29580914c95f3e8e2) Thanks [@TylerJDev](https://github.com/TylerJDev)! - PageLayout: Add `PageLayout.Sidebar` sub-component
853
+
854
+ ### Patch Changes
855
+
856
+ - [#7537](https://github.com/primer/react/pull/7537) [`4fd987c`](https://github.com/primer/react/commit/4fd987c4194f51dc7e66f16895542a1e4678bde7) Thanks [@hectahertz](https://github.com/hectahertz)! - perf(ActionList): enable React Compiler
857
+
858
+ - [#7546](https://github.com/primer/react/pull/7546) [`86d6897`](https://github.com/primer/react/commit/86d68971a602be6c99535eb01227bf48dd87cfdc) Thanks [@hectahertz](https://github.com/hectahertz)! - perf(Announce): skip getComputedStyle when there is no text content to announce
859
+
860
+ - [#7568](https://github.com/primer/react/pull/7568) [`aa46098`](https://github.com/primer/react/commit/aa460989194e6bb2c0e15e16023a07cf7fc42dc0) Thanks [@HiroAgustin](https://github.com/HiroAgustin)! - Blankslate: Add `text-wrap: balance` to Heading and Description
861
+
862
+ - [#7552](https://github.com/primer/react/pull/7552) [`551ec63`](https://github.com/primer/react/commit/551ec6338af5c45e3f549245d85a4dd5a708df47) Thanks [@hectahertz](https://github.com/hectahertz)! - perf(Button): fix CounterLabel remount and remove conditional DEV hook
863
+
864
+ - [#7504](https://github.com/primer/react/pull/7504) [`d91e78e`](https://github.com/primer/react/commit/d91e78e8d1e69915222354b95d09d93d269dbd8b) Thanks [@TylerJDev](https://github.com/TylerJDev)! - UnderlineNav: Adds `overflow: hidden` when the "More" button isn't present
865
+
866
+ - [#7526](https://github.com/primer/react/pull/7526) [`0c2358a`](https://github.com/primer/react/commit/0c2358aa12a409f7cbcf15ce4fd41cbb9eee4b6c) Thanks [@hectahertz](https://github.com/hectahertz)! - Add `content-visibility: auto` to ActionList items to improve rendering performance for large lists by allowing the browser to skip layout and paint for off-screen items.
867
+
868
+ - [#7556](https://github.com/primer/react/pull/7556) [`6dc1858`](https://github.com/primer/react/commit/6dc1858538e3b7ea66b78dd9d37c391c530d78ae) Thanks [@hectahertz](https://github.com/hectahertz)! - perf(ActionList): replace `:has([aria-disabled])` child scan with `data-is-disabled` attribute for faster style recalculation
869
+
870
+ - [#7548](https://github.com/primer/react/pull/7548) [`d4b32c3`](https://github.com/primer/react/commit/d4b32c3672d3d5421711324654c1028527dcdf38) Thanks [@hectahertz](https://github.com/hectahertz)! - perf(useIsMacOS): replace useState+useEffect with useSyncExternalStore to eliminate unnecessary re-render
871
+
872
+ ## 38.12.0
873
+
874
+ ### Minor Changes
875
+
876
+ - [#7348](https://github.com/primer/react/pull/7348) [`3c160b2`](https://github.com/primer/react/commit/3c160b26bded975de6175ccf04272e8946cef54e) Thanks [@mattcosta7](https://github.com/mattcosta7)! - Add `currentWidth` and `onResizeEnd` props to PageLayout.Pane for controlled resizable width
877
+
878
+ The `PageLayout.Pane` component now supports controlled width:
879
+
880
+ - `onResizeEnd` — callback fired when a resize operation ends (pointer release or keyboard key up). Replaces localStorage persistence. Requires `currentWidth`.
881
+ - `currentWidth` — sets the current displayed width in pixels (`number | undefined`). Pass `undefined` when the persisted value hasn't loaded yet. Requires `onResizeEnd`.
882
+
883
+ Both props must be provided together (enforced by TypeScript). `resizable` remains a plain `boolean` prop.
884
+
885
+ These props are only meaningful when `resizable={true}` — without it, no drag handle renders so `onResizeEnd` never fires.
886
+
887
+ **New export:**
888
+
889
+ - `defaultPaneWidth` — Record of preset width values: `{small: 256, medium: 296, large: 320}`
890
+
891
+ **Example usage:**
892
+
893
+ ```tsx
894
+ import {PageLayout, defaultPaneWidth} from '@primer/react'
895
+
896
+ // Default behavior (unchanged) — localStorage persistence
897
+ <PageLayout.Pane resizable />
898
+
899
+ // Controlled width with custom persistence
900
+ const [width, setWidth] = useState(defaultPaneWidth.medium)
901
+ <PageLayout.Pane
902
+ resizable
903
+ currentWidth={width}
904
+ onResizeEnd={(newWidth) => {
905
+ setWidth(newWidth)
906
+ myStorage.save('pane-width', newWidth)
907
+ }}
908
+ />
909
+
910
+ // Async load — pass undefined until value is fetched
911
+ <PageLayout.Pane
912
+ resizable
913
+ currentWidth={savedWidth ?? undefined}
914
+ onResizeEnd={handleResizeEnd}
915
+ />
916
+ ```
917
+
918
+ ### Patch Changes
919
+
920
+ - [#7527](https://github.com/primer/react/pull/7527) [`c87db98`](https://github.com/primer/react/commit/c87db981280090cdccc84d19c607d1462212d223) Thanks [@llastflowers](https://github.com/llastflowers)! - Update PageHeader story to have semantic headings
921
+
922
+ - [#7535](https://github.com/primer/react/pull/7535) [`d86c970`](https://github.com/primer/react/commit/d86c970be94dc47da55d492dc978d63d3f9ca005) Thanks [@francinelucca](https://github.com/francinelucca)! - fix: ActionBar overflow menu not closing on select
923
+
924
+ ## 38.11.0
925
+
926
+ ### Minor Changes
927
+
928
+ - [#7509](https://github.com/primer/react/pull/7509) [`2e563b4`](https://github.com/primer/react/commit/2e563b44ac9e671f3f7fbf4f51a9612deb019db9) Thanks [@francinelucca](https://github.com/francinelucca)! - feat: implement displayInViewport for ActionMenu and AnchoredOverlay
929
+
930
+ ### Patch Changes
931
+
932
+ - [#7501](https://github.com/primer/react/pull/7501) [`81ab065`](https://github.com/primer/react/commit/81ab065b734a7d919fd9ce42cee1ced648160d12) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Fix PageLayout horizontal overflow by adding width constraint to ContentWrapper
933
+
934
+ - [#7483](https://github.com/primer/react/pull/7483) [`fe999ca`](https://github.com/primer/react/commit/fe999ca362d21447506798a024ac8e1b8709399a) Thanks [@francinelucca](https://github.com/francinelucca)! - remove primer_react_overlay_overflow FF from the codebase
935
+
936
+ ## 38.10.0
937
+
938
+ ### Minor Changes
939
+
940
+ - [#7488](https://github.com/primer/react/pull/7488) [`fe85519`](https://github.com/primer/react/commit/fe85519ff23c23294a524e2ddceef042eb3c3608) Thanks [@koesie10](https://github.com/koesie10)! - DataTable: Add `externalSorting` prop to disable client-side sorting
941
+
942
+ ## 38.9.0
943
+
944
+ ### Minor Changes
945
+
946
+ - [#7472](https://github.com/primer/react/pull/7472) [`661d16f`](https://github.com/primer/react/commit/661d16f4a8afc46cae40e06299877d46864ea1c9) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - StateLabel: Add alert status variants (alertOpened, alertFixed, alertClosed, alertDismissed) with corresponding shield icons for displaying security alert states
947
+
948
+ ### Patch Changes
949
+
950
+ - [#7471](https://github.com/primer/react/pull/7471) [`df4bd30`](https://github.com/primer/react/commit/df4bd30874275245f1300573f4f4694b0be78ad5) Thanks [@llastflowers](https://github.com/llastflowers)! - Add breakpoint to shrink gutter around dialog on very small screen heights
951
+
952
+ - [#7468](https://github.com/primer/react/pull/7468) [`731fb71`](https://github.com/primer/react/commit/731fb718593ddd24cf1962c31c7746e3add54d6a) Thanks [@jonrohan](https://github.com/jonrohan)! - feat(ActionList): Optimizes CSS selector performance in ActionList by replacing expensive universal selectors (`*`) and broad `:has()` queries with targeted class selectors.
953
+
954
+ ## 38.8.0
955
+
956
+ ### Minor Changes
957
+
958
+ - [#7455](https://github.com/primer/react/pull/7455) [`a86c183`](https://github.com/primer/react/commit/a86c183f5ea7add7584f895cff3027a7db35675e) Thanks [@HiroAgustin](https://github.com/HiroAgustin)! - Remove ConfirmationDialog custom renders to ensure visual parity with Dialog
959
+
960
+ - [#7438](https://github.com/primer/react/pull/7438) [`160c1c4`](https://github.com/primer/react/commit/160c1c4cf1c5111dd46b68471d49733f47f524cc) Thanks [@francinelucca](https://github.com/francinelucca)! - feat: make Spinner's delay customizable
961
+
962
+ - [#7436](https://github.com/primer/react/pull/7436) [`9a4e46c`](https://github.com/primer/react/commit/9a4e46cf902a5c2e046ca7771211536ae0bd08ed) Thanks [@TylerJDev](https://github.com/TylerJDev)! - FilteredActionList: Adds new prop `scrollBehavior` to allow customization of scroll behavior
963
+
964
+ - [#7448](https://github.com/primer/react/pull/7448) [`838859d`](https://github.com/primer/react/commit/838859d8ee2afc2afca71a28114020a14a68b297) Thanks [@francinelucca](https://github.com/francinelucca)! - feat(SkeletonBox): add customizable delay
965
+
966
+ ### Patch Changes
967
+
968
+ - [#7451](https://github.com/primer/react/pull/7451) [`0fc4523`](https://github.com/primer/react/commit/0fc45237ef3f912c86663817eb8983875b4c8d7e) Thanks [@daantosaurus](https://github.com/daantosaurus)! - UnderlineNav.Item: Fix layout issues when children contain React elements by extracting only direct text content for the `data-content` attribute.
969
+
970
+ ## 38.7.1
971
+
972
+ ### Patch Changes
973
+
974
+ - [#7439](https://github.com/primer/react/pull/7439) [`ceb4337`](https://github.com/primer/react/commit/ceb433733de4dd19effa619b2b4e5bda129a8c6d) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Fix PageLayout whitespace gap on narrow viewports.
975
+
976
+ - [#7364](https://github.com/primer/react/pull/7364) [`d239382`](https://github.com/primer/react/commit/d239382a6c6df8e97cabdb6f1be4009c2ea15d2c) Thanks [@francinelucca](https://github.com/francinelucca)! - fix(Autocomplete.Overlay): prevent user-defined className from overriding default styles
977
+
978
+ - [#7408](https://github.com/primer/react/pull/7408) [`e3592d9`](https://github.com/primer/react/commit/e3592d96e0252285dc8e70bb6e69f95199928a74) Thanks [@TylerJDev](https://github.com/TylerJDev)! - ActionMenu: Ensures that uncontrolled ActionMenu(s) retain tab-focus when fullscreen
979
+
980
+ - [#7445](https://github.com/primer/react/pull/7445) [`4072e44`](https://github.com/primer/react/commit/4072e44c74056b7a4e81bd8bba276c165a71c4ba) Thanks [@mattcosta7](https://github.com/mattcosta7)! - Fixed a bug where scroll might jump when resizing by removing content-visibility from dragging elements in PageLayout.
981
+
982
+ - [#7431](https://github.com/primer/react/pull/7431) [`43d1d89`](https://github.com/primer/react/commit/43d1d89506476c0ccd5f4c4e4d59589e62715b1c) Thanks [@llastflowers](https://github.com/llastflowers)! - Fix positioning of Autocomplete overlay menu when tokens are present
983
+
984
+ ## 38.7.0
985
+
986
+ ### Minor Changes
987
+
988
+ - [#7293](https://github.com/primer/react/pull/7293) [`d418509`](https://github.com/primer/react/commit/d418509884c6eb725e08c818f494e5e15495d4a1) Thanks [@lindseywild](https://github.com/lindseywild)! - Adds character counts to TextInput and TextArea components
989
+
990
+ ### Patch Changes
991
+
992
+ - [#7354](https://github.com/primer/react/pull/7354) [`efbebdf`](https://github.com/primer/react/commit/efbebdf6589bf454ab78f17c83dc84ce88145e7b) Thanks [@llastflowers](https://github.com/llastflowers)! - update SelectPanel Multi Select Modal story
993
+
994
+ - [#7426](https://github.com/primer/react/pull/7426) [`094be60`](https://github.com/primer/react/commit/094be609691f481bfc3c3c4eeae092e38f27167c) Thanks [@kelsey-myers](https://github.com/kelsey-myers)! - Add focusPrependedElements prop to useFocusZone, FilteredActionList, and SelectPanel
995
+
996
+ - [#7349](https://github.com/primer/react/pull/7349) [`713d5a5`](https://github.com/primer/react/commit/713d5a5c5616e005cf8e939f33f8526210d3d634) Thanks [@mattcosta7](https://github.com/mattcosta7)! - PageLayout: Optimize drag/resize performance with inline styles and new optimizations
997
+
998
+ **Refactored:**
999
+
1000
+ - Use direct attribute selectors (`.Pane[data-dragging='true']`) instead of descendant selectors for CSS containment (O(1) vs O(n) selector matching)
1001
+ - Extract optimization utilities to `paneUtils.ts`
1002
+ - Apply drag handle visual feedback via inline styles and CSS variables
1003
+
1004
+ **Added:**
1005
+
1006
+ - `content-visibility: auto` during drag/resize to skip off-screen content rendering
1007
+ - rAF throttle for drag updates (one update per frame, latest position wins)
1008
+ - Containment during window resize (parity with drag)
1009
+
1010
+ These changes improve style recalculation performance on large DOMs (100k+ nodes) by eliminating descendant selector traversal.
1011
+
1012
+ - [#7337](https://github.com/primer/react/pull/7337) [`de970d6`](https://github.com/primer/react/commit/de970d6682f4e9a3aa5e3c637e0245da2a7a9d84) Thanks [@mattcosta7](https://github.com/mattcosta7)! - perf(Autocomplete): Split context to reduce unnecessary re-renders
1013
+
1014
+ Split AutocompleteContext into separate contexts for static values, setters, and dynamic state.
1015
+ Components now subscribe only to the context slices they need, reducing re-renders.
1016
+
1017
+ - [#7325](https://github.com/primer/react/pull/7325) [`cc7e10e`](https://github.com/primer/react/commit/cc7e10e7c0bee7ef9694ca94928446f704ada552) Thanks [@mattcosta7](https://github.com/mattcosta7)! - perf(BaseStyles): Remove expensive :has([data-color-mode]) selectors
1018
+
1019
+ Remove `:has([data-color-mode])` selectors that scanned the entire DOM on every style recalculation.
1020
+ Input color-scheme is already handled by global selectors in the codebase.
1021
+
1022
+ - [#7329](https://github.com/primer/react/pull/7329) [`501a41f`](https://github.com/primer/react/commit/501a41fc44e5c0edfca69af022676e0d26e1a1a0) Thanks [@mattcosta7](https://github.com/mattcosta7)! - perf(Dialog): Add feature flag for CSS :has() selector performance optimization
1023
+
1024
+ - Add `primer_react_css_has_selector_perf` feature flag (default: false)
1025
+ - When flag is OFF: uses legacy `body:has(.Dialog.DisableScroll)` selector
1026
+ - When flag is ON: uses optimized direct `body[data-dialog-scroll-disabled]` data attribute with ref counting
1027
+ - Enables gradual rollout and easy rollback of performance optimization
1028
+
1029
+ - [#7342](https://github.com/primer/react/pull/7342) [`a8b42b2`](https://github.com/primer/react/commit/a8b42b2e4cff9575eae8df897e64c1ca67ee180a) Thanks [@mattcosta7](https://github.com/mattcosta7)! - perf(hasInteractiveNodes): Optimize with combined selector and early attribute checks
1030
+
1031
+ - Use combined querySelectorAll selector instead of recursive traversal
1032
+ - Check attribute-based states (disabled, hidden, inert) before getComputedStyle
1033
+ - Only call getComputedStyle when CSS-based visibility check is needed
1034
+
1035
+ ## 38.6.2
1036
+
1037
+ ### Patch Changes
1038
+
1039
+ - [#7334](https://github.com/primer/react/pull/7334) [`ea4789f`](https://github.com/primer/react/commit/ea4789fb15b42c8138ff3703f7fb5f2aad9e3810) Thanks [@mattcosta7](https://github.com/mattcosta7)! - perf(TreeView): Cache tree items in typeahead for better INP
1040
+
1041
+ - Add useTreeItemCache hook to cache DOM queries for tree items
1042
+ - Update useRovingTabIndex and useTypeahead to use cached items
1043
+ - Add documentation for acceptable :has() selector usage
1044
+
1045
+ - [#7347](https://github.com/primer/react/pull/7347) [`72c7a7f`](https://github.com/primer/react/commit/72c7a7f74b0b2ea326a086252efa0027dbb04b78) Thanks [@owenniblock](https://github.com/owenniblock)! - Only shows the aria-describedby id for loading when the component is in the loading state
1046
+
1047
+ ## 38.6.1
1048
+
1049
+ ### Patch Changes
1050
+
1051
+ - [#7307](https://github.com/primer/react/pull/7307) [`5dcc87c`](https://github.com/primer/react/commit/5dcc87ca4befe911101e580da639b5c03d4ffdd6) Thanks [@mattcosta7](https://github.com/mattcosta7)! - reapplies PageLayout resizable enhancements without INP drop from expensive selectors
1052
+
1053
+ ## 38.6.0
1054
+
1055
+ ### Minor Changes
1056
+
1057
+ - [#7157](https://github.com/primer/react/pull/7157) [`eddd934`](https://github.com/primer/react/commit/eddd9340cab24ebf8054c79ca855028ed511c495) Thanks [@joshblack](https://github.com/joshblack)! - Add feature flag to control whether Spinner animations are synchronized
1058
+
1059
+ - [#7277](https://github.com/primer/react/pull/7277) [`4a1c9a5`](https://github.com/primer/react/commit/4a1c9a5e48cdce7059358cd37a6d7f3f23e20c43) Thanks [@kendallgassner](https://github.com/kendallgassner)! - Added callback prop onActiveDescendantChanged to FilteredActionList
1060
+
1061
+ ### Patch Changes
1062
+
1063
+ - [#7305](https://github.com/primer/react/pull/7305) [`335e9e8`](https://github.com/primer/react/commit/335e9e8eedc23de3041656acffb4873cd007f698) Thanks [@llastflowers](https://github.com/llastflowers)! - Revert PR #7275
1064
+
1065
+ ## 38.5.0
1066
+
1067
+ ### Minor Changes
1068
+
1069
+ - [#7240](https://github.com/primer/react/pull/7240) [`79a6df1`](https://github.com/primer/react/commit/79a6df1b1a8d73acd7036f23b756bb08b9367344) Thanks [@TylerJDev](https://github.com/TylerJDev)! - FilteredActionList: Adds new prop `setInitialFocus` which will prevent `aria-activedescendant` from being set until user action
1070
+
1071
+ - [#7240](https://github.com/primer/react/pull/7240) [`79a6df1`](https://github.com/primer/react/commit/79a6df1b1a8d73acd7036f23b756bb08b9367344) Thanks [@TylerJDev](https://github.com/TylerJDev)! - FilteredActionList: Add prop `disableSelectOnHover` which will disable the ability where hovering over an item sets it as the `aria-activedescendant` value
1072
+
1073
+ ### Patch Changes
1074
+
1075
+ - [#7259](https://github.com/primer/react/pull/7259) [`c32b964`](https://github.com/primer/react/commit/c32b964e64a4cbfa4c877f4ed844ada47be871dd) Thanks [@TylerJDev](https://github.com/TylerJDev)! - AvatarStack: Border was incorrectly applying to elements that were not `Avatar` children.
1076
+
1077
+ - [#7259](https://github.com/primer/react/pull/7259) [`c32b964`](https://github.com/primer/react/commit/c32b964e64a4cbfa4c877f4ed844ada47be871dd) Thanks [@TylerJDev](https://github.com/TylerJDev)! - AvatarStack: The square prop was not applying to individual `Avatar` components.
1078
+
1079
+ - [#7275](https://github.com/primer/react/pull/7275) [`822c3e7`](https://github.com/primer/react/commit/822c3e791a9fd18df6b9a834f9bbb87151ec8076) Thanks [@mattcosta7](https://github.com/mattcosta7)! - Improve drag performance for PageLayout
1080
+
1081
+ - [#7242](https://github.com/primer/react/pull/7242) [`32faa80`](https://github.com/primer/react/commit/32faa80d754db46fa5c6583fb9c72dc9a7d22581) Thanks [@pksjce](https://github.com/pksjce)! - useFocusTrap - Fix [bug related to restoring focus on scrolling](https://github.com/github/primer/issues/5200)
1082
+
1083
+ ## 38.4.0
1084
+
1085
+ ### Minor Changes
1086
+
1087
+ - [#7258](https://github.com/primer/react/pull/7258) [`8e66a2c`](https://github.com/primer/react/commit/8e66a2ca9fb711530c1392c8dcdc3faa6623b902) Thanks [@kendallgassner](https://github.com/kendallgassner)! - Make MappedActionListItem a forwardRef component
1088
+
1089
+ - [#7250](https://github.com/primer/react/pull/7250) [`a193d30`](https://github.com/primer/react/commit/a193d30cad6e308e2f0cc29ebdcc926ee057f0fb) Thanks [@siddharthkp](https://github.com/siddharthkp)! - Banner: Add `flush` prop for use within confined spaces, such as dialogs, tables, cards, or boxes where available space is limited.
1090
+
1091
+ - [#7247](https://github.com/primer/react/pull/7247) [`e1021e7`](https://github.com/primer/react/commit/e1021e7a5b65c605d98f025a30ef4fb5cce91024) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Add leadingVisual to InlineMessage component.
1092
+
1093
+ - [#7047](https://github.com/primer/react/pull/7047) [`c07dd71`](https://github.com/primer/react/commit/c07dd71e990323a1c73ec99c44752df43d153090) Thanks [@TylerJDev](https://github.com/TylerJDev)! - Remove the feature flag for `primer_react_segmented_control_tooltip` and GA tooltip by default behavior.
1094
+ - Ensure that when `disabled` is applied, the tooltip is still triggered.
1095
+
1096
+ ### Patch Changes
1097
+
1098
+ - [#7244](https://github.com/primer/react/pull/7244) [`d973c5a`](https://github.com/primer/react/commit/d973c5ad5aa59c66e1f609558b33a6b63880234a) Thanks [@lukasoppermann](https://github.com/lukasoppermann)! - "Update logic for how hex codes are applied"
1099
+
1100
+ - [#7230](https://github.com/primer/react/pull/7230) [`534ca11`](https://github.com/primer/react/commit/534ca119a2552bb71684c64d2e7481cf426023b6) Thanks [@mperrotti](https://github.com/mperrotti)! - Replaces 'aria-live' usage and removes internal LiveRegion component
1101
+
1102
+ - [#7267](https://github.com/primer/react/pull/7267) [`1d8759a`](https://github.com/primer/react/commit/1d8759aae8a3bdd1dc2b8bc8785867ca467b72b5) Thanks [@lukasoppermann](https://github.com/lukasoppermann)! - Used correct tokens for disabled radio control
1103
+
1104
+ - [#7241](https://github.com/primer/react/pull/7241) [`181f12e`](https://github.com/primer/react/commit/181f12e1244ea1f33559976ff16e32a1777e877d) Thanks [@francinelucca](https://github.com/francinelucca)! - fix(LabelGroup): add role and aria-label to hidden items overlay
1105
+
1106
+ ## 38.3.0
1107
+
1108
+ ### Minor Changes
1109
+
1110
+ - [#7200](https://github.com/primer/react/pull/7200) [`0a0c2a0`](https://github.com/primer/react/commit/0a0c2a0daa15ca51e370f638876c79c2c2bb4473) Thanks [@joshblack](https://github.com/joshblack)! - Add `leadingVisual` prop to `UnderlineNav.Item`
1111
+
1112
+ - [#7197](https://github.com/primer/react/pull/7197) [`9605a30`](https://github.com/primer/react/commit/9605a30605d0ecf688e4ae50c70a59622c1a4a08) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Deprecate `icon` prop in favor of `leadingVisual` and fix SecondaryAction styling in Banner.
1113
+
1114
+ - [#7220](https://github.com/primer/react/pull/7220) [`62fc3bb`](https://github.com/primer/react/commit/62fc3bb18d988e92786154a5368246782723bcea) Thanks [@kendallgassner](https://github.com/kendallgassner)! - Expose props to allow virtualization in the SelectPanel
1115
+
1116
+ - [#7177](https://github.com/primer/react/pull/7177) [`feb7001`](https://github.com/primer/react/commit/feb7001ccfb4e1f2a4d2f4a41f7acd622eaf784e) Thanks [@joshblack](https://github.com/joshblack)! - Add experimental TopicTag and TopicTag.Group components
1117
+
1118
+ ### Patch Changes
1119
+
1120
+ - [#6987](https://github.com/primer/react/pull/6987) [`cd5ab1b`](https://github.com/primer/react/commit/cd5ab1bc588cf111d13cb387c770ddb0b9f39d8e) Thanks [@kerimmoresh](https://github.com/kerimmoresh)! - docs: Fix Typos in comments
1121
+
1122
+ - [#7239](https://github.com/primer/react/pull/7239) [`2735220`](https://github.com/primer/react/commit/27352201b87227a5a1d85f77eca91bfd08cd4536) Thanks [@lukasoppermann](https://github.com/lukasoppermann)! - Center align header and description for BlankSlate
1123
+
1124
+ - [#7223](https://github.com/primer/react/pull/7223) [`f9fb9eb`](https://github.com/primer/react/commit/f9fb9eba8f1b2db8fddd9f6926edf77454146084) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - ActionBar: Add padding to Divider when gap="none".
1125
+
1126
+ - [#7134](https://github.com/primer/react/pull/7134) [`585c5fa`](https://github.com/primer/react/commit/585c5fa4864e8bb616495622da49beec009dfbe6) Thanks [@hectahertz](https://github.com/hectahertz)! - SegmentedControl: Remove useResponsiveValue hook from fullWidth and variant props to use `getResponsiveAttributes` instead.
1127
+
1128
+ - [#7211](https://github.com/primer/react/pull/7211) [`46a7ebe`](https://github.com/primer/react/commit/46a7ebed73ceb6805b863e14ad1ee24dfe9c60cf) Thanks [@langermank](https://github.com/langermank)! - Adjust `ActionList.Item` danger variant CSS to support trailing count/keybinding hint
1129
+
1130
+ - [#7246](https://github.com/primer/react/pull/7246) [`1667225`](https://github.com/primer/react/commit/166722526fe49c428af34eeb16e30d5e91103649) Thanks [@pksjce](https://github.com/pksjce)! - chore - Fix type compatibility with react 19 refs
1131
+
1132
+ ## 38.2.0
1133
+
1134
+ ### Minor Changes
1135
+
1136
+ - [#7185](https://github.com/primer/react/pull/7185) [`a05b1f9`](https://github.com/primer/react/commit/a05b1f98fa69153f430a2dbde9272c90a78a8423) Thanks [@lukasoppermann](https://github.com/lukasoppermann)! - CounterLabel: Add variant prop and deprecate scheme prop
1137
+
1138
+ - [#7165](https://github.com/primer/react/pull/7165) [`f2ba02a`](https://github.com/primer/react/commit/f2ba02a370154dc581c1567f93a4d14075ee5419) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Fixes multiple styling issues in the Token component.
1139
+
1140
+ - [#7194](https://github.com/primer/react/pull/7194) [`32cdcfc`](https://github.com/primer/react/commit/32cdcfc46ead068197495714364f03261dc438fa) Thanks [@francinelucca](https://github.com/francinelucca)! - feat(NavList): add support for inline and block description
1141
+
1142
+ - [#7143](https://github.com/primer/react/pull/7143) [`25a5f99`](https://github.com/primer/react/commit/25a5f99a8a624b066baa8e5b9961f96730f78be8) Thanks [@langermank](https://github.com/langermank)! - Adjust styling for button's that have nested keybinding hints
1143
+
1144
+ - [#7196](https://github.com/primer/react/pull/7196) [`70f5ffe`](https://github.com/primer/react/commit/70f5ffe1c017d034da3f5d00ecf333b9bb6ed95c) Thanks [@TylerJDev](https://github.com/TylerJDev)! - FilteredActionList: Remove `usingRemoveActiveDescendant` feature flag, add private prop
1145
+
1146
+ - [#7059](https://github.com/primer/react/pull/7059) [`fd3d09e`](https://github.com/primer/react/commit/fd3d09e3ef1a3774fb8c34ed562dcb52cfd3e0ba) Thanks [@jonrohan](https://github.com/jonrohan)! - feat(Spinner): Adds a delay prop to the Spinner component that delays rendering by 1000ms.
1147
+
1148
+ - [#7149](https://github.com/primer/react/pull/7149) [`5e6e04e`](https://github.com/primer/react/commit/5e6e04e9fe0a6c6b3eef166dbc88d5d695ac02f3) Thanks [@lukasoppermann](https://github.com/lukasoppermann)! - StateLabel: Add size prop and deprecate variant prop to align with APIs in other components.
1149
+
1150
+ - [#7142](https://github.com/primer/react/pull/7142) [`4f3be9c`](https://github.com/primer/react/commit/4f3be9c657c1a300c50266d90a65bdde9fcb8dc8) Thanks [@TylerJDev](https://github.com/TylerJDev)! - IconButton: Hide tooltip when a popup is open.
1151
+
1152
+ ### Patch Changes
1153
+
1154
+ - [#7102](https://github.com/primer/react/pull/7102) [`07c9e55`](https://github.com/primer/react/commit/07c9e5573c22c93aed1f1b5768bac755018fb0f5) Thanks [@mperrotti](https://github.com/mperrotti)! - Makes Button and LinkButton 'link' variant respect user underline preference
1155
+
1156
+ - [#7189](https://github.com/primer/react/pull/7189) [`424cbc5`](https://github.com/primer/react/commit/424cbc591ac3533c3d1d8467df4c1d2ee8c11f96) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Prevent focus reset on date/time input clicks in Safari.
1157
+
1158
+ - [#7180](https://github.com/primer/react/pull/7180) [`f051a39`](https://github.com/primer/react/commit/f051a39229f55d059d867b59bc468020eda09145) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Feature flags: Remove feature flag `primer_react_use_styled_react_theming`
1159
+
1160
+ - [#7198](https://github.com/primer/react/pull/7198) [`b1a8acc`](https://github.com/primer/react/commit/b1a8acc9471b569c12e0d1df4278f77e6b86e8b6) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Popover: add missing shadow
1161
+
1162
+ - [#7188](https://github.com/primer/react/pull/7188) [`9403294`](https://github.com/primer/react/commit/94032941033d328aadf1e7caa141eb8e24604485) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Remove unused `underline` prop from LinkButtonProps.
1163
+
1164
+ - [#7192](https://github.com/primer/react/pull/7192) [`b78167a`](https://github.com/primer/react/commit/b78167a6cf1489865657de795740279ab6d5a669) Thanks [@TylerJDev](https://github.com/TylerJDev)! - SelectPanel: Remove `usingRemoveActiveDescendant` usage from component
1165
+
1166
+ ## 38.1.0
1167
+
1168
+ ### Minor Changes
1169
+
1170
+ - [#7065](https://github.com/primer/react/pull/7065) [`9090053`](https://github.com/primer/react/commit/90900532e7566da2d12ff74685678463d5c7f247) Thanks [@TylerJDev](https://github.com/TylerJDev)! - ActionBar: Add `ActionBar.Menu` subcomponent
1171
+
11
1172
  - [#7056](https://github.com/primer/react/pull/7056) [`6ff2797`](https://github.com/primer/react/commit/6ff2797662bf7ab8cf8575d13ad061923bf0d9c1) Thanks [@adierkens](https://github.com/adierkens)! - Update active indicators for ActionList & FilteredActionList to follow content height
12
1173
 
13
1174
  - [#7063](https://github.com/primer/react/pull/7063) [`247c66a`](https://github.com/primer/react/commit/247c66a3c297afba73c6e9e3842cc15ff8a845c1) Thanks [@francinelucca](https://github.com/francinelucca)! - Feat: popover implement click outside
14
1175
 
1176
+ - [#7123](https://github.com/primer/react/pull/7123) [`01b16db`](https://github.com/primer/react/commit/01b16dbe6bf7984bcd282ba5d640d2f6b19b887f) Thanks [@adierkens](https://github.com/adierkens)! - Adds an experimental `Tabs` utility component & associated hooks
1177
+
15
1178
  - [#7109](https://github.com/primer/react/pull/7109) [`34e7108`](https://github.com/primer/react/commit/34e71089ea7668d7b0ab4572f125d13b998e8754) Thanks [@adierkens](https://github.com/adierkens)! - Add support to ActionList for 'tablist' and 'tab' roles
16
1179
 
1180
+ - [#7112](https://github.com/primer/react/pull/7112) [`7160709`](https://github.com/primer/react/commit/71607096f1ed60455313d3e1e26ce803f985307c) Thanks [@hectahertz](https://github.com/hectahertz)! - PageHeader: Remove useResponsiveValue hook from TitleArea variant prop
1181
+
1182
+ Migrates PageHeader.TitleArea's `variant` prop to use `getResponsiveAttributes` following ADR-018 for SSR-safe responsive values. This prevents layout shift during hydration when using responsive variants.
1183
+
17
1184
  ### Patch Changes
18
1185
 
1186
+ - [#7114](https://github.com/primer/react/pull/7114) [`15a13c6`](https://github.com/primer/react/commit/15a13c64917676d47e4ce899ce1f96939cc754d6) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - ActionList: Fix trailing action button to take full height.
1187
+
19
1188
  - [#7124](https://github.com/primer/react/pull/7124) [`a746a83`](https://github.com/primer/react/commit/a746a83e68da54a7f66161b0f1d68bfbdc071ce6) Thanks [@lukasoppermann](https://github.com/lukasoppermann)! - Fixed Timeline.Break when followed by a condensed item and clip sidebar for condensed items.
20
1189
 
21
1190
  - [#7060](https://github.com/primer/react/pull/7060) [`3468793`](https://github.com/primer/react/commit/3468793e15269d6d9f226ee7844921e44bfc4622) Thanks [@francinelucca](https://github.com/francinelucca)! - @primer/react: chore(Dialog): allow direct children
22
1191
 
1192
+ - [#7115](https://github.com/primer/react/pull/7115) [`21cefb9`](https://github.com/primer/react/commit/21cefb96c1ed7d00d6b16f29ea5d358c6502d160) Thanks [@siddharthkp](https://github.com/siddharthkp)! - ActionBar: IconButton no longer adds it's own `data-testid`
1193
+
23
1194
  - [#7061](https://github.com/primer/react/pull/7061) [`e58e102`](https://github.com/primer/react/commit/e58e1027d7f3cdae5223c08d83f7b86918db370b) Thanks [@francinelucca](https://github.com/francinelucca)! - PageLayout: update wrapper dimensions to match PageLayout's root element
24
1195
 
1196
+ - [#7130](https://github.com/primer/react/pull/7130) [`57ffdbc`](https://github.com/primer/react/commit/57ffdbce7fa2bedd762b7e4d6dcea1d916e0da9c) Thanks [@joshblack](https://github.com/joshblack)! - Update the `AnchoredOverlay` component so that the `ref` value is not overridden when spreading props
1197
+
25
1198
  - [#7097](https://github.com/primer/react/pull/7097) [`12fad7a`](https://github.com/primer/react/commit/12fad7af4d9d31898dfff5d3419987100b398d9e) Thanks [@francinelucca](https://github.com/francinelucca)! - chore: fix UnderlineWrapper html structure
26
1199
 
1200
+ - [#7101](https://github.com/primer/react/pull/7101) [`9382e52`](https://github.com/primer/react/commit/9382e529a8a4a0204ce0c412a0c8840cfbfe9f2c) Thanks [@hectahertz](https://github.com/hectahertz)! - Remove use of useResponsiveValue hook - PageLayout
1201
+
1202
+ - [#7128](https://github.com/primer/react/pull/7128) [`4d0f08a`](https://github.com/primer/react/commit/4d0f08a24750704374655c3dc0450012f905bca0) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Link: Remove deprecated underline prop. (Not used in github-ui)
1203
+
27
1204
  ## 38.0.0
28
1205
 
29
1206
  ### Major Changes