@primer/react-brand 0.69.1-rc.9dc041db → 0.70.0-rc.4599efb5
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/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/lib/Grid/Grid.d.ts +1 -1
- package/lib/Hero/HeroContext.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 +68 -69
- 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/lib/index.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,240 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Card
|
|
3
|
+
description: Use the card component to display information in a compact way and link to other internal pages.
|
|
4
|
+
keywords: ['card', 'link', 'summary', 'content', 'information']
|
|
5
|
+
ready: true
|
|
6
|
+
source: https://github.com/primer/brand/blob/main/packages/react/src/Card/Card.tsx
|
|
7
|
+
storybook: '/brand/storybook/?path=/story/components-card--playground'
|
|
8
|
+
a11yReviewed: true
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
```js
|
|
12
|
+
import {Avatar, Box, Card, Grid, Token} from '@primer/react-brand'
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Examples
|
|
16
|
+
|
|
17
|
+
### Default
|
|
18
|
+
|
|
19
|
+
The default card displays a heading and description. The link text defaults to `Learn more`, but can be customized using the `ctaText` prop.
|
|
20
|
+
|
|
21
|
+
```jsx
|
|
22
|
+
<Card href="https://github.com">
|
|
23
|
+
<Card.Heading>Collaboration is the key to DevOps success</Card.Heading>
|
|
24
|
+
<Card.Description>Everything you need to know about getting started with GitHub Actions.</Card.Description>
|
|
25
|
+
</Card>
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### Minimal
|
|
29
|
+
|
|
30
|
+
The `minimal` card variant applies alternative presentation to the default card.
|
|
31
|
+
|
|
32
|
+
```jsx
|
|
33
|
+
<Card href="https://github.com" variant="minimal">
|
|
34
|
+
<Card.Heading>Collaboration is the key to DevOps success</Card.Heading>
|
|
35
|
+
<Card.Description>Everything you need to know about getting started with GitHub Actions.</Card.Description>
|
|
36
|
+
</Card>
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### CTA text
|
|
40
|
+
|
|
41
|
+
The call to action text defaults to `Learn more` and can be customized using the `ctaText` property.
|
|
42
|
+
|
|
43
|
+
```jsx
|
|
44
|
+
<Card ctaText="Discover how" href="https://github.com">
|
|
45
|
+
<Card.Heading>Collaboration is the key to DevOps success</Card.Heading>
|
|
46
|
+
<Card.Description>Everything you need to know about getting started with GitHub Actions.</Card.Description>
|
|
47
|
+
</Card>
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Use `ctaVariant="none"` when the card should remain fully clickable without visible CTA text or arrow.
|
|
51
|
+
|
|
52
|
+
```jsx
|
|
53
|
+
<Card href="https://github.com" ctaVariant="none">
|
|
54
|
+
<Card.Heading>Collaboration is the key to DevOps success</Card.Heading>
|
|
55
|
+
<Card.Description>Everything you need to know about getting started with GitHub Actions.</Card.Description>
|
|
56
|
+
</Card>
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### Arrow CTA
|
|
60
|
+
|
|
61
|
+
Use `ctaVariant="arrow"` when the card should present an icon-only call to action instead of the default text-plus-arrow treatment.
|
|
62
|
+
|
|
63
|
+
```jsx
|
|
64
|
+
<Card href="https://github.com" ctaVariant="arrow">
|
|
65
|
+
<Card.Heading>Collaboration is the key to DevOps success</Card.Heading>
|
|
66
|
+
<Card.Description>Everything you need to know about getting started with GitHub Actions.</Card.Description>
|
|
67
|
+
</Card>
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
### Border
|
|
71
|
+
|
|
72
|
+
A border can be provided using the `hasBorder` prop. This will render a border around the Card component giving further separation between the foreground and background. Especially when there is no shadow present on the background.
|
|
73
|
+
|
|
74
|
+
```jsx
|
|
75
|
+
<Card href="https://github.com" hasBorder>
|
|
76
|
+
<Card.Heading>Code search & code view</Card.Heading>
|
|
77
|
+
<Card.Description>
|
|
78
|
+
Enables you to rapidly search, navigate, and understand code, right from GitHub.com.
|
|
79
|
+
</Card.Description>
|
|
80
|
+
</Card>
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
### Icon
|
|
84
|
+
|
|
85
|
+
You can add an `icon` to enhance the visual context. We recommend using an [Octicon](https://primer.style/design/foundations/icons). The `Icon` can be customized using the `color` prop and used with or without a background color by using the `hasBackground` prop.
|
|
86
|
+
Use `Card.Tokens` to display one or more [Token](../Token/index.md) components below the description. The heading and description still render before the tokens in the DOM, so the reading order stays aligned with the visual order.
|
|
87
|
+
|
|
88
|
+
```jsx
|
|
89
|
+
<Card href="https://github.com">
|
|
90
|
+
<Card.Icon icon={CopilotIcon} hasBackground />
|
|
91
|
+
<Card.Heading>Code search & code view</Card.Heading>
|
|
92
|
+
<Card.Description>
|
|
93
|
+
Enables you to rapidly search, navigate, and understand code, right from GitHub.com.
|
|
94
|
+
</Card.Description>
|
|
95
|
+
</Card>
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### Label
|
|
99
|
+
|
|
100
|
+
Use `Card.Label` to display a short label above the heading. It renders a `Token` by default. Use
|
|
101
|
+
`variant="accent-text"` for eyebrow-style copy.
|
|
102
|
+
|
|
103
|
+
```jsx
|
|
104
|
+
<Card href="https://github.com" ctaVariant="arrow">
|
|
105
|
+
<Card.Label>GitHub Copilot</Card.Label>
|
|
106
|
+
<Card.Heading>Bring the power of generative AI to engineering teams.</Card.Heading>
|
|
107
|
+
<Card.Description>Prioritize speed, depth, or cost by picking the industry-leading model for you.</Card.Description>
|
|
108
|
+
</Card>
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
```jsx
|
|
112
|
+
<Card href="https://github.com" ctaVariant="arrow">
|
|
113
|
+
<Card.Label variant="accent-text">GitHub Copilot</Card.Label>
|
|
114
|
+
<Card.Heading>Bring the power of generative AI to engineering teams.</Card.Heading>
|
|
115
|
+
<Card.Description>Prioritize speed, depth, or cost by picking the industry-leading model for you.</Card.Description>
|
|
116
|
+
</Card>
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
### Image
|
|
120
|
+
|
|
121
|
+
Use the `Image` component to add an image to the `Card`. The `Image` component is optional and provides a visual context to the `Card`.
|
|
122
|
+
|
|
123
|
+
```jsx
|
|
124
|
+
<>
|
|
125
|
+
<Card href="https://github.com">
|
|
126
|
+
<Card.Image src="/images/placeholder.png" alt="placeholder, blank area with an gray background color" />
|
|
127
|
+
<Card.Heading>Code search & code view</Card.Heading>
|
|
128
|
+
<Card.Description>
|
|
129
|
+
Enables you to rapidly search, navigate, and understand code, right from GitHub.com.
|
|
130
|
+
</Card.Description>
|
|
131
|
+
</Card>
|
|
132
|
+
<Card href="https://github.com">
|
|
133
|
+
<Card.Image
|
|
134
|
+
position="block-end"
|
|
135
|
+
src="/images/placeholder.png"
|
|
136
|
+
alt="placeholder, blank area with an gray background color"
|
|
137
|
+
/>
|
|
138
|
+
<Card.Heading>Code search & code view</Card.Heading>
|
|
139
|
+
<Card.Description>
|
|
140
|
+
Enables you to rapidly search, navigate, and understand code, right from GitHub.com.
|
|
141
|
+
</Card.Description>
|
|
142
|
+
</Card>
|
|
143
|
+
</>
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
### Tokens
|
|
147
|
+
|
|
148
|
+
Use `Card.Tokens` to display more than one [Token](../Token/index.md).
|
|
149
|
+
|
|
150
|
+
```jsx
|
|
151
|
+
<>
|
|
152
|
+
<Card href="https://github.com">
|
|
153
|
+
<Card.Image src="/images/placeholder-1.png" alt="Abstract blue and green gradient illustration" />
|
|
154
|
+
<Card.Heading>Leading tokens</Card.Heading>
|
|
155
|
+
<Card.Description>
|
|
156
|
+
Today, we're shipping improvements to Dependabot alerts that make them easier to understand and remediate.
|
|
157
|
+
</Card.Description>
|
|
158
|
+
<Card.Tokens position="block-end">
|
|
159
|
+
<Token leadingVisual={<Avatar src="/images/avatar-mona.png" alt="Mona Lisa" size={32} />}>Mona Lisa</Token>
|
|
160
|
+
<Token variant="outline">DEC.25</Token>
|
|
161
|
+
</Card.Tokens>
|
|
162
|
+
</Card>
|
|
163
|
+
<Card href="https://github.com">
|
|
164
|
+
<Card.Image src="/images/placeholder-2.png" alt="Abstract blue and green gradient illustration" />
|
|
165
|
+
<Card.Tokens>
|
|
166
|
+
<Token leadingVisual={<Avatar src="/images/avatar-mona.png" alt="Mona Lisa" size={32} />}>Mona Lisa</Token>
|
|
167
|
+
<Token variant="outline">DEC.25</Token>
|
|
168
|
+
</Card.Tokens>
|
|
169
|
+
<Card.Heading>Trailing tokens</Card.Heading>
|
|
170
|
+
<Card.Description>
|
|
171
|
+
Today, we're shipping improvements to Dependabot alerts that make them easier to understand and remediate.
|
|
172
|
+
</Card.Description>
|
|
173
|
+
</Card>
|
|
174
|
+
</>
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
## Component props
|
|
178
|
+
|
|
179
|
+
### Card `Required`
|
|
180
|
+
|
|
181
|
+
| name | type | default | required | description |
|
|
182
|
+
| ------------------ | --------------------------------- | ------------ | -------- | ---------------------------------------------------------------- |
|
|
183
|
+
| `align` | | `'start'` | `false` | Aligns the card content |
|
|
184
|
+
| `backgroundColor` | `'default' \| 'subtle' \| 'none'` | `'default'` | `false` | Optional background color override for the card |
|
|
185
|
+
| `ctaText` | `string` | `Learn more` | `false` | Label of the link at the bottom of the card |
|
|
186
|
+
| `ctaVariant` | `'text' \| 'arrow' \| 'none'` | `'text'` | `false` | Presentation of the call-to-action area |
|
|
187
|
+
| `disableAnimation` | `boolean` | `false` | `false` | A flag to disable the default hover animation effect of the card |
|
|
188
|
+
| `fullWidth` | `boolean` | `false` | `false` | A flag to optionally fill the width of the parent container |
|
|
189
|
+
| `hasBorder` | `boolean` | `false` | `false` | A flag used to provide a border to the card |
|
|
190
|
+
| `href` | `string` | | `true` | URL to the card content |
|
|
191
|
+
| `leadingVisual` | `ReactElement` | | `false` | Logo or brand mark shown above the card content |
|
|
192
|
+
| `variant` | `'default' \| 'minimal'` | `'default'` | `false` | The variant of the card |
|
|
193
|
+
|
|
194
|
+
### Card.Image
|
|
195
|
+
|
|
196
|
+
Forwards all the props from the [Image component](../Image/index.md), including `src`, `alt`, and `aspectRatio`.
|
|
197
|
+
|
|
198
|
+
### Card.Icon
|
|
199
|
+
|
|
200
|
+
| name | type | default | required | description |
|
|
201
|
+
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------- | -------- | -------------------------------------------- |
|
|
202
|
+
| `icon` | `React.Node` | | `true` | Octicon |
|
|
203
|
+
| `color` | `'default' \| 'subtle' \| 'accent' \| 'success' \| 'attention' \| 'severe' \| 'danger' \| 'open' \| 'closed' \| 'done' \| 'sponsors' \| 'blue' \| 'green' \| 'yellow' \| 'orange' \| 'red' \| 'purple' \| 'pink' \| 'coral' \| 'lime' \| 'indigo' \| 'teal'` | `default` | `false` | The color of the icon |
|
|
204
|
+
| `hasBackground` | `boolean` | `false` | `false` | Adds a filled colored background to the icon |
|
|
205
|
+
|
|
206
|
+
### Card.Label
|
|
207
|
+
|
|
208
|
+
| name | type | default | required | description |
|
|
209
|
+
| ---------- | -------------------------- | ------- | -------- | ------------------------------------------- |
|
|
210
|
+
| `children` | `ReactNode`, `ReactNode[]` | | `true` | Label content rendered above the heading |
|
|
211
|
+
| `variant` | `'token' \| 'accent-text'` | `token` | `false` | Presentation of the label above the heading |
|
|
212
|
+
|
|
213
|
+
Forwards common span props such as `className`, `id`, and `ref`. `variant="token"` renders a
|
|
214
|
+
[Token](../Token/index.md), and `variant="accent-text"` renders EyebrowText
|
|
215
|
+
with its accent presentation.
|
|
216
|
+
|
|
217
|
+
### Card.Tokens
|
|
218
|
+
|
|
219
|
+
| name | type | default | required | description |
|
|
220
|
+
| ---------- | ------------------------------ | ------------- | -------- | -------------------------------------------------------------- |
|
|
221
|
+
| `children` | `ReactNode`, `ReactNode[]` | | `true` | Tokens rendered inside the card |
|
|
222
|
+
| `position` | `'block-start' \| 'block-end'` | `block-start` | `false` | Places tokens at block-start or block-end relative to the copy |
|
|
223
|
+
|
|
224
|
+
### Card.Heading
|
|
225
|
+
|
|
226
|
+
| name | type | default | required | description |
|
|
227
|
+
| ----------- | -------------------------------------- | ----------- | -------- | ---------------------------------------------------- |
|
|
228
|
+
| `as` | `'h2' \| 'h3' \| 'h4' \| 'h5' \| 'h6'` | `h3` | `false` | The HTML tag to use for the heading |
|
|
229
|
+
| `className` | `string` | | `false` | Custom class name for the heading component |
|
|
230
|
+
| `children` | `ReactNode`, `ReactNode[]` | `undefined` | `true` | Content to be displayed inside the heading component |
|
|
231
|
+
|
|
232
|
+
Forwards all the props from the [Heading component](../../typography/Heading/index.md), including `as`, `size`, and `weight`.
|
|
233
|
+
|
|
234
|
+
### Card.Description
|
|
235
|
+
|
|
236
|
+
| name | type | default | required | description |
|
|
237
|
+
| ---------- | -------------------------- | ----------- | -------- | ------------------------------------------------- |
|
|
238
|
+
| `children` | `ReactNode`, `ReactNode[]` | `undefined` | `true` | Content to be displayed inside the card component |
|
|
239
|
+
|
|
240
|
+
`id`, `className` and `ref` are forwarded by default to all children.
|
|
@@ -0,0 +1,381 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Comparison table
|
|
3
|
+
ready: true
|
|
4
|
+
figma: https://www.figma.com/file/BJ95AjraesmRCWsKA013GS/Primer-Brand?node-id=375%3A8130
|
|
5
|
+
source: https://github.com/primer/brand/blob/main/packages/react/src/ComparisonTable/ComparisonTable.tsx
|
|
6
|
+
storybook: '/brand/storybook/?path=/story/components-comparisontable--playground'
|
|
7
|
+
description: Use the comparison table component to compare two products or features in a table format.
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
```js
|
|
11
|
+
import {ComparisonTable} from '@primer/react-brand'
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Examples
|
|
15
|
+
|
|
16
|
+
### Default
|
|
17
|
+
|
|
18
|
+
```jsx
|
|
19
|
+
<ComparisonTable>
|
|
20
|
+
<ComparisonTable.Row>
|
|
21
|
+
<ComparisonTable.Cell>Use case</ComparisonTable.Cell>
|
|
22
|
+
<ComparisonTable.Cell>GitHub</ComparisonTable.Cell>
|
|
23
|
+
<ComparisonTable.Cell>Jenkins</ComparisonTable.Cell>
|
|
24
|
+
</ComparisonTable.Row>
|
|
25
|
+
<ComparisonTable.Row>
|
|
26
|
+
<ComparisonTable.Cell>Automation & CI/CD</ComparisonTable.Cell>
|
|
27
|
+
<ComparisonTable.Cell>
|
|
28
|
+
<Text as="p" size="300">
|
|
29
|
+
Comparable native core capabilities
|
|
30
|
+
</Text>
|
|
31
|
+
<Text as="p" size="300">
|
|
32
|
+
<a href="https://github.com">Over 13,000 GitHub Actions are available</a> in the GitHub Marketplace to automate
|
|
33
|
+
your development workflow.
|
|
34
|
+
</Text>
|
|
35
|
+
</ComparisonTable.Cell>
|
|
36
|
+
<ComparisonTable.Cell>
|
|
37
|
+
<Text as="p" size="300">
|
|
38
|
+
Comparable native capabilities
|
|
39
|
+
</Text>
|
|
40
|
+
<Text as="p" size="300">
|
|
41
|
+
1,800+ community contributed Jenkins plugins <a href="https://github.com">in Jenkins Plugin Marketplace.</a>
|
|
42
|
+
</Text>
|
|
43
|
+
</ComparisonTable.Cell>
|
|
44
|
+
</ComparisonTable.Row>
|
|
45
|
+
<ComparisonTable.Row>
|
|
46
|
+
<ComparisonTable.Cell>Deployment models</ComparisonTable.Cell>
|
|
47
|
+
<ComparisonTable.Cell>Cloud or self-hosted</ComparisonTable.Cell>
|
|
48
|
+
<ComparisonTable.Cell>
|
|
49
|
+
<Text as="p" size="300">
|
|
50
|
+
Self-hosted only
|
|
51
|
+
</Text>
|
|
52
|
+
<Text as="p" size="300">
|
|
53
|
+
CloudBees is the cloud alternative
|
|
54
|
+
</Text>
|
|
55
|
+
</ComparisonTable.Cell>
|
|
56
|
+
</ComparisonTable.Row>
|
|
57
|
+
<ComparisonTable.Footnote>
|
|
58
|
+
*** This is a biased overview of capabilities by use case, based on publicly available information as of 2022-05-16.
|
|
59
|
+
</ComparisonTable.Footnote>
|
|
60
|
+
</ComparisonTable>
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### Optional heading
|
|
64
|
+
|
|
65
|
+
A heading can be provided using the `heading` prop on the root `<ComparisonTable>`. This will render a heading at an appropriate size relative to the table, and present it accordingly.
|
|
66
|
+
|
|
67
|
+
For granular control over heading markup or appearance, we recommend using [`Heading`](../../typography/Heading/index.md).
|
|
68
|
+
|
|
69
|
+
```jsx
|
|
70
|
+
<ComparisonTable heading="GitHub vs Jenkins">
|
|
71
|
+
<ComparisonTable.Row>
|
|
72
|
+
<ComparisonTable.Cell>Use case</ComparisonTable.Cell>
|
|
73
|
+
<ComparisonTable.Cell>GitHub</ComparisonTable.Cell>
|
|
74
|
+
<ComparisonTable.Cell>Jenkins</ComparisonTable.Cell>
|
|
75
|
+
</ComparisonTable.Row>
|
|
76
|
+
<ComparisonTable.Row>
|
|
77
|
+
<ComparisonTable.Cell>Automation & CI/CD</ComparisonTable.Cell>
|
|
78
|
+
<ComparisonTable.Cell>
|
|
79
|
+
<Text as="p" size="300">
|
|
80
|
+
Comparable native core capabilities
|
|
81
|
+
</Text>
|
|
82
|
+
<Text as="p" size="300">
|
|
83
|
+
<a href="https://github.com">Over 13,000 GitHub Actions are available</a> in the GitHub Marketplace to automate
|
|
84
|
+
your development workflow.
|
|
85
|
+
</Text>
|
|
86
|
+
</ComparisonTable.Cell>
|
|
87
|
+
<ComparisonTable.Cell>
|
|
88
|
+
<Text as="p" size="300">
|
|
89
|
+
Comparable native capabilities
|
|
90
|
+
</Text>
|
|
91
|
+
<Text as="p" size="300">
|
|
92
|
+
1,800+ community contributed Jenkins plugins <a href="https://github.com">in Jenkins Plugin Marketplace.</a>
|
|
93
|
+
</Text>
|
|
94
|
+
</ComparisonTable.Cell>
|
|
95
|
+
</ComparisonTable.Row>
|
|
96
|
+
<ComparisonTable.Row>
|
|
97
|
+
<ComparisonTable.Cell>Deployment models</ComparisonTable.Cell>
|
|
98
|
+
<ComparisonTable.Cell>Cloud or self-hosted</ComparisonTable.Cell>
|
|
99
|
+
<ComparisonTable.Cell>
|
|
100
|
+
<Text as="p" size="300">
|
|
101
|
+
Self-hosted only
|
|
102
|
+
</Text>
|
|
103
|
+
<Text as="p" size="300">
|
|
104
|
+
CloudBees is the cloud alternative
|
|
105
|
+
</Text>
|
|
106
|
+
</ComparisonTable.Cell>
|
|
107
|
+
</ComparisonTable.Row>
|
|
108
|
+
<ComparisonTable.Footnote>
|
|
109
|
+
*** This is a biased overview of capabilities by use case, based on publicly available information as of 2022-05-16.
|
|
110
|
+
</ComparisonTable.Footnote>
|
|
111
|
+
</ComparisonTable>
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### Featured columns
|
|
115
|
+
|
|
116
|
+
By default, the first data column will be marked as `featured`. This is to draw attention to a particular product as the basis of a comparison against adjacent columns.
|
|
117
|
+
|
|
118
|
+
Featured columns will have the visually-hidden text `featured` appended to their column title. This text is used to identify the featured column to screen reader users and can be customized using the `visuallyHiddenFeaturedLabel` prop.
|
|
119
|
+
|
|
120
|
+
Use `featuredColumn` to alternate the highlighted column if needed.
|
|
121
|
+
|
|
122
|
+
#### Color customization
|
|
123
|
+
|
|
124
|
+
The default colors can be customized through dedicated CSS variables.
|
|
125
|
+
|
|
126
|
+
| Name | Default |
|
|
127
|
+
| :--------------------------------------------- | :---------------------------- |
|
|
128
|
+
| `--brand-ComparisonTable-featured-color-start` | `--base-color-scale-pink-4` |
|
|
129
|
+
| `--brand-ComparisonTable-featured-color-end` | `--base-color-scale-indigo-5` |
|
|
130
|
+
|
|
131
|
+
```jsx filename="noinline"
|
|
132
|
+
const App = () => {
|
|
133
|
+
const designTokenOverrides = `
|
|
134
|
+
.custom-colors[data-color-mode='dark'] {
|
|
135
|
+
|
|
136
|
+
/*
|
|
137
|
+
* Modify the value of these tokens.
|
|
138
|
+
* Remember to apply light mode equivalents if you're enabling theme switching.
|
|
139
|
+
*/
|
|
140
|
+
--brand-ComparisonTable-featured-color-start: var(--base-color-scale-green-2);
|
|
141
|
+
--brand-ComparisonTable-featured-color-end: var(--base-color-scale-blue-3);
|
|
142
|
+
|
|
143
|
+
/*
|
|
144
|
+
* For example only
|
|
145
|
+
*/
|
|
146
|
+
padding: 3rem;
|
|
147
|
+
background-color: var(--brand-color-canvas-default);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.custom-heading {
|
|
151
|
+
background: linear-gradient(271.72deg, var(--brand-ComparisonTable-featured-color-end) 7.09%, var(--brand-ComparisonTable-featured-color-start) 96.61%);
|
|
152
|
+
-webkit-background-clip: text;
|
|
153
|
+
background-clip: text;
|
|
154
|
+
-webkit-text-fill-color: transparent;
|
|
155
|
+
text-align: center;
|
|
156
|
+
margin-bottom: var(--base-size-32);
|
|
157
|
+
}
|
|
158
|
+
`
|
|
159
|
+
|
|
160
|
+
return (
|
|
161
|
+
<ThemeProvider colorMode="dark" className="custom-colors">
|
|
162
|
+
<style>{designTokenOverrides}</style>
|
|
163
|
+
<Heading as="h3" className="custom-heading">
|
|
164
|
+
GitHub vs Jenkins
|
|
165
|
+
</Heading>
|
|
166
|
+
<ComparisonTable>
|
|
167
|
+
<ComparisonTable.Row>
|
|
168
|
+
<ComparisonTable.Cell>Use case</ComparisonTable.Cell>
|
|
169
|
+
<ComparisonTable.Cell>GitHub</ComparisonTable.Cell>
|
|
170
|
+
<ComparisonTable.Cell>Jenkins</ComparisonTable.Cell>
|
|
171
|
+
</ComparisonTable.Row>
|
|
172
|
+
<ComparisonTable.Row>
|
|
173
|
+
<ComparisonTable.Cell>Automation & CI/CD</ComparisonTable.Cell>
|
|
174
|
+
<ComparisonTable.Cell>
|
|
175
|
+
<Text as="p" size="300">
|
|
176
|
+
Comparable native core capabilities
|
|
177
|
+
</Text>
|
|
178
|
+
<Text as="p" size="300">
|
|
179
|
+
Over 13,000 GitHub Actions are available in the GitHub Marketplace to automate your development workflow.
|
|
180
|
+
</Text>
|
|
181
|
+
</ComparisonTable.Cell>
|
|
182
|
+
<ComparisonTable.Cell>
|
|
183
|
+
<Text as="p" size="300">
|
|
184
|
+
Comparable native capabilities
|
|
185
|
+
</Text>
|
|
186
|
+
<Text as="p" size="300">
|
|
187
|
+
1,800+ community contributed Jenkins plugins in Jenkins Plugin Marketplace.
|
|
188
|
+
</Text>
|
|
189
|
+
</ComparisonTable.Cell>
|
|
190
|
+
</ComparisonTable.Row>
|
|
191
|
+
<ComparisonTable.Row>
|
|
192
|
+
<ComparisonTable.Cell>Deployment models</ComparisonTable.Cell>
|
|
193
|
+
<ComparisonTable.Cell>Cloud or self-hosted</ComparisonTable.Cell>
|
|
194
|
+
<ComparisonTable.Cell>
|
|
195
|
+
<Text as="p" size="300">
|
|
196
|
+
Self-hosted only
|
|
197
|
+
</Text>
|
|
198
|
+
<Text as="p" size="300">
|
|
199
|
+
CloudBees is the cloud alternative
|
|
200
|
+
</Text>
|
|
201
|
+
</ComparisonTable.Cell>
|
|
202
|
+
</ComparisonTable.Row>
|
|
203
|
+
<ComparisonTable.Footnote>
|
|
204
|
+
*** This is a biased overview of capabilities by use case, based on publicly available information as of
|
|
205
|
+
2022-05-16.
|
|
206
|
+
</ComparisonTable.Footnote>
|
|
207
|
+
</ComparisonTable>
|
|
208
|
+
</ThemeProvider>
|
|
209
|
+
)
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
render(<App />)
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
### Dynamic data
|
|
216
|
+
|
|
217
|
+
Comparison tables are typically generated using data from an API or content management system.
|
|
218
|
+
|
|
219
|
+
`ComparisonTable` accepts `ReactNode` as a valid child, to facilitate conditional and dynamic rendering.
|
|
220
|
+
|
|
221
|
+
```jsx filename="noinline"
|
|
222
|
+
const App = () => {
|
|
223
|
+
const comparisonTableData = {
|
|
224
|
+
heading: 'GitHub vs Jenkins',
|
|
225
|
+
footnotes:
|
|
226
|
+
'*** This is a biased overview of capabilities by use case, based on publicly available information as of 2022-05-16.',
|
|
227
|
+
headingLabels: ['', 'GitHub', 'Jenkins'],
|
|
228
|
+
features: [
|
|
229
|
+
{
|
|
230
|
+
label: 'Automation & CI/CD',
|
|
231
|
+
values: [
|
|
232
|
+
{
|
|
233
|
+
name: 'GitHub',
|
|
234
|
+
value:
|
|
235
|
+
'Over 13,000 GitHub Actions are available in the GitHub Marketplace to automate your development workflow.',
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
name: 'Jenkins',
|
|
239
|
+
value: '1,800+ community contributed Jenkins plugins in Jenkins Plugin Marketplace.',
|
|
240
|
+
},
|
|
241
|
+
],
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
label: 'Deployment models',
|
|
245
|
+
values: [
|
|
246
|
+
{
|
|
247
|
+
name: 'GitHub',
|
|
248
|
+
value: 'Cloud or self-hosted',
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
name: 'Jenkins',
|
|
252
|
+
value: 'Self-hosted only. CloudBees is the cloud alternative',
|
|
253
|
+
},
|
|
254
|
+
],
|
|
255
|
+
},
|
|
256
|
+
],
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
return (
|
|
260
|
+
<ComparisonTable heading={comparisonTableData.heading}>
|
|
261
|
+
<ComparisonTable.Row>
|
|
262
|
+
{comparisonTableData.headingLabels.map(label => (
|
|
263
|
+
<ComparisonTable.Cell key={label}>{label}</ComparisonTable.Cell>
|
|
264
|
+
))}
|
|
265
|
+
</ComparisonTable.Row>
|
|
266
|
+
{comparisonTableData.features.map(({label, values}) => {
|
|
267
|
+
return (
|
|
268
|
+
<ComparisonTable.Row key={label}>
|
|
269
|
+
<ComparisonTable.Cell key={label}>{label}</ComparisonTable.Cell>
|
|
270
|
+
{values.map(({value, name}) => (
|
|
271
|
+
<ComparisonTable.Cell key={name}>{value}</ComparisonTable.Cell>
|
|
272
|
+
))}
|
|
273
|
+
</ComparisonTable.Row>
|
|
274
|
+
)
|
|
275
|
+
})}
|
|
276
|
+
<ComparisonTable.Footnote>{comparisonTableData.footnotes}</ComparisonTable.Footnote>
|
|
277
|
+
</ComparisonTable>
|
|
278
|
+
)
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
render(<App />)
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
### Minimal layout
|
|
285
|
+
|
|
286
|
+
`ComparisonTable` has an alternative visual presentation mode called `minimal`. This will display the data without the featured columns.
|
|
287
|
+
|
|
288
|
+
This variant is suitable for embedding into long-form content, or in situations where usage of on-screen color needs to be minimized.
|
|
289
|
+
|
|
290
|
+
```jsx
|
|
291
|
+
<ComparisonTable heading="What is containerization?" variant="minimal">
|
|
292
|
+
<ComparisonTable.Row>
|
|
293
|
+
<ComparisonTable.Cell></ComparisonTable.Cell>
|
|
294
|
+
<ComparisonTable.Cell>Containerization</ComparisonTable.Cell>
|
|
295
|
+
<ComparisonTable.Cell>Virtualization</ComparisonTable.Cell>
|
|
296
|
+
</ComparisonTable.Row>
|
|
297
|
+
<ComparisonTable.Row>
|
|
298
|
+
<ComparisonTable.Cell>Operating system (OS) </ComparisonTable.Cell>
|
|
299
|
+
<ComparisonTable.Cell>
|
|
300
|
+
Containers use the host OS, meaning all containers must be compatible with that OS.
|
|
301
|
+
</ComparisonTable.Cell>
|
|
302
|
+
<ComparisonTable.Cell>
|
|
303
|
+
VMs are effectively separate computers that run their own OS. For example, a VM can run Windows even if the host
|
|
304
|
+
OS is Ubuntu.
|
|
305
|
+
</ComparisonTable.Cell>
|
|
306
|
+
</ComparisonTable.Row>
|
|
307
|
+
<ComparisonTable.Row>
|
|
308
|
+
<ComparisonTable.Cell>Computing resources </ComparisonTable.Cell>
|
|
309
|
+
<ComparisonTable.Cell>
|
|
310
|
+
Containers are lightweight, taking only the resources needed to run the application and the container
|
|
311
|
+
manager.{' '}
|
|
312
|
+
</ComparisonTable.Cell>
|
|
313
|
+
<ComparisonTable.Cell>
|
|
314
|
+
VMs emulate a full computer, meaning that they replicate much of the host environment. That uses more memory, CPU
|
|
315
|
+
cycles, and disk space.
|
|
316
|
+
</ComparisonTable.Cell>
|
|
317
|
+
</ComparisonTable.Row>
|
|
318
|
+
<ComparisonTable.Row>
|
|
319
|
+
<ComparisonTable.Cell>Shareability </ComparisonTable.Cell>
|
|
320
|
+
<ComparisonTable.Cell>
|
|
321
|
+
Container images are relatively small in size, making them easy to share.
|
|
322
|
+
</ComparisonTable.Cell>
|
|
323
|
+
<ComparisonTable.Cell>VM images are often much larger as they include a full OS.</ComparisonTable.Cell>
|
|
324
|
+
</ComparisonTable.Row>
|
|
325
|
+
<ComparisonTable.Row>
|
|
326
|
+
<ComparisonTable.Cell>Security</ComparisonTable.Cell>
|
|
327
|
+
<ComparisonTable.Cell>
|
|
328
|
+
Containers might be isolated only very lightly from each other. A process in one container could access memory
|
|
329
|
+
used by another container, for example.
|
|
330
|
+
</ComparisonTable.Cell>
|
|
331
|
+
<ComparisonTable.Cell>
|
|
332
|
+
By running a separate OS, VMs running on the same hardware are more isolated from one another than containers.
|
|
333
|
+
</ComparisonTable.Cell>
|
|
334
|
+
</ComparisonTable.Row>
|
|
335
|
+
</ComparisonTable>
|
|
336
|
+
```
|
|
337
|
+
|
|
338
|
+
## Component props
|
|
339
|
+
|
|
340
|
+
### ComparisonTable `Required`
|
|
341
|
+
|
|
342
|
+
| name | type | default | required | description |
|
|
343
|
+
| ----------------------------- | --------------------------------------------------------------------------------------- | ------------ | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
344
|
+
| `children` | `ComparisonTable.Row`, `ComparisonTable.Cell`, `ComparisonTable.Footnotes`, `ReactNode` | undefined | `true` | Valid children. Accepts `ReactNode` for conditional rendering. |
|
|
345
|
+
| `heading` | `string` | undefined | `false` | Optional heading that appears above table, preconfigured as a `h3`. |
|
|
346
|
+
| `featuredColumn` | `number` | `1` | `false` | Indicates that the data column at the specified index is visually important and unique in relation to its adjacent cells, and will be styled accordingly. |
|
|
347
|
+
| `visuallyHiddenFeaturedLabel` | `string` | `"featured"` | `false` | A visually-hidden label which is appended to the end of the column title. Used to identify the featured column to screen reader users. |
|
|
348
|
+
| `variant` | `"default"`, `"minimal"` | `"default"` | `false` | Applies alternative presentation. |
|
|
349
|
+
|
|
350
|
+
### ComparisonTable.Row `Required`
|
|
351
|
+
|
|
352
|
+
The first row in a table is automatically styled as a table header row.
|
|
353
|
+
|
|
354
|
+
| name | type | default | required | description |
|
|
355
|
+
| ---------- | ---------------------- | --------- | -------- | ----------------------------------------------- |
|
|
356
|
+
| `children` | `ComparisonTable.Cell` | undefined | `true` | Cells (columns) to be displayed inside the row. |
|
|
357
|
+
|
|
358
|
+
### ComparisonTable.Cell `Required`
|
|
359
|
+
|
|
360
|
+
The first cell in a row is automatically styled as a header cell.
|
|
361
|
+
|
|
362
|
+
| name | type | default | required | description |
|
|
363
|
+
| ---------- | ----------- | --------- | -------- | ----------------------------------------------- |
|
|
364
|
+
| `children` | `ReactNode` | undefined | `true` | Content to be displayed inside the column cell. |
|
|
365
|
+
|
|
366
|
+
### ComparisonTable.Footnote
|
|
367
|
+
|
|
368
|
+
Optional node that appears below the table. This is useful for adding additional context or disclaimers.
|
|
369
|
+
|
|
370
|
+
| name | type | default | required | description |
|
|
371
|
+
| ---------- | ----------- | --------- | -------- | ----------------------------------------------- |
|
|
372
|
+
| `children` | `ReactNode` | undefined | `true` | Content to be displayed inside the column cell. |
|
|
373
|
+
|
|
374
|
+
`id`, `className` and `ref` are forwarded by default to all children.
|
|
375
|
+
|
|
376
|
+
## Design tokens
|
|
377
|
+
|
|
378
|
+
| css | js |
|
|
379
|
+
| ---------------------------------------------- | -------------------------------------------- |
|
|
380
|
+
| `--brand-ComparisonTable-featured-color-start` | `brand.ComparisonTable.featured.color.start` |
|
|
381
|
+
| `--brand-ComparisonTable-featured-color-end` | `brand.ComparisonTable.featured.color.end` |
|