@digigov/ui 0.24.2 → 0.26.1

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 (475) hide show
  1. package/CHANGELOG.md +38 -1
  2. package/admin/AutoComplete/__stories__/Default.d.ts +0 -1
  3. package/admin/AutoComplete/__stories__/Default.js +1 -1
  4. package/admin/AutoComplete/__stories__/WithAutoSelect.d.ts +0 -1
  5. package/admin/AutoComplete/__stories__/WithAutoSelect.js +13 -2
  6. package/admin/AutoComplete/__stories__/WithDefaultValue.d.ts +0 -1
  7. package/admin/AutoComplete/__stories__/WithDefaultValue.js +1 -1
  8. package/admin/AutoComplete/__stories__/WithInLine.d.ts +0 -1
  9. package/admin/AutoComplete/__stories__/WithInLine.js +1 -1
  10. package/admin/AutoComplete/__stories__/WithMinLength.d.ts +0 -1
  11. package/admin/AutoComplete/__stories__/WithMinLength.js +1 -1
  12. package/admin/AutoComplete/__stories__/WithPlaceHolder.d.ts +0 -1
  13. package/admin/AutoComplete/__stories__/WithPlaceHolder.js +1 -1
  14. package/admin/AutoComplete/__stories__/WithShowAllValues.d.ts +0 -1
  15. package/admin/AutoComplete/__stories__/WithShowAllValues.js +1 -1
  16. package/admin/AutoComplete/__stories__/utils.d.ts +2 -0
  17. package/admin/AutoComplete/__stories__/utils.js +15 -0
  18. package/admin/AutoComplete/index.d.ts +37 -20
  19. package/admin/AutoComplete/index.js +15 -53
  20. package/admin/AutoComplete/utils.d.ts +9 -1
  21. package/admin/AutoComplete/utils.js +23 -6
  22. package/admin/Chip/index.d.ts +2 -0
  23. package/admin/Chip/index.js +28 -0
  24. package/admin/CircularProgress/__stories__/Default.d.ts +0 -1
  25. package/admin/CopyToClipboard/__stories__/Banner.d.ts +0 -1
  26. package/admin/CopyToClipboard/__stories__/Default.d.ts +0 -1
  27. package/admin/CopyToClipboard/__stories__/MultipleCopies.d.ts +0 -1
  28. package/admin/CopyToClipboard/index.d.ts +4 -1
  29. package/admin/CopyToClipboard/index.js +14 -1
  30. package/admin/Drawer/Drawer.stories.d.ts +1 -4
  31. package/admin/Drawer/Drawer.stories.js +3 -22
  32. package/admin/Drawer/__stories__/Default.d.ts +0 -1
  33. package/admin/Drawer/__stories__/Default.js +13 -13
  34. package/admin/Drawer/index.d.ts +1 -0
  35. package/admin/Drawer/index.js +14 -0
  36. package/admin/Dropdown/__stories__/AlignRight.d.ts +0 -1
  37. package/admin/Dropdown/__stories__/Default.d.ts +0 -1
  38. package/admin/Dropdown/__stories__/PlacementTop.d.ts +0 -1
  39. package/admin/DropdownArrowDown/index.d.ts +3 -0
  40. package/admin/DropdownArrowDown/index.js +19 -0
  41. package/admin/Modal/__stories__/AlertDialog.d.ts +0 -1
  42. package/admin/Modal/__stories__/Default.d.ts +0 -1
  43. package/admin/Pagination/__stories__/Default.d.ts +0 -1
  44. package/admin/Pagination/index.d.ts +1 -1
  45. package/admin/StepNav/StepNav.stories.d.ts +7 -0
  46. package/admin/StepNav/StepNav.stories.js +32 -0
  47. package/admin/StepNav/__stories__/Default.d.ts +2 -0
  48. package/admin/StepNav/__stories__/Default.js +123 -0
  49. package/admin/StepNav/index.d.ts +15 -0
  50. package/admin/StepNav/index.js +115 -0
  51. package/admin/TaskList/__stories__/Default.d.ts +0 -1
  52. package/admin/Timeline/__stories__/Default.d.ts +0 -1
  53. package/admin/index.d.ts +2 -0
  54. package/admin/index.js +26 -0
  55. package/app/App.d.ts +0 -7
  56. package/app/App.js +6 -25
  57. package/app/Confirmation/__stories__/Default.d.ts +0 -1
  58. package/app/Footer/Footer.stories.d.ts +1 -0
  59. package/app/Footer/Footer.stories.js +14 -0
  60. package/app/Footer/__stories__/Default.d.ts +0 -1
  61. package/app/Footer/__stories__/DefaultCopyright.d.ts +2 -0
  62. package/app/Footer/__stories__/DefaultCopyright.js +32 -0
  63. package/app/Footer/__stories__/FooterAllInclusive.d.ts +0 -1
  64. package/app/Footer/__stories__/FooterAllInclusive.js +11 -4
  65. package/app/Footer/__stories__/FooterWithLink.d.ts +0 -1
  66. package/app/Footer/__stories__/FooterWithLink.js +1 -1
  67. package/app/Footer/__stories__/FooterWithLogo.d.ts +0 -1
  68. package/app/Footer/__stories__/FooterWithLogo.js +6 -2
  69. package/app/Footer/__stories__/FooterWithSecondaryNavigation.d.ts +0 -1
  70. package/app/Header/Header.stories.d.ts +12 -12
  71. package/app/Header/HeaderLogo.d.ts +1 -1
  72. package/app/Header/HeaderSection.d.ts +1 -1
  73. package/app/Header/HeaderTitle.d.ts +1 -1
  74. package/app/Header/__stories__/Default.d.ts +0 -1
  75. package/app/Header/__stories__/Default.js +2 -3
  76. package/app/Header/__stories__/WithNavigation.d.ts +0 -1
  77. package/app/Header/__stories__/WithNavigation.js +3 -4
  78. package/app/Header/__stories__/WithServiceName.d.ts +0 -1
  79. package/app/Header/__stories__/WithServiceName.js +2 -3
  80. package/app/Header/__stories__/WithServiceNameAndLogo.d.ts +0 -1
  81. package/app/Header/__stories__/WithServiceNameAndLogo.js +5 -4
  82. package/app/Header/index.d.ts +1 -1
  83. package/app/Header/index.spec.js +1 -5
  84. package/app/NotFound/__stories__/Default.d.ts +0 -1
  85. package/app/OutdatedBrowserBanner.d.ts +0 -1
  86. package/app/PhaseBannerHeader/__stories__/Default.d.ts +0 -1
  87. package/app/PhaseBannerHeader/index.d.ts +1 -1
  88. package/app/QrCodeScanner/__stories__/Default.d.ts +0 -1
  89. package/app/i18n.d.ts +2 -2
  90. package/app/i18n.js +16 -2
  91. package/core/Accordion/__stories__/Default.d.ts +0 -1
  92. package/core/Accordion/__stories__/WithHints.d.ts +0 -1
  93. package/core/Accordion/index.d.ts +3 -3
  94. package/core/BackLink/__stories__/Default.d.ts +0 -1
  95. package/core/Base/index.d.ts +3 -0
  96. package/core/Base/index.js +19 -0
  97. package/core/Blockquote/__stories__/Default.d.ts +0 -1
  98. package/core/Blockquote/index.d.ts +1 -1
  99. package/core/Breadcrumbs/__stories__/Default.d.ts +0 -1
  100. package/core/Button/BackButton.d.ts +1 -1
  101. package/core/Button/Button.stories.d.ts +15 -15
  102. package/core/Button/ButtonLink.d.ts +1 -1
  103. package/core/Button/__stories__/Back.d.ts +0 -1
  104. package/core/Button/__stories__/ButtonLinkButton.d.ts +0 -1
  105. package/core/Button/__stories__/CallToActionButton.d.ts +0 -1
  106. package/core/Button/__stories__/Disabled.d.ts +0 -1
  107. package/core/Button/__stories__/GroupingButtons.d.ts +0 -1
  108. package/core/Button/__stories__/GroupingButtons.js +1 -1
  109. package/core/Button/__stories__/GroupingButtonsAndLinks.d.ts +0 -1
  110. package/core/Button/__stories__/Primary.d.ts +0 -1
  111. package/core/Button/__stories__/Secondary.d.ts +0 -1
  112. package/core/Button/__stories__/Warning.d.ts +0 -1
  113. package/core/Button/__stories__/WithVariantLink.d.ts +0 -1
  114. package/core/Button/index.d.ts +1 -1
  115. package/core/Card/__stories__/Default.d.ts +0 -1
  116. package/core/Card/__stories__/WithClickableContent.d.ts +0 -1
  117. package/core/Card/__stories__/WithClickableLink.d.ts +0 -1
  118. package/core/Card/__stories__/WithDarkBorder.d.ts +0 -1
  119. package/core/Card/__stories__/WithDarkTopBorder.d.ts +0 -1
  120. package/core/Card/__stories__/WithDivider.d.ts +0 -1
  121. package/core/Card/__stories__/WithGrayBorder.d.ts +0 -1
  122. package/core/Card/__stories__/WithGrayTopBorder.d.ts +0 -1
  123. package/core/Card/__stories__/WithGroupButton.d.ts +0 -1
  124. package/core/Checkboxes/__stories__/ConditionalReveal.d.ts +0 -1
  125. package/core/Checkboxes/__stories__/Default.d.ts +0 -1
  126. package/core/Checkboxes/__stories__/MultipleQuestions.d.ts +0 -1
  127. package/core/Checkboxes/__stories__/NoneAnswer.d.ts +0 -1
  128. package/core/Checkboxes/__stories__/NoneAnswerWithError.d.ts +2 -3
  129. package/core/Checkboxes/__stories__/NoneAnswerWithError.js +4 -4
  130. package/core/Checkboxes/__stories__/WithErrorMessage.d.ts +0 -1
  131. package/core/Checkboxes/__stories__/WithHint.d.ts +0 -1
  132. package/core/Confirmation/__stories__/Default.d.ts +0 -1
  133. package/core/DateInput/__stories__/Default.d.ts +0 -1
  134. package/core/DateInput/__stories__/MultipleQuestions.d.ts +0 -1
  135. package/core/DateInput/__stories__/WithErrorMessage.d.ts +0 -1
  136. package/core/DateInput/__stories__/WithErrorMessageForSingleField.d.ts +0 -1
  137. package/core/Details/__stories__/Default.d.ts +0 -1
  138. package/core/Divider/__stories__/Default.d.ts +0 -1
  139. package/core/Divider/index.d.ts +1 -1
  140. package/core/ErrorMessage/__stories__/Default.d.ts +0 -1
  141. package/core/ErrorSummary/__stories__/Default.d.ts +0 -1
  142. package/core/ErrorSummary/__stories__/LinkedToCheckbox.d.ts +0 -1
  143. package/core/ErrorSummary/__stories__/LinkedToField.d.ts +0 -1
  144. package/core/ErrorSummary/__stories__/LinkedToInput.d.ts +0 -1
  145. package/core/ErrorSummary/index.spec.js +3 -5
  146. package/core/FileUpload/__stories__/Default.d.ts +0 -1
  147. package/core/FileUpload/__stories__/WithErrorMessage.d.ts +2 -3
  148. package/core/FileUpload/__stories__/WithErrorMessage.js +4 -4
  149. package/core/Form/index.d.ts +3 -0
  150. package/core/Form/index.js +19 -0
  151. package/core/Label/index.d.ts +4 -0
  152. package/core/Label/index.js +44 -0
  153. package/core/Link/__stories__/DarkBackground.d.ts +0 -1
  154. package/core/Link/__stories__/DarkBackgroundNoUnderline.d.ts +0 -1
  155. package/core/Link/__stories__/Default.d.ts +0 -1
  156. package/core/Link/__stories__/NoUnderline.d.ts +0 -1
  157. package/core/Link/__stories__/OpensInNewTab.d.ts +0 -1
  158. package/core/Link/index.d.ts +1 -0
  159. package/core/Link/index.js +2 -1
  160. package/core/List/ListItemContent.d.ts +0 -1
  161. package/core/List/ListItemContent.js +9 -27
  162. package/core/List/ListItemIcon.d.ts +1 -3
  163. package/core/List/ListItemIcon.js +9 -30
  164. package/core/List/ListItemText.d.ts +0 -1
  165. package/core/List/ListItemText.js +8 -15
  166. package/core/List/ListItemTitle.d.ts +0 -1
  167. package/core/List/ListItemTitle.js +8 -15
  168. package/core/List/__stories__/BulletList.d.ts +0 -1
  169. package/core/List/__stories__/Default.d.ts +0 -1
  170. package/core/List/__stories__/NumberedList.d.ts +0 -1
  171. package/core/List/__stories__/WithExtraSpace.d.ts +0 -1
  172. package/core/List/index.spec.js +1 -3
  173. package/core/Masthead/__stories__/Default.d.ts +0 -1
  174. package/core/NavList/NavHorizontal.d.ts +3 -0
  175. package/core/NavList/NavHorizontal.js +19 -0
  176. package/core/NavList/NavHorizontalList.d.ts +3 -0
  177. package/core/NavList/NavHorizontalList.js +19 -0
  178. package/core/NavList/NavHorizontalListItem.d.ts +3 -0
  179. package/core/NavList/NavHorizontalListItem.js +19 -0
  180. package/core/NavList/NavListItem.d.ts +1 -1
  181. package/core/NavList/NavListItemBase.d.ts +1 -1
  182. package/core/NavList/NavVertical.d.ts +3 -0
  183. package/core/NavList/NavVertical.js +19 -0
  184. package/core/NavList/NavVerticalItem.d.ts +3 -0
  185. package/core/NavList/NavVerticalItem.js +19 -0
  186. package/core/NavList/__stories__/Default.d.ts +0 -1
  187. package/core/NavList/__stories__/NavHorizontalLayout.d.ts +0 -1
  188. package/core/NavList/index.d.ts +5 -0
  189. package/core/NavList/index.js +70 -0
  190. package/core/NavList/index.spec.js +1 -3
  191. package/core/NotificationBanner/__stories__/Default.d.ts +0 -1
  192. package/core/NotificationBanner/__stories__/Success.d.ts +0 -1
  193. package/core/NotificationBanner/index.spec.js +3 -5
  194. package/core/PhaseBanner/__stories__/Default.d.ts +0 -1
  195. package/core/PhaseBanner/__stories__/Underlined.d.ts +0 -1
  196. package/core/Radios/__stories__/ConditionalReveal.d.ts +0 -1
  197. package/core/Radios/__stories__/Default.d.ts +0 -1
  198. package/core/Radios/__stories__/Inline.d.ts +0 -1
  199. package/core/Radios/__stories__/MultipleQuestions.d.ts +0 -1
  200. package/core/Radios/__stories__/NoneAnswer.d.ts +0 -1
  201. package/core/Radios/__stories__/WithErrorMessage.d.ts +0 -1
  202. package/core/Radios/__stories__/WithHints.d.ts +0 -1
  203. package/core/Select/__stories__/Default.d.ts +0 -1
  204. package/core/Select/__stories__/DisabledInput.d.ts +0 -1
  205. package/core/Select/__stories__/WithHint.d.ts +0 -1
  206. package/core/SkipLink/index.d.ts +3 -0
  207. package/core/SkipLink/index.js +19 -0
  208. package/core/SummaryList/SummaryList.stories.d.ts +1 -0
  209. package/core/SummaryList/SummaryList.stories.js +14 -0
  210. package/core/SummaryList/__stories__/Default.d.ts +0 -1
  211. package/core/SummaryList/__stories__/Default.js +7 -1
  212. package/core/SummaryList/__stories__/WithActions.d.ts +0 -1
  213. package/core/SummaryList/__stories__/WithKeyAndAction.d.ts +2 -0
  214. package/core/SummaryList/__stories__/WithKeyAndAction.js +42 -0
  215. package/core/SummaryList/__stories__/WithoutBorders.d.ts +0 -1
  216. package/core/SvgIcon/index.d.ts +1 -0
  217. package/core/SvgIcon/index.js +14 -0
  218. package/core/Table/TableFloatingScroll.d.ts +0 -1
  219. package/core/Table/__stories__/DarkVariant.d.ts +0 -1
  220. package/core/Table/__stories__/DarkVariantWithVerticalHeaders.d.ts +0 -1
  221. package/core/Table/__stories__/Default.d.ts +0 -1
  222. package/core/Table/__stories__/DefinedWidth.d.ts +0 -1
  223. package/core/Table/__stories__/Densed.d.ts +0 -1
  224. package/core/Table/__stories__/MultipleProps.d.ts +0 -1
  225. package/core/Table/__stories__/NoData.d.ts +0 -1
  226. package/core/Table/__stories__/NumericDataType.d.ts +0 -1
  227. package/core/Table/__stories__/TableCaptions.d.ts +0 -1
  228. package/core/Table/__stories__/VerticalBorders.d.ts +0 -1
  229. package/core/Table/__stories__/VerticalHeaders.d.ts +0 -1
  230. package/core/Table/__stories__/WithFloatingScroll.d.ts +0 -1
  231. package/core/Table/__stories__/WithHeader.d.ts +0 -1
  232. package/core/Table/__stories__/WithLoader.d.ts +0 -1
  233. package/core/Table/__stories__/ZebraProp.d.ts +0 -1
  234. package/core/Tabs/__stories__/Default.d.ts +0 -1
  235. package/core/TextArea/__stories__/Default.d.ts +0 -1
  236. package/core/TextArea/__stories__/DisabledInput.d.ts +0 -1
  237. package/core/TextArea/__stories__/LimitedCharacters.d.ts +0 -1
  238. package/core/TextArea/__stories__/MultipleQuestions.d.ts +0 -1
  239. package/core/TextArea/__stories__/WithDeclaredRows.d.ts +0 -1
  240. package/core/TextArea/__stories__/WithErrorMessage.d.ts +0 -1
  241. package/core/TextArea/__stories__/WithHint.d.ts +0 -1
  242. package/core/TextInput/__stories__/AskingForNumbers.d.ts +0 -1
  243. package/core/TextInput/__stories__/Default.d.ts +0 -1
  244. package/core/TextInput/__stories__/DisabledInput.d.ts +0 -1
  245. package/core/TextInput/__stories__/FixedWidths.d.ts +0 -1
  246. package/core/TextInput/__stories__/FluidWidths.d.ts +0 -1
  247. package/core/TextInput/__stories__/MultipleQuestions.d.ts +0 -1
  248. package/core/TextInput/__stories__/WithErrorMessage.d.ts +0 -1
  249. package/core/TextInput/__stories__/WithHint.d.ts +0 -1
  250. package/core/VisuallyHidden/__stories__/Default.d.ts +0 -1
  251. package/core/WarningText/__stories__/Default.d.ts +0 -1
  252. package/core/WarningText/index.spec.js +1 -3
  253. package/core/index.d.ts +4 -0
  254. package/core/index.js +56 -0
  255. package/es/admin/AutoComplete/__stories__/Default.js +1 -1
  256. package/es/admin/AutoComplete/__stories__/WithAutoSelect.js +13 -2
  257. package/es/admin/AutoComplete/__stories__/WithDefaultValue.js +1 -1
  258. package/es/admin/AutoComplete/__stories__/WithInLine.js +1 -1
  259. package/es/admin/AutoComplete/__stories__/WithMinLength.js +1 -1
  260. package/es/admin/AutoComplete/__stories__/WithPlaceHolder.js +1 -1
  261. package/es/admin/AutoComplete/__stories__/WithShowAllValues.js +1 -1
  262. package/es/admin/AutoComplete/__stories__/utils.js +6 -0
  263. package/es/admin/AutoComplete/index.js +6 -45
  264. package/es/admin/AutoComplete/utils.js +18 -5
  265. package/es/admin/Chip/index.js +2 -0
  266. package/es/admin/CopyToClipboard/index.js +2 -1
  267. package/es/admin/Drawer/Drawer.stories.js +2 -5
  268. package/es/admin/Drawer/__stories__/Default.js +13 -13
  269. package/es/admin/Drawer/index.js +1 -0
  270. package/es/admin/DropdownArrowDown/index.js +3 -0
  271. package/es/admin/StepNav/StepNav.stories.js +7 -0
  272. package/es/admin/StepNav/__stories__/Default.js +97 -0
  273. package/es/admin/StepNav/index.js +15 -0
  274. package/es/admin/index.js +3 -1
  275. package/es/app/App.js +5 -18
  276. package/es/app/Footer/Footer.stories.js +1 -0
  277. package/es/app/Footer/__stories__/DefaultCopyright.js +16 -0
  278. package/es/app/Footer/__stories__/FooterAllInclusive.js +9 -4
  279. package/es/app/Footer/__stories__/FooterWithLink.js +1 -1
  280. package/es/app/Footer/__stories__/FooterWithLogo.js +4 -2
  281. package/es/app/Header/__stories__/Default.js +2 -3
  282. package/es/app/Header/__stories__/WithNavigation.js +2 -3
  283. package/es/app/Header/__stories__/WithServiceName.js +2 -3
  284. package/es/app/Header/__stories__/WithServiceNameAndLogo.js +4 -4
  285. package/es/app/Header/index.spec.js +1 -2
  286. package/es/app/i18n.js +16 -2
  287. package/es/core/Base/index.js +3 -0
  288. package/es/core/Button/__stories__/GroupingButtons.js +1 -1
  289. package/es/core/Checkboxes/__stories__/NoneAnswerWithError.js +2 -2
  290. package/es/core/ErrorSummary/index.spec.js +2 -3
  291. package/es/core/FileUpload/__stories__/WithErrorMessage.js +2 -2
  292. package/es/core/Form/index.js +3 -0
  293. package/es/core/Label/index.js +4 -0
  294. package/es/core/Link/index.js +2 -1
  295. package/es/core/List/ListItemContent.js +9 -22
  296. package/es/core/List/ListItemIcon.js +9 -24
  297. package/es/core/List/ListItemText.js +6 -10
  298. package/es/core/List/ListItemTitle.js +6 -10
  299. package/es/core/List/index.spec.js +1 -2
  300. package/es/core/NavList/NavHorizontal.js +3 -0
  301. package/es/core/NavList/NavHorizontalList.js +3 -0
  302. package/es/core/NavList/NavHorizontalListItem.js +3 -0
  303. package/es/core/NavList/NavVertical.js +3 -0
  304. package/es/core/NavList/NavVerticalItem.js +3 -0
  305. package/es/core/NavList/index.js +6 -1
  306. package/es/core/NavList/index.spec.js +1 -2
  307. package/es/core/NotificationBanner/index.spec.js +3 -4
  308. package/es/core/SkipLink/index.js +3 -0
  309. package/es/core/SummaryList/SummaryList.stories.js +2 -1
  310. package/es/core/SummaryList/__stories__/Default.js +5 -1
  311. package/es/core/SummaryList/__stories__/WithKeyAndAction.js +20 -0
  312. package/es/core/SvgIcon/index.js +1 -0
  313. package/es/core/WarningText/index.spec.js +1 -2
  314. package/es/core/index.js +4 -0
  315. package/es/govgr/Footer/Copyright.js +4 -3
  316. package/es/govgr/Footer/index.mdx +1 -1
  317. package/es/govgr/images/govgr-logo-base64.js +1 -0
  318. package/es/govgr/images/greek-government-base64.js +1 -0
  319. package/es/govgr/images/grnet-logo-base64.js +1 -0
  320. package/es/govgr/images/minedu-logo-base64.js +1 -0
  321. package/es/layouts/Basic/Content/index.js +3 -1
  322. package/es/layouts/Basic/Side/index.js +2 -1
  323. package/es/layouts/Basic/__stories__/Default.js +2 -2
  324. package/es/layouts/Basic/index.js +2 -1
  325. package/es/locales/el.js +8 -1
  326. package/es/locales/en.js +6 -0
  327. package/es/registry.js +110 -90
  328. package/es/typography/Caption/index.js +2 -1
  329. package/es/typography/NormalText/__stories__/FontWeight.js +5 -5
  330. package/es/typography/Paragraph/__stories__/FontWeight.js +4 -4
  331. package/es/typography/Title/index.js +2 -1
  332. package/esm/admin/AutoComplete/__stories__/Default.js +1 -1
  333. package/esm/admin/AutoComplete/__stories__/WithAutoSelect.js +13 -2
  334. package/esm/admin/AutoComplete/__stories__/WithDefaultValue.js +1 -1
  335. package/esm/admin/AutoComplete/__stories__/WithInLine.js +1 -1
  336. package/esm/admin/AutoComplete/__stories__/WithMinLength.js +1 -1
  337. package/esm/admin/AutoComplete/__stories__/WithPlaceHolder.js +1 -1
  338. package/esm/admin/AutoComplete/__stories__/WithShowAllValues.js +1 -1
  339. package/esm/admin/AutoComplete/__stories__/utils.js +6 -0
  340. package/esm/admin/AutoComplete/index.js +6 -45
  341. package/esm/admin/AutoComplete/utils.js +18 -5
  342. package/esm/admin/Chip/index.js +2 -0
  343. package/esm/admin/CopyToClipboard/index.js +2 -1
  344. package/esm/admin/Drawer/Drawer.stories.js +2 -5
  345. package/esm/admin/Drawer/__stories__/Default.js +13 -13
  346. package/esm/admin/Drawer/index.js +1 -0
  347. package/esm/admin/DropdownArrowDown/index.js +3 -0
  348. package/esm/admin/StepNav/StepNav.stories.js +7 -0
  349. package/esm/admin/StepNav/__stories__/Default.js +97 -0
  350. package/esm/admin/StepNav/index.js +15 -0
  351. package/esm/admin/index.js +3 -1
  352. package/esm/app/App.js +5 -18
  353. package/esm/app/Footer/Footer.stories.js +1 -0
  354. package/esm/app/Footer/__stories__/DefaultCopyright.js +16 -0
  355. package/esm/app/Footer/__stories__/FooterAllInclusive.js +9 -4
  356. package/esm/app/Footer/__stories__/FooterWithLink.js +1 -1
  357. package/esm/app/Footer/__stories__/FooterWithLogo.js +4 -2
  358. package/esm/app/Header/__stories__/Default.js +2 -3
  359. package/esm/app/Header/__stories__/WithNavigation.js +2 -3
  360. package/esm/app/Header/__stories__/WithServiceName.js +2 -3
  361. package/esm/app/Header/__stories__/WithServiceNameAndLogo.js +4 -4
  362. package/esm/app/Header/index.spec.js +1 -2
  363. package/esm/app/i18n.js +16 -2
  364. package/esm/core/Base/index.js +3 -0
  365. package/esm/core/Button/__stories__/GroupingButtons.js +1 -1
  366. package/esm/core/Checkboxes/__stories__/NoneAnswerWithError.js +2 -2
  367. package/esm/core/ErrorSummary/index.spec.js +2 -3
  368. package/esm/core/FileUpload/__stories__/WithErrorMessage.js +2 -2
  369. package/esm/core/Form/index.js +3 -0
  370. package/esm/core/Label/index.js +4 -0
  371. package/esm/core/Link/index.js +2 -1
  372. package/esm/core/List/ListItemContent.js +9 -22
  373. package/esm/core/List/ListItemIcon.js +9 -24
  374. package/esm/core/List/ListItemText.js +6 -10
  375. package/esm/core/List/ListItemTitle.js +6 -10
  376. package/esm/core/List/index.spec.js +1 -2
  377. package/esm/core/NavList/NavHorizontal.js +3 -0
  378. package/esm/core/NavList/NavHorizontalList.js +3 -0
  379. package/esm/core/NavList/NavHorizontalListItem.js +3 -0
  380. package/esm/core/NavList/NavVertical.js +3 -0
  381. package/esm/core/NavList/NavVerticalItem.js +3 -0
  382. package/esm/core/NavList/index.js +6 -1
  383. package/esm/core/NavList/index.spec.js +1 -2
  384. package/esm/core/NotificationBanner/index.spec.js +3 -4
  385. package/esm/core/SkipLink/index.js +3 -0
  386. package/esm/core/SummaryList/SummaryList.stories.js +2 -1
  387. package/esm/core/SummaryList/__stories__/Default.js +5 -1
  388. package/esm/core/SummaryList/__stories__/WithKeyAndAction.js +20 -0
  389. package/esm/core/SvgIcon/index.js +1 -0
  390. package/esm/core/WarningText/index.spec.js +1 -2
  391. package/esm/core/index.js +4 -0
  392. package/esm/govgr/Footer/Copyright.js +4 -3
  393. package/esm/govgr/Footer/index.mdx +1 -1
  394. package/esm/govgr/images/govgr-logo-base64.js +1 -0
  395. package/esm/govgr/images/greek-government-base64.js +1 -0
  396. package/esm/govgr/images/grnet-logo-base64.js +1 -0
  397. package/esm/govgr/images/minedu-logo-base64.js +1 -0
  398. package/esm/index.js +1 -1
  399. package/esm/layouts/Basic/Content/index.js +3 -1
  400. package/esm/layouts/Basic/Side/index.js +2 -1
  401. package/esm/layouts/Basic/__stories__/Default.js +2 -2
  402. package/esm/layouts/Basic/index.js +2 -1
  403. package/esm/locales/el.js +8 -1
  404. package/esm/locales/en.js +6 -0
  405. package/esm/registry.js +110 -90
  406. package/esm/typography/Caption/index.js +2 -1
  407. package/esm/typography/NormalText/__stories__/FontWeight.js +5 -5
  408. package/esm/typography/Paragraph/__stories__/FontWeight.js +4 -4
  409. package/esm/typography/Title/index.js +2 -1
  410. package/govgr/Footer/Copyright.js +4 -3
  411. package/govgr/Footer/index.mdx +1 -1
  412. package/govgr/images/govgr-logo-base64.d.ts +2 -0
  413. package/govgr/images/govgr-logo-base64.js +8 -0
  414. package/govgr/images/greek-government-base64.d.ts +2 -0
  415. package/govgr/images/greek-government-base64.js +8 -0
  416. package/govgr/images/grnet-logo-base64.d.ts +2 -0
  417. package/govgr/images/grnet-logo-base64.js +8 -0
  418. package/govgr/images/minedu-logo-base64.d.ts +2 -0
  419. package/govgr/images/minedu-logo-base64.js +8 -0
  420. package/layouts/Basic/Content/index.d.ts +3 -1
  421. package/layouts/Basic/Content/index.js +6 -0
  422. package/layouts/Basic/Side/index.d.ts +3 -1
  423. package/layouts/Basic/Side/index.js +6 -0
  424. package/layouts/Basic/Top/index.d.ts +1 -1
  425. package/layouts/Basic/__stories__/Default.d.ts +2 -3
  426. package/layouts/Basic/__stories__/Default.js +4 -4
  427. package/layouts/Basic/__stories__/MultipleRowsLayout.d.ts +0 -1
  428. package/layouts/Basic/__stories__/TwoThirdsOneThirdColumns.d.ts +0 -1
  429. package/layouts/Basic/index.d.ts +1 -0
  430. package/layouts/Basic/index.js +9 -1
  431. package/layouts/Grid/__stories__/Default.d.ts +0 -1
  432. package/layouts/Grid/__stories__/Inline.d.ts +0 -1
  433. package/locales/el.d.ts +7 -0
  434. package/locales/el.js +8 -1
  435. package/locales/en.d.ts +6 -0
  436. package/locales/en.js +6 -0
  437. package/package.json +4 -4
  438. package/registry.d.ts +54 -45
  439. package/registry.js +158 -129
  440. package/typography/Caption/__stories__/Default.d.ts +0 -1
  441. package/typography/Caption/__stories__/NestedToTitle.d.ts +0 -1
  442. package/typography/Caption/index.d.ts +3 -2
  443. package/typography/Caption/index.js +8 -1
  444. package/typography/Hint/__stories__/Default.d.ts +0 -1
  445. package/typography/Hint/__stories__/FontSizes.d.ts +0 -1
  446. package/typography/NormalText/__stories__/Default.d.ts +0 -1
  447. package/typography/NormalText/__stories__/FontSizes.d.ts +0 -1
  448. package/typography/NormalText/__stories__/FontWeight.d.ts +2 -3
  449. package/typography/NormalText/__stories__/FontWeight.js +4 -4
  450. package/typography/NormalText/__stories__/Variants.d.ts +0 -1
  451. package/typography/Paragraph/__stories__/Default.d.ts +0 -1
  452. package/typography/Paragraph/__stories__/FontSizes.d.ts +0 -1
  453. package/typography/Paragraph/__stories__/FontWeight.d.ts +2 -3
  454. package/typography/Paragraph/__stories__/FontWeight.js +4 -4
  455. package/typography/Paragraph/__stories__/LeadVariant.d.ts +0 -1
  456. package/typography/Paragraph/__stories__/SmallVariant.d.ts +0 -1
  457. package/typography/Title/__stories__/Default.d.ts +0 -1
  458. package/typography/Title/index.d.ts +2 -1
  459. package/typography/Title/index.js +6 -0
  460. package/admin/AutoComplete/AccesibleAutoComplete/index.d.ts +0 -5
  461. package/admin/AutoComplete/AccesibleAutoComplete/index.js +0 -106
  462. package/es/admin/AutoComplete/AccesibleAutoComplete/index.js +0 -87
  463. package/es/test-utils/mountWithTheme.js +0 -30
  464. package/es/themes/govgr.js +0 -79
  465. package/es/themes/index.js +0 -2
  466. package/esm/admin/AutoComplete/AccesibleAutoComplete/index.js +0 -87
  467. package/esm/test-utils/mountWithTheme.js +0 -30
  468. package/esm/themes/govgr.js +0 -79
  469. package/esm/themes/index.js +0 -2
  470. package/test-utils/mountWithTheme.d.ts +0 -3
  471. package/test-utils/mountWithTheme.js +0 -43
  472. package/themes/govgr.d.ts +0 -3
  473. package/themes/govgr.js +0 -89
  474. package/themes/index.d.ts +0 -32
  475. package/themes/index.js +0 -19
package/themes/govgr.js DELETED
@@ -1,89 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = exports.PORTAL_URL = void 0;
7
-
8
- var _styles = require("@material-ui/core/styles");
9
-
10
- var PORTAL_URL = 'http://34.194.85.187/';
11
- exports.PORTAL_URL = PORTAL_URL;
12
- var linkStyle = {
13
- color: '#046ec5',
14
- '&:hover': {
15
- color: '#4c2c92'
16
- },
17
- '&:visited': {
18
- color: '#4c2c92'
19
- },
20
- '&:active': {
21
- color: '#212529'
22
- }
23
- };
24
- var theme = (0, _styles.createMuiTheme)({
25
- overrides: {
26
- MuiCssBaseline: {
27
- '@global': {
28
- body: {
29
- background: '#fff'
30
- },
31
- a: linkStyle
32
- }
33
- },
34
- MuiBaseLink: {
35
- root: linkStyle
36
- },
37
- MuiButton: {
38
- root: {
39
- borderRadius: 4
40
- }
41
- }
42
- },
43
- shape: {
44
- borderRadius: 8
45
- },
46
- palette: {
47
- primary: {
48
- main: '#003476'
49
- },
50
- secondary: {
51
- main: '#046ec5'
52
- },
53
- success: {
54
- main: '#00703c'
55
- },
56
- error: {
57
- main: '#ca2e2e'
58
- },
59
- warning: {
60
- main: '#C25400'
61
- },
62
- info: {
63
- main: '#036ec5'
64
- }
65
- },
66
- typography: {
67
- htmlFontSize: 14
68
- },
69
- header: {
70
- logo: {
71
- height: 45
72
- },
73
- border: {
74
- width: '100%',
75
- height: 8,
76
- background: '#046ec5'
77
- },
78
- height: '75px'
79
- },
80
- footer: {
81
- main: '#eeeeee',
82
- link: '#00aeef',
83
- contrastText: '#fff'
84
- },
85
- spacing: 8
86
- });
87
- theme = (0, _styles.responsiveFontSizes)(theme, ['sm', 'md', 'lg']);
88
- var _default = theme;
89
- exports["default"] = _default;
package/themes/index.d.ts DELETED
@@ -1,32 +0,0 @@
1
- import { ReactChild } from 'react';
2
- import { useTheme, makeStyles } from '@material-ui/core';
3
- interface Logo {
4
- component: ReactChild;
5
- height: string | number;
6
- }
7
- interface Footer {
8
- link: string;
9
- contrastText: string;
10
- main: string;
11
- component?: ReactChild;
12
- }
13
- interface Header {
14
- logo: Logo;
15
- border: {
16
- width: string | number;
17
- height: string | number;
18
- background: string;
19
- };
20
- height: string | number;
21
- }
22
- declare module '@material-ui/core/styles/createMuiTheme' {
23
- interface Theme {
24
- header: Header;
25
- footer: Footer;
26
- }
27
- interface ThemeOptions {
28
- header: Header;
29
- footer: Footer;
30
- }
31
- }
32
- export { useTheme, makeStyles };
package/themes/index.js DELETED
@@ -1,19 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "makeStyles", {
7
- enumerable: true,
8
- get: function get() {
9
- return _core.makeStyles;
10
- }
11
- });
12
- Object.defineProperty(exports, "useTheme", {
13
- enumerable: true,
14
- get: function get() {
15
- return _core.useTheme;
16
- }
17
- });
18
-
19
- var _core = require("@material-ui/core");