@ndla/ui 29.0.0 → 30.0.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 (792) hide show
  1. package/es/Animation/DisplayOnPageYOffset.js +1 -1
  2. package/es/Animation/Fade.js +1 -1
  3. package/es/Article/Article.js +18 -14
  4. package/es/Article/ArticleAccessMessage.js +14 -10
  5. package/es/Article/ArticleByline.js +22 -14
  6. package/es/Article/ArticleContent.js +1 -1
  7. package/es/Article/ArticleFavoritesButton.js +1 -1
  8. package/es/Article/ArticleFootNotes.js +1 -1
  9. package/es/Article/ArticleHeaderWrapper.js +27 -19
  10. package/es/Article/ArticleNotions.js +22 -12
  11. package/es/Article/ArticleSideBar.js +26 -18
  12. package/es/Aside/Aside.js +1 -1
  13. package/es/AudioPlayer/AudioPlayer.js +67 -39
  14. package/es/AudioPlayer/Controls.js +137 -85
  15. package/es/AudioPlayer/SpeechControl.js +5 -3
  16. package/es/AudioPlayer/initAudioPlayers.js +1 -1
  17. package/es/AuthorInfo/AuthorInfo.js +14 -8
  18. package/es/BannerCard/BannerCard.js +29 -15
  19. package/es/BlogPosts/BlogPost.js +22 -14
  20. package/es/BlogPosts/BlogPostWrapper.js +7 -5
  21. package/es/Breadcrumb/ActionBreadcrumb.js +26 -10
  22. package/es/Breadcrumb/Breadcrumb.js +14 -10
  23. package/es/Breadcrumb/BreadcrumbItem.js +38 -26
  24. package/es/Breadcrumb/HeaderBreadcrumb.js +21 -7
  25. package/es/Breadcrumb/HomeBreadcrumb.js +37 -18
  26. package/es/Breadcrumblist/Breadcrumblist.js +37 -25
  27. package/es/CompetenceGoalTab/CompetenceGoalItem.js +42 -26
  28. package/es/CompetenceGoalTab/CompetenceGoalTab.js +26 -16
  29. package/es/CompetenceGoalTab/CompetenceItem.js +74 -54
  30. package/es/CompetenceGoalTab/SearchButton.js +10 -6
  31. package/es/CompetenceGoals/CompetenceGoalsDialog.js +17 -11
  32. package/es/ComponentCursor/ComponentCursor.js +54 -36
  33. package/es/ContentCard/ContentCard.js +35 -19
  34. package/es/ContentLoader/index.js +1 -1
  35. package/es/ContentPlaceholder/ContentPlaceholder.js +21 -15
  36. package/es/ContentTypeBadge/ContentTypeBadge.js +1 -1
  37. package/es/CopyParagraphButton/CopyParagraphButton.js +47 -35
  38. package/es/CopyParagraphButton/initCopyParagraphButtons.js +1 -1
  39. package/es/CreatedBy/CreatedBy.js +26 -18
  40. package/es/Dialog/Dialog.js +1 -1
  41. package/es/ErrorMessage/ErrorMessage.js +23 -15
  42. package/es/ErrorMessage/ErrorResourceAccessDenied.js +5 -3
  43. package/es/FactBox/FactBox.js +1 -1
  44. package/es/Figure/Figure.js +1 -1
  45. package/es/Figure/FigureBylineExpandButton.js +1 -1
  46. package/es/Figure/FigureExpandButton.js +1 -1
  47. package/es/Figure/FigureLicense.js +1 -1
  48. package/es/Figure/FigureLicenseDialog.js +1 -1
  49. package/es/Figure/FigureOpenDialogButton.js +1 -1
  50. package/es/FileList/File.js +17 -11
  51. package/es/FileList/FileList.js +17 -11
  52. package/es/Filter/FilterButtons.js +45 -27
  53. package/es/Filter/FilterCarousel.js +31 -25
  54. package/es/Filter/FilterList.js +1 -1
  55. package/es/Filter/FilterListPhone.js +1 -1
  56. package/es/Filter/ToggleItem.js +1 -1
  57. package/es/Footer/EditorName.js +1 -1
  58. package/es/Footer/Footer.js +37 -23
  59. package/es/Footer/FooterAuth.js +36 -15
  60. package/es/Footer/FooterLinks.js +31 -19
  61. package/es/Footer/FooterPrivacy.js +13 -9
  62. package/es/Footer/FooterText.js +8 -6
  63. package/es/Footer/privacy_en.js +1 -1
  64. package/es/Footer/privacy_nb.js +1 -1
  65. package/es/Footer/privacy_nn.js +1 -1
  66. package/es/Frontpage/FrontpageAllSubjects.js +46 -32
  67. package/es/Frontpage/FrontpageFilm.js +22 -12
  68. package/es/Frontpage/FrontpageHeader.js +18 -10
  69. package/es/Frontpage/FrontpageInfo.js +6 -4
  70. package/es/Frontpage/FrontpageMultidisciplinarySubject.js +38 -24
  71. package/es/Frontpage/FrontpageProgramMenu.js +55 -37
  72. package/es/Frontpage/FrontpageSearch.js +11 -7
  73. package/es/Frontpage/FrontpageToolbox.js +18 -10
  74. package/es/Frontpage/illustrations/Fellesfag.js +1 -1
  75. package/es/Frontpage/illustrations/FrontpageHeaderIllustration.js +1 -1
  76. package/es/Frontpage/illustrations/FrontpageIllustrations.js +13 -9
  77. package/es/Frontpage/illustrations/FrontpageSubjectIllustration.js +7 -7
  78. package/es/Frontpage/illustrations/MenuFellesfag.js +1 -1
  79. package/es/Frontpage/illustrations/MenuStudiespesialiserende.js +1 -1
  80. package/es/Frontpage/illustrations/MenuYrkesfag.js +1 -1
  81. package/es/Frontpage/illustrations/Studiespesialiserende.js +1 -1
  82. package/es/Frontpage/illustrations/Yrkesfag.js +1 -1
  83. package/es/Hero/Hero.js +1 -1
  84. package/es/Image/Image.js +9 -7
  85. package/es/Image/ImageLink.js +9 -7
  86. package/es/Image/LazyLoadImage.js +2 -2
  87. package/es/InfoBlock/InfoBlock.js +22 -12
  88. package/es/InfoBox/InfoBox.js +6 -4
  89. package/es/InfoWidget/InfoWidget.js +46 -28
  90. package/es/LanguageSelector/LanguageSelector.js +42 -21
  91. package/es/LanguageSelector/LanguageSelectorContent.js +18 -6
  92. package/es/Layout/Content.js +1 -1
  93. package/es/Layout/LayoutItem.js +1 -1
  94. package/es/Layout/OneColumn.js +1 -1
  95. package/es/Layout/PageContainer.js +1 -1
  96. package/es/LearningPaths/LearningPathContent.js +6 -4
  97. package/es/LearningPaths/LearningPathInformation.js +16 -10
  98. package/es/LearningPaths/LearningPathLastStepNavigation.js +26 -16
  99. package/es/LearningPaths/LearningPathMenu.js +19 -11
  100. package/es/LearningPaths/LearningPathMenuAside.js +35 -15
  101. package/es/LearningPaths/LearningPathMenuAsideCopyright.js +10 -6
  102. package/es/LearningPaths/LearningPathMenuContent.js +33 -21
  103. package/es/LearningPaths/LearningPathMenuIntro.js +39 -23
  104. package/es/LearningPaths/LearningPathMenuModalWrapper.js +8 -4
  105. package/es/LearningPaths/LearningPathMobileHeader.js +18 -6
  106. package/es/LearningPaths/LearningPathMobileStepInfo.js +5 -3
  107. package/es/LearningPaths/LearningPathSticky.js +21 -13
  108. package/es/LearningPaths/LearningPathWrapper.js +13 -7
  109. package/es/Logo/Logo.js +1 -1
  110. package/es/Logo/SvgLogo.js +1 -1
  111. package/es/Masthead/Masthead.js +32 -20
  112. package/es/Masthead/MastheadAuthModal.js +5 -3
  113. package/es/Masthead/MastheadSearchModal.js +20 -10
  114. package/es/Masthead/SkipToMainContent.js +5 -3
  115. package/es/MediaList/MediaList.js +1 -1
  116. package/es/Messages/MessageBanner.js +18 -12
  117. package/es/Messages/MessageBox.js +51 -29
  118. package/es/Messages/MessageBoxTag.js +9 -7
  119. package/es/MultidisciplinarySubject/Illustrations.js +28 -14
  120. package/es/MultidisciplinarySubject/List.js +19 -13
  121. package/es/MultidisciplinarySubject/ListItem.js +41 -27
  122. package/es/MultidisciplinarySubject/MultidisciplinarySubject.js +42 -28
  123. package/es/MultidisciplinarySubject/MultidisciplinarySubjectHeader.js +38 -26
  124. package/es/MyNdla/Resource/Folder.js +45 -19
  125. package/es/MyNdla/Resource/FolderInput.js +17 -6
  126. package/es/NDLAFilm/AboutNdlaFilm.js +7 -5
  127. package/es/NDLAFilm/AllMoviesAlphabetically.js +62 -42
  128. package/es/NDLAFilm/CategorySelect.js +17 -11
  129. package/es/NDLAFilm/FilmContentCard.js +15 -9
  130. package/es/NDLAFilm/FilmContentCardTags.js +10 -6
  131. package/es/NDLAFilm/FilmMovieList.js +5 -3
  132. package/es/NDLAFilm/FilmMovieSearch.js +10 -6
  133. package/es/NDLAFilm/FilmSlideshow.js +44 -32
  134. package/es/NDLAFilm/MovieGrid.js +11 -7
  135. package/es/NDLAFilm/NavigationArrow.js +25 -13
  136. package/es/NDLAFilm/SlideshowIndicator.js +12 -8
  137. package/es/NDLAFilm/VisualElement.js +9 -7
  138. package/es/NDLAFilm/filmStyles.js +7 -3
  139. package/es/Navigation/NavigationBox.js +120 -82
  140. package/es/Navigation/NavigationHeading.js +26 -20
  141. package/es/Navigation/NavigationTopicAbout.js +82 -64
  142. package/es/NoContentBox/NoContentBox.js +1 -1
  143. package/es/Notion/ConceptNotion.js +12 -6
  144. package/es/Notion/FigureNotion.js +11 -3
  145. package/es/Notion/Notion.js +26 -18
  146. package/es/Notion/NotionImage.js +10 -6
  147. package/es/Notion/NotionVisualElement.js +12 -10
  148. package/es/Portrait/Portrait.js +14 -4
  149. package/es/Programme/Programme.js +30 -20
  150. package/es/Programme/ProgrammeSubjects.js +6 -4
  151. package/es/RadioButtonGroup/RadioButtonGroup.js +20 -12
  152. package/es/RelatedArticleList/RelatedArticleList.js +1 -1
  153. package/es/Resource/BlockResource.js +32 -13
  154. package/es/Resource/ListResource.js +45 -24
  155. package/es/Resource/resourceComponents.js +61 -30
  156. package/es/ResourceBox/ResourceBox.js +27 -15
  157. package/es/ResourceGroup/ResourceGroup.js +13 -7
  158. package/es/ResourceGroup/ResourceItem.js +59 -29
  159. package/es/ResourceGroup/ResourceList.js +13 -7
  160. package/es/ResourcesWrapper/ResourcesTitle.js +1 -1
  161. package/es/ResourcesWrapper/ResourcesTopicTitle.js +31 -19
  162. package/es/ResourcesWrapper/ResourcesWrapper.js +1 -1
  163. package/es/Search/ActiveFilterContent.js +10 -6
  164. package/es/Search/ActiveFilters.js +36 -24
  165. package/es/Search/ContentTypeResult.js +2 -4
  166. package/es/Search/ContentTypeResultStyles.js +76 -32
  167. package/es/Search/LoadingWrapper.js +6 -4
  168. package/es/Search/SearchField.js +13 -7
  169. package/es/Search/SearchFieldForm.js +19 -9
  170. package/es/Search/SearchResult.js +46 -26
  171. package/es/Search/SearchResultSleeve.js +35 -19
  172. package/es/Search/ToggleSearchButton.js +10 -6
  173. package/es/SearchTypeResult/ActiveFilterContent.js +14 -10
  174. package/es/SearchTypeResult/ActiveFilters.js +36 -24
  175. package/es/SearchTypeResult/PopupFilter.js +41 -27
  176. package/es/SearchTypeResult/ResultNavigation.js +18 -10
  177. package/es/SearchTypeResult/SearchFieldHeader.js +22 -14
  178. package/es/SearchTypeResult/SearchFilterContent.js +14 -10
  179. package/es/SearchTypeResult/SearchHeader.js +34 -18
  180. package/es/SearchTypeResult/SearchItem.js +51 -37
  181. package/es/SearchTypeResult/SearchItemList.js +71 -44
  182. package/es/SearchTypeResult/SearchItems.js +16 -12
  183. package/es/SearchTypeResult/SearchNotionItem.js +63 -39
  184. package/es/SearchTypeResult/SearchNotionsResult.js +19 -11
  185. package/es/SearchTypeResult/SearchSubjectItem.js +14 -8
  186. package/es/SearchTypeResult/SearchSubjectResult.js +9 -7
  187. package/es/SearchTypeResult/SearchTypeHeader.js +41 -23
  188. package/es/SearchTypeResult/SearchTypeResult.js +11 -7
  189. package/es/SearchTypeResult/SearchViewType.js +22 -14
  190. package/es/SearchTypeResult/components/ItemContexts.js +33 -19
  191. package/es/SearchTypeResult/components/ItemResourceHeader.js +47 -25
  192. package/es/SearchTypeResult/components/ItemTopicHeader.js +33 -15
  193. package/es/SearchTypeResult/components/SubjectFilters.js +9 -7
  194. package/es/SectionHeading/SectionHeading.js +16 -8
  195. package/es/SnackBar/DefaultSnackbar.js +13 -7
  196. package/es/SnackBar/SnackbarProvider.js +17 -13
  197. package/es/Subject/Subject.js +64 -38
  198. package/es/Subject/SubjectAbout.js +46 -26
  199. package/es/Subject/SubjectArchive.js +54 -32
  200. package/es/Subject/SubjectBanner.js +7 -5
  201. package/es/Subject/SubjectCarousel.js +26 -14
  202. package/es/Subject/SubjectHeader.js +23 -13
  203. package/es/Subject/SubjectLinks.js +17 -11
  204. package/es/Subject/SubjectNewContent.js +39 -23
  205. package/es/Subject/SubjectShortcuts.js +22 -14
  206. package/es/Subject/SubjectSocial.js +10 -6
  207. package/es/Table/Table.js +1 -1
  208. package/es/TagSelector/Control.js +13 -4
  209. package/es/TagSelector/DropdownIndicator.js +5 -3
  210. package/es/TagSelector/Input.js +13 -4
  211. package/es/TagSelector/Menu.js +13 -4
  212. package/es/TagSelector/MenuList.js +12 -3
  213. package/es/TagSelector/Option.js +10 -6
  214. package/es/TagSelector/SelectContainer.js +13 -3
  215. package/es/TagSelector/TagSelector.js +15 -11
  216. package/es/TagSelector/ValueButton.js +5 -3
  217. package/es/ToolboxPage/ToolboxInfo.js +10 -6
  218. package/es/Topic/Loader.js +1 -1
  219. package/es/Topic/Topic.js +117 -83
  220. package/es/TopicIntroductionList/TopicIntroduction.js +1 -1
  221. package/es/TopicIntroductionList/TopicIntroductionList.js +1 -1
  222. package/es/TopicIntroductionList/TopicIntroductionShortcuts.js +1 -1
  223. package/es/TopicIntroductionList/TopicShortcutItem.js +1 -1
  224. package/es/TopicMenu/SubtopicLinkList.js +33 -19
  225. package/es/TopicMenu/TopicMenu.js +5 -3
  226. package/es/TopicMenu/TopicMenuButton.js +8 -4
  227. package/es/Translation/Translation.js +1 -1
  228. package/es/Translation/TranslationBox.js +1 -1
  229. package/es/Translation/TranslationLine.js +1 -1
  230. package/es/TreeStructure/AddFolderButton.js +14 -10
  231. package/es/TreeStructure/ComboboxButton.js +10 -6
  232. package/es/TreeStructure/FolderItem.js +27 -15
  233. package/es/TreeStructure/FolderItems.js +11 -7
  234. package/es/TreeStructure/NavigationLink.js +21 -10
  235. package/es/TreeStructure/TreeStructure.js +45 -27
  236. package/es/User/AuthModal.js +33 -19
  237. package/es/User/UserInfo.js +20 -10
  238. package/es/internal-icons/Book.js +1 -1
  239. package/es/internal-icons/Download.js +1 -1
  240. package/es/internal-icons/Embed.js +1 -1
  241. package/es/internal-icons/InsertTemplate.js +1 -1
  242. package/es/internal-icons/OpenWindow.js +1 -1
  243. package/es/locale/LocaleProvider.js +1 -1
  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/utils/createUniversalPortal.js +1 -1
  250. package/lib/Animation/DisplayOnPageYOffset.d.ts +1 -1
  251. package/lib/Animation/DisplayOnPageYOffset.js +2 -2
  252. package/lib/Animation/Fade.d.ts +1 -1
  253. package/lib/Animation/Fade.js +2 -2
  254. package/lib/Article/Article.d.ts +3 -3
  255. package/lib/Article/Article.js +39 -35
  256. package/lib/Article/ArticleAccessMessage.d.ts +1 -2
  257. package/lib/Article/ArticleAccessMessage.js +15 -11
  258. package/lib/Article/ArticleByline.d.ts +1 -1
  259. package/lib/Article/ArticleByline.js +33 -25
  260. package/lib/Article/ArticleContent.d.ts +1 -2
  261. package/lib/Article/ArticleContent.js +2 -2
  262. package/lib/Article/ArticleFavoritesButton.d.ts +1 -2
  263. package/lib/Article/ArticleFavoritesButton.js +5 -5
  264. package/lib/Article/ArticleFootNotes.d.ts +1 -2
  265. package/lib/Article/ArticleFootNotes.js +7 -7
  266. package/lib/Article/ArticleHeaderWrapper.d.ts +2 -2
  267. package/lib/Article/ArticleHeaderWrapper.js +36 -28
  268. package/lib/Article/ArticleNotions.d.ts +1 -2
  269. package/lib/Article/ArticleNotions.js +33 -23
  270. package/lib/Article/ArticleSideBar.d.ts +1 -1
  271. package/lib/Article/ArticleSideBar.js +34 -26
  272. package/lib/Aside/Aside.d.ts +1 -1
  273. package/lib/Aside/Aside.js +2 -2
  274. package/lib/AudioPlayer/AudioPlayer.d.ts +1 -1
  275. package/lib/AudioPlayer/AudioPlayer.js +83 -55
  276. package/lib/AudioPlayer/Controls.d.ts +1 -2
  277. package/lib/AudioPlayer/Controls.js +161 -109
  278. package/lib/AudioPlayer/SpeechControl.d.ts +1 -2
  279. package/lib/AudioPlayer/SpeechControl.js +8 -6
  280. package/lib/AudioPlayer/initAudioPlayers.js +3 -3
  281. package/lib/AuthorInfo/AuthorInfo.d.ts +1 -2
  282. package/lib/AuthorInfo/AuthorInfo.js +16 -10
  283. package/lib/BannerCard/BannerCard.d.ts +1 -2
  284. package/lib/BannerCard/BannerCard.js +31 -17
  285. package/lib/BlogPosts/BlogPost.d.ts +1 -2
  286. package/lib/BlogPosts/BlogPost.js +26 -18
  287. package/lib/BlogPosts/BlogPostWrapper.d.ts +1 -1
  288. package/lib/BlogPosts/BlogPostWrapper.js +8 -6
  289. package/lib/Breadcrumb/ActionBreadcrumb.d.ts +1 -2
  290. package/lib/Breadcrumb/ActionBreadcrumb.js +31 -16
  291. package/lib/Breadcrumb/Breadcrumb.d.ts +1 -1
  292. package/lib/Breadcrumb/Breadcrumb.js +17 -13
  293. package/lib/Breadcrumb/BreadcrumbItem.js +41 -29
  294. package/lib/Breadcrumb/HeaderBreadcrumb.d.ts +1 -2
  295. package/lib/Breadcrumb/HeaderBreadcrumb.js +24 -11
  296. package/lib/Breadcrumb/HomeBreadcrumb.d.ts +1 -2
  297. package/lib/Breadcrumb/HomeBreadcrumb.js +37 -25
  298. package/lib/Breadcrumblist/Breadcrumblist.d.ts +1 -1
  299. package/lib/Breadcrumblist/Breadcrumblist.js +51 -39
  300. package/lib/CompetenceGoalTab/CompetenceGoalItem.d.ts +1 -2
  301. package/lib/CompetenceGoalTab/CompetenceGoalItem.js +45 -29
  302. package/lib/CompetenceGoalTab/CompetenceGoalTab.d.ts +1 -2
  303. package/lib/CompetenceGoalTab/CompetenceGoalTab.js +32 -22
  304. package/lib/CompetenceGoalTab/CompetenceItem.d.ts +1 -2
  305. package/lib/CompetenceGoalTab/CompetenceItem.js +84 -64
  306. package/lib/CompetenceGoalTab/SearchButton.d.ts +1 -2
  307. package/lib/CompetenceGoalTab/SearchButton.js +13 -9
  308. package/lib/CompetenceGoals/CompetenceGoalsDialog.d.ts +1 -1
  309. package/lib/CompetenceGoals/CompetenceGoalsDialog.js +22 -16
  310. package/lib/ComponentCursor/ComponentCursor.d.ts +1 -2
  311. package/lib/ComponentCursor/ComponentCursor.js +59 -41
  312. package/lib/ContentCard/ContentCard.d.ts +1 -2
  313. package/lib/ContentCard/ContentCard.js +39 -23
  314. package/lib/ContentLoader/index.d.ts +1 -1
  315. package/lib/ContentLoader/index.js +11 -11
  316. package/lib/ContentPlaceholder/ContentPlaceholder.d.ts +1 -2
  317. package/lib/ContentPlaceholder/ContentPlaceholder.js +22 -16
  318. package/lib/ContentTypeBadge/ContentTypeBadge.d.ts +9 -10
  319. package/lib/ContentTypeBadge/ContentTypeBadge.js +19 -19
  320. package/lib/CopyParagraphButton/CopyParagraphButton.d.ts +1 -2
  321. package/lib/CopyParagraphButton/CopyParagraphButton.js +47 -35
  322. package/lib/CopyParagraphButton/initCopyParagraphButtons.js +2 -2
  323. package/lib/CreatedBy/CreatedBy.d.ts +1 -2
  324. package/lib/CreatedBy/CreatedBy.js +29 -21
  325. package/lib/Dialog/Dialog.d.ts +1 -1
  326. package/lib/Dialog/Dialog.js +4 -4
  327. package/lib/ErrorMessage/ErrorMessage.d.ts +1 -1
  328. package/lib/ErrorMessage/ErrorMessage.js +31 -25
  329. package/lib/ErrorMessage/ErrorResourceAccessDenied.d.ts +1 -2
  330. package/lib/ErrorMessage/ErrorResourceAccessDenied.js +10 -8
  331. package/lib/FactBox/FactBox.d.ts +1 -1
  332. package/lib/FactBox/FactBox.js +4 -4
  333. package/lib/Figure/Figure.d.ts +2 -2
  334. package/lib/Figure/Figure.js +10 -10
  335. package/lib/Figure/FigureBylineExpandButton.d.ts +1 -2
  336. package/lib/Figure/FigureBylineExpandButton.js +4 -4
  337. package/lib/Figure/FigureExpandButton.d.ts +1 -2
  338. package/lib/Figure/FigureExpandButton.js +4 -4
  339. package/lib/Figure/FigureLicense.d.ts +2 -2
  340. package/lib/Figure/FigureLicense.js +7 -7
  341. package/lib/Figure/FigureLicenseDialog.d.ts +1 -1
  342. package/lib/Figure/FigureLicenseDialog.js +5 -5
  343. package/lib/Figure/FigureOpenDialogButton.d.ts +1 -2
  344. package/lib/Figure/FigureOpenDialogButton.js +7 -7
  345. package/lib/FileList/File.d.ts +1 -2
  346. package/lib/FileList/File.js +23 -17
  347. package/lib/FileList/FileList.d.ts +1 -2
  348. package/lib/FileList/FileList.js +19 -13
  349. package/lib/Filter/FilterButtons.d.ts +1 -2
  350. package/lib/Filter/FilterButtons.js +64 -46
  351. package/lib/Filter/FilterCarousel.d.ts +1 -1
  352. package/lib/Filter/FilterCarousel.js +37 -31
  353. package/lib/Filter/FilterList.d.ts +1 -1
  354. package/lib/Filter/FilterList.js +5 -5
  355. package/lib/Filter/FilterListPhone.d.ts +1 -2
  356. package/lib/Filter/FilterListPhone.js +19 -19
  357. package/lib/Filter/ToggleItem.d.ts +1 -1
  358. package/lib/Filter/ToggleItem.js +4 -4
  359. package/lib/Footer/EditorName.d.ts +1 -2
  360. package/lib/Footer/EditorName.js +2 -2
  361. package/lib/Footer/Footer.d.ts +1 -1
  362. package/lib/Footer/Footer.js +43 -29
  363. package/lib/Footer/FooterAuth.d.ts +1 -2
  364. package/lib/Footer/FooterAuth.js +38 -24
  365. package/lib/Footer/FooterLinks.d.ts +1 -1
  366. package/lib/Footer/FooterLinks.js +38 -26
  367. package/lib/Footer/FooterPrivacy.d.ts +1 -2
  368. package/lib/Footer/FooterPrivacy.js +21 -17
  369. package/lib/Footer/FooterText.d.ts +1 -1
  370. package/lib/Footer/FooterText.js +9 -7
  371. package/lib/Footer/privacy_en.d.ts +1 -2
  372. package/lib/Footer/privacy_en.js +2 -2
  373. package/lib/Footer/privacy_nb.d.ts +1 -2
  374. package/lib/Footer/privacy_nb.js +2 -2
  375. package/lib/Footer/privacy_nn.d.ts +1 -2
  376. package/lib/Footer/privacy_nn.js +2 -2
  377. package/lib/Frontpage/FrontpageAllSubjects.d.ts +1 -2
  378. package/lib/Frontpage/FrontpageAllSubjects.js +55 -41
  379. package/lib/Frontpage/FrontpageFilm.d.ts +1 -1
  380. package/lib/Frontpage/FrontpageFilm.js +39 -29
  381. package/lib/Frontpage/FrontpageHeader.d.ts +1 -1
  382. package/lib/Frontpage/FrontpageHeader.js +22 -14
  383. package/lib/Frontpage/FrontpageInfo.d.ts +1 -1
  384. package/lib/Frontpage/FrontpageInfo.js +7 -5
  385. package/lib/Frontpage/FrontpageMultidisciplinarySubject.d.ts +21 -6
  386. package/lib/Frontpage/FrontpageMultidisciplinarySubject.js +46 -32
  387. package/lib/Frontpage/FrontpageProgramMenu.d.ts +1 -2
  388. package/lib/Frontpage/FrontpageProgramMenu.js +61 -43
  389. package/lib/Frontpage/FrontpageSearch.d.ts +1 -1
  390. package/lib/Frontpage/FrontpageSearch.js +16 -12
  391. package/lib/Frontpage/FrontpageToolbox.d.ts +1 -1
  392. package/lib/Frontpage/FrontpageToolbox.js +23 -15
  393. package/lib/Frontpage/illustrations/Fellesfag.d.ts +1 -2
  394. package/lib/Frontpage/illustrations/Fellesfag.js +15 -15
  395. package/lib/Frontpage/illustrations/FrontpageHeaderIllustration.d.ts +1 -2
  396. package/lib/Frontpage/illustrations/FrontpageHeaderIllustration.js +31 -31
  397. package/lib/Frontpage/illustrations/FrontpageIllustrations.d.ts +8 -2
  398. package/lib/Frontpage/illustrations/FrontpageIllustrations.js +13 -9
  399. package/lib/Frontpage/illustrations/FrontpageSubjectIllustration.d.ts +1 -2
  400. package/lib/Frontpage/illustrations/FrontpageSubjectIllustration.js +47 -47
  401. package/lib/Frontpage/illustrations/MenuFellesfag.d.ts +1 -2
  402. package/lib/Frontpage/illustrations/MenuFellesfag.js +16 -16
  403. package/lib/Frontpage/illustrations/MenuStudiespesialiserende.d.ts +1 -2
  404. package/lib/Frontpage/illustrations/MenuStudiespesialiserende.js +13 -13
  405. package/lib/Frontpage/illustrations/MenuYrkesfag.d.ts +1 -2
  406. package/lib/Frontpage/illustrations/MenuYrkesfag.js +20 -20
  407. package/lib/Frontpage/illustrations/Studiespesialiserende.d.ts +1 -2
  408. package/lib/Frontpage/illustrations/Studiespesialiserende.js +13 -13
  409. package/lib/Frontpage/illustrations/Yrkesfag.d.ts +1 -2
  410. package/lib/Frontpage/illustrations/Yrkesfag.js +19 -19
  411. package/lib/Frontpage/illustrations/index.d.ts +6 -7
  412. package/lib/Hero/Hero.d.ts +8 -8
  413. package/lib/Hero/Hero.js +9 -9
  414. package/lib/Image/Image.d.ts +1 -1
  415. package/lib/Image/Image.js +13 -11
  416. package/lib/Image/ImageLink.d.ts +1 -1
  417. package/lib/Image/ImageLink.js +10 -8
  418. package/lib/Image/LazyLoadImage.d.ts +1 -2
  419. package/lib/Image/LazyLoadImage.js +4 -4
  420. package/lib/InfoBlock/InfoBlock.d.ts +1 -1
  421. package/lib/InfoBlock/InfoBlock.js +23 -13
  422. package/lib/InfoBox/InfoBox.d.ts +1 -1
  423. package/lib/InfoBox/InfoBox.js +7 -5
  424. package/lib/InfoWidget/InfoWidget.d.ts +1 -1
  425. package/lib/InfoWidget/InfoWidget.js +56 -38
  426. package/lib/LanguageSelector/LanguageSelector.d.ts +1 -2
  427. package/lib/LanguageSelector/LanguageSelector.js +51 -30
  428. package/lib/LanguageSelector/LanguageSelectorContent.d.ts +1 -2
  429. package/lib/LanguageSelector/LanguageSelectorContent.js +21 -10
  430. package/lib/Layout/Content.d.ts +1 -1
  431. package/lib/Layout/Content.js +2 -2
  432. package/lib/Layout/LayoutItem.d.ts +1 -1
  433. package/lib/Layout/LayoutItem.js +5 -5
  434. package/lib/Layout/OneColumn.d.ts +1 -1
  435. package/lib/Layout/OneColumn.js +2 -2
  436. package/lib/Layout/PageContainer.d.ts +1 -1
  437. package/lib/Layout/PageContainer.js +2 -2
  438. package/lib/LearningPaths/LearningPathContent.d.ts +1 -1
  439. package/lib/LearningPaths/LearningPathContent.js +7 -5
  440. package/lib/LearningPaths/LearningPathInformation.d.ts +1 -2
  441. package/lib/LearningPaths/LearningPathInformation.js +21 -15
  442. package/lib/LearningPaths/LearningPathLastStepNavigation.d.ts +1 -1
  443. package/lib/LearningPaths/LearningPathLastStepNavigation.js +32 -22
  444. package/lib/LearningPaths/LearningPathMenu.d.ts +1 -2
  445. package/lib/LearningPaths/LearningPathMenu.js +38 -30
  446. package/lib/LearningPaths/LearningPathMenuAside.d.ts +1 -1
  447. package/lib/LearningPaths/LearningPathMenuAside.js +49 -29
  448. package/lib/LearningPaths/LearningPathMenuAsideCopyright.d.ts +1 -2
  449. package/lib/LearningPaths/LearningPathMenuAsideCopyright.js +13 -9
  450. package/lib/LearningPaths/LearningPathMenuContent.d.ts +1 -2
  451. package/lib/LearningPaths/LearningPathMenuContent.js +53 -41
  452. package/lib/LearningPaths/LearningPathMenuIntro.d.ts +1 -2
  453. package/lib/LearningPaths/LearningPathMenuIntro.js +48 -32
  454. package/lib/LearningPaths/LearningPathMenuModalWrapper.d.ts +1 -1
  455. package/lib/LearningPaths/LearningPathMenuModalWrapper.js +13 -9
  456. package/lib/LearningPaths/LearningPathMobileHeader.d.ts +1 -1
  457. package/lib/LearningPaths/LearningPathMobileHeader.js +19 -8
  458. package/lib/LearningPaths/LearningPathMobileStepInfo.d.ts +1 -1
  459. package/lib/LearningPaths/LearningPathMobileStepInfo.js +6 -4
  460. package/lib/LearningPaths/LearningPathSticky.d.ts +3 -3
  461. package/lib/LearningPaths/LearningPathSticky.js +37 -29
  462. package/lib/LearningPaths/LearningPathWrapper.d.ts +1 -1
  463. package/lib/LearningPaths/LearningPathWrapper.js +17 -11
  464. package/lib/Logo/Logo.d.ts +1 -2
  465. package/lib/Logo/Logo.js +5 -5
  466. package/lib/Logo/SvgLogo.d.ts +1 -2
  467. package/lib/Logo/SvgLogo.js +8 -8
  468. package/lib/Masthead/Masthead.d.ts +2 -2
  469. package/lib/Masthead/Masthead.js +48 -36
  470. package/lib/Masthead/MastheadAuthModal.d.ts +1 -2
  471. package/lib/Masthead/MastheadAuthModal.js +8 -6
  472. package/lib/Masthead/MastheadSearchModal.d.ts +1 -1
  473. package/lib/Masthead/MastheadSearchModal.js +40 -30
  474. package/lib/Masthead/SkipToMainContent.d.ts +1 -2
  475. package/lib/Masthead/SkipToMainContent.js +6 -4
  476. package/lib/MediaList/MediaList.d.ts +8 -8
  477. package/lib/MediaList/MediaList.js +15 -15
  478. package/lib/Messages/MessageBanner.d.ts +1 -2
  479. package/lib/Messages/MessageBanner.js +21 -15
  480. package/lib/Messages/MessageBox.d.ts +2 -2
  481. package/lib/Messages/MessageBox.js +60 -38
  482. package/lib/Messages/MessageBoxTag.d.ts +1 -2
  483. package/lib/Messages/MessageBoxTag.js +10 -8
  484. package/lib/MultidisciplinarySubject/Illustrations.d.ts +28 -7
  485. package/lib/MultidisciplinarySubject/Illustrations.js +28 -14
  486. package/lib/MultidisciplinarySubject/List.d.ts +1 -2
  487. package/lib/MultidisciplinarySubject/List.js +21 -15
  488. package/lib/MultidisciplinarySubject/ListItem.d.ts +1 -2
  489. package/lib/MultidisciplinarySubject/ListItem.js +45 -31
  490. package/lib/MultidisciplinarySubject/MultidisciplinarySubject.d.ts +1 -1
  491. package/lib/MultidisciplinarySubject/MultidisciplinarySubject.js +47 -33
  492. package/lib/MultidisciplinarySubject/MultidisciplinarySubjectHeader.d.ts +1 -2
  493. package/lib/MultidisciplinarySubject/MultidisciplinarySubjectHeader.js +47 -35
  494. package/lib/MyNdla/Resource/Folder.d.ts +1 -2
  495. package/lib/MyNdla/Resource/Folder.js +53 -28
  496. package/lib/MyNdla/Resource/FolderInput.d.ts +1 -1
  497. package/lib/MyNdla/Resource/FolderInput.js +15 -11
  498. package/lib/NDLAFilm/AboutNdlaFilm.d.ts +1 -1
  499. package/lib/NDLAFilm/AboutNdlaFilm.js +14 -12
  500. package/lib/NDLAFilm/AllMoviesAlphabetically.d.ts +1 -2
  501. package/lib/NDLAFilm/AllMoviesAlphabetically.js +80 -60
  502. package/lib/NDLAFilm/CategorySelect.js +31 -25
  503. package/lib/NDLAFilm/FilmContentCard.d.ts +1 -2
  504. package/lib/NDLAFilm/FilmContentCard.js +20 -14
  505. package/lib/NDLAFilm/FilmContentCardTags.d.ts +1 -2
  506. package/lib/NDLAFilm/FilmContentCardTags.js +12 -8
  507. package/lib/NDLAFilm/FilmMovieList.d.ts +1 -2
  508. package/lib/NDLAFilm/FilmMovieList.js +8 -6
  509. package/lib/NDLAFilm/FilmMovieSearch.d.ts +1 -2
  510. package/lib/NDLAFilm/FilmMovieSearch.js +17 -13
  511. package/lib/NDLAFilm/FilmSlideshow.d.ts +1 -2
  512. package/lib/NDLAFilm/FilmSlideshow.js +91 -79
  513. package/lib/NDLAFilm/MovieGrid.d.ts +1 -2
  514. package/lib/NDLAFilm/MovieGrid.js +15 -11
  515. package/lib/NDLAFilm/NavigationArrow.d.ts +5 -2
  516. package/lib/NDLAFilm/NavigationArrow.js +27 -15
  517. package/lib/NDLAFilm/SlideshowIndicator.d.ts +1 -2
  518. package/lib/NDLAFilm/SlideshowIndicator.js +15 -11
  519. package/lib/NDLAFilm/VisualElement.d.ts +1 -2
  520. package/lib/NDLAFilm/VisualElement.js +11 -9
  521. package/lib/NDLAFilm/filmStyles.d.ts +8 -2
  522. package/lib/NDLAFilm/filmStyles.js +7 -3
  523. package/lib/Navigation/NavigationBox.d.ts +1 -1
  524. package/lib/Navigation/NavigationBox.js +128 -90
  525. package/lib/Navigation/NavigationHeading.d.ts +1 -1
  526. package/lib/Navigation/NavigationHeading.js +35 -29
  527. package/lib/Navigation/NavigationTopicAbout.d.ts +1 -1
  528. package/lib/Navigation/NavigationTopicAbout.js +88 -70
  529. package/lib/NoContentBox/NoContentBox.d.ts +1 -2
  530. package/lib/NoContentBox/NoContentBox.js +2 -2
  531. package/lib/Notion/ConceptNotion.d.ts +1 -2
  532. package/lib/Notion/ConceptNotion.js +16 -16
  533. package/lib/Notion/FigureNotion.d.ts +1 -1
  534. package/lib/Notion/FigureNotion.js +10 -8
  535. package/lib/Notion/Notion.d.ts +1 -1
  536. package/lib/Notion/Notion.js +31 -23
  537. package/lib/Notion/NotionImage.d.ts +1 -2
  538. package/lib/Notion/NotionImage.js +13 -9
  539. package/lib/Notion/NotionVisualElement.d.ts +1 -1
  540. package/lib/Notion/NotionVisualElement.js +16 -14
  541. package/lib/Portrait/Portrait.d.ts +1 -2
  542. package/lib/Portrait/Portrait.js +15 -6
  543. package/lib/Programme/Programme.d.ts +1 -2
  544. package/lib/Programme/Programme.js +34 -24
  545. package/lib/Programme/ProgrammeSubjects.d.ts +1 -2
  546. package/lib/Programme/ProgrammeSubjects.js +10 -8
  547. package/lib/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
  548. package/lib/RadioButtonGroup/RadioButtonGroup.js +25 -17
  549. package/lib/RelatedArticleList/RelatedArticleList.d.ts +2 -2
  550. package/lib/RelatedArticleList/RelatedArticleList.js +7 -7
  551. package/lib/Resource/BlockResource.d.ts +1 -2
  552. package/lib/Resource/BlockResource.js +41 -29
  553. package/lib/Resource/ListResource.d.ts +1 -2
  554. package/lib/Resource/ListResource.js +60 -46
  555. package/lib/Resource/resourceComponents.d.ts +18 -7
  556. package/lib/Resource/resourceComponents.js +65 -41
  557. package/lib/ResourceBox/ResourceBox.d.ts +1 -2
  558. package/lib/ResourceBox/ResourceBox.js +30 -18
  559. package/lib/ResourceGroup/ResourceGroup.d.ts +1 -2
  560. package/lib/ResourceGroup/ResourceGroup.js +15 -9
  561. package/lib/ResourceGroup/ResourceItem.d.ts +1 -2
  562. package/lib/ResourceGroup/ResourceItem.js +89 -59
  563. package/lib/ResourceGroup/ResourceList.d.ts +1 -2
  564. package/lib/ResourceGroup/ResourceList.js +15 -9
  565. package/lib/ResourcesWrapper/ResourcesTitle.d.ts +1 -1
  566. package/lib/ResourcesWrapper/ResourcesTitle.js +3 -3
  567. package/lib/ResourcesWrapper/ResourcesTopicTitle.d.ts +1 -2
  568. package/lib/ResourcesWrapper/ResourcesTopicTitle.js +43 -31
  569. package/lib/ResourcesWrapper/ResourcesWrapper.d.ts +1 -1
  570. package/lib/ResourcesWrapper/ResourcesWrapper.js +3 -3
  571. package/lib/Search/ActiveFilterContent.d.ts +5 -2
  572. package/lib/Search/ActiveFilterContent.js +12 -8
  573. package/lib/Search/ActiveFilters.d.ts +1 -2
  574. package/lib/Search/ActiveFilters.js +46 -34
  575. package/lib/Search/ContentTypeResult.d.ts +1 -2
  576. package/lib/Search/ContentTypeResult.js +15 -17
  577. package/lib/Search/ContentTypeResultStyles.d.ts +24 -6
  578. package/lib/Search/ContentTypeResultStyles.js +84 -40
  579. package/lib/Search/LoadingWrapper.d.ts +1 -2
  580. package/lib/Search/LoadingWrapper.js +7 -5
  581. package/lib/Search/SearchField.d.ts +1 -1
  582. package/lib/Search/SearchField.js +25 -19
  583. package/lib/Search/SearchFieldForm.d.ts +1 -1
  584. package/lib/Search/SearchFieldForm.js +21 -11
  585. package/lib/Search/SearchResult.d.ts +2 -2
  586. package/lib/Search/SearchResult.js +61 -41
  587. package/lib/Search/SearchResultSleeve.d.ts +1 -2
  588. package/lib/Search/SearchResultSleeve.js +46 -30
  589. package/lib/Search/ToggleSearchButton.d.ts +1 -2
  590. package/lib/Search/ToggleSearchButton.js +12 -8
  591. package/lib/SearchTypeResult/ActiveFilterContent.d.ts +5 -2
  592. package/lib/SearchTypeResult/ActiveFilterContent.js +16 -12
  593. package/lib/SearchTypeResult/ActiveFilters.d.ts +1 -1
  594. package/lib/SearchTypeResult/ActiveFilters.js +53 -41
  595. package/lib/SearchTypeResult/PopupFilter.d.ts +1 -2
  596. package/lib/SearchTypeResult/PopupFilter.js +50 -36
  597. package/lib/SearchTypeResult/ResultNavigation.d.ts +1 -2
  598. package/lib/SearchTypeResult/ResultNavigation.js +22 -14
  599. package/lib/SearchTypeResult/SearchFieldHeader.d.ts +1 -1
  600. package/lib/SearchTypeResult/SearchFieldHeader.js +29 -21
  601. package/lib/SearchTypeResult/SearchFilterContent.d.ts +1 -2
  602. package/lib/SearchTypeResult/SearchFilterContent.js +16 -12
  603. package/lib/SearchTypeResult/SearchHeader.d.ts +1 -1
  604. package/lib/SearchTypeResult/SearchHeader.js +40 -24
  605. package/lib/SearchTypeResult/SearchItem.d.ts +1 -1
  606. package/lib/SearchTypeResult/SearchItem.js +58 -44
  607. package/lib/SearchTypeResult/SearchItemList.d.ts +1 -2
  608. package/lib/SearchTypeResult/SearchItemList.js +79 -52
  609. package/lib/SearchTypeResult/SearchItems.d.ts +1 -1
  610. package/lib/SearchTypeResult/SearchItems.js +18 -14
  611. package/lib/SearchTypeResult/SearchNotionItem.d.ts +1 -1
  612. package/lib/SearchTypeResult/SearchNotionItem.js +75 -51
  613. package/lib/SearchTypeResult/SearchNotionsResult.d.ts +1 -1
  614. package/lib/SearchTypeResult/SearchNotionsResult.js +21 -13
  615. package/lib/SearchTypeResult/SearchSubjectItem.d.ts +1 -2
  616. package/lib/SearchTypeResult/SearchSubjectItem.js +16 -10
  617. package/lib/SearchTypeResult/SearchSubjectResult.d.ts +1 -2
  618. package/lib/SearchTypeResult/SearchSubjectResult.js +11 -9
  619. package/lib/SearchTypeResult/SearchTypeHeader.d.ts +1 -1
  620. package/lib/SearchTypeResult/SearchTypeHeader.js +47 -29
  621. package/lib/SearchTypeResult/SearchTypeResult.d.ts +1 -1
  622. package/lib/SearchTypeResult/SearchTypeResult.js +14 -10
  623. package/lib/SearchTypeResult/SearchViewType.d.ts +1 -2
  624. package/lib/SearchTypeResult/SearchViewType.js +28 -20
  625. package/lib/SearchTypeResult/components/ItemContexts.d.ts +1 -2
  626. package/lib/SearchTypeResult/components/ItemContexts.js +46 -32
  627. package/lib/SearchTypeResult/components/ItemResourceHeader.d.ts +1 -2
  628. package/lib/SearchTypeResult/components/ItemResourceHeader.js +50 -29
  629. package/lib/SearchTypeResult/components/ItemTopicHeader.d.ts +1 -1
  630. package/lib/SearchTypeResult/components/ItemTopicHeader.js +35 -24
  631. package/lib/SearchTypeResult/components/SubjectFilters.d.ts +1 -2
  632. package/lib/SearchTypeResult/components/SubjectFilters.js +14 -12
  633. package/lib/SectionHeading/SectionHeading.d.ts +1 -1
  634. package/lib/SectionHeading/SectionHeading.js +21 -13
  635. package/lib/SnackBar/DefaultSnackbar.d.ts +1 -2
  636. package/lib/SnackBar/DefaultSnackbar.js +15 -9
  637. package/lib/SnackBar/SnackbarProvider.d.ts +2 -2
  638. package/lib/SnackBar/SnackbarProvider.js +27 -23
  639. package/lib/Subject/Subject.d.ts +8 -8
  640. package/lib/Subject/Subject.js +97 -71
  641. package/lib/Subject/SubjectAbout.d.ts +1 -1
  642. package/lib/Subject/SubjectAbout.js +63 -43
  643. package/lib/Subject/SubjectArchive.d.ts +1 -1
  644. package/lib/Subject/SubjectArchive.js +65 -43
  645. package/lib/Subject/SubjectBanner.d.ts +1 -2
  646. package/lib/Subject/SubjectBanner.js +8 -6
  647. package/lib/Subject/SubjectCarousel.d.ts +1 -1
  648. package/lib/Subject/SubjectCarousel.js +43 -31
  649. package/lib/Subject/SubjectHeader.d.ts +1 -2
  650. package/lib/Subject/SubjectHeader.js +39 -29
  651. package/lib/Subject/SubjectLinks.d.ts +1 -2
  652. package/lib/Subject/SubjectLinks.js +20 -14
  653. package/lib/Subject/SubjectNewContent.d.ts +1 -2
  654. package/lib/Subject/SubjectNewContent.js +42 -26
  655. package/lib/Subject/SubjectShortcuts.d.ts +1 -1
  656. package/lib/Subject/SubjectShortcuts.js +28 -20
  657. package/lib/Subject/SubjectSocial.d.ts +2 -2
  658. package/lib/Subject/SubjectSocial.js +12 -8
  659. package/lib/Table/Table.d.ts +1 -1
  660. package/lib/Table/Table.js +5 -5
  661. package/lib/TagSelector/Control.d.ts +1 -2
  662. package/lib/TagSelector/Control.js +7 -5
  663. package/lib/TagSelector/DropdownIndicator.d.ts +1 -2
  664. package/lib/TagSelector/DropdownIndicator.js +8 -6
  665. package/lib/TagSelector/Input.d.ts +1 -2
  666. package/lib/TagSelector/Input.js +8 -6
  667. package/lib/TagSelector/Menu.d.ts +1 -2
  668. package/lib/TagSelector/Menu.js +8 -6
  669. package/lib/TagSelector/MenuList.d.ts +5 -2
  670. package/lib/TagSelector/MenuList.js +6 -4
  671. package/lib/TagSelector/Option.d.ts +1 -2
  672. package/lib/TagSelector/Option.js +12 -8
  673. package/lib/TagSelector/SelectContainer.d.ts +1 -2
  674. package/lib/TagSelector/SelectContainer.js +13 -4
  675. package/lib/TagSelector/TagSelector.d.ts +1 -2
  676. package/lib/TagSelector/TagSelector.js +18 -14
  677. package/lib/TagSelector/ValueButton.d.ts +5 -2
  678. package/lib/TagSelector/ValueButton.js +8 -6
  679. package/lib/ToolboxPage/ToolboxInfo.d.ts +1 -1
  680. package/lib/ToolboxPage/ToolboxInfo.js +11 -7
  681. package/lib/Topic/Loader.d.ts +1 -2
  682. package/lib/Topic/Loader.js +15 -15
  683. package/lib/Topic/Topic.d.ts +1 -1
  684. package/lib/Topic/Topic.js +132 -98
  685. package/lib/TopicIntroductionList/TopicIntroduction.d.ts +1 -2
  686. package/lib/TopicIntroductionList/TopicIntroduction.js +15 -15
  687. package/lib/TopicIntroductionList/TopicIntroductionList.d.ts +1 -2
  688. package/lib/TopicIntroductionList/TopicIntroductionList.js +4 -4
  689. package/lib/TopicIntroductionList/TopicIntroductionShortcuts.d.ts +1 -2
  690. package/lib/TopicIntroductionList/TopicIntroductionShortcuts.js +7 -7
  691. package/lib/TopicIntroductionList/TopicShortcutItem.d.ts +1 -2
  692. package/lib/TopicIntroductionList/TopicShortcutItem.js +5 -5
  693. package/lib/TopicMenu/SubtopicLinkList.js +50 -36
  694. package/lib/TopicMenu/TopicMenu.js +32 -30
  695. package/lib/TopicMenu/TopicMenuButton.js +11 -7
  696. package/lib/Translation/Translation.d.ts +1 -1
  697. package/lib/Translation/Translation.js +2 -2
  698. package/lib/Translation/TranslationBox.d.ts +1 -1
  699. package/lib/Translation/TranslationBox.js +4 -4
  700. package/lib/Translation/TranslationLine.d.ts +1 -1
  701. package/lib/Translation/TranslationLine.js +5 -5
  702. package/lib/TreeStructure/AddFolderButton.d.ts +1 -2
  703. package/lib/TreeStructure/AddFolderButton.js +17 -13
  704. package/lib/TreeStructure/ComboboxButton.js +14 -10
  705. package/lib/TreeStructure/FolderItem.d.ts +1 -2
  706. package/lib/TreeStructure/FolderItem.js +32 -20
  707. package/lib/TreeStructure/FolderItems.d.ts +1 -1
  708. package/lib/TreeStructure/FolderItems.js +17 -13
  709. package/lib/TreeStructure/NavigationLink.d.ts +1 -2
  710. package/lib/TreeStructure/NavigationLink.js +16 -12
  711. package/lib/TreeStructure/TreeStructure.d.ts +1 -2
  712. package/lib/TreeStructure/TreeStructure.js +51 -33
  713. package/lib/User/AuthModal.d.ts +1 -1
  714. package/lib/User/AuthModal.js +42 -28
  715. package/lib/User/UserInfo.d.ts +1 -2
  716. package/lib/User/UserInfo.js +24 -20
  717. package/lib/internal-icons/Book.js +3 -3
  718. package/lib/internal-icons/Download.js +3 -3
  719. package/lib/internal-icons/Embed.js +3 -3
  720. package/lib/internal-icons/InsertTemplate.js +3 -3
  721. package/lib/internal-icons/OpenWindow.js +3 -3
  722. package/lib/locale/LocaleProvider.d.ts +1 -1
  723. package/lib/locale/LocaleProvider.js +4 -4
  724. package/lib/locale/messages-en.js +1 -1
  725. package/lib/locale/messages-nb.js +1 -1
  726. package/lib/locale/messages-nn.js +1 -1
  727. package/lib/locale/messages-se.js +1 -1
  728. package/lib/locale/messages-sma.js +1 -1
  729. package/lib/utils/createUniversalPortal.d.ts +1 -1
  730. package/lib/utils/createUniversalPortal.js +2 -2
  731. package/package.json +18 -18
  732. package/src/Breadcrumb/BreadcrumbItem.tsx +1 -1
  733. package/src/ComponentCursor/ComponentCursor.tsx +1 -1
  734. package/src/CopyParagraphButton/CopyParagraphButton.tsx +21 -19
  735. package/src/Filter/FilterCarousel.tsx +1 -1
  736. package/src/Frontpage/FrontpageFilm.tsx +1 -1
  737. package/src/Frontpage/illustrations/FrontpageSubjectIllustration.tsx +1 -1
  738. package/src/Image/LazyLoadImage.tsx +0 -1
  739. package/src/Image/__tests__/Image-test.jsx +8 -7
  740. package/src/Image/__tests__/__snapshots__/Image-test.jsx.snap +8 -20
  741. package/src/InfoWidget/InfoWidget.tsx +1 -1
  742. package/src/LanguageSelector/LanguageSelector.tsx +1 -1
  743. package/src/LearningPaths/LearningPathLastStepNavigation.tsx +1 -1
  744. package/src/LearningPaths/LearningPathMenu.tsx +1 -1
  745. package/src/LearningPaths/LearningPathMenuAside.tsx +1 -1
  746. package/src/LearningPaths/LearningPathMenuContent.tsx +1 -1
  747. package/src/LearningPaths/LearningPathMenuIntro.tsx +1 -1
  748. package/src/LearningPaths/LearningPathMenuModalWrapper.tsx +1 -1
  749. package/src/LearningPaths/LearningPathSticky.tsx +1 -1
  750. package/src/LearningPaths/LearningPathWrapper.tsx +1 -1
  751. package/src/Masthead/Masthead.tsx +1 -1
  752. package/src/Masthead/MastheadSearchModal.tsx +1 -1
  753. package/src/Messages/MessageBox.tsx +1 -1
  754. package/src/MyNdla/Resource/Folder.tsx +1 -1
  755. package/src/NDLAFilm/AllMoviesAlphabetically.tsx +1 -1
  756. package/src/NDLAFilm/CategorySelect.tsx +1 -1
  757. package/src/NDLAFilm/FilmSlideshow.tsx +1 -1
  758. package/src/NDLAFilm/NavigationArrow.tsx +1 -1
  759. package/src/Navigation/NavigationBox.tsx +1 -1
  760. package/src/Navigation/NavigationHeading.tsx +1 -1
  761. package/src/Navigation/NavigationTopicAbout.tsx +1 -1
  762. package/src/Notion/ConceptNotion.tsx +0 -2
  763. package/src/Notion/NotionVisualElement.tsx +1 -1
  764. package/src/ResourceGroup/ResourceItem.tsx +2 -2
  765. package/src/ResourceGroup/ResourceList.tsx +2 -2
  766. package/src/ResourcesWrapper/ResourcesTopicTitle.tsx +1 -1
  767. package/src/Search/ActiveFilters.tsx +1 -1
  768. package/src/Search/ContentTypeResultStyles.tsx +1 -1
  769. package/src/Search/SearchField.tsx +1 -1
  770. package/src/Search/SearchFieldForm.tsx +1 -1
  771. package/src/SearchTypeResult/ActiveFilters.tsx +1 -1
  772. package/src/SearchTypeResult/SearchItem.tsx +6 -49
  773. package/src/SearchTypeResult/SearchItemList.tsx +12 -19
  774. package/src/SearchTypeResult/components/ItemResourceHeader.tsx +19 -23
  775. package/src/SearchTypeResult/components/ItemTopicHeader.tsx +3 -5
  776. package/src/SectionHeading/SectionHeading.tsx +1 -1
  777. package/src/SnackBar/SnackbarProvider.tsx +1 -1
  778. package/src/Subject/Subject.tsx +1 -1
  779. package/src/Subject/SubjectAbout.tsx +1 -1
  780. package/src/Subject/SubjectCarousel.tsx +1 -1
  781. package/src/Subject/SubjectHeader.tsx +1 -1
  782. package/src/TagSelector/Input.tsx +1 -1
  783. package/src/TagSelector/Menu.tsx +1 -1
  784. package/src/Topic/Topic.tsx +1 -1
  785. package/src/TopicMenu/SubtopicLinkList.jsx +1 -1
  786. package/src/TopicMenu/TopicMenuButton.jsx +1 -1
  787. package/src/TreeStructure/TreeStructure.tsx +1 -1
  788. package/src/locale/messages-en.ts +1 -1
  789. package/src/locale/messages-nb.ts +1 -1
  790. package/src/locale/messages-nn.ts +1 -1
  791. package/src/locale/messages-se.ts +1 -1
  792. package/src/locale/messages-sma.ts +1 -1
@@ -7,7 +7,7 @@ exports["default"] = void 0;
7
7
 
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
 
10
- var _core = require("@emotion/core");
10
+ var _react2 = require("@emotion/react");
11
11
 
12
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
13
 
@@ -19,72 +19,72 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
19
19
  *
20
20
  */
21
21
  var Illustration = function Illustration() {
22
- return (0, _core.jsx)("svg", {
22
+ return (0, _react2.jsx)("svg", {
23
23
  width: "90px",
24
24
  height: "90px",
25
25
  viewBox: "0 0 90 90",
26
26
  version: "1.1",
27
27
  xmlns: "http://www.w3.org/2000/svg"
28
- }, (0, _core.jsx)("g", {
28
+ }, (0, _react2.jsx)("g", {
29
29
  id: "Artboard",
30
30
  stroke: "none",
31
31
  strokeWidth: "1",
32
32
  fill: "none",
33
33
  fillRule: "evenodd"
34
- }, (0, _core.jsx)("path", {
34
+ }, (0, _react2.jsx)("path", {
35
35
  d: "M44,62.0697056 C44,62.0697056 41.634042,52.2742526 40.7199219,47.4586109 C40.6123784,46.8019325 20.7705945,46.9661021 19.1036696,47.2397181 C18.4046366,48.7719677 21.4696276,63 21.4696276,63",
36
36
  id: "Path",
37
37
  stroke: "#000000",
38
38
  strokeWidth: "0.5",
39
39
  strokeLinecap: "round"
40
- }), (0, _core.jsx)("path", {
40
+ }), (0, _react2.jsx)("path", {
41
41
  d: "M4,69 C5.97368266,68.8880303 7.59435434,68.7604131 8.75270513,68.6209555 C19.5914009,67.3397747 -6.4105208,62.6954945 22,63.0157897",
42
42
  id: "Path",
43
43
  stroke: "#000000",
44
44
  strokeWidth: "0.5"
45
- }), (0, _core.jsx)("path", {
45
+ }), (0, _react2.jsx)("path", {
46
46
  d: "M48.0752486,23 C48.0752486,23 43.7332955,23.1060711 45.3679132,28.5687314 C46.5938764,32.7055032 49.1990483,34.7208536 50.7315023,33.766214 C51.2423203,33.4480007 51.6509748,32.8115743 51.8042202,31.8569346 C52.5704472,27.9323049 51.0379931,23.4773198 48.0752486,23 Z",
47
47
  id: "Path",
48
48
  stroke: "#000000",
49
49
  strokeWidth: "0.5",
50
50
  strokeLinecap: "round"
51
- }), (0, _core.jsx)("path", {
51
+ }), (0, _react2.jsx)("path", {
52
52
  d: "M52.5402715,34 C52.5402715,34 52.6454503,37.2398088 55.1697425,37.8771483 C57.6940347,38.5144877 61.8485989,34.7435627 64.6884276,44.7285472 C67.5808458,54.7135318 69.8421909,59.3342427 65.8453949,61.0869262 C61.8485989,62.8396096 53.6446493,61.7242656 51.9617879,60.6089216 C50.226337,59.4935776 49.5426745,56.2537688 47.22874,57.7408941 C44.9148055,59.2280195 42.8638181,62.3616051 49.4374957,60.8744797",
53
53
  id: "Path",
54
54
  stroke: "#000000",
55
55
  strokeWidth: "0.5",
56
56
  strokeLinecap: "round"
57
- }), (0, _core.jsx)("path", {
57
+ }), (0, _react2.jsx)("path", {
58
58
  d: "M49.8588081,34 C50.2567222,34.4904632 49.9724978,39.013624 46.9028742,41.1934605 C43.7764056,43.373297 42.2984386,48.986376 43.3216465,54",
59
59
  id: "Path",
60
60
  stroke: "#000000",
61
61
  strokeWidth: "0.5",
62
62
  strokeLinecap: "round"
63
- }), (0, _core.jsx)("path", {
63
+ }), (0, _react2.jsx)("path", {
64
64
  d: "M61,45 C61,45 61.3528496,56.1818182 62.7642479,57.4909091 C64.1756463,58.8 66.393558,58.8 65.9398943,60",
65
65
  id: "Path",
66
66
  stroke: "#000000",
67
67
  strokeWidth: "0.5",
68
68
  strokeLinecap: "round"
69
- }), (0, _core.jsx)("path", {
69
+ }), (0, _react2.jsx)("path", {
70
70
  d: "M63,57 C59.7818182,58.040833 52.3090909,59.081666 51,58.9949299",
71
71
  id: "Path",
72
72
  stroke: "#000000",
73
73
  strokeWidth: "0.5",
74
74
  strokeLinecap: "round"
75
- }), (0, _core.jsx)("path", {
75
+ }), (0, _react2.jsx)("path", {
76
76
  d: "M47,30.4066057 C47.6556747,30.0110096 50.0910379,29.9318903 49.9973701,30.0505692 C49.9037023,30.169248 47.8898442,30.8813212 47.7961764,31",
77
77
  id: "Path",
78
78
  stroke: "#000000",
79
79
  strokeWidth: "0.5",
80
80
  strokeLinecap: "round"
81
- }), (0, _core.jsx)("path", {
81
+ }), (0, _react2.jsx)("path", {
82
82
  d: "M46,23.6916557 C46.270895,23.5363054 50.6593942,20.0668149 52.1222272,23.5363054 C53.5850603,27.0057959 53.2599863,31.5109553 55.5896833,33.8412101 C57.9193804,36.1714649 57.2150534,37 54.5602823,37",
83
83
  id: "Path",
84
84
  stroke: "#000000",
85
85
  strokeWidth: "0.5",
86
86
  strokeLinecap: "round"
87
- }), (0, _core.jsx)("path", {
87
+ }), (0, _react2.jsx)("path", {
88
88
  d: "M66,61.6333945 L82,61.3666055",
89
89
  id: "Path",
90
90
  stroke: "#000000",
@@ -5,6 +5,5 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
- /// <reference types="react" />
9
- declare const Illustration: () => JSX.Element;
8
+ declare const Illustration: () => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
10
9
  export default Illustration;
@@ -7,7 +7,7 @@ exports["default"] = void 0;
7
7
 
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
 
10
- var _core = require("@emotion/core");
10
+ var _react2 = require("@emotion/react");
11
11
 
12
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
13
 
@@ -19,103 +19,103 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
19
19
  *
20
20
  */
21
21
  var Illustration = function Illustration() {
22
- return (0, _core.jsx)("svg", {
22
+ return (0, _react2.jsx)("svg", {
23
23
  width: "90px",
24
24
  height: "90px",
25
25
  viewBox: "0 0 90 90",
26
26
  version: "1.1",
27
27
  xmlns: "http://www.w3.org/2000/svg"
28
- }, (0, _core.jsx)("g", {
28
+ }, (0, _react2.jsx)("g", {
29
29
  id: "Artboard",
30
30
  stroke: "none",
31
31
  strokeWidth: "1",
32
32
  fill: "none",
33
33
  fillRule: "evenodd"
34
- }, (0, _core.jsx)("path", {
34
+ }, (0, _react2.jsx)("path", {
35
35
  d: "M40.3344969,28.2189361 C40.3344969,28.2189361 35.0859962,32.25877 35.5799727,35.1104175 C36.1356964,37.9620651 39.408291,40.0413913 41.3841971,36.5362413 C41.8781736,35.6451014 42.248656,34.6351429 42.4338972,33.6845937 C43.113115,30.7141276 42.3721501,27.8624802 40.3344969,28.2189361 Z",
36
36
  id: "Path",
37
37
  stroke: "#000000",
38
38
  strokeWidth: "0.5"
39
- }), (0, _core.jsx)("path", {
39
+ }), (0, _react2.jsx)("path", {
40
40
  d: "M39.7196249,33.4594669 C39.0366355,32.577042 42.1670033,35.3713876 42.6792453,33.8271441",
41
41
  id: "Path",
42
42
  stroke: "#000000",
43
43
  strokeWidth: "0.5"
44
- }), (0, _core.jsx)("path", {
44
+ }), (0, _react2.jsx)("path", {
45
45
  d: "M30.2865714,59.46123 C30.2865714,59.46123 32.0647439,62.4600941 32.4089064,61.6826108 C32.6957084,61.0161965 32.1794648,59.1835574 32.0647439,58.6282121 C32.0647439,58.5726776 32.1221044,58.5726776 32.1221044,58.5726776 C32.8677897,59.46123 33.8429166,61.3494036 36.5388556,61.3494036 C39.4068758,61.3494036 35.7358098,58.5726776 33.211952,57.017711 C30.6880942,55.4627444 23.0591604,57.4619872 20.8794649,58.1284014 C18.6424091,58.7392812 17.8967239,56.4068313 18.3556071,55.1850718 C18.8144904,53.9633124 19.617536,51.7974661 22.7723583,47.5768424 C25.9271806,43.4117533 30.3439318,41.0793035 33.8429166,40.4684237 C37.3419013,39.857544 37.16982,37.3584906 37.16982,37.3584906",
46
46
  id: "Path",
47
47
  stroke: "#000000",
48
48
  strokeWidth: "0.5",
49
49
  strokeLinecap: "round"
50
- }), (0, _core.jsx)("path", {
50
+ }), (0, _react2.jsx)("path", {
51
51
  d: "M40.6415094,38.3773585 C40.6415094,38.3773585 40.9844274,41.1354405 43.9563825,42.5144815 C46.9283376,43.8935224 50.1289047,46.6516044 49.7859868,49.4096864 C49.4430689,52.1677682 47.8999384,55.0913352 47.5570205,55.6981132",
52
52
  id: "Path",
53
53
  stroke: "#000000",
54
54
  strokeWidth: "0.5"
55
- }), (0, _core.jsx)("path", {
55
+ }), (0, _react2.jsx)("path", {
56
56
  d: "M38.6037736,55.6981132 C38.9564586,51.1005769 41.6603774,42.4528302 41.6603774,42.4528302",
57
57
  id: "Path",
58
58
  stroke: "#000000",
59
59
  strokeWidth: "0.5",
60
60
  strokeLinecap: "round"
61
- }), (0, _core.jsx)("path", {
61
+ }), (0, _react2.jsx)("path", {
62
62
  d: "M44.7169811,43.4716981 C44.2953806,43.9465103 41.6252439,52.0776699 40.6415094,55.6981132",
63
63
  id: "Path",
64
64
  stroke: "#000000",
65
65
  strokeWidth: "0.5",
66
66
  strokeLinecap: "round"
67
- }), (0, _core.jsx)("path", {
67
+ }), (0, _react2.jsx)("path", {
68
68
  d: "M32.3886792,41.4339623 C32.3886792,41.4339623 32.3886792,51.8608842 31.5735849,52.6415094",
69
69
  id: "Path",
70
70
  stroke: "#000000",
71
71
  strokeWidth: "0.5",
72
72
  strokeLinecap: "round"
73
- }), (0, _core.jsx)("path", {
73
+ }), (0, _react2.jsx)("path", {
74
74
  d: "M29.8924528,41.4339623 L29.9943396,55.6981132",
75
75
  id: "Path",
76
76
  stroke: "#000000",
77
77
  strokeWidth: "0.5",
78
78
  strokeLinecap: "round"
79
- }), (0, _core.jsx)("path", {
79
+ }), (0, _react2.jsx)("path", {
80
80
  d: "M33.3325574,62.1435603 L31.2802035,62.5865464 L26.3773585,63.9708778 L43.651336,72 L66.1132075,62.2543068 L48.0410926,56.7169811 C47.242955,56.8831009 36.069029,61.0360951 36.069029,61.0360951",
81
81
  id: "Path",
82
82
  stroke: "#000000",
83
83
  strokeWidth: "0.5"
84
- }), (0, _core.jsx)("path", {
84
+ }), (0, _react2.jsx)("path", {
85
85
  d: "M51.177305,18.4855798 C50.5012691,18.7725734 50.3885964,28.0711682 54.8955022,28.1859657 C59.4024079,28.3007632 59.2897352,24.7420417 58.6700357,23.4218708 C57.9939998,22.1017 56.6419281,16.3044279 51.177305,18.4855798 Z",
86
86
  id: "Path",
87
87
  stroke: "#000000",
88
88
  strokeWidth: "0.5"
89
- }), (0, _core.jsx)("path", {
89
+ }), (0, _react2.jsx)("path", {
90
90
  d: "M50.8301887,26.0105223 C50.8952228,26.7835023 53.8867925,24.1132075 53.8867925,24.1132075",
91
91
  id: "Path",
92
92
  stroke: "#000000",
93
93
  strokeWidth: "0.5",
94
94
  strokeLinecap: "round"
95
- }), (0, _core.jsx)("path", {
95
+ }), (0, _react2.jsx)("path", {
96
96
  d: "M57.1552073,27.1698113 C57.1552073,27.1698113 57.2144059,28.9230949 58.9311654,29.4886703 C61.4175067,30.3370334 65.4430117,30.7329361 67.1005726,35.9362294 C68.7581335,41.1395227 71.4812692,50.5846313 71.1852761,51.3764368 C70.8892832,52.1682422 66.9229768,57.9936685 65.1470187,59.4076068 C63.3710605,60.8215453 55.3200506,60.369085 55.852838,61.2740056 C56.3264269,62.2354837 58.6351723,61.6133507 58.6351723,61.6133507 C58.6351723,61.6133507 63.1934648,60.1994124 65.0286215,56.7494027 C65.0286215,56.7494027 61.5951025,58.6158014 58.9903639,53.9215258 C56.3856254,49.2272504 55.5568451,34.0698308 56.3856254,31.5247416 C57.2144059,28.9796525 54.9056604,28.4140771 54.9056604,28.4140771",
97
97
  id: "Path",
98
98
  stroke: "#000000",
99
99
  strokeWidth: "0.5",
100
100
  strokeLinecap: "round"
101
- }), (0, _core.jsx)("path", {
101
+ }), (0, _react2.jsx)("path", {
102
102
  d: "M57.9622642,47.5471698 C57.9622642,47.9864422 57.5613981,53.5322562 53.8867925,56.7169811",
103
103
  id: "Path",
104
104
  stroke: "#000000",
105
105
  strokeWidth: "0.5",
106
106
  strokeLinecap: "round"
107
- }), (0, _core.jsx)("path", {
107
+ }), (0, _react2.jsx)("path", {
108
108
  d: "M69.1698113,54.6792453 C69.3087478,55.1050408 70.1886792,61.8113208 70.1886792,61.8113208",
109
109
  id: "Path",
110
110
  stroke: "#000000",
111
111
  strokeWidth: "0.5",
112
112
  strokeLinecap: "round"
113
- }), (0, _core.jsx)("path", {
113
+ }), (0, _react2.jsx)("path", {
114
114
  d: "M65.2950397,56.7169811 C65.2950397,56.7169811 69.5129241,53.5471698 67.6968905,46.6415094 C65.8222752,39.2830189 63.0103524,36.8490566 62.014463,34.4716981 C61.0185736,32.0943396 60.5499198,31.8113208 61.6629726,30.2264151",
115
115
  id: "Path",
116
116
  stroke: "#000000",
117
117
  strokeWidth: "0.5"
118
- }), (0, _core.jsx)("path", {
118
+ }), (0, _react2.jsx)("path", {
119
119
  d: "M6,63.3396226 L26.3773585,63.3396226",
120
120
  id: "Path",
121
121
  stroke: "#000000",
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import Fellesfag from './Fellesfag';
3
2
  import Yrkesfag from './Yrkesfag';
4
3
  import Studiespesialiserende from './Studiespesialiserende';
@@ -7,13 +6,13 @@ import MenuYrkesfag from './MenuYrkesfag';
7
6
  import MenuStudiespesialiserende from './MenuStudiespesialiserende';
8
7
  import FrontpageSubjectIllustration from './FrontpageSubjectIllustration';
9
8
  declare const categoryIllustrations: {
10
- yrkesfag: () => JSX.Element;
11
- studiespesialiserende: () => JSX.Element;
12
- fellesfag: () => JSX.Element;
9
+ yrkesfag: () => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
10
+ studiespesialiserende: () => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
11
+ fellesfag: () => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
13
12
  };
14
13
  declare const categoryIllustrationsInModal: {
15
- yrkesfag: () => JSX.Element;
16
- studiespesialiserende: () => JSX.Element;
17
- fellesfag: () => JSX.Element;
14
+ yrkesfag: () => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
15
+ studiespesialiserende: () => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
16
+ fellesfag: () => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
18
17
  };
19
18
  export { Fellesfag, Yrkesfag, Studiespesialiserende, MenuFellesfag, MenuYrkesfag, MenuStudiespesialiserende, FrontpageSubjectIllustration, categoryIllustrations, categoryIllustrationsInModal, };
@@ -11,17 +11,17 @@ interface HeroProps {
11
11
  children?: ReactNode;
12
12
  contentType?: HeroContentType;
13
13
  }
14
- export declare const Hero: ({ children, contentType }: HeroProps) => JSX.Element;
14
+ export declare const Hero: ({ children, contentType }: HeroProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
15
15
  interface Props {
16
16
  children?: ReactNode;
17
17
  }
18
- export declare const SubjectMaterialHero: (props: Props) => JSX.Element;
19
- export declare const TasksAndActivitiesHero: (props: Props) => JSX.Element;
20
- export declare const AssessmentResourcesHero: (props: Props) => JSX.Element;
21
- export declare const SubjectHero: (props: Props) => JSX.Element;
22
- export declare const ExternalLearningResourcesHero: (props: Props) => JSX.Element;
23
- export declare const SourceMaterialHero: (props: Props) => JSX.Element;
18
+ export declare const SubjectMaterialHero: (props: Props) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
19
+ export declare const TasksAndActivitiesHero: (props: Props) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
20
+ export declare const AssessmentResourcesHero: (props: Props) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
21
+ export declare const SubjectHero: (props: Props) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
22
+ export declare const ExternalLearningResourcesHero: (props: Props) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
23
+ export declare const SourceMaterialHero: (props: Props) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
24
24
  export declare const NdlaFilmHero: ({ hasImage, ...rest }: Props & {
25
25
  hasImage?: boolean | undefined;
26
- }) => JSX.Element;
26
+ }) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
27
27
  export {};
package/lib/Hero/Hero.js CHANGED
@@ -13,7 +13,7 @@ var _reactBemHelper = _interopRequireDefault(require("react-bem-helper"));
13
13
 
14
14
  var contentTypes = _interopRequireWildcard(require("../model/ContentType"));
15
15
 
16
- var _core = require("@emotion/core");
16
+ var _react2 = require("@emotion/react");
17
17
 
18
18
  function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
19
19
 
@@ -35,13 +35,13 @@ var classes = new _reactBemHelper["default"]({
35
35
  var Hero = function Hero(_ref) {
36
36
  var children = _ref.children,
37
37
  contentType = _ref.contentType;
38
- return (0, _core.jsx)("div", classes('', contentType), children || null);
38
+ return (0, _react2.jsx)("div", classes('', contentType), children || null);
39
39
  };
40
40
 
41
41
  exports.Hero = Hero;
42
42
 
43
43
  var SubjectMaterialHero = function SubjectMaterialHero(props) {
44
- return (0, _core.jsx)(Hero, _extends({
44
+ return (0, _react2.jsx)(Hero, _extends({
45
45
  contentType: contentTypes.SUBJECT_MATERIAL
46
46
  }, props));
47
47
  };
@@ -49,7 +49,7 @@ var SubjectMaterialHero = function SubjectMaterialHero(props) {
49
49
  exports.SubjectMaterialHero = SubjectMaterialHero;
50
50
 
51
51
  var TasksAndActivitiesHero = function TasksAndActivitiesHero(props) {
52
- return (0, _core.jsx)(Hero, _extends({
52
+ return (0, _react2.jsx)(Hero, _extends({
53
53
  contentType: contentTypes.TASKS_AND_ACTIVITIES
54
54
  }, props));
55
55
  };
@@ -57,7 +57,7 @@ var TasksAndActivitiesHero = function TasksAndActivitiesHero(props) {
57
57
  exports.TasksAndActivitiesHero = TasksAndActivitiesHero;
58
58
 
59
59
  var AssessmentResourcesHero = function AssessmentResourcesHero(props) {
60
- return (0, _core.jsx)(Hero, _extends({
60
+ return (0, _react2.jsx)(Hero, _extends({
61
61
  contentType: contentTypes.ASSESSMENT_RESOURCES
62
62
  }, props));
63
63
  };
@@ -65,7 +65,7 @@ var AssessmentResourcesHero = function AssessmentResourcesHero(props) {
65
65
  exports.AssessmentResourcesHero = AssessmentResourcesHero;
66
66
 
67
67
  var SubjectHero = function SubjectHero(props) {
68
- return (0, _core.jsx)(Hero, _extends({
68
+ return (0, _react2.jsx)(Hero, _extends({
69
69
  contentType: contentTypes.SUBJECT
70
70
  }, props));
71
71
  };
@@ -73,7 +73,7 @@ var SubjectHero = function SubjectHero(props) {
73
73
  exports.SubjectHero = SubjectHero;
74
74
 
75
75
  var ExternalLearningResourcesHero = function ExternalLearningResourcesHero(props) {
76
- return (0, _core.jsx)(Hero, _extends({
76
+ return (0, _react2.jsx)(Hero, _extends({
77
77
  contentType: contentTypes.EXTERNAL_LEARNING_RESOURCES
78
78
  }, props));
79
79
  };
@@ -81,7 +81,7 @@ var ExternalLearningResourcesHero = function ExternalLearningResourcesHero(props
81
81
  exports.ExternalLearningResourcesHero = ExternalLearningResourcesHero;
82
82
 
83
83
  var SourceMaterialHero = function SourceMaterialHero(props) {
84
- return (0, _core.jsx)(Hero, _extends({
84
+ return (0, _react2.jsx)(Hero, _extends({
85
85
  contentType: contentTypes.SOURCE_MATERIAL
86
86
  }, props));
87
87
  };
@@ -92,7 +92,7 @@ var NdlaFilmHero = function NdlaFilmHero(_ref2) {
92
92
  var hasImage = _ref2.hasImage,
93
93
  rest = _objectWithoutProperties(_ref2, ["hasImage"]);
94
94
 
95
- return (0, _core.jsx)(Hero, _extends({}, rest, {
95
+ return (0, _react2.jsx)(Hero, _extends({}, rest, {
96
96
  contentType: hasImage ? 'ndla-film has-image' : 'ndla-film'
97
97
  }));
98
98
  };
@@ -30,5 +30,5 @@ interface Props {
30
30
  crop?: ImageCrop;
31
31
  focalPoint?: ImageFocalPoint;
32
32
  }
33
- declare const Image: ({ alt, src, lazyLoad, lazyLoadSrc, crop, focalPoint, contentType, sizes, expandButton, fallbackWidth, ...rest }: Props) => JSX.Element;
33
+ declare const Image: ({ alt, src, lazyLoad, lazyLoadSrc, crop, focalPoint, contentType, sizes, expandButton, fallbackWidth, ...rest }: Props) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
34
34
  export default Image;
@@ -5,13 +5,13 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = exports.makeSrcQueryString = void 0;
7
7
 
8
- var _styledBase = _interopRequireDefault(require("@emotion/styled-base"));
8
+ var _base = _interopRequireDefault(require("@emotion/styled/base"));
9
9
 
10
10
  var _react = _interopRequireDefault(require("react"));
11
11
 
12
12
  var _LazyLoadImage = _interopRequireDefault(require("./LazyLoadImage"));
13
13
 
14
- var _core = require("@emotion/core");
14
+ var _react2 = require("@emotion/react");
15
15
 
16
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
17
 
@@ -42,15 +42,17 @@ var getSrcSet = function getSrcSet(src, crop, focalPoint) {
42
42
  }).join(', ');
43
43
  };
44
44
 
45
- var StyledImageWrapper = (0, _styledBase["default"])("div", {
45
+ var StyledImageWrapper = /*#__PURE__*/(0, _base["default"])("div", process.env.NODE_ENV === "production" ? {
46
+ target: "ejtxxex0"
47
+ } : {
46
48
  target: "ejtxxex0",
47
49
  label: "StyledImageWrapper"
48
50
  })(process.env.NODE_ENV === "production" ? {
49
- name: "79elbk",
50
- styles: "position:relative;"
51
+ name: "bjn8wh",
52
+ styles: "position:relative"
51
53
  } : {
52
- name: "79elbk",
53
- styles: "position:relative;",
54
+ name: "bjn8wh",
55
+ styles: "position:relative",
54
56
  map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkltYWdlLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF1Q3FDIiwiZmlsZSI6IkltYWdlLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQ29weXJpZ2h0IChjKSAyMDE3LXByZXNlbnQsIE5ETEEuXG4gKlxuICogVGhpcyBzb3VyY2UgY29kZSBpcyBsaWNlbnNlZCB1bmRlciB0aGUgR1BMdjMgbGljZW5zZSBmb3VuZCBpbiB0aGVcbiAqIExJQ0VOU0UgZmlsZSBpbiB0aGUgcm9vdCBkaXJlY3Rvcnkgb2YgdGhpcyBzb3VyY2UgdHJlZS5cbiAqXG4gKi9cblxuaW1wb3J0IFJlYWN0LCB7IFJlYWN0Tm9kZSB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCBMYXp5TG9hZEltYWdlIGZyb20gJy4vTGF6eUxvYWRJbWFnZSc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSW1hZ2VDcm9wIHtcbiAgc3RhcnRYOiBudW1iZXI7XG4gIHN0YXJ0WTogbnVtYmVyO1xuICBlbmRYOiBudW1iZXI7XG4gIGVuZFk6IG51bWJlcjtcbn1cblxuZXhwb3J0IGludGVyZmFjZSBJbWFnZUZvY2FsUG9pbnQge1xuICB4OiBudW1iZXI7XG4gIHk6IG51bWJlcjtcbn1cblxuZXhwb3J0IGNvbnN0IG1ha2VTcmNRdWVyeVN0cmluZyA9ICh3aWR0aDogbnVtYmVyIHwgdW5kZWZpbmVkLCBjcm9wPzogSW1hZ2VDcm9wLCBmb2NhbFBvaW50PzogSW1hZ2VGb2NhbFBvaW50KSA9PiB7XG4gIGNvbnN0IHdpZHRoUGFyYW1zID0gd2lkdGggJiYgYHdpZHRoPSR7d2lkdGh9YDtcbiAgY29uc3QgY3JvcFBhcmFtcyA9XG4gICAgY3JvcCAmJiBgY3JvcFN0YXJ0WD0ke2Nyb3Auc3RhcnRYfSZjcm9wRW5kWD0ke2Nyb3AuZW5kWH0mY3JvcFN0YXJ0WT0ke2Nyb3Auc3RhcnRZfSZjcm9wRW5kWT0ke2Nyb3AuZW5kWX1gO1xuICBjb25zdCBmb2NhbFBvaW50UGFyYW1zID0gZm9jYWxQb2ludCAmJiBgZm9jYWxYPSR7Zm9jYWxQb2ludC54fSZmb2NhbFk9JHtmb2NhbFBvaW50Lnl9YDtcbiAgY29uc3QgcGFyYW1zID0gW3dpZHRoUGFyYW1zLCBjcm9wUGFyYW1zLCBmb2NhbFBvaW50UGFyYW1zXS5maWx0ZXIoKHApID0+IHApLmpvaW4oJyYnKTtcblxuICByZXR1cm4gcGFyYW1zO1xufTtcblxuY29uc3QgZ2V0U3JjU2V0ID0gKHNyYzogc3RyaW5nLCBjcm9wOiBJbWFnZUNyb3AgfCB1bmRlZmluZWQsIGZvY2FsUG9pbnQ6IEltYWdlRm9jYWxQb2ludCB8IHVuZGVmaW5lZCkgPT4ge1xuICBjb25zdCB3aWR0aHMgPSBbMjcyMCwgMjA4MCwgMTc2MCwgMTQ0MCwgMTEyMCwgMTAwMCwgOTYwLCA4MDAsIDY0MCwgNDgwLCAzMjAsIDI0MCwgMTgwXTtcbiAgcmV0dXJuIHdpZHRocy5tYXAoKHdpZHRoKSA9PiBgJHtzcmN9PyR7bWFrZVNyY1F1ZXJ5U3RyaW5nKHdpZHRoLCBjcm9wLCBmb2NhbFBvaW50KX0gJHt3aWR0aH13YCkuam9pbignLCAnKTtcbn07XG5cbmNvbnN0IFN0eWxlZEltYWdlV3JhcHBlciA9IHN0eWxlZC5kaXZgXG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcbmA7XG5pbnRlcmZhY2UgUHJvcHMge1xuICBhbHQ6IHN0cmluZztcbiAgc3JjOiBzdHJpbmc7XG4gIHNpemVzPzogc3RyaW5nO1xuICBmYWxsYmFja1dpZHRoPzogbnVtYmVyO1xuICBjb250ZW50VHlwZT86IHN0cmluZztcbiAgc3JjU2V0Pzogc3RyaW5nO1xuICBsYXp5TG9hZD86IGJvb2xlYW47XG4gIGxhenlMb2FkU3JjPzogc3RyaW5nO1xuICBleHBhbmRCdXR0b24/OiBSZWFjdE5vZGU7XG4gIGNyb3A/OiBJbWFnZUNyb3A7XG4gIGZvY2FsUG9pbnQ/OiBJbWFnZUZvY2FsUG9pbnQ7XG59XG5cbmNvbnN0IEltYWdlID0gKHtcbiAgYWx0LFxuICBzcmMsXG4gIGxhenlMb2FkLFxuICBsYXp5TG9hZFNyYyxcbiAgY3JvcCxcbiAgZm9jYWxQb2ludCxcbiAgY29udGVudFR5cGUsXG4gIHNpemVzID0gJyhtaW4td2lkdGg6IDEwMjRweCkgMTAyNHB4LCAxMDB2dycsXG4gIGV4cGFuZEJ1dHRvbixcbiAgZmFsbGJhY2tXaWR0aCA9IDEwMjQsXG4gIC4uLnJlc3Rcbn06IFByb3BzKSA9PiB7XG4gIGNvbnN0IHNyY1NldCA9IHJlc3Quc3JjU2V0ID8/IGdldFNyY1NldChzcmMsIGNyb3AsIGZvY2FsUG9pbnQpO1xuICBjb25zdCBxdWVyeVN0cmluZyA9IG1ha2VTcmNRdWVyeVN0cmluZyhmYWxsYmFja1dpZHRoLCBjcm9wLCBmb2NhbFBvaW50KTtcblxuICBpZiAoY29udGVudFR5cGUgJiYgY29udGVudFR5cGUgPT09ICdpbWFnZS9naWYnKSB7XG4gICAgcmV0dXJuIChcbiAgICAgIDxTdHlsZWRJbWFnZVdyYXBwZXI+XG4gICAgICAgIDxpbWcgYWx0PXthbHR9IHNyYz17YCR7c3JjfWB9IHsuLi5yZXN0fSAvPlxuICAgICAgPC9TdHlsZWRJbWFnZVdyYXBwZXI+XG4gICAgKTtcbiAgfVxuXG4gIGlmIChsYXp5TG9hZCkge1xuICAgIHJldHVybiAoXG4gICAgICA8U3R5bGVkSW1hZ2VXcmFwcGVyPlxuICAgICAgICA8TGF6eUxvYWRJbWFnZVxuICAgICAgICAgIGFsdD17YWx0fVxuICAgICAgICAgIHNyYz17YCR7c3JjfT8ke3F1ZXJ5U3RyaW5nfWB9XG4gICAgICAgICAgc3JjU2V0PXtzcmNTZXR9XG4gICAgICAgICAgc2l6ZXM9e3NpemVzfVxuICAgICAgICAgIGxhenlMb2FkU3JjPXtsYXp5TG9hZFNyY31cbiAgICAgICAgLz5cbiAgICAgIDwvU3R5bGVkSW1hZ2VXcmFwcGVyPlxuICAgICk7XG4gIH1cblxuICByZXR1cm4gKFxuICAgIDxTdHlsZWRJbWFnZVdyYXBwZXI+XG4gICAgICA8cGljdHVyZT5cbiAgICAgICAgPHNvdXJjZSB0eXBlPXtjb250ZW50VHlwZX0gc3JjU2V0PXtzcmNTZXR9IHNpemVzPXtzaXplc30gLz5cbiAgICAgICAgPGltZyBhbHQ9e2FsdH0gc3JjPXtgJHtzcmN9PyR7cXVlcnlTdHJpbmd9YH0gey4uLnJlc3R9IC8+XG4gICAgICA8L3BpY3R1cmU+XG4gICAgICB7ZXhwYW5kQnV0dG9ufVxuICAgIDwvU3R5bGVkSW1hZ2VXcmFwcGVyPlxuICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgSW1hZ2U7XG4iXX0= */",
55
57
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
56
58
  });
@@ -76,14 +78,14 @@ var Image = function Image(_ref) {
76
78
  var queryString = makeSrcQueryString(fallbackWidth, crop, focalPoint);
77
79
 
78
80
  if (contentType && contentType === 'image/gif') {
79
- return (0, _core.jsx)(StyledImageWrapper, null, (0, _core.jsx)("img", _extends({
81
+ return (0, _react2.jsx)(StyledImageWrapper, null, (0, _react2.jsx)("img", _extends({
80
82
  alt: alt,
81
83
  src: "".concat(src)
82
84
  }, rest)));
83
85
  }
84
86
 
85
87
  if (lazyLoad) {
86
- return (0, _core.jsx)(StyledImageWrapper, null, (0, _core.jsx)(_LazyLoadImage["default"], {
88
+ return (0, _react2.jsx)(StyledImageWrapper, null, (0, _react2.jsx)(_LazyLoadImage["default"], {
87
89
  alt: alt,
88
90
  src: "".concat(src, "?").concat(queryString),
89
91
  srcSet: srcSet,
@@ -92,11 +94,11 @@ var Image = function Image(_ref) {
92
94
  }));
93
95
  }
94
96
 
95
- return (0, _core.jsx)(StyledImageWrapper, null, (0, _core.jsx)("picture", null, (0, _core.jsx)("source", {
97
+ return (0, _react2.jsx)(StyledImageWrapper, null, (0, _react2.jsx)("picture", null, (0, _react2.jsx)("source", {
96
98
  type: contentType,
97
99
  srcSet: srcSet,
98
100
  sizes: sizes
99
- }), (0, _core.jsx)("img", _extends({
101
+ }), (0, _react2.jsx)("img", _extends({
100
102
  alt: alt,
101
103
  src: "".concat(src, "?").concat(queryString)
102
104
  }, rest))), expandButton);
@@ -14,5 +14,5 @@ interface Props {
14
14
  crop?: ImageCrop;
15
15
  focalPoint?: ImageFocalPoint;
16
16
  }
17
- export declare function ImageLink({ src, crop, children, ...rest }: Props): JSX.Element;
17
+ export declare function ImageLink({ src, crop, children, ...rest }: Props): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
18
18
  export {};
@@ -5,13 +5,13 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.ImageLink = ImageLink;
7
7
 
8
- var _styledBase = _interopRequireDefault(require("@emotion/styled-base"));
8
+ var _base = _interopRequireDefault(require("@emotion/styled/base"));
9
9
 
10
10
  var _react = _interopRequireDefault(require("react"));
11
11
 
12
12
  var _Image = require("./Image");
13
13
 
14
- var _core = require("@emotion/core");
14
+ var _react2 = require("@emotion/react");
15
15
 
16
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
17
 
@@ -23,15 +23,17 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
23
23
 
24
24
  function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
25
25
 
26
- var StyledLink = (0, _styledBase["default"])("a", {
26
+ var StyledLink = /*#__PURE__*/(0, _base["default"])("a", process.env.NODE_ENV === "production" ? {
27
+ target: "eo3pjlm0"
28
+ } : {
27
29
  target: "eo3pjlm0",
28
30
  label: "StyledLink"
29
31
  })(process.env.NODE_ENV === "production" ? {
30
- name: "17viinn",
31
- styles: "box-shadow:inset 0 0;"
32
+ name: "1lq5d17",
33
+ styles: "box-shadow:inset 0 0"
32
34
  } : {
33
- name: "17viinn",
34
- styles: "box-shadow:inset 0 0;",
35
+ name: "1lq5d17",
36
+ styles: "box-shadow:inset 0 0",
35
37
  map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkltYWdlTGluay50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBYTJCIiwiZmlsZSI6IkltYWdlTGluay50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIENvcHlyaWdodCAoYykgMjAxOS1wcmVzZW50LCBORExBLlxuICpcbiAqIFRoaXMgc291cmNlIGNvZGUgaXMgbGljZW5zZWQgdW5kZXIgdGhlIEdQTHYzIGxpY2Vuc2UgZm91bmQgaW4gdGhlXG4gKiBMSUNFTlNFIGZpbGUgaW4gdGhlIHJvb3QgZGlyZWN0b3J5IG9mIHRoaXMgc291cmNlIHRyZWUuXG4gKlxuICovXG5cbmltcG9ydCBSZWFjdCwgeyBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgeyBtYWtlU3JjUXVlcnlTdHJpbmcgfSBmcm9tICcuL0ltYWdlJztcbmltcG9ydCB7IEltYWdlQ3JvcCwgSW1hZ2VGb2NhbFBvaW50IH0gZnJvbSAnLic7XG5cbmNvbnN0IFN0eWxlZExpbmsgPSBzdHlsZWQuYWBcbiAgYm94LXNoYWRvdzogaW5zZXQgMCAwO1xuYDtcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgc3JjOiBzdHJpbmc7XG4gIGNoaWxkcmVuOiBSZWFjdE5vZGU7XG4gIHNpemVzPzogc3RyaW5nO1xuICBjcm9wPzogSW1hZ2VDcm9wO1xuICBmb2NhbFBvaW50PzogSW1hZ2VGb2NhbFBvaW50O1xufVxuXG5leHBvcnQgZnVuY3Rpb24gSW1hZ2VMaW5rKHsgc3JjLCBjcm9wLCBjaGlsZHJlbiwgLi4ucmVzdCB9OiBQcm9wcykge1xuICByZXR1cm4gKFxuICAgIDxTdHlsZWRMaW5rXG4gICAgICB0YXJnZXQ9XCJfYmxhbmtcIlxuICAgICAgaHJlZj17YCR7c3JjfT8ke21ha2VTcmNRdWVyeVN0cmluZyh1bmRlZmluZWQsIGNyb3ApfWB9XG4gICAgICByZWw9XCJub29wZW5lciBub3JlZmVycmVyXCJcbiAgICAgIHsuLi5yZXN0fT5cbiAgICAgIHtjaGlsZHJlbn1cbiAgICA8L1N0eWxlZExpbms+XG4gICk7XG59XG4iXX0= */",
36
38
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
37
39
  });
@@ -42,7 +44,7 @@ function ImageLink(_ref) {
42
44
  children = _ref.children,
43
45
  rest = _objectWithoutProperties(_ref, ["src", "crop", "children"]);
44
46
 
45
- return (0, _core.jsx)(StyledLink, _extends({
47
+ return (0, _react2.jsx)(StyledLink, _extends({
46
48
  target: "_blank",
47
49
  href: "".concat(src, "?").concat((0, _Image.makeSrcQueryString)(undefined, crop)),
48
50
  rel: "noopener noreferrer"
@@ -5,7 +5,6 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
- /// <reference types="react" />
9
8
  interface Props {
10
9
  alt: string;
11
10
  src: string;
@@ -14,5 +13,5 @@ interface Props {
14
13
  srcSet?: string;
15
14
  lazyLoadSrc?: string;
16
15
  }
17
- declare const LazyLoadImage: ({ alt, src, srcSet, lazyLoadSrc, sizes, ...rest }: Props) => JSX.Element;
16
+ declare const LazyLoadImage: ({ alt, src, srcSet, lazyLoadSrc, sizes, ...rest }: Props) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
18
17
  export default LazyLoadImage;
@@ -7,7 +7,7 @@ exports["default"] = void 0;
7
7
 
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
 
10
- var _core = require("@emotion/core");
10
+ var _react2 = require("@emotion/react");
11
11
 
12
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
13
 
@@ -26,14 +26,14 @@ var LazyLoadImage = function LazyLoadImage(_ref) {
26
26
  sizes = _ref.sizes,
27
27
  rest = _objectWithoutProperties(_ref, ["alt", "src", "srcSet", "lazyLoadSrc", "sizes"]);
28
28
 
29
- return (0, _core.jsx)(_react["default"].Fragment, null, (0, _core.jsx)("noscript", {
29
+ return (0, _react2.jsx)(_react["default"].Fragment, null, (0, _react2.jsx)("noscript", {
30
30
  key: "noscript"
31
- }, (0, _core.jsx)("img", _extends({
31
+ }, (0, _react2.jsx)("img", _extends({
32
32
  alt: alt,
33
33
  src: "".concat(src),
34
34
  srcSet: srcSet,
35
35
  sizes: sizes
36
- }, rest))), ",", (0, _core.jsx)("img", _extends({
36
+ }, rest))), (0, _react2.jsx)("img", _extends({
37
37
  alt: alt,
38
38
  key: "img",
39
39
  style: {
@@ -4,5 +4,5 @@ interface InfoBlockProps {
4
4
  title?: string;
5
5
  children?: ReactNode;
6
6
  }
7
- export declare const InfoBlock: ({ icon, title, children }: InfoBlockProps) => JSX.Element;
7
+ export declare const InfoBlock: ({ icon, title, children }: InfoBlockProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
8
8
  export default InfoBlock;