@primer/react-brand 0.69.1-rc.0a4e5ff5 → 0.70.0-rc.138127ad

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (661) 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/OrderedList/index.md +55 -0
  40. package/docs/components/OrderedList/react.md +41 -0
  41. package/docs/components/Pagination/index.md +80 -0
  42. package/docs/components/Pillar/index.md +114 -0
  43. package/docs/components/Pillar/react.md +175 -0
  44. package/docs/components/PricingOptions/index.md +509 -0
  45. package/docs/components/Prose/index.md +158 -0
  46. package/docs/components/River/index.md +190 -0
  47. package/docs/components/River/react.md +295 -0
  48. package/docs/components/RiverAccordion/index.md +200 -0
  49. package/docs/components/RiverBreakoutTabs/index.md +171 -0
  50. package/docs/components/Section/index.md +40 -0
  51. package/docs/components/Section/react.md +137 -0
  52. package/docs/components/SectionIntro/index.md +77 -0
  53. package/docs/components/SectionIntro/react.md +107 -0
  54. package/docs/components/SectionIntroStacked/index.md +226 -0
  55. package/docs/components/Statistic/index.md +111 -0
  56. package/docs/components/SubNav/index.md +156 -0
  57. package/docs/components/SubdomainNavBar/index.md +136 -0
  58. package/docs/components/Tabs/index.md +243 -0
  59. package/docs/components/Testimonial/index.md +138 -0
  60. package/docs/components/Testimonial/react.md +191 -0
  61. package/docs/components/Tiles/index.md +1441 -0
  62. package/docs/components/Timeline/index.md +68 -0
  63. package/docs/components/Token/index.md +86 -0
  64. package/docs/components/Tooltip/index.md +61 -0
  65. package/docs/components/UnorderedList/index.md +67 -0
  66. package/docs/components/UnorderedList/react.md +89 -0
  67. package/docs/components/VideoPlayer/index.md +234 -0
  68. package/docs/components/index.md +52 -0
  69. package/docs/forms/Checkbox/index.md +86 -0
  70. package/docs/forms/Checkbox/react.md +111 -0
  71. package/docs/forms/CheckboxGroup/index.md +37 -0
  72. package/docs/forms/CheckboxGroup/react.md +175 -0
  73. package/docs/forms/FormControl/index.md +404 -0
  74. package/docs/forms/Radio/index.md +63 -0
  75. package/docs/forms/Radio/react.md +68 -0
  76. package/docs/forms/RadioGroup/index.md +45 -0
  77. package/docs/forms/RadioGroup/react.md +151 -0
  78. package/docs/forms/Select/index.md +244 -0
  79. package/docs/forms/TextArea/index.md +126 -0
  80. package/docs/forms/TextInput/index.md +221 -0
  81. package/docs/forms/index.md +14 -0
  82. package/docs/getting-started/esm.md +49 -0
  83. package/docs/getting-started/index.md +95 -0
  84. package/docs/index.md +97 -0
  85. package/docs/introduction/animation.md +127 -0
  86. package/docs/introduction/index.md +9 -0
  87. package/docs/introduction/theming.md +132 -0
  88. package/docs/layout/Box/index.md +46 -0
  89. package/docs/layout/Box/react.md +284 -0
  90. package/docs/layout/Grid/index.md +132 -0
  91. package/docs/layout/Grid/react.md +117 -0
  92. package/docs/layout/Stack/index.md +60 -0
  93. package/docs/layout/Stack/react.md +166 -0
  94. package/docs/layout/index.md +9 -0
  95. package/docs/primitives/color.md +6 -0
  96. package/docs/primitives/index.md +8 -0
  97. package/docs/typography/Heading/index.md +53 -0
  98. package/docs/typography/Heading/react.md +182 -0
  99. package/docs/typography/Text/index.md +68 -0
  100. package/docs/typography/Text/react.md +125 -0
  101. package/docs/typography/index.md +8 -0
  102. package/lib/Grid/Grid.d.ts +1 -1
  103. package/lib/SubNav/SubNav.d.ts +1 -1
  104. package/lib/Token/Token.d.ts +1 -1
  105. package/lib/css/main.css +67 -67
  106. package/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes.css +1 -1
  107. package/lib/design-tokens/css/tokens/base/colors/light.css +1 -1
  108. package/lib/design-tokens/css/tokens/base/size/size.css +1 -1
  109. package/lib/design-tokens/css/tokens/base/typography/typography.css +1 -1
  110. package/lib/design-tokens/css/tokens/functional/animation/base.css +1 -1
  111. package/lib/design-tokens/css/tokens/functional/colors/global-with-modes.css +1 -1
  112. package/lib/design-tokens/css/tokens/functional/colors/global.css +1 -1
  113. package/lib/design-tokens/css/tokens/functional/components/accordion/colors-with-modes.css +1 -1
  114. package/lib/design-tokens/css/tokens/functional/components/action-menu/colors-with-modes.css +1 -1
  115. package/lib/design-tokens/css/tokens/functional/components/anchor-nav/colors-with-modes.css +1 -1
  116. package/lib/design-tokens/css/tokens/functional/components/bento/base.css +1 -1
  117. package/lib/design-tokens/css/tokens/functional/components/blinking-cursor/colors-with-modes.css +1 -1
  118. package/lib/design-tokens/css/tokens/functional/components/breadcrumbs/colors-with-modes.css +1 -1
  119. package/lib/design-tokens/css/tokens/functional/components/button/colors-with-modes.css +1 -1
  120. package/lib/design-tokens/css/tokens/functional/components/card/base.css +1 -1
  121. package/lib/design-tokens/css/tokens/functional/components/card/colors-with-modes.css +1 -1
  122. package/lib/design-tokens/css/tokens/functional/components/card/colors.css +1 -1
  123. package/lib/design-tokens/css/tokens/functional/components/comparison-table/colors-with-modes.css +1 -1
  124. package/lib/design-tokens/css/tokens/functional/components/comparison-table/comparison-table.css +1 -1
  125. package/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes.css +1 -1
  126. package/lib/design-tokens/css/tokens/functional/components/cta-banner/colors-with-modes.css +1 -1
  127. package/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/colors-with-modes.css +1 -1
  128. package/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/eyebrow-banner.css +1 -1
  129. package/lib/design-tokens/css/tokens/functional/components/faq/base.css +1 -1
  130. package/lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes.css +1 -1
  131. package/lib/design-tokens/css/tokens/functional/components/faq/colors.css +1 -1
  132. package/lib/design-tokens/css/tokens/functional/components/faq/faq.css +1 -1
  133. package/lib/design-tokens/css/tokens/functional/components/footer/colors-with-modes.css +1 -1
  134. package/lib/design-tokens/css/tokens/functional/components/footer/colors.css +1 -1
  135. package/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/base.css +1 -1
  136. package/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/colors-with-modes.css +1 -1
  137. package/lib/design-tokens/css/tokens/functional/components/grid/colors-with-modes.css +1 -1
  138. package/lib/design-tokens/css/tokens/functional/components/grid/colors.css +1 -1
  139. package/lib/design-tokens/css/tokens/functional/components/grid/grid.css +1 -1
  140. package/lib/design-tokens/css/tokens/functional/components/hero/base.css +1 -1
  141. package/lib/design-tokens/css/tokens/functional/components/icon/colors-with-modes.css +1 -1
  142. package/lib/design-tokens/css/tokens/functional/components/icon/colors.css +1 -1
  143. package/lib/design-tokens/css/tokens/functional/components/ide/base.css +1 -1
  144. package/lib/design-tokens/css/tokens/functional/components/ide/colors-with-modes.css +1 -1
  145. package/lib/design-tokens/css/tokens/functional/components/image/base.css +1 -1
  146. package/lib/design-tokens/css/tokens/functional/components/inline-link/base.css +1 -1
  147. package/lib/design-tokens/css/tokens/functional/components/inline-link/colors-with-modes.css +1 -1
  148. package/lib/design-tokens/css/tokens/functional/components/inline-link/colors.css +1 -1
  149. package/lib/design-tokens/css/tokens/functional/components/label/colors-with-modes.css +1 -1
  150. package/lib/design-tokens/css/tokens/functional/components/label/colors.css +1 -1
  151. package/lib/design-tokens/css/tokens/functional/components/link/colors-with-modes.css +1 -1
  152. package/lib/design-tokens/css/tokens/functional/components/link/colors.css +1 -1
  153. package/lib/design-tokens/css/tokens/functional/components/logosuite/base.css +1 -1
  154. package/lib/design-tokens/css/tokens/functional/components/logosuite/colors-with-modes.css +1 -1
  155. package/lib/design-tokens/css/tokens/functional/components/logosuite/colors.css +1 -1
  156. package/lib/design-tokens/css/tokens/functional/components/media-playlist/colors-with-modes.css +1 -1
  157. package/lib/design-tokens/css/tokens/functional/components/media-playlist/colors.css +1 -1
  158. package/lib/design-tokens/css/tokens/functional/components/pricing-options/colors-with-modes.css +1 -1
  159. package/lib/design-tokens/css/tokens/functional/components/pricing-options/colors.css +1 -1
  160. package/lib/design-tokens/css/tokens/functional/components/pricing-options/pricing-options.css +1 -1
  161. package/lib/design-tokens/css/tokens/functional/components/prose/base.css +1 -1
  162. package/lib/design-tokens/css/tokens/functional/components/prose/colors-with-modes.css +1 -1
  163. package/lib/design-tokens/css/tokens/functional/components/river/base.css +1 -1
  164. package/lib/design-tokens/css/tokens/functional/components/river/river.css +1 -1
  165. package/lib/design-tokens/css/tokens/functional/components/river-story-scroll/colors-with-modes.css +1 -1
  166. package/lib/design-tokens/css/tokens/functional/components/section/section.css +1 -1
  167. package/lib/design-tokens/css/tokens/functional/components/statistic/base.css +1 -1
  168. package/lib/design-tokens/css/tokens/functional/components/sub-nav/base.css +1 -1
  169. package/lib/design-tokens/css/tokens/functional/components/sub-nav/colors-with-modes.css +1 -1
  170. package/lib/design-tokens/css/tokens/functional/components/subdomain-nav-bar/colors-with-modes.css +1 -1
  171. package/lib/design-tokens/css/tokens/functional/components/tabs/base.css +1 -1
  172. package/lib/design-tokens/css/tokens/functional/components/tabs/colors-with-modes.css +1 -1
  173. package/lib/design-tokens/css/tokens/functional/components/tabs/colors.css +1 -1
  174. package/lib/design-tokens/css/tokens/functional/components/testimonial/base.css +1 -1
  175. package/lib/design-tokens/css/tokens/functional/components/testimonial/colors-with-modes.css +1 -1
  176. package/lib/design-tokens/css/tokens/functional/components/testimonial/colors.css +1 -1
  177. package/lib/design-tokens/css/tokens/functional/components/text-cursor-animation/colors-with-modes.css +1 -1
  178. package/lib/design-tokens/css/tokens/functional/components/text-cursor-animation/colors.css +1 -1
  179. package/lib/design-tokens/css/tokens/functional/components/tiles/colors-with-modes.css +1 -1
  180. package/lib/design-tokens/css/tokens/functional/components/timeline/base.css +1 -1
  181. package/lib/design-tokens/css/tokens/functional/components/timeline/colors-with-modes.css +1 -1
  182. package/lib/design-tokens/css/tokens/functional/components/timeline/colors.css +1 -1
  183. package/lib/design-tokens/css/tokens/functional/components/token/colors-with-modes.css +1 -1
  184. package/lib/design-tokens/css/tokens/functional/components/token/colors.css +1 -1
  185. package/lib/design-tokens/css/tokens/functional/components/tooltip/colors-with-modes.css +1 -1
  186. package/lib/design-tokens/css/tokens/functional/components/tooltip/colors.css +1 -1
  187. package/lib/design-tokens/css/tokens/functional/components/video-player/base.css +1 -1
  188. package/lib/design-tokens/css/tokens/functional/components/video-player/colors-with-modes.css +1 -1
  189. package/lib/design-tokens/css/tokens/functional/size/border.css +1 -1
  190. package/lib/design-tokens/css/tokens/functional/size/breakpoints.css +1 -1
  191. package/lib/design-tokens/css/tokens/functional/size/size-coarse.css +1 -1
  192. package/lib/design-tokens/css/tokens/functional/size/size-fine.css +1 -1
  193. package/lib/design-tokens/css/tokens/functional/size/size.css +1 -1
  194. package/lib/design-tokens/css/tokens/functional/size/viewport.css +1 -1
  195. package/lib/design-tokens/css/tokens/functional/typography/typography-responsive.css +1 -1
  196. package/lib/design-tokens/css/tokens/functional/typography/typography.css +1 -1
  197. package/lib/design-tokens/js/module/tokens/base/colors/light.js +1 -1
  198. package/lib/design-tokens/js/module/tokens/base/size/size.js +1 -1
  199. package/lib/design-tokens/js/module/tokens/base/typography/typography.js +1 -1
  200. package/lib/design-tokens/js/module/tokens/functional/animation/base.js +1 -1
  201. package/lib/design-tokens/js/module/tokens/functional/colors/global.js +1 -1
  202. package/lib/design-tokens/js/module/tokens/functional/components/bento/base.js +1 -1
  203. package/lib/design-tokens/js/module/tokens/functional/components/card/base.js +1 -1
  204. package/lib/design-tokens/js/module/tokens/functional/components/card/colors.js +1 -1
  205. package/lib/design-tokens/js/module/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  206. package/lib/design-tokens/js/module/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
  207. package/lib/design-tokens/js/module/tokens/functional/components/faq/base.js +1 -1
  208. package/lib/design-tokens/js/module/tokens/functional/components/faq/colors.js +1 -1
  209. package/lib/design-tokens/js/module/tokens/functional/components/faq/faq.js +1 -1
  210. package/lib/design-tokens/js/module/tokens/functional/components/footer/colors.js +1 -1
  211. package/lib/design-tokens/js/module/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
  212. package/lib/design-tokens/js/module/tokens/functional/components/grid/colors.js +1 -1
  213. package/lib/design-tokens/js/module/tokens/functional/components/grid/grid.js +1 -1
  214. package/lib/design-tokens/js/module/tokens/functional/components/hero/base.js +1 -1
  215. package/lib/design-tokens/js/module/tokens/functional/components/icon/colors.js +1 -1
  216. package/lib/design-tokens/js/module/tokens/functional/components/ide/base.js +1 -1
  217. package/lib/design-tokens/js/module/tokens/functional/components/image/base.js +1 -1
  218. package/lib/design-tokens/js/module/tokens/functional/components/inline-link/base.js +1 -1
  219. package/lib/design-tokens/js/module/tokens/functional/components/inline-link/colors.js +1 -1
  220. package/lib/design-tokens/js/module/tokens/functional/components/label/colors.js +1 -1
  221. package/lib/design-tokens/js/module/tokens/functional/components/link/colors.js +1 -1
  222. package/lib/design-tokens/js/module/tokens/functional/components/logosuite/base.js +1 -1
  223. package/lib/design-tokens/js/module/tokens/functional/components/logosuite/colors.js +1 -1
  224. package/lib/design-tokens/js/module/tokens/functional/components/media-playlist/colors.js +1 -1
  225. package/lib/design-tokens/js/module/tokens/functional/components/pricing-options/colors.js +1 -1
  226. package/lib/design-tokens/js/module/tokens/functional/components/pricing-options/pricing-options.js +1 -1
  227. package/lib/design-tokens/js/module/tokens/functional/components/prose/base.js +1 -1
  228. package/lib/design-tokens/js/module/tokens/functional/components/river/base.js +1 -1
  229. package/lib/design-tokens/js/module/tokens/functional/components/river/river.js +1 -1
  230. package/lib/design-tokens/js/module/tokens/functional/components/section/section.js +1 -1
  231. package/lib/design-tokens/js/module/tokens/functional/components/statistic/base.js +1 -1
  232. package/lib/design-tokens/js/module/tokens/functional/components/sub-nav/base.js +1 -1
  233. package/lib/design-tokens/js/module/tokens/functional/components/tabs/base.js +1 -1
  234. package/lib/design-tokens/js/module/tokens/functional/components/tabs/colors.js +1 -1
  235. package/lib/design-tokens/js/module/tokens/functional/components/testimonial/base.js +1 -1
  236. package/lib/design-tokens/js/module/tokens/functional/components/testimonial/colors.js +1 -1
  237. package/lib/design-tokens/js/module/tokens/functional/components/text-cursor-animation/colors.js +1 -1
  238. package/lib/design-tokens/js/module/tokens/functional/components/timeline/base.js +1 -1
  239. package/lib/design-tokens/js/module/tokens/functional/components/timeline/colors.js +1 -1
  240. package/lib/design-tokens/js/module/tokens/functional/components/token/colors.js +1 -1
  241. package/lib/design-tokens/js/module/tokens/functional/components/tooltip/colors.js +1 -1
  242. package/lib/design-tokens/js/module/tokens/functional/components/video-player/base.js +1 -1
  243. package/lib/design-tokens/js/module/tokens/functional/size/border.js +1 -1
  244. package/lib/design-tokens/js/module/tokens/functional/size/breakpoints.js +1 -1
  245. package/lib/design-tokens/js/module/tokens/functional/size/size-coarse.js +1 -1
  246. package/lib/design-tokens/js/module/tokens/functional/size/size-fine.js +1 -1
  247. package/lib/design-tokens/js/module/tokens/functional/size/size.js +1 -1
  248. package/lib/design-tokens/js/module/tokens/functional/size/viewport.js +1 -1
  249. package/lib/design-tokens/js/module/tokens/functional/typography/typography-responsive.js +1 -1
  250. package/lib/design-tokens/js/module/tokens/functional/typography/typography.js +1 -1
  251. package/lib/design-tokens/js/tokens/base/colors/light.js +1 -1
  252. package/lib/design-tokens/js/tokens/base/size/size.js +1 -1
  253. package/lib/design-tokens/js/tokens/base/typography/typography.js +1 -1
  254. package/lib/design-tokens/js/tokens/functional/animation/base.js +1 -1
  255. package/lib/design-tokens/js/tokens/functional/colors/global.js +1 -1
  256. package/lib/design-tokens/js/tokens/functional/components/bento/base.js +1 -1
  257. package/lib/design-tokens/js/tokens/functional/components/card/base.js +1 -1
  258. package/lib/design-tokens/js/tokens/functional/components/card/colors.js +1 -1
  259. package/lib/design-tokens/js/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  260. package/lib/design-tokens/js/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
  261. package/lib/design-tokens/js/tokens/functional/components/faq/base.js +1 -1
  262. package/lib/design-tokens/js/tokens/functional/components/faq/colors.js +1 -1
  263. package/lib/design-tokens/js/tokens/functional/components/faq/faq.js +1 -1
  264. package/lib/design-tokens/js/tokens/functional/components/footer/colors.js +1 -1
  265. package/lib/design-tokens/js/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
  266. package/lib/design-tokens/js/tokens/functional/components/grid/colors.js +1 -1
  267. package/lib/design-tokens/js/tokens/functional/components/grid/grid.js +1 -1
  268. package/lib/design-tokens/js/tokens/functional/components/hero/base.js +1 -1
  269. package/lib/design-tokens/js/tokens/functional/components/icon/colors.js +1 -1
  270. package/lib/design-tokens/js/tokens/functional/components/ide/base.js +1 -1
  271. package/lib/design-tokens/js/tokens/functional/components/image/base.js +1 -1
  272. package/lib/design-tokens/js/tokens/functional/components/inline-link/base.js +1 -1
  273. package/lib/design-tokens/js/tokens/functional/components/inline-link/colors.js +1 -1
  274. package/lib/design-tokens/js/tokens/functional/components/label/colors.js +1 -1
  275. package/lib/design-tokens/js/tokens/functional/components/link/colors.js +1 -1
  276. package/lib/design-tokens/js/tokens/functional/components/logosuite/base.js +1 -1
  277. package/lib/design-tokens/js/tokens/functional/components/logosuite/colors.js +1 -1
  278. package/lib/design-tokens/js/tokens/functional/components/media-playlist/colors.js +1 -1
  279. package/lib/design-tokens/js/tokens/functional/components/pricing-options/colors.js +1 -1
  280. package/lib/design-tokens/js/tokens/functional/components/pricing-options/pricing-options.js +1 -1
  281. package/lib/design-tokens/js/tokens/functional/components/prose/base.js +1 -1
  282. package/lib/design-tokens/js/tokens/functional/components/river/base.js +1 -1
  283. package/lib/design-tokens/js/tokens/functional/components/river/river.js +1 -1
  284. package/lib/design-tokens/js/tokens/functional/components/section/section.js +1 -1
  285. package/lib/design-tokens/js/tokens/functional/components/statistic/base.js +1 -1
  286. package/lib/design-tokens/js/tokens/functional/components/sub-nav/base.js +1 -1
  287. package/lib/design-tokens/js/tokens/functional/components/tabs/base.js +1 -1
  288. package/lib/design-tokens/js/tokens/functional/components/tabs/colors.js +1 -1
  289. package/lib/design-tokens/js/tokens/functional/components/testimonial/base.js +1 -1
  290. package/lib/design-tokens/js/tokens/functional/components/testimonial/colors.js +1 -1
  291. package/lib/design-tokens/js/tokens/functional/components/text-cursor-animation/colors.js +1 -1
  292. package/lib/design-tokens/js/tokens/functional/components/timeline/base.js +1 -1
  293. package/lib/design-tokens/js/tokens/functional/components/timeline/colors.js +1 -1
  294. package/lib/design-tokens/js/tokens/functional/components/token/colors.js +1 -1
  295. package/lib/design-tokens/js/tokens/functional/components/tooltip/colors.js +1 -1
  296. package/lib/design-tokens/js/tokens/functional/components/video-player/base.js +1 -1
  297. package/lib/design-tokens/js/tokens/functional/size/border.js +1 -1
  298. package/lib/design-tokens/js/tokens/functional/size/breakpoints.js +1 -1
  299. package/lib/design-tokens/js/tokens/functional/size/size-coarse.js +1 -1
  300. package/lib/design-tokens/js/tokens/functional/size/size-fine.js +1 -1
  301. package/lib/design-tokens/js/tokens/functional/size/size.js +1 -1
  302. package/lib/design-tokens/js/tokens/functional/size/viewport.js +1 -1
  303. package/lib/design-tokens/js/tokens/functional/typography/typography-responsive.js +1 -1
  304. package/lib/design-tokens/js/tokens/functional/typography/typography.js +1 -1
  305. package/lib/design-tokens/scss/tokens/base/colors/light.scss +1 -1
  306. package/lib/design-tokens/scss/tokens/base/size/size.scss +1 -1
  307. package/lib/design-tokens/scss/tokens/base/typography/typography.scss +1 -1
  308. package/lib/design-tokens/scss/tokens/functional/animation/base.scss +1 -1
  309. package/lib/design-tokens/scss/tokens/functional/colors/global.scss +1 -1
  310. package/lib/design-tokens/scss/tokens/functional/components/bento/base.scss +1 -1
  311. package/lib/design-tokens/scss/tokens/functional/components/card/base.scss +1 -1
  312. package/lib/design-tokens/scss/tokens/functional/components/card/colors.scss +1 -1
  313. package/lib/design-tokens/scss/tokens/functional/components/comparison-table/comparison-table.scss +1 -1
  314. package/lib/design-tokens/scss/tokens/functional/components/eyebrow-banner/eyebrow-banner.scss +1 -1
  315. package/lib/design-tokens/scss/tokens/functional/components/faq/base.scss +1 -1
  316. package/lib/design-tokens/scss/tokens/functional/components/faq/colors.scss +1 -1
  317. package/lib/design-tokens/scss/tokens/functional/components/faq/faq.scss +1 -1
  318. package/lib/design-tokens/scss/tokens/functional/components/footer/colors.scss +1 -1
  319. package/lib/design-tokens/scss/tokens/functional/components/frosted-glass-vfx/base.scss +1 -1
  320. package/lib/design-tokens/scss/tokens/functional/components/grid/colors.scss +1 -1
  321. package/lib/design-tokens/scss/tokens/functional/components/grid/grid.scss +1 -1
  322. package/lib/design-tokens/scss/tokens/functional/components/hero/base.scss +1 -1
  323. package/lib/design-tokens/scss/tokens/functional/components/icon/colors.scss +1 -1
  324. package/lib/design-tokens/scss/tokens/functional/components/ide/base.scss +1 -1
  325. package/lib/design-tokens/scss/tokens/functional/components/image/base.scss +1 -1
  326. package/lib/design-tokens/scss/tokens/functional/components/inline-link/base.scss +1 -1
  327. package/lib/design-tokens/scss/tokens/functional/components/inline-link/colors.scss +1 -1
  328. package/lib/design-tokens/scss/tokens/functional/components/label/colors.scss +1 -1
  329. package/lib/design-tokens/scss/tokens/functional/components/link/colors.scss +1 -1
  330. package/lib/design-tokens/scss/tokens/functional/components/logosuite/base.scss +1 -1
  331. package/lib/design-tokens/scss/tokens/functional/components/logosuite/colors.scss +1 -1
  332. package/lib/design-tokens/scss/tokens/functional/components/media-playlist/colors.scss +1 -1
  333. package/lib/design-tokens/scss/tokens/functional/components/pricing-options/colors.scss +1 -1
  334. package/lib/design-tokens/scss/tokens/functional/components/pricing-options/pricing-options.scss +1 -1
  335. package/lib/design-tokens/scss/tokens/functional/components/prose/base.scss +1 -1
  336. package/lib/design-tokens/scss/tokens/functional/components/river/base.scss +1 -1
  337. package/lib/design-tokens/scss/tokens/functional/components/river/river.scss +1 -1
  338. package/lib/design-tokens/scss/tokens/functional/components/section/section.scss +1 -1
  339. package/lib/design-tokens/scss/tokens/functional/components/statistic/base.scss +1 -1
  340. package/lib/design-tokens/scss/tokens/functional/components/sub-nav/base.scss +1 -1
  341. package/lib/design-tokens/scss/tokens/functional/components/tabs/base.scss +1 -1
  342. package/lib/design-tokens/scss/tokens/functional/components/tabs/colors.scss +1 -1
  343. package/lib/design-tokens/scss/tokens/functional/components/testimonial/base.scss +1 -1
  344. package/lib/design-tokens/scss/tokens/functional/components/testimonial/colors.scss +1 -1
  345. package/lib/design-tokens/scss/tokens/functional/components/text-cursor-animation/colors.scss +1 -1
  346. package/lib/design-tokens/scss/tokens/functional/components/timeline/base.scss +1 -1
  347. package/lib/design-tokens/scss/tokens/functional/components/timeline/colors.scss +1 -1
  348. package/lib/design-tokens/scss/tokens/functional/components/token/colors.scss +1 -1
  349. package/lib/design-tokens/scss/tokens/functional/components/tooltip/colors.scss +1 -1
  350. package/lib/design-tokens/scss/tokens/functional/components/video-player/base.scss +1 -1
  351. package/lib/design-tokens/scss/tokens/functional/size/border.scss +1 -1
  352. package/lib/design-tokens/scss/tokens/functional/size/breakpoints.scss +1 -1
  353. package/lib/design-tokens/scss/tokens/functional/size/size-coarse.scss +1 -1
  354. package/lib/design-tokens/scss/tokens/functional/size/size-fine.scss +1 -1
  355. package/lib/design-tokens/scss/tokens/functional/size/size.scss +1 -1
  356. package/lib/design-tokens/scss/tokens/functional/size/viewport.scss +1 -1
  357. package/lib/design-tokens/scss/tokens/functional/typography/typography-responsive.scss +1 -1
  358. package/lib/design-tokens/scss/tokens/functional/typography/typography.scss +1 -1
  359. package/lib/design-tokens/ts/tokens/base/colors/light.d.ts +1 -1
  360. package/lib/design-tokens/ts/tokens/base/colors/light.js +1 -1
  361. package/lib/design-tokens/ts/tokens/base/size/size.d.ts +1 -1
  362. package/lib/design-tokens/ts/tokens/base/size/size.js +1 -1
  363. package/lib/design-tokens/ts/tokens/base/typography/typography.d.ts +1 -1
  364. package/lib/design-tokens/ts/tokens/base/typography/typography.js +1 -1
  365. package/lib/design-tokens/ts/tokens/functional/animation/base.d.ts +1 -1
  366. package/lib/design-tokens/ts/tokens/functional/animation/base.js +1 -1
  367. package/lib/design-tokens/ts/tokens/functional/colors/global.d.ts +1 -1
  368. package/lib/design-tokens/ts/tokens/functional/colors/global.js +1 -1
  369. package/lib/design-tokens/ts/tokens/functional/components/bento/base.d.ts +1 -1
  370. package/lib/design-tokens/ts/tokens/functional/components/bento/base.js +1 -1
  371. package/lib/design-tokens/ts/tokens/functional/components/card/base.d.ts +1 -1
  372. package/lib/design-tokens/ts/tokens/functional/components/card/base.js +1 -1
  373. package/lib/design-tokens/ts/tokens/functional/components/card/colors.d.ts +1 -1
  374. package/lib/design-tokens/ts/tokens/functional/components/card/colors.js +1 -1
  375. package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.d.ts +1 -1
  376. package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  377. package/lib/design-tokens/ts/tokens/functional/components/eyebrow-banner/eyebrow-banner.d.ts +1 -1
  378. package/lib/design-tokens/ts/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
  379. package/lib/design-tokens/ts/tokens/functional/components/faq/base.d.ts +1 -1
  380. package/lib/design-tokens/ts/tokens/functional/components/faq/base.js +1 -1
  381. package/lib/design-tokens/ts/tokens/functional/components/faq/colors.d.ts +1 -1
  382. package/lib/design-tokens/ts/tokens/functional/components/faq/colors.js +1 -1
  383. package/lib/design-tokens/ts/tokens/functional/components/faq/faq.d.ts +1 -1
  384. package/lib/design-tokens/ts/tokens/functional/components/faq/faq.js +1 -1
  385. package/lib/design-tokens/ts/tokens/functional/components/footer/colors.d.ts +1 -1
  386. package/lib/design-tokens/ts/tokens/functional/components/footer/colors.js +1 -1
  387. package/lib/design-tokens/ts/tokens/functional/components/frosted-glass-vfx/base.d.ts +1 -1
  388. package/lib/design-tokens/ts/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
  389. package/lib/design-tokens/ts/tokens/functional/components/grid/colors.d.ts +1 -1
  390. package/lib/design-tokens/ts/tokens/functional/components/grid/colors.js +1 -1
  391. package/lib/design-tokens/ts/tokens/functional/components/grid/grid.d.ts +1 -1
  392. package/lib/design-tokens/ts/tokens/functional/components/grid/grid.js +1 -1
  393. package/lib/design-tokens/ts/tokens/functional/components/hero/base.d.ts +1 -1
  394. package/lib/design-tokens/ts/tokens/functional/components/hero/base.js +1 -1
  395. package/lib/design-tokens/ts/tokens/functional/components/icon/colors.d.ts +1 -1
  396. package/lib/design-tokens/ts/tokens/functional/components/icon/colors.js +1 -1
  397. package/lib/design-tokens/ts/tokens/functional/components/ide/base.d.ts +1 -1
  398. package/lib/design-tokens/ts/tokens/functional/components/ide/base.js +1 -1
  399. package/lib/design-tokens/ts/tokens/functional/components/image/base.d.ts +1 -1
  400. package/lib/design-tokens/ts/tokens/functional/components/image/base.js +1 -1
  401. package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.d.ts +1 -1
  402. package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.js +1 -1
  403. package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.d.ts +1 -1
  404. package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.js +1 -1
  405. package/lib/design-tokens/ts/tokens/functional/components/label/colors.d.ts +1 -1
  406. package/lib/design-tokens/ts/tokens/functional/components/label/colors.js +1 -1
  407. package/lib/design-tokens/ts/tokens/functional/components/link/colors.d.ts +1 -1
  408. package/lib/design-tokens/ts/tokens/functional/components/link/colors.js +1 -1
  409. package/lib/design-tokens/ts/tokens/functional/components/logosuite/base.d.ts +1 -1
  410. package/lib/design-tokens/ts/tokens/functional/components/logosuite/base.js +1 -1
  411. package/lib/design-tokens/ts/tokens/functional/components/logosuite/colors.d.ts +1 -1
  412. package/lib/design-tokens/ts/tokens/functional/components/logosuite/colors.js +1 -1
  413. package/lib/design-tokens/ts/tokens/functional/components/media-playlist/colors.d.ts +1 -1
  414. package/lib/design-tokens/ts/tokens/functional/components/media-playlist/colors.js +1 -1
  415. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/colors.d.ts +1 -1
  416. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/colors.js +1 -1
  417. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/pricing-options.d.ts +1 -1
  418. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/pricing-options.js +1 -1
  419. package/lib/design-tokens/ts/tokens/functional/components/prose/base.d.ts +1 -1
  420. package/lib/design-tokens/ts/tokens/functional/components/prose/base.js +1 -1
  421. package/lib/design-tokens/ts/tokens/functional/components/river/base.d.ts +1 -1
  422. package/lib/design-tokens/ts/tokens/functional/components/river/base.js +1 -1
  423. package/lib/design-tokens/ts/tokens/functional/components/river/river.d.ts +1 -1
  424. package/lib/design-tokens/ts/tokens/functional/components/river/river.js +1 -1
  425. package/lib/design-tokens/ts/tokens/functional/components/section/section.d.ts +1 -1
  426. package/lib/design-tokens/ts/tokens/functional/components/section/section.js +1 -1
  427. package/lib/design-tokens/ts/tokens/functional/components/statistic/base.d.ts +1 -1
  428. package/lib/design-tokens/ts/tokens/functional/components/statistic/base.js +1 -1
  429. package/lib/design-tokens/ts/tokens/functional/components/sub-nav/base.d.ts +1 -1
  430. package/lib/design-tokens/ts/tokens/functional/components/sub-nav/base.js +1 -1
  431. package/lib/design-tokens/ts/tokens/functional/components/tabs/base.d.ts +1 -1
  432. package/lib/design-tokens/ts/tokens/functional/components/tabs/base.js +1 -1
  433. package/lib/design-tokens/ts/tokens/functional/components/tabs/colors.d.ts +1 -1
  434. package/lib/design-tokens/ts/tokens/functional/components/tabs/colors.js +1 -1
  435. package/lib/design-tokens/ts/tokens/functional/components/testimonial/base.d.ts +1 -1
  436. package/lib/design-tokens/ts/tokens/functional/components/testimonial/base.js +1 -1
  437. package/lib/design-tokens/ts/tokens/functional/components/testimonial/colors.d.ts +1 -1
  438. package/lib/design-tokens/ts/tokens/functional/components/testimonial/colors.js +1 -1
  439. package/lib/design-tokens/ts/tokens/functional/components/text-cursor-animation/colors.d.ts +1 -1
  440. package/lib/design-tokens/ts/tokens/functional/components/text-cursor-animation/colors.js +1 -1
  441. package/lib/design-tokens/ts/tokens/functional/components/timeline/base.d.ts +1 -1
  442. package/lib/design-tokens/ts/tokens/functional/components/timeline/base.js +1 -1
  443. package/lib/design-tokens/ts/tokens/functional/components/timeline/colors.d.ts +1 -1
  444. package/lib/design-tokens/ts/tokens/functional/components/timeline/colors.js +1 -1
  445. package/lib/design-tokens/ts/tokens/functional/components/token/colors.d.ts +1 -1
  446. package/lib/design-tokens/ts/tokens/functional/components/token/colors.js +1 -1
  447. package/lib/design-tokens/ts/tokens/functional/components/tooltip/colors.d.ts +1 -1
  448. package/lib/design-tokens/ts/tokens/functional/components/tooltip/colors.js +1 -1
  449. package/lib/design-tokens/ts/tokens/functional/components/video-player/base.d.ts +1 -1
  450. package/lib/design-tokens/ts/tokens/functional/components/video-player/base.js +1 -1
  451. package/lib/design-tokens/ts/tokens/functional/size/border.d.ts +1 -1
  452. package/lib/design-tokens/ts/tokens/functional/size/border.js +1 -1
  453. package/lib/design-tokens/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  454. package/lib/design-tokens/ts/tokens/functional/size/breakpoints.js +1 -1
  455. package/lib/design-tokens/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  456. package/lib/design-tokens/ts/tokens/functional/size/size-coarse.js +1 -1
  457. package/lib/design-tokens/ts/tokens/functional/size/size-fine.d.ts +1 -1
  458. package/lib/design-tokens/ts/tokens/functional/size/size-fine.js +1 -1
  459. package/lib/design-tokens/ts/tokens/functional/size/size.d.ts +1 -1
  460. package/lib/design-tokens/ts/tokens/functional/size/size.js +1 -1
  461. package/lib/design-tokens/ts/tokens/functional/size/viewport.d.ts +1 -1
  462. package/lib/design-tokens/ts/tokens/functional/size/viewport.js +1 -1
  463. package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.d.ts +1 -1
  464. package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.js +1 -1
  465. package/lib/design-tokens/ts/tokens/functional/typography/typography.d.ts +1 -1
  466. package/lib/design-tokens/ts/tokens/functional/typography/typography.js +1 -1
  467. package/llms.txt +95 -0
  468. package/package.json +17 -5
  469. package/esm/Hero/Hero.figma.d.ts +0 -2
  470. package/esm/Hero/Hero.figma.d.ts.map +0 -1
  471. package/esm/IDE/fixtures/content.d.ts +0 -7
  472. package/esm/IDE/fixtures/content.d.ts.map +0 -1
  473. package/esm/LogoSuite/LogoSuite.figma.d.ts +0 -2
  474. package/esm/LogoSuite/LogoSuite.figma.d.ts.map +0 -1
  475. package/esm/LogoSuite/LogoSuite.fixtures.d.ts +0 -2
  476. package/esm/LogoSuite/LogoSuite.fixtures.d.ts.map +0 -1
  477. package/esm/MonaSans/MonaSans.d.ts +0 -11
  478. package/esm/MonaSans/MonaSans.d.ts.map +0 -1
  479. package/esm/MonaSans/index.d.ts +0 -2
  480. package/esm/MonaSans/index.d.ts.map +0 -1
  481. package/esm/PricingOptions/PricingOptions.figma.d.ts +0 -2
  482. package/esm/PricingOptions/PricingOptions.figma.d.ts.map +0 -1
  483. package/esm/Tiles/Tiles.fixtures.d.ts +0 -7
  484. package/esm/Tiles/Tiles.fixtures.d.ts.map +0 -1
  485. package/esm/fixtures/third-party-logos/AzureLogo.d.ts +0 -5
  486. package/esm/fixtures/third-party-logos/AzureLogo.d.ts.map +0 -1
  487. package/esm/fixtures/third-party-logos/JetBrainsLogo.d.ts +0 -5
  488. package/esm/fixtures/third-party-logos/JetBrainsLogo.d.ts.map +0 -1
  489. package/esm/fixtures/third-party-logos/MicrosoftCopilotLogo.d.ts +0 -5
  490. package/esm/fixtures/third-party-logos/MicrosoftCopilotLogo.d.ts.map +0 -1
  491. package/esm/fixtures/third-party-logos/MicrosoftLogo.d.ts +0 -5
  492. package/esm/fixtures/third-party-logos/MicrosoftLogo.d.ts.map +0 -1
  493. package/esm/fixtures/third-party-logos/NeoVimLogo.d.ts +0 -5
  494. package/esm/fixtures/third-party-logos/NeoVimLogo.d.ts.map +0 -1
  495. package/esm/fixtures/third-party-logos/VisualStudioCodeLogo.d.ts +0 -5
  496. package/esm/fixtures/third-party-logos/VisualStudioCodeLogo.d.ts.map +0 -1
  497. package/esm/fixtures/third-party-logos/VisualStudioLogo.d.ts +0 -5
  498. package/esm/fixtures/third-party-logos/VisualStudioLogo.d.ts.map +0 -1
  499. package/esm/list/ListItem/index.d.ts +0 -2
  500. package/esm/list/ListItem/index.d.ts.map +0 -1
  501. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOne.d.ts +0 -13
  502. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOne.d.ts.map +0 -1
  503. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOneSideBySide.d.ts +0 -14
  504. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOneSideBySide.d.ts.map +0 -1
  505. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/components/FormExample.d.ts +0 -8
  506. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/components/FormExample.d.ts.map +0 -1
  507. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/index.d.ts +0 -2
  508. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/index.d.ts.map +0 -1
  509. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/FeaturePreviewLevelTwo.d.ts +0 -49
  510. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/FeaturePreviewLevelTwo.d.ts.map +0 -1
  511. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/index.d.ts +0 -2
  512. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/index.d.ts.map +0 -1
  513. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/FeaturePreviewLevelZero.d.ts +0 -17
  514. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/FeaturePreviewLevelZero.d.ts.map +0 -1
  515. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/index.d.ts +0 -2
  516. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/index.d.ts.map +0 -1
  517. package/esm/recipes/FeaturePreviewLPs/helpers.d.ts +0 -30
  518. package/esm/recipes/FeaturePreviewLPs/helpers.d.ts.map +0 -1
  519. package/esm/recipes/FlexTemplate/FlexSection/FlexSection.d.ts +0 -8
  520. package/esm/recipes/FlexTemplate/FlexSection/FlexSection.d.ts.map +0 -1
  521. package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiver.d.ts +0 -2
  522. package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiver.d.ts.map +0 -1
  523. package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiverAccordion.d.ts +0 -8
  524. package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiverAccordion.d.ts.map +0 -1
  525. package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiverBreakout.d.ts +0 -2
  526. package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiverBreakout.d.ts.map +0 -1
  527. package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulTestimonials.d.ts +0 -8
  528. package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulTestimonials.d.ts.map +0 -1
  529. package/esm/recipes/FlexTemplate/FlexSection/components/FlexSectionTestimonials.d.ts +0 -8
  530. package/esm/recipes/FlexTemplate/FlexSection/components/FlexSectionTestimonials.d.ts.map +0 -1
  531. package/esm/recipes/FlexTemplate/FlexSection/components/index.d.ts +0 -6
  532. package/esm/recipes/FlexTemplate/FlexSection/components/index.d.ts.map +0 -1
  533. package/esm/recipes/FlexTemplate/FlexSection/index.d.ts +0 -2
  534. package/esm/recipes/FlexTemplate/FlexSection/index.d.ts.map +0 -1
  535. package/esm/recipes/FlexTemplate/FlexTemplate.d.ts +0 -7
  536. package/esm/recipes/FlexTemplate/FlexTemplate.d.ts.map +0 -1
  537. package/esm/recipes/FlexTemplate/FlexTemplate.types.d.ts +0 -318
  538. package/esm/recipes/FlexTemplate/FlexTemplate.types.d.ts.map +0 -1
  539. package/esm/recipes/FlexTemplate/FlexTemplateTrailingSection/FlexTemplateTrailingSection.d.ts +0 -6
  540. package/esm/recipes/FlexTemplate/FlexTemplateTrailingSection/FlexTemplateTrailingSection.d.ts.map +0 -1
  541. package/esm/recipes/FlexTemplate/FlexTemplateTrailingSection/index.d.ts +0 -3
  542. package/esm/recipes/FlexTemplate/FlexTemplateTrailingSection/index.d.ts.map +0 -1
  543. package/esm/recipes/FlexTemplate/fixtures/content.d.ts +0 -2
  544. package/esm/recipes/FlexTemplate/fixtures/content.d.ts.map +0 -1
  545. package/esm/recipes/FlexTemplate/index.d.ts +0 -4
  546. package/esm/recipes/FlexTemplate/index.d.ts.map +0 -1
  547. package/esm/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.content.d.ts +0 -68
  548. package/esm/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.content.d.ts.map +0 -1
  549. package/esm/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.d.ts +0 -7
  550. package/esm/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.d.ts.map +0 -1
  551. package/esm/recipes/Flexsuite/Category/index.d.ts +0 -2
  552. package/esm/recipes/Flexsuite/Category/index.d.ts.map +0 -1
  553. package/esm/recipes/Flexsuite/Details/FlexSuiteAIDetailsPlaylist/FlexSuiteAIDetailsPlaylist.content.d.ts +0 -49
  554. package/esm/recipes/Flexsuite/Details/FlexSuiteAIDetailsPlaylist/FlexSuiteAIDetailsPlaylist.content.d.ts.map +0 -1
  555. package/esm/recipes/Flexsuite/Details/FlexSuiteAIDetailsPlaylist/FlexSuiteAIDetailsPlaylist.d.ts +0 -7
  556. package/esm/recipes/Flexsuite/Details/FlexSuiteAIDetailsPlaylist/FlexSuiteAIDetailsPlaylist.d.ts.map +0 -1
  557. package/esm/recipes/Flexsuite/Details/index.d.ts +0 -4
  558. package/esm/recipes/Flexsuite/Details/index.d.ts.map +0 -1
  559. package/esm/recipes/Flexsuite/Overview/FlexSuiteAIOverview.content.d.ts +0 -101
  560. package/esm/recipes/Flexsuite/Overview/FlexSuiteAIOverview.content.d.ts.map +0 -1
  561. package/esm/recipes/Flexsuite/Overview/FlexSuiteAIOverview.d.ts +0 -7
  562. package/esm/recipes/Flexsuite/Overview/FlexSuiteAIOverview.d.ts.map +0 -1
  563. package/esm/recipes/Flexsuite/Overview/FlexSuiteOverview.content.d.ts +0 -5
  564. package/esm/recipes/Flexsuite/Overview/FlexSuiteOverview.content.d.ts.map +0 -1
  565. package/esm/recipes/Flexsuite/Overview/index.d.ts +0 -4
  566. package/esm/recipes/Flexsuite/Overview/index.d.ts.map +0 -1
  567. package/esm/recipes/SolutionTemplates/CategoryPage/CategoryPage.d.ts +0 -16
  568. package/esm/recipes/SolutionTemplates/CategoryPage/CategoryPage.d.ts.map +0 -1
  569. package/esm/recipes/SolutionTemplates/SolutionPage/SolutionPage.d.ts +0 -33
  570. package/esm/recipes/SolutionTemplates/SolutionPage/SolutionPage.d.ts.map +0 -1
  571. package/esm/recipes/SolutionTemplates/SolutionPage/index.d.ts +0 -2
  572. package/esm/recipes/SolutionTemplates/SolutionPage/index.d.ts.map +0 -1
  573. package/esm/recipes/SolutionTemplates/SolutionsOverview/SolutionsOverview.d.ts +0 -17
  574. package/esm/recipes/SolutionTemplates/SolutionsOverview/SolutionsOverview.d.ts.map +0 -1
  575. package/esm/recipes/SolutionTemplates/helpers.d.ts +0 -127
  576. package/esm/recipes/SolutionTemplates/helpers.d.ts.map +0 -1
  577. package/esm/recipes/SolutionTemplates/index.d.ts +0 -1
  578. package/esm/recipes/SolutionTemplates/index.d.ts.map +0 -1
  579. package/esm/recipes/seo/Article/Article.d.ts +0 -14
  580. package/esm/recipes/seo/Article/Article.d.ts.map +0 -1
  581. package/esm/recipes/seo/Article/ArticleToC.d.ts +0 -4
  582. package/esm/recipes/seo/Article/ArticleToC.d.ts.map +0 -1
  583. package/esm/recipes/seo/Article/article-shared.d.ts +0 -5
  584. package/esm/recipes/seo/Article/article-shared.d.ts.map +0 -1
  585. package/esm/recipes/seo/Article/index.d.ts +0 -2
  586. package/esm/recipes/seo/Article/index.d.ts.map +0 -1
  587. package/esm/recipes/seo/Category/CategoryPage.d.ts +0 -9
  588. package/esm/recipes/seo/Category/CategoryPage.d.ts.map +0 -1
  589. package/esm/recipes/seo/Category/index.d.ts +0 -2
  590. package/esm/recipes/seo/Category/index.d.ts.map +0 -1
  591. package/esm/recipes/seo/helpers.d.ts +0 -16
  592. package/esm/recipes/seo/helpers.d.ts.map +0 -1
  593. package/esm/recipes/seo/index.d.ts +0 -1
  594. package/esm/recipes/seo/index.d.ts.map +0 -1
  595. package/esm/river/River.figma.d.ts +0 -2
  596. package/esm/river/River.figma.d.ts.map +0 -1
  597. package/lib/Hero/Hero.figma.d.ts +0 -1
  598. package/lib/IDE/fixtures/content.d.ts +0 -6
  599. package/lib/LogoSuite/LogoSuite.figma.d.ts +0 -1
  600. package/lib/LogoSuite/LogoSuite.fixtures.d.ts +0 -1
  601. package/lib/MonaSans/MonaSans.d.ts +0 -10
  602. package/lib/MonaSans/index.d.ts +0 -1
  603. package/lib/PricingOptions/PricingOptions.figma.d.ts +0 -1
  604. package/lib/Tiles/Tiles.fixtures.d.ts +0 -6
  605. package/lib/fixtures/third-party-logos/AzureLogo.d.ts +0 -4
  606. package/lib/fixtures/third-party-logos/JetBrainsLogo.d.ts +0 -4
  607. package/lib/fixtures/third-party-logos/MicrosoftCopilotLogo.d.ts +0 -4
  608. package/lib/fixtures/third-party-logos/MicrosoftLogo.d.ts +0 -4
  609. package/lib/fixtures/third-party-logos/NeoVimLogo.d.ts +0 -4
  610. package/lib/fixtures/third-party-logos/VisualStudioCodeLogo.d.ts +0 -4
  611. package/lib/fixtures/third-party-logos/VisualStudioLogo.d.ts +0 -4
  612. package/lib/index.esm.d.ts +0 -7
  613. package/lib/list/ListItem/index.d.ts +0 -1
  614. package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOne.d.ts +0 -12
  615. package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOneSideBySide.d.ts +0 -13
  616. package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/components/FormExample.d.ts +0 -7
  617. package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/index.d.ts +0 -1
  618. package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/FeaturePreviewLevelTwo.d.ts +0 -48
  619. package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/index.d.ts +0 -1
  620. package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/FeaturePreviewLevelZero.d.ts +0 -16
  621. package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/index.d.ts +0 -1
  622. package/lib/recipes/FeaturePreviewLPs/helpers.d.ts +0 -29
  623. package/lib/recipes/FlexTemplate/FlexSection/FlexSection.d.ts +0 -7
  624. package/lib/recipes/FlexTemplate/FlexSection/components/ContentfulRiver.d.ts +0 -1
  625. package/lib/recipes/FlexTemplate/FlexSection/components/ContentfulRiverAccordion.d.ts +0 -7
  626. package/lib/recipes/FlexTemplate/FlexSection/components/ContentfulRiverBreakout.d.ts +0 -1
  627. package/lib/recipes/FlexTemplate/FlexSection/components/ContentfulTestimonials.d.ts +0 -7
  628. package/lib/recipes/FlexTemplate/FlexSection/components/FlexSectionTestimonials.d.ts +0 -7
  629. package/lib/recipes/FlexTemplate/FlexSection/components/index.d.ts +0 -5
  630. package/lib/recipes/FlexTemplate/FlexSection/index.d.ts +0 -1
  631. package/lib/recipes/FlexTemplate/FlexTemplate.d.ts +0 -6
  632. package/lib/recipes/FlexTemplate/FlexTemplate.types.d.ts +0 -317
  633. package/lib/recipes/FlexTemplate/FlexTemplateTrailingSection/FlexTemplateTrailingSection.d.ts +0 -5
  634. package/lib/recipes/FlexTemplate/FlexTemplateTrailingSection/index.d.ts +0 -2
  635. package/lib/recipes/FlexTemplate/fixtures/content.d.ts +0 -1
  636. package/lib/recipes/FlexTemplate/index.d.ts +0 -3
  637. package/lib/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.content.d.ts +0 -67
  638. package/lib/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.d.ts +0 -6
  639. package/lib/recipes/Flexsuite/Category/index.d.ts +0 -1
  640. package/lib/recipes/Flexsuite/Details/FlexSuiteAIDetailsPlaylist/FlexSuiteAIDetailsPlaylist.content.d.ts +0 -48
  641. package/lib/recipes/Flexsuite/Details/FlexSuiteAIDetailsPlaylist/FlexSuiteAIDetailsPlaylist.d.ts +0 -6
  642. package/lib/recipes/Flexsuite/Details/index.d.ts +0 -3
  643. package/lib/recipes/Flexsuite/Overview/FlexSuiteAIOverview.content.d.ts +0 -100
  644. package/lib/recipes/Flexsuite/Overview/FlexSuiteAIOverview.d.ts +0 -6
  645. package/lib/recipes/Flexsuite/Overview/FlexSuiteOverview.content.d.ts +0 -4
  646. package/lib/recipes/Flexsuite/Overview/index.d.ts +0 -3
  647. package/lib/recipes/SolutionTemplates/CategoryPage/CategoryPage.d.ts +0 -15
  648. package/lib/recipes/SolutionTemplates/SolutionPage/SolutionPage.d.ts +0 -32
  649. package/lib/recipes/SolutionTemplates/SolutionPage/index.d.ts +0 -1
  650. package/lib/recipes/SolutionTemplates/SolutionsOverview/SolutionsOverview.d.ts +0 -16
  651. package/lib/recipes/SolutionTemplates/helpers.d.ts +0 -126
  652. package/lib/recipes/SolutionTemplates/index.d.ts +0 -0
  653. package/lib/recipes/seo/Article/Article.d.ts +0 -13
  654. package/lib/recipes/seo/Article/ArticleToC.d.ts +0 -3
  655. package/lib/recipes/seo/Article/article-shared.d.ts +0 -4
  656. package/lib/recipes/seo/Article/index.d.ts +0 -1
  657. package/lib/recipes/seo/Category/CategoryPage.d.ts +0 -8
  658. package/lib/recipes/seo/Category/index.d.ts +0 -1
  659. package/lib/recipes/seo/helpers.d.ts +0 -15
  660. package/lib/recipes/seo/index.d.ts +0 -0
  661. package/lib/river/River.figma.d.ts +0 -1
@@ -0,0 +1,65 @@
1
+ ---
2
+ title: Hero
3
+ description: Use the hero component to render a full-width banner at the top of a page.
4
+ keywords: ['heading', 'intro', 'cta', 'banner']
5
+ ---
6
+
7
+ ## Anatomy
8
+
9
+ ![An image displaying a hero with a heading, description, primary and secondary actions.](https://github.com/primer/brand/assets/6951037/14759331-3908-4eaf-9d67-db594b2407f0)
10
+
11
+ - Label: an optional label to provide leading context to the hero.
12
+ - Heading: the main title of the hero.
13
+ - Description: a short description of the hero.
14
+ - Actions: the main and secondary actions the user should take on the page.
15
+ - Image: an optional foreground image that appears adjacent to the text
16
+
17
+ ## Usage
18
+
19
+ Use the hero component to provide a title, description and action that introduces the main content of a page. The hero component is designed to be positioned at the top of a page and spans the full width of the viewport. Consider using the [CTA banner](../CTABanner/index.md) to replicate the content and actions in other parts of the page.
20
+
21
+ Both the heading and description of the hero should be concise and descriptive. The heading should not exceed two lines, and the description should be limited to 3–4 lines.
22
+
23
+ The description must maintain a minimum contrast ratio of 4.5:1 at all times. Since it may appear in either the `default` or `muted` text colors, ensure the `muted` variant is used only when contrast is sufficient and no background imagery is present.
24
+
25
+ The hero component is not designed to provide a lot of information to the user. Consider using other components, such as the [section intro](../SectionIntro/index.md) or the [river](../River/index.md) component instead.
26
+
27
+ The hero heading is rendered as an `h1` element by default. You can modify the heading level but be aware that this will affect the page's heading structure and may impact accessibility. [See heading accessibility](../../typography/Heading/index.md#accessibility) for more information.
28
+
29
+ The hero can optionally include primary and secondary actions. These actions are rendered as a [button group](../ButtonGroup/index.md) and follow the same guidelines as the button group component.
30
+
31
+ **✅ Do**
32
+
33
+ ![](https://github.com/primer/brand/assets/6951037/7ea1041a-6b3e-4a7c-a7da-a889ee642023)
34
+
35
+ _Use the hero component to introduce the page with short, descriptive text._
36
+
37
+ **❌ Don't**
38
+
39
+ ![](https://github.com/primer/brand/assets/6951037/ed440ce6-a708-4196-b40b-30a2b6f03c13)
40
+
41
+ _Don't use long, complex text in the hero. Consider splitting the content using other components._
42
+
43
+ ## Options
44
+
45
+ ### Alignment
46
+
47
+ Hero elements can be aligned to the start or center of the page. By default, the hero is aligned to the start of the page to allow for an image or a visual asset to be positioned on the right of the hero. Use the center alignment if the asset is centered or not present, or the scenario calls for it.
48
+
49
+ **✅ Do**
50
+
51
+ ![](https://github.com/primer/brand/assets/6951037/d3ce9fb3-e455-4535-8613-72d52d8961dc)
52
+
53
+ _Use left alignment if the hero includes an image or visual asset on the right._
54
+
55
+ **❌ Don't**
56
+
57
+ ![](https://github.com/primer/brand/assets/6951037/4e3db6e1-cdb8-4a1e-a81c-b22f431b0738)
58
+
59
+ _Don't use center alignment if the background interfere with the legibility of the content._
60
+
61
+ ## Related components
62
+
63
+ - [Section intro](../SectionIntro/index.md): To provide a title, description and a link to a new section in the page.
64
+ - [River](../River/index.md): To display a list of content items with a visual asset.
65
+ - [CTABanner](../CTABanner/index.md): To draw attention to or create urgency around a user action.
@@ -0,0 +1,215 @@
1
+ ---
2
+ title: Hero
3
+ description: Use the hero component to render a full-width banner at the top of a page.
4
+ keywords: ['heading', 'intro', 'cta', 'banner']
5
+ ready: true
6
+ figma: https://www.figma.com/file/BJ95AjraesmRCWsKA013GS/Primer-Brand?node-id=431%3A8481
7
+ source: https://github.com/primer/brand/blob/main/packages/react/src/Hero/Hero.tsx
8
+ storybook: '/brand/storybook/?path=/story/components-hero--default'
9
+ ---
10
+
11
+ ```js
12
+ import {Hero} from '@primer/react-brand'
13
+ ```
14
+
15
+ ## Examples
16
+
17
+ ### Default
18
+
19
+ ```jsx
20
+ <Hero>
21
+ <Hero.Label>Label</Hero.Label>
22
+ <Hero.Heading>This is my super sweet hero heading</Hero.Heading>
23
+ <Hero.Description>
24
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sapien sit ullamcorper id. Aliquam luctus sed turpis
25
+ felis nam pulvinar risus elementum.
26
+ </Hero.Description>
27
+ <Hero.PrimaryAction href="#">Primary action</Hero.PrimaryAction>
28
+ <Hero.SecondaryAction href="#">Secondary action</Hero.SecondaryAction>
29
+ </Hero>
30
+ ```
31
+
32
+ ### Images
33
+
34
+ `Hero` can display an optional foreground image. Use `position` to alternate between various layouts.
35
+
36
+ ```jsx
37
+ <Stack>
38
+ <Hero>
39
+ <Hero.Label>Actions</Hero.Label>
40
+ <Hero.Heading>Automate your workflow from idea to production</Hero.Heading>
41
+ <Hero.PrimaryAction href="#">Get started with Actions</Hero.PrimaryAction>
42
+ <Hero.Image src="/images/placeholder.png" alt="placeholder, blank area with a gray background color" />
43
+ </Hero>
44
+ <br />
45
+ <Hero align="center">
46
+ <Hero.Label>Actions</Hero.Label>
47
+ <Hero.Heading size="2">Automate your workflow from idea to production</Hero.Heading>
48
+ <Hero.PrimaryAction href="#">Get started with Actions</Hero.PrimaryAction>
49
+ <Hero.Image
50
+ position="inline-end"
51
+ src="/images/placeholder.png"
52
+ alt="placeholder, blank area with a gray background color"
53
+ style={{height: '100%'}}
54
+ />
55
+ </Hero>
56
+ </Stack>
57
+ ```
58
+
59
+ ### GridLine variant
60
+
61
+ Use `variant="gridline"` to display the Hero with a contained image, subtle background color, and borders.
62
+
63
+ The `GridLine` variants all feature a trailing border by default. Use `Box` if you need to add one to the top also.
64
+
65
+ ```jsx
66
+ <Hero variant="gridline" align="center">
67
+ <Hero.Heading>This is my super sweet hero heading</Hero.Heading>
68
+ <Hero.Description>
69
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sapien sit ullamcorper id. Aliquam luctus sed turpis
70
+ felis nam pulvinar risus elementum.
71
+ </Hero.Description>
72
+ <Hero.PrimaryAction href="#">Primary action</Hero.PrimaryAction>
73
+ <Hero.Image src="/images/placeholder.png" alt="placeholder, blank area with a gray background color" />
74
+ </Hero>
75
+ ```
76
+
77
+ ### GridLine "Expressive" variant
78
+
79
+ Use `variant="gridline-expressive"` for an alternative split-content layout.
80
+
81
+ The `GridLine` variants all feature a trailing border by default. Use `Box` if you need to add one to the top also.
82
+
83
+ ```jsx
84
+ <Hero variant="gridline-expressive">
85
+ <Hero.Heading>This is my super sweet hero heading</Hero.Heading>
86
+ <Hero.Description>
87
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sapien sit ullamcorper id. Aliquam luctus sed turpis
88
+ felis nam pulvinar risus elementum.
89
+ </Hero.Description>
90
+ <Hero.PrimaryAction href="#">Primary action</Hero.PrimaryAction>
91
+ <Hero.Image src="/images/placeholder.png" alt="placeholder, blank area with a gray background color" />
92
+ </Hero>
93
+ ```
94
+
95
+ ### Video
96
+
97
+ `Hero` includes support for inserting videos.
98
+
99
+ Use [VideoPlayer](../VideoPlayer/index.md), a native `<video>` element or a YouTube embed as valid `children`. Similarly to `Hero.Image`, use the `position` prop to alternate between various layouts.
100
+
101
+ ```jsx
102
+ <Hero>
103
+ <Hero.Label>Label</Hero.Label>
104
+ <Hero.Heading>This is my super sweet hero heading</Hero.Heading>
105
+ <Hero.Description>
106
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sapien sit ullamcorper id. Aliquam luctus sed turpis
107
+ felis nam pulvinar risus elementum.
108
+ </Hero.Description>
109
+ <Hero.PrimaryAction href="#">Primary action</Hero.PrimaryAction>
110
+ <Hero.Video>
111
+ <iframe
112
+ src="https://www.youtube.com/embed/fHwtrOcLAnI"
113
+ title="YouTube video player"
114
+ frameBorder="0"
115
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
116
+ referrerPolicy="strict-origin-when-cross-origin"
117
+ allowFullScreen
118
+ style={{width: '100%', height: 'auto', aspectRatio: '16/10'}}
119
+ ></iframe>
120
+ </Hero.Video>
121
+ </Hero>
122
+ ```
123
+
124
+ ### Alignment
125
+
126
+ `Hero` text alignment can be adjusted by changing the `align` prop.
127
+
128
+ ```jsx
129
+ <Hero align="center">
130
+ <Hero.Label>Label</Hero.Label>
131
+ <Hero.Heading>
132
+ Blazing fast cloud
133
+ <br />
134
+ developer environments
135
+ </Hero.Heading>
136
+ <Hero.PrimaryAction href="#">Primary action</Hero.PrimaryAction>
137
+ </Hero>
138
+ ```
139
+
140
+ ## Component props
141
+
142
+ ### Hero
143
+
144
+ | Name | Type | Default | Description |
145
+ | :---------------- | :------------------------ | :---------: | :-------------------------------------------------------------- |
146
+ | `align` | `'center'`, `'start'` | `'start'` | Optional text alignment |
147
+ | `variant` | `'default' \| 'gridline'` | `'default'` | Visual variants to the Hero. |
148
+ | `enableAnimation` | `boolean` | `false` | Enables animations for variants and children that support them. |
149
+ | `className` | `string` | | Sets a custom class on the root element |
150
+ | `ref` | `React.RefObject` | | Forward a Ref to the underlying DOM node |
151
+
152
+ ### Hero.Label
153
+
154
+ | name | type | default | description |
155
+ | ----------- | ----------------- | --------- | -------------------------------------------- |
156
+ | `variant` | `TextVariants` | `'muted'` | Specify alternative text appearance |
157
+ | `className` | `string` | | Sets a custom class on the root of the label |
158
+ | `id` | `string` | | Sets a custom id on the root of the label |
159
+ | `ref` | `React.RefObject` | | Forward a Ref to the underlying DOM node |
160
+
161
+ ### Hero.Heading
162
+
163
+ | name | type | default | description |
164
+ | ----------- | ----------------- | ------- | ---------------------------------------- |
165
+ | `className` | `string` | | Sets a custom class on the root element |
166
+ | `id` | `string` | | Sets a custom id |
167
+ | `ref` | `React.RefObject` | | Forward a Ref to the underlying DOM node |
168
+
169
+ Forwards all props from the [Heading component](../../typography/Heading/index.md), including `as`, `size`, and `weight`.
170
+
171
+ ### Hero.Description
172
+
173
+ | name | type | default | description |
174
+ | ----------- | -------------- | -------------------- | ----------------------------------- |
175
+ | `className` | `string` | | Sets a custom CSS class |
176
+ | `variant` | `TextVariants` | `defaultTextVariant` | Specify alternative text appearance |
177
+
178
+ Forwards `size` and `weight` props from the [Text component](../../typography/Text/index.md).
179
+
180
+ ### Hero.PrimaryAction
181
+
182
+ | name | type | default | description |
183
+ | ----------- | ------------- | ------- | ----------------------------------- |
184
+ | `className` | `string` | | Primary link custom class |
185
+ | `href` | `string` | | `href` for primary link |
186
+ | `as` | `a`, `button` | `a` | Applies the underlying HTML element |
187
+
188
+ Forwards all props from the [Button component](../Button/index.md).
189
+
190
+ ### Hero.SecondaryAction
191
+
192
+ | name | type | default | description |
193
+ | ----------- | ------------- | ------- | ----------------------------------- |
194
+ | `className` | `string` | | Secondary link custom class |
195
+ | `href` | `string` | | `href` for secondary link |
196
+ | `as` | `a`, `button` | `a` | Applies the underlying HTML element |
197
+
198
+ Forwards all props from the [Button component](../Button/index.md).
199
+
200
+ ### Hero.Image
201
+
202
+ | name | type | default | description |
203
+ | ---------- | --------------------------------------------------------------------------------------------------------------------- | ------------- | -------------------------------------------- |
204
+ | `position` | `'block-end' \| 'block-end-padded' \| 'inline-end' \| 'inline-end-padded' \| 'inline-start' \| 'inline-start-padded'` | `'block-end'` | Controls positioning of the foreground image |
205
+
206
+ Forwards all props from the [Image component](../Image/index.md), including `src`, `alt`, and `aspectRatio`.
207
+
208
+ ### Hero.Video
209
+
210
+ | name | type | default | description |
211
+ | --------------- | --------------------------------------------------------------------------------------------------------------------- | ------------- | --------------------------------------------------------------------------------------------------------------- |
212
+ | `position` | `'block-end' \| 'block-end-padded' \| 'inline-end' \| 'inline-end-padded' \| 'inline-start' \| 'inline-start-padded'` | `'block-end'` | Controls positioning of the child video element |
213
+ | `poster` | `string` | | URL of the poster image to display before video plays. When set, `posterAltText` and `posterTitle` are required |
214
+ | `posterAltText` | `string` | | Alt text for the poster image. Required when `poster` is set |
215
+ | `posterTitle` | `string` | | Title text displayed on the poster overlay. Required when `poster` is set |
@@ -0,0 +1,278 @@
1
+ ---
2
+ title: IDE
3
+ description: 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.
4
+ keywords: ['code', 'editor', 'chat', 'suggestions', 'AI']
5
+ source: https://github.com/primer/brand/blob/main/packages/react/src/IDE/IDE.tsx
6
+ storybook: '/brand/storybook/?path=/story/components-ide--playground'
7
+ ---
8
+
9
+ > This component is deprecated and will be removed in a future release. No further updates will be made to it. This page is
10
+ > preserved for reference only.
11
+
12
+ ```js
13
+ import {IDE} from '@primer/react-brand'
14
+ ```
15
+
16
+ ## Examples
17
+
18
+ ### Default
19
+
20
+ > The `IDE` does not automatically apply syntax highlighting to code snippets. Usage of this component in GitHub.com is expected to use the proprietary tokenizer and highlighter, the output of which can be passed directly into `IDE` as a parameter.
21
+
22
+ ```jsx
23
+ <IDE height={500}>
24
+ <IDE.Editor
25
+ files={[
26
+ {
27
+ name: 'index.js',
28
+ alternativeText: 'TypeScript sentiment analysis function with D3.js visualization.',
29
+ code: `import { fetch } from "fetch-h2";
30
+
31
+ async function isPositive(text: string): Promise<boolean> {
32
+ const response = await fetch(...)
33
+ const drawScatterplot = (data, height, width) => {
34
+ const svg = d3.select("#scatterplot")
35
+ .data(data)
36
+ .attr("cx", d => d.x)
37
+ .attr("cy", d => d.y)
38
+ .attr("r", 5)
39
+ }
40
+ const json = await response.json();
41
+ return json.label === "pos";
42
+ }`,
43
+ },
44
+ {
45
+ name: 'parse_expenses.py',
46
+ alternativeText:
47
+ 'Python function that converts financial transaction strings into structured data, parsing dates, amounts, and currencies while skipping comments',
48
+ code: `import datetime
49
+
50
+ def parse_expenses(expenses_string):
51
+ Ignore lines starting with #.
52
+ Parse the date using datetime.
53
+ Example expenses_string:
54
+ 2016-01-02 -34.01 USD
55
+ 2016-01-03 2.59 DKK
56
+ 2016-01-03 -2.72 EUR
57
+ """
58
+ expenses = []
59
+ for line in expenses_string.splitlines():
60
+ if line.startswith("#"):
61
+ continue
62
+ date, value, currency = line.split(" ")
63
+ expenses.append((datetime.datetime.strptime(date, "%Y-%m-%d"),
64
+ float(value),
65
+ currency))
66
+ return expenses`,
67
+ },
68
+ ]}
69
+ />
70
+ </IDE>
71
+ ```
72
+
73
+ ### Animations
74
+
75
+ Line-by-line animations can be enabled using pre-formatted prop values. A replay button is enabled by default.
76
+
77
+ ```jsx
78
+ <IDE height={500}>
79
+ <IDE.Editor
80
+ files={[
81
+ {
82
+ name: 'index.js',
83
+ alternativeText: 'TypeScript sentiment analysis function with D3.js visualization.',
84
+
85
+ code: `import { fetch } from "fetch-h2";
86
+
87
+ async function isPositive(text: string): Promise<boolean> {
88
+ const response = await fetch(...)
89
+ const drawScatterplot = (data, height, width) => {
90
+ const svg = d3.select("#scatterplot")
91
+ .data(data)
92
+ .attr("cx", d => d.x)
93
+ .attr("cy", d => d.y)
94
+ .attr("r", 5)
95
+ }
96
+ const json = await response.json();
97
+ return json.label === "pos";
98
+ }`
99
+ .split('\n')
100
+ .map(line => line || ' '),
101
+ },
102
+ ]}
103
+ />
104
+ </IDE>
105
+ ```
106
+
107
+ ### GitHub Copilot suggestions
108
+
109
+ Simulate GitHub Copilot suggestions using the `suggestedLineStart` property.
110
+
111
+ ```jsx
112
+ <IDE height={500}>
113
+ <IDE.Editor
114
+ files={[
115
+ {
116
+ name: 'index.js',
117
+ // Line number at which the suggestion will apply
118
+ suggestedLineStart: 6,
119
+ alternativeText:
120
+ 'TypeScript sentiment analysis function with D3.js visualization. Copilot suggests completing the scatterplot with SVG creation and circle attributes.',
121
+
122
+ code: `import { fetch } from "fetch-h2";
123
+
124
+ async function isPositive(text: string): Promise<boolean> {
125
+ const response = await fetch(...)
126
+ const drawScatterplot = (data, height, width) => {
127
+ const svg = d3.select("#scatterplot")
128
+ .data(data)
129
+ .attr("cx", d => d.x)
130
+ .attr("cy", d => d.y)
131
+ .attr("r", 5)
132
+ }
133
+ const json = await response.json();
134
+ return json.label === "pos";
135
+ }`
136
+ .split('\n')
137
+ .map(line => line || ' '),
138
+ },
139
+ ]}
140
+ />
141
+ </IDE>
142
+ ```
143
+
144
+ ### GitHub Copilot chat
145
+
146
+ Simulate GitHub Copilot Chat using the `IDE.Chat` sub-component. The script is fully customizable, and code snippets will require pre-formatting to enable syntax highlighting.
147
+
148
+ > See Storybook for a comprehensive example of the Chat feature, inclusive of syntax highlighting.
149
+ >
150
+ > See Chat example in Storybook
151
+
152
+ ```jsx
153
+ <IDE height={700}>
154
+ <IDE.Chat
155
+ alternativeText="A user asks how to concatenate arrays in JavaScript, Copilot demonstrates using the concat method, and the user confirms it worked."
156
+ script={[
157
+ {
158
+ role: 'user',
159
+ handle: 'monalisa',
160
+ avatar: '/images/avatar-mona.png',
161
+ message: 'How do I concatenate two arrays in JavaScript?',
162
+ },
163
+ {
164
+ role: 'assistant',
165
+ handle: 'GitHub Copilot',
166
+ message: "To concatenate two arrays in JavaScript, you can use the `concat` method. Here's an example:",
167
+ codeSnippet: `const array1 = [1, 2, 3];\nconst array2 = [4, 5, 6];\nconst resultArray = array1.concat(array2);\nconsole.log(resultArray); // Output: [1, 2, 3, 4, 5, 6]`,
168
+ },
169
+ {
170
+ role: 'user',
171
+ handle: 'monalisa',
172
+ avatar: '/images/avatar-mona.png',
173
+ message: 'It worked!',
174
+ },
175
+ ]}
176
+ />
177
+ </IDE>
178
+ ```
179
+
180
+ ### Glass variant
181
+
182
+ A `glass` variant is available to simplify placement of the `IDE` on background images. This variant adds alpha transparency and background blurring.
183
+
184
+ When using the `glass` variant, pay close attention to the background image behind the tabs of the `IDE.Editor`. Ensure there is sufficient contrast between the text and the background on inactive tabs.
185
+
186
+ ```jsx
187
+ <Box
188
+ padding={48}
189
+ borderRadius="large"
190
+ style={{
191
+ backgroundImage: `url(https://github.com/primer/brand/assets/13340707/7fe496dc-f6e0-417e-9453-32cec638ca68)`,
192
+ backgroundRepeat: 'no-repeat',
193
+ backgroundSize: 'cover',
194
+ backgroundPosition: 'center',
195
+ }}
196
+ >
197
+ <IDE height={400} variant="glass">
198
+ <IDE.Editor
199
+ files={[
200
+ {
201
+ name: 'index.js',
202
+ alternativeText: 'TypeScript sentiment analysis function with D3.js visualization.',
203
+ code: `import { fetch } from "fetch-h2";
204
+
205
+ async function isPositive(text: string): Promise<boolean> {
206
+ const response = await fetch(...)
207
+ const drawScatterplot = (data, height, width) => {
208
+ const svg = d3.select("#scatterplot")
209
+ .data(data)
210
+ .attr("cx", d => d.x)
211
+ .attr("cy", d => d.y)
212
+ .attr("r", 5)
213
+ }
214
+ const json = await response.json();
215
+ return json.label === "pos";
216
+ }`,
217
+ },
218
+ {
219
+ name: 'parse_expenses.py',
220
+ alternativeText:
221
+ 'Python function description and docstring showing how to parse financial transactions with example date, amount, and currency formats.',
222
+
223
+ code: `import datetime
224
+
225
+ def parse_expenses(expenses_string):
226
+ Ignore lines starting with #.
227
+ Parse the date using datetime.
228
+ Example expenses_string:
229
+ 2016-01-02 -34.01 USD
230
+ 2016-01-03 2.59 DKK
231
+ 2016-01-03 -2.72 EUR
232
+ """`,
233
+ },
234
+ ]}
235
+ />
236
+ </IDE>
237
+ </Box>
238
+ ```
239
+
240
+ ## Accessibility
241
+
242
+ The full contents of `IDE.Chat` and `IDE.Editor` are intentionally not made available to users of assistive technologies. Summaries of the content — which must be provided using the `alternativeText` prop — are made available instead.
243
+
244
+ When writing `alternativeText`, consider the following:
245
+
246
+ - The `IDE.Chat` script should be summarized in a way that conveys the essential information of the conversation.
247
+ - The `IDE.Editor` code should be summarized in a way that conveys the essential information of the code snippet, specifically noting any suggestions made by Copilot.
248
+
249
+ In both cases, the goal is to provide a meaningful summary of the content that will allow users of assistive technologies to understand the purpose and scope of the conversation or code snippet, without needing to understand the full content.
250
+
251
+ ## Component props
252
+
253
+ ### IDE `Required`
254
+
255
+ | name | type | default | required | description |
256
+ | --------- | ---------------------- | --------- | -------- | --------------------------------------------- |
257
+ | `height` | `number` | `800` | `false` | The optionally configurable height of the IDE |
258
+ | `variant` | `'default' \| 'glass'` | `default` | `false` | Alternative presentation of the IDE |
259
+
260
+ ### IDE.Editor
261
+
262
+ | name | type | default | required | description |
263
+ | ------------------ | -------------------------------- | ------- | -------- | ------------------------------- |
264
+ | `activeTab` | `number` | | `false` | Active tab index |
265
+ | `files` | [`IDEEditorFile[]`](#) | | `true` | Array of editor files |
266
+ | `showLineNumbers` | `boolean` | | `false` | Show line numbers in the editor |
267
+ | `size` | `'small' \| 'medium' \| 'large'` | | `false` | Controls editor text size |
268
+ | `triggerAnimation` | `boolean` | | `false` | Trigger animation externally |
269
+
270
+ Supported file extensions in the editor include:&#x20;
271
+
272
+ ### IDE.Chat
273
+
274
+ | name | type | default | required | description |
275
+ | ----------------- | ----------------------- | ------- | -------- | ------------------------------------------------------------------------------ |
276
+ | `script` | [`IDEChatMessage[]`](#) | | `true` | Array of chat messages |
277
+ | `alternativeText` | `string` | | `true` | Alternative description of the chat script for users of assistive technologies |
278
+ | `animationDelay` | `number` | `3000` | `false` | Delay for the chat animation |
@@ -0,0 +1,87 @@
1
+ ---
2
+ title: Icon
3
+ description: Use the icon component to display Octicons with an optional background
4
+ keywords: ['Octicon', 'symbol']
5
+ ready: true
6
+ source: https://github.com/primer/brand/blob/main/packages/react/src/Icon/Icon.tsx
7
+ storybook: '/brand/storybook/?path=/story/components-icon--playground'
8
+ figma: https://www.figma.com/design/BJ95AjraesmRCWsKA013GS/Primer-Brand?node-id=15397-35
9
+ ---
10
+
11
+ ```js
12
+ import {Icon} from '@primer/react-brand'
13
+ ```
14
+
15
+ ## Examples
16
+
17
+ ### Default
18
+
19
+ ```jsx
20
+ <Icon icon={ZapIcon} />
21
+ ```
22
+
23
+ ### Colors
24
+
25
+ ```jsx
26
+ <Stack direction="horizontal" gap={16} flexWrap="wrap" padding="none">
27
+ <Icon icon={RocketIcon} color="default" />
28
+ <Icon icon={RocketIcon} color="blue" />
29
+ <Icon icon={RocketIcon} color="coral" />
30
+ <Icon icon={RocketIcon} color="green" />
31
+ <Icon icon={RocketIcon} color="gray" />
32
+ <Icon icon={RocketIcon} color="indigo" />
33
+ <Icon icon={RocketIcon} color="lemon" />
34
+ <Icon icon={RocketIcon} color="lime" />
35
+ <Icon icon={RocketIcon} color="orange" />
36
+ <Icon icon={RocketIcon} color="pink" />
37
+ <Icon icon={RocketIcon} color="purple" />
38
+ <Icon icon={RocketIcon} color="red" />
39
+ <Icon icon={RocketIcon} color="teal" />
40
+ <Icon icon={RocketIcon} color="yellow" />
41
+ </Stack>
42
+ ```
43
+
44
+ ### With background
45
+
46
+ ```jsx
47
+ <Stack direction="horizontal" gap={16} flexWrap="wrap" padding="none">
48
+ <Icon icon={RocketIcon} hasBackground color="default" />
49
+ <Icon icon={RocketIcon} hasBackground color="blue" />
50
+ <Icon icon={RocketIcon} hasBackground color="coral" />
51
+ <Icon icon={RocketIcon} hasBackground color="green" />
52
+ <Icon icon={RocketIcon} hasBackground color="gray" />
53
+ <Icon icon={RocketIcon} hasBackground color="indigo" />
54
+ <Icon icon={RocketIcon} hasBackground color="lemon" />
55
+ <Icon icon={RocketIcon} hasBackground color="lime" />
56
+ <Icon icon={RocketIcon} hasBackground color="orange" />
57
+ <Icon icon={RocketIcon} hasBackground color="pink" />
58
+ <Icon icon={RocketIcon} hasBackground color="purple" />
59
+ <Icon icon={RocketIcon} hasBackground color="red" />
60
+ <Icon icon={RocketIcon} hasBackground color="teal" />
61
+ <Icon icon={RocketIcon} hasBackground color="yellow" />
62
+ </Stack>
63
+ ```
64
+
65
+ ### Sizes
66
+
67
+ ```jsx
68
+ <Stack direction="vertical">
69
+ <Icon icon={CopilotIcon} size="small" />
70
+ <Icon icon={CopilotIcon} size="medium" />
71
+ <Icon icon={CopilotIcon} size="large" />
72
+ </Stack>
73
+ ```
74
+
75
+ ## Component props
76
+
77
+ ### Icon
78
+
79
+ | Name | Type | Default | Description |
80
+ | :-------------- | :--------------------------------------------------- | :---------- | :------------------------------------------- |
81
+ | `icon` | `OcticonProps` \| `React.ReactElement<OcticonProps>` | | The Octicon component to render |
82
+ | `color` | `iconColors` | `'default'` | The color of the icon |
83
+ | `size` | `namedIconSizes \| numericIconSizes` | `'small'` | The size of the icon |
84
+ | `hasBackground` | `boolean` | `false` | Whether to show a background behind the icon |
85
+ | `className` | `string` | | Additional CSS class for the icon |
86
+
87
+ All other props are forwarded to the underlying SVG element.