@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
@@ -9,7 +9,7 @@ export interface FileUploadContainerProps extends BaseProps<'div'> {
9
9
  * @value false
10
10
  * @default false
11
11
  */
12
- hasUploadedFile?: boolean;
12
+ hasFiles?: boolean;
13
13
  }
14
14
  /**
15
15
  * Details for the FileUploadContainer.
@@ -19,7 +19,7 @@ export const FileUploadContainer = React.forwardRef<
19
19
  HTMLDivElement,
20
20
  FileUploadContainerProps
21
21
  >(function FileUploadContainer(
22
- { className, children, hasUploadedFile = false, ...props },
22
+ { className, children, hasFiles = false, ...props },
23
23
  ref
24
24
  ) {
25
25
  return (
@@ -27,7 +27,7 @@ export const FileUploadContainer = React.forwardRef<
27
27
  ref={ref}
28
28
  as="div"
29
29
  className={clsx(className, {
30
- 'govgr-uploaded-file': hasUploadedFile,
30
+ 'govgr-uploaded-file': hasFiles,
31
31
  })}
32
32
  {...props}
33
33
  >
@@ -0,0 +1,16 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`renders the FilterContainer with no props 1`] = `
4
+ <ForwardRef(FilterContainer)>
5
+ <ForwardRef(Base)
6
+ as="div"
7
+ className="govgr-filter--position-relative-md govgr-filter--border govgr-filter--closed govgr-filter"
8
+ >
9
+ <div
10
+ className="govgr-filter--position-relative-md govgr-filter--border govgr-filter--closed govgr-filter"
11
+ >
12
+ hello
13
+ </div>
14
+ </ForwardRef(Base)>
15
+ </ForwardRef(FilterContainer)>
16
+ `;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { mount } from 'enzyme';
3
+
4
+ import FilterContainer from '@digigov/react-core/FilterContainer';
5
+
6
+ it('renders the FilterContainer with no props', () => {
7
+ expect(mount(<FilterContainer>hello</FilterContainer>)).toMatchSnapshot();
8
+ });
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import clsx from 'clsx';
3
3
  import Base, { BaseProps } from '@digigov/react-core/Base';
4
4
 
5
- export interface FilterSectionProps extends BaseProps<'div'> {
5
+ export interface FilterContainerProps extends BaseProps<'div'> {
6
6
  /**
7
7
  * Use open prop to open the filters when at mobile.
8
8
  * The default value is false.
@@ -35,14 +35,14 @@ export interface FilterSectionProps extends BaseProps<'div'> {
35
35
  }
36
36
 
37
37
  /**
38
- * Use FilterSection component to wrap the filter section area of the page
38
+ * Use FilterContainer component to wrap the filter area of the page
39
39
  * When the Filters are being used inside a Drawer component, you don't have to
40
- * use the FilterSection component
40
+ * use the FilterContainer component
41
41
  */
42
- export const FilterSection = React.forwardRef<
42
+ export const FilterContainer = React.forwardRef<
43
43
  HTMLDivElement,
44
- FilterSectionProps
45
- >(function FilterSection(
44
+ FilterContainerProps
45
+ >(function FilterContainer(
46
46
  {
47
47
  className,
48
48
  border = true,
@@ -73,4 +73,4 @@ export const FilterSection = React.forwardRef<
73
73
  );
74
74
  });
75
75
 
76
- export default FilterSection;
76
+ export default FilterContainer;
@@ -2,9 +2,9 @@ import React from 'react';
2
2
  import clsx from 'clsx';
3
3
  import Base, { BaseProps } from '@digigov/react-core/Base';
4
4
 
5
- export interface FilterContentProps extends BaseProps<'div'> {}
5
+ export interface FilterContentProps extends BaseProps<'div'> { }
6
6
  /**
7
- * Use FilterContent inside FilterSection as a wrapper for its content
7
+ * Use FilterContent inside FilterContainer as a wrapper for its content
8
8
  */
9
9
  export const FilterContent = React.forwardRef<
10
10
  HTMLDivElement,
@@ -1,7 +1,7 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`renders the FilterHeading with no props 1`] = `
4
- <ForwardRef(FilterHeading)>
3
+ exports[`renders the FilterHeadingContainer with no props 1`] = `
4
+ <ForwardRef(FilterHeadingContainer)>
5
5
  <ForwardRef(Base)
6
6
  as="div"
7
7
  className="govgr-filter__heading"
@@ -12,5 +12,5 @@ exports[`renders the FilterHeading with no props 1`] = `
12
12
  hello
13
13
  </div>
14
14
  </ForwardRef(Base)>
15
- </ForwardRef(FilterHeading)>
15
+ </ForwardRef(FilterHeadingContainer)>
16
16
  `;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { mount } from 'enzyme';
3
+
4
+ import FilterHeadingContainer from '@digigov/react-core/FilterHeadingContainer';
5
+
6
+ it('renders the FilterHeadingContainer with no props', () => {
7
+ expect(mount(<FilterHeadingContainer>hello</FilterHeadingContainer>)).toMatchSnapshot();
8
+ });
@@ -2,17 +2,17 @@ import React from 'react';
2
2
  import clsx from 'clsx';
3
3
  import Base, { BaseProps } from '@digigov/react-core/Base';
4
4
 
5
- export interface FilterHeadingProps extends BaseProps<'div'> {}
5
+ export interface FilterHeadingContainerProps extends BaseProps<'div'> { }
6
6
  /**
7
- * Use FilterHeading component inside FilterSection
7
+ * Use FilterHeadingContainer component inside FilterContainer
8
8
  * for filters heading title and close icon(for mobiles).
9
9
  * When the Filters are being used inside a Drawer component, you don't have to
10
- * use the FilterHeading component
10
+ * use the FilterHeadingContainer component
11
11
  */
12
- export const FilterHeading = React.forwardRef<
12
+ export const FilterHeadingContainer = React.forwardRef<
13
13
  HTMLDivElement,
14
- FilterHeadingProps
15
- >(function FilterHeading({ className, children, ...props }, ref) {
14
+ FilterHeadingContainerProps
15
+ >(function FilterHeadingContainer({ className, children, ...props }, ref) {
16
16
  return (
17
17
  <Base
18
18
  as="div"
@@ -27,4 +27,4 @@ export const FilterHeading = React.forwardRef<
27
27
  );
28
28
  });
29
29
 
30
- export default FilterHeading;
30
+ export default FilterHeadingContainer;
@@ -2,30 +2,19 @@ import React from 'react';
2
2
  import clsx from 'clsx';
3
3
  import Base, { BaseProps } from '@digigov/react-core/Base';
4
4
 
5
- export interface FilterSelectedSectionProps extends BaseProps<'div'> {
6
- /**
7
- * @value true
8
- * @value false
9
- */
10
- indicator?: boolean
11
- }
5
+ export interface FilterSelectedSectionProps extends BaseProps<'div'> {}
12
6
  /**
13
7
  * FilterSelectedSection is a wrapper for the area of the selected filters
14
- * It can be used separately in the page by setting the indicator prop to true
15
8
  */
16
9
  export const FilterSelectedSection = React.forwardRef<
17
10
  HTMLDivElement,
18
11
  FilterSelectedSectionProps
19
- >(function FilterSelectedSection(
20
- { indicator, className, children, ...props },
21
- ref
22
- ) {
12
+ >(function FilterSelectedSection({ className, children, ...props }, ref) {
23
13
  return (
24
14
  <Base
25
15
  as="div"
26
16
  ref={ref}
27
17
  className={clsx(className, {
28
- 'govgr-filter__selected--indicator': indicator,
29
18
  'govgr-filter__selected': true,
30
19
  })}
31
20
  {...props}
@@ -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,40 +1,18 @@
1
1
  import React from 'react';
2
- import clsx from 'clsx';
3
- import Base, { BaseProps } from '@digigov/react-core/Base';
2
+ import Container, { ContainerProps } from '@digigov/react-core/Container';
4
3
 
5
- export interface FooterContainerProps extends BaseProps<'div'> {
6
- /**
7
- * fullWidth is optional.
8
- * fullWidth property is used to give full width to FooterContainer component.
9
- * fullWidth property places the footer elements at the edges of the container.
10
- * @value true
11
- * @value false
12
- * @default false
13
- */
14
- fullWidth?: boolean;
15
- }
4
+ export interface FooterContainerProps extends ContainerProps {}
16
5
  /**
17
6
  * FooterContainer mush be used inside the Footer component. It has no props.
18
7
  */
19
8
  export const FooterContainer = React.forwardRef<
20
9
  HTMLDivElement,
21
10
  FooterContainerProps
22
- >(function FooterContainer(
23
- { className, fullWidth = false, children, ...props },
24
- ref
25
- ) {
11
+ >(function FooterContainer({ children, ...props }, ref) {
26
12
  return (
27
- <Base
28
- as="div"
29
- ref={ref}
30
- className={clsx(className, {
31
- 'govgr-container': true,
32
- 'govgr-container--full-width': fullWidth,
33
- })}
34
- {...props}
35
- >
13
+ <Container ref={ref} grid={false} {...props}>
36
14
  {children}
37
- </Base>
15
+ </Container>
38
16
  );
39
17
  });
40
18
 
@@ -4,7 +4,7 @@ import Base, { BaseProps } from '@digigov/react-core/Base';
4
4
 
5
5
  export interface FooterContentProps extends BaseProps<'div'> {}
6
6
  /**
7
- * FooterContent is used inside the FooterMetaItem.
7
+ * FooterContent is used inside the FooterInfoSection.
8
8
  * In this component, we place the basic content of the footer (ex. Copyright, extra logos, inline list).
9
9
  */
10
10
  export const FooterContent = React.forwardRef<
@@ -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,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import clsx from 'clsx';
3
- import Base, { BaseProps } from '@digigov/react-core/Base';
3
+ import Heading, { HeadingProps } from '@digigov/react-core/Heading';
4
4
 
5
- export interface FooterHeadingProps extends BaseProps<'h2'> {
5
+ export interface FooterHeadingProps extends Omit<HeadingProps, 'size'> {
6
6
  /**
7
7
  * size is optional.
8
8
  * The values are: 'md' for medium, 'sm' for small.
@@ -19,20 +19,22 @@ export interface FooterHeadingProps extends BaseProps<'h2'> {
19
19
  export const FooterHeading = React.forwardRef<
20
20
  HTMLHeadingElement,
21
21
  FooterHeadingProps
22
- >(function FooterHeading({ size = 'sm', className, children, ...props }, ref) {
22
+ >(function FooterHeading(
23
+ { size = 'sm', element = 'h2', className, children, ...props },
24
+ ref
25
+ ) {
23
26
  return (
24
- <Base
25
- as="h2"
27
+ <Heading
28
+ element={element}
26
29
  ref={ref}
30
+ size={size}
27
31
  className={clsx(className, {
28
32
  'govgr-footer__heading': true,
29
- 'govgr-heading-md': size === 'md',
30
- 'govgr-heading-sm': size === 'sm',
31
33
  })}
32
34
  {...props}
33
35
  >
34
36
  {children}
35
- </Base>
37
+ </Heading>
36
38
  );
37
39
  });
38
40
 
@@ -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
+ `;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { mount } from 'enzyme';
3
+
4
+ import FooterInfo from '@digigov/react-core/FooterInfo';
5
+
6
+ it('renders the FooterInfo with no props', () => {
7
+ expect(mount(<FooterInfo>hello</FooterInfo>)).toMatchSnapshot();
8
+ });
@@ -2,20 +2,20 @@ import React from 'react';
2
2
  import clsx from 'clsx';
3
3
  import Base, { BaseProps } from '@digigov/react-core/Base';
4
4
 
5
- export interface FooterMetaProps extends BaseProps<'div'> {}
5
+ export interface FooterInfoProps extends BaseProps<'div'> {}
6
6
  /**
7
- * FooterMeta is inside the FooterContainer component.
8
- * This component is meant to wrap FooterMetaItem components.
7
+ * FooterInfo is inside the FooterContainer component.
8
+ * This component is meant to wrap FooterInfoSection components.
9
9
  * Semantically, in this component we include the very basic elements of a govgr footer.
10
10
  */
11
- export const FooterMeta = React.forwardRef<HTMLDivElement, FooterMetaProps>(
12
- function FooterMeta({ className, children, ...props }, ref) {
11
+ export const FooterInfo = React.forwardRef<HTMLDivElement, FooterInfoProps>(
12
+ function FooterInfo({ className, children, ...props }, ref) {
13
13
  return (
14
14
  <Base
15
15
  as="div"
16
16
  ref={ref}
17
17
  className={clsx(className, {
18
- 'govgr-footer__meta': true,
18
+ 'govgr-footer__info': true,
19
19
  })}
20
20
  {...props}
21
21
  >
@@ -25,4 +25,4 @@ export const FooterMeta = React.forwardRef<HTMLDivElement, FooterMetaProps>(
25
25
  }
26
26
  );
27
27
 
28
- export default FooterMeta;
28
+ export default FooterInfo;
@@ -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
+ `;
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import { mount } from 'enzyme';
3
+
4
+ import FooterInfoSection from '@digigov/react-core/FooterInfoSection';
5
+
6
+ it('renders the FooterInfoSection with no props', () => {
7
+ expect(mount(<FooterInfoSection>hello</FooterInfoSection>)).toMatchSnapshot();
8
+ });
9
+
10
+ it('renders the FooterInfoSection with grow=true', () => {
11
+ expect(
12
+ mount(<FooterInfoSection grow={true}>hello</FooterInfoSection>)
13
+ ).toMatchSnapshot();
14
+ });
15
+
16
+ it('renders the FooterInfoSection with grow=false', () => {
17
+ expect(
18
+ mount(<FooterInfoSection grow={false}>hello</FooterInfoSection>)
19
+ ).toMatchSnapshot();
20
+ });
@@ -0,0 +1,34 @@
1
+ import React from 'react';
2
+ import clsx from 'clsx';
3
+ import Base, { BaseProps } from '@digigov/react-core/Base';
4
+
5
+ export interface FooterInfoSectionProps extends BaseProps<'section'> {
6
+ /**
7
+ * grow is optional.
8
+ * Use this prop If wanted this component to have it's maximum grow.
9
+ */
10
+ grow?: boolean;
11
+ }
12
+ /**
13
+ * FooterInfoSection is inside the FooterInfo component.
14
+ */
15
+ export const FooterInfoSection = React.forwardRef<
16
+ HTMLDivElement,
17
+ FooterInfoSectionProps
18
+ >(function FooterInfoSection({ grow, className, children, ...props }, ref) {
19
+ return (
20
+ <Base
21
+ as="section"
22
+ ref={ref}
23
+ className={clsx(className, {
24
+ 'govgr-footer__info-section': true,
25
+ 'govgr-footer__info-section--grow': grow,
26
+ })}
27
+ {...props}
28
+ >
29
+ {children}
30
+ </Base>
31
+ );
32
+ });
33
+
34
+ export default FooterInfoSection;
@@ -10,20 +10,28 @@ export interface FooterListProps extends BaseProps<'ul'> {
10
10
  * @value 2
11
11
  */
12
12
  columns?: 1 | 2;
13
+
14
+ /**
15
+ * layout is optional.
16
+ * The default value is vertical. Use horizontal to make a horizontal list.
17
+ * If it is horizontal, it can't have columns.
18
+ */
19
+ layout?: 'horizontal' | 'vertical';
13
20
  }
14
21
  /**
15
- * FooterList is used inside the FooterSection.
22
+ * FooterList is used inside the FooterNavigationSection.
16
23
  * This component takes a list of FooterListItem component as its children.
17
24
  */
18
25
  export const FooterList = React.forwardRef<HTMLUListElement, FooterListProps>(
19
- function FooterList({ columns, className, children, ...props }, ref) {
26
+ function FooterList({ columns,layout= 'vertical', className, children, ...props }, ref) {
20
27
  return (
21
28
  <Base
22
29
  as="ul"
23
30
  ref={ref}
24
31
  className={clsx(className, {
25
32
  'govgr-footer__list': true,
26
- 'govgr-footer__list--columns-2': columns === 2,
33
+ 'govgr-footer__list--columns-2': columns === 2 && layout==='vertical',
34
+ 'govgr-footer__list--horizontal': layout==='horizontal',
27
35
  })}
28
36
  {...props}
29
37
  >
@@ -5,7 +5,7 @@ import Base, { BaseProps } from '@digigov/react-core/Base';
5
5
  export interface FooterNavigationProps extends BaseProps<'div'> {}
6
6
  /**
7
7
  * FooterNavigation is optional. This components must be included in the FooterContainer.
8
- * Inside this component we place one or more of the component FooterSection.
8
+ * Inside this component we place one or more of the component FooterNavigationSection.
9
9
  * This component has no props.
10
10
  */
11
11
  export const FooterNavigation = React.forwardRef<
@@ -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
+ `;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { mount } from 'enzyme';
3
+
4
+ import FooterNavigationSection from '@digigov/react-core/FooterNavigationSection';
5
+
6
+ it('renders the FooterNavigationSection with no props', () => {
7
+ expect(mount(<FooterNavigationSection aria-label='footer navigation section'>hello</FooterNavigationSection>)).toMatchSnapshot();
8
+ });