@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,107 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Section intro
|
|
3
|
+
description: Use the section intro component to provide a title, optional description and link to a new section in the page.
|
|
4
|
+
keywords: ['heading', 'intro', 'section']
|
|
5
|
+
ready: true
|
|
6
|
+
figma: https://www.figma.com/file/BJ95AjraesmRCWsKA013GS/Primer-Brand?node-id=3891%3A17104&t=j6zvLXblgsO36Wmu-11
|
|
7
|
+
source: https://github.com/primer/brand/blob/main/packages/react/src/SectionIntro/SectionIntro.tsx
|
|
8
|
+
storybook: '/brand/storybook/?path=/story/components-sectionintro--playground'
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
```js
|
|
12
|
+
import {SectionIntro} from '@primer/react-brand'
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Examples
|
|
16
|
+
|
|
17
|
+
### Default
|
|
18
|
+
|
|
19
|
+
```jsx
|
|
20
|
+
<section>
|
|
21
|
+
<SectionIntro>
|
|
22
|
+
<SectionIntro.Label>Label</SectionIntro.Label>
|
|
23
|
+
<SectionIntro.Heading>Focus on solving bigger problems</SectionIntro.Heading>
|
|
24
|
+
<SectionIntro.Description>
|
|
25
|
+
Spend less time creating boilerplate and repetitive code patterns, and more time on what matters: building great
|
|
26
|
+
software. Write a comment describing the logic you want and GitHub Copilot will immediately suggest code to
|
|
27
|
+
implement the solution.
|
|
28
|
+
</SectionIntro.Description>
|
|
29
|
+
<SectionIntro.Link href="#">Explore docs</SectionIntro.Link>
|
|
30
|
+
</SectionIntro>
|
|
31
|
+
</section>
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Alignment
|
|
35
|
+
|
|
36
|
+
The content alignment can be changed using the `align` prop on the root `SectionIntro`. This can be configured to either `start` or `center`.
|
|
37
|
+
|
|
38
|
+
```jsx
|
|
39
|
+
<section>
|
|
40
|
+
<SectionIntro align="center">
|
|
41
|
+
<SectionIntro.Label>Label</SectionIntro.Label>
|
|
42
|
+
<SectionIntro.Heading>Focus on solving bigger problems</SectionIntro.Heading>
|
|
43
|
+
<SectionIntro.Description>
|
|
44
|
+
Spend less time creating boilerplate and repetitive code patterns, and more time on what matters: building great
|
|
45
|
+
software. Write a comment describing the logic you want and GitHub Copilot will immediately suggest code to
|
|
46
|
+
implement the solution.
|
|
47
|
+
</SectionIntro.Description>
|
|
48
|
+
<SectionIntro.Link href="#">Explore docs</SectionIntro.Link>
|
|
49
|
+
</SectionIntro>
|
|
50
|
+
</section>
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Component props
|
|
54
|
+
|
|
55
|
+
### SectionIntro `Required`
|
|
56
|
+
|
|
57
|
+
| name | type | default | required | description |
|
|
58
|
+
| ----------- | -------------------------- | ----------- | -------- | ------------------------------------------------------------- |
|
|
59
|
+
| `children` | `ReactNode`, `ReactNode[]` | `undefined` | `true` | Content to include within the section intro component |
|
|
60
|
+
| `align` | `start`, `center` | `start` | `true` | The layout applied to the content wihin the section component |
|
|
61
|
+
| `className` | `string` | | `false` | SectionIntro custom class |
|
|
62
|
+
| `fullWidth` | `boolean` | | `false` | Fills available space |
|
|
63
|
+
|
|
64
|
+
### SectionIntro.Label
|
|
65
|
+
|
|
66
|
+
Optional node that can be used to provide a label for the section.
|
|
67
|
+
|
|
68
|
+
| name | type | default | required | description |
|
|
69
|
+
| ---------------- | -------------------- | --------- | -------- | -------------------------------------------- |
|
|
70
|
+
| `children` | `ReactNode` | | `true` | Content to be displayed inside the label |
|
|
71
|
+
| `animate` | `boolean` | `false` | `false` | Enables the cursor animation |
|
|
72
|
+
| `animationDelay` | `number` | `1000` | `false` | Delay before the cursor animation starts |
|
|
73
|
+
| `variant` | `'default', 'muted'` | `'muted'` | `false` | Specify alternative text appearance |
|
|
74
|
+
| `className` | `string` | | `false` | Sets a custom class on the root of the label |
|
|
75
|
+
| `id` | `string` | | `false` | Sets a custom id on the root of the label |
|
|
76
|
+
| `ref` | `React.RefObject` | | `false` | Forward a Ref to the underlying DOM node |
|
|
77
|
+
|
|
78
|
+
### SectionIntro.Heading `Required`
|
|
79
|
+
|
|
80
|
+
Required node that is used to provide a heading for the section.
|
|
81
|
+
|
|
82
|
+
| name | type | default | required | description |
|
|
83
|
+
| ----------- | -------------------------- | ----------- | -------- | ----------------------------------------------------- |
|
|
84
|
+
| `className` | `string` | | `false` | Custom class name for the heading component |
|
|
85
|
+
| `children` | `ReactNode`, `ReactNode[]` | `undefined` | `true` | Content to be displayed inside the heading component. |
|
|
86
|
+
|
|
87
|
+
Forwards all props from the [Heading component](../../typography/Heading/index.md), including `as`, `size`, and `weight`.
|
|
88
|
+
|
|
89
|
+
### SectionIntro.Description
|
|
90
|
+
|
|
91
|
+
Optional node that can be used to provide a description for the section.
|
|
92
|
+
|
|
93
|
+
| name | type | default | required | description |
|
|
94
|
+
| ---------- | -------------------------- | ----------- | -------- | ---------------------------------------------------------- |
|
|
95
|
+
| `children` | `ReactNode`, `ReactNode[]` | `undefined` | `true` | Content to be displayed inside the section intro component |
|
|
96
|
+
|
|
97
|
+
`id`, `className` and `ref` are forwarded by default to all children.
|
|
98
|
+
|
|
99
|
+
### SectionIntro.Link
|
|
100
|
+
|
|
101
|
+
Optional node that can be used to provide a link.
|
|
102
|
+
|
|
103
|
+
| name | type | default | required | description |
|
|
104
|
+
| ----------- | -------- | ----------- | -------- | --------------------------------------- |
|
|
105
|
+
| `className` | `string` | `undefined` | `false` | Sets a custom class on the root element |
|
|
106
|
+
|
|
107
|
+
`id`, `className` and `ref` are forwarded by default to all children.
|
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Section intro stacked
|
|
3
|
+
description: Use this section intro component to provide a heading, link and itemized content in a stacked layout.
|
|
4
|
+
keywords: ['heading', 'intro', 'section']
|
|
5
|
+
ready: true
|
|
6
|
+
source: https://github.com/primer/brand/blob/main/packages/react/src/SectionIntroStacked/SectionIntroStacked.tsx
|
|
7
|
+
storybook: '/brand/storybook/?path=/story/components-sectionintrostacked--playground'
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
```js
|
|
11
|
+
import {SectionIntroStacked} from '@primer/react-brand'
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Examples
|
|
15
|
+
|
|
16
|
+
### Default
|
|
17
|
+
|
|
18
|
+
```jsx
|
|
19
|
+
<section>
|
|
20
|
+
<SectionIntroStacked>
|
|
21
|
+
<SectionIntroStacked.Heading>
|
|
22
|
+
<b>Over 90% of Fortune 100 companies and more than 150 million developers rely on GitHub</b> to deliver scalable,
|
|
23
|
+
reliable, and secure solutions for teams of all sizes.
|
|
24
|
+
</SectionIntroStacked.Heading>
|
|
25
|
+
<SectionIntroStacked.Link href="#">Explore GitHub</SectionIntroStacked.Link>
|
|
26
|
+
<SectionIntroStacked.Items>
|
|
27
|
+
<SectionIntroStacked.Item>
|
|
28
|
+
<b>Designed for developers</b>, GitHub offers seamless collaboration tools that make teamwork smarter, faster,
|
|
29
|
+
and more secure.
|
|
30
|
+
</SectionIntroStacked.Item>
|
|
31
|
+
<SectionIntroStacked.Item>
|
|
32
|
+
<b>Leverage GitHub Copilot to automate tasks</b>, and enhance productivity with smart, context-aware code
|
|
33
|
+
suggestions.
|
|
34
|
+
</SectionIntroStacked.Item>
|
|
35
|
+
<SectionIntroStacked.Item>
|
|
36
|
+
<b>GitHub Enterprise scales with your organization</b>, delivering the performance and security needed for teams
|
|
37
|
+
of any size.
|
|
38
|
+
</SectionIntroStacked.Item>
|
|
39
|
+
</SectionIntroStacked.Items>
|
|
40
|
+
</SectionIntroStacked>
|
|
41
|
+
</section>
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### With icon items
|
|
45
|
+
|
|
46
|
+
```jsx
|
|
47
|
+
<section>
|
|
48
|
+
<SectionIntroStacked>
|
|
49
|
+
<SectionIntroStacked.Heading>Unlock a passion for learning with GitHub.</SectionIntroStacked.Heading>
|
|
50
|
+
<SectionIntroStacked.Description>
|
|
51
|
+
Elevate your lessons with GitHub's advanced tools and provide students access to current industry practices.
|
|
52
|
+
</SectionIntroStacked.Description>
|
|
53
|
+
<SectionIntroStacked.Link href="#">Sign up now</SectionIntroStacked.Link>
|
|
54
|
+
<SectionIntroStacked.Items>
|
|
55
|
+
<SectionIntroStacked.Item>
|
|
56
|
+
<SectionIntroStacked.ItemIcon icon={CpuIcon} />
|
|
57
|
+
<SectionIntroStacked.ItemHeading>Enhance your technical curriculum</SectionIntroStacked.ItemHeading>
|
|
58
|
+
<SectionIntroStacked.ItemDescription>
|
|
59
|
+
Elevate your lessons with GitHub's advanced tools and provide students access to current industry practices.
|
|
60
|
+
</SectionIntroStacked.ItemDescription>
|
|
61
|
+
</SectionIntroStacked.Item>
|
|
62
|
+
<SectionIntroStacked.Item>
|
|
63
|
+
<SectionIntroStacked.ItemIcon icon={LightBulbIcon} />
|
|
64
|
+
<SectionIntroStacked.ItemHeading>Reinvigorate your teaching methods</SectionIntroStacked.ItemHeading>
|
|
65
|
+
<SectionIntroStacked.ItemDescription>
|
|
66
|
+
Use GitHub Classroom to automate feedback and manage coursework, which can make your sessions more dynamic and
|
|
67
|
+
interactive.
|
|
68
|
+
</SectionIntroStacked.ItemDescription>
|
|
69
|
+
</SectionIntroStacked.Item>
|
|
70
|
+
<SectionIntroStacked.Item>
|
|
71
|
+
<SectionIntroStacked.ItemIcon icon={HeartIcon} />
|
|
72
|
+
<SectionIntroStacked.ItemHeading>Boost collaboration across campus</SectionIntroStacked.ItemHeading>
|
|
73
|
+
<SectionIntroStacked.ItemDescription>
|
|
74
|
+
Make it easier for students and educators to collaborate on projects and assignments.
|
|
75
|
+
</SectionIntroStacked.ItemDescription>
|
|
76
|
+
</SectionIntroStacked.Item>
|
|
77
|
+
</SectionIntroStacked.Items>
|
|
78
|
+
</SectionIntroStacked>
|
|
79
|
+
</section>
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
### GridLine variant
|
|
83
|
+
|
|
84
|
+
Use `variant="gridline"` to apply an alternative visual style with horizontal and vertical borders.
|
|
85
|
+
|
|
86
|
+
```jsx
|
|
87
|
+
<section>
|
|
88
|
+
<SectionIntroStacked variant="gridline">
|
|
89
|
+
<SectionIntroStacked.Heading>Unlock a passion for learning with GitHub.</SectionIntroStacked.Heading>
|
|
90
|
+
<SectionIntroStacked.Description>
|
|
91
|
+
Elevate your lessons with GitHub's advanced tools and provide students access to current industry practices.
|
|
92
|
+
</SectionIntroStacked.Description>
|
|
93
|
+
<SectionIntroStacked.Link href="#">Sign up now</SectionIntroStacked.Link>
|
|
94
|
+
<SectionIntroStacked.Items>
|
|
95
|
+
<SectionIntroStacked.Item>
|
|
96
|
+
<SectionIntroStacked.ItemIcon icon={CpuIcon} />
|
|
97
|
+
<SectionIntroStacked.ItemHeading>Enhance your technical curriculum</SectionIntroStacked.ItemHeading>
|
|
98
|
+
<SectionIntroStacked.ItemDescription>
|
|
99
|
+
Elevate your lessons with GitHub's advanced tools and provide students access to current industry practices.
|
|
100
|
+
</SectionIntroStacked.ItemDescription>
|
|
101
|
+
</SectionIntroStacked.Item>
|
|
102
|
+
<SectionIntroStacked.Item>
|
|
103
|
+
<SectionIntroStacked.ItemIcon icon={LightBulbIcon} />
|
|
104
|
+
<SectionIntroStacked.ItemHeading>Reinvigorate your teaching methods</SectionIntroStacked.ItemHeading>
|
|
105
|
+
<SectionIntroStacked.ItemDescription>
|
|
106
|
+
Use GitHub Classroom to automate feedback and manage coursework, which can make your sessions more dynamic and
|
|
107
|
+
interactive.
|
|
108
|
+
</SectionIntroStacked.ItemDescription>
|
|
109
|
+
</SectionIntroStacked.Item>
|
|
110
|
+
<SectionIntroStacked.Item>
|
|
111
|
+
<SectionIntroStacked.ItemIcon icon={HeartIcon} />
|
|
112
|
+
<SectionIntroStacked.ItemHeading>Boost collaboration across campus</SectionIntroStacked.ItemHeading>
|
|
113
|
+
<SectionIntroStacked.ItemDescription>
|
|
114
|
+
Make it easier for students and educators to collaborate on projects and assignments.
|
|
115
|
+
</SectionIntroStacked.ItemDescription>
|
|
116
|
+
</SectionIntroStacked.Item>
|
|
117
|
+
</SectionIntroStacked.Items>
|
|
118
|
+
</SectionIntroStacked>
|
|
119
|
+
</section>
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
## Component props
|
|
123
|
+
|
|
124
|
+
### SectionIntroStacked `Required`
|
|
125
|
+
|
|
126
|
+
| name | type | default | required | description |
|
|
127
|
+
| ----------- | -------------------------- | ----------- | -------- | ----------------------------------------------------- |
|
|
128
|
+
| `children` | `ReactNode`, `ReactNode[]` | `undefined` | `true` | Content to include within the section intro component |
|
|
129
|
+
| `variant` | `'default'`, `'gridline'` | `'default'` | `false` | Sets the visual variant of the component. |
|
|
130
|
+
| `className` | `string` | | `false` | Sets a custom class on the root element |
|
|
131
|
+
| `id` | `string` | | `false` | Sets a custom id on the root element |
|
|
132
|
+
| `animate` | `AnimateProps` | | `false` | Animation configuration for the component |
|
|
133
|
+
|
|
134
|
+
Forwards all standard HTML attributes for `<header>` elements.
|
|
135
|
+
|
|
136
|
+
### SectionIntroStacked.Heading `Required`
|
|
137
|
+
|
|
138
|
+
Required node that is used to provide a heading for the section.
|
|
139
|
+
|
|
140
|
+
| name | type | default | required | description |
|
|
141
|
+
| ----------- | -------------------------- | ----------- | -------- | ----------------------------------------------------- |
|
|
142
|
+
| `children` | `ReactNode`, `ReactNode[]` | `undefined` | `true` | Content to be displayed inside the heading component. |
|
|
143
|
+
| `className` | `string` | | `false` | Sets a custom class on the root element |
|
|
144
|
+
| `id` | `string` | | `false` | Sets a custom id on the root element |
|
|
145
|
+
| `animate` | `AnimateProps` | | `false` | Animation configuration for the component |
|
|
146
|
+
|
|
147
|
+
Forwards all props from the [Heading component](../../typography/Heading/index.md), including `as`, `size`, and `weight`.
|
|
148
|
+
|
|
149
|
+
### SectionIntroStacked.Link
|
|
150
|
+
|
|
151
|
+
Optional node that can be used to provide a link.
|
|
152
|
+
|
|
153
|
+
| name | type | default | required | description |
|
|
154
|
+
| ----------- | -------------------------- | ----------- | -------- | --------------------------------------- |
|
|
155
|
+
| `children` | `ReactNode`, `ReactNode[]` | `undefined` | `true` | Content to be displayed inside the link |
|
|
156
|
+
| `href` | `string` | `undefined` | `true` | The URL that the link points to |
|
|
157
|
+
| `variant` | `default`, `accent` | `accent` | `false` | Visual style variant for the link |
|
|
158
|
+
| `className` | `string` | | `false` | Sets a custom class on the root element |
|
|
159
|
+
| `id` | `string` | | `false` | Sets a custom id on the root element |
|
|
160
|
+
|
|
161
|
+
Forwards most props from the Link component, but with a default `size` of `medium`.
|
|
162
|
+
|
|
163
|
+
### SectionIntroStacked.Description
|
|
164
|
+
|
|
165
|
+
Optional node that can be used to provide a short description.
|
|
166
|
+
|
|
167
|
+
| name | type | default | required | description |
|
|
168
|
+
| ----------- | -------------------------- | ----------- | -------- | ---------------------------------------------- |
|
|
169
|
+
| `children` | `ReactNode`, `ReactNode[]` | `undefined` | `true` | Content to be displayed inside the description |
|
|
170
|
+
| `className` | `string` | | `false` | Sets a custom class on the root element |
|
|
171
|
+
| `id` | `string` | | `false` | Sets a custom id on the root element |
|
|
172
|
+
|
|
173
|
+
### SectionIntroStacked.Items `Required`
|
|
174
|
+
|
|
175
|
+
Container for a list of items.
|
|
176
|
+
|
|
177
|
+
| name | type | default | required | description |
|
|
178
|
+
| ----------- | -------------------------- | ----------- | -------- | ----------------------------------------- |
|
|
179
|
+
| `children` | `ReactNode`, `ReactNode[]` | `undefined` | `true` | `SectionIntroStacked.Item` components |
|
|
180
|
+
| `className` | `string` | | `false` | Sets a custom class on the root element |
|
|
181
|
+
| `id` | `string` | | `false` | Sets a custom id on the root element |
|
|
182
|
+
| `animate` | `AnimateProps` | | `false` | Animation configuration for the component |
|
|
183
|
+
|
|
184
|
+
### SectionIntroStacked.Item `Required`
|
|
185
|
+
|
|
186
|
+
Individual item within the items list.
|
|
187
|
+
|
|
188
|
+
| name | type | default | required | description |
|
|
189
|
+
| ----------- | -------------------------- | ----------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
190
|
+
| `children` | `ReactNode`, `ReactNode[]` | `undefined` | `true` | Content to be displayed inside the item. Accepts plain text with optional `<b>` or `<em>` for emphasis, or `SectionIntroStacked.ItemIcon`, `SectionIntroStacked.ItemHeading`, and `SectionIntroStacked.ItemDescription` sub-components |
|
|
191
|
+
| `className` | `string` | | `false` | Sets a custom class on the root element |
|
|
192
|
+
| `id` | `string` | | `false` | Sets a custom id on the root element |
|
|
193
|
+
|
|
194
|
+
### SectionIntroStacked.ItemIcon
|
|
195
|
+
|
|
196
|
+
Optional icon displayed alongside item content.
|
|
197
|
+
|
|
198
|
+
| name | type | default | required | description |
|
|
199
|
+
| ----------- | -------- | ----------- | -------- | --------------------------------------- |
|
|
200
|
+
| `icon` | `Icon` | `undefined` | `true` | The Octicon icon component to display |
|
|
201
|
+
| `color` | `string` | `green` | `false` | Color variant for the icon background |
|
|
202
|
+
| `className` | `string` | | `false` | Sets a custom class on the root element |
|
|
203
|
+
|
|
204
|
+
Forwards all props from the [Icon component](../Icon/index.md).
|
|
205
|
+
|
|
206
|
+
### SectionIntroStacked.ItemHeading
|
|
207
|
+
|
|
208
|
+
Optional heading for an item when using sub-components.
|
|
209
|
+
|
|
210
|
+
| name | type | default | required | description |
|
|
211
|
+
| ----------- | -------------------------- | ----------- | -------- | ------------------------------------------ |
|
|
212
|
+
| `children` | `ReactNode`, `ReactNode[]` | `undefined` | `true` | Content to be displayed inside the heading |
|
|
213
|
+
| `className` | `string` | | `false` | Sets a custom class on the root element |
|
|
214
|
+
| `id` | `string` | | `false` | Sets a custom id on the root element |
|
|
215
|
+
|
|
216
|
+
Forwards all props from the [Heading component](../../typography/Heading/index.md), including `as`, `size`, and `weight`. Defaults to `as="h3"`.
|
|
217
|
+
|
|
218
|
+
### SectionIntroStacked.ItemDescription
|
|
219
|
+
|
|
220
|
+
Optional description for an item when using sub-components.
|
|
221
|
+
|
|
222
|
+
| name | type | default | required | description |
|
|
223
|
+
| ----------- | -------------------------- | ----------- | -------- | --------------------------------------------------- |
|
|
224
|
+
| `children` | `ReactNode`, `ReactNode[]` | `undefined` | `true` | Content to be displayed inside the item description |
|
|
225
|
+
| `className` | `string` | | `false` | Sets a custom class on the root element |
|
|
226
|
+
| `id` | `string` | | `false` | Sets a custom id on the root element |
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Statistic
|
|
3
|
+
description: Use the statistic component display concise numerical information
|
|
4
|
+
keywords: ['number', 'percentage', 'value', 'metric']
|
|
5
|
+
ready: true
|
|
6
|
+
source: https://github.com/primer/brand/blob/main/packages/react/src/Statistic/Statistic.tsx
|
|
7
|
+
storybook: '/brand/storybook/?path=/story/components-statistic--default'
|
|
8
|
+
a11yReviewed: false
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
```js
|
|
12
|
+
import {Statistic} from '@primer/react-brand'
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Examples
|
|
16
|
+
|
|
17
|
+
### Default
|
|
18
|
+
|
|
19
|
+
```jsx
|
|
20
|
+
<Statistic>
|
|
21
|
+
<Statistic.Heading>+25%</Statistic.Heading>
|
|
22
|
+
<Statistic.Description>increase in developer speed</Statistic.Description>
|
|
23
|
+
</Statistic>
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
### Boxed variant
|
|
27
|
+
|
|
28
|
+
```jsx
|
|
29
|
+
<Statistic variant="boxed">
|
|
30
|
+
<Statistic.Heading>+25%</Statistic.Heading>
|
|
31
|
+
<Statistic.Description>increase in developer speed</Statistic.Description>
|
|
32
|
+
</Statistic>
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Sizes
|
|
36
|
+
|
|
37
|
+
```jsx
|
|
38
|
+
<Stack direction={{narrow: 'vertical', wide: 'horizontal'}}>
|
|
39
|
+
<Statistic size="small">
|
|
40
|
+
<Statistic.Heading>+25%</Statistic.Heading>
|
|
41
|
+
<Statistic.Description>increase in developer speed</Statistic.Description>
|
|
42
|
+
</Statistic>
|
|
43
|
+
<Statistic size="medium">
|
|
44
|
+
<Statistic.Heading>+25%</Statistic.Heading>
|
|
45
|
+
<Statistic.Description>increase in developer speed</Statistic.Description>
|
|
46
|
+
</Statistic>
|
|
47
|
+
<Statistic size="large">
|
|
48
|
+
<Statistic.Heading>+25%</Statistic.Heading>
|
|
49
|
+
<Statistic.Description>increase in developer speed</Statistic.Description>
|
|
50
|
+
</Statistic>
|
|
51
|
+
</Stack>
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
### Padding
|
|
55
|
+
|
|
56
|
+
```jsx
|
|
57
|
+
<Stack direction={{narrow: 'vertical', wide: 'horizontal'}}>
|
|
58
|
+
<Statistic padding="condensed">
|
|
59
|
+
<Statistic.Heading>+25%</Statistic.Heading>
|
|
60
|
+
<Statistic.Description>increase in developer speed</Statistic.Description>
|
|
61
|
+
</Statistic>
|
|
62
|
+
<Statistic padding="normal">
|
|
63
|
+
<Statistic.Heading>+25%</Statistic.Heading>
|
|
64
|
+
<Statistic.Description>increase in developer speed</Statistic.Description>
|
|
65
|
+
</Statistic>
|
|
66
|
+
<Statistic padding="spacious">
|
|
67
|
+
<Statistic.Heading>+25%</Statistic.Heading>
|
|
68
|
+
<Statistic.Description>increase in developer speed</Statistic.Description>
|
|
69
|
+
</Statistic>
|
|
70
|
+
<Statistic
|
|
71
|
+
padding={{
|
|
72
|
+
narrow: 'condensed',
|
|
73
|
+
regular: 'normal',
|
|
74
|
+
wide: 'spacious',
|
|
75
|
+
}}
|
|
76
|
+
>
|
|
77
|
+
<Statistic.Heading>+25%</Statistic.Heading>
|
|
78
|
+
<Statistic.Description>increase in developer speed</Statistic.Description>
|
|
79
|
+
</Statistic>
|
|
80
|
+
</Stack>
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
### Accent descriptions
|
|
84
|
+
|
|
85
|
+
```jsx
|
|
86
|
+
<Statistic>
|
|
87
|
+
<Statistic.Heading>+25%</Statistic.Heading>
|
|
88
|
+
<Statistic.Description variant="accent">increase in developer speed</Statistic.Description>
|
|
89
|
+
</Statistic>
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### Statistic
|
|
93
|
+
|
|
94
|
+
| Name | Type | Default | Description |
|
|
95
|
+
| :---------- | :------------------------------------------- | :-------: | :---------------------------------------------------- |
|
|
96
|
+
| `className` | `string` | | Sets a custom class on the root element |
|
|
97
|
+
| `children` | `Statistic.Heading`, `Statistic.Description` | | Content to be displayed within the component |
|
|
98
|
+
| `size` | `StatisticSizes` | `'large'` | The size of the Statistic |
|
|
99
|
+
| `padding` | `StatisticSpacingValues` | `'none'` | Adding padding to all internal sides of the component |
|
|
100
|
+
|
|
101
|
+
### Statistic.Heading
|
|
102
|
+
|
|
103
|
+
Forwards all the props from the [Heading component](../../typography/Heading/index.md), including `as`, `size`, and `weight`.
|
|
104
|
+
|
|
105
|
+
### Statistic.Description
|
|
106
|
+
|
|
107
|
+
| Name | Type | Default | Description |
|
|
108
|
+
| :-------- | :--------------------------------- | :---------: | :----------------------------------- |
|
|
109
|
+
| `variant` | `'default' \| 'muted' \| 'accent'` | `'default'` | Visual presentation of the component |
|
|
110
|
+
|
|
111
|
+
Forwards most props from the [Text component](../../typography/Text/index.md), including `size`.
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Sub nav
|
|
3
|
+
description: A sub nav is a secondary navigation element, typically positioned beneath a primary navigation.
|
|
4
|
+
keywords: ['navigation', 'secondary', 'second level']
|
|
5
|
+
ready: true
|
|
6
|
+
source: https://github.com/primer/brand/blob/main/packages/react/src/SubNav/SubNav.tsx
|
|
7
|
+
storybook: '/brand/storybook/?path=/story/components-subnav--default'
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
```js
|
|
11
|
+
import {SubNav} from '@primer/react-brand'
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Examples
|
|
15
|
+
|
|
16
|
+
### Default
|
|
17
|
+
|
|
18
|
+
```jsx
|
|
19
|
+
<div style={{position: 'relative', height: 100, width: '100%'}}>
|
|
20
|
+
<SubNav>
|
|
21
|
+
<SubNav.Heading href="#">Features</SubNav.Heading>
|
|
22
|
+
<SubNav.Link href="#">Actions</SubNav.Link>
|
|
23
|
+
<SubNav.Link href="#">Packages</SubNav.Link>
|
|
24
|
+
<SubNav.Link href="#" aria-current="page">
|
|
25
|
+
Copilot
|
|
26
|
+
</SubNav.Link>
|
|
27
|
+
<SubNav.Link href="#">Code review</SubNav.Link>
|
|
28
|
+
</SubNav>
|
|
29
|
+
</div>
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### Subheading
|
|
33
|
+
|
|
34
|
+
```jsx
|
|
35
|
+
<div style={{position: 'relative', height: 100, width: '100%'}}>
|
|
36
|
+
<SubNav>
|
|
37
|
+
<SubNav.Heading href="#">AI</SubNav.Heading>
|
|
38
|
+
<SubNav.SubHeading href="#" aria-current="page">
|
|
39
|
+
Copilot
|
|
40
|
+
</SubNav.SubHeading>
|
|
41
|
+
<SubNav.Link href="#">What's new</SubNav.Link>
|
|
42
|
+
<SubNav.Link href="#">Plans & pricing</SubNav.Link>
|
|
43
|
+
<SubNav.Link href="#">For business</SubNav.Link>
|
|
44
|
+
</SubNav>
|
|
45
|
+
</div>
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### Optional CTA
|
|
49
|
+
|
|
50
|
+
```jsx
|
|
51
|
+
<div style={{position: 'relative', height: 100, width: '100%'}}>
|
|
52
|
+
<SubNav hasShadow>
|
|
53
|
+
<SubNav.Heading href="#">Features</SubNav.Heading>
|
|
54
|
+
<SubNav.Link href="#">Actions</SubNav.Link>
|
|
55
|
+
<SubNav.Link href="#">Packages</SubNav.Link>
|
|
56
|
+
<SubNav.Link href="#" aria-current="page">
|
|
57
|
+
Copilot
|
|
58
|
+
</SubNav.Link>
|
|
59
|
+
<SubNav.Link href="#">Code review</SubNav.Link>
|
|
60
|
+
<SubNav.Action href="#">CTA</SubNav.Action>
|
|
61
|
+
</SubNav>
|
|
62
|
+
</div>
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### Optional submenu
|
|
66
|
+
|
|
67
|
+
Submenus appear as a dropdown by default.
|
|
68
|
+
|
|
69
|
+
```jsx
|
|
70
|
+
<div style={{position: 'relative', height: 300, width: '100%'}}>
|
|
71
|
+
<SubNav hasShadow>
|
|
72
|
+
<SubNav.Heading href="#">Features</SubNav.Heading>
|
|
73
|
+
<SubNav.Link href="#" aria-current="page">
|
|
74
|
+
Actions
|
|
75
|
+
<SubNav.SubMenu>
|
|
76
|
+
<SubNav.Link href="#">Actions feature one</SubNav.Link>
|
|
77
|
+
<SubNav.Link href="#">Actions feature two</SubNav.Link>
|
|
78
|
+
<SubNav.Link href="#">Actions feature three</SubNav.Link>
|
|
79
|
+
<SubNav.Link href="#">Actions feature four</SubNav.Link>
|
|
80
|
+
</SubNav.SubMenu>
|
|
81
|
+
</SubNav.Link>
|
|
82
|
+
<SubNav.Link href="#">Packages</SubNav.Link>
|
|
83
|
+
<SubNav.Link href="#">Copilot</SubNav.Link>
|
|
84
|
+
<SubNav.Link href="#">Code review</SubNav.Link>
|
|
85
|
+
</SubNav>
|
|
86
|
+
</div>
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
### Optional anchor-based submenu
|
|
90
|
+
|
|
91
|
+
Ensure that the text of each `SubNav.Link` within the anchor-based submenu 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).
|
|
92
|
+
|
|
93
|
+
```jsx
|
|
94
|
+
<div style={{position: 'relative', height: 300, width: '100%', overflowY: 'scroll'}}>
|
|
95
|
+
<Box style={{height: 1000}}>
|
|
96
|
+
<SubNav>
|
|
97
|
+
<SubNav.Heading href="#">Features</SubNav.Heading>
|
|
98
|
+
<SubNav.Link href="#" aria-current="page">
|
|
99
|
+
Actions
|
|
100
|
+
<SubNav.SubMenu variant="anchor">
|
|
101
|
+
<SubNav.Link href="#">Actions feature one</SubNav.Link>
|
|
102
|
+
<SubNav.Link href="#">Actions feature two</SubNav.Link>
|
|
103
|
+
<SubNav.Link href="#">Actions feature three</SubNav.Link>
|
|
104
|
+
<SubNav.Link href="#">Actions feature four</SubNav.Link>
|
|
105
|
+
</SubNav.SubMenu>
|
|
106
|
+
</SubNav.Link>
|
|
107
|
+
<SubNav.Link href="#">Packages</SubNav.Link>
|
|
108
|
+
<SubNav.Link href="#">Copilot</SubNav.Link>
|
|
109
|
+
<SubNav.Link href="#">Code review</SubNav.Link>
|
|
110
|
+
</SubNav>
|
|
111
|
+
</Box>
|
|
112
|
+
</div>
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
## Component props
|
|
116
|
+
|
|
117
|
+
### SubNav `Required`
|
|
118
|
+
|
|
119
|
+
| name | type | default | required | description |
|
|
120
|
+
| ----------- | --------- | ------- | -------- | ----------------------------------------------------------------------------- |
|
|
121
|
+
| `fullWidth` | `boolean` | `false` | `false` | Allows the SubNav to be used at full width, removing default internal padding |
|
|
122
|
+
|
|
123
|
+
### SubNav.Heading `Required`
|
|
124
|
+
|
|
125
|
+
`SubNav.Heading` is a styled `a` tag which describes the overarching category of the other links within the SubNav. The `SubNav.Heading` is structurally identical to a `SubNav.Link` and differs only in visual styling.
|
|
126
|
+
|
|
127
|
+
| name | type | default | required | description |
|
|
128
|
+
| ------ | -------- | ------- | -------- | -------------------------------- |
|
|
129
|
+
| `href` | `string` | | | URL of the page the link goes to |
|
|
130
|
+
|
|
131
|
+
### SubNav.SubHeading
|
|
132
|
+
|
|
133
|
+
| name | type | default | required | description |
|
|
134
|
+
| ------ | -------- | ------- | -------- | -------------------------------- |
|
|
135
|
+
| `href` | `string` | | | URL of the page the link goes to |
|
|
136
|
+
|
|
137
|
+
### SubNav.Link `Required`
|
|
138
|
+
|
|
139
|
+
| name | type | default | required | description |
|
|
140
|
+
| -------------- | ---------------------- | ------- | -------- | ----------------------------------------------- |
|
|
141
|
+
| `aria-current` | `string` | | `true` | Required for indicating the current active link |
|
|
142
|
+
| `href` | `string` | | `true` | URL of the page the link goes to |
|
|
143
|
+
| `variant` | `'default' \| 'muted'` | `muted` | `false` | Alternative idle text appearance |
|
|
144
|
+
|
|
145
|
+
### SubNav.Action
|
|
146
|
+
|
|
147
|
+
| name | type | default | required | description |
|
|
148
|
+
| ------ | -------- | ------- | -------- | ---------------------------------- |
|
|
149
|
+
| `href` | `string` | | `false` | URL of the page the action goes to |
|
|
150
|
+
|
|
151
|
+
### SubNav.SubMenu
|
|
152
|
+
|
|
153
|
+
| name | type | default | required | description |
|
|
154
|
+
| ---------- | ----------------------- | ----------- | -------- | ------------------------------------- |
|
|
155
|
+
| `children` | `SubNav.Link` | | `false` | Container for submenu links |
|
|
156
|
+
| `variant` | `SubNavSubMenuVariants` | `'default'` | `false` | Alternative presentation for submenus |
|