@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.
Files changed (702) hide show
  1. package/README.md +19 -0
  2. package/docs/components/ActionMenu/index.md +156 -0
  3. package/docs/components/AnchorNav/index.md +220 -0
  4. package/docs/components/Avatar/index.md +30 -0
  5. package/docs/components/Avatar/react.md +71 -0
  6. package/docs/components/Bento/index.md +223 -0
  7. package/docs/components/Breadcrumbs/index.md +51 -0
  8. package/docs/components/Breadcrumbs/react.md +53 -0
  9. package/docs/components/BreakoutBanner/index.md +102 -0
  10. package/docs/components/BreakoutBanner/react.md +174 -0
  11. package/docs/components/Button/index.md +133 -0
  12. package/docs/components/Button/react.md +94 -0
  13. package/docs/components/ButtonGroup/index.md +62 -0
  14. package/docs/components/ButtonGroup/react.md +60 -0
  15. package/docs/components/CTABanner/index.md +114 -0
  16. package/docs/components/CTABanner/react.md +343 -0
  17. package/docs/components/CTAForm/index.md +95 -0
  18. package/docs/components/CTAForm/react.md +103 -0
  19. package/docs/components/Card/index.md +126 -0
  20. package/docs/components/Card/react.md +240 -0
  21. package/docs/components/ComparisonTable/index.md +381 -0
  22. package/docs/components/EyebrowBanner/index.md +153 -0
  23. package/docs/components/FAQ/index.md +66 -0
  24. package/docs/components/FAQ/react.md +477 -0
  25. package/docs/components/Footnotes/index.md +41 -0
  26. package/docs/components/Footnotes/react.md +156 -0
  27. package/docs/components/Hero/index.md +65 -0
  28. package/docs/components/Hero/react.md +215 -0
  29. package/docs/components/IDE/index.md +278 -0
  30. package/docs/components/Icon/index.md +87 -0
  31. package/docs/components/Image/index.md +51 -0
  32. package/docs/components/Image/react.md +160 -0
  33. package/docs/components/Label/index.md +86 -0
  34. package/docs/components/Label/react.md +76 -0
  35. package/docs/components/LogoSuite/index.md +93 -0
  36. package/docs/components/LogoSuite/react.md +667 -0
  37. package/docs/components/MediaPlaylist/index.md +133 -0
  38. package/docs/components/MinimalFooter/index.md +94 -0
  39. package/docs/components/NavList/index.md +210 -0
  40. package/docs/components/OrderedList/index.md +55 -0
  41. package/docs/components/OrderedList/react.md +41 -0
  42. package/docs/components/Pagination/index.md +80 -0
  43. package/docs/components/Pillar/index.md +114 -0
  44. package/docs/components/Pillar/react.md +175 -0
  45. package/docs/components/PricingOptions/index.md +509 -0
  46. package/docs/components/Prose/index.md +158 -0
  47. package/docs/components/River/index.md +190 -0
  48. package/docs/components/River/react.md +295 -0
  49. package/docs/components/RiverAccordion/index.md +200 -0
  50. package/docs/components/RiverBreakoutTabs/index.md +171 -0
  51. package/docs/components/Section/index.md +40 -0
  52. package/docs/components/Section/react.md +137 -0
  53. package/docs/components/SectionIntro/index.md +77 -0
  54. package/docs/components/SectionIntro/react.md +107 -0
  55. package/docs/components/SectionIntroStacked/index.md +226 -0
  56. package/docs/components/Statistic/index.md +111 -0
  57. package/docs/components/SubNav/index.md +156 -0
  58. package/docs/components/SubdomainNavBar/index.md +136 -0
  59. package/docs/components/Tabs/index.md +243 -0
  60. package/docs/components/Testimonial/index.md +138 -0
  61. package/docs/components/Testimonial/react.md +191 -0
  62. package/docs/components/Tiles/index.md +1441 -0
  63. package/docs/components/Timeline/index.md +68 -0
  64. package/docs/components/Token/index.md +86 -0
  65. package/docs/components/Tooltip/index.md +61 -0
  66. package/docs/components/UnorderedList/index.md +67 -0
  67. package/docs/components/UnorderedList/react.md +89 -0
  68. package/docs/components/VideoPlayer/index.md +234 -0
  69. package/docs/components/index.md +53 -0
  70. package/docs/forms/Checkbox/index.md +86 -0
  71. package/docs/forms/Checkbox/react.md +111 -0
  72. package/docs/forms/CheckboxGroup/index.md +37 -0
  73. package/docs/forms/CheckboxGroup/react.md +175 -0
  74. package/docs/forms/FormControl/index.md +404 -0
  75. package/docs/forms/Radio/index.md +63 -0
  76. package/docs/forms/Radio/react.md +68 -0
  77. package/docs/forms/RadioGroup/index.md +45 -0
  78. package/docs/forms/RadioGroup/react.md +151 -0
  79. package/docs/forms/Select/index.md +244 -0
  80. package/docs/forms/TextArea/index.md +126 -0
  81. package/docs/forms/TextInput/index.md +221 -0
  82. package/docs/forms/index.md +14 -0
  83. package/docs/getting-started/esm.md +49 -0
  84. package/docs/getting-started/index.md +98 -0
  85. package/docs/index.md +99 -0
  86. package/docs/introduction/animation.md +127 -0
  87. package/docs/introduction/index.md +10 -0
  88. package/docs/introduction/mcp.md +52 -0
  89. package/docs/introduction/theming.md +132 -0
  90. package/docs/layout/Box/index.md +46 -0
  91. package/docs/layout/Box/react.md +284 -0
  92. package/docs/layout/Grid/index.md +132 -0
  93. package/docs/layout/Grid/react.md +117 -0
  94. package/docs/layout/Stack/index.md +60 -0
  95. package/docs/layout/Stack/react.md +166 -0
  96. package/docs/layout/index.md +9 -0
  97. package/docs/primitives/color.md +6 -0
  98. package/docs/primitives/index.md +8 -0
  99. package/docs/typography/Heading/index.md +53 -0
  100. package/docs/typography/Heading/react.md +182 -0
  101. package/docs/typography/Text/index.md +68 -0
  102. package/docs/typography/Text/react.md +125 -0
  103. package/docs/typography/index.md +8 -0
  104. package/esm/Footnotes/{Footnotes.module-Du0yaz7E.css → Footnotes.module-DG9Vx76y.css} +1 -1
  105. package/esm/Footnotes/Footnotes.module.js +1 -1
  106. package/esm/Footnotes/Footnotes.module.js.map +1 -1
  107. package/esm/Heading/Heading.d.ts +10 -0
  108. package/esm/Heading/Heading.d.ts.map +1 -1
  109. package/esm/Heading/Heading.js.map +1 -1
  110. package/esm/Hero/Hero.d.ts.map +1 -1
  111. package/esm/Hero/Hero.js +60 -58
  112. package/esm/Hero/Hero.js.map +1 -1
  113. package/esm/Hero/{Hero.module-Cy82CEW3.css → Hero.module-DqG5f0MT.css} +1 -1
  114. package/esm/Hero/Hero.module.js +1 -1
  115. package/esm/Hero/Hero.module.js.map +1 -1
  116. package/esm/NavList/NavList.d.ts +86 -0
  117. package/esm/NavList/NavList.d.ts.map +1 -0
  118. package/esm/NavList/NavList.js +277 -0
  119. package/esm/NavList/NavList.js.map +1 -0
  120. package/esm/NavList/NavList.module-CZFnt8br.css +1 -0
  121. package/esm/NavList/NavList.module.js +32 -0
  122. package/esm/NavList/NavList.module.js.map +1 -0
  123. package/esm/NavList/index.d.ts +2 -0
  124. package/esm/NavList/index.d.ts.map +1 -0
  125. package/esm/SectionIntroStacked/{SectionIntroStacked.module-Cr7kUqTH.css → SectionIntroStacked.module-C3cmwHDY.css} +1 -1
  126. package/esm/SectionIntroStacked/SectionIntroStacked.module.js +1 -1
  127. package/esm/SectionIntroStacked/SectionIntroStacked.module.js.map +1 -1
  128. package/esm/Token/Token.js +0 -1
  129. package/esm/Token/Token.js.map +1 -1
  130. package/esm/Token/{Token.module-BcKU1KwK.css → Token.module-DtWE9IPI.css} +1 -1
  131. package/esm/Token/Token.module.js +1 -1
  132. package/esm/Token/Token.module.js.map +1 -1
  133. package/esm/index.d.ts +1 -0
  134. package/esm/index.d.ts.map +1 -1
  135. package/esm/index.esm.js +12 -11
  136. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/nav-list/colors-with-modes-CGyt2t8f.css +1 -0
  137. package/lib/Grid/Grid.d.ts +1 -1
  138. package/lib/Heading/Heading.d.ts +10 -0
  139. package/lib/NavList/NavList.d.ts +85 -0
  140. package/lib/NavList/index.d.ts +1 -0
  141. package/lib/SubNav/SubNav.d.ts +1 -1
  142. package/lib/Token/Token.d.ts +1 -1
  143. package/lib/css/main.css +613 -74
  144. package/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes.css +1 -1
  145. package/lib/design-tokens/css/tokens/base/colors/light.css +1 -1
  146. package/lib/design-tokens/css/tokens/base/size/size.css +1 -1
  147. package/lib/design-tokens/css/tokens/base/typography/typography.css +1 -1
  148. package/lib/design-tokens/css/tokens/functional/animation/base.css +1 -1
  149. package/lib/design-tokens/css/tokens/functional/colors/global-with-modes.css +1 -1
  150. package/lib/design-tokens/css/tokens/functional/colors/global.css +1 -1
  151. package/lib/design-tokens/css/tokens/functional/components/accordion/colors-with-modes.css +1 -1
  152. package/lib/design-tokens/css/tokens/functional/components/action-menu/colors-with-modes.css +1 -1
  153. package/lib/design-tokens/css/tokens/functional/components/anchor-nav/colors-with-modes.css +1 -1
  154. package/lib/design-tokens/css/tokens/functional/components/bento/base.css +1 -1
  155. package/lib/design-tokens/css/tokens/functional/components/blinking-cursor/colors-with-modes.css +1 -1
  156. package/lib/design-tokens/css/tokens/functional/components/breadcrumbs/colors-with-modes.css +1 -1
  157. package/lib/design-tokens/css/tokens/functional/components/button/colors-with-modes.css +1 -1
  158. package/lib/design-tokens/css/tokens/functional/components/card/base.css +1 -1
  159. package/lib/design-tokens/css/tokens/functional/components/card/colors-with-modes.css +1 -1
  160. package/lib/design-tokens/css/tokens/functional/components/card/colors.css +1 -1
  161. package/lib/design-tokens/css/tokens/functional/components/comparison-table/colors-with-modes.css +1 -1
  162. package/lib/design-tokens/css/tokens/functional/components/comparison-table/comparison-table.css +1 -1
  163. package/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes.css +1 -1
  164. package/lib/design-tokens/css/tokens/functional/components/cta-banner/colors-with-modes.css +1 -1
  165. package/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/colors-with-modes.css +1 -1
  166. package/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/eyebrow-banner.css +1 -1
  167. package/lib/design-tokens/css/tokens/functional/components/faq/base.css +1 -1
  168. package/lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes.css +1 -1
  169. package/lib/design-tokens/css/tokens/functional/components/faq/colors.css +1 -1
  170. package/lib/design-tokens/css/tokens/functional/components/faq/faq.css +1 -1
  171. package/lib/design-tokens/css/tokens/functional/components/footer/colors-with-modes.css +1 -1
  172. package/lib/design-tokens/css/tokens/functional/components/footer/colors.css +1 -1
  173. package/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/base.css +1 -1
  174. package/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/colors-with-modes.css +1 -1
  175. package/lib/design-tokens/css/tokens/functional/components/grid/colors-with-modes.css +1 -1
  176. package/lib/design-tokens/css/tokens/functional/components/grid/colors.css +1 -1
  177. package/lib/design-tokens/css/tokens/functional/components/grid/grid.css +1 -1
  178. package/lib/design-tokens/css/tokens/functional/components/hero/base.css +1 -1
  179. package/lib/design-tokens/css/tokens/functional/components/icon/colors-with-modes.css +1 -1
  180. package/lib/design-tokens/css/tokens/functional/components/icon/colors.css +1 -1
  181. package/lib/design-tokens/css/tokens/functional/components/ide/base.css +1 -1
  182. package/lib/design-tokens/css/tokens/functional/components/ide/colors-with-modes.css +1 -1
  183. package/lib/design-tokens/css/tokens/functional/components/image/base.css +1 -1
  184. package/lib/design-tokens/css/tokens/functional/components/inline-link/base.css +1 -1
  185. package/lib/design-tokens/css/tokens/functional/components/inline-link/colors-with-modes.css +1 -1
  186. package/lib/design-tokens/css/tokens/functional/components/inline-link/colors.css +1 -1
  187. package/lib/design-tokens/css/tokens/functional/components/label/colors-with-modes.css +1 -1
  188. package/lib/design-tokens/css/tokens/functional/components/label/colors.css +1 -1
  189. package/lib/design-tokens/css/tokens/functional/components/link/colors-with-modes.css +1 -1
  190. package/lib/design-tokens/css/tokens/functional/components/link/colors.css +1 -1
  191. package/lib/design-tokens/css/tokens/functional/components/logosuite/base.css +1 -1
  192. package/lib/design-tokens/css/tokens/functional/components/logosuite/colors-with-modes.css +1 -1
  193. package/lib/design-tokens/css/tokens/functional/components/logosuite/colors.css +1 -1
  194. package/lib/design-tokens/css/tokens/functional/components/media-playlist/colors-with-modes.css +1 -1
  195. package/lib/design-tokens/css/tokens/functional/components/media-playlist/colors.css +1 -1
  196. package/lib/design-tokens/css/tokens/functional/components/nav-list/colors-with-modes.css +13 -0
  197. package/lib/design-tokens/css/tokens/functional/components/pricing-options/colors-with-modes.css +1 -1
  198. package/lib/design-tokens/css/tokens/functional/components/pricing-options/colors.css +1 -1
  199. package/lib/design-tokens/css/tokens/functional/components/pricing-options/pricing-options.css +1 -1
  200. package/lib/design-tokens/css/tokens/functional/components/prose/base.css +1 -1
  201. package/lib/design-tokens/css/tokens/functional/components/prose/colors-with-modes.css +1 -1
  202. package/lib/design-tokens/css/tokens/functional/components/river/base.css +1 -1
  203. package/lib/design-tokens/css/tokens/functional/components/river/river.css +1 -1
  204. package/lib/design-tokens/css/tokens/functional/components/river-story-scroll/colors-with-modes.css +1 -1
  205. package/lib/design-tokens/css/tokens/functional/components/section/section.css +1 -1
  206. package/lib/design-tokens/css/tokens/functional/components/statistic/base.css +1 -1
  207. package/lib/design-tokens/css/tokens/functional/components/sub-nav/base.css +1 -1
  208. package/lib/design-tokens/css/tokens/functional/components/sub-nav/colors-with-modes.css +1 -1
  209. package/lib/design-tokens/css/tokens/functional/components/subdomain-nav-bar/colors-with-modes.css +1 -1
  210. package/lib/design-tokens/css/tokens/functional/components/tabs/base.css +1 -1
  211. package/lib/design-tokens/css/tokens/functional/components/tabs/colors-with-modes.css +1 -1
  212. package/lib/design-tokens/css/tokens/functional/components/tabs/colors.css +1 -1
  213. package/lib/design-tokens/css/tokens/functional/components/testimonial/base.css +1 -1
  214. package/lib/design-tokens/css/tokens/functional/components/testimonial/colors-with-modes.css +1 -1
  215. package/lib/design-tokens/css/tokens/functional/components/testimonial/colors.css +1 -1
  216. package/lib/design-tokens/css/tokens/functional/components/text-cursor-animation/colors-with-modes.css +1 -1
  217. package/lib/design-tokens/css/tokens/functional/components/text-cursor-animation/colors.css +1 -1
  218. package/lib/design-tokens/css/tokens/functional/components/tiles/colors-with-modes.css +1 -1
  219. package/lib/design-tokens/css/tokens/functional/components/timeline/base.css +1 -1
  220. package/lib/design-tokens/css/tokens/functional/components/timeline/colors-with-modes.css +1 -1
  221. package/lib/design-tokens/css/tokens/functional/components/timeline/colors.css +1 -1
  222. package/lib/design-tokens/css/tokens/functional/components/token/colors-with-modes.css +1 -1
  223. package/lib/design-tokens/css/tokens/functional/components/token/colors.css +1 -1
  224. package/lib/design-tokens/css/tokens/functional/components/tooltip/colors-with-modes.css +1 -1
  225. package/lib/design-tokens/css/tokens/functional/components/tooltip/colors.css +1 -1
  226. package/lib/design-tokens/css/tokens/functional/components/video-player/base.css +1 -1
  227. package/lib/design-tokens/css/tokens/functional/components/video-player/colors-with-modes.css +1 -1
  228. package/lib/design-tokens/css/tokens/functional/size/border.css +1 -1
  229. package/lib/design-tokens/css/tokens/functional/size/breakpoints.css +1 -1
  230. package/lib/design-tokens/css/tokens/functional/size/size-coarse.css +1 -1
  231. package/lib/design-tokens/css/tokens/functional/size/size-fine.css +1 -1
  232. package/lib/design-tokens/css/tokens/functional/size/size.css +1 -1
  233. package/lib/design-tokens/css/tokens/functional/size/viewport.css +1 -1
  234. package/lib/design-tokens/css/tokens/functional/typography/typography-responsive.css +1 -1
  235. package/lib/design-tokens/css/tokens/functional/typography/typography.css +1 -1
  236. package/lib/design-tokens/js/module/tokens/base/colors/light.js +1 -1
  237. package/lib/design-tokens/js/module/tokens/base/size/size.js +1 -1
  238. package/lib/design-tokens/js/module/tokens/base/typography/typography.js +1 -1
  239. package/lib/design-tokens/js/module/tokens/functional/animation/base.js +1 -1
  240. package/lib/design-tokens/js/module/tokens/functional/colors/global.js +1 -1
  241. package/lib/design-tokens/js/module/tokens/functional/components/bento/base.js +1 -1
  242. package/lib/design-tokens/js/module/tokens/functional/components/card/base.js +1 -1
  243. package/lib/design-tokens/js/module/tokens/functional/components/card/colors.js +1 -1
  244. package/lib/design-tokens/js/module/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  245. package/lib/design-tokens/js/module/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
  246. package/lib/design-tokens/js/module/tokens/functional/components/faq/base.js +1 -1
  247. package/lib/design-tokens/js/module/tokens/functional/components/faq/colors.js +1 -1
  248. package/lib/design-tokens/js/module/tokens/functional/components/faq/faq.js +1 -1
  249. package/lib/design-tokens/js/module/tokens/functional/components/footer/colors.js +1 -1
  250. package/lib/design-tokens/js/module/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
  251. package/lib/design-tokens/js/module/tokens/functional/components/grid/colors.js +1 -1
  252. package/lib/design-tokens/js/module/tokens/functional/components/grid/grid.js +1 -1
  253. package/lib/design-tokens/js/module/tokens/functional/components/hero/base.js +1 -1
  254. package/lib/design-tokens/js/module/tokens/functional/components/icon/colors.js +1 -1
  255. package/lib/design-tokens/js/module/tokens/functional/components/ide/base.js +1 -1
  256. package/lib/design-tokens/js/module/tokens/functional/components/image/base.js +1 -1
  257. package/lib/design-tokens/js/module/tokens/functional/components/inline-link/base.js +1 -1
  258. package/lib/design-tokens/js/module/tokens/functional/components/inline-link/colors.js +1 -1
  259. package/lib/design-tokens/js/module/tokens/functional/components/label/colors.js +1 -1
  260. package/lib/design-tokens/js/module/tokens/functional/components/link/colors.js +1 -1
  261. package/lib/design-tokens/js/module/tokens/functional/components/logosuite/base.js +1 -1
  262. package/lib/design-tokens/js/module/tokens/functional/components/logosuite/colors.js +1 -1
  263. package/lib/design-tokens/js/module/tokens/functional/components/media-playlist/colors.js +1 -1
  264. package/lib/design-tokens/js/module/tokens/functional/components/pricing-options/colors.js +1 -1
  265. package/lib/design-tokens/js/module/tokens/functional/components/pricing-options/pricing-options.js +1 -1
  266. package/lib/design-tokens/js/module/tokens/functional/components/prose/base.js +1 -1
  267. package/lib/design-tokens/js/module/tokens/functional/components/river/base.js +1 -1
  268. package/lib/design-tokens/js/module/tokens/functional/components/river/river.js +1 -1
  269. package/lib/design-tokens/js/module/tokens/functional/components/section/section.js +1 -1
  270. package/lib/design-tokens/js/module/tokens/functional/components/statistic/base.js +1 -1
  271. package/lib/design-tokens/js/module/tokens/functional/components/sub-nav/base.js +1 -1
  272. package/lib/design-tokens/js/module/tokens/functional/components/tabs/base.js +1 -1
  273. package/lib/design-tokens/js/module/tokens/functional/components/tabs/colors.js +1 -1
  274. package/lib/design-tokens/js/module/tokens/functional/components/testimonial/base.js +1 -1
  275. package/lib/design-tokens/js/module/tokens/functional/components/testimonial/colors.js +1 -1
  276. package/lib/design-tokens/js/module/tokens/functional/components/text-cursor-animation/colors.js +1 -1
  277. package/lib/design-tokens/js/module/tokens/functional/components/timeline/base.js +1 -1
  278. package/lib/design-tokens/js/module/tokens/functional/components/timeline/colors.js +1 -1
  279. package/lib/design-tokens/js/module/tokens/functional/components/token/colors.js +1 -1
  280. package/lib/design-tokens/js/module/tokens/functional/components/tooltip/colors.js +1 -1
  281. package/lib/design-tokens/js/module/tokens/functional/components/video-player/base.js +1 -1
  282. package/lib/design-tokens/js/module/tokens/functional/size/border.js +1 -1
  283. package/lib/design-tokens/js/module/tokens/functional/size/breakpoints.js +1 -1
  284. package/lib/design-tokens/js/module/tokens/functional/size/size-coarse.js +1 -1
  285. package/lib/design-tokens/js/module/tokens/functional/size/size-fine.js +1 -1
  286. package/lib/design-tokens/js/module/tokens/functional/size/size.js +1 -1
  287. package/lib/design-tokens/js/module/tokens/functional/size/viewport.js +1 -1
  288. package/lib/design-tokens/js/module/tokens/functional/typography/typography-responsive.js +1 -1
  289. package/lib/design-tokens/js/module/tokens/functional/typography/typography.js +1 -1
  290. package/lib/design-tokens/js/tokens/base/colors/light.js +1 -1
  291. package/lib/design-tokens/js/tokens/base/size/size.js +1 -1
  292. package/lib/design-tokens/js/tokens/base/typography/typography.js +1 -1
  293. package/lib/design-tokens/js/tokens/functional/animation/base.js +1 -1
  294. package/lib/design-tokens/js/tokens/functional/colors/global.js +1 -1
  295. package/lib/design-tokens/js/tokens/functional/components/bento/base.js +1 -1
  296. package/lib/design-tokens/js/tokens/functional/components/card/base.js +1 -1
  297. package/lib/design-tokens/js/tokens/functional/components/card/colors.js +1 -1
  298. package/lib/design-tokens/js/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  299. package/lib/design-tokens/js/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
  300. package/lib/design-tokens/js/tokens/functional/components/faq/base.js +1 -1
  301. package/lib/design-tokens/js/tokens/functional/components/faq/colors.js +1 -1
  302. package/lib/design-tokens/js/tokens/functional/components/faq/faq.js +1 -1
  303. package/lib/design-tokens/js/tokens/functional/components/footer/colors.js +1 -1
  304. package/lib/design-tokens/js/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
  305. package/lib/design-tokens/js/tokens/functional/components/grid/colors.js +1 -1
  306. package/lib/design-tokens/js/tokens/functional/components/grid/grid.js +1 -1
  307. package/lib/design-tokens/js/tokens/functional/components/hero/base.js +1 -1
  308. package/lib/design-tokens/js/tokens/functional/components/icon/colors.js +1 -1
  309. package/lib/design-tokens/js/tokens/functional/components/ide/base.js +1 -1
  310. package/lib/design-tokens/js/tokens/functional/components/image/base.js +1 -1
  311. package/lib/design-tokens/js/tokens/functional/components/inline-link/base.js +1 -1
  312. package/lib/design-tokens/js/tokens/functional/components/inline-link/colors.js +1 -1
  313. package/lib/design-tokens/js/tokens/functional/components/label/colors.js +1 -1
  314. package/lib/design-tokens/js/tokens/functional/components/link/colors.js +1 -1
  315. package/lib/design-tokens/js/tokens/functional/components/logosuite/base.js +1 -1
  316. package/lib/design-tokens/js/tokens/functional/components/logosuite/colors.js +1 -1
  317. package/lib/design-tokens/js/tokens/functional/components/media-playlist/colors.js +1 -1
  318. package/lib/design-tokens/js/tokens/functional/components/pricing-options/colors.js +1 -1
  319. package/lib/design-tokens/js/tokens/functional/components/pricing-options/pricing-options.js +1 -1
  320. package/lib/design-tokens/js/tokens/functional/components/prose/base.js +1 -1
  321. package/lib/design-tokens/js/tokens/functional/components/river/base.js +1 -1
  322. package/lib/design-tokens/js/tokens/functional/components/river/river.js +1 -1
  323. package/lib/design-tokens/js/tokens/functional/components/section/section.js +1 -1
  324. package/lib/design-tokens/js/tokens/functional/components/statistic/base.js +1 -1
  325. package/lib/design-tokens/js/tokens/functional/components/sub-nav/base.js +1 -1
  326. package/lib/design-tokens/js/tokens/functional/components/tabs/base.js +1 -1
  327. package/lib/design-tokens/js/tokens/functional/components/tabs/colors.js +1 -1
  328. package/lib/design-tokens/js/tokens/functional/components/testimonial/base.js +1 -1
  329. package/lib/design-tokens/js/tokens/functional/components/testimonial/colors.js +1 -1
  330. package/lib/design-tokens/js/tokens/functional/components/text-cursor-animation/colors.js +1 -1
  331. package/lib/design-tokens/js/tokens/functional/components/timeline/base.js +1 -1
  332. package/lib/design-tokens/js/tokens/functional/components/timeline/colors.js +1 -1
  333. package/lib/design-tokens/js/tokens/functional/components/token/colors.js +1 -1
  334. package/lib/design-tokens/js/tokens/functional/components/tooltip/colors.js +1 -1
  335. package/lib/design-tokens/js/tokens/functional/components/video-player/base.js +1 -1
  336. package/lib/design-tokens/js/tokens/functional/size/border.js +1 -1
  337. package/lib/design-tokens/js/tokens/functional/size/breakpoints.js +1 -1
  338. package/lib/design-tokens/js/tokens/functional/size/size-coarse.js +1 -1
  339. package/lib/design-tokens/js/tokens/functional/size/size-fine.js +1 -1
  340. package/lib/design-tokens/js/tokens/functional/size/size.js +1 -1
  341. package/lib/design-tokens/js/tokens/functional/size/viewport.js +1 -1
  342. package/lib/design-tokens/js/tokens/functional/typography/typography-responsive.js +1 -1
  343. package/lib/design-tokens/js/tokens/functional/typography/typography.js +1 -1
  344. package/lib/design-tokens/scss/tokens/base/colors/light.scss +1 -1
  345. package/lib/design-tokens/scss/tokens/base/size/size.scss +1 -1
  346. package/lib/design-tokens/scss/tokens/base/typography/typography.scss +1 -1
  347. package/lib/design-tokens/scss/tokens/functional/animation/base.scss +1 -1
  348. package/lib/design-tokens/scss/tokens/functional/colors/global.scss +1 -1
  349. package/lib/design-tokens/scss/tokens/functional/components/bento/base.scss +1 -1
  350. package/lib/design-tokens/scss/tokens/functional/components/card/base.scss +1 -1
  351. package/lib/design-tokens/scss/tokens/functional/components/card/colors.scss +1 -1
  352. package/lib/design-tokens/scss/tokens/functional/components/comparison-table/comparison-table.scss +1 -1
  353. package/lib/design-tokens/scss/tokens/functional/components/eyebrow-banner/eyebrow-banner.scss +1 -1
  354. package/lib/design-tokens/scss/tokens/functional/components/faq/base.scss +1 -1
  355. package/lib/design-tokens/scss/tokens/functional/components/faq/colors.scss +1 -1
  356. package/lib/design-tokens/scss/tokens/functional/components/faq/faq.scss +1 -1
  357. package/lib/design-tokens/scss/tokens/functional/components/footer/colors.scss +1 -1
  358. package/lib/design-tokens/scss/tokens/functional/components/frosted-glass-vfx/base.scss +1 -1
  359. package/lib/design-tokens/scss/tokens/functional/components/grid/colors.scss +1 -1
  360. package/lib/design-tokens/scss/tokens/functional/components/grid/grid.scss +1 -1
  361. package/lib/design-tokens/scss/tokens/functional/components/hero/base.scss +1 -1
  362. package/lib/design-tokens/scss/tokens/functional/components/icon/colors.scss +1 -1
  363. package/lib/design-tokens/scss/tokens/functional/components/ide/base.scss +1 -1
  364. package/lib/design-tokens/scss/tokens/functional/components/image/base.scss +1 -1
  365. package/lib/design-tokens/scss/tokens/functional/components/inline-link/base.scss +1 -1
  366. package/lib/design-tokens/scss/tokens/functional/components/inline-link/colors.scss +1 -1
  367. package/lib/design-tokens/scss/tokens/functional/components/label/colors.scss +1 -1
  368. package/lib/design-tokens/scss/tokens/functional/components/link/colors.scss +1 -1
  369. package/lib/design-tokens/scss/tokens/functional/components/logosuite/base.scss +1 -1
  370. package/lib/design-tokens/scss/tokens/functional/components/logosuite/colors.scss +1 -1
  371. package/lib/design-tokens/scss/tokens/functional/components/media-playlist/colors.scss +1 -1
  372. package/lib/design-tokens/scss/tokens/functional/components/pricing-options/colors.scss +1 -1
  373. package/lib/design-tokens/scss/tokens/functional/components/pricing-options/pricing-options.scss +1 -1
  374. package/lib/design-tokens/scss/tokens/functional/components/prose/base.scss +1 -1
  375. package/lib/design-tokens/scss/tokens/functional/components/river/base.scss +1 -1
  376. package/lib/design-tokens/scss/tokens/functional/components/river/river.scss +1 -1
  377. package/lib/design-tokens/scss/tokens/functional/components/section/section.scss +1 -1
  378. package/lib/design-tokens/scss/tokens/functional/components/statistic/base.scss +1 -1
  379. package/lib/design-tokens/scss/tokens/functional/components/sub-nav/base.scss +1 -1
  380. package/lib/design-tokens/scss/tokens/functional/components/tabs/base.scss +1 -1
  381. package/lib/design-tokens/scss/tokens/functional/components/tabs/colors.scss +1 -1
  382. package/lib/design-tokens/scss/tokens/functional/components/testimonial/base.scss +1 -1
  383. package/lib/design-tokens/scss/tokens/functional/components/testimonial/colors.scss +1 -1
  384. package/lib/design-tokens/scss/tokens/functional/components/text-cursor-animation/colors.scss +1 -1
  385. package/lib/design-tokens/scss/tokens/functional/components/timeline/base.scss +1 -1
  386. package/lib/design-tokens/scss/tokens/functional/components/timeline/colors.scss +1 -1
  387. package/lib/design-tokens/scss/tokens/functional/components/token/colors.scss +1 -1
  388. package/lib/design-tokens/scss/tokens/functional/components/tooltip/colors.scss +1 -1
  389. package/lib/design-tokens/scss/tokens/functional/components/video-player/base.scss +1 -1
  390. package/lib/design-tokens/scss/tokens/functional/size/border.scss +1 -1
  391. package/lib/design-tokens/scss/tokens/functional/size/breakpoints.scss +1 -1
  392. package/lib/design-tokens/scss/tokens/functional/size/size-coarse.scss +1 -1
  393. package/lib/design-tokens/scss/tokens/functional/size/size-fine.scss +1 -1
  394. package/lib/design-tokens/scss/tokens/functional/size/size.scss +1 -1
  395. package/lib/design-tokens/scss/tokens/functional/size/viewport.scss +1 -1
  396. package/lib/design-tokens/scss/tokens/functional/typography/typography-responsive.scss +1 -1
  397. package/lib/design-tokens/scss/tokens/functional/typography/typography.scss +1 -1
  398. package/lib/design-tokens/ts/tokens/base/colors/light.d.ts +1 -1
  399. package/lib/design-tokens/ts/tokens/base/colors/light.js +1 -1
  400. package/lib/design-tokens/ts/tokens/base/size/size.d.ts +1 -1
  401. package/lib/design-tokens/ts/tokens/base/size/size.js +1 -1
  402. package/lib/design-tokens/ts/tokens/base/typography/typography.d.ts +1 -1
  403. package/lib/design-tokens/ts/tokens/base/typography/typography.js +1 -1
  404. package/lib/design-tokens/ts/tokens/functional/animation/base.d.ts +1 -1
  405. package/lib/design-tokens/ts/tokens/functional/animation/base.js +1 -1
  406. package/lib/design-tokens/ts/tokens/functional/colors/global.d.ts +1 -1
  407. package/lib/design-tokens/ts/tokens/functional/colors/global.js +1 -1
  408. package/lib/design-tokens/ts/tokens/functional/components/bento/base.d.ts +1 -1
  409. package/lib/design-tokens/ts/tokens/functional/components/bento/base.js +1 -1
  410. package/lib/design-tokens/ts/tokens/functional/components/card/base.d.ts +1 -1
  411. package/lib/design-tokens/ts/tokens/functional/components/card/base.js +1 -1
  412. package/lib/design-tokens/ts/tokens/functional/components/card/colors.d.ts +1 -1
  413. package/lib/design-tokens/ts/tokens/functional/components/card/colors.js +1 -1
  414. package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.d.ts +1 -1
  415. package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  416. package/lib/design-tokens/ts/tokens/functional/components/eyebrow-banner/eyebrow-banner.d.ts +1 -1
  417. package/lib/design-tokens/ts/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
  418. package/lib/design-tokens/ts/tokens/functional/components/faq/base.d.ts +1 -1
  419. package/lib/design-tokens/ts/tokens/functional/components/faq/base.js +1 -1
  420. package/lib/design-tokens/ts/tokens/functional/components/faq/colors.d.ts +1 -1
  421. package/lib/design-tokens/ts/tokens/functional/components/faq/colors.js +1 -1
  422. package/lib/design-tokens/ts/tokens/functional/components/faq/faq.d.ts +1 -1
  423. package/lib/design-tokens/ts/tokens/functional/components/faq/faq.js +1 -1
  424. package/lib/design-tokens/ts/tokens/functional/components/footer/colors.d.ts +1 -1
  425. package/lib/design-tokens/ts/tokens/functional/components/footer/colors.js +1 -1
  426. package/lib/design-tokens/ts/tokens/functional/components/frosted-glass-vfx/base.d.ts +1 -1
  427. package/lib/design-tokens/ts/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
  428. package/lib/design-tokens/ts/tokens/functional/components/grid/colors.d.ts +1 -1
  429. package/lib/design-tokens/ts/tokens/functional/components/grid/colors.js +1 -1
  430. package/lib/design-tokens/ts/tokens/functional/components/grid/grid.d.ts +1 -1
  431. package/lib/design-tokens/ts/tokens/functional/components/grid/grid.js +1 -1
  432. package/lib/design-tokens/ts/tokens/functional/components/hero/base.d.ts +1 -1
  433. package/lib/design-tokens/ts/tokens/functional/components/hero/base.js +1 -1
  434. package/lib/design-tokens/ts/tokens/functional/components/icon/colors.d.ts +1 -1
  435. package/lib/design-tokens/ts/tokens/functional/components/icon/colors.js +1 -1
  436. package/lib/design-tokens/ts/tokens/functional/components/ide/base.d.ts +1 -1
  437. package/lib/design-tokens/ts/tokens/functional/components/ide/base.js +1 -1
  438. package/lib/design-tokens/ts/tokens/functional/components/image/base.d.ts +1 -1
  439. package/lib/design-tokens/ts/tokens/functional/components/image/base.js +1 -1
  440. package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.d.ts +1 -1
  441. package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.js +1 -1
  442. package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.d.ts +1 -1
  443. package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.js +1 -1
  444. package/lib/design-tokens/ts/tokens/functional/components/label/colors.d.ts +1 -1
  445. package/lib/design-tokens/ts/tokens/functional/components/label/colors.js +1 -1
  446. package/lib/design-tokens/ts/tokens/functional/components/link/colors.d.ts +1 -1
  447. package/lib/design-tokens/ts/tokens/functional/components/link/colors.js +1 -1
  448. package/lib/design-tokens/ts/tokens/functional/components/logosuite/base.d.ts +1 -1
  449. package/lib/design-tokens/ts/tokens/functional/components/logosuite/base.js +1 -1
  450. package/lib/design-tokens/ts/tokens/functional/components/logosuite/colors.d.ts +1 -1
  451. package/lib/design-tokens/ts/tokens/functional/components/logosuite/colors.js +1 -1
  452. package/lib/design-tokens/ts/tokens/functional/components/media-playlist/colors.d.ts +1 -1
  453. package/lib/design-tokens/ts/tokens/functional/components/media-playlist/colors.js +1 -1
  454. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/colors.d.ts +1 -1
  455. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/colors.js +1 -1
  456. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/pricing-options.d.ts +1 -1
  457. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/pricing-options.js +1 -1
  458. package/lib/design-tokens/ts/tokens/functional/components/prose/base.d.ts +1 -1
  459. package/lib/design-tokens/ts/tokens/functional/components/prose/base.js +1 -1
  460. package/lib/design-tokens/ts/tokens/functional/components/river/base.d.ts +1 -1
  461. package/lib/design-tokens/ts/tokens/functional/components/river/base.js +1 -1
  462. package/lib/design-tokens/ts/tokens/functional/components/river/river.d.ts +1 -1
  463. package/lib/design-tokens/ts/tokens/functional/components/river/river.js +1 -1
  464. package/lib/design-tokens/ts/tokens/functional/components/section/section.d.ts +1 -1
  465. package/lib/design-tokens/ts/tokens/functional/components/section/section.js +1 -1
  466. package/lib/design-tokens/ts/tokens/functional/components/statistic/base.d.ts +1 -1
  467. package/lib/design-tokens/ts/tokens/functional/components/statistic/base.js +1 -1
  468. package/lib/design-tokens/ts/tokens/functional/components/sub-nav/base.d.ts +1 -1
  469. package/lib/design-tokens/ts/tokens/functional/components/sub-nav/base.js +1 -1
  470. package/lib/design-tokens/ts/tokens/functional/components/tabs/base.d.ts +1 -1
  471. package/lib/design-tokens/ts/tokens/functional/components/tabs/base.js +1 -1
  472. package/lib/design-tokens/ts/tokens/functional/components/tabs/colors.d.ts +1 -1
  473. package/lib/design-tokens/ts/tokens/functional/components/tabs/colors.js +1 -1
  474. package/lib/design-tokens/ts/tokens/functional/components/testimonial/base.d.ts +1 -1
  475. package/lib/design-tokens/ts/tokens/functional/components/testimonial/base.js +1 -1
  476. package/lib/design-tokens/ts/tokens/functional/components/testimonial/colors.d.ts +1 -1
  477. package/lib/design-tokens/ts/tokens/functional/components/testimonial/colors.js +1 -1
  478. package/lib/design-tokens/ts/tokens/functional/components/text-cursor-animation/colors.d.ts +1 -1
  479. package/lib/design-tokens/ts/tokens/functional/components/text-cursor-animation/colors.js +1 -1
  480. package/lib/design-tokens/ts/tokens/functional/components/timeline/base.d.ts +1 -1
  481. package/lib/design-tokens/ts/tokens/functional/components/timeline/base.js +1 -1
  482. package/lib/design-tokens/ts/tokens/functional/components/timeline/colors.d.ts +1 -1
  483. package/lib/design-tokens/ts/tokens/functional/components/timeline/colors.js +1 -1
  484. package/lib/design-tokens/ts/tokens/functional/components/token/colors.d.ts +1 -1
  485. package/lib/design-tokens/ts/tokens/functional/components/token/colors.js +1 -1
  486. package/lib/design-tokens/ts/tokens/functional/components/tooltip/colors.d.ts +1 -1
  487. package/lib/design-tokens/ts/tokens/functional/components/tooltip/colors.js +1 -1
  488. package/lib/design-tokens/ts/tokens/functional/components/video-player/base.d.ts +1 -1
  489. package/lib/design-tokens/ts/tokens/functional/components/video-player/base.js +1 -1
  490. package/lib/design-tokens/ts/tokens/functional/size/border.d.ts +1 -1
  491. package/lib/design-tokens/ts/tokens/functional/size/border.js +1 -1
  492. package/lib/design-tokens/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  493. package/lib/design-tokens/ts/tokens/functional/size/breakpoints.js +1 -1
  494. package/lib/design-tokens/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  495. package/lib/design-tokens/ts/tokens/functional/size/size-coarse.js +1 -1
  496. package/lib/design-tokens/ts/tokens/functional/size/size-fine.d.ts +1 -1
  497. package/lib/design-tokens/ts/tokens/functional/size/size-fine.js +1 -1
  498. package/lib/design-tokens/ts/tokens/functional/size/size.d.ts +1 -1
  499. package/lib/design-tokens/ts/tokens/functional/size/size.js +1 -1
  500. package/lib/design-tokens/ts/tokens/functional/size/viewport.d.ts +1 -1
  501. package/lib/design-tokens/ts/tokens/functional/size/viewport.js +1 -1
  502. package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.d.ts +1 -1
  503. package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.js +1 -1
  504. package/lib/design-tokens/ts/tokens/functional/typography/typography.d.ts +1 -1
  505. package/lib/design-tokens/ts/tokens/functional/typography/typography.js +1 -1
  506. package/lib/index.d.ts +1 -0
  507. package/lib/index.js +1 -1
  508. package/llms.txt +97 -0
  509. package/package.json +17 -5
  510. package/esm/Hero/Hero.figma.d.ts +0 -2
  511. package/esm/Hero/Hero.figma.d.ts.map +0 -1
  512. package/esm/IDE/fixtures/content.d.ts +0 -7
  513. package/esm/IDE/fixtures/content.d.ts.map +0 -1
  514. package/esm/LogoSuite/LogoSuite.figma.d.ts +0 -2
  515. package/esm/LogoSuite/LogoSuite.figma.d.ts.map +0 -1
  516. package/esm/LogoSuite/LogoSuite.fixtures.d.ts +0 -2
  517. package/esm/LogoSuite/LogoSuite.fixtures.d.ts.map +0 -1
  518. package/esm/MonaSans/MonaSans.d.ts +0 -11
  519. package/esm/MonaSans/MonaSans.d.ts.map +0 -1
  520. package/esm/MonaSans/index.d.ts +0 -2
  521. package/esm/MonaSans/index.d.ts.map +0 -1
  522. package/esm/PricingOptions/PricingOptions.figma.d.ts +0 -2
  523. package/esm/PricingOptions/PricingOptions.figma.d.ts.map +0 -1
  524. package/esm/Tiles/Tiles.fixtures.d.ts +0 -7
  525. package/esm/Tiles/Tiles.fixtures.d.ts.map +0 -1
  526. package/esm/fixtures/third-party-logos/AzureLogo.d.ts +0 -5
  527. package/esm/fixtures/third-party-logos/AzureLogo.d.ts.map +0 -1
  528. package/esm/fixtures/third-party-logos/JetBrainsLogo.d.ts +0 -5
  529. package/esm/fixtures/third-party-logos/JetBrainsLogo.d.ts.map +0 -1
  530. package/esm/fixtures/third-party-logos/MicrosoftCopilotLogo.d.ts +0 -5
  531. package/esm/fixtures/third-party-logos/MicrosoftCopilotLogo.d.ts.map +0 -1
  532. package/esm/fixtures/third-party-logos/MicrosoftLogo.d.ts +0 -5
  533. package/esm/fixtures/third-party-logos/MicrosoftLogo.d.ts.map +0 -1
  534. package/esm/fixtures/third-party-logos/NeoVimLogo.d.ts +0 -5
  535. package/esm/fixtures/third-party-logos/NeoVimLogo.d.ts.map +0 -1
  536. package/esm/fixtures/third-party-logos/VisualStudioCodeLogo.d.ts +0 -5
  537. package/esm/fixtures/third-party-logos/VisualStudioCodeLogo.d.ts.map +0 -1
  538. package/esm/fixtures/third-party-logos/VisualStudioLogo.d.ts +0 -5
  539. package/esm/fixtures/third-party-logos/VisualStudioLogo.d.ts.map +0 -1
  540. package/esm/list/ListItem/index.d.ts +0 -2
  541. package/esm/list/ListItem/index.d.ts.map +0 -1
  542. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOne.d.ts +0 -13
  543. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOne.d.ts.map +0 -1
  544. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOneSideBySide.d.ts +0 -14
  545. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOneSideBySide.d.ts.map +0 -1
  546. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/components/FormExample.d.ts +0 -8
  547. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/components/FormExample.d.ts.map +0 -1
  548. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/index.d.ts +0 -2
  549. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/index.d.ts.map +0 -1
  550. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/FeaturePreviewLevelTwo.d.ts +0 -49
  551. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/FeaturePreviewLevelTwo.d.ts.map +0 -1
  552. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/index.d.ts +0 -2
  553. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/index.d.ts.map +0 -1
  554. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/FeaturePreviewLevelZero.d.ts +0 -17
  555. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/FeaturePreviewLevelZero.d.ts.map +0 -1
  556. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/index.d.ts +0 -2
  557. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/index.d.ts.map +0 -1
  558. package/esm/recipes/FeaturePreviewLPs/helpers.d.ts +0 -30
  559. package/esm/recipes/FeaturePreviewLPs/helpers.d.ts.map +0 -1
  560. package/esm/recipes/FlexTemplate/FlexSection/FlexSection.d.ts +0 -8
  561. package/esm/recipes/FlexTemplate/FlexSection/FlexSection.d.ts.map +0 -1
  562. package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiver.d.ts +0 -2
  563. package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiver.d.ts.map +0 -1
  564. package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiverAccordion.d.ts +0 -8
  565. package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiverAccordion.d.ts.map +0 -1
  566. package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiverBreakout.d.ts +0 -2
  567. package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiverBreakout.d.ts.map +0 -1
  568. package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulTestimonials.d.ts +0 -8
  569. package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulTestimonials.d.ts.map +0 -1
  570. package/esm/recipes/FlexTemplate/FlexSection/components/FlexSectionTestimonials.d.ts +0 -8
  571. package/esm/recipes/FlexTemplate/FlexSection/components/FlexSectionTestimonials.d.ts.map +0 -1
  572. package/esm/recipes/FlexTemplate/FlexSection/components/index.d.ts +0 -6
  573. package/esm/recipes/FlexTemplate/FlexSection/components/index.d.ts.map +0 -1
  574. package/esm/recipes/FlexTemplate/FlexSection/index.d.ts +0 -2
  575. package/esm/recipes/FlexTemplate/FlexSection/index.d.ts.map +0 -1
  576. package/esm/recipes/FlexTemplate/FlexTemplate.d.ts +0 -7
  577. package/esm/recipes/FlexTemplate/FlexTemplate.d.ts.map +0 -1
  578. package/esm/recipes/FlexTemplate/FlexTemplate.types.d.ts +0 -318
  579. package/esm/recipes/FlexTemplate/FlexTemplate.types.d.ts.map +0 -1
  580. package/esm/recipes/FlexTemplate/FlexTemplateTrailingSection/FlexTemplateTrailingSection.d.ts +0 -6
  581. package/esm/recipes/FlexTemplate/FlexTemplateTrailingSection/FlexTemplateTrailingSection.d.ts.map +0 -1
  582. package/esm/recipes/FlexTemplate/FlexTemplateTrailingSection/index.d.ts +0 -3
  583. package/esm/recipes/FlexTemplate/FlexTemplateTrailingSection/index.d.ts.map +0 -1
  584. package/esm/recipes/FlexTemplate/fixtures/content.d.ts +0 -2
  585. package/esm/recipes/FlexTemplate/fixtures/content.d.ts.map +0 -1
  586. package/esm/recipes/FlexTemplate/index.d.ts +0 -4
  587. package/esm/recipes/FlexTemplate/index.d.ts.map +0 -1
  588. package/esm/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.content.d.ts +0 -68
  589. package/esm/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.content.d.ts.map +0 -1
  590. package/esm/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.d.ts +0 -7
  591. package/esm/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.d.ts.map +0 -1
  592. package/esm/recipes/Flexsuite/Category/index.d.ts +0 -2
  593. package/esm/recipes/Flexsuite/Category/index.d.ts.map +0 -1
  594. package/esm/recipes/Flexsuite/Details/FlexSuiteAIDetailsPlaylist/FlexSuiteAIDetailsPlaylist.content.d.ts +0 -49
  595. package/esm/recipes/Flexsuite/Details/FlexSuiteAIDetailsPlaylist/FlexSuiteAIDetailsPlaylist.content.d.ts.map +0 -1
  596. package/esm/recipes/Flexsuite/Details/FlexSuiteAIDetailsPlaylist/FlexSuiteAIDetailsPlaylist.d.ts +0 -7
  597. package/esm/recipes/Flexsuite/Details/FlexSuiteAIDetailsPlaylist/FlexSuiteAIDetailsPlaylist.d.ts.map +0 -1
  598. package/esm/recipes/Flexsuite/Details/index.d.ts +0 -4
  599. package/esm/recipes/Flexsuite/Details/index.d.ts.map +0 -1
  600. package/esm/recipes/Flexsuite/Overview/FlexSuiteAIOverview.content.d.ts +0 -101
  601. package/esm/recipes/Flexsuite/Overview/FlexSuiteAIOverview.content.d.ts.map +0 -1
  602. package/esm/recipes/Flexsuite/Overview/FlexSuiteAIOverview.d.ts +0 -7
  603. package/esm/recipes/Flexsuite/Overview/FlexSuiteAIOverview.d.ts.map +0 -1
  604. package/esm/recipes/Flexsuite/Overview/FlexSuiteOverview.content.d.ts +0 -5
  605. package/esm/recipes/Flexsuite/Overview/FlexSuiteOverview.content.d.ts.map +0 -1
  606. package/esm/recipes/Flexsuite/Overview/index.d.ts +0 -4
  607. package/esm/recipes/Flexsuite/Overview/index.d.ts.map +0 -1
  608. package/esm/recipes/SolutionTemplates/CategoryPage/CategoryPage.d.ts +0 -16
  609. package/esm/recipes/SolutionTemplates/CategoryPage/CategoryPage.d.ts.map +0 -1
  610. package/esm/recipes/SolutionTemplates/SolutionPage/SolutionPage.d.ts +0 -33
  611. package/esm/recipes/SolutionTemplates/SolutionPage/SolutionPage.d.ts.map +0 -1
  612. package/esm/recipes/SolutionTemplates/SolutionPage/index.d.ts +0 -2
  613. package/esm/recipes/SolutionTemplates/SolutionPage/index.d.ts.map +0 -1
  614. package/esm/recipes/SolutionTemplates/SolutionsOverview/SolutionsOverview.d.ts +0 -17
  615. package/esm/recipes/SolutionTemplates/SolutionsOverview/SolutionsOverview.d.ts.map +0 -1
  616. package/esm/recipes/SolutionTemplates/helpers.d.ts +0 -127
  617. package/esm/recipes/SolutionTemplates/helpers.d.ts.map +0 -1
  618. package/esm/recipes/SolutionTemplates/index.d.ts +0 -1
  619. package/esm/recipes/SolutionTemplates/index.d.ts.map +0 -1
  620. package/esm/recipes/seo/Article/Article.d.ts +0 -14
  621. package/esm/recipes/seo/Article/Article.d.ts.map +0 -1
  622. package/esm/recipes/seo/Article/ArticleToC.d.ts +0 -4
  623. package/esm/recipes/seo/Article/ArticleToC.d.ts.map +0 -1
  624. package/esm/recipes/seo/Article/article-shared.d.ts +0 -5
  625. package/esm/recipes/seo/Article/article-shared.d.ts.map +0 -1
  626. package/esm/recipes/seo/Article/index.d.ts +0 -2
  627. package/esm/recipes/seo/Article/index.d.ts.map +0 -1
  628. package/esm/recipes/seo/Category/CategoryPage.d.ts +0 -9
  629. package/esm/recipes/seo/Category/CategoryPage.d.ts.map +0 -1
  630. package/esm/recipes/seo/Category/index.d.ts +0 -2
  631. package/esm/recipes/seo/Category/index.d.ts.map +0 -1
  632. package/esm/recipes/seo/helpers.d.ts +0 -16
  633. package/esm/recipes/seo/helpers.d.ts.map +0 -1
  634. package/esm/recipes/seo/index.d.ts +0 -1
  635. package/esm/recipes/seo/index.d.ts.map +0 -1
  636. package/esm/river/River.figma.d.ts +0 -2
  637. package/esm/river/River.figma.d.ts.map +0 -1
  638. package/lib/Hero/Hero.figma.d.ts +0 -1
  639. package/lib/IDE/fixtures/content.d.ts +0 -6
  640. package/lib/LogoSuite/LogoSuite.figma.d.ts +0 -1
  641. package/lib/LogoSuite/LogoSuite.fixtures.d.ts +0 -1
  642. package/lib/MonaSans/MonaSans.d.ts +0 -10
  643. package/lib/MonaSans/index.d.ts +0 -1
  644. package/lib/PricingOptions/PricingOptions.figma.d.ts +0 -1
  645. package/lib/Tiles/Tiles.fixtures.d.ts +0 -6
  646. package/lib/fixtures/third-party-logos/AzureLogo.d.ts +0 -4
  647. package/lib/fixtures/third-party-logos/JetBrainsLogo.d.ts +0 -4
  648. package/lib/fixtures/third-party-logos/MicrosoftCopilotLogo.d.ts +0 -4
  649. package/lib/fixtures/third-party-logos/MicrosoftLogo.d.ts +0 -4
  650. package/lib/fixtures/third-party-logos/NeoVimLogo.d.ts +0 -4
  651. package/lib/fixtures/third-party-logos/VisualStudioCodeLogo.d.ts +0 -4
  652. package/lib/fixtures/third-party-logos/VisualStudioLogo.d.ts +0 -4
  653. package/lib/index.esm.d.ts +0 -7
  654. package/lib/list/ListItem/index.d.ts +0 -1
  655. package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOne.d.ts +0 -12
  656. package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOneSideBySide.d.ts +0 -13
  657. package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/components/FormExample.d.ts +0 -7
  658. package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/index.d.ts +0 -1
  659. package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/FeaturePreviewLevelTwo.d.ts +0 -48
  660. package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/index.d.ts +0 -1
  661. package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/FeaturePreviewLevelZero.d.ts +0 -16
  662. package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/index.d.ts +0 -1
  663. package/lib/recipes/FeaturePreviewLPs/helpers.d.ts +0 -29
  664. package/lib/recipes/FlexTemplate/FlexSection/FlexSection.d.ts +0 -7
  665. package/lib/recipes/FlexTemplate/FlexSection/components/ContentfulRiver.d.ts +0 -1
  666. package/lib/recipes/FlexTemplate/FlexSection/components/ContentfulRiverAccordion.d.ts +0 -7
  667. package/lib/recipes/FlexTemplate/FlexSection/components/ContentfulRiverBreakout.d.ts +0 -1
  668. package/lib/recipes/FlexTemplate/FlexSection/components/ContentfulTestimonials.d.ts +0 -7
  669. package/lib/recipes/FlexTemplate/FlexSection/components/FlexSectionTestimonials.d.ts +0 -7
  670. package/lib/recipes/FlexTemplate/FlexSection/components/index.d.ts +0 -5
  671. package/lib/recipes/FlexTemplate/FlexSection/index.d.ts +0 -1
  672. package/lib/recipes/FlexTemplate/FlexTemplate.d.ts +0 -6
  673. package/lib/recipes/FlexTemplate/FlexTemplate.types.d.ts +0 -317
  674. package/lib/recipes/FlexTemplate/FlexTemplateTrailingSection/FlexTemplateTrailingSection.d.ts +0 -5
  675. package/lib/recipes/FlexTemplate/FlexTemplateTrailingSection/index.d.ts +0 -2
  676. package/lib/recipes/FlexTemplate/fixtures/content.d.ts +0 -1
  677. package/lib/recipes/FlexTemplate/index.d.ts +0 -3
  678. package/lib/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.content.d.ts +0 -67
  679. package/lib/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.d.ts +0 -6
  680. package/lib/recipes/Flexsuite/Category/index.d.ts +0 -1
  681. package/lib/recipes/Flexsuite/Details/FlexSuiteAIDetailsPlaylist/FlexSuiteAIDetailsPlaylist.content.d.ts +0 -48
  682. package/lib/recipes/Flexsuite/Details/FlexSuiteAIDetailsPlaylist/FlexSuiteAIDetailsPlaylist.d.ts +0 -6
  683. package/lib/recipes/Flexsuite/Details/index.d.ts +0 -3
  684. package/lib/recipes/Flexsuite/Overview/FlexSuiteAIOverview.content.d.ts +0 -100
  685. package/lib/recipes/Flexsuite/Overview/FlexSuiteAIOverview.d.ts +0 -6
  686. package/lib/recipes/Flexsuite/Overview/FlexSuiteOverview.content.d.ts +0 -4
  687. package/lib/recipes/Flexsuite/Overview/index.d.ts +0 -3
  688. package/lib/recipes/SolutionTemplates/CategoryPage/CategoryPage.d.ts +0 -15
  689. package/lib/recipes/SolutionTemplates/SolutionPage/SolutionPage.d.ts +0 -32
  690. package/lib/recipes/SolutionTemplates/SolutionPage/index.d.ts +0 -1
  691. package/lib/recipes/SolutionTemplates/SolutionsOverview/SolutionsOverview.d.ts +0 -16
  692. package/lib/recipes/SolutionTemplates/helpers.d.ts +0 -126
  693. package/lib/recipes/SolutionTemplates/index.d.ts +0 -0
  694. package/lib/recipes/seo/Article/Article.d.ts +0 -13
  695. package/lib/recipes/seo/Article/ArticleToC.d.ts +0 -3
  696. package/lib/recipes/seo/Article/article-shared.d.ts +0 -4
  697. package/lib/recipes/seo/Article/index.d.ts +0 -1
  698. package/lib/recipes/seo/Category/CategoryPage.d.ts +0 -8
  699. package/lib/recipes/seo/Category/index.d.ts +0 -1
  700. package/lib/recipes/seo/helpers.d.ts +0 -15
  701. package/lib/recipes/seo/index.d.ts +0 -0
  702. 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
+ ![An image showing two different avatars, a circular and a square one.](https://user-images.githubusercontent.com/175638/234820833-c803cb11-2bc3-4597-88f3-2cf630a46702.png)
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
+ ![An image showing the size scale of the avatar component: 32, 40, 48, 64, and 80 pixels](https://user-images.githubusercontent.com/175638/234826575-1d1d5019-f714-41b1-b8bc-c0d312a46cfe.png)
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
+ ![An image showing the two different shapes of the avatar component: circle and square](https://user-images.githubusercontent.com/175638/234827120-da548115-450b-4ec8-a6e6-5dcbe98e77c5.png)
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 |