@digigov/ui 1.0.0-002c630d → 1.0.0-21c8c3dc

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 (1164) hide show
  1. package/app/{Confirmation/Confirmation.stories.d.ts → BannerContainer/BannerContainer.stories.d.ts} +3 -3
  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/CloseButton/index.d.ts +3 -0
  6. package/{navigation/NavList/NavVertical.js → app/CloseButton/index.js} +5 -5
  7. package/app/{FilterSection → FilterContainer}/index.d.ts +4 -5
  8. package/app/{FilterSection → FilterContainer}/index.js +9 -23
  9. package/app/Footer/Footer.stories.playwright.json +2 -2
  10. package/app/Footer/__stories__/DefaultCopyright.js +10 -7
  11. package/app/Footer/__stories__/FooterAllInclusive.js +43 -26
  12. package/app/Footer/__stories__/FooterWithLink.js +23 -16
  13. package/app/Footer/__stories__/FooterWithLogo.js +21 -17
  14. package/app/Footer/__stories__/FooterWithSecondaryNavigation.js +27 -18
  15. package/app/Footer/__stories__/YearCopyright.js +8 -5
  16. package/app/Footer/index.d.ts +3 -5
  17. package/app/Footer/index.js +12 -40
  18. package/app/Footer/index.mdx +4 -20
  19. package/app/Header/Header.stories.playwright.json +1 -1
  20. package/app/Header/__snapshots__/index.spec.tsx.snap +0 -3
  21. package/app/Header/__stories__/Default.js +1 -1
  22. package/app/Header/__stories__/WithHeaderNavigation.js +15 -23
  23. package/app/Header/__stories__/WithNavigation.js +9 -41
  24. package/app/Header/__stories__/WithServiceName.js +1 -1
  25. package/app/Header/__stories__/WithServiceNameAndLogo.js +1 -1
  26. package/app/Header/index.d.ts +0 -1
  27. package/app/Header/index.js +0 -14
  28. package/app/Header/index.mdx +4 -21
  29. package/app/Header/index.spec.js +1 -1
  30. package/app/Masthead/Masthead.stories.d.ts +2 -0
  31. package/app/Masthead/Masthead.stories.js +28 -0
  32. package/app/Masthead/Masthead.stories.playwright.json +1 -1
  33. package/app/Masthead/__stories__/WithElements.d.ts +2 -0
  34. package/app/Masthead/__stories__/WithElements.js +41 -0
  35. package/app/Masthead/__stories__/WithLogo.d.ts +2 -0
  36. package/app/Masthead/__stories__/WithLogo.js +37 -0
  37. package/app/Modal/__stories__/Default.js +1 -1
  38. package/app/Modal/index.mdx +1 -5
  39. package/app/NotFound/index.js +2 -2
  40. package/app/PageTitleContainer/index.d.ts +5 -0
  41. package/app/{PageTitle → PageTitleContainer}/index.js +5 -19
  42. package/app/Panel/Panel.stories.d.ts +10 -0
  43. package/app/{Confirmation/Confirmation.stories.js → Panel/Panel.stories.js} +7 -7
  44. package/app/Panel/__stories__/Default.js +22 -0
  45. package/app/Panel/index.d.ts +5 -0
  46. package/app/{Confirmation → Panel}/index.js +13 -13
  47. package/app/Panel/index.mdx +16 -0
  48. package/app/PhaseBannerHeader/index.js +2 -2
  49. package/app/PhaseBannerHeader/index.mdx +1 -5
  50. package/app/QrCodeViewer/index.mdx +2 -10
  51. package/app/ThemeOptions/index.js +6 -6
  52. package/app/index.d.ts +3 -4
  53. package/app/index.js +12 -12
  54. package/content/Accordion/index.d.ts +1 -1
  55. package/content/Accordion/index.mdx +2 -10
  56. package/content/Blockquote/Blockquote.stories.d.ts +1 -0
  57. package/content/Blockquote/Blockquote.stories.js +14 -0
  58. package/content/Blockquote/__stories__/Dense.d.ts +2 -0
  59. package/content/Blockquote/__stories__/Dense.js +24 -0
  60. package/content/Blockquote/index.mdx +1 -5
  61. package/content/Card/Card.stories.d.ts +2 -0
  62. package/content/Card/Card.stories.js +28 -0
  63. package/content/Card/__stories__/Default.js +1 -1
  64. package/content/Card/__stories__/Dense.d.ts +2 -0
  65. package/content/Card/__stories__/Dense.js +28 -0
  66. package/content/Card/__stories__/WithLink.d.ts +2 -0
  67. package/content/Card/__stories__/WithLink.js +24 -0
  68. package/content/Card/index.mdx +8 -40
  69. package/content/Chip/__stories__/GroupOfChips.js +1 -1
  70. package/content/Chip/index.d.ts +1 -2
  71. package/content/Chip/index.js +4 -18
  72. package/content/Chip/index.mdx +39 -0
  73. package/content/Details/index.mdx +6 -5
  74. package/content/List/__stories__/HorizontalList.js +1 -1
  75. package/content/List/__stories__/WithExtraSpace.js +1 -1
  76. package/content/List/index.mdx +3 -15
  77. package/content/StepNav/StepNav.stories.d.ts +1 -0
  78. package/content/StepNav/StepNav.stories.js +14 -0
  79. package/content/StepNav/__stories__/Default.js +3 -5
  80. package/content/StepNav/__stories__/Dense.d.ts +2 -0
  81. package/content/StepNav/__stories__/Dense.js +204 -0
  82. package/content/StepNav/__stories__/WithHints.js +2 -4
  83. package/content/StepNav/index.mdx +21 -0
  84. package/content/SummaryList/SummaryList.stories.d.ts +1 -0
  85. package/content/SummaryList/SummaryList.stories.js +14 -0
  86. package/content/SummaryList/__stories__/Default.js +7 -3
  87. package/content/SummaryList/__stories__/WithActions.js +13 -7
  88. package/content/SummaryList/__stories__/WithoutActions.d.ts +2 -0
  89. package/content/SummaryList/__stories__/WithoutActions.js +22 -0
  90. package/content/SummaryList/__stories__/WithoutBorders.js +12 -2
  91. package/content/SummaryList/index.mdx +3 -15
  92. package/content/Table/Table.stories.d.ts +1 -0
  93. package/content/Table/Table.stories.js +14 -0
  94. package/content/Table/__stories__/DarkVariant.js +1 -1
  95. package/content/Table/__stories__/DarkVariantWithVerticalHeaders.js +1 -1
  96. package/content/Table/__stories__/DefinedWidth.js +3 -3
  97. package/content/Table/__stories__/Full.js +2 -2
  98. package/content/Table/__stories__/MultipleProps.js +2 -2
  99. package/content/Table/__stories__/RowColors.d.ts +2 -0
  100. package/content/Table/__stories__/RowColors.js +76 -0
  101. package/content/Table/__stories__/WithFloatingScroll.js +10 -4
  102. package/content/Table/__stories__/ZebraProp.js +1 -1
  103. package/content/Table/index.js +11 -9
  104. package/content/Table/index.mdx +15 -41
  105. package/content/TaskList/TaskList.stories.d.ts +1 -0
  106. package/content/TaskList/TaskList.stories.js +14 -0
  107. package/content/TaskList/__stories__/Default.js +5 -5
  108. package/content/TaskList/__stories__/Dense.d.ts +2 -0
  109. package/content/TaskList/__stories__/Dense.js +93 -0
  110. package/content/TaskList/index.mdx +21 -0
  111. package/content/Timeline/Timeline.stories.d.ts +1 -0
  112. package/content/Timeline/Timeline.stories.js +14 -0
  113. package/content/Timeline/__stories__/Default.js +4 -6
  114. package/content/Timeline/__stories__/Dense.d.ts +2 -0
  115. package/content/Timeline/__stories__/Dense.js +141 -0
  116. package/content/Timeline/index.mdx +23 -0
  117. package/es/app/BannerContainer/BannerContainer.stories.js +10 -0
  118. package/es/app/BannerContainer/__stories__/CookiesBanner.js +18 -0
  119. package/es/app/CloseButton/index.js +3 -0
  120. package/es/app/{FilterSection → FilterContainer}/index.js +4 -5
  121. package/es/app/Footer/Footer.stories.playwright.json +2 -2
  122. package/es/app/Footer/__stories__/DefaultCopyright.js +11 -9
  123. package/es/app/Footer/__stories__/FooterAllInclusive.js +44 -28
  124. package/es/app/Footer/__stories__/FooterWithLink.js +24 -18
  125. package/es/app/Footer/__stories__/FooterWithLogo.js +22 -19
  126. package/es/app/Footer/__stories__/FooterWithSecondaryNavigation.js +28 -20
  127. package/es/app/Footer/__stories__/YearCopyright.js +9 -7
  128. package/es/app/Footer/index.js +3 -5
  129. package/es/app/Footer/index.mdx +4 -20
  130. package/es/app/Header/Header.stories.playwright.json +1 -1
  131. package/es/app/Header/__snapshots__/index.spec.tsx.snap +0 -3
  132. package/es/app/Header/__stories__/Default.js +1 -1
  133. package/es/app/Header/__stories__/WithHeaderNavigation.js +15 -15
  134. package/es/app/Header/__stories__/WithNavigation.js +10 -37
  135. package/es/app/Header/__stories__/WithServiceName.js +1 -1
  136. package/es/app/Header/__stories__/WithServiceNameAndLogo.js +1 -1
  137. package/es/app/Header/index.js +0 -1
  138. package/es/app/Header/index.mdx +4 -21
  139. package/es/app/Header/index.spec.js +2 -2
  140. package/es/app/Masthead/Masthead.stories.js +3 -1
  141. package/es/app/Masthead/Masthead.stories.playwright.json +1 -1
  142. package/es/app/Masthead/__stories__/WithElements.js +21 -0
  143. package/es/app/Masthead/__stories__/WithLogo.js +19 -0
  144. package/es/app/Modal/__stories__/Default.js +1 -1
  145. package/es/app/Modal/index.mdx +1 -5
  146. package/es/app/NotFound/index.js +2 -2
  147. package/es/app/PageTitleContainer/index.js +5 -0
  148. package/es/app/Panel/Panel.stories.js +9 -0
  149. package/es/app/Panel/__stories__/Default.js +9 -0
  150. package/es/app/Panel/index.js +5 -0
  151. package/es/app/Panel/index.mdx +16 -0
  152. package/es/app/PhaseBannerHeader/index.js +2 -2
  153. package/es/app/PhaseBannerHeader/index.mdx +1 -5
  154. package/es/app/QrCodeViewer/index.mdx +2 -10
  155. package/es/app/ThemeOptions/index.js +6 -6
  156. package/es/app/index.js +4 -5
  157. package/es/content/Accordion/index.mdx +2 -10
  158. package/es/content/Blockquote/Blockquote.stories.js +2 -1
  159. package/es/content/Blockquote/__stories__/Dense.js +11 -0
  160. package/es/content/Blockquote/index.mdx +1 -5
  161. package/es/content/Card/Card.stories.js +3 -1
  162. package/es/content/Card/__stories__/Default.js +1 -1
  163. package/es/content/Card/__stories__/Dense.js +14 -0
  164. package/es/content/Card/__stories__/WithLink.js +10 -0
  165. package/es/content/Card/index.mdx +8 -40
  166. package/es/content/Chip/__stories__/GroupOfChips.js +2 -2
  167. package/es/content/Chip/index.js +1 -2
  168. package/es/content/Chip/index.mdx +39 -0
  169. package/es/content/Details/index.mdx +6 -5
  170. package/es/content/List/__stories__/HorizontalList.js +1 -1
  171. package/es/content/List/__stories__/WithExtraSpace.js +1 -1
  172. package/es/content/List/index.mdx +3 -15
  173. package/es/content/StepNav/StepNav.stories.js +2 -1
  174. package/es/content/StepNav/__stories__/Default.js +3 -5
  175. package/es/content/StepNav/__stories__/Dense.js +180 -0
  176. package/es/content/StepNav/__stories__/WithHints.js +2 -4
  177. package/es/content/StepNav/index.mdx +21 -0
  178. package/es/content/SummaryList/SummaryList.stories.js +1 -0
  179. package/es/content/SummaryList/__stories__/Default.js +7 -3
  180. package/es/content/SummaryList/__stories__/WithActions.js +5 -5
  181. package/es/content/SummaryList/__stories__/WithoutActions.js +9 -0
  182. package/es/content/SummaryList/__stories__/WithoutBorders.js +10 -2
  183. package/es/content/SummaryList/index.mdx +3 -15
  184. package/es/content/Table/Table.stories.js +1 -0
  185. package/es/content/Table/__stories__/DarkVariant.js +1 -1
  186. package/es/content/Table/__stories__/DarkVariantWithVerticalHeaders.js +1 -1
  187. package/es/content/Table/__stories__/DefinedWidth.js +3 -3
  188. package/es/content/Table/__stories__/Full.js +2 -2
  189. package/es/content/Table/__stories__/MultipleProps.js +2 -2
  190. package/es/content/Table/__stories__/RowColors.js +60 -0
  191. package/es/content/Table/__stories__/WithFloatingScroll.js +5 -4
  192. package/es/content/Table/__stories__/ZebraProp.js +1 -1
  193. package/es/content/Table/index.js +11 -8
  194. package/es/content/Table/index.mdx +15 -41
  195. package/es/content/TaskList/TaskList.stories.js +2 -1
  196. package/es/content/TaskList/__stories__/Default.js +5 -5
  197. package/es/content/TaskList/__stories__/Dense.js +76 -0
  198. package/es/content/TaskList/index.mdx +21 -0
  199. package/es/content/Timeline/Timeline.stories.js +2 -1
  200. package/es/content/Timeline/__stories__/Default.js +4 -6
  201. package/es/content/Timeline/__stories__/Dense.js +124 -0
  202. package/es/content/Timeline/index.mdx +23 -0
  203. package/es/feedback/CopyToClipboard/__stories__/Default.js +2 -1
  204. package/es/feedback/CopyToClipboard/index.js +4 -2
  205. package/es/feedback/CopyToClipboard/index.mdx +2 -10
  206. package/es/feedback/ErrorSummary/ErrorSummary.stories.js +2 -1
  207. package/es/feedback/ErrorSummary/__stories__/LinkedToCheckbox.js +2 -1
  208. package/es/feedback/ErrorSummary/__stories__/LinkedToField.js +3 -3
  209. package/es/feedback/ErrorSummary/__stories__/WithBackLinkAndButton.js +35 -0
  210. package/es/feedback/ErrorSummary/index.mdx +4 -20
  211. package/es/feedback/NotificationBanner/__stories__/Default.js +2 -2
  212. package/es/feedback/NotificationBanner/index.js +3 -6
  213. package/es/feedback/NotificationBanner/index.mdx +2 -10
  214. package/es/feedback/PhaseBanner/index.mdx +2 -10
  215. package/es/feedback/ServiceBadge/index.mdx +9 -5
  216. package/es/feedback/WarningText/WarningText.stories.js +2 -1
  217. package/es/feedback/WarningText/__stories__/AssistiveText.js +11 -0
  218. package/es/feedback/WarningText/index.mdx +1 -5
  219. package/es/form/AutoComplete/__stories__/Default.js +1 -1
  220. package/es/form/AutoComplete/index.js +10 -5
  221. package/es/form/AutoComplete/index.mdx +7 -35
  222. package/es/form/Button/__stories__/CallToActionButton.js +1 -4
  223. package/es/form/Button/__stories__/GroupingButtons.js +0 -3
  224. package/es/form/Button/__stories__/GroupingButtonsAndLinks.js +0 -3
  225. package/es/form/Button/__stories__/Primary.js +0 -3
  226. package/es/form/Button/__stories__/Secondary.js +0 -3
  227. package/es/form/Button/__stories__/WithVariantLink.js +0 -4
  228. package/es/form/Button/index.mdx +8 -24
  229. package/es/form/Checkbox/Checkbox.stories.js +2 -0
  230. package/es/form/Checkbox/__stories__/ConditionalReveal.js +1 -1
  231. package/es/form/Checkbox/__stories__/Inline.js +23 -0
  232. package/es/form/Checkbox/__stories__/InlineWithDivider.js +24 -0
  233. package/es/form/Checkbox/__stories__/NoneAnswer.js +1 -1
  234. package/es/form/Checkbox/__stories__/NoneAnswerWithError.js +1 -1
  235. package/es/form/Checkbox/__stories__/WithHint.js +1 -1
  236. package/es/form/Checkbox/index.mdx +12 -35
  237. package/es/form/DateInputContainer/__stories__/Default.js +1 -1
  238. package/es/form/DateInputContainer/__stories__/MultipleQuestions.js +2 -2
  239. package/es/form/DateInputContainer/__stories__/WithErrorMessage.js +1 -1
  240. package/es/form/DateInputContainer/__stories__/WithErrorMessageForSingleField.js +1 -1
  241. package/es/form/DateInputContainer/index.mdx +9 -20
  242. package/es/form/ErrorMessage/ErrorMessage.stories.js +3 -1
  243. package/es/form/ErrorMessage/__stories__/DateInputError.js +24 -0
  244. package/es/form/ErrorMessage/__stories__/Default.js +11 -8
  245. package/es/form/ErrorMessage/__stories__/ErrorMessageOnly.js +12 -0
  246. package/es/form/ErrorMessage/index.mdx +1 -5
  247. package/es/form/FileUpload/__stories__/Default.js +2 -2
  248. package/es/form/FileUpload/__stories__/WithErrorMessage.js +2 -2
  249. package/es/form/FileUpload/index.mdx +3 -5
  250. package/es/form/RadioContainer/RadioContainer.stories.js +3 -1
  251. package/es/form/RadioContainer/__stories__/ConditionalReveal.js +1 -1
  252. package/es/form/RadioContainer/__stories__/Default.js +7 -4
  253. package/es/form/RadioContainer/__stories__/Inline.js +1 -1
  254. package/es/form/RadioContainer/__stories__/InlineWithDivider.js +24 -0
  255. package/es/form/RadioContainer/__stories__/MultipleQuestions.js +1 -1
  256. package/es/form/RadioContainer/__stories__/NoneAnswer.js +6 -2
  257. package/es/form/RadioContainer/__stories__/WithErrorMessage.js +3 -1
  258. package/es/form/RadioContainer/__stories__/WithHints.js +1 -1
  259. package/es/form/RadioContainer/__stories__/WithMediumLegend.js +24 -0
  260. package/es/form/RadioContainer/index.mdx +12 -35
  261. package/es/form/SearchContainer/index.js +5 -0
  262. package/es/form/SelectContainer/__stories__/Default.js +4 -4
  263. package/es/form/SelectContainer/index.mdx +9 -15
  264. package/es/form/SingleCharacterInputs/SingleCharacterInput.stories.js +12 -0
  265. package/{esm/form/SingleCharacterInputContainer → es/form/SingleCharacterInputs}/__stories__/Default.js +13 -13
  266. package/{esm/form/SingleCharacterInputContainer → es/form/SingleCharacterInputs}/__stories__/WithDefaultError.js +7 -7
  267. package/es/form/{SingleCharacterInputContainer → SingleCharacterInputs}/__stories__/WithErrorMessageInvalidCode.js +14 -14
  268. package/es/form/{SingleCharacterInputContainer → SingleCharacterInputs}/__stories__/WithErrorMessageLessDigit.js +11 -11
  269. package/es/form/SingleCharacterInputs/index.js +4 -0
  270. package/es/form/SingleCharacterInputs/index.mdx +24 -0
  271. package/es/form/TextArea/index.mdx +7 -35
  272. package/es/form/TextInput/__stories__/FixedWidths.js +14 -24
  273. package/es/form/TextInput/__stories__/FluidWidths.js +14 -24
  274. package/es/form/TextInput/index.mdx +8 -40
  275. package/es/form/index.js +2 -2
  276. package/es/govgr/Footer/Copyright.js +3 -3
  277. package/es/govgr/Footer/index.js +4 -4
  278. package/es/icons/Icon/index.js +2 -2
  279. package/es/icons/ImageLogo/index.js +3 -0
  280. package/es/icons/ImageLogoSet/index.js +3 -0
  281. package/es/layouts/Admin/index.js +1 -1
  282. package/es/layouts/Basic/__snapshots__/index.spec.tsx.snap +4 -4
  283. package/es/layouts/Divider/index.js +1 -1
  284. package/es/layouts/Grid/Grid.stories.js +1 -0
  285. package/es/layouts/Grid/__stories__/ResponsiveSpacing.js +79 -0
  286. package/es/layouts/Section/index.js +3 -0
  287. package/es/layouts/Stack/Stack.stories.js +12 -0
  288. package/es/layouts/Stack/__stories__/AlignItems.js +67 -0
  289. package/es/layouts/Stack/__stories__/Default.js +24 -0
  290. package/es/layouts/Stack/__stories__/JustifyContent.js +84 -0
  291. package/es/layouts/Stack/__stories__/NoWrap.js +26 -0
  292. package/es/layouts/Stack/__stories__/Row.js +25 -0
  293. package/es/layouts/Stack/__stories__/Spacing.js +55 -0
  294. package/es/layouts/Stack/index.js +2 -0
  295. package/es/layouts/index.js +3 -1
  296. package/es/navigation/BackLink/index.mdx +1 -5
  297. package/es/navigation/Breadcrumbs/index.mdx +6 -5
  298. package/es/navigation/Drawer/__stories__/Default.js +25 -66
  299. package/es/navigation/Drawer/index.mdx +1 -5
  300. package/es/navigation/Dropdown/__stories__/AlignRight.js +9 -8
  301. package/es/navigation/Dropdown/__stories__/Default.js +9 -8
  302. package/es/navigation/Dropdown/__stories__/PlacementTop.js +9 -8
  303. package/es/navigation/Dropdown/index.js +0 -1
  304. package/es/navigation/Dropdown/index.mdx +3 -17
  305. package/es/navigation/Link/Link.stories.playwright.json +2 -2
  306. package/es/navigation/Link/index.js +1 -1
  307. package/es/navigation/Link/index.mdx +7 -25
  308. package/es/navigation/NavList/NavList.stories.js +5 -1
  309. package/es/navigation/NavList/NavList.stories.playwright.json +7 -7
  310. package/es/navigation/NavList/NavListAuto/index.js +54 -0
  311. package/es/navigation/NavList/{NavMenuContainerContentList.js → NavMenuContentList.js} +5 -5
  312. package/es/navigation/NavList/__stories__/Default.js +19 -69
  313. package/es/navigation/NavList/__stories__/NavVertical.js +37 -0
  314. package/es/navigation/NavList/__stories__/NavVerticalLayout.js +12 -26
  315. package/es/navigation/NavList/__stories__/NavVerticalWithTitle.js +43 -0
  316. package/es/navigation/NavList/__stories__/WithBurgerIcon.js +56 -0
  317. package/es/navigation/NavList/__stories__/WithSubMenu.js +73 -0
  318. package/es/navigation/NavList/hooks/useNavList.js +2 -2
  319. package/es/navigation/NavList/hooks/useTogglableNav.js +33 -18
  320. package/es/navigation/NavList/index.js +16 -17
  321. package/es/navigation/NavList/index.mdx +2 -10
  322. package/es/navigation/NavList/types.js +1 -6
  323. package/es/navigation/Pagination/__stories__/Default.js +7 -65
  324. package/es/navigation/Pagination/__stories__/PaginationSmall.js +1 -1
  325. package/es/navigation/Pagination/__stories__/PaginationWithSmallFont.js +1 -1
  326. package/es/navigation/Pagination/__stories__/WithInactiveValues.js +2 -2
  327. package/es/navigation/Pagination/index.mdx +7 -15
  328. package/es/navigation/SkipLink/SkipLink.stories.js +8 -0
  329. package/es/navigation/SkipLink/__stories__/Default.js +12 -0
  330. package/es/navigation/Tabs/Tabs.stories.playwright.json +2 -2
  331. package/es/navigation/Tabs/__stories__/Default.js +22 -7
  332. package/es/navigation/Tabs/index.js +1 -1
  333. package/es/navigation/Tabs/index.mdx +7 -5
  334. package/es/registry.js +36 -58
  335. package/es/typography/Heading/__stories__/Default.js +9 -4
  336. package/es/typography/Heading/index.mdx +1 -5
  337. package/es/typography/HeadingCaption/index.mdx +1 -5
  338. package/es/typography/Hint/__stories__/FontSizes.js +3 -3
  339. package/es/typography/Hint/index.mdx +3 -5
  340. package/es/typography/NormalText/__stories__/FontSizes.js +7 -7
  341. package/es/typography/NormalText/__stories__/Variants.js +4 -4
  342. package/es/typography/NormalText/index.mdx +5 -15
  343. package/es/typography/Paragraph/__stories__/FontSizes.js +7 -7
  344. package/es/typography/Paragraph/__stories__/LeadVariant.js +1 -1
  345. package/es/typography/Paragraph/__stories__/SmallVariant.js +1 -1
  346. package/es/typography/Paragraph/index.mdx +5 -20
  347. package/es/utils/Kitchensink/KitchensinkDashboard.js +1 -1
  348. package/esm/app/BannerContainer/BannerContainer.stories.js +10 -0
  349. package/esm/app/BannerContainer/__stories__/CookiesBanner.js +18 -0
  350. package/esm/app/CloseButton/index.js +3 -0
  351. package/esm/app/{FilterSection → FilterContainer}/index.js +4 -5
  352. package/esm/app/Footer/Footer.stories.playwright.json +2 -2
  353. package/esm/app/Footer/__stories__/DefaultCopyright.js +11 -9
  354. package/esm/app/Footer/__stories__/FooterAllInclusive.js +44 -28
  355. package/esm/app/Footer/__stories__/FooterWithLink.js +24 -18
  356. package/esm/app/Footer/__stories__/FooterWithLogo.js +22 -19
  357. package/esm/app/Footer/__stories__/FooterWithSecondaryNavigation.js +28 -20
  358. package/esm/app/Footer/__stories__/YearCopyright.js +9 -7
  359. package/esm/app/Footer/index.js +3 -5
  360. package/esm/app/Footer/index.mdx +4 -20
  361. package/esm/app/Header/Header.stories.playwright.json +1 -1
  362. package/esm/app/Header/__snapshots__/index.spec.tsx.snap +0 -3
  363. package/esm/app/Header/__stories__/Default.js +1 -1
  364. package/esm/app/Header/__stories__/WithHeaderNavigation.js +15 -15
  365. package/esm/app/Header/__stories__/WithNavigation.js +10 -37
  366. package/esm/app/Header/__stories__/WithServiceName.js +1 -1
  367. package/esm/app/Header/__stories__/WithServiceNameAndLogo.js +1 -1
  368. package/esm/app/Header/index.js +0 -1
  369. package/esm/app/Header/index.mdx +4 -21
  370. package/esm/app/Header/index.spec.js +2 -2
  371. package/esm/app/Masthead/Masthead.stories.js +3 -1
  372. package/esm/app/Masthead/Masthead.stories.playwright.json +1 -1
  373. package/esm/app/Masthead/__stories__/WithElements.js +21 -0
  374. package/esm/app/Masthead/__stories__/WithLogo.js +19 -0
  375. package/esm/app/Modal/__stories__/Default.js +1 -1
  376. package/esm/app/Modal/index.mdx +1 -5
  377. package/esm/app/NotFound/index.js +2 -2
  378. package/esm/app/PageTitleContainer/index.js +5 -0
  379. package/esm/app/Panel/Panel.stories.js +9 -0
  380. package/esm/app/Panel/__stories__/Default.js +9 -0
  381. package/esm/app/Panel/index.js +5 -0
  382. package/esm/app/Panel/index.mdx +16 -0
  383. package/esm/app/PhaseBannerHeader/index.js +2 -2
  384. package/esm/app/PhaseBannerHeader/index.mdx +1 -5
  385. package/esm/app/QrCodeViewer/index.mdx +2 -10
  386. package/esm/app/ThemeOptions/index.js +6 -6
  387. package/esm/app/index.js +4 -5
  388. package/esm/content/Accordion/index.mdx +2 -10
  389. package/esm/content/Blockquote/Blockquote.stories.js +2 -1
  390. package/esm/content/Blockquote/__stories__/Dense.js +11 -0
  391. package/esm/content/Blockquote/index.mdx +1 -5
  392. package/esm/content/Card/Card.stories.js +3 -1
  393. package/esm/content/Card/__stories__/Default.js +1 -1
  394. package/esm/content/Card/__stories__/Dense.js +14 -0
  395. package/esm/content/Card/__stories__/WithLink.js +10 -0
  396. package/esm/content/Card/index.mdx +8 -40
  397. package/esm/content/Chip/__stories__/GroupOfChips.js +2 -2
  398. package/esm/content/Chip/index.js +1 -2
  399. package/esm/content/Chip/index.mdx +39 -0
  400. package/esm/content/Details/index.mdx +6 -5
  401. package/esm/content/List/__stories__/HorizontalList.js +1 -1
  402. package/esm/content/List/__stories__/WithExtraSpace.js +1 -1
  403. package/esm/content/List/index.mdx +3 -15
  404. package/esm/content/StepNav/StepNav.stories.js +2 -1
  405. package/esm/content/StepNav/__stories__/Default.js +3 -5
  406. package/esm/content/StepNav/__stories__/Dense.js +180 -0
  407. package/esm/content/StepNav/__stories__/WithHints.js +2 -4
  408. package/esm/content/StepNav/index.mdx +21 -0
  409. package/esm/content/SummaryList/SummaryList.stories.js +1 -0
  410. package/esm/content/SummaryList/__stories__/Default.js +7 -3
  411. package/esm/content/SummaryList/__stories__/WithActions.js +5 -5
  412. package/esm/content/SummaryList/__stories__/WithoutActions.js +9 -0
  413. package/esm/content/SummaryList/__stories__/WithoutBorders.js +10 -2
  414. package/esm/content/SummaryList/index.mdx +3 -15
  415. package/esm/content/Table/Table.stories.js +1 -0
  416. package/esm/content/Table/__stories__/DarkVariant.js +1 -1
  417. package/esm/content/Table/__stories__/DarkVariantWithVerticalHeaders.js +1 -1
  418. package/esm/content/Table/__stories__/DefinedWidth.js +3 -3
  419. package/esm/content/Table/__stories__/Full.js +2 -2
  420. package/esm/content/Table/__stories__/MultipleProps.js +2 -2
  421. package/esm/content/Table/__stories__/RowColors.js +60 -0
  422. package/esm/content/Table/__stories__/WithFloatingScroll.js +5 -4
  423. package/esm/content/Table/__stories__/ZebraProp.js +1 -1
  424. package/esm/content/Table/index.js +11 -8
  425. package/esm/content/Table/index.mdx +15 -41
  426. package/esm/content/TaskList/TaskList.stories.js +2 -1
  427. package/esm/content/TaskList/__stories__/Default.js +5 -5
  428. package/esm/content/TaskList/__stories__/Dense.js +76 -0
  429. package/esm/content/TaskList/index.mdx +21 -0
  430. package/esm/content/Timeline/Timeline.stories.js +2 -1
  431. package/esm/content/Timeline/__stories__/Default.js +4 -6
  432. package/esm/content/Timeline/__stories__/Dense.js +124 -0
  433. package/esm/content/Timeline/index.mdx +23 -0
  434. package/esm/feedback/CopyToClipboard/__stories__/Default.js +2 -1
  435. package/esm/feedback/CopyToClipboard/index.js +4 -2
  436. package/esm/feedback/CopyToClipboard/index.mdx +2 -10
  437. package/esm/feedback/ErrorSummary/ErrorSummary.stories.js +2 -1
  438. package/esm/feedback/ErrorSummary/__stories__/LinkedToCheckbox.js +2 -1
  439. package/esm/feedback/ErrorSummary/__stories__/LinkedToField.js +3 -3
  440. package/esm/feedback/ErrorSummary/__stories__/WithBackLinkAndButton.js +35 -0
  441. package/esm/feedback/ErrorSummary/index.mdx +4 -20
  442. package/esm/feedback/NotificationBanner/__stories__/Default.js +2 -2
  443. package/esm/feedback/NotificationBanner/index.js +3 -6
  444. package/esm/feedback/NotificationBanner/index.mdx +2 -10
  445. package/esm/feedback/PhaseBanner/index.mdx +2 -10
  446. package/esm/feedback/ServiceBadge/index.mdx +9 -5
  447. package/esm/feedback/WarningText/WarningText.stories.js +2 -1
  448. package/esm/feedback/WarningText/__stories__/AssistiveText.js +11 -0
  449. package/esm/feedback/WarningText/index.mdx +1 -5
  450. package/esm/form/AutoComplete/__stories__/Default.js +1 -1
  451. package/esm/form/AutoComplete/index.js +10 -5
  452. package/esm/form/AutoComplete/index.mdx +7 -35
  453. package/esm/form/Button/__stories__/CallToActionButton.js +1 -4
  454. package/esm/form/Button/__stories__/GroupingButtons.js +0 -3
  455. package/esm/form/Button/__stories__/GroupingButtonsAndLinks.js +0 -3
  456. package/esm/form/Button/__stories__/Primary.js +0 -3
  457. package/esm/form/Button/__stories__/Secondary.js +0 -3
  458. package/esm/form/Button/__stories__/WithVariantLink.js +0 -4
  459. package/esm/form/Button/index.mdx +8 -24
  460. package/esm/form/Checkbox/Checkbox.stories.js +2 -0
  461. package/esm/form/Checkbox/__stories__/ConditionalReveal.js +1 -1
  462. package/esm/form/Checkbox/__stories__/Inline.js +23 -0
  463. package/esm/form/Checkbox/__stories__/InlineWithDivider.js +24 -0
  464. package/esm/form/Checkbox/__stories__/NoneAnswer.js +1 -1
  465. package/esm/form/Checkbox/__stories__/NoneAnswerWithError.js +1 -1
  466. package/esm/form/Checkbox/__stories__/WithHint.js +1 -1
  467. package/esm/form/Checkbox/index.mdx +12 -35
  468. package/esm/form/DateInputContainer/__stories__/Default.js +1 -1
  469. package/esm/form/DateInputContainer/__stories__/MultipleQuestions.js +2 -2
  470. package/esm/form/DateInputContainer/__stories__/WithErrorMessage.js +1 -1
  471. package/esm/form/DateInputContainer/__stories__/WithErrorMessageForSingleField.js +1 -1
  472. package/esm/form/DateInputContainer/index.mdx +9 -20
  473. package/esm/form/ErrorMessage/ErrorMessage.stories.js +3 -1
  474. package/esm/form/ErrorMessage/__stories__/DateInputError.js +24 -0
  475. package/esm/form/ErrorMessage/__stories__/Default.js +11 -8
  476. package/esm/form/ErrorMessage/__stories__/ErrorMessageOnly.js +12 -0
  477. package/esm/form/ErrorMessage/index.mdx +1 -5
  478. package/esm/form/FileUpload/__stories__/Default.js +2 -2
  479. package/esm/form/FileUpload/__stories__/WithErrorMessage.js +2 -2
  480. package/esm/form/FileUpload/index.mdx +3 -5
  481. package/esm/form/RadioContainer/RadioContainer.stories.js +3 -1
  482. package/esm/form/RadioContainer/__stories__/ConditionalReveal.js +1 -1
  483. package/esm/form/RadioContainer/__stories__/Default.js +7 -4
  484. package/esm/form/RadioContainer/__stories__/Inline.js +1 -1
  485. package/esm/form/RadioContainer/__stories__/InlineWithDivider.js +24 -0
  486. package/esm/form/RadioContainer/__stories__/MultipleQuestions.js +1 -1
  487. package/esm/form/RadioContainer/__stories__/NoneAnswer.js +6 -2
  488. package/esm/form/RadioContainer/__stories__/WithErrorMessage.js +3 -1
  489. package/esm/form/RadioContainer/__stories__/WithHints.js +1 -1
  490. package/esm/form/RadioContainer/__stories__/WithMediumLegend.js +24 -0
  491. package/esm/form/RadioContainer/index.mdx +12 -35
  492. package/esm/form/SearchContainer/index.js +5 -0
  493. package/esm/form/SelectContainer/__stories__/Default.js +4 -4
  494. package/esm/form/SelectContainer/index.mdx +9 -15
  495. package/esm/form/SingleCharacterInputs/SingleCharacterInput.stories.js +12 -0
  496. package/{es/form/SingleCharacterInputContainer → esm/form/SingleCharacterInputs}/__stories__/Default.js +13 -13
  497. package/{es/form/SingleCharacterInputContainer → esm/form/SingleCharacterInputs}/__stories__/WithDefaultError.js +7 -7
  498. package/esm/form/{SingleCharacterInputContainer → SingleCharacterInputs}/__stories__/WithErrorMessageInvalidCode.js +14 -14
  499. package/esm/form/{SingleCharacterInputContainer → SingleCharacterInputs}/__stories__/WithErrorMessageLessDigit.js +11 -11
  500. package/esm/form/SingleCharacterInputs/index.js +4 -0
  501. package/esm/form/SingleCharacterInputs/index.mdx +24 -0
  502. package/esm/form/TextArea/index.mdx +7 -35
  503. package/esm/form/TextInput/__stories__/FixedWidths.js +14 -24
  504. package/esm/form/TextInput/__stories__/FluidWidths.js +14 -24
  505. package/esm/form/TextInput/index.mdx +8 -40
  506. package/esm/form/index.js +2 -2
  507. package/esm/govgr/Footer/Copyright.js +3 -3
  508. package/esm/govgr/Footer/index.js +4 -4
  509. package/esm/icons/Icon/index.js +2 -2
  510. package/esm/icons/ImageLogo/index.js +3 -0
  511. package/esm/icons/ImageLogoSet/index.js +3 -0
  512. package/esm/index.js +1 -1
  513. package/esm/layouts/Admin/index.js +1 -1
  514. package/esm/layouts/Basic/__snapshots__/index.spec.tsx.snap +4 -4
  515. package/esm/layouts/Divider/index.js +1 -1
  516. package/esm/layouts/Grid/Grid.stories.js +1 -0
  517. package/esm/layouts/Grid/__stories__/ResponsiveSpacing.js +79 -0
  518. package/esm/layouts/Section/index.js +3 -0
  519. package/esm/layouts/Stack/Stack.stories.js +12 -0
  520. package/esm/layouts/Stack/__stories__/AlignItems.js +67 -0
  521. package/esm/layouts/Stack/__stories__/Default.js +24 -0
  522. package/esm/layouts/Stack/__stories__/JustifyContent.js +84 -0
  523. package/esm/layouts/Stack/__stories__/NoWrap.js +26 -0
  524. package/esm/layouts/Stack/__stories__/Row.js +25 -0
  525. package/esm/layouts/Stack/__stories__/Spacing.js +55 -0
  526. package/esm/layouts/Stack/index.js +2 -0
  527. package/esm/layouts/index.js +3 -1
  528. package/esm/navigation/BackLink/index.mdx +1 -5
  529. package/esm/navigation/Breadcrumbs/index.mdx +6 -5
  530. package/esm/navigation/Drawer/__stories__/Default.js +25 -66
  531. package/esm/navigation/Drawer/index.mdx +1 -5
  532. package/esm/navigation/Dropdown/__stories__/AlignRight.js +9 -8
  533. package/esm/navigation/Dropdown/__stories__/Default.js +9 -8
  534. package/esm/navigation/Dropdown/__stories__/PlacementTop.js +9 -8
  535. package/esm/navigation/Dropdown/index.js +0 -1
  536. package/esm/navigation/Dropdown/index.mdx +3 -17
  537. package/esm/navigation/Link/Link.stories.playwright.json +2 -2
  538. package/esm/navigation/Link/index.js +1 -1
  539. package/esm/navigation/Link/index.mdx +7 -25
  540. package/esm/navigation/NavList/NavList.stories.js +5 -1
  541. package/esm/navigation/NavList/NavList.stories.playwright.json +7 -7
  542. package/esm/navigation/NavList/NavListAuto/index.js +54 -0
  543. package/esm/navigation/NavList/{NavMenuContainerContentList.js → NavMenuContentList.js} +5 -5
  544. package/esm/navigation/NavList/__stories__/Default.js +19 -69
  545. package/esm/navigation/NavList/__stories__/NavVertical.js +37 -0
  546. package/esm/navigation/NavList/__stories__/NavVerticalLayout.js +12 -26
  547. package/esm/navigation/NavList/__stories__/NavVerticalWithTitle.js +43 -0
  548. package/esm/navigation/NavList/__stories__/WithBurgerIcon.js +56 -0
  549. package/esm/navigation/NavList/__stories__/WithSubMenu.js +73 -0
  550. package/esm/navigation/NavList/hooks/useNavList.js +2 -2
  551. package/esm/navigation/NavList/hooks/useTogglableNav.js +33 -18
  552. package/esm/navigation/NavList/index.js +16 -17
  553. package/esm/navigation/NavList/index.mdx +2 -10
  554. package/esm/navigation/NavList/types.js +1 -6
  555. package/esm/navigation/Pagination/__stories__/Default.js +7 -65
  556. package/esm/navigation/Pagination/__stories__/PaginationSmall.js +1 -1
  557. package/esm/navigation/Pagination/__stories__/PaginationWithSmallFont.js +1 -1
  558. package/esm/navigation/Pagination/__stories__/WithInactiveValues.js +2 -2
  559. package/esm/navigation/Pagination/index.mdx +7 -15
  560. package/esm/navigation/SkipLink/SkipLink.stories.js +8 -0
  561. package/esm/navigation/SkipLink/__stories__/Default.js +12 -0
  562. package/esm/navigation/Tabs/Tabs.stories.playwright.json +2 -2
  563. package/esm/navigation/Tabs/__stories__/Default.js +22 -7
  564. package/esm/navigation/Tabs/index.js +1 -1
  565. package/esm/navigation/Tabs/index.mdx +7 -5
  566. package/esm/registry.js +36 -58
  567. package/esm/typography/Heading/__stories__/Default.js +9 -4
  568. package/esm/typography/Heading/index.mdx +1 -5
  569. package/esm/typography/HeadingCaption/index.mdx +1 -5
  570. package/esm/typography/Hint/__stories__/FontSizes.js +3 -3
  571. package/esm/typography/Hint/index.mdx +3 -5
  572. package/esm/typography/NormalText/__stories__/FontSizes.js +7 -7
  573. package/esm/typography/NormalText/__stories__/Variants.js +4 -4
  574. package/esm/typography/NormalText/index.mdx +5 -15
  575. package/esm/typography/Paragraph/__stories__/FontSizes.js +7 -7
  576. package/esm/typography/Paragraph/__stories__/LeadVariant.js +1 -1
  577. package/esm/typography/Paragraph/__stories__/SmallVariant.js +1 -1
  578. package/esm/typography/Paragraph/index.mdx +5 -20
  579. package/esm/utils/Kitchensink/KitchensinkDashboard.js +1 -1
  580. package/feedback/CopyToClipboard/__stories__/Default.js +2 -1
  581. package/feedback/CopyToClipboard/index.d.ts +3 -5
  582. package/feedback/CopyToClipboard/index.js +4 -2
  583. package/feedback/CopyToClipboard/index.mdx +2 -10
  584. package/feedback/ErrorSummary/ErrorSummary.stories.d.ts +1 -0
  585. package/feedback/ErrorSummary/ErrorSummary.stories.js +14 -0
  586. package/feedback/ErrorSummary/__stories__/LinkedToCheckbox.js +3 -1
  587. package/feedback/ErrorSummary/__stories__/LinkedToField.js +3 -3
  588. package/feedback/ErrorSummary/__stories__/WithBackLinkAndButton.d.ts +2 -0
  589. package/feedback/ErrorSummary/__stories__/WithBackLinkAndButton.js +57 -0
  590. package/feedback/ErrorSummary/index.mdx +4 -20
  591. package/feedback/NotificationBanner/__stories__/Default.js +2 -2
  592. package/feedback/NotificationBanner/index.d.ts +1 -1
  593. package/feedback/NotificationBanner/index.js +3 -6
  594. package/feedback/NotificationBanner/index.mdx +2 -10
  595. package/feedback/PhaseBanner/index.mdx +2 -10
  596. package/feedback/ServiceBadge/index.mdx +9 -5
  597. package/feedback/WarningText/WarningText.stories.d.ts +1 -0
  598. package/feedback/WarningText/WarningText.stories.js +14 -0
  599. package/feedback/WarningText/__stories__/AssistiveText.d.ts +2 -0
  600. package/feedback/WarningText/__stories__/AssistiveText.js +24 -0
  601. package/feedback/WarningText/index.mdx +1 -5
  602. package/form/AutoComplete/__stories__/Default.js +1 -1
  603. package/form/AutoComplete/index.d.ts +3 -3
  604. package/form/AutoComplete/index.js +11 -6
  605. package/form/AutoComplete/index.mdx +7 -35
  606. package/form/Button/__stories__/CallToActionButton.d.ts +0 -3
  607. package/form/Button/__stories__/CallToActionButton.js +1 -4
  608. package/form/Button/__stories__/GroupingButtons.d.ts +0 -3
  609. package/form/Button/__stories__/GroupingButtons.js +0 -3
  610. package/form/Button/__stories__/GroupingButtonsAndLinks.d.ts +0 -3
  611. package/form/Button/__stories__/GroupingButtonsAndLinks.js +0 -3
  612. package/form/Button/__stories__/Primary.d.ts +0 -3
  613. package/form/Button/__stories__/Primary.js +0 -3
  614. package/form/Button/__stories__/Secondary.d.ts +0 -3
  615. package/form/Button/__stories__/Secondary.js +0 -3
  616. package/form/Button/__stories__/WithVariantLink.d.ts +0 -3
  617. package/form/Button/__stories__/WithVariantLink.js +0 -3
  618. package/form/Button/index.mdx +8 -24
  619. package/form/Checkbox/Checkbox.stories.d.ts +2 -0
  620. package/form/Checkbox/Checkbox.stories.js +28 -0
  621. package/form/Checkbox/__stories__/ConditionalReveal.js +1 -1
  622. package/form/Checkbox/__stories__/Inline.d.ts +2 -0
  623. package/form/Checkbox/__stories__/Inline.js +38 -0
  624. package/form/Checkbox/__stories__/InlineWithDivider.d.ts +2 -0
  625. package/form/Checkbox/__stories__/InlineWithDivider.js +39 -0
  626. package/form/Checkbox/__stories__/NoneAnswer.js +1 -1
  627. package/form/Checkbox/__stories__/NoneAnswerWithError.js +1 -1
  628. package/form/Checkbox/__stories__/WithHint.js +1 -1
  629. package/form/Checkbox/index.mdx +12 -35
  630. package/form/DateInputContainer/__stories__/Default.js +1 -1
  631. package/form/DateInputContainer/__stories__/MultipleQuestions.js +2 -2
  632. package/form/DateInputContainer/__stories__/WithErrorMessage.js +1 -1
  633. package/form/DateInputContainer/__stories__/WithErrorMessageForSingleField.js +1 -1
  634. package/form/DateInputContainer/index.mdx +9 -20
  635. package/form/ErrorMessage/ErrorMessage.stories.d.ts +2 -0
  636. package/form/ErrorMessage/ErrorMessage.stories.js +28 -0
  637. package/form/ErrorMessage/__stories__/DateInputError.d.ts +2 -0
  638. package/form/ErrorMessage/__stories__/DateInputError.js +41 -0
  639. package/form/ErrorMessage/__stories__/Default.js +11 -8
  640. package/form/ErrorMessage/__stories__/ErrorMessageOnly.d.ts +2 -0
  641. package/form/ErrorMessage/__stories__/ErrorMessageOnly.js +26 -0
  642. package/form/ErrorMessage/index.mdx +1 -5
  643. package/form/FileUpload/__stories__/Default.js +2 -2
  644. package/form/FileUpload/__stories__/WithErrorMessage.js +2 -2
  645. package/form/FileUpload/index.mdx +3 -5
  646. package/form/RadioContainer/RadioContainer.stories.d.ts +2 -0
  647. package/form/RadioContainer/RadioContainer.stories.js +28 -0
  648. package/form/RadioContainer/__stories__/ConditionalReveal.js +1 -1
  649. package/form/RadioContainer/__stories__/Default.js +7 -4
  650. package/form/RadioContainer/__stories__/Inline.js +1 -1
  651. package/form/RadioContainer/__stories__/InlineWithDivider.d.ts +2 -0
  652. package/form/RadioContainer/__stories__/InlineWithDivider.js +39 -0
  653. package/form/RadioContainer/__stories__/MultipleQuestions.js +1 -1
  654. package/form/RadioContainer/__stories__/NoneAnswer.js +6 -2
  655. package/form/RadioContainer/__stories__/WithErrorMessage.js +3 -1
  656. package/form/RadioContainer/__stories__/WithHints.js +1 -1
  657. package/form/RadioContainer/__stories__/WithMediumLegend.d.ts +2 -0
  658. package/form/RadioContainer/__stories__/WithMediumLegend.js +38 -0
  659. package/form/RadioContainer/index.mdx +12 -35
  660. package/form/SearchContainer/index.d.ts +5 -0
  661. package/form/{SearchSection → SearchContainer}/index.js +5 -5
  662. package/form/SelectContainer/__stories__/Default.js +4 -4
  663. package/form/SelectContainer/index.mdx +9 -15
  664. package/form/SingleCharacterInputs/SingleCharacterInput.stories.d.ts +13 -0
  665. package/form/{SingleCharacterInputContainer/SingleCharacterInputContainer.stories.js → SingleCharacterInputs/SingleCharacterInput.stories.js} +8 -8
  666. package/form/{SingleCharacterInputContainer → SingleCharacterInputs}/__stories__/Default.js +13 -13
  667. package/form/{SingleCharacterInputContainer → SingleCharacterInputs}/__stories__/WithDefaultError.js +7 -7
  668. package/form/{SingleCharacterInputContainer → SingleCharacterInputs}/__stories__/WithErrorMessageInvalidCode.js +14 -14
  669. package/form/{SingleCharacterInputContainer → SingleCharacterInputs}/__stories__/WithErrorMessageLessDigit.js +11 -11
  670. package/form/SingleCharacterInputs/index.d.ts +4 -0
  671. package/form/{SingleCharacterInputContainer → SingleCharacterInputs}/index.js +9 -9
  672. package/form/SingleCharacterInputs/index.mdx +24 -0
  673. package/form/TextArea/index.mdx +7 -35
  674. package/form/TextInput/__stories__/FixedWidths.js +14 -24
  675. package/form/TextInput/__stories__/FluidWidths.js +14 -24
  676. package/form/TextInput/index.mdx +8 -40
  677. package/form/index.d.ts +2 -2
  678. package/form/index.js +8 -8
  679. package/govgr/Footer/Copyright.js +3 -3
  680. package/govgr/Footer/index.js +4 -4
  681. package/icons/Icon/index.d.ts +2 -2
  682. package/icons/Icon/index.js +1 -1
  683. package/icons/ImageLogo/index.d.ts +3 -0
  684. package/{navigation/NavList/NavListItemLink.js → icons/ImageLogo/index.js} +5 -5
  685. package/icons/ImageLogoSet/index.d.ts +3 -0
  686. package/{navigation/NavList/NavVerticalItem.js → icons/ImageLogoSet/index.js} +5 -5
  687. package/layouts/Admin/index.d.ts +1 -1
  688. package/layouts/Admin/index.js +4 -4
  689. package/layouts/Basic/Content/index.d.ts +1 -1
  690. package/layouts/Basic/Side/index.d.ts +1 -1
  691. package/layouts/Basic/__snapshots__/index.spec.tsx.snap +4 -4
  692. package/layouts/Divider/index.d.ts +1 -1
  693. package/layouts/Divider/index.js +4 -4
  694. package/layouts/Grid/Grid.stories.d.ts +1 -0
  695. package/layouts/Grid/Grid.stories.js +14 -0
  696. package/layouts/Grid/__stories__/ResponsiveSpacing.d.ts +2 -0
  697. package/layouts/Grid/__stories__/ResponsiveSpacing.js +93 -0
  698. package/layouts/Section/index.d.ts +3 -0
  699. package/{navigation/NavList/NavMenu.js → layouts/Section/index.js} +5 -5
  700. package/layouts/Stack/Stack.stories.d.ts +13 -0
  701. package/layouts/Stack/Stack.stories.js +101 -0
  702. package/layouts/Stack/__stories__/AlignItems.d.ts +2 -0
  703. package/layouts/Stack/__stories__/AlignItems.js +81 -0
  704. package/layouts/Stack/__stories__/Default.d.ts +2 -0
  705. package/layouts/Stack/__stories__/Default.js +38 -0
  706. package/layouts/Stack/__stories__/JustifyContent.d.ts +2 -0
  707. package/layouts/Stack/__stories__/JustifyContent.js +98 -0
  708. package/layouts/Stack/__stories__/NoWrap.d.ts +2 -0
  709. package/layouts/Stack/__stories__/NoWrap.js +40 -0
  710. package/layouts/Stack/__stories__/Row.d.ts +2 -0
  711. package/layouts/Stack/__stories__/Row.js +39 -0
  712. package/layouts/Stack/__stories__/Spacing.d.ts +2 -0
  713. package/layouts/Stack/__stories__/Spacing.js +69 -0
  714. package/layouts/Stack/index.d.ts +2 -0
  715. package/layouts/Stack/index.js +13 -0
  716. package/layouts/index.d.ts +2 -0
  717. package/layouts/index.js +21 -0
  718. package/navigation/BackLink/index.mdx +1 -5
  719. package/navigation/Breadcrumbs/index.mdx +6 -5
  720. package/navigation/Drawer/__stories__/Default.js +24 -68
  721. package/navigation/Drawer/index.mdx +1 -5
  722. package/navigation/Dropdown/__stories__/AlignRight.js +9 -9
  723. package/navigation/Dropdown/__stories__/Default.js +9 -9
  724. package/navigation/Dropdown/__stories__/PlacementTop.js +9 -9
  725. package/navigation/Dropdown/index.d.ts +0 -1
  726. package/navigation/Dropdown/index.js +0 -14
  727. package/navigation/Dropdown/index.mdx +3 -17
  728. package/navigation/Link/Link.stories.playwright.json +2 -2
  729. package/navigation/Link/index.d.ts +1 -1
  730. package/navigation/Link/index.js +12 -13
  731. package/navigation/Link/index.mdx +7 -25
  732. package/navigation/NavList/NavList.stories.d.ts +4 -0
  733. package/navigation/NavList/NavList.stories.js +56 -0
  734. package/navigation/NavList/NavList.stories.playwright.json +7 -7
  735. package/navigation/NavList/NavListAuto/index.js +80 -0
  736. package/navigation/NavList/NavMenuContentList.d.ts +5 -0
  737. package/navigation/NavList/{NavMenuContainerContentList.js → NavMenuContentList.js} +10 -10
  738. package/navigation/NavList/__stories__/Default.js +20 -77
  739. package/navigation/NavList/__stories__/NavVertical.d.ts +2 -0
  740. package/navigation/NavList/__stories__/NavVertical.js +53 -0
  741. package/navigation/NavList/__stories__/NavVerticalLayout.js +12 -32
  742. package/navigation/NavList/__stories__/NavVerticalWithTitle.d.ts +2 -0
  743. package/navigation/NavList/__stories__/NavVerticalWithTitle.js +59 -0
  744. package/navigation/NavList/__stories__/WithBurgerIcon.d.ts +2 -0
  745. package/navigation/NavList/__stories__/WithBurgerIcon.js +82 -0
  746. package/navigation/NavList/__stories__/WithSubMenu.d.ts +2 -0
  747. package/navigation/NavList/__stories__/WithSubMenu.js +96 -0
  748. package/navigation/NavList/hooks/useNavList.d.ts +1 -1
  749. package/navigation/NavList/hooks/useNavList.js +2 -2
  750. package/navigation/NavList/hooks/useTogglableNav.d.ts +1 -0
  751. package/navigation/NavList/hooks/useTogglableNav.js +33 -18
  752. package/navigation/NavList/index.d.ts +16 -17
  753. package/navigation/NavList/index.js +54 -96
  754. package/navigation/NavList/index.mdx +2 -10
  755. package/navigation/NavList/types.d.ts +14 -17
  756. package/navigation/NavList/types.js +1 -14
  757. package/navigation/Pagination/__stories__/Default.js +7 -65
  758. package/navigation/Pagination/__stories__/PaginationSmall.js +1 -1
  759. package/navigation/Pagination/__stories__/PaginationWithSmallFont.js +1 -1
  760. package/navigation/Pagination/__stories__/WithInactiveValues.js +2 -2
  761. package/navigation/Pagination/index.mdx +7 -15
  762. package/navigation/SkipLink/SkipLink.stories.d.ts +9 -0
  763. package/navigation/SkipLink/SkipLink.stories.js +32 -0
  764. package/navigation/SkipLink/__stories__/Default.d.ts +2 -0
  765. package/navigation/SkipLink/__stories__/Default.js +26 -0
  766. package/navigation/Tabs/Tabs.stories.playwright.json +2 -2
  767. package/navigation/Tabs/__stories__/Default.js +22 -6
  768. package/navigation/Tabs/index.js +1 -1
  769. package/navigation/Tabs/index.mdx +7 -5
  770. package/package.json +3 -3
  771. package/registry.d.ts +24 -32
  772. package/registry.js +44 -77
  773. package/src/app/BannerContainer/BannerContainer.stories.js +12 -0
  774. package/src/app/BannerContainer/__stories__/CookiesBanner.tsx +32 -0
  775. package/src/app/CloseButton/index.tsx +4 -0
  776. package/src/app/{FilterSection → FilterContainer}/index.tsx +4 -5
  777. package/src/app/Footer/Footer.stories.playwright.json +2 -2
  778. package/src/app/Footer/__stories__/Default.tsx +1 -1
  779. package/src/app/Footer/__stories__/DefaultCopyright.tsx +27 -25
  780. package/src/app/Footer/__stories__/FooterAllInclusive.tsx +96 -91
  781. package/src/app/Footer/__stories__/FooterWithLink.tsx +46 -40
  782. package/src/app/Footer/__stories__/FooterWithLogo.tsx +41 -35
  783. package/src/app/Footer/__stories__/FooterWithSecondaryNavigation.tsx +70 -68
  784. package/src/app/Footer/__stories__/YearCopyright.tsx +24 -23
  785. package/src/app/Footer/index.mdx +4 -20
  786. package/src/app/Footer/index.tsx +3 -5
  787. package/src/app/Header/Header.stories.playwright.json +1 -1
  788. package/src/app/Header/__snapshots__/index.spec.tsx.snap +0 -3
  789. package/src/app/Header/__stories__/Default.tsx +4 -4
  790. package/src/app/Header/__stories__/WithHeaderNavigation.tsx +16 -26
  791. package/src/app/Header/__stories__/WithNavigation.tsx +17 -38
  792. package/src/app/Header/__stories__/WithServiceName.tsx +4 -4
  793. package/src/app/Header/__stories__/WithServiceNameAndLogo.tsx +4 -4
  794. package/src/app/Header/index.mdx +4 -21
  795. package/src/app/Header/index.spec.tsx +2 -2
  796. package/src/app/Header/index.tsx +0 -1
  797. package/src/app/Masthead/Masthead.stories.js +2 -0
  798. package/src/app/Masthead/Masthead.stories.playwright.json +1 -1
  799. package/src/app/Masthead/__stories__/WithElements.tsx +31 -0
  800. package/src/app/Masthead/__stories__/WithLogo.tsx +28 -0
  801. package/src/app/Modal/__stories__/Default.tsx +1 -1
  802. package/src/app/Modal/index.mdx +1 -5
  803. package/src/app/NotFound/index.tsx +3 -3
  804. package/src/app/PageTitleContainer/index.tsx +5 -0
  805. package/src/app/Panel/Panel.stories.js +10 -0
  806. package/src/app/Panel/__stories__/Default.tsx +19 -0
  807. package/src/app/Panel/index.mdx +16 -0
  808. package/src/app/Panel/index.tsx +6 -0
  809. package/src/app/PhaseBannerHeader/index.mdx +1 -5
  810. package/src/app/PhaseBannerHeader/index.tsx +3 -3
  811. package/src/app/QrCodeViewer/index.mdx +2 -10
  812. package/src/app/ThemeOptions/index.tsx +7 -7
  813. package/src/app/index.ts +3 -4
  814. package/src/content/Accordion/index.mdx +2 -10
  815. package/src/content/Blockquote/Blockquote.stories.js +1 -0
  816. package/src/content/Blockquote/__stories__/Dense.tsx +11 -0
  817. package/src/content/Blockquote/index.mdx +1 -5
  818. package/src/content/Card/Card.stories.js +2 -0
  819. package/src/content/Card/__stories__/Default.tsx +1 -1
  820. package/src/content/Card/__stories__/Dense.tsx +24 -0
  821. package/src/content/Card/__stories__/WithLink.tsx +25 -0
  822. package/src/content/Card/index.mdx +8 -40
  823. package/src/content/Chip/__stories__/GroupOfChips.tsx +3 -3
  824. package/src/content/Chip/index.mdx +39 -0
  825. package/src/content/Chip/index.tsx +1 -2
  826. package/src/content/Details/index.mdx +6 -5
  827. package/src/content/List/__stories__/HorizontalList.tsx +1 -1
  828. package/src/content/List/__stories__/WithExtraSpace.tsx +1 -1
  829. package/src/content/List/index.mdx +3 -15
  830. package/src/content/StepNav/StepNav.stories.js +1 -0
  831. package/src/content/StepNav/__stories__/Default.tsx +3 -4
  832. package/src/content/StepNav/__stories__/Dense.tsx +261 -0
  833. package/src/content/StepNav/__stories__/WithHints.tsx +4 -4
  834. package/src/content/StepNav/index.mdx +21 -0
  835. package/src/content/SummaryList/SummaryList.stories.js +1 -0
  836. package/src/content/SummaryList/__stories__/Default.tsx +30 -21
  837. package/src/content/SummaryList/__stories__/WithActions.tsx +37 -41
  838. package/src/content/SummaryList/__stories__/WithoutActions.tsx +27 -0
  839. package/src/content/SummaryList/__stories__/WithoutBorders.tsx +31 -17
  840. package/src/content/SummaryList/index.mdx +3 -15
  841. package/src/content/Table/Table.stories.js +1 -0
  842. package/src/content/Table/__stories__/DarkVariant.tsx +1 -1
  843. package/src/content/Table/__stories__/DarkVariantWithVerticalHeaders.tsx +1 -1
  844. package/src/content/Table/__stories__/DefinedWidth.tsx +3 -3
  845. package/src/content/Table/__stories__/Full.tsx +1 -1
  846. package/src/content/Table/__stories__/MultipleProps.tsx +1 -1
  847. package/src/content/Table/__stories__/RowColors.tsx +96 -0
  848. package/src/content/Table/__stories__/WithFloatingScroll.tsx +5 -7
  849. package/src/content/Table/__stories__/ZebraProp.tsx +1 -1
  850. package/src/content/Table/index.mdx +15 -41
  851. package/src/content/Table/index.tsx +13 -12
  852. package/src/content/TaskList/TaskList.stories.js +1 -0
  853. package/src/content/TaskList/__stories__/Default.tsx +5 -5
  854. package/src/content/TaskList/__stories__/Dense.tsx +118 -0
  855. package/src/content/TaskList/index.mdx +21 -0
  856. package/src/content/Timeline/Timeline.stories.js +1 -0
  857. package/src/content/Timeline/__stories__/Default.tsx +55 -57
  858. package/src/content/Timeline/__stories__/Dense.tsx +196 -0
  859. package/src/content/Timeline/index.mdx +23 -0
  860. package/src/feedback/CopyToClipboard/__stories__/Default.tsx +2 -1
  861. package/src/feedback/CopyToClipboard/index.mdx +2 -10
  862. package/src/feedback/CopyToClipboard/index.tsx +4 -6
  863. package/src/feedback/ErrorSummary/ErrorSummary.stories.js +1 -0
  864. package/src/feedback/ErrorSummary/__stories__/LinkedToCheckbox.tsx +2 -1
  865. package/src/feedback/ErrorSummary/__stories__/LinkedToField.tsx +4 -6
  866. package/src/feedback/ErrorSummary/__stories__/WithBackLinkAndButton.tsx +49 -0
  867. package/src/feedback/ErrorSummary/index.mdx +4 -20
  868. package/src/feedback/NotificationBanner/__stories__/Default.tsx +2 -2
  869. package/src/feedback/NotificationBanner/index.mdx +2 -10
  870. package/src/feedback/NotificationBanner/index.tsx +6 -6
  871. package/src/feedback/PhaseBanner/index.mdx +2 -10
  872. package/src/feedback/ServiceBadge/index.mdx +9 -5
  873. package/src/feedback/WarningText/WarningText.stories.js +1 -0
  874. package/src/feedback/WarningText/__stories__/AssistiveText.tsx +10 -0
  875. package/src/feedback/WarningText/index.mdx +1 -5
  876. package/src/form/AutoComplete/__stories__/Default.tsx +1 -1
  877. package/src/form/AutoComplete/index.mdx +7 -35
  878. package/src/form/AutoComplete/index.tsx +6 -12
  879. package/src/form/Button/__stories__/CallToActionButton.tsx +1 -4
  880. package/src/form/Button/__stories__/GroupingButtons.tsx +0 -3
  881. package/src/form/Button/__stories__/GroupingButtonsAndLinks.tsx +0 -3
  882. package/src/form/Button/__stories__/Primary.tsx +1 -3
  883. package/src/form/Button/__stories__/Secondary.tsx +0 -3
  884. package/src/form/Button/__stories__/WithVariantLink.tsx +1 -3
  885. package/src/form/Button/index.mdx +8 -24
  886. package/src/form/Checkbox/Checkbox.stories.js +2 -0
  887. package/src/form/Checkbox/__stories__/ConditionalReveal.tsx +1 -1
  888. package/src/form/Checkbox/__stories__/Inline.tsx +32 -0
  889. package/src/form/Checkbox/__stories__/InlineWithDivider.tsx +32 -0
  890. package/src/form/Checkbox/__stories__/NoneAnswer.tsx +1 -1
  891. package/src/form/Checkbox/__stories__/NoneAnswerWithError.tsx +1 -1
  892. package/src/form/Checkbox/__stories__/WithHint.tsx +1 -1
  893. package/src/form/Checkbox/index.mdx +12 -35
  894. package/src/form/DateInputContainer/__stories__/Default.tsx +1 -1
  895. package/src/form/DateInputContainer/__stories__/MultipleQuestions.tsx +2 -2
  896. package/src/form/DateInputContainer/__stories__/WithErrorMessage.tsx +1 -1
  897. package/src/form/DateInputContainer/__stories__/WithErrorMessageForSingleField.tsx +1 -1
  898. package/src/form/DateInputContainer/index.mdx +9 -20
  899. package/src/form/ErrorMessage/ErrorMessage.stories.js +2 -0
  900. package/src/form/ErrorMessage/__stories__/DateInputError.tsx +34 -0
  901. package/src/form/ErrorMessage/__stories__/Default.tsx +12 -6
  902. package/src/form/ErrorMessage/__stories__/ErrorMessageOnly.tsx +12 -0
  903. package/src/form/ErrorMessage/index.mdx +1 -5
  904. package/src/form/FileUpload/__stories__/Default.tsx +2 -2
  905. package/src/form/FileUpload/__stories__/WithErrorMessage.tsx +2 -2
  906. package/src/form/FileUpload/index.mdx +3 -5
  907. package/src/form/RadioContainer/RadioContainer.stories.js +2 -0
  908. package/src/form/RadioContainer/__stories__/ConditionalReveal.tsx +1 -1
  909. package/src/form/RadioContainer/__stories__/Default.tsx +7 -4
  910. package/src/form/RadioContainer/__stories__/Inline.tsx +1 -1
  911. package/src/form/RadioContainer/__stories__/InlineWithDivider.tsx +32 -0
  912. package/src/form/RadioContainer/__stories__/MultipleQuestions.tsx +1 -1
  913. package/src/form/RadioContainer/__stories__/NoneAnswer.tsx +3 -3
  914. package/src/form/RadioContainer/__stories__/WithErrorMessage.tsx +1 -1
  915. package/src/form/RadioContainer/__stories__/WithHints.tsx +1 -1
  916. package/src/form/RadioContainer/__stories__/WithMediumLegend.tsx +32 -0
  917. package/src/form/RadioContainer/index.mdx +12 -35
  918. package/src/form/SearchContainer/index.tsx +6 -0
  919. package/src/form/SelectContainer/__stories__/Default.tsx +4 -4
  920. package/src/form/SelectContainer/index.mdx +9 -15
  921. package/src/form/SingleCharacterInputs/SingleCharacterInput.stories.js +13 -0
  922. package/src/form/{SingleCharacterInputContainer → SingleCharacterInputs}/__stories__/Default.tsx +11 -11
  923. package/src/form/{SingleCharacterInputContainer → SingleCharacterInputs}/__stories__/WithDefaultError.tsx +11 -11
  924. package/src/form/{SingleCharacterInputContainer → SingleCharacterInputs}/__stories__/WithErrorMessageInvalidCode.tsx +11 -11
  925. package/src/form/{SingleCharacterInputContainer → SingleCharacterInputs}/__stories__/WithErrorMessageLessDigit.tsx +11 -11
  926. package/src/form/SingleCharacterInputs/index.mdx +24 -0
  927. package/src/form/SingleCharacterInputs/index.tsx +4 -0
  928. package/src/form/TextArea/index.mdx +7 -35
  929. package/src/form/TextInput/__stories__/FixedWidths.tsx +8 -8
  930. package/src/form/TextInput/__stories__/FluidWidths.tsx +8 -8
  931. package/src/form/TextInput/index.mdx +8 -40
  932. package/src/form/index.ts +2 -2
  933. package/src/govgr/Footer/Copyright.tsx +11 -11
  934. package/src/govgr/Footer/index.tsx +8 -8
  935. package/src/icons/Icon/index.tsx +2 -2
  936. package/src/icons/ImageLogo/index.tsx +5 -0
  937. package/src/icons/ImageLogoSet/index.tsx +4 -0
  938. package/src/layouts/Admin/index.tsx +1 -1
  939. package/src/layouts/Basic/__snapshots__/index.spec.tsx.snap +4 -4
  940. package/src/layouts/Divider/index.tsx +1 -1
  941. package/src/layouts/Grid/Grid.stories.js +1 -0
  942. package/src/layouts/Grid/__stories__/ResponsiveSpacing.tsx +43 -0
  943. package/src/layouts/Section/index.tsx +3 -0
  944. package/src/layouts/Stack/Stack.stories.js +12 -0
  945. package/src/layouts/Stack/__stories__/AlignItems.tsx +36 -0
  946. package/src/layouts/Stack/__stories__/Default.tsx +17 -0
  947. package/src/layouts/Stack/__stories__/JustifyContent.tsx +47 -0
  948. package/src/layouts/Stack/__stories__/NoWrap.tsx +17 -0
  949. package/src/layouts/Stack/__stories__/Row.tsx +17 -0
  950. package/src/layouts/Stack/__stories__/Spacing.tsx +35 -0
  951. package/src/layouts/Stack/index.tsx +3 -0
  952. package/src/layouts/index.ts +2 -0
  953. package/src/navigation/BackLink/index.mdx +1 -5
  954. package/src/navigation/Breadcrumbs/index.mdx +6 -5
  955. package/src/navigation/Drawer/__stories__/Default.tsx +31 -84
  956. package/src/navigation/Drawer/index.mdx +1 -5
  957. package/src/navigation/Dropdown/__stories__/AlignRight.tsx +13 -12
  958. package/src/navigation/Dropdown/__stories__/Default.tsx +10 -11
  959. package/src/navigation/Dropdown/__stories__/PlacementTop.tsx +11 -11
  960. package/src/navigation/Dropdown/index.mdx +3 -17
  961. package/src/navigation/Dropdown/index.tsx +0 -1
  962. package/src/navigation/Link/Link.stories.playwright.json +2 -2
  963. package/src/navigation/Link/index.mdx +7 -25
  964. package/src/navigation/Link/index.tsx +1 -1
  965. package/src/navigation/NavList/NavList.stories.js +4 -0
  966. package/src/navigation/NavList/NavList.stories.playwright.json +7 -7
  967. package/src/navigation/NavList/NavListAuto/index.tsx +68 -0
  968. package/src/navigation/NavList/{NavMenuContainerContentList.tsx → NavMenuContentList.tsx} +8 -8
  969. package/src/navigation/NavList/__stories__/Default.tsx +16 -92
  970. package/src/navigation/NavList/__stories__/NavVertical.tsx +36 -0
  971. package/src/navigation/NavList/__stories__/NavVerticalLayout.tsx +25 -33
  972. package/src/navigation/NavList/__stories__/NavVerticalWithTitle.tsx +40 -0
  973. package/src/navigation/NavList/__stories__/WithBurgerIcon.tsx +49 -0
  974. package/src/navigation/NavList/__stories__/WithSubMenu.tsx +101 -0
  975. package/src/navigation/NavList/hooks/useNavList.ts +3 -3
  976. package/src/navigation/NavList/hooks/useTogglableNav.tsx +31 -19
  977. package/src/navigation/NavList/index.mdx +2 -10
  978. package/src/navigation/NavList/index.tsx +16 -17
  979. package/src/navigation/NavList/types.tsx +16 -28
  980. package/src/navigation/Pagination/__stories__/Default.tsx +2 -76
  981. package/src/navigation/Pagination/__stories__/PaginationSmall.tsx +1 -1
  982. package/src/navigation/Pagination/__stories__/PaginationWithSmallFont.tsx +1 -1
  983. package/src/navigation/Pagination/__stories__/WithInactiveValues.tsx +2 -2
  984. package/src/navigation/Pagination/index.mdx +7 -15
  985. package/src/navigation/SkipLink/SkipLink.stories.js +9 -0
  986. package/src/navigation/SkipLink/__stories__/Default.tsx +15 -0
  987. package/src/navigation/Tabs/Tabs.stories.playwright.json +2 -2
  988. package/src/navigation/Tabs/__stories__/Default.tsx +16 -9
  989. package/src/navigation/Tabs/index.mdx +7 -5
  990. package/src/navigation/Tabs/index.tsx +1 -1
  991. package/src/registry.js +36 -58
  992. package/src/typography/Heading/__stories__/Default.tsx +6 -6
  993. package/src/typography/Heading/index.mdx +1 -5
  994. package/src/typography/HeadingCaption/index.mdx +1 -5
  995. package/src/typography/Hint/__stories__/FontSizes.tsx +3 -3
  996. package/src/typography/Hint/index.mdx +3 -5
  997. package/src/typography/NormalText/__stories__/FontSizes.tsx +7 -7
  998. package/src/typography/NormalText/__stories__/Variants.tsx +2 -2
  999. package/src/typography/NormalText/index.mdx +5 -15
  1000. package/src/typography/Paragraph/__stories__/FontSizes.tsx +7 -7
  1001. package/src/typography/Paragraph/__stories__/LeadVariant.tsx +1 -1
  1002. package/src/typography/Paragraph/__stories__/SmallVariant.tsx +1 -1
  1003. package/src/typography/Paragraph/index.mdx +5 -20
  1004. package/src/utils/Kitchensink/KitchensinkDashboard.tsx +1 -1
  1005. package/typography/Caption/index.d.ts +1 -1
  1006. package/typography/Heading/__stories__/Default.js +9 -4
  1007. package/typography/Heading/index.mdx +1 -5
  1008. package/typography/HeadingCaption/index.mdx +1 -5
  1009. package/typography/Hint/__stories__/FontSizes.js +3 -3
  1010. package/typography/Hint/index.mdx +3 -5
  1011. package/typography/NormalText/__stories__/FontSizes.js +7 -7
  1012. package/typography/NormalText/__stories__/Variants.js +4 -4
  1013. package/typography/NormalText/index.mdx +5 -15
  1014. package/typography/Paragraph/__stories__/FontSizes.js +7 -7
  1015. package/typography/Paragraph/__stories__/LeadVariant.js +1 -1
  1016. package/typography/Paragraph/__stories__/SmallVariant.js +1 -1
  1017. package/typography/Paragraph/index.mdx +5 -20
  1018. package/utils/Kitchensink/KitchensinkDashboard.js +1 -1
  1019. package/app/Confirmation/__stories__/Default.js +0 -22
  1020. package/app/Confirmation/index.d.ts +0 -5
  1021. package/app/Confirmation/index.mdx +0 -20
  1022. package/app/Header/HeaderSubtitle.d.ts +0 -3
  1023. package/app/Header/HeaderSubtitle.js +0 -19
  1024. package/app/PageTitle/index.d.ts +0 -6
  1025. package/es/app/Confirmation/Confirmation.stories.js +0 -9
  1026. package/es/app/Confirmation/__stories__/Default.js +0 -9
  1027. package/es/app/Confirmation/index.js +0 -5
  1028. package/es/app/Confirmation/index.mdx +0 -20
  1029. package/es/app/Header/HeaderSubtitle.js +0 -3
  1030. package/es/app/PageTitle/index.js +0 -6
  1031. package/es/form/SearchSection/index.js +0 -5
  1032. package/es/form/SingleCharacterInputContainer/SingleCharacterInputContainer.stories.js +0 -12
  1033. package/es/form/SingleCharacterInputContainer/index.js +0 -4
  1034. package/es/form/SingleCharacterInputContainer/index.mdx +0 -36
  1035. package/es/navigation/NavList/NavListAuto/NavListAuto.js +0 -31
  1036. package/es/navigation/NavList/NavListAuto/NavListBaseAuto.js +0 -22
  1037. package/es/navigation/NavList/NavListAuto/NavListContextAuto.js +0 -104
  1038. package/es/navigation/NavList/NavListAuto/NavListItemAnchorAuto.js +0 -26
  1039. package/es/navigation/NavList/NavListAuto/NavListItemAuto.js +0 -38
  1040. package/es/navigation/NavList/NavListAuto/NavListItemButtonAuto.js +0 -30
  1041. package/es/navigation/NavList/NavListAuto/NavListMenuAuto.js +0 -36
  1042. package/es/navigation/NavList/NavListAuto/NavListSubMenuAuto.js +0 -26
  1043. package/es/navigation/NavList/NavListItem.js +0 -23
  1044. package/es/navigation/NavList/NavListItemBase.js +0 -44
  1045. package/es/navigation/NavList/NavListItemButton.js +0 -3
  1046. package/es/navigation/NavList/NavListItemLink.js +0 -3
  1047. package/es/navigation/NavList/NavMenu.js +0 -3
  1048. package/es/navigation/NavList/NavMenuContainer.js +0 -3
  1049. package/es/navigation/NavList/NavMenuContainerContent.js +0 -3
  1050. package/es/navigation/NavList/NavMenuContainerContentListItem.js +0 -3
  1051. package/es/navigation/NavList/NavMenuContainerTitle.js +0 -3
  1052. package/es/navigation/NavList/NavVertical.js +0 -3
  1053. package/es/navigation/NavList/NavVerticalItem.js +0 -3
  1054. package/esm/app/Confirmation/Confirmation.stories.js +0 -9
  1055. package/esm/app/Confirmation/__stories__/Default.js +0 -9
  1056. package/esm/app/Confirmation/index.js +0 -5
  1057. package/esm/app/Confirmation/index.mdx +0 -20
  1058. package/esm/app/Header/HeaderSubtitle.js +0 -3
  1059. package/esm/app/PageTitle/index.js +0 -6
  1060. package/esm/form/SearchSection/index.js +0 -5
  1061. package/esm/form/SingleCharacterInputContainer/SingleCharacterInputContainer.stories.js +0 -12
  1062. package/esm/form/SingleCharacterInputContainer/index.js +0 -4
  1063. package/esm/form/SingleCharacterInputContainer/index.mdx +0 -36
  1064. package/esm/navigation/NavList/NavListAuto/NavListAuto.js +0 -31
  1065. package/esm/navigation/NavList/NavListAuto/NavListBaseAuto.js +0 -22
  1066. package/esm/navigation/NavList/NavListAuto/NavListContextAuto.js +0 -104
  1067. package/esm/navigation/NavList/NavListAuto/NavListItemAnchorAuto.js +0 -26
  1068. package/esm/navigation/NavList/NavListAuto/NavListItemAuto.js +0 -38
  1069. package/esm/navigation/NavList/NavListAuto/NavListItemButtonAuto.js +0 -30
  1070. package/esm/navigation/NavList/NavListAuto/NavListMenuAuto.js +0 -36
  1071. package/esm/navigation/NavList/NavListAuto/NavListSubMenuAuto.js +0 -26
  1072. package/esm/navigation/NavList/NavListItem.js +0 -23
  1073. package/esm/navigation/NavList/NavListItemBase.js +0 -44
  1074. package/esm/navigation/NavList/NavListItemButton.js +0 -3
  1075. package/esm/navigation/NavList/NavListItemLink.js +0 -3
  1076. package/esm/navigation/NavList/NavMenu.js +0 -3
  1077. package/esm/navigation/NavList/NavMenuContainer.js +0 -3
  1078. package/esm/navigation/NavList/NavMenuContainerContent.js +0 -3
  1079. package/esm/navigation/NavList/NavMenuContainerContentListItem.js +0 -3
  1080. package/esm/navigation/NavList/NavMenuContainerTitle.js +0 -3
  1081. package/esm/navigation/NavList/NavVertical.js +0 -3
  1082. package/esm/navigation/NavList/NavVerticalItem.js +0 -3
  1083. package/form/SearchSection/index.d.ts +0 -5
  1084. package/form/SingleCharacterInputContainer/SingleCharacterInputContainer.stories.d.ts +0 -13
  1085. package/form/SingleCharacterInputContainer/index.d.ts +0 -4
  1086. package/form/SingleCharacterInputContainer/index.mdx +0 -36
  1087. package/navigation/NavList/NavListAuto/NavListAuto.js +0 -48
  1088. package/navigation/NavList/NavListAuto/NavListBaseAuto.d.ts +0 -3
  1089. package/navigation/NavList/NavListAuto/NavListBaseAuto.js +0 -38
  1090. package/navigation/NavList/NavListAuto/NavListContextAuto.d.ts +0 -29
  1091. package/navigation/NavList/NavListAuto/NavListContextAuto.js +0 -128
  1092. package/navigation/NavList/NavListAuto/NavListItemAnchorAuto.d.ts +0 -9
  1093. package/navigation/NavList/NavListAuto/NavListItemAnchorAuto.js +0 -51
  1094. package/navigation/NavList/NavListAuto/NavListItemAuto.d.ts +0 -8
  1095. package/navigation/NavList/NavListAuto/NavListItemAuto.js +0 -63
  1096. package/navigation/NavList/NavListAuto/NavListItemButtonAuto.d.ts +0 -12
  1097. package/navigation/NavList/NavListAuto/NavListItemButtonAuto.js +0 -48
  1098. package/navigation/NavList/NavListAuto/NavListMenuAuto.d.ts +0 -11
  1099. package/navigation/NavList/NavListAuto/NavListMenuAuto.js +0 -56
  1100. package/navigation/NavList/NavListAuto/NavListSubMenuAuto.d.ts +0 -9
  1101. package/navigation/NavList/NavListAuto/NavListSubMenuAuto.js +0 -44
  1102. package/navigation/NavList/NavListItem.d.ts +0 -4
  1103. package/navigation/NavList/NavListItem.js +0 -42
  1104. package/navigation/NavList/NavListItemBase.d.ts +0 -15
  1105. package/navigation/NavList/NavListItemBase.js +0 -68
  1106. package/navigation/NavList/NavListItemButton.d.ts +0 -3
  1107. package/navigation/NavList/NavListItemButton.js +0 -30
  1108. package/navigation/NavList/NavListItemLink.d.ts +0 -3
  1109. package/navigation/NavList/NavMenu.d.ts +0 -3
  1110. package/navigation/NavList/NavMenuContainer.d.ts +0 -3
  1111. package/navigation/NavList/NavMenuContainer.js +0 -30
  1112. package/navigation/NavList/NavMenuContainerContent.d.ts +0 -3
  1113. package/navigation/NavList/NavMenuContainerContent.js +0 -30
  1114. package/navigation/NavList/NavMenuContainerContentList.d.ts +0 -5
  1115. package/navigation/NavList/NavMenuContainerContentListItem.d.ts +0 -3
  1116. package/navigation/NavList/NavMenuContainerContentListItem.js +0 -30
  1117. package/navigation/NavList/NavMenuContainerTitle.d.ts +0 -3
  1118. package/navigation/NavList/NavMenuContainerTitle.js +0 -30
  1119. package/navigation/NavList/NavVertical.d.ts +0 -3
  1120. package/navigation/NavList/NavVerticalItem.d.ts +0 -3
  1121. package/src/app/Confirmation/Confirmation.stories.js +0 -10
  1122. package/src/app/Confirmation/__stories__/Default.tsx +0 -19
  1123. package/src/app/Confirmation/index.mdx +0 -20
  1124. package/src/app/Confirmation/index.tsx +0 -6
  1125. package/src/app/Header/HeaderSubtitle.tsx +0 -4
  1126. package/src/app/PageTitle/index.tsx +0 -6
  1127. package/src/form/SearchSection/index.tsx +0 -6
  1128. package/src/form/SingleCharacterInputContainer/SingleCharacterInputContainer.stories.js +0 -13
  1129. package/src/form/SingleCharacterInputContainer/index.mdx +0 -36
  1130. package/src/form/SingleCharacterInputContainer/index.tsx +0 -4
  1131. package/src/navigation/NavList/NavListAuto/NavListAuto.tsx +0 -34
  1132. package/src/navigation/NavList/NavListAuto/NavListBaseAuto.tsx +0 -20
  1133. package/src/navigation/NavList/NavListAuto/NavListContextAuto.tsx +0 -112
  1134. package/src/navigation/NavList/NavListAuto/NavListItemAnchorAuto.tsx +0 -38
  1135. package/src/navigation/NavList/NavListAuto/NavListItemAuto.tsx +0 -49
  1136. package/src/navigation/NavList/NavListAuto/NavListItemButtonAuto.tsx +0 -53
  1137. package/src/navigation/NavList/NavListAuto/NavListMenuAuto.tsx +0 -51
  1138. package/src/navigation/NavList/NavListAuto/NavListSubMenuAuto.tsx +0 -32
  1139. package/src/navigation/NavList/NavListItem.tsx +0 -46
  1140. package/src/navigation/NavList/NavListItemBase.tsx +0 -63
  1141. package/src/navigation/NavList/NavListItemButton.tsx +0 -3
  1142. package/src/navigation/NavList/NavListItemLink.tsx +0 -3
  1143. package/src/navigation/NavList/NavMenu.tsx +0 -3
  1144. package/src/navigation/NavList/NavMenuContainer.tsx +0 -3
  1145. package/src/navigation/NavList/NavMenuContainerContent.tsx +0 -3
  1146. package/src/navigation/NavList/NavMenuContainerContentListItem.tsx +0 -3
  1147. package/src/navigation/NavList/NavMenuContainerTitle.tsx +0 -3
  1148. package/src/navigation/NavList/NavVertical.tsx +0 -3
  1149. package/src/navigation/NavList/NavVerticalItem.tsx +0 -3
  1150. /package/app/{Confirmation → Panel}/__stories__/Default.d.ts +0 -0
  1151. /package/es/form/SelectContainer/{Select.stories.js → SelectContainer.stories.js} +0 -0
  1152. /package/es/form/SelectContainer/{Select.stories.playwright.json → SelectContainer.stories.playwright.json} +0 -0
  1153. /package/esm/form/SelectContainer/{Select.stories.js → SelectContainer.stories.js} +0 -0
  1154. /package/esm/form/SelectContainer/{Select.stories.playwright.json → SelectContainer.stories.playwright.json} +0 -0
  1155. /package/form/SelectContainer/{Select.stories.d.ts → SelectContainer.stories.d.ts} +0 -0
  1156. /package/form/SelectContainer/{Select.stories.js → SelectContainer.stories.js} +0 -0
  1157. /package/form/SelectContainer/{Select.stories.playwright.json → SelectContainer.stories.playwright.json} +0 -0
  1158. /package/form/{SingleCharacterInputContainer → SingleCharacterInputs}/__stories__/Default.d.ts +0 -0
  1159. /package/form/{SingleCharacterInputContainer → SingleCharacterInputs}/__stories__/WithDefaultError.d.ts +0 -0
  1160. /package/form/{SingleCharacterInputContainer → SingleCharacterInputs}/__stories__/WithErrorMessageInvalidCode.d.ts +0 -0
  1161. /package/form/{SingleCharacterInputContainer → SingleCharacterInputs}/__stories__/WithErrorMessageLessDigit.d.ts +0 -0
  1162. /package/navigation/NavList/NavListAuto/{NavListAuto.d.ts → index.d.ts} +0 -0
  1163. /package/src/form/SelectContainer/{Select.stories.js → SelectContainer.stories.js} +0 -0
  1164. /package/src/form/SelectContainer/{Select.stories.playwright.json → SelectContainer.stories.playwright.json} +0 -0
@@ -0,0 +1,23 @@
1
+ ---
2
+ id: timeline
3
+ title: Timeline
4
+ ---
5
+
6
+ # Timeline
7
+ A timeline is a useful way to display a whole range of information and/or data points to a user.
8
+ Keeping things organized in logical sequence timeline helps to keep track of what’s happening.
9
+ User can better understand what has happened and also understand what the next steps should be.
10
+
11
+ ```bash
12
+ import Timeline from '@digigov/ui/content/Timeline';
13
+ ```
14
+
15
+ ## How to use
16
+
17
+ ### Default
18
+
19
+ <Story packageName="@digigov/ui" component="content/Timeline" story="Default.tsx" />
20
+
21
+ ## API
22
+
23
+ <PropTypes packageName="@digigov/ui" component="Timeline" />
@@ -4,7 +4,8 @@ import { Button } from '@digigov/ui/form/Button';
4
4
 
5
5
  var _ref = /*#__PURE__*/React.createElement(CopyToClipboard, {
6
6
  text: "copied-text",
7
- variant: "tooltip-left",
7
+ variant: "tooltip",
8
+ tooltipAlign: "left",
8
9
  message: "\u0391\u03BD\u03C4\u03B9\u03B3\u03C1\u03AC\u03C6\u03B7\u03BA\u03B5 \u03C3\u03C4\u03BF \u03C0\u03C1\u03CC\u03C7\u03B5\u03B9\u03C1\u03BF",
9
10
  id: "copy-to-clipboard"
10
11
  }, /*#__PURE__*/React.createElement(Button, {
@@ -7,7 +7,9 @@ import NormalText from '@digigov/ui/typography/NormalText';
7
7
  export var CopyToClipboard = /*#__PURE__*/React.forwardRef(function CopyToClipboard(_ref, ref) {
8
8
  var text = _ref.text,
9
9
  _ref$variant = _ref.variant,
10
- variant = _ref$variant === void 0 ? 'tooltip-right' : _ref$variant,
10
+ variant = _ref$variant === void 0 ? 'tooltip' : _ref$variant,
11
+ _ref$tooltipAlign = _ref.tooltipAlign,
12
+ tooltipAlign = _ref$tooltipAlign === void 0 ? 'right' : _ref$tooltipAlign,
11
13
  message = _ref.message,
12
14
  _ref$timeout = _ref.timeout,
13
15
  timeout = _ref$timeout === void 0 ? 3000 : _ref$timeout,
@@ -38,9 +40,9 @@ export var CopyToClipboard = /*#__PURE__*/React.forwardRef(function CopyToClipbo
38
40
  return /*#__PURE__*/React.createElement(CopyToClipboardContainer, {
39
41
  onClick: copyToClipboard,
40
42
  variant: variant,
43
+ tooltipAlign: tooltipAlign,
41
44
  ref: ref
42
45
  }, children, enabled && /*#__PURE__*/React.createElement(CopyToClipboardMessage, {
43
- variant: variant,
44
46
  enabled: enabled,
45
47
  role: "tooltip"
46
48
  }, /*#__PURE__*/React.createElement(NormalText, null, message || t('copy-to-clipboard.message'))));
@@ -11,19 +11,11 @@ import CopyToClipboard from '@digigov/ui/feedback/CopyToClipboard';
11
11
 
12
12
  ### Default
13
13
 
14
- <Story
15
- packageName="@digigov/ui"
16
- component="feedback/CopyToClipboard"
17
- story="Default.tsx"
18
- />
14
+ <Story packageName="@digigov/ui" component="feedback/CopyToClipboard" story="Default.tsx" />
19
15
 
20
16
  ### Banner
21
17
 
22
- <Story
23
- packageName="@digigov/ui"
24
- component="feedback/CopyToClipboard"
25
- story="Banner.tsx"
26
- />
18
+ <Story packageName="@digigov/ui" component="feedback/CopyToClipboard" story="Banner.tsx" />
27
19
 
28
20
  ## API
29
21
 
@@ -9,4 +9,5 @@ export default {
9
9
  export * from '@digigov/ui/feedback/ErrorSummary/__stories__/Default';
10
10
  export * from '@digigov/ui/feedback/ErrorSummary/__stories__/LinkedToInput';
11
11
  export * from '@digigov/ui/feedback/ErrorSummary/__stories__/LinkedToField';
12
- export * from '@digigov/ui/feedback/ErrorSummary/__stories__/LinkedToCheckbox';
12
+ export * from '@digigov/ui/feedback/ErrorSummary/__stories__/LinkedToCheckbox';
13
+ export * from '@digigov/ui/feedback/ErrorSummary/__stories__/WithBackLinkAndButton';
@@ -6,6 +6,7 @@ import { FieldContainer, Fieldset, FieldsetLegend } from '@digigov/ui/form/Field
6
6
  import { Link } from '@digigov/ui/navigation/Link';
7
7
  import { Heading } from '@digigov/ui/typography/Heading';
8
8
  import { VisuallyHidden } from '@digigov/ui/utils/VisuallyHidden';
9
+ import { Hint } from '@digigov/ui/typography/Hint';
9
10
 
10
11
  var _ref = /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(ErrorSummary, null, /*#__PURE__*/React.createElement(Heading, {
11
12
  size: "sm"
@@ -13,7 +14,7 @@ var _ref = /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.crea
13
14
  href: "#england"
14
15
  }, "\u0395\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \u03BC\u03AF\u03B1 \u03AE \u03C0\u03B1\u03C1\u03B1\u03C0\u03AC\u03BD\u03C9 \u03C7\u03CE\u03C1\u03B5\u03C2.")), /*#__PURE__*/React.createElement(FieldContainer, {
15
16
  error: true
16
- }, /*#__PURE__*/React.createElement(Fieldset, null, /*#__PURE__*/React.createElement(FieldsetLegend, null, "\u0398\u03B1 \u03C4\u03B1\u03BE\u03B9\u03B4\u03AD\u03C8\u03B5\u03C4\u03B5 \u03C3\u03B5 \u03BA\u03AC\u03C0\u03BF\u03B9\u03B1 \u03B1\u03C0\u03CC \u03B1\u03C5\u03C4\u03AD\u03C2 \u03C4\u03B9\u03C2 \u03C7\u03CE\u03C1\u03B5\u03C2;"), /*#__PURE__*/React.createElement(ErrorMessage, null, /*#__PURE__*/React.createElement(VisuallyHidden, null, "\u039B\u03AC\u03B8\u03BF\u03C2:"), " \u0395\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \u03BC\u03AF\u03B1 \u03AE \u03C0\u03B1\u03C1\u03B1\u03C0\u03AC\u03BD\u03C9 \u03C7\u03CE\u03C1\u03B5\u03C2."), /*#__PURE__*/React.createElement(Checkbox, null, /*#__PURE__*/React.createElement(CheckboxItem, {
17
+ }, /*#__PURE__*/React.createElement(Fieldset, null, /*#__PURE__*/React.createElement(FieldsetLegend, null, "\u0398\u03B1 \u03C4\u03B1\u03BE\u03B9\u03B4\u03AD\u03C8\u03B5\u03C4\u03B5 \u03C3\u03B5 \u03BA\u03AC\u03C0\u03BF\u03B9\u03B1 \u03B1\u03C0\u03CC \u03B1\u03C5\u03C4\u03AD\u03C2 \u03C4\u03B9\u03C2 \u03C7\u03CE\u03C1\u03B5\u03C2;"), /*#__PURE__*/React.createElement(Hint, null, "\u03A0\u03B5\u03AF\u03C4\u03B5 \u03BC\u03B1\u03C2 \u03C3\u03C7\u03B5\u03C4\u03B9\u03BA\u03AC \u03BC\u03B5 \u03C0\u03C1\u03CC\u03C3\u03C6\u03B1\u03C4\u03B5\u03C2 \u03B1\u03BB\u03BB\u03B1\u03B3\u03AD\u03C2. \u0395\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \u03CC,\u03C4\u03B9 \u03B9\u03C3\u03C7\u03CD\u03B5\u03B9."), /*#__PURE__*/React.createElement(ErrorMessage, null, /*#__PURE__*/React.createElement(VisuallyHidden, null, "\u039B\u03AC\u03B8\u03BF\u03C2:"), " \u0395\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \u03BC\u03AF\u03B1 \u03AE \u03C0\u03B1\u03C1\u03B1\u03C0\u03AC\u03BD\u03C9 \u03C7\u03CE\u03C1\u03B5\u03C2."), /*#__PURE__*/React.createElement(Checkbox, null, /*#__PURE__*/React.createElement(CheckboxItem, {
17
18
  name: "england",
18
19
  value: "\u0391\u03B3\u03B3\u03BB\u03AF\u03B1",
19
20
  id: "england"
@@ -12,10 +12,10 @@ var _ref = /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.crea
12
12
  size: "sm"
13
13
  }, "\u03A5\u03C0\u03AE\u03C1\u03BE\u03B5 \u03BA\u03AC\u03C0\u03BF\u03B9\u03BF \u03C0\u03C1\u03CC\u03B2\u03BB\u03B7\u03BC\u03B1"), /*#__PURE__*/React.createElement(Link, {
14
14
  href: "#passport-date"
15
- }, "\u0397 \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03AD\u03BA\u03B4\u03BF\u03C3\u03B7\u03C2 \u03C4\u03BF\u03C5 \u03B4\u03B9\u03B1\u03B2\u03B1\u03C4\u03B7\u03C1\u03AF\u03BF\u03C5 \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03C3\u03C4\u03BF \u03C0\u03B1\u03C1\u03B5\u03BB\u03B8\u03CC\u03BD.")), /*#__PURE__*/React.createElement(FieldContainer, {
15
+ }, "\u03A0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C3\u03C5\u03BC\u03C0\u03BB\u03B7\u03C1\u03CE\u03C3\u03B5\u03C4\u03B5 \u03C4\u03BF \u03AD\u03C4\u03BF\u03C2.")), /*#__PURE__*/React.createElement(FieldContainer, {
16
16
  error: true,
17
17
  id: "passport-date"
18
- }, /*#__PURE__*/React.createElement(Fieldset, null, /*#__PURE__*/React.createElement(FieldsetLegend, null, "\u03A0\u03CC\u03C4\u03B5 \u03B5\u03BA\u03B4\u03CC\u03B8\u03B7\u03BA\u03B5 \u03C4\u03BF \u03B4\u03B9\u03B1\u03B2\u03B1\u03C4\u03AE\u03C1\u03B9\u03BF;"), /*#__PURE__*/React.createElement(Hint, null, "\u0393\u03B9\u03B1 \u03C0\u03B1\u03C1\u03AC\u03B4\u03B5\u03B9\u03B3\u03BC\u03B1, 05 11 2020"), /*#__PURE__*/React.createElement(ErrorMessage, null, /*#__PURE__*/React.createElement(VisuallyHidden, null, "\u039B\u03AC\u03B8\u03BF\u03C2:"), " \u0397 \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03AD\u03BA\u03B4\u03BF\u03C3\u03B7\u03C2 \u03C4\u03BF\u03C5 \u03B4\u03B9\u03B1\u03B2\u03B1\u03C4\u03B7\u03C1\u03AF\u03BF\u03C5 \u03C3\u03B1\u03C2 \u03B8\u03B1 \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03C3\u03C4\u03BF \u03C0\u03B1\u03C1\u03B5\u03BB\u03B8\u03CC\u03BD."), /*#__PURE__*/React.createElement(DateInputContainer, null, /*#__PURE__*/React.createElement(DateInputItem, {
18
+ }, /*#__PURE__*/React.createElement(Fieldset, null, /*#__PURE__*/React.createElement(FieldsetLegend, null, "\u03A0\u03BF\u03B9\u03AC \u03B5\u03AF\u03BD\u03B1\u03B9 \u03B7 \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03B3\u03AD\u03BD\u03BD\u03B7\u03C3\u03AE\u03C2 \u03C3\u03B1\u03C2;"), /*#__PURE__*/React.createElement(Hint, null, "\u0393\u03B9\u03B1 \u03C0\u03B1\u03C1\u03AC\u03B4\u03B5\u03B9\u03B3\u03BC\u03B1, 05 11 2020"), /*#__PURE__*/React.createElement(ErrorMessage, null, /*#__PURE__*/React.createElement(VisuallyHidden, null, "\u039B\u03AC\u03B8\u03BF\u03C2:"), "\u0397 \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03B3\u03AD\u03BD\u03BD\u03B7\u03C3\u03B7\u03C2 \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9 \u03AD\u03C4\u03BF\u03C2."), /*#__PURE__*/React.createElement(DateInputContainer, null, /*#__PURE__*/React.createElement(DateInputItem, {
19
19
  name: "day"
20
20
  }, "\u0397\u03BC\u03AD\u03C1\u03B1"), /*#__PURE__*/React.createElement(DateInputItem, {
21
21
  name: "month"
@@ -23,7 +23,7 @@ var _ref = /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.crea
23
23
  error: true,
24
24
  width: 4,
25
25
  name: "year"
26
- }, "\u03A7\u03C1\u03CC\u03BD\u03BF\u03C2")))));
26
+ }, "\u0388\u03C4\u03BF\u03C2")))));
27
27
 
28
28
  export var LinkedToField = function LinkedToField() {
29
29
  return _ref;
@@ -0,0 +1,35 @@
1
+ import React from 'react';
2
+ import { ErrorSummary } from '@digigov/ui/feedback/ErrorSummary';
3
+ import { DateInputContainer, DateInputItem } from '@digigov/ui/form/DateInputContainer';
4
+ import { ErrorMessage } from '@digigov/ui/form/ErrorMessage';
5
+ import { FieldContainer, Fieldset, FieldsetLegend } from '@digigov/ui/form/FieldContainer';
6
+ import { Link } from '@digigov/ui/navigation/Link';
7
+ import { Heading } from '@digigov/ui/typography/Heading';
8
+ import { Hint } from '@digigov/ui/typography/Hint';
9
+ import { VisuallyHidden } from '@digigov/ui/utils/VisuallyHidden';
10
+ import { BackLink } from '@digigov/ui/navigation/BackLink';
11
+ import Button from '@digigov/ui/form/Button';
12
+
13
+ var _ref = /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(BackLink, {
14
+ href: "/"
15
+ }, "\u03A0\u03AF\u03C3\u03C9"), /*#__PURE__*/React.createElement(ErrorSummary, null, /*#__PURE__*/React.createElement(Heading, {
16
+ size: "sm"
17
+ }, "\u03A5\u03C0\u03AE\u03C1\u03BE\u03B5 \u03BA\u03AC\u03C0\u03BF\u03B9\u03BF \u03C0\u03C1\u03CC\u03B2\u03BB\u03B7\u03BC\u03B1"), /*#__PURE__*/React.createElement(Link, {
18
+ href: "#passport-date"
19
+ }, "\u03A0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C3\u03C5\u03BC\u03C0\u03BB\u03B7\u03C1\u03CE\u03C3\u03B5\u03C4\u03B5 \u03C4\u03BF \u03AD\u03C4\u03BF\u03C2")), /*#__PURE__*/React.createElement(FieldContainer, {
20
+ error: true,
21
+ id: "passport-date"
22
+ }, /*#__PURE__*/React.createElement(Fieldset, null, /*#__PURE__*/React.createElement(FieldsetLegend, null, "\u03A0\u03BF\u03B9\u03AC \u03B5\u03AF\u03BD\u03B1\u03B9 \u03B7 \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03B3\u03AD\u03BD\u03BD\u03B7\u03C3\u03AE\u03C2 \u03C3\u03B1\u03C2"), /*#__PURE__*/React.createElement(Hint, null, "\u0393\u03B9\u03B1 \u03C0\u03B1\u03C1\u03AC\u03B4\u03B5\u03B9\u03B3\u03BC\u03B1, 05 11 2020"), /*#__PURE__*/React.createElement(ErrorMessage, null, /*#__PURE__*/React.createElement(VisuallyHidden, null, "\u039B\u03AC\u03B8\u03BF\u03C2:"), "\u0397 \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03B3\u03AD\u03BD\u03BD\u03B7\u03C3\u03B7\u03C2 \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9 \u03AD\u03C4\u03BF\u03C2."), /*#__PURE__*/React.createElement(DateInputContainer, null, /*#__PURE__*/React.createElement(DateInputItem, {
23
+ name: "day"
24
+ }, "\u0397\u03BC\u03AD\u03C1\u03B1"), /*#__PURE__*/React.createElement(DateInputItem, {
25
+ name: "month"
26
+ }, "\u039C\u03AE\u03BD\u03B1\u03C2"), /*#__PURE__*/React.createElement(DateInputItem, {
27
+ error: true,
28
+ width: 4,
29
+ name: "year"
30
+ }, "\u0388\u03C4\u03BF\u03C2")))), /*#__PURE__*/React.createElement(Button, null, "\u03A3\u03C5\u03BD\u03AD\u03C7\u03B5\u03B9\u03B1"));
31
+
32
+ export var WithBackLinkAndButton = function WithBackLinkAndButton() {
33
+ return _ref;
34
+ };
35
+ export default WithBackLinkAndButton;
@@ -15,11 +15,7 @@ import ErrorSummary from '@digigov/ui/feedback/ErrorSummary';
15
15
 
16
16
  ## How to use
17
17
 
18
- <Story
19
- packageName="@digigov/ui"
20
- component="feedback/ErrorSummary"
21
- story="Default.tsx"
22
- />
18
+ <Story packageName="@digigov/ui" component="feedback/ErrorSummary" story="Default.tsx" />
23
19
 
24
20
  ### Linking from the error summary to each answer
25
21
 
@@ -27,29 +23,17 @@ You must link the errors in the error summary to the answer they relate to.
27
23
 
28
24
  For questions that require a user to answer using a single field, like a file upload, select, textarea, text input or character count, link to the field.
29
25
 
30
- <Story
31
- packageName="@digigov/ui"
32
- component="feedback/ErrorSummary"
33
- story="LinkedToInput.tsx"
34
- />
26
+ <Story packageName="@digigov/ui" component="feedback/ErrorSummary" story="LinkedToInput.tsx" />
35
27
 
36
28
  When a user has to enter their answer into multiple fields, such as the day, month and year fields in the date input component, link to the first field that contains an error.
37
29
 
38
30
  If you do not know which field contains an error, link to the first field.
39
31
 
40
- <Story
41
- packageName="@digigov/ui"
42
- component="feedback/ErrorSummary"
43
- story="LinkedToField.tsx"
44
- />
32
+ <Story packageName="@digigov/ui" component="feedback/ErrorSummary" story="LinkedToField.tsx" />
45
33
 
46
34
  For questions that require a user to select one or more options from a list using radios or checkboxes, link to the first radio or checkbox.
47
35
 
48
- <Story
49
- packageName="@digigov/ui"
50
- component="feedback/ErrorSummary"
51
- story="LinkedToCheckbox.tsx"
52
- />
36
+ <Story packageName="@digigov/ui" component="feedback/ErrorSummary" story="LinkedToCheckbox.tsx" />
53
37
 
54
38
  ## API
55
39
 
@@ -2,11 +2,11 @@ import React from 'react';
2
2
  import { NotificationBanner } from '@digigov/ui/feedback/NotificationBanner';
3
3
  export var Default = function Default() {
4
4
  return /*#__PURE__*/React.createElement(NotificationBanner, {
5
- title: "\u03A0\u03C1\u03BF\u03B5\u03B9\u03B4\u03BF\u03C0\u03BF\u03AF\u03B7\u03C3\u03B7",
5
+ title: "\u0395\u03B9\u03B4\u03BF\u03C0\u03BF\u03AF\u03B7\u03C3\u03B7",
6
6
  link: {
7
7
  label: 'Προβολή αίτησης',
8
8
  href: '#link?name=NotificationBannerDefault'
9
9
  }
10
- }, "\u0388\u03C7\u03B5\u03C4\u03B5 7 \u03B7\u03BC\u03AD\u03C1\u03B5\u03C2 \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03C5\u03C0\u03BF\u03B2\u03AC\u03BB\u03B5\u03C4\u03B5 \u03C4\u03B7\u03BD \u03B1\u03AF\u03C4\u03B7\u03C3\u03B7.");
10
+ }, "\u03A3\u03B5 7 \u03B7\u03BC\u03AD\u03C1\u03B5\u03C2 \u03B8\u03B1 \u03BC\u03C0\u03BF\u03C1\u03B5\u03AF\u03C4\u03B5 \u03BD\u03B1 \u03C5\u03C0\u03BF\u03B2\u03AC\u03BB\u03B5\u03C4\u03B5 \u03C4\u03B7\u03BD \u03B1\u03AF\u03C4\u03B7\u03C3\u03B7.");
11
11
  };
12
12
  export default Default;
@@ -11,18 +11,15 @@ import NotificationBannerLink from '@digigov/react-core/NotificationBannerLink';
11
11
  var _ref2 = /*#__PURE__*/React.createElement("br", null);
12
12
 
13
13
  export var NotificationBanner = function NotificationBanner(_ref) {
14
- var _ref$variant = _ref.variant,
15
- variant = _ref$variant === void 0 ? 'important' : _ref$variant,
14
+ var variant = _ref.variant,
16
15
  title = _ref.title,
17
16
  link = _ref.link,
18
17
  children = _ref.children,
19
18
  props = _objectWithoutProperties(_ref, _excluded);
20
19
 
21
- var success = variant === 'success';
22
- title = title ? title : success ? 'Success' : 'Important';
23
20
  return /*#__PURE__*/React.createElement(NotificationBannerContainer, _extends({
24
- success: success
25
- }, props), /*#__PURE__*/React.createElement(NotificationBannerHeader, null, title), /*#__PURE__*/React.createElement(NotificationBannerContent, null, /*#__PURE__*/React.createElement(NotificationBannerHeading, null, children, _ref2, link && /*#__PURE__*/React.createElement(NotificationBannerLink, {
21
+ variant: variant
22
+ }, props), title && /*#__PURE__*/React.createElement(NotificationBannerHeader, null, title), /*#__PURE__*/React.createElement(NotificationBannerContent, null, /*#__PURE__*/React.createElement(NotificationBannerHeading, null, children, _ref2, link && /*#__PURE__*/React.createElement(NotificationBannerLink, {
26
23
  href: link.href
27
24
  }, link.label))));
28
25
  };
@@ -19,19 +19,11 @@ Use a ‘neutral’ blue notification banner if the user needs to know about a p
19
19
 
20
20
  Use a ‘neutral’ notification banner if the user needs to know about something that’s happening elsewhere in the service.
21
21
 
22
- <Story
23
- packageName="@digigov/ui"
24
- component="feedback/NotificationBanner"
25
- story="Default.tsx"
26
- />
22
+ <Story packageName="@digigov/ui" component="feedback/NotificationBanner" story="Default.tsx" />
27
23
 
28
24
  You can also use a notification banner to tell the user about the outcome of something they’ve just done - but they have not finished using the service, so it does not make sense to use a confirmation page.
29
25
 
30
- <Story
31
- packageName="@digigov/ui"
32
- component="feedback/NotificationBanner"
33
- story="Success.tsx"
34
- />
26
+ <Story packageName="@digigov/ui" component="feedback/NotificationBanner" story="Success.tsx" />
35
27
 
36
28
  ## API
37
29
 
@@ -15,19 +15,11 @@ import PhaseBanner from '@digigov/ui/feedback/PhaseBanner';
15
15
 
16
16
  Your banner must be directly under the blue GOV.GR header and colour bar.
17
17
 
18
- <Story
19
- packageName="@digigov/ui"
20
- component="feedback/PhaseBanner"
21
- story="Default.tsx"
22
- />
18
+ <Story packageName="@digigov/ui" component="feedback/PhaseBanner" story="Default.tsx" />
23
19
 
24
20
  ### Underlined
25
21
 
26
- <Story
27
- packageName="@digigov/ui"
28
- component="feedback/PhaseBanner"
29
- story="Underlined.tsx"
30
- />
22
+ <Story packageName="@digigov/ui" component="feedback/PhaseBanner"story="Underlined.tsx" />
31
23
 
32
24
  ## API
33
25
 
@@ -5,17 +5,21 @@ parent: docs/ui/component
5
5
  ---
6
6
 
7
7
  import ServiceBadge from '@digigov/ui/feedback/ServiceBadge';
8
- import Header, { HeaderTitle } from '@digigov/ui/app/Header';
8
+ import Header, { HeaderContent, HeaderSection, HeaderTitle } from '@digigov/ui/app/Header';
9
9
  import GovGRLogo from '@digigov/ui/govgr/GovGRLogo';
10
10
 
11
11
  ## Example
12
12
 
13
13
  <Header>
14
- <GovGRLogo />
15
- <HeaderTitle>
16
- Service Name <ServiceBadge label="ALPHA" />
17
- </HeaderTitle>
14
+ <HeaderContent>
15
+ <HeaderSection>
16
+ <GovGRLogo />
17
+ <HeaderTitle>Service Name </HeaderTitle>
18
+ <ServiceBadge label="ALPHA" />
19
+ </HeaderSection>
20
+ </HeaderContent>
18
21
  </Header>
22
+ <br/>
19
23
 
20
24
  ## How to use
21
25
 
@@ -6,4 +6,5 @@ export default {
6
6
  component: WarningText,
7
7
  displayName: 'WarningText'
8
8
  };
9
- export * from '@digigov/ui/feedback/WarningText/__stories__/Default';
9
+ export * from '@digigov/ui/feedback/WarningText/__stories__/Default';
10
+ export * from '@digigov/ui/feedback/WarningText/__stories__/AssistiveText';
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { WarningText } from '@digigov/ui/feedback/WarningText';
3
+
4
+ var _ref = /*#__PURE__*/React.createElement(WarningText, {
5
+ assistiveText: "\u03A3\u03B7\u03BC\u03B1\u03BD\u03C4\u03B9\u03BA\u03CC"
6
+ }, "\u039C\u03C0\u03BF\u03C1\u03B5\u03AF \u03BD\u03B1 \u03C3\u03B1\u03C2 \u03B5\u03C0\u03B9\u03B2\u03BB\u03B7\u03B8\u03B5\u03AF \u03C0\u03C1\u03CC\u03C3\u03C4\u03B9\u03BC\u03BF \u03AD\u03C9\u03C2 \u03BA\u03B1\u03B9 5.000 \u03B5\u03C5\u03C1\u03CE \u03B5\u03AC\u03BD \u03B4\u03B5\u03BD \u03B5\u03B3\u03B3\u03C1\u03B1\u03C6\u03B5\u03AF\u03C4\u03B5.");
7
+
8
+ export var AssistiveText = function AssistiveText() {
9
+ return _ref;
10
+ };
11
+ export default AssistiveText;
@@ -14,11 +14,7 @@ import WarningText from '@digigov/ui/feedback/WarningText';
14
14
  You might need to rewrite the hidden text ("Προσοχή" in the example) to make it appropriate for your context.
15
15
  This will be used by screen-readers.
16
16
 
17
- <Story
18
- packageName="@digigov/ui"
19
- component="feedback/WarningText"
20
- story="Default.tsx"
21
- />
17
+ <Story packageName="@digigov/ui" component="feedback/WarningText" story="Default.tsx" />
22
18
 
23
19
  ## API
24
20
 
@@ -6,7 +6,7 @@ import { FieldContainer } from '@digigov/ui/form/FieldContainer';
6
6
 
7
7
  var _ref = /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(FieldContainer, null, /*#__PURE__*/React.createElement(AutoComplete, {
8
8
  source: suggest,
9
- cellWidth: "one-third",
9
+ width: "33.3%",
10
10
  id: "govgr"
11
11
  })), /*#__PURE__*/React.createElement(Button, null, "\u03A5\u03C0\u03BF\u03B2\u03BF\u03BB\u03AE"));
12
12
 
@@ -18,9 +18,9 @@ import AutoCompleteInputTypeahead from '@digigov/react-core/AutoCompleteInputTyp
18
18
  import AutoCompleteResultList from '@digigov/react-core/AutoCompleteResultList';
19
19
  import AutoCompleteResultListItem from '@digigov/react-core/AutoCompleteResultListItem';
20
20
  import AutoCompleteWrapper from '@digigov/react-core/AutoCompleteWrapper';
21
- import DropdownArrowDown from '@digigov/react-core/DropdownArrowDown';
22
21
  import Status from '@digigov/ui/form/AutoComplete/Status';
23
22
  import { isIosDevice, keyCodes, isPrintableKeyCode } from '@digigov/ui/form/AutoComplete/utils';
23
+ import { CaretIcon } from '@digigov/react-icons/CaretIcon';
24
24
 
25
25
  var AutoComplete = /*#__PURE__*/function (_Component) {
26
26
  _inherits(AutoComplete, _Component);
@@ -477,7 +477,7 @@ var AutoComplete = /*#__PURE__*/function (_Component) {
477
477
 
478
478
  var _this$props4 = this.props,
479
479
  id = _this$props4.id,
480
- cellWidth = _this$props4.cellWidth,
480
+ width = _this$props4.width,
481
481
  displayMenu = _this$props4.displayMenu,
482
482
  minLength = _this$props4.minLength,
483
483
  name = _this$props4.name,
@@ -519,7 +519,7 @@ var AutoComplete = /*#__PURE__*/function (_Component) {
519
519
  } : null;
520
520
  return /*#__PURE__*/React.createElement(AutoCompleteWrapper, {
521
521
  onKeyDown: this.handleKeyDown,
522
- cellWidth: cellWidth
522
+ width: width
523
523
  }, /*#__PURE__*/React.createElement(Status, {
524
524
  id: id,
525
525
  length: options.length,
@@ -622,7 +622,7 @@ var AutoComplete = /*#__PURE__*/function (_Component) {
622
622
  }(Component);
623
623
 
624
624
  AutoComplete.defaultProps = {
625
- cellWidth: 'one-third',
625
+ width: '33.3%',
626
626
  autoselect: false,
627
627
  defaultValue: '',
628
628
  displayMenu: 'overlay',
@@ -642,7 +642,12 @@ AutoComplete.defaultProps = {
642
642
  tAssistiveHint: function tAssistiveHint() {
643
643
  return 'When autocomplete results are available use up and down arrows to review and enter to select. Touch device users, explore by touch or with swipe gestures.';
644
644
  },
645
- dropdownArrow: DropdownArrowDown
645
+ dropdownArrow: function dropdownArrow(props) {
646
+ return /*#__PURE__*/React.createElement(CaretIcon, _extends({
647
+ direction: "down",
648
+ size: "sm"
649
+ }, props));
650
+ }
646
651
  };
647
652
  export { AutoComplete as default };
648
653
  export { AutoComplete, AutoCompleteInput, AutoCompleteInputTypeahead, AutoCompleteResultList, AutoCompleteResultListItem, AutoCompleteWrapper, AutoCompleteAssistiveHint };
@@ -16,61 +16,33 @@ import AutoComplete from '@digigov/ui/form/AutoComplete';
16
16
 
17
17
  ### AutoComplete
18
18
 
19
- <Story
20
- packageName="@digigov/ui"
21
- component="form/AutoComplete"
22
- story="Default.tsx"
23
- />
19
+ <Story packageName="@digigov/ui" component="form/AutoComplete" story="Default.tsx" />
24
20
 
25
21
  ### AutoComplete with auto select
26
22
 
27
- <Story
28
- packageName="@digigov/ui"
29
- component="form/AutoComplete"
30
- story="WithAutoSelect.tsx"
31
- />
23
+ <Story packageName="@digigov/ui" component="form/AutoComplete" story="WithAutoSelect.tsx" />
32
24
 
33
25
  ### AutoComplete with inline style
34
26
 
35
- <Story
36
- packageName="@digigov/ui"
37
- component="form/AutoComplete"
38
- story="WithInLine.tsx"
39
- />
27
+ <Story packageName="@digigov/ui" component="form/AutoComplete" story="WithInLine.tsx" />
40
28
 
41
29
  ### AutoComplete with default value
42
30
 
43
- <Story
44
- packageName="@digigov/ui"
45
- component="form/AutoComplete"
46
- story="WithDefaultValue.tsx"
47
- />
31
+ <Story packageName="@digigov/ui" component="form/AutoComplete" story="WithDefaultValue.tsx" />
48
32
 
49
33
  ### AutoComplete with placeholder
50
34
 
51
- <Story
52
- packageName="@digigov/ui"
53
- component="form/AutoComplete"
54
- story="WithPlaceHolder.tsx"
55
- />
35
+ <Story packageName="@digigov/ui" component="form/AutoComplete" story="WithPlaceHolder.tsx" />
56
36
 
57
37
  ### AutoComplete with all option's values
58
38
 
59
- <Story
60
- packageName="@digigov/ui"
61
- component="form/AutoComplete"
62
- story="WithShowAllValues.tsx"
63
- />
39
+ <Story packageName="@digigov/ui" component="form/AutoComplete"story="WithShowAllValues.tsx" />
64
40
 
65
41
  ### AutoComplete with min length
66
42
 
67
43
  This is the minimum number of characters that should be entered before the autocomplete will attempt to suggest options(in above example is 2)
68
44
 
69
- <Story
70
- packageName="@digigov/ui"
71
- component="form/AutoComplete"
72
- story="WithMinLength.tsx"
73
- />
45
+ <Story packageName="@digigov/ui" component="form/AutoComplete" story="WithMinLength.tsx" />
74
46
 
75
47
  ## API
76
48
 
@@ -1,15 +1,12 @@
1
1
  import React from 'react';
2
2
  import { CallToAction } from '@digigov/ui/form/Button/CallToAction';
3
- /**
4
- * My primary descrition is the best description that was described
5
- */
6
3
 
7
4
  var _ref = /*#__PURE__*/React.createElement(CallToAction, {
8
5
  href: "#",
9
6
  role: "button",
10
7
  "aria-label": "\u0395\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2 \u03C3\u03C4\u03B7\u03BD \u03C5\u03C0\u03B7\u03C1\u03B5\u03C3\u03AF\u03B1",
11
8
  tabIndex: 0
12
- }, "\u0395\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2");
9
+ }, "\u0395\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2 \u03C3\u03C4\u03B7\u03BD \u03C5\u03C0\u03B7\u03C1\u03B5\u03C3\u03AF\u03B1");
13
10
 
14
11
  export var CallToActionButton = function CallToActionButton() {
15
12
  return _ref;
@@ -1,8 +1,5 @@
1
1
  import React from 'react';
2
2
  import { Button, ButtonGroup } from '@digigov/ui/form/Button';
3
- /**
4
- * My deescrition is the best description that was described
5
- */
6
3
 
7
4
  var _ref = /*#__PURE__*/React.createElement(ButtonGroup, null, /*#__PURE__*/React.createElement(Button, null, "\u039F\u03C1\u03B9\u03C3\u03C4\u03B9\u03BA\u03AE \u03C5\u03C0\u03BF\u03B2\u03BF\u03BB\u03AE"), /*#__PURE__*/React.createElement(Button, {
8
5
  color: "secondary"
@@ -1,9 +1,6 @@
1
1
  import React from 'react';
2
2
  import { Button, ButtonGroup } from '@digigov/ui/form/Button';
3
3
  import { Link } from '@digigov/ui/navigation/Link';
4
- /**
5
- * My deescrition is the best description that was described
6
- */
7
4
 
8
5
  var _ref = /*#__PURE__*/React.createElement(ButtonGroup, null, /*#__PURE__*/React.createElement(Button, {
9
6
  "aria-label": "\u03A3\u03C5\u03BD\u03B5\u03C7\u03AF\u03C3\u03C4\u03B5 \u03C3\u03C4\u03B7\u03BD \u03B5\u03C0\u03CC\u03BC\u03B5\u03BD\u03B7 \u03C3\u03B5\u03BB\u03AF\u03B4\u03B1"
@@ -1,8 +1,5 @@
1
1
  import React from 'react';
2
2
  import { Button } from '@digigov/ui/form/Button';
3
- /**
4
- * My primary descrition is the best description that was described
5
- */
6
3
 
7
4
  var _ref = /*#__PURE__*/React.createElement(Button, {
8
5
  "aria-label": "\u03A3\u03C5\u03BD\u03B5\u03C7\u03AF\u03C3\u03C4\u03B5 \u03C3\u03C4\u03B7\u03BD \u03B5\u03C0\u03CC\u03BC\u03B5\u03BD\u03B7 \u03C3\u03B5\u03BB\u03AF\u03B4\u03B1"
@@ -1,8 +1,5 @@
1
1
  import React from 'react';
2
2
  import { Button } from '@digigov/ui/form/Button';
3
- /**
4
- * My primary descrition is the best description that was described
5
- */
6
3
 
7
4
  var _ref = /*#__PURE__*/React.createElement(Button, {
8
5
  color: "secondary",
@@ -1,9 +1,5 @@
1
1
  import React from 'react';
2
2
  import { Button } from '@digigov/ui/form/Button';
3
- /**
4
- * My primary descrition is the best description that was described
5
- */
6
-
7
3
  export var WithVariantLink = function WithVariantLink() {
8
4
  return /*#__PURE__*/React.createElement(Button, {
9
5
  onClick: function onClick() {
@@ -24,21 +24,13 @@ Use a default button for the main call to action on a page.
24
24
 
25
25
  Use a start button for the main call to action on your service’s start page. Start buttons do not submit form data, so they use a link tag rather than a button tag.
26
26
 
27
- <Story
28
- packageName="@digigov/ui"
29
- component="form/Button"
30
- story="CallToActionButton.tsx"
31
- />
27
+ <Story packageName="@digigov/ui" component="form/Button" story="CallToActionButton.tsx" />
32
28
 
33
29
  ### Secondary buttons
34
30
 
35
31
  Use secondary buttons for secondary calls to action on a page.
36
32
 
37
- <Story
38
- packageName="@digigov/ui"
39
- component="form/Button"
40
- story="Secondary.tsx"
41
- />
33
+ <Story packageName="@digigov/ui" component="form/Button" story="Secondary.tsx" />
42
34
 
43
35
  ### Warning buttons
44
36
 
@@ -56,22 +48,14 @@ Disabled buttons have poor contrast and can confuse some users, so avoid them if
56
48
 
57
49
  Use a button group when two or more buttons are placed together.
58
50
 
59
- <Story
60
- packageName="@digigov/ui"
61
- component="form/Button"
62
- story="GroupingButtons.tsx"
63
- />
51
+ <Story packageName="@digigov/ui" component="form/Button" story="GroupingButtons.tsx" />
64
52
 
65
53
  Any links within a button group will automatically align with the buttons.
66
54
 
67
- <Story
68
- packageName="@digigov/ui"
69
- component="form/Button"
70
- story="GroupingButtonsAndLinks.tsx"
71
- />
55
+ <Story packageName="@digigov/ui" component="form/Button" story="GroupingButtonsAndLinks.tsx" />
72
56
 
73
57
  Write button text in sentence case, describing the action it performs. For
74
- example:'
58
+ example:
75
59
 
76
60
  - `Start now` at the [start of the service](https://guide.services.gov.gr/docs/start-pages)
77
61
  - `Sign in` to an account a user has already created
@@ -101,12 +85,12 @@ to do next.
101
85
 
102
86
  ## API Docs
103
87
 
104
- Read more about [how to use the React types](/docs/api/Button)
88
+ Read more about [how to use the React types](/docs/api/Button).
105
89
 
106
90
  ## Accessibility
107
91
 
108
- You can read more about the accessibility patterns used in our Select
109
- implementation in the ARIA Authoring Practices Guide (APG) at
92
+ You can read more about the accessibility patterns used in our Button
93
+ implementation in the ARIA Authoring Practices Guide (APG) at [button](https://www.w3.org/WAI/ARIA/apg/patterns/button/) section.
110
94
 
111
95
  ## API
112
96