@ndla/ui 55.0.13-alpha.0 → 55.0.15-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 +142 -1
- package/dist/styles.css +597 -0
- package/es/Article/ArticleByline.js +7 -7
- package/es/Article/ArticleParagraph.js +11 -13
- package/es/AudioPlayer/AudioPlayer.js +1 -0
- package/es/CampaignBlock/CampaignBlock.js +103 -68
- package/es/Concept/Concept.js +69 -0
- package/es/ContactBlock/ContactBlock.js +17 -17
- package/es/ContentTypeBadge/ContentTypeBadgeNew.js +48 -0
- package/es/Embed/AudioEmbed.js +1 -2
- package/es/Embed/BrightcoveEmbed.js +13 -25
- package/es/Embed/ConceptEmbed.js +57 -301
- package/es/Embed/ConceptListEmbed.js +18 -24
- package/es/Embed/ContentLinkEmbed.js +10 -10
- package/es/Embed/CopyrightEmbed.js +3 -21
- package/es/Embed/ExternalEmbed.js +10 -18
- package/es/Embed/FootnoteEmbed.js +11 -8
- package/es/Embed/GlossEmbed.js +68 -0
- package/es/Embed/H5pEmbed.js +19 -19
- package/es/Embed/IframeEmbed.js +9 -6
- package/es/Embed/InlineTriggerButton.js +70 -0
- package/es/Embed/UnknownEmbed.js +9 -9
- package/es/Embed/UuDisclaimerEmbed.js +14 -25
- package/es/Embed/index.js +1 -3
- package/es/ErrorMessage/ErrorMessage.js +41 -22
- package/es/ErrorMessage/ErrorResourceAccessDenied.js +8 -6
- package/es/FactBox/FactBox.js +118 -47
- package/es/FileList/PdfFile.js +23 -5
- package/es/Gloss/Gloss.js +116 -86
- package/es/Gloss/GlossExample.js +49 -51
- package/es/LicenseByline/EmbedByline.js +143 -33
- package/es/LicenseByline/LicenseLink.js +16 -9
- package/es/LicenseByline/index.js +2 -2
- package/es/LinkBlock/LinkBlock.js +61 -33
- package/es/LinkBlock/LinkBlockSection.js +9 -6
- package/es/Logo/Logo.js +1 -30
- package/es/RelatedArticleList/RelatedArticleList.js +70 -87
- package/es/ResourceBox/ResourceBox.js +65 -37
- package/es/TagSelector/TagSelector.js +124 -131
- package/es/i18n/index.js +2 -1
- package/es/i18n/useComponentTranslations.js +83 -0
- package/es/index.js +4 -12
- package/es/locale/messages-en.js +30 -4
- package/es/locale/messages-nb.js +30 -4
- package/es/locale/messages-nn.js +30 -4
- package/es/locale/messages-se.js +30 -4
- package/es/locale/messages-sma.js +30 -4
- package/es/model/ContentType.js +3 -0
- package/es/styles.css +597 -0
- package/lib/Article/ArticleByline.js +8 -8
- package/lib/Article/ArticleParagraph.js +12 -14
- package/lib/AudioPlayer/AudioPlayer.js +1 -0
- package/lib/CampaignBlock/CampaignBlock.d.ts +2 -2
- package/lib/CampaignBlock/CampaignBlock.js +106 -68
- package/lib/Concept/Concept.d.ts +18 -0
- package/lib/Concept/Concept.js +75 -0
- package/lib/ContactBlock/ContactBlock.js +18 -18
- package/lib/ContentTypeBadge/ContentTypeBadgeNew.d.ts +17 -0
- package/lib/ContentTypeBadge/ContentTypeBadgeNew.js +56 -0
- package/lib/Embed/AudioEmbed.js +2 -3
- package/lib/Embed/BrightcoveEmbed.d.ts +1 -2
- package/lib/Embed/BrightcoveEmbed.js +16 -26
- package/lib/Embed/ConceptEmbed.d.ts +15 -21
- package/lib/Embed/ConceptEmbed.js +58 -301
- package/lib/Embed/ConceptListEmbed.js +21 -26
- package/lib/Embed/ContentLinkEmbed.js +10 -11
- package/lib/Embed/CopyrightEmbed.js +5 -22
- package/lib/Embed/ExternalEmbed.d.ts +1 -2
- package/lib/Embed/ExternalEmbed.js +13 -19
- package/lib/Embed/FootnoteEmbed.js +11 -9
- package/lib/Embed/GlossEmbed.d.ts +13 -0
- package/lib/Embed/GlossEmbed.js +76 -0
- package/lib/Embed/H5pEmbed.d.ts +1 -2
- package/lib/Embed/H5pEmbed.js +21 -19
- package/lib/Embed/IframeEmbed.d.ts +1 -2
- package/lib/Embed/IframeEmbed.js +11 -8
- package/lib/Embed/InlineTriggerButton.d.ts +11 -0
- package/lib/Embed/InlineTriggerButton.js +76 -0
- package/lib/Embed/UnknownEmbed.js +9 -10
- package/lib/Embed/UuDisclaimerEmbed.js +16 -26
- package/lib/Embed/index.d.ts +2 -3
- package/lib/Embed/index.js +2 -9
- package/lib/ErrorMessage/ErrorMessage.js +40 -23
- package/lib/ErrorMessage/ErrorResourceAccessDenied.js +7 -6
- package/lib/FactBox/FactBox.d.ts +0 -1
- package/lib/FactBox/FactBox.js +119 -46
- package/lib/FileList/PdfFile.js +23 -5
- package/lib/Gloss/Gloss.d.ts +10 -2
- package/lib/Gloss/Gloss.js +116 -85
- package/lib/Gloss/GlossExample.d.ts +3 -5
- package/lib/Gloss/GlossExample.js +49 -52
- package/lib/LicenseByline/EmbedByline.d.ts +2 -4
- package/lib/LicenseByline/EmbedByline.js +145 -35
- package/lib/LicenseByline/LicenseLink.d.ts +2 -2
- package/lib/LicenseByline/LicenseLink.js +16 -9
- package/lib/LicenseByline/index.d.ts +2 -2
- package/lib/LicenseByline/index.js +4 -5
- package/lib/LinkBlock/LinkBlock.js +62 -34
- package/lib/LinkBlock/LinkBlockSection.js +9 -7
- package/lib/Logo/Logo.d.ts +1 -3
- package/lib/Logo/Logo.js +2 -30
- package/lib/RelatedArticleList/RelatedArticleList.d.ts +4 -4
- package/lib/RelatedArticleList/RelatedArticleList.js +74 -90
- package/lib/ResourceBox/ResourceBox.js +64 -37
- package/lib/TagSelector/TagSelector.d.ts +27 -12
- package/lib/TagSelector/TagSelector.js +126 -131
- package/lib/i18n/index.d.ts +1 -0
- package/lib/i18n/index.js +20 -1
- package/lib/i18n/useComponentTranslations.d.ts +14 -0
- package/lib/i18n/useComponentTranslations.js +93 -0
- package/lib/index.d.ts +5 -15
- package/lib/index.js +70 -102
- package/lib/locale/messages-en.d.ts +26 -0
- package/lib/locale/messages-en.js +30 -4
- package/lib/locale/messages-nb.d.ts +26 -0
- package/lib/locale/messages-nb.js +30 -4
- package/lib/locale/messages-nn.d.ts +26 -0
- package/lib/locale/messages-nn.js +30 -4
- package/lib/locale/messages-se.d.ts +26 -0
- package/lib/locale/messages-se.js +30 -4
- package/lib/locale/messages-sma.d.ts +26 -0
- package/lib/locale/messages-sma.js +30 -4
- package/lib/model/ContentType.d.ts +3 -0
- package/lib/model/ContentType.js +4 -1
- package/lib/styles.css +597 -0
- package/package.json +11 -13
- package/src/Article/ArticleByline.tsx +1 -1
- package/src/Article/ArticleParagraph.tsx +11 -9
- package/src/AudioPlayer/AudioPlayer.tsx +1 -0
- package/src/CampaignBlock/CampaignBlock.tsx +92 -55
- package/src/Concept/Concept.stories.tsx +142 -0
- package/src/Concept/Concept.tsx +73 -0
- package/src/ContactBlock/ContactBlock.tsx +1 -1
- package/src/ContentTypeBadge/ContentTypeBadgeNew.stories.tsx +70 -0
- package/src/ContentTypeBadge/ContentTypeBadgeNew.tsx +69 -0
- package/src/Embed/AudioEmbed.tsx +2 -2
- package/src/Embed/BrightcoveEmbed.stories.tsx +0 -3
- package/src/Embed/BrightcoveEmbed.tsx +18 -20
- package/src/Embed/ConceptEmbed.stories.tsx +1 -105
- package/src/Embed/ConceptEmbed.tsx +60 -385
- package/src/Embed/ConceptListEmbed.tsx +20 -19
- package/src/Embed/ContentLinkEmbed.tsx +8 -10
- package/src/Embed/CopyrightEmbed.tsx +1 -11
- package/src/Embed/ExternalEmbed.tsx +14 -17
- package/src/Embed/FootnoteEmbed.stories.tsx +2 -5
- package/src/Embed/FootnoteEmbed.tsx +13 -16
- package/src/Embed/GlossEmbed.stories.tsx +140 -0
- package/src/Embed/GlossEmbed.tsx +64 -0
- package/src/Embed/H5pEmbed.tsx +22 -16
- package/src/Embed/IframeEmbed.tsx +12 -6
- package/src/Embed/InlineTriggerButton.tsx +72 -0
- package/src/Embed/UnknownEmbed.tsx +6 -7
- package/src/Embed/UuDisclaimerEmbed.stories.tsx +4 -4
- package/src/Embed/UuDisclaimerEmbed.tsx +17 -25
- package/src/Embed/index.ts +2 -3
- package/src/ErrorMessage/ErrorMessage.tsx +40 -29
- package/src/ErrorMessage/ErrorResourceAccessDenied.tsx +8 -6
- package/src/FactBox/FactBox.tsx +115 -115
- package/src/FactBox/Factbox.stories.tsx +43 -27
- package/src/FileList/FileList.stories.tsx +6 -1
- package/src/FileList/PdfFile.tsx +22 -5
- package/src/Gloss/Gloss.stories.tsx +107 -1
- package/src/Gloss/Gloss.tsx +143 -156
- package/src/Gloss/GlossExample.tsx +51 -77
- package/src/LicenseByline/EmbedByline.stories.tsx +9 -4
- package/src/LicenseByline/EmbedByline.tsx +139 -53
- package/src/LicenseByline/LicenseLink.tsx +15 -15
- package/src/LicenseByline/index.tsx +2 -2
- package/src/LinkBlock/LinkBlock.stories.tsx +8 -10
- package/src/LinkBlock/LinkBlock.tsx +54 -59
- package/src/LinkBlock/LinkBlockSection.tsx +9 -12
- package/src/Logo/Logo.stories.tsx +0 -1
- package/src/Logo/Logo.tsx +2 -30
- package/src/RelatedArticleList/RelatedArticleList.tsx +69 -88
- package/src/ResourceBox/ResourceBox.tsx +63 -59
- package/src/TagSelector/TagSelector.stories.tsx +92 -68
- package/src/TagSelector/TagSelector.tsx +161 -126
- package/src/i18n/index.ts +5 -0
- package/src/i18n/useComponentTranslations.ts +72 -0
- package/src/index.ts +23 -19
- package/src/locale/messages-en.ts +28 -2
- package/src/locale/messages-nb.ts +28 -2
- package/src/locale/messages-nn.ts +28 -2
- package/src/locale/messages-se.ts +28 -2
- package/src/locale/messages-sma.ts +28 -2
- package/src/model/ContentType.ts +3 -0
- package/es/DefinitionList/DefinitionDescription.js +0 -28
- package/es/DefinitionList/DefinitionTerm.js +0 -28
- package/es/DefinitionList/index.js +0 -10
- package/es/Embed/conceptComponents.js +0 -155
- package/es/ExpandableBox/ExpandableBox.js +0 -29
- package/es/ExpandableBox/index.js +0 -9
- package/es/Figure/Figure.js +0 -73
- package/es/Figure/index.js +0 -9
- package/es/FramedContent/FramedContent.js +0 -28
- package/es/FramedContent/index.js +0 -10
- package/es/Image/Image.js +0 -99
- package/es/Image/ImageLink.js +0 -39
- package/es/Image/index.js +0 -12
- package/es/LetterFilter/LetterFilter.js +0 -54
- package/es/LetterFilter/alphabet.js +0 -9
- package/es/LetterFilter/index.js +0 -10
- package/es/LicenseByline/LicenseDescription.js +0 -63
- package/es/List/OrderedList.js +0 -41
- package/es/List/UnOrderedList.js +0 -28
- package/es/List/index.js +0 -10
- package/es/Notion/Notion.js +0 -76
- package/es/Notion/NotionImage.js +0 -46
- package/es/Notion/index.js +0 -9
- package/es/Table/Table.js +0 -141
- package/es/Table/index.js +0 -11
- package/es/TagSelector/Control.js +0 -28
- package/es/TagSelector/DropdownIndicator.js +0 -60
- package/es/TagSelector/Input.js +0 -22
- package/es/TagSelector/Menu.js +0 -27
- package/es/TagSelector/MenuList.js +0 -28
- package/es/TagSelector/Option.js +0 -60
- package/es/TagSelector/SelectContainer.js +0 -27
- package/es/TagSelector/ValueButton.js +0 -53
- package/es/TagSelector/ariaMessages.js +0 -94
- package/es/TagSelector/index.js +0 -10
- package/es/TagSelector/types.js +0 -1
- package/lib/DefinitionList/DefinitionDescription.d.ts +0 -10
- package/lib/DefinitionList/DefinitionDescription.js +0 -35
- package/lib/DefinitionList/DefinitionTerm.d.ts +0 -10
- package/lib/DefinitionList/DefinitionTerm.js +0 -35
- package/lib/DefinitionList/index.d.ts +0 -9
- package/lib/DefinitionList/index.js +0 -20
- package/lib/Embed/conceptComponents.d.ts +0 -40
- package/lib/Embed/conceptComponents.js +0 -163
- package/lib/ExpandableBox/ExpandableBox.d.ts +0 -15
- package/lib/ExpandableBox/ExpandableBox.js +0 -37
- package/lib/ExpandableBox/index.d.ts +0 -8
- package/lib/ExpandableBox/index.js +0 -18
- package/lib/Figure/Figure.d.ts +0 -16
- package/lib/Figure/Figure.js +0 -81
- package/lib/Figure/index.d.ts +0 -9
- package/lib/Figure/index.js +0 -13
- package/lib/FramedContent/FramedContent.d.ts +0 -12
- package/lib/FramedContent/FramedContent.js +0 -35
- package/lib/FramedContent/index.d.ts +0 -9
- package/lib/FramedContent/index.js +0 -16
- package/lib/Image/Image.d.ts +0 -38
- package/lib/Image/Image.js +0 -105
- package/lib/Image/ImageLink.d.ts +0 -18
- package/lib/Image/ImageLink.js +0 -44
- package/lib/Image/index.d.ts +0 -12
- package/lib/Image/index.js +0 -30
- package/lib/LetterFilter/LetterFilter.d.ts +0 -14
- package/lib/LetterFilter/LetterFilter.js +0 -61
- package/lib/LetterFilter/alphabet.d.ts +0 -8
- package/lib/LetterFilter/alphabet.js +0 -15
- package/lib/LetterFilter/index.d.ts +0 -9
- package/lib/LetterFilter/index.js +0 -16
- package/lib/LicenseByline/LicenseDescription.d.ts +0 -15
- package/lib/LicenseByline/LicenseDescription.js +0 -70
- package/lib/List/OrderedList.d.ts +0 -16
- package/lib/List/OrderedList.js +0 -48
- package/lib/List/UnOrderedList.d.ts +0 -10
- package/lib/List/UnOrderedList.js +0 -35
- package/lib/List/index.d.ts +0 -9
- package/lib/List/index.js +0 -20
- package/lib/Notion/Notion.d.ts +0 -20
- package/lib/Notion/Notion.js +0 -82
- package/lib/Notion/NotionImage.d.ts +0 -13
- package/lib/Notion/NotionImage.js +0 -54
- package/lib/Notion/index.d.ts +0 -8
- package/lib/Notion/index.js +0 -13
- package/lib/Table/Table.d.ts +0 -19
- package/lib/Table/Table.js +0 -145
- package/lib/Table/index.d.ts +0 -10
- package/lib/Table/index.js +0 -23
- package/lib/TagSelector/Control.d.ts +0 -11
- package/lib/TagSelector/Control.js +0 -35
- package/lib/TagSelector/DropdownIndicator.d.ts +0 -11
- package/lib/TagSelector/DropdownIndicator.js +0 -64
- package/lib/TagSelector/Input.d.ts +0 -12
- package/lib/TagSelector/Input.js +0 -29
- package/lib/TagSelector/Menu.d.ts +0 -12
- package/lib/TagSelector/Menu.js +0 -34
- package/lib/TagSelector/MenuList.d.ts +0 -16
- package/lib/TagSelector/MenuList.js +0 -35
- package/lib/TagSelector/Option.d.ts +0 -12
- package/lib/TagSelector/Option.js +0 -67
- package/lib/TagSelector/SelectContainer.d.ts +0 -11
- package/lib/TagSelector/SelectContainer.js +0 -34
- package/lib/TagSelector/ValueButton.d.ts +0 -20
- package/lib/TagSelector/ValueButton.js +0 -60
- package/lib/TagSelector/ariaMessages.d.ts +0 -16
- package/lib/TagSelector/ariaMessages.js +0 -101
- package/lib/TagSelector/index.d.ts +0 -11
- package/lib/TagSelector/index.js +0 -13
- package/lib/TagSelector/types.d.ts +0 -11
- package/lib/TagSelector/types.js +0 -5
- package/src/DefinitionList/DefinitionDescription.tsx +0 -26
- package/src/DefinitionList/DefinitionTerm.tsx +0 -26
- package/src/DefinitionList/index.tsx +0 -10
- package/src/Embed/conceptComponents.tsx +0 -293
- package/src/ExpandableBox/ExpandableBox.stories.tsx +0 -41
- package/src/ExpandableBox/ExpandableBox.tsx +0 -23
- package/src/ExpandableBox/index.ts +0 -9
- package/src/Figure/Figure.tsx +0 -167
- package/src/Figure/index.ts +0 -11
- package/src/FramedContent/FramedContent.stories.tsx +0 -152
- package/src/FramedContent/FramedContent.tsx +0 -26
- package/src/FramedContent/index.ts +0 -10
- package/src/Image/Image.stories.tsx +0 -61
- package/src/Image/Image.tsx +0 -147
- package/src/Image/ImageLink.tsx +0 -37
- package/src/Image/index.ts +0 -14
- package/src/LetterFilter/LetterFilter.stories.tsx +0 -29
- package/src/LetterFilter/LetterFilter.tsx +0 -78
- package/src/LetterFilter/alphabet.ts +0 -39
- package/src/LetterFilter/index.ts +0 -11
- package/src/LicenseByline/LicenseDescription.tsx +0 -100
- package/src/List/OrderedList.stories.tsx +0 -135
- package/src/List/OrderedList.tsx +0 -158
- package/src/List/UnOrderedList.tsx +0 -43
- package/src/List/UnorderedList.stories.tsx +0 -72
- package/src/List/index.ts +0 -10
- package/src/Notion/Notion.tsx +0 -96
- package/src/Notion/NotionImage.tsx +0 -64
- package/src/Notion/index.ts +0 -9
- package/src/Table/Table.stories.tsx +0 -738
- package/src/Table/Table.tsx +0 -284
- package/src/Table/index.ts +0 -12
- package/src/TagSelector/Control.tsx +0 -34
- package/src/TagSelector/DropdownIndicator.tsx +0 -55
- package/src/TagSelector/Input.tsx +0 -31
- package/src/TagSelector/Menu.tsx +0 -38
- package/src/TagSelector/MenuList.tsx +0 -30
- package/src/TagSelector/Option.tsx +0 -58
- package/src/TagSelector/SelectContainer.tsx +0 -31
- package/src/TagSelector/ValueButton.tsx +0 -47
- package/src/TagSelector/ariaMessages.ts +0 -96
- package/src/TagSelector/index.ts +0 -14
- package/src/TagSelector/types.ts +0 -12
|
@@ -1,145 +1,138 @@
|
|
|
1
|
-
import _styled from "@emotion/styled/base";
|
|
2
|
-
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
3
1
|
/**
|
|
4
|
-
* Copyright (c)
|
|
2
|
+
* Copyright (c) 2024-present, NDLA.
|
|
5
3
|
*
|
|
6
4
|
* This source code is licensed under the GPLv3 license found in the
|
|
7
5
|
* LICENSE file in the root directory of this source tree.
|
|
8
6
|
*
|
|
9
7
|
*/
|
|
10
8
|
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import
|
|
17
|
-
|
|
18
|
-
import Input from "./Input";
|
|
19
|
-
import Menu from "./Menu";
|
|
20
|
-
import MenuList from "./MenuList";
|
|
21
|
-
import Option from "./Option";
|
|
22
|
-
import SelectContainer from "./SelectContainer";
|
|
23
|
-
import ValueButton from "./ValueButton";
|
|
24
|
-
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
25
|
-
const styles = {
|
|
26
|
-
menu: () => ({}),
|
|
27
|
-
dropdownIndicator: () => ({}),
|
|
28
|
-
placeholder: provided => ({
|
|
29
|
-
...provided,
|
|
30
|
-
padding: `0 ${spacing.small}`,
|
|
31
|
-
color: colors.brand.primary,
|
|
32
|
-
margin: 0
|
|
33
|
-
}),
|
|
34
|
-
valueContainer: provided => ({
|
|
35
|
-
...provided,
|
|
36
|
-
padding: 0
|
|
37
|
-
}),
|
|
38
|
-
indicatorSeparator: () => ({
|
|
39
|
-
display: "none"
|
|
40
|
-
}),
|
|
41
|
-
indicatorsContainer: provided => ({
|
|
42
|
-
...provided,
|
|
43
|
-
alignSelf: "flex-end"
|
|
44
|
-
})
|
|
45
|
-
};
|
|
46
|
-
const StyledTagSelector = /*#__PURE__*/_styled("div", {
|
|
47
|
-
target: "eor9swf1",
|
|
48
|
-
label: "StyledTagSelector"
|
|
49
|
-
})(process.env.NODE_ENV === "production" ? {
|
|
50
|
-
name: "3z2sxu",
|
|
51
|
-
styles: "display:flex;flex-direction:column;flex:1;overflow:hidden"
|
|
52
|
-
} : {
|
|
53
|
-
name: "3z2sxu",
|
|
54
|
-
styles: "display:flex;flex-direction:column;flex:1;overflow:hidden",
|
|
55
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlRhZ1NlbGVjdG9yLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUE0Q29DIiwiZmlsZSI6IlRhZ1NlbGVjdG9yLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQ29weXJpZ2h0IChjKSAyMDIyLXByZXNlbnQsIE5ETEEuXG4gKlxuICogVGhpcyBzb3VyY2UgY29kZSBpcyBsaWNlbnNlZCB1bmRlciB0aGUgR1BMdjMgbGljZW5zZSBmb3VuZCBpbiB0aGVcbiAqIExJQ0VOU0UgZmlsZSBpbiB0aGUgcm9vdCBkaXJlY3Rvcnkgb2YgdGhpcyBzb3VyY2UgdHJlZS5cbiAqXG4gKi9cblxuaW1wb3J0IHsgS2V5Ym9hcmRFdmVudCwgdXNlTWVtbywgdXNlU3RhdGUgfSBmcm9tIFwicmVhY3RcIjtcbmltcG9ydCB7IHVzZVRyYW5zbGF0aW9uIH0gZn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WF0ZUxhYmVsPXtjcmVhdGVMYWJlbH1cbiAgICAgICAgaW5wdXRWYWx1ZT17aW5wdXR9XG4gICAgICAgIGlzQ2xlYXJhYmxlPXtmYWxzZX1cbiAgICAgICAgaXNNdWx0aVxuICAgICAgICBub09wdGlvbnNNZXNzYWdlPXsoKSA9PiB0KFwidGFnU2VsZWN0b3Iubm9PcHRpb25zXCIpfVxuICAgICAgICBvbkNoYW5nZT17aGFuZGxlQ2hhbmdlfVxuICAgICAgICBvbkNyZWF0ZU9wdGlvbj17b25DcmVhdGVUYWd9XG4gICAgICAgIG9uSW5wdXRDaGFuZ2U9e3NldElucHV0fVxuICAgICAgICBvbktleURvd249e2hhbmRsZVNwYWNlQ2xpY2t9XG4gICAgICAgIG9wdGlvbnM9e3RhZ3N9XG4gICAgICAgIHBsYWNlaG9sZGVyPXt0KFwidGFnU2VsZWN0b3IucGxhY2Vob2xkZXJcIil9XG4gICAgICAgIHNjcmVlblJlYWRlclN0YXR1cz17KHsgY291bnQgfSkgPT4gdChcInRhZ1NlbGVjdG9yLmFyaWEuc2NyZWVuUmVhZGVyU3RhdHVzXCIsIHsgY291bnQgfSl9XG4gICAgICAgIHN0eWxlcz17c3R5bGVzfVxuICAgICAgICB0YWJTZWxlY3RzVmFsdWU9e2ZhbHNlfVxuICAgICAgICB2YWx1ZT17c2VsZWN0ZWR9XG4gICAgICAvPlxuICAgIDwvU3R5bGVkVGFnU2VsZWN0b3I+XG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBUYWdTZWxlY3RvcjtcbiJdfQ== */",
|
|
56
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
57
|
-
});
|
|
58
|
-
const StyledLabel = /*#__PURE__*/_styled("label", {
|
|
59
|
-
target: "eor9swf0",
|
|
60
|
-
label: "StyledLabel"
|
|
61
|
-
})("font-weight:", fonts.weight.semibold, ";", p => p.labelHidden && utils.labelHidden, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingUR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lYWRlclN0YXR1cz17KHsgY291bnQgfSkgPT4gdChcInRhZ1NlbGVjdG9yLmFyaWEuc2NyZWVuUmVhZGVyU3RhdHVzXCIsIHsgY291bnQgfSl9XG4gICAgICAgIHN0eWxlcz17c3R5bGVzfVxuICAgICAgICB0YWJTZWxlY3RzVmFsdWU9e2ZhbHNlfVxuICAgICAgICB2YWx1ZT17c2VsZWN0ZWR9XG4gICAgICAvPlxuICAgIDwvU3R5bGVkVGFnU2VsZWN0b3I+XG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBUYWdTZWxlY3RvcjtcbiJdfQ== */"));
|
|
62
|
-
const TagSelector = _ref => {
|
|
9
|
+
import { forwardRef, useEffect, useId, useRef } from "react";
|
|
10
|
+
import { ComboboxContext, useTagsInputContext } from "@ark-ui/react";
|
|
11
|
+
import { Cross } from "@ndla/icons/action";
|
|
12
|
+
import { ComboboxClearTrigger, ComboboxControl, ComboboxInput, ComboboxLabel, ComboboxRoot, ComboboxTrigger, TagsInputControl, TagsInputInput, TagsInputItem, TagsInputItemDeleteTrigger, TagsInputItemPreview, TagsInputItemText, TagsInputRoot, TagsInputItemInput } from "@ndla/primitives";
|
|
13
|
+
import { contains } from "@ndla/util";
|
|
14
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "@emotion/react/jsx-runtime";
|
|
15
|
+
export const TagSelectorRoot = _ref => {
|
|
63
16
|
let {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
17
|
+
allowCustomValue = true,
|
|
18
|
+
multiple = true,
|
|
19
|
+
selectionBehavior = "clear",
|
|
20
|
+
editable,
|
|
21
|
+
addOnPaste = false,
|
|
22
|
+
onValueChange,
|
|
23
|
+
children,
|
|
24
|
+
value,
|
|
25
|
+
translations,
|
|
26
|
+
...rest
|
|
71
27
|
} = _ref;
|
|
72
|
-
const {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
const tags = useMemo(() => _tags.map(tag => ({
|
|
77
|
-
value: tag,
|
|
78
|
-
label: tag
|
|
79
|
-
})), [_tags]);
|
|
80
|
-
const selected = useMemo(() => _selected.map(tag => ({
|
|
81
|
-
value: tag,
|
|
82
|
-
label: tag
|
|
83
|
-
})), [_selected]);
|
|
84
|
-
const handleSpaceClick = e => {
|
|
85
|
-
if (e.key === " ") {
|
|
86
|
-
e.preventDefault();
|
|
87
|
-
if (!_selected.find(tag => tag === input) && input !== "") {
|
|
88
|
-
onChange(_selected.concat(input));
|
|
89
|
-
}
|
|
90
|
-
setInput("");
|
|
91
|
-
}
|
|
92
|
-
};
|
|
93
|
-
const handleChange = tags => {
|
|
94
|
-
onChange(tags.map(tag => tag.value));
|
|
28
|
+
const ids = {
|
|
29
|
+
root: useId(),
|
|
30
|
+
input: useId(),
|
|
31
|
+
control: useId()
|
|
95
32
|
};
|
|
96
|
-
const
|
|
97
|
-
|
|
33
|
+
const controlRef = useRef(undefined);
|
|
34
|
+
useEffect(() => {
|
|
35
|
+
if (!controlRef.current) {
|
|
36
|
+
controlRef.current = document.getElementById(ids.control);
|
|
37
|
+
}
|
|
38
|
+
}, [ids.control]);
|
|
39
|
+
return _jsx(ComboboxRoot, {
|
|
40
|
+
ids: ids,
|
|
41
|
+
asChild: true,
|
|
42
|
+
allowCustomValue: allowCustomValue,
|
|
43
|
+
multiple: multiple,
|
|
44
|
+
selectionBehavior: selectionBehavior,
|
|
45
|
+
onValueChange: onValueChange,
|
|
46
|
+
translations: translations,
|
|
47
|
+
onPointerDownOutside: event => {
|
|
48
|
+
if (contains(controlRef.current, event.detail.originalEvent.target)) {
|
|
49
|
+
event.preventDefault();
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
value: value,
|
|
53
|
+
...rest,
|
|
54
|
+
children: _jsx(ComboboxContext, {
|
|
55
|
+
children: api => _jsx(TagsInputRoot, {
|
|
56
|
+
ids: ids,
|
|
57
|
+
value: value,
|
|
58
|
+
onInputValueChange: details => api.setInputValue(details.inputValue),
|
|
59
|
+
editable: editable,
|
|
60
|
+
onValueChange: onValueChange,
|
|
61
|
+
addOnPaste: addOnPaste,
|
|
62
|
+
translations: translations,
|
|
63
|
+
children: children
|
|
64
|
+
})
|
|
65
|
+
})
|
|
98
66
|
});
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
count
|
|
134
|
-
} = _ref2;
|
|
135
|
-
return t("tagSelector.aria.screenReaderStatus", {
|
|
136
|
-
count
|
|
137
|
-
});
|
|
67
|
+
};
|
|
68
|
+
export const TagSelectorLabel = ComboboxLabel;
|
|
69
|
+
export const TagSelectorItemInput = TagsInputItemInput;
|
|
70
|
+
export const TagSelectorTrigger = ComboboxTrigger;
|
|
71
|
+
export const TagSelectorControl = /*#__PURE__*/forwardRef((_ref2, ref) => {
|
|
72
|
+
let {
|
|
73
|
+
children,
|
|
74
|
+
...props
|
|
75
|
+
} = _ref2;
|
|
76
|
+
return _jsx(ComboboxControl, {
|
|
77
|
+
asChild: true,
|
|
78
|
+
children: _jsx(TagsInputControl, {
|
|
79
|
+
...props,
|
|
80
|
+
ref: ref,
|
|
81
|
+
children: children
|
|
82
|
+
})
|
|
83
|
+
});
|
|
84
|
+
});
|
|
85
|
+
export const TagSelectorClearTrigger = ComboboxClearTrigger;
|
|
86
|
+
// If you need to modify the TagsInputItem, you can use this.
|
|
87
|
+
export const TagSelectorInputBase = /*#__PURE__*/forwardRef((_ref3, ref) => {
|
|
88
|
+
let {
|
|
89
|
+
children,
|
|
90
|
+
...props
|
|
91
|
+
} = _ref3;
|
|
92
|
+
const tagsApi = useTagsInputContext();
|
|
93
|
+
return _jsx(ComboboxInput, {
|
|
94
|
+
asChild: true,
|
|
95
|
+
children: _jsx(TagsInputInput, {
|
|
96
|
+
...props,
|
|
97
|
+
onKeyDown: event => {
|
|
98
|
+
if (event.key === "Enter") {
|
|
99
|
+
tagsApi.addValue(tagsApi.inputValue);
|
|
100
|
+
}
|
|
138
101
|
},
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
102
|
+
ref: ref,
|
|
103
|
+
children: children
|
|
104
|
+
})
|
|
105
|
+
});
|
|
106
|
+
});
|
|
107
|
+
export const TagSelectorInput = /*#__PURE__*/forwardRef((_ref4, ref) => {
|
|
108
|
+
let {
|
|
109
|
+
children,
|
|
110
|
+
...props
|
|
111
|
+
} = _ref4;
|
|
112
|
+
const tagsApi = useTagsInputContext();
|
|
113
|
+
return _jsxs(_Fragment, {
|
|
114
|
+
children: [tagsApi.value.map((value, index) => _jsxs(TagsInputItem, {
|
|
115
|
+
index: index,
|
|
116
|
+
value: value,
|
|
117
|
+
children: [_jsxs(TagsInputItemPreview, {
|
|
118
|
+
children: [_jsx(TagsInputItemText, {
|
|
119
|
+
children: value
|
|
120
|
+
}), _jsx(TagsInputItemDeleteTrigger, {
|
|
121
|
+
children: _jsx(Cross, {})
|
|
122
|
+
})]
|
|
123
|
+
}), _jsx(TagsInputItemInput, {})]
|
|
124
|
+
}, value)), _jsx(ComboboxInput, {
|
|
125
|
+
asChild: true,
|
|
126
|
+
children: _jsx(TagsInputInput, {
|
|
127
|
+
...props,
|
|
128
|
+
onKeyDown: event => {
|
|
129
|
+
if (event.key === "Enter") {
|
|
130
|
+
tagsApi.addValue(tagsApi.inputValue);
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
ref: ref,
|
|
134
|
+
children: children
|
|
135
|
+
})
|
|
142
136
|
})]
|
|
143
137
|
});
|
|
144
|
-
};
|
|
145
|
-
export default TagSelector;
|
|
138
|
+
});
|
package/es/i18n/index.js
CHANGED
|
@@ -7,4 +7,5 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
export { i18nInstance } from "./i18n";
|
|
10
|
-
export { formatNestedMessages } from "./formatNestedMessages";
|
|
10
|
+
export { formatNestedMessages } from "./formatNestedMessages";
|
|
11
|
+
export { useComboboxTranslations, useTagSelectorTranslations, useTagsInputTranslations } from "./useComponentTranslations";
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2024-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
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { useTranslation } from "react-i18next";
|
|
10
|
+
export const useTagsInputTranslations = translations => {
|
|
11
|
+
const {
|
|
12
|
+
t
|
|
13
|
+
} = useTranslation("translation", {
|
|
14
|
+
keyPrefix: "component.tagsInput"
|
|
15
|
+
});
|
|
16
|
+
return {
|
|
17
|
+
clearTriggerLabel: t("clearTriggerLabel"),
|
|
18
|
+
deleteTagTriggerLabel: tag => t("deleteTagTriggerLabel", {
|
|
19
|
+
tag
|
|
20
|
+
}),
|
|
21
|
+
tagAdded: tag => t("tagAdded", {
|
|
22
|
+
tag
|
|
23
|
+
}),
|
|
24
|
+
tagsPasted: tag => t("tagsPasted", {
|
|
25
|
+
length: tag.length
|
|
26
|
+
}),
|
|
27
|
+
tagEdited: tag => t("tagEdited", {
|
|
28
|
+
tag
|
|
29
|
+
}),
|
|
30
|
+
tagUpdated: tag => t("tagUpdated", {
|
|
31
|
+
tag
|
|
32
|
+
}),
|
|
33
|
+
tagDeleted: tag => t("tagDeleted", {
|
|
34
|
+
tag
|
|
35
|
+
}),
|
|
36
|
+
tagSelected: tag => t("tagSelected", {
|
|
37
|
+
tag
|
|
38
|
+
}),
|
|
39
|
+
...translations
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export const useComboboxTranslations = translations => {
|
|
43
|
+
const {
|
|
44
|
+
t
|
|
45
|
+
} = useTranslation("translation", {
|
|
46
|
+
keyPrefix: "component.combobox"
|
|
47
|
+
});
|
|
48
|
+
return {
|
|
49
|
+
triggerLabel: t("triggerLabel"),
|
|
50
|
+
clearTriggerLabel: t("clearTriggerLabel"),
|
|
51
|
+
...translations
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
export const useTagSelectorTranslations = translations => {
|
|
55
|
+
const tagsInputTranslations = useTagsInputTranslations();
|
|
56
|
+
const comboboxTranslations = useComboboxTranslations();
|
|
57
|
+
return {
|
|
58
|
+
...comboboxTranslations,
|
|
59
|
+
...tagsInputTranslations,
|
|
60
|
+
...translations
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
export const usePaginationTranslations = translations => {
|
|
64
|
+
const {
|
|
65
|
+
t
|
|
66
|
+
} = useTranslation("translation", {
|
|
67
|
+
keyPrefix: "component.pagination"
|
|
68
|
+
});
|
|
69
|
+
return {
|
|
70
|
+
rootLabel: t("rootLabel"),
|
|
71
|
+
prevTriggerLabel: t("prevTriggerLabel"),
|
|
72
|
+
nextTriggerLabel: t("nextTriggerLabel"),
|
|
73
|
+
itemLabel: details => {
|
|
74
|
+
const lastPage = details.totalPages > 1 && details.page === details.totalPages;
|
|
75
|
+
return lastPage ? t("lastPage", {
|
|
76
|
+
page: details.page
|
|
77
|
+
}) : t("page", {
|
|
78
|
+
page: details.page
|
|
79
|
+
});
|
|
80
|
+
},
|
|
81
|
+
...translations
|
|
82
|
+
};
|
|
83
|
+
};
|
package/es/index.js
CHANGED
|
@@ -9,23 +9,18 @@
|
|
|
9
9
|
// Ignore typescript implicit any warning and export all javascript components
|
|
10
10
|
// Move components to this file when they are migrated to typescript
|
|
11
11
|
|
|
12
|
-
export {
|
|
13
|
-
export { default as FramedContent } from "./FramedContent";
|
|
14
|
-
export { ConceptNotionV2, ImageEmbed, getCrop, getFocalPoint, AudioEmbed, H5pEmbed, ExternalEmbed, IframeEmbed, FootnoteEmbed, BrightcoveEmbed, ContentLinkEmbed, RelatedContentEmbed, ConceptEmbed, ConceptListEmbed, UnknownEmbed, InlineConcept, BlockConcept, UuDisclaimerEmbed, CopyrightEmbed, CodeEmbed } from "./Embed";
|
|
12
|
+
export { ImageEmbed, getCrop, getFocalPoint, AudioEmbed, H5pEmbed, ExternalEmbed, IframeEmbed, FootnoteEmbed, BrightcoveEmbed, ContentLinkEmbed, RelatedContentEmbed, ConceptEmbed, ConceptListEmbed, UnknownEmbed, InlineConcept, BlockConcept, UuDisclaimerEmbed, CopyrightEmbed, CodeEmbed } from "./Embed";
|
|
15
13
|
export { LicenseLink, EmbedByline } from "./LicenseByline";
|
|
16
14
|
export { ArticleByline, ArticleFootNotes, ArticleIntroduction, ArticleTitle, ArticleWrapper, ArticleHeaderWrapper, default as Article, ArticleParagraph } from "./Article";
|
|
17
15
|
export { getPossiblyRelativeUrl } from "./utils/relativeUrl";
|
|
18
|
-
export { default as Table, TableStyling } from "./Table";
|
|
19
16
|
export { default as ContentLoader } from "./ContentLoader";
|
|
20
17
|
export { default as RelatedArticleList, RelatedArticle } from "./RelatedArticleList";
|
|
21
18
|
export { ErrorResourceAccessDenied, default as ErrorMessage } from "./ErrorMessage";
|
|
22
19
|
export { default as FileList, File, PdfFile, Format } from "./FileList";
|
|
23
20
|
export { default as Logo } from "./Logo";
|
|
24
21
|
export { default as FactBox } from "./FactBox";
|
|
25
|
-
export { default as Image, ImageLink, makeSrcQueryString } from "./Image";
|
|
26
22
|
export { SubjectMaterialHero, TasksAndActivitiesHero, AssessmentResourcesHero, SubjectHero, SourceMaterialHero, Hero, NdlaFilmHero, ConceptHero, HeroContent } from "./Hero";
|
|
27
23
|
export { FooterBlock } from "./Footer";
|
|
28
|
-
export { Figure } from "./Figure";
|
|
29
24
|
export { LanguageSelector } from "./LanguageSelector";
|
|
30
25
|
export { default as SearchResultSleeve } from "./Search/SearchResultSleeve";
|
|
31
26
|
export { default as ContentTypeResult } from "./Search/ContentTypeResult";
|
|
@@ -42,18 +37,16 @@ export { default as messagesEN } from "./locale/messages-en";
|
|
|
42
37
|
export { default as messagesSE } from "./locale/messages-se";
|
|
43
38
|
export { default as messagesSMA } from "./locale/messages-sma";
|
|
44
39
|
export { default as Breadcrumb, HomeBreadcrumb } from "./Breadcrumb";
|
|
45
|
-
export { i18nInstance, formatNestedMessages } from "./i18n";
|
|
40
|
+
export { i18nInstance, formatNestedMessages, useTagsInputTranslations, useTagSelectorTranslations, useComboboxTranslations } from "./i18n";
|
|
46
41
|
export { default as LayoutItem, OneColumn, PageContainer } from "./Layout";
|
|
47
42
|
export { default as ContentTypeBadge, SubjectMaterialBadge, TasksAndActivitiesBadge, AssessmentResourcesBadge, LearningPathBadge, SubjectBadge, SourceMaterialBadge, ConceptBadge } from "./ContentTypeBadge";
|
|
43
|
+
export { ContentTypeBadge as ContentTypeBadgeNew, contentTypeToBadgeVariantMap } from "./ContentTypeBadge/ContentTypeBadgeNew";
|
|
48
44
|
export { default as CopyParagraphButton } from "./CopyParagraphButton";
|
|
49
45
|
export { default as ContentPlaceholder } from "./ContentPlaceholder";
|
|
50
|
-
export {
|
|
51
|
-
export { TagSelector } from "./TagSelector";
|
|
46
|
+
export { TagSelectorRoot, TagSelectorLabel, TagSelectorItemInput, TagSelectorTrigger, TagSelectorControl, TagSelectorClearTrigger, TagSelectorInputBase, TagSelectorInput } from "./TagSelector/TagSelector";
|
|
52
47
|
export { SnackbarProvider, useSnack, BaseSnack, DefaultSnackbar } from "./SnackBar";
|
|
53
48
|
export { TreeStructure } from "./TreeStructure";
|
|
54
49
|
export { SearchField, SearchResultList, SearchResultItem, ActiveFilters } from "./Search";
|
|
55
|
-
export { default as LetterFilter } from "./LetterFilter";
|
|
56
|
-
export { OrderedList, UnOrderedList } from "./List";
|
|
57
50
|
export { BlogPostV2 } from "./BlogPost";
|
|
58
51
|
export { ProgrammeCard } from "./ProgrammeCard";
|
|
59
52
|
export { KeyFigure } from "./KeyFigure";
|
|
@@ -61,7 +54,6 @@ export { default as ContactBlock } from "./ContactBlock";
|
|
|
61
54
|
export { CampaignBlock } from "./CampaignBlock";
|
|
62
55
|
export { Grid, GridParallaxItem } from "./Grid";
|
|
63
56
|
export { default as FrontpageArticle, FRONTPAGE_ARTICLE_MAX_WIDTH, WIDE_FRONTPAGE_ARTICLE_MAX_WIDTH } from "./FrontpageArticle";
|
|
64
|
-
export { DefinitionTerm, DefinitionDescription } from "./DefinitionList";
|
|
65
57
|
export { Gloss, GlossExample } from "./Gloss";
|
|
66
58
|
export { LinkBlock, LinkBlockSection } from "./LinkBlock";
|
|
67
59
|
export { CodeBlock, codeLanguageOptions } from "./CodeBlock";
|
package/es/locale/messages-en.js
CHANGED
|
@@ -201,7 +201,7 @@ const messages = {
|
|
|
201
201
|
alphabeticSort: "Subjects grouped alphabetically",
|
|
202
202
|
subjectGroup: 'Group "{{ category }}"',
|
|
203
203
|
allSubjects: "All subjects",
|
|
204
|
-
myFavoriteSubjects: "
|
|
204
|
+
myFavoriteSubjects: "Your favorite subjects",
|
|
205
205
|
chooseSubject: "Choose subject",
|
|
206
206
|
errorDescription: "Sorry, an error occurred while loading the subjects.",
|
|
207
207
|
confirmRemove: "Are you sure you want to remove {{subject}} from your favorite subjects?",
|
|
@@ -324,7 +324,7 @@ const messages = {
|
|
|
324
324
|
useCompentenceGoalsFilter: "Use filter",
|
|
325
325
|
closeCompentenceGoalsFilter: "Close filter",
|
|
326
326
|
competenceGoalsNarrowBackButton: "Go back",
|
|
327
|
-
competenceGoalResourceSearchText: "View resources
|
|
327
|
+
competenceGoalResourceSearchText: "View resources for {{code}}",
|
|
328
328
|
coreResourceSearchText: "View resources to core element {{code}}",
|
|
329
329
|
competenceGoalShowExtra: "Show",
|
|
330
330
|
competenceGoalCloseExtra: "Hide",
|
|
@@ -566,7 +566,9 @@ const messages = {
|
|
|
566
566
|
audio: "Audio",
|
|
567
567
|
podcast: "Podcast",
|
|
568
568
|
h5p: "H5P",
|
|
569
|
-
video: "Video"
|
|
569
|
+
video: "Video",
|
|
570
|
+
missing: "Unknown",
|
|
571
|
+
external: "External"
|
|
570
572
|
},
|
|
571
573
|
modal: {
|
|
572
574
|
closeModal: "Close"
|
|
@@ -1387,6 +1389,7 @@ const messages = {
|
|
|
1387
1389
|
},
|
|
1388
1390
|
gloss: {
|
|
1389
1391
|
examples: "Examples",
|
|
1392
|
+
showExamples: "Show examples",
|
|
1390
1393
|
wordClass: "Word class",
|
|
1391
1394
|
play: "Play gloss",
|
|
1392
1395
|
transcriptions: {
|
|
@@ -1437,6 +1440,29 @@ const messages = {
|
|
|
1437
1440
|
about: {
|
|
1438
1441
|
menuTitle: "About NDLA"
|
|
1439
1442
|
},
|
|
1440
|
-
login: "Log in"
|
|
1443
|
+
login: "Log in",
|
|
1444
|
+
component: {
|
|
1445
|
+
tagsInput: {
|
|
1446
|
+
clearTriggerLabel: "Clear all tags",
|
|
1447
|
+
deleteTagTriggerLabel: "Remove tag {{tag}}",
|
|
1448
|
+
tagAdded: "Added tag {{tag}}",
|
|
1449
|
+
tagsPasted: "Pasted {{length}} tags",
|
|
1450
|
+
tagEdited: "Edited tag {{tag}}. Press enter to save, or escape to cancel.",
|
|
1451
|
+
tagUpdated: "Tag updated to {{tag}}",
|
|
1452
|
+
tagDeleted: "Tag {{tag}} deleted",
|
|
1453
|
+
tagSelected: "Tag {{tag}} selected. Press enter to edit. Press backspace or delete to delete."
|
|
1454
|
+
},
|
|
1455
|
+
combobox: {
|
|
1456
|
+
triggerLabel: "Show suggestions",
|
|
1457
|
+
clearTriggerLabel: "Clear selection"
|
|
1458
|
+
},
|
|
1459
|
+
pagination: {
|
|
1460
|
+
rootLabel: "Pagination",
|
|
1461
|
+
prevTriggerLabel: "Previous page",
|
|
1462
|
+
nextTriggerLabel: "Next page",
|
|
1463
|
+
lastPage: "Last page, page {{page}}",
|
|
1464
|
+
page: "Page {{page}}"
|
|
1465
|
+
}
|
|
1466
|
+
}
|
|
1441
1467
|
};
|
|
1442
1468
|
export default messages;
|
package/es/locale/messages-nb.js
CHANGED
|
@@ -201,7 +201,7 @@ const messages = {
|
|
|
201
201
|
alphabeticSort: "Fag gruppert alfabetisk",
|
|
202
202
|
subjectGroup: 'Gruppe "{{ category }}"',
|
|
203
203
|
allSubjects: "Alle fag",
|
|
204
|
-
myFavoriteSubjects: "
|
|
204
|
+
myFavoriteSubjects: "Dine favorittfag",
|
|
205
205
|
errorDescription: "Beklager, en feil oppstod under lasting av fagene.",
|
|
206
206
|
chooseSubject: "Velg fag",
|
|
207
207
|
confirmRemove: "Er du sikker på at du vil fjerne {{subject}} fra favorittfag?",
|
|
@@ -324,7 +324,7 @@ const messages = {
|
|
|
324
324
|
useCompentenceGoalsFilter: "Bruk filter",
|
|
325
325
|
closeCompentenceGoalsFilter: "Lukk filter",
|
|
326
326
|
competenceGoalsNarrowBackButton: "Tilbake",
|
|
327
|
-
competenceGoalResourceSearchText: "Vis ressurser til
|
|
327
|
+
competenceGoalResourceSearchText: "Vis ressurser til {{code}}",
|
|
328
328
|
coreResourceSearchText: "Vis ressurser til kjerneelement {{code}}",
|
|
329
329
|
competenceGoalShowExtra: "Vis støtte til læreplanen",
|
|
330
330
|
competenceGoalCloseExtra: "Skjul støtte til læreplanen",
|
|
@@ -566,7 +566,9 @@ const messages = {
|
|
|
566
566
|
audio: "Lyd",
|
|
567
567
|
podcast: "Podkast",
|
|
568
568
|
h5p: "H5P",
|
|
569
|
-
video: "Video"
|
|
569
|
+
video: "Video",
|
|
570
|
+
missing: "Ukjent",
|
|
571
|
+
external: "Ekstern"
|
|
570
572
|
},
|
|
571
573
|
modal: {
|
|
572
574
|
closeModal: "Lukk"
|
|
@@ -1387,6 +1389,7 @@ const messages = {
|
|
|
1387
1389
|
},
|
|
1388
1390
|
gloss: {
|
|
1389
1391
|
examples: "Eksempler",
|
|
1392
|
+
showExamples: "Vis eksempler",
|
|
1390
1393
|
wordClass: "Ordklasse",
|
|
1391
1394
|
play: "Spill av glose",
|
|
1392
1395
|
transcriptions: {
|
|
@@ -1437,6 +1440,29 @@ const messages = {
|
|
|
1437
1440
|
about: {
|
|
1438
1441
|
menuTitle: "Om NDLA"
|
|
1439
1442
|
},
|
|
1440
|
-
login: "Logg inn"
|
|
1443
|
+
login: "Logg inn",
|
|
1444
|
+
component: {
|
|
1445
|
+
tagsInput: {
|
|
1446
|
+
clearTriggerLabel: "Fjern alle emneknagger",
|
|
1447
|
+
deleteTagTriggerLabel: "Fjern emneknagg {{tag}}",
|
|
1448
|
+
tagAdded: "Emneknagg {{tag}} lagt til",
|
|
1449
|
+
tagsPasted: "Limte inn {{length}} emneknagger",
|
|
1450
|
+
tagEdited: "Redigerer emneknagg {{tag}}. Trykk enter for å lagre, eller esc for å avbryte.",
|
|
1451
|
+
tagUpdated: "Emneknagg oppdatert til {{tag}}",
|
|
1452
|
+
tagDeleted: "Emneknagg {{tag}} slettet",
|
|
1453
|
+
tagSelected: "Emneknagg {{tag}} valgt. Trykk enter for å redigere. Trykk backspace eller delete for å slette"
|
|
1454
|
+
},
|
|
1455
|
+
combobox: {
|
|
1456
|
+
triggerLabel: "Vis resultater",
|
|
1457
|
+
clearTriggerLabel: "Fjern valg"
|
|
1458
|
+
},
|
|
1459
|
+
pagination: {
|
|
1460
|
+
rootLabel: "Sidenavigering",
|
|
1461
|
+
prevTriggerLabel: "Forrige side",
|
|
1462
|
+
nextTriggerLabel: "Neste side",
|
|
1463
|
+
lastPage: "Siste side, side {{page}}",
|
|
1464
|
+
page: "Side {{page}}"
|
|
1465
|
+
}
|
|
1466
|
+
}
|
|
1441
1467
|
};
|
|
1442
1468
|
export default messages;
|
package/es/locale/messages-nn.js
CHANGED
|
@@ -201,7 +201,7 @@ const messages = {
|
|
|
201
201
|
alphabeticSort: "Fag gruppert alfabetisk",
|
|
202
202
|
subjectGroup: 'Gruppe "{{ category }}"',
|
|
203
203
|
allSubjects: "Alle fag",
|
|
204
|
-
myFavoriteSubjects: "Favorittfaga
|
|
204
|
+
myFavoriteSubjects: "Favorittfaga dine",
|
|
205
205
|
errorDescription: "Orsak, ein feil oppstod under lasting av faga.",
|
|
206
206
|
chooseSubject: "Vel fag",
|
|
207
207
|
confirmRemove: "Er du sikker på at du vil fjerne {{subject}} fra favorittfag?",
|
|
@@ -324,7 +324,7 @@ const messages = {
|
|
|
324
324
|
useCompentenceGoalsFilter: "Bruk filter",
|
|
325
325
|
closeCompentenceGoalsFilter: "Lukk filter",
|
|
326
326
|
competenceGoalsNarrowBackButton: "Tilbake",
|
|
327
|
-
competenceGoalResourceSearchText: "Vis ressursar til
|
|
327
|
+
competenceGoalResourceSearchText: "Vis ressursar til {{code}}",
|
|
328
328
|
coreResourceSearchText: "Vis ressursar til kjerneelement {{code}}",
|
|
329
329
|
competenceGoalShowExtra: "Vis støtte til læreplanen",
|
|
330
330
|
competenceGoalCloseExtra: "Skjul støtte til læreplanen",
|
|
@@ -566,7 +566,9 @@ const messages = {
|
|
|
566
566
|
audio: "Lyd",
|
|
567
567
|
podcast: "Podkast",
|
|
568
568
|
h5p: "H5P",
|
|
569
|
-
video: "Video"
|
|
569
|
+
video: "Video",
|
|
570
|
+
missing: "Ukjent",
|
|
571
|
+
external: "Ekstern"
|
|
570
572
|
},
|
|
571
573
|
modal: {
|
|
572
574
|
closeModal: "Lukk"
|
|
@@ -1387,6 +1389,7 @@ const messages = {
|
|
|
1387
1389
|
},
|
|
1388
1390
|
gloss: {
|
|
1389
1391
|
examples: "Eksempler",
|
|
1392
|
+
showExamples: "Vis eksempler",
|
|
1390
1393
|
wordClass: "Ordklasse",
|
|
1391
1394
|
play: "Spill av glose",
|
|
1392
1395
|
transcriptions: {
|
|
@@ -1437,6 +1440,29 @@ const messages = {
|
|
|
1437
1440
|
about: {
|
|
1438
1441
|
menuTitle: "Om NDLA"
|
|
1439
1442
|
},
|
|
1440
|
-
login: "Logg inn"
|
|
1443
|
+
login: "Logg inn",
|
|
1444
|
+
component: {
|
|
1445
|
+
tagsInput: {
|
|
1446
|
+
clearTriggerLabel: "Fjern alle emneknaggar",
|
|
1447
|
+
deleteTagTriggerLabel: "Fjern emneknagg {{tag}}",
|
|
1448
|
+
tagAdded: "Emneknagg {{tag}} lagt til",
|
|
1449
|
+
tagsPasted: "Limte inn {{length}} emneknaggar",
|
|
1450
|
+
tagEdited: "Redigerer emneknagg {{tag}}. Trykk enter for å lagre, eller esc for å avbryte.",
|
|
1451
|
+
tagUpdated: "Emneknagg oppdatret til {{tag}}",
|
|
1452
|
+
tagDeleted: "Emneknagg {{tag}} slettet",
|
|
1453
|
+
tagSelected: "Emneknagg {{tag}} valgt. Trykk enter for å redigere. Trykk backspace eller delete for å slette"
|
|
1454
|
+
},
|
|
1455
|
+
combobox: {
|
|
1456
|
+
triggerLabel: "Vis resultater",
|
|
1457
|
+
clearTriggerLabel: "Fjern valg"
|
|
1458
|
+
},
|
|
1459
|
+
pagination: {
|
|
1460
|
+
rootLabel: "Sidenavigering",
|
|
1461
|
+
prevTriggerLabel: "Førre side",
|
|
1462
|
+
nextTriggerLabel: "Neste side",
|
|
1463
|
+
lastPage: "Siste side, side {{page}}",
|
|
1464
|
+
page: "Side {{page}}"
|
|
1465
|
+
}
|
|
1466
|
+
}
|
|
1441
1467
|
};
|
|
1442
1468
|
export default messages;
|