@ndla/ui 50.2.2 → 50.4.0

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 (631) hide show
  1. package/es/Article/Article.js +6 -6
  2. package/es/Article/ArticleByline.js +8 -8
  3. package/es/Article/ArticleFootNotes.js +3 -3
  4. package/es/Article/ArticleNotions.js +5 -5
  5. package/es/Aside/index.js +8 -0
  6. package/es/AudioPlayer/AudioPlayer.js +16 -16
  7. package/es/AudioPlayer/Controls.js +26 -26
  8. package/es/AudioPlayer/SpeechControl.js +1 -1
  9. package/es/AudioPlayer/index.js +8 -0
  10. package/es/BannerCard/BannerCard.js +7 -7
  11. package/es/BlogPost/BlogPost.js +6 -6
  12. package/es/Breadcrumb/Breadcrumb.js +3 -3
  13. package/es/Breadcrumb/BreadcrumbItem.js +8 -8
  14. package/es/CampaignBlock/CampaignBlock.js +8 -8
  15. package/es/CompetenceGoalTab/CompetenceGoalTab.js +4 -4
  16. package/es/CompetenceGoalTab/CompetenceItem.js +7 -7
  17. package/es/CompetenceGoalTab/index.js +8 -0
  18. package/es/ContactBlock/ContactBlock.js +14 -14
  19. package/es/ContentTypeBadge/ContentTypeBadge.js +9 -1
  20. package/es/ContentTypeBadge/index.js +8 -0
  21. package/es/CopyParagraphButton/CopyParagraphButton.js +3 -3
  22. package/es/DefinitionList/DefinitionDescription.js +2 -2
  23. package/es/DefinitionList/DefinitionTerm.js +2 -2
  24. package/es/Embed/AudioEmbed.js +1 -1
  25. package/es/Embed/BrightcoveEmbed.js +6 -6
  26. package/es/Embed/ConceptEmbed.js +15 -15
  27. package/es/Embed/ConceptListEmbed.js +3 -3
  28. package/es/Embed/EmbedErrorPlaceholder.js +3 -3
  29. package/es/Embed/ExternalEmbed.js +2 -2
  30. package/es/Embed/FootnoteEmbed.js +1 -1
  31. package/es/Embed/ImageEmbed.js +6 -6
  32. package/es/Embed/conceptComponents.js +12 -12
  33. package/es/ErrorMessage/ErrorResourceAccessDenied.js +2 -2
  34. package/es/FactBox/FactBox.js +8 -8
  35. package/es/FactBox/index.js +8 -0
  36. package/es/Figure/FigureOpenDialogButton.js +1 -1
  37. package/es/FileList/File.js +4 -4
  38. package/es/FileList/FileList.js +4 -4
  39. package/es/FileList/index.js +8 -0
  40. package/es/Filter/FilterButtons.js +11 -11
  41. package/es/Filter/FilterCarousel.js +5 -5
  42. package/es/Filter/FilterList.js +2 -2
  43. package/es/Filter/FilterListPhone.js +4 -4
  44. package/es/Filter/ToggleItem.js +1 -1
  45. package/es/Filter/filterClasses.js +1 -1
  46. package/es/Footer/Footer.js +9 -9
  47. package/es/Footer/FooterLinks.js +16 -8
  48. package/es/Footer/index.js +1 -1
  49. package/es/Frontpage/FrontpageAllSubjects.js +18 -10
  50. package/es/FrontpageArticle/FrontpageArticle.js +1 -1
  51. package/es/Gloss/Gloss.js +9 -9
  52. package/es/Grid/Grid.js +2 -2
  53. package/es/Image/Image.js +2 -2
  54. package/es/Image/ImageLink.js +1 -1
  55. package/es/KeyFigure/KeyFigure.js +5 -5
  56. package/es/KeyFigure/index.js +1 -1
  57. package/es/LanguageSelector/LanguageSelector.js +8 -8
  58. package/es/LanguageSelector/index.js +8 -0
  59. package/es/LearningPaths/LearningPathLastStepNavigation.js +6 -6
  60. package/es/LearningPaths/LearningPathMenu.js +8 -8
  61. package/es/LearningPaths/LearningPathMenuAside.js +6 -6
  62. package/es/LearningPaths/LearningPathMenuAsideCopyright.js +3 -3
  63. package/es/LearningPaths/LearningPathMenuContent.js +6 -6
  64. package/es/LearningPaths/LearningPathMenuIntro.js +7 -7
  65. package/es/LearningPaths/LearningPathMenuModalWrapper.js +5 -5
  66. package/es/LearningPaths/LearningPathMobileHeader.js +3 -3
  67. package/es/LearningPaths/LearningPathMobileStepInfo.js +2 -2
  68. package/es/LearningPaths/LearningPathSticky.js +4 -4
  69. package/es/LearningPaths/index.js +2 -2
  70. package/es/LetterFilter/LetterFilter.js +3 -3
  71. package/es/LicenseByline/EmbedByline.js +7 -7
  72. package/es/LicenseByline/LicenseDescription.js +1 -1
  73. package/es/LicenseByline/LicenseLink.js +3 -3
  74. package/es/LicenseByline/index.js +8 -0
  75. package/es/LinkBlock/LinkBlock.js +8 -8
  76. package/es/LinkBlock/LinkBlockSection.js +2 -2
  77. package/es/List/OrderedList.js +2 -2
  78. package/es/List/UnOrderedList.js +2 -2
  79. package/es/Masthead/Masthead.js +4 -4
  80. package/es/Masthead/SkipToMainContent.js +9 -1
  81. package/es/Masthead/index.js +1 -1
  82. package/es/MediaList/MediaList.js +6 -6
  83. package/es/Messages/MessageBanner.js +4 -4
  84. package/es/Messages/MessageBox.js +7 -7
  85. package/es/Messages/index.js +1 -1
  86. package/es/MyNdla/Resource/Folder.js +10 -10
  87. package/es/MyNdla/Resource/FolderInput.js +6 -6
  88. package/es/MyNdla/index.js +8 -0
  89. package/es/NDLAFilm/AllMoviesAlphabetically.js +12 -12
  90. package/es/NDLAFilm/FilmContentCard.js +5 -5
  91. package/es/NDLAFilm/FilmContentCardTags.js +10 -2
  92. package/es/NDLAFilm/FilmMovieList.js +5 -4
  93. package/es/NDLAFilm/FilmMovieSearch.js +5 -5
  94. package/es/NDLAFilm/FilmSlideshow.js +9 -9
  95. package/es/NDLAFilm/MovieGrid.js +11 -3
  96. package/es/NDLAFilm/filmStyles.js +11 -3
  97. package/es/NDLAFilm/index.js +4 -5
  98. package/es/Navigation/NavigationBox.js +29 -21
  99. package/es/Notion/Notion.js +4 -4
  100. package/es/Notion/NotionImage.js +6 -5
  101. package/es/Notion/index.js +8 -0
  102. package/es/Programme/Programme.js +15 -7
  103. package/es/Programme/ProgrammeSubjects.js +2 -2
  104. package/es/ProgrammeCard/ProgrammeCard.js +4 -4
  105. package/es/RelatedArticleList/RelatedArticleList.js +64 -30
  106. package/es/Resource/BlockResource.js +8 -8
  107. package/es/Resource/ListResource.js +7 -7
  108. package/es/Resource/resourceComponents.js +16 -16
  109. package/es/Resource/storyComponents.js +2 -2
  110. package/es/ResourceBox/ResourceBox.js +6 -7
  111. package/es/ResourceGroup/ResourceGroup.js +4 -4
  112. package/es/ResourceGroup/ResourceItem.js +11 -11
  113. package/es/ResourceGroup/ResourceList.js +2 -2
  114. package/es/ResourcesWrapper/ResourcesTopicTitle.js +22 -14
  115. package/es/Search/ActiveFilterContent.js +11 -3
  116. package/es/Search/ActiveFilters.js +15 -7
  117. package/es/Search/ContentTypeResult.js +12 -4
  118. package/es/Search/ContentTypeResultStyles.js +19 -11
  119. package/es/Search/IsPathToHighlight.js +8 -0
  120. package/es/Search/LoadingWrapper.js +9 -1
  121. package/es/Search/SearchField.js +4 -4
  122. package/es/Search/SearchFieldForm.js +10 -2
  123. package/es/Search/SearchResult.js +23 -15
  124. package/es/Search/SearchResultSleeve.js +10 -10
  125. package/es/Search/index.js +1 -1
  126. package/es/SearchTypeResult/ActiveFilterContent.js +5 -5
  127. package/es/SearchTypeResult/ActiveFilters.js +7 -7
  128. package/es/SearchTypeResult/PopupFilter.js +9 -9
  129. package/es/SearchTypeResult/ResultNavigation.js +5 -5
  130. package/es/SearchTypeResult/SearchFieldHeader.js +6 -6
  131. package/es/SearchTypeResult/SearchHeader.js +10 -10
  132. package/es/SearchTypeResult/SearchItem.js +11 -11
  133. package/es/SearchTypeResult/SearchItemList.js +13 -13
  134. package/es/SearchTypeResult/SearchItems.js +2 -2
  135. package/es/SearchTypeResult/SearchNotionsResult.js +5 -5
  136. package/es/SearchTypeResult/SearchSubjectItem.js +5 -5
  137. package/es/SearchTypeResult/SearchTypeHeader.js +10 -10
  138. package/es/SearchTypeResult/SearchTypeResult.js +4 -4
  139. package/es/SearchTypeResult/SearchViewType.js +6 -6
  140. package/es/SearchTypeResult/components/ItemContexts.js +9 -9
  141. package/es/SearchTypeResult/components/ItemResourceHeader.js +7 -7
  142. package/es/SearchTypeResult/components/ItemTopicHeader.js +4 -4
  143. package/es/SearchTypeResult/components/SubjectFilters.js +2 -2
  144. package/es/SearchTypeResult/index.js +3 -3
  145. package/es/SectionHeading/SectionHeading.js +10 -2
  146. package/es/SectionHeading/index.js +8 -0
  147. package/es/Subject/SubjectBanner.js +9 -1
  148. package/es/Subject/SubjectHeader.js +11 -3
  149. package/es/Subject/index.js +8 -0
  150. package/es/Table/Table.js +9 -9
  151. package/es/TagSelector/Control.js +1 -1
  152. package/es/TagSelector/DropdownIndicator.js +2 -2
  153. package/es/TagSelector/Input.js +2 -2
  154. package/es/TagSelector/Menu.js +2 -2
  155. package/es/TagSelector/MenuList.js +1 -1
  156. package/es/TagSelector/Option.js +2 -2
  157. package/es/TagSelector/SelectContainer.js +1 -1
  158. package/es/TagSelector/TagSelector.js +9 -9
  159. package/es/TagSelector/ValueButton.js +1 -1
  160. package/es/Topic/Loader.js +8 -0
  161. package/es/Topic/Topic.js +23 -23
  162. package/es/TreeStructure/AddFolderButton.js +3 -3
  163. package/es/TreeStructure/ComboboxButton.js +5 -5
  164. package/es/TreeStructure/FolderItem.js +9 -9
  165. package/es/TreeStructure/FolderItems.js +2 -2
  166. package/es/TreeStructure/TreeStructure.js +8 -8
  167. package/es/TreeStructure/helperFunctions.js +8 -0
  168. package/es/all.css +1 -1
  169. package/es/i18n/i18n.js +3 -3
  170. package/es/index.js +1 -1
  171. package/es/locale/messages-en.js +12 -259
  172. package/es/locale/messages-nb.js +12 -259
  173. package/es/locale/messages-nn.js +12 -259
  174. package/es/locale/messages-se.js +12 -259
  175. package/es/locale/messages-sma.js +12 -259
  176. package/lib/Article/Article.js +6 -6
  177. package/lib/Article/ArticleByline.js +8 -8
  178. package/lib/Article/ArticleFootNotes.d.ts +7 -0
  179. package/lib/Article/ArticleFootNotes.js +3 -3
  180. package/lib/Article/ArticleNotions.js +5 -5
  181. package/lib/Aside/index.d.ts +7 -0
  182. package/lib/Aside/index.js +7 -0
  183. package/lib/AudioPlayer/AudioPlayer.js +16 -16
  184. package/lib/AudioPlayer/Controls.js +26 -26
  185. package/lib/AudioPlayer/SpeechControl.js +1 -1
  186. package/lib/AudioPlayer/index.d.ts +7 -0
  187. package/lib/AudioPlayer/index.js +7 -0
  188. package/lib/BannerCard/BannerCard.js +7 -7
  189. package/lib/BlogPost/BlogPost.js +6 -6
  190. package/lib/Breadcrumb/Breadcrumb.js +3 -3
  191. package/lib/Breadcrumb/BreadcrumbItem.js +8 -8
  192. package/lib/CampaignBlock/CampaignBlock.js +8 -8
  193. package/lib/CompetenceGoalTab/CompetenceGoalTab.js +4 -4
  194. package/lib/CompetenceGoalTab/CompetenceItem.js +7 -7
  195. package/lib/CompetenceGoalTab/index.d.ts +7 -0
  196. package/lib/CompetenceGoalTab/index.js +7 -0
  197. package/lib/ContactBlock/ContactBlock.js +14 -14
  198. package/lib/ContentTypeBadge/ContentTypeBadge.d.ts +7 -0
  199. package/lib/ContentTypeBadge/ContentTypeBadge.js +9 -1
  200. package/lib/ContentTypeBadge/index.d.ts +7 -0
  201. package/lib/ContentTypeBadge/index.js +7 -0
  202. package/lib/CopyParagraphButton/CopyParagraphButton.js +3 -3
  203. package/lib/DefinitionList/DefinitionDescription.js +2 -2
  204. package/lib/DefinitionList/DefinitionTerm.js +2 -2
  205. package/lib/Embed/AudioEmbed.js +1 -1
  206. package/lib/Embed/BrightcoveEmbed.js +6 -6
  207. package/lib/Embed/ConceptEmbed.js +15 -15
  208. package/lib/Embed/ConceptListEmbed.js +3 -3
  209. package/lib/Embed/EmbedErrorPlaceholder.js +3 -3
  210. package/lib/Embed/ExternalEmbed.js +2 -2
  211. package/lib/Embed/FootnoteEmbed.js +1 -1
  212. package/lib/Embed/ImageEmbed.js +6 -6
  213. package/lib/Embed/conceptComponents.d.ts +1 -1
  214. package/lib/Embed/conceptComponents.js +12 -12
  215. package/lib/Embed/types.d.ts +1 -1
  216. package/lib/ErrorMessage/ErrorResourceAccessDenied.js +2 -2
  217. package/lib/FactBox/FactBox.js +8 -8
  218. package/lib/FactBox/index.d.ts +7 -0
  219. package/lib/FactBox/index.js +7 -0
  220. package/lib/Figure/FigureOpenDialogButton.js +1 -1
  221. package/lib/FileList/File.js +4 -4
  222. package/lib/FileList/FileList.js +4 -4
  223. package/lib/FileList/index.d.ts +7 -0
  224. package/lib/FileList/index.js +7 -0
  225. package/lib/Filter/FilterButtons.js +11 -11
  226. package/lib/Filter/FilterCarousel.js +5 -5
  227. package/lib/Filter/FilterList.d.ts +7 -0
  228. package/lib/Filter/FilterList.js +2 -2
  229. package/lib/Filter/FilterListPhone.d.ts +7 -0
  230. package/lib/Filter/FilterListPhone.js +4 -4
  231. package/lib/Filter/ToggleItem.d.ts +7 -0
  232. package/lib/Filter/ToggleItem.js +1 -1
  233. package/lib/Filter/filterClasses.d.ts +7 -0
  234. package/lib/Filter/filterClasses.js +1 -1
  235. package/lib/Footer/Footer.js +9 -9
  236. package/lib/Footer/FooterLinks.d.ts +7 -0
  237. package/lib/Footer/FooterLinks.js +15 -9
  238. package/lib/Footer/index.d.ts +1 -1
  239. package/lib/Footer/index.js +1 -1
  240. package/lib/Frontpage/FrontpageAllSubjects.d.ts +7 -0
  241. package/lib/Frontpage/FrontpageAllSubjects.js +17 -11
  242. package/lib/FrontpageArticle/FrontpageArticle.js +1 -1
  243. package/lib/Gloss/Gloss.js +9 -9
  244. package/lib/Grid/Grid.js +2 -2
  245. package/lib/Image/Image.js +2 -2
  246. package/lib/Image/ImageLink.js +1 -1
  247. package/lib/KeyFigure/KeyFigure.d.ts +7 -0
  248. package/lib/KeyFigure/KeyFigure.js +5 -5
  249. package/lib/KeyFigure/index.d.ts +7 -0
  250. package/lib/LanguageSelector/LanguageSelector.js +8 -8
  251. package/lib/LanguageSelector/index.d.ts +7 -0
  252. package/lib/LearningPaths/LearningPathLastStepNavigation.js +6 -6
  253. package/lib/LearningPaths/LearningPathMenu.js +8 -8
  254. package/lib/LearningPaths/LearningPathMenuAside.js +6 -6
  255. package/lib/LearningPaths/LearningPathMenuAsideCopyright.js +3 -3
  256. package/lib/LearningPaths/LearningPathMenuContent.js +6 -6
  257. package/lib/LearningPaths/LearningPathMenuIntro.js +7 -7
  258. package/lib/LearningPaths/LearningPathMenuModalWrapper.js +5 -5
  259. package/lib/LearningPaths/LearningPathMobileHeader.js +3 -3
  260. package/lib/LearningPaths/LearningPathMobileStepInfo.js +2 -2
  261. package/lib/LearningPaths/LearningPathSticky.js +4 -4
  262. package/lib/LearningPaths/index.d.ts +2 -2
  263. package/lib/LearningPaths/index.js +2 -2
  264. package/lib/LetterFilter/LetterFilter.js +3 -3
  265. package/lib/LicenseByline/EmbedByline.d.ts +1 -1
  266. package/lib/LicenseByline/EmbedByline.js +7 -7
  267. package/lib/LicenseByline/LicenseDescription.js +1 -1
  268. package/lib/LicenseByline/LicenseLink.js +3 -3
  269. package/lib/LicenseByline/index.d.ts +7 -0
  270. package/lib/LinkBlock/LinkBlock.js +8 -8
  271. package/lib/LinkBlock/LinkBlockSection.js +2 -2
  272. package/lib/List/OrderedList.js +2 -2
  273. package/lib/List/UnOrderedList.js +2 -2
  274. package/lib/Masthead/Masthead.js +4 -4
  275. package/lib/Masthead/SkipToMainContent.d.ts +7 -0
  276. package/lib/Masthead/SkipToMainContent.js +9 -1
  277. package/lib/Masthead/index.d.ts +1 -1
  278. package/lib/Masthead/index.js +1 -1
  279. package/lib/MediaList/MediaList.d.ts +7 -0
  280. package/lib/MediaList/MediaList.js +6 -6
  281. package/lib/Messages/MessageBanner.js +4 -4
  282. package/lib/Messages/MessageBox.js +7 -7
  283. package/lib/Messages/index.d.ts +1 -1
  284. package/lib/Messages/index.js +1 -1
  285. package/lib/MyNdla/Resource/Folder.js +10 -10
  286. package/lib/MyNdla/Resource/FolderInput.js +6 -6
  287. package/lib/MyNdla/index.d.ts +7 -0
  288. package/lib/NDLAFilm/AllMoviesAlphabetically.js +12 -12
  289. package/lib/NDLAFilm/FilmContentCard.js +5 -5
  290. package/lib/NDLAFilm/FilmContentCardTags.d.ts +7 -0
  291. package/lib/NDLAFilm/FilmContentCardTags.js +10 -2
  292. package/lib/NDLAFilm/FilmMovieList.d.ts +2 -1
  293. package/lib/NDLAFilm/FilmMovieList.js +5 -4
  294. package/lib/NDLAFilm/FilmMovieSearch.js +5 -5
  295. package/lib/NDLAFilm/FilmSlideshow.js +9 -9
  296. package/lib/NDLAFilm/MovieGrid.d.ts +7 -0
  297. package/lib/NDLAFilm/MovieGrid.js +11 -3
  298. package/lib/NDLAFilm/filmStyles.d.ts +7 -0
  299. package/lib/NDLAFilm/filmStyles.js +11 -3
  300. package/lib/NDLAFilm/index.d.ts +4 -5
  301. package/lib/NDLAFilm/index.js +3 -10
  302. package/lib/NDLAFilm/types.d.ts +7 -0
  303. package/lib/Navigation/NavigationBox.d.ts +7 -0
  304. package/lib/Navigation/NavigationBox.js +28 -22
  305. package/lib/Notion/Notion.js +4 -4
  306. package/lib/Notion/NotionImage.d.ts +2 -1
  307. package/lib/Notion/NotionImage.js +6 -5
  308. package/lib/Notion/index.d.ts +7 -0
  309. package/lib/Programme/Programme.d.ts +7 -0
  310. package/lib/Programme/Programme.js +14 -8
  311. package/lib/Programme/ProgrammeSubjects.js +2 -2
  312. package/lib/ProgrammeCard/ProgrammeCard.js +4 -4
  313. package/lib/RelatedArticleList/RelatedArticleList.d.ts +2 -2
  314. package/lib/RelatedArticleList/RelatedArticleList.js +64 -30
  315. package/lib/Resource/BlockResource.js +8 -8
  316. package/lib/Resource/ListResource.js +7 -7
  317. package/lib/Resource/resourceComponents.js +16 -16
  318. package/lib/Resource/storyComponents.js +2 -2
  319. package/lib/ResourceBox/ResourceBox.d.ts +0 -1
  320. package/lib/ResourceBox/ResourceBox.js +6 -7
  321. package/lib/ResourceGroup/ResourceGroup.js +4 -4
  322. package/lib/ResourceGroup/ResourceItem.js +11 -11
  323. package/lib/ResourceGroup/ResourceList.js +2 -2
  324. package/lib/ResourcesWrapper/ResourcesTopicTitle.d.ts +7 -0
  325. package/lib/ResourcesWrapper/ResourcesTopicTitle.js +21 -15
  326. package/lib/Search/ActiveFilterContent.d.ts +7 -0
  327. package/lib/Search/ActiveFilterContent.js +11 -3
  328. package/lib/Search/ActiveFilters.d.ts +7 -0
  329. package/lib/Search/ActiveFilters.js +14 -8
  330. package/lib/Search/ContentTypeResult.d.ts +7 -0
  331. package/lib/Search/ContentTypeResult.js +12 -4
  332. package/lib/Search/ContentTypeResultStyles.d.ts +7 -0
  333. package/lib/Search/ContentTypeResultStyles.js +19 -11
  334. package/lib/Search/IsPathToHighlight.d.ts +7 -0
  335. package/lib/Search/IsPathToHighlight.js +8 -0
  336. package/lib/Search/LoadingWrapper.d.ts +7 -0
  337. package/lib/Search/LoadingWrapper.js +9 -1
  338. package/lib/Search/SearchField.d.ts +7 -0
  339. package/lib/Search/SearchField.js +4 -4
  340. package/lib/Search/SearchFieldForm.d.ts +7 -0
  341. package/lib/Search/SearchFieldForm.js +10 -2
  342. package/lib/Search/SearchResult.d.ts +7 -0
  343. package/lib/Search/SearchResult.js +23 -15
  344. package/lib/Search/SearchResultSleeve.d.ts +7 -0
  345. package/lib/Search/SearchResultSleeve.js +10 -10
  346. package/lib/Search/index.d.ts +1 -1
  347. package/lib/Search/index.js +1 -1
  348. package/lib/SearchTypeResult/ActiveFilterContent.js +5 -5
  349. package/lib/SearchTypeResult/ActiveFilters.js +7 -7
  350. package/lib/SearchTypeResult/PopupFilter.js +9 -9
  351. package/lib/SearchTypeResult/ResultNavigation.js +5 -5
  352. package/lib/SearchTypeResult/SearchFieldHeader.js +6 -6
  353. package/lib/SearchTypeResult/SearchHeader.d.ts +1 -1
  354. package/lib/SearchTypeResult/SearchHeader.js +10 -10
  355. package/lib/SearchTypeResult/SearchItem.d.ts +1 -1
  356. package/lib/SearchTypeResult/SearchItem.js +11 -11
  357. package/lib/SearchTypeResult/SearchItemList.js +13 -13
  358. package/lib/SearchTypeResult/SearchItems.js +2 -2
  359. package/lib/SearchTypeResult/SearchNotionsResult.js +5 -5
  360. package/lib/SearchTypeResult/SearchSubjectItem.js +5 -5
  361. package/lib/SearchTypeResult/SearchTypeHeader.js +10 -10
  362. package/lib/SearchTypeResult/SearchTypeResult.d.ts +3 -3
  363. package/lib/SearchTypeResult/SearchTypeResult.js +4 -4
  364. package/lib/SearchTypeResult/SearchViewType.js +6 -6
  365. package/lib/SearchTypeResult/components/ItemContexts.js +9 -9
  366. package/lib/SearchTypeResult/components/ItemResourceHeader.d.ts +1 -1
  367. package/lib/SearchTypeResult/components/ItemResourceHeader.js +7 -7
  368. package/lib/SearchTypeResult/components/ItemTopicHeader.js +4 -4
  369. package/lib/SearchTypeResult/components/SubjectFilters.d.ts +1 -1
  370. package/lib/SearchTypeResult/components/SubjectFilters.js +2 -2
  371. package/lib/SearchTypeResult/index.d.ts +3 -3
  372. package/lib/SearchTypeResult/index.js +3 -3
  373. package/lib/SectionHeading/SectionHeading.d.ts +7 -0
  374. package/lib/SectionHeading/SectionHeading.js +10 -2
  375. package/lib/SectionHeading/index.d.ts +7 -0
  376. package/lib/SectionHeading/index.js +7 -0
  377. package/lib/Subject/SubjectBanner.d.ts +7 -0
  378. package/lib/Subject/SubjectBanner.js +9 -1
  379. package/lib/Subject/SubjectHeader.d.ts +7 -0
  380. package/lib/Subject/SubjectHeader.js +11 -3
  381. package/lib/Subject/index.d.ts +7 -0
  382. package/lib/Table/Table.d.ts +7 -0
  383. package/lib/Table/Table.js +16 -16
  384. package/lib/TagSelector/Control.js +1 -1
  385. package/lib/TagSelector/DropdownIndicator.js +2 -2
  386. package/lib/TagSelector/Input.js +2 -2
  387. package/lib/TagSelector/Menu.js +2 -2
  388. package/lib/TagSelector/MenuList.js +1 -1
  389. package/lib/TagSelector/Option.js +2 -2
  390. package/lib/TagSelector/SelectContainer.js +1 -1
  391. package/lib/TagSelector/TagSelector.js +9 -9
  392. package/lib/TagSelector/ValueButton.js +1 -1
  393. package/lib/TagSelector/ariaMessages.d.ts +1 -1
  394. package/lib/Topic/Loader.d.ts +7 -0
  395. package/lib/Topic/Loader.js +8 -0
  396. package/lib/Topic/Topic.js +23 -23
  397. package/lib/TreeStructure/AddFolderButton.js +3 -3
  398. package/lib/TreeStructure/ComboboxButton.js +5 -5
  399. package/lib/TreeStructure/FolderItem.js +9 -9
  400. package/lib/TreeStructure/FolderItems.js +2 -2
  401. package/lib/TreeStructure/TreeStructure.js +8 -8
  402. package/lib/TreeStructure/arrowNavigation.d.ts +1 -1
  403. package/lib/TreeStructure/helperFunctions.d.ts +7 -0
  404. package/lib/TreeStructure/helperFunctions.js +8 -0
  405. package/lib/all.css +1 -1
  406. package/lib/i18n/i18n.d.ts +7 -0
  407. package/lib/i18n/i18n.js +3 -3
  408. package/lib/index.d.ts +1 -1
  409. package/lib/index.js +0 -6
  410. package/lib/locale/messages-en.d.ts +552 -793
  411. package/lib/locale/messages-en.js +13 -261
  412. package/lib/locale/messages-nb.d.ts +552 -793
  413. package/lib/locale/messages-nb.js +13 -261
  414. package/lib/locale/messages-nn.d.ts +552 -793
  415. package/lib/locale/messages-nn.js +13 -261
  416. package/lib/locale/messages-se.d.ts +552 -793
  417. package/lib/locale/messages-se.js +13 -261
  418. package/lib/locale/messages-sma.d.ts +552 -793
  419. package/lib/locale/messages-sma.js +13 -261
  420. package/package.json +21 -21
  421. package/src/Article/Article.tsx +5 -5
  422. package/src/Article/ArticleByline.stories.tsx +1 -1
  423. package/src/Article/ArticleByline.tsx +4 -4
  424. package/src/Article/ArticleFootNotes.tsx +1 -1
  425. package/src/Article/ArticleNotions.tsx +2 -2
  426. package/src/Aside/index.ts +8 -0
  427. package/src/AudioPlayer/AudioPlayer.tsx +2 -2
  428. package/src/AudioPlayer/Controls.tsx +5 -5
  429. package/src/AudioPlayer/SpeechControl.tsx +1 -1
  430. package/src/AudioPlayer/index.ts +8 -0
  431. package/src/BannerCard/BannerCard.tsx +1 -1
  432. package/src/BlogPost/BlogPost.tsx +3 -3
  433. package/src/Breadcrumb/Breadcrumb.tsx +2 -2
  434. package/src/Breadcrumb/BreadcrumbItem.tsx +3 -3
  435. package/src/CampaignBlock/CampaignBlock.tsx +3 -3
  436. package/src/CompetenceGoalTab/CompetenceGoalItem.tsx +1 -1
  437. package/src/CompetenceGoalTab/CompetenceGoalTab.tsx +3 -3
  438. package/src/CompetenceGoalTab/CompetenceItem.tsx +3 -3
  439. package/src/CompetenceGoalTab/CoreElementItem.tsx +1 -1
  440. package/src/CompetenceGoalTab/index.ts +8 -0
  441. package/src/ContactBlock/ContactBlock.tsx +3 -3
  442. package/src/ContentTypeBadge/ContentTypeBadge.tsx +9 -1
  443. package/src/ContentTypeBadge/index.ts +8 -0
  444. package/src/CopyParagraphButton/CopyParagraphButton.tsx +1 -1
  445. package/src/DefinitionList/DefinitionDescription.tsx +1 -1
  446. package/src/DefinitionList/DefinitionTerm.tsx +1 -1
  447. package/src/Embed/AudioEmbed.tsx +4 -4
  448. package/src/Embed/BrightcoveEmbed.tsx +6 -6
  449. package/src/Embed/ConceptEmbed.tsx +9 -9
  450. package/src/Embed/ConceptListEmbed.tsx +1 -1
  451. package/src/Embed/EmbedErrorPlaceholder.tsx +1 -1
  452. package/src/Embed/ExternalEmbed.tsx +3 -3
  453. package/src/Embed/FootnoteEmbed.tsx +1 -1
  454. package/src/Embed/IframeEmbed.tsx +1 -1
  455. package/src/Embed/ImageEmbed.stories.tsx +2 -2
  456. package/src/Embed/ImageEmbed.tsx +8 -8
  457. package/src/Embed/RelatedContentEmbed.stories.tsx +1 -1
  458. package/src/Embed/RelatedContentEmbed.tsx +1 -1
  459. package/src/Embed/conceptComponents.tsx +6 -6
  460. package/src/Embed/types.ts +1 -1
  461. package/src/ErrorMessage/ErrorMessage.stories.tsx +1 -1
  462. package/src/ErrorMessage/ErrorResourceAccessDenied.tsx +1 -1
  463. package/src/FactBox/FactBox.tsx +2 -2
  464. package/src/FactBox/index.ts +8 -0
  465. package/src/Figure/FigureOpenDialogButton.tsx +1 -1
  466. package/src/FileList/File.tsx +2 -2
  467. package/src/FileList/FileList.stories.tsx +1 -1
  468. package/src/FileList/FileList.tsx +2 -2
  469. package/src/FileList/index.ts +8 -0
  470. package/src/Filter/FilterButtons.tsx +2 -2
  471. package/src/Filter/FilterCarousel.tsx +2 -2
  472. package/src/Filter/FilterList.tsx +2 -2
  473. package/src/Filter/FilterListPhone.tsx +4 -4
  474. package/src/Filter/ToggleItem.tsx +1 -1
  475. package/src/Filter/filterClasses.ts +1 -1
  476. package/src/Footer/Footer.stories.tsx +2 -2
  477. package/src/Footer/Footer.tsx +2 -2
  478. package/src/Footer/FooterLinks.tsx +10 -2
  479. package/src/Footer/index.ts +1 -1
  480. package/src/FramedContent/FramedContent.stories.tsx +1 -1
  481. package/src/Frontpage/FrontpageAllSubjects.tsx +12 -4
  482. package/src/FrontpageArticle/FrontpageArticle.tsx +2 -2
  483. package/src/Gloss/Gloss.tsx +4 -4
  484. package/src/Grid/Grid.stories.tsx +1 -1
  485. package/src/Grid/Grid.tsx +1 -1
  486. package/src/Hero/Hero.stories.tsx +1 -1
  487. package/src/Image/Image.tsx +1 -1
  488. package/src/Image/ImageLink.tsx +1 -1
  489. package/src/KeyFigure/KeyFigure.stories.tsx +1 -1
  490. package/src/KeyFigure/KeyFigure.tsx +1 -1
  491. package/src/KeyFigure/index.ts +1 -1
  492. package/src/LanguageSelector/LanguageSelector.stories.tsx +2 -2
  493. package/src/LanguageSelector/LanguageSelector.tsx +3 -3
  494. package/src/LanguageSelector/index.ts +8 -0
  495. package/src/LearningPaths/LearningPathLastStepNavigation.tsx +3 -3
  496. package/src/LearningPaths/LearningPathMenu.stories.tsx +1 -1
  497. package/src/LearningPaths/LearningPathMenu.tsx +6 -6
  498. package/src/LearningPaths/LearningPathMenuAside.tsx +3 -3
  499. package/src/LearningPaths/LearningPathMenuAsideCopyright.tsx +1 -1
  500. package/src/LearningPaths/LearningPathMenuContent.tsx +2 -2
  501. package/src/LearningPaths/LearningPathMenuIntro.tsx +2 -2
  502. package/src/LearningPaths/LearningPathMenuModalWrapper.tsx +4 -4
  503. package/src/LearningPaths/LearningPathMobileHeader.tsx +1 -1
  504. package/src/LearningPaths/LearningPathMobileStepInfo.tsx +1 -1
  505. package/src/LearningPaths/LearningPathSticky.tsx +2 -2
  506. package/src/LearningPaths/index.ts +2 -2
  507. package/src/LetterFilter/LetterFilter.stories.tsx +2 -2
  508. package/src/LetterFilter/LetterFilter.tsx +2 -2
  509. package/src/LicenseByline/EmbedByline.stories.tsx +3 -3
  510. package/src/LicenseByline/EmbedByline.tsx +4 -4
  511. package/src/LicenseByline/LicenseDescription.tsx +1 -1
  512. package/src/LicenseByline/LicenseLink.tsx +1 -1
  513. package/src/LicenseByline/index.tsx +8 -0
  514. package/src/LinkBlock/LinkBlock.stories.tsx +1 -1
  515. package/src/LinkBlock/LinkBlock.tsx +3 -3
  516. package/src/LinkBlock/LinkBlockSection.tsx +1 -1
  517. package/src/List/OrderedList.tsx +1 -1
  518. package/src/List/UnOrderedList.tsx +1 -1
  519. package/src/Masthead/Masthead.tsx +2 -2
  520. package/src/Masthead/SkipToMainContent.tsx +8 -0
  521. package/src/Masthead/index.ts +1 -1
  522. package/src/MediaList/MediaList.tsx +5 -5
  523. package/src/Messages/MessageBanner.tsx +2 -2
  524. package/src/Messages/MessageBox.tsx +3 -3
  525. package/src/Messages/index.ts +1 -1
  526. package/src/MyNdla/Resource/Folder.stories.tsx +4 -5
  527. package/src/MyNdla/Resource/Folder.tsx +4 -4
  528. package/src/MyNdla/Resource/FolderInput.tsx +4 -4
  529. package/src/MyNdla/index.ts +8 -0
  530. package/src/NDLAFilm/AllMoviesAlphabetically.tsx +4 -4
  531. package/src/NDLAFilm/FilmContentCard.tsx +2 -2
  532. package/src/NDLAFilm/FilmContentCardTags.tsx +9 -1
  533. package/src/NDLAFilm/FilmMovieList.tsx +5 -4
  534. package/src/NDLAFilm/FilmMovieSearch.tsx +2 -2
  535. package/src/NDLAFilm/FilmSlideshow.tsx +2 -2
  536. package/src/NDLAFilm/MovieGrid.tsx +10 -2
  537. package/src/NDLAFilm/filmStyles.ts +8 -0
  538. package/src/NDLAFilm/index.ts +4 -5
  539. package/src/NDLAFilm/types.ts +8 -0
  540. package/src/Navigation/NavigationBox.tsx +13 -5
  541. package/src/Notion/Notion.tsx +1 -1
  542. package/src/Notion/NotionImage.tsx +4 -3
  543. package/src/Notion/index.ts +8 -0
  544. package/src/Programme/Programme.tsx +10 -2
  545. package/src/Programme/ProgrammeSubjects.tsx +1 -1
  546. package/src/ProgrammeCard/ProgrammeCard.tsx +1 -1
  547. package/src/RelatedArticleList/RelatedArticleList.tsx +79 -24
  548. package/src/Resource/BlockResource.stories.tsx +2 -2
  549. package/src/Resource/BlockResource.tsx +3 -3
  550. package/src/Resource/ListResource.stories.tsx +1 -1
  551. package/src/Resource/ListResource.tsx +2 -2
  552. package/src/Resource/resourceComponents.tsx +6 -6
  553. package/src/Resource/storyComponents.tsx +2 -2
  554. package/src/ResourceBox/ResourceBox.tsx +1 -2
  555. package/src/ResourceGroup/ResourceGroup.tsx +1 -1
  556. package/src/ResourceGroup/ResourceItem.tsx +4 -4
  557. package/src/ResourceGroup/ResourceList.tsx +2 -2
  558. package/src/ResourcesWrapper/ResourcesTopicTitle.tsx +10 -2
  559. package/src/Search/ActiveFilterContent.tsx +9 -1
  560. package/src/Search/ActiveFilters.tsx +10 -2
  561. package/src/Search/ContentTypeResult.tsx +12 -4
  562. package/src/Search/ContentTypeResultStyles.tsx +9 -1
  563. package/src/Search/IsPathToHighlight.ts +8 -0
  564. package/src/Search/LoadingWrapper.tsx +8 -0
  565. package/src/Search/SearchField.tsx +3 -3
  566. package/src/Search/SearchFieldForm.tsx +9 -1
  567. package/src/Search/SearchResult.tsx +13 -5
  568. package/src/Search/SearchResultSleeve.tsx +2 -2
  569. package/src/Search/index.ts +1 -2
  570. package/src/SearchTypeResult/ActiveFilterContent.tsx +3 -3
  571. package/src/SearchTypeResult/ActiveFilters.tsx +2 -2
  572. package/src/SearchTypeResult/PopupFilter.tsx +3 -3
  573. package/src/SearchTypeResult/ResultNavigation.tsx +1 -1
  574. package/src/SearchTypeResult/SearchFieldHeader.tsx +2 -2
  575. package/src/SearchTypeResult/SearchHeader.tsx +3 -3
  576. package/src/SearchTypeResult/SearchItem.tsx +5 -5
  577. package/src/SearchTypeResult/SearchItemList.tsx +2 -2
  578. package/src/SearchTypeResult/SearchItems.tsx +2 -2
  579. package/src/SearchTypeResult/SearchNotionsResult.tsx +1 -1
  580. package/src/SearchTypeResult/SearchSubjectItem.tsx +2 -2
  581. package/src/SearchTypeResult/SearchTypeHeader.tsx +2 -2
  582. package/src/SearchTypeResult/SearchTypeResult.tsx +4 -4
  583. package/src/SearchTypeResult/SearchViewType.tsx +2 -2
  584. package/src/SearchTypeResult/components/ItemContexts.tsx +4 -4
  585. package/src/SearchTypeResult/components/ItemResourceHeader.tsx +3 -4
  586. package/src/SearchTypeResult/components/ItemTopicHeader.tsx +1 -1
  587. package/src/SearchTypeResult/components/SubjectFilters.tsx +2 -2
  588. package/src/SearchTypeResult/index.ts +3 -3
  589. package/src/SectionHeading/SectionHeading.tsx +8 -0
  590. package/src/SectionHeading/index.ts +8 -0
  591. package/src/Subject/SubjectBanner.tsx +8 -0
  592. package/src/Subject/SubjectHeader.tsx +9 -1
  593. package/src/Subject/index.ts +8 -0
  594. package/src/Table/Table.stories.tsx +1 -1
  595. package/src/Table/Table.tsx +3 -3
  596. package/src/TagSelector/Control.tsx +1 -1
  597. package/src/TagSelector/DropdownIndicator.tsx +2 -2
  598. package/src/TagSelector/Input.tsx +1 -1
  599. package/src/TagSelector/Menu.tsx +1 -1
  600. package/src/TagSelector/MenuList.tsx +1 -1
  601. package/src/TagSelector/Option.tsx +1 -1
  602. package/src/TagSelector/SelectContainer.tsx +1 -1
  603. package/src/TagSelector/TagSelector.stories.tsx +1 -1
  604. package/src/TagSelector/TagSelector.tsx +9 -9
  605. package/src/TagSelector/ValueButton.tsx +1 -1
  606. package/src/TagSelector/ariaMessages.ts +1 -1
  607. package/src/ToolboxPage/ToolboxInfo.tsx +1 -1
  608. package/src/Topic/Loader.tsx +8 -0
  609. package/src/Topic/Topic.tsx +9 -9
  610. package/src/TreeStructure/AddFolderButton.tsx +1 -1
  611. package/src/TreeStructure/ComboboxButton.tsx +3 -3
  612. package/src/TreeStructure/FolderItem.tsx +3 -3
  613. package/src/TreeStructure/FolderItems.tsx +1 -1
  614. package/src/TreeStructure/TreeStructure.stories.tsx +2 -2
  615. package/src/TreeStructure/TreeStructure.tsx +3 -3
  616. package/src/TreeStructure/arrowNavigation.ts +1 -1
  617. package/src/TreeStructure/helperFunctions.ts +8 -0
  618. package/src/i18n/i18n.ts +3 -3
  619. package/src/index.ts +1 -8
  620. package/src/locale/__tests__/translations-test.ts +1 -1
  621. package/src/locale/messages-en.ts +2 -256
  622. package/src/locale/messages-nb.ts +2 -255
  623. package/src/locale/messages-nn.ts +2 -255
  624. package/src/locale/messages-se.ts +2 -255
  625. package/src/locale/messages-sma.ts +2 -255
  626. package/src/main.scss +0 -1
  627. package/es/NDLAFilm/AboutNdlaFilm.js +0 -57
  628. package/lib/NDLAFilm/AboutNdlaFilm.d.ts +0 -15
  629. package/lib/NDLAFilm/AboutNdlaFilm.js +0 -63
  630. package/src/NDLAFilm/AboutNdlaFilm.tsx +0 -84
  631. package/src/RelatedArticleList/component.related-articles.scss +0 -115
@@ -1,3 +1,11 @@
1
+ /**
2
+ * Copyright (c) 2022-present, NDLA.
3
+ *
4
+ * This source code is licensed under the GPLv3 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+
1
9
  import { IFolder } from '@ndla/types-backend/learningpath-api';
2
10
  import { TreeStructureType } from './types';
3
11
 
package/src/i18n/i18n.ts CHANGED
@@ -1,4 +1,4 @@
1
- /*
1
+ /**
2
2
  * Copyright (c) 2021-present, NDLA.
3
3
  *
4
4
  * This source code is licensed under the GPLv3 license found in the
@@ -7,11 +7,11 @@
7
7
  */
8
8
 
9
9
  import i18n from 'i18next';
10
- import { initReactI18next } from 'react-i18next';
11
10
  import LanguageDetector from 'i18next-browser-languagedetector';
11
+ import { initReactI18next } from 'react-i18next';
12
12
  import messagesEN from '../locale/messages-en';
13
- import messagesNN from '../locale/messages-nn';
14
13
  import messagesNB from '../locale/messages-nb';
14
+ import messagesNN from '../locale/messages-nn';
15
15
  import messagesSE from '../locale/messages-se';
16
16
  import messagesSMA from '../locale/messages-sma';
17
17
 
package/src/index.ts CHANGED
@@ -152,14 +152,7 @@ export { default as ResourceGroup } from './ResourceGroup';
152
152
 
153
153
  export { default as LayoutItem, OneColumn, PageContainer, Content } from './Layout';
154
154
 
155
- export {
156
- FilmSlideshow,
157
- MovieGrid,
158
- AboutNdlaFilm,
159
- FilmMovieSearch,
160
- FilmMovieList,
161
- AllMoviesAlphabetically,
162
- } from './NDLAFilm';
155
+ export { FilmSlideshow, MovieGrid, FilmMovieSearch, FilmMovieList, AllMoviesAlphabetically } from './NDLAFilm';
163
156
 
164
157
  export {
165
158
  MediaList,
@@ -7,9 +7,9 @@
7
7
  */
8
8
 
9
9
  import { validateTranslationFiles } from '@ndla/util';
10
+ import messagesEN from '../messages-en';
10
11
  import messagesNB from '../messages-nb';
11
12
  import messagesNN from '../messages-nn';
12
- import messagesEN from '../messages-en';
13
13
  import messagesSE from '../messages-se';
14
14
  import messagesSMA from '../messages-sma';
15
15
 
@@ -9,11 +9,12 @@
9
9
  import { contributorTypes } from '@ndla/licenses';
10
10
  import constants from '../model';
11
11
 
12
- export const { contentTypes, subjectCategories, subjectTypes, wordClass } = constants;
12
+ export const { subjectCategories, subjectTypes, wordClass } = constants;
13
13
 
14
14
  const titleTemplate = ' - NDLA';
15
15
 
16
16
  const messages = {
17
+ ...contributorTypes.en,
17
18
  common: {
18
19
  subject: 'Subject',
19
20
  subject_plural: 'Subjects',
@@ -87,12 +88,6 @@ const messages = {
87
88
  searchPage: `Search${titleTemplate}`,
88
89
  notFound: `Page not found${titleTemplate}`,
89
90
  },
90
- newsLetter: {
91
- heading: 'Newsletter',
92
- description: 'Stay updated! Subscribe to the latest news from NDLA.',
93
- mainLinkName: 'Sign up',
94
- iconLinkName: 'Sign up for newsletters',
95
- },
96
91
  askNDLA: 'Ask NDLA',
97
92
  articlePage: {
98
93
  errorDescription: 'Sorry, an error occurred while loading the resource.',
@@ -132,25 +127,7 @@ const messages = {
132
127
  searchFieldPlaceholder: 'Search for subjects, tasks and activities or learningpaths',
133
128
  searchFieldPlaceholderShort: 'Search',
134
129
  label: {
135
- content: 'Content:',
136
- contentTypes: 'Content types',
137
- levels: 'Level',
138
- languageFilter: 'Language',
139
130
  subjects: 'Subjects',
140
- noFilter: 'No filter selected',
141
- createdBy: 'Created by:',
142
- },
143
- showLabel: {
144
- contentTypes: 'More content types',
145
- levels: 'More levels',
146
- languageFilter: 'More languages',
147
- subjects: 'Change subject',
148
- },
149
- hideLabel: {
150
- contentTypes: 'Hide content types',
151
- levels: 'Hide levels',
152
- languageFilter: 'Hide languages',
153
- subjects: 'Hide subjects',
154
131
  },
155
132
  searchField: {
156
133
  contentTypeResultShowMoreLabel: 'Show more results',
@@ -159,23 +136,12 @@ const messages = {
159
136
  searchResultHeading: 'Proposals:',
160
137
  contentTypeResultNoHit: 'No results',
161
138
  },
162
- searchResultMessages: {
163
- searchStringLabel: 'You searched for:',
164
- subHeading: '{{totalCount}} hits in NDLA',
165
- },
166
139
  searchResultListMessages: {
167
140
  subjectsLabel: 'Open in subject:',
168
141
  noResultHeading: 'Hmm, no content ...',
169
142
  noResultDescription:
170
143
  'Unfortunately, we do not have anything to offer here. If you want to suggest any content for this site, you can use Ask NDLA, located at the bottom right of the screen.',
171
144
  },
172
- searchPageMessages: {
173
- filterHeading: 'Filter',
174
- resultHeading: '{{totalCount}} hits in NDLA',
175
- resultHeadingByAuthor: '{{totalCount}} articles written by {{author}}',
176
- narrowScreenFilterHeading: '{{totalCount}} hits on «{{query}}»',
177
- dropdownBtnLabel: 'More content types',
178
- },
179
145
  searchFilterMessages: {
180
146
  backButton: 'Back to filter',
181
147
  filterLabel: 'Search-filter',
@@ -221,41 +187,10 @@ const messages = {
221
187
  ariaLabel: 'View more contexts',
222
188
  },
223
189
  },
224
-
225
190
  subjectPage: {
226
- errorDescription: 'Sorry, an error occurred while loading the topics.',
227
191
  tabs: {
228
192
  topics: 'Topics',
229
193
  },
230
- subjectShortcuts: {
231
- heading: 'Go directly to',
232
- showMore: 'Show more',
233
- showLess: 'Show less',
234
- },
235
- mostRead: {
236
- heading: 'Most used',
237
- },
238
- editorsChoices: {
239
- heading: 'Editor choices from the subject',
240
- unknown: 'Uknown',
241
- },
242
- subjectArchive: {
243
- heading: 'Current',
244
- archive: 'Archive',
245
- close: 'Close',
246
- },
247
- subjectFilter: {
248
- label: 'Filter',
249
- },
250
- newContent: {
251
- heading: 'New content',
252
- },
253
- subjectIsBeta: {
254
- iconLabel: 'in beta',
255
- dialogHeader: '{{title}} is under construction',
256
- dialogText: 'Read more at',
257
- },
258
- archived: 'This is an expired and unmaintained subject.',
259
194
  },
260
195
  subjectsPage: {
261
196
  filterSubjects: 'Filter subjects',
@@ -278,47 +213,16 @@ const messages = {
278
213
  shows: 'Shows',
279
214
  },
280
215
  topicPage: {
281
- articleErrorDescription: 'Sorry, an error occurred while loading the topic description.',
282
216
  topic: 'TOPIC',
283
217
  topics: 'Topics',
284
218
  imageModal: 'View full size image',
285
219
  },
286
220
  welcomePage: {
287
- search: 'Search',
288
- searchDisclaimer:
289
- 'We are constantly working to improve ourselves! If you have comments to the search, please use the «spør NDLA» function in the bottom right corner.',
290
221
  resetSearch: 'Empty search',
291
- closeSearch: 'Close search',
292
222
  searchAllInfo: 'View all results',
293
- topicsConjunction: 'and',
294
- highlighted: 'Highlighted',
295
223
  heading: {
296
224
  heading: 'The Norwegian Digital Learning Arena',
297
- searchFieldPlaceholder: 'Search for topics, learning materials, keywords ...',
298
- messages: {
299
- searchFieldTitle: 'Search',
300
- menuButton: 'Content',
301
- },
302
- links: {
303
- aboutNDLA: 'About NDLA',
304
- changeLanguage: 'Change language',
305
- },
306
225
  },
307
- socialMedia: {
308
- heading: 'Follow us',
309
- description: 'NDLA has several Facebook- and X-accounts. Find the one that suits you, and follow us!',
310
- mainLink: {
311
- name: 'Follow us',
312
- },
313
- },
314
- film: {
315
- header: 'NDLA film',
316
- text: 'NDLA film is a service in collaboration with Norgesfilm. This service allows you to watch a range of feature films, short films, documentaries and series. You can also watch educational films and movie clips. Welcome to the world of cinema!',
317
- textShort: 'Welcome to the world of cinema!',
318
- linkLabel: 'Go to NDLA film',
319
- },
320
- blog: 'From our blog',
321
- errorDescription: 'Sorry, an error occurred while loading the subjects.',
322
226
  },
323
227
  toolboxPage: {
324
228
  introduction:
@@ -337,103 +241,38 @@ const messages = {
337
241
  toolboxStudents: 'Toolbox - for students',
338
242
  toolboxTeachers: 'Toolbox - for teachers',
339
243
  film: 'NDLA film',
340
- about: {
341
- title: 'About NDLA',
342
- numbers: 'Numbers and reports',
343
- keyPersonnel: 'Key personnel',
344
- vacancies: 'Vacancies',
345
- vision: 'Vision and values',
346
- communityPurpose: 'Our community mission',
347
- history: 'NDLAs history',
348
- cooperation: 'Our cooperations',
349
- faq: 'Frequently asked questions',
350
- follow: 'Follow us on social media',
351
- whoAreWe: 'Who are we?',
352
- whatWeDo: 'What do we do?',
353
- careers: 'Come work with us',
354
- contactUs: 'Contact us',
355
- organizing: 'Organizing',
356
- articlesOfAssociation: 'Article of associations',
357
- },
358
244
  },
359
245
  menu: {
360
246
  button: 'Menu',
361
247
  goToMainMenu: 'Go to main menu',
362
- close: 'Close',
363
- goTo: 'Go to',
364
248
  search: 'Search',
365
- toFrontpage: 'To frontpage',
366
- subjectOverview: 'All subjects',
367
249
  modalLabel: 'Choose content',
368
- backToSubjectFrontpage: 'Back to subject frontpage',
369
250
  title: 'Open menu',
370
- subjectPage: 'Subject front page',
371
- openFilter: 'Filter',
372
- useFilter: 'Use filter',
373
- closeFilter: 'Close filter',
374
- learningResourcesHeading: 'Educational Resources',
375
- back: 'Back',
376
- additionalFilterLabel: 'Show addition resources',
377
- contentTypeResultsShowMore: {
378
- [contentTypes.SUBJECT_MATERIAL]: 'Show more subjects',
379
- [contentTypes.TASKS_AND_ACTIVITIES]: 'Show more tasks and activities',
380
- [contentTypes.LEARNING_PATH]: 'Show more learningpaths',
381
- [contentTypes.ASSESSMENT_RESOURCES]: 'Show more assessment resources',
382
- [contentTypes.SOURCE_MATERIAL]: 'Show more source materials',
383
- [contentTypes.EXTERNAL_LEARNING_RESOURCES]: 'Show more external learning resources',
384
- unGrouped: 'Show more resources',
385
- },
386
- contentTypeResultsShowLess: {
387
- [contentTypes.SUBJECT_MATERIAL]: 'Show less subjects',
388
- [contentTypes.TASKS_AND_ACTIVITIES]: 'Show less tasks and activities',
389
- [contentTypes.LEARNING_PATH]: 'Show less learningpaths',
390
- [contentTypes.ASSESSMENT_RESOURCES]: 'Show less assessment resources',
391
- [contentTypes.SOURCE_MATERIAL]: 'Show less source materials',
392
- [contentTypes.EXTERNAL_LEARNING_RESOURCES]: 'Show less external learning resources',
393
- unGrouped: 'Show less resources',
394
- },
395
- contentTypeResultsNoHit: {
396
- [contentTypes.SUBJECT_MATERIAL]: 'No subjects',
397
- [contentTypes.TASKS_AND_ACTIVITIES]: 'No tasks and activities',
398
- [contentTypes.LEARNING_PATH]: 'No learningpaths',
399
- [contentTypes.ASSESSMENT_RESOURCES]: 'No assessment resources',
400
- [contentTypes.SOURCE_MATERIAL]: 'No source materials',
401
- [contentTypes.EXTERNAL_LEARNING_RESOURCES]: 'No external learning resources',
402
- unGrouped: 'No resources',
403
- },
404
251
  },
405
252
  },
406
253
  logo: {
407
254
  altText: 'The Norwegian Digital Learning Arena',
408
255
  },
409
256
  resource: {
410
- errorDescription: 'Sorry, an error occurred while loading the topic resources.',
411
- error: 'Sorry, a part of the content could not be shown.',
412
257
  noCoreResourcesAvailableUnspecific: 'There is no core content available.',
413
258
  noCoreResourcesAvailable: 'There is no core content available for {{name}}.',
414
259
  activateAdditionalResources: 'Show additional content',
415
260
  toggleFilterLabel: 'Show additional content',
416
261
  label: 'Learning content',
417
- allResources: 'Content',
418
- shortcutButtonText: 'Learning material',
419
262
  tooltipCoreTopic: 'Core content is a subject that is on the curriculum',
420
263
  tooltipAdditionalTopic: 'Additional content is a subject that is not on the curriculum',
421
264
  additionalTooltip: 'Additional content is not on the curriculum',
422
- shortcutsTooltip: 'Show {{count}} articles in this subject',
423
265
  dialogTooltip: 'What is core content and additional content?',
424
266
  dialogHeading: 'Core content and additional content',
425
267
  dialogText1: 'As you learn the core content, you acquire the skills described in the curriculum for the subject.',
426
268
  dialogText2:
427
269
  'Additional content is content in the subject that you can choose in addition to the core material. Through the additional subject, you can immerse yourself in a topic or approach yourself in a different way.',
428
- showLess: 'Show less',
429
- showMore: 'Show more',
430
270
  youAreHere: 'You are here',
431
271
  trait: {
432
272
  video: 'Video',
433
273
  h5p: 'Interactive',
434
274
  },
435
275
  },
436
-
437
276
  messageBoxInfo: {
438
277
  outdatedCoursePlan:
439
278
  'This course is not updated to the current curriculum. Follow this link to find the updated version of the course: ',
@@ -513,9 +352,6 @@ const messages = {
513
352
  licenseData: 'Containing data under',
514
353
  licenseFrom: 'published at',
515
354
  },
516
- subject: {
517
- associatedTopics: 'Associated topics',
518
- },
519
355
  subjectFrontPage: {
520
356
  buildsOn: 'Builds on',
521
357
  connectedTo: 'Common programme subject with',
@@ -699,8 +535,6 @@ const messages = {
699
535
  aboutNdla: 'About NDLA',
700
536
  blog: 'Blog',
701
537
  tips: 'Tips to students',
702
- fyr: 'FYR project',
703
- sharing: 'Sharing arena',
704
538
  vacancies: 'Vacancies',
705
539
  },
706
540
  },
@@ -755,7 +589,6 @@ const messages = {
755
589
  },
756
590
  breadcrumb: {
757
591
  toFrontpage: 'NDLA frontpage',
758
- youAreHere: 'You are here',
759
592
  breadcrumb: 'Breadcrumb',
760
593
  },
761
594
  listview: {
@@ -823,9 +656,7 @@ const messages = {
823
656
  loadingMovies: 'Loading movies..',
824
657
  subjectsInMovies: 'Subjects in film',
825
658
  about: {
826
- heading: 'About NDLA film',
827
659
  more: 'Read more about NDLA film',
828
- text: 'Ndla film er ei nettbasert filmtjeneste for elever og lærere i videregående skole. Her finn du spillefilmer, kortfilmer, dokumentarfilmer og TV-serier.',
829
660
  },
830
661
  search: {
831
662
  placeholder: 'Search on moviename',
@@ -864,36 +695,12 @@ const messages = {
864
695
  all: 'All movies A-Z',
865
696
  },
866
697
  allMovieGroupTitleLabel: 'Movies starting with {{letter}}',
867
- moreAboutNdlaFilm: {
868
- header: 'NDLA film',
869
- firstParagraph:
870
- "The films in the film service are taken from Norwegian and international film heritage and are linked to curricula in several subjects. They have been selected by NDLA's editors in collaboration with Norgesfilm AS.",
871
- secondParagraph:
872
- 'You can watch the films if you are connected to the Internet via your computer, tablet or smartphone. We have done the work with rights clearance and payment. All you have to do is press play.',
873
- thirdParagraph:
874
- 'The films are copyrighted. They can be played freely on ndla.no, but not downloaded or distributed in other publications. All licensees are remunerated for the replays made.',
875
- secondHeading: 'Use film in teaching',
876
- fourthParagraph:
877
- 'A film tells stories in ways that engage and touch us. In film, some of the most effective visuals are used; moving images and sound. A good film can show sides of the present and give visions of the future or comment on the past. Therefore, films can often give us a better understanding of events, cultural meetings and history than a text.',
878
- fifthParagraph:
879
- 'By watching films, the students are better equipped to read the film language, so that the film gets a value beyond the purely entertaining. The general part of the curriculum emphasizes that the students should meet art and cultural forms that stimulate, inspire their own creativity, and promote ethical orientation ability and aesthetic sense.',
880
- tipSectionPt1: 'Please give tips, ask questions or wish for new movies at our',
881
- tipSectionPt2: 'Facebook page.',
882
- ariaLabel: 'Visit NDLA-films Facebook page',
883
- tipSectionPt3: '',
884
- ending: 'We wish all movie lovers a good and educational experience!',
885
- },
886
698
  },
887
699
  learningPath: {
888
700
  createLearningPathText: 'Create your own, copy this or see more learningpaths?',
889
701
  createLearningPathButtonText: 'Go to learningpaths',
890
702
  lastUpdated: 'Last updated',
891
703
  youAreInALearningPath: 'You are now in a learningpath',
892
- readTime: '{{hours}} schoolhours = {{minutes}} min',
893
- pageOf: 'of',
894
- readTimeHour: 'hour',
895
- readTimeHour_plurals: 'hours',
896
- readTimeMinutesShort: 'min',
897
704
  lastStep: {
898
705
  heading: 'Last step of this learningpath',
899
706
  headingSmall: 'You are now in the last step of the learningpath {{learningPathName}}',
@@ -912,22 +719,6 @@ const messages = {
912
719
  isSelectedItem: 'Added',
913
720
  selected: '{{count}} selected',
914
721
  },
915
- blogPosts: {
916
- blog1: {
917
- text: 'Forslag til årsplaner fra NDLA',
918
- externalLink: 'https://blogg.ndla.no/2021/08/forslag-til-arsplaner-hos-ndla/',
919
- linkText: 'Fagblogg',
920
- license: 'CC-BY-SA-4.0',
921
- licenseAuthor: 'Vibeke Klungland',
922
- },
923
- blog2: {
924
- text: 'Huskeliste for kontaktlærere',
925
- externalLink: 'https://blogg.ndla.no/2019/08/huskeliste-for-kontaktlaerere/',
926
- linkText: 'Fagblogg',
927
- license: 'CC-BY-SA-4.0',
928
- licenseAuthor: 'Tom Knudsen',
929
- },
930
- },
931
722
  editor: {
932
723
  versionHistory: {
933
724
  who: 'Who',
@@ -951,26 +742,13 @@ const messages = {
951
742
  text: 'is created by',
952
743
  },
953
744
  },
954
- frontPageToolbox: {
955
- heading: 'Toolbox',
956
- text: 'Do you want to become good at presenting, or do you want to learn to study smarter using the right study technique? Need advice on how to read most effectively for the exam? In the NDLA Toolbox you will find lots of great tips and advice!',
957
- linkTextStudents: 'See all tips for students here',
958
- linkTextTeachers: 'See all tips for teachers here',
959
- cursorText: 'Tip',
960
- },
961
745
  frontpageMultidisciplinarySubject: {
962
746
  heading: 'Interdisciplinary topics',
963
747
  text: 'The three interdisciplinary topics in the curriculum are based on current societal challenges that require the involvement and efforts of individuals and the community in the local community, nationally and globally.',
964
- linkText: 'See cases for multidisciplinary topics',
965
- publicHealthTopic: 'Public health and life management',
966
- democracyTopic: 'Democracy and citizenship',
967
- sustainableTopic: 'Sustainable development',
968
- cursorText: 'New',
969
748
  },
970
749
  frontpageMenu: {
971
750
  program: 'Education programme',
972
751
  allsubjects: 'All subjects',
973
- cursorText: 'Have a look at some new learning resources from our new subjects!',
974
752
  },
975
753
  navigation: {
976
754
  showLongerDescription: 'Show topic description',
@@ -983,10 +761,6 @@ const messages = {
983
761
  multidisciplinarySubject: {
984
762
  subjectsLinksDescription: 'Case in',
985
763
  },
986
- multibutton: {
987
- open: 'Open menu',
988
- close: 'Close menu',
989
- },
990
764
  cancel: 'Cancel',
991
765
  close: 'Close',
992
766
  loading: 'Loading',
@@ -1075,7 +849,6 @@ const messages = {
1075
849
  fileTypesNotSupported: 'Filetype(s) not supported: {{fileTypes}}',
1076
850
  download: 'Download file: ',
1077
851
  expandButton: 'Show large version',
1078
- ...contributorTypes.en,
1079
852
  filterButtons: {
1080
853
  removeAllFilters: 'Remove filters',
1081
854
  },
@@ -1118,11 +891,6 @@ const messages = {
1118
891
  'If any information is wrong, it must be updated by the host organization/school owner the user belongs to. An overview of available user support can be found here: ',
1119
892
  moderator: 'Moderator',
1120
893
  },
1121
- checkOutNewFeature: 'New feature',
1122
- slateBlockMenu: {
1123
- open: 'Open menu',
1124
- close: 'Close menu',
1125
- },
1126
894
  factbox: {
1127
895
  open: 'Open fact box',
1128
896
  close: 'Close fact box',
@@ -1366,26 +1134,6 @@ const messages = {
1366
1134
  title: 'Recent posts in the arena',
1367
1135
  link: 'View all posts in the arena',
1368
1136
  },
1369
- storageInfo: {
1370
- title: 'How to save your favourite resources from NDLA',
1371
- text: 'Use the heart button to save a resource. You will then get an option to store the resource in a folder.',
1372
- },
1373
- sharing: {
1374
- title: 'Teachers can now share folders',
1375
- text: 'Use the share button to get a link you can share.',
1376
- },
1377
- favoriteSubjects: {
1378
- title: 'How to save your favorite subjects from NDLA',
1379
- text: 'Use the heart button to save a subject. You will then get the opportunity to save your favorite subjects for later. You can find them again at a later date in My NDLA or on the all subjects page.',
1380
- },
1381
- folderInfo: {
1382
- title: 'How to organise your favourite resources in folders',
1383
- text: 'Choose <strong>My folders</strong> to create new folders and subfolders. You can also create a new folder in the dialogue window that is activated when you mark the heart in a resource.',
1384
- },
1385
- tagInfo: {
1386
- title: 'How to tag your favourite resources',
1387
- text: 'When you save a resource, you will have the option to tag it with a keyword. This tag can be used to find the resource across folders. By selecting <strong>My tags</strong> on the menu to the left, you will see all the tags your have used. You can also see which resources are tagget with which keyword.',
1388
- },
1389
1137
  recentArenaTopics: 'New posts in the arena',
1390
1138
  },
1391
1139
  myProfile: {
@@ -1469,8 +1217,6 @@ const messages = {
1469
1217
  },
1470
1218
  siteNav: {
1471
1219
  search: 'Search',
1472
- contact: 'Contact',
1473
- help: 'Help',
1474
1220
  },
1475
1221
  programmes: {
1476
1222
  header: 'What do you want to learn today?',