@primer/react-brand 0.46.0 → 0.47.0-rc.92f76d23
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/Accordion/Accordion.d.ts +1 -1
- package/lib/ActionMenu/ActionMenu.d.ts +4 -4
- package/lib/AnchorNav/AnchorNav.d.ts +4 -4
- package/lib/Bento/Bento.d.ts +5 -5
- package/lib/Box/Box.d.ts +1 -1
- package/lib/BreakoutBanner/BreakoutBanner.d.ts +11 -86
- package/lib/Button/Button.d.ts +2 -6
- package/lib/ButtonGroup/ButtonGroup.d.ts +1 -5
- package/lib/CTABanner/CTABanner.d.ts +11 -71
- package/lib/CTAForm/CTAForm.d.ts +1 -3
- package/lib/Card/Card.d.ts +2 -2
- package/lib/Card/CardSkewEffect.d.ts +1 -1
- package/lib/ComparisonTable/ComparisonTable.d.ts +5 -15
- package/lib/ExpandableArrow/ExpandableArrow.d.ts +1 -1
- package/lib/FAQ/FAQ.d.ts +1 -1
- package/lib/FAQ/FAQGroup.d.ts +2 -2
- package/lib/Footnotes/Footnotes.d.ts +2 -2
- package/lib/FrostedGlassVFX/FrostedGlassVFX.d.ts +1 -1
- package/lib/Grid/Grid.d.ts +2 -2
- package/lib/Heading/Heading.d.ts +1 -1
- package/lib/IDE/IDE.d.ts +37 -36
- package/lib/Icon/Icon.d.ts +1 -1
- package/lib/Image/Image.d.ts +1 -1
- package/lib/InlineLink/InlineLink.d.ts +1 -1
- package/lib/Label/Label.d.ts +2 -1
- package/lib/Link/Link.d.ts +1 -1
- package/lib/LogoSuite/LogoSuite.d.ts +3 -17
- package/lib/LogoSuite/LogoSuite.fixtures.d.ts +1 -1
- package/lib/MinimalFooter/MinimalFooter.d.ts +3 -3
- package/lib/MonaSans/MonaSans.d.ts +1 -1
- package/lib/Pagination/Pagination.d.ts +2 -2
- package/lib/Pillar/Pillar.d.ts +7 -6
- package/lib/PricingOptions/PricingOptions.d.ts +2 -2
- package/lib/SectionIntro/SectionIntro.d.ts +8 -6
- package/lib/Stack/Stack.d.ts +1 -41
- package/lib/SubNav/SubNav.d.ts +4 -4
- package/lib/SubdomainNavBar/NavigationVisbilityObserver.d.ts +1 -1
- package/lib/SubdomainNavBar/SubdomainNavBar.d.ts +7 -6
- package/lib/Testimonial/Testimonial.d.ts +5 -9
- package/lib/Text/Text.d.ts +1 -1
- package/lib/ThemeProvider/ThemeProvider.d.ts +1 -1
- package/lib/Timeline/Timeline.d.ts +2 -2
- package/lib/Tooltip/Tooltip.d.ts +1 -6
- package/lib/VideoPlayer/VideoPlayer.d.ts +4 -4
- package/lib/VideoPlayer/components/CCButton/CCButton.d.ts +1 -1
- package/lib/VideoPlayer/components/Captions/Captions.d.ts +1 -1
- package/lib/VideoPlayer/components/Controls/Controls.d.ts +1 -1
- package/lib/VideoPlayer/components/ControlsBar/ControlsBar.d.ts +1 -1
- package/lib/VideoPlayer/components/FullScreenButton/FullScreenButton.d.ts +1 -1
- package/lib/VideoPlayer/components/IconControl/IconControl.d.ts +1 -1
- package/lib/VideoPlayer/components/MuteButton/MuteButton.d.ts +1 -1
- package/lib/VideoPlayer/components/PauseIcon/PauseIcon.d.ts +1 -1
- package/lib/VideoPlayer/components/PlayIcon/PlayIcon.d.ts +1 -1
- package/lib/VideoPlayer/components/PlayPauseButton/PlayPauseButton.d.ts +1 -1
- package/lib/VideoPlayer/components/Range/Range.d.ts +2 -1
- package/lib/VideoPlayer/components/SeekControl/SeekControl.d.ts +1 -1
- package/lib/VideoPlayer/components/VideoTooltip/VideoTooltip.d.ts +1 -1
- package/lib/VideoPlayer/components/VolumeControl/VolumeControl.d.ts +1 -1
- package/lib/VideoPlayer/hooks/useVideo.d.ts +5 -4
- package/lib/animation/Animate/Animate.d.ts +1 -1
- package/lib/animation/AnimationProvider/AnimationProvider.d.ts +1 -1
- package/lib/animation/TextRevealAnimation/TextRevealAnimation.d.ts +1 -1
- package/lib/component-helpers.d.ts +2 -2
- package/lib/css/main.css +67 -63
- 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 +1 -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/frosted-glass-vfx/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/colors-with-modes.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/icon/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/icon/colors.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/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/pricing-options/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 +1 -1
- package/lib/design-tokens/css/tokens/functional/components/section/section.css +1 -1
- 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 +1 -1
- 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/size/viewport.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/frosted-glass-vfx/base.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/icon/colors.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/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/section/section.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 +1 -1
- 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/frosted-glass-vfx/base.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/icon/colors.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/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/section/section.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 +1 -1
- 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/frosted-glass-vfx/base.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/icon/colors.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/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/section/section.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 +1 -1
- 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/frosted-glass-vfx/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/frosted-glass-vfx/base.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/icon/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/icon/colors.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/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/pricing-options/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/section/section.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/section/section.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 +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/video-player/base.js +1 -1
- 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/forms/Checkbox/Checkbox.d.ts +1 -27
- package/lib/forms/FormControl/FormControl.d.ts +4 -4
- package/lib/forms/Radio/Radio.d.ts +1 -19
- package/lib/forms/Select/Select.d.ts +7 -20
- package/lib/forms/TextInput/TextInput.d.ts +3 -47
- package/lib/forms/Textarea/Textarea.d.ts +1 -30
- package/lib/hooks/useId.d.ts +2 -0
- package/lib/index.js +1 -1
- package/lib/list/OrderedList/OrderedList.d.ts +1 -1
- package/lib/list/UnorderedList/UnorderedList.d.ts +1 -1
- package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOne.d.ts +1 -1
- package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOneSideBySide.d.ts +1 -1
- package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/components/FormExample.d.ts +1 -1
- package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/FeaturePreviewLevelTwo.d.ts +1 -1
- package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/FeaturePreviewLevelZero.d.ts +1 -1
- package/lib/recipes/SolutionTemplates/CategoryPage/CategoryPage.d.ts +1 -1
- package/lib/recipes/SolutionTemplates/SolutionPage/SolutionPage.d.ts +18 -1
- package/lib/recipes/SolutionTemplates/SolutionsOverview/SolutionsOverview.d.ts +2 -1
- package/lib/recipes/seo/Article/Article.d.ts +1 -1
- package/lib/recipes/seo/Article/ArticleToC.d.ts +1 -1
- package/lib/recipes/seo/Category/CategoryPage.d.ts +1 -1
- package/lib/river/River/River.d.ts +4 -72
- package/lib/river/RiverBreakout/RiverBreakout.d.ts +3 -8
- package/lib/river/RiverStoryScroll/RiverStoryScroll.d.ts +1 -1
- package/lib/river/RiverStoryScroll/RiverStoryScrollProvider.d.ts +1 -1
- package/lib/river/RiverStoryScroll/RiverStoryScrollResponder.d.ts +1 -1
- package/lib/river/RiverStoryScroll/RiverStoryScrollTracker.d.ts +1 -1
- package/lib/test-utils/setupTests.d.ts +1 -0
- package/package.json +26 -17
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
import type { BaseProps } from '../../component-helpers';
|
|
3
3
|
export type OrderedListProps = PropsWithChildren<BaseProps<HTMLOListElement>>;
|
|
4
|
-
declare function Root({ children, ...props }: OrderedListProps): JSX.Element;
|
|
4
|
+
declare function Root({ children, ...props }: OrderedListProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
export declare const OrderedList: typeof Root & {
|
|
6
6
|
Item: any;
|
|
7
7
|
};
|
|
@@ -6,7 +6,7 @@ export type UnorderedListProps = PropsWithChildren<BaseProps<HTMLUListElement>>
|
|
|
6
6
|
*/
|
|
7
7
|
variant?: 'default' | 'checked' | 'x';
|
|
8
8
|
};
|
|
9
|
-
declare function Root({ variant, children, ...props }: UnorderedListProps): JSX.Element;
|
|
9
|
+
declare function Root({ variant, children, ...props }: UnorderedListProps): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export declare const UnorderedList: typeof Root & {
|
|
11
11
|
Item: any;
|
|
12
12
|
};
|
|
@@ -8,5 +8,5 @@ type FeaturePreviewLevelOneProps = {
|
|
|
8
8
|
heroTitle: string;
|
|
9
9
|
heroDescription: string;
|
|
10
10
|
};
|
|
11
|
-
export declare function FeaturePreviewLevelOne({ accentColor, colorMode, ...args }: FeaturePreviewLevelOneProps): JSX.Element;
|
|
11
|
+
export declare function FeaturePreviewLevelOne({ accentColor, colorMode, ...args }: FeaturePreviewLevelOneProps): import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
export {};
|
package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOneSideBySide.d.ts
CHANGED
|
@@ -9,5 +9,5 @@ type FeaturePreviewLevelOneSideBySideProps = {
|
|
|
9
9
|
heroDescription: string;
|
|
10
10
|
isEnterprise: boolean;
|
|
11
11
|
};
|
|
12
|
-
export declare function FeaturePreviewLevelOneSideBySide({ accentColor, colorMode, isEnterprise, ...args }: FeaturePreviewLevelOneSideBySideProps): JSX.Element;
|
|
12
|
+
export declare function FeaturePreviewLevelOneSideBySide({ accentColor, colorMode, isEnterprise, ...args }: FeaturePreviewLevelOneSideBySideProps): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
export {};
|
|
@@ -3,5 +3,5 @@ type FormExampleProps = {
|
|
|
3
3
|
colorMode?: ColorModesEnum.LIGHT | ColorModesEnum.DARK;
|
|
4
4
|
type?: 'default' | 'extended';
|
|
5
5
|
};
|
|
6
|
-
export declare function FormExample({ type, colorMode }: FormExampleProps): JSX.Element;
|
|
6
|
+
export declare function FormExample({ type, colorMode }: FormExampleProps): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -44,5 +44,5 @@ type FeaturePreviewLevelTwoProps = {
|
|
|
44
44
|
faqType: 'group' | 'single';
|
|
45
45
|
cardsVisible: boolean;
|
|
46
46
|
};
|
|
47
|
-
export declare function FeaturePreviewLevelTwo({ accentColor, variant, gridOverlay, colorMode, ...args }: FeaturePreviewLevelTwoProps): JSX.Element;
|
|
47
|
+
export declare function FeaturePreviewLevelTwo({ accentColor, variant, gridOverlay, colorMode, ...args }: FeaturePreviewLevelTwoProps): import("react/jsx-runtime").JSX.Element;
|
|
48
48
|
export {};
|
|
@@ -12,5 +12,5 @@ type FeaturePreviewLevelZeroProps = {
|
|
|
12
12
|
heroCtaTextPrimary: string;
|
|
13
13
|
heroCtaTextSecondary: string;
|
|
14
14
|
};
|
|
15
|
-
export declare function FeaturePreviewLevelZero({ accentColor, colorMode, ...args }: FeaturePreviewLevelZeroProps): JSX.Element;
|
|
15
|
+
export declare function FeaturePreviewLevelZero({ accentColor, colorMode, ...args }: FeaturePreviewLevelZeroProps): import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
export {};
|
|
@@ -11,5 +11,5 @@ type CategoryPageProps = {
|
|
|
11
11
|
introVariant: 'pillars' | 'editorial prose' | 'editorial list';
|
|
12
12
|
[key: string]: unknown;
|
|
13
13
|
};
|
|
14
|
-
export declare function CategoryPage({ variant, gridOverlay, colorMode, ...args }: CategoryPageProps): JSX.Element;
|
|
14
|
+
export declare function CategoryPage({ variant, gridOverlay, colorMode, ...args }: CategoryPageProps): import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
export {};
|
|
@@ -3,13 +3,30 @@ type SolutionPageProps = {
|
|
|
3
3
|
variant: 'size' | 'industry' | 'use-case';
|
|
4
4
|
gridOverlay?: boolean;
|
|
5
5
|
colorMode?: ColorModesEnum.LIGHT | ColorModesEnum.DARK;
|
|
6
|
+
heroImage?: boolean;
|
|
7
|
+
heroVideo?: boolean;
|
|
6
8
|
heroLabel: string;
|
|
7
9
|
heroTitle: string;
|
|
8
10
|
heroDescription: string;
|
|
9
11
|
heroCtaTextPrimary: string;
|
|
10
12
|
heroCtaTextSecondary: string;
|
|
13
|
+
sectionIntroText?: string;
|
|
14
|
+
sectionIntroCTAText?: string;
|
|
11
15
|
introVariant: 'pillars' | 'editorial list';
|
|
16
|
+
logoBarVisible?: boolean;
|
|
17
|
+
jtbd1Visible?: boolean;
|
|
18
|
+
jtbd2Visible?: boolean;
|
|
19
|
+
jtbd3Visible?: boolean;
|
|
20
|
+
jtbdBentosVisible?: boolean;
|
|
21
|
+
testimonialsVisible?: boolean;
|
|
22
|
+
pricingOptionsVisible?: boolean;
|
|
23
|
+
statisticsVisible?: boolean;
|
|
24
|
+
breakoutBannerVisible?: boolean;
|
|
25
|
+
customerStoryVisible?: boolean;
|
|
26
|
+
riverVisible?: boolean;
|
|
27
|
+
faqVisible?: boolean;
|
|
28
|
+
breadcrumbsVisible?: boolean;
|
|
12
29
|
[key: string]: unknown;
|
|
13
30
|
};
|
|
14
|
-
export declare function SolutionPage({ variant, gridOverlay, colorMode, ...args }: SolutionPageProps): JSX.Element;
|
|
31
|
+
export declare function SolutionPage({ variant, gridOverlay, colorMode, ...args }: SolutionPageProps): import("react/jsx-runtime").JSX.Element;
|
|
15
32
|
export {};
|
|
@@ -8,8 +8,9 @@ type SolutionsOverviewProps = {
|
|
|
8
8
|
heroDescription: string;
|
|
9
9
|
heroCtaTextPrimary: string;
|
|
10
10
|
heroCtaTextSecondary: string;
|
|
11
|
+
sectionIntroText: string;
|
|
11
12
|
introVariant: 'pillars' | 'editorial prose' | 'editorial list';
|
|
12
13
|
[key: string]: unknown;
|
|
13
14
|
};
|
|
14
|
-
export declare function SolutionsOverview({ variant, gridOverlay, colorMode, ...args }: SolutionsOverviewProps): JSX.Element;
|
|
15
|
+
export declare function SolutionsOverview({ variant, gridOverlay, colorMode, ...args }: SolutionsOverviewProps): import("react/jsx-runtime").JSX.Element;
|
|
15
16
|
export {};
|
|
@@ -9,5 +9,5 @@ type ArticleProps = {
|
|
|
9
9
|
accentColor: Themes;
|
|
10
10
|
isLightHero?: boolean;
|
|
11
11
|
};
|
|
12
|
-
export declare function Article({ heroTitle, lede, content, gridOverlay, colorMode, isLightHero, accentColor, ...args }: ArticleProps): JSX.Element;
|
|
12
|
+
export declare function Article({ heroTitle, lede, content, gridOverlay, colorMode, isLightHero, accentColor, ...args }: ArticleProps): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
export {};
|
|
@@ -52,33 +52,7 @@ export type RiverContentProps = BaseProps<HTMLDivElement> & {
|
|
|
52
52
|
*/
|
|
53
53
|
children: React.ReactElement<TextProps> | React.ReactElement<HeadingProps | TextProps | LinkProps>[];
|
|
54
54
|
} & React.HTMLAttributes<HTMLDivElement>;
|
|
55
|
-
export declare const RiverContent: React.ForwardRefExoticComponent<Omit<
|
|
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;
|
|
63
|
-
/**
|
|
64
|
-
* When `true`, a divider will be rendered between the standard river and optional trailing content.
|
|
65
|
-
*/
|
|
66
|
-
trailingComponentDivider?: boolean;
|
|
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;
|
|
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>>;
|
|
55
|
+
export declare const RiverContent: React.ForwardRefExoticComponent<Omit<RiverContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
82
56
|
export type RiverVisualProps = BaseProps<HTMLDivElement> & React.HtmlHTMLAttributes<HTMLDivElement> & PropsWithChildren<{
|
|
83
57
|
/**
|
|
84
58
|
* Applies automatic size constraints to child images and video.
|
|
@@ -99,49 +73,7 @@ export type RiverVisualProps = BaseProps<HTMLDivElement> & React.HtmlHTMLAttribu
|
|
|
99
73
|
/**
|
|
100
74
|
* Alternating text and image pairs.
|
|
101
75
|
*/
|
|
102
|
-
export declare const River: React.ForwardRefExoticComponent<Omit<{
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
* These include: `River.Visual` and `River.Content`.
|
|
106
|
-
* The declarative order of the children will be ignored in the rendered output
|
|
107
|
-
* to enforce correct HTML semantics.
|
|
108
|
-
*/
|
|
109
|
-
children: React.ReactElement<RiverVisualProps | RiverContentProps>[];
|
|
110
|
-
/**
|
|
111
|
-
* Apply an alternative image to text column ratio. The default is `50:50`.
|
|
112
|
-
*/
|
|
113
|
-
imageTextRatio?: "60:40" | "50:50";
|
|
114
|
-
/**
|
|
115
|
-
* Adjust the order of the `Content` column. The default is `start`.
|
|
116
|
-
*/
|
|
117
|
-
align?: "start" | "end" | "center";
|
|
118
|
-
} & BaseProps<HTMLElement> & React.HTMLAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>> & {
|
|
119
|
-
Visual: React.ForwardRefExoticComponent<Omit<RiverVisualProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
120
|
-
Content: React.ForwardRefExoticComponent<Omit<BaseProps<HTMLDivElement> & {
|
|
121
|
-
/**
|
|
122
|
-
* Escape-hatch for inserting custom React components.
|
|
123
|
-
* Warning:
|
|
124
|
-
* This prop isn't advertised in our docs but remains part of the public API for edge-cases.
|
|
125
|
-
* Need to use this prop? Please check in with #primer-brand first to confirm correct usage.
|
|
126
|
-
*/
|
|
127
|
-
trailingComponent?: React.FunctionComponent;
|
|
128
|
-
/**
|
|
129
|
-
* When `true`, a divider will be rendered between the standard river and optional trailing content.
|
|
130
|
-
*/
|
|
131
|
-
trailingComponentDivider?: boolean;
|
|
132
|
-
/**
|
|
133
|
-
* Escape-hatch for inserting custom React components.
|
|
134
|
-
* Warning:
|
|
135
|
-
* This prop isn't advertised in our docs but remains part of the public API for edge-cases.
|
|
136
|
-
* Need to use this prop? Please check in with #primer-brand first to confirm correct usage.
|
|
137
|
-
*/
|
|
138
|
-
leadingComponent?: React.FunctionComponent;
|
|
139
|
-
/**
|
|
140
|
-
* Only valid children are allowed.
|
|
141
|
-
* These include: `Heading`, `Text` and `Link`.
|
|
142
|
-
* The declarative order of the children will be ignored in the rendered output
|
|
143
|
-
* to enforce correct HTML semantics.
|
|
144
|
-
*/
|
|
145
|
-
children: React.ReactElement<TextProps> | React.ReactElement<HeadingProps | TextProps | LinkProps>[];
|
|
146
|
-
} & React.HTMLAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
76
|
+
export declare const River: React.ForwardRefExoticComponent<Omit<RiverProps, "ref"> & React.RefAttributes<HTMLElement>> & {
|
|
77
|
+
Visual: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<RiverVisualProps>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
78
|
+
Content: React.ForwardRefExoticComponent<Omit<RiverContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
147
79
|
};
|
|
@@ -2,15 +2,10 @@ 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("../River").RiverVisualProps
|
|
6
|
-
Content: React.ForwardRefExoticComponent<Omit<import("
|
|
7
|
-
trailingComponent?: React.FunctionComponent;
|
|
8
|
-
trailingComponentDivider?: boolean;
|
|
9
|
-
leadingComponent?: React.FunctionComponent;
|
|
10
|
-
children: React.ReactElement<import("../..").TextProps> | React.ReactElement<import("../../Heading").HeadingProps | import("../..").TextProps | import("../..").LinkProps>[];
|
|
11
|
-
} & React.HTMLAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
Visual: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<import("../River").RiverVisualProps>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
Content: React.ForwardRefExoticComponent<Omit<import("../River").RiverContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
7
|
A11yHeading: ({ as, children }: React.PropsWithChildren<{
|
|
13
8
|
as?: "h2" | "h3";
|
|
14
|
-
}>) => JSX.Element;
|
|
9
|
+
}>) => import("react/jsx-runtime").JSX.Element;
|
|
15
10
|
};
|
|
16
11
|
export {};
|
|
@@ -19,4 +19,4 @@ export type RiverStoryScrollProps = {
|
|
|
19
19
|
*/
|
|
20
20
|
children?: React.ReactElement<RiverProps>[];
|
|
21
21
|
};
|
|
22
|
-
export declare function RiverStoryScroll({ children, disabled }: RiverStoryScrollProps): JSX.Element;
|
|
22
|
+
export declare function RiverStoryScroll({ children, disabled }: RiverStoryScrollProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,5 +6,5 @@ type RiverStoryScrollResponderProps = {
|
|
|
6
6
|
visibleClassName?: string;
|
|
7
7
|
hiddenClassName?: string;
|
|
8
8
|
};
|
|
9
|
-
export declare function RiverStoryScrollResponder({ index, children, className, visibleClassName, hiddenClassName, }: RiverStoryScrollResponderProps): JSX.Element;
|
|
9
|
+
export declare function RiverStoryScrollResponder({ index, children, className, visibleClassName, hiddenClassName, }: RiverStoryScrollResponderProps): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -5,5 +5,5 @@ type RiverStoryScrollTrackerProps = {
|
|
|
5
5
|
className?: string;
|
|
6
6
|
location?: string;
|
|
7
7
|
};
|
|
8
|
-
export declare const RiverStoryScrollTracker: ({ index, children, className }: RiverStoryScrollTrackerProps) => JSX.Element;
|
|
8
|
+
export declare const RiverStoryScrollTracker: ({ index, children, className }: RiverStoryScrollTrackerProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer/react-brand",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.47.0-rc.92f76d23",
|
|
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",
|
|
@@ -43,30 +43,29 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@oddbird/popover-polyfill": "0.4.3",
|
|
46
|
-
"@primer/behaviors": "
|
|
46
|
+
"@primer/behaviors": "1.8.0",
|
|
47
47
|
"clsx": "^1.2.1"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@figma/code-connect": "
|
|
50
|
+
"@figma/code-connect": "1.2.4",
|
|
51
51
|
"@juggle/resize-observer": "^3.4.0",
|
|
52
|
-
"@primer/octicons-react": "
|
|
53
|
-
"@
|
|
54
|
-
"@testing-library/dom": "
|
|
55
|
-
"@testing-library/
|
|
56
|
-
"@testing-library/
|
|
57
|
-
"@testing-library/react-hooks": "^7.0.2",
|
|
58
|
-
"@testing-library/user-event": "^13.5.0",
|
|
52
|
+
"@primer/octicons-react": "19.8.0",
|
|
53
|
+
"@testing-library/dom": "^10.4.0",
|
|
54
|
+
"@testing-library/jest-dom": "6.6.3",
|
|
55
|
+
"@testing-library/react": "16.2.0",
|
|
56
|
+
"@testing-library/user-event": "14.6.0",
|
|
59
57
|
"@types/jest": "^27.5.2",
|
|
60
|
-
"@types/
|
|
61
|
-
"@types/react
|
|
58
|
+
"@types/jest-axe": "3.5.9",
|
|
59
|
+
"@types/react": "18.3.12",
|
|
60
|
+
"@types/react-dom": "18.3.0",
|
|
62
61
|
"@types/webpack": "^5.28.1",
|
|
63
62
|
"autoprefixer": "^9.8.8",
|
|
64
63
|
"axe-playwright": "^1.2.3",
|
|
65
|
-
"color2k": "
|
|
64
|
+
"color2k": "2.0.3",
|
|
66
65
|
"css-loader": "^6.7.4",
|
|
67
66
|
"identity-obj-proxy": "^3.0.0",
|
|
68
|
-
"jest-axe": "
|
|
69
|
-
"jest-environment-jsdom": "
|
|
67
|
+
"jest-axe": "9.0.0",
|
|
68
|
+
"jest-environment-jsdom": "29.7.0",
|
|
70
69
|
"mini-css-extract-plugin": "^2.7.6",
|
|
71
70
|
"postcss": "^8.4.23",
|
|
72
71
|
"postcss-loader": "^6.2.1",
|
|
@@ -80,8 +79,18 @@
|
|
|
80
79
|
"webpack-cli": "^4.10.0"
|
|
81
80
|
},
|
|
82
81
|
"peerDependencies": {
|
|
83
|
-
"react": ">=
|
|
84
|
-
"react-dom": ">=
|
|
82
|
+
"@types/react": ">=18 <20",
|
|
83
|
+
"@types/react-dom": ">=18 <20",
|
|
84
|
+
"react": ">=18 <20",
|
|
85
|
+
"react-dom": ">=18 <20"
|
|
86
|
+
},
|
|
87
|
+
"peerDependenciesMeta": {
|
|
88
|
+
"@types/react": {
|
|
89
|
+
"optional": true
|
|
90
|
+
},
|
|
91
|
+
"@types/react-dom": {
|
|
92
|
+
"optional": true
|
|
93
|
+
}
|
|
85
94
|
},
|
|
86
95
|
"engines": {
|
|
87
96
|
"node": ">=16.0.0",
|