@ndla/ui 11.1.6 → 12.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/es/ResourceBox/ResourceBox.js +26 -43
  2. package/es/Search/ContentTypeResult.js +1 -1
  3. package/es/SearchTypeResult/SearchItem.js +11 -10
  4. package/es/locale/messages-nb.js +1 -1
  5. package/es/locale/messages-nn.js +1 -1
  6. package/es/locale/messages-se.js +1 -1
  7. package/es/locale/messages-sma.js +1 -1
  8. package/lib/Article/ArticleAccessMessage.d.ts +1 -0
  9. package/lib/Article/ArticleAuthorContent.d.ts +1 -0
  10. package/lib/Article/ArticleContent.d.ts +1 -0
  11. package/lib/Article/ArticleFootNotes.d.ts +1 -0
  12. package/lib/Article/ArticleNotions.d.ts +1 -0
  13. package/lib/AudioPlayer/Controls.d.ts +1 -0
  14. package/lib/AudioPlayer/SpeechControl.d.ts +1 -0
  15. package/lib/AuthorInfo/AuthorInfo.d.ts +1 -0
  16. package/lib/BackgroundImage/BackgroundImage.d.ts +1 -0
  17. package/lib/BannerCard/BannerCard.d.ts +1 -0
  18. package/lib/BlogPosts/BlogPost.d.ts +1 -0
  19. package/lib/Breadcrumb/BreadcrumbItem.d.ts +1 -2
  20. package/lib/CompetenceGoalTab/CompetenceGoalItem.d.ts +1 -0
  21. package/lib/CompetenceGoalTab/CompetenceGoalTab.d.ts +1 -0
  22. package/lib/CompetenceGoalTab/CompetenceItem.d.ts +1 -0
  23. package/lib/CompetenceGoalTab/SearchButton.d.ts +1 -0
  24. package/lib/ComponentCursor/ComponentCursor.d.ts +1 -0
  25. package/lib/ContentCard/ContentCard.d.ts +1 -0
  26. package/lib/ContentPlaceholder/ContentPlaceholder.d.ts +1 -0
  27. package/lib/ContentTypeBadge/ContentTypeBadge.d.ts +1 -0
  28. package/lib/CopyParagraphButton/CopyParagraphButton.d.ts +1 -0
  29. package/lib/CreatedBy/CreatedBy.d.ts +1 -0
  30. package/lib/ErrorMessage/ErrorResourceAccessDenied.d.ts +1 -0
  31. package/lib/Figure/FigureBylineExpandButton.d.ts +1 -0
  32. package/lib/Figure/FigureExpandButton.d.ts +1 -0
  33. package/lib/Figure/FigureOpenDialogButton.d.ts +1 -0
  34. package/lib/FileList/File.d.ts +1 -0
  35. package/lib/FileList/FileList.d.ts +1 -0
  36. package/lib/Filter/FilterButtons.d.ts +1 -0
  37. package/lib/Footer/EditorName.d.ts +1 -0
  38. package/lib/Footer/FooterAuth.d.ts +1 -0
  39. package/lib/Footer/FooterPrivacy.d.ts +1 -0
  40. package/lib/Footer/privacy_en.d.ts +1 -0
  41. package/lib/Footer/privacy_nb.d.ts +1 -0
  42. package/lib/Footer/privacy_nn.d.ts +1 -0
  43. package/lib/Frontpage/FrontpageAllSubjects.d.ts +1 -0
  44. package/lib/Frontpage/FrontpageProgramMenu.d.ts +1 -0
  45. package/lib/Frontpage/illustrations/Fellesfag.d.ts +1 -0
  46. package/lib/Frontpage/illustrations/FrontpageHeaderIllustration.d.ts +1 -0
  47. package/lib/Frontpage/illustrations/FrontpageIllustrations.d.ts +1 -0
  48. package/lib/Frontpage/illustrations/FrontpageSubjectIllustration.d.ts +1 -0
  49. package/lib/Frontpage/illustrations/MenuFellesfag.d.ts +1 -0
  50. package/lib/Frontpage/illustrations/MenuStudiespesialiserende.d.ts +1 -0
  51. package/lib/Frontpage/illustrations/MenuYrkesfag.d.ts +1 -0
  52. package/lib/Frontpage/illustrations/Studiespesialiserende.d.ts +1 -0
  53. package/lib/Frontpage/illustrations/Yrkesfag.d.ts +1 -0
  54. package/lib/Frontpage/illustrations/index.d.ts +1 -0
  55. package/lib/Image/LazyLoadImage.d.ts +1 -0
  56. package/lib/LanguageSelector/LanguageSelector.d.ts +1 -0
  57. package/lib/LanguageSelector/LanguageSelectorContent.d.ts +1 -0
  58. package/lib/LearningPaths/LearningPathInformation.d.ts +1 -0
  59. package/lib/LearningPaths/LearningPathMenu.d.ts +1 -0
  60. package/lib/LearningPaths/LearningPathMenuAsideCopyright.d.ts +1 -0
  61. package/lib/LearningPaths/LearningPathMenuContent.d.ts +1 -0
  62. package/lib/LearningPaths/LearningPathMenuIntro.d.ts +1 -0
  63. package/lib/Logo/Logo.d.ts +1 -0
  64. package/lib/Logo/SvgLogo.d.ts +1 -0
  65. package/lib/Masthead/MastheadAuthModal.d.ts +1 -0
  66. package/lib/MessageBox/MessageBoxTag.d.ts +1 -0
  67. package/lib/MultidisciplinarySubject/Illustrations.d.ts +1 -0
  68. package/lib/MultidisciplinarySubject/List.d.ts +1 -0
  69. package/lib/MultidisciplinarySubject/ListItem.d.ts +1 -0
  70. package/lib/MultidisciplinarySubject/MultidisciplinarySubjectHeader.d.ts +1 -0
  71. package/lib/MyNdla/ResourceDash/ResourcesView.d.ts +1 -0
  72. package/lib/NDLAFilm/AllMoviesAlphabetically.d.ts +1 -0
  73. package/lib/NDLAFilm/FilmContentCard.d.ts +1 -0
  74. package/lib/NDLAFilm/FilmContentCardTags.d.ts +1 -0
  75. package/lib/NDLAFilm/FilmMovieList.d.ts +1 -0
  76. package/lib/NDLAFilm/FilmMovieSearch.d.ts +1 -0
  77. package/lib/NDLAFilm/FilmSlideshow.d.ts +1 -0
  78. package/lib/NDLAFilm/MovieGrid.d.ts +1 -0
  79. package/lib/NDLAFilm/NavigationArrow.d.ts +1 -0
  80. package/lib/NDLAFilm/SlideshowIndicator.d.ts +1 -0
  81. package/lib/NDLAFilm/VisualElement.d.ts +1 -0
  82. package/lib/NoContentBox/NoContentBox.d.ts +1 -0
  83. package/lib/Notion/ConceptNotion.d.ts +1 -0
  84. package/lib/Notion/NotionImage.d.ts +1 -0
  85. package/lib/Portrait/Portrait.d.ts +1 -0
  86. package/lib/Programme/Programme.d.ts +1 -0
  87. package/lib/Programme/ProgrammeSubjects.d.ts +1 -0
  88. package/lib/ResourceBox/ResourceBox.d.ts +9 -6
  89. package/lib/ResourceBox/ResourceBox.js +25 -41
  90. package/lib/ResourceGroup/ResourceGroup.d.ts +1 -0
  91. package/lib/ResourceGroup/ResourceItem.d.ts +1 -0
  92. package/lib/ResourceGroup/ResourceList.d.ts +1 -0
  93. package/lib/ResourcesWrapper/ResourcesTopicTitle.d.ts +1 -0
  94. package/lib/Search/ContentTypeResult.d.ts +3 -2
  95. package/lib/Search/ContentTypeResult.js +1 -1
  96. package/lib/Search/ContentTypeResultStyles.d.ts +1 -0
  97. package/lib/Search/LoadingWrapper.d.ts +1 -0
  98. package/lib/Search/SearchResultSleeve.d.ts +1 -0
  99. package/lib/SearchTypeResult/PopupFilter.d.ts +1 -0
  100. package/lib/SearchTypeResult/ResultNavigation.d.ts +1 -0
  101. package/lib/SearchTypeResult/SearchFilterContent.d.ts +1 -0
  102. package/lib/SearchTypeResult/SearchItem.d.ts +2 -0
  103. package/lib/SearchTypeResult/SearchItem.js +11 -10
  104. package/lib/SearchTypeResult/SearchItemList.d.ts +1 -0
  105. package/lib/SearchTypeResult/SearchSubjectItem.d.ts +1 -0
  106. package/lib/SearchTypeResult/SearchSubjectResult.d.ts +1 -0
  107. package/lib/SearchTypeResult/SearchViewType.d.ts +1 -0
  108. package/lib/SearchTypeResult/components/ItemContexts.d.ts +1 -0
  109. package/lib/SearchTypeResult/components/ItemResourceHeader.d.ts +1 -0
  110. package/lib/SearchTypeResult/components/SubjectFilters.d.ts +1 -0
  111. package/lib/Spinner/Spinner.d.ts +1 -0
  112. package/lib/Subject/SubjectBanner.d.ts +1 -0
  113. package/lib/Subject/SubjectHeader.d.ts +1 -0
  114. package/lib/Subject/SubjectLinks.d.ts +1 -0
  115. package/lib/Subject/SubjectNewContent.d.ts +1 -0
  116. package/lib/Topic/Loader.d.ts +1 -0
  117. package/lib/TopicIntroductionList/TopicIntroduction.d.ts +1 -0
  118. package/lib/TopicIntroductionList/TopicIntroductionList.d.ts +1 -0
  119. package/lib/TopicIntroductionList/TopicIntroductionShortcuts.d.ts +1 -0
  120. package/lib/TopicIntroductionList/TopicShortcutItem.d.ts +1 -0
  121. package/lib/locale/messages-nb.js +1 -1
  122. package/lib/locale/messages-nn.js +1 -1
  123. package/lib/locale/messages-se.js +1 -1
  124. package/lib/locale/messages-sma.js +1 -1
  125. package/package.json +5 -5
  126. package/src/.DS_Store +0 -0
  127. package/src/Breadcrumb/BreadcrumbItem.tsx +1 -2
  128. package/src/ResourceBox/ResourceBox.tsx +36 -39
  129. package/src/Search/ContentTypeResult.tsx +2 -2
  130. package/src/SearchTypeResult/SearchItem.tsx +4 -2
  131. package/src/locale/messages-nb.ts +1 -1
  132. package/src/locale/messages-nn.ts +1 -1
  133. package/src/locale/messages-se.ts +1 -1
  134. package/src/locale/messages-sma.ts +1 -1
@@ -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
  name: string;
10
11
  description: 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
  onAuthenticateClick: () => void;
10
11
  };
@@ -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
  messages: {
10
11
  expandBylineButtonLabel: 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 function FigureExpandButton({ messages, typeClass }: Props): JSX.Element;
9
10
  interface Props {
10
11
  messages: {
@@ -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
  type?: 'image' | 'video' | 'h5p' | 'iframe' | 'external';
10
11
  messages: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FileType } from './FileList';
2
3
  interface Props {
3
4
  id: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface FileType {
2
3
  title: string;
3
4
  formats: FileFormat[];
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare type ItemProps = {
2
3
  label: string;
3
4
  value: 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 EditorNameProps = {
9
10
  title: string;
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
  import { AuthModalProps } from '../User/AuthModal';
9
10
  declare const FooterAuth: ({ isAuthenticated, onAuthenticateClick, authorizedRole, ...rest }: AuthModalProps) => JSX.Element;
10
11
  export default FooterAuth;
@@ -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 { Locale } from '../types';
9
10
  declare type FooterPrivacyProps = {
10
11
  label: string;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const PrivacyEn: () => JSX.Element;
2
3
  export default PrivacyEn;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const PrivacyNb: () => JSX.Element;
2
3
  export default PrivacyNb;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const PrivacyNn: () => JSX.Element;
2
3
  export default PrivacyNn;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare type subjectProps = {
2
3
  name: string;
3
4
  url?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ItemProps } from '../Navigation/NavigationBox';
2
3
  import { subjectsProps } from './FrontpageAllSubjects';
3
4
  declare type Props = {
@@ -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 FrontpageHeaderIllustration: () => JSX.Element;
9
10
  export default FrontpageHeaderIllustration;
@@ -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,13 +1,16 @@
1
- declare type Props = {
2
- image: string;
1
+ /// <reference types="react" />
2
+ interface ImageMeta {
3
+ src: string;
4
+ alt: string;
5
+ }
6
+ interface Props {
7
+ image: ImageMeta;
3
8
  title: string;
4
9
  caption: string;
5
10
  licenseRights: string[];
6
- authors?: {
7
- name: string;
8
- }[];
11
+ authors?: string[];
9
12
  locale?: string;
10
13
  url: string;
11
- };
14
+ }
12
15
  export declare const ResourceBox: ({ image, title, caption, licenseRights, locale, authors, url }: Props) => JSX.Element;
13
16
  export default ResourceBox;