@primer/react-brand 0.67.0-rc.f47a3983 → 0.68.0-rc.0198e801

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 (382) hide show
  1. package/lib/Bento/Bento.d.ts +5 -0
  2. package/lib/CTABanner/CTABanner.d.ts +7 -1
  3. package/lib/Card/Card.d.ts +40 -7
  4. package/lib/EyebrowText/EyebrowText.d.ts +4 -1
  5. package/lib/Hero/Hero.d.ts +2 -2
  6. package/lib/Hero/HeroContext.d.ts +1 -1
  7. package/lib/Hero/sub-components/HeroPrimaryAction.d.ts +1 -1
  8. package/lib/Hero/sub-components/HeroSecondaryAction.d.ts +1 -1
  9. package/lib/Pillar/Pillar.d.ts +10 -10
  10. package/lib/PricingOptions/PricingOptions.d.ts +22 -9
  11. package/lib/Token/Token.d.ts +46 -0
  12. package/lib/Token/index.d.ts +1 -0
  13. package/lib/css/main.css +2839 -1827
  14. package/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes.css +1 -1
  15. package/lib/design-tokens/css/tokens/base/colors/light.css +1 -1
  16. package/lib/design-tokens/css/tokens/base/size/size.css +1 -1
  17. package/lib/design-tokens/css/tokens/base/typography/typography.css +1 -1
  18. package/lib/design-tokens/css/tokens/functional/animation/base.css +1 -1
  19. package/lib/design-tokens/css/tokens/functional/colors/global-with-modes.css +3 -1
  20. package/lib/design-tokens/css/tokens/functional/colors/global.css +2 -1
  21. package/lib/design-tokens/css/tokens/functional/components/accordion/colors-with-modes.css +1 -1
  22. package/lib/design-tokens/css/tokens/functional/components/action-menu/colors-with-modes.css +1 -1
  23. package/lib/design-tokens/css/tokens/functional/components/anchor-nav/colors-with-modes.css +1 -1
  24. package/lib/design-tokens/css/tokens/functional/components/bento/base.css +1 -1
  25. package/lib/design-tokens/css/tokens/functional/components/blinking-cursor/colors-with-modes.css +1 -1
  26. package/lib/design-tokens/css/tokens/functional/components/breadcrumbs/colors-with-modes.css +1 -1
  27. package/lib/design-tokens/css/tokens/functional/components/button/colors-with-modes.css +1 -1
  28. package/lib/design-tokens/css/tokens/functional/components/card/base.css +3 -3
  29. package/lib/design-tokens/css/tokens/functional/components/card/colors-with-modes.css +3 -1
  30. package/lib/design-tokens/css/tokens/functional/components/card/colors.css +2 -1
  31. package/lib/design-tokens/css/tokens/functional/components/comparison-table/colors-with-modes.css +1 -1
  32. package/lib/design-tokens/css/tokens/functional/components/comparison-table/comparison-table.css +1 -1
  33. package/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes.css +1 -1
  34. package/lib/design-tokens/css/tokens/functional/components/cta-banner/colors-with-modes.css +11 -1
  35. package/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/colors-with-modes.css +1 -1
  36. package/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/eyebrow-banner.css +1 -1
  37. package/lib/design-tokens/css/tokens/functional/components/faq/base.css +1 -1
  38. package/lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes.css +1 -1
  39. package/lib/design-tokens/css/tokens/functional/components/faq/colors.css +1 -1
  40. package/lib/design-tokens/css/tokens/functional/components/faq/faq.css +1 -1
  41. package/lib/design-tokens/css/tokens/functional/components/footer/colors-with-modes.css +1 -1
  42. package/lib/design-tokens/css/tokens/functional/components/footer/colors.css +1 -1
  43. package/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/base.css +1 -1
  44. package/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/colors-with-modes.css +1 -1
  45. package/lib/design-tokens/css/tokens/functional/components/grid/colors-with-modes.css +1 -1
  46. package/lib/design-tokens/css/tokens/functional/components/grid/colors.css +1 -1
  47. package/lib/design-tokens/css/tokens/functional/components/grid/grid.css +1 -1
  48. package/lib/design-tokens/css/tokens/functional/components/hero/base.css +1 -1
  49. package/lib/design-tokens/css/tokens/functional/components/icon/colors-with-modes.css +5 -5
  50. package/lib/design-tokens/css/tokens/functional/components/icon/colors.css +3 -3
  51. package/lib/design-tokens/css/tokens/functional/components/ide/base.css +1 -1
  52. package/lib/design-tokens/css/tokens/functional/components/ide/colors-with-modes.css +1 -1
  53. package/lib/design-tokens/css/tokens/functional/components/image/base.css +1 -1
  54. package/lib/design-tokens/css/tokens/functional/components/inline-link/base.css +1 -1
  55. package/lib/design-tokens/css/tokens/functional/components/inline-link/colors-with-modes.css +1 -1
  56. package/lib/design-tokens/css/tokens/functional/components/inline-link/colors.css +1 -1
  57. package/lib/design-tokens/css/tokens/functional/components/label/colors-with-modes.css +1 -1
  58. package/lib/design-tokens/css/tokens/functional/components/label/colors.css +1 -1
  59. package/lib/design-tokens/css/tokens/functional/components/link/colors-with-modes.css +1 -1
  60. package/lib/design-tokens/css/tokens/functional/components/link/colors.css +1 -1
  61. package/lib/design-tokens/css/tokens/functional/components/logosuite/base.css +1 -1
  62. package/lib/design-tokens/css/tokens/functional/components/logosuite/colors-with-modes.css +1 -1
  63. package/lib/design-tokens/css/tokens/functional/components/logosuite/colors.css +1 -1
  64. package/lib/design-tokens/css/tokens/functional/components/pagination/colors-with-modes.css +1 -1
  65. package/lib/design-tokens/css/tokens/functional/components/pricing-options/colors-with-modes.css +7 -1
  66. package/lib/design-tokens/css/tokens/functional/components/pricing-options/colors.css +4 -1
  67. package/lib/design-tokens/css/tokens/functional/components/pricing-options/pricing-options.css +1 -1
  68. package/lib/design-tokens/css/tokens/functional/components/prose/base.css +1 -1
  69. package/lib/design-tokens/css/tokens/functional/components/prose/colors-with-modes.css +1 -1
  70. package/lib/design-tokens/css/tokens/functional/components/river/base.css +1 -1
  71. package/lib/design-tokens/css/tokens/functional/components/river/river.css +1 -1
  72. package/lib/design-tokens/css/tokens/functional/components/river-story-scroll/colors-with-modes.css +1 -1
  73. package/lib/design-tokens/css/tokens/functional/components/section/section.css +1 -1
  74. package/lib/design-tokens/css/tokens/functional/components/statistic/base.css +1 -1
  75. package/lib/design-tokens/css/tokens/functional/components/sub-nav/base.css +1 -1
  76. package/lib/design-tokens/css/tokens/functional/components/sub-nav/colors-with-modes.css +1 -1
  77. package/lib/design-tokens/css/tokens/functional/components/subdomain-nav-bar/colors-with-modes.css +1 -1
  78. package/lib/design-tokens/css/tokens/functional/components/tabs/base.css +1 -1
  79. package/lib/design-tokens/css/tokens/functional/components/tabs/colors-with-modes.css +1 -1
  80. package/lib/design-tokens/css/tokens/functional/components/tabs/colors.css +1 -1
  81. package/lib/design-tokens/css/tokens/functional/components/testimonial/base.css +1 -1
  82. package/lib/design-tokens/css/tokens/functional/components/testimonial/colors-with-modes.css +3 -3
  83. package/lib/design-tokens/css/tokens/functional/components/testimonial/colors.css +2 -2
  84. package/lib/design-tokens/css/tokens/functional/components/tiles/colors-with-modes.css +1 -1
  85. package/lib/design-tokens/css/tokens/functional/components/timeline/base.css +1 -1
  86. package/lib/design-tokens/css/tokens/functional/components/timeline/colors-with-modes.css +1 -1
  87. package/lib/design-tokens/css/tokens/functional/components/timeline/colors.css +1 -1
  88. package/lib/design-tokens/css/tokens/functional/components/token/colors-with-modes.css +37 -0
  89. package/lib/design-tokens/css/tokens/functional/components/token/colors.css +20 -0
  90. package/lib/design-tokens/css/tokens/functional/components/tooltip/colors-with-modes.css +1 -1
  91. package/lib/design-tokens/css/tokens/functional/components/tooltip/colors.css +1 -1
  92. package/lib/design-tokens/css/tokens/functional/components/video-player/base.css +1 -1
  93. package/lib/design-tokens/css/tokens/functional/components/video-player/colors-with-modes.css +1 -1
  94. package/lib/design-tokens/css/tokens/functional/size/border.css +1 -1
  95. package/lib/design-tokens/css/tokens/functional/size/breakpoints.css +1 -1
  96. package/lib/design-tokens/css/tokens/functional/size/size-coarse.css +1 -1
  97. package/lib/design-tokens/css/tokens/functional/size/size-fine.css +1 -1
  98. package/lib/design-tokens/css/tokens/functional/size/size.css +1 -1
  99. package/lib/design-tokens/css/tokens/functional/size/viewport.css +1 -1
  100. package/lib/design-tokens/css/tokens/functional/typography/typography-responsive.css +1 -1
  101. package/lib/design-tokens/css/tokens/functional/typography/typography.css +1 -1
  102. package/lib/design-tokens/js/module/tokens/base/colors/light.js +1 -1
  103. package/lib/design-tokens/js/module/tokens/base/size/size.js +1 -1
  104. package/lib/design-tokens/js/module/tokens/base/typography/typography.js +1 -1
  105. package/lib/design-tokens/js/module/tokens/functional/animation/base.js +1 -1
  106. package/lib/design-tokens/js/module/tokens/functional/colors/global.js +5 -1
  107. package/lib/design-tokens/js/module/tokens/functional/components/bento/base.js +1 -1
  108. package/lib/design-tokens/js/module/tokens/functional/components/card/base.js +3 -3
  109. package/lib/design-tokens/js/module/tokens/functional/components/card/colors.js +5 -1
  110. package/lib/design-tokens/js/module/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  111. package/lib/design-tokens/js/module/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
  112. package/lib/design-tokens/js/module/tokens/functional/components/faq/base.js +1 -1
  113. package/lib/design-tokens/js/module/tokens/functional/components/faq/colors.js +1 -1
  114. package/lib/design-tokens/js/module/tokens/functional/components/faq/faq.js +1 -1
  115. package/lib/design-tokens/js/module/tokens/functional/components/footer/colors.js +1 -1
  116. package/lib/design-tokens/js/module/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
  117. package/lib/design-tokens/js/module/tokens/functional/components/grid/colors.js +1 -1
  118. package/lib/design-tokens/js/module/tokens/functional/components/grid/grid.js +1 -1
  119. package/lib/design-tokens/js/module/tokens/functional/components/hero/base.js +1 -1
  120. package/lib/design-tokens/js/module/tokens/functional/components/icon/colors.js +5 -5
  121. package/lib/design-tokens/js/module/tokens/functional/components/ide/base.js +1 -1
  122. package/lib/design-tokens/js/module/tokens/functional/components/image/base.js +1 -1
  123. package/lib/design-tokens/js/module/tokens/functional/components/inline-link/base.js +1 -1
  124. package/lib/design-tokens/js/module/tokens/functional/components/inline-link/colors.js +1 -1
  125. package/lib/design-tokens/js/module/tokens/functional/components/label/colors.js +1 -1
  126. package/lib/design-tokens/js/module/tokens/functional/components/link/colors.js +1 -1
  127. package/lib/design-tokens/js/module/tokens/functional/components/logosuite/base.js +1 -1
  128. package/lib/design-tokens/js/module/tokens/functional/components/logosuite/colors.js +1 -1
  129. package/lib/design-tokens/js/module/tokens/functional/components/pricing-options/colors.js +15 -1
  130. package/lib/design-tokens/js/module/tokens/functional/components/pricing-options/pricing-options.js +1 -1
  131. package/lib/design-tokens/js/module/tokens/functional/components/prose/base.js +1 -1
  132. package/lib/design-tokens/js/module/tokens/functional/components/river/base.js +1 -1
  133. package/lib/design-tokens/js/module/tokens/functional/components/river/river.js +1 -1
  134. package/lib/design-tokens/js/module/tokens/functional/components/section/section.js +1 -1
  135. package/lib/design-tokens/js/module/tokens/functional/components/statistic/base.js +1 -1
  136. package/lib/design-tokens/js/module/tokens/functional/components/sub-nav/base.js +1 -1
  137. package/lib/design-tokens/js/module/tokens/functional/components/tabs/base.js +1 -1
  138. package/lib/design-tokens/js/module/tokens/functional/components/tabs/colors.js +1 -1
  139. package/lib/design-tokens/js/module/tokens/functional/components/testimonial/base.js +1 -1
  140. package/lib/design-tokens/js/module/tokens/functional/components/testimonial/colors.js +3 -3
  141. package/lib/design-tokens/js/module/tokens/functional/components/timeline/base.js +1 -1
  142. package/lib/design-tokens/js/module/tokens/functional/components/timeline/colors.js +1 -1
  143. package/lib/design-tokens/js/module/tokens/functional/components/token/colors.js +71 -0
  144. package/lib/design-tokens/js/module/tokens/functional/components/tooltip/colors.js +1 -1
  145. package/lib/design-tokens/js/module/tokens/functional/components/video-player/base.js +1 -1
  146. package/lib/design-tokens/js/module/tokens/functional/size/border.js +1 -1
  147. package/lib/design-tokens/js/module/tokens/functional/size/breakpoints.js +1 -1
  148. package/lib/design-tokens/js/module/tokens/functional/size/size-coarse.js +1 -1
  149. package/lib/design-tokens/js/module/tokens/functional/size/size-fine.js +1 -1
  150. package/lib/design-tokens/js/module/tokens/functional/size/size.js +1 -1
  151. package/lib/design-tokens/js/module/tokens/functional/size/viewport.js +1 -1
  152. package/lib/design-tokens/js/module/tokens/functional/typography/typography-responsive.js +1 -1
  153. package/lib/design-tokens/js/module/tokens/functional/typography/typography.js +1 -1
  154. package/lib/design-tokens/js/tokens/base/colors/light.js +1 -1
  155. package/lib/design-tokens/js/tokens/base/size/size.js +1 -1
  156. package/lib/design-tokens/js/tokens/base/typography/typography.js +1 -1
  157. package/lib/design-tokens/js/tokens/functional/animation/base.js +1 -1
  158. package/lib/design-tokens/js/tokens/functional/colors/global.js +2 -1
  159. package/lib/design-tokens/js/tokens/functional/components/bento/base.js +1 -1
  160. package/lib/design-tokens/js/tokens/functional/components/card/base.js +3 -3
  161. package/lib/design-tokens/js/tokens/functional/components/card/colors.js +2 -1
  162. package/lib/design-tokens/js/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  163. package/lib/design-tokens/js/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
  164. package/lib/design-tokens/js/tokens/functional/components/faq/base.js +1 -1
  165. package/lib/design-tokens/js/tokens/functional/components/faq/colors.js +1 -1
  166. package/lib/design-tokens/js/tokens/functional/components/faq/faq.js +1 -1
  167. package/lib/design-tokens/js/tokens/functional/components/footer/colors.js +1 -1
  168. package/lib/design-tokens/js/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
  169. package/lib/design-tokens/js/tokens/functional/components/grid/colors.js +1 -1
  170. package/lib/design-tokens/js/tokens/functional/components/grid/grid.js +1 -1
  171. package/lib/design-tokens/js/tokens/functional/components/hero/base.js +1 -1
  172. package/lib/design-tokens/js/tokens/functional/components/icon/colors.js +3 -3
  173. package/lib/design-tokens/js/tokens/functional/components/ide/base.js +1 -1
  174. package/lib/design-tokens/js/tokens/functional/components/image/base.js +1 -1
  175. package/lib/design-tokens/js/tokens/functional/components/inline-link/base.js +1 -1
  176. package/lib/design-tokens/js/tokens/functional/components/inline-link/colors.js +1 -1
  177. package/lib/design-tokens/js/tokens/functional/components/label/colors.js +1 -1
  178. package/lib/design-tokens/js/tokens/functional/components/link/colors.js +1 -1
  179. package/lib/design-tokens/js/tokens/functional/components/logosuite/base.js +1 -1
  180. package/lib/design-tokens/js/tokens/functional/components/logosuite/colors.js +1 -1
  181. package/lib/design-tokens/js/tokens/functional/components/pricing-options/colors.js +4 -1
  182. package/lib/design-tokens/js/tokens/functional/components/pricing-options/pricing-options.js +1 -1
  183. package/lib/design-tokens/js/tokens/functional/components/prose/base.js +1 -1
  184. package/lib/design-tokens/js/tokens/functional/components/river/base.js +1 -1
  185. package/lib/design-tokens/js/tokens/functional/components/river/river.js +1 -1
  186. package/lib/design-tokens/js/tokens/functional/components/section/section.js +1 -1
  187. package/lib/design-tokens/js/tokens/functional/components/statistic/base.js +1 -1
  188. package/lib/design-tokens/js/tokens/functional/components/sub-nav/base.js +1 -1
  189. package/lib/design-tokens/js/tokens/functional/components/tabs/base.js +1 -1
  190. package/lib/design-tokens/js/tokens/functional/components/tabs/colors.js +1 -1
  191. package/lib/design-tokens/js/tokens/functional/components/testimonial/base.js +1 -1
  192. package/lib/design-tokens/js/tokens/functional/components/testimonial/colors.js +2 -2
  193. package/lib/design-tokens/js/tokens/functional/components/timeline/base.js +1 -1
  194. package/lib/design-tokens/js/tokens/functional/components/timeline/colors.js +1 -1
  195. package/lib/design-tokens/js/tokens/functional/components/token/colors.js +18 -0
  196. package/lib/design-tokens/js/tokens/functional/components/tooltip/colors.js +1 -1
  197. package/lib/design-tokens/js/tokens/functional/components/video-player/base.js +1 -1
  198. package/lib/design-tokens/js/tokens/functional/size/border.js +1 -1
  199. package/lib/design-tokens/js/tokens/functional/size/breakpoints.js +1 -1
  200. package/lib/design-tokens/js/tokens/functional/size/size-coarse.js +1 -1
  201. package/lib/design-tokens/js/tokens/functional/size/size-fine.js +1 -1
  202. package/lib/design-tokens/js/tokens/functional/size/size.js +1 -1
  203. package/lib/design-tokens/js/tokens/functional/size/viewport.js +1 -1
  204. package/lib/design-tokens/js/tokens/functional/typography/typography-responsive.js +1 -1
  205. package/lib/design-tokens/js/tokens/functional/typography/typography.js +1 -1
  206. package/lib/design-tokens/scss/tokens/base/colors/light.scss +1 -1
  207. package/lib/design-tokens/scss/tokens/base/size/size.scss +1 -1
  208. package/lib/design-tokens/scss/tokens/base/typography/typography.scss +1 -1
  209. package/lib/design-tokens/scss/tokens/functional/animation/base.scss +1 -1
  210. package/lib/design-tokens/scss/tokens/functional/colors/global.scss +2 -1
  211. package/lib/design-tokens/scss/tokens/functional/components/bento/base.scss +1 -1
  212. package/lib/design-tokens/scss/tokens/functional/components/card/base.scss +3 -3
  213. package/lib/design-tokens/scss/tokens/functional/components/card/colors.scss +2 -1
  214. package/lib/design-tokens/scss/tokens/functional/components/comparison-table/comparison-table.scss +1 -1
  215. package/lib/design-tokens/scss/tokens/functional/components/eyebrow-banner/eyebrow-banner.scss +1 -1
  216. package/lib/design-tokens/scss/tokens/functional/components/faq/base.scss +1 -1
  217. package/lib/design-tokens/scss/tokens/functional/components/faq/colors.scss +1 -1
  218. package/lib/design-tokens/scss/tokens/functional/components/faq/faq.scss +1 -1
  219. package/lib/design-tokens/scss/tokens/functional/components/footer/colors.scss +1 -1
  220. package/lib/design-tokens/scss/tokens/functional/components/frosted-glass-vfx/base.scss +1 -1
  221. package/lib/design-tokens/scss/tokens/functional/components/grid/colors.scss +1 -1
  222. package/lib/design-tokens/scss/tokens/functional/components/grid/grid.scss +1 -1
  223. package/lib/design-tokens/scss/tokens/functional/components/hero/base.scss +1 -1
  224. package/lib/design-tokens/scss/tokens/functional/components/icon/colors.scss +3 -3
  225. package/lib/design-tokens/scss/tokens/functional/components/ide/base.scss +1 -1
  226. package/lib/design-tokens/scss/tokens/functional/components/image/base.scss +1 -1
  227. package/lib/design-tokens/scss/tokens/functional/components/inline-link/base.scss +1 -1
  228. package/lib/design-tokens/scss/tokens/functional/components/inline-link/colors.scss +1 -1
  229. package/lib/design-tokens/scss/tokens/functional/components/label/colors.scss +1 -1
  230. package/lib/design-tokens/scss/tokens/functional/components/link/colors.scss +1 -1
  231. package/lib/design-tokens/scss/tokens/functional/components/logosuite/base.scss +1 -1
  232. package/lib/design-tokens/scss/tokens/functional/components/logosuite/colors.scss +1 -1
  233. package/lib/design-tokens/scss/tokens/functional/components/pricing-options/colors.scss +4 -1
  234. package/lib/design-tokens/scss/tokens/functional/components/pricing-options/pricing-options.scss +1 -1
  235. package/lib/design-tokens/scss/tokens/functional/components/prose/base.scss +1 -1
  236. package/lib/design-tokens/scss/tokens/functional/components/river/base.scss +1 -1
  237. package/lib/design-tokens/scss/tokens/functional/components/river/river.scss +1 -1
  238. package/lib/design-tokens/scss/tokens/functional/components/section/section.scss +1 -1
  239. package/lib/design-tokens/scss/tokens/functional/components/statistic/base.scss +1 -1
  240. package/lib/design-tokens/scss/tokens/functional/components/sub-nav/base.scss +1 -1
  241. package/lib/design-tokens/scss/tokens/functional/components/tabs/base.scss +1 -1
  242. package/lib/design-tokens/scss/tokens/functional/components/tabs/colors.scss +1 -1
  243. package/lib/design-tokens/scss/tokens/functional/components/testimonial/base.scss +1 -1
  244. package/lib/design-tokens/scss/tokens/functional/components/testimonial/colors.scss +2 -2
  245. package/lib/design-tokens/scss/tokens/functional/components/timeline/base.scss +1 -1
  246. package/lib/design-tokens/scss/tokens/functional/components/timeline/colors.scss +1 -1
  247. package/lib/design-tokens/scss/tokens/functional/components/token/colors.scss +17 -0
  248. package/lib/design-tokens/scss/tokens/functional/components/tooltip/colors.scss +1 -1
  249. package/lib/design-tokens/scss/tokens/functional/components/video-player/base.scss +1 -1
  250. package/lib/design-tokens/scss/tokens/functional/size/border.scss +1 -1
  251. package/lib/design-tokens/scss/tokens/functional/size/breakpoints.scss +1 -1
  252. package/lib/design-tokens/scss/tokens/functional/size/size-coarse.scss +1 -1
  253. package/lib/design-tokens/scss/tokens/functional/size/size-fine.scss +1 -1
  254. package/lib/design-tokens/scss/tokens/functional/size/size.scss +1 -1
  255. package/lib/design-tokens/scss/tokens/functional/size/viewport.scss +1 -1
  256. package/lib/design-tokens/scss/tokens/functional/typography/typography-responsive.scss +1 -1
  257. package/lib/design-tokens/scss/tokens/functional/typography/typography.scss +1 -1
  258. package/lib/design-tokens/ts/tokens/base/colors/light.d.ts +1 -1
  259. package/lib/design-tokens/ts/tokens/base/colors/light.js +1 -1
  260. package/lib/design-tokens/ts/tokens/base/size/size.d.ts +1 -1
  261. package/lib/design-tokens/ts/tokens/base/size/size.js +1 -1
  262. package/lib/design-tokens/ts/tokens/base/typography/typography.d.ts +1 -1
  263. package/lib/design-tokens/ts/tokens/base/typography/typography.js +1 -1
  264. package/lib/design-tokens/ts/tokens/functional/animation/base.d.ts +1 -1
  265. package/lib/design-tokens/ts/tokens/functional/animation/base.js +1 -1
  266. package/lib/design-tokens/ts/tokens/functional/colors/global.d.ts +2 -1
  267. package/lib/design-tokens/ts/tokens/functional/colors/global.js +2 -1
  268. package/lib/design-tokens/ts/tokens/functional/components/bento/base.d.ts +1 -1
  269. package/lib/design-tokens/ts/tokens/functional/components/bento/base.js +1 -1
  270. package/lib/design-tokens/ts/tokens/functional/components/card/base.d.ts +1 -1
  271. package/lib/design-tokens/ts/tokens/functional/components/card/base.js +3 -3
  272. package/lib/design-tokens/ts/tokens/functional/components/card/colors.d.ts +3 -2
  273. package/lib/design-tokens/ts/tokens/functional/components/card/colors.js +2 -1
  274. package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.d.ts +1 -1
  275. package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  276. package/lib/design-tokens/ts/tokens/functional/components/eyebrow-banner/eyebrow-banner.d.ts +1 -1
  277. package/lib/design-tokens/ts/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
  278. package/lib/design-tokens/ts/tokens/functional/components/faq/base.d.ts +1 -1
  279. package/lib/design-tokens/ts/tokens/functional/components/faq/base.js +1 -1
  280. package/lib/design-tokens/ts/tokens/functional/components/faq/colors.d.ts +1 -1
  281. package/lib/design-tokens/ts/tokens/functional/components/faq/colors.js +1 -1
  282. package/lib/design-tokens/ts/tokens/functional/components/faq/faq.d.ts +1 -1
  283. package/lib/design-tokens/ts/tokens/functional/components/faq/faq.js +1 -1
  284. package/lib/design-tokens/ts/tokens/functional/components/footer/colors.d.ts +1 -1
  285. package/lib/design-tokens/ts/tokens/functional/components/footer/colors.js +1 -1
  286. package/lib/design-tokens/ts/tokens/functional/components/frosted-glass-vfx/base.d.ts +1 -1
  287. package/lib/design-tokens/ts/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
  288. package/lib/design-tokens/ts/tokens/functional/components/grid/colors.d.ts +1 -1
  289. package/lib/design-tokens/ts/tokens/functional/components/grid/colors.js +1 -1
  290. package/lib/design-tokens/ts/tokens/functional/components/grid/grid.d.ts +1 -1
  291. package/lib/design-tokens/ts/tokens/functional/components/grid/grid.js +1 -1
  292. package/lib/design-tokens/ts/tokens/functional/components/hero/base.d.ts +1 -1
  293. package/lib/design-tokens/ts/tokens/functional/components/hero/base.js +1 -1
  294. package/lib/design-tokens/ts/tokens/functional/components/icon/colors.d.ts +1 -1
  295. package/lib/design-tokens/ts/tokens/functional/components/icon/colors.js +3 -3
  296. package/lib/design-tokens/ts/tokens/functional/components/ide/base.d.ts +1 -1
  297. package/lib/design-tokens/ts/tokens/functional/components/ide/base.js +1 -1
  298. package/lib/design-tokens/ts/tokens/functional/components/image/base.d.ts +1 -1
  299. package/lib/design-tokens/ts/tokens/functional/components/image/base.js +1 -1
  300. package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.d.ts +1 -1
  301. package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.js +1 -1
  302. package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.d.ts +1 -1
  303. package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.js +1 -1
  304. package/lib/design-tokens/ts/tokens/functional/components/label/colors.d.ts +1 -1
  305. package/lib/design-tokens/ts/tokens/functional/components/label/colors.js +1 -1
  306. package/lib/design-tokens/ts/tokens/functional/components/link/colors.d.ts +1 -1
  307. package/lib/design-tokens/ts/tokens/functional/components/link/colors.js +1 -1
  308. package/lib/design-tokens/ts/tokens/functional/components/logosuite/base.d.ts +1 -1
  309. package/lib/design-tokens/ts/tokens/functional/components/logosuite/base.js +1 -1
  310. package/lib/design-tokens/ts/tokens/functional/components/logosuite/colors.d.ts +1 -1
  311. package/lib/design-tokens/ts/tokens/functional/components/logosuite/colors.js +1 -1
  312. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/colors.d.ts +6 -1
  313. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/colors.js +6 -1
  314. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/pricing-options.d.ts +1 -1
  315. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/pricing-options.js +1 -1
  316. package/lib/design-tokens/ts/tokens/functional/components/prose/base.d.ts +1 -1
  317. package/lib/design-tokens/ts/tokens/functional/components/prose/base.js +1 -1
  318. package/lib/design-tokens/ts/tokens/functional/components/river/base.d.ts +1 -1
  319. package/lib/design-tokens/ts/tokens/functional/components/river/base.js +1 -1
  320. package/lib/design-tokens/ts/tokens/functional/components/river/river.d.ts +1 -1
  321. package/lib/design-tokens/ts/tokens/functional/components/river/river.js +1 -1
  322. package/lib/design-tokens/ts/tokens/functional/components/section/section.d.ts +1 -1
  323. package/lib/design-tokens/ts/tokens/functional/components/section/section.js +1 -1
  324. package/lib/design-tokens/ts/tokens/functional/components/statistic/base.d.ts +1 -1
  325. package/lib/design-tokens/ts/tokens/functional/components/statistic/base.js +1 -1
  326. package/lib/design-tokens/ts/tokens/functional/components/sub-nav/base.d.ts +1 -1
  327. package/lib/design-tokens/ts/tokens/functional/components/sub-nav/base.js +1 -1
  328. package/lib/design-tokens/ts/tokens/functional/components/tabs/base.d.ts +1 -1
  329. package/lib/design-tokens/ts/tokens/functional/components/tabs/base.js +1 -1
  330. package/lib/design-tokens/ts/tokens/functional/components/tabs/colors.d.ts +1 -1
  331. package/lib/design-tokens/ts/tokens/functional/components/tabs/colors.js +1 -1
  332. package/lib/design-tokens/ts/tokens/functional/components/testimonial/base.d.ts +1 -1
  333. package/lib/design-tokens/ts/tokens/functional/components/testimonial/base.js +1 -1
  334. package/lib/design-tokens/ts/tokens/functional/components/testimonial/colors.d.ts +1 -1
  335. package/lib/design-tokens/ts/tokens/functional/components/testimonial/colors.js +2 -2
  336. package/lib/design-tokens/ts/tokens/functional/components/timeline/base.d.ts +1 -1
  337. package/lib/design-tokens/ts/tokens/functional/components/timeline/base.js +1 -1
  338. package/lib/design-tokens/ts/tokens/functional/components/timeline/colors.d.ts +1 -1
  339. package/lib/design-tokens/ts/tokens/functional/components/timeline/colors.js +1 -1
  340. package/lib/design-tokens/ts/tokens/functional/components/token/colors.d.ts +35 -0
  341. package/lib/design-tokens/ts/tokens/functional/components/token/colors.js +32 -0
  342. package/lib/design-tokens/ts/tokens/functional/components/tooltip/colors.d.ts +1 -1
  343. package/lib/design-tokens/ts/tokens/functional/components/tooltip/colors.js +1 -1
  344. package/lib/design-tokens/ts/tokens/functional/components/video-player/base.d.ts +1 -1
  345. package/lib/design-tokens/ts/tokens/functional/components/video-player/base.js +1 -1
  346. package/lib/design-tokens/ts/tokens/functional/size/border.d.ts +1 -1
  347. package/lib/design-tokens/ts/tokens/functional/size/border.js +1 -1
  348. package/lib/design-tokens/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  349. package/lib/design-tokens/ts/tokens/functional/size/breakpoints.js +1 -1
  350. package/lib/design-tokens/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  351. package/lib/design-tokens/ts/tokens/functional/size/size-coarse.js +1 -1
  352. package/lib/design-tokens/ts/tokens/functional/size/size-fine.d.ts +1 -1
  353. package/lib/design-tokens/ts/tokens/functional/size/size-fine.js +1 -1
  354. package/lib/design-tokens/ts/tokens/functional/size/size.d.ts +1 -1
  355. package/lib/design-tokens/ts/tokens/functional/size/size.js +1 -1
  356. package/lib/design-tokens/ts/tokens/functional/size/viewport.d.ts +1 -1
  357. package/lib/design-tokens/ts/tokens/functional/size/viewport.js +1 -1
  358. package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.d.ts +1 -1
  359. package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.js +1 -1
  360. package/lib/design-tokens/ts/tokens/functional/typography/typography.d.ts +1 -1
  361. package/lib/design-tokens/ts/tokens/functional/typography/typography.js +1 -1
  362. package/lib/index.d.ts +1 -0
  363. package/lib/index.js +1 -1
  364. package/lib/recipes/FlexTemplate/FlexTemplate.types.d.ts +2 -2
  365. package/lib/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.content.d.ts +58 -0
  366. package/lib/recipes/Flexsuite/Category/FlexSuiteSecurityCategory/FlexSuiteSecurityCategory.d.ts +6 -0
  367. package/lib/recipes/Flexsuite/Category/index.d.ts +1 -0
  368. package/lib/recipes/Flexsuite/Overview/FlexSuiteAIOverview.content.d.ts +100 -0
  369. package/lib/recipes/Flexsuite/Overview/FlexSuiteAIOverview.d.ts +6 -0
  370. package/lib/recipes/Flexsuite/Overview/FlexSuiteOverview.content.d.ts +4 -0
  371. package/lib/recipes/Flexsuite/Overview/index.d.ts +3 -0
  372. package/lib/river/RiverBreakoutTabs/RiverBreakoutTabs.d.ts +41 -0
  373. package/lib/river/RiverBreakoutTabs/index.d.ts +1 -0
  374. package/lib/river/index.d.ts +1 -0
  375. package/package.json +2 -1
  376. package/lib/design-tokens/css/tokens/functional/components/pillar/colors-with-modes.css +0 -39
  377. package/lib/design-tokens/css/tokens/functional/components/pillar/colors.css +0 -21
  378. package/lib/design-tokens/js/module/tokens/functional/components/pillar/colors.js +0 -71
  379. package/lib/design-tokens/js/tokens/functional/components/pillar/colors.js +0 -19
  380. package/lib/design-tokens/scss/tokens/functional/components/pillar/colors.scss +0 -18
  381. package/lib/design-tokens/ts/tokens/functional/components/pillar/colors.d.ts +0 -32
  382. package/lib/design-tokens/ts/tokens/functional/components/pillar/colors.js +0 -29
@@ -45,6 +45,11 @@ type BentoVisualProps = {
45
45
  position?: string;
46
46
  padding?: Padding | ResponsivePadding;
47
47
  } & React.HTMLAttributes<HTMLDivElement> & BaseProps<HTMLDivElement>;
48
+ /**
49
+ * Use Bento to present content in a responsive grid layout.
50
+ * @deprecated Bento is deprecated and will be removed in a future release. Use CTABanner or River instead.
51
+ * @see https://primer.style/brand/components/Bento
52
+ */
48
53
  export declare const Bento: (({ className, ...rest }: BentoProps) => import("react/jsx-runtime").JSX.Element) & {
49
54
  Item: ({ className, columnStart, columnSpan, rowStart, rowSpan, flow, colorMode, visualAsBackground, order, bgColor, children, ...rest }: BentoItemProps) => import("react/jsx-runtime").JSX.Element;
50
55
  Visual: ({ horizontalAlign, verticalAlign, fillMedia, overflow, position, padding, className, children, ...rest }: BentoVisualProps) => import("react/jsx-runtime").JSX.Element;
@@ -6,6 +6,7 @@ import { TextProps } from '../Text';
6
6
  * Design tokens
7
7
  */
8
8
  import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/cta-banner/colors-with-modes.css';
9
+ import { type LinkProps } from '../Link';
9
10
  export declare const CTABannerBackgroundColors: readonly ["default", "subtle"];
10
11
  type ResponsiveMap<T> = {
11
12
  narrow?: T;
@@ -80,14 +81,19 @@ type CTABannerHeadingProps = BaseProps<HTMLHeadingElement> & {
80
81
  type CTABannerDescriptionProps = React.HtmlHTMLAttributes<HTMLParagraphElement> & BaseProps<HTMLParagraphElement> & {
81
82
  variant?: TextProps['variant'];
82
83
  };
83
- type CTABannerImageProps = BaseProps<HTMLImageElement> & {
84
+ type CTABannerImageProps = BaseProps<HTMLImageElement> & Omit<React.ImgHTMLAttributes<HTMLImageElement>, 'src' | 'alt'> & {
84
85
  src: string;
85
86
  alt: string;
86
87
  };
88
+ type CTABannerLogoProps = BaseProps<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
89
+ children: React.ReactNode;
90
+ };
87
91
  export declare const CTABanner: React.ForwardRefExoticComponent<Omit<CTABannerProps, "ref"> & React.RefAttributes<HTMLElement>> & {
88
92
  Heading: React.ForwardRefExoticComponent<Omit<CTABannerHeadingProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
89
93
  Description: React.ForwardRefExoticComponent<Omit<CTABannerDescriptionProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
90
94
  ButtonGroup: React.ForwardRefExoticComponent<Omit<Omit<import("..").ButtonGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
91
95
  Image: React.ForwardRefExoticComponent<Omit<CTABannerImageProps, "ref"> & React.RefAttributes<HTMLImageElement>>;
96
+ Logo: React.ForwardRefExoticComponent<Omit<CTABannerLogoProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
97
+ Link: ({ className, children, variant, ...props }: LinkProps) => import("react/jsx-runtime").JSX.Element;
92
98
  };
93
99
  export {};
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { HeadingProps, type ImageProps, LabelColors } from '..';
2
+ import { HeadingProps, type ImageProps } from '..';
3
3
  import { type IconProps } from '../Icon';
4
4
  import type { BaseProps } from '../component-helpers';
5
5
  /**
@@ -7,19 +7,32 @@ import type { BaseProps } from '../component-helpers';
7
7
  */
8
8
  import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/card/base.css';
9
9
  import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/card/colors-with-modes.css';
10
- export declare const CardVariants: readonly ["default", "minimal", "torchlight"];
10
+ export declare const CardVariants: readonly ["default", "minimal"];
11
+ export declare const CardCTAVariants: readonly ["text", "arrow", "none"];
12
+ export declare const CardBackgroundColors: readonly ["default", "subtle", "none"];
13
+ export declare const CardTokenPositions: readonly ["block-start", "block-end"];
14
+ export declare const CardLabelVariants: readonly ["token", "accent-text"];
11
15
  export declare const CardIconColors: readonly ["default", "blue", "coral", "green", "gray", "indigo", "lemon", "lime", "orange", "pink", "purple", "red", "teal", "yellow"];
12
16
  export declare const defaultCardIconColor: "default";
17
+ export declare const defaultCardCTAVariant: "text";
18
+ export declare const defaultCardLabelVariant: "token";
13
19
  export type CardVariants = (typeof CardVariants)[number];
20
+ export type CardCTAVariant = (typeof CardCTAVariants)[number];
21
+ export type CardTokenPosition = (typeof CardTokenPositions)[number];
22
+ export type CardLabelVariant = (typeof CardLabelVariants)[number];
23
+ export type CardBackgroundColor = (typeof CardBackgroundColors)[number];
24
+ type CardLeadingVisual = React.ReactElement | React.ComponentType<{
25
+ className?: string;
26
+ }>;
14
27
  export type CardProps = {
15
28
  /**
16
29
  * Specify alternative card appearance
17
30
  */
18
31
  variant?: CardVariants;
19
32
  /**
20
- * Valid children include Card.Image, Card.Heading, and Card.Description
33
+ * Valid children include Card.Image, Card.Icon, Card.Label, Card.Tokens, Card.Heading, and Card.Description
21
34
  */
22
- children: React.ReactNode | React.ReactElement<CardImageProps> | React.ReactElement<CardIconProps> | React.ReactElement<CardLabelProps> | React.ReactElement<CardHeadingProps> | React.ReactElement<CardDescriptionProps>;
35
+ children: React.ReactNode | React.ReactElement<CardImageProps> | React.ReactElement<CardIconProps> | React.ReactElement<CardLabelProps> | React.ReactElement<CardTokensProps> | React.ReactElement<CardHeadingProps> | React.ReactElement<CardDescriptionProps>;
23
36
  /**
24
37
  * Disable the default hover animation
25
38
  */
@@ -32,6 +45,21 @@ export type CardProps = {
32
45
  * Changes the cta text of the card
33
46
  * */
34
47
  ctaText?: string;
48
+ /**
49
+ * Specifies the presentation of the call-to-action area
50
+ */
51
+ ctaVariant?: CardCTAVariant;
52
+ /**
53
+ * Optional, custom background color.
54
+ */
55
+ backgroundColor?: CardBackgroundColor;
56
+ /**
57
+ * A visual that appears before the heading, commonly used for a logo or brand mark
58
+ */
59
+ leadingVisual?: CardLeadingVisual;
60
+ /**
61
+ * Adds a border to the card.
62
+ */
35
63
  hasBorder?: boolean;
36
64
  /**
37
65
  * Fills the width of the parent container and removes the default max-width.
@@ -47,9 +75,13 @@ type CardImageProps = {
47
75
  } & ImageProps;
48
76
  declare function CardImage({ className, ...rest }: CardImageProps): import("react/jsx-runtime").JSX.Element;
49
77
  type CardIconProps = IconProps;
50
- type CardLabelProps = BaseProps<HTMLSpanElement> & {
78
+ type CardTokensProps = BaseProps<HTMLDivElement> & {
79
+ children: React.ReactNode | React.ReactNode[];
80
+ position?: CardTokenPosition;
81
+ };
82
+ type CardLabelProps = Omit<BaseProps<HTMLSpanElement>, 'animate'> & Omit<React.ComponentPropsWithoutRef<'span'>, 'children'> & {
51
83
  children: React.ReactNode | React.ReactNode[];
52
- color?: (typeof LabelColors)[number];
84
+ variant?: CardLabelVariant;
53
85
  };
54
86
  type CardHeadingProps = BaseProps<HTMLHeadingElement> & {
55
87
  children: React.ReactNode | React.ReactNode[];
@@ -65,8 +97,9 @@ type CardDescriptionProps = BaseProps<HTMLParagraphElement> & {
65
97
  */
66
98
  export declare const Card: React.ForwardRefExoticComponent<Omit<CardProps, "ref"> & React.RefAttributes<HTMLDivElement>> & {
67
99
  Image: typeof CardImage;
100
+ Icon: ({ className, hasBackground, ...props }: IconProps) => import("react/jsx-runtime").JSX.Element;
68
101
  Label: React.ForwardRefExoticComponent<Omit<CardLabelProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
69
- Icon: ({ className, ...props }: IconProps) => import("react/jsx-runtime").JSX.Element;
102
+ Tokens: React.ForwardRefExoticComponent<Omit<CardTokensProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
70
103
  Heading: React.ForwardRefExoticComponent<Omit<CardHeadingProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
71
104
  Description: React.ForwardRefExoticComponent<Omit<CardDescriptionProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
72
105
  };
@@ -1,7 +1,10 @@
1
1
  import React from 'react';
2
2
  import { type TextProps } from '../Text';
3
3
  import type { BaseProps } from '../component-helpers';
4
- export type EyebrowTextProps = Omit<TextProps, 'as' | 'animate'> & Omit<BaseProps<HTMLSpanElement>, 'animate'> & {
4
+ export declare const EyebrowTextVariants: readonly ["default", "muted", "accent"];
5
+ export type EyebrowTextVariant = (typeof EyebrowTextVariants)[number];
6
+ export type EyebrowTextProps = Omit<TextProps, 'as' | 'animate' | 'variant'> & Omit<BaseProps<HTMLSpanElement>, 'animate'> & {
7
+ variant?: EyebrowTextVariant;
5
8
  ['data-testid']?: string;
6
9
  };
7
10
  /**
@@ -119,7 +119,7 @@ export declare const Hero: React.ForwardRefExoticComponent<Omit<React.PropsWithC
119
119
  as?: "button";
120
120
  } & {
121
121
  children?: React.ReactNode | undefined;
122
- }, "ref">) & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
122
+ }, "ref">) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
123
123
  SecondaryAction: React.ForwardRefExoticComponent<(Omit<{
124
124
  as?: "a" | "button";
125
125
  href: string;
@@ -134,7 +134,7 @@ export declare const Hero: React.ForwardRefExoticComponent<Omit<React.PropsWithC
134
134
  as?: "button";
135
135
  } & {
136
136
  children?: React.ReactNode | undefined;
137
- }, "ref">) & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
137
+ }, "ref">) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
138
138
  Image: React.ForwardRefExoticComponent<(Omit<{
139
139
  position?: import("./HeroContext").HeroMediaPositions;
140
140
  enableBorder?: boolean;
@@ -4,7 +4,7 @@ export type HeroAlign = (typeof HeroAlignOptions)[number];
4
4
  export declare const HeroVariantOptions: readonly ["default", "gridline", "gridline-expressive"];
5
5
  export type HeroVariant = (typeof HeroVariantOptions)[number];
6
6
  export declare const heroMediaPositions: readonly ["block-end", "block-end-padded", "inline-start", "inline-end", "inline-end-padded", "inline-start-padded"];
7
- export declare const heroMediaInlinePositions: ("inline-end" | "inline-start" | "block-end" | "block-end-padded" | "inline-end-padded" | "inline-start-padded")[];
7
+ export declare const heroMediaInlinePositions: ("block-end" | "block-end-padded" | "inline-start" | "inline-end" | "inline-end-padded" | "inline-start-padded")[];
8
8
  export type HeroMediaPositions = (typeof heroMediaPositions)[number];
9
9
  export type HeroMediaInlinePositions = (typeof heroMediaInlinePositions)[number];
10
10
  type HeroContextType = {
@@ -24,5 +24,5 @@ export declare const HeroPrimaryAction: React.ForwardRefExoticComponent<(Omit<{
24
24
  as?: "button";
25
25
  } & {
26
26
  children?: React.ReactNode | undefined;
27
- }, "ref">) & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
27
+ }, "ref">) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
28
28
  export {};
@@ -24,5 +24,5 @@ export declare const HeroSecondaryAction: React.ForwardRefExoticComponent<(Omit<
24
24
  as?: "button";
25
25
  } & {
26
26
  children?: React.ReactNode | undefined;
27
- }, "ref">) & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
27
+ }, "ref">) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
28
28
  export {};
@@ -1,12 +1,10 @@
1
1
  import React, { PropsWithChildren, type JSX } from 'react';
2
2
  import { HeadingProps, type ImageProps, LinkProps } from '..';
3
+ import { type IconProps } from '../Icon';
3
4
  import type { BaseProps } from '../component-helpers';
4
- /**
5
- * Design tokens
6
- */
7
- import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/pillar/colors-with-modes.css';
8
5
  export declare const PillarIconColors: readonly ["default", "blue", "coral", "green", "gray", "indigo", "lemon", "lime", "orange", "pink", "purple", "red", "teal", "yellow"];
9
- export declare const defaultPillarIconColor: "default";
6
+ export declare const defaultPillarIconColor = "green";
7
+ export declare const defaultPillarIconSize: "small";
10
8
  export type PillarProps<C extends keyof JSX.IntrinsicElements = 'div'> = React.HTMLAttributes<C> & {
11
9
  /**
12
10
  * The HTML element used to render the Pillar.
@@ -23,14 +21,16 @@ export type PillarProps<C extends keyof JSX.IntrinsicElements = 'div'> = React.H
23
21
  } & (C extends 'article' ? PropsWithChildren<BaseProps<HTMLElement>> : PropsWithChildren<BaseProps<HTMLDivElement>>);
24
22
  type PillarImageProps = ImageProps;
25
23
  declare function PillarImage({ className, ...rest }: PillarImageProps): import("react/jsx-runtime").JSX.Element;
26
- type IconComponent = React.ComponentType<{
24
+ type IconComponentProps = React.SVGAttributes<SVGElement> & {
27
25
  size?: number;
28
- }>;
29
- type PillarIconProps = BaseProps<HTMLSpanElement> & {
30
- icon: React.ReactNode | IconComponent;
26
+ };
27
+ type IconComponent = React.ComponentType<IconComponentProps> | React.ExoticComponent<IconComponentProps>;
28
+ type IconElement = React.ReactElement<IconComponentProps>;
29
+ export type PillarIconProps = Omit<IconProps, 'icon' | 'color'> & {
30
+ icon: IconElement | IconComponent;
31
31
  color?: (typeof PillarIconColors)[number];
32
32
  };
33
- declare function PillarIcon({ icon: Icon, className, color, ...rest }: PillarIconProps): import("react/jsx-runtime").JSX.Element;
33
+ declare function PillarIcon({ icon, className, color, hasBackground, size, ...props }: PillarIconProps): import("react/jsx-runtime").JSX.Element;
34
34
  type PillarHeadingProps = BaseProps<HTMLHeadingElement> & {
35
35
  children: React.ReactNode | React.ReactNode[];
36
36
  as?: Exclude<HeadingProps['as'], 'h1'>;
@@ -1,7 +1,7 @@
1
- import React, { PropsWithChildren } from 'react';
1
+ import React, { HTMLAttributes, PropsWithChildren } from 'react';
2
2
  import type { ListItemProps } from '../list/ListItem/ListItem';
3
3
  import type { BaseProps } from '../component-helpers';
4
- import { ButtonBaseProps, HeadingProps, LabelProps } from '..';
4
+ import { ButtonBaseProps, HeadingProps } from '..';
5
5
  /**
6
6
  * Design tokens
7
7
  */
@@ -12,7 +12,10 @@ export type PricingOptionsProps = {
12
12
  align?: AlignOptions;
13
13
  variant?: 'default' | 'default-gradient' | 'cards' | 'cards-gradient';
14
14
  ['data-testid']?: string;
15
- } & PropsWithChildren<BaseProps<HTMLDivElement>>;
15
+ } & PropsWithChildren<BaseProps<HTMLDivElement>> & HTMLAttributes<HTMLDivElement>;
16
+ type PricingOptionsLabelProps = PropsWithChildren<{
17
+ 'data-testid'?: string;
18
+ }>;
16
19
  export type PricingOptionsItem = {
17
20
  ['data-testid']?: string;
18
21
  /**
@@ -23,9 +26,6 @@ export type PricingOptionsItem = {
23
26
  */
24
27
  leadingComponent?: React.ReactElement;
25
28
  } & PropsWithChildren<BaseProps<HTMLDivElement>>;
26
- type PricingOptionsLabelProps = PropsWithChildren<BaseProps<HTMLSpanElement>> & {
27
- 'data-testid'?: string;
28
- } & LabelProps;
29
29
  type PricingOptionsDescriptionProps = PropsWithChildren<BaseProps<HTMLParagraphElement>> & {
30
30
  'data-testid'?: string;
31
31
  };
@@ -61,6 +61,7 @@ type PricingOptionsFeatureListGroupHeadingProps = PropsWithChildren<BaseProps<HT
61
61
  };
62
62
  type PricingOptionsFeatureListItemProps = PropsWithChildren<BaseProps<HTMLLIElement>> & {
63
63
  'data-testid'?: string;
64
+ infoTooltip?: string;
64
65
  variant?: 'included' | 'excluded';
65
66
  } & Omit<ListItemProps, 'variant'>;
66
67
  type AsA = {
@@ -73,6 +74,13 @@ type AsButton = {
73
74
  'data-testid'?: string;
74
75
  } & React.ButtonHTMLAttributes<BaseProps<HTMLButtonElement>> & ButtonBaseProps;
75
76
  type PricingOptionsActionsProps = AsA | AsButton;
77
+ type PricingOptionsActionsMessageProps = PropsWithChildren<BaseProps<HTMLDivElement>> & {
78
+ 'data-testid'?: string;
79
+ leadingComponent?: React.ReactElement;
80
+ };
81
+ type PricingOptionsMenuActionProps = PropsWithChildren<BaseProps<HTMLDivElement>> & {
82
+ 'data-testid'?: string;
83
+ };
76
84
  type PricingOptionsFootnoteProps = PropsWithChildren<BaseProps<HTMLParagraphElement>> & {
77
85
  'data-testid'?: string;
78
86
  };
@@ -81,27 +89,32 @@ type PricingOptionsFootnoteProps = PropsWithChildren<BaseProps<HTMLParagraphElem
81
89
  * {@link https://primer.style/brand/components/PricingOptions/ See usage examples}.
82
90
  */
83
91
  export declare const PricingOptions: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<PricingOptionsProps>, "ref"> & React.RefAttributes<HTMLDivElement>> & {
92
+ ActionsMessage: React.ForwardRefExoticComponent<Omit<PricingOptionsActionsMessageProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
84
93
  Description: React.ForwardRefExoticComponent<Omit<PricingOptionsDescriptionProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
85
94
  FeatureList: React.ForwardRefExoticComponent<Omit<PricingOptionsFeatureListProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
86
95
  FeatureListHeading: React.ForwardRefExoticComponent<Omit<PricingOptionsFeatureListHeadingProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
87
96
  FeatureListGroupHeading: React.ForwardRefExoticComponent<Omit<PricingOptionsFeatureListGroupHeadingProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
88
97
  FeatureListItem: React.ForwardRefExoticComponent<Omit<PricingOptionsFeatureListItemProps, "ref"> & React.RefAttributes<HTMLLIElement>>;
89
98
  Footnote: React.ForwardRefExoticComponent<Omit<PricingOptionsFootnoteProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
99
+ Label: ({ children }: PricingOptionsLabelProps) => import("react/jsx-runtime").JSX.Element;
90
100
  Heading: React.ForwardRefExoticComponent<Omit<PricingOptionsHeadingProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
91
101
  Item: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<PricingOptionsItem>, "ref"> & React.RefAttributes<HTMLDivElement>>;
92
- Label: React.ForwardRefExoticComponent<Omit<PricingOptionsLabelProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
102
+ MenuAction: React.ForwardRefExoticComponent<Omit<PricingOptionsMenuActionProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
93
103
  Price: React.ForwardRefExoticComponent<Omit<PricingOptionsPriceProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
94
- PrimaryAction: React.ForwardRefExoticComponent<React.PropsWithChildren<PricingOptionsActionsProps> & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
95
- SecondaryAction: React.ForwardRefExoticComponent<React.PropsWithChildren<PricingOptionsActionsProps> & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
104
+ PrimaryAction: React.ForwardRefExoticComponent<React.PropsWithChildren<PricingOptionsActionsProps> & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
105
+ SecondaryAction: React.ForwardRefExoticComponent<React.PropsWithChildren<PricingOptionsActionsProps> & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
96
106
  testIds: {
97
107
  root: string;
98
108
  item: string;
109
+ labelRow: string;
99
110
  heading: string;
100
111
  label: string;
101
112
  description: string;
102
113
  price: string;
114
+ actionsMessage: string;
103
115
  primaryAction: string;
104
116
  secondaryAction: string;
117
+ menuAction: string;
105
118
  featureList: string;
106
119
  featureListHeading: string;
107
120
  featureListItem: string;
@@ -0,0 +1,46 @@
1
+ import React from 'react';
2
+ import type { BaseProps } from '../component-helpers';
3
+ /**
4
+ * Design tokens
5
+ */
6
+ import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/token/colors-with-modes.css';
7
+ export declare const TokenVariants: readonly ["default", "accent", "outline", "invisible"];
8
+ export declare const defaultTokenVariant: "default";
9
+ type TokenLeadingVisual = React.ReactElement | React.ComponentType<{
10
+ className?: string;
11
+ }>;
12
+ type TokenSharedProps = {
13
+ /**
14
+ * The leading visual appears before the Token content.
15
+ * Pass an element to supply custom props, or a component type that accepts an optional className.
16
+ */
17
+ leadingVisual?: TokenLeadingVisual;
18
+ /**
19
+ * The variant variations available in Token.
20
+ */
21
+ variant?: (typeof TokenVariants)[number];
22
+ /**
23
+ * The HTML element rendered by Token.
24
+ */
25
+ as?: 'span' | 'a';
26
+ ['data-testid']?: string;
27
+ };
28
+ type TokenSpanProps = BaseProps<HTMLSpanElement> & TokenSharedProps & {
29
+ as?: 'span';
30
+ } & React.ComponentPropsWithoutRef<'span'>;
31
+ type TokenAnchorProps = BaseProps<HTMLAnchorElement> & TokenSharedProps & {
32
+ as: 'a';
33
+ href: string;
34
+ } & Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'>;
35
+ export type TokenProps = TokenSpanProps | TokenAnchorProps;
36
+ /**
37
+ * Use a Token to group short metadata or categories, with optional leading visuals.
38
+ * @see https://primer.style/brand
39
+ */
40
+ export declare const Token: React.ForwardRefExoticComponent<(Omit<TokenSpanProps, "ref"> | Omit<TokenAnchorProps, "ref">) & React.RefAttributes<HTMLSpanElement | HTMLAnchorElement>> & {
41
+ testIds: {
42
+ root: string;
43
+ readonly leadingVisual: string;
44
+ };
45
+ };
46
+ export {};
@@ -0,0 +1 @@
1
+ export * from './Token';