@arc-ui/components 12.0.0-beta.16 → 12.0.0-beta.18

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 (251) hide show
  1. package/lib/Alert/Alert.cjs +1 -1
  2. package/lib/Alert/Alert.mjs +1 -1
  3. package/lib/Alert/styles.css +1 -1
  4. package/lib/Align/styles.css +1 -1
  5. package/lib/AppButton/styles.css +1 -1
  6. package/lib/Avatar/styles.css +1 -1
  7. package/lib/AvatarGroup/styles.css +1 -1
  8. package/lib/Badge/styles.css +1 -1
  9. package/lib/Banner/Banner.cjs +6 -6
  10. package/lib/Banner/Banner.mjs +6 -6
  11. package/lib/Box/styles.css +1 -1
  12. package/lib/BrandLogo/styles.css +1 -1
  13. package/lib/Breadcrumbs/Breadcrumbs.cjs +2 -2
  14. package/lib/Breadcrumbs/Breadcrumbs.mjs +2 -2
  15. package/lib/Breadcrumbs/styles.css +1 -1
  16. package/lib/Button/Button.cjs +2 -2
  17. package/lib/Button/Button.mjs +2 -2
  18. package/lib/Button/styles.css +1 -1
  19. package/lib/ButtonGroup/ButtonGroup.cjs +3 -3
  20. package/lib/ButtonGroup/ButtonGroup.mjs +3 -3
  21. package/lib/ButtonGroup/styles.css +1 -1
  22. package/lib/ButtonV2/ButtonV2.cjs +2 -2
  23. package/lib/ButtonV2/ButtonV2.mjs +2 -2
  24. package/lib/ButtonV2/styles.css +1 -1
  25. package/lib/Calendar/Calendar.cjs +4 -4
  26. package/lib/Calendar/Calendar.mjs +4 -4
  27. package/lib/Calendar/styles.css +1 -1
  28. package/lib/CardFooter/CardFooter.cjs +2 -4
  29. package/lib/CardFooter/CardFooter.mjs +2 -4
  30. package/lib/CardFooter/styles.css +1 -1
  31. package/lib/CardHeading/styles.css +1 -1
  32. package/lib/Carousel/Carousel.cjs +1 -1
  33. package/lib/Carousel/Carousel.mjs +1 -1
  34. package/lib/Carousel/styles.css +1 -1
  35. package/lib/Checkbox/styles.css +1 -1
  36. package/lib/Columns/styles.css +1 -1
  37. package/lib/ComboBox/ComboBox.cjs +6 -6
  38. package/lib/ComboBox/ComboBox.mjs +6 -6
  39. package/lib/ComboBox/styles.css +1 -1
  40. package/lib/ContentSwitcher/styles.css +1 -1
  41. package/lib/ContentSwitcherDropdown/ContentSwitcherDropdown.cjs +6 -4
  42. package/lib/ContentSwitcherDropdown/ContentSwitcherDropdown.mjs +6 -4
  43. package/lib/ContentSwitcherDropdown/styles.css +1 -1
  44. package/lib/DatePicker/DatePicker.cjs +9 -9
  45. package/lib/DatePicker/DatePicker.mjs +9 -9
  46. package/lib/DatePicker/styles.css +1 -1
  47. package/lib/Disclosure/styles.css +1 -1
  48. package/lib/DisclosureMini/styles.css +1 -1
  49. package/lib/Download/styles.css +1 -1
  50. package/lib/Drawer/Drawer.cjs +3 -3
  51. package/lib/Drawer/Drawer.mjs +3 -3
  52. package/lib/Drawer/styles.css +1 -1
  53. package/lib/Elevation/styles.css +1 -1
  54. package/lib/Filter/styles.css +1 -1
  55. package/lib/FormControl/styles.css +1 -1
  56. package/lib/GhostedHeroBanner/GhostedHeroBanner.cjs +31 -0
  57. package/lib/GhostedHeroBanner/GhostedHeroBanner.mjs +29 -0
  58. package/lib/GhostedHeroBanner/styles.css +1 -0
  59. package/lib/GradientBackground/GradientBackground.cjs +19 -0
  60. package/lib/GradientBackground/GradientBackground.mjs +17 -0
  61. package/lib/GradientBackground/styles.css +1 -0
  62. package/lib/Grid/styles.css +1 -1
  63. package/lib/Group/styles.css +1 -1
  64. package/lib/Heading/styles.css +1 -1
  65. package/lib/HeroBanner/HeroBanner.cjs +6 -6
  66. package/lib/HeroBanner/HeroBanner.mjs +6 -6
  67. package/lib/HeroBanner/styles.css +1 -1
  68. package/lib/HeroButton/HeroButton.cjs +2 -2
  69. package/lib/HeroButton/HeroButton.mjs +2 -2
  70. package/lib/HeroButton/styles.css +1 -1
  71. package/lib/Hidden/styles.css +1 -1
  72. package/lib/HorizontalCard/HorizontalCard.cjs +2 -4
  73. package/lib/HorizontalCard/HorizontalCard.mjs +2 -4
  74. package/lib/HorizontalCard/styles.css +1 -1
  75. package/lib/Icon/Icon.cjs +1 -1
  76. package/lib/Icon/Icon.mjs +1 -1
  77. package/lib/Icon/styles.css +1 -1
  78. package/lib/Image/styles.css +1 -1
  79. package/lib/ImpactCard/ImpactCard.cjs +2 -4
  80. package/lib/ImpactCard/ImpactCard.mjs +2 -4
  81. package/lib/ImpactCard/styles.css +1 -1
  82. package/lib/InformationCard/InformationCard.cjs +4 -4
  83. package/lib/InformationCard/InformationCard.mjs +4 -4
  84. package/lib/InformationCard/styles.css +1 -1
  85. package/lib/Link/Link.cjs +9 -22
  86. package/lib/Link/Link.mjs +9 -22
  87. package/lib/Link/styles.css +1 -1
  88. package/lib/Markup/styles.css +1 -1
  89. package/lib/MediaCard/MediaCard.cjs +4 -6
  90. package/lib/MediaCard/MediaCard.mjs +4 -6
  91. package/lib/MediaCard/styles.css +1 -1
  92. package/lib/Menu/Menu.cjs +261 -0
  93. package/lib/Menu/Menu.mjs +243 -0
  94. package/lib/Menu/styles.css +1 -0
  95. package/lib/Modal/Modal.cjs +18 -12
  96. package/lib/Modal/Modal.mjs +18 -12
  97. package/lib/Modal/styles.css +1 -1
  98. package/lib/Pagination/styles.css +1 -1
  99. package/lib/PaginationSimple/PaginationSimple.cjs +15 -49
  100. package/lib/PaginationSimple/PaginationSimple.mjs +15 -49
  101. package/lib/PaginationSimple/styles.css +1 -1
  102. package/lib/Popover/Popover.cjs +7 -7
  103. package/lib/Popover/Popover.mjs +7 -7
  104. package/lib/Popover/styles.css +1 -1
  105. package/lib/Poster/styles.css +1 -1
  106. package/lib/ProgressBar/styles.css +1 -1
  107. package/lib/ProgressStepper/ProgressStepper.cjs +8 -23
  108. package/lib/ProgressStepper/ProgressStepper.mjs +8 -23
  109. package/lib/ProgressStepper/styles.css +1 -1
  110. package/lib/RadioCardGroup/RadioCardGroup.cjs +2 -2
  111. package/lib/RadioCardGroup/RadioCardGroup.mjs +3 -3
  112. package/lib/RadioCardGroup/styles.css +1 -1
  113. package/lib/RadioGroup/styles.css +1 -1
  114. package/lib/Rule/styles.css +1 -1
  115. package/lib/ScrollToTop/ScrollToTop.cjs +8 -17
  116. package/lib/ScrollToTop/ScrollToTop.mjs +8 -17
  117. package/lib/ScrollToTop/styles.css +1 -1
  118. package/lib/Section/styles.css +1 -1
  119. package/lib/Select/Select.cjs +4 -3
  120. package/lib/Select/Select.mjs +4 -3
  121. package/lib/Select/styles.css +1 -1
  122. package/lib/SiteFooter/SiteFooter.cjs +1 -1
  123. package/lib/SiteFooter/SiteFooter.mjs +1 -1
  124. package/lib/SiteFooter/styles.css +1 -1
  125. package/lib/SiteFooterV2/SiteFooterV2.cjs +5 -5
  126. package/lib/SiteFooterV2/SiteFooterV2.mjs +5 -5
  127. package/lib/SiteFooterV2/styles.css +1 -1
  128. package/lib/SiteHeaderV2/SiteHeaderV2.cjs +11 -11
  129. package/lib/SiteHeaderV2/SiteHeaderV2.mjs +12 -12
  130. package/lib/SiteHeaderV2/styles.css +1 -1
  131. package/lib/Skeleton/styles.css +1 -1
  132. package/lib/SkipLink/styles.css +1 -1
  133. package/lib/Spinner/styles.css +1 -1
  134. package/lib/Surface/styles.css +1 -1
  135. package/lib/Switch/Switch.cjs +3 -2
  136. package/lib/Switch/Switch.mjs +3 -2
  137. package/lib/Switch/styles.css +1 -1
  138. package/lib/TabbedBanner/TabbedBanner.cjs +13 -10
  139. package/lib/TabbedBanner/TabbedBanner.mjs +13 -10
  140. package/lib/TabbedBanner/styles.css +1 -1
  141. package/lib/Tabs/Tabs.cjs +1 -1
  142. package/lib/Tabs/Tabs.mjs +1 -1
  143. package/lib/Tabs/styles.css +1 -1
  144. package/lib/Tag/Tag.cjs +15 -37
  145. package/lib/Tag/Tag.mjs +15 -37
  146. package/lib/Tag/styles.css +1 -1
  147. package/lib/TemplateBanner/TemplateBanner.cjs +6 -6
  148. package/lib/TemplateBanner/TemplateBanner.mjs +6 -6
  149. package/lib/TemplateBanner/styles.css +1 -1
  150. package/lib/Text/styles.css +1 -1
  151. package/lib/TextArea/TextArea.cjs +34 -26
  152. package/lib/TextArea/TextArea.mjs +34 -26
  153. package/lib/TextArea/styles.css +1 -1
  154. package/lib/TextInput/styles.css +1 -1
  155. package/lib/Theme/Theme.cjs +1 -1
  156. package/lib/Theme/Theme.mjs +1 -1
  157. package/lib/Theme/styles.css +1 -1
  158. package/lib/ThemeIcon/styles.css +1 -1
  159. package/lib/ThumbnailSignpost/ThumbnailSignpost.cjs +4 -4
  160. package/lib/ThumbnailSignpost/ThumbnailSignpost.mjs +4 -4
  161. package/lib/ThumbnailSignpost/styles.css +1 -1
  162. package/lib/Toast/styles.css +1 -1
  163. package/lib/Tooltip/Tooltip.cjs +1 -1
  164. package/lib/Tooltip/Tooltip.mjs +1 -1
  165. package/lib/Tooltip/styles.css +1 -1
  166. package/lib/Truncate/styles.css +1 -1
  167. package/lib/TypographyCard/TypographyCard.cjs +2 -4
  168. package/lib/TypographyCard/TypographyCard.mjs +2 -4
  169. package/lib/TypographyCard/styles.css +1 -1
  170. package/lib/UniversalHeader/styles.css +1 -1
  171. package/lib/VerticalSpace/styles.css +1 -1
  172. package/lib/VideoPlayer/VideoPlayer.cjs +12 -5
  173. package/lib/VideoPlayer/VideoPlayer.mjs +12 -5
  174. package/lib/VideoPlayer/styles.css +1 -1
  175. package/lib/Visible/styles.css +1 -1
  176. package/lib/VisuallyHidden/styles.css +1 -1
  177. package/lib/_shared/cjs/BannerImage-kdAKagG-.cjs +13 -0
  178. package/lib/_shared/cjs/BtIconArrowRight-Bm5PIn_6.cjs +11 -0
  179. package/lib/_shared/cjs/BtIconChevronRight2Px-CIRaur2B.cjs +20 -0
  180. package/lib/_shared/cjs/BtIconChevronRightMid-eGxk3ae6.cjs +11 -0
  181. package/lib/_shared/cjs/{Button-b36K7-Cf.cjs → Button-CKTa6bQL.cjs} +1 -1
  182. package/lib/_shared/cjs/{ButtonV2-s8OF4enU.cjs → ButtonV2-CRNNZ_nd.cjs} +15 -4
  183. package/lib/_shared/cjs/{Calendar-D58QIWQz.cjs → Calendar-C5C0evEy.cjs} +17 -40
  184. package/lib/_shared/cjs/{CardFooter-B2ljCf25.cjs → CardFooter-DwE-u0Om.cjs} +9 -45
  185. package/lib/_shared/cjs/{Combination-iNPq-pNP.cjs → Combination-B-rSVLfT.cjs} +2 -0
  186. package/lib/_shared/cjs/{ComboBox-CmVMpsxn.cjs → ComboBox-BIMxZhJp.cjs} +10 -20
  187. package/lib/_shared/cjs/{ContentSwitcherDropdown-CWP2-zun.cjs → ContentSwitcherDropdown-CAWaAMZN.cjs} +4 -2
  188. package/lib/_shared/cjs/{DatePicker-Cx5VZpwJ.cjs → DatePicker-BgU6iidG.cjs} +2 -2
  189. package/lib/_shared/cjs/HeroButton-CiIygZ16.cjs +82 -0
  190. package/lib/_shared/cjs/Icon-KMACQ1i3.cjs +39 -0
  191. package/lib/_shared/cjs/{MediaCard-DkTTTQNz.cjs → MediaCard-kcqfmeue.cjs} +2 -2
  192. package/lib/_shared/cjs/MenuSubContent-Bs2_ebS3.cjs +1330 -0
  193. package/lib/_shared/cjs/{RadioCardGroupInput-DT0Xce4L.cjs → RadioCardGroupInput-BmntgyWB.cjs} +1 -1
  194. package/lib/_shared/cjs/{SiteHeaderV2NavItemWithSubNav-XnnzUfOs.cjs → SiteHeaderV2NavItemWithSubNav-DgoCW2W3.cjs} +8 -7
  195. package/lib/_shared/cjs/{TemplateBanner-BCbI7NLb.cjs → TemplateBanner-BMi77IGK.cjs} +10 -18
  196. package/lib/_shared/cjs/{index-DbQ2PCr3.cjs → index-Bt7hfZBc.cjs} +1 -1
  197. package/lib/_shared/cjs/{index-BcWpGxUd.cjs → index-C_Rl7v2g.cjs} +27 -94
  198. package/lib/_shared/cjs/{index-Cn7XSNle.cjs → index-CaO6cOF0.cjs} +3 -3
  199. package/lib/_shared/cjs/index-CqYNiqix.cjs +137 -0
  200. package/lib/_shared/cjs/{index-BMs6MHwq.cjs → index-DAr_oO4-.cjs} +2 -2
  201. package/lib/_shared/cjs/{index-DNgUhsBO.cjs → index-Dv1xvB_E.cjs} +1 -1
  202. package/lib/_shared/cjs/index-EFXw1jWg.cjs +97 -0
  203. package/lib/_shared/cjs/{index.es-CY6h69at.cjs → index.es-sqSQUWYg.cjs} +1 -1
  204. package/lib/_shared/esm/BannerImage-BTsixvUH.mjs +11 -0
  205. package/lib/_shared/esm/BtIconArrowRight-DpUmY3g3.mjs +9 -0
  206. package/lib/_shared/esm/BtIconChevronRight2Px-DzWb16fR.mjs +17 -0
  207. package/lib/_shared/esm/BtIconChevronRightMid-DE4lmVaG.mjs +9 -0
  208. package/lib/_shared/esm/{Button-DtmI3xYm.mjs → Button-9L4AksQP.mjs} +1 -1
  209. package/lib/_shared/esm/{ButtonV2-CkFdHviV.mjs → ButtonV2-2U4PvnpS.mjs} +15 -4
  210. package/lib/_shared/esm/{Calendar-C_b271wl.mjs → Calendar-L6u3D8xb.mjs} +17 -40
  211. package/lib/_shared/esm/{CardFooter-6APGUbK4.mjs → CardFooter-CgDDDI7Z.mjs} +9 -45
  212. package/lib/_shared/esm/{Combination-CFD0IA8r.mjs → Combination-BpO6XTeS.mjs} +1 -1
  213. package/lib/_shared/esm/{ComboBox-CTx_umV_.mjs → ComboBox-DUTrEu0N.mjs} +10 -20
  214. package/lib/_shared/esm/{ContentSwitcherDropdown-DuN_n1jh.mjs → ContentSwitcherDropdown-dktkyAjY.mjs} +4 -2
  215. package/lib/_shared/esm/{DatePicker-CIdfpUqM.mjs → DatePicker-CccSfg17.mjs} +2 -2
  216. package/lib/_shared/esm/HeroButton-HYskwyvn.mjs +80 -0
  217. package/lib/_shared/esm/Icon-MZfaoOo9.mjs +36 -0
  218. package/lib/_shared/esm/{MediaCard-_6xVVmiF.mjs → MediaCard-CjTDOvmx.mjs} +2 -2
  219. package/lib/_shared/esm/MenuSubContent-Cv9mSn58.mjs +1297 -0
  220. package/lib/_shared/esm/{RadioCardGroupInput-CwYJBtmO.mjs → RadioCardGroupInput-Cy1r7M8l.mjs} +1 -1
  221. package/lib/_shared/esm/{SiteHeaderV2NavItemWithSubNav-C_rohQhn.mjs → SiteHeaderV2NavItemWithSubNav-BLqiSeEC.mjs} +8 -7
  222. package/lib/_shared/esm/{TemplateBanner-Cckao4N8.mjs → TemplateBanner-zc4VmeeW.mjs} +10 -18
  223. package/lib/_shared/esm/index-BbAu4d3T.mjs +76 -0
  224. package/lib/_shared/esm/index-CL6dwOYV.mjs +135 -0
  225. package/lib/_shared/esm/{index-CpOcAL8k.mjs → index-CYUcQl4W.mjs} +3 -71
  226. package/lib/_shared/esm/{index-ZYyu0Vjh.mjs → index-CxrL7jIX.mjs} +3 -3
  227. package/lib/_shared/esm/{index-DNxTGgc1.mjs → index-DLovItWo.mjs} +1 -1
  228. package/lib/_shared/esm/{index-BUp5JjoD.mjs → index-DXTwueLZ.mjs} +1 -1
  229. package/lib/_shared/esm/{index-pkbjTTz_.mjs → index-J5IHetgg.mjs} +2 -2
  230. package/lib/_shared/esm/{index.es-JItYKukj.mjs → index.es-C3WGtwrW.mjs} +2 -2
  231. package/lib/index.cjs +2457 -1014
  232. package/lib/index.cjs.map +1 -1
  233. package/lib/index.d.cts +800 -431
  234. package/lib/index.d.mts +800 -431
  235. package/lib/index.js.map +1 -1
  236. package/lib/index.mjs +2437 -1014
  237. package/lib/index.mjs.map +1 -1
  238. package/lib/styles.css +22 -8
  239. package/package.json +11 -8
  240. package/lib/_shared/cjs/BtIconArrowRight-BX-bj8Y6.cjs +0 -27
  241. package/lib/_shared/cjs/BtIconChevronRight2Px-CnplmEFZ.cjs +0 -41
  242. package/lib/_shared/cjs/BtIconChevronRightMid-C6zjDEMv.cjs +0 -25
  243. package/lib/_shared/cjs/BtIconPlayFill-WUt-9eLl.cjs +0 -27
  244. package/lib/_shared/cjs/HeroButton-CrsC6Q7A.cjs +0 -124
  245. package/lib/_shared/cjs/Icon-DdqFr6bT.cjs +0 -52
  246. package/lib/_shared/esm/BtIconArrowRight-CTjAzV9X.mjs +0 -25
  247. package/lib/_shared/esm/BtIconChevronRight2Px-CWIIvs1E.mjs +0 -38
  248. package/lib/_shared/esm/BtIconChevronRightMid-DB68JQ0u.mjs +0 -23
  249. package/lib/_shared/esm/BtIconPlayFill-DEoVOrOQ.mjs +0 -25
  250. package/lib/_shared/esm/HeroButton-x7krReay.mjs +0 -122
  251. package/lib/_shared/esm/Icon-B626JGP1.mjs +0 -49
package/lib/index.d.cts CHANGED
@@ -1,14 +1,8 @@
1
- import React$1, { FC, ReactNode, SVGProps, HTMLAttributes, MouseEvent as MouseEvent$1, ChangeEvent, ReactElement } from 'react';
1
+ import React, { FC, ReactNode, HTMLAttributes, MouseEvent as MouseEvent$1, ChangeEvent, ReactElement } from 'react';
2
2
  import { ImageProps as ImageProps$1 } from 'src/components/Image/Image';
3
3
  import { VideoPlayerProps as VideoPlayerProps$1 } from 'src/components/VideoPlayer';
4
4
  import { SwitchProps as SwitchProps$1 } from '@radix-ui/react-switch';
5
- import { ArcIcon as ArcIcon$1 } from 'src/types/arc-icon';
6
5
  import { ReactPlayerProps } from 'react-player';
7
- import { ArcIconSocialLinkedin } from '@arc-ui/icons/ArcIconSocialLinkedin';
8
- import { ArcIconSocialYouTube } from '@arc-ui/icons/ArcIconSocialYouTube';
9
- import { ArcIconSocialX } from '@arc-ui/icons/ArcIconSocialX';
10
- import { ArcIconSocialInstagram } from '@arc-ui/icons/ArcIconSocialInstagram';
11
- import { ArcIconSocialFacebook } from '@arc-ui/icons/ArcIconSocialFacebook';
12
6
 
13
7
  /**
14
8
  * Use `Align` to align items horizontally or vertically.
@@ -34,8 +28,6 @@ interface AlignProps {
34
28
  vertical?: "top" | "center" | "bottom";
35
29
  }
36
30
 
37
- type ArcIcon = React.FC<SVGProps<SVGSVGElement>>;
38
-
39
31
  /** Use `Alert` to inform the user of important changes or actions. */
40
32
  declare const Alert: FC<AlertProps>;
41
33
  interface AlertProps {
@@ -58,7 +50,7 @@ interface AlertProps {
58
50
  /**
59
51
  * Determine a icon to display within `<Alert />`. This overrides the default icons.
60
52
  */
61
- icon?: ArcIcon;
53
+ icon?: string;
62
54
  /**
63
55
  * Determine the type of alert
64
56
  */
@@ -83,7 +75,7 @@ interface AlertProps {
83
75
  }
84
76
  type AlertStatus = "general" | "error" | "warning" | "success";
85
77
 
86
- declare const AppButton: React$1.FC<AppButtonProps>;
78
+ declare const AppButton: React.FC<AppButtonProps>;
87
79
  type AppButtonType = "google-play" | "apple-app-store";
88
80
  interface AppButtonProps {
89
81
  type: AppButtonType;
@@ -192,13 +184,13 @@ type AvatarImage = Pick<ImageProps, "src" | "loading" | "sizes" | "srcSet" | "wi
192
184
  type AvatarSize = "s" | "m" | "l" | "xl";
193
185
 
194
186
  /** Use `Avatar` to visually represent a user. */
195
- declare const Avatar: React$1.FC<AvatarProps>;
187
+ declare const Avatar: React.FC<AvatarProps>;
196
188
  interface AvatarProps {
197
189
  initials?: string;
198
190
  href?: string;
199
191
  title?: string;
200
192
  ariaLabel?: string;
201
- onClick?: (e: React$1.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
193
+ onClick?: (e: React.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
202
194
  img?: AvatarImage;
203
195
  size?: AvatarSize;
204
196
  }
@@ -206,7 +198,7 @@ interface AvatarProps {
206
198
  type GroupAvatar = Omit<AvatarProps, "size" | "title" | "href" | "onClick">;
207
199
 
208
200
  /** Use `AvatarGroup` to visually represent a group of users. */
209
- declare const AvatarGroup: React$1.FC<AvatarGroupProps>;
201
+ declare const AvatarGroup: React.FC<AvatarGroupProps>;
210
202
  interface AvatarGroupProps {
211
203
  avatars: GroupAvatar[];
212
204
  size?: AvatarSize;
@@ -214,7 +206,7 @@ interface AvatarGroupProps {
214
206
  title?: string;
215
207
  ariaLabel?: string;
216
208
  href?: string;
217
- onClick?: (e: React$1.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
209
+ onClick?: (e: React.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
218
210
  }
219
211
 
220
212
  /** Use `Badge` as a static, non-interactive way to provide short updates. */
@@ -291,10 +283,11 @@ interface HeadingProps {
291
283
  }
292
284
 
293
285
  interface BannerImageProps extends Pick<ImageProps, "src" | "alt" | "loading" | "sizes" | "srcSet" | "width" | "height" | "fadeOnLoad" | "fit"> {
286
+ ariaHidden?: boolean;
294
287
  sources?: Pick<ImageSourceProps, "media" | "sizes" | "srcSet">[];
295
288
  }
296
289
 
297
- declare const TemplateBanner: React$1.FC<TemplateBannerProps>;
290
+ declare const TemplateBanner: React.FC<TemplateBannerProps>;
298
291
  type TemplateBannerStyle = "light" | "dark" | "contained";
299
292
  type TemplateBannerAlignment = "top" | "bottom" | "center";
300
293
  interface TemplateBannerImage extends BannerImageProps {
@@ -329,7 +322,7 @@ interface TemplateBannerProps {
329
322
  /**
330
323
  * Content for the TemplateBanner.
331
324
  */
332
- children?: React$1.ReactNode;
325
+ children?: React.ReactNode;
333
326
  /**
334
327
  * Heading level for the ImpactCard heading.
335
328
  */
@@ -364,7 +357,7 @@ declare const Banner: FC<BannerProps>;
364
357
  type BannerProps = Omit<TemplateBannerProps, "headingSize" | "additionalTopMargin">;
365
358
 
366
359
  type SurfaceBackground = "light" | "dark";
367
- declare const Context$1: React$1.Context<{
360
+ declare const Context$1: React.Context<{
368
361
  surface: SurfaceBackground;
369
362
  }>;
370
363
  /**
@@ -423,7 +416,7 @@ interface BoxProps {
423
416
  /**
424
417
  * Contents of the Box.
425
418
  */
426
- children: React$1.ReactNode;
419
+ children: React.ReactNode;
427
420
  /**
428
421
  * Set Box to fill parent element.
429
422
  */
@@ -529,7 +522,7 @@ interface LinkProps$1 {
529
522
  /**
530
523
  * Ref to `<a>` tag
531
524
  */
532
- ref?: React$1.Ref<HTMLAnchorElement>;
525
+ ref?: React.Ref<HTMLAnchorElement>;
533
526
  /**
534
527
  * React router property
535
528
  */
@@ -537,7 +530,7 @@ interface LinkProps$1 {
537
530
  }
538
531
 
539
532
  type ElementUnion$2 = HTMLButtonElement | HTMLAnchorElement;
540
- type Ref$2 = React$1.Ref<ElementUnion$2> | null;
533
+ type Ref$2 = React.Ref<ElementUnion$2> | null;
541
534
  /**
542
535
  * Use `Button` to let a user complete an action like ‘Log in’ or ‘Register’.
543
536
  */
@@ -581,7 +574,7 @@ interface ButtonProps extends ButtonElementProps, LinkElementProps$2 {
581
574
  /**
582
575
  * Button icon variant.
583
576
  */
584
- icon?: ArcIcon;
577
+ icon?: string;
585
578
  /**
586
579
  * How should a Button icon be displayed?
587
580
  */
@@ -642,7 +635,7 @@ interface ButtonGroupProps {
642
635
  * Components to appear within the ButtonGroup
643
636
  * Can be Button, ButtonV2 only.
644
637
  */
645
- children: React$1.ReactNode;
638
+ children: React.ReactNode;
646
639
  /**
647
640
  * Size of the buttons in the ButtonGroup This will override the size prop for each individual button.
648
641
  */
@@ -670,7 +663,7 @@ interface ButtonGroupProps {
670
663
  }
671
664
 
672
665
  type ElementUnion$1 = HTMLButtonElement | HTMLAnchorElement;
673
- type Ref$1 = React$1.Ref<ElementUnion$1> | null;
666
+ type Ref$1 = React.Ref<ElementUnion$1> | null;
674
667
  declare const ButtonV2: FC<ButtonV2Props>;
675
668
  interface LinkElementProps$1 {
676
669
  /**
@@ -698,6 +691,7 @@ interface ButtonV2ElementProps {
698
691
  */
699
692
  form?: string;
700
693
  }
694
+ type ButtonStyle = "primary" | "secondary" | "tertiary" | "warning" | "compact";
701
695
  interface ButtonV2Props extends ButtonV2ElementProps, LinkElementProps$1 {
702
696
  /**
703
697
  * Label for `ButtonV2`
@@ -706,11 +700,11 @@ interface ButtonV2Props extends ButtonV2ElementProps, LinkElementProps$1 {
706
700
  /**
707
701
  * Determine the buttonStyle for `ButtonV2`. Default style is `primary`
708
702
  */
709
- buttonStyle?: "primary" | "secondary" | "tertiary" | "warning" | "compact";
703
+ buttonStyle?: ButtonStyle;
710
704
  /**
711
705
  * Render icon within `ButtonV2`
712
706
  */
713
- icon?: ArcIcon;
707
+ icon?: string;
714
708
  /**
715
709
  * Determine the style position for the icon. Default is `afterText`
716
710
  */
@@ -756,6 +750,10 @@ interface ButtonV2Props extends ButtonV2ElementProps, LinkElementProps$1 {
756
750
  * Defines the ID of the element controlled by the button.
757
751
  */
758
752
  ariaControls?: string;
753
+ /**
754
+ * Render `ButtonV2` as a span
755
+ */
756
+ isSpan?: boolean;
759
757
  }
760
758
 
761
759
  interface RangeSelection {
@@ -832,7 +830,7 @@ interface SlideConfig {
832
830
 
833
831
  type Responsive = Partial<Record<BreakPoints, SlideConfig>>;
834
832
 
835
- declare const Carousel: React$1.FC<CarouselProps>;
833
+ declare const Carousel: React.FC<CarouselProps>;
836
834
  interface CarouselProps {
837
835
  /**
838
836
  * Adds a gap between the slides.
@@ -861,7 +859,7 @@ interface CarouselProps {
861
859
  /**
862
860
  * items for the carousel.
863
861
  */
864
- children: React$1.ReactNode;
862
+ children: React.ReactNode;
865
863
  }
866
864
 
867
865
  /**
@@ -890,7 +888,7 @@ interface CheckboxProps extends Omit<CheckedProps, "defaultChecked"> {
890
888
  /**
891
889
  * Helper text for the Checkbox, shown below the label.
892
890
  */
893
- helper?: React$1.ReactNode;
891
+ helper?: React.ReactNode;
894
892
  /**
895
893
  * Determine the alignment of the Checkbox.
896
894
  */
@@ -910,7 +908,7 @@ interface CheckboxProps extends Omit<CheckedProps, "defaultChecked"> {
910
908
  /**
911
909
  * Label for the Checkbox.
912
910
  */
913
- label: React$1.ReactNode;
911
+ label: React.ReactNode;
914
912
  /**
915
913
  * Use `hideLabel` to visually hide the `Checkbox` label. This still allows screen readers to have access to labels. This is set to `false` by default.
916
914
  */
@@ -922,12 +920,12 @@ interface CheckboxProps extends Omit<CheckedProps, "defaultChecked"> {
922
920
  /**
923
921
  * Function to call when the Checkbox loses focus.
924
922
  */
925
- onBlur?: (e: React$1.FocusEvent<HTMLInputElement>) => void;
923
+ onBlur?: (e: React.FocusEvent<HTMLInputElement>) => void;
926
924
  /**
927
925
  * Callback function to update the Checkbox's controlled `checked` prop, for
928
926
  * example `e => setChecked(e.target.checked)`.
929
927
  */
930
- onChange?: (event: React$1.ChangeEvent<HTMLInputElement>) => void;
928
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
931
929
  /**
932
930
  * Size of the Checkbox.
933
931
  */
@@ -938,8 +936,88 @@ interface CheckboxProps extends Omit<CheckedProps, "defaultChecked"> {
938
936
  value?: string;
939
937
  }
940
938
 
939
+ interface ExtentableContainer {
940
+ /**
941
+ * Allows the component to use extended grid values when set to true.
942
+ */
943
+ isExtended?: boolean;
944
+ }
945
+
946
+ /**
947
+ * Use `Columns` to compose layouts on a 12-column grid.
948
+ */
949
+ declare const Columns: FC<ColumnsProps>;
950
+ declare const ColumnsCol: FC<ColumnsColProps>;
951
+ type Span = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
952
+ type Offset = "0" | "24" | "48" | "72" | "96" | "120" | "144" | "168" | "192" | "216" | "240" | "264" | "288" | "312" | "336" | "360" | "384";
953
+ interface ColumnsColProps {
954
+ /**
955
+ * Vertically align the Column.
956
+ */
957
+ align?: "top" | "center" | "bottom";
958
+ /**
959
+ * Content to display in the Column.
960
+ */
961
+ children?: ReactNode;
962
+ /**
963
+ * Should the Column be visible for debugging and documentation
964
+ * purposes?
965
+ */
966
+ isDebugVisible?: boolean;
967
+ /**
968
+ * Overlay the column over the previous content on the default breakpoint and above. Multiples of 24 up to 384. Use with caution, and ensure to check responsive behaviour.
969
+ */
970
+ offset?: Offset;
971
+ /**
972
+ * Overlay the column over the previous content on the S breakpoint and above. Multiples of 24 up to 384. Use with caution, and ensure to check responsive behaviour.
973
+ */
974
+ offsetS?: Offset;
975
+ /**
976
+ * Overlay the column over the previous content on the M breakpoint and above. Multiples of 24 up to 384. Use with caution, and ensure to check responsive behaviour.
977
+ */
978
+ offsetM?: Offset;
979
+ /**
980
+ * Overlay the column over the previous content on the L breakpoint and above. Multiples of 24 up to 384. Use with caution, and ensure to check responsive behaviour.
981
+ */
982
+ offsetL?: Offset;
983
+ /**
984
+ * Overlay the column over the previous content on the XL breakpoint and above. Multiples of 24 up to 384. Use with caution, and ensure to check responsive behaviour.
985
+ */
986
+ offsetXL?: Offset;
987
+ /**
988
+ * The number of columns to span on the default breakpoint and above, from 1 to 12.
989
+ */
990
+ span?: Span;
991
+ /**
992
+ * The number of columns to span on the S breakpoint and above, from 1 to 12.
993
+ */
994
+ spanS?: Span;
995
+ /**
996
+ * The number of columns to span on the M breakpoint and above, from 1 to 12.
997
+ */
998
+ spanM?: Span;
999
+ /**
1000
+ * The number of columns to span on the L breakpoint and above, from 1 to 12.
1001
+ */
1002
+ spanL?: Span;
1003
+ /**
1004
+ * The number of columns to span on the XL breakpoint and above, from 1 to 12.
1005
+ */
1006
+ spanXL?: Span;
1007
+ }
1008
+ interface ColumnsProps extends ExtentableContainer {
1009
+ /**
1010
+ * Contents of the Columns Should only contain `ColumnsCol`.
1011
+ */
1012
+ children: ReactNode;
1013
+ /**
1014
+ * Should the Columns be gutterless?
1015
+ */
1016
+ isGutterless?: boolean;
1017
+ }
1018
+
941
1019
  type RequirementStatus = "required" | "optional" | "not-applicable";
942
- declare const Context: React$1.Context<{
1020
+ declare const Context: React.Context<{
943
1021
  requirementStatus: RequirementStatus | null;
944
1022
  }>;
945
1023
  /**
@@ -950,7 +1028,7 @@ interface FormControlProps {
950
1028
  /**
951
1029
  * Render the input or series of inputs
952
1030
  */
953
- children: React$1.ReactNode;
1031
+ children: React.ReactNode;
954
1032
  /**
955
1033
  * HTML Element type for the FormControl.
956
1034
  * @default 'div'
@@ -963,7 +1041,7 @@ interface FormControlProps {
963
1041
  /**
964
1042
  * Helper text for the FormControl, shown below the label.
965
1043
  */
966
- helper?: React$1.ReactNode;
1044
+ helper?: React.ReactNode;
967
1045
  /**
968
1046
  * ID for the input that the FormControl points towards.
969
1047
  */
@@ -1009,7 +1087,7 @@ interface FormControlProps {
1009
1087
  /**
1010
1088
  * Optional additional information for the FormControl.
1011
1089
  */
1012
- supplementaryInfo?: React$1.ReactNode;
1090
+ supplementaryInfo?: React.ReactNode;
1013
1091
  /**
1014
1092
  * Position helper text under label. This is set to `false` by default.
1015
1093
  */
@@ -1020,101 +1098,21 @@ interface FormControlProps {
1020
1098
  hideLabel?: boolean;
1021
1099
  }
1022
1100
 
1023
- declare const ComboBox: React$1.ForwardRefExoticComponent<ComboBoxProps & React$1.RefAttributes<HTMLInputElement>>;
1101
+ declare const ComboBox: React.ForwardRefExoticComponent<ComboBoxProps & React.RefAttributes<HTMLInputElement>>;
1024
1102
  interface ComboBoxProps extends Omit<FormControlProps, "children" | "elementType" | "htmlFor" | "requirementStatus" | "helperUnderLabel" | "supplementaryInfo" | "labelPosition"> {
1025
1103
  listBoxAriaLabel: string;
1026
1104
  options: string[];
1027
1105
  name?: string;
1028
1106
  isRequired?: boolean;
1029
1107
  defaultValue?: string;
1030
- onBlur?: (e: React$1.FocusEvent<HTMLInputElement, Element>) => void;
1031
- onFocus?: (e: React$1.FocusEvent<HTMLInputElement, Element>) => void;
1108
+ onBlur?: (e: React.FocusEvent<HTMLInputElement, Element>) => void;
1109
+ onFocus?: (e: React.FocusEvent<HTMLInputElement, Element>) => void;
1032
1110
  isMultiSelectable?: boolean;
1033
1111
  isAutocomplete?: boolean;
1034
1112
  isReadOnly?: boolean;
1035
1113
  isFluid?: boolean;
1036
1114
  }
1037
1115
 
1038
- interface ExtentableContainer {
1039
- /**
1040
- * Allows the component to use extended grid values when set to true.
1041
- */
1042
- isExtended?: boolean;
1043
- }
1044
-
1045
- /**
1046
- * Use `Columns` to compose layouts on a 12-column grid.
1047
- */
1048
- declare const Columns: FC<ColumnsProps>;
1049
- declare const ColumnsCol: FC<ColumnsColProps>;
1050
- type Span = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
1051
- type Offset = "0" | "24" | "48" | "72" | "96" | "120" | "144" | "168" | "192" | "216" | "240" | "264" | "288" | "312" | "336" | "360" | "384";
1052
- interface ColumnsColProps {
1053
- /**
1054
- * Vertically align the Column.
1055
- */
1056
- align?: "top" | "center" | "bottom";
1057
- /**
1058
- * Content to display in the Column.
1059
- */
1060
- children?: ReactNode;
1061
- /**
1062
- * Should the Column be visible for debugging and documentation
1063
- * purposes?
1064
- */
1065
- isDebugVisible?: boolean;
1066
- /**
1067
- * Overlay the column over the previous content on the default breakpoint and above. Multiples of 24 up to 384. Use with caution, and ensure to check responsive behaviour.
1068
- */
1069
- offset?: Offset;
1070
- /**
1071
- * Overlay the column over the previous content on the S breakpoint and above. Multiples of 24 up to 384. Use with caution, and ensure to check responsive behaviour.
1072
- */
1073
- offsetS?: Offset;
1074
- /**
1075
- * Overlay the column over the previous content on the M breakpoint and above. Multiples of 24 up to 384. Use with caution, and ensure to check responsive behaviour.
1076
- */
1077
- offsetM?: Offset;
1078
- /**
1079
- * Overlay the column over the previous content on the L breakpoint and above. Multiples of 24 up to 384. Use with caution, and ensure to check responsive behaviour.
1080
- */
1081
- offsetL?: Offset;
1082
- /**
1083
- * Overlay the column over the previous content on the XL breakpoint and above. Multiples of 24 up to 384. Use with caution, and ensure to check responsive behaviour.
1084
- */
1085
- offsetXL?: Offset;
1086
- /**
1087
- * The number of columns to span on the default breakpoint and above, from 1 to 12.
1088
- */
1089
- span?: Span;
1090
- /**
1091
- * The number of columns to span on the S breakpoint and above, from 1 to 12.
1092
- */
1093
- spanS?: Span;
1094
- /**
1095
- * The number of columns to span on the M breakpoint and above, from 1 to 12.
1096
- */
1097
- spanM?: Span;
1098
- /**
1099
- * The number of columns to span on the L breakpoint and above, from 1 to 12.
1100
- */
1101
- spanL?: Span;
1102
- /**
1103
- * The number of columns to span on the XL breakpoint and above, from 1 to 12.
1104
- */
1105
- spanXL?: Span;
1106
- }
1107
- interface ColumnsProps extends ExtentableContainer {
1108
- /**
1109
- * Contents of the Columns Should only contain `ColumnsCol`.
1110
- */
1111
- children: ReactNode;
1112
- /**
1113
- * Should the Columns be gutterless?
1114
- */
1115
- isGutterless?: boolean;
1116
- }
1117
-
1118
1116
  /** Use `ContentSwitcher` to allow users to navigate between different sections of relevant content. */
1119
1117
  declare const ContentSwitcher: FC<ContentSwitcherProps>;
1120
1118
  interface ContentSwitcherProps {
@@ -1294,11 +1292,11 @@ interface ThemeIconProps {
1294
1292
  }
1295
1293
  type ThemeIconNames = (typeof iconNames)[number];
1296
1294
 
1297
- type EventType$4 = React$1.ChangeEvent<HTMLInputElement>;
1295
+ type EventType$4 = React.ChangeEvent<HTMLInputElement>;
1298
1296
  /**
1299
1297
  * Use `TextInput` to allow users to enter short form text.
1300
1298
  */
1301
- declare const TextInput: React$1.ForwardRefExoticComponent<Omit<TextInputProps, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
1299
+ declare const TextInput: React.ForwardRefExoticComponent<Omit<TextInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
1302
1300
  interface TextInputComponentProps extends Omit<FormControlProps, "children" | "elementType" | "htmlFor" | "requirementStatus" | "helperUnderLabel" | "supplementaryInfo" | "labelPosition"> {
1303
1301
  /**
1304
1302
  * Uncontrolled default value of the TextInput. If the TextInput is controlled
@@ -1342,11 +1340,11 @@ interface TextInputComponentProps extends Omit<FormControlProps, "children" | "e
1342
1340
  /**
1343
1341
  * Function to call when the TextInput loses focus.
1344
1342
  */
1345
- onBlur?: (e: React$1.FocusEvent<HTMLInputElement, Element>) => void;
1343
+ onBlur?: (e: React.FocusEvent<HTMLInputElement, Element>) => void;
1346
1344
  /**
1347
1345
  * Function to call when the TextInput is focused.
1348
1346
  */
1349
- onFocus?: (e: React$1.FocusEvent<HTMLInputElement, Element>) => void;
1347
+ onFocus?: (e: React.FocusEvent<HTMLInputElement, Element>) => void;
1350
1348
  /**
1351
1349
  * Callback function commonly used to update the TextInput's controlled
1352
1350
  * `value`, for example `e => setValue(e.target.value)`.
@@ -1392,8 +1390,8 @@ interface TextInputComponentProps extends Omit<FormControlProps, "children" | "e
1392
1390
  * Icon button to show at the end of the input
1393
1391
  */
1394
1392
  iconButton?: {
1395
- ref?: React$1.Ref<HTMLButtonElement>;
1396
- onFocus?: React$1.FocusEventHandler<HTMLButtonElement>;
1393
+ ref?: React.Ref<HTMLButtonElement>;
1394
+ onFocus?: React.FocusEventHandler<HTMLButtonElement>;
1397
1395
  onClick: () => void;
1398
1396
  label: string;
1399
1397
  icon: ThemeIconNames;
@@ -1409,7 +1407,7 @@ interface TextInputComponentProps extends Omit<FormControlProps, "children" | "e
1409
1407
  /**
1410
1408
  * A reference to TextInput
1411
1409
  */
1412
- ref?: React$1.Ref<HTMLInputElement>;
1410
+ ref?: React.Ref<HTMLInputElement>;
1413
1411
  /**
1414
1412
  * Indicates whether the TextInput is in a loading state
1415
1413
  */
@@ -1421,7 +1419,7 @@ type TextInputWithPlaceholderProps = TextInputComponentProps;
1421
1419
  /**
1422
1420
  * Use `DatePicker` to clearly present available dates and allow users to choose a way to enter information.
1423
1421
  */
1424
- declare const DatePicker: React$1.ForwardRefExoticComponent<Omit<DatePickerProps, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
1422
+ declare const DatePicker: React.ForwardRefExoticComponent<Omit<DatePickerProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
1425
1423
  interface DatePickerRangeSelection extends RangeSelection {
1426
1424
  formattedRange: string;
1427
1425
  }
@@ -1497,84 +1495,84 @@ interface DisclosureMiniProps {
1497
1495
  size?: "s" | "l";
1498
1496
  }
1499
1497
 
1500
- declare const Drawer: React$1.FC<DrawerProps>;
1501
- interface DrawerProps {
1498
+ declare const Download: React.FC<DownloadProps>;
1499
+ interface DownloadProps {
1502
1500
  /**
1503
- * Title for the drawer. This will be announced by screen readers when the drawer opens.
1501
+ * Name for `<Download />`
1504
1502
  */
1505
- title: string;
1503
+ name: string;
1506
1504
  /**
1507
- * The position on the screen the drawer should render.
1505
+ * File type for `<Download />`
1508
1506
  */
1509
- position?: "top" | "right" | "bottom" | "left";
1507
+ type: string;
1510
1508
  /**
1511
- * Show or hide page overlay.
1509
+ * File url for `<Download />`
1512
1510
  */
1513
- isOverlayVisible?: boolean;
1511
+ href?: string;
1514
1512
  /**
1515
- * Footer content for the drawer.
1513
+ * If true, the spacing will be reduced resulting in a tighter look and feel.
1516
1514
  */
1517
- footer?: React$1.ReactNode;
1515
+ isCompact?: boolean;
1518
1516
  /**
1519
- * Function to be called when the Drawer has been requested to close by either the esc key being pressed, outside the dialog being clicked or the close button being clicked. The callback must set the open state of the Drawer to false.
1517
+ * If false the width will be the same as the inner content
1520
1518
  */
1521
- onRequestClose: () => void;
1519
+ isFullWidth?: boolean;
1522
1520
  /**
1523
- * Whether to return focus to the element that was focused before the Drawer opened. True by default.
1521
+ * Description for `<Download />`
1524
1522
  */
1525
- shouldReturnFocus?: boolean;
1523
+ description?: string;
1526
1524
  /**
1527
- * Size of the Drawer dialog.
1525
+ * File size for `<Download />`
1528
1526
  */
1529
- size?: "s" | "l";
1527
+ size?: string;
1530
1528
  /**
1531
- * Set Drawer open or closed.
1529
+ * Icon for `<Download />`
1532
1530
  */
1533
- isOpen?: boolean;
1531
+ icon?: Extract<ThemeIconNames, "downloadFile" | "downloadAccessibility">;
1534
1532
  /**
1535
- * Custom content for `Modal`.
1533
+ * Click handler for `<Download />`
1536
1534
  */
1537
- children?: React$1.ReactNode;
1535
+ onClick?: (e: MouseEvent$1<HTMLAnchorElement>) => void;
1538
1536
  }
1539
1537
 
1540
- declare const Download: React$1.FC<DownloadProps>;
1541
- interface DownloadProps {
1538
+ declare const Drawer: React.FC<DrawerProps>;
1539
+ interface DrawerProps {
1542
1540
  /**
1543
- * Name for `<Download />`
1541
+ * Title for the drawer. This will be announced by screen readers when the drawer opens.
1544
1542
  */
1545
- name: string;
1543
+ title: string;
1546
1544
  /**
1547
- * File type for `<Download />`
1545
+ * The position on the screen the drawer should render.
1548
1546
  */
1549
- type: string;
1547
+ position?: "top" | "right" | "bottom" | "left";
1550
1548
  /**
1551
- * File url for `<Download />`
1549
+ * Show or hide page overlay.
1552
1550
  */
1553
- href?: string;
1551
+ isOverlayVisible?: boolean;
1554
1552
  /**
1555
- * If true, the spacing will be reduced resulting in a tighter look and feel.
1553
+ * Footer content for the drawer.
1556
1554
  */
1557
- isCompact?: boolean;
1555
+ footer?: React.ReactNode;
1558
1556
  /**
1559
- * If false the width will be the same as the inner content
1557
+ * Function to be called when the Drawer has been requested to close by either the esc key being pressed, outside the dialog being clicked or the close button being clicked. The callback must set the open state of the Drawer to false.
1560
1558
  */
1561
- isFullWidth?: boolean;
1559
+ onRequestClose: () => void;
1562
1560
  /**
1563
- * Description for `<Download />`
1561
+ * Whether to return focus to the element that was focused before the Drawer opened. True by default.
1564
1562
  */
1565
- description?: string;
1563
+ shouldReturnFocus?: boolean;
1566
1564
  /**
1567
- * File size for `<Download />`
1565
+ * Size of the Drawer dialog.
1568
1566
  */
1569
- size?: string;
1567
+ size?: "s" | "l";
1570
1568
  /**
1571
- * Icon for `<Download />`
1569
+ * Set Drawer open or closed.
1572
1570
  */
1573
- icon?: Extract<ThemeIconNames, "downloadFile" | "downloadAccessibility">;
1571
+ isOpen?: boolean;
1574
1572
  /**
1575
- * Click handler for `<Download />`
1573
+ * Custom content for `Modal`.
1576
1574
  */
1577
- onClick?: (e: MouseEvent$1<HTMLAnchorElement>) => void;
1575
+ children?: React.ReactNode;
1578
1576
  }
1579
1577
 
1580
1578
  /**
@@ -1686,10 +1684,20 @@ interface FilterControlProps {
1686
1684
  onClick?: () => void;
1687
1685
  }
1688
1686
 
1687
+ declare const GhostedHeroBanner: React.FC<GhostedHeroBannerProps>;
1688
+ type GhostedHeroBannerProps = Pick<TemplateBannerProps, "heading" | "img" | "children" | "label" | "text" | "headingLevel">;
1689
+
1690
+ declare const GradientBackground: React.FC<GradientBackgroundProps>;
1691
+ interface GradientBackgroundProps {
1692
+ type?: "lightOne" | "darkOne" | "brandAssetFullColour07";
1693
+ scrim?: "s" | "m" | "l";
1694
+ children: React.ReactNode;
1695
+ }
1696
+
1689
1697
  /**
1690
1698
  * Use `Grid` to compose layouts on a 12-column grid.
1691
1699
  */
1692
- declare const Grid: React$1.FC<GridProps>;
1700
+ declare const Grid: React.FC<GridProps>;
1693
1701
  interface GridProps extends ExtentableContainer {
1694
1702
  /**
1695
1703
  * `Grid` is set to 100% width if true.
@@ -1706,7 +1714,7 @@ interface GridProps extends ExtentableContainer {
1706
1714
  /**
1707
1715
  * Contents of the Grid Should only contain `GridRow`.
1708
1716
  */
1709
- children: React$1.ReactNode;
1717
+ children: React.ReactNode;
1710
1718
  }
1711
1719
 
1712
1720
  declare const BREAKPOINTS: readonly ["xs", "s", "m", "l", "xl", "xxl", "xxxl"];
@@ -1720,20 +1728,20 @@ type Column = ColumnConfig<ColumnValue>;
1720
1728
  type Arrangement = ColumnConfig<GridValue>;
1721
1729
  type Alignment = ColumnConfig<AlignmentValue>;
1722
1730
 
1723
- declare const GridCol: React$1.FC<GridColProps>;
1731
+ declare const GridCol: React.FC<GridColProps>;
1724
1732
  interface GridColProps extends Column {
1725
1733
  offset?: Arrangement;
1726
1734
  order?: Arrangement;
1727
1735
  align?: Alignment;
1728
- children: React$1.ReactNode;
1736
+ children: React.ReactNode;
1729
1737
  }
1730
1738
 
1731
- declare const GridRow: React$1.FC<GridRowProps>;
1739
+ declare const GridRow: React.FC<GridRowProps>;
1732
1740
  interface GridRowProps {
1733
1741
  align?: AlignmentValue;
1734
1742
  direction?: "column" | "row" | "column-reverse" | "row-reverse";
1735
1743
  justify?: "start" | "center" | "end" | "between" | "around" | "normal";
1736
- children: React$1.ReactNode;
1744
+ children: React.ReactNode;
1737
1745
  }
1738
1746
 
1739
1747
  /**
@@ -1789,7 +1797,7 @@ interface HeroBannerProps extends Omit<TemplateBannerProps, "headingSize" | "ali
1789
1797
  }
1790
1798
 
1791
1799
  type ElementUnion = HTMLButtonElement | HTMLAnchorElement;
1792
- type Ref = React$1.Ref<ElementUnion> | null;
1800
+ type Ref = React.Ref<ElementUnion> | null;
1793
1801
  declare const HeroButton: FC<HeroButtonProps>;
1794
1802
  interface LinkElementProps {
1795
1803
  /**
@@ -1853,34 +1861,81 @@ interface HeroButtonProps extends HeroButtonElementProps, LinkElementProps {
1853
1861
  isLoading?: boolean;
1854
1862
  }
1855
1863
 
1856
- declare const Hidden: React$1.FC<HiddenProps>;
1864
+ declare const Hidden: React.FC<HiddenProps>;
1857
1865
  interface HiddenProps {
1858
1866
  xs?: boolean;
1859
1867
  s?: boolean;
1860
1868
  m?: boolean;
1861
1869
  l?: boolean;
1862
1870
  xl?: boolean;
1863
- children: React$1.ReactNode;
1871
+ children: React.ReactNode;
1864
1872
  }
1865
1873
 
1866
- /**
1867
- * Use `Icon` to display brand iconography.
1868
- */
1869
- declare const Icon: FC<IconProps>;
1870
- declare const colors: readonly ["auto", "brand", "statusRed", "statusAmber", "statusGreen"];
1871
- interface IconProps {
1874
+ type CardFooterIcon = "play" | "arrow";
1875
+ interface CardFooterProps {
1876
+ metaText?: string | Date;
1877
+ isDarkPathway?: boolean;
1878
+ buttonIcon?: CardFooterIcon;
1879
+ buttonSize?: "s" | "m";
1880
+ showButton?: boolean;
1881
+ isHovered?: boolean;
1882
+ }
1883
+
1884
+ declare const HorizontalCard: React.FC<HorizontalCardProps>;
1885
+ interface HorizontalCardProps {
1872
1886
  /**
1873
- * Color of the Icon.
1887
+ * Heading for the HorizontalCard.
1874
1888
  */
1875
- color?: (typeof colors)[number];
1889
+ heading: string;
1890
+ /**
1891
+ * Heading level for the HorizontalCard heading.
1892
+ */
1893
+ headingLevel?: HeadingLevel;
1894
+ /**
1895
+ * Text content for the HorizontalCard
1896
+ */
1897
+ text: string;
1898
+ /**
1899
+ * Uppercase label for the HorizontalCard.
1900
+ */
1901
+ label?: string;
1902
+ /**
1903
+ * Url for the HorizontalCard. Makes the whole card a link.
1904
+ */
1905
+ url?: string;
1906
+ /**
1907
+ * Image for the HorizontalCard.
1908
+ */
1909
+ img?: Pick<ImageProps, "src" | "alt" | "loading" | "sizes" | "srcSet" | "anchor" | "fadeOnLoad" | "fit">;
1910
+ /**
1911
+ * Text to show adjacent to the cta, can be either a date or text. Its recommended to pass dates as Date objects so the component can render them correctly.
1912
+ */
1913
+ metaText?: CardFooterProps["metaText"];
1914
+ /**
1915
+ * Click handler for the HorizontalCard. Only applied when a url is provided.
1916
+ */
1917
+ onClick?: (e: React.MouseEvent<HTMLAnchorElement>) => void;
1918
+ }
1919
+
1920
+ /**
1921
+ * Use `Icon` to display brand iconography.
1922
+ */
1923
+ declare const Icon: FC<IconProps>;
1924
+ declare const colors: readonly ["auto", "brand", "statusRed", "statusAmber", "statusGreen", "gradient"];
1925
+ type IconColor = (typeof colors)[number];
1926
+ interface IconProps {
1927
+ /**
1928
+ * Color of the Icon.
1929
+ */
1930
+ color?: IconColor;
1876
1931
  /**
1877
1932
  * Should the Icon component be styled as an inline element?
1878
1933
  */
1879
1934
  isInline?: boolean;
1880
1935
  /**
1881
- * Icon variant.
1936
+ * url for the svg. For BT and EE icons you can import these as data uri's from the @arc-ui/icons package.
1882
1937
  */
1883
- icon?: ArcIcon | React$1.ReactElement<SVGElement>;
1938
+ icon?: string;
1884
1939
  /**
1885
1940
  * Alternative text label for the Icon.
1886
1941
  */
@@ -1893,20 +1948,6 @@ interface IconProps {
1893
1948
  * value for data-testid
1894
1949
  */
1895
1950
  testId?: string;
1896
- /**
1897
- * hides the icon from screenreaders
1898
- */
1899
- isPresentationIcon?: boolean;
1900
- }
1901
-
1902
- type CardFooterIcon = "play" | "arrow";
1903
- interface CardFooterProps {
1904
- metaText?: string | Date;
1905
- isDarkPathway?: boolean;
1906
- buttonIcon?: CardFooterIcon;
1907
- buttonSize?: "s" | "m";
1908
- showButton?: boolean;
1909
- isHovered?: boolean;
1910
1951
  }
1911
1952
 
1912
1953
  type CardHeadingSize = Extract<HeadingSize, "m" | "l">;
@@ -1946,7 +1987,7 @@ interface ImpactCardProps {
1946
1987
  /**
1947
1988
  * Click handler for the ImpactCard.
1948
1989
  */
1949
- onClick?: (e: React$1.MouseEvent<HTMLAnchorElement>) => void;
1990
+ onClick?: (e: React.MouseEvent<HTMLAnchorElement>) => void;
1950
1991
  /**
1951
1992
  * Object of `data-` attributes to render on internal anchor element, e.g.
1952
1993
  * `{ data-analytics-link: "My link"}` => `<a data-analytics-link="My link">`.
@@ -2001,7 +2042,7 @@ interface InformationCardProps {
2001
2042
  /**
2002
2043
  * Click handler for the InformationCard. Only applied when a card url is provided.
2003
2044
  */
2004
- onClick?: (e: React$1.MouseEvent<HTMLAnchorElement>) => void;
2045
+ onClick?: (e: React.MouseEvent<HTMLAnchorElement>) => void;
2005
2046
  /**
2006
2047
  * Footer logo for the InformationCard.
2007
2048
  */
@@ -2013,7 +2054,7 @@ interface InformationCardProps {
2013
2054
  /**
2014
2055
  * Header icon for the InformationCard.
2015
2056
  */
2016
- icon?: ArcIcon;
2057
+ icon?: string;
2017
2058
  /**
2018
2059
  * Sets a minimum height for the InformationCard. Overrules minHeights values.
2019
2060
  */
@@ -2037,7 +2078,7 @@ interface InformationCardProps {
2037
2078
  /**
2038
2079
  * Use `Link` to direct users to a new page or piece of information.
2039
2080
  */
2040
- declare const Link: React$1.FC<LinkProps>;
2081
+ declare const Link: React.FC<LinkProps>;
2041
2082
  interface LinkProps {
2042
2083
  /**
2043
2084
  * Id attribute for `Link`.
@@ -2074,7 +2115,7 @@ interface LinkProps {
2074
2115
  /**
2075
2116
  * Click handler for `Link`.
2076
2117
  */
2077
- onClick?: (e: React$1.MouseEvent) => void;
2118
+ onClick?: (e: React.MouseEvent) => void;
2078
2119
  /**
2079
2120
  * Target for `Link`.
2080
2121
  */
@@ -2157,11 +2198,366 @@ interface MediaCardProps {
2157
2198
  /**
2158
2199
  * Click handler for the MediaCard. Only applied when a url is provided.
2159
2200
  */
2160
- onClick?: (e: React$1.MouseEvent<HTMLAnchorElement>) => void;
2201
+ onClick?: (e: React.MouseEvent<HTMLAnchorElement>) => void;
2202
+ }
2203
+
2204
+ /**
2205
+ * Contains all the parts of a dropdown menu.
2206
+ */
2207
+ declare const Menu: React.FC<MenuProps>;
2208
+ interface MenuProps {
2209
+ /**
2210
+ * The content of the menu
2211
+ */
2212
+ children: React.ReactNode;
2213
+ /**
2214
+ * Whether the menu is open by default
2215
+ */
2216
+ defaultOpen?: boolean;
2217
+ /**
2218
+ * Controls whether the menu is open
2219
+ */
2220
+ open?: boolean;
2221
+ /**
2222
+ * Callback fired when the open state changes
2223
+ */
2224
+ onOpenChange?: (open: boolean) => void;
2225
+ /**
2226
+ * Whether the menu should behave like a modal, preventing interaction with elements outside
2227
+ */
2228
+ modal?: boolean;
2229
+ }
2230
+
2231
+ declare const MenuItemContentTemplate: React.FC<MenuItemContentTemplateProps>;
2232
+ interface MenuItemContentTemplateProps {
2233
+ /**
2234
+ * Optional supporting text that appears below the label for additional context.
2235
+ */
2236
+ supportingText?: string;
2237
+ /**
2238
+ * An optional leading icon displayed on the left side of the menu item.
2239
+ */
2240
+ leadingIcon?: string;
2241
+ /**
2242
+ * An optional trailing icon displayed on the right side of the menu item.
2243
+ */
2244
+ trailingIcon?: string;
2245
+ /**
2246
+ * The main label text displayed in the menu item.
2247
+ */
2248
+ children: string;
2249
+ /**
2250
+ * Optional keyboard shortcut text displayed next to the item (e.g., "⌘ + K").
2251
+ */
2252
+ keyCommands?: string;
2253
+ }
2254
+
2255
+ declare const MenuCheckboxItem: React.FC<MenuCheckboxItemProps>;
2256
+ interface MenuCheckboxItemProps extends Pick<MenuItemContentTemplateProps, "supportingText" | "children"> {
2257
+ /**
2258
+ * Controls whether the checkbox is checked, unchecked.
2259
+ */
2260
+ checked?: boolean;
2261
+ /**
2262
+ * Callback fired when the checked state changes.
2263
+ */
2264
+ onCheckedChange?: (checked: boolean) => void;
2265
+ /**
2266
+ * Disables the checkbox item, preventing interaction.
2267
+ */
2268
+ isDisabled?: boolean;
2269
+ /**
2270
+ * Callback fired when the item is selected.
2271
+ */
2272
+ onSelect?: (event: Event) => void;
2273
+ /**
2274
+ * ID for the MenuCheckboxItem.
2275
+ */
2276
+ id?: string;
2277
+ /**
2278
+ * Prevents the menu from closing when this item is selected.
2279
+ */
2280
+ shouldKeepOpen?: boolean;
2281
+ }
2282
+
2283
+ /**
2284
+ * The component that pops out when the dropdown menu is open.
2285
+ */
2286
+ declare const MenuContent: React.ForwardRefExoticComponent<MenuContentProps & React.RefAttributes<HTMLDivElement>>;
2287
+ interface MenuContentProps {
2288
+ /**
2289
+ * The content inside the menu, typically `MenuItem`, `MenuGroup`, and other menu elements.
2290
+ */
2291
+ children: React.ReactNode;
2292
+ /**
2293
+ * The width of the menu content. Can be any valid CSS width value. This is `fit-content` by default and needs to be set to `auto` to use other properties.
2294
+ */
2295
+ width?: string | number | "auto";
2296
+ /**
2297
+ * The minimum width of the menu content.
2298
+ */
2299
+ minWidth?: string | number;
2300
+ /**
2301
+ * The maximum width of the menu content.
2302
+ */
2303
+ maxWidth?: string | number;
2304
+ /**
2305
+ * Horizontal alignment of the dropdown relative to the trigger.
2306
+ */
2307
+ align?: "start" | "center" | "end";
2308
+ /**
2309
+ * Pixel offset for horizontal alignment.
2310
+ */
2311
+ alignOffset?: number;
2312
+ /**
2313
+ * The side of the trigger to display the menu.
2314
+ */
2315
+ side?: "top" | "right" | "bottom" | "left";
2316
+ }
2317
+
2318
+ /**
2319
+ * Displays footer content at the bottom of the menu.
2320
+ */
2321
+ declare const MenuFooter: FC<MenuFooterProps>;
2322
+ interface MenuFooterProps extends MenuItemContentTemplateProps {
2323
+ /**
2324
+ * Click event handler triggered when the menu header is selected.
2325
+ */
2326
+ onClick?: () => void;
2327
+ /**
2328
+ * Optional URL that makes the menu item behave as a link.
2329
+ */
2330
+ href?: string;
2331
+ /**
2332
+ * ARIA label for accessibility, used to provide a descriptive label for screen readers.
2333
+ */
2334
+ ariaLabel?: string;
2335
+ /**
2336
+ * disables the menu item, preventing user interaction.
2337
+ */
2338
+ isDisabled?: boolean;
2339
+ }
2340
+
2341
+ /**
2342
+ * Groups related menu items together within a dropdown menu.
2343
+ */
2344
+ declare const MenuGroup: React.FC<MenuGroupProps>;
2345
+ interface MenuGroupProps {
2346
+ /**
2347
+ * Menu items grouped together within the menu.
2348
+ */
2349
+ children: React.ReactNode;
2350
+ }
2351
+
2352
+ /**
2353
+ * Displays a header within the dropdown menu.
2354
+ */
2355
+ declare const MenuHeader: FC<MenuHeaderProps>;
2356
+ interface MenuHeaderProps extends MenuItemContentTemplateProps {
2357
+ /**
2358
+ * Click event handler triggered when the menu header is selected.
2359
+ */
2360
+ onClick?: () => void;
2361
+ /**
2362
+ * Optional URL that makes the menu item behave as a link.
2363
+ */
2364
+ href?: string;
2365
+ /**
2366
+ * ARIA label for accessibility, used to provide a descriptive label for screen readers.
2367
+ */
2368
+ ariaLabel?: string;
2369
+ /**
2370
+ * disables the menu item, preventing user interaction.
2371
+ */
2372
+ isDisabled?: boolean;
2373
+ }
2374
+
2375
+ /**
2376
+ * Renders a menu item, optionally as a link if `href` is provided.
2377
+ */
2378
+ declare const MenuItem: React.FC<MenuItemProps>;
2379
+ interface MenuItemProps extends MenuItemContentTemplateProps {
2380
+ /**
2381
+ * Click event handler triggered when the menu item is selected.
2382
+ */
2383
+ onClick?: () => void;
2384
+ /**
2385
+ * Optional URL that makes the menu item behave as a link.
2386
+ */
2387
+ href?: string;
2388
+ /**
2389
+ * ARIA label for accessibility, used to provide a descriptive label for screen readers.
2390
+ */
2391
+ ariaLabel?: string;
2392
+ /**
2393
+ * disables the menu item, preventing user interaction.
2394
+ */
2395
+ isDisabled?: boolean;
2396
+ /**
2397
+ * Prevents the dropdown menu from closing when the item is clicked.
2398
+ */
2399
+ shouldKeepOpen?: boolean;
2400
+ }
2401
+
2402
+ /**
2403
+ * Provides a label to group related menu items.
2404
+ */
2405
+ declare const MenuLabel: React.FC<MenuLabelProps>;
2406
+ interface MenuLabelProps {
2407
+ /**
2408
+ * The text content of the label, typically used to group related menu items.
2409
+ */
2410
+ children: string;
2411
+ }
2412
+
2413
+ /**
2414
+ * When used, portals the content part into the body. By default it's arc's theme element
2415
+ */
2416
+ declare const MenuPortal: React.FC<MenuPortalProps>;
2417
+ interface MenuPortalProps {
2418
+ /**
2419
+ * The content to be portalled.
2420
+ */
2421
+ children: React.ReactNode;
2422
+ }
2423
+
2424
+ /**
2425
+ * Groups menu items allowing single selection from multiple options.
2426
+ */
2427
+ declare const MenuRadioGroup: React.FC<MenuRadioGroupProps>;
2428
+ interface MenuRadioGroupProps {
2429
+ /**
2430
+ * The radio items inside the group.
2431
+ */
2432
+ children: React.ReactNode;
2433
+ /**
2434
+ * The current selected value of the radio group.
2435
+ */
2436
+ value?: string;
2437
+ /**
2438
+ * Callback fired when the selected value changes.
2439
+ */
2440
+ onValueChange?: (value: string) => void;
2441
+ }
2442
+
2443
+ /**
2444
+ * A selectable menu item used within a radio group.
2445
+ */
2446
+ declare const MenuRadioItem: React.FC<MenuRadioItemProps>;
2447
+ interface MenuRadioItemProps extends Omit<MenuItemContentTemplateProps, "trailingIcon"> {
2448
+ /**
2449
+ * The value assigned to this radio item.
2450
+ */
2451
+ value: string;
2452
+ /**
2453
+ * Whether the radio item is disabled.
2454
+ */
2455
+ disabled?: boolean;
2456
+ /**
2457
+ * Callback function triggered when the item is selected.
2458
+ */
2459
+ onSelect?: () => void;
2460
+ }
2461
+
2462
+ /**
2463
+ * Scrollable container that adjusts height based on surrounding menu content.
2464
+ */
2465
+ declare const MenuScrollable: React.FC<MenuScrollableProps>;
2466
+ interface MenuScrollableProps {
2467
+ /**
2468
+ * The content within the scrollable area, typically a list of `MenuItem` components or similar menu elements.
2469
+ */
2470
+ children: React.ReactNode;
2471
+ }
2472
+
2473
+ /**
2474
+ * Visual separator used to divide groups of menu items.
2475
+ */
2476
+ declare const MenuSeparator: React.FC;
2477
+
2478
+ /**
2479
+ * Container for submenu content within a dropdown menu.
2480
+ */
2481
+ declare const MenuSub: React.FC<MenuSubProps>;
2482
+ interface MenuSubProps {
2483
+ /**
2484
+ * The content inside the submenu.
2485
+ */
2486
+ children: React.ReactNode;
2487
+ }
2488
+
2489
+ /**
2490
+ * The submenu content that pops out when a menu item with children is hovered or clicked.
2491
+ */
2492
+ declare const MenuSubContent: React.ForwardRefExoticComponent<MenuSubContentProps & React.RefAttributes<HTMLDivElement>>;
2493
+ interface MenuSubContentProps {
2494
+ /**
2495
+ * The submenu content, typically containing `Menu.Item` elements.
2496
+ */
2497
+ children: React.ReactNode;
2498
+ /**
2499
+ * The width of the submenu content. Can be any valid CSS width value. This is `fit-content` by default and needs to be set to `auto` to use other properties.
2500
+ */
2501
+ width?: string | number | "auto";
2502
+ /**
2503
+ * The minimum width of the submenu content.
2504
+ */
2505
+ minWidth?: string | number;
2506
+ /**
2507
+ * The maximum width of the submenu content.
2508
+ */
2509
+ maxWidth?: string | number;
2510
+ /**
2511
+ * Horizontal alignment of the submenu relative to the parent trigger.
2512
+ */
2513
+ align?: "start" | "center" | "end";
2514
+ /**
2515
+ * Pixel offset for horizontal alignment.
2516
+ */
2517
+ alignOffset?: number;
2518
+ /**
2519
+ * The side of the parent trigger to display the submenu.
2520
+ */
2521
+ side?: "top" | "right" | "bottom" | "left";
2522
+ /**
2523
+ * If true, hides the submenu when it's detached from its trigger.
2524
+ */
2525
+ hideWhenDetached?: boolean;
2526
+ }
2527
+
2528
+ /**
2529
+ * Trigger element that opens a submenu when selected.
2530
+ */
2531
+ declare const MenuSubTrigger: React.FC<MenuSubTriggerProps>;
2532
+ interface MenuSubTriggerProps extends Pick<MenuItemProps, "keyCommands" | "leadingIcon" | "ariaLabel" | "supportingText"> {
2533
+ /**
2534
+ * The trigger element for opening the submenu.
2535
+ */
2536
+ children: React.ReactNode;
2537
+ /**
2538
+ * Disables the sub-trigger, preventing interaction.
2539
+ */
2540
+ isDisabled?: boolean;
2541
+ }
2542
+
2543
+ /**
2544
+ * The element that toggles the menu.
2545
+ */
2546
+ declare const MenuTrigger: React.FC<MenuTriggerProps>;
2547
+ interface MenuTriggerProps {
2548
+ /**
2549
+ * The element that triggers the menu when clicked or interacted with.
2550
+ */
2551
+ children: React.ReactNode;
2552
+ /**
2553
+ * Change the default rendered element for the one passed as a child, merging their props and behavior.
2554
+ */
2555
+ asChild?: boolean;
2161
2556
  }
2162
2557
 
2163
2558
  /** Use `Modal` to display information that needs immediate action from a user. */
2164
2559
  declare const Modal: FC<ModalProps>;
2560
+ type modalSpan = 4 | 6 | 8 | 10 | 12;
2165
2561
  interface ModalProps {
2166
2562
  /**
2167
2563
  * Title for the modal. This will be announced by screen readers when the modal opens.
@@ -2206,15 +2602,20 @@ interface ModalProps {
2206
2602
  /**
2207
2603
  * Custom content for `Modal`.
2208
2604
  */
2209
- children?: React$1.ReactNode;
2605
+ children?: React.ReactNode;
2210
2606
  /**
2211
2607
  * Removes all default padding from the children section of the modal.
2212
2608
  */
2213
2609
  fullBleed?: boolean;
2214
2610
  /**
2215
- * Set custom width for the modal.
2611
+ * Overrides the default widths of the `size` property. Select the number of columns to span on each breakpoint and above (Even numbers from 4 to 12).
2216
2612
  */
2217
- customWidth?: number;
2613
+ customWidths?: {
2614
+ xs?: modalSpan;
2615
+ s?: modalSpan;
2616
+ m?: modalSpan;
2617
+ l?: modalSpan;
2618
+ };
2218
2619
  }
2219
2620
 
2220
2621
  /**
@@ -2276,7 +2677,7 @@ interface PaginationSimpleProps {
2276
2677
  /**
2277
2678
  * Function to call when page is changed. This is called with type and event
2278
2679
  */
2279
- onPageChange?: (e: React$1.MouseEvent, type?: "prev" | "next" | "first" | "last") => void;
2680
+ onPageChange?: (e: React.MouseEvent, type?: "prev" | "next" | "first" | "last") => void;
2280
2681
  }
2281
2682
 
2282
2683
  /** Use `Popover` to display content in a portal, triggered by a button. */
@@ -2285,7 +2686,7 @@ interface PopoverProps {
2285
2686
  /**
2286
2687
  * Content to render within Popover Trigger
2287
2688
  */
2288
- children?: React$1.ReactNode;
2689
+ children?: React.ReactNode;
2289
2690
  /**
2290
2691
  * The preferred side of the anchor to render against when open
2291
2692
  */
@@ -2413,7 +2814,7 @@ interface PosterImageProps {
2413
2814
  /**
2414
2815
  * Contents of the PosterImage.
2415
2816
  */
2416
- children?: React$1.ReactNode;
2817
+ children?: React.ReactNode;
2417
2818
  }
2418
2819
 
2419
2820
  declare const PosterVideo: FC<PosterVideoProps>;
@@ -2580,7 +2981,7 @@ interface ProgressStepperItemProps {
2580
2981
  isStepContentHidden?: boolean;
2581
2982
  }
2582
2983
 
2583
- type EventType$3 = React$1.ChangeEvent<HTMLInputElement>;
2984
+ type EventType$3 = React.ChangeEvent<HTMLInputElement>;
2584
2985
  /**
2585
2986
  * Use `RadioCardGroup` to wrap and control `RadioCard` buttons and apply default values
2586
2987
  */
@@ -2589,7 +2990,7 @@ interface RadioCardGroupProps extends Omit<FormControlProps, "children" | "eleme
2589
2990
  /**
2590
2991
  * Contents of the `RadioCardGroup`. Should only contain `RadioCardGroupCard`
2591
2992
  */
2592
- children: React$1.ReactNode;
2993
+ children: React.ReactNode;
2593
2994
  /**
2594
2995
  * Value of the `RadioCard` that should be checked by default.
2595
2996
  */
@@ -2683,7 +3084,7 @@ interface RadioCardProps {
2683
3084
  /**
2684
3085
  * Render icon within `RadioCard`
2685
3086
  */
2686
- icon?: ArcIcon | React$1.ReactElement<SVGElement>;
3087
+ icon?: string;
2687
3088
  /**
2688
3089
  * Set control location within `RadioCard`.
2689
3090
  */
@@ -2717,7 +3118,7 @@ interface RadioCardProps {
2717
3118
  /**
2718
3119
  * Radio Card component.
2719
3120
  */
2720
- declare const RadioCardGroupInput: React$1.ForwardRefExoticComponent<RadioCardGroupInputProps & React$1.RefAttributes<HTMLInputElement>>;
3121
+ declare const RadioCardGroupInput: React.ForwardRefExoticComponent<RadioCardGroupInputProps & React.RefAttributes<HTMLInputElement>>;
2721
3122
  interface RadioCardGroupInputProps extends Omit<RadioCardProps, "name"> {
2722
3123
  /**
2723
3124
  * Determine the alignment the RadioButton.
@@ -2750,7 +3151,7 @@ interface RadioCardGroupInputProps extends Omit<RadioCardProps, "name"> {
2750
3151
  value: string;
2751
3152
  }
2752
3153
 
2753
- type EventType$1 = React$1.ChangeEvent<HTMLInputElement>;
3154
+ type EventType$1 = React.ChangeEvent<HTMLInputElement>;
2754
3155
  /**
2755
3156
  * Use `RadioGroup` to wrap and control radio buttons and apply default values
2756
3157
  */
@@ -2759,7 +3160,7 @@ interface RadioGroupProps extends Omit<FormControlProps, "children" | "elementTy
2759
3160
  /**
2760
3161
  * Contents of the RadioGroup Should only contain `RadioGroupInput`
2761
3162
  */
2762
- children?: React$1.ReactNode;
3163
+ children?: React.ReactNode;
2763
3164
  /**
2764
3165
  * Value of the RadioButton that should be checked by default.
2765
3166
  */
@@ -2822,7 +3223,7 @@ type ContextProps = {
2822
3223
  size: "s" | "l";
2823
3224
  };
2824
3225
 
2825
- declare const RadioGroupButton: React$1.ForwardRefExoticComponent<RadioGroupButtonProps & React$1.RefAttributes<HTMLInputElement>>;
3226
+ declare const RadioGroupButton: React.ForwardRefExoticComponent<RadioGroupButtonProps & React.RefAttributes<HTMLInputElement>>;
2826
3227
  interface RadioGroupButtonProps {
2827
3228
  id: string;
2828
3229
  label: string;
@@ -2844,7 +3245,7 @@ interface RadioGroupButtonProps {
2844
3245
  /**
2845
3246
  * Radio Button component.
2846
3247
  */
2847
- declare const RadioGroupInput: React$1.ForwardRefExoticComponent<RadioGroupInputProps & React$1.RefAttributes<HTMLInputElement>>;
3248
+ declare const RadioGroupInput: React.ForwardRefExoticComponent<RadioGroupInputProps & React.RefAttributes<HTMLInputElement>>;
2848
3249
  interface RadioGroupInputProps {
2849
3250
  /**
2850
3251
  * Determine the alignment the RadioButton.
@@ -2930,7 +3331,7 @@ interface SectionProps extends ExtentableContainer {
2930
3331
  }
2931
3332
 
2932
3333
  /** Use `Select` to choose from a dropdown list of options. */
2933
- declare const Select: React$1.FC<SelectProps>;
3334
+ declare const Select: React.FC<SelectProps>;
2934
3335
  interface SelectProps extends Omit<FormControlProps, "children" | "elementType" | "htmlFor" | "requirementStatus" | "id" | "helperUnderLabel" | "supplementaryInfo"> {
2935
3336
  /**
2936
3337
  * Name for the Select.
@@ -2974,11 +3375,11 @@ interface SelectProps extends Omit<FormControlProps, "children" | "elementType"
2974
3375
  /**
2975
3376
  * onBlur handler for the Select.
2976
3377
  */
2977
- onBlur?: (e: React$1.FocusEvent<HTMLButtonElement>) => void;
3378
+ onBlur?: (e: React.FocusEvent<HTMLButtonElement>) => void;
2978
3379
  /**
2979
3380
  * onFocus handler for the Select.
2980
3381
  */
2981
- onFocus?: (e: React$1.FocusEvent<HTMLButtonElement>) => void;
3382
+ onFocus?: (e: React.FocusEvent<HTMLButtonElement>) => void;
2982
3383
  /**
2983
3384
  * onOpenChange handler for the Select.
2984
3385
  */
@@ -3045,26 +3446,125 @@ interface SiteFooterItemProps {
3045
3446
  }
3046
3447
  interface SiteFooterProps {
3047
3448
  /**
3048
- * Secondary content of the SiteFooter Must be SiteFooterItem components.
3449
+ * Secondary content of the SiteFooter Must be SiteFooterItem components.
3450
+ */
3451
+ children?: ReactNode;
3452
+ /**
3453
+ * Copyright year.
3454
+ */
3455
+ currentYear?: string;
3456
+ /**
3457
+ * Accessible text for the SiteFooter logo.
3458
+ */
3459
+ logoLabel?: string;
3460
+ /**
3461
+ * Main content of the SiteFooter Must be SiteFooterItemGroup components.
3462
+ */
3463
+ main?: ReactNode;
3464
+ /**
3465
+ * Text that appears at the top of the footer. Can be the name of the site, a
3466
+ * brand strapline, or similar.
3467
+ */
3468
+ siteName?: string;
3469
+ }
3470
+
3471
+ /**
3472
+ * Use `SiteFooterV2` to display information at the bottom of a page.
3473
+ */
3474
+ declare const SiteFooterV2: FC<SiteFooterV2Props>;
3475
+ interface SiteFooterV2Props {
3476
+ /**
3477
+ * Content of the SiteFooterV2. Must include SiteFooterV2Utility component and optional SiteFooterV2Main.
3478
+ */
3479
+ children: ReactNode;
3480
+ /**
3481
+ * Text that appears at the top of the footer. Can be the name of the site, a
3482
+ * brand slogan, or similar.
3483
+ */
3484
+ slogan?: string;
3485
+ /**
3486
+ * Hide the top border.
3487
+ */
3488
+ hideTopBorder?: boolean;
3489
+ }
3490
+
3491
+ declare const SiteFooterV2Main: FC<SiteFooterV2MainProps>;
3492
+ declare const SiteFooterV2ItemGroup: FC<SiteFooterV2ItemGroupProps>;
3493
+ declare const SiteFooterV2Item: FC<SiteFooterV2ItemProps>;
3494
+ interface SiteFooterV2MainProps {
3495
+ /**
3496
+ * Contents of the SiteFooterV2Main. Must be SiteFooterV2ItemGroup components.
3497
+ */
3498
+ children: ReactNode;
3499
+ /**
3500
+ * Number of columns to render at L+ breakpoints.
3501
+ */
3502
+ columns?: 3 | 4;
3503
+ }
3504
+ interface SiteFooterV2ItemGroupProps {
3505
+ /**
3506
+ * Contents of the SiteFooterV2ItemGroup. Must be SiteFooterV2Item components.
3507
+ */
3508
+ children?: ReactNode;
3509
+ /**
3510
+ * Title text for the SiteFooterV2ItemGroup.
3511
+ */
3512
+ title?: string;
3513
+ /**
3514
+ * Hide disclosure at medium and small breakpoints.
3515
+ */
3516
+ hideDisclosure?: boolean;
3517
+ }
3518
+ interface SiteFooterV2ItemProps {
3519
+ /**
3520
+ * Contents of the SiteFooterV2Item.
3521
+ */
3522
+ children: ReactNode;
3523
+ /**
3524
+ * A URL to link to when the Item is clicked or touched.
3525
+ */
3526
+ href: string;
3527
+ /**
3528
+ * On click handler.
3529
+ */
3530
+ onClick?: () => void;
3531
+ }
3532
+
3533
+ /**
3534
+ * Use `SiteFooterV2.Utility` to display information at the bottom of a page.
3535
+ */
3536
+ declare const SiteFooterV2Utility: FC<SiteFooterV2UtilityProps>;
3537
+ declare const socialIcons: readonly [string, string, string, string, string];
3538
+ declare const subBrands: readonly ["redcare", "wholesale", "ee"];
3539
+ interface SiteFooterV2UtilityProps {
3540
+ /**
3541
+ * T&C links of the SiteFooterV2Utility. Must be SiteFooterV2Item components.
3049
3542
  */
3050
3543
  children?: ReactNode;
3051
3544
  /**
3052
- * Copyright year.
3545
+ * Date to show adjacent to the copyright symbol, can be either a date or text. Its recommended to pass dates as Date objects so the component can render them correctly.
3053
3546
  */
3054
- currentYear?: string;
3547
+ copyrightYear?: string | Date;
3055
3548
  /**
3056
- * Accessible text for the SiteFooter logo.
3549
+ * Options for other brands and label.
3057
3550
  */
3058
- logoLabel?: string;
3551
+ brand?: {
3552
+ subBrand?: (typeof subBrands)[number];
3553
+ logoLabel?: string;
3554
+ onClick?: () => void;
3555
+ };
3059
3556
  /**
3060
- * Main content of the SiteFooter Must be SiteFooterItemGroup components.
3557
+ * Add social media links and desired Icons (Facebook, X (Twitter), LinkedIn, Instagram and Youtube).
3061
3558
  */
3062
- main?: ReactNode;
3559
+ socialLinks?: {
3560
+ href: string;
3561
+ icon: (typeof socialIcons)[number];
3562
+ ariaLabel: string;
3563
+ }[];
3063
3564
  /**
3064
- * Text that appears at the top of the footer. Can be the name of the site, a
3065
- * brand strapline, or similar.
3565
+ * A content slot to accept react node. Will override the brand logo.
3066
3566
  */
3067
- siteName?: string;
3567
+ contentSlot?: ReactNode;
3068
3568
  }
3069
3569
 
3070
3570
  /**
@@ -3305,7 +3805,7 @@ interface SiteHeaderV2SubNavItemProps {
3305
3805
  * provided, top-level link text will be automatically generated from `title`.
3306
3806
  */
3307
3807
  viewAllTitle?: string;
3308
- icon?: ArcIcon;
3808
+ icon?: string;
3309
3809
  /**
3310
3810
  * On click handler.
3311
3811
  */
@@ -3427,6 +3927,31 @@ interface SwitchProps extends Omit<FormControlProps, "children" | "elementType"
3427
3927
  onCheckedChange?: SwitchProps$1["onCheckedChange"];
3428
3928
  }
3429
3929
 
3930
+ declare const TabbedBanner: FC<TabbedBannerProps>;
3931
+ interface TabbedBannerProps {
3932
+ /**
3933
+ * Determine what tabs to render. They need both a `value` and `label` prop
3934
+ */
3935
+ tabs: {
3936
+ value: string;
3937
+ label: string;
3938
+ content: TemplateBannerProps;
3939
+ }[];
3940
+ /**
3941
+ * Default to an inital value of a tab. If this is left blank it will default to first tab.
3942
+ */
3943
+ defaultValue?: string;
3944
+ /**
3945
+ * The minimum height of the all banners M and above`.
3946
+ */
3947
+ minHeight?: TemplateBannerProps["minHeight"];
3948
+ /**
3949
+ * The minimum height of the banner for the M breakpoint.
3950
+ * This will be active when the TabbedBanner switches to the mobile layout at the medium breakpoint.
3951
+ */
3952
+ minHeightM?: TemplateBannerProps["minHeight"];
3953
+ }
3954
+
3430
3955
  /** Use `Tabs` to allow users to navigate between different sections of relevant content. */
3431
3956
  declare const Tabs: FC<TabsProps>;
3432
3957
  interface TabsProps {
@@ -3461,11 +3986,11 @@ interface TabsItemProps {
3461
3986
  /**
3462
3987
  * Determine what icon to display within the Tab.
3463
3988
  */
3464
- icon?: ArcIcon;
3989
+ icon?: string;
3465
3990
  /**
3466
3991
  * Determine what to display when `Tab` is active
3467
3992
  */
3468
- iconActive?: ArcIcon;
3993
+ iconActive?: string;
3469
3994
  }
3470
3995
 
3471
3996
  declare const TabsContent: FC<TabsContentProps>;
@@ -3500,31 +4025,6 @@ interface TabsListProps {
3500
4025
  ariaLabel?: string;
3501
4026
  }
3502
4027
 
3503
- declare const TabbedBanner: FC<TabbedBannerProps>;
3504
- interface TabbedBannerProps {
3505
- /**
3506
- * Determine what tabs to render. They need both a `value` and `label` prop
3507
- */
3508
- tabs: {
3509
- value: string;
3510
- label: string;
3511
- content: TemplateBannerProps;
3512
- }[];
3513
- /**
3514
- * Default to an inital value of a tab. If this is left blank it will default to first tab.
3515
- */
3516
- defaultValue?: string;
3517
- /**
3518
- * The minimum height of the all banners M and above`.
3519
- */
3520
- minHeight?: TemplateBannerProps["minHeight"];
3521
- /**
3522
- * The minimum height of the banner for the M breakpoint.
3523
- * This will be active when the TabbedBanner switches to the mobile layout at the medium breakpoint.
3524
- */
3525
- minHeightM?: TemplateBannerProps["minHeight"];
3526
- }
3527
-
3528
4028
  /**
3529
4029
  * Use `Tag` to promote features and manage filtering.
3530
4030
  */
@@ -3545,7 +4045,7 @@ interface TagProps {
3545
4045
  /**
3546
4046
  * Determine a icon to display within the tag.
3547
4047
  */
3548
- icon?: ArcIcon;
4048
+ icon?: string;
3549
4049
  /**
3550
4050
  * onClick Handler for Tag
3551
4051
  */
@@ -3602,7 +4102,7 @@ interface TextProps {
3602
4102
  }
3603
4103
 
3604
4104
  /** Use `TextArea` to allow custom user text entry via keyboard, for long-form and multi-line descriptions */
3605
- declare const TextArea: React$1.ForwardRefExoticComponent<TextAreaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
4105
+ declare const TextArea: React.ForwardRefExoticComponent<TextAreaProps & React.RefAttributes<HTMLTextAreaElement>>;
3606
4106
  interface TextAreaProps extends Omit<FormControlProps, "children" | "elementType" | "htmlFor" | "requirementStatus" | "helperUnderLabel" | "labelPosition"> {
3607
4107
  /**
3608
4108
  * Uncontrolled default value of the TextArea. If the TextArea is controlled
@@ -3648,16 +4148,16 @@ interface TextAreaProps extends Omit<FormControlProps, "children" | "elementType
3648
4148
  /**
3649
4149
  * Function to call when the TextArea loses focus.
3650
4150
  */
3651
- onBlur?: (e: React$1.FocusEvent<HTMLTextAreaElement>) => void;
4151
+ onBlur?: (e: React.FocusEvent<HTMLTextAreaElement>) => void;
3652
4152
  /**
3653
4153
  * Function to call when the TextArea is focused.
3654
4154
  */
3655
- onFocus?: (e: React$1.FocusEvent<HTMLTextAreaElement>) => void;
4155
+ onFocus?: (e: React.FocusEvent<HTMLTextAreaElement>) => void;
3656
4156
  /**
3657
4157
  * Callback function commonly used to update the TextArea's controlled
3658
4158
  * `value`, for example `e => setValue(e.target.value)`.
3659
4159
  */
3660
- onChange?: (e: React$1.ChangeEvent<HTMLTextAreaElement>) => void;
4160
+ onChange?: (e: React.ChangeEvent<HTMLTextAreaElement>) => void;
3661
4161
  /**
3662
4162
  * Current value of the TextArea. Must be controlled via an
3663
4163
  * `onChange` callback function. Otherwise, use `defaultValue` (or `isReadOnly`).
@@ -3702,13 +4202,39 @@ interface ThemeProps {
3702
4202
  children: any;
3703
4203
  }
3704
4204
 
4205
+ declare const ThumbnailSignpost: React.FC<ThumbnailSignpostProps>;
4206
+ interface ThumbnailSignpostProps {
4207
+ /**
4208
+ * Title for the ThumbnailSignpost.
4209
+ */
4210
+ title: string;
4211
+ /**
4212
+ * Text content for the ThumbnailSignpost.
4213
+ */
4214
+ text: string;
4215
+ /**
4216
+ * Button properties in the ThumbnailSignpost.
4217
+ */
4218
+ button: Partial<Pick<ButtonV2Props, "onClick" | "ariaLabel" | "ariaHasPopup" | "ariaExpanded" | "ariaControls" | "target" | "href">> & {
4219
+ label: ButtonV2Props["label"];
4220
+ };
4221
+ /**
4222
+ * Label for the button in the ThumbnailSignpost.
4223
+ */
4224
+ buttonOnClick?: ButtonV2Props["onClick"];
4225
+ /**
4226
+ * Image properties for the ThumbnailSignpost.
4227
+ */
4228
+ img?: Pick<ImageProps, "src" | "alt" | "loading" | "sizes" | "srcSet" | "anchor" | "fadeOnLoad">;
4229
+ }
4230
+
3705
4231
  /** Use `Toast` to display temporary messages at the bottom of the screen. */
3706
4232
  declare const Toast: FC<ToastProps>;
3707
4233
  interface ToastProps {
3708
4234
  /**
3709
4235
  * Content to display within `Toast`
3710
4236
  */
3711
- children: React$1.ReactNode;
4237
+ children: React.ReactNode;
3712
4238
  /**
3713
4239
  * Colour scheme for `Toast` - Use 'default' in almost all cases.
3714
4240
  */
@@ -3759,7 +4285,7 @@ interface TooltipProps {
3759
4285
  /**
3760
4286
  * Content to render within Tooltip
3761
4287
  */
3762
- children?: React$1.ReactNode;
4288
+ children?: React.ReactNode;
3763
4289
  /**
3764
4290
  * The preferred side of the anchor to render against when open
3765
4291
  */
@@ -3787,7 +4313,7 @@ interface TooltipProps {
3787
4313
  /**
3788
4314
  * Icon displayed next to the tooltip title or content.
3789
4315
  */
3790
- icon?: React$1.ReactElement<SVGElement> | ArcIcon$1;
4316
+ icon?: string;
3791
4317
  /**
3792
4318
  * Delay in milliseconds before the tooltip appears.
3793
4319
  */
@@ -3863,7 +4389,7 @@ interface TypographyCardProps {
3863
4389
  /**
3864
4390
  * Click handler for the TypographyCard.
3865
4391
  */
3866
- onClick?: (e: React$1.MouseEvent<HTMLAnchorElement>) => void;
4392
+ onClick?: (e: React.MouseEvent<HTMLAnchorElement>) => void;
3867
4393
  /**
3868
4394
  * Text to show adjacent to the cta, can be either a date or text. Its recommended to pass dates as Date objects so the component can render them correctly.
3869
4395
  */
@@ -3948,7 +4474,7 @@ interface VerticalSpaceProps {
3948
4474
  /**
3949
4475
  * Use `VideoPlayer` to embed videos from YouTube or Vimeo.
3950
4476
  */
3951
- declare const VideoPlayer: React$1.FC<VideoPlayerProps>;
4477
+ declare const VideoPlayer: React.FC<VideoPlayerProps>;
3952
4478
  interface VideoPlayerProps extends Pick<ReactPlayerProps, "onReady" | "onPlay" | "onStart" | "onPause" | "onEnded" | "onError" | "light"> {
3953
4479
  url: string;
3954
4480
  title: string;
@@ -3971,14 +4497,14 @@ interface VideoPlayerProps extends Pick<ReactPlayerProps, "onReady" | "onPlay" |
3971
4497
  isSupportingTextHidden?: boolean;
3972
4498
  }
3973
4499
 
3974
- declare const Visible: React$1.FC<VisibleProps>;
4500
+ declare const Visible: React.FC<VisibleProps>;
3975
4501
  interface VisibleProps {
3976
4502
  xs?: boolean;
3977
4503
  s?: boolean;
3978
4504
  m?: boolean;
3979
4505
  l?: boolean;
3980
4506
  xl?: boolean;
3981
- children: React$1.ReactNode;
4507
+ children: React.ReactNode;
3982
4508
  }
3983
4509
 
3984
4510
  /**
@@ -3992,163 +4518,6 @@ interface VisuallyHiddenProps {
3992
4518
  children?: ReactNode;
3993
4519
  }
3994
4520
 
3995
- declare const ThumbnailSignpost: React$1.FC<ThumbnailSignpostProps>;
3996
- interface ThumbnailSignpostProps {
3997
- /**
3998
- * Title for the ThumbnailSignpost.
3999
- */
4000
- title: string;
4001
- /**
4002
- * Text content for the ThumbnailSignpost.
4003
- */
4004
- text: string;
4005
- /**
4006
- * Button properties in the ThumbnailSignpost.
4007
- */
4008
- button: Partial<Pick<ButtonV2Props, "onClick" | "ariaLabel" | "ariaHasPopup" | "ariaExpanded" | "ariaControls" | "target" | "href">> & {
4009
- label: ButtonV2Props["label"];
4010
- };
4011
- /**
4012
- * Label for the button in the ThumbnailSignpost.
4013
- */
4014
- buttonOnClick?: ButtonV2Props["onClick"];
4015
- /**
4016
- * Image properties for the ThumbnailSignpost.
4017
- */
4018
- img?: Pick<ImageProps, "src" | "alt" | "loading" | "sizes" | "srcSet" | "anchor" | "fadeOnLoad">;
4019
- }
4020
-
4021
- declare const HorizontalCard: React$1.FC<HorizontalCardProps>;
4022
- interface HorizontalCardProps {
4023
- /**
4024
- * Heading for the HorizontalCard.
4025
- */
4026
- heading: string;
4027
- /**
4028
- * Heading level for the HorizontalCard heading.
4029
- */
4030
- headingLevel?: HeadingLevel;
4031
- /**
4032
- * Text content for the HorizontalCard
4033
- */
4034
- text: string;
4035
- /**
4036
- * Uppercase label for the HorizontalCard.
4037
- */
4038
- label?: string;
4039
- /**
4040
- * Url for the HorizontalCard. Makes the whole card a link.
4041
- */
4042
- url?: string;
4043
- /**
4044
- * Image for the HorizontalCard.
4045
- */
4046
- img?: Pick<ImageProps, "src" | "alt" | "loading" | "sizes" | "srcSet" | "anchor" | "fadeOnLoad" | "fit">;
4047
- /**
4048
- * Text to show adjacent to the cta, can be either a date or text. Its recommended to pass dates as Date objects so the component can render them correctly.
4049
- */
4050
- metaText?: CardFooterProps["metaText"];
4051
- /**
4052
- * Click handler for the HorizontalCard. Only applied when a url is provided.
4053
- */
4054
- onClick?: (e: React$1.MouseEvent<HTMLAnchorElement>) => void;
4055
- }
4056
-
4057
- /**
4058
- * Use `SiteFooterV2` to display information at the bottom of a page.
4059
- */
4060
- declare const SiteFooterV2: FC<SiteFooterV2Props>;
4061
- interface SiteFooterV2Props {
4062
- /**
4063
- * Content of the SiteFooterV2. Must include SiteFooterV2.Utility component and optional SiteFooterV2.Main.
4064
- */
4065
- children: ReactNode;
4066
- /**
4067
- * Text that appears at the top of the footer. Can be the name of the site, a
4068
- * brand slogan, or similar.
4069
- */
4070
- slogan?: string;
4071
- }
4072
-
4073
- declare const SiteFooterV2Main: FC<SiteFooterV2MainProps>;
4074
- declare const SiteFooterV2ItemGroup: FC<SiteFooterV2ItemGroupProps>;
4075
- declare const SiteFooterV2Item: FC<SiteFooterV2ItemProps>;
4076
- interface SiteFooterV2MainProps {
4077
- /**
4078
- * Contents of the SiteFooterV2Main. Must be SiteFooterV2.ItemGroup components.
4079
- */
4080
- children: ReactNode;
4081
- /**
4082
- * Number of columns to render at L+ breakpoints.
4083
- */
4084
- columns?: 3 | 4;
4085
- }
4086
- interface SiteFooterV2ItemGroupProps {
4087
- /**
4088
- * Contents of the SiteFooterV2ItemGroup. Must be SiteFooterV2.Item components.
4089
- */
4090
- children?: ReactNode;
4091
- /**
4092
- * Title text for the SiteFooterV2ItemGroup.
4093
- */
4094
- title?: string;
4095
- /**
4096
- * Hide disclosure at medium and small breakpoints.
4097
- */
4098
- hideDisclosure?: boolean;
4099
- }
4100
- interface SiteFooterV2ItemProps {
4101
- /**
4102
- * Contents of the SiteFooterV2Item.
4103
- */
4104
- children: ReactNode;
4105
- /**
4106
- * A URL to link to when the Item is clicked or touched.
4107
- */
4108
- href: string;
4109
- /**
4110
- * On click handler.
4111
- */
4112
- onClick?: () => void;
4113
- }
4114
-
4115
- /**
4116
- * Use `SiteFooterV2.Utility` to display information at the bottom of a page.
4117
- */
4118
- declare const SiteFooterV2Utility: FC<SiteFooterV2UtilityProps>;
4119
- declare const socialIcons: readonly [typeof ArcIconSocialFacebook, typeof ArcIconSocialInstagram, typeof ArcIconSocialLinkedin, typeof ArcIconSocialX, typeof ArcIconSocialYouTube];
4120
- declare const subBrands: readonly ["redcare", "wholesale", "ee"];
4121
- interface SiteFooterV2UtilityProps {
4122
- /**
4123
- * T&C links of the SiteFooterV2.Utility. Must be SiteFooterV2.Item components.
4124
- */
4125
- children?: ReactNode;
4126
- /**
4127
- * Date to show adjacent to the copyright symbol, can be either a date or text. Its recommended to pass dates as Date objects so the component can render them correctly.
4128
- */
4129
- copyrightYear?: string | Date;
4130
- /**
4131
- * Options for other brands and label.
4132
- */
4133
- brand?: {
4134
- subBrand?: (typeof subBrands)[number];
4135
- logoLabel?: string;
4136
- onClick?: () => void;
4137
- };
4138
- /**
4139
- * Add social media links and desired Icons (Facebook, X (Twitter), LinkedIn, Instagram and Youtube).
4140
- */
4141
- socialLinks?: {
4142
- href: string;
4143
- icon: (typeof socialIcons)[number];
4144
- ariaLabel: string;
4145
- }[];
4146
- /**
4147
- * A content slot to accept react node. Will override the brand logo.
4148
- */
4149
- contentSlot?: ReactNode;
4150
- }
4151
-
4152
4521
  /**
4153
4522
  * @typedef MediaQueryOutputs
4154
4523
  * @param {boolean} matches - does the document match the media query?
@@ -4168,4 +4537,4 @@ interface SiteFooterV2UtilityProps {
4168
4537
  */
4169
4538
  declare const useMediaQuery: (mediaQuery: string) => boolean;
4170
4539
 
4171
- export { Alert, type AlertProps, Align, type AlignProps, type AlignmentValue, AppButton, type AppButtonProps, type RangeSelection as ArcCalendarRangeSelection, type SelectionType as ArcCalendarSelectionType, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, Banner, type BannerProps, Box, type BoxProps, BrandLogo, colors$1 as BrandLogoColors, type BrandLogoProps, Breadcrumbs, BreadcrumbsItem, BreadcrumbsLink, type BreadcrumbsProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, ButtonV2, type ButtonV2Props, Calendar, type CalendarProps, Carousel, type CarouselProps, Checkbox, type CheckboxProps, type ColumnValue, Columns, ColumnsCol, type ColumnsColProps, type ColumnsProps, ComboBox, type ComboBoxProps, ContentSwitcher, ContentSwitcherContent, ContentSwitcherDropdown, ContentSwitcherDropdownContent, type ContentSwitcherDropdownProps, ContentSwitcherList, type ContentSwitcherProps, ContentSwitcherTab, DATE_FORMAT, DatePicker, type DatePickerProps, Disclosure, DisclosureMini, type DisclosureMiniProps, type DisclosureProps, Download, type DownloadProps, Drawer, type DrawerProps, Elevation, type ElevationProps, Filter, FilterControl, FilterControls, FilterItem, FilterItems, type FilterProps, FormControl, Context as FormControlContext, type FormControlProps, Grid, GridCol, type GridProps, GridRow, type GridValue, Group, GroupItem, type GroupProps, Heading, type HeadingLevel, type HeadingProps, HeroBanner, type HeroBannerProps, HeroButton, type HeroButtonProps, Hidden, type HiddenProps, HorizontalCard, type HorizontalCardProps, Icon, colors as IconColors, type IconProps, Image, fitOptions as ImageFitOptions, overlayOptions as ImageOverlayOptions, type ImageProps, ImageSource, type ImageSourceProps, ImpactCard, type ImpactCardProps, InformationCard, type InformationCardProps, Link, type LinkProps, Markup, type MarkupProps, MediaCard, type MediaCardProps, Modal, type ModalProps, Pagination, type PaginationProps, PaginationSimple, type PaginationSimpleProps, Popover, type PopoverProps, Poster, PosterImage, type PosterProps, PosterVideo, ProgressBar, type ProgressBarProps, type ProgressBarState, ProgressStepper, ProgressStepperItem, type ProgressStepperItemProps, type ProgressStepperProps, RadioCardGroup, RadioCardGroupInput, type RadioCardGroupProps, RadioGroup, RadioGroupButton, RadioGroupInput, type RadioGroupProps, Rule, type RuleProps, ScrollToTop, type ScrollToTopProps, Section, type SectionProps, Select, type SelectProps, SiteFooter, SiteFooterItem, SiteFooterItemGroup, type SiteFooterProps, SiteFooterV2, SiteFooterV2Item, SiteFooterV2ItemGroup, SiteFooterV2Main, SiteFooterV2Utility, SiteHeaderV2, SiteHeaderV2Column, SiteHeaderV2Item, SiteHeaderV2ItemGroup, SiteHeaderV2NavItem, SiteHeaderV2NavItemWithSubNav, SiteHeaderV2NodeItem, type SiteHeaderV2Props, SiteHeaderV2SubNavItem, SiteHeaderV2VerticalDivider, Skeleton, type SkeletonProps, SkipLink, SkipLinkItem, type Span, Spinner, type SpinnerProps, Surface, type SurfaceBackgroundColor, Context$1 as SurfaceContext, type SurfacePadding, type SurfaceProps, Switch, type SwitchProps, TabbedBanner, type TabbedBannerProps, Tabs, TabsContent, TabsItem, TabsList, type TabsListProps, type TabsProps, Tag, type TagProps, TemplateBanner, type TemplateBannerProps, Text, TextArea, type TextAreaProps, TextInput, type TextInputProps, type TextProps, Theme, ThemeIcon, type ThemeIconNames, type ThemeIconProps, type ThemeProps, type ThemeType, ThumbnailSignpost, type ThumbnailSignpostProps, Toast, ToastNotification, type ToastProps, Tooltip, type TooltipProps, Truncate, type TruncateProps, TypographyCard, type TypographyCardProps, UniversalHeader, UniversalHeaderItem, type UniversalHeaderProps, VerticalSpace, type VerticalSpaceProps, VideoPlayer, type VideoPlayerProps, Visible, type VisibleProps, VisuallyHidden, type VisuallyHiddenProps, backgrounds, backgroundsBT, isDateValid, isRangeValid, loadingOptions, parseDateString, parseRangeString, themes, useMediaQuery };
4540
+ export { Alert, type AlertProps, Align, type AlignProps, type AlignmentValue, AppButton, type AppButtonProps, type RangeSelection as ArcCalendarRangeSelection, type SelectionType as ArcCalendarSelectionType, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, Banner, type BannerProps, Box, type BoxProps, BrandLogo, colors$1 as BrandLogoColors, type BrandLogoProps, Breadcrumbs, BreadcrumbsItem, BreadcrumbsLink, type BreadcrumbsProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, ButtonV2, type ButtonV2Props, Calendar, type CalendarProps, Carousel, type CarouselProps, Checkbox, type CheckboxProps, type ColumnValue, Columns, ColumnsCol, type ColumnsColProps, type ColumnsProps, ComboBox, type ComboBoxProps, ContentSwitcher, ContentSwitcherContent, ContentSwitcherDropdown, ContentSwitcherDropdownContent, type ContentSwitcherDropdownProps, ContentSwitcherList, type ContentSwitcherProps, ContentSwitcherTab, DATE_FORMAT, DatePicker, type DatePickerProps, Disclosure, DisclosureMini, type DisclosureMiniProps, type DisclosureProps, Download, type DownloadProps, Drawer, type DrawerProps, Elevation, type ElevationProps, Filter, FilterControl, FilterControls, FilterItem, FilterItems, type FilterProps, FormControl, Context as FormControlContext, type FormControlProps, GhostedHeroBanner, type GhostedHeroBannerProps, GradientBackground, type GradientBackgroundProps, Grid, GridCol, type GridProps, GridRow, type GridValue, Group, GroupItem, type GroupProps, Heading, type HeadingLevel, type HeadingProps, HeroBanner, type HeroBannerProps, HeroButton, type HeroButtonProps, Hidden, type HiddenProps, HorizontalCard, type HorizontalCardProps, Icon, type IconColor, colors as IconColors, type IconProps, Image, fitOptions as ImageFitOptions, overlayOptions as ImageOverlayOptions, type ImageProps, ImageSource, type ImageSourceProps, ImpactCard, type ImpactCardProps, InformationCard, type InformationCardProps, Link, type LinkProps, Markup, type MarkupProps, MediaCard, type MediaCardProps, Menu, MenuCheckboxItem, MenuContent, MenuFooter, MenuGroup, MenuHeader, MenuItem, MenuItemContentTemplate, MenuLabel, MenuPortal, type MenuProps, MenuRadioGroup, MenuRadioItem, MenuScrollable, MenuSeparator, MenuSub, MenuSubContent, MenuSubTrigger, MenuTrigger, Modal, type ModalProps, Pagination, type PaginationProps, PaginationSimple, type PaginationSimpleProps, Popover, type PopoverProps, Poster, PosterImage, type PosterProps, PosterVideo, ProgressBar, type ProgressBarProps, type ProgressBarState, ProgressStepper, ProgressStepperItem, type ProgressStepperItemProps, type ProgressStepperProps, RadioCardGroup, RadioCardGroupInput, type RadioCardGroupProps, RadioGroup, RadioGroupButton, RadioGroupInput, type RadioGroupProps, Rule, type RuleProps, ScrollToTop, type ScrollToTopProps, Section, type SectionProps, Select, type SelectProps, SiteFooter, SiteFooterItem, SiteFooterItemGroup, type SiteFooterProps, SiteFooterV2, SiteFooterV2Item, SiteFooterV2ItemGroup, SiteFooterV2Main, SiteFooterV2Utility, SiteHeaderV2, SiteHeaderV2Column, SiteHeaderV2Item, SiteHeaderV2ItemGroup, SiteHeaderV2NavItem, SiteHeaderV2NavItemWithSubNav, SiteHeaderV2NodeItem, type SiteHeaderV2Props, SiteHeaderV2SubNavItem, SiteHeaderV2VerticalDivider, Skeleton, type SkeletonProps, SkipLink, SkipLinkItem, type Span, Spinner, type SpinnerProps, Surface, type SurfaceBackgroundColor, Context$1 as SurfaceContext, type SurfacePadding, type SurfaceProps, Switch, type SwitchProps, TabbedBanner, type TabbedBannerProps, Tabs, TabsContent, TabsItem, TabsList, type TabsListProps, type TabsProps, Tag, type TagProps, TemplateBanner, type TemplateBannerProps, Text, TextArea, type TextAreaProps, TextInput, type TextInputProps, type TextProps, Theme, ThemeIcon, type ThemeIconNames, type ThemeIconProps, type ThemeProps, type ThemeType, ThumbnailSignpost, type ThumbnailSignpostProps, Toast, ToastNotification, type ToastProps, Tooltip, type TooltipProps, Truncate, type TruncateProps, TypographyCard, type TypographyCardProps, UniversalHeader, UniversalHeaderItem, type UniversalHeaderProps, VerticalSpace, type VerticalSpaceProps, VideoPlayer, type VideoPlayerProps, Visible, type VisibleProps, VisuallyHidden, type VisuallyHiddenProps, backgrounds, backgroundsBT, isDateValid, isRangeValid, loadingOptions, parseDateString, parseRangeString, themes, useMediaQuery };