@amsterdam/design-system-react 0.14.1 → 0.16.0

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 (591) hide show
  1. package/README.md +1 -1
  2. package/dist/Accordion/Accordion.d.ts +35 -0
  3. package/dist/Accordion/Accordion.js +22 -0
  4. package/dist/Accordion/Accordion.test.d.ts +1 -0
  5. package/dist/Accordion/Accordion.test.js +40 -0
  6. package/dist/Accordion/AccordionContext.d.ts +12 -0
  7. package/dist/Accordion/AccordionContext.js +11 -0
  8. package/dist/Accordion/AccordionSection.d.ts +19 -0
  9. package/dist/Accordion/AccordionSection.js +22 -0
  10. package/dist/Accordion/AccordionSection.test.d.ts +1 -0
  11. package/dist/Accordion/AccordionSection.test.js +83 -0
  12. package/dist/Accordion/index.d.ts +3 -0
  13. package/dist/Accordion/index.js +1 -0
  14. package/dist/ActionGroup/ActionGroup.d.ts +9 -0
  15. package/dist/ActionGroup/ActionGroup.js +9 -0
  16. package/dist/ActionGroup/ActionGroup.test.d.ts +1 -0
  17. package/dist/ActionGroup/ActionGroup.test.js +29 -0
  18. package/dist/ActionGroup/index.d.ts +2 -0
  19. package/dist/ActionGroup/index.js +1 -0
  20. package/dist/Alert/Alert.d.ts +46 -0
  21. package/dist/Alert/Alert.js +22 -0
  22. package/dist/Alert/Alert.test.d.ts +1 -0
  23. package/dist/Alert/Alert.test.js +59 -0
  24. package/dist/Alert/index.d.ts +2 -0
  25. package/dist/Alert/index.js +1 -0
  26. package/dist/Avatar/Avatar.d.ts +24 -0
  27. package/dist/Avatar/Avatar.js +25 -0
  28. package/dist/Avatar/Avatar.test.d.ts +1 -0
  29. package/dist/Avatar/Avatar.test.js +58 -0
  30. package/dist/Avatar/index.d.ts +2 -0
  31. package/dist/Avatar/index.js +1 -0
  32. package/dist/Badge/Badge.d.ts +20 -0
  33. package/dist/Badge/Badge.js +10 -0
  34. package/dist/Badge/Badge.test.d.ts +1 -0
  35. package/dist/Badge/Badge.test.js +39 -0
  36. package/dist/Badge/index.d.ts +2 -0
  37. package/dist/Badge/index.js +1 -0
  38. package/dist/Blockquote/Blockquote.d.ts +15 -0
  39. package/dist/Blockquote/Blockquote.js +9 -0
  40. package/dist/Blockquote/Blockquote.test.d.ts +1 -0
  41. package/dist/Blockquote/Blockquote.test.js +42 -0
  42. package/dist/Blockquote/index.d.ts +2 -0
  43. package/dist/Blockquote/index.js +1 -0
  44. package/dist/Breadcrumb/Breadcrumb.d.ts +11 -0
  45. package/dist/Breadcrumb/Breadcrumb.js +11 -0
  46. package/dist/Breadcrumb/Breadcrumb.test.d.ts +1 -0
  47. package/dist/Breadcrumb/Breadcrumb.test.js +41 -0
  48. package/dist/Breadcrumb/BreadcrumbLink.d.ts +7 -0
  49. package/dist/Breadcrumb/BreadcrumbLink.js +9 -0
  50. package/dist/Breadcrumb/BreadcrumbLink.test.d.ts +1 -0
  51. package/dist/Breadcrumb/BreadcrumbLink.test.js +36 -0
  52. package/dist/Breadcrumb/index.d.ts +3 -0
  53. package/dist/Breadcrumb/index.js +1 -0
  54. package/dist/Breakout/Breakout.d.ts +15 -0
  55. package/dist/Breakout/Breakout.js +12 -0
  56. package/dist/Breakout/Breakout.test.d.ts +1 -0
  57. package/dist/Breakout/Breakout.test.js +58 -0
  58. package/dist/Breakout/BreakoutCell.d.ts +37 -0
  59. package/dist/Breakout/BreakoutCell.js +11 -0
  60. package/dist/Breakout/BreakoutCell.test.d.ts +1 -0
  61. package/dist/Breakout/BreakoutCell.test.js +124 -0
  62. package/dist/Breakout/breakoutCellClasses.d.ts +6 -0
  63. package/dist/Breakout/breakoutCellClasses.js +11 -0
  64. package/dist/Breakout/index.d.ts +3 -0
  65. package/dist/Breakout/index.js +1 -0
  66. package/dist/Button/Button.d.ts +31 -0
  67. package/dist/Button/Button.js +10 -0
  68. package/dist/Button/Button.test.d.ts +1 -0
  69. package/dist/Button/Button.test.js +110 -0
  70. package/dist/Button/index.d.ts +2 -0
  71. package/dist/Button/index.js +1 -0
  72. package/dist/Card/Card.d.ts +28 -0
  73. package/dist/Card/Card.js +19 -0
  74. package/dist/Card/Card.test.d.ts +1 -0
  75. package/dist/Card/Card.test.js +29 -0
  76. package/dist/Card/CardHeading.d.ts +11 -0
  77. package/dist/Card/CardHeading.js +10 -0
  78. package/dist/Card/CardHeading.test.d.ts +1 -0
  79. package/dist/Card/CardHeading.test.js +34 -0
  80. package/dist/Card/CardHeadingGroup.d.ts +15 -0
  81. package/dist/Card/CardHeadingGroup.js +10 -0
  82. package/dist/Card/CardHeadingGroup.test.d.ts +1 -0
  83. package/dist/Card/CardHeadingGroup.test.js +34 -0
  84. package/dist/Card/CardImage.d.ts +7 -0
  85. package/dist/Card/CardImage.js +10 -0
  86. package/dist/Card/CardImage.test.d.ts +1 -0
  87. package/dist/Card/CardImage.test.js +29 -0
  88. package/dist/Card/CardLink.d.ts +9 -0
  89. package/dist/Card/CardLink.js +9 -0
  90. package/dist/Card/CardLink.test.d.ts +1 -0
  91. package/dist/Card/CardLink.test.js +29 -0
  92. package/dist/Card/index.d.ts +4 -0
  93. package/dist/Card/index.js +1 -0
  94. package/dist/CharacterCount/CharacterCount.d.ts +17 -0
  95. package/dist/CharacterCount/CharacterCount.js +9 -0
  96. package/dist/CharacterCount/CharacterCount.test.d.ts +1 -0
  97. package/dist/CharacterCount/CharacterCount.test.js +34 -0
  98. package/dist/CharacterCount/index.d.ts +2 -0
  99. package/dist/CharacterCount/index.js +1 -0
  100. package/dist/Checkbox/Checkbox.d.ts +19 -0
  101. package/dist/Checkbox/Checkbox.js +24 -0
  102. package/dist/Checkbox/Checkbox.test.d.ts +1 -0
  103. package/dist/Checkbox/Checkbox.test.js +123 -0
  104. package/dist/Checkbox/index.d.ts +2 -0
  105. package/dist/Checkbox/index.js +1 -0
  106. package/dist/Column/Column.d.ts +57 -0
  107. package/dist/Column/Column.js +11 -0
  108. package/dist/Column/Column.test.d.ts +1 -0
  109. package/dist/Column/Column.test.js +55 -0
  110. package/dist/Column/index.d.ts +2 -0
  111. package/dist/Column/index.js +1 -0
  112. package/dist/DateInput/DateInput.d.ts +20 -0
  113. package/dist/DateInput/DateInput.js +10 -0
  114. package/dist/DateInput/DateInput.test.d.ts +1 -0
  115. package/dist/DateInput/DateInput.test.js +54 -0
  116. package/dist/DateInput/index.d.ts +2 -0
  117. package/dist/DateInput/index.js +1 -0
  118. package/dist/DescriptionList/DescriptionList.d.ts +30 -0
  119. package/dist/DescriptionList/DescriptionList.js +18 -0
  120. package/dist/DescriptionList/DescriptionList.test.d.ts +1 -0
  121. package/dist/DescriptionList/DescriptionList.test.js +39 -0
  122. package/dist/DescriptionList/DescriptionListDescription.d.ts +9 -0
  123. package/dist/DescriptionList/DescriptionListDescription.js +9 -0
  124. package/dist/DescriptionList/DescriptionListDescription.test.d.ts +1 -0
  125. package/dist/DescriptionList/DescriptionListDescription.test.js +29 -0
  126. package/dist/DescriptionList/DescriptionListSection.d.ts +9 -0
  127. package/dist/DescriptionList/DescriptionListSection.js +9 -0
  128. package/dist/DescriptionList/DescriptionListSection.test.d.ts +1 -0
  129. package/dist/DescriptionList/DescriptionListSection.test.js +29 -0
  130. package/dist/DescriptionList/DescriptionListTerm.d.ts +9 -0
  131. package/dist/DescriptionList/DescriptionListTerm.js +9 -0
  132. package/dist/DescriptionList/DescriptionListTerm.test.d.ts +1 -0
  133. package/dist/DescriptionList/DescriptionListTerm.test.js +29 -0
  134. package/dist/DescriptionList/index.d.ts +4 -0
  135. package/dist/DescriptionList/index.js +1 -0
  136. package/dist/Dialog/Dialog.d.ts +27 -0
  137. package/dist/Dialog/Dialog.js +17 -0
  138. package/dist/Dialog/Dialog.test.d.ts +1 -0
  139. package/dist/Dialog/Dialog.test.js +78 -0
  140. package/dist/Dialog/index.d.ts +2 -0
  141. package/dist/Dialog/index.js +1 -0
  142. package/dist/ErrorMessage/ErrorMessage.d.ts +19 -0
  143. package/dist/ErrorMessage/ErrorMessage.js +11 -0
  144. package/dist/ErrorMessage/ErrorMessage.test.d.ts +1 -0
  145. package/dist/ErrorMessage/ErrorMessage.test.js +49 -0
  146. package/dist/ErrorMessage/index.d.ts +2 -0
  147. package/dist/ErrorMessage/index.js +1 -0
  148. package/dist/Field/Field.d.ts +15 -0
  149. package/dist/Field/Field.js +9 -0
  150. package/dist/Field/Field.test.d.ts +1 -0
  151. package/dist/Field/Field.test.js +34 -0
  152. package/dist/Field/index.d.ts +2 -0
  153. package/dist/Field/index.js +1 -0
  154. package/dist/FieldSet/FieldSet.d.ts +23 -0
  155. package/dist/FieldSet/FieldSet.js +12 -0
  156. package/dist/FieldSet/FieldSet.test.d.ts +1 -0
  157. package/dist/FieldSet/FieldSet.test.js +59 -0
  158. package/dist/FieldSet/index.d.ts +2 -0
  159. package/dist/FieldSet/index.js +1 -0
  160. package/dist/Figure/Figure.d.ts +15 -0
  161. package/dist/Figure/Figure.js +11 -0
  162. package/dist/Figure/Figure.test.d.ts +1 -0
  163. package/dist/Figure/Figure.test.js +29 -0
  164. package/dist/Figure/FigureCaption.d.ts +15 -0
  165. package/dist/Figure/FigureCaption.js +9 -0
  166. package/dist/Figure/FigureCaption.test.d.ts +1 -0
  167. package/dist/Figure/FigureCaption.test.js +34 -0
  168. package/dist/Figure/index.d.ts +2 -0
  169. package/dist/Figure/index.js +1 -0
  170. package/dist/FileInput/FileInput.d.ts +7 -0
  171. package/dist/FileInput/FileInput.js +9 -0
  172. package/dist/FileInput/FileInput.test.d.ts +1 -0
  173. package/dist/FileInput/FileInput.test.js +29 -0
  174. package/dist/FileInput/index.d.ts +2 -0
  175. package/dist/FileInput/index.js +1 -0
  176. package/dist/FileList/FileList.d.ts +17 -0
  177. package/dist/FileList/FileList.js +13 -0
  178. package/dist/FileList/FileList.test.d.ts +1 -0
  179. package/dist/FileList/FileList.test.js +29 -0
  180. package/dist/FileList/FileListItem.d.ts +13 -0
  181. package/dist/FileList/FileListItem.js +14 -0
  182. package/dist/FileList/FileListItem.test.d.ts +1 -0
  183. package/dist/FileList/FileListItem.test.js +40 -0
  184. package/dist/FileList/index.d.ts +2 -0
  185. package/dist/FileList/index.js +1 -0
  186. package/dist/Grid/Grid.d.ts +40 -0
  187. package/dist/Grid/Grid.js +15 -0
  188. package/dist/Grid/Grid.test.d.ts +1 -0
  189. package/dist/Grid/Grid.test.js +65 -0
  190. package/dist/Grid/GridCell.d.ts +25 -0
  191. package/dist/Grid/GridCell.js +11 -0
  192. package/dist/Grid/GridCell.test.d.ts +1 -0
  193. package/dist/Grid/GridCell.test.js +80 -0
  194. package/dist/Grid/gridCellClasses.d.ts +8 -0
  195. package/dist/Grid/gridCellClasses.js +18 -0
  196. package/dist/Grid/index.d.ts +3 -0
  197. package/dist/Grid/index.js +1 -0
  198. package/dist/Grid/paddingClasses.d.ts +2 -0
  199. package/dist/Grid/paddingClasses.js +13 -0
  200. package/dist/Heading/Heading.d.ts +24 -0
  201. package/dist/Heading/Heading.js +15 -0
  202. package/dist/Heading/Heading.test.d.ts +1 -0
  203. package/dist/Heading/Heading.test.js +68 -0
  204. package/dist/Heading/getHeadingTag.d.ts +2 -0
  205. package/dist/Heading/getHeadingTag.js +13 -0
  206. package/dist/Heading/index.d.ts +2 -0
  207. package/dist/Heading/index.js +1 -0
  208. package/dist/Hint/Hint.d.ts +16 -0
  209. package/dist/Hint/Hint.js +21 -0
  210. package/dist/Hint/Hint.test.d.ts +1 -0
  211. package/dist/Hint/Hint.test.js +49 -0
  212. package/dist/Hint/index.d.ts +2 -0
  213. package/dist/Hint/index.js +1 -0
  214. package/dist/Icon/Icon.d.ts +30 -0
  215. package/dist/Icon/Icon.js +12 -0
  216. package/dist/Icon/Icon.test.d.ts +1 -0
  217. package/dist/Icon/Icon.test.js +51 -0
  218. package/dist/Icon/index.d.ts +2 -0
  219. package/dist/Icon/index.js +1 -0
  220. package/dist/IconButton/IconButton.d.ts +26 -0
  221. package/dist/IconButton/IconButton.js +11 -0
  222. package/dist/IconButton/IconButton.test.d.ts +1 -0
  223. package/dist/IconButton/IconButton.test.js +44 -0
  224. package/dist/IconButton/index.d.ts +2 -0
  225. package/dist/IconButton/index.js +1 -0
  226. package/dist/Image/Image.d.ts +14 -0
  227. package/dist/Image/Image.js +10 -0
  228. package/dist/Image/Image.test.d.ts +1 -0
  229. package/dist/Image/Image.test.js +39 -0
  230. package/dist/Image/generateAspectRatioClass.d.ts +1 -0
  231. package/dist/Image/generateAspectRatioClass.js +1 -0
  232. package/dist/Image/index.d.ts +3 -0
  233. package/dist/Image/index.js +2 -0
  234. package/dist/ImageSlider/ImageSlider.d.ts +49 -0
  235. package/dist/ImageSlider/ImageSlider.js +98 -0
  236. package/dist/ImageSlider/ImageSlider.test.d.ts +1 -0
  237. package/dist/ImageSlider/ImageSlider.test.js +66 -0
  238. package/dist/ImageSlider/ImageSliderContext.d.ts +13 -0
  239. package/dist/ImageSlider/ImageSliderContext.js +14 -0
  240. package/dist/ImageSlider/ImageSliderControls.d.ts +17 -0
  241. package/dist/ImageSlider/ImageSliderControls.js +17 -0
  242. package/dist/ImageSlider/ImageSliderControls.test.d.ts +1 -0
  243. package/dist/ImageSlider/ImageSliderControls.test.js +21 -0
  244. package/dist/ImageSlider/ImageSliderItem.d.ts +15 -0
  245. package/dist/ImageSlider/ImageSliderItem.js +15 -0
  246. package/dist/ImageSlider/ImageSliderItem.test.d.ts +1 -0
  247. package/dist/ImageSlider/ImageSliderItem.test.js +33 -0
  248. package/dist/ImageSlider/ImageSliderScroller.d.ts +9 -0
  249. package/dist/ImageSlider/ImageSliderScroller.js +9 -0
  250. package/dist/ImageSlider/ImageSliderScroller.test.d.ts +1 -0
  251. package/dist/ImageSlider/ImageSliderScroller.test.js +33 -0
  252. package/dist/ImageSlider/ImageSliderThumbnails.d.ts +14 -0
  253. package/dist/ImageSlider/ImageSliderThumbnails.js +32 -0
  254. package/dist/ImageSlider/ImageSliderThumbnails.test.d.ts +1 -0
  255. package/dist/ImageSlider/ImageSliderThumbnails.test.js +48 -0
  256. package/dist/ImageSlider/index.d.ts +3 -0
  257. package/dist/ImageSlider/index.js +1 -0
  258. package/dist/InvalidFormAlert/InvalidFormAlert.d.ts +68 -0
  259. package/dist/InvalidFormAlert/InvalidFormAlert.js +20 -0
  260. package/dist/InvalidFormAlert/InvalidFormAlert.test.d.ts +1 -0
  261. package/dist/InvalidFormAlert/InvalidFormAlert.test.js +104 -0
  262. package/dist/InvalidFormAlert/InvalidFormAlertWithErrors.d.ts +12 -0
  263. package/dist/InvalidFormAlert/InvalidFormAlertWithErrors.js +22 -0
  264. package/dist/InvalidFormAlert/index.d.ts +2 -0
  265. package/dist/InvalidFormAlert/index.js +1 -0
  266. package/dist/InvalidFormAlert/useAddErrorCountToDocumentTitle.d.ts +11 -0
  267. package/dist/InvalidFormAlert/useAddErrorCountToDocumentTitle.js +26 -0
  268. package/dist/Label/Label.d.ts +14 -0
  269. package/dist/Label/Label.js +13 -0
  270. package/dist/Label/Label.test.d.ts +1 -0
  271. package/dist/Label/Label.test.js +73 -0
  272. package/dist/Label/index.d.ts +1 -0
  273. package/dist/Label/index.js +1 -0
  274. package/dist/Link/Link.d.ts +13 -0
  275. package/dist/Link/Link.js +9 -0
  276. package/dist/Link/Link.test.d.ts +1 -0
  277. package/dist/Link/Link.test.js +39 -0
  278. package/dist/Link/index.d.ts +2 -0
  279. package/dist/Link/index.js +1 -0
  280. package/dist/LinkList/LinkList.d.ts +17 -0
  281. package/dist/LinkList/LinkList.js +14 -0
  282. package/dist/LinkList/LinkList.test.d.ts +1 -0
  283. package/dist/LinkList/LinkList.test.js +29 -0
  284. package/dist/LinkList/LinkListLink.d.ts +24 -0
  285. package/dist/LinkList/LinkListLink.js +14 -0
  286. package/dist/LinkList/LinkListLink.test.d.ts +1 -0
  287. package/dist/LinkList/LinkListLink.test.js +50 -0
  288. package/dist/LinkList/index.d.ts +3 -0
  289. package/dist/LinkList/index.js +1 -0
  290. package/dist/Logo/Logo.d.ts +11 -0
  291. package/dist/Logo/Logo.js +21 -0
  292. package/dist/Logo/Logo.test.d.ts +1 -0
  293. package/dist/Logo/Logo.test.js +29 -0
  294. package/dist/Logo/brand/LogoAmsterdam.d.ts +3 -0
  295. package/dist/Logo/brand/LogoAmsterdam.js +5 -0
  296. package/dist/Logo/brand/LogoGgdAmsterdam.d.ts +3 -0
  297. package/dist/Logo/brand/LogoGgdAmsterdam.js +5 -0
  298. package/dist/Logo/brand/LogoMuseumWeesp.d.ts +3 -0
  299. package/dist/Logo/brand/LogoMuseumWeesp.js +5 -0
  300. package/dist/Logo/brand/LogoStadsarchief.d.ts +3 -0
  301. package/dist/Logo/brand/LogoStadsarchief.js +5 -0
  302. package/dist/Logo/brand/LogoStadsbankVanLening.d.ts +3 -0
  303. package/dist/Logo/brand/LogoStadsbankVanLening.js +5 -0
  304. package/dist/Logo/brand/LogoVgaVerzekeringen.d.ts +3 -0
  305. package/dist/Logo/brand/LogoVgaVerzekeringen.js +5 -0
  306. package/dist/Logo/brand/index.d.ts +6 -0
  307. package/dist/Logo/brand/index.js +6 -0
  308. package/dist/Logo/index.d.ts +2 -0
  309. package/dist/Logo/index.js +1 -0
  310. package/dist/Mark/Mark.d.ts +9 -0
  311. package/dist/Mark/Mark.js +9 -0
  312. package/dist/Mark/Mark.test.d.ts +1 -0
  313. package/dist/Mark/Mark.test.js +29 -0
  314. package/dist/Mark/index.d.ts +2 -0
  315. package/dist/Mark/index.js +1 -0
  316. package/dist/OrderedList/OrderedList.d.ts +27 -0
  317. package/dist/OrderedList/OrderedList.js +11 -0
  318. package/dist/OrderedList/OrderedList.test.d.ts +1 -0
  319. package/dist/OrderedList/OrderedList.test.js +51 -0
  320. package/dist/OrderedList/OrderedListItem.d.ts +9 -0
  321. package/dist/OrderedList/OrderedListItem.js +9 -0
  322. package/dist/OrderedList/OrderedListItem.test.d.ts +1 -0
  323. package/dist/OrderedList/OrderedListItem.test.js +28 -0
  324. package/dist/OrderedList/index.d.ts +3 -0
  325. package/dist/OrderedList/index.js +1 -0
  326. package/dist/Overlap/Overlap.d.ts +9 -0
  327. package/dist/Overlap/Overlap.js +9 -0
  328. package/dist/Overlap/Overlap.test.d.ts +1 -0
  329. package/dist/Overlap/Overlap.test.js +34 -0
  330. package/dist/Overlap/index.d.ts +2 -0
  331. package/dist/Overlap/index.js +1 -0
  332. package/dist/Page/Page.d.ts +9 -0
  333. package/dist/Page/Page.js +9 -0
  334. package/dist/Page/Page.test.d.ts +1 -0
  335. package/dist/Page/Page.test.js +29 -0
  336. package/dist/Page/index.d.ts +2 -0
  337. package/dist/Page/index.js +1 -0
  338. package/dist/PageFooter/PageFooter.d.ts +19 -0
  339. package/dist/PageFooter/PageFooter.js +17 -0
  340. package/dist/PageFooter/PageFooter.test.d.ts +1 -0
  341. package/dist/PageFooter/PageFooter.test.js +29 -0
  342. package/dist/PageFooter/PageFooterMenu.d.ts +9 -0
  343. package/dist/PageFooter/PageFooterMenu.js +9 -0
  344. package/dist/PageFooter/PageFooterMenu.test.d.ts +1 -0
  345. package/dist/PageFooter/PageFooterMenu.test.js +31 -0
  346. package/dist/PageFooter/PageFooterMenuLink.d.ts +9 -0
  347. package/dist/PageFooter/PageFooterMenuLink.js +9 -0
  348. package/dist/PageFooter/PageFooterMenuLink.test.d.ts +1 -0
  349. package/dist/PageFooter/PageFooterMenuLink.test.js +29 -0
  350. package/dist/PageFooter/PageFooterSpotlight.d.ts +9 -0
  351. package/dist/PageFooter/PageFooterSpotlight.js +9 -0
  352. package/dist/PageFooter/PageFooterSpotlight.test.d.ts +1 -0
  353. package/dist/PageFooter/PageFooterSpotlight.test.js +29 -0
  354. package/dist/PageFooter/index.d.ts +5 -0
  355. package/dist/PageFooter/index.js +1 -0
  356. package/dist/PageHeader/PageHeader.d.ts +49 -0
  357. package/dist/PageHeader/PageHeader.js +31 -0
  358. package/dist/PageHeader/PageHeader.test.d.ts +2 -0
  359. package/dist/PageHeader/PageHeader.test.js +120 -0
  360. package/dist/PageHeader/PageHeaderGridCellNarrowWindowOnly.d.ts +2 -0
  361. package/dist/PageHeader/PageHeaderGridCellNarrowWindowOnly.js +6 -0
  362. package/dist/PageHeader/PageHeaderGridCellNarrowWindowOnly.test.d.ts +1 -0
  363. package/dist/PageHeader/PageHeaderGridCellNarrowWindowOnly.test.js +34 -0
  364. package/dist/PageHeader/PageHeaderMenuIcon.d.ts +2 -0
  365. package/dist/PageHeader/PageHeaderMenuIcon.js +2 -0
  366. package/dist/PageHeader/PageHeaderMenuLink.d.ts +9 -0
  367. package/dist/PageHeader/PageHeaderMenuLink.js +5 -0
  368. package/dist/PageHeader/PageHeaderMenuLink.test.d.ts +1 -0
  369. package/dist/PageHeader/PageHeaderMenuLink.test.js +41 -0
  370. package/dist/PageHeader/index.d.ts +3 -0
  371. package/dist/PageHeader/index.js +1 -0
  372. package/dist/PageHeader/matchMedia.mock.d.ts +0 -0
  373. package/dist/PageHeader/matchMedia.mock.js +15 -0
  374. package/dist/PageHeading/PageHeading.d.ts +15 -0
  375. package/dist/PageHeading/PageHeading.js +9 -0
  376. package/dist/PageHeading/PageHeading.test.d.ts +1 -0
  377. package/dist/PageHeading/PageHeading.test.js +36 -0
  378. package/dist/PageHeading/index.d.ts +2 -0
  379. package/dist/PageHeading/index.js +1 -0
  380. package/dist/Pagination/LinkItem.d.ts +7 -0
  381. package/dist/Pagination/LinkItem.js +7 -0
  382. package/dist/Pagination/Pagination.d.ts +59 -0
  383. package/dist/Pagination/Pagination.js +23 -0
  384. package/dist/Pagination/Pagination.test.d.ts +1 -0
  385. package/dist/Pagination/Pagination.test.js +120 -0
  386. package/dist/Pagination/Spacer.d.ts +1 -0
  387. package/dist/Pagination/Spacer.js +2 -0
  388. package/dist/Pagination/getRange.d.ts +16 -0
  389. package/dist/Pagination/getRange.js +41 -0
  390. package/dist/Pagination/index.d.ts +2 -0
  391. package/dist/Pagination/index.js +1 -0
  392. package/dist/Paragraph/Paragraph.d.ts +20 -0
  393. package/dist/Paragraph/Paragraph.js +10 -0
  394. package/dist/Paragraph/Paragraph.test.d.ts +1 -0
  395. package/dist/Paragraph/Paragraph.test.js +58 -0
  396. package/dist/Paragraph/index.d.ts +2 -0
  397. package/dist/Paragraph/index.js +1 -0
  398. package/dist/PasswordInput/PasswordInput.d.ts +13 -0
  399. package/dist/PasswordInput/PasswordInput.js +9 -0
  400. package/dist/PasswordInput/PasswordInput.test.d.ts +1 -0
  401. package/dist/PasswordInput/PasswordInput.test.js +85 -0
  402. package/dist/PasswordInput/index.d.ts +2 -0
  403. package/dist/PasswordInput/index.js +1 -0
  404. package/dist/Radio/Radio.d.ts +19 -0
  405. package/dist/Radio/Radio.js +16 -0
  406. package/dist/Radio/Radio.test.d.ts +1 -0
  407. package/dist/Radio/Radio.test.js +121 -0
  408. package/dist/Radio/RadioIcon.d.ts +3 -0
  409. package/dist/Radio/RadioIcon.js +3 -0
  410. package/dist/Radio/index.d.ts +2 -0
  411. package/dist/Radio/index.js +1 -0
  412. package/dist/Row/Row.d.ts +67 -0
  413. package/dist/Row/Row.js +11 -0
  414. package/dist/Row/Row.test.d.ts +1 -0
  415. package/dist/Row/Row.test.js +60 -0
  416. package/dist/Row/index.d.ts +2 -0
  417. package/dist/Row/index.js +1 -0
  418. package/dist/SearchField/SearchField.d.ts +294 -0
  419. package/dist/SearchField/SearchField.js +14 -0
  420. package/dist/SearchField/SearchField.test.d.ts +1 -0
  421. package/dist/SearchField/SearchField.test.js +46 -0
  422. package/dist/SearchField/SearchFieldButton.d.ts +8 -0
  423. package/dist/SearchField/SearchFieldButton.js +10 -0
  424. package/dist/SearchField/SearchFieldInput.d.ts +11 -0
  425. package/dist/SearchField/SearchFieldInput.js +12 -0
  426. package/dist/SearchField/SearchFieldInput.test.d.ts +1 -0
  427. package/dist/SearchField/SearchFieldInput.test.js +61 -0
  428. package/dist/SearchField/index.d.ts +2 -0
  429. package/dist/SearchField/index.js +1 -0
  430. package/dist/Select/Select.d.ts +22 -0
  431. package/dist/Select/Select.js +12 -0
  432. package/dist/Select/Select.test.d.ts +1 -0
  433. package/dist/Select/Select.test.js +70 -0
  434. package/dist/Select/SelectOption.d.ts +9 -0
  435. package/dist/Select/SelectOption.js +9 -0
  436. package/dist/Select/SelectOption.test.d.ts +1 -0
  437. package/dist/Select/SelectOption.test.js +41 -0
  438. package/dist/Select/SelectOptionGroup.d.ts +9 -0
  439. package/dist/Select/SelectOptionGroup.js +9 -0
  440. package/dist/Select/SelectOptionGroup.test.d.ts +1 -0
  441. package/dist/Select/SelectOptionGroup.test.js +41 -0
  442. package/dist/Select/index.d.ts +3 -0
  443. package/dist/Select/index.js +1 -0
  444. package/dist/SkipLink/SkipLink.d.ts +9 -0
  445. package/dist/SkipLink/SkipLink.js +9 -0
  446. package/dist/SkipLink/SkipLink.test.d.ts +1 -0
  447. package/dist/SkipLink/SkipLink.test.js +29 -0
  448. package/dist/SkipLink/index.d.ts +2 -0
  449. package/dist/SkipLink/index.js +1 -0
  450. package/dist/Spotlight/Spotlight.d.ts +24 -0
  451. package/dist/Spotlight/Spotlight.js +11 -0
  452. package/dist/Spotlight/Spotlight.test.d.ts +1 -0
  453. package/dist/Spotlight/Spotlight.test.js +42 -0
  454. package/dist/Spotlight/index.d.ts +2 -0
  455. package/dist/Spotlight/index.js +1 -0
  456. package/dist/StandaloneLink/StandaloneLink.d.ts +17 -0
  457. package/dist/StandaloneLink/StandaloneLink.js +10 -0
  458. package/dist/StandaloneLink/StandaloneLink.test.d.ts +1 -0
  459. package/dist/StandaloneLink/StandaloneLink.test.js +40 -0
  460. package/dist/StandaloneLink/index.d.ts +2 -0
  461. package/dist/StandaloneLink/index.js +1 -0
  462. package/dist/Switch/Switch.d.ts +9 -0
  463. package/dist/Switch/Switch.js +12 -0
  464. package/dist/Switch/Switch.test.d.ts +1 -0
  465. package/dist/Switch/Switch.test.js +65 -0
  466. package/dist/Switch/index.d.ts +2 -0
  467. package/dist/Switch/index.js +1 -0
  468. package/dist/Table/Table.d.ts +31 -0
  469. package/dist/Table/Table.js +25 -0
  470. package/dist/Table/Table.test.d.ts +1 -0
  471. package/dist/Table/Table.test.js +29 -0
  472. package/dist/Table/TableBody.d.ts +9 -0
  473. package/dist/Table/TableBody.js +9 -0
  474. package/dist/Table/TableBody.test.d.ts +1 -0
  475. package/dist/Table/TableBody.test.js +30 -0
  476. package/dist/Table/TableCaption.d.ts +10 -0
  477. package/dist/Table/TableCaption.js +10 -0
  478. package/dist/Table/TableCaption.test.d.ts +1 -0
  479. package/dist/Table/TableCaption.test.js +41 -0
  480. package/dist/Table/TableCell.d.ts +9 -0
  481. package/dist/Table/TableCell.js +9 -0
  482. package/dist/Table/TableCell.test.d.ts +1 -0
  483. package/dist/Table/TableCell.test.js +32 -0
  484. package/dist/Table/TableFooter.d.ts +9 -0
  485. package/dist/Table/TableFooter.js +9 -0
  486. package/dist/Table/TableFooter.test.d.ts +1 -0
  487. package/dist/Table/TableFooter.test.js +30 -0
  488. package/dist/Table/TableHeader.d.ts +9 -0
  489. package/dist/Table/TableHeader.js +9 -0
  490. package/dist/Table/TableHeader.test.d.ts +1 -0
  491. package/dist/Table/TableHeader.test.js +30 -0
  492. package/dist/Table/TableHeaderCell.d.ts +9 -0
  493. package/dist/Table/TableHeaderCell.js +9 -0
  494. package/dist/Table/TableHeaderCell.test.d.ts +1 -0
  495. package/dist/Table/TableHeaderCell.test.js +38 -0
  496. package/dist/Table/TableRow.d.ts +9 -0
  497. package/dist/Table/TableRow.js +9 -0
  498. package/dist/Table/TableRow.test.d.ts +1 -0
  499. package/dist/Table/TableRow.test.js +31 -0
  500. package/dist/Table/index.d.ts +2 -0
  501. package/dist/Table/index.js +1 -0
  502. package/dist/TableOfContents/TableOfContents.d.ts +33 -0
  503. package/dist/TableOfContents/TableOfContents.js +18 -0
  504. package/dist/TableOfContents/TableOfContents.test.d.ts +1 -0
  505. package/dist/TableOfContents/TableOfContents.test.js +40 -0
  506. package/dist/TableOfContents/TableOfContentsLink.d.ts +13 -0
  507. package/dist/TableOfContents/TableOfContentsLink.js +9 -0
  508. package/dist/TableOfContents/TableOfContentsLink.test.d.ts +1 -0
  509. package/dist/TableOfContents/TableOfContentsLink.test.js +30 -0
  510. package/dist/TableOfContents/TableOfContentsList.d.ts +9 -0
  511. package/dist/TableOfContents/TableOfContentsList.js +11 -0
  512. package/dist/TableOfContents/TableOfContentsList.test.d.ts +1 -0
  513. package/dist/TableOfContents/TableOfContentsList.test.js +36 -0
  514. package/dist/TableOfContents/index.d.ts +4 -0
  515. package/dist/TableOfContents/index.js +1 -0
  516. package/dist/Tabs/Tabs.d.ts +31 -0
  517. package/dist/Tabs/Tabs.js +56 -0
  518. package/dist/Tabs/Tabs.test.d.ts +1 -0
  519. package/dist/Tabs/Tabs.test.js +100 -0
  520. package/dist/Tabs/TabsButton.d.ts +15 -0
  521. package/dist/Tabs/TabsButton.js +19 -0
  522. package/dist/Tabs/TabsButton.test.d.ts +1 -0
  523. package/dist/Tabs/TabsButton.test.js +43 -0
  524. package/dist/Tabs/TabsContext.d.ts +11 -0
  525. package/dist/Tabs/TabsContext.js +10 -0
  526. package/dist/Tabs/TabsList.d.ts +9 -0
  527. package/dist/Tabs/TabsList.js +20 -0
  528. package/dist/Tabs/TabsList.test.d.ts +1 -0
  529. package/dist/Tabs/TabsList.test.js +28 -0
  530. package/dist/Tabs/TabsPanel.d.ts +15 -0
  531. package/dist/Tabs/TabsPanel.js +16 -0
  532. package/dist/Tabs/TabsPanel.test.d.ts +1 -0
  533. package/dist/Tabs/TabsPanel.test.js +38 -0
  534. package/dist/Tabs/index.d.ts +5 -0
  535. package/dist/Tabs/index.js +1 -0
  536. package/dist/TextArea/TextArea.d.ts +17 -0
  537. package/dist/TextArea/TextArea.js +9 -0
  538. package/dist/TextArea/TextArea.test.d.ts +1 -0
  539. package/dist/TextArea/TextArea.test.js +101 -0
  540. package/dist/TextArea/index.d.ts +2 -0
  541. package/dist/TextArea/index.js +1 -0
  542. package/dist/TextInput/TextInput.d.ts +20 -0
  543. package/dist/TextInput/TextInput.js +10 -0
  544. package/dist/TextInput/TextInput.test.d.ts +1 -0
  545. package/dist/TextInput/TextInput.test.js +88 -0
  546. package/dist/TextInput/index.d.ts +2 -0
  547. package/dist/TextInput/index.js +1 -0
  548. package/dist/TimeInput/TimeInput.d.ts +13 -0
  549. package/dist/TimeInput/TimeInput.js +9 -0
  550. package/dist/TimeInput/TimeInput.test.d.ts +1 -0
  551. package/dist/TimeInput/TimeInput.test.js +47 -0
  552. package/dist/TimeInput/index.d.ts +2 -0
  553. package/dist/TimeInput/index.js +1 -0
  554. package/dist/UnorderedList/UnorderedList.d.ts +27 -0
  555. package/dist/UnorderedList/UnorderedList.js +13 -0
  556. package/dist/UnorderedList/UnorderedList.test.d.ts +1 -0
  557. package/dist/UnorderedList/UnorderedList.test.js +51 -0
  558. package/dist/UnorderedList/UnorderedListItem.d.ts +9 -0
  559. package/dist/UnorderedList/UnorderedListItem.js +9 -0
  560. package/dist/UnorderedList/UnorderedListItem.test.d.ts +1 -0
  561. package/dist/UnorderedList/UnorderedListItem.test.js +28 -0
  562. package/dist/UnorderedList/index.d.ts +3 -0
  563. package/dist/UnorderedList/index.js +1 -0
  564. package/dist/common/accessibility.d.ts +13 -0
  565. package/dist/common/accessibility.js +13 -0
  566. package/dist/common/formatFileSize.d.ts +10 -0
  567. package/dist/common/formatFileSize.js +17 -0
  568. package/dist/common/formatFileSize.test.d.ts +1 -0
  569. package/dist/common/formatFileSize.test.js +18 -0
  570. package/dist/common/formatFileType.d.ts +10 -0
  571. package/dist/common/formatFileType.js +34 -0
  572. package/dist/common/formatFileType.test.d.ts +1 -0
  573. package/dist/common/formatFileType.test.js +23 -0
  574. package/dist/common/shortSize.d.ts +12 -0
  575. package/dist/common/shortSize.js +15 -0
  576. package/dist/common/types.d.ts +11 -0
  577. package/dist/common/types.js +9 -0
  578. package/dist/common/useIsAfterBreakpoint.d.ts +3 -0
  579. package/dist/common/useIsAfterBreakpoint.js +24 -0
  580. package/dist/common/useKeyboardFocus.d.ts +23 -0
  581. package/dist/common/useKeyboardFocus.js +56 -0
  582. package/dist/common/useKeyboardFocus.test.d.ts +1 -0
  583. package/dist/common/useKeyboardFocus.test.js +79 -0
  584. package/dist/index.cjs.js +1512 -1564
  585. package/dist/index.cjs.js.map +1 -1
  586. package/dist/index.d.ts +339 -345
  587. package/dist/index.esm.js +1509 -1560
  588. package/dist/index.esm.js.map +1 -1
  589. package/dist/index.js +64 -0
  590. package/dist/tsconfig.tsbuildinfo +1 -0
  591. package/package.json +23 -24
package/dist/index.d.ts CHANGED
@@ -1,19 +1,19 @@
1
1
  import * as react from 'react';
2
- import { PropsWithChildren, HTMLAttributes, BlockquoteHTMLAttributes, AnchorHTMLAttributes, ReactNode, ButtonHTMLAttributes, InputHTMLAttributes, DialogHTMLAttributes, MouseEvent, SVGProps, ForwardRefExoticComponent, RefAttributes, ImgHTMLAttributes, LabelHTMLAttributes, OlHTMLAttributes, LiHTMLAttributes, OptgroupHTMLAttributes, OptionHTMLAttributes, SelectHTMLAttributes, TableHTMLAttributes, TextareaHTMLAttributes } from 'react';
2
+ import { PropsWithChildren, HTMLAttributes, BlockquoteHTMLAttributes, AnchorHTMLAttributes, ReactNode, ButtonHTMLAttributes, InputHTMLAttributes, DialogHTMLAttributes, MouseEvent, ImgHTMLAttributes, LabelHTMLAttributes, ForwardRefExoticComponent, SVGProps, RefAttributes, OlHTMLAttributes, LiHTMLAttributes, ComponentType, OptionHTMLAttributes, OptgroupHTMLAttributes, SelectHTMLAttributes, TableHTMLAttributes, TextareaHTMLAttributes } from 'react';
3
3
 
4
4
  type HeadingProps = {
5
5
  /** Changes the text colour for readability on a dark background. */
6
- inverseColor?: boolean;
6
+ color?: 'inverse';
7
7
  /** The hierarchical level within the document. */
8
- level?: 1 | 2 | 3 | 4;
8
+ level: 1 | 2 | 3 | 4;
9
9
  /** Uses larger or smaller text without changing its position in the heading hierarchy. */
10
10
  size?: 'level-1' | 'level-2' | 'level-3' | 'level-4' | 'level-5' | 'level-6';
11
11
  } & PropsWithChildren<HTMLAttributes<HTMLHeadingElement>>;
12
12
  declare const Heading: react.ForwardRefExoticComponent<{
13
13
  /** Changes the text colour for readability on a dark background. */
14
- inverseColor?: boolean;
14
+ color?: "inverse";
15
15
  /** The hierarchical level within the document. */
16
- level?: 1 | 2 | 3 | 4;
16
+ level: 1 | 2 | 3 | 4;
17
17
  /** Uses larger or smaller text without changing its position in the heading hierarchy. */
18
18
  size?: "level-1" | "level-2" | "level-3" | "level-4" | "level-5" | "level-6";
19
19
  } & HTMLAttributes<HTMLHeadingElement> & {
@@ -21,13 +21,21 @@ declare const Heading: react.ForwardRefExoticComponent<{
21
21
  } & react.RefAttributes<HTMLHeadingElement>>;
22
22
 
23
23
  type AccordionProps = {
24
- /** The hierarchical level of the Accordion Section heading(s) within the document. */
24
+ /**
25
+ * The hierarchical level of this Accordion’s Section Headings within the document.
26
+ * There is no default value; determine the correct level for each instance.
27
+ * Note: this intentionally does not change the font size.
28
+ **/
25
29
  headingLevel: HeadingProps['level'];
26
30
  /** The HTML element to use for each Accordion Section. */
27
31
  sectionAs?: 'div' | 'section';
28
32
  } & PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
29
33
  declare const Accordion: react.ForwardRefExoticComponent<{
30
- /** The hierarchical level of the Accordion Section heading(s) within the document. */
34
+ /**
35
+ * The hierarchical level of this Accordion’s Section Headings within the document.
36
+ * There is no default value; determine the correct level for each instance.
37
+ * Note: this intentionally does not change the font size.
38
+ **/
31
39
  headingLevel: HeadingProps["level"];
32
40
  /** The HTML element to use for each Accordion Section. */
33
41
  sectionAs?: "div" | "section";
@@ -35,18 +43,18 @@ declare const Accordion: react.ForwardRefExoticComponent<{
35
43
  children?: react.ReactNode | undefined;
36
44
  } & react.RefAttributes<HTMLDivElement>> & {
37
45
  Section: react.ForwardRefExoticComponent<{
38
- label: string;
39
46
  expanded?: boolean;
47
+ label: string;
40
48
  } & HTMLAttributes<HTMLElement> & {
41
49
  children?: react.ReactNode | undefined;
42
50
  } & react.RefAttributes<HTMLDivElement>>;
43
51
  };
44
52
 
45
53
  type AccordionSectionProps = {
46
- /** The heading text. */
47
- label: string;
48
54
  /** Whether the content is displayed initially. */
49
55
  expanded?: boolean;
56
+ /** The heading text. */
57
+ label: string;
50
58
  } & PropsWithChildren<HTMLAttributes<HTMLElement>>;
51
59
 
52
60
  type ActionGroupProps = PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
@@ -54,22 +62,24 @@ declare const ActionGroup: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDi
54
62
  children?: react.ReactNode | undefined;
55
63
  } & react.RefAttributes<HTMLDivElement>>;
56
64
 
65
+ type Severity = 'error' | 'success' | 'warning';
57
66
  type AlertProps = {
58
67
  /** Whether the user can dismiss the Alert. Adds a button to its top right. */
59
68
  closeable?: boolean;
60
69
  /** The label for the button that dismisses the Alert. */
61
70
  closeButtonLabel?: string;
62
71
  /** The text for the Heading. */
63
- heading?: string;
72
+ heading: string;
64
73
  /**
65
- * The hierarchical level of the Heading within the document.
74
+ * The hierarchical level of the Alert’s Heading within the document.
75
+ * There is no default value; determine the correct level for each instance.
66
76
  * Note: this intentionally does not change the font size.
67
- */
68
- headingLevel?: HeadingProps['level'];
77
+ **/
78
+ headingLevel: HeadingProps['level'];
69
79
  /** A function to run when dismissing. */
70
80
  onClose?: () => void;
71
81
  /** The significance of the message conveyed. */
72
- severity?: 'error' | 'info' | 'success' | 'warning';
82
+ severity?: Severity;
73
83
  } & PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
74
84
  declare const Alert: react.ForwardRefExoticComponent<{
75
85
  /** Whether the user can dismiss the Alert. Adds a button to its top right. */
@@ -77,21 +87,22 @@ declare const Alert: react.ForwardRefExoticComponent<{
77
87
  /** The label for the button that dismisses the Alert. */
78
88
  closeButtonLabel?: string;
79
89
  /** The text for the Heading. */
80
- heading?: string;
90
+ heading: string;
81
91
  /**
82
- * The hierarchical level of the Heading within the document.
92
+ * The hierarchical level of the Alert’s Heading within the document.
93
+ * There is no default value; determine the correct level for each instance.
83
94
  * Note: this intentionally does not change the font size.
84
- */
85
- headingLevel?: HeadingProps["level"];
95
+ **/
96
+ headingLevel: HeadingProps["level"];
86
97
  /** A function to run when dismissing. */
87
98
  onClose?: () => void;
88
99
  /** The significance of the message conveyed. */
89
- severity?: "error" | "info" | "success" | "warning";
100
+ severity?: Severity;
90
101
  } & HTMLAttributes<HTMLDivElement> & {
91
102
  children?: react.ReactNode | undefined;
92
103
  } & react.RefAttributes<HTMLDivElement>>;
93
104
 
94
- declare const avatarColors: readonly ["black", "blue", "dark-green", "green", "grey-1", "grey-2", "grey-3", "light-blue", "magenta", "orange", "purple", "red", "white", "yellow"];
105
+ declare const avatarColors: readonly ["azure", "green", "lime", "magenta", "orange", "yellow"];
95
106
  type AvatarColor = (typeof avatarColors)[number];
96
107
  type AvatarProps = {
97
108
  /** The background colour. */
@@ -110,7 +121,7 @@ declare const Avatar: react.ForwardRefExoticComponent<{
110
121
  label: string;
111
122
  } & HTMLAttributes<HTMLSpanElement> & react.RefAttributes<HTMLSpanElement>>;
112
123
 
113
- declare const badgeColors: readonly ["black", "blue", "dark-green", "green", "grey-1", "grey-2", "grey-3", "light-blue", "magenta", "orange", "purple", "red", "white", "yellow"];
124
+ declare const badgeColors: readonly ["azure", "lime", "magenta", "orange", "purple", "red", "yellow"];
114
125
  type BadgeColor = (typeof badgeColors)[number];
115
126
  type BadgeProps = {
116
127
  /** The background colour. */
@@ -127,11 +138,11 @@ declare const Badge: react.ForwardRefExoticComponent<{
127
138
 
128
139
  type BlockquoteProps = {
129
140
  /** Changes the text colour for readability on a dark background. */
130
- inverseColor?: boolean;
141
+ color?: 'inverse';
131
142
  } & PropsWithChildren<BlockquoteHTMLAttributes<HTMLQuoteElement>>;
132
143
  declare const Blockquote: react.ForwardRefExoticComponent<{
133
144
  /** Changes the text colour for readability on a dark background. */
134
- inverseColor?: boolean;
145
+ color?: "inverse";
135
146
  } & BlockquoteHTMLAttributes<HTMLQuoteElement> & {
136
147
  children?: react.ReactNode | undefined;
137
148
  } & react.RefAttributes<HTMLQuoteElement>>;
@@ -169,32 +180,37 @@ type GridColumnNumbers = {
169
180
  medium: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
170
181
  wide: GridColumnNumber;
171
182
  };
172
- type GridPaddingSize = 'small' | 'medium' | 'large';
183
+ declare const gridGaps: readonly ["none", "large", "2x-large"];
184
+ type GridGap = (typeof gridGaps)[number];
185
+ declare const gridPaddings: readonly ["large", "x-large", "2x-large"];
186
+ type GridPadding = (typeof gridPaddings)[number];
173
187
  declare const gridTags: readonly ["article", "aside", "div", "footer", "header", "main", "nav", "section"];
174
188
  type GridTag = (typeof gridTags)[number];
175
189
  type GridPaddingVerticalProp = {
176
190
  paddingBottom?: never;
177
191
  paddingTop?: never;
178
192
  /** The amount of space above and below. */
179
- paddingVertical?: GridPaddingSize;
193
+ paddingVertical?: GridPadding;
180
194
  };
181
195
  type GridPaddingTopAndBottomProps = {
182
196
  /** The amount of space below. */
183
- paddingBottom?: GridPaddingSize;
197
+ paddingBottom?: GridPadding;
184
198
  /** The amount of space above. */
185
- paddingTop?: GridPaddingSize;
199
+ paddingTop?: GridPadding;
186
200
  paddingVertical?: never;
187
201
  };
188
202
  type GridProps = {
189
203
  /** The HTML tag to use. */
190
204
  as?: GridTag;
191
205
  /** The amount of space between rows. */
192
- gapVertical?: 'none' | 'small' | 'large';
206
+ gapVertical?: GridGap;
193
207
  } & (GridPaddingVerticalProp | GridPaddingTopAndBottomProps) & PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
194
208
  declare const Grid: react.ForwardRefExoticComponent<GridProps & react.RefAttributes<any>> & {
195
209
  Cell: react.ForwardRefExoticComponent<GridCellProps & react.RefAttributes<unknown>>;
196
210
  };
197
211
 
212
+ declare const breakoutCellTags: readonly ["article", "div", "section"];
213
+ type BreakoutCellTag = (typeof breakoutCellTags)[number];
198
214
  type BreakoutCellSpanAllProp = {
199
215
  /** Lets the cell span the full width of all grid variants. */
200
216
  colSpan: 'all';
@@ -219,7 +235,7 @@ type BreakoutCellRowSpanAndStartProps = {
219
235
  };
220
236
  type BreakoutCellProps = {
221
237
  /** The HTML element to use. */
222
- as?: 'article' | 'div' | 'section';
238
+ as?: BreakoutCellTag;
223
239
  } & (BreakoutCellSpanAllProp | BreakoutCellSpanAndStartProps) & BreakoutCellRowSpanAndStartProps & PropsWithChildren<HTMLAttributes<HTMLElement>>;
224
240
 
225
241
  type BreakoutRowNumber = 1 | 2 | 3 | 4;
@@ -233,11 +249,13 @@ declare const Breakout: react.ForwardRefExoticComponent<GridProps & react.RefAtt
233
249
  Cell: react.ForwardRefExoticComponent<BreakoutCellProps & react.RefAttributes<any>>;
234
250
  };
235
251
 
252
+ declare const iconSizes: readonly ["small", "large", "heading-3", "heading-4", "heading-5", "heading-6"];
253
+ type IconSize = (typeof iconSizes)[number];
236
254
  type IconProps = {
237
255
  /** Changes the icon colour for readability on a dark background. */
238
- inverseColor?: boolean;
239
- /** The size of the icon. Corresponds with the text levels. */
240
- size?: 'level-3' | 'level-4' | 'level-5' | 'level-6';
256
+ color?: 'inverse';
257
+ /** The size of the icon. Choose the size of the corresponding body text or heading. */
258
+ size?: IconSize;
241
259
  /** Whether the icon container should be made square. */
242
260
  square?: boolean;
243
261
  /** The component rendering the icon’s markup. */
@@ -245,9 +263,9 @@ type IconProps = {
245
263
  } & HTMLAttributes<HTMLSpanElement>;
246
264
  declare const Icon: react.ForwardRefExoticComponent<{
247
265
  /** Changes the icon colour for readability on a dark background. */
248
- inverseColor?: boolean;
249
- /** The size of the icon. Corresponds with the text levels. */
250
- size?: "level-3" | "level-4" | "level-5" | "level-6";
266
+ color?: "inverse";
267
+ /** The size of the icon. Choose the size of the corresponding body text or heading. */
268
+ size?: IconSize;
251
269
  /** Whether the icon container should be made square. */
252
270
  square?: boolean;
253
271
  /** The component rendering the icon’s markup. */
@@ -279,15 +297,37 @@ type ButtonProps = {
279
297
  } & (IconButtonProps$1 | TextButtonProps) & PropsWithChildren<ButtonHTMLAttributes<HTMLButtonElement>>;
280
298
  declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
281
299
 
300
+ declare const aspectRatioOptions: readonly ["9:16", "3:4", "1:1", "4:3", "16:9", "16:5"];
301
+ type AspectRatioProps = {
302
+ /** The aspect ratio to display media content in. */
303
+ aspectRatio?: (typeof aspectRatioOptions)[number];
304
+ };
305
+ declare const crossAlignOptions: readonly ["start", "center", "baseline", "end"];
306
+ type CrossAlign = (typeof crossAlignOptions)[number];
307
+ declare const crossAlignOptionsForColumn: ("center" | "start" | "end")[];
308
+ type CrossAlignForColumn = (typeof crossAlignOptionsForColumn)[number];
309
+ declare const mainAlignOptions: readonly ["center", "end", "between", "around", "evenly"];
310
+ type MainAlign = (typeof mainAlignOptions)[number];
311
+
282
312
  type CardProps = PropsWithChildren<HTMLAttributes<HTMLElement>>;
283
313
  declare const Card: react.ForwardRefExoticComponent<HTMLAttributes<HTMLElement> & {
284
314
  children?: react.ReactNode | undefined;
285
315
  } & react.RefAttributes<HTMLElement>> & {
316
+ Heading: react.ForwardRefExoticComponent<{
317
+ color?: "inverse";
318
+ level: 1 | 2 | 3 | 4;
319
+ size?: "level-1" | "level-2" | "level-3" | "level-4" | "level-5" | "level-6";
320
+ } & HTMLAttributes<HTMLHeadingElement> & {
321
+ children?: react.ReactNode | undefined;
322
+ } & react.RefAttributes<HTMLHeadingElement>>;
286
323
  HeadingGroup: react.ForwardRefExoticComponent<{
287
324
  tagline: string;
288
325
  } & HTMLAttributes<HTMLElement> & {
289
326
  children?: react.ReactNode | undefined;
290
327
  } & react.RefAttributes<HTMLElement>>;
328
+ Image: react.ForwardRefExoticComponent<{
329
+ alt: string;
330
+ } & AspectRatioProps & Omit<react.ImgHTMLAttributes<HTMLImageElement>, "children"> & react.RefAttributes<HTMLImageElement>>;
291
331
  Link: react.ForwardRefExoticComponent<react.AnchorHTMLAttributes<HTMLAnchorElement> & {
292
332
  children?: react.ReactNode | undefined;
293
333
  } & react.RefAttributes<HTMLAnchorElement>>;
@@ -314,35 +354,24 @@ declare const CharacterCount: react.ForwardRefExoticComponent<HTMLAttributes<HTM
314
354
  } & react.RefAttributes<HTMLDivElement>>;
315
355
 
316
356
  type CheckboxProps = {
317
- /** Whether the value fails a validation rule. */
318
- invalid?: boolean;
319
357
  /** Allows being neither checked nor unchecked. */
320
358
  indeterminate?: boolean;
321
- } & PropsWithChildren<Omit<InputHTMLAttributes<HTMLInputElement>, 'aria-invalid' | 'type'>>;
322
- declare const Checkbox: react.ForwardRefExoticComponent<{
323
359
  /** Whether the value fails a validation rule. */
324
360
  invalid?: boolean;
361
+ } & PropsWithChildren<Omit<InputHTMLAttributes<HTMLInputElement>, 'aria-invalid' | 'type'>>;
362
+ declare const Checkbox: react.ForwardRefExoticComponent<{
325
363
  /** Allows being neither checked nor unchecked. */
326
364
  indeterminate?: boolean;
365
+ /** Whether the value fails a validation rule. */
366
+ invalid?: boolean;
327
367
  } & Omit<InputHTMLAttributes<HTMLInputElement>, "aria-invalid" | "type"> & {
328
368
  children?: react.ReactNode | undefined;
329
369
  } & react.RefAttributes<HTMLInputElement>>;
330
370
 
331
- declare const aspectRatioOptions: readonly ["x-tall", "tall", "square", "wide", "x-wide", "2x-wide"];
332
- type AspectRatioProps = {
333
- /** The aspect ratio to display media content in. */
334
- aspectRatio?: (typeof aspectRatioOptions)[number];
335
- };
336
- declare const crossAlignOptions: readonly ["start", "center", "baseline", "end"];
337
- type CrossAlign = (typeof crossAlignOptions)[number];
338
- declare const crossAlignOptionsForColumn: ("start" | "center" | "end")[];
339
- type CrossAlignForColumn = (typeof crossAlignOptionsForColumn)[number];
340
- declare const mainAlignOptions: readonly ["center", "end", "between", "around", "evenly"];
341
- type MainAlign = (typeof mainAlignOptions)[number];
342
-
343
- declare const columnGapSizes: readonly ["none", "extra-small", "small", "large", "extra-large"];
371
+ declare const columnTags: readonly ["article", "div", "section"];
372
+ type ColumnTag = (typeof columnTags)[number];
373
+ declare const columnGapSizes: readonly ["none", "x-small", "small", "large", "x-large"];
344
374
  type ColumnGap = (typeof columnGapSizes)[number];
345
- type ColumnTag = 'article' | 'div' | 'section';
346
375
  type ColumnProps = {
347
376
  /**
348
377
  * The vertical alignment of the items in the column.
@@ -405,16 +434,16 @@ declare const DateInput: react.ForwardRefExoticComponent<{
405
434
  type?: DateInputType;
406
435
  } & Omit<InputHTMLAttributes<HTMLInputElement>, "aria-invalid" | "type"> & react.RefAttributes<HTMLInputElement>>;
407
436
 
408
- declare const descriptionListTermsWidths: readonly ["sm", "md", "lg"];
437
+ declare const descriptionListTermsWidths: readonly ["narrow", "medium", "wide"];
409
438
  type DescriptionListTermsWidth = (typeof descriptionListTermsWidths)[number];
410
439
  type DescriptionListProps = {
411
440
  /** Changes the text colour for readability on a dark background. */
412
- inverseColor?: boolean;
441
+ color?: 'inverse';
413
442
  termsWidth?: DescriptionListTermsWidth;
414
443
  } & PropsWithChildren<HTMLAttributes<HTMLDListElement>>;
415
444
  declare const DescriptionList: react.ForwardRefExoticComponent<{
416
445
  /** Changes the text colour for readability on a dark background. */
417
- inverseColor?: boolean;
446
+ color?: "inverse";
418
447
  termsWidth?: DescriptionListTermsWidth;
419
448
  } & HTMLAttributes<HTMLDListElement> & {
420
449
  children?: react.ReactNode | undefined;
@@ -516,7 +545,7 @@ declare const Figure: react.ForwardRefExoticComponent<HTMLAttributes<HTMLElement
516
545
  children?: react.ReactNode | undefined;
517
546
  } & react.RefAttributes<HTMLElement>> & {
518
547
  Caption: react.ForwardRefExoticComponent<{
519
- inverseColor?: boolean;
548
+ color?: "inverse";
520
549
  } & HTMLAttributes<HTMLElement> & {
521
550
  children?: react.ReactNode | undefined;
522
551
  } & react.RefAttributes<HTMLElement>>;
@@ -535,27 +564,80 @@ declare const FileList: react.ForwardRefExoticComponent<HTMLAttributes<HTMLUList
535
564
  } & HTMLAttributes<HTMLLIElement> & react.RefAttributes<HTMLLIElement>>;
536
565
  };
537
566
 
538
- type FooterProps = PropsWithChildren<HTMLAttributes<HTMLElement>>;
539
- declare const Footer: react.ForwardRefExoticComponent<HTMLAttributes<HTMLElement> & {
540
- children?: react.ReactNode | undefined;
541
- } & react.RefAttributes<HTMLElement>> & {
542
- Bottom: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
543
- children?: react.ReactNode | undefined;
544
- } & react.RefAttributes<HTMLDivElement>>;
545
- Top: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
567
+ type IconButtonProps = {
568
+ /** Changes the text colour for readability on a light or dark background. */
569
+ color?: 'contrast' | 'inverse';
570
+ /** The accessible text for the button. Will be announced by screen readers. Should describe the button’s action. */
571
+ label: string;
572
+ /** The size of the icon. */
573
+ size?: IconProps['size'];
574
+ /** The component rendering the icon’s markup. */
575
+ svg?: IconProps['svg'];
576
+ } & ButtonHTMLAttributes<HTMLButtonElement>;
577
+ declare const IconButton: react.ForwardRefExoticComponent<{
578
+ /** Changes the text colour for readability on a light or dark background. */
579
+ color?: "contrast" | "inverse";
580
+ /** The accessible text for the button. Will be announced by screen readers. Should describe the button’s action. */
581
+ label: string;
582
+ /** The size of the icon. */
583
+ size?: IconProps["size"];
584
+ /** The component rendering the icon’s markup. */
585
+ svg?: IconProps["svg"];
586
+ } & ButtonHTMLAttributes<HTMLButtonElement> & react.RefAttributes<HTMLButtonElement>>;
587
+
588
+ type ImageProps = {
589
+ /** A textual description of the content of the image. */
590
+ alt: string;
591
+ } & AspectRatioProps & Omit<ImgHTMLAttributes<HTMLImageElement>, 'children'>;
592
+ declare const Image: react.ForwardRefExoticComponent<{
593
+ /** A textual description of the content of the image. */
594
+ alt: string;
595
+ } & AspectRatioProps & Omit<ImgHTMLAttributes<HTMLImageElement>, "children"> & react.RefAttributes<HTMLImageElement>>;
596
+
597
+ declare const generateAspectRatioClass: (aspectRatio?: string) => string | undefined;
598
+
599
+ type ImageSliderImageProps = ImageProps;
600
+ type ImageSliderProps = {
601
+ /** Display buttons to navigate to the previous or next image. */
602
+ controls?: boolean;
603
+ /** Label for the image if you need to translate the alt text. */
604
+ imageLabel?: string;
605
+ /** The set of images to display. */
606
+ images: ImageSliderImageProps[];
607
+ /** The label for the ‘next’ button */
608
+ nextLabel?: string;
609
+ /** The label for the ‘previous’ button */
610
+ previousLabel?: string;
611
+ } & HTMLAttributes<HTMLDivElement>;
612
+ declare const ImageSlider: react.ForwardRefExoticComponent<{
613
+ /** Display buttons to navigate to the previous or next image. */
614
+ controls?: boolean;
615
+ /** Label for the image if you need to translate the alt text. */
616
+ imageLabel?: string;
617
+ /** The set of images to display. */
618
+ images: ImageSliderImageProps[];
619
+ /** The label for the ‘next’ button */
620
+ nextLabel?: string;
621
+ /** The label for the ‘previous’ button */
622
+ previousLabel?: string;
623
+ } & HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>> & {
624
+ Item: react.ForwardRefExoticComponent<{
625
+ slideId: number;
626
+ } & HTMLAttributes<HTMLDivElement> & {
546
627
  children?: react.ReactNode | undefined;
547
628
  } & react.RefAttributes<HTMLDivElement>>;
548
629
  };
549
630
 
550
- type FooterBottomProps = PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
551
-
552
- type FooterTopProps = PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
631
+ type ImageSliderItemProps = {
632
+ /** The identifier of the item. Must match the key or order of the slides (starting at 0). */
633
+ slideId: number;
634
+ } & PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
553
635
 
554
- type FormError = {
636
+ type ErrorLink = {
555
637
  id: string;
556
638
  label: string;
557
639
  };
558
- type FormErrorListProps = {
640
+ type InvalidFormAlertProps = {
559
641
  /**
560
642
  * The text following the error count.
561
643
  * This is used to show the error count in the document title.
@@ -566,7 +648,7 @@ type FormErrorListProps = {
566
648
  singular: string;
567
649
  };
568
650
  /** The list of error messages to display. */
569
- errors: FormError[];
651
+ errors: ErrorLink[];
570
652
  /**
571
653
  * Whether the component receives focus on first render
572
654
  * @default true
@@ -578,13 +660,13 @@ type FormErrorListProps = {
578
660
  */
579
661
  heading?: string;
580
662
  /**
581
- * The hierarchical level of the Heading within the document.
663
+ * The hierarchical level of the Invalid Form Alert’s Heading within the document.
664
+ * There is no default value; determine the correct level for each instance.
582
665
  * Note: this intentionally does not change the font size.
583
- * @default 2
584
- */
585
- headingLevel?: HeadingProps['level'];
666
+ **/
667
+ headingLevel: HeadingProps['level'];
586
668
  } & HTMLAttributes<HTMLDivElement>;
587
- declare const FormErrorList: react.ForwardRefExoticComponent<{
669
+ declare const InvalidFormAlert: react.ForwardRefExoticComponent<{
588
670
  /**
589
671
  * The text following the error count.
590
672
  * This is used to show the error count in the document title.
@@ -595,7 +677,7 @@ declare const FormErrorList: react.ForwardRefExoticComponent<{
595
677
  singular: string;
596
678
  };
597
679
  /** The list of error messages to display. */
598
- errors: FormError[];
680
+ errors: ErrorLink[];
599
681
  /**
600
682
  * Whether the component receives focus on first render
601
683
  * @default true
@@ -607,148 +689,13 @@ declare const FormErrorList: react.ForwardRefExoticComponent<{
607
689
  */
608
690
  heading?: string;
609
691
  /**
610
- * The hierarchical level of the Heading within the document.
692
+ * The hierarchical level of the Invalid Form Alert’s Heading within the document.
693
+ * There is no default value; determine the correct level for each instance.
611
694
  * Note: this intentionally does not change the font size.
612
- * @default 2
613
- */
614
- headingLevel?: HeadingProps["level"];
695
+ **/
696
+ headingLevel: HeadingProps["level"];
615
697
  } & HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
616
698
 
617
- /**
618
- * @license EUPL-1.2+
619
- * Copyright Gemeente Amsterdam
620
- */
621
-
622
- type LogoBrand = 'amsterdam' | 'ggd-amsterdam' | 'museum-weesp' | 'stadsarchief' | 'stadsbank-van-lening' | 'vga-verzekeringen';
623
- type LogoProps = {
624
- /** The name of the brand for which to display the logo. */
625
- brand?: LogoBrand;
626
- } & SVGProps<SVGSVGElement>;
627
- declare const Logo: ForwardRefExoticComponent<Omit<LogoProps, "ref"> & RefAttributes<SVGSVGElement>>;
628
-
629
- type HeaderProps = {
630
- /** The name of the application. */
631
- brandName?: string;
632
- /** The name of the brand for which to display the logo. */
633
- logoBrand?: LogoBrand;
634
- /** The url for the link on the logo. */
635
- logoLink?: string;
636
- /** The accessible text for the link on the logo. */
637
- logoLinkTitle?: string;
638
- /** A slot for the menu items. Use Header.MenuLink here. */
639
- menuItems?: ReactNode;
640
- /** The text for the menu button. */
641
- menuButtonText?: string;
642
- /** The accessible label for the navigation section. */
643
- navigationLabel?: string;
644
- /** Whether the menu button is visible on wide screens. */
645
- noMenuButtonOnWideWindow?: boolean;
646
- } & HTMLAttributes<HTMLElement>;
647
- declare const Header: react.ForwardRefExoticComponent<{
648
- /** The name of the application. */
649
- brandName?: string;
650
- /** The name of the brand for which to display the logo. */
651
- logoBrand?: LogoBrand;
652
- /** The url for the link on the logo. */
653
- logoLink?: string;
654
- /** The accessible text for the link on the logo. */
655
- logoLinkTitle?: string;
656
- /** A slot for the menu items. Use Header.MenuLink here. */
657
- menuItems?: ReactNode;
658
- /** The text for the menu button. */
659
- menuButtonText?: string;
660
- /** The accessible label for the navigation section. */
661
- navigationLabel?: string;
662
- /** Whether the menu button is visible on wide screens. */
663
- noMenuButtonOnWideWindow?: boolean;
664
- } & HTMLAttributes<HTMLElement> & react.RefAttributes<HTMLElement>> & {
665
- GridCellNarrowWindowOnly: react.ForwardRefExoticComponent<GridCellProps & react.RefAttributes<HTMLElement>>;
666
- MenuLink: react.ForwardRefExoticComponent<{
667
- fixed?: boolean;
668
- } & react.AnchorHTMLAttributes<HTMLAnchorElement> & {
669
- children?: ReactNode | undefined;
670
- } & react.RefAttributes<HTMLAnchorElement>>;
671
- };
672
-
673
- type HeaderMenuLinkProps = {
674
- fixed?: boolean;
675
- } & PropsWithChildren<AnchorHTMLAttributes<HTMLAnchorElement>>;
676
-
677
- type IconButtonProps = {
678
- /** The accessible text for the button. Will be announced by screen readers. Should describe the button’s action. */
679
- label: string;
680
- /** Changes the text colour for readability on a light (but not white) background. */
681
- contrastColor?: boolean;
682
- /** Changes the text colour for readability on a dark background. */
683
- inverseColor?: boolean;
684
- /** The size of the icon. Corresponds with the text levels. */
685
- size?: 'level-3' | 'level-4' | 'level-5' | 'level-6';
686
- /** The component rendering the icon’s markup. */
687
- svg?: Function;
688
- } & ButtonHTMLAttributes<HTMLButtonElement>;
689
- declare const IconButton: react.ForwardRefExoticComponent<{
690
- /** The accessible text for the button. Will be announced by screen readers. Should describe the button’s action. */
691
- label: string;
692
- /** Changes the text colour for readability on a light (but not white) background. */
693
- contrastColor?: boolean;
694
- /** Changes the text colour for readability on a dark background. */
695
- inverseColor?: boolean;
696
- /** The size of the icon. Corresponds with the text levels. */
697
- size?: "level-3" | "level-4" | "level-5" | "level-6";
698
- /** The component rendering the icon’s markup. */
699
- svg?: Function;
700
- } & ButtonHTMLAttributes<HTMLButtonElement> & react.RefAttributes<HTMLButtonElement>>;
701
-
702
- type ImageProps = {
703
- /**
704
- * A textual description of the content of the image.
705
- */
706
- alt: string;
707
- } & AspectRatioProps & ImgHTMLAttributes<HTMLImageElement>;
708
- declare const Image: react.ForwardRefExoticComponent<{
709
- /**
710
- * A textual description of the content of the image.
711
- */
712
- alt: string;
713
- } & AspectRatioProps & ImgHTMLAttributes<HTMLImageElement> & react.RefAttributes<HTMLImageElement>>;
714
-
715
- type ImageSliderImageProps = ImageProps;
716
- type ImageSliderProps = {
717
- /** Display buttons to navigate to the previous or next image. */
718
- controls?: boolean;
719
- /** Label for the image if you need to translate the alt text. */
720
- imageLabel?: string;
721
- /** The set of images to display. */
722
- images: ImageSliderImageProps[];
723
- /** The label for the ‘next’ button */
724
- nextLabel?: string;
725
- /** The label for the ‘previous’ button */
726
- previousLabel?: string;
727
- } & HTMLAttributes<HTMLDivElement>;
728
- declare const ImageSlider: react.ForwardRefExoticComponent<{
729
- /** Display buttons to navigate to the previous or next image. */
730
- controls?: boolean;
731
- /** Label for the image if you need to translate the alt text. */
732
- imageLabel?: string;
733
- /** The set of images to display. */
734
- images: ImageSliderImageProps[];
735
- /** The label for the ‘next’ button */
736
- nextLabel?: string;
737
- /** The label for the ‘previous’ button */
738
- previousLabel?: string;
739
- } & HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>> & {
740
- Item: react.ForwardRefExoticComponent<{
741
- slideId: number;
742
- } & HTMLAttributes<HTMLDivElement> & {
743
- children?: react.ReactNode | undefined;
744
- } & react.RefAttributes<HTMLDivElement>>;
745
- };
746
-
747
- type ImageSliderItemProps = {
748
- /** The identifier of the item. Must match the key or order of the slides (starting at 0). */
749
- slideId: number;
750
- } & PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
751
-
752
699
  declare const Label: react.ForwardRefExoticComponent<LabelHTMLAttributes<HTMLLabelElement> & {
753
700
  children?: react.ReactNode | undefined;
754
701
  } & react.HTMLAttributes<HTMLElement> & {
@@ -756,22 +703,13 @@ declare const Label: react.ForwardRefExoticComponent<LabelHTMLAttributes<HTMLLab
756
703
  optional?: boolean;
757
704
  } & react.RefAttributes<HTMLLabelElement>>;
758
705
 
759
- type LinkVariant = 'standalone' | 'inline';
760
706
  type LinkProps = {
761
- /** Changes the text colour for readability on a light background. */
762
- contrastColor?: boolean;
763
- /** Changes the text colour for readability on a dark background. */
764
- inverseColor?: boolean;
765
- /** Whether the link is inline or stands alone. */
766
- variant?: LinkVariant;
707
+ /** Changes the text colour for readability on a light or dark background. */
708
+ color?: 'contrast' | 'inverse';
767
709
  } & Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'placeholder'>;
768
710
  declare const Link: react.ForwardRefExoticComponent<{
769
- /** Changes the text colour for readability on a light background. */
770
- contrastColor?: boolean;
771
- /** Changes the text colour for readability on a dark background. */
772
- inverseColor?: boolean;
773
- /** Whether the link is inline or stands alone. */
774
- variant?: LinkVariant;
711
+ /** Changes the text colour for readability on a light or dark background. */
712
+ color?: "contrast" | "inverse";
775
713
  } & Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "placeholder"> & react.RefAttributes<HTMLAnchorElement>>;
776
714
 
777
715
  type LinkListProps = PropsWithChildren<HTMLAttributes<HTMLUListElement>>;
@@ -779,9 +717,8 @@ declare const LinkList: react.ForwardRefExoticComponent<HTMLAttributes<HTMLUList
779
717
  children?: react.ReactNode | undefined;
780
718
  } & react.RefAttributes<HTMLUListElement>> & {
781
719
  Link: react.ForwardRefExoticComponent<{
720
+ color?: "contrast" | "inverse";
782
721
  icon?: Function;
783
- contrastColor?: boolean;
784
- inverseColor?: boolean;
785
722
  size?: "small" | "large";
786
723
  } & react.AnchorHTMLAttributes<HTMLAnchorElement> & {
787
724
  children?: react.ReactNode | undefined;
@@ -789,35 +726,34 @@ declare const LinkList: react.ForwardRefExoticComponent<HTMLAttributes<HTMLUList
789
726
  };
790
727
 
791
728
  type LinkListLinkProps = {
729
+ /** Changes the text colour for readability on a light or dark background. */
730
+ color?: 'contrast' | 'inverse';
792
731
  /** An icon to display instead of the default chevron. Don’t mix custom icons with chevrons in one list. */
793
732
  icon?: Function;
794
- /** Changes the text colour for readability on a light background. */
795
- contrastColor?: boolean;
796
- /** Changes the text colour for readability on a dark background. */
797
- inverseColor?: boolean;
798
733
  /** The size of the text. Use the same size for all items in the list. */
799
734
  size?: 'small' | 'large';
800
735
  } & PropsWithChildren<AnchorHTMLAttributes<HTMLAnchorElement>>;
801
736
 
737
+ /**
738
+ * @license EUPL-1.2+
739
+ * Copyright Gemeente Amsterdam
740
+ */
741
+
742
+ type LogoBrand = 'amsterdam' | 'ggd-amsterdam' | 'museum-weesp' | 'stadsarchief' | 'stadsbank-van-lening' | 'vga-verzekeringen';
743
+ type LogoProps = {
744
+ /** The name of the brand for which to display the logo. */
745
+ brand?: LogoBrand;
746
+ } & SVGProps<SVGSVGElement>;
747
+ declare const Logo: ForwardRefExoticComponent<Omit<LogoProps, "ref"> & RefAttributes<SVGSVGElement>>;
748
+
802
749
  type MarkProps = PropsWithChildren<HTMLAttributes<HTMLElement>>;
803
750
  declare const Mark: react.ForwardRefExoticComponent<HTMLAttributes<HTMLElement> & {
804
751
  children?: react.ReactNode | undefined;
805
752
  } & react.RefAttributes<HTMLElement>>;
806
753
 
807
- type MegaMenuProps = PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
808
- declare const MegaMenu: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
809
- children?: react.ReactNode | undefined;
810
- } & react.RefAttributes<HTMLDivElement>> & {
811
- ListCategory: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
812
- children?: react.ReactNode | undefined;
813
- } & react.RefAttributes<HTMLDivElement>>;
814
- };
815
-
816
- type MegaMenuListCategoryProps = PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
817
-
818
754
  type OrderedListProps = {
819
755
  /** Changes the text colour for readability on a dark background. */
820
- inverseColor?: boolean;
756
+ color?: 'inverse';
821
757
  /** Whether the list items show a marker. */
822
758
  markers?: boolean;
823
759
  /** The size of the text. */
@@ -825,7 +761,7 @@ type OrderedListProps = {
825
761
  } & PropsWithChildren<OlHTMLAttributes<HTMLOListElement>>;
826
762
  declare const OrderedList: react.ForwardRefExoticComponent<{
827
763
  /** Changes the text colour for readability on a dark background. */
828
- inverseColor?: boolean;
764
+ color?: "inverse";
829
765
  /** Whether the list items show a marker. */
830
766
  markers?: boolean;
831
767
  /** The size of the text. */
@@ -845,92 +781,155 @@ declare const Overlap: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivEle
845
781
  children?: react.ReactNode | undefined;
846
782
  } & react.RefAttributes<HTMLDivElement>>;
847
783
 
848
- type PageHeadingProps = {
849
- /** Changes the text colour for readability on a dark background. */
850
- inverseColor?: boolean;
851
- } & PropsWithChildren<HTMLAttributes<HTMLHeadingElement>>;
852
- declare const PageHeading: react.ForwardRefExoticComponent<{
853
- /** Changes the text colour for readability on a dark background. */
854
- inverseColor?: boolean;
855
- } & HTMLAttributes<HTMLHeadingElement> & {
784
+ type PageProps = PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
785
+ declare const Page: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
856
786
  children?: react.ReactNode | undefined;
857
- } & react.RefAttributes<HTMLHeadingElement>>;
787
+ } & react.RefAttributes<HTMLDivElement>>;
858
788
 
859
- type PageMenuProps = {
860
- /** Whether the items align to the end margin. Set to `true` if the Page Menu itself does so. */
861
- alignEnd?: boolean;
862
- /** Whether menu items should wrap if they don’t fit on a single row. */
863
- wrap?: boolean;
864
- } & PropsWithChildren<HTMLAttributes<HTMLUListElement>>;
865
- declare const PageMenu: react.ForwardRefExoticComponent<{
866
- /** Whether the items align to the end margin. Set to `true` if the Page Menu itself does so. */
867
- alignEnd?: boolean;
868
- /** Whether menu items should wrap if they don’t fit on a single row. */
869
- wrap?: boolean;
870
- } & HTMLAttributes<HTMLUListElement> & {
789
+ type PageFooterProps = PropsWithChildren<HTMLAttributes<HTMLElement>>;
790
+ declare const PageFooter: react.ForwardRefExoticComponent<HTMLAttributes<HTMLElement> & {
871
791
  children?: react.ReactNode | undefined;
872
- } & react.RefAttributes<HTMLUListElement>> & {
873
- Link: react.ForwardRefExoticComponent<{
874
- icon?: Function;
875
- } & react.AnchorHTMLAttributes<HTMLAnchorElement> & {
792
+ } & react.RefAttributes<HTMLElement>> & {
793
+ Menu: react.ForwardRefExoticComponent<HTMLAttributes<HTMLUListElement> & {
794
+ children?: react.ReactNode | undefined;
795
+ } & react.RefAttributes<HTMLUListElement>>;
796
+ MenuLink: react.ForwardRefExoticComponent<react.AnchorHTMLAttributes<HTMLAnchorElement> & {
797
+ children?: react.ReactNode | undefined;
798
+ } & react.RefAttributes<HTMLAnchorElement>>;
799
+ Spotlight: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
876
800
  children?: react.ReactNode | undefined;
801
+ } & react.RefAttributes<HTMLDivElement>>;
802
+ };
803
+
804
+ type PageFooterMenuProps = PropsWithChildren<HTMLAttributes<HTMLUListElement>>;
805
+
806
+ type PageFooterMenuLinkProps = PropsWithChildren<AnchorHTMLAttributes<HTMLAnchorElement>>;
807
+
808
+ type PageFooterSpotlightProps = PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
809
+
810
+ type PageHeaderProps = {
811
+ /** The name of the application. */
812
+ brandName?: string;
813
+ /** The name of the brand for which to display the logo. */
814
+ logoBrand?: LogoBrand;
815
+ /** The url for the link on the logo. */
816
+ logoLink?: string;
817
+ /** The accessible text for the link on the logo. */
818
+ logoLinkTitle?: string;
819
+ /** The text for the menu button. */
820
+ menuButtonText?: string;
821
+ /** A slot for the menu items. Use PageHeader.MenuLink here. */
822
+ menuItems?: ReactNode;
823
+ /** The accessible label for the navigation section. */
824
+ navigationLabel?: string;
825
+ /** Whether the menu button is visible on wide screens. */
826
+ noMenuButtonOnWideWindow?: boolean;
827
+ } & HTMLAttributes<HTMLElement>;
828
+ declare const PageHeader: react.ForwardRefExoticComponent<{
829
+ /** The name of the application. */
830
+ brandName?: string;
831
+ /** The name of the brand for which to display the logo. */
832
+ logoBrand?: LogoBrand;
833
+ /** The url for the link on the logo. */
834
+ logoLink?: string;
835
+ /** The accessible text for the link on the logo. */
836
+ logoLinkTitle?: string;
837
+ /** The text for the menu button. */
838
+ menuButtonText?: string;
839
+ /** A slot for the menu items. Use PageHeader.MenuLink here. */
840
+ menuItems?: ReactNode;
841
+ /** The accessible label for the navigation section. */
842
+ navigationLabel?: string;
843
+ /** Whether the menu button is visible on wide screens. */
844
+ noMenuButtonOnWideWindow?: boolean;
845
+ } & HTMLAttributes<HTMLElement> & react.RefAttributes<HTMLElement>> & {
846
+ GridCellNarrowWindowOnly: react.ForwardRefExoticComponent<GridCellProps & react.RefAttributes<HTMLElement>>;
847
+ MenuLink: react.ForwardRefExoticComponent<{
848
+ fixed?: boolean;
849
+ } & react.AnchorHTMLAttributes<HTMLAnchorElement> & {
850
+ children?: ReactNode | undefined;
877
851
  } & react.RefAttributes<HTMLAnchorElement>>;
878
852
  };
879
853
 
880
- type PageMenuLinkProps = {
881
- icon?: Function;
854
+ type PageHeaderMenuLinkProps = {
855
+ fixed?: boolean;
882
856
  } & PropsWithChildren<AnchorHTMLAttributes<HTMLAnchorElement>>;
883
857
 
858
+ type PageHeadingProps = {
859
+ /** Changes the text colour for readability on a dark background. */
860
+ color?: 'inverse';
861
+ } & PropsWithChildren<HTMLAttributes<HTMLHeadingElement>>;
862
+ declare const PageHeading: react.ForwardRefExoticComponent<{
863
+ /** Changes the text colour for readability on a dark background. */
864
+ color?: "inverse";
865
+ } & HTMLAttributes<HTMLHeadingElement> & {
866
+ children?: react.ReactNode | undefined;
867
+ } & react.RefAttributes<HTMLHeadingElement>>;
868
+
884
869
  type PaginationProps = {
870
+ /** The React component to use for the links. */
871
+ linkComponent?: ComponentType<AnchorHTMLAttributes<HTMLAnchorElement>>;
872
+ /** The template used to construct the link hrefs. */
873
+ linkTemplate: (page: number) => string;
885
874
  /** The maximum amount of pages shown. Minimum value: 5. */
886
875
  maxVisiblePages?: number;
887
- /** The visible label for the next page-button. */
876
+ /** The visible label for the link to the next page. */
888
877
  nextLabel?: string;
889
- /** The accessible name for the next page-button. */
878
+ /** The accessible name for the link to the next page. */
890
879
  nextVisuallyHiddenLabel?: string;
891
- /** A function to run when the page number changes. */
892
- onPageChange?: (page: number) => void;
893
880
  /** The current page number. */
894
881
  page?: number;
895
- /** The visible label for the previous page-button. */
882
+ /** The visible label for the link to the previous page. */
896
883
  previousLabel?: string;
897
- /** The accessible name for the previous page-button. */
884
+ /** The accessible name for the link to the previous page. */
898
885
  previousVisuallyHiddenLabel?: string;
899
886
  /** The total amount of pages. */
900
887
  totalPages: number;
901
888
  /** The accessible name for the Pagination component. */
902
889
  visuallyHiddenLabel?: string;
890
+ /**
891
+ * Connects the component with an internal element that defines its accessible name.
892
+ * Note: must be unique for the page.
893
+ */
894
+ visuallyHiddenLabelId?: string;
903
895
  } & HTMLAttributes<HTMLElement>;
904
896
  declare const Pagination: react.ForwardRefExoticComponent<{
897
+ /** The React component to use for the links. */
898
+ linkComponent?: ComponentType<AnchorHTMLAttributes<HTMLAnchorElement>>;
899
+ /** The template used to construct the link hrefs. */
900
+ linkTemplate: (page: number) => string;
905
901
  /** The maximum amount of pages shown. Minimum value: 5. */
906
902
  maxVisiblePages?: number;
907
- /** The visible label for the next page-button. */
903
+ /** The visible label for the link to the next page. */
908
904
  nextLabel?: string;
909
- /** The accessible name for the next page-button. */
905
+ /** The accessible name for the link to the next page. */
910
906
  nextVisuallyHiddenLabel?: string;
911
- /** A function to run when the page number changes. */
912
- onPageChange?: (page: number) => void;
913
907
  /** The current page number. */
914
908
  page?: number;
915
- /** The visible label for the previous page-button. */
909
+ /** The visible label for the link to the previous page. */
916
910
  previousLabel?: string;
917
- /** The accessible name for the previous page-button. */
911
+ /** The accessible name for the link to the previous page. */
918
912
  previousVisuallyHiddenLabel?: string;
919
913
  /** The total amount of pages. */
920
914
  totalPages: number;
921
915
  /** The accessible name for the Pagination component. */
922
916
  visuallyHiddenLabel?: string;
917
+ /**
918
+ * Connects the component with an internal element that defines its accessible name.
919
+ * Note: must be unique for the page.
920
+ */
921
+ visuallyHiddenLabelId?: string;
923
922
  } & HTMLAttributes<HTMLElement> & react.RefAttributes<HTMLElement>>;
924
923
 
925
924
  type ParagraphProps = {
926
925
  /** Changes the text colour for readability on a dark background. */
927
- inverseColor?: boolean;
926
+ color?: 'inverse';
928
927
  /** The size of the text. */
929
928
  size?: 'small' | 'large';
930
929
  } & PropsWithChildren<HTMLAttributes<HTMLParagraphElement>>;
931
930
  declare const Paragraph: react.ForwardRefExoticComponent<{
932
931
  /** Changes the text colour for readability on a dark background. */
933
- inverseColor?: boolean;
932
+ color?: "inverse";
934
933
  /** The size of the text. */
935
934
  size?: "small" | "large";
936
935
  } & HTMLAttributes<HTMLParagraphElement> & {
@@ -944,7 +943,7 @@ type PasswordInputProps = {
944
943
  declare const PasswordInput: react.ForwardRefExoticComponent<{
945
944
  /** Whether the value fails a validation rule. */
946
945
  invalid?: boolean;
947
- } & Omit<InputHTMLAttributes<HTMLInputElement>, "aria-invalid" | "autoCapitalize" | "autoCorrect" | "spellCheck" | "type"> & react.RefAttributes<HTMLInputElement>>;
946
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "autoCapitalize" | "spellCheck" | "autoCorrect" | "aria-invalid" | "type"> & react.RefAttributes<HTMLInputElement>>;
948
947
 
949
948
  type RadioProps = {
950
949
  /** An icon to display instead of the default icon. */
@@ -961,9 +960,10 @@ declare const Radio: react.ForwardRefExoticComponent<{
961
960
  children?: ReactNode | undefined;
962
961
  } & react.RefAttributes<HTMLInputElement>>;
963
962
 
964
- declare const rowGapSizes: readonly ["none", "extra-small", "small", "large", "extra-large"];
963
+ declare const rowTags: readonly ["article", "div", "section"];
964
+ type RowTag = (typeof rowTags)[number];
965
+ declare const rowGapSizes: readonly ["none", "x-small", "small", "large", "x-large"];
965
966
  type RowGap = (typeof rowGapSizes)[number];
966
- type RowTag = 'article' | 'div' | 'section';
967
967
  type RowProps = {
968
968
  /**
969
969
  * The horizontal alignment of the items in the row.
@@ -1021,22 +1021,6 @@ declare const Row: react.ForwardRefExoticComponent<{
1021
1021
  children?: react.ReactNode | undefined;
1022
1022
  } & react.RefAttributes<unknown>>;
1023
1023
 
1024
- type ScreenMaxWidth = 'wide' | 'x-wide';
1025
- type ScreenProps = {
1026
- /** Whether the screen should stretch to the full height of the viewport. */
1027
- fullHeight?: boolean;
1028
- /** The maximum width of the screen. */
1029
- maxWidth?: ScreenMaxWidth;
1030
- } & PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
1031
- declare const Screen: react.ForwardRefExoticComponent<{
1032
- /** Whether the screen should stretch to the full height of the viewport. */
1033
- fullHeight?: boolean;
1034
- /** The maximum width of the screen. */
1035
- maxWidth?: ScreenMaxWidth;
1036
- } & HTMLAttributes<HTMLDivElement> & {
1037
- children?: react.ReactNode | undefined;
1038
- } & react.RefAttributes<HTMLDivElement>>;
1039
-
1040
1024
  type SearchFieldProps = PropsWithChildren<HTMLAttributes<HTMLFormElement>>;
1041
1025
  declare const SearchField: react.ForwardRefExoticComponent<HTMLAttributes<HTMLFormElement> & {
1042
1026
  children?: react.ReactNode | undefined;
@@ -1044,6 +1028,7 @@ declare const SearchField: react.ForwardRefExoticComponent<HTMLAttributes<HTMLFo
1044
1028
  Button: react.ForwardRefExoticComponent<{
1045
1029
  children?: react.ReactNode;
1046
1030
  className?: string | undefined | undefined;
1031
+ color?: string | undefined | undefined;
1047
1032
  defaultChecked?: boolean | undefined | undefined;
1048
1033
  defaultValue?: string | number | readonly string[] | undefined;
1049
1034
  suppressContentEditableWarning?: boolean | undefined | undefined;
@@ -1081,7 +1066,6 @@ declare const SearchField: react.ForwardRefExoticComponent<HTMLAttributes<HTMLFo
1081
1066
  vocab?: string | undefined | undefined;
1082
1067
  autoCorrect?: string | undefined | undefined;
1083
1068
  autoSave?: string | undefined | undefined;
1084
- color?: string | undefined | undefined;
1085
1069
  itemProp?: string | undefined | undefined;
1086
1070
  itemScope?: boolean | undefined | undefined;
1087
1071
  itemType?: string | undefined | undefined;
@@ -1092,6 +1076,8 @@ declare const SearchField: react.ForwardRefExoticComponent<HTMLAttributes<HTMLFo
1092
1076
  unselectable?: "on" | "off" | undefined | undefined;
1093
1077
  inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
1094
1078
  is?: string | undefined | undefined;
1079
+ exportparts?: string | undefined | undefined;
1080
+ part?: string | undefined | undefined;
1095
1081
  "aria-activedescendant"?: string | undefined | undefined;
1096
1082
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
1097
1083
  "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
@@ -1308,16 +1294,16 @@ declare const SearchField: react.ForwardRefExoticComponent<HTMLAttributes<HTMLFo
1308
1294
  onAnimationIterationCapture?: react.AnimationEventHandler<HTMLButtonElement> | undefined;
1309
1295
  onTransitionEnd?: react.TransitionEventHandler<HTMLButtonElement> | undefined;
1310
1296
  onTransitionEndCapture?: react.TransitionEventHandler<HTMLButtonElement> | undefined;
1311
- disabled?: boolean | undefined | undefined;
1312
1297
  form?: string | undefined | undefined;
1298
+ value?: string | number | readonly string[] | undefined;
1299
+ type?: "submit" | "reset" | "button" | undefined | undefined;
1300
+ disabled?: boolean | undefined | undefined;
1313
1301
  formAction?: string | undefined;
1314
1302
  formEncType?: string | undefined | undefined;
1315
1303
  formMethod?: string | undefined | undefined;
1316
1304
  formNoValidate?: boolean | undefined | undefined;
1317
1305
  formTarget?: string | undefined | undefined;
1318
1306
  name?: string | undefined | undefined;
1319
- type?: "submit" | "reset" | "button" | undefined | undefined;
1320
- value?: string | number | readonly string[] | undefined;
1321
1307
  } & react.RefAttributes<HTMLButtonElement>>;
1322
1308
  Input: react.ForwardRefExoticComponent<{
1323
1309
  invalid?: boolean;
@@ -1325,10 +1311,10 @@ declare const SearchField: react.ForwardRefExoticComponent<HTMLAttributes<HTMLFo
1325
1311
  } & react.InputHTMLAttributes<HTMLInputElement> & react.RefAttributes<HTMLInputElement>>;
1326
1312
  };
1327
1313
 
1328
- type SelectOptionGroupProps = OptgroupHTMLAttributes<HTMLOptGroupElement>;
1329
-
1330
1314
  type SelectOptionProps = OptionHTMLAttributes<HTMLOptionElement>;
1331
1315
 
1316
+ type SelectOptionGroupProps = OptgroupHTMLAttributes<HTMLOptGroupElement>;
1317
+
1332
1318
  type SelectProps = {
1333
1319
  /** Whether the value fails a validation rule. */
1334
1320
  invalid?: boolean;
@@ -1339,12 +1325,12 @@ declare const Select: react.ForwardRefExoticComponent<{
1339
1325
  } & Omit<SelectHTMLAttributes<HTMLSelectElement>, "aria-invalid"> & {
1340
1326
  children?: react.ReactNode | undefined;
1341
1327
  } & react.RefAttributes<HTMLSelectElement>> & {
1342
- Option: react.ForwardRefExoticComponent<SelectOptionProps & {
1343
- children?: react.ReactNode | undefined;
1344
- } & react.RefAttributes<HTMLOptionElement>>;
1345
1328
  Group: react.ForwardRefExoticComponent<SelectOptionGroupProps & {
1346
1329
  children?: react.ReactNode | undefined;
1347
1330
  } & react.RefAttributes<HTMLOptGroupElement>>;
1331
+ Option: react.ForwardRefExoticComponent<SelectOptionProps & {
1332
+ children?: react.ReactNode | undefined;
1333
+ } & react.RefAttributes<HTMLOptionElement>>;
1348
1334
  };
1349
1335
 
1350
1336
  type SkipLinkProps = PropsWithChildren<AnchorHTMLAttributes<HTMLAnchorElement>>;
@@ -1352,24 +1338,38 @@ declare const SkipLink: react.ForwardRefExoticComponent<AnchorHTMLAttributes<HTM
1352
1338
  children?: react.ReactNode | undefined;
1353
1339
  } & react.RefAttributes<HTMLAnchorElement>>;
1354
1340
 
1355
- declare const defaultColor = "purple";
1356
- declare const spotlightColors: readonly ["blue", "dark-green", "green", "magenta", "orange", "yellow"];
1357
- type SpotlightColor = (typeof spotlightColors)[number] | typeof defaultColor;
1341
+ declare const spotlightTags: readonly ["article", "aside", "div", "footer", "section"];
1342
+ type SpotlightTag = (typeof spotlightTags)[number];
1343
+ declare const spotlightColors: readonly ["azure", "green", "lime", "magenta", "orange", "yellow"];
1344
+ type SpotlightColor = (typeof spotlightColors)[number];
1358
1345
  type SpotlightProps = {
1359
1346
  /** The HTML element to use. */
1360
- as?: 'article' | 'aside' | 'div' | 'footer' | 'section';
1347
+ as?: SpotlightTag;
1361
1348
  /** The background colour. */
1362
1349
  color?: SpotlightColor;
1363
1350
  } & PropsWithChildren<HTMLAttributes<HTMLElement>>;
1364
1351
  declare const Spotlight: react.ForwardRefExoticComponent<{
1365
1352
  /** The HTML element to use. */
1366
- as?: "article" | "aside" | "div" | "footer" | "section";
1353
+ as?: SpotlightTag;
1367
1354
  /** The background colour. */
1368
1355
  color?: SpotlightColor;
1369
1356
  } & HTMLAttributes<HTMLElement> & {
1370
1357
  children?: react.ReactNode | undefined;
1371
1358
  } & react.RefAttributes<unknown>>;
1372
1359
 
1360
+ type StandaloneLinkProps = {
1361
+ /** Changes the text colour for readability on a light or dark background. */
1362
+ color?: 'contrast' | 'inverse';
1363
+ /** Adds an icon to the link, showing it before the link text. */
1364
+ icon?: Function;
1365
+ } & Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'placeholder'>;
1366
+ declare const StandaloneLink: react.ForwardRefExoticComponent<{
1367
+ /** Changes the text colour for readability on a light or dark background. */
1368
+ color?: "contrast" | "inverse";
1369
+ /** Adds an icon to the link, showing it before the link text. */
1370
+ icon?: Function;
1371
+ } & Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "placeholder"> & react.RefAttributes<HTMLAnchorElement>>;
1372
+
1373
1373
  type SwitchProps = PropsWithChildren<InputHTMLAttributes<HTMLInputElement>>;
1374
1374
  declare const Switch: react.ForwardRefExoticComponent<InputHTMLAttributes<HTMLInputElement> & {
1375
1375
  children?: react.ReactNode | undefined;
@@ -1438,19 +1438,19 @@ type TableOfContentsLinkProps = {
1438
1438
  type TableOfContentsListProps = PropsWithChildren<HTMLAttributes<HTMLUListElement>>;
1439
1439
 
1440
1440
  type TabsProps = {
1441
- /** The number of the active tab. Corresponds to its `tab` value. */
1442
- activeTab?: number;
1443
- onChange?: (tabId: number) => void;
1441
+ /** The identifier of the initially active Tab. Corresponds to its Panel `id` value. */
1442
+ activeTab?: string;
1443
+ onTabChange?: (panelId: string) => void;
1444
1444
  } & PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
1445
1445
  declare const Tabs: react.ForwardRefExoticComponent<{
1446
- /** The number of the active tab. Corresponds to its `tab` value. */
1447
- activeTab?: number;
1448
- onChange?: (tabId: number) => void;
1446
+ /** The identifier of the initially active Tab. Corresponds to its Panel `id` value. */
1447
+ activeTab?: string;
1448
+ onTabChange?: (panelId: string) => void;
1449
1449
  } & HTMLAttributes<HTMLDivElement> & {
1450
1450
  children?: react.ReactNode | undefined;
1451
1451
  } & react.RefAttributes<HTMLDivElement>> & {
1452
1452
  Button: react.ForwardRefExoticComponent<{
1453
- tab: number;
1453
+ 'aria-controls': string;
1454
1454
  } & react.ButtonHTMLAttributes<HTMLButtonElement> & {
1455
1455
  children?: react.ReactNode | undefined;
1456
1456
  } & react.RefAttributes<HTMLButtonElement>>;
@@ -1458,22 +1458,22 @@ declare const Tabs: react.ForwardRefExoticComponent<{
1458
1458
  children?: react.ReactNode | undefined;
1459
1459
  } & react.RefAttributes<HTMLDivElement>>;
1460
1460
  Panel: react.ForwardRefExoticComponent<{
1461
- tab: number;
1461
+ id: string;
1462
1462
  } & HTMLAttributes<HTMLDivElement> & {
1463
1463
  children?: react.ReactNode | undefined;
1464
1464
  } & react.RefAttributes<HTMLDivElement>>;
1465
1465
  };
1466
1466
 
1467
1467
  type TabsPanelProps = {
1468
- /** The identifier of the corresponding Tab. */
1469
- tab: number;
1468
+ /** The identifier of the Tab Panel. */
1469
+ id: string;
1470
1470
  } & PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
1471
1471
 
1472
1472
  type TabsListProps = PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
1473
1473
 
1474
1474
  type TabsButtonProps = {
1475
- /** An identifier. */
1476
- tab: number;
1475
+ /** The identifier of the corresponding tab panel. */
1476
+ 'aria-controls': string;
1477
1477
  } & PropsWithChildren<ButtonHTMLAttributes<HTMLButtonElement>>;
1478
1478
 
1479
1479
  type TextAreaProps = {
@@ -1513,16 +1513,9 @@ declare const TimeInput: react.ForwardRefExoticComponent<{
1513
1513
  invalid?: boolean;
1514
1514
  } & Omit<InputHTMLAttributes<HTMLInputElement>, "aria-invalid" | "type"> & react.RefAttributes<HTMLInputElement>>;
1515
1515
 
1516
- declare const TopTaskLink: react.ForwardRefExoticComponent<{
1517
- /** The title. */
1518
- label: string;
1519
- /** The text content. */
1520
- description: string;
1521
- } & AnchorHTMLAttributes<HTMLAnchorElement> & react.RefAttributes<HTMLAnchorElement>>;
1522
-
1523
1516
  type UnorderedListProps = {
1524
1517
  /** Changes the text colour for readability on a dark background. */
1525
- inverseColor?: boolean;
1518
+ color?: 'inverse';
1526
1519
  /** Whether the list items show a marker. */
1527
1520
  markers?: boolean;
1528
1521
  /** The size of the text. */
@@ -1530,7 +1523,7 @@ type UnorderedListProps = {
1530
1523
  } & PropsWithChildren<HTMLAttributes<HTMLUListElement>>;
1531
1524
  declare const UnorderedList: react.ForwardRefExoticComponent<{
1532
1525
  /** Changes the text colour for readability on a dark background. */
1533
- inverseColor?: boolean;
1526
+ color?: "inverse";
1534
1527
  /** Whether the list items show a marker. */
1535
1528
  markers?: boolean;
1536
1529
  /** The size of the text. */
@@ -1545,4 +1538,5 @@ declare const UnorderedList: react.ForwardRefExoticComponent<{
1545
1538
 
1546
1539
  type UnorderedListItemProps = PropsWithChildren<LiHTMLAttributes<HTMLLIElement>>;
1547
1540
 
1548
- export { Accordion, type AccordionProps, type AccordionSectionProps, ActionGroup, type ActionGroupProps, Alert, type AlertProps, Avatar, type AvatarProps, Badge, type BadgeProps, Blockquote, type BlockquoteProps, Breadcrumb, type BreadcrumbLinkProps, type BreadcrumbProps, Breakout, type BreakoutCellProps, type BreakoutProps, Button, type ButtonProps, Card, type CardHeadingGroupProps, type CardLinkProps, type CardProps, CharacterCount, type CharacterCountProps, Checkbox, type CheckboxProps, Column, type ColumnProps, DateInput, type DateInputProps, DescriptionList, type DescriptionListDescriptionProps, type DescriptionListProps, type DescriptionListTermProps, Dialog, type DialogProps, ErrorMessage, type ErrorMessageProps, Field, type FieldProps, FieldSet, type FieldSetProps, Figure, type FigureProps, FileInput, type FileInputProps, FileList, type FileListProps, Footer, type FooterBottomProps, type FooterProps, type FooterTopProps, type FormError, FormErrorList, type FormErrorListProps, Grid, type GridCellProps, type GridColumnNumber, type GridColumnNumbers, type GridProps, Header, type HeaderMenuLinkProps, type HeaderProps, Heading, type HeadingProps, Hint, type HintProps, Icon, IconButton, type IconButtonProps, type IconProps, Image, type ImageProps, ImageSlider, type ImageSliderItemProps, type ImageSliderProps, Label, Link, LinkList, type LinkListLinkProps, type LinkListProps, type LinkProps, Logo, type LogoBrand, type LogoProps, Mark, type MarkProps, MegaMenu, type MegaMenuListCategoryProps, type MegaMenuProps, OrderedList, type OrderedListItemProps, type OrderedListProps, Overlap, type OverlapProps, PageHeading, type PageHeadingProps, PageMenu, type PageMenuLinkProps, type PageMenuProps, Pagination, type PaginationProps, Paragraph, type ParagraphProps, PasswordInput, type PasswordInputProps, Radio, type RadioProps, Row, type RowProps, Screen, type ScreenProps, SearchField, type SearchFieldProps, Select, type SelectOptionProps, type SelectProps, SkipLink, type SkipLinkProps, Spotlight, type SpotlightProps, Switch, type SwitchProps, Table, TableOfContents, type TableOfContentsLinkProps, type TableOfContentsListProps, type TableOfContentsProps, type TableProps, Tabs, type TabsButtonProps, type TabsListProps, type TabsPanelProps, type TabsProps, TextArea, type TextAreaProps, TextInput, type TextInputProps, TimeInput, type TimeInputProps, TopTaskLink, UnorderedList, type UnorderedListItemProps, type UnorderedListProps };
1541
+ export { Accordion, ActionGroup, Alert, Avatar, Badge, Blockquote, Breadcrumb, Breakout, Button, Card, CharacterCount, Checkbox, Column, DateInput, DescriptionList, Dialog, ErrorMessage, Field, FieldSet, Figure, FileInput, FileList, Grid, Heading, Hint, Icon, IconButton, Image, ImageSlider, InvalidFormAlert, Label, Link, LinkList, Logo, Mark, OrderedList, Overlap, Page, PageFooter, PageHeader, PageHeading, Pagination, Paragraph, PasswordInput, Radio, Row, SearchField, Select, SkipLink, Spotlight, StandaloneLink, Switch, Table, TableOfContents, Tabs, TextArea, TextInput, TimeInput, UnorderedList, generateAspectRatioClass };
1542
+ export type { AccordionProps, AccordionSectionProps, ActionGroupProps, AlertProps, AvatarProps, BadgeProps, BlockquoteProps, BreadcrumbLinkProps, BreadcrumbProps, BreakoutCellProps, BreakoutProps, ButtonProps, CardHeadingGroupProps, CardLinkProps, CardProps, CharacterCountProps, CheckboxProps, ColumnProps, DateInputProps, DescriptionListDescriptionProps, DescriptionListProps, DescriptionListTermProps, DialogProps, ErrorLink, ErrorMessageProps, FieldProps, FieldSetProps, FigureProps, FileInputProps, FileListProps, GridCellProps, GridColumnNumber, GridColumnNumbers, GridProps, HeadingProps, HintProps, IconButtonProps, IconProps, ImageProps, ImageSliderItemProps, ImageSliderProps, InvalidFormAlertProps, LinkListLinkProps, LinkListProps, LinkProps, LogoBrand, LogoProps, MarkProps, OrderedListItemProps, OrderedListProps, OverlapProps, PageFooterMenuLinkProps, PageFooterMenuProps, PageFooterProps, PageFooterSpotlightProps, PageHeaderMenuLinkProps, PageHeaderProps, PageHeadingProps, PageProps, PaginationProps, ParagraphProps, PasswordInputProps, RadioProps, RowProps, SearchFieldProps, SelectOptionProps, SelectProps, SkipLinkProps, SpotlightProps, StandaloneLinkProps, SwitchProps, TableOfContentsLinkProps, TableOfContentsListProps, TableOfContentsProps, TableProps, TabsButtonProps, TabsListProps, TabsPanelProps, TabsProps, TextAreaProps, TextInputProps, TimeInputProps, UnorderedListItemProps, UnorderedListProps };