@ndla/ui 30.2.0 → 30.2.2
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.
- package/es/Article/ArticleHeaderWrapper.js +75 -112
- package/es/Footer/FooterLinks.js +13 -10
- package/es/Frontpage/FrontpageFilm.js +11 -8
- package/es/Frontpage/FrontpageMultidisciplinarySubject.js +13 -10
- package/es/Frontpage/FrontpageToolbox.js +11 -8
- package/es/LearningPaths/LearningPathLastStepNavigation.js +11 -8
- package/es/LearningPaths/LearningPathMenuAside.js +13 -10
- package/es/LearningPaths/LearningPathMobileHeader.js +8 -6
- package/es/LearningPaths/LearningPathMobileStepInfo.js +8 -5
- package/es/Masthead/MastheadSearchModal.js +10 -7
- package/es/Messages/MessageBox.js +11 -12
- package/es/NDLAFilm/CategorySelect.js +106 -146
- package/es/Resource/ListResource.js +20 -20
- package/es/Resource/resourceComponents.js +11 -11
- package/es/SearchTypeResult/ActiveFilterContent.js +9 -6
- package/es/SearchTypeResult/SearchHeader.js +14 -12
- package/es/SearchTypeResult/SearchNotionsResult.js +5 -6
- package/es/SearchTypeResult/SearchTypeHeader.js +17 -15
- package/es/Subject/SubjectCarousel.js +11 -8
- package/es/ToolboxPage/ToolboxInfo.js +9 -6
- package/es/User/UserInfo.js +23 -2
- package/es/User/parseUserObject.js +22 -12
- package/es/locale/messages-en.js +5 -1
- package/es/locale/messages-nb.js +5 -1
- package/es/locale/messages-nn.js +5 -1
- package/es/locale/messages-se.js +33 -29
- package/es/locale/messages-sma.js +5 -1
- package/es/utils/createUniversalPortal.js +1 -1
- package/lib/Animation/DisplayOnPageYOffset.d.ts +2 -2
- package/lib/Animation/Fade.d.ts +2 -2
- package/lib/Article/Article.d.ts +3 -3
- package/lib/Article/ArticleAccessMessage.d.ts +1 -1
- package/lib/Article/ArticleByline.d.ts +1 -1
- package/lib/Article/ArticleContent.d.ts +1 -1
- package/lib/Article/ArticleFootNotes.d.ts +1 -1
- package/lib/Article/ArticleHeaderWrapper.d.ts +4 -5
- package/lib/Article/ArticleHeaderWrapper.js +73 -108
- package/lib/Article/ArticleNotions.d.ts +1 -1
- package/lib/Article/ArticleSideBar.d.ts +1 -1
- package/lib/Aside/Aside.d.ts +1 -1
- package/lib/AudioPlayer/AudioPlayer.d.ts +1 -1
- package/lib/AudioPlayer/Controls.d.ts +1 -1
- package/lib/AudioPlayer/SpeechControl.d.ts +1 -1
- package/lib/AuthorInfo/AuthorInfo.d.ts +1 -1
- package/lib/BannerCard/BannerCard.d.ts +1 -1
- package/lib/BlogPosts/BlogPost.d.ts +1 -1
- package/lib/BlogPosts/BlogPostWrapper.d.ts +1 -1
- package/lib/Breadcrumb/ActionBreadcrumb.d.ts +1 -1
- package/lib/Breadcrumb/Breadcrumb.d.ts +1 -1
- package/lib/Breadcrumb/HeaderBreadcrumb.d.ts +1 -1
- package/lib/Breadcrumb/HomeBreadcrumb.d.ts +1 -1
- package/lib/Breadcrumblist/Breadcrumblist.d.ts +1 -1
- package/lib/CompetenceGoalTab/CompetenceGoalItem.d.ts +1 -1
- package/lib/CompetenceGoalTab/CompetenceGoalTab.d.ts +1 -1
- package/lib/CompetenceGoalTab/CompetenceItem.d.ts +1 -1
- package/lib/CompetenceGoalTab/SearchButton.d.ts +1 -1
- package/lib/CompetenceGoals/CompetenceGoalsDialog.d.ts +1 -1
- package/lib/ComponentCursor/ComponentCursor.d.ts +1 -1
- package/lib/ContentCard/ContentCard.d.ts +1 -1
- package/lib/ContentLoader/index.d.ts +1 -1
- package/lib/ContentPlaceholder/ContentPlaceholder.d.ts +1 -1
- package/lib/ContentTypeBadge/ContentTypeBadge.d.ts +9 -9
- package/lib/CopyParagraphButton/CopyParagraphButton.d.ts +1 -1
- package/lib/CreatedBy/CreatedBy.d.ts +1 -1
- package/lib/Dialog/Dialog.d.ts +1 -1
- package/lib/ErrorMessage/ErrorMessage.d.ts +1 -1
- package/lib/ErrorMessage/ErrorResourceAccessDenied.d.ts +1 -1
- package/lib/FactBox/FactBox.d.ts +1 -1
- package/lib/Figure/Figure.d.ts +2 -2
- package/lib/Figure/FigureBylineExpandButton.d.ts +1 -1
- package/lib/Figure/FigureExpandButton.d.ts +1 -1
- package/lib/Figure/FigureLicense.d.ts +2 -2
- package/lib/Figure/FigureLicenseDialog.d.ts +1 -1
- package/lib/Figure/FigureOpenDialogButton.d.ts +1 -1
- package/lib/FileList/File.d.ts +1 -1
- package/lib/FileList/FileList.d.ts +1 -1
- package/lib/Filter/FilterButtons.d.ts +1 -1
- package/lib/Filter/FilterCarousel.d.ts +1 -1
- package/lib/Filter/FilterList.d.ts +1 -1
- package/lib/Filter/FilterListPhone.d.ts +1 -1
- package/lib/Filter/ToggleItem.d.ts +1 -1
- package/lib/Footer/EditorName.d.ts +1 -1
- package/lib/Footer/Footer.d.ts +1 -1
- package/lib/Footer/FooterAuth.d.ts +1 -1
- package/lib/Footer/FooterLinks.d.ts +3 -4
- package/lib/Footer/FooterLinks.js +12 -10
- package/lib/Footer/FooterPrivacy.d.ts +1 -1
- package/lib/Footer/FooterText.d.ts +1 -1
- package/lib/Footer/privacy_en.d.ts +1 -1
- package/lib/Footer/privacy_nb.d.ts +1 -1
- package/lib/Footer/privacy_nn.d.ts +1 -1
- package/lib/Frontpage/FrontpageAllSubjects.d.ts +1 -1
- package/lib/Frontpage/FrontpageFilm.d.ts +2 -4
- package/lib/Frontpage/FrontpageFilm.js +10 -8
- package/lib/Frontpage/FrontpageHeader.d.ts +1 -1
- package/lib/Frontpage/FrontpageInfo.d.ts +1 -1
- package/lib/Frontpage/FrontpageMultidisciplinarySubject.d.ts +7 -8
- package/lib/Frontpage/FrontpageMultidisciplinarySubject.js +12 -10
- package/lib/Frontpage/FrontpageProgramMenu.d.ts +1 -1
- package/lib/Frontpage/FrontpageSearch.d.ts +1 -1
- package/lib/Frontpage/FrontpageToolbox.d.ts +2 -4
- package/lib/Frontpage/FrontpageToolbox.js +10 -8
- package/lib/Frontpage/illustrations/Fellesfag.d.ts +1 -1
- package/lib/Frontpage/illustrations/FrontpageHeaderIllustration.d.ts +1 -1
- package/lib/Frontpage/illustrations/FrontpageIllustrations.d.ts +2 -2
- package/lib/Frontpage/illustrations/FrontpageSubjectIllustration.d.ts +1 -1
- package/lib/Frontpage/illustrations/MenuFellesfag.d.ts +1 -1
- package/lib/Frontpage/illustrations/MenuStudiespesialiserende.d.ts +1 -1
- package/lib/Frontpage/illustrations/MenuYrkesfag.d.ts +1 -1
- package/lib/Frontpage/illustrations/Studiespesialiserende.d.ts +1 -1
- package/lib/Frontpage/illustrations/Yrkesfag.d.ts +1 -1
- package/lib/Frontpage/illustrations/index.d.ts +6 -6
- package/lib/Hero/Hero.d.ts +8 -8
- package/lib/Image/Image.d.ts +2 -2
- package/lib/Image/ImageLink.d.ts +1 -1
- package/lib/Image/LazyLoadImage.d.ts +1 -1
- package/lib/InfoBlock/InfoBlock.d.ts +1 -1
- package/lib/InfoBox/InfoBox.d.ts +1 -1
- package/lib/InfoWidget/InfoWidget.d.ts +1 -1
- package/lib/LanguageSelector/LanguageSelector.d.ts +1 -1
- package/lib/LanguageSelector/LanguageSelectorContent.d.ts +1 -1
- package/lib/Layout/Content.d.ts +2 -2
- package/lib/Layout/LayoutItem.d.ts +1 -1
- package/lib/Layout/OneColumn.d.ts +1 -1
- package/lib/Layout/PageContainer.d.ts +1 -1
- package/lib/LearningPaths/LearningPathContent.d.ts +1 -1
- package/lib/LearningPaths/LearningPathInformation.d.ts +1 -1
- package/lib/LearningPaths/LearningPathLastStepNavigation.d.ts +3 -4
- package/lib/LearningPaths/LearningPathLastStepNavigation.js +10 -8
- package/lib/LearningPaths/LearningPathMenu.d.ts +1 -1
- package/lib/LearningPaths/LearningPathMenuAside.d.ts +2 -4
- package/lib/LearningPaths/LearningPathMenuAside.js +12 -10
- package/lib/LearningPaths/LearningPathMenuAsideCopyright.d.ts +1 -1
- package/lib/LearningPaths/LearningPathMenuContent.d.ts +1 -1
- package/lib/LearningPaths/LearningPathMenuIntro.d.ts +1 -1
- package/lib/LearningPaths/LearningPathMenuModalWrapper.d.ts +1 -1
- package/lib/LearningPaths/LearningPathMobileHeader.d.ts +2 -4
- package/lib/LearningPaths/LearningPathMobileHeader.js +7 -6
- package/lib/LearningPaths/LearningPathMobileStepInfo.d.ts +2 -4
- package/lib/LearningPaths/LearningPathMobileStepInfo.js +7 -5
- package/lib/LearningPaths/LearningPathSticky.d.ts +3 -3
- package/lib/LearningPaths/LearningPathWrapper.d.ts +1 -1
- package/lib/Logo/Logo.d.ts +1 -1
- package/lib/Logo/SvgLogo.d.ts +1 -1
- package/lib/Masthead/Masthead.d.ts +2 -2
- package/lib/Masthead/MastheadAuthModal.d.ts +1 -1
- package/lib/Masthead/MastheadSearchModal.d.ts +3 -4
- package/lib/Masthead/MastheadSearchModal.js +9 -7
- package/lib/Masthead/SkipToMainContent.d.ts +1 -1
- package/lib/MediaList/MediaList.d.ts +8 -8
- package/lib/Messages/MessageBanner.d.ts +1 -1
- package/lib/Messages/MessageBox.d.ts +2 -5
- package/lib/Messages/MessageBox.js +10 -14
- package/lib/Messages/MessageBoxTag.d.ts +1 -1
- package/lib/MultidisciplinarySubject/Illustrations.d.ts +7 -7
- package/lib/MultidisciplinarySubject/List.d.ts +1 -1
- package/lib/MultidisciplinarySubject/ListItem.d.ts +1 -1
- package/lib/MultidisciplinarySubject/MultidisciplinarySubject.d.ts +1 -1
- package/lib/MultidisciplinarySubject/MultidisciplinarySubjectHeader.d.ts +1 -1
- package/lib/MyNdla/Resource/Folder.d.ts +1 -1
- package/lib/MyNdla/Resource/FolderInput.d.ts +1 -1
- package/lib/NDLAFilm/AboutNdlaFilm.d.ts +1 -1
- package/lib/NDLAFilm/AllMoviesAlphabetically.d.ts +1 -1
- package/lib/NDLAFilm/CategorySelect.d.ts +10 -5
- package/lib/NDLAFilm/CategorySelect.js +99 -145
- package/lib/NDLAFilm/FilmContentCard.d.ts +1 -1
- package/lib/NDLAFilm/FilmContentCardTags.d.ts +1 -1
- package/lib/NDLAFilm/FilmMovieList.d.ts +1 -1
- package/lib/NDLAFilm/FilmMovieSearch.d.ts +1 -1
- package/lib/NDLAFilm/FilmSlideshow.d.ts +1 -1
- package/lib/NDLAFilm/MovieGrid.d.ts +1 -1
- package/lib/NDLAFilm/NavigationArrow.d.ts +2 -2
- package/lib/NDLAFilm/SlideshowIndicator.d.ts +1 -1
- package/lib/NDLAFilm/VisualElement.d.ts +1 -1
- package/lib/NDLAFilm/filmStyles.d.ts +2 -2
- package/lib/Navigation/NavigationBox.d.ts +1 -1
- package/lib/Navigation/NavigationHeading.d.ts +1 -1
- package/lib/Navigation/NavigationTopicAbout.d.ts +1 -1
- package/lib/NoContentBox/NoContentBox.d.ts +1 -1
- package/lib/Notion/ConceptNotion.d.ts +1 -1
- package/lib/Notion/FigureNotion.d.ts +1 -1
- package/lib/Notion/Notion.d.ts +1 -1
- package/lib/Notion/NotionImage.d.ts +1 -1
- package/lib/Notion/NotionVisualElement.d.ts +1 -1
- package/lib/Portrait/Portrait.d.ts +1 -1
- package/lib/Programme/Programme.d.ts +1 -1
- package/lib/Programme/ProgrammeSubjects.d.ts +1 -1
- package/lib/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
- package/lib/RelatedArticleList/RelatedArticleList.d.ts +2 -2
- package/lib/Resource/BlockResource.d.ts +1 -1
- package/lib/Resource/ListResource.d.ts +1 -1
- package/lib/Resource/ListResource.js +20 -19
- package/lib/Resource/resourceComponents.d.ts +7 -7
- package/lib/Resource/resourceComponents.js +11 -11
- package/lib/ResourceBox/ResourceBox.d.ts +1 -1
- package/lib/ResourceGroup/ResourceGroup.d.ts +1 -1
- package/lib/ResourceGroup/ResourceItem.d.ts +1 -1
- package/lib/ResourceGroup/ResourceList.d.ts +1 -1
- package/lib/ResourcesWrapper/ResourcesTitle.d.ts +1 -1
- package/lib/ResourcesWrapper/ResourcesTopicTitle.d.ts +1 -1
- package/lib/ResourcesWrapper/ResourcesWrapper.d.ts +1 -1
- package/lib/Search/ActiveFilterContent.d.ts +2 -2
- package/lib/Search/ActiveFilters.d.ts +1 -1
- package/lib/Search/ContentTypeResult.d.ts +1 -1
- package/lib/Search/ContentTypeResultStyles.d.ts +6 -6
- package/lib/Search/LoadingWrapper.d.ts +1 -1
- package/lib/Search/SearchField.d.ts +1 -1
- package/lib/Search/SearchFieldForm.d.ts +1 -1
- package/lib/Search/SearchResult.d.ts +2 -2
- package/lib/Search/SearchResultSleeve.d.ts +1 -1
- package/lib/Search/ToggleSearchButton.d.ts +1 -1
- package/lib/SearchTypeResult/ActiveFilterContent.d.ts +3 -4
- package/lib/SearchTypeResult/ActiveFilterContent.js +8 -6
- package/lib/SearchTypeResult/ActiveFilters.d.ts +1 -1
- package/lib/SearchTypeResult/PopupFilter.d.ts +1 -1
- package/lib/SearchTypeResult/ResultNavigation.d.ts +1 -1
- package/lib/SearchTypeResult/SearchFieldHeader.d.ts +1 -1
- package/lib/SearchTypeResult/SearchFilterContent.d.ts +1 -1
- package/lib/SearchTypeResult/SearchHeader.d.ts +3 -4
- package/lib/SearchTypeResult/SearchHeader.js +13 -12
- package/lib/SearchTypeResult/SearchItem.d.ts +1 -1
- package/lib/SearchTypeResult/SearchItemList.d.ts +1 -1
- package/lib/SearchTypeResult/SearchItems.d.ts +1 -1
- package/lib/SearchTypeResult/SearchNotionItem.d.ts +1 -1
- package/lib/SearchTypeResult/SearchNotionsResult.d.ts +3 -4
- package/lib/SearchTypeResult/SearchNotionsResult.js +5 -6
- package/lib/SearchTypeResult/SearchSubjectItem.d.ts +1 -1
- package/lib/SearchTypeResult/SearchSubjectResult.d.ts +1 -1
- package/lib/SearchTypeResult/SearchTypeHeader.d.ts +1 -2
- package/lib/SearchTypeResult/SearchTypeHeader.js +15 -12
- package/lib/SearchTypeResult/SearchTypeResult.d.ts +1 -1
- package/lib/SearchTypeResult/SearchViewType.d.ts +1 -1
- package/lib/SearchTypeResult/components/ItemContexts.d.ts +1 -1
- package/lib/SearchTypeResult/components/ItemResourceHeader.d.ts +1 -1
- package/lib/SearchTypeResult/components/ItemTopicHeader.d.ts +1 -1
- package/lib/SearchTypeResult/components/SubjectFilters.d.ts +1 -1
- package/lib/SectionHeading/SectionHeading.d.ts +1 -1
- package/lib/SnackBar/DefaultSnackbar.d.ts +1 -1
- package/lib/SnackBar/SnackbarProvider.d.ts +2 -2
- package/lib/Subject/Subject.d.ts +8 -8
- package/lib/Subject/SubjectAbout.d.ts +1 -1
- package/lib/Subject/SubjectArchive.d.ts +1 -1
- package/lib/Subject/SubjectBanner.d.ts +1 -1
- package/lib/Subject/SubjectCarousel.d.ts +2 -4
- package/lib/Subject/SubjectCarousel.js +10 -8
- package/lib/Subject/SubjectHeader.d.ts +1 -1
- package/lib/Subject/SubjectLinks.d.ts +1 -1
- package/lib/Subject/SubjectNewContent.d.ts +1 -1
- package/lib/Subject/SubjectShortcuts.d.ts +1 -1
- package/lib/Subject/SubjectSocial.d.ts +2 -2
- package/lib/Table/Table.d.ts +1 -1
- package/lib/TagSelector/Control.d.ts +1 -1
- package/lib/TagSelector/DropdownIndicator.d.ts +1 -1
- package/lib/TagSelector/Input.d.ts +1 -1
- package/lib/TagSelector/Menu.d.ts +1 -1
- package/lib/TagSelector/MenuList.d.ts +2 -2
- package/lib/TagSelector/Option.d.ts +1 -1
- package/lib/TagSelector/SelectContainer.d.ts +1 -1
- package/lib/TagSelector/TagSelector.d.ts +1 -1
- package/lib/TagSelector/ValueButton.d.ts +2 -2
- package/lib/ToolboxPage/ToolboxInfo.d.ts +3 -4
- package/lib/ToolboxPage/ToolboxInfo.js +8 -6
- package/lib/Topic/Loader.d.ts +1 -1
- package/lib/Topic/Topic.d.ts +1 -1
- package/lib/TopicIntroductionList/TopicIntroduction.d.ts +1 -1
- package/lib/TopicIntroductionList/TopicIntroductionList.d.ts +1 -1
- package/lib/TopicIntroductionList/TopicIntroductionShortcuts.d.ts +1 -1
- package/lib/TopicIntroductionList/TopicShortcutItem.d.ts +1 -1
- package/lib/Translation/Translation.d.ts +1 -1
- package/lib/Translation/TranslationBox.d.ts +1 -1
- package/lib/Translation/TranslationLine.d.ts +1 -1
- package/lib/TreeStructure/AddFolderButton.d.ts +1 -1
- package/lib/TreeStructure/FolderItem.d.ts +1 -1
- package/lib/TreeStructure/FolderItems.d.ts +1 -1
- package/lib/TreeStructure/NavigationLink.d.ts +1 -1
- package/lib/TreeStructure/TreeStructure.d.ts +1 -1
- package/lib/TreeStructure/helperFunctions.d.ts +1 -1
- package/lib/User/AuthModal.d.ts +1 -1
- package/lib/User/UserInfo.d.ts +1 -1
- package/lib/User/UserInfo.js +23 -2
- package/lib/User/apiTypes.d.ts +10 -2
- package/lib/User/parseUserObject.d.ts +2 -1
- package/lib/User/parseUserObject.js +22 -12
- package/lib/locale/LocaleProvider.d.ts +1 -1
- package/lib/locale/messages-en.d.ts +4 -0
- package/lib/locale/messages-en.js +5 -1
- package/lib/locale/messages-nb.d.ts +4 -0
- package/lib/locale/messages-nb.js +5 -1
- package/lib/locale/messages-nn.d.ts +4 -0
- package/lib/locale/messages-nn.js +5 -1
- package/lib/locale/messages-se.d.ts +4 -0
- package/lib/locale/messages-se.js +33 -29
- package/lib/locale/messages-sma.d.ts +4 -0
- package/lib/locale/messages-sma.js +5 -1
- package/lib/utils/createUniversalPortal.d.ts +1 -1
- package/lib/utils/createUniversalPortal.js +1 -1
- package/package.json +10 -10
- package/src/Article/ArticleHeaderWrapper.tsx +53 -66
- package/src/Footer/FooterLinks.tsx +43 -40
- package/src/Frontpage/FrontpageFilm.tsx +20 -17
- package/src/Frontpage/FrontpageMultidisciplinarySubject.tsx +33 -30
- package/src/Frontpage/FrontpageToolbox.tsx +21 -18
- package/src/LearningPaths/LearningPathLastStepNavigation.tsx +32 -29
- package/src/LearningPaths/LearningPathMenuAside.tsx +25 -29
- package/src/LearningPaths/LearningPathMobileHeader.tsx +11 -8
- package/src/LearningPaths/LearningPathMobileStepInfo.tsx +13 -10
- package/src/Masthead/MastheadSearchModal.tsx +36 -35
- package/src/Messages/MessageBox.tsx +2 -3
- package/src/NDLAFilm/CategorySelect.tsx +77 -97
- package/src/Resource/ListResource.tsx +11 -16
- package/src/Resource/resourceComponents.tsx +0 -4
- package/src/SearchTypeResult/ActiveFilterContent.tsx +18 -15
- package/src/SearchTypeResult/SearchHeader.tsx +4 -4
- package/src/SearchTypeResult/SearchNotionsResult.tsx +2 -3
- package/src/SearchTypeResult/SearchTypeHeader.tsx +48 -45
- package/src/Subject/SubjectCarousel.tsx +93 -96
- package/src/ToolboxPage/ToolboxInfo.tsx +19 -16
- package/src/User/UserInfo.tsx +22 -0
- package/src/User/__tests__/parseUserObject-test.ts +1 -0
- package/src/User/apiTypes.ts +11 -2
- package/src/User/parseUserObject.ts +17 -11
- package/src/locale/messages-en.ts +4 -0
- package/src/locale/messages-nb.ts +4 -0
- package/src/locale/messages-nn.ts +4 -0
- package/src/locale/messages-se.ts +32 -28
- package/src/locale/messages-sma.ts +4 -0
- package/src/utils/createUniversalPortal.tsx +1 -6
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const ClimateIllustration: import("@emotion/styled").StyledComponent<{
|
|
3
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?:
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
5
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
6
|
export declare const PublicHealthIllustration: import("@emotion/styled").StyledComponent<{
|
|
7
7
|
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
-
as?:
|
|
8
|
+
as?: import("react").ElementType<any> | undefined;
|
|
9
9
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
10
10
|
export declare const DemocracyIllustration: import("@emotion/styled").StyledComponent<{
|
|
11
11
|
theme?: import("@emotion/react").Theme | undefined;
|
|
12
|
-
as?:
|
|
12
|
+
as?: import("react").ElementType<any> | undefined;
|
|
13
13
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
14
14
|
export declare const PublicHealthDemocracyIllustration: import("@emotion/styled").StyledComponent<{
|
|
15
15
|
theme?: import("@emotion/react").Theme | undefined;
|
|
16
|
-
as?:
|
|
16
|
+
as?: import("react").ElementType<any> | undefined;
|
|
17
17
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
18
18
|
export declare const DemocracyClimateIllustration: import("@emotion/styled").StyledComponent<{
|
|
19
19
|
theme?: import("@emotion/react").Theme | undefined;
|
|
20
|
-
as?:
|
|
20
|
+
as?: import("react").ElementType<any> | undefined;
|
|
21
21
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
22
22
|
export declare const PublicHealthClimateIllustration: import("@emotion/styled").StyledComponent<{
|
|
23
23
|
theme?: import("@emotion/react").Theme | undefined;
|
|
24
|
-
as?:
|
|
24
|
+
as?: import("react").ElementType<any> | undefined;
|
|
25
25
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
26
26
|
export declare const PublicHealthDemocracyClimateIllustration: import("@emotion/styled").StyledComponent<{
|
|
27
27
|
theme?: import("@emotion/react").Theme | undefined;
|
|
28
|
-
as?:
|
|
28
|
+
as?: import("react").ElementType<any> | undefined;
|
|
29
29
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -3,5 +3,5 @@ export declare type ListProps = {
|
|
|
3
3
|
items: ListItemProps[];
|
|
4
4
|
totalCount: number;
|
|
5
5
|
};
|
|
6
|
-
declare const List: ({ items, totalCount }: ListProps) => import("@emotion/react/
|
|
6
|
+
declare const List: ({ items, totalCount }: ListProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
7
7
|
export default List;
|
|
@@ -6,5 +6,5 @@ export declare type ListItemProps = {
|
|
|
6
6
|
imageAlt?: string;
|
|
7
7
|
subjects?: string[];
|
|
8
8
|
};
|
|
9
|
-
declare const ListItem: ({ title, introduction, url, image, imageAlt, subjects }: ListItemProps) => import("@emotion/react/
|
|
9
|
+
declare const ListItem: ({ title, introduction, url, image, imageAlt, subjects }: ListItemProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
10
|
export default ListItem;
|
|
@@ -6,5 +6,5 @@ declare type Props = {
|
|
|
6
6
|
totalCardCount: number;
|
|
7
7
|
hideCards?: boolean;
|
|
8
8
|
};
|
|
9
|
-
export declare const MultidisciplinarySubject: ({ cards, children, totalCardCount, hideCards }: Props) => import("@emotion/react/
|
|
9
|
+
export declare const MultidisciplinarySubject: ({ cards, children, totalCardCount, hideCards }: Props) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
10
|
export default MultidisciplinarySubject;
|
|
@@ -7,5 +7,5 @@ declare type Props = {
|
|
|
7
7
|
subjects?: subjects[];
|
|
8
8
|
subjectsLinks?: subjectLink[];
|
|
9
9
|
};
|
|
10
|
-
declare const MultidisciplinarySubjectHeader: ({ subjects, subjectsLinks }: Props) => import("@emotion/react/
|
|
10
|
+
declare const MultidisciplinarySubjectHeader: ({ subjects, subjectsLinks }: Props) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
11
11
|
export default MultidisciplinarySubjectHeader;
|
|
@@ -17,5 +17,5 @@ interface Props {
|
|
|
17
17
|
type: LayoutType;
|
|
18
18
|
menuItems?: MenuItemProps[];
|
|
19
19
|
}
|
|
20
|
-
declare const Folder: ({ id, link, title, subFolders, subResources, type, menuItems }: Props) => import("@emotion/react/
|
|
20
|
+
declare const Folder: ({ id, link, title, subFolders, subResources, type, menuItems }: Props) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
21
21
|
export default Folder;
|
|
@@ -12,5 +12,5 @@ interface Props extends ComponentProps<typeof InputV2> {
|
|
|
12
12
|
onClose?: () => void;
|
|
13
13
|
onSave: () => void;
|
|
14
14
|
}
|
|
15
|
-
declare const FolderInput: React.ForwardRefExoticComponent<Pick<Props, "max" | "required" | "
|
|
15
|
+
declare const FolderInput: React.ForwardRefExoticComponent<Pick<Props, "max" | "required" | "type" | "data" | "error" | "default" | "high" | "low" | "key" | "id" | "media" | "height" | "width" | "start" | "open" | "name" | "color" | "content" | "translate" | "value" | "loading" | "hidden" | "cite" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "dir" | "pattern" | "acceptCharset" | "action" | "method" | "noValidate" | "target" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "after" | "before" | "children" | "contentEditable" | "inputMode" | "nonce" | "tabIndex" | "async" | "disabled" | "multiple" | "size" | "manifest" | "white" | "wrap" | "src" | "accept" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "min" | "minLength" | "muted" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "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" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "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" | "onClose" | "customCss" | "labelHidden" | "onSave"> & React.RefAttributes<HTMLInputElement>>;
|
|
16
16
|
export default FolderInput;
|
|
@@ -11,5 +11,5 @@ interface Props {
|
|
|
11
11
|
};
|
|
12
12
|
moreAboutNdlaFilm: ReactNode;
|
|
13
13
|
}
|
|
14
|
-
declare const AboutNdlaFilm: ({ aboutNDLAVideo, moreAboutNdlaFilm }: Props) => import("@emotion/react/
|
|
14
|
+
declare const AboutNdlaFilm: ({ aboutNDLAVideo, moreAboutNdlaFilm }: Props) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
15
15
|
export default AboutNdlaFilm;
|
|
@@ -10,5 +10,5 @@ interface Props {
|
|
|
10
10
|
movies: MovieType[];
|
|
11
11
|
locale: string;
|
|
12
12
|
}
|
|
13
|
-
declare const AllMoviesAlphabetically: ({ movies, locale }: Props) => import("@emotion/react/
|
|
13
|
+
declare const AllMoviesAlphabetically: ({ movies, locale }: Props) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
14
14
|
export default AllMoviesAlphabetically;
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2019-present, NDLA.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the GPLv3 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
3
8
|
import { MovieResourceType } from './types';
|
|
4
|
-
interface Props
|
|
9
|
+
interface Props {
|
|
5
10
|
resourceTypes: MovieResourceType[];
|
|
6
11
|
resourceTypeSelected?: MovieResourceType;
|
|
7
12
|
ariaControlId?: string;
|
|
8
13
|
onChangeResourceType: (resourceId?: string) => void;
|
|
9
14
|
}
|
|
10
|
-
declare const
|
|
11
|
-
export default
|
|
15
|
+
declare const CategorySelect: ({ resourceTypes, resourceTypeSelected, ariaControlId, onChangeResourceType }: Props) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
16
|
+
export default CategorySelect;
|