@digigov/ui 0.35.3 → 0.35.5

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 (649) hide show
  1. package/CHANGELOG.md +20 -3
  2. package/admin/AccessibilityMenu/index.d.ts +4 -4
  3. package/admin/AccessibilityMenu/index.js +23 -23
  4. package/admin/AutoComplete/Status/index.d.ts +1 -1
  5. package/admin/AutoComplete/Status/index.js +2 -2
  6. package/admin/AutoComplete/__stories__/Default.js +2 -2
  7. package/admin/AutoComplete/__stories__/WithAutoSelect.js +2 -2
  8. package/admin/AutoComplete/__stories__/WithDefaultValue.js +2 -2
  9. package/admin/AutoComplete/__stories__/WithInLine.js +2 -2
  10. package/admin/AutoComplete/__stories__/WithMinLength.js +2 -2
  11. package/admin/AutoComplete/__stories__/WithPlaceHolder.js +2 -2
  12. package/admin/AutoComplete/__stories__/WithShowAllValues.js +2 -2
  13. package/admin/AutoComplete/index.d.ts +4 -4
  14. package/admin/AutoComplete/index.js +6 -12
  15. package/admin/Chip/Chip.stories.d.ts +12 -0
  16. package/admin/Chip/Chip.stories.js +88 -0
  17. package/admin/Chip/__stories__/ClickableChip.d.ts +2 -0
  18. package/admin/Chip/__stories__/ClickableChip.js +24 -0
  19. package/admin/Chip/__stories__/ClickableDeletableChip.d.ts +2 -0
  20. package/admin/Chip/__stories__/ClickableDeletableChip.js +27 -0
  21. package/admin/Chip/__stories__/Default.d.ts +2 -0
  22. package/admin/Chip/__stories__/Default.js +22 -0
  23. package/admin/Chip/__stories__/DeletableChip.d.ts +2 -0
  24. package/admin/Chip/__stories__/DeletableChip.js +24 -0
  25. package/admin/Chip/__stories__/GroupOfChips.d.ts +2 -0
  26. package/admin/Chip/__stories__/GroupOfChips.js +28 -0
  27. package/admin/Chip/index.d.ts +0 -1
  28. package/admin/Chip/index.js +0 -14
  29. package/admin/CircularProgress/__stories__/Default.js +2 -2
  30. package/admin/CopyToClipboard/index.js +2 -2
  31. package/admin/Drawer/__stories__/Default.js +2 -2
  32. package/admin/Dropdown/__stories__/AlignRight.js +5 -5
  33. package/admin/Dropdown/__stories__/Default.js +5 -5
  34. package/admin/Dropdown/__stories__/PlacementTop.js +5 -5
  35. package/admin/Dropdown/index.d.ts +1 -1
  36. package/admin/Modal/__stories__/Default.js +2 -2
  37. package/admin/Modal/index.d.ts +2 -2
  38. package/admin/Pagination/Pagination.stories.d.ts +1 -0
  39. package/admin/Pagination/Pagination.stories.js +14 -0
  40. package/admin/Pagination/__stories__/Default.js +2 -2
  41. package/admin/Pagination/__stories__/PaginationSmall.js +2 -2
  42. package/admin/Pagination/__stories__/PaginationWithSmallFont.d.ts +2 -0
  43. package/admin/Pagination/__stories__/PaginationWithSmallFont.js +62 -0
  44. package/admin/Pagination/index.d.ts +2 -2
  45. package/admin/Pagination/index.js +4 -4
  46. package/admin/StepNav/__stories__/Default.js +9 -11
  47. package/admin/StepNav/index.d.ts +7 -9
  48. package/admin/StepNav/index.js +10 -26
  49. package/admin/TaskList/__stories__/Default.js +2 -2
  50. package/admin/Timeline/__stories__/Default.js +5 -5
  51. package/api/index.spec.js +4 -4
  52. package/api/useResource.js +2 -2
  53. package/api/useResourceAction.js +2 -2
  54. package/api/useResourceQuery.js +2 -2
  55. package/api/utils.d.ts +1 -1
  56. package/app/BottomInfoContainer/index.d.ts +1 -1
  57. package/app/BottomInfoContent/index.d.ts +1 -1
  58. package/app/Footer/__stories__/DefaultCopyright.js +4 -4
  59. package/app/Footer/__stories__/FooterAllInclusive.js +4 -4
  60. package/app/Footer/__stories__/FooterWithLink.js +5 -5
  61. package/app/Footer/__stories__/FooterWithLogo.js +4 -4
  62. package/app/Footer/__stories__/FooterWithSecondaryNavigation.js +4 -4
  63. package/app/Footer/__stories__/YearCopyright.js +4 -4
  64. package/app/Header/Header.stories.playwright.json +16 -0
  65. package/app/Header/__stories__/Default.js +2 -2
  66. package/app/Header/__stories__/WithHeaderNavigation.js +7 -7
  67. package/app/Header/__stories__/WithNavigation.js +6 -6
  68. package/app/Header/__stories__/WithServiceName.js +3 -3
  69. package/app/Header/__stories__/WithServiceNameAndLogo.js +4 -4
  70. package/app/OutdatedBrowserBanner.js +5 -5
  71. package/app/PhaseBannerHeader/index.js +2 -2
  72. package/app/QrCodeScanner/__stories__/Default.js +2 -2
  73. package/app/ThemeOptionsForm/index.js +4 -4
  74. package/app/ThemePaletteForm/index.js +2 -2
  75. package/core/Accordion/__stories__/Default.js +2 -2
  76. package/core/Accordion/__stories__/WithHints.js +4 -4
  77. package/core/Accordion/index.d.ts +5 -5
  78. package/core/Accordion/index.js +20 -20
  79. package/core/Button/BackButton.d.ts +1 -1
  80. package/core/Card/__stories__/Default.js +2 -2
  81. package/core/Card/__stories__/WithDarkBorder.js +2 -2
  82. package/core/Card/__stories__/WithDarkTopBorder.js +2 -2
  83. package/core/Card/__stories__/WithDivider.js +2 -2
  84. package/core/Card/__stories__/WithGrayBorder.js +2 -2
  85. package/core/Card/__stories__/WithGrayTopBorder.js +2 -2
  86. package/core/Card/__stories__/WithGroupButton.js +2 -2
  87. package/core/Checkbox/__stories__/ConditionalReveal.js +4 -4
  88. package/core/Checkbox/__stories__/Default.js +3 -3
  89. package/core/Checkbox/__stories__/MultipleQuestions.js +3 -3
  90. package/core/Checkbox/__stories__/NoneAnswer.js +3 -4
  91. package/core/Checkbox/__stories__/NoneAnswerWithError.js +9 -10
  92. package/core/Checkbox/__stories__/WithErrorMessage.js +7 -7
  93. package/core/Checkbox/__stories__/WithHint.js +6 -6
  94. package/core/DateInputContainer/__stories__/WithErrorMessage.js +4 -4
  95. package/core/DateInputContainer/__stories__/WithErrorMessageForSingleField.js +4 -4
  96. package/core/Divider/index.d.ts +2 -1
  97. package/core/Divider/index.js +16 -0
  98. package/core/ErrorMessage/__stories__/Default.js +3 -3
  99. package/core/ErrorSummary/__stories__/Default.js +2 -2
  100. package/core/ErrorSummary/__stories__/LinkedToCheckbox.js +7 -7
  101. package/core/ErrorSummary/__stories__/LinkedToField.js +7 -7
  102. package/core/ErrorSummary/__stories__/LinkedToInput.js +7 -7
  103. package/core/FileUpload/__stories__/Default.js +2 -2
  104. package/core/FileUpload/__stories__/WithErrorMessage.js +4 -4
  105. package/core/Link/__stories__/DarkBackground.js +2 -2
  106. package/core/Link/__stories__/DarkBackgroundNoUnderline.js +2 -2
  107. package/core/List/ListItemTitle.d.ts +1 -1
  108. package/core/List/ListItemTitle.js +2 -2
  109. package/core/List/__stories__/Default.js +2 -2
  110. package/core/Masthead/__stories__/Default.js +4 -4
  111. package/core/NavList/NavListAuto/NavListAuto.js +2 -2
  112. package/core/NavList/NavListAuto/NavListContextAuto.d.ts +1 -1
  113. package/core/NavList/NavListAuto/NavListContextAuto.js +2 -2
  114. package/core/NavList/NavListAuto/NavListItemAnchorAuto.js +2 -2
  115. package/core/NavList/NavListAuto/NavListItemButtonAuto.js +3 -3
  116. package/core/NavList/NavListAuto/NavListMenuAuto.js +3 -3
  117. package/core/NavList/NavListItemBase.js +4 -4
  118. package/core/NavList/__stories__/Default.js +2 -2
  119. package/core/NavList/__stories__/NavVerticalLayout.js +2 -2
  120. package/core/NavList/types.d.ts +1 -1
  121. package/core/NotificationBanner/index.d.ts +1 -1
  122. package/core/NotificationBanner/index.js +2 -2
  123. package/core/PhaseBanner/__stories__/Default.js +2 -2
  124. package/core/PhaseBanner/__stories__/Underlined.js +2 -2
  125. package/core/RadioContainer/__stories__/ConditionalReveal.js +2 -2
  126. package/core/RadioContainer/__stories__/Default.js +2 -2
  127. package/core/RadioContainer/__stories__/Inline.js +2 -2
  128. package/core/RadioContainer/__stories__/MultipleQuestions.js +2 -2
  129. package/core/RadioContainer/__stories__/NoneAnswer.js +10 -11
  130. package/core/RadioContainer/__stories__/WithErrorMessage.js +8 -8
  131. package/core/RadioContainer/__stories__/WithHints.js +2 -2
  132. package/core/SelectContainer/__stories__/Default.js +2 -2
  133. package/core/SelectContainer/__stories__/DisabledInput.js +2 -2
  134. package/core/SelectContainer/__stories__/WithHint.js +2 -2
  135. package/core/ServiceBadge/index.js +2 -2
  136. package/core/SingleCharacterInputContainer/__stories__/Default.js +2 -2
  137. package/core/SingleCharacterInputContainer/__stories__/WithDefaultError.js +4 -4
  138. package/core/SingleCharacterInputContainer/__stories__/WithErrorMessageInvalidCode.js +4 -4
  139. package/core/SingleCharacterInputContainer/__stories__/WithErrorMessageLessDigit.js +4 -4
  140. package/core/SummaryList/__stories__/Default.js +2 -2
  141. package/core/SummaryList/__stories__/RowVariations.js +2 -2
  142. package/core/SummaryList/__stories__/WithActions.js +4 -4
  143. package/core/SummaryList/__stories__/WithKeyAndAction.js +4 -4
  144. package/core/Table/__stories__/WithFloatingScroll.js +2 -2
  145. package/core/Table/__stories__/WithLoader.js +4 -4
  146. package/core/Table/index.d.ts +1 -1
  147. package/core/Table/index.js +2 -2
  148. package/core/Tabs/__stories__/Default.js +5 -5
  149. package/core/TextArea/__stories__/DisabledInput.js +2 -2
  150. package/core/TextArea/__stories__/LimitedCharacters.js +2 -2
  151. package/core/TextArea/__stories__/MultipleQuestions.js +2 -2
  152. package/core/TextArea/__stories__/WithDeclaredRows.js +2 -2
  153. package/core/TextArea/__stories__/WithErrorMessage.js +4 -4
  154. package/core/TextArea/__stories__/WithHint.js +2 -2
  155. package/core/TextInput/__stories__/AskingForNumbers.js +2 -2
  156. package/core/TextInput/__stories__/Default.js +2 -2
  157. package/core/TextInput/__stories__/DisabledInput.js +2 -2
  158. package/core/TextInput/__stories__/FixedWidths.js +2 -2
  159. package/core/TextInput/__stories__/FluidWidths.js +2 -2
  160. package/core/TextInput/__stories__/MultipleQuestions.js +2 -2
  161. package/core/TextInput/__stories__/WithErrorMessage.js +3 -3
  162. package/core/TextInput/__stories__/WithHint.js +2 -2
  163. package/core/VisuallyHidden/__stories__/Default.js +4 -4
  164. package/es/admin/AccessibilityMenu/index.js +3 -3
  165. package/es/admin/AutoComplete/Status/index.js +1 -1
  166. package/es/admin/AutoComplete/__stories__/Default.js +1 -1
  167. package/es/admin/AutoComplete/__stories__/WithAutoSelect.js +1 -1
  168. package/es/admin/AutoComplete/__stories__/WithDefaultValue.js +1 -1
  169. package/es/admin/AutoComplete/__stories__/WithInLine.js +1 -1
  170. package/es/admin/AutoComplete/__stories__/WithMinLength.js +1 -1
  171. package/es/admin/AutoComplete/__stories__/WithPlaceHolder.js +1 -1
  172. package/es/admin/AutoComplete/__stories__/WithShowAllValues.js +1 -1
  173. package/es/admin/AutoComplete/index.js +8 -6
  174. package/es/admin/Chip/Chip.stories.js +12 -0
  175. package/es/admin/Chip/__stories__/ClickableChip.js +10 -0
  176. package/es/admin/Chip/__stories__/ClickableDeletableChip.js +13 -0
  177. package/es/admin/Chip/__stories__/Default.js +9 -0
  178. package/es/admin/Chip/__stories__/DeletableChip.js +10 -0
  179. package/es/admin/Chip/__stories__/GroupOfChips.js +9 -0
  180. package/es/admin/Chip/index.js +0 -1
  181. package/es/admin/CircularProgress/__stories__/Default.js +1 -1
  182. package/es/admin/CopyToClipboard/index.js +1 -1
  183. package/es/admin/Drawer/__stories__/Default.js +3 -2
  184. package/es/admin/Dropdown/__stories__/AlignRight.js +5 -4
  185. package/es/admin/Dropdown/__stories__/Default.js +5 -4
  186. package/es/admin/Dropdown/__stories__/PlacementTop.js +5 -4
  187. package/es/admin/Modal/__stories__/Default.js +1 -1
  188. package/es/admin/Pagination/Pagination.stories.js +2 -1
  189. package/es/admin/Pagination/__stories__/Default.js +2 -2
  190. package/es/admin/Pagination/__stories__/PaginationSmall.js +2 -2
  191. package/es/admin/Pagination/__stories__/PaginationWithSmallFont.js +44 -0
  192. package/es/admin/Pagination/index.js +2 -2
  193. package/es/admin/StepNav/__stories__/Default.js +9 -11
  194. package/es/admin/StepNav/index.js +7 -9
  195. package/es/admin/TaskList/__stories__/Default.js +1 -1
  196. package/es/admin/Timeline/__stories__/Default.js +3 -3
  197. package/es/api/index.spec.js +2 -2
  198. package/es/api/useResource.js +2 -2
  199. package/es/api/useResourceAction.js +1 -1
  200. package/es/api/useResourceQuery.js +1 -1
  201. package/es/app/Footer/__stories__/DefaultCopyright.js +3 -2
  202. package/es/app/Footer/__stories__/FooterAllInclusive.js +5 -4
  203. package/es/app/Footer/__stories__/FooterWithLink.js +4 -3
  204. package/es/app/Footer/__stories__/FooterWithLogo.js +4 -3
  205. package/es/app/Footer/__stories__/FooterWithSecondaryNavigation.js +5 -4
  206. package/es/app/Footer/__stories__/YearCopyright.js +3 -2
  207. package/es/app/Header/Header.stories.playwright.json +16 -0
  208. package/es/app/Header/__stories__/Default.js +1 -1
  209. package/es/app/Header/__stories__/WithHeaderNavigation.js +5 -4
  210. package/es/app/Header/__stories__/WithNavigation.js +3 -3
  211. package/es/app/Header/__stories__/WithServiceName.js +2 -2
  212. package/es/app/Header/__stories__/WithServiceNameAndLogo.js +2 -2
  213. package/es/app/Header/index.spec.js +1 -1
  214. package/es/app/OutdatedBrowserBanner.js +3 -3
  215. package/es/app/PhaseBannerHeader/index.js +1 -1
  216. package/es/app/QrCodeScanner/__stories__/Default.js +1 -1
  217. package/es/app/ThemeOptionsForm/index.js +3 -3
  218. package/es/app/ThemePaletteForm/index.js +1 -1
  219. package/es/core/Accordion/__stories__/Default.js +1 -1
  220. package/es/core/Accordion/__stories__/WithHints.js +2 -2
  221. package/es/core/Accordion/index.js +3 -3
  222. package/es/core/Card/__stories__/Default.js +1 -1
  223. package/es/core/Card/__stories__/WithDarkBorder.js +1 -1
  224. package/es/core/Card/__stories__/WithDarkTopBorder.js +1 -1
  225. package/es/core/Card/__stories__/WithDivider.js +1 -1
  226. package/es/core/Card/__stories__/WithGrayBorder.js +1 -1
  227. package/es/core/Card/__stories__/WithGrayTopBorder.js +1 -1
  228. package/es/core/Card/__stories__/WithGroupButton.js +1 -1
  229. package/es/core/Checkbox/__stories__/ConditionalReveal.js +3 -3
  230. package/es/core/Checkbox/__stories__/Default.js +3 -3
  231. package/es/core/Checkbox/__stories__/MultipleQuestions.js +3 -3
  232. package/es/core/Checkbox/__stories__/NoneAnswer.js +3 -4
  233. package/es/core/Checkbox/__stories__/NoneAnswerWithError.js +8 -9
  234. package/es/core/Checkbox/__stories__/WithErrorMessage.js +6 -6
  235. package/es/core/Checkbox/__stories__/WithHint.js +6 -6
  236. package/es/core/DateInputContainer/__stories__/WithErrorMessage.js +2 -2
  237. package/es/core/DateInputContainer/__stories__/WithErrorMessageForSingleField.js +2 -2
  238. package/es/core/Divider/index.js +1 -0
  239. package/es/core/ErrorMessage/__stories__/Default.js +2 -2
  240. package/es/core/ErrorSummary/__stories__/Default.js +1 -1
  241. package/es/core/ErrorSummary/__stories__/LinkedToCheckbox.js +5 -5
  242. package/es/core/ErrorSummary/__stories__/LinkedToField.js +5 -5
  243. package/es/core/ErrorSummary/__stories__/LinkedToInput.js +6 -5
  244. package/es/core/FileUpload/__stories__/Default.js +1 -1
  245. package/es/core/FileUpload/__stories__/WithErrorMessage.js +3 -3
  246. package/es/core/Link/__stories__/DarkBackground.js +1 -1
  247. package/es/core/Link/__stories__/DarkBackgroundNoUnderline.js +1 -1
  248. package/es/core/List/ListItemTitle.js +1 -1
  249. package/es/core/List/__stories__/Default.js +1 -1
  250. package/es/core/Masthead/__stories__/Default.js +2 -2
  251. package/es/core/NavList/NavListAuto/NavListAuto.js +1 -1
  252. package/es/core/NavList/NavListAuto/NavListContextAuto.js +1 -1
  253. package/es/core/NavList/NavListAuto/NavListItemAnchorAuto.js +2 -2
  254. package/es/core/NavList/NavListAuto/NavListItemButtonAuto.js +2 -2
  255. package/es/core/NavList/NavListAuto/NavListMenuAuto.js +2 -2
  256. package/es/core/NavList/NavListItemBase.js +2 -2
  257. package/es/core/NavList/__stories__/Default.js +1 -1
  258. package/es/core/NavList/__stories__/NavVerticalLayout.js +1 -1
  259. package/es/core/NotificationBanner/index.js +1 -1
  260. package/es/core/PhaseBanner/__stories__/Default.js +1 -1
  261. package/es/core/PhaseBanner/__stories__/Underlined.js +1 -1
  262. package/es/core/RadioContainer/__stories__/ConditionalReveal.js +1 -1
  263. package/es/core/RadioContainer/__stories__/Default.js +1 -1
  264. package/es/core/RadioContainer/__stories__/Inline.js +1 -1
  265. package/es/core/RadioContainer/__stories__/MultipleQuestions.js +1 -1
  266. package/es/core/RadioContainer/__stories__/NoneAnswer.js +9 -10
  267. package/es/core/RadioContainer/__stories__/WithErrorMessage.js +7 -7
  268. package/es/core/RadioContainer/__stories__/WithHints.js +1 -1
  269. package/es/core/SelectContainer/__stories__/Default.js +1 -1
  270. package/es/core/SelectContainer/__stories__/DisabledInput.js +1 -1
  271. package/es/core/SelectContainer/__stories__/WithHint.js +1 -1
  272. package/es/core/ServiceBadge/index.js +1 -1
  273. package/es/core/SingleCharacterInputContainer/__stories__/Default.js +1 -1
  274. package/es/core/SingleCharacterInputContainer/__stories__/WithDefaultError.js +3 -3
  275. package/es/core/SingleCharacterInputContainer/__stories__/WithErrorMessageInvalidCode.js +3 -3
  276. package/es/core/SingleCharacterInputContainer/__stories__/WithErrorMessageLessDigit.js +3 -3
  277. package/es/core/SummaryList/__stories__/Default.js +1 -1
  278. package/es/core/SummaryList/__stories__/RowVariations.js +1 -1
  279. package/es/core/SummaryList/__stories__/WithActions.js +2 -2
  280. package/es/core/SummaryList/__stories__/WithKeyAndAction.js +2 -2
  281. package/es/core/Table/__stories__/WithFloatingScroll.js +2 -2
  282. package/es/core/Table/__stories__/WithLoader.js +4 -4
  283. package/es/core/Table/index.js +1 -1
  284. package/es/core/Tabs/__stories__/Default.js +3 -3
  285. package/es/core/TextArea/__stories__/Default.js +2 -1
  286. package/es/core/TextArea/__stories__/DisabledInput.js +3 -2
  287. package/es/core/TextArea/__stories__/LimitedCharacters.js +3 -2
  288. package/es/core/TextArea/__stories__/MultipleQuestions.js +1 -1
  289. package/es/core/TextArea/__stories__/WithDeclaredRows.js +3 -2
  290. package/es/core/TextArea/__stories__/WithErrorMessage.js +4 -3
  291. package/es/core/TextArea/__stories__/WithHint.js +3 -2
  292. package/es/core/TextInput/__stories__/AskingForNumbers.js +3 -2
  293. package/es/core/TextInput/__stories__/Default.js +3 -2
  294. package/es/core/TextInput/__stories__/DisabledInput.js +3 -2
  295. package/es/core/TextInput/__stories__/FixedWidths.js +3 -2
  296. package/es/core/TextInput/__stories__/FluidWidths.js +3 -2
  297. package/es/core/TextInput/__stories__/MultipleQuestions.js +1 -1
  298. package/es/core/TextInput/__stories__/WithErrorMessage.js +4 -3
  299. package/es/core/TextInput/__stories__/WithHint.js +3 -2
  300. package/es/core/VisuallyHidden/__stories__/Default.js +2 -2
  301. package/es/govgr/Footer/index.js +2 -2
  302. package/es/hooks/useNavList.js +1 -1
  303. package/es/hooks/useSort.js +2 -1
  304. package/es/layouts/Basic/__stories__/MultipleRowsLayout.js +1 -1
  305. package/es/layouts/Basic/__stories__/TwoThirdsOneThirdColumns.js +1 -1
  306. package/es/layouts/Grid/__stories__/Default.js +1 -1
  307. package/es/layouts/Grid/__stories__/Inline.js +1 -1
  308. package/es/locales/el.js +14 -0
  309. package/es/locales/en.js +14 -0
  310. package/es/registry.js +3 -0
  311. package/es/typography/HeadingCaption/__stories__/Default.js +1 -1
  312. package/es/typography/NormalText/__stories__/FontSizes.js +1 -1
  313. package/es/typography/NormalText/__stories__/FontWeight.js +1 -1
  314. package/es/typography/NormalText/__stories__/Variants.js +1 -1
  315. package/es/utils/Kitchensink/KitchensinkComponent.js +2 -2
  316. package/es/utils/Kitchensink/KitchensinkDashboard.js +1 -1
  317. package/esm/admin/AccessibilityMenu/index.js +3 -3
  318. package/esm/admin/AutoComplete/Status/index.js +1 -1
  319. package/esm/admin/AutoComplete/__stories__/Default.js +1 -1
  320. package/esm/admin/AutoComplete/__stories__/WithAutoSelect.js +1 -1
  321. package/esm/admin/AutoComplete/__stories__/WithDefaultValue.js +1 -1
  322. package/esm/admin/AutoComplete/__stories__/WithInLine.js +1 -1
  323. package/esm/admin/AutoComplete/__stories__/WithMinLength.js +1 -1
  324. package/esm/admin/AutoComplete/__stories__/WithPlaceHolder.js +1 -1
  325. package/esm/admin/AutoComplete/__stories__/WithShowAllValues.js +1 -1
  326. package/esm/admin/AutoComplete/index.js +8 -6
  327. package/esm/admin/Chip/Chip.stories.js +12 -0
  328. package/esm/admin/Chip/__stories__/ClickableChip.js +10 -0
  329. package/esm/admin/Chip/__stories__/ClickableDeletableChip.js +13 -0
  330. package/esm/admin/Chip/__stories__/Default.js +9 -0
  331. package/esm/admin/Chip/__stories__/DeletableChip.js +10 -0
  332. package/esm/admin/Chip/__stories__/GroupOfChips.js +9 -0
  333. package/esm/admin/Chip/index.js +0 -1
  334. package/esm/admin/CircularProgress/__stories__/Default.js +1 -1
  335. package/esm/admin/CopyToClipboard/index.js +1 -1
  336. package/esm/admin/Drawer/__stories__/Default.js +3 -2
  337. package/esm/admin/Dropdown/__stories__/AlignRight.js +5 -4
  338. package/esm/admin/Dropdown/__stories__/Default.js +5 -4
  339. package/esm/admin/Dropdown/__stories__/PlacementTop.js +5 -4
  340. package/esm/admin/Modal/__stories__/Default.js +1 -1
  341. package/esm/admin/Pagination/Pagination.stories.js +2 -1
  342. package/esm/admin/Pagination/__stories__/Default.js +2 -2
  343. package/esm/admin/Pagination/__stories__/PaginationSmall.js +2 -2
  344. package/esm/admin/Pagination/__stories__/PaginationWithSmallFont.js +44 -0
  345. package/esm/admin/Pagination/index.js +2 -2
  346. package/esm/admin/StepNav/__stories__/Default.js +9 -11
  347. package/esm/admin/StepNav/index.js +7 -9
  348. package/esm/admin/TaskList/__stories__/Default.js +1 -1
  349. package/esm/admin/Timeline/__stories__/Default.js +3 -3
  350. package/esm/api/index.spec.js +2 -2
  351. package/esm/api/useResource.js +2 -2
  352. package/esm/api/useResourceAction.js +1 -1
  353. package/esm/api/useResourceQuery.js +1 -1
  354. package/esm/app/Footer/__stories__/DefaultCopyright.js +3 -2
  355. package/esm/app/Footer/__stories__/FooterAllInclusive.js +5 -4
  356. package/esm/app/Footer/__stories__/FooterWithLink.js +4 -3
  357. package/esm/app/Footer/__stories__/FooterWithLogo.js +4 -3
  358. package/esm/app/Footer/__stories__/FooterWithSecondaryNavigation.js +5 -4
  359. package/esm/app/Footer/__stories__/YearCopyright.js +3 -2
  360. package/esm/app/Header/Header.stories.playwright.json +16 -0
  361. package/esm/app/Header/__stories__/Default.js +1 -1
  362. package/esm/app/Header/__stories__/WithHeaderNavigation.js +5 -4
  363. package/esm/app/Header/__stories__/WithNavigation.js +3 -3
  364. package/esm/app/Header/__stories__/WithServiceName.js +2 -2
  365. package/esm/app/Header/__stories__/WithServiceNameAndLogo.js +2 -2
  366. package/esm/app/Header/index.spec.js +1 -1
  367. package/esm/app/OutdatedBrowserBanner.js +3 -3
  368. package/esm/app/PhaseBannerHeader/index.js +1 -1
  369. package/esm/app/QrCodeScanner/__stories__/Default.js +1 -1
  370. package/esm/app/ThemeOptionsForm/index.js +3 -3
  371. package/esm/app/ThemePaletteForm/index.js +1 -1
  372. package/esm/core/Accordion/__stories__/Default.js +1 -1
  373. package/esm/core/Accordion/__stories__/WithHints.js +2 -2
  374. package/esm/core/Accordion/index.js +3 -3
  375. package/esm/core/Card/__stories__/Default.js +1 -1
  376. package/esm/core/Card/__stories__/WithDarkBorder.js +1 -1
  377. package/esm/core/Card/__stories__/WithDarkTopBorder.js +1 -1
  378. package/esm/core/Card/__stories__/WithDivider.js +1 -1
  379. package/esm/core/Card/__stories__/WithGrayBorder.js +1 -1
  380. package/esm/core/Card/__stories__/WithGrayTopBorder.js +1 -1
  381. package/esm/core/Card/__stories__/WithGroupButton.js +1 -1
  382. package/esm/core/Checkbox/__stories__/ConditionalReveal.js +3 -3
  383. package/esm/core/Checkbox/__stories__/Default.js +3 -3
  384. package/esm/core/Checkbox/__stories__/MultipleQuestions.js +3 -3
  385. package/esm/core/Checkbox/__stories__/NoneAnswer.js +3 -4
  386. package/esm/core/Checkbox/__stories__/NoneAnswerWithError.js +8 -9
  387. package/esm/core/Checkbox/__stories__/WithErrorMessage.js +6 -6
  388. package/esm/core/Checkbox/__stories__/WithHint.js +6 -6
  389. package/esm/core/DateInputContainer/__stories__/WithErrorMessage.js +2 -2
  390. package/esm/core/DateInputContainer/__stories__/WithErrorMessageForSingleField.js +2 -2
  391. package/esm/core/Divider/index.js +1 -0
  392. package/esm/core/ErrorMessage/__stories__/Default.js +2 -2
  393. package/esm/core/ErrorSummary/__stories__/Default.js +1 -1
  394. package/esm/core/ErrorSummary/__stories__/LinkedToCheckbox.js +5 -5
  395. package/esm/core/ErrorSummary/__stories__/LinkedToField.js +5 -5
  396. package/esm/core/ErrorSummary/__stories__/LinkedToInput.js +6 -5
  397. package/esm/core/FileUpload/__stories__/Default.js +1 -1
  398. package/esm/core/FileUpload/__stories__/WithErrorMessage.js +3 -3
  399. package/esm/core/Link/__stories__/DarkBackground.js +1 -1
  400. package/esm/core/Link/__stories__/DarkBackgroundNoUnderline.js +1 -1
  401. package/esm/core/List/ListItemTitle.js +1 -1
  402. package/esm/core/List/__stories__/Default.js +1 -1
  403. package/esm/core/Masthead/__stories__/Default.js +2 -2
  404. package/esm/core/NavList/NavListAuto/NavListAuto.js +1 -1
  405. package/esm/core/NavList/NavListAuto/NavListContextAuto.js +1 -1
  406. package/esm/core/NavList/NavListAuto/NavListItemAnchorAuto.js +2 -2
  407. package/esm/core/NavList/NavListAuto/NavListItemButtonAuto.js +2 -2
  408. package/esm/core/NavList/NavListAuto/NavListMenuAuto.js +2 -2
  409. package/esm/core/NavList/NavListItemBase.js +2 -2
  410. package/esm/core/NavList/__stories__/Default.js +1 -1
  411. package/esm/core/NavList/__stories__/NavVerticalLayout.js +1 -1
  412. package/esm/core/NotificationBanner/index.js +1 -1
  413. package/esm/core/PhaseBanner/__stories__/Default.js +1 -1
  414. package/esm/core/PhaseBanner/__stories__/Underlined.js +1 -1
  415. package/esm/core/RadioContainer/__stories__/ConditionalReveal.js +1 -1
  416. package/esm/core/RadioContainer/__stories__/Default.js +1 -1
  417. package/esm/core/RadioContainer/__stories__/Inline.js +1 -1
  418. package/esm/core/RadioContainer/__stories__/MultipleQuestions.js +1 -1
  419. package/esm/core/RadioContainer/__stories__/NoneAnswer.js +9 -10
  420. package/esm/core/RadioContainer/__stories__/WithErrorMessage.js +7 -7
  421. package/esm/core/RadioContainer/__stories__/WithHints.js +1 -1
  422. package/esm/core/SelectContainer/__stories__/Default.js +1 -1
  423. package/esm/core/SelectContainer/__stories__/DisabledInput.js +1 -1
  424. package/esm/core/SelectContainer/__stories__/WithHint.js +1 -1
  425. package/esm/core/ServiceBadge/index.js +1 -1
  426. package/esm/core/SingleCharacterInputContainer/__stories__/Default.js +1 -1
  427. package/esm/core/SingleCharacterInputContainer/__stories__/WithDefaultError.js +3 -3
  428. package/esm/core/SingleCharacterInputContainer/__stories__/WithErrorMessageInvalidCode.js +3 -3
  429. package/esm/core/SingleCharacterInputContainer/__stories__/WithErrorMessageLessDigit.js +3 -3
  430. package/esm/core/SummaryList/__stories__/Default.js +1 -1
  431. package/esm/core/SummaryList/__stories__/RowVariations.js +1 -1
  432. package/esm/core/SummaryList/__stories__/WithActions.js +2 -2
  433. package/esm/core/SummaryList/__stories__/WithKeyAndAction.js +2 -2
  434. package/esm/core/Table/__stories__/WithFloatingScroll.js +2 -2
  435. package/esm/core/Table/__stories__/WithLoader.js +4 -4
  436. package/esm/core/Table/index.js +1 -1
  437. package/esm/core/Tabs/__stories__/Default.js +3 -3
  438. package/esm/core/TextArea/__stories__/Default.js +2 -1
  439. package/esm/core/TextArea/__stories__/DisabledInput.js +3 -2
  440. package/esm/core/TextArea/__stories__/LimitedCharacters.js +3 -2
  441. package/esm/core/TextArea/__stories__/MultipleQuestions.js +1 -1
  442. package/esm/core/TextArea/__stories__/WithDeclaredRows.js +3 -2
  443. package/esm/core/TextArea/__stories__/WithErrorMessage.js +4 -3
  444. package/esm/core/TextArea/__stories__/WithHint.js +3 -2
  445. package/esm/core/TextInput/__stories__/AskingForNumbers.js +3 -2
  446. package/esm/core/TextInput/__stories__/Default.js +3 -2
  447. package/esm/core/TextInput/__stories__/DisabledInput.js +3 -2
  448. package/esm/core/TextInput/__stories__/FixedWidths.js +3 -2
  449. package/esm/core/TextInput/__stories__/FluidWidths.js +3 -2
  450. package/esm/core/TextInput/__stories__/MultipleQuestions.js +1 -1
  451. package/esm/core/TextInput/__stories__/WithErrorMessage.js +4 -3
  452. package/esm/core/TextInput/__stories__/WithHint.js +3 -2
  453. package/esm/core/VisuallyHidden/__stories__/Default.js +2 -2
  454. package/esm/govgr/Footer/index.js +2 -2
  455. package/esm/hooks/useNavList.js +1 -1
  456. package/esm/hooks/useSort.js +2 -1
  457. package/esm/index.js +1 -1
  458. package/esm/layouts/Basic/__stories__/MultipleRowsLayout.js +1 -1
  459. package/esm/layouts/Basic/__stories__/TwoThirdsOneThirdColumns.js +1 -1
  460. package/esm/layouts/Grid/__stories__/Default.js +1 -1
  461. package/esm/layouts/Grid/__stories__/Inline.js +1 -1
  462. package/esm/locales/el.js +14 -0
  463. package/esm/locales/en.js +14 -0
  464. package/esm/registry.js +3 -0
  465. package/esm/typography/HeadingCaption/__stories__/Default.js +1 -1
  466. package/esm/typography/NormalText/__stories__/FontSizes.js +1 -1
  467. package/esm/typography/NormalText/__stories__/FontWeight.js +1 -1
  468. package/esm/typography/NormalText/__stories__/Variants.js +1 -1
  469. package/esm/utils/Kitchensink/KitchensinkComponent.js +2 -2
  470. package/esm/utils/Kitchensink/KitchensinkDashboard.js +1 -1
  471. package/govgr/Footer/index.js +4 -4
  472. package/hooks/useNavList.js +2 -2
  473. package/layouts/Basic/Content/index.d.ts +1 -1
  474. package/layouts/Basic/Side/index.d.ts +1 -1
  475. package/layouts/Basic/__stories__/MultipleRowsLayout.js +2 -2
  476. package/layouts/Basic/__stories__/TwoThirdsOneThirdColumns.js +2 -2
  477. package/layouts/Grid/__stories__/Default.js +2 -2
  478. package/layouts/Grid/__stories__/Inline.js +2 -2
  479. package/locales/el.d.ts +14 -0
  480. package/locales/el.js +14 -0
  481. package/locales/en.d.ts +14 -0
  482. package/locales/en.js +14 -0
  483. package/package.json +3 -3
  484. package/registry.d.ts +2 -0
  485. package/registry.js +4 -0
  486. package/src/admin/AccessibilityMenu/index.tsx +6 -6
  487. package/src/admin/AutoComplete/Status/index.tsx +1 -1
  488. package/src/admin/AutoComplete/__stories__/Default.tsx +1 -1
  489. package/src/admin/AutoComplete/__stories__/WithAutoSelect.tsx +1 -1
  490. package/src/admin/AutoComplete/__stories__/WithDefaultValue.tsx +1 -1
  491. package/src/admin/AutoComplete/__stories__/WithInLine.tsx +1 -1
  492. package/src/admin/AutoComplete/__stories__/WithMinLength.tsx +1 -1
  493. package/src/admin/AutoComplete/__stories__/WithPlaceHolder.tsx +1 -1
  494. package/src/admin/AutoComplete/__stories__/WithShowAllValues.tsx +1 -1
  495. package/src/admin/AutoComplete/index.tsx +7 -6
  496. package/src/admin/Chip/Chip.stories.js +12 -0
  497. package/src/admin/Chip/__stories__/ClickableChip.tsx +16 -0
  498. package/src/admin/Chip/__stories__/ClickableDeletableChip.tsx +19 -0
  499. package/src/admin/Chip/__stories__/Default.tsx +10 -0
  500. package/src/admin/Chip/__stories__/DeletableChip.tsx +16 -0
  501. package/src/admin/Chip/__stories__/GroupOfChips.tsx +15 -0
  502. package/src/admin/Chip/index.tsx +0 -1
  503. package/src/admin/CircularProgress/__stories__/Default.tsx +1 -1
  504. package/src/admin/CopyToClipboard/index.tsx +1 -1
  505. package/src/admin/Drawer/__stories__/Default.tsx +3 -2
  506. package/src/admin/Dropdown/__stories__/AlignRight.tsx +5 -4
  507. package/src/admin/Dropdown/__stories__/Default.tsx +5 -4
  508. package/src/admin/Dropdown/__stories__/PlacementTop.tsx +5 -4
  509. package/src/admin/Modal/__stories__/Default.tsx +1 -1
  510. package/src/admin/Pagination/Pagination.stories.js +1 -0
  511. package/src/admin/Pagination/__stories__/Default.tsx +2 -3
  512. package/src/admin/Pagination/__stories__/PaginationSmall.tsx +2 -2
  513. package/src/admin/Pagination/__stories__/PaginationWithSmallFont.tsx +66 -0
  514. package/src/admin/Pagination/index.tsx +2 -2
  515. package/src/admin/StepNav/__stories__/Default.tsx +12 -26
  516. package/src/admin/StepNav/index.tsx +7 -11
  517. package/src/admin/TaskList/__stories__/Default.tsx +8 -8
  518. package/src/admin/Timeline/__stories__/Default.tsx +6 -6
  519. package/src/api/index.spec.tsx +2 -2
  520. package/src/api/useResource.tsx +2 -2
  521. package/src/api/useResourceAction.tsx +2 -2
  522. package/src/api/useResourceQuery.tsx +1 -1
  523. package/src/api/utils.tsx +1 -1
  524. package/src/app/Footer/__stories__/DefaultCopyright.tsx +6 -6
  525. package/src/app/Footer/__stories__/FooterAllInclusive.tsx +5 -6
  526. package/src/app/Footer/__stories__/FooterWithLink.tsx +6 -6
  527. package/src/app/Footer/__stories__/FooterWithLogo.tsx +5 -6
  528. package/src/app/Footer/__stories__/FooterWithSecondaryNavigation.tsx +5 -6
  529. package/src/app/Footer/__stories__/YearCopyright.tsx +6 -6
  530. package/src/app/Header/Header.stories.playwright.json +16 -0
  531. package/src/app/Header/__stories__/Default.tsx +1 -1
  532. package/src/app/Header/__stories__/WithHeaderNavigation.tsx +5 -4
  533. package/src/app/Header/__stories__/WithNavigation.tsx +3 -3
  534. package/src/app/Header/__stories__/WithServiceName.tsx +2 -2
  535. package/src/app/Header/__stories__/WithServiceNameAndLogo.tsx +2 -2
  536. package/src/app/Header/index.spec.tsx +1 -1
  537. package/src/app/OutdatedBrowserBanner.tsx +3 -3
  538. package/src/app/PhaseBannerHeader/index.tsx +1 -1
  539. package/src/app/QrCodeScanner/__stories__/Default.tsx +1 -1
  540. package/src/app/QrCodeViewer/index.tsx +1 -1
  541. package/src/app/ThemeOptionsForm/index.tsx +7 -7
  542. package/src/app/ThemePaletteForm/index.tsx +1 -1
  543. package/src/core/Accordion/__stories__/Default.tsx +1 -1
  544. package/src/core/Accordion/__stories__/WithHints.tsx +2 -2
  545. package/src/core/Accordion/index.tsx +3 -3
  546. package/src/core/Card/__stories__/Default.tsx +2 -2
  547. package/src/core/Card/__stories__/WithDarkBorder.tsx +2 -2
  548. package/src/core/Card/__stories__/WithDarkTopBorder.tsx +2 -2
  549. package/src/core/Card/__stories__/WithDivider.tsx +2 -2
  550. package/src/core/Card/__stories__/WithGrayBorder.tsx +2 -2
  551. package/src/core/Card/__stories__/WithGrayTopBorder.tsx +2 -2
  552. package/src/core/Card/__stories__/WithGroupButton.tsx +2 -2
  553. package/src/core/Checkbox/__stories__/ConditionalReveal.tsx +4 -4
  554. package/src/core/Checkbox/__stories__/Default.tsx +3 -3
  555. package/src/core/Checkbox/__stories__/MultipleQuestions.tsx +3 -3
  556. package/src/core/Checkbox/__stories__/NoneAnswer.tsx +1 -2
  557. package/src/core/Checkbox/__stories__/NoneAnswerWithError.tsx +6 -7
  558. package/src/core/Checkbox/__stories__/WithErrorMessage.tsx +5 -5
  559. package/src/core/Checkbox/__stories__/WithHint.tsx +3 -3
  560. package/src/core/DateInputContainer/__stories__/WithErrorMessage.tsx +3 -3
  561. package/src/core/DateInputContainer/__stories__/WithErrorMessageForSingleField.tsx +3 -3
  562. package/src/core/Divider/index.tsx +1 -0
  563. package/src/core/ErrorMessage/__stories__/Default.tsx +3 -3
  564. package/src/core/ErrorSummary/__stories__/Default.tsx +1 -1
  565. package/src/core/ErrorSummary/__stories__/LinkedToCheckbox.tsx +7 -7
  566. package/src/core/ErrorSummary/__stories__/LinkedToField.tsx +8 -8
  567. package/src/core/ErrorSummary/__stories__/LinkedToInput.tsx +6 -5
  568. package/src/core/FileUpload/__stories__/Default.tsx +1 -1
  569. package/src/core/FileUpload/__stories__/WithErrorMessage.tsx +4 -4
  570. package/src/core/Link/__stories__/DarkBackground.tsx +1 -1
  571. package/src/core/Link/__stories__/DarkBackgroundNoUnderline.tsx +1 -1
  572. package/src/core/List/ListItemTitle.tsx +1 -1
  573. package/src/core/List/__stories__/Default.tsx +1 -1
  574. package/src/core/Masthead/__stories__/Default.tsx +3 -3
  575. package/src/core/NavList/NavListAuto/NavListAuto.tsx +1 -1
  576. package/src/core/NavList/NavListAuto/NavListBaseAuto.tsx +1 -1
  577. package/src/core/NavList/NavListAuto/NavListContextAuto.tsx +2 -2
  578. package/src/core/NavList/NavListAuto/NavListItemAnchorAuto.tsx +2 -2
  579. package/src/core/NavList/NavListAuto/NavListItemButtonAuto.tsx +2 -2
  580. package/src/core/NavList/NavListAuto/NavListMenuAuto.tsx +3 -3
  581. package/src/core/NavList/NavListItemBase.tsx +5 -5
  582. package/src/core/NavList/__stories__/Default.tsx +1 -1
  583. package/src/core/NavList/__stories__/NavVerticalLayout.tsx +1 -1
  584. package/src/core/NavList/types.tsx +1 -1
  585. package/src/core/NotificationBanner/index.tsx +1 -1
  586. package/src/core/PhaseBanner/__stories__/Default.tsx +2 -2
  587. package/src/core/PhaseBanner/__stories__/Underlined.tsx +2 -2
  588. package/src/core/RadioContainer/__stories__/ConditionalReveal.tsx +6 -6
  589. package/src/core/RadioContainer/__stories__/Default.tsx +2 -2
  590. package/src/core/RadioContainer/__stories__/Inline.tsx +2 -2
  591. package/src/core/RadioContainer/__stories__/MultipleQuestions.tsx +2 -2
  592. package/src/core/RadioContainer/__stories__/NoneAnswer.tsx +5 -6
  593. package/src/core/RadioContainer/__stories__/WithErrorMessage.tsx +5 -5
  594. package/src/core/RadioContainer/__stories__/WithHints.tsx +2 -2
  595. package/src/core/SelectContainer/__stories__/Default.tsx +3 -3
  596. package/src/core/SelectContainer/__stories__/DisabledInput.tsx +3 -3
  597. package/src/core/SelectContainer/__stories__/WithHint.tsx +3 -3
  598. package/src/core/ServiceBadge/index.tsx +1 -1
  599. package/src/core/SingleCharacterInputContainer/__stories__/Default.tsx +5 -5
  600. package/src/core/SingleCharacterInputContainer/__stories__/WithDefaultError.tsx +6 -6
  601. package/src/core/SingleCharacterInputContainer/__stories__/WithErrorMessageInvalidCode.tsx +6 -6
  602. package/src/core/SingleCharacterInputContainer/__stories__/WithErrorMessageLessDigit.tsx +6 -6
  603. package/src/core/SummaryList/__stories__/Default.tsx +2 -2
  604. package/src/core/SummaryList/__stories__/RowVariations.tsx +2 -2
  605. package/src/core/SummaryList/__stories__/WithActions.tsx +3 -3
  606. package/src/core/SummaryList/__stories__/WithKeyAndAction.tsx +3 -3
  607. package/src/core/Table/__stories__/WithFloatingScroll.tsx +9 -9
  608. package/src/core/Table/__stories__/WithLoader.tsx +6 -6
  609. package/src/core/Table/index.tsx +1 -1
  610. package/src/core/Tabs/__stories__/Default.tsx +10 -10
  611. package/src/core/TextArea/__stories__/Default.tsx +2 -1
  612. package/src/core/TextArea/__stories__/DisabledInput.tsx +3 -2
  613. package/src/core/TextArea/__stories__/LimitedCharacters.tsx +3 -2
  614. package/src/core/TextArea/__stories__/MultipleQuestions.tsx +1 -1
  615. package/src/core/TextArea/__stories__/WithDeclaredRows.tsx +3 -2
  616. package/src/core/TextArea/__stories__/WithErrorMessage.tsx +4 -3
  617. package/src/core/TextArea/__stories__/WithHint.tsx +3 -2
  618. package/src/core/TextInput/__stories__/AskingForNumbers.tsx +3 -2
  619. package/src/core/TextInput/__stories__/Default.tsx +3 -2
  620. package/src/core/TextInput/__stories__/DisabledInput.tsx +3 -2
  621. package/src/core/TextInput/__stories__/FixedWidths.tsx +3 -2
  622. package/src/core/TextInput/__stories__/FluidWidths.tsx +3 -2
  623. package/src/core/TextInput/__stories__/MultipleQuestions.tsx +1 -1
  624. package/src/core/TextInput/__stories__/WithErrorMessage.tsx +4 -3
  625. package/src/core/TextInput/__stories__/WithHint.tsx +3 -2
  626. package/src/core/VisuallyHidden/__stories__/Default.tsx +4 -4
  627. package/src/govgr/Footer/index.tsx +2 -2
  628. package/src/hooks/useNavList.ts +1 -1
  629. package/src/hooks/useSort.tsx +2 -1
  630. package/src/layouts/Basic/__stories__/MultipleRowsLayout.tsx +1 -1
  631. package/src/layouts/Basic/__stories__/TwoThirdsOneThirdColumns.tsx +1 -1
  632. package/src/layouts/Grid/__stories__/Default.tsx +1 -1
  633. package/src/layouts/Grid/__stories__/Inline.tsx +1 -1
  634. package/src/locales/el.ts +14 -0
  635. package/src/locales/en.ts +14 -0
  636. package/src/registry.js +3 -0
  637. package/src/typography/HeadingCaption/__stories__/Default.tsx +1 -1
  638. package/src/typography/NormalText/__stories__/FontSizes.tsx +1 -1
  639. package/src/typography/NormalText/__stories__/FontWeight.tsx +1 -1
  640. package/src/typography/NormalText/__stories__/Variants.tsx +1 -1
  641. package/src/utils/Kitchensink/KitchensinkComponent.tsx +2 -2
  642. package/src/utils/Kitchensink/KitchensinkDashboard.tsx +1 -1
  643. package/typography/Caption/index.d.ts +1 -1
  644. package/typography/HeadingCaption/__stories__/Default.js +2 -2
  645. package/typography/NormalText/__stories__/FontSizes.js +2 -2
  646. package/typography/NormalText/__stories__/FontWeight.js +2 -2
  647. package/typography/NormalText/__stories__/Variants.js +2 -2
  648. package/utils/Kitchensink/KitchensinkComponent.js +3 -3
  649. package/utils/Kitchensink/KitchensinkDashboard.js +2 -2
@@ -2,9 +2,9 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
2
  import React, { useState } from 'react';
3
3
  import { Modal, ModalHeading, ModalContent, ModalAction } from '@digigov/ui/admin/Modal';
4
4
  import { Button } from '@digigov/ui/core/Button';
5
+ import { TextInput } from '@digigov/ui/core/TextInput';
5
6
  import { FieldContainer } from '@digigov/ui/core/FieldContainer';
6
7
  import { LabelContainer } from '@digigov/ui/core/LabelContainer';
7
- import { TextInput } from '@digigov/ui/core/TextInput';
8
8
 
9
9
  var _ref = /*#__PURE__*/React.createElement(ModalHeading, {
10
10
  id: "modal-label"
@@ -9,4 +9,5 @@ export default {
9
9
  export * from '@digigov/ui/admin/Pagination/__stories__/Default';
10
10
  export * from '@digigov/ui/admin/Pagination/__stories__/WithInactiveValues';
11
11
  export * from '@digigov/ui/admin/Pagination/__stories__/WithResultsPerPage';
12
- export * from '@digigov/ui/admin/Pagination/__stories__/PaginationSmall';
12
+ export * from '@digigov/ui/admin/Pagination/__stories__/PaginationSmall';
13
+ export * from '@digigov/ui/admin/Pagination/__stories__/PaginationWithSmallFont';
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
2
  import { Pagination, PaginationList, PaginationListItem, PaginationLabel } from '@digigov/ui/admin/Pagination';
3
- import { I18NProvider } from '@digigov/ui/app/i18n';
3
+ import { ArrowIcon } from '@digigov/ui/core/SvgIcon';
4
4
  import { Link } from '@digigov/ui/core/Link';
5
5
  import { SectionBreak } from '@digigov/ui/core/SectionBreak';
6
- import { ArrowIcon } from '@digigov/ui/core/SvgIcon';
6
+ import { I18NProvider } from '@digigov/ui/app/i18n';
7
7
 
8
8
  var _ref = /*#__PURE__*/React.createElement(Pagination, null, /*#__PURE__*/React.createElement(PaginationLabel, {
9
9
  start: 10,
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
2
  import { Pagination, PaginationList, PaginationListItem, PaginationLabel } from '@digigov/ui/admin/Pagination';
3
- import { I18NProvider } from '@digigov/ui/app/i18n';
3
+ import { ArrowIcon } from '@digigov/ui/core/SvgIcon';
4
4
  import { Link } from '@digigov/ui/core/Link';
5
5
  import { SectionBreak } from '@digigov/ui/core/SectionBreak';
6
- import { ArrowIcon } from '@digigov/ui/core/SvgIcon';
6
+ import { I18NProvider } from '@digigov/ui/app/i18n';
7
7
 
8
8
  var _ref = /*#__PURE__*/React.createElement(Pagination, null, /*#__PURE__*/React.createElement(PaginationLabel, {
9
9
  start: 1,
@@ -0,0 +1,44 @@
1
+ import React from 'react';
2
+ import { Pagination, PaginationList, PaginationListItem, PaginationLabel } from '@digigov/ui/admin/Pagination';
3
+ import { SelectContainer, SelectOption } from '@digigov/ui/core/SelectContainer';
4
+ import { ArrowIcon } from '@digigov/ui/core/SvgIcon';
5
+ import { Link } from '@digigov/ui/core/Link';
6
+ import { I18NProvider } from '@digigov/ui/app/i18n';
7
+ import { LabelContainer } from '@digigov/react-core';
8
+
9
+ var _ref = /*#__PURE__*/React.createElement(Pagination, {
10
+ fontSize: "sm"
11
+ }, /*#__PURE__*/React.createElement(PaginationLabel, {
12
+ start: 1,
13
+ end: 10,
14
+ total: 15
15
+ }), /*#__PURE__*/React.createElement(LabelContainer, null, "\u0391\u03C0\u03BF\u03C4\u03B5\u03BB\u03AD\u03C3\u03BC\u03B1\u03C4\u03B1 \u03B1\u03BD\u03AC \u03C3\u03B5\u03BB\u03AF\u03B4\u03B1", /*#__PURE__*/React.createElement(SelectContainer, null, /*#__PURE__*/React.createElement(SelectOption, null, "5"), /*#__PURE__*/React.createElement(SelectOption, null, "10"), /*#__PURE__*/React.createElement(SelectOption, null, "15"))), /*#__PURE__*/React.createElement(PaginationList, null, /*#__PURE__*/React.createElement(PaginationListItem, null, /*#__PURE__*/React.createElement(Link, null, /*#__PURE__*/React.createElement(ArrowIcon, {
16
+ direction: "left"
17
+ }), "\u03A0\u03C1\u03BF\u03B7\u03B3\u03BF\u03CD\u03BC\u03B5\u03BD\u03BF")), /*#__PURE__*/React.createElement(PaginationListItem, null, /*#__PURE__*/React.createElement(Link, {
18
+ href: "#page1"
19
+ }, "1")), /*#__PURE__*/React.createElement(PaginationListItem, {
20
+ variant: "dots"
21
+ }), /*#__PURE__*/React.createElement(PaginationListItem, null, /*#__PURE__*/React.createElement(Link, {
22
+ href: "#page2"
23
+ }, "2")), /*#__PURE__*/React.createElement(PaginationListItem, {
24
+ currentPage: true
25
+ }, "8"), /*#__PURE__*/React.createElement(PaginationListItem, null, /*#__PURE__*/React.createElement(Link, {
26
+ href: "#page9"
27
+ }, "9")), /*#__PURE__*/React.createElement(PaginationListItem, {
28
+ variant: "dots"
29
+ }), /*#__PURE__*/React.createElement(PaginationListItem, null, /*#__PURE__*/React.createElement(Link, {
30
+ href: "#page20"
31
+ }, "20")), /*#__PURE__*/React.createElement(PaginationListItem, null, /*#__PURE__*/React.createElement(Link, null, "\u0395\u03C0\u03CC\u03BC\u03B5\u03BD\u03BF", /*#__PURE__*/React.createElement(ArrowIcon, {
32
+ direction: "right"
33
+ })))));
34
+
35
+ export var PaginationWithSmallFont = function PaginationWithSmallFont() {
36
+ return /*#__PURE__*/React.createElement("div", {
37
+ className: "example"
38
+ }, /*#__PURE__*/React.createElement(I18NProvider, {
39
+ t: function t(str) {
40
+ return str;
41
+ }
42
+ }, _ref));
43
+ };
44
+ export default PaginationWithSmallFont;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import Pagination from '@digigov/react-extensions/admin/Pagination';
3
2
  import PaginationLabelContainer from '@digigov/react-extensions/admin/PaginationLabelContainer';
3
+ import { I18nText } from '@digigov/ui/app/I18nText';
4
4
 
5
5
  /**
6
6
  * PaginationLabel component is used for placing the pagination results label.
@@ -19,5 +19,5 @@ export * from '@digigov/react-extensions/admin/Pagination';
19
19
  export * from '@digigov/react-extensions/admin/PaginationList';
20
20
  export * from '@digigov/react-extensions/admin/PaginationListItem';
21
21
  export { PaginationLabelContainer };
22
- import { I18nText } from '@digigov/ui/app/I18nText';
22
+ import Pagination from '@digigov/react-extensions/admin/Pagination';
23
23
  export default Pagination;
@@ -1,13 +1,13 @@
1
1
  import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
2
2
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
3
  import React, { useState, useEffect } from 'react';
4
- import { StepNav, StepNavCircleΝumber, StepNavControls, StepNavList, StepNavListItem, StepNavAccordionOpened, StepNavAccordionClosed, StepNavAccordion, StepNavAccordionContent, StepNavAccordionSummary, StepNavAccordionSummaryHeading, StepNavAccordionHeadingTitle, StepNavAccordionHeadingText } from '@digigov/ui/admin/StepNav';
5
- import { Button } from '@digigov/ui/core/Button';
6
- import { Link } from '@digigov/ui/core/Link';
4
+ import { StepNav, StepNavCircleNumber, StepNavControls, StepNavList, StepNavListItem, StepNavAccordion, StepNavAccordionContent, StepNavAccordionSummary, StepNavAccordionSummaryHeading, StepNavAccordionHeadingTitle, StepNavAccordionHeadingText } from '@digigov/ui/admin/StepNav';
5
+ import { Paragraph } from '@digigov/ui/typography/Paragraph';
7
6
  import { List } from '@digigov/ui/core/List/List';
8
7
  import { ListItem } from '@digigov/ui/core/List/ListItem';
8
+ import { Link } from '@digigov/ui/core/Link';
9
9
  import { VisuallyHidden } from '@digigov/ui/core/VisuallyHidden';
10
- import { Paragraph } from '@digigov/ui/typography/Paragraph';
10
+ import { Button } from '@digigov/ui/core/Button';
11
11
  var data = [{
12
12
  title: 'Title-1',
13
13
  description: 'Some description here',
@@ -26,23 +26,19 @@ var data = [{
26
26
  link: 'A link to navigate'
27
27
  }];
28
28
 
29
- var _ref = /*#__PURE__*/React.createElement(StepNavCircleΝumber, {
29
+ var _ref = /*#__PURE__*/React.createElement(StepNavCircleNumber, {
30
30
  border: false
31
31
  }, /*#__PURE__*/React.createElement(VisuallyHidden, null, "Step"), "and");
32
32
 
33
33
  var _ref2 = /*#__PURE__*/React.createElement(VisuallyHidden, null, "Step");
34
34
 
35
- var _ref3 = /*#__PURE__*/React.createElement(StepNavAccordionOpened, null, "\u0391\u03C0\u03CC\u03BA\u03C1\u03C5\u03C8\u03B7");
36
-
37
- var _ref4 = /*#__PURE__*/React.createElement(StepNavAccordionClosed, null, "\u0395\u03BC\u03C6\u03AC\u03BD\u03B9\u03C3\u03B7");
38
-
39
35
  export var Default = function Default() {
40
36
  var _useState = useState(false),
41
37
  _useState2 = _slicedToArray(_useState, 2),
42
38
  open = _useState2[0],
43
39
  SetOpen = _useState2[1];
44
40
 
45
- var _useState3 = useState([false, false, false, false]),
41
+ var _useState3 = useState(Array(data.length).fill(false)),
46
42
  _useState4 = _slicedToArray(_useState3, 2),
47
43
  openItem = _useState4[0],
48
44
  setOpenItem = _useState4[1];
@@ -90,7 +86,9 @@ export var Default = function Default() {
90
86
  }
91
87
  }, /*#__PURE__*/React.createElement(StepNavAccordionSummaryHeading, {
92
88
  "aria-controls": "content1"
93
- }, index === 2 ? _ref : /*#__PURE__*/React.createElement(StepNavCircleΝumber, null, _ref2, index + 1), /*#__PURE__*/React.createElement(StepNavAccordionHeadingTitle, null, /*#__PURE__*/React.createElement(StepNavAccordionHeadingText, null, dt.title), openItem[index] === true ? _ref3 : _ref4))), /*#__PURE__*/React.createElement(StepNavAccordionContent, {
89
+ }, index === 2 ? _ref : /*#__PURE__*/React.createElement(StepNavCircleNumber, null, _ref2, index + 1), /*#__PURE__*/React.createElement(StepNavAccordionHeadingTitle, null, /*#__PURE__*/React.createElement(StepNavAccordionHeadingText, {
90
+ open: openItem[index]
91
+ }, dt.title)))), /*#__PURE__*/React.createElement(StepNavAccordionContent, {
94
92
  id: "content1"
95
93
  }, /*#__PURE__*/React.createElement(Paragraph, null, dt.description), /*#__PURE__*/React.createElement(List, null, /*#__PURE__*/React.createElement(ListItem, null, /*#__PURE__*/React.createElement(Link, null, dt.link))))));
96
94
  })));
@@ -1,15 +1,13 @@
1
1
  import StepNav from '@digigov/react-extensions/admin/StepNav';
2
+ import StepNavCircleNumber from '@digigov/react-extensions/admin/StepNavCircleNumber';
3
+ import StepNavControls from '@digigov/react-extensions/admin/StepNavControls';
4
+ import StepNavList from '@digigov/react-extensions/admin/StepNavList';
5
+ import StepNavListItem from '@digigov/react-extensions/admin/StepNavListItem';
2
6
  import StepNavAccordion from '@digigov/react-extensions/admin/StepNavAccordion';
3
- import StepNavAccordionClosed from '@digigov/react-extensions/admin/StepNavAccordionClosed';
4
7
  import StepNavAccordionContent from '@digigov/react-extensions/admin/StepNavAccordionContent';
5
- import StepNavAccordionHeadingText from '@digigov/react-extensions/admin/StepNavAccordionHeadingText';
6
- import StepNavAccordionHeadingTitle from '@digigov/react-extensions/admin/StepNavAccordionHeadingTitle';
7
- import StepNavAccordionOpened from '@digigov/react-extensions/admin/StepNavAccordionOpened';
8
8
  import StepNavAccordionSummary from '@digigov/react-extensions/admin/StepNavAccordionSummary';
9
9
  import StepNavAccordionSummaryHeading from '@digigov/react-extensions/admin/StepNavAccordionSummaryHeading';
10
- import StepNavCircleΝumber from '@digigov/react-extensions/admin/StepNavCircleΝumber';
11
- import StepNavControls from '@digigov/react-extensions/admin/StepNavControls';
12
- import StepNavList from '@digigov/react-extensions/admin/StepNavList';
13
- import StepNavListItem from '@digigov/react-extensions/admin/StepNavListItem';
14
- export { StepNavAccordion, StepNavAccordionContent, StepNavAccordionSummary, StepNavAccordionSummaryHeading, StepNavAccordionHeadingTitle, StepNavAccordionHeadingText, StepNavCircleΝumber, StepNavAccordionOpened, StepNavAccordionClosed, StepNav, StepNavControls, StepNavList, StepNavListItem };
10
+ import StepNavAccordionHeadingTitle from '@digigov/react-extensions/admin/StepNavAccordionHeadingTitle';
11
+ import StepNavAccordionHeadingText from '@digigov/react-extensions/admin/StepNavAccordionHeadingText';
12
+ export { StepNavAccordion, StepNavAccordionContent, StepNavAccordionSummary, StepNavAccordionSummaryHeading, StepNavAccordionHeadingTitle, StepNavAccordionHeadingText, StepNavCircleNumber, StepNav, StepNavControls, StepNavList, StepNavListItem };
15
13
  export default StepNav;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { TaskList, TaskListItem, TaskListItemHeading, TaskListItemContent, TaskListItemTag } from '@digigov/ui/admin/TaskList';
3
2
  import { LinkBase } from '@digigov/ui/core/Link';
4
3
  import { SummaryList, SummaryListItem, SummaryListItemAction, SummaryListItemKey } from '@digigov/ui/core/SummaryList';
4
+ import { TaskList, TaskListItem, TaskListItemHeading, TaskListItemContent, TaskListItemTag } from '@digigov/ui/admin/TaskList';
5
5
  var fields = [{
6
6
  title: 'Check before you start',
7
7
  tasks: [{
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
- import { Timeline, TimelineItem, TimelineHeading, TimelineContent, TimelineActions } from '@digigov/ui/admin/Timeline';
3
2
  import { Button } from '@digigov/ui/core/Button';
4
- import { Details, DetailsSummary, DetailsContent } from '@digigov/ui/core/Details';
5
- import { LinkBase } from '@digigov/ui/core/Link';
6
3
  import { Hint } from '@digigov/ui/typography/Hint';
7
4
  import { Paragraph } from '@digigov/ui/typography/Paragraph';
5
+ import { LinkBase } from '@digigov/ui/core/Link';
6
+ import { Timeline, TimelineItem, TimelineHeading, TimelineContent, TimelineActions } from '@digigov/ui/admin/Timeline';
7
+ import { Details, DetailsSummary, DetailsContent } from '@digigov/ui/core/Details';
8
8
  var data = [{
9
9
  title: 'Application requires confirmation',
10
10
  date: '14 June 2019 at 2:01pm',
@@ -9,10 +9,10 @@ function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyri
9
9
  import React, { Suspense, useEffect } from 'react';
10
10
  import { render, fireEvent } from '@testing-library/react';
11
11
  import fetchMock from 'fetch-mock';
12
- import 'whatwg-fetch';
13
- import fetchAPI from '@digigov/ui/api/fetchAPI';
14
12
  import { APIProvider, useResource, useResourceAction, useResourceMany, APIErrors } from '@digigov/ui/api/index';
15
13
  import delay from '@digigov/ui/test-utils/delay';
14
+ import fetchAPI from '@digigov/ui/api/fetchAPI';
15
+ import 'whatwg-fetch';
16
16
 
17
17
  var _ref2 = /*#__PURE__*/React.createElement("span", null, "something went wrong");
18
18
 
@@ -4,10 +4,10 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
4
4
 
5
5
  function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel; context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method"); } return ContinueSentinel; } var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
6
6
 
7
- import { useState } from 'react';
7
+ import { getQueryKey, processResponse } from '@digigov/ui/api/utils';
8
8
  import { useQuery, queryCache } from 'react-query';
9
9
  import { useAPI } from '@digigov/ui/api';
10
- import { getQueryKey, processResponse } from '@digigov/ui/api/utils';
10
+ import { useState } from 'react';
11
11
  export function useResource(resource, id, query, options, suspense) {
12
12
  var _useAPI = useAPI(),
13
13
  baseURL = _useAPI.config.baseURL,
@@ -5,9 +5,9 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
5
5
  function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel; context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method"); } return ContinueSentinel; } var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
6
6
 
7
7
  import { useState, useEffect } from 'react';
8
+ import { getQueryKey, processResponse } from '@digigov/ui/api/utils';
8
9
  import { useMutation } from 'react-query';
9
10
  import { useAPI } from '@digigov/ui/api';
10
- import { getQueryKey, processResponse } from '@digigov/ui/api/utils';
11
11
  export function useResourceAction(resource, id) {
12
12
  var method = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'POST';
13
13
  var data = arguments.length > 3 ? arguments[3] : undefined;
@@ -8,9 +8,9 @@ var _excluded = ["data"];
8
8
  function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel; context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method"); } return ContinueSentinel; } var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
9
9
 
10
10
  import { useEffect, useMemo, useState, useCallback } from 'react';
11
+ import { getQueryKey, processResponse } from '@digigov/ui/api/utils';
11
12
  import { usePaginatedQuery, queryCache } from 'react-query';
12
13
  import { useAPI } from '@digigov/ui/api';
13
- import { getQueryKey, processResponse } from '@digigov/ui/api/utils';
14
14
  var DEFAULT_PAGINATION_LIMIT = 30;
15
15
  var DEFAULT_LIMIT_OPTIONS = [10, 30, 60, 100];
16
16
  export function useResourceManyBase(resource, query, options) {
@@ -1,8 +1,9 @@
1
1
  import React from 'react';
2
- import { Footer, FooterMeta, FooterMetaItem, FooterContent, FooterInlineList, FooterInlineListItem, FooterLink } from "@digigov/ui/app/Footer";
3
- import { VisuallyHidden } from '@digigov/ui/core/VisuallyHidden';
4
2
  import { Copyright } from '@digigov/ui/govgr/Footer/Copyright';
5
3
  import { HellenicRepublicLogo } from '@digigov/ui/govgr/Footer/HellenicRepublicLogo';
4
+ import { Footer } from '@digigov/ui/app/Footer';
5
+ import { FooterMeta, FooterMetaItem, FooterContent, FooterInlineList, FooterInlineListItem, FooterLink } from '@digigov/ui/app/Footer';
6
+ import { VisuallyHidden } from '@digigov/ui/core/VisuallyHidden';
6
7
 
7
8
  var _ref = /*#__PURE__*/React.createElement(Footer, null, /*#__PURE__*/React.createElement(FooterMeta, null, /*#__PURE__*/React.createElement(FooterMetaItem, {
8
9
  grow: true
@@ -1,10 +1,11 @@
1
1
  import React from 'react';
2
- import { Footer, FooterMeta, FooterMetaItem, FooterContent, FooterNavigation, FooterSection, FooterHeading, FooterList, FooterListItem, FooterLink, FooterInlineList, FooterInlineListItem, FooterContentLogos, FooterImage } from "@digigov/ui/app/Footer";
3
- import { Link } from '@digigov/ui/core/Link';
4
- import { SectionBreak } from '@digigov/ui/core/SectionBreak';
5
- import { VisuallyHidden } from '@digigov/ui/core/VisuallyHidden';
2
+ import { Footer } from '@digigov/ui/app/Footer';
6
3
  import { Copyright } from '@digigov/ui/govgr/Footer/Copyright';
7
4
  import { HellenicRepublicLogo } from '@digigov/ui/govgr/Footer/HellenicRepublicLogo';
5
+ import { FooterMeta, FooterMetaItem, FooterContent, FooterNavigation, FooterSection, FooterHeading, FooterList, FooterListItem, FooterLink, FooterInlineList, FooterInlineListItem, FooterContentLogos, FooterImage } from '@digigov/ui/app/Footer';
6
+ import { VisuallyHidden } from '@digigov/ui/core/VisuallyHidden';
7
+ import { Link } from '@digigov/ui/core/Link';
8
+ import { SectionBreak } from '@digigov/ui/core/SectionBreak';
8
9
  import logo1 from '@digigov/ui/govgr/images/greek-government-base64';
9
10
  import logo2 from '@digigov/ui/govgr/images/grnet-logo-base64';
10
11
 
@@ -1,9 +1,10 @@
1
1
  import React from 'react';
2
- import { Footer, FooterMeta, FooterMetaItem, FooterContent, FooterInlineList, FooterInlineListItem, FooterLink } from "@digigov/ui/app/Footer";
3
- import { Link } from '@digigov/ui/core/Link';
4
- import { VisuallyHidden } from '@digigov/ui/core/VisuallyHidden';
5
2
  import { Copyright } from '@digigov/ui/govgr/Footer/Copyright';
6
3
  import { HellenicRepublicLogo } from '@digigov/ui/govgr/Footer/HellenicRepublicLogo';
4
+ import { Footer } from '@digigov/ui/app/Footer';
5
+ import { FooterMeta, FooterMetaItem, FooterContent, FooterInlineList, FooterInlineListItem, FooterLink } from '@digigov/ui/app/Footer';
6
+ import { VisuallyHidden } from '@digigov/ui/core/VisuallyHidden';
7
+ import { Link } from '@digigov/ui/core/Link';
7
8
 
8
9
  var _ref = /*#__PURE__*/React.createElement(Footer, null, /*#__PURE__*/React.createElement(FooterMeta, null, /*#__PURE__*/React.createElement(FooterMetaItem, {
9
10
  grow: true
@@ -1,9 +1,10 @@
1
1
  import React from 'react';
2
- import { Footer, FooterMeta, FooterMetaItem, FooterContent, FooterContentLogos, FooterImage } from "@digigov/ui/app/Footer";
3
- import { Link } from '@digigov/ui/core/Link';
4
- import { VisuallyHidden } from '@digigov/ui/core/VisuallyHidden';
2
+ import { Footer } from '@digigov/ui/app/Footer';
5
3
  import { Copyright } from '@digigov/ui/govgr/Footer/Copyright';
6
4
  import { HellenicRepublicLogo } from '@digigov/ui/govgr/Footer/HellenicRepublicLogo';
5
+ import { FooterMeta, FooterMetaItem, FooterContent, FooterContentLogos, FooterImage } from '@digigov/ui/app/Footer';
6
+ import { VisuallyHidden } from '@digigov/ui/core/VisuallyHidden';
7
+ import { Link } from '@digigov/ui/core/Link';
7
8
  import logo1 from '@digigov/ui/govgr/images/greek-government-base64';
8
9
  import logo2 from '@digigov/ui/govgr/images/grnet-logo-base64';
9
10
 
@@ -1,10 +1,11 @@
1
1
  import React from 'react';
2
- import { Footer, FooterMeta, FooterMetaItem, FooterContent, FooterNavigation, FooterSection, FooterHeading, FooterList, FooterListItem, FooterLink } from "@digigov/ui/app/Footer";
3
- import { Link } from '@digigov/ui/core/Link';
4
- import { SectionBreak } from '@digigov/ui/core/SectionBreak';
5
- import { VisuallyHidden } from '@digigov/ui/core/VisuallyHidden';
2
+ import { Footer } from '@digigov/ui/app/Footer';
6
3
  import { Copyright } from '@digigov/ui/govgr/Footer/Copyright';
7
4
  import { HellenicRepublicLogo } from '@digigov/ui/govgr/Footer/HellenicRepublicLogo';
5
+ import { FooterMeta, FooterMetaItem, FooterContent, FooterNavigation, FooterSection, FooterHeading, FooterList, FooterListItem, FooterLink } from '@digigov/ui/app/Footer';
6
+ import { VisuallyHidden } from '@digigov/ui/core/VisuallyHidden';
7
+ import { Link } from '@digigov/ui/core/Link';
8
+ import { SectionBreak } from '@digigov/ui/core/SectionBreak';
8
9
 
9
10
  var _ref = /*#__PURE__*/React.createElement(Footer, null, /*#__PURE__*/React.createElement(FooterNavigation, null, /*#__PURE__*/React.createElement(FooterSection, null, /*#__PURE__*/React.createElement(FooterHeading, null, "\u03A4\u03AF\u03C4\u03BB\u03BF\u03C2 \u03B3\u03B9\u03B1 \u03C4\u03BF \u03BC\u03B5\u03BD\u03BF\u03CD"), /*#__PURE__*/React.createElement(FooterList, {
10
11
  columns: 2
@@ -1,8 +1,9 @@
1
1
  import React from 'react';
2
- import { Footer, FooterMeta, FooterMetaItem, FooterContent, FooterInlineList, FooterInlineListItem, FooterLink } from "@digigov/ui/app/Footer";
3
- import { VisuallyHidden } from '@digigov/ui/core/VisuallyHidden';
4
2
  import { Copyright, getCopyright } from '@digigov/ui/govgr/Footer/Copyright';
5
3
  import { HellenicRepublicLogo } from '@digigov/ui/govgr/Footer/HellenicRepublicLogo';
4
+ import { Footer } from '@digigov/ui/app/Footer';
5
+ import { FooterMeta, FooterMetaItem, FooterContent, FooterInlineList, FooterInlineListItem, FooterLink } from '@digigov/ui/app/Footer';
6
+ import { VisuallyHidden } from '@digigov/ui/core/VisuallyHidden';
6
7
 
7
8
  var _ref = /*#__PURE__*/React.createElement(VisuallyHidden, null, "\u03A0\u03B5\u03C1\u03B9\u03C3\u03C3\u03CC\u03C4\u03B5\u03C1\u03B5\u03C2 \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03C2");
8
9
 
@@ -28,6 +28,22 @@
28
28
  "title": "Keyboard navigation"
29
29
  }
30
30
  ]
31
+ },
32
+ "digigov-ui-app-header--with-header-navigation": {
33
+ "actionSets": [
34
+ {
35
+ "actions": [
36
+ {
37
+ "name": "hover",
38
+ "args": {
39
+ "selector": "html>body>div:nth-child(5)>div>header>div>div:nth-child(2)>details>summary"
40
+ }
41
+ }
42
+ ],
43
+ "id": "CweCKhM6Ql7t",
44
+ "title": "Hover on dropdown"
45
+ }
46
+ ]
31
47
  }
32
48
  }
33
49
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { Header } from '@digigov/ui/app/Header';
3
- import { HeaderContent } from '@digigov/ui/app/Header/HeaderContent';
4
3
  import { HeaderSection } from '@digigov/ui/app/Header/HeaderSection';
4
+ import { HeaderContent } from '@digigov/ui/app/Header/HeaderContent';
5
5
  import { GovGRLogo } from '@digigov/ui/govgr/GovGRLogo';
6
6
 
7
7
  var _ref = /*#__PURE__*/React.createElement(Header, null, /*#__PURE__*/React.createElement(HeaderSection, null, /*#__PURE__*/React.createElement(HeaderContent, null, /*#__PURE__*/React.createElement(GovGRLogo, {
@@ -1,16 +1,17 @@
1
1
  import React from 'react';
2
- import { ArrowIcon, BurgerIcon, MoreVertIcon } from "@digigov/ui";
3
- import { Dropdown, DropdownButton, DropdownContent } from '@digigov/ui/admin';
4
2
  import Header from '@digigov/ui/app/Header';
5
- import HeaderContent from '@digigov/ui/app/Header/HeaderContent';
6
- import HeaderNavMenuContent from '@digigov/ui/app/Header/HeaderNavMenuContent';
7
3
  import HeaderSection from '@digigov/ui/app/Header/HeaderSection';
4
+ import HeaderNavMenuContent from '@digigov/ui/app/Header/HeaderNavMenuContent';
8
5
  import HeaderTitle from '@digigov/ui/app/Header/HeaderTitle';
9
6
  import NavList from '@digigov/ui/core/NavList/NavList';
10
7
  import NavListItem from '@digigov/ui/core/NavList/NavListItem';
11
8
  import NavListItemLink from '@digigov/ui/core/NavList/NavListItemLink';
9
+ import HeaderContent from '@digigov/ui/app/Header/HeaderContent';
12
10
  import GovGRLogo from '@digigov/ui/govgr/GovGRLogo';
13
11
  import { Top } from '@digigov/ui/layouts/Basic';
12
+ import { ArrowIcon } from '@digigov/ui';
13
+ import { Dropdown, DropdownButton, DropdownContent } from '@digigov/ui/admin';
14
+ import { BurgerIcon, MoreVertIcon } from '@digigov/ui';
14
15
 
15
16
  var _ref = /*#__PURE__*/React.createElement(Top, null, /*#__PURE__*/React.createElement(Header, null, /*#__PURE__*/React.createElement(HeaderSection, null, /*#__PURE__*/React.createElement(HeaderContent, null, /*#__PURE__*/React.createElement(GovGRLogo, null), /*#__PURE__*/React.createElement(HeaderTitle, {
16
17
  href: "#"
@@ -1,15 +1,15 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import { SectionBreak } from '@digigov/ui';
4
3
  import { Header } from '@digigov/ui/app/Header';
5
- import { HeaderContent } from '@digigov/ui/app/Header/HeaderContent';
6
4
  import { HeaderSection } from '@digigov/ui/app/Header/HeaderSection';
5
+ import { HeaderContent } from '@digigov/ui/app/Header/HeaderContent';
7
6
  import { Nav } from '@digigov/ui/core/NavList/Nav';
8
7
  import { NavList } from '@digigov/ui/core/NavList/NavList';
9
8
  import { NavListItem } from '@digigov/ui/core/NavList/NavListItem';
10
9
  import { GovGRLogo } from '@digigov/ui/govgr/GovGRLogo';
11
- import { useNavList } from '@digigov/ui/hooks/useNavList';
12
10
  import { Top } from '@digigov/ui/layouts/Basic';
11
+ import { SectionBreak } from '@digigov/ui';
12
+ import { useNavList } from '@digigov/ui/hooks/useNavList';
13
13
 
14
14
  var _ref = /*#__PURE__*/React.createElement(Header, null, /*#__PURE__*/React.createElement(HeaderSection, null, /*#__PURE__*/React.createElement(HeaderContent, null, /*#__PURE__*/React.createElement(GovGRLogo, {
15
15
  href: "#"
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
2
  import { Header } from '@digigov/ui/app/Header';
3
- import { HeaderContent } from '@digigov/ui/app/Header/HeaderContent';
4
3
  import { HeaderSection } from '@digigov/ui/app/Header/HeaderSection';
5
- import { HeaderTitle } from '@digigov/ui/app/Header/HeaderTitle';
4
+ import { HeaderContent } from '@digigov/ui/app/Header/HeaderContent';
6
5
  import { GovGRLogo } from '@digigov/ui/govgr/GovGRLogo';
6
+ import { HeaderTitle } from '@digigov/ui/app/Header/HeaderTitle';
7
7
 
8
8
  var _ref = /*#__PURE__*/React.createElement(Header, null, /*#__PURE__*/React.createElement(HeaderSection, null, /*#__PURE__*/React.createElement(HeaderContent, null, /*#__PURE__*/React.createElement(GovGRLogo, {
9
9
  href: "#"
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import { Header } from '@digigov/ui/app/Header';
3
+ import { HeaderSection } from '@digigov/ui/app/Header/HeaderSection';
3
4
  import { HeaderContent } from '@digigov/ui/app/Header/HeaderContent';
5
+ import { GovGRLogo } from '@digigov/ui/govgr/GovGRLogo';
4
6
  import { HeaderSecondaryLogo } from '@digigov/ui/app/Header/HeaderSecondaryLogo';
5
- import { HeaderSection } from '@digigov/ui/app/Header/HeaderSection';
6
7
  import { HeaderTitle } from '@digigov/ui/app/Header/HeaderTitle';
7
- import { GovGRLogo } from '@digigov/ui/govgr/GovGRLogo';
8
8
  import logo3 from '@digigov/ui/govgr/images/minedu-logo-base64';
9
9
 
10
10
  var _ref = /*#__PURE__*/React.createElement(Header, null, /*#__PURE__*/React.createElement(HeaderSection, null, /*#__PURE__*/React.createElement(HeaderContent, null, /*#__PURE__*/React.createElement(GovGRLogo, {