@primer/react-brand 0.34.4-rc.d299effb → 0.35.0-rc.02f8890c

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 (373) hide show
  1. package/lib/CTABanner/CTABanner.d.ts +4 -4
  2. package/lib/Hero/Hero.d.ts +5 -3
  3. package/lib/LogoSuite/LogoSuite.d.ts +5 -5
  4. package/lib/Stack/Stack.d.ts +2 -2
  5. package/lib/VideoPlayer/VideoPlayer.d.ts +29 -8
  6. package/lib/VideoPlayer/components/CCButton/CCButton.d.ts +2 -0
  7. package/lib/VideoPlayer/components/CCButton/index.d.ts +1 -0
  8. package/lib/VideoPlayer/components/Captions/Captions.d.ts +2 -0
  9. package/lib/VideoPlayer/components/Controls/Controls.d.ts +6 -0
  10. package/lib/VideoPlayer/components/ControlsBar/ControlsBar.d.ts +3 -0
  11. package/lib/VideoPlayer/components/ControlsBar/index.d.ts +1 -0
  12. package/lib/VideoPlayer/components/FullScreenButton/FullScreenButton.d.ts +2 -0
  13. package/lib/VideoPlayer/components/FullScreenButton/index.d.ts +1 -0
  14. package/lib/VideoPlayer/components/{icon-control → IconControl}/IconControl.d.ts +2 -2
  15. package/lib/VideoPlayer/components/MuteButton/MuteButton.d.ts +2 -0
  16. package/lib/VideoPlayer/components/MuteButton/index.d.ts +1 -0
  17. package/lib/VideoPlayer/components/PauseIcon/PauseIcon.d.ts +2 -0
  18. package/lib/VideoPlayer/components/PauseIcon/index.d.ts +1 -0
  19. package/lib/VideoPlayer/components/PlayIcon/PlayIcon.d.ts +2 -0
  20. package/lib/VideoPlayer/components/PlayIcon/index.d.ts +1 -0
  21. package/lib/VideoPlayer/components/PlayPauseButton/PlayPauseButton.d.ts +2 -0
  22. package/lib/VideoPlayer/components/PlayPauseButton/index.d.ts +1 -0
  23. package/lib/VideoPlayer/components/{range → Range}/Range.d.ts +2 -3
  24. package/lib/VideoPlayer/components/SeekControl/SeekControl.d.ts +4 -0
  25. package/lib/VideoPlayer/components/SeekControl/index.d.ts +1 -0
  26. package/lib/VideoPlayer/components/VideoTooltip/VideoTooltip.d.ts +4 -0
  27. package/lib/VideoPlayer/components/VideoTooltip/index.d.ts +1 -0
  28. package/lib/VideoPlayer/components/VolumeControl/VolumeControl.d.ts +2 -0
  29. package/lib/VideoPlayer/components/VolumeControl/index.d.ts +1 -0
  30. package/lib/VideoPlayer/components/index.d.ts +14 -5
  31. package/lib/VideoPlayer/hooks/index.d.ts +4 -0
  32. package/lib/VideoPlayer/hooks/useIsElementFullScreen.d.ts +2 -0
  33. package/lib/VideoPlayer/hooks/useVideo.d.ts +34 -0
  34. package/lib/VideoPlayer/hooks/useVideoKeypressHandlers.d.ts +3 -0
  35. package/lib/VideoPlayer/hooks/useVideoResizeObserver.d.ts +5 -0
  36. package/lib/css/main.css +686 -173
  37. package/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes.css +1 -1
  38. package/lib/design-tokens/css/tokens/base/colors/light.css +1 -1
  39. package/lib/design-tokens/css/tokens/base/size/size.css +1 -1
  40. package/lib/design-tokens/css/tokens/base/typography/typography.css +1 -1
  41. package/lib/design-tokens/css/tokens/functional/animation/base.css +1 -1
  42. package/lib/design-tokens/css/tokens/functional/colors/global-with-modes.css +1 -1
  43. package/lib/design-tokens/css/tokens/functional/colors/global.css +1 -1
  44. package/lib/design-tokens/css/tokens/functional/components/accordion/colors-with-modes.css +1 -1
  45. package/lib/design-tokens/css/tokens/functional/components/action-menu/colors-with-modes.css +1 -1
  46. package/lib/design-tokens/css/tokens/functional/components/anchor-nav/colors-with-modes.css +1 -1
  47. package/lib/design-tokens/css/tokens/functional/components/bento/base.css +1 -1
  48. package/lib/design-tokens/css/tokens/functional/components/breadcrumbs/colors-with-modes.css +1 -1
  49. package/lib/design-tokens/css/tokens/functional/components/button/colors-with-modes.css +1 -1
  50. package/lib/design-tokens/css/tokens/functional/components/card/base.css +1 -1
  51. package/lib/design-tokens/css/tokens/functional/components/card/colors-with-modes.css +1 -1
  52. package/lib/design-tokens/css/tokens/functional/components/card/colors.css +1 -1
  53. package/lib/design-tokens/css/tokens/functional/components/comparison-table/colors-with-modes.css +1 -1
  54. package/lib/design-tokens/css/tokens/functional/components/comparison-table/comparison-table.css +1 -1
  55. package/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes.css +1 -1
  56. package/lib/design-tokens/css/tokens/functional/components/cta-banner/colors-with-modes.css +3 -1
  57. package/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/colors-with-modes.css +1 -1
  58. package/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/eyebrow-banner.css +1 -1
  59. package/lib/design-tokens/css/tokens/functional/components/faq/base.css +1 -1
  60. package/lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes.css +1 -1
  61. package/lib/design-tokens/css/tokens/functional/components/faq/colors.css +1 -1
  62. package/lib/design-tokens/css/tokens/functional/components/faq/faq.css +1 -1
  63. package/lib/design-tokens/css/tokens/functional/components/footer/colors-with-modes.css +1 -1
  64. package/lib/design-tokens/css/tokens/functional/components/footer/colors.css +1 -1
  65. package/lib/design-tokens/css/tokens/functional/components/grid/colors-with-modes.css +1 -1
  66. package/lib/design-tokens/css/tokens/functional/components/grid/colors.css +1 -1
  67. package/lib/design-tokens/css/tokens/functional/components/grid/grid.css +1 -1
  68. package/lib/design-tokens/css/tokens/functional/components/hero/base.css +1 -1
  69. package/lib/design-tokens/css/tokens/functional/components/ide/base.css +1 -1
  70. package/lib/design-tokens/css/tokens/functional/components/ide/colors-with-modes.css +1 -1
  71. package/lib/design-tokens/css/tokens/functional/components/image/base.css +1 -1
  72. package/lib/design-tokens/css/tokens/functional/components/inline-link/base.css +1 -1
  73. package/lib/design-tokens/css/tokens/functional/components/inline-link/colors-with-modes.css +1 -1
  74. package/lib/design-tokens/css/tokens/functional/components/inline-link/colors.css +1 -1
  75. package/lib/design-tokens/css/tokens/functional/components/label/colors-with-modes.css +1 -1
  76. package/lib/design-tokens/css/tokens/functional/components/label/colors.css +1 -1
  77. package/lib/design-tokens/css/tokens/functional/components/link/colors-with-modes.css +1 -1
  78. package/lib/design-tokens/css/tokens/functional/components/link/colors.css +1 -1
  79. package/lib/design-tokens/css/tokens/functional/components/logosuite/base.css +1 -1
  80. package/lib/design-tokens/css/tokens/functional/components/logosuite/colors-with-modes.css +1 -1
  81. package/lib/design-tokens/css/tokens/functional/components/logosuite/colors.css +1 -1
  82. package/lib/design-tokens/css/tokens/functional/components/pagination/colors-with-modes.css +1 -1
  83. package/lib/design-tokens/css/tokens/functional/components/pillar/colors-with-modes.css +1 -1
  84. package/lib/design-tokens/css/tokens/functional/components/pillar/colors.css +1 -1
  85. package/lib/design-tokens/css/tokens/functional/components/pricing-options/pricing-options.css +1 -1
  86. package/lib/design-tokens/css/tokens/functional/components/prose/base.css +1 -1
  87. package/lib/design-tokens/css/tokens/functional/components/prose/colors-with-modes.css +1 -1
  88. package/lib/design-tokens/css/tokens/functional/components/river/base.css +1 -1
  89. package/lib/design-tokens/css/tokens/functional/components/river/river.css +1 -1
  90. package/lib/design-tokens/css/tokens/functional/components/river-story-scroll/colors-with-modes.css +15 -0
  91. package/lib/design-tokens/css/tokens/functional/components/statistic/base.css +1 -1
  92. package/lib/design-tokens/css/tokens/functional/components/sub-nav/base.css +1 -1
  93. package/lib/design-tokens/css/tokens/functional/components/sub-nav/colors-with-modes.css +1 -1
  94. package/lib/design-tokens/css/tokens/functional/components/subdomain-nav-bar/colors-with-modes.css +1 -1
  95. package/lib/design-tokens/css/tokens/functional/components/testimonial/base.css +1 -1
  96. package/lib/design-tokens/css/tokens/functional/components/testimonial/colors-with-modes.css +1 -1
  97. package/lib/design-tokens/css/tokens/functional/components/testimonial/colors.css +1 -1
  98. package/lib/design-tokens/css/tokens/functional/components/timeline/base.css +1 -1
  99. package/lib/design-tokens/css/tokens/functional/components/timeline/colors-with-modes.css +1 -1
  100. package/lib/design-tokens/css/tokens/functional/components/timeline/colors.css +1 -1
  101. package/lib/design-tokens/css/tokens/functional/components/tooltip/colors-with-modes.css +1 -1
  102. package/lib/design-tokens/css/tokens/functional/components/tooltip/colors.css +1 -1
  103. package/lib/design-tokens/css/tokens/functional/components/video-player/base.css +5 -4
  104. package/lib/design-tokens/css/tokens/functional/components/video-player/colors-with-modes.css +1 -1
  105. package/lib/design-tokens/css/tokens/functional/size/border.css +1 -1
  106. package/lib/design-tokens/css/tokens/functional/size/breakpoints.css +1 -1
  107. package/lib/design-tokens/css/tokens/functional/size/size-coarse.css +1 -1
  108. package/lib/design-tokens/css/tokens/functional/size/size-fine.css +1 -1
  109. package/lib/design-tokens/css/tokens/functional/size/size.css +1 -1
  110. package/lib/design-tokens/css/tokens/functional/typography/typography-responsive.css +1 -1
  111. package/lib/design-tokens/css/tokens/functional/typography/typography.css +1 -1
  112. package/lib/design-tokens/js/module/tokens/base/colors/light.js +1 -1
  113. package/lib/design-tokens/js/module/tokens/base/size/size.js +1 -1
  114. package/lib/design-tokens/js/module/tokens/base/typography/typography.js +1 -1
  115. package/lib/design-tokens/js/module/tokens/functional/animation/base.js +1 -1
  116. package/lib/design-tokens/js/module/tokens/functional/colors/global.js +1 -1
  117. package/lib/design-tokens/js/module/tokens/functional/components/bento/base.js +1 -1
  118. package/lib/design-tokens/js/module/tokens/functional/components/card/base.js +1 -1
  119. package/lib/design-tokens/js/module/tokens/functional/components/card/colors.js +1 -1
  120. package/lib/design-tokens/js/module/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  121. package/lib/design-tokens/js/module/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
  122. package/lib/design-tokens/js/module/tokens/functional/components/faq/base.js +1 -1
  123. package/lib/design-tokens/js/module/tokens/functional/components/faq/colors.js +1 -1
  124. package/lib/design-tokens/js/module/tokens/functional/components/faq/faq.js +1 -1
  125. package/lib/design-tokens/js/module/tokens/functional/components/footer/colors.js +1 -1
  126. package/lib/design-tokens/js/module/tokens/functional/components/grid/colors.js +1 -1
  127. package/lib/design-tokens/js/module/tokens/functional/components/grid/grid.js +1 -1
  128. package/lib/design-tokens/js/module/tokens/functional/components/hero/base.js +1 -1
  129. package/lib/design-tokens/js/module/tokens/functional/components/ide/base.js +1 -1
  130. package/lib/design-tokens/js/module/tokens/functional/components/image/base.js +1 -1
  131. package/lib/design-tokens/js/module/tokens/functional/components/inline-link/base.js +1 -1
  132. package/lib/design-tokens/js/module/tokens/functional/components/inline-link/colors.js +1 -1
  133. package/lib/design-tokens/js/module/tokens/functional/components/label/colors.js +1 -1
  134. package/lib/design-tokens/js/module/tokens/functional/components/link/colors.js +1 -1
  135. package/lib/design-tokens/js/module/tokens/functional/components/logosuite/base.js +1 -1
  136. package/lib/design-tokens/js/module/tokens/functional/components/logosuite/colors.js +1 -1
  137. package/lib/design-tokens/js/module/tokens/functional/components/pillar/colors.js +1 -1
  138. package/lib/design-tokens/js/module/tokens/functional/components/pricing-options/pricing-options.js +1 -1
  139. package/lib/design-tokens/js/module/tokens/functional/components/prose/base.js +1 -1
  140. package/lib/design-tokens/js/module/tokens/functional/components/river/base.js +1 -1
  141. package/lib/design-tokens/js/module/tokens/functional/components/river/river.js +1 -1
  142. package/lib/design-tokens/js/module/tokens/functional/components/statistic/base.js +1 -1
  143. package/lib/design-tokens/js/module/tokens/functional/components/sub-nav/base.js +1 -1
  144. package/lib/design-tokens/js/module/tokens/functional/components/testimonial/base.js +1 -1
  145. package/lib/design-tokens/js/module/tokens/functional/components/testimonial/colors.js +1 -1
  146. package/lib/design-tokens/js/module/tokens/functional/components/timeline/base.js +1 -1
  147. package/lib/design-tokens/js/module/tokens/functional/components/timeline/colors.js +1 -1
  148. package/lib/design-tokens/js/module/tokens/functional/components/tooltip/colors.js +1 -1
  149. package/lib/design-tokens/js/module/tokens/functional/components/video-player/base.js +39 -21
  150. package/lib/design-tokens/js/module/tokens/functional/size/border.js +1 -1
  151. package/lib/design-tokens/js/module/tokens/functional/size/breakpoints.js +1 -1
  152. package/lib/design-tokens/js/module/tokens/functional/size/size-coarse.js +1 -1
  153. package/lib/design-tokens/js/module/tokens/functional/size/size-fine.js +1 -1
  154. package/lib/design-tokens/js/module/tokens/functional/size/size.js +1 -1
  155. package/lib/design-tokens/js/module/tokens/functional/size/viewport.js +1 -1
  156. package/lib/design-tokens/js/module/tokens/functional/typography/typography-responsive.js +1 -1
  157. package/lib/design-tokens/js/module/tokens/functional/typography/typography.js +1 -1
  158. package/lib/design-tokens/js/tokens/base/colors/light.js +1 -1
  159. package/lib/design-tokens/js/tokens/base/size/size.js +1 -1
  160. package/lib/design-tokens/js/tokens/base/typography/typography.js +1 -1
  161. package/lib/design-tokens/js/tokens/functional/animation/base.js +1 -1
  162. package/lib/design-tokens/js/tokens/functional/colors/global.js +1 -1
  163. package/lib/design-tokens/js/tokens/functional/components/bento/base.js +1 -1
  164. package/lib/design-tokens/js/tokens/functional/components/card/base.js +1 -1
  165. package/lib/design-tokens/js/tokens/functional/components/card/colors.js +1 -1
  166. package/lib/design-tokens/js/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  167. package/lib/design-tokens/js/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
  168. package/lib/design-tokens/js/tokens/functional/components/faq/base.js +1 -1
  169. package/lib/design-tokens/js/tokens/functional/components/faq/colors.js +1 -1
  170. package/lib/design-tokens/js/tokens/functional/components/faq/faq.js +1 -1
  171. package/lib/design-tokens/js/tokens/functional/components/footer/colors.js +1 -1
  172. package/lib/design-tokens/js/tokens/functional/components/grid/colors.js +1 -1
  173. package/lib/design-tokens/js/tokens/functional/components/grid/grid.js +1 -1
  174. package/lib/design-tokens/js/tokens/functional/components/hero/base.js +1 -1
  175. package/lib/design-tokens/js/tokens/functional/components/ide/base.js +1 -1
  176. package/lib/design-tokens/js/tokens/functional/components/image/base.js +1 -1
  177. package/lib/design-tokens/js/tokens/functional/components/inline-link/base.js +1 -1
  178. package/lib/design-tokens/js/tokens/functional/components/inline-link/colors.js +1 -1
  179. package/lib/design-tokens/js/tokens/functional/components/label/colors.js +1 -1
  180. package/lib/design-tokens/js/tokens/functional/components/link/colors.js +1 -1
  181. package/lib/design-tokens/js/tokens/functional/components/logosuite/base.js +1 -1
  182. package/lib/design-tokens/js/tokens/functional/components/logosuite/colors.js +1 -1
  183. package/lib/design-tokens/js/tokens/functional/components/pillar/colors.js +1 -1
  184. package/lib/design-tokens/js/tokens/functional/components/pricing-options/pricing-options.js +1 -1
  185. package/lib/design-tokens/js/tokens/functional/components/prose/base.js +1 -1
  186. package/lib/design-tokens/js/tokens/functional/components/river/base.js +1 -1
  187. package/lib/design-tokens/js/tokens/functional/components/river/river.js +1 -1
  188. package/lib/design-tokens/js/tokens/functional/components/statistic/base.js +1 -1
  189. package/lib/design-tokens/js/tokens/functional/components/sub-nav/base.js +1 -1
  190. package/lib/design-tokens/js/tokens/functional/components/testimonial/base.js +1 -1
  191. package/lib/design-tokens/js/tokens/functional/components/testimonial/colors.js +1 -1
  192. package/lib/design-tokens/js/tokens/functional/components/timeline/base.js +1 -1
  193. package/lib/design-tokens/js/tokens/functional/components/timeline/colors.js +1 -1
  194. package/lib/design-tokens/js/tokens/functional/components/tooltip/colors.js +1 -1
  195. package/lib/design-tokens/js/tokens/functional/components/video-player/base.js +5 -4
  196. package/lib/design-tokens/js/tokens/functional/size/border.js +1 -1
  197. package/lib/design-tokens/js/tokens/functional/size/breakpoints.js +1 -1
  198. package/lib/design-tokens/js/tokens/functional/size/size-coarse.js +1 -1
  199. package/lib/design-tokens/js/tokens/functional/size/size-fine.js +1 -1
  200. package/lib/design-tokens/js/tokens/functional/size/size.js +1 -1
  201. package/lib/design-tokens/js/tokens/functional/size/viewport.js +1 -1
  202. package/lib/design-tokens/js/tokens/functional/typography/typography-responsive.js +1 -1
  203. package/lib/design-tokens/js/tokens/functional/typography/typography.js +1 -1
  204. package/lib/design-tokens/scss/tokens/base/colors/light.scss +1 -1
  205. package/lib/design-tokens/scss/tokens/base/size/size.scss +1 -1
  206. package/lib/design-tokens/scss/tokens/base/typography/typography.scss +1 -1
  207. package/lib/design-tokens/scss/tokens/functional/animation/base.scss +1 -1
  208. package/lib/design-tokens/scss/tokens/functional/colors/global.scss +1 -1
  209. package/lib/design-tokens/scss/tokens/functional/components/bento/base.scss +1 -1
  210. package/lib/design-tokens/scss/tokens/functional/components/card/base.scss +1 -1
  211. package/lib/design-tokens/scss/tokens/functional/components/card/colors.scss +1 -1
  212. package/lib/design-tokens/scss/tokens/functional/components/comparison-table/comparison-table.scss +1 -1
  213. package/lib/design-tokens/scss/tokens/functional/components/eyebrow-banner/eyebrow-banner.scss +1 -1
  214. package/lib/design-tokens/scss/tokens/functional/components/faq/base.scss +1 -1
  215. package/lib/design-tokens/scss/tokens/functional/components/faq/colors.scss +1 -1
  216. package/lib/design-tokens/scss/tokens/functional/components/faq/faq.scss +1 -1
  217. package/lib/design-tokens/scss/tokens/functional/components/footer/colors.scss +1 -1
  218. package/lib/design-tokens/scss/tokens/functional/components/grid/colors.scss +1 -1
  219. package/lib/design-tokens/scss/tokens/functional/components/grid/grid.scss +1 -1
  220. package/lib/design-tokens/scss/tokens/functional/components/hero/base.scss +1 -1
  221. package/lib/design-tokens/scss/tokens/functional/components/ide/base.scss +1 -1
  222. package/lib/design-tokens/scss/tokens/functional/components/image/base.scss +1 -1
  223. package/lib/design-tokens/scss/tokens/functional/components/inline-link/base.scss +1 -1
  224. package/lib/design-tokens/scss/tokens/functional/components/inline-link/colors.scss +1 -1
  225. package/lib/design-tokens/scss/tokens/functional/components/label/colors.scss +1 -1
  226. package/lib/design-tokens/scss/tokens/functional/components/link/colors.scss +1 -1
  227. package/lib/design-tokens/scss/tokens/functional/components/logosuite/base.scss +1 -1
  228. package/lib/design-tokens/scss/tokens/functional/components/logosuite/colors.scss +1 -1
  229. package/lib/design-tokens/scss/tokens/functional/components/pillar/colors.scss +1 -1
  230. package/lib/design-tokens/scss/tokens/functional/components/pricing-options/pricing-options.scss +1 -1
  231. package/lib/design-tokens/scss/tokens/functional/components/prose/base.scss +1 -1
  232. package/lib/design-tokens/scss/tokens/functional/components/river/base.scss +1 -1
  233. package/lib/design-tokens/scss/tokens/functional/components/river/river.scss +1 -1
  234. package/lib/design-tokens/scss/tokens/functional/components/statistic/base.scss +1 -1
  235. package/lib/design-tokens/scss/tokens/functional/components/sub-nav/base.scss +1 -1
  236. package/lib/design-tokens/scss/tokens/functional/components/testimonial/base.scss +1 -1
  237. package/lib/design-tokens/scss/tokens/functional/components/testimonial/colors.scss +1 -1
  238. package/lib/design-tokens/scss/tokens/functional/components/timeline/base.scss +1 -1
  239. package/lib/design-tokens/scss/tokens/functional/components/timeline/colors.scss +1 -1
  240. package/lib/design-tokens/scss/tokens/functional/components/tooltip/colors.scss +1 -1
  241. package/lib/design-tokens/scss/tokens/functional/components/video-player/base.scss +5 -4
  242. package/lib/design-tokens/scss/tokens/functional/size/border.scss +1 -1
  243. package/lib/design-tokens/scss/tokens/functional/size/breakpoints.scss +1 -1
  244. package/lib/design-tokens/scss/tokens/functional/size/size-coarse.scss +1 -1
  245. package/lib/design-tokens/scss/tokens/functional/size/size-fine.scss +1 -1
  246. package/lib/design-tokens/scss/tokens/functional/size/size.scss +1 -1
  247. package/lib/design-tokens/scss/tokens/functional/size/viewport.scss +1 -1
  248. package/lib/design-tokens/scss/tokens/functional/typography/typography-responsive.scss +1 -1
  249. package/lib/design-tokens/scss/tokens/functional/typography/typography.scss +1 -1
  250. package/lib/design-tokens/ts/tokens/base/colors/light.d.ts +1 -1
  251. package/lib/design-tokens/ts/tokens/base/colors/light.js +1 -1
  252. package/lib/design-tokens/ts/tokens/base/size/size.d.ts +1 -1
  253. package/lib/design-tokens/ts/tokens/base/size/size.js +1 -1
  254. package/lib/design-tokens/ts/tokens/base/typography/typography.d.ts +1 -1
  255. package/lib/design-tokens/ts/tokens/base/typography/typography.js +1 -1
  256. package/lib/design-tokens/ts/tokens/functional/animation/base.d.ts +1 -1
  257. package/lib/design-tokens/ts/tokens/functional/animation/base.js +1 -1
  258. package/lib/design-tokens/ts/tokens/functional/colors/global.d.ts +1 -1
  259. package/lib/design-tokens/ts/tokens/functional/colors/global.js +1 -1
  260. package/lib/design-tokens/ts/tokens/functional/components/bento/base.d.ts +1 -1
  261. package/lib/design-tokens/ts/tokens/functional/components/bento/base.js +1 -1
  262. package/lib/design-tokens/ts/tokens/functional/components/card/base.d.ts +1 -1
  263. package/lib/design-tokens/ts/tokens/functional/components/card/base.js +1 -1
  264. package/lib/design-tokens/ts/tokens/functional/components/card/colors.d.ts +1 -1
  265. package/lib/design-tokens/ts/tokens/functional/components/card/colors.js +1 -1
  266. package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.d.ts +1 -1
  267. package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  268. package/lib/design-tokens/ts/tokens/functional/components/eyebrow-banner/eyebrow-banner.d.ts +1 -1
  269. package/lib/design-tokens/ts/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
  270. package/lib/design-tokens/ts/tokens/functional/components/faq/base.d.ts +1 -1
  271. package/lib/design-tokens/ts/tokens/functional/components/faq/base.js +1 -1
  272. package/lib/design-tokens/ts/tokens/functional/components/faq/colors.d.ts +1 -1
  273. package/lib/design-tokens/ts/tokens/functional/components/faq/colors.js +1 -1
  274. package/lib/design-tokens/ts/tokens/functional/components/faq/faq.d.ts +1 -1
  275. package/lib/design-tokens/ts/tokens/functional/components/faq/faq.js +1 -1
  276. package/lib/design-tokens/ts/tokens/functional/components/footer/colors.d.ts +1 -1
  277. package/lib/design-tokens/ts/tokens/functional/components/footer/colors.js +1 -1
  278. package/lib/design-tokens/ts/tokens/functional/components/grid/colors.d.ts +1 -1
  279. package/lib/design-tokens/ts/tokens/functional/components/grid/colors.js +1 -1
  280. package/lib/design-tokens/ts/tokens/functional/components/grid/grid.d.ts +1 -1
  281. package/lib/design-tokens/ts/tokens/functional/components/grid/grid.js +1 -1
  282. package/lib/design-tokens/ts/tokens/functional/components/hero/base.d.ts +1 -1
  283. package/lib/design-tokens/ts/tokens/functional/components/hero/base.js +1 -1
  284. package/lib/design-tokens/ts/tokens/functional/components/ide/base.d.ts +1 -1
  285. package/lib/design-tokens/ts/tokens/functional/components/ide/base.js +1 -1
  286. package/lib/design-tokens/ts/tokens/functional/components/image/base.d.ts +1 -1
  287. package/lib/design-tokens/ts/tokens/functional/components/image/base.js +1 -1
  288. package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.d.ts +1 -1
  289. package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.js +1 -1
  290. package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.d.ts +1 -1
  291. package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.js +1 -1
  292. package/lib/design-tokens/ts/tokens/functional/components/label/colors.d.ts +1 -1
  293. package/lib/design-tokens/ts/tokens/functional/components/label/colors.js +1 -1
  294. package/lib/design-tokens/ts/tokens/functional/components/link/colors.d.ts +1 -1
  295. package/lib/design-tokens/ts/tokens/functional/components/link/colors.js +1 -1
  296. package/lib/design-tokens/ts/tokens/functional/components/logosuite/base.d.ts +1 -1
  297. package/lib/design-tokens/ts/tokens/functional/components/logosuite/base.js +1 -1
  298. package/lib/design-tokens/ts/tokens/functional/components/logosuite/colors.d.ts +1 -1
  299. package/lib/design-tokens/ts/tokens/functional/components/logosuite/colors.js +1 -1
  300. package/lib/design-tokens/ts/tokens/functional/components/pillar/colors.d.ts +1 -1
  301. package/lib/design-tokens/ts/tokens/functional/components/pillar/colors.js +1 -1
  302. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/pricing-options.d.ts +1 -1
  303. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/pricing-options.js +1 -1
  304. package/lib/design-tokens/ts/tokens/functional/components/prose/base.d.ts +1 -1
  305. package/lib/design-tokens/ts/tokens/functional/components/prose/base.js +1 -1
  306. package/lib/design-tokens/ts/tokens/functional/components/river/base.d.ts +1 -1
  307. package/lib/design-tokens/ts/tokens/functional/components/river/base.js +1 -1
  308. package/lib/design-tokens/ts/tokens/functional/components/river/river.d.ts +1 -1
  309. package/lib/design-tokens/ts/tokens/functional/components/river/river.js +1 -1
  310. package/lib/design-tokens/ts/tokens/functional/components/statistic/base.d.ts +1 -1
  311. package/lib/design-tokens/ts/tokens/functional/components/statistic/base.js +1 -1
  312. package/lib/design-tokens/ts/tokens/functional/components/sub-nav/base.d.ts +1 -1
  313. package/lib/design-tokens/ts/tokens/functional/components/sub-nav/base.js +1 -1
  314. package/lib/design-tokens/ts/tokens/functional/components/testimonial/base.d.ts +1 -1
  315. package/lib/design-tokens/ts/tokens/functional/components/testimonial/base.js +1 -1
  316. package/lib/design-tokens/ts/tokens/functional/components/testimonial/colors.d.ts +1 -1
  317. package/lib/design-tokens/ts/tokens/functional/components/testimonial/colors.js +1 -1
  318. package/lib/design-tokens/ts/tokens/functional/components/timeline/base.d.ts +1 -1
  319. package/lib/design-tokens/ts/tokens/functional/components/timeline/base.js +1 -1
  320. package/lib/design-tokens/ts/tokens/functional/components/timeline/colors.d.ts +1 -1
  321. package/lib/design-tokens/ts/tokens/functional/components/timeline/colors.js +1 -1
  322. package/lib/design-tokens/ts/tokens/functional/components/tooltip/colors.d.ts +1 -1
  323. package/lib/design-tokens/ts/tokens/functional/components/tooltip/colors.js +1 -1
  324. package/lib/design-tokens/ts/tokens/functional/components/video-player/base.d.ts +4 -3
  325. package/lib/design-tokens/ts/tokens/functional/components/video-player/base.js +5 -4
  326. package/lib/design-tokens/ts/tokens/functional/size/border.d.ts +1 -1
  327. package/lib/design-tokens/ts/tokens/functional/size/border.js +1 -1
  328. package/lib/design-tokens/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  329. package/lib/design-tokens/ts/tokens/functional/size/breakpoints.js +1 -1
  330. package/lib/design-tokens/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  331. package/lib/design-tokens/ts/tokens/functional/size/size-coarse.js +1 -1
  332. package/lib/design-tokens/ts/tokens/functional/size/size-fine.d.ts +1 -1
  333. package/lib/design-tokens/ts/tokens/functional/size/size-fine.js +1 -1
  334. package/lib/design-tokens/ts/tokens/functional/size/size.d.ts +1 -1
  335. package/lib/design-tokens/ts/tokens/functional/size/size.js +1 -1
  336. package/lib/design-tokens/ts/tokens/functional/size/viewport.d.ts +1 -1
  337. package/lib/design-tokens/ts/tokens/functional/size/viewport.js +1 -1
  338. package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.d.ts +1 -1
  339. package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.js +1 -1
  340. package/lib/design-tokens/ts/tokens/functional/typography/typography.d.ts +1 -1
  341. package/lib/design-tokens/ts/tokens/functional/typography/typography.js +1 -1
  342. package/lib/forms/TextInput/TextInput.d.ts +1 -1
  343. package/lib/forms/Textarea/Textarea.d.ts +1 -1
  344. package/lib/index.js +1 -1
  345. package/lib/recipes/SolutionTemplates/CategoryPage/CategoryPage.d.ts +16 -0
  346. package/lib/recipes/SolutionTemplates/CategoryPage/CategoryPage.visual.spec.d.ts +1 -0
  347. package/lib/recipes/SolutionTemplates/SolutionPage/Industry/Industry.visual.spec.d.ts +1 -0
  348. package/lib/recipes/SolutionTemplates/SolutionPage/Size/Size.visual.spec.d.ts +1 -0
  349. package/lib/recipes/SolutionTemplates/SolutionPage/SolutionPage.d.ts +16 -0
  350. package/lib/recipes/SolutionTemplates/SolutionPage/UseCase/UseCase.visual.spec.d.ts +1 -0
  351. package/lib/recipes/SolutionTemplates/SolutionPage/index.d.ts +1 -0
  352. package/lib/recipes/SolutionTemplates/SolutionsOverview/SolutionsOverview.d.ts +16 -0
  353. package/lib/recipes/SolutionTemplates/SolutionsOverview/SolutionsOverview.visual.spec.d.ts +1 -0
  354. package/lib/recipes/SolutionTemplates/helpers.d.ts +126 -0
  355. package/lib/recipes/SolutionTemplates/index.d.ts +0 -0
  356. package/lib/river/River/River.d.ts +29 -3
  357. package/lib/river/RiverBreakout/RiverBreakout.d.ts +2 -8
  358. package/lib/river/RiverStoryScroll/RiverStoryScroll.d.ts +18 -0
  359. package/lib/river/RiverStoryScroll/RiverStoryScroll.visual.spec.d.ts +1 -0
  360. package/lib/river/RiverStoryScroll/RiverStoryScrollProvider.d.ts +12 -0
  361. package/lib/river/RiverStoryScroll/RiverStoryScrollResponder.d.ts +10 -0
  362. package/lib/river/RiverStoryScroll/RiverStoryScrollTracker.d.ts +9 -0
  363. package/lib/river/RiverStoryScroll/index.d.ts +1 -0
  364. package/lib/river/index.d.ts +1 -0
  365. package/package.json +1 -1
  366. package/lib/VideoPlayer/components/captions/Captions.d.ts +0 -8
  367. package/lib/VideoPlayer/components/controls/Controls.d.ts +0 -11
  368. package/lib/VideoPlayer/components/tooltip/Tooltip.d.ts +0 -4
  369. package/lib/VideoPlayer/components/tooltip/index.d.ts +0 -1
  370. /package/lib/VideoPlayer/components/{captions → Captions}/index.d.ts +0 -0
  371. /package/lib/VideoPlayer/components/{controls → Controls}/index.d.ts +0 -0
  372. /package/lib/VideoPlayer/components/{icon-control → IconControl}/index.d.ts +0 -0
  373. /package/lib/VideoPlayer/components/{range → Range}/index.d.ts +0 -0
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ import { ColorModesEnum } from '../../../ThemeProvider';
3
+ type CategoryPageProps = {
4
+ variant: 'size' | 'industry' | 'use-case';
5
+ gridOverlay?: boolean;
6
+ colorMode?: ColorModesEnum.LIGHT | ColorModesEnum.DARK;
7
+ heroLabel: string;
8
+ heroTitle: string;
9
+ heroDescription: string;
10
+ heroCtaTextPrimary: string;
11
+ heroCtaTextSecondary: string;
12
+ introVariant: 'pillars' | 'editorial prose' | 'editorial list';
13
+ [key: string]: unknown;
14
+ };
15
+ export declare function CategoryPage({ variant, gridOverlay, colorMode, ...args }: CategoryPageProps): JSX.Element;
16
+ export {};
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ import { ColorModesEnum } from '../../../ThemeProvider';
3
+ type SolutionPageProps = {
4
+ variant: 'size' | 'industry' | 'use-case';
5
+ gridOverlay?: boolean;
6
+ colorMode?: ColorModesEnum.LIGHT | ColorModesEnum.DARK;
7
+ heroLabel: string;
8
+ heroTitle: string;
9
+ heroDescription: string;
10
+ heroCtaTextPrimary: string;
11
+ heroCtaTextSecondary: string;
12
+ introVariant: 'pillars' | 'editorial list';
13
+ [key: string]: unknown;
14
+ };
15
+ export declare function SolutionPage({ variant, gridOverlay, colorMode, ...args }: SolutionPageProps): JSX.Element;
16
+ export {};
@@ -0,0 +1 @@
1
+ export * from './SolutionPage';
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ import { ColorModesEnum } from '../../../ThemeProvider';
3
+ type SolutionsOverviewProps = {
4
+ variant: 'size' | 'industry' | 'use-case';
5
+ gridOverlay?: boolean;
6
+ colorMode?: ColorModesEnum.LIGHT | ColorModesEnum.DARK;
7
+ heroLabel: string;
8
+ heroTitle: string;
9
+ heroDescription: string;
10
+ heroCtaTextPrimary: string;
11
+ heroCtaTextSecondary: string;
12
+ introVariant: 'pillars' | 'editorial prose' | 'editorial list';
13
+ [key: string]: unknown;
14
+ };
15
+ export declare function SolutionsOverview({ variant, gridOverlay, colorMode, ...args }: SolutionsOverviewProps): JSX.Element;
16
+ export {};
@@ -0,0 +1,126 @@
1
+ export declare const sharedArgTypes: {
2
+ variant: {
3
+ control: string;
4
+ options: string[];
5
+ name: string;
6
+ table: {
7
+ category: string;
8
+ };
9
+ };
10
+ /**
11
+ * Hero
12
+ */
13
+ heroLabel: {
14
+ control: string;
15
+ name: string;
16
+ table: {
17
+ category: string;
18
+ };
19
+ };
20
+ heroTitle: {
21
+ control: string;
22
+ name: string;
23
+ table: {
24
+ category: string;
25
+ };
26
+ };
27
+ heroDescription: {
28
+ control: string;
29
+ name: string;
30
+ table: {
31
+ category: string;
32
+ };
33
+ };
34
+ heroCtaTextPrimary: {
35
+ control: string;
36
+ name: string;
37
+ table: {
38
+ category: string;
39
+ };
40
+ };
41
+ heroCtaTextSecondary: {
42
+ control: string;
43
+ name: string;
44
+ table: {
45
+ category: string;
46
+ };
47
+ };
48
+ /**
49
+ * Editorial intro
50
+ */
51
+ introVariant: {
52
+ control: string;
53
+ options: string[];
54
+ name: string;
55
+ table: {
56
+ category: string;
57
+ };
58
+ };
59
+ sectionIntroText: {
60
+ control: string;
61
+ name: string;
62
+ table: {
63
+ category: string;
64
+ };
65
+ };
66
+ /**
67
+ * Logobar
68
+ */
69
+ logobarVisible: {
70
+ control: string;
71
+ name: string;
72
+ table: {
73
+ category: string;
74
+ };
75
+ };
76
+ /**
77
+ * Rivers
78
+ */
79
+ riverVisible: {
80
+ control: string;
81
+ name: string;
82
+ table: {
83
+ category: string;
84
+ };
85
+ };
86
+ /**
87
+ * Customer story (Bento)
88
+ */
89
+ customerStoryVisible: {
90
+ control: string;
91
+ name: string;
92
+ table: {
93
+ category: string;
94
+ };
95
+ };
96
+ /**
97
+ * Statistics
98
+ * */
99
+ statisticsVisible: {
100
+ control: string;
101
+ name: string;
102
+ table: {
103
+ category: string;
104
+ };
105
+ };
106
+ /**
107
+ * Testimonials
108
+ */
109
+ testimonialsVisible: {
110
+ control: string;
111
+ name: string;
112
+ table: {
113
+ category: string;
114
+ };
115
+ };
116
+ /**
117
+ * FAQ
118
+ * */
119
+ faqVisible: {
120
+ control: string;
121
+ name: string;
122
+ table: {
123
+ category: string;
124
+ };
125
+ };
126
+ };
File without changes
@@ -25,7 +25,7 @@ export type RiverProps = {
25
25
  } & BaseProps<HTMLElement> & React.HTMLAttributes<HTMLElement>;
26
26
  export declare const defaultRiverImageTextRatio = "50:50";
27
27
  export declare const defaultRiverAlign = "start";
28
- type RiverContentProps = BaseProps<HTMLDivElement> & {
28
+ export type RiverContentProps = BaseProps<HTMLDivElement> & {
29
29
  /**
30
30
  * Escape-hatch for inserting custom React components.
31
31
  * Warning:
@@ -52,7 +52,34 @@ type RiverContentProps = BaseProps<HTMLDivElement> & {
52
52
  */
53
53
  children: React.ReactElement<TextProps> | React.ReactElement<HeadingProps | TextProps | LinkProps>[];
54
54
  } & React.HTMLAttributes<HTMLDivElement>;
55
- type RiverVisualProps = BaseProps<HTMLDivElement> & React.HtmlHTMLAttributes<HTMLDivElement> & PropsWithChildren<{
55
+ export declare const RiverContent: React.ForwardRefExoticComponent<Omit<BaseProps<HTMLDivElement> & {
56
+ /**
57
+ * Escape-hatch for inserting custom React components.
58
+ * Warning:
59
+ * This prop isn't advertised in our docs but remains part of the public API for edge-cases.
60
+ * Need to use this prop? Please check in with #primer-brand first to confirm correct usage.
61
+ */
62
+ trailingComponent?: React.FunctionComponent<{}> | undefined;
63
+ /**
64
+ * When `true`, a divider will be rendered between the standard river and optional trailing content.
65
+ */
66
+ trailingComponentDivider?: boolean | undefined;
67
+ /**
68
+ * Escape-hatch for inserting custom React components.
69
+ * Warning:
70
+ * This prop isn't advertised in our docs but remains part of the public API for edge-cases.
71
+ * Need to use this prop? Please check in with #primer-brand first to confirm correct usage.
72
+ */
73
+ leadingComponent?: React.FunctionComponent<{}> | undefined;
74
+ /**
75
+ * Only valid children are allowed.
76
+ * These include: `Heading`, `Text` and `Link`.
77
+ * The declarative order of the children will be ignored in the rendered output
78
+ * to enforce correct HTML semantics.
79
+ */
80
+ children: React.ReactElement<TextProps> | React.ReactElement<HeadingProps | TextProps | LinkProps>[];
81
+ } & React.HTMLAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
82
+ export type RiverVisualProps = BaseProps<HTMLDivElement> & React.HtmlHTMLAttributes<HTMLDivElement> & PropsWithChildren<{
56
83
  /**
57
84
  * Applies automatic size constraints to child images and video.
58
85
  * This can be disabled by setting this prop to `false`.
@@ -118,4 +145,3 @@ export declare const River: React.ForwardRefExoticComponent<Omit<{
118
145
  children: React.ReactElement<TextProps> | React.ReactElement<HeadingProps | TextProps | LinkProps>[];
119
146
  } & React.HTMLAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
120
147
  };
121
- export {};
@@ -2,18 +2,12 @@ import React from 'react';
2
2
  import { RiverProps } from '../River';
3
3
  type RiverBreakoutProps = Omit<RiverProps, 'align' | 'imageTextRatio'>;
4
4
  export declare const RiverBreakout: React.ForwardRefExoticComponent<Omit<RiverBreakoutProps, "ref"> & React.RefAttributes<HTMLElement>> & {
5
- Visual: React.ForwardRefExoticComponent<Omit<import("../../component-helpers").BaseProps<HTMLDivElement> & React.HtmlHTMLAttributes<HTMLDivElement> & {
6
- fillMedia?: boolean | undefined;
7
- hasShadow?: boolean | undefined;
8
- rounded?: boolean | undefined;
9
- } & {
10
- children?: React.ReactNode;
11
- }, "ref"> & React.RefAttributes<HTMLDivElement>>;
5
+ Visual: React.ForwardRefExoticComponent<Omit<import("../River").RiverVisualProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
12
6
  Content: React.ForwardRefExoticComponent<Omit<import("../../component-helpers").BaseProps<HTMLDivElement> & {
13
7
  trailingComponent?: React.FunctionComponent<{}> | undefined;
14
8
  trailingComponentDivider?: boolean | undefined;
15
9
  leadingComponent?: React.FunctionComponent<{}> | undefined;
16
- children: React.ReactElement<import("../..").TextProps, string | React.JSXElementConstructor<any>> | React.ReactElement<import("../../Heading").HeadingProps | import("../..").TextProps | import("../..").LinkProps, string | React.JSXElementConstructor<any>>[];
10
+ children: React.ReactElement<import("../..").TextProps, string | React.JSXElementConstructor<any>> | React.ReactElement<import("../..").TextProps | import("../../Heading").HeadingProps | import("../..").LinkProps, string | React.JSXElementConstructor<any>>[];
17
11
  } & React.HTMLAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
18
12
  A11yHeading: ({ as, children }: React.PropsWithChildren<{
19
13
  as?: "h2" | "h3" | undefined;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import { BaseProps } from '../../component-helpers';
3
+ import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/river-story-scroll/colors-with-modes.css';
4
+ export type RiverStoryScrollProps = {
5
+ /**
6
+ * Adjust the order of the `Content` column. The default is `start`.
7
+ */
8
+ align?: 'start' | 'end';
9
+ /**
10
+ * Apply an alternative image to text column ratio. The default is `50:50`.
11
+ */
12
+ imageTextRatio?: '60:40' | '50:50';
13
+ /**
14
+ * Disable the scroll effect.
15
+ */
16
+ disabled?: boolean;
17
+ } & BaseProps<HTMLDivElement>;
18
+ export declare function RiverStoryScroll({ children, disabled }: React.PropsWithChildren<RiverStoryScrollProps>): JSX.Element;
@@ -0,0 +1,12 @@
1
+ import { ReactNode } from 'react';
2
+ type StoryScrollContextType = {
3
+ visibilityStates: boolean[];
4
+ setVisibilityStates: (index: number, isVisible: boolean) => void;
5
+ };
6
+ export declare const useStoryScrollContext: () => StoryScrollContextType;
7
+ export declare function RiverStoryScrollProvider({ children, className, initialStates, }: {
8
+ children: ReactNode;
9
+ className?: string;
10
+ initialStates: boolean[];
11
+ }): JSX.Element;
12
+ export {};
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ type RiverStoryScrollResponderProps = {
3
+ index: number;
4
+ children?: React.ReactNode;
5
+ className?: string;
6
+ visibleClassName?: string;
7
+ hiddenClassName?: string;
8
+ };
9
+ export declare function RiverStoryScrollResponder({ index, children, className, visibleClassName, hiddenClassName, }: RiverStoryScrollResponderProps): JSX.Element;
10
+ export {};
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ type RiverStoryScrollTrackerProps = {
3
+ index: number;
4
+ children?: React.ReactNode;
5
+ className?: string;
6
+ location?: string;
7
+ };
8
+ export declare const RiverStoryScrollTracker: ({ index, children, className }: RiverStoryScrollTrackerProps) => JSX.Element;
9
+ export {};
@@ -0,0 +1 @@
1
+ export * from './RiverStoryScroll';
@@ -1,2 +1,3 @@
1
1
  export * from './RiverBreakout';
2
2
  export * from './River';
3
+ export * from './RiverStoryScroll';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/react-brand",
3
- "version": "0.34.4-rc.d299effb",
3
+ "version": "0.35.0-rc.02f8890c",
4
4
  "description": "Primer Brand is a GitHub's design system for creating React-based marketing websites and digital experiences.",
5
5
  "keywords": [
6
6
  "primer",
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- type CaptionsProps = {
3
- videoRef: React.RefObject<HTMLVideoElement>;
4
- disabled?: boolean;
5
- trackInformation?: TextTrackCueList;
6
- };
7
- export declare const Captions: ({ videoRef, disabled, trackInformation }: CaptionsProps) => JSX.Element | null;
8
- export {};
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- type ControlsProps = {
3
- videoRef: React.RefObject<HTMLVideoElement>;
4
- videoWrapperRef: React.RefObject<HTMLDivElement>;
5
- totalTime: number;
6
- currentTime: number;
7
- playing: boolean;
8
- trackInformation?: TextTrackCueList;
9
- };
10
- export declare const Controls: ({ videoRef, videoWrapperRef, totalTime, currentTime, playing: playingProp, trackInformation, }: ControlsProps) => JSX.Element;
11
- export {};
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- type TooltipProps = React.HTMLAttributes<HTMLDivElement>;
3
- export declare const Tooltip: ({ children, className, style, ...rest }: TooltipProps) => JSX.Element;
4
- export {};
@@ -1 +0,0 @@
1
- export * from './Tooltip';