@primer/react-brand 0.69.1-rc.0a4e5ff5 → 0.70.0-rc.11ae3568
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/README.md +19 -0
- package/docs/components/ActionMenu/index.md +156 -0
- package/docs/components/AnchorNav/index.md +220 -0
- package/docs/components/Avatar/index.md +30 -0
- package/docs/components/Avatar/react.md +71 -0
- package/docs/components/Bento/index.md +223 -0
- package/docs/components/Breadcrumbs/index.md +51 -0
- package/docs/components/Breadcrumbs/react.md +53 -0
- package/docs/components/BreakoutBanner/index.md +102 -0
- package/docs/components/BreakoutBanner/react.md +174 -0
- package/docs/components/Button/index.md +133 -0
- package/docs/components/Button/react.md +94 -0
- package/docs/components/ButtonGroup/index.md +62 -0
- package/docs/components/ButtonGroup/react.md +60 -0
- package/docs/components/CTABanner/index.md +114 -0
- package/docs/components/CTABanner/react.md +343 -0
- package/docs/components/CTAForm/index.md +95 -0
- package/docs/components/CTAForm/react.md +103 -0
- package/docs/components/Card/index.md +126 -0
- package/docs/components/Card/react.md +240 -0
- package/docs/components/ComparisonTable/index.md +381 -0
- package/docs/components/EyebrowBanner/index.md +153 -0
- package/docs/components/FAQ/index.md +66 -0
- package/docs/components/FAQ/react.md +477 -0
- package/docs/components/Footnotes/index.md +41 -0
- package/docs/components/Footnotes/react.md +156 -0
- package/docs/components/Hero/index.md +65 -0
- package/docs/components/Hero/react.md +215 -0
- package/docs/components/IDE/index.md +278 -0
- package/docs/components/Icon/index.md +87 -0
- package/docs/components/Image/index.md +51 -0
- package/docs/components/Image/react.md +160 -0
- package/docs/components/Label/index.md +86 -0
- package/docs/components/Label/react.md +76 -0
- package/docs/components/LogoSuite/index.md +93 -0
- package/docs/components/LogoSuite/react.md +667 -0
- package/docs/components/MediaPlaylist/index.md +133 -0
- package/docs/components/MinimalFooter/index.md +94 -0
- package/docs/components/NavList/index.md +210 -0
- package/docs/components/OrderedList/index.md +55 -0
- package/docs/components/OrderedList/react.md +41 -0
- package/docs/components/Pagination/index.md +80 -0
- package/docs/components/Pillar/index.md +114 -0
- package/docs/components/Pillar/react.md +175 -0
- package/docs/components/PricingOptions/index.md +509 -0
- package/docs/components/Prose/index.md +158 -0
- package/docs/components/River/index.md +190 -0
- package/docs/components/River/react.md +295 -0
- package/docs/components/RiverAccordion/index.md +200 -0
- package/docs/components/RiverBreakoutTabs/index.md +171 -0
- package/docs/components/Section/index.md +40 -0
- package/docs/components/Section/react.md +137 -0
- package/docs/components/SectionIntro/index.md +77 -0
- package/docs/components/SectionIntro/react.md +107 -0
- package/docs/components/SectionIntroStacked/index.md +226 -0
- package/docs/components/Statistic/index.md +111 -0
- package/docs/components/SubNav/index.md +156 -0
- package/docs/components/SubdomainNavBar/index.md +136 -0
- package/docs/components/Tabs/index.md +243 -0
- package/docs/components/Testimonial/index.md +138 -0
- package/docs/components/Testimonial/react.md +191 -0
- package/docs/components/Tiles/index.md +1441 -0
- package/docs/components/Timeline/index.md +68 -0
- package/docs/components/Token/index.md +86 -0
- package/docs/components/Tooltip/index.md +61 -0
- package/docs/components/UnorderedList/index.md +67 -0
- package/docs/components/UnorderedList/react.md +89 -0
- package/docs/components/VideoPlayer/index.md +234 -0
- package/docs/components/index.md +53 -0
- package/docs/forms/Checkbox/index.md +86 -0
- package/docs/forms/Checkbox/react.md +111 -0
- package/docs/forms/CheckboxGroup/index.md +37 -0
- package/docs/forms/CheckboxGroup/react.md +175 -0
- package/docs/forms/FormControl/index.md +404 -0
- package/docs/forms/Radio/index.md +63 -0
- package/docs/forms/Radio/react.md +68 -0
- package/docs/forms/RadioGroup/index.md +45 -0
- package/docs/forms/RadioGroup/react.md +151 -0
- package/docs/forms/Select/index.md +244 -0
- package/docs/forms/TextArea/index.md +126 -0
- package/docs/forms/TextInput/index.md +221 -0
- package/docs/forms/index.md +14 -0
- package/docs/getting-started/esm.md +49 -0
- package/docs/getting-started/index.md +98 -0
- package/docs/index.md +99 -0
- package/docs/introduction/animation.md +127 -0
- package/docs/introduction/index.md +10 -0
- package/docs/introduction/mcp.md +52 -0
- package/docs/introduction/theming.md +132 -0
- package/docs/layout/Box/index.md +46 -0
- package/docs/layout/Box/react.md +284 -0
- package/docs/layout/Grid/index.md +132 -0
- package/docs/layout/Grid/react.md +117 -0
- package/docs/layout/Stack/index.md +60 -0
- package/docs/layout/Stack/react.md +166 -0
- package/docs/layout/index.md +9 -0
- package/docs/primitives/color.md +6 -0
- package/docs/primitives/index.md +8 -0
- package/docs/typography/Heading/index.md +53 -0
- package/docs/typography/Heading/react.md +182 -0
- package/docs/typography/Text/index.md +68 -0
- package/docs/typography/Text/react.md +125 -0
- package/docs/typography/index.md +8 -0
- package/esm/Footnotes/{Footnotes.module-Du0yaz7E.css → Footnotes.module-DG9Vx76y.css} +1 -1
- package/esm/Footnotes/Footnotes.module.js +1 -1
- package/esm/Footnotes/Footnotes.module.js.map +1 -1
- package/esm/Heading/Heading.d.ts +10 -0
- package/esm/Heading/Heading.d.ts.map +1 -1
- package/esm/Heading/Heading.js.map +1 -1
- package/esm/Hero/Hero.d.ts.map +1 -1
- package/esm/Hero/Hero.js +60 -58
- package/esm/Hero/Hero.js.map +1 -1
- package/esm/Hero/{Hero.module-Cy82CEW3.css → Hero.module-DqG5f0MT.css} +1 -1
- package/esm/Hero/Hero.module.js +1 -1
- package/esm/Hero/Hero.module.js.map +1 -1
- package/esm/NavList/NavList.d.ts +86 -0
- package/esm/NavList/NavList.d.ts.map +1 -0
- package/esm/NavList/NavList.js +277 -0
- package/esm/NavList/NavList.js.map +1 -0
- package/esm/NavList/NavList.module-CZFnt8br.css +1 -0
- package/esm/NavList/NavList.module.js +32 -0
- package/esm/NavList/NavList.module.js.map +1 -0
- package/esm/NavList/index.d.ts +2 -0
- package/esm/NavList/index.d.ts.map +1 -0
- package/esm/SectionIntroStacked/{SectionIntroStacked.module-Cr7kUqTH.css → SectionIntroStacked.module-C3cmwHDY.css} +1 -1
- package/esm/SectionIntroStacked/SectionIntroStacked.module.js +1 -1
- package/esm/SectionIntroStacked/SectionIntroStacked.module.js.map +1 -1
- package/esm/Token/Token.js +0 -1
- package/esm/Token/Token.js.map +1 -1
- package/esm/Token/{Token.module-BcKU1KwK.css → Token.module-DtWE9IPI.css} +1 -1
- package/esm/Token/Token.module.js +1 -1
- package/esm/Token/Token.module.js.map +1 -1
- package/esm/index.d.ts +1 -0
- package/esm/index.d.ts.map +1 -1
- package/esm/index.esm.js +12 -11
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/nav-list/colors-with-modes-CGyt2t8f.css +1 -0
- package/lib/Grid/Grid.d.ts +1 -1
- package/lib/Heading/Heading.d.ts +10 -0
- package/lib/NavList/NavList.d.ts +85 -0
- package/lib/NavList/index.d.ts +1 -0
- package/lib/SubNav/SubNav.d.ts +1 -1
- package/lib/Token/Token.d.ts +1 -1
- package/lib/css/main.css +613 -74
- package/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/base/colors/light.css +1 -1
- package/lib/design-tokens/css/tokens/base/size/size.css +1 -1
- package/lib/design-tokens/css/tokens/base/typography/typography.css +1 -1
- package/lib/design-tokens/css/tokens/functional/animation/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/colors/global-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/colors/global.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/accordion/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/action-menu/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/anchor-nav/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/bento/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/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 +1 -1
- package/lib/design-tokens/css/tokens/functional/components/card/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/card/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/comparison-table/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/comparison-table/comparison-table.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/cta-banner/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/eyebrow-banner.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/faq.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/footer/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/footer/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/grid/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/grid/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/grid/grid.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/hero/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/icon/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/icon/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/ide/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/ide/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/image/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/inline-link/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/inline-link/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/inline-link/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/label/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/label/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/link/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/link/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/logosuite/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/logosuite/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/logosuite/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/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 +13 -0
- package/lib/design-tokens/css/tokens/functional/components/pricing-options/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/pricing-options/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/pricing-options/pricing-options.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/prose/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/prose/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/river/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/river/river.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/river-story-scroll/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/section/section.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/statistic/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/sub-nav/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/sub-nav/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/subdomain-nav-bar/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/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 +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/bento/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/card/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/card/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/comparison-table/comparison-table.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/faq/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/faq/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/faq/faq.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/footer/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/grid/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/grid/grid.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/hero/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/icon/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/ide/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/image/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/inline-link/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/inline-link/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/label/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/link/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/logosuite/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/logosuite/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/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 +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/section/section.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/statistic/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/sub-nav/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/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 +1 -1
- package/lib/design-tokens/js/tokens/functional/components/bento/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/card/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/card/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/comparison-table/comparison-table.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/faq/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/faq/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/faq/faq.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/footer/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/grid/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/grid/grid.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/hero/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/icon/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/ide/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/image/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/inline-link/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/inline-link/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/label/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/link/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/logosuite/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/logosuite/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/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 +1 -1
- package/lib/design-tokens/js/tokens/functional/components/section/section.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/statistic/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/sub-nav/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/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/scss/tokens/base/colors/light.scss +1 -1
- package/lib/design-tokens/scss/tokens/base/size/size.scss +1 -1
- package/lib/design-tokens/scss/tokens/base/typography/typography.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/animation/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/colors/global.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/bento/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/card/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/card/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/comparison-table/comparison-table.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/eyebrow-banner/eyebrow-banner.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/faq/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/faq/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/faq/faq.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/footer/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/frosted-glass-vfx/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/grid/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/grid/grid.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/hero/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/icon/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/ide/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/image/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/inline-link/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/inline-link/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/label/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/link/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/logosuite/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/logosuite/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/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 +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/section/section.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/statistic/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/sub-nav/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/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 +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/bento/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/bento/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/card/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/card/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/card/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/card/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/eyebrow-banner/eyebrow-banner.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/faq.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/faq.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/footer/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/footer/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/frosted-glass-vfx/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/grid/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/grid/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/grid/grid.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/grid/grid.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/hero/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/hero/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/icon/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/icon/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/ide/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/ide/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/image/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/image/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/label/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/label/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/link/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/link/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/logosuite/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/logosuite/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/logosuite/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/logosuite/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/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 +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/river/river.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/section/section.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/section/section.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/statistic/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/statistic/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/sub-nav/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/sub-nav/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/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.d.ts +1 -0
- package/lib/index.js +1 -1
- package/llms.txt +97 -0
- package/package.json +17 -5
- package/esm/Hero/Hero.figma.d.ts +0 -2
- package/esm/Hero/Hero.figma.d.ts.map +0 -1
- package/esm/IDE/fixtures/content.d.ts +0 -7
- package/esm/IDE/fixtures/content.d.ts.map +0 -1
- package/esm/LogoSuite/LogoSuite.figma.d.ts +0 -2
- package/esm/LogoSuite/LogoSuite.figma.d.ts.map +0 -1
- package/esm/LogoSuite/LogoSuite.fixtures.d.ts +0 -2
- package/esm/LogoSuite/LogoSuite.fixtures.d.ts.map +0 -1
- package/esm/MonaSans/MonaSans.d.ts +0 -11
- package/esm/MonaSans/MonaSans.d.ts.map +0 -1
- package/esm/MonaSans/index.d.ts +0 -2
- package/esm/MonaSans/index.d.ts.map +0 -1
- package/esm/PricingOptions/PricingOptions.figma.d.ts +0 -2
- package/esm/PricingOptions/PricingOptions.figma.d.ts.map +0 -1
- package/esm/Tiles/Tiles.fixtures.d.ts +0 -7
- package/esm/Tiles/Tiles.fixtures.d.ts.map +0 -1
- package/esm/fixtures/third-party-logos/AzureLogo.d.ts +0 -5
- package/esm/fixtures/third-party-logos/AzureLogo.d.ts.map +0 -1
- package/esm/fixtures/third-party-logos/JetBrainsLogo.d.ts +0 -5
- package/esm/fixtures/third-party-logos/JetBrainsLogo.d.ts.map +0 -1
- package/esm/fixtures/third-party-logos/MicrosoftCopilotLogo.d.ts +0 -5
- package/esm/fixtures/third-party-logos/MicrosoftCopilotLogo.d.ts.map +0 -1
- package/esm/fixtures/third-party-logos/MicrosoftLogo.d.ts +0 -5
- package/esm/fixtures/third-party-logos/MicrosoftLogo.d.ts.map +0 -1
- package/esm/fixtures/third-party-logos/NeoVimLogo.d.ts +0 -5
- package/esm/fixtures/third-party-logos/NeoVimLogo.d.ts.map +0 -1
- package/esm/fixtures/third-party-logos/VisualStudioCodeLogo.d.ts +0 -5
- package/esm/fixtures/third-party-logos/VisualStudioCodeLogo.d.ts.map +0 -1
- package/esm/fixtures/third-party-logos/VisualStudioLogo.d.ts +0 -5
- package/esm/fixtures/third-party-logos/VisualStudioLogo.d.ts.map +0 -1
- package/esm/list/ListItem/index.d.ts +0 -2
- package/esm/list/ListItem/index.d.ts.map +0 -1
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOne.d.ts +0 -13
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOne.d.ts.map +0 -1
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOneSideBySide.d.ts +0 -14
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOneSideBySide.d.ts.map +0 -1
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/components/FormExample.d.ts +0 -8
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/components/FormExample.d.ts.map +0 -1
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/index.d.ts +0 -2
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/index.d.ts.map +0 -1
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/FeaturePreviewLevelTwo.d.ts +0 -49
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/FeaturePreviewLevelTwo.d.ts.map +0 -1
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/index.d.ts +0 -2
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/index.d.ts.map +0 -1
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/FeaturePreviewLevelZero.d.ts +0 -17
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/FeaturePreviewLevelZero.d.ts.map +0 -1
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/index.d.ts +0 -2
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/index.d.ts.map +0 -1
- package/esm/recipes/FeaturePreviewLPs/helpers.d.ts +0 -30
- package/esm/recipes/FeaturePreviewLPs/helpers.d.ts.map +0 -1
- package/esm/recipes/FlexTemplate/FlexSection/FlexSection.d.ts +0 -8
- package/esm/recipes/FlexTemplate/FlexSection/FlexSection.d.ts.map +0 -1
- package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiver.d.ts +0 -2
- package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiver.d.ts.map +0 -1
- package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiverAccordion.d.ts +0 -8
- package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiverAccordion.d.ts.map +0 -1
- package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiverBreakout.d.ts +0 -2
- package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiverBreakout.d.ts.map +0 -1
- package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulTestimonials.d.ts +0 -8
- package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulTestimonials.d.ts.map +0 -1
- package/esm/recipes/FlexTemplate/FlexSection/components/FlexSectionTestimonials.d.ts +0 -8
- package/esm/recipes/FlexTemplate/FlexSection/components/FlexSectionTestimonials.d.ts.map +0 -1
- package/esm/recipes/FlexTemplate/FlexSection/components/index.d.ts +0 -6
- package/esm/recipes/FlexTemplate/FlexSection/components/index.d.ts.map +0 -1
- package/esm/recipes/FlexTemplate/FlexSection/index.d.ts +0 -2
- package/esm/recipes/FlexTemplate/FlexSection/index.d.ts.map +0 -1
- package/esm/recipes/FlexTemplate/FlexTemplate.d.ts +0 -7
- package/esm/recipes/FlexTemplate/FlexTemplate.d.ts.map +0 -1
- package/esm/recipes/FlexTemplate/FlexTemplate.types.d.ts +0 -318
- package/esm/recipes/FlexTemplate/FlexTemplate.types.d.ts.map +0 -1
- package/esm/recipes/FlexTemplate/FlexTemplateTrailingSection/FlexTemplateTrailingSection.d.ts +0 -6
- package/esm/recipes/FlexTemplate/FlexTemplateTrailingSection/FlexTemplateTrailingSection.d.ts.map +0 -1
- package/esm/recipes/FlexTemplate/FlexTemplateTrailingSection/index.d.ts +0 -3
- package/esm/recipes/FlexTemplate/FlexTemplateTrailingSection/index.d.ts.map +0 -1
- package/esm/recipes/FlexTemplate/fixtures/content.d.ts +0 -2
- package/esm/recipes/FlexTemplate/fixtures/content.d.ts.map +0 -1
- package/esm/recipes/FlexTemplate/index.d.ts +0 -4
- package/esm/recipes/FlexTemplate/index.d.ts.map +0 -1
- package/esm/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.content.d.ts +0 -68
- package/esm/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.content.d.ts.map +0 -1
- package/esm/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.d.ts +0 -7
- package/esm/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.d.ts.map +0 -1
- package/esm/recipes/Flexsuite/Category/index.d.ts +0 -2
- package/esm/recipes/Flexsuite/Category/index.d.ts.map +0 -1
- package/esm/recipes/Flexsuite/Details/FlexSuiteAIDetailsPlaylist/FlexSuiteAIDetailsPlaylist.content.d.ts +0 -49
- package/esm/recipes/Flexsuite/Details/FlexSuiteAIDetailsPlaylist/FlexSuiteAIDetailsPlaylist.content.d.ts.map +0 -1
- package/esm/recipes/Flexsuite/Details/FlexSuiteAIDetailsPlaylist/FlexSuiteAIDetailsPlaylist.d.ts +0 -7
- package/esm/recipes/Flexsuite/Details/FlexSuiteAIDetailsPlaylist/FlexSuiteAIDetailsPlaylist.d.ts.map +0 -1
- package/esm/recipes/Flexsuite/Details/index.d.ts +0 -4
- package/esm/recipes/Flexsuite/Details/index.d.ts.map +0 -1
- package/esm/recipes/Flexsuite/Overview/FlexSuiteAIOverview.content.d.ts +0 -101
- package/esm/recipes/Flexsuite/Overview/FlexSuiteAIOverview.content.d.ts.map +0 -1
- package/esm/recipes/Flexsuite/Overview/FlexSuiteAIOverview.d.ts +0 -7
- package/esm/recipes/Flexsuite/Overview/FlexSuiteAIOverview.d.ts.map +0 -1
- package/esm/recipes/Flexsuite/Overview/FlexSuiteOverview.content.d.ts +0 -5
- package/esm/recipes/Flexsuite/Overview/FlexSuiteOverview.content.d.ts.map +0 -1
- package/esm/recipes/Flexsuite/Overview/index.d.ts +0 -4
- package/esm/recipes/Flexsuite/Overview/index.d.ts.map +0 -1
- package/esm/recipes/SolutionTemplates/CategoryPage/CategoryPage.d.ts +0 -16
- package/esm/recipes/SolutionTemplates/CategoryPage/CategoryPage.d.ts.map +0 -1
- package/esm/recipes/SolutionTemplates/SolutionPage/SolutionPage.d.ts +0 -33
- package/esm/recipes/SolutionTemplates/SolutionPage/SolutionPage.d.ts.map +0 -1
- package/esm/recipes/SolutionTemplates/SolutionPage/index.d.ts +0 -2
- package/esm/recipes/SolutionTemplates/SolutionPage/index.d.ts.map +0 -1
- package/esm/recipes/SolutionTemplates/SolutionsOverview/SolutionsOverview.d.ts +0 -17
- package/esm/recipes/SolutionTemplates/SolutionsOverview/SolutionsOverview.d.ts.map +0 -1
- package/esm/recipes/SolutionTemplates/helpers.d.ts +0 -127
- package/esm/recipes/SolutionTemplates/helpers.d.ts.map +0 -1
- package/esm/recipes/SolutionTemplates/index.d.ts +0 -1
- package/esm/recipes/SolutionTemplates/index.d.ts.map +0 -1
- package/esm/recipes/seo/Article/Article.d.ts +0 -14
- package/esm/recipes/seo/Article/Article.d.ts.map +0 -1
- package/esm/recipes/seo/Article/ArticleToC.d.ts +0 -4
- package/esm/recipes/seo/Article/ArticleToC.d.ts.map +0 -1
- package/esm/recipes/seo/Article/article-shared.d.ts +0 -5
- package/esm/recipes/seo/Article/article-shared.d.ts.map +0 -1
- package/esm/recipes/seo/Article/index.d.ts +0 -2
- package/esm/recipes/seo/Article/index.d.ts.map +0 -1
- package/esm/recipes/seo/Category/CategoryPage.d.ts +0 -9
- package/esm/recipes/seo/Category/CategoryPage.d.ts.map +0 -1
- package/esm/recipes/seo/Category/index.d.ts +0 -2
- package/esm/recipes/seo/Category/index.d.ts.map +0 -1
- package/esm/recipes/seo/helpers.d.ts +0 -16
- package/esm/recipes/seo/helpers.d.ts.map +0 -1
- package/esm/recipes/seo/index.d.ts +0 -1
- package/esm/recipes/seo/index.d.ts.map +0 -1
- package/esm/river/River.figma.d.ts +0 -2
- package/esm/river/River.figma.d.ts.map +0 -1
- package/lib/Hero/Hero.figma.d.ts +0 -1
- package/lib/IDE/fixtures/content.d.ts +0 -6
- package/lib/LogoSuite/LogoSuite.figma.d.ts +0 -1
- package/lib/LogoSuite/LogoSuite.fixtures.d.ts +0 -1
- package/lib/MonaSans/MonaSans.d.ts +0 -10
- package/lib/MonaSans/index.d.ts +0 -1
- package/lib/PricingOptions/PricingOptions.figma.d.ts +0 -1
- package/lib/Tiles/Tiles.fixtures.d.ts +0 -6
- package/lib/fixtures/third-party-logos/AzureLogo.d.ts +0 -4
- package/lib/fixtures/third-party-logos/JetBrainsLogo.d.ts +0 -4
- package/lib/fixtures/third-party-logos/MicrosoftCopilotLogo.d.ts +0 -4
- package/lib/fixtures/third-party-logos/MicrosoftLogo.d.ts +0 -4
- package/lib/fixtures/third-party-logos/NeoVimLogo.d.ts +0 -4
- package/lib/fixtures/third-party-logos/VisualStudioCodeLogo.d.ts +0 -4
- package/lib/fixtures/third-party-logos/VisualStudioLogo.d.ts +0 -4
- package/lib/index.esm.d.ts +0 -7
- package/lib/list/ListItem/index.d.ts +0 -1
- package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOne.d.ts +0 -12
- package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOneSideBySide.d.ts +0 -13
- package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/components/FormExample.d.ts +0 -7
- package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/index.d.ts +0 -1
- package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/FeaturePreviewLevelTwo.d.ts +0 -48
- package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/index.d.ts +0 -1
- package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/FeaturePreviewLevelZero.d.ts +0 -16
- package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/index.d.ts +0 -1
- package/lib/recipes/FeaturePreviewLPs/helpers.d.ts +0 -29
- package/lib/recipes/FlexTemplate/FlexSection/FlexSection.d.ts +0 -7
- package/lib/recipes/FlexTemplate/FlexSection/components/ContentfulRiver.d.ts +0 -1
- package/lib/recipes/FlexTemplate/FlexSection/components/ContentfulRiverAccordion.d.ts +0 -7
- package/lib/recipes/FlexTemplate/FlexSection/components/ContentfulRiverBreakout.d.ts +0 -1
- package/lib/recipes/FlexTemplate/FlexSection/components/ContentfulTestimonials.d.ts +0 -7
- package/lib/recipes/FlexTemplate/FlexSection/components/FlexSectionTestimonials.d.ts +0 -7
- package/lib/recipes/FlexTemplate/FlexSection/components/index.d.ts +0 -5
- package/lib/recipes/FlexTemplate/FlexSection/index.d.ts +0 -1
- package/lib/recipes/FlexTemplate/FlexTemplate.d.ts +0 -6
- package/lib/recipes/FlexTemplate/FlexTemplate.types.d.ts +0 -317
- package/lib/recipes/FlexTemplate/FlexTemplateTrailingSection/FlexTemplateTrailingSection.d.ts +0 -5
- package/lib/recipes/FlexTemplate/FlexTemplateTrailingSection/index.d.ts +0 -2
- package/lib/recipes/FlexTemplate/fixtures/content.d.ts +0 -1
- package/lib/recipes/FlexTemplate/index.d.ts +0 -3
- package/lib/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.content.d.ts +0 -67
- package/lib/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.d.ts +0 -6
- package/lib/recipes/Flexsuite/Category/index.d.ts +0 -1
- package/lib/recipes/Flexsuite/Details/FlexSuiteAIDetailsPlaylist/FlexSuiteAIDetailsPlaylist.content.d.ts +0 -48
- package/lib/recipes/Flexsuite/Details/FlexSuiteAIDetailsPlaylist/FlexSuiteAIDetailsPlaylist.d.ts +0 -6
- package/lib/recipes/Flexsuite/Details/index.d.ts +0 -3
- package/lib/recipes/Flexsuite/Overview/FlexSuiteAIOverview.content.d.ts +0 -100
- package/lib/recipes/Flexsuite/Overview/FlexSuiteAIOverview.d.ts +0 -6
- package/lib/recipes/Flexsuite/Overview/FlexSuiteOverview.content.d.ts +0 -4
- package/lib/recipes/Flexsuite/Overview/index.d.ts +0 -3
- package/lib/recipes/SolutionTemplates/CategoryPage/CategoryPage.d.ts +0 -15
- package/lib/recipes/SolutionTemplates/SolutionPage/SolutionPage.d.ts +0 -32
- package/lib/recipes/SolutionTemplates/SolutionPage/index.d.ts +0 -1
- package/lib/recipes/SolutionTemplates/SolutionsOverview/SolutionsOverview.d.ts +0 -16
- package/lib/recipes/SolutionTemplates/helpers.d.ts +0 -126
- package/lib/recipes/SolutionTemplates/index.d.ts +0 -0
- package/lib/recipes/seo/Article/Article.d.ts +0 -13
- package/lib/recipes/seo/Article/ArticleToC.d.ts +0 -3
- package/lib/recipes/seo/Article/article-shared.d.ts +0 -4
- package/lib/recipes/seo/Article/index.d.ts +0 -1
- package/lib/recipes/seo/Category/CategoryPage.d.ts +0 -8
- package/lib/recipes/seo/Category/index.d.ts +0 -1
- package/lib/recipes/seo/helpers.d.ts +0 -15
- package/lib/recipes/seo/index.d.ts +0 -0
- package/lib/river/River.figma.d.ts +0 -1
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: River accordion
|
|
3
|
+
description: Use the river accordion to create expandable content panels with associated visuals.
|
|
4
|
+
keywords: ['expandable', 'features', 'panels', 'visual']
|
|
5
|
+
ready: true
|
|
6
|
+
source: https://github.com/primer/brand/blob/main/packages/react/src/river/RiverAccordion/RiverAccordion.tsx
|
|
7
|
+
figma: 'https://www.figma.com/design/BJ95AjraesmRCWsKA013GS/Primer-Brand?node-id=16649-1564&t=hUxfzn1hD1LwE1aQ-4'
|
|
8
|
+
storybook: '/brand/storybook/?path=/story/components-riveraccordion--default'
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
```js
|
|
12
|
+
import {RiverAccordion} from '@primer/react-brand'
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Examples
|
|
16
|
+
|
|
17
|
+
### Default
|
|
18
|
+
|
|
19
|
+
```jsx
|
|
20
|
+
<RiverAccordion>
|
|
21
|
+
<RiverAccordion.Item>
|
|
22
|
+
<RiverAccordion.Heading>Heading 1</RiverAccordion.Heading>
|
|
23
|
+
<RiverAccordion.Content>
|
|
24
|
+
<Text>
|
|
25
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sapien sit ullamcorper id. Aliquam luctus sed turpis
|
|
26
|
+
felis nam pulvinar risus elementum.
|
|
27
|
+
</Text>
|
|
28
|
+
<Link href="#">Call to action</Link>
|
|
29
|
+
</RiverAccordion.Content>
|
|
30
|
+
<RiverAccordion.Visual>
|
|
31
|
+
<img src="/images/placeholder-1.png" alt="Visual content for item 2" />
|
|
32
|
+
</RiverAccordion.Visual>
|
|
33
|
+
</RiverAccordion.Item>
|
|
34
|
+
|
|
35
|
+
<RiverAccordion.Item>
|
|
36
|
+
<RiverAccordion.Heading>Heading 2</RiverAccordion.Heading>
|
|
37
|
+
<RiverAccordion.Content>
|
|
38
|
+
<Text>
|
|
39
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sapien sit ullamcorper id. Aliquam luctus sed turpis
|
|
40
|
+
felis nam pulvinar risus elementum.
|
|
41
|
+
</Text>
|
|
42
|
+
<Link href="#">Call to action</Link>
|
|
43
|
+
</RiverAccordion.Content>
|
|
44
|
+
<RiverAccordion.Visual>
|
|
45
|
+
<img src="/images/placeholder-2.png" alt="Visual content for item 2" />
|
|
46
|
+
</RiverAccordion.Visual>
|
|
47
|
+
</RiverAccordion.Item>
|
|
48
|
+
|
|
49
|
+
<RiverAccordion.Item>
|
|
50
|
+
<RiverAccordion.Heading>Heading 3</RiverAccordion.Heading>
|
|
51
|
+
<RiverAccordion.Content>
|
|
52
|
+
<Text>
|
|
53
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sapien sit ullamcorper id. Aliquam luctus sed turpis
|
|
54
|
+
felis nam pulvinar risus elementum.
|
|
55
|
+
</Text>
|
|
56
|
+
<Link href="#">Call to action</Link>
|
|
57
|
+
</RiverAccordion.Content>
|
|
58
|
+
<RiverAccordion.Visual>
|
|
59
|
+
<img src="/images/placeholder-3.png" alt="Visual content for item 3" />
|
|
60
|
+
</RiverAccordion.Visual>
|
|
61
|
+
</RiverAccordion.Item>
|
|
62
|
+
</RiverAccordion>
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### Visual alignment
|
|
66
|
+
|
|
67
|
+
Use the `align` prop to control the position of the visuals. Setting `align="end"` will invert the default position of the visuals and content.
|
|
68
|
+
|
|
69
|
+
```jsx
|
|
70
|
+
<RiverAccordion align="end">
|
|
71
|
+
<RiverAccordion.Item>
|
|
72
|
+
<RiverAccordion.Heading>Heading 1</RiverAccordion.Heading>
|
|
73
|
+
<RiverAccordion.Content>
|
|
74
|
+
<Text>
|
|
75
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sapien sit ullamcorper id. Aliquam luctus sed turpis
|
|
76
|
+
felis nam pulvinar risus elementum.
|
|
77
|
+
</Text>
|
|
78
|
+
<Link href="#">Call to action</Link>
|
|
79
|
+
</RiverAccordion.Content>
|
|
80
|
+
<RiverAccordion.Visual>
|
|
81
|
+
<img src="/images/placeholder-1.png" alt="Visual content for item 1" />
|
|
82
|
+
</RiverAccordion.Visual>
|
|
83
|
+
</RiverAccordion.Item>
|
|
84
|
+
|
|
85
|
+
<RiverAccordion.Item>
|
|
86
|
+
<RiverAccordion.Heading>Heading 2</RiverAccordion.Heading>
|
|
87
|
+
<RiverAccordion.Content>
|
|
88
|
+
<Text>
|
|
89
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sapien sit ullamcorper id. Aliquam luctus sed turpis
|
|
90
|
+
felis nam pulvinar risus elementum.
|
|
91
|
+
</Text>
|
|
92
|
+
<Link href="#">Call to action</Link>
|
|
93
|
+
</RiverAccordion.Content>
|
|
94
|
+
<RiverAccordion.Visual>
|
|
95
|
+
<img src="/images/placeholder-2.png" alt="Visual content for item 2" />
|
|
96
|
+
</RiverAccordion.Visual>
|
|
97
|
+
</RiverAccordion.Item>
|
|
98
|
+
|
|
99
|
+
<RiverAccordion.Item>
|
|
100
|
+
<RiverAccordion.Heading>Heading 3</RiverAccordion.Heading>
|
|
101
|
+
<RiverAccordion.Content>
|
|
102
|
+
<Text>
|
|
103
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sapien sit ullamcorper id. Aliquam luctus sed turpis
|
|
104
|
+
felis nam pulvinar risus elementum.
|
|
105
|
+
</Text>
|
|
106
|
+
<Link href="#">Call to action</Link>
|
|
107
|
+
</RiverAccordion.Content>
|
|
108
|
+
<RiverAccordion.Visual>
|
|
109
|
+
<img src="/images/placeholder-3.png" alt="Visual content for item 3" />
|
|
110
|
+
</RiverAccordion.Visual>
|
|
111
|
+
</RiverAccordion.Item>
|
|
112
|
+
</RiverAccordion>
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### Gridline variant
|
|
116
|
+
|
|
117
|
+
Use the `gridline` variant to add horizontal border lines, equal-width columns, and an edge-to-edge visual background. The visual background defaults to `var(--brand-color-canvas-subtle)` and can be customized with a color, gradient, or image by overriding `--brand-RiverAccordion-visual-background`.
|
|
118
|
+
|
|
119
|
+
```jsx
|
|
120
|
+
<RiverAccordion variant="gridline">
|
|
121
|
+
<RiverAccordion.Item>
|
|
122
|
+
<RiverAccordion.Heading>Heading 1</RiverAccordion.Heading>
|
|
123
|
+
<RiverAccordion.Content>
|
|
124
|
+
<Text>
|
|
125
|
+
The gridline variant creates a full-bleed visual background, centering the media with padding around it.
|
|
126
|
+
</Text>
|
|
127
|
+
<Link href="#">Call to action</Link>
|
|
128
|
+
</RiverAccordion.Content>
|
|
129
|
+
<RiverAccordion.Visual>
|
|
130
|
+
<img src="/images/placeholder-1.png" alt="Visual content for item 1" />
|
|
131
|
+
</RiverAccordion.Visual>
|
|
132
|
+
</RiverAccordion.Item>
|
|
133
|
+
|
|
134
|
+
<RiverAccordion.Item>
|
|
135
|
+
<RiverAccordion.Heading>Heading 2</RiverAccordion.Heading>
|
|
136
|
+
<RiverAccordion.Content>
|
|
137
|
+
<Text>The background treatment is applied to each visual while the accordion interaction stays the same.</Text>
|
|
138
|
+
<Link href="#">Call to action</Link>
|
|
139
|
+
</RiverAccordion.Content>
|
|
140
|
+
<RiverAccordion.Visual>
|
|
141
|
+
<img src="/images/placeholder-2.png" alt="Visual content for item 2" />
|
|
142
|
+
</RiverAccordion.Visual>
|
|
143
|
+
</RiverAccordion.Item>
|
|
144
|
+
|
|
145
|
+
<RiverAccordion.Item>
|
|
146
|
+
<RiverAccordion.Heading>Heading 3</RiverAccordion.Heading>
|
|
147
|
+
<RiverAccordion.Content>
|
|
148
|
+
<Text>Use this treatment when visuals should sit in an edge-to-edge background panel.</Text>
|
|
149
|
+
<Link href="#">Call to action</Link>
|
|
150
|
+
</RiverAccordion.Content>
|
|
151
|
+
<RiverAccordion.Visual>
|
|
152
|
+
<img src="/images/placeholder-3.png" alt="Visual content for item 3" />
|
|
153
|
+
</RiverAccordion.Visual>
|
|
154
|
+
</RiverAccordion.Item>
|
|
155
|
+
</RiverAccordion>
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
## Component props
|
|
159
|
+
|
|
160
|
+
### RiverAccordion `Required`
|
|
161
|
+
|
|
162
|
+
| Name | Type | Default | Description |
|
|
163
|
+
| :--------- | :------------------------ | :---------: | :--------------------------------------------------------------------- |
|
|
164
|
+
| `children` | | | Multiple RiverAccordion.Item components |
|
|
165
|
+
| `align` | `'start' \| 'end'` | `'start'` | Controls the position of the visuals relative to the accordion content |
|
|
166
|
+
| `variant` | `'default' \| 'gridline'` | `'default'` | Controls the visual style of the accordion |
|
|
167
|
+
|
|
168
|
+
`RiverAccordion` extends the HTML `div` element and supports all `div` props.
|
|
169
|
+
|
|
170
|
+
### RiverAccordion.Item `Required`
|
|
171
|
+
|
|
172
|
+
| Name | Type | Default | Description |
|
|
173
|
+
| :--------- | :-------------------------------------------------------------------------------- | :-----: | :--------------------------------------- |
|
|
174
|
+
| `children` | `'RiverAccordion.Heading' \| 'RiverAccordion.Content' \| 'RiverAccordion.Visual'` | | Must include all three listed components |
|
|
175
|
+
|
|
176
|
+
`RiverAccordion.Item` extends the HTML `div` element and supports all `div` props.
|
|
177
|
+
|
|
178
|
+
### RiverAccordion.Heading `Required`
|
|
179
|
+
|
|
180
|
+
| Name | Type | Default | Description |
|
|
181
|
+
| :--------- | :------- | :-----: | :----------- |
|
|
182
|
+
| `children` | `string` | | Heading text |
|
|
183
|
+
|
|
184
|
+
`RiverAccordion.Heading` extends the [`Heading`](../../typography/Heading/index.md) component and supports all `Heading` props.
|
|
185
|
+
|
|
186
|
+
### RiverAccordion.Content `Required`
|
|
187
|
+
|
|
188
|
+
| Name | Type | Default | Description |
|
|
189
|
+
| :--------- | :--------------------- | :-----: | :----------------- |
|
|
190
|
+
| `children` | `React.ReactElement[]` | | Content components |
|
|
191
|
+
|
|
192
|
+
`RiverAccordion.Content` extends the HTML `div` element and supports all `div` props.
|
|
193
|
+
|
|
194
|
+
### RiverAccordion.Visual `Required`
|
|
195
|
+
|
|
196
|
+
| Name | Type | Default | Description |
|
|
197
|
+
| :--------- | :------------------- | :-----: | :--------------------------- |
|
|
198
|
+
| `children` | `React.ReactElement` | | Visual content (e.g., image) |
|
|
199
|
+
|
|
200
|
+
`RiverAccordion.Visual` extends the HTML `div` element and supports all `div` props.
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: River breakout tabs
|
|
3
|
+
description: Use RiverBreakoutTabs to pair card-based tabs with a shared visual area on desktop and an accordion pattern on narrower viewports.
|
|
4
|
+
keywords: ['river', 'breakout', 'tabs', 'accordion', 'carousel']
|
|
5
|
+
ready: true
|
|
6
|
+
source: https://github.com/primer/brand/blob/main/packages/react/src/river/RiverBreakoutTabs/RiverBreakoutTabs.tsx
|
|
7
|
+
storybook: '/brand/storybook/?path=/story/components-riverbreakouttabs--default'
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
```js
|
|
11
|
+
import {RiverBreakoutTabs} from '@primer/react-brand'
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Examples
|
|
15
|
+
|
|
16
|
+
### Default
|
|
17
|
+
|
|
18
|
+
```jsx
|
|
19
|
+
<Section>
|
|
20
|
+
<RiverBreakoutTabs>
|
|
21
|
+
<RiverBreakoutTabs.A11yHeading>Plan, review, and ship with Copilot</RiverBreakoutTabs.A11yHeading>
|
|
22
|
+
|
|
23
|
+
<RiverBreakoutTabs.Item>
|
|
24
|
+
<RiverBreakoutTabs.Heading>Plan from your backlog</RiverBreakoutTabs.Heading>
|
|
25
|
+
<RiverBreakoutTabs.Content>
|
|
26
|
+
<Text>Break large issues into practical implementation steps.</Text>
|
|
27
|
+
<Link href="#">Learn more</Link>
|
|
28
|
+
</RiverBreakoutTabs.Content>
|
|
29
|
+
<RiverBreakoutTabs.Visual>
|
|
30
|
+
<img src="/images/placeholder-1.png" alt="Planning workflow in editor" />
|
|
31
|
+
</RiverBreakoutTabs.Visual>
|
|
32
|
+
</RiverBreakoutTabs.Item>
|
|
33
|
+
|
|
34
|
+
<RiverBreakoutTabs.Item>
|
|
35
|
+
<RiverBreakoutTabs.Heading>Review with context</RiverBreakoutTabs.Heading>
|
|
36
|
+
<RiverBreakoutTabs.Content>
|
|
37
|
+
<Text>Keep discussion, suggestions, and diffs together while you review.</Text>
|
|
38
|
+
<Link href="#">Explore reviews</Link>
|
|
39
|
+
</RiverBreakoutTabs.Content>
|
|
40
|
+
<RiverBreakoutTabs.Visual>
|
|
41
|
+
<img src="/images/placeholder-2.png" alt="Review workflow with shared context" />
|
|
42
|
+
</RiverBreakoutTabs.Visual>
|
|
43
|
+
</RiverBreakoutTabs.Item>
|
|
44
|
+
|
|
45
|
+
<RiverBreakoutTabs.Item>
|
|
46
|
+
<RiverBreakoutTabs.Heading>Merge with confidence</RiverBreakoutTabs.Heading>
|
|
47
|
+
<RiverBreakoutTabs.Content>
|
|
48
|
+
<Text>Use checks and approvals to move from code to merge safely.</Text>
|
|
49
|
+
<Link href="#">See merge controls</Link>
|
|
50
|
+
</RiverBreakoutTabs.Content>
|
|
51
|
+
<RiverBreakoutTabs.Visual>
|
|
52
|
+
<img src="/images/placeholder-3.png" alt="Merge flow with checks" />
|
|
53
|
+
</RiverBreakoutTabs.Visual>
|
|
54
|
+
</RiverBreakoutTabs.Item>
|
|
55
|
+
</RiverBreakoutTabs>
|
|
56
|
+
</Section>
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### With an optional background and inset media
|
|
60
|
+
|
|
61
|
+
```jsx
|
|
62
|
+
<Section>
|
|
63
|
+
<RiverBreakoutTabs
|
|
64
|
+
backgroundVisual={
|
|
65
|
+
<div
|
|
66
|
+
style={{
|
|
67
|
+
position: 'absolute',
|
|
68
|
+
inset: 0,
|
|
69
|
+
backgroundColor: 'var(--base-color-scale-green-0)',
|
|
70
|
+
backgroundImage: 'radial-gradient(var(--base-color-scale-green-2) 1px, transparent 3px)',
|
|
71
|
+
backgroundSize: '10px 10px',
|
|
72
|
+
}}
|
|
73
|
+
/>
|
|
74
|
+
}
|
|
75
|
+
imagePosition="block-end"
|
|
76
|
+
>
|
|
77
|
+
<RiverBreakoutTabs.A11yHeading>Breakout with a decorative background</RiverBreakoutTabs.A11yHeading>
|
|
78
|
+
|
|
79
|
+
<RiverBreakoutTabs.Item>
|
|
80
|
+
<RiverBreakoutTabs.Heading>Plan</RiverBreakoutTabs.Heading>
|
|
81
|
+
<RiverBreakoutTabs.Content>
|
|
82
|
+
<Text>Start from issue context and turn goals into task lists.</Text>
|
|
83
|
+
<Link href="#">Open planning</Link>
|
|
84
|
+
</RiverBreakoutTabs.Content>
|
|
85
|
+
<RiverBreakoutTabs.Visual>
|
|
86
|
+
<img src="/images/placeholder-1.png" alt="Planning tab visual" />
|
|
87
|
+
</RiverBreakoutTabs.Visual>
|
|
88
|
+
</RiverBreakoutTabs.Item>
|
|
89
|
+
|
|
90
|
+
<RiverBreakoutTabs.Item>
|
|
91
|
+
<RiverBreakoutTabs.Heading>Ship</RiverBreakoutTabs.Heading>
|
|
92
|
+
<RiverBreakoutTabs.Content>
|
|
93
|
+
<Text>Carry changes through review and checks to production.</Text>
|
|
94
|
+
<Link href="#">Open delivery flow</Link>
|
|
95
|
+
</RiverBreakoutTabs.Content>
|
|
96
|
+
<RiverBreakoutTabs.Visual>
|
|
97
|
+
<img src="/images/placeholder-2.png" alt="Delivery tab visual" />
|
|
98
|
+
</RiverBreakoutTabs.Visual>
|
|
99
|
+
</RiverBreakoutTabs.Item>
|
|
100
|
+
</RiverBreakoutTabs>
|
|
101
|
+
</Section>
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
## Component props
|
|
105
|
+
|
|
106
|
+
### RiverBreakoutTabs `Required`
|
|
107
|
+
|
|
108
|
+
| Name | Type | Default | Description |
|
|
109
|
+
| :-------------------------- | :-------------------------------- | :--------: | :--------------------------------------------------------------------------------------------------------------------------------- |
|
|
110
|
+
| `children` | `RiverBreakoutTabs.Item[]` | | Includes one required `RiverBreakoutTabs.A11yHeading` and one or more items |
|
|
111
|
+
| `defaultSelectedIndex` | `number` | `0` | Default selected index for uncontrolled mode |
|
|
112
|
+
| `selectedIndex` | `number` | | Selected index for controlled mode |
|
|
113
|
+
| `onChange` | `(selectedIndex: number) => void` | | Callback called when selected index changes |
|
|
114
|
+
| `backgroundVisual` | `ReactNode` | | Decorative `aria-hidden` visual behind the shared visual region; persists across tab changes. Must not contain interactive content |
|
|
115
|
+
| `imagePosition` | `'center' \| 'block-end'` | `'center'` | Positions the media over `backgroundVisual`; `block-end` pins it to the bottom edge |
|
|
116
|
+
| `backgroundVisualFullBleed` | `boolean` | `false` | When `true`, the `backgroundVisual` bleeds out to the gridline edges instead of being inset within them |
|
|
117
|
+
|
|
118
|
+
`RiverBreakoutTabs` extends the HTML `section` element and supports all `section` props.
|
|
119
|
+
|
|
120
|
+
### RiverBreakoutTabs.A11yHeading `Required`
|
|
121
|
+
|
|
122
|
+
| Name | Type | Default | Description |
|
|
123
|
+
| :--------- | :------------- | :-----: | :---------------------------------------------------------- |
|
|
124
|
+
| `children` | `ReactNode` | | Screen reader label for the tabs group |
|
|
125
|
+
| `as` | `'h2' \| 'h3'` | `'h3'` | Semantic heading level for assistive technologies |
|
|
126
|
+
| `id` | `string` | | Optional custom ID used for `aria-labelledby` relationships |
|
|
127
|
+
|
|
128
|
+
`RiverBreakoutTabs.A11yHeading` extends the [`Heading`](../../typography/Heading/index.md) component.
|
|
129
|
+
|
|
130
|
+
### RiverBreakoutTabs.Item `Required`
|
|
131
|
+
|
|
132
|
+
| Name | Type | Default | Description |
|
|
133
|
+
| :---------- | :--------------------- | :-----: | :---------------------------------------- |
|
|
134
|
+
| `children` | `React.ReactElement[]` | | Must include Heading, Content, and Visual |
|
|
135
|
+
| `className` | `string` | | Optional custom class |
|
|
136
|
+
|
|
137
|
+
`RiverBreakoutTabs.Item` is a structural child component.
|
|
138
|
+
|
|
139
|
+
### RiverBreakoutTabs.Heading `Required`
|
|
140
|
+
|
|
141
|
+
| Name | Type | Default | Description |
|
|
142
|
+
| :--------- | :---------- | :-----: | :---------------- |
|
|
143
|
+
| `children` | `ReactNode` | | Item heading text |
|
|
144
|
+
|
|
145
|
+
`RiverBreakoutTabs.Heading` extends the [`Heading`](../../typography/Heading/index.md) component.
|
|
146
|
+
|
|
147
|
+
### RiverBreakoutTabs.Content `Required`
|
|
148
|
+
|
|
149
|
+
| Name | Type | Default | Description |
|
|
150
|
+
| :--------- | :---------- | :-----: | :------------------- |
|
|
151
|
+
| `children` | `ReactNode` | | Item body and action |
|
|
152
|
+
|
|
153
|
+
`RiverBreakoutTabs.Content` extends the HTML `div` element and supports all `div` props.
|
|
154
|
+
|
|
155
|
+
### RiverBreakoutTabs.Icon
|
|
156
|
+
|
|
157
|
+
| Name | Type | Default | Description |
|
|
158
|
+
| :------ | :--------------- | :-------: | :---------------- |
|
|
159
|
+
| `icon` | `IconType` | | Octicon to render |
|
|
160
|
+
| `color` | `'green' \| ...` | `'green'` | Icon color token |
|
|
161
|
+
|
|
162
|
+
`RiverBreakoutTabs.Icon` extends the [`Icon`](../Icon/index.md) component.
|
|
163
|
+
|
|
164
|
+
### RiverBreakoutTabs.Visual `Required`
|
|
165
|
+
|
|
166
|
+
| Name | Type | Default | Description |
|
|
167
|
+
| :--------------------- | :---------------------- | :-----: | :-------------------------------- |
|
|
168
|
+
| `children` | `React.ReactElement` | | Item visual media |
|
|
169
|
+
| `imageBackgroundColor` | `'default' \| 'subtle'` | | Optional background around visual |
|
|
170
|
+
|
|
171
|
+
`RiverBreakoutTabs.Visual` extends `River.Visual` and supports all `River.Visual` props.
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Section
|
|
3
|
+
description: Use a Section to group and structure related content on a page.
|
|
4
|
+
keywords: ['layout', 'container', 'content', 'structure', 'page']
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Anatomy
|
|
8
|
+
|
|
9
|
+
- **Container:** Wraps the content to ensure proper alignment and responsiveness across different viewports.
|
|
10
|
+
- **Padding:** Customizable padding at the top and bottom of the section to suit different content needs.
|
|
11
|
+
- **Background:** Options to customize the background with colors or images.
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
The Section component is a versatile layout tool. It serves as a container that can be customized to fit various design needs.
|
|
16
|
+
|
|
17
|
+
Use the Section component to create distinct blocks of related content within a page, enhancing both the structure and the layout. Use it to break up long pages into more digestible segments, making the content more approachable for users.
|
|
18
|
+
|
|
19
|
+
### Content Grouping
|
|
20
|
+
|
|
21
|
+
Use the Section component to group related elements together, such as one or more subsections containing text, images, links and other compositions that share a common theme.
|
|
22
|
+
|
|
23
|
+
### Semantics and headings
|
|
24
|
+
|
|
25
|
+
The Section component is a semantic element used to create a new section within a page. It should include a heading to title the section. You may use the [section intro component](../SectionIntro/index.md) or rely top-level components like Hero that already provide the required heading. Ensure that the heading level is appropriate for the content hierarchy.
|
|
26
|
+
|
|
27
|
+
### Visual Separation
|
|
28
|
+
|
|
29
|
+
Use different backgrounds and paddings to visually differentiate different sections within a page, aiding in content hierarchy and navigation.
|
|
30
|
+
|
|
31
|
+
### Grids and responsive design
|
|
32
|
+
|
|
33
|
+
The container maintains content margins and allows the use of the Grid to consistently align elements across different viewport sizes.
|
|
34
|
+
|
|
35
|
+
## Related components
|
|
36
|
+
|
|
37
|
+
- [SectionIntro](../SectionIntro/index.md): to add a heading and optional description to the section.
|
|
38
|
+
- [Stack](../../layout/Stack/index.md): to enable layout of its immediate children along the vertical or horizontal axis.
|
|
39
|
+
- [Grid](../../layout/Grid/index.md): to create flexible and responsive grid-based layouts.
|
|
40
|
+
- [Box](../../layout/Box/index.md): to apply one-off styles to an element.
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Section
|
|
3
|
+
description: Use the section component to group related content together.
|
|
4
|
+
keywords: ['layout', 'container', 'content', 'structure', 'page']
|
|
5
|
+
ready: true
|
|
6
|
+
source: https://github.com/primer/brand/blob/main/packages/react/src/Section/Section.tsx
|
|
7
|
+
storybook: '/brand/storybook/?path=/story/components-section--default'
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
```js
|
|
11
|
+
import {Section} from '@primer/react-brand'
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Examples
|
|
15
|
+
|
|
16
|
+
### Default
|
|
17
|
+
|
|
18
|
+
The default `Section` wraps its content in a semantic `<section>` element and provides default paddings.
|
|
19
|
+
|
|
20
|
+
```jsx
|
|
21
|
+
<Section>
|
|
22
|
+
<SectionIntro align="center">
|
|
23
|
+
<SectionIntro.Heading size="3">Default section</SectionIntro.Heading>
|
|
24
|
+
<SectionIntro.Description>This content is wrapped in a Section component.</SectionIntro.Description>
|
|
25
|
+
</SectionIntro>
|
|
26
|
+
</Section>
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### With independent block paddings
|
|
30
|
+
|
|
31
|
+
```jsx
|
|
32
|
+
<Section paddingBlockStart="none" paddingBlockEnd="spacious">
|
|
33
|
+
<SectionIntro align="center">
|
|
34
|
+
<SectionIntro.Heading size="3">Custom paddings</SectionIntro.Heading>
|
|
35
|
+
<SectionIntro.Description>This section has a custom padding at the top and bottom.</SectionIntro.Description>
|
|
36
|
+
</SectionIntro>
|
|
37
|
+
</Section>
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### With predefined background color
|
|
41
|
+
|
|
42
|
+
```jsx
|
|
43
|
+
<Section backgroundColor="subtle">
|
|
44
|
+
<SectionIntro align="center">
|
|
45
|
+
<SectionIntro.Heading size="3">Predefined background</SectionIntro.Heading>
|
|
46
|
+
<SectionIntro.Description>This section has a predefined background color.</SectionIntro.Description>
|
|
47
|
+
</SectionIntro>
|
|
48
|
+
</Section>
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### With custom background color
|
|
52
|
+
|
|
53
|
+
```jsx
|
|
54
|
+
<Section backgroundColor="#2AA198">
|
|
55
|
+
<SectionIntro align="center">
|
|
56
|
+
<SectionIntro.Heading size="3">Custom background color</SectionIntro.Heading>
|
|
57
|
+
</SectionIntro>
|
|
58
|
+
</Section>
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### With background image
|
|
62
|
+
|
|
63
|
+
```jsx
|
|
64
|
+
<ThemeProvider colorMode="dark">
|
|
65
|
+
<Section
|
|
66
|
+
backgroundImageSrc="https://github.com/user-attachments/assets/068634a3-926d-49b8-b949-0b1e2a204651"
|
|
67
|
+
backgroundImageSize="cover"
|
|
68
|
+
backgroundImagePosition="top center"
|
|
69
|
+
>
|
|
70
|
+
<SectionIntro align="center">
|
|
71
|
+
<SectionIntro.Heading size="3">Section</SectionIntro.Heading>
|
|
72
|
+
<SectionIntro.Description>This section has a custom background image.</SectionIntro.Description>
|
|
73
|
+
</SectionIntro>
|
|
74
|
+
</Section>
|
|
75
|
+
</ThemeProvider>
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### With multiple background images
|
|
79
|
+
|
|
80
|
+
```jsx
|
|
81
|
+
<ThemeProvider colorMode="dark">
|
|
82
|
+
<Section
|
|
83
|
+
paddingBlockStart="spacious"
|
|
84
|
+
paddingBlockEnd="spacious"
|
|
85
|
+
backgroundColor="default"
|
|
86
|
+
backgroundImageSrc={[
|
|
87
|
+
'https://github.com/user-attachments/assets/a7340dea-2076-42da-87a9-057f953beb83',
|
|
88
|
+
'https://github.com/user-attachments/assets/a28110fd-d019-41a4-8f80-b49ae8895708',
|
|
89
|
+
]}
|
|
90
|
+
backgroundImagePosition={['bottom -1px center', 'center']}
|
|
91
|
+
backgroundImageSize={['auto', 'cover']}
|
|
92
|
+
>
|
|
93
|
+
<SectionIntro align="center">
|
|
94
|
+
<SectionIntro.Heading size="3">Multiple background images</SectionIntro.Heading>
|
|
95
|
+
</SectionIntro>
|
|
96
|
+
</Section>
|
|
97
|
+
<Section backgroundColor="default">
|
|
98
|
+
<SectionIntro align="center">
|
|
99
|
+
<SectionIntro.Heading size="4">Another section</SectionIntro.Heading>
|
|
100
|
+
</SectionIntro>
|
|
101
|
+
</Section>
|
|
102
|
+
</ThemeProvider>
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
### With rounded corners
|
|
106
|
+
|
|
107
|
+
```jsx
|
|
108
|
+
<>
|
|
109
|
+
<ThemeProvider colorMode="dark">
|
|
110
|
+
<Section backgroundColor="default"></Section>
|
|
111
|
+
</ThemeProvider>
|
|
112
|
+
<Section backgroundColor="default" rounded>
|
|
113
|
+
<SectionIntro align="center">
|
|
114
|
+
<SectionIntro.Heading size="3">Rounded corners</SectionIntro.Heading>
|
|
115
|
+
<SectionIntro.Description>
|
|
116
|
+
This section has rounded top corners that overlap the previous section.
|
|
117
|
+
</SectionIntro.Description>
|
|
118
|
+
</SectionIntro>
|
|
119
|
+
</Section>
|
|
120
|
+
</>
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
## Component props
|
|
124
|
+
|
|
125
|
+
### Section
|
|
126
|
+
|
|
127
|
+
| name | type | default | required | description |
|
|
128
|
+
| ------------------------- | -------------------------------------------------------- | ----------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
129
|
+
| `paddingBlockStart` | `SectionPaddingVariants \| 'ResponsiveMap'` | `'normal'` | `false` | Control the padding at the top of the section. |
|
|
130
|
+
| `paddingBlockEnd` | `SectionPaddingVariants \| 'ResponsiveMap'` | `'normal'` | `false` | Control the padding at the bottom of the section. |
|
|
131
|
+
| `backgroundColor` | `SectionBackgroundColors \| 'string' \| 'ResponsiveMap'` | | `false` | Add a background color. Use a predefined color, a CSS custom property, or a custom color value. |
|
|
132
|
+
| `backgroundImageSrc` | `string` \| `string[]` `ResponsiveMap` | | `false` | Add one or more background images. |
|
|
133
|
+
| `backgroundImageSize` | `string` \| `string[]` `ResponsiveMap` | `'cover'` | `false` | Control the size of the background image(s). This accepts all CSS `background-size` supported values, including keywords like `contain`. |
|
|
134
|
+
| `backgroundImagePosition` | `string` \| `string[]` `ResponsiveMap` | `'50%'` | `false` | Control the position of the background image(s). This accepts all CSS `background-position` supported values, including keywords like `top` and edge offsets. |
|
|
135
|
+
| `rounded` | `boolean` | `false` | `false` | Adds rounded corners to the top of the section. |
|
|
136
|
+
| `fullWidth` | `boolean` | `false` | `false` | Makes the container fill the entire width of the section. |
|
|
137
|
+
| `as` | `'section'` \| `'div'` | `'section'` | `false` | Applies the underlying HTML element. |
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Section intro
|
|
3
|
+
description: Use the section intro component to provide a title, optional description and link to a new section in the page.
|
|
4
|
+
keywords: ['heading', 'intro', 'section']
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Anatomy
|
|
8
|
+
|
|
9
|
+

|
|
10
|
+
|
|
11
|
+
- Label: An optional label to provide leading context to the section intro.
|
|
12
|
+
- Heading: The title of the section.
|
|
13
|
+
- Description: An optional description of the section.
|
|
14
|
+
- Link: An optional link to expand on the content introduced.
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
|
|
18
|
+
Use the section intro to introduce a new section element in the page. The section intro uses the full-width of the screen and can be used in conjunction with other components that expand the content introduced. For example, the [card](../Card/index.md) or the [pillar](../Pillar/index.md) components.
|
|
19
|
+
|
|
20
|
+
We recommend using the section intro as a header of an HTML `<section>` element. Sections divide the content of the page into thematic groups and represent standalone elements that are typically related to a specific topic or subject within the document.
|
|
21
|
+
|
|
22
|
+
Sections are designed to be self-contained, meaning they should make sense and be meaningful even when viewed independently from the rest of the page. They provide a way to divide the content into meaningful and structured blocks.
|
|
23
|
+
|
|
24
|
+
Ensure the description is concise, keeping it to one paragraph. Use a link to direct users to a page with further details if needed.
|
|
25
|
+
|
|
26
|
+
**✅ Do**
|
|
27
|
+
|
|
28
|
+

|
|
29
|
+
|
|
30
|
+
_Use section intros to introduce a new topic in a section and combine it with other components and content._
|
|
31
|
+
|
|
32
|
+
**❌ Don't**
|
|
33
|
+
|
|
34
|
+

|
|
35
|
+
|
|
36
|
+
_Don't use it as standalone element followed by other section intros._
|
|
37
|
+
|
|
38
|
+
**✅ Do**
|
|
39
|
+
|
|
40
|
+

|
|
41
|
+
|
|
42
|
+
_Use a short description to introduce the section._
|
|
43
|
+
|
|
44
|
+
**❌ Don't**
|
|
45
|
+
|
|
46
|
+

|
|
47
|
+
|
|
48
|
+
_Don't use section intro for long form content._
|
|
49
|
+
|
|
50
|
+
## Options
|
|
51
|
+
|
|
52
|
+
### Align
|
|
53
|
+
|
|
54
|
+
Section intro can be aligned to the start or center of the page. By default, the section intro is aligned to the start of the page to allow for an image or a visual asset to be positioned on the left. Use the center alignment if the asset is centered, not present, or the scenario calls for it.
|
|
55
|
+
|
|
56
|
+
**✅ Do**
|
|
57
|
+
|
|
58
|
+

|
|
59
|
+
|
|
60
|
+
_Use center alignment if the section intro is paired with a centered image or visual asset._
|
|
61
|
+
|
|
62
|
+
**❌ Don't**
|
|
63
|
+
|
|
64
|
+

|
|
65
|
+
|
|
66
|
+
_Don't use center alignment if the section intro is paired with an image or visual asset aligned to the left._
|
|
67
|
+
|
|
68
|
+
### Emphasized text
|
|
69
|
+
|
|
70
|
+
Section intro allows for only one portion of the heading to be highlighted. Use strategically to highlight key ideas and guide effectively through a story.
|
|
71
|
+
|
|
72
|
+

|
|
73
|
+
|
|
74
|
+
## Related components
|
|
75
|
+
|
|
76
|
+
- [Hero](../Hero/index.md): Use the hero component to render a full-width banner on a webpage.
|
|
77
|
+
- [CTABanner](../CTABanner/index.md): To draw attention to or create urgency around a user action.
|