@primer/react-brand 0.69.1-rc.0a4e5ff5 → 0.70.0-rc.11ae3568
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -0
- package/docs/components/ActionMenu/index.md +156 -0
- package/docs/components/AnchorNav/index.md +220 -0
- package/docs/components/Avatar/index.md +30 -0
- package/docs/components/Avatar/react.md +71 -0
- package/docs/components/Bento/index.md +223 -0
- package/docs/components/Breadcrumbs/index.md +51 -0
- package/docs/components/Breadcrumbs/react.md +53 -0
- package/docs/components/BreakoutBanner/index.md +102 -0
- package/docs/components/BreakoutBanner/react.md +174 -0
- package/docs/components/Button/index.md +133 -0
- package/docs/components/Button/react.md +94 -0
- package/docs/components/ButtonGroup/index.md +62 -0
- package/docs/components/ButtonGroup/react.md +60 -0
- package/docs/components/CTABanner/index.md +114 -0
- package/docs/components/CTABanner/react.md +343 -0
- package/docs/components/CTAForm/index.md +95 -0
- package/docs/components/CTAForm/react.md +103 -0
- package/docs/components/Card/index.md +126 -0
- package/docs/components/Card/react.md +240 -0
- package/docs/components/ComparisonTable/index.md +381 -0
- package/docs/components/EyebrowBanner/index.md +153 -0
- package/docs/components/FAQ/index.md +66 -0
- package/docs/components/FAQ/react.md +477 -0
- package/docs/components/Footnotes/index.md +41 -0
- package/docs/components/Footnotes/react.md +156 -0
- package/docs/components/Hero/index.md +65 -0
- package/docs/components/Hero/react.md +215 -0
- package/docs/components/IDE/index.md +278 -0
- package/docs/components/Icon/index.md +87 -0
- package/docs/components/Image/index.md +51 -0
- package/docs/components/Image/react.md +160 -0
- package/docs/components/Label/index.md +86 -0
- package/docs/components/Label/react.md +76 -0
- package/docs/components/LogoSuite/index.md +93 -0
- package/docs/components/LogoSuite/react.md +667 -0
- package/docs/components/MediaPlaylist/index.md +133 -0
- package/docs/components/MinimalFooter/index.md +94 -0
- package/docs/components/NavList/index.md +210 -0
- package/docs/components/OrderedList/index.md +55 -0
- package/docs/components/OrderedList/react.md +41 -0
- package/docs/components/Pagination/index.md +80 -0
- package/docs/components/Pillar/index.md +114 -0
- package/docs/components/Pillar/react.md +175 -0
- package/docs/components/PricingOptions/index.md +509 -0
- package/docs/components/Prose/index.md +158 -0
- package/docs/components/River/index.md +190 -0
- package/docs/components/River/react.md +295 -0
- package/docs/components/RiverAccordion/index.md +200 -0
- package/docs/components/RiverBreakoutTabs/index.md +171 -0
- package/docs/components/Section/index.md +40 -0
- package/docs/components/Section/react.md +137 -0
- package/docs/components/SectionIntro/index.md +77 -0
- package/docs/components/SectionIntro/react.md +107 -0
- package/docs/components/SectionIntroStacked/index.md +226 -0
- package/docs/components/Statistic/index.md +111 -0
- package/docs/components/SubNav/index.md +156 -0
- package/docs/components/SubdomainNavBar/index.md +136 -0
- package/docs/components/Tabs/index.md +243 -0
- package/docs/components/Testimonial/index.md +138 -0
- package/docs/components/Testimonial/react.md +191 -0
- package/docs/components/Tiles/index.md +1441 -0
- package/docs/components/Timeline/index.md +68 -0
- package/docs/components/Token/index.md +86 -0
- package/docs/components/Tooltip/index.md +61 -0
- package/docs/components/UnorderedList/index.md +67 -0
- package/docs/components/UnorderedList/react.md +89 -0
- package/docs/components/VideoPlayer/index.md +234 -0
- package/docs/components/index.md +53 -0
- package/docs/forms/Checkbox/index.md +86 -0
- package/docs/forms/Checkbox/react.md +111 -0
- package/docs/forms/CheckboxGroup/index.md +37 -0
- package/docs/forms/CheckboxGroup/react.md +175 -0
- package/docs/forms/FormControl/index.md +404 -0
- package/docs/forms/Radio/index.md +63 -0
- package/docs/forms/Radio/react.md +68 -0
- package/docs/forms/RadioGroup/index.md +45 -0
- package/docs/forms/RadioGroup/react.md +151 -0
- package/docs/forms/Select/index.md +244 -0
- package/docs/forms/TextArea/index.md +126 -0
- package/docs/forms/TextInput/index.md +221 -0
- package/docs/forms/index.md +14 -0
- package/docs/getting-started/esm.md +49 -0
- package/docs/getting-started/index.md +98 -0
- package/docs/index.md +99 -0
- package/docs/introduction/animation.md +127 -0
- package/docs/introduction/index.md +10 -0
- package/docs/introduction/mcp.md +52 -0
- package/docs/introduction/theming.md +132 -0
- package/docs/layout/Box/index.md +46 -0
- package/docs/layout/Box/react.md +284 -0
- package/docs/layout/Grid/index.md +132 -0
- package/docs/layout/Grid/react.md +117 -0
- package/docs/layout/Stack/index.md +60 -0
- package/docs/layout/Stack/react.md +166 -0
- package/docs/layout/index.md +9 -0
- package/docs/primitives/color.md +6 -0
- package/docs/primitives/index.md +8 -0
- package/docs/typography/Heading/index.md +53 -0
- package/docs/typography/Heading/react.md +182 -0
- package/docs/typography/Text/index.md +68 -0
- package/docs/typography/Text/react.md +125 -0
- package/docs/typography/index.md +8 -0
- package/esm/Footnotes/{Footnotes.module-Du0yaz7E.css → Footnotes.module-DG9Vx76y.css} +1 -1
- package/esm/Footnotes/Footnotes.module.js +1 -1
- package/esm/Footnotes/Footnotes.module.js.map +1 -1
- package/esm/Heading/Heading.d.ts +10 -0
- package/esm/Heading/Heading.d.ts.map +1 -1
- package/esm/Heading/Heading.js.map +1 -1
- package/esm/Hero/Hero.d.ts.map +1 -1
- package/esm/Hero/Hero.js +60 -58
- package/esm/Hero/Hero.js.map +1 -1
- package/esm/Hero/{Hero.module-Cy82CEW3.css → Hero.module-DqG5f0MT.css} +1 -1
- package/esm/Hero/Hero.module.js +1 -1
- package/esm/Hero/Hero.module.js.map +1 -1
- package/esm/NavList/NavList.d.ts +86 -0
- package/esm/NavList/NavList.d.ts.map +1 -0
- package/esm/NavList/NavList.js +277 -0
- package/esm/NavList/NavList.js.map +1 -0
- package/esm/NavList/NavList.module-CZFnt8br.css +1 -0
- package/esm/NavList/NavList.module.js +32 -0
- package/esm/NavList/NavList.module.js.map +1 -0
- package/esm/NavList/index.d.ts +2 -0
- package/esm/NavList/index.d.ts.map +1 -0
- package/esm/SectionIntroStacked/{SectionIntroStacked.module-Cr7kUqTH.css → SectionIntroStacked.module-C3cmwHDY.css} +1 -1
- package/esm/SectionIntroStacked/SectionIntroStacked.module.js +1 -1
- package/esm/SectionIntroStacked/SectionIntroStacked.module.js.map +1 -1
- package/esm/Token/Token.js +0 -1
- package/esm/Token/Token.js.map +1 -1
- package/esm/Token/{Token.module-BcKU1KwK.css → Token.module-DtWE9IPI.css} +1 -1
- package/esm/Token/Token.module.js +1 -1
- package/esm/Token/Token.module.js.map +1 -1
- package/esm/index.d.ts +1 -0
- package/esm/index.d.ts.map +1 -1
- package/esm/index.esm.js +12 -11
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/nav-list/colors-with-modes-CGyt2t8f.css +1 -0
- package/lib/Grid/Grid.d.ts +1 -1
- package/lib/Heading/Heading.d.ts +10 -0
- package/lib/NavList/NavList.d.ts +85 -0
- package/lib/NavList/index.d.ts +1 -0
- package/lib/SubNav/SubNav.d.ts +1 -1
- package/lib/Token/Token.d.ts +1 -1
- package/lib/css/main.css +613 -74
- package/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/base/colors/light.css +1 -1
- package/lib/design-tokens/css/tokens/base/size/size.css +1 -1
- package/lib/design-tokens/css/tokens/base/typography/typography.css +1 -1
- package/lib/design-tokens/css/tokens/functional/animation/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/colors/global-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/colors/global.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/accordion/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/action-menu/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/anchor-nav/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/bento/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/blinking-cursor/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/breadcrumbs/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/button/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/card/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/card/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/card/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/comparison-table/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/comparison-table/comparison-table.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/cta-banner/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/eyebrow-banner.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/faq.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/footer/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/footer/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/grid/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/grid/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/grid/grid.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/hero/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/icon/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/icon/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/ide/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/ide/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/image/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/inline-link/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/inline-link/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/inline-link/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/label/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/label/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/link/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/link/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/logosuite/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/logosuite/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/logosuite/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/media-playlist/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/media-playlist/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/nav-list/colors-with-modes.css +13 -0
- package/lib/design-tokens/css/tokens/functional/components/pricing-options/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/pricing-options/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/pricing-options/pricing-options.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/prose/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/prose/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/river/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/river/river.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/river-story-scroll/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/section/section.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/statistic/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/sub-nav/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/sub-nav/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/subdomain-nav-bar/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/tabs/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/tabs/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/tabs/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/testimonial/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/testimonial/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/testimonial/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/text-cursor-animation/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/text-cursor-animation/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/tiles/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/timeline/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/timeline/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/timeline/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/token/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/token/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/tooltip/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/tooltip/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/video-player/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/video-player/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/border.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/breakpoints.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/size-coarse.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/size-fine.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/size.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/viewport.css +1 -1
- package/lib/design-tokens/css/tokens/functional/typography/typography-responsive.css +1 -1
- package/lib/design-tokens/css/tokens/functional/typography/typography.css +1 -1
- package/lib/design-tokens/js/module/tokens/base/colors/light.js +1 -1
- package/lib/design-tokens/js/module/tokens/base/size/size.js +1 -1
- package/lib/design-tokens/js/module/tokens/base/typography/typography.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/animation/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/colors/global.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/bento/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/card/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/card/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/comparison-table/comparison-table.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/faq/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/faq/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/faq/faq.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/footer/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/grid/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/grid/grid.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/hero/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/icon/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/ide/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/image/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/inline-link/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/inline-link/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/label/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/link/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/logosuite/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/logosuite/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/media-playlist/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/pricing-options/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/pricing-options/pricing-options.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/prose/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/river/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/river/river.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/section/section.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/statistic/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/sub-nav/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/tabs/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/tabs/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/testimonial/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/testimonial/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/text-cursor-animation/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/timeline/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/timeline/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/token/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/tooltip/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/video-player/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/border.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/breakpoints.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/size-coarse.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/size-fine.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/size.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/viewport.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/typography/typography-responsive.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/typography/typography.js +1 -1
- package/lib/design-tokens/js/tokens/base/colors/light.js +1 -1
- package/lib/design-tokens/js/tokens/base/size/size.js +1 -1
- package/lib/design-tokens/js/tokens/base/typography/typography.js +1 -1
- package/lib/design-tokens/js/tokens/functional/animation/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/colors/global.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/bento/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/card/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/card/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/comparison-table/comparison-table.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/faq/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/faq/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/faq/faq.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/footer/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/grid/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/grid/grid.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/hero/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/icon/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/ide/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/image/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/inline-link/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/inline-link/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/label/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/link/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/logosuite/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/logosuite/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/media-playlist/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/pricing-options/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/pricing-options/pricing-options.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/prose/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/river/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/river/river.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/section/section.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/statistic/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/sub-nav/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/tabs/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/tabs/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/testimonial/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/testimonial/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/text-cursor-animation/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/timeline/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/timeline/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/token/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/tooltip/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/video-player/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/border.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/breakpoints.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/size-coarse.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/size-fine.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/size.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/viewport.js +1 -1
- package/lib/design-tokens/js/tokens/functional/typography/typography-responsive.js +1 -1
- package/lib/design-tokens/js/tokens/functional/typography/typography.js +1 -1
- package/lib/design-tokens/scss/tokens/base/colors/light.scss +1 -1
- package/lib/design-tokens/scss/tokens/base/size/size.scss +1 -1
- package/lib/design-tokens/scss/tokens/base/typography/typography.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/animation/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/colors/global.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/bento/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/card/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/card/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/comparison-table/comparison-table.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/eyebrow-banner/eyebrow-banner.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/faq/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/faq/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/faq/faq.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/footer/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/frosted-glass-vfx/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/grid/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/grid/grid.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/hero/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/icon/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/ide/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/image/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/inline-link/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/inline-link/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/label/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/link/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/logosuite/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/logosuite/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/media-playlist/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/pricing-options/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/pricing-options/pricing-options.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/prose/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/river/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/river/river.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/section/section.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/statistic/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/sub-nav/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/tabs/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/tabs/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/testimonial/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/testimonial/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/text-cursor-animation/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/timeline/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/timeline/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/token/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/tooltip/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/video-player/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/size/border.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/size/breakpoints.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/size/size-coarse.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/size/size-fine.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/size/size.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/size/viewport.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/typography/typography-responsive.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/typography/typography.scss +1 -1
- package/lib/design-tokens/ts/tokens/base/colors/light.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/base/colors/light.js +1 -1
- package/lib/design-tokens/ts/tokens/base/size/size.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/base/size/size.js +1 -1
- package/lib/design-tokens/ts/tokens/base/typography/typography.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/base/typography/typography.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/animation/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/animation/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/colors/global.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/colors/global.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/bento/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/bento/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/card/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/card/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/card/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/card/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/eyebrow-banner/eyebrow-banner.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/faq.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/faq.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/footer/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/footer/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/frosted-glass-vfx/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/grid/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/grid/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/grid/grid.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/grid/grid.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/hero/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/hero/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/icon/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/icon/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/ide/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/ide/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/image/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/image/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/label/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/label/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/link/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/link/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/logosuite/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/logosuite/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/logosuite/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/logosuite/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/media-playlist/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/media-playlist/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/pricing-options/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/pricing-options/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/pricing-options/pricing-options.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/pricing-options/pricing-options.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/prose/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/prose/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/river/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/river/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/river/river.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/river/river.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/section/section.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/section/section.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/statistic/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/statistic/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/sub-nav/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/sub-nav/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/tabs/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/tabs/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/tabs/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/tabs/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/testimonial/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/testimonial/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/testimonial/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/testimonial/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/text-cursor-animation/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/text-cursor-animation/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/timeline/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/timeline/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/timeline/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/timeline/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/token/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/token/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/tooltip/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/tooltip/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/video-player/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/video-player/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/border.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/border.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/breakpoints.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/breakpoints.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-coarse.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-coarse.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-fine.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-fine.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/viewport.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/viewport.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography.js +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -1
- package/llms.txt +97 -0
- package/package.json +17 -5
- package/esm/Hero/Hero.figma.d.ts +0 -2
- package/esm/Hero/Hero.figma.d.ts.map +0 -1
- package/esm/IDE/fixtures/content.d.ts +0 -7
- package/esm/IDE/fixtures/content.d.ts.map +0 -1
- package/esm/LogoSuite/LogoSuite.figma.d.ts +0 -2
- package/esm/LogoSuite/LogoSuite.figma.d.ts.map +0 -1
- package/esm/LogoSuite/LogoSuite.fixtures.d.ts +0 -2
- package/esm/LogoSuite/LogoSuite.fixtures.d.ts.map +0 -1
- package/esm/MonaSans/MonaSans.d.ts +0 -11
- package/esm/MonaSans/MonaSans.d.ts.map +0 -1
- package/esm/MonaSans/index.d.ts +0 -2
- package/esm/MonaSans/index.d.ts.map +0 -1
- package/esm/PricingOptions/PricingOptions.figma.d.ts +0 -2
- package/esm/PricingOptions/PricingOptions.figma.d.ts.map +0 -1
- package/esm/Tiles/Tiles.fixtures.d.ts +0 -7
- package/esm/Tiles/Tiles.fixtures.d.ts.map +0 -1
- package/esm/fixtures/third-party-logos/AzureLogo.d.ts +0 -5
- package/esm/fixtures/third-party-logos/AzureLogo.d.ts.map +0 -1
- package/esm/fixtures/third-party-logos/JetBrainsLogo.d.ts +0 -5
- package/esm/fixtures/third-party-logos/JetBrainsLogo.d.ts.map +0 -1
- package/esm/fixtures/third-party-logos/MicrosoftCopilotLogo.d.ts +0 -5
- package/esm/fixtures/third-party-logos/MicrosoftCopilotLogo.d.ts.map +0 -1
- package/esm/fixtures/third-party-logos/MicrosoftLogo.d.ts +0 -5
- package/esm/fixtures/third-party-logos/MicrosoftLogo.d.ts.map +0 -1
- package/esm/fixtures/third-party-logos/NeoVimLogo.d.ts +0 -5
- package/esm/fixtures/third-party-logos/NeoVimLogo.d.ts.map +0 -1
- package/esm/fixtures/third-party-logos/VisualStudioCodeLogo.d.ts +0 -5
- package/esm/fixtures/third-party-logos/VisualStudioCodeLogo.d.ts.map +0 -1
- package/esm/fixtures/third-party-logos/VisualStudioLogo.d.ts +0 -5
- package/esm/fixtures/third-party-logos/VisualStudioLogo.d.ts.map +0 -1
- package/esm/list/ListItem/index.d.ts +0 -2
- package/esm/list/ListItem/index.d.ts.map +0 -1
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOne.d.ts +0 -13
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOne.d.ts.map +0 -1
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOneSideBySide.d.ts +0 -14
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOneSideBySide.d.ts.map +0 -1
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/components/FormExample.d.ts +0 -8
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/components/FormExample.d.ts.map +0 -1
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/index.d.ts +0 -2
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/index.d.ts.map +0 -1
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/FeaturePreviewLevelTwo.d.ts +0 -49
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/FeaturePreviewLevelTwo.d.ts.map +0 -1
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/index.d.ts +0 -2
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/index.d.ts.map +0 -1
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/FeaturePreviewLevelZero.d.ts +0 -17
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/FeaturePreviewLevelZero.d.ts.map +0 -1
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/index.d.ts +0 -2
- package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/index.d.ts.map +0 -1
- package/esm/recipes/FeaturePreviewLPs/helpers.d.ts +0 -30
- package/esm/recipes/FeaturePreviewLPs/helpers.d.ts.map +0 -1
- package/esm/recipes/FlexTemplate/FlexSection/FlexSection.d.ts +0 -8
- package/esm/recipes/FlexTemplate/FlexSection/FlexSection.d.ts.map +0 -1
- package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiver.d.ts +0 -2
- package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiver.d.ts.map +0 -1
- package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiverAccordion.d.ts +0 -8
- package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiverAccordion.d.ts.map +0 -1
- package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiverBreakout.d.ts +0 -2
- package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiverBreakout.d.ts.map +0 -1
- package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulTestimonials.d.ts +0 -8
- package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulTestimonials.d.ts.map +0 -1
- package/esm/recipes/FlexTemplate/FlexSection/components/FlexSectionTestimonials.d.ts +0 -8
- package/esm/recipes/FlexTemplate/FlexSection/components/FlexSectionTestimonials.d.ts.map +0 -1
- package/esm/recipes/FlexTemplate/FlexSection/components/index.d.ts +0 -6
- package/esm/recipes/FlexTemplate/FlexSection/components/index.d.ts.map +0 -1
- package/esm/recipes/FlexTemplate/FlexSection/index.d.ts +0 -2
- package/esm/recipes/FlexTemplate/FlexSection/index.d.ts.map +0 -1
- package/esm/recipes/FlexTemplate/FlexTemplate.d.ts +0 -7
- package/esm/recipes/FlexTemplate/FlexTemplate.d.ts.map +0 -1
- package/esm/recipes/FlexTemplate/FlexTemplate.types.d.ts +0 -318
- package/esm/recipes/FlexTemplate/FlexTemplate.types.d.ts.map +0 -1
- package/esm/recipes/FlexTemplate/FlexTemplateTrailingSection/FlexTemplateTrailingSection.d.ts +0 -6
- package/esm/recipes/FlexTemplate/FlexTemplateTrailingSection/FlexTemplateTrailingSection.d.ts.map +0 -1
- package/esm/recipes/FlexTemplate/FlexTemplateTrailingSection/index.d.ts +0 -3
- package/esm/recipes/FlexTemplate/FlexTemplateTrailingSection/index.d.ts.map +0 -1
- package/esm/recipes/FlexTemplate/fixtures/content.d.ts +0 -2
- package/esm/recipes/FlexTemplate/fixtures/content.d.ts.map +0 -1
- package/esm/recipes/FlexTemplate/index.d.ts +0 -4
- package/esm/recipes/FlexTemplate/index.d.ts.map +0 -1
- package/esm/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.content.d.ts +0 -68
- package/esm/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.content.d.ts.map +0 -1
- package/esm/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.d.ts +0 -7
- package/esm/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.d.ts.map +0 -1
- package/esm/recipes/Flexsuite/Category/index.d.ts +0 -2
- package/esm/recipes/Flexsuite/Category/index.d.ts.map +0 -1
- package/esm/recipes/Flexsuite/Details/FlexSuiteAIDetailsPlaylist/FlexSuiteAIDetailsPlaylist.content.d.ts +0 -49
- package/esm/recipes/Flexsuite/Details/FlexSuiteAIDetailsPlaylist/FlexSuiteAIDetailsPlaylist.content.d.ts.map +0 -1
- package/esm/recipes/Flexsuite/Details/FlexSuiteAIDetailsPlaylist/FlexSuiteAIDetailsPlaylist.d.ts +0 -7
- package/esm/recipes/Flexsuite/Details/FlexSuiteAIDetailsPlaylist/FlexSuiteAIDetailsPlaylist.d.ts.map +0 -1
- package/esm/recipes/Flexsuite/Details/index.d.ts +0 -4
- package/esm/recipes/Flexsuite/Details/index.d.ts.map +0 -1
- package/esm/recipes/Flexsuite/Overview/FlexSuiteAIOverview.content.d.ts +0 -101
- package/esm/recipes/Flexsuite/Overview/FlexSuiteAIOverview.content.d.ts.map +0 -1
- package/esm/recipes/Flexsuite/Overview/FlexSuiteAIOverview.d.ts +0 -7
- package/esm/recipes/Flexsuite/Overview/FlexSuiteAIOverview.d.ts.map +0 -1
- package/esm/recipes/Flexsuite/Overview/FlexSuiteOverview.content.d.ts +0 -5
- package/esm/recipes/Flexsuite/Overview/FlexSuiteOverview.content.d.ts.map +0 -1
- package/esm/recipes/Flexsuite/Overview/index.d.ts +0 -4
- package/esm/recipes/Flexsuite/Overview/index.d.ts.map +0 -1
- package/esm/recipes/SolutionTemplates/CategoryPage/CategoryPage.d.ts +0 -16
- package/esm/recipes/SolutionTemplates/CategoryPage/CategoryPage.d.ts.map +0 -1
- package/esm/recipes/SolutionTemplates/SolutionPage/SolutionPage.d.ts +0 -33
- package/esm/recipes/SolutionTemplates/SolutionPage/SolutionPage.d.ts.map +0 -1
- package/esm/recipes/SolutionTemplates/SolutionPage/index.d.ts +0 -2
- package/esm/recipes/SolutionTemplates/SolutionPage/index.d.ts.map +0 -1
- package/esm/recipes/SolutionTemplates/SolutionsOverview/SolutionsOverview.d.ts +0 -17
- package/esm/recipes/SolutionTemplates/SolutionsOverview/SolutionsOverview.d.ts.map +0 -1
- package/esm/recipes/SolutionTemplates/helpers.d.ts +0 -127
- package/esm/recipes/SolutionTemplates/helpers.d.ts.map +0 -1
- package/esm/recipes/SolutionTemplates/index.d.ts +0 -1
- package/esm/recipes/SolutionTemplates/index.d.ts.map +0 -1
- package/esm/recipes/seo/Article/Article.d.ts +0 -14
- package/esm/recipes/seo/Article/Article.d.ts.map +0 -1
- package/esm/recipes/seo/Article/ArticleToC.d.ts +0 -4
- package/esm/recipes/seo/Article/ArticleToC.d.ts.map +0 -1
- package/esm/recipes/seo/Article/article-shared.d.ts +0 -5
- package/esm/recipes/seo/Article/article-shared.d.ts.map +0 -1
- package/esm/recipes/seo/Article/index.d.ts +0 -2
- package/esm/recipes/seo/Article/index.d.ts.map +0 -1
- package/esm/recipes/seo/Category/CategoryPage.d.ts +0 -9
- package/esm/recipes/seo/Category/CategoryPage.d.ts.map +0 -1
- package/esm/recipes/seo/Category/index.d.ts +0 -2
- package/esm/recipes/seo/Category/index.d.ts.map +0 -1
- package/esm/recipes/seo/helpers.d.ts +0 -16
- package/esm/recipes/seo/helpers.d.ts.map +0 -1
- package/esm/recipes/seo/index.d.ts +0 -1
- package/esm/recipes/seo/index.d.ts.map +0 -1
- package/esm/river/River.figma.d.ts +0 -2
- package/esm/river/River.figma.d.ts.map +0 -1
- package/lib/Hero/Hero.figma.d.ts +0 -1
- package/lib/IDE/fixtures/content.d.ts +0 -6
- package/lib/LogoSuite/LogoSuite.figma.d.ts +0 -1
- package/lib/LogoSuite/LogoSuite.fixtures.d.ts +0 -1
- package/lib/MonaSans/MonaSans.d.ts +0 -10
- package/lib/MonaSans/index.d.ts +0 -1
- package/lib/PricingOptions/PricingOptions.figma.d.ts +0 -1
- package/lib/Tiles/Tiles.fixtures.d.ts +0 -6
- package/lib/fixtures/third-party-logos/AzureLogo.d.ts +0 -4
- package/lib/fixtures/third-party-logos/JetBrainsLogo.d.ts +0 -4
- package/lib/fixtures/third-party-logos/MicrosoftCopilotLogo.d.ts +0 -4
- package/lib/fixtures/third-party-logos/MicrosoftLogo.d.ts +0 -4
- package/lib/fixtures/third-party-logos/NeoVimLogo.d.ts +0 -4
- package/lib/fixtures/third-party-logos/VisualStudioCodeLogo.d.ts +0 -4
- package/lib/fixtures/third-party-logos/VisualStudioLogo.d.ts +0 -4
- package/lib/index.esm.d.ts +0 -7
- package/lib/list/ListItem/index.d.ts +0 -1
- package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOne.d.ts +0 -12
- package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOneSideBySide.d.ts +0 -13
- package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/components/FormExample.d.ts +0 -7
- package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/index.d.ts +0 -1
- package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/FeaturePreviewLevelTwo.d.ts +0 -48
- package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/index.d.ts +0 -1
- package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/FeaturePreviewLevelZero.d.ts +0 -16
- package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/index.d.ts +0 -1
- package/lib/recipes/FeaturePreviewLPs/helpers.d.ts +0 -29
- package/lib/recipes/FlexTemplate/FlexSection/FlexSection.d.ts +0 -7
- package/lib/recipes/FlexTemplate/FlexSection/components/ContentfulRiver.d.ts +0 -1
- package/lib/recipes/FlexTemplate/FlexSection/components/ContentfulRiverAccordion.d.ts +0 -7
- package/lib/recipes/FlexTemplate/FlexSection/components/ContentfulRiverBreakout.d.ts +0 -1
- package/lib/recipes/FlexTemplate/FlexSection/components/ContentfulTestimonials.d.ts +0 -7
- package/lib/recipes/FlexTemplate/FlexSection/components/FlexSectionTestimonials.d.ts +0 -7
- package/lib/recipes/FlexTemplate/FlexSection/components/index.d.ts +0 -5
- package/lib/recipes/FlexTemplate/FlexSection/index.d.ts +0 -1
- package/lib/recipes/FlexTemplate/FlexTemplate.d.ts +0 -6
- package/lib/recipes/FlexTemplate/FlexTemplate.types.d.ts +0 -317
- package/lib/recipes/FlexTemplate/FlexTemplateTrailingSection/FlexTemplateTrailingSection.d.ts +0 -5
- package/lib/recipes/FlexTemplate/FlexTemplateTrailingSection/index.d.ts +0 -2
- package/lib/recipes/FlexTemplate/fixtures/content.d.ts +0 -1
- package/lib/recipes/FlexTemplate/index.d.ts +0 -3
- package/lib/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.content.d.ts +0 -67
- package/lib/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.d.ts +0 -6
- package/lib/recipes/Flexsuite/Category/index.d.ts +0 -1
- package/lib/recipes/Flexsuite/Details/FlexSuiteAIDetailsPlaylist/FlexSuiteAIDetailsPlaylist.content.d.ts +0 -48
- package/lib/recipes/Flexsuite/Details/FlexSuiteAIDetailsPlaylist/FlexSuiteAIDetailsPlaylist.d.ts +0 -6
- package/lib/recipes/Flexsuite/Details/index.d.ts +0 -3
- package/lib/recipes/Flexsuite/Overview/FlexSuiteAIOverview.content.d.ts +0 -100
- package/lib/recipes/Flexsuite/Overview/FlexSuiteAIOverview.d.ts +0 -6
- package/lib/recipes/Flexsuite/Overview/FlexSuiteOverview.content.d.ts +0 -4
- package/lib/recipes/Flexsuite/Overview/index.d.ts +0 -3
- package/lib/recipes/SolutionTemplates/CategoryPage/CategoryPage.d.ts +0 -15
- package/lib/recipes/SolutionTemplates/SolutionPage/SolutionPage.d.ts +0 -32
- package/lib/recipes/SolutionTemplates/SolutionPage/index.d.ts +0 -1
- package/lib/recipes/SolutionTemplates/SolutionsOverview/SolutionsOverview.d.ts +0 -16
- package/lib/recipes/SolutionTemplates/helpers.d.ts +0 -126
- package/lib/recipes/SolutionTemplates/index.d.ts +0 -0
- package/lib/recipes/seo/Article/Article.d.ts +0 -13
- package/lib/recipes/seo/Article/ArticleToC.d.ts +0 -3
- package/lib/recipes/seo/Article/article-shared.d.ts +0 -4
- package/lib/recipes/seo/Article/index.d.ts +0 -1
- package/lib/recipes/seo/Category/CategoryPage.d.ts +0 -8
- package/lib/recipes/seo/Category/index.d.ts +0 -1
- package/lib/recipes/seo/helpers.d.ts +0 -15
- package/lib/recipes/seo/index.d.ts +0 -0
- package/lib/river/River.figma.d.ts +0 -1
package/README.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# @primer/react-brand
|
|
2
|
+
|
|
3
|
+
GitHub's design system for building React-based marketing websites and brand-led digital experiences.
|
|
4
|
+
|
|
5
|
+
> **Are you an AI agent or tool?** Version-matched documentation is bundled with this package. Start at `node_modules/@primer/react-brand/llms.txt`. Prefer bundled documentation over the website linked below, which tracks the latest release only, and could describe unreleased features, or omit ones that were retired in the version you have installed.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install @primer/react-brand
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Documentation
|
|
14
|
+
|
|
15
|
+
We publish our docs in two ways:
|
|
16
|
+
|
|
17
|
+
1. Bundled and matched to your installed version: This is recommended for agents and humans using older versions of the library. Start with [`llms.txt`](./llms.txt) at the package root, which indexes every component and links into [`docs/`](./docs/).
|
|
18
|
+
|
|
19
|
+
2. Latest docs at [primer.style/brand](https://primer.style/brand), which is the latest version of our docs, and may show unreleased features.
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Action menu
|
|
3
|
+
description: Use the action menu component to display a list of actions or selections that expand through a trigger button.
|
|
4
|
+
keywords: ['dropdown', 'select', 'menu', 'options', 'popup']
|
|
5
|
+
ready: true
|
|
6
|
+
figma: 'https://www.figma.com/file/BJ95AjraesmRCWsKA013GS/Primer-Brand?node-id=4912%3A32799'
|
|
7
|
+
source: https://github.com/primer/brand/blob/main/packages/react/src/ActionMenu/ActionMenu.tsx
|
|
8
|
+
storybook: '/brand/storybook/?path=/story/components-actionmenu--default'
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
```js
|
|
12
|
+
import {ActionMenu} from '@primer/react-brand'
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Examples
|
|
16
|
+
|
|
17
|
+
### Default
|
|
18
|
+
|
|
19
|
+
```jsx
|
|
20
|
+
<ActionMenu onSelect={newValue => alert(`Pressed ${newValue}`)}>
|
|
21
|
+
<ActionMenu.Button>Open menu</ActionMenu.Button>
|
|
22
|
+
<ActionMenu.Overlay aria-label="GitHub features">
|
|
23
|
+
<ActionMenu.Item value="Copilot" selected>
|
|
24
|
+
Copilot
|
|
25
|
+
</ActionMenu.Item>
|
|
26
|
+
<ActionMenu.Item value="Codespaces">Codespaces</ActionMenu.Item>
|
|
27
|
+
<ActionMenu.Item value="CodeQL">CodeQL</ActionMenu.Item>
|
|
28
|
+
</ActionMenu.Overlay>
|
|
29
|
+
</ActionMenu>
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### Single selection
|
|
33
|
+
|
|
34
|
+
In single selection mode it is important to apply an `aria-label` to the
|
|
35
|
+
`ActionMenu.Button` child. This provides the user with important and durable
|
|
36
|
+
context on the selection they need to make.
|
|
37
|
+
|
|
38
|
+
```jsx filename="noinline"
|
|
39
|
+
const App = () => {
|
|
40
|
+
const [selection, setSelection] = React.useState('Copilot')
|
|
41
|
+
|
|
42
|
+
return (
|
|
43
|
+
<ActionMenu onSelect={newValue => setSelection(newValue)} selectionVariant="single">
|
|
44
|
+
<ActionMenu.Button>Select a GitHub feature</ActionMenu.Button>
|
|
45
|
+
<ActionMenu.Overlay aria-label="GitHub features">
|
|
46
|
+
<ActionMenu.Item value="Copilot" selected={'Copilot' === selection}>
|
|
47
|
+
Copilot
|
|
48
|
+
</ActionMenu.Item>
|
|
49
|
+
<ActionMenu.Item value="Codespaces" selected={'Codespaces' === selection}>
|
|
50
|
+
Codespaces
|
|
51
|
+
</ActionMenu.Item>
|
|
52
|
+
<ActionMenu.Item value="CodeQL" selected={'CodeQL' === selection}>
|
|
53
|
+
CodeQL
|
|
54
|
+
</ActionMenu.Item>
|
|
55
|
+
</ActionMenu.Overlay>
|
|
56
|
+
</ActionMenu>
|
|
57
|
+
)
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
render(<App />)
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### Split-button layout
|
|
64
|
+
|
|
65
|
+
In this `mode`, the `ActionMenu` can be shown as a split button with an action (left) and dropdown button (right) with an additional list of actions.
|
|
66
|
+
|
|
67
|
+
> In split-button mode, each action must be rendered as a link element using the as="a" prop, including the main button
|
|
68
|
+
> and all menu items.
|
|
69
|
+
|
|
70
|
+
```jsx
|
|
71
|
+
<ActionMenu mode="split-button">
|
|
72
|
+
<ActionMenu.Button variant="subtle" as="a" href="#location-for-link" leadingVisual={<StarIcon />}>
|
|
73
|
+
Action 1
|
|
74
|
+
</ActionMenu.Button>
|
|
75
|
+
<ActionMenu.Overlay aria-label="Alternative actions">
|
|
76
|
+
<ActionMenu.Item as="a" href="#location-for-link" leadingVisual={<StarIcon />}>
|
|
77
|
+
Action 1
|
|
78
|
+
</ActionMenu.Item>
|
|
79
|
+
<ActionMenu.Item as="a" href="#location-for-link-2" leadingVisual={<StarIcon />}>
|
|
80
|
+
Action 2
|
|
81
|
+
</ActionMenu.Item>
|
|
82
|
+
<ActionMenu.Item as="a" href="#location-for-link-3" leadingVisual={<StarIcon />}>
|
|
83
|
+
Action 3
|
|
84
|
+
</ActionMenu.Item>
|
|
85
|
+
<ActionMenu.Item as="a" href="#location-for-link-4" leadingVisual={<StarIcon />}>
|
|
86
|
+
Action 4
|
|
87
|
+
</ActionMenu.Item>
|
|
88
|
+
</ActionMenu.Overlay>
|
|
89
|
+
</ActionMenu>
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### Sizes
|
|
93
|
+
|
|
94
|
+
`ActionMenu` is currently available in `small` and `medium` sizes, with the latter being the default.
|
|
95
|
+
|
|
96
|
+
```jsx
|
|
97
|
+
<Stack direction="horizontal" alignItems="center" gap={112}>
|
|
98
|
+
<ActionMenu size="small">
|
|
99
|
+
<ActionMenu.Button>Small</ActionMenu.Button>
|
|
100
|
+
<ActionMenu.Overlay aria-label="Menu items">
|
|
101
|
+
<ActionMenu.Item value="Item 1">Item 1</ActionMenu.Item>
|
|
102
|
+
<ActionMenu.Item value="Item 2">Item 2</ActionMenu.Item>
|
|
103
|
+
</ActionMenu.Overlay>
|
|
104
|
+
</ActionMenu>
|
|
105
|
+
<ActionMenu size="medium">
|
|
106
|
+
<ActionMenu.Button>Medium</ActionMenu.Button>
|
|
107
|
+
<ActionMenu.Overlay aria-label="Menu items">
|
|
108
|
+
<ActionMenu.Item value="Item 1">Item 1</ActionMenu.Item>
|
|
109
|
+
<ActionMenu.Item value="Item 2">Item 2</ActionMenu.Item>
|
|
110
|
+
</ActionMenu.Overlay>
|
|
111
|
+
</ActionMenu>
|
|
112
|
+
</Stack>
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
## Component props
|
|
116
|
+
|
|
117
|
+
### ActionMenu `Required`
|
|
118
|
+
|
|
119
|
+
| name | type | default | required | description |
|
|
120
|
+
| ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- | -------- | --------------------------------------------------------------------- |
|
|
121
|
+
| `disabled` | `boolean` | `false` | `false` | Controls the ActionMenu active/inactive state |
|
|
122
|
+
| `open` | `boolean` | `false` | `false` | Determines whether the ActionMenu is open by default |
|
|
123
|
+
| `onSelect` | `(newValue: string) => void` | | `false` | Callback that is called when an item is selected |
|
|
124
|
+
| `selectionVariant` | `'single' \| 'none'` | `'none'` | `false` | The selection variant of the ActionMenu |
|
|
125
|
+
| `menuAlignment` | `'start' \| 'end'` | `start` | `false` | Horizontal alignment of the menu relative to the bottom of the button |
|
|
126
|
+
| `size` | `'small' \| 'medium'` | `medium` | `false` | Size configuration of the ActionMenu |
|
|
127
|
+
| `menuSide` | `'bottom' \| 'bottom-end' \| 'bottom-start' \| 'left' \| 'left-end' \| 'left-start' \| 'right' \| 'right-end' \| 'right-start' \| 'top' \| 'top-end' \| 'top-start'` | `undefined` | `false` | Location of the menu overlay |
|
|
128
|
+
| `mode` | `ActionMenuButtonModes` | `default` | `false` | Alternative behavior for the button and menu items |
|
|
129
|
+
|
|
130
|
+
### ActionMenu.Button `Required`
|
|
131
|
+
|
|
132
|
+
| name | type | default | required | description |
|
|
133
|
+
| ----------- | -------------- | ------- | -------- | ---------------------------------- |
|
|
134
|
+
| `className` | `string` | | | Sets a custom class on the element |
|
|
135
|
+
| `children` | `ReactElement` | | | |
|
|
136
|
+
| `id` | `string` | | | Sets a custom `id` |
|
|
137
|
+
|
|
138
|
+
### ActionMenu.Overlay `Required`
|
|
139
|
+
|
|
140
|
+
| name | type | default | required | description |
|
|
141
|
+
| ------------ | -------------- | ------- | -------- | ---------------------------------------------------------------- |
|
|
142
|
+
| `aria-label` | `string` | | `true` | Required for describing the relationship between button and menu |
|
|
143
|
+
| `className` | `string` | | | Sets a custom class on the element |
|
|
144
|
+
| `children` | `ReactElement` | | | |
|
|
145
|
+
| `id` | `string` | | | Sets a custom `id` |
|
|
146
|
+
|
|
147
|
+
### ActionMenu.Item `Required`
|
|
148
|
+
|
|
149
|
+
| name | type | default | required | description |
|
|
150
|
+
| ----------- | -------------- | ------- | -------- | ------------------------------------------------------------- |
|
|
151
|
+
| `className` | `string` | | | Sets a custom class on the element |
|
|
152
|
+
| `children` | `ReactElement` | | | |
|
|
153
|
+
| `disabled` | `boolean` | `false` | `false` | Allows control over an individual items active/inactive state |
|
|
154
|
+
| `id` | `string` | | | Sets a custom `id` |
|
|
155
|
+
| `selected` | `boolean` | | | Indicates the item is selected in `single` selection mode |
|
|
156
|
+
| `value` | `string` | | | The underlying value passed to the selection handler |
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Anchor nav
|
|
3
|
+
description: Use the anchor nav component for prompt navigation to different sections of a page.
|
|
4
|
+
keywords: ['navigation', 'menu', 'sticky', 'links', 'sections']
|
|
5
|
+
ready: true
|
|
6
|
+
figma: https://www.figma.com/file/BJ95AjraesmRCWsKA013GS/Primer-Brand?node-id=3359%3A30494&t=7vT79cAF1kbiMd2j-4
|
|
7
|
+
source: https://github.com/primer/brand/blob/main/packages/react/src/AnchorNav/AnchorNav.tsx
|
|
8
|
+
storybook: '/brand/storybook/?path=/story/components-anchornav--playground'
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
```js
|
|
12
|
+
import {AnchorNav} from '@primer/react-brand'
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Examples
|
|
16
|
+
|
|
17
|
+
> `AnchorNav` is designed to fix to the top of the viewport, and requires markup outside of the scope of the component to behave correctly.
|
|
18
|
+
>
|
|
19
|
+
> Please refer to our Storybook examples to see the component in a full-screen context as originally intended.
|
|
20
|
+
|
|
21
|
+
### Basic
|
|
22
|
+
|
|
23
|
+
```jsx
|
|
24
|
+
<div style={{position: 'relative', overflowX: 'scroll', width: '100%'}}>
|
|
25
|
+
<AnchorNav>
|
|
26
|
+
<AnchorNav.Link href="#basic-section1">Section one</AnchorNav.Link>
|
|
27
|
+
<AnchorNav.Link href="#basic-section2">Section two</AnchorNav.Link>
|
|
28
|
+
<AnchorNav.Link href="#basic-section3">Section three</AnchorNav.Link>
|
|
29
|
+
<AnchorNav.Link href="#basic-section4">Section four</AnchorNav.Link>
|
|
30
|
+
<AnchorNav.Link href="#basic-section5">Section five</AnchorNav.Link>
|
|
31
|
+
<AnchorNav.Action href="#">Sign up</AnchorNav.Action>
|
|
32
|
+
</AnchorNav>
|
|
33
|
+
<section
|
|
34
|
+
id="basic-section1"
|
|
35
|
+
style={{
|
|
36
|
+
padding: '100px 2rem',
|
|
37
|
+
backgroundColor: 'var(--base-color-scale-lemon-0)',
|
|
38
|
+
}}
|
|
39
|
+
>
|
|
40
|
+
Section 1
|
|
41
|
+
</section>
|
|
42
|
+
<section
|
|
43
|
+
id="basic-section2"
|
|
44
|
+
style={{
|
|
45
|
+
padding: '100px 2rem',
|
|
46
|
+
backgroundColor: 'var(--base-color-scale-yellow-0)',
|
|
47
|
+
}}
|
|
48
|
+
>
|
|
49
|
+
Section 2
|
|
50
|
+
</section>
|
|
51
|
+
<section
|
|
52
|
+
id="basic-section3"
|
|
53
|
+
style={{
|
|
54
|
+
padding: '100px 2rem',
|
|
55
|
+
backgroundColor: 'var(--base-color-scale-lime-0)',
|
|
56
|
+
}}
|
|
57
|
+
>
|
|
58
|
+
Section 3
|
|
59
|
+
</section>
|
|
60
|
+
<section
|
|
61
|
+
id="basic-section4"
|
|
62
|
+
style={{
|
|
63
|
+
padding: '100px 2rem',
|
|
64
|
+
backgroundColor: 'var(--base-color-scale-green-0)',
|
|
65
|
+
}}
|
|
66
|
+
>
|
|
67
|
+
Section 4
|
|
68
|
+
</section>
|
|
69
|
+
<section
|
|
70
|
+
id="basic-section5"
|
|
71
|
+
style={{
|
|
72
|
+
padding: '100px 2rem',
|
|
73
|
+
backgroundColor: 'var(--base-color-scale-teal-0)',
|
|
74
|
+
}}
|
|
75
|
+
>
|
|
76
|
+
Section 5
|
|
77
|
+
</section>
|
|
78
|
+
</div>
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
### Secondary action
|
|
82
|
+
|
|
83
|
+
`AnchorNav` can also feature secondary actions. When two actions are present, the first will be presented as the `primary` variant.
|
|
84
|
+
|
|
85
|
+
```jsx
|
|
86
|
+
<div style={{position: 'relative', overflowX: 'scroll', width: '100%'}}>
|
|
87
|
+
<AnchorNav>
|
|
88
|
+
<AnchorNav.Link href="#fewer-links-section1">Section one</AnchorNav.Link>
|
|
89
|
+
<AnchorNav.Link href="#fewer-links-section2">Section two</AnchorNav.Link>
|
|
90
|
+
<AnchorNav.Link href="#fewer-links-section3">Section three</AnchorNav.Link>
|
|
91
|
+
<AnchorNav.Action href="#">Sign up</AnchorNav.Action>
|
|
92
|
+
<AnchorNav.SecondaryAction href="#">Learn more</AnchorNav.SecondaryAction>
|
|
93
|
+
</AnchorNav>
|
|
94
|
+
<section
|
|
95
|
+
id="fewer-links-section1"
|
|
96
|
+
style={{
|
|
97
|
+
padding: '100px 2rem',
|
|
98
|
+
backgroundColor: 'var(--base-color-scale-lemon-0)',
|
|
99
|
+
}}
|
|
100
|
+
>
|
|
101
|
+
Section 1
|
|
102
|
+
</section>
|
|
103
|
+
<section
|
|
104
|
+
id="fewer-links-section2"
|
|
105
|
+
style={{
|
|
106
|
+
padding: '100px 2rem',
|
|
107
|
+
backgroundColor: 'var(--base-color-scale-yellow-0)',
|
|
108
|
+
}}
|
|
109
|
+
>
|
|
110
|
+
Section 2
|
|
111
|
+
</section>
|
|
112
|
+
<section
|
|
113
|
+
id="fewer-links-section3"
|
|
114
|
+
style={{
|
|
115
|
+
padding: '100px 2rem',
|
|
116
|
+
backgroundColor: 'var(--base-color-scale-lime-0)',
|
|
117
|
+
}}
|
|
118
|
+
>
|
|
119
|
+
Section 3
|
|
120
|
+
</section>
|
|
121
|
+
</div>
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
### Fewer links
|
|
125
|
+
|
|
126
|
+
`AnchorNav` implementations with fewer than `5` links, will automatically align links to the `start`.
|
|
127
|
+
|
|
128
|
+
```jsx
|
|
129
|
+
<div style={{position: 'relative', overflowX: 'scroll', width: '100%'}}>
|
|
130
|
+
<AnchorNav>
|
|
131
|
+
<AnchorNav.Link href="#fewer-links-section1">Section one</AnchorNav.Link>
|
|
132
|
+
<AnchorNav.Link href="#fewer-links-section2">Section two</AnchorNav.Link>
|
|
133
|
+
<AnchorNav.Link href="#fewer-links-section3">Section three</AnchorNav.Link>
|
|
134
|
+
<AnchorNav.Action href="#">Sign up</AnchorNav.Action>
|
|
135
|
+
</AnchorNav>
|
|
136
|
+
<section
|
|
137
|
+
id="fewer-links-section1"
|
|
138
|
+
style={{
|
|
139
|
+
padding: '100px 2rem',
|
|
140
|
+
backgroundColor: 'var(--base-color-scale-lemon-0)',
|
|
141
|
+
}}
|
|
142
|
+
>
|
|
143
|
+
Section 1
|
|
144
|
+
</section>
|
|
145
|
+
<section
|
|
146
|
+
id="fewer-links-section2"
|
|
147
|
+
style={{
|
|
148
|
+
padding: '100px 2rem',
|
|
149
|
+
backgroundColor: 'var(--base-color-scale-yellow-0)',
|
|
150
|
+
}}
|
|
151
|
+
>
|
|
152
|
+
Section 2
|
|
153
|
+
</section>
|
|
154
|
+
<section
|
|
155
|
+
id="fewer-links-section3"
|
|
156
|
+
style={{
|
|
157
|
+
padding: '100px 2rem',
|
|
158
|
+
backgroundColor: 'var(--base-color-scale-lime-0)',
|
|
159
|
+
}}
|
|
160
|
+
>
|
|
161
|
+
Section 3
|
|
162
|
+
</section>
|
|
163
|
+
</div>
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
## Component props
|
|
167
|
+
|
|
168
|
+
### AnchorNav `Required`
|
|
169
|
+
|
|
170
|
+
| Name | Type | Default | Description |
|
|
171
|
+
| :--------------------- | :------------------------------------------------------ | :-----: | :---------------------------------------------------------------------- |
|
|
172
|
+
| `children` | `'AnchorNav.Link' \| 'AnchorNav.Action' \| 'ReactNode'` | | Valid child nodes |
|
|
173
|
+
| `className` | `string` | | Sets a custom class |
|
|
174
|
+
| `enableDefaultBgColor` | `boolean` | `false` | Enable the idle state background color, which is transparent by default |
|
|
175
|
+
| `hideUntilSticky` | `boolean` | `false` | When true, the anchor nav will hide until it is sticky. |
|
|
176
|
+
| `id` | `string` | | Sets a custom id |
|
|
177
|
+
| `ref` | `React.RefObject` | | Forward a Ref to the underlying DOM node |
|
|
178
|
+
|
|
179
|
+
### AnchorNav.Link `Required`
|
|
180
|
+
|
|
181
|
+
`AnchorNav.Link` are anchor links that feature in the menubar
|
|
182
|
+
|
|
183
|
+
| Name | Type | Default | Description |
|
|
184
|
+
| :---------- | :---------------- | :-----: | :-------------------------------------------------- |
|
|
185
|
+
| `children` | `string` | | Required. Label text |
|
|
186
|
+
| `className` | `string` | | Applies a custom class |
|
|
187
|
+
| `href` | `string` | | Required. Local identifier for the anchored element |
|
|
188
|
+
| `id` | `string` | | Sets a custom id |
|
|
189
|
+
| `isActive` | `boolean` | `false` | Manually indicate that the link is active |
|
|
190
|
+
| `ref` | `React.RefObject` | | Forward a Ref to the underlying DOM node |
|
|
191
|
+
|
|
192
|
+
Additional props can be passed to the `<a>` element. [See MDN for a list of props](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attributes) accepted by the `<anchor>` element.
|
|
193
|
+
|
|
194
|
+
### AnchorNav.Action
|
|
195
|
+
|
|
196
|
+
`AnchorNav.Action` is the primary call to action for the AnchorNav
|
|
197
|
+
|
|
198
|
+
| Name | Type | Default | Description |
|
|
199
|
+
| :---------- | :---------------- | :-----: | :-------------------------------------------------- |
|
|
200
|
+
| `children` | `string` | | Required. Label text |
|
|
201
|
+
| `className` | `string` | | Applies a custom class |
|
|
202
|
+
| `href` | `string` | | Required. Local identifier for the anchored element |
|
|
203
|
+
| `id` | `string` | | Sets a custom id |
|
|
204
|
+
| `ref` | `React.RefObject` | | Forward a Ref to the underlying DOM node |
|
|
205
|
+
|
|
206
|
+
Additional props can be passed to the `<a>` element. Refer to [Button](../Button/index.md) for more details or [MDN for a list of props](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attributes) accepted by the `<anchor>` element.
|
|
207
|
+
|
|
208
|
+
### AnchorNav.SecondaryAction
|
|
209
|
+
|
|
210
|
+
`AnchorNav.SecondaryAction` is an alternative call to action available for the AnchorNav
|
|
211
|
+
|
|
212
|
+
| Name | Type | Default | Description |
|
|
213
|
+
| :---------- | :---------------- | :-----: | :-------------------------------------------------- |
|
|
214
|
+
| `children` | `string` | | Required. Label text |
|
|
215
|
+
| `className` | `string` | | Applies a custom class |
|
|
216
|
+
| `href` | `string` | | Required. Local identifier for the anchored element |
|
|
217
|
+
| `id` | `string` | | Sets a custom id |
|
|
218
|
+
| `ref` | `React.RefObject` | | Forward a Ref to the underlying DOM node |
|
|
219
|
+
|
|
220
|
+
Additional props can be passed to the `<a>` element. Refer to [Button](../Button/index.md) for more details or [MDN for a list of props](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attributes) accepted by the `<anchor>` element.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Avatar
|
|
3
|
+
description: Use the avatar component to display a thumbnail representation of a person.
|
|
4
|
+
keywords: ['image', 'thumbnail', 'profile', 'user', 'organization']
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+

|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
Use avatars to display a thumbnail that represents individuals in various contexts, such as testimonials, speaker sessions, blog post authors, and beyond.
|
|
12
|
+
|
|
13
|
+
## Options
|
|
14
|
+
|
|
15
|
+
### Size
|
|
16
|
+
|
|
17
|
+
Avatar offers various sizes to fit different layout and visual scale needs. Sizes range from 32 to 80 pixels. Ensure the avatar is proportionate to its accompanying text.
|
|
18
|
+
|
|
19
|
+

|
|
20
|
+
|
|
21
|
+
### Shape
|
|
22
|
+
|
|
23
|
+
Avatars appear as two different shapes: circle and square. The choice depends on the desired visual impression and the overall design aesthetic of your project.
|
|
24
|
+
|
|
25
|
+

|
|
26
|
+
|
|
27
|
+
## Related components
|
|
28
|
+
|
|
29
|
+
- [Image](../Image/index.md)
|
|
30
|
+
- [Testimonial](../Testimonial/index.md)
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Avatar
|
|
3
|
+
description: Use the avatar component to display a thumbnail representation of a person.
|
|
4
|
+
keywords: ['image', 'thumbnail', 'profile', 'user', 'organization']
|
|
5
|
+
ready: true
|
|
6
|
+
source: https://github.com/primer/brand/blob/main/packages/react/src/Avatar/Avatar.tsx
|
|
7
|
+
storybook: '/brand/storybook/?path=/story/components-avatar--playground'
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
```js
|
|
11
|
+
import {Avatar, Stack} from '@primer/react-brand'
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Examples
|
|
15
|
+
|
|
16
|
+
### Default
|
|
17
|
+
|
|
18
|
+
```jsx
|
|
19
|
+
<Avatar src="/images/avatar-mona.png" alt="Mona profile" />
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
### Sizes
|
|
23
|
+
|
|
24
|
+
The size of the avatar can be controlled by the `size` prop.
|
|
25
|
+
|
|
26
|
+
```jsx
|
|
27
|
+
<Stack direction="horizontal" alignItems="center" justifyContent="center" gap="spacious" style={{height: 200}}>
|
|
28
|
+
<Avatar size={32} src="/images/avatar-mona.png" alt="Mona avatar at 32px" />
|
|
29
|
+
<Avatar size={40} src="/images/avatar-mona.png" alt="Mona avatar at 40px" />
|
|
30
|
+
<Avatar size={48} src="/images/avatar-mona.png" alt="Mona avatar at 48px" />
|
|
31
|
+
<Avatar size={64} src="/images/avatar-mona.png" alt="Mona avatar at 64px" />
|
|
32
|
+
<Avatar size={80} src="/images/avatar-mona.png" alt="Mona avatar at 80px" />
|
|
33
|
+
</Stack>
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
#### Responsive Sizes
|
|
37
|
+
|
|
38
|
+
Passing an Object of a particular shape will allow granular control of `size` at various supported breakpoints.
|
|
39
|
+
|
|
40
|
+
Supported breakpoints are `narrow`, `regular` and `wide`.
|
|
41
|
+
|
|
42
|
+
The Object value does not require all properties be passed, but rather operates on the basis of `min-width`.
|
|
43
|
+
|
|
44
|
+
E.g. Providing only `narrow` will apply that value to all larger breakpoints, but not the other way.
|
|
45
|
+
|
|
46
|
+
```jsx
|
|
47
|
+
<Avatar size={{narrow: 32, regular: 40, wide: 80}} src="/images/avatar-mona.png" alt="Mona avatar at 32px" />
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### Shapes
|
|
51
|
+
|
|
52
|
+
The shape of the avatar can be controlled by the `shape` prop.
|
|
53
|
+
|
|
54
|
+
```jsx
|
|
55
|
+
<Stack direction="horizontal" alignItems="center" justifyContent="center" gap="spacious" style={{height: 200}}>
|
|
56
|
+
<Avatar size={64} shape="circle" src="/images/avatar-mona.png" alt="A circular avatar picture" />
|
|
57
|
+
<Avatar size={64} shape="square" src="/images/avatar-mona.png" alt="A square avatar picture" />
|
|
58
|
+
</Stack>
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
## Component props
|
|
62
|
+
|
|
63
|
+
### Avatar `Required`
|
|
64
|
+
|
|
65
|
+
| name | type | default | required | description |
|
|
66
|
+
| ----------- | -------------- | -------- | -------- | --------------------------------- |
|
|
67
|
+
| `alt` | `string` | | `true` | The alt text of the image |
|
|
68
|
+
| `className` | `string` | | `false` | Avatar custom class |
|
|
69
|
+
| `size` | `AvatarSizes` | `40` | `false` | The size (in pixels) of the image |
|
|
70
|
+
| `shape` | `AvatarShapes` | `circle` | `false` | The shape of the image |
|
|
71
|
+
| `src` | `string` | | `true` | A url to the person's image |
|