@primer/react-brand 0.20.1-rc.e3fd625 → 0.20.1

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 (247) hide show
  1. package/lib/Accordion/Accordion.d.ts +4 -4
  2. package/lib/ActionMenu/ActionMenu.d.ts +6 -6
  3. package/lib/Avatar/Avatar.d.ts +1 -1
  4. package/lib/Button/Button.d.ts +4 -4
  5. package/lib/ButtonGroup/ButtonGroup.d.ts +2 -2
  6. package/lib/CTABanner/CTABanner.d.ts +8 -8
  7. package/lib/CTAForm/CTAForm.d.ts +2 -2
  8. package/lib/Card/Card.d.ts +9 -7
  9. package/lib/ComparisonTable/ComparisonTable.d.ts +5 -4
  10. package/lib/FAQ/FAQ.d.ts +6 -5
  11. package/lib/Heading/Heading.d.ts +1 -1
  12. package/lib/Hero/Hero.d.ts +8 -8
  13. package/lib/InlineLink/InlineLink.d.ts +2 -1
  14. package/lib/Label/Label.d.ts +1 -1
  15. package/lib/Pillar/Pillar.d.ts +5 -5
  16. package/lib/Prose/Prose.d.ts +12 -0
  17. package/lib/Prose/index.d.ts +1 -0
  18. package/lib/River/River.d.ts +5 -5
  19. package/lib/SectionIntro/SectionIntro.d.ts +5 -5
  20. package/lib/Stack/Stack.d.ts +2 -2
  21. package/lib/SubdomainNavBar/SubdomainNavBar.d.ts +1 -1
  22. package/lib/Testimonial/Testimonial.d.ts +7 -7
  23. package/lib/css/main.css +383 -59
  24. package/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes.css +1 -1
  25. package/lib/design-tokens/css/tokens/base/colors/color-scales.css +1 -1
  26. package/lib/design-tokens/css/tokens/base/size/size.css +1 -1
  27. package/lib/design-tokens/css/tokens/base/typography/typography.css +1 -1
  28. package/lib/design-tokens/css/tokens/functional/animation/base.css +1 -1
  29. package/lib/design-tokens/css/tokens/functional/colors/global-with-modes.css +1 -1
  30. package/lib/design-tokens/css/tokens/functional/colors/global.css +1 -1
  31. package/lib/design-tokens/css/tokens/functional/components/accordion/colors-with-modes.css +1 -1
  32. package/lib/design-tokens/css/tokens/functional/components/action-menu/colors-with-modes.css +1 -1
  33. package/lib/design-tokens/css/tokens/functional/components/anchor-nav/colors-with-modes.css +1 -1
  34. package/lib/design-tokens/css/tokens/functional/components/button/colors-with-modes.css +1 -1
  35. package/lib/design-tokens/css/tokens/functional/components/card/base.css +1 -1
  36. package/lib/design-tokens/css/tokens/functional/components/card/colors-with-modes.css +1 -1
  37. package/lib/design-tokens/css/tokens/functional/components/card/colors.css +1 -1
  38. package/lib/design-tokens/css/tokens/functional/components/comparison-table/colors-with-modes.css +1 -1
  39. package/lib/design-tokens/css/tokens/functional/components/comparison-table/comparison-table.css +26 -0
  40. package/lib/design-tokens/css/tokens/functional/components/control/base.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/faq/base.css +1 -2
  44. package/lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes.css +1 -1
  45. package/lib/design-tokens/css/tokens/functional/components/faq/colors.css +1 -1
  46. package/lib/design-tokens/css/tokens/functional/components/faq/faq.css +26 -0
  47. package/lib/design-tokens/css/tokens/functional/components/footer/colors-with-modes.css +1 -1
  48. package/lib/design-tokens/css/tokens/functional/components/footer/colors.css +1 -1
  49. package/lib/design-tokens/css/tokens/functional/components/grid/colors-with-modes.css +1 -1
  50. package/lib/design-tokens/css/tokens/functional/components/grid/colors.css +1 -1
  51. package/lib/design-tokens/css/tokens/functional/components/grid/grid.css +1 -1
  52. package/lib/design-tokens/css/tokens/functional/components/hero/base.css +1 -1
  53. package/lib/design-tokens/css/tokens/functional/components/image/base.css +1 -1
  54. package/lib/design-tokens/css/tokens/functional/components/inline-link/base.css +10 -0
  55. package/lib/design-tokens/css/tokens/functional/components/inline-link/colors-with-modes.css +1 -1
  56. package/lib/design-tokens/css/tokens/functional/components/inline-link/colors.css +1 -1
  57. package/lib/design-tokens/css/tokens/functional/components/label/colors-with-modes.css +1 -1
  58. package/lib/design-tokens/css/tokens/functional/components/label/colors.css +1 -1
  59. package/lib/design-tokens/css/tokens/functional/components/link/colors-with-modes.css +1 -1
  60. package/lib/design-tokens/css/tokens/functional/components/link/colors.css +1 -1
  61. package/lib/design-tokens/css/tokens/functional/components/pillar/colors-with-modes.css +1 -1
  62. package/lib/design-tokens/css/tokens/functional/components/pillar/colors.css +1 -1
  63. package/lib/design-tokens/css/tokens/functional/components/prose/base.css +9 -0
  64. package/lib/design-tokens/css/tokens/functional/components/river/base.css +1 -1
  65. package/lib/design-tokens/css/tokens/functional/components/river/river.css +1 -1
  66. package/lib/design-tokens/css/tokens/functional/components/subdomain-nav-bar/colors-with-modes.css +1 -1
  67. package/lib/design-tokens/css/tokens/functional/size/border.css +1 -1
  68. package/lib/design-tokens/css/tokens/functional/size/breakpoints.css +1 -1
  69. package/lib/design-tokens/css/tokens/functional/size/size-coarse.css +1 -1
  70. package/lib/design-tokens/css/tokens/functional/size/size-fine.css +1 -1
  71. package/lib/design-tokens/css/tokens/functional/size/size.css +1 -1
  72. package/lib/design-tokens/css/tokens/functional/typography/typography-responsive.css +1 -1
  73. package/lib/design-tokens/css/tokens/functional/typography/typography.css +1 -1
  74. package/lib/design-tokens/js/module/tokens/base/colors/color-scales.js +1 -1
  75. package/lib/design-tokens/js/module/tokens/base/size/size.js +1 -1
  76. package/lib/design-tokens/js/module/tokens/base/typography/typography.js +1 -1
  77. package/lib/design-tokens/js/module/tokens/functional/animation/base.js +1 -1
  78. package/lib/design-tokens/js/module/tokens/functional/colors/global.js +1 -1
  79. package/lib/design-tokens/js/module/tokens/functional/components/card/base.js +1 -1
  80. package/lib/design-tokens/js/module/tokens/functional/components/card/colors.js +1 -1
  81. package/lib/design-tokens/js/module/tokens/functional/components/comparison-table/comparison-table.js +63 -0
  82. package/lib/design-tokens/js/module/tokens/functional/components/control/base.js +1 -1
  83. package/lib/design-tokens/js/module/tokens/functional/components/faq/base.js +1 -22
  84. package/lib/design-tokens/js/module/tokens/functional/components/faq/colors.js +1 -1
  85. package/lib/design-tokens/js/module/tokens/functional/components/faq/faq.js +63 -0
  86. package/lib/design-tokens/js/module/tokens/functional/components/footer/colors.js +1 -1
  87. package/lib/design-tokens/js/module/tokens/functional/components/grid/colors.js +1 -1
  88. package/lib/design-tokens/js/module/tokens/functional/components/grid/grid.js +1 -1
  89. package/lib/design-tokens/js/module/tokens/functional/components/hero/base.js +1 -1
  90. package/lib/design-tokens/js/module/tokens/functional/components/image/base.js +1 -1
  91. package/lib/design-tokens/js/module/tokens/functional/components/inline-link/base.js +65 -0
  92. package/lib/design-tokens/js/module/tokens/functional/components/inline-link/colors.js +1 -1
  93. package/lib/design-tokens/js/module/tokens/functional/components/label/colors.js +1 -1
  94. package/lib/design-tokens/js/module/tokens/functional/components/link/colors.js +1 -1
  95. package/lib/design-tokens/js/module/tokens/functional/components/pillar/colors.js +1 -1
  96. package/lib/design-tokens/js/module/tokens/functional/components/prose/base.js +44 -0
  97. package/lib/design-tokens/js/module/tokens/functional/components/river/base.js +1 -1
  98. package/lib/design-tokens/js/module/tokens/functional/components/river/river.js +1 -1
  99. package/lib/design-tokens/js/module/tokens/functional/size/border.js +1 -1
  100. package/lib/design-tokens/js/module/tokens/functional/size/breakpoints.js +1 -1
  101. package/lib/design-tokens/js/module/tokens/functional/size/size-coarse.js +1 -1
  102. package/lib/design-tokens/js/module/tokens/functional/size/size-fine.js +1 -1
  103. package/lib/design-tokens/js/module/tokens/functional/size/size.js +1 -1
  104. package/lib/design-tokens/js/module/tokens/functional/size/viewport.js +1 -1
  105. package/lib/design-tokens/js/module/tokens/functional/typography/typography-responsive.js +1 -1
  106. package/lib/design-tokens/js/module/tokens/functional/typography/typography.js +1 -1
  107. package/lib/design-tokens/js/tokens/base/colors/color-scales.js +1 -1
  108. package/lib/design-tokens/js/tokens/base/size/size.js +1 -1
  109. package/lib/design-tokens/js/tokens/base/typography/typography.js +1 -1
  110. package/lib/design-tokens/js/tokens/functional/animation/base.js +1 -1
  111. package/lib/design-tokens/js/tokens/functional/colors/global.js +1 -1
  112. package/lib/design-tokens/js/tokens/functional/components/card/base.js +1 -1
  113. package/lib/design-tokens/js/tokens/functional/components/card/colors.js +1 -1
  114. package/lib/design-tokens/js/tokens/functional/components/comparison-table/comparison-table.js +6 -0
  115. package/lib/design-tokens/js/tokens/functional/components/control/base.js +1 -1
  116. package/lib/design-tokens/js/tokens/functional/components/faq/base.js +1 -2
  117. package/lib/design-tokens/js/tokens/functional/components/faq/colors.js +1 -1
  118. package/lib/design-tokens/js/tokens/functional/components/faq/faq.js +6 -0
  119. package/lib/design-tokens/js/tokens/functional/components/footer/colors.js +1 -1
  120. package/lib/design-tokens/js/tokens/functional/components/grid/colors.js +1 -1
  121. package/lib/design-tokens/js/tokens/functional/components/grid/grid.js +1 -1
  122. package/lib/design-tokens/js/tokens/functional/components/hero/base.js +1 -1
  123. package/lib/design-tokens/js/tokens/functional/components/image/base.js +1 -1
  124. package/lib/design-tokens/js/tokens/functional/components/inline-link/base.js +8 -0
  125. package/lib/design-tokens/js/tokens/functional/components/inline-link/colors.js +1 -1
  126. package/lib/design-tokens/js/tokens/functional/components/label/colors.js +1 -1
  127. package/lib/design-tokens/js/tokens/functional/components/link/colors.js +1 -1
  128. package/lib/design-tokens/js/tokens/functional/components/pillar/colors.js +1 -1
  129. package/lib/design-tokens/js/tokens/functional/components/prose/base.js +7 -0
  130. package/lib/design-tokens/js/tokens/functional/components/river/base.js +1 -1
  131. package/lib/design-tokens/js/tokens/functional/components/river/river.js +1 -1
  132. package/lib/design-tokens/js/tokens/functional/size/border.js +1 -1
  133. package/lib/design-tokens/js/tokens/functional/size/breakpoints.js +1 -1
  134. package/lib/design-tokens/js/tokens/functional/size/size-coarse.js +1 -1
  135. package/lib/design-tokens/js/tokens/functional/size/size-fine.js +1 -1
  136. package/lib/design-tokens/js/tokens/functional/size/size.js +1 -1
  137. package/lib/design-tokens/js/tokens/functional/size/viewport.js +1 -1
  138. package/lib/design-tokens/js/tokens/functional/typography/typography-responsive.js +1 -1
  139. package/lib/design-tokens/js/tokens/functional/typography/typography.js +1 -1
  140. package/lib/design-tokens/scss/tokens/base/colors/color-scales.scss +1 -1
  141. package/lib/design-tokens/scss/tokens/base/size/size.scss +1 -1
  142. package/lib/design-tokens/scss/tokens/base/typography/typography.scss +1 -1
  143. package/lib/design-tokens/scss/tokens/functional/animation/base.scss +1 -1
  144. package/lib/design-tokens/scss/tokens/functional/colors/global.scss +1 -1
  145. package/lib/design-tokens/scss/tokens/functional/components/card/base.scss +1 -1
  146. package/lib/design-tokens/scss/tokens/functional/components/card/colors.scss +1 -1
  147. package/lib/design-tokens/scss/tokens/functional/components/comparison-table/comparison-table.scss +5 -0
  148. package/lib/design-tokens/scss/tokens/functional/components/control/base.scss +1 -1
  149. package/lib/design-tokens/scss/tokens/functional/components/faq/base.scss +1 -2
  150. package/lib/design-tokens/scss/tokens/functional/components/faq/colors.scss +1 -1
  151. package/lib/design-tokens/scss/tokens/functional/components/faq/faq.scss +5 -0
  152. package/lib/design-tokens/scss/tokens/functional/components/footer/colors.scss +1 -1
  153. package/lib/design-tokens/scss/tokens/functional/components/grid/colors.scss +1 -1
  154. package/lib/design-tokens/scss/tokens/functional/components/grid/grid.scss +1 -1
  155. package/lib/design-tokens/scss/tokens/functional/components/hero/base.scss +1 -1
  156. package/lib/design-tokens/scss/tokens/functional/components/image/base.scss +1 -1
  157. package/lib/design-tokens/scss/tokens/functional/components/inline-link/base.scss +7 -0
  158. package/lib/design-tokens/scss/tokens/functional/components/inline-link/colors.scss +1 -1
  159. package/lib/design-tokens/scss/tokens/functional/components/label/colors.scss +1 -1
  160. package/lib/design-tokens/scss/tokens/functional/components/link/colors.scss +1 -1
  161. package/lib/design-tokens/scss/tokens/functional/components/pillar/colors.scss +1 -1
  162. package/lib/design-tokens/scss/tokens/functional/components/prose/base.scss +6 -0
  163. package/lib/design-tokens/scss/tokens/functional/components/river/base.scss +1 -1
  164. package/lib/design-tokens/scss/tokens/functional/components/river/river.scss +1 -1
  165. package/lib/design-tokens/scss/tokens/functional/size/border.scss +1 -1
  166. package/lib/design-tokens/scss/tokens/functional/size/breakpoints.scss +1 -1
  167. package/lib/design-tokens/scss/tokens/functional/size/size-coarse.scss +1 -1
  168. package/lib/design-tokens/scss/tokens/functional/size/size-fine.scss +1 -1
  169. package/lib/design-tokens/scss/tokens/functional/size/size.scss +1 -1
  170. package/lib/design-tokens/scss/tokens/functional/size/viewport.scss +1 -1
  171. package/lib/design-tokens/scss/tokens/functional/typography/typography-responsive.scss +1 -1
  172. package/lib/design-tokens/scss/tokens/functional/typography/typography.scss +1 -1
  173. package/lib/design-tokens/ts/tokens/base/colors/color-scales.d.ts +1 -1
  174. package/lib/design-tokens/ts/tokens/base/colors/color-scales.js +1 -1
  175. package/lib/design-tokens/ts/tokens/base/size/size.d.ts +1 -1
  176. package/lib/design-tokens/ts/tokens/base/size/size.js +1 -1
  177. package/lib/design-tokens/ts/tokens/base/typography/typography.d.ts +1 -1
  178. package/lib/design-tokens/ts/tokens/base/typography/typography.js +1 -1
  179. package/lib/design-tokens/ts/tokens/functional/animation/base.d.ts +1 -1
  180. package/lib/design-tokens/ts/tokens/functional/animation/base.js +1 -1
  181. package/lib/design-tokens/ts/tokens/functional/colors/global.d.ts +1 -1
  182. package/lib/design-tokens/ts/tokens/functional/colors/global.js +1 -1
  183. package/lib/design-tokens/ts/tokens/functional/components/card/base.d.ts +1 -1
  184. package/lib/design-tokens/ts/tokens/functional/components/card/base.js +1 -1
  185. package/lib/design-tokens/ts/tokens/functional/components/card/colors.d.ts +1 -1
  186. package/lib/design-tokens/ts/tokens/functional/components/card/colors.js +1 -1
  187. package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.d.ts +17 -0
  188. package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.js +16 -0
  189. package/lib/design-tokens/ts/tokens/functional/components/control/base.d.ts +1 -1
  190. package/lib/design-tokens/ts/tokens/functional/components/control/base.js +1 -1
  191. package/lib/design-tokens/ts/tokens/functional/components/faq/base.d.ts +1 -6
  192. package/lib/design-tokens/ts/tokens/functional/components/faq/base.js +1 -6
  193. package/lib/design-tokens/ts/tokens/functional/components/faq/colors.d.ts +1 -1
  194. package/lib/design-tokens/ts/tokens/functional/components/faq/colors.js +1 -1
  195. package/lib/design-tokens/ts/tokens/functional/components/faq/faq.d.ts +17 -0
  196. package/lib/design-tokens/ts/tokens/functional/components/faq/faq.js +16 -0
  197. package/lib/design-tokens/ts/tokens/functional/components/footer/colors.d.ts +1 -1
  198. package/lib/design-tokens/ts/tokens/functional/components/footer/colors.js +1 -1
  199. package/lib/design-tokens/ts/tokens/functional/components/grid/colors.d.ts +1 -1
  200. package/lib/design-tokens/ts/tokens/functional/components/grid/colors.js +1 -1
  201. package/lib/design-tokens/ts/tokens/functional/components/grid/grid.d.ts +1 -1
  202. package/lib/design-tokens/ts/tokens/functional/components/grid/grid.js +1 -1
  203. package/lib/design-tokens/ts/tokens/functional/components/hero/base.d.ts +1 -1
  204. package/lib/design-tokens/ts/tokens/functional/components/hero/base.js +1 -1
  205. package/lib/design-tokens/ts/tokens/functional/components/image/base.d.ts +1 -1
  206. package/lib/design-tokens/ts/tokens/functional/components/image/base.js +1 -1
  207. package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.d.ts +53 -0
  208. package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.js +20 -0
  209. package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.d.ts +1 -1
  210. package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.js +1 -1
  211. package/lib/design-tokens/ts/tokens/functional/components/label/colors.d.ts +1 -1
  212. package/lib/design-tokens/ts/tokens/functional/components/label/colors.js +1 -1
  213. package/lib/design-tokens/ts/tokens/functional/components/link/colors.d.ts +1 -1
  214. package/lib/design-tokens/ts/tokens/functional/components/link/colors.js +1 -1
  215. package/lib/design-tokens/ts/tokens/functional/components/pillar/colors.d.ts +1 -1
  216. package/lib/design-tokens/ts/tokens/functional/components/pillar/colors.js +1 -1
  217. package/lib/design-tokens/ts/tokens/functional/components/prose/base.d.ts +18 -0
  218. package/lib/design-tokens/ts/tokens/functional/components/prose/base.js +17 -0
  219. package/lib/design-tokens/ts/tokens/functional/components/river/base.d.ts +1 -1
  220. package/lib/design-tokens/ts/tokens/functional/components/river/base.js +1 -1
  221. package/lib/design-tokens/ts/tokens/functional/components/river/river.d.ts +1 -1
  222. package/lib/design-tokens/ts/tokens/functional/components/river/river.js +1 -1
  223. package/lib/design-tokens/ts/tokens/functional/size/border.d.ts +1 -1
  224. package/lib/design-tokens/ts/tokens/functional/size/border.js +1 -1
  225. package/lib/design-tokens/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  226. package/lib/design-tokens/ts/tokens/functional/size/breakpoints.js +1 -1
  227. package/lib/design-tokens/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  228. package/lib/design-tokens/ts/tokens/functional/size/size-coarse.js +1 -1
  229. package/lib/design-tokens/ts/tokens/functional/size/size-fine.d.ts +1 -1
  230. package/lib/design-tokens/ts/tokens/functional/size/size-fine.js +1 -1
  231. package/lib/design-tokens/ts/tokens/functional/size/size.d.ts +1 -1
  232. package/lib/design-tokens/ts/tokens/functional/size/size.js +1 -1
  233. package/lib/design-tokens/ts/tokens/functional/size/viewport.d.ts +1 -1
  234. package/lib/design-tokens/ts/tokens/functional/size/viewport.js +1 -1
  235. package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.d.ts +1 -1
  236. package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.js +1 -1
  237. package/lib/design-tokens/ts/tokens/functional/typography/typography.d.ts +1 -1
  238. package/lib/design-tokens/ts/tokens/functional/typography/typography.js +1 -1
  239. package/lib/forms/Checkbox/Checkbox.d.ts +2 -2
  240. package/lib/forms/Radio/Radio.d.ts +2 -2
  241. package/lib/forms/Select/Select.d.ts +2 -2
  242. package/lib/forms/TextInput/TextInput.d.ts +2 -2
  243. package/lib/forms/Textarea/Textarea.d.ts +2 -2
  244. package/lib/index.d.ts +1 -0
  245. package/lib/index.js +1 -1
  246. package/package.json +3 -3
  247. package/lib/forms/Checkbox/forms.visual.spec.d.ts +0 -1
@@ -8,13 +8,13 @@ export type AccordionRootProps = BaseProps<HTMLDetailsElement> & {
8
8
  open?: boolean;
9
9
  children: React.ReactElement<AccordionHeadingProps | AccordionContentProps>[];
10
10
  } & React.HTMLAttributes<HTMLDetailsElement>;
11
- export declare const AccordionRoot: React.ForwardRefExoticComponent<Pick<AccordionRootProps, "children" | "className" | "id" | "animate" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "open"> & React.RefAttributes<HTMLDetailsElement>>;
11
+ export declare const AccordionRoot: React.ForwardRefExoticComponent<Omit<AccordionRootProps, "ref"> & React.RefAttributes<HTMLDetailsElement>>;
12
12
  type AccordionHeadingProps = BaseProps<HTMLHeadingElement> & {
13
13
  className?: string;
14
14
  children: string;
15
15
  as?: 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
16
16
  };
17
- export declare const AccordionHeading: React.ForwardRefExoticComponent<Pick<AccordionHeadingProps, "children" | "className" | "id" | "animate" | "as"> & React.RefAttributes<HTMLHeadingElement>>;
17
+ export declare const AccordionHeading: React.ForwardRefExoticComponent<Omit<AccordionHeadingProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
18
18
  type AccordionContentProps = BaseProps<HTMLElement> & {
19
19
  className?: string;
20
20
  children: React.ReactElement | React.ReactElement[];
@@ -23,8 +23,8 @@ export declare function AccordionContent({ children, className, ...rest }: Accor
23
23
  /**
24
24
  * Branded Accordion component
25
25
  */
26
- export declare const Accordion: React.ForwardRefExoticComponent<Pick<AccordionRootProps, "children" | "className" | "id" | "animate" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "open"> & React.RefAttributes<HTMLDetailsElement>> & {
26
+ export declare const Accordion: React.ForwardRefExoticComponent<Omit<AccordionRootProps, "ref"> & React.RefAttributes<HTMLDetailsElement>> & {
27
27
  Content: typeof AccordionContent;
28
- Heading: React.ForwardRefExoticComponent<Pick<AccordionHeadingProps, "children" | "className" | "id" | "animate" | "as"> & React.RefAttributes<HTMLHeadingElement>>;
28
+ Heading: React.ForwardRefExoticComponent<Omit<AccordionHeadingProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
29
29
  };
30
30
  export {};
@@ -101,7 +101,7 @@ export declare const ActionMenu: React.NamedExoticComponent<{
101
101
  } & BaseProps<HTMLDivElement>> & {
102
102
  readonly type: ({ id, children, "data-testid": testId, disabled, open, selectionVariant, menuAlignment, onSelect, }: ActionMenuProps) => JSX.Element;
103
103
  } & {
104
- Button: React.ForwardRefExoticComponent<(Pick<((instance: HTMLButtonElement | null) => void) & {
104
+ Button: React.ForwardRefExoticComponent<(Omit<((instance: HTMLButtonElement | null) => void) & {
105
105
  children?: React.ReactNode;
106
106
  } & {
107
107
  id?: string | undefined;
@@ -111,7 +111,7 @@ export declare const ActionMenu: React.NamedExoticComponent<{
111
111
  disabled?: boolean | undefined;
112
112
  onClick?: ((event: React.MouseEvent<HTMLButtonElement>) => void) | undefined;
113
113
  'data-testid'?: string | undefined;
114
- }, "children" | "className" | "id" | "onClick" | "disabled" | "data-testid" | "menuOpen"> | Pick<React.RefObject<HTMLButtonElement> & {
114
+ }, "ref"> | Omit<React.RefObject<HTMLButtonElement> & {
115
115
  children?: React.ReactNode;
116
116
  } & {
117
117
  id?: string | undefined;
@@ -121,9 +121,9 @@ export declare const ActionMenu: React.NamedExoticComponent<{
121
121
  disabled?: boolean | undefined;
122
122
  onClick?: ((event: React.MouseEvent<HTMLButtonElement>) => void) | undefined;
123
123
  'data-testid'?: string | undefined;
124
- }, "children" | "className" | "id" | "onClick" | "disabled" | "current" | "data-testid" | "menuOpen">) & React.RefAttributes<HTMLButtonElement>>;
124
+ }, "ref">) & React.RefAttributes<HTMLButtonElement>>;
125
125
  Item: ({ children, className, disabled, handler, selected, type, value, ...props }: ActionMenuItemProps) => JSX.Element;
126
- Overlay: React.ForwardRefExoticComponent<(Pick<((instance: HTMLUListElement | null) => void) & {
126
+ Overlay: React.ForwardRefExoticComponent<(Omit<((instance: HTMLUListElement | null) => void) & {
127
127
  children?: React.ReactNode;
128
128
  } & {
129
129
  'aria-label': string;
@@ -133,7 +133,7 @@ export declare const ActionMenu: React.NamedExoticComponent<{
133
133
  'data-testid'?: string | undefined;
134
134
  menuOpen?: boolean | undefined;
135
135
  style?: React.CSSProperties | undefined;
136
- }, "children" | "className" | "id" | "style" | "aria-label" | "data-testid" | "menuOpen"> | Pick<React.RefObject<HTMLUListElement> & {
136
+ }, "ref"> | Omit<React.RefObject<HTMLUListElement> & {
137
137
  children?: React.ReactNode;
138
138
  } & {
139
139
  'aria-label': string;
@@ -143,7 +143,7 @@ export declare const ActionMenu: React.NamedExoticComponent<{
143
143
  'data-testid'?: string | undefined;
144
144
  menuOpen?: boolean | undefined;
145
145
  style?: React.CSSProperties | undefined;
146
- }, "children" | "className" | "id" | "style" | "aria-label" | "current" | "data-testid" | "menuOpen">) & React.RefAttributes<HTMLUListElement>>;
146
+ }, "ref">) & React.RefAttributes<HTMLUListElement>>;
147
147
  testIds: {
148
148
  root: string;
149
149
  readonly button: string;
@@ -15,7 +15,7 @@ export type AvatarProps = BaseProps<HTMLImageElement> & {
15
15
  alt: string;
16
16
  ['data-testid']?: string;
17
17
  } & React.ImgHTMLAttributes<HTMLImageElement>;
18
- export declare const Avatar: React.ForwardRefExoticComponent<Pick<AvatarProps, "children" | "className" | "id" | "animate" | "size" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "referrerPolicy" | "alt" | "src" | "data-testid" | "crossOrigin" | "height" | "width" | "shape" | "decoding" | "loading" | "sizes" | "srcSet" | "useMap"> & React.RefAttributes<HTMLImageElement>> & {
18
+ export declare const Avatar: React.ForwardRefExoticComponent<Omit<AvatarProps, "ref"> & React.RefAttributes<HTMLImageElement>> & {
19
19
  testIds: {
20
20
  root: string;
21
21
  readonly image: string;
@@ -31,12 +31,12 @@ export type ButtonBaseProps = {
31
31
  export type ButtonProps<C extends React.ElementType> = BaseProps<C> & {
32
32
  as?: C;
33
33
  } & ButtonBaseProps & React.ComponentPropsWithoutRef<C>;
34
- export declare const _Button: React.ForwardRefExoticComponent<Pick<BaseProps<React.ElementType<any>> & {
34
+ export declare const _Button: React.ForwardRefExoticComponent<Omit<BaseProps<React.ElementType<any>> & {
35
35
  as?: React.ElementType<any> | undefined;
36
- } & ButtonBaseProps & Pick<any, string | number | symbol>, string | number | symbol> & React.RefAttributes<HTMLButtonElement>>;
37
- export declare const Button: React.ForwardRefExoticComponent<Pick<BaseProps<React.ElementType<any>> & {
36
+ } & ButtonBaseProps & Omit<any, "ref">, "ref"> & React.RefAttributes<HTMLButtonElement>>;
37
+ export declare const Button: React.ForwardRefExoticComponent<Omit<BaseProps<React.ElementType<any>> & {
38
38
  as?: React.ElementType<any> | undefined;
39
- } & ButtonBaseProps & Pick<any, string | number | symbol>, string | number | symbol> & React.RefAttributes<HTMLButtonElement>> & {
39
+ } & ButtonBaseProps & Omit<any, "ref">, "ref"> & React.RefAttributes<HTMLButtonElement>> & {
40
40
  testIds: {
41
41
  root: string;
42
42
  readonly leadingVisual: string;
@@ -7,9 +7,9 @@ export type ButtonGroupProps = BaseProps<HTMLDivElement> & {
7
7
  buttonSize?: ButtonProps<'button' | 'a'>['size'];
8
8
  buttonsAs?: React.ElementType;
9
9
  };
10
- export declare const ButtonGroup: React.ForwardRefExoticComponent<Pick<BaseProps<HTMLDivElement> & {
10
+ export declare const ButtonGroup: React.ForwardRefExoticComponent<Omit<BaseProps<HTMLDivElement> & {
11
11
  children: PrimerBrandButtonType[] | PrimerBrandButtonType;
12
12
  buttonSize?: ButtonProps<'button' | 'a'>['size'];
13
13
  buttonsAs?: React.ElementType<any> | undefined;
14
- }, "children" | "className" | "id" | "animate" | "buttonSize" | "buttonsAs"> & React.RefAttributes<HTMLDivElement>>;
14
+ }, "ref"> & React.RefAttributes<HTMLDivElement>>;
15
15
  export {};
@@ -11,14 +11,14 @@ export type CTABannerProps = BaseProps<HTMLElement> & {
11
11
  hasShadow?: boolean;
12
12
  hasBackground?: boolean;
13
13
  };
14
- export declare const CTABanner: React.ForwardRefExoticComponent<Pick<BaseProps<HTMLElement> & {
14
+ export declare const CTABanner: React.ForwardRefExoticComponent<Omit<BaseProps<HTMLElement> & {
15
15
  children: React.ReactNode | React.ReactNode[];
16
16
  align?: "start" | "center" | undefined;
17
17
  hasBorder?: boolean | undefined;
18
18
  hasShadow?: boolean | undefined;
19
19
  hasBackground?: boolean | undefined;
20
- }, "children" | "className" | "align" | "id" | "animate" | "hasShadow" | "hasBorder" | "hasBackground"> & React.RefAttributes<HTMLElement>> & {
21
- Heading: React.ForwardRefExoticComponent<Pick<BaseProps<HTMLHeadingElement> & {
20
+ }, "ref"> & React.RefAttributes<HTMLElement>> & {
21
+ Heading: React.ForwardRefExoticComponent<Omit<BaseProps<HTMLHeadingElement> & {
22
22
  children: React.ReactNode | React.ReactNode[];
23
23
  } & {
24
24
  as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | undefined;
@@ -40,13 +40,13 @@ export declare const CTABanner: React.ForwardRefExoticComponent<Pick<BaseProps<H
40
40
  regular?: "normal" | "condensed" | "none" | undefined;
41
41
  wide?: "normal" | "condensed" | "none" | undefined;
42
42
  } | undefined;
43
- } & React.HTMLAttributes<HTMLHeadingElement>, "children" | "className" | "id" | "animate" | "as" | "size" | "weight" | "stretch" | "letterSpacing" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLHeadingElement>>;
44
- Description: React.ForwardRefExoticComponent<Pick<BaseProps<HTMLParagraphElement> & {
43
+ } & React.HTMLAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
44
+ Description: React.ForwardRefExoticComponent<Omit<BaseProps<HTMLParagraphElement> & {
45
45
  children: React.ReactNode | React.ReactNode[];
46
- }, "children" | "className" | "id" | "animate"> & React.RefAttributes<HTMLParagraphElement>>;
47
- ButtonGroup: React.ForwardRefExoticComponent<Pick<Pick<BaseProps<HTMLDivElement> & {
46
+ }, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
47
+ ButtonGroup: React.ForwardRefExoticComponent<Omit<Omit<BaseProps<HTMLDivElement> & {
48
48
  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>>[];
49
49
  buttonSize?: "medium" | "large" | undefined;
50
50
  buttonsAs?: React.ElementType<any> | undefined;
51
- }, "children" | "className" | "id" | "animate" | "buttonSize" | "buttonsAs"> & React.RefAttributes<HTMLDivElement>, "children" | "className" | "id" | "animate" | "key" | "buttonSize" | "buttonsAs"> & React.RefAttributes<HTMLDivElement>>;
51
+ }, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
52
52
  };
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  export declare const CTAForm: React.ForwardRefExoticComponent<React.FormHTMLAttributes<HTMLFormElement> & React.RefAttributes<HTMLFormElement>> & {
3
3
  Input: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
4
4
  Confirm: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
5
- Action: React.ForwardRefExoticComponent<Pick<Omit<Pick<import("../component-helpers").BaseProps<React.ElementType<any>> & {
5
+ Action: React.ForwardRefExoticComponent<Omit<Omit<Omit<import("../component-helpers").BaseProps<React.ElementType<any>> & {
6
6
  as?: React.ElementType<any> | undefined;
7
- } & import("../").ButtonBaseProps & Pick<any, string | number | symbol>, string | number | symbol> & React.RefAttributes<HTMLButtonElement>, "variant" | "type">, string | number | symbol> & React.RefAttributes<HTMLButtonElement>>;
7
+ } & import("../").ButtonBaseProps & Omit<any, "ref">, "ref"> & React.RefAttributes<HTMLButtonElement>, "variant" | "type">, "ref"> & React.RefAttributes<HTMLButtonElement>>;
8
8
  };
@@ -24,15 +24,16 @@ export type CardProps = {
24
24
  * Changes the cta text of the card
25
25
  * */
26
26
  ctaText?: string;
27
- } & Omit<BaseProps<HTMLAnchorElement>, 'animate'> & React.ComponentPropsWithoutRef<'a'>;
27
+ } & Omit<BaseProps<HTMLDivElement>, 'animate'> & Omit<React.ComponentPropsWithoutRef<'div'>, 'onMouseEnter' | 'onMouseLeave' | 'onFocus' | 'onBlur'> & Pick<React.ComponentPropsWithoutRef<'a'>, 'onMouseEnter' | 'onMouseLeave' | 'onFocus' | 'onBlur'>;
28
28
  type CardImageProps = ImageProps;
29
29
  declare function CardImage({ className, ...rest }: CardImageProps): JSX.Element;
30
30
  type CardIconProps = BaseProps<HTMLSpanElement> & {
31
31
  icon: React.ReactNode | IconProps;
32
32
  color?: (typeof CardIconColors)[number];
33
33
  hasBackground?: boolean;
34
+ ['aria-hidden']?: boolean;
34
35
  };
35
- declare function CardIcon({ icon: Icon, className, color, hasBackground, ...rest }: CardIconProps): JSX.Element;
36
+ declare function CardIcon({ 'aria-hidden': ariaHidden, icon: Icon, className, color, hasBackground, ...rest }: CardIconProps): JSX.Element;
36
37
  type CardLabelProps = BaseProps<HTMLSpanElement> & {
37
38
  children: React.ReactNode | React.ReactNode[];
38
39
  color?: (typeof LabelColors)[number];
@@ -40,7 +41,8 @@ type CardLabelProps = BaseProps<HTMLSpanElement> & {
40
41
  type CardHeadingProps = BaseProps<HTMLHeadingElement> & {
41
42
  children: React.ReactNode | React.ReactNode[];
42
43
  as?: Exclude<HeadingProps['as'], 'h1'>;
43
- } & HeadingProps;
44
+ href?: string;
45
+ } & Omit<HeadingProps, 'onMouseEnter' | 'onMouseLeave' | 'onFocus' | 'onBlur'> & React.ComponentPropsWithoutRef<'a'>;
44
46
  type CardDescriptionProps = BaseProps<HTMLParagraphElement> & {
45
47
  children: React.ReactNode | React.ReactNode[];
46
48
  };
@@ -48,11 +50,11 @@ type CardDescriptionProps = BaseProps<HTMLParagraphElement> & {
48
50
  * Card component:
49
51
  * {@link https://primer.style/brand/components/Card/ See usage examples}.
50
52
  */
51
- export declare const Card: React.ForwardRefExoticComponent<Pick<CardProps, keyof React.AnchorHTMLAttributes<HTMLAnchorElement> | "key" | "ctaText"> & React.RefAttributes<HTMLAnchorElement>> & {
53
+ export declare const Card: React.ForwardRefExoticComponent<Omit<CardProps, "ref"> & React.RefAttributes<HTMLDivElement>> & {
52
54
  Image: typeof CardImage;
53
- Label: React.ForwardRefExoticComponent<Pick<CardLabelProps, "children" | "className" | "id" | "animate" | "color"> & React.RefAttributes<HTMLSpanElement>>;
55
+ Label: React.ForwardRefExoticComponent<Omit<CardLabelProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
54
56
  Icon: typeof CardIcon;
55
- Heading: React.ForwardRefExoticComponent<Pick<CardHeadingProps, "children" | "className" | "id" | "animate" | "as" | "size" | "weight" | "stretch" | "letterSpacing" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLHeadingElement>>;
56
- Description: React.ForwardRefExoticComponent<Pick<CardDescriptionProps, "children" | "className" | "id" | "animate"> & React.RefAttributes<HTMLParagraphElement>>;
57
+ Heading: React.ForwardRefExoticComponent<Omit<CardHeadingProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
58
+ Description: React.ForwardRefExoticComponent<Omit<CardDescriptionProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
57
59
  };
58
60
  export {};
@@ -4,18 +4,19 @@ import type { BaseProps } from '../component-helpers';
4
4
  * Design tokens
5
5
  */
6
6
  import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/comparison-table/colors-with-modes.css';
7
+ import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/comparison-table/comparison-table.css';
7
8
  export type ComparisonTableProps<C extends React.ElementType> = BaseProps<C> & {
8
9
  as?: C;
9
10
  heading?: string;
10
11
  variant?: 'default' | 'minimal';
11
12
  featuredColumn?: number;
12
13
  } & React.ComponentPropsWithoutRef<C>;
13
- export declare const _ComparisonTable: React.ForwardRefExoticComponent<Pick<BaseProps<React.ElementType<any>> & {
14
+ export declare const _ComparisonTable: React.ForwardRefExoticComponent<Omit<BaseProps<React.ElementType<any>> & {
14
15
  as?: React.ElementType<any> | undefined;
15
16
  heading?: string | undefined;
16
17
  variant?: "default" | "minimal" | undefined;
17
18
  featuredColumn?: number | undefined;
18
- } & Pick<any, string | number | symbol>, string | number | symbol> & React.RefAttributes<HTMLDivElement>>;
19
+ } & Omit<any, "ref">, "ref"> & React.RefAttributes<HTMLDivElement>>;
19
20
  type RowProps = {
20
21
  header?: boolean;
21
22
  };
@@ -29,12 +30,12 @@ export type FootnoteProps = BaseProps<HTMLParagraphElement>;
29
30
  * They are useful for comparing products, plans, or features in marketing pages.
30
31
  * @see https://primer.style/brand/components/ComparisonTable
31
32
  */
32
- export declare const ComparisonTable: React.ForwardRefExoticComponent<Pick<BaseProps<React.ElementType<any>> & {
33
+ export declare const ComparisonTable: React.ForwardRefExoticComponent<Omit<BaseProps<React.ElementType<any>> & {
33
34
  as?: React.ElementType<any> | undefined;
34
35
  heading?: string | undefined;
35
36
  variant?: "default" | "minimal" | undefined;
36
37
  featuredColumn?: number | undefined;
37
- } & Pick<any, string | number | symbol>, string | number | symbol> & React.RefAttributes<HTMLDivElement>> & {
38
+ } & Omit<any, "ref">, "ref"> & React.RefAttributes<HTMLDivElement>> & {
38
39
  Row: ({ children, ...rest }: PropsWithChildren<RowProps>) => JSX.Element;
39
40
  Cell: ({ as, children, ...props }: PropsWithChildren<CellProps>) => JSX.Element;
40
41
  Footnote: ({ children, ...props }: PropsWithChildren<FootnoteProps>) => JSX.Element;
package/lib/FAQ/FAQ.d.ts CHANGED
@@ -6,6 +6,7 @@ import type { BaseProps } from '../component-helpers';
6
6
  */
7
7
  import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/faq/base.css';
8
8
  import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes.css';
9
+ import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/faq/faq.css';
9
10
  type FAQRootProps = PropsWithChildren<BaseProps<HTMLElement>> & React.HTMLAttributes<HTMLElement>;
10
11
  type FAQHeadingProps = BaseProps<HTMLHeadingElement> & {
11
12
  size?: 'medium' | 'large';
@@ -23,15 +24,15 @@ declare function FAQSubheading({ children, className, as, ...rest }: FAQSubheadi
23
24
  * FAQ component:
24
25
  * {@link https://primer.style/brand/components/FAQ/ See usage examples}.
25
26
  */
26
- export declare const FAQ: React.ForwardRefExoticComponent<Pick<FAQRootProps, "children" | "className" | "id" | "animate" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLElement>> & {
27
+ export declare const FAQ: React.ForwardRefExoticComponent<Omit<FAQRootProps, "ref"> & React.RefAttributes<HTMLElement>> & {
27
28
  Subheading: typeof FAQSubheading;
28
- Heading: React.ForwardRefExoticComponent<Pick<FAQHeadingProps, "children" | "className" | "align" | "id" | "animate" | "as" | "size"> & React.RefAttributes<HTMLHeadingElement>>;
29
- Item: React.ForwardRefExoticComponent<Pick<import("..").AccordionRootProps, "children" | "className" | "id" | "animate" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "open"> & React.RefAttributes<HTMLDetailsElement>>;
30
- Question: React.ForwardRefExoticComponent<Pick<BaseProps<HTMLHeadingElement> & {
29
+ Heading: React.ForwardRefExoticComponent<Omit<FAQHeadingProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
30
+ Item: React.ForwardRefExoticComponent<Omit<import("..").AccordionRootProps, "ref"> & React.RefAttributes<HTMLDetailsElement>>;
31
+ Question: React.ForwardRefExoticComponent<Omit<BaseProps<HTMLHeadingElement> & {
31
32
  className?: string | undefined;
32
33
  children: string;
33
34
  as?: "h2" | "h3" | "h4" | "h5" | "h6" | undefined;
34
- }, "children" | "className" | "id" | "animate" | "as"> & React.RefAttributes<HTMLHeadingElement>>;
35
+ }, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
35
36
  Answer: typeof AccordionContent;
36
37
  };
37
38
  export {};
@@ -39,5 +39,5 @@ export type HeadingProps = {
39
39
  stretch?: HeadingStretchVariants | ResponsiveStretchMap;
40
40
  letterSpacing?: HeadingLetterSpacingVariants | ResponsiveLetterSpacingMap;
41
41
  } & React.HTMLAttributes<HTMLHeadingElement> & BaseProps<HTMLHeadingElement>;
42
- export declare const Heading: React.ForwardRefExoticComponent<Pick<HeadingProps, "children" | "className" | "id" | "animate" | "as" | "size" | "weight" | "stretch" | "letterSpacing" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLHeadingElement>>;
42
+ export declare const Heading: React.ForwardRefExoticComponent<Omit<HeadingProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
43
43
  export {};
@@ -13,38 +13,38 @@ type HeroDescriptionProps = {
13
13
  weight?: TextWeightVariants | ResponsiveWeightMap;
14
14
  } & BaseProps<HTMLParagraphElement>;
15
15
  declare function HeroDescription({ size, weight, children }: PropsWithChildren<HeroDescriptionProps>): JSX.Element;
16
- export declare const Hero: React.ForwardRefExoticComponent<Pick<React.PropsWithChildren<HeroProps>, "children" | "className" | "align" | "id" | "animate"> & React.RefAttributes<HTMLElement>> & {
17
- Heading: React.ForwardRefExoticComponent<Pick<HeroHeadingProps, "children" | "className" | "id" | "animate" | "size" | "weight" | "stretch" | "letterSpacing" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLHeadingElement>>;
16
+ export declare const Hero: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<HeroProps>, "ref"> & React.RefAttributes<HTMLElement>> & {
17
+ Heading: React.ForwardRefExoticComponent<Omit<HeroHeadingProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
18
18
  Description: typeof HeroDescription;
19
- PrimaryAction: React.ForwardRefExoticComponent<(Pick<{
19
+ PrimaryAction: React.ForwardRefExoticComponent<(Omit<{
20
20
  as?: "a" | "button" | undefined;
21
21
  href: string;
22
22
  } & ButtonBaseProps & BaseProps<HTMLAnchorElement> & {
23
23
  as?: "a" | undefined;
24
24
  } & {
25
25
  children?: React.ReactNode;
26
- }, "children" | "className" | "id" | "animate" | "as" | "href" | keyof ButtonBaseProps> | Pick<{
26
+ }, "ref"> | Omit<{
27
27
  as?: "a" | "button" | undefined;
28
28
  href: string;
29
29
  } & ButtonBaseProps & BaseProps<HTMLButtonElement> & {
30
30
  as?: "button" | undefined;
31
31
  } & {
32
32
  children?: React.ReactNode;
33
- }, "children" | "className" | "id" | "animate" | "as" | "href" | keyof ButtonBaseProps>) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
34
- SecondaryAction: React.ForwardRefExoticComponent<(Pick<{
33
+ }, "ref">) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
34
+ SecondaryAction: React.ForwardRefExoticComponent<(Omit<{
35
35
  as?: "a" | "button" | undefined;
36
36
  href: string;
37
37
  } & ButtonBaseProps & BaseProps<HTMLAnchorElement> & {
38
38
  as?: "a" | undefined;
39
39
  } & {
40
40
  children?: React.ReactNode;
41
- }, "children" | "className" | "id" | "animate" | "as" | "href" | keyof ButtonBaseProps> | Pick<{
41
+ }, "ref"> | Omit<{
42
42
  as?: "a" | "button" | undefined;
43
43
  href: string;
44
44
  } & ButtonBaseProps & BaseProps<HTMLButtonElement> & {
45
45
  as?: "button" | undefined;
46
46
  } & {
47
47
  children?: React.ReactNode;
48
- }, "children" | "className" | "id" | "animate" | "as" | "href" | keyof ButtonBaseProps>) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
48
+ }, "ref">) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
49
49
  };
50
50
  export {};
@@ -5,6 +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/inline-link/colors-with-modes.css';
8
+ import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/inline-link/base.css';
8
9
  export type InlineLinkProps = BaseProps<HTMLAnchorElement> & {
9
10
  /**
10
11
  * Specify the links destination
@@ -18,4 +19,4 @@ export type InlineLinkProps = BaseProps<HTMLAnchorElement> & {
18
19
  /**
19
20
  * A HTML anchor link component that renders inline with adjacent text.
20
21
  */
21
- export declare const InlineLink: React.ForwardRefExoticComponent<Pick<InlineLinkProps, "children" | "className" | "id" | "animate" | "size" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "href" | "type" | "download" | "hrefLang" | "media" | "ping" | "target" | "referrerPolicy"> & React.RefAttributes<HTMLAnchorElement>>;
22
+ export declare const InlineLink: React.ForwardRefExoticComponent<Omit<InlineLinkProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
@@ -27,7 +27,7 @@ export type LabelProps = BaseProps<HTMLSpanElement> & {
27
27
  * Use a Label to indicate the status of an object or to categorize it with metadata that describes it.
28
28
  * @see https://primer.style/brand/components/Label
29
29
  */
30
- export declare const Label: React.ForwardRefExoticComponent<Pick<LabelProps, "children" | "className" | "id" | "animate" | "size" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "leadingVisual" | "data-testid" | "key"> & React.RefAttributes<HTMLSpanElement>> & {
30
+ export declare const Label: React.ForwardRefExoticComponent<Omit<LabelProps, "ref"> & React.RefAttributes<HTMLSpanElement>> & {
31
31
  testIds: {
32
32
  root: string;
33
33
  readonly leadingVisual: string;