@ndla/ui 34.3.4 → 34.3.6
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/ArticleByline.js +6 -5
- package/es/BlogPosts/BlogPost.js +6 -5
- package/es/CompetenceGoalTab/CompetenceGoalTab.js +4 -3
- package/es/Figure/Figure.js +1 -1
- package/es/Figure/FigureLicense.js +1 -1
- package/es/LearningPaths/LearningPathInformation.js +5 -4
- package/es/LearningPaths/LearningPathMenuAsideCopyright.js +4 -3
- package/es/MediaList/MediaList.js +2 -1
- package/es/locale/messages-en.js +13 -5
- package/es/locale/messages-nb.js +14 -6
- package/es/locale/messages-nn.js +15 -7
- package/es/locale/messages-se.js +16 -8
- package/es/locale/messages-sma.js +16 -8
- package/lib/Article/ArticleByline.js +6 -5
- package/lib/BlogPosts/BlogPost.js +6 -5
- package/lib/CompetenceGoalTab/CompetenceGoalTab.js +4 -3
- package/lib/Figure/Figure.js +2 -2
- package/lib/Figure/FigureLicense.js +2 -2
- package/lib/LearningPaths/LearningPathInformation.js +5 -4
- package/lib/LearningPaths/LearningPathMenuAsideCopyright.js +4 -3
- package/lib/MediaList/MediaList.js +2 -1
- package/lib/locale/messages-en.d.ts +12 -4
- package/lib/locale/messages-en.js +13 -5
- package/lib/locale/messages-nb.d.ts +12 -4
- package/lib/locale/messages-nb.js +14 -6
- package/lib/locale/messages-nn.d.ts +12 -4
- package/lib/locale/messages-nn.js +15 -7
- package/lib/locale/messages-se.d.ts +12 -4
- package/lib/locale/messages-se.js +16 -8
- package/lib/locale/messages-sma.d.ts +12 -4
- package/lib/locale/messages-sma.js +16 -8
- package/package.json +4 -4
- package/src/Article/ArticleByline.tsx +2 -1
- package/src/BlogPosts/BlogPost.tsx +2 -1
- package/src/CompetenceGoalTab/CompetenceGoalTab.tsx +2 -1
- package/src/Figure/Figure.tsx +1 -1
- package/src/Figure/FigureLicense.tsx +1 -1
- package/src/LearningPaths/LearningPathInformation.tsx +2 -1
- package/src/LearningPaths/LearningPathMenuAsideCopyright.tsx +2 -1
- package/src/MediaList/MediaList.tsx +1 -1
- package/src/locale/messages-en.ts +13 -5
- package/src/locale/messages-nb.ts +14 -6
- package/src/locale/messages-nn.ts +15 -7
- package/src/locale/messages-se.ts +16 -8
- package/src/locale/messages-sma.ts +16 -8
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
import React from 'react';
|
|
10
10
|
import styled from '@emotion/styled';
|
|
11
11
|
import { fonts, spacing, spacingUnit, breakpoints, mq, colors } from '@ndla/core';
|
|
12
|
-
import { getLicenseByAbbreviation
|
|
12
|
+
import { getLicenseByAbbreviation } from '@ndla/licenses';
|
|
13
|
+
import { LicenseByline } from '@ndla/notion';
|
|
13
14
|
|
|
14
15
|
type StyledWrapperProps = {
|
|
15
16
|
invertedStyle?: boolean;
|
|
@@ -10,7 +10,8 @@ import React from 'react';
|
|
|
10
10
|
import styled from '@emotion/styled';
|
|
11
11
|
import { User } from '@ndla/icons/common';
|
|
12
12
|
import { spacing, fonts, colors } from '@ndla/core';
|
|
13
|
-
import { getLicenseByAbbreviation
|
|
13
|
+
import { getLicenseByAbbreviation } from '@ndla/licenses';
|
|
14
|
+
import { LicenseByline } from '@ndla/notion';
|
|
14
15
|
|
|
15
16
|
const StyledLearningPathDetails = styled.div`
|
|
16
17
|
${fonts.sizes(14, 1.1)};
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
|
|
9
9
|
import React, { ReactNode } from 'react';
|
|
10
10
|
import {
|
|
11
|
-
LicenseDescription,
|
|
12
11
|
getLicenseByAbbreviation,
|
|
13
12
|
getResourceTypeNamespace,
|
|
14
13
|
isCreativeCommonsLicense,
|
|
15
14
|
metaTypes,
|
|
16
15
|
} from '@ndla/licenses';
|
|
16
|
+
import { LicenseDescription } from '@ndla/notion';
|
|
17
17
|
import BEMHelper from 'react-bem-helper';
|
|
18
18
|
import { uuid } from '@ndla/util';
|
|
19
19
|
|
|
@@ -338,13 +338,21 @@ const messages = {
|
|
|
338
338
|
film: 'NDLA Film',
|
|
339
339
|
about: {
|
|
340
340
|
title: 'About NDLA',
|
|
341
|
-
|
|
342
|
-
organization: 'The organization',
|
|
343
|
-
numbers: 'Numbers and usage',
|
|
341
|
+
numbers: 'Numbers and reports',
|
|
344
342
|
keyPersonnel: 'Key personnel',
|
|
345
343
|
vacancies: 'Vacancies',
|
|
346
|
-
|
|
347
|
-
|
|
344
|
+
vision: 'Vision and values',
|
|
345
|
+
communityPurpose: 'Our community mission',
|
|
346
|
+
history: 'NDLAs history',
|
|
347
|
+
cooperation: 'Our cooperations',
|
|
348
|
+
faq: 'Frequently asked questions',
|
|
349
|
+
follow: 'Follow us on social media',
|
|
350
|
+
whoAreWe: 'Who are we?',
|
|
351
|
+
whatWeDo: 'What do we do?',
|
|
352
|
+
careers: 'Come work with us',
|
|
353
|
+
contactUs: 'Contact us',
|
|
354
|
+
organizing: 'Organizing',
|
|
355
|
+
articlesOfAssociation: 'Article of associations',
|
|
348
356
|
},
|
|
349
357
|
},
|
|
350
358
|
menu: {
|
|
@@ -337,13 +337,21 @@ const messages = {
|
|
|
337
337
|
film: 'NDLA Film',
|
|
338
338
|
about: {
|
|
339
339
|
title: 'Om NDLA',
|
|
340
|
-
|
|
341
|
-
organization: 'Organisasjonen',
|
|
342
|
-
numbers: 'Tall og bruk',
|
|
340
|
+
numbers: 'Tall og rapporter',
|
|
343
341
|
keyPersonnel: 'Nøkkelpersoner',
|
|
344
|
-
vacancies: '
|
|
345
|
-
|
|
346
|
-
|
|
342
|
+
vacancies: 'Utlysninger',
|
|
343
|
+
vision: 'Visjon og verdier',
|
|
344
|
+
communityPurpose: 'Vårt samfunnsoppdrag',
|
|
345
|
+
history: 'NDLAs historie',
|
|
346
|
+
cooperation: 'Våre samarbeid',
|
|
347
|
+
faq: 'Ofte stilte spørsmål',
|
|
348
|
+
follow: 'Følg våre sosiale medier',
|
|
349
|
+
whoAreWe: 'Hvem er vi?',
|
|
350
|
+
whatWeDo: 'Hva gjør vi?',
|
|
351
|
+
careers: 'Jobb hos oss',
|
|
352
|
+
contactUs: 'Kontakt oss',
|
|
353
|
+
organizing: 'Organisering',
|
|
354
|
+
articlesOfAssociation: 'Vedtekter',
|
|
347
355
|
},
|
|
348
356
|
},
|
|
349
357
|
menu: {
|
|
@@ -337,13 +337,21 @@ const messages = {
|
|
|
337
337
|
film: 'NDLA Film',
|
|
338
338
|
about: {
|
|
339
339
|
title: 'Om NDLA',
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
340
|
+
numbers: 'Tall og rapporter',
|
|
341
|
+
keyPersonnel: 'Nøkkelpersoner',
|
|
342
|
+
vacancies: 'Utlysninger',
|
|
343
|
+
vision: 'Visjon og verdier',
|
|
344
|
+
communityPurpose: 'Vårt samfunnsoppdrag',
|
|
345
|
+
history: 'NDLAs historie',
|
|
346
|
+
cooperation: 'Vår samarbeid',
|
|
347
|
+
faq: 'Ofte stilte spørsmål',
|
|
348
|
+
follow: 'Følg våre sosiale medier',
|
|
349
|
+
whoAreWe: 'Hvem er vi?',
|
|
350
|
+
whatWeDo: 'Hva gjør vi?',
|
|
351
|
+
careers: 'Jobb hos oss',
|
|
352
|
+
contactUs: 'Kontakt oss',
|
|
353
|
+
organizing: 'Organisering',
|
|
354
|
+
articlesOfAssociation: 'Vedtekter',
|
|
347
355
|
},
|
|
348
356
|
},
|
|
349
357
|
menu: {
|
|
@@ -337,14 +337,22 @@ const messages = {
|
|
|
337
337
|
toolboxTeachers: 'Reaidokássa - oahpaheddjiide',
|
|
338
338
|
film: 'NDLA Filbma',
|
|
339
339
|
about: {
|
|
340
|
-
title: 'NDLA
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
340
|
+
title: 'Om NDLA',
|
|
341
|
+
numbers: 'Tall og rapporter',
|
|
342
|
+
keyPersonnel: 'Nøkkelpersoner',
|
|
343
|
+
vacancies: 'Utlysninger',
|
|
344
|
+
vision: 'Visjon og verdier',
|
|
345
|
+
communityPurpose: 'Vårt samfunnsoppdrag',
|
|
346
|
+
history: 'NDLAs historie',
|
|
347
|
+
cooperation: 'Våre samarbeid',
|
|
348
|
+
faq: 'Ofte stilte spørsmål',
|
|
349
|
+
follow: 'Følg våre sosiale medier',
|
|
350
|
+
whoAreWe: 'Hvem er vi?',
|
|
351
|
+
whatWeDo: 'Hva gjør vi?',
|
|
352
|
+
careers: 'Jobb hos oss',
|
|
353
|
+
contactUs: 'Kontakt oss',
|
|
354
|
+
organizing: 'Organisering',
|
|
355
|
+
articlesOfAssociation: 'Vedtekter',
|
|
348
356
|
},
|
|
349
357
|
},
|
|
350
358
|
menu: {
|
|
@@ -336,14 +336,22 @@ const messages = {
|
|
|
336
336
|
toolboxTeachers: 'Verktøykassa - for lærere',
|
|
337
337
|
film: 'NDLA Film',
|
|
338
338
|
about: {
|
|
339
|
-
title: 'NDLA
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
339
|
+
title: 'Om NDLA',
|
|
340
|
+
numbers: 'Tall og rapporter',
|
|
341
|
+
keyPersonnel: 'Nøkkelpersoner',
|
|
342
|
+
vacancies: 'Utlysninger',
|
|
343
|
+
vision: 'Visjon og verdier',
|
|
344
|
+
communityPurpose: 'Vårt samfunnsoppdrag',
|
|
345
|
+
history: 'NDLAs historie',
|
|
346
|
+
cooperation: 'Våre samarbeid',
|
|
347
|
+
faq: 'Ofte stilte spørsmål',
|
|
348
|
+
follow: 'Følg våre sosiale medier',
|
|
349
|
+
whoAreWe: 'Hvem er vi?',
|
|
350
|
+
whatWeDo: 'Hva gjør vi?',
|
|
351
|
+
careers: 'Jobb hos oss',
|
|
352
|
+
contactUs: 'Kontakt oss',
|
|
353
|
+
organizing: 'Organisering',
|
|
354
|
+
articlesOfAssociation: 'Vedtekter',
|
|
347
355
|
},
|
|
348
356
|
},
|
|
349
357
|
menu: {
|