@ndla/ui 50.1.1 → 50.1.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/Article.js +73 -76
- package/es/Article/ArticleAccessMessage.js +6 -4
- package/es/Article/ArticleByline.js +42 -58
- package/es/Article/ArticleFootNotes.js +17 -17
- package/es/Article/ArticleHeaderWrapper.js +11 -14
- package/es/Article/ArticleNotions.js +13 -10
- package/es/Aside/Aside.js +19 -24
- package/es/AudioPlayer/AudioPlayer.js +40 -53
- package/es/AudioPlayer/Controls.js +74 -97
- package/es/AudioPlayer/SpeechControl.js +11 -8
- package/es/BannerCard/BannerCard.js +19 -25
- package/es/BlogPost/BlogPost.js +18 -17
- package/es/Breadcrumb/Breadcrumb.js +42 -55
- package/es/Breadcrumb/BreadcrumbItem.js +32 -26
- package/es/Breadcrumb/HeaderBreadcrumb.js +15 -12
- package/es/Breadcrumb/HomeBreadcrumb.js +33 -21
- package/es/CampaignBlock/CampaignBlock.js +18 -18
- package/es/CompetenceGoalTab/CompetenceGoalItem.js +22 -21
- package/es/CompetenceGoalTab/CompetenceGoalTab.js +21 -27
- package/es/CompetenceGoalTab/CompetenceItem.js +49 -52
- package/es/CompetenceGoalTab/CoreElementItem.js +11 -8
- package/es/CompetenceGoalTab/SearchButton.js +8 -6
- package/es/CompetenceGoalTab/styles.js +5 -5
- package/es/ContactBlock/ContactBlock.js +46 -45
- package/es/ContentLoader/index.js +26 -40
- package/es/ContentPlaceholder/ContentPlaceholder.js +4 -4
- package/es/ContentTypeBadge/ContentTypeBadge.js +48 -61
- package/es/CopyParagraphButton/CopyParagraphButton.js +24 -33
- package/es/CreatedBy/CreatedBy.js +14 -13
- package/es/DefinitionList/DefinitionDescription.js +10 -17
- package/es/DefinitionList/DefinitionTerm.js +10 -17
- package/es/Embed/AudioEmbed.js +27 -32
- package/es/Embed/BrightcoveEmbed.js +63 -85
- package/es/Embed/ConceptEmbed.js +84 -85
- package/es/Embed/ConceptListEmbed.js +19 -12
- package/es/Embed/ContentLinkEmbed.js +14 -9
- package/es/Embed/EmbedErrorPlaceholder.js +9 -7
- package/es/Embed/ExternalEmbed.js +26 -26
- package/es/Embed/FootnoteEmbed.js +10 -7
- package/es/Embed/H5pEmbed.js +9 -8
- package/es/Embed/IframeEmbed.js +37 -33
- package/es/Embed/ImageEmbed.js +80 -97
- package/es/Embed/RelatedContentEmbed.js +23 -24
- package/es/Embed/UnknownEmbed.js +8 -5
- package/es/Embed/conceptComponents.js +53 -64
- package/es/ErrorMessage/ErrorMessage.js +14 -14
- package/es/ErrorMessage/ErrorResourceAccessDenied.js +8 -5
- package/es/ExpandableBox/ExpandableBox.js +16 -20
- package/es/FactBox/FactBox.js +21 -35
- package/es/Figure/Figure.js +21 -28
- package/es/Figure/FigureOpenDialogButton.js +5 -3
- package/es/FileList/File.js +27 -22
- package/es/FileList/FileList.js +10 -7
- package/es/FileList/PdfFile.js +5 -3
- package/es/Filter/FilterButtons.js +65 -83
- package/es/Filter/FilterCarousel.js +42 -64
- package/es/Filter/FilterList.js +47 -69
- package/es/Filter/FilterListPhone.js +134 -176
- package/es/Filter/ToggleItem.js +25 -26
- package/es/Filter/filterClasses.js +1 -1
- package/es/Footer/EditorName.js +6 -4
- package/es/Footer/Footer.js +23 -22
- package/es/Footer/FooterLinks.js +31 -32
- package/es/Footer/FooterPrivacy.js +17 -17
- package/es/Footer/FooterText.js +5 -3
- package/es/FramedContent/FramedContent.js +12 -19
- package/es/Frontpage/FrontpageAllSubjects.js +65 -76
- package/es/FrontpageArticle/FrontpageArticle.js +22 -20
- package/es/Gloss/Gloss.js +34 -36
- package/es/Grid/Grid.js +24 -29
- package/es/Hero/Hero.js +38 -48
- package/es/Hero/HeroContent.js +1 -1
- package/es/Image/Image.js +37 -51
- package/es/Image/ImageLink.js +12 -19
- package/es/KeyFigure/KeyFigure.js +13 -11
- package/es/LanguageSelector/LanguageSelector.js +32 -33
- package/es/Layout/Content.js +4 -2
- package/es/Layout/LayoutItem.js +10 -17
- package/es/Layout/OneColumn.js +16 -23
- package/es/Layout/PageContainer.js +19 -28
- package/es/LearningPaths/LearningPathContent.js +5 -3
- package/es/LearningPaths/LearningPathInformation.js +17 -14
- package/es/LearningPaths/LearningPathLastStepNavigation.js +15 -12
- package/es/LearningPaths/LearningPathMenu.js +61 -69
- package/es/LearningPaths/LearningPathMenuAside.js +18 -17
- package/es/LearningPaths/LearningPathMenuAsideCopyright.js +12 -11
- package/es/LearningPaths/LearningPathMenuContent.js +86 -50
- package/es/LearningPaths/LearningPathMenuIntro.js +17 -20
- package/es/LearningPaths/LearningPathMenuModalWrapper.js +13 -19
- package/es/LearningPaths/LearningPathMobileHeader.js +6 -5
- package/es/LearningPaths/LearningPathMobileStepInfo.js +9 -6
- package/es/LearningPaths/LearningPathSticky.js +24 -21
- package/es/LearningPaths/LearningPathWrapper.js +6 -4
- package/es/LetterFilter/LetterFilter.js +17 -20
- package/es/LetterFilter/alphabet.js +1 -1
- package/es/LicenseByline/EmbedByline.js +31 -36
- package/es/LicenseByline/LicenseDescription.js +6 -4
- package/es/LicenseByline/LicenseLink.js +7 -6
- package/es/LinkBlock/LinkBlock.js +17 -15
- package/es/LinkBlock/LinkBlockSection.js +12 -20
- package/es/List/OrderedList.js +17 -22
- package/es/List/UnOrderedList.js +10 -17
- package/es/Logo/Logo.js +17 -22
- package/es/Logo/SvgLogo.js +10 -15
- package/es/Masthead/Masthead.js +17 -23
- package/es/Masthead/SkipToMainContent.js +9 -6
- package/es/Masthead/utils.js +12 -24
- package/es/MediaList/MediaList.js +83 -72
- package/es/Messages/MessageBanner.js +14 -10
- package/es/Messages/MessageBox.js +20 -20
- package/es/MyNdla/Resource/Folder.js +35 -30
- package/es/MyNdla/Resource/FolderInput.js +23 -31
- package/es/NDLAFilm/AboutNdlaFilm.js +10 -7
- package/es/NDLAFilm/AllMoviesAlphabetically.js +49 -60
- package/es/NDLAFilm/FilmContentCard.js +28 -40
- package/es/NDLAFilm/FilmContentCardTags.js +14 -16
- package/es/NDLAFilm/FilmMovieList.js +15 -17
- package/es/NDLAFilm/FilmMovieSearch.js +34 -36
- package/es/NDLAFilm/FilmSlideshow.js +32 -51
- package/es/NDLAFilm/MovieGrid.js +23 -26
- package/es/NDLAFilm/VisualElement.js +11 -7
- package/es/NDLAFilm/filmStyles.js +14 -12
- package/es/NDLAFilm/isLetter.js +3 -3
- package/es/Navigation/NavigationBox.js +80 -94
- package/es/NoContentBox/NoContentBox.js +6 -4
- package/es/Notion/Notion.js +24 -26
- package/es/Notion/NotionImage.js +13 -10
- package/es/Programme/Programme.js +39 -21
- package/es/Programme/ProgrammeSubjects.js +19 -25
- package/es/ProgrammeCard/ProgrammeCard.js +10 -8
- package/es/RelatedArticleList/RelatedArticleList.js +51 -69
- package/es/Resource/BlockResource.js +34 -30
- package/es/Resource/ListResource.js +43 -37
- package/es/Resource/resourceComponents.js +69 -78
- package/es/Resource/storyComponents.js +28 -30
- package/es/ResourceBox/ResourceBox.js +14 -12
- package/es/ResourceGroup/ResourceGroup.js +14 -13
- package/es/ResourceGroup/ResourceItem.js +56 -36
- package/es/ResourceGroup/ResourceList.js +23 -31
- package/es/ResourcesWrapper/ResourcesTopicTitle.js +29 -25
- package/es/ResourcesWrapper/ResourcesWrapper.js +10 -16
- package/es/Search/ActiveFilterContent.js +9 -9
- package/es/Search/ActiveFilters.js +31 -24
- package/es/Search/ContentTypeResult.js +49 -66
- package/es/Search/ContentTypeResultStyles.js +19 -27
- package/es/Search/IsPathToHighlight.js +2 -2
- package/es/Search/LoadingWrapper.js +5 -3
- package/es/Search/SearchField.js +42 -48
- package/es/Search/SearchFieldForm.js +9 -9
- package/es/Search/SearchResult.js +53 -59
- package/es/Search/SearchResultSleeve.js +67 -89
- package/es/SearchTypeResult/ActiveFilterContent.js +11 -10
- package/es/SearchTypeResult/ActiveFilters.js +38 -33
- package/es/SearchTypeResult/PopupFilter.js +33 -47
- package/es/SearchTypeResult/ResultNavigation.js +22 -22
- package/es/SearchTypeResult/SearchFieldHeader.js +28 -41
- package/es/SearchTypeResult/SearchFilterContent.js +13 -10
- package/es/SearchTypeResult/SearchHeader.js +47 -57
- package/es/SearchTypeResult/SearchItem.js +30 -29
- package/es/SearchTypeResult/SearchItemList.js +39 -40
- package/es/SearchTypeResult/SearchItems.js +18 -19
- package/es/SearchTypeResult/SearchNotionsResult.js +16 -13
- package/es/SearchTypeResult/SearchSubjectItem.js +23 -14
- package/es/SearchTypeResult/SearchSubjectResult.js +17 -17
- package/es/SearchTypeResult/SearchTypeHeader.js +40 -40
- package/es/SearchTypeResult/SearchTypeResult.js +17 -21
- package/es/SearchTypeResult/SearchViewType.js +16 -19
- package/es/SearchTypeResult/components/ItemContexts.js +39 -38
- package/es/SearchTypeResult/components/ItemResourceHeader.js +24 -30
- package/es/SearchTypeResult/components/ItemTopicHeader.js +14 -11
- package/es/SearchTypeResult/components/SubjectFilters.js +49 -72
- package/es/SectionHeading/SectionHeading.js +11 -11
- package/es/SnackBar/DefaultSnackbar.js +14 -13
- package/es/SnackBar/SnackbarProvider.js +60 -91
- package/es/Subject/SubjectBanner.js +9 -13
- package/es/Subject/SubjectHeader.js +14 -21
- package/es/Table/Table.js +37 -53
- package/es/TagSelector/Control.js +11 -15
- package/es/TagSelector/DropdownIndicator.js +24 -30
- package/es/TagSelector/Input.js +6 -11
- package/es/TagSelector/Menu.js +10 -17
- package/es/TagSelector/MenuList.js +11 -15
- package/es/TagSelector/Option.js +26 -24
- package/es/TagSelector/SelectContainer.js +10 -13
- package/es/TagSelector/TagSelector.js +65 -102
- package/es/TagSelector/ValueButton.js +21 -20
- package/es/TagSelector/ariaMessages.js +83 -81
- package/es/ToolboxPage/ToolboxInfo.js +11 -8
- package/es/Topic/Loader.js +96 -98
- package/es/Topic/Topic.js +50 -52
- package/es/TreeStructure/AddFolderButton.js +22 -21
- package/es/TreeStructure/ComboboxButton.js +27 -28
- package/es/TreeStructure/FolderItem.js +64 -70
- package/es/TreeStructure/FolderItems.js +33 -37
- package/es/TreeStructure/TreeStructure.js +52 -89
- package/es/TreeStructure/arrowNavigation.js +5 -7
- package/es/TreeStructure/helperFunctions.js +19 -24
- package/es/i18n/formatNestedMessages.js +8 -9
- package/es/i18n/i18n.js +3 -3
- package/es/locale/LocaleProvider.js +13 -8
- package/es/locale/messages-en.js +98 -33
- package/es/locale/messages-nb.js +98 -33
- package/es/locale/messages-nn.js +105 -40
- package/es/locale/messages-se.js +97 -32
- package/es/locale/messages-sma.js +102 -37
- package/es/model/ContentType.js +36 -33
- package/es/model/SubjectCategories.js +4 -4
- package/es/model/SubjectTypes.js +3 -3
- package/es/model/WordClass.js +1 -1
- package/es/model/index.js +8 -8
- package/es/types.js +1 -1
- package/es/utils/relativeUrl.js +11 -11
- package/es/utils/resourceTypeColor.js +4 -2
- package/lib/Article/Article.js +80 -85
- package/lib/Article/ArticleAccessMessage.js +15 -15
- package/lib/Article/ArticleByline.js +51 -66
- package/lib/Article/ArticleFootNotes.js +18 -19
- package/lib/Article/ArticleHeaderWrapper.js +20 -22
- package/lib/Article/ArticleNotions.js +20 -18
- package/lib/Article/index.js +9 -11
- package/lib/Aside/Aside.js +28 -32
- package/lib/Aside/index.js +1 -2
- package/lib/AudioPlayer/AudioPlayer.js +47 -61
- package/lib/AudioPlayer/Controls.js +81 -105
- package/lib/AudioPlayer/SpeechControl.js +12 -10
- package/lib/AudioPlayer/index.js +1 -2
- package/lib/BannerCard/BannerCard.js +22 -28
- package/lib/BannerCard/index.js +1 -1
- package/lib/BlogPost/BlogPost.js +19 -19
- package/lib/BlogPost/index.js +1 -1
- package/lib/Breadcrumb/Breadcrumb.js +49 -63
- package/lib/Breadcrumb/BreadcrumbItem.js +39 -34
- package/lib/Breadcrumb/HeaderBreadcrumb.js +16 -14
- package/lib/Breadcrumb/HomeBreadcrumb.js +40 -29
- package/lib/Breadcrumb/index.js +3 -4
- package/lib/CampaignBlock/CampaignBlock.js +25 -26
- package/lib/CampaignBlock/index.js +1 -1
- package/lib/CompetenceGoalTab/CompetenceGoalItem.js +23 -23
- package/lib/CompetenceGoalTab/CompetenceGoalTab.js +30 -35
- package/lib/CompetenceGoalTab/CompetenceItem.js +56 -60
- package/lib/CompetenceGoalTab/CoreElementItem.js +12 -10
- package/lib/CompetenceGoalTab/SearchButton.js +9 -8
- package/lib/CompetenceGoalTab/index.js +1 -2
- package/lib/CompetenceGoalTab/styles.js +12 -17
- package/lib/ContactBlock/ContactBlock.js +55 -56
- package/lib/ContactBlock/index.js +1 -2
- package/lib/ContentLoader/index.js +28 -42
- package/lib/ContentPlaceholder/ContentPlaceholder.js +11 -12
- package/lib/ContentPlaceholder/index.js +1 -2
- package/lib/ContentTypeBadge/ContentTypeBadge.js +50 -63
- package/lib/ContentTypeBadge/index.js +8 -9
- package/lib/CopyParagraphButton/CopyParagraphButton.js +31 -41
- package/lib/CopyParagraphButton/index.js +2 -3
- package/lib/CreatedBy/CreatedBy.js +21 -21
- package/lib/CreatedBy/index.js +1 -2
- package/lib/DefinitionList/DefinitionDescription.js +13 -20
- package/lib/DefinitionList/DefinitionTerm.js +13 -20
- package/lib/DefinitionList/index.js +2 -2
- package/lib/Embed/AudioEmbed.js +28 -34
- package/lib/Embed/BrightcoveEmbed.js +70 -93
- package/lib/Embed/ConceptEmbed.js +91 -93
- package/lib/Embed/ConceptListEmbed.js +26 -20
- package/lib/Embed/ContentLinkEmbed.js +15 -11
- package/lib/Embed/EmbedErrorPlaceholder.js +10 -9
- package/lib/Embed/ExternalEmbed.js +33 -34
- package/lib/Embed/FootnoteEmbed.js +11 -9
- package/lib/Embed/H5pEmbed.js +16 -16
- package/lib/Embed/IframeEmbed.js +38 -35
- package/lib/Embed/ImageEmbed.js +91 -109
- package/lib/Embed/RelatedContentEmbed.js +24 -26
- package/lib/Embed/UnknownEmbed.js +9 -7
- package/lib/Embed/conceptComponents.js +56 -67
- package/lib/Embed/index.js +17 -18
- package/lib/ErrorMessage/ErrorMessage.js +15 -16
- package/lib/ErrorMessage/ErrorResourceAccessDenied.js +9 -7
- package/lib/ErrorMessage/index.js +2 -3
- package/lib/ExpandableBox/ExpandableBox.js +16 -20
- package/lib/ExpandableBox/index.js +2 -2
- package/lib/FactBox/FactBox.js +28 -43
- package/lib/FactBox/index.js +1 -2
- package/lib/Figure/Figure.js +25 -31
- package/lib/Figure/FigureOpenDialogButton.js +5 -3
- package/lib/Figure/index.js +2 -2
- package/lib/FileList/File.js +34 -30
- package/lib/FileList/FileList.js +17 -15
- package/lib/FileList/PdfFile.js +6 -5
- package/lib/FileList/index.js +3 -4
- package/lib/Filter/FilterButtons.js +72 -91
- package/lib/Filter/FilterCarousel.js +49 -72
- package/lib/Filter/FilterList.js +56 -77
- package/lib/Filter/FilterListPhone.js +143 -184
- package/lib/Filter/ToggleItem.js +34 -34
- package/lib/Filter/filterClasses.js +2 -3
- package/lib/Filter/index.js +5 -5
- package/lib/Footer/EditorName.js +6 -4
- package/lib/Footer/Footer.js +30 -30
- package/lib/Footer/FooterLinks.js +32 -34
- package/lib/Footer/FooterPrivacy.js +24 -25
- package/lib/Footer/FooterText.js +5 -3
- package/lib/Footer/index.js +3 -3
- package/lib/FramedContent/FramedContent.js +14 -21
- package/lib/FramedContent/index.js +1 -2
- package/lib/Frontpage/FrontpageAllSubjects.js +66 -78
- package/lib/FrontpageArticle/FrontpageArticle.js +23 -24
- package/lib/FrontpageArticle/index.js +5 -7
- package/lib/Gloss/Gloss.js +41 -44
- package/lib/Gloss/index.js +1 -1
- package/lib/Grid/Grid.js +31 -37
- package/lib/Grid/index.js +4 -5
- package/lib/Hero/Hero.js +46 -54
- package/lib/Hero/HeroContent.js +2 -3
- package/lib/Hero/index.js +9 -9
- package/lib/Image/Image.js +44 -59
- package/lib/Image/ImageLink.js +18 -25
- package/lib/Image/index.js +5 -7
- package/lib/KeyFigure/KeyFigure.js +20 -19
- package/lib/KeyFigure/index.js +1 -1
- package/lib/LanguageSelector/LanguageSelector.js +39 -41
- package/lib/LanguageSelector/index.js +1 -1
- package/lib/Layout/Content.js +5 -4
- package/lib/Layout/LayoutItem.js +11 -19
- package/lib/Layout/OneColumn.js +19 -26
- package/lib/Layout/PageContainer.js +22 -31
- package/lib/Layout/index.js +4 -5
- package/lib/LearningPaths/LearningPathContent.js +5 -3
- package/lib/LearningPaths/LearningPathInformation.js +17 -14
- package/lib/LearningPaths/LearningPathLastStepNavigation.js +16 -14
- package/lib/LearningPaths/LearningPathMenu.js +70 -77
- package/lib/LearningPaths/LearningPathMenuAside.js +19 -19
- package/lib/LearningPaths/LearningPathMenuAsideCopyright.js +13 -13
- package/lib/LearningPaths/LearningPathMenuContent.js +87 -52
- package/lib/LearningPaths/LearningPathMenuIntro.js +24 -28
- package/lib/LearningPaths/LearningPathMenuModalWrapper.js +22 -27
- package/lib/LearningPaths/LearningPathMobileHeader.js +7 -7
- package/lib/LearningPaths/LearningPathMobileStepInfo.js +10 -8
- package/lib/LearningPaths/LearningPathSticky.js +24 -21
- package/lib/LearningPaths/LearningPathWrapper.js +6 -4
- package/lib/LearningPaths/index.js +10 -10
- package/lib/LetterFilter/LetterFilter.js +18 -22
- package/lib/LetterFilter/alphabet.js +1 -2
- package/lib/LetterFilter/index.js +1 -2
- package/lib/LicenseByline/EmbedByline.js +38 -44
- package/lib/LicenseByline/LicenseDescription.js +7 -6
- package/lib/LicenseByline/LicenseLink.js +8 -8
- package/lib/LicenseByline/index.js +1 -1
- package/lib/LinkBlock/LinkBlock.js +18 -17
- package/lib/LinkBlock/LinkBlockSection.js +15 -23
- package/lib/LinkBlock/index.js +2 -2
- package/lib/List/OrderedList.js +20 -25
- package/lib/List/UnOrderedList.js +13 -20
- package/lib/List/index.js +2 -2
- package/lib/Logo/Logo.js +27 -31
- package/lib/Logo/SvgLogo.js +20 -23
- package/lib/Logo/index.js +1 -2
- package/lib/Masthead/Masthead.js +24 -31
- package/lib/Masthead/SkipToMainContent.js +10 -8
- package/lib/Masthead/index.js +4 -5
- package/lib/Masthead/utils.js +20 -30
- package/lib/MediaList/MediaList.js +91 -78
- package/lib/MediaList/index.js +6 -6
- package/lib/Messages/MessageBanner.js +21 -18
- package/lib/Messages/MessageBox.js +27 -28
- package/lib/Messages/index.js +2 -2
- package/lib/MyNdla/Resource/Folder.js +42 -38
- package/lib/MyNdla/Resource/FolderInput.js +26 -34
- package/lib/MyNdla/Resource/index.js +2 -2
- package/lib/MyNdla/index.js +2 -2
- package/lib/NDLAFilm/AboutNdlaFilm.js +11 -9
- package/lib/NDLAFilm/AllMoviesAlphabetically.js +58 -68
- package/lib/NDLAFilm/FilmContentCard.js +35 -48
- package/lib/NDLAFilm/FilmContentCardTags.js +15 -18
- package/lib/NDLAFilm/FilmMovieList.js +16 -19
- package/lib/NDLAFilm/FilmMovieSearch.js +35 -38
- package/lib/NDLAFilm/FilmSlideshow.js +39 -59
- package/lib/NDLAFilm/MovieGrid.js +24 -28
- package/lib/NDLAFilm/VisualElement.js +18 -15
- package/lib/NDLAFilm/filmStyles.js +14 -14
- package/lib/NDLAFilm/index.js +6 -6
- package/lib/NDLAFilm/isLetter.js +3 -3
- package/lib/Navigation/NavigationBox.js +81 -96
- package/lib/Navigation/index.js +1 -1
- package/lib/NoContentBox/NoContentBox.js +7 -6
- package/lib/NoContentBox/index.js +1 -2
- package/lib/Notion/Notion.js +31 -34
- package/lib/Notion/NotionImage.js +13 -10
- package/lib/Notion/index.js +1 -1
- package/lib/Programme/Programme.js +42 -26
- package/lib/Programme/ProgrammeSubjects.js +20 -27
- package/lib/Programme/index.js +2 -3
- package/lib/ProgrammeCard/ProgrammeCard.js +11 -10
- package/lib/ProgrammeCard/index.js +1 -1
- package/lib/RelatedArticleList/RelatedArticleList.js +57 -75
- package/lib/RelatedArticleList/index.js +2 -3
- package/lib/Resource/BlockResource.js +41 -38
- package/lib/Resource/ListResource.js +50 -45
- package/lib/Resource/index.js +2 -2
- package/lib/Resource/resourceComponents.js +77 -88
- package/lib/Resource/storyComponents.js +28 -31
- package/lib/ResourceBox/ResourceBox.js +15 -14
- package/lib/ResourceBox/index.js +1 -1
- package/lib/ResourceGroup/ResourceGroup.js +15 -15
- package/lib/ResourceGroup/ResourceItem.js +65 -47
- package/lib/ResourceGroup/ResourceList.js +26 -34
- package/lib/ResourceGroup/index.js +1 -2
- package/lib/ResourcesWrapper/ResourcesTopicTitle.js +30 -27
- package/lib/ResourcesWrapper/ResourcesWrapper.js +13 -19
- package/lib/ResourcesWrapper/index.js +2 -3
- package/lib/Search/ActiveFilterContent.js +10 -12
- package/lib/Search/ActiveFilters.js +34 -29
- package/lib/Search/ContentTypeResult.js +50 -68
- package/lib/Search/ContentTypeResultStyles.js +20 -38
- package/lib/Search/IsPathToHighlight.js +2 -2
- package/lib/Search/LoadingWrapper.js +6 -5
- package/lib/Search/SearchField.js +51 -56
- package/lib/Search/SearchFieldForm.js +9 -9
- package/lib/Search/SearchResult.js +53 -59
- package/lib/Search/SearchResultSleeve.js +76 -97
- package/lib/Search/index.js +4 -4
- package/lib/SearchTypeResult/ActiveFilterContent.js +18 -19
- package/lib/SearchTypeResult/ActiveFilters.js +47 -44
- package/lib/SearchTypeResult/PopupFilter.js +40 -55
- package/lib/SearchTypeResult/ResultNavigation.js +23 -24
- package/lib/SearchTypeResult/SearchFieldHeader.js +35 -49
- package/lib/SearchTypeResult/SearchFilterContent.js +20 -18
- package/lib/SearchTypeResult/SearchHeader.js +54 -65
- package/lib/SearchTypeResult/SearchItem.js +37 -37
- package/lib/SearchTypeResult/SearchItemList.js +46 -48
- package/lib/SearchTypeResult/SearchItems.js +25 -27
- package/lib/SearchTypeResult/SearchNotionsResult.js +17 -15
- package/lib/SearchTypeResult/SearchSubjectItem.js +30 -22
- package/lib/SearchTypeResult/SearchSubjectResult.js +18 -19
- package/lib/SearchTypeResult/SearchTypeHeader.js +47 -48
- package/lib/SearchTypeResult/SearchTypeResult.js +26 -29
- package/lib/SearchTypeResult/SearchViewType.js +23 -27
- package/lib/SearchTypeResult/components/ItemContexts.js +46 -46
- package/lib/SearchTypeResult/components/ItemResourceHeader.js +31 -38
- package/lib/SearchTypeResult/components/ItemTopicHeader.js +21 -19
- package/lib/SearchTypeResult/components/SubjectFilters.js +56 -80
- package/lib/SearchTypeResult/index.js +6 -6
- package/lib/SectionHeading/SectionHeading.js +12 -13
- package/lib/SectionHeading/index.js +1 -2
- package/lib/SnackBar/DefaultSnackbar.js +15 -15
- package/lib/SnackBar/SnackbarProvider.js +67 -99
- package/lib/SnackBar/index.js +4 -4
- package/lib/Subject/SubjectBanner.js +10 -15
- package/lib/Subject/SubjectHeader.js +15 -23
- package/lib/Subject/index.js +2 -2
- package/lib/Table/Table.js +44 -62
- package/lib/Table/index.js +4 -6
- package/lib/TagSelector/Control.js +20 -23
- package/lib/TagSelector/DropdownIndicator.js +31 -38
- package/lib/TagSelector/Input.js +15 -19
- package/lib/TagSelector/Menu.js +12 -19
- package/lib/TagSelector/MenuList.js +20 -24
- package/lib/TagSelector/Option.js +35 -32
- package/lib/TagSelector/SelectContainer.js +19 -21
- package/lib/TagSelector/TagSelector.js +65 -103
- package/lib/TagSelector/ValueButton.js +30 -29
- package/lib/TagSelector/ariaMessages.js +83 -81
- package/lib/TagSelector/index.js +1 -1
- package/lib/ToolboxPage/ToolboxInfo.js +12 -10
- package/lib/ToolboxPage/index.js +1 -1
- package/lib/Topic/Loader.js +97 -100
- package/lib/Topic/Topic.js +57 -60
- package/lib/Topic/index.js +1 -2
- package/lib/TreeStructure/AddFolderButton.js +29 -29
- package/lib/TreeStructure/ComboboxButton.js +28 -30
- package/lib/TreeStructure/FolderItem.js +71 -78
- package/lib/TreeStructure/FolderItems.js +40 -45
- package/lib/TreeStructure/TreeStructure.js +59 -98
- package/lib/TreeStructure/arrowNavigation.js +5 -7
- package/lib/TreeStructure/helperFunctions.js +19 -24
- package/lib/TreeStructure/index.js +1 -1
- package/lib/i18n/formatNestedMessages.js +8 -9
- package/lib/i18n/i18n.js +3 -5
- package/lib/i18n/index.js +2 -2
- package/lib/index.js +175 -176
- package/lib/locale/LocaleProvider.js +14 -10
- package/lib/locale/messages-en.d.ts +1 -0
- package/lib/locale/messages-en.js +107 -40
- package/lib/locale/messages-nb.d.ts +1 -0
- package/lib/locale/messages-nb.js +107 -40
- package/lib/locale/messages-nn.d.ts +1 -0
- package/lib/locale/messages-nn.js +114 -47
- package/lib/locale/messages-se.d.ts +1 -0
- package/lib/locale/messages-se.js +106 -39
- package/lib/locale/messages-sma.d.ts +1 -0
- package/lib/locale/messages-sma.js +111 -44
- package/lib/model/ContentType.js +37 -53
- package/lib/model/SubjectCategories.js +4 -8
- package/lib/model/SubjectTypes.js +3 -6
- package/lib/model/WordClass.js +2 -3
- package/lib/model/index.js +8 -10
- package/lib/types.js +1 -1
- package/lib/utils/relativeUrl.js +11 -11
- package/lib/utils/resourceTypeColor.js +5 -4
- package/package.json +3 -3
- package/src/NDLAFilm/filmStyles.ts +9 -2
- package/src/locale/messages-en.ts +1 -0
- package/src/locale/messages-nb.ts +2 -1
- package/src/locale/messages-nn.ts +9 -8
- package/src/locale/messages-se.ts +1 -0
- package/src/locale/messages-sma.ts +6 -5
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
@@ -11,47 +10,49 @@ var _core = require("@ndla/core");
|
|
|
11
10
|
var _action = require("@ndla/icons/action");
|
|
12
11
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
13
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
var StyledValueButton = /*#__PURE__*/(0, _base.default)("div", {
|
|
13
|
+
/**
|
|
14
|
+
* Copyright (c) 2022-present, NDLA.
|
|
15
|
+
*
|
|
16
|
+
* This source code is licensed under the GPLv3 license found in the
|
|
17
|
+
* LICENSE file in the root directory of this source tree.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
const StyledValueButton = exports.StyledValueButton = /*#__PURE__*/(0, _base.default)("div", {
|
|
26
22
|
target: "e1m4p4cx0",
|
|
27
23
|
label: "StyledValueButton"
|
|
28
|
-
})("&&{background:",
|
|
29
|
-
|
|
24
|
+
})("&&{background:", _ref => {
|
|
25
|
+
let {
|
|
26
|
+
selected
|
|
27
|
+
} = _ref;
|
|
30
28
|
return selected && _core.colors.brand.primary;
|
|
31
|
-
}, ";color:",
|
|
32
|
-
|
|
29
|
+
}, ";color:", _ref2 => {
|
|
30
|
+
let {
|
|
31
|
+
selected
|
|
32
|
+
} = _ref2;
|
|
33
33
|
return selected && _core.colors.white;
|
|
34
34
|
}, ";padding:", _core.spacing.xxsmall, " ", _core.spacing.small, ";margin:", _core.spacing.xxsmall, ";border:none;}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlZhbHVlQnV0dG9uLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFtQndEIiwiZmlsZSI6IlZhbHVlQnV0dG9uLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQ29weXJpZ2h0IChjKSAyMDIyLXByZXNlbnQsIE5ETEEuXG4gKlxuICogVGhpcyBzb3VyY2UgY29kZSBpcyBsaWNlbnNlZCB1bmRlciB0aGUgR1BMdjMgbGljZW5zZSBmb3VuZCBpbiB0aGVcbiAqIExJQ0VOU0UgZmlsZSBpbiB0aGUgcm9vdCBkaXJlY3Rvcnkgb2YgdGhpcyBzb3VyY2UgdHJlZS5cbiAqXG4gKi9cblxuaW1wb3J0IHsgTXVsdGlWYWx1ZVByb3BzIH0gZnJvbSAncmVhY3Qtc2VsZWN0JztcbmltcG9ydCB7IGJ1dHRvblN0eWxlVjIgYXMgYnV0dG9uU3R5bGUgfSBmcm9tICdAbmRsYS9idXR0b24nO1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IHsgY29sb3JzLCBzcGFjaW5nIH0gZnJvbSAnQG5kbGEvY29yZSc7XG5pbXBvcnQgeyBDcm9zcyB9IGZyb20gJ0BuZGxhL2ljb25zL2FjdGlvbic7XG5pbXBvcnQgeyBUYWdUeXBlIH0gZnJvbSAnLi90eXBlcyc7XG5cbmludGVyZmFjZSBTdHlsZWRQcm9wcyB7XG4gIHNlbGVjdGVkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgU3R5bGVkVmFsdWVCdXR0b24gPSBzdHlsZWQuZGl2PFN0eWxlZFByb3BzPmBcbiAgJiYge1xuICAgIGJhY2tncm91bmQ6ICR7KHsgc2VsZWN0ZWQgfSkgPT4gc2VsZWN0ZWQgJiYgY29sb3JzLmJyYW5kLnByaW1hcnl9O1xuICAgIGNvbG9yOiAkeyh7IHNlbGVjdGVkIH0pID0+IHNlbGVjdGVkICYmIGNvbG9ycy53aGl0ZX07XG4gICAgcGFkZGluZzogJHtzcGFjaW5nLnh4c21hbGx9ICR7c3BhY2luZy5zbWFsbH07XG4gICAgbWFyZ2luOiAke3NwYWNpbmcueHhzbWFsbH07XG4gICAgYm9yZGVyOiBub25lO1xuICB9XG5gO1xuXG5jb25zdCBWYWx1ZUJ1dHRvbiA9ICh7IGlubmVyUHJvcHMsIGNoaWxkcmVuLCByZW1vdmVQcm9wcywgaXNGb2N1c2VkIH06IE11bHRpVmFsdWVQcm9wczxUYWdUeXBlLCB0cnVlPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxTdHlsZWRWYWx1ZUJ1dHRvblxuICAgICAgc2VsZWN0ZWQ9e2lzRm9jdXNlZH1cbiAgICAgIHJvbGU9XCJidXR0b25cIlxuICAgICAgY3NzPXtidXR0b25TdHlsZSh7IGNvbG9yVGhlbWU6ICdsaWdodGVyJywgc2hhcGU6ICdwaWxsJywgc2l6ZTogJ3NtYWxsJyB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLnJlbW92ZVByb3BzfVxuICAgID5cbiAgICAgIDxzcGFuIGFyaWEtaGlkZGVuPiM8L3NwYW4+XG4gICAgICB7Y2hpbGRyZW59XG4gICAgICA8Q3Jvc3MgLz5cbiAgICA8L1N0eWxlZFZhbHVlQnV0dG9uPlxuICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgVmFsdWVCdXR0b247XG4iXX0= */"));
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
children
|
|
39
|
-
removeProps
|
|
40
|
-
isFocused
|
|
41
|
-
|
|
35
|
+
const ValueButton = _ref3 => {
|
|
36
|
+
let {
|
|
37
|
+
innerProps,
|
|
38
|
+
children,
|
|
39
|
+
removeProps,
|
|
40
|
+
isFocused
|
|
41
|
+
} = _ref3;
|
|
42
|
+
return (0, _jsxRuntime.jsxs)(StyledValueButton, {
|
|
42
43
|
selected: isFocused,
|
|
43
44
|
role: "button",
|
|
44
45
|
css: (0, _button.buttonStyleV2)({
|
|
45
46
|
colorTheme: 'lighter',
|
|
46
47
|
shape: 'pill',
|
|
47
48
|
size: 'small'
|
|
48
|
-
})
|
|
49
|
-
|
|
49
|
+
}),
|
|
50
|
+
...innerProps,
|
|
51
|
+
...removeProps,
|
|
50
52
|
children: [(0, _jsxRuntime.jsx)("span", {
|
|
51
53
|
"aria-hidden": true,
|
|
52
54
|
children: "#"
|
|
53
55
|
}), children, (0, _jsxRuntime.jsx)(_action.Cross, {})]
|
|
54
|
-
})
|
|
56
|
+
});
|
|
55
57
|
};
|
|
56
|
-
var _default = ValueButton;
|
|
57
|
-
exports.default = _default;
|
|
58
|
+
var _default = exports.default = ValueButton;
|
|
@@ -12,88 +12,90 @@ exports.createAriaMessages = void 0;
|
|
|
12
12
|
*
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
return isDisabled ? t('tagSelector.aria.onChange.selectedDisabled', {
|
|
55
|
-
label: label
|
|
56
|
-
}) : t('tagSelector.aria.onChange.selected', {
|
|
57
|
-
label: label
|
|
58
|
-
});
|
|
59
|
-
default:
|
|
60
|
-
return '';
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
onFocus: function onFocus(props) {
|
|
64
|
-
var context = props.context,
|
|
65
|
-
focused = props.focused,
|
|
66
|
-
options = props.options,
|
|
67
|
-
_props$label2 = props.label,
|
|
68
|
-
label = _props$label2 === void 0 ? '' : _props$label2,
|
|
69
|
-
selectValue = props.selectValue,
|
|
70
|
-
isDisabled = props.isDisabled,
|
|
71
|
-
isSelected = props.isSelected;
|
|
72
|
-
var getArrayIndex = function getArrayIndex(arr, item) {
|
|
73
|
-
return arr && arr.length ? "".concat(arr.indexOf(item) + 1, " ").concat(t('tagSelector.aria.onFocus.of'), " ").concat(arr.length) : '';
|
|
74
|
-
};
|
|
75
|
-
if (context === 'value' && selectValue) {
|
|
76
|
-
return t('tagSelector.aria.onFocus.value', {
|
|
77
|
-
label: label,
|
|
78
|
-
position: getArrayIndex(selectValue, focused)
|
|
15
|
+
const createAriaMessages = t => ({
|
|
16
|
+
guidance: props => {
|
|
17
|
+
const {
|
|
18
|
+
isSearchable,
|
|
19
|
+
isMulti,
|
|
20
|
+
isDisabled,
|
|
21
|
+
tabSelectsValue,
|
|
22
|
+
context
|
|
23
|
+
} = props;
|
|
24
|
+
switch (context) {
|
|
25
|
+
case 'menu':
|
|
26
|
+
return `${t('tagSelector.aria.guidance.menu.updown')}${isDisabled ? '' : `, ${t('tagSelector.aria.guidance.menu.enter')}`}, ${t('tagSelector.aria.guidance.menu.escape')}${tabSelectsValue ? `, ${t('tagSelector.aria.guidance.menu.tab')}` : ''}.`;
|
|
27
|
+
case 'input':
|
|
28
|
+
return `${props['aria-label'] || t('tagSelector.aria.guidance.input.select')} ${t('tagSelector.aria.guidance.input.focused')} ${isSearchable ? `, ${t('tagSelector.aria.guidance.input.refine')}` : ''}, ${t('tagSelector.aria.guidance.input.down')}, ${isMulti ? ` ${t('tagSelector.aria.guidance.input.left')}` : ''}, ${t('tagSelector.aria.guidance.input.space')}`;
|
|
29
|
+
case 'value':
|
|
30
|
+
return t('tagSelector.aria.guidance.value');
|
|
31
|
+
default:
|
|
32
|
+
return '';
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
onChange: props => {
|
|
36
|
+
const {
|
|
37
|
+
action,
|
|
38
|
+
label = '',
|
|
39
|
+
labels,
|
|
40
|
+
isDisabled
|
|
41
|
+
} = props;
|
|
42
|
+
switch (action) {
|
|
43
|
+
case 'deselect-option':
|
|
44
|
+
case 'pop-value':
|
|
45
|
+
case 'remove-value':
|
|
46
|
+
return t('tagSelector.aria.onChange.deselect', {
|
|
47
|
+
label
|
|
48
|
+
});
|
|
49
|
+
case 'clear':
|
|
50
|
+
return t('tagSelector.aria.onChange.clear');
|
|
51
|
+
case 'initial-input-focus':
|
|
52
|
+
return t('tagSelector.aria.onChange.initialFocus', {
|
|
53
|
+
labels: labels.join(',')
|
|
79
54
|
});
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
label: label,
|
|
86
|
-
status: status,
|
|
87
|
-
position: getArrayIndex(options, focused)
|
|
55
|
+
case 'select-option':
|
|
56
|
+
return isDisabled ? t('tagSelector.aria.onChange.selectedDisabled', {
|
|
57
|
+
label
|
|
58
|
+
}) : t('tagSelector.aria.onChange.selected', {
|
|
59
|
+
label
|
|
88
60
|
});
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
61
|
+
default:
|
|
62
|
+
return '';
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
onFocus: props => {
|
|
66
|
+
const {
|
|
67
|
+
context,
|
|
68
|
+
focused,
|
|
69
|
+
options,
|
|
70
|
+
label = '',
|
|
71
|
+
selectValue,
|
|
72
|
+
isDisabled,
|
|
73
|
+
isSelected
|
|
74
|
+
} = props;
|
|
75
|
+
const getArrayIndex = (arr, item) => arr && arr.length ? `${arr.indexOf(item) + 1} ${t('tagSelector.aria.onFocus.of')} ${arr.length}` : '';
|
|
76
|
+
if (context === 'value' && selectValue) {
|
|
77
|
+
return t('tagSelector.aria.onFocus.value', {
|
|
78
|
+
label,
|
|
79
|
+
position: getArrayIndex(selectValue, focused)
|
|
80
|
+
});
|
|
96
81
|
}
|
|
97
|
-
|
|
98
|
-
};
|
|
82
|
+
if (context === 'menu') {
|
|
83
|
+
const disabled = isDisabled ? ` ${t('tagSelector.aria.disabled')}` : '';
|
|
84
|
+
const status = `${isSelected ? t('tagSelector.aria.selected') : t('tagSelector.aria.focused')}${disabled}`;
|
|
85
|
+
return t('tagSelector.aria.onFocus.menu', {
|
|
86
|
+
label,
|
|
87
|
+
status,
|
|
88
|
+
position: getArrayIndex(options, focused)
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
return '';
|
|
92
|
+
},
|
|
93
|
+
onFilter: props => {
|
|
94
|
+
const {
|
|
95
|
+
inputValue,
|
|
96
|
+
resultsMessage
|
|
97
|
+
} = props;
|
|
98
|
+
return `${resultsMessage}${inputValue ? ` ${t('tagSelector.aria.onFilter')} ` + inputValue : ''}.`;
|
|
99
|
+
}
|
|
100
|
+
});
|
|
99
101
|
exports.createAriaMessages = createAriaMessages;
|
package/lib/TagSelector/index.js
CHANGED
|
@@ -16,14 +16,17 @@ var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
|
16
16
|
*
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
19
|
+
const ToolboxInfo = _ref => {
|
|
20
|
+
let {
|
|
21
|
+
title,
|
|
22
|
+
introduction,
|
|
23
|
+
topics,
|
|
24
|
+
onSelectTopic,
|
|
25
|
+
id
|
|
26
|
+
} = _ref;
|
|
27
|
+
const {
|
|
28
|
+
t
|
|
29
|
+
} = (0, _reactI18next.useTranslation)();
|
|
27
30
|
return (0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
28
31
|
children: [(0, _jsxRuntime.jsx)(_typography.Heading, {
|
|
29
32
|
element: "h1",
|
|
@@ -43,5 +46,4 @@ var ToolboxInfo = function ToolboxInfo(_ref) {
|
|
|
43
46
|
})]
|
|
44
47
|
});
|
|
45
48
|
};
|
|
46
|
-
var _default = ToolboxInfo;
|
|
47
|
-
exports.default = _default;
|
|
49
|
+
var _default = exports.default = ToolboxInfo;
|
package/lib/ToolboxPage/index.js
CHANGED
package/lib/Topic/Loader.js
CHANGED
|
@@ -7,103 +7,100 @@ exports.default = void 0;
|
|
|
7
7
|
var _ContentLoader = _interopRequireDefault(require("../ContentLoader"));
|
|
8
8
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
9
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
};
|
|
108
|
-
var _default = Loader;
|
|
109
|
-
exports.default = _default;
|
|
10
|
+
const Loader = () => (0, _jsxRuntime.jsxs)(_ContentLoader.default, {
|
|
11
|
+
width: 800,
|
|
12
|
+
height: 880,
|
|
13
|
+
children: [(0, _jsxRuntime.jsx)("rect", {
|
|
14
|
+
x: "0",
|
|
15
|
+
y: "0",
|
|
16
|
+
rx: "3",
|
|
17
|
+
ry: "3",
|
|
18
|
+
width: "500",
|
|
19
|
+
height: "60"
|
|
20
|
+
}), (0, _jsxRuntime.jsx)("rect", {
|
|
21
|
+
x: "0",
|
|
22
|
+
y: "100",
|
|
23
|
+
rx: "3",
|
|
24
|
+
ry: "3",
|
|
25
|
+
width: "500",
|
|
26
|
+
height: "25"
|
|
27
|
+
}), (0, _jsxRuntime.jsx)("rect", {
|
|
28
|
+
x: "0",
|
|
29
|
+
y: "140",
|
|
30
|
+
rx: "3",
|
|
31
|
+
ry: "3",
|
|
32
|
+
width: "500",
|
|
33
|
+
height: "25"
|
|
34
|
+
}), (0, _jsxRuntime.jsx)("rect", {
|
|
35
|
+
x: "0",
|
|
36
|
+
y: "180",
|
|
37
|
+
rx: "3",
|
|
38
|
+
ry: "3",
|
|
39
|
+
width: "400",
|
|
40
|
+
height: "25"
|
|
41
|
+
}), (0, _jsxRuntime.jsx)("rect", {
|
|
42
|
+
x: "600",
|
|
43
|
+
y: "0",
|
|
44
|
+
rx: "3",
|
|
45
|
+
ry: "3",
|
|
46
|
+
width: "200",
|
|
47
|
+
height: "205"
|
|
48
|
+
}), (0, _jsxRuntime.jsx)("rect", {
|
|
49
|
+
x: "0",
|
|
50
|
+
y: "280",
|
|
51
|
+
rx: "3",
|
|
52
|
+
ry: "3",
|
|
53
|
+
width: "800",
|
|
54
|
+
height: "60"
|
|
55
|
+
}), (0, _jsxRuntime.jsx)("rect", {
|
|
56
|
+
x: "0",
|
|
57
|
+
y: "350",
|
|
58
|
+
rx: "3",
|
|
59
|
+
ry: "3",
|
|
60
|
+
width: "800",
|
|
61
|
+
height: "60"
|
|
62
|
+
}), (0, _jsxRuntime.jsx)("rect", {
|
|
63
|
+
x: "0",
|
|
64
|
+
y: "420",
|
|
65
|
+
rx: "3",
|
|
66
|
+
ry: "3",
|
|
67
|
+
width: "800",
|
|
68
|
+
height: "60"
|
|
69
|
+
}), (0, _jsxRuntime.jsx)("rect", {
|
|
70
|
+
x: "0",
|
|
71
|
+
y: "490",
|
|
72
|
+
rx: "3",
|
|
73
|
+
ry: "3",
|
|
74
|
+
width: "800",
|
|
75
|
+
height: "60"
|
|
76
|
+
}), (0, _jsxRuntime.jsx)("rect", {
|
|
77
|
+
x: "0",
|
|
78
|
+
y: "560",
|
|
79
|
+
rx: "3",
|
|
80
|
+
ry: "3",
|
|
81
|
+
width: "800",
|
|
82
|
+
height: "60"
|
|
83
|
+
}), (0, _jsxRuntime.jsx)("rect", {
|
|
84
|
+
x: "0",
|
|
85
|
+
y: "680",
|
|
86
|
+
rx: "3",
|
|
87
|
+
ry: "3",
|
|
88
|
+
width: "800",
|
|
89
|
+
height: "60"
|
|
90
|
+
}), (0, _jsxRuntime.jsx)("rect", {
|
|
91
|
+
x: "0",
|
|
92
|
+
y: "750",
|
|
93
|
+
rx: "3",
|
|
94
|
+
ry: "3",
|
|
95
|
+
width: "800",
|
|
96
|
+
height: "60"
|
|
97
|
+
}), (0, _jsxRuntime.jsx)("rect", {
|
|
98
|
+
x: "0",
|
|
99
|
+
y: "820",
|
|
100
|
+
rx: "3",
|
|
101
|
+
ry: "3",
|
|
102
|
+
width: "800",
|
|
103
|
+
height: "60"
|
|
104
|
+
})]
|
|
105
|
+
});
|
|
106
|
+
var _default = exports.default = Loader;
|