@primer/react-brand 0.21.1-rc.ab7bd87 → 0.22.0-rc.9fb73f5

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 (239) hide show
  1. package/lib/CTABanner/CTABanner.d.ts +4 -4
  2. package/lib/Grid/Grid.d.ts +9 -1
  3. package/lib/Hero/Hero.d.ts +6 -0
  4. package/lib/LogoSuite/LogoSuite.d.ts +111 -0
  5. package/lib/LogoSuite/LogoSuite.visual.spec.d.ts +1 -0
  6. package/lib/LogoSuite/index.d.ts +1 -0
  7. package/lib/Stack/Stack.d.ts +5 -5
  8. package/lib/css/main.css +4634 -4418
  9. package/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes.css +1 -1
  10. package/lib/design-tokens/css/tokens/base/colors/color-scales.css +1 -1
  11. package/lib/design-tokens/css/tokens/base/size/size.css +1 -1
  12. package/lib/design-tokens/css/tokens/base/typography/typography.css +1 -1
  13. package/lib/design-tokens/css/tokens/functional/animation/base.css +1 -1
  14. package/lib/design-tokens/css/tokens/functional/colors/global-with-modes.css +1 -1
  15. package/lib/design-tokens/css/tokens/functional/colors/global.css +1 -1
  16. package/lib/design-tokens/css/tokens/functional/components/accordion/colors-with-modes.css +1 -1
  17. package/lib/design-tokens/css/tokens/functional/components/action-menu/colors-with-modes.css +1 -1
  18. package/lib/design-tokens/css/tokens/functional/components/anchor-nav/colors-with-modes.css +1 -1
  19. package/lib/design-tokens/css/tokens/functional/components/button/colors-with-modes.css +1 -1
  20. package/lib/design-tokens/css/tokens/functional/components/card/base.css +1 -1
  21. package/lib/design-tokens/css/tokens/functional/components/card/colors-with-modes.css +1 -1
  22. package/lib/design-tokens/css/tokens/functional/components/card/colors.css +1 -1
  23. package/lib/design-tokens/css/tokens/functional/components/comparison-table/colors-with-modes.css +1 -1
  24. package/lib/design-tokens/css/tokens/functional/components/comparison-table/comparison-table.css +1 -1
  25. package/lib/design-tokens/css/tokens/functional/components/control/base.css +1 -1
  26. package/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes.css +1 -1
  27. package/lib/design-tokens/css/tokens/functional/components/cta-banner/colors-with-modes.css +1 -1
  28. package/lib/design-tokens/css/tokens/functional/components/faq/base.css +1 -1
  29. package/lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes.css +1 -1
  30. package/lib/design-tokens/css/tokens/functional/components/faq/colors.css +1 -1
  31. package/lib/design-tokens/css/tokens/functional/components/faq/faq.css +1 -1
  32. package/lib/design-tokens/css/tokens/functional/components/footer/colors-with-modes.css +1 -1
  33. package/lib/design-tokens/css/tokens/functional/components/footer/colors.css +1 -1
  34. package/lib/design-tokens/css/tokens/functional/components/grid/colors-with-modes.css +1 -1
  35. package/lib/design-tokens/css/tokens/functional/components/grid/colors.css +1 -1
  36. package/lib/design-tokens/css/tokens/functional/components/grid/grid.css +1 -1
  37. package/lib/design-tokens/css/tokens/functional/components/hero/base.css +1 -1
  38. package/lib/design-tokens/css/tokens/functional/components/image/base.css +1 -1
  39. package/lib/design-tokens/css/tokens/functional/components/inline-link/base.css +1 -1
  40. package/lib/design-tokens/css/tokens/functional/components/inline-link/colors-with-modes.css +3 -3
  41. package/lib/design-tokens/css/tokens/functional/components/inline-link/colors.css +3 -3
  42. package/lib/design-tokens/css/tokens/functional/components/label/colors-with-modes.css +1 -1
  43. package/lib/design-tokens/css/tokens/functional/components/label/colors.css +1 -1
  44. package/lib/design-tokens/css/tokens/functional/components/link/colors-with-modes.css +3 -3
  45. package/lib/design-tokens/css/tokens/functional/components/link/colors.css +2 -2
  46. package/lib/design-tokens/css/tokens/functional/components/logosuite/base.css +12 -0
  47. package/lib/design-tokens/css/tokens/functional/components/logosuite/colors-with-modes.css +15 -0
  48. package/lib/design-tokens/css/tokens/functional/components/logosuite/colors.css +9 -0
  49. package/lib/design-tokens/css/tokens/functional/components/pillar/colors-with-modes.css +1 -1
  50. package/lib/design-tokens/css/tokens/functional/components/pillar/colors.css +1 -1
  51. package/lib/design-tokens/css/tokens/functional/components/prose/base.css +1 -1
  52. package/lib/design-tokens/css/tokens/functional/components/river/base.css +1 -1
  53. package/lib/design-tokens/css/tokens/functional/components/river/river.css +1 -1
  54. package/lib/design-tokens/css/tokens/functional/components/subdomain-nav-bar/colors-with-modes.css +1 -1
  55. package/lib/design-tokens/css/tokens/functional/size/border.css +1 -1
  56. package/lib/design-tokens/css/tokens/functional/size/breakpoints.css +1 -1
  57. package/lib/design-tokens/css/tokens/functional/size/size-coarse.css +1 -1
  58. package/lib/design-tokens/css/tokens/functional/size/size-fine.css +1 -1
  59. package/lib/design-tokens/css/tokens/functional/size/size.css +1 -1
  60. package/lib/design-tokens/css/tokens/functional/typography/typography-responsive.css +1 -1
  61. package/lib/design-tokens/css/tokens/functional/typography/typography.css +1 -1
  62. package/lib/design-tokens/js/module/tokens/base/colors/color-scales.js +1 -1
  63. package/lib/design-tokens/js/module/tokens/base/size/size.js +1 -1
  64. package/lib/design-tokens/js/module/tokens/base/typography/typography.js +1 -1
  65. package/lib/design-tokens/js/module/tokens/functional/animation/base.js +1 -1
  66. package/lib/design-tokens/js/module/tokens/functional/colors/global.js +1 -1
  67. package/lib/design-tokens/js/module/tokens/functional/components/card/base.js +1 -1
  68. package/lib/design-tokens/js/module/tokens/functional/components/card/colors.js +1 -1
  69. package/lib/design-tokens/js/module/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  70. package/lib/design-tokens/js/module/tokens/functional/components/control/base.js +1 -1
  71. package/lib/design-tokens/js/module/tokens/functional/components/faq/base.js +1 -1
  72. package/lib/design-tokens/js/module/tokens/functional/components/faq/colors.js +1 -1
  73. package/lib/design-tokens/js/module/tokens/functional/components/faq/faq.js +1 -1
  74. package/lib/design-tokens/js/module/tokens/functional/components/footer/colors.js +1 -1
  75. package/lib/design-tokens/js/module/tokens/functional/components/grid/colors.js +1 -1
  76. package/lib/design-tokens/js/module/tokens/functional/components/grid/grid.js +1 -1
  77. package/lib/design-tokens/js/module/tokens/functional/components/hero/base.js +1 -1
  78. package/lib/design-tokens/js/module/tokens/functional/components/image/base.js +1 -1
  79. package/lib/design-tokens/js/module/tokens/functional/components/inline-link/base.js +1 -1
  80. package/lib/design-tokens/js/module/tokens/functional/components/inline-link/colors.js +5 -5
  81. package/lib/design-tokens/js/module/tokens/functional/components/label/colors.js +1 -1
  82. package/lib/design-tokens/js/module/tokens/functional/components/link/colors.js +5 -5
  83. package/lib/design-tokens/js/module/tokens/functional/components/logosuite/base.js +98 -0
  84. package/lib/design-tokens/js/module/tokens/functional/components/logosuite/colors.js +53 -0
  85. package/lib/design-tokens/js/module/tokens/functional/components/pillar/colors.js +1 -1
  86. package/lib/design-tokens/js/module/tokens/functional/components/prose/base.js +1 -1
  87. package/lib/design-tokens/js/module/tokens/functional/components/river/base.js +1 -1
  88. package/lib/design-tokens/js/module/tokens/functional/components/river/river.js +1 -1
  89. package/lib/design-tokens/js/module/tokens/functional/size/border.js +1 -1
  90. package/lib/design-tokens/js/module/tokens/functional/size/breakpoints.js +1 -1
  91. package/lib/design-tokens/js/module/tokens/functional/size/size-coarse.js +1 -1
  92. package/lib/design-tokens/js/module/tokens/functional/size/size-fine.js +1 -1
  93. package/lib/design-tokens/js/module/tokens/functional/size/size.js +1 -1
  94. package/lib/design-tokens/js/module/tokens/functional/size/viewport.js +1 -1
  95. package/lib/design-tokens/js/module/tokens/functional/typography/typography-responsive.js +1 -1
  96. package/lib/design-tokens/js/module/tokens/functional/typography/typography.js +1 -1
  97. package/lib/design-tokens/js/tokens/base/colors/color-scales.js +1 -1
  98. package/lib/design-tokens/js/tokens/base/size/size.js +1 -1
  99. package/lib/design-tokens/js/tokens/base/typography/typography.js +1 -1
  100. package/lib/design-tokens/js/tokens/functional/animation/base.js +1 -1
  101. package/lib/design-tokens/js/tokens/functional/colors/global.js +1 -1
  102. package/lib/design-tokens/js/tokens/functional/components/card/base.js +1 -1
  103. package/lib/design-tokens/js/tokens/functional/components/card/colors.js +1 -1
  104. package/lib/design-tokens/js/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  105. package/lib/design-tokens/js/tokens/functional/components/control/base.js +1 -1
  106. package/lib/design-tokens/js/tokens/functional/components/faq/base.js +1 -1
  107. package/lib/design-tokens/js/tokens/functional/components/faq/colors.js +1 -1
  108. package/lib/design-tokens/js/tokens/functional/components/faq/faq.js +1 -1
  109. package/lib/design-tokens/js/tokens/functional/components/footer/colors.js +1 -1
  110. package/lib/design-tokens/js/tokens/functional/components/grid/colors.js +1 -1
  111. package/lib/design-tokens/js/tokens/functional/components/grid/grid.js +1 -1
  112. package/lib/design-tokens/js/tokens/functional/components/hero/base.js +1 -1
  113. package/lib/design-tokens/js/tokens/functional/components/image/base.js +1 -1
  114. package/lib/design-tokens/js/tokens/functional/components/inline-link/base.js +1 -1
  115. package/lib/design-tokens/js/tokens/functional/components/inline-link/colors.js +3 -3
  116. package/lib/design-tokens/js/tokens/functional/components/label/colors.js +1 -1
  117. package/lib/design-tokens/js/tokens/functional/components/link/colors.js +2 -2
  118. package/lib/design-tokens/js/tokens/functional/components/logosuite/base.js +10 -0
  119. package/lib/design-tokens/js/tokens/functional/components/logosuite/colors.js +7 -0
  120. package/lib/design-tokens/js/tokens/functional/components/pillar/colors.js +1 -1
  121. package/lib/design-tokens/js/tokens/functional/components/prose/base.js +1 -1
  122. package/lib/design-tokens/js/tokens/functional/components/river/base.js +1 -1
  123. package/lib/design-tokens/js/tokens/functional/components/river/river.js +1 -1
  124. package/lib/design-tokens/js/tokens/functional/size/border.js +1 -1
  125. package/lib/design-tokens/js/tokens/functional/size/breakpoints.js +1 -1
  126. package/lib/design-tokens/js/tokens/functional/size/size-coarse.js +1 -1
  127. package/lib/design-tokens/js/tokens/functional/size/size-fine.js +1 -1
  128. package/lib/design-tokens/js/tokens/functional/size/size.js +1 -1
  129. package/lib/design-tokens/js/tokens/functional/size/viewport.js +1 -1
  130. package/lib/design-tokens/js/tokens/functional/typography/typography-responsive.js +1 -1
  131. package/lib/design-tokens/js/tokens/functional/typography/typography.js +1 -1
  132. package/lib/design-tokens/scss/tokens/base/colors/color-scales.scss +1 -1
  133. package/lib/design-tokens/scss/tokens/base/size/size.scss +1 -1
  134. package/lib/design-tokens/scss/tokens/base/typography/typography.scss +1 -1
  135. package/lib/design-tokens/scss/tokens/functional/animation/base.scss +1 -1
  136. package/lib/design-tokens/scss/tokens/functional/colors/global.scss +1 -1
  137. package/lib/design-tokens/scss/tokens/functional/components/card/base.scss +1 -1
  138. package/lib/design-tokens/scss/tokens/functional/components/card/colors.scss +1 -1
  139. package/lib/design-tokens/scss/tokens/functional/components/comparison-table/comparison-table.scss +1 -1
  140. package/lib/design-tokens/scss/tokens/functional/components/control/base.scss +1 -1
  141. package/lib/design-tokens/scss/tokens/functional/components/faq/base.scss +1 -1
  142. package/lib/design-tokens/scss/tokens/functional/components/faq/colors.scss +1 -1
  143. package/lib/design-tokens/scss/tokens/functional/components/faq/faq.scss +1 -1
  144. package/lib/design-tokens/scss/tokens/functional/components/footer/colors.scss +1 -1
  145. package/lib/design-tokens/scss/tokens/functional/components/grid/colors.scss +1 -1
  146. package/lib/design-tokens/scss/tokens/functional/components/grid/grid.scss +1 -1
  147. package/lib/design-tokens/scss/tokens/functional/components/hero/base.scss +1 -1
  148. package/lib/design-tokens/scss/tokens/functional/components/image/base.scss +1 -1
  149. package/lib/design-tokens/scss/tokens/functional/components/inline-link/base.scss +1 -1
  150. package/lib/design-tokens/scss/tokens/functional/components/inline-link/colors.scss +3 -3
  151. package/lib/design-tokens/scss/tokens/functional/components/label/colors.scss +1 -1
  152. package/lib/design-tokens/scss/tokens/functional/components/link/colors.scss +2 -2
  153. package/lib/design-tokens/scss/tokens/functional/components/logosuite/base.scss +9 -0
  154. package/lib/design-tokens/scss/tokens/functional/components/logosuite/colors.scss +6 -0
  155. package/lib/design-tokens/scss/tokens/functional/components/pillar/colors.scss +1 -1
  156. package/lib/design-tokens/scss/tokens/functional/components/prose/base.scss +1 -1
  157. package/lib/design-tokens/scss/tokens/functional/components/river/base.scss +1 -1
  158. package/lib/design-tokens/scss/tokens/functional/components/river/river.scss +1 -1
  159. package/lib/design-tokens/scss/tokens/functional/size/border.scss +1 -1
  160. package/lib/design-tokens/scss/tokens/functional/size/breakpoints.scss +1 -1
  161. package/lib/design-tokens/scss/tokens/functional/size/size-coarse.scss +1 -1
  162. package/lib/design-tokens/scss/tokens/functional/size/size-fine.scss +1 -1
  163. package/lib/design-tokens/scss/tokens/functional/size/size.scss +1 -1
  164. package/lib/design-tokens/scss/tokens/functional/size/viewport.scss +1 -1
  165. package/lib/design-tokens/scss/tokens/functional/typography/typography-responsive.scss +1 -1
  166. package/lib/design-tokens/scss/tokens/functional/typography/typography.scss +1 -1
  167. package/lib/design-tokens/ts/tokens/base/colors/color-scales.d.ts +1 -1
  168. package/lib/design-tokens/ts/tokens/base/colors/color-scales.js +1 -1
  169. package/lib/design-tokens/ts/tokens/base/size/size.d.ts +1 -1
  170. package/lib/design-tokens/ts/tokens/base/size/size.js +1 -1
  171. package/lib/design-tokens/ts/tokens/base/typography/typography.d.ts +1 -1
  172. package/lib/design-tokens/ts/tokens/base/typography/typography.js +1 -1
  173. package/lib/design-tokens/ts/tokens/functional/animation/base.d.ts +1 -1
  174. package/lib/design-tokens/ts/tokens/functional/animation/base.js +1 -1
  175. package/lib/design-tokens/ts/tokens/functional/colors/global.d.ts +1 -1
  176. package/lib/design-tokens/ts/tokens/functional/colors/global.js +1 -1
  177. package/lib/design-tokens/ts/tokens/functional/components/card/base.d.ts +1 -1
  178. package/lib/design-tokens/ts/tokens/functional/components/card/base.js +1 -1
  179. package/lib/design-tokens/ts/tokens/functional/components/card/colors.d.ts +1 -1
  180. package/lib/design-tokens/ts/tokens/functional/components/card/colors.js +1 -1
  181. package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.d.ts +1 -1
  182. package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  183. package/lib/design-tokens/ts/tokens/functional/components/control/base.d.ts +1 -1
  184. package/lib/design-tokens/ts/tokens/functional/components/control/base.js +1 -1
  185. package/lib/design-tokens/ts/tokens/functional/components/faq/base.d.ts +1 -1
  186. package/lib/design-tokens/ts/tokens/functional/components/faq/base.js +1 -1
  187. package/lib/design-tokens/ts/tokens/functional/components/faq/colors.d.ts +1 -1
  188. package/lib/design-tokens/ts/tokens/functional/components/faq/colors.js +1 -1
  189. package/lib/design-tokens/ts/tokens/functional/components/faq/faq.d.ts +1 -1
  190. package/lib/design-tokens/ts/tokens/functional/components/faq/faq.js +1 -1
  191. package/lib/design-tokens/ts/tokens/functional/components/footer/colors.d.ts +1 -1
  192. package/lib/design-tokens/ts/tokens/functional/components/footer/colors.js +1 -1
  193. package/lib/design-tokens/ts/tokens/functional/components/grid/colors.d.ts +1 -1
  194. package/lib/design-tokens/ts/tokens/functional/components/grid/colors.js +1 -1
  195. package/lib/design-tokens/ts/tokens/functional/components/grid/grid.d.ts +1 -1
  196. package/lib/design-tokens/ts/tokens/functional/components/grid/grid.js +1 -1
  197. package/lib/design-tokens/ts/tokens/functional/components/hero/base.d.ts +1 -1
  198. package/lib/design-tokens/ts/tokens/functional/components/hero/base.js +1 -1
  199. package/lib/design-tokens/ts/tokens/functional/components/image/base.d.ts +1 -1
  200. package/lib/design-tokens/ts/tokens/functional/components/image/base.js +1 -1
  201. package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.d.ts +1 -1
  202. package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.js +1 -1
  203. package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.d.ts +1 -1
  204. package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.js +3 -3
  205. package/lib/design-tokens/ts/tokens/functional/components/label/colors.d.ts +1 -1
  206. package/lib/design-tokens/ts/tokens/functional/components/label/colors.js +1 -1
  207. package/lib/design-tokens/ts/tokens/functional/components/link/colors.d.ts +1 -1
  208. package/lib/design-tokens/ts/tokens/functional/components/link/colors.js +2 -2
  209. package/lib/design-tokens/ts/tokens/functional/components/logosuite/base.d.ts +23 -0
  210. package/lib/design-tokens/ts/tokens/functional/components/logosuite/base.js +22 -0
  211. package/lib/design-tokens/ts/tokens/functional/components/logosuite/colors.d.ts +20 -0
  212. package/lib/design-tokens/ts/tokens/functional/components/logosuite/colors.js +19 -0
  213. package/lib/design-tokens/ts/tokens/functional/components/pillar/colors.d.ts +1 -1
  214. package/lib/design-tokens/ts/tokens/functional/components/pillar/colors.js +1 -1
  215. package/lib/design-tokens/ts/tokens/functional/components/prose/base.d.ts +1 -1
  216. package/lib/design-tokens/ts/tokens/functional/components/prose/base.js +1 -1
  217. package/lib/design-tokens/ts/tokens/functional/components/river/base.d.ts +1 -1
  218. package/lib/design-tokens/ts/tokens/functional/components/river/base.js +1 -1
  219. package/lib/design-tokens/ts/tokens/functional/components/river/river.d.ts +1 -1
  220. package/lib/design-tokens/ts/tokens/functional/components/river/river.js +1 -1
  221. package/lib/design-tokens/ts/tokens/functional/size/border.d.ts +1 -1
  222. package/lib/design-tokens/ts/tokens/functional/size/border.js +1 -1
  223. package/lib/design-tokens/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  224. package/lib/design-tokens/ts/tokens/functional/size/breakpoints.js +1 -1
  225. package/lib/design-tokens/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  226. package/lib/design-tokens/ts/tokens/functional/size/size-coarse.js +1 -1
  227. package/lib/design-tokens/ts/tokens/functional/size/size-fine.d.ts +1 -1
  228. package/lib/design-tokens/ts/tokens/functional/size/size-fine.js +1 -1
  229. package/lib/design-tokens/ts/tokens/functional/size/size.d.ts +1 -1
  230. package/lib/design-tokens/ts/tokens/functional/size/size.js +1 -1
  231. package/lib/design-tokens/ts/tokens/functional/size/viewport.d.ts +1 -1
  232. package/lib/design-tokens/ts/tokens/functional/size/viewport.js +1 -1
  233. package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.d.ts +1 -1
  234. package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.js +1 -1
  235. package/lib/design-tokens/ts/tokens/functional/typography/typography.d.ts +1 -1
  236. package/lib/design-tokens/ts/tokens/functional/typography/typography.js +1 -1
  237. package/lib/index.d.ts +1 -0
  238. package/lib/index.js +1 -1
  239. package/package.json +1 -1
@@ -23,10 +23,10 @@ export declare const CTABanner: React.ForwardRefExoticComponent<Omit<BaseProps<H
23
23
  } & {
24
24
  as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | undefined;
25
25
  size?: "1" | "2" | "3" | "4" | "5" | "6" | undefined;
26
- weight?: "light" | "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | {
27
- narrow?: "light" | "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | undefined;
28
- regular?: "light" | "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | undefined;
29
- wide?: "light" | "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | undefined;
26
+ weight?: "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "light" | {
27
+ narrow?: "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "light" | undefined;
28
+ regular?: "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "light" | undefined;
29
+ wide?: "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "light" | undefined;
30
30
  } | undefined;
31
31
  stretch?: "normal" | "condensed" | "expanded" | {
32
32
  narrow?: "normal" | "condensed" | "expanded" | undefined;
@@ -23,6 +23,10 @@ export type GridProps<T extends keyof JSX.IntrinsicElements = 'div'> = React.HTM
23
23
  * Visual aid to help with alignment.
24
24
  */
25
25
  enableOverlay?: boolean;
26
+ /**
27
+ * Fills the width of the parent container and removes the max-width.
28
+ */
29
+ fullWidth?: boolean;
26
30
  /**
27
31
  * Test id for the root element.
28
32
  */
@@ -52,6 +56,10 @@ export declare const Grid: React.NamedExoticComponent<React.HTMLAttributes<"div"
52
56
  * Visual aid to help with alignment.
53
57
  */
54
58
  enableOverlay?: boolean | undefined;
59
+ /**
60
+ * Fills the width of the parent container and removes the max-width.
61
+ */
62
+ fullWidth?: boolean | undefined;
55
63
  /**
56
64
  * Test id for the root element.
57
65
  */
@@ -59,7 +67,7 @@ export declare const Grid: React.NamedExoticComponent<React.HTMLAttributes<"div"
59
67
  } & BaseProps<HTMLDivElement> & {
60
68
  children?: React.ReactNode;
61
69
  }> & {
62
- readonly type: ({ className, children, as, enableOverlay, ["data-testid"]: testId, ...rest }: PropsWithChildren<GridProps>) => JSX.Element;
70
+ readonly type: ({ className, children, as, fullWidth, enableOverlay, ["data-testid"]: testId, ...rest }: PropsWithChildren<GridProps>) => JSX.Element;
63
71
  } & {
64
72
  Column: React.MemoExoticComponent<({ children, as, span, start, className, ...rest }: PropsWithChildren<GridColumnProps>) => JSX.Element>;
65
73
  testIds: {
@@ -3,6 +3,7 @@ import { ButtonBaseProps } from '../Button';
3
3
  import { HeadingProps } from '../Heading';
4
4
  import { TextSizes, TextWeightVariants, ResponsiveWeightMap } from '../Text';
5
5
  import { LabelProps } from '../Label';
6
+ import { ImageProps } from '../Image';
6
7
  import type { BaseProps } from '../component-helpers';
7
8
  import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/hero/base.css';
8
9
  export type HeroProps = BaseProps<HTMLElement> & {
@@ -14,6 +15,10 @@ type HeroDescriptionProps = {
14
15
  weight?: TextWeightVariants | ResponsiveWeightMap;
15
16
  } & BaseProps<HTMLParagraphElement>;
16
17
  declare function HeroDescription({ size, weight, children }: PropsWithChildren<HeroDescriptionProps>): JSX.Element;
18
+ type HeroImageProps = {
19
+ position?: 'inline-end' | 'block-end';
20
+ } & ImageProps & BaseProps<HTMLImageElement>;
21
+ declare function HeroImage({ position, className, ...rest }: PropsWithChildren<HeroImageProps>): JSX.Element;
17
22
  type HeroLabelProps = LabelProps & BaseProps<HTMLSpanElement>;
18
23
  declare function HeroLabel({ children, ...rest }: PropsWithChildren<HeroLabelProps>): JSX.Element;
19
24
  export declare const Hero: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<HeroProps>, "ref"> & React.RefAttributes<HTMLElement>> & {
@@ -49,6 +54,7 @@ export declare const Hero: React.ForwardRefExoticComponent<Omit<React.PropsWithC
49
54
  } & {
50
55
  children?: React.ReactNode;
51
56
  }, "ref">) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
57
+ Image: typeof HeroImage;
52
58
  Label: typeof HeroLabel;
53
59
  };
54
60
  export {};
@@ -0,0 +1,111 @@
1
+ import React, { PropsWithChildren } from 'react';
2
+ import type { BaseProps } from '../component-helpers';
3
+ import { HeadingProps } from '../';
4
+ /**
5
+ * Design tokens
6
+ */
7
+ import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/logosuite/colors-with-modes.css';
8
+ import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/logosuite/base.css';
9
+ type LogoSuiteProps = {
10
+ /**
11
+ * The horizontal alignment of the LogoSuite.
12
+ */
13
+ align?: 'start' | 'center' | 'justify';
14
+ /**
15
+ * Whether to render a divider immediately after the LogoSuite.
16
+ */
17
+ hasDivider?: boolean;
18
+ /**
19
+ * Test id for the root LogoSuite element.
20
+ */
21
+ 'data-testid'?: string;
22
+ } & BaseProps<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement>;
23
+ type LogoSuiteHeadingProps = BaseProps<HTMLHeadingElement> & HeadingProps & {
24
+ /**
25
+ * Whether to visually hide the heading.
26
+ */
27
+ visuallyHidden?: boolean;
28
+ };
29
+ /**
30
+ * Use LogoSuite to present a list logos, such as sponsors or vendors.
31
+ * @see https://primer.style/brand/components/LogoSuite
32
+ */
33
+ export declare const LogoSuite: (({ align, children, className, hasDivider, "data-testid": testId, }: PropsWithChildren<LogoSuiteProps>) => JSX.Element) & {
34
+ Heading: React.ForwardRefExoticComponent<Omit<LogoSuiteHeadingProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
35
+ Description: React.ForwardRefExoticComponent<(Omit<BaseProps<HTMLParagraphElement> & {
36
+ size?: "700" | "600" | "500" | "400" | "300" | "200" | "100" | undefined;
37
+ variant?: "default" | "muted" | undefined;
38
+ weight?: "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "light" | import("../").ResponsiveWeightMap | undefined;
39
+ align?: "start" | "center" | "end" | undefined;
40
+ } & {
41
+ as?: "span" | "div" | "em" | "p" | "strong" | undefined;
42
+ } & React.HTMLAttributes<HTMLParagraphElement> & {
43
+ as?: "p" | undefined;
44
+ } & {
45
+ children: React.ReactNode | React.ReactNode[];
46
+ }, "ref"> | Omit<BaseProps<HTMLParagraphElement> & {
47
+ size?: "700" | "600" | "500" | "400" | "300" | "200" | "100" | undefined;
48
+ variant?: "default" | "muted" | undefined;
49
+ weight?: "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "light" | import("../").ResponsiveWeightMap | undefined;
50
+ align?: "start" | "center" | "end" | undefined;
51
+ } & {
52
+ as?: "span" | "div" | "em" | "p" | "strong" | undefined;
53
+ } & React.HTMLAttributes<HTMLSpanElement> & BaseProps<HTMLSpanElement> & {
54
+ as?: "span" | undefined;
55
+ } & {
56
+ children: React.ReactNode | React.ReactNode[];
57
+ }, "ref"> | Omit<BaseProps<HTMLParagraphElement> & {
58
+ size?: "700" | "600" | "500" | "400" | "300" | "200" | "100" | undefined;
59
+ variant?: "default" | "muted" | undefined;
60
+ weight?: "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "light" | import("../").ResponsiveWeightMap | undefined;
61
+ align?: "start" | "center" | "end" | undefined;
62
+ } & {
63
+ as?: "span" | "div" | "em" | "p" | "strong" | undefined;
64
+ } & React.HTMLAttributes<HTMLDivElement> & BaseProps<HTMLDivElement> & {
65
+ as?: "div" | undefined;
66
+ } & {
67
+ children: React.ReactNode | React.ReactNode[];
68
+ }, "ref"> | Omit<BaseProps<HTMLParagraphElement> & {
69
+ size?: "700" | "600" | "500" | "400" | "300" | "200" | "100" | undefined;
70
+ variant?: "default" | "muted" | undefined;
71
+ weight?: "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "light" | import("../").ResponsiveWeightMap | undefined;
72
+ align?: "start" | "center" | "end" | undefined;
73
+ } & {
74
+ as?: "span" | "div" | "em" | "p" | "strong" | undefined;
75
+ } & React.HTMLAttributes<HTMLElement> & BaseProps<HTMLElement> & {
76
+ as?: "strong" | undefined;
77
+ } & {
78
+ children: React.ReactNode | React.ReactNode[];
79
+ }, "ref"> | Omit<BaseProps<HTMLParagraphElement> & {
80
+ size?: "700" | "600" | "500" | "400" | "300" | "200" | "100" | undefined;
81
+ variant?: "default" | "muted" | undefined;
82
+ weight?: "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "light" | import("../").ResponsiveWeightMap | undefined;
83
+ align?: "start" | "center" | "end" | undefined;
84
+ } & {
85
+ as?: "span" | "div" | "em" | "p" | "strong" | undefined;
86
+ } & React.HTMLAttributes<HTMLElement> & BaseProps<HTMLElement> & {
87
+ as?: "em" | undefined;
88
+ } & {
89
+ children: React.ReactNode | React.ReactNode[];
90
+ }, "ref">) & React.RefAttributes<HTMLParagraphElement>>;
91
+ Logobar: React.ForwardRefExoticComponent<Omit<BaseProps<HTMLDivElement> & {
92
+ children: React.ReactNode | React.ReactNode[];
93
+ /**
94
+ * Enables an optional marquee effect
95
+ */
96
+ marquee?: boolean | undefined;
97
+ /**
98
+ * The speed of the marquee effect
99
+ */
100
+ marqueeSpeed?: "normal" | "slow" | undefined;
101
+ /**
102
+ * The stylistic variant of the LogoBar.
103
+ */
104
+ variant?: "muted" | "emphasis" | undefined;
105
+ }, "ref"> & React.RefAttributes<HTMLDivElement>>;
106
+ testIds: {
107
+ root: string;
108
+ readonly marqueeGroup: string;
109
+ };
110
+ };
111
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export * from './LogoSuite';
@@ -96,25 +96,25 @@ export declare const Stack: React.ForwardRefExoticComponent<Omit<BaseProps<HTMLE
96
96
  * A string value will be applied to all viewports.
97
97
  * An object can be used to define different values for different viewports.
98
98
  */
99
- gap?: "normal" | "condensed" | "none" | 4 | 24 | 16 | "spacious" | 8 | 12 | 20 | 28 | 32 | 36 | 40 | 44 | 48 | 64 | 80 | 96 | 112 | 128 | ResponsiveSpacingMap | undefined;
99
+ gap?: "normal" | "condensed" | "none" | 4 | 8 | 12 | "spacious" | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 64 | 80 | 96 | 112 | 128 | ResponsiveSpacingMap | undefined;
100
100
  /**
101
101
  * Applies vertical alignment to child elements relative to the Stack, using the align-items CSS property.
102
102
  * A string value will be applied to all viewports.
103
103
  * An object can be used to define different values for different viewports.
104
104
  */
105
- alignItems?: "center" | "flex-end" | "flex-start" | ResponsiveAlignItemsMap | undefined;
105
+ alignItems?: "center" | "flex-start" | "flex-end" | ResponsiveAlignItemsMap | undefined;
106
106
  /**
107
107
  * Defines the padding CSS property on the parent Stack.
108
108
  * A string value will be applied to all viewports.
109
109
  * An object can be used to define different values for different viewports.
110
110
  */
111
- padding?: "normal" | "condensed" | "none" | 4 | 24 | 16 | "spacious" | 8 | 12 | 20 | 28 | 32 | 36 | 40 | 44 | 48 | 64 | 80 | 96 | 112 | 128 | ResponsiveSpacingMap | undefined;
111
+ padding?: "normal" | "condensed" | "none" | 4 | 8 | 12 | "spacious" | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 64 | 80 | 96 | 112 | 128 | ResponsiveSpacingMap | undefined;
112
112
  /**
113
113
  * Applies horizontal alignment to child elements relative to the Stack, using the justify-content CSS property.
114
114
  * A string value will be applied to all viewports.
115
115
  * An object can be used to define different values for different viewports.
116
116
  */
117
- justifyContent?: "center" | "space-around" | "space-between" | "space-evenly" | "flex-end" | "flex-start" | ResponsiveJustifyContentMap | undefined;
117
+ justifyContent?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | ResponsiveJustifyContentMap | undefined;
118
118
  /**
119
119
  * Forward inline styles
120
120
  */
@@ -122,6 +122,6 @@ export declare const Stack: React.ForwardRefExoticComponent<Omit<BaseProps<HTMLE
122
122
  /**
123
123
  * Applies flex-wrap to the Stack, using the flex-wrap CSS property.
124
124
  */
125
- flexWrap?: "nowrap" | "wrap" | ResponsiveFlexWrapMap | undefined;
125
+ flexWrap?: "wrap" | "nowrap" | ResponsiveFlexWrapMap | undefined;
126
126
  } & BaseProps<HTMLDivElement>, "ref"> & React.RefAttributes<unknown>>;
127
127
  export {};