@primer/react-brand 0.69.1-rc.0a4e5ff5 → 0.70.0-rc.138127ad
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/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 +52 -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 +95 -0
- package/docs/index.md +97 -0
- package/docs/introduction/animation.md +127 -0
- package/docs/introduction/index.md +9 -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/lib/Grid/Grid.d.ts +1 -1
- package/lib/SubNav/SubNav.d.ts +1 -1
- package/lib/Token/Token.d.ts +1 -1
- package/lib/css/main.css +67 -67
- 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/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/llms.txt +95 -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,223 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Bento
|
|
3
|
+
description: Use the bento to present content in a responsive grid layout.
|
|
4
|
+
keywords: ['grid', 'layout', 'responsive', 'container', 'masonry']
|
|
5
|
+
ready: true
|
|
6
|
+
source: https://github.com/primer/brand/blob/main/packages/react/src/Bento/Bento.tsx
|
|
7
|
+
storybook: '/brand/storybook/?path=/story/components-bento--default'
|
|
8
|
+
a11yReviewed: true
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
> This component is deprecated and will be removed in a future release. Use CTA banner or River instead.
|
|
12
|
+
|
|
13
|
+
```js
|
|
14
|
+
import {Bento} from '@primer/react-brand'
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Examples
|
|
18
|
+
|
|
19
|
+
### Default
|
|
20
|
+
|
|
21
|
+
```jsx
|
|
22
|
+
<Box style={{backgroundColor: 'var(--base-color-scale-gray-2)'}} padding="normal">
|
|
23
|
+
<Bento>
|
|
24
|
+
<Bento.Item />
|
|
25
|
+
<Bento.Item />
|
|
26
|
+
<Bento.Item />
|
|
27
|
+
</Bento>
|
|
28
|
+
</Box>
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
### Example layout
|
|
32
|
+
|
|
33
|
+
```jsx
|
|
34
|
+
<Box style={{backgroundColor: 'var(--base-color-scale-gray-2)'}} padding="normal">
|
|
35
|
+
<Bento>
|
|
36
|
+
<Bento.Item columnSpan={12} rowSpan={2} />
|
|
37
|
+
<Bento.Item columnSpan={7} rowSpan={2} />
|
|
38
|
+
<Bento.Item columnSpan={5} rowSpan={2} />
|
|
39
|
+
<Bento.Item columnSpan={12} rowSpan={2} />
|
|
40
|
+
</Bento>
|
|
41
|
+
</Box>
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Dark mode items
|
|
45
|
+
|
|
46
|
+
```jsx
|
|
47
|
+
<Bento>
|
|
48
|
+
<Bento.Item columnSpan={7} rowSpan={2} colorMode="dark" />
|
|
49
|
+
<Bento.Item columnSpan={5} rowSpan={2} colorMode="dark" />
|
|
50
|
+
<Bento.Item columnSpan={12} rowSpan={2} colorMode="dark" />
|
|
51
|
+
<Bento.Item columnSpan={12} rowSpan={2} colorMode="dark" />
|
|
52
|
+
</Bento>
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### Responsive behavior
|
|
56
|
+
|
|
57
|
+
Use `columnSpan`, `rowSpan`, `columnStart`, `rowStart`, `flow`, `verticalAlign`, `horizontalAlign` with an `Object` of breakpoint-specific keys and values corresponding to each type to enable responsive behavior for each of these properties.
|
|
58
|
+
Breakpoints use `min-width`, where it will also apply your chosen `span` value to all larger breakpoints.
|
|
59
|
+
|
|
60
|
+
> Bento items can render in a different source order to what is presented visually. It's important to ensure that the
|
|
61
|
+
> content of each item is self-contained and can be read independently of its adjacent items.
|
|
62
|
+
|
|
63
|
+
```jsx
|
|
64
|
+
<Box style={{backgroundColor: 'var(--base-color-scale-gray-2)'}} padding="normal">
|
|
65
|
+
<Bento>
|
|
66
|
+
<Bento.Item
|
|
67
|
+
columnSpan={{
|
|
68
|
+
xsmall: 12,
|
|
69
|
+
small: 6,
|
|
70
|
+
large: 3,
|
|
71
|
+
}}
|
|
72
|
+
rowSpan={{
|
|
73
|
+
xsmall: 4,
|
|
74
|
+
large: 4,
|
|
75
|
+
}}
|
|
76
|
+
/>
|
|
77
|
+
<Bento.Item
|
|
78
|
+
columnSpan={{
|
|
79
|
+
xsmall: 12,
|
|
80
|
+
small: 6,
|
|
81
|
+
large: 3,
|
|
82
|
+
}}
|
|
83
|
+
rowSpan={{
|
|
84
|
+
xsmall: 4,
|
|
85
|
+
large: 2,
|
|
86
|
+
}}
|
|
87
|
+
/>
|
|
88
|
+
<Bento.Item
|
|
89
|
+
columnSpan={{
|
|
90
|
+
xsmall: 12,
|
|
91
|
+
small: 6,
|
|
92
|
+
large: 6,
|
|
93
|
+
}}
|
|
94
|
+
rowSpan={{
|
|
95
|
+
xsmall: 4,
|
|
96
|
+
large: 4,
|
|
97
|
+
}}
|
|
98
|
+
/>
|
|
99
|
+
<Bento.Item
|
|
100
|
+
columnSpan={{
|
|
101
|
+
xsmall: 12,
|
|
102
|
+
small: 6,
|
|
103
|
+
large: 3,
|
|
104
|
+
}}
|
|
105
|
+
rowSpan={{
|
|
106
|
+
xsmall: 4,
|
|
107
|
+
large: 3,
|
|
108
|
+
}}
|
|
109
|
+
rowStart={{
|
|
110
|
+
large: 5,
|
|
111
|
+
}}
|
|
112
|
+
/>
|
|
113
|
+
<Bento.Item
|
|
114
|
+
columnSpan={{
|
|
115
|
+
xsmall: 12,
|
|
116
|
+
small: 6,
|
|
117
|
+
large: 3,
|
|
118
|
+
}}
|
|
119
|
+
rowSpan={{
|
|
120
|
+
xsmall: 4,
|
|
121
|
+
large: 5,
|
|
122
|
+
}}
|
|
123
|
+
/>
|
|
124
|
+
<Bento.Item
|
|
125
|
+
columnSpan={{
|
|
126
|
+
xsmall: 12,
|
|
127
|
+
small: 6,
|
|
128
|
+
large: 6,
|
|
129
|
+
}}
|
|
130
|
+
rowSpan={{
|
|
131
|
+
xsmall: 4,
|
|
132
|
+
large: 3,
|
|
133
|
+
}}
|
|
134
|
+
/>
|
|
135
|
+
</Bento>
|
|
136
|
+
</Box>
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
#### Responsive flow
|
|
140
|
+
|
|
141
|
+
```jsx
|
|
142
|
+
<Box style={{backgroundColor: 'var(--base-color-scale-gray-2)'}} padding="normal">
|
|
143
|
+
<Bento>
|
|
144
|
+
<Bento.Item
|
|
145
|
+
flow={{
|
|
146
|
+
xsmall: 'row',
|
|
147
|
+
small: 'row',
|
|
148
|
+
medium: 'column',
|
|
149
|
+
}}
|
|
150
|
+
>
|
|
151
|
+
<Bento.Content padding="normal">
|
|
152
|
+
<Bento.Heading as="h3">Heading</Bento.Heading>
|
|
153
|
+
<Link href="#">Call to action</Link>
|
|
154
|
+
</Bento.Content>
|
|
155
|
+
<Bento.Visual>
|
|
156
|
+
<img alt="placeholder, blank area with an gray background color" src="/images/placeholder.png" />
|
|
157
|
+
</Bento.Visual>
|
|
158
|
+
</Bento.Item>
|
|
159
|
+
</Bento>
|
|
160
|
+
</Box>
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
## Component props
|
|
164
|
+
|
|
165
|
+
### Bento
|
|
166
|
+
|
|
167
|
+
| Name | Type | Default | Required | Description |
|
|
168
|
+
| :---------- | :------- | :-----: | :------- | --------------------------------------- |
|
|
169
|
+
| `className` | `string` | | `false` | Sets a custom class on the root element |
|
|
170
|
+
|
|
171
|
+
The `Bento` component API supports all standard HTML attribute props for the interface `HTMLDivElement`.
|
|
172
|
+
|
|
173
|
+
### Bento.Item
|
|
174
|
+
|
|
175
|
+
| Name | Type | Default | Required | Description |
|
|
176
|
+
| :------------------- | :--------------------------------------------------------------------------------------------------------------- | :-------: | :------- | ------------------------------------------------------------------------------------------------------------------------------- |
|
|
177
|
+
| `className` | `string` | | `false` | Sets a custom class on the root element |
|
|
178
|
+
| `children` | `React.ReactNode[]` | | `false` | The children to be rendered within the `Bento.Item` |
|
|
179
|
+
| `columnStart` | `'1' \| '2' \| '3' \| '4' \| '5' \| '6' \| '7' \| '8' \| '9' \| '10' \| '11' \| '12' \| 'ResponsiveColumnIndex'` | | `false` | The column number in which this content should start |
|
|
180
|
+
| `columnSpan` | `'1' \| '2' \| '3' \| '4' \| '5' \| '6' \| '7' \| '8' \| '9' \| '10' \| '11' \| '12' \| 'ResponsiveColumnIndex'` | | `false` | The number of columns this content should span |
|
|
181
|
+
| `rowStart` | `'number' \| 'ResponsiveRowIndex'` | | `false` | The row number in which this content should start |
|
|
182
|
+
| `rowSpan` | `'number' \| 'ResponsiveRowIndex'` | | `false` | The number of rows this content should span |
|
|
183
|
+
| `flow` | `'"row"' \| '"column"' \| 'ResponsiveFlow'` | | `false` | The flow of the `Bento.Content` and `Bento.Visual` within the `Bento.Item` |
|
|
184
|
+
| `colorMode` | `'"light"' \| '"dark"'` | `"light"` | `false` | The color mode specified for this `Bento.Item` |
|
|
185
|
+
| `visualAsBackground` | `boolean` | `false` | `false` | Determines if the `Bento.Visual` child element is set as the background for the `Bento.Item` with the `Bento.Content` overlayed |
|
|
186
|
+
| `order` | `'"default"' \| '"reversed"' \| 'ResponsiveOrder'` | `default` | `false` | Determines the visual order for the `Bento.Item`. This changes the semantic ordering of elements for accessibility. |
|
|
187
|
+
|
|
188
|
+
The `Bento.Item` component API supports all standard HTML attribute props for the interface `HTMLDivElement`, while providing some additional behavior as described above.
|
|
189
|
+
|
|
190
|
+
### Bento.Content
|
|
191
|
+
|
|
192
|
+
| Name | Type | Default | Required | Description |
|
|
193
|
+
| :---------------- | :------------------------------------------------------------------- | :--------: | :------- | --------------------------------------------------------------- |
|
|
194
|
+
| `className` | `string` | | `false` | Sets a custom class on the root element |
|
|
195
|
+
| `children` | `React.ReactNode[]` | | `false` | The children to be rendered within the `Bento.Content` |
|
|
196
|
+
| `leadingVisual` | `ReactElement` | | `false` | Sets the icon before the heading text |
|
|
197
|
+
| `padding` | `'"condensed"' \| '"normal"' \| '"spacious"' \| 'ResponsivePadding'` | `"normal"` | `false` | Sets a custom class on the root element |
|
|
198
|
+
| `horizontalAlign` | `'"start"' \| '"center"' \| '"end"' \| 'ResponsiveAlign'` | `"start"` | `false` | The horizontal alignment of children within the `Bento.Content` |
|
|
199
|
+
| `verticalAlign` | `'"start"' \| '"center"' \| '"end"' \| 'ResponsiveAlign'` | `"start"` | `false` | The vertical alignment of children within the `Bento.Content`. |
|
|
200
|
+
|
|
201
|
+
The `Bento.Content` component API supports all standard HTML attribute props for the interface `HTMLDivElement`, while providing some additional behavior as described above.
|
|
202
|
+
|
|
203
|
+
### Bento.Heading
|
|
204
|
+
|
|
205
|
+
Required node that is used to provide a heading for the `Bento.Content`.
|
|
206
|
+
|
|
207
|
+
| name | type | default | required | description |
|
|
208
|
+
| ----------- | -------------------------- | ----------- | -------- | ----------------------------------------------------- |
|
|
209
|
+
| `className` | `string` | | `false` | Custom class name for the heading component |
|
|
210
|
+
| `children` | `ReactNode`, `ReactNode[]` | `undefined` | `true` | Content to be displayed inside the heading component. |
|
|
211
|
+
|
|
212
|
+
Forwards all props from the [Heading component](../../typography/Heading/index.md), including `as`, `size`, and `weight`.
|
|
213
|
+
|
|
214
|
+
### Bento.Visual
|
|
215
|
+
|
|
216
|
+
| Name | Type | Default | Required | Description |
|
|
217
|
+
| :---------- | :------------------------------------------------------------------- | :---------: | :------- | -------------------------------------------------------------------------------------------------------- |
|
|
218
|
+
| `className` | `string` | | `false` | Sets a custom class on the root element |
|
|
219
|
+
| `fillMedia` | `boolean` | `true` | `false` | Determines how the visual reacts within its container. Either filling the container or contained within. |
|
|
220
|
+
| `position` | `string` | `"50% 50%"` | `false` | The positioning of the visual. |
|
|
221
|
+
| `padding` | `'"condensed"' \| '"normal"' \| '"spacious"' \| 'ResponsivePadding'` | | `false` | Sets a custom class on the root element |
|
|
222
|
+
|
|
223
|
+
The `Bento.Visual` component API supports all standard HTML attribute props for the interface `HTMLDivElement`, while providing some additional behavior as described above.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Breadcrumbs
|
|
3
|
+
description: Breadcrumbs display the current page within the site's hierarchy, allowing users to easily navigate to a different level.
|
|
4
|
+
keywords: ['navigation']
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Anatomy
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
Use breadcrumbs to display a user's path within a site's hierarchy, helping them understand their location and easily navigate back to higher-level pages, especially on sites with deep structures.
|
|
12
|
+
|
|
13
|
+
Breadcrumbs are most appropriate on pages that:
|
|
14
|
+
|
|
15
|
+
- Are missing section-level navigation elements E.g. [SubNav](../SubNav/index.md)
|
|
16
|
+
- Need to surface contextually-relevant content through its parent page(s)
|
|
17
|
+
|
|
18
|
+
### Placement
|
|
19
|
+
|
|
20
|
+
Place breadcrumbs at the top of the page, below the header and any navigation bar, to ensure they are immediately visible and accessible to users as they begin navigating the page.
|
|
21
|
+
|
|
22
|
+
Align breadcrumbs with the main content area to maintain a consistent and orderly layout, helping users easily associate the breadcrumbs with the content they are navigating.
|
|
23
|
+
|
|
24
|
+
Use consistent placement across all pages of the site so that users can rely on breadcrumbs as a stable navigation tool.
|
|
25
|
+
|
|
26
|
+
## Accessibility
|
|
27
|
+
|
|
28
|
+
Ensure that the text of each individual Breadcrumb item fits entirely within a 320px wide viewport. Failure to do this violates [WCAG 1.4.10 Reflow](https://github.com/github/accessibility-audit-guide/blob/main/web/WCAG/1.4.10%20Reflow.md).
|
|
29
|
+
|
|
30
|
+
**✅ Do**
|
|
31
|
+
|
|
32
|
+
_Use short Breadcrumb item names to ensure they fit within a 320px wide viewport._
|
|
33
|
+
|
|
34
|
+
**❌ Don't**
|
|
35
|
+
|
|
36
|
+
_Don't allow Breadcrumb item names to overflow the 320px wide viewport, as this violates WCAG 1.4.10 Reflow\._
|
|
37
|
+
|
|
38
|
+
## Options
|
|
39
|
+
|
|
40
|
+
### Variants
|
|
41
|
+
|
|
42
|
+
The breadcrumbs component is available in two variants:
|
|
43
|
+
|
|
44
|
+
- The default variant uses the standard text color, positioning the navigation as a secondary element on the page. This is suitable for most scenarios.
|
|
45
|
+
- The accent variant emphasizes parent links with an accent color. This variant should should be reserved for pages where the breadcrumbs are essential for navigation.
|
|
46
|
+
|
|
47
|
+
## Related components
|
|
48
|
+
|
|
49
|
+
- [Anchor nav](../AnchorNav/index.md): To display navigation for different sections of a page.
|
|
50
|
+
- [Pagination](../Pagination/index.md): To display navigation for content that is split into sequential pages.
|
|
51
|
+
- [Sub nav](../SubNav/index.md): To display the secondary navigation of a site.
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Breadcrumbs
|
|
3
|
+
description: Breadcrumbs display the current page within the site's hierarchy, allowing users to easily navigate to a different level.
|
|
4
|
+
keywords: ['navigation']
|
|
5
|
+
ready: true
|
|
6
|
+
source: https://github.com/primer/brand/blob/main/packages/react/src/Breadcrumbs/Breadcrumbs.tsx
|
|
7
|
+
storybook: '/brand/storybook/?path=/story/components-breadcrumbs--playground'
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
```js
|
|
11
|
+
import {Breadcrumbs} from '@primer/react-brand'
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Examples
|
|
15
|
+
|
|
16
|
+
### Default
|
|
17
|
+
|
|
18
|
+
```jsx
|
|
19
|
+
<Breadcrumbs>
|
|
20
|
+
<Breadcrumbs.Item href="/">Resources</Breadcrumbs.Item>
|
|
21
|
+
<Breadcrumbs.Item href="/copilot">GitHub Copilot</Breadcrumbs.Item>
|
|
22
|
+
<Breadcrumbs.Item href="/copilot/chat" selected>
|
|
23
|
+
Chat
|
|
24
|
+
</Breadcrumbs.Item>
|
|
25
|
+
</Breadcrumbs>
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### Accent
|
|
29
|
+
|
|
30
|
+
```jsx
|
|
31
|
+
<Breadcrumbs variant="accent">
|
|
32
|
+
<Breadcrumbs.Item href="/">Resources</Breadcrumbs.Item>
|
|
33
|
+
<Breadcrumbs.Item href="/copilot">GitHub Copilot</Breadcrumbs.Item>
|
|
34
|
+
<Breadcrumbs.Item href="/copilot/chat" selected>
|
|
35
|
+
Chat
|
|
36
|
+
</Breadcrumbs.Item>
|
|
37
|
+
</Breadcrumbs>
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Component props
|
|
41
|
+
|
|
42
|
+
### Breadcrumbs `Required`
|
|
43
|
+
|
|
44
|
+
| name | type | default | required | description |
|
|
45
|
+
| --------- | -------------------- | ------- | -------- | ----------------------------------------- |
|
|
46
|
+
| `variant` | `BreadcrumbVariants` | | `false` | Specify alternative breadcrumb appearance |
|
|
47
|
+
|
|
48
|
+
### Breadcrumbs.Item `Required`
|
|
49
|
+
|
|
50
|
+
| name | type | default | required | description |
|
|
51
|
+
| ---------- | --------- | ------- | -------- | ----------------------------------- |
|
|
52
|
+
| `selected` | `boolean` | | `false` | Used for indicating the active link |
|
|
53
|
+
| `href` | `string` | | `true` | URL of the page the link goes to |
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Breakout banner
|
|
3
|
+
description: Use a breakout banner to break up content on longer pages and highlight important information.
|
|
4
|
+
keywords: ['banner', 'promo', 'callout', 'attention', 'highlight']
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
Use breakout banners to promote important information and actions in-between blocks of content.
|
|
8
|
+
Whereas the CTA banner is intended to redirect users to their respective conversion outlets, links in the breakout banner should only cross-link to supporting content.
|
|
9
|
+
|
|
10
|
+
## Anatomy
|
|
11
|
+
|
|
12
|
+
## Usage
|
|
13
|
+
|
|
14
|
+
Breakout banners should be used in the middle of a page to break up long blocks of content. Avoid using the breakout banner at the beginning or towards the end of a page.
|
|
15
|
+
|
|
16
|
+
**✅ Do**
|
|
17
|
+
|
|
18
|
+
_Use breakout banners to break up longer pages._
|
|
19
|
+
|
|
20
|
+
**❌ Don't**
|
|
21
|
+
|
|
22
|
+
_Don't use the breakout banner too early or late in the page (E.g. near the footer). Prefer CTA banner in case of
|
|
23
|
+
the latter. Also avoid placing the breakout banner too close to related components like the CTA banner._
|
|
24
|
+
|
|
25
|
+
### Alignment
|
|
26
|
+
|
|
27
|
+
The breakout banner content can be aligned to the start or center of the parent element, with the former being the default. Use the center alignment if context calls for it.
|
|
28
|
+
E.g. Use center alignment if the breakout banner is placed between two sections that are also centered aligned to avoid breaking the visual flow.
|
|
29
|
+
|
|
30
|
+
**✅ Do**
|
|
31
|
+
|
|
32
|
+
_Use start alignment when possible._
|
|
33
|
+
|
|
34
|
+
**❌ Don't**
|
|
35
|
+
|
|
36
|
+
_Don't use start alignment when adjacent content is center aligned._
|
|
37
|
+
|
|
38
|
+
### Use sparingly
|
|
39
|
+
|
|
40
|
+
Breakout banners should be used sparingly, at most once per page. This is to avoid diluting the impact of the spotlighted content or links in the context of the wider page.
|
|
41
|
+
|
|
42
|
+
**✅ Do**
|
|
43
|
+
|
|
44
|
+
_Use breakout banner sparingly._
|
|
45
|
+
|
|
46
|
+
**❌ Don't**
|
|
47
|
+
|
|
48
|
+
_Don't stack multiple breakout banners, prefer Bento instead._
|
|
49
|
+
|
|
50
|
+
### Use concise headings
|
|
51
|
+
|
|
52
|
+
Both heading and optional descriptions in the breakout banner should be short and focussed. Heading should be not be longer than 3 lines, and description should be no longer than 3-4 lines.
|
|
53
|
+
|
|
54
|
+
**✅ Do**
|
|
55
|
+
|
|
56
|
+
_Use concise, but impactful heading and description text._
|
|
57
|
+
|
|
58
|
+
**❌ Don't**
|
|
59
|
+
|
|
60
|
+
_Don't use longer form content in the heading or description. Consider using Bento as an alternative._
|
|
61
|
+
|
|
62
|
+
### Background visuals
|
|
63
|
+
|
|
64
|
+
Background images should be abstract and low fidelity to not compete with the foreground text.
|
|
65
|
+
|
|
66
|
+
**✅ Do**
|
|
67
|
+
|
|
68
|
+
_Use approved wallpapers that provide space and contrast with the foreground text._
|
|
69
|
+
|
|
70
|
+
**❌ Don't**
|
|
71
|
+
|
|
72
|
+
_Don't use images of people's faces, real objects, etc._
|
|
73
|
+
|
|
74
|
+
### Leading visuals
|
|
75
|
+
|
|
76
|
+
**✅ Do**
|
|
77
|
+
|
|
78
|
+
_Use logos or icons that are related to the adjacent banner content._
|
|
79
|
+
|
|
80
|
+
**❌ Don't**
|
|
81
|
+
|
|
82
|
+
_Don't use decorative imagery as a leading visual. Use the background image to apply decoration._
|
|
83
|
+
|
|
84
|
+
**✅ Do**
|
|
85
|
+
|
|
86
|
+
_Use monochrome colors, which correspond to the text color of the current, active color mode._
|
|
87
|
+
|
|
88
|
+
**❌ Don't**
|
|
89
|
+
|
|
90
|
+
_Don't use full color visuals._
|
|
91
|
+
|
|
92
|
+
## Accessibility
|
|
93
|
+
|
|
94
|
+
- Ensure proper color contrast between text and background
|
|
95
|
+
- Make sure leading visuals include proper aria labels
|
|
96
|
+
- Use semantic heading elements with appropriate heading levels
|
|
97
|
+
- Ensure links have descriptive text that makes sense out of context
|
|
98
|
+
|
|
99
|
+
## Related components
|
|
100
|
+
|
|
101
|
+
- [CTABanner](../CTABanner/index.md): To highlight important information and actions towards the end of a page
|
|
102
|
+
- [Bento](../Bento/index.md): For more complex layout needs when presenting multiple content blocks
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Breakout banner
|
|
3
|
+
description: Use a breakout banner to break up content on longer pages and highlight important information.
|
|
4
|
+
keywords: ['banner', 'promo', 'callout', 'attention', 'highlight']
|
|
5
|
+
source: https://github.com/primer/brand/blob/main/packages/react/src/BreakoutBanner/BreakoutBanner.tsx
|
|
6
|
+
storybook: '/brand/storybook/?path=/story/components-breakoutbanner--playground'
|
|
7
|
+
ready: true
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
```js
|
|
11
|
+
import {BreakoutBanner} from '@primer/react-brand'
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Examples
|
|
15
|
+
|
|
16
|
+
### Default
|
|
17
|
+
|
|
18
|
+
```jsx
|
|
19
|
+
<BreakoutBanner>
|
|
20
|
+
<BreakoutBanner.Heading>Where the most ambitious teams build great things</BreakoutBanner.Heading>
|
|
21
|
+
<BreakoutBanner.LinkGroup>
|
|
22
|
+
<Link href="#">Primary action</Link>
|
|
23
|
+
</BreakoutBanner.LinkGroup>
|
|
24
|
+
</BreakoutBanner>
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
### Optional description
|
|
28
|
+
|
|
29
|
+
```jsx
|
|
30
|
+
<BreakoutBanner>
|
|
31
|
+
<BreakoutBanner.Heading>Where the most ambitious teams build great things</BreakoutBanner.Heading>
|
|
32
|
+
<BreakoutBanner.Description>
|
|
33
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sapien sit ullamcorper id. Aliquam luctus sed turpis
|
|
34
|
+
felis nam pulvinar risus elementum.
|
|
35
|
+
</BreakoutBanner.Description>
|
|
36
|
+
<BreakoutBanner.LinkGroup>
|
|
37
|
+
<Link href="#">Primary action</Link>
|
|
38
|
+
</BreakoutBanner.LinkGroup>
|
|
39
|
+
</BreakoutBanner>
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Additional action
|
|
43
|
+
|
|
44
|
+
```jsx
|
|
45
|
+
<BreakoutBanner>
|
|
46
|
+
<BreakoutBanner.Heading>Where the most ambitious teams build great things</BreakoutBanner.Heading>
|
|
47
|
+
<BreakoutBanner.LinkGroup>
|
|
48
|
+
<Link href="#">Primary action</Link>
|
|
49
|
+
<Link href="#">Secondary action</Link>
|
|
50
|
+
</BreakoutBanner.LinkGroup>
|
|
51
|
+
</BreakoutBanner>
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
### Vertically stacked actions
|
|
55
|
+
|
|
56
|
+
```jsx
|
|
57
|
+
<BreakoutBanner>
|
|
58
|
+
<BreakoutBanner.Heading>Where the most ambitious teams build great things</BreakoutBanner.Heading>
|
|
59
|
+
<BreakoutBanner.LinkGroup direction="vertical">
|
|
60
|
+
<Link href="#">Primary action</Link>
|
|
61
|
+
<Link href="#">Secondary action</Link>
|
|
62
|
+
</BreakoutBanner.LinkGroup>
|
|
63
|
+
</BreakoutBanner>
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### Alignment
|
|
67
|
+
|
|
68
|
+
The content alignment can be changed using the `align` prop on the root `BreakoutBanner`. This can be configured to either `start` or `center`.
|
|
69
|
+
|
|
70
|
+
```jsx
|
|
71
|
+
<BreakoutBanner align="center">
|
|
72
|
+
<BreakoutBanner.Heading>Where the most ambitious teams build great things</BreakoutBanner.Heading>
|
|
73
|
+
<BreakoutBanner.Description>
|
|
74
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sapien sit ullamcorper id. Aliquam luctus sed turpis
|
|
75
|
+
felis nam pulvinar risus elementum.
|
|
76
|
+
</BreakoutBanner.Description>
|
|
77
|
+
<BreakoutBanner.LinkGroup>
|
|
78
|
+
<Link href="#">Primary action</Link>
|
|
79
|
+
<Link href="#">Secondary action</Link>
|
|
80
|
+
</BreakoutBanner.LinkGroup>
|
|
81
|
+
</BreakoutBanner>
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### Leading visual
|
|
85
|
+
|
|
86
|
+
> An accessible label should always be provided for the leading visual.
|
|
87
|
+
|
|
88
|
+
```jsx
|
|
89
|
+
<BreakoutBanner leadingVisual={<LogoGithubIcon size="medium" aria-label="GitHub logo" />}>
|
|
90
|
+
<BreakoutBanner.Heading>Where the most ambitious teams build great things</BreakoutBanner.Heading>
|
|
91
|
+
<BreakoutBanner.LinkGroup>
|
|
92
|
+
<Link href="#">Primary action</Link>
|
|
93
|
+
</BreakoutBanner.LinkGroup>
|
|
94
|
+
</BreakoutBanner>
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
### Optional background image
|
|
98
|
+
|
|
99
|
+
```jsx
|
|
100
|
+
<ThemeProvider colorMode="dark">
|
|
101
|
+
<BreakoutBanner
|
|
102
|
+
backgroundImageSrc={{
|
|
103
|
+
narrow: 'https://github.com/user-attachments/assets/a28110fd-d019-41a4-8f80-b49ae8895708',
|
|
104
|
+
regular: 'https://github.com/user-attachments/assets/a28110fd-d019-41a4-8f80-b49ae8895708',
|
|
105
|
+
wide: 'https://github.com/user-attachments/assets/a28110fd-d019-41a4-8f80-b49ae8895708',
|
|
106
|
+
}}
|
|
107
|
+
>
|
|
108
|
+
<BreakoutBanner.Heading>Where the most ambitious teams build great things</BreakoutBanner.Heading>
|
|
109
|
+
<BreakoutBanner.LinkGroup>
|
|
110
|
+
<Link href="#">Primary action</Link>
|
|
111
|
+
</BreakoutBanner.LinkGroup>
|
|
112
|
+
</BreakoutBanner>
|
|
113
|
+
</ThemeProvider>
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
### Optional background color
|
|
117
|
+
|
|
118
|
+
```jsx
|
|
119
|
+
<BreakoutBanner backgroundColor="var(--base-color-scale-blue-0)">
|
|
120
|
+
<BreakoutBanner.Heading>Where the most ambitious teams build great things</BreakoutBanner.Heading>
|
|
121
|
+
<BreakoutBanner.Description>
|
|
122
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sapien sit ullamcorper id. Aliquam luctus sed turpis
|
|
123
|
+
felis nam pulvinar risus elementum.
|
|
124
|
+
</BreakoutBanner.Description>
|
|
125
|
+
<BreakoutBanner.LinkGroup>
|
|
126
|
+
<Link href="#">Primary action</Link>
|
|
127
|
+
<Link href="#">Secondary action</Link>
|
|
128
|
+
</BreakoutBanner.LinkGroup>
|
|
129
|
+
</BreakoutBanner>
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
## Component props
|
|
133
|
+
|
|
134
|
+
### BreakoutBanner `Required`
|
|
135
|
+
|
|
136
|
+
| name | type | default | required | description |
|
|
137
|
+
| ------------------------- | ------------------------------------------------------ | ----------- | -------- | ---------------------------------------------------------------- |
|
|
138
|
+
| `children` | `ReactNode`, `ReactNode[]` | `undefined` | `true` | Content to include within the banner component |
|
|
139
|
+
| `align` | `'start' \| 'center'` | `'start'` | `true` | The horizontal positioning of content wihin the banner component |
|
|
140
|
+
| `backgroundColor` | `'default' \| 'subtle' \| 'string' \| 'ResponsiveMap'` | `'subtle'` | `false` | Optional, custom background color |
|
|
141
|
+
| `backgroundImageSrc` | `'string' \| 'ResponsiveMap'` | `undefined` | `false` | Optional, custom background image |
|
|
142
|
+
| `backgroundImagePosition` | `'string' \| 'ResponsiveMap'` | `'center'` | `false` | Optional, custom background position |
|
|
143
|
+
| `backgroundImageSize` | `'string' \| 'ResponsiveMap'` | `'cover'` | `false` | Optional, custom background position size |
|
|
144
|
+
| `leadingVisual` | `ReactElement`, `Icon` | `undefined` | `false` | An optional leading visual that appears before the heading |
|
|
145
|
+
|
|
146
|
+
### BreakoutBanner.Heading `Required`
|
|
147
|
+
|
|
148
|
+
| name | type | default | required | description |
|
|
149
|
+
| ---------- | ---------------------------------------------- | ----------- | -------- | --------------------------------------------------------------------- |
|
|
150
|
+
| `children` | `ReactNode`, `ReactNode[]` | `undefined` | `true` | Content to be displayed inside the `BreakoutBanner.Heading` component |
|
|
151
|
+
| `as` | `'h1' \| 'h2' \| 'h3' \| 'h4' \| 'h5' \| 'h6'` | `'h3'` | `false` | Heading level |
|
|
152
|
+
| `size` | `'1' \| '2' \| '3' \| '4' \| '5' \| '6'` | `'4'` | `false` | Visual heading size, irrespective of level |
|
|
153
|
+
|
|
154
|
+
### BreakoutBanner.Description
|
|
155
|
+
|
|
156
|
+
Optional child that can be used to provide additional information.
|
|
157
|
+
|
|
158
|
+
| name | type | default | required | description |
|
|
159
|
+
| ---------- | -------------------------- | ----------- | -------- | --------------------------------------------------- |
|
|
160
|
+
| `children` | `ReactNode`, `ReactNode[]` | `undefined` | `true` | Content to be displayed inside the banner component |
|
|
161
|
+
|
|
162
|
+
### BreakoutBanner.LinkGroup
|
|
163
|
+
|
|
164
|
+
| name | type | default | required | description |
|
|
165
|
+
| ----------- | ----------------------------------------------- | -------------- | -------- | -------------------------------------------- |
|
|
166
|
+
| `children` | `Link` | `undefined` | `true` | The links to be displayed within the group |
|
|
167
|
+
| `direction` | `'horizontal' \| 'vertical' \| 'ResponsiveMap'` | `'horizontal'` | `false` | Positioning of the links across x and y axis |
|
|
168
|
+
|
|
169
|
+
All components forward `id`, `className` and `ref` by default
|
|
170
|
+
|
|
171
|
+
## Related components
|
|
172
|
+
|
|
173
|
+
- [CTABanner](../CTABanner/index.md): For highlighting important information and actions towards the end of a page
|
|
174
|
+
- [Bento](../Bento/index.md): For more complex layout needs when presenting multiple content blocks
|