@primer/react-brand 0.69.1-rc.9dc041db → 0.70.0-rc.4599efb5

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 (668) 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/esm/Token/Token.js +0 -1
  103. package/esm/Token/Token.js.map +1 -1
  104. package/esm/Token/{Token.module-BcKU1KwK.css → Token.module-DtWE9IPI.css} +1 -1
  105. package/esm/Token/Token.module.js +1 -1
  106. package/esm/Token/Token.module.js.map +1 -1
  107. package/lib/Grid/Grid.d.ts +1 -1
  108. package/lib/Hero/HeroContext.d.ts +1 -1
  109. package/lib/SubNav/SubNav.d.ts +1 -1
  110. package/lib/Token/Token.d.ts +1 -1
  111. package/lib/css/main.css +68 -69
  112. package/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes.css +1 -1
  113. package/lib/design-tokens/css/tokens/base/colors/light.css +1 -1
  114. package/lib/design-tokens/css/tokens/base/size/size.css +1 -1
  115. package/lib/design-tokens/css/tokens/base/typography/typography.css +1 -1
  116. package/lib/design-tokens/css/tokens/functional/animation/base.css +1 -1
  117. package/lib/design-tokens/css/tokens/functional/colors/global-with-modes.css +1 -1
  118. package/lib/design-tokens/css/tokens/functional/colors/global.css +1 -1
  119. package/lib/design-tokens/css/tokens/functional/components/accordion/colors-with-modes.css +1 -1
  120. package/lib/design-tokens/css/tokens/functional/components/action-menu/colors-with-modes.css +1 -1
  121. package/lib/design-tokens/css/tokens/functional/components/anchor-nav/colors-with-modes.css +1 -1
  122. package/lib/design-tokens/css/tokens/functional/components/bento/base.css +1 -1
  123. package/lib/design-tokens/css/tokens/functional/components/blinking-cursor/colors-with-modes.css +1 -1
  124. package/lib/design-tokens/css/tokens/functional/components/breadcrumbs/colors-with-modes.css +1 -1
  125. package/lib/design-tokens/css/tokens/functional/components/button/colors-with-modes.css +1 -1
  126. package/lib/design-tokens/css/tokens/functional/components/card/base.css +1 -1
  127. package/lib/design-tokens/css/tokens/functional/components/card/colors-with-modes.css +1 -1
  128. package/lib/design-tokens/css/tokens/functional/components/card/colors.css +1 -1
  129. package/lib/design-tokens/css/tokens/functional/components/comparison-table/colors-with-modes.css +1 -1
  130. package/lib/design-tokens/css/tokens/functional/components/comparison-table/comparison-table.css +1 -1
  131. package/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes.css +1 -1
  132. package/lib/design-tokens/css/tokens/functional/components/cta-banner/colors-with-modes.css +1 -1
  133. package/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/colors-with-modes.css +1 -1
  134. package/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/eyebrow-banner.css +1 -1
  135. package/lib/design-tokens/css/tokens/functional/components/faq/base.css +1 -1
  136. package/lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes.css +1 -1
  137. package/lib/design-tokens/css/tokens/functional/components/faq/colors.css +1 -1
  138. package/lib/design-tokens/css/tokens/functional/components/faq/faq.css +1 -1
  139. package/lib/design-tokens/css/tokens/functional/components/footer/colors-with-modes.css +1 -1
  140. package/lib/design-tokens/css/tokens/functional/components/footer/colors.css +1 -1
  141. package/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/base.css +1 -1
  142. package/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/colors-with-modes.css +1 -1
  143. package/lib/design-tokens/css/tokens/functional/components/grid/colors-with-modes.css +1 -1
  144. package/lib/design-tokens/css/tokens/functional/components/grid/colors.css +1 -1
  145. package/lib/design-tokens/css/tokens/functional/components/grid/grid.css +1 -1
  146. package/lib/design-tokens/css/tokens/functional/components/hero/base.css +1 -1
  147. package/lib/design-tokens/css/tokens/functional/components/icon/colors-with-modes.css +1 -1
  148. package/lib/design-tokens/css/tokens/functional/components/icon/colors.css +1 -1
  149. package/lib/design-tokens/css/tokens/functional/components/ide/base.css +1 -1
  150. package/lib/design-tokens/css/tokens/functional/components/ide/colors-with-modes.css +1 -1
  151. package/lib/design-tokens/css/tokens/functional/components/image/base.css +1 -1
  152. package/lib/design-tokens/css/tokens/functional/components/inline-link/base.css +1 -1
  153. package/lib/design-tokens/css/tokens/functional/components/inline-link/colors-with-modes.css +1 -1
  154. package/lib/design-tokens/css/tokens/functional/components/inline-link/colors.css +1 -1
  155. package/lib/design-tokens/css/tokens/functional/components/label/colors-with-modes.css +1 -1
  156. package/lib/design-tokens/css/tokens/functional/components/label/colors.css +1 -1
  157. package/lib/design-tokens/css/tokens/functional/components/link/colors-with-modes.css +1 -1
  158. package/lib/design-tokens/css/tokens/functional/components/link/colors.css +1 -1
  159. package/lib/design-tokens/css/tokens/functional/components/logosuite/base.css +1 -1
  160. package/lib/design-tokens/css/tokens/functional/components/logosuite/colors-with-modes.css +1 -1
  161. package/lib/design-tokens/css/tokens/functional/components/logosuite/colors.css +1 -1
  162. package/lib/design-tokens/css/tokens/functional/components/media-playlist/colors-with-modes.css +1 -1
  163. package/lib/design-tokens/css/tokens/functional/components/media-playlist/colors.css +1 -1
  164. package/lib/design-tokens/css/tokens/functional/components/pricing-options/colors-with-modes.css +1 -1
  165. package/lib/design-tokens/css/tokens/functional/components/pricing-options/colors.css +1 -1
  166. package/lib/design-tokens/css/tokens/functional/components/pricing-options/pricing-options.css +1 -1
  167. package/lib/design-tokens/css/tokens/functional/components/prose/base.css +1 -1
  168. package/lib/design-tokens/css/tokens/functional/components/prose/colors-with-modes.css +1 -1
  169. package/lib/design-tokens/css/tokens/functional/components/river/base.css +1 -1
  170. package/lib/design-tokens/css/tokens/functional/components/river/river.css +1 -1
  171. package/lib/design-tokens/css/tokens/functional/components/river-story-scroll/colors-with-modes.css +1 -1
  172. package/lib/design-tokens/css/tokens/functional/components/section/section.css +1 -1
  173. package/lib/design-tokens/css/tokens/functional/components/statistic/base.css +1 -1
  174. package/lib/design-tokens/css/tokens/functional/components/sub-nav/base.css +1 -1
  175. package/lib/design-tokens/css/tokens/functional/components/sub-nav/colors-with-modes.css +1 -1
  176. package/lib/design-tokens/css/tokens/functional/components/subdomain-nav-bar/colors-with-modes.css +1 -1
  177. package/lib/design-tokens/css/tokens/functional/components/tabs/base.css +1 -1
  178. package/lib/design-tokens/css/tokens/functional/components/tabs/colors-with-modes.css +1 -1
  179. package/lib/design-tokens/css/tokens/functional/components/tabs/colors.css +1 -1
  180. package/lib/design-tokens/css/tokens/functional/components/testimonial/base.css +1 -1
  181. package/lib/design-tokens/css/tokens/functional/components/testimonial/colors-with-modes.css +1 -1
  182. package/lib/design-tokens/css/tokens/functional/components/testimonial/colors.css +1 -1
  183. package/lib/design-tokens/css/tokens/functional/components/text-cursor-animation/colors-with-modes.css +1 -1
  184. package/lib/design-tokens/css/tokens/functional/components/text-cursor-animation/colors.css +1 -1
  185. package/lib/design-tokens/css/tokens/functional/components/tiles/colors-with-modes.css +1 -1
  186. package/lib/design-tokens/css/tokens/functional/components/timeline/base.css +1 -1
  187. package/lib/design-tokens/css/tokens/functional/components/timeline/colors-with-modes.css +1 -1
  188. package/lib/design-tokens/css/tokens/functional/components/timeline/colors.css +1 -1
  189. package/lib/design-tokens/css/tokens/functional/components/token/colors-with-modes.css +1 -1
  190. package/lib/design-tokens/css/tokens/functional/components/token/colors.css +1 -1
  191. package/lib/design-tokens/css/tokens/functional/components/tooltip/colors-with-modes.css +1 -1
  192. package/lib/design-tokens/css/tokens/functional/components/tooltip/colors.css +1 -1
  193. package/lib/design-tokens/css/tokens/functional/components/video-player/base.css +1 -1
  194. package/lib/design-tokens/css/tokens/functional/components/video-player/colors-with-modes.css +1 -1
  195. package/lib/design-tokens/css/tokens/functional/size/border.css +1 -1
  196. package/lib/design-tokens/css/tokens/functional/size/breakpoints.css +1 -1
  197. package/lib/design-tokens/css/tokens/functional/size/size-coarse.css +1 -1
  198. package/lib/design-tokens/css/tokens/functional/size/size-fine.css +1 -1
  199. package/lib/design-tokens/css/tokens/functional/size/size.css +1 -1
  200. package/lib/design-tokens/css/tokens/functional/size/viewport.css +1 -1
  201. package/lib/design-tokens/css/tokens/functional/typography/typography-responsive.css +1 -1
  202. package/lib/design-tokens/css/tokens/functional/typography/typography.css +1 -1
  203. package/lib/design-tokens/js/module/tokens/base/colors/light.js +1 -1
  204. package/lib/design-tokens/js/module/tokens/base/size/size.js +1 -1
  205. package/lib/design-tokens/js/module/tokens/base/typography/typography.js +1 -1
  206. package/lib/design-tokens/js/module/tokens/functional/animation/base.js +1 -1
  207. package/lib/design-tokens/js/module/tokens/functional/colors/global.js +1 -1
  208. package/lib/design-tokens/js/module/tokens/functional/components/bento/base.js +1 -1
  209. package/lib/design-tokens/js/module/tokens/functional/components/card/base.js +1 -1
  210. package/lib/design-tokens/js/module/tokens/functional/components/card/colors.js +1 -1
  211. package/lib/design-tokens/js/module/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  212. package/lib/design-tokens/js/module/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
  213. package/lib/design-tokens/js/module/tokens/functional/components/faq/base.js +1 -1
  214. package/lib/design-tokens/js/module/tokens/functional/components/faq/colors.js +1 -1
  215. package/lib/design-tokens/js/module/tokens/functional/components/faq/faq.js +1 -1
  216. package/lib/design-tokens/js/module/tokens/functional/components/footer/colors.js +1 -1
  217. package/lib/design-tokens/js/module/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
  218. package/lib/design-tokens/js/module/tokens/functional/components/grid/colors.js +1 -1
  219. package/lib/design-tokens/js/module/tokens/functional/components/grid/grid.js +1 -1
  220. package/lib/design-tokens/js/module/tokens/functional/components/hero/base.js +1 -1
  221. package/lib/design-tokens/js/module/tokens/functional/components/icon/colors.js +1 -1
  222. package/lib/design-tokens/js/module/tokens/functional/components/ide/base.js +1 -1
  223. package/lib/design-tokens/js/module/tokens/functional/components/image/base.js +1 -1
  224. package/lib/design-tokens/js/module/tokens/functional/components/inline-link/base.js +1 -1
  225. package/lib/design-tokens/js/module/tokens/functional/components/inline-link/colors.js +1 -1
  226. package/lib/design-tokens/js/module/tokens/functional/components/label/colors.js +1 -1
  227. package/lib/design-tokens/js/module/tokens/functional/components/link/colors.js +1 -1
  228. package/lib/design-tokens/js/module/tokens/functional/components/logosuite/base.js +1 -1
  229. package/lib/design-tokens/js/module/tokens/functional/components/logosuite/colors.js +1 -1
  230. package/lib/design-tokens/js/module/tokens/functional/components/media-playlist/colors.js +1 -1
  231. package/lib/design-tokens/js/module/tokens/functional/components/pricing-options/colors.js +1 -1
  232. package/lib/design-tokens/js/module/tokens/functional/components/pricing-options/pricing-options.js +1 -1
  233. package/lib/design-tokens/js/module/tokens/functional/components/prose/base.js +1 -1
  234. package/lib/design-tokens/js/module/tokens/functional/components/river/base.js +1 -1
  235. package/lib/design-tokens/js/module/tokens/functional/components/river/river.js +1 -1
  236. package/lib/design-tokens/js/module/tokens/functional/components/section/section.js +1 -1
  237. package/lib/design-tokens/js/module/tokens/functional/components/statistic/base.js +1 -1
  238. package/lib/design-tokens/js/module/tokens/functional/components/sub-nav/base.js +1 -1
  239. package/lib/design-tokens/js/module/tokens/functional/components/tabs/base.js +1 -1
  240. package/lib/design-tokens/js/module/tokens/functional/components/tabs/colors.js +1 -1
  241. package/lib/design-tokens/js/module/tokens/functional/components/testimonial/base.js +1 -1
  242. package/lib/design-tokens/js/module/tokens/functional/components/testimonial/colors.js +1 -1
  243. package/lib/design-tokens/js/module/tokens/functional/components/text-cursor-animation/colors.js +1 -1
  244. package/lib/design-tokens/js/module/tokens/functional/components/timeline/base.js +1 -1
  245. package/lib/design-tokens/js/module/tokens/functional/components/timeline/colors.js +1 -1
  246. package/lib/design-tokens/js/module/tokens/functional/components/token/colors.js +1 -1
  247. package/lib/design-tokens/js/module/tokens/functional/components/tooltip/colors.js +1 -1
  248. package/lib/design-tokens/js/module/tokens/functional/components/video-player/base.js +1 -1
  249. package/lib/design-tokens/js/module/tokens/functional/size/border.js +1 -1
  250. package/lib/design-tokens/js/module/tokens/functional/size/breakpoints.js +1 -1
  251. package/lib/design-tokens/js/module/tokens/functional/size/size-coarse.js +1 -1
  252. package/lib/design-tokens/js/module/tokens/functional/size/size-fine.js +1 -1
  253. package/lib/design-tokens/js/module/tokens/functional/size/size.js +1 -1
  254. package/lib/design-tokens/js/module/tokens/functional/size/viewport.js +1 -1
  255. package/lib/design-tokens/js/module/tokens/functional/typography/typography-responsive.js +1 -1
  256. package/lib/design-tokens/js/module/tokens/functional/typography/typography.js +1 -1
  257. package/lib/design-tokens/js/tokens/base/colors/light.js +1 -1
  258. package/lib/design-tokens/js/tokens/base/size/size.js +1 -1
  259. package/lib/design-tokens/js/tokens/base/typography/typography.js +1 -1
  260. package/lib/design-tokens/js/tokens/functional/animation/base.js +1 -1
  261. package/lib/design-tokens/js/tokens/functional/colors/global.js +1 -1
  262. package/lib/design-tokens/js/tokens/functional/components/bento/base.js +1 -1
  263. package/lib/design-tokens/js/tokens/functional/components/card/base.js +1 -1
  264. package/lib/design-tokens/js/tokens/functional/components/card/colors.js +1 -1
  265. package/lib/design-tokens/js/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  266. package/lib/design-tokens/js/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
  267. package/lib/design-tokens/js/tokens/functional/components/faq/base.js +1 -1
  268. package/lib/design-tokens/js/tokens/functional/components/faq/colors.js +1 -1
  269. package/lib/design-tokens/js/tokens/functional/components/faq/faq.js +1 -1
  270. package/lib/design-tokens/js/tokens/functional/components/footer/colors.js +1 -1
  271. package/lib/design-tokens/js/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
  272. package/lib/design-tokens/js/tokens/functional/components/grid/colors.js +1 -1
  273. package/lib/design-tokens/js/tokens/functional/components/grid/grid.js +1 -1
  274. package/lib/design-tokens/js/tokens/functional/components/hero/base.js +1 -1
  275. package/lib/design-tokens/js/tokens/functional/components/icon/colors.js +1 -1
  276. package/lib/design-tokens/js/tokens/functional/components/ide/base.js +1 -1
  277. package/lib/design-tokens/js/tokens/functional/components/image/base.js +1 -1
  278. package/lib/design-tokens/js/tokens/functional/components/inline-link/base.js +1 -1
  279. package/lib/design-tokens/js/tokens/functional/components/inline-link/colors.js +1 -1
  280. package/lib/design-tokens/js/tokens/functional/components/label/colors.js +1 -1
  281. package/lib/design-tokens/js/tokens/functional/components/link/colors.js +1 -1
  282. package/lib/design-tokens/js/tokens/functional/components/logosuite/base.js +1 -1
  283. package/lib/design-tokens/js/tokens/functional/components/logosuite/colors.js +1 -1
  284. package/lib/design-tokens/js/tokens/functional/components/media-playlist/colors.js +1 -1
  285. package/lib/design-tokens/js/tokens/functional/components/pricing-options/colors.js +1 -1
  286. package/lib/design-tokens/js/tokens/functional/components/pricing-options/pricing-options.js +1 -1
  287. package/lib/design-tokens/js/tokens/functional/components/prose/base.js +1 -1
  288. package/lib/design-tokens/js/tokens/functional/components/river/base.js +1 -1
  289. package/lib/design-tokens/js/tokens/functional/components/river/river.js +1 -1
  290. package/lib/design-tokens/js/tokens/functional/components/section/section.js +1 -1
  291. package/lib/design-tokens/js/tokens/functional/components/statistic/base.js +1 -1
  292. package/lib/design-tokens/js/tokens/functional/components/sub-nav/base.js +1 -1
  293. package/lib/design-tokens/js/tokens/functional/components/tabs/base.js +1 -1
  294. package/lib/design-tokens/js/tokens/functional/components/tabs/colors.js +1 -1
  295. package/lib/design-tokens/js/tokens/functional/components/testimonial/base.js +1 -1
  296. package/lib/design-tokens/js/tokens/functional/components/testimonial/colors.js +1 -1
  297. package/lib/design-tokens/js/tokens/functional/components/text-cursor-animation/colors.js +1 -1
  298. package/lib/design-tokens/js/tokens/functional/components/timeline/base.js +1 -1
  299. package/lib/design-tokens/js/tokens/functional/components/timeline/colors.js +1 -1
  300. package/lib/design-tokens/js/tokens/functional/components/token/colors.js +1 -1
  301. package/lib/design-tokens/js/tokens/functional/components/tooltip/colors.js +1 -1
  302. package/lib/design-tokens/js/tokens/functional/components/video-player/base.js +1 -1
  303. package/lib/design-tokens/js/tokens/functional/size/border.js +1 -1
  304. package/lib/design-tokens/js/tokens/functional/size/breakpoints.js +1 -1
  305. package/lib/design-tokens/js/tokens/functional/size/size-coarse.js +1 -1
  306. package/lib/design-tokens/js/tokens/functional/size/size-fine.js +1 -1
  307. package/lib/design-tokens/js/tokens/functional/size/size.js +1 -1
  308. package/lib/design-tokens/js/tokens/functional/size/viewport.js +1 -1
  309. package/lib/design-tokens/js/tokens/functional/typography/typography-responsive.js +1 -1
  310. package/lib/design-tokens/js/tokens/functional/typography/typography.js +1 -1
  311. package/lib/design-tokens/scss/tokens/base/colors/light.scss +1 -1
  312. package/lib/design-tokens/scss/tokens/base/size/size.scss +1 -1
  313. package/lib/design-tokens/scss/tokens/base/typography/typography.scss +1 -1
  314. package/lib/design-tokens/scss/tokens/functional/animation/base.scss +1 -1
  315. package/lib/design-tokens/scss/tokens/functional/colors/global.scss +1 -1
  316. package/lib/design-tokens/scss/tokens/functional/components/bento/base.scss +1 -1
  317. package/lib/design-tokens/scss/tokens/functional/components/card/base.scss +1 -1
  318. package/lib/design-tokens/scss/tokens/functional/components/card/colors.scss +1 -1
  319. package/lib/design-tokens/scss/tokens/functional/components/comparison-table/comparison-table.scss +1 -1
  320. package/lib/design-tokens/scss/tokens/functional/components/eyebrow-banner/eyebrow-banner.scss +1 -1
  321. package/lib/design-tokens/scss/tokens/functional/components/faq/base.scss +1 -1
  322. package/lib/design-tokens/scss/tokens/functional/components/faq/colors.scss +1 -1
  323. package/lib/design-tokens/scss/tokens/functional/components/faq/faq.scss +1 -1
  324. package/lib/design-tokens/scss/tokens/functional/components/footer/colors.scss +1 -1
  325. package/lib/design-tokens/scss/tokens/functional/components/frosted-glass-vfx/base.scss +1 -1
  326. package/lib/design-tokens/scss/tokens/functional/components/grid/colors.scss +1 -1
  327. package/lib/design-tokens/scss/tokens/functional/components/grid/grid.scss +1 -1
  328. package/lib/design-tokens/scss/tokens/functional/components/hero/base.scss +1 -1
  329. package/lib/design-tokens/scss/tokens/functional/components/icon/colors.scss +1 -1
  330. package/lib/design-tokens/scss/tokens/functional/components/ide/base.scss +1 -1
  331. package/lib/design-tokens/scss/tokens/functional/components/image/base.scss +1 -1
  332. package/lib/design-tokens/scss/tokens/functional/components/inline-link/base.scss +1 -1
  333. package/lib/design-tokens/scss/tokens/functional/components/inline-link/colors.scss +1 -1
  334. package/lib/design-tokens/scss/tokens/functional/components/label/colors.scss +1 -1
  335. package/lib/design-tokens/scss/tokens/functional/components/link/colors.scss +1 -1
  336. package/lib/design-tokens/scss/tokens/functional/components/logosuite/base.scss +1 -1
  337. package/lib/design-tokens/scss/tokens/functional/components/logosuite/colors.scss +1 -1
  338. package/lib/design-tokens/scss/tokens/functional/components/media-playlist/colors.scss +1 -1
  339. package/lib/design-tokens/scss/tokens/functional/components/pricing-options/colors.scss +1 -1
  340. package/lib/design-tokens/scss/tokens/functional/components/pricing-options/pricing-options.scss +1 -1
  341. package/lib/design-tokens/scss/tokens/functional/components/prose/base.scss +1 -1
  342. package/lib/design-tokens/scss/tokens/functional/components/river/base.scss +1 -1
  343. package/lib/design-tokens/scss/tokens/functional/components/river/river.scss +1 -1
  344. package/lib/design-tokens/scss/tokens/functional/components/section/section.scss +1 -1
  345. package/lib/design-tokens/scss/tokens/functional/components/statistic/base.scss +1 -1
  346. package/lib/design-tokens/scss/tokens/functional/components/sub-nav/base.scss +1 -1
  347. package/lib/design-tokens/scss/tokens/functional/components/tabs/base.scss +1 -1
  348. package/lib/design-tokens/scss/tokens/functional/components/tabs/colors.scss +1 -1
  349. package/lib/design-tokens/scss/tokens/functional/components/testimonial/base.scss +1 -1
  350. package/lib/design-tokens/scss/tokens/functional/components/testimonial/colors.scss +1 -1
  351. package/lib/design-tokens/scss/tokens/functional/components/text-cursor-animation/colors.scss +1 -1
  352. package/lib/design-tokens/scss/tokens/functional/components/timeline/base.scss +1 -1
  353. package/lib/design-tokens/scss/tokens/functional/components/timeline/colors.scss +1 -1
  354. package/lib/design-tokens/scss/tokens/functional/components/token/colors.scss +1 -1
  355. package/lib/design-tokens/scss/tokens/functional/components/tooltip/colors.scss +1 -1
  356. package/lib/design-tokens/scss/tokens/functional/components/video-player/base.scss +1 -1
  357. package/lib/design-tokens/scss/tokens/functional/size/border.scss +1 -1
  358. package/lib/design-tokens/scss/tokens/functional/size/breakpoints.scss +1 -1
  359. package/lib/design-tokens/scss/tokens/functional/size/size-coarse.scss +1 -1
  360. package/lib/design-tokens/scss/tokens/functional/size/size-fine.scss +1 -1
  361. package/lib/design-tokens/scss/tokens/functional/size/size.scss +1 -1
  362. package/lib/design-tokens/scss/tokens/functional/size/viewport.scss +1 -1
  363. package/lib/design-tokens/scss/tokens/functional/typography/typography-responsive.scss +1 -1
  364. package/lib/design-tokens/scss/tokens/functional/typography/typography.scss +1 -1
  365. package/lib/design-tokens/ts/tokens/base/colors/light.d.ts +1 -1
  366. package/lib/design-tokens/ts/tokens/base/colors/light.js +1 -1
  367. package/lib/design-tokens/ts/tokens/base/size/size.d.ts +1 -1
  368. package/lib/design-tokens/ts/tokens/base/size/size.js +1 -1
  369. package/lib/design-tokens/ts/tokens/base/typography/typography.d.ts +1 -1
  370. package/lib/design-tokens/ts/tokens/base/typography/typography.js +1 -1
  371. package/lib/design-tokens/ts/tokens/functional/animation/base.d.ts +1 -1
  372. package/lib/design-tokens/ts/tokens/functional/animation/base.js +1 -1
  373. package/lib/design-tokens/ts/tokens/functional/colors/global.d.ts +1 -1
  374. package/lib/design-tokens/ts/tokens/functional/colors/global.js +1 -1
  375. package/lib/design-tokens/ts/tokens/functional/components/bento/base.d.ts +1 -1
  376. package/lib/design-tokens/ts/tokens/functional/components/bento/base.js +1 -1
  377. package/lib/design-tokens/ts/tokens/functional/components/card/base.d.ts +1 -1
  378. package/lib/design-tokens/ts/tokens/functional/components/card/base.js +1 -1
  379. package/lib/design-tokens/ts/tokens/functional/components/card/colors.d.ts +1 -1
  380. package/lib/design-tokens/ts/tokens/functional/components/card/colors.js +1 -1
  381. package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.d.ts +1 -1
  382. package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  383. package/lib/design-tokens/ts/tokens/functional/components/eyebrow-banner/eyebrow-banner.d.ts +1 -1
  384. package/lib/design-tokens/ts/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
  385. package/lib/design-tokens/ts/tokens/functional/components/faq/base.d.ts +1 -1
  386. package/lib/design-tokens/ts/tokens/functional/components/faq/base.js +1 -1
  387. package/lib/design-tokens/ts/tokens/functional/components/faq/colors.d.ts +1 -1
  388. package/lib/design-tokens/ts/tokens/functional/components/faq/colors.js +1 -1
  389. package/lib/design-tokens/ts/tokens/functional/components/faq/faq.d.ts +1 -1
  390. package/lib/design-tokens/ts/tokens/functional/components/faq/faq.js +1 -1
  391. package/lib/design-tokens/ts/tokens/functional/components/footer/colors.d.ts +1 -1
  392. package/lib/design-tokens/ts/tokens/functional/components/footer/colors.js +1 -1
  393. package/lib/design-tokens/ts/tokens/functional/components/frosted-glass-vfx/base.d.ts +1 -1
  394. package/lib/design-tokens/ts/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
  395. package/lib/design-tokens/ts/tokens/functional/components/grid/colors.d.ts +1 -1
  396. package/lib/design-tokens/ts/tokens/functional/components/grid/colors.js +1 -1
  397. package/lib/design-tokens/ts/tokens/functional/components/grid/grid.d.ts +1 -1
  398. package/lib/design-tokens/ts/tokens/functional/components/grid/grid.js +1 -1
  399. package/lib/design-tokens/ts/tokens/functional/components/hero/base.d.ts +1 -1
  400. package/lib/design-tokens/ts/tokens/functional/components/hero/base.js +1 -1
  401. package/lib/design-tokens/ts/tokens/functional/components/icon/colors.d.ts +1 -1
  402. package/lib/design-tokens/ts/tokens/functional/components/icon/colors.js +1 -1
  403. package/lib/design-tokens/ts/tokens/functional/components/ide/base.d.ts +1 -1
  404. package/lib/design-tokens/ts/tokens/functional/components/ide/base.js +1 -1
  405. package/lib/design-tokens/ts/tokens/functional/components/image/base.d.ts +1 -1
  406. package/lib/design-tokens/ts/tokens/functional/components/image/base.js +1 -1
  407. package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.d.ts +1 -1
  408. package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.js +1 -1
  409. package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.d.ts +1 -1
  410. package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.js +1 -1
  411. package/lib/design-tokens/ts/tokens/functional/components/label/colors.d.ts +1 -1
  412. package/lib/design-tokens/ts/tokens/functional/components/label/colors.js +1 -1
  413. package/lib/design-tokens/ts/tokens/functional/components/link/colors.d.ts +1 -1
  414. package/lib/design-tokens/ts/tokens/functional/components/link/colors.js +1 -1
  415. package/lib/design-tokens/ts/tokens/functional/components/logosuite/base.d.ts +1 -1
  416. package/lib/design-tokens/ts/tokens/functional/components/logosuite/base.js +1 -1
  417. package/lib/design-tokens/ts/tokens/functional/components/logosuite/colors.d.ts +1 -1
  418. package/lib/design-tokens/ts/tokens/functional/components/logosuite/colors.js +1 -1
  419. package/lib/design-tokens/ts/tokens/functional/components/media-playlist/colors.d.ts +1 -1
  420. package/lib/design-tokens/ts/tokens/functional/components/media-playlist/colors.js +1 -1
  421. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/colors.d.ts +1 -1
  422. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/colors.js +1 -1
  423. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/pricing-options.d.ts +1 -1
  424. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/pricing-options.js +1 -1
  425. package/lib/design-tokens/ts/tokens/functional/components/prose/base.d.ts +1 -1
  426. package/lib/design-tokens/ts/tokens/functional/components/prose/base.js +1 -1
  427. package/lib/design-tokens/ts/tokens/functional/components/river/base.d.ts +1 -1
  428. package/lib/design-tokens/ts/tokens/functional/components/river/base.js +1 -1
  429. package/lib/design-tokens/ts/tokens/functional/components/river/river.d.ts +1 -1
  430. package/lib/design-tokens/ts/tokens/functional/components/river/river.js +1 -1
  431. package/lib/design-tokens/ts/tokens/functional/components/section/section.d.ts +1 -1
  432. package/lib/design-tokens/ts/tokens/functional/components/section/section.js +1 -1
  433. package/lib/design-tokens/ts/tokens/functional/components/statistic/base.d.ts +1 -1
  434. package/lib/design-tokens/ts/tokens/functional/components/statistic/base.js +1 -1
  435. package/lib/design-tokens/ts/tokens/functional/components/sub-nav/base.d.ts +1 -1
  436. package/lib/design-tokens/ts/tokens/functional/components/sub-nav/base.js +1 -1
  437. package/lib/design-tokens/ts/tokens/functional/components/tabs/base.d.ts +1 -1
  438. package/lib/design-tokens/ts/tokens/functional/components/tabs/base.js +1 -1
  439. package/lib/design-tokens/ts/tokens/functional/components/tabs/colors.d.ts +1 -1
  440. package/lib/design-tokens/ts/tokens/functional/components/tabs/colors.js +1 -1
  441. package/lib/design-tokens/ts/tokens/functional/components/testimonial/base.d.ts +1 -1
  442. package/lib/design-tokens/ts/tokens/functional/components/testimonial/base.js +1 -1
  443. package/lib/design-tokens/ts/tokens/functional/components/testimonial/colors.d.ts +1 -1
  444. package/lib/design-tokens/ts/tokens/functional/components/testimonial/colors.js +1 -1
  445. package/lib/design-tokens/ts/tokens/functional/components/text-cursor-animation/colors.d.ts +1 -1
  446. package/lib/design-tokens/ts/tokens/functional/components/text-cursor-animation/colors.js +1 -1
  447. package/lib/design-tokens/ts/tokens/functional/components/timeline/base.d.ts +1 -1
  448. package/lib/design-tokens/ts/tokens/functional/components/timeline/base.js +1 -1
  449. package/lib/design-tokens/ts/tokens/functional/components/timeline/colors.d.ts +1 -1
  450. package/lib/design-tokens/ts/tokens/functional/components/timeline/colors.js +1 -1
  451. package/lib/design-tokens/ts/tokens/functional/components/token/colors.d.ts +1 -1
  452. package/lib/design-tokens/ts/tokens/functional/components/token/colors.js +1 -1
  453. package/lib/design-tokens/ts/tokens/functional/components/tooltip/colors.d.ts +1 -1
  454. package/lib/design-tokens/ts/tokens/functional/components/tooltip/colors.js +1 -1
  455. package/lib/design-tokens/ts/tokens/functional/components/video-player/base.d.ts +1 -1
  456. package/lib/design-tokens/ts/tokens/functional/components/video-player/base.js +1 -1
  457. package/lib/design-tokens/ts/tokens/functional/size/border.d.ts +1 -1
  458. package/lib/design-tokens/ts/tokens/functional/size/border.js +1 -1
  459. package/lib/design-tokens/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  460. package/lib/design-tokens/ts/tokens/functional/size/breakpoints.js +1 -1
  461. package/lib/design-tokens/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  462. package/lib/design-tokens/ts/tokens/functional/size/size-coarse.js +1 -1
  463. package/lib/design-tokens/ts/tokens/functional/size/size-fine.d.ts +1 -1
  464. package/lib/design-tokens/ts/tokens/functional/size/size-fine.js +1 -1
  465. package/lib/design-tokens/ts/tokens/functional/size/size.d.ts +1 -1
  466. package/lib/design-tokens/ts/tokens/functional/size/size.js +1 -1
  467. package/lib/design-tokens/ts/tokens/functional/size/viewport.d.ts +1 -1
  468. package/lib/design-tokens/ts/tokens/functional/size/viewport.js +1 -1
  469. package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.d.ts +1 -1
  470. package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.js +1 -1
  471. package/lib/design-tokens/ts/tokens/functional/typography/typography.d.ts +1 -1
  472. package/lib/design-tokens/ts/tokens/functional/typography/typography.js +1 -1
  473. package/lib/index.js +1 -1
  474. package/llms.txt +95 -0
  475. package/package.json +17 -5
  476. package/esm/Hero/Hero.figma.d.ts +0 -2
  477. package/esm/Hero/Hero.figma.d.ts.map +0 -1
  478. package/esm/IDE/fixtures/content.d.ts +0 -7
  479. package/esm/IDE/fixtures/content.d.ts.map +0 -1
  480. package/esm/LogoSuite/LogoSuite.figma.d.ts +0 -2
  481. package/esm/LogoSuite/LogoSuite.figma.d.ts.map +0 -1
  482. package/esm/LogoSuite/LogoSuite.fixtures.d.ts +0 -2
  483. package/esm/LogoSuite/LogoSuite.fixtures.d.ts.map +0 -1
  484. package/esm/MonaSans/MonaSans.d.ts +0 -11
  485. package/esm/MonaSans/MonaSans.d.ts.map +0 -1
  486. package/esm/MonaSans/index.d.ts +0 -2
  487. package/esm/MonaSans/index.d.ts.map +0 -1
  488. package/esm/PricingOptions/PricingOptions.figma.d.ts +0 -2
  489. package/esm/PricingOptions/PricingOptions.figma.d.ts.map +0 -1
  490. package/esm/Tiles/Tiles.fixtures.d.ts +0 -7
  491. package/esm/Tiles/Tiles.fixtures.d.ts.map +0 -1
  492. package/esm/fixtures/third-party-logos/AzureLogo.d.ts +0 -5
  493. package/esm/fixtures/third-party-logos/AzureLogo.d.ts.map +0 -1
  494. package/esm/fixtures/third-party-logos/JetBrainsLogo.d.ts +0 -5
  495. package/esm/fixtures/third-party-logos/JetBrainsLogo.d.ts.map +0 -1
  496. package/esm/fixtures/third-party-logos/MicrosoftCopilotLogo.d.ts +0 -5
  497. package/esm/fixtures/third-party-logos/MicrosoftCopilotLogo.d.ts.map +0 -1
  498. package/esm/fixtures/third-party-logos/MicrosoftLogo.d.ts +0 -5
  499. package/esm/fixtures/third-party-logos/MicrosoftLogo.d.ts.map +0 -1
  500. package/esm/fixtures/third-party-logos/NeoVimLogo.d.ts +0 -5
  501. package/esm/fixtures/third-party-logos/NeoVimLogo.d.ts.map +0 -1
  502. package/esm/fixtures/third-party-logos/VisualStudioCodeLogo.d.ts +0 -5
  503. package/esm/fixtures/third-party-logos/VisualStudioCodeLogo.d.ts.map +0 -1
  504. package/esm/fixtures/third-party-logos/VisualStudioLogo.d.ts +0 -5
  505. package/esm/fixtures/third-party-logos/VisualStudioLogo.d.ts.map +0 -1
  506. package/esm/list/ListItem/index.d.ts +0 -2
  507. package/esm/list/ListItem/index.d.ts.map +0 -1
  508. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOne.d.ts +0 -13
  509. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOne.d.ts.map +0 -1
  510. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOneSideBySide.d.ts +0 -14
  511. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOneSideBySide.d.ts.map +0 -1
  512. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/components/FormExample.d.ts +0 -8
  513. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/components/FormExample.d.ts.map +0 -1
  514. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/index.d.ts +0 -2
  515. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/index.d.ts.map +0 -1
  516. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/FeaturePreviewLevelTwo.d.ts +0 -49
  517. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/FeaturePreviewLevelTwo.d.ts.map +0 -1
  518. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/index.d.ts +0 -2
  519. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/index.d.ts.map +0 -1
  520. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/FeaturePreviewLevelZero.d.ts +0 -17
  521. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/FeaturePreviewLevelZero.d.ts.map +0 -1
  522. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/index.d.ts +0 -2
  523. package/esm/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/index.d.ts.map +0 -1
  524. package/esm/recipes/FeaturePreviewLPs/helpers.d.ts +0 -30
  525. package/esm/recipes/FeaturePreviewLPs/helpers.d.ts.map +0 -1
  526. package/esm/recipes/FlexTemplate/FlexSection/FlexSection.d.ts +0 -8
  527. package/esm/recipes/FlexTemplate/FlexSection/FlexSection.d.ts.map +0 -1
  528. package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiver.d.ts +0 -2
  529. package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiver.d.ts.map +0 -1
  530. package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiverAccordion.d.ts +0 -8
  531. package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiverAccordion.d.ts.map +0 -1
  532. package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiverBreakout.d.ts +0 -2
  533. package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulRiverBreakout.d.ts.map +0 -1
  534. package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulTestimonials.d.ts +0 -8
  535. package/esm/recipes/FlexTemplate/FlexSection/components/ContentfulTestimonials.d.ts.map +0 -1
  536. package/esm/recipes/FlexTemplate/FlexSection/components/FlexSectionTestimonials.d.ts +0 -8
  537. package/esm/recipes/FlexTemplate/FlexSection/components/FlexSectionTestimonials.d.ts.map +0 -1
  538. package/esm/recipes/FlexTemplate/FlexSection/components/index.d.ts +0 -6
  539. package/esm/recipes/FlexTemplate/FlexSection/components/index.d.ts.map +0 -1
  540. package/esm/recipes/FlexTemplate/FlexSection/index.d.ts +0 -2
  541. package/esm/recipes/FlexTemplate/FlexSection/index.d.ts.map +0 -1
  542. package/esm/recipes/FlexTemplate/FlexTemplate.d.ts +0 -7
  543. package/esm/recipes/FlexTemplate/FlexTemplate.d.ts.map +0 -1
  544. package/esm/recipes/FlexTemplate/FlexTemplate.types.d.ts +0 -318
  545. package/esm/recipes/FlexTemplate/FlexTemplate.types.d.ts.map +0 -1
  546. package/esm/recipes/FlexTemplate/FlexTemplateTrailingSection/FlexTemplateTrailingSection.d.ts +0 -6
  547. package/esm/recipes/FlexTemplate/FlexTemplateTrailingSection/FlexTemplateTrailingSection.d.ts.map +0 -1
  548. package/esm/recipes/FlexTemplate/FlexTemplateTrailingSection/index.d.ts +0 -3
  549. package/esm/recipes/FlexTemplate/FlexTemplateTrailingSection/index.d.ts.map +0 -1
  550. package/esm/recipes/FlexTemplate/fixtures/content.d.ts +0 -2
  551. package/esm/recipes/FlexTemplate/fixtures/content.d.ts.map +0 -1
  552. package/esm/recipes/FlexTemplate/index.d.ts +0 -4
  553. package/esm/recipes/FlexTemplate/index.d.ts.map +0 -1
  554. package/esm/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.content.d.ts +0 -68
  555. package/esm/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.content.d.ts.map +0 -1
  556. package/esm/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.d.ts +0 -7
  557. package/esm/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.d.ts.map +0 -1
  558. package/esm/recipes/Flexsuite/Category/index.d.ts +0 -2
  559. package/esm/recipes/Flexsuite/Category/index.d.ts.map +0 -1
  560. package/esm/recipes/Flexsuite/Details/FlexSuiteAIDetailsPlaylist/FlexSuiteAIDetailsPlaylist.content.d.ts +0 -49
  561. package/esm/recipes/Flexsuite/Details/FlexSuiteAIDetailsPlaylist/FlexSuiteAIDetailsPlaylist.content.d.ts.map +0 -1
  562. package/esm/recipes/Flexsuite/Details/FlexSuiteAIDetailsPlaylist/FlexSuiteAIDetailsPlaylist.d.ts +0 -7
  563. package/esm/recipes/Flexsuite/Details/FlexSuiteAIDetailsPlaylist/FlexSuiteAIDetailsPlaylist.d.ts.map +0 -1
  564. package/esm/recipes/Flexsuite/Details/index.d.ts +0 -4
  565. package/esm/recipes/Flexsuite/Details/index.d.ts.map +0 -1
  566. package/esm/recipes/Flexsuite/Overview/FlexSuiteAIOverview.content.d.ts +0 -101
  567. package/esm/recipes/Flexsuite/Overview/FlexSuiteAIOverview.content.d.ts.map +0 -1
  568. package/esm/recipes/Flexsuite/Overview/FlexSuiteAIOverview.d.ts +0 -7
  569. package/esm/recipes/Flexsuite/Overview/FlexSuiteAIOverview.d.ts.map +0 -1
  570. package/esm/recipes/Flexsuite/Overview/FlexSuiteOverview.content.d.ts +0 -5
  571. package/esm/recipes/Flexsuite/Overview/FlexSuiteOverview.content.d.ts.map +0 -1
  572. package/esm/recipes/Flexsuite/Overview/index.d.ts +0 -4
  573. package/esm/recipes/Flexsuite/Overview/index.d.ts.map +0 -1
  574. package/esm/recipes/SolutionTemplates/CategoryPage/CategoryPage.d.ts +0 -16
  575. package/esm/recipes/SolutionTemplates/CategoryPage/CategoryPage.d.ts.map +0 -1
  576. package/esm/recipes/SolutionTemplates/SolutionPage/SolutionPage.d.ts +0 -33
  577. package/esm/recipes/SolutionTemplates/SolutionPage/SolutionPage.d.ts.map +0 -1
  578. package/esm/recipes/SolutionTemplates/SolutionPage/index.d.ts +0 -2
  579. package/esm/recipes/SolutionTemplates/SolutionPage/index.d.ts.map +0 -1
  580. package/esm/recipes/SolutionTemplates/SolutionsOverview/SolutionsOverview.d.ts +0 -17
  581. package/esm/recipes/SolutionTemplates/SolutionsOverview/SolutionsOverview.d.ts.map +0 -1
  582. package/esm/recipes/SolutionTemplates/helpers.d.ts +0 -127
  583. package/esm/recipes/SolutionTemplates/helpers.d.ts.map +0 -1
  584. package/esm/recipes/SolutionTemplates/index.d.ts +0 -1
  585. package/esm/recipes/SolutionTemplates/index.d.ts.map +0 -1
  586. package/esm/recipes/seo/Article/Article.d.ts +0 -14
  587. package/esm/recipes/seo/Article/Article.d.ts.map +0 -1
  588. package/esm/recipes/seo/Article/ArticleToC.d.ts +0 -4
  589. package/esm/recipes/seo/Article/ArticleToC.d.ts.map +0 -1
  590. package/esm/recipes/seo/Article/article-shared.d.ts +0 -5
  591. package/esm/recipes/seo/Article/article-shared.d.ts.map +0 -1
  592. package/esm/recipes/seo/Article/index.d.ts +0 -2
  593. package/esm/recipes/seo/Article/index.d.ts.map +0 -1
  594. package/esm/recipes/seo/Category/CategoryPage.d.ts +0 -9
  595. package/esm/recipes/seo/Category/CategoryPage.d.ts.map +0 -1
  596. package/esm/recipes/seo/Category/index.d.ts +0 -2
  597. package/esm/recipes/seo/Category/index.d.ts.map +0 -1
  598. package/esm/recipes/seo/helpers.d.ts +0 -16
  599. package/esm/recipes/seo/helpers.d.ts.map +0 -1
  600. package/esm/recipes/seo/index.d.ts +0 -1
  601. package/esm/recipes/seo/index.d.ts.map +0 -1
  602. package/esm/river/River.figma.d.ts +0 -2
  603. package/esm/river/River.figma.d.ts.map +0 -1
  604. package/lib/Hero/Hero.figma.d.ts +0 -1
  605. package/lib/IDE/fixtures/content.d.ts +0 -6
  606. package/lib/LogoSuite/LogoSuite.figma.d.ts +0 -1
  607. package/lib/LogoSuite/LogoSuite.fixtures.d.ts +0 -1
  608. package/lib/MonaSans/MonaSans.d.ts +0 -10
  609. package/lib/MonaSans/index.d.ts +0 -1
  610. package/lib/PricingOptions/PricingOptions.figma.d.ts +0 -1
  611. package/lib/Tiles/Tiles.fixtures.d.ts +0 -6
  612. package/lib/fixtures/third-party-logos/AzureLogo.d.ts +0 -4
  613. package/lib/fixtures/third-party-logos/JetBrainsLogo.d.ts +0 -4
  614. package/lib/fixtures/third-party-logos/MicrosoftCopilotLogo.d.ts +0 -4
  615. package/lib/fixtures/third-party-logos/MicrosoftLogo.d.ts +0 -4
  616. package/lib/fixtures/third-party-logos/NeoVimLogo.d.ts +0 -4
  617. package/lib/fixtures/third-party-logos/VisualStudioCodeLogo.d.ts +0 -4
  618. package/lib/fixtures/third-party-logos/VisualStudioLogo.d.ts +0 -4
  619. package/lib/index.esm.d.ts +0 -7
  620. package/lib/list/ListItem/index.d.ts +0 -1
  621. package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOne.d.ts +0 -12
  622. package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOneSideBySide.d.ts +0 -13
  623. package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/components/FormExample.d.ts +0 -7
  624. package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/index.d.ts +0 -1
  625. package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/FeaturePreviewLevelTwo.d.ts +0 -48
  626. package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/index.d.ts +0 -1
  627. package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/FeaturePreviewLevelZero.d.ts +0 -16
  628. package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/index.d.ts +0 -1
  629. package/lib/recipes/FeaturePreviewLPs/helpers.d.ts +0 -29
  630. package/lib/recipes/FlexTemplate/FlexSection/FlexSection.d.ts +0 -7
  631. package/lib/recipes/FlexTemplate/FlexSection/components/ContentfulRiver.d.ts +0 -1
  632. package/lib/recipes/FlexTemplate/FlexSection/components/ContentfulRiverAccordion.d.ts +0 -7
  633. package/lib/recipes/FlexTemplate/FlexSection/components/ContentfulRiverBreakout.d.ts +0 -1
  634. package/lib/recipes/FlexTemplate/FlexSection/components/ContentfulTestimonials.d.ts +0 -7
  635. package/lib/recipes/FlexTemplate/FlexSection/components/FlexSectionTestimonials.d.ts +0 -7
  636. package/lib/recipes/FlexTemplate/FlexSection/components/index.d.ts +0 -5
  637. package/lib/recipes/FlexTemplate/FlexSection/index.d.ts +0 -1
  638. package/lib/recipes/FlexTemplate/FlexTemplate.d.ts +0 -6
  639. package/lib/recipes/FlexTemplate/FlexTemplate.types.d.ts +0 -317
  640. package/lib/recipes/FlexTemplate/FlexTemplateTrailingSection/FlexTemplateTrailingSection.d.ts +0 -5
  641. package/lib/recipes/FlexTemplate/FlexTemplateTrailingSection/index.d.ts +0 -2
  642. package/lib/recipes/FlexTemplate/fixtures/content.d.ts +0 -1
  643. package/lib/recipes/FlexTemplate/index.d.ts +0 -3
  644. package/lib/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.content.d.ts +0 -67
  645. package/lib/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.d.ts +0 -6
  646. package/lib/recipes/Flexsuite/Category/index.d.ts +0 -1
  647. package/lib/recipes/Flexsuite/Details/FlexSuiteAIDetailsPlaylist/FlexSuiteAIDetailsPlaylist.content.d.ts +0 -48
  648. package/lib/recipes/Flexsuite/Details/FlexSuiteAIDetailsPlaylist/FlexSuiteAIDetailsPlaylist.d.ts +0 -6
  649. package/lib/recipes/Flexsuite/Details/index.d.ts +0 -3
  650. package/lib/recipes/Flexsuite/Overview/FlexSuiteAIOverview.content.d.ts +0 -100
  651. package/lib/recipes/Flexsuite/Overview/FlexSuiteAIOverview.d.ts +0 -6
  652. package/lib/recipes/Flexsuite/Overview/FlexSuiteOverview.content.d.ts +0 -4
  653. package/lib/recipes/Flexsuite/Overview/index.d.ts +0 -3
  654. package/lib/recipes/SolutionTemplates/CategoryPage/CategoryPage.d.ts +0 -15
  655. package/lib/recipes/SolutionTemplates/SolutionPage/SolutionPage.d.ts +0 -32
  656. package/lib/recipes/SolutionTemplates/SolutionPage/index.d.ts +0 -1
  657. package/lib/recipes/SolutionTemplates/SolutionsOverview/SolutionsOverview.d.ts +0 -16
  658. package/lib/recipes/SolutionTemplates/helpers.d.ts +0 -126
  659. package/lib/recipes/SolutionTemplates/index.d.ts +0 -0
  660. package/lib/recipes/seo/Article/Article.d.ts +0 -13
  661. package/lib/recipes/seo/Article/ArticleToC.d.ts +0 -3
  662. package/lib/recipes/seo/Article/article-shared.d.ts +0 -4
  663. package/lib/recipes/seo/Article/index.d.ts +0 -1
  664. package/lib/recipes/seo/Category/CategoryPage.d.ts +0 -8
  665. package/lib/recipes/seo/Category/index.d.ts +0 -1
  666. package/lib/recipes/seo/helpers.d.ts +0 -15
  667. package/lib/recipes/seo/index.d.ts +0 -0
  668. package/lib/river/River.figma.d.ts +0 -1
@@ -0,0 +1,240 @@
1
+ ---
2
+ title: Card
3
+ description: Use the card component to display information in a compact way and link to other internal pages.
4
+ keywords: ['card', 'link', 'summary', 'content', 'information']
5
+ ready: true
6
+ source: https://github.com/primer/brand/blob/main/packages/react/src/Card/Card.tsx
7
+ storybook: '/brand/storybook/?path=/story/components-card--playground'
8
+ a11yReviewed: true
9
+ ---
10
+
11
+ ```js
12
+ import {Avatar, Box, Card, Grid, Token} from '@primer/react-brand'
13
+ ```
14
+
15
+ ## Examples
16
+
17
+ ### Default
18
+
19
+ The default card displays a heading and description. The link text defaults to `Learn more`, but can be customized using the `ctaText` prop.
20
+
21
+ ```jsx
22
+ <Card href="https://github.com">
23
+ <Card.Heading>Collaboration is the key to DevOps success</Card.Heading>
24
+ <Card.Description>Everything you need to know about getting started with GitHub Actions.</Card.Description>
25
+ </Card>
26
+ ```
27
+
28
+ ### Minimal
29
+
30
+ The `minimal` card variant applies alternative presentation to the default card.
31
+
32
+ ```jsx
33
+ <Card href="https://github.com" variant="minimal">
34
+ <Card.Heading>Collaboration is the key to DevOps success</Card.Heading>
35
+ <Card.Description>Everything you need to know about getting started with GitHub Actions.</Card.Description>
36
+ </Card>
37
+ ```
38
+
39
+ ### CTA text
40
+
41
+ The call to action text defaults to `Learn more` and can be customized using the `ctaText` property.
42
+
43
+ ```jsx
44
+ <Card ctaText="Discover how" href="https://github.com">
45
+ <Card.Heading>Collaboration is the key to DevOps success</Card.Heading>
46
+ <Card.Description>Everything you need to know about getting started with GitHub Actions.</Card.Description>
47
+ </Card>
48
+ ```
49
+
50
+ Use `ctaVariant="none"` when the card should remain fully clickable without visible CTA text or arrow.
51
+
52
+ ```jsx
53
+ <Card href="https://github.com" ctaVariant="none">
54
+ <Card.Heading>Collaboration is the key to DevOps success</Card.Heading>
55
+ <Card.Description>Everything you need to know about getting started with GitHub Actions.</Card.Description>
56
+ </Card>
57
+ ```
58
+
59
+ ### Arrow CTA
60
+
61
+ Use `ctaVariant="arrow"` when the card should present an icon-only call to action instead of the default text-plus-arrow treatment.
62
+
63
+ ```jsx
64
+ <Card href="https://github.com" ctaVariant="arrow">
65
+ <Card.Heading>Collaboration is the key to DevOps success</Card.Heading>
66
+ <Card.Description>Everything you need to know about getting started with GitHub Actions.</Card.Description>
67
+ </Card>
68
+ ```
69
+
70
+ ### Border
71
+
72
+ A border can be provided using the `hasBorder` prop. This will render a border around the Card component giving further separation between the foreground and background. Especially when there is no shadow present on the background.
73
+
74
+ ```jsx
75
+ <Card href="https://github.com" hasBorder>
76
+ <Card.Heading>Code search & code view</Card.Heading>
77
+ <Card.Description>
78
+ Enables you to rapidly search, navigate, and understand code, right from GitHub.com.
79
+ </Card.Description>
80
+ </Card>
81
+ ```
82
+
83
+ ### Icon
84
+
85
+ You can add an `icon` to enhance the visual context. We recommend using an [Octicon](https://primer.style/design/foundations/icons). The `Icon` can be customized using the `color` prop and used with or without a background color by using the `hasBackground` prop.
86
+ Use `Card.Tokens` to display one or more [Token](../Token/index.md) components below the description. The heading and description still render before the tokens in the DOM, so the reading order stays aligned with the visual order.
87
+
88
+ ```jsx
89
+ <Card href="https://github.com">
90
+ <Card.Icon icon={CopilotIcon} hasBackground />
91
+ <Card.Heading>Code search & code view</Card.Heading>
92
+ <Card.Description>
93
+ Enables you to rapidly search, navigate, and understand code, right from GitHub.com.
94
+ </Card.Description>
95
+ </Card>
96
+ ```
97
+
98
+ ### Label
99
+
100
+ Use `Card.Label` to display a short label above the heading. It renders a `Token` by default. Use
101
+ `variant="accent-text"` for eyebrow-style copy.
102
+
103
+ ```jsx
104
+ <Card href="https://github.com" ctaVariant="arrow">
105
+ <Card.Label>GitHub Copilot</Card.Label>
106
+ <Card.Heading>Bring the power of generative AI to engineering teams.</Card.Heading>
107
+ <Card.Description>Prioritize speed, depth, or cost by picking the industry-leading model for you.</Card.Description>
108
+ </Card>
109
+ ```
110
+
111
+ ```jsx
112
+ <Card href="https://github.com" ctaVariant="arrow">
113
+ <Card.Label variant="accent-text">GitHub Copilot</Card.Label>
114
+ <Card.Heading>Bring the power of generative AI to engineering teams.</Card.Heading>
115
+ <Card.Description>Prioritize speed, depth, or cost by picking the industry-leading model for you.</Card.Description>
116
+ </Card>
117
+ ```
118
+
119
+ ### Image
120
+
121
+ Use the `Image` component to add an image to the `Card`. The `Image` component is optional and provides a visual context to the `Card`.
122
+
123
+ ```jsx
124
+ <>
125
+ <Card href="https://github.com">
126
+ <Card.Image src="/images/placeholder.png" alt="placeholder, blank area with an gray background color" />
127
+ <Card.Heading>Code search & code view</Card.Heading>
128
+ <Card.Description>
129
+ Enables you to rapidly search, navigate, and understand code, right from GitHub.com.
130
+ </Card.Description>
131
+ </Card>
132
+ <Card href="https://github.com">
133
+ <Card.Image
134
+ position="block-end"
135
+ src="/images/placeholder.png"
136
+ alt="placeholder, blank area with an gray background color"
137
+ />
138
+ <Card.Heading>Code search & code view</Card.Heading>
139
+ <Card.Description>
140
+ Enables you to rapidly search, navigate, and understand code, right from GitHub.com.
141
+ </Card.Description>
142
+ </Card>
143
+ </>
144
+ ```
145
+
146
+ ### Tokens
147
+
148
+ Use `Card.Tokens` to display more than one [Token](../Token/index.md).
149
+
150
+ ```jsx
151
+ <>
152
+ <Card href="https://github.com">
153
+ <Card.Image src="/images/placeholder-1.png" alt="Abstract blue and green gradient illustration" />
154
+ <Card.Heading>Leading tokens</Card.Heading>
155
+ <Card.Description>
156
+ Today, we&apos;re shipping improvements to Dependabot alerts that make them easier to understand and remediate.
157
+ </Card.Description>
158
+ <Card.Tokens position="block-end">
159
+ <Token leadingVisual={<Avatar src="/images/avatar-mona.png" alt="Mona Lisa" size={32} />}>Mona Lisa</Token>
160
+ <Token variant="outline">DEC.25</Token>
161
+ </Card.Tokens>
162
+ </Card>
163
+ <Card href="https://github.com">
164
+ <Card.Image src="/images/placeholder-2.png" alt="Abstract blue and green gradient illustration" />
165
+ <Card.Tokens>
166
+ <Token leadingVisual={<Avatar src="/images/avatar-mona.png" alt="Mona Lisa" size={32} />}>Mona Lisa</Token>
167
+ <Token variant="outline">DEC.25</Token>
168
+ </Card.Tokens>
169
+ <Card.Heading>Trailing tokens</Card.Heading>
170
+ <Card.Description>
171
+ Today, we&apos;re shipping improvements to Dependabot alerts that make them easier to understand and remediate.
172
+ </Card.Description>
173
+ </Card>
174
+ </>
175
+ ```
176
+
177
+ ## Component props
178
+
179
+ ### Card `Required`
180
+
181
+ | name | type | default | required | description |
182
+ | ------------------ | --------------------------------- | ------------ | -------- | ---------------------------------------------------------------- |
183
+ | `align` | | `'start'` | `false` | Aligns the card content |
184
+ | `backgroundColor` | `'default' \| 'subtle' \| 'none'` | `'default'` | `false` | Optional background color override for the card |
185
+ | `ctaText` | `string` | `Learn more` | `false` | Label of the link at the bottom of the card |
186
+ | `ctaVariant` | `'text' \| 'arrow' \| 'none'` | `'text'` | `false` | Presentation of the call-to-action area |
187
+ | `disableAnimation` | `boolean` | `false` | `false` | A flag to disable the default hover animation effect of the card |
188
+ | `fullWidth` | `boolean` | `false` | `false` | A flag to optionally fill the width of the parent container |
189
+ | `hasBorder` | `boolean` | `false` | `false` | A flag used to provide a border to the card |
190
+ | `href` | `string` | | `true` | URL to the card content |
191
+ | `leadingVisual` | `ReactElement` | | `false` | Logo or brand mark shown above the card content |
192
+ | `variant` | `'default' \| 'minimal'` | `'default'` | `false` | The variant of the card |
193
+
194
+ ### Card.Image
195
+
196
+ Forwards all the props from the [Image component](../Image/index.md), including `src`, `alt`, and `aspectRatio`.
197
+
198
+ ### Card.Icon
199
+
200
+ | name | type | default | required | description |
201
+ | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------- | -------- | -------------------------------------------- |
202
+ | `icon` | `React.Node` | | `true` | Octicon |
203
+ | `color` | `'default' \| 'subtle' \| 'accent' \| 'success' \| 'attention' \| 'severe' \| 'danger' \| 'open' \| 'closed' \| 'done' \| 'sponsors' \| 'blue' \| 'green' \| 'yellow' \| 'orange' \| 'red' \| 'purple' \| 'pink' \| 'coral' \| 'lime' \| 'indigo' \| 'teal'` | `default` | `false` | The color of the icon |
204
+ | `hasBackground` | `boolean` | `false` | `false` | Adds a filled colored background to the icon |
205
+
206
+ ### Card.Label
207
+
208
+ | name | type | default | required | description |
209
+ | ---------- | -------------------------- | ------- | -------- | ------------------------------------------- |
210
+ | `children` | `ReactNode`, `ReactNode[]` | | `true` | Label content rendered above the heading |
211
+ | `variant` | `'token' \| 'accent-text'` | `token` | `false` | Presentation of the label above the heading |
212
+
213
+ Forwards common span props such as `className`, `id`, and `ref`. `variant="token"` renders a
214
+ [Token](../Token/index.md), and `variant="accent-text"` renders EyebrowText
215
+ with its accent presentation.
216
+
217
+ ### Card.Tokens
218
+
219
+ | name | type | default | required | description |
220
+ | ---------- | ------------------------------ | ------------- | -------- | -------------------------------------------------------------- |
221
+ | `children` | `ReactNode`, `ReactNode[]` | | `true` | Tokens rendered inside the card |
222
+ | `position` | `'block-start' \| 'block-end'` | `block-start` | `false` | Places tokens at block-start or block-end relative to the copy |
223
+
224
+ ### Card.Heading
225
+
226
+ | name | type | default | required | description |
227
+ | ----------- | -------------------------------------- | ----------- | -------- | ---------------------------------------------------- |
228
+ | `as` | `'h2' \| 'h3' \| 'h4' \| 'h5' \| 'h6'` | `h3` | `false` | The HTML tag to use for the heading |
229
+ | `className` | `string` | | `false` | Custom class name for the heading component |
230
+ | `children` | `ReactNode`, `ReactNode[]` | `undefined` | `true` | Content to be displayed inside the heading component |
231
+
232
+ Forwards all the props from the [Heading component](../../typography/Heading/index.md), including `as`, `size`, and `weight`.
233
+
234
+ ### Card.Description
235
+
236
+ | name | type | default | required | description |
237
+ | ---------- | -------------------------- | ----------- | -------- | ------------------------------------------------- |
238
+ | `children` | `ReactNode`, `ReactNode[]` | `undefined` | `true` | Content to be displayed inside the card component |
239
+
240
+ `id`, `className` and `ref` are forwarded by default to all children.
@@ -0,0 +1,381 @@
1
+ ---
2
+ title: Comparison table
3
+ ready: true
4
+ figma: https://www.figma.com/file/BJ95AjraesmRCWsKA013GS/Primer-Brand?node-id=375%3A8130
5
+ source: https://github.com/primer/brand/blob/main/packages/react/src/ComparisonTable/ComparisonTable.tsx
6
+ storybook: '/brand/storybook/?path=/story/components-comparisontable--playground'
7
+ description: Use the comparison table component to compare two products or features in a table format.
8
+ ---
9
+
10
+ ```js
11
+ import {ComparisonTable} from '@primer/react-brand'
12
+ ```
13
+
14
+ ## Examples
15
+
16
+ ### Default
17
+
18
+ ```jsx
19
+ <ComparisonTable>
20
+ <ComparisonTable.Row>
21
+ <ComparisonTable.Cell>Use case</ComparisonTable.Cell>
22
+ <ComparisonTable.Cell>GitHub</ComparisonTable.Cell>
23
+ <ComparisonTable.Cell>Jenkins</ComparisonTable.Cell>
24
+ </ComparisonTable.Row>
25
+ <ComparisonTable.Row>
26
+ <ComparisonTable.Cell>Automation & CI/CD</ComparisonTable.Cell>
27
+ <ComparisonTable.Cell>
28
+ <Text as="p" size="300">
29
+ Comparable native core capabilities
30
+ </Text>
31
+ <Text as="p" size="300">
32
+ <a href="https://github.com">Over 13,000 GitHub Actions are available</a> in the GitHub Marketplace to automate
33
+ your development workflow.
34
+ </Text>
35
+ </ComparisonTable.Cell>
36
+ <ComparisonTable.Cell>
37
+ <Text as="p" size="300">
38
+ Comparable native capabilities
39
+ </Text>
40
+ <Text as="p" size="300">
41
+ 1,800+ community contributed Jenkins plugins <a href="https://github.com">in Jenkins Plugin Marketplace.</a>
42
+ </Text>
43
+ </ComparisonTable.Cell>
44
+ </ComparisonTable.Row>
45
+ <ComparisonTable.Row>
46
+ <ComparisonTable.Cell>Deployment models</ComparisonTable.Cell>
47
+ <ComparisonTable.Cell>Cloud or self-hosted</ComparisonTable.Cell>
48
+ <ComparisonTable.Cell>
49
+ <Text as="p" size="300">
50
+ Self-hosted only
51
+ </Text>
52
+ <Text as="p" size="300">
53
+ CloudBees is the cloud alternative
54
+ </Text>
55
+ </ComparisonTable.Cell>
56
+ </ComparisonTable.Row>
57
+ <ComparisonTable.Footnote>
58
+ *** This is a biased overview of capabilities by use case, based on publicly available information as of 2022-05-16.
59
+ </ComparisonTable.Footnote>
60
+ </ComparisonTable>
61
+ ```
62
+
63
+ ### Optional heading
64
+
65
+ A heading can be provided using the `heading` prop on the root `<ComparisonTable>`. This will render a heading at an appropriate size relative to the table, and present it accordingly.
66
+
67
+ For granular control over heading markup or appearance, we recommend using [`Heading`](../../typography/Heading/index.md).
68
+
69
+ ```jsx
70
+ <ComparisonTable heading="GitHub vs Jenkins">
71
+ <ComparisonTable.Row>
72
+ <ComparisonTable.Cell>Use case</ComparisonTable.Cell>
73
+ <ComparisonTable.Cell>GitHub</ComparisonTable.Cell>
74
+ <ComparisonTable.Cell>Jenkins</ComparisonTable.Cell>
75
+ </ComparisonTable.Row>
76
+ <ComparisonTable.Row>
77
+ <ComparisonTable.Cell>Automation & CI/CD</ComparisonTable.Cell>
78
+ <ComparisonTable.Cell>
79
+ <Text as="p" size="300">
80
+ Comparable native core capabilities
81
+ </Text>
82
+ <Text as="p" size="300">
83
+ <a href="https://github.com">Over 13,000 GitHub Actions are available</a> in the GitHub Marketplace to automate
84
+ your development workflow.
85
+ </Text>
86
+ </ComparisonTable.Cell>
87
+ <ComparisonTable.Cell>
88
+ <Text as="p" size="300">
89
+ Comparable native capabilities
90
+ </Text>
91
+ <Text as="p" size="300">
92
+ 1,800+ community contributed Jenkins plugins <a href="https://github.com">in Jenkins Plugin Marketplace.</a>
93
+ </Text>
94
+ </ComparisonTable.Cell>
95
+ </ComparisonTable.Row>
96
+ <ComparisonTable.Row>
97
+ <ComparisonTable.Cell>Deployment models</ComparisonTable.Cell>
98
+ <ComparisonTable.Cell>Cloud or self-hosted</ComparisonTable.Cell>
99
+ <ComparisonTable.Cell>
100
+ <Text as="p" size="300">
101
+ Self-hosted only
102
+ </Text>
103
+ <Text as="p" size="300">
104
+ CloudBees is the cloud alternative
105
+ </Text>
106
+ </ComparisonTable.Cell>
107
+ </ComparisonTable.Row>
108
+ <ComparisonTable.Footnote>
109
+ *** This is a biased overview of capabilities by use case, based on publicly available information as of 2022-05-16.
110
+ </ComparisonTable.Footnote>
111
+ </ComparisonTable>
112
+ ```
113
+
114
+ ### Featured columns
115
+
116
+ By default, the first data column will be marked as `featured`. This is to draw attention to a particular product as the basis of a comparison against adjacent columns.
117
+
118
+ Featured columns will have the visually-hidden text `featured` appended to their column title. This text is used to identify the featured column to screen reader users and can be customized using the `visuallyHiddenFeaturedLabel` prop.
119
+
120
+ Use `featuredColumn` to alternate the highlighted column if needed.
121
+
122
+ #### Color customization
123
+
124
+ The default colors can be customized through dedicated CSS variables.
125
+
126
+ | Name | Default |
127
+ | :--------------------------------------------- | :---------------------------- |
128
+ | `--brand-ComparisonTable-featured-color-start` | `--base-color-scale-pink-4` |
129
+ | `--brand-ComparisonTable-featured-color-end` | `--base-color-scale-indigo-5` |
130
+
131
+ ```jsx filename="noinline"
132
+ const App = () => {
133
+ const designTokenOverrides = `
134
+ .custom-colors[data-color-mode='dark'] {
135
+
136
+ /*
137
+ * Modify the value of these tokens.
138
+ * Remember to apply light mode equivalents if you're enabling theme switching.
139
+ */
140
+ --brand-ComparisonTable-featured-color-start: var(--base-color-scale-green-2);
141
+ --brand-ComparisonTable-featured-color-end: var(--base-color-scale-blue-3);
142
+
143
+ /*
144
+ * For example only
145
+ */
146
+ padding: 3rem;
147
+ background-color: var(--brand-color-canvas-default);
148
+ }
149
+
150
+ .custom-heading {
151
+ background: linear-gradient(271.72deg, var(--brand-ComparisonTable-featured-color-end) 7.09%, var(--brand-ComparisonTable-featured-color-start) 96.61%);
152
+ -webkit-background-clip: text;
153
+ background-clip: text;
154
+ -webkit-text-fill-color: transparent;
155
+ text-align: center;
156
+ margin-bottom: var(--base-size-32);
157
+ }
158
+ `
159
+
160
+ return (
161
+ <ThemeProvider colorMode="dark" className="custom-colors">
162
+ <style>{designTokenOverrides}</style>
163
+ <Heading as="h3" className="custom-heading">
164
+ GitHub vs Jenkins
165
+ </Heading>
166
+ <ComparisonTable>
167
+ <ComparisonTable.Row>
168
+ <ComparisonTable.Cell>Use case</ComparisonTable.Cell>
169
+ <ComparisonTable.Cell>GitHub</ComparisonTable.Cell>
170
+ <ComparisonTable.Cell>Jenkins</ComparisonTable.Cell>
171
+ </ComparisonTable.Row>
172
+ <ComparisonTable.Row>
173
+ <ComparisonTable.Cell>Automation & CI/CD</ComparisonTable.Cell>
174
+ <ComparisonTable.Cell>
175
+ <Text as="p" size="300">
176
+ Comparable native core capabilities
177
+ </Text>
178
+ <Text as="p" size="300">
179
+ Over 13,000 GitHub Actions are available in the GitHub Marketplace to automate your development workflow.
180
+ </Text>
181
+ </ComparisonTable.Cell>
182
+ <ComparisonTable.Cell>
183
+ <Text as="p" size="300">
184
+ Comparable native capabilities
185
+ </Text>
186
+ <Text as="p" size="300">
187
+ 1,800+ community contributed Jenkins plugins in Jenkins Plugin Marketplace.
188
+ </Text>
189
+ </ComparisonTable.Cell>
190
+ </ComparisonTable.Row>
191
+ <ComparisonTable.Row>
192
+ <ComparisonTable.Cell>Deployment models</ComparisonTable.Cell>
193
+ <ComparisonTable.Cell>Cloud or self-hosted</ComparisonTable.Cell>
194
+ <ComparisonTable.Cell>
195
+ <Text as="p" size="300">
196
+ Self-hosted only
197
+ </Text>
198
+ <Text as="p" size="300">
199
+ CloudBees is the cloud alternative
200
+ </Text>
201
+ </ComparisonTable.Cell>
202
+ </ComparisonTable.Row>
203
+ <ComparisonTable.Footnote>
204
+ *** This is a biased overview of capabilities by use case, based on publicly available information as of
205
+ 2022-05-16.
206
+ </ComparisonTable.Footnote>
207
+ </ComparisonTable>
208
+ </ThemeProvider>
209
+ )
210
+ }
211
+
212
+ render(<App />)
213
+ ```
214
+
215
+ ### Dynamic data
216
+
217
+ Comparison tables are typically generated using data from an API or content management system.
218
+
219
+ `ComparisonTable` accepts `ReactNode` as a valid child, to facilitate conditional and dynamic rendering.
220
+
221
+ ```jsx filename="noinline"
222
+ const App = () => {
223
+ const comparisonTableData = {
224
+ heading: 'GitHub vs Jenkins',
225
+ footnotes:
226
+ '*** This is a biased overview of capabilities by use case, based on publicly available information as of 2022-05-16.',
227
+ headingLabels: ['', 'GitHub', 'Jenkins'],
228
+ features: [
229
+ {
230
+ label: 'Automation & CI/CD',
231
+ values: [
232
+ {
233
+ name: 'GitHub',
234
+ value:
235
+ 'Over 13,000 GitHub Actions are available in the GitHub Marketplace to automate your development workflow.',
236
+ },
237
+ {
238
+ name: 'Jenkins',
239
+ value: '1,800+ community contributed Jenkins plugins in Jenkins Plugin Marketplace.',
240
+ },
241
+ ],
242
+ },
243
+ {
244
+ label: 'Deployment models',
245
+ values: [
246
+ {
247
+ name: 'GitHub',
248
+ value: 'Cloud or self-hosted',
249
+ },
250
+ {
251
+ name: 'Jenkins',
252
+ value: 'Self-hosted only. CloudBees is the cloud alternative',
253
+ },
254
+ ],
255
+ },
256
+ ],
257
+ }
258
+
259
+ return (
260
+ <ComparisonTable heading={comparisonTableData.heading}>
261
+ <ComparisonTable.Row>
262
+ {comparisonTableData.headingLabels.map(label => (
263
+ <ComparisonTable.Cell key={label}>{label}</ComparisonTable.Cell>
264
+ ))}
265
+ </ComparisonTable.Row>
266
+ {comparisonTableData.features.map(({label, values}) => {
267
+ return (
268
+ <ComparisonTable.Row key={label}>
269
+ <ComparisonTable.Cell key={label}>{label}</ComparisonTable.Cell>
270
+ {values.map(({value, name}) => (
271
+ <ComparisonTable.Cell key={name}>{value}</ComparisonTable.Cell>
272
+ ))}
273
+ </ComparisonTable.Row>
274
+ )
275
+ })}
276
+ <ComparisonTable.Footnote>{comparisonTableData.footnotes}</ComparisonTable.Footnote>
277
+ </ComparisonTable>
278
+ )
279
+ }
280
+
281
+ render(<App />)
282
+ ```
283
+
284
+ ### Minimal layout
285
+
286
+ `ComparisonTable` has an alternative visual presentation mode called `minimal`. This will display the data without the featured columns.
287
+
288
+ This variant is suitable for embedding into long-form content, or in situations where usage of on-screen color needs to be minimized.
289
+
290
+ ```jsx
291
+ <ComparisonTable heading="What is containerization?" variant="minimal">
292
+ <ComparisonTable.Row>
293
+ <ComparisonTable.Cell></ComparisonTable.Cell>
294
+ <ComparisonTable.Cell>Containerization</ComparisonTable.Cell>
295
+ <ComparisonTable.Cell>Virtualization</ComparisonTable.Cell>
296
+ </ComparisonTable.Row>
297
+ <ComparisonTable.Row>
298
+ <ComparisonTable.Cell>Operating system (OS) </ComparisonTable.Cell>
299
+ <ComparisonTable.Cell>
300
+ Containers use the host OS, meaning all containers must be compatible with that OS.
301
+ </ComparisonTable.Cell>
302
+ <ComparisonTable.Cell>
303
+ VMs are effectively separate computers that run their own OS. For example, a VM can run Windows even if the host
304
+ OS is Ubuntu.
305
+ </ComparisonTable.Cell>
306
+ </ComparisonTable.Row>
307
+ <ComparisonTable.Row>
308
+ <ComparisonTable.Cell>Computing resources </ComparisonTable.Cell>
309
+ <ComparisonTable.Cell>
310
+ Containers are lightweight, taking only the resources needed to run the application and the container
311
+ manager.{' '}
312
+ </ComparisonTable.Cell>
313
+ <ComparisonTable.Cell>
314
+ VMs emulate a full computer, meaning that they replicate much of the host environment. That uses more memory, CPU
315
+ cycles, and disk space.
316
+ </ComparisonTable.Cell>
317
+ </ComparisonTable.Row>
318
+ <ComparisonTable.Row>
319
+ <ComparisonTable.Cell>Shareability </ComparisonTable.Cell>
320
+ <ComparisonTable.Cell>
321
+ Container images are relatively small in size, making them easy to share.
322
+ </ComparisonTable.Cell>
323
+ <ComparisonTable.Cell>VM images are often much larger as they include a full OS.</ComparisonTable.Cell>
324
+ </ComparisonTable.Row>
325
+ <ComparisonTable.Row>
326
+ <ComparisonTable.Cell>Security</ComparisonTable.Cell>
327
+ <ComparisonTable.Cell>
328
+ Containers might be isolated only very lightly from each other. A process in one container could access memory
329
+ used by another container, for example.
330
+ </ComparisonTable.Cell>
331
+ <ComparisonTable.Cell>
332
+ By running a separate OS, VMs running on the same hardware are more isolated from one another than containers.
333
+ </ComparisonTable.Cell>
334
+ </ComparisonTable.Row>
335
+ </ComparisonTable>
336
+ ```
337
+
338
+ ## Component props
339
+
340
+ ### ComparisonTable `Required`
341
+
342
+ | name | type | default | required | description |
343
+ | ----------------------------- | --------------------------------------------------------------------------------------- | ------------ | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
344
+ | `children` | `ComparisonTable.Row`, `ComparisonTable.Cell`, `ComparisonTable.Footnotes`, `ReactNode` | undefined | `true` | Valid children. Accepts `ReactNode` for conditional rendering. |
345
+ | `heading` | `string` | undefined | `false` | Optional heading that appears above table, preconfigured as a `h3`. |
346
+ | `featuredColumn` | `number` | `1` | `false` | Indicates that the data column at the specified index is visually important and unique in relation to its adjacent cells, and will be styled accordingly. |
347
+ | `visuallyHiddenFeaturedLabel` | `string` | `"featured"` | `false` | A visually-hidden label which is appended to the end of the column title. Used to identify the featured column to screen reader users. |
348
+ | `variant` | `"default"`, `"minimal"` | `"default"` | `false` | Applies alternative presentation. |
349
+
350
+ ### ComparisonTable.Row `Required`
351
+
352
+ The first row in a table is automatically styled as a table header row.
353
+
354
+ | name | type | default | required | description |
355
+ | ---------- | ---------------------- | --------- | -------- | ----------------------------------------------- |
356
+ | `children` | `ComparisonTable.Cell` | undefined | `true` | Cells (columns) to be displayed inside the row. |
357
+
358
+ ### ComparisonTable.Cell `Required`
359
+
360
+ The first cell in a row is automatically styled as a header cell.
361
+
362
+ | name | type | default | required | description |
363
+ | ---------- | ----------- | --------- | -------- | ----------------------------------------------- |
364
+ | `children` | `ReactNode` | undefined | `true` | Content to be displayed inside the column cell. |
365
+
366
+ ### ComparisonTable.Footnote
367
+
368
+ Optional node that appears below the table. This is useful for adding additional context or disclaimers.
369
+
370
+ | name | type | default | required | description |
371
+ | ---------- | ----------- | --------- | -------- | ----------------------------------------------- |
372
+ | `children` | `ReactNode` | undefined | `true` | Content to be displayed inside the column cell. |
373
+
374
+ `id`, `className` and `ref` are forwarded by default to all children.
375
+
376
+ ## Design tokens
377
+
378
+ | css | js |
379
+ | ---------------------------------------------- | -------------------------------------------- |
380
+ | `--brand-ComparisonTable-featured-color-start` | `brand.ComparisonTable.featured.color.start` |
381
+ | `--brand-ComparisonTable-featured-color-end` | `brand.ComparisonTable.featured.color.end` |