@primer/react-brand 0.36.0 → 0.36.1-rc.1b562c90

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 (360) hide show
  1. package/lib/ActionMenu/ActionMenu.d.ts +41 -41
  2. package/lib/BreakoutBanner/BreakoutBanner.d.ts +56 -56
  3. package/lib/ButtonGroup/ButtonGroup.d.ts +2 -2
  4. package/lib/CTABanner/CTABanner.d.ts +26 -26
  5. package/lib/ComparisonTable/ComparisonTable.d.ts +6 -6
  6. package/lib/ExpandableArrow/ExpandableArrow.d.ts +0 -1
  7. package/lib/FAQ/FAQ.d.ts +8 -8
  8. package/lib/Grid/Grid.d.ts +4 -4
  9. package/lib/Hero/Hero.d.ts +25 -25
  10. package/lib/IDE/IDE.d.ts +11 -11
  11. package/lib/LogoSuite/LogoSuite.d.ts +38 -38
  12. package/lib/MinimalFooter/MinimalFooter.d.ts +1 -1
  13. package/lib/Pagination/model.d.ts +0 -1
  14. package/lib/Stack/Stack.d.ts +7 -7
  15. package/lib/SubNav/SubNav.d.ts +4 -4
  16. package/lib/SubdomainNavBar/NavigationVisbilityObserver.d.ts +0 -1
  17. package/lib/Testimonial/Testimonial.d.ts +1 -1
  18. package/lib/Tooltip/Tooltip.d.ts +3 -3
  19. package/lib/VideoPlayer/VideoPlayer.d.ts +1 -1
  20. package/lib/animation/useAnimation.d.ts +0 -1
  21. package/lib/component-helpers.d.ts +1 -1
  22. package/lib/css/main.css +59 -59
  23. package/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes.css +1 -1
  24. package/lib/design-tokens/css/tokens/base/colors/light.css +1 -1
  25. package/lib/design-tokens/css/tokens/base/size/size.css +1 -1
  26. package/lib/design-tokens/css/tokens/base/typography/typography.css +1 -1
  27. package/lib/design-tokens/css/tokens/functional/animation/base.css +1 -1
  28. package/lib/design-tokens/css/tokens/functional/colors/global-with-modes.css +1 -1
  29. package/lib/design-tokens/css/tokens/functional/colors/global.css +1 -1
  30. package/lib/design-tokens/css/tokens/functional/components/accordion/colors-with-modes.css +1 -1
  31. package/lib/design-tokens/css/tokens/functional/components/action-menu/colors-with-modes.css +1 -1
  32. package/lib/design-tokens/css/tokens/functional/components/anchor-nav/colors-with-modes.css +1 -1
  33. package/lib/design-tokens/css/tokens/functional/components/bento/base.css +1 -1
  34. package/lib/design-tokens/css/tokens/functional/components/breadcrumbs/colors-with-modes.css +1 -1
  35. package/lib/design-tokens/css/tokens/functional/components/button/colors-with-modes.css +1 -1
  36. package/lib/design-tokens/css/tokens/functional/components/card/base.css +1 -1
  37. package/lib/design-tokens/css/tokens/functional/components/card/colors-with-modes.css +1 -1
  38. package/lib/design-tokens/css/tokens/functional/components/card/colors.css +1 -1
  39. package/lib/design-tokens/css/tokens/functional/components/comparison-table/colors-with-modes.css +1 -1
  40. package/lib/design-tokens/css/tokens/functional/components/comparison-table/comparison-table.css +1 -1
  41. package/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes.css +1 -1
  42. package/lib/design-tokens/css/tokens/functional/components/cta-banner/colors-with-modes.css +1 -1
  43. package/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/colors-with-modes.css +1 -1
  44. package/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/eyebrow-banner.css +1 -1
  45. package/lib/design-tokens/css/tokens/functional/components/faq/base.css +1 -1
  46. package/lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes.css +1 -1
  47. package/lib/design-tokens/css/tokens/functional/components/faq/colors.css +1 -1
  48. package/lib/design-tokens/css/tokens/functional/components/faq/faq.css +1 -1
  49. package/lib/design-tokens/css/tokens/functional/components/footer/colors-with-modes.css +1 -1
  50. package/lib/design-tokens/css/tokens/functional/components/footer/colors.css +1 -1
  51. package/lib/design-tokens/css/tokens/functional/components/grid/colors-with-modes.css +1 -1
  52. package/lib/design-tokens/css/tokens/functional/components/grid/colors.css +1 -1
  53. package/lib/design-tokens/css/tokens/functional/components/grid/grid.css +1 -1
  54. package/lib/design-tokens/css/tokens/functional/components/hero/base.css +1 -1
  55. package/lib/design-tokens/css/tokens/functional/components/ide/base.css +1 -1
  56. package/lib/design-tokens/css/tokens/functional/components/ide/colors-with-modes.css +1 -1
  57. package/lib/design-tokens/css/tokens/functional/components/image/base.css +1 -1
  58. package/lib/design-tokens/css/tokens/functional/components/inline-link/base.css +1 -1
  59. package/lib/design-tokens/css/tokens/functional/components/inline-link/colors-with-modes.css +1 -1
  60. package/lib/design-tokens/css/tokens/functional/components/inline-link/colors.css +1 -1
  61. package/lib/design-tokens/css/tokens/functional/components/label/colors-with-modes.css +1 -1
  62. package/lib/design-tokens/css/tokens/functional/components/label/colors.css +1 -1
  63. package/lib/design-tokens/css/tokens/functional/components/link/colors-with-modes.css +1 -1
  64. package/lib/design-tokens/css/tokens/functional/components/link/colors.css +1 -1
  65. package/lib/design-tokens/css/tokens/functional/components/logosuite/base.css +1 -1
  66. package/lib/design-tokens/css/tokens/functional/components/logosuite/colors-with-modes.css +1 -1
  67. package/lib/design-tokens/css/tokens/functional/components/logosuite/colors.css +1 -1
  68. package/lib/design-tokens/css/tokens/functional/components/pagination/colors-with-modes.css +1 -1
  69. package/lib/design-tokens/css/tokens/functional/components/pillar/colors-with-modes.css +1 -1
  70. package/lib/design-tokens/css/tokens/functional/components/pillar/colors.css +1 -1
  71. package/lib/design-tokens/css/tokens/functional/components/pricing-options/colors-with-modes.css +1 -1
  72. package/lib/design-tokens/css/tokens/functional/components/pricing-options/colors.css +1 -1
  73. package/lib/design-tokens/css/tokens/functional/components/pricing-options/pricing-options.css +1 -1
  74. package/lib/design-tokens/css/tokens/functional/components/prose/base.css +1 -1
  75. package/lib/design-tokens/css/tokens/functional/components/prose/colors-with-modes.css +1 -1
  76. package/lib/design-tokens/css/tokens/functional/components/river/base.css +1 -1
  77. package/lib/design-tokens/css/tokens/functional/components/river/river.css +1 -1
  78. package/lib/design-tokens/css/tokens/functional/components/river-story-scroll/colors-with-modes.css +1 -1
  79. package/lib/design-tokens/css/tokens/functional/components/section/section.css +1 -1
  80. package/lib/design-tokens/css/tokens/functional/components/statistic/base.css +1 -1
  81. package/lib/design-tokens/css/tokens/functional/components/sub-nav/base.css +1 -1
  82. package/lib/design-tokens/css/tokens/functional/components/sub-nav/colors-with-modes.css +1 -1
  83. package/lib/design-tokens/css/tokens/functional/components/subdomain-nav-bar/colors-with-modes.css +1 -1
  84. package/lib/design-tokens/css/tokens/functional/components/testimonial/base.css +1 -1
  85. package/lib/design-tokens/css/tokens/functional/components/testimonial/colors-with-modes.css +1 -1
  86. package/lib/design-tokens/css/tokens/functional/components/testimonial/colors.css +1 -1
  87. package/lib/design-tokens/css/tokens/functional/components/timeline/base.css +1 -1
  88. package/lib/design-tokens/css/tokens/functional/components/timeline/colors-with-modes.css +1 -1
  89. package/lib/design-tokens/css/tokens/functional/components/timeline/colors.css +1 -1
  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/typography/typography-responsive.css +1 -1
  100. package/lib/design-tokens/css/tokens/functional/typography/typography.css +1 -1
  101. package/lib/design-tokens/js/module/tokens/base/colors/light.js +1 -1
  102. package/lib/design-tokens/js/module/tokens/base/size/size.js +1 -1
  103. package/lib/design-tokens/js/module/tokens/base/typography/typography.js +1 -1
  104. package/lib/design-tokens/js/module/tokens/functional/animation/base.js +1 -1
  105. package/lib/design-tokens/js/module/tokens/functional/colors/global.js +1 -1
  106. package/lib/design-tokens/js/module/tokens/functional/components/bento/base.js +1 -1
  107. package/lib/design-tokens/js/module/tokens/functional/components/card/base.js +1 -1
  108. package/lib/design-tokens/js/module/tokens/functional/components/card/colors.js +1 -1
  109. package/lib/design-tokens/js/module/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  110. package/lib/design-tokens/js/module/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
  111. package/lib/design-tokens/js/module/tokens/functional/components/faq/base.js +1 -1
  112. package/lib/design-tokens/js/module/tokens/functional/components/faq/colors.js +1 -1
  113. package/lib/design-tokens/js/module/tokens/functional/components/faq/faq.js +1 -1
  114. package/lib/design-tokens/js/module/tokens/functional/components/footer/colors.js +1 -1
  115. package/lib/design-tokens/js/module/tokens/functional/components/grid/colors.js +1 -1
  116. package/lib/design-tokens/js/module/tokens/functional/components/grid/grid.js +1 -1
  117. package/lib/design-tokens/js/module/tokens/functional/components/hero/base.js +1 -1
  118. package/lib/design-tokens/js/module/tokens/functional/components/ide/base.js +1 -1
  119. package/lib/design-tokens/js/module/tokens/functional/components/image/base.js +1 -1
  120. package/lib/design-tokens/js/module/tokens/functional/components/inline-link/base.js +1 -1
  121. package/lib/design-tokens/js/module/tokens/functional/components/inline-link/colors.js +1 -1
  122. package/lib/design-tokens/js/module/tokens/functional/components/label/colors.js +1 -1
  123. package/lib/design-tokens/js/module/tokens/functional/components/link/colors.js +1 -1
  124. package/lib/design-tokens/js/module/tokens/functional/components/logosuite/base.js +1 -1
  125. package/lib/design-tokens/js/module/tokens/functional/components/logosuite/colors.js +1 -1
  126. package/lib/design-tokens/js/module/tokens/functional/components/pillar/colors.js +1 -1
  127. package/lib/design-tokens/js/module/tokens/functional/components/pricing-options/colors.js +1 -1
  128. package/lib/design-tokens/js/module/tokens/functional/components/pricing-options/pricing-options.js +1 -1
  129. package/lib/design-tokens/js/module/tokens/functional/components/prose/base.js +1 -1
  130. package/lib/design-tokens/js/module/tokens/functional/components/river/base.js +1 -1
  131. package/lib/design-tokens/js/module/tokens/functional/components/river/river.js +1 -1
  132. package/lib/design-tokens/js/module/tokens/functional/components/section/section.js +1 -1
  133. package/lib/design-tokens/js/module/tokens/functional/components/statistic/base.js +1 -1
  134. package/lib/design-tokens/js/module/tokens/functional/components/sub-nav/base.js +1 -1
  135. package/lib/design-tokens/js/module/tokens/functional/components/testimonial/base.js +1 -1
  136. package/lib/design-tokens/js/module/tokens/functional/components/testimonial/colors.js +1 -1
  137. package/lib/design-tokens/js/module/tokens/functional/components/timeline/base.js +1 -1
  138. package/lib/design-tokens/js/module/tokens/functional/components/timeline/colors.js +1 -1
  139. package/lib/design-tokens/js/module/tokens/functional/components/tooltip/colors.js +1 -1
  140. package/lib/design-tokens/js/module/tokens/functional/components/video-player/base.js +1 -1
  141. package/lib/design-tokens/js/module/tokens/functional/size/border.js +1 -1
  142. package/lib/design-tokens/js/module/tokens/functional/size/breakpoints.js +1 -1
  143. package/lib/design-tokens/js/module/tokens/functional/size/size-coarse.js +1 -1
  144. package/lib/design-tokens/js/module/tokens/functional/size/size-fine.js +1 -1
  145. package/lib/design-tokens/js/module/tokens/functional/size/size.js +1 -1
  146. package/lib/design-tokens/js/module/tokens/functional/size/viewport.js +1 -1
  147. package/lib/design-tokens/js/module/tokens/functional/typography/typography-responsive.js +1 -1
  148. package/lib/design-tokens/js/module/tokens/functional/typography/typography.js +1 -1
  149. package/lib/design-tokens/js/tokens/base/colors/light.js +1 -1
  150. package/lib/design-tokens/js/tokens/base/size/size.js +1 -1
  151. package/lib/design-tokens/js/tokens/base/typography/typography.js +1 -1
  152. package/lib/design-tokens/js/tokens/functional/animation/base.js +1 -1
  153. package/lib/design-tokens/js/tokens/functional/colors/global.js +1 -1
  154. package/lib/design-tokens/js/tokens/functional/components/bento/base.js +1 -1
  155. package/lib/design-tokens/js/tokens/functional/components/card/base.js +1 -1
  156. package/lib/design-tokens/js/tokens/functional/components/card/colors.js +1 -1
  157. package/lib/design-tokens/js/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  158. package/lib/design-tokens/js/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
  159. package/lib/design-tokens/js/tokens/functional/components/faq/base.js +1 -1
  160. package/lib/design-tokens/js/tokens/functional/components/faq/colors.js +1 -1
  161. package/lib/design-tokens/js/tokens/functional/components/faq/faq.js +1 -1
  162. package/lib/design-tokens/js/tokens/functional/components/footer/colors.js +1 -1
  163. package/lib/design-tokens/js/tokens/functional/components/grid/colors.js +1 -1
  164. package/lib/design-tokens/js/tokens/functional/components/grid/grid.js +1 -1
  165. package/lib/design-tokens/js/tokens/functional/components/hero/base.js +1 -1
  166. package/lib/design-tokens/js/tokens/functional/components/ide/base.js +1 -1
  167. package/lib/design-tokens/js/tokens/functional/components/image/base.js +1 -1
  168. package/lib/design-tokens/js/tokens/functional/components/inline-link/base.js +1 -1
  169. package/lib/design-tokens/js/tokens/functional/components/inline-link/colors.js +1 -1
  170. package/lib/design-tokens/js/tokens/functional/components/label/colors.js +1 -1
  171. package/lib/design-tokens/js/tokens/functional/components/link/colors.js +1 -1
  172. package/lib/design-tokens/js/tokens/functional/components/logosuite/base.js +1 -1
  173. package/lib/design-tokens/js/tokens/functional/components/logosuite/colors.js +1 -1
  174. package/lib/design-tokens/js/tokens/functional/components/pillar/colors.js +1 -1
  175. package/lib/design-tokens/js/tokens/functional/components/pricing-options/colors.js +1 -1
  176. package/lib/design-tokens/js/tokens/functional/components/pricing-options/pricing-options.js +1 -1
  177. package/lib/design-tokens/js/tokens/functional/components/prose/base.js +1 -1
  178. package/lib/design-tokens/js/tokens/functional/components/river/base.js +1 -1
  179. package/lib/design-tokens/js/tokens/functional/components/river/river.js +1 -1
  180. package/lib/design-tokens/js/tokens/functional/components/section/section.js +1 -1
  181. package/lib/design-tokens/js/tokens/functional/components/statistic/base.js +1 -1
  182. package/lib/design-tokens/js/tokens/functional/components/sub-nav/base.js +1 -1
  183. package/lib/design-tokens/js/tokens/functional/components/testimonial/base.js +1 -1
  184. package/lib/design-tokens/js/tokens/functional/components/testimonial/colors.js +1 -1
  185. package/lib/design-tokens/js/tokens/functional/components/timeline/base.js +1 -1
  186. package/lib/design-tokens/js/tokens/functional/components/timeline/colors.js +1 -1
  187. package/lib/design-tokens/js/tokens/functional/components/tooltip/colors.js +1 -1
  188. package/lib/design-tokens/js/tokens/functional/components/video-player/base.js +1 -1
  189. package/lib/design-tokens/js/tokens/functional/size/border.js +1 -1
  190. package/lib/design-tokens/js/tokens/functional/size/breakpoints.js +1 -1
  191. package/lib/design-tokens/js/tokens/functional/size/size-coarse.js +1 -1
  192. package/lib/design-tokens/js/tokens/functional/size/size-fine.js +1 -1
  193. package/lib/design-tokens/js/tokens/functional/size/size.js +1 -1
  194. package/lib/design-tokens/js/tokens/functional/size/viewport.js +1 -1
  195. package/lib/design-tokens/js/tokens/functional/typography/typography-responsive.js +1 -1
  196. package/lib/design-tokens/js/tokens/functional/typography/typography.js +1 -1
  197. package/lib/design-tokens/scss/tokens/base/colors/light.scss +1 -1
  198. package/lib/design-tokens/scss/tokens/base/size/size.scss +1 -1
  199. package/lib/design-tokens/scss/tokens/base/typography/typography.scss +1 -1
  200. package/lib/design-tokens/scss/tokens/functional/animation/base.scss +1 -1
  201. package/lib/design-tokens/scss/tokens/functional/colors/global.scss +1 -1
  202. package/lib/design-tokens/scss/tokens/functional/components/bento/base.scss +1 -1
  203. package/lib/design-tokens/scss/tokens/functional/components/card/base.scss +1 -1
  204. package/lib/design-tokens/scss/tokens/functional/components/card/colors.scss +1 -1
  205. package/lib/design-tokens/scss/tokens/functional/components/comparison-table/comparison-table.scss +1 -1
  206. package/lib/design-tokens/scss/tokens/functional/components/eyebrow-banner/eyebrow-banner.scss +1 -1
  207. package/lib/design-tokens/scss/tokens/functional/components/faq/base.scss +1 -1
  208. package/lib/design-tokens/scss/tokens/functional/components/faq/colors.scss +1 -1
  209. package/lib/design-tokens/scss/tokens/functional/components/faq/faq.scss +1 -1
  210. package/lib/design-tokens/scss/tokens/functional/components/footer/colors.scss +1 -1
  211. package/lib/design-tokens/scss/tokens/functional/components/grid/colors.scss +1 -1
  212. package/lib/design-tokens/scss/tokens/functional/components/grid/grid.scss +1 -1
  213. package/lib/design-tokens/scss/tokens/functional/components/hero/base.scss +1 -1
  214. package/lib/design-tokens/scss/tokens/functional/components/ide/base.scss +1 -1
  215. package/lib/design-tokens/scss/tokens/functional/components/image/base.scss +1 -1
  216. package/lib/design-tokens/scss/tokens/functional/components/inline-link/base.scss +1 -1
  217. package/lib/design-tokens/scss/tokens/functional/components/inline-link/colors.scss +1 -1
  218. package/lib/design-tokens/scss/tokens/functional/components/label/colors.scss +1 -1
  219. package/lib/design-tokens/scss/tokens/functional/components/link/colors.scss +1 -1
  220. package/lib/design-tokens/scss/tokens/functional/components/logosuite/base.scss +1 -1
  221. package/lib/design-tokens/scss/tokens/functional/components/logosuite/colors.scss +1 -1
  222. package/lib/design-tokens/scss/tokens/functional/components/pillar/colors.scss +1 -1
  223. package/lib/design-tokens/scss/tokens/functional/components/pricing-options/colors.scss +1 -1
  224. package/lib/design-tokens/scss/tokens/functional/components/pricing-options/pricing-options.scss +1 -1
  225. package/lib/design-tokens/scss/tokens/functional/components/prose/base.scss +1 -1
  226. package/lib/design-tokens/scss/tokens/functional/components/river/base.scss +1 -1
  227. package/lib/design-tokens/scss/tokens/functional/components/river/river.scss +1 -1
  228. package/lib/design-tokens/scss/tokens/functional/components/section/section.scss +1 -1
  229. package/lib/design-tokens/scss/tokens/functional/components/statistic/base.scss +1 -1
  230. package/lib/design-tokens/scss/tokens/functional/components/sub-nav/base.scss +1 -1
  231. package/lib/design-tokens/scss/tokens/functional/components/testimonial/base.scss +1 -1
  232. package/lib/design-tokens/scss/tokens/functional/components/testimonial/colors.scss +1 -1
  233. package/lib/design-tokens/scss/tokens/functional/components/timeline/base.scss +1 -1
  234. package/lib/design-tokens/scss/tokens/functional/components/timeline/colors.scss +1 -1
  235. package/lib/design-tokens/scss/tokens/functional/components/tooltip/colors.scss +1 -1
  236. package/lib/design-tokens/scss/tokens/functional/components/video-player/base.scss +1 -1
  237. package/lib/design-tokens/scss/tokens/functional/size/border.scss +1 -1
  238. package/lib/design-tokens/scss/tokens/functional/size/breakpoints.scss +1 -1
  239. package/lib/design-tokens/scss/tokens/functional/size/size-coarse.scss +1 -1
  240. package/lib/design-tokens/scss/tokens/functional/size/size-fine.scss +1 -1
  241. package/lib/design-tokens/scss/tokens/functional/size/size.scss +1 -1
  242. package/lib/design-tokens/scss/tokens/functional/size/viewport.scss +1 -1
  243. package/lib/design-tokens/scss/tokens/functional/typography/typography-responsive.scss +1 -1
  244. package/lib/design-tokens/scss/tokens/functional/typography/typography.scss +1 -1
  245. package/lib/design-tokens/ts/tokens/base/colors/light.d.ts +1 -1
  246. package/lib/design-tokens/ts/tokens/base/colors/light.js +1 -1
  247. package/lib/design-tokens/ts/tokens/base/size/size.d.ts +1 -1
  248. package/lib/design-tokens/ts/tokens/base/size/size.js +1 -1
  249. package/lib/design-tokens/ts/tokens/base/typography/typography.d.ts +1 -1
  250. package/lib/design-tokens/ts/tokens/base/typography/typography.js +1 -1
  251. package/lib/design-tokens/ts/tokens/functional/animation/base.d.ts +1 -1
  252. package/lib/design-tokens/ts/tokens/functional/animation/base.js +1 -1
  253. package/lib/design-tokens/ts/tokens/functional/colors/global.d.ts +1 -1
  254. package/lib/design-tokens/ts/tokens/functional/colors/global.js +1 -1
  255. package/lib/design-tokens/ts/tokens/functional/components/bento/base.d.ts +1 -1
  256. package/lib/design-tokens/ts/tokens/functional/components/bento/base.js +1 -1
  257. package/lib/design-tokens/ts/tokens/functional/components/card/base.d.ts +1 -1
  258. package/lib/design-tokens/ts/tokens/functional/components/card/base.js +1 -1
  259. package/lib/design-tokens/ts/tokens/functional/components/card/colors.d.ts +1 -1
  260. package/lib/design-tokens/ts/tokens/functional/components/card/colors.js +1 -1
  261. package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.d.ts +1 -1
  262. package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  263. package/lib/design-tokens/ts/tokens/functional/components/eyebrow-banner/eyebrow-banner.d.ts +1 -1
  264. package/lib/design-tokens/ts/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
  265. package/lib/design-tokens/ts/tokens/functional/components/faq/base.d.ts +1 -1
  266. package/lib/design-tokens/ts/tokens/functional/components/faq/base.js +1 -1
  267. package/lib/design-tokens/ts/tokens/functional/components/faq/colors.d.ts +1 -1
  268. package/lib/design-tokens/ts/tokens/functional/components/faq/colors.js +1 -1
  269. package/lib/design-tokens/ts/tokens/functional/components/faq/faq.d.ts +1 -1
  270. package/lib/design-tokens/ts/tokens/functional/components/faq/faq.js +1 -1
  271. package/lib/design-tokens/ts/tokens/functional/components/footer/colors.d.ts +1 -1
  272. package/lib/design-tokens/ts/tokens/functional/components/footer/colors.js +1 -1
  273. package/lib/design-tokens/ts/tokens/functional/components/grid/colors.d.ts +1 -1
  274. package/lib/design-tokens/ts/tokens/functional/components/grid/colors.js +1 -1
  275. package/lib/design-tokens/ts/tokens/functional/components/grid/grid.d.ts +1 -1
  276. package/lib/design-tokens/ts/tokens/functional/components/grid/grid.js +1 -1
  277. package/lib/design-tokens/ts/tokens/functional/components/hero/base.d.ts +1 -1
  278. package/lib/design-tokens/ts/tokens/functional/components/hero/base.js +1 -1
  279. package/lib/design-tokens/ts/tokens/functional/components/ide/base.d.ts +1 -1
  280. package/lib/design-tokens/ts/tokens/functional/components/ide/base.js +1 -1
  281. package/lib/design-tokens/ts/tokens/functional/components/image/base.d.ts +1 -1
  282. package/lib/design-tokens/ts/tokens/functional/components/image/base.js +1 -1
  283. package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.d.ts +1 -1
  284. package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.js +1 -1
  285. package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.d.ts +1 -1
  286. package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.js +1 -1
  287. package/lib/design-tokens/ts/tokens/functional/components/label/colors.d.ts +1 -1
  288. package/lib/design-tokens/ts/tokens/functional/components/label/colors.js +1 -1
  289. package/lib/design-tokens/ts/tokens/functional/components/link/colors.d.ts +1 -1
  290. package/lib/design-tokens/ts/tokens/functional/components/link/colors.js +1 -1
  291. package/lib/design-tokens/ts/tokens/functional/components/logosuite/base.d.ts +1 -1
  292. package/lib/design-tokens/ts/tokens/functional/components/logosuite/base.js +1 -1
  293. package/lib/design-tokens/ts/tokens/functional/components/logosuite/colors.d.ts +1 -1
  294. package/lib/design-tokens/ts/tokens/functional/components/logosuite/colors.js +1 -1
  295. package/lib/design-tokens/ts/tokens/functional/components/pillar/colors.d.ts +1 -1
  296. package/lib/design-tokens/ts/tokens/functional/components/pillar/colors.js +1 -1
  297. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/colors.d.ts +1 -1
  298. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/colors.js +1 -1
  299. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/pricing-options.d.ts +1 -1
  300. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/pricing-options.js +1 -1
  301. package/lib/design-tokens/ts/tokens/functional/components/prose/base.d.ts +1 -1
  302. package/lib/design-tokens/ts/tokens/functional/components/prose/base.js +1 -1
  303. package/lib/design-tokens/ts/tokens/functional/components/river/base.d.ts +1 -1
  304. package/lib/design-tokens/ts/tokens/functional/components/river/base.js +1 -1
  305. package/lib/design-tokens/ts/tokens/functional/components/river/river.d.ts +1 -1
  306. package/lib/design-tokens/ts/tokens/functional/components/river/river.js +1 -1
  307. package/lib/design-tokens/ts/tokens/functional/components/section/section.d.ts +1 -1
  308. package/lib/design-tokens/ts/tokens/functional/components/section/section.js +1 -1
  309. package/lib/design-tokens/ts/tokens/functional/components/statistic/base.d.ts +1 -1
  310. package/lib/design-tokens/ts/tokens/functional/components/statistic/base.js +1 -1
  311. package/lib/design-tokens/ts/tokens/functional/components/sub-nav/base.d.ts +1 -1
  312. package/lib/design-tokens/ts/tokens/functional/components/sub-nav/base.js +1 -1
  313. package/lib/design-tokens/ts/tokens/functional/components/testimonial/base.d.ts +1 -1
  314. package/lib/design-tokens/ts/tokens/functional/components/testimonial/base.js +1 -1
  315. package/lib/design-tokens/ts/tokens/functional/components/testimonial/colors.d.ts +1 -1
  316. package/lib/design-tokens/ts/tokens/functional/components/testimonial/colors.js +1 -1
  317. package/lib/design-tokens/ts/tokens/functional/components/timeline/base.d.ts +1 -1
  318. package/lib/design-tokens/ts/tokens/functional/components/timeline/base.js +1 -1
  319. package/lib/design-tokens/ts/tokens/functional/components/timeline/colors.d.ts +1 -1
  320. package/lib/design-tokens/ts/tokens/functional/components/timeline/colors.js +1 -1
  321. package/lib/design-tokens/ts/tokens/functional/components/tooltip/colors.d.ts +1 -1
  322. package/lib/design-tokens/ts/tokens/functional/components/tooltip/colors.js +1 -1
  323. package/lib/design-tokens/ts/tokens/functional/components/video-player/base.d.ts +1 -1
  324. package/lib/design-tokens/ts/tokens/functional/components/video-player/base.js +1 -1
  325. package/lib/design-tokens/ts/tokens/functional/size/border.d.ts +1 -1
  326. package/lib/design-tokens/ts/tokens/functional/size/border.js +1 -1
  327. package/lib/design-tokens/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  328. package/lib/design-tokens/ts/tokens/functional/size/breakpoints.js +1 -1
  329. package/lib/design-tokens/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  330. package/lib/design-tokens/ts/tokens/functional/size/size-coarse.js +1 -1
  331. package/lib/design-tokens/ts/tokens/functional/size/size-fine.d.ts +1 -1
  332. package/lib/design-tokens/ts/tokens/functional/size/size-fine.js +1 -1
  333. package/lib/design-tokens/ts/tokens/functional/size/size.d.ts +1 -1
  334. package/lib/design-tokens/ts/tokens/functional/size/size.js +1 -1
  335. package/lib/design-tokens/ts/tokens/functional/size/viewport.d.ts +1 -1
  336. package/lib/design-tokens/ts/tokens/functional/size/viewport.js +1 -1
  337. package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.d.ts +1 -1
  338. package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.js +1 -1
  339. package/lib/design-tokens/ts/tokens/functional/typography/typography.d.ts +1 -1
  340. package/lib/design-tokens/ts/tokens/functional/typography/typography.js +1 -1
  341. package/lib/forms/Checkbox/Checkbox.d.ts +6 -6
  342. package/lib/forms/Radio/Radio.d.ts +4 -4
  343. package/lib/forms/Select/Select.d.ts +4 -4
  344. package/lib/forms/TextInput/TextInput.d.ts +9 -9
  345. package/lib/forms/Textarea/Textarea.d.ts +7 -7
  346. package/lib/index.js +1 -1
  347. package/lib/list/listContext.d.ts +0 -1
  348. package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOne.d.ts +0 -1
  349. package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOneSideBySide.d.ts +0 -1
  350. package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/components/FormExample.d.ts +0 -1
  351. package/lib/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/FeaturePreviewLevelZero.d.ts +0 -1
  352. package/lib/recipes/SolutionTemplates/CategoryPage/CategoryPage.d.ts +1 -2
  353. package/lib/recipes/SolutionTemplates/SolutionPage/SolutionPage.d.ts +0 -1
  354. package/lib/recipes/SolutionTemplates/SolutionsOverview/SolutionsOverview.d.ts +0 -1
  355. package/lib/recipes/seo/Article/Article.d.ts +0 -1
  356. package/lib/recipes/seo/Article/useWrapLines.d.ts +0 -1
  357. package/lib/recipes/seo/Category/CategoryPage.d.ts +0 -1
  358. package/lib/river/River/River.d.ts +8 -8
  359. package/lib/river/RiverBreakout/RiverBreakout.d.ts +5 -5
  360. package/package.json +3 -2
@@ -5,7 +5,7 @@ import type { BaseProps } from '../component-helpers';
5
5
  * Design tokens
6
6
  */
7
7
  import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/action-menu/colors-with-modes.css';
8
- export declare const actionMenuOverlaySides: import("@primer/behaviors").AnchorSide[];
8
+ export declare const actionMenuOverlaySides: PositionSettings["side"][];
9
9
  export type ActionMenuSizes = 'small' | 'medium';
10
10
  export type ActionMenuProps = {
11
11
  /**
@@ -90,82 +90,82 @@ export declare const ActionMenu: React.NamedExoticComponent<{
90
90
  /**
91
91
  * Determines whether the ActionMenu is disabled
92
92
  */
93
- disabled?: boolean | undefined;
93
+ disabled?: boolean;
94
94
  /**
95
95
  * Determines whether the ActionMenu is open by default
96
96
  */
97
- open?: boolean | undefined;
97
+ open?: boolean;
98
98
  /**
99
99
  * Callback that is called when an item is selected.
100
100
  * The value of the selected item is passed as an argument.
101
101
  */
102
- onSelect?: ((newValue: string) => void) | undefined;
102
+ onSelect?: (newValue: string) => void;
103
103
  /**
104
104
  * The selection variant of the ActionMenu.
105
105
  * - `single`: Only one item can be selected at a time. Menu items as a menuitemradio.
106
106
  * - `none`: No items can be selected. Menu items as a menuitem.
107
107
  */
108
- selectionVariant?: "none" | "single" | undefined;
108
+ selectionVariant?: "single" | "none";
109
109
  /**
110
110
  * Test id for the ActionMenu
111
111
  */
112
- 'data-testid'?: string | undefined;
112
+ 'data-testid'?: string;
113
113
  /**
114
114
  * Horizontal alignment of the menu relative to the bottom of the button
115
115
  */
116
- menuAlignment?: "start" | "end" | undefined;
116
+ menuAlignment?: "start" | "end";
117
117
  /**
118
118
  * Size configuratin of the ActionMenu
119
119
  */
120
- size?: ActionMenuSizes | undefined;
121
- menuSide?: import("@primer/behaviors").AnchorSide | undefined;
120
+ size?: ActionMenuSizes;
121
+ menuSide?: PositionSettings["side"];
122
122
  } & BaseProps<HTMLDivElement>> & {
123
123
  readonly type: ({ id, children, "data-testid": testId, disabled, open, selectionVariant, menuAlignment, size, menuSide, onSelect, }: ActionMenuProps) => JSX.Element;
124
124
  } & {
125
125
  Button: React.ForwardRefExoticComponent<(Omit<((instance: HTMLButtonElement | null) => void) & {
126
- children?: React.ReactNode;
126
+ children?: React.ReactNode | undefined;
127
127
  } & {
128
- id?: string | undefined;
129
- ref?: React.RefObject<HTMLButtonElement> | undefined;
130
- className?: string | undefined;
131
- menuOpen?: boolean | undefined;
132
- disabled?: boolean | undefined;
133
- onClick?: ((event: React.MouseEvent<HTMLButtonElement>) => void) | undefined;
134
- 'data-testid'?: string | undefined;
135
- size?: ActionMenuSizes | undefined;
128
+ id?: string;
129
+ ref?: React.RefObject<HTMLButtonElement>;
130
+ className?: string;
131
+ menuOpen?: boolean;
132
+ disabled?: boolean;
133
+ onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
134
+ 'data-testid'?: string;
135
+ size?: ActionMenuSizes;
136
136
  }, "ref"> | Omit<React.RefObject<HTMLButtonElement> & {
137
- children?: React.ReactNode;
137
+ children?: React.ReactNode | undefined;
138
138
  } & {
139
- id?: string | undefined;
140
- ref?: React.RefObject<HTMLButtonElement> | undefined;
141
- className?: string | undefined;
142
- menuOpen?: boolean | undefined;
143
- disabled?: boolean | undefined;
144
- onClick?: ((event: React.MouseEvent<HTMLButtonElement>) => void) | undefined;
145
- 'data-testid'?: string | undefined;
146
- size?: ActionMenuSizes | undefined;
139
+ id?: string;
140
+ ref?: React.RefObject<HTMLButtonElement>;
141
+ className?: string;
142
+ menuOpen?: boolean;
143
+ disabled?: boolean;
144
+ onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
145
+ 'data-testid'?: string;
146
+ size?: ActionMenuSizes;
147
147
  }, "ref">) & React.RefAttributes<HTMLButtonElement>>;
148
148
  Item: ({ children, className, disabled, handler, selected, type, value, ...props }: ActionMenuItemProps) => JSX.Element;
149
149
  Overlay: React.ForwardRefExoticComponent<(Omit<((instance: HTMLUListElement | null) => void) & {
150
- children?: React.ReactNode;
150
+ children?: React.ReactNode | undefined;
151
151
  } & {
152
152
  'aria-label': string;
153
- id?: string | undefined;
154
- ref?: React.RefObject<HTMLUListElement> | undefined;
155
- className?: string | undefined;
156
- 'data-testid'?: string | undefined;
157
- menuOpen?: boolean | undefined;
158
- style?: React.CSSProperties | undefined;
153
+ id?: string;
154
+ ref?: React.RefObject<HTMLUListElement>;
155
+ className?: string;
156
+ 'data-testid'?: string;
157
+ menuOpen?: boolean;
158
+ style?: React.CSSProperties;
159
159
  }, "ref"> | Omit<React.RefObject<HTMLUListElement> & {
160
- children?: React.ReactNode;
160
+ children?: React.ReactNode | undefined;
161
161
  } & {
162
162
  'aria-label': string;
163
- id?: string | undefined;
164
- ref?: React.RefObject<HTMLUListElement> | undefined;
165
- className?: string | undefined;
166
- 'data-testid'?: string | undefined;
167
- menuOpen?: boolean | undefined;
168
- style?: React.CSSProperties | undefined;
163
+ id?: string;
164
+ ref?: React.RefObject<HTMLUListElement>;
165
+ className?: string;
166
+ 'data-testid'?: string;
167
+ menuOpen?: boolean;
168
+ style?: React.CSSProperties;
169
169
  }, "ref">) & React.RefAttributes<HTMLUListElement>>;
170
170
  testIds: {
171
171
  root: string;
@@ -48,86 +48,86 @@ export declare const BreakoutBanner: React.ForwardRefExoticComponent<Omit<BasePr
48
48
  /**
49
49
  * The alignment of the content within the banner
50
50
  */
51
- align?: "start" | "center" | undefined;
51
+ align?: "start" | "center";
52
52
  /**
53
53
  * Optional, custom background color
54
54
  */
55
- backgroundColor?: BackgroundColors | ResponsiveBackgroundColorMap | undefined;
55
+ backgroundColor?: BackgroundColors | ResponsiveBackgroundColorMap;
56
56
  /**
57
57
  * Optional, custom background image
58
58
  */
59
- backgroundImageSrc?: string | ResponsiveBackgroundImageSrcMap | undefined;
59
+ backgroundImageSrc?: string | ResponsiveBackgroundImageSrcMap;
60
60
  /**
61
61
  * Optional, custom background position
62
62
  */
63
- backgroundImagePosition?: string | ResponsiveBackgroundImagePositionMap | undefined;
63
+ backgroundImagePosition?: string | ResponsiveBackgroundImagePositionMap;
64
64
  /**
65
65
  * Optional, custom background size
66
66
  */
67
- backgroundImageSize?: string | ResponsiveBackgroundImageSizeMap | undefined;
67
+ backgroundImageSize?: string | ResponsiveBackgroundImageSizeMap;
68
68
  /**
69
69
  * An optional leading visual that appears before the heading
70
70
  */
71
- leadingVisual?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | Icon | undefined;
71
+ leadingVisual?: ReactElement | Icon;
72
72
  }, "ref"> & React.RefAttributes<HTMLDivElement>> & {
73
73
  Heading: React.ForwardRefExoticComponent<Omit<BaseProps<HTMLHeadingElement> & {
74
74
  children: React.ReactNode | React.ReactNode[];
75
75
  } & {
76
- as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | undefined;
77
- size?: "display" | "1" | "2" | "3" | "4" | "5" | "6" | "subhead-large" | "subhead-medium" | undefined;
78
- weight?: "light" | "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "extralight" | {
79
- narrow?: "light" | "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "extralight" | undefined;
80
- regular?: "light" | "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "extralight" | undefined;
81
- wide?: "light" | "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "extralight" | undefined;
82
- } | undefined;
83
- stretch?: "normal" | "condensed" | "expanded" | {
84
- narrow?: "normal" | "condensed" | "expanded" | undefined;
85
- regular?: "normal" | "condensed" | "expanded" | undefined;
86
- wide?: "normal" | "condensed" | "expanded" | undefined;
87
- } | undefined;
88
- letterSpacing?: "normal" | "none" | "condensed" | {
89
- narrow?: "normal" | "none" | "condensed" | undefined;
90
- regular?: "normal" | "none" | "condensed" | undefined;
91
- wide?: "normal" | "none" | "condensed" | undefined;
92
- } | undefined;
93
- font?: "mona-sans" | "hubot-sans" | "monospace" | undefined;
76
+ as?: typeof import("../").HeadingTags[number];
77
+ size?: typeof import("../").HeadingSizes[number];
78
+ weight?: ("medium" | "heavy" | "extrabold" | "bold" | "semibold" | "normal" | "light" | "extralight") | {
79
+ narrow?: "medium" | "heavy" | "extrabold" | "bold" | "semibold" | "normal" | "light" | "extralight";
80
+ regular?: "medium" | "heavy" | "extrabold" | "bold" | "semibold" | "normal" | "light" | "extralight";
81
+ wide?: "medium" | "heavy" | "extrabold" | "bold" | "semibold" | "normal" | "light" | "extralight";
82
+ };
83
+ stretch?: ("normal" | "condensed" | "expanded") | {
84
+ narrow?: "normal" | "condensed" | "expanded";
85
+ regular?: "normal" | "condensed" | "expanded";
86
+ wide?: "normal" | "condensed" | "expanded";
87
+ };
88
+ letterSpacing?: ("normal" | "condensed" | "none") | {
89
+ narrow?: "normal" | "condensed" | "none";
90
+ regular?: "normal" | "condensed" | "none";
91
+ wide?: "normal" | "condensed" | "none";
92
+ };
93
+ font?: "mona-sans" | "hubot-sans" | "monospace";
94
94
  } & React.HTMLAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
95
95
  Description: React.ForwardRefExoticComponent<Omit<BaseProps<HTMLParagraphElement> & {
96
96
  children: React.ReactNode | React.ReactNode[];
97
97
  }, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
98
98
  LinkGroup: React.ForwardRefExoticComponent<Omit<Omit<BaseProps<HTMLElement> & {
99
- children: React.ReactNode | React.ReactNode[];
100
- direction?: "horizontal" | "vertical" | {
101
- narrow?: "horizontal" | "vertical" | undefined;
102
- regular?: "horizontal" | "vertical" | undefined;
103
- wide?: "horizontal" | "vertical" | undefined;
104
- } | undefined;
105
- gap?: "normal" | 8 | 4 | "none" | "condensed" | 12 | "spacious" | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 64 | 80 | 96 | 112 | 128 | {
106
- narrow?: "normal" | 8 | 4 | "none" | "condensed" | 12 | "spacious" | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 64 | 80 | 96 | 112 | 128 | undefined;
107
- regular?: "normal" | 8 | 4 | "none" | "condensed" | 12 | "spacious" | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 64 | 80 | 96 | 112 | 128 | undefined;
108
- wide?: "normal" | 8 | 4 | "none" | "condensed" | 12 | "spacious" | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 64 | 80 | 96 | 112 | 128 | undefined;
109
- } | undefined;
110
- alignItems?: "center" | "flex-end" | "flex-start" | {
111
- narrow?: "center" | "flex-end" | "flex-start" | undefined;
112
- regular?: "center" | "flex-end" | "flex-start" | undefined;
113
- wide?: "center" | "flex-end" | "flex-start" | undefined;
114
- } | undefined;
115
- padding?: "normal" | 8 | 4 | "none" | "condensed" | 12 | "spacious" | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 64 | 80 | 96 | 112 | 128 | {
116
- narrow?: "normal" | 8 | 4 | "none" | "condensed" | 12 | "spacious" | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 64 | 80 | 96 | 112 | 128 | undefined;
117
- regular?: "normal" | 8 | 4 | "none" | "condensed" | 12 | "spacious" | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 64 | 80 | 96 | 112 | 128 | undefined;
118
- wide?: "normal" | 8 | 4 | "none" | "condensed" | 12 | "spacious" | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 64 | 80 | 96 | 112 | 128 | undefined;
119
- } | undefined;
120
- justifyContent?: "center" | "space-around" | "space-between" | "space-evenly" | "flex-end" | "flex-start" | {
121
- narrow?: "center" | "space-around" | "space-between" | "space-evenly" | "flex-end" | "flex-start" | undefined;
122
- regular?: "center" | "space-around" | "space-between" | "space-evenly" | "flex-end" | "flex-start" | undefined;
123
- wide?: "center" | "space-around" | "space-between" | "space-evenly" | "flex-end" | "flex-start" | undefined;
124
- } | undefined;
125
- style?: React.CSSProperties | undefined;
126
- flexWrap?: "nowrap" | "wrap" | {
127
- narrow?: "nowrap" | "wrap" | undefined;
128
- regular?: "nowrap" | "wrap" | undefined;
129
- wide?: "nowrap" | "wrap" | undefined;
130
- } | undefined;
99
+ children: React.ReactNode[] | React.ReactNode;
100
+ direction?: ("horizontal" | "vertical") | {
101
+ narrow?: "horizontal" | "vertical";
102
+ regular?: "horizontal" | "vertical";
103
+ wide?: "horizontal" | "vertical";
104
+ };
105
+ gap?: ("normal" | 8 | 4 | "condensed" | "none" | 12 | "spacious" | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 64 | 80 | 96 | 112 | 128) | {
106
+ narrow?: "normal" | 8 | 4 | "condensed" | "none" | 12 | "spacious" | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 64 | 80 | 96 | 112 | 128;
107
+ regular?: "normal" | 8 | 4 | "condensed" | "none" | 12 | "spacious" | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 64 | 80 | 96 | 112 | 128;
108
+ wide?: "normal" | 8 | 4 | "condensed" | "none" | 12 | "spacious" | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 64 | 80 | 96 | 112 | 128;
109
+ };
110
+ alignItems?: ("center" | "flex-end" | "flex-start") | {
111
+ narrow?: "center" | "flex-end" | "flex-start";
112
+ regular?: "center" | "flex-end" | "flex-start";
113
+ wide?: "center" | "flex-end" | "flex-start";
114
+ };
115
+ padding?: ("normal" | 8 | 4 | "condensed" | "none" | 12 | "spacious" | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 64 | 80 | 96 | 112 | 128) | {
116
+ narrow?: "normal" | 8 | 4 | "condensed" | "none" | 12 | "spacious" | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 64 | 80 | 96 | 112 | 128;
117
+ regular?: "normal" | 8 | 4 | "condensed" | "none" | 12 | "spacious" | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 64 | 80 | 96 | 112 | 128;
118
+ wide?: "normal" | 8 | 4 | "condensed" | "none" | 12 | "spacious" | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 64 | 80 | 96 | 112 | 128;
119
+ };
120
+ justifyContent?: ("center" | "space-around" | "space-between" | "space-evenly" | "flex-end" | "flex-start") | {
121
+ narrow?: "center" | "space-around" | "space-between" | "space-evenly" | "flex-end" | "flex-start";
122
+ regular?: "center" | "space-around" | "space-between" | "space-evenly" | "flex-end" | "flex-start";
123
+ wide?: "center" | "space-around" | "space-between" | "space-evenly" | "flex-end" | "flex-start";
124
+ };
125
+ style?: React.CSSProperties;
126
+ flexWrap?: ("nowrap" | "wrap") | {
127
+ narrow?: "nowrap" | "wrap";
128
+ regular?: "nowrap" | "wrap";
129
+ wide?: "nowrap" | "wrap";
130
+ };
131
131
  } & BaseProps<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<unknown>, "ref"> & React.RefAttributes<HTMLDivElement>>;
132
132
  };
133
133
  export {};
@@ -9,7 +9,7 @@ export type ButtonGroupProps = BaseProps<HTMLDivElement> & {
9
9
  };
10
10
  export declare const ButtonGroup: React.ForwardRefExoticComponent<Omit<BaseProps<HTMLDivElement> & {
11
11
  children: PrimerBrandButtonType[] | PrimerBrandButtonType;
12
- buttonSize?: ButtonProps<'button' | 'a'>['size'];
13
- buttonsAs?: React.ElementType<any> | undefined;
12
+ buttonSize?: ButtonProps<"button" | "a">["size"];
13
+ buttonsAs?: React.ElementType;
14
14
  }, "ref"> & React.RefAttributes<HTMLDivElement>>;
15
15
  export {};
@@ -14,40 +14,40 @@ export type CTABannerProps = BaseProps<HTMLElement> & React.HTMLAttributes<HTMLE
14
14
  };
15
15
  export declare const CTABanner: React.ForwardRefExoticComponent<Omit<BaseProps<HTMLElement> & React.HTMLAttributes<HTMLElement> & {
16
16
  children: React.ReactNode | React.ReactNode[];
17
- align?: "start" | "center" | undefined;
18
- hasBorder?: boolean | undefined;
19
- hasShadow?: boolean | undefined;
20
- hasBackground?: boolean | undefined;
21
- trailingComponent?: React.FunctionComponent<{}> | undefined;
17
+ align?: "start" | "center";
18
+ hasBorder?: boolean;
19
+ hasShadow?: boolean;
20
+ hasBackground?: boolean;
21
+ trailingComponent?: React.FunctionComponent;
22
22
  }, "ref"> & React.RefAttributes<HTMLElement>> & {
23
23
  Heading: React.ForwardRefExoticComponent<Omit<BaseProps<HTMLHeadingElement> & {
24
24
  children: React.ReactNode | React.ReactNode[];
25
25
  } & {
26
- as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | undefined;
27
- size?: "display" | "1" | "2" | "3" | "4" | "5" | "6" | "subhead-large" | "subhead-medium" | undefined;
28
- weight?: "light" | "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "extralight" | {
29
- narrow?: "light" | "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "extralight" | undefined;
30
- regular?: "light" | "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "extralight" | undefined;
31
- wide?: "light" | "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "extralight" | undefined;
32
- } | undefined;
33
- stretch?: "normal" | "condensed" | "expanded" | {
34
- narrow?: "normal" | "condensed" | "expanded" | undefined;
35
- regular?: "normal" | "condensed" | "expanded" | undefined;
36
- wide?: "normal" | "condensed" | "expanded" | undefined;
37
- } | undefined;
38
- letterSpacing?: "normal" | "none" | "condensed" | {
39
- narrow?: "normal" | "none" | "condensed" | undefined;
40
- regular?: "normal" | "none" | "condensed" | undefined;
41
- wide?: "normal" | "none" | "condensed" | undefined;
42
- } | undefined;
43
- font?: "mona-sans" | "hubot-sans" | "monospace" | undefined;
26
+ as?: typeof import("../Heading").HeadingTags[number];
27
+ size?: typeof import("../Heading").HeadingSizes[number];
28
+ weight?: ("medium" | "heavy" | "extrabold" | "bold" | "semibold" | "normal" | "light" | "extralight") | {
29
+ narrow?: "medium" | "heavy" | "extrabold" | "bold" | "semibold" | "normal" | "light" | "extralight";
30
+ regular?: "medium" | "heavy" | "extrabold" | "bold" | "semibold" | "normal" | "light" | "extralight";
31
+ wide?: "medium" | "heavy" | "extrabold" | "bold" | "semibold" | "normal" | "light" | "extralight";
32
+ };
33
+ stretch?: ("normal" | "condensed" | "expanded") | {
34
+ narrow?: "normal" | "condensed" | "expanded";
35
+ regular?: "normal" | "condensed" | "expanded";
36
+ wide?: "normal" | "condensed" | "expanded";
37
+ };
38
+ letterSpacing?: ("normal" | "condensed" | "none") | {
39
+ narrow?: "normal" | "condensed" | "none";
40
+ regular?: "normal" | "condensed" | "none";
41
+ wide?: "normal" | "condensed" | "none";
42
+ };
43
+ font?: "mona-sans" | "hubot-sans" | "monospace";
44
44
  } & React.HTMLAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
45
45
  Description: React.ForwardRefExoticComponent<Omit<BaseProps<HTMLParagraphElement> & {
46
46
  children: React.ReactNode | React.ReactNode[];
47
47
  }, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
48
48
  ButtonGroup: React.ForwardRefExoticComponent<Omit<Omit<BaseProps<HTMLDivElement> & {
49
- children: React.ReactElement<import("..").ButtonProps<React.ElementType<"a" | "button">>, string | React.JSXElementConstructor<any>> | React.ReactElement<import("..").ButtonProps<React.ElementType<"a" | "button">>, string | React.JSXElementConstructor<any>>[];
50
- buttonSize?: "medium" | "small" | "large" | undefined;
51
- buttonsAs?: React.ElementType<any> | undefined;
49
+ children: React.ReactElement<import("..").ButtonProps<React.ElementType<"a" | "button">>, string | React.JSXElementConstructor<any>>[] | React.ReactElement<import("..").ButtonProps<React.ElementType<"a" | "button">>, string | React.JSXElementConstructor<any>>;
50
+ buttonSize?: import("..").ButtonProps<"button" | "a">["size"];
51
+ buttonsAs?: React.ElementType;
52
52
  }, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
53
53
  };
@@ -13,9 +13,9 @@ export type ComparisonTableProps<C extends React.ElementType> = BaseProps<C> & {
13
13
  } & React.ComponentPropsWithoutRef<C>;
14
14
  export declare const _ComparisonTable: React.ForwardRefExoticComponent<Omit<BaseProps<React.ElementType<any>> & {
15
15
  as?: React.ElementType<any> | undefined;
16
- heading?: string | undefined;
17
- variant?: "default" | "minimal" | undefined;
18
- featuredColumn?: number | undefined;
16
+ heading?: string;
17
+ variant?: "default" | "minimal";
18
+ featuredColumn?: number;
19
19
  } & Omit<any, "ref">, "ref"> & React.RefAttributes<HTMLDivElement>>;
20
20
  type RowProps = {
21
21
  header?: boolean;
@@ -32,9 +32,9 @@ export type FootnoteProps = BaseProps<HTMLParagraphElement>;
32
32
  */
33
33
  export declare const ComparisonTable: React.ForwardRefExoticComponent<Omit<BaseProps<React.ElementType<any>> & {
34
34
  as?: React.ElementType<any> | undefined;
35
- heading?: string | undefined;
36
- variant?: "default" | "minimal" | undefined;
37
- featuredColumn?: number | undefined;
35
+ heading?: string;
36
+ variant?: "default" | "minimal";
37
+ featuredColumn?: number;
38
38
  } & Omit<any, "ref">, "ref"> & React.RefAttributes<HTMLDivElement>> & {
39
39
  Row: ({ children, ...rest }: PropsWithChildren<RowProps>) => JSX.Element;
40
40
  Cell: ({ as, children, ...props }: PropsWithChildren<CellProps>) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type ExpandableArrowProps = {
3
2
  className?: string;
4
3
  /** Animate between a chevron arrow and an arrow with a stem by toggling the value of `expanded` */
package/lib/FAQ/FAQ.d.ts CHANGED
@@ -28,15 +28,15 @@ export declare const FAQ: React.ForwardRefExoticComponent<Omit<FAQRootProps, "re
28
28
  Heading: React.ForwardRefExoticComponent<Omit<FAQHeadingProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
29
29
  Item: React.ForwardRefExoticComponent<Omit<import("..").AccordionRootProps, "ref"> & React.RefAttributes<HTMLDetailsElement>>;
30
30
  Question: React.ForwardRefExoticComponent<Omit<BaseProps<HTMLHeadingElement> & {
31
- children?: React.ReactNode;
31
+ children?: React.ReactNode | undefined;
32
32
  } & {
33
- className?: string | undefined;
34
- as?: "h2" | "h3" | "h4" | "h5" | "h6" | undefined;
35
- reversedToggles?: boolean | undefined;
36
- variant?: "default" | "emphasis" | undefined;
37
- open?: boolean | undefined;
38
- handleOpen?: ((boolean: any) => void) | undefined;
39
- parentRef?: React.RefObject<HTMLDetailsElement> | undefined;
33
+ className?: string;
34
+ as?: "h2" | "h3" | "h4" | "h5" | "h6";
35
+ reversedToggles?: boolean;
36
+ variant?: "default" | "emphasis";
37
+ open?: boolean;
38
+ handleOpen?: (boolean: any) => void;
39
+ parentRef?: React.RefObject<HTMLDetailsElement>;
40
40
  }, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
41
41
  Answer: typeof AccordionContent;
42
42
  };
@@ -55,17 +55,17 @@ export declare const Grid: React.NamedExoticComponent<React.HTMLAttributes<"div"
55
55
  /**
56
56
  * Visual aid to help with alignment.
57
57
  */
58
- enableOverlay?: boolean | undefined;
58
+ enableOverlay?: boolean;
59
59
  /**
60
60
  * Fills the width of the parent container and removes the max-width.
61
61
  */
62
- fullWidth?: boolean | undefined;
62
+ fullWidth?: boolean;
63
63
  /**
64
64
  * Test id for the root element.
65
65
  */
66
- "data-testid"?: string | undefined;
66
+ "data-testid"?: string;
67
67
  } & BaseProps<HTMLDivElement> & {
68
- children?: React.ReactNode;
68
+ children?: React.ReactNode | undefined;
69
69
  }> & {
70
70
  readonly type: ({ className, children, as, fullWidth, enableOverlay, ["data-testid"]: testId, ...rest }: PropsWithChildren<GridProps>) => JSX.Element;
71
71
  } & {
@@ -30,62 +30,62 @@ export declare const Hero: React.ForwardRefExoticComponent<Omit<React.PropsWithC
30
30
  Heading: React.ForwardRefExoticComponent<Omit<HeroHeadingProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
31
31
  Description: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<HeroDescriptionProps>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
32
32
  PrimaryAction: React.ForwardRefExoticComponent<(Omit<{
33
- as?: "a" | "button" | undefined;
33
+ as?: "a" | "button";
34
34
  href: string;
35
35
  } & ButtonBaseProps & BaseProps<HTMLAnchorElement> & {
36
- as?: "a" | undefined;
36
+ as?: "a";
37
37
  } & {
38
- children?: React.ReactNode;
38
+ children?: React.ReactNode | undefined;
39
39
  }, "ref"> | Omit<{
40
- as?: "a" | "button" | undefined;
40
+ as?: "a" | "button";
41
41
  href: string;
42
42
  } & ButtonBaseProps & BaseProps<HTMLButtonElement> & {
43
- as?: "button" | undefined;
43
+ as?: "button";
44
44
  } & {
45
- children?: React.ReactNode;
45
+ children?: React.ReactNode | undefined;
46
46
  }, "ref">) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
47
47
  SecondaryAction: React.ForwardRefExoticComponent<(Omit<{
48
- as?: "a" | "button" | undefined;
48
+ as?: "a" | "button";
49
49
  href: string;
50
50
  } & ButtonBaseProps & BaseProps<HTMLAnchorElement> & {
51
- as?: "a" | undefined;
51
+ as?: "a";
52
52
  } & {
53
- children?: React.ReactNode;
53
+ children?: React.ReactNode | undefined;
54
54
  }, "ref"> | Omit<{
55
- as?: "a" | "button" | undefined;
55
+ as?: "a" | "button";
56
56
  href: string;
57
57
  } & ButtonBaseProps & BaseProps<HTMLButtonElement> & {
58
- as?: "button" | undefined;
58
+ as?: "button";
59
59
  } & {
60
- children?: React.ReactNode;
60
+ children?: React.ReactNode | undefined;
61
61
  }, "ref">) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
62
62
  Image: React.ForwardRefExoticComponent<(Omit<{
63
- position?: "block-end" | "inline-end" | undefined;
63
+ position?: "inline-end" | "block-end";
64
64
  } & React.ImgHTMLAttributes<HTMLImageElement> & BaseProps<HTMLImageElement> & {
65
65
  src: string;
66
66
  alt: string;
67
- aspectRatio?: import("../Image").ImageAspectRatio | undefined;
68
- media?: string | undefined;
69
- borderRadius?: "medium" | "small" | "large" | "xlarge" | "full" | undefined;
70
- srcSet?: Pick<React.ImgHTMLAttributes<HTMLImageElement>, "srcSet"> | undefined;
67
+ aspectRatio?: import("../Image").ImageAspectRatio;
68
+ media?: string;
69
+ borderRadius?: import("../Image").ImageBorderRadiusOptions;
70
+ srcSet?: Pick<React.ImgHTMLAttributes<HTMLImageElement>, "srcSet">;
71
71
  } & {
72
- as?: "img" | undefined;
73
- srcSet?: Pick<React.ImgHTMLAttributes<HTMLImageElement>, "srcSet"> | undefined;
72
+ as?: "img";
73
+ srcSet?: Pick<React.ImgHTMLAttributes<HTMLImageElement>, "srcSet">;
74
74
  }, "ref"> | Omit<{
75
- position?: "block-end" | "inline-end" | undefined;
75
+ position?: "inline-end" | "block-end";
76
76
  } & React.ImgHTMLAttributes<HTMLImageElement> & BaseProps<HTMLImageElement> & {
77
77
  src: string;
78
78
  alt: string;
79
- aspectRatio?: import("../Image").ImageAspectRatio | undefined;
80
- media?: string | undefined;
81
- borderRadius?: "medium" | "small" | "large" | "xlarge" | "full" | undefined;
82
- srcSet?: Pick<React.ImgHTMLAttributes<HTMLImageElement>, "srcSet"> | undefined;
79
+ aspectRatio?: import("../Image").ImageAspectRatio;
80
+ media?: string;
81
+ borderRadius?: import("../Image").ImageBorderRadiusOptions;
82
+ srcSet?: Pick<React.ImgHTMLAttributes<HTMLImageElement>, "srcSet">;
83
83
  } & {
84
84
  as: "picture";
85
85
  sources?: {
86
86
  srcset: string;
87
87
  media: string;
88
- }[] | undefined;
88
+ }[];
89
89
  srcSet?: undefined;
90
90
  }, "ref">) & React.RefAttributes<HTMLImageElement>>;
91
91
  Label: React.ForwardRefExoticComponent<Omit<HeroLabelProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
package/lib/IDE/IDE.d.ts CHANGED
@@ -76,17 +76,17 @@ export declare const IDE: React.NamedExoticComponent<{
76
76
  /**
77
77
  * Test id for the IDE
78
78
  */
79
- 'data-testid'?: string | undefined;
79
+ 'data-testid'?: string;
80
80
  /**
81
81
  * The optionally configurable height of the IDE
82
82
  */
83
- height?: number | undefined;
83
+ height?: number;
84
84
  /**
85
85
  * Alternative presentation of the IDE
86
86
  */
87
- variant?: "default" | "glass" | undefined;
87
+ variant?: "default" | "glass";
88
88
  } & BaseProps<HTMLDivElement> & {
89
- children?: React.ReactNode;
89
+ children?: React.ReactNode | undefined;
90
90
  }> & {
91
91
  readonly type: ({ alternativeText, children, className, "data-testid": testId, height, variant, ...rest }: PropsWithChildren<IDEProps>) => JSX.Element;
92
92
  } & {
@@ -103,7 +103,7 @@ export declare const IDE: React.NamedExoticComponent<{
103
103
  /**
104
104
  * The index of the active tab.
105
105
  */
106
- activeTab?: number | undefined;
106
+ activeTab?: number;
107
107
  /**
108
108
  * An array of IDE editor files.
109
109
  */
@@ -111,27 +111,27 @@ export declare const IDE: React.NamedExoticComponent<{
111
111
  /**
112
112
  * Determines whether line numbers should be shown in the editor.
113
113
  */
114
- showLineNumbers?: boolean | undefined;
114
+ showLineNumbers?: boolean;
115
115
  /**
116
116
  * Controls the size of the editor text.
117
117
  */
118
- size?: "medium" | "small" | "large" | undefined;
118
+ size?: "small" | "medium" | "large";
119
119
  /**
120
120
  * Used for triggering animation externally.
121
121
  */
122
- triggerAnimation?: boolean | undefined;
122
+ triggerAnimation?: boolean;
123
123
  /**
124
124
  * Determines whether the replay button should be shown.
125
125
  */
126
- showReplayButton?: boolean | undefined;
126
+ showReplayButton?: boolean;
127
127
  /**
128
128
  * Test id for the IDE.
129
129
  */
130
- 'data-testid'?: string | undefined;
130
+ 'data-testid'?: string;
131
131
  /**
132
132
  * Enable user customisation of the icons used in file tabs.
133
133
  */
134
- tabIcons?: IDEEditorTabIcon | undefined;
134
+ tabIcons?: IDEEditorTabIcon;
135
135
  } & BaseProps<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>>;
136
136
  };
137
137
  export {};