@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
@@ -1,27 +1,29 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
- var _excluded = ["variant", "fontSize", "fontWeight", "className", "children"];
3
+ var _excluded = ["size", "fontSize", "fontWeight", "className", "children"];
4
4
  import React from 'react';
5
5
  import clsx from 'clsx';
6
- import Base from '@digigov/react-core/Base';
6
+ import Typography from '@digigov/react-core/Typography';
7
7
 
8
8
  /**
9
9
  * NormalText component is used for text formatting.
10
10
  * If you need a paragraph, use the Paragraph component instead.
11
11
  */
12
12
  export var NormalText = /*#__PURE__*/React.forwardRef(function NormalText(_ref, ref) {
13
- var _ref$variant = _ref.variant,
14
- variant = _ref$variant === void 0 ? 'md' : _ref$variant,
13
+ var _ref$size = _ref.size,
14
+ size = _ref$size === void 0 ? 'md' : _ref$size,
15
15
  fontSize = _ref.fontSize,
16
16
  fontWeight = _ref.fontWeight,
17
17
  className = _ref.className,
18
18
  children = _ref.children,
19
19
  props = _objectWithoutProperties(_ref, _excluded);
20
20
 
21
- return /*#__PURE__*/React.createElement(Base, _extends({
21
+ return /*#__PURE__*/React.createElement(Typography, _extends({
22
22
  as: "span",
23
+ fontWeight: fontWeight,
24
+ fontSize: fontSize,
23
25
  ref: ref,
24
- className: clsx(className, fontWeight == 'regular' && 'govgr-!-font-weight-regular', fontWeight == 'bold' && 'govgr-!-font-weight-bold', fontSize === '14' && 'govgr-!-font-size-14', fontSize === '16' && 'govgr-!-font-size-16', fontSize === '19' && 'govgr-!-font-size-19', fontSize === '24' && 'govgr-!-font-size-24', fontSize === '30' && 'govgr-!-font-size-30', fontSize === '36' && 'govgr-!-font-size-36', fontSize === '48' && 'govgr-!-font-size-48', fontSize === '72' && 'govgr-!-font-size-72', variant === 'lg' && 'govgr-body-lg', variant === 'sm' && 'govgr-body-sm', true && 'govgr-body')
26
+ className: clsx(className, size === 'lg' && 'govgr-body-lg', size === 'sm' && 'govgr-body-sm', true && 'govgr-body')
25
27
  }, props), children);
26
28
  });
27
29
  export default NormalText;
@@ -9,26 +9,26 @@ it('renders the NormalText with no props', function () {
9
9
  });
10
10
 
11
11
  var _ref2 = /*#__PURE__*/React.createElement(NormalText, {
12
- variant: 'lg'
12
+ size: 'lg'
13
13
  }, "hello");
14
14
 
15
- it('renders the NormalText with variant=lead', function () {
15
+ it('renders the NormalText with size=lead', function () {
16
16
  expect(mount(_ref2)).toMatchSnapshot();
17
17
  });
18
18
 
19
19
  var _ref3 = /*#__PURE__*/React.createElement(NormalText, {
20
- variant: 'md'
20
+ size: 'md'
21
21
  }, "hello");
22
22
 
23
- it('renders the NormalText with variant=normal', function () {
23
+ it('renders the NormalText with size=normal', function () {
24
24
  expect(mount(_ref3)).toMatchSnapshot();
25
25
  });
26
26
 
27
27
  var _ref4 = /*#__PURE__*/React.createElement(NormalText, {
28
- variant: 'sm'
28
+ size: 'sm'
29
29
  }, "hello");
30
30
 
31
- it('renders the NormalText with variant=small', function () {
31
+ it('renders the NormalText with size=small', function () {
32
32
  expect(mount(_ref4)).toMatchSnapshot();
33
33
  });
34
34
 
@@ -49,7 +49,7 @@ it('renders the NormalText with fontWeight=bold', function () {
49
49
  });
50
50
 
51
51
  var _ref7 = /*#__PURE__*/React.createElement(NormalText, {
52
- fontSize: '14'
52
+ fontSize: 14
53
53
  }, "hello");
54
54
 
55
55
  it('renders the NormalText with fontSize=14', function () {
@@ -57,7 +57,7 @@ it('renders the NormalText with fontSize=14', function () {
57
57
  });
58
58
 
59
59
  var _ref8 = /*#__PURE__*/React.createElement(NormalText, {
60
- fontSize: '16'
60
+ fontSize: 16
61
61
  }, "hello");
62
62
 
63
63
  it('renders the NormalText with fontSize=16', function () {
@@ -65,7 +65,7 @@ it('renders the NormalText with fontSize=16', function () {
65
65
  });
66
66
 
67
67
  var _ref9 = /*#__PURE__*/React.createElement(NormalText, {
68
- fontSize: '19'
68
+ fontSize: 19
69
69
  }, "hello");
70
70
 
71
71
  it('renders the NormalText with fontSize=19', function () {
@@ -73,7 +73,7 @@ it('renders the NormalText with fontSize=19', function () {
73
73
  });
74
74
 
75
75
  var _ref10 = /*#__PURE__*/React.createElement(NormalText, {
76
- fontSize: '24'
76
+ fontSize: 24
77
77
  }, "hello");
78
78
 
79
79
  it('renders the NormalText with fontSize=24', function () {
@@ -81,7 +81,7 @@ it('renders the NormalText with fontSize=24', function () {
81
81
  });
82
82
 
83
83
  var _ref11 = /*#__PURE__*/React.createElement(NormalText, {
84
- fontSize: '30'
84
+ fontSize: 30
85
85
  }, "hello");
86
86
 
87
87
  it('renders the NormalText with fontSize=30', function () {
@@ -89,7 +89,7 @@ it('renders the NormalText with fontSize=30', function () {
89
89
  });
90
90
 
91
91
  var _ref12 = /*#__PURE__*/React.createElement(NormalText, {
92
- fontSize: '36'
92
+ fontSize: 36
93
93
  }, "hello");
94
94
 
95
95
  it('renders the NormalText with fontSize=36', function () {
@@ -97,7 +97,7 @@ it('renders the NormalText with fontSize=36', function () {
97
97
  });
98
98
 
99
99
  var _ref13 = /*#__PURE__*/React.createElement(NormalText, {
100
- fontSize: '48'
100
+ fontSize: 48
101
101
  }, "hello");
102
102
 
103
103
  it('renders the NormalText with fontSize=48', function () {
@@ -105,7 +105,7 @@ it('renders the NormalText with fontSize=48', function () {
105
105
  });
106
106
 
107
107
  var _ref14 = /*#__PURE__*/React.createElement(NormalText, {
108
- fontSize: '72'
108
+ fontSize: 72
109
109
  }, "hello");
110
110
 
111
111
  it('renders the NormalText with fontSize=72', function () {
@@ -113,237 +113,237 @@ it('renders the NormalText with fontSize=72', function () {
113
113
  });
114
114
 
115
115
  var _ref15 = /*#__PURE__*/React.createElement(NormalText, {
116
- variant: 'lg',
117
- fontSize: '14'
116
+ size: 'lg',
117
+ fontSize: 14
118
118
  }, "hello");
119
119
 
120
- it('renders the NormalText with variant=lead and fontSize=14', function () {
120
+ it('renders the NormalText with size=lead and fontSize=14', function () {
121
121
  expect(mount(_ref15)).toMatchSnapshot();
122
122
  });
123
123
 
124
124
  var _ref16 = /*#__PURE__*/React.createElement(NormalText, {
125
- variant: 'lg',
126
- fontSize: '16'
125
+ size: 'lg',
126
+ fontSize: 16
127
127
  }, "hello");
128
128
 
129
- it('renders the NormalText with variant=lead and ontSize=16', function () {
129
+ it('renders the NormalText with size=lead and ontSize=16', function () {
130
130
  expect(mount(_ref16)).toMatchSnapshot();
131
131
  });
132
132
 
133
133
  var _ref17 = /*#__PURE__*/React.createElement(NormalText, {
134
- variant: 'lg',
135
- fontSize: '19'
134
+ size: 'lg',
135
+ fontSize: 19
136
136
  }, "hello");
137
137
 
138
- it('renders the NormalText with variant=lead and fontSize=19', function () {
138
+ it('renders the NormalText with size=lead and fontSize=19', function () {
139
139
  expect(mount(_ref17)).toMatchSnapshot();
140
140
  });
141
141
 
142
142
  var _ref18 = /*#__PURE__*/React.createElement(NormalText, {
143
- variant: 'lg',
144
- fontSize: '24'
143
+ size: 'lg',
144
+ fontSize: 24
145
145
  }, "hello");
146
146
 
147
- it('renders the NormalText with variant=lead and fontSize=24', function () {
147
+ it('renders the NormalText with size=lead and fontSize=24', function () {
148
148
  expect(mount(_ref18)).toMatchSnapshot();
149
149
  });
150
150
 
151
151
  var _ref19 = /*#__PURE__*/React.createElement(NormalText, {
152
- variant: 'lg',
153
- fontSize: '30'
152
+ size: 'lg',
153
+ fontSize: 30
154
154
  }, "hello");
155
155
 
156
- it('renders the NormalText with variant=lead and fontSize=30', function () {
156
+ it('renders the NormalText with size=lead and fontSize=30', function () {
157
157
  expect(mount(_ref19)).toMatchSnapshot();
158
158
  });
159
159
 
160
160
  var _ref20 = /*#__PURE__*/React.createElement(NormalText, {
161
- variant: 'lg',
162
- fontSize: '36'
161
+ size: 'lg',
162
+ fontSize: 36
163
163
  }, "hello");
164
164
 
165
- it('renders the NormalText with variant=lead and fontSize=36', function () {
165
+ it('renders the NormalText with size=lead and fontSize=36', function () {
166
166
  expect(mount(_ref20)).toMatchSnapshot();
167
167
  });
168
168
 
169
169
  var _ref21 = /*#__PURE__*/React.createElement(NormalText, {
170
- variant: 'lg',
171
- fontSize: '48'
170
+ size: 'lg',
171
+ fontSize: 48
172
172
  }, "hello");
173
173
 
174
- it('renders the NormalText with variant=lead and font size fontSize=48', function () {
174
+ it('renders the NormalText with size=lead and font size fontSize=48', function () {
175
175
  expect(mount(_ref21)).toMatchSnapshot();
176
176
  });
177
177
 
178
178
  var _ref22 = /*#__PURE__*/React.createElement(NormalText, {
179
- variant: 'lg',
180
- fontSize: '72'
179
+ size: 'lg',
180
+ fontSize: 72
181
181
  }, "hello");
182
182
 
183
- it('renders the NormalText with variant=lead and font size fontSize=72', function () {
183
+ it('renders the NormalText with size=lead and font size fontSize=72', function () {
184
184
  expect(mount(_ref22)).toMatchSnapshot();
185
185
  });
186
186
 
187
187
  var _ref23 = /*#__PURE__*/React.createElement(NormalText, {
188
- variant: 'md',
189
- fontSize: '14'
188
+ size: 'md',
189
+ fontSize: 14
190
190
  }, "hello");
191
191
 
192
- it('renders the NormalText with variant=normal and fontSize=14', function () {
192
+ it('renders the NormalText with size=normal and fontSize=14', function () {
193
193
  expect(mount(_ref23)).toMatchSnapshot();
194
194
  });
195
195
 
196
196
  var _ref24 = /*#__PURE__*/React.createElement(NormalText, {
197
- variant: 'md',
198
- fontSize: '16'
197
+ size: 'md',
198
+ fontSize: 16
199
199
  }, "hello");
200
200
 
201
- it('renders the NormalText with variant=normal and ontSize=16', function () {
201
+ it('renders the NormalText with size=normal and ontSize=16', function () {
202
202
  expect(mount(_ref24)).toMatchSnapshot();
203
203
  });
204
204
 
205
205
  var _ref25 = /*#__PURE__*/React.createElement(NormalText, {
206
- variant: 'md',
207
- fontSize: '19'
206
+ size: 'md',
207
+ fontSize: 19
208
208
  }, "hello");
209
209
 
210
- it('renders the NormalText with variant=normal and fontSize=19', function () {
210
+ it('renders the NormalText with size=normal and fontSize=19', function () {
211
211
  expect(mount(_ref25)).toMatchSnapshot();
212
212
  });
213
213
 
214
214
  var _ref26 = /*#__PURE__*/React.createElement(NormalText, {
215
- variant: 'md',
216
- fontSize: '24'
215
+ size: 'md',
216
+ fontSize: 24
217
217
  }, "hello");
218
218
 
219
- it('renders the NormalText with variant=normal and fontSize=24', function () {
219
+ it('renders the NormalText with size=normal and fontSize=24', function () {
220
220
  expect(mount(_ref26)).toMatchSnapshot();
221
221
  });
222
222
 
223
223
  var _ref27 = /*#__PURE__*/React.createElement(NormalText, {
224
- variant: 'md',
225
- fontSize: '30'
224
+ size: 'md',
225
+ fontSize: 30
226
226
  }, "hello");
227
227
 
228
- it('renders the NormalText with variant=normal and fontSize=30', function () {
228
+ it('renders the NormalText with size=normal and fontSize=30', function () {
229
229
  expect(mount(_ref27)).toMatchSnapshot();
230
230
  });
231
231
 
232
232
  var _ref28 = /*#__PURE__*/React.createElement(NormalText, {
233
- variant: 'md',
234
- fontSize: '36'
233
+ size: 'md',
234
+ fontSize: 36
235
235
  }, "hello");
236
236
 
237
- it('renders the NormalText with variant=normal and fontSize=36', function () {
237
+ it('renders the NormalText with size=normal and fontSize=36', function () {
238
238
  expect(mount(_ref28)).toMatchSnapshot();
239
239
  });
240
240
 
241
241
  var _ref29 = /*#__PURE__*/React.createElement(NormalText, {
242
- variant: 'md',
243
- fontSize: '48'
242
+ size: 'md',
243
+ fontSize: 48
244
244
  }, "hello");
245
245
 
246
- it('renders the NormalText with variant=normal and font size fontSize=48', function () {
246
+ it('renders the NormalText with size=normal and font size fontSize=48', function () {
247
247
  expect(mount(_ref29)).toMatchSnapshot();
248
248
  });
249
249
 
250
250
  var _ref30 = /*#__PURE__*/React.createElement(NormalText, {
251
- variant: 'md',
252
- fontSize: '72'
251
+ size: 'md',
252
+ fontSize: 72
253
253
  }, "hello");
254
254
 
255
- it('renders the NormalText with variant=normal and font size fontSize=72', function () {
255
+ it('renders the NormalText with size=normal and font size fontSize=72', function () {
256
256
  expect(mount(_ref30)).toMatchSnapshot();
257
257
  });
258
258
 
259
259
  var _ref31 = /*#__PURE__*/React.createElement(NormalText, {
260
- variant: 'sm',
261
- fontSize: '14'
260
+ size: 'sm',
261
+ fontSize: 14
262
262
  }, "hello");
263
263
 
264
- it('renders the NormalText with variant=small and fontSize=14', function () {
264
+ it('renders the NormalText with size=small and fontSize=14', function () {
265
265
  expect(mount(_ref31)).toMatchSnapshot();
266
266
  });
267
267
 
268
268
  var _ref32 = /*#__PURE__*/React.createElement(NormalText, {
269
- variant: 'sm',
270
- fontSize: '16'
269
+ size: 'sm',
270
+ fontSize: 16
271
271
  }, "hello");
272
272
 
273
- it('renders the NormalText with variant=small and ontSize=16', function () {
273
+ it('renders the NormalText with size=small and ontSize=16', function () {
274
274
  expect(mount(_ref32)).toMatchSnapshot();
275
275
  });
276
276
 
277
277
  var _ref33 = /*#__PURE__*/React.createElement(NormalText, {
278
- variant: 'sm',
279
- fontSize: '19'
278
+ size: 'sm',
279
+ fontSize: 19
280
280
  }, "hello");
281
281
 
282
- it('renders the NormalText with variant=small and fontSize=19', function () {
282
+ it('renders the NormalText with size=small and fontSize=19', function () {
283
283
  expect(mount(_ref33)).toMatchSnapshot();
284
284
  });
285
285
 
286
286
  var _ref34 = /*#__PURE__*/React.createElement(NormalText, {
287
- variant: 'sm',
288
- fontSize: '24'
287
+ size: 'sm',
288
+ fontSize: 24
289
289
  }, "hello");
290
290
 
291
- it('renders the NormalText with variant=small and fontSize=24', function () {
291
+ it('renders the NormalText with size=small and fontSize=24', function () {
292
292
  expect(mount(_ref34)).toMatchSnapshot();
293
293
  });
294
294
 
295
295
  var _ref35 = /*#__PURE__*/React.createElement(NormalText, {
296
- variant: 'sm',
297
- fontSize: '30'
296
+ size: 'sm',
297
+ fontSize: 30
298
298
  }, "hello");
299
299
 
300
- it('renders the NormalText with variant=small and fontSize=30', function () {
300
+ it('renders the NormalText with size=small and fontSize=30', function () {
301
301
  expect(mount(_ref35)).toMatchSnapshot();
302
302
  });
303
303
 
304
304
  var _ref36 = /*#__PURE__*/React.createElement(NormalText, {
305
- variant: 'lg',
306
- fontSize: '36'
305
+ size: 'lg',
306
+ fontSize: 36
307
307
  }, "hello");
308
308
 
309
- it('renders the NormalText with variant=lead and fontSize=36', function () {
309
+ it('renders the NormalText with size=lead and fontSize=36', function () {
310
310
  expect(mount(_ref36)).toMatchSnapshot();
311
311
  });
312
312
 
313
313
  var _ref37 = /*#__PURE__*/React.createElement(NormalText, {
314
- variant: 'sm',
315
- fontSize: '48'
314
+ size: 'sm',
315
+ fontSize: 48
316
316
  }, "hello");
317
317
 
318
- it('renders the NormalText with variant=small and font size fontSize=48', function () {
318
+ it('renders the NormalText with size=small and font size fontSize=48', function () {
319
319
  expect(mount(_ref37)).toMatchSnapshot();
320
320
  });
321
321
 
322
322
  var _ref38 = /*#__PURE__*/React.createElement(NormalText, {
323
- variant: 'sm',
324
- fontSize: '72'
323
+ size: 'sm',
324
+ fontSize: 72
325
325
  }, "hello");
326
326
 
327
- it('renders the NormalText with variant=small and font size fontSize=72', function () {
327
+ it('renders the NormalText with size=small and font size fontSize=72', function () {
328
328
  expect(mount(_ref38)).toMatchSnapshot();
329
329
  });
330
330
 
331
331
  var _ref39 = /*#__PURE__*/React.createElement(NormalText, {
332
- variant: 'sm',
333
- fontSize: '72',
332
+ size: 'sm',
333
+ fontSize: 72,
334
334
  fontWeight: 'regular'
335
335
  }, "hello");
336
336
 
337
- it('renders the NormalText with variant=small, font size fontSize=72 and fontWeight=regular', function () {
337
+ it('renders the NormalText with size=small, font size fontSize=72 and fontWeight=regular', function () {
338
338
  expect(mount(_ref39)).toMatchSnapshot();
339
339
  });
340
340
 
341
341
  var _ref40 = /*#__PURE__*/React.createElement(NormalText, {
342
- variant: 'sm',
343
- fontSize: '72',
342
+ size: 'sm',
343
+ fontSize: 72,
344
344
  fontWeight: 'bold'
345
345
  }, "hello");
346
346
 
347
- it('renders the NormalText with variant=small, font size fontSize=72 and fontWeight=bold', function () {
347
+ it('renders the NormalText with size=small, font size fontSize=72 and fontWeight=bold', function () {
348
348
  expect(mount(_ref40)).toMatchSnapshot();
349
349
  });
@@ -0,0 +1,102 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`renders the PageTitleHeading with no props 1`] = `
4
+ <ForwardRef(PageTitleHeading)>
5
+ <ForwardRef(Heading)>
6
+ <ForwardRef(Base)
7
+ as="h1"
8
+ className="govgr-heading-xl"
9
+ >
10
+ <h1
11
+ className="govgr-heading-xl"
12
+ >
13
+ hello
14
+ </h1>
15
+ </ForwardRef(Base)>
16
+ </ForwardRef(Heading)>
17
+ </ForwardRef(PageTitleHeading)>
18
+ `;
19
+
20
+ exports[`renders the PageTitleHeading with size=l 1`] = `
21
+ <ForwardRef(PageTitleHeading)
22
+ size="lg"
23
+ >
24
+ <ForwardRef(Heading)
25
+ size="lg"
26
+ >
27
+ <ForwardRef(Base)
28
+ as="h2"
29
+ className="govgr-heading-lg"
30
+ >
31
+ <h2
32
+ className="govgr-heading-lg"
33
+ >
34
+ hello
35
+ </h2>
36
+ </ForwardRef(Base)>
37
+ </ForwardRef(Heading)>
38
+ </ForwardRef(PageTitleHeading)>
39
+ `;
40
+
41
+ exports[`renders the PageTitleHeading with size=m 1`] = `
42
+ <ForwardRef(PageTitleHeading)
43
+ size="md"
44
+ >
45
+ <ForwardRef(Heading)
46
+ size="md"
47
+ >
48
+ <ForwardRef(Base)
49
+ as="h3"
50
+ className="govgr-heading-md"
51
+ >
52
+ <h3
53
+ className="govgr-heading-md"
54
+ >
55
+ hello
56
+ </h3>
57
+ </ForwardRef(Base)>
58
+ </ForwardRef(Heading)>
59
+ </ForwardRef(PageTitleHeading)>
60
+ `;
61
+
62
+ exports[`renders the PageTitleHeading with size=s 1`] = `
63
+ <ForwardRef(PageTitleHeading)
64
+ size="sm"
65
+ >
66
+ <ForwardRef(Heading)
67
+ size="sm"
68
+ >
69
+ <ForwardRef(Base)
70
+ as="h4"
71
+ className="govgr-heading-sm"
72
+ >
73
+ <h4
74
+ className="govgr-heading-sm"
75
+ >
76
+ hello
77
+ </h4>
78
+ </ForwardRef(Base)>
79
+ </ForwardRef(Heading)>
80
+ </ForwardRef(PageTitleHeading)>
81
+ `;
82
+
83
+ exports[`renders the PageTitleHeading with size=xl 1`] = `
84
+ <ForwardRef(PageTitleHeading)
85
+ size="xl"
86
+ >
87
+ <ForwardRef(Heading)
88
+ size="xl"
89
+ >
90
+ <ForwardRef(Base)
91
+ as="h1"
92
+ className="govgr-heading-xl"
93
+ >
94
+ <h1
95
+ className="govgr-heading-xl"
96
+ >
97
+ hello
98
+ </h1>
99
+ </ForwardRef(Base)>
100
+ </ForwardRef(Heading)>
101
+ </ForwardRef(PageTitleHeading)>
102
+ `;
@@ -0,0 +1,18 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
+ var _excluded = ["children"];
4
+ import React from 'react';
5
+ import HeadingCaption from '@digigov/react-core/HeadingCaption';
6
+
7
+ /**
8
+ * PageTitleCaption will be replaced by HeadingCaption.
9
+ */
10
+ export var PageTitleCaption = /*#__PURE__*/React.forwardRef(function PageTitleCaption(_ref, ref) {
11
+ var children = _ref.children,
12
+ props = _objectWithoutProperties(_ref, _excluded);
13
+
14
+ return /*#__PURE__*/React.createElement(HeadingCaption, _extends({
15
+ ref: ref
16
+ }, props), children);
17
+ });
18
+ export default PageTitleCaption;
@@ -0,0 +1,41 @@
1
+ import React from 'react';
2
+ import { mount } from 'enzyme';
3
+ import PageTitleHeading from '@digigov/react-core/PageTitleHeading';
4
+
5
+ var _ref = /*#__PURE__*/React.createElement(PageTitleHeading, null, "hello");
6
+
7
+ it('renders the PageTitleHeading with no props', function () {
8
+ expect(mount(_ref)).toMatchSnapshot();
9
+ });
10
+
11
+ var _ref2 = /*#__PURE__*/React.createElement(PageTitleHeading, {
12
+ size: 'xl'
13
+ }, "hello");
14
+
15
+ it('renders the PageTitleHeading with size=xl', function () {
16
+ expect(mount(_ref2)).toMatchSnapshot();
17
+ });
18
+
19
+ var _ref3 = /*#__PURE__*/React.createElement(PageTitleHeading, {
20
+ size: 'lg'
21
+ }, "hello");
22
+
23
+ it('renders the PageTitleHeading with size=l', function () {
24
+ expect(mount(_ref3)).toMatchSnapshot();
25
+ });
26
+
27
+ var _ref4 = /*#__PURE__*/React.createElement(PageTitleHeading, {
28
+ size: 'md'
29
+ }, "hello");
30
+
31
+ it('renders the PageTitleHeading with size=m', function () {
32
+ expect(mount(_ref4)).toMatchSnapshot();
33
+ });
34
+
35
+ var _ref5 = /*#__PURE__*/React.createElement(PageTitleHeading, {
36
+ size: 'sm'
37
+ }, "hello");
38
+
39
+ it('renders the PageTitleHeading with size=s', function () {
40
+ expect(mount(_ref5)).toMatchSnapshot();
41
+ });
@@ -0,0 +1,16 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`renders the PageTitleContainer with no props 1`] = `
4
+ <ForwardRef(PageTitleContainer)>
5
+ <ForwardRef(Base)
6
+ as="div"
7
+ className="govgr-page-title"
8
+ >
9
+ <div
10
+ className="govgr-page-title"
11
+ >
12
+ hello
13
+ </div>
14
+ </ForwardRef(Base)>
15
+ </ForwardRef(PageTitleContainer)>
16
+ `;
@@ -6,17 +6,17 @@ import clsx from 'clsx';
6
6
  import Base from '@digigov/react-core/Base';
7
7
 
8
8
  /**
9
- * Details for the FooterInlineListItem.
9
+ * Details for the PageTitleContainer.
10
10
  */
11
- export var FooterInlineListItem = /*#__PURE__*/React.forwardRef(function FooterInlineListItem(_ref, ref) {
11
+ export var PageTitleContainer = /*#__PURE__*/React.forwardRef(function PageTitleContainer(_ref, ref) {
12
12
  var className = _ref.className,
13
13
  children = _ref.children,
14
14
  props = _objectWithoutProperties(_ref, _excluded);
15
15
 
16
16
  return /*#__PURE__*/React.createElement(Base, _extends({
17
- as: "li",
17
+ as: "div",
18
18
  ref: ref,
19
- className: clsx(className, true && 'govgr-footer__inline-list-item')
19
+ className: clsx(className, true && 'govgr-page-title')
20
20
  }, props), children);
21
21
  });
22
- export default FooterInlineListItem;
22
+ export default PageTitleContainer;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { mount } from 'enzyme';
3
+ import PageTitleContainer from '@digigov/react-core/PageTitleContainer';
4
+
5
+ var _ref = /*#__PURE__*/React.createElement(PageTitleContainer, null, "hello");
6
+
7
+ it('renders the PageTitleContainer with no props', function () {
8
+ expect(mount(_ref)).toMatchSnapshot();
9
+ });