@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
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import clsx from 'clsx';
3
3
  import Base, { BaseProps } from '@digigov/react-core/Base';
4
- export interface AutoCompleteInputProps extends BaseProps<'input'> {
4
+ export interface AutoCompleteInputBaseProps extends BaseProps<'input'> {
5
5
  /**
6
6
  * isFocused is optional. The default value is false.
7
7
  * isFocused prop is used to focus the list element.
@@ -9,16 +9,15 @@ export interface AutoCompleteInputProps extends BaseProps<'input'> {
9
9
  * @value false
10
10
  */
11
11
  isFocused?: boolean;
12
-
13
12
  }
14
13
  /**
15
- * AutoCompleteInput component is used to display the value that the user is typing.
14
+ * AutoCompleteInputBase component is used to display the value that the user is typing.
16
15
  *
17
16
  */
18
- export const AutoCompleteInput = React.forwardRef<
17
+ export const AutoCompleteInputBase = React.forwardRef<
19
18
  HTMLInputElement,
20
- AutoCompleteInputProps
21
- >(function AutoCompleteInput(
19
+ AutoCompleteInputBaseProps
20
+ >(function AutoCompleteInputBase(
22
21
  { name, isFocused, className, ...props },
23
22
  ref
24
23
  ) {
@@ -37,4 +36,4 @@ export const AutoCompleteInput = React.forwardRef<
37
36
  );
38
37
  });
39
38
 
40
- export default AutoCompleteInput;
39
+ export default AutoCompleteInputBase;
@@ -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 AutoCompleteInputTypeaheadProps extends BaseProps<'input'> { }
5
+ export interface AutoCompleteInputTypeaheadProps extends BaseProps<'input'> {}
6
6
  /**
7
7
  * AutoCompleteInputTypeahead component is used to display the hole search value
8
8
  * in the background.
@@ -6,7 +6,7 @@ export interface AutoCompleteMultipleInputContainerProps
6
6
  extends BaseProps<'div'> {
7
7
  open?: boolean;
8
8
  isFocused?: boolean;
9
- numberOfSelected?: 1 | 2 | 3 | 'all';
9
+ numberOfSelected?: 1 | 2 | 3 | 'all';
10
10
  }
11
11
  /**
12
12
  * Use AutoCompleteMultipleInputContainer to accept multiple values input.
@@ -15,7 +15,7 @@ export const AutoCompleteMultipleInputContainer = React.forwardRef<
15
15
  HTMLDivElement,
16
16
  AutoCompleteMultipleInputContainerProps
17
17
  >(function AutoCompleteMultipleInputContainer(
18
- { numberOfSelected = 'all', open, children, isFocused, className, ...props },
18
+ { numberOfSelected = 'all', children, isFocused, className, ...props },
19
19
  ref
20
20
  ) {
21
21
  return (
@@ -25,8 +25,8 @@ export const AutoCompleteMultipleInputContainer = React.forwardRef<
25
25
  className={clsx(className, {
26
26
  'ds-autocomplete__multi-input-container': true,
27
27
  'ds-autocomplete__multi-input-container--focused': isFocused,
28
- [`ds-autocomplete__multi-input-container--${numberOfSelected}`]: typeof(numberOfSelected) === 'number'
29
-
28
+ [`ds-autocomplete__multi-input-container--${numberOfSelected}`]:
29
+ typeof numberOfSelected === 'number',
30
30
  })}
31
31
  {...props}
32
32
  >
@@ -11,6 +11,7 @@ it('renders the AutoCompleteResultList with no props', () => {
11
11
 
12
12
  it('renders the AutoCompleteResultList with isVisible props', () => {
13
13
  expect(
14
- render(<AutoCompleteResultList isVisible>Hello</AutoCompleteResultList>).baseElement
14
+ render(<AutoCompleteResultList isVisible>Hello</AutoCompleteResultList>)
15
+ .baseElement
15
16
  ).toMatchSnapshot();
16
17
  });
@@ -21,10 +21,7 @@ export interface AutoCompleteResultListProps extends BaseProps<'ul'> {
21
21
  export const AutoCompleteResultList = React.forwardRef<
22
22
  HTMLUListElement,
23
23
  AutoCompleteResultListProps
24
- >(function List(
25
- { isVisible = false, className, children, ...props },
26
- ref
27
- ) {
24
+ >(function List({ isVisible = false, className, children, ...props }, ref) {
28
25
  return (
29
26
  <Base
30
27
  as="ul"
@@ -5,7 +5,8 @@ import AutoCompleteResultListItem from '@digigov/react-core/AutoCompleteResultLi
5
5
 
6
6
  it('renders the AutoCompleteResultList with no props', () => {
7
7
  expect(
8
- render(<AutoCompleteResultListItem>Hello</AutoCompleteResultListItem>).baseElement
8
+ render(<AutoCompleteResultListItem>Hello</AutoCompleteResultListItem>)
9
+ .baseElement
9
10
  ).toMatchSnapshot();
10
11
  });
11
12
 
@@ -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 AutoCompleteStatusProps extends BaseProps<'div'> { }
5
+ export interface AutoCompleteStatusProps extends BaseProps<'div'> {}
6
6
  /**
7
7
  * AutoCompleteStatus is a div element for displaying the autocomplete status.
8
8
  * Use AutoCompleteStatus inside AutoCompleteStatusContainer wrapper.
@@ -5,6 +5,7 @@ import AutoCompleteStatusContainer from '@digigov/react-core/AutoCompleteStatusC
5
5
 
6
6
  it('renders the AdminContainer with no props', () => {
7
7
  expect(
8
- render(<AutoCompleteStatusContainer>hello</AutoCompleteStatusContainer>).baseElement
8
+ render(<AutoCompleteStatusContainer>hello</AutoCompleteStatusContainer>)
9
+ .baseElement
9
10
  ).toMatchSnapshot();
10
11
  });
@@ -7,5 +7,7 @@ it('renders the BackLink with no props', () => {
7
7
  expect(render(<BackLink>hello</BackLink>).baseElement).toMatchSnapshot();
8
8
  });
9
9
  it('renders the BackLink with href="#"', () => {
10
- expect(render(<BackLink href="#">hello</BackLink>).baseElement).toMatchSnapshot();
10
+ expect(
11
+ render(<BackLink href="#">hello</BackLink>).baseElement
12
+ ).toMatchSnapshot();
11
13
  });
@@ -3,7 +3,7 @@ import clsx from 'clsx';
3
3
  import Base, { BaseProps } from '@digigov/react-core/Base';
4
4
  import { CaretIcon } from '@digigov/react-icons';
5
5
 
6
- export interface BackLinkProps extends BaseProps<'a'> { }
6
+ export interface BackLinkProps extends BaseProps<'a'> {}
7
7
  /**
8
8
  * Use BackLink component to help users go back to the previous page in a multi-page transaction.
9
9
  */
@@ -17,9 +17,7 @@ export const BackLink = React.forwardRef<HTMLAnchorElement, BackLinkProps>(
17
17
  as="a"
18
18
  printHidden={printHidden}
19
19
  href={href}
20
- onClick={() => {
21
- !href && window.history.back();
22
- }}
20
+ onClick={() => !href && window.history.back()}
23
21
  ref={ref}
24
22
  className={clsx(className, {
25
23
  'ds-back-link': true,
@@ -3,7 +3,7 @@ import clsx from 'clsx';
3
3
  import Base, { BaseProps } from '@digigov/react-core/Base';
4
4
  import { ArrowIcon } from '@digigov/react-icons';
5
5
 
6
- export interface BackToTopLinkProps extends BaseProps<'a'> { }
6
+ export interface BackToTopLinkProps extends BaseProps<'a'> {}
7
7
  /**
8
8
  * Use BackToTopLink component to help users go to the top of the page.
9
9
  */
@@ -4,5 +4,7 @@ import { render } from '@testing-library/react';
4
4
  import BannerContainer from '@digigov/react-core/BannerContainer';
5
5
 
6
6
  it('renders the BannerContainer with no props', () => {
7
- expect(render(<BannerContainer>hello</BannerContainer>).baseElement).toMatchSnapshot();
7
+ expect(
8
+ render(<BannerContainer>hello</BannerContainer>).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 BannerContainerProps extends BaseProps<'div'> { }
5
+ export interface BannerContainerProps extends BaseProps<'div'> {}
6
6
 
7
7
  export const BannerContainer = React.forwardRef<
8
8
  HTMLDivElement,
@@ -21,7 +21,7 @@ export const FormButton = React.forwardRef<unknown, ButtonProps>(
21
21
  ref={ref}
22
22
  {...props}
23
23
  onClick={() => {
24
- onClick && onClick({} as React.MouseEvent<HTMLButtonElement>);
24
+ if (onClick) onClick({} as React.MouseEvent<HTMLButtonElement>);
25
25
  if (props.type) formContext?.[props.type]();
26
26
  }}
27
27
  />
@@ -2,9 +2,7 @@ import React from 'react';
2
2
  import { View } from 'react-native';
3
3
 
4
4
  // TODO: Fix `props` type
5
- interface LiProps {
6
- [key: string]: any;
7
- }
5
+ type LiProps = Record<string, any>;
8
6
 
9
7
  export const Li = (props: LiProps) => {
10
8
  return <View {...props} />;
@@ -72,7 +72,7 @@ export const Base: BaseComponent = React.forwardRef(function Base<
72
72
  ref: React.ComponentPropsWithRef<C>['ref']
73
73
  ) {
74
74
  const classNames = className?.split(' ') || [];
75
- let applyBasePropsToWrapper: boolean = true;
75
+ let applyBasePropsToWrapper = true;
76
76
 
77
77
  const basePropToClassName = basePropGenerator({
78
78
  display,
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
2
  import clsx from 'clsx';
3
3
  import { basePropGenerator } from '@digigov/react-core/Base/utils';
4
- type AsProp<C extends React.ElementType> = {
4
+ interface AsProp<C extends React.ElementType> {
5
5
  as?: C;
6
- };
6
+ }
7
7
 
8
8
  type PropsToOmit<C extends React.ElementType, P> = keyof (AsProp<C> & P);
9
9
 
@@ -146,13 +146,13 @@ export type SpacingValues =
146
146
  | 80
147
147
  | 96;
148
148
 
149
- export type SpacingMediaValues = {
149
+ export interface SpacingMediaValues {
150
150
  xs?: SpacingValues;
151
151
  sm?: SpacingValues;
152
152
  md?: SpacingValues;
153
153
  lg?: SpacingValues;
154
154
  xl?: SpacingValues;
155
- };
155
+ }
156
156
 
157
157
  /**
158
158
  * This is the type used in the type annotation for the component
@@ -1,12 +1,12 @@
1
1
  import React from 'react';
2
2
  import { Link } from 'expo-router';
3
+ import { cssInterop } from 'nativewind';
3
4
  import { Image, View } from 'react-native';
4
5
  import Svg, { Path, Circle, Rect, G, Polygon } from 'react-native-svg';
5
6
  import { Button } from '@digigov/react-core/Base/compat/button.native';
6
7
  import CompatDetails from '@digigov/react-core/Base/compat/details.native';
7
8
  import BaseInput from '@digigov/react-core/Base/compat/Input/index.native';
8
9
  import { Ol } from '@digigov/react-core/Base/compat/ol.native';
9
- import { cssInterop } from 'nativewind'
10
10
  export type MapProps<T extends keyof JSX.IntrinsicElements> =
11
11
  React.ComponentPropsWithoutRef<T>;
12
12
 
@@ -19,7 +19,11 @@ export type MappingType = {
19
19
  };
20
20
 
21
21
  export const mapping: MappingType = {
22
- a: ({ children, ...props }) => <Link {...props} asChild ><View>{children}</View></Link>,
22
+ a: ({ children, ...props }) => (
23
+ <Link {...props} asChild>
24
+ <View>{children}</View>
25
+ </Link>
26
+ ),
23
27
  img: (props) => <Image {...props} />,
24
28
  button: Button,
25
29
  input: BaseInput,
@@ -30,8 +34,8 @@ export const mapping: MappingType = {
30
34
  // @ts-ignore
31
35
  svg: cssInterop(Svg, {
32
36
  className: {
33
- target: "style",
34
- nativeStyleToProp: { width: true, height: true }
37
+ target: 'style',
38
+ nativeStyleToProp: { width: true, height: true },
35
39
  },
36
40
  }),
37
41
  rect: (props) => <Rect {...props} />,
@@ -1,9 +1,7 @@
1
1
  import React, { useContext, useMemo, useState } from 'react';
2
2
  import { View } from 'react-native';
3
3
 
4
- interface WrapperContextType {
5
- (cls: string): void;
6
- }
4
+ type WrapperContextType = (cls: string) => void;
7
5
 
8
6
  const WrapperContext = React.createContext<WrapperContextType>(
9
7
  (cls: string) => {
@@ -11,7 +9,11 @@ const WrapperContext = React.createContext<WrapperContextType>(
11
9
  }
12
10
  );
13
11
 
14
- const Wrapper = React.memo(({ children }: { children?: React.ReactNode }) => {
12
+ const Wrapper = React.memo(function Wrapper({
13
+ children,
14
+ }: {
15
+ children?: React.ReactNode;
16
+ }) {
15
17
  const [className, setClassName] = useState('');
16
18
  return (
17
19
  <WrapperContext.Provider value={setClassName}>
@@ -21,6 +23,7 @@ const Wrapper = React.memo(({ children }: { children?: React.ReactNode }) => {
21
23
  </WrapperContext.Provider>
22
24
  );
23
25
  });
26
+ Wrapper.displayName = 'Wrapper';
24
27
 
25
28
  interface WrappedComponentProps {
26
29
  className?: string;
@@ -67,11 +70,11 @@ export const wrap = (Component: React.ElementType) => {
67
70
  ref={ref}
68
71
  onFocus={(e: unknown) => {
69
72
  setClassName(focusedWrapperClassNames.join(' '));
70
- onFocus && onFocus(e);
73
+ if (onFocus) onFocus(e);
71
74
  }}
72
75
  onBlur={(e: unknown) => {
73
76
  setClassName(wrapperClassNames.join(' '));
74
- onBlur && onBlur(e);
77
+ if (onBlur) onBlur(e);
75
78
  }}
76
79
  className={classNames.join(' ')}
77
80
  {...props}
@@ -8,5 +8,7 @@ it('renders the Blockquote with no props', () => {
8
8
  });
9
9
 
10
10
  it('renders the Blockquote with dense props', () => {
11
- expect(render(<Blockquote dense>hello</Blockquote>).baseElement).toMatchSnapshot();
11
+ expect(
12
+ render(<Blockquote dense>hello</Blockquote>).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 BottomProps extends BaseProps<'div'> { }
5
+ export interface BottomProps extends BaseProps<'div'> {}
6
6
  /**
7
7
  * Bottom is used inside the Layout component and it must be the last component in order.
8
8
  */
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import clsx from 'clsx';
3
3
  import Container, { ContainerProps } from '@digigov/react-core/Container';
4
4
 
5
- export interface BottomInfoProps extends ContainerProps { }
5
+ export interface BottomInfoProps extends ContainerProps {}
6
6
  /**
7
7
  * Bottom BottomInfo is used inside the Bottom component and it must be the first component in order.
8
8
  */
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import clsx from 'clsx';
3
3
  import Container, { ContainerProps } from '@digigov/react-core/Container';
4
4
 
5
- export interface BottomInfoContainerProps extends ContainerProps { }
5
+ export interface BottomInfoContainerProps extends ContainerProps {}
6
6
  /**
7
7
  * Bottom BottomInfoContainer is used inside the Bottom component and it must be the first component in order.
8
8
  */
@@ -4,5 +4,7 @@ import { render } from '@testing-library/react';
4
4
  import BottomInfoContent from '@digigov/react-core/BottomInfoContent';
5
5
 
6
6
  it('renders the BottomInfoContent with no props', () => {
7
- expect(render(<BottomInfoContent>hello</BottomInfoContent>).baseElement).toMatchSnapshot();
7
+ expect(
8
+ render(<BottomInfoContent>hello</BottomInfoContent>).baseElement
9
+ ).toMatchSnapshot();
8
10
  });
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import clsx from 'clsx';
3
3
  import Grid, { GridProps } from '@digigov/react-core/Grid';
4
4
 
5
- export interface BottomInfoContentProps extends GridProps { }
5
+ export interface BottomInfoContentProps extends GridProps {}
6
6
  /**
7
7
  * BottomInfoContent is used inside the BottomInfoContainer component.
8
8
  */
@@ -4,5 +4,7 @@ import { render } from '@testing-library/react';
4
4
  import Breadcrumbs from '@digigov/react-core/Breadcrumbs';
5
5
 
6
6
  it('renders the Breadcrumbs with no props', () => {
7
- expect(render(<Breadcrumbs>hello</Breadcrumbs>).baseElement).toMatchSnapshot();
7
+ expect(
8
+ render(<Breadcrumbs>hello</Breadcrumbs>).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 BreadcrumbsProps extends BaseProps<'div'> { }
5
+ export interface BreadcrumbsProps extends BaseProps<'div'> {}
6
6
  /**
7
7
  * Use Breadcrumbs component when you need to help users understand and move between the multiple levels of a website.
8
8
  * The breadcrumb should start with your ‘home’ page and end with the parent section of the current page.
@@ -4,5 +4,7 @@ import { render } from '@testing-library/react';
4
4
  import BreadcrumbsList from '@digigov/react-core/BreadcrumbsList';
5
5
 
6
6
  it('renders the BreadcrumbsList with no props', () => {
7
- expect(render(<BreadcrumbsList>hello</BreadcrumbsList>).baseElement).toMatchSnapshot();
7
+ expect(
8
+ render(<BreadcrumbsList>hello</BreadcrumbsList>).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 BreadcrumbsListProps extends BaseProps<'ol'> { }
5
+ export interface BreadcrumbsListProps extends BaseProps<'ol'> {}
6
6
  /**
7
7
  * BreadcrumbsList is used for providing the items inside Breadcrumbs.
8
8
  */
@@ -10,6 +10,7 @@ it('renders the BreadcrumbsListItemLink with no props', () => {
10
10
  });
11
11
  it('renders the BreadcrumbsListItemLink with href', () => {
12
12
  expect(
13
- render(<BreadcrumbsListItemLink href="#">hello</BreadcrumbsListItemLink>).baseElement
13
+ render(<BreadcrumbsListItemLink href="#">hello</BreadcrumbsListItemLink>)
14
+ .baseElement
14
15
  ).toMatchSnapshot();
15
16
  });
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import clsx from 'clsx';
3
3
  import Link, { LinkBaseProps } from '@digigov/react-core/LinkBase';
4
4
 
5
- export interface BreadcrumbsListItemLinkProps extends LinkBaseProps { }
5
+ export interface BreadcrumbsListItemLinkProps extends LinkBaseProps {}
6
6
  /**
7
7
  * BreadcrumbsListItemLink creates an anchor link to navigate in different
8
8
  * parts of the breadcrumbs.
@@ -7,22 +7,34 @@ it('renders the Button with no props', () => {
7
7
  expect(render(<Button>hello</Button>).baseElement).toMatchSnapshot();
8
8
  });
9
9
  it('renders the Button with color=primary', () => {
10
- expect(render(<Button color={'primary'}>hello</Button>).baseElement).toMatchSnapshot();
10
+ expect(
11
+ render(<Button color={'primary'}>hello</Button>).baseElement
12
+ ).toMatchSnapshot();
11
13
  });
12
14
  it('renders the Button with color=secondary', () => {
13
- expect(render(<Button color={'secondary'}>hello</Button>).baseElement).toMatchSnapshot();
15
+ expect(
16
+ render(<Button color={'secondary'}>hello</Button>).baseElement
17
+ ).toMatchSnapshot();
14
18
  });
15
19
  it('renders the Button with color=warning', () => {
16
- expect(render(<Button color={'warning'}>hello</Button>).baseElement).toMatchSnapshot();
20
+ expect(
21
+ render(<Button color={'warning'}>hello</Button>).baseElement
22
+ ).toMatchSnapshot();
17
23
  });
18
24
  it('renders the Button with disabled=true', () => {
19
- expect(render(<Button disabled={true}>hello</Button>).baseElement).toMatchSnapshot();
25
+ expect(
26
+ render(<Button disabled={true}>hello</Button>).baseElement
27
+ ).toMatchSnapshot();
20
28
  });
21
29
  it('renders the Button with disabled=false', () => {
22
- expect(render(<Button disabled={false}>hello</Button>).baseElement).toMatchSnapshot();
30
+ expect(
31
+ render(<Button disabled={false}>hello</Button>).baseElement
32
+ ).toMatchSnapshot();
23
33
  });
24
34
  it('renders the Button with dense=true', () => {
25
- expect(render(<Button dense={true}>hello</Button>).baseElement).toMatchSnapshot();
35
+ expect(
36
+ render(<Button dense={true}>hello</Button>).baseElement
37
+ ).toMatchSnapshot();
26
38
  });
27
39
  it('renders the Button with color=primary with disabled=true', () => {
28
40
  expect(
@@ -53,9 +65,12 @@ it('renders the Button with color=warning with disabled=true', () => {
53
65
  });
54
66
  it('renders the Button with ariaLabel prop', () => {
55
67
  expect(
56
- render(<Button aria-label="button for opening menu">Menu</Button>).baseElement
68
+ render(<Button aria-label="button for opening menu">Menu</Button>)
69
+ .baseElement
57
70
  ).toMatchSnapshot();
58
71
  });
59
72
  it('renders the Button with tabIndex prop', () => {
60
- expect(render(<Button tabIndex={0}>Menu</Button>).baseElement).toMatchSnapshot();
73
+ expect(
74
+ render(<Button tabIndex={0}>Menu</Button>).baseElement
75
+ ).toMatchSnapshot();
61
76
  });
@@ -4,5 +4,7 @@ import { render } from '@testing-library/react';
4
4
  import ButtonGroup from '@digigov/react-core/ButtonGroup';
5
5
 
6
6
  it('renders the ButtonGroup with no props', () => {
7
- expect(render(<ButtonGroup>hello</ButtonGroup>).baseElement).toMatchSnapshot();
7
+ expect(
8
+ render(<ButtonGroup>hello</ButtonGroup>).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 ButtonGroupProps extends BaseProps<'div'> { }
5
+ export interface ButtonGroupProps extends BaseProps<'div'> {}
6
6
  /**
7
7
  * Use a button group when two or more buttons are placed together.
8
8
  */
@@ -22,7 +22,9 @@ it('renders the ButtonLink with color=warning', () => {
22
22
  ).toMatchSnapshot();
23
23
  });
24
24
  it('renders the ButtonLink with href=#', () => {
25
- expect(render(<ButtonLink href={'#'}>hello</ButtonLink>).baseElement).toMatchSnapshot();
25
+ expect(
26
+ render(<ButtonLink href={'#'}>hello</ButtonLink>).baseElement
27
+ ).toMatchSnapshot();
26
28
  });
27
29
  it('renders the ButtonLink with disabled=false', () => {
28
30
  expect(render(<ButtonLink>hello</ButtonLink>).baseElement).toMatchSnapshot();
@@ -56,9 +58,12 @@ it('renders the ButtonLink with color=warning with href=#', () => {
56
58
  });
57
59
  it('renders the ButtonLink with ariaLabel prop', () => {
58
60
  expect(
59
- render(<ButtonLink aria-label="button for opening menu">Menu</ButtonLink>).baseElement
61
+ render(<ButtonLink aria-label="button for opening menu">Menu</ButtonLink>)
62
+ .baseElement
60
63
  ).toMatchSnapshot();
61
64
  });
62
65
  it('renders the Button with tabIndex prop', () => {
63
- expect(render(<ButtonLink tabIndex={0}>Menu</ButtonLink>).baseElement).toMatchSnapshot();
66
+ expect(
67
+ render(<ButtonLink tabIndex={0}>Menu</ButtonLink>).baseElement
68
+ ).toMatchSnapshot();
64
69
  });
@@ -17,11 +17,11 @@ export interface ButtonLinkProps extends BaseProps<'a'> {
17
17
  color?: 'primary' | 'secondary' | 'warning';
18
18
 
19
19
  /**
20
- * dense is optional.
21
- * @value true Button will be dense.
22
- * @value false
23
- * @default false
24
- */
20
+ * dense is optional.
21
+ * @value true Button will be dense.
22
+ * @value false
23
+ * @default false
24
+ */
25
25
  dense?: boolean;
26
26
  }
27
27
  /**
@@ -4,5 +4,7 @@ import { render } from '@testing-library/react';
4
4
  import CallToAction from '@digigov/react-core/CallToAction';
5
5
 
6
6
  it('renders the CallToAction with no props', () => {
7
- expect(render(<CallToAction>hello</CallToAction>).baseElement).toMatchSnapshot();
7
+ expect(
8
+ render(<CallToAction>hello</CallToAction>).baseElement
9
+ ).toMatchSnapshot();
8
10
  });
@@ -14,13 +14,19 @@ it('renders the Card with dense props', () => {
14
14
  expect(render(<Card dense>hello</Card>).baseElement).toMatchSnapshot();
15
15
  });
16
16
  it('renders the Card with variant="border" props', () => {
17
- expect(render(<Card variant="border">hello</Card>).baseElement).toMatchSnapshot();
17
+ expect(
18
+ render(<Card variant="border">hello</Card>).baseElement
19
+ ).toMatchSnapshot();
18
20
  });
19
21
  it('renders the Card with variant="divider" props', () => {
20
- expect(render(<Card variant="divider">hello</Card>).baseElement).toMatchSnapshot();
22
+ expect(
23
+ render(<Card variant="divider">hello</Card>).baseElement
24
+ ).toMatchSnapshot();
21
25
  });
22
26
  it('renders the Card with variant="border-top" props', () => {
23
- expect(render(<Card variant="border-top">hello</Card>).baseElement).toMatchSnapshot();
27
+ expect(
28
+ render(<Card variant="border-top">hello</Card>).baseElement
29
+ ).toMatchSnapshot();
24
30
  });
25
31
  it('renders the Card with dense" prop', () => {
26
32
  expect(render(<Card dense>hello</Card>).baseElement).toMatchSnapshot();
@@ -51,7 +51,16 @@ export interface CardProps extends BaseProps<'div'> {
51
51
  * Use Card as parent component to wrap CardHeading, CardContent and CartAction components
52
52
  */
53
53
  export const Card = React.forwardRef<HTMLDivElement, CardProps>(function Card(
54
- { variant, borderColor, callToAction, dense, fullHeight, className, children, ...props },
54
+ {
55
+ variant,
56
+ borderColor,
57
+ callToAction,
58
+ dense,
59
+ fullHeight,
60
+ className,
61
+ children,
62
+ ...props
63
+ },
55
64
  ref
56
65
  ) {
57
66
  return (
@@ -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 CardActionProps extends BaseProps<'div'> { }
5
+ export interface CardActionProps extends BaseProps<'div'> {}
6
6
  /**
7
7
  * CardAction contains the action behavior for Card Component.
8
8
  * We can use links, Buttons or ButtonGroup with max of two buttons