@digigov/ui 1.0.0-290a96e2 → 1.0.0-3bfc7d37

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 (335) hide show
  1. package/app/BannerContainer/BannerContainer.stories.d.ts +10 -0
  2. package/app/BannerContainer/BannerContainer.stories.js +35 -0
  3. package/app/BannerContainer/__stories__/CookiesBanner.d.ts +2 -0
  4. package/app/BannerContainer/__stories__/CookiesBanner.js +42 -0
  5. package/app/Footer/__stories__/FooterAllInclusive.js +33 -23
  6. package/app/Footer/__stories__/FooterWithLink.js +16 -12
  7. package/app/Footer/__stories__/FooterWithLogo.js +17 -15
  8. package/app/Footer/__stories__/FooterWithSecondaryNavigation.js +18 -14
  9. package/app/Masthead/Masthead.stories.d.ts +2 -0
  10. package/app/Masthead/Masthead.stories.js +28 -0
  11. package/app/Masthead/__stories__/WithElements.d.ts +2 -0
  12. package/app/Masthead/__stories__/WithElements.js +41 -0
  13. package/app/Masthead/__stories__/WithLogo.d.ts +2 -0
  14. package/app/Masthead/__stories__/WithLogo.js +37 -0
  15. package/content/Blockquote/Blockquote.stories.d.ts +1 -0
  16. package/content/Blockquote/Blockquote.stories.js +14 -0
  17. package/content/Blockquote/__stories__/Dense.d.ts +2 -0
  18. package/content/Blockquote/__stories__/Dense.js +24 -0
  19. package/content/Card/Card.stories.d.ts +2 -0
  20. package/content/Card/Card.stories.js +28 -0
  21. package/content/Card/__stories__/Default.js +1 -1
  22. package/content/Card/__stories__/Dense.d.ts +2 -0
  23. package/content/Card/__stories__/Dense.js +28 -0
  24. package/content/Card/__stories__/WithLink.d.ts +2 -0
  25. package/content/Card/__stories__/WithLink.js +24 -0
  26. package/content/StepNav/StepNav.stories.d.ts +1 -0
  27. package/content/StepNav/StepNav.stories.js +14 -0
  28. package/content/StepNav/__stories__/Dense.d.ts +2 -0
  29. package/content/StepNav/__stories__/Dense.js +204 -0
  30. package/content/SummaryList/SummaryList.stories.d.ts +1 -0
  31. package/content/SummaryList/SummaryList.stories.js +14 -0
  32. package/content/SummaryList/__stories__/Default.js +7 -3
  33. package/content/SummaryList/__stories__/WithActions.js +13 -7
  34. package/content/SummaryList/__stories__/WithoutActions.d.ts +2 -0
  35. package/content/SummaryList/__stories__/WithoutActions.js +22 -0
  36. package/content/SummaryList/__stories__/WithoutBorders.js +12 -2
  37. package/content/Table/__stories__/RowColors.js +5 -5
  38. package/content/TaskList/TaskList.stories.d.ts +1 -0
  39. package/content/TaskList/TaskList.stories.js +14 -0
  40. package/content/TaskList/__stories__/Dense.d.ts +2 -0
  41. package/content/TaskList/__stories__/Dense.js +93 -0
  42. package/content/Timeline/Timeline.stories.d.ts +1 -0
  43. package/content/Timeline/Timeline.stories.js +14 -0
  44. package/content/Timeline/__stories__/Default.js +2 -4
  45. package/content/Timeline/__stories__/Dense.d.ts +2 -0
  46. package/content/Timeline/__stories__/Dense.js +141 -0
  47. package/es/app/BannerContainer/BannerContainer.stories.js +10 -0
  48. package/es/app/BannerContainer/__stories__/CookiesBanner.js +18 -0
  49. package/es/app/Footer/__stories__/FooterAllInclusive.js +33 -23
  50. package/es/app/Footer/__stories__/FooterWithLink.js +16 -12
  51. package/es/app/Footer/__stories__/FooterWithLogo.js +17 -15
  52. package/es/app/Footer/__stories__/FooterWithSecondaryNavigation.js +18 -14
  53. package/es/app/Masthead/Masthead.stories.js +3 -1
  54. package/es/app/Masthead/__stories__/WithElements.js +21 -0
  55. package/es/app/Masthead/__stories__/WithLogo.js +19 -0
  56. package/es/content/Blockquote/Blockquote.stories.js +2 -1
  57. package/es/content/Blockquote/__stories__/Dense.js +11 -0
  58. package/es/content/Card/Card.stories.js +3 -1
  59. package/es/content/Card/__stories__/Default.js +1 -1
  60. package/es/content/Card/__stories__/Dense.js +14 -0
  61. package/es/content/Card/__stories__/WithLink.js +10 -0
  62. package/es/content/StepNav/StepNav.stories.js +2 -1
  63. package/es/content/StepNav/__stories__/Dense.js +180 -0
  64. package/es/content/SummaryList/SummaryList.stories.js +1 -0
  65. package/es/content/SummaryList/__stories__/Default.js +7 -3
  66. package/es/content/SummaryList/__stories__/WithActions.js +5 -5
  67. package/es/content/SummaryList/__stories__/WithoutActions.js +9 -0
  68. package/es/content/SummaryList/__stories__/WithoutBorders.js +10 -2
  69. package/es/content/Table/__stories__/RowColors.js +5 -5
  70. package/es/content/TaskList/TaskList.stories.js +2 -1
  71. package/es/content/TaskList/__stories__/Dense.js +76 -0
  72. package/es/content/Timeline/Timeline.stories.js +2 -1
  73. package/es/content/Timeline/__stories__/Default.js +2 -4
  74. package/es/content/Timeline/__stories__/Dense.js +124 -0
  75. package/es/feedback/ErrorSummary/ErrorSummary.stories.js +2 -1
  76. package/es/feedback/ErrorSummary/__stories__/LinkedToCheckbox.js +2 -1
  77. package/es/feedback/ErrorSummary/__stories__/LinkedToField.js +3 -3
  78. package/es/feedback/ErrorSummary/__stories__/WithBackLinkAndButton.js +35 -0
  79. package/es/form/Button/__stories__/CallToActionButton.js +1 -4
  80. package/es/form/Button/__stories__/GroupingButtons.js +0 -3
  81. package/es/form/Button/__stories__/GroupingButtonsAndLinks.js +0 -3
  82. package/es/form/Button/__stories__/Primary.js +0 -3
  83. package/es/form/Button/__stories__/Secondary.js +0 -3
  84. package/es/form/Button/__stories__/WithVariantLink.js +0 -4
  85. package/es/form/Checkbox/__stories__/WithHint.js +1 -1
  86. package/es/form/DateInputContainer/__stories__/Default.js +1 -1
  87. package/es/form/DateInputContainer/__stories__/MultipleQuestions.js +2 -2
  88. package/es/form/DateInputContainer/__stories__/WithErrorMessage.js +1 -1
  89. package/es/form/DateInputContainer/__stories__/WithErrorMessageForSingleField.js +1 -1
  90. package/es/form/ErrorMessage/ErrorMessage.stories.js +3 -1
  91. package/es/form/ErrorMessage/__stories__/DateInputError.js +24 -0
  92. package/es/form/ErrorMessage/__stories__/Default.js +11 -8
  93. package/es/form/ErrorMessage/__stories__/ErrorMessageOnly.js +12 -0
  94. package/es/form/FileUpload/__stories__/Default.js +2 -2
  95. package/es/form/FileUpload/__stories__/WithErrorMessage.js +2 -2
  96. package/es/form/RadioContainer/RadioContainer.stories.js +1 -0
  97. package/es/form/RadioContainer/__stories__/Default.js +7 -4
  98. package/es/form/RadioContainer/__stories__/InlineWithDivider.js +5 -5
  99. package/es/form/RadioContainer/__stories__/MultipleQuestions.js +1 -1
  100. package/es/form/RadioContainer/__stories__/NoneAnswer.js +6 -2
  101. package/es/form/RadioContainer/__stories__/WithErrorMessage.js +3 -1
  102. package/es/form/RadioContainer/__stories__/WithHints.js +1 -1
  103. package/es/form/RadioContainer/__stories__/WithMediumLegend.js +24 -0
  104. package/es/form/TextInput/__stories__/FixedWidths.js +8 -18
  105. package/es/form/TextInput/__stories__/FluidWidths.js +8 -18
  106. package/es/govgr/Footer/Copyright.js +3 -3
  107. package/es/icons/ImageLogo/index.js +3 -0
  108. package/es/icons/ImageLogoSet/index.js +3 -0
  109. package/es/navigation/NavList/NavList.stories.js +5 -1
  110. package/es/navigation/NavList/NavList.stories.playwright.json +5 -5
  111. package/es/navigation/NavList/__stories__/Default.js +20 -54
  112. package/es/navigation/NavList/__stories__/NavVertical.js +37 -0
  113. package/es/navigation/NavList/__stories__/NavVerticalWithTitle.js +43 -0
  114. package/es/navigation/NavList/__stories__/WithBurgerIcon.js +56 -0
  115. package/es/navigation/NavList/__stories__/WithSubMenu.js +73 -0
  116. package/es/navigation/Tabs/__stories__/Default.js +15 -4
  117. package/es/registry.js +8 -2
  118. package/esm/app/BannerContainer/BannerContainer.stories.js +10 -0
  119. package/esm/app/BannerContainer/__stories__/CookiesBanner.js +18 -0
  120. package/esm/app/Footer/__stories__/FooterAllInclusive.js +33 -23
  121. package/esm/app/Footer/__stories__/FooterWithLink.js +16 -12
  122. package/esm/app/Footer/__stories__/FooterWithLogo.js +17 -15
  123. package/esm/app/Footer/__stories__/FooterWithSecondaryNavigation.js +18 -14
  124. package/esm/app/Masthead/Masthead.stories.js +3 -1
  125. package/esm/app/Masthead/__stories__/WithElements.js +21 -0
  126. package/esm/app/Masthead/__stories__/WithLogo.js +19 -0
  127. package/esm/content/Blockquote/Blockquote.stories.js +2 -1
  128. package/esm/content/Blockquote/__stories__/Dense.js +11 -0
  129. package/esm/content/Card/Card.stories.js +3 -1
  130. package/esm/content/Card/__stories__/Default.js +1 -1
  131. package/esm/content/Card/__stories__/Dense.js +14 -0
  132. package/esm/content/Card/__stories__/WithLink.js +10 -0
  133. package/esm/content/StepNav/StepNav.stories.js +2 -1
  134. package/esm/content/StepNav/__stories__/Dense.js +180 -0
  135. package/esm/content/SummaryList/SummaryList.stories.js +1 -0
  136. package/esm/content/SummaryList/__stories__/Default.js +7 -3
  137. package/esm/content/SummaryList/__stories__/WithActions.js +5 -5
  138. package/esm/content/SummaryList/__stories__/WithoutActions.js +9 -0
  139. package/esm/content/SummaryList/__stories__/WithoutBorders.js +10 -2
  140. package/esm/content/Table/__stories__/RowColors.js +5 -5
  141. package/esm/content/TaskList/TaskList.stories.js +2 -1
  142. package/esm/content/TaskList/__stories__/Dense.js +76 -0
  143. package/esm/content/Timeline/Timeline.stories.js +2 -1
  144. package/esm/content/Timeline/__stories__/Default.js +2 -4
  145. package/esm/content/Timeline/__stories__/Dense.js +124 -0
  146. package/esm/feedback/ErrorSummary/ErrorSummary.stories.js +2 -1
  147. package/esm/feedback/ErrorSummary/__stories__/LinkedToCheckbox.js +2 -1
  148. package/esm/feedback/ErrorSummary/__stories__/LinkedToField.js +3 -3
  149. package/esm/feedback/ErrorSummary/__stories__/WithBackLinkAndButton.js +35 -0
  150. package/esm/form/Button/__stories__/CallToActionButton.js +1 -4
  151. package/esm/form/Button/__stories__/GroupingButtons.js +0 -3
  152. package/esm/form/Button/__stories__/GroupingButtonsAndLinks.js +0 -3
  153. package/esm/form/Button/__stories__/Primary.js +0 -3
  154. package/esm/form/Button/__stories__/Secondary.js +0 -3
  155. package/esm/form/Button/__stories__/WithVariantLink.js +0 -4
  156. package/esm/form/Checkbox/__stories__/WithHint.js +1 -1
  157. package/esm/form/DateInputContainer/__stories__/Default.js +1 -1
  158. package/esm/form/DateInputContainer/__stories__/MultipleQuestions.js +2 -2
  159. package/esm/form/DateInputContainer/__stories__/WithErrorMessage.js +1 -1
  160. package/esm/form/DateInputContainer/__stories__/WithErrorMessageForSingleField.js +1 -1
  161. package/esm/form/ErrorMessage/ErrorMessage.stories.js +3 -1
  162. package/esm/form/ErrorMessage/__stories__/DateInputError.js +24 -0
  163. package/esm/form/ErrorMessage/__stories__/Default.js +11 -8
  164. package/esm/form/ErrorMessage/__stories__/ErrorMessageOnly.js +12 -0
  165. package/esm/form/FileUpload/__stories__/Default.js +2 -2
  166. package/esm/form/FileUpload/__stories__/WithErrorMessage.js +2 -2
  167. package/esm/form/RadioContainer/RadioContainer.stories.js +1 -0
  168. package/esm/form/RadioContainer/__stories__/Default.js +7 -4
  169. package/esm/form/RadioContainer/__stories__/InlineWithDivider.js +5 -5
  170. package/esm/form/RadioContainer/__stories__/MultipleQuestions.js +1 -1
  171. package/esm/form/RadioContainer/__stories__/NoneAnswer.js +6 -2
  172. package/esm/form/RadioContainer/__stories__/WithErrorMessage.js +3 -1
  173. package/esm/form/RadioContainer/__stories__/WithHints.js +1 -1
  174. package/esm/form/RadioContainer/__stories__/WithMediumLegend.js +24 -0
  175. package/esm/form/TextInput/__stories__/FixedWidths.js +8 -18
  176. package/esm/form/TextInput/__stories__/FluidWidths.js +8 -18
  177. package/esm/govgr/Footer/Copyright.js +3 -3
  178. package/esm/icons/ImageLogo/index.js +3 -0
  179. package/esm/icons/ImageLogoSet/index.js +3 -0
  180. package/esm/index.js +1 -1
  181. package/esm/navigation/NavList/NavList.stories.js +5 -1
  182. package/esm/navigation/NavList/NavList.stories.playwright.json +5 -5
  183. package/esm/navigation/NavList/__stories__/Default.js +20 -54
  184. package/esm/navigation/NavList/__stories__/NavVertical.js +37 -0
  185. package/esm/navigation/NavList/__stories__/NavVerticalWithTitle.js +43 -0
  186. package/esm/navigation/NavList/__stories__/WithBurgerIcon.js +56 -0
  187. package/esm/navigation/NavList/__stories__/WithSubMenu.js +73 -0
  188. package/esm/navigation/Tabs/__stories__/Default.js +15 -4
  189. package/esm/registry.js +8 -2
  190. package/feedback/ErrorSummary/ErrorSummary.stories.d.ts +1 -0
  191. package/feedback/ErrorSummary/ErrorSummary.stories.js +14 -0
  192. package/feedback/ErrorSummary/__stories__/LinkedToCheckbox.js +3 -1
  193. package/feedback/ErrorSummary/__stories__/LinkedToField.js +3 -3
  194. package/feedback/ErrorSummary/__stories__/WithBackLinkAndButton.d.ts +2 -0
  195. package/feedback/ErrorSummary/__stories__/WithBackLinkAndButton.js +57 -0
  196. package/form/Button/__stories__/CallToActionButton.d.ts +0 -3
  197. package/form/Button/__stories__/CallToActionButton.js +1 -4
  198. package/form/Button/__stories__/GroupingButtons.d.ts +0 -3
  199. package/form/Button/__stories__/GroupingButtons.js +0 -3
  200. package/form/Button/__stories__/GroupingButtonsAndLinks.d.ts +0 -3
  201. package/form/Button/__stories__/GroupingButtonsAndLinks.js +0 -3
  202. package/form/Button/__stories__/Primary.d.ts +0 -3
  203. package/form/Button/__stories__/Primary.js +0 -3
  204. package/form/Button/__stories__/Secondary.d.ts +0 -3
  205. package/form/Button/__stories__/Secondary.js +0 -3
  206. package/form/Button/__stories__/WithVariantLink.d.ts +0 -3
  207. package/form/Button/__stories__/WithVariantLink.js +0 -3
  208. package/form/Checkbox/__stories__/WithHint.js +1 -1
  209. package/form/DateInputContainer/__stories__/Default.js +1 -1
  210. package/form/DateInputContainer/__stories__/MultipleQuestions.js +2 -2
  211. package/form/DateInputContainer/__stories__/WithErrorMessage.js +1 -1
  212. package/form/DateInputContainer/__stories__/WithErrorMessageForSingleField.js +1 -1
  213. package/form/ErrorMessage/ErrorMessage.stories.d.ts +2 -0
  214. package/form/ErrorMessage/ErrorMessage.stories.js +28 -0
  215. package/form/ErrorMessage/__stories__/DateInputError.d.ts +2 -0
  216. package/form/ErrorMessage/__stories__/DateInputError.js +41 -0
  217. package/form/ErrorMessage/__stories__/Default.js +11 -8
  218. package/form/ErrorMessage/__stories__/ErrorMessageOnly.d.ts +2 -0
  219. package/form/ErrorMessage/__stories__/ErrorMessageOnly.js +26 -0
  220. package/form/FileUpload/__stories__/Default.js +2 -2
  221. package/form/FileUpload/__stories__/WithErrorMessage.js +2 -2
  222. package/form/RadioContainer/RadioContainer.stories.d.ts +1 -0
  223. package/form/RadioContainer/RadioContainer.stories.js +14 -0
  224. package/form/RadioContainer/__stories__/Default.js +7 -4
  225. package/form/RadioContainer/__stories__/InlineWithDivider.js +6 -6
  226. package/form/RadioContainer/__stories__/MultipleQuestions.js +1 -1
  227. package/form/RadioContainer/__stories__/NoneAnswer.js +6 -2
  228. package/form/RadioContainer/__stories__/WithErrorMessage.js +3 -1
  229. package/form/RadioContainer/__stories__/WithHints.js +1 -1
  230. package/form/RadioContainer/__stories__/WithMediumLegend.d.ts +2 -0
  231. package/form/RadioContainer/__stories__/WithMediumLegend.js +38 -0
  232. package/form/TextInput/__stories__/FixedWidths.js +8 -18
  233. package/form/TextInput/__stories__/FluidWidths.js +8 -18
  234. package/govgr/Footer/Copyright.js +3 -3
  235. package/icons/ImageLogo/index.d.ts +3 -0
  236. package/icons/ImageLogo/index.js +30 -0
  237. package/icons/ImageLogoSet/index.d.ts +3 -0
  238. package/icons/ImageLogoSet/index.js +30 -0
  239. package/navigation/NavList/NavList.stories.d.ts +4 -0
  240. package/navigation/NavList/NavList.stories.js +56 -0
  241. package/navigation/NavList/NavList.stories.playwright.json +5 -5
  242. package/navigation/NavList/__stories__/Default.js +19 -60
  243. package/navigation/NavList/__stories__/NavVertical.d.ts +2 -0
  244. package/navigation/NavList/__stories__/NavVertical.js +53 -0
  245. package/navigation/NavList/__stories__/NavVerticalWithTitle.d.ts +2 -0
  246. package/navigation/NavList/__stories__/NavVerticalWithTitle.js +59 -0
  247. package/navigation/NavList/__stories__/WithBurgerIcon.d.ts +2 -0
  248. package/navigation/NavList/__stories__/WithBurgerIcon.js +82 -0
  249. package/navigation/NavList/__stories__/WithSubMenu.d.ts +2 -0
  250. package/navigation/NavList/__stories__/WithSubMenu.js +96 -0
  251. package/navigation/Tabs/__stories__/Default.js +16 -4
  252. package/package.json +3 -3
  253. package/registry.d.ts +6 -2
  254. package/registry.js +11 -2
  255. package/src/app/BannerContainer/BannerContainer.stories.js +12 -0
  256. package/src/app/BannerContainer/__stories__/CookiesBanner.tsx +32 -0
  257. package/src/app/Footer/__stories__/Default.tsx +1 -1
  258. package/src/app/Footer/__stories__/FooterAllInclusive.tsx +14 -18
  259. package/src/app/Footer/__stories__/FooterWithLink.tsx +5 -7
  260. package/src/app/Footer/__stories__/FooterWithLogo.tsx +11 -13
  261. package/src/app/Footer/__stories__/FooterWithSecondaryNavigation.tsx +58 -58
  262. package/src/app/Masthead/Masthead.stories.js +2 -0
  263. package/src/app/Masthead/__stories__/WithElements.tsx +31 -0
  264. package/src/app/Masthead/__stories__/WithLogo.tsx +28 -0
  265. package/src/content/Blockquote/Blockquote.stories.js +1 -0
  266. package/src/content/Blockquote/__stories__/Dense.tsx +11 -0
  267. package/src/content/Card/Card.stories.js +2 -0
  268. package/src/content/Card/__stories__/Default.tsx +1 -1
  269. package/src/content/Card/__stories__/Dense.tsx +24 -0
  270. package/src/content/Card/__stories__/WithLink.tsx +25 -0
  271. package/src/content/StepNav/StepNav.stories.js +1 -0
  272. package/src/content/StepNav/__stories__/Dense.tsx +261 -0
  273. package/src/content/SummaryList/SummaryList.stories.js +1 -0
  274. package/src/content/SummaryList/__stories__/Default.tsx +30 -21
  275. package/src/content/SummaryList/__stories__/WithActions.tsx +37 -41
  276. package/src/content/SummaryList/__stories__/WithoutActions.tsx +27 -0
  277. package/src/content/SummaryList/__stories__/WithoutBorders.tsx +31 -17
  278. package/src/content/Table/__stories__/RowColors.tsx +5 -5
  279. package/src/content/TaskList/TaskList.stories.js +1 -0
  280. package/src/content/TaskList/__stories__/Dense.tsx +118 -0
  281. package/src/content/Timeline/Timeline.stories.js +1 -0
  282. package/src/content/Timeline/__stories__/Default.tsx +2 -2
  283. package/src/content/Timeline/__stories__/Dense.tsx +196 -0
  284. package/src/feedback/ErrorSummary/ErrorSummary.stories.js +1 -0
  285. package/src/feedback/ErrorSummary/__stories__/LinkedToCheckbox.tsx +2 -1
  286. package/src/feedback/ErrorSummary/__stories__/LinkedToField.tsx +4 -6
  287. package/src/feedback/ErrorSummary/__stories__/WithBackLinkAndButton.tsx +49 -0
  288. package/src/form/Button/__stories__/CallToActionButton.tsx +1 -4
  289. package/src/form/Button/__stories__/GroupingButtons.tsx +0 -3
  290. package/src/form/Button/__stories__/GroupingButtonsAndLinks.tsx +0 -3
  291. package/src/form/Button/__stories__/Primary.tsx +1 -3
  292. package/src/form/Button/__stories__/Secondary.tsx +0 -3
  293. package/src/form/Button/__stories__/WithVariantLink.tsx +1 -3
  294. package/src/form/Checkbox/__stories__/WithHint.tsx +1 -1
  295. package/src/form/DateInputContainer/__stories__/Default.tsx +1 -1
  296. package/src/form/DateInputContainer/__stories__/MultipleQuestions.tsx +2 -2
  297. package/src/form/DateInputContainer/__stories__/WithErrorMessage.tsx +1 -1
  298. package/src/form/DateInputContainer/__stories__/WithErrorMessageForSingleField.tsx +1 -1
  299. package/src/form/ErrorMessage/ErrorMessage.stories.js +2 -0
  300. package/src/form/ErrorMessage/__stories__/DateInputError.tsx +34 -0
  301. package/src/form/ErrorMessage/__stories__/Default.tsx +12 -6
  302. package/src/form/ErrorMessage/__stories__/ErrorMessageOnly.tsx +12 -0
  303. package/src/form/FileUpload/__stories__/Default.tsx +2 -2
  304. package/src/form/FileUpload/__stories__/WithErrorMessage.tsx +2 -2
  305. package/src/form/RadioContainer/RadioContainer.stories.js +1 -0
  306. package/src/form/RadioContainer/__stories__/Default.tsx +7 -4
  307. package/src/form/RadioContainer/__stories__/InlineWithDivider.tsx +5 -5
  308. package/src/form/RadioContainer/__stories__/MultipleQuestions.tsx +1 -1
  309. package/src/form/RadioContainer/__stories__/NoneAnswer.tsx +3 -3
  310. package/src/form/RadioContainer/__stories__/WithErrorMessage.tsx +1 -1
  311. package/src/form/RadioContainer/__stories__/WithHints.tsx +1 -1
  312. package/src/form/RadioContainer/__stories__/WithMediumLegend.tsx +32 -0
  313. package/src/form/TextInput/__stories__/FixedWidths.tsx +8 -8
  314. package/src/form/TextInput/__stories__/FluidWidths.tsx +2 -2
  315. package/src/govgr/Footer/Copyright.tsx +11 -11
  316. package/src/icons/ImageLogo/index.tsx +5 -0
  317. package/src/icons/ImageLogoSet/index.tsx +4 -0
  318. package/src/navigation/NavList/NavList.stories.js +4 -0
  319. package/src/navigation/NavList/NavList.stories.playwright.json +5 -5
  320. package/src/navigation/NavList/__stories__/Default.tsx +16 -80
  321. package/src/navigation/NavList/__stories__/NavVertical.tsx +36 -0
  322. package/src/navigation/NavList/__stories__/NavVerticalWithTitle.tsx +40 -0
  323. package/src/navigation/NavList/__stories__/WithBurgerIcon.tsx +49 -0
  324. package/src/navigation/NavList/__stories__/WithSubMenu.tsx +101 -0
  325. package/src/navigation/Tabs/__stories__/Default.tsx +14 -9
  326. package/src/registry.js +10 -4
  327. /package/es/form/SelectContainer/{Select.stories.js → SelectContainer.stories.js} +0 -0
  328. /package/es/form/SelectContainer/{Select.stories.playwright.json → SelectContainer.stories.playwright.json} +0 -0
  329. /package/esm/form/SelectContainer/{Select.stories.js → SelectContainer.stories.js} +0 -0
  330. /package/esm/form/SelectContainer/{Select.stories.playwright.json → SelectContainer.stories.playwright.json} +0 -0
  331. /package/form/SelectContainer/{Select.stories.d.ts → SelectContainer.stories.d.ts} +0 -0
  332. /package/form/SelectContainer/{Select.stories.js → SelectContainer.stories.js} +0 -0
  333. /package/form/SelectContainer/{Select.stories.playwright.json → SelectContainer.stories.playwright.json} +0 -0
  334. /package/src/form/SelectContainer/{Select.stories.js → SelectContainer.stories.js} +0 -0
  335. /package/src/form/SelectContainer/{Select.stories.playwright.json → SelectContainer.stories.playwright.json} +0 -0
@@ -2,6 +2,6 @@ import React from 'react';
2
2
 
3
3
  import { GovGRFooter } from '@digigov/ui/govgr/Footer';
4
4
 
5
- export const Default = () => <GovGRFooter />;
5
+ export const Default = () => <GovGRFooter />
6
6
 
7
7
  export default Default;
@@ -16,8 +16,8 @@ import {
16
16
  } from '@digigov/ui/app/Footer';
17
17
  import Copyright from '@digigov/ui/govgr/Footer/Copyright';
18
18
  import HellenicRepublicLogo from '@digigov/ui/govgr/Footer/HellenicRepublicLogo';
19
- import logo1 from '@digigov/ui/govgr/images/greek-government-base64';
20
- import logo2 from '@digigov/ui/govgr/images/grnet-logo-base64';
19
+ import govgrBlueLogo from '@digigov/ui/govgr/images/govgr-logo-blue-base64';
20
+ import mineduBlackLogo from '@digigov/ui/govgr/images/minedu-logo-black-base64';
21
21
  import SectionBreak from '@digigov/ui/layouts/SectionBreak';
22
22
  import Link from '@digigov/ui/navigation/Link';
23
23
  import VisuallyHidden from '@digigov/ui/utils/VisuallyHidden';
@@ -46,7 +46,7 @@ export const FooterAllInclusive = () => {
46
46
  <FooterLink href="#">Όροι χρήσης</FooterLink>
47
47
  </FooterListItem>
48
48
  <FooterListItem>
49
- <FooterLink href="#">Ιδιωτικό απόρρητο </FooterLink>
49
+ <FooterLink href="#">Ιδιωτικό απόρρητο</FooterLink>
50
50
  </FooterListItem>
51
51
  </FooterList>
52
52
  </FooterNavigationSection>
@@ -76,40 +76,36 @@ export const FooterAllInclusive = () => {
76
76
  </FooterListItem>
77
77
  </FooterList>
78
78
  <FooterContentLogos>
79
- <FooterImage src={logo1} />
80
- <FooterImage src={logo2} />
79
+ <FooterImage src={govgrBlueLogo} />
80
+ <FooterImage src={mineduBlackLogo} />
81
81
  </FooterContentLogos>
82
82
  <Copyright>
83
- Υλοποίηση από το{' '}
83
+ {`Υλοποίηση από το `}
84
84
  <Link href="https://grnet.gr/" target="_blank">
85
85
  ΕΔΥΤΕ
86
86
  <VisuallyHidden>
87
- {' '}
88
- (ανοίγει σε καινούρια καρτέλα)
87
+ {` (ανοίγει σε καινούρια καρτέλα)`}
89
88
  </VisuallyHidden>
90
- </Link>{' '}
91
- για το{' '}
89
+ </Link>
90
+ {` για το `}
92
91
  <Link href="https://mindigital.gr/" target="_blank">
93
- {' '}
94
92
  Υπουργείο Ψηφιακής Διακυβέρνησης
95
93
  <VisuallyHidden>
96
- {' '}
97
- (ανοίγει σε καινούρια καρτέλα)
94
+ {` (ανοίγει σε καινούρια καρτέλα)`}
98
95
  </VisuallyHidden>
99
- </Link>{' '}
100
- και για το{' '}
96
+ </Link>
97
+ {` και για το `}
101
98
  <Link href="https://www.minedu.gov.gr/" target="_blank">
102
99
  Υπουργείο Παιδείας και Θρησκευμάτων
103
100
  <VisuallyHidden>
104
- {' '}
105
- (ανοίγει σε καινούρια καρτέλα)
101
+ {` (ανοίγει σε καινούρια καρτέλα)`}
106
102
  </VisuallyHidden>
107
103
  </Link>
108
104
  </Copyright>
109
105
  </FooterContent>
110
106
  </FooterInfoSection>
111
107
  <FooterInfoSection>
112
- <HellenicRepublicLogo></HellenicRepublicLogo>
108
+ <HellenicRepublicLogo />
113
109
  </FooterInfoSection>
114
110
  </FooterInfo>
115
111
  </FooterContainer>
@@ -31,20 +31,18 @@ export const FooterWithLink = () => {
31
31
  </FooterListItem>
32
32
  </FooterList>
33
33
  <Copyright>
34
- Υλοποίηση από το{' '}
34
+ {`Υλοποίηση από το `}
35
35
  <Link href="https://grnet.gr/" target="_blank">
36
36
  ΕΔΥΤΕ
37
37
  <VisuallyHidden>
38
- {' '}
39
- (ανοίγει σε καινούρια καρτέλα)
38
+ {` (ανοίγει σε καινούρια καρτέλα)`}
40
39
  </VisuallyHidden>
41
- </Link>{' '}
42
- για το{' '}
40
+ </Link>
41
+ {` για το `}
43
42
  <Link href="https://mindigital.gr/" target="_blank">
44
43
  Υπουργείο Ψηφιακής Διακυβέρνησης
45
44
  <VisuallyHidden>
46
- {' '}
47
- (ανοίγει σε καινούρια καρτέλα)
45
+ {` (ανοίγει σε καινούρια καρτέλα)`}
48
46
  </VisuallyHidden>
49
47
  </Link>
50
48
  </Copyright>
@@ -10,8 +10,8 @@ import {
10
10
  } from '@digigov/ui/app/Footer';
11
11
  import Copyright from '@digigov/ui/govgr/Footer/Copyright';
12
12
  import HellenicRepublicLogo from '@digigov/ui/govgr/Footer/HellenicRepublicLogo';
13
- import logo1 from '@digigov/ui/govgr/images/greek-government-base64';
14
- import logo2 from '@digigov/ui/govgr/images/grnet-logo-base64';
13
+ import govgrBlueLogo from '@digigov/ui/govgr/images/govgr-logo-blue-base64';
14
+ import mineduBlackLogo from '@digigov/ui/govgr/images/minedu-logo-black-base64';
15
15
  import Link from '@digigov/ui/navigation/Link';
16
16
  import VisuallyHidden from '@digigov/ui/utils/VisuallyHidden';
17
17
 
@@ -23,31 +23,29 @@ export const FooterWithLogo = () => {
23
23
  <FooterInfoSection aria-label='footer info section'>
24
24
  <FooterContent>
25
25
  <FooterContentLogos>
26
- <FooterImage src={logo1}></FooterImage>
27
- <FooterImage src={logo2}></FooterImage>
26
+ <FooterImage src={govgrBlueLogo}></FooterImage>
27
+ <FooterImage src={mineduBlackLogo}></FooterImage>
28
28
  </FooterContentLogos>
29
29
  <Copyright>
30
- Υλοποίηση από το{' '}
30
+ {`Υλοποίηση από το `}
31
31
  <Link href="https://grnet.gr/" target="_blank">
32
32
  ΕΔΥΤΕ
33
33
  <VisuallyHidden>
34
- {' '}
35
- (ανοίγει σε καινούρια καρτέλα)
34
+ {` (ανοίγει σε καινούρια καρτέλα)`}
36
35
  </VisuallyHidden>
37
- </Link>{' '}
38
- για το{' '}
36
+ </Link>
37
+ {` για το `}
39
38
  <Link href="https://mindigital.gr/" target="_blank">
40
- Υπουργείο Ψηφιακής Διακυβέρνησης
39
+ Υπουργείο Παιδείας και Θρησκευμάτων
41
40
  <VisuallyHidden>
42
- {' '}
43
- (ανοίγει σε καινούρια καρτέλα)
41
+ {` (ανοίγει σε καινούρια καρτέλα)`}
44
42
  </VisuallyHidden>
45
43
  </Link>
46
44
  </Copyright>
47
45
  </FooterContent>
48
46
  </FooterInfoSection>
49
47
  <FooterInfoSection>
50
- <HellenicRepublicLogo></HellenicRepublicLogo>
48
+ <HellenicRepublicLogo />
51
49
  </FooterInfoSection>
52
50
  </FooterInfo>
53
51
  </FooterContainer>
@@ -22,64 +22,64 @@ export const FooterWithSecondaryNavigation = () => {
22
22
  return (
23
23
  <Footer>
24
24
  <FooterContainer>
25
- <FooterNavigation>
26
- <FooterNavigationSection aria-label='footer navigation section'>
27
- <FooterHeading>Επιλογές</FooterHeading>
28
- <FooterList columns={2}>
29
- <FooterListItem>
30
- <FooterLink href="#">Υπηρεσίες</FooterLink>
31
- </FooterListItem>
32
- <FooterListItem>
33
- <FooterLink href="#">Φορείς</FooterLink>
34
- </FooterListItem>
35
- <FooterListItem>
36
- <FooterLink href="#">Αρχές</FooterLink>
37
- </FooterListItem>
38
- <FooterListItem>
39
- <FooterLink href="#">Σχετικά με το gov.gr</FooterLink>
40
- </FooterListItem>
41
- <FooterListItem>
42
- <FooterLink href="#">Όροι χρήσης</FooterLink>
43
- </FooterListItem>
44
- <FooterListItem>
45
- <FooterLink href="#">Ιδιωτικό απόρρητο </FooterLink>
46
- </FooterListItem>
47
- </FooterList>
48
- </FooterNavigationSection>
49
- <FooterNavigationSection aria-label='footer navigation section'>
50
- <FooterHeading>Εξωτερικές Υπηρεσίες</FooterHeading>
51
- <FooterList>
52
- <FooterListItem>
53
- <FooterLink href="#">ΕΜΔΔ - ΜΙΤΟΣ</FooterLink>
54
- </FooterListItem>
55
- <FooterListItem>
56
- <FooterLink href="#">EUGO</FooterLink>
57
- </FooterListItem>
58
- </FooterList>
59
- </FooterNavigationSection>
60
- </FooterNavigation>
61
- <SectionBreak visible={false} size="md" />
62
- <FooterInfo>
63
- <FooterInfoSection grow aria-label='footer info section'>
64
- <FooterContent>
65
- <Copyright>
66
- Υλοποίηση από το{' '}
67
- <Link href="https://grnet.gr/" target="_blank">
68
- ΕΔΥΤΕ
69
- <VisuallyHidden>{' '}(ανοίγει σε καινούρια καρτέλα)</VisuallyHidden>
70
- </Link>{' '}
71
- για το{' '}
72
- <Link href="https://mindigital.gr/" target="_blank">
73
- Υπουργείο Ψηφιακής Διακυβέρνησης
74
- <VisuallyHidden>{' '}(ανοίγει σε καινούρια καρτέλα)</VisuallyHidden>
75
- </Link>
76
- </Copyright>
77
- </FooterContent>
78
- </FooterInfoSection>
79
- <FooterInfoSection>
80
- <HellenicRepublicLogo></HellenicRepublicLogo>
81
- </FooterInfoSection>
82
- </FooterInfo>
25
+ <FooterNavigation>
26
+ <FooterNavigationSection aria-label='footer navigation section'>
27
+ <FooterHeading>Επιλογές</FooterHeading>
28
+ <FooterList columns={2}>
29
+ <FooterListItem>
30
+ <FooterLink href="#">Υπηρεσίες</FooterLink>
31
+ </FooterListItem>
32
+ <FooterListItem>
33
+ <FooterLink href="#">Φορείς</FooterLink>
34
+ </FooterListItem>
35
+ <FooterListItem>
36
+ <FooterLink href="#">Αρχές</FooterLink>
37
+ </FooterListItem>
38
+ <FooterListItem>
39
+ <FooterLink href="#">Σχετικά με το gov.gr</FooterLink>
40
+ </FooterListItem>
41
+ <FooterListItem>
42
+ <FooterLink href="#">Όροι χρήσης</FooterLink>
43
+ </FooterListItem>
44
+ <FooterListItem>
45
+ <FooterLink href="#">Ιδιωτικό απόρρητο</FooterLink>
46
+ </FooterListItem>
47
+ </FooterList>
48
+ </FooterNavigationSection>
49
+ <FooterNavigationSection aria-label='footer navigation section'>
50
+ <FooterHeading>Εξωτερικές Υπηρεσίες</FooterHeading>
51
+ <FooterList>
52
+ <FooterListItem>
53
+ <FooterLink href="#">ΕΜΔΔ - ΜΙΤΟΣ</FooterLink>
54
+ </FooterListItem>
55
+ <FooterListItem>
56
+ <FooterLink href="#">EUGO</FooterLink>
57
+ </FooterListItem>
58
+ </FooterList>
59
+ </FooterNavigationSection>
60
+ </FooterNavigation>
61
+ <SectionBreak visible={false} size="md" />
62
+ <FooterInfo>
63
+ <FooterInfoSection grow aria-label='footer info section'>
64
+ <FooterContent>
65
+ <Copyright>
66
+ {`Υλοποίηση από το `}
67
+ <Link href="https://grnet.gr/" target="_blank">
68
+ ΕΔΥΤΕ
69
+ <VisuallyHidden>{` (ανοίγει σε καινούρια καρτέλα)`}</VisuallyHidden>
70
+ </Link>
71
+ {` για το `}
72
+ <Link href="https://mindigital.gr/" target="_blank">
73
+ Υπουργείο Ψηφιακής Διακυβέρνησης
74
+ <VisuallyHidden>{` (ανοίγει σε καινούρια καρτέλα)`}</VisuallyHidden>
75
+ </Link>
76
+ </Copyright>
77
+ </FooterContent>
78
+ </FooterInfoSection>
79
+ <FooterInfoSection>
80
+ <HellenicRepublicLogo></HellenicRepublicLogo>
81
+ </FooterInfoSection>
82
+ </FooterInfo>
83
83
  </FooterContainer>
84
84
  </Footer>
85
85
  );
@@ -9,3 +9,5 @@ export default {
9
9
  displayName: 'Masthead',
10
10
  };
11
11
  export * from '@digigov/ui/app/Masthead/__stories__/Default';
12
+ export * from '@digigov/ui/app/Masthead/__stories__/WithLogo';
13
+ export * from '@digigov/ui/app/Masthead/__stories__/WithElements';
@@ -0,0 +1,31 @@
1
+ import React from 'react';
2
+
3
+ import { CallToAction } from '@digigov/ui/form/Button/CallToAction';
4
+ import { Container } from '@digigov/ui/layouts/Basic/Container';
5
+ import { Main } from '@digigov/ui/layouts/Basic/Main';
6
+ import { Masthead, MastheadBody, MastheadLogo } from '@digigov/ui/layouts/Basic/Masthead';
7
+ import { Heading } from '@digigov/ui/typography/Heading';
8
+ import Hint from '@digigov/ui/typography/Hint';
9
+ import mineduLogo from '@digigov/ui/govgr/images/minedu-logo-base64';
10
+ import Link from '@digigov/ui/navigation/Link';
11
+
12
+ export const WithElements = () => (
13
+ <Masthead>
14
+ <Container>
15
+ <Main>
16
+ <MastheadLogo src={mineduLogo} alt="minedu logo" />
17
+ <Heading>Σχεδιάστε την υπηρεσία σας, με το στυλ του GOV.GR</Heading>
18
+ <MastheadBody>
19
+ Χρησιμοποιείστε αυτόν τον οδηγό ώστε να φτιάξετε μια υπηρεσία συνεπή
20
+ στα πρότυπα του GOV.GR. Αποκτήστε γνώση από την έρευνα και την
21
+ εμπειρία άλλων ομάδων και αποφύγετε την επανάληψη εργασιών που έχουν
22
+ ήδη γίνει. <Link>Προτείνετε βελτιώσεις.</Link>
23
+ </MastheadBody>
24
+ <Hint>Τελευταία ενημέρωση: 08/12/2021</Hint>
25
+ <CallToAction href="#">Ξεκινήστε εδώ</CallToAction>
26
+ </Main>
27
+ </Container>
28
+ </Masthead>
29
+ );
30
+
31
+ export default WithElements;
@@ -0,0 +1,28 @@
1
+ import React from 'react';
2
+
3
+ import { CallToAction } from '@digigov/ui/form/Button/CallToAction';
4
+ import { Container } from '@digigov/ui/layouts/Basic/Container';
5
+ import { Main } from '@digigov/ui/layouts/Basic/Main';
6
+ import { Masthead, MastheadBody, MastheadLogo } from '@digigov/ui/layouts/Basic/Masthead';
7
+ import { Heading } from '@digigov/ui/typography/Heading';
8
+ import logo3 from '@digigov/ui/govgr/images/minedu-logo-base64';
9
+
10
+ export const WithLogo = () => (
11
+ <Masthead>
12
+ <Container>
13
+ <Main>
14
+ <MastheadLogo src={logo3} alt="minedu logo" />
15
+ <Heading>Σχεδιάστε την υπηρεσία σας, με το στυλ του GOV.GR</Heading>
16
+ <MastheadBody>
17
+ Χρησιμοποιείστε αυτόν τον οδηγό ώστε να φτιάξετε μια υπηρεσία συνεπή
18
+ στα πρότυπα του GOV.GR. Αποκτήστε γνώση από την έρευνα και την
19
+ εμπειρία άλλων ομάδων και αποφύγετε την επανάληψη εργασιών που έχουν
20
+ ήδη γίνει.
21
+ </MastheadBody>
22
+ <CallToAction href="#">Ξεκινήστε εδώ</CallToAction>
23
+ </Main>
24
+ </Container>
25
+ </Masthead>
26
+ );
27
+
28
+ export default WithLogo;
@@ -8,3 +8,4 @@ export default {
8
8
  displayName: 'Blockquote',
9
9
  };
10
10
  export * from '@digigov/ui/content/Blockquote/__stories__/Default';
11
+ export * from '@digigov/ui/content/Blockquote/__stories__/Dense';
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { Blockquote } from '@digigov/ui/content/Blockquote';
3
+
4
+ export const Dense = () => (
5
+ <Blockquote dense>
6
+ Η διαδικασία έκδοσης του διαβατηρίου σας μπορεί να διαρκέσει εώς 10 μέρες,
7
+ εφόσον η αίτηση σας δεν περιέχει λάθη.
8
+ </Blockquote>
9
+ );
10
+
11
+ export default Dense;
@@ -17,3 +17,5 @@ export * from '@digigov/ui/content/Card/__stories__/WithDivider';
17
17
  export * from '@digigov/ui/content/Card/__stories__/WithClickableContent';
18
18
  export * from '@digigov/ui/content/Card/__stories__/WithClickableLink';
19
19
  export * from '@digigov/ui/content/Card/__stories__/WithGroupButton';
20
+ export * from '@digigov/ui/content/Card/__stories__/WithLink';
21
+ export * from '@digigov/ui/content/Card/__stories__/Dense';
@@ -16,7 +16,7 @@ export const Default = () => (
16
16
  αλιευτική σας δραστηριότητα.
17
17
  </CardContent>
18
18
  <CardAction>
19
- <Button>Συνέχεια</Button>
19
+ <Button>Είσοδος</Button>
20
20
  </CardAction>
21
21
  </Card>
22
22
  );
@@ -0,0 +1,24 @@
1
+ import React from 'react';
2
+
3
+ import {
4
+ Card,
5
+ CardAction,
6
+ CardHeading,
7
+ CardContent,
8
+ } from '@digigov/ui/content/Card';
9
+ import { Button } from '@digigov/ui/form/Button';
10
+
11
+ export const Dense = () => (
12
+ <Card variant="border" borderColor="dark" dense>
13
+ <CardHeading>Γεωργία και κτηνοτροφία</CardHeading>
14
+ <CardContent>
15
+ Διαδικασίες, επιδοτήσεις και αποζημιώσεις για την γεωργική, κτηνοτροφική ή
16
+ αλιευτική σας δραστηριότητα.
17
+ </CardContent>
18
+ <CardAction>
19
+ <Button>Συνέχεια</Button>
20
+ </CardAction>
21
+ </Card>
22
+ );
23
+
24
+ export default Dense;
@@ -0,0 +1,25 @@
1
+ import React from 'react';
2
+
3
+ import {
4
+ Card,
5
+ CardHeading,
6
+ CardContent,
7
+ CardAction,
8
+ } from '@digigov/ui/content/Card';
9
+
10
+ import { Link } from '@digigov/ui/navigation/Link';
11
+
12
+ export const WithLink = () => (
13
+ <Card>
14
+ <CardHeading>Γεωργία και κτηνοτροφία</CardHeading>
15
+ <CardContent>
16
+ Διαδικασίες, επιδοτήσεις και αποζημιώσεις για την γεωργική, κτηνοτροφική ή
17
+ αλιευτική σας δραστηριότητα.
18
+ </CardContent>
19
+ <CardAction>
20
+ <Link>Είσοδος</Link>
21
+ </CardAction>
22
+ </Card>
23
+ );
24
+
25
+ export default WithLink;
@@ -10,3 +10,4 @@ export default {
10
10
  };
11
11
  export * from './__stories__/Default';
12
12
  export * from './__stories__/WithHints';
13
+ export * from './__stories__/Dense';