@primer/react-brand 0.72.0-rc.f8b72452 → 0.72.1-rc.72b4db43

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 (518) hide show
  1. package/docs/components/ButtonGroup/react.md +29 -8
  2. package/docs/components/Card/react.md +62 -13
  3. package/docs/components/Hero/react.md +82 -18
  4. package/docs/components/River/react.md +46 -13
  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 +4 -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.d.ts +6 -3
  28. package/esm/Card/Card.d.ts.map +1 -1
  29. package/esm/Card/Card.js +32 -32
  30. package/esm/Card/Card.js.map +1 -1
  31. package/esm/Card/Card.module-4GGxtM9r.css +1 -0
  32. package/esm/Card/Card.module.js +4 -1
  33. package/esm/Card/Card.module.js.map +1 -1
  34. package/esm/EyebrowBanner/EyebrowBanner.module-DYeTmaU9.css +1 -0
  35. package/esm/EyebrowBanner/EyebrowBanner.module.js +1 -1
  36. package/esm/EyebrowBanner/EyebrowBanner.module.js.map +1 -1
  37. package/esm/Hero/Hero.d.ts +17 -4
  38. package/esm/Hero/Hero.d.ts.map +1 -1
  39. package/esm/Hero/Hero.js +103 -98
  40. package/esm/Hero/Hero.js.map +1 -1
  41. package/esm/Hero/Hero.module-BfrAFYlo.css +1 -0
  42. package/esm/Hero/Hero.module.js +8 -5
  43. package/esm/Hero/Hero.module.js.map +1 -1
  44. package/esm/Hero/HeroContext.d.ts +7 -5
  45. package/esm/Hero/HeroContext.d.ts.map +1 -1
  46. package/esm/Hero/HeroContext.js +3 -9
  47. package/esm/Hero/HeroContext.js.map +1 -1
  48. package/esm/Hero/sub-components/HeroButtonGroup.d.ts +5 -0
  49. package/esm/Hero/sub-components/HeroButtonGroup.d.ts.map +1 -0
  50. package/esm/Hero/sub-components/HeroButtonGroup.js +28 -0
  51. package/esm/Hero/sub-components/HeroButtonGroup.js.map +1 -0
  52. package/esm/Hero/sub-components/HeroImage.d.ts +7 -4
  53. package/esm/Hero/sub-components/HeroImage.d.ts.map +1 -1
  54. package/esm/Hero/sub-components/HeroImage.js +6 -6
  55. package/esm/Hero/sub-components/HeroImage.js.map +1 -1
  56. package/esm/Hero/sub-components/HeroVideo.d.ts +16 -4
  57. package/esm/Hero/sub-components/HeroVideo.d.ts.map +1 -1
  58. package/esm/Hero/sub-components/HeroVideo.js +15 -15
  59. package/esm/Hero/sub-components/HeroVideo.js.map +1 -1
  60. package/esm/Hero/sub-components/index.d.ts +2 -0
  61. package/esm/Hero/sub-components/index.d.ts.map +1 -1
  62. package/esm/Link/Link.js +5 -5
  63. package/esm/LogoSuite/LogoSuite.js +11 -11
  64. package/esm/LogoSuite/LogoSuite.module-BCbX-lfy.css +1 -0
  65. package/esm/LogoSuite/LogoSuite.module.js +1 -1
  66. package/esm/LogoSuite/LogoSuite.module.js.map +1 -1
  67. package/esm/MinimalFooter/MinimalFooter.js +6 -6
  68. package/esm/MinimalFooter/{MinimalFooter.module-DPMYigso.css → MinimalFooter.module-Cl2g38SO.css} +1 -1
  69. package/esm/MinimalFooter/MinimalFooter.module.js +1 -1
  70. package/esm/MinimalFooter/MinimalFooter.module.js.map +1 -1
  71. package/esm/PricingOptions/PricingOptions.js +18 -18
  72. package/esm/PricingOptions/{PricingOptions.module-Cm3Oq9u6.css → PricingOptions.module-CgPKaZAm.css} +1 -1
  73. package/esm/PricingOptions/PricingOptions.module.js +1 -1
  74. package/esm/PricingOptions/PricingOptions.module.js.map +1 -1
  75. package/esm/SectionIntro/SectionIntro.module-BbIW9pPO.css +1 -0
  76. package/esm/SectionIntro/SectionIntro.module.js +1 -1
  77. package/esm/SectionIntro/SectionIntro.module.js.map +1 -1
  78. package/esm/Statistic/Statistic.d.ts.map +1 -1
  79. package/esm/Statistic/Statistic.js +1 -1
  80. package/esm/Statistic/Statistic.js.map +1 -1
  81. package/esm/Statistic/{Statistic.module-Dqb6n1GX.css → Statistic.module-DvdiSbXk.css} +1 -1
  82. package/esm/Statistic/Statistic.module.js +2 -1
  83. package/esm/Statistic/Statistic.module.js.map +1 -1
  84. package/esm/SubNav/SubNav.js +30 -30
  85. package/esm/SubdomainNavBar/NavigationVisbilityObserver.js +21 -21
  86. package/esm/SubdomainNavBar/SubdomainNavBar.js +83 -83
  87. package/esm/Testimonial/Testimonial.d.ts.map +1 -1
  88. package/esm/Testimonial/Testimonial.js +21 -17
  89. package/esm/Testimonial/Testimonial.js.map +1 -1
  90. package/esm/Testimonial/Testimonial.module-BEV0y2jl.css +1 -0
  91. package/esm/Testimonial/Testimonial.module.js +4 -1
  92. package/esm/Testimonial/Testimonial.module.js.map +1 -1
  93. package/esm/VideoPlayer/VideoPlayer.js +4 -4
  94. package/esm/css/reset-CSgu34_f.css +1 -0
  95. package/esm/css/stylesheets.js +1 -1
  96. package/esm/index.esm.js +68 -68
  97. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/colors/global-with-modes-Bdet_nBw.css +1 -0
  98. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/card/base-DgOt50dE.css +1 -0
  99. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/river/river-DHn1_SEa.css +1 -0
  100. package/esm/river/River/River.d.ts +17 -3
  101. package/esm/river/River/River.d.ts.map +1 -1
  102. package/esm/river/River/River.js +30 -11
  103. package/esm/river/River/River.js.map +1 -1
  104. package/esm/river/River/index.d.ts +2 -2
  105. package/esm/river/River/index.d.ts.map +1 -1
  106. package/esm/river/RiverAccordion/RiverAccordion.js +1 -1
  107. package/esm/river/RiverBreakout/RiverBreakout.d.ts +2 -2
  108. package/esm/river/RiverBreakout/RiverBreakout.d.ts.map +1 -1
  109. package/esm/river/RiverBreakout/RiverBreakout.js +18 -18
  110. package/esm/river/RiverBreakout/RiverBreakout.js.map +1 -1
  111. package/esm/river/RiverBreakoutTabs/RiverBreakoutTabs.d.ts +3 -3
  112. package/esm/river/RiverBreakoutTabs/RiverBreakoutTabs.d.ts.map +1 -1
  113. package/esm/river/RiverBreakoutTabs/RiverBreakoutTabs.js +2 -2
  114. package/esm/river/RiverBreakoutTabs/RiverBreakoutTabs.js.map +1 -1
  115. package/esm/river/RiverBreakoutTabs/RiverBreakoutTabs.module-CB2SZhbE.css +1 -0
  116. package/esm/river/RiverBreakoutTabs/RiverBreakoutTabs.module.js +1 -1
  117. package/esm/river/RiverBreakoutTabs/RiverBreakoutTabs.module.js.map +1 -1
  118. package/esm/river/RiverStoryScroll/RiverStoryScroll.module-kez68wMZ.css +1 -0
  119. package/esm/river/RiverStoryScroll/RiverStoryScroll.module.js +1 -1
  120. package/esm/river/RiverStoryScroll/RiverStoryScroll.module.js.map +1 -1
  121. package/esm/river/river-shared.module-5fefR7ip.css +1 -0
  122. package/esm/river/river-shared.module.js +10 -2
  123. package/esm/river/river-shared.module.js.map +1 -1
  124. package/lib/ActionMenu/ActionMenu.d.ts +1 -1
  125. package/lib/ButtonGroup/ButtonGroup.d.ts +4 -1
  126. package/lib/Card/Card.d.ts +6 -3
  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 +4335 -3991
  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 +3 -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 +5 -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 +3 -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 +3 -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 +5 -1
  402. package/lib/design-tokens/ts/tokens/functional/components/card/base.js +5 -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/index.js +1 -1
  498. package/lib/river/River/River.d.ts +17 -3
  499. package/lib/river/River/index.d.ts +2 -2
  500. package/lib/river/RiverBreakout/RiverBreakout.d.ts +2 -2
  501. package/lib/river/RiverBreakoutTabs/RiverBreakoutTabs.d.ts +3 -3
  502. package/llms.txt +3 -3
  503. package/package.json +1 -1
  504. package/esm/Avatar/Avatar.module-DzfWmLu4.css +0 -1
  505. package/esm/CTABanner/CTABanner.module-DZUT186Y.css +0 -1
  506. package/esm/Card/Card.module-B41BqbuX.css +0 -1
  507. package/esm/EyebrowBanner/EyebrowBanner.module-C8hfGfYx.css +0 -1
  508. package/esm/Hero/Hero.module-DjsgFkIQ.css +0 -1
  509. package/esm/LogoSuite/LogoSuite.module-69Mthqju.css +0 -1
  510. package/esm/SectionIntro/SectionIntro.module-CiRymbla.css +0 -1
  511. package/esm/Testimonial/Testimonial.module-DRCosU_J.css +0 -1
  512. package/esm/css/reset-PKNIUbst.css +0 -1
  513. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/colors/global-with-modes-tpdcmiok.css +0 -1
  514. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/card/base-BRKNIzyd.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/RiverBreakoutTabs/RiverBreakoutTabs.module-CH8jehnx.css +0 -1
  517. package/esm/river/RiverStoryScroll/RiverStoryScroll.module-D8dFaLHq.css +0 -1
  518. package/esm/river/river-shared.module-Bf_bNlTd.css +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"river-shared.module.js","names":[],"sources":["../../src/river/river-shared.module.css"],"sourcesContent":[".River {\n display: grid;\n gap: var(--brand-River-spacing-inner);\n grid-auto-rows: min-content;\n padding-inline: var(--brand-River-spacing-outerInline);\n padding-block: var(--brand-River-spacing-outerBlock);\n container-type: inline-size;\n}\n\n.River--variant-gridline {\n position: relative;\n padding-inline: var(--brand-River-variant-gridline-spacing-outerInline);\n padding-block: var(--brand-River-variant-gridline-spacing-outerBlock);\n gap: var(--base-size-32);\n}\n\n@media screen and (min-width: 48rem) {\n .River--variant-gridline {\n gap: var(--base-size-28);\n }\n}\n\n@media screen and (min-width: 80rem) {\n .River--variant-gridline {\n border-inline: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);\n }\n}\n\n.River--align-center {\n text-align: center;\n}\n\n.River__content {\n order: 2;\n}\n\n.River__visual--fill-media img,\n.River__visual--fill-media picture,\n.River__visual--fill-media video {\n width: 100%;\n height: 100%;\n object-fit: cover;\n}\n\n.River__visual--rounded {\n overflow: hidden;\n border-radius: var(--brand-borderRadius-large);\n}\n\n.River__visual--has-shadow {\n box-shadow: var(--brand-River-visual-shadow);\n}\n\n.River--variant-gridline .River__visual--has-background {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: var(--brand-color-canvas-subtle);\n padding: var(--base-size-32);\n border-radius: 0;\n margin-inline: calc(-1 * var(--brand-River-variant-gridline-spacing-outerInline));\n}\n\n.River--variant-gridline .River__visual--has-background img,\n.River--variant-gridline .River__visual--has-background picture,\n.River--variant-gridline .River__visual--has-background video {\n max-width: 100%;\n height: auto;\n width: auto;\n border-radius: var(--brand-borderRadius-large);\n}\n\n@media screen and (max-width: 47.99rem) {\n .River--variant-gridline .River__visual--has-background {\n align-items: flex-end;\n justify-content: flex-end;\n padding-block-end: 0;\n padding-inline-end: 0;\n }\n\n .River--variant-gridline .River__visual--has-background img,\n .River--variant-gridline .River__visual--has-background picture,\n .River--variant-gridline .River__visual--has-background video {\n border-end-start-radius: 0;\n border-end-end-radius: 0;\n border-start-end-radius: 0;\n }\n}\n\n@media screen and (min-width: 48rem) and (max-width: 63.24rem) {\n .River {\n max-width: 618px;\n margin-inline: auto;\n }\n\n .River--variant-gridline {\n border-inline: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);\n }\n\n .River--variant-gridline .River__visual--has-background {\n align-items: flex-end;\n padding-block-end: 0;\n }\n\n .River--variant-gridline .River__visual--has-background img,\n .River--variant-gridline .River__visual--has-background picture,\n .River--variant-gridline .River__visual--has-background video {\n border-end-start-radius: 0;\n border-end-end-radius: 0;\n }\n}\n\n.River__heading {\n margin-bottom: var(--brand-River-heading-margin);\n}\n\n.River__call-to-action {\n margin-top: var(--base-size-24);\n}\n\n.River__text strong,\n.River__text b {\n font-weight: var(--base-text-weight-normal);\n color: var(--brand-color-text-default);\n}\n\n.River__heading code,\n.River__text code {\n font-size: inherit;\n font-family: var(--brand-fontStack-monospace) !important;\n background-color: var(--brand-color-canvas-subtle);\n padding: 0 var(--base-size-4) var(--base-size-2);\n margin-inline: var(--base-size-2);\n border: var(--brand-borderWidth-thin) solid var(--brand-color-border-default);\n border-radius: var(--brand-borderRadius-small);\n box-shadow: var(--brand-borderWidth-thin) var(--brand-borderWidth-thin) 0 0 var(--brand-color-border-default);\n}\n\n.River__text code {\n padding: var(--base-size-2) var(--base-size-4) 0;\n}\n\n.River__heading-inner:has(code) {\n line-height: calc(1lh * 1.8);\n}\n\n@media screen and (min-width: 64rem) {\n .River__heading-inner:has(code) {\n line-height: calc(1lh * 2.1);\n }\n}\n\n.River__text:has(code) {\n line-height: calc(1lh * 1.1);\n}\n\n.River__trailingComponent {\n margin-block-start: var(--brand-River-spacing-inner);\n}\n\n.River__trailingComponent--divider {\n padding-block-start: var(--brand-River-spacing-inner);\n border-top: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);\n}\n\n.River__label {\n margin-block-end: var(--brand-River-label-margin);\n}\n\n.River--variant-gridline.River--align-start .River__visual {\n order: 1;\n}\n\n.River--variant-gridline.River--align-start .River__content {\n order: 2;\n}\n\n.River--variant-gridline.River--align-end .River__content {\n order: 1;\n}\n\n.River--variant-gridline.River--align-end .River__visual {\n order: 2;\n}\n\n@media screen and (max-width: 63.24rem) {\n .River--variant-gridline.River--align-start .River__visual--has-background {\n margin-block-start: calc(-1 * var(--brand-River-variant-gridline-spacing-outerBlock));\n }\n\n .River--variant-gridline.River--align-end .River__visual--has-background {\n margin-block-end: calc(-1 * var(--brand-River-variant-gridline-spacing-outerBlock));\n }\n\n .River--variant-gridline.River--align-center .River__visual--has-background {\n margin-block-start: calc(-1 * var(--brand-River-variant-gridline-spacing-outerBlock));\n }\n}\n\n/* Large breakpoint and up */\n@media screen and (min-width: 63.25rem) {\n .River {\n grid-template-rows: unset;\n }\n\n .River--variant-gridline .River__visual--has-background {\n padding: var(--base-size-64);\n margin: 0;\n }\n\n .River__content {\n order: unset;\n }\n\n .River--50-50 {\n grid-template-columns: [content] 1fr [visual] 1fr;\n }\n\n .River--60-40 {\n grid-template-columns: [content] 4fr [visual] 6fr;\n }\n\n .River--align-start {\n grid-template-areas: 'content visual';\n }\n\n .River--align-end {\n grid-template-areas: 'visual content';\n }\n\n .River--align-end.River--60-40 {\n grid-template-columns: [visual] 6fr [content] 4fr;\n }\n\n .River--variant-gridline.River--align-start.River--50-50:not(:has(.River__visual--has-background)) .River__visual {\n margin-inline-start: calc(var(--base-size-80) + var(--base-size-8));\n }\n\n .River--variant-gridline.River--align-end.River--50-50:not(:has(.River__visual--has-background)) .River__visual {\n margin-inline-end: calc(var(--base-size-80) + var(--base-size-8));\n }\n\n .River__content {\n display: grid;\n align-content: center;\n grid-area: content;\n }\n\n .River--50-50:not(.River--variant-gridline) .River__body-text,\n .River--50-50:not(.River--variant-gridline) .River__heading {\n max-width: 400px;\n }\n\n .River--align-start:not(.River--variant-gridline) .River__content {\n padding-inline-end: var(--base-size-128);\n }\n\n .River--align-end:not(.River--variant-gridline) .River__content {\n padding-inline-start: var(--base-size-128);\n }\n\n .River__content--align-block-end {\n align-content: end;\n }\n\n .River__visual {\n grid-area: visual;\n }\n\n .River--align-center {\n grid-auto-rows: min-content;\n grid-template-columns: unset;\n }\n\n .River--align-center .River__content,\n .River--align-center .River__visual {\n grid-area: unset;\n justify-self: center;\n }\n\n .River--align-center .River__body-text {\n max-width: 600px;\n justify-self: center;\n }\n\n .River--align-center .River__visual {\n margin-bottom: var(--brand-River-spacing-inner);\n }\n\n .River--align-center .River__content {\n margin-top: var(--brand-River-spacing-inner);\n }\n\n .River--variant-gridline:not(.River--align-center):has(.River__visual--has-background) {\n padding: 0;\n gap: 0;\n }\n\n .River--variant-gridline.River--50-50:not(.River--align-center):has(.River__visual--has-background) {\n grid-template-columns: 1fr 1fr;\n }\n\n .River--variant-gridline.River--60-40:not(.River--align-center):has(.River__visual--has-background) {\n grid-template-columns: 560fr 676fr;\n }\n\n .River--variant-gridline.River--align-end.River--60-40:has(.River__visual--has-background) {\n grid-template-columns: 676fr 560fr;\n }\n\n .River--variant-gridline.River--align-start:has(.River__visual--has-background) .River__content {\n padding-inline-start: var(--base-size-64);\n padding-inline-end: var(--brand-River-spacing-inner);\n padding-block: var(--brand-River-variant-gridline-spacing-outerBlock);\n }\n\n .River--variant-gridline.River--50-50.River--align-start:has(.River__visual--has-background) .River__content {\n padding-inline-end: calc(var(--base-size-80) + var(--base-size-32));\n }\n\n .River--variant-gridline.River--60-40.River--align-start:has(.River__visual--has-background) .River__content {\n padding-inline-end: var(--base-size-128);\n }\n\n .River--variant-gridline.River--align-end:has(.River__visual--has-background) .River__content {\n padding-inline-start: var(--brand-River-spacing-inner);\n padding-inline-end: var(--base-size-64);\n padding-block: var(--brand-River-variant-gridline-spacing-outerBlock);\n }\n\n .River--variant-gridline.River--50-50.River--align-end:has(.River__visual--has-background) .River__content {\n padding-inline-start: calc(var(--base-size-80) + var(--base-size-32));\n }\n\n .River--variant-gridline.River--60-40.River--align-end:has(.River__visual--has-background) .River__content {\n padding-inline-start: var(--base-size-128);\n }\n\n .River--variant-gridline.River--align-start:not(:has(.River__visual--has-background)) .River__content {\n padding-inline-end: var(--brand-River-spacing-inner);\n }\n\n .River--variant-gridline.River--align-end:not(:has(.River__visual--has-background)) .River__content {\n padding-inline-start: var(--brand-River-spacing-inner);\n }\n\n .River--variant-gridline.River--50-50:not(.River--align-center) .River__visual--has-background {\n margin-inline-start: 0;\n margin-inline-end: 0;\n }\n\n .River--variant-gridline.River--align-center:has(.River__visual--has-background) {\n padding: 0;\n }\n\n .River--variant-gridline.River--align-center .River__visual--has-background {\n width: 100%;\n margin: 0;\n }\n\n .River--variant-gridline.River--align-center .River__visual {\n margin-bottom: 0;\n }\n\n .River--variant-gridline.River--align-center {\n gap: 0;\n }\n\n .River--variant-gridline.River--align-center .River__content {\n margin-top: 0;\n margin-bottom: var(--base-size-64);\n }\n\n .River--variant-gridline.River--align-center:has(.River__visual--has-background) .River__content {\n padding-inline: var(--brand-River-variant-gridline-spacing-outerInline);\n padding-block-start: var(--brand-River-variant-gridline-spacing-outerBlock);\n }\n}\n\n.RiverBreakout {\n display: flex;\n flex-direction: column;\n gap: var(--brand-RiverBreakout-spacing-inner);\n padding-block-end: var(--brand-River-spacing-outerBlock);\n padding-block-start: var(--brand-River-spacing-outerBlock);\n}\n\n.RiverBreakout .River__text {\n max-width: 37.5rem; /* 600px */\n color: var(--brand-color-text-default);\n font-size: var(--brand-text-size-500);\n font-weight: var(--brand-heading-weight-500);\n letter-spacing: var(--brand-heading-letterSpacing-500);\n line-height: var(--brand-text-lineHeight-500);\n}\n\n.RiverBreakout--muted .River__text {\n color: var(--brand-color-text-muted);\n}\n\n.RiverBreakout .River__text em,\n.RiverBreakout .River__text b {\n color: var(--brand-color-text-default);\n font-style: normal;\n font-weight: inherit;\n}\n\n.RiverBreakout__hiddenHeading {\n border: 0;\n clip: rect(1px, 1px, 1px, 1px);\n height: 1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.RiverBreakout .River__call-to-action {\n padding-block-start: var(--base-size-12);\n}\n\n@media screen and (min-width: 48rem) {\n .RiverBreakout .River__content {\n display: grid;\n gap: var(--brand-River-spacing-inner);\n row-gap: var(--brand-River-spacing-innerY);\n grid-template-areas:\n 'text trailingComponent'\n 'cta trailingComponent';\n grid-template-columns: 5fr 3fr;\n grid-auto-rows: auto 1fr;\n }\n\n .RiverBreakout .River__text {\n grid-area: text;\n }\n\n .RiverBreakout .River__call-to-action {\n grid-area: cta;\n margin-block: 0;\n }\n\n .RiverBreakout .River__trailingComponent {\n grid-area: trailingComponent;\n justify-self: flex-end;\n margin-block-start: 0;\n }\n}\n\n.RiverBreakout--variant-gridline {\n position: relative;\n padding-inline: var(--brand-RiverBreakout-variant-gridline-spacing-outerInline);\n padding-block-start: var(--brand-RiverBreakout-variant-gridline-spacing-outerBlock);\n padding-block-end: 0;\n gap: 0;\n}\n\n@media screen and (max-width: 63.24rem) {\n .RiverBreakout--variant-gridline {\n width: 100%;\n max-width: 38.625rem;\n margin-inline: auto;\n }\n}\n\n@media screen and (min-width: 618px) {\n .RiverBreakout--variant-gridline {\n border-inline: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);\n }\n}\n\n@media screen and (min-width: 63.25rem) {\n .RiverBreakout--variant-gridline {\n border-inline: none;\n }\n}\n\n@media screen and (min-width: 1300px) {\n .RiverBreakout--variant-gridline {\n border-inline: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);\n }\n}\n\n.RiverBreakout--variant-gridline .River__visual {\n overflow: hidden;\n}\n\n.RiverBreakout--variant-gridline .River__visual--rounded {\n border-radius: var(--brand-borderRadius-large);\n}\n\n.RiverBreakout--variant-gridline .River__content {\n padding-block-start: var(--brand-RiverBreakout-variant-gridline-spacing-outerBlock);\n padding-block-end: var(--brand-RiverBreakout-variant-gridline-spacing-outerBlockEnd);\n gap: var(--brand-RiverBreakout-variant-gridline-spacing-contentGap);\n}\n\n.RiverBreakout--variant-gridline .River__call-to-action {\n padding-block-start: var(--base-size-12);\n}\n\n.RiverBreakout--variant-gridline .River__trailingComponent--divider {\n padding-block-start: var(--brand-RiverBreakout-variant-gridline-spacing-outerBlock);\n padding-block-end: var(--brand-RiverBreakout-variant-gridline-spacing-outerBlockEnd);\n border-top: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);\n margin-inline: calc(-1 * var(--brand-RiverBreakout-variant-gridline-spacing-outerInline));\n padding-inline: var(--brand-RiverBreakout-variant-gridline-spacing-outerInline);\n}\n\n/* Reset base RiverBreakout grid for gridline variant until desktop breakpoint */\n@media screen and (min-width: 48rem) and (max-width: 63.24rem) {\n .RiverBreakout--variant-gridline .River__content {\n display: flex;\n flex-direction: column;\n }\n\n .RiverBreakout--variant-gridline .River__trailingComponent {\n margin-block-start: 0;\n }\n}\n\n@media screen and (min-width: 63.25rem) {\n .RiverBreakout--variant-gridline:has(.River__trailingComponent--divider) {\n padding-block-end: 0;\n }\n\n .RiverBreakout--variant-gridline .River__content {\n display: grid;\n grid-template-areas:\n 'text trailingComponent'\n 'cta trailingComponent';\n grid-template-columns: 1fr var(--brand-RiverBreakout-gridline-trailing-width, 31rem);\n grid-template-rows: auto 1fr;\n gap: var(--brand-RiverBreakout-variant-gridline-spacing-contentGap);\n flex: 1;\n padding-block: 0;\n }\n\n .RiverBreakout--variant-gridline .River__text {\n grid-area: text;\n padding-block-start: var(--brand-RiverBreakout-variant-gridline-spacing-outerBlock);\n }\n\n .RiverBreakout--variant-gridline .River__call-to-action {\n grid-area: cta;\n margin-block: 0;\n padding-block-end: var(--brand-RiverBreakout-variant-gridline-spacing-outerBlockEnd);\n }\n\n .RiverBreakout--variant-gridline .River__trailingComponent {\n grid-area: trailingComponent;\n margin-block-start: 0;\n }\n\n .RiverBreakout--variant-gridline .River__trailingComponent--divider {\n border-top: none;\n border-left: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);\n margin-inline: 0;\n margin-block: 0;\n padding-inline: 0;\n padding-inline-start: var(--brand-RiverBreakout-variant-gridline-spacing-outerInline);\n padding-block: 0;\n padding-block-start: var(--brand-RiverBreakout-variant-gridline-spacing-outerBlock);\n padding-block-end: var(--brand-RiverBreakout-variant-gridline-spacing-outerBlockEnd);\n align-self: stretch;\n }\n}\n\n/* Gridline + background: remove outer container top padding (background fills to top edge) */\n.RiverBreakout--variant-gridline:has(.River__visual--has-background) {\n padding-block-start: 0;\n}\n\n.RiverBreakout .River__visual--has-background {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: var(--brand-color-canvas-subtle);\n border-radius: 0;\n overflow: hidden;\n}\n\n.RiverBreakout .River__visual--has-background img,\n.RiverBreakout .River__visual--has-background picture,\n.RiverBreakout .River__visual--has-background video {\n max-width: 100%;\n height: auto;\n width: auto;\n border-radius: var(--brand-borderRadius-large);\n}\n\n.RiverBreakout .River__visual--has-background [data-video-player-container] {\n border-radius: var(--brand-borderRadius-large);\n}\n\n.RiverBreakout--variant-gridline .River__visual--has-background {\n margin-inline: calc(-1 * var(--brand-RiverBreakout-variant-gridline-spacing-outerInline));\n padding: var(--base-size-32);\n}\n\n@media screen and (max-width: 47.99rem) {\n .RiverBreakout--variant-gridline .River__visual--has-background {\n align-items: flex-end;\n padding-block-end: 0;\n }\n\n .RiverBreakout--variant-gridline .River__visual--has-background img,\n .RiverBreakout--variant-gridline .River__visual--has-background picture,\n .RiverBreakout--variant-gridline .River__visual--has-background video {\n border-end-start-radius: 0;\n border-end-end-radius: 0;\n }\n\n .RiverBreakout--variant-gridline .River__visual--has-background [data-video-player-container] {\n border-end-start-radius: 0;\n border-end-end-radius: 0;\n }\n}\n\n@media screen and (min-width: 48rem) and (max-width: 63.24rem) {\n .RiverBreakout--variant-gridline .River__visual--has-background {\n align-items: flex-end;\n padding-block-end: 0;\n }\n\n .RiverBreakout--variant-gridline .River__visual--has-background img,\n .RiverBreakout--variant-gridline .River__visual--has-background picture,\n .RiverBreakout--variant-gridline .River__visual--has-background video {\n border-end-start-radius: 0;\n border-end-end-radius: 0;\n }\n\n .RiverBreakout--variant-gridline .River__visual--has-background [data-video-player-container] {\n border-end-start-radius: 0;\n border-end-end-radius: 0;\n }\n}\n\n@media screen and (min-width: 63.25rem) {\n .RiverBreakout--variant-gridline .River__visual--has-background {\n align-items: flex-end;\n padding: var(--base-size-64);\n padding-block-end: 0;\n }\n\n .RiverBreakout--variant-gridline .River__visual--has-background img,\n .RiverBreakout--variant-gridline .River__visual--has-background picture,\n .RiverBreakout--variant-gridline .River__visual--has-background video {\n border-end-start-radius: 0;\n border-end-end-radius: 0;\n }\n\n .RiverBreakout--variant-gridline .River__visual--has-background [data-video-player-container] {\n border-end-start-radius: 0;\n border-end-end-radius: 0;\n }\n\n .RiverBreakout--variant-gridline .River__visual--has-background.River__visual--rounded {\n border-radius: 0;\n }\n}\n"],"mappings":""}
1
+ {"version":3,"file":"river-shared.module.js","names":[],"sources":["../../src/river/river-shared.module.css"],"sourcesContent":[".River {\n display: grid;\n gap: var(--brand-River-spacing-inner);\n grid-auto-rows: min-content;\n padding-inline: var(--brand-River-spacing-outerInline);\n padding-block: var(--brand-River-spacing-outerBlock);\n container-type: inline-size;\n}\n\n.River--variant-gridline {\n position: relative;\n padding-inline: var(--brand-River-variant-gridline-spacing-outerInline);\n padding-block: var(--brand-River-variant-gridline-spacing-outerBlock);\n gap: var(--base-size-32);\n}\n\n@media screen and (min-width: 48rem) {\n .River--variant-gridline {\n gap: var(--base-size-28);\n }\n}\n\n@media screen and (min-width: 80rem) {\n .River--variant-gridline {\n border-inline: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);\n }\n}\n\n.River--align-center {\n text-align: center;\n}\n\n.River__content {\n order: 2;\n}\n\n.River__visual :is(img, picture) {\n display: block;\n}\n\n.River__visual--fill-media img,\n.River__visual--fill-media picture,\n.River__visual--fill-media video {\n width: 100%;\n height: 100%;\n object-fit: cover;\n}\n\n.River__visual--rounded {\n overflow: hidden;\n border-radius: var(--brand-borderRadius-large);\n}\n\n.River__visual--has-shadow {\n box-shadow: var(--brand-River-visual-shadow);\n}\n\n.River--variant-gridline .River__visual--has-background {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: var(--brand-color-canvas-subtle);\n padding: var(--brand-River-variant-gridline-visual-padding);\n border-radius: 0;\n margin-inline: calc(-1 * var(--brand-River-variant-gridline-spacing-outerInline));\n}\n\n.River--variant-gridline .River__visual--has-background img,\n.River--variant-gridline .River__visual--has-background picture,\n.River--variant-gridline .River__visual--has-background video {\n max-width: 100%;\n height: auto;\n width: auto;\n border-radius: var(--brand-borderRadius-large);\n}\n\n@media screen and (max-width: 47.99rem) {\n .River--variant-gridline .River__visual--has-background {\n align-items: flex-end;\n justify-content: flex-end;\n padding-block-end: 0;\n padding-inline-end: 0;\n }\n\n .River--variant-gridline .River__visual--has-background img,\n .River--variant-gridline .River__visual--has-background picture,\n .River--variant-gridline .River__visual--has-background video {\n border-end-start-radius: 0;\n border-end-end-radius: 0;\n border-start-end-radius: 0;\n }\n}\n\n@media screen and (min-width: 48rem) and (max-width: 63.24rem) {\n .River {\n max-width: 618px;\n margin-inline: auto;\n }\n\n .River--variant-gridline {\n border-inline: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);\n }\n\n .River--variant-gridline .River__visual--has-background {\n align-items: flex-end;\n padding-block-end: 0;\n }\n\n .River--variant-gridline .River__visual--has-background img,\n .River--variant-gridline .River__visual--has-background picture,\n .River--variant-gridline .River__visual--has-background video {\n border-end-start-radius: 0;\n border-end-end-radius: 0;\n }\n}\n\n.River__heading {\n margin-bottom: var(--brand-River-heading-margin);\n}\n\n.River__call-to-action {\n margin-top: var(--base-size-24);\n}\n\n.River__text strong,\n.River__text b {\n font-weight: var(--base-text-weight-normal);\n color: var(--brand-color-text-default);\n}\n\n.River__heading code,\n.River__text code {\n font-size: inherit;\n font-family: var(--brand-fontStack-monospace) !important;\n background-color: var(--brand-color-canvas-subtle);\n padding: 0 var(--base-size-4) var(--base-size-2);\n margin-inline: var(--base-size-2);\n border: var(--brand-borderWidth-thin) solid var(--brand-color-border-default);\n border-radius: var(--brand-borderRadius-small);\n box-shadow: var(--brand-borderWidth-thin) var(--brand-borderWidth-thin) 0 0 var(--brand-color-border-default);\n}\n\n.River__text code {\n padding: var(--base-size-2) var(--base-size-4) 0;\n}\n\n.River__heading-inner:has(code) {\n line-height: calc(1lh * 1.8);\n}\n\n@media screen and (min-width: 64rem) {\n .River__heading-inner:has(code) {\n line-height: calc(1lh * 2.1);\n }\n}\n\n.River__text:has(code) {\n line-height: calc(1lh * 1.1);\n}\n\n.River__leadingComponent :is(img, picture),\n.River__trailingComponent :is(img, picture) {\n display: block;\n}\n\n.River__trailingComponent {\n margin-block-start: var(--brand-River-spacing-inner);\n}\n\n.River__trailingComponent--divider {\n padding-block-start: var(--brand-River-spacing-inner);\n border-top: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);\n}\n\n.River__label {\n margin-block-end: var(--brand-River-label-margin);\n}\n\n.River--variant-gridline.River--align-start .River__visual {\n order: 1;\n}\n\n.River--variant-gridline.River--align-start .River__content {\n order: 2;\n}\n\n.River--variant-gridline.River--align-end .River__content {\n order: 1;\n}\n\n.River--variant-gridline.River--align-end .River__visual {\n order: 2;\n}\n\n@media screen and (max-width: 63.24rem) {\n .River--variant-gridline.River--align-start .River__visual--has-background {\n margin-block-start: calc(-1 * var(--brand-River-variant-gridline-spacing-outerBlock));\n }\n\n .River--variant-gridline.River--align-end .River__visual--has-background {\n margin-block-end: calc(-1 * var(--brand-River-variant-gridline-spacing-outerBlock));\n }\n\n .River--variant-gridline.River--align-center .River__visual--has-background {\n margin-block-start: calc(-1 * var(--brand-River-variant-gridline-spacing-outerBlock));\n }\n}\n\n/* Large breakpoint and up */\n@media screen and (min-width: 63.25rem) {\n .River {\n grid-template-rows: unset;\n }\n\n .River--variant-gridline .River__visual--has-background {\n margin: 0;\n }\n\n .River__content {\n order: unset;\n }\n\n .River--50-50 {\n grid-template-columns: [content] 1fr [visual] 1fr;\n }\n\n .River--60-40 {\n grid-template-columns: [content] 4fr [visual] 6fr;\n }\n\n .River--align-start {\n grid-template-areas: 'content visual';\n }\n\n .River--align-end {\n grid-template-areas: 'visual content';\n }\n\n .River--align-end.River--60-40 {\n grid-template-columns: [visual] 6fr [content] 4fr;\n }\n\n .River--variant-gridline.River--align-start.River--50-50:not(:has(.River__visual--has-background)) .River__visual {\n margin-inline-start: calc(var(--base-size-80) + var(--base-size-8));\n }\n\n .River--variant-gridline.River--align-end.River--50-50:not(:has(.River__visual--has-background)) .River__visual {\n margin-inline-end: calc(var(--base-size-80) + var(--base-size-8));\n }\n\n .River__content {\n display: grid;\n align-content: center;\n grid-area: content;\n }\n\n .River--50-50:not(.River--variant-gridline) .River__body-text,\n .River--50-50:not(.River--variant-gridline) .River__heading {\n max-width: 400px;\n }\n\n .River--align-start:not(.River--variant-gridline) .River__content {\n padding-inline-end: var(--base-size-128);\n }\n\n .River--align-end:not(.River--variant-gridline) .River__content {\n padding-inline-start: var(--base-size-128);\n }\n\n .River__content--align-block-end {\n align-content: end;\n }\n\n .River__visual {\n grid-area: visual;\n }\n\n .River--align-center {\n grid-auto-rows: min-content;\n grid-template-columns: unset;\n }\n\n .River--align-center .River__content,\n .River--align-center .River__visual {\n grid-area: unset;\n justify-self: center;\n }\n\n .River--align-center .River__body-text {\n max-width: 600px;\n justify-self: center;\n }\n\n .River--align-center .River__visual {\n margin-bottom: var(--brand-River-spacing-inner);\n }\n\n .River--align-center .River__content {\n margin-top: var(--brand-River-spacing-inner);\n }\n\n .River--variant-gridline:not(.River--align-center):has(.River__visual--has-background) {\n padding: 0;\n gap: 0;\n }\n\n .River--variant-gridline.River--50-50:not(.River--align-center):has(.River__visual--has-background) {\n grid-template-columns: 1fr 1fr;\n }\n\n .River--variant-gridline.River--60-40:not(.River--align-center):has(.River__visual--has-background) {\n grid-template-columns: 560fr 676fr;\n }\n\n .River--variant-gridline.River--align-end.River--60-40:has(.River__visual--has-background) {\n grid-template-columns: 676fr 560fr;\n }\n\n .River--variant-gridline.River--align-start:has(.River__visual--has-background) .River__content {\n padding-inline-start: var(--base-size-64);\n padding-inline-end: var(--brand-River-spacing-inner);\n padding-block: var(--brand-River-variant-gridline-spacing-outerBlock);\n }\n\n .River--variant-gridline.River--50-50.River--align-start:has(.River__visual--has-background) .River__content {\n padding-inline-end: calc(var(--base-size-80) + var(--base-size-32));\n }\n\n .River--variant-gridline.River--60-40.River--align-start:has(.River__visual--has-background) .River__content {\n padding-inline-end: var(--base-size-128);\n }\n\n .River--variant-gridline.River--align-end:has(.River__visual--has-background) .River__content {\n padding-inline-start: var(--brand-River-spacing-inner);\n padding-inline-end: var(--base-size-64);\n padding-block: var(--brand-River-variant-gridline-spacing-outerBlock);\n }\n\n .River--variant-gridline.River--50-50.River--align-end:has(.River__visual--has-background) .River__content {\n padding-inline-start: calc(var(--base-size-80) + var(--base-size-32));\n }\n\n .River--variant-gridline.River--60-40.River--align-end:has(.River__visual--has-background) .River__content {\n padding-inline-start: var(--base-size-128);\n }\n\n .River--variant-gridline.River--align-start:not(:has(.River__visual--has-background)) .River__content {\n padding-inline-end: var(--brand-River-spacing-inner);\n }\n\n .River--variant-gridline.River--align-end:not(:has(.River__visual--has-background)) .River__content {\n padding-inline-start: var(--brand-River-spacing-inner);\n }\n\n .River--variant-gridline.River--50-50:not(.River--align-center) .River__visual--has-background {\n margin-inline-start: 0;\n margin-inline-end: 0;\n }\n\n .River--variant-gridline.River--align-center:has(.River__visual--has-background) {\n padding: 0;\n }\n\n .River--variant-gridline.River--align-center .River__visual--has-background {\n width: 100%;\n margin: 0;\n }\n\n .River--variant-gridline.River--align-center .River__visual {\n margin-bottom: 0;\n }\n\n .River--variant-gridline.River--align-center {\n gap: 0;\n }\n\n .River--variant-gridline.River--align-center .River__content {\n margin-top: 0;\n margin-bottom: var(--base-size-64);\n }\n\n .River--variant-gridline.River--align-center:has(.River__visual--has-background) .River__content {\n padding-inline: var(--brand-River-variant-gridline-spacing-outerInline);\n padding-block-start: var(--brand-River-variant-gridline-spacing-outerBlock);\n }\n}\n\n/* Explicit visual media layouts override the responsive default without changing it. */\n.River--variant-gridline .River__visual.River__visual--position-center {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: var(--brand-River-variant-gridline-visual-padding);\n border-radius: 0;\n}\n\n.River--variant-gridline .River__visual.River__visual--position-block-end {\n display: flex;\n align-items: flex-end;\n justify-content: center;\n padding: var(--brand-River-variant-gridline-visual-padding);\n padding-block-end: 0;\n border-radius: 0;\n}\n\n.River--variant-gridline .River__visual.River__visual--position-block-end-inline-start {\n display: flex;\n align-items: flex-end;\n justify-content: flex-start;\n padding: var(--brand-River-variant-gridline-visual-padding);\n padding-block-end: 0;\n padding-inline-start: 0;\n border-radius: 0;\n}\n\n.River--variant-gridline .River__visual.River__visual--position-block-end-inline-end {\n display: flex;\n align-items: flex-end;\n justify-content: flex-end;\n padding: var(--brand-River-variant-gridline-visual-padding);\n padding-block-end: 0;\n padding-inline-end: 0;\n border-radius: 0;\n}\n\n.River--variant-gridline .River__visual.River__visual--padding-all {\n padding: var(--brand-River-variant-gridline-visual-padding);\n}\n\n.River--variant-gridline .River__visual.River__visual--padding-none {\n padding: 0;\n border-radius: 0;\n}\n\n.River--variant-gridline\n .River__visual:is(\n .River__visual--position-center,\n .River__visual--position-block-end,\n .River__visual--position-block-end-inline-start,\n .River__visual--position-block-end-inline-end\n )\n :is(img, picture, video, [data-video-player-container]) {\n max-width: 100%;\n width: auto;\n height: auto;\n border-radius: 0;\n}\n\n.River--variant-gridline\n .River__visual.River__visual--padding-all\n :is(img, picture, video, [data-video-player-container]) {\n border-radius: 0;\n}\n\n.River--variant-gridline\n .River__visual.River__visual--rounded.River__visual--position-center\n :is(img, picture, video, [data-video-player-container]) {\n border-radius: var(--brand-borderRadius-large);\n}\n\n.River--variant-gridline\n .River__visual.River__visual--rounded.River__visual--position-block-end\n :is(img, picture, video, [data-video-player-container]) {\n border-radius: var(--brand-borderRadius-large) var(--brand-borderRadius-large) 0 0;\n}\n\n.River--variant-gridline\n .River__visual.River__visual--rounded.River__visual--position-block-end-inline-start\n :is(img, picture, video, [data-video-player-container]) {\n border-radius: 0;\n border-start-end-radius: var(--brand-borderRadius-large);\n}\n\n.River--variant-gridline\n .River__visual.River__visual--rounded.River__visual--position-block-end-inline-end\n :is(img, picture, video, [data-video-player-container]) {\n border-radius: 0;\n border-start-start-radius: var(--brand-borderRadius-large);\n}\n\n.River--variant-gridline\n .River__visual.River__visual--rounded.River__visual--padding-all\n :is(img, picture, video, [data-video-player-container]) {\n border-radius: var(--brand-borderRadius-large);\n}\n\n.River--variant-gridline\n .River__visual.River__visual--fill-media.River__visual--padding-none\n :is(img, picture, video, [data-video-player-container]) {\n width: 100%;\n max-width: none;\n height: 100%;\n object-fit: cover;\n}\n\n.River--variant-gridline\n .River__visual.River__visual--padding-none\n :is(img, picture, video, [data-video-player-container]),\n.River--variant-gridline\n .River__visual.River__visual--rounded.River__visual--padding-none\n :is(img, picture, video, [data-video-player-container]) {\n border-radius: 0;\n}\n\n.RiverBreakout {\n display: flex;\n flex-direction: column;\n gap: var(--brand-RiverBreakout-spacing-inner);\n padding-block-end: var(--brand-River-spacing-outerBlock);\n padding-block-start: var(--brand-River-spacing-outerBlock);\n}\n\n.RiverBreakout .River__text {\n max-width: 37.5rem; /* 600px */\n color: var(--brand-color-text-default);\n font-size: var(--brand-text-size-500);\n font-weight: var(--brand-heading-weight-500);\n letter-spacing: var(--brand-heading-letterSpacing-500);\n line-height: var(--brand-text-lineHeight-500);\n}\n\n.RiverBreakout--muted .River__text {\n color: var(--brand-color-text-muted);\n}\n\n.RiverBreakout .River__text em,\n.RiverBreakout .River__text b {\n color: var(--brand-color-text-default);\n font-style: normal;\n font-weight: inherit;\n}\n\n.RiverBreakout__hiddenHeading {\n border: 0;\n clip: rect(1px, 1px, 1px, 1px);\n height: 1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.RiverBreakout .River__call-to-action {\n padding-block-start: var(--base-size-12);\n}\n\n@media screen and (min-width: 48rem) {\n .RiverBreakout .River__content {\n display: grid;\n gap: var(--brand-River-spacing-inner);\n row-gap: var(--brand-River-spacing-innerY);\n grid-template-areas:\n 'text trailingComponent'\n 'cta trailingComponent';\n grid-template-columns: 5fr 3fr;\n grid-auto-rows: auto 1fr;\n }\n\n .RiverBreakout .River__text {\n grid-area: text;\n }\n\n .RiverBreakout .River__call-to-action {\n grid-area: cta;\n margin-block: 0;\n }\n\n .RiverBreakout .River__trailingComponent {\n grid-area: trailingComponent;\n justify-self: flex-end;\n margin-block-start: 0;\n }\n}\n\n.RiverBreakout--variant-gridline {\n position: relative;\n padding-inline: var(--brand-RiverBreakout-variant-gridline-spacing-outerInline);\n padding-block-start: var(--brand-RiverBreakout-variant-gridline-spacing-outerBlock);\n padding-block-end: 0;\n gap: 0;\n}\n\n@media screen and (max-width: 63.24rem) {\n .RiverBreakout--variant-gridline {\n width: 100%;\n max-width: 38.625rem;\n margin-inline: auto;\n }\n}\n\n@media screen and (min-width: 618px) {\n .RiverBreakout--variant-gridline {\n border-inline: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);\n }\n}\n\n@media screen and (min-width: 63.25rem) {\n .RiverBreakout--variant-gridline {\n border-inline: none;\n }\n}\n\n@media screen and (min-width: 1300px) {\n .RiverBreakout--variant-gridline {\n border-inline: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);\n }\n}\n\n.RiverBreakout--variant-gridline .River__visual {\n overflow: hidden;\n}\n\n.RiverBreakout--variant-gridline .River__visual--rounded {\n border-radius: var(--brand-borderRadius-large);\n}\n\n.RiverBreakout--variant-gridline .River__content {\n padding-block-start: var(--brand-RiverBreakout-variant-gridline-spacing-outerBlock);\n padding-block-end: var(--brand-RiverBreakout-variant-gridline-spacing-outerBlockEnd);\n gap: var(--brand-RiverBreakout-variant-gridline-spacing-contentGap);\n}\n\n.RiverBreakout--variant-gridline .River__call-to-action {\n padding-block-start: var(--base-size-12);\n}\n\n.RiverBreakout--variant-gridline .River__trailingComponent--divider {\n padding-block-start: var(--brand-RiverBreakout-variant-gridline-spacing-outerBlock);\n padding-block-end: var(--brand-RiverBreakout-variant-gridline-spacing-outerBlockEnd);\n border-top: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);\n margin-inline: calc(-1 * var(--brand-RiverBreakout-variant-gridline-spacing-outerInline));\n padding-inline: var(--brand-RiverBreakout-variant-gridline-spacing-outerInline);\n}\n\n/* Reset base RiverBreakout grid for gridline variant until desktop breakpoint */\n@media screen and (min-width: 48rem) and (max-width: 63.24rem) {\n .RiverBreakout--variant-gridline .River__content {\n display: flex;\n flex-direction: column;\n }\n\n .RiverBreakout--variant-gridline .River__trailingComponent {\n margin-block-start: 0;\n }\n}\n\n@media screen and (min-width: 63.25rem) {\n .RiverBreakout--variant-gridline:has(.River__trailingComponent--divider) {\n padding-block-end: 0;\n }\n\n .RiverBreakout--variant-gridline .River__content {\n display: grid;\n grid-template-areas:\n 'text trailingComponent'\n 'cta trailingComponent';\n grid-template-columns: 1fr var(--brand-RiverBreakout-gridline-trailing-width, 31rem);\n grid-template-rows: auto 1fr;\n gap: var(--brand-RiverBreakout-variant-gridline-spacing-contentGap);\n flex: 1;\n padding-block: 0;\n }\n\n .RiverBreakout--variant-gridline .River__text {\n grid-area: text;\n padding-block-start: var(--brand-RiverBreakout-variant-gridline-spacing-outerBlock);\n }\n\n .RiverBreakout--variant-gridline .River__call-to-action {\n grid-area: cta;\n margin-block: 0;\n padding-block-end: var(--brand-RiverBreakout-variant-gridline-spacing-outerBlockEnd);\n }\n\n .RiverBreakout--variant-gridline .River__trailingComponent {\n grid-area: trailingComponent;\n margin-block-start: 0;\n }\n\n .RiverBreakout--variant-gridline .River__trailingComponent--divider {\n border-top: none;\n border-left: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);\n margin-inline: 0;\n margin-block: 0;\n padding-inline: 0;\n padding-inline-start: var(--brand-RiverBreakout-variant-gridline-spacing-outerInline);\n padding-block: 0;\n padding-block-start: var(--brand-RiverBreakout-variant-gridline-spacing-outerBlock);\n padding-block-end: var(--brand-RiverBreakout-variant-gridline-spacing-outerBlockEnd);\n align-self: stretch;\n }\n}\n"],"mappings":""}
@@ -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,9 +1,12 @@
1
1
  import React from 'react';
2
2
  import type { BaseProps } from '../component-helpers';
3
3
  import { ButtonProps } from '../Button';
4
+ import { ActionMenuProps } from '../ActionMenu';
4
5
  export type PrimerBrandButtonType = React.ReactElement<ButtonProps<React.ElementType<'button' | 'a'>>>;
6
+ export type PrimerBrandActionMenuType = React.ReactElement<ActionMenuProps>;
7
+ export type ButtonGroupChild = PrimerBrandButtonType | PrimerBrandActionMenuType | false | null | undefined;
5
8
  export type ButtonGroupProps = BaseProps<HTMLDivElement> & {
6
- children: PrimerBrandButtonType[] | PrimerBrandButtonType;
9
+ children: ButtonGroupChild | ButtonGroupChild[];
7
10
  buttonSize?: ButtonProps<'button' | 'a'>['size'];
8
11
  buttonsAs?: 'button' | 'a';
9
12
  };
@@ -12,6 +12,7 @@ export declare const CardCTAVariants: readonly ["text", "arrow", "none"];
12
12
  export declare const CardBackgroundColors: readonly ["default", "subtle", "none"];
13
13
  export declare const CardTokenPositions: readonly ["block-start", "block-end"];
14
14
  export declare const CardLabelVariants: readonly ["token", "accent-text"];
15
+ export declare const CardImagePaddingOptions: readonly ["default", "none"];
15
16
  export declare const CardIconColors: readonly ["default", "blue", "coral", "green", "gray", "indigo", "lemon", "lime", "orange", "pink", "purple", "red", "teal", "yellow"];
16
17
  export declare const defaultCardIconColor: "default";
17
18
  export declare const defaultCardCTAVariant: "text";
@@ -21,6 +22,7 @@ export type CardCTAVariant = (typeof CardCTAVariants)[number];
21
22
  export type CardTokenPosition = (typeof CardTokenPositions)[number];
22
23
  export type CardLabelVariant = (typeof CardLabelVariants)[number];
23
24
  export type CardBackgroundColor = (typeof CardBackgroundColors)[number];
25
+ export type CardImagePadding = (typeof CardImagePaddingOptions)[number];
24
26
  type CardLeadingVisual = React.ReactElement | React.ComponentType<{
25
27
  className?: string;
26
28
  }>;
@@ -34,7 +36,7 @@ export type CardProps = {
34
36
  */
35
37
  children: React.ReactNode | React.ReactElement<CardImageProps> | React.ReactElement<CardIconProps> | React.ReactElement<CardLabelProps> | React.ReactElement<CardTokensProps> | React.ReactElement<CardHeadingProps> | React.ReactElement<CardDescriptionProps>;
36
38
  /**
37
- * Disable the default hover animation
39
+ * Disable transitions and animations within the Card
38
40
  */
39
41
  disableAnimation?: boolean;
40
42
  /**
@@ -70,10 +72,11 @@ export type CardProps = {
70
72
  */
71
73
  align?: 'start' | 'center';
72
74
  } & Omit<BaseProps<HTMLDivElement>, 'animate'> & Omit<React.ComponentPropsWithoutRef<'div'>, 'onMouseEnter' | 'onMouseLeave' | 'onFocus' | 'onBlur'> & Pick<React.ComponentPropsWithoutRef<'a'>, 'onMouseEnter' | 'onMouseLeave' | 'onFocus' | 'onBlur'>;
73
- type CardImageProps = {
75
+ export type CardImageProps = {
74
76
  position?: 'block-start' | 'block-end';
77
+ padding?: CardImagePadding;
75
78
  } & ImageProps;
76
- declare function CardImage({ className, ...rest }: CardImageProps): import("react/jsx-runtime").JSX.Element;
79
+ declare function CardImage({ className, position, padding, ...rest }: CardImageProps): import("react/jsx-runtime").JSX.Element;
77
80
  type CardIconProps = IconProps;
78
81
  type CardTokensProps = BaseProps<HTMLDivElement> & {
79
82
  children: React.ReactNode | React.ReactNode[];
@@ -105,6 +105,11 @@ export declare const Hero: React.ForwardRefExoticComponent<Omit<React.PropsWithC
105
105
  } & {
106
106
  children?: React.ReactNode | undefined;
107
107
  }, "ref">) & React.RefAttributes<HTMLParagraphElement>>;
108
+ ButtonGroup: React.ForwardRefExoticComponent<Omit<Omit<import("..").ButtonGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
109
+ /**
110
+ * @deprecated Use `Hero.ButtonGroup` with `Button` or `ActionMenu` children instead.
111
+ * This component will be removed in a future release.
112
+ */
108
113
  PrimaryAction: React.ForwardRefExoticComponent<(Omit<{
109
114
  as?: "a" | "button";
110
115
  href: string;
@@ -120,6 +125,10 @@ export declare const Hero: React.ForwardRefExoticComponent<Omit<React.PropsWithC
120
125
  } & {
121
126
  children?: React.ReactNode | undefined;
122
127
  }, "ref">) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
128
+ /**
129
+ * @deprecated Use `Hero.ButtonGroup` with `Button` or `ActionMenu` children instead.
130
+ * This component will be removed in a future release.
131
+ */
123
132
  SecondaryAction: React.ForwardRefExoticComponent<(Omit<{
124
133
  as?: "a" | "button";
125
134
  href: string;
@@ -136,7 +145,8 @@ export declare const Hero: React.ForwardRefExoticComponent<Omit<React.PropsWithC
136
145
  children?: React.ReactNode | undefined;
137
146
  }, "ref">) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
138
147
  Image: React.ForwardRefExoticComponent<(Omit<{
139
- position?: import("./HeroContext").HeroMediaPositions;
148
+ position?: import("./HeroContext").HeroMediaPosition;
149
+ padding?: import("./HeroContext").HeroMediaPadding;
140
150
  enableBorder?: boolean;
141
151
  } & React.ImgHTMLAttributes<HTMLImageElement> & BaseProps<HTMLImageElement> & {
142
152
  src: string;
@@ -149,7 +159,8 @@ export declare const Hero: React.ForwardRefExoticComponent<Omit<React.PropsWithC
149
159
  as?: "img";
150
160
  srcSet?: Pick<React.ImgHTMLAttributes<HTMLImageElement>, "srcSet">;
151
161
  }, "ref"> | Omit<{
152
- position?: import("./HeroContext").HeroMediaPositions;
162
+ position?: import("./HeroContext").HeroMediaPosition;
163
+ padding?: import("./HeroContext").HeroMediaPadding;
153
164
  enableBorder?: boolean;
154
165
  } & React.ImgHTMLAttributes<HTMLImageElement> & BaseProps<HTMLImageElement> & {
155
166
  src: string;
@@ -167,7 +178,8 @@ export declare const Hero: React.ForwardRefExoticComponent<Omit<React.PropsWithC
167
178
  srcSet?: undefined;
168
179
  }, "ref">) & React.RefAttributes<HTMLImageElement>>;
169
180
  Video: React.ForwardRefExoticComponent<(Omit<{
170
- position?: import("./HeroContext").HeroMediaPositions;
181
+ position?: import("./HeroContext").HeroMediaPosition;
182
+ padding?: import("./HeroContext").HeroMediaPadding;
171
183
  enableBorder?: boolean;
172
184
  'data-testid'?: string;
173
185
  } & BaseProps<HTMLDivElement> & {
@@ -177,7 +189,8 @@ export declare const Hero: React.ForwardRefExoticComponent<Omit<React.PropsWithC
177
189
  posterAltText?: never;
178
190
  posterTitle?: never;
179
191
  }, "ref"> | Omit<{
180
- position?: import("./HeroContext").HeroMediaPositions;
192
+ position?: import("./HeroContext").HeroMediaPosition;
193
+ padding?: import("./HeroContext").HeroMediaPadding;
181
194
  enableBorder?: boolean;
182
195
  'data-testid'?: string;
183
196
  } & BaseProps<HTMLDivElement> & {
@@ -3,10 +3,12 @@ export declare const HeroAlignOptions: readonly ["start", "center"];
3
3
  export type HeroAlign = (typeof HeroAlignOptions)[number];
4
4
  export declare const HeroVariantOptions: readonly ["default", "gridline", "gridline-expressive"];
5
5
  export type HeroVariant = (typeof HeroVariantOptions)[number];
6
- export declare const heroMediaPositions: readonly ["block-end", "block-end-padded", "inline-start", "inline-end", "inline-end-padded", "inline-start-padded"];
7
- export declare const heroMediaInlinePositions: ("inline-end" | "inline-start" | "block-end" | "block-end-padded" | "inline-end-padded" | "inline-start-padded")[];
8
- export type HeroMediaPositions = (typeof heroMediaPositions)[number];
9
- export type HeroMediaInlinePositions = (typeof heroMediaInlinePositions)[number];
6
+ export declare const HeroMediaPaddingOptions: readonly ["default", "none", "all"];
7
+ export type HeroMediaPadding = (typeof HeroMediaPaddingOptions)[number];
8
+ export declare const HeroMediaPositionOptions: readonly ["block-end", "inline-start", "inline-end"];
9
+ export declare const HeroMediaInlinePositionOptions: readonly ["inline-start", "inline-end"];
10
+ export type HeroMediaPosition = (typeof HeroMediaPositionOptions)[number];
11
+ export type HeroMediaInlinePosition = (typeof HeroMediaInlinePositionOptions)[number];
10
12
  type HeroContextType = {
11
13
  /**
12
14
  * The active variant of the Hero component
@@ -19,7 +21,7 @@ type HeroContextType = {
19
21
  /**
20
22
  * Image position within the Hero
21
23
  */
22
- imagePosition: HeroMediaPositions;
24
+ imagePosition: HeroMediaPosition;
23
25
  /**
24
26
  * Hero.Image is an inline media position
25
27
  */
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { ButtonGroup } from '../../ButtonGroup';
3
+ export type HeroButtonGroupProps = React.ComponentProps<typeof ButtonGroup>;
4
+ export declare const HeroButtonGroup: React.ForwardRefExoticComponent<Omit<Omit<import("../..").ButtonGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
@@ -1,12 +1,14 @@
1
1
  import { ImageProps } from '../../Image';
2
2
  import type { BaseProps } from '../../component-helpers';
3
- import { type HeroMediaPositions } from '../HeroContext';
3
+ import { type HeroMediaPadding, type HeroMediaPosition } from '../HeroContext';
4
4
  export type HeroImageProps = {
5
- position?: HeroMediaPositions;
5
+ position?: HeroMediaPosition;
6
+ padding?: HeroMediaPadding;
6
7
  enableBorder?: boolean;
7
8
  } & ImageProps & BaseProps<HTMLImageElement>;
8
9
  export declare const HeroImage: import("react").ForwardRefExoticComponent<(Omit<{
9
- position?: HeroMediaPositions;
10
+ position?: HeroMediaPosition;
11
+ padding?: HeroMediaPadding;
10
12
  enableBorder?: boolean;
11
13
  } & import("react").ImgHTMLAttributes<HTMLImageElement> & BaseProps<HTMLImageElement> & {
12
14
  src: string;
@@ -19,7 +21,8 @@ export declare const HeroImage: import("react").ForwardRefExoticComponent<(Omit<
19
21
  as?: "img";
20
22
  srcSet?: Pick<React.ImgHTMLAttributes<HTMLImageElement>, "srcSet">;
21
23
  }, "ref"> | Omit<{
22
- position?: HeroMediaPositions;
24
+ position?: HeroMediaPosition;
25
+ padding?: HeroMediaPadding;
23
26
  enableBorder?: boolean;
24
27
  } & import("react").ImgHTMLAttributes<HTMLImageElement> & BaseProps<HTMLImageElement> & {
25
28
  src: string;
@@ -1,8 +1,12 @@
1
1
  import React, { PropsWithChildren } from 'react';
2
2
  import type { BaseProps } from '../../component-helpers';
3
- import type { HeroMediaPositions } from '../HeroContext';
3
+ import type { HeroMediaPadding, HeroMediaPosition } from '../HeroContext';
4
4
  type HeroVideoBaseProps = {
5
- position?: HeroMediaPositions;
5
+ position?: HeroMediaPosition;
6
+ /**
7
+ * Controls the padding around media in gridline layouts. `default` preserves the padding recommended for the position.
8
+ */
9
+ padding?: HeroMediaPadding;
6
10
  enableBorder?: boolean;
7
11
  'data-testid'?: string;
8
12
  } & PropsWithChildren<BaseProps<HTMLDivElement>>;
@@ -17,7 +21,11 @@ type PosterProps = {
17
21
  };
18
22
  export type HeroVideoProps = HeroVideoBaseProps & PosterProps;
19
23
  export declare const HeroVideo: React.ForwardRefExoticComponent<(Omit<{
20
- position?: HeroMediaPositions;
24
+ position?: HeroMediaPosition;
25
+ /**
26
+ * Controls the padding around media in gridline layouts. `default` preserves the padding recommended for the position.
27
+ */
28
+ padding?: HeroMediaPadding;
21
29
  enableBorder?: boolean;
22
30
  'data-testid'?: string;
23
31
  } & BaseProps<HTMLDivElement> & {
@@ -27,7 +35,11 @@ export declare const HeroVideo: React.ForwardRefExoticComponent<(Omit<{
27
35
  posterAltText?: never;
28
36
  posterTitle?: never;
29
37
  }, "ref"> | Omit<{
30
- position?: HeroMediaPositions;
38
+ position?: HeroMediaPosition;
39
+ /**
40
+ * Controls the padding around media in gridline layouts. `default` preserves the padding recommended for the position.
41
+ */
42
+ padding?: HeroMediaPadding;
31
43
  enableBorder?: boolean;
32
44
  'data-testid'?: string;
33
45
  } & BaseProps<HTMLDivElement> & {
@@ -4,6 +4,8 @@ export { HeroHeading } from './HeroHeading';
4
4
  export type { HeroHeadingProps } from './HeroHeading';
5
5
  export { HeroDescription } from './HeroDescription';
6
6
  export type { HeroDescriptionProps } from './HeroDescription';
7
+ export { HeroButtonGroup } from './HeroButtonGroup';
8
+ export type { HeroButtonGroupProps } from './HeroButtonGroup';
7
9
  export { HeroImage } from './HeroImage';
8
10
  export type { HeroImageProps } from './HeroImage';
9
11
  export { HeroVideo } from './HeroVideo';