@digigov/react-core 2.0.0-b3ec0588 → 2.0.0-cbc56209

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 (304) hide show
  1. package/Accordion/index.d.ts +1 -1
  2. package/AccordionControls/index.d.ts +1 -1
  3. package/AccordionSection/index.d.ts +1 -1
  4. package/AccordionSectionContent/index.d.ts +1 -1
  5. package/AccordionSectionSummary/index.d.ts +1 -1
  6. package/AccordionSectionSummaryHeading/index.d.ts +1 -1
  7. package/AdminAside/index.d.ts +1 -1
  8. package/AdminContainer/index.d.ts +1 -1
  9. package/AdminHeader/index.d.ts +1 -1
  10. package/AdminHeaderContent/index.d.ts +1 -1
  11. package/AdminLayout/index.d.ts +1 -1
  12. package/AdminMain/index.d.ts +1 -1
  13. package/AdminTopSection/index.d.ts +1 -1
  14. package/Aside/index.d.ts +1 -1
  15. package/AutoCompleteAssistiveHint/index.d.ts +1 -1
  16. package/AutoCompleteInput/index.d.ts +1 -1
  17. package/AutoCompleteInputTypeahead/index.d.ts +1 -1
  18. package/AutoCompleteResultList/index.d.ts +1 -1
  19. package/AutoCompleteResultListItem/index.d.ts +1 -1
  20. package/AutoCompleteStatus/index.d.ts +1 -1
  21. package/AutoCompleteStatusWrapper/index.d.ts +1 -1
  22. package/AutoCompleteWrapper/index.d.ts +1 -1
  23. package/BackLink/index.d.ts +1 -1
  24. package/BackToTopContainer/index.d.ts +1 -1
  25. package/BackToTopLimit/index.d.ts +1 -1
  26. package/BackToTopLink/index.d.ts +1 -1
  27. package/BannerContainer/index.d.ts +1 -1
  28. package/Base/index.d.ts +39 -10
  29. package/Base/index.js +16 -2
  30. package/Blockquote/index.d.ts +1 -1
  31. package/Bottom/index.d.ts +1 -1
  32. package/BottomInfo/index.d.ts +1 -1
  33. package/BottomInfoContainer/index.d.ts +1 -1
  34. package/BottomInfoContent/index.d.ts +1 -1
  35. package/Breadcrumbs/index.d.ts +1 -1
  36. package/BreadcrumbsList/index.d.ts +1 -1
  37. package/BreadcrumbsListItem/index.d.ts +1 -1
  38. package/Button/index.d.ts +1 -1
  39. package/ButtonGroup/index.d.ts +1 -1
  40. package/ButtonLink/index.d.ts +1 -1
  41. package/CallToAction/index.d.ts +1 -1
  42. package/Card/__snapshots__/index.test.tsx.snap +42 -0
  43. package/Card/index.d.ts +8 -1
  44. package/Card/index.js +3 -2
  45. package/Card/index.test/index.js +21 -9
  46. package/CardAction/index.d.ts +1 -1
  47. package/CardContent/index.d.ts +1 -1
  48. package/CardHeading/index.d.ts +1 -1
  49. package/Checkbox/index.d.ts +1 -1
  50. package/CheckboxConditional/index.d.ts +1 -1
  51. package/CheckboxItem/index.d.ts +1 -1
  52. package/Chip/index.d.ts +1 -1
  53. package/ChipContainer/index.d.ts +1 -1
  54. package/ChipHeading/index.d.ts +1 -1
  55. package/ChipKeyValue/index.d.ts +1 -1
  56. package/ChoiceDividerText/index.d.ts +1 -1
  57. package/CircularProgress/index.d.ts +1 -1
  58. package/CloseButton/index.d.ts +1 -1
  59. package/Code/index.d.ts +1 -1
  60. package/CodeBlock/index.d.ts +1 -1
  61. package/Container/index.d.ts +1 -1
  62. package/CopyToClipboardContainer/index.d.ts +1 -1
  63. package/CopyToClipboardMessage/index.d.ts +1 -1
  64. package/CopyrightContainer/index.d.ts +1 -1
  65. package/DateInputContainer/index.d.ts +1 -1
  66. package/DateInputItem/index.d.ts +1 -1
  67. package/Details/index.d.ts +1 -1
  68. package/DetailsContent/index.d.ts +1 -1
  69. package/DetailsSummary/index.d.ts +1 -1
  70. package/Drawer/index.d.ts +1 -1
  71. package/DrawerHeading/index.d.ts +1 -1
  72. package/DropdownBase/index.d.ts +1 -1
  73. package/DropdownButton/index.d.ts +1 -1
  74. package/DropdownContent/index.d.ts +1 -1
  75. package/ErrorMessage/index.d.ts +1 -1
  76. package/ErrorSummary/index.d.ts +1 -1
  77. package/FieldContainer/index.d.ts +1 -1
  78. package/Fieldset/index.d.ts +1 -1
  79. package/FieldsetLegend/index.d.ts +1 -1
  80. package/FileUpload/index.d.ts +1 -1
  81. package/FileUploadContainer/index.d.ts +1 -1
  82. package/FillableText/index.d.ts +1 -1
  83. package/FilterContainer/index.d.ts +1 -1
  84. package/FilterContent/index.d.ts +1 -1
  85. package/FilterHeadingContainer/index.d.ts +1 -1
  86. package/FilterOptionsSection/index.d.ts +1 -1
  87. package/FilterSelectedHeading/index.d.ts +1 -1
  88. package/FilterSelectedSection/index.d.ts +1 -1
  89. package/Footer/index.d.ts +1 -1
  90. package/FooterContainer/index.d.ts +1 -1
  91. package/FooterContent/index.d.ts +1 -1
  92. package/FooterContentLogos/__snapshots__/index.test.tsx.snap +2 -2
  93. package/FooterContentLogos/index.d.ts +1 -1
  94. package/FooterContentLogos/index.js +1 -1
  95. package/FooterHeading/index.d.ts +1 -1
  96. package/FooterImage/index.d.ts +1 -1
  97. package/FooterInfo/index.d.ts +1 -1
  98. package/FooterInfoSection/index.d.ts +1 -1
  99. package/FooterLink/index.d.ts +1 -1
  100. package/FooterList/index.d.ts +1 -1
  101. package/FooterListItem/index.d.ts +1 -1
  102. package/FooterNavigation/index.d.ts +1 -1
  103. package/FooterNavigationSection/index.d.ts +1 -1
  104. package/Form/index.d.ts +1 -1
  105. package/FullPageBackground/index.d.ts +1 -1
  106. package/GovGRLogo/index.d.ts +1 -1
  107. package/Grid/index.d.ts +1 -1
  108. package/Header/index.d.ts +1 -1
  109. package/HeaderContent/index.d.ts +1 -1
  110. package/HeaderLogo/index.d.ts +1 -1
  111. package/HeaderNavMenuContent/index.d.ts +1 -1
  112. package/HeaderSecondaryLogo/index.d.ts +1 -1
  113. package/HeaderSection/index.d.ts +1 -1
  114. package/HeaderTitle/index.d.ts +1 -1
  115. package/Heading/index.d.ts +1 -1
  116. package/HeadingCaption/index.d.ts +1 -1
  117. package/HellenicRepublicLogo/index.d.ts +1 -1
  118. package/Hidden/__snapshots__/index.test.tsx.snap +5 -5
  119. package/Hidden/index.d.ts +1 -1
  120. package/Hint/index.d.ts +1 -1
  121. package/Hint/index.js +1 -1
  122. package/ImageLogo/__snapshots__/index.test.tsx.snap +2 -2
  123. package/ImageLogo/index.d.ts +1 -1
  124. package/ImageLogo/index.js +1 -1
  125. package/ImageLogoSet/__snapshots__/index.test.tsx.snap +10 -10
  126. package/ImageLogoSet/index.d.ts +1 -1
  127. package/KitchenSinkAllComponents/index.d.ts +1 -1
  128. package/KitchenSinkCard/index.d.ts +1 -1
  129. package/KitchenSinkCategory/index.d.ts +1 -1
  130. package/KitchenSinkContent/index.d.ts +1 -1
  131. package/KitchenSinkContentInfo/index.d.ts +1 -1
  132. package/KitchenSinkContentTags/index.d.ts +1 -1
  133. package/KitchenSinkHeading/index.d.ts +1 -1
  134. package/KitchenSinkLetterContent/index.d.ts +1 -1
  135. package/LabelContainer/index.d.ts +1 -1
  136. package/LabelTitle/index.d.ts +1 -1
  137. package/LabeledText/index.d.ts +1 -1
  138. package/Layout/index.d.ts +1 -1
  139. package/LinkBase/index.d.ts +1 -1
  140. package/List/index.d.ts +1 -1
  141. package/ListItem/index.d.ts +1 -1
  142. package/LoaderContainer/index.d.ts +1 -1
  143. package/Main/index.d.ts +1 -1
  144. package/Masthead/index.d.ts +1 -1
  145. package/MastheadBody/index.d.ts +1 -1
  146. package/MastheadLogo/index.d.ts +1 -1
  147. package/ModalAction/index.d.ts +1 -1
  148. package/ModalContainer/index.d.ts +1 -1
  149. package/ModalContent/index.d.ts +1 -1
  150. package/ModalHeading/index.d.ts +1 -1
  151. package/Nav/index.d.ts +1 -1
  152. package/NavList/index.d.ts +1 -1
  153. package/NavListItemAction/index.d.ts +1 -1
  154. package/NavListItemActionContainer/index.d.ts +1 -1
  155. package/NavListItemButton/index.d.ts +1 -1
  156. package/NavListItemLink/index.d.ts +1 -1
  157. package/NavMenuContainer/index.d.ts +1 -1
  158. package/NavMenuContent/index.d.ts +1 -1
  159. package/NavMenuContentListBase/index.d.ts +1 -1
  160. package/NavMenuContentListItem/index.d.ts +1 -1
  161. package/NavMenuTitle/index.d.ts +1 -1
  162. package/NormalText/__snapshots__/index.test.tsx.snap +60 -60
  163. package/NormalText/index.d.ts +1 -1
  164. package/NormalText/index.js +1 -1
  165. package/NotificationBannerContainer/index.d.ts +1 -1
  166. package/NotificationBannerContent/index.d.ts +1 -1
  167. package/NotificationBannerHeader/index.d.ts +1 -1
  168. package/NotificationBannerHeading/index.d.ts +1 -1
  169. package/NotificationBannerLink/index.d.ts +1 -1
  170. package/PageTitleCaption/index.d.ts +1 -1
  171. package/PageTitleContainer/index.d.ts +1 -1
  172. package/PageTitleHeading/index.d.ts +1 -1
  173. package/Pagination/index.d.ts +1 -1
  174. package/PaginationLabelContainer/index.d.ts +1 -1
  175. package/PaginationList/index.d.ts +1 -1
  176. package/PaginationListItem/index.d.ts +1 -1
  177. package/Panel/index.d.ts +1 -1
  178. package/PanelBody/index.d.ts +1 -1
  179. package/PanelTitle/index.d.ts +1 -1
  180. package/Paragraph/__snapshots__/index.test.tsx.snap +54 -54
  181. package/Paragraph/index.d.ts +1 -1
  182. package/PhaseBanner/index.d.ts +1 -1
  183. package/PhaseBannerHeaderContainer/__snapshots__/inde.test.tsx.snap +2 -2
  184. package/PhaseBannerHeaderContainer/index.d.ts +1 -1
  185. package/PhaseBannerHeaderContainer/index.js +1 -1
  186. package/PhaseBannerTag/index.d.ts +1 -1
  187. package/PhaseBannerText/index.d.ts +1 -1
  188. package/RadioConditional/index.d.ts +1 -1
  189. package/RadioContainer/index.d.ts +1 -1
  190. package/RadioItem/index.d.ts +1 -1
  191. package/ResultsActionBar/index.d.ts +1 -1
  192. package/ResultsHeading/index.d.ts +1 -1
  193. package/ResultsHeadingActions/index.d.ts +1 -1
  194. package/SearchButton/index.d.ts +1 -1
  195. package/SearchContainer/index.d.ts +1 -1
  196. package/Section/index.d.ts +1 -1
  197. package/SectionBreak/index.d.ts +1 -1
  198. package/SelectContainer/index.d.ts +1 -1
  199. package/SelectOption/index.d.ts +1 -1
  200. package/SingleCharacterInput/index.d.ts +1 -1
  201. package/SingleCharacterInputs/index.d.ts +1 -1
  202. package/SkipLink/index.d.ts +1 -1
  203. package/Stack/index.d.ts +1 -1
  204. package/StepNav/index.d.ts +1 -1
  205. package/StepNavAccordion/index.d.ts +1 -1
  206. package/StepNavAccordionContent/index.d.ts +1 -1
  207. package/StepNavAccordionHeadingText/index.d.ts +1 -1
  208. package/StepNavAccordionHeadingTitle/index.d.ts +1 -1
  209. package/StepNavAccordionSummary/index.d.ts +1 -1
  210. package/StepNavAccordionSummaryHeading/index.d.ts +1 -1
  211. package/StepNavCircleNumber/index.d.ts +1 -1
  212. package/StepNavControls/index.d.ts +1 -1
  213. package/StepNavList/index.d.ts +1 -1
  214. package/StepNavListItem/index.d.ts +1 -1
  215. package/SummaryList/index.d.ts +1 -1
  216. package/SummaryListItem/index.d.ts +1 -1
  217. package/SummaryListItemAction/index.d.ts +1 -1
  218. package/SummaryListItemKey/index.d.ts +1 -1
  219. package/SummaryListItemValue/index.d.ts +1 -1
  220. package/SvgIcon/__snapshots__/index.test.tsx.snap +43 -20
  221. package/SvgIcon/index.d.ts +6 -5
  222. package/SvgIcon/index.test/index.js +25 -19
  223. package/Table/index.d.ts +1 -1
  224. package/TableBody/index.d.ts +1 -1
  225. package/TableCaption/index.d.ts +1 -1
  226. package/TableContainer/index.d.ts +1 -1
  227. package/TableDataCell/index.d.ts +1 -1
  228. package/TableHead/index.d.ts +1 -1
  229. package/TableHeadCell/index.d.ts +1 -1
  230. package/TableLoaderBackground/index.d.ts +1 -1
  231. package/TableNoDataRow/index.d.ts +1 -1
  232. package/TableRow/index.d.ts +1 -1
  233. package/TableSortIconContainer/index.d.ts +1 -1
  234. package/Tabs/index.d.ts +1 -1
  235. package/TabsHeading/__snapshots__/index.test.tsx.snap +3 -3
  236. package/TabsHeading/index.d.ts +1 -1
  237. package/TabsList/index.d.ts +1 -1
  238. package/TabsListItemBase/index.d.ts +1 -1
  239. package/TabsPanelBase/index.d.ts +1 -1
  240. package/TaskList/index.d.ts +1 -1
  241. package/TaskListItem/index.d.ts +1 -1
  242. package/TaskListItemContent/index.d.ts +1 -1
  243. package/TaskListItemHeading/index.d.ts +1 -1
  244. package/TaskListItemTag/index.d.ts +1 -1
  245. package/TextArea/index.d.ts +1 -1
  246. package/TextInput/index.d.ts +1 -1
  247. package/Timeline/index.d.ts +1 -1
  248. package/TimelineActions/index.d.ts +1 -1
  249. package/TimelineContent/index.d.ts +1 -1
  250. package/TimelineHeading/index.d.ts +1 -1
  251. package/TimelineItem/index.d.ts +1 -1
  252. package/Top/index.d.ts +1 -1
  253. package/Typography/index.d.ts +1 -1
  254. package/Unpurge/index.js +1 -1
  255. package/VisuallyHidden/index.d.ts +1 -1
  256. package/WarningText/index.d.ts +1 -1
  257. package/cjs/Base/index.js +16 -2
  258. package/cjs/Card/__snapshots__/index.test.tsx.snap +42 -0
  259. package/cjs/Card/index.js +3 -2
  260. package/cjs/Card/index.test/index.js +21 -9
  261. package/cjs/FooterContentLogos/__snapshots__/index.test.tsx.snap +2 -2
  262. package/cjs/FooterContentLogos/index.js +1 -1
  263. package/cjs/Hidden/__snapshots__/index.test.tsx.snap +5 -5
  264. package/cjs/Hint/index.js +1 -1
  265. package/cjs/ImageLogo/__snapshots__/index.test.tsx.snap +2 -2
  266. package/cjs/ImageLogo/index.js +1 -1
  267. package/cjs/ImageLogoSet/__snapshots__/index.test.tsx.snap +10 -10
  268. package/cjs/NormalText/__snapshots__/index.test.tsx.snap +60 -60
  269. package/cjs/NormalText/index.js +1 -1
  270. package/cjs/Paragraph/__snapshots__/index.test.tsx.snap +54 -54
  271. package/cjs/PhaseBannerHeaderContainer/__snapshots__/inde.test.tsx.snap +2 -2
  272. package/cjs/PhaseBannerHeaderContainer/index.js +1 -1
  273. package/cjs/SvgIcon/__snapshots__/index.test.tsx.snap +43 -20
  274. package/cjs/SvgIcon/index.test/index.js +25 -19
  275. package/cjs/TabsHeading/__snapshots__/index.test.tsx.snap +3 -3
  276. package/cjs/Unpurge/index.js +1 -1
  277. package/cjs/lazy/index.js +2137 -0
  278. package/index.js +1 -1
  279. package/lazy/index.js +1655 -0
  280. package/lazy/package.json +6 -0
  281. package/lazy.d.ts +239 -0
  282. package/package.json +3 -3
  283. package/src/Base/index.tsx +154 -64
  284. package/src/Card/__snapshots__/index.test.tsx.snap +42 -0
  285. package/src/Card/index.test.tsx +6 -0
  286. package/src/Card/index.tsx +9 -1
  287. package/src/FooterContentLogos/__snapshots__/index.test.tsx.snap +2 -2
  288. package/src/FooterContentLogos/index.tsx +1 -1
  289. package/src/Hidden/__snapshots__/index.test.tsx.snap +5 -5
  290. package/src/Hint/index.tsx +2 -2
  291. package/src/ImageLogo/__snapshots__/index.test.tsx.snap +2 -2
  292. package/src/ImageLogo/index.tsx +1 -1
  293. package/src/ImageLogoSet/__snapshots__/index.test.tsx.snap +10 -10
  294. package/src/NormalText/__snapshots__/index.test.tsx.snap +60 -60
  295. package/src/NormalText/index.tsx +2 -2
  296. package/src/Paragraph/__snapshots__/index.test.tsx.snap +54 -54
  297. package/src/PhaseBannerHeaderContainer/__snapshots__/inde.test.tsx.snap +2 -2
  298. package/src/PhaseBannerHeaderContainer/index.tsx +1 -1
  299. package/src/SvgIcon/__snapshots__/index.test.tsx.snap +43 -20
  300. package/src/SvgIcon/index.test.tsx +5 -2
  301. package/src/SvgIcon/index.tsx +6 -4
  302. package/src/TabsHeading/__snapshots__/index.test.tsx.snap +3 -3
  303. package/src/Unpurge/index.tsx +138 -2
  304. package/src/lazy.js +240 -0
@@ -342,14 +342,14 @@ exports[`renders the Paragraph with size=lead 1`] = `
342
342
  >
343
343
  <ForwardRef(Typography)
344
344
  as="p"
345
- className="ds-body-lg ds-body"
345
+ className="ds-body--lg ds-body"
346
346
  >
347
347
  <ForwardRef(Base)
348
348
  as="p"
349
- className="ds-body-lg ds-body"
349
+ className="ds-body--lg ds-body"
350
350
  >
351
351
  <p
352
- className="ds-body-lg ds-body"
352
+ className="ds-body--lg ds-body"
353
353
  >
354
354
  hello
355
355
  </p>
@@ -371,15 +371,15 @@ exports[`renders the Paragraph with size=lead and fontSize=14 1`] = `
371
371
  >
372
372
  <ForwardRef(Typography)
373
373
  as="p"
374
- className="ds-body-lg ds-body"
374
+ className="ds-body--lg ds-body"
375
375
  fontSize={14}
376
376
  >
377
377
  <ForwardRef(Base)
378
378
  as="p"
379
- className="ds-body-lg ds-body ds-!-font-size-14"
379
+ className="ds-body--lg ds-body ds-!-font-size-14"
380
380
  >
381
381
  <p
382
- className="ds-body-lg ds-body ds-!-font-size-14"
382
+ className="ds-body--lg ds-body ds-!-font-size-14"
383
383
  >
384
384
  hello
385
385
  </p>
@@ -401,15 +401,15 @@ exports[`renders the Paragraph with size=lead and fontSize=16 1`] = `
401
401
  >
402
402
  <ForwardRef(Typography)
403
403
  as="p"
404
- className="ds-body-lg ds-body"
404
+ className="ds-body--lg ds-body"
405
405
  fontSize={16}
406
406
  >
407
407
  <ForwardRef(Base)
408
408
  as="p"
409
- className="ds-body-lg ds-body ds-!-font-size-16"
409
+ className="ds-body--lg ds-body ds-!-font-size-16"
410
410
  >
411
411
  <p
412
- className="ds-body-lg ds-body ds-!-font-size-16"
412
+ className="ds-body--lg ds-body ds-!-font-size-16"
413
413
  >
414
414
  hello
415
415
  </p>
@@ -431,15 +431,15 @@ exports[`renders the Paragraph with size=lead and fontSize=19 1`] = `
431
431
  >
432
432
  <ForwardRef(Typography)
433
433
  as="p"
434
- className="ds-body-lg ds-body"
434
+ className="ds-body--lg ds-body"
435
435
  fontSize={19}
436
436
  >
437
437
  <ForwardRef(Base)
438
438
  as="p"
439
- className="ds-body-lg ds-body ds-!-font-size-19"
439
+ className="ds-body--lg ds-body ds-!-font-size-19"
440
440
  >
441
441
  <p
442
- className="ds-body-lg ds-body ds-!-font-size-19"
442
+ className="ds-body--lg ds-body ds-!-font-size-19"
443
443
  >
444
444
  hello
445
445
  </p>
@@ -461,15 +461,15 @@ exports[`renders the Paragraph with size=lead and fontSize=24 1`] = `
461
461
  >
462
462
  <ForwardRef(Typography)
463
463
  as="p"
464
- className="ds-body-lg ds-body"
464
+ className="ds-body--lg ds-body"
465
465
  fontSize={14}
466
466
  >
467
467
  <ForwardRef(Base)
468
468
  as="p"
469
- className="ds-body-lg ds-body ds-!-font-size-14"
469
+ className="ds-body--lg ds-body ds-!-font-size-14"
470
470
  >
471
471
  <p
472
- className="ds-body-lg ds-body ds-!-font-size-14"
472
+ className="ds-body--lg ds-body ds-!-font-size-14"
473
473
  >
474
474
  hello
475
475
  </p>
@@ -491,15 +491,15 @@ exports[`renders the Paragraph with size=lead and fontSize=30 1`] = `
491
491
  >
492
492
  <ForwardRef(Typography)
493
493
  as="p"
494
- className="ds-body-lg ds-body"
494
+ className="ds-body--lg ds-body"
495
495
  fontSize={30}
496
496
  >
497
497
  <ForwardRef(Base)
498
498
  as="p"
499
- className="ds-body-lg ds-body ds-!-font-size-30"
499
+ className="ds-body--lg ds-body ds-!-font-size-30"
500
500
  >
501
501
  <p
502
- className="ds-body-lg ds-body ds-!-font-size-30"
502
+ className="ds-body--lg ds-body ds-!-font-size-30"
503
503
  >
504
504
  hello
505
505
  </p>
@@ -521,15 +521,15 @@ exports[`renders the Paragraph with size=lead and fontSize=36 1`] = `
521
521
  >
522
522
  <ForwardRef(Typography)
523
523
  as="p"
524
- className="ds-body-lg ds-body"
524
+ className="ds-body--lg ds-body"
525
525
  fontSize={36}
526
526
  >
527
527
  <ForwardRef(Base)
528
528
  as="p"
529
- className="ds-body-lg ds-body ds-!-font-size-36"
529
+ className="ds-body--lg ds-body ds-!-font-size-36"
530
530
  >
531
531
  <p
532
- className="ds-body-lg ds-body ds-!-font-size-36"
532
+ className="ds-body--lg ds-body ds-!-font-size-36"
533
533
  >
534
534
  hello
535
535
  </p>
@@ -551,15 +551,15 @@ exports[`renders the Paragraph with size=lead and fontSize=48 1`] = `
551
551
  >
552
552
  <ForwardRef(Typography)
553
553
  as="p"
554
- className="ds-body-lg ds-body"
554
+ className="ds-body--lg ds-body"
555
555
  fontSize={48}
556
556
  >
557
557
  <ForwardRef(Base)
558
558
  as="p"
559
- className="ds-body-lg ds-body ds-!-font-size-48"
559
+ className="ds-body--lg ds-body ds-!-font-size-48"
560
560
  >
561
561
  <p
562
- className="ds-body-lg ds-body ds-!-font-size-48"
562
+ className="ds-body--lg ds-body ds-!-font-size-48"
563
563
  >
564
564
  hello
565
565
  </p>
@@ -581,15 +581,15 @@ exports[`renders the Paragraph with size=lead and fontSize=72 1`] = `
581
581
  >
582
582
  <ForwardRef(Typography)
583
583
  as="p"
584
- className="ds-body-lg ds-body"
584
+ className="ds-body--lg ds-body"
585
585
  fontSize={72}
586
586
  >
587
587
  <ForwardRef(Base)
588
588
  as="p"
589
- className="ds-body-lg ds-body ds-!-font-size-72"
589
+ className="ds-body--lg ds-body ds-!-font-size-72"
590
590
  >
591
591
  <p
592
- className="ds-body-lg ds-body ds-!-font-size-72"
592
+ className="ds-body--lg ds-body ds-!-font-size-72"
593
593
  >
594
594
  hello
595
595
  </p>
@@ -942,14 +942,14 @@ exports[`renders the Paragraph with size=small 1`] = `
942
942
  >
943
943
  <ForwardRef(Typography)
944
944
  as="p"
945
- className="ds-body-sm ds-body"
945
+ className="ds-body--sm ds-body"
946
946
  >
947
947
  <ForwardRef(Base)
948
948
  as="p"
949
- className="ds-body-sm ds-body"
949
+ className="ds-body--sm ds-body"
950
950
  >
951
951
  <p
952
- className="ds-body-sm ds-body"
952
+ className="ds-body--sm ds-body"
953
953
  >
954
954
  hello
955
955
  </p>
@@ -971,15 +971,15 @@ exports[`renders the Paragraph with size=small and fontSize=14 1`] = `
971
971
  >
972
972
  <ForwardRef(Typography)
973
973
  as="p"
974
- className="ds-body-sm ds-body"
974
+ className="ds-body--sm ds-body"
975
975
  fontSize={14}
976
976
  >
977
977
  <ForwardRef(Base)
978
978
  as="p"
979
- className="ds-body-sm ds-body ds-!-font-size-14"
979
+ className="ds-body--sm ds-body ds-!-font-size-14"
980
980
  >
981
981
  <p
982
- className="ds-body-sm ds-body ds-!-font-size-14"
982
+ className="ds-body--sm ds-body ds-!-font-size-14"
983
983
  >
984
984
  hello
985
985
  </p>
@@ -1001,15 +1001,15 @@ exports[`renders the Paragraph with size=small and fontSize=16 1`] = `
1001
1001
  >
1002
1002
  <ForwardRef(Typography)
1003
1003
  as="p"
1004
- className="ds-body-sm ds-body"
1004
+ className="ds-body--sm ds-body"
1005
1005
  fontSize={16}
1006
1006
  >
1007
1007
  <ForwardRef(Base)
1008
1008
  as="p"
1009
- className="ds-body-sm ds-body ds-!-font-size-16"
1009
+ className="ds-body--sm ds-body ds-!-font-size-16"
1010
1010
  >
1011
1011
  <p
1012
- className="ds-body-sm ds-body ds-!-font-size-16"
1012
+ className="ds-body--sm ds-body ds-!-font-size-16"
1013
1013
  >
1014
1014
  hello
1015
1015
  </p>
@@ -1031,15 +1031,15 @@ exports[`renders the Paragraph with size=small and fontSize=19 1`] = `
1031
1031
  >
1032
1032
  <ForwardRef(Typography)
1033
1033
  as="p"
1034
- className="ds-body-sm ds-body"
1034
+ className="ds-body--sm ds-body"
1035
1035
  fontSize={19}
1036
1036
  >
1037
1037
  <ForwardRef(Base)
1038
1038
  as="p"
1039
- className="ds-body-sm ds-body ds-!-font-size-19"
1039
+ className="ds-body--sm ds-body ds-!-font-size-19"
1040
1040
  >
1041
1041
  <p
1042
- className="ds-body-sm ds-body ds-!-font-size-19"
1042
+ className="ds-body--sm ds-body ds-!-font-size-19"
1043
1043
  >
1044
1044
  hello
1045
1045
  </p>
@@ -1061,15 +1061,15 @@ exports[`renders the Paragraph with size=small and fontSize=24 1`] = `
1061
1061
  >
1062
1062
  <ForwardRef(Typography)
1063
1063
  as="p"
1064
- className="ds-body-sm ds-body"
1064
+ className="ds-body--sm ds-body"
1065
1065
  fontSize={14}
1066
1066
  >
1067
1067
  <ForwardRef(Base)
1068
1068
  as="p"
1069
- className="ds-body-sm ds-body ds-!-font-size-14"
1069
+ className="ds-body--sm ds-body ds-!-font-size-14"
1070
1070
  >
1071
1071
  <p
1072
- className="ds-body-sm ds-body ds-!-font-size-14"
1072
+ className="ds-body--sm ds-body ds-!-font-size-14"
1073
1073
  >
1074
1074
  hello
1075
1075
  </p>
@@ -1091,15 +1091,15 @@ exports[`renders the Paragraph with size=small and fontSize=30 1`] = `
1091
1091
  >
1092
1092
  <ForwardRef(Typography)
1093
1093
  as="p"
1094
- className="ds-body-sm ds-body"
1094
+ className="ds-body--sm ds-body"
1095
1095
  fontSize={30}
1096
1096
  >
1097
1097
  <ForwardRef(Base)
1098
1098
  as="p"
1099
- className="ds-body-sm ds-body ds-!-font-size-30"
1099
+ className="ds-body--sm ds-body ds-!-font-size-30"
1100
1100
  >
1101
1101
  <p
1102
- className="ds-body-sm ds-body ds-!-font-size-30"
1102
+ className="ds-body--sm ds-body ds-!-font-size-30"
1103
1103
  >
1104
1104
  hello
1105
1105
  </p>
@@ -1121,15 +1121,15 @@ exports[`renders the Paragraph with size=small and fontSize=36 1`] = `
1121
1121
  >
1122
1122
  <ForwardRef(Typography)
1123
1123
  as="p"
1124
- className="ds-body-sm ds-body"
1124
+ className="ds-body--sm ds-body"
1125
1125
  fontSize={36}
1126
1126
  >
1127
1127
  <ForwardRef(Base)
1128
1128
  as="p"
1129
- className="ds-body-sm ds-body ds-!-font-size-36"
1129
+ className="ds-body--sm ds-body ds-!-font-size-36"
1130
1130
  >
1131
1131
  <p
1132
- className="ds-body-sm ds-body ds-!-font-size-36"
1132
+ className="ds-body--sm ds-body ds-!-font-size-36"
1133
1133
  >
1134
1134
  hello
1135
1135
  </p>
@@ -1151,15 +1151,15 @@ exports[`renders the Paragraph with size=small and fontSize=48 1`] = `
1151
1151
  >
1152
1152
  <ForwardRef(Typography)
1153
1153
  as="p"
1154
- className="ds-body-sm ds-body"
1154
+ className="ds-body--sm ds-body"
1155
1155
  fontSize={48}
1156
1156
  >
1157
1157
  <ForwardRef(Base)
1158
1158
  as="p"
1159
- className="ds-body-sm ds-body ds-!-font-size-48"
1159
+ className="ds-body--sm ds-body ds-!-font-size-48"
1160
1160
  >
1161
1161
  <p
1162
- className="ds-body-sm ds-body ds-!-font-size-48"
1162
+ className="ds-body--sm ds-body ds-!-font-size-48"
1163
1163
  >
1164
1164
  hello
1165
1165
  </p>
@@ -1181,15 +1181,15 @@ exports[`renders the Paragraph with size=small and fontSize=72 1`] = `
1181
1181
  >
1182
1182
  <ForwardRef(Typography)
1183
1183
  as="p"
1184
- className="ds-body-sm ds-body"
1184
+ className="ds-body--sm ds-body"
1185
1185
  fontSize={72}
1186
1186
  >
1187
1187
  <ForwardRef(Base)
1188
1188
  as="p"
1189
- className="ds-body-sm ds-body ds-!-font-size-72"
1189
+ className="ds-body--sm ds-body ds-!-font-size-72"
1190
1190
  >
1191
1191
  <p
1192
- className="ds-body-sm ds-body ds-!-font-size-72"
1192
+ className="ds-body--sm ds-body ds-!-font-size-72"
1193
1193
  >
1194
1194
  hello
1195
1195
  </p>
@@ -4,10 +4,10 @@ exports[`renders the PhaseBannerHeaderContainer with no props 1`] = `
4
4
  <ForwardRef(PhaseBannerHeaderContainer)>
5
5
  <ForwardRef(Base)
6
6
  as="div"
7
- className="ds-phase-banner__header"
7
+ className="ds-phase-banner-header"
8
8
  >
9
9
  <div
10
- className="ds-phase-banner__header"
10
+ className="ds-phase-banner-header"
11
11
  >
12
12
  hello
13
13
  </div>
@@ -14,7 +14,7 @@ export const PhaseBannerHeaderContainer = React.forwardRef<
14
14
  ref={ref}
15
15
  {...props}
16
16
  className={clsx({
17
- 'ds-phase-banner__header': true,
17
+ 'ds-phase-banner-header': true,
18
18
  })}
19
19
  >
20
20
  {children}
@@ -19,6 +19,29 @@ exports[`renders the SvgIcon with no props 1`] = `
19
19
  </ForwardRef(SvgIcon)>
20
20
  `;
21
21
 
22
+ exports[`renders the SvgIcon with prop color=base-content 1`] = `
23
+ <ForwardRef(SvgIcon)
24
+ color="base-content"
25
+ >
26
+ <ForwardRef(Base)
27
+ aria-hidden="true"
28
+ as="svg"
29
+ className="ds-svg-icon--base-content ds-svg-icon"
30
+ focusable="false"
31
+ viewBox="0 0 24 24"
32
+ >
33
+ <svg
34
+ aria-hidden="true"
35
+ className="ds-svg-icon--base-content ds-svg-icon"
36
+ focusable="false"
37
+ viewBox="0 0 24 24"
38
+ >
39
+ hello
40
+ </svg>
41
+ </ForwardRef(Base)>
42
+ </ForwardRef(SvgIcon)>
43
+ `;
44
+
22
45
  exports[`renders the SvgIcon with prop color=dark 1`] = `
23
46
  <ForwardRef(SvgIcon)
24
47
  color="dark"
@@ -135,20 +158,20 @@ exports[`renders the SvgIcon with prop color=gray 1`] = `
135
158
  </ForwardRef(SvgIcon)>
136
159
  `;
137
160
 
138
- exports[`renders the SvgIcon with prop color=light 1`] = `
161
+ exports[`renders the SvgIcon with prop color=primary 1`] = `
139
162
  <ForwardRef(SvgIcon)
140
- color="light"
163
+ color="primary"
141
164
  >
142
165
  <ForwardRef(Base)
143
166
  aria-hidden="true"
144
167
  as="svg"
145
- className="ds-svg-icon--light ds-svg-icon"
168
+ className="ds-svg-icon--primary ds-svg-icon"
146
169
  focusable="false"
147
170
  viewBox="0 0 24 24"
148
171
  >
149
172
  <svg
150
173
  aria-hidden="true"
151
- className="ds-svg-icon--light ds-svg-icon"
174
+ className="ds-svg-icon--primary ds-svg-icon"
152
175
  focusable="false"
153
176
  viewBox="0 0 24 24"
154
177
  >
@@ -158,20 +181,20 @@ exports[`renders the SvgIcon with prop color=light 1`] = `
158
181
  </ForwardRef(SvgIcon)>
159
182
  `;
160
183
 
161
- exports[`renders the SvgIcon with prop color=primary 1`] = `
184
+ exports[`renders the SvgIcon with prop color=success 1`] = `
162
185
  <ForwardRef(SvgIcon)
163
- color="primary"
186
+ color="success"
164
187
  >
165
188
  <ForwardRef(Base)
166
189
  aria-hidden="true"
167
190
  as="svg"
168
- className="ds-svg-icon--primary ds-svg-icon"
191
+ className="ds-svg-icon--success ds-svg-icon"
169
192
  focusable="false"
170
193
  viewBox="0 0 24 24"
171
194
  >
172
195
  <svg
173
196
  aria-hidden="true"
174
- className="ds-svg-icon--primary ds-svg-icon"
197
+ className="ds-svg-icon--success ds-svg-icon"
175
198
  focusable="false"
176
199
  viewBox="0 0 24 24"
177
200
  >
@@ -181,20 +204,20 @@ exports[`renders the SvgIcon with prop color=primary 1`] = `
181
204
  </ForwardRef(SvgIcon)>
182
205
  `;
183
206
 
184
- exports[`renders the SvgIcon with prop color=success 1`] = `
207
+ exports[`renders the SvgIcon with prop color=warning 1`] = `
185
208
  <ForwardRef(SvgIcon)
186
- color="success"
209
+ color="warning"
187
210
  >
188
211
  <ForwardRef(Base)
189
212
  aria-hidden="true"
190
213
  as="svg"
191
- className="ds-svg-icon--success ds-svg-icon"
214
+ className="ds-svg-icon--warning ds-svg-icon"
192
215
  focusable="false"
193
216
  viewBox="0 0 24 24"
194
217
  >
195
218
  <svg
196
219
  aria-hidden="true"
197
- className="ds-svg-icon--success ds-svg-icon"
220
+ className="ds-svg-icon--warning ds-svg-icon"
198
221
  focusable="false"
199
222
  viewBox="0 0 24 24"
200
223
  >
@@ -204,20 +227,21 @@ exports[`renders the SvgIcon with prop color=success 1`] = `
204
227
  </ForwardRef(SvgIcon)>
205
228
  `;
206
229
 
207
- exports[`renders the SvgIcon with prop color=warning 1`] = `
230
+ exports[`renders the SvgIcon with prop color=warning and size=sm 1`] = `
208
231
  <ForwardRef(SvgIcon)
209
232
  color="warning"
233
+ size="sm"
210
234
  >
211
235
  <ForwardRef(Base)
212
236
  aria-hidden="true"
213
237
  as="svg"
214
- className="ds-svg-icon--warning ds-svg-icon"
238
+ className="ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
215
239
  focusable="false"
216
240
  viewBox="0 0 24 24"
217
241
  >
218
242
  <svg
219
243
  aria-hidden="true"
220
- className="ds-svg-icon--warning ds-svg-icon"
244
+ className="ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
221
245
  focusable="false"
222
246
  viewBox="0 0 24 24"
223
247
  >
@@ -227,21 +251,20 @@ exports[`renders the SvgIcon with prop color=warning 1`] = `
227
251
  </ForwardRef(SvgIcon)>
228
252
  `;
229
253
 
230
- exports[`renders the SvgIcon with prop color=warning and size=sm 1`] = `
254
+ exports[`renders the SvgIcon with prop color=white 1`] = `
231
255
  <ForwardRef(SvgIcon)
232
- color="warning"
233
- size="sm"
256
+ color="white"
234
257
  >
235
258
  <ForwardRef(Base)
236
259
  aria-hidden="true"
237
260
  as="svg"
238
- className="ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
261
+ className="ds-svg-icon--white ds-svg-icon"
239
262
  focusable="false"
240
263
  viewBox="0 0 24 24"
241
264
  >
242
265
  <svg
243
266
  aria-hidden="true"
244
- className="ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
267
+ className="ds-svg-icon--white ds-svg-icon"
245
268
  focusable="false"
246
269
  viewBox="0 0 24 24"
247
270
  >
@@ -21,11 +21,14 @@ it('renders the SvgIcon with prop size=lg', () => {
21
21
  it('renders the SvgIcon with prop size=xl', () => {
22
22
  expect(mount(<SvgIcon size="xl">hello</SvgIcon>)).toMatchSnapshot();
23
23
  });
24
+ it('renders the SvgIcon with prop color=base-content', () => {
25
+ expect(mount(<SvgIcon color="base-content">hello</SvgIcon>)).toMatchSnapshot();
26
+ });
24
27
  it('renders the SvgIcon with prop color=dark', () => {
25
28
  expect(mount(<SvgIcon color="dark">hello</SvgIcon>)).toMatchSnapshot();
26
29
  });
27
- it('renders the SvgIcon with prop color=light', () => {
28
- expect(mount(<SvgIcon color="light">hello</SvgIcon>)).toMatchSnapshot();
30
+ it('renders the SvgIcon with prop color=white', () => {
31
+ expect(mount(<SvgIcon color="white">hello</SvgIcon>)).toMatchSnapshot();
29
32
  });
30
33
  it('renders the SvgIcon with prop color=gray', () => {
31
34
  expect(mount(<SvgIcon color="gray">hello</SvgIcon>)).toMatchSnapshot();
@@ -18,20 +18,22 @@ export interface SvgIconProps extends BaseProps<'svg'> {
18
18
  /**
19
19
  * color property styles svg icon with Gov.gr palette's basic colors.
20
20
  * color property is optional.
21
- * @value 'dark'
22
- * @value 'light'
21
+ * @value 'base-content'
22
+ * @value 'dark', always dark, among all themes
23
+ * @value 'white', always white, among all themes
23
24
  * @value 'gray'
24
25
  * @value 'primary'
25
26
  * @value 'success'
26
27
  * @value 'warning'
27
28
  * @value 'error'
28
- * @value 'focus'
29
+ * @value 'focus', use only in focus state, in dark background
29
30
  * @value 'info'
30
31
  * @value 'link'
31
32
  */
32
33
  color?:
34
+ | 'base-content'
33
35
  | 'dark'
34
- | 'light'
36
+ | 'white'
35
37
  | 'gray'
36
38
  | 'primary'
37
39
  | 'success'
@@ -11,7 +11,7 @@ exports[`renders the TabsHeading with no props 1`] = `
11
11
  xsUpHidden={false}
12
12
  >
13
13
  <div
14
- className="ds-hidden-md--up"
14
+ className="ds-hidden-md-up"
15
15
  >
16
16
  <ForwardRef(Heading)
17
17
  size="sm"
@@ -51,7 +51,7 @@ exports[`renders the TabsHeading with size=m 1`] = `
51
51
  xsUpHidden={false}
52
52
  >
53
53
  <div
54
- className="ds-hidden-md--up"
54
+ className="ds-hidden-md-up"
55
55
  >
56
56
  <ForwardRef(Heading)
57
57
  size="md"
@@ -91,7 +91,7 @@ exports[`renders the TabsHeading with size=s 1`] = `
91
91
  xsUpHidden={false}
92
92
  >
93
93
  <div
94
- className="ds-hidden-md--up"
94
+ className="ds-hidden-md-up"
95
95
  >
96
96
  <ForwardRef(Heading)
97
97
  size="sm"