@digigov/react-core 1.0.0-6b93ebf2 → 1.0.0-88820b1e

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 (873) hide show
  1. package/AccessibilityMenuButton/index.js +1 -1
  2. package/Accordion/index.d.ts +19 -1
  3. package/Accordion/index.js +7 -2
  4. package/AccordionSection/index.d.ts +1 -2
  5. package/AccordionSection/index.js +2 -4
  6. package/AdminAside/index.d.ts +1 -1
  7. package/AdminHeaderContent/__snapshots__/index.spec.tsx.snap +16 -0
  8. package/{AdminHeaderSection → AdminHeaderContent}/index.d.ts +4 -4
  9. package/{AdminHeaderSection → AdminHeaderContent}/index.js +6 -6
  10. package/{AdminHeaderSection → AdminHeaderContent}/index.spec.js +3 -3
  11. package/AdminLayout/index.js +1 -1
  12. package/AdminMain/index.d.ts +1 -1
  13. package/AdminTopSection/index.d.ts +16 -1
  14. package/AdminTopSection/index.js +6 -3
  15. package/Aside/__snapshots__/index.test.tsx.snap +2 -2
  16. package/AutoCompleteStatus/__snapshots__/index.test.tsx.snap +2 -2
  17. package/AutoCompleteStatusWrapper/__snapshots__/index.test.tsx.snap +2 -2
  18. package/AutoCompleteWrapper/index.d.ts +12 -11
  19. package/AutoCompleteWrapper/index.js +3 -3
  20. package/BackLink/__snapshots__/index.test.tsx.snap +14 -4
  21. package/BannerContainer/__snapshots__/index.test.tsx.snap +16 -0
  22. package/BottomInfo/__snapshots__/index.test.tsx.snap +29 -0
  23. package/BottomInfoContainer/__snapshots__/index.test.tsx.snap +29 -0
  24. package/BottomInfoContent/__snapshots__/index.test.tsx.snap +25 -0
  25. package/BottomInfoContent/index.d.ts +1 -1
  26. package/CHANGELOG.md +1 -1
  27. package/CardAction/__snapshots__/index.test.tsx.snap +2 -2
  28. package/CheckboxConditional/__snapshots__/index.test.tsx.snap +2 -5
  29. package/Chip/__snapshots__/index.test.tsx.snap +5 -30
  30. package/Chip/index.d.ts +1 -1
  31. package/Chip/index.js +1 -1
  32. package/{esm/ChipSection → ChipContainer}/__snapshots__/index.spec.tsx.snap +3 -3
  33. package/ChipContainer/index.d.ts +14 -0
  34. package/{ChipSection → ChipContainer}/index.js +5 -5
  35. package/ChipContainer/index.spec.js +15 -0
  36. package/ChipHeading/__snapshots__/index.test.tsx.snap +13 -8
  37. package/ChipHeading/index.d.ts +3 -3
  38. package/ChipHeading/index.js +6 -9
  39. package/ChipKeyValue/__snapshots__/index.test.tsx.snap +16 -0
  40. package/CloseButton/__snapshots__/index.test.tsx.snap +51 -0
  41. package/CloseButton/index.d.ts +9 -0
  42. package/{FilterCloseButton → CloseButton}/index.js +8 -10
  43. package/{FooterMeta → CloseButton}/index.test.js +3 -3
  44. package/Container/__snapshots__/index.test.tsx.snap +5 -5
  45. package/DateInputItem/__snapshots__/index.test.tsx.snap +6 -6
  46. package/DateInputItem/index.js +1 -1
  47. package/Drawer/__snapshots__/index.test.tsx.snap +53 -52
  48. package/DrawerHeading/__snapshots__/index.test.tsx.snap +61 -40
  49. package/DrawerHeading/index.d.ts +3 -3
  50. package/DrawerHeading/index.js +14 -17
  51. package/DropdownButton/__snapshots__/index.test.tsx.snap +162 -108
  52. package/ErrorSummary/__snapshots__/index.test.tsx.snap +37 -0
  53. package/FieldContainer/__snapshots__/index.test.tsx.snap +6 -15
  54. package/FieldContainer/index.d.ts +1 -1
  55. package/FieldContainer/index.js +3 -6
  56. package/FileUploadContainer/__snapshots__/index.test.tsx.snap +2 -2
  57. package/FileUploadContainer/index.d.ts +2 -2
  58. package/FileUploadContainer/index.js +4 -4
  59. package/FileUploadContainer/index.test.js +2 -2
  60. package/FilterContainer/__snapshots__/index.test.tsx.snap +16 -0
  61. package/FilterContainer/index.d.ts +38 -0
  62. package/{FilterSection → FilterContainer}/index.js +6 -6
  63. package/FilterContainer/index.test.js +15 -0
  64. package/FilterContent/index.d.ts +1 -1
  65. package/FilterContent/index.js +1 -1
  66. package/{es/FilterHeading → FilterHeadingContainer}/__snapshots__/index.test.tsx.snap +3 -3
  67. package/FilterHeadingContainer/index.d.ts +12 -0
  68. package/{FilterHeading → FilterHeadingContainer}/index.js +6 -6
  69. package/{FilterHeading → FilterHeadingContainer}/index.test.js +3 -3
  70. package/FilterSelectedSection/index.d.ts +1 -7
  71. package/FilterSelectedSection/index.js +3 -5
  72. package/FooterContainer/__snapshots__/index.test.tsx.snap +20 -7
  73. package/FooterContainer/index.d.ts +3 -12
  74. package/FooterContainer/index.js +5 -11
  75. package/FooterContent/index.d.ts +1 -1
  76. package/FooterContent/index.js +1 -1
  77. package/FooterHeading/__snapshots__/index.test.tsx.snap +42 -24
  78. package/FooterHeading/index.d.ts +3 -3
  79. package/FooterHeading/index.js +8 -5
  80. package/FooterInfo/__snapshots__/index.test.tsx.snap +16 -0
  81. package/{FooterMeta → FooterInfo}/index.d.ts +5 -5
  82. package/{FooterMeta → FooterInfo}/index.js +7 -7
  83. package/{FooterInlineList → FooterInfo}/index.test.js +3 -3
  84. package/FooterInfoSection/__snapshots__/index.test.tsx.snap +50 -0
  85. package/FooterInfoSection/index.d.ts +14 -0
  86. package/{FooterMetaItem → FooterInfoSection}/index.js +7 -7
  87. package/{FooterMetaItem → FooterInfoSection}/index.test.js +7 -7
  88. package/FooterList/index.d.ts +8 -2
  89. package/FooterList/index.js +5 -3
  90. package/FooterNavigation/index.d.ts +1 -1
  91. package/FooterNavigation/index.js +1 -1
  92. package/FooterNavigationSection/__snapshots__/index.test.tsx.snap +20 -0
  93. package/FooterNavigationSection/index.d.ts +11 -0
  94. package/{FooterSection → FooterNavigationSection}/index.js +7 -7
  95. package/FooterNavigationSection/index.test.js +17 -0
  96. package/Grid/index.d.ts +1 -1
  97. package/Grid/index.js +1 -1
  98. package/HeaderSection/__snapshots__/index.test.tsx.snap +2 -2
  99. package/HeaderSection/index.js +1 -1
  100. package/Heading/__snapshots__/index.test.tsx.snap +66 -31
  101. package/Heading/index.d.ts +14 -14
  102. package/Heading/index.js +7 -4
  103. package/Heading/index.test.js +43 -26
  104. package/HeadingCaption/index.d.ts +3 -3
  105. package/HeadingCaption/index.js +3 -3
  106. package/Hint/__snapshots__/index.test.tsx.snap +52 -29
  107. package/Hint/index.d.ts +3 -11
  108. package/Hint/index.js +4 -3
  109. package/Hint/index.test.js +3 -3
  110. package/KitchenSinkHeading/index.d.ts +1 -1
  111. package/Layout/__snapshots__/index.test.tsx.snap +2 -2
  112. package/Layout/index.js +1 -1
  113. package/List/__snapshots__/index.test.tsx.snap +8 -8
  114. package/List/index.d.ts +11 -9
  115. package/List/index.js +5 -5
  116. package/List/index.test.js +4 -4
  117. package/ModalContainer/__snapshots__/index.test.tsx.snap +1 -1
  118. package/ModalContent/__snapshots__/index.test.tsx.snap +2 -2
  119. package/ModalHeading/__snapshots__/index.test.tsx.snap +15 -12
  120. package/ModalHeading/index.d.ts +3 -3
  121. package/ModalHeading/index.js +7 -11
  122. package/NavMenuContainer/__snapshots__/index.test.tsx.snap +1 -1
  123. package/NavMenuContainerContent/index.d.ts +1 -1
  124. package/NormalText/__snapshots__/index.test.tsx.snap +604 -366
  125. package/NormalText/index.d.ts +10 -33
  126. package/NormalText/index.js +8 -6
  127. package/NormalText/index.test.js +92 -92
  128. package/NotificationBannerHeading/index.d.ts +1 -1
  129. package/PageTitleCaption/__snapshots__/index.test.tsx.snap +102 -0
  130. package/PageTitleCaption/index.d.ts +9 -0
  131. package/PageTitleCaption/index.js +33 -0
  132. package/PageTitleCaption/index.test.js +47 -0
  133. package/PageTitleContainer/__snapshots__/index.test.tsx.snap +16 -0
  134. package/PageTitleContainer/index.d.ts +9 -0
  135. package/{FooterInlineListItem → PageTitleContainer}/index.js +7 -7
  136. package/PageTitleContainer/index.test.js +15 -0
  137. package/PageTitleHeading/__snapshots__/index.test.tsx.snap +54 -36
  138. package/PageTitleHeading/index.d.ts +1 -1
  139. package/PageTitleHeading/index.js +2 -6
  140. package/Pagination/__snapshots__/index.spec.tsx.snap +17 -0
  141. package/Pagination/index.d.ts +4 -4
  142. package/Pagination/index.js +4 -4
  143. package/Pagination/index.spec.js +8 -0
  144. package/PaginationListItem/__snapshots__/index.spec.tsx.snap +15 -15
  145. package/PaginationListItem/index.d.ts +3 -2
  146. package/PaginationListItem/index.js +4 -3
  147. package/PaginationListItem/index.spec.js +4 -4
  148. package/Paragraph/__snapshots__/index.test.tsx.snap +851 -375
  149. package/Paragraph/index.d.ts +2 -2
  150. package/Paragraph/index.test.js +92 -92
  151. package/PhaseBannerHeaderContainer/__snapshots__/inde.test.tsx.snap +2 -2
  152. package/PhaseBannerHeaderContainer/index.js +1 -1
  153. package/PhaseBannerTag/__snapshots__/index.test.tsx.snap +2 -2
  154. package/PhaseBannerTag/index.js +1 -1
  155. package/RadioConditional/__snapshots__/index.test.tsx.snap +2 -5
  156. package/ResultsActionBar/__snapshots__/indext.test.tsx.snap +2 -2
  157. package/ResultsActionBar/index.js +1 -1
  158. package/ResultsHeading/__snapshots__/index.test.tsx.snap +2 -2
  159. package/ResultsHeading/index.js +1 -1
  160. package/ResultsHeadingActions/__snapshots__/index.test.tsx.snap +16 -7
  161. package/ResultsHeadingActions/index.js +6 -6
  162. package/SearchButton/__snapshots__/index.test.tsx.snap +41 -26
  163. package/SearchButton/index.d.ts +1 -1
  164. package/SearchButton/index.js +1 -1
  165. package/{esm/SearchSection → SearchContainer}/__snapshots__/index.test.tsx.snap +3 -3
  166. package/SearchContainer/index.d.ts +9 -0
  167. package/{SearchSection → SearchContainer}/index.js +4 -4
  168. package/SearchContainer/index.test.js +15 -0
  169. package/Section/__snapshots__/index.test.tsx.snap +16 -0
  170. package/SectionBreak/__snapshots__/index.test.tsx.snap +6 -6
  171. package/SelectContainer/index.js +2 -4
  172. package/SelectOption/__snapshots__/index.test.tsx.snap +4 -4
  173. package/SelectOption/index.js +3 -7
  174. package/SingleCharacterInput/__snapshots__/index.test.tsx.snap +198 -0
  175. package/SingleCharacterInput/index.d.ts +18 -0
  176. package/SingleCharacterInput/index.js +44 -0
  177. package/{SingleCharacterInputItem → SingleCharacterInput}/index.test.js +18 -27
  178. package/SingleCharacterInputs/__snapshots__/index.test.tsx.snap +16 -0
  179. package/SingleCharacterInputs/index.d.ts +11 -0
  180. package/{SingleCharacterInputContainer → SingleCharacterInputs}/index.js +6 -6
  181. package/{SingleCharacterInputContainer → SingleCharacterInputs}/index.test.js +3 -3
  182. package/Stack/__snapshots__/index.test.tsx.snap +516 -0
  183. package/{ChipSectionWrapper → Stack}/index.d.ts +28 -5
  184. package/Stack/index.js +45 -0
  185. package/Stack/index.test.d.ts +1 -0
  186. package/Stack/index.test.js +254 -0
  187. package/StepNavAccordionHeadingText/__snapshots__/index.test.tsx.snap +15 -45
  188. package/StepNavAccordionHeadingText/index.d.ts +8 -19
  189. package/StepNavAccordionHeadingText/index.js +3 -4
  190. package/StepNavAccordionHeadingText/index.test.js +4 -21
  191. package/StepNavAccordionSummaryHeading/__snapshots__/index.test.tsx.snap +8 -8
  192. package/SvgIcon/__snapshots__/index.test.tsx.snap +39 -16
  193. package/SvgIcon/index.d.ts +22 -21
  194. package/SvgIcon/index.js +1 -1
  195. package/SvgIcon/index.test.js +36 -28
  196. package/Table/index.d.ts +1 -1
  197. package/TableCaption/index.js +1 -1
  198. package/TableHeadCell/__snapshots__/index.test.tsx.snap +53 -53
  199. package/TableHeadCell/index.d.ts +19 -19
  200. package/TableHeadCell/index.js +3 -3
  201. package/TableHeadCell/index.test.js +24 -24
  202. package/TabsHeading/__snapshots__/index.test.tsx.snap +75 -24
  203. package/TabsHeading/index.d.ts +4 -4
  204. package/TabsHeading/index.js +10 -8
  205. package/TabsListItem/index.d.ts +7 -8
  206. package/TabsListItem/index.js +5 -5
  207. package/TabsListItem/index.test.js +8 -8
  208. package/TaskListItemHeading/__snapshots__/index.test.tsx.snap +4 -4
  209. package/TaskListItemHeading/index.d.ts +4 -19
  210. package/TaskListItemHeading/index.js +9 -33
  211. package/TaskListItemTag/__snapshots__/index.test.tsx.snap +18 -18
  212. package/TaskListItemTag/index.d.ts +7 -7
  213. package/TaskListItemTag/index.js +3 -3
  214. package/TaskListItemTag/index.test.js +6 -6
  215. package/TextInput/__snapshots__/index.test.tsx.snap +204 -204
  216. package/TextInput/index.d.ts +26 -25
  217. package/TextInput/index.js +4 -6
  218. package/TextInput/index.test.js +114 -114
  219. package/Timeline/index.d.ts +7 -7
  220. package/Timeline/index.js +4 -4
  221. package/Typography/__snapshots__/index.test.tsx.snap +181 -0
  222. package/Typography/index.d.ts +30 -0
  223. package/{ChipSectionWrapper → Typography}/index.js +13 -10
  224. package/Typography/index.test.d.ts +1 -0
  225. package/Typography/index.test.js +99 -0
  226. package/Unpurge/index.js +1 -1
  227. package/WarningText/__snapshots__/index.test.tsx.snap +31 -0
  228. package/WarningText/index.d.ts +7 -1
  229. package/WarningText/index.js +4 -2
  230. package/WarningText/index.test.js +8 -0
  231. package/es/AccessibilityMenuButton/index.js +1 -1
  232. package/es/Accordion/index.js +7 -2
  233. package/es/AccordionSection/index.js +2 -4
  234. package/es/AdminHeaderContent/__snapshots__/index.spec.tsx.snap +16 -0
  235. package/es/{AdminHeaderSection → AdminHeaderContent}/index.js +4 -4
  236. package/es/AdminHeaderContent/index.spec.js +9 -0
  237. package/es/AdminLayout/index.js +1 -1
  238. package/es/AdminTopSection/index.js +6 -3
  239. package/es/Aside/__snapshots__/index.test.tsx.snap +2 -2
  240. package/es/AutoCompleteStatus/__snapshots__/index.test.tsx.snap +2 -2
  241. package/es/AutoCompleteStatusWrapper/__snapshots__/index.test.tsx.snap +2 -2
  242. package/es/AutoCompleteWrapper/index.js +3 -3
  243. package/es/BackLink/__snapshots__/index.test.tsx.snap +14 -4
  244. package/es/BannerContainer/__snapshots__/index.test.tsx.snap +16 -0
  245. package/es/BottomInfo/__snapshots__/index.test.tsx.snap +29 -0
  246. package/es/BottomInfoContainer/__snapshots__/index.test.tsx.snap +29 -0
  247. package/es/BottomInfoContent/__snapshots__/index.test.tsx.snap +25 -0
  248. package/es/CardAction/__snapshots__/index.test.tsx.snap +2 -2
  249. package/es/CheckboxConditional/__snapshots__/index.test.tsx.snap +2 -5
  250. package/es/Chip/__snapshots__/index.test.tsx.snap +5 -30
  251. package/es/Chip/index.js +1 -1
  252. package/{src/ChipSection → es/ChipContainer}/__snapshots__/index.spec.tsx.snap +3 -3
  253. package/{esm/ChipSection → es/ChipContainer}/index.js +3 -3
  254. package/es/ChipContainer/index.spec.js +9 -0
  255. package/es/ChipHeading/__snapshots__/index.test.tsx.snap +13 -8
  256. package/es/ChipHeading/index.js +6 -8
  257. package/es/ChipKeyValue/__snapshots__/index.test.tsx.snap +16 -0
  258. package/es/CloseButton/__snapshots__/index.test.tsx.snap +51 -0
  259. package/{esm/FilterCloseButton → es/CloseButton}/index.js +6 -8
  260. package/es/CloseButton/index.test.js +9 -0
  261. package/es/Container/__snapshots__/index.test.tsx.snap +5 -5
  262. package/es/DateInputItem/__snapshots__/index.test.tsx.snap +6 -6
  263. package/es/DateInputItem/index.js +1 -1
  264. package/es/Drawer/__snapshots__/index.test.tsx.snap +53 -52
  265. package/es/DrawerHeading/__snapshots__/index.test.tsx.snap +61 -40
  266. package/es/DrawerHeading/index.js +14 -16
  267. package/es/DropdownButton/__snapshots__/index.test.tsx.snap +162 -108
  268. package/es/ErrorSummary/__snapshots__/index.test.tsx.snap +37 -0
  269. package/es/FieldContainer/__snapshots__/index.test.tsx.snap +6 -15
  270. package/es/FieldContainer/index.js +3 -6
  271. package/es/FileUploadContainer/__snapshots__/index.test.tsx.snap +2 -2
  272. package/es/FileUploadContainer/index.js +4 -4
  273. package/es/FileUploadContainer/index.test.js +2 -2
  274. package/es/FilterContainer/__snapshots__/index.test.tsx.snap +16 -0
  275. package/es/{FilterSection → FilterContainer}/index.js +4 -4
  276. package/es/FilterContainer/index.test.js +9 -0
  277. package/es/FilterContent/index.js +1 -1
  278. package/{esm/FilterHeading → es/FilterHeadingContainer}/__snapshots__/index.test.tsx.snap +3 -3
  279. package/es/{FilterHeading → FilterHeadingContainer}/index.js +4 -4
  280. package/es/FilterHeadingContainer/index.test.js +9 -0
  281. package/es/FilterSelectedSection/index.js +3 -5
  282. package/es/FooterContainer/__snapshots__/index.test.tsx.snap +20 -7
  283. package/es/FooterContainer/index.js +5 -10
  284. package/es/FooterContent/index.js +1 -1
  285. package/es/FooterHeading/__snapshots__/index.test.tsx.snap +42 -24
  286. package/es/FooterHeading/index.js +8 -5
  287. package/es/FooterInfo/__snapshots__/index.test.tsx.snap +16 -0
  288. package/{esm/FooterMeta → es/FooterInfo}/index.js +5 -5
  289. package/es/FooterInfo/index.test.js +9 -0
  290. package/es/FooterInfoSection/__snapshots__/index.test.tsx.snap +50 -0
  291. package/es/{FooterMetaItem → FooterInfoSection}/index.js +5 -5
  292. package/es/FooterInfoSection/index.test.js +25 -0
  293. package/es/FooterList/index.js +5 -3
  294. package/es/FooterNavigation/index.js +1 -1
  295. package/es/FooterNavigationSection/__snapshots__/index.test.tsx.snap +20 -0
  296. package/es/{FooterSection → FooterNavigationSection}/index.js +5 -5
  297. package/es/FooterNavigationSection/index.test.js +11 -0
  298. package/es/Grid/index.js +1 -1
  299. package/es/HeaderSection/__snapshots__/index.test.tsx.snap +2 -2
  300. package/es/HeaderSection/index.js +1 -1
  301. package/es/Heading/__snapshots__/index.test.tsx.snap +66 -31
  302. package/es/Heading/index.js +7 -4
  303. package/es/Heading/index.test.js +43 -26
  304. package/es/HeadingCaption/index.js +3 -3
  305. package/es/Hint/__snapshots__/index.test.tsx.snap +52 -29
  306. package/es/Hint/index.js +4 -3
  307. package/es/Hint/index.test.js +3 -3
  308. package/es/Layout/__snapshots__/index.test.tsx.snap +2 -2
  309. package/es/Layout/index.js +1 -1
  310. package/es/List/__snapshots__/index.test.tsx.snap +8 -8
  311. package/es/List/index.js +5 -5
  312. package/es/List/index.test.js +4 -4
  313. package/es/ModalContainer/__snapshots__/index.test.tsx.snap +1 -1
  314. package/es/ModalContent/__snapshots__/index.test.tsx.snap +2 -2
  315. package/es/ModalHeading/__snapshots__/index.test.tsx.snap +15 -12
  316. package/es/ModalHeading/index.js +7 -10
  317. package/es/NavMenuContainer/__snapshots__/index.test.tsx.snap +1 -1
  318. package/es/NormalText/__snapshots__/index.test.tsx.snap +604 -366
  319. package/es/NormalText/index.js +8 -6
  320. package/es/NormalText/index.test.js +92 -92
  321. package/es/PageTitleCaption/__snapshots__/index.test.tsx.snap +102 -0
  322. package/es/PageTitleCaption/index.js +18 -0
  323. package/es/PageTitleCaption/index.test.js +41 -0
  324. package/es/PageTitleContainer/__snapshots__/index.test.tsx.snap +16 -0
  325. package/{esm/FooterInlineListItem → es/PageTitleContainer}/index.js +5 -5
  326. package/es/PageTitleContainer/index.test.js +9 -0
  327. package/es/PageTitleHeading/__snapshots__/index.test.tsx.snap +54 -36
  328. package/es/PageTitleHeading/index.js +2 -6
  329. package/es/Pagination/__snapshots__/index.spec.tsx.snap +17 -0
  330. package/es/Pagination/index.js +4 -4
  331. package/es/Pagination/index.spec.js +8 -0
  332. package/es/PaginationListItem/__snapshots__/index.spec.tsx.snap +15 -15
  333. package/es/PaginationListItem/index.js +4 -3
  334. package/es/PaginationListItem/index.spec.js +4 -4
  335. package/es/Paragraph/__snapshots__/index.test.tsx.snap +851 -375
  336. package/es/Paragraph/index.test.js +92 -92
  337. package/es/PhaseBannerHeaderContainer/__snapshots__/inde.test.tsx.snap +2 -2
  338. package/es/PhaseBannerHeaderContainer/index.js +1 -1
  339. package/es/PhaseBannerTag/__snapshots__/index.test.tsx.snap +2 -2
  340. package/es/PhaseBannerTag/index.js +1 -1
  341. package/es/RadioConditional/__snapshots__/index.test.tsx.snap +2 -5
  342. package/es/ResultsActionBar/__snapshots__/indext.test.tsx.snap +2 -2
  343. package/es/ResultsActionBar/index.js +1 -1
  344. package/es/ResultsHeading/__snapshots__/index.test.tsx.snap +2 -2
  345. package/es/ResultsHeading/index.js +1 -1
  346. package/es/ResultsHeadingActions/__snapshots__/index.test.tsx.snap +16 -7
  347. package/es/ResultsHeadingActions/index.js +6 -6
  348. package/es/SearchButton/__snapshots__/index.test.tsx.snap +41 -26
  349. package/es/SearchButton/index.js +1 -1
  350. package/{SearchSection → es/SearchContainer}/__snapshots__/index.test.tsx.snap +3 -3
  351. package/es/{SearchSection → SearchContainer}/index.js +2 -2
  352. package/es/SearchContainer/index.test.js +9 -0
  353. package/es/Section/__snapshots__/index.test.tsx.snap +16 -0
  354. package/es/SectionBreak/__snapshots__/index.test.tsx.snap +6 -6
  355. package/es/SelectContainer/index.js +2 -4
  356. package/es/SelectOption/__snapshots__/index.test.tsx.snap +4 -4
  357. package/es/SelectOption/index.js +3 -7
  358. package/es/SingleCharacterInput/__snapshots__/index.test.tsx.snap +198 -0
  359. package/es/SingleCharacterInput/index.js +28 -0
  360. package/{esm/SingleCharacterInputItem → es/SingleCharacterInput}/index.test.js +18 -27
  361. package/es/SingleCharacterInputs/__snapshots__/index.test.tsx.snap +16 -0
  362. package/{esm/SingleCharacterInputContainer → es/SingleCharacterInputs}/index.js +4 -4
  363. package/es/SingleCharacterInputs/index.test.js +9 -0
  364. package/es/Stack/__snapshots__/index.test.tsx.snap +516 -0
  365. package/es/Stack/index.js +29 -0
  366. package/es/Stack/index.test.js +248 -0
  367. package/es/StepNavAccordionHeadingText/__snapshots__/index.test.tsx.snap +15 -45
  368. package/es/StepNavAccordionHeadingText/index.js +3 -4
  369. package/es/StepNavAccordionHeadingText/index.test.js +4 -21
  370. package/es/StepNavAccordionSummaryHeading/__snapshots__/index.test.tsx.snap +8 -8
  371. package/es/SvgIcon/__snapshots__/index.test.tsx.snap +39 -16
  372. package/es/SvgIcon/index.js +1 -1
  373. package/es/SvgIcon/index.test.js +36 -28
  374. package/es/TableCaption/index.js +1 -1
  375. package/es/TableHeadCell/__snapshots__/index.test.tsx.snap +53 -53
  376. package/es/TableHeadCell/index.js +3 -3
  377. package/es/TableHeadCell/index.test.js +24 -24
  378. package/es/TabsHeading/__snapshots__/index.test.tsx.snap +75 -24
  379. package/es/TabsHeading/index.js +10 -8
  380. package/es/TabsListItem/index.js +5 -5
  381. package/es/TabsListItem/index.test.js +8 -8
  382. package/es/TaskListItemHeading/__snapshots__/index.test.tsx.snap +4 -4
  383. package/es/TaskListItemHeading/index.js +9 -32
  384. package/es/TaskListItemTag/__snapshots__/index.test.tsx.snap +18 -18
  385. package/es/TaskListItemTag/index.js +3 -3
  386. package/es/TaskListItemTag/index.test.js +6 -6
  387. package/es/TextInput/__snapshots__/index.test.tsx.snap +204 -204
  388. package/es/TextInput/index.js +4 -6
  389. package/es/TextInput/index.test.js +114 -114
  390. package/es/Timeline/index.js +4 -4
  391. package/es/Typography/__snapshots__/index.test.tsx.snap +181 -0
  392. package/es/Typography/index.js +26 -0
  393. package/es/Typography/index.test.js +93 -0
  394. package/es/Unpurge/index.js +1 -1
  395. package/es/WarningText/__snapshots__/index.test.tsx.snap +31 -0
  396. package/es/WarningText/index.js +4 -2
  397. package/es/WarningText/index.test.js +8 -0
  398. package/es/index.js +15 -15
  399. package/es/registry.js +30 -30
  400. package/esm/AccessibilityMenuButton/index.js +1 -1
  401. package/esm/Accordion/index.js +7 -2
  402. package/esm/AccordionSection/index.js +2 -4
  403. package/esm/AdminHeaderContent/__snapshots__/index.spec.tsx.snap +16 -0
  404. package/esm/{AdminHeaderSection → AdminHeaderContent}/index.js +4 -4
  405. package/esm/AdminHeaderContent/index.spec.js +9 -0
  406. package/esm/AdminLayout/index.js +1 -1
  407. package/esm/AdminTopSection/index.js +6 -3
  408. package/esm/Aside/__snapshots__/index.test.tsx.snap +2 -2
  409. package/esm/AutoCompleteStatus/__snapshots__/index.test.tsx.snap +2 -2
  410. package/esm/AutoCompleteStatusWrapper/__snapshots__/index.test.tsx.snap +2 -2
  411. package/esm/AutoCompleteWrapper/index.js +3 -3
  412. package/esm/BackLink/__snapshots__/index.test.tsx.snap +14 -4
  413. package/esm/BannerContainer/__snapshots__/index.test.tsx.snap +16 -0
  414. package/esm/BottomInfo/__snapshots__/index.test.tsx.snap +29 -0
  415. package/esm/BottomInfoContainer/__snapshots__/index.test.tsx.snap +29 -0
  416. package/esm/BottomInfoContent/__snapshots__/index.test.tsx.snap +25 -0
  417. package/esm/CardAction/__snapshots__/index.test.tsx.snap +2 -2
  418. package/esm/CheckboxConditional/__snapshots__/index.test.tsx.snap +2 -5
  419. package/esm/Chip/__snapshots__/index.test.tsx.snap +5 -30
  420. package/esm/Chip/index.js +1 -1
  421. package/{ChipSection → esm/ChipContainer}/__snapshots__/index.spec.tsx.snap +3 -3
  422. package/{es/ChipSection → esm/ChipContainer}/index.js +3 -3
  423. package/esm/ChipContainer/index.spec.js +9 -0
  424. package/esm/ChipHeading/__snapshots__/index.test.tsx.snap +13 -8
  425. package/esm/ChipHeading/index.js +6 -8
  426. package/esm/ChipKeyValue/__snapshots__/index.test.tsx.snap +16 -0
  427. package/esm/CloseButton/__snapshots__/index.test.tsx.snap +51 -0
  428. package/{es/FilterCloseButton → esm/CloseButton}/index.js +6 -8
  429. package/esm/CloseButton/index.test.js +9 -0
  430. package/esm/Container/__snapshots__/index.test.tsx.snap +5 -5
  431. package/esm/DateInputItem/__snapshots__/index.test.tsx.snap +6 -6
  432. package/esm/DateInputItem/index.js +1 -1
  433. package/esm/Drawer/__snapshots__/index.test.tsx.snap +53 -52
  434. package/esm/DrawerHeading/__snapshots__/index.test.tsx.snap +61 -40
  435. package/esm/DrawerHeading/index.js +14 -16
  436. package/esm/DropdownButton/__snapshots__/index.test.tsx.snap +162 -108
  437. package/esm/ErrorSummary/__snapshots__/index.test.tsx.snap +37 -0
  438. package/esm/FieldContainer/__snapshots__/index.test.tsx.snap +6 -15
  439. package/esm/FieldContainer/index.js +3 -6
  440. package/esm/FileUploadContainer/__snapshots__/index.test.tsx.snap +2 -2
  441. package/esm/FileUploadContainer/index.js +4 -4
  442. package/esm/FileUploadContainer/index.test.js +2 -2
  443. package/esm/FilterContainer/__snapshots__/index.test.tsx.snap +16 -0
  444. package/esm/{FilterSection → FilterContainer}/index.js +4 -4
  445. package/esm/FilterContainer/index.test.js +9 -0
  446. package/esm/FilterContent/index.js +1 -1
  447. package/{src/FilterHeading → esm/FilterHeadingContainer}/__snapshots__/index.test.tsx.snap +3 -3
  448. package/esm/{FilterHeading → FilterHeadingContainer}/index.js +4 -4
  449. package/esm/FilterHeadingContainer/index.test.js +9 -0
  450. package/esm/FilterSelectedSection/index.js +3 -5
  451. package/esm/FooterContainer/__snapshots__/index.test.tsx.snap +20 -7
  452. package/esm/FooterContainer/index.js +5 -10
  453. package/esm/FooterContent/index.js +1 -1
  454. package/esm/FooterHeading/__snapshots__/index.test.tsx.snap +42 -24
  455. package/esm/FooterHeading/index.js +8 -5
  456. package/esm/FooterInfo/__snapshots__/index.test.tsx.snap +16 -0
  457. package/{es/FooterMeta → esm/FooterInfo}/index.js +5 -5
  458. package/esm/FooterInfo/index.test.js +9 -0
  459. package/esm/FooterInfoSection/__snapshots__/index.test.tsx.snap +50 -0
  460. package/esm/{FooterMetaItem → FooterInfoSection}/index.js +5 -5
  461. package/esm/FooterInfoSection/index.test.js +25 -0
  462. package/esm/FooterList/index.js +5 -3
  463. package/esm/FooterNavigation/index.js +1 -1
  464. package/esm/FooterNavigationSection/__snapshots__/index.test.tsx.snap +20 -0
  465. package/esm/{FooterSection → FooterNavigationSection}/index.js +5 -5
  466. package/esm/FooterNavigationSection/index.test.js +11 -0
  467. package/esm/Grid/index.js +1 -1
  468. package/esm/HeaderSection/__snapshots__/index.test.tsx.snap +2 -2
  469. package/esm/HeaderSection/index.js +1 -1
  470. package/esm/Heading/__snapshots__/index.test.tsx.snap +66 -31
  471. package/esm/Heading/index.js +7 -4
  472. package/esm/Heading/index.test.js +43 -26
  473. package/esm/HeadingCaption/index.js +3 -3
  474. package/esm/Hint/__snapshots__/index.test.tsx.snap +52 -29
  475. package/esm/Hint/index.js +4 -3
  476. package/esm/Hint/index.test.js +3 -3
  477. package/esm/Layout/__snapshots__/index.test.tsx.snap +2 -2
  478. package/esm/Layout/index.js +1 -1
  479. package/esm/List/__snapshots__/index.test.tsx.snap +8 -8
  480. package/esm/List/index.js +5 -5
  481. package/esm/List/index.test.js +4 -4
  482. package/esm/ModalContainer/__snapshots__/index.test.tsx.snap +1 -1
  483. package/esm/ModalContent/__snapshots__/index.test.tsx.snap +2 -2
  484. package/esm/ModalHeading/__snapshots__/index.test.tsx.snap +15 -12
  485. package/esm/ModalHeading/index.js +7 -10
  486. package/esm/NavMenuContainer/__snapshots__/index.test.tsx.snap +1 -1
  487. package/esm/NormalText/__snapshots__/index.test.tsx.snap +604 -366
  488. package/esm/NormalText/index.js +8 -6
  489. package/esm/NormalText/index.test.js +92 -92
  490. package/esm/PageTitleCaption/__snapshots__/index.test.tsx.snap +102 -0
  491. package/esm/PageTitleCaption/index.js +18 -0
  492. package/esm/PageTitleCaption/index.test.js +41 -0
  493. package/esm/PageTitleContainer/__snapshots__/index.test.tsx.snap +16 -0
  494. package/{es/FooterInlineListItem → esm/PageTitleContainer}/index.js +5 -5
  495. package/esm/PageTitleContainer/index.test.js +9 -0
  496. package/esm/PageTitleHeading/__snapshots__/index.test.tsx.snap +54 -36
  497. package/esm/PageTitleHeading/index.js +2 -6
  498. package/esm/Pagination/__snapshots__/index.spec.tsx.snap +17 -0
  499. package/esm/Pagination/index.js +4 -4
  500. package/esm/Pagination/index.spec.js +8 -0
  501. package/esm/PaginationListItem/__snapshots__/index.spec.tsx.snap +15 -15
  502. package/esm/PaginationListItem/index.js +4 -3
  503. package/esm/PaginationListItem/index.spec.js +4 -4
  504. package/esm/Paragraph/__snapshots__/index.test.tsx.snap +851 -375
  505. package/esm/Paragraph/index.test.js +92 -92
  506. package/esm/PhaseBannerHeaderContainer/__snapshots__/inde.test.tsx.snap +2 -2
  507. package/esm/PhaseBannerHeaderContainer/index.js +1 -1
  508. package/esm/PhaseBannerTag/__snapshots__/index.test.tsx.snap +2 -2
  509. package/esm/PhaseBannerTag/index.js +1 -1
  510. package/esm/RadioConditional/__snapshots__/index.test.tsx.snap +2 -5
  511. package/esm/ResultsActionBar/__snapshots__/indext.test.tsx.snap +2 -2
  512. package/esm/ResultsActionBar/index.js +1 -1
  513. package/esm/ResultsHeading/__snapshots__/index.test.tsx.snap +2 -2
  514. package/esm/ResultsHeading/index.js +1 -1
  515. package/esm/ResultsHeadingActions/__snapshots__/index.test.tsx.snap +16 -7
  516. package/esm/ResultsHeadingActions/index.js +6 -6
  517. package/esm/SearchButton/__snapshots__/index.test.tsx.snap +41 -26
  518. package/esm/SearchButton/index.js +1 -1
  519. package/{src/SearchSection → esm/SearchContainer}/__snapshots__/index.test.tsx.snap +3 -3
  520. package/esm/{SearchSection → SearchContainer}/index.js +2 -2
  521. package/esm/SearchContainer/index.test.js +9 -0
  522. package/esm/Section/__snapshots__/index.test.tsx.snap +16 -0
  523. package/esm/SectionBreak/__snapshots__/index.test.tsx.snap +6 -6
  524. package/esm/SelectContainer/index.js +2 -4
  525. package/esm/SelectOption/__snapshots__/index.test.tsx.snap +4 -4
  526. package/esm/SelectOption/index.js +3 -7
  527. package/esm/SingleCharacterInput/__snapshots__/index.test.tsx.snap +198 -0
  528. package/esm/SingleCharacterInput/index.js +28 -0
  529. package/{es/SingleCharacterInputItem → esm/SingleCharacterInput}/index.test.js +18 -27
  530. package/esm/SingleCharacterInputs/__snapshots__/index.test.tsx.snap +16 -0
  531. package/{es/SingleCharacterInputContainer → esm/SingleCharacterInputs}/index.js +4 -4
  532. package/esm/SingleCharacterInputs/index.test.js +9 -0
  533. package/esm/Stack/__snapshots__/index.test.tsx.snap +516 -0
  534. package/esm/Stack/index.js +29 -0
  535. package/esm/Stack/index.test.js +248 -0
  536. package/esm/StepNavAccordionHeadingText/__snapshots__/index.test.tsx.snap +15 -45
  537. package/esm/StepNavAccordionHeadingText/index.js +3 -4
  538. package/esm/StepNavAccordionHeadingText/index.test.js +4 -21
  539. package/esm/StepNavAccordionSummaryHeading/__snapshots__/index.test.tsx.snap +8 -8
  540. package/esm/SvgIcon/__snapshots__/index.test.tsx.snap +39 -16
  541. package/esm/SvgIcon/index.js +1 -1
  542. package/esm/SvgIcon/index.test.js +36 -28
  543. package/esm/TableCaption/index.js +1 -1
  544. package/esm/TableHeadCell/__snapshots__/index.test.tsx.snap +53 -53
  545. package/esm/TableHeadCell/index.js +3 -3
  546. package/esm/TableHeadCell/index.test.js +24 -24
  547. package/esm/TabsHeading/__snapshots__/index.test.tsx.snap +75 -24
  548. package/esm/TabsHeading/index.js +10 -8
  549. package/esm/TabsListItem/index.js +5 -5
  550. package/esm/TabsListItem/index.test.js +8 -8
  551. package/esm/TaskListItemHeading/__snapshots__/index.test.tsx.snap +4 -4
  552. package/esm/TaskListItemHeading/index.js +9 -32
  553. package/esm/TaskListItemTag/__snapshots__/index.test.tsx.snap +18 -18
  554. package/esm/TaskListItemTag/index.js +3 -3
  555. package/esm/TaskListItemTag/index.test.js +6 -6
  556. package/esm/TextInput/__snapshots__/index.test.tsx.snap +204 -204
  557. package/esm/TextInput/index.js +4 -6
  558. package/esm/TextInput/index.test.js +114 -114
  559. package/esm/Timeline/index.js +4 -4
  560. package/esm/Typography/__snapshots__/index.test.tsx.snap +181 -0
  561. package/esm/Typography/index.js +26 -0
  562. package/esm/Typography/index.test.js +93 -0
  563. package/esm/Unpurge/index.js +1 -1
  564. package/esm/WarningText/__snapshots__/index.test.tsx.snap +31 -0
  565. package/esm/WarningText/index.js +4 -2
  566. package/esm/WarningText/index.test.js +8 -0
  567. package/esm/index.js +16 -16
  568. package/esm/registry.js +30 -30
  569. package/index.d.ts +15 -15
  570. package/index.js +105 -105
  571. package/package.json +3 -3
  572. package/registry.d.ts +15 -15
  573. package/registry.js +36 -36
  574. package/src/AccessibilityMenuButton/index.tsx +1 -1
  575. package/src/Accordion/index.tsx +36 -2
  576. package/src/AccordionSection/index.tsx +2 -12
  577. package/src/AccordionSectionSummary/index.tsx +5 -2
  578. package/src/AdminHeaderContent/__snapshots__/index.spec.tsx.snap +16 -0
  579. package/src/AdminHeaderContent/index.spec.tsx +10 -0
  580. package/src/AdminHeaderContent/index.tsx +27 -0
  581. package/src/AdminLayout/index.tsx +1 -1
  582. package/src/AdminTopSection/index.tsx +20 -2
  583. package/src/Aside/__snapshots__/index.test.tsx.snap +2 -2
  584. package/src/AutoCompleteStatus/__snapshots__/index.test.tsx.snap +2 -2
  585. package/src/AutoCompleteStatusWrapper/__snapshots__/index.test.tsx.snap +2 -2
  586. package/src/AutoCompleteWrapper/index.tsx +18 -23
  587. package/src/BackLink/__snapshots__/index.test.tsx.snap +14 -4
  588. package/src/BannerContainer/__snapshots__/index.test.tsx.snap +16 -0
  589. package/src/BottomInfo/__snapshots__/index.test.tsx.snap +29 -0
  590. package/src/BottomInfoContainer/__snapshots__/index.test.tsx.snap +29 -0
  591. package/src/BottomInfoContent/__snapshots__/index.test.tsx.snap +25 -0
  592. package/src/CardAction/__snapshots__/index.test.tsx.snap +2 -2
  593. package/src/CheckboxConditional/__snapshots__/index.test.tsx.snap +2 -5
  594. package/src/Chip/__snapshots__/index.test.tsx.snap +5 -30
  595. package/src/Chip/index.tsx +1 -1
  596. package/{es/ChipSection → src/ChipContainer}/__snapshots__/index.spec.tsx.snap +3 -3
  597. package/src/ChipContainer/index.spec.tsx +8 -0
  598. package/src/{ChipSection → ChipContainer}/index.tsx +4 -4
  599. package/src/ChipHeading/__snapshots__/index.test.tsx.snap +13 -8
  600. package/src/ChipHeading/index.tsx +5 -13
  601. package/src/ChipKeyValue/__snapshots__/index.test.tsx.snap +16 -0
  602. package/src/CloseButton/__snapshots__/index.test.tsx.snap +51 -0
  603. package/src/CloseButton/index.test.tsx +8 -0
  604. package/src/CloseButton/index.tsx +29 -0
  605. package/src/Container/__snapshots__/index.test.tsx.snap +5 -5
  606. package/src/DateInputItem/__snapshots__/index.test.tsx.snap +6 -6
  607. package/src/DateInputItem/index.tsx +2 -2
  608. package/src/Drawer/__snapshots__/index.test.tsx.snap +53 -52
  609. package/src/DrawerHeading/__snapshots__/index.test.tsx.snap +61 -40
  610. package/src/DrawerHeading/index.tsx +14 -19
  611. package/src/DropdownButton/__snapshots__/index.test.tsx.snap +162 -108
  612. package/src/ErrorSummary/__snapshots__/index.test.tsx.snap +37 -0
  613. package/src/FieldContainer/__snapshots__/index.test.tsx.snap +6 -15
  614. package/src/FieldContainer/index.tsx +1 -1
  615. package/src/FileUploadContainer/__snapshots__/index.test.tsx.snap +2 -2
  616. package/src/FileUploadContainer/index.test.tsx +2 -2
  617. package/src/FileUploadContainer/index.tsx +3 -3
  618. package/src/FilterContainer/__snapshots__/index.test.tsx.snap +16 -0
  619. package/src/FilterContainer/index.test.tsx +8 -0
  620. package/src/{FilterSection → FilterContainer}/index.tsx +7 -7
  621. package/src/FilterContent/index.tsx +2 -2
  622. package/{FilterHeading → src/FilterHeadingContainer}/__snapshots__/index.test.tsx.snap +3 -3
  623. package/src/FilterHeadingContainer/index.test.tsx +8 -0
  624. package/src/{FilterHeading → FilterHeadingContainer}/index.tsx +7 -7
  625. package/src/FilterSelectedSection/index.tsx +2 -13
  626. package/src/FooterContainer/__snapshots__/index.test.tsx.snap +20 -7
  627. package/src/FooterContainer/index.tsx +5 -27
  628. package/src/FooterContent/index.tsx +1 -1
  629. package/src/FooterHeading/__snapshots__/index.test.tsx.snap +42 -24
  630. package/src/FooterHeading/index.tsx +10 -8
  631. package/src/FooterInfo/__snapshots__/index.test.tsx.snap +16 -0
  632. package/src/FooterInfo/index.test.tsx +8 -0
  633. package/src/{FooterMeta → FooterInfo}/index.tsx +7 -7
  634. package/src/FooterInfoSection/__snapshots__/index.test.tsx.snap +50 -0
  635. package/src/FooterInfoSection/index.test.tsx +20 -0
  636. package/src/FooterInfoSection/index.tsx +34 -0
  637. package/src/FooterList/index.tsx +11 -3
  638. package/src/FooterNavigation/index.tsx +1 -1
  639. package/src/FooterNavigationSection/__snapshots__/index.test.tsx.snap +20 -0
  640. package/src/FooterNavigationSection/index.test.tsx +8 -0
  641. package/src/FooterNavigationSection/index.tsx +29 -0
  642. package/src/Grid/index.tsx +6 -72
  643. package/src/HeaderSection/__snapshots__/index.test.tsx.snap +2 -2
  644. package/src/HeaderSection/index.tsx +1 -1
  645. package/src/Heading/__snapshots__/index.test.tsx.snap +66 -31
  646. package/src/Heading/index.test.tsx +17 -3
  647. package/src/Heading/index.tsx +18 -19
  648. package/src/HeadingCaption/index.tsx +5 -7
  649. package/src/Hint/__snapshots__/index.test.tsx.snap +52 -29
  650. package/src/Hint/index.test.tsx +3 -3
  651. package/src/Hint/index.tsx +6 -16
  652. package/src/Layout/__snapshots__/index.test.tsx.snap +2 -2
  653. package/src/Layout/index.tsx +2 -2
  654. package/src/List/__snapshots__/index.test.tsx.snap +8 -8
  655. package/src/List/index.test.tsx +4 -4
  656. package/src/List/index.tsx +14 -12
  657. package/src/ModalContainer/__snapshots__/index.test.tsx.snap +1 -1
  658. package/src/ModalContent/__snapshots__/index.test.tsx.snap +2 -2
  659. package/src/ModalHeading/__snapshots__/index.test.tsx.snap +15 -12
  660. package/src/ModalHeading/index.tsx +8 -12
  661. package/src/NavMenuContainer/__snapshots__/index.test.tsx.snap +1 -1
  662. package/src/NavVertical/index.tsx +1 -1
  663. package/src/NormalText/__snapshots__/index.test.tsx.snap +604 -366
  664. package/src/NormalText/index.test.tsx +66 -66
  665. package/src/NormalText/index.tsx +17 -49
  666. package/src/PageTitleCaption/__snapshots__/index.test.tsx.snap +102 -0
  667. package/src/PageTitleCaption/index.test.tsx +32 -0
  668. package/src/PageTitleCaption/index.tsx +22 -0
  669. package/src/PageTitleContainer/__snapshots__/index.test.tsx.snap +16 -0
  670. package/src/PageTitleContainer/index.test.tsx +8 -0
  671. package/src/PageTitleContainer/index.tsx +27 -0
  672. package/src/PageTitleHeading/__snapshots__/index.test.tsx.snap +54 -36
  673. package/src/PageTitleHeading/index.tsx +3 -3
  674. package/src/Pagination/__snapshots__/index.spec.tsx.snap +17 -0
  675. package/src/Pagination/index.spec.tsx +3 -0
  676. package/src/Pagination/index.tsx +5 -5
  677. package/src/PaginationListItem/__snapshots__/index.spec.tsx.snap +15 -15
  678. package/src/PaginationListItem/index.spec.tsx +4 -4
  679. package/src/PaginationListItem/index.tsx +11 -3
  680. package/src/Paragraph/__snapshots__/index.test.tsx.snap +851 -375
  681. package/src/Paragraph/index.test.tsx +66 -66
  682. package/src/Paragraph/index.tsx +1 -1
  683. package/src/PhaseBannerHeaderContainer/__snapshots__/inde.test.tsx.snap +2 -2
  684. package/src/PhaseBannerHeaderContainer/index.tsx +1 -1
  685. package/src/PhaseBannerTag/__snapshots__/index.test.tsx.snap +2 -2
  686. package/src/PhaseBannerTag/index.tsx +0 -1
  687. package/src/RadioConditional/__snapshots__/index.test.tsx.snap +2 -5
  688. package/src/ResultsActionBar/__snapshots__/indext.test.tsx.snap +2 -2
  689. package/src/ResultsActionBar/index.tsx +1 -1
  690. package/src/ResultsHeading/__snapshots__/index.test.tsx.snap +2 -2
  691. package/src/ResultsHeading/index.tsx +1 -1
  692. package/src/ResultsHeadingActions/__snapshots__/index.test.tsx.snap +16 -7
  693. package/src/ResultsHeadingActions/index.tsx +5 -5
  694. package/src/SearchButton/__snapshots__/index.test.tsx.snap +41 -26
  695. package/src/SearchButton/index.tsx +1 -1
  696. package/{es/SearchSection → src/SearchContainer}/__snapshots__/index.test.tsx.snap +3 -3
  697. package/src/SearchContainer/index.test.tsx +8 -0
  698. package/src/{SearchSection → SearchContainer}/index.tsx +5 -5
  699. package/src/Section/__snapshots__/index.test.tsx.snap +16 -0
  700. package/src/SectionBreak/__snapshots__/index.test.tsx.snap +6 -6
  701. package/src/SelectContainer/index.tsx +1 -2
  702. package/src/SelectOption/__snapshots__/index.test.tsx.snap +4 -4
  703. package/src/SelectOption/index.tsx +4 -4
  704. package/src/SingleCharacterInput/__snapshots__/index.test.tsx.snap +198 -0
  705. package/src/SingleCharacterInput/index.test.tsx +40 -0
  706. package/src/SingleCharacterInput/index.tsx +42 -0
  707. package/src/SingleCharacterInputs/__snapshots__/index.test.tsx.snap +16 -0
  708. package/src/SingleCharacterInputs/index.test.tsx +10 -0
  709. package/src/{SingleCharacterInputContainer → SingleCharacterInputs}/index.tsx +7 -7
  710. package/src/Stack/__snapshots__/index.test.tsx.snap +516 -0
  711. package/src/Stack/index.test.tsx +96 -0
  712. package/src/Stack/index.tsx +63 -0
  713. package/src/StepNavAccordionHeadingText/__snapshots__/index.test.tsx.snap +15 -45
  714. package/src/StepNavAccordionHeadingText/index.test.tsx +3 -23
  715. package/src/StepNavAccordionHeadingText/index.tsx +9 -25
  716. package/src/StepNavAccordionSummaryHeading/__snapshots__/index.test.tsx.snap +8 -8
  717. package/src/SvgIcon/__snapshots__/index.test.tsx.snap +39 -16
  718. package/src/SvgIcon/index.test.tsx +7 -4
  719. package/src/SvgIcon/index.tsx +24 -26
  720. package/src/TableCaption/index.tsx +1 -4
  721. package/src/TableHeadCell/__snapshots__/index.test.tsx.snap +53 -53
  722. package/src/TableHeadCell/index.test.tsx +24 -24
  723. package/src/TableHeadCell/index.tsx +25 -31
  724. package/src/TabsHeading/__snapshots__/index.test.tsx.snap +75 -24
  725. package/src/TabsHeading/index.tsx +7 -16
  726. package/src/TabsListItem/index.test.tsx +8 -8
  727. package/src/TabsListItem/index.tsx +10 -11
  728. package/src/TaskListItemHeading/__snapshots__/index.test.tsx.snap +4 -4
  729. package/src/TaskListItemHeading/index.tsx +6 -51
  730. package/src/TaskListItemTag/__snapshots__/index.test.tsx.snap +18 -18
  731. package/src/TaskListItemTag/index.test.tsx +6 -6
  732. package/src/TaskListItemTag/index.tsx +8 -10
  733. package/src/TextInput/__snapshots__/index.test.tsx.snap +204 -204
  734. package/src/TextInput/index.test.tsx +84 -84
  735. package/src/TextInput/index.tsx +33 -46
  736. package/src/Timeline/index.tsx +8 -8
  737. package/src/Typography/__snapshots__/index.test.tsx.snap +181 -0
  738. package/src/Typography/index.test.tsx +44 -0
  739. package/src/Typography/index.tsx +52 -0
  740. package/src/Unpurge/index.tsx +118 -0
  741. package/src/WarningText/__snapshots__/index.test.tsx.snap +31 -0
  742. package/src/WarningText/index.test.tsx +3 -0
  743. package/src/WarningText/index.tsx +13 -3
  744. package/src/index.ts +15 -15
  745. package/src/registry.js +30 -30
  746. package/AdminHeaderSection/__snapshots__/index.spec.tsx.snap +0 -16
  747. package/ChipSection/index.d.ts +0 -14
  748. package/ChipSection/index.spec.js +0 -15
  749. package/ChipSectionWrapper/__snapshots__/index.spec.tsx.snap +0 -16
  750. package/ChipSectionWrapper/index.spec.js +0 -15
  751. package/DropdownArrowDown/index.d.ts +0 -9
  752. package/DropdownArrowDown/index.js +0 -31
  753. package/FilterCloseButton/index.d.ts +0 -16
  754. package/FilterHeading/index.d.ts +0 -12
  755. package/FilterSection/__snapshots__/index.test.tsx.snap +0 -16
  756. package/FilterSection/index.d.ts +0 -38
  757. package/FilterSection/index.test.js +0 -15
  758. package/FooterInlineList/__snapshots__/index.test.tsx.snap +0 -16
  759. package/FooterInlineList/index.d.ts +0 -11
  760. package/FooterInlineList/index.js +0 -40
  761. package/FooterInlineListItem/__snapshots__/index.test.tsx.snap +0 -16
  762. package/FooterInlineListItem/index.d.ts +0 -9
  763. package/FooterInlineListItem/index.test.js +0 -15
  764. package/FooterMeta/__snapshots__/index.test.tsx.snap +0 -16
  765. package/FooterMetaItem/__snapshots__/index.test.tsx.snap +0 -50
  766. package/FooterMetaItem/index.d.ts +0 -16
  767. package/FooterSection/__snapshots__/index.test.tsx.snap +0 -16
  768. package/FooterSection/index.d.ts +0 -11
  769. package/FooterSection/index.test.js +0 -15
  770. package/SearchSection/index.d.ts +0 -9
  771. package/SearchSection/index.test.js +0 -15
  772. package/SingleCharacterInputContainer/__snapshots__/index.test.tsx.snap +0 -16
  773. package/SingleCharacterInputContainer/index.d.ts +0 -11
  774. package/SingleCharacterInputItem/__snapshots__/index.test.tsx.snap +0 -173
  775. package/SingleCharacterInputItem/index.d.ts +0 -33
  776. package/SingleCharacterInputItem/index.js +0 -50
  777. package/es/AdminHeaderSection/__snapshots__/index.spec.tsx.snap +0 -16
  778. package/es/AdminHeaderSection/index.spec.js +0 -9
  779. package/es/ChipSection/index.spec.js +0 -9
  780. package/es/ChipSectionWrapper/__snapshots__/index.spec.tsx.snap +0 -16
  781. package/es/ChipSectionWrapper/index.js +0 -23
  782. package/es/ChipSectionWrapper/index.spec.js +0 -9
  783. package/es/DropdownArrowDown/index.js +0 -18
  784. package/es/FilterHeading/index.test.js +0 -9
  785. package/es/FilterSection/__snapshots__/index.test.tsx.snap +0 -16
  786. package/es/FilterSection/index.test.js +0 -9
  787. package/es/FooterInlineList/__snapshots__/index.test.tsx.snap +0 -16
  788. package/es/FooterInlineList/index.js +0 -24
  789. package/es/FooterInlineList/index.test.js +0 -9
  790. package/es/FooterInlineListItem/__snapshots__/index.test.tsx.snap +0 -16
  791. package/es/FooterInlineListItem/index.test.js +0 -9
  792. package/es/FooterMeta/__snapshots__/index.test.tsx.snap +0 -16
  793. package/es/FooterMeta/index.test.js +0 -9
  794. package/es/FooterMetaItem/__snapshots__/index.test.tsx.snap +0 -50
  795. package/es/FooterMetaItem/index.test.js +0 -25
  796. package/es/FooterSection/__snapshots__/index.test.tsx.snap +0 -16
  797. package/es/FooterSection/index.test.js +0 -9
  798. package/es/SearchSection/index.test.js +0 -9
  799. package/es/SingleCharacterInputContainer/__snapshots__/index.test.tsx.snap +0 -16
  800. package/es/SingleCharacterInputContainer/index.test.js +0 -9
  801. package/es/SingleCharacterInputItem/__snapshots__/index.test.tsx.snap +0 -173
  802. package/es/SingleCharacterInputItem/index.js +0 -34
  803. package/esm/AdminHeaderSection/__snapshots__/index.spec.tsx.snap +0 -16
  804. package/esm/AdminHeaderSection/index.spec.js +0 -9
  805. package/esm/ChipSection/index.spec.js +0 -9
  806. package/esm/ChipSectionWrapper/__snapshots__/index.spec.tsx.snap +0 -16
  807. package/esm/ChipSectionWrapper/index.js +0 -23
  808. package/esm/ChipSectionWrapper/index.spec.js +0 -9
  809. package/esm/DropdownArrowDown/index.js +0 -18
  810. package/esm/FilterHeading/index.test.js +0 -9
  811. package/esm/FilterSection/__snapshots__/index.test.tsx.snap +0 -16
  812. package/esm/FilterSection/index.test.js +0 -9
  813. package/esm/FooterInlineList/__snapshots__/index.test.tsx.snap +0 -16
  814. package/esm/FooterInlineList/index.js +0 -24
  815. package/esm/FooterInlineList/index.test.js +0 -9
  816. package/esm/FooterInlineListItem/__snapshots__/index.test.tsx.snap +0 -16
  817. package/esm/FooterInlineListItem/index.test.js +0 -9
  818. package/esm/FooterMeta/__snapshots__/index.test.tsx.snap +0 -16
  819. package/esm/FooterMeta/index.test.js +0 -9
  820. package/esm/FooterMetaItem/__snapshots__/index.test.tsx.snap +0 -50
  821. package/esm/FooterMetaItem/index.test.js +0 -25
  822. package/esm/FooterSection/__snapshots__/index.test.tsx.snap +0 -16
  823. package/esm/FooterSection/index.test.js +0 -9
  824. package/esm/SearchSection/index.test.js +0 -9
  825. package/esm/SingleCharacterInputContainer/__snapshots__/index.test.tsx.snap +0 -16
  826. package/esm/SingleCharacterInputContainer/index.test.js +0 -9
  827. package/esm/SingleCharacterInputItem/__snapshots__/index.test.tsx.snap +0 -173
  828. package/esm/SingleCharacterInputItem/index.js +0 -34
  829. package/src/AdminHeaderSection/__snapshots__/index.spec.tsx.snap +0 -16
  830. package/src/AdminHeaderSection/index.spec.tsx +0 -10
  831. package/src/AdminHeaderSection/index.tsx +0 -27
  832. package/src/ChipSection/index.spec.tsx +0 -8
  833. package/src/ChipSectionWrapper/__snapshots__/index.spec.tsx.snap +0 -16
  834. package/src/ChipSectionWrapper/index.spec.tsx +0 -10
  835. package/src/ChipSectionWrapper/index.tsx +0 -21
  836. package/src/DropdownArrowDown/index.tsx +0 -16
  837. package/src/FilterCloseButton/index.tsx +0 -40
  838. package/src/FilterHeading/index.test.tsx +0 -8
  839. package/src/FilterSection/__snapshots__/index.test.tsx.snap +0 -16
  840. package/src/FilterSection/index.test.tsx +0 -8
  841. package/src/FooterInlineList/__snapshots__/index.test.tsx.snap +0 -16
  842. package/src/FooterInlineList/index.test.tsx +0 -8
  843. package/src/FooterInlineList/index.tsx +0 -29
  844. package/src/FooterInlineListItem/__snapshots__/index.test.tsx.snap +0 -16
  845. package/src/FooterInlineListItem/index.test.tsx +0 -10
  846. package/src/FooterInlineListItem/index.tsx +0 -27
  847. package/src/FooterMeta/__snapshots__/index.test.tsx.snap +0 -16
  848. package/src/FooterMeta/index.test.tsx +0 -8
  849. package/src/FooterMetaItem/__snapshots__/index.test.tsx.snap +0 -50
  850. package/src/FooterMetaItem/index.test.tsx +0 -20
  851. package/src/FooterMetaItem/index.tsx +0 -36
  852. package/src/FooterSection/__snapshots__/index.test.tsx.snap +0 -16
  853. package/src/FooterSection/index.test.tsx +0 -8
  854. package/src/FooterSection/index.tsx +0 -29
  855. package/src/SearchSection/index.test.tsx +0 -8
  856. package/src/SingleCharacterInputContainer/__snapshots__/index.test.tsx.snap +0 -16
  857. package/src/SingleCharacterInputContainer/index.test.tsx +0 -10
  858. package/src/SingleCharacterInputItem/__snapshots__/index.test.tsx.snap +0 -173
  859. package/src/SingleCharacterInputItem/index.test.tsx +0 -45
  860. package/src/SingleCharacterInputItem/index.tsx +0 -62
  861. /package/{AdminHeaderSection → AdminHeaderContent}/index.spec.d.ts +0 -0
  862. /package/{ChipSection → ChipContainer}/index.spec.d.ts +0 -0
  863. /package/{FilterHeading → CloseButton}/index.test.d.ts +0 -0
  864. /package/{FilterSection → FilterContainer}/index.test.d.ts +0 -0
  865. /package/{FooterInlineList → FilterHeadingContainer}/index.test.d.ts +0 -0
  866. /package/{FooterInlineListItem → FooterInfo}/index.test.d.ts +0 -0
  867. /package/{FooterMeta → FooterInfoSection}/index.test.d.ts +0 -0
  868. /package/{FooterMetaItem → FooterNavigationSection}/index.test.d.ts +0 -0
  869. /package/{FooterSection → PageTitleCaption}/index.test.d.ts +0 -0
  870. /package/{SearchSection → PageTitleContainer}/index.test.d.ts +0 -0
  871. /package/{SingleCharacterInputContainer → SearchContainer}/index.test.d.ts +0 -0
  872. /package/{SingleCharacterInputItem → SingleCharacterInput}/index.test.d.ts +0 -0
  873. /package/{ChipSectionWrapper/index.spec.d.ts → SingleCharacterInputs/index.test.d.ts} +0 -0
@@ -6,12 +6,12 @@ import clsx from 'clsx';
6
6
  import Base from '@digigov/react-core/Base';
7
7
 
8
8
  /**
9
- * Use FilterHeading component inside FilterSection
9
+ * Use FilterHeadingContainer component inside FilterContainer
10
10
  * for filters heading title and close icon(for mobiles).
11
11
  * When the Filters are being used inside a Drawer component, you don't have to
12
- * use the FilterHeading component
12
+ * use the FilterHeadingContainer component
13
13
  */
14
- export var FilterHeading = /*#__PURE__*/React.forwardRef(function FilterHeading(_ref, ref) {
14
+ export var FilterHeadingContainer = /*#__PURE__*/React.forwardRef(function FilterHeadingContainer(_ref, ref) {
15
15
  var className = _ref.className,
16
16
  children = _ref.children,
17
17
  props = _objectWithoutProperties(_ref, _excluded);
@@ -22,4 +22,4 @@ export var FilterHeading = /*#__PURE__*/React.forwardRef(function FilterHeading(
22
22
  className: clsx(className, true && 'govgr-filter__heading')
23
23
  }, props), children);
24
24
  });
25
- export default FilterHeading;
25
+ export default FilterHeadingContainer;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { mount } from 'enzyme';
3
+ import FilterHeadingContainer from '@digigov/react-core/FilterHeadingContainer';
4
+
5
+ var _ref = /*#__PURE__*/React.createElement(FilterHeadingContainer, null, "hello");
6
+
7
+ it('renders the FilterHeadingContainer with no props', function () {
8
+ expect(mount(_ref)).toMatchSnapshot();
9
+ });
@@ -1,24 +1,22 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
- var _excluded = ["indicator", "className", "children"];
3
+ var _excluded = ["className", "children"];
4
4
  import React from 'react';
5
5
  import clsx from 'clsx';
6
6
  import Base from '@digigov/react-core/Base';
7
7
 
8
8
  /**
9
9
  * FilterSelectedSection is a wrapper for the area of the selected filters
10
- * It can be used separately in the page by setting the indicator prop to true
11
10
  */
12
11
  export var FilterSelectedSection = /*#__PURE__*/React.forwardRef(function FilterSelectedSection(_ref, ref) {
13
- var indicator = _ref.indicator,
14
- className = _ref.className,
12
+ var className = _ref.className,
15
13
  children = _ref.children,
16
14
  props = _objectWithoutProperties(_ref, _excluded);
17
15
 
18
16
  return /*#__PURE__*/React.createElement(Base, _extends({
19
17
  as: "div",
20
18
  ref: ref,
21
- className: clsx(className, indicator && 'govgr-filter__selected--indicator', true && 'govgr-filter__selected')
19
+ className: clsx(className, true && 'govgr-filter__selected')
22
20
  }, props), children);
23
21
  });
24
22
  export default FilterSelectedSection;
@@ -2,15 +2,28 @@
2
2
 
3
3
  exports[`renders the FooterContainer with no props 1`] = `
4
4
  <ForwardRef(FooterContainer)>
5
- <ForwardRef(Base)
6
- as="div"
7
- className="govgr-container"
5
+ <ForwardRef(Container)
6
+ grid={false}
8
7
  >
9
- <div
8
+ <ForwardRef(Base)
9
+ as="div"
10
10
  className="govgr-container"
11
11
  >
12
- hello
13
- </div>
14
- </ForwardRef(Base)>
12
+ <div
13
+ className="govgr-container"
14
+ >
15
+ <ForwardRef(Base)
16
+ as="div"
17
+ className=""
18
+ >
19
+ <div
20
+ className=""
21
+ >
22
+ hello
23
+ </div>
24
+ </ForwardRef(Base)>
25
+ </div>
26
+ </ForwardRef(Base)>
27
+ </ForwardRef(Container)>
15
28
  </ForwardRef(FooterContainer)>
16
29
  `;
@@ -1,24 +1,19 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
- var _excluded = ["className", "fullWidth", "children"];
3
+ var _excluded = ["children"];
4
4
  import React from 'react';
5
- import clsx from 'clsx';
6
- import Base from '@digigov/react-core/Base';
5
+ import Container from '@digigov/react-core/Container';
7
6
 
8
7
  /**
9
8
  * FooterContainer mush be used inside the Footer component. It has no props.
10
9
  */
11
10
  export var FooterContainer = /*#__PURE__*/React.forwardRef(function FooterContainer(_ref, ref) {
12
- var className = _ref.className,
13
- _ref$fullWidth = _ref.fullWidth,
14
- fullWidth = _ref$fullWidth === void 0 ? false : _ref$fullWidth,
15
- children = _ref.children,
11
+ var children = _ref.children,
16
12
  props = _objectWithoutProperties(_ref, _excluded);
17
13
 
18
- return /*#__PURE__*/React.createElement(Base, _extends({
19
- as: "div",
14
+ return /*#__PURE__*/React.createElement(Container, _extends({
20
15
  ref: ref,
21
- className: clsx(className, fullWidth && 'govgr-container--full-width', true && 'govgr-container')
16
+ grid: false
22
17
  }, props), children);
23
18
  });
24
19
  export default FooterContainer;
@@ -6,7 +6,7 @@ import clsx from 'clsx';
6
6
  import Base from '@digigov/react-core/Base';
7
7
 
8
8
  /**
9
- * FooterContent is used inside the FooterMetaItem.
9
+ * FooterContent is used inside the FooterInfoSection.
10
10
  * In this component, we place the basic content of the footer (ex. Copyright, extra logos, inline list).
11
11
  */
12
12
  export var FooterContent = /*#__PURE__*/React.forwardRef(function FooterContent(_ref, ref) {
@@ -2,16 +2,22 @@
2
2
 
3
3
  exports[`renders the FooterHeading with no props 1`] = `
4
4
  <ForwardRef(FooterHeading)>
5
- <ForwardRef(Base)
6
- as="h2"
7
- className="govgr-heading-sm govgr-footer__heading"
5
+ <ForwardRef(Heading)
6
+ className="govgr-footer__heading"
7
+ element="h2"
8
+ size="sm"
8
9
  >
9
- <h2
10
- className="govgr-heading-sm govgr-footer__heading"
10
+ <ForwardRef(Base)
11
+ as="h2"
12
+ className="govgr-footer__heading govgr-heading-sm"
11
13
  >
12
- hello
13
- </h2>
14
- </ForwardRef(Base)>
14
+ <h2
15
+ className="govgr-footer__heading govgr-heading-sm"
16
+ >
17
+ hello
18
+ </h2>
19
+ </ForwardRef(Base)>
20
+ </ForwardRef(Heading)>
15
21
  </ForwardRef(FooterHeading)>
16
22
  `;
17
23
 
@@ -19,16 +25,22 @@ exports[`renders the FooterHeading with size=m 1`] = `
19
25
  <ForwardRef(FooterHeading)
20
26
  size="md"
21
27
  >
22
- <ForwardRef(Base)
23
- as="h2"
24
- className="govgr-heading-md govgr-footer__heading"
28
+ <ForwardRef(Heading)
29
+ className="govgr-footer__heading"
30
+ element="h2"
31
+ size="md"
25
32
  >
26
- <h2
27
- className="govgr-heading-md govgr-footer__heading"
33
+ <ForwardRef(Base)
34
+ as="h2"
35
+ className="govgr-footer__heading govgr-heading-md"
28
36
  >
29
- hello
30
- </h2>
31
- </ForwardRef(Base)>
37
+ <h2
38
+ className="govgr-footer__heading govgr-heading-md"
39
+ >
40
+ hello
41
+ </h2>
42
+ </ForwardRef(Base)>
43
+ </ForwardRef(Heading)>
32
44
  </ForwardRef(FooterHeading)>
33
45
  `;
34
46
 
@@ -36,15 +48,21 @@ exports[`renders the FooterHeading with size=s 1`] = `
36
48
  <ForwardRef(FooterHeading)
37
49
  size="sm"
38
50
  >
39
- <ForwardRef(Base)
40
- as="h2"
41
- className="govgr-heading-sm govgr-footer__heading"
51
+ <ForwardRef(Heading)
52
+ className="govgr-footer__heading"
53
+ element="h2"
54
+ size="sm"
42
55
  >
43
- <h2
44
- className="govgr-heading-sm govgr-footer__heading"
56
+ <ForwardRef(Base)
57
+ as="h2"
58
+ className="govgr-footer__heading govgr-heading-sm"
45
59
  >
46
- hello
47
- </h2>
48
- </ForwardRef(Base)>
60
+ <h2
61
+ className="govgr-footer__heading govgr-heading-sm"
62
+ >
63
+ hello
64
+ </h2>
65
+ </ForwardRef(Base)>
66
+ </ForwardRef(Heading)>
49
67
  </ForwardRef(FooterHeading)>
50
68
  `;
@@ -1,9 +1,9 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
- var _excluded = ["size", "className", "children"];
3
+ var _excluded = ["size", "element", "className", "children"];
4
4
  import React from 'react';
5
5
  import clsx from 'clsx';
6
- import Base from '@digigov/react-core/Base';
6
+ import Heading from '@digigov/react-core/Heading';
7
7
 
8
8
  /**
9
9
  * FooterHeading is a component used for heading in the footer.
@@ -11,14 +11,17 @@ import Base from '@digigov/react-core/Base';
11
11
  export var FooterHeading = /*#__PURE__*/React.forwardRef(function FooterHeading(_ref, ref) {
12
12
  var _ref$size = _ref.size,
13
13
  size = _ref$size === void 0 ? 'sm' : _ref$size,
14
+ _ref$element = _ref.element,
15
+ element = _ref$element === void 0 ? 'h2' : _ref$element,
14
16
  className = _ref.className,
15
17
  children = _ref.children,
16
18
  props = _objectWithoutProperties(_ref, _excluded);
17
19
 
18
- return /*#__PURE__*/React.createElement(Base, _extends({
19
- as: "h2",
20
+ return /*#__PURE__*/React.createElement(Heading, _extends({
21
+ element: element,
20
22
  ref: ref,
21
- className: clsx(className, size === 'md' && 'govgr-heading-md', size === 'sm' && 'govgr-heading-sm', true && 'govgr-footer__heading')
23
+ size: size,
24
+ className: clsx(className, true && 'govgr-footer__heading')
22
25
  }, props), children);
23
26
  });
24
27
  export default FooterHeading;
@@ -0,0 +1,16 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`renders the FooterInfo with no props 1`] = `
4
+ <ForwardRef(FooterInfo)>
5
+ <ForwardRef(Base)
6
+ as="div"
7
+ className="govgr-footer__info"
8
+ >
9
+ <div
10
+ className="govgr-footer__info"
11
+ >
12
+ hello
13
+ </div>
14
+ </ForwardRef(Base)>
15
+ </ForwardRef(FooterInfo)>
16
+ `;
@@ -6,11 +6,11 @@ import clsx from 'clsx';
6
6
  import Base from '@digigov/react-core/Base';
7
7
 
8
8
  /**
9
- * FooterMeta is inside the FooterContainer component.
10
- * This component is meant to wrap FooterMetaItem components.
9
+ * FooterInfo is inside the FooterContainer component.
10
+ * This component is meant to wrap FooterInfoSection components.
11
11
  * Semantically, in this component we include the very basic elements of a govgr footer.
12
12
  */
13
- export var FooterMeta = /*#__PURE__*/React.forwardRef(function FooterMeta(_ref, ref) {
13
+ export var FooterInfo = /*#__PURE__*/React.forwardRef(function FooterInfo(_ref, ref) {
14
14
  var className = _ref.className,
15
15
  children = _ref.children,
16
16
  props = _objectWithoutProperties(_ref, _excluded);
@@ -18,7 +18,7 @@ export var FooterMeta = /*#__PURE__*/React.forwardRef(function FooterMeta(_ref,
18
18
  return /*#__PURE__*/React.createElement(Base, _extends({
19
19
  as: "div",
20
20
  ref: ref,
21
- className: clsx(className, true && 'govgr-footer__meta')
21
+ className: clsx(className, true && 'govgr-footer__info')
22
22
  }, props), children);
23
23
  });
24
- export default FooterMeta;
24
+ export default FooterInfo;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { mount } from 'enzyme';
3
+ import FooterInfo from '@digigov/react-core/FooterInfo';
4
+
5
+ var _ref = /*#__PURE__*/React.createElement(FooterInfo, null, "hello");
6
+
7
+ it('renders the FooterInfo with no props', function () {
8
+ expect(mount(_ref)).toMatchSnapshot();
9
+ });
@@ -0,0 +1,50 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`renders the FooterInfoSection with grow=false 1`] = `
4
+ <ForwardRef(FooterInfoSection)
5
+ grow={false}
6
+ >
7
+ <ForwardRef(Base)
8
+ as="section"
9
+ className="govgr-footer__info-section"
10
+ >
11
+ <section
12
+ className="govgr-footer__info-section"
13
+ >
14
+ hello
15
+ </section>
16
+ </ForwardRef(Base)>
17
+ </ForwardRef(FooterInfoSection)>
18
+ `;
19
+
20
+ exports[`renders the FooterInfoSection with grow=true 1`] = `
21
+ <ForwardRef(FooterInfoSection)
22
+ grow={true}
23
+ >
24
+ <ForwardRef(Base)
25
+ as="section"
26
+ className="govgr-footer__info-section govgr-footer__info-section--grow"
27
+ >
28
+ <section
29
+ className="govgr-footer__info-section govgr-footer__info-section--grow"
30
+ >
31
+ hello
32
+ </section>
33
+ </ForwardRef(Base)>
34
+ </ForwardRef(FooterInfoSection)>
35
+ `;
36
+
37
+ exports[`renders the FooterInfoSection with no props 1`] = `
38
+ <ForwardRef(FooterInfoSection)>
39
+ <ForwardRef(Base)
40
+ as="section"
41
+ className="govgr-footer__info-section"
42
+ >
43
+ <section
44
+ className="govgr-footer__info-section"
45
+ >
46
+ hello
47
+ </section>
48
+ </ForwardRef(Base)>
49
+ </ForwardRef(FooterInfoSection)>
50
+ `;
@@ -6,18 +6,18 @@ import clsx from 'clsx';
6
6
  import Base from '@digigov/react-core/Base';
7
7
 
8
8
  /**
9
- * FooterMetaItem is inside the FooterMeta component.
9
+ * FooterInfoSection is inside the FooterInfo component.
10
10
  */
11
- export var FooterMetaItem = /*#__PURE__*/React.forwardRef(function FooterMetaItem(_ref, ref) {
11
+ export var FooterInfoSection = /*#__PURE__*/React.forwardRef(function FooterInfoSection(_ref, ref) {
12
12
  var grow = _ref.grow,
13
13
  className = _ref.className,
14
14
  children = _ref.children,
15
15
  props = _objectWithoutProperties(_ref, _excluded);
16
16
 
17
17
  return /*#__PURE__*/React.createElement(Base, _extends({
18
- as: "div",
18
+ as: "section",
19
19
  ref: ref,
20
- className: clsx(className, true && 'govgr-footer__meta-item', grow && 'govgr-footer__meta-item--grow')
20
+ className: clsx(className, true && 'govgr-footer__info-section', grow && 'govgr-footer__info-section--grow')
21
21
  }, props), children);
22
22
  });
23
- export default FooterMetaItem;
23
+ export default FooterInfoSection;
@@ -0,0 +1,25 @@
1
+ import React from 'react';
2
+ import { mount } from 'enzyme';
3
+ import FooterInfoSection from '@digigov/react-core/FooterInfoSection';
4
+
5
+ var _ref = /*#__PURE__*/React.createElement(FooterInfoSection, null, "hello");
6
+
7
+ it('renders the FooterInfoSection with no props', function () {
8
+ expect(mount(_ref)).toMatchSnapshot();
9
+ });
10
+
11
+ var _ref2 = /*#__PURE__*/React.createElement(FooterInfoSection, {
12
+ grow: true
13
+ }, "hello");
14
+
15
+ it('renders the FooterInfoSection with grow=true', function () {
16
+ expect(mount(_ref2)).toMatchSnapshot();
17
+ });
18
+
19
+ var _ref3 = /*#__PURE__*/React.createElement(FooterInfoSection, {
20
+ grow: false
21
+ }, "hello");
22
+
23
+ it('renders the FooterInfoSection with grow=false', function () {
24
+ expect(mount(_ref3)).toMatchSnapshot();
25
+ });
@@ -1,16 +1,18 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
- var _excluded = ["columns", "className", "children"];
3
+ var _excluded = ["columns", "layout", "className", "children"];
4
4
  import React from 'react';
5
5
  import clsx from 'clsx';
6
6
  import Base from '@digigov/react-core/Base';
7
7
 
8
8
  /**
9
- * FooterList is used inside the FooterSection.
9
+ * FooterList is used inside the FooterNavigationSection.
10
10
  * This component takes a list of FooterListItem component as its children.
11
11
  */
12
12
  export var FooterList = /*#__PURE__*/React.forwardRef(function FooterList(_ref, ref) {
13
13
  var columns = _ref.columns,
14
+ _ref$layout = _ref.layout,
15
+ layout = _ref$layout === void 0 ? 'vertical' : _ref$layout,
14
16
  className = _ref.className,
15
17
  children = _ref.children,
16
18
  props = _objectWithoutProperties(_ref, _excluded);
@@ -18,7 +20,7 @@ export var FooterList = /*#__PURE__*/React.forwardRef(function FooterList(_ref,
18
20
  return /*#__PURE__*/React.createElement(Base, _extends({
19
21
  as: "ul",
20
22
  ref: ref,
21
- className: clsx(className, columns === 2 && 'govgr-footer__list--columns-2', true && 'govgr-footer__list')
23
+ className: clsx(className, layout === 'horizontal' && 'govgr-footer__list--horizontal', layout === 'vertical' && columns === 2 && 'govgr-footer__list--columns-2', true && 'govgr-footer__list')
22
24
  }, props), children);
23
25
  });
24
26
  export default FooterList;
@@ -7,7 +7,7 @@ import Base from '@digigov/react-core/Base';
7
7
 
8
8
  /**
9
9
  * FooterNavigation is optional. This components must be included in the FooterContainer.
10
- * Inside this component we place one or more of the component FooterSection.
10
+ * Inside this component we place one or more of the component FooterNavigationSection.
11
11
  * This component has no props.
12
12
  */
13
13
  export var FooterNavigation = /*#__PURE__*/React.forwardRef(function FooterNavigation(_ref, ref) {
@@ -0,0 +1,20 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`renders the FooterNavigationSection with no props 1`] = `
4
+ <ForwardRef(FooterNavigationSection)
5
+ aria-label="footer navigation section"
6
+ >
7
+ <ForwardRef(Base)
8
+ aria-label="footer navigation section"
9
+ as="section"
10
+ className="govgr-footer__navigation-section"
11
+ >
12
+ <section
13
+ aria-label="footer navigation section"
14
+ className="govgr-footer__navigation-section"
15
+ >
16
+ hello
17
+ </section>
18
+ </ForwardRef(Base)>
19
+ </ForwardRef(FooterNavigationSection)>
20
+ `;
@@ -6,19 +6,19 @@ import clsx from 'clsx';
6
6
  import Base from '@digigov/react-core/Base';
7
7
 
8
8
  /**
9
- * FooterSection must be inside the FooterNavigation.
9
+ * FooterNavigationSection must be inside the FooterNavigation.
10
10
  * Inside this component should be placed the FooterHeading (optional) and the FooterList.
11
11
  * This component has no props.
12
12
  */
13
- export var FooterSection = /*#__PURE__*/React.forwardRef(function FooterSection(_ref, ref) {
13
+ export var FooterNavigationSection = /*#__PURE__*/React.forwardRef(function FooterNavigationSection(_ref, ref) {
14
14
  var className = _ref.className,
15
15
  children = _ref.children,
16
16
  props = _objectWithoutProperties(_ref, _excluded);
17
17
 
18
18
  return /*#__PURE__*/React.createElement(Base, _extends({
19
- as: "div",
19
+ as: "section",
20
20
  ref: ref,
21
- className: clsx(className, true && 'govgr-footer__section')
21
+ className: clsx(className, true && 'govgr-footer__navigation-section')
22
22
  }, props), children);
23
23
  });
24
- export default FooterSection;
24
+ export default FooterNavigationSection;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { mount } from 'enzyme';
3
+ import FooterNavigationSection from '@digigov/react-core/FooterNavigationSection';
4
+
5
+ var _ref = /*#__PURE__*/React.createElement(FooterNavigationSection, {
6
+ "aria-label": "footer navigation section"
7
+ }, "hello");
8
+
9
+ it('renders the FooterNavigationSection with no props', function () {
10
+ expect(mount(_ref)).toMatchSnapshot();
11
+ });
package/esm/Grid/index.js CHANGED
@@ -28,7 +28,7 @@ export var Grid = /*#__PURE__*/React.forwardRef(function Grid(_ref, ref) {
28
28
  return /*#__PURE__*/React.createElement(Base, _extends({
29
29
  as: as || 'div',
30
30
  ref: ref,
31
- className: clsx(className, container && [spacing === 10 && "govgr-grid__gap-10", spacing === 12 && "govgr-grid__gap-12", spacing === 1 && "govgr-grid__gap-1", spacing === 2 && "govgr-grid__gap-2", spacing === 4 && "govgr-grid__gap-4", spacing === 6 && "govgr-grid__gap-6", spacing === 8 && "govgr-grid__gap-8", inline && 'govgr-grid-inline', 'govgr-grid'], item && [xs === 'auto' && "xs:govgr-grid__col-auto", sm === 'auto' && "sm:govgr-grid__col-auto", md === 'auto' && "md:govgr-grid__col-auto", lg === 'auto' && "lg:govgr-grid__col-auto", xl === 'auto' && "xl:govgr-grid__col-auto", xs === 10 && "xs:govgr-grid__col-span-10", xs === 11 && "xs:govgr-grid__col-span-11", xs === 12 && "xs:govgr-grid__col-span-12", sm === 10 && "sm:govgr-grid__col-span-10", sm === 11 && "sm:govgr-grid__col-span-11", sm === 12 && "sm:govgr-grid__col-span-12", md === 10 && "md:govgr-grid__col-span-10", md === 11 && "md:govgr-grid__col-span-11", md === 12 && "md:govgr-grid__col-span-12", lg === 10 && "lg:govgr-grid__col-span-10", lg === 11 && "lg:govgr-grid__col-span-11", lg === 12 && "lg:govgr-grid__col-span-12", xl === 10 && "xl:govgr-grid__col-span-10", xl === 11 && "xl:govgr-grid__col-span-11", xl === 12 && "xl:govgr-grid__col-span-12", xs === 1 && "xs:govgr-grid__col-span-1", xs === 2 && "xs:govgr-grid__col-span-2", xs === 3 && "xs:govgr-grid__col-span-3", xs === 4 && "xs:govgr-grid__col-span-4", xs === 5 && "xs:govgr-grid__col-span-5", xs === 6 && "xs:govgr-grid__col-span-6", xs === 7 && "xs:govgr-grid__col-span-7", xs === 8 && "xs:govgr-grid__col-span-8", xs === 9 && "xs:govgr-grid__col-span-9", sm === 1 && "sm:govgr-grid__col-span-1", sm === 2 && "sm:govgr-grid__col-span-2", sm === 3 && "sm:govgr-grid__col-span-3", sm === 4 && "sm:govgr-grid__col-span-4", sm === 5 && "sm:govgr-grid__col-span-5", sm === 6 && "sm:govgr-grid__col-span-6", sm === 7 && "sm:govgr-grid__col-span-7", sm === 8 && "sm:govgr-grid__col-span-8", sm === 9 && "sm:govgr-grid__col-span-9", md === 1 && "md:govgr-grid__col-span-1", md === 2 && "md:govgr-grid__col-span-2", md === 3 && "md:govgr-grid__col-span-3", md === 4 && "md:govgr-grid__col-span-4", md === 5 && "md:govgr-grid__col-span-5", md === 6 && "md:govgr-grid__col-span-6", md === 7 && "md:govgr-grid__col-span-7", md === 8 && "md:govgr-grid__col-span-8", md === 9 && "md:govgr-grid__col-span-9", lg === 1 && "lg:govgr-grid__col-span-1", lg === 2 && "lg:govgr-grid__col-span-2", lg === 3 && "lg:govgr-grid__col-span-3", lg === 4 && "lg:govgr-grid__col-span-4", lg === 5 && "lg:govgr-grid__col-span-5", lg === 6 && "lg:govgr-grid__col-span-6", lg === 7 && "lg:govgr-grid__col-span-7", lg === 8 && "lg:govgr-grid__col-span-8", lg === 9 && "lg:govgr-grid__col-span-9", xl === 1 && "xl:govgr-grid__col-span-1", xl === 2 && "xl:govgr-grid__col-span-2", xl === 3 && "xl:govgr-grid__col-span-3", xl === 4 && "xl:govgr-grid__col-span-4", xl === 5 && "xl:govgr-grid__col-span-5", xl === 6 && "xl:govgr-grid__col-span-6", xl === 7 && "xl:govgr-grid__col-span-7", xl === 8 && "xl:govgr-grid__col-span-8", xl === 9 && "xl:govgr-grid__col-span-9"])
31
+ className: clsx(className, container && [spacing !== undefined && "govgr-gap-".concat(spacing), inline && 'govgr-grid-inline', 'govgr-grid'], item && [xs !== undefined && "xs:govgr-grid__col-span-".concat(xs), sm !== undefined && "sm:govgr-grid__col-span-".concat(sm), md !== undefined && "md:govgr-grid__col-span-".concat(md), lg !== undefined && "lg:govgr-grid__col-span-".concat(lg), xl !== undefined && "xl:govgr-grid__col-span-".concat(xl)])
32
32
  }, props), children);
33
33
  });
34
34
  export default Grid;
@@ -4,10 +4,10 @@ exports[`renders the HeaderSection with no props 1`] = `
4
4
  <ForwardRef(HeaderSection)>
5
5
  <ForwardRef(Base)
6
6
  as="div"
7
- className="govgr-header__container"
7
+ className="govgr-header__section"
8
8
  >
9
9
  <div
10
- className="govgr-header__container"
10
+ className="govgr-header__section"
11
11
  >
12
12
  hello
13
13
  </div>
@@ -16,7 +16,7 @@ export var HeaderSection = /*#__PURE__*/React.forwardRef(function HeaderSection(
16
16
  return /*#__PURE__*/React.createElement(Base, _extends({
17
17
  as: "div",
18
18
  ref: ref,
19
- className: clsx(className, true && 'govgr-header__container')
19
+ className: clsx(className, true && 'govgr-header__section')
20
20
  }, props), children);
21
21
  });
22
22
  export default HeaderSection;