@digigov/react-core 2.0.0-rc.24 → 2.0.0-rc.25

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 (748) hide show
  1. package/AccordionControls/index.js.map +1 -1
  2. package/AccordionSection/index.js.map +1 -1
  3. package/AccordionSectionContent/index.js.map +1 -1
  4. package/AccordionSectionSummary/index.js.map +1 -1
  5. package/AccordionSectionSummaryHeading/index.js.map +1 -1
  6. package/AdminAside/index.js.map +1 -1
  7. package/AdminContainer/index.js +1 -1
  8. package/AdminContainer/index.js.map +2 -2
  9. package/AdminHeader/index.js.map +1 -1
  10. package/AdminHeaderContent/index.js.map +2 -2
  11. package/AdminLayout/index.js.map +2 -2
  12. package/AdminMain/index.js.map +1 -1
  13. package/AutoCompleteAssistiveHint/index.js.map +1 -1
  14. package/AutoCompleteContainer/index.js.map +2 -2
  15. package/AutoCompleteInputBase/index.d.ts +17 -0
  16. package/{AutoCompleteInput → AutoCompleteInputBase}/index.js +4 -4
  17. package/AutoCompleteInputBase/index.js.map +7 -0
  18. package/{AutoCompleteInput → AutoCompleteInputBase}/package.json +1 -1
  19. package/AutoCompleteInputTypeahead/index.js.map +1 -1
  20. package/AutoCompleteMultipleInputContainer/index.js +1 -1
  21. package/AutoCompleteMultipleInputContainer/index.js.map +2 -2
  22. package/AutoCompleteResultList/index.js.map +2 -2
  23. package/AutoCompleteStatus/index.js.map +1 -1
  24. package/BackLink/index.js +1 -3
  25. package/BackLink/index.js.map +2 -2
  26. package/BackToTopLink/index.js.map +1 -1
  27. package/BannerContainer/index.js.map +1 -1
  28. package/Base/compat/button.native/index.js +1 -1
  29. package/Base/compat/button.native.js.map +2 -2
  30. package/Base/compat/li.native.d.ts +1 -3
  31. package/Base/compat/li.native.js.map +2 -2
  32. package/Base/index.native.js.map +2 -2
  33. package/Base/index.web.d.ts +4 -4
  34. package/Base/index.web.js.map +1 -1
  35. package/Base/mapping.native/index.js +1 -1
  36. package/Base/mapping.native.js.map +2 -2
  37. package/Base/wrap.native/index.js +6 -3
  38. package/Base/wrap.native.js.map +3 -3
  39. package/Bottom/index.js.map +1 -1
  40. package/BottomInfo/index.js.map +1 -1
  41. package/BottomInfoContainer/index.js.map +1 -1
  42. package/BottomInfoContent/index.js.map +1 -1
  43. package/Breadcrumbs/index.js.map +1 -1
  44. package/BreadcrumbsList/index.js.map +1 -1
  45. package/BreadcrumbsListItemLink/index.js.map +1 -1
  46. package/ButtonGroup/index.js.map +1 -1
  47. package/ButtonLink/index.d.ts +5 -5
  48. package/ButtonLink/index.js.map +1 -1
  49. package/Card/index.js +10 -1
  50. package/Card/index.js.map +2 -2
  51. package/CardAction/index.js.map +1 -1
  52. package/CardContent/index.js.map +1 -1
  53. package/CardHeading/index.js.map +1 -1
  54. package/CheckboxConditional/index.js.map +1 -1
  55. package/CheckboxItem/index.js +11 -2
  56. package/CheckboxItem/index.js.map +2 -2
  57. package/CheckboxItemInput/index.js.map +1 -1
  58. package/CheckboxItemInput/index.native/index.js +2 -2
  59. package/CheckboxItemInput/index.native.js.map +2 -2
  60. package/CheckboxItemInput/index.web/index.js +2 -2
  61. package/CheckboxItemInput/index.web.js.map +2 -2
  62. package/ChipKeyValue/index.js.map +1 -1
  63. package/ChoiceDividerText/index.js.map +1 -1
  64. package/CodeBlockContainer/index.js.map +1 -1
  65. package/CodeBlockContent/index.js.map +1 -1
  66. package/CopyToClipboardContainer/index.js.map +1 -1
  67. package/CopyToClipboardMessage/index.js.map +1 -1
  68. package/CopyToClipboardMessage/index.native/index.js +1 -1
  69. package/CopyToClipboardMessage/index.native.d.ts +1 -1
  70. package/CopyToClipboardMessage/index.native.js.map +2 -2
  71. package/CopyrightContainer/index.js.map +1 -1
  72. package/DateInputItem/index.js.map +1 -1
  73. package/DateInputItem/index.native/index.js +7 -10
  74. package/DateInputItem/index.native.js.map +2 -2
  75. package/DateInputItem/index.web/index.js +11 -1
  76. package/DateInputItem/index.web.js.map +2 -2
  77. package/Details/index.d.ts +2 -2
  78. package/Details/index.js.map +2 -2
  79. package/Details/index.web.js.map +1 -1
  80. package/DetailsContent/index.js.map +1 -1
  81. package/DrawerHeading/index.js +1 -9
  82. package/DrawerHeading/index.js.map +2 -2
  83. package/DropdownContent/index.js.map +2 -2
  84. package/ErrorMessage/index.js.map +1 -1
  85. package/Fieldset/index.js.map +1 -1
  86. package/FillableText/index.js.map +1 -1
  87. package/FilterContainer/index.js.map +2 -2
  88. package/FilterContent/index.js.map +1 -1
  89. package/FilterSelectedHeading/index.js.map +1 -1
  90. package/FilterSelectedSection/index.js.map +1 -1
  91. package/Footer/index.js.map +1 -1
  92. package/FooterContent/index.js.map +1 -1
  93. package/FooterContentLogos/index.js.map +1 -1
  94. package/FooterImage/index.js.map +1 -1
  95. package/FooterInfo/index.js.map +1 -1
  96. package/FooterLink/index.js.map +1 -1
  97. package/FooterListItem/index.js.map +1 -1
  98. package/FooterNavigation/index.js.map +1 -1
  99. package/FooterNavigationSection/index.js.map +1 -1
  100. package/FullPageBackground/index.js.map +1 -1
  101. package/GovGRLogo/index.js.map +1 -1
  102. package/Grid/index.d.ts +2 -2
  103. package/Grid/index.js.map +1 -1
  104. package/HeaderContent/index.js.map +1 -1
  105. package/HeaderNavMenuContent/index.js.map +1 -1
  106. package/HeaderSection/index.js.map +1 -1
  107. package/HeaderTitle/index.js.map +1 -1
  108. package/Hidden/index.js +14 -1
  109. package/Hidden/index.js.map +2 -2
  110. package/Hint/index.d.ts +6 -6
  111. package/Hint/index.js.map +1 -1
  112. package/ImageLogo/index.js +1 -1
  113. package/ImageLogo/index.js.map +2 -2
  114. package/ImageLogoSet/index.d.ts +1 -1
  115. package/ImageLogoSet/index.js +2 -2
  116. package/ImageLogoSet/index.js.map +2 -2
  117. package/KitchenSinkAllComponents/index.js.map +1 -1
  118. package/KitchenSinkCard/index.js.map +1 -1
  119. package/KitchenSinkCategory/index.js.map +1 -1
  120. package/KitchenSinkContentInfo/index.js.map +1 -1
  121. package/KitchenSinkContentTags/index.js.map +1 -1
  122. package/KitchenSinkHeading/index.js.map +1 -1
  123. package/KitchenSinkLetterContent/index.js.map +1 -1
  124. package/LabelContainer/index.js.map +1 -1
  125. package/LinkBase/index.js.map +2 -2
  126. package/ListItem/index.js.map +1 -1
  127. package/LoaderContainer/index.js.map +1 -1
  128. package/Main/index.js.map +1 -1
  129. package/MastheadBody/index.js.map +1 -1
  130. package/MastheadLogo/index.js.map +1 -1
  131. package/ModalAction/index.js.map +1 -1
  132. package/ModalContent/index.js.map +1 -1
  133. package/ModalHeading/index.js.map +1 -1
  134. package/NavListItemAction/index.js +1 -1
  135. package/NavListItemAction/index.js.map +2 -2
  136. package/NavListItemActionContainer/index.web.js.map +1 -1
  137. package/NavListItemBadge/index.js +1 -1
  138. package/NavListItemBadge/index.js.map +2 -2
  139. package/NavMenuContent/index.js.map +2 -2
  140. package/NavMenuContentListBase/index.js.map +1 -1
  141. package/NavMenuContentListItem/index.js.map +1 -1
  142. package/NavMenuTitle/index.js.map +1 -1
  143. package/NotificationBannerContent/index.js.map +1 -1
  144. package/NotificationBannerHeader/index.js.map +1 -1
  145. package/NotificationBannerHeading/index.js.map +1 -1
  146. package/NotificationBannerLink/index.js.map +2 -2
  147. package/NotificationBannerLink/index.native/index.js +1 -1
  148. package/NotificationBannerLink/index.native.js.map +2 -2
  149. package/NotificationBannerLink/index.web.js.map +1 -1
  150. package/PageTitleContainer/index.js.map +1 -1
  151. package/PaginationLabelContainer/index.js.map +1 -1
  152. package/PaginationList/index.js.map +1 -1
  153. package/PanelBody/index.js.map +1 -1
  154. package/PanelTitle/index.js.map +1 -1
  155. package/PhaseBanner/index.js.map +2 -2
  156. package/PhaseBannerHeaderContainer/index.js.map +1 -1
  157. package/PhaseBannerTag/index.js.map +1 -1
  158. package/PhaseBannerText/index.js.map +1 -1
  159. package/RadioConditional/index.js.map +1 -1
  160. package/RadioItem/index.js.map +2 -2
  161. package/ResultsActionBar/index.js.map +1 -1
  162. package/ResultsHeading/index.js.map +1 -1
  163. package/SearchButton/index.js.map +1 -1
  164. package/SearchContainer/index.js.map +1 -1
  165. package/SelectOption/index.js.map +1 -1
  166. package/SingleCharacterInputs/index.js.map +1 -1
  167. package/Skeleton/index.js +1 -1
  168. package/Skeleton/index.js.map +2 -2
  169. package/SkipLink/index.js.map +1 -1
  170. package/Stack/index.d.ts +2 -2
  171. package/Stack/index.js.map +1 -1
  172. package/StepNavAccordion/index.js.map +1 -1
  173. package/StepNavAccordionContent/index.js.map +1 -1
  174. package/StepNavAccordionHeadingTitle/index.js.map +1 -1
  175. package/StepNavAccordionSummary/index.js.map +1 -1
  176. package/StepNavControls/index.js.map +1 -1
  177. package/StepNavList/index.js.map +1 -1
  178. package/StepNavListItem/index.js.map +1 -1
  179. package/SummaryListItemAction/index.js.map +1 -1
  180. package/SummaryListItemValue/index.js.map +1 -1
  181. package/TableHead/index.js.map +1 -1
  182. package/TableLoaderBackground/index.js.map +1 -1
  183. package/TableNoDataRow/index.js.map +1 -1
  184. package/TableSortIconContainer/index.js.map +1 -1
  185. package/TabsHeading/index.js +1 -1
  186. package/TabsHeading/index.js.map +2 -2
  187. package/TabsList/index.js.map +1 -1
  188. package/TaskListItem/index.js.map +1 -1
  189. package/TaskListItemContent/index.js.map +1 -1
  190. package/TextArea/index.js.map +2 -2
  191. package/TextArea/index.web.js.map +2 -2
  192. package/TextInput/index.js.map +1 -1
  193. package/TextInput/index.native/index.js +3 -3
  194. package/TextInput/index.native.js.map +2 -2
  195. package/TimelineActions/index.js.map +1 -1
  196. package/TimelineContent/index.js.map +1 -1
  197. package/TimelineItem/index.js.map +1 -1
  198. package/Top/index.js.map +1 -1
  199. package/Unpurge/index.js.map +2 -2
  200. package/VisuallyHidden/index.js.map +1 -1
  201. package/WarningText/index.js.map +1 -1
  202. package/WarningTextAssistive/index.d.ts +3 -3
  203. package/WarningTextAssistive/index.js.map +2 -2
  204. package/cjs/AccordionControls/index.js.map +1 -1
  205. package/cjs/AccordionSection/index.js.map +1 -1
  206. package/cjs/AccordionSectionContent/index.js.map +1 -1
  207. package/cjs/AccordionSectionSummary/index.js.map +1 -1
  208. package/cjs/AccordionSectionSummaryHeading/index.js.map +1 -1
  209. package/cjs/AdminAside/index.js.map +1 -1
  210. package/cjs/AdminContainer/index.js +1 -1
  211. package/cjs/AdminContainer/index.js.map +2 -2
  212. package/cjs/AdminHeader/index.js.map +1 -1
  213. package/cjs/AdminHeaderContent/index.js.map +2 -2
  214. package/cjs/AdminLayout/index.js.map +2 -2
  215. package/cjs/AdminMain/index.js.map +1 -1
  216. package/cjs/AutoCompleteAssistiveHint/index.js.map +1 -1
  217. package/cjs/AutoCompleteContainer/index.js.map +2 -2
  218. package/cjs/{AutoCompleteInput → AutoCompleteInputBase}/index.js +8 -8
  219. package/cjs/AutoCompleteInputBase/index.js.map +7 -0
  220. package/cjs/AutoCompleteInputTypeahead/index.js.map +1 -1
  221. package/cjs/AutoCompleteMultipleInputContainer/index.js +1 -1
  222. package/cjs/AutoCompleteMultipleInputContainer/index.js.map +2 -2
  223. package/cjs/AutoCompleteResultList/index.js.map +2 -2
  224. package/cjs/AutoCompleteStatus/index.js.map +1 -1
  225. package/cjs/BackLink/index.js +1 -3
  226. package/cjs/BackLink/index.js.map +2 -2
  227. package/cjs/BackToTopLink/index.js.map +1 -1
  228. package/cjs/BannerContainer/index.js.map +1 -1
  229. package/cjs/Base/compat/button.native/index.js +1 -1
  230. package/cjs/Base/compat/button.native.js.map +2 -2
  231. package/cjs/Base/compat/li.native.js.map +2 -2
  232. package/cjs/Base/index.native.js.map +2 -2
  233. package/cjs/Base/index.web.js.map +1 -1
  234. package/cjs/Base/mapping.native/index.js +1 -1
  235. package/cjs/Base/mapping.native.js.map +2 -2
  236. package/cjs/Base/wrap.native/index.js +6 -3
  237. package/cjs/Base/wrap.native.js.map +3 -3
  238. package/cjs/Bottom/index.js.map +1 -1
  239. package/cjs/BottomInfo/index.js.map +1 -1
  240. package/cjs/BottomInfoContainer/index.js.map +1 -1
  241. package/cjs/BottomInfoContent/index.js.map +1 -1
  242. package/cjs/Breadcrumbs/index.js.map +1 -1
  243. package/cjs/BreadcrumbsList/index.js.map +1 -1
  244. package/cjs/BreadcrumbsListItemLink/index.js.map +1 -1
  245. package/cjs/ButtonGroup/index.js.map +1 -1
  246. package/cjs/ButtonLink/index.js.map +1 -1
  247. package/cjs/Card/index.js +10 -1
  248. package/cjs/Card/index.js.map +2 -2
  249. package/cjs/CardAction/index.js.map +1 -1
  250. package/cjs/CardContent/index.js.map +1 -1
  251. package/cjs/CardHeading/index.js.map +1 -1
  252. package/cjs/CheckboxConditional/index.js.map +1 -1
  253. package/cjs/CheckboxItem/index.js +11 -2
  254. package/cjs/CheckboxItem/index.js.map +2 -2
  255. package/cjs/CheckboxItemInput/index.js.map +1 -1
  256. package/cjs/CheckboxItemInput/index.native/index.js +2 -2
  257. package/cjs/CheckboxItemInput/index.native.js.map +2 -2
  258. package/cjs/CheckboxItemInput/index.web/index.js +2 -2
  259. package/cjs/CheckboxItemInput/index.web.js.map +2 -2
  260. package/cjs/ChipKeyValue/index.js.map +1 -1
  261. package/cjs/ChoiceDividerText/index.js.map +1 -1
  262. package/cjs/CodeBlockContainer/index.js.map +1 -1
  263. package/cjs/CodeBlockContent/index.js.map +1 -1
  264. package/cjs/CopyToClipboardContainer/index.js.map +1 -1
  265. package/cjs/CopyToClipboardMessage/index.js.map +1 -1
  266. package/cjs/CopyToClipboardMessage/index.native/index.js +1 -1
  267. package/cjs/CopyToClipboardMessage/index.native.js.map +2 -2
  268. package/cjs/CopyrightContainer/index.js.map +1 -1
  269. package/cjs/DateInputItem/index.js.map +1 -1
  270. package/cjs/DateInputItem/index.native/index.js +7 -10
  271. package/cjs/DateInputItem/index.native.js.map +2 -2
  272. package/cjs/DateInputItem/index.web/index.js +11 -1
  273. package/cjs/DateInputItem/index.web.js.map +2 -2
  274. package/cjs/Details/index.js.map +2 -2
  275. package/cjs/Details/index.web.js.map +1 -1
  276. package/cjs/DetailsContent/index.js.map +1 -1
  277. package/cjs/DrawerHeading/index.js +1 -9
  278. package/cjs/DrawerHeading/index.js.map +2 -2
  279. package/cjs/DropdownContent/index.js.map +2 -2
  280. package/cjs/ErrorMessage/index.js.map +1 -1
  281. package/cjs/Fieldset/index.js.map +1 -1
  282. package/cjs/FillableText/index.js.map +1 -1
  283. package/cjs/FilterContainer/index.js.map +2 -2
  284. package/cjs/FilterContent/index.js.map +1 -1
  285. package/cjs/FilterSelectedHeading/index.js.map +1 -1
  286. package/cjs/FilterSelectedSection/index.js.map +1 -1
  287. package/cjs/Footer/index.js.map +1 -1
  288. package/cjs/FooterContent/index.js.map +1 -1
  289. package/cjs/FooterContentLogos/index.js.map +1 -1
  290. package/cjs/FooterImage/index.js.map +1 -1
  291. package/cjs/FooterInfo/index.js.map +1 -1
  292. package/cjs/FooterLink/index.js.map +1 -1
  293. package/cjs/FooterListItem/index.js.map +1 -1
  294. package/cjs/FooterNavigation/index.js.map +1 -1
  295. package/cjs/FooterNavigationSection/index.js.map +1 -1
  296. package/cjs/FullPageBackground/index.js.map +1 -1
  297. package/cjs/GovGRLogo/index.js.map +1 -1
  298. package/cjs/Grid/index.js.map +1 -1
  299. package/cjs/HeaderContent/index.js.map +1 -1
  300. package/cjs/HeaderNavMenuContent/index.js.map +1 -1
  301. package/cjs/HeaderSection/index.js.map +1 -1
  302. package/cjs/HeaderTitle/index.js.map +1 -1
  303. package/cjs/Hidden/index.js +14 -1
  304. package/cjs/Hidden/index.js.map +2 -2
  305. package/cjs/Hint/index.js.map +1 -1
  306. package/cjs/ImageLogo/index.js +1 -1
  307. package/cjs/ImageLogo/index.js.map +2 -2
  308. package/cjs/ImageLogoSet/index.js +2 -2
  309. package/cjs/ImageLogoSet/index.js.map +2 -2
  310. package/cjs/KitchenSinkAllComponents/index.js.map +1 -1
  311. package/cjs/KitchenSinkCard/index.js.map +1 -1
  312. package/cjs/KitchenSinkCategory/index.js.map +1 -1
  313. package/cjs/KitchenSinkContentInfo/index.js.map +1 -1
  314. package/cjs/KitchenSinkContentTags/index.js.map +1 -1
  315. package/cjs/KitchenSinkHeading/index.js.map +1 -1
  316. package/cjs/KitchenSinkLetterContent/index.js.map +1 -1
  317. package/cjs/LabelContainer/index.js.map +1 -1
  318. package/cjs/LinkBase/index.js.map +2 -2
  319. package/cjs/ListItem/index.js.map +1 -1
  320. package/cjs/LoaderContainer/index.js.map +1 -1
  321. package/cjs/Main/index.js.map +1 -1
  322. package/cjs/MastheadBody/index.js.map +1 -1
  323. package/cjs/MastheadLogo/index.js.map +1 -1
  324. package/cjs/ModalAction/index.js.map +1 -1
  325. package/cjs/ModalContent/index.js.map +1 -1
  326. package/cjs/ModalHeading/index.js.map +1 -1
  327. package/cjs/NavListItemAction/index.js +1 -1
  328. package/cjs/NavListItemAction/index.js.map +2 -2
  329. package/cjs/NavListItemActionContainer/index.web.js.map +1 -1
  330. package/cjs/NavListItemBadge/index.js +1 -1
  331. package/cjs/NavListItemBadge/index.js.map +2 -2
  332. package/cjs/NavMenuContent/index.js +2 -2
  333. package/cjs/NavMenuContent/index.js.map +3 -3
  334. package/cjs/NavMenuContentListBase/index.js.map +1 -1
  335. package/cjs/NavMenuContentListItem/index.js.map +1 -1
  336. package/cjs/NavMenuTitle/index.js.map +1 -1
  337. package/cjs/NotificationBannerContent/index.js.map +1 -1
  338. package/cjs/NotificationBannerHeader/index.js.map +1 -1
  339. package/cjs/NotificationBannerHeading/index.js.map +1 -1
  340. package/cjs/NotificationBannerLink/index.js.map +2 -2
  341. package/cjs/NotificationBannerLink/index.native/index.js +1 -1
  342. package/cjs/NotificationBannerLink/index.native.js.map +2 -2
  343. package/cjs/NotificationBannerLink/index.web.js.map +1 -1
  344. package/cjs/PageTitleContainer/index.js.map +1 -1
  345. package/cjs/PaginationLabelContainer/index.js.map +1 -1
  346. package/cjs/PaginationList/index.js.map +1 -1
  347. package/cjs/PanelBody/index.js.map +1 -1
  348. package/cjs/PanelTitle/index.js.map +1 -1
  349. package/cjs/PhaseBanner/index.js.map +2 -2
  350. package/cjs/PhaseBannerHeaderContainer/index.js.map +1 -1
  351. package/cjs/PhaseBannerTag/index.js.map +1 -1
  352. package/cjs/PhaseBannerText/index.js.map +1 -1
  353. package/cjs/RadioConditional/index.js.map +1 -1
  354. package/cjs/RadioItem/index.js.map +2 -2
  355. package/cjs/ResultsActionBar/index.js.map +1 -1
  356. package/cjs/ResultsHeading/index.js.map +1 -1
  357. package/cjs/SearchButton/index.js.map +1 -1
  358. package/cjs/SearchContainer/index.js.map +1 -1
  359. package/cjs/SelectOption/index.js.map +1 -1
  360. package/cjs/SingleCharacterInputs/index.js.map +1 -1
  361. package/cjs/Skeleton/index.js +1 -1
  362. package/cjs/Skeleton/index.js.map +2 -2
  363. package/cjs/SkipLink/index.js.map +1 -1
  364. package/cjs/Stack/index.js.map +1 -1
  365. package/cjs/StepNavAccordion/index.js.map +1 -1
  366. package/cjs/StepNavAccordionContent/index.js.map +1 -1
  367. package/cjs/StepNavAccordionHeadingTitle/index.js.map +1 -1
  368. package/cjs/StepNavAccordionSummary/index.js.map +1 -1
  369. package/cjs/StepNavControls/index.js.map +1 -1
  370. package/cjs/StepNavList/index.js.map +1 -1
  371. package/cjs/StepNavListItem/index.js.map +1 -1
  372. package/cjs/SummaryListItemAction/index.js.map +1 -1
  373. package/cjs/SummaryListItemValue/index.js.map +1 -1
  374. package/cjs/TableHead/index.js.map +1 -1
  375. package/cjs/TableLoaderBackground/index.js.map +1 -1
  376. package/cjs/TableNoDataRow/index.js.map +1 -1
  377. package/cjs/TableSortIconContainer/index.js.map +1 -1
  378. package/cjs/TabsHeading/index.js +1 -1
  379. package/cjs/TabsHeading/index.js.map +2 -2
  380. package/cjs/TabsList/index.js.map +1 -1
  381. package/cjs/TaskListItem/index.js.map +1 -1
  382. package/cjs/TaskListItemContent/index.js.map +1 -1
  383. package/cjs/TextArea/index.js.map +2 -2
  384. package/cjs/TextArea/index.web.js.map +2 -2
  385. package/cjs/TextInput/index.js.map +1 -1
  386. package/cjs/TextInput/index.native/index.js +3 -3
  387. package/cjs/TextInput/index.native.js.map +2 -2
  388. package/cjs/TimelineActions/index.js.map +1 -1
  389. package/cjs/TimelineContent/index.js.map +1 -1
  390. package/cjs/TimelineItem/index.js.map +1 -1
  391. package/cjs/Top/index.js.map +1 -1
  392. package/cjs/Unpurge/index.js.map +2 -2
  393. package/cjs/VisuallyHidden/index.js.map +1 -1
  394. package/cjs/WarningText/index.js.map +1 -1
  395. package/cjs/WarningTextAssistive/index.js.map +2 -2
  396. package/cjs/index.js +2 -4
  397. package/cjs/index.js.map +2 -2
  398. package/cjs/lazy/index.js +1220 -245
  399. package/cjs/lazy.js.map +2 -2
  400. package/cjs/registry/index.js +577 -195
  401. package/cjs/registry.js.map +2 -2
  402. package/index.d.ts +1 -2
  403. package/index.js +2 -3
  404. package/index.js.map +2 -2
  405. package/lazy/index.js +1220 -245
  406. package/lazy.d.ts +2 -3
  407. package/lazy.js.map +2 -2
  408. package/package.json +3 -3
  409. package/registry/index.js +577 -195
  410. package/registry.d.ts +1 -2
  411. package/registry.js.map +2 -2
  412. package/src/AccordionControls/index.tsx +1 -1
  413. package/src/AccordionSection/index.test.tsx +3 -1
  414. package/src/AccordionSection/index.tsx +1 -1
  415. package/src/AccordionSectionContent/index.tsx +1 -1
  416. package/src/AccordionSectionSummary/index.tsx +1 -1
  417. package/src/AccordionSectionSummaryHeading/index.tsx +1 -1
  418. package/src/AdminAside/index.tsx +1 -1
  419. package/src/AdminContainer/index.test.tsx +6 -2
  420. package/src/AdminContainer/index.tsx +1 -1
  421. package/src/AdminHeader/index.test.tsx +3 -1
  422. package/src/AdminHeader/index.tsx +1 -1
  423. package/src/AdminHeaderContent/index.tsx +4 -2
  424. package/src/AdminLayout/index.test.tsx +3 -1
  425. package/src/AdminLayout/index.tsx +1 -2
  426. package/src/AdminMain/index.tsx +1 -1
  427. package/src/AdminTopSection/index.test.tsx +3 -1
  428. package/src/AutoCompleteAssistiveHint/index.test.tsx +2 -1
  429. package/src/AutoCompleteAssistiveHint/index.tsx +1 -1
  430. package/src/AutoCompleteContainer/index.tsx +4 -1
  431. package/src/{AutoCompleteInput → AutoCompleteInputBase}/index.test.tsx +4 -4
  432. package/src/{AutoCompleteInput → AutoCompleteInputBase}/index.tsx +6 -7
  433. package/src/AutoCompleteInputTypeahead/index.tsx +1 -1
  434. package/src/AutoCompleteMultipleInputContainer/index.tsx +4 -4
  435. package/src/AutoCompleteResultList/index.test.tsx +2 -1
  436. package/src/AutoCompleteResultList/index.tsx +1 -4
  437. package/src/AutoCompleteResultListItem/index.test.tsx +2 -1
  438. package/src/AutoCompleteStatus/index.tsx +1 -1
  439. package/src/AutoCompleteStatusContainer/index.test.tsx +2 -1
  440. package/src/BackLink/index.test.tsx +3 -1
  441. package/src/BackLink/index.tsx +2 -4
  442. package/src/BackToTopLink/index.tsx +1 -1
  443. package/src/BannerContainer/index.test.tsx +3 -1
  444. package/src/BannerContainer/index.tsx +1 -1
  445. package/src/Base/compat/button.native.tsx +1 -1
  446. package/src/Base/compat/li.native.tsx +1 -3
  447. package/src/Base/index.native.tsx +1 -1
  448. package/src/Base/index.web.tsx +4 -4
  449. package/src/Base/mapping.native.tsx +8 -4
  450. package/src/Base/wrap.native.tsx +9 -6
  451. package/src/Blockquote/index.test.tsx +3 -1
  452. package/src/Bottom/index.tsx +1 -1
  453. package/src/BottomInfo/index.tsx +1 -1
  454. package/src/BottomInfoContainer/index.tsx +1 -1
  455. package/src/BottomInfoContent/index.test.tsx +3 -1
  456. package/src/BottomInfoContent/index.tsx +1 -1
  457. package/src/Breadcrumbs/index.test.tsx +3 -1
  458. package/src/Breadcrumbs/index.tsx +1 -1
  459. package/src/BreadcrumbsList/index.test.tsx +3 -1
  460. package/src/BreadcrumbsList/index.tsx +1 -1
  461. package/src/BreadcrumbsListItemLink/index.test.tsx +2 -1
  462. package/src/BreadcrumbsListItemLink/index.tsx +1 -1
  463. package/src/Button/index.test.tsx +23 -8
  464. package/src/ButtonGroup/index.test.tsx +3 -1
  465. package/src/ButtonGroup/index.tsx +1 -1
  466. package/src/ButtonLink/index.test.tsx +8 -3
  467. package/src/ButtonLink/index.tsx +5 -5
  468. package/src/CallToAction/index.test.tsx +3 -1
  469. package/src/Card/index.test.tsx +9 -3
  470. package/src/Card/index.tsx +10 -1
  471. package/src/CardAction/index.tsx +1 -1
  472. package/src/CardContent/index.test.tsx +3 -1
  473. package/src/CardContent/index.tsx +1 -1
  474. package/src/CardHeading/index.test.tsx +3 -1
  475. package/src/CardHeading/index.tsx +1 -1
  476. package/src/CheckboxConditional/index.tsx +1 -1
  477. package/src/CheckboxItem/index.test.tsx +6 -2
  478. package/src/CheckboxItem/index.tsx +10 -3
  479. package/src/CheckboxItemInput/index.native.tsx +2 -2
  480. package/src/CheckboxItemInput/index.tsx +1 -1
  481. package/src/CheckboxItemInput/index.web.tsx +3 -4
  482. package/src/ChipContainer/index.spec.tsx +3 -1
  483. package/src/ChipHeading/index.test.tsx +3 -1
  484. package/src/ChipKeyValue/index.test.tsx +3 -1
  485. package/src/ChipKeyValue/index.tsx +1 -1
  486. package/src/ChoiceDividerText/index.test.tsx +3 -1
  487. package/src/ChoiceDividerText/index.tsx +1 -1
  488. package/src/CircularProgress/index.test.tsx +3 -1
  489. package/src/CloseButton/index.test.tsx +3 -1
  490. package/src/Code/index.test.tsx +7 -3
  491. package/src/CodeBlockContainer/index.tsx +1 -1
  492. package/src/CodeBlockContent/index.tsx +1 -1
  493. package/src/Container/index.test.tsx +3 -1
  494. package/src/CopyToClipboardContainer/index.spec.tsx +2 -1
  495. package/src/CopyToClipboardContainer/index.tsx +1 -1
  496. package/src/CopyToClipboardMessage/index.native.tsx +2 -2
  497. package/src/CopyToClipboardMessage/index.test.tsx +6 -3
  498. package/src/CopyToClipboardMessage/index.tsx +1 -1
  499. package/src/CopyrightContainer/index.tsx +1 -1
  500. package/src/DateInputItem/index.native.tsx +7 -10
  501. package/src/DateInputItem/index.test.tsx +3 -1
  502. package/src/DateInputItem/index.tsx +1 -1
  503. package/src/DateInputItem/index.web.tsx +12 -3
  504. package/src/Details/index.tsx +2 -2
  505. package/src/Details/index.web.tsx +1 -1
  506. package/src/DetailsContent/index.test.tsx +3 -1
  507. package/src/DetailsContent/index.tsx +1 -1
  508. package/src/DetailsSummary/index.test.tsx +3 -1
  509. package/src/DrawerHeading/index.tsx +1 -5
  510. package/src/DropdownBase/index.test.tsx +6 -2
  511. package/src/DropdownButton/__snapshots__/index.test.tsx.snap +13 -13
  512. package/src/DropdownButton/index.test.tsx +8 -4
  513. package/src/DropdownContent/index.test.tsx +3 -1
  514. package/src/DropdownContent/index.tsx +1 -1
  515. package/src/ErrorMessage/index.test.tsx +3 -1
  516. package/src/ErrorMessage/index.tsx +1 -1
  517. package/src/ErrorSummary/index.test.tsx +6 -2
  518. package/src/FieldContainer/index.test.tsx +3 -1
  519. package/src/Fieldset/index.tsx +1 -1
  520. package/src/FieldsetLegend/index.test.tsx +3 -1
  521. package/src/FileUpload/index.test.tsx +3 -1
  522. package/src/FileUploadContainer/index.test.tsx +3 -1
  523. package/src/FillableText/index.test.tsx +3 -1
  524. package/src/FillableText/index.tsx +1 -1
  525. package/src/FilterContainer/index.test.tsx +10 -4
  526. package/src/FilterContainer/index.tsx +2 -1
  527. package/src/FilterContent/index.test.tsx +3 -1
  528. package/src/FilterContent/index.tsx +1 -1
  529. package/src/FilterSelectedHeading/index.tsx +1 -1
  530. package/src/FilterSelectedSection/index.tsx +1 -1
  531. package/src/Footer/index.tsx +1 -1
  532. package/src/FooterContainer/index.test.tsx +3 -1
  533. package/src/FooterContent/index.test.tsx +3 -1
  534. package/src/FooterContent/index.tsx +1 -1
  535. package/src/FooterContentLogos/index.tsx +1 -1
  536. package/src/FooterHeading/index.test.tsx +3 -1
  537. package/src/FooterImage/index.tsx +1 -1
  538. package/src/FooterInfo/index.tsx +1 -1
  539. package/src/FooterInfoSection/index.test.tsx +5 -2
  540. package/src/FooterLink/index.test.tsx +3 -1
  541. package/src/FooterLink/index.tsx +1 -1
  542. package/src/FooterList/index.test.tsx +3 -1
  543. package/src/FooterListItem/index.test.tsx +3 -1
  544. package/src/FooterListItem/index.tsx +1 -1
  545. package/src/FooterNavigation/index.test.tsx +3 -1
  546. package/src/FooterNavigation/index.tsx +1 -1
  547. package/src/FooterNavigationSection/index.tsx +1 -1
  548. package/src/FullPageBackground/index.tsx +1 -1
  549. package/src/GovGRLogo/index.tsx +1 -1
  550. package/src/Grid/index.tsx +2 -2
  551. package/src/HeaderContent/index.test.tsx +3 -1
  552. package/src/HeaderContent/index.tsx +1 -1
  553. package/src/HeaderNavMenuContent/index.tsx +1 -1
  554. package/src/HeaderSection/index.test.tsx +3 -1
  555. package/src/HeaderSection/index.tsx +1 -1
  556. package/src/HeaderTitle/index.test.tsx +5 -2
  557. package/src/HeaderTitle/index.tsx +1 -1
  558. package/src/Heading/index.test.tsx +15 -5
  559. package/src/HeadingCaption/index.test.tsx +3 -1
  560. package/src/Hidden/index.tsx +14 -1
  561. package/src/Hint/index.test.tsx +9 -3
  562. package/src/Hint/index.tsx +6 -6
  563. package/src/ImageLogo/index.test.tsx +3 -1
  564. package/src/ImageLogo/index.tsx +1 -4
  565. package/src/ImageLogoSet/index.test.tsx +2 -1
  566. package/src/ImageLogoSet/index.tsx +3 -6
  567. package/src/KitchenSinkAllComponents/index.tsx +1 -1
  568. package/src/KitchenSinkCard/index.tsx +1 -1
  569. package/src/KitchenSinkCategory/index.tsx +1 -1
  570. package/src/KitchenSinkContentInfo/index.tsx +1 -1
  571. package/src/KitchenSinkContentTags/index.tsx +1 -1
  572. package/src/KitchenSinkHeading/index.tsx +1 -1
  573. package/src/KitchenSinkLetterContent/index.tsx +1 -1
  574. package/src/LabelContainer/index.test.tsx +3 -1
  575. package/src/LabelContainer/index.tsx +1 -1
  576. package/src/LabelTitle/index.test.tsx +15 -5
  577. package/src/LabeledText/index.test.tsx +3 -1
  578. package/src/LinkBase/index.test.tsx +6 -2
  579. package/src/LinkBase/index.tsx +4 -1
  580. package/src/List/__snapshots__/index.test.tsx.snap +19 -19
  581. package/src/List/index.test.tsx +8 -4
  582. package/src/ListItem/index.tsx +1 -1
  583. package/src/LoaderContainer/index.tsx +1 -1
  584. package/src/Main/index.tsx +1 -1
  585. package/src/MastheadBody/index.test.tsx +3 -1
  586. package/src/MastheadBody/index.tsx +1 -1
  587. package/src/MastheadLogo/index.tsx +1 -1
  588. package/src/ModalAction/index.test.tsx +3 -1
  589. package/src/ModalAction/index.tsx +1 -1
  590. package/src/ModalContainer/index.test.tsx +3 -1
  591. package/src/ModalContent/index.test.tsx +3 -1
  592. package/src/ModalContent/index.tsx +1 -1
  593. package/src/ModalHeading/index.test.tsx +3 -1
  594. package/src/ModalHeading/index.tsx +1 -1
  595. package/src/Nav/index.test.tsx +6 -2
  596. package/src/NavListItemAction/index.test.tsx +2 -1
  597. package/src/NavListItemAction/index.tsx +2 -4
  598. package/src/NavListItemActionContainer/index.test.tsx +2 -1
  599. package/src/NavListItemActionContainer/index.web.tsx +1 -1
  600. package/src/NavListItemBadge/index.tsx +1 -1
  601. package/src/NavListItemButton/index.test.tsx +7 -3
  602. package/src/NavListItemLink/index.test.tsx +3 -1
  603. package/src/NavMenuContainer/index.test.tsx +7 -3
  604. package/src/NavMenuContent/index.tsx +2 -3
  605. package/src/NavMenuContentListBase/index.tsx +1 -1
  606. package/src/NavMenuContentListItem/index.tsx +1 -1
  607. package/src/NavMenuTitle/index.test.tsx +3 -1
  608. package/src/NavMenuTitle/index.tsx +1 -1
  609. package/src/NormalText/__snapshots__/index.test.tsx.snap +0 -12
  610. package/src/NormalText/index.test.tsx +33 -21
  611. package/src/NotificationBannerContainer/index.test.tsx +2 -1
  612. package/src/NotificationBannerContent/index.test.tsx +2 -1
  613. package/src/NotificationBannerContent/index.tsx +1 -1
  614. package/src/NotificationBannerHeader/index.test.tsx +2 -1
  615. package/src/NotificationBannerHeader/index.tsx +1 -1
  616. package/src/NotificationBannerHeading/index.test.tsx +2 -1
  617. package/src/NotificationBannerHeading/index.tsx +1 -1
  618. package/src/NotificationBannerLink/index.native.tsx +1 -1
  619. package/src/NotificationBannerLink/index.tsx +1 -1
  620. package/src/NotificationBannerLink/index.web.tsx +1 -1
  621. package/src/PageTitleCaption/index.test.tsx +3 -1
  622. package/src/PageTitleContainer/index.tsx +1 -1
  623. package/src/PageTitleHeading/index.test.tsx +3 -1
  624. package/src/Pagination/index.spec.tsx +3 -1
  625. package/src/PaginationLabelContainer/index.spec.tsx +2 -1
  626. package/src/PaginationLabelContainer/index.tsx +1 -1
  627. package/src/PaginationList/index.spec.tsx +3 -1
  628. package/src/PaginationList/index.tsx +1 -1
  629. package/src/PaginationListItem/index.spec.tsx +4 -2
  630. package/src/PanelBody/index.tsx +1 -1
  631. package/src/PanelTitle/index.tsx +1 -1
  632. package/src/Paragraph/__snapshots__/index.test.tsx.snap +0 -12
  633. package/src/Paragraph/index.test.tsx +33 -17
  634. package/src/PhaseBanner/index.test.tsx +6 -2
  635. package/src/PhaseBanner/index.tsx +2 -1
  636. package/src/PhaseBannerHeaderContainer/inde.test.tsx +2 -1
  637. package/src/PhaseBannerHeaderContainer/index.tsx +1 -1
  638. package/src/PhaseBannerTag/index.test.tsx +3 -1
  639. package/src/PhaseBannerTag/index.tsx +1 -1
  640. package/src/PhaseBannerText/index.test.tsx +3 -1
  641. package/src/PhaseBannerText/index.tsx +1 -1
  642. package/src/RadioConditional/index.test.tsx +3 -1
  643. package/src/RadioConditional/index.tsx +1 -1
  644. package/src/RadioContainer/index.test.tsx +8 -3
  645. package/src/RadioItem/index.test.tsx +6 -2
  646. package/src/RadioItem/index.tsx +2 -1
  647. package/src/ResultsActionBar/index.tsx +1 -1
  648. package/src/ResultsActionBar/indext.test.tsx +3 -1
  649. package/src/ResultsHeading/index.test.tsx +3 -1
  650. package/src/ResultsHeading/index.tsx +1 -1
  651. package/src/SearchButton/index.tsx +1 -1
  652. package/src/SearchContainer/index.test.tsx +3 -1
  653. package/src/SearchContainer/index.tsx +1 -1
  654. package/src/SectionBreak/index.test.tsx +3 -1
  655. package/src/SelectContainer/index.test.tsx +5 -2
  656. package/src/SelectOption/index.test.tsx +3 -1
  657. package/src/SelectOption/index.tsx +1 -1
  658. package/src/SingleCharacterInput/__snapshots__/index.test.tsx.snap +0 -15
  659. package/src/SingleCharacterInput/index.test.tsx +3 -7
  660. package/src/SingleCharacterInputs/index.tsx +1 -1
  661. package/src/Skeleton/index.test.tsx +36 -9
  662. package/src/Skeleton/index.tsx +1 -1
  663. package/src/SkipLink/index.tsx +1 -1
  664. package/src/Stack/index.test.tsx +54 -18
  665. package/src/Stack/index.tsx +2 -2
  666. package/src/StepNavAccordion/index.test.tsx +3 -1
  667. package/src/StepNavAccordion/index.tsx +2 -2
  668. package/src/StepNavAccordionContent/index.tsx +1 -1
  669. package/src/StepNavAccordionHeadingText/index.test.tsx +2 -1
  670. package/src/StepNavAccordionHeadingTitle/index.test.tsx +2 -1
  671. package/src/StepNavAccordionHeadingTitle/index.tsx +1 -1
  672. package/src/StepNavAccordionSummary/index.tsx +1 -1
  673. package/src/StepNavCircleNumber/index.test.tsx +2 -1
  674. package/src/StepNavControls/index.test.tsx +3 -1
  675. package/src/StepNavControls/index.tsx +1 -1
  676. package/src/StepNavList/index.test.tsx +3 -1
  677. package/src/StepNavList/index.tsx +1 -1
  678. package/src/StepNavListItem/index.test.tsx +3 -1
  679. package/src/StepNavListItem/index.tsx +1 -1
  680. package/src/SummaryList/index.test.tsx +3 -1
  681. package/src/SummaryListItem/index.test.tsx +3 -1
  682. package/src/SummaryListItemAction/index.tsx +1 -1
  683. package/src/SummaryListItemValue/index.tsx +1 -1
  684. package/src/Table/__snapshots__/index.test.tsx.snap +4 -4
  685. package/src/Table/index.test.tsx +36 -6
  686. package/src/TableBody/index.test.tsx +7 -1
  687. package/src/TableCaption/index.test.tsx +27 -5
  688. package/src/TableContainer/index.test.tsx +3 -1
  689. package/src/TableDataCell/index.test.tsx +21 -3
  690. package/src/TableHead/index.test.tsx +12 -2
  691. package/src/TableHead/index.tsx +1 -1
  692. package/src/TableHeadCell/index.test.tsx +129 -15
  693. package/src/TableLoaderBackground/index.tsx +1 -1
  694. package/src/TableNoDataRow/index.test.tsx +9 -1
  695. package/src/TableNoDataRow/index.tsx +1 -1
  696. package/src/TableRow/index.test.tsx +27 -3
  697. package/src/TableSortIconContainer/index.tsx +1 -1
  698. package/src/TabsHeading/index.test.tsx +9 -3
  699. package/src/TabsHeading/index.tsx +1 -1
  700. package/src/TabsList/index.tsx +1 -1
  701. package/src/TabsListItemBase/__snapshots__/index.test.tsx.snap +9 -9
  702. package/src/TabsListItemBase/index.test.tsx +4 -2
  703. package/src/TabsPanelBase/index.test.tsx +6 -2
  704. package/src/TaskList/index.test.tsx +3 -1
  705. package/src/TaskListItem/index.test.tsx +3 -1
  706. package/src/TaskListItem/index.tsx +1 -1
  707. package/src/TaskListItemContent/index.tsx +1 -1
  708. package/src/TaskListItemHeading/index.test.tsx +4 -2
  709. package/src/TaskListItemTag/index.test.tsx +5 -2
  710. package/src/TextArea/index.test.tsx +24 -8
  711. package/src/TextArea/index.tsx +1 -1
  712. package/src/TextArea/index.web.tsx +1 -4
  713. package/src/TextInput/index.native.tsx +3 -3
  714. package/src/TextInput/index.test.tsx +58 -23
  715. package/src/TextInput/index.tsx +1 -1
  716. package/src/Timeline/index.test.tsx +3 -1
  717. package/src/TimelineActions/index.test.tsx +3 -1
  718. package/src/TimelineActions/index.tsx +1 -1
  719. package/src/TimelineContent/index.test.tsx +3 -1
  720. package/src/TimelineContent/index.tsx +1 -1
  721. package/src/TimelineHeading/index.test.tsx +3 -1
  722. package/src/TimelineItem/index.test.tsx +3 -1
  723. package/src/TimelineItem/index.tsx +1 -1
  724. package/src/Top/index.tsx +1 -1
  725. package/src/Unpurge/index.tsx +1 -2
  726. package/src/VisuallyHidden/index.test.tsx +3 -1
  727. package/src/VisuallyHidden/index.tsx +1 -1
  728. package/src/WarningText/index.test.tsx +6 -2
  729. package/src/WarningText/index.tsx +4 -4
  730. package/src/WarningTextAssistive/index.tsx +6 -6
  731. package/src/index.ts +1 -2
  732. package/src/lazy.js +1222 -248
  733. package/src/registry.js +580 -202
  734. package/AutoCompleteInput/index.d.ts +0 -17
  735. package/AutoCompleteInput/index.js.map +0 -7
  736. package/SvgIcon/index.d.ts +0 -37
  737. package/SvgIcon/index.js +0 -30
  738. package/SvgIcon/index.js.map +0 -7
  739. package/SvgIcon/index.test.d.ts +0 -1
  740. package/SvgIcon/package.json +0 -6
  741. package/cjs/AutoCompleteInput/index.js.map +0 -7
  742. package/cjs/SvgIcon/index.js +0 -63
  743. package/cjs/SvgIcon/index.js.map +0 -7
  744. package/src/SvgIcon/__snapshots__/index.test.tsx.snap +0 -254
  745. package/src/SvgIcon/index.test.tsx +0 -68
  746. package/src/SvgIcon/index.tsx +0 -72
  747. /package/{AutoCompleteInput → AutoCompleteInputBase}/index.test.d.ts +0 -0
  748. /package/src/{AutoCompleteInput → AutoCompleteInputBase}/__snapshots__/index.test.tsx.snap +0 -0
@@ -4,9 +4,13 @@ import { render } from '@testing-library/react';
4
4
  import ErrorSummary from '@digigov/react-core/ErrorSummary';
5
5
 
6
6
  it('renders the ErrorSummary with no props', () => {
7
- expect(render(<ErrorSummary>hello</ErrorSummary>).baseElement).toMatchSnapshot();
7
+ expect(
8
+ render(<ErrorSummary>hello</ErrorSummary>).baseElement
9
+ ).toMatchSnapshot();
8
10
  });
9
11
 
10
12
  it('renders the ErrorSummary with dense=true', () => {
11
- expect(render(<ErrorSummary dense>hello</ErrorSummary>).baseElement).toMatchSnapshot();
13
+ expect(
14
+ render(<ErrorSummary dense>hello</ErrorSummary>).baseElement
15
+ ).toMatchSnapshot();
12
16
  });
@@ -4,7 +4,9 @@ import { render } from '@testing-library/react';
4
4
  import FieldContainer from '@digigov/react-core/FieldContainer';
5
5
 
6
6
  it('renders the FieldContainer with no props', () => {
7
- expect(render(<FieldContainer>hello</FieldContainer>).baseElement).toMatchSnapshot();
7
+ expect(
8
+ render(<FieldContainer>hello</FieldContainer>).baseElement
9
+ ).toMatchSnapshot();
8
10
  });
9
11
 
10
12
  it('renders the FieldContainer with error=true', () => {
@@ -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 FieldsetProps extends BaseProps<'fieldset'> { }
5
+ export interface FieldsetProps extends BaseProps<'fieldset'> {}
6
6
  /**
7
7
  * Details for the Fieldset.
8
8
  * Fieldset component is used to group related elements in a form.
@@ -5,7 +5,9 @@ import FieldsetLegend from '@digigov/react-core/FieldsetLegend';
5
5
 
6
6
  it('renders the FieldsetLegend with no props', () => {
7
7
  expect(
8
- render(<FieldsetLegend>This is FieldsetLegend with no props</FieldsetLegend>).baseElement
8
+ render(
9
+ <FieldsetLegend>This is FieldsetLegend with no props</FieldsetLegend>
10
+ ).baseElement
9
11
  ).toMatchSnapshot();
10
12
  });
11
13
 
@@ -8,5 +8,7 @@ it('renders the FileUpload with no props', () => {
8
8
  });
9
9
 
10
10
  it('renders the FileUpload with name prop', () => {
11
- expect(render(<FileUpload name={'some-name'} />).baseElement).toMatchSnapshot();
11
+ expect(
12
+ render(<FileUpload name={'some-name'} />).baseElement
13
+ ).toMatchSnapshot();
12
14
  });
@@ -8,5 +8,7 @@ it('renders the FileUpload with no props', () => {
8
8
  });
9
9
 
10
10
  it('renders the FileUpload with hasFiles prop', () => {
11
- expect(render(<FileUploadContainer hasFiles />).baseElement).toMatchSnapshot();
11
+ expect(
12
+ render(<FileUploadContainer hasFiles />).baseElement
13
+ ).toMatchSnapshot();
12
14
  });
@@ -4,5 +4,7 @@ import { render } from '@testing-library/react';
4
4
  import FillableText from '@digigov/react-core/FillableText';
5
5
 
6
6
  it('renders the FillableText with no props', () => {
7
- expect(render(<FillableText>hello</FillableText>).baseElement).toMatchSnapshot();
7
+ expect(
8
+ render(<FillableText>hello</FillableText>).baseElement
9
+ ).toMatchSnapshot();
8
10
  });
@@ -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 FillableTextProps extends BaseProps<'blockquote'> { }
5
+ export interface FillableTextProps extends BaseProps<'blockquote'> {}
6
6
  /**
7
7
  * Use FillableText component to display text that is connected with a form.
8
8
  * Whenever a user fills an input field, the corresponding text inside the LabeledText component gets focused.
@@ -4,10 +4,14 @@ import { render } from '@testing-library/react';
4
4
  import FilterContainer from '@digigov/react-core/FilterContainer';
5
5
 
6
6
  it('renders the FilterContainer with no props', () => {
7
- expect(render(<FilterContainer>hello</FilterContainer>).baseElement).toMatchSnapshot();
7
+ expect(
8
+ render(<FilterContainer>hello</FilterContainer>).baseElement
9
+ ).toMatchSnapshot();
8
10
  });
9
11
  it('renders the FilterContainer with open prop', () => {
10
- expect(render(<FilterContainer open>hello</FilterContainer>).baseElement).toMatchSnapshot();
12
+ expect(
13
+ render(<FilterContainer open>hello</FilterContainer>).baseElement
14
+ ).toMatchSnapshot();
11
15
  });
12
16
 
13
17
  it('renders the FilterContainer with border={false} prop', () => {
@@ -18,12 +22,14 @@ it('renders the FilterContainer with border={false} prop', () => {
18
22
 
19
23
  it('renders the FilterContainer with positionRelative="sm" prop', () => {
20
24
  expect(
21
- render(<FilterContainer positionRelative="sm">hello</FilterContainer>).baseElement
25
+ render(<FilterContainer positionRelative="sm">hello</FilterContainer>)
26
+ .baseElement
22
27
  ).toMatchSnapshot();
23
28
  });
24
29
 
25
30
  it('renders the FilterContainer with positionRelative="never" prop', () => {
26
31
  expect(
27
- render(<FilterContainer positionRelative="never">hello</FilterContainer>).baseElement
32
+ render(<FilterContainer positionRelative="never">hello</FilterContainer>)
33
+ .baseElement
28
34
  ).toMatchSnapshot();
29
35
  });
@@ -61,7 +61,8 @@ export const FilterContainer = React.forwardRef<
61
61
  ref={ref}
62
62
  className={clsx({
63
63
  'ds-filter-container': true,
64
- 'ds-filter-container--position-relative-always': positionRelative === 'always',
64
+ 'ds-filter-container--position-relative-always':
65
+ positionRelative === 'always',
65
66
  'ds-filter-container--position-relative-sm': positionRelative === 'sm',
66
67
  'ds-filter-container--position-relative-md': positionRelative === 'md',
67
68
  'ds-filter-container--position-relative-lg': positionRelative === 'lg',
@@ -4,5 +4,7 @@ import { render } from '@testing-library/react';
4
4
  import FilterContent from '@digigov/react-core/FilterContent';
5
5
 
6
6
  it('renders the FilterContent with no props', () => {
7
- expect(render(<FilterContent>hello!</FilterContent>).baseElement).toMatchSnapshot();
7
+ expect(
8
+ render(<FilterContent>hello!</FilterContent>).baseElement
9
+ ).toMatchSnapshot();
8
10
  });
@@ -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 FilterContentProps extends BaseProps<'div'> { }
5
+ export interface FilterContentProps extends BaseProps<'div'> {}
6
6
  /**
7
7
  * Use FilterContent inside FilterContainer as a wrapper for its content
8
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 FilterSelectedHeadingProps extends BaseProps<'div'> { }
5
+ export interface FilterSelectedHeadingProps extends BaseProps<'div'> {}
6
6
  /**
7
7
  * Use FilterSelectedHeading as a wrapper for placing Headings on filters
8
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 FilterSelectedSectionProps extends BaseProps<'div'> { }
5
+ export interface FilterSelectedSectionProps extends BaseProps<'div'> {}
6
6
  /**
7
7
  * FilterSelectedSection is a wrapper for the area of the selected filters
8
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 FooterProps extends BaseProps<'footer'> { }
5
+ export interface FooterProps extends BaseProps<'footer'> {}
6
6
  /**
7
7
  * Footer is used always at the end of the page, in the Layout component.
8
8
  */
@@ -4,5 +4,7 @@ import { render } from '@testing-library/react';
4
4
  import FooterContainer from '@digigov/react-core/FooterContainer';
5
5
 
6
6
  it('renders the FooterContainer with no props', () => {
7
- expect(render(<FooterContainer>hello</FooterContainer>).baseElement).toMatchSnapshot();
7
+ expect(
8
+ render(<FooterContainer>hello</FooterContainer>).baseElement
9
+ ).toMatchSnapshot();
8
10
  });
@@ -4,5 +4,7 @@ import { render } from '@testing-library/react';
4
4
  import FooterContent from '@digigov/react-core/FooterContent';
5
5
 
6
6
  it('renders the FooterContent with no props', () => {
7
- expect(render(<FooterContent>hello</FooterContent>).baseElement).toMatchSnapshot();
7
+ expect(
8
+ render(<FooterContent>hello</FooterContent>).baseElement
9
+ ).toMatchSnapshot();
8
10
  });
@@ -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 FooterContentProps extends BaseProps<'div'> { }
5
+ export interface FooterContentProps extends BaseProps<'div'> {}
6
6
  /**
7
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).
@@ -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 FooterContentLogosProps extends BaseProps<'div'> { }
5
+ export interface FooterContentLogosProps extends BaseProps<'div'> {}
6
6
  /**
7
7
  * FooterContentLogos is placed in the footer, inside the FooterContent ccomponent, above the Copyright.
8
8
  * It is a wrapper for extra logos.
@@ -4,7 +4,9 @@ import { render } from '@testing-library/react';
4
4
  import FooterHeading from '@digigov/react-core/FooterHeading';
5
5
 
6
6
  it('renders the FooterHeading with no props', () => {
7
- expect(render(<FooterHeading>hello</FooterHeading>).baseElement).toMatchSnapshot();
7
+ expect(
8
+ render(<FooterHeading>hello</FooterHeading>).baseElement
9
+ ).toMatchSnapshot();
8
10
  });
9
11
 
10
12
  it('renders the FooterHeading with size=m', () => {
@@ -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 FooterImageProps extends BaseProps<'img'> { }
5
+ export interface FooterImageProps extends BaseProps<'img'> {}
6
6
  /**
7
7
  * FooterImage is a component for logos and images in the footer.
8
8
  * It is used inside to FooterContentLogos.
@@ -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 FooterInfoProps extends BaseProps<'div'> { }
5
+ export interface FooterInfoProps extends BaseProps<'div'> {}
6
6
  /**
7
7
  * FooterInfo is inside the FooterContainer component.
8
8
  * This component is meant to wrap FooterInfoSection components.
@@ -4,7 +4,9 @@ import { render } from '@testing-library/react';
4
4
  import FooterInfoSection from '@digigov/react-core/FooterInfoSection';
5
5
 
6
6
  it('renders the FooterInfoSection with no props', () => {
7
- expect(render(<FooterInfoSection>hello</FooterInfoSection>).baseElement).toMatchSnapshot();
7
+ expect(
8
+ render(<FooterInfoSection>hello</FooterInfoSection>).baseElement
9
+ ).toMatchSnapshot();
8
10
  });
9
11
 
10
12
  it('renders the FooterInfoSection with grow=true', () => {
@@ -15,6 +17,7 @@ it('renders the FooterInfoSection with grow=true', () => {
15
17
 
16
18
  it('renders the FooterInfoSection with grow=false', () => {
17
19
  expect(
18
- render(<FooterInfoSection grow={false}>hello</FooterInfoSection>).baseElement
20
+ render(<FooterInfoSection grow={false}>hello</FooterInfoSection>)
21
+ .baseElement
19
22
  ).toMatchSnapshot();
20
23
  });
@@ -8,5 +8,7 @@ it('renders the FooterLink with no props', () => {
8
8
  });
9
9
 
10
10
  it('renders the FooterLink with href prop', () => {
11
- expect(render(<FooterLink href={'#'}>hello</FooterLink>).baseElement).toMatchSnapshot();
11
+ expect(
12
+ render(<FooterLink href={'#'}>hello</FooterLink>).baseElement
13
+ ).toMatchSnapshot();
12
14
  });
@@ -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 FooterLinkProps extends BaseProps<'a'> { }
5
+ export interface FooterLinkProps extends BaseProps<'a'> {}
6
6
  /**
7
7
  * FooterLink in used inside the Footer component.
8
8
  */
@@ -8,5 +8,7 @@ it('renders the FooterList with no props', () => {
8
8
  });
9
9
 
10
10
  it('renders the FooterList with columns=2', () => {
11
- expect(render(<FooterList columns={2}>hello</FooterList>).baseElement).toMatchSnapshot();
11
+ expect(
12
+ render(<FooterList columns={2}>hello</FooterList>).baseElement
13
+ ).toMatchSnapshot();
12
14
  });
@@ -4,5 +4,7 @@ import { render } from '@testing-library/react';
4
4
  import FooterListItem from '@digigov/react-core/FooterListItem';
5
5
 
6
6
  it('renders the FooterListItem with no props', () => {
7
- expect(render(<FooterListItem>hello</FooterListItem>).baseElement).toMatchSnapshot();
7
+ expect(
8
+ render(<FooterListItem>hello</FooterListItem>).baseElement
9
+ ).toMatchSnapshot();
8
10
  });
@@ -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 FooterListItemProps extends BaseProps<'li'> { }
5
+ export interface FooterListItemProps extends BaseProps<'li'> {}
6
6
  /**
7
7
  * FooterListItem must be inside the FooterList component.
8
8
  * This component has no props.
@@ -4,5 +4,7 @@ import { render } from '@testing-library/react';
4
4
  import FooterNavigation from '@digigov/react-core/FooterNavigation';
5
5
 
6
6
  it('renders the FooterNavigation with no props', () => {
7
- expect(render(<FooterNavigation>hello</FooterNavigation>).baseElement).toMatchSnapshot();
7
+ expect(
8
+ render(<FooterNavigation>hello</FooterNavigation>).baseElement
9
+ ).toMatchSnapshot();
8
10
  });
@@ -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 FooterNavigationProps extends BaseProps<'div'> { }
5
+ export interface FooterNavigationProps extends BaseProps<'div'> {}
6
6
  /**
7
7
  * FooterNavigation is optional. This components must be included in the FooterContainer.
8
8
  * Inside this component we place one or more of the component FooterNavigationSection.
@@ -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 FooterNavigationSectionProps extends BaseProps<'section'> { }
5
+ export interface FooterNavigationSectionProps extends BaseProps<'section'> {}
6
6
  /**
7
7
  * FooterNavigationSection must be inside the FooterNavigation.
8
8
  * Inside this component should be placed the FooterHeading (optional) and the FooterList.
@@ -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 FullPageBackgroundProps extends BaseProps<'div'> { }
5
+ export interface FullPageBackgroundProps extends BaseProps<'div'> {}
6
6
  /**
7
7
  * Use FullPageBackground component in order to add a grey background color with opacity.
8
8
  * FullPageBackground is the parent component and takes as children the LoaderContainer component.
@@ -3,7 +3,7 @@ import clsx from 'clsx';
3
3
  import Base, { BaseProps } from '@digigov/react-core/Base';
4
4
  import logo from '@digigov/react-core/GovGRLogo/govgr-logo-base64';
5
5
  import logoInverted from '@digigov/react-core/GovGRLogo/govgr-logo-blue-base64';
6
- export interface GovGRLogoProps extends BaseProps<'a'> { }
6
+ export interface GovGRLogoProps extends BaseProps<'a'> {}
7
7
  /**
8
8
  * Use this component anywhere you what to provide the gov.gr logo.
9
9
  * */
@@ -4,13 +4,13 @@ import Base, { BaseProps } from '@digigov/react-core/Base';
4
4
 
5
5
  type GridValues = 'auto' | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
6
6
  type SpacingValues = 1 | 2 | 3 | 4 | 5 | 6 | 8 | 10 | 11 | 12;
7
- type SpacingMediaValues = {
7
+ interface SpacingMediaValues {
8
8
  xs?: SpacingValues;
9
9
  sm?: SpacingValues;
10
10
  md?: SpacingValues;
11
11
  lg?: SpacingValues;
12
12
  xl?: SpacingValues;
13
- };
13
+ }
14
14
  export interface GridProps extends BaseProps<'div' | 'aside' | 'main'> {
15
15
  /**
16
16
  * If true, the component will have the flex container behavior. You should be wrapping items with a container.
@@ -4,5 +4,7 @@ import { render } from '@testing-library/react';
4
4
  import HeaderContent from '@digigov/react-core/HeaderContent';
5
5
 
6
6
  it('renders the HeaderContent with no props', () => {
7
- expect(render(<HeaderContent>hello</HeaderContent>).baseElement).toMatchSnapshot();
7
+ expect(
8
+ render(<HeaderContent>hello</HeaderContent>).baseElement
9
+ ).toMatchSnapshot();
8
10
  });
@@ -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 HeaderContentProps extends BaseProps<'div'> { }
5
+ export interface HeaderContentProps extends BaseProps<'div'> {}
6
6
  /**
7
7
  * HeaderContent is used inside HeaderSection as a wrapper for the header items(eg HeaderTitle, HeaderLogo etc)
8
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 HeaderNavMenuContentProps extends BaseProps<'div'> { }
5
+ export interface HeaderNavMenuContentProps extends BaseProps<'div'> {}
6
6
  /**
7
7
  * Use HeaderMenuContent inside HeaderSection as a wrapper for the header items(eg HeaderTitle, HeaderLog,
8
8
  * NavHorizontaList, SVG-icons etc).
@@ -4,5 +4,7 @@ import { render } from '@testing-library/react';
4
4
  import HeaderSection from '@digigov/react-core/HeaderSection';
5
5
 
6
6
  it('renders the HeaderSection with no props', () => {
7
- expect(render(<HeaderSection>hello</HeaderSection>).baseElement).toMatchSnapshot();
7
+ expect(
8
+ render(<HeaderSection>hello</HeaderSection>).baseElement
9
+ ).toMatchSnapshot();
8
10
  });
@@ -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 HeaderSectionProps extends BaseProps<'div'> { }
5
+ export interface HeaderSectionProps extends BaseProps<'div'> {}
6
6
  /**
7
7
  * HeaderSection is used inside Header component as a container for its items.
8
8
  */
@@ -4,10 +4,13 @@ import { render } from '@testing-library/react';
4
4
  import HeaderTitle from '@digigov/react-core/HeaderTitle';
5
5
 
6
6
  it('renders the HeaderTitle with no props', () => {
7
- expect(render(<HeaderTitle>hello</HeaderTitle>).baseElement).toMatchSnapshot();
7
+ expect(
8
+ render(<HeaderTitle>hello</HeaderTitle>).baseElement
9
+ ).toMatchSnapshot();
8
10
  });
9
11
  it('renders the HeaderTitle with href', () => {
10
12
  expect(
11
- render(<HeaderTitle href="https://government.gov.gr">hello</HeaderTitle>).baseElement
13
+ render(<HeaderTitle href="https://government.gov.gr">hello</HeaderTitle>)
14
+ .baseElement
12
15
  ).toMatchSnapshot();
13
16
  });
@@ -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 HeaderTitleProps extends BaseProps<'a'> { }
5
+ export interface HeaderTitleProps extends BaseProps<'a'> {}
6
6
  /**
7
7
  * Use this component inside HeaderContent to provide a title to the header.
8
8
  */
@@ -8,23 +8,33 @@ it('renders the Heading with no props', () => {
8
8
  });
9
9
 
10
10
  it('renders the Heading with size=xl', () => {
11
- expect(render(<Heading size={'xl'}>hello</Heading>).baseElement).toMatchSnapshot();
11
+ expect(
12
+ render(<Heading size={'xl'}>hello</Heading>).baseElement
13
+ ).toMatchSnapshot();
12
14
  });
13
15
 
14
16
  it('renders the Heading with size=lg', () => {
15
- expect(render(<Heading size={'lg'}>hello</Heading>).baseElement).toMatchSnapshot();
17
+ expect(
18
+ render(<Heading size={'lg'}>hello</Heading>).baseElement
19
+ ).toMatchSnapshot();
16
20
  });
17
21
 
18
22
  it('renders the Heading with size=md', () => {
19
- expect(render(<Heading size={'md'}>hello</Heading>).baseElement).toMatchSnapshot();
23
+ expect(
24
+ render(<Heading size={'md'}>hello</Heading>).baseElement
25
+ ).toMatchSnapshot();
20
26
  });
21
27
 
22
28
  it('renders the Heading with size=sm', () => {
23
- expect(render(<Heading size={'sm'}>hello</Heading>).baseElement).toMatchSnapshot();
29
+ expect(
30
+ render(<Heading size={'sm'}>hello</Heading>).baseElement
31
+ ).toMatchSnapshot();
24
32
  });
25
33
 
26
34
  it('renders the Heading with size=xs', () => {
27
- expect(render(<Heading size={'xs'}>hello</Heading>).baseElement).toMatchSnapshot();
35
+ expect(
36
+ render(<Heading size={'xs'}>hello</Heading>).baseElement
37
+ ).toMatchSnapshot();
28
38
  });
29
39
 
30
40
  it('renders the Heading with size=s and element h2', () => {
@@ -4,7 +4,9 @@ import { render } from '@testing-library/react';
4
4
  import HeadingCaption from '@digigov/react-core/HeadingCaption';
5
5
 
6
6
  it('renders the HeadingCaption with no props', () => {
7
- expect(render(<HeadingCaption>hello</HeadingCaption>).baseElement).toMatchSnapshot();
7
+ expect(
8
+ render(<HeadingCaption>hello</HeadingCaption>).baseElement
9
+ ).toMatchSnapshot();
8
10
  });
9
11
 
10
12
  it('renders the HeadingCaption with size=xl', () => {
@@ -70,7 +70,20 @@ export interface HiddenProps extends BaseProps<'div'> {
70
70
  */
71
71
  export const Hidden = React.forwardRef<HTMLDivElement, HiddenProps>(
72
72
  function Hidden(
73
- { className, children, xsUp = false, smUp, mdUp, lgUp, xlUp, xs, sm, md, lg, xl, ...props },
73
+ {
74
+ children,
75
+ xsUp = false,
76
+ smUp,
77
+ mdUp,
78
+ lgUp,
79
+ xlUp,
80
+ xs,
81
+ sm,
82
+ md,
83
+ lg,
84
+ xl,
85
+ ...props
86
+ },
74
87
  ref
75
88
  ) {
76
89
  return (
@@ -7,11 +7,17 @@ it('renders the Hint with no props', () => {
7
7
  expect(render(<Hint>hello</Hint>).baseElement).toMatchSnapshot();
8
8
  });
9
9
  it('renders the Hint with fontSize=14', () => {
10
- expect(render(<Hint fontSize={14}>hello</Hint>).baseElement).toMatchSnapshot();
10
+ expect(
11
+ render(<Hint fontSize={14}>hello</Hint>).baseElement
12
+ ).toMatchSnapshot();
11
13
  });
12
14
  it('renders the Hint with fontSize=16', () => {
13
- expect(render(<Hint fontSize={16}>hello</Hint>).baseElement).toMatchSnapshot();
15
+ expect(
16
+ render(<Hint fontSize={16}>hello</Hint>).baseElement
17
+ ).toMatchSnapshot();
14
18
  });
15
19
  it('renders the Hint with fontSize=24', () => {
16
- expect(render(<Hint fontSize={24}>hello</Hint>).baseElement).toMatchSnapshot();
20
+ expect(
21
+ render(<Hint fontSize={24}>hello</Hint>).baseElement
22
+ ).toMatchSnapshot();
17
23
  });
@@ -9,12 +9,12 @@ export interface HintProps extends TypographyProps {
9
9
  */
10
10
  breakWords?: boolean;
11
11
  /**
12
- * size is optional.
13
- * @value 'lg' Use it when a lg text is an introductory paragraph that you can use at the top of a page to summarize the content.
14
- * @value 'md' The majority of your body should use the standard 'md' size.
15
- * @value 'sm' Use it sparingly to make your text font size smaller: 16px on larger screens and 14px on smaller screens.
16
- * @default 'md'
17
- */
12
+ * size is optional.
13
+ * @value 'lg' Use it when a lg text is an introductory paragraph that you can use at the top of a page to summarize the content.
14
+ * @value 'md' The majority of your body should use the standard 'md' size.
15
+ * @value 'sm' Use it sparingly to make your text font size smaller: 16px on larger screens and 14px on smaller screens.
16
+ * @default 'md'
17
+ */
18
18
  size?: 'lg' | 'md' | 'sm';
19
19
  }
20
20
  /**
@@ -8,5 +8,7 @@ it('renders the Hint with src prop', () => {
8
8
  });
9
9
 
10
10
  it('renders the Hint with variant and src props', () => {
11
- expect(render(<ImageLogo variant="dark" src="logo.png" />).baseElement).toMatchSnapshot();
11
+ expect(
12
+ render(<ImageLogo variant="dark" src="logo.png" />).baseElement
13
+ ).toMatchSnapshot();
12
14
  });
@@ -19,10 +19,7 @@ export interface ImageLogoProps extends BaseProps<'img'> {
19
19
  * This component can't have children.
20
20
  */
21
21
  export const ImageLogo = React.forwardRef<HTMLImageElement, ImageLogoProps>(
22
- function ImageLogo(
23
- { lang, src, variant, className, children, ...props },
24
- ref
25
- ) {
22
+ function ImageLogo({ src, variant, className, ...props }, ref) {
26
23
  return (
27
24
  <>
28
25
  <Base
@@ -15,6 +15,7 @@ it('renders the Hint with variants=[light] and src props', () => {
15
15
 
16
16
  it('renders the Hint with variants=[light, dark] and src props', () => {
17
17
  expect(
18
- render(<ImageLogoSet variants={['light', 'dark']} src="logo.png" />).baseElement
18
+ render(<ImageLogoSet variants={['light', 'dark']} src="logo.png" />)
19
+ .baseElement
19
20
  ).toMatchSnapshot();
20
21
  });