@ndla/ui 30.1.0 → 30.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (333) hide show
  1. package/es/Article/ArticleHeaderWrapper.js +75 -112
  2. package/es/Footer/FooterLinks.js +13 -10
  3. package/es/Frontpage/FrontpageFilm.js +11 -8
  4. package/es/Frontpage/FrontpageMultidisciplinarySubject.js +13 -10
  5. package/es/Frontpage/FrontpageToolbox.js +11 -8
  6. package/es/LearningPaths/LearningPathLastStepNavigation.js +11 -8
  7. package/es/LearningPaths/LearningPathMenuAside.js +13 -10
  8. package/es/LearningPaths/LearningPathMobileHeader.js +8 -6
  9. package/es/LearningPaths/LearningPathMobileStepInfo.js +8 -5
  10. package/es/Masthead/MastheadSearchModal.js +10 -7
  11. package/es/Messages/MessageBox.js +11 -12
  12. package/es/MyNdla/Resource/Folder.js +118 -57
  13. package/es/NDLAFilm/CategorySelect.js +106 -146
  14. package/es/Resource/BlockResource.js +45 -30
  15. package/es/Resource/ListResource.js +46 -41
  16. package/es/Resource/resourceComponents.js +29 -34
  17. package/es/SearchTypeResult/ActiveFilterContent.js +9 -6
  18. package/es/SearchTypeResult/SearchHeader.js +14 -12
  19. package/es/SearchTypeResult/SearchNotionsResult.js +5 -6
  20. package/es/SearchTypeResult/SearchTypeHeader.js +17 -15
  21. package/es/Subject/SubjectCarousel.js +11 -8
  22. package/es/ToolboxPage/ToolboxInfo.js +9 -6
  23. package/es/User/UserInfo.js +23 -2
  24. package/es/User/parseUserObject.js +22 -12
  25. package/es/locale/messages-en.js +5 -1
  26. package/es/locale/messages-nb.js +5 -1
  27. package/es/locale/messages-nn.js +5 -1
  28. package/es/locale/messages-se.js +33 -29
  29. package/es/locale/messages-sma.js +5 -1
  30. package/es/utils/createUniversalPortal.js +1 -1
  31. package/lib/Animation/DisplayOnPageYOffset.d.ts +2 -2
  32. package/lib/Animation/Fade.d.ts +2 -2
  33. package/lib/Article/Article.d.ts +3 -3
  34. package/lib/Article/ArticleAccessMessage.d.ts +1 -1
  35. package/lib/Article/ArticleByline.d.ts +1 -1
  36. package/lib/Article/ArticleContent.d.ts +1 -1
  37. package/lib/Article/ArticleFootNotes.d.ts +1 -1
  38. package/lib/Article/ArticleHeaderWrapper.d.ts +4 -5
  39. package/lib/Article/ArticleHeaderWrapper.js +73 -108
  40. package/lib/Article/ArticleNotions.d.ts +1 -1
  41. package/lib/Article/ArticleSideBar.d.ts +1 -1
  42. package/lib/Aside/Aside.d.ts +1 -1
  43. package/lib/AudioPlayer/AudioPlayer.d.ts +1 -1
  44. package/lib/AudioPlayer/Controls.d.ts +1 -1
  45. package/lib/AudioPlayer/SpeechControl.d.ts +1 -1
  46. package/lib/AuthorInfo/AuthorInfo.d.ts +1 -1
  47. package/lib/BannerCard/BannerCard.d.ts +1 -1
  48. package/lib/BlogPosts/BlogPost.d.ts +1 -1
  49. package/lib/BlogPosts/BlogPostWrapper.d.ts +1 -1
  50. package/lib/Breadcrumb/ActionBreadcrumb.d.ts +1 -1
  51. package/lib/Breadcrumb/Breadcrumb.d.ts +1 -1
  52. package/lib/Breadcrumb/HeaderBreadcrumb.d.ts +1 -1
  53. package/lib/Breadcrumb/HomeBreadcrumb.d.ts +1 -1
  54. package/lib/Breadcrumblist/Breadcrumblist.d.ts +1 -1
  55. package/lib/CompetenceGoalTab/CompetenceGoalItem.d.ts +1 -1
  56. package/lib/CompetenceGoalTab/CompetenceGoalTab.d.ts +1 -1
  57. package/lib/CompetenceGoalTab/CompetenceItem.d.ts +1 -1
  58. package/lib/CompetenceGoalTab/SearchButton.d.ts +1 -1
  59. package/lib/CompetenceGoals/CompetenceGoalsDialog.d.ts +1 -1
  60. package/lib/ComponentCursor/ComponentCursor.d.ts +1 -1
  61. package/lib/ContentCard/ContentCard.d.ts +1 -1
  62. package/lib/ContentLoader/index.d.ts +1 -1
  63. package/lib/ContentPlaceholder/ContentPlaceholder.d.ts +1 -1
  64. package/lib/ContentTypeBadge/ContentTypeBadge.d.ts +9 -9
  65. package/lib/CopyParagraphButton/CopyParagraphButton.d.ts +1 -1
  66. package/lib/CreatedBy/CreatedBy.d.ts +1 -1
  67. package/lib/Dialog/Dialog.d.ts +1 -1
  68. package/lib/ErrorMessage/ErrorMessage.d.ts +1 -1
  69. package/lib/ErrorMessage/ErrorResourceAccessDenied.d.ts +1 -1
  70. package/lib/FactBox/FactBox.d.ts +1 -1
  71. package/lib/Figure/Figure.d.ts +2 -2
  72. package/lib/Figure/FigureBylineExpandButton.d.ts +1 -1
  73. package/lib/Figure/FigureExpandButton.d.ts +1 -1
  74. package/lib/Figure/FigureLicense.d.ts +2 -2
  75. package/lib/Figure/FigureLicenseDialog.d.ts +1 -1
  76. package/lib/Figure/FigureOpenDialogButton.d.ts +1 -1
  77. package/lib/FileList/File.d.ts +1 -1
  78. package/lib/FileList/FileList.d.ts +1 -1
  79. package/lib/Filter/FilterButtons.d.ts +1 -1
  80. package/lib/Filter/FilterCarousel.d.ts +1 -1
  81. package/lib/Filter/FilterList.d.ts +1 -1
  82. package/lib/Filter/FilterListPhone.d.ts +1 -1
  83. package/lib/Filter/ToggleItem.d.ts +1 -1
  84. package/lib/Footer/EditorName.d.ts +1 -1
  85. package/lib/Footer/Footer.d.ts +1 -1
  86. package/lib/Footer/FooterAuth.d.ts +1 -1
  87. package/lib/Footer/FooterLinks.d.ts +3 -4
  88. package/lib/Footer/FooterLinks.js +12 -10
  89. package/lib/Footer/FooterPrivacy.d.ts +1 -1
  90. package/lib/Footer/FooterText.d.ts +1 -1
  91. package/lib/Footer/privacy_en.d.ts +1 -1
  92. package/lib/Footer/privacy_nb.d.ts +1 -1
  93. package/lib/Footer/privacy_nn.d.ts +1 -1
  94. package/lib/Frontpage/FrontpageAllSubjects.d.ts +1 -1
  95. package/lib/Frontpage/FrontpageFilm.d.ts +2 -4
  96. package/lib/Frontpage/FrontpageFilm.js +10 -8
  97. package/lib/Frontpage/FrontpageHeader.d.ts +1 -1
  98. package/lib/Frontpage/FrontpageInfo.d.ts +1 -1
  99. package/lib/Frontpage/FrontpageMultidisciplinarySubject.d.ts +7 -8
  100. package/lib/Frontpage/FrontpageMultidisciplinarySubject.js +12 -10
  101. package/lib/Frontpage/FrontpageProgramMenu.d.ts +1 -1
  102. package/lib/Frontpage/FrontpageSearch.d.ts +1 -1
  103. package/lib/Frontpage/FrontpageToolbox.d.ts +2 -4
  104. package/lib/Frontpage/FrontpageToolbox.js +10 -8
  105. package/lib/Frontpage/illustrations/Fellesfag.d.ts +1 -1
  106. package/lib/Frontpage/illustrations/FrontpageHeaderIllustration.d.ts +1 -1
  107. package/lib/Frontpage/illustrations/FrontpageIllustrations.d.ts +2 -2
  108. package/lib/Frontpage/illustrations/FrontpageSubjectIllustration.d.ts +1 -1
  109. package/lib/Frontpage/illustrations/MenuFellesfag.d.ts +1 -1
  110. package/lib/Frontpage/illustrations/MenuStudiespesialiserende.d.ts +1 -1
  111. package/lib/Frontpage/illustrations/MenuYrkesfag.d.ts +1 -1
  112. package/lib/Frontpage/illustrations/Studiespesialiserende.d.ts +1 -1
  113. package/lib/Frontpage/illustrations/Yrkesfag.d.ts +1 -1
  114. package/lib/Frontpage/illustrations/index.d.ts +6 -6
  115. package/lib/Hero/Hero.d.ts +8 -8
  116. package/lib/Image/Image.d.ts +2 -2
  117. package/lib/Image/ImageLink.d.ts +1 -1
  118. package/lib/Image/LazyLoadImage.d.ts +1 -1
  119. package/lib/InfoBlock/InfoBlock.d.ts +1 -1
  120. package/lib/InfoBox/InfoBox.d.ts +1 -1
  121. package/lib/InfoWidget/InfoWidget.d.ts +1 -1
  122. package/lib/LanguageSelector/LanguageSelector.d.ts +1 -1
  123. package/lib/LanguageSelector/LanguageSelectorContent.d.ts +1 -1
  124. package/lib/Layout/Content.d.ts +2 -2
  125. package/lib/Layout/LayoutItem.d.ts +1 -1
  126. package/lib/Layout/OneColumn.d.ts +1 -1
  127. package/lib/Layout/PageContainer.d.ts +1 -1
  128. package/lib/LearningPaths/LearningPathContent.d.ts +1 -1
  129. package/lib/LearningPaths/LearningPathInformation.d.ts +1 -1
  130. package/lib/LearningPaths/LearningPathLastStepNavigation.d.ts +3 -4
  131. package/lib/LearningPaths/LearningPathLastStepNavigation.js +10 -8
  132. package/lib/LearningPaths/LearningPathMenu.d.ts +1 -1
  133. package/lib/LearningPaths/LearningPathMenuAside.d.ts +2 -4
  134. package/lib/LearningPaths/LearningPathMenuAside.js +12 -10
  135. package/lib/LearningPaths/LearningPathMenuAsideCopyright.d.ts +1 -1
  136. package/lib/LearningPaths/LearningPathMenuContent.d.ts +1 -1
  137. package/lib/LearningPaths/LearningPathMenuIntro.d.ts +1 -1
  138. package/lib/LearningPaths/LearningPathMenuModalWrapper.d.ts +1 -1
  139. package/lib/LearningPaths/LearningPathMobileHeader.d.ts +2 -4
  140. package/lib/LearningPaths/LearningPathMobileHeader.js +7 -6
  141. package/lib/LearningPaths/LearningPathMobileStepInfo.d.ts +2 -4
  142. package/lib/LearningPaths/LearningPathMobileStepInfo.js +7 -5
  143. package/lib/LearningPaths/LearningPathSticky.d.ts +3 -3
  144. package/lib/LearningPaths/LearningPathWrapper.d.ts +1 -1
  145. package/lib/Logo/Logo.d.ts +1 -1
  146. package/lib/Logo/SvgLogo.d.ts +1 -1
  147. package/lib/Masthead/Masthead.d.ts +2 -2
  148. package/lib/Masthead/MastheadAuthModal.d.ts +1 -1
  149. package/lib/Masthead/MastheadSearchModal.d.ts +3 -4
  150. package/lib/Masthead/MastheadSearchModal.js +9 -7
  151. package/lib/Masthead/SkipToMainContent.d.ts +1 -1
  152. package/lib/MediaList/MediaList.d.ts +8 -8
  153. package/lib/Messages/MessageBanner.d.ts +1 -1
  154. package/lib/Messages/MessageBox.d.ts +2 -5
  155. package/lib/Messages/MessageBox.js +10 -14
  156. package/lib/Messages/MessageBoxTag.d.ts +1 -1
  157. package/lib/MultidisciplinarySubject/Illustrations.d.ts +7 -7
  158. package/lib/MultidisciplinarySubject/List.d.ts +1 -1
  159. package/lib/MultidisciplinarySubject/ListItem.d.ts +1 -1
  160. package/lib/MultidisciplinarySubject/MultidisciplinarySubject.d.ts +1 -1
  161. package/lib/MultidisciplinarySubject/MultidisciplinarySubjectHeader.d.ts +1 -1
  162. package/lib/MyNdla/Resource/Folder.d.ts +2 -2
  163. package/lib/MyNdla/Resource/Folder.js +115 -57
  164. package/lib/MyNdla/Resource/FolderInput.d.ts +1 -1
  165. package/lib/NDLAFilm/AboutNdlaFilm.d.ts +1 -1
  166. package/lib/NDLAFilm/AllMoviesAlphabetically.d.ts +1 -1
  167. package/lib/NDLAFilm/CategorySelect.d.ts +10 -5
  168. package/lib/NDLAFilm/CategorySelect.js +99 -145
  169. package/lib/NDLAFilm/FilmContentCard.d.ts +1 -1
  170. package/lib/NDLAFilm/FilmContentCardTags.d.ts +1 -1
  171. package/lib/NDLAFilm/FilmMovieList.d.ts +1 -1
  172. package/lib/NDLAFilm/FilmMovieSearch.d.ts +1 -1
  173. package/lib/NDLAFilm/FilmSlideshow.d.ts +1 -1
  174. package/lib/NDLAFilm/MovieGrid.d.ts +1 -1
  175. package/lib/NDLAFilm/NavigationArrow.d.ts +2 -2
  176. package/lib/NDLAFilm/SlideshowIndicator.d.ts +1 -1
  177. package/lib/NDLAFilm/VisualElement.d.ts +1 -1
  178. package/lib/NDLAFilm/filmStyles.d.ts +2 -2
  179. package/lib/Navigation/NavigationBox.d.ts +1 -1
  180. package/lib/Navigation/NavigationHeading.d.ts +1 -1
  181. package/lib/Navigation/NavigationTopicAbout.d.ts +1 -1
  182. package/lib/NoContentBox/NoContentBox.d.ts +1 -1
  183. package/lib/Notion/ConceptNotion.d.ts +1 -1
  184. package/lib/Notion/FigureNotion.d.ts +1 -1
  185. package/lib/Notion/Notion.d.ts +1 -1
  186. package/lib/Notion/NotionImage.d.ts +1 -1
  187. package/lib/Notion/NotionVisualElement.d.ts +1 -1
  188. package/lib/Portrait/Portrait.d.ts +1 -1
  189. package/lib/Programme/Programme.d.ts +1 -1
  190. package/lib/Programme/ProgrammeSubjects.d.ts +1 -1
  191. package/lib/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
  192. package/lib/RelatedArticleList/RelatedArticleList.d.ts +2 -2
  193. package/lib/Resource/BlockResource.d.ts +2 -2
  194. package/lib/Resource/BlockResource.js +44 -30
  195. package/lib/Resource/ListResource.d.ts +1 -1
  196. package/lib/Resource/ListResource.js +40 -36
  197. package/lib/Resource/resourceComponents.d.ts +7 -7
  198. package/lib/Resource/resourceComponents.js +28 -31
  199. package/lib/ResourceBox/ResourceBox.d.ts +1 -1
  200. package/lib/ResourceGroup/ResourceGroup.d.ts +1 -1
  201. package/lib/ResourceGroup/ResourceItem.d.ts +1 -1
  202. package/lib/ResourceGroup/ResourceList.d.ts +1 -1
  203. package/lib/ResourcesWrapper/ResourcesTitle.d.ts +1 -1
  204. package/lib/ResourcesWrapper/ResourcesTopicTitle.d.ts +1 -1
  205. package/lib/ResourcesWrapper/ResourcesWrapper.d.ts +1 -1
  206. package/lib/Search/ActiveFilterContent.d.ts +2 -2
  207. package/lib/Search/ActiveFilters.d.ts +1 -1
  208. package/lib/Search/ContentTypeResult.d.ts +1 -1
  209. package/lib/Search/ContentTypeResultStyles.d.ts +6 -6
  210. package/lib/Search/LoadingWrapper.d.ts +1 -1
  211. package/lib/Search/SearchField.d.ts +1 -1
  212. package/lib/Search/SearchFieldForm.d.ts +1 -1
  213. package/lib/Search/SearchResult.d.ts +2 -2
  214. package/lib/Search/SearchResultSleeve.d.ts +1 -1
  215. package/lib/Search/ToggleSearchButton.d.ts +1 -1
  216. package/lib/SearchTypeResult/ActiveFilterContent.d.ts +3 -4
  217. package/lib/SearchTypeResult/ActiveFilterContent.js +8 -6
  218. package/lib/SearchTypeResult/ActiveFilters.d.ts +1 -1
  219. package/lib/SearchTypeResult/PopupFilter.d.ts +1 -1
  220. package/lib/SearchTypeResult/ResultNavigation.d.ts +1 -1
  221. package/lib/SearchTypeResult/SearchFieldHeader.d.ts +1 -1
  222. package/lib/SearchTypeResult/SearchFilterContent.d.ts +1 -1
  223. package/lib/SearchTypeResult/SearchHeader.d.ts +3 -4
  224. package/lib/SearchTypeResult/SearchHeader.js +13 -12
  225. package/lib/SearchTypeResult/SearchItem.d.ts +1 -1
  226. package/lib/SearchTypeResult/SearchItemList.d.ts +1 -1
  227. package/lib/SearchTypeResult/SearchItems.d.ts +1 -1
  228. package/lib/SearchTypeResult/SearchNotionItem.d.ts +1 -1
  229. package/lib/SearchTypeResult/SearchNotionsResult.d.ts +3 -4
  230. package/lib/SearchTypeResult/SearchNotionsResult.js +5 -6
  231. package/lib/SearchTypeResult/SearchSubjectItem.d.ts +1 -1
  232. package/lib/SearchTypeResult/SearchSubjectResult.d.ts +1 -1
  233. package/lib/SearchTypeResult/SearchTypeHeader.d.ts +1 -2
  234. package/lib/SearchTypeResult/SearchTypeHeader.js +15 -12
  235. package/lib/SearchTypeResult/SearchTypeResult.d.ts +1 -1
  236. package/lib/SearchTypeResult/SearchViewType.d.ts +1 -1
  237. package/lib/SearchTypeResult/components/ItemContexts.d.ts +1 -1
  238. package/lib/SearchTypeResult/components/ItemResourceHeader.d.ts +1 -1
  239. package/lib/SearchTypeResult/components/ItemTopicHeader.d.ts +1 -1
  240. package/lib/SearchTypeResult/components/SubjectFilters.d.ts +1 -1
  241. package/lib/SectionHeading/SectionHeading.d.ts +1 -1
  242. package/lib/SnackBar/DefaultSnackbar.d.ts +1 -1
  243. package/lib/SnackBar/SnackbarProvider.d.ts +2 -2
  244. package/lib/Subject/Subject.d.ts +8 -8
  245. package/lib/Subject/SubjectAbout.d.ts +1 -1
  246. package/lib/Subject/SubjectArchive.d.ts +1 -1
  247. package/lib/Subject/SubjectBanner.d.ts +1 -1
  248. package/lib/Subject/SubjectCarousel.d.ts +2 -4
  249. package/lib/Subject/SubjectCarousel.js +10 -8
  250. package/lib/Subject/SubjectHeader.d.ts +1 -1
  251. package/lib/Subject/SubjectLinks.d.ts +1 -1
  252. package/lib/Subject/SubjectNewContent.d.ts +1 -1
  253. package/lib/Subject/SubjectShortcuts.d.ts +1 -1
  254. package/lib/Subject/SubjectSocial.d.ts +2 -2
  255. package/lib/Table/Table.d.ts +1 -1
  256. package/lib/TagSelector/Control.d.ts +1 -1
  257. package/lib/TagSelector/DropdownIndicator.d.ts +1 -1
  258. package/lib/TagSelector/Input.d.ts +1 -1
  259. package/lib/TagSelector/Menu.d.ts +1 -1
  260. package/lib/TagSelector/MenuList.d.ts +2 -2
  261. package/lib/TagSelector/Option.d.ts +1 -1
  262. package/lib/TagSelector/SelectContainer.d.ts +1 -1
  263. package/lib/TagSelector/TagSelector.d.ts +1 -1
  264. package/lib/TagSelector/ValueButton.d.ts +2 -2
  265. package/lib/ToolboxPage/ToolboxInfo.d.ts +3 -4
  266. package/lib/ToolboxPage/ToolboxInfo.js +8 -6
  267. package/lib/Topic/Loader.d.ts +1 -1
  268. package/lib/Topic/Topic.d.ts +1 -1
  269. package/lib/TopicIntroductionList/TopicIntroduction.d.ts +1 -1
  270. package/lib/TopicIntroductionList/TopicIntroductionList.d.ts +1 -1
  271. package/lib/TopicIntroductionList/TopicIntroductionShortcuts.d.ts +1 -1
  272. package/lib/TopicIntroductionList/TopicShortcutItem.d.ts +1 -1
  273. package/lib/Translation/Translation.d.ts +1 -1
  274. package/lib/Translation/TranslationBox.d.ts +1 -1
  275. package/lib/Translation/TranslationLine.d.ts +1 -1
  276. package/lib/TreeStructure/AddFolderButton.d.ts +1 -1
  277. package/lib/TreeStructure/FolderItem.d.ts +1 -1
  278. package/lib/TreeStructure/FolderItems.d.ts +1 -1
  279. package/lib/TreeStructure/NavigationLink.d.ts +1 -1
  280. package/lib/TreeStructure/TreeStructure.d.ts +1 -1
  281. package/lib/TreeStructure/helperFunctions.d.ts +1 -1
  282. package/lib/User/AuthModal.d.ts +1 -1
  283. package/lib/User/UserInfo.d.ts +1 -1
  284. package/lib/User/UserInfo.js +23 -2
  285. package/lib/User/apiTypes.d.ts +10 -2
  286. package/lib/User/parseUserObject.d.ts +2 -1
  287. package/lib/User/parseUserObject.js +22 -12
  288. package/lib/locale/LocaleProvider.d.ts +1 -1
  289. package/lib/locale/messages-en.d.ts +4 -0
  290. package/lib/locale/messages-en.js +5 -1
  291. package/lib/locale/messages-nb.d.ts +4 -0
  292. package/lib/locale/messages-nb.js +5 -1
  293. package/lib/locale/messages-nn.d.ts +4 -0
  294. package/lib/locale/messages-nn.js +5 -1
  295. package/lib/locale/messages-se.d.ts +4 -0
  296. package/lib/locale/messages-se.js +33 -29
  297. package/lib/locale/messages-sma.d.ts +4 -0
  298. package/lib/locale/messages-sma.js +5 -1
  299. package/lib/utils/createUniversalPortal.d.ts +1 -1
  300. package/lib/utils/createUniversalPortal.js +1 -1
  301. package/package.json +10 -10
  302. package/src/Article/ArticleHeaderWrapper.tsx +53 -66
  303. package/src/Footer/FooterLinks.tsx +43 -40
  304. package/src/Frontpage/FrontpageFilm.tsx +20 -17
  305. package/src/Frontpage/FrontpageMultidisciplinarySubject.tsx +33 -30
  306. package/src/Frontpage/FrontpageToolbox.tsx +21 -18
  307. package/src/LearningPaths/LearningPathLastStepNavigation.tsx +32 -29
  308. package/src/LearningPaths/LearningPathMenuAside.tsx +25 -29
  309. package/src/LearningPaths/LearningPathMobileHeader.tsx +11 -8
  310. package/src/LearningPaths/LearningPathMobileStepInfo.tsx +13 -10
  311. package/src/Masthead/MastheadSearchModal.tsx +36 -35
  312. package/src/Messages/MessageBox.tsx +2 -3
  313. package/src/MyNdla/Resource/Folder.tsx +118 -84
  314. package/src/NDLAFilm/CategorySelect.tsx +77 -97
  315. package/src/Resource/BlockResource.tsx +34 -28
  316. package/src/Resource/ListResource.tsx +76 -74
  317. package/src/Resource/resourceComponents.tsx +15 -20
  318. package/src/SearchTypeResult/ActiveFilterContent.tsx +18 -15
  319. package/src/SearchTypeResult/SearchHeader.tsx +4 -4
  320. package/src/SearchTypeResult/SearchNotionsResult.tsx +2 -3
  321. package/src/SearchTypeResult/SearchTypeHeader.tsx +48 -45
  322. package/src/Subject/SubjectCarousel.tsx +93 -96
  323. package/src/ToolboxPage/ToolboxInfo.tsx +19 -16
  324. package/src/User/UserInfo.tsx +22 -0
  325. package/src/User/__tests__/parseUserObject-test.ts +1 -0
  326. package/src/User/apiTypes.ts +11 -2
  327. package/src/User/parseUserObject.ts +17 -11
  328. package/src/locale/messages-en.ts +4 -0
  329. package/src/locale/messages-nb.ts +4 -0
  330. package/src/locale/messages-nn.ts +4 -0
  331. package/src/locale/messages-se.ts +32 -28
  332. package/src/locale/messages-sma.ts +4 -0
  333. package/src/utils/createUniversalPortal.tsx +1 -6
@@ -18,5 +18,5 @@ declare type Props = {
18
18
  animateList?: number;
19
19
  unGrouped?: boolean;
20
20
  };
21
- declare const ContentTypeResult: ({ contentTypeResult, onNavigate, defaultCount, resourceToLinkProps, showAdditionalResources, messages, ignoreContentTypeBadge, keyboardPathNavigation, inMenu, animateList, unGrouped, }: Props) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
21
+ declare const ContentTypeResult: ({ contentTypeResult, onNavigate, defaultCount, resourceToLinkProps, showAdditionalResources, messages, ignoreContentTypeBadge, keyboardPathNavigation, inMenu, animateList, unGrouped, }: Props) => import("@emotion/react/jsx-runtime").JSX.Element;
22
22
  export default ContentTypeResult;
@@ -8,31 +8,31 @@ declare type inMenuProps = {
8
8
  };
9
9
  export declare const StyledNoHit: import("@emotion/styled").StyledComponent<{
10
10
  theme?: import("@emotion/react").Theme | undefined;
11
- as?: "symbol" | "object" | "big" | "link" | "small" | "sub" | "sup" | "track" | "progress" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "label" | "legend" | "li" | "main" | "map" | "mark" | "menu" | "meta" | "meter" | "nav" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "slot" | "source" | "span" | "strong" | "style" | "summary" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "u" | "ul" | "var" | "video" | "wbr" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "svg" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | "menuitem" | "keygen" | "noindex" | "webview" | "animate" | "animateMotion" | "animateTransform" | "feDropShadow" | "mpath" | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
11
+ as?: import("react").ElementType<any> | undefined;
12
12
  } & inMenuProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
13
13
  export declare const showAllButtonStyle: import("@emotion/utils").SerializedStyles;
14
14
  export declare const tooltipStyle: import("@emotion/utils").SerializedStyles;
15
15
  export declare const StyledWrapper: import("@emotion/styled").StyledComponent<{
16
16
  theme?: import("@emotion/react").Theme | undefined;
17
- as?: "symbol" | "object" | "big" | "link" | "small" | "sub" | "sup" | "track" | "progress" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "label" | "legend" | "li" | "main" | "map" | "mark" | "menu" | "meta" | "meter" | "nav" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "slot" | "source" | "span" | "strong" | "style" | "summary" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "u" | "ul" | "var" | "video" | "wbr" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "svg" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | "menuitem" | "keygen" | "noindex" | "webview" | "animate" | "animateMotion" | "animateTransform" | "feDropShadow" | "mpath" | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
17
+ as?: import("react").ElementType<any> | undefined;
18
18
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
19
19
  export declare const StyledHeader: import("@emotion/styled").StyledComponent<{
20
20
  theme?: import("@emotion/react").Theme | undefined;
21
- as?: "symbol" | "object" | "big" | "link" | "small" | "sub" | "sup" | "track" | "progress" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "label" | "legend" | "li" | "main" | "map" | "mark" | "menu" | "meta" | "meter" | "nav" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "slot" | "source" | "span" | "strong" | "style" | "summary" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "u" | "ul" | "var" | "video" | "wbr" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "svg" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | "menuitem" | "keygen" | "noindex" | "webview" | "animate" | "animateMotion" | "animateTransform" | "feDropShadow" | "mpath" | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
21
+ as?: import("react").ElementType<any> | undefined;
22
22
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
23
23
  declare type StyledListItemProps = {
24
24
  delayAnimation?: boolean;
25
25
  };
26
26
  export declare const StyledListItem: import("@emotion/styled").StyledComponent<{
27
27
  theme?: import("@emotion/react").Theme | undefined;
28
- as?: "symbol" | "object" | "big" | "link" | "small" | "sub" | "sup" | "track" | "progress" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "label" | "legend" | "li" | "main" | "map" | "mark" | "menu" | "meta" | "meter" | "nav" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "slot" | "source" | "span" | "strong" | "style" | "summary" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "u" | "ul" | "var" | "video" | "wbr" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "svg" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | "menuitem" | "keygen" | "noindex" | "webview" | "animate" | "animateMotion" | "animateTransform" | "feDropShadow" | "mpath" | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
28
+ as?: import("react").ElementType<any> | undefined;
29
29
  } & StyledListItemProps, import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {}>;
30
30
  export declare const StyledList: import("@emotion/styled").StyledComponent<{
31
31
  theme?: import("@emotion/react").Theme | undefined;
32
- as?: "symbol" | "object" | "big" | "link" | "small" | "sub" | "sup" | "track" | "progress" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "label" | "legend" | "li" | "main" | "map" | "mark" | "menu" | "meta" | "meter" | "nav" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "slot" | "source" | "span" | "strong" | "style" | "summary" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "u" | "ul" | "var" | "video" | "wbr" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "svg" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | "menuitem" | "keygen" | "noindex" | "webview" | "animate" | "animateMotion" | "animateTransform" | "feDropShadow" | "mpath" | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
32
+ as?: import("react").ElementType<any> | undefined;
33
33
  } & inMenuProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {}>;
34
34
  export declare const StyledTag: import("@emotion/styled").StyledComponent<{
35
35
  theme?: import("@emotion/react").Theme | undefined;
36
- as?: "symbol" | "object" | "big" | "link" | "small" | "sub" | "sup" | "track" | "progress" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "label" | "legend" | "li" | "main" | "map" | "mark" | "menu" | "meta" | "meter" | "nav" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "slot" | "source" | "span" | "strong" | "style" | "summary" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "u" | "ul" | "var" | "video" | "wbr" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "svg" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | "menuitem" | "keygen" | "noindex" | "webview" | "animate" | "animateMotion" | "animateTransform" | "feDropShadow" | "mpath" | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
36
+ as?: import("react").ElementType<any> | undefined;
37
37
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
38
38
  export {};
@@ -1,5 +1,5 @@
1
1
  declare type Props = {
2
2
  value: string;
3
3
  };
4
- declare const LoadingWrapper: ({ value }: Props) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
4
+ declare const LoadingWrapper: ({ value }: Props) => import("@emotion/react/jsx-runtime").JSX.Element;
5
5
  export default LoadingWrapper;
@@ -15,5 +15,5 @@ interface Props {
15
15
  inputRef?: RefObject<HTMLInputElement>;
16
16
  frontPageSearch?: boolean;
17
17
  }
18
- declare const SearchField: ({ placeholder, value, onChange, filters, onClick, onFocus, onBlur, loading, onFilterRemove, inputRef, frontPageSearch, }: Props) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
18
+ declare const SearchField: ({ placeholder, value, onChange, filters, onClick, onFocus, onBlur, loading, onFilterRemove, inputRef, frontPageSearch, }: Props) => import("@emotion/react/jsx-runtime").JSX.Element;
19
19
  export default SearchField;
@@ -4,5 +4,5 @@ interface Props {
4
4
  inputHasFocus?: boolean;
5
5
  onSubmit?: (event: FormEvent) => void;
6
6
  }
7
- export declare const SearchFieldForm: ({ children, inputHasFocus, onSubmit }: Props) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
7
+ export declare const SearchFieldForm: ({ children, inputHasFocus, onSubmit }: Props) => import("@emotion/react/jsx-runtime").JSX.Element;
8
8
  export {};
@@ -27,10 +27,10 @@ interface SearchResultItemProps {
27
27
  additionalContentTooltip: string;
28
28
  item: ItemType;
29
29
  }
30
- export declare const SearchResultItem: ({ item, subjectsLabel, additionalContentTooltip, children, }: SearchResultItemProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
30
+ export declare const SearchResultItem: ({ item, subjectsLabel, additionalContentTooltip, children, }: SearchResultItemProps) => import("@emotion/react/jsx-runtime").JSX.Element;
31
31
  interface SearchResultListProps {
32
32
  loading?: boolean;
33
33
  results?: ItemType[];
34
34
  }
35
- export declare const SearchResultList: ({ results, loading }: SearchResultListProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
35
+ export declare const SearchResultList: ({ results, loading }: SearchResultListProps) => import("@emotion/react/jsx-runtime").JSX.Element;
36
36
  export {};
@@ -14,5 +14,5 @@ declare type Props = {
14
14
  suggestion?: string;
15
15
  suggestionUrl?: string;
16
16
  };
17
- declare const SearchResultSleeve: ({ result, allResultUrl, resourceToLinkProps, onNavigate, infoText, ignoreContentTypeBadge, searchString, loading, frontpage, suggestion, suggestionUrl, }: Props) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
17
+ declare const SearchResultSleeve: ({ result, allResultUrl, resourceToLinkProps, onNavigate, infoText, ignoreContentTypeBadge, searchString, loading, frontpage, suggestion, suggestionUrl, }: Props) => import("@emotion/react/jsx-runtime").JSX.Element;
18
18
  export default SearchResultSleeve;
@@ -11,5 +11,5 @@ interface Props extends ButtonProps {
11
11
  hideOnWideScreen?: boolean;
12
12
  ndlaFilm?: boolean;
13
13
  }
14
- declare const ToggleSearchButton: ({ children, ndlaFilm, hideOnNarrowScreen, hideOnWideScreen, ...rest }: Props) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
14
+ declare const ToggleSearchButton: ({ children, ndlaFilm, hideOnNarrowScreen, hideOnWideScreen, ...rest }: Props) => import("@emotion/react/jsx-runtime").JSX.Element;
15
15
  export default ToggleSearchButton;
@@ -6,10 +6,9 @@
6
6
  *
7
7
  */
8
8
  import React from 'react';
9
- import { WithTranslation } from 'react-i18next';
10
9
  export declare const StyledActiveFilterTitle: import("@emotion/styled").StyledComponent<{
11
10
  theme?: import("@emotion/react").Theme | undefined;
12
- as?: "symbol" | "object" | "big" | "link" | "small" | "sub" | "sup" | "track" | "progress" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "label" | "legend" | "li" | "main" | "map" | "mark" | "menu" | "meta" | "meter" | "nav" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "slot" | "source" | "span" | "strong" | "style" | "summary" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "u" | "ul" | "var" | "video" | "wbr" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "svg" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | "menuitem" | "keygen" | "noindex" | "webview" | "animate" | "animateMotion" | "animateTransform" | "feDropShadow" | "mpath" | React.ComponentClass<any, any> | React.FunctionComponent<any> | undefined;
11
+ as?: React.ElementType<any> | undefined;
13
12
  }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
14
13
  export declare type FilterProps = {
15
14
  value: string;
@@ -20,5 +19,5 @@ declare type Props = {
20
19
  filter: FilterProps;
21
20
  onFilterRemove: (value: string, name: string) => void;
22
21
  };
23
- declare const _default: React.ComponentType<Pick<Pick<Props & WithTranslation<"translation", undefined>, "filter" | "t" | "tReady" | "onFilterRemove">, "filter" | "onFilterRemove"> & import("react-i18next").WithTranslationProps>;
24
- export default _default;
22
+ declare const ActiveFilterContent: ({ filter, onFilterRemove }: Props) => import("@emotion/react/jsx-runtime").JSX.Element;
23
+ export default ActiveFilterContent;
@@ -26,7 +26,7 @@ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringif
26
26
  var StyledActiveFilterTitle = /*#__PURE__*/(0, _base["default"])("span", {
27
27
  target: "e90waln1",
28
28
  label: "StyledActiveFilterTitle"
29
- })("white-space:nowrap;padding-right:", _core.spacing.small, ";font-weight:", _core.fonts.weight.semibold, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkFjdGl2ZUZpbHRlckNvbnRlbnQudHN4Il0s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0IHR5cGUgRmlsdGVyUHJvcHMgPSB7XG4gIHZhbHVlOiBzdHJpbmc7XG4gIHRpdGxlOiBzdHJpbmc7XG4gIG5hbWU6IHN0cmluZztcbn07XG5cbnR5cGUgUHJvcHMgPSB7XG4gIGZpbHRlcjogRmlsdGVyUHJvcHM7XG4gIG9uRmlsdGVyUmVtb3ZlOiAodmFsdWU6IHN0cmluZywgbmFtZTogc3RyaW5nKSA9PiB2b2lkO1xufTtcblxuY29uc3QgQWN0aXZlRmlsdGVyQ29udGVudCA9ICh7IGZpbHRlciwgb25GaWx0ZXJSZW1vdmUsIHQgfTogUHJvcHMgJiBXaXRoVHJhbnNsYXRpb24pID0+IChcbiAgPFN0eWxlZEJ1dHRvblxuICAgIGFyaWEtbGFiZWw9e3QoJ3NlYXJjaFBhZ2Uuc2VhcmNoRmlsdGVyTWVzc2FnZXMucmVtb3ZlRmlsdGVyJywge1xuICAgICAgZmlsdGVyTmFtZTogZmlsdGVyLnRpdGxlLFxuICAgIH0pfVxuICAgIHR5cGU9XCJidXR0b25cIlxuICAgIHNpemU9XCJub3JtYWxcIlxuICAgIGJvcmRlclNoYXBlPVwicm91bmRlZFwiXG4gICAgb25DbGljaz17KCkgPT4gb25GaWx0ZXJSZW1vdmUoZmlsdGVyLnZhbHVlLCBmaWx0ZXIubmFtZSl9PlxuICAgIDxTdHlsZWRBY3RpdmVGaWx0ZXJUaXRsZT57ZmlsdGVyLnRpdGxlfTwvU3R5bGVkQWN0aXZlRmlsdGVyVGl0bGU+XG4gICAgPENyb3NzIC8+XG4gIDwvU3R5bGVkQnV0dG9uPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgd2l0aFRyYW5zbGF0aW9uKCkoQWN0aXZlRmlsdGVyQ29udGVudCk7XG4iXX0= */"));
29
+ })("white-space:nowrap;padding-right:", _core.spacing.small, ";font-weight:", _core.fonts.weight.semibold, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ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Title;
31
31
  var StyledButton = /*#__PURE__*/(0, _base["default"])(_button["default"], {
32
32
  target: "e90waln0",
@@ -37,14 +37,17 @@ var StyledButton = /*#__PURE__*/(0, _base["default"])(_button["default"], {
37
37
  } : {
38
38
  name: "1uffw4e",
39
39
  styles: "display:grid;grid-template-columns:1fr auto",
40
- map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkFjdGl2ZUZpbHRlckNvbnRlbnQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXFCbUMiLCJmaWxlIjoiQWN0aXZlRmlsdGVyQ29udGVudC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIENvcHlyaWdodCAoYykgMjAyMC1wcmVzZW50LCBORExBLlxuICpcbiAqIFRoaXMgc291cmNlIGNvZGUgaXMgbGljZW5zZWQgdW5kZXIgdGhlIEdQTHYzIGxpY2Vuc2UgZm91bmQgaW4gdGhlXG4gKiBMSUNFTlNFIGZpbGUgaW4gdGhlIHJvb3QgZGlyZWN0b3J5IG9mIHRoaXMgc291cmNlIHRyZWUuXG4gKlxuICovXG5cbmltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCc7XG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgeyBDcm9zcyB9IGZyb20gJ0BuZGxhL2ljb25zL2FjdGlvbic7XG5pbXBvcnQgeyBzcGFjaW5nLCBmb250cyB9IGZyb20gJ0BuZGxhL2NvcmUnO1xuaW1wb3J0IEJ1dHRvbiBmcm9tICdAbmRsYS9idXR0b24nO1xuaW1wb3J0IHsgV2l0aFRyYW5zbGF0aW9uLCB3aXRoVHJhbnNsYXRpb24gfSBmcm9tICdyZWFjdC1pMThuZXh0JztcblxuZXhwb3J0IGNvbnN0IFN0eWxlZEFjdGl2ZUZpbHRlclRpdGxlID0gc3R5bGVkLnNwYW5gXG4gIHdoaXRlL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vU3R5bGVkQWN0aXZlRmlsdGVyVGl0bGU+XG4gICAgICA8Q3Jvc3MgLz5cbiAgICA8L1N0eWxlZEJ1dHRvbj5cbiAgKTtcbn07XG5cbmV4cG9ydCBkZWZhdWx0IEFjdGl2ZUZpbHRlckNvbnRlbnQ7XG4iXX0= */",
41
41
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
42
42
  });
43
43
 
44
44
  var ActiveFilterContent = function ActiveFilterContent(_ref) {
45
45
  var filter = _ref.filter,
46
- onFilterRemove = _ref.onFilterRemove,
47
- t = _ref.t;
46
+ onFilterRemove = _ref.onFilterRemove;
47
+
48
+ var _useTranslation = (0, _reactI18next.useTranslation)(),
49
+ t = _useTranslation.t;
50
+
48
51
  return (0, _jsxRuntime.jsxs)(StyledButton, {
49
52
  "aria-label": t('searchPage.searchFilterMessages.removeFilter', {
50
53
  filterName: filter.title
@@ -61,6 +64,5 @@ var ActiveFilterContent = function ActiveFilterContent(_ref) {
61
64
  });
62
65
  };
63
66
 
64
- var _default = (0, _reactI18next.withTranslation)()(ActiveFilterContent);
65
-
67
+ var _default = ActiveFilterContent;
66
68
  exports["default"] = _default;
@@ -14,5 +14,5 @@ declare type Props = {
14
14
  customElements?: ReactElement[];
15
15
  onClickShowHiddenSubjects: () => void;
16
16
  };
17
- declare const ActiveFilters: ({ filters, onFilterRemove, showOnSmallScreen, customElements, onClickShowHiddenSubjects, }: Props) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element | null;
17
+ declare const ActiveFilters: ({ filters, onFilterRemove, showOnSmallScreen, customElements, onClickShowHiddenSubjects, }: Props) => import("@emotion/react/jsx-runtime").JSX.Element | null;
18
18
  export default ActiveFilters;
@@ -24,5 +24,5 @@ export declare type PopupFilterProps = {
24
24
  onToggleProgramme: (value: string) => void;
25
25
  isOpen: boolean;
26
26
  };
27
- declare const PopupFilter: ({ programmes, subjectCategories, subjectValues, programmesValues, onToggleSubject, onToggleProgramme, onClose, isOpen, }: PopupFilterProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
27
+ declare const PopupFilter: ({ programmes, subjectCategories, subjectValues, programmesValues, onToggleSubject, onToggleProgramme, onClose, isOpen, }: PopupFilterProps) => import("@emotion/react/jsx-runtime").JSX.Element;
28
28
  export default PopupFilter;
@@ -11,5 +11,5 @@ export declare type PaginationType = {
11
11
  toCount: number;
12
12
  contentType?: string;
13
13
  };
14
- declare const ResultNavigation: ({ onShowMore, totalCount, toCount, contentType }: PaginationType) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
14
+ declare const ResultNavigation: ({ onShowMore, totalCount, toCount, contentType }: PaginationType) => import("@emotion/react/jsx-runtime").JSX.Element;
15
15
  export default ResultNavigation;
@@ -13,5 +13,5 @@ declare type Props = {
13
13
  onChange: (value: string) => void;
14
14
  isNarrowScreen?: boolean;
15
15
  };
16
- declare const SearchFieldHeader: ({ value, onSubmit, onChange, filters, activeFilters, isNarrowScreen, }: Props & SubjectFilterProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
16
+ declare const SearchFieldHeader: ({ value, onSubmit, onChange, filters, activeFilters, isNarrowScreen, }: Props & SubjectFilterProps) => import("@emotion/react/jsx-runtime").JSX.Element;
17
17
  export default SearchFieldHeader;
@@ -12,5 +12,5 @@ declare type Props = {
12
12
  onFilterToggle: FilterButtonsProps['onFilterToggle'];
13
13
  onRemoveAllFilters: FilterButtonsProps['onRemoveAllFilters'];
14
14
  };
15
- declare const SearchFilterContent: ({ viewType, onChangeViewType, items, onFilterToggle, onRemoveAllFilters, }: SearchViewTypeProps & Props) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
15
+ declare const SearchFilterContent: ({ viewType, onChangeViewType, items, onFilterToggle, onRemoveAllFilters, }: SearchViewTypeProps & Props) => import("@emotion/react/jsx-runtime").JSX.Element;
16
16
  export default SearchFilterContent;
@@ -5,8 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
- import React, { FormEvent } from 'react';
9
- import { WithTranslation } from 'react-i18next';
8
+ import { FormEvent } from 'react';
10
9
  import { CompetenceGoalsItemType } from '../types';
11
10
  import { SubjectFilterProps } from './components/SubjectFilters';
12
11
  declare type Props = {
@@ -21,5 +20,5 @@ declare type Props = {
21
20
  onSubmit: (event: FormEvent<HTMLFormElement>) => void;
22
21
  noResults?: boolean;
23
22
  };
24
- declare const _default: React.ComponentType<Pick<Pick<Props & WithTranslation<"translation", undefined>, "onSubmit" | "t" | "tReady" | "competenceGoals" | "filters" | "activeFilters" | "searchPhrase" | "searchPhraseSuggestion" | "searchPhraseSuggestionOnClick" | "searchValue" | "onSearchValueChange" | "noResults">, "onSubmit" | "competenceGoals" | "filters" | "activeFilters" | "searchPhrase" | "searchPhraseSuggestion" | "searchPhraseSuggestionOnClick" | "searchValue" | "onSearchValueChange" | "noResults"> & import("react-i18next").WithTranslationProps>;
25
- export default _default;
23
+ declare const SearchHeader: ({ searchPhrase, searchPhraseSuggestion, searchPhraseSuggestionOnClick, searchValue, onSearchValueChange, onSubmit, activeFilters, filters, competenceGoals, noResults, }: Props) => import("@emotion/react/jsx-runtime").JSX.Element;
24
+ export default SearchHeader;