@digigov/react-core 2.0.0-298cfc51 → 2.0.0-2a26e869

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 (732) 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.js.map +2 -2
  16. package/AutoCompleteInputTypeahead/index.js.map +1 -1
  17. package/AutoCompleteMultipleInputContainer/index.js +1 -1
  18. package/AutoCompleteMultipleInputContainer/index.js.map +2 -2
  19. package/AutoCompleteResultList/index.js.map +2 -2
  20. package/AutoCompleteStatus/index.js.map +1 -1
  21. package/BackLink/index.js +1 -3
  22. package/BackLink/index.js.map +2 -2
  23. package/BackToTopLink/index.js.map +1 -1
  24. package/BannerContainer/index.js.map +1 -1
  25. package/Base/compat/button.native/index.js +1 -1
  26. package/Base/compat/button.native.js.map +2 -2
  27. package/Base/compat/li.native.d.ts +1 -3
  28. package/Base/compat/li.native.js.map +2 -2
  29. package/Base/index.native.js.map +2 -2
  30. package/Base/index.web.d.ts +4 -4
  31. package/Base/index.web.js.map +1 -1
  32. package/Base/mapping.native/index.js +1 -1
  33. package/Base/mapping.native.js.map +2 -2
  34. package/Base/wrap.native/index.js +3 -2
  35. package/Base/wrap.native.js.map +2 -2
  36. package/Bottom/index.js.map +1 -1
  37. package/BottomInfo/index.js.map +1 -1
  38. package/BottomInfoContainer/index.js.map +1 -1
  39. package/BottomInfoContent/index.js.map +1 -1
  40. package/Breadcrumbs/index.js.map +1 -1
  41. package/BreadcrumbsList/index.js.map +1 -1
  42. package/BreadcrumbsListItemLink/index.js.map +1 -1
  43. package/ButtonGroup/index.js.map +1 -1
  44. package/ButtonLink/index.d.ts +5 -5
  45. package/ButtonLink/index.js.map +1 -1
  46. package/Card/index.js +10 -1
  47. package/Card/index.js.map +2 -2
  48. package/CardAction/index.js.map +1 -1
  49. package/CardContent/index.js.map +1 -1
  50. package/CardHeading/index.js.map +1 -1
  51. package/CheckboxConditional/index.js.map +1 -1
  52. package/CheckboxItem/index.js +11 -2
  53. package/CheckboxItem/index.js.map +2 -2
  54. package/CheckboxItemInput/index.js.map +1 -1
  55. package/CheckboxItemInput/index.native/index.js +2 -2
  56. package/CheckboxItemInput/index.native.js.map +2 -2
  57. package/CheckboxItemInput/index.web/index.js +2 -2
  58. package/CheckboxItemInput/index.web.js.map +2 -2
  59. package/ChipKeyValue/index.js.map +1 -1
  60. package/ChoiceDividerText/index.js.map +1 -1
  61. package/CodeBlockContainer/index.js.map +1 -1
  62. package/CodeBlockContent/index.js.map +1 -1
  63. package/CopyToClipboardContainer/index.js.map +1 -1
  64. package/CopyToClipboardMessage/index.js.map +1 -1
  65. package/CopyToClipboardMessage/index.native/index.js +1 -1
  66. package/CopyToClipboardMessage/index.native.d.ts +1 -1
  67. package/CopyToClipboardMessage/index.native.js.map +2 -2
  68. package/CopyrightContainer/index.js.map +1 -1
  69. package/DateInputItem/index.js.map +1 -1
  70. package/DateInputItem/index.native/index.js +7 -10
  71. package/DateInputItem/index.native.js.map +2 -2
  72. package/DateInputItem/index.web/index.js +11 -1
  73. package/DateInputItem/index.web.js.map +2 -2
  74. package/Details/index.d.ts +2 -2
  75. package/Details/index.js.map +2 -2
  76. package/Details/index.web.js.map +1 -1
  77. package/DetailsContent/index.js.map +1 -1
  78. package/DrawerHeading/index.js +1 -9
  79. package/DrawerHeading/index.js.map +2 -2
  80. package/DropdownContent/index.js.map +2 -2
  81. package/ErrorMessage/index.js.map +1 -1
  82. package/ErrorSummary/index.d.ts +9 -0
  83. package/ErrorSummary/index.js +3 -3
  84. package/ErrorSummary/index.js.map +2 -2
  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/NotificationBannerContainer/index.d.ts +2 -1
  144. package/NotificationBannerContainer/index.js.map +2 -2
  145. package/NotificationBannerContent/index.d.ts +22 -0
  146. package/NotificationBannerContent/index.js +14 -3
  147. package/NotificationBannerContent/index.js.map +2 -2
  148. package/NotificationBannerHeader/index.js.map +1 -1
  149. package/NotificationBannerHeading/index.js.map +1 -1
  150. package/NotificationBannerLink/index.js.map +2 -2
  151. package/NotificationBannerLink/index.native/index.js +1 -1
  152. package/NotificationBannerLink/index.native.js.map +2 -2
  153. package/NotificationBannerLink/index.web.js.map +1 -1
  154. package/PageTitleContainer/index.js.map +1 -1
  155. package/PaginationLabelContainer/index.js.map +1 -1
  156. package/PaginationList/index.js.map +1 -1
  157. package/PanelBody/index.js.map +1 -1
  158. package/PanelTitle/index.js.map +1 -1
  159. package/PhaseBanner/index.js.map +2 -2
  160. package/PhaseBannerHeaderContainer/index.js.map +1 -1
  161. package/PhaseBannerTag/index.js.map +1 -1
  162. package/PhaseBannerText/index.js.map +1 -1
  163. package/RadioConditional/index.js.map +1 -1
  164. package/RadioItem/index.js.map +2 -2
  165. package/ResultsActionBar/index.js.map +1 -1
  166. package/ResultsHeading/index.js.map +1 -1
  167. package/SearchButton/index.js.map +1 -1
  168. package/SearchContainer/index.js.map +1 -1
  169. package/SelectOption/index.js.map +1 -1
  170. package/SingleCharacterInputs/index.js.map +1 -1
  171. package/Skeleton/index.js +3 -2
  172. package/Skeleton/index.js.map +2 -2
  173. package/SkipLink/index.js.map +1 -1
  174. package/Stack/index.d.ts +2 -2
  175. package/Stack/index.js.map +1 -1
  176. package/StepNavAccordion/index.js.map +1 -1
  177. package/StepNavAccordionContent/index.js.map +1 -1
  178. package/StepNavAccordionHeadingTitle/index.js.map +1 -1
  179. package/StepNavAccordionSummary/index.js.map +1 -1
  180. package/StepNavControls/index.js.map +1 -1
  181. package/StepNavList/index.js.map +1 -1
  182. package/StepNavListItem/index.js.map +1 -1
  183. package/SummaryListItemAction/index.js.map +1 -1
  184. package/SummaryListItemValue/index.js.map +1 -1
  185. package/TableHead/index.js.map +1 -1
  186. package/TableLoaderBackground/index.js.map +1 -1
  187. package/TableNoDataRow/index.js.map +1 -1
  188. package/TableSortIconContainer/index.js.map +1 -1
  189. package/TabsHeading/index.js +1 -1
  190. package/TabsHeading/index.js.map +2 -2
  191. package/TabsList/index.js.map +1 -1
  192. package/TaskListItem/index.js.map +1 -1
  193. package/TaskListItemContent/index.js.map +1 -1
  194. package/TextArea/index.js.map +2 -2
  195. package/TextArea/index.web.js.map +2 -2
  196. package/TextInput/index.js.map +1 -1
  197. package/TimelineActions/index.js.map +1 -1
  198. package/TimelineContent/index.js.map +1 -1
  199. package/TimelineItem/index.js.map +1 -1
  200. package/Top/index.js.map +1 -1
  201. package/Unpurge/index.js.map +2 -2
  202. package/VisuallyHidden/index.js.map +1 -1
  203. package/WarningText/index.js.map +1 -1
  204. package/WarningTextAssistive/index.d.ts +3 -3
  205. package/WarningTextAssistive/index.js.map +2 -2
  206. package/cjs/AccordionControls/index.js.map +1 -1
  207. package/cjs/AccordionSection/index.js.map +1 -1
  208. package/cjs/AccordionSectionContent/index.js.map +1 -1
  209. package/cjs/AccordionSectionSummary/index.js.map +1 -1
  210. package/cjs/AccordionSectionSummaryHeading/index.js.map +1 -1
  211. package/cjs/AdminAside/index.js.map +1 -1
  212. package/cjs/AdminContainer/index.js +1 -1
  213. package/cjs/AdminContainer/index.js.map +2 -2
  214. package/cjs/AdminHeader/index.js.map +1 -1
  215. package/cjs/AdminHeaderContent/index.js.map +2 -2
  216. package/cjs/AdminLayout/index.js.map +2 -2
  217. package/cjs/AdminMain/index.js.map +1 -1
  218. package/cjs/AutoCompleteAssistiveHint/index.js.map +1 -1
  219. package/cjs/AutoCompleteContainer/index.js.map +2 -2
  220. package/cjs/AutoCompleteInputBase/index.js.map +2 -2
  221. package/cjs/AutoCompleteInputTypeahead/index.js.map +1 -1
  222. package/cjs/AutoCompleteMultipleInputContainer/index.js +1 -1
  223. package/cjs/AutoCompleteMultipleInputContainer/index.js.map +2 -2
  224. package/cjs/AutoCompleteResultList/index.js.map +2 -2
  225. package/cjs/AutoCompleteStatus/index.js.map +1 -1
  226. package/cjs/BackLink/index.js +1 -3
  227. package/cjs/BackLink/index.js.map +2 -2
  228. package/cjs/BackToTopLink/index.js.map +1 -1
  229. package/cjs/BannerContainer/index.js.map +1 -1
  230. package/cjs/Base/compat/button.native/index.js +1 -1
  231. package/cjs/Base/compat/button.native.js.map +2 -2
  232. package/cjs/Base/compat/li.native.js.map +2 -2
  233. package/cjs/Base/index.native.js.map +2 -2
  234. package/cjs/Base/index.web.js.map +1 -1
  235. package/cjs/Base/mapping.native/index.js +1 -1
  236. package/cjs/Base/mapping.native.js.map +2 -2
  237. package/cjs/Base/wrap.native/index.js +3 -2
  238. package/cjs/Base/wrap.native.js.map +2 -2
  239. package/cjs/Bottom/index.js.map +1 -1
  240. package/cjs/BottomInfo/index.js.map +1 -1
  241. package/cjs/BottomInfoContainer/index.js.map +1 -1
  242. package/cjs/BottomInfoContent/index.js.map +1 -1
  243. package/cjs/Breadcrumbs/index.js.map +1 -1
  244. package/cjs/BreadcrumbsList/index.js.map +1 -1
  245. package/cjs/BreadcrumbsListItemLink/index.js.map +1 -1
  246. package/cjs/ButtonGroup/index.js.map +1 -1
  247. package/cjs/ButtonLink/index.js.map +1 -1
  248. package/cjs/Card/index.js +10 -1
  249. package/cjs/Card/index.js.map +2 -2
  250. package/cjs/CardAction/index.js.map +1 -1
  251. package/cjs/CardContent/index.js.map +1 -1
  252. package/cjs/CardHeading/index.js.map +1 -1
  253. package/cjs/CheckboxConditional/index.js.map +1 -1
  254. package/cjs/CheckboxItem/index.js +11 -2
  255. package/cjs/CheckboxItem/index.js.map +2 -2
  256. package/cjs/CheckboxItemInput/index.js.map +1 -1
  257. package/cjs/CheckboxItemInput/index.native/index.js +2 -2
  258. package/cjs/CheckboxItemInput/index.native.js.map +2 -2
  259. package/cjs/CheckboxItemInput/index.web/index.js +2 -2
  260. package/cjs/CheckboxItemInput/index.web.js.map +2 -2
  261. package/cjs/ChipKeyValue/index.js.map +1 -1
  262. package/cjs/ChoiceDividerText/index.js.map +1 -1
  263. package/cjs/CodeBlockContainer/index.js.map +1 -1
  264. package/cjs/CodeBlockContent/index.js.map +1 -1
  265. package/cjs/CopyToClipboardContainer/index.js.map +1 -1
  266. package/cjs/CopyToClipboardMessage/index.js.map +1 -1
  267. package/cjs/CopyToClipboardMessage/index.native/index.js +1 -1
  268. package/cjs/CopyToClipboardMessage/index.native.js.map +2 -2
  269. package/cjs/CopyrightContainer/index.js.map +1 -1
  270. package/cjs/DateInputItem/index.js.map +1 -1
  271. package/cjs/DateInputItem/index.native/index.js +7 -10
  272. package/cjs/DateInputItem/index.native.js.map +2 -2
  273. package/cjs/DateInputItem/index.web/index.js +11 -1
  274. package/cjs/DateInputItem/index.web.js.map +2 -2
  275. package/cjs/Details/index.js.map +2 -2
  276. package/cjs/Details/index.web.js.map +1 -1
  277. package/cjs/DetailsContent/index.js.map +1 -1
  278. package/cjs/DrawerHeading/index.js +1 -9
  279. package/cjs/DrawerHeading/index.js.map +2 -2
  280. package/cjs/DropdownContent/index.js.map +2 -2
  281. package/cjs/ErrorMessage/index.js.map +1 -1
  282. package/cjs/ErrorSummary/index.js +3 -3
  283. package/cjs/ErrorSummary/index.js.map +2 -2
  284. package/cjs/Fieldset/index.js.map +1 -1
  285. package/cjs/FillableText/index.js.map +1 -1
  286. package/cjs/FilterContainer/index.js.map +2 -2
  287. package/cjs/FilterContent/index.js.map +1 -1
  288. package/cjs/FilterSelectedHeading/index.js.map +1 -1
  289. package/cjs/FilterSelectedSection/index.js.map +1 -1
  290. package/cjs/Footer/index.js.map +1 -1
  291. package/cjs/FooterContent/index.js.map +1 -1
  292. package/cjs/FooterContentLogos/index.js.map +1 -1
  293. package/cjs/FooterImage/index.js.map +1 -1
  294. package/cjs/FooterInfo/index.js.map +1 -1
  295. package/cjs/FooterLink/index.js.map +1 -1
  296. package/cjs/FooterListItem/index.js.map +1 -1
  297. package/cjs/FooterNavigation/index.js.map +1 -1
  298. package/cjs/FooterNavigationSection/index.js.map +1 -1
  299. package/cjs/FullPageBackground/index.js.map +1 -1
  300. package/cjs/GovGRLogo/index.js.map +1 -1
  301. package/cjs/Grid/index.js.map +1 -1
  302. package/cjs/HeaderContent/index.js.map +1 -1
  303. package/cjs/HeaderNavMenuContent/index.js.map +1 -1
  304. package/cjs/HeaderSection/index.js.map +1 -1
  305. package/cjs/HeaderTitle/index.js.map +1 -1
  306. package/cjs/Hidden/index.js +14 -1
  307. package/cjs/Hidden/index.js.map +2 -2
  308. package/cjs/Hint/index.js.map +1 -1
  309. package/cjs/ImageLogo/index.js +1 -1
  310. package/cjs/ImageLogo/index.js.map +2 -2
  311. package/cjs/ImageLogoSet/index.js +2 -2
  312. package/cjs/ImageLogoSet/index.js.map +2 -2
  313. package/cjs/KitchenSinkAllComponents/index.js.map +1 -1
  314. package/cjs/KitchenSinkCard/index.js.map +1 -1
  315. package/cjs/KitchenSinkCategory/index.js.map +1 -1
  316. package/cjs/KitchenSinkContentInfo/index.js.map +1 -1
  317. package/cjs/KitchenSinkContentTags/index.js.map +1 -1
  318. package/cjs/KitchenSinkHeading/index.js.map +1 -1
  319. package/cjs/KitchenSinkLetterContent/index.js.map +1 -1
  320. package/cjs/LabelContainer/index.js.map +1 -1
  321. package/cjs/LinkBase/index.js.map +2 -2
  322. package/cjs/ListItem/index.js.map +1 -1
  323. package/cjs/LoaderContainer/index.js.map +1 -1
  324. package/cjs/Main/index.js.map +1 -1
  325. package/cjs/MastheadBody/index.js.map +1 -1
  326. package/cjs/MastheadLogo/index.js.map +1 -1
  327. package/cjs/ModalAction/index.js.map +1 -1
  328. package/cjs/ModalContent/index.js.map +1 -1
  329. package/cjs/ModalHeading/index.js.map +1 -1
  330. package/cjs/NavListItemAction/index.js +1 -1
  331. package/cjs/NavListItemAction/index.js.map +2 -2
  332. package/cjs/NavListItemActionContainer/index.web.js.map +1 -1
  333. package/cjs/NavListItemBadge/index.js +1 -1
  334. package/cjs/NavListItemBadge/index.js.map +2 -2
  335. package/cjs/NavMenuContent/index.js +2 -2
  336. package/cjs/NavMenuContent/index.js.map +3 -3
  337. package/cjs/NavMenuContentListBase/index.js.map +1 -1
  338. package/cjs/NavMenuContentListItem/index.js.map +1 -1
  339. package/cjs/NavMenuTitle/index.js.map +1 -1
  340. package/cjs/NotificationBannerContainer/index.js.map +2 -2
  341. package/cjs/NotificationBannerContent/index.js +14 -3
  342. package/cjs/NotificationBannerContent/index.js.map +2 -2
  343. package/cjs/NotificationBannerHeader/index.js.map +1 -1
  344. package/cjs/NotificationBannerHeading/index.js.map +1 -1
  345. package/cjs/NotificationBannerLink/index.js.map +2 -2
  346. package/cjs/NotificationBannerLink/index.native/index.js +1 -1
  347. package/cjs/NotificationBannerLink/index.native.js.map +2 -2
  348. package/cjs/NotificationBannerLink/index.web.js.map +1 -1
  349. package/cjs/PageTitleContainer/index.js.map +1 -1
  350. package/cjs/PaginationLabelContainer/index.js.map +1 -1
  351. package/cjs/PaginationList/index.js.map +1 -1
  352. package/cjs/PanelBody/index.js.map +1 -1
  353. package/cjs/PanelTitle/index.js.map +1 -1
  354. package/cjs/PhaseBanner/index.js.map +2 -2
  355. package/cjs/PhaseBannerHeaderContainer/index.js.map +1 -1
  356. package/cjs/PhaseBannerTag/index.js.map +1 -1
  357. package/cjs/PhaseBannerText/index.js.map +1 -1
  358. package/cjs/RadioConditional/index.js.map +1 -1
  359. package/cjs/RadioItem/index.js.map +2 -2
  360. package/cjs/ResultsActionBar/index.js.map +1 -1
  361. package/cjs/ResultsHeading/index.js.map +1 -1
  362. package/cjs/SearchButton/index.js.map +1 -1
  363. package/cjs/SearchContainer/index.js.map +1 -1
  364. package/cjs/SelectOption/index.js.map +1 -1
  365. package/cjs/SingleCharacterInputs/index.js.map +1 -1
  366. package/cjs/Skeleton/index.js +3 -2
  367. package/cjs/Skeleton/index.js.map +2 -2
  368. package/cjs/SkipLink/index.js.map +1 -1
  369. package/cjs/Stack/index.js.map +1 -1
  370. package/cjs/StepNavAccordion/index.js.map +1 -1
  371. package/cjs/StepNavAccordionContent/index.js.map +1 -1
  372. package/cjs/StepNavAccordionHeadingTitle/index.js.map +1 -1
  373. package/cjs/StepNavAccordionSummary/index.js.map +1 -1
  374. package/cjs/StepNavControls/index.js.map +1 -1
  375. package/cjs/StepNavList/index.js.map +1 -1
  376. package/cjs/StepNavListItem/index.js.map +1 -1
  377. package/cjs/SummaryListItemAction/index.js.map +1 -1
  378. package/cjs/SummaryListItemValue/index.js.map +1 -1
  379. package/cjs/TableHead/index.js.map +1 -1
  380. package/cjs/TableLoaderBackground/index.js.map +1 -1
  381. package/cjs/TableNoDataRow/index.js.map +1 -1
  382. package/cjs/TableSortIconContainer/index.js.map +1 -1
  383. package/cjs/TabsHeading/index.js +1 -1
  384. package/cjs/TabsHeading/index.js.map +2 -2
  385. package/cjs/TabsList/index.js.map +1 -1
  386. package/cjs/TaskListItem/index.js.map +1 -1
  387. package/cjs/TaskListItemContent/index.js.map +1 -1
  388. package/cjs/TextArea/index.js.map +2 -2
  389. package/cjs/TextArea/index.web.js.map +2 -2
  390. package/cjs/TextInput/index.js.map +1 -1
  391. package/cjs/TimelineActions/index.js.map +1 -1
  392. package/cjs/TimelineContent/index.js.map +1 -1
  393. package/cjs/TimelineItem/index.js.map +1 -1
  394. package/cjs/Top/index.js.map +1 -1
  395. package/cjs/Unpurge/index.js.map +2 -2
  396. package/cjs/VisuallyHidden/index.js.map +1 -1
  397. package/cjs/WarningText/index.js.map +1 -1
  398. package/cjs/WarningTextAssistive/index.js.map +2 -2
  399. package/cjs/lazy/index.js +59 -59
  400. package/cjs/lazy.js.map +3 -3
  401. package/cjs/registry/index.js +12 -10
  402. package/cjs/registry.js.map +3 -3
  403. package/index.js +1 -1
  404. package/lazy/index.js +246 -250
  405. package/package.json +3 -3
  406. package/registry/index.js +277 -276
  407. package/src/AccordionControls/index.tsx +1 -1
  408. package/src/AccordionSection/index.test.tsx +3 -1
  409. package/src/AccordionSection/index.tsx +1 -1
  410. package/src/AccordionSectionContent/index.tsx +1 -1
  411. package/src/AccordionSectionSummary/index.tsx +1 -1
  412. package/src/AccordionSectionSummaryHeading/index.tsx +1 -1
  413. package/src/AdminAside/index.tsx +1 -1
  414. package/src/AdminContainer/index.test.tsx +6 -2
  415. package/src/AdminContainer/index.tsx +1 -1
  416. package/src/AdminHeader/index.test.tsx +3 -1
  417. package/src/AdminHeader/index.tsx +1 -1
  418. package/src/AdminHeaderContent/index.tsx +4 -2
  419. package/src/AdminLayout/index.test.tsx +3 -1
  420. package/src/AdminLayout/index.tsx +1 -2
  421. package/src/AdminMain/index.tsx +1 -1
  422. package/src/AdminTopSection/index.test.tsx +3 -1
  423. package/src/AutoCompleteAssistiveHint/index.test.tsx +2 -1
  424. package/src/AutoCompleteAssistiveHint/index.tsx +1 -1
  425. package/src/AutoCompleteContainer/index.tsx +4 -1
  426. package/src/AutoCompleteInputBase/index.tsx +0 -1
  427. package/src/AutoCompleteInputTypeahead/index.tsx +1 -1
  428. package/src/AutoCompleteMultipleInputContainer/index.tsx +4 -4
  429. package/src/AutoCompleteResultList/index.test.tsx +2 -1
  430. package/src/AutoCompleteResultList/index.tsx +1 -4
  431. package/src/AutoCompleteResultListItem/index.test.tsx +2 -1
  432. package/src/AutoCompleteStatus/index.tsx +1 -1
  433. package/src/AutoCompleteStatusContainer/index.test.tsx +2 -1
  434. package/src/BackLink/index.test.tsx +3 -1
  435. package/src/BackLink/index.tsx +2 -4
  436. package/src/BackToTopLink/index.tsx +1 -1
  437. package/src/BannerContainer/index.test.tsx +3 -1
  438. package/src/BannerContainer/index.tsx +1 -1
  439. package/src/Base/compat/button.native.tsx +1 -1
  440. package/src/Base/compat/li.native.tsx +1 -3
  441. package/src/Base/index.native.tsx +1 -1
  442. package/src/Base/index.web.tsx +4 -4
  443. package/src/Base/mapping.native.tsx +8 -4
  444. package/src/Base/wrap.native.tsx +4 -5
  445. package/src/Blockquote/index.test.tsx +3 -1
  446. package/src/Bottom/index.tsx +1 -1
  447. package/src/BottomInfo/index.tsx +1 -1
  448. package/src/BottomInfoContainer/index.tsx +1 -1
  449. package/src/BottomInfoContent/index.test.tsx +3 -1
  450. package/src/BottomInfoContent/index.tsx +1 -1
  451. package/src/Breadcrumbs/index.test.tsx +3 -1
  452. package/src/Breadcrumbs/index.tsx +1 -1
  453. package/src/BreadcrumbsList/index.test.tsx +3 -1
  454. package/src/BreadcrumbsList/index.tsx +1 -1
  455. package/src/BreadcrumbsListItemLink/index.test.tsx +2 -1
  456. package/src/BreadcrumbsListItemLink/index.tsx +1 -1
  457. package/src/Button/index.test.tsx +23 -8
  458. package/src/ButtonGroup/index.test.tsx +3 -1
  459. package/src/ButtonGroup/index.tsx +1 -1
  460. package/src/ButtonLink/index.test.tsx +8 -3
  461. package/src/ButtonLink/index.tsx +5 -5
  462. package/src/CallToAction/index.test.tsx +3 -1
  463. package/src/Card/index.test.tsx +9 -3
  464. package/src/Card/index.tsx +10 -1
  465. package/src/CardAction/index.tsx +1 -1
  466. package/src/CardContent/index.test.tsx +3 -1
  467. package/src/CardContent/index.tsx +1 -1
  468. package/src/CardHeading/index.test.tsx +3 -1
  469. package/src/CardHeading/index.tsx +1 -1
  470. package/src/CheckboxConditional/index.tsx +1 -1
  471. package/src/CheckboxItem/index.test.tsx +6 -2
  472. package/src/CheckboxItem/index.tsx +10 -3
  473. package/src/CheckboxItemInput/index.native.tsx +2 -2
  474. package/src/CheckboxItemInput/index.tsx +1 -1
  475. package/src/CheckboxItemInput/index.web.tsx +3 -4
  476. package/src/ChipContainer/index.spec.tsx +3 -1
  477. package/src/ChipHeading/index.test.tsx +3 -1
  478. package/src/ChipKeyValue/index.test.tsx +3 -1
  479. package/src/ChipKeyValue/index.tsx +1 -1
  480. package/src/ChoiceDividerText/index.test.tsx +3 -1
  481. package/src/ChoiceDividerText/index.tsx +1 -1
  482. package/src/CircularProgress/index.test.tsx +3 -1
  483. package/src/CloseButton/index.test.tsx +3 -1
  484. package/src/Code/index.test.tsx +7 -3
  485. package/src/CodeBlockContainer/index.tsx +1 -1
  486. package/src/CodeBlockContent/index.tsx +1 -1
  487. package/src/Container/index.test.tsx +3 -1
  488. package/src/CopyToClipboardContainer/index.spec.tsx +2 -1
  489. package/src/CopyToClipboardContainer/index.tsx +1 -1
  490. package/src/CopyToClipboardMessage/index.native.tsx +2 -2
  491. package/src/CopyToClipboardMessage/index.test.tsx +6 -3
  492. package/src/CopyToClipboardMessage/index.tsx +1 -1
  493. package/src/CopyrightContainer/index.tsx +1 -1
  494. package/src/DateInputItem/index.native.tsx +7 -10
  495. package/src/DateInputItem/index.test.tsx +3 -1
  496. package/src/DateInputItem/index.tsx +1 -1
  497. package/src/DateInputItem/index.web.tsx +12 -3
  498. package/src/Details/index.tsx +2 -2
  499. package/src/Details/index.web.tsx +1 -1
  500. package/src/DetailsContent/index.test.tsx +3 -1
  501. package/src/DetailsContent/index.tsx +1 -1
  502. package/src/DetailsSummary/index.test.tsx +3 -1
  503. package/src/DrawerHeading/index.tsx +1 -5
  504. package/src/DropdownBase/index.test.tsx +6 -2
  505. package/src/DropdownButton/__snapshots__/index.test.tsx.snap +13 -13
  506. package/src/DropdownButton/index.test.tsx +8 -4
  507. package/src/DropdownContent/index.test.tsx +3 -1
  508. package/src/DropdownContent/index.tsx +1 -1
  509. package/src/ErrorMessage/index.test.tsx +3 -1
  510. package/src/ErrorMessage/index.tsx +1 -1
  511. package/src/ErrorSummary/index.test.tsx +6 -2
  512. package/src/ErrorSummary/index.tsx +17 -4
  513. package/src/FieldContainer/index.test.tsx +3 -1
  514. package/src/Fieldset/index.tsx +1 -1
  515. package/src/FieldsetLegend/index.test.tsx +3 -1
  516. package/src/FileUpload/index.test.tsx +3 -1
  517. package/src/FileUploadContainer/index.test.tsx +3 -1
  518. package/src/FillableText/index.test.tsx +3 -1
  519. package/src/FillableText/index.tsx +1 -1
  520. package/src/FilterContainer/index.test.tsx +10 -4
  521. package/src/FilterContainer/index.tsx +2 -1
  522. package/src/FilterContent/index.test.tsx +3 -1
  523. package/src/FilterContent/index.tsx +1 -1
  524. package/src/FilterSelectedHeading/index.tsx +1 -1
  525. package/src/FilterSelectedSection/index.tsx +1 -1
  526. package/src/Footer/index.tsx +1 -1
  527. package/src/FooterContainer/index.test.tsx +3 -1
  528. package/src/FooterContent/index.test.tsx +3 -1
  529. package/src/FooterContent/index.tsx +1 -1
  530. package/src/FooterContentLogos/index.tsx +1 -1
  531. package/src/FooterHeading/index.test.tsx +3 -1
  532. package/src/FooterImage/index.tsx +1 -1
  533. package/src/FooterInfo/index.tsx +1 -1
  534. package/src/FooterInfoSection/index.test.tsx +5 -2
  535. package/src/FooterLink/index.test.tsx +3 -1
  536. package/src/FooterLink/index.tsx +1 -1
  537. package/src/FooterList/index.test.tsx +3 -1
  538. package/src/FooterListItem/index.test.tsx +3 -1
  539. package/src/FooterListItem/index.tsx +1 -1
  540. package/src/FooterNavigation/index.test.tsx +3 -1
  541. package/src/FooterNavigation/index.tsx +1 -1
  542. package/src/FooterNavigationSection/index.tsx +1 -1
  543. package/src/FullPageBackground/index.tsx +1 -1
  544. package/src/GovGRLogo/index.tsx +1 -1
  545. package/src/Grid/index.tsx +2 -2
  546. package/src/HeaderContent/index.test.tsx +3 -1
  547. package/src/HeaderContent/index.tsx +1 -1
  548. package/src/HeaderNavMenuContent/index.tsx +1 -1
  549. package/src/HeaderSection/index.test.tsx +3 -1
  550. package/src/HeaderSection/index.tsx +1 -1
  551. package/src/HeaderTitle/index.test.tsx +5 -2
  552. package/src/HeaderTitle/index.tsx +1 -1
  553. package/src/Heading/index.test.tsx +15 -5
  554. package/src/HeadingCaption/index.test.tsx +3 -1
  555. package/src/Hidden/index.tsx +14 -1
  556. package/src/Hint/index.test.tsx +9 -3
  557. package/src/Hint/index.tsx +6 -6
  558. package/src/ImageLogo/index.test.tsx +3 -1
  559. package/src/ImageLogo/index.tsx +1 -4
  560. package/src/ImageLogoSet/index.test.tsx +2 -1
  561. package/src/ImageLogoSet/index.tsx +3 -6
  562. package/src/KitchenSinkAllComponents/index.tsx +1 -1
  563. package/src/KitchenSinkCard/index.tsx +1 -1
  564. package/src/KitchenSinkCategory/index.tsx +1 -1
  565. package/src/KitchenSinkContentInfo/index.tsx +1 -1
  566. package/src/KitchenSinkContentTags/index.tsx +1 -1
  567. package/src/KitchenSinkHeading/index.tsx +1 -1
  568. package/src/KitchenSinkLetterContent/index.tsx +1 -1
  569. package/src/LabelContainer/index.test.tsx +3 -1
  570. package/src/LabelContainer/index.tsx +1 -1
  571. package/src/LabelTitle/index.test.tsx +15 -5
  572. package/src/LabeledText/index.test.tsx +3 -1
  573. package/src/LinkBase/index.test.tsx +6 -2
  574. package/src/LinkBase/index.tsx +4 -1
  575. package/src/List/__snapshots__/index.test.tsx.snap +19 -19
  576. package/src/List/index.test.tsx +8 -4
  577. package/src/ListItem/index.tsx +1 -1
  578. package/src/LoaderContainer/index.tsx +1 -1
  579. package/src/Main/index.tsx +1 -1
  580. package/src/MastheadBody/index.test.tsx +3 -1
  581. package/src/MastheadBody/index.tsx +1 -1
  582. package/src/MastheadLogo/index.tsx +1 -1
  583. package/src/ModalAction/index.test.tsx +3 -1
  584. package/src/ModalAction/index.tsx +1 -1
  585. package/src/ModalContainer/index.test.tsx +3 -1
  586. package/src/ModalContent/index.test.tsx +3 -1
  587. package/src/ModalContent/index.tsx +1 -1
  588. package/src/ModalHeading/index.test.tsx +3 -1
  589. package/src/ModalHeading/index.tsx +1 -1
  590. package/src/Nav/index.test.tsx +6 -2
  591. package/src/NavListItemAction/index.test.tsx +2 -1
  592. package/src/NavListItemAction/index.tsx +2 -4
  593. package/src/NavListItemActionContainer/index.test.tsx +2 -1
  594. package/src/NavListItemActionContainer/index.web.tsx +1 -1
  595. package/src/NavListItemBadge/index.tsx +1 -1
  596. package/src/NavListItemButton/index.test.tsx +7 -3
  597. package/src/NavListItemLink/index.test.tsx +3 -1
  598. package/src/NavMenuContainer/index.test.tsx +7 -3
  599. package/src/NavMenuContent/index.tsx +2 -3
  600. package/src/NavMenuContentListBase/index.tsx +1 -1
  601. package/src/NavMenuContentListItem/index.tsx +1 -1
  602. package/src/NavMenuTitle/index.test.tsx +3 -1
  603. package/src/NavMenuTitle/index.tsx +1 -1
  604. package/src/NormalText/__snapshots__/index.test.tsx.snap +0 -12
  605. package/src/NormalText/index.test.tsx +33 -21
  606. package/src/NotificationBannerContainer/index.test.tsx +2 -1
  607. package/src/NotificationBannerContainer/index.tsx +2 -1
  608. package/src/NotificationBannerContent/index.test.tsx +2 -1
  609. package/src/NotificationBannerContent/index.tsx +50 -4
  610. package/src/NotificationBannerHeader/index.test.tsx +2 -1
  611. package/src/NotificationBannerHeader/index.tsx +1 -1
  612. package/src/NotificationBannerHeading/index.test.tsx +2 -1
  613. package/src/NotificationBannerHeading/index.tsx +1 -1
  614. package/src/NotificationBannerLink/index.native.tsx +1 -1
  615. package/src/NotificationBannerLink/index.tsx +1 -1
  616. package/src/NotificationBannerLink/index.web.tsx +1 -1
  617. package/src/PageTitleCaption/index.test.tsx +3 -1
  618. package/src/PageTitleContainer/index.tsx +1 -1
  619. package/src/PageTitleHeading/index.test.tsx +3 -1
  620. package/src/Pagination/index.spec.tsx +3 -1
  621. package/src/PaginationLabelContainer/index.spec.tsx +2 -1
  622. package/src/PaginationLabelContainer/index.tsx +1 -1
  623. package/src/PaginationList/index.spec.tsx +3 -1
  624. package/src/PaginationList/index.tsx +1 -1
  625. package/src/PaginationListItem/index.spec.tsx +4 -2
  626. package/src/PanelBody/index.tsx +1 -1
  627. package/src/PanelTitle/index.tsx +1 -1
  628. package/src/Paragraph/__snapshots__/index.test.tsx.snap +0 -12
  629. package/src/Paragraph/index.test.tsx +33 -17
  630. package/src/PhaseBanner/index.test.tsx +6 -2
  631. package/src/PhaseBanner/index.tsx +2 -1
  632. package/src/PhaseBannerHeaderContainer/inde.test.tsx +2 -1
  633. package/src/PhaseBannerHeaderContainer/index.tsx +1 -1
  634. package/src/PhaseBannerTag/index.test.tsx +3 -1
  635. package/src/PhaseBannerTag/index.tsx +1 -1
  636. package/src/PhaseBannerText/index.test.tsx +3 -1
  637. package/src/PhaseBannerText/index.tsx +1 -1
  638. package/src/RadioConditional/index.test.tsx +3 -1
  639. package/src/RadioConditional/index.tsx +1 -1
  640. package/src/RadioContainer/index.test.tsx +8 -3
  641. package/src/RadioItem/index.test.tsx +6 -2
  642. package/src/RadioItem/index.tsx +2 -1
  643. package/src/ResultsActionBar/index.tsx +1 -1
  644. package/src/ResultsActionBar/indext.test.tsx +3 -1
  645. package/src/ResultsHeading/index.test.tsx +3 -1
  646. package/src/ResultsHeading/index.tsx +1 -1
  647. package/src/SearchButton/index.tsx +1 -1
  648. package/src/SearchContainer/index.test.tsx +3 -1
  649. package/src/SearchContainer/index.tsx +1 -1
  650. package/src/SectionBreak/index.test.tsx +3 -1
  651. package/src/SelectContainer/index.test.tsx +5 -2
  652. package/src/SelectOption/index.test.tsx +3 -1
  653. package/src/SelectOption/index.tsx +1 -1
  654. package/src/SingleCharacterInput/__snapshots__/index.test.tsx.snap +0 -15
  655. package/src/SingleCharacterInput/index.test.tsx +3 -7
  656. package/src/SingleCharacterInputs/index.tsx +1 -1
  657. package/src/Skeleton/index.test.tsx +36 -9
  658. package/src/Skeleton/index.tsx +4 -3
  659. package/src/SkipLink/index.tsx +1 -1
  660. package/src/Stack/index.test.tsx +54 -18
  661. package/src/Stack/index.tsx +2 -2
  662. package/src/StepNavAccordion/index.test.tsx +3 -1
  663. package/src/StepNavAccordion/index.tsx +2 -2
  664. package/src/StepNavAccordionContent/index.tsx +1 -1
  665. package/src/StepNavAccordionHeadingText/index.test.tsx +2 -1
  666. package/src/StepNavAccordionHeadingTitle/index.test.tsx +2 -1
  667. package/src/StepNavAccordionHeadingTitle/index.tsx +1 -1
  668. package/src/StepNavAccordionSummary/index.tsx +1 -1
  669. package/src/StepNavCircleNumber/index.test.tsx +2 -1
  670. package/src/StepNavControls/index.test.tsx +3 -1
  671. package/src/StepNavControls/index.tsx +1 -1
  672. package/src/StepNavList/index.test.tsx +3 -1
  673. package/src/StepNavList/index.tsx +1 -1
  674. package/src/StepNavListItem/index.test.tsx +3 -1
  675. package/src/StepNavListItem/index.tsx +1 -1
  676. package/src/SummaryList/index.test.tsx +3 -1
  677. package/src/SummaryListItem/index.test.tsx +3 -1
  678. package/src/SummaryListItemAction/index.tsx +1 -1
  679. package/src/SummaryListItemValue/index.tsx +1 -1
  680. package/src/Table/__snapshots__/index.test.tsx.snap +4 -4
  681. package/src/Table/index.test.tsx +36 -6
  682. package/src/TableBody/index.test.tsx +7 -1
  683. package/src/TableCaption/index.test.tsx +27 -5
  684. package/src/TableContainer/index.test.tsx +3 -1
  685. package/src/TableDataCell/index.test.tsx +21 -3
  686. package/src/TableHead/index.test.tsx +12 -2
  687. package/src/TableHead/index.tsx +1 -1
  688. package/src/TableHeadCell/index.test.tsx +129 -15
  689. package/src/TableLoaderBackground/index.tsx +1 -1
  690. package/src/TableNoDataRow/index.test.tsx +9 -1
  691. package/src/TableNoDataRow/index.tsx +1 -1
  692. package/src/TableRow/index.test.tsx +27 -3
  693. package/src/TableSortIconContainer/index.tsx +1 -1
  694. package/src/TabsHeading/index.test.tsx +9 -3
  695. package/src/TabsHeading/index.tsx +1 -1
  696. package/src/TabsList/index.tsx +1 -1
  697. package/src/TabsListItemBase/__snapshots__/index.test.tsx.snap +9 -9
  698. package/src/TabsListItemBase/index.test.tsx +4 -2
  699. package/src/TabsPanelBase/index.test.tsx +6 -2
  700. package/src/TaskList/index.test.tsx +3 -1
  701. package/src/TaskListItem/index.test.tsx +3 -1
  702. package/src/TaskListItem/index.tsx +1 -1
  703. package/src/TaskListItemContent/index.tsx +1 -1
  704. package/src/TaskListItemHeading/index.test.tsx +4 -2
  705. package/src/TaskListItemTag/index.test.tsx +5 -2
  706. package/src/TextArea/index.test.tsx +24 -8
  707. package/src/TextArea/index.tsx +1 -1
  708. package/src/TextArea/index.web.tsx +1 -4
  709. package/src/TextInput/index.test.tsx +58 -23
  710. package/src/TextInput/index.tsx +1 -1
  711. package/src/Timeline/index.test.tsx +3 -1
  712. package/src/TimelineActions/index.test.tsx +3 -1
  713. package/src/TimelineActions/index.tsx +1 -1
  714. package/src/TimelineContent/index.test.tsx +3 -1
  715. package/src/TimelineContent/index.tsx +1 -1
  716. package/src/TimelineHeading/__snapshots__/index.test.tsx.snap +2 -2
  717. package/src/TimelineHeading/index.test.tsx +3 -1
  718. package/src/TimelineItem/index.test.tsx +3 -1
  719. package/src/TimelineItem/index.tsx +1 -1
  720. package/src/Top/index.tsx +1 -1
  721. package/src/Unpurge/index.tsx +1 -2
  722. package/src/VisuallyHidden/index.test.tsx +3 -1
  723. package/src/VisuallyHidden/index.tsx +1 -1
  724. package/src/WarningText/index.test.tsx +6 -2
  725. package/src/WarningText/index.tsx +4 -4
  726. package/src/WarningTextAssistive/index.tsx +6 -6
  727. package/src/lazy.js +246 -247
  728. package/src/registry.js +269 -269
  729. package/lazy.d.ts +0 -247
  730. package/lazy.js.map +0 -7
  731. package/registry.d.ts +0 -265
  732. package/registry.js.map +0 -7
@@ -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 ModalContentProps extends BaseProps<'div'> { }
5
+ export interface ModalContentProps extends BaseProps<'div'> {}
6
6
  /**
7
7
  * ModalContent contains the text or any other element for Modal Component
8
8
  * Use ModalContent inside Modal component as children
@@ -4,5 +4,7 @@ import { render } from '@testing-library/react';
4
4
  import ModalHeading from '@digigov/react-core/ModalHeading';
5
5
 
6
6
  it('renders the ModalHeading with no props', () => {
7
- expect(render(<ModalHeading>hello</ModalHeading>).baseElement).toMatchSnapshot();
7
+ expect(
8
+ render(<ModalHeading>hello</ModalHeading>).baseElement
9
+ ).toMatchSnapshot();
8
10
  });
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import Heading, { HeadingProps } from '@digigov/react-core/Heading';
3
3
 
4
- export interface ModalHeadingProps extends HeadingProps { }
4
+ export interface ModalHeadingProps extends HeadingProps {}
5
5
  /**
6
6
  * ModalHeading gives header title to Modal Component
7
7
  * Use ModalHeading inside Modal component as children
@@ -17,10 +17,14 @@ it('renders the Nav with drawer="never" prop', () => {
17
17
  expect(render(<Nav drawer="never">hello</Nav>).baseElement).toMatchSnapshot();
18
18
  });
19
19
  it('renders the Nav with drawer="mdDown" prop', () => {
20
- expect(render(<Nav drawer="mdDown">hello</Nav>).baseElement).toMatchSnapshot();
20
+ expect(
21
+ render(<Nav drawer="mdDown">hello</Nav>).baseElement
22
+ ).toMatchSnapshot();
21
23
  });
22
24
  it('renders the Nav with drawer="always" prop', () => {
23
- expect(render(<Nav drawer="always">hello</Nav>).baseElement).toMatchSnapshot();
25
+ expect(
26
+ render(<Nav drawer="always">hello</Nav>).baseElement
27
+ ).toMatchSnapshot();
24
28
  });
25
29
  it('renders the Nav with drawer="always", border and open props', () => {
26
30
  expect(
@@ -5,6 +5,7 @@ import NavListItemActionContainer from '@digigov/react-core/NavListItemActionCon
5
5
 
6
6
  it('renders the NavListItemActionContainer with no props', () => {
7
7
  expect(
8
- render(<NavListItemActionContainer>hello</NavListItemActionContainer>).baseElement
8
+ render(<NavListItemActionContainer>hello</NavListItemActionContainer>)
9
+ .baseElement
9
10
  ).toMatchSnapshot();
10
11
  });
@@ -1,12 +1,12 @@
1
1
  import React, { ForwardedRef } from 'react';
2
2
  import NavListItemActionContainer from '@digigov/react-core/NavListItemActionContainer';
3
+ import NavListItemBadge from '@digigov/react-core/NavListItemBadge';
3
4
  import NavListItemButton, {
4
5
  NavListItemButtonProps,
5
6
  } from '@digigov/react-core/NavListItemButton';
6
7
  import NavListItemLink, {
7
8
  NavListItemLinkProps,
8
9
  } from '@digigov/react-core/NavListItemLink';
9
- import NavListItemBadge from '@digigov/react-core/NavListItemBadge';
10
10
 
11
11
  export type LinkButtonJoinProps = NavListItemLinkProps & NavListItemButtonProps;
12
12
  export interface NavListItemActionProps extends LinkButtonJoinProps {
@@ -58,9 +58,7 @@ export const NavListItemAction = React.forwardRef<
58
58
  {children || label}
59
59
  </NavListItemButton>
60
60
  )}
61
- {props.badgeText && (
62
- <NavListItemBadge text={props.badgeText} />
63
- )}
61
+ {props.badgeText && <NavListItemBadge text={props.badgeText} />}
64
62
  </NavListItemActionContainer>
65
63
  );
66
64
  });
@@ -5,6 +5,7 @@ import NavListItemActionContainer from '@digigov/react-core/NavListItemActionCon
5
5
 
6
6
  it('renders the NavListItemActionContainer with no props', () => {
7
7
  expect(
8
- render(<NavListItemActionContainer>hello</NavListItemActionContainer>).baseElement
8
+ render(<NavListItemActionContainer>hello</NavListItemActionContainer>)
9
+ .baseElement
9
10
  ).toMatchSnapshot();
10
11
  });
@@ -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 NavListItemActionContainerProps extends BaseProps<'li'> { }
5
+ export interface NavListItemActionContainerProps extends BaseProps<'li'> {}
6
6
  /**
7
7
  * NavListItemActionContainer must be inside the NavList.
8
8
  * This component has a items of NavListItemLink component inside.
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import Base, { BaseProps } from '@digigov/react-core/Base';
3
2
  import clsx from 'clsx';
3
+ import Base, { BaseProps } from '@digigov/react-core/Base';
4
4
 
5
5
  export interface NavListItemBadgeProps extends BaseProps<'span'> {
6
6
  /**
@@ -3,17 +3,21 @@ import { render } from '@testing-library/react';
3
3
  import NavListItemButton from '@digigov/react-core/NavListItemButton';
4
4
 
5
5
  it('renders the NavListItemButton with no props', () => {
6
- expect(render(<NavListItemButton>hello</NavListItemButton>).baseElement).toMatchSnapshot();
6
+ expect(
7
+ render(<NavListItemButton>hello</NavListItemButton>).baseElement
8
+ ).toMatchSnapshot();
7
9
  });
8
10
 
9
11
  it('renders the NavListItemButton with active=true', () => {
10
12
  expect(
11
- render(<NavListItemButton active={true}>hello</NavListItemButton>).baseElement
13
+ render(<NavListItemButton active={true}>hello</NavListItemButton>)
14
+ .baseElement
12
15
  ).toMatchSnapshot();
13
16
  });
14
17
 
15
18
  it('renders the NavListItemButton with active=false', () => {
16
19
  expect(
17
- render(<NavListItemButton active={false}>hello</NavListItemButton>).baseElement
20
+ render(<NavListItemButton active={false}>hello</NavListItemButton>)
21
+ .baseElement
18
22
  ).toMatchSnapshot();
19
23
  });
@@ -3,7 +3,9 @@ import { render } from '@testing-library/react';
3
3
  import NavListItemLink from '@digigov/react-core/NavListItemLink';
4
4
 
5
5
  it('renders the NavListItemLink with no props', () => {
6
- expect(render(<NavListItemLink>hello</NavListItemLink>).baseElement).toMatchSnapshot();
6
+ expect(
7
+ render(<NavListItemLink>hello</NavListItemLink>).baseElement
8
+ ).toMatchSnapshot();
7
9
  });
8
10
 
9
11
  it('renders the NavListItemLink with active=true', () => {
@@ -3,7 +3,9 @@ import { render } from '@testing-library/react';
3
3
 
4
4
  import NavMenuContainer from '@digigov/react-core/NavMenuContainer';
5
5
  it('renders the NavMenuContainer with no props', () => {
6
- expect(render(<NavMenuContainer>hello</NavMenuContainer>).baseElement).toMatchSnapshot();
6
+ expect(
7
+ render(<NavMenuContainer>hello</NavMenuContainer>).baseElement
8
+ ).toMatchSnapshot();
7
9
  });
8
10
  it('renders the NavMenuContainer with active prop', () => {
9
11
  expect(
@@ -12,11 +14,13 @@ it('renders the NavMenuContainer with active prop', () => {
12
14
  });
13
15
  it('renders the NavMenuContainer with layout="vertical" prop', () => {
14
16
  expect(
15
- render(<NavMenuContainer layout="vertical">hello</NavMenuContainer>).baseElement
17
+ render(<NavMenuContainer layout="vertical">hello</NavMenuContainer>)
18
+ .baseElement
16
19
  ).toMatchSnapshot();
17
20
  });
18
21
  it('renders the NavMenuContainer with layout="horizontal" prop', () => {
19
22
  expect(
20
- render(<NavMenuContainer layout="horizontal">hello</NavMenuContainer>).baseElement
23
+ render(<NavMenuContainer layout="horizontal">hello</NavMenuContainer>)
24
+ .baseElement
21
25
  ).toMatchSnapshot();
22
26
  });
@@ -1,9 +1,8 @@
1
1
  import React from 'react';
2
2
  import clsx from 'clsx';
3
- import { GridProps } from '@digigov/react-core/Grid';
4
- import Grid from '@digigov/react-core/Grid';
3
+ import Grid, { GridProps } from '@digigov/react-core/Grid';
5
4
 
6
- export interface NavMenuContentProps extends GridProps { }
5
+ export interface NavMenuContentProps extends GridProps {}
7
6
  /**
8
7
  *
9
8
  * NavMenuContent is the content menu component.
@@ -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 NavMenuContentListProps extends BaseProps<'ul'> { }
5
+ export interface NavMenuContentListProps extends BaseProps<'ul'> {}
6
6
  /**
7
7
  * NavMenuContentListBase contains the ul list nav menu.
8
8
  * Inside this component must be NavMenuContentListItem component.
@@ -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 NavMenuContentListItemProps extends BaseProps<'li'> { }
5
+ export interface NavMenuContentListItemProps extends BaseProps<'li'> {}
6
6
  /**
7
7
  * NavMenuContentListItem contains all li items nav menu.
8
8
  *
@@ -3,5 +3,7 @@ import { render } from '@testing-library/react';
3
3
 
4
4
  import NavMenuTitle from '@digigov/react-core/NavMenuTitle';
5
5
  it('renders the NavMenuTitle with no props', () => {
6
- expect(render(<NavMenuTitle>hello</NavMenuTitle>).baseElement).toMatchSnapshot();
6
+ expect(
7
+ render(<NavMenuTitle>hello</NavMenuTitle>).baseElement
8
+ ).toMatchSnapshot();
7
9
  });
@@ -4,7 +4,7 @@ import { BaseProps } from '@digigov/react-core/Base';
4
4
  import Grid from '@digigov/react-core/Grid';
5
5
  import Heading from '@digigov/react-core/Heading';
6
6
 
7
- export interface NavMenuTitleProps extends BaseProps<'div'> { }
7
+ export interface NavMenuTitleProps extends BaseProps<'div'> {}
8
8
  /**
9
9
  *
10
10
  * NavMenuTitle is the main Title for the nav list items.
@@ -228,18 +228,6 @@ exports[`renders the NormalText with size=lead and fontSize=36 1`] = `
228
228
  </body>
229
229
  `;
230
230
 
231
- exports[`renders the NormalText with size=lead and fontSize=36 2`] = `
232
- <body>
233
- <div>
234
- <span
235
- class="ds-body ds-body--lg ds-!-font-size-36"
236
- >
237
- hello
238
- </span>
239
- </div>
240
- </body>
241
- `;
242
-
243
231
  exports[`renders the NormalText with size=lead and ontSize=16 1`] = `
244
232
  <body>
245
233
  <div>
@@ -8,15 +8,21 @@ it('renders the NormalText with no props', () => {
8
8
  });
9
9
 
10
10
  it('renders the NormalText with size=lead', () => {
11
- expect(render(<NormalText size={'lg'}>hello</NormalText>).baseElement).toMatchSnapshot();
11
+ expect(
12
+ render(<NormalText size={'lg'}>hello</NormalText>).baseElement
13
+ ).toMatchSnapshot();
12
14
  });
13
15
 
14
16
  it('renders the NormalText with size=normal', () => {
15
- expect(render(<NormalText size={'md'}>hello</NormalText>).baseElement).toMatchSnapshot();
17
+ expect(
18
+ render(<NormalText size={'md'}>hello</NormalText>).baseElement
19
+ ).toMatchSnapshot();
16
20
  });
17
21
 
18
22
  it('renders the NormalText with size=small', () => {
19
- expect(render(<NormalText size={'sm'}>hello</NormalText>).baseElement).toMatchSnapshot();
23
+ expect(
24
+ render(<NormalText size={'sm'}>hello</NormalText>).baseElement
25
+ ).toMatchSnapshot();
20
26
  });
21
27
 
22
28
  it('renders the NormalText with fontWeight=regular', () => {
@@ -32,35 +38,51 @@ it('renders the NormalText with fontWeight=bold', () => {
32
38
  });
33
39
 
34
40
  it('renders the NormalText with fontSize=14', () => {
35
- expect(render(<NormalText fontSize={14}>hello</NormalText>).baseElement).toMatchSnapshot();
41
+ expect(
42
+ render(<NormalText fontSize={14}>hello</NormalText>).baseElement
43
+ ).toMatchSnapshot();
36
44
  });
37
45
 
38
46
  it('renders the NormalText with fontSize=16', () => {
39
- expect(render(<NormalText fontSize={16}>hello</NormalText>).baseElement).toMatchSnapshot();
47
+ expect(
48
+ render(<NormalText fontSize={16}>hello</NormalText>).baseElement
49
+ ).toMatchSnapshot();
40
50
  });
41
51
 
42
52
  it('renders the NormalText with fontSize=19', () => {
43
- expect(render(<NormalText fontSize={19}>hello</NormalText>).baseElement).toMatchSnapshot();
53
+ expect(
54
+ render(<NormalText fontSize={19}>hello</NormalText>).baseElement
55
+ ).toMatchSnapshot();
44
56
  });
45
57
 
46
58
  it('renders the NormalText with fontSize=24', () => {
47
- expect(render(<NormalText fontSize={24}>hello</NormalText>).baseElement).toMatchSnapshot();
59
+ expect(
60
+ render(<NormalText fontSize={24}>hello</NormalText>).baseElement
61
+ ).toMatchSnapshot();
48
62
  });
49
63
 
50
64
  it('renders the NormalText with fontSize=30', () => {
51
- expect(render(<NormalText fontSize={30}>hello</NormalText>).baseElement).toMatchSnapshot();
65
+ expect(
66
+ render(<NormalText fontSize={30}>hello</NormalText>).baseElement
67
+ ).toMatchSnapshot();
52
68
  });
53
69
 
54
70
  it('renders the NormalText with fontSize=36', () => {
55
- expect(render(<NormalText fontSize={36}>hello</NormalText>).baseElement).toMatchSnapshot();
71
+ expect(
72
+ render(<NormalText fontSize={36}>hello</NormalText>).baseElement
73
+ ).toMatchSnapshot();
56
74
  });
57
75
 
58
76
  it('renders the NormalText with fontSize=48', () => {
59
- expect(render(<NormalText fontSize={48}>hello</NormalText>).baseElement).toMatchSnapshot();
77
+ expect(
78
+ render(<NormalText fontSize={48}>hello</NormalText>).baseElement
79
+ ).toMatchSnapshot();
60
80
  });
61
81
 
62
82
  it('renders the NormalText with fontSize=72', () => {
63
- expect(render(<NormalText fontSize={72}>hello</NormalText>).baseElement).toMatchSnapshot();
83
+ expect(
84
+ render(<NormalText fontSize={72}>hello</NormalText>).baseElement
85
+ ).toMatchSnapshot();
64
86
  });
65
87
 
66
88
  it('renders the NormalText with size=lead and fontSize=14', () => {
@@ -273,16 +295,6 @@ it('renders the NormalText with size=small and fontSize=30', () => {
273
295
  ).toMatchSnapshot();
274
296
  });
275
297
 
276
- it('renders the NormalText with size=lead and fontSize=36', () => {
277
- expect(
278
- render(
279
- <NormalText size={'lg'} fontSize={36}>
280
- hello
281
- </NormalText>
282
- ).baseElement
283
- ).toMatchSnapshot();
284
- });
285
-
286
298
  it('renders the NormalText with size=small and font size fontSize=48', () => {
287
299
  expect(
288
300
  render(
@@ -5,7 +5,8 @@ import NotificationBannerContainer from '@digigov/react-core/NotificationBannerC
5
5
 
6
6
  it('renders the NotificationBannerContainer with no props', () => {
7
7
  expect(
8
- render(<NotificationBannerContainer>hello</NotificationBannerContainer>).baseElement
8
+ render(<NotificationBannerContainer>hello</NotificationBannerContainer>)
9
+ .baseElement
9
10
  ).toMatchSnapshot();
10
11
  });
11
12
 
@@ -9,9 +9,10 @@ export interface NotificationBannerContainerProps extends BaseProps<'div'> {
9
9
  * @value 'info'
10
10
  * @value 'success'
11
11
  * @value 'error'
12
+ * @value 'error-group'
12
13
  * @default 'info'.
13
14
  */
14
- variant?: 'info' | 'success' | 'error';
15
+ variant?: 'info' | 'success' | 'error' | 'error-group';
15
16
  /**
16
17
  * dense is optional.
17
18
  * @value true NotificationBannerContainer will be dense.
@@ -5,6 +5,7 @@ import NotificationBannerContent from '@digigov/react-core/NotificationBannerCon
5
5
 
6
6
  it('renders the NotificationBannerContent with no props', () => {
7
7
  expect(
8
- render(<NotificationBannerContent>hello</NotificationBannerContent>).baseElement
8
+ render(<NotificationBannerContent>hello</NotificationBannerContent>)
9
+ .baseElement
9
10
  ).toMatchSnapshot();
10
11
  });
@@ -1,8 +1,32 @@
1
1
  import React from 'react';
2
2
  import clsx from 'clsx';
3
3
  import Base, { BaseProps } from '@digigov/react-core/Base';
4
+ import { WarningTextAssistive } from '@digigov/react-core/WarningTextAssistive';
4
5
 
5
- export interface NotificationBannerContentProps extends BaseProps<'div'> { }
6
+ export interface NotificationBannerContentProps extends BaseProps<'div'> {
7
+ /**
8
+ * assistiveText is optional.
9
+ * Default value is "Προσοχή".
10
+ * assistiveText is used to provide a textual warning for assistive technologies like screen readers.
11
+ */
12
+ assistiveText?: string;
13
+ /**
14
+ * variant is optional.
15
+ * variant is used to display red line on the left side of the component and exclamation mark icon with light red as background.
16
+ * @value 'error'
17
+ * @value 'error-group'
18
+ * @default 'error'.
19
+ */
20
+ /**
21
+ * variant is optional.
22
+ * variant error is used to change the color of the NotificationBannerContainer.
23
+ * variant error-group is used to display red line on the left side of the component and exclamation mark icon with light red as background.
24
+ * @value 'error'
25
+ * @value 'error-group'
26
+ * @default 'error'.
27
+ */
28
+ variant?: 'error' | 'error-group';
29
+ }
6
30
  /**
7
31
  * Details for the NotificationBannerContent.
8
32
  * NotificationBannerContent component is used as a content for
@@ -12,17 +36,39 @@ export interface NotificationBannerContentProps extends BaseProps<'div'> { }
12
36
  export const NotificationBannerContent = React.forwardRef<
13
37
  HTMLDivElement,
14
38
  NotificationBannerContentProps
15
- >(function NotificationBannerContent({ className, children, ...props }, ref) {
39
+ >(function NotificationBannerContent(
40
+ { className, assistiveText, variant, children, ...props },
41
+ ref
42
+ ) {
16
43
  return (
17
44
  <Base
18
45
  as="div"
19
46
  ref={ref}
20
47
  className={clsx(className, {
21
- 'ds-notification-banner__content': true,
48
+ 'ds-notification-banner__content': variant !== 'error-group',
49
+ 'ds-notification-error-group-banner__content':
50
+ variant === 'error-group',
22
51
  })}
23
52
  {...props}
24
53
  >
25
- {children}
54
+ {variant === 'error-group' ? (
55
+ <>
56
+ <Base
57
+ as="div"
58
+ className={clsx({
59
+ 'ds-notification-banner__icon--error-group': true,
60
+ })}
61
+ >
62
+ !
63
+ </Base>
64
+ <WarningTextAssistive>{assistiveText}</WarningTextAssistive>
65
+ <Base as="div" className="ds-notification-banner__text-error-group">
66
+ {children}
67
+ </Base>
68
+ </>
69
+ ) : (
70
+ <>{children}</>
71
+ )}
26
72
  </Base>
27
73
  );
28
74
  });
@@ -5,6 +5,7 @@ import NotificationBannerHeader from '@digigov/react-core/NotificationBannerHead
5
5
 
6
6
  it('renders the NotificationBannerHeader with no props', () => {
7
7
  expect(
8
- render(<NotificationBannerHeader>hello</NotificationBannerHeader>).baseElement
8
+ render(<NotificationBannerHeader>hello</NotificationBannerHeader>)
9
+ .baseElement
9
10
  ).toMatchSnapshot();
10
11
  });
@@ -3,7 +3,7 @@ import clsx from 'clsx';
3
3
  import Base, { BaseProps } from '@digigov/react-core/Base';
4
4
  import Heading from '@digigov/react-core/Heading';
5
5
 
6
- export interface NotificationBannerHeaderProps extends BaseProps<'div'> { }
6
+ export interface NotificationBannerHeaderProps extends BaseProps<'div'> {}
7
7
  /**
8
8
  * Details for the NotificationBannerHeader.
9
9
  * NotificationBannerHeader component is used for placing head title to NotificationBanner component.
@@ -5,6 +5,7 @@ import NotificationBannerHeading from '@digigov/react-core/NotificationBannerHea
5
5
 
6
6
  it('renders the NotificationBannerHeading with no props', () => {
7
7
  expect(
8
- render(<NotificationBannerHeading>hello</NotificationBannerHeading>).baseElement
8
+ render(<NotificationBannerHeading>hello</NotificationBannerHeading>)
9
+ .baseElement
9
10
  ).toMatchSnapshot();
10
11
  });
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import clsx from 'clsx';
3
3
  import Heading, { HeadingProps } from '@digigov/react-core/Heading';
4
4
 
5
- export interface NotificationBannerHeadingProps extends HeadingProps { }
5
+ export interface NotificationBannerHeadingProps extends HeadingProps {}
6
6
  /**
7
7
  * Details for the NotificationBannerHeading.
8
8
  * NotificationBannerHeading component is used for placing text content to NotificationBanner component.
@@ -1,8 +1,8 @@
1
+ import clsx from 'clsx';
1
2
  import CoreNotificationBannerLink, {
2
3
  NotificationBannerLinkProps,
3
4
  } from '@digigov/react-core/NotificationBannerLink/index.web';
4
5
  import { extend } from '@digigov/react-core/utils/extend.native';
5
- import clsx from 'clsx';
6
6
 
7
7
  interface AdditionalProps {
8
8
  variant?: 'error' | 'success';
@@ -1,2 +1,2 @@
1
1
  export * from '@digigov/react-core/NotificationBannerLink/index.web';
2
- export {default as default} from '@digigov/react-core/NotificationBannerLink/index.web';
2
+ export { default as default } from '@digigov/react-core/NotificationBannerLink/index.web';
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import clsx from 'clsx';
3
3
  import LinkBase, { LinkBaseProps } from '@digigov/react-core/LinkBase';
4
4
 
5
- export interface NotificationBannerLinkProps extends LinkBaseProps { }
5
+ export interface NotificationBannerLinkProps extends LinkBaseProps {}
6
6
  /**
7
7
  * Details for the NotificationBannerLink.
8
8
  * NotificationBannerLink allow users to click their way from page to page.
@@ -4,7 +4,9 @@ import { render } from '@testing-library/react';
4
4
  import PageTitleHeading from '@digigov/react-core/PageTitleHeading';
5
5
 
6
6
  it('renders the PageTitleHeading with no props', () => {
7
- expect(render(<PageTitleHeading>hello</PageTitleHeading>).baseElement).toMatchSnapshot();
7
+ expect(
8
+ render(<PageTitleHeading>hello</PageTitleHeading>).baseElement
9
+ ).toMatchSnapshot();
8
10
  });
9
11
 
10
12
  it('renders the PageTitleHeading with size=xl', () => {
@@ -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 PageTitleProps extends BaseProps<'div'> { }
5
+ export interface PageTitleProps extends BaseProps<'div'> {}
6
6
  /**
7
7
  * Details for the PageTitleContainer.
8
8
  */
@@ -4,7 +4,9 @@ import { render } from '@testing-library/react';
4
4
  import PageTitleHeading from '@digigov/react-core/PageTitleHeading';
5
5
 
6
6
  it('renders the PageTitleHeading with no props', () => {
7
- expect(render(<PageTitleHeading>hello</PageTitleHeading>).baseElement).toMatchSnapshot();
7
+ expect(
8
+ render(<PageTitleHeading>hello</PageTitleHeading>).baseElement
9
+ ).toMatchSnapshot();
8
10
  });
9
11
 
10
12
  it('renders the PageTitleHeading with size=xl', () => {
@@ -7,5 +7,7 @@ it('renders the Pagination with no props', () => {
7
7
  expect(render(<Pagination>hello</Pagination>).baseElement).toMatchSnapshot();
8
8
  });
9
9
  it('renders the Pagination with size=sm', () => {
10
- expect(render(<Pagination size="sm">hello</Pagination>).baseElement).toMatchSnapshot();
10
+ expect(
11
+ render(<Pagination size="sm">hello</Pagination>).baseElement
12
+ ).toMatchSnapshot();
11
13
  });
@@ -5,6 +5,7 @@ import PaginationLabelContainer from '@digigov/react-core/PaginationLabelContain
5
5
 
6
6
  it('renders the PaginationLabelContainer with no props', () => {
7
7
  expect(
8
- render(<PaginationLabelContainer>hello</PaginationLabelContainer>).baseElement
8
+ render(<PaginationLabelContainer>hello</PaginationLabelContainer>)
9
+ .baseElement
9
10
  ).toMatchSnapshot();
10
11
  });
@@ -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 PaginationLabelContainerProps extends BaseProps<'p'> { }
5
+ export interface PaginationLabelContainerProps extends BaseProps<'p'> {}
6
6
  /**
7
7
  * PaginatiolLabel component is used for placing the pagination label.
8
8
  */
@@ -5,7 +5,9 @@ import PaginationList from '@digigov/react-core/PaginationList';
5
5
  import PaginationListItem from '@digigov/react-core/PaginationListItem';
6
6
 
7
7
  it('renders the PaginationList with no props', () => {
8
- expect(render(<PaginationList>hello</PaginationList>).baseElement).toMatchSnapshot();
8
+ expect(
9
+ render(<PaginationList>hello</PaginationList>).baseElement
10
+ ).toMatchSnapshot();
9
11
  });
10
12
  it('renders the PaginationList with PaginationListItem as a child', () => {
11
13
  expect(
@@ -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 PaginationListProps extends BaseProps<'ul'> { }
5
+ export interface PaginationListProps extends BaseProps<'ul'> {}
6
6
  /**
7
7
  * Use PaginationList as a child of Pagination to list a large number of results
8
8
  */
@@ -15,7 +15,8 @@ it('renders the PaginationListItem with active=true', () => {
15
15
  });
16
16
  it('renders the PaginationListItem with variant=dots', () => {
17
17
  expect(
18
- render(<PaginationListItem variant="dots">hello</PaginationListItem>).baseElement
18
+ render(<PaginationListItem variant="dots">hello</PaginationListItem>)
19
+ .baseElement
19
20
  ).toMatchSnapshot();
20
21
  });
21
22
  it('renders the PaginationListItem with active=true and variant=dots', () => {
@@ -29,6 +30,7 @@ it('renders the PaginationListItem with active=true and variant=dots', () => {
29
30
  });
30
31
  it('renders the PaginationListItem with currentPage', () => {
31
32
  expect(
32
- render(<PaginationListItem currentPage>hello</PaginationListItem>).baseElement
33
+ render(<PaginationListItem currentPage>hello</PaginationListItem>)
34
+ .baseElement
33
35
  ).toMatchSnapshot();
34
36
  });