@digigov/react-core 1.3.0-dcbd7ded → 2.0.0-4be8f7cc

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 (418) 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/__snapshots__/index.test.tsx.snap +7 -3
  8. package/AdminAside/index.d.ts +1 -1
  9. package/AdminAside/index.js +6 -2
  10. package/AdminContainer/__snapshots__/index.test.tsx.snap +35 -7
  11. package/AdminContainer/index.d.ts +8 -1
  12. package/AdminContainer/index.js +6 -7
  13. package/AdminContainer/index.test/index.js +6 -0
  14. package/AdminHeader/index.d.ts +1 -1
  15. package/AdminHeaderContent/index.d.ts +1 -1
  16. package/AdminLayout/index.d.ts +1 -1
  17. package/AdminMain/__snapshots__/index.test.tsx.snap +6 -3
  18. package/AdminMain/index.d.ts +1 -1
  19. package/AdminMain/index.js +7 -2
  20. package/AdminTopSection/index.d.ts +1 -1
  21. package/Aside/__snapshots__/index.test.tsx.snap +3 -3
  22. package/Aside/index.d.ts +1 -1
  23. package/AutoCompleteAssistiveHint/index.d.ts +1 -1
  24. package/{src/AutoCompleteWrapper → AutoCompleteContainer}/__snapshots__/index.test.tsx.snap +4 -4
  25. package/AutoCompleteContainer/index.d.ts +22 -0
  26. package/{AutoCompleteWrapper → AutoCompleteContainer}/index.js +5 -5
  27. package/AutoCompleteContainer/index.test/index.js +7 -0
  28. package/{AutoCompleteStatusWrapper → AutoCompleteContainer}/index.test/package.json +1 -1
  29. package/{AutoCompleteStatusWrapper → AutoCompleteContainer}/package.json +1 -1
  30. package/AutoCompleteInput/__snapshots__/index.test.tsx.snap +14 -50
  31. package/AutoCompleteInput/index.d.ts +1 -9
  32. package/AutoCompleteInput/index.js +2 -4
  33. package/AutoCompleteInput/index.test/index.js +5 -19
  34. package/AutoCompleteInputTypeahead/index.d.ts +1 -1
  35. package/AutoCompleteMultipleInput/index.d.ts +9 -0
  36. package/AutoCompleteMultipleInput/index.js +21 -0
  37. package/{AutoCompleteWrapper/index.test → AutoCompleteMultipleInput}/package.json +1 -1
  38. package/AutoCompleteMultipleInputContainer/index.d.ts +12 -0
  39. package/AutoCompleteMultipleInputContainer/index.js +24 -0
  40. package/AutoCompleteMultipleInputContainer/package.json +6 -0
  41. package/AutoCompleteResultList/__snapshots__/index.test.tsx.snap +2 -38
  42. package/AutoCompleteResultList/index.d.ts +1 -10
  43. package/AutoCompleteResultList/index.js +2 -3
  44. package/AutoCompleteResultList/index.test/index.js +0 -14
  45. package/AutoCompleteResultListItem/index.d.ts +1 -1
  46. package/AutoCompleteStatus/__snapshots__/index.test.tsx.snap +2 -2
  47. package/AutoCompleteStatus/index.d.ts +2 -2
  48. package/AutoCompleteStatus/index.js +2 -2
  49. package/{AutoCompleteStatusWrapper → AutoCompleteStatusContainer}/__snapshots__/index.test.tsx.snap +4 -4
  50. package/AutoCompleteStatusContainer/index.d.ts +10 -0
  51. package/{AutoCompleteStatusWrapper → AutoCompleteStatusContainer}/index.js +5 -5
  52. package/AutoCompleteStatusContainer/index.test/index.js +7 -0
  53. package/AutoCompleteStatusContainer/index.test/package.json +6 -0
  54. package/AutoCompleteStatusContainer/package.json +6 -0
  55. package/BackLink/index.d.ts +1 -1
  56. package/BackToTopContainer/index.d.ts +1 -1
  57. package/BackToTopLimit/index.d.ts +1 -1
  58. package/BackToTopLink/index.d.ts +1 -1
  59. package/BannerContainer/index.d.ts +1 -1
  60. package/Base/index.d.ts +39 -10
  61. package/Base/index.js +16 -2
  62. package/Blockquote/index.d.ts +1 -1
  63. package/Bottom/index.d.ts +1 -1
  64. package/BottomInfo/index.d.ts +1 -1
  65. package/BottomInfoContainer/index.d.ts +1 -1
  66. package/BottomInfoContent/index.d.ts +1 -1
  67. package/Breadcrumbs/index.d.ts +1 -1
  68. package/BreadcrumbsList/index.d.ts +1 -1
  69. package/BreadcrumbsListItem/index.d.ts +1 -1
  70. package/Button/index.d.ts +1 -1
  71. package/ButtonGroup/index.d.ts +1 -1
  72. package/ButtonLink/index.d.ts +1 -1
  73. package/CallToAction/__snapshots__/index.test.tsx.snap +6 -6
  74. package/CallToAction/index.d.ts +1 -1
  75. package/Card/__snapshots__/index.test.tsx.snap +42 -0
  76. package/Card/index.d.ts +8 -1
  77. package/Card/index.js +3 -2
  78. package/Card/index.test/index.js +21 -9
  79. package/CardAction/index.d.ts +1 -1
  80. package/CardContent/index.d.ts +1 -1
  81. package/CardHeading/index.d.ts +1 -1
  82. package/Checkbox/index.d.ts +1 -1
  83. package/CheckboxConditional/index.d.ts +1 -1
  84. package/CheckboxItem/index.d.ts +1 -1
  85. package/Chip/index.d.ts +1 -1
  86. package/ChipContainer/index.d.ts +1 -1
  87. package/ChipHeading/index.d.ts +1 -1
  88. package/ChipKeyValue/index.d.ts +1 -1
  89. package/ChoiceDividerText/index.d.ts +1 -1
  90. package/CircularProgress/index.d.ts +1 -1
  91. package/CloseButton/index.d.ts +1 -1
  92. package/Code/index.d.ts +1 -1
  93. package/CodeBlock/index.d.ts +1 -1
  94. package/Container/index.d.ts +1 -1
  95. package/CopyToClipboardContainer/index.d.ts +1 -1
  96. package/CopyToClipboardMessage/index.d.ts +1 -1
  97. package/CopyrightContainer/index.d.ts +1 -1
  98. package/DateInputContainer/index.d.ts +1 -1
  99. package/DateInputItem/index.d.ts +1 -1
  100. package/Details/index.d.ts +1 -1
  101. package/DetailsContent/index.d.ts +1 -1
  102. package/DetailsSummary/index.d.ts +1 -1
  103. package/Drawer/index.d.ts +1 -1
  104. package/DrawerHeading/index.d.ts +1 -1
  105. package/DropdownBase/index.d.ts +1 -1
  106. package/DropdownButton/__snapshots__/index.test.tsx.snap +36 -36
  107. package/DropdownButton/index.d.ts +1 -1
  108. package/DropdownContent/index.d.ts +9 -1
  109. package/DropdownContent/index.js +6 -5
  110. package/ErrorMessage/index.d.ts +1 -1
  111. package/ErrorSummary/index.d.ts +1 -1
  112. package/FieldContainer/index.d.ts +1 -1
  113. package/Fieldset/index.d.ts +1 -1
  114. package/FieldsetLegend/index.d.ts +1 -1
  115. package/FileUpload/index.d.ts +1 -1
  116. package/FileUploadContainer/index.d.ts +1 -1
  117. package/FillableText/index.d.ts +1 -1
  118. package/FilterContainer/index.d.ts +1 -1
  119. package/FilterContent/index.d.ts +1 -1
  120. package/FilterHeadingContainer/index.d.ts +1 -1
  121. package/FilterOptionsSection/index.d.ts +1 -1
  122. package/FilterSelectedHeading/index.d.ts +1 -1
  123. package/FilterSelectedSection/index.d.ts +1 -1
  124. package/Footer/index.d.ts +1 -1
  125. package/FooterContainer/index.d.ts +1 -1
  126. package/FooterContent/index.d.ts +1 -1
  127. package/FooterContentLogos/__snapshots__/index.test.tsx.snap +2 -2
  128. package/FooterContentLogos/index.d.ts +1 -1
  129. package/FooterContentLogos/index.js +1 -1
  130. package/FooterHeading/index.d.ts +1 -1
  131. package/FooterImage/index.d.ts +1 -1
  132. package/FooterInfo/index.d.ts +1 -1
  133. package/FooterInfoSection/index.d.ts +1 -1
  134. package/FooterLink/index.d.ts +1 -1
  135. package/FooterList/index.d.ts +1 -1
  136. package/FooterListItem/index.d.ts +1 -1
  137. package/FooterNavigation/index.d.ts +1 -1
  138. package/FooterNavigationSection/index.d.ts +1 -1
  139. package/Form/index.d.ts +1 -1
  140. package/FullPageBackground/index.d.ts +1 -1
  141. package/GovGRLogo/index.d.ts +1 -1
  142. package/Grid/index.d.ts +1 -1
  143. package/Header/index.d.ts +1 -1
  144. package/HeaderContent/index.d.ts +1 -1
  145. package/HeaderLogo/index.d.ts +1 -1
  146. package/HeaderNavMenuContent/index.d.ts +1 -1
  147. package/HeaderSecondaryLogo/index.d.ts +1 -1
  148. package/HeaderSection/index.d.ts +1 -1
  149. package/HeaderTitle/index.d.ts +1 -1
  150. package/Heading/index.d.ts +1 -1
  151. package/HeadingCaption/index.d.ts +1 -1
  152. package/HellenicRepublicLogo/index.d.ts +1 -1
  153. package/Hidden/__snapshots__/index.test.tsx.snap +14 -10
  154. package/Hidden/index.d.ts +1 -1
  155. package/Hint/index.d.ts +1 -1
  156. package/Hint/index.js +1 -1
  157. package/ImageLogo/__snapshots__/index.test.tsx.snap +2 -2
  158. package/ImageLogo/index.d.ts +1 -1
  159. package/ImageLogo/index.js +1 -2
  160. package/ImageLogoSet/__snapshots__/index.test.tsx.snap +10 -10
  161. package/ImageLogoSet/index.d.ts +1 -1
  162. package/KitchenSinkAllComponents/index.d.ts +1 -1
  163. package/KitchenSinkCard/index.d.ts +1 -1
  164. package/KitchenSinkCategory/index.d.ts +1 -1
  165. package/KitchenSinkContent/index.d.ts +1 -1
  166. package/KitchenSinkContentInfo/index.d.ts +1 -1
  167. package/KitchenSinkContentTags/index.d.ts +1 -1
  168. package/KitchenSinkHeading/index.d.ts +1 -1
  169. package/KitchenSinkLetterContent/index.d.ts +1 -1
  170. package/LabelContainer/index.d.ts +1 -1
  171. package/LabelTitle/index.d.ts +1 -1
  172. package/LabeledText/index.d.ts +1 -1
  173. package/Layout/index.d.ts +1 -1
  174. package/LinkBase/index.d.ts +1 -1
  175. package/List/index.d.ts +1 -1
  176. package/ListItem/index.d.ts +1 -1
  177. package/LoaderContainer/index.d.ts +1 -1
  178. package/Main/index.d.ts +1 -1
  179. package/Masthead/index.d.ts +1 -1
  180. package/MastheadBody/index.d.ts +1 -1
  181. package/MastheadLogo/index.d.ts +1 -1
  182. package/ModalAction/index.d.ts +1 -1
  183. package/ModalContainer/index.d.ts +1 -1
  184. package/ModalContent/index.d.ts +1 -1
  185. package/ModalHeading/index.d.ts +1 -1
  186. package/Nav/index.d.ts +1 -1
  187. package/NavList/index.d.ts +1 -1
  188. package/NavListItemAction/index.d.ts +1 -1
  189. package/NavListItemActionContainer/index.d.ts +1 -1
  190. package/NavListItemButton/__snapshots__/index.test.tsx.snap +18 -18
  191. package/NavListItemButton/index.d.ts +1 -1
  192. package/NavListItemLink/index.d.ts +1 -1
  193. package/NavMenuContainer/index.d.ts +1 -1
  194. package/NavMenuContent/index.d.ts +1 -1
  195. package/NavMenuContentListBase/index.d.ts +1 -1
  196. package/NavMenuContentListItem/index.d.ts +1 -1
  197. package/NavMenuTitle/index.d.ts +1 -1
  198. package/NormalText/__snapshots__/index.test.tsx.snap +60 -60
  199. package/NormalText/index.d.ts +1 -1
  200. package/NormalText/index.js +1 -1
  201. package/NotificationBannerContainer/index.d.ts +1 -1
  202. package/NotificationBannerContent/index.d.ts +1 -1
  203. package/NotificationBannerHeader/index.d.ts +1 -1
  204. package/NotificationBannerHeading/index.d.ts +1 -1
  205. package/NotificationBannerLink/index.d.ts +1 -1
  206. package/PageTitleCaption/index.d.ts +1 -1
  207. package/PageTitleContainer/index.d.ts +1 -1
  208. package/PageTitleHeading/index.d.ts +1 -1
  209. package/Pagination/index.d.ts +1 -1
  210. package/PaginationLabelContainer/index.d.ts +1 -1
  211. package/PaginationList/index.d.ts +1 -1
  212. package/PaginationListItem/index.d.ts +1 -1
  213. package/Panel/index.d.ts +1 -1
  214. package/PanelBody/index.d.ts +1 -1
  215. package/PanelTitle/index.d.ts +1 -1
  216. package/Paragraph/__snapshots__/index.test.tsx.snap +54 -54
  217. package/Paragraph/index.d.ts +1 -1
  218. package/PhaseBanner/index.d.ts +1 -1
  219. package/PhaseBannerHeaderContainer/__snapshots__/inde.test.tsx.snap +2 -2
  220. package/PhaseBannerHeaderContainer/index.d.ts +1 -1
  221. package/PhaseBannerHeaderContainer/index.js +1 -1
  222. package/PhaseBannerTag/index.d.ts +1 -1
  223. package/PhaseBannerText/index.d.ts +1 -1
  224. package/RadioConditional/index.d.ts +1 -1
  225. package/RadioContainer/index.d.ts +1 -1
  226. package/RadioItem/index.d.ts +1 -1
  227. package/ResultsActionBar/index.d.ts +1 -1
  228. package/ResultsHeading/index.d.ts +1 -1
  229. package/ResultsHeadingActions/index.d.ts +1 -1
  230. package/SearchButton/index.d.ts +1 -1
  231. package/SearchContainer/index.d.ts +1 -1
  232. package/Section/index.d.ts +1 -1
  233. package/SectionBreak/index.d.ts +1 -1
  234. package/SelectContainer/index.d.ts +1 -1
  235. package/SelectOption/index.d.ts +1 -1
  236. package/SingleCharacterInput/index.d.ts +1 -1
  237. package/SingleCharacterInputs/index.d.ts +1 -1
  238. package/Skeleton/index.d.ts +35 -0
  239. package/Skeleton/index.js +34 -0
  240. package/{AutoCompleteWrapper → Skeleton}/package.json +1 -1
  241. package/SkipLink/index.d.ts +1 -1
  242. package/Stack/index.d.ts +1 -1
  243. package/StepNav/index.d.ts +1 -1
  244. package/StepNavAccordion/index.d.ts +1 -1
  245. package/StepNavAccordionContent/index.d.ts +1 -1
  246. package/StepNavAccordionHeadingText/index.d.ts +1 -1
  247. package/StepNavAccordionHeadingTitle/index.d.ts +1 -1
  248. package/StepNavAccordionSummary/index.d.ts +1 -1
  249. package/StepNavAccordionSummaryHeading/index.d.ts +1 -1
  250. package/StepNavCircleNumber/index.d.ts +1 -1
  251. package/StepNavControls/index.d.ts +1 -1
  252. package/StepNavList/index.d.ts +1 -1
  253. package/StepNavListItem/index.d.ts +1 -1
  254. package/SummaryList/index.d.ts +1 -1
  255. package/SummaryListItem/index.d.ts +1 -1
  256. package/SummaryListItemAction/index.d.ts +1 -1
  257. package/SummaryListItemKey/index.d.ts +1 -1
  258. package/SummaryListItemValue/index.d.ts +1 -1
  259. package/SvgIcon/__snapshots__/index.test.tsx.snap +84 -61
  260. package/SvgIcon/index.d.ts +10 -8
  261. package/SvgIcon/index.js +4 -4
  262. package/SvgIcon/index.test/index.js +28 -22
  263. package/Table/index.d.ts +1 -1
  264. package/TableBody/index.d.ts +1 -1
  265. package/TableCaption/index.d.ts +1 -1
  266. package/TableContainer/index.d.ts +1 -1
  267. package/TableDataCell/index.d.ts +1 -1
  268. package/TableHead/index.d.ts +1 -1
  269. package/TableHeadCell/index.d.ts +1 -1
  270. package/TableLoaderBackground/index.d.ts +1 -1
  271. package/TableNoDataRow/index.d.ts +1 -1
  272. package/TableRow/index.d.ts +1 -1
  273. package/TableSortIconContainer/index.d.ts +1 -1
  274. package/Tabs/index.d.ts +1 -1
  275. package/TabsHeading/__snapshots__/index.test.tsx.snap +9 -6
  276. package/TabsHeading/index.d.ts +1 -1
  277. package/TabsList/index.d.ts +1 -1
  278. package/TabsListItemBase/index.d.ts +1 -1
  279. package/TabsPanelBase/index.d.ts +1 -1
  280. package/TaskList/index.d.ts +1 -1
  281. package/TaskListItem/index.d.ts +1 -1
  282. package/TaskListItemContent/index.d.ts +1 -1
  283. package/TaskListItemHeading/index.d.ts +1 -1
  284. package/TaskListItemTag/index.d.ts +1 -1
  285. package/TextArea/index.d.ts +1 -1
  286. package/TextInput/index.d.ts +1 -1
  287. package/Timeline/index.d.ts +1 -1
  288. package/TimelineActions/index.d.ts +1 -1
  289. package/TimelineContent/index.d.ts +1 -1
  290. package/TimelineHeading/index.d.ts +1 -1
  291. package/TimelineItem/index.d.ts +1 -1
  292. package/Top/index.d.ts +1 -1
  293. package/Typography/index.d.ts +1 -1
  294. package/Unpurge/index.js +1 -1
  295. package/VisuallyHidden/index.d.ts +1 -1
  296. package/WarningText/index.d.ts +1 -1
  297. package/cjs/AdminAside/__snapshots__/index.test.tsx.snap +7 -3
  298. package/cjs/AdminAside/index.js +6 -2
  299. package/cjs/AdminContainer/__snapshots__/index.test.tsx.snap +35 -7
  300. package/cjs/AdminContainer/index.js +6 -7
  301. package/cjs/AdminContainer/index.test/index.js +6 -0
  302. package/cjs/AdminMain/__snapshots__/index.test.tsx.snap +6 -3
  303. package/cjs/AdminMain/index.js +7 -2
  304. package/cjs/Aside/__snapshots__/index.test.tsx.snap +3 -3
  305. package/{AutoCompleteWrapper → cjs/AutoCompleteContainer}/__snapshots__/index.test.tsx.snap +4 -4
  306. package/cjs/{AutoCompleteWrapper → AutoCompleteContainer}/index.js +6 -6
  307. package/cjs/{AutoCompleteWrapper → AutoCompleteContainer}/index.test/index.js +2 -2
  308. package/cjs/AutoCompleteInput/__snapshots__/index.test.tsx.snap +14 -50
  309. package/cjs/AutoCompleteInput/index.js +2 -4
  310. package/cjs/AutoCompleteInput/index.test/index.js +5 -19
  311. package/cjs/AutoCompleteMultipleInput/index.js +28 -0
  312. package/cjs/AutoCompleteMultipleInputContainer/index.js +31 -0
  313. package/cjs/AutoCompleteResultList/__snapshots__/index.test.tsx.snap +2 -38
  314. package/cjs/AutoCompleteResultList/index.js +2 -3
  315. package/cjs/AutoCompleteResultList/index.test/index.js +0 -14
  316. package/cjs/AutoCompleteStatus/__snapshots__/index.test.tsx.snap +2 -2
  317. package/cjs/AutoCompleteStatus/index.js +2 -2
  318. package/cjs/{AutoCompleteStatusWrapper → AutoCompleteStatusContainer}/__snapshots__/index.test.tsx.snap +4 -4
  319. package/cjs/{AutoCompleteStatusWrapper → AutoCompleteStatusContainer}/index.js +6 -6
  320. package/cjs/{AutoCompleteStatusWrapper → AutoCompleteStatusContainer}/index.test/index.js +2 -2
  321. package/cjs/Base/index.js +16 -2
  322. package/cjs/CallToAction/__snapshots__/index.test.tsx.snap +6 -6
  323. package/cjs/Card/__snapshots__/index.test.tsx.snap +42 -0
  324. package/cjs/Card/index.js +3 -2
  325. package/cjs/Card/index.test/index.js +21 -9
  326. package/cjs/DropdownButton/__snapshots__/index.test.tsx.snap +36 -36
  327. package/cjs/DropdownContent/index.js +6 -5
  328. package/cjs/FooterContentLogos/__snapshots__/index.test.tsx.snap +2 -2
  329. package/cjs/FooterContentLogos/index.js +1 -1
  330. package/cjs/Hidden/__snapshots__/index.test.tsx.snap +14 -10
  331. package/cjs/Hint/index.js +1 -1
  332. package/cjs/ImageLogo/__snapshots__/index.test.tsx.snap +2 -2
  333. package/cjs/ImageLogo/index.js +1 -2
  334. package/cjs/ImageLogoSet/__snapshots__/index.test.tsx.snap +10 -10
  335. package/cjs/NavListItemButton/__snapshots__/index.test.tsx.snap +18 -18
  336. package/cjs/NormalText/__snapshots__/index.test.tsx.snap +60 -60
  337. package/cjs/NormalText/index.js +1 -1
  338. package/cjs/Paragraph/__snapshots__/index.test.tsx.snap +54 -54
  339. package/cjs/PhaseBannerHeaderContainer/__snapshots__/inde.test.tsx.snap +2 -2
  340. package/cjs/PhaseBannerHeaderContainer/index.js +1 -1
  341. package/cjs/Skeleton/index.js +41 -0
  342. package/cjs/SvgIcon/__snapshots__/index.test.tsx.snap +84 -61
  343. package/cjs/SvgIcon/index.js +4 -4
  344. package/cjs/SvgIcon/index.test/index.js +28 -22
  345. package/cjs/TabsHeading/__snapshots__/index.test.tsx.snap +9 -6
  346. package/cjs/Unpurge/index.js +1 -1
  347. package/cjs/index.js +26 -4
  348. package/cjs/lazy/index.js +39 -12
  349. package/cjs/registry/index.js +10 -4
  350. package/index.d.ts +3 -1
  351. package/index.js +4 -2
  352. package/lazy/index.js +31 -10
  353. package/lazy.d.ts +238 -235
  354. package/package.json +3 -3
  355. package/registry/index.js +10 -4
  356. package/registry.d.ts +5 -2
  357. package/src/AdminAside/__snapshots__/index.test.tsx.snap +7 -3
  358. package/src/AdminAside/index.tsx +6 -2
  359. package/src/AdminContainer/__snapshots__/index.test.tsx.snap +35 -7
  360. package/src/AdminContainer/index.test.tsx +3 -0
  361. package/src/AdminContainer/index.tsx +12 -11
  362. package/src/AdminMain/__snapshots__/index.test.tsx.snap +6 -3
  363. package/src/AdminMain/index.tsx +5 -2
  364. package/src/Aside/__snapshots__/index.test.tsx.snap +3 -3
  365. package/{cjs/AutoCompleteWrapper → src/AutoCompleteContainer}/__snapshots__/index.test.tsx.snap +4 -4
  366. package/src/{AutoCompleteWrapper → AutoCompleteContainer}/index.test.tsx +2 -2
  367. package/src/{AutoCompleteWrapper → AutoCompleteContainer}/index.tsx +8 -8
  368. package/src/AutoCompleteInput/__snapshots__/index.test.tsx.snap +14 -50
  369. package/src/AutoCompleteInput/index.test.tsx +4 -12
  370. package/src/AutoCompleteInput/index.tsx +2 -11
  371. package/src/AutoCompleteMultipleInput/index.tsx +28 -0
  372. package/src/AutoCompleteMultipleInputContainer/index.tsx +38 -0
  373. package/src/AutoCompleteResultList/__snapshots__/index.test.tsx.snap +2 -38
  374. package/src/AutoCompleteResultList/index.test.tsx +0 -20
  375. package/src/AutoCompleteResultList/index.tsx +1 -13
  376. package/src/AutoCompleteStatus/__snapshots__/index.test.tsx.snap +2 -2
  377. package/src/AutoCompleteStatus/index.tsx +2 -2
  378. package/src/AutoCompleteStatusContainer/__snapshots__/index.test.tsx.snap +16 -0
  379. package/src/AutoCompleteStatusContainer/index.test.tsx +10 -0
  380. package/src/AutoCompleteStatusContainer/index.tsx +28 -0
  381. package/src/Base/index.tsx +154 -64
  382. package/src/CallToAction/__snapshots__/index.test.tsx.snap +6 -6
  383. package/src/Card/__snapshots__/index.test.tsx.snap +42 -0
  384. package/src/Card/index.test.tsx +6 -0
  385. package/src/Card/index.tsx +9 -1
  386. package/src/DropdownButton/__snapshots__/index.test.tsx.snap +36 -36
  387. package/src/DropdownContent/index.tsx +10 -1
  388. package/src/FooterContentLogos/__snapshots__/index.test.tsx.snap +2 -2
  389. package/src/FooterContentLogos/index.tsx +1 -1
  390. package/src/Hidden/__snapshots__/index.test.tsx.snap +14 -10
  391. package/src/Hint/index.tsx +2 -2
  392. package/src/ImageLogo/__snapshots__/index.test.tsx.snap +2 -2
  393. package/src/ImageLogo/index.tsx +1 -2
  394. package/src/ImageLogoSet/__snapshots__/index.test.tsx.snap +10 -10
  395. package/src/NavListItemButton/__snapshots__/index.test.tsx.snap +18 -18
  396. package/src/NormalText/__snapshots__/index.test.tsx.snap +60 -60
  397. package/src/NormalText/index.tsx +2 -2
  398. package/src/Paragraph/__snapshots__/index.test.tsx.snap +54 -54
  399. package/src/PhaseBannerHeaderContainer/__snapshots__/inde.test.tsx.snap +2 -2
  400. package/src/PhaseBannerHeaderContainer/index.tsx +1 -1
  401. package/src/Skeleton/index.tsx +84 -0
  402. package/src/SvgIcon/__snapshots__/index.test.tsx.snap +84 -61
  403. package/src/SvgIcon/index.test.tsx +23 -20
  404. package/src/SvgIcon/index.tsx +23 -28
  405. package/src/TabsHeading/__snapshots__/index.test.tsx.snap +9 -6
  406. package/src/Unpurge/index.tsx +171 -12
  407. package/src/index.ts +3 -1
  408. package/src/lazy.js +5 -2
  409. package/src/registry.js +10 -4
  410. package/AutoCompleteStatusWrapper/index.d.ts +0 -10
  411. package/AutoCompleteStatusWrapper/index.test/index.js +0 -7
  412. package/AutoCompleteWrapper/index.d.ts +0 -22
  413. package/AutoCompleteWrapper/index.test/index.js +0 -7
  414. package/src/AutoCompleteStatusWrapper/__snapshots__/index.test.tsx.snap +0 -16
  415. package/src/AutoCompleteStatusWrapper/index.test.tsx +0 -10
  416. package/src/AutoCompleteStatusWrapper/index.tsx +0 -28
  417. /package/{AutoCompleteStatusWrapper → AutoCompleteContainer}/index.test.d.ts +0 -0
  418. /package/{AutoCompleteWrapper → AutoCompleteStatusContainer}/index.test.d.ts +0 -0
@@ -19,20 +19,20 @@ exports[`renders the SvgIcon with no props 1`] = `
19
19
  </ForwardRef(SvgIcon)>
20
20
  `;
21
21
 
22
- exports[`renders the SvgIcon with prop size=lg 1`] = `
22
+ exports[`renders the SvgIcon with prop color=base-content 1`] = `
23
23
  <ForwardRef(SvgIcon)
24
- size="lg"
24
+ color="base-content"
25
25
  >
26
26
  <ForwardRef(Base)
27
27
  aria-hidden="true"
28
28
  as="svg"
29
- className="ds-svg-icon--lg ds-svg-icon"
29
+ className="ds-svg-icon--base-content ds-svg-icon"
30
30
  focusable="false"
31
31
  viewBox="0 0 24 24"
32
32
  >
33
33
  <svg
34
34
  aria-hidden="true"
35
- className="ds-svg-icon--lg ds-svg-icon"
35
+ className="ds-svg-icon--base-content ds-svg-icon"
36
36
  focusable="false"
37
37
  viewBox="0 0 24 24"
38
38
  >
@@ -42,20 +42,20 @@ exports[`renders the SvgIcon with prop size=lg 1`] = `
42
42
  </ForwardRef(SvgIcon)>
43
43
  `;
44
44
 
45
- exports[`renders the SvgIcon with prop size=md 1`] = `
45
+ exports[`renders the SvgIcon with prop color=dark 1`] = `
46
46
  <ForwardRef(SvgIcon)
47
- size="md"
47
+ color="dark"
48
48
  >
49
49
  <ForwardRef(Base)
50
50
  aria-hidden="true"
51
51
  as="svg"
52
- className="ds-svg-icon--md ds-svg-icon"
52
+ className="ds-svg-icon--dark ds-svg-icon"
53
53
  focusable="false"
54
54
  viewBox="0 0 24 24"
55
55
  >
56
56
  <svg
57
57
  aria-hidden="true"
58
- className="ds-svg-icon--md ds-svg-icon"
58
+ className="ds-svg-icon--dark ds-svg-icon"
59
59
  focusable="false"
60
60
  viewBox="0 0 24 24"
61
61
  >
@@ -65,20 +65,20 @@ exports[`renders the SvgIcon with prop size=md 1`] = `
65
65
  </ForwardRef(SvgIcon)>
66
66
  `;
67
67
 
68
- exports[`renders the SvgIcon with prop size=sm 1`] = `
68
+ exports[`renders the SvgIcon with prop color=error 1`] = `
69
69
  <ForwardRef(SvgIcon)
70
- size="sm"
70
+ color="error"
71
71
  >
72
72
  <ForwardRef(Base)
73
73
  aria-hidden="true"
74
74
  as="svg"
75
- className="ds-svg-icon--sm ds-svg-icon"
75
+ className="ds-svg-icon--error ds-svg-icon"
76
76
  focusable="false"
77
77
  viewBox="0 0 24 24"
78
78
  >
79
79
  <svg
80
80
  aria-hidden="true"
81
- className="ds-svg-icon--sm ds-svg-icon"
81
+ className="ds-svg-icon--error ds-svg-icon"
82
82
  focusable="false"
83
83
  viewBox="0 0 24 24"
84
84
  >
@@ -88,20 +88,21 @@ exports[`renders the SvgIcon with prop size=sm 1`] = `
88
88
  </ForwardRef(SvgIcon)>
89
89
  `;
90
90
 
91
- exports[`renders the SvgIcon with prop size=xl 1`] = `
91
+ exports[`renders the SvgIcon with prop color=error and size= xl 1`] = `
92
92
  <ForwardRef(SvgIcon)
93
+ color="warning"
93
94
  size="xl"
94
95
  >
95
96
  <ForwardRef(Base)
96
97
  aria-hidden="true"
97
98
  as="svg"
98
- className="ds-svg-icon--xl ds-svg-icon"
99
+ className="ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
99
100
  focusable="false"
100
101
  viewBox="0 0 24 24"
101
102
  >
102
103
  <svg
103
104
  aria-hidden="true"
104
- className="ds-svg-icon--xl ds-svg-icon"
105
+ className="ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
105
106
  focusable="false"
106
107
  viewBox="0 0 24 24"
107
108
  >
@@ -111,20 +112,20 @@ exports[`renders the SvgIcon with prop size=xl 1`] = `
111
112
  </ForwardRef(SvgIcon)>
112
113
  `;
113
114
 
114
- exports[`renders the SvgIcon with prop size=xs 1`] = `
115
+ exports[`renders the SvgIcon with prop color=focus 1`] = `
115
116
  <ForwardRef(SvgIcon)
116
- size="xs"
117
+ color="focus"
117
118
  >
118
119
  <ForwardRef(Base)
119
120
  aria-hidden="true"
120
121
  as="svg"
121
- className="ds-svg-icon--xs ds-svg-icon"
122
+ className="ds-svg-icon--focus ds-svg-icon"
122
123
  focusable="false"
123
124
  viewBox="0 0 24 24"
124
125
  >
125
126
  <svg
126
127
  aria-hidden="true"
127
- className="ds-svg-icon--xs ds-svg-icon"
128
+ className="ds-svg-icon--focus ds-svg-icon"
128
129
  focusable="false"
129
130
  viewBox="0 0 24 24"
130
131
  >
@@ -134,20 +135,20 @@ exports[`renders the SvgIcon with prop size=xs 1`] = `
134
135
  </ForwardRef(SvgIcon)>
135
136
  `;
136
137
 
137
- exports[`renders the SvgIcon with prop variant=dark 1`] = `
138
+ exports[`renders the SvgIcon with prop color=gray 1`] = `
138
139
  <ForwardRef(SvgIcon)
139
- variant="dark"
140
+ color="gray"
140
141
  >
141
142
  <ForwardRef(Base)
142
143
  aria-hidden="true"
143
144
  as="svg"
144
- className="ds-svg-icon--dark ds-svg-icon"
145
+ className="ds-svg-icon--gray ds-svg-icon"
145
146
  focusable="false"
146
147
  viewBox="0 0 24 24"
147
148
  >
148
149
  <svg
149
150
  aria-hidden="true"
150
- className="ds-svg-icon--dark ds-svg-icon"
151
+ className="ds-svg-icon--gray ds-svg-icon"
151
152
  focusable="false"
152
153
  viewBox="0 0 24 24"
153
154
  >
@@ -157,20 +158,20 @@ exports[`renders the SvgIcon with prop variant=dark 1`] = `
157
158
  </ForwardRef(SvgIcon)>
158
159
  `;
159
160
 
160
- exports[`renders the SvgIcon with prop variant=error 1`] = `
161
+ exports[`renders the SvgIcon with prop color=primary 1`] = `
161
162
  <ForwardRef(SvgIcon)
162
- variant="error"
163
+ color="primary"
163
164
  >
164
165
  <ForwardRef(Base)
165
166
  aria-hidden="true"
166
167
  as="svg"
167
- className="ds-svg-icon--error ds-svg-icon"
168
+ className="ds-svg-icon--primary ds-svg-icon"
168
169
  focusable="false"
169
170
  viewBox="0 0 24 24"
170
171
  >
171
172
  <svg
172
173
  aria-hidden="true"
173
- className="ds-svg-icon--error ds-svg-icon"
174
+ className="ds-svg-icon--primary ds-svg-icon"
174
175
  focusable="false"
175
176
  viewBox="0 0 24 24"
176
177
  >
@@ -180,21 +181,20 @@ exports[`renders the SvgIcon with prop variant=error 1`] = `
180
181
  </ForwardRef(SvgIcon)>
181
182
  `;
182
183
 
183
- exports[`renders the SvgIcon with prop variant=error and size= xl 1`] = `
184
+ exports[`renders the SvgIcon with prop color=success 1`] = `
184
185
  <ForwardRef(SvgIcon)
185
- size="xl"
186
- variant="warning"
186
+ color="success"
187
187
  >
188
188
  <ForwardRef(Base)
189
189
  aria-hidden="true"
190
190
  as="svg"
191
- className="ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
191
+ className="ds-svg-icon--success ds-svg-icon"
192
192
  focusable="false"
193
193
  viewBox="0 0 24 24"
194
194
  >
195
195
  <svg
196
196
  aria-hidden="true"
197
- className="ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
197
+ className="ds-svg-icon--success ds-svg-icon"
198
198
  focusable="false"
199
199
  viewBox="0 0 24 24"
200
200
  >
@@ -204,20 +204,20 @@ exports[`renders the SvgIcon with prop variant=error and size= xl 1`] = `
204
204
  </ForwardRef(SvgIcon)>
205
205
  `;
206
206
 
207
- exports[`renders the SvgIcon with prop variant=focus 1`] = `
207
+ exports[`renders the SvgIcon with prop color=warning 1`] = `
208
208
  <ForwardRef(SvgIcon)
209
- variant="focus"
209
+ color="warning"
210
210
  >
211
211
  <ForwardRef(Base)
212
212
  aria-hidden="true"
213
213
  as="svg"
214
- className="ds-svg-icon--focus ds-svg-icon"
214
+ className="ds-svg-icon--warning ds-svg-icon"
215
215
  focusable="false"
216
216
  viewBox="0 0 24 24"
217
217
  >
218
218
  <svg
219
219
  aria-hidden="true"
220
- className="ds-svg-icon--focus ds-svg-icon"
220
+ className="ds-svg-icon--warning ds-svg-icon"
221
221
  focusable="false"
222
222
  viewBox="0 0 24 24"
223
223
  >
@@ -227,20 +227,21 @@ exports[`renders the SvgIcon with prop variant=focus 1`] = `
227
227
  </ForwardRef(SvgIcon)>
228
228
  `;
229
229
 
230
- exports[`renders the SvgIcon with prop variant=gray 1`] = `
230
+ exports[`renders the SvgIcon with prop color=warning and size=sm 1`] = `
231
231
  <ForwardRef(SvgIcon)
232
- variant="gray"
232
+ color="warning"
233
+ size="sm"
233
234
  >
234
235
  <ForwardRef(Base)
235
236
  aria-hidden="true"
236
237
  as="svg"
237
- className="ds-svg-icon--gray ds-svg-icon"
238
+ className="ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
238
239
  focusable="false"
239
240
  viewBox="0 0 24 24"
240
241
  >
241
242
  <svg
242
243
  aria-hidden="true"
243
- className="ds-svg-icon--gray ds-svg-icon"
244
+ className="ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
244
245
  focusable="false"
245
246
  viewBox="0 0 24 24"
246
247
  >
@@ -250,20 +251,20 @@ exports[`renders the SvgIcon with prop variant=gray 1`] = `
250
251
  </ForwardRef(SvgIcon)>
251
252
  `;
252
253
 
253
- exports[`renders the SvgIcon with prop variant=light 1`] = `
254
+ exports[`renders the SvgIcon with prop color=white 1`] = `
254
255
  <ForwardRef(SvgIcon)
255
- variant="light"
256
+ color="white"
256
257
  >
257
258
  <ForwardRef(Base)
258
259
  aria-hidden="true"
259
260
  as="svg"
260
- className="ds-svg-icon--light ds-svg-icon"
261
+ className="ds-svg-icon--white ds-svg-icon"
261
262
  focusable="false"
262
263
  viewBox="0 0 24 24"
263
264
  >
264
265
  <svg
265
266
  aria-hidden="true"
266
- className="ds-svg-icon--light ds-svg-icon"
267
+ className="ds-svg-icon--white ds-svg-icon"
267
268
  focusable="false"
268
269
  viewBox="0 0 24 24"
269
270
  >
@@ -273,20 +274,20 @@ exports[`renders the SvgIcon with prop variant=light 1`] = `
273
274
  </ForwardRef(SvgIcon)>
274
275
  `;
275
276
 
276
- exports[`renders the SvgIcon with prop variant=primary 1`] = `
277
+ exports[`renders the SvgIcon with prop size=lg 1`] = `
277
278
  <ForwardRef(SvgIcon)
278
- variant="primary"
279
+ size="lg"
279
280
  >
280
281
  <ForwardRef(Base)
281
282
  aria-hidden="true"
282
283
  as="svg"
283
- className="ds-svg-icon--primary ds-svg-icon"
284
+ className="ds-svg-icon--lg ds-svg-icon"
284
285
  focusable="false"
285
286
  viewBox="0 0 24 24"
286
287
  >
287
288
  <svg
288
289
  aria-hidden="true"
289
- className="ds-svg-icon--primary ds-svg-icon"
290
+ className="ds-svg-icon--lg ds-svg-icon"
290
291
  focusable="false"
291
292
  viewBox="0 0 24 24"
292
293
  >
@@ -296,20 +297,20 @@ exports[`renders the SvgIcon with prop variant=primary 1`] = `
296
297
  </ForwardRef(SvgIcon)>
297
298
  `;
298
299
 
299
- exports[`renders the SvgIcon with prop variant=success 1`] = `
300
+ exports[`renders the SvgIcon with prop size=md 1`] = `
300
301
  <ForwardRef(SvgIcon)
301
- variant="success"
302
+ size="md"
302
303
  >
303
304
  <ForwardRef(Base)
304
305
  aria-hidden="true"
305
306
  as="svg"
306
- className="ds-svg-icon--success ds-svg-icon"
307
+ className="ds-svg-icon--md ds-svg-icon"
307
308
  focusable="false"
308
309
  viewBox="0 0 24 24"
309
310
  >
310
311
  <svg
311
312
  aria-hidden="true"
312
- className="ds-svg-icon--success ds-svg-icon"
313
+ className="ds-svg-icon--md ds-svg-icon"
313
314
  focusable="false"
314
315
  viewBox="0 0 24 24"
315
316
  >
@@ -319,20 +320,20 @@ exports[`renders the SvgIcon with prop variant=success 1`] = `
319
320
  </ForwardRef(SvgIcon)>
320
321
  `;
321
322
 
322
- exports[`renders the SvgIcon with prop variant=warning 1`] = `
323
+ exports[`renders the SvgIcon with prop size=sm 1`] = `
323
324
  <ForwardRef(SvgIcon)
324
- variant="warning"
325
+ size="sm"
325
326
  >
326
327
  <ForwardRef(Base)
327
328
  aria-hidden="true"
328
329
  as="svg"
329
- className="ds-svg-icon--warning ds-svg-icon"
330
+ className="ds-svg-icon--sm ds-svg-icon"
330
331
  focusable="false"
331
332
  viewBox="0 0 24 24"
332
333
  >
333
334
  <svg
334
335
  aria-hidden="true"
335
- className="ds-svg-icon--warning ds-svg-icon"
336
+ className="ds-svg-icon--sm ds-svg-icon"
336
337
  focusable="false"
337
338
  viewBox="0 0 24 24"
338
339
  >
@@ -342,21 +343,43 @@ exports[`renders the SvgIcon with prop variant=warning 1`] = `
342
343
  </ForwardRef(SvgIcon)>
343
344
  `;
344
345
 
345
- exports[`renders the SvgIcon with prop variant=warning and size=sm 1`] = `
346
+ exports[`renders the SvgIcon with prop size=xl 1`] = `
346
347
  <ForwardRef(SvgIcon)
347
- size="sm"
348
- variant="warning"
348
+ size="xl"
349
349
  >
350
350
  <ForwardRef(Base)
351
351
  aria-hidden="true"
352
352
  as="svg"
353
- className="ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
353
+ className="ds-svg-icon--xl ds-svg-icon"
354
354
  focusable="false"
355
355
  viewBox="0 0 24 24"
356
356
  >
357
357
  <svg
358
358
  aria-hidden="true"
359
- className="ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
359
+ className="ds-svg-icon--xl ds-svg-icon"
360
+ focusable="false"
361
+ viewBox="0 0 24 24"
362
+ >
363
+ hello
364
+ </svg>
365
+ </ForwardRef(Base)>
366
+ </ForwardRef(SvgIcon)>
367
+ `;
368
+
369
+ exports[`renders the SvgIcon with prop size=xs 1`] = `
370
+ <ForwardRef(SvgIcon)
371
+ size="xs"
372
+ >
373
+ <ForwardRef(Base)
374
+ aria-hidden="true"
375
+ as="svg"
376
+ className="ds-svg-icon--xs ds-svg-icon"
377
+ focusable="false"
378
+ viewBox="0 0 24 24"
379
+ >
380
+ <svg
381
+ aria-hidden="true"
382
+ className="ds-svg-icon--xs ds-svg-icon"
360
383
  focusable="false"
361
384
  viewBox="0 0 24 24"
362
385
  >
@@ -21,43 +21,46 @@ 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 variant=dark', () => {
25
- expect(mount(<SvgIcon variant="dark">hello</SvgIcon>)).toMatchSnapshot();
24
+ it('renders the SvgIcon with prop color=base-content', () => {
25
+ expect(mount(<SvgIcon color="base-content">hello</SvgIcon>)).toMatchSnapshot();
26
26
  });
27
- it('renders the SvgIcon with prop variant=light', () => {
28
- expect(mount(<SvgIcon variant="light">hello</SvgIcon>)).toMatchSnapshot();
27
+ it('renders the SvgIcon with prop color=dark', () => {
28
+ expect(mount(<SvgIcon color="dark">hello</SvgIcon>)).toMatchSnapshot();
29
29
  });
30
- it('renders the SvgIcon with prop variant=gray', () => {
31
- expect(mount(<SvgIcon variant="gray">hello</SvgIcon>)).toMatchSnapshot();
30
+ it('renders the SvgIcon with prop color=white', () => {
31
+ expect(mount(<SvgIcon color="white">hello</SvgIcon>)).toMatchSnapshot();
32
32
  });
33
- it('renders the SvgIcon with prop variant=primary', () => {
34
- expect(mount(<SvgIcon variant="primary">hello</SvgIcon>)).toMatchSnapshot();
33
+ it('renders the SvgIcon with prop color=gray', () => {
34
+ expect(mount(<SvgIcon color="gray">hello</SvgIcon>)).toMatchSnapshot();
35
35
  });
36
- it('renders the SvgIcon with prop variant=success', () => {
37
- expect(mount(<SvgIcon variant="success">hello</SvgIcon>)).toMatchSnapshot();
36
+ it('renders the SvgIcon with prop color=primary', () => {
37
+ expect(mount(<SvgIcon color="primary">hello</SvgIcon>)).toMatchSnapshot();
38
38
  });
39
- it('renders the SvgIcon with prop variant=warning', () => {
40
- expect(mount(<SvgIcon variant="warning">hello</SvgIcon>)).toMatchSnapshot();
39
+ it('renders the SvgIcon with prop color=success', () => {
40
+ expect(mount(<SvgIcon color="success">hello</SvgIcon>)).toMatchSnapshot();
41
41
  });
42
- it('renders the SvgIcon with prop variant=error', () => {
43
- expect(mount(<SvgIcon variant="error">hello</SvgIcon>)).toMatchSnapshot();
42
+ it('renders the SvgIcon with prop color=warning', () => {
43
+ expect(mount(<SvgIcon color="warning">hello</SvgIcon>)).toMatchSnapshot();
44
44
  });
45
- it('renders the SvgIcon with prop variant=focus', () => {
46
- expect(mount(<SvgIcon variant="focus">hello</SvgIcon>)).toMatchSnapshot();
45
+ it('renders the SvgIcon with prop color=error', () => {
46
+ expect(mount(<SvgIcon color="error">hello</SvgIcon>)).toMatchSnapshot();
47
47
  });
48
- it('renders the SvgIcon with prop variant=warning and size=sm', () => {
48
+ it('renders the SvgIcon with prop color=focus', () => {
49
+ expect(mount(<SvgIcon color="focus">hello</SvgIcon>)).toMatchSnapshot();
50
+ });
51
+ it('renders the SvgIcon with prop color=warning and size=sm', () => {
49
52
  expect(
50
53
  mount(
51
- <SvgIcon variant="warning" size="sm">
54
+ <SvgIcon color="warning" size="sm">
52
55
  hello
53
56
  </SvgIcon>
54
57
  )
55
58
  ).toMatchSnapshot();
56
59
  });
57
- it('renders the SvgIcon with prop variant=error and size= xl', () => {
60
+ it('renders the SvgIcon with prop color=error and size= xl', () => {
58
61
  expect(
59
62
  mount(
60
- <SvgIcon variant="warning" size="xl">
63
+ <SvgIcon color="warning" size="xl">
61
64
  hello
62
65
  </SvgIcon>
63
66
  )
@@ -16,52 +16,47 @@ export interface SvgIconProps extends BaseProps<'svg'> {
16
16
  size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
17
17
 
18
18
  /**
19
- * variant property styles svg icon with Gov.gr palette's basic colors.
20
- * variant property is optional.
21
- * @value 'dark'
22
- * @value 'light'
19
+ * color property styles svg icon with Gov.gr palette's basic colors.
20
+ * color property is optional.
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
30
+ * @value 'info'
29
31
  * @value 'link'
30
32
  */
31
- variant?:
32
- | 'dark'
33
- | 'light'
34
- | 'gray'
35
- | 'primary'
36
- | 'success'
37
- | 'warning'
38
- | 'error'
39
- | 'focus'
40
- | 'link';
33
+ color?:
34
+ | 'base-content'
35
+ | 'dark'
36
+ | 'white'
37
+ | 'gray'
38
+ | 'primary'
39
+ | 'success'
40
+ | 'warning'
41
+ | 'error'
42
+ | 'focus'
43
+ | 'info'
44
+ | 'link';
41
45
  }
42
46
  /**
43
47
  * Use SvgIcon as global svg component.
44
- * SvgIcon can be used inside other svg components as childern such as CheckIcon, CaretIcon etc.
48
+ * SvgIcon can be used inside other svg components as children such as CheckIcon, CaretIcon etc.
45
49
  */
46
50
  export const SvgIcon = React.forwardRef<SVGSVGElement, SvgIconProps>(
47
- function SvgIcon({ size, variant, children, className, ...props }, ref) {
51
+ function SvgIcon({ size, color, children, className, ...props }, ref) {
48
52
  return (
49
53
  <Base
50
54
  as="svg"
51
55
  ref={ref}
52
56
  className={clsx(className, {
53
- 'ds-svg-icon--dark': variant === 'dark',
54
- 'ds-svg-icon--light': variant === 'light',
55
- 'ds-svg-icon--gray': variant === 'gray',
56
- 'ds-svg-icon--success': variant === 'success',
57
- 'ds-svg-icon--primary': variant === 'primary',
58
- 'ds-svg-icon--warning': variant === 'warning',
59
- 'ds-svg-icon--error': variant === 'error',
60
- 'ds-svg-icon--focus': variant === 'focus',
61
- 'ds-svg-icon--link': variant === 'link',
62
- [`ds-svg-icon--${size}`]: size !== undefined,
63
-
64
57
  'ds-svg-icon': true,
58
+ [`ds-svg-icon--${color}`]: color !== undefined,
59
+ [`ds-svg-icon--${size}`]: size !== undefined,
65
60
  })}
66
61
  focusable="false"
67
62
  viewBox="0 0 24 24"
@@ -7,10 +7,11 @@ exports[`renders the TabsHeading with no props 1`] = `
7
7
  >
8
8
  <ForwardRef(Base)
9
9
  as="div"
10
- className="ds-hidden-md--up"
10
+ mdUpHidden={true}
11
+ xsUpHidden={false}
11
12
  >
12
13
  <div
13
- className="ds-hidden-md--up"
14
+ className="ds-hidden-md-up"
14
15
  >
15
16
  <ForwardRef(Heading)
16
17
  size="sm"
@@ -46,10 +47,11 @@ exports[`renders the TabsHeading with size=m 1`] = `
46
47
  >
47
48
  <ForwardRef(Base)
48
49
  as="div"
49
- className="ds-hidden-md--up"
50
+ mdUpHidden={true}
51
+ xsUpHidden={false}
50
52
  >
51
53
  <div
52
- className="ds-hidden-md--up"
54
+ className="ds-hidden-md-up"
53
55
  >
54
56
  <ForwardRef(Heading)
55
57
  size="md"
@@ -85,10 +87,11 @@ exports[`renders the TabsHeading with size=s 1`] = `
85
87
  >
86
88
  <ForwardRef(Base)
87
89
  as="div"
88
- className="ds-hidden-md--up"
90
+ mdUpHidden={true}
91
+ xsUpHidden={false}
89
92
  >
90
93
  <div
91
- className="ds-hidden-md--up"
94
+ className="ds-hidden-md-up"
92
95
  >
93
96
  <ForwardRef(Heading)
94
97
  size="sm"