@primer/react-brand 0.34.4-rc.d299effb → 0.35.0-rc.1d6a1bdd
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.
- package/lib/CTABanner/CTABanner.d.ts +4 -4
- package/lib/Hero/Hero.d.ts +3 -1
- package/lib/LogoSuite/LogoSuite.d.ts +5 -5
- package/lib/VideoPlayer/VideoPlayer.d.ts +29 -8
- package/lib/VideoPlayer/components/CCButton/CCButton.d.ts +2 -0
- package/lib/VideoPlayer/components/CCButton/index.d.ts +1 -0
- package/lib/VideoPlayer/components/Captions/Captions.d.ts +2 -0
- package/lib/VideoPlayer/components/Controls/Controls.d.ts +6 -0
- package/lib/VideoPlayer/components/ControlsBar/ControlsBar.d.ts +3 -0
- package/lib/VideoPlayer/components/ControlsBar/index.d.ts +1 -0
- package/lib/VideoPlayer/components/FullScreenButton/FullScreenButton.d.ts +2 -0
- package/lib/VideoPlayer/components/FullScreenButton/index.d.ts +1 -0
- package/lib/VideoPlayer/components/{icon-control → IconControl}/IconControl.d.ts +2 -2
- package/lib/VideoPlayer/components/MuteButton/MuteButton.d.ts +2 -0
- package/lib/VideoPlayer/components/MuteButton/index.d.ts +1 -0
- package/lib/VideoPlayer/components/PauseIcon/PauseIcon.d.ts +2 -0
- package/lib/VideoPlayer/components/PauseIcon/index.d.ts +1 -0
- package/lib/VideoPlayer/components/PlayIcon/PlayIcon.d.ts +2 -0
- package/lib/VideoPlayer/components/PlayIcon/index.d.ts +1 -0
- package/lib/VideoPlayer/components/PlayPauseButton/PlayPauseButton.d.ts +2 -0
- package/lib/VideoPlayer/components/PlayPauseButton/index.d.ts +1 -0
- package/lib/VideoPlayer/components/{range → Range}/Range.d.ts +2 -3
- package/lib/VideoPlayer/components/SeekControl/SeekControl.d.ts +4 -0
- package/lib/VideoPlayer/components/SeekControl/index.d.ts +1 -0
- package/lib/VideoPlayer/components/VideoTooltip/VideoTooltip.d.ts +4 -0
- package/lib/VideoPlayer/components/VideoTooltip/index.d.ts +1 -0
- package/lib/VideoPlayer/components/VolumeControl/VolumeControl.d.ts +2 -0
- package/lib/VideoPlayer/components/VolumeControl/index.d.ts +1 -0
- package/lib/VideoPlayer/components/index.d.ts +14 -5
- package/lib/VideoPlayer/hooks/index.d.ts +4 -0
- package/lib/VideoPlayer/hooks/useIsElementFullScreen.d.ts +2 -0
- package/lib/VideoPlayer/hooks/useVideo.d.ts +34 -0
- package/lib/VideoPlayer/hooks/useVideoKeypressHandlers.d.ts +3 -0
- package/lib/VideoPlayer/hooks/useVideoResizeObserver.d.ts +5 -0
- package/lib/css/main.css +686 -173
- package/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/base/colors/light.css +1 -1
- package/lib/design-tokens/css/tokens/base/size/size.css +1 -1
- package/lib/design-tokens/css/tokens/base/typography/typography.css +1 -1
- package/lib/design-tokens/css/tokens/functional/animation/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/colors/global-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/colors/global.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/accordion/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/action-menu/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/anchor-nav/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/bento/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/breadcrumbs/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/button/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/card/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/card/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/card/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/comparison-table/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/comparison-table/comparison-table.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/cta-banner/colors-with-modes.css +3 -1
- package/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/eyebrow-banner.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/faq.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/footer/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/footer/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/grid/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/grid/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/grid/grid.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/hero/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/ide/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/ide/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/image/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/inline-link/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/inline-link/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/inline-link/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/label/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/label/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/link/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/link/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/logosuite/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/logosuite/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/logosuite/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/pagination/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/pillar/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/pillar/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/pricing-options/pricing-options.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/prose/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/prose/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/river/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/river/river.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/river-story-scroll/colors-with-modes.css +15 -0
- package/lib/design-tokens/css/tokens/functional/components/statistic/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/sub-nav/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/sub-nav/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/subdomain-nav-bar/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/testimonial/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/testimonial/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/testimonial/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/timeline/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/timeline/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/timeline/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/tooltip/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/tooltip/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/video-player/base.css +5 -4
- package/lib/design-tokens/css/tokens/functional/components/video-player/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/border.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/breakpoints.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/size-coarse.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/size-fine.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/size.css +1 -1
- package/lib/design-tokens/css/tokens/functional/typography/typography-responsive.css +1 -1
- package/lib/design-tokens/css/tokens/functional/typography/typography.css +1 -1
- package/lib/design-tokens/js/module/tokens/base/colors/light.js +1 -1
- package/lib/design-tokens/js/module/tokens/base/size/size.js +1 -1
- package/lib/design-tokens/js/module/tokens/base/typography/typography.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/animation/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/colors/global.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/bento/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/card/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/card/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/comparison-table/comparison-table.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/faq/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/faq/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/faq/faq.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/footer/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/grid/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/grid/grid.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/hero/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/ide/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/image/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/inline-link/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/inline-link/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/label/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/link/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/logosuite/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/logosuite/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/pillar/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/pricing-options/pricing-options.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/prose/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/river/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/river/river.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/statistic/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/sub-nav/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/testimonial/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/testimonial/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/timeline/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/timeline/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/tooltip/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/video-player/base.js +39 -21
- package/lib/design-tokens/js/module/tokens/functional/size/border.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/breakpoints.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/size-coarse.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/size-fine.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/size.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/viewport.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/typography/typography-responsive.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/typography/typography.js +1 -1
- package/lib/design-tokens/js/tokens/base/colors/light.js +1 -1
- package/lib/design-tokens/js/tokens/base/size/size.js +1 -1
- package/lib/design-tokens/js/tokens/base/typography/typography.js +1 -1
- package/lib/design-tokens/js/tokens/functional/animation/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/colors/global.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/bento/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/card/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/card/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/comparison-table/comparison-table.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/faq/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/faq/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/faq/faq.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/footer/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/grid/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/grid/grid.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/hero/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/ide/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/image/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/inline-link/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/inline-link/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/label/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/link/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/logosuite/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/logosuite/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/pillar/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/pricing-options/pricing-options.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/prose/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/river/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/river/river.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/statistic/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/sub-nav/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/testimonial/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/testimonial/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/timeline/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/timeline/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/tooltip/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/video-player/base.js +5 -4
- package/lib/design-tokens/js/tokens/functional/size/border.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/breakpoints.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/size-coarse.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/size-fine.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/size.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/viewport.js +1 -1
- package/lib/design-tokens/js/tokens/functional/typography/typography-responsive.js +1 -1
- package/lib/design-tokens/js/tokens/functional/typography/typography.js +1 -1
- package/lib/design-tokens/scss/tokens/base/colors/light.scss +1 -1
- package/lib/design-tokens/scss/tokens/base/size/size.scss +1 -1
- package/lib/design-tokens/scss/tokens/base/typography/typography.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/animation/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/colors/global.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/bento/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/card/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/card/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/comparison-table/comparison-table.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/eyebrow-banner/eyebrow-banner.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/faq/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/faq/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/faq/faq.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/footer/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/grid/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/grid/grid.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/hero/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/ide/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/image/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/inline-link/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/inline-link/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/label/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/link/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/logosuite/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/logosuite/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/pillar/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/pricing-options/pricing-options.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/prose/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/river/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/river/river.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/statistic/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/sub-nav/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/testimonial/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/testimonial/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/timeline/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/timeline/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/tooltip/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/video-player/base.scss +5 -4
- package/lib/design-tokens/scss/tokens/functional/size/border.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/size/breakpoints.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/size/size-coarse.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/size/size-fine.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/size/size.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/size/viewport.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/typography/typography-responsive.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/typography/typography.scss +1 -1
- package/lib/design-tokens/ts/tokens/base/colors/light.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/base/colors/light.js +1 -1
- package/lib/design-tokens/ts/tokens/base/size/size.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/base/size/size.js +1 -1
- package/lib/design-tokens/ts/tokens/base/typography/typography.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/base/typography/typography.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/animation/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/animation/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/colors/global.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/colors/global.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/bento/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/bento/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/card/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/card/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/card/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/card/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/eyebrow-banner/eyebrow-banner.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/faq.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/faq.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/footer/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/footer/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/grid/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/grid/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/grid/grid.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/grid/grid.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/hero/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/hero/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/ide/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/ide/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/image/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/image/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/label/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/label/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/link/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/link/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/logosuite/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/logosuite/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/logosuite/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/logosuite/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/pillar/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/pillar/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/pricing-options/pricing-options.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/pricing-options/pricing-options.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/prose/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/prose/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/river/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/river/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/river/river.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/river/river.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/statistic/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/statistic/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/sub-nav/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/sub-nav/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/testimonial/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/testimonial/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/testimonial/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/testimonial/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/timeline/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/timeline/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/timeline/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/timeline/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/tooltip/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/tooltip/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/video-player/base.d.ts +4 -3
- package/lib/design-tokens/ts/tokens/functional/components/video-player/base.js +5 -4
- package/lib/design-tokens/ts/tokens/functional/size/border.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/border.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/breakpoints.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/breakpoints.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-coarse.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-coarse.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-fine.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-fine.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/viewport.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/viewport.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography.js +1 -1
- package/lib/index.js +1 -1
- package/lib/recipes/SolutionTemplates/CategoryPage/CategoryPage.d.ts +16 -0
- package/lib/recipes/SolutionTemplates/CategoryPage/CategoryPage.visual.spec.d.ts +1 -0
- package/lib/recipes/SolutionTemplates/SolutionPage/Industry/Industry.visual.spec.d.ts +1 -0
- package/lib/recipes/SolutionTemplates/SolutionPage/Size/Size.visual.spec.d.ts +1 -0
- package/lib/recipes/SolutionTemplates/SolutionPage/SolutionPage.d.ts +16 -0
- package/lib/recipes/SolutionTemplates/SolutionPage/UseCase/UseCase.visual.spec.d.ts +1 -0
- package/lib/recipes/SolutionTemplates/SolutionPage/index.d.ts +1 -0
- package/lib/recipes/SolutionTemplates/SolutionsOverview/SolutionsOverview.d.ts +16 -0
- package/lib/recipes/SolutionTemplates/SolutionsOverview/SolutionsOverview.visual.spec.d.ts +1 -0
- package/lib/recipes/SolutionTemplates/helpers.d.ts +126 -0
- package/lib/recipes/SolutionTemplates/index.d.ts +0 -0
- package/lib/river/River/River.d.ts +29 -3
- package/lib/river/RiverBreakout/RiverBreakout.d.ts +1 -7
- package/lib/river/RiverStoryScroll/RiverStoryScroll.d.ts +18 -0
- package/lib/river/RiverStoryScroll/RiverStoryScroll.visual.spec.d.ts +1 -0
- package/lib/river/RiverStoryScroll/RiverStoryScrollProvider.d.ts +12 -0
- package/lib/river/RiverStoryScroll/RiverStoryScrollResponder.d.ts +10 -0
- package/lib/river/RiverStoryScroll/RiverStoryScrollTracker.d.ts +9 -0
- package/lib/river/RiverStoryScroll/index.d.ts +1 -0
- package/lib/river/index.d.ts +1 -0
- package/package.json +1 -1
- package/lib/VideoPlayer/components/captions/Captions.d.ts +0 -8
- package/lib/VideoPlayer/components/controls/Controls.d.ts +0 -11
- package/lib/VideoPlayer/components/tooltip/Tooltip.d.ts +0 -4
- package/lib/VideoPlayer/components/tooltip/index.d.ts +0 -1
- /package/lib/VideoPlayer/components/{captions → Captions}/index.d.ts +0 -0
- /package/lib/VideoPlayer/components/{controls → Controls}/index.d.ts +0 -0
- /package/lib/VideoPlayer/components/{icon-control → IconControl}/index.d.ts +0 -0
- /package/lib/VideoPlayer/components/{range → Range}/index.d.ts +0 -0
|
@@ -25,10 +25,10 @@ export declare const CTABanner: React.ForwardRefExoticComponent<Omit<BaseProps<H
|
|
|
25
25
|
} & {
|
|
26
26
|
as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | undefined;
|
|
27
27
|
size?: "display" | "1" | "2" | "3" | "4" | "5" | "6" | "subhead-large" | "subhead-medium" | undefined;
|
|
28
|
-
weight?: "
|
|
29
|
-
narrow?: "
|
|
30
|
-
regular?: "
|
|
31
|
-
wide?: "
|
|
28
|
+
weight?: "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "light" | "extralight" | {
|
|
29
|
+
narrow?: "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "light" | "extralight" | undefined;
|
|
30
|
+
regular?: "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "light" | "extralight" | undefined;
|
|
31
|
+
wide?: "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "light" | "extralight" | undefined;
|
|
32
32
|
} | undefined;
|
|
33
33
|
stretch?: "normal" | "condensed" | "expanded" | {
|
|
34
34
|
narrow?: "normal" | "condensed" | "expanded" | undefined;
|
package/lib/Hero/Hero.d.ts
CHANGED
|
@@ -17,7 +17,9 @@ export type HeroProps = BaseProps<HTMLElement> & {
|
|
|
17
17
|
*/
|
|
18
18
|
trailingComponent?: React.FunctionComponent;
|
|
19
19
|
};
|
|
20
|
-
type HeroHeadingProps = Omit<HeadingProps, 'as'
|
|
20
|
+
type HeroHeadingProps = Omit<HeadingProps, 'as'> & {
|
|
21
|
+
fullWidth?: boolean;
|
|
22
|
+
};
|
|
21
23
|
type HeroDescriptionProps = {
|
|
22
24
|
size?: (typeof TextSizes)[number];
|
|
23
25
|
weight?: TextWeightVariants | ResponsiveWeightMap;
|
|
@@ -36,7 +36,7 @@ export declare const LogoSuite: (({ align, children, className, hasDivider, "dat
|
|
|
36
36
|
font?: "mona-sans" | "hubot-sans" | "monospace" | undefined;
|
|
37
37
|
size?: "700" | "600" | "500" | "400" | "300" | "200" | "100" | undefined;
|
|
38
38
|
variant?: "default" | "muted" | undefined;
|
|
39
|
-
weight?: "
|
|
39
|
+
weight?: "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "light" | "extralight" | import("../").ResponsiveWeightMap | undefined;
|
|
40
40
|
align?: "start" | "center" | "end" | undefined;
|
|
41
41
|
} & {
|
|
42
42
|
as?: "span" | "div" | "em" | "p" | "strong" | undefined;
|
|
@@ -48,7 +48,7 @@ export declare const LogoSuite: (({ align, children, className, hasDivider, "dat
|
|
|
48
48
|
font?: "mona-sans" | "hubot-sans" | "monospace" | undefined;
|
|
49
49
|
size?: "700" | "600" | "500" | "400" | "300" | "200" | "100" | undefined;
|
|
50
50
|
variant?: "default" | "muted" | undefined;
|
|
51
|
-
weight?: "
|
|
51
|
+
weight?: "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "light" | "extralight" | import("../").ResponsiveWeightMap | undefined;
|
|
52
52
|
align?: "start" | "center" | "end" | undefined;
|
|
53
53
|
} & {
|
|
54
54
|
as?: "span" | "div" | "em" | "p" | "strong" | undefined;
|
|
@@ -60,7 +60,7 @@ export declare const LogoSuite: (({ align, children, className, hasDivider, "dat
|
|
|
60
60
|
font?: "mona-sans" | "hubot-sans" | "monospace" | undefined;
|
|
61
61
|
size?: "700" | "600" | "500" | "400" | "300" | "200" | "100" | undefined;
|
|
62
62
|
variant?: "default" | "muted" | undefined;
|
|
63
|
-
weight?: "
|
|
63
|
+
weight?: "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "light" | "extralight" | import("../").ResponsiveWeightMap | undefined;
|
|
64
64
|
align?: "start" | "center" | "end" | undefined;
|
|
65
65
|
} & {
|
|
66
66
|
as?: "span" | "div" | "em" | "p" | "strong" | undefined;
|
|
@@ -72,7 +72,7 @@ export declare const LogoSuite: (({ align, children, className, hasDivider, "dat
|
|
|
72
72
|
font?: "mona-sans" | "hubot-sans" | "monospace" | undefined;
|
|
73
73
|
size?: "700" | "600" | "500" | "400" | "300" | "200" | "100" | undefined;
|
|
74
74
|
variant?: "default" | "muted" | undefined;
|
|
75
|
-
weight?: "
|
|
75
|
+
weight?: "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "light" | "extralight" | import("../").ResponsiveWeightMap | undefined;
|
|
76
76
|
align?: "start" | "center" | "end" | undefined;
|
|
77
77
|
} & {
|
|
78
78
|
as?: "span" | "div" | "em" | "p" | "strong" | undefined;
|
|
@@ -84,7 +84,7 @@ export declare const LogoSuite: (({ align, children, className, hasDivider, "dat
|
|
|
84
84
|
font?: "mona-sans" | "hubot-sans" | "monospace" | undefined;
|
|
85
85
|
size?: "700" | "600" | "500" | "400" | "300" | "200" | "100" | undefined;
|
|
86
86
|
variant?: "default" | "muted" | undefined;
|
|
87
|
-
weight?: "
|
|
87
|
+
weight?: "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "light" | "extralight" | import("../").ResponsiveWeightMap | undefined;
|
|
88
88
|
align?: "start" | "center" | "end" | undefined;
|
|
89
89
|
} & {
|
|
90
90
|
as?: "span" | "div" | "em" | "p" | "strong" | undefined;
|
|
@@ -1,19 +1,40 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type
|
|
1
|
+
import React, { type HTMLProps } from 'react';
|
|
2
|
+
import { type AnimateProps } from '../animation';
|
|
3
3
|
/**
|
|
4
4
|
* Design tokens
|
|
5
5
|
*/
|
|
6
6
|
import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/video-player/base.css';
|
|
7
7
|
import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/video-player/colors-with-modes.css';
|
|
8
8
|
type VideoPlayerProps = {
|
|
9
|
-
poster?: string;
|
|
10
9
|
title: string;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
visuallyHiddenTitle?: boolean;
|
|
11
|
+
showBranding?: boolean;
|
|
12
|
+
animate?: AnimateProps;
|
|
13
|
+
showControlsWhenPaused?: boolean;
|
|
14
|
+
showPlayPauseButton?: boolean;
|
|
15
|
+
showSeekControl?: boolean;
|
|
16
|
+
showCCButton?: boolean;
|
|
17
|
+
showMuteButton?: boolean;
|
|
18
|
+
showVolumeControl?: boolean;
|
|
19
|
+
showFullScreenButton?: boolean;
|
|
20
|
+
} & HTMLProps<HTMLVideoElement>;
|
|
21
|
+
export declare const VideoPlayer: React.ForwardRefExoticComponent<Omit<VideoPlayerProps, "ref"> & React.RefAttributes<HTMLVideoElement>> & {
|
|
16
22
|
Source: (props: React.HTMLProps<HTMLSourceElement>) => JSX.Element;
|
|
17
23
|
Track: ({ kind, ...rest }: React.HTMLProps<HTMLTrackElement>) => JSX.Element;
|
|
24
|
+
Captions: ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => JSX.Element | null;
|
|
25
|
+
CCButton: ({ className, ...props }: React.HTMLAttributes<HTMLButtonElement>) => JSX.Element;
|
|
26
|
+
Controls: ({ isSmall, ...rest }: import("./components").ControlsProps) => JSX.Element;
|
|
27
|
+
ControlsBar: ({ className, ...rest }: import("./components").ControlsBarProps) => JSX.Element;
|
|
28
|
+
FullScreenButton: (props: React.HTMLAttributes<HTMLButtonElement>) => JSX.Element;
|
|
29
|
+
IconControl: ({ tooltip, children, className, ...rest }: {
|
|
30
|
+
tooltip: string;
|
|
31
|
+
} & React.HTMLAttributes<HTMLButtonElement>) => JSX.Element;
|
|
32
|
+
MuteButton: (props: React.HTMLAttributes<HTMLButtonElement>) => JSX.Element;
|
|
33
|
+
PauseIcon: (props: React.SVGAttributes<SVGSVGElement>) => JSX.Element;
|
|
34
|
+
PlayIcon: (props: React.SVGAttributes<SVGSVGElement>) => JSX.Element;
|
|
35
|
+
PlayPauseButton: (props: React.HTMLAttributes<HTMLButtonElement>) => JSX.Element;
|
|
36
|
+
Range: ({ className, onChange, value: startValue, max, onKeyDown, a11yStep, tooltip, tooltipFormatter, name, id, ...props }: import("./components").RangeProps) => JSX.Element;
|
|
37
|
+
SeekControl: ({ className, ...rest }: React.HTMLAttributes<HTMLDivElement>) => JSX.Element;
|
|
38
|
+
VolumeControl: (props: import("./components").RangeProps) => JSX.Element;
|
|
18
39
|
};
|
|
19
40
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './CCButton';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ControlsBar';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './FullScreenButton';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { type HTMLAttributes } from 'react';
|
|
2
2
|
type IconControlProps = {
|
|
3
3
|
tooltip: string;
|
|
4
|
-
} &
|
|
4
|
+
} & HTMLAttributes<HTMLButtonElement>;
|
|
5
5
|
export declare const IconControl: ({ tooltip, children, className, ...rest }: IconControlProps) => JSX.Element;
|
|
6
6
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './MuteButton';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PauseIcon';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PlayIcon';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PlayPauseButton';
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
type RangeProps = {
|
|
2
|
+
export type RangeProps = {
|
|
3
3
|
tooltip?: boolean;
|
|
4
|
-
tooltipFormatter?: (value: number
|
|
4
|
+
tooltipFormatter?: (value: number) => string;
|
|
5
5
|
max?: number;
|
|
6
6
|
a11yStep?: number;
|
|
7
7
|
} & React.HTMLProps<HTMLInputElement>;
|
|
8
8
|
export declare const Range: ({ className, onChange, value: startValue, max, onKeyDown, a11yStep, tooltip, tooltipFormatter, name, id, ...props }: RangeProps) => JSX.Element;
|
|
9
|
-
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SeekControl';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './VideoTooltip';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './VolumeControl';
|
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './
|
|
1
|
+
export * from './Captions';
|
|
2
|
+
export * from './CCButton';
|
|
3
|
+
export * from './Controls';
|
|
4
|
+
export * from './ControlsBar';
|
|
5
|
+
export * from './FullScreenButton';
|
|
6
|
+
export * from './IconControl';
|
|
7
|
+
export * from './MuteButton';
|
|
8
|
+
export * from './PauseIcon';
|
|
9
|
+
export * from './PlayIcon';
|
|
10
|
+
export * from './PlayPauseButton';
|
|
11
|
+
export * from './Range';
|
|
12
|
+
export * from './SeekControl';
|
|
13
|
+
export * from './VideoTooltip';
|
|
14
|
+
export * from './VolumeControl';
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React, { type PropsWithChildren, type SetStateAction, type RefObject } from 'react';
|
|
2
|
+
type VideoState = {
|
|
3
|
+
ref: RefObject<HTMLVideoElement>;
|
|
4
|
+
isPlaying: boolean;
|
|
5
|
+
isMuted: boolean;
|
|
6
|
+
volume: number;
|
|
7
|
+
volumeBeforeMute: number | null;
|
|
8
|
+
ccEnabled: boolean;
|
|
9
|
+
duration: number;
|
|
10
|
+
};
|
|
11
|
+
export type UseVideoContext = VideoState & {
|
|
12
|
+
play: () => void;
|
|
13
|
+
pause: () => void;
|
|
14
|
+
togglePlaying: () => void;
|
|
15
|
+
mute: () => void;
|
|
16
|
+
unmute: () => void;
|
|
17
|
+
toggleMute: () => void;
|
|
18
|
+
setVolume: (volumeValOrFn: SetStateAction<number>) => void;
|
|
19
|
+
seek: (time: number) => void;
|
|
20
|
+
seekToPercent: (percent: number) => void;
|
|
21
|
+
seekRelative: (secondsValOrFn: SetStateAction<number>) => void;
|
|
22
|
+
enableCC: () => void;
|
|
23
|
+
disableCC: () => void;
|
|
24
|
+
toggleCC: () => void;
|
|
25
|
+
enterFullScreen: () => void;
|
|
26
|
+
exitFullScreen: () => void;
|
|
27
|
+
toggleFullScreen: () => void;
|
|
28
|
+
setDuration: (duration: number) => void;
|
|
29
|
+
isFullScreen: boolean;
|
|
30
|
+
};
|
|
31
|
+
export declare const useVideo: () => UseVideoContext;
|
|
32
|
+
type VideoProviderProps = PropsWithChildren<Record<string, unknown>>;
|
|
33
|
+
export declare const VideoProvider: React.ForwardRefExoticComponent<Omit<VideoProviderProps, "ref"> & React.RefAttributes<HTMLVideoElement>>;
|
|
34
|
+
export {};
|