@digigov/ui 0.24.3 → 0.26.2

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 (562) hide show
  1. package/CHANGELOG.md +39 -1
  2. package/admin/AutoComplete/__stories__/Default.d.ts +0 -1
  3. package/admin/AutoComplete/__stories__/Default.js +1 -1
  4. package/admin/AutoComplete/__stories__/WithAutoSelect.d.ts +0 -1
  5. package/admin/AutoComplete/__stories__/WithAutoSelect.js +13 -2
  6. package/admin/AutoComplete/__stories__/WithDefaultValue.d.ts +0 -1
  7. package/admin/AutoComplete/__stories__/WithDefaultValue.js +1 -1
  8. package/admin/AutoComplete/__stories__/WithInLine.d.ts +0 -1
  9. package/admin/AutoComplete/__stories__/WithInLine.js +1 -1
  10. package/admin/AutoComplete/__stories__/WithMinLength.d.ts +0 -1
  11. package/admin/AutoComplete/__stories__/WithMinLength.js +1 -1
  12. package/admin/AutoComplete/__stories__/WithPlaceHolder.d.ts +0 -1
  13. package/admin/AutoComplete/__stories__/WithPlaceHolder.js +1 -1
  14. package/admin/AutoComplete/__stories__/WithShowAllValues.d.ts +0 -1
  15. package/admin/AutoComplete/__stories__/WithShowAllValues.js +1 -1
  16. package/admin/AutoComplete/__stories__/utils.d.ts +2 -0
  17. package/admin/AutoComplete/__stories__/utils.js +15 -0
  18. package/admin/AutoComplete/index.d.ts +37 -20
  19. package/admin/AutoComplete/index.js +15 -53
  20. package/admin/AutoComplete/utils.d.ts +9 -1
  21. package/admin/AutoComplete/utils.js +23 -6
  22. package/admin/Chip/index.d.ts +2 -0
  23. package/admin/Chip/index.js +28 -0
  24. package/admin/CircularProgress/__stories__/Default.d.ts +0 -1
  25. package/admin/CopyToClipboard/CopyToClipboard.stories.playwright.json +37 -0
  26. package/admin/CopyToClipboard/__stories__/Banner.d.ts +0 -1
  27. package/admin/CopyToClipboard/__stories__/Default.d.ts +0 -1
  28. package/admin/CopyToClipboard/__stories__/MultipleCopies.d.ts +0 -1
  29. package/admin/CopyToClipboard/index.d.ts +4 -1
  30. package/admin/CopyToClipboard/index.js +14 -1
  31. package/admin/Drawer/Drawer.stories.d.ts +1 -4
  32. package/admin/Drawer/Drawer.stories.js +3 -22
  33. package/admin/Drawer/__stories__/Default.d.ts +0 -1
  34. package/admin/Drawer/__stories__/Default.js +13 -13
  35. package/admin/Drawer/index.d.ts +1 -0
  36. package/admin/Drawer/index.js +14 -0
  37. package/admin/Dropdown/Dropdown.stories.playwright.json +21 -0
  38. package/admin/Dropdown/__stories__/AlignRight.d.ts +0 -1
  39. package/admin/Dropdown/__stories__/Default.d.ts +0 -1
  40. package/admin/Dropdown/__stories__/PlacementTop.d.ts +0 -1
  41. package/admin/DropdownArrowDown/index.d.ts +3 -0
  42. package/admin/DropdownArrowDown/index.js +19 -0
  43. package/admin/Modal/Modal.stories.playwright.json +37 -0
  44. package/admin/Modal/__stories__/AlertDialog.d.ts +0 -1
  45. package/admin/Modal/__stories__/Default.d.ts +0 -1
  46. package/admin/Pagination/Pagination.stories.playwright.json +27 -0
  47. package/admin/Pagination/__stories__/Default.d.ts +0 -1
  48. package/admin/Pagination/index.d.ts +1 -1
  49. package/admin/StepNav/StepNav.stories.playwright.json +33 -0
  50. package/admin/StepNav/__stories__/Default.d.ts +0 -1
  51. package/admin/TaskList/__stories__/Default.d.ts +0 -1
  52. package/admin/Timeline/__stories__/Default.d.ts +0 -1
  53. package/admin/index.d.ts +1 -0
  54. package/admin/index.js +13 -0
  55. package/app/App.d.ts +0 -7
  56. package/app/App.js +6 -25
  57. package/app/Confirmation/__stories__/Default.d.ts +0 -1
  58. package/app/Footer/Footer.stories.d.ts +1 -0
  59. package/app/Footer/Footer.stories.js +14 -0
  60. package/app/Footer/Footer.stories.playwright.json +27 -0
  61. package/app/Footer/__stories__/Default.d.ts +0 -1
  62. package/app/Footer/__stories__/DefaultCopyright.d.ts +2 -0
  63. package/app/Footer/__stories__/DefaultCopyright.js +32 -0
  64. package/app/Footer/__stories__/FooterAllInclusive.d.ts +0 -1
  65. package/app/Footer/__stories__/FooterAllInclusive.js +11 -4
  66. package/app/Footer/__stories__/FooterWithLink.d.ts +0 -1
  67. package/app/Footer/__stories__/FooterWithLink.js +1 -1
  68. package/app/Footer/__stories__/FooterWithLogo.d.ts +0 -1
  69. package/app/Footer/__stories__/FooterWithLogo.js +6 -2
  70. package/app/Footer/__stories__/FooterWithSecondaryNavigation.d.ts +0 -1
  71. package/app/Header/Header.stories.d.ts +12 -12
  72. package/app/Header/Header.stories.playwright.json +33 -0
  73. package/app/Header/HeaderLogo.d.ts +1 -1
  74. package/app/Header/HeaderSection.d.ts +1 -1
  75. package/app/Header/HeaderTitle.d.ts +1 -1
  76. package/app/Header/__stories__/Default.d.ts +0 -1
  77. package/app/Header/__stories__/Default.js +2 -3
  78. package/app/Header/__stories__/WithNavigation.d.ts +0 -1
  79. package/app/Header/__stories__/WithNavigation.js +3 -4
  80. package/app/Header/__stories__/WithServiceName.d.ts +0 -1
  81. package/app/Header/__stories__/WithServiceName.js +2 -3
  82. package/app/Header/__stories__/WithServiceNameAndLogo.d.ts +0 -1
  83. package/app/Header/__stories__/WithServiceNameAndLogo.js +5 -4
  84. package/app/Header/index.d.ts +1 -1
  85. package/app/Header/index.spec.js +1 -5
  86. package/app/NotFound/__stories__/Default.d.ts +0 -1
  87. package/app/OutdatedBrowserBanner.d.ts +0 -1
  88. package/app/PhaseBannerHeader/__stories__/Default.d.ts +0 -1
  89. package/app/PhaseBannerHeader/index.d.ts +1 -1
  90. package/app/QrCodeScanner/__stories__/Default.d.ts +0 -1
  91. package/app/i18n.d.ts +2 -2
  92. package/app/i18n.js +16 -2
  93. package/core/Accordion/Accordion.stories.playwright.json +27 -0
  94. package/core/Accordion/__stories__/Default.d.ts +0 -1
  95. package/core/Accordion/__stories__/WithHints.d.ts +0 -1
  96. package/core/Accordion/index.d.ts +3 -3
  97. package/core/BackLink/BackLink.stories.playwright.json +21 -0
  98. package/core/BackLink/__stories__/Default.d.ts +0 -1
  99. package/core/Base/index.d.ts +3 -0
  100. package/core/Base/index.js +19 -0
  101. package/core/Blockquote/__stories__/Default.d.ts +0 -1
  102. package/core/Blockquote/index.d.ts +1 -1
  103. package/core/Breadcrumbs/Breadcrumbs.stories.playwright.json +33 -0
  104. package/core/Breadcrumbs/__stories__/Default.d.ts +0 -1
  105. package/core/Button/BackButton.d.ts +1 -1
  106. package/core/Button/Button.stories.d.ts +15 -15
  107. package/core/Button/Button.stories.playwright.json +93 -0
  108. package/core/Button/ButtonLink.d.ts +1 -1
  109. package/core/Button/__stories__/Back.d.ts +0 -1
  110. package/core/Button/__stories__/ButtonLinkButton.d.ts +0 -1
  111. package/core/Button/__stories__/CallToActionButton.d.ts +0 -1
  112. package/core/Button/__stories__/Disabled.d.ts +0 -1
  113. package/core/Button/__stories__/GroupingButtons.d.ts +0 -1
  114. package/core/Button/__stories__/GroupingButtons.js +1 -1
  115. package/core/Button/__stories__/GroupingButtonsAndLinks.d.ts +0 -1
  116. package/core/Button/__stories__/Primary.d.ts +0 -1
  117. package/core/Button/__stories__/Secondary.d.ts +0 -1
  118. package/core/Button/__stories__/Warning.d.ts +0 -1
  119. package/core/Button/__stories__/WithVariantLink.d.ts +0 -1
  120. package/core/Button/index.d.ts +1 -1
  121. package/core/Card/Card.stories.playwright.json +21 -0
  122. package/core/Card/__stories__/Default.d.ts +0 -1
  123. package/core/Card/__stories__/WithClickableContent.d.ts +0 -1
  124. package/core/Card/__stories__/WithClickableLink.d.ts +0 -1
  125. package/core/Card/__stories__/WithDarkBorder.d.ts +0 -1
  126. package/core/Card/__stories__/WithDarkTopBorder.d.ts +0 -1
  127. package/core/Card/__stories__/WithDivider.d.ts +0 -1
  128. package/core/Card/__stories__/WithGrayBorder.d.ts +0 -1
  129. package/core/Card/__stories__/WithGrayTopBorder.d.ts +0 -1
  130. package/core/Card/__stories__/WithGroupButton.d.ts +0 -1
  131. package/core/Checkboxes/Checkbox.stories.playwright.json +55 -0
  132. package/core/Checkboxes/__stories__/ConditionalReveal.d.ts +0 -1
  133. package/core/Checkboxes/__stories__/Default.d.ts +0 -1
  134. package/core/Checkboxes/__stories__/MultipleQuestions.d.ts +0 -1
  135. package/core/Checkboxes/__stories__/NoneAnswer.d.ts +0 -1
  136. package/core/Checkboxes/__stories__/NoneAnswerWithError.d.ts +2 -3
  137. package/core/Checkboxes/__stories__/NoneAnswerWithError.js +4 -4
  138. package/core/Checkboxes/__stories__/WithErrorMessage.d.ts +0 -1
  139. package/core/Checkboxes/__stories__/WithHint.d.ts +0 -1
  140. package/core/Confirmation/__stories__/Default.d.ts +0 -1
  141. package/core/DateInput/DateInput.stories.playwright.json +61 -0
  142. package/core/DateInput/__stories__/Default.d.ts +0 -1
  143. package/core/DateInput/__stories__/MultipleQuestions.d.ts +0 -1
  144. package/core/DateInput/__stories__/WithErrorMessage.d.ts +0 -1
  145. package/core/DateInput/__stories__/WithErrorMessageForSingleField.d.ts +0 -1
  146. package/core/Details/Details.stories.playwright.json +27 -0
  147. package/core/Details/__stories__/Default.d.ts +0 -1
  148. package/core/Divider/__stories__/Default.d.ts +0 -1
  149. package/core/Divider/index.d.ts +1 -1
  150. package/core/ErrorMessage/__stories__/Default.d.ts +0 -1
  151. package/core/ErrorSummary/ErrorSummary.stories.playwright.json +27 -0
  152. package/core/ErrorSummary/__stories__/Default.d.ts +0 -1
  153. package/core/ErrorSummary/__stories__/LinkedToCheckbox.d.ts +0 -1
  154. package/core/ErrorSummary/__stories__/LinkedToField.d.ts +0 -1
  155. package/core/ErrorSummary/__stories__/LinkedToInput.d.ts +0 -1
  156. package/core/ErrorSummary/index.spec.js +3 -5
  157. package/core/FileUpload/__stories__/Default.d.ts +0 -1
  158. package/core/FileUpload/__stories__/Default.js +1 -1
  159. package/core/FileUpload/__stories__/WithErrorMessage.d.ts +2 -3
  160. package/core/FileUpload/__stories__/WithErrorMessage.js +5 -5
  161. package/core/Form/index.d.ts +3 -0
  162. package/core/Form/index.js +19 -0
  163. package/core/Label/index.d.ts +4 -0
  164. package/core/Label/index.js +44 -0
  165. package/core/Link/Link.stories.playwright.json +65 -0
  166. package/core/Link/__stories__/DarkBackground.d.ts +0 -1
  167. package/core/Link/__stories__/DarkBackgroundNoUnderline.d.ts +0 -1
  168. package/core/Link/__stories__/Default.d.ts +0 -1
  169. package/core/Link/__stories__/NoUnderline.d.ts +0 -1
  170. package/core/Link/__stories__/OpensInNewTab.d.ts +0 -1
  171. package/core/Link/index.d.ts +1 -0
  172. package/core/Link/index.js +2 -1
  173. package/core/List/List.stories.playwright.json +27 -0
  174. package/core/List/ListItemContent.d.ts +0 -1
  175. package/core/List/ListItemContent.js +9 -27
  176. package/core/List/ListItemIcon.d.ts +1 -3
  177. package/core/List/ListItemIcon.js +9 -30
  178. package/core/List/ListItemText.d.ts +0 -1
  179. package/core/List/ListItemText.js +8 -15
  180. package/core/List/ListItemTitle.d.ts +0 -1
  181. package/core/List/ListItemTitle.js +8 -15
  182. package/core/List/__stories__/BulletList.d.ts +0 -1
  183. package/core/List/__stories__/Default.d.ts +0 -1
  184. package/core/List/__stories__/NumberedList.d.ts +0 -1
  185. package/core/List/__stories__/WithExtraSpace.d.ts +0 -1
  186. package/core/List/index.spec.js +1 -3
  187. package/core/Masthead/Masthead.stories.playwright.json +21 -0
  188. package/core/Masthead/__stories__/Default.d.ts +0 -1
  189. package/core/NavList/NavHorizontal.d.ts +3 -0
  190. package/core/NavList/NavHorizontal.js +19 -0
  191. package/core/NavList/NavHorizontalList.d.ts +3 -0
  192. package/core/NavList/NavHorizontalList.js +19 -0
  193. package/core/NavList/NavHorizontalListItem.d.ts +3 -0
  194. package/core/NavList/NavHorizontalListItem.js +19 -0
  195. package/core/NavList/NavList.stories.playwright.json +33 -0
  196. package/core/NavList/NavListItem.d.ts +1 -1
  197. package/core/NavList/NavListItemBase.d.ts +1 -1
  198. package/core/NavList/NavVertical.d.ts +3 -0
  199. package/core/NavList/NavVertical.js +19 -0
  200. package/core/NavList/NavVerticalItem.d.ts +3 -0
  201. package/core/NavList/NavVerticalItem.js +19 -0
  202. package/core/NavList/__stories__/Default.d.ts +0 -1
  203. package/core/NavList/__stories__/NavHorizontalLayout.d.ts +0 -1
  204. package/core/NavList/index.d.ts +5 -0
  205. package/core/NavList/index.js +70 -0
  206. package/core/NavList/index.spec.js +1 -3
  207. package/core/NotificationBanner/NotificationBanner.stories.playwright.json +49 -0
  208. package/core/NotificationBanner/__stories__/Default.d.ts +0 -1
  209. package/core/NotificationBanner/__stories__/Success.d.ts +0 -1
  210. package/core/NotificationBanner/index.spec.js +3 -5
  211. package/core/PhaseBanner/PhaseBanner.stories.playwright.json +21 -0
  212. package/core/PhaseBanner/__stories__/Default.d.ts +0 -1
  213. package/core/PhaseBanner/__stories__/Underlined.d.ts +0 -1
  214. package/core/Radios/Radios.stories.playwright.json +49 -0
  215. package/core/Radios/__stories__/ConditionalReveal.d.ts +0 -1
  216. package/core/Radios/__stories__/Default.d.ts +0 -1
  217. package/core/Radios/__stories__/Inline.d.ts +0 -1
  218. package/core/Radios/__stories__/MultipleQuestions.d.ts +0 -1
  219. package/core/Radios/__stories__/NoneAnswer.d.ts +0 -1
  220. package/core/Radios/__stories__/WithErrorMessage.d.ts +0 -1
  221. package/core/Radios/__stories__/WithHints.d.ts +0 -1
  222. package/core/Select/Select.stories.playwright.json +21 -0
  223. package/core/Select/__stories__/Default.d.ts +0 -1
  224. package/core/Select/__stories__/DisabledInput.d.ts +0 -1
  225. package/core/Select/__stories__/WithHint.d.ts +0 -1
  226. package/core/SkipLink/index.d.ts +3 -0
  227. package/core/SkipLink/index.js +19 -0
  228. package/core/SummaryList/SummaryList.stories.d.ts +1 -0
  229. package/core/SummaryList/SummaryList.stories.js +14 -0
  230. package/core/SummaryList/SummaryList.stories.playwright.json +27 -0
  231. package/core/SummaryList/__stories__/Default.d.ts +0 -1
  232. package/core/SummaryList/__stories__/Default.js +7 -1
  233. package/core/SummaryList/__stories__/WithActions.d.ts +0 -1
  234. package/core/SummaryList/__stories__/WithKeyAndAction.d.ts +2 -0
  235. package/core/SummaryList/__stories__/WithKeyAndAction.js +42 -0
  236. package/core/SummaryList/__stories__/WithoutBorders.d.ts +0 -1
  237. package/core/SvgIcon/index.d.ts +1 -0
  238. package/core/SvgIcon/index.js +14 -0
  239. package/core/Table/Table.stories.playwright.json +21 -0
  240. package/core/Table/TableFloatingScroll.d.ts +0 -1
  241. package/core/Table/__stories__/DarkVariant.d.ts +0 -1
  242. package/core/Table/__stories__/DarkVariantWithVerticalHeaders.d.ts +0 -1
  243. package/core/Table/__stories__/Default.d.ts +0 -1
  244. package/core/Table/__stories__/DefinedWidth.d.ts +0 -1
  245. package/core/Table/__stories__/Densed.d.ts +0 -1
  246. package/core/Table/__stories__/MultipleProps.d.ts +0 -1
  247. package/core/Table/__stories__/NoData.d.ts +0 -1
  248. package/core/Table/__stories__/NumericDataType.d.ts +0 -1
  249. package/core/Table/__stories__/TableCaptions.d.ts +0 -1
  250. package/core/Table/__stories__/VerticalBorders.d.ts +0 -1
  251. package/core/Table/__stories__/VerticalHeaders.d.ts +0 -1
  252. package/core/Table/__stories__/WithFloatingScroll.d.ts +0 -1
  253. package/core/Table/__stories__/WithHeader.d.ts +0 -1
  254. package/core/Table/__stories__/WithLoader.d.ts +0 -1
  255. package/core/Table/__stories__/ZebraProp.d.ts +0 -1
  256. package/core/Tabs/Tabs.stories.playwright.json +27 -0
  257. package/core/Tabs/__stories__/Default.d.ts +0 -1
  258. package/core/TextArea/TextArea.stories.playwright.json +59 -0
  259. package/core/TextArea/__stories__/Default.d.ts +0 -1
  260. package/core/TextArea/__stories__/DisabledInput.d.ts +0 -1
  261. package/core/TextArea/__stories__/LimitedCharacters.d.ts +0 -1
  262. package/core/TextArea/__stories__/MultipleQuestions.d.ts +0 -1
  263. package/core/TextArea/__stories__/WithDeclaredRows.d.ts +0 -1
  264. package/core/TextArea/__stories__/WithErrorMessage.d.ts +0 -1
  265. package/core/TextArea/__stories__/WithHint.d.ts +0 -1
  266. package/core/TextInput/TextInput.stories.playwright.json +43 -0
  267. package/core/TextInput/__stories__/AskingForNumbers.d.ts +0 -1
  268. package/core/TextInput/__stories__/Default.d.ts +0 -1
  269. package/core/TextInput/__stories__/DisabledInput.d.ts +0 -1
  270. package/core/TextInput/__stories__/FixedWidths.d.ts +0 -1
  271. package/core/TextInput/__stories__/FluidWidths.d.ts +0 -1
  272. package/core/TextInput/__stories__/MultipleQuestions.d.ts +0 -1
  273. package/core/TextInput/__stories__/WithErrorMessage.d.ts +0 -1
  274. package/core/TextInput/__stories__/WithHint.d.ts +0 -1
  275. package/core/VisuallyHidden/__stories__/Default.d.ts +0 -1
  276. package/core/WarningText/__stories__/Default.d.ts +0 -1
  277. package/core/WarningText/index.spec.js +1 -3
  278. package/core/index.d.ts +4 -0
  279. package/core/index.js +56 -0
  280. package/es/admin/AutoComplete/__stories__/Default.js +1 -1
  281. package/es/admin/AutoComplete/__stories__/WithAutoSelect.js +13 -2
  282. package/es/admin/AutoComplete/__stories__/WithDefaultValue.js +1 -1
  283. package/es/admin/AutoComplete/__stories__/WithInLine.js +1 -1
  284. package/es/admin/AutoComplete/__stories__/WithMinLength.js +1 -1
  285. package/es/admin/AutoComplete/__stories__/WithPlaceHolder.js +1 -1
  286. package/es/admin/AutoComplete/__stories__/WithShowAllValues.js +1 -1
  287. package/es/admin/AutoComplete/__stories__/utils.js +6 -0
  288. package/es/admin/AutoComplete/index.js +6 -45
  289. package/es/admin/AutoComplete/utils.js +18 -5
  290. package/es/admin/Chip/index.js +2 -0
  291. package/es/admin/CopyToClipboard/CopyToClipboard.stories.playwright.json +37 -0
  292. package/es/admin/CopyToClipboard/index.js +2 -1
  293. package/es/admin/Drawer/Drawer.stories.js +2 -5
  294. package/es/admin/Drawer/__stories__/Default.js +13 -13
  295. package/es/admin/Drawer/index.js +1 -0
  296. package/es/admin/Dropdown/Dropdown.stories.playwright.json +21 -0
  297. package/es/admin/DropdownArrowDown/index.js +3 -0
  298. package/es/admin/Modal/Modal.stories.playwright.json +37 -0
  299. package/es/admin/Pagination/Pagination.stories.playwright.json +27 -0
  300. package/es/admin/StepNav/StepNav.stories.playwright.json +33 -0
  301. package/es/admin/index.js +1 -0
  302. package/es/app/App.js +5 -18
  303. package/es/app/Footer/Footer.stories.js +1 -0
  304. package/es/app/Footer/Footer.stories.playwright.json +27 -0
  305. package/es/app/Footer/__stories__/DefaultCopyright.js +16 -0
  306. package/es/app/Footer/__stories__/FooterAllInclusive.js +9 -4
  307. package/es/app/Footer/__stories__/FooterWithLink.js +1 -1
  308. package/es/app/Footer/__stories__/FooterWithLogo.js +4 -2
  309. package/es/app/Header/Header.stories.playwright.json +33 -0
  310. package/es/app/Header/__stories__/Default.js +2 -3
  311. package/es/app/Header/__stories__/WithNavigation.js +2 -3
  312. package/es/app/Header/__stories__/WithServiceName.js +2 -3
  313. package/es/app/Header/__stories__/WithServiceNameAndLogo.js +4 -4
  314. package/es/app/Header/index.spec.js +1 -2
  315. package/es/app/i18n.js +16 -2
  316. package/es/core/Accordion/Accordion.stories.playwright.json +27 -0
  317. package/es/core/BackLink/BackLink.stories.playwright.json +21 -0
  318. package/es/core/Base/index.js +3 -0
  319. package/es/core/Breadcrumbs/Breadcrumbs.stories.playwright.json +33 -0
  320. package/es/core/Button/Button.stories.playwright.json +93 -0
  321. package/es/core/Button/__stories__/GroupingButtons.js +1 -1
  322. package/es/core/Card/Card.stories.playwright.json +21 -0
  323. package/es/core/Checkboxes/Checkbox.stories.playwright.json +55 -0
  324. package/es/core/Checkboxes/__stories__/NoneAnswerWithError.js +2 -2
  325. package/es/core/DateInput/DateInput.stories.playwright.json +61 -0
  326. package/es/core/Details/Details.stories.playwright.json +27 -0
  327. package/es/core/ErrorSummary/ErrorSummary.stories.playwright.json +27 -0
  328. package/es/core/ErrorSummary/index.spec.js +2 -3
  329. package/es/core/FileUpload/__stories__/Default.js +1 -1
  330. package/es/core/FileUpload/__stories__/WithErrorMessage.js +3 -3
  331. package/es/core/Form/index.js +3 -0
  332. package/es/core/Label/index.js +4 -0
  333. package/es/core/Link/Link.stories.playwright.json +65 -0
  334. package/es/core/Link/index.js +2 -1
  335. package/es/core/List/List.stories.playwright.json +27 -0
  336. package/es/core/List/ListItemContent.js +9 -22
  337. package/es/core/List/ListItemIcon.js +9 -24
  338. package/es/core/List/ListItemText.js +6 -10
  339. package/es/core/List/ListItemTitle.js +6 -10
  340. package/es/core/List/index.spec.js +1 -2
  341. package/es/core/Masthead/Masthead.stories.playwright.json +21 -0
  342. package/es/core/NavList/NavHorizontal.js +3 -0
  343. package/es/core/NavList/NavHorizontalList.js +3 -0
  344. package/es/core/NavList/NavHorizontalListItem.js +3 -0
  345. package/es/core/NavList/NavList.stories.playwright.json +33 -0
  346. package/es/core/NavList/NavVertical.js +3 -0
  347. package/es/core/NavList/NavVerticalItem.js +3 -0
  348. package/es/core/NavList/index.js +6 -1
  349. package/es/core/NavList/index.spec.js +1 -2
  350. package/es/core/NotificationBanner/NotificationBanner.stories.playwright.json +49 -0
  351. package/es/core/NotificationBanner/index.spec.js +3 -4
  352. package/es/core/PhaseBanner/PhaseBanner.stories.playwright.json +21 -0
  353. package/es/core/Radios/Radios.stories.playwright.json +49 -0
  354. package/es/core/Select/Select.stories.playwright.json +21 -0
  355. package/es/core/SkipLink/index.js +3 -0
  356. package/es/core/SummaryList/SummaryList.stories.js +2 -1
  357. package/es/core/SummaryList/SummaryList.stories.playwright.json +27 -0
  358. package/es/core/SummaryList/__stories__/Default.js +5 -1
  359. package/es/core/SummaryList/__stories__/WithKeyAndAction.js +20 -0
  360. package/es/core/SvgIcon/index.js +1 -0
  361. package/es/core/Table/Table.stories.playwright.json +21 -0
  362. package/es/core/Tabs/Tabs.stories.playwright.json +27 -0
  363. package/es/core/TextArea/TextArea.stories.playwright.json +59 -0
  364. package/es/core/TextInput/TextInput.stories.playwright.json +43 -0
  365. package/es/core/WarningText/index.spec.js +1 -2
  366. package/es/core/index.js +4 -0
  367. package/es/govgr/Footer/Copyright.js +4 -3
  368. package/es/govgr/Footer/index.mdx +1 -1
  369. package/es/govgr/images/govgr-logo-base64.js +1 -0
  370. package/es/govgr/images/greek-government-base64.js +1 -0
  371. package/es/govgr/images/grnet-logo-base64.js +1 -0
  372. package/es/govgr/images/index.js +4 -0
  373. package/es/govgr/images/minedu-logo-base64.js +1 -0
  374. package/es/govgr/index.js +2 -1
  375. package/es/layouts/Basic/Content/index.js +3 -1
  376. package/es/layouts/Basic/Side/index.js +2 -1
  377. package/es/layouts/Basic/__stories__/Default.js +2 -2
  378. package/es/layouts/Basic/index.js +2 -1
  379. package/es/locales/el.js +9 -2
  380. package/es/locales/en.js +7 -1
  381. package/es/registry.js +142 -114
  382. package/es/typography/Caption/index.js +2 -1
  383. package/es/typography/NormalText/__stories__/FontWeight.js +5 -5
  384. package/es/typography/Paragraph/__stories__/FontWeight.js +4 -4
  385. package/es/typography/Title/index.js +2 -1
  386. package/esm/admin/AutoComplete/__stories__/Default.js +1 -1
  387. package/esm/admin/AutoComplete/__stories__/WithAutoSelect.js +13 -2
  388. package/esm/admin/AutoComplete/__stories__/WithDefaultValue.js +1 -1
  389. package/esm/admin/AutoComplete/__stories__/WithInLine.js +1 -1
  390. package/esm/admin/AutoComplete/__stories__/WithMinLength.js +1 -1
  391. package/esm/admin/AutoComplete/__stories__/WithPlaceHolder.js +1 -1
  392. package/esm/admin/AutoComplete/__stories__/WithShowAllValues.js +1 -1
  393. package/esm/admin/AutoComplete/__stories__/utils.js +6 -0
  394. package/esm/admin/AutoComplete/index.js +6 -45
  395. package/esm/admin/AutoComplete/utils.js +18 -5
  396. package/esm/admin/Chip/index.js +2 -0
  397. package/esm/admin/CopyToClipboard/CopyToClipboard.stories.playwright.json +37 -0
  398. package/esm/admin/CopyToClipboard/index.js +2 -1
  399. package/esm/admin/Drawer/Drawer.stories.js +2 -5
  400. package/esm/admin/Drawer/__stories__/Default.js +13 -13
  401. package/esm/admin/Drawer/index.js +1 -0
  402. package/esm/admin/Dropdown/Dropdown.stories.playwright.json +21 -0
  403. package/esm/admin/DropdownArrowDown/index.js +3 -0
  404. package/esm/admin/Modal/Modal.stories.playwright.json +37 -0
  405. package/esm/admin/Pagination/Pagination.stories.playwright.json +27 -0
  406. package/esm/admin/StepNav/StepNav.stories.playwright.json +33 -0
  407. package/esm/admin/index.js +1 -0
  408. package/esm/app/App.js +5 -18
  409. package/esm/app/Footer/Footer.stories.js +1 -0
  410. package/esm/app/Footer/Footer.stories.playwright.json +27 -0
  411. package/esm/app/Footer/__stories__/DefaultCopyright.js +16 -0
  412. package/esm/app/Footer/__stories__/FooterAllInclusive.js +9 -4
  413. package/esm/app/Footer/__stories__/FooterWithLink.js +1 -1
  414. package/esm/app/Footer/__stories__/FooterWithLogo.js +4 -2
  415. package/esm/app/Header/Header.stories.playwright.json +33 -0
  416. package/esm/app/Header/__stories__/Default.js +2 -3
  417. package/esm/app/Header/__stories__/WithNavigation.js +2 -3
  418. package/esm/app/Header/__stories__/WithServiceName.js +2 -3
  419. package/esm/app/Header/__stories__/WithServiceNameAndLogo.js +4 -4
  420. package/esm/app/Header/index.spec.js +1 -2
  421. package/esm/app/i18n.js +16 -2
  422. package/esm/core/Accordion/Accordion.stories.playwright.json +27 -0
  423. package/esm/core/BackLink/BackLink.stories.playwright.json +21 -0
  424. package/esm/core/Base/index.js +3 -0
  425. package/esm/core/Breadcrumbs/Breadcrumbs.stories.playwright.json +33 -0
  426. package/esm/core/Button/Button.stories.playwright.json +93 -0
  427. package/esm/core/Button/__stories__/GroupingButtons.js +1 -1
  428. package/esm/core/Card/Card.stories.playwright.json +21 -0
  429. package/esm/core/Checkboxes/Checkbox.stories.playwright.json +55 -0
  430. package/esm/core/Checkboxes/__stories__/NoneAnswerWithError.js +2 -2
  431. package/esm/core/DateInput/DateInput.stories.playwright.json +61 -0
  432. package/esm/core/Details/Details.stories.playwright.json +27 -0
  433. package/esm/core/ErrorSummary/ErrorSummary.stories.playwright.json +27 -0
  434. package/esm/core/ErrorSummary/index.spec.js +2 -3
  435. package/esm/core/FileUpload/__stories__/Default.js +1 -1
  436. package/esm/core/FileUpload/__stories__/WithErrorMessage.js +3 -3
  437. package/esm/core/Form/index.js +3 -0
  438. package/esm/core/Label/index.js +4 -0
  439. package/esm/core/Link/Link.stories.playwright.json +65 -0
  440. package/esm/core/Link/index.js +2 -1
  441. package/esm/core/List/List.stories.playwright.json +27 -0
  442. package/esm/core/List/ListItemContent.js +9 -22
  443. package/esm/core/List/ListItemIcon.js +9 -24
  444. package/esm/core/List/ListItemText.js +6 -10
  445. package/esm/core/List/ListItemTitle.js +6 -10
  446. package/esm/core/List/index.spec.js +1 -2
  447. package/esm/core/Masthead/Masthead.stories.playwright.json +21 -0
  448. package/esm/core/NavList/NavHorizontal.js +3 -0
  449. package/esm/core/NavList/NavHorizontalList.js +3 -0
  450. package/esm/core/NavList/NavHorizontalListItem.js +3 -0
  451. package/esm/core/NavList/NavList.stories.playwright.json +33 -0
  452. package/esm/core/NavList/NavVertical.js +3 -0
  453. package/esm/core/NavList/NavVerticalItem.js +3 -0
  454. package/esm/core/NavList/index.js +6 -1
  455. package/esm/core/NavList/index.spec.js +1 -2
  456. package/esm/core/NotificationBanner/NotificationBanner.stories.playwright.json +49 -0
  457. package/esm/core/NotificationBanner/index.spec.js +3 -4
  458. package/esm/core/PhaseBanner/PhaseBanner.stories.playwright.json +21 -0
  459. package/esm/core/Radios/Radios.stories.playwright.json +49 -0
  460. package/esm/core/Select/Select.stories.playwright.json +21 -0
  461. package/esm/core/SkipLink/index.js +3 -0
  462. package/esm/core/SummaryList/SummaryList.stories.js +2 -1
  463. package/esm/core/SummaryList/SummaryList.stories.playwright.json +27 -0
  464. package/esm/core/SummaryList/__stories__/Default.js +5 -1
  465. package/esm/core/SummaryList/__stories__/WithKeyAndAction.js +20 -0
  466. package/esm/core/SvgIcon/index.js +1 -0
  467. package/esm/core/Table/Table.stories.playwright.json +21 -0
  468. package/esm/core/Tabs/Tabs.stories.playwright.json +27 -0
  469. package/esm/core/TextArea/TextArea.stories.playwright.json +59 -0
  470. package/esm/core/TextInput/TextInput.stories.playwright.json +43 -0
  471. package/esm/core/WarningText/index.spec.js +1 -2
  472. package/esm/core/index.js +4 -0
  473. package/esm/govgr/Footer/Copyright.js +4 -3
  474. package/esm/govgr/Footer/index.mdx +1 -1
  475. package/esm/govgr/images/govgr-logo-base64.js +1 -0
  476. package/esm/govgr/images/greek-government-base64.js +1 -0
  477. package/esm/govgr/images/grnet-logo-base64.js +1 -0
  478. package/esm/govgr/images/index.js +4 -0
  479. package/esm/govgr/images/minedu-logo-base64.js +1 -0
  480. package/esm/govgr/index.js +2 -1
  481. package/esm/index.js +1 -1
  482. package/esm/layouts/Basic/Content/index.js +3 -1
  483. package/esm/layouts/Basic/Side/index.js +2 -1
  484. package/esm/layouts/Basic/__stories__/Default.js +2 -2
  485. package/esm/layouts/Basic/index.js +2 -1
  486. package/esm/locales/el.js +9 -2
  487. package/esm/locales/en.js +7 -1
  488. package/esm/registry.js +142 -114
  489. package/esm/typography/Caption/index.js +2 -1
  490. package/esm/typography/NormalText/__stories__/FontWeight.js +5 -5
  491. package/esm/typography/Paragraph/__stories__/FontWeight.js +4 -4
  492. package/esm/typography/Title/index.js +2 -1
  493. package/govgr/Footer/Copyright.js +4 -3
  494. package/govgr/Footer/index.mdx +1 -1
  495. package/govgr/images/govgr-logo-base64.d.ts +2 -0
  496. package/govgr/images/govgr-logo-base64.js +8 -0
  497. package/govgr/images/greek-government-base64.d.ts +2 -0
  498. package/govgr/images/greek-government-base64.js +8 -0
  499. package/govgr/images/grnet-logo-base64.d.ts +2 -0
  500. package/govgr/images/grnet-logo-base64.js +8 -0
  501. package/govgr/images/index.d.ts +4 -0
  502. package/govgr/images/index.js +57 -0
  503. package/govgr/images/minedu-logo-base64.d.ts +2 -0
  504. package/govgr/images/minedu-logo-base64.js +8 -0
  505. package/govgr/index.d.ts +1 -0
  506. package/govgr/index.js +13 -0
  507. package/layouts/Basic/Content/index.d.ts +3 -1
  508. package/layouts/Basic/Content/index.js +6 -0
  509. package/layouts/Basic/Side/index.d.ts +3 -1
  510. package/layouts/Basic/Side/index.js +6 -0
  511. package/layouts/Basic/Top/index.d.ts +1 -1
  512. package/layouts/Basic/__stories__/Default.d.ts +2 -3
  513. package/layouts/Basic/__stories__/Default.js +4 -4
  514. package/layouts/Basic/__stories__/MultipleRowsLayout.d.ts +0 -1
  515. package/layouts/Basic/__stories__/TwoThirdsOneThirdColumns.d.ts +0 -1
  516. package/layouts/Basic/index.d.ts +1 -0
  517. package/layouts/Basic/index.js +9 -1
  518. package/layouts/Grid/__stories__/Default.d.ts +0 -1
  519. package/layouts/Grid/__stories__/Inline.d.ts +0 -1
  520. package/locales/el.d.ts +8 -1
  521. package/locales/el.js +9 -2
  522. package/locales/en.d.ts +7 -1
  523. package/locales/en.js +7 -1
  524. package/package.json +4 -4
  525. package/registry.d.ts +70 -57
  526. package/registry.js +192 -151
  527. package/typography/Caption/__stories__/Default.d.ts +0 -1
  528. package/typography/Caption/__stories__/NestedToTitle.d.ts +0 -1
  529. package/typography/Caption/index.d.ts +3 -2
  530. package/typography/Caption/index.js +8 -1
  531. package/typography/Hint/__stories__/Default.d.ts +0 -1
  532. package/typography/Hint/__stories__/FontSizes.d.ts +0 -1
  533. package/typography/NormalText/__stories__/Default.d.ts +0 -1
  534. package/typography/NormalText/__stories__/FontSizes.d.ts +0 -1
  535. package/typography/NormalText/__stories__/FontWeight.d.ts +2 -3
  536. package/typography/NormalText/__stories__/FontWeight.js +4 -4
  537. package/typography/NormalText/__stories__/Variants.d.ts +0 -1
  538. package/typography/Paragraph/__stories__/Default.d.ts +0 -1
  539. package/typography/Paragraph/__stories__/FontSizes.d.ts +0 -1
  540. package/typography/Paragraph/__stories__/FontWeight.d.ts +2 -3
  541. package/typography/Paragraph/__stories__/FontWeight.js +4 -4
  542. package/typography/Paragraph/__stories__/LeadVariant.d.ts +0 -1
  543. package/typography/Paragraph/__stories__/SmallVariant.d.ts +0 -1
  544. package/typography/Title/__stories__/Default.d.ts +0 -1
  545. package/typography/Title/index.d.ts +2 -1
  546. package/typography/Title/index.js +6 -0
  547. package/admin/AutoComplete/AccesibleAutoComplete/index.d.ts +0 -5
  548. package/admin/AutoComplete/AccesibleAutoComplete/index.js +0 -106
  549. package/es/admin/AutoComplete/AccesibleAutoComplete/index.js +0 -87
  550. package/es/test-utils/mountWithTheme.js +0 -30
  551. package/es/themes/govgr.js +0 -79
  552. package/es/themes/index.js +0 -2
  553. package/esm/admin/AutoComplete/AccesibleAutoComplete/index.js +0 -87
  554. package/esm/test-utils/mountWithTheme.js +0 -30
  555. package/esm/themes/govgr.js +0 -79
  556. package/esm/themes/index.js +0 -2
  557. package/test-utils/mountWithTheme.d.ts +0 -3
  558. package/test-utils/mountWithTheme.js +0 -43
  559. package/themes/govgr.d.ts +0 -3
  560. package/themes/govgr.js +0 -89
  561. package/themes/index.d.ts +0 -32
  562. package/themes/index.js +0 -19
@@ -0,0 +1,21 @@
1
+ {
2
+ "version": "4",
3
+ "stories": {
4
+ "digigov-ui-core-backlink--default": {
5
+ "actionSets": [
6
+ {
7
+ "actions": [
8
+ {
9
+ "name": "click",
10
+ "args": {
11
+ "selector": "html>body>div:nth-child(5)>a"
12
+ }
13
+ }
14
+ ],
15
+ "id": "a_FlKpwUM63r",
16
+ "title": "Click link"
17
+ }
18
+ ]
19
+ }
20
+ }
21
+ }
@@ -0,0 +1,3 @@
1
+ import Base from '@digigov/react-core/Base';
2
+ export default Base;
3
+ export { Base };
@@ -0,0 +1,33 @@
1
+ {
2
+ "version": "4",
3
+ "stories": {
4
+ "digigov-ui-core-breadcrumbs--default": {
5
+ "actionSets": [
6
+ {
7
+ "actions": [
8
+ {
9
+ "name": "hover",
10
+ "args": {
11
+ "selector": "html>body>div:nth-child(5)>div>ol>li:nth-child(1)>a"
12
+ }
13
+ },
14
+ {
15
+ "name": "click",
16
+ "args": {
17
+ "selector": "html>body>div:nth-child(5)>div>ol>li:nth-child(1)>a"
18
+ }
19
+ },
20
+ {
21
+ "name": "keyboard.press",
22
+ "args": {
23
+ "key": "Tab"
24
+ }
25
+ }
26
+ ],
27
+ "id": "e5Uhj3zx5pff",
28
+ "title": "Hover and click"
29
+ }
30
+ ]
31
+ }
32
+ }
33
+ }
@@ -0,0 +1,93 @@
1
+ {
2
+ "version": "4",
3
+ "stories": {
4
+ "digigov-ui-core-button--primary": {
5
+ "actionSets": [
6
+ {
7
+ "actions": [
8
+ {
9
+ "name": "hover",
10
+ "args": {
11
+ "selector": "html>body>div:nth-child(5)>button"
12
+ }
13
+ },
14
+ {
15
+ "name": "click",
16
+ "args": {
17
+ "selector": "html>body>div:nth-child(5)>button"
18
+ }
19
+ }
20
+ ],
21
+ "id": "cxND_XOGkFHP",
22
+ "title": "Hover and click"
23
+ }
24
+ ]
25
+ },
26
+ "digigov-ui-core-button--secondary": {
27
+ "actionSets": [
28
+ {
29
+ "actions": [
30
+ {
31
+ "name": "hover",
32
+ "args": {
33
+ "selector": "html>body>div:nth-child(5)>button"
34
+ }
35
+ },
36
+ {
37
+ "name": "click",
38
+ "args": {
39
+ "selector": "html>body>div:nth-child(5)>button"
40
+ }
41
+ }
42
+ ],
43
+ "id": "7b4sRaZez9gb",
44
+ "title": "Hover and click"
45
+ }
46
+ ]
47
+ },
48
+ "digigov-ui-core-button--warning": {
49
+ "actionSets": [
50
+ {
51
+ "actions": [
52
+ {
53
+ "name": "hover",
54
+ "args": {
55
+ "selector": "html>body>div:nth-child(5)>button"
56
+ }
57
+ },
58
+ {
59
+ "name": "click",
60
+ "args": {
61
+ "selector": "html>body>div:nth-child(5)>button"
62
+ }
63
+ }
64
+ ],
65
+ "id": "-dtZHnNLRC7t",
66
+ "title": "Hover and click"
67
+ }
68
+ ]
69
+ },
70
+ "digigov-ui-core-button--grouping-buttons-and-links": {
71
+ "actionSets": [
72
+ {
73
+ "actions": [
74
+ {
75
+ "name": "keyboard.press",
76
+ "args": {
77
+ "key": "Tab"
78
+ }
79
+ },
80
+ {
81
+ "name": "keyboard.press",
82
+ "args": {
83
+ "key": "Tab"
84
+ }
85
+ }
86
+ ],
87
+ "id": "laasT0Qg9kvq",
88
+ "title": "Keyboard navigation"
89
+ }
90
+ ]
91
+ }
92
+ }
93
+ }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import Button, { ButtonGroup } from '@digigov/ui/core/Button';
3
3
  /**
4
- * My deescrition is the best description that was described
4
+ * My deescrition is the best description that was described
5
5
  */
6
6
 
7
7
  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, {
@@ -0,0 +1,21 @@
1
+ {
2
+ "version": "4",
3
+ "stories": {
4
+ "digigov-ui-core-card--with-clickable-content": {
5
+ "actionSets": [
6
+ {
7
+ "actions": [
8
+ {
9
+ "name": "click",
10
+ "args": {
11
+ "selector": "html>body>div:nth-child(5)>div>div>div:nth-child(1)>a"
12
+ }
13
+ }
14
+ ],
15
+ "id": "BMjcXsopUT_n",
16
+ "title": "Click card"
17
+ }
18
+ ]
19
+ }
20
+ }
21
+ }
@@ -0,0 +1,55 @@
1
+ {
2
+ "version": "4",
3
+ "stories": {
4
+ "digigov-ui-core-checkboxes--multiple-questions": {
5
+ "actionSets": [
6
+ {
7
+ "actions": [
8
+ {
9
+ "name": "click",
10
+ "args": {
11
+ "selector": "html>body>div:nth-child(5)>div>fieldset>div>div:nth-child(1)>label>input"
12
+ }
13
+ }
14
+ ],
15
+ "id": "nEKElVkTn9rV",
16
+ "title": "check first box"
17
+ }
18
+ ]
19
+ },
20
+ "digigov-ui-core-checkboxes--with-hint": {
21
+ "actionSets": [
22
+ {
23
+ "actions": [
24
+ {
25
+ "name": "click",
26
+ "args": {
27
+ "selector": "html>body>div:nth-child(5)>div>fieldset>div>div:nth-child(1)>label>input"
28
+ }
29
+ },
30
+ {
31
+ "name": "click",
32
+ "args": {
33
+ "selector": "html>body>div:nth-child(5)>div>fieldset>div>div:nth-child(2)>label>input"
34
+ }
35
+ },
36
+ {
37
+ "name": "keyboard.press",
38
+ "args": {
39
+ "key": "Tab"
40
+ }
41
+ },
42
+ {
43
+ "name": "keyboard.press",
44
+ "args": {
45
+ "key": "Space"
46
+ }
47
+ }
48
+ ],
49
+ "id": "tlp6twL--N_s",
50
+ "title": "click first option"
51
+ }
52
+ ]
53
+ }
54
+ }
55
+ }
@@ -28,7 +28,7 @@ var _ref = /*#__PURE__*/React.createElement(Field, {
28
28
  value: "none"
29
29
  }, "\u038C\u03C7\u03B9, \u03B4\u03B5\u03BD \u03B8\u03B1 \u03C4\u03B1\u03BE\u03B9\u03B4\u03AD\u03C8\u03C9 \u03C3\u03B5 \u03BA\u03B1\u03BC\u03AF\u03B1 \u03B1\u03C0\u03CC \u03B1\u03C5\u03C4\u03AD\u03C2 \u03C4\u03B9\u03C2 \u03C7\u03CE\u03C1\u03B5\u03C2"))));
30
30
 
31
- export var NoneAnswer = function NoneAnswer() {
31
+ export var NoneAnswerWithError = function NoneAnswerWithError() {
32
32
  return _ref;
33
33
  };
34
- export default NoneAnswer;
34
+ export default NoneAnswerWithError;
@@ -0,0 +1,61 @@
1
+ {
2
+ "version": "4",
3
+ "stories": {
4
+ "digigov-ui-core-dateinput--default": {
5
+ "actionSets": [
6
+ {
7
+ "actions": [
8
+ {
9
+ "name": "click",
10
+ "args": {
11
+ "selector": "html>body>div:nth-child(5)>div>fieldset>div>div:nth-child(1)>label>input"
12
+ }
13
+ },
14
+ {
15
+ "name": "keyboard.insertText",
16
+ "args": {
17
+ "text": "11"
18
+ }
19
+ }
20
+ ],
21
+ "id": "HEWnXMsN0nqw",
22
+ "title": "Actions with mouse"
23
+ }
24
+ ]
25
+ },
26
+ "digigov-ui-core-dateinput--with-error-message-for-single-field": {
27
+ "actionSets": [
28
+ {
29
+ "actions": [
30
+ {
31
+ "name": "keyboard.press",
32
+ "args": {
33
+ "key": "Tab"
34
+ }
35
+ },
36
+ {
37
+ "name": "keyboard.press",
38
+ "args": {
39
+ "key": "Tab"
40
+ }
41
+ },
42
+ {
43
+ "name": "keyboard.press",
44
+ "args": {
45
+ "key": "Tab"
46
+ }
47
+ },
48
+ {
49
+ "name": "keyboard.insertText",
50
+ "args": {
51
+ "text": "2022"
52
+ }
53
+ }
54
+ ],
55
+ "id": "5QICoU6J1W8E",
56
+ "title": "Actions with keyboard"
57
+ }
58
+ ]
59
+ }
60
+ }
61
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "version": "4",
3
+ "stories": {
4
+ "digigov-ui-core-details--default": {
5
+ "actionSets": [
6
+ {
7
+ "actions": [
8
+ {
9
+ "name": "click",
10
+ "args": {
11
+ "selector": "html>body>div:nth-child(5)>details>summary"
12
+ }
13
+ },
14
+ {
15
+ "name": "click",
16
+ "args": {
17
+ "selector": "html"
18
+ }
19
+ }
20
+ ],
21
+ "id": "Vmcdm2eBOyC1",
22
+ "title": "Open Details"
23
+ }
24
+ ]
25
+ }
26
+ }
27
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "version": "4",
3
+ "stories": {
4
+ "digigov-ui-core-errorsummary--linked-to-checkbox": {
5
+ "actionSets": [
6
+ {
7
+ "actions": [
8
+ {
9
+ "name": "keyboard.press",
10
+ "args": {
11
+ "key": "Tab"
12
+ }
13
+ },
14
+ {
15
+ "name": "keyboard.press",
16
+ "args": {
17
+ "key": "Enter"
18
+ }
19
+ }
20
+ ],
21
+ "id": "V4VBSZxQfqiJ",
22
+ "title": "Go to checkbox"
23
+ }
24
+ ]
25
+ }
26
+ }
27
+ }
@@ -1,9 +1,8 @@
1
1
  import * as React from 'react';
2
- import mountWithTheme from '@digigov/ui/test-utils/mountWithTheme';
3
- import Component from '.';
2
+ import Component from '@digigov/ui/core/ErrorSummary';
4
3
 
5
4
  var _ref = /*#__PURE__*/React.createElement(Component, null, "this is some random warning text");
6
5
 
7
6
  it('renders the ErrorSummary with sample data', function () {
8
- expect(mountWithTheme(_ref)).toMatchSnapshot();
7
+ expect(_ref).toMatchSnapshot();
9
8
  });
@@ -5,7 +5,7 @@ import FileUpload from '@digigov/ui/core/FileUpload';
5
5
 
6
6
  var _ref = /*#__PURE__*/React.createElement(Field, null, /*#__PURE__*/React.createElement(Fieldset, null, /*#__PURE__*/React.createElement(FieldsetLegend, {
7
7
  size: "m"
8
- }, "\u038C\u03BD\u03BF\u03BC\u03B1 \u03B5\u03C0\u03B9\u03C7\u03B5\u03AF\u03C1\u03B7\u03C3\u03B7\u03C2"), /*#__PURE__*/React.createElement(Hint, null, "\u03A0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C3\u03C5\u03BC\u03C0\u03BB\u03B7\u03C1\u03CE\u03C3\u03B5\u03C4\u03B5 \u03C4\u03BF \u03C0\u03B5\u03B4\u03AF\u03BF."), /*#__PURE__*/React.createElement(FileUpload, null)));
8
+ }, "\u039B\u03BF\u03B3\u03CC\u03C4\u03C5\u03C0\u03BF \u03B5\u03C0\u03B9\u03C7\u03B5\u03AF\u03C1\u03B7\u03C3\u03B7\u03C2"), /*#__PURE__*/React.createElement(Hint, null, "\u03A0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C3\u03C5\u03BC\u03C0\u03BB\u03B7\u03C1\u03CE\u03C3\u03B5\u03C4\u03B5 \u03C4\u03BF \u03C0\u03B5\u03B4\u03AF\u03BF."), /*#__PURE__*/React.createElement(FileUpload, null, "\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE \u03B1\u03C1\u03C7\u03B5\u03AF\u03BF\u03C5")));
9
9
 
10
10
  export var Default = function Default() {
11
11
  return _ref;
@@ -9,9 +9,9 @@ var _ref = /*#__PURE__*/React.createElement(Field, {
9
9
  error: true
10
10
  }, /*#__PURE__*/React.createElement(Fieldset, null, /*#__PURE__*/React.createElement(FieldsetLegend, {
11
11
  size: "m"
12
- }, "\u038C\u03BD\u03BF\u03BC\u03B1 \u03B5\u03C0\u03B9\u03C7\u03B5\u03AF\u03C1\u03B7\u03C3\u03B7\u03C2"), /*#__PURE__*/React.createElement(Hint, null, "\u03A0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C3\u03C5\u03BC\u03C0\u03BB\u03B7\u03C1\u03CE\u03C3\u03B5\u03C4\u03B5 \u03C4\u03BF \u03C0\u03B5\u03B4\u03AF\u03BF."), /*#__PURE__*/React.createElement(ErrorMessage, null, /*#__PURE__*/React.createElement(VisuallyHidden, null, "\u039B\u03AC\u03B8\u03BF\u03C2:"), " \u03A4\u03BF \u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03BF \u03B1\u03C1\u03C7\u03B5\u03AF\u03BF \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03BC\u03B9\u03BA\u03C1\u03CC\u03C4\u03B5\u03C1\u03BF \u03B1\u03C0\u03CC 2MB."), /*#__PURE__*/React.createElement(FileUpload, null)));
12
+ }, "\u038C\u03BD\u03BF\u03BC\u03B1 \u03B5\u03C0\u03B9\u03C7\u03B5\u03AF\u03C1\u03B7\u03C3\u03B7\u03C2"), /*#__PURE__*/React.createElement(Hint, null, "\u03A0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C3\u03C5\u03BC\u03C0\u03BB\u03B7\u03C1\u03CE\u03C3\u03B5\u03C4\u03B5 \u03C4\u03BF \u03C0\u03B5\u03B4\u03AF\u03BF."), /*#__PURE__*/React.createElement(ErrorMessage, null, /*#__PURE__*/React.createElement(VisuallyHidden, null, "\u039B\u03AC\u03B8\u03BF\u03C2:"), " \u03A4\u03BF \u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03BF \u03B1\u03C1\u03C7\u03B5\u03AF\u03BF \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03BC\u03B9\u03BA\u03C1\u03CC\u03C4\u03B5\u03C1\u03BF \u03B1\u03C0\u03CC 2MB."), /*#__PURE__*/React.createElement(FileUpload, null, "\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE \u03B1\u03C1\u03C7\u03B5\u03AF\u03BF\u03C5")));
13
13
 
14
- export var WithErrorMessageForSingleField = function WithErrorMessageForSingleField() {
14
+ export var WithErrorMessage = function WithErrorMessage() {
15
15
  return _ref;
16
16
  };
17
- export default WithErrorMessageForSingleField;
17
+ export default WithErrorMessage;
@@ -0,0 +1,3 @@
1
+ import Form from '@digigov/react-core/Form';
2
+ export { Form };
3
+ export default Form;
@@ -0,0 +1,4 @@
1
+ export * from '@digigov/react-core/Label';
2
+ export * from '@digigov/react-core/LabelTitle';
3
+ import Label from '@digigov/react-core/Label';
4
+ export default Label;
@@ -0,0 +1,65 @@
1
+ {
2
+ "version": "4",
3
+ "stories": {
4
+ "digigov-ui-core-link--default": {
5
+ "actionSets": [
6
+ {
7
+ "actions": [
8
+ {
9
+ "name": "keyboard.press",
10
+ "args": {
11
+ "key": "Tab"
12
+ }
13
+ }
14
+ ],
15
+ "id": "JREsgOQhRp3C",
16
+ "title": "Focus"
17
+ }
18
+ ]
19
+ },
20
+ "digigov-ui-core-link--no-underline": {
21
+ "actionSets": [
22
+ {
23
+ "actions": [
24
+ {
25
+ "name": "hover",
26
+ "args": {
27
+ "selector": "html>body>div:nth-child(5)>a"
28
+ }
29
+ },
30
+ {
31
+ "name": "click",
32
+ "args": {
33
+ "selector": "html>body>div:nth-child(5)>a"
34
+ }
35
+ }
36
+ ],
37
+ "id": "P7WXxvHHLFfF",
38
+ "title": "Hover and focus"
39
+ }
40
+ ]
41
+ },
42
+ "digigov-ui-core-link--dark-background": {
43
+ "actionSets": [
44
+ {
45
+ "actions": [
46
+ {
47
+ "name": "hover",
48
+ "args": {
49
+ "selector": "html>body>div:nth-child(5)>div>a"
50
+ }
51
+ },
52
+ {
53
+ "name": "click",
54
+ "args": {
55
+ "selector": "html>body>div:nth-child(5)>div>a"
56
+ }
57
+ }
58
+ ],
59
+ "id": "YQJdyCc8F15c",
60
+ "title": "Hover and focus"
61
+ }
62
+ ]
63
+ }
64
+ }
65
+ }
@@ -24,4 +24,5 @@ var Link = /*#__PURE__*/React.forwardRef(function WrappedLink(_ref, ref) {
24
24
  href: href
25
25
  }, props), children);
26
26
  });
27
- export default Link;
27
+ export default Link;
28
+ export { Link };
@@ -0,0 +1,27 @@
1
+ {
2
+ "version": "4",
3
+ "stories": {
4
+ "digigov-ui-core-list--default": {
5
+ "actionSets": [
6
+ {
7
+ "actions": [
8
+ {
9
+ "name": "keyboard.press",
10
+ "args": {
11
+ "key": "Tab"
12
+ }
13
+ },
14
+ {
15
+ "name": "keyboard.press",
16
+ "args": {
17
+ "key": "Tab"
18
+ }
19
+ }
20
+ ],
21
+ "id": "HP7t7DFo8MEt",
22
+ "title": "Navigate with tab"
23
+ }
24
+ ]
25
+ }
26
+ }
27
+ }
@@ -1,27 +1,14 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
1
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
- var _excluded = ["className", "children"];
2
+ var _excluded = ["children"];
4
3
  import React from 'react';
5
- import clsx from 'clsx';
6
- import { makeStyles } from '@material-ui/core/styles';
7
- export var useListItemContenttyles = makeStyles(function (theme) {
8
- return {
9
- root: {
10
- flexGrow: 1,
11
- padding: theme.spacing(0, 2)
12
- }
13
- };
14
- }, {
15
- name: 'MuiListItemContent'
16
- });
17
- export var ListItemContent = function ListItemContent(_ref) {
18
- var className = _ref.className,
19
- children = _ref.children,
4
+ import withDeprecation from '@digigov/ui/utils/withDeprecation';
5
+ export var ListItemContent = withDeprecation(function (_ref) {
6
+ var children = _ref.children,
20
7
  props = _objectWithoutProperties(_ref, _excluded);
21
8
 
22
- var classes = useListItemContenttyles();
23
- return /*#__PURE__*/React.createElement("div", _extends({
24
- className: clsx(className, classes.root)
25
- }, props), children);
26
- };
9
+ return /*#__PURE__*/React.createElement("div", props, children);
10
+ }, {
11
+ name: 'ListItemContent',
12
+ warning: 'There is no need to use ListItemContent component anymore. It will be removed in a later version'
13
+ });
27
14
  export default ListItemContent;
@@ -1,29 +1,14 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
1
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
- var _excluded = ["className", "children", "style"];
2
+ var _excluded = ["children"];
4
3
  import React from 'react';
5
- import clsx from 'clsx';
6
- import { makeStyles } from '@material-ui/core/styles';
7
- import Avatar from '@material-ui/core/Avatar';
8
- export var useListItemIconStyles = makeStyles(function () {
9
- return {
10
- root: {}
11
- };
12
- }, {
13
- name: 'MuiListItemIcon'
14
- });
15
- export var ListItemIcon = function ListItemIcon(_ref) {
16
- var className = _ref.className,
17
- children = _ref.children,
18
- style = _ref.style,
4
+ import withDeprecation from '@digigov/ui/utils/withDeprecation';
5
+ export var ListItemIcon = withDeprecation(function (_ref) {
6
+ var children = _ref.children,
19
7
  props = _objectWithoutProperties(_ref, _excluded);
20
8
 
21
- var classes = useListItemIconStyles();
22
- return /*#__PURE__*/React.createElement("div", {
23
- style: style,
24
- className: clsx(className, classes.root)
25
- }, /*#__PURE__*/React.createElement(Avatar, _extends({
26
- variant: "rounded"
27
- }, props), children));
28
- };
9
+ return /*#__PURE__*/React.createElement("div", props, children);
10
+ }, {
11
+ name: 'ListItemIcon',
12
+ warning: 'There is no need to use ListItemIcon component anymore. It will be removed in a later version'
13
+ });
29
14
  export default ListItemIcon;
@@ -1,19 +1,15 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
3
  import React from 'react';
4
- import { makeStyles } from '@material-ui/core/styles';
5
4
  import NormalText from '@digigov/ui/typography/NormalText';
6
- export var useListItemTextStyles = makeStyles(function () {
7
- return {
8
- root: {}
9
- };
10
- }, {
11
- name: 'MuiListItemText'
12
- });
13
- export var ListItemText = function ListItemText(_ref) {
5
+ import withDeprecation from '@digigov/ui/utils/withDeprecation';
6
+ export var ListItemText = withDeprecation(function (_ref) {
14
7
  var children = _ref.children,
15
8
  props = _objectWithoutProperties(_ref, _excluded);
16
9
 
17
10
  return /*#__PURE__*/React.createElement(NormalText, props, children);
18
- };
11
+ }, {
12
+ name: 'ListItemText',
13
+ warning: 'There is no need to use ListItemText component anymore. It will be removed in a later version'
14
+ });
19
15
  export default ListItemText;
@@ -2,17 +2,10 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
3
  var _excluded = ["href", "linkProps", "children"];
4
4
  import React from 'react';
5
- import { makeStyles } from '@material-ui/core/styles';
6
5
  import Title from '@digigov/ui/typography/Title';
7
6
  import Link from '@digigov/ui/core/Link';
8
- export var useListItemTitleStyles = makeStyles(function () {
9
- return {
10
- root: {}
11
- };
12
- }, {
13
- name: 'MuiListItemTitle'
14
- });
15
- export var ListItemTitle = function ListItemTitle(_ref) {
7
+ import withDeprecation from '@digigov/ui/utils/withDeprecation';
8
+ export var ListItemTitle = withDeprecation(function (_ref) {
16
9
  var href = _ref.href,
17
10
  linkProps = _ref.linkProps,
18
11
  children = _ref.children,
@@ -21,5 +14,8 @@ export var ListItemTitle = function ListItemTitle(_ref) {
21
14
  return /*#__PURE__*/React.createElement(Title, props, href ? /*#__PURE__*/React.createElement(Link, _extends({
22
15
  href: href
23
16
  }, linkProps), children) : children);
24
- };
17
+ }, {
18
+ name: 'ListItemTitle',
19
+ warning: 'There is no need to use ListItemTitle component anymore. It will be removed in a later version'
20
+ });
25
21
  export default ListItemTitle;