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