@ndla/ui 55.0.15-alpha.0 → 55.0.17-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/panda.buildinfo.json +125 -29
- package/dist/styles.css +453 -103
- package/es/Article/Article.js +101 -162
- package/es/Article/ArticleByline.js +89 -56
- package/es/Article/ArticleFootNotes.js +35 -23
- package/es/Article/ArticleParagraph.js +2 -2
- package/es/Article/index.js +3 -5
- package/es/AudioPlayer/AudioPlayer.js +20 -20
- package/es/AudioPlayer/Controls.js +45 -45
- package/es/AudioPlayer/SpeechControl.js +8 -8
- package/es/BlogPost/BlogPost.js +6 -6
- package/es/Breadcrumb/Breadcrumb.js +19 -29
- package/es/Breadcrumb/BreadcrumbItem.js +20 -49
- package/es/Breadcrumb/HomeBreadcrumb.js +36 -82
- package/es/CampaignBlock/CampaignBlock.js +12 -12
- package/es/CodeBlock/CodeBlock.js +2 -2
- package/es/Concept/Concept.js +11 -11
- package/es/ContactBlock/ContactBlock.js +170 -185
- package/es/ContactBlock/index.js +3 -3
- package/es/ContentLoader/index.js +12 -12
- package/es/ContentPlaceholder/ContentPlaceholder.js +3 -3
- package/es/ContentTypeBadge/ContentTypeBadge.js +81 -80
- package/es/ContentTypeBadge/ContentTypeBadgeNew.js +3 -2
- package/es/ContentTypeHero/ContentTypeHero.js +50 -0
- package/es/{Logo → ContentTypeHero}/index.js +2 -3
- package/es/CopyParagraphButton/CopyParagraphButton.js +13 -12
- package/es/Embed/AudioEmbed.js +7 -7
- package/es/Embed/BrightcoveEmbed.js +8 -8
- package/es/Embed/CodeEmbed.js +6 -6
- package/es/Embed/ConceptEmbed.js +13 -13
- package/es/Embed/ConceptListEmbed.js +9 -9
- package/es/Embed/ContentLinkEmbed.js +6 -6
- package/es/Embed/CopyrightEmbed.js +3 -3
- package/es/Embed/EmbedErrorPlaceholder.js +5 -5
- package/es/Embed/ExternalEmbed.js +5 -5
- package/es/Embed/FootnoteEmbed.js +5 -5
- package/es/Embed/GlossEmbed.js +11 -11
- package/es/Embed/H5pEmbed.js +5 -5
- package/es/Embed/IframeEmbed.js +6 -6
- package/es/Embed/ImageEmbed.js +10 -10
- package/es/Embed/InlineTriggerButton.js +2 -2
- package/es/Embed/RelatedContentEmbed.js +5 -5
- package/es/Embed/UnknownEmbed.js +3 -3
- package/es/Embed/UuDisclaimerEmbed.js +6 -6
- package/es/ErrorMessage/ErrorMessage.js +14 -14
- package/es/ErrorMessage/ErrorResourceAccessDenied.js +6 -6
- package/es/FactBox/FactBox.js +5 -5
- package/es/FileList/File.js +3 -3
- package/es/FileList/FileList.js +6 -6
- package/es/FileList/Format.js +6 -6
- package/es/FileList/PdfFile.js +5 -5
- package/es/FrontpageArticle/FrontpageArticle.js +7 -8
- package/es/Gloss/Gloss.js +23 -23
- package/es/Gloss/GlossExample.js +9 -9
- package/es/Grid/Grid.js +4 -4
- package/es/KeyFigure/KeyFigure.js +5 -5
- package/es/Layout/LayoutItem.js +25 -37
- package/es/Layout/OneColumn.js +33 -31
- package/es/Layout/PageContainer.js +21 -30
- package/es/LicenseByline/EmbedByline.js +21 -21
- package/es/LicenseByline/LicenseLink.js +3 -3
- package/es/LinkBlock/LinkBlock.js +8 -8
- package/es/LinkBlock/LinkBlockSection.js +4 -4
- package/es/Messages/MessageBox.js +11 -11
- package/es/Messages/index.js +1 -2
- package/es/ProgrammeCard/ProgrammeCard.js +5 -5
- package/es/RelatedArticleList/RelatedArticleList.js +15 -15
- package/es/ResourceBox/ResourceBox.js +9 -9
- package/es/SnackBar/DefaultSnackbar.js +5 -5
- package/es/SnackBar/SnackbarProvider.js +7 -7
- package/es/TagSelector/TagSelector.js +17 -17
- package/es/TreeStructure/AddFolderButton.js +4 -4
- package/es/TreeStructure/ComboboxButton.js +7 -7
- package/es/TreeStructure/FolderItem.js +13 -13
- package/es/TreeStructure/FolderItems.js +6 -6
- package/es/TreeStructure/TreeStructure.js +9 -9
- package/es/ZendeskButton/ZendeskButton.js +2 -2
- package/es/i18n/index.js +1 -1
- package/es/index.js +5 -12
- package/es/locale/messages-en.js +1 -1
- package/es/locale/messages-nb.js +1 -1
- package/es/locale/messages-nn.js +1 -1
- package/es/locale/messages-se.js +1 -1
- package/es/locale/messages-sma.js +1 -1
- package/es/model/ContentType.js +3 -1
- package/es/styles.css +453 -103
- package/lib/Article/Article.d.ts +9 -30
- package/lib/Article/Article.js +104 -164
- package/lib/Article/ArticleByline.d.ts +1 -3
- package/lib/Article/ArticleByline.js +89 -56
- package/lib/Article/ArticleFootNotes.js +35 -24
- package/lib/Article/ArticleParagraph.js +2 -2
- package/lib/Article/index.d.ts +2 -5
- package/lib/Article/index.js +18 -24
- package/lib/AudioPlayer/AudioPlayer.js +20 -20
- package/lib/AudioPlayer/Controls.js +45 -45
- package/lib/AudioPlayer/SpeechControl.js +8 -8
- package/lib/BlogPost/BlogPost.js +6 -6
- package/lib/Breadcrumb/Breadcrumb.js +21 -29
- package/lib/Breadcrumb/BreadcrumbItem.js +22 -50
- package/lib/Breadcrumb/HomeBreadcrumb.d.ts +1 -2
- package/lib/Breadcrumb/HomeBreadcrumb.js +38 -82
- package/lib/CampaignBlock/CampaignBlock.js +12 -12
- package/lib/CodeBlock/CodeBlock.js +2 -2
- package/lib/Concept/Concept.js +11 -11
- package/lib/ContactBlock/ContactBlock.d.ts +6 -7
- package/lib/ContactBlock/ContactBlock.js +173 -184
- package/lib/ContactBlock/index.d.ts +3 -3
- package/lib/ContactBlock/index.js +13 -11
- package/lib/ContentLoader/index.js +12 -12
- package/lib/ContentPlaceholder/ContentPlaceholder.js +3 -3
- package/lib/ContentTypeBadge/ContentTypeBadge.d.ts +11 -12
- package/lib/ContentTypeBadge/ContentTypeBadge.js +83 -80
- package/lib/ContentTypeBadge/ContentTypeBadgeNew.d.ts +1 -2
- package/lib/ContentTypeBadge/ContentTypeBadgeNew.js +3 -2
- package/lib/ContentTypeHero/ContentTypeHero.d.ts +15 -0
- package/lib/ContentTypeHero/ContentTypeHero.js +57 -0
- package/lib/ContentTypeHero/index.d.ts +9 -0
- package/lib/ContentTypeHero/index.js +12 -0
- package/lib/CopyParagraphButton/CopyParagraphButton.js +13 -12
- package/lib/Embed/AudioEmbed.js +7 -7
- package/lib/Embed/BrightcoveEmbed.js +8 -8
- package/lib/Embed/CodeEmbed.js +6 -6
- package/lib/Embed/ConceptEmbed.js +13 -13
- package/lib/Embed/ConceptListEmbed.js +9 -9
- package/lib/Embed/ContentLinkEmbed.js +6 -6
- package/lib/Embed/CopyrightEmbed.js +3 -3
- package/lib/Embed/EmbedErrorPlaceholder.js +5 -5
- package/lib/Embed/ExternalEmbed.js +5 -5
- package/lib/Embed/FootnoteEmbed.js +5 -5
- package/lib/Embed/GlossEmbed.js +11 -11
- package/lib/Embed/H5pEmbed.js +5 -5
- package/lib/Embed/IframeEmbed.js +6 -6
- package/lib/Embed/ImageEmbed.js +10 -10
- package/lib/Embed/InlineTriggerButton.js +2 -2
- package/lib/Embed/RelatedContentEmbed.js +5 -5
- package/lib/Embed/UnknownEmbed.js +3 -3
- package/lib/Embed/UuDisclaimerEmbed.js +6 -6
- package/lib/ErrorMessage/ErrorMessage.js +14 -14
- package/lib/ErrorMessage/ErrorResourceAccessDenied.js +6 -6
- package/lib/FactBox/FactBox.js +5 -5
- package/lib/FileList/File.js +3 -3
- package/lib/FileList/FileList.js +6 -6
- package/lib/FileList/Format.js +6 -6
- package/lib/FileList/PdfFile.js +5 -5
- package/lib/FrontpageArticle/FrontpageArticle.js +7 -8
- package/lib/Gloss/Gloss.js +23 -23
- package/lib/Gloss/GlossExample.js +9 -9
- package/lib/Grid/Grid.js +4 -4
- package/lib/KeyFigure/KeyFigure.js +5 -5
- package/lib/Layout/LayoutItem.d.ts +3 -7
- package/lib/Layout/LayoutItem.js +27 -38
- package/lib/Layout/OneColumn.d.ts +3 -6
- package/lib/Layout/OneColumn.js +36 -33
- package/lib/Layout/PageContainer.d.ts +3 -6
- package/lib/Layout/PageContainer.js +24 -32
- package/lib/LicenseByline/EmbedByline.js +21 -21
- package/lib/LicenseByline/LicenseLink.js +3 -3
- package/lib/LinkBlock/LinkBlock.js +8 -8
- package/lib/LinkBlock/LinkBlockSection.js +4 -4
- package/lib/Messages/MessageBox.js +11 -11
- package/lib/Messages/index.d.ts +1 -2
- package/lib/Messages/index.js +0 -7
- package/lib/ProgrammeCard/ProgrammeCard.js +5 -5
- package/lib/RelatedArticleList/RelatedArticleList.js +15 -15
- package/lib/ResourceBox/ResourceBox.js +9 -9
- package/lib/SnackBar/DefaultSnackbar.js +5 -5
- package/lib/SnackBar/SnackbarProvider.js +7 -7
- package/lib/TagSelector/TagSelector.js +17 -17
- package/lib/TreeStructure/AddFolderButton.js +4 -4
- package/lib/TreeStructure/ComboboxButton.js +7 -7
- package/lib/TreeStructure/FolderItem.js +13 -13
- package/lib/TreeStructure/FolderItems.js +6 -6
- package/lib/TreeStructure/TreeStructure.js +9 -9
- package/lib/ZendeskButton/ZendeskButton.js +2 -2
- package/lib/i18n/index.d.ts +1 -1
- package/lib/i18n/index.js +6 -0
- package/lib/index.d.ts +8 -15
- package/lib/index.js +30 -139
- package/lib/locale/messages-en.js +1 -1
- package/lib/locale/messages-nb.js +1 -1
- package/lib/locale/messages-nn.js +1 -1
- package/lib/locale/messages-se.js +1 -1
- package/lib/locale/messages-sma.js +1 -1
- package/lib/model/ContentType.d.ts +1 -0
- package/lib/model/ContentType.js +4 -2
- package/lib/styles.css +453 -103
- package/package.json +10 -11
- package/src/Article/Article.tsx +101 -229
- package/src/Article/ArticleByline.tsx +82 -69
- package/src/Article/ArticleFootNotes.tsx +32 -36
- package/src/Article/index.ts +3 -7
- package/src/Breadcrumb/Breadcrumb.tsx +20 -18
- package/src/Breadcrumb/BreadcrumbItem.tsx +36 -59
- package/src/Breadcrumb/HomeBreadcrumb.stories.tsx +0 -12
- package/src/Breadcrumb/HomeBreadcrumb.tsx +33 -46
- package/src/ContactBlock/{Contactblock.stories.tsx → ContactBlock.stories.tsx} +3 -4
- package/src/ContactBlock/ContactBlock.tsx +165 -199
- package/src/ContactBlock/index.ts +3 -3
- package/src/ContentTypeBadge/ContentTypeBadge.tsx +77 -77
- package/src/ContentTypeBadge/ContentTypeBadgeNew.tsx +3 -1
- package/src/ContentTypeHero/ContentTypeHero.stories.tsx +76 -0
- package/src/ContentTypeHero/ContentTypeHero.tsx +55 -0
- package/src/ContentTypeHero/index.ts +10 -0
- package/src/CopyParagraphButton/CopyParagraphButton.tsx +10 -3
- package/src/Embed/AudioEmbed.stories.tsx +6 -8
- package/src/Embed/BrightcoveEmbed.stories.tsx +6 -8
- package/src/Embed/ConceptEmbed.stories.tsx +6 -8
- package/src/Embed/ExternalEmbed.stories.tsx +5 -5
- package/src/Embed/H5pEmbed.stories.tsx +6 -8
- package/src/Embed/IframeEmbed.stories.tsx +6 -8
- package/src/Embed/ImageEmbed.stories.tsx +6 -8
- package/src/Embed/RelatedContentEmbed.stories.tsx +6 -8
- package/src/Embed/UuDisclaimerEmbed.stories.tsx +6 -8
- package/src/FrontpageArticle/FrontpageArticle.tsx +1 -1
- package/src/Layout/LayoutItem.tsx +25 -41
- package/src/Layout/OneColumn.tsx +33 -33
- package/src/Layout/PageContainer.tsx +22 -24
- package/src/Messages/index.ts +1 -2
- package/src/i18n/index.ts +1 -0
- package/src/index.ts +11 -35
- package/src/locale/messages-en.ts +1 -1
- package/src/locale/messages-nb.ts +1 -1
- package/src/locale/messages-nn.ts +1 -1
- package/src/locale/messages-se.ts +1 -1
- package/src/locale/messages-sma.ts +1 -1
- package/src/model/ContentType.ts +2 -0
- package/es/Article/ArticleHeaderWrapper.js +0 -33
- package/es/CreatedBy/CreatedBy.js +0 -73
- package/es/CreatedBy/index.js +0 -10
- package/es/Hero/Hero.js +0 -68
- package/es/Hero/HeroContent.js +0 -16
- package/es/Hero/index.js +0 -10
- package/es/LanguageSelector/LanguageSelector.js +0 -87
- package/es/LanguageSelector/index.js +0 -10
- package/es/Logo/Logo.js +0 -52
- package/es/Logo/SvgLogo.js +0 -54
- package/es/Messages/MessageBanner.js +0 -72
- package/es/Search/ActiveFilterContent.js +0 -40
- package/es/Search/ActiveFilters.js +0 -112
- package/es/Search/ContentTypeResult.js +0 -151
- package/es/Search/ContentTypeResultStyles.js +0 -51
- package/es/Search/IsPathToHighlight.js +0 -12
- package/es/Search/LoadingWrapper.js +0 -31
- package/es/Search/SearchField.js +0 -110
- package/es/Search/SearchFieldForm.js +0 -33
- package/es/Search/SearchResult.js +0 -185
- package/es/Search/SearchResultSleeve.js +0 -229
- package/es/Search/index.js +0 -12
- package/lib/Article/ArticleHeaderWrapper.d.ts +0 -14
- package/lib/Article/ArticleHeaderWrapper.js +0 -40
- package/lib/CreatedBy/CreatedBy.d.ts +0 -15
- package/lib/CreatedBy/CreatedBy.js +0 -78
- package/lib/CreatedBy/index.d.ts +0 -9
- package/lib/CreatedBy/index.js +0 -16
- package/lib/Hero/Hero.d.ts +0 -25
- package/lib/Hero/Hero.js +0 -83
- package/lib/Hero/HeroContent.d.ts +0 -12
- package/lib/Hero/HeroContent.js +0 -23
- package/lib/Hero/index.d.ts +0 -10
- package/lib/Hero/index.js +0 -61
- package/lib/LanguageSelector/LanguageSelector.d.ts +0 -15
- package/lib/LanguageSelector/LanguageSelector.js +0 -92
- package/lib/LanguageSelector/index.d.ts +0 -9
- package/lib/LanguageSelector/index.js +0 -13
- package/lib/Logo/Logo.d.ts +0 -20
- package/lib/Logo/Logo.js +0 -58
- package/lib/Logo/SvgLogo.d.ts +0 -14
- package/lib/Logo/SvgLogo.js +0 -62
- package/lib/Logo/index.d.ts +0 -9
- package/lib/Logo/index.js +0 -16
- package/lib/Messages/MessageBanner.d.ts +0 -16
- package/lib/Messages/MessageBanner.js +0 -77
- package/lib/Search/ActiveFilterContent.d.ts +0 -23
- package/lib/Search/ActiveFilterContent.js +0 -47
- package/lib/Search/ActiveFilters.d.ts +0 -19
- package/lib/Search/ActiveFilters.js +0 -119
- package/lib/Search/ContentTypeResult.d.ts +0 -29
- package/lib/Search/ContentTypeResult.js +0 -159
- package/lib/Search/ContentTypeResultStyles.d.ts +0 -45
- package/lib/Search/ContentTypeResultStyles.js +0 -58
- package/lib/Search/IsPathToHighlight.d.ts +0 -8
- package/lib/Search/IsPathToHighlight.js +0 -19
- package/lib/Search/LoadingWrapper.d.ts +0 -12
- package/lib/Search/LoadingWrapper.js +0 -38
- package/lib/Search/SearchField.d.ts +0 -25
- package/lib/Search/SearchField.js +0 -117
- package/lib/Search/SearchFieldForm.d.ts +0 -15
- package/lib/Search/SearchFieldForm.js +0 -41
- package/lib/Search/SearchResult.d.ts +0 -43
- package/lib/Search/SearchResult.js +0 -194
- package/lib/Search/SearchResultSleeve.d.ts +0 -25
- package/lib/Search/SearchResultSleeve.js +0 -237
- package/lib/Search/index.d.ts +0 -11
- package/lib/Search/index.js +0 -33
- package/src/Article/ArticleHeaderWrapper.tsx +0 -38
- package/src/CreatedBy/CreatedBy.stories.tsx +0 -36
- package/src/CreatedBy/CreatedBy.tsx +0 -63
- package/src/CreatedBy/index.ts +0 -11
- package/src/Hero/Hero.stories.tsx +0 -35
- package/src/Hero/Hero.tsx +0 -129
- package/src/Hero/HeroContent.tsx +0 -43
- package/src/Hero/index.ts +0 -21
- package/src/LanguageSelector/LanguageSelector.stories.tsx +0 -44
- package/src/LanguageSelector/LanguageSelector.tsx +0 -101
- package/src/LanguageSelector/index.ts +0 -11
- package/src/Logo/Logo.stories.tsx +0 -47
- package/src/Logo/Logo.tsx +0 -47
- package/src/Logo/SvgLogo.tsx +0 -48
- package/src/Logo/index.ts +0 -11
- package/src/Messages/MessageBanner.stories.tsx +0 -31
- package/src/Messages/MessageBanner.tsx +0 -67
- package/src/Search/ActiveFilterContent.tsx +0 -64
- package/src/Search/ActiveFilters.tsx +0 -145
- package/src/Search/ContentTypeResult.tsx +0 -190
- package/src/Search/ContentTypeResultStyles.tsx +0 -172
- package/src/Search/IsPathToHighlight.ts +0 -12
- package/src/Search/LoadingWrapper.tsx +0 -44
- package/src/Search/SearchField.tsx +0 -175
- package/src/Search/SearchFieldForm.tsx +0 -64
- package/src/Search/SearchResult.tsx +0 -368
- package/src/Search/SearchResultSleeve.tsx +0 -367
- package/src/Search/__tests__/Highlight-test.ts +0 -66
- package/src/Search/index.ts +0 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ndla/ui",
|
|
3
|
-
"version": "55.0.
|
|
3
|
+
"version": "55.0.17-alpha.0",
|
|
4
4
|
"description": "UI component library for NDLA",
|
|
5
5
|
"license": "GPL-3.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -33,17 +33,16 @@
|
|
|
33
33
|
"types"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@ndla/
|
|
37
|
-
"@ndla/button": "^14.0.7-alpha.0",
|
|
36
|
+
"@ndla/button": "^14.0.8-alpha.0",
|
|
38
37
|
"@ndla/core": "^5.0.1",
|
|
39
38
|
"@ndla/dropdown-menu": "^1.0.38",
|
|
40
|
-
"@ndla/forms": "^9.0.
|
|
39
|
+
"@ndla/forms": "^9.0.9-alpha.0",
|
|
41
40
|
"@ndla/hooks": "^2.1.8",
|
|
42
|
-
"@ndla/icons": "^7.0.
|
|
41
|
+
"@ndla/icons": "^7.0.9-alpha.0",
|
|
43
42
|
"@ndla/licenses": "^8.0.0-alpha.0",
|
|
44
|
-
"@ndla/modal": "^7.0.
|
|
45
|
-
"@ndla/primitives": "^0.0.
|
|
46
|
-
"@ndla/safelink": "^6.0.
|
|
43
|
+
"@ndla/modal": "^7.0.8-alpha.0",
|
|
44
|
+
"@ndla/primitives": "^0.0.20",
|
|
45
|
+
"@ndla/safelink": "^6.0.3-alpha.0",
|
|
47
46
|
"@ndla/styled-system": "^0.0.8",
|
|
48
47
|
"@ndla/tooltip": "^8.0.1",
|
|
49
48
|
"@ndla/typography": "^0.4.23",
|
|
@@ -66,9 +65,9 @@
|
|
|
66
65
|
"react-router-dom": "> 6.0.0"
|
|
67
66
|
},
|
|
68
67
|
"devDependencies": {
|
|
69
|
-
"@ndla/preset-panda": "^0.0.
|
|
68
|
+
"@ndla/preset-panda": "^0.0.12",
|
|
70
69
|
"@ndla/types-backend": "^0.2.86",
|
|
71
|
-
"@ndla/types-embed": "^
|
|
70
|
+
"@ndla/types-embed": "^5.0.0-alpha.0",
|
|
72
71
|
"@pandacss/dev": "^0.42.0",
|
|
73
72
|
"css-loader": "^6.7.3",
|
|
74
73
|
"mini-css-extract-plugin": "^2.7.5",
|
|
@@ -79,5 +78,5 @@
|
|
|
79
78
|
"publishConfig": {
|
|
80
79
|
"access": "public"
|
|
81
80
|
},
|
|
82
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "557f718324916e39e3b04d6a7196679d31056e00"
|
|
83
82
|
}
|
package/src/Article/Article.tsx
CHANGED
|
@@ -6,226 +6,102 @@
|
|
|
6
6
|
*
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import styled from "@emotion/styled";
|
|
13
|
-
|
|
14
|
-
import { spacing, mq, breakpoints, fonts, colors, spacingUnit } from "@ndla/core";
|
|
15
|
-
import { Heading, Text } from "@ndla/typography";
|
|
9
|
+
import { ReactNode } from "react";
|
|
10
|
+
import { Heading, Text } from "@ndla/primitives";
|
|
11
|
+
import { styled } from "@ndla/styled-system/jsx";
|
|
16
12
|
import ArticleByline from "./ArticleByline";
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import MessageBox from "../Messages/MessageBox";
|
|
13
|
+
import { ContentTypeBadgeNew } from "..";
|
|
14
|
+
import { ContentType } from "../ContentTypeBadge/ContentTypeBadgeNew";
|
|
20
15
|
import { Article as ArticleType } from "../types";
|
|
21
16
|
|
|
22
|
-
export
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
| "assessment-resources"
|
|
27
|
-
| "tasks-and-activities"
|
|
28
|
-
| "concept"
|
|
29
|
-
| "source-material";
|
|
30
|
-
|
|
31
|
-
interface ArticleWrapperProps extends ComponentPropsWithRef<"article"> {
|
|
32
|
-
modifier?: ArticleModifier;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
const StyledArticle = styled.article`
|
|
36
|
-
font-family: ${fonts.serif};
|
|
37
|
-
background: ${colors.white};
|
|
38
|
-
margin-top: ${spacing.large};
|
|
39
|
-
margin-right: auto;
|
|
40
|
-
margin-bottom: ${spacing.normal};
|
|
41
|
-
margin-left: auto;
|
|
42
|
-
overflow-wrap: break-word;
|
|
43
|
-
${fonts.sizes("18px", "29px")};
|
|
44
|
-
position: relative;
|
|
45
|
-
|
|
46
|
-
mjx-stretchy-v > mjx-ext > mjx-c {
|
|
47
|
-
transform: scaleY(100) translateY(0.075em);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
> section > p {
|
|
51
|
-
&:not([class]) {
|
|
52
|
-
margin-bottom: 29px;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
${mq.range({ from: breakpoints.tablet })} {
|
|
57
|
-
${fonts.sizes("18px", "29px")}; //This is probably not needed, but it's here to be sure.
|
|
58
|
-
|
|
59
|
-
> section > p {
|
|
60
|
-
&:not([class]) {
|
|
61
|
-
margin-bottom: 35px;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
padding: 0 ${spacing.normal} ${spacing.normal};
|
|
65
|
-
margin-bottom: ${spacing.large};
|
|
66
|
-
margin-top: -${spacingUnit * 6}px;
|
|
67
|
-
padding-top: ${spacing.xlarge};
|
|
68
|
-
}
|
|
69
|
-
${mq.range({ from: breakpoints.desktop })} {
|
|
70
|
-
padding-bottom: ${spacing.large};
|
|
71
|
-
margin-bottom: ${spacing.large};
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
&::after {
|
|
75
|
-
content: "";
|
|
76
|
-
display: table;
|
|
77
|
-
clear: both;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
p {
|
|
81
|
-
margin-top: 0;
|
|
82
|
-
}
|
|
83
|
-
`;
|
|
84
|
-
|
|
85
|
-
// Make sure to wrap modifiers in & {} to avoid specificity issues
|
|
86
|
-
const articleModifiers: Partial<Record<ArticleModifier, SerializedStyles>> = {
|
|
87
|
-
clean: css`
|
|
88
|
-
& {
|
|
89
|
-
margin-top: ${spacing.normal} !important;
|
|
90
|
-
padding: ${spacing.small} !important;
|
|
91
|
-
${mq.range({ from: breakpoints.tablet })} {
|
|
92
|
-
padding: 0 !important;
|
|
93
|
-
}
|
|
94
|
-
border: none;
|
|
95
|
-
}
|
|
96
|
-
`,
|
|
97
|
-
"in-topic": css`
|
|
98
|
-
& {
|
|
99
|
-
margin-top: 0 !important;
|
|
100
|
-
padding: 0 !important;
|
|
101
|
-
padding-left: ${spacing.medium} !important;
|
|
102
|
-
}
|
|
103
|
-
`,
|
|
104
|
-
};
|
|
105
|
-
|
|
106
|
-
const borderCss = css`
|
|
107
|
-
${mq.range({ from: breakpoints.tablet })} {
|
|
108
|
-
border: 2px solid var(--color);
|
|
109
|
-
}
|
|
110
|
-
`;
|
|
111
|
-
|
|
112
|
-
export const ArticleWrapper = forwardRef<HTMLElement, ArticleWrapperProps>(({ children, modifier, ...rest }, ref) => {
|
|
113
|
-
const borderColor = useMemo(() => {
|
|
114
|
-
let color = undefined;
|
|
115
|
-
if (modifier === "subject-material") {
|
|
116
|
-
color = colors.subjectMaterial.light;
|
|
117
|
-
} else if (modifier === "assessment-resources") {
|
|
118
|
-
color = colors.assessmentResource.background;
|
|
119
|
-
} else if (modifier === "tasks-and-activities") {
|
|
120
|
-
color = colors.tasksAndActivities.background;
|
|
121
|
-
} else if (modifier === "concept") {
|
|
122
|
-
color = colors.concept.light;
|
|
123
|
-
} else if (modifier === "source-material") {
|
|
124
|
-
color = colors.sourceMaterial.light;
|
|
125
|
-
}
|
|
126
|
-
if (color) {
|
|
127
|
-
return { "--color": color } as CSSProperties;
|
|
128
|
-
}
|
|
129
|
-
return undefined;
|
|
130
|
-
}, [modifier]);
|
|
131
|
-
|
|
132
|
-
return (
|
|
133
|
-
<StyledArticle
|
|
134
|
-
css={[borderColor ? borderCss : undefined, modifier ? articleModifiers[modifier] : undefined]}
|
|
135
|
-
style={borderColor}
|
|
136
|
-
{...rest}
|
|
137
|
-
ref={ref}
|
|
138
|
-
>
|
|
139
|
-
{children}
|
|
140
|
-
</StyledArticle>
|
|
141
|
-
);
|
|
17
|
+
export const ArticleContent = styled("section", {
|
|
18
|
+
base: {
|
|
19
|
+
width: "100%",
|
|
20
|
+
},
|
|
142
21
|
});
|
|
143
22
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
{icon}
|
|
174
|
-
<hgroup>
|
|
175
|
-
{!!label && (
|
|
176
|
-
<TitleLabelText textStyle="meta-text-medium" margin="none">
|
|
177
|
-
{label}
|
|
178
|
-
</TitleLabelText>
|
|
179
|
-
)}
|
|
180
|
-
<Heading element="h1" margin="none" headingStyle="h1-resource" id={id} tabIndex={-1} lang={lang}>
|
|
181
|
-
{children}
|
|
182
|
-
</Heading>
|
|
183
|
-
</hgroup>
|
|
184
|
-
</ArticleTitleWrapper>
|
|
185
|
-
);
|
|
23
|
+
export const ArticleWrapper = styled("article", {
|
|
24
|
+
base: {
|
|
25
|
+
display: "flex",
|
|
26
|
+
flexDirection: "column",
|
|
27
|
+
color: "text.default",
|
|
28
|
+
gap: "xxlarge",
|
|
29
|
+
background: "surface.default",
|
|
30
|
+
paddingBlock: "xsmall",
|
|
31
|
+
paddingInline: "8%",
|
|
32
|
+
alignItems: "center",
|
|
33
|
+
width: "100%",
|
|
34
|
+
overflowWrap: "break-word",
|
|
35
|
+
position: "relative",
|
|
36
|
+
tablet: {
|
|
37
|
+
paddingBlock: "medium",
|
|
38
|
+
},
|
|
39
|
+
desktop: {
|
|
40
|
+
paddingBlock: "xxlarge",
|
|
41
|
+
},
|
|
42
|
+
"& mjx-stretchy-v > mjx-ext > mjx-c": {
|
|
43
|
+
transform: "scaleY(100) translateY(0.075em)",
|
|
44
|
+
},
|
|
45
|
+
_after: {
|
|
46
|
+
content: "",
|
|
47
|
+
display: "table",
|
|
48
|
+
clear: "both",
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
});
|
|
186
52
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
53
|
+
const ArticleTitleWrapper = styled("hgroup", {
|
|
54
|
+
base: {
|
|
55
|
+
display: "flex",
|
|
56
|
+
width: "100%",
|
|
57
|
+
flexDirection: "column",
|
|
58
|
+
alignItems: "flex-start",
|
|
59
|
+
gap: "xsmall",
|
|
60
|
+
"& h1": {
|
|
61
|
+
overflowWrap: "anywhere",
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
});
|
|
191
65
|
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
66
|
+
const ArticleFavoritesButtonWrapper = styled("div", {
|
|
67
|
+
base: {
|
|
68
|
+
position: "absolute",
|
|
69
|
+
right: "8%",
|
|
70
|
+
top: "xsmall",
|
|
71
|
+
tablet: {
|
|
72
|
+
top: "medium",
|
|
73
|
+
},
|
|
74
|
+
desktop: {
|
|
75
|
+
top: "xxlarge",
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
});
|
|
202
79
|
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
80
|
+
export const ArticleHeader = styled("header", {
|
|
81
|
+
base: {
|
|
82
|
+
display: "flex",
|
|
83
|
+
flexDirection: "column",
|
|
84
|
+
gap: "medium",
|
|
85
|
+
alignItems: "flex-start",
|
|
86
|
+
width: "100%",
|
|
87
|
+
},
|
|
88
|
+
});
|
|
210
89
|
|
|
211
|
-
const
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
}
|
|
218
|
-
|
|
90
|
+
export const ArticleFooter = styled("footer", {
|
|
91
|
+
base: {
|
|
92
|
+
display: "flex",
|
|
93
|
+
flexDirection: "column",
|
|
94
|
+
gap: "xxlarge",
|
|
95
|
+
width: "100%",
|
|
96
|
+
},
|
|
97
|
+
});
|
|
219
98
|
|
|
220
99
|
type Props = {
|
|
221
100
|
heartButton?: ReactNode;
|
|
222
101
|
article: ArticleType;
|
|
223
|
-
icon?: ReactNode;
|
|
224
102
|
licenseBox?: ReactNode;
|
|
225
|
-
|
|
103
|
+
contentType?: ContentType;
|
|
226
104
|
children?: ReactNode;
|
|
227
|
-
messages: Messages;
|
|
228
|
-
messageBoxLinks?: [];
|
|
229
105
|
competenceGoals?: ReactNode;
|
|
230
106
|
id: string;
|
|
231
107
|
lang?: string;
|
|
@@ -233,11 +109,8 @@ type Props = {
|
|
|
233
109
|
|
|
234
110
|
export const Article = ({
|
|
235
111
|
article,
|
|
236
|
-
|
|
112
|
+
contentType,
|
|
237
113
|
licenseBox,
|
|
238
|
-
modifier,
|
|
239
|
-
messages,
|
|
240
|
-
messageBoxLinks,
|
|
241
114
|
children,
|
|
242
115
|
competenceGoals,
|
|
243
116
|
id,
|
|
@@ -250,23 +123,24 @@ export const Article = ({
|
|
|
250
123
|
copyright?.creators.length || copyright?.rightsholders.length ? copyright.creators : copyright?.processors;
|
|
251
124
|
|
|
252
125
|
return (
|
|
253
|
-
<ArticleWrapper
|
|
254
|
-
<
|
|
255
|
-
|
|
256
|
-
<
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
)}
|
|
260
|
-
<ArticleHeaderWrapper competenceGoals={competenceGoals}>
|
|
261
|
-
{heartButton ? <ArticleFavoritesButtonWrapper>{heartButton}</ArticleFavoritesButtonWrapper> : null}
|
|
262
|
-
<ArticleTitle id={id} icon={icon} label={messages.label} lang={lang}>
|
|
126
|
+
<ArticleWrapper data-ndla-article="">
|
|
127
|
+
<ArticleHeader>
|
|
128
|
+
<ArticleTitleWrapper>
|
|
129
|
+
{!!contentType && <ContentTypeBadgeNew contentType={contentType} />}
|
|
130
|
+
{!!heartButton && <ArticleFavoritesButtonWrapper>{heartButton}</ArticleFavoritesButtonWrapper>}
|
|
131
|
+
<Heading textStyle="heading.large" id={id} tabIndex={-1} lang={lang}>
|
|
263
132
|
{title}
|
|
264
|
-
</
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
133
|
+
</Heading>
|
|
134
|
+
</ArticleTitleWrapper>
|
|
135
|
+
{!!introduction && (
|
|
136
|
+
<Text lang={lang} textStyle="body.xlarge" asChild consumeCss>
|
|
137
|
+
<div>{introduction}</div>
|
|
138
|
+
</Text>
|
|
139
|
+
)}
|
|
140
|
+
{competenceGoals}
|
|
141
|
+
</ArticleHeader>
|
|
142
|
+
<ArticleContent>{content}</ArticleContent>
|
|
143
|
+
<ArticleFooter>
|
|
270
144
|
<ArticleByline
|
|
271
145
|
footnotes={footNotes}
|
|
272
146
|
authors={authors}
|
|
@@ -275,10 +149,8 @@ export const Article = ({
|
|
|
275
149
|
license={copyright?.license?.license ?? ""}
|
|
276
150
|
licenseBox={licenseBox}
|
|
277
151
|
/>
|
|
278
|
-
|
|
279
|
-
|
|
152
|
+
{children}
|
|
153
|
+
</ArticleFooter>
|
|
280
154
|
</ArticleWrapper>
|
|
281
155
|
);
|
|
282
156
|
};
|
|
283
|
-
|
|
284
|
-
export default Article;
|
|
@@ -10,44 +10,54 @@ import { TFunction } from "i18next";
|
|
|
10
10
|
import { ReactNode, useCallback, useEffect, useState } from "react";
|
|
11
11
|
import { useTranslation } from "react-i18next";
|
|
12
12
|
import { useLocation } from "react-router-dom";
|
|
13
|
-
import
|
|
14
|
-
import { AccordionRoot, AccordionHeader, AccordionContent, AccordionItem } from "@ndla/accordion";
|
|
15
|
-
import { breakpoints, colors, fonts, mq, spacing } from "@ndla/core";
|
|
13
|
+
import { ChevronDown } from "@ndla/icons/common";
|
|
16
14
|
import { getLicenseByAbbreviation } from "@ndla/licenses";
|
|
15
|
+
import {
|
|
16
|
+
AccordionItem,
|
|
17
|
+
AccordionItemContent,
|
|
18
|
+
AccordionItemIndicator,
|
|
19
|
+
AccordionItemTrigger,
|
|
20
|
+
AccordionRoot,
|
|
21
|
+
Heading,
|
|
22
|
+
} from "@ndla/primitives";
|
|
23
|
+
import { styled } from "@ndla/styled-system/jsx";
|
|
17
24
|
import ArticleFootNotes from "./ArticleFootNotes";
|
|
18
25
|
import { LicenseLink } from "../LicenseByline/LicenseLink";
|
|
19
26
|
import { FootNote } from "../types";
|
|
20
27
|
|
|
21
|
-
const Wrapper = styled
|
|
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
|
-
|
|
28
|
+
const Wrapper = styled("div", {
|
|
29
|
+
base: {
|
|
30
|
+
// TODO: Figure out if we want to remove this margin. It's only here to add some gap between the article content and the byline.
|
|
31
|
+
marginBlockStart: "medium",
|
|
32
|
+
paddingBlockStart: "xsmall",
|
|
33
|
+
borderTop: "1px solid",
|
|
34
|
+
borderColor: "stroke.subtle",
|
|
35
|
+
},
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
// TODO: This is designed with 24px of inline padding. If you do this, most bylines will break into two lines.
|
|
39
|
+
// Should reconsider.
|
|
40
|
+
const TextWrapper = styled("div", {
|
|
41
|
+
base: {
|
|
42
|
+
display: "flex",
|
|
43
|
+
flexDirection: "column-reverse",
|
|
44
|
+
gap: "3xsmall",
|
|
45
|
+
width: "100%",
|
|
46
|
+
justifyContent: "space-between",
|
|
47
|
+
paddingBlock: "xsmall",
|
|
48
|
+
textStyle: "body.medium",
|
|
49
|
+
},
|
|
50
|
+
variants: {
|
|
51
|
+
learningpath: {
|
|
52
|
+
true: {},
|
|
53
|
+
false: {
|
|
54
|
+
tabletWide: {
|
|
55
|
+
flexDirection: "row",
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
});
|
|
51
61
|
|
|
52
62
|
type AuthorProps = {
|
|
53
63
|
name: string;
|
|
@@ -57,8 +67,6 @@ type SupplierProps = {
|
|
|
57
67
|
name: string;
|
|
58
68
|
};
|
|
59
69
|
|
|
60
|
-
type AccordionHeaderVariants = "white" | "blue";
|
|
61
|
-
|
|
62
70
|
type Props = {
|
|
63
71
|
authors?: AuthorProps[];
|
|
64
72
|
suppliers?: SupplierProps[];
|
|
@@ -67,7 +75,6 @@ type Props = {
|
|
|
67
75
|
licenseBox?: ReactNode;
|
|
68
76
|
locale?: string;
|
|
69
77
|
footnotes?: FootNote[];
|
|
70
|
-
accordionHeaderVariant?: AccordionHeaderVariants;
|
|
71
78
|
displayByline?: boolean;
|
|
72
79
|
bylineType?: "article" | "learningPath";
|
|
73
80
|
};
|
|
@@ -96,27 +103,18 @@ const getSuppliersText = (suppliers: SupplierProps[], t: TFunction) => {
|
|
|
96
103
|
});
|
|
97
104
|
};
|
|
98
105
|
|
|
99
|
-
const LicenseWrapper = styled
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
106
|
+
const LicenseWrapper = styled("div", {
|
|
107
|
+
base: {
|
|
108
|
+
display: "flex",
|
|
109
|
+
gap: "xsmall",
|
|
110
|
+
},
|
|
111
|
+
});
|
|
104
112
|
|
|
105
|
-
const
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
&[data-background-color="white"][data-state="closed"] {
|
|
111
|
-
background-color: ${colors.background.default};
|
|
112
|
-
}
|
|
113
|
-
`;
|
|
114
|
-
|
|
115
|
-
const StyledAccordionContent = styled(AccordionContent)`
|
|
116
|
-
&[data-background-color="white"] {
|
|
117
|
-
background-color: ${colors.background.default};
|
|
118
|
-
}
|
|
119
|
-
`;
|
|
113
|
+
const StyledAccordionRoot = styled(AccordionRoot, {
|
|
114
|
+
base: {
|
|
115
|
+
paddingBlockStart: "xxlarge",
|
|
116
|
+
},
|
|
117
|
+
});
|
|
120
118
|
|
|
121
119
|
const refRegexp = /note\d/;
|
|
122
120
|
const footnotesAccordionId = "footnotes";
|
|
@@ -129,7 +127,6 @@ const ArticleByline = ({
|
|
|
129
127
|
licenseBox,
|
|
130
128
|
published,
|
|
131
129
|
locale,
|
|
132
|
-
accordionHeaderVariant = "blue",
|
|
133
130
|
displayByline = true,
|
|
134
131
|
bylineType = "article",
|
|
135
132
|
}: Props) => {
|
|
@@ -167,18 +164,18 @@ const ArticleByline = ({
|
|
|
167
164
|
return (
|
|
168
165
|
<Wrapper>
|
|
169
166
|
{displayByline && (
|
|
170
|
-
<TextWrapper
|
|
167
|
+
<TextWrapper learningpath={bylineType === "learningPath"}>
|
|
171
168
|
<LicenseWrapper>
|
|
172
169
|
{license && <LicenseLink license={license} />}
|
|
173
170
|
{showPrimaryContributors && (
|
|
174
|
-
<
|
|
171
|
+
<span>
|
|
175
172
|
{authors.length > 0 &&
|
|
176
173
|
`${t("article.authorsLabel", {
|
|
177
174
|
names: renderContributors(authors, t),
|
|
178
175
|
interpolation: { escapeValue: false },
|
|
179
176
|
})}. `}
|
|
180
177
|
{getSuppliersText(suppliers, t)}
|
|
181
|
-
</
|
|
178
|
+
</span>
|
|
182
179
|
)}
|
|
183
180
|
</LicenseWrapper>
|
|
184
181
|
<div>
|
|
@@ -186,25 +183,41 @@ const ArticleByline = ({
|
|
|
186
183
|
</div>
|
|
187
184
|
</TextWrapper>
|
|
188
185
|
)}
|
|
189
|
-
<
|
|
186
|
+
<StyledAccordionRoot
|
|
187
|
+
multiple
|
|
188
|
+
value={openAccordions}
|
|
189
|
+
onValueChange={(details) => setOpenAccordions(details.value)}
|
|
190
|
+
>
|
|
190
191
|
{licenseBox && (
|
|
191
192
|
<AccordionItem value={accordionItemValue}>
|
|
192
|
-
<
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
193
|
+
<AccordionItemTrigger>
|
|
194
|
+
<Heading asChild consumeCss textStyle="label.medium" fontWeight="bold">
|
|
195
|
+
<h2>{t("article.useContent")}</h2>
|
|
196
|
+
</Heading>
|
|
197
|
+
<AccordionItemIndicator asChild>
|
|
198
|
+
<ChevronDown />
|
|
199
|
+
</AccordionItemIndicator>
|
|
200
|
+
</AccordionItemTrigger>
|
|
201
|
+
<AccordionItemContent>{licenseBox}</AccordionItemContent>
|
|
196
202
|
</AccordionItem>
|
|
197
203
|
)}
|
|
198
204
|
|
|
199
205
|
{!!footnotes?.length && (
|
|
200
206
|
<AccordionItem value={footnotesAccordionId}>
|
|
201
|
-
<
|
|
202
|
-
|
|
207
|
+
<AccordionItemTrigger>
|
|
208
|
+
<Heading asChild consumeCss textStyle="label.medium" fontWeight="bold">
|
|
209
|
+
<h2>{t("article.footnotes")}</h2>
|
|
210
|
+
</Heading>
|
|
211
|
+
<AccordionItemIndicator asChild>
|
|
212
|
+
<ChevronDown />
|
|
213
|
+
</AccordionItemIndicator>
|
|
214
|
+
</AccordionItemTrigger>
|
|
215
|
+
<AccordionItemContent>
|
|
203
216
|
<ArticleFootNotes footNotes={footnotes} />
|
|
204
|
-
</
|
|
217
|
+
</AccordionItemContent>
|
|
205
218
|
</AccordionItem>
|
|
206
219
|
)}
|
|
207
|
-
</
|
|
220
|
+
</StyledAccordionRoot>
|
|
208
221
|
</Wrapper>
|
|
209
222
|
);
|
|
210
223
|
};
|