@ndla/ui 30.0.2 → 30.0.6

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 (518) hide show
  1. package/es/Animation/DisplayOnPageYOffset.js +6 -4
  2. package/es/Animation/Fade.js +12 -6
  3. package/es/Article/Article.js +91 -68
  4. package/es/Article/ArticleAccessMessage.js +12 -8
  5. package/es/Article/ArticleByline.js +88 -70
  6. package/es/Article/ArticleContent.js +8 -3
  7. package/es/Article/ArticleFavoritesButton.js +18 -16
  8. package/es/Article/ArticleFootNotes.js +28 -20
  9. package/es/Article/ArticleHeaderWrapper.js +42 -29
  10. package/es/Article/ArticleNotions.js +58 -50
  11. package/es/Article/ArticleSideBar.js +53 -43
  12. package/es/Aside/Aside.js +13 -5
  13. package/es/AudioPlayer/AudioPlayer.js +99 -93
  14. package/es/AudioPlayer/Controls.js +181 -192
  15. package/es/AudioPlayer/SpeechControl.js +20 -18
  16. package/es/AudioPlayer/initAudioPlayers.js +4 -3
  17. package/es/AuthorInfo/AuthorInfo.js +23 -17
  18. package/es/BannerCard/BannerCard.js +27 -29
  19. package/es/BlogPosts/BlogPost.js +33 -28
  20. package/es/BlogPosts/BlogPostWrapper.js +6 -7
  21. package/es/Breadcrumb/ActionBreadcrumb.js +22 -34
  22. package/es/Breadcrumb/Breadcrumb.js +30 -33
  23. package/es/Breadcrumb/BreadcrumbItem.js +24 -28
  24. package/es/Breadcrumb/HeaderBreadcrumb.js +18 -29
  25. package/es/Breadcrumb/HomeBreadcrumb.js +28 -43
  26. package/es/Breadcrumblist/Breadcrumblist.js +62 -61
  27. package/es/CompetenceGoalTab/CompetenceGoalItem.js +33 -34
  28. package/es/CompetenceGoalTab/CompetenceGoalTab.js +44 -40
  29. package/es/CompetenceGoalTab/CompetenceItem.js +66 -63
  30. package/es/CompetenceGoalTab/SearchButton.js +20 -16
  31. package/es/CompetenceGoals/CompetenceGoalsDialog.js +41 -29
  32. package/es/ComponentCursor/ComponentCursor.js +19 -34
  33. package/es/ContentCard/ContentCard.js +38 -35
  34. package/es/ContentLoader/index.js +57 -43
  35. package/es/ContentPlaceholder/ContentPlaceholder.js +8 -11
  36. package/es/ContentTypeBadge/ContentTypeBadge.js +27 -20
  37. package/es/CopyParagraphButton/CopyParagraphButton.js +32 -30
  38. package/es/CopyParagraphButton/initCopyParagraphButtons.js +3 -2
  39. package/es/CreatedBy/CreatedBy.js +24 -23
  40. package/es/Dialog/Dialog.js +23 -12
  41. package/es/ErrorMessage/ErrorMessage.js +46 -34
  42. package/es/ErrorMessage/ErrorResourceAccessDenied.js +14 -13
  43. package/es/FactBox/FactBox.js +20 -11
  44. package/es/Figure/Figure.js +72 -34
  45. package/es/Figure/FigureBylineExpandButton.js +11 -8
  46. package/es/Figure/FigureExpandButton.js +11 -8
  47. package/es/Figure/FigureLicense.js +42 -24
  48. package/es/Figure/FigureLicenseDialog.js +27 -15
  49. package/es/Figure/FigureOpenDialogButton.js +29 -26
  50. package/es/FileList/File.js +24 -22
  51. package/es/FileList/FileList.js +17 -17
  52. package/es/Filter/FilterButtons.js +112 -87
  53. package/es/Filter/FilterCarousel.js +52 -48
  54. package/es/Filter/FilterList.js +74 -51
  55. package/es/Filter/FilterListPhone.js +152 -110
  56. package/es/Filter/ToggleItem.js +24 -13
  57. package/es/Footer/EditorName.js +8 -2
  58. package/es/Footer/Footer.js +40 -34
  59. package/es/Footer/FooterAuth.js +51 -54
  60. package/es/Footer/FooterLinks.js +43 -36
  61. package/es/Footer/FooterPrivacy.js +30 -24
  62. package/es/Footer/FooterText.js +5 -5
  63. package/es/Footer/privacy_en.js +36 -2
  64. package/es/Footer/privacy_nb.js +36 -2
  65. package/es/Footer/privacy_nn.js +34 -2
  66. package/es/Frontpage/FrontpageAllSubjects.js +75 -64
  67. package/es/Frontpage/FrontpageFilm.js +27 -27
  68. package/es/Frontpage/FrontpageHeader.js +20 -21
  69. package/es/Frontpage/FrontpageInfo.js +5 -5
  70. package/es/Frontpage/FrontpageMultidisciplinarySubject.js +41 -40
  71. package/es/Frontpage/FrontpageProgramMenu.js +53 -53
  72. package/es/Frontpage/FrontpageSearch.js +42 -41
  73. package/es/Frontpage/FrontpageToolbox.js +29 -27
  74. package/es/Frontpage/illustrations/Fellesfag.js +85 -81
  75. package/es/Frontpage/illustrations/FrontpageHeaderIllustration.js +100 -87
  76. package/es/Frontpage/illustrations/FrontpageIllustrations.js +2 -6
  77. package/es/Frontpage/illustrations/FrontpageSubjectIllustration.js +162 -155
  78. package/es/Frontpage/illustrations/MenuFellesfag.js +66 -61
  79. package/es/Frontpage/illustrations/MenuStudiespesialiserende.js +63 -59
  80. package/es/Frontpage/illustrations/MenuYrkesfag.js +93 -89
  81. package/es/Frontpage/illustrations/Studiespesialiserende.js +73 -69
  82. package/es/Frontpage/illustrations/Yrkesfag.js +104 -100
  83. package/es/Hero/Hero.js +17 -10
  84. package/es/Image/Image.js +35 -24
  85. package/es/Image/ImageLink.js +11 -7
  86. package/es/Image/LazyLoadImage.js +29 -21
  87. package/es/InfoBlock/InfoBlock.js +18 -17
  88. package/es/InfoBox/InfoBox.js +5 -5
  89. package/es/InfoWidget/InfoWidget.js +54 -58
  90. package/es/LanguageSelector/LanguageSelector.js +54 -67
  91. package/es/LanguageSelector/LanguageSelectorContent.js +30 -32
  92. package/es/Layout/Content.js +6 -4
  93. package/es/Layout/LayoutItem.js +18 -13
  94. package/es/Layout/OneColumn.js +6 -4
  95. package/es/Layout/PageContainer.js +12 -3
  96. package/es/LearningPaths/LearningPathContent.js +5 -5
  97. package/es/LearningPaths/LearningPathInformation.js +25 -25
  98. package/es/LearningPaths/LearningPathLastStepNavigation.js +32 -28
  99. package/es/LearningPaths/LearningPathMenu.js +48 -47
  100. package/es/LearningPaths/LearningPathMenuAside.js +30 -43
  101. package/es/LearningPaths/LearningPathMenuAsideCopyright.js +16 -15
  102. package/es/LearningPaths/LearningPathMenuContent.js +38 -39
  103. package/es/LearningPaths/LearningPathMenuIntro.js +25 -31
  104. package/es/LearningPaths/LearningPathMenuModalWrapper.js +29 -18
  105. package/es/LearningPaths/LearningPathMobileHeader.js +12 -19
  106. package/es/LearningPaths/LearningPathMobileStepInfo.js +8 -8
  107. package/es/LearningPaths/LearningPathSticky.js +22 -22
  108. package/es/LearningPaths/LearningPathWrapper.js +8 -13
  109. package/es/Logo/Logo.js +25 -12
  110. package/es/Logo/SvgLogo.js +25 -18
  111. package/es/Masthead/Masthead.js +34 -38
  112. package/es/Masthead/MastheadAuthModal.js +13 -9
  113. package/es/Masthead/MastheadSearchModal.js +31 -32
  114. package/es/Masthead/SkipToMainContent.js +6 -7
  115. package/es/MediaList/MediaList.js +58 -38
  116. package/es/Messages/MessageBanner.js +15 -19
  117. package/es/Messages/MessageBox.js +41 -50
  118. package/es/Messages/MessageBoxTag.js +5 -5
  119. package/es/MultidisciplinarySubject/Illustrations.js +7 -21
  120. package/es/MultidisciplinarySubject/List.js +19 -16
  121. package/es/MultidisciplinarySubject/ListItem.js +30 -32
  122. package/es/MultidisciplinarySubject/MultidisciplinarySubject.js +40 -34
  123. package/es/MultidisciplinarySubject/MultidisciplinarySubjectHeader.js +37 -33
  124. package/es/MyNdla/Resource/Folder.js +46 -63
  125. package/es/MyNdla/Resource/FolderInput.js +40 -38
  126. package/es/NDLAFilm/AboutNdlaFilm.js +38 -21
  127. package/es/NDLAFilm/AllMoviesAlphabetically.js +47 -55
  128. package/es/NDLAFilm/CategorySelect.js +64 -52
  129. package/es/NDLAFilm/FilmContentCard.js +25 -26
  130. package/es/NDLAFilm/FilmContentCardTags.js +10 -12
  131. package/es/NDLAFilm/FilmMovieList.js +28 -23
  132. package/es/NDLAFilm/FilmMovieSearch.js +33 -24
  133. package/es/NDLAFilm/FilmSlideshow.js +73 -59
  134. package/es/NDLAFilm/MovieGrid.js +26 -23
  135. package/es/NDLAFilm/NavigationArrow.js +19 -29
  136. package/es/NDLAFilm/SlideshowIndicator.js +15 -17
  137. package/es/NDLAFilm/VisualElement.js +4 -6
  138. package/es/NDLAFilm/filmStyles.js +2 -6
  139. package/es/Navigation/NavigationBox.js +90 -111
  140. package/es/Navigation/NavigationHeading.js +15 -15
  141. package/es/Navigation/NavigationTopicAbout.js +60 -57
  142. package/es/NoContentBox/NoContentBox.js +16 -5
  143. package/es/Notion/ConceptNotion.js +68 -55
  144. package/es/Notion/FigureNotion.js +40 -41
  145. package/es/Notion/Notion.js +23 -20
  146. package/es/Notion/NotionImage.js +18 -19
  147. package/es/Notion/NotionVisualElement.js +18 -17
  148. package/es/Portrait/Portrait.js +12 -21
  149. package/es/Programme/Programme.js +32 -27
  150. package/es/Programme/ProgrammeSubjects.js +27 -22
  151. package/es/RadioButtonGroup/RadioButtonGroup.js +31 -32
  152. package/es/RelatedArticleList/RelatedArticleList.js +42 -22
  153. package/es/Resource/BlockResource.js +85 -84
  154. package/es/Resource/ListResource.js +107 -108
  155. package/es/Resource/resourceComponents.js +56 -76
  156. package/es/ResourceBox/ResourceBox.js +28 -30
  157. package/es/ResourceGroup/ResourceGroup.js +21 -21
  158. package/es/ResourceGroup/ResourceItem.js +77 -79
  159. package/es/ResourceGroup/ResourceList.js +35 -32
  160. package/es/ResourcesWrapper/ResourcesTitle.js +17 -5
  161. package/es/ResourcesWrapper/ResourcesTopicTitle.js +76 -49
  162. package/es/ResourcesWrapper/ResourcesWrapper.js +15 -6
  163. package/es/Search/ActiveFilterContent.js +10 -10
  164. package/es/Search/ActiveFilters.js +33 -43
  165. package/es/Search/ContentTypeResult.js +96 -69
  166. package/es/Search/ContentTypeResultStyles.js +15 -59
  167. package/es/Search/LoadingWrapper.js +12 -7
  168. package/es/Search/SearchField.js +55 -50
  169. package/es/Search/SearchFieldForm.js +9 -18
  170. package/es/Search/SearchResult.js +101 -73
  171. package/es/Search/SearchResultSleeve.js +78 -64
  172. package/es/Search/ToggleSearchButton.js +15 -10
  173. package/es/SearchTypeResult/ActiveFilterContent.js +10 -10
  174. package/es/SearchTypeResult/ActiveFilters.js +50 -53
  175. package/es/SearchTypeResult/PopupFilter.js +68 -65
  176. package/es/SearchTypeResult/ResultNavigation.js +29 -28
  177. package/es/SearchTypeResult/SearchFieldHeader.js +53 -57
  178. package/es/SearchTypeResult/SearchFilterContent.js +19 -18
  179. package/es/SearchTypeResult/SearchHeader.js +60 -48
  180. package/es/SearchTypeResult/SearchItem.js +52 -45
  181. package/es/SearchTypeResult/SearchItemList.js +56 -54
  182. package/es/SearchTypeResult/SearchItems.js +16 -18
  183. package/es/SearchTypeResult/SearchNotionItem.js +86 -77
  184. package/es/SearchTypeResult/SearchNotionsResult.js +20 -19
  185. package/es/SearchTypeResult/SearchSubjectItem.js +19 -15
  186. package/es/SearchTypeResult/SearchSubjectResult.js +10 -12
  187. package/es/SearchTypeResult/SearchTypeHeader.js +53 -51
  188. package/es/SearchTypeResult/SearchTypeResult.js +24 -17
  189. package/es/SearchTypeResult/SearchViewType.js +42 -39
  190. package/es/SearchTypeResult/components/ItemContexts.js +65 -58
  191. package/es/SearchTypeResult/components/ItemResourceHeader.js +41 -38
  192. package/es/SearchTypeResult/components/ItemTopicHeader.js +24 -23
  193. package/es/SearchTypeResult/components/SubjectFilters.js +32 -21
  194. package/es/SectionHeading/SectionHeading.js +9 -16
  195. package/es/SnackBar/DefaultSnackbar.js +18 -18
  196. package/es/SnackBar/SnackbarProvider.js +24 -26
  197. package/es/Subject/Subject.js +52 -54
  198. package/es/Subject/SubjectAbout.js +27 -36
  199. package/es/Subject/SubjectArchive.js +64 -57
  200. package/es/Subject/SubjectBanner.js +3 -5
  201. package/es/Subject/SubjectCarousel.js +94 -93
  202. package/es/Subject/SubjectHeader.js +20 -25
  203. package/es/Subject/SubjectLinks.js +26 -15
  204. package/es/Subject/SubjectNewContent.js +37 -35
  205. package/es/Subject/SubjectShortcuts.js +32 -27
  206. package/es/Subject/SubjectSocial.js +12 -9
  207. package/es/Table/Table.js +39 -21
  208. package/es/TagSelector/Control.js +11 -14
  209. package/es/TagSelector/DropdownIndicator.js +15 -11
  210. package/es/TagSelector/Input.js +9 -8
  211. package/es/TagSelector/Menu.js +12 -9
  212. package/es/TagSelector/MenuList.js +11 -14
  213. package/es/TagSelector/Option.js +13 -10
  214. package/es/TagSelector/SelectContainer.js +11 -12
  215. package/es/TagSelector/TagSelector.js +49 -50
  216. package/es/TagSelector/ValueButton.js +15 -9
  217. package/es/ToolboxPage/ToolboxInfo.js +18 -14
  218. package/es/Topic/Loader.js +97 -95
  219. package/es/Topic/Topic.js +128 -121
  220. package/es/TopicIntroductionList/TopicIntroduction.js +51 -36
  221. package/es/TopicIntroductionList/TopicIntroductionList.js +29 -22
  222. package/es/TopicIntroductionList/TopicIntroductionShortcuts.js +29 -16
  223. package/es/TopicIntroductionList/TopicShortcutItem.js +22 -12
  224. package/es/TopicMenu/SubtopicLinkList.js +109 -101
  225. package/es/TopicMenu/TopicMenu.js +202 -139
  226. package/es/TopicMenu/TopicMenuButton.js +14 -10
  227. package/es/Translation/Translation.js +16 -2
  228. package/es/Translation/TranslationBox.js +10 -8
  229. package/es/Translation/TranslationLine.js +23 -7
  230. package/es/TreeStructure/AddFolderButton.js +33 -34
  231. package/es/TreeStructure/ComboboxButton.js +32 -32
  232. package/es/TreeStructure/FolderItem.js +55 -58
  233. package/es/TreeStructure/FolderItems.js +59 -51
  234. package/es/TreeStructure/NavigationLink.js +10 -17
  235. package/es/TreeStructure/TreeStructure.js +64 -75
  236. package/es/User/AuthModal.js +48 -45
  237. package/es/User/UserInfo.js +51 -40
  238. package/es/internal-icons/Book.js +8 -6
  239. package/es/internal-icons/Download.js +9 -7
  240. package/es/internal-icons/Embed.js +8 -6
  241. package/es/internal-icons/InsertTemplate.js +8 -6
  242. package/es/internal-icons/OpenWindow.js +8 -6
  243. package/es/locale/LocaleProvider.js +13 -7
  244. package/es/locale/messages-en.js +1 -1
  245. package/es/locale/messages-nb.js +1 -1
  246. package/es/locale/messages-nn.js +1 -1
  247. package/es/locale/messages-se.js +1 -1
  248. package/es/locale/messages-sma.js +1 -1
  249. package/es/model/SubjectTypes.js +1 -0
  250. package/es/utils/createUniversalPortal.js +6 -4
  251. package/lib/Animation/DisplayOnPageYOffset.js +6 -5
  252. package/lib/Animation/Fade.js +12 -7
  253. package/lib/Article/Article.js +91 -69
  254. package/lib/Article/ArticleAccessMessage.js +11 -9
  255. package/lib/Article/ArticleByline.js +87 -71
  256. package/lib/Article/ArticleContent.js +8 -4
  257. package/lib/Article/ArticleFavoritesButton.js +18 -17
  258. package/lib/Article/ArticleFootNotes.js +27 -21
  259. package/lib/Article/ArticleHeaderWrapper.js +42 -30
  260. package/lib/Article/ArticleNotions.js +58 -51
  261. package/lib/Article/ArticleSideBar.js +52 -44
  262. package/lib/Aside/Aside.js +13 -6
  263. package/lib/AudioPlayer/AudioPlayer.js +98 -94
  264. package/lib/AudioPlayer/Controls.js +181 -193
  265. package/lib/AudioPlayer/SpeechControl.js +20 -19
  266. package/lib/AudioPlayer/initAudioPlayers.js +4 -4
  267. package/lib/AuthorInfo/AuthorInfo.js +23 -18
  268. package/lib/BannerCard/BannerCard.js +27 -30
  269. package/lib/BlogPosts/BlogPost.js +32 -29
  270. package/lib/BlogPosts/BlogPostWrapper.js +7 -8
  271. package/lib/Breadcrumb/ActionBreadcrumb.js +23 -34
  272. package/lib/Breadcrumb/Breadcrumb.js +31 -34
  273. package/lib/Breadcrumb/BreadcrumbItem.js +24 -27
  274. package/lib/Breadcrumb/HeaderBreadcrumb.js +18 -29
  275. package/lib/Breadcrumb/HomeBreadcrumb.js +29 -37
  276. package/lib/Breadcrumblist/Breadcrumblist.js +61 -62
  277. package/lib/CompetenceGoalTab/CompetenceGoalItem.js +33 -35
  278. package/lib/CompetenceGoalTab/CompetenceGoalTab.js +44 -41
  279. package/lib/CompetenceGoalTab/CompetenceItem.js +65 -64
  280. package/lib/CompetenceGoalTab/SearchButton.js +20 -17
  281. package/lib/CompetenceGoals/CompetenceGoalsDialog.js +40 -30
  282. package/lib/ComponentCursor/ComponentCursor.js +19 -33
  283. package/lib/ContentCard/ContentCard.js +38 -36
  284. package/lib/ContentLoader/index.js +56 -44
  285. package/lib/ContentPlaceholder/ContentPlaceholder.js +8 -12
  286. package/lib/ContentTypeBadge/ContentTypeBadge.js +27 -21
  287. package/lib/CopyParagraphButton/CopyParagraphButton.js +32 -31
  288. package/lib/CopyParagraphButton/initCopyParagraphButtons.js +3 -3
  289. package/lib/CreatedBy/CreatedBy.js +24 -24
  290. package/lib/Dialog/Dialog.js +22 -13
  291. package/lib/ErrorMessage/ErrorMessage.js +46 -33
  292. package/lib/ErrorMessage/ErrorResourceAccessDenied.js +14 -14
  293. package/lib/FactBox/FactBox.js +19 -12
  294. package/lib/Figure/Figure.js +70 -35
  295. package/lib/Figure/FigureBylineExpandButton.js +10 -9
  296. package/lib/Figure/FigureExpandButton.js +10 -9
  297. package/lib/Figure/FigureLicense.js +40 -25
  298. package/lib/Figure/FigureLicenseDialog.js +26 -16
  299. package/lib/Figure/FigureOpenDialogButton.js +28 -27
  300. package/lib/FileList/File.js +24 -23
  301. package/lib/FileList/FileList.js +17 -18
  302. package/lib/Filter/FilterButtons.js +111 -88
  303. package/lib/Filter/FilterCarousel.js +52 -47
  304. package/lib/Filter/FilterList.js +73 -53
  305. package/lib/Filter/FilterListPhone.js +150 -111
  306. package/lib/Filter/ToggleItem.js +23 -14
  307. package/lib/Footer/EditorName.js +7 -3
  308. package/lib/Footer/Footer.js +39 -35
  309. package/lib/Footer/FooterAuth.js +50 -48
  310. package/lib/Footer/FooterLinks.js +42 -37
  311. package/lib/Footer/FooterPrivacy.js +30 -25
  312. package/lib/Footer/FooterText.js +6 -6
  313. package/lib/Footer/privacy_en.js +35 -3
  314. package/lib/Footer/privacy_nb.js +35 -3
  315. package/lib/Footer/privacy_nn.js +33 -3
  316. package/lib/Frontpage/FrontpageAllSubjects.d.ts +1 -0
  317. package/lib/Frontpage/FrontpageAllSubjects.js +74 -66
  318. package/lib/Frontpage/FrontpageFilm.js +27 -26
  319. package/lib/Frontpage/FrontpageHeader.js +20 -22
  320. package/lib/Frontpage/FrontpageInfo.js +6 -6
  321. package/lib/Frontpage/FrontpageMultidisciplinarySubject.js +41 -41
  322. package/lib/Frontpage/FrontpageProgramMenu.js +53 -54
  323. package/lib/Frontpage/FrontpageSearch.js +42 -42
  324. package/lib/Frontpage/FrontpageToolbox.js +29 -28
  325. package/lib/Frontpage/illustrations/Fellesfag.js +84 -82
  326. package/lib/Frontpage/illustrations/FrontpageHeaderIllustration.js +99 -88
  327. package/lib/Frontpage/illustrations/FrontpageIllustrations.js +2 -6
  328. package/lib/Frontpage/illustrations/FrontpageSubjectIllustration.js +161 -154
  329. package/lib/Frontpage/illustrations/MenuFellesfag.js +65 -62
  330. package/lib/Frontpage/illustrations/MenuStudiespesialiserende.js +62 -60
  331. package/lib/Frontpage/illustrations/MenuYrkesfag.js +92 -90
  332. package/lib/Frontpage/illustrations/Studiespesialiserende.js +72 -70
  333. package/lib/Frontpage/illustrations/Yrkesfag.js +103 -101
  334. package/lib/Hero/Hero.js +17 -11
  335. package/lib/Image/Image.js +35 -25
  336. package/lib/Image/ImageLink.js +12 -8
  337. package/lib/Image/LazyLoadImage.js +27 -22
  338. package/lib/InfoBlock/InfoBlock.js +18 -18
  339. package/lib/InfoBox/InfoBox.js +6 -6
  340. package/lib/InfoWidget/InfoWidget.js +56 -59
  341. package/lib/LanguageSelector/LanguageSelector.js +54 -66
  342. package/lib/LanguageSelector/LanguageSelectorContent.js +30 -32
  343. package/lib/Layout/Content.js +6 -5
  344. package/lib/Layout/LayoutItem.js +18 -14
  345. package/lib/Layout/OneColumn.js +6 -5
  346. package/lib/Layout/PageContainer.js +12 -11
  347. package/lib/LearningPaths/LearningPathContent.js +6 -6
  348. package/lib/LearningPaths/LearningPathInformation.js +25 -26
  349. package/lib/LearningPaths/LearningPathLastStepNavigation.js +32 -27
  350. package/lib/LearningPaths/LearningPathMenu.js +47 -46
  351. package/lib/LearningPaths/LearningPathMenuAside.js +30 -42
  352. package/lib/LearningPaths/LearningPathMenuAsideCopyright.js +16 -16
  353. package/lib/LearningPaths/LearningPathMenuContent.js +38 -38
  354. package/lib/LearningPaths/LearningPathMenuIntro.js +25 -30
  355. package/lib/LearningPaths/LearningPathMenuModalWrapper.js +27 -17
  356. package/lib/LearningPaths/LearningPathMobileHeader.js +12 -19
  357. package/lib/LearningPaths/LearningPathMobileStepInfo.js +9 -9
  358. package/lib/LearningPaths/LearningPathSticky.js +22 -21
  359. package/lib/LearningPaths/LearningPathWrapper.js +9 -12
  360. package/lib/Logo/Logo.js +23 -21
  361. package/lib/Logo/SvgLogo.js +24 -19
  362. package/lib/Masthead/Masthead.js +33 -37
  363. package/lib/Masthead/MastheadAuthModal.js +13 -10
  364. package/lib/Masthead/MastheadSearchModal.js +30 -31
  365. package/lib/Masthead/SkipToMainContent.js +7 -8
  366. package/lib/MediaList/MediaList.js +58 -40
  367. package/lib/Messages/MessageBanner.js +15 -20
  368. package/lib/Messages/MessageBox.js +41 -49
  369. package/lib/Messages/MessageBoxTag.js +6 -6
  370. package/lib/MultidisciplinarySubject/Illustrations.js +7 -21
  371. package/lib/MultidisciplinarySubject/List.js +19 -17
  372. package/lib/MultidisciplinarySubject/ListItem.js +30 -33
  373. package/lib/MultidisciplinarySubject/MultidisciplinarySubject.js +39 -35
  374. package/lib/MultidisciplinarySubject/MultidisciplinarySubjectHeader.js +36 -34
  375. package/lib/MyNdla/Resource/Folder.js +46 -61
  376. package/lib/MyNdla/Resource/FolderInput.js +39 -32
  377. package/lib/NDLAFilm/AboutNdlaFilm.js +38 -22
  378. package/lib/NDLAFilm/AllMoviesAlphabetically.js +47 -54
  379. package/lib/NDLAFilm/CategorySelect.js +64 -51
  380. package/lib/NDLAFilm/FilmContentCard.js +25 -27
  381. package/lib/NDLAFilm/FilmContentCardTags.js +11 -13
  382. package/lib/NDLAFilm/FilmMovieList.js +28 -24
  383. package/lib/NDLAFilm/FilmMovieSearch.js +33 -25
  384. package/lib/NDLAFilm/FilmSlideshow.js +72 -58
  385. package/lib/NDLAFilm/MovieGrid.js +26 -24
  386. package/lib/NDLAFilm/NavigationArrow.js +20 -28
  387. package/lib/NDLAFilm/SlideshowIndicator.js +16 -18
  388. package/lib/NDLAFilm/VisualElement.js +5 -7
  389. package/lib/NDLAFilm/filmStyles.js +2 -6
  390. package/lib/Navigation/NavigationBox.js +90 -110
  391. package/lib/Navigation/NavigationHeading.js +15 -14
  392. package/lib/Navigation/NavigationTopicAbout.js +59 -56
  393. package/lib/NoContentBox/NoContentBox.js +15 -6
  394. package/lib/Notion/ConceptNotion.js +67 -50
  395. package/lib/Notion/FigureNotion.js +40 -37
  396. package/lib/Notion/Notion.js +22 -21
  397. package/lib/Notion/NotionImage.js +19 -20
  398. package/lib/Notion/NotionVisualElement.js +19 -16
  399. package/lib/Portrait/Portrait.js +13 -21
  400. package/lib/Programme/Programme.js +32 -28
  401. package/lib/Programme/ProgrammeSubjects.js +26 -23
  402. package/lib/RadioButtonGroup/RadioButtonGroup.js +31 -33
  403. package/lib/RelatedArticleList/RelatedArticleList.js +41 -23
  404. package/lib/Resource/BlockResource.js +84 -78
  405. package/lib/Resource/ListResource.js +106 -102
  406. package/lib/Resource/resourceComponents.js +55 -70
  407. package/lib/ResourceBox/ResourceBox.js +28 -31
  408. package/lib/ResourceGroup/ResourceGroup.js +21 -22
  409. package/lib/ResourceGroup/ResourceItem.js +76 -78
  410. package/lib/ResourceGroup/ResourceList.js +35 -31
  411. package/lib/ResourcesWrapper/ResourcesTitle.js +16 -13
  412. package/lib/ResourcesWrapper/ResourcesTopicTitle.js +75 -48
  413. package/lib/ResourcesWrapper/ResourcesWrapper.js +14 -7
  414. package/lib/Search/ActiveFilterContent.js +10 -11
  415. package/lib/Search/ActiveFilters.js +34 -42
  416. package/lib/Search/ContentTypeResult.js +92 -68
  417. package/lib/Search/ContentTypeResultStyles.js +15 -59
  418. package/lib/Search/LoadingWrapper.js +12 -8
  419. package/lib/Search/SearchField.js +57 -51
  420. package/lib/Search/SearchFieldForm.js +10 -17
  421. package/lib/Search/SearchResult.js +101 -74
  422. package/lib/Search/SearchResultSleeve.js +78 -65
  423. package/lib/Search/ToggleSearchButton.js +15 -11
  424. package/lib/SearchTypeResult/ActiveFilterContent.js +10 -11
  425. package/lib/SearchTypeResult/ActiveFilters.js +50 -52
  426. package/lib/SearchTypeResult/PopupFilter.js +68 -66
  427. package/lib/SearchTypeResult/ResultNavigation.js +29 -29
  428. package/lib/SearchTypeResult/SearchFieldHeader.js +53 -58
  429. package/lib/SearchTypeResult/SearchFilterContent.js +19 -19
  430. package/lib/SearchTypeResult/SearchHeader.js +59 -49
  431. package/lib/SearchTypeResult/SearchItem.js +51 -46
  432. package/lib/SearchTypeResult/SearchItemList.js +55 -55
  433. package/lib/SearchTypeResult/SearchItems.js +17 -19
  434. package/lib/SearchTypeResult/SearchNotionItem.js +85 -78
  435. package/lib/SearchTypeResult/SearchNotionsResult.js +20 -20
  436. package/lib/SearchTypeResult/SearchSubjectItem.js +18 -16
  437. package/lib/SearchTypeResult/SearchSubjectResult.js +11 -13
  438. package/lib/SearchTypeResult/SearchTypeHeader.js +54 -53
  439. package/lib/SearchTypeResult/SearchTypeResult.js +24 -25
  440. package/lib/SearchTypeResult/SearchViewType.js +42 -40
  441. package/lib/SearchTypeResult/components/ItemContexts.js +64 -59
  442. package/lib/SearchTypeResult/components/ItemResourceHeader.js +40 -39
  443. package/lib/SearchTypeResult/components/ItemTopicHeader.js +23 -24
  444. package/lib/SearchTypeResult/components/SubjectFilters.js +31 -22
  445. package/lib/SectionHeading/SectionHeading.js +10 -15
  446. package/lib/SnackBar/DefaultSnackbar.js +18 -19
  447. package/lib/SnackBar/SnackbarProvider.js +24 -25
  448. package/lib/Subject/Subject.js +52 -53
  449. package/lib/Subject/SubjectAbout.js +27 -35
  450. package/lib/Subject/SubjectArchive.js +63 -58
  451. package/lib/Subject/SubjectBanner.js +4 -6
  452. package/lib/Subject/SubjectCarousel.js +96 -96
  453. package/lib/Subject/SubjectHeader.js +20 -24
  454. package/lib/Subject/SubjectLinks.js +26 -16
  455. package/lib/Subject/SubjectNewContent.js +37 -36
  456. package/lib/Subject/SubjectShortcuts.js +32 -28
  457. package/lib/Subject/SubjectSocial.js +12 -10
  458. package/lib/Table/Table.js +38 -22
  459. package/lib/TagSelector/Control.js +12 -8
  460. package/lib/TagSelector/DropdownIndicator.js +16 -12
  461. package/lib/TagSelector/Input.js +8 -6
  462. package/lib/TagSelector/Menu.js +12 -8
  463. package/lib/TagSelector/MenuList.js +12 -8
  464. package/lib/TagSelector/Option.js +13 -11
  465. package/lib/TagSelector/SelectContainer.js +12 -13
  466. package/lib/TagSelector/TagSelector.js +49 -51
  467. package/lib/TagSelector/ValueButton.js +15 -10
  468. package/lib/ToolboxPage/ToolboxInfo.js +17 -15
  469. package/lib/Topic/Loader.js +97 -96
  470. package/lib/Topic/Topic.js +127 -120
  471. package/lib/TopicIntroductionList/TopicIntroduction.js +50 -37
  472. package/lib/TopicIntroductionList/TopicIntroductionList.js +28 -23
  473. package/lib/TopicIntroductionList/TopicIntroductionShortcuts.js +33 -21
  474. package/lib/TopicIntroductionList/TopicShortcutItem.js +21 -13
  475. package/lib/TopicMenu/SubtopicLinkList.js +112 -104
  476. package/lib/TopicMenu/TopicMenu.js +207 -144
  477. package/lib/TopicMenu/TopicMenuButton.js +13 -9
  478. package/lib/Translation/Translation.js +15 -10
  479. package/lib/Translation/TranslationBox.js +11 -9
  480. package/lib/Translation/TranslationLine.js +21 -8
  481. package/lib/TreeStructure/AddFolderButton.js +35 -37
  482. package/lib/TreeStructure/ComboboxButton.js +32 -33
  483. package/lib/TreeStructure/FolderItem.js +55 -59
  484. package/lib/TreeStructure/FolderItems.js +58 -52
  485. package/lib/TreeStructure/NavigationLink.js +10 -11
  486. package/lib/TreeStructure/TreeStructure.js +64 -74
  487. package/lib/User/AuthModal.js +48 -46
  488. package/lib/User/UserInfo.js +52 -36
  489. package/lib/internal-icons/Book.js +8 -7
  490. package/lib/internal-icons/Download.js +9 -8
  491. package/lib/internal-icons/Embed.js +8 -7
  492. package/lib/internal-icons/InsertTemplate.js +8 -7
  493. package/lib/internal-icons/OpenWindow.js +8 -7
  494. package/lib/locale/LocaleProvider.js +12 -8
  495. package/lib/locale/messages-en.d.ts +1 -0
  496. package/lib/locale/messages-en.js +1 -1
  497. package/lib/locale/messages-nb.d.ts +1 -0
  498. package/lib/locale/messages-nb.js +1 -1
  499. package/lib/locale/messages-nn.d.ts +1 -0
  500. package/lib/locale/messages-nn.js +1 -1
  501. package/lib/locale/messages-se.d.ts +1 -0
  502. package/lib/locale/messages-se.js +1 -1
  503. package/lib/locale/messages-sma.d.ts +1 -0
  504. package/lib/locale/messages-sma.js +1 -1
  505. package/lib/model/SubjectTypes.d.ts +1 -0
  506. package/lib/model/SubjectTypes.js +3 -1
  507. package/lib/utils/createUniversalPortal.js +6 -5
  508. package/package.json +15 -15
  509. package/src/AudioPlayer/Controls.tsx +2 -2
  510. package/src/AudioPlayer/SpeechControl.tsx +2 -2
  511. package/src/Frontpage/FrontpageAllSubjects.tsx +8 -7
  512. package/src/locale/messages-en.ts +1 -0
  513. package/src/locale/messages-nb.ts +1 -0
  514. package/src/locale/messages-nn.ts +1 -0
  515. package/src/locale/messages-se.ts +1 -0
  516. package/src/locale/messages-sma.ts +1 -0
  517. package/src/model/SubjectTypes.ts +1 -0
  518. package/src/.DS_Store +0 -0
@@ -1,4 +1,6 @@
1
1
  import _styled from "@emotion/styled/base";
2
+ import { jsxs as _jsxs } from "@emotion/react/jsx-runtime";
3
+ import { jsx as _jsx } from "@emotion/react/jsx-runtime";
2
4
 
3
5
  /**
4
6
  * Copyright (c) 2016-present, NDLA.
@@ -14,30 +16,25 @@ import { OneColumn } from '../Layout';
14
16
  import PrivacyNb from './privacy_nb';
15
17
  import PrivacyNn from './privacy_nn';
16
18
  import PrivacyEn from './privacy_en';
17
- import { jsx as ___EmotionJSX } from "@emotion/react";
18
19
 
19
20
  var privacyTexts = function privacyTexts(lang) {
20
21
  if (lang === 'nn') {
21
- return ___EmotionJSX(PrivacyNn, null);
22
+ return _jsx(PrivacyNn, {});
22
23
  }
23
24
 
24
25
  if (lang === 'en') {
25
- return ___EmotionJSX(PrivacyEn, null);
26
+ return _jsx(PrivacyEn, {});
26
27
  }
27
28
 
28
- return ___EmotionJSX(PrivacyNb, null);
29
+ return _jsx(PrivacyNb, {});
29
30
  };
30
31
 
31
- var StyledPrivacyButton = /*#__PURE__*/_styled("button", process.env.NODE_ENV === "production" ? {
32
- target: "e1yo4d831"
33
- } : {
32
+ var StyledPrivacyButton = /*#__PURE__*/_styled("button", {
34
33
  target: "e1yo4d831",
35
34
  label: "StyledPrivacyButton"
36
35
  })("background:none;color:#fff;border:0;padding:0;box-shadow:", misc.textLinkBoxShadow, ";cursor:pointer;margin-bottom:", spacing.large, ";&:hover,&:focus{box-shadow:none;}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkZvb3RlclByaXZhY3kudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtDeUMiLCJmaWxlIjoiRm9vdGVyUHJpdmFjeS50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIENvcHlyaWdodCAoYykgMjAxNi1wcmVzZW50LCBORExBLlxuICpcbiAqIFRoaXMgc291cmNlIGNvZGUgaXMgbGljZW5zZWQgdW5kZXIgdGhlIEdQTHYzIGxpY2Vuc2UgZm91bmQgaW4gdGhlXG4gKiBMSUNFTlNFIGZpbGUgaW4gdGhlIHJvb3QgZGlyZWN0b3J5IG9mIHRoaXMgc291cmNlIHRyZWUuXG4gKlxuICovXG5cbmltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCc7XG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgTW9kYWwsIHsgTW9kYWxIZWFkZXIsIE1vZGFsQm9keSwgTW9kYWxDbG9zZUJ1dHRvbiB9IGZyb20gJ0BuZGxhL21vZGFsJztcbmltcG9ydCB7IHNwYWNpbmcsIGZvbnRzLCBtaXNjLCBtcSwgYnJlYWtwb2ludHMgfSBmcm9tICdAbmRsYS9jb3JlJztcbmltcG9ydCB7IE9uZUNvbHVtbiB9IGZyb20gJy4uL0xheW91dCc7XG5pbXBvcnQgeyBMb2NhbGUgfSBmcm9tICcuLi90eXBlcyc7XG5cbmltcG9ydCBQcml2YWN5TmIgZnJvbSAnLi9wcml2YWN5X25iJztcbmltcG9ydCBQcml2YWN5Tm4gZnJvbSAnLi9wcml2YWN5X25uJztcbmltcG9ydCBQcml2YWN5RW4gZnJvbSAnLi9wcml2YWN5X2VuJztcblxudHlwZSBGb290ZXJQcml2YWN5UHJvcHMgPSB7XG4gIGxhYmVsOiBzdHJpbmc7XG4gIGxhbmc6IExvY2FsZTtcbn07XG5cbmNvbnN0IHByaXZhY3lUZXh0cyA9IChsYW5nOiBzdHJpbmcpID0+IHtcbiAgaWYgKGxhbmcgPT09ICdubicpIHtcbiAgICByZXR1cm4gPFByaXZhY3lObiAvPjtcbiAgfVxuICBpZiAobGFuZyA9PT0gJ2VuJykge1xuICAgIHJldHVybiA8UHJpdmFjeUVuIC8+O1xuICB9XG4gIHJldHVybiA8UHJpdmFjeU5iIC8+O1xufTtcblxuY29uc3QgU3R5bGVkUHJpdmFjeUJ1dHRvbiA9IHN0eWxlZC5idXR0b25gXG4gIGJhY2tncm91bmQ6IG5vbmU7XG4gIGNvbG9yOiAjZmZmO1xuICBib3JkZXI6IDA7XG4gIHBhZGRpbmc6IDA7XG4gIGJveC1zaGFkb3c6ICR7bWlzYy50ZXh0TGlua0JveFNoYWRvd307XG4gIGN1cnNvcjogcG9pbnRlcjtcbiAgbWFyZ2luLWJvdHRvbTogJHtzcGFjaW5nLmxhcmdlfTtcbiAgJjpob3ZlcixcbiAgJjpmb2N1cyB7XG4gICAgYm94LXNoYWRvdzogbm9uZTtcbiAgfVxuYDtcbmNvbnN0IFN0eWxlZEZvb3RlclRleHQgPSBzdHlsZWQuZGl2YFxuICBkaXNwbGF5OiBmbGV4O1xuICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICBhbGlnbi1pdGVtczogY2VudGVyO1xuICA+IHNwYW4ge1xuICAgIHBhZGRpbmc6ICR7c3BhY2luZy54c21hbGx9IDA7XG4gICAgdGV4dC1hbGlnbjogY2VudGVyO1xuICB9XG4gICR7bXEucmFuZ2UoeyB1bnRpbDogYnJlYWtwb2ludHMudGFibGV0V2lkZSB9KX0ge1xuICAgICR7Zm9udHMuc2l6ZXMoMTYsIDEuNSl9O1xuICAgID4gc3BhbiB7XG4gICAgICBwYWRkaW5nOiAwO1xuICAgIH1cbiAgfVxuICAke21xLnJhbmdlKHsgdW50aWw6IGJyZWFrcG9pbnRzLm1vYmlsZVdpZGUgfSl9IHtcbiAgICAke2ZvbnRzLnNpemVzKDE0LCAxLjMpfTtcbiAgICA+IHNwYW4ge1xuICAgICAgcGFkZGluZy1ib3R0b206ICR7c3BhY2luZy54c21hbGx9O1xuICAgIH1cbiAgfVxuYDtcblxuY29uc3QgRm9vdGVyUHJpdmFjeSA9ICh7IGxhbmcsIGxhYmVsIH06IEZvb3RlclByaXZhY3lQcm9wcykgPT4gKFxuICA8U3R5bGVkRm9vdGVyVGV4dD5cbiAgICA8TW9kYWxcbiAgICAgIGxhYmVsPXtsYWJlbH1cbiAgICAgIGFjdGl2YXRlQnV0dG9uPXs8U3R5bGVkUHJpdmFjeUJ1dHRvbiB0eXBlPVwiYnV0dG9uXCI+e2xhYmVsfTwvU3R5bGVkUHJpdmFjeUJ1dHRvbj59XG4gICAgICBzaXplPVwiZnVsbHNjcmVlblwiPlxuICAgICAgeyhvbkNsb3NlOiAoKSA9PiB2b2lkKSA9PiAoXG4gICAgICAgIDxPbmVDb2x1bW4gY3NzTW9kaWZpZXI9XCJtZWRpdW1cIj5cbiAgICAgICAgICA8TW9kYWxIZWFkZXI+XG4gICAgICAgICAgICA8TW9kYWxDbG9zZUJ1dHRvbiBvbkNsaWNrPXtvbkNsb3NlfSB0aXRsZT1cIkx1a2tcIiAvPlxuICAgICAgICAgIDwvTW9kYWxIZWFkZXI+XG4gICAgICAgICAgPE1vZGFsQm9keT57cHJpdmFjeVRleHRzKGxhbmcpfTwvTW9kYWxCb2R5PlxuICAgICAgICA8L09uZUNvbHVtbj5cbiAgICAgICl9XG4gICAgPC9Nb2RhbD5cbiAgPC9TdHlsZWRGb290ZXJUZXh0PlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgRm9vdGVyUHJpdmFjeTtcbiJdfQ== */"));
37
36
 
38
- var StyledFooterText = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
39
- target: "e1yo4d830"
40
- } : {
37
+ var StyledFooterText = /*#__PURE__*/_styled("div", {
41
38
  target: "e1yo4d830",
42
39
  label: "StyledFooterText"
43
40
  })("display:flex;flex-direction:column;align-items:center;>span{padding:", spacing.xsmall, " 0;text-align:center;}", mq.range({
@@ -49,20 +46,29 @@ var StyledFooterText = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "pro
49
46
  var FooterPrivacy = function FooterPrivacy(_ref) {
50
47
  var lang = _ref.lang,
51
48
  label = _ref.label;
52
- return ___EmotionJSX(StyledFooterText, null, ___EmotionJSX(Modal, {
53
- label: label,
54
- activateButton: ___EmotionJSX(StyledPrivacyButton, {
55
- type: "button"
56
- }, label),
57
- size: "fullscreen"
58
- }, function (onClose) {
59
- return ___EmotionJSX(OneColumn, {
60
- cssModifier: "medium"
61
- }, ___EmotionJSX(ModalHeader, null, ___EmotionJSX(ModalCloseButton, {
62
- onClick: onClose,
63
- title: "Lukk"
64
- })), ___EmotionJSX(ModalBody, null, privacyTexts(lang)));
65
- }));
49
+ return _jsx(StyledFooterText, {
50
+ children: _jsx(Modal, {
51
+ label: label,
52
+ activateButton: _jsx(StyledPrivacyButton, {
53
+ type: "button",
54
+ children: label
55
+ }),
56
+ size: "fullscreen",
57
+ children: function children(onClose) {
58
+ return _jsxs(OneColumn, {
59
+ cssModifier: "medium",
60
+ children: [_jsx(ModalHeader, {
61
+ children: _jsx(ModalCloseButton, {
62
+ onClick: onClose,
63
+ title: "Lukk"
64
+ })
65
+ }), _jsx(ModalBody, {
66
+ children: privacyTexts(lang)
67
+ })]
68
+ });
69
+ }
70
+ })
71
+ });
66
72
  };
67
73
 
68
74
  export default FooterPrivacy;
@@ -1,4 +1,5 @@
1
1
  import _styled from "@emotion/styled/base";
2
+ import { jsx as _jsx } from "@emotion/react/jsx-runtime";
2
3
 
3
4
  /**
4
5
  * Copyright (c) 2016-present, NDLA.
@@ -9,11 +10,8 @@ import _styled from "@emotion/styled/base";
9
10
  */
10
11
  import React from 'react';
11
12
  import { spacing, fonts, mq, breakpoints } from '@ndla/core';
12
- import { jsx as ___EmotionJSX } from "@emotion/react";
13
13
 
14
- var StyledFooterText = /*#__PURE__*/_styled("p", process.env.NODE_ENV === "production" ? {
15
- target: "e15pmq0g0"
16
- } : {
14
+ var StyledFooterText = /*#__PURE__*/_styled("p", {
17
15
  target: "e15pmq0g0",
18
16
  label: "StyledFooterText"
19
17
  })("display:flex;flex-direction:column;align-items:center;>span{padding:", spacing.xsmall, " 0;text-align:center;}", mq.range({
@@ -24,5 +22,7 @@ var StyledFooterText = /*#__PURE__*/_styled("p", process.env.NODE_ENV === "produ
24
22
 
25
23
  export var FooterText = function FooterText(_ref) {
26
24
  var children = _ref.children;
27
- return ___EmotionJSX(StyledFooterText, null, children);
25
+ return _jsx(StyledFooterText, {
26
+ children: children
27
+ });
28
28
  };
@@ -1,8 +1,42 @@
1
+ import { jsx as _jsx } from "@emotion/react/jsx-runtime";
2
+ import { jsxs as _jsxs } from "@emotion/react/jsx-runtime";
3
+ import { Fragment as _Fragment } from "@emotion/react/jsx-runtime";
1
4
  import React from 'react';
2
- import { jsx as ___EmotionJSX } from "@emotion/react";
3
5
 
4
6
  var PrivacyEn = function PrivacyEn() {
5
- return ___EmotionJSX(React.Fragment, null, ___EmotionJSX("h1", null, "Cookies Policy"), ___EmotionJSX("hr", null), ___EmotionJSX("h2", null, "Cookies Rules according to Norwegian Law"), ___EmotionJSX("p", null, "The so-called \u201Ccookie-paragraph\u201D took effect on July 1, 2013, and commits NDLA to inform users about the use of cookies on the NDLA website. The paragrafph says:"), ___EmotionJSX("p", null, "\xA7 2-7b. The use of cookies"), ___EmotionJSX("p", null, "Saving information in user\u2019s communication units, or gaining access to these, is not allowed unless the user is informed on which communication items that are saved, the aim of the saving of information, who has access to the information, and user\u2019s concent to this. The first point is not preventing technical saving or access to information:"), ___EmotionJSX("ol", null, ___EmotionJSX("li", null, "Exclusively for transmitting communication in an electronic communications network"), ___EmotionJSX("li", null, "Necessary for supplying an information service according to user\u2019s expressed request")), ___EmotionJSX("h2", null, "What is cookies?"), ___EmotionJSX("p", null, "Cookies is a standard technology used by almost all websites. A cookie is a small file created by a website on your computer (if your browser allows it, which it will have as a default setting). The cookie can contain different kinds of information, but is mainly used for saving information on how you use the website, and to give you a better experience while using it."), ___EmotionJSX("p", null, "If, as an example, you log in to ndla.no, a cookie will be created to indicate that you are logged in. When later you return to the site, the browser will remember that you are logged in, which will allow you access without logging in again. Cookies usually have a set time limit, so if you don\u2019t revisit the site in a while, the cookie will be removed from the browser"), ___EmotionJSX("h2", null, "What do I accept by using this website?"), ___EmotionJSX("p", null, "You accept that we save the compiled statistics, like where in the world you are visiting from, which browser you use, which pages you visit and other technical interesting data about your visit on our website."), ___EmotionJSX("p", null, "The collected information is used for analyzing trends, so that we can improve our website for you as a user. The data we collect can not be used for identifying you personally."), ___EmotionJSX("p", null, "If you don\u2019t want us to collect this data, it is possible to turn off cookies in your browser. Our website (as well as a lot of other websites) then may stop working optimally."));
7
+ return _jsxs(_Fragment, {
8
+ children: [_jsx("h1", {
9
+ children: "Cookies Policy"
10
+ }), _jsx("hr", {}), _jsx("h2", {
11
+ children: "Cookies Rules according to Norwegian Law"
12
+ }), _jsx("p", {
13
+ children: "The so-called \u201Ccookie-paragraph\u201D took effect on July 1, 2013, and commits NDLA to inform users about the use of cookies on the NDLA website. The paragrafph says:"
14
+ }), _jsx("p", {
15
+ children: "\xA7 2-7b. The use of cookies"
16
+ }), _jsx("p", {
17
+ children: "Saving information in user\u2019s communication units, or gaining access to these, is not allowed unless the user is informed on which communication items that are saved, the aim of the saving of information, who has access to the information, and user\u2019s concent to this. The first point is not preventing technical saving or access to information:"
18
+ }), _jsxs("ol", {
19
+ children: [_jsx("li", {
20
+ children: "Exclusively for transmitting communication in an electronic communications network"
21
+ }), _jsx("li", {
22
+ children: "Necessary for supplying an information service according to user\u2019s expressed request"
23
+ })]
24
+ }), _jsx("h2", {
25
+ children: "What is cookies?"
26
+ }), _jsx("p", {
27
+ children: "Cookies is a standard technology used by almost all websites. A cookie is a small file created by a website on your computer (if your browser allows it, which it will have as a default setting). The cookie can contain different kinds of information, but is mainly used for saving information on how you use the website, and to give you a better experience while using it."
28
+ }), _jsx("p", {
29
+ children: "If, as an example, you log in to ndla.no, a cookie will be created to indicate that you are logged in. When later you return to the site, the browser will remember that you are logged in, which will allow you access without logging in again. Cookies usually have a set time limit, so if you don\u2019t revisit the site in a while, the cookie will be removed from the browser"
30
+ }), _jsx("h2", {
31
+ children: "What do I accept by using this website?"
32
+ }), _jsx("p", {
33
+ children: "You accept that we save the compiled statistics, like where in the world you are visiting from, which browser you use, which pages you visit and other technical interesting data about your visit on our website."
34
+ }), _jsx("p", {
35
+ children: "The collected information is used for analyzing trends, so that we can improve our website for you as a user. The data we collect can not be used for identifying you personally."
36
+ }), _jsx("p", {
37
+ children: "If you don\u2019t want us to collect this data, it is possible to turn off cookies in your browser. Our website (as well as a lot of other websites) then may stop working optimally."
38
+ })]
39
+ });
6
40
  };
7
41
 
8
42
  export default PrivacyEn;
@@ -1,8 +1,42 @@
1
+ import { jsx as _jsx } from "@emotion/react/jsx-runtime";
2
+ import { jsxs as _jsxs } from "@emotion/react/jsx-runtime";
3
+ import { Fragment as _Fragment } from "@emotion/react/jsx-runtime";
1
4
  import React from 'react';
2
- import { jsx as ___EmotionJSX } from "@emotion/react";
3
5
 
4
6
  var PrivacyNb = function PrivacyNb() {
5
- return ___EmotionJSX(React.Fragment, null, ___EmotionJSX("h1", null, "Personvernerkl\xE6ring"), ___EmotionJSX("hr", null), ___EmotionJSX("h2", null, "Cookies og lovtekst"), ___EmotionJSX("p", null, "Den s\xE5kalte \u201Ccookie-paragrafen\u201D tr\xE5dte i kraft 1. juli 2013, og forplikter NDLA til \xE5 informere bes\xF8kende om bruken av informasjonskapsler (cookies) p\xE5 sidene til NDLA. Paragrafen sier f\xF8lgende:"), ___EmotionJSX("p", null, "\xA7 2-7 b. Bruk av informasjonskapsler/cookies"), ___EmotionJSX("p", null, "Lagring av opplysninger i brukers kommunikasjonsutstyr, eller \xE5 skaffe seg adgang til slike, er ikke tillatt uten at brukeren er informert om hvilke opplysninger som behandles, form\xE5let med behandlingen, og hvem som behandler opplysningene, og brukeren har samtykket til dette. F\xF8rste punktum er ikke til hinder for teknisk lagring av eller adgang til opplysninger:"), ___EmotionJSX("ol", null, ___EmotionJSX("li", null, "utelukkende for det form\xE5l \xE5 overf\xF8re kommunikasjon i et elektronisk kommunikasjonsnett"), ___EmotionJSX("li", null, "som er n\xF8dvendig for \xE5 levere en informasjonssamfunnstjeneste etter brukerens uttrykkelige foresp\xF8rsel.")), ___EmotionJSX("h2", null, "Hva er cookies?"), ___EmotionJSX("p", null, "Cookies er en standard teknologi som stort sett alle nettsider bruker i dag. En cookie er en liten fil som en webside oppretter p\xE5 din maskin (om nettleseren din tillater det - noe den gj\xF8r som standard). Den kan inneholde forskjellig informasjon, men brukes i hovedsak til \xE5 lagre informasjon knyttet til hvordan du bruker websiden og for \xE5 gi deg en bedre brukeropplevelse."), ___EmotionJSX("p", null, "Hvis du for eksempel logger inn p\xE5 ndla.no, lages det en cookie som indikerer at du er innlogget. N\xE5r du senere kommer tilbake, husker nettleseren at du er innlogget, og du trenger ikke \xE5 logge inn igjen. Informasjonskapsler har som regel en gitt levetid, s\xE5 om du ikke bruker siden p\xE5 en stund, vil cookien bli slettet fra nettleseren."), ___EmotionJSX("h2", null, "Hva godtar jeg ved \xE5 bruke denne siden?"), ___EmotionJSX("p", null, "Du godtar at vi lagrer innsamlet statistikk som hvor i verden du bes\xF8ker fra, hvilken nettleser du bruker, hvilke sider du bes\xF8ker og andre teknisk interessante data om ditt bes\xF8k hos oss."), ___EmotionJSX("p", null, "Informasjonen vi samler brukes til \xE5 analysere trender, slik at vi kan forbedre nettsiden for deg som bes\xF8kende. Dataene vi samler vil ikke kunne identifisere deg personlig."), ___EmotionJSX("p", null, "Om du ikke \xF8nsker at vi skal samle disse dataene, s\xE5 er det mulig \xE5 sl\xE5 av cookies i nettleseren din. V\xE5re sider (og mange andres) kan da slutte \xE5 virke optimalt."));
7
+ return _jsxs(_Fragment, {
8
+ children: [_jsx("h1", {
9
+ children: "Personvernerkl\xE6ring"
10
+ }), _jsx("hr", {}), _jsx("h2", {
11
+ children: "Cookies og lovtekst"
12
+ }), _jsx("p", {
13
+ children: "Den s\xE5kalte \u201Ccookie-paragrafen\u201D tr\xE5dte i kraft 1. juli 2013, og forplikter NDLA til \xE5 informere bes\xF8kende om bruken av informasjonskapsler (cookies) p\xE5 sidene til NDLA. Paragrafen sier f\xF8lgende:"
14
+ }), _jsx("p", {
15
+ children: "\xA7 2-7 b. Bruk av informasjonskapsler/cookies"
16
+ }), _jsx("p", {
17
+ children: "Lagring av opplysninger i brukers kommunikasjonsutstyr, eller \xE5 skaffe seg adgang til slike, er ikke tillatt uten at brukeren er informert om hvilke opplysninger som behandles, form\xE5let med behandlingen, og hvem som behandler opplysningene, og brukeren har samtykket til dette. F\xF8rste punktum er ikke til hinder for teknisk lagring av eller adgang til opplysninger:"
18
+ }), _jsxs("ol", {
19
+ children: [_jsx("li", {
20
+ children: "utelukkende for det form\xE5l \xE5 overf\xF8re kommunikasjon i et elektronisk kommunikasjonsnett"
21
+ }), _jsx("li", {
22
+ children: "som er n\xF8dvendig for \xE5 levere en informasjonssamfunnstjeneste etter brukerens uttrykkelige foresp\xF8rsel."
23
+ })]
24
+ }), _jsx("h2", {
25
+ children: "Hva er cookies?"
26
+ }), _jsx("p", {
27
+ children: "Cookies er en standard teknologi som stort sett alle nettsider bruker i dag. En cookie er en liten fil som en webside oppretter p\xE5 din maskin (om nettleseren din tillater det - noe den gj\xF8r som standard). Den kan inneholde forskjellig informasjon, men brukes i hovedsak til \xE5 lagre informasjon knyttet til hvordan du bruker websiden og for \xE5 gi deg en bedre brukeropplevelse."
28
+ }), _jsx("p", {
29
+ children: "Hvis du for eksempel logger inn p\xE5 ndla.no, lages det en cookie som indikerer at du er innlogget. N\xE5r du senere kommer tilbake, husker nettleseren at du er innlogget, og du trenger ikke \xE5 logge inn igjen. Informasjonskapsler har som regel en gitt levetid, s\xE5 om du ikke bruker siden p\xE5 en stund, vil cookien bli slettet fra nettleseren."
30
+ }), _jsx("h2", {
31
+ children: "Hva godtar jeg ved \xE5 bruke denne siden?"
32
+ }), _jsx("p", {
33
+ children: "Du godtar at vi lagrer innsamlet statistikk som hvor i verden du bes\xF8ker fra, hvilken nettleser du bruker, hvilke sider du bes\xF8ker og andre teknisk interessante data om ditt bes\xF8k hos oss."
34
+ }), _jsx("p", {
35
+ children: "Informasjonen vi samler brukes til \xE5 analysere trender, slik at vi kan forbedre nettsiden for deg som bes\xF8kende. Dataene vi samler vil ikke kunne identifisere deg personlig."
36
+ }), _jsx("p", {
37
+ children: "Om du ikke \xF8nsker at vi skal samle disse dataene, s\xE5 er det mulig \xE5 sl\xE5 av cookies i nettleseren din. V\xE5re sider (og mange andres) kan da slutte \xE5 virke optimalt."
38
+ })]
39
+ });
6
40
  };
7
41
 
8
42
  export default PrivacyNb;
@@ -1,8 +1,40 @@
1
+ import { jsx as _jsx } from "@emotion/react/jsx-runtime";
2
+ import { jsxs as _jsxs } from "@emotion/react/jsx-runtime";
3
+ import { Fragment as _Fragment } from "@emotion/react/jsx-runtime";
1
4
  import React from 'react';
2
- import { jsx as ___EmotionJSX } from "@emotion/react";
3
5
 
4
6
  var PrivacyNn = function PrivacyNn() {
5
- return ___EmotionJSX(React.Fragment, null, ___EmotionJSX("h2", null, "Cookies og lovtekst"), ___EmotionJSX("p", null, "Den s\xE5kalla \u201Ccookie-paragrafen\u201D tr\xE5dde i kraft 1. juli 2013, og forpliktar NDLA til \xE5 informere bes\xF8kjande om bruken av informasjonskapslar (cookies) p\xE5 sidene til NDLA. Paragrafen seier f\xF8lgjande:"), ___EmotionJSX("p", null, "\xA7 2-7 b.Bruk av informasjonskapslar/cookies"), ___EmotionJSX("p", null, "Lagring av opplysingar i brukar sitt kommunikasjonsutstyr, eller \xE5 skaffe seg tilgjenge til slike, er ikkje tillate utan at brukaren er informert om kva for opplysingar som vert handsama, f\xF8rem\xE5let med behandlinga, og kven som handsamar opplysingane, og brukaren har samtykka til dette. F\xF8rste punktum er ikkje til hinder for teknisk lagring av eller tilgjenge til opplysingar:"), ___EmotionJSX("ol", null, ___EmotionJSX("li", null, "utelukkande for det f\xF8rem\xE5l \xE5 overf\xF8re kommunikasjon i eit elektronisk kommunikasjonsnett."), ___EmotionJSX("li", null, "som er n\xF8dvendig for \xE5 levere ei informasjonssamfunnsteneste etter brukaren sin uttrykkjelege f\xF8respurnad.")), ___EmotionJSX("h2", null, "Kva er cookies?"), ___EmotionJSX("p", null, "Cookies er ein standard teknologi som stort sett alle nettsider bruker i dag. Ein cookie er ei lita fil som ei webside oppretter p\xE5 maskina di (om nettlesaren din till\xE8t det - noko han gjer som standard). Cookies kan innehalde forskjellig informasjon, men vert i hovudsak brukt til \xE5 lagre informasjon knytta til korleis du bruker websida og for \xE5 gi deg ei betre brukaroppleving."), ___EmotionJSX("p", null, "Viss du til d\xF8mes logger inn p\xE5 ndla.no, vert det laga ein cookie som indikerer at du er innlogga. N\xE5r du seinare kjem tilbake, hugsar nettlesaren at du er innlogga, og du treng ikkje \xE5 logge inn igjen. Informasjonskapslar har i regelen ei gitt levetid, s\xE5 om du ikkje bruker sida p\xE5 ei stund, vil cookien bli sletta fr\xE5 nettlesaren."), ___EmotionJSX("h2", null, "Kva godtek eg ved \xE5 bruke denne sida?"), ___EmotionJSX("p", null, "Du godtek at vi lagrar innsamla statistikk som kvar i verda du bes\xF8kjer fr\xE5, kva for nettlesar du bruker, kva for sider du bes\xF8kjer og andre teknisk interessante data om bes\xF8ket ditt hos oss."), ___EmotionJSX("p", null, "Informasjonen vi samlar vert brukt til \xE5 analysere trender, slik at vi kan forbetre nettsida for deg som bes\xF8kende. Dataene vi samlar vil ikkje kunne identifisere deg personleg."), ___EmotionJSX("p", null, "Om du ikkje \xF8nsker at vi skal samle desse dataa, s\xE5 er det mogleg \xE5 sl\xE5 av cookies i nettlesaren din. V\xE5re sider (og mange andre sine) kan d\xE5 slutte \xE5 verke optimalt."));
7
+ return _jsxs(_Fragment, {
8
+ children: [_jsx("h2", {
9
+ children: "Cookies og lovtekst"
10
+ }), _jsx("p", {
11
+ children: "Den s\xE5kalla \u201Ccookie-paragrafen\u201D tr\xE5dde i kraft 1. juli 2013, og forpliktar NDLA til \xE5 informere bes\xF8kjande om bruken av informasjonskapslar (cookies) p\xE5 sidene til NDLA. Paragrafen seier f\xF8lgjande:"
12
+ }), _jsx("p", {
13
+ children: "\xA7 2-7 b.Bruk av informasjonskapslar/cookies"
14
+ }), _jsx("p", {
15
+ children: "Lagring av opplysingar i brukar sitt kommunikasjonsutstyr, eller \xE5 skaffe seg tilgjenge til slike, er ikkje tillate utan at brukaren er informert om kva for opplysingar som vert handsama, f\xF8rem\xE5let med behandlinga, og kven som handsamar opplysingane, og brukaren har samtykka til dette. F\xF8rste punktum er ikkje til hinder for teknisk lagring av eller tilgjenge til opplysingar:"
16
+ }), _jsxs("ol", {
17
+ children: [_jsx("li", {
18
+ children: "utelukkande for det f\xF8rem\xE5l \xE5 overf\xF8re kommunikasjon i eit elektronisk kommunikasjonsnett."
19
+ }), _jsx("li", {
20
+ children: "som er n\xF8dvendig for \xE5 levere ei informasjonssamfunnsteneste etter brukaren sin uttrykkjelege f\xF8respurnad."
21
+ })]
22
+ }), _jsx("h2", {
23
+ children: "Kva er cookies?"
24
+ }), _jsx("p", {
25
+ children: "Cookies er ein standard teknologi som stort sett alle nettsider bruker i dag. Ein cookie er ei lita fil som ei webside oppretter p\xE5 maskina di (om nettlesaren din till\xE8t det - noko han gjer som standard). Cookies kan innehalde forskjellig informasjon, men vert i hovudsak brukt til \xE5 lagre informasjon knytta til korleis du bruker websida og for \xE5 gi deg ei betre brukaroppleving."
26
+ }), _jsx("p", {
27
+ children: "Viss du til d\xF8mes logger inn p\xE5 ndla.no, vert det laga ein cookie som indikerer at du er innlogga. N\xE5r du seinare kjem tilbake, hugsar nettlesaren at du er innlogga, og du treng ikkje \xE5 logge inn igjen. Informasjonskapslar har i regelen ei gitt levetid, s\xE5 om du ikkje bruker sida p\xE5 ei stund, vil cookien bli sletta fr\xE5 nettlesaren."
28
+ }), _jsx("h2", {
29
+ children: "Kva godtek eg ved \xE5 bruke denne sida?"
30
+ }), _jsx("p", {
31
+ children: "Du godtek at vi lagrar innsamla statistikk som kvar i verda du bes\xF8kjer fr\xE5, kva for nettlesar du bruker, kva for sider du bes\xF8kjer og andre teknisk interessante data om bes\xF8ket ditt hos oss."
32
+ }), _jsx("p", {
33
+ children: "Informasjonen vi samlar vert brukt til \xE5 analysere trender, slik at vi kan forbetre nettsida for deg som bes\xF8kende. Dataene vi samlar vil ikkje kunne identifisere deg personleg."
34
+ }), _jsx("p", {
35
+ children: "Om du ikkje \xF8nsker at vi skal samle desse dataa, s\xE5 er det mogleg \xE5 sl\xE5 av cookies i nettlesaren din. V\xE5re sider (og mange andre sine) kan d\xE5 slutte \xE5 verke optimalt."
36
+ })]
37
+ });
6
38
  };
7
39
 
8
40
  export default PrivacyNn;