@digigov/react-core 2.0.0-8e254888 → 2.0.0-a0ac149e

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 (338) hide show
  1. package/Accordion/index.native.d.ts +1 -5
  2. package/AccordionSection/index.native.d.ts +1 -3
  3. package/AccordionSectionSummaryHeading/index.d.ts +1 -0
  4. package/AccordionSectionSummaryHeading/index.js +3 -2
  5. package/AccordionSectionSummaryHeading/index.js.map +2 -2
  6. package/BackLinkBase/index.d.ts +9 -0
  7. package/BackLinkBase/index.js +29 -0
  8. package/BackLinkBase/index.js.map +7 -0
  9. package/{CallToAction → BackLinkBase}/package.json +1 -1
  10. package/BannerContainer/index.js +1 -1
  11. package/BannerContainer/index.js.map +2 -2
  12. package/Base/compat/Input/CheckboxInput.native.js.map +2 -2
  13. package/Base/compat/Input/RadioInput.native.js.map +2 -2
  14. package/Base/index.native.js.map +2 -2
  15. package/Base/index.web.d.ts +1 -1
  16. package/Base/index.web.js.map +1 -1
  17. package/Base/mapping.native.d.ts +1 -1
  18. package/Base/mapping.native.js.map +2 -2
  19. package/{BreadcrumbsListItemLink → BreadcrumbsListItemLinkBase}/index.d.ts +5 -5
  20. package/BreadcrumbsListItemLinkBase/index.js +23 -0
  21. package/BreadcrumbsListItemLinkBase/index.js.map +7 -0
  22. package/{AutoCompleteInputTypeahead → BreadcrumbsListItemLinkBase}/package.json +1 -1
  23. package/Button/index.js +1 -0
  24. package/Button/index.js.map +2 -2
  25. package/{ButtonLink → ButtonLinkBase}/index.d.ts +4 -4
  26. package/ButtonLinkBase/index.js +27 -0
  27. package/ButtonLinkBase/index.js.map +7 -0
  28. package/{FooterLink → ButtonLinkBase}/package.json +1 -1
  29. package/CallToActionBase/index.d.ts +9 -0
  30. package/{CallToAction → CallToActionBase}/index.js +6 -6
  31. package/CallToActionBase/index.js.map +7 -0
  32. package/{CircularProgress → CallToActionBase}/package.json +1 -1
  33. package/{CircularProgress → CircularProgressBase}/index.d.ts +5 -5
  34. package/{CircularProgress → CircularProgressBase}/index.js +4 -4
  35. package/CircularProgressBase/index.js.map +7 -0
  36. package/CircularProgressBase/package.json +6 -0
  37. package/CopyToClipboardMessage/index.native.d.ts +1 -3
  38. package/DateInputItem/index.native.d.ts +1 -3
  39. package/Details/index.native.d.ts +1 -3
  40. package/DetailsContent/index.d.ts +1 -0
  41. package/DetailsContent/index.js +3 -2
  42. package/DetailsContent/index.js.map +2 -2
  43. package/FooterLinkBase/index.d.ts +9 -0
  44. package/FooterLinkBase/index.js +23 -0
  45. package/FooterLinkBase/index.js.map +7 -0
  46. package/{ButtonLink → FooterLinkBase}/package.json +1 -1
  47. package/GovGRLogoBase/govgr-logo-base64/package.json +6 -0
  48. package/{GovGRLogo → GovGRLogoBase}/govgr-logo-base64.js.map +1 -1
  49. package/GovGRLogoBase/govgr-logo-blue-base64/package.json +6 -0
  50. package/{GovGRLogo → GovGRLogoBase}/govgr-logo-blue-base64.js.map +1 -1
  51. package/GovGRLogoBase/index.d.ts +9 -0
  52. package/GovGRLogoBase/index.js +43 -0
  53. package/GovGRLogoBase/index.js.map +7 -0
  54. package/{BackLink → GovGRLogoBase}/package.json +1 -1
  55. package/Grid/index.d.ts +1 -7
  56. package/Grid/index.js.map +2 -2
  57. package/HeaderLogoBase/index.d.ts +19 -0
  58. package/HeaderLogoBase/index.js +33 -0
  59. package/HeaderLogoBase/index.js.map +7 -0
  60. package/HeaderLogoBase/package.json +6 -0
  61. package/HeaderSecondaryLogoBase/index.d.ts +19 -0
  62. package/{HeaderSecondaryLogo → HeaderSecondaryLogoBase}/index.js +7 -7
  63. package/HeaderSecondaryLogoBase/index.js.map +7 -0
  64. package/{BreadcrumbsListItemLink → HeaderSecondaryLogoBase}/package.json +1 -1
  65. package/HeaderTitleBase/index.d.ts +9 -0
  66. package/HeaderTitleBase/index.js +24 -0
  67. package/HeaderTitleBase/index.js.map +7 -0
  68. package/HeaderTitleBase/package.json +6 -0
  69. package/LinkBase/index.js +1 -0
  70. package/LinkBase/index.js.map +2 -2
  71. package/{NavListItemAction → NavListItemActionBase}/index.d.ts +6 -6
  72. package/{NavListItemAction → NavListItemActionBase}/index.js +6 -6
  73. package/NavListItemActionBase/index.js.map +7 -0
  74. package/NavListItemActionBase/package.json +6 -0
  75. package/NavListItemActionContainer/index.native.d.ts +0 -2
  76. package/{NavListItemLink → NavListItemLinkBase}/index.d.ts +4 -4
  77. package/{NavListItemLink → NavListItemLinkBase}/index.js +6 -6
  78. package/NavListItemLinkBase/index.js.map +7 -0
  79. package/NavListItemLinkBase/package.json +6 -0
  80. package/NotificationBannerLink/index.native.d.ts +1 -3
  81. package/Table/index.d.ts +9 -0
  82. package/Table/index.js +4 -1
  83. package/Table/index.js.map +2 -2
  84. package/TableDataCell/index.d.ts +13 -0
  85. package/TableDataCell/index.js +10 -1
  86. package/TableDataCell/index.js.map +2 -2
  87. package/TextArea/index.native.d.ts +1 -3
  88. package/TextInput/index.native.d.ts +1 -3
  89. package/Typography/index.d.ts +1 -1
  90. package/Typography/index.js +15 -17
  91. package/Typography/index.js.map +2 -2
  92. package/WarningText/index.d.ts +7 -0
  93. package/WarningText/index.js +10 -2
  94. package/WarningText/index.js.map +2 -2
  95. package/cjs/AccordionSectionSummaryHeading/index.js +3 -2
  96. package/cjs/AccordionSectionSummaryHeading/index.js.map +2 -2
  97. package/cjs/BackLinkBase/index.js +62 -0
  98. package/cjs/BackLinkBase/index.js.map +7 -0
  99. package/cjs/BannerContainer/index.js +1 -1
  100. package/cjs/BannerContainer/index.js.map +2 -2
  101. package/cjs/Base/compat/Input/CheckboxInput.native.js.map +2 -2
  102. package/cjs/Base/compat/Input/RadioInput.native.js.map +2 -2
  103. package/cjs/Base/index.native.js.map +2 -2
  104. package/cjs/Base/index.web.js.map +1 -1
  105. package/cjs/Base/mapping.native.js.map +2 -2
  106. package/cjs/{BreadcrumbsListItemLink → BreadcrumbsListItemLinkBase}/index.js +10 -11
  107. package/cjs/BreadcrumbsListItemLinkBase/index.js.map +7 -0
  108. package/cjs/Button/index.js +1 -0
  109. package/cjs/Button/index.js.map +2 -2
  110. package/cjs/ButtonLinkBase/index.js +60 -0
  111. package/cjs/ButtonLinkBase/index.js.map +7 -0
  112. package/cjs/{CallToAction → CallToActionBase}/index.js +10 -10
  113. package/cjs/CallToActionBase/index.js.map +7 -0
  114. package/cjs/{CircularProgress → CircularProgressBase}/index.js +8 -8
  115. package/cjs/CircularProgressBase/index.js.map +7 -0
  116. package/cjs/DetailsContent/index.js +3 -2
  117. package/cjs/DetailsContent/index.js.map +2 -2
  118. package/cjs/FooterLinkBase/index.js +56 -0
  119. package/cjs/FooterLinkBase/index.js.map +7 -0
  120. package/cjs/{GovGRLogo → GovGRLogoBase}/govgr-logo-base64.js.map +1 -1
  121. package/cjs/{GovGRLogo → GovGRLogoBase}/govgr-logo-blue-base64.js.map +1 -1
  122. package/cjs/{GovGRLogo → GovGRLogoBase}/index.js +41 -43
  123. package/cjs/GovGRLogoBase/index.js.map +7 -0
  124. package/cjs/Grid/index.js.map +2 -2
  125. package/cjs/{HeaderSecondaryLogo → HeaderLogoBase}/index.js +12 -12
  126. package/cjs/HeaderLogoBase/index.js.map +7 -0
  127. package/cjs/HeaderSecondaryLogoBase/index.js +66 -0
  128. package/cjs/HeaderSecondaryLogoBase/index.js.map +7 -0
  129. package/cjs/{HeaderTitle → HeaderTitleBase}/index.js +11 -11
  130. package/cjs/HeaderTitleBase/index.js.map +7 -0
  131. package/cjs/LinkBase/index.js +1 -0
  132. package/cjs/LinkBase/index.js.map +2 -2
  133. package/cjs/{NavListItemAction → NavListItemActionBase}/index.js +10 -10
  134. package/cjs/NavListItemActionBase/index.js.map +7 -0
  135. package/cjs/{NavListItemLink → NavListItemLinkBase}/index.js +10 -10
  136. package/cjs/NavListItemLinkBase/index.js.map +7 -0
  137. package/cjs/Table/index.js +4 -1
  138. package/cjs/Table/index.js.map +2 -2
  139. package/cjs/TableDataCell/index.js +10 -1
  140. package/cjs/TableDataCell/index.js.map +2 -2
  141. package/cjs/Typography/index.js +15 -17
  142. package/cjs/Typography/index.js.map +2 -2
  143. package/cjs/WarningText/index.js +10 -2
  144. package/cjs/WarningText/index.js.map +2 -2
  145. package/cjs/index.js +22 -24
  146. package/cjs/index.js.map +2 -2
  147. package/cjs/lazy/index.js +13 -14
  148. package/cjs/lazy.js.map +2 -2
  149. package/cjs/registry/index.js +36 -38
  150. package/cjs/registry.js.map +2 -2
  151. package/cjs/utils/index.native/index.js +32 -34
  152. package/cjs/utils/index.native.js.map +2 -2
  153. package/index.d.ts +11 -12
  154. package/index.js +12 -13
  155. package/index.js.map +2 -2
  156. package/lazy/index.js +13 -14
  157. package/package.json +5 -5
  158. package/registry/index.js +36 -38
  159. package/src/AccordionSectionSummaryHeading/index.tsx +9 -2
  160. package/src/AdminAside/__snapshots__/index.test.tsx.snap +1 -1
  161. package/src/AdminContainer/__snapshots__/index.test.tsx.snap +2 -2
  162. package/src/AdminMain/__snapshots__/index.test.tsx.snap +1 -1
  163. package/src/AdminTopSection/__snapshots__/index.test.tsx.snap +1 -1
  164. package/src/Aside/__snapshots__/index.test.tsx.snap +1 -1
  165. package/src/{BackLink → BackLinkBase}/__snapshots__/index.test.tsx.snap +2 -2
  166. package/src/BackLinkBase/index.test.tsx +15 -0
  167. package/src/BackLinkBase/index.tsx +36 -0
  168. package/src/BannerContainer/__snapshots__/index.test.tsx.snap +1 -1
  169. package/src/BannerContainer/index.tsx +1 -1
  170. package/src/Base/compat/Input/CheckboxInput.native.tsx +2 -6
  171. package/src/Base/compat/Input/RadioInput.native.tsx +2 -6
  172. package/src/Base/index.native.tsx +2 -2
  173. package/src/Base/index.web.tsx +2 -2
  174. package/src/Base/mapping.native.tsx +1 -1
  175. package/src/BottomInfo/__snapshots__/index.test.tsx.snap +1 -1
  176. package/src/BottomInfoContainer/__snapshots__/index.test.tsx.snap +1 -1
  177. package/src/BottomInfoContent/__snapshots__/index.test.tsx.snap +1 -1
  178. package/src/{BreadcrumbsListItemLink → BreadcrumbsListItemLinkBase}/__snapshots__/index.test.tsx.snap +4 -4
  179. package/src/BreadcrumbsListItemLinkBase/index.test.tsx +18 -0
  180. package/src/{BreadcrumbsListItemLink → BreadcrumbsListItemLinkBase}/index.tsx +10 -11
  181. package/src/Button/index.tsx +1 -0
  182. package/src/{ButtonLink → ButtonLinkBase}/__snapshots__/index.test.tsx.snap +22 -22
  183. package/src/ButtonLinkBase/index.test.tsx +75 -0
  184. package/src/ButtonLinkBase/index.tsx +55 -0
  185. package/src/{CallToAction → CallToActionBase}/__snapshots__/index.test.tsx.snap +1 -1
  186. package/src/CallToActionBase/index.test.tsx +10 -0
  187. package/src/{CallToAction → CallToActionBase}/index.tsx +10 -8
  188. package/src/Checkbox/__snapshots__/index.test.tsx.snap +0 -5
  189. package/src/CheckboxConditional/__snapshots__/index.test.tsx.snap +1 -1
  190. package/src/CheckboxItem/__snapshots__/index.test.tsx.snap +0 -4
  191. package/src/{CircularProgress → CircularProgressBase}/__snapshots__/index.test.tsx.snap +6 -6
  192. package/src/CircularProgressBase/index.test.tsx +38 -0
  193. package/src/{CircularProgress → CircularProgressBase}/index.tsx +7 -7
  194. package/src/Container/__snapshots__/index.test.tsx.snap +3 -3
  195. package/src/DetailsContent/index.tsx +11 -2
  196. package/src/FieldContainer/__snapshots__/index.test.tsx.snap +3 -3
  197. package/src/FooterContainer/__snapshots__/index.test.tsx.snap +1 -1
  198. package/src/{FooterLink → FooterLinkBase}/__snapshots__/index.test.tsx.snap +2 -2
  199. package/src/FooterLinkBase/index.test.tsx +16 -0
  200. package/src/FooterLinkBase/index.tsx +27 -0
  201. package/src/{GovGRLogo → GovGRLogoBase}/__snapshots__/index.test.tsx.snap +1 -1
  202. package/src/GovGRLogoBase/index.test.tsx +8 -0
  203. package/src/GovGRLogoBase/index.tsx +43 -0
  204. package/src/Grid/__snapshots__/index.test.tsx.snap +8 -8
  205. package/src/Grid/index.tsx +1 -7
  206. package/src/{HeaderLogo → HeaderLogoBase}/__snapshots__/index.test.tsx.snap +1 -1
  207. package/src/HeaderLogoBase/index.test.tsx +8 -0
  208. package/src/HeaderLogoBase/index.tsx +44 -0
  209. package/src/{HeaderSecondaryLogo → HeaderSecondaryLogoBase}/__snapshots__/index.test.tsx.snap +2 -2
  210. package/src/{HeaderSecondaryLogo → HeaderSecondaryLogoBase}/index.test.tsx +7 -7
  211. package/src/{HeaderSecondaryLogo → HeaderSecondaryLogoBase}/index.tsx +9 -9
  212. package/src/{HeaderTitle → HeaderTitleBase}/__snapshots__/index.test.tsx.snap +2 -2
  213. package/src/HeaderTitleBase/index.test.tsx +17 -0
  214. package/src/HeaderTitleBase/index.tsx +28 -0
  215. package/src/LinkBase/index.tsx +1 -0
  216. package/src/Main/__snapshots__/index.test.tsx.snap +1 -1
  217. package/src/NavListItemActionBase/__snapshots__/index.test.tsx.snap +101 -0
  218. package/src/NavListItemActionBase/index.test.tsx +42 -0
  219. package/src/{NavListItemAction → NavListItemActionBase}/index.tsx +13 -12
  220. package/src/{NavListItemLink → NavListItemLinkBase}/__snapshots__/index.test.tsx.snap +5 -5
  221. package/src/NavListItemLinkBase/index.test.tsx +41 -0
  222. package/src/{NavListItemLink → NavListItemLinkBase}/index.tsx +8 -9
  223. package/src/NavMenuContainer/__snapshots__/index.test.tsx.snap +4 -4
  224. package/src/NavMenuContent/__snapshots__/index.test.tsx.snap +1 -1
  225. package/src/NavMenuTitle/__snapshots__/index.test.tsx.snap +1 -1
  226. package/src/RadioConditional/__snapshots__/index.test.tsx.snap +1 -1
  227. package/src/RadioItem/__snapshots__/index.test.tsx.snap +0 -4
  228. package/src/Table/index.tsx +12 -0
  229. package/src/TableDataCell/__snapshots__/index.test.tsx.snap +2 -2
  230. package/src/TableDataCell/index.tsx +23 -1
  231. package/src/Typography/index.tsx +21 -20
  232. package/src/WarningText/__snapshots__/index.test.tsx.snap +26 -0
  233. package/src/WarningText/index.test.tsx +5 -0
  234. package/src/WarningText/index.tsx +17 -2
  235. package/src/index.ts +11 -12
  236. package/src/lazy.js +13 -14
  237. package/src/registry.js +36 -38
  238. package/src/utils/index.native.tsx +56 -54
  239. package/utils/index.native/index.js +32 -34
  240. package/utils/index.native.d.ts +3 -6
  241. package/utils/index.native.js.map +2 -2
  242. package/AutoCompleteInputTypeahead/index.d.ts +0 -11
  243. package/AutoCompleteInputTypeahead/index.js +0 -25
  244. package/AutoCompleteInputTypeahead/index.js.map +0 -7
  245. package/BackLink/index.d.ts +0 -9
  246. package/BackLink/index.js +0 -31
  247. package/BackLink/index.js.map +0 -7
  248. package/BreadcrumbsListItemLink/index.js +0 -24
  249. package/BreadcrumbsListItemLink/index.js.map +0 -7
  250. package/ButtonLink/index.js +0 -29
  251. package/ButtonLink/index.js.map +0 -7
  252. package/CallToAction/index.d.ts +0 -9
  253. package/CallToAction/index.js.map +0 -7
  254. package/CircularProgress/index.js.map +0 -7
  255. package/FooterLink/index.d.ts +0 -9
  256. package/FooterLink/index.js +0 -25
  257. package/FooterLink/index.js.map +0 -7
  258. package/GovGRLogo/govgr-logo-base64/package.json +0 -6
  259. package/GovGRLogo/govgr-logo-blue-base64/package.json +0 -6
  260. package/GovGRLogo/index.d.ts +0 -9
  261. package/GovGRLogo/index.js +0 -45
  262. package/GovGRLogo/index.js.map +0 -7
  263. package/GovGRLogo/package.json +0 -6
  264. package/HeaderLogo/index.d.ts +0 -19
  265. package/HeaderLogo/index.js +0 -35
  266. package/HeaderLogo/index.js.map +0 -7
  267. package/HeaderLogo/package.json +0 -6
  268. package/HeaderSecondaryLogo/index.d.ts +0 -19
  269. package/HeaderSecondaryLogo/index.js.map +0 -7
  270. package/HeaderSecondaryLogo/package.json +0 -6
  271. package/HeaderTitle/index.d.ts +0 -9
  272. package/HeaderTitle/index.js +0 -24
  273. package/HeaderTitle/index.js.map +0 -7
  274. package/HeaderTitle/package.json +0 -6
  275. package/NavListItemAction/index.js.map +0 -7
  276. package/NavListItemAction/package.json +0 -6
  277. package/NavListItemLink/index.js.map +0 -7
  278. package/NavListItemLink/index.test.d.ts +0 -1
  279. package/NavListItemLink/package.json +0 -6
  280. package/cjs/AutoCompleteInputTypeahead/index.js +0 -58
  281. package/cjs/AutoCompleteInputTypeahead/index.js.map +0 -7
  282. package/cjs/BackLink/index.js +0 -64
  283. package/cjs/BackLink/index.js.map +0 -7
  284. package/cjs/BreadcrumbsListItemLink/index.js.map +0 -7
  285. package/cjs/ButtonLink/index.js +0 -62
  286. package/cjs/ButtonLink/index.js.map +0 -7
  287. package/cjs/CallToAction/index.js.map +0 -7
  288. package/cjs/CircularProgress/index.js.map +0 -7
  289. package/cjs/FooterLink/index.js +0 -58
  290. package/cjs/FooterLink/index.js.map +0 -7
  291. package/cjs/GovGRLogo/index.js.map +0 -7
  292. package/cjs/HeaderLogo/index.js +0 -68
  293. package/cjs/HeaderLogo/index.js.map +0 -7
  294. package/cjs/HeaderSecondaryLogo/index.js.map +0 -7
  295. package/cjs/HeaderTitle/index.js.map +0 -7
  296. package/cjs/NavListItemAction/index.js.map +0 -7
  297. package/cjs/NavListItemLink/index.js.map +0 -7
  298. package/src/AutoCompleteInputTypeahead/__snapshots__/index.test.tsx.snap +0 -16
  299. package/src/AutoCompleteInputTypeahead/index.test.tsx +0 -8
  300. package/src/AutoCompleteInputTypeahead/index.tsx +0 -32
  301. package/src/BackLink/index.test.tsx +0 -13
  302. package/src/BackLink/index.tsx +0 -35
  303. package/src/BreadcrumbsListItemLink/index.test.tsx +0 -16
  304. package/src/ButtonLink/index.test.tsx +0 -69
  305. package/src/ButtonLink/index.tsx +0 -54
  306. package/src/CallToAction/index.test.tsx +0 -10
  307. package/src/CircularProgress/index.test.tsx +0 -34
  308. package/src/FooterLink/index.test.tsx +0 -14
  309. package/src/FooterLink/index.tsx +0 -26
  310. package/src/GovGRLogo/index.test.tsx +0 -8
  311. package/src/GovGRLogo/index.tsx +0 -42
  312. package/src/HeaderLogo/index.test.tsx +0 -8
  313. package/src/HeaderLogo/index.tsx +0 -43
  314. package/src/HeaderTitle/index.test.tsx +0 -16
  315. package/src/HeaderTitle/index.tsx +0 -28
  316. package/src/NavListItemAction/__snapshots__/index.test.tsx.snap +0 -13
  317. package/src/NavListItemAction/index.test.tsx +0 -11
  318. package/src/NavListItemLink/index.test.tsx +0 -39
  319. /package/{AutoCompleteInputTypeahead → BackLinkBase}/index.test.d.ts +0 -0
  320. /package/{BackLink → BreadcrumbsListItemLinkBase}/index.test.d.ts +0 -0
  321. /package/{BreadcrumbsListItemLink → ButtonLinkBase}/index.test.d.ts +0 -0
  322. /package/{ButtonLink → CallToActionBase}/index.test.d.ts +0 -0
  323. /package/{CallToAction → CircularProgressBase}/index.test.d.ts +0 -0
  324. /package/{CircularProgress → FooterLinkBase}/index.test.d.ts +0 -0
  325. /package/{GovGRLogo → GovGRLogoBase}/govgr-logo-base64/index.js +0 -0
  326. /package/{GovGRLogo → GovGRLogoBase}/govgr-logo-base64.d.ts +0 -0
  327. /package/{GovGRLogo → GovGRLogoBase}/govgr-logo-blue-base64/index.js +0 -0
  328. /package/{GovGRLogo → GovGRLogoBase}/govgr-logo-blue-base64.d.ts +0 -0
  329. /package/{FooterLink → GovGRLogoBase}/index.test.d.ts +0 -0
  330. /package/{GovGRLogo → HeaderLogoBase}/index.test.d.ts +0 -0
  331. /package/{HeaderLogo → HeaderSecondaryLogoBase}/index.test.d.ts +0 -0
  332. /package/{HeaderSecondaryLogo → HeaderTitleBase}/index.test.d.ts +0 -0
  333. /package/{HeaderTitle → NavListItemActionBase}/index.test.d.ts +0 -0
  334. /package/{NavListItemAction → NavListItemLinkBase}/index.test.d.ts +0 -0
  335. /package/cjs/{GovGRLogo → GovGRLogoBase}/govgr-logo-base64/index.js +0 -0
  336. /package/cjs/{GovGRLogo → GovGRLogoBase}/govgr-logo-blue-base64/index.js +0 -0
  337. /package/src/{GovGRLogo → GovGRLogoBase}/govgr-logo-base64.js +0 -0
  338. /package/src/{GovGRLogo → GovGRLogoBase}/govgr-logo-blue-base64.ts +0 -0
@@ -16,7 +16,6 @@ exports[`renders the Checkbox with dense prop and CheckboxItems 1`] = `
16
16
  <input
17
17
  class="ds-checkboxes__input"
18
18
  type="checkbox"
19
- value=""
20
19
  />
21
20
  </label>
22
21
  </div>
@@ -30,7 +29,6 @@ exports[`renders the Checkbox with dense prop and CheckboxItems 1`] = `
30
29
  <input
31
30
  class="ds-checkboxes__input"
32
31
  type="checkbox"
33
- value=""
34
32
  />
35
33
  </label>
36
34
  </div>
@@ -55,7 +53,6 @@ exports[`renders the Checkbox with layout=horizontal and CheckboxItems 1`] = `
55
53
  <input
56
54
  class="ds-checkboxes__input"
57
55
  type="checkbox"
58
- value=""
59
56
  />
60
57
  </label>
61
58
  </div>
@@ -69,7 +66,6 @@ exports[`renders the Checkbox with layout=horizontal and CheckboxItems 1`] = `
69
66
  <input
70
67
  class="ds-checkboxes__input"
71
68
  type="checkbox"
72
- value=""
73
69
  />
74
70
  </label>
75
71
  </div>
@@ -106,7 +102,6 @@ exports[`renders the Checkbox with no props and CheckboxItem 1`] = `
106
102
  <input
107
103
  class="ds-checkboxes__input"
108
104
  type="checkbox"
109
- value=""
110
105
  />
111
106
  </label>
112
107
  </div>
@@ -7,7 +7,7 @@ exports[`renders the Blockquote with no props 1`] = `
7
7
  class="ds-checkboxes__conditional"
8
8
  >
9
9
  <div
10
- class="ds-field xs:ds-grid__col-span-12"
10
+ class="ds-field ds-grid-item xs:ds-grid__col-span-12"
11
11
  >
12
12
  <label
13
13
  class="ds-label"
@@ -14,7 +14,6 @@ exports[`renders the CheckboxItem with \`disabled\` prop 1`] = `
14
14
  class="ds-checkboxes__input"
15
15
  disabled=""
16
16
  type="checkbox"
17
- value=""
18
17
  />
19
18
  </label>
20
19
  </div>
@@ -40,7 +39,6 @@ exports[`renders the CheckboxItem with \`divider\` prop 1`] = `
40
39
  <input
41
40
  class="ds-checkboxes__input"
42
41
  type="checkbox"
43
- value=""
44
42
  />
45
43
  </label>
46
44
  </div>
@@ -62,7 +60,6 @@ exports[`renders the CheckboxItem with \`name\` prop 1`] = `
62
60
  class="ds-checkboxes__input"
63
61
  name="example"
64
62
  type="checkbox"
65
- value=""
66
63
  />
67
64
  </label>
68
65
  </div>
@@ -155,7 +152,6 @@ exports[`renders the CheckboxItem with no props 1`] = `
155
152
  <input
156
153
  class="ds-checkboxes__input"
157
154
  type="checkbox"
158
- value=""
159
155
  />
160
156
  </label>
161
157
  </div>
@@ -1,6 +1,6 @@
1
1
  // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
2
2
 
3
- exports[`renders the CircularProgress 1`] = `
3
+ exports[`renders the CircularProgressBase 1`] = `
4
4
  <body>
5
5
  <div>
6
6
  <svg
@@ -22,7 +22,7 @@ exports[`renders the CircularProgress 1`] = `
22
22
  </body>
23
23
  `;
24
24
 
25
- exports[`renders the CircularProgress with color=secondary and size lg props 1`] = `
25
+ exports[`renders the CircularProgressBase with color=secondary and size lg props 1`] = `
26
26
  <body>
27
27
  <div>
28
28
  <svg
@@ -44,7 +44,7 @@ exports[`renders the CircularProgress with color=secondary and size lg props 1`]
44
44
  </body>
45
45
  `;
46
46
 
47
- exports[`renders the CircularProgress with color=secondary and size sm props 1`] = `
47
+ exports[`renders the CircularProgressBase with color=secondary and size sm props 1`] = `
48
48
  <body>
49
49
  <div>
50
50
  <svg
@@ -66,7 +66,7 @@ exports[`renders the CircularProgress with color=secondary and size sm props 1`]
66
66
  </body>
67
67
  `;
68
68
 
69
- exports[`renders the CircularProgress with color=secondary prop 1`] = `
69
+ exports[`renders the CircularProgressBase with color=secondary prop 1`] = `
70
70
  <body>
71
71
  <div>
72
72
  <svg
@@ -88,7 +88,7 @@ exports[`renders the CircularProgress with color=secondary prop 1`] = `
88
88
  </body>
89
89
  `;
90
90
 
91
- exports[`renders the CircularProgress with size lg 1`] = `
91
+ exports[`renders the CircularProgressBase with size lg 1`] = `
92
92
  <body>
93
93
  <div>
94
94
  <svg
@@ -110,7 +110,7 @@ exports[`renders the CircularProgress with size lg 1`] = `
110
110
  </body>
111
111
  `;
112
112
 
113
- exports[`renders the CircularProgress with size sm 1`] = `
113
+ exports[`renders the CircularProgressBase with size sm 1`] = `
114
114
  <body>
115
115
  <div>
116
116
  <svg
@@ -0,0 +1,38 @@
1
+ import React from 'react';
2
+ import { render } from '@testing-library/react';
3
+
4
+ import CircularProgressBase from '@digigov/react-core/CircularProgressBase';
5
+
6
+ it('renders the CircularProgressBase', () => {
7
+ expect(render(<CircularProgressBase />).baseElement).toMatchSnapshot();
8
+ });
9
+
10
+ it('renders the CircularProgressBase with size sm', () => {
11
+ expect(
12
+ render(<CircularProgressBase size="sm" />).baseElement
13
+ ).toMatchSnapshot();
14
+ });
15
+
16
+ it('renders the CircularProgressBase with size lg', () => {
17
+ expect(
18
+ render(<CircularProgressBase size="lg" />).baseElement
19
+ ).toMatchSnapshot();
20
+ });
21
+
22
+ it('renders the CircularProgressBase with color=secondary prop', () => {
23
+ expect(
24
+ render(<CircularProgressBase color={'secondary'} />).baseElement
25
+ ).toMatchSnapshot();
26
+ });
27
+
28
+ it('renders the CircularProgressBase with color=secondary and size sm props', () => {
29
+ expect(
30
+ render(<CircularProgressBase color={'secondary'} size="sm" />).baseElement
31
+ ).toMatchSnapshot();
32
+ });
33
+
34
+ it('renders the CircularProgressBase with color=secondary and size lg props', () => {
35
+ expect(
36
+ render(<CircularProgressBase color={'secondary'} size="lg" />).baseElement
37
+ ).toMatchSnapshot();
38
+ });
@@ -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 CircularProgressProps extends BaseProps<'svg'> {
5
+ export interface CircularProgressBaseProps extends BaseProps<'svg'> {
6
6
  /**
7
7
  * color prop is optional.
8
8
  * color prop is used to change the color of the loader.
@@ -22,12 +22,12 @@ export interface CircularProgressProps extends BaseProps<'svg'> {
22
22
  size?: 'sm' | 'md' | 'lg';
23
23
  }
24
24
  /**
25
- * Use CircularProgress component as an animated loader.
26
- * CircularProgress can be used inside LoaderContainer component.
25
+ * Use CircularProgressBase component as an animated loader.
26
+ * CircularProgressBase can be used inside LoaderContainer component.
27
27
  */
28
- export const CircularProgress = React.forwardRef<
29
- SVGSVGElement,
30
- CircularProgressProps
28
+ export const CircularProgressBase = React.forwardRef<
29
+ SVGElement,
30
+ CircularProgressBaseProps
31
31
  >(function CircularProgress(
32
32
  { color = 'primary', size = 'md', className, ...props },
33
33
  ref
@@ -60,4 +60,4 @@ export const CircularProgress = React.forwardRef<
60
60
  );
61
61
  });
62
62
 
63
- export default CircularProgress;
63
+ export default CircularProgressBase;
@@ -4,7 +4,7 @@ exports[`renders the Container with cols={false} prop 1`] = `
4
4
  <body>
5
5
  <div>
6
6
  <div
7
- class="ds-container ds-container--full-width"
7
+ class="ds-container ds-container--full-width ds-grid-item"
8
8
  >
9
9
  hello
10
10
  </div>
@@ -16,7 +16,7 @@ exports[`renders the Container with fullWidth prop 1`] = `
16
16
  <body>
17
17
  <div>
18
18
  <div
19
- class="ds-container ds-container--full-width ds-grid ds-gap-sm-12"
19
+ class="ds-container ds-container--full-width ds-grid ds-grid-item ds-gap-sm-12"
20
20
  >
21
21
  hello
22
22
  </div>
@@ -28,7 +28,7 @@ exports[`renders the Container with no props 1`] = `
28
28
  <body>
29
29
  <div>
30
30
  <div
31
- class="ds-container ds-grid ds-gap-sm-12"
31
+ class="ds-container ds-grid ds-grid-item ds-gap-sm-12"
32
32
  >
33
33
  hello
34
34
  </div>
@@ -2,7 +2,15 @@ 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 DetailsContentProps extends BaseProps<'div'> {}
5
+ export interface DetailsContentProps extends BaseProps<'div'> {
6
+ /*
7
+ ** color is optional. Default value is 'primary'.
8
+ * @value 'primary'
9
+ * @value 'secondary'
10
+ * @default 'primary'
11
+ * */
12
+ color?: 'primary' | 'secondary';
13
+ }
6
14
  /**
7
15
  *DetailsContent component wraps the content text.
8
16
  *It is used inside Details component as children
@@ -10,13 +18,14 @@ export interface DetailsContentProps extends BaseProps<'div'> {}
10
18
  export const DetailsContent = React.forwardRef<
11
19
  HTMLDivElement,
12
20
  DetailsContentProps
13
- >(function DetailsContent({ className, children, ...props }, ref) {
21
+ >(function DetailsContent({ color, className, children, ...props }, ref) {
14
22
  return (
15
23
  <Base
16
24
  as="div"
17
25
  ref={ref}
18
26
  className={clsx(className, {
19
27
  'ds-details__content': true,
28
+ 'ds-details__content--secondary': color === 'secondary',
20
29
  })}
21
30
  {...props}
22
31
  >
@@ -4,7 +4,7 @@ exports[`renders the FieldContainer with error=false 1`] = `
4
4
  <body>
5
5
  <div>
6
6
  <div
7
- class="ds-field xs:ds-grid__col-span-12"
7
+ class="ds-field ds-grid-item xs:ds-grid__col-span-12"
8
8
  >
9
9
  hello
10
10
  </div>
@@ -16,7 +16,7 @@ exports[`renders the FieldContainer with error=true 1`] = `
16
16
  <body>
17
17
  <div>
18
18
  <div
19
- class="ds-field ds-field--error xs:ds-grid__col-span-12"
19
+ class="ds-field ds-field--error ds-grid-item xs:ds-grid__col-span-12"
20
20
  >
21
21
  hello
22
22
  </div>
@@ -28,7 +28,7 @@ exports[`renders the FieldContainer with no props 1`] = `
28
28
  <body>
29
29
  <div>
30
30
  <div
31
- class="ds-field xs:ds-grid__col-span-12"
31
+ class="ds-field ds-grid-item xs:ds-grid__col-span-12"
32
32
  >
33
33
  hello
34
34
  </div>
@@ -4,7 +4,7 @@ exports[`renders the FooterContainer with no props 1`] = `
4
4
  <body>
5
5
  <div>
6
6
  <div
7
- class="ds-container"
7
+ class="ds-container ds-grid-item"
8
8
  >
9
9
  hello
10
10
  </div>
@@ -1,6 +1,6 @@
1
1
  // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
2
2
 
3
- exports[`renders the FooterLink with href prop 1`] = `
3
+ exports[`renders the FooterLinkBase with href prop 1`] = `
4
4
  <body>
5
5
  <div>
6
6
  <a
@@ -13,7 +13,7 @@ exports[`renders the FooterLink with href prop 1`] = `
13
13
  </body>
14
14
  `;
15
15
 
16
- exports[`renders the FooterLink with no props 1`] = `
16
+ exports[`renders the FooterLinkBase with no props 1`] = `
17
17
  <body>
18
18
  <div>
19
19
  <a
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import { render } from '@testing-library/react';
3
+
4
+ import FooterLinkBase from '@digigov/react-core/FooterLinkBase';
5
+
6
+ it('renders the FooterLinkBase with no props', () => {
7
+ expect(
8
+ render(<FooterLinkBase>hello</FooterLinkBase>).baseElement
9
+ ).toMatchSnapshot();
10
+ });
11
+
12
+ it('renders the FooterLinkBase with href prop', () => {
13
+ expect(
14
+ render(<FooterLinkBase href={'#'}>hello</FooterLinkBase>).baseElement
15
+ ).toMatchSnapshot();
16
+ });
@@ -0,0 +1,27 @@
1
+ import React from 'react';
2
+ import clsx from 'clsx';
3
+ import { LinkBase, LinkBaseProps } from '@digigov/react-core/LinkBase';
4
+
5
+ export interface FooterLinkBaseProps extends LinkBaseProps {}
6
+ /**
7
+ * FooterLink in used inside the Footer component.
8
+ */
9
+ export const FooterLinkBase = React.forwardRef<
10
+ HTMLAnchorElement,
11
+ FooterLinkBaseProps
12
+ >(function FooterLinkBase({ className, children, ...props }, ref) {
13
+ return (
14
+ <LinkBase
15
+ ref={ref}
16
+ defaultStyle={false}
17
+ className={clsx(className, {
18
+ 'ds-footer__link': true,
19
+ })}
20
+ {...props}
21
+ >
22
+ {children}
23
+ </LinkBase>
24
+ );
25
+ });
26
+
27
+ export default FooterLinkBase;
@@ -1,6 +1,6 @@
1
1
  // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
2
2
 
3
- exports[`renders the GovGRLogo with no props 1`] = `
3
+ exports[`renders the GovGRLogoBase with no props 1`] = `
4
4
  <body>
5
5
  <div>
6
6
  <a
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { render } from '@testing-library/react';
3
+
4
+ import GovGRLogoBase from '@digigov/react-core/GovGRLogoBase';
5
+
6
+ it('renders the GovGRLogoBase with no props', () => {
7
+ expect(render(<GovGRLogoBase />).baseElement).toMatchSnapshot();
8
+ });
@@ -0,0 +1,43 @@
1
+ import React from 'react';
2
+ import clsx from 'clsx';
3
+ import logo from '@digigov/react-core/GovGRLogoBase/govgr-logo-base64';
4
+ import logoInverted from '@digigov/react-core/GovGRLogoBase/govgr-logo-blue-base64';
5
+ import { LinkBase, LinkBaseProps } from '@digigov/react-core/LinkBase';
6
+ export interface GovGRLogoBaseProps extends LinkBaseProps {}
7
+ /**
8
+ * Use this component anywhere you what to provide the gov.gr logo.
9
+ * */
10
+ export const GovGRLogoBase = React.forwardRef<
11
+ HTMLAnchorElement,
12
+ GovGRLogoBaseProps
13
+ >(function GovGRLogoBase(
14
+ { href = 'https://www.gov.gr/', className, ...props },
15
+ ref
16
+ ) {
17
+ return (
18
+ <LinkBase
19
+ href={href}
20
+ ref={ref}
21
+ defaultStyle={false}
22
+ className={clsx(className, { 'ds-header__link': true })}
23
+ {...props}
24
+ >
25
+ <img
26
+ src={logo}
27
+ className={clsx(className, {
28
+ 'ds-header__logo': true,
29
+ })}
30
+ alt="gov.gr logo"
31
+ />
32
+ <img
33
+ src={logoInverted}
34
+ className={clsx(className, {
35
+ 'ds-header__logo-inverted': true,
36
+ })}
37
+ alt="gov.gr logo"
38
+ />
39
+ </LinkBase>
40
+ );
41
+ });
42
+
43
+ export default GovGRLogoBase;
@@ -4,7 +4,7 @@ exports[`renders the Grid with \`container\` props 1`] = `
4
4
  <body>
5
5
  <div>
6
6
  <div
7
- class="ds-grid"
7
+ class="ds-grid ds-grid-item"
8
8
  >
9
9
  hello
10
10
  </div>
@@ -16,7 +16,7 @@ exports[`renders the Grid with \`inline\` props 1`] = `
16
16
  <body>
17
17
  <div>
18
18
  <div
19
- class=""
19
+ class="ds-grid-item"
20
20
  >
21
21
  hello
22
22
  </div>
@@ -28,7 +28,7 @@ exports[`renders the Grid with \`lg\` props 1`] = `
28
28
  <body>
29
29
  <div>
30
30
  <div
31
- class="lg:ds-grid__col-span-6"
31
+ class="ds-grid-item lg:ds-grid__col-span-6"
32
32
  >
33
33
  hello
34
34
  </div>
@@ -40,7 +40,7 @@ exports[`renders the Grid with \`md\` props 1`] = `
40
40
  <body>
41
41
  <div>
42
42
  <div
43
- class="md:ds-grid__col-span-6"
43
+ class="ds-grid-item md:ds-grid__col-span-6"
44
44
  >
45
45
  hello
46
46
  </div>
@@ -52,7 +52,7 @@ exports[`renders the Grid with \`sm\` props 1`] = `
52
52
  <body>
53
53
  <div>
54
54
  <div
55
- class="sm:ds-grid__col-span-6"
55
+ class="ds-grid-item sm:ds-grid__col-span-6"
56
56
  >
57
57
  hello
58
58
  </div>
@@ -64,7 +64,7 @@ exports[`renders the Grid with \`spacing\` props 1`] = `
64
64
  <body>
65
65
  <div>
66
66
  <div
67
- class=""
67
+ class="ds-grid-item"
68
68
  >
69
69
  hello
70
70
  </div>
@@ -76,7 +76,7 @@ exports[`renders the Grid with \`xl\` props 1`] = `
76
76
  <body>
77
77
  <div>
78
78
  <div
79
- class="xl:ds-grid__col-span-6"
79
+ class="ds-grid-item xl:ds-grid__col-span-6"
80
80
  >
81
81
  hello
82
82
  </div>
@@ -88,7 +88,7 @@ exports[`renders the Grid with no props 1`] = `
88
88
  <body>
89
89
  <div>
90
90
  <div
91
- class=""
91
+ class="ds-grid-item"
92
92
  >
93
93
  hello
94
94
  </div>
@@ -32,13 +32,7 @@ export interface GridProps extends BaseProps<'div' | 'aside' | 'main'> {
32
32
  inline?: boolean;
33
33
  /**
34
34
  * Defines the space between the type item components. It can only be used on a type container component.
35
- * @value 1
36
- * @value 2
37
- * @value 4
38
- * @value 6
39
- * @value 8
40
- * @value 10
41
- * @value 12
35
+ * @value 1 - 12
42
36
  * @value object
43
37
  * @default undefined
44
38
  */
@@ -1,6 +1,6 @@
1
1
  // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
2
2
 
3
- exports[`renders the HeaderLogo with no props 1`] = `
3
+ exports[`renders the HeaderLogoBase with no props 1`] = `
4
4
  <body>
5
5
  <div>
6
6
  <a
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { render } from '@testing-library/react';
3
+
4
+ import HeaderLogoBase from '@digigov/react-core/HeaderLogoBase';
5
+
6
+ it('renders the HeaderLogoBase with no props', () => {
7
+ expect(render(<HeaderLogoBase />).baseElement).toMatchSnapshot();
8
+ });
@@ -0,0 +1,44 @@
1
+ import React from 'react';
2
+ import clsx from 'clsx';
3
+ import { LinkBase, LinkBaseProps } from '@digigov/react-core/LinkBase';
4
+
5
+ export interface HeaderLogoBaseProps extends LinkBaseProps {
6
+ /**
7
+ * src is optional.
8
+
9
+ */
10
+ src?: string;
11
+ /**
12
+ * href is optional.
13
+
14
+ */
15
+ altText?: string;
16
+ }
17
+ /**
18
+ * Use this component inside the Header to provide a logo.
19
+ */
20
+ export const HeaderLogoBase = React.forwardRef<
21
+ HTMLAnchorElement,
22
+ HeaderLogoBaseProps
23
+ >(function HeaderLogoBase({ href, src, altText, className, ...props }, ref) {
24
+ return (
25
+ <LinkBase
26
+ href={href}
27
+ ref={ref}
28
+ defaultStyle={false}
29
+ className={clsx(className, {
30
+ 'ds-header__link': true,
31
+ })}
32
+ {...props}
33
+ >
34
+ <img
35
+ src={src}
36
+ className={clsx(className, {
37
+ 'ds-header__logo': true,
38
+ })}
39
+ alt={altText}
40
+ />
41
+ </LinkBase>
42
+ );
43
+ });
44
+ export default HeaderLogoBase;
@@ -1,6 +1,6 @@
1
1
  // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
2
2
 
3
- exports[`renders the HeaderSecondaryLogo with src and alt 1`] = `
3
+ exports[`renders the HeaderSecondaryLogoBase with src and alt 1`] = `
4
4
  <body>
5
5
  <div>
6
6
  <a
@@ -16,7 +16,7 @@ exports[`renders the HeaderSecondaryLogo with src and alt 1`] = `
16
16
  </body>
17
17
  `;
18
18
 
19
- exports[`renders the HeaderSecondaryLogo with src, href and alt 1`] = `
19
+ exports[`renders the HeaderSecondaryLogoBase with src, href and alt 1`] = `
20
20
  <body>
21
21
  <div>
22
22
  <a
@@ -1,26 +1,26 @@
1
1
  import React from 'react';
2
2
  import { render } from '@testing-library/react';
3
3
 
4
- import HeaderSecondaryLogo from '@digigov/react-core/HeaderSecondaryLogo';
4
+ import HeaderSecondaryLogoBase from '@digigov/react-core/HeaderSecondaryLogoBase';
5
5
 
6
- it('renders the HeaderSecondaryLogo with src and alt', () => {
6
+ it('renders the HeaderSecondaryLogoBase with src and alt', () => {
7
7
  expect(
8
8
  render(
9
- <HeaderSecondaryLogo
9
+ <HeaderSecondaryLogoBase
10
10
  src="https://dilosi.services.gov.gr/minedu-logo.svg"
11
11
  altText="minedu logo"
12
- ></HeaderSecondaryLogo>
12
+ ></HeaderSecondaryLogoBase>
13
13
  ).baseElement
14
14
  ).toMatchSnapshot();
15
15
  });
16
- it('renders the HeaderSecondaryLogo with src, href and alt', () => {
16
+ it('renders the HeaderSecondaryLogoBase with src, href and alt', () => {
17
17
  expect(
18
18
  render(
19
- <HeaderSecondaryLogo
19
+ <HeaderSecondaryLogoBase
20
20
  src="https://dilosi.services.gov.gr/minedu-logo.svg"
21
21
  href="https://www.minedu.gov.gr/"
22
22
  altText="minedu logo"
23
- ></HeaderSecondaryLogo>
23
+ ></HeaderSecondaryLogoBase>
24
24
  ).baseElement
25
25
  ).toMatchSnapshot();
26
26
  });
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import clsx from 'clsx';
3
- import Base, { BaseProps } from '@digigov/react-core/Base';
3
+ import { LinkBase, LinkBaseProps } from '@digigov/react-core/LinkBase';
4
4
 
5
- export interface HeaderSecondaryLogoProps extends BaseProps<'a'> {
5
+ export interface HeaderSecondaryLogoBaseProps extends LinkBaseProps {
6
6
  /**
7
7
  * src is needed to provide the url that we get the logo from.
8
8
 
@@ -17,18 +17,18 @@ export interface HeaderSecondaryLogoProps extends BaseProps<'a'> {
17
17
  /**
18
18
  * HeaderSecondaryLogo is used inside Header for providing additional logos.
19
19
  */
20
- export const HeaderSecondaryLogo = React.forwardRef<
20
+ export const HeaderSecondaryLogoBase = React.forwardRef<
21
21
  HTMLAnchorElement,
22
- HeaderSecondaryLogoProps
23
- >(function HeaderSecondaryLogo(
22
+ HeaderSecondaryLogoBaseProps
23
+ >(function HeaderSecondaryLogoBase(
24
24
  { href, src, altText, className, ...props },
25
25
  ref
26
26
  ) {
27
27
  return (
28
- <Base
29
- as="a"
28
+ <LinkBase
30
29
  href={href}
31
30
  ref={ref}
31
+ defaultStyle={false}
32
32
  className={clsx(className, {
33
33
  'ds-header__link': true,
34
34
  })}
@@ -41,8 +41,8 @@ export const HeaderSecondaryLogo = React.forwardRef<
41
41
  })}
42
42
  alt={altText}
43
43
  />
44
- </Base>
44
+ </LinkBase>
45
45
  );
46
46
  });
47
47
 
48
- export default HeaderSecondaryLogo;
48
+ export default HeaderSecondaryLogoBase;