@ndla/ui 12.0.0 → 12.1.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 (135) hide show
  1. package/es/Search/ContentTypeResult.js +1 -1
  2. package/es/locale/messages-en.js +59 -18
  3. package/es/locale/messages-nb.js +58 -17
  4. package/es/locale/messages-nn.js +59 -18
  5. package/es/locale/messages-se.js +56 -15
  6. package/es/locale/messages-sma.js +56 -15
  7. package/lib/Article/ArticleAccessMessage.d.ts +1 -0
  8. package/lib/Article/ArticleAuthorContent.d.ts +1 -0
  9. package/lib/Article/ArticleContent.d.ts +1 -0
  10. package/lib/Article/ArticleFootNotes.d.ts +1 -0
  11. package/lib/Article/ArticleNotions.d.ts +1 -0
  12. package/lib/AudioPlayer/Controls.d.ts +1 -0
  13. package/lib/AudioPlayer/SpeechControl.d.ts +1 -0
  14. package/lib/AuthorInfo/AuthorInfo.d.ts +1 -0
  15. package/lib/BackgroundImage/BackgroundImage.d.ts +1 -0
  16. package/lib/BannerCard/BannerCard.d.ts +1 -0
  17. package/lib/BlogPosts/BlogPost.d.ts +1 -0
  18. package/lib/Breadcrumb/BreadcrumbItem.d.ts +1 -2
  19. package/lib/CompetenceGoalTab/CompetenceGoalItem.d.ts +1 -0
  20. package/lib/CompetenceGoalTab/CompetenceGoalTab.d.ts +1 -0
  21. package/lib/CompetenceGoalTab/CompetenceItem.d.ts +1 -0
  22. package/lib/CompetenceGoalTab/SearchButton.d.ts +1 -0
  23. package/lib/ComponentCursor/ComponentCursor.d.ts +1 -0
  24. package/lib/ContentCard/ContentCard.d.ts +1 -0
  25. package/lib/ContentPlaceholder/ContentPlaceholder.d.ts +1 -0
  26. package/lib/ContentTypeBadge/ContentTypeBadge.d.ts +1 -0
  27. package/lib/CopyParagraphButton/CopyParagraphButton.d.ts +1 -0
  28. package/lib/CreatedBy/CreatedBy.d.ts +1 -0
  29. package/lib/ErrorMessage/ErrorResourceAccessDenied.d.ts +1 -0
  30. package/lib/Figure/FigureBylineExpandButton.d.ts +1 -0
  31. package/lib/Figure/FigureExpandButton.d.ts +1 -0
  32. package/lib/Figure/FigureOpenDialogButton.d.ts +1 -0
  33. package/lib/FileList/File.d.ts +1 -0
  34. package/lib/FileList/FileList.d.ts +1 -0
  35. package/lib/Filter/FilterButtons.d.ts +1 -0
  36. package/lib/Footer/EditorName.d.ts +1 -0
  37. package/lib/Footer/FooterAuth.d.ts +1 -0
  38. package/lib/Footer/FooterPrivacy.d.ts +1 -0
  39. package/lib/Footer/privacy_en.d.ts +1 -0
  40. package/lib/Footer/privacy_nb.d.ts +1 -0
  41. package/lib/Footer/privacy_nn.d.ts +1 -0
  42. package/lib/Frontpage/FrontpageAllSubjects.d.ts +1 -0
  43. package/lib/Frontpage/FrontpageProgramMenu.d.ts +1 -0
  44. package/lib/Frontpage/illustrations/Fellesfag.d.ts +1 -0
  45. package/lib/Frontpage/illustrations/FrontpageHeaderIllustration.d.ts +1 -0
  46. package/lib/Frontpage/illustrations/FrontpageIllustrations.d.ts +1 -0
  47. package/lib/Frontpage/illustrations/FrontpageSubjectIllustration.d.ts +1 -0
  48. package/lib/Frontpage/illustrations/MenuFellesfag.d.ts +1 -0
  49. package/lib/Frontpage/illustrations/MenuStudiespesialiserende.d.ts +1 -0
  50. package/lib/Frontpage/illustrations/MenuYrkesfag.d.ts +1 -0
  51. package/lib/Frontpage/illustrations/Studiespesialiserende.d.ts +1 -0
  52. package/lib/Frontpage/illustrations/Yrkesfag.d.ts +1 -0
  53. package/lib/Frontpage/illustrations/index.d.ts +1 -0
  54. package/lib/Image/LazyLoadImage.d.ts +1 -0
  55. package/lib/LanguageSelector/LanguageSelector.d.ts +1 -0
  56. package/lib/LanguageSelector/LanguageSelectorContent.d.ts +1 -0
  57. package/lib/LearningPaths/LearningPathInformation.d.ts +1 -0
  58. package/lib/LearningPaths/LearningPathMenu.d.ts +1 -0
  59. package/lib/LearningPaths/LearningPathMenuAsideCopyright.d.ts +1 -0
  60. package/lib/LearningPaths/LearningPathMenuContent.d.ts +1 -0
  61. package/lib/LearningPaths/LearningPathMenuIntro.d.ts +1 -0
  62. package/lib/Logo/Logo.d.ts +1 -0
  63. package/lib/Logo/SvgLogo.d.ts +1 -0
  64. package/lib/Masthead/MastheadAuthModal.d.ts +1 -0
  65. package/lib/MessageBox/MessageBoxTag.d.ts +1 -0
  66. package/lib/MultidisciplinarySubject/Illustrations.d.ts +1 -0
  67. package/lib/MultidisciplinarySubject/List.d.ts +1 -0
  68. package/lib/MultidisciplinarySubject/ListItem.d.ts +1 -0
  69. package/lib/MultidisciplinarySubject/MultidisciplinarySubjectHeader.d.ts +1 -0
  70. package/lib/MyNdla/ResourceDash/ResourcesView.d.ts +1 -0
  71. package/lib/NDLAFilm/AllMoviesAlphabetically.d.ts +1 -0
  72. package/lib/NDLAFilm/FilmContentCard.d.ts +1 -0
  73. package/lib/NDLAFilm/FilmContentCardTags.d.ts +1 -0
  74. package/lib/NDLAFilm/FilmMovieList.d.ts +1 -0
  75. package/lib/NDLAFilm/FilmMovieSearch.d.ts +1 -0
  76. package/lib/NDLAFilm/FilmSlideshow.d.ts +1 -0
  77. package/lib/NDLAFilm/MovieGrid.d.ts +1 -0
  78. package/lib/NDLAFilm/NavigationArrow.d.ts +1 -0
  79. package/lib/NDLAFilm/SlideshowIndicator.d.ts +1 -0
  80. package/lib/NDLAFilm/VisualElement.d.ts +1 -0
  81. package/lib/NoContentBox/NoContentBox.d.ts +1 -0
  82. package/lib/Notion/ConceptNotion.d.ts +1 -0
  83. package/lib/Notion/NotionImage.d.ts +1 -0
  84. package/lib/Portrait/Portrait.d.ts +1 -0
  85. package/lib/Programme/Programme.d.ts +1 -0
  86. package/lib/Programme/ProgrammeSubjects.d.ts +1 -0
  87. package/lib/ResourceBox/ResourceBox.d.ts +1 -0
  88. package/lib/ResourceGroup/ResourceGroup.d.ts +1 -0
  89. package/lib/ResourceGroup/ResourceItem.d.ts +1 -0
  90. package/lib/ResourceGroup/ResourceList.d.ts +1 -0
  91. package/lib/ResourcesWrapper/ResourcesTopicTitle.d.ts +1 -0
  92. package/lib/Search/ContentTypeResult.d.ts +3 -2
  93. package/lib/Search/ContentTypeResult.js +1 -1
  94. package/lib/Search/ContentTypeResultStyles.d.ts +1 -0
  95. package/lib/Search/LoadingWrapper.d.ts +1 -0
  96. package/lib/Search/SearchResultSleeve.d.ts +1 -0
  97. package/lib/SearchTypeResult/PopupFilter.d.ts +1 -0
  98. package/lib/SearchTypeResult/ResultNavigation.d.ts +1 -0
  99. package/lib/SearchTypeResult/SearchFilterContent.d.ts +1 -0
  100. package/lib/SearchTypeResult/SearchItemList.d.ts +1 -0
  101. package/lib/SearchTypeResult/SearchSubjectItem.d.ts +1 -0
  102. package/lib/SearchTypeResult/SearchSubjectResult.d.ts +1 -0
  103. package/lib/SearchTypeResult/SearchViewType.d.ts +1 -0
  104. package/lib/SearchTypeResult/components/ItemContexts.d.ts +1 -0
  105. package/lib/SearchTypeResult/components/ItemResourceHeader.d.ts +1 -0
  106. package/lib/SearchTypeResult/components/SubjectFilters.d.ts +1 -0
  107. package/lib/Spinner/Spinner.d.ts +1 -0
  108. package/lib/Subject/SubjectBanner.d.ts +1 -0
  109. package/lib/Subject/SubjectHeader.d.ts +1 -0
  110. package/lib/Subject/SubjectLinks.d.ts +1 -0
  111. package/lib/Subject/SubjectNewContent.d.ts +1 -0
  112. package/lib/Topic/Loader.d.ts +1 -0
  113. package/lib/TopicIntroductionList/TopicIntroduction.d.ts +1 -0
  114. package/lib/TopicIntroductionList/TopicIntroductionList.d.ts +1 -0
  115. package/lib/TopicIntroductionList/TopicIntroductionShortcuts.d.ts +1 -0
  116. package/lib/TopicIntroductionList/TopicShortcutItem.d.ts +1 -0
  117. package/lib/locale/messages-en.d.ts +43 -2
  118. package/lib/locale/messages-en.js +59 -18
  119. package/lib/locale/messages-nb.d.ts +43 -2
  120. package/lib/locale/messages-nb.js +58 -17
  121. package/lib/locale/messages-nn.d.ts +43 -2
  122. package/lib/locale/messages-nn.js +59 -18
  123. package/lib/locale/messages-se.d.ts +43 -2
  124. package/lib/locale/messages-se.js +56 -15
  125. package/lib/locale/messages-sma.d.ts +44 -3
  126. package/lib/locale/messages-sma.js +56 -15
  127. package/package.json +10 -10
  128. package/src/Breadcrumb/BreadcrumbItem.tsx +1 -2
  129. package/src/Search/ContentTypeResult.tsx +2 -2
  130. package/src/locale/__tests__/translations-test.ts +10 -0
  131. package/src/locale/messages-en.ts +55 -14
  132. package/src/locale/messages-nb.ts +54 -13
  133. package/src/locale/messages-nn.ts +56 -15
  134. package/src/locale/messages-se.ts +52 -11
  135. package/src/locale/messages-sma.ts +53 -12
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  export declare const ToolboxIllustration: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "hidden" | "dir" | "slot" | "style" | "title" | "color" | "translate" | "prefix" | "children" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css">, object>;
2
3
  export declare const MultidisciplinarySubjectIllustration: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "hidden" | "dir" | "slot" | "style" | "title" | "color" | "translate" | "prefix" | "children" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css">, object>;
@@ -5,5 +5,6 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  declare const FrontpageSubjectIllustration: () => JSX.Element;
9
10
  export default FrontpageSubjectIllustration;
@@ -5,5 +5,6 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  declare const Illustration: () => JSX.Element;
9
10
  export default Illustration;
@@ -5,5 +5,6 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  declare const Illustration: () => JSX.Element;
9
10
  export default Illustration;
@@ -5,5 +5,6 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  declare const Illustration: () => JSX.Element;
9
10
  export default Illustration;
@@ -5,5 +5,6 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  declare const Illustration: () => JSX.Element;
9
10
  export default Illustration;
@@ -5,5 +5,6 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  declare const Illustration: () => JSX.Element;
9
10
  export default Illustration;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import Fellesfag from './Fellesfag';
2
3
  import Yrkesfag from './Yrkesfag';
3
4
  import Studiespesialiserende from './Studiespesialiserende';
@@ -5,6 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  interface Props {
9
10
  alt: string;
10
11
  src: string;
@@ -5,6 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  declare type Props = {
9
10
  options: {
10
11
  [key: string]: {
@@ -5,6 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  declare type Props = {
9
10
  currentLanguage: string;
10
11
  setInfoLocale(arg: string): void;
@@ -5,6 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  interface Props {
9
10
  description?: string;
10
11
  title: string;
@@ -5,6 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  export declare type StepProps = {
9
10
  title: string;
10
11
  type: string;
@@ -5,6 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  declare type Props = {
9
10
  copyright: {
10
11
  contributors: {
@@ -5,6 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  import { StepProps } from './LearningPathMenu';
9
10
  declare type Props = {
10
11
  learningsteps: StepProps[];
@@ -5,6 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  interface Props {
9
10
  isOpen: boolean;
10
11
  invertedStyle?: boolean;
@@ -5,6 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  import BEMHelper from 'react-bem-helper';
9
10
  export declare const logoClasses: BEMHelper<BEMHelper.ReturnObject>;
10
11
  interface Props {
@@ -5,6 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  interface Props {
9
10
  name?: boolean;
10
11
  color?: string;
@@ -5,6 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  import { AuthModalProps } from '../User/AuthModal';
9
10
  declare type Props = {
10
11
  inverted?: boolean;
@@ -5,6 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  declare type Props = {
9
10
  tagMessage: string;
10
11
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const ClimateIllustration: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "hidden" | "dir" | "slot" | "style" | "title" | "color" | "translate" | "prefix" | "children" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css">, object>;
2
3
  export declare const PublicHealthIllustration: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "hidden" | "dir" | "slot" | "style" | "title" | "color" | "translate" | "prefix" | "children" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css">, object>;
3
4
  export declare const DemocracyIllustration: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "hidden" | "dir" | "slot" | "style" | "title" | "color" | "translate" | "prefix" | "children" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css">, object>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ListItemProps } from './ListItem';
2
3
  export declare type ListProps = {
3
4
  items: ListItemProps[];
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare type ListItemProps = {
2
3
  title: string;
3
4
  introduction: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare type subjects = 'climate' | 'democracy' | 'publicHealth';
2
3
  declare type subjectLink = {
3
4
  label: string;
@@ -5,5 +5,6 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  export declare const ResourcesView: () => JSX.Element;
9
10
  export default ResourcesView;
@@ -5,6 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  import { MovieType } from './types';
9
10
  interface Props {
10
11
  movies: MovieType[];
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { MovieResourceType, MovieType } from './types';
2
3
  interface Props {
3
4
  movie: MovieType;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { MovieResourceType } from './types';
2
3
  interface Props {
3
4
  movieResourceTypes: MovieResourceType[];
@@ -4,6 +4,7 @@
4
4
  * LICENSE file in the root directory of this source tree.
5
5
  *
6
6
  */
7
+ /// <reference types="react" />
7
8
  import { CalculatedCarouselProps } from '@ndla/carousel';
8
9
  import { MovieResourceType, MovieType } from './types';
9
10
  interface Props {
@@ -5,6 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  import { MovieResourceType } from './types';
9
10
  interface Props {
10
11
  topics?: {
@@ -5,6 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  import { MovieType } from './types';
9
10
  interface Props {
10
11
  autoSlide?: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CalculatedCarouselProps } from '@ndla/carousel';
2
3
  import { MovieResourceType, MovieType } from './types';
3
4
  interface Props {
@@ -5,6 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  interface Props {
9
10
  slideIndexTarget: number;
10
11
  slideshowLength?: number;
@@ -5,6 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  import { MovieType } from './types';
9
10
  interface Props {
10
11
  slideshow: MovieType[];
@@ -5,6 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  interface Props {
9
10
  visualElement: {
10
11
  alt?: string;
@@ -5,6 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  interface Props {
9
10
  onClick?: () => void;
10
11
  buttonText?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { NotionVisualElementType } from './NotionVisualElement';
2
3
  import { Copyright } from '../types';
3
4
  import { FigureType } from '../Figure';
@@ -4,6 +4,7 @@
4
4
  * This source code is licensed under the GPLv3 license found in the
5
5
  * LICENSE file in the root directory of this source tree. *
6
6
  */
7
+ /// <reference types="react" />
7
8
  interface Props {
8
9
  type: 'image' | 'video' | 'h5p' | 'iframe' | 'external' | undefined;
9
10
  id: string;
@@ -5,6 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  interface Props {
9
10
  src: string;
10
11
  alt: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { GradesProps } from './ProgrammeSubjects';
2
3
  declare type Props = GradesProps & {
3
4
  heading?: string;
@@ -5,6 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  export declare type GradesProps = {
9
10
  selectedGrade?: string;
10
11
  onChangeGrade: (newGrade: string) => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface ImageMeta {
2
3
  src: string;
3
4
  alt: string;
@@ -5,6 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  import { ResourceListProps } from './ResourceList';
9
10
  declare type Props = {
10
11
  invertedStyle?: boolean;
@@ -5,6 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  import { Resource } from '../types';
9
10
  declare type Props = {
10
11
  showContentTypeDescription?: boolean;
@@ -5,6 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  import { Resource } from '../types';
9
10
  export declare type ResourceListProps = {
10
11
  resources: Resource[];
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface Props {
2
3
  title?: string;
3
4
  toggleAdditionalResources: () => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ContentTypeResultType, Resource } from '../types';
2
3
  declare type Props = {
3
4
  contentTypeResult: ContentTypeResultType;
@@ -12,8 +13,8 @@ declare type Props = {
12
13
  showLessResultLabel?: string;
13
14
  noHit: string;
14
15
  };
15
- ignoreContentTypeBadge: boolean;
16
- keyboardPathNavigation: HTMLElement | string | null;
16
+ ignoreContentTypeBadge?: boolean;
17
+ keyboardPathNavigation?: HTMLElement | string | null;
17
18
  inMenu?: boolean;
18
19
  animateList?: number;
19
20
  unGrouped?: boolean;
@@ -156,7 +156,7 @@ var ContentTypeResult = function ContentTypeResult(_ref) {
156
156
  ref: showAllRef
157
157
  }, (0, _core.jsx)(_button["default"], {
158
158
  ghostPill: true,
159
- css: /*#__PURE__*/(0, _css2["default"])([_ContentTypeResultStyles.showAllButtonStyle, shouldHighlightShowAllButton && _ContentTypeResultStyles.noWidthhighlightStyle], ";label:ContentTypeResult;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNvbnRlbnRUeXBlUmVzdWx0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUEwSmdCIiwiZmlsZSI6IkNvbnRlbnRUeXBlUmVzdWx0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCwgeyB1c2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R5cGVzLCBzdWJqZWN0LCBhZGRpdGlvbmFsIH0gPSByZXNvdXJjZTtcblxuICAgICAgICAgICAgY29uc3QgbGlua1Byb3BzID0gcmVzb3VyY2VUb0xpbmtQcm9wcyhyZXNvdXJjZSk7XG4gICAgICAgICAgICBjb25zdCBsaW5rQ29udGVudCA9IChcbiAgICAgICAgICAgICAgPD5cbiAgICAgICAgICAgICAgICA8c3Ryb25nPntuYW1lfTwvc3Ryb25nPlxuICAgICAgICAgICAgICAgIHshaW5NZW51ICYmIHN1YmplY3QgJiYgPHNtYWxsPntzdWJqZWN0fTwvc21hbGw+fVxuICAgICAgICAgICAgICAgIHshaW5NZW51ICYmXG4gICAgICAgICAgICAgICAgICByZXNvdXJjZVR5cGVzICYmXG4gICAgICAgICAgICAgICAgICByZXNvdXJjZVR5cGVzLm1hcCgodHlwZSkgPT4gPFN0eWxlZFRhZyBrZXk9e3R5cGUubmFtZX0+e3R5cGUubmFtZX08L1N0eWxlZFRhZz4pfVxuICAgICAgICAgICAgICA8Lz5cbiAgICAgICAgICAgICk7XG4gICAgICAgICAgICBjb25zdCBkZWxheUFuaW1hdGlvbiA9ICEhYW5pbWF0ZUxpc3QgJiYgISFhZGRpdGlvbmFsICYmIGFuaW1hdGVMaXN0ID4gMCAmJiAhIXNob3dBZGRpdGlvbmFsUmVzb3VyY2VzO1xuXG4gICAgICAgICAgICAvLyBGaWd1cmUgb3V0IGhpZ2hsaWdodGluZyBieSBjb21wYXJpbmcgcGF0aCBvZiBsaW5rIHdpdGgga2V5Ym9hcmQgbmF2aWdhdGVkIGFuY2hvclxuICAgICAgICAgICAgY29uc3QgYW5jaG9yID1cbiAgICAgICAgICAgICAga2V5Ym9hcmRQYXRoTmF2aWdhdGlvbiBpbnN0YW5jZW9mIEhUTUxFbGVtZW50ICYmXG4gICAgICAgICAgICAgIGtleWJvYXJkUGF0aE5hdmlnYXRpb24gJiZcbiAgICAgICAgICAgICAga2V5Ym9hcmRQYXRoTmF2aWdhdGlvbi5xdWVyeVNlbGVjdG9yKCdhJyk7XG4gICAgICAgICAgICBjb25zdCBhbmNob3JIcmVmID0gYW5jaG9yICYmIGFuY2hvci5nZXRBdHRyaWJ1dGUoJ2hyZWYnKTtcbiAgICAgICAgICAgIGNvbnN0IHNob3VsZEhpZ2hsaWdodCA9IGlzUGF0aFRvSGlnaGxpZ2h0KHBhdGgsIGFuY2hvckhyZWYpO1xuXG4gICAgICAgICAgICByZXR1cm4gKFxuICAgICAgICAgICAgICA8U3R5bGVkTGlzdEl0ZW0ga2V5PXtwYXRofSBkZWxheUFuaW1hdGlvbj17ZGVsYXlBbmltYXRpb259PlxuICAgICAgICAgICAgICAgIDxTYWZlTGlua1xuICAgICAgICAgICAgICAgICAgdGFiSW5kZXg9ey0xfVxuICAgICAgICAgICAgICAgICAgY3NzPXtzaG91bGRIaWdobGlnaHQgJiYgaGlnaGxpZ2h0U3R5bGV9XG4gICAgICAgICAgICAgICAgICBkYXRhLWhpZ2hsaWdodGVkPXtzaG91bGRIaWdobGlnaHQgfHwgZmFsc2V9XG4gICAgICAgICAgICAgICAgICB7Li4ubGlua1Byb3BzfVxuICAgICAgICAgICAgICAgICAgb25DbGljaz17KCkgPT4ge1xuICAgICAgICAgICAgICAgICAgICBpZiAob25OYXZpZ2F0ZSkge1xuICAgICAgICAgICAgICAgICAgICAgIG9uTmF2aWdhdGUoKTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgfX0+XG4gICAgICAgICAgICAgICAgICB7dW5Hcm91cGVkICYmICFpZ25vcmVDb250ZW50VHlwZUJhZGdlICYmIChcbiAgICAgICAgICAgICAgICAgICAgPENvbnRlbnRUeXBlQmFkZ2UgdHlwZT17cmVzb3VyY2UuY29udGVudFR5cGUgPz8gJyd9IHNpemU9XCJ4LXNtYWxsXCIgYmFja2dyb3VuZCBib3JkZXIgLz5cbiAgICAgICAgICAgICAgICAgICl9XG4gICAgICAgICAgICAgICAgICB7bGlua0NvbnRlbnR9XG4gICAgICAgICAgICAgICAgICB7cmVuZGVyQWRkaXRpb25hbEljb24odCgncmVzb3VyY2UuYWRkaXRpb25hbFRvb2x0aXAnKSwgYWRkaXRpb25hbCl9XG4gICAgICAgICAgICAgICAgPC9TYWZlTGluaz5cbiAgICAgICAgICAgICAgPC9TdHlsZWRMaXN0SXRlbT5cbiAgICAgICAgICAgICk7XG4gICAgICAgICAgfSl9XG4gICAgICAgICAge2Rpc3BsYXlTaG93QWxsQnV0dG9uICYmIChcbiAgICAgICAgICAgIDxTdHlsZWRMaXN0SXRlbSByZWY9e3Nob3dBbGxSZWZ9PlxuICAgICAgICAgICAgICA8QnV0dG9uXG4gICAgICAgICAgICAgICAgZ2hvc3RQaWxsXG4gICAgICAgICAgICAgICAgY3NzPXtbc2hvd0FsbEJ1dHRvblN0eWxlLCBzaG91bGRIaWdobGlnaHRTaG93QWxsQnV0dG9uICYmIG5vV2lkdGhoaWdobGlnaHRTdHlsZV19XG4gICAgICAgICAgICAgICAgZGF0YS1oaWdobGlnaHRlZD17c2hvdWxkSGlnaGxpZ2h0U2hvd0FsbEJ1dHRvbn1cbiAgICAgICAgICAgICAgICBvbkNsaWNrPXsoKSA9PiB0b2dnbGVTaG93QWxsKCFzaG93QWxsKX1cbiAgICAgICAgICAgICAgICB0YWJJbmRleD17LTF9PlxuICAgICAgICAgICAgICAgIHtzaG93QWxsID8gbWVzc2FnZXMuc2hvd0xlc3NSZXN1bHRMYWJlbCA6IG1lc3NhZ2VzLmFsbFJlc3VsdExhYmVsfVxuICAgICAgICAgICAgICAgIHtzaG93QWxsID8gPENoZXZyb25VcCAvPiA6IDxDaGV2cm9uRG93biAvPn1cbiAgICAgICAgICAgICAgPC9CdXR0b24+XG4gICAgICAgICAgICA8L1N0eWxlZExpc3RJdGVtPlxuICAgICAgICAgICl9XG4gICAgICAgIDwvU3R5bGVkTGlzdD5cbiAgICAgICkgOiAoXG4gICAgICAgIDxTdHlsZWROb0hpdCBpbk1lbnU9e2luTWVudX0+e21lc3NhZ2VzLm5vSGl0fTwvU3R5bGVkTm9IaXQ+XG4gICAgICApfVxuICAgIDwvU3R5bGVkV3JhcHBlcj5cbiAgKTtcbn07XG5cbmV4cG9ydCBkZWZhdWx0IENvbnRlbnRUeXBlUmVzdWx0O1xuIl19 */")),
159
+ css: /*#__PURE__*/(0, _css2["default"])([_ContentTypeResultStyles.showAllButtonStyle, shouldHighlightShowAllButton && _ContentTypeResultStyles.noWidthhighlightStyle], ";label:ContentTypeResult;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNvbnRlbnRUeXBlUmVzdWx0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUEwSmdCIiwiZmlsZSI6IkNvbnRlbnRUeXBlUmVzdWx0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCwgeyB1c2VTdGF0ZSwgdXNlRWZmZWN0LCB1c2VSZWYsIFJlYWN0RWxlbWVudCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCBCdXR0b24gZnJvbSAnQG5kbGEvYnV0dG9uJztcbmltcG9ydCBUb29sdGlwIGZyb20gJ0BuZGxhL3Rvb2x0aXAnO1xuaW1wb3J0IHsgQWRkaXRpb25hbCwgQ2hldnJvblVwLCBDaGV2cm9uRG93biB9IGZyb20gJ0BuZGxhL2ljb25zL2NvbW1vbic7XG5pbXBvcnQgU2FmZUxpbmsgZnJvbSAnQG5kbGEvc2FmZWxpbmsnO1xuaW1wb3J0IHsgdXNlVHJhbnNsYXRpb24gfSBmcm9tICdyZWFjdC1pMThuZXh0JztcbmltcG9ydCBDb250ZW50VHlwZUJhZGdlIGZyb20gJy4uL0NvbnRlbnRUeXBlQmFkZ2UnO1xuaW1wb3J0IHsgQ29udGVudFR5cGVSZXN1bHRUeXBlLCBSZXNvdXJjZSB9IGZyb20gJy4uL3R5cGVzJztcbmltcG9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Y29udGVudFR5cGV9IHNpemU9XCJ4LXNtYWxsXCIgYmFja2dyb3VuZCBib3JkZXIgLz5cbiAgICAgICAgICApfVxuICAgICAgICAgIDxoMT5cbiAgICAgICAgICAgIHtjb250ZW50VHlwZVJlc3VsdC50aXRsZX0gPHNtYWxsPih7cmVzdWx0cy5sZW5ndGh9KTwvc21hbGw+XG4gICAgICAgICAgPC9oMT5cbiAgICAgICAgPC9TdHlsZWRIZWFkZXI+XG4gICAgICApfVxuICAgICAge3Jlc291cmNlcy5sZW5ndGggPiAwID8gKFxuICAgICAgICA8U3R5bGVkTGlzdCBpbk1lbnU9e2luTWVudX0gYW5pbWF0ZUxpc3Q9e2FuaW1hdGVMaXN0fSB1bkdyb3VwZWQ9e3VuR3JvdXBlZH0+XG4gICAgICAgICAge3Jlc291cmNlcy5tYXAoKHJlc291cmNlKSA9PiB7XG4gICAgICAgICAgICBjb25zdCB7IHBhdGgsIG5hbWUsIHJlc291cmNlVHlwZXMsIHN1YmplY3QsIGFkZGl0aW9uYWwgfSA9IHJlc291cmNlO1xuXG4gICAgICAgICAgICBjb25zdCBsaW5rUHJvcHMgPSByZXNvdXJjZVRvTGlua1Byb3BzKHJlc291cmNlKTtcbiAgICAgICAgICAgIGNvbnN0IGxpbmtDb250ZW50ID0gKFxuICAgICAgICAgICAgICA8PlxuICAgICAgICAgICAgICAgIDxzdHJvbmc+e25hbWV9PC9zdHJvbmc+XG4gICAgICAgICAgICAgICAgeyFpbk1lbnUgJiYgc3ViamVjdCAmJiA8c21hbGw+e3N1YmplY3R9PC9zbWFsbD59XG4gICAgICAgICAgICAgICAgeyFpbk1lbnUgJiZcbiAgICAgICAgICAgICAgICAgIHJlc291cmNlVHlwZXMgJiZcbiAgICAgICAgICAgICAgICAgIHJlc291cmNlVHlwZXMubWFwKCh0eXBlKSA9PiA8U3R5bGVkVGFnIGtleT17dHlwZS5uYW1lfT57dHlwZS5uYW1lfTwvU3R5bGVkVGFnPil9XG4gICAgICAgICAgICAgIDw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e3Nob3VsZEhpZ2hsaWdodCB8fCBmYWxzZX1cbiAgICAgICAgICAgICAgICAgIHsuLi5saW5rUHJvcHN9XG4gICAgICAgICAgICAgICAgICBvbkNsaWNrPXsoKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIGlmIChvbk5hdmlnYXRlKSB7XG4gICAgICAgICAgICAgICAgICAgICAgb25OYXZpZ2F0ZSgpO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICB9fT5cbiAgICAgICAgICAgICAgICAgIHt1bkdyb3VwZWQgJiYgIWlnbm9yZUNvbnRlbnRUeXBlQmFkZ2UgJiYgKFxuICAgICAgICAgICAgICAgICAgICA8Q29udGVudFR5cGVCYWRnZSB0eXBlPXtyZXNvdXJjZS5jb250ZW50VHlwZSA/PyAnJ30gc2l6ZT1cIngtc21hbGxcIiBiYWNrZ3JvdW5kIGJvcmRlciAvPlxuICAgICAgICAgICAgICAgICAgKX1cbiAgICAgICAgICAgICAgICAgIHtsaW5rQ29udGVudH1cbiAgICAgICAgICAgICAgICAgIHtyZW5kZXJBZGRpdGlvbmFsSWNvbih0KCdyZXNvdXJjZS5hZGRpdGlvbmFsVG9vbHRpcCcpLCBhZGRpdGlvbmFsKX1cbiAgICAgICAgICAgICAgICA8L1NhZmVMaW5rPlxuICAgICAgICAgICAgICA8L1N0eWxlZExpc3RJdGVtPlxuICAgICAgICAgICAgKTtcbiAgICAgICAgICB9KX1cbiAgICAgICAgICB7ZGlzcGxheVNob3dBbGxCdXR0b24gJiYgKFxuICAgICAgICAgICAgPFN0eWxlZExpc3RJdGVtIHJlZj17c2hvd0FsbFJlZn0+XG4gICAgICAgICAgICAgIDxCdXR0b25cbiAgICAgICAgICAgICAgICBnaG9zdFBpbGxcbiAgICAgICAgICAgICAgICBjc3M9e1tzaG93QWxsQnV0dG9uU3R5bGUsIHNob3VsZEhpZ2hsaWdodFNob3dBbGxCdXR0b24gJiYgbm9XaWR0aGhpZ2hsaWdodFN0eWxlXX1cbiAgICAgICAgICAgICAgICBkYXRhLWhpZ2hsaWdodGVkPXtzaG91bGRIaWdobGlnaHRTaG93QWxsQnV0dG9ufVxuICAgICAgICAgICAgICAgIG9uQ2xpY2s9eygpID0+IHRvZ2dsZVNob3dBbGwoIXNob3dBbGwpfVxuICAgICAgICAgICAgICAgIHRhYkluZGV4PXstMX0+XG4gICAgICAgICAgICAgICAge3Nob3dBbGwgPyBtZXNzYWdlcy5zaG93TGVzc1Jlc3VsdExhYmVsIDogbWVzc2FnZXMuYWxsUmVzdWx0TGFiZWx9XG4gICAgICAgICAgICAgICAge3Nob3dBbGwgPyA8Q2hldnJvblVwIC8+IDogPENoZXZyb25Eb3duIC8+fVxuICAgICAgICAgICAgICA8L0J1dHRvbj5cbiAgICAgICAgICAgIDwvU3R5bGVkTGlzdEl0ZW0+XG4gICAgICAgICAgKX1cbiAgICAgICAgPC9TdHlsZWRMaXN0PlxuICAgICAgKSA6IChcbiAgICAgICAgPFN0eWxlZE5vSGl0IGluTWVudT17aW5NZW51fT57bWVzc2FnZXMubm9IaXR9PC9TdHlsZWROb0hpdD5cbiAgICAgICl9XG4gICAgPC9TdHlsZWRXcmFwcGVyPlxuICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgQ29udGVudFR5cGVSZXN1bHQ7XG4iXX0= */")),
160
160
  "data-highlighted": shouldHighlightShowAllButton,
161
161
  onClick: function onClick() {
162
162
  return toggleShowAll(!showAll);
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const highlightStyle: import("@emotion/utils").SerializedStyles;
2
3
  export declare const noWidthhighlightStyle: import("@emotion/utils").SerializedStyles;
3
4
  declare type inMenuProps = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare type Props = {
2
3
  value: string;
3
4
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ContentTypeResultType, Resource } from '../types';
2
3
  declare type Props = {
3
4
  result: Array<ContentTypeResultType>;
@@ -5,6 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  import { subjectsProps } from '../Frontpage/FrontpageAllSubjects';
9
10
  declare type ProgrammeOptionProps = {
10
11
  name: string;
@@ -5,6 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  export declare type PaginationType = {
9
10
  onShowMore: () => void;
10
11
  totalCount: number;
@@ -5,6 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  import { SearchViewTypeProps } from './SearchViewType';
9
10
  import { FilterButtonsProps } from '../Filter/FilterButtons';
10
11
  declare type Props = {
@@ -5,6 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  import { SearchItemType } from './SearchItem';
9
10
  declare const SearchItemList: ({ item, type }: SearchItemType) => JSX.Element;
10
11
  export default SearchItemList;
@@ -5,6 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  export declare type SearchSubjecItemType = {
9
10
  id: string;
10
11
  title: string;
@@ -5,6 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  import { SearchSubjecItemType } from './SearchSubjectItem';
9
10
  declare type Props = {
10
11
  items: SearchSubjecItemType[];
@@ -5,6 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  export declare type SearchViewTypeProps = {
9
10
  viewType: 'grid' | 'list';
10
11
  onChangeViewType: (viewType: SearchViewTypeProps['viewType']) => void;
@@ -5,6 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
+ /// <reference types="react" />
8
9
  declare type context = {
9
10
  breadcrumb: string[];
10
11
  url: string;