@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
@@ -0,0 +1,221 @@
1
+ ---
2
+ title: Text input
3
+ description: Use the text input component for single-line text field.
4
+ keywords: ['input', 'form']
5
+ figma: 'https://www.figma.com/file/BJ95AjraesmRCWsKA013GS/Primer-Brand?node-id=1377%3A30676'
6
+ source: https://github.com/primer/brand/blob/main/packages/react/src/forms/TextInput/TextInput.tsx
7
+ storybook: '/brand/storybook/?path=/story/components-forms-textinput--playground'
8
+ ---
9
+
10
+ ```js
11
+ import {TextInput} from '@primer/react-brand'
12
+ ```
13
+
14
+ ## Examples
15
+
16
+ ### Default
17
+
18
+ ```jsx
19
+ <TextInput aria-label="Demo TextInput" />
20
+ ```
21
+
22
+ ### Variants
23
+
24
+ ```jsx
25
+ <div
26
+ style={{
27
+ display: 'grid',
28
+ gridTemplateColumns: 'repeat(auto-fit, minmax(min(100%, 290px), 1fr))',
29
+ gap: '20px',
30
+ maxWidth: '600px',
31
+ width: '100%',
32
+ }}
33
+ >
34
+ <FormControl fullWidth>
35
+ <FormControl.Label>Text (default)</FormControl.Label>
36
+ <TextInput type="text" placeholder="alphanumeric" />
37
+ </FormControl>
38
+ <FormControl fullWidth>
39
+ <FormControl.Label>Number</FormControl.Label>
40
+ <TextInput type="number" placeholder="123" />
41
+ </FormControl>
42
+ <FormControl fullWidth>
43
+ <FormControl.Label>Email</FormControl.Label>
44
+ <TextInput type="email" autoComplete="email" placeholder="mona@github.com" />
45
+ </FormControl>
46
+ <FormControl fullWidth>
47
+ <FormControl.Label>Password</FormControl.Label>
48
+ <TextInput type="password" autoComplete="current-password" value="monalisa" />
49
+ </FormControl>
50
+ <FormControl fullWidth>
51
+ <FormControl.Label>Month</FormControl.Label>
52
+ <TextInput type="month" />
53
+ </FormControl>
54
+ <FormControl fullWidth>
55
+ <FormControl.Label>Telephone</FormControl.Label>
56
+ <TextInput type="tel" autoComplete="tel" />
57
+ </FormControl>
58
+ <FormControl fullWidth>
59
+ <FormControl.Label>Time</FormControl.Label>
60
+ <TextInput type="time" />
61
+ </FormControl>
62
+ <FormControl fullWidth>
63
+ <FormControl.Label>Date</FormControl.Label>
64
+ <TextInput type="date" />
65
+ </FormControl>
66
+ <FormControl fullWidth>
67
+ <FormControl.Label>Date (local)</FormControl.Label>
68
+ <TextInput type="datetime-local" />
69
+ </FormControl>
70
+ <FormControl fullWidth>
71
+ <FormControl.Label>URL</FormControl.Label>
72
+ <TextInput type="url" autoComplete="url" value="https://github.com" />
73
+ </FormControl>
74
+ </div>
75
+ ```
76
+
77
+ ### Use with `FormControl`
78
+
79
+ Use `TextInput` alongside `FormControl` to ensure the control always has a corresponding form label.
80
+
81
+ [See FormControl for additional usage examples.](../FormControl/index.md)
82
+
83
+ ```jsx
84
+ <FormControl>
85
+ <FormControl.Label>First name</FormControl.Label>
86
+ <TextInput autoComplete="given-name" />
87
+ </FormControl>
88
+ ```
89
+
90
+ ### Placeholder
91
+
92
+ ```jsx
93
+ <FormControl fullWidth>
94
+ <FormControl.Label>First name</FormControl.Label>
95
+ <TextInput placeholder="Mona" autoComplete="given-name" />
96
+ </FormControl>
97
+ ```
98
+
99
+ ### Autocomplete
100
+
101
+ The `autoComplete` prop should be provided wherever possible to allow browsers to autofill the input field. See MDN for [a complete list of autocomplete values](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete).
102
+
103
+ ```jsx
104
+ <FormControl fullWidth>
105
+ <FormControl.Label>First name</FormControl.Label>
106
+ <TextInput autoComplete="given-name" />
107
+ </FormControl>
108
+ ```
109
+
110
+ ### Validation
111
+
112
+ ```jsx
113
+ <div style={{display: 'inline-grid', gap: 3}}>
114
+ <FormControl validationStatus="error">
115
+ <FormControl.Label>Error</FormControl.Label>
116
+ <TextInput />
117
+ <FormControl.Validation>This is an error message</FormControl.Validation>
118
+ </FormControl>
119
+ <FormControl validationStatus="success">
120
+ <FormControl.Label>Success</FormControl.Label>
121
+ <TextInput />
122
+ <FormControl.Validation>This is a success message</FormControl.Validation>
123
+ </FormControl>
124
+ </div>
125
+ ```
126
+
127
+ ### Full width
128
+
129
+ ```jsx
130
+ <TextInput fullWidth aria-label="Full width TextInput" />
131
+ ```
132
+
133
+ ### Sizes
134
+
135
+ `FormControl` can appear in `medium` (default) and `large` dimensions using the `size` prop.
136
+
137
+ ```jsx
138
+ <div style={{display: 'inline-grid', gap: 3}}>
139
+ <TextInput size="medium" aria-label="Medium TextInput" />
140
+
141
+ <TextInput size="large" aria-label="Large TextInput" />
142
+ </div>
143
+ ```
144
+
145
+ ### Required
146
+
147
+ Pass the `required` prop to ensure that the input field must be filled out before submitting the form.
148
+
149
+ ```jsx
150
+ <TextInput required aria-label="Required TextInput" />
151
+ ```
152
+
153
+ ### Using `refs`
154
+
155
+ `TextInput` inputs can be used in [uncontrolled mode](https://reactjs.org/docs/uncontrolled-components.html) by forwarding a `ref` to the underlying element.
156
+
157
+ ```jsx filename="noinline"
158
+ const App = () => {
159
+ const inputRef = React.useRef(null)
160
+
161
+ const handleSubmit = e => {
162
+ e.preventDefault()
163
+ if (!inputRef.current.value) {
164
+ alert(`Enter a value and try again.`)
165
+ return
166
+ }
167
+
168
+ alert(`Name: ${inputRef.current.value}`)
169
+ }
170
+
171
+ return (
172
+ <form onSubmit={handleSubmit}>
173
+ <div
174
+ style={{
175
+ display: 'grid',
176
+ gap: 'var(--base-size-16)',
177
+ maxWidth: 400,
178
+ marginX: 'auto',
179
+ }}
180
+ >
181
+ <FormControl fullWidth>
182
+ <FormControl.Label>Name</FormControl.Label>
183
+ <TextInput ref={inputRef} />
184
+ </FormControl>
185
+ <Button type="submit" variant="primary">
186
+ Submit
187
+ </Button>
188
+ </div>
189
+ </form>
190
+ )
191
+ }
192
+
193
+ render(App)
194
+ ```
195
+
196
+ ## Component props
197
+
198
+ `TextInput` provides a React alternative to the native HTML `<input>` in single-line mode.
199
+
200
+ The component API supports all standard HTML attribute props, while providing some additional behaviour as described below.
201
+
202
+ ### TextInput `Required`
203
+
204
+ | Name | Type | Default | Description |
205
+ | :----------------- | :------------------------------------------------------------------------------------------------------------------ | :-----: | :----------------------------------------------------------- |
206
+ | `children` | `'TextInput.Option' \| 'TextInput.OptGroup'`, | | Valid child nodes |
207
+ | `className` | `string` | | Sets a custom class |
208
+ | `id` | `string` | | Sets a custom id |
209
+ | `fullWidth` | `boolean` | | Stretches elements visually to the edges of its parent div. |
210
+ | `ref` | `React.RefObject` | | Forward a Ref to the underlying DOM node |
211
+ | `size` | `'medium' \| 'large'` | | Visual dimensions for the input |
212
+ | `type` | `'text' \| 'number' \| 'email' \| 'password' \| 'search' \| 'tel' \| 'url' \| 'date' \| 'time' \| 'datetime-local'` | `text` | Alternative text inputs |
213
+ | `validationStatus` | `'error' \| 'success'` | | Applies visual and semantic state to the underlying elements |
214
+
215
+ Additional props can be passed to the `<input>` element. [See MDN for a list of props](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input) accepted by the `<input>` element.
216
+
217
+ ## Related components
218
+
219
+ - [FormControl](../FormControl/index.md)
220
+ - [Select](../Select/index.md)
221
+ - [TextInput](./index.md)
@@ -0,0 +1,14 @@
1
+ ---
2
+ title: Forms
3
+ ---
4
+
5
+ ## In this section
6
+
7
+ - [Checkbox](Checkbox/react.md): Use the checkbox component to select one or more options of a limited number of choices.
8
+ - [Checkbox group](CheckboxGroup/react.md): Checkbox group renders a set of checkboxes.
9
+ - [Form control](FormControl/index.md): Use the form control component to display form inputs alongside labels, validation and more.
10
+ - [Radio](Radio/react.md): Use the radio component when a user needs to select one option from a list.
11
+ - [Radio group](RadioGroup/react.md): Radio group is used to render a short list of mutually exclusive options.
12
+ - [Select](Select/index.md): Use the select component to enable selection of one option from a list.
13
+ - [Text input](TextInput/index.md): Use the text input component for single-line text field.
14
+ - [Textarea](TextArea/index.md): Use the textarea component for multi-line text input form fields.
@@ -0,0 +1,49 @@
1
+ ---
2
+ title: Getting started
3
+ description: Primer Brand is open-sourced on GitHub and available on npm.
4
+ keywords: ['accessibility', 'introduction', 'simple']
5
+ ---
6
+
7
+ Using ESM, you will load only the React components and CSS you need.
8
+
9
+ We recommend using ESM if your project uses compatible bundlers or frameworks like Vite or Next.js.
10
+
11
+ ### 1. Install Primer Brand
12
+
13
+ ```shell
14
+ npm install @primer/react-brand
15
+ ```
16
+
17
+ ### 2. Import components from the ESM folder
18
+
19
+ ```js
20
+ import {Hero, ThemeProvider} from '@primer/react-brand/esm'
21
+ ```
22
+
23
+ Each component's styles are automatically included when you import the component.
24
+
25
+ > Do not combine this approach with the global lib/css/main.css import.
26
+ >
27
+ > Choose one approach or the other to avoid loading duplicate styles.
28
+
29
+ ### 3. Import the font assets
30
+
31
+ The Mona Sans typeface still needs to be loaded separately:
32
+
33
+ ```js
34
+ import '@primer/react-brand/fonts/fonts.css'
35
+ ```
36
+
37
+ ### 4. Use the `ThemeProvider`
38
+
39
+ ```js
40
+ import {ThemeProvider} from '@primer/react-brand/esm'
41
+
42
+ function App() {
43
+ return (
44
+ <ThemeProvider>
45
+ <div>...</div>
46
+ </ThemeProvider>
47
+ )
48
+ }
49
+ ```
@@ -0,0 +1,98 @@
1
+ ---
2
+ title: Getting started
3
+ description: Primer Brand is open-sourced on GitHub and available on npm.
4
+ keywords: ['introduction', 'simple', 'get started', 'tutorials']
5
+ ---
6
+
7
+ Primer Brand is [open-sourced on GitHub](https://github.com/primer/brand) and [available on npm](https://www.npmjs.com/package/@primer/react-brand).
8
+
9
+ ### 1. Install Primer Brand
10
+
11
+ Install Primer Brand with [npm](https://www.npmjs.com/).
12
+
13
+ ```shell
14
+ npm install @primer/react-brand
15
+ ```
16
+
17
+ ### 2. Import global stylesheets
18
+
19
+ Primer Brand requires a global stylesheet to be loaded ahead-of-time.
20
+
21
+ > Refer to [this separate guide if you are using an ESM-compatible bundler](./esm.md). Component styles are included
22
+ > with the React component imports.
23
+
24
+ #### a. Using an application bundler (e.g. Webpack)
25
+
26
+ Import the `main` stylesheet at the earliest rendering opportunity:
27
+
28
+ ```js
29
+ import '@primer/react-brand/lib/css/main.css'
30
+ ```
31
+
32
+ or
33
+
34
+ #### b. Using a static stylesheet
35
+
36
+ Load the static stylesheet if you're unable to import stylesheets using a bundler
37
+
38
+ ```html
39
+ <link href="https://unpkg.com/browse/@primer/react-brand@<version>/lib/css/main.css" rel="stylesheet" />
40
+ ```
41
+
42
+ ### 3. (Optional) Import the custom font assets
43
+
44
+ Primer Brand references the `Mona Sans` typeface, which will need to be loaded alongside the main stylesheet.
45
+
46
+ ```js
47
+ import '@primer/react-brand/fonts/fonts.css'
48
+ ```
49
+
50
+ or
51
+
52
+ ```html
53
+ <link href="https://unpkg.com/browse/@primer/react-brand@<version>/fonts/fonts.css" rel="stylesheet" />
54
+ ```
55
+
56
+ ### 4. Use the ThemeProvider
57
+
58
+ You must add the `ThemeProvider` to the root of your application for theming to work correctly.
59
+
60
+ E.g.
61
+
62
+ ```js
63
+ import {ThemeProvider} from '@primer/react-brand'
64
+
65
+ function App() {
66
+ return (
67
+ <ThemeProvider>
68
+ <div>...</div>
69
+ </ThemeProvider>
70
+ )
71
+ }
72
+ ```
73
+
74
+ ### 5. Import components
75
+
76
+ Components can be imported into any React-based application.
77
+
78
+ E.g.
79
+
80
+ ```js
81
+ import {Hero} from '@primer/react-brand'
82
+ ```
83
+
84
+ ```jsx
85
+ <Hero>
86
+ <Hero.Label>Label</Hero.Label>
87
+ <Hero.Heading>This is my super sweet hero heading</Hero.Heading>
88
+ <Hero.Description>
89
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sapien sit ullamcorper id. Aliquam luctus sed turpis
90
+ felis nam pulvinar risus elementum.
91
+ </Hero.Description>
92
+ <Hero.PrimaryAction href="#">Primary action</Hero.PrimaryAction>
93
+ <Hero.SecondaryAction href="#">Secondary action</Hero.SecondaryAction>
94
+ </Hero>
95
+ ```
96
+
97
+ > Building with an AI agent? Use the [Primer Brand MCP server](../introduction/mcp.md) to automatically use our
98
+ > components, tokens and patterns correctly.
package/docs/index.md ADDED
@@ -0,0 +1,99 @@
1
+ # Primer Brand docs (v0.70.0-rc.11ae3568)
2
+
3
+ These docs are bundled with `@primer/react-brand@0.70.0-rc.11ae3568` and match your installed version.
4
+
5
+ New here? Start with [Getting started](getting-started/index.md) for installation, global
6
+ stylesheet and font setup. Component directories are named after their import (e.g.
7
+ `components/Button`), and `react.md` holds the import line, live examples and props.
8
+
9
+ ## Getting started
10
+
11
+ - [Getting started (ESM)](getting-started/esm.md): Primer Brand is open-sourced on GitHub and available on npm.
12
+ - [Getting started](getting-started/index.md): Primer Brand is open-sourced on GitHub and available on npm.
13
+
14
+ ## Introduction
15
+
16
+ - [Animation](introduction/animation.md): Use animations to add visual interest and interactivity to a web page or application.
17
+ - [Guides](introduction/index.md): Get started with Primer Brand
18
+ - [MCP server](introduction/mcp.md): Help AI agents use Primer Brand correctly with our Model Context Protocol server.
19
+ - [Theming](introduction/theming.md)
20
+
21
+ ## Primitives
22
+
23
+ - [Color](primitives/color.md)
24
+ - [Primitives](primitives/index.md): Learn about Primer Brand Primitives
25
+
26
+ ## Layout
27
+
28
+ - [Box](layout/Box/react.md): Use a box to simplify the process of applying one-off styles to an element
29
+ - [Grid](layout/Grid/react.md): Use the grid component to create flexible and responsive grid-based layouts.
30
+ - [Layout](layout/index.md)
31
+ - [Stack](layout/Stack/react.md): Use the stack component to create a layout for its immediate children along the vertical or horizontal axis.
32
+
33
+ ## Typography
34
+
35
+ - [Heading](typography/Heading/react.md): Use the heading component to render title or subtitle text.
36
+ - [Text](typography/Text/react.md): Use the text component create a range of body text
37
+ - [Typography](typography/index.md)
38
+
39
+ ## Components
40
+
41
+ - [Action menu](components/ActionMenu/index.md): Use the action menu component to display a list of actions or selections that expand through a trigger button.
42
+ - [Anchor nav](components/AnchorNav/index.md): Use the anchor nav component for prompt navigation to different sections of a page.
43
+ - [Avatar](components/Avatar/react.md): Use the avatar component to display a thumbnail representation of a person.
44
+ - [Bento](components/Bento/index.md): Use the bento to present content in a responsive grid layout.
45
+ - [Breadcrumbs](components/Breadcrumbs/react.md): Breadcrumbs display the current page within the site's hierarchy, allowing users to easily navigate to a different level.
46
+ - [Breakout banner](components/BreakoutBanner/react.md): Use a breakout banner to break up content on longer pages and highlight important information.
47
+ - [Button](components/Button/react.md): Use the button component for the main actions on a page or form.
48
+ - [Button group](components/ButtonGroup/react.md): Use the button group component to group related buttons together.
49
+ - [Card](components/Card/react.md): Use the card component to display information in a compact way and link to other internal pages.
50
+ - [Comparison table](components/ComparisonTable/index.md): Use the comparison table component to compare two products or features in a table format.
51
+ - [Components](components/index.md): Primer Brand UI components
52
+ - [CTA banner](components/CTABanner/react.md): Use the CTA banner component to highlight and create urgency around user actions.
53
+ - [CTA form](components/CTAForm/react.md): Use the CTA form component to create a form that is used to collect minimal information from users.
54
+ - [Eyebrow banner](components/EyebrowBanner/index.md): Use the eyebrow banner to highlight important information at the top of a page.
55
+ - [FAQ](components/FAQ/react.md): Use the FAQ component to display content in a Q&A format.
56
+ - [Footnotes](components/Footnotes/react.md): Use footnotes to display contextual information and cite sources in the page content.
57
+ - [Hero](components/Hero/react.md): Use the hero component to render a full-width banner at the top of a page.
58
+ - [Icon](components/Icon/index.md): Use the icon component to display Octicons with an optional background
59
+ - [IDE](components/IDE/index.md): Use the IDE to showcase a simulated integrated developer environment, complete with a code editor and AI chat that's intended to enhance code representation in marketing contexts.
60
+ - [Image](components/Image/react.md): Use the image component to display a graphical representation.
61
+ - [Label](components/Label/react.md): Use the label component to add metadata or indicate the status of items.
62
+ - [Logo suite](components/LogoSuite/react.md): Use a logo suite to present a list logos, such as sponsors or vendors.
63
+ - [Media playlist](components/MediaPlaylist/index.md): Use MediaPlaylist to pair thumbnail-backed media items with a shared playback or media area.
64
+ - [Minimal footer](components/MinimalFooter/index.md): Use the minimal footer component to provide a global footer featuring legal links, GitHub logomarks and footnotes.
65
+ - [NavList](components/NavList/index.md): Use NavList to render vertical navigation with optional expandable groups.
66
+ - [Ordered list](components/OrderedList/react.md): Use the ordered list component to display a list of numbered items.
67
+ - [Pagination](components/Pagination/index.md): Use Pagination to display a sequence of links that allow navigation to discrete, related pages.
68
+ - [Pillar](components/Pillar/react.md): Use the pillar component to group related content together.
69
+ - [Pricing options](components/PricingOptions/index.md): Use the pricing options to display pricing plan information on a page.
70
+ - [Prose](components/Prose/index.md): Use the prose component to apply Primer Brand styles to HTML markup.
71
+ - [River](components/River/react.md): Use the river component to introduce a feature using a type and media pairing.
72
+ - [River accordion](components/RiverAccordion/index.md): Use the river accordion to create expandable content panels with associated visuals.
73
+ - [River breakout tabs](components/RiverBreakoutTabs/index.md): Use RiverBreakoutTabs to pair card-based tabs with a shared visual area on desktop and an accordion pattern on narrower viewports.
74
+ - [Section](components/Section/react.md): Use the section component to group related content together.
75
+ - [Section intro](components/SectionIntro/react.md): Use the section intro component to provide a title, optional description and link to a new section in the page.
76
+ - [Section intro stacked](components/SectionIntroStacked/index.md): Use this section intro component to provide a heading, link and itemized content in a stacked layout.
77
+ - [Statistic](components/Statistic/index.md): Use the statistic component display concise numerical information
78
+ - [Sub nav](components/SubNav/index.md): A sub nav is a secondary navigation element, typically positioned beneath a primary navigation.
79
+ - [Subdomain nav bar](components/SubdomainNavBar/index.md): Use the subdomain nav bar component for top level navigation for subdomain sites.
80
+ - [Tabs](components/Tabs/index.md): Use Tabs to display a list of tabs with associated content panels.
81
+ - [Testimonial](components/Testimonial/react.md): Use testimonial to display a quote from a customer or user.
82
+ - [Tiles](components/Tiles/index.md): Use tiles to display a grid of logos or icons with optional links.
83
+ - [Timeline](components/Timeline/index.md): Use the timeline component to display a list of connected items as a vertical timeline.
84
+ - [Token](components/Token/index.md): Token is a compact representation of an object, and is typically used to show a collection of related metadata.
85
+ - [Tooltip](components/Tooltip/index.md): Use the tooltip component to display a short message when a user hovers or focuses an interactive element.
86
+ - [Unordered list](components/UnorderedList/react.md): Use the unordered list component to present a collection of items without specific ordering.
87
+ - [Video player](components/VideoPlayer/index.md): Use the video player component to enable playback of self-hosted videos
88
+
89
+ ## Forms
90
+
91
+ - [Checkbox](forms/Checkbox/react.md): Use the checkbox component to select one or more options of a limited number of choices.
92
+ - [Checkbox group](forms/CheckboxGroup/react.md): Checkbox group renders a set of checkboxes.
93
+ - [Form control](forms/FormControl/index.md): Use the form control component to display form inputs alongside labels, validation and more.
94
+ - [Forms](forms/index.md)
95
+ - [Radio](forms/Radio/react.md): Use the radio component when a user needs to select one option from a list.
96
+ - [Radio group](forms/RadioGroup/react.md): Radio group is used to render a short list of mutually exclusive options.
97
+ - [Select](forms/Select/index.md): Use the select component to enable selection of one option from a list.
98
+ - [Text input](forms/TextInput/index.md): Use the text input component for single-line text field.
99
+ - [Textarea](forms/TextArea/index.md): Use the textarea component for multi-line text input form fields.
@@ -0,0 +1,127 @@
1
+ ---
2
+ title: Animation
3
+ storybook: '/brand/storybook/?path=/story/components-animations--playground'
4
+ description: Use animations to add visual interest and interactivity to a web page or application.
5
+ options:
6
+ disablePageAnimation: true
7
+ ---
8
+
9
+ ### Animate component
10
+
11
+ You can alternatively compose animations into your React application using the `Animate` wrapper component. This can be useful in situations where you need to animate native HTML elements, or components that don't support the `animate` prop.
12
+
13
+ ```js
14
+ import {Animate} from '@primer/react-brand'
15
+ ```
16
+
17
+ ```js
18
+ <AnimationProvider>
19
+ <Animate animate="fade-in">
20
+ <Text>This text will fade-in</Text>
21
+ </Animate>
22
+ </AnimationProvider>
23
+ ```
24
+
25
+ ### AnimationProvider
26
+
27
+ An `AnimationProvider` is first required to enable animations on the page. This component should wrap specific parts of your application code, or the entire app.
28
+ The `AnimationProvider` assumes responsibility for triggering animations and automatically applying effects such as staggering.
29
+
30
+ By default, the `AnimationProvider` will stagger animations in order of DOM appearance. This behavior can be turned off by setting `autoStaggerChildren` to `false`.
31
+
32
+ The increment delta can also be increased or decreased using `staggerDelayIncrement`, which is set to 100ms by default.
33
+
34
+ ```js
35
+ import {AnimationProvider} from '@primer/react-brand'
36
+ ```
37
+
38
+ ## Examples
39
+
40
+ Animations should be used sparingly. The examples below demonstrate some valid use-cases.
41
+
42
+ ### River
43
+
44
+ Apply animation to `River.Content` instead of the entire element.
45
+
46
+ ```jsx
47
+ <AnimationProvider>
48
+ <River>
49
+ <River.Visual>
50
+ <img src="/images/placeholder.png" alt="placeholder, blank area with a gray background color" />
51
+ </River.Visual>
52
+ <River.Content animate="slide-in-right">
53
+ <Heading>Heading</Heading>
54
+ <Text>
55
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sapien sit ullamcorper id. Aliquam luctus sed turpis
56
+ felis nam pulvinar risus elementum.
57
+ </Text>
58
+ <Link href="#">Call to action</Link>
59
+ </River.Content>
60
+ </River>
61
+ </AnimationProvider>
62
+ ```
63
+
64
+ ### Cards and staggering
65
+
66
+ `AnimationProvider` automatically applies a delay increment to all `children` that have `animation` presets defined. Extend the duration of each delay using `staggerDelayIncrement`.
67
+
68
+ Alternatively, use `delay` to stagger animations on adjacent elements if this feature is toggled off.
69
+
70
+ ```jsx
71
+ <Grid>
72
+ <Grid.Column
73
+ span={{
74
+ xsmall: 12,
75
+ large: 6,
76
+ }}
77
+ >
78
+ <Animate animate="scale-in-up">
79
+ <Card href="https://github.com">
80
+ <Card.Icon icon={CopilotIcon} color="indigo" hasBackground />
81
+ <Card.Heading>Collaboration is the key to DevOps success</Card.Heading>
82
+ <Card.Description>Everything you need to know about getting started with GitHub Actions.</Card.Description>
83
+ </Card>
84
+ </Animate>
85
+ </Grid.Column>
86
+ <Grid.Column
87
+ span={{
88
+ xsmall: 12,
89
+ large: 6,
90
+ }}
91
+ >
92
+ <Animate animate="scale-in-up">
93
+ <Card href="https://github.com">
94
+ <Card.Icon icon={RocketIcon} hasBackground color="blue" />
95
+ <Card.Heading>GitHub Actions cheat sheet and more</Card.Heading>
96
+ <Card.Description>In a recent study, 70% of organizations reported they had adopted DevOps.</Card.Description>
97
+ </Card>
98
+ </Animate>
99
+ </Grid.Column>
100
+ </Grid>
101
+ ```
102
+
103
+ ### Immediate animations
104
+
105
+ Use `animationTrigger="immediate"` to run animations as soon as the component mounts
106
+
107
+ ```jsx
108
+ <AnimationProvider animationTrigger="immediate">
109
+ <Heading animate="fade-in">This heading animates in immediately</Heading>
110
+ </AnimationProvider>
111
+ ```
112
+
113
+ See Storybook for more examples of animation.
114
+
115
+ ## Props
116
+
117
+ ### AnimationProvider `Required`
118
+
119
+ | Name | Type | Default | Required | Description |
120
+ | ----------------------- | ----------- | -------------------- | -------- | -------------------------------------------------------------------------------------------- |
121
+ | `children` | `ReactNode` | | `true` | The children to render within the `AnimationProvider` |
122
+ | `disableAnimations` | `boolean` | | `false` | Prevents animations from running inside the provider |
123
+ | `animationTrigger` | | `'on-visible'` | `false` | Controls the trigger method for the animation. One of `click`, `on-visible`, or `immediate`. |
124
+ | `visibilityOptions` | | `'bottom-of-screen'` | `false` | Controls the intersection observer options for the animation. |
125
+ | `runOnce` | `boolean` | `false` | `false` | Will persist the animation end-state after the animation has completed. |
126
+ | `autoStaggerChildren` | `boolean` | `true` | | Will stagger the animations of the children using an incrementing delay |
127
+ | `staggerDelayIncrement` | `number` | `100` | | Stagger delay increment. Should be used alongside `autoStaggerChildren`. |
@@ -0,0 +1,10 @@
1
+ ---
2
+ title: Guides
3
+ description: Get started with Primer Brand
4
+ ---
5
+
6
+ ## In this section
7
+
8
+ - [Animation](animation.md): Use animations to add visual interest and interactivity to a web page or application.
9
+ - [MCP server](mcp.md): Help AI agents use Primer Brand correctly with our Model Context Protocol server.
10
+ - [Theming](theming.md)