@primer/react-brand 0.72.0-rc.f273f08b → 0.72.0

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 (519) hide show
  1. package/docs/components/ButtonGroup/react.md +29 -8
  2. package/docs/components/Hero/react.md +82 -18
  3. package/docs/components/River/react.md +33 -33
  4. package/docs/components/RiverBreakoutTabs/index.md +3 -4
  5. package/docs/components/index.md +1 -1
  6. package/docs/getting-started/index.md +9 -3
  7. package/docs/index.md +3 -3
  8. package/esm/ActionMenu/ActionMenu.d.ts +1 -1
  9. package/esm/ActionMenu/ActionMenu.d.ts.map +1 -1
  10. package/esm/ActionMenu/ActionMenu.js +60 -60
  11. package/esm/ActionMenu/ActionMenu.js.map +1 -1
  12. package/esm/AnchorNav/AnchorNav.js +20 -20
  13. package/esm/Avatar/Avatar.module-DUQdD7On.css +1 -0
  14. package/esm/Avatar/Avatar.module.js +1 -1
  15. package/esm/Avatar/Avatar.module.js.map +1 -1
  16. package/esm/BreakoutBanner/{BreakoutBanner.module-DGBSJFNJ.css → BreakoutBanner.module-gfmzcUSU.css} +1 -1
  17. package/esm/BreakoutBanner/BreakoutBanner.module.js +1 -1
  18. package/esm/BreakoutBanner/BreakoutBanner.module.js.map +1 -1
  19. package/esm/ButtonGroup/ButtonGroup.d.ts +3 -1
  20. package/esm/ButtonGroup/ButtonGroup.d.ts.map +1 -1
  21. package/esm/ButtonGroup/ButtonGroup.js +24 -16
  22. package/esm/ButtonGroup/ButtonGroup.js.map +1 -1
  23. package/esm/CTABanner/CTABanner.js +6 -6
  24. package/esm/CTABanner/CTABanner.module-CDLOww8c.css +1 -0
  25. package/esm/CTABanner/CTABanner.module.js +1 -1
  26. package/esm/CTABanner/CTABanner.module.js.map +1 -1
  27. package/esm/Card/Card.js +5 -5
  28. package/esm/EyebrowBanner/EyebrowBanner.module-DYeTmaU9.css +1 -0
  29. package/esm/EyebrowBanner/EyebrowBanner.module.js +1 -1
  30. package/esm/EyebrowBanner/EyebrowBanner.module.js.map +1 -1
  31. package/esm/Hero/Hero.d.ts +17 -4
  32. package/esm/Hero/Hero.d.ts.map +1 -1
  33. package/esm/Hero/Hero.js +103 -98
  34. package/esm/Hero/Hero.js.map +1 -1
  35. package/esm/Hero/Hero.module-BfrAFYlo.css +1 -0
  36. package/esm/Hero/Hero.module.js +8 -5
  37. package/esm/Hero/Hero.module.js.map +1 -1
  38. package/esm/Hero/HeroContext.d.ts +7 -5
  39. package/esm/Hero/HeroContext.d.ts.map +1 -1
  40. package/esm/Hero/HeroContext.js +3 -9
  41. package/esm/Hero/HeroContext.js.map +1 -1
  42. package/esm/Hero/sub-components/HeroButtonGroup.d.ts +5 -0
  43. package/esm/Hero/sub-components/HeroButtonGroup.d.ts.map +1 -0
  44. package/esm/Hero/sub-components/HeroButtonGroup.js +28 -0
  45. package/esm/Hero/sub-components/HeroButtonGroup.js.map +1 -0
  46. package/esm/Hero/sub-components/HeroImage.d.ts +7 -4
  47. package/esm/Hero/sub-components/HeroImage.d.ts.map +1 -1
  48. package/esm/Hero/sub-components/HeroImage.js +6 -6
  49. package/esm/Hero/sub-components/HeroImage.js.map +1 -1
  50. package/esm/Hero/sub-components/HeroVideo.d.ts +16 -4
  51. package/esm/Hero/sub-components/HeroVideo.d.ts.map +1 -1
  52. package/esm/Hero/sub-components/HeroVideo.js +15 -15
  53. package/esm/Hero/sub-components/HeroVideo.js.map +1 -1
  54. package/esm/Hero/sub-components/index.d.ts +2 -0
  55. package/esm/Hero/sub-components/index.d.ts.map +1 -1
  56. package/esm/Link/Link.js +5 -5
  57. package/esm/LogoSuite/LogoSuite.js +11 -11
  58. package/esm/LogoSuite/LogoSuite.module-BCbX-lfy.css +1 -0
  59. package/esm/LogoSuite/LogoSuite.module.js +1 -1
  60. package/esm/LogoSuite/LogoSuite.module.js.map +1 -1
  61. package/esm/MinimalFooter/MinimalFooter.js +6 -6
  62. package/esm/MinimalFooter/{MinimalFooter.module-DPMYigso.css → MinimalFooter.module-Cl2g38SO.css} +1 -1
  63. package/esm/MinimalFooter/MinimalFooter.module.js +1 -1
  64. package/esm/MinimalFooter/MinimalFooter.module.js.map +1 -1
  65. package/esm/PricingOptions/PricingOptions.js +18 -18
  66. package/esm/PricingOptions/{PricingOptions.module-Cm3Oq9u6.css → PricingOptions.module-CgPKaZAm.css} +1 -1
  67. package/esm/PricingOptions/PricingOptions.module.js +1 -1
  68. package/esm/PricingOptions/PricingOptions.module.js.map +1 -1
  69. package/esm/SectionIntro/SectionIntro.module-BbIW9pPO.css +1 -0
  70. package/esm/SectionIntro/SectionIntro.module.js +1 -1
  71. package/esm/SectionIntro/SectionIntro.module.js.map +1 -1
  72. package/esm/Statistic/Statistic.d.ts.map +1 -1
  73. package/esm/Statistic/Statistic.js +1 -1
  74. package/esm/Statistic/Statistic.js.map +1 -1
  75. package/esm/Statistic/{Statistic.module-Dqb6n1GX.css → Statistic.module-DvdiSbXk.css} +1 -1
  76. package/esm/Statistic/Statistic.module.js +2 -1
  77. package/esm/Statistic/Statistic.module.js.map +1 -1
  78. package/esm/SubNav/SubNav.js +30 -30
  79. package/esm/SubdomainNavBar/NavigationVisbilityObserver.js +21 -21
  80. package/esm/SubdomainNavBar/SubdomainNavBar.js +83 -83
  81. package/esm/Testimonial/Testimonial.js +1 -1
  82. package/esm/Testimonial/Testimonial.js.map +1 -1
  83. package/esm/Testimonial/Testimonial.module-BEBpUSD7.css +1 -0
  84. package/esm/Testimonial/Testimonial.module.js +2 -1
  85. package/esm/Testimonial/Testimonial.module.js.map +1 -1
  86. package/esm/VideoPlayer/VideoPlayer.js +4 -4
  87. package/esm/css/reset-CSgu34_f.css +1 -0
  88. package/esm/css/stylesheets.js +1 -1
  89. package/esm/hooks/useFocusTrap.d.ts +8 -8
  90. package/esm/hooks/useFocusTrap.d.ts.map +1 -1
  91. package/esm/hooks/useFocusTrap.js +16 -16
  92. package/esm/hooks/useFocusTrap.js.map +1 -1
  93. package/esm/index.d.ts +1 -0
  94. package/esm/index.d.ts.map +1 -1
  95. package/esm/index.esm.js +68 -67
  96. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/colors/global-with-modes-Bdet_nBw.css +1 -0
  97. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/river/river-DHn1_SEa.css +1 -0
  98. package/esm/river/River/River.d.ts +16 -8
  99. package/esm/river/River/River.d.ts.map +1 -1
  100. package/esm/river/River/River.js +33 -14
  101. package/esm/river/River/River.js.map +1 -1
  102. package/esm/river/River/index.d.ts +2 -2
  103. package/esm/river/River/index.d.ts.map +1 -1
  104. package/esm/river/RiverAccordion/RiverAccordion.js +1 -1
  105. package/esm/river/RiverAccordion/RiverAccordion.module-BTU_metB.css +1 -0
  106. package/esm/river/RiverAccordion/RiverAccordion.module.js +1 -1
  107. package/esm/river/RiverAccordion/RiverAccordion.module.js.map +1 -1
  108. package/esm/river/RiverBreakout/RiverBreakout.d.ts +2 -1
  109. package/esm/river/RiverBreakout/RiverBreakout.d.ts.map +1 -1
  110. package/esm/river/RiverBreakout/RiverBreakout.js +8 -4
  111. package/esm/river/RiverBreakout/RiverBreakout.js.map +1 -1
  112. package/esm/river/RiverBreakoutTabs/RiverBreakoutTabs.d.ts +3 -2
  113. package/esm/river/RiverBreakoutTabs/RiverBreakoutTabs.d.ts.map +1 -1
  114. package/esm/river/RiverBreakoutTabs/RiverBreakoutTabs.js +2 -2
  115. package/esm/river/RiverBreakoutTabs/RiverBreakoutTabs.js.map +1 -1
  116. package/esm/river/RiverBreakoutTabs/RiverBreakoutTabs.module-CB2SZhbE.css +1 -0
  117. package/esm/river/RiverBreakoutTabs/RiverBreakoutTabs.module.js +1 -1
  118. package/esm/river/RiverBreakoutTabs/RiverBreakoutTabs.module.js.map +1 -1
  119. package/esm/river/RiverStoryScroll/RiverStoryScroll.module-kez68wMZ.css +1 -0
  120. package/esm/river/RiverStoryScroll/RiverStoryScroll.module.js +1 -1
  121. package/esm/river/RiverStoryScroll/RiverStoryScroll.module.js.map +1 -1
  122. package/esm/river/river-shared.module-5fefR7ip.css +1 -0
  123. package/esm/river/river-shared.module.js +10 -2
  124. package/esm/river/river-shared.module.js.map +1 -1
  125. package/lib/ActionMenu/ActionMenu.d.ts +1 -1
  126. package/lib/ButtonGroup/ButtonGroup.d.ts +3 -1
  127. package/lib/Hero/Hero.d.ts +17 -4
  128. package/lib/Hero/HeroContext.d.ts +7 -5
  129. package/lib/Hero/sub-components/HeroButtonGroup.d.ts +4 -0
  130. package/lib/Hero/sub-components/HeroImage.d.ts +7 -4
  131. package/lib/Hero/sub-components/HeroVideo.d.ts +16 -4
  132. package/lib/Hero/sub-components/index.d.ts +2 -0
  133. package/lib/css/main.css +5748 -5537
  134. package/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes.css +1 -1
  135. package/lib/design-tokens/css/tokens/base/colors/light.css +1 -1
  136. package/lib/design-tokens/css/tokens/base/size/size.css +1 -1
  137. package/lib/design-tokens/css/tokens/base/typography/typography.css +1 -1
  138. package/lib/design-tokens/css/tokens/functional/animation/base.css +1 -1
  139. package/lib/design-tokens/css/tokens/functional/colors/global-with-modes.css +4 -4
  140. package/lib/design-tokens/css/tokens/functional/colors/global.css +3 -3
  141. package/lib/design-tokens/css/tokens/functional/components/accordion/colors-with-modes.css +1 -1
  142. package/lib/design-tokens/css/tokens/functional/components/action-menu/colors-with-modes.css +1 -1
  143. package/lib/design-tokens/css/tokens/functional/components/anchor-nav/colors-with-modes.css +1 -1
  144. package/lib/design-tokens/css/tokens/functional/components/bento/base.css +1 -1
  145. package/lib/design-tokens/css/tokens/functional/components/blinking-cursor/colors-with-modes.css +1 -1
  146. package/lib/design-tokens/css/tokens/functional/components/breadcrumbs/colors-with-modes.css +1 -1
  147. package/lib/design-tokens/css/tokens/functional/components/button/colors-with-modes.css +1 -1
  148. package/lib/design-tokens/css/tokens/functional/components/card/base.css +1 -1
  149. package/lib/design-tokens/css/tokens/functional/components/card/colors-with-modes.css +1 -1
  150. package/lib/design-tokens/css/tokens/functional/components/card/colors.css +1 -1
  151. package/lib/design-tokens/css/tokens/functional/components/comparison-table/colors-with-modes.css +1 -1
  152. package/lib/design-tokens/css/tokens/functional/components/comparison-table/comparison-table.css +1 -1
  153. package/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes.css +1 -1
  154. package/lib/design-tokens/css/tokens/functional/components/cta-banner/colors-with-modes.css +1 -1
  155. package/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/colors-with-modes.css +1 -1
  156. package/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/eyebrow-banner.css +1 -1
  157. package/lib/design-tokens/css/tokens/functional/components/faq/base.css +1 -1
  158. package/lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes.css +1 -1
  159. package/lib/design-tokens/css/tokens/functional/components/faq/colors.css +1 -1
  160. package/lib/design-tokens/css/tokens/functional/components/faq/faq.css +1 -1
  161. package/lib/design-tokens/css/tokens/functional/components/footer/colors-with-modes.css +1 -1
  162. package/lib/design-tokens/css/tokens/functional/components/footer/colors.css +1 -1
  163. package/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/base.css +1 -1
  164. package/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/colors-with-modes.css +1 -1
  165. package/lib/design-tokens/css/tokens/functional/components/grid/colors-with-modes.css +1 -1
  166. package/lib/design-tokens/css/tokens/functional/components/grid/colors.css +1 -1
  167. package/lib/design-tokens/css/tokens/functional/components/grid/grid.css +1 -1
  168. package/lib/design-tokens/css/tokens/functional/components/hero/base.css +1 -1
  169. package/lib/design-tokens/css/tokens/functional/components/icon/colors-with-modes.css +1 -1
  170. package/lib/design-tokens/css/tokens/functional/components/icon/colors.css +1 -1
  171. package/lib/design-tokens/css/tokens/functional/components/ide/base.css +1 -1
  172. package/lib/design-tokens/css/tokens/functional/components/ide/colors-with-modes.css +1 -1
  173. package/lib/design-tokens/css/tokens/functional/components/image/base.css +1 -1
  174. package/lib/design-tokens/css/tokens/functional/components/inline-link/base.css +1 -1
  175. package/lib/design-tokens/css/tokens/functional/components/inline-link/colors-with-modes.css +1 -1
  176. package/lib/design-tokens/css/tokens/functional/components/inline-link/colors.css +1 -1
  177. package/lib/design-tokens/css/tokens/functional/components/label/colors-with-modes.css +1 -1
  178. package/lib/design-tokens/css/tokens/functional/components/label/colors.css +1 -1
  179. package/lib/design-tokens/css/tokens/functional/components/link/colors-with-modes.css +1 -1
  180. package/lib/design-tokens/css/tokens/functional/components/link/colors.css +1 -1
  181. package/lib/design-tokens/css/tokens/functional/components/logosuite/base.css +1 -1
  182. package/lib/design-tokens/css/tokens/functional/components/logosuite/colors-with-modes.css +1 -1
  183. package/lib/design-tokens/css/tokens/functional/components/logosuite/colors.css +1 -1
  184. package/lib/design-tokens/css/tokens/functional/components/media-playlist/colors-with-modes.css +1 -1
  185. package/lib/design-tokens/css/tokens/functional/components/media-playlist/colors.css +1 -1
  186. package/lib/design-tokens/css/tokens/functional/components/nav-list/colors-with-modes.css +1 -1
  187. package/lib/design-tokens/css/tokens/functional/components/pricing-options/colors-with-modes.css +1 -1
  188. package/lib/design-tokens/css/tokens/functional/components/pricing-options/colors.css +1 -1
  189. package/lib/design-tokens/css/tokens/functional/components/pricing-options/pricing-options.css +1 -1
  190. package/lib/design-tokens/css/tokens/functional/components/prose/base.css +1 -1
  191. package/lib/design-tokens/css/tokens/functional/components/prose/colors-with-modes.css +1 -1
  192. package/lib/design-tokens/css/tokens/functional/components/river/base.css +1 -1
  193. package/lib/design-tokens/css/tokens/functional/components/river/river.css +8 -1
  194. package/lib/design-tokens/css/tokens/functional/components/river-story-scroll/colors-with-modes.css +1 -1
  195. package/lib/design-tokens/css/tokens/functional/components/section/section.css +1 -1
  196. package/lib/design-tokens/css/tokens/functional/components/statistic/base.css +1 -1
  197. package/lib/design-tokens/css/tokens/functional/components/sub-nav/base.css +1 -1
  198. package/lib/design-tokens/css/tokens/functional/components/sub-nav/colors-with-modes.css +1 -1
  199. package/lib/design-tokens/css/tokens/functional/components/subdomain-nav-bar/colors-with-modes.css +1 -1
  200. package/lib/design-tokens/css/tokens/functional/components/tabs/base.css +1 -1
  201. package/lib/design-tokens/css/tokens/functional/components/tabs/colors-with-modes.css +1 -1
  202. package/lib/design-tokens/css/tokens/functional/components/tabs/colors.css +1 -1
  203. package/lib/design-tokens/css/tokens/functional/components/testimonial/base.css +1 -1
  204. package/lib/design-tokens/css/tokens/functional/components/testimonial/colors-with-modes.css +1 -1
  205. package/lib/design-tokens/css/tokens/functional/components/testimonial/colors.css +1 -1
  206. package/lib/design-tokens/css/tokens/functional/components/text-cursor-animation/colors-with-modes.css +1 -1
  207. package/lib/design-tokens/css/tokens/functional/components/text-cursor-animation/colors.css +1 -1
  208. package/lib/design-tokens/css/tokens/functional/components/tiles/colors-with-modes.css +1 -1
  209. package/lib/design-tokens/css/tokens/functional/components/timeline/base.css +1 -1
  210. package/lib/design-tokens/css/tokens/functional/components/timeline/colors-with-modes.css +1 -1
  211. package/lib/design-tokens/css/tokens/functional/components/timeline/colors.css +1 -1
  212. package/lib/design-tokens/css/tokens/functional/components/token/colors-with-modes.css +1 -1
  213. package/lib/design-tokens/css/tokens/functional/components/token/colors.css +1 -1
  214. package/lib/design-tokens/css/tokens/functional/components/tooltip/colors-with-modes.css +1 -1
  215. package/lib/design-tokens/css/tokens/functional/components/tooltip/colors.css +1 -1
  216. package/lib/design-tokens/css/tokens/functional/components/video-player/base.css +1 -1
  217. package/lib/design-tokens/css/tokens/functional/components/video-player/colors-with-modes.css +1 -1
  218. package/lib/design-tokens/css/tokens/functional/size/border.css +1 -1
  219. package/lib/design-tokens/css/tokens/functional/size/breakpoints.css +1 -1
  220. package/lib/design-tokens/css/tokens/functional/size/size-coarse.css +1 -1
  221. package/lib/design-tokens/css/tokens/functional/size/size-fine.css +1 -1
  222. package/lib/design-tokens/css/tokens/functional/size/size.css +1 -1
  223. package/lib/design-tokens/css/tokens/functional/size/viewport.css +1 -1
  224. package/lib/design-tokens/css/tokens/functional/typography/typography-responsive.css +1 -1
  225. package/lib/design-tokens/css/tokens/functional/typography/typography.css +1 -1
  226. package/lib/design-tokens/js/module/tokens/base/colors/light.js +1 -1
  227. package/lib/design-tokens/js/module/tokens/base/size/size.js +1 -1
  228. package/lib/design-tokens/js/module/tokens/base/typography/typography.js +1 -1
  229. package/lib/design-tokens/js/module/tokens/functional/animation/base.js +1 -1
  230. package/lib/design-tokens/js/module/tokens/functional/colors/global.js +4 -4
  231. package/lib/design-tokens/js/module/tokens/functional/components/bento/base.js +1 -1
  232. package/lib/design-tokens/js/module/tokens/functional/components/card/base.js +1 -1
  233. package/lib/design-tokens/js/module/tokens/functional/components/card/colors.js +1 -1
  234. package/lib/design-tokens/js/module/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  235. package/lib/design-tokens/js/module/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
  236. package/lib/design-tokens/js/module/tokens/functional/components/faq/base.js +1 -1
  237. package/lib/design-tokens/js/module/tokens/functional/components/faq/colors.js +1 -1
  238. package/lib/design-tokens/js/module/tokens/functional/components/faq/faq.js +1 -1
  239. package/lib/design-tokens/js/module/tokens/functional/components/footer/colors.js +1 -1
  240. package/lib/design-tokens/js/module/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
  241. package/lib/design-tokens/js/module/tokens/functional/components/grid/colors.js +1 -1
  242. package/lib/design-tokens/js/module/tokens/functional/components/grid/grid.js +1 -1
  243. package/lib/design-tokens/js/module/tokens/functional/components/hero/base.js +1 -1
  244. package/lib/design-tokens/js/module/tokens/functional/components/icon/colors.js +1 -1
  245. package/lib/design-tokens/js/module/tokens/functional/components/ide/base.js +1 -1
  246. package/lib/design-tokens/js/module/tokens/functional/components/image/base.js +1 -1
  247. package/lib/design-tokens/js/module/tokens/functional/components/inline-link/base.js +1 -1
  248. package/lib/design-tokens/js/module/tokens/functional/components/inline-link/colors.js +1 -1
  249. package/lib/design-tokens/js/module/tokens/functional/components/label/colors.js +1 -1
  250. package/lib/design-tokens/js/module/tokens/functional/components/link/colors.js +1 -1
  251. package/lib/design-tokens/js/module/tokens/functional/components/logosuite/base.js +1 -1
  252. package/lib/design-tokens/js/module/tokens/functional/components/logosuite/colors.js +1 -1
  253. package/lib/design-tokens/js/module/tokens/functional/components/media-playlist/colors.js +1 -1
  254. package/lib/design-tokens/js/module/tokens/functional/components/pricing-options/colors.js +1 -1
  255. package/lib/design-tokens/js/module/tokens/functional/components/pricing-options/pricing-options.js +1 -1
  256. package/lib/design-tokens/js/module/tokens/functional/components/prose/base.js +1 -1
  257. package/lib/design-tokens/js/module/tokens/functional/components/river/base.js +1 -1
  258. package/lib/design-tokens/js/module/tokens/functional/components/river/river.js +4 -1
  259. package/lib/design-tokens/js/module/tokens/functional/components/section/section.js +1 -1
  260. package/lib/design-tokens/js/module/tokens/functional/components/statistic/base.js +1 -1
  261. package/lib/design-tokens/js/module/tokens/functional/components/sub-nav/base.js +1 -1
  262. package/lib/design-tokens/js/module/tokens/functional/components/tabs/base.js +1 -1
  263. package/lib/design-tokens/js/module/tokens/functional/components/tabs/colors.js +1 -1
  264. package/lib/design-tokens/js/module/tokens/functional/components/testimonial/base.js +1 -1
  265. package/lib/design-tokens/js/module/tokens/functional/components/testimonial/colors.js +1 -1
  266. package/lib/design-tokens/js/module/tokens/functional/components/text-cursor-animation/colors.js +1 -1
  267. package/lib/design-tokens/js/module/tokens/functional/components/timeline/base.js +1 -1
  268. package/lib/design-tokens/js/module/tokens/functional/components/timeline/colors.js +1 -1
  269. package/lib/design-tokens/js/module/tokens/functional/components/token/colors.js +1 -1
  270. package/lib/design-tokens/js/module/tokens/functional/components/tooltip/colors.js +1 -1
  271. package/lib/design-tokens/js/module/tokens/functional/components/video-player/base.js +1 -1
  272. package/lib/design-tokens/js/module/tokens/functional/size/border.js +1 -1
  273. package/lib/design-tokens/js/module/tokens/functional/size/breakpoints.js +1 -1
  274. package/lib/design-tokens/js/module/tokens/functional/size/size-coarse.js +1 -1
  275. package/lib/design-tokens/js/module/tokens/functional/size/size-fine.js +1 -1
  276. package/lib/design-tokens/js/module/tokens/functional/size/size.js +1 -1
  277. package/lib/design-tokens/js/module/tokens/functional/size/viewport.js +1 -1
  278. package/lib/design-tokens/js/module/tokens/functional/typography/typography-responsive.js +1 -1
  279. package/lib/design-tokens/js/module/tokens/functional/typography/typography.js +1 -1
  280. package/lib/design-tokens/js/tokens/base/colors/light.js +1 -1
  281. package/lib/design-tokens/js/tokens/base/size/size.js +1 -1
  282. package/lib/design-tokens/js/tokens/base/typography/typography.js +1 -1
  283. package/lib/design-tokens/js/tokens/functional/animation/base.js +1 -1
  284. package/lib/design-tokens/js/tokens/functional/colors/global.js +3 -3
  285. package/lib/design-tokens/js/tokens/functional/components/bento/base.js +1 -1
  286. package/lib/design-tokens/js/tokens/functional/components/card/base.js +1 -1
  287. package/lib/design-tokens/js/tokens/functional/components/card/colors.js +1 -1
  288. package/lib/design-tokens/js/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  289. package/lib/design-tokens/js/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
  290. package/lib/design-tokens/js/tokens/functional/components/faq/base.js +1 -1
  291. package/lib/design-tokens/js/tokens/functional/components/faq/colors.js +1 -1
  292. package/lib/design-tokens/js/tokens/functional/components/faq/faq.js +1 -1
  293. package/lib/design-tokens/js/tokens/functional/components/footer/colors.js +1 -1
  294. package/lib/design-tokens/js/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
  295. package/lib/design-tokens/js/tokens/functional/components/grid/colors.js +1 -1
  296. package/lib/design-tokens/js/tokens/functional/components/grid/grid.js +1 -1
  297. package/lib/design-tokens/js/tokens/functional/components/hero/base.js +1 -1
  298. package/lib/design-tokens/js/tokens/functional/components/icon/colors.js +1 -1
  299. package/lib/design-tokens/js/tokens/functional/components/ide/base.js +1 -1
  300. package/lib/design-tokens/js/tokens/functional/components/image/base.js +1 -1
  301. package/lib/design-tokens/js/tokens/functional/components/inline-link/base.js +1 -1
  302. package/lib/design-tokens/js/tokens/functional/components/inline-link/colors.js +1 -1
  303. package/lib/design-tokens/js/tokens/functional/components/label/colors.js +1 -1
  304. package/lib/design-tokens/js/tokens/functional/components/link/colors.js +1 -1
  305. package/lib/design-tokens/js/tokens/functional/components/logosuite/base.js +1 -1
  306. package/lib/design-tokens/js/tokens/functional/components/logosuite/colors.js +1 -1
  307. package/lib/design-tokens/js/tokens/functional/components/media-playlist/colors.js +1 -1
  308. package/lib/design-tokens/js/tokens/functional/components/pricing-options/colors.js +1 -1
  309. package/lib/design-tokens/js/tokens/functional/components/pricing-options/pricing-options.js +1 -1
  310. package/lib/design-tokens/js/tokens/functional/components/prose/base.js +1 -1
  311. package/lib/design-tokens/js/tokens/functional/components/river/base.js +1 -1
  312. package/lib/design-tokens/js/tokens/functional/components/river/river.js +2 -1
  313. package/lib/design-tokens/js/tokens/functional/components/section/section.js +1 -1
  314. package/lib/design-tokens/js/tokens/functional/components/statistic/base.js +1 -1
  315. package/lib/design-tokens/js/tokens/functional/components/sub-nav/base.js +1 -1
  316. package/lib/design-tokens/js/tokens/functional/components/tabs/base.js +1 -1
  317. package/lib/design-tokens/js/tokens/functional/components/tabs/colors.js +1 -1
  318. package/lib/design-tokens/js/tokens/functional/components/testimonial/base.js +1 -1
  319. package/lib/design-tokens/js/tokens/functional/components/testimonial/colors.js +1 -1
  320. package/lib/design-tokens/js/tokens/functional/components/text-cursor-animation/colors.js +1 -1
  321. package/lib/design-tokens/js/tokens/functional/components/timeline/base.js +1 -1
  322. package/lib/design-tokens/js/tokens/functional/components/timeline/colors.js +1 -1
  323. package/lib/design-tokens/js/tokens/functional/components/token/colors.js +1 -1
  324. package/lib/design-tokens/js/tokens/functional/components/tooltip/colors.js +1 -1
  325. package/lib/design-tokens/js/tokens/functional/components/video-player/base.js +1 -1
  326. package/lib/design-tokens/js/tokens/functional/size/border.js +1 -1
  327. package/lib/design-tokens/js/tokens/functional/size/breakpoints.js +1 -1
  328. package/lib/design-tokens/js/tokens/functional/size/size-coarse.js +1 -1
  329. package/lib/design-tokens/js/tokens/functional/size/size-fine.js +1 -1
  330. package/lib/design-tokens/js/tokens/functional/size/size.js +1 -1
  331. package/lib/design-tokens/js/tokens/functional/size/viewport.js +1 -1
  332. package/lib/design-tokens/js/tokens/functional/typography/typography-responsive.js +1 -1
  333. package/lib/design-tokens/js/tokens/functional/typography/typography.js +1 -1
  334. package/lib/design-tokens/json/colors.json +2 -2
  335. package/lib/design-tokens/scss/tokens/base/colors/light.scss +1 -1
  336. package/lib/design-tokens/scss/tokens/base/size/size.scss +1 -1
  337. package/lib/design-tokens/scss/tokens/base/typography/typography.scss +1 -1
  338. package/lib/design-tokens/scss/tokens/functional/animation/base.scss +1 -1
  339. package/lib/design-tokens/scss/tokens/functional/colors/global.scss +3 -3
  340. package/lib/design-tokens/scss/tokens/functional/components/bento/base.scss +1 -1
  341. package/lib/design-tokens/scss/tokens/functional/components/card/base.scss +1 -1
  342. package/lib/design-tokens/scss/tokens/functional/components/card/colors.scss +1 -1
  343. package/lib/design-tokens/scss/tokens/functional/components/comparison-table/comparison-table.scss +1 -1
  344. package/lib/design-tokens/scss/tokens/functional/components/eyebrow-banner/eyebrow-banner.scss +1 -1
  345. package/lib/design-tokens/scss/tokens/functional/components/faq/base.scss +1 -1
  346. package/lib/design-tokens/scss/tokens/functional/components/faq/colors.scss +1 -1
  347. package/lib/design-tokens/scss/tokens/functional/components/faq/faq.scss +1 -1
  348. package/lib/design-tokens/scss/tokens/functional/components/footer/colors.scss +1 -1
  349. package/lib/design-tokens/scss/tokens/functional/components/frosted-glass-vfx/base.scss +1 -1
  350. package/lib/design-tokens/scss/tokens/functional/components/grid/colors.scss +1 -1
  351. package/lib/design-tokens/scss/tokens/functional/components/grid/grid.scss +1 -1
  352. package/lib/design-tokens/scss/tokens/functional/components/hero/base.scss +1 -1
  353. package/lib/design-tokens/scss/tokens/functional/components/icon/colors.scss +1 -1
  354. package/lib/design-tokens/scss/tokens/functional/components/ide/base.scss +1 -1
  355. package/lib/design-tokens/scss/tokens/functional/components/image/base.scss +1 -1
  356. package/lib/design-tokens/scss/tokens/functional/components/inline-link/base.scss +1 -1
  357. package/lib/design-tokens/scss/tokens/functional/components/inline-link/colors.scss +1 -1
  358. package/lib/design-tokens/scss/tokens/functional/components/label/colors.scss +1 -1
  359. package/lib/design-tokens/scss/tokens/functional/components/link/colors.scss +1 -1
  360. package/lib/design-tokens/scss/tokens/functional/components/logosuite/base.scss +1 -1
  361. package/lib/design-tokens/scss/tokens/functional/components/logosuite/colors.scss +1 -1
  362. package/lib/design-tokens/scss/tokens/functional/components/media-playlist/colors.scss +1 -1
  363. package/lib/design-tokens/scss/tokens/functional/components/pricing-options/colors.scss +1 -1
  364. package/lib/design-tokens/scss/tokens/functional/components/pricing-options/pricing-options.scss +1 -1
  365. package/lib/design-tokens/scss/tokens/functional/components/prose/base.scss +1 -1
  366. package/lib/design-tokens/scss/tokens/functional/components/river/base.scss +1 -1
  367. package/lib/design-tokens/scss/tokens/functional/components/river/river.scss +2 -1
  368. package/lib/design-tokens/scss/tokens/functional/components/section/section.scss +1 -1
  369. package/lib/design-tokens/scss/tokens/functional/components/statistic/base.scss +1 -1
  370. package/lib/design-tokens/scss/tokens/functional/components/sub-nav/base.scss +1 -1
  371. package/lib/design-tokens/scss/tokens/functional/components/tabs/base.scss +1 -1
  372. package/lib/design-tokens/scss/tokens/functional/components/tabs/colors.scss +1 -1
  373. package/lib/design-tokens/scss/tokens/functional/components/testimonial/base.scss +1 -1
  374. package/lib/design-tokens/scss/tokens/functional/components/testimonial/colors.scss +1 -1
  375. package/lib/design-tokens/scss/tokens/functional/components/text-cursor-animation/colors.scss +1 -1
  376. package/lib/design-tokens/scss/tokens/functional/components/timeline/base.scss +1 -1
  377. package/lib/design-tokens/scss/tokens/functional/components/timeline/colors.scss +1 -1
  378. package/lib/design-tokens/scss/tokens/functional/components/token/colors.scss +1 -1
  379. package/lib/design-tokens/scss/tokens/functional/components/tooltip/colors.scss +1 -1
  380. package/lib/design-tokens/scss/tokens/functional/components/video-player/base.scss +1 -1
  381. package/lib/design-tokens/scss/tokens/functional/size/border.scss +1 -1
  382. package/lib/design-tokens/scss/tokens/functional/size/breakpoints.scss +1 -1
  383. package/lib/design-tokens/scss/tokens/functional/size/size-coarse.scss +1 -1
  384. package/lib/design-tokens/scss/tokens/functional/size/size-fine.scss +1 -1
  385. package/lib/design-tokens/scss/tokens/functional/size/size.scss +1 -1
  386. package/lib/design-tokens/scss/tokens/functional/size/viewport.scss +1 -1
  387. package/lib/design-tokens/scss/tokens/functional/typography/typography-responsive.scss +1 -1
  388. package/lib/design-tokens/scss/tokens/functional/typography/typography.scss +1 -1
  389. package/lib/design-tokens/ts/tokens/base/colors/light.d.ts +1 -1
  390. package/lib/design-tokens/ts/tokens/base/colors/light.js +1 -1
  391. package/lib/design-tokens/ts/tokens/base/size/size.d.ts +1 -1
  392. package/lib/design-tokens/ts/tokens/base/size/size.js +1 -1
  393. package/lib/design-tokens/ts/tokens/base/typography/typography.d.ts +1 -1
  394. package/lib/design-tokens/ts/tokens/base/typography/typography.js +1 -1
  395. package/lib/design-tokens/ts/tokens/functional/animation/base.d.ts +1 -1
  396. package/lib/design-tokens/ts/tokens/functional/animation/base.js +1 -1
  397. package/lib/design-tokens/ts/tokens/functional/colors/global.d.ts +1 -1
  398. package/lib/design-tokens/ts/tokens/functional/colors/global.js +3 -3
  399. package/lib/design-tokens/ts/tokens/functional/components/bento/base.d.ts +1 -1
  400. package/lib/design-tokens/ts/tokens/functional/components/bento/base.js +1 -1
  401. package/lib/design-tokens/ts/tokens/functional/components/card/base.d.ts +1 -1
  402. package/lib/design-tokens/ts/tokens/functional/components/card/base.js +1 -1
  403. package/lib/design-tokens/ts/tokens/functional/components/card/colors.d.ts +1 -1
  404. package/lib/design-tokens/ts/tokens/functional/components/card/colors.js +1 -1
  405. package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.d.ts +1 -1
  406. package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  407. package/lib/design-tokens/ts/tokens/functional/components/eyebrow-banner/eyebrow-banner.d.ts +1 -1
  408. package/lib/design-tokens/ts/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
  409. package/lib/design-tokens/ts/tokens/functional/components/faq/base.d.ts +1 -1
  410. package/lib/design-tokens/ts/tokens/functional/components/faq/base.js +1 -1
  411. package/lib/design-tokens/ts/tokens/functional/components/faq/colors.d.ts +1 -1
  412. package/lib/design-tokens/ts/tokens/functional/components/faq/colors.js +1 -1
  413. package/lib/design-tokens/ts/tokens/functional/components/faq/faq.d.ts +1 -1
  414. package/lib/design-tokens/ts/tokens/functional/components/faq/faq.js +1 -1
  415. package/lib/design-tokens/ts/tokens/functional/components/footer/colors.d.ts +1 -1
  416. package/lib/design-tokens/ts/tokens/functional/components/footer/colors.js +1 -1
  417. package/lib/design-tokens/ts/tokens/functional/components/frosted-glass-vfx/base.d.ts +1 -1
  418. package/lib/design-tokens/ts/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
  419. package/lib/design-tokens/ts/tokens/functional/components/grid/colors.d.ts +1 -1
  420. package/lib/design-tokens/ts/tokens/functional/components/grid/colors.js +1 -1
  421. package/lib/design-tokens/ts/tokens/functional/components/grid/grid.d.ts +1 -1
  422. package/lib/design-tokens/ts/tokens/functional/components/grid/grid.js +1 -1
  423. package/lib/design-tokens/ts/tokens/functional/components/hero/base.d.ts +1 -1
  424. package/lib/design-tokens/ts/tokens/functional/components/hero/base.js +1 -1
  425. package/lib/design-tokens/ts/tokens/functional/components/icon/colors.d.ts +1 -1
  426. package/lib/design-tokens/ts/tokens/functional/components/icon/colors.js +1 -1
  427. package/lib/design-tokens/ts/tokens/functional/components/ide/base.d.ts +1 -1
  428. package/lib/design-tokens/ts/tokens/functional/components/ide/base.js +1 -1
  429. package/lib/design-tokens/ts/tokens/functional/components/image/base.d.ts +1 -1
  430. package/lib/design-tokens/ts/tokens/functional/components/image/base.js +1 -1
  431. package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.d.ts +1 -1
  432. package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.js +1 -1
  433. package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.d.ts +1 -1
  434. package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.js +1 -1
  435. package/lib/design-tokens/ts/tokens/functional/components/label/colors.d.ts +1 -1
  436. package/lib/design-tokens/ts/tokens/functional/components/label/colors.js +1 -1
  437. package/lib/design-tokens/ts/tokens/functional/components/link/colors.d.ts +1 -1
  438. package/lib/design-tokens/ts/tokens/functional/components/link/colors.js +1 -1
  439. package/lib/design-tokens/ts/tokens/functional/components/logosuite/base.d.ts +1 -1
  440. package/lib/design-tokens/ts/tokens/functional/components/logosuite/base.js +1 -1
  441. package/lib/design-tokens/ts/tokens/functional/components/logosuite/colors.d.ts +1 -1
  442. package/lib/design-tokens/ts/tokens/functional/components/logosuite/colors.js +1 -1
  443. package/lib/design-tokens/ts/tokens/functional/components/media-playlist/colors.d.ts +1 -1
  444. package/lib/design-tokens/ts/tokens/functional/components/media-playlist/colors.js +1 -1
  445. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/colors.d.ts +1 -1
  446. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/colors.js +1 -1
  447. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/pricing-options.d.ts +1 -1
  448. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/pricing-options.js +1 -1
  449. package/lib/design-tokens/ts/tokens/functional/components/prose/base.d.ts +1 -1
  450. package/lib/design-tokens/ts/tokens/functional/components/prose/base.js +1 -1
  451. package/lib/design-tokens/ts/tokens/functional/components/river/base.d.ts +1 -1
  452. package/lib/design-tokens/ts/tokens/functional/components/river/base.js +1 -1
  453. package/lib/design-tokens/ts/tokens/functional/components/river/river.d.ts +4 -1
  454. package/lib/design-tokens/ts/tokens/functional/components/river/river.js +4 -1
  455. package/lib/design-tokens/ts/tokens/functional/components/section/section.d.ts +1 -1
  456. package/lib/design-tokens/ts/tokens/functional/components/section/section.js +1 -1
  457. package/lib/design-tokens/ts/tokens/functional/components/statistic/base.d.ts +1 -1
  458. package/lib/design-tokens/ts/tokens/functional/components/statistic/base.js +1 -1
  459. package/lib/design-tokens/ts/tokens/functional/components/sub-nav/base.d.ts +1 -1
  460. package/lib/design-tokens/ts/tokens/functional/components/sub-nav/base.js +1 -1
  461. package/lib/design-tokens/ts/tokens/functional/components/tabs/base.d.ts +1 -1
  462. package/lib/design-tokens/ts/tokens/functional/components/tabs/base.js +1 -1
  463. package/lib/design-tokens/ts/tokens/functional/components/tabs/colors.d.ts +1 -1
  464. package/lib/design-tokens/ts/tokens/functional/components/tabs/colors.js +1 -1
  465. package/lib/design-tokens/ts/tokens/functional/components/testimonial/base.d.ts +1 -1
  466. package/lib/design-tokens/ts/tokens/functional/components/testimonial/base.js +1 -1
  467. package/lib/design-tokens/ts/tokens/functional/components/testimonial/colors.d.ts +1 -1
  468. package/lib/design-tokens/ts/tokens/functional/components/testimonial/colors.js +1 -1
  469. package/lib/design-tokens/ts/tokens/functional/components/text-cursor-animation/colors.d.ts +1 -1
  470. package/lib/design-tokens/ts/tokens/functional/components/text-cursor-animation/colors.js +1 -1
  471. package/lib/design-tokens/ts/tokens/functional/components/timeline/base.d.ts +1 -1
  472. package/lib/design-tokens/ts/tokens/functional/components/timeline/base.js +1 -1
  473. package/lib/design-tokens/ts/tokens/functional/components/timeline/colors.d.ts +1 -1
  474. package/lib/design-tokens/ts/tokens/functional/components/timeline/colors.js +1 -1
  475. package/lib/design-tokens/ts/tokens/functional/components/token/colors.d.ts +1 -1
  476. package/lib/design-tokens/ts/tokens/functional/components/token/colors.js +1 -1
  477. package/lib/design-tokens/ts/tokens/functional/components/tooltip/colors.d.ts +1 -1
  478. package/lib/design-tokens/ts/tokens/functional/components/tooltip/colors.js +1 -1
  479. package/lib/design-tokens/ts/tokens/functional/components/video-player/base.d.ts +1 -1
  480. package/lib/design-tokens/ts/tokens/functional/components/video-player/base.js +1 -1
  481. package/lib/design-tokens/ts/tokens/functional/size/border.d.ts +1 -1
  482. package/lib/design-tokens/ts/tokens/functional/size/border.js +1 -1
  483. package/lib/design-tokens/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  484. package/lib/design-tokens/ts/tokens/functional/size/breakpoints.js +1 -1
  485. package/lib/design-tokens/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  486. package/lib/design-tokens/ts/tokens/functional/size/size-coarse.js +1 -1
  487. package/lib/design-tokens/ts/tokens/functional/size/size-fine.d.ts +1 -1
  488. package/lib/design-tokens/ts/tokens/functional/size/size-fine.js +1 -1
  489. package/lib/design-tokens/ts/tokens/functional/size/size.d.ts +1 -1
  490. package/lib/design-tokens/ts/tokens/functional/size/size.js +1 -1
  491. package/lib/design-tokens/ts/tokens/functional/size/viewport.d.ts +1 -1
  492. package/lib/design-tokens/ts/tokens/functional/size/viewport.js +1 -1
  493. package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.d.ts +1 -1
  494. package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.js +1 -1
  495. package/lib/design-tokens/ts/tokens/functional/typography/typography.d.ts +1 -1
  496. package/lib/design-tokens/ts/tokens/functional/typography/typography.js +1 -1
  497. package/lib/hooks/useFocusTrap.d.ts +8 -8
  498. package/lib/index.d.ts +1 -0
  499. package/lib/index.js +1 -1
  500. package/lib/river/River/River.d.ts +16 -8
  501. package/lib/river/River/index.d.ts +2 -2
  502. package/lib/river/RiverBreakout/RiverBreakout.d.ts +2 -1
  503. package/lib/river/RiverBreakoutTabs/RiverBreakoutTabs.d.ts +3 -2
  504. package/llms.txt +3 -3
  505. package/package.json +1 -1
  506. package/esm/Avatar/Avatar.module-DzfWmLu4.css +0 -1
  507. package/esm/CTABanner/CTABanner.module-DZUT186Y.css +0 -1
  508. package/esm/EyebrowBanner/EyebrowBanner.module-C8hfGfYx.css +0 -1
  509. package/esm/Hero/Hero.module-DjsgFkIQ.css +0 -1
  510. package/esm/LogoSuite/LogoSuite.module-69Mthqju.css +0 -1
  511. package/esm/SectionIntro/SectionIntro.module-CiRymbla.css +0 -1
  512. package/esm/Testimonial/Testimonial.module-DRCosU_J.css +0 -1
  513. package/esm/css/reset-PKNIUbst.css +0 -1
  514. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/colors/global-with-modes-tpdcmiok.css +0 -1
  515. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/river/river-QteO10lt.css +0 -1
  516. package/esm/river/RiverAccordion/RiverAccordion.module-nlZZH3O7.css +0 -1
  517. package/esm/river/RiverBreakoutTabs/RiverBreakoutTabs.module-CH8jehnx.css +0 -1
  518. package/esm/river/RiverStoryScroll/RiverStoryScroll.module-D8dFaLHq.css +0 -1
  519. package/esm/river/river-shared.module-D0AV93uz.css +0 -1
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  title: Button group
3
- description: Use the button group component to group related buttons together.
3
+ description: Use the button group component to group related buttons and action menus together.
4
4
  keywords: ['buttons', 'control', 'action', 'group', 'paired']
5
5
  ready: true
6
6
  source: https://github.com/primer/brand/blob/main/packages/react/src/ButtonGroup/ButtonGroup.tsx
@@ -8,14 +8,14 @@ storybook: '/brand/storybook/?path=/story/components-buttongroup--playground'
8
8
  ---
9
9
 
10
10
  ```js
11
- import {ButtonGroup, Button} from '@primer/react-brand'
11
+ import {ActionMenu, Button, ButtonGroup} from '@primer/react-brand'
12
12
  ```
13
13
 
14
14
  ## Examples
15
15
 
16
16
  ### Default
17
17
 
18
- This is the default variant for the ButtonGroup component. The first button in the group is the primary button and the second button is the secondary button.
18
+ This is the default variant for the ButtonGroup component. The first item in the group uses the primary button variant and the second uses the secondary button variant.
19
19
 
20
20
  ```jsx
21
21
  <ButtonGroup>
@@ -24,9 +24,30 @@ This is the default variant for the ButtonGroup component. The first button in t
24
24
  </ButtonGroup>
25
25
  ```
26
26
 
27
+ ### Action menus
28
+
29
+ `ButtonGroup` supports up to two `Button` or `ActionMenu` children and applies a default `variant` to each one.
30
+
31
+ Explicit `variant` overrides to `Button` or `ActionMenu.Button` will override the default values.
32
+
33
+ `buttonSize` applies to both child types. Because `ActionMenu` supports only `small` and `medium`, it remains `medium` when `buttonSize="large"`. Set `size` on `ActionMenu` to override the inherited size.
34
+
35
+ ```jsx
36
+ <ButtonGroup>
37
+ <Button>Primary action</Button>
38
+ <ActionMenu>
39
+ <ActionMenu.Button>More actions</ActionMenu.Button>
40
+ <ActionMenu.Overlay aria-label="More actions">
41
+ <ActionMenu.Item value="contact-sales">Contact sales</ActionMenu.Item>
42
+ <ActionMenu.Item value="view-pricing">View pricing</ActionMenu.Item>
43
+ </ActionMenu.Overlay>
44
+ </ActionMenu>
45
+ </ButtonGroup>
46
+ ```
47
+
27
48
  ### Sizes
28
49
 
29
- The ButtonGroup component can be rendered in different sizes in `medium` and `large` sizes. The default size is `medium`.
50
+ The ButtonGroup component supports `small`, `medium`, and `large` buttons. The default size is `medium`. ActionMenu children support `small` and `medium`.
30
51
 
31
52
  ```jsx
32
53
  <ButtonGroup buttonSize="large">
@@ -54,7 +75,7 @@ The `Button` component can render as a `button` or `a` HTML element. By default,
54
75
 
55
76
  ### ButtonGroup
56
77
 
57
- | Name | Type | Default | Description |
58
- | :----------- | :-------------------- | :--------: | :-------------------------------------- |
59
- | `buttonSize` | `'medium' \| 'large'` | `'medium'` | The size variations available in Button |
60
- | `buttonsAs` | `'button' \| 'a'` | `'button'` | The HTML variations available in Button |
78
+ | Name | Type | Default | Description |
79
+ | :----------- | :------------------------------- | :--------: | :-------------------------------------- |
80
+ | `buttonSize` | `'small' \| 'medium' \| 'large'` | `'medium'` | The size variations available in Button |
81
+ | `buttonsAs` | `'button' \| 'a'` | `'button'` | The HTML variations available in Button |
@@ -9,7 +9,7 @@ storybook: '/brand/storybook/?path=/story/components-hero--default'
9
9
  ---
10
10
 
11
11
  ```js
12
- import {Hero} from '@primer/react-brand'
12
+ import {ActionMenu, Button, Hero} from '@primer/react-brand'
13
13
  ```
14
14
 
15
15
  ## Examples
@@ -24,8 +24,36 @@ import {Hero} from '@primer/react-brand'
24
24
  Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sapien sit ullamcorper id. Aliquam luctus sed turpis
25
25
  felis nam pulvinar risus elementum.
26
26
  </Hero.Description>
27
- <Hero.PrimaryAction href="#">Primary action</Hero.PrimaryAction>
28
- <Hero.SecondaryAction href="#">Secondary action</Hero.SecondaryAction>
27
+ <Hero.ButtonGroup>
28
+ <Button as="a" href="#">
29
+ Primary action
30
+ </Button>
31
+ <Button as="a" href="#">
32
+ Secondary action
33
+ </Button>
34
+ </Hero.ButtonGroup>
35
+ </Hero>
36
+ ```
37
+
38
+ ### Action menus
39
+
40
+ `Hero.ButtonGroup` accepts up to two `Button` or `ActionMenu` children and applies the primary variant to the first item and the secondary variant to the second. Set `variant` on `Button` or `ActionMenu.Button` to override it.
41
+
42
+ ```jsx
43
+ <Hero>
44
+ <Hero.Heading>This is my super sweet hero heading</Hero.Heading>
45
+ <Hero.ButtonGroup>
46
+ <Button as="a" href="#">
47
+ Primary action
48
+ </Button>
49
+ <ActionMenu>
50
+ <ActionMenu.Button>More actions</ActionMenu.Button>
51
+ <ActionMenu.Overlay aria-label="More actions">
52
+ <ActionMenu.Item value="contact-sales">Contact sales</ActionMenu.Item>
53
+ <ActionMenu.Item value="view-pricing">View pricing</ActionMenu.Item>
54
+ </ActionMenu.Overlay>
55
+ </ActionMenu>
56
+ </Hero.ButtonGroup>
29
57
  </Hero>
30
58
  ```
31
59
 
@@ -38,14 +66,22 @@ import {Hero} from '@primer/react-brand'
38
66
  <Hero>
39
67
  <Hero.Label>Actions</Hero.Label>
40
68
  <Hero.Heading>Automate your workflow from idea to production</Hero.Heading>
41
- <Hero.PrimaryAction href="#">Get started with Actions</Hero.PrimaryAction>
69
+ <Hero.ButtonGroup>
70
+ <Button as="a" href="#">
71
+ Get started with Actions
72
+ </Button>
73
+ </Hero.ButtonGroup>
42
74
  <Hero.Image src="/images/placeholder.png" alt="placeholder, blank area with a gray background color" />
43
75
  </Hero>
44
76
  <br />
45
77
  <Hero align="center">
46
78
  <Hero.Label>Actions</Hero.Label>
47
79
  <Hero.Heading size="2">Automate your workflow from idea to production</Hero.Heading>
48
- <Hero.PrimaryAction href="#">Get started with Actions</Hero.PrimaryAction>
80
+ <Hero.ButtonGroup>
81
+ <Button as="a" href="#">
82
+ Get started with Actions
83
+ </Button>
84
+ </Hero.ButtonGroup>
49
85
  <Hero.Image
50
86
  position="inline-end"
51
87
  src="/images/placeholder.png"
@@ -69,7 +105,11 @@ The `GridLine` variants all feature a trailing border by default. Use `Box` if y
69
105
  Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sapien sit ullamcorper id. Aliquam luctus sed turpis
70
106
  felis nam pulvinar risus elementum.
71
107
  </Hero.Description>
72
- <Hero.PrimaryAction href="#">Primary action</Hero.PrimaryAction>
108
+ <Hero.ButtonGroup>
109
+ <Button as="a" href="#">
110
+ Primary action
111
+ </Button>
112
+ </Hero.ButtonGroup>
73
113
  <Hero.Image src="/images/placeholder.png" alt="placeholder, blank area with a gray background color" />
74
114
  </Hero>
75
115
  ```
@@ -87,7 +127,11 @@ The `GridLine` variants all feature a trailing border by default. Use `Box` if y
87
127
  Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sapien sit ullamcorper id. Aliquam luctus sed turpis
88
128
  felis nam pulvinar risus elementum.
89
129
  </Hero.Description>
90
- <Hero.PrimaryAction href="#">Primary action</Hero.PrimaryAction>
130
+ <Hero.ButtonGroup>
131
+ <Button as="a" href="#">
132
+ Primary action
133
+ </Button>
134
+ </Hero.ButtonGroup>
91
135
  <Hero.Image src="/images/placeholder.png" alt="placeholder, blank area with a gray background color" />
92
136
  </Hero>
93
137
  ```
@@ -106,7 +150,11 @@ Use [VideoPlayer](../VideoPlayer/index.md), a native `<video>` element or a YouT
106
150
  Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sapien sit ullamcorper id. Aliquam luctus sed turpis
107
151
  felis nam pulvinar risus elementum.
108
152
  </Hero.Description>
109
- <Hero.PrimaryAction href="#">Primary action</Hero.PrimaryAction>
153
+ <Hero.ButtonGroup>
154
+ <Button as="a" href="#">
155
+ Primary action
156
+ </Button>
157
+ </Hero.ButtonGroup>
110
158
  <Hero.Video>
111
159
  <iframe
112
160
  src="https://www.youtube.com/embed/fHwtrOcLAnI"
@@ -133,7 +181,11 @@ Use [VideoPlayer](../VideoPlayer/index.md), a native `<video>` element or a YouT
133
181
  <br />
134
182
  developer environments
135
183
  </Hero.Heading>
136
- <Hero.PrimaryAction href="#">Primary action</Hero.PrimaryAction>
184
+ <Hero.ButtonGroup>
185
+ <Button as="a" href="#">
186
+ Primary action
187
+ </Button>
188
+ </Hero.ButtonGroup>
137
189
  </Hero>
138
190
  ```
139
191
 
@@ -177,8 +229,14 @@ Forwards all props from the [Heading component](../../typography/Heading/index.m
177
229
 
178
230
  Forwards `size` and `weight` props from the [Text component](../../typography/Text/index.md).
179
231
 
232
+ ### Hero.ButtonGroup
233
+
234
+ Groups up to two [Button](../Button/index.md) or [ActionMenu](../ActionMenu/index.md) children. Forwards all props from the [ButtonGroup component](../ButtonGroup/index.md).
235
+
180
236
  ### Hero.PrimaryAction
181
237
 
238
+ Deprecated. Use `Hero.ButtonGroup` with a `Button` child instead.
239
+
182
240
  | name | type | default | description |
183
241
  | ----------- | ------------- | ------- | ----------------------------------- |
184
242
  | `className` | `string` | | Primary link custom class |
@@ -189,6 +247,8 @@ Forwards all props from the [Button component](../Button/index.md).
189
247
 
190
248
  ### Hero.SecondaryAction
191
249
 
250
+ Deprecated. Use `Hero.ButtonGroup` with a `Button` child instead.
251
+
192
252
  | name | type | default | description |
193
253
  | ----------- | ------------- | ------- | ----------------------------------- |
194
254
  | `className` | `string` | | Secondary link custom class |
@@ -199,17 +259,21 @@ Forwards all props from the [Button component](../Button/index.md).
199
259
 
200
260
  ### Hero.Image
201
261
 
202
- | name | type | default | description |
203
- | ---------- | --------------------------------------------------------------------------------------------------------------------- | ------------- | -------------------------------------------- |
204
- | `position` | `'block-end' \| 'block-end-padded' \| 'inline-end' \| 'inline-end-padded' \| 'inline-start' \| 'inline-start-padded'` | `'block-end'` | Controls positioning of the foreground image |
262
+ | name | type | default | description |
263
+ | ---------- | ----------------------------------------------- | ------------- | ------------------------------------------------- |
264
+ | `position` | `'block-end' \| 'inline-end' \| 'inline-start'` | `'block-end'` | Controls positioning of the foreground image |
265
+ | `padding` | `'default'`, `'none'`, `'all'` | `'default'` | Controls padding around media in gridline layouts |
205
266
 
206
267
  Forwards all props from the [Image component](../Image/index.md), including `src`, `alt`, and `aspectRatio`.
207
268
 
269
+ `position` and `padding` props currently only apply to `gridline` variants. The `default` Hero variant ignores non-default media padding and logs a warning during development.
270
+
208
271
  ### Hero.Video
209
272
 
210
- | name | type | default | description |
211
- | --------------- | --------------------------------------------------------------------------------------------------------------------- | ------------- | --------------------------------------------------------------------------------------------------------------- |
212
- | `position` | `'block-end' \| 'block-end-padded' \| 'inline-end' \| 'inline-end-padded' \| 'inline-start' \| 'inline-start-padded'` | `'block-end'` | Controls positioning of the child video element |
213
- | `poster` | `string` | | URL of the poster image to display before video plays. When set, `posterAltText` and `posterTitle` are required |
214
- | `posterAltText` | `string` | | Alt text for the poster image. Required when `poster` is set |
215
- | `posterTitle` | `string` | | Title text displayed on the poster overlay. Required when `poster` is set |
273
+ | name | type | default | description |
274
+ | --------------- | ----------------------------------------------- | ------------- | --------------------------------------------------------------------------------------------------------------- |
275
+ | `position` | `'block-end' \| 'inline-end' \| 'inline-start'` | `'block-end'` | Controls positioning of the child video element |
276
+ | `padding` | `'default'`, `'none'`, `'all'` | `'default'` | Controls padding around media in gridline layouts |
277
+ | `poster` | `string` | | URL of the poster image to display before video plays. When set, `posterAltText` and `posterTitle` are required |
278
+ | `posterAltText` | `string` | | Alt text for the poster image. Required when `poster` is set |
279
+ | `posterTitle` | `string` | | Title text displayed on the poster overlay. Required when `poster` is set |
@@ -63,7 +63,7 @@ import {River, RiverBreakout} from '@primer/react-brand'
63
63
 
64
64
  ### GridLine variant
65
65
 
66
- The `gridline` variant adds lateral padding to the River component, making it suitable for use within bordered grid layouts.
66
+ The `gridline` variant adds lateral padding and applies a full-bleed visual background by default. Use `position` to align media and `padding` to control its inset.
67
67
 
68
68
  ```jsx
69
69
  <Stack style={{width: '100%'}}>
@@ -87,36 +87,31 @@ The `gridline` variant adds lateral padding to the River component, making it su
87
87
  <Link href="#">Call to action</Link>
88
88
  </River.Content>
89
89
  </River>
90
- </Stack>
91
- ```
92
-
93
- ### Visual with background
94
-
95
- Use the `imageBackgroundColor` prop on `River.Visual` to create a full-bleed container with a background color and the image/video centered inside with padding. This is intended for use with the `gridline` variant.
96
-
97
- ```jsx
98
- <Stack style={{width: '100%'}}>
99
90
  <River variant="gridline">
100
- <River.Visual imageBackgroundColor="subtle">
91
+ <River.Visual position="block-end-inline-end">
101
92
  <img src="/images/placeholder.png" alt="placeholder, blank area with a gray background color" />
102
93
  </River.Visual>
103
94
  <River.Content>
104
- <Heading>Visual with background</Heading>
105
- <Text>
106
- The imageBackgroundColor prop creates a full-bleed container with a subtle background, centering the media with
107
- padding around it.
108
- </Text>
109
- <Link href="#">Call to action</Link>
95
+ <Heading>Bottom-right visual</Heading>
96
+ <Text>The media is flush with the bottom and inline-end edges.</Text>
110
97
  </River.Content>
111
98
  </River>
112
- <River variant="gridline" align="end">
113
- <River.Visual imageBackgroundColor="subtle">
99
+ <River variant="gridline">
100
+ <River.Visual position="block-end-inline-start">
114
101
  <img src="/images/placeholder.png" alt="placeholder, blank area with a gray background color" />
115
102
  </River.Visual>
116
103
  <River.Content>
117
- <Heading>Visual with background (end)</Heading>
118
- <Text>The imageBackgroundColor prop works with all alignment options.</Text>
119
- <Link href="#">Call to action</Link>
104
+ <Heading>Bottom-left visual</Heading>
105
+ <Text>The media is flush with the bottom and inline-start edges.</Text>
106
+ </River.Content>
107
+ </River>
108
+ <River variant="gridline">
109
+ <River.Visual padding="none">
110
+ <img src="/images/placeholder.png" alt="placeholder, blank area with a gray background color" />
111
+ </River.Visual>
112
+ <River.Content>
113
+ <Heading>Full-bleed visual</Heading>
114
+ <Text>The media fills the visual region without padding or corner radius.</Text>
120
115
  </River.Content>
121
116
  </River>
122
117
  </Stack>
@@ -256,18 +251,23 @@ Use the `imageBackgroundColor` prop on `River.Visual` to create a full-bleed con
256
251
  | `id` | `string` | | Sets a custom id |
257
252
  | `ref` | `React.RefObject` | | Forward a Ref to the underlying DOM node |
258
253
 
259
- ### River.Visual and RiverBreakout.Visual `Required`
254
+ ### River.Visual `Required`
255
+
256
+ | Name | Type | Default | Description |
257
+ | :---------- | :--------------------------- | :---------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
258
+ | `fillMedia` | `boolean` | true | Automatically styles images and video to fill and fit the width of the parent. Disable this setting if you have bespoke styling requirements. |
259
+ | `children` | `ReactElement` | | Bring your own component (BYOC) `img` or `ReactElement` (E.g. Next.js `Image` component) |
260
+ | `position` | `RiverVisualPositionOptions` | `'default'` | Positions media within the gridline visual region. Explicit positions remain fixed across viewports; `default` preserves responsive behavior. |
261
+ | `padding` | `RiverVisualPaddingOptions` | `'default'` | Controls media inset within the gridline visual region. `none` fills the visual region and removes corner radius regardless of `rounded`; `all` adds padding on every side. |
262
+ | `hasShadow` | `boolean` | `false` | Shadow applied to the `children`. Set be `false` when the child node has a transparent background. |
263
+ | `className` | `string` | | Sets a custom class on the root element |
264
+ | `id` | `string` | | Sets a custom id |
265
+ | `ref` | `React.RefObject` | | Forward a Ref to the underlying DOM node |
266
+ | `rounded` | `boolean` | `true` | Toggle visually rounded corners. Enabled by default. |
267
+
268
+ ### RiverBreakout.Visual `Required`
260
269
 
261
- | Name | Type | Default | Description |
262
- | :--------------------- | :---------------------- | :-----: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
263
- | `fillMedia` | `boolean` | true | Automatically styles images and video to fill and fit the width of the parent. Disable this setting if you have bespoke styling requirements. |
264
- | `children` | `ReactElement` | | Bring your own component (BYOC) `img` or `ReactElement` (E.g. Next.js `Image` component) |
265
- | `imageBackgroundColor` | `'default'`, `'subtle'` | | Applies a background color with padding around the media. Use `'subtle'` to create a full-bleed container with the image/video centered inside. Intended for use with `gridline` variant. |
266
- | `hasShadow` | `boolean` | `false` | Shadow applied to the `children`. Set be `false` when the child node has a transparent background. |
267
- | `className` | `string` | | Sets a custom class on the root element |
268
- | `id` | `string` | | Sets a custom id |
269
- | `ref` | `React.RefObject` | | Forward a Ref to the underlying DOM node |
270
- | `rounded` | `boolean` | `true` | Toggle visually rounded corners. Enabled by default. |
270
+ `RiverBreakout.Visual` supports the `children`, `fillMedia`, `hasShadow`, `rounded`, and standard HTML props listed above. The `position` and `padding` props are specific to `River.Visual`.
271
271
 
272
272
  ### River.Content and RiverBreakout.Content `Required`
273
273
 
@@ -163,9 +163,8 @@ import {RiverBreakoutTabs} from '@primer/react-brand'
163
163
 
164
164
  ### RiverBreakoutTabs.Visual `Required`
165
165
 
166
- | Name | Type | Default | Description |
167
- | :--------------------- | :---------------------- | :-----: | :-------------------------------- |
168
- | `children` | `React.ReactElement` | | Item visual media |
169
- | `imageBackgroundColor` | `'default' \| 'subtle'` | | Optional background around visual |
166
+ | Name | Type | Default | Description |
167
+ | :--------- | :------------------- | :-----: | :---------------- |
168
+ | `children` | `React.ReactElement` | | Item visual media |
170
169
 
171
170
  `RiverBreakoutTabs.Visual` extends `River.Visual` and supports all `River.Visual` props.
@@ -12,7 +12,7 @@ description: Primer Brand UI components
12
12
  - [Breadcrumbs](Breadcrumbs/react.md): Breadcrumbs display the current page within the site's hierarchy, allowing users to easily navigate to a different level.
13
13
  - [Breakout banner](BreakoutBanner/react.md): Use a breakout banner to break up content on longer pages and highlight important information.
14
14
  - [Button](Button/react.md): Use the button component for the main actions on a page or form.
15
- - [Button group](ButtonGroup/react.md): Use the button group component to group related buttons together.
15
+ - [Button group](ButtonGroup/react.md): Use the button group component to group related buttons and action menus together.
16
16
  - [Card](Card/react.md): Use the card component to display information in a compact way and link to other internal pages.
17
17
  - [Comparison table](ComparisonTable/index.md): Use the comparison table component to compare two products or features in a table format.
18
18
  - [CTA banner](CTABanner/react.md): Use the CTA banner component to highlight and create urgency around user actions.
@@ -78,7 +78,7 @@ Components can be imported into any React-based application.
78
78
  E.g.
79
79
 
80
80
  ```js
81
- import {Hero} from '@primer/react-brand'
81
+ import {Button, Hero} from '@primer/react-brand'
82
82
  ```
83
83
 
84
84
  ```jsx
@@ -89,8 +89,14 @@ import {Hero} from '@primer/react-brand'
89
89
  Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sapien sit ullamcorper id. Aliquam luctus sed turpis
90
90
  felis nam pulvinar risus elementum.
91
91
  </Hero.Description>
92
- <Hero.PrimaryAction href="#">Primary action</Hero.PrimaryAction>
93
- <Hero.SecondaryAction href="#">Secondary action</Hero.SecondaryAction>
92
+ <Hero.ButtonGroup>
93
+ <Button as="a" href="#">
94
+ Primary action
95
+ </Button>
96
+ <Button as="a" href="#">
97
+ Secondary action
98
+ </Button>
99
+ </Hero.ButtonGroup>
94
100
  </Hero>
95
101
  ```
96
102
 
package/docs/index.md CHANGED
@@ -1,6 +1,6 @@
1
- # Primer Brand docs (v0.72.0-rc.f273f08b)
1
+ # Primer Brand docs (v0.72.0)
2
2
 
3
- These docs are bundled with `@primer/react-brand@0.72.0-rc.f273f08b` and match your installed version.
3
+ These docs are bundled with `@primer/react-brand@0.72.0` and match your installed version.
4
4
 
5
5
  New here? Start with [Getting started](getting-started/index.md) for installation, global
6
6
  stylesheet and font setup. Component directories are named after their import (e.g.
@@ -45,7 +45,7 @@ stylesheet and font setup. Component directories are named after their import (e
45
45
  - [Breadcrumbs](components/Breadcrumbs/react.md): Breadcrumbs display the current page within the site's hierarchy, allowing users to easily navigate to a different level.
46
46
  - [Breakout banner](components/BreakoutBanner/react.md): Use a breakout banner to break up content on longer pages and highlight important information.
47
47
  - [Button](components/Button/react.md): Use the button component for the main actions on a page or form.
48
- - [Button group](components/ButtonGroup/react.md): Use the button group component to group related buttons together.
48
+ - [Button group](components/ButtonGroup/react.md): Use the button group component to group related buttons and action menus together.
49
49
  - [Card](components/Card/react.md): Use the card component to display information in a compact way and link to other internal pages.
50
50
  - [Comparison table](components/ComparisonTable/index.md): Use the comparison table component to compare two products or features in a table format.
51
51
  - [Components](components/index.md): Primer Brand UI components
@@ -1,5 +1,5 @@
1
1
  import React, { PropsWithChildren, ReactElement } from 'react';
2
- import { ButtonProps } from '../';
2
+ import { ButtonProps } from '../Button';
3
3
  import { type Icon } from '@primer/octicons-react';
4
4
  import { type PositionSettings } from '@primer/behaviors';
5
5
  import type { BaseProps } from '../component-helpers';
@@ -1 +1 @@
1
- {"version":3,"file":"ActionMenu.d.ts","sourceRoot":"","sources":["../../src/ActionMenu/ActionMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAQZ,iBAAiB,EAGjB,YAAY,EAEb,MAAM,OAAO,CAAA;AACd,OAAO,EAAS,WAAW,EAAgC,MAAM,KAAK,CAAA;AAMtE,OAAO,EAA6B,KAAK,IAAI,EAAC,MAAM,wBAAwB,CAAA;AAG5E,OAAO,EAAY,KAAK,gBAAgB,EAAY,MAAM,mBAAmB,CAAA;AAC7E,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,sBAAsB,CAAA;AAEnD;;GAEG;AACH,OAAO,+GAA+G,CAAA;AAuBtH,eAAO,MAAM,sBAAsB,EAU9B,gBAAgB,CAAC,MAAM,CAAC,EAAE,CAAA;AAE/B,eAAO,MAAM,eAAe,8BAA+B,CAAA;AAE3D,eAAO,MAAM,qBAAqB,sCAAuC,CAAA;AACzE,MAAM,MAAM,qBAAqB,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAA;AAE1E,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAA;AAE9D,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,QAAQ,EACJ,YAAY,CAAC,qBAAqB,CAAC,GACnC,YAAY,C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