@ndla/ui 50.11.2 → 50.11.3
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/AudioPlayer/AudioPlayer.js +13 -13
- package/es/AudioPlayer/SpeechControl.js +1 -1
- package/es/BannerCard/BannerCard.js +8 -8
- package/es/BlogPost/BlogPost.js +5 -5
- package/es/Breadcrumb/BreadcrumbItem.js +7 -7
- package/es/Breadcrumb/HeaderBreadcrumb.js +4 -4
- package/es/Breadcrumb/HomeBreadcrumb.js +7 -7
- package/es/CampaignBlock/CampaignBlock.js +7 -7
- package/es/CompetenceGoalTab/CompetenceGoalTab.js +4 -4
- package/es/CopyParagraphButton/CopyParagraphButton.js +3 -3
- package/es/CreatedBy/CreatedBy.js +5 -5
- package/es/Embed/ConceptEmbed.js +8 -8
- package/es/Embed/UuDisclaimerEmbed.js +4 -4
- package/es/ErrorMessage/ErrorMessage.js +7 -7
- package/es/FileList/Format.js +6 -6
- package/es/Footer/FooterLinks.js +8 -8
- package/es/Frontpage/FrontpageAllSubjects.js +9 -9
- package/es/LearningPaths/LearningPathLastStepNavigation.js +5 -5
- package/es/LearningPaths/LearningPathMenu.js +4 -4
- package/es/LearningPaths/LearningPathMenuContent.js +6 -6
- package/es/LearningPaths/LearningPathSticky.js +4 -4
- package/es/LicenseByline/LicenseLink.js +3 -3
- package/es/LinkBlock/LinkBlock.js +6 -6
- package/es/Logo/Logo.js +4 -4
- package/es/MediaList/MediaList.js +10 -10
- package/es/NDLAFilm/AllMoviesAlphabetically.js +10 -10
- package/es/NDLAFilm/FilmContentCard.js +5 -5
- package/es/NDLAFilm/FilmMovieSearch.js +4 -4
- package/es/NDLAFilm/FilmSlideshow.js +8 -8
- package/es/ProgrammeCard/ProgrammeCard.js +4 -4
- package/es/RelatedArticleList/RelatedArticleList.js +8 -8
- package/es/Resource/resourceComponents.js +12 -12
- package/es/ResourceGroup/ResourceItem.js +9 -9
- package/es/ResourcesWrapper/ResourcesTopicTitle.js +13 -13
- package/es/Search/ActiveFilters.js +7 -7
- package/es/Search/ContentTypeResult.js +3 -3
- package/es/Search/SearchResult.js +12 -12
- package/es/Search/SearchResultSleeve.js +9 -9
- package/es/SearchTypeResult/ActiveFilters.js +7 -7
- package/es/SearchTypeResult/SearchItem.js +7 -7
- package/es/SearchTypeResult/SearchItemList.js +12 -12
- package/es/SearchTypeResult/SearchSubjectItem.js +4 -4
- package/es/SearchTypeResult/components/ItemContexts.js +6 -6
- package/es/TreeStructure/AddFolderButton.js +3 -3
- package/es/TreeStructure/FolderItem.js +8 -8
- package/es/locale/messages-en.js +13 -4
- package/es/locale/messages-nb.js +13 -4
- package/es/locale/messages-nn.js +14 -5
- package/es/locale/messages-se.js +13 -4
- package/es/locale/messages-sma.js +13 -4
- package/lib/AudioPlayer/AudioPlayer.js +14 -14
- package/lib/AudioPlayer/SpeechControl.js +2 -3
- package/lib/BannerCard/BannerCard.js +9 -9
- package/lib/BlogPost/BlogPost.js +6 -6
- package/lib/Breadcrumb/BreadcrumbItem.js +8 -8
- package/lib/Breadcrumb/HeaderBreadcrumb.js +5 -5
- package/lib/Breadcrumb/HomeBreadcrumb.js +9 -9
- package/lib/CampaignBlock/CampaignBlock.js +8 -8
- package/lib/CompetenceGoalTab/CompetenceGoalTab.js +7 -7
- package/lib/CopyParagraphButton/CopyParagraphButton.js +4 -4
- package/lib/CreatedBy/CreatedBy.js +6 -6
- package/lib/Embed/ConceptEmbed.js +9 -9
- package/lib/Embed/UuDisclaimerEmbed.js +5 -5
- package/lib/ErrorMessage/ErrorMessage.js +10 -10
- package/lib/FileList/Format.js +7 -7
- package/lib/Footer/FooterLinks.js +9 -9
- package/lib/Frontpage/FrontpageAllSubjects.js +11 -11
- package/lib/LearningPaths/LearningPathLastStepNavigation.js +7 -7
- package/lib/LearningPaths/LearningPathMenu.js +5 -5
- package/lib/LearningPaths/LearningPathMenuContent.js +7 -7
- package/lib/LearningPaths/LearningPathSticky.js +5 -5
- package/lib/LicenseByline/LicenseLink.js +4 -4
- package/lib/LinkBlock/LinkBlock.js +7 -7
- package/lib/Logo/Logo.js +5 -5
- package/lib/MediaList/MediaList.js +12 -12
- package/lib/NDLAFilm/AllMoviesAlphabetically.js +11 -11
- package/lib/NDLAFilm/FilmContentCard.js +6 -6
- package/lib/NDLAFilm/FilmMovieSearch.js +5 -5
- package/lib/NDLAFilm/FilmSlideshow.js +9 -9
- package/lib/ProgrammeCard/ProgrammeCard.js +5 -5
- package/lib/RelatedArticleList/RelatedArticleList.js +9 -9
- package/lib/Resource/resourceComponents.js +14 -16
- package/lib/ResourceGroup/ResourceItem.js +10 -10
- package/lib/ResourcesWrapper/ResourcesTopicTitle.js +14 -14
- package/lib/Search/ActiveFilters.js +8 -8
- package/lib/Search/ContentTypeResult.js +5 -5
- package/lib/Search/SearchResult.js +15 -15
- package/lib/Search/SearchResultSleeve.js +10 -10
- package/lib/SearchTypeResult/ActiveFilters.js +9 -9
- package/lib/SearchTypeResult/SearchItem.js +8 -8
- package/lib/SearchTypeResult/SearchItemList.js +13 -13
- package/lib/SearchTypeResult/SearchSubjectItem.js +5 -5
- package/lib/SearchTypeResult/components/ItemContexts.js +7 -7
- package/lib/TreeStructure/AddFolderButton.js +4 -4
- package/lib/TreeStructure/FolderItem.js +9 -9
- package/lib/locale/messages-en.d.ts +9 -0
- package/lib/locale/messages-en.js +13 -4
- package/lib/locale/messages-nb.d.ts +9 -0
- package/lib/locale/messages-nb.js +13 -4
- package/lib/locale/messages-nn.d.ts +9 -0
- package/lib/locale/messages-nn.js +14 -5
- package/lib/locale/messages-se.d.ts +9 -0
- package/lib/locale/messages-se.js +13 -4
- package/lib/locale/messages-sma.d.ts +9 -0
- package/lib/locale/messages-sma.js +13 -4
- package/package.json +13 -13
- package/src/AudioPlayer/AudioPlayer.tsx +1 -1
- package/src/AudioPlayer/SpeechControl.tsx +1 -1
- package/src/BannerCard/BannerCard.tsx +1 -1
- package/src/BlogPost/BlogPost.tsx +1 -1
- package/src/Breadcrumb/BreadcrumbItem.tsx +1 -1
- package/src/Breadcrumb/HeaderBreadcrumb.tsx +1 -1
- package/src/Breadcrumb/HomeBreadcrumb.tsx +1 -1
- package/src/CampaignBlock/CampaignBlock.tsx +1 -1
- package/src/CompetenceGoalTab/CompetenceGoalTab.tsx +2 -2
- package/src/CopyParagraphButton/CopyParagraphButton.tsx +1 -1
- package/src/CreatedBy/CreatedBy.tsx +1 -1
- package/src/Embed/ConceptEmbed.tsx +1 -1
- package/src/Embed/UuDisclaimerEmbed.tsx +1 -1
- package/src/ErrorMessage/ErrorMessage.tsx +1 -1
- package/src/FileList/Format.tsx +1 -1
- package/src/Footer/FooterLinks.tsx +1 -1
- package/src/Frontpage/FrontpageAllSubjects.tsx +2 -2
- package/src/LearningPaths/LearningPathLastStepNavigation.tsx +1 -1
- package/src/LearningPaths/LearningPathMenu.tsx +1 -1
- package/src/LearningPaths/LearningPathMenuContent.tsx +1 -1
- package/src/LearningPaths/LearningPathSticky.tsx +1 -1
- package/src/LicenseByline/LicenseLink.tsx +1 -1
- package/src/LinkBlock/LinkBlock.tsx +1 -1
- package/src/Logo/Logo.tsx +1 -1
- package/src/MediaList/MediaList.tsx +1 -1
- package/src/NDLAFilm/AllMoviesAlphabetically.tsx +1 -1
- package/src/NDLAFilm/FilmContentCard.tsx +1 -1
- package/src/NDLAFilm/FilmMovieSearch.tsx +1 -1
- package/src/NDLAFilm/FilmSlideshow.tsx +1 -1
- package/src/ProgrammeCard/ProgrammeCard.tsx +1 -1
- package/src/RelatedArticleList/RelatedArticleList.tsx +1 -1
- package/src/Resource/resourceComponents.tsx +1 -1
- package/src/ResourceGroup/ResourceItem.tsx +1 -1
- package/src/ResourcesWrapper/ResourcesTopicTitle.tsx +1 -1
- package/src/Search/ActiveFilters.tsx +1 -1
- package/src/Search/ContentTypeResult.tsx +2 -2
- package/src/Search/SearchResult.tsx +2 -2
- package/src/Search/SearchResultSleeve.tsx +1 -1
- package/src/SearchTypeResult/ActiveFilters.tsx +1 -1
- package/src/SearchTypeResult/SearchItem.tsx +1 -1
- package/src/SearchTypeResult/SearchItemList.tsx +1 -1
- package/src/SearchTypeResult/SearchSubjectItem.tsx +1 -1
- package/src/SearchTypeResult/components/ItemContexts.tsx +1 -1
- package/src/TreeStructure/AddFolderButton.tsx +1 -1
- package/src/TreeStructure/FolderItem.tsx +1 -1
- package/src/locale/messages-en.ts +15 -3
- package/src/locale/messages-nb.ts +15 -3
- package/src/locale/messages-nn.ts +15 -4
- package/src/locale/messages-se.ts +15 -3
- package/src/locale/messages-sma.ts +15 -3
|
@@ -1181,18 +1181,21 @@ const messages = {
|
|
|
1181
1181
|
willOpenInNewTab: "Opnast i ny fane."
|
|
1182
1182
|
},
|
|
1183
1183
|
myPage: {
|
|
1184
|
-
noRecents: "Du har ikkje lagt til nokon
|
|
1184
|
+
noRecents: "Du har ikkje lagt til nokon ressursar enno. Slik kjem du i gang:",
|
|
1185
1185
|
imageAlt: "Halvnært bilete av jente som held eit nettbrett i hendene. Oppå nettbrettet ligg det ei samling fargeprøver i ulike former og fargar. Grafikk.",
|
|
1186
1186
|
confirmDeleteAccount: "Er du sikker på at du vil slette kontoen?",
|
|
1187
1187
|
confirmDeleteAccountButton: "Slett konto",
|
|
1188
1188
|
myPage: "Mi side",
|
|
1189
1189
|
deleteAccount: "Slett Min NDLA",
|
|
1190
|
+
loginPitch: "Velkommen til Min NDLA! Her kan du lagre favorittressursane dine frå NDLA, organisere dei og dele dei med andre. Logg inn med din Feide-konto for å komme i gang.",
|
|
1191
|
+
loginPitchButton: "Logg inn i Min NDLA",
|
|
1190
1192
|
logout: "Logg ut av Min NDLA",
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
+
loginIngress: "Her kan du organisere fagstoffet på <b>din</b> måte! Bruk hjarteknappen for å markere favorittfaga eller favorittressursane dine og enkelt finne de igjen.",
|
|
1194
|
+
loginText: "For å kunne bruke tjenesten Min NDLA må du vere elev eller jobbe på ein skule i eit fylke som er med i NDLA-samarbeidet.",
|
|
1195
|
+
loginTextLink: "Les vår personvernerklæring her",
|
|
1193
1196
|
loginTerms: "Logg på med Feide for å få tilgang. Ved å logge på godkjennar du våre vilkår for bruk",
|
|
1194
1197
|
loginResourcePitch: "Ønsker du å favorittmerke denne resursen?",
|
|
1195
|
-
loginWelcome: "Velkommen til NDLA!
|
|
1198
|
+
loginWelcome: "Velkommen til Min NDLA!",
|
|
1196
1199
|
welcome: "Velkommen til Min NDLA! No kan du lagre favorittressursane dine frå NDLA og organisere dei i mapper og med emneknaggar.",
|
|
1197
1200
|
read: {
|
|
1198
1201
|
read: "Les",
|
|
@@ -1213,7 +1216,13 @@ const messages = {
|
|
|
1213
1216
|
},
|
|
1214
1217
|
recentFavourites: {
|
|
1215
1218
|
title: "Nyleg lagt til i mappene mine",
|
|
1216
|
-
link: "Sjå alle mappene dine"
|
|
1219
|
+
link: "Sjå alle mappene dine",
|
|
1220
|
+
search: "Søk etter ressursar",
|
|
1221
|
+
unauthorized: "Oops. Her var det tomt! Hjartemerk nokre ressursar for å sjå dei her."
|
|
1222
|
+
},
|
|
1223
|
+
favouriteSubjects: {
|
|
1224
|
+
noFavorites: "Ingen favorittfag? Bruk hjarteknappen for å legge til favorittfag, så finn du dei enkelt att!",
|
|
1225
|
+
search: "Sjå alle fag"
|
|
1217
1226
|
},
|
|
1218
1227
|
recentArenaPosts: {
|
|
1219
1228
|
title: "Nye innlegg i arenaen",
|
|
@@ -1168,7 +1168,10 @@ declare const messages: {
|
|
|
1168
1168
|
confirmDeleteAccountButton: string;
|
|
1169
1169
|
myPage: string;
|
|
1170
1170
|
deleteAccount: string;
|
|
1171
|
+
loginPitch: string;
|
|
1172
|
+
loginPitchButton: string;
|
|
1171
1173
|
logout: string;
|
|
1174
|
+
loginIngress: string;
|
|
1172
1175
|
loginText: string;
|
|
1173
1176
|
loginTextLink: string;
|
|
1174
1177
|
loginTerms: string;
|
|
@@ -1195,6 +1198,12 @@ declare const messages: {
|
|
|
1195
1198
|
recentFavourites: {
|
|
1196
1199
|
title: string;
|
|
1197
1200
|
link: string;
|
|
1201
|
+
search: string;
|
|
1202
|
+
unauthorized: string;
|
|
1203
|
+
};
|
|
1204
|
+
favouriteSubjects: {
|
|
1205
|
+
noFavorites: string;
|
|
1206
|
+
search: string;
|
|
1198
1207
|
};
|
|
1199
1208
|
recentArenaPosts: {
|
|
1200
1209
|
title: string;
|
|
@@ -1187,12 +1187,15 @@ const messages = {
|
|
|
1187
1187
|
confirmDeleteAccountButton: "Slett konto",
|
|
1188
1188
|
myPage: "Min side",
|
|
1189
1189
|
deleteAccount: "Slett Min NDLA",
|
|
1190
|
+
loginPitch: "Velkommen til Min NDLA! Her kan du lagre favorittressursene dine fra NDLA, organisere dem og dele dem med andre. Logg inn med din Feide-konto for å komme i gang.",
|
|
1191
|
+
loginPitchButton: "Logg inn i Min NDLA",
|
|
1190
1192
|
logout: "Logg ut av Min NDLA",
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
+
loginIngress: "Her kan du organisere fagstoffet på <b>din</b> måte! Bruk hjerteknappen til å markere dine favorittfag eller ressurser, og finne dem enkelt igjen.",
|
|
1194
|
+
loginText: "For å kunne bruke tjenesten Min NDLA må du være elev eller jobbe på en skole i et fylke som er med i NDLA-samarbeidet.",
|
|
1195
|
+
loginTextLink: "Les vår personvernerklæring her",
|
|
1193
1196
|
loginTerms: "Logg på med Feide for å få tilgang. Ved å logge på godkjenner du våre vilkår for bruk",
|
|
1194
1197
|
loginResourcePitch: "Ønsker du å favorittmerke denne ressursen?",
|
|
1195
|
-
loginWelcome: "Velkommen til NDLA!
|
|
1198
|
+
loginWelcome: "Velkommen til Min NDLA!",
|
|
1196
1199
|
welcome: "Velkommen til Min NDLA! Nå kan du lagre favorittressursene dine fra NDLA og organisere dem i mapper og med emneknagger.",
|
|
1197
1200
|
read: {
|
|
1198
1201
|
read: "Les",
|
|
@@ -1213,7 +1216,13 @@ const messages = {
|
|
|
1213
1216
|
},
|
|
1214
1217
|
recentFavourites: {
|
|
1215
1218
|
title: "Nylig lagt til i mine mapper",
|
|
1216
|
-
link: "Se alle mappene dine"
|
|
1219
|
+
link: "Se alle mappene dine",
|
|
1220
|
+
search: "Søk etter ressurser",
|
|
1221
|
+
unauthorized: "Oops. Her var det tomt! Hjertemerk noen ressurser for å vise dem her."
|
|
1222
|
+
},
|
|
1223
|
+
favouriteSubjects: {
|
|
1224
|
+
noFavorites: "Ingen favorittfag? Bruk hjerteknappen for å legge til favorittfag, så finner du dem enkelt igjen!",
|
|
1225
|
+
search: "Se alle fag"
|
|
1217
1226
|
},
|
|
1218
1227
|
recentArenaPosts: {
|
|
1219
1228
|
title: "Nye innlegg i arenaen",
|
|
@@ -1168,7 +1168,10 @@ declare const messages: {
|
|
|
1168
1168
|
confirmDeleteAccountButton: string;
|
|
1169
1169
|
myPage: string;
|
|
1170
1170
|
deleteAccount: string;
|
|
1171
|
+
loginPitch: string;
|
|
1172
|
+
loginPitchButton: string;
|
|
1171
1173
|
logout: string;
|
|
1174
|
+
loginIngress: string;
|
|
1172
1175
|
loginText: string;
|
|
1173
1176
|
loginTextLink: string;
|
|
1174
1177
|
loginTerms: string;
|
|
@@ -1195,6 +1198,12 @@ declare const messages: {
|
|
|
1195
1198
|
recentFavourites: {
|
|
1196
1199
|
title: string;
|
|
1197
1200
|
link: string;
|
|
1201
|
+
search: string;
|
|
1202
|
+
unauthorized: string;
|
|
1203
|
+
};
|
|
1204
|
+
favouriteSubjects: {
|
|
1205
|
+
noFavorites: string;
|
|
1206
|
+
search: string;
|
|
1198
1207
|
};
|
|
1199
1208
|
recentArenaPosts: {
|
|
1200
1209
|
title: string;
|
|
@@ -1187,12 +1187,15 @@ const messages = {
|
|
|
1187
1187
|
confirmDeleteAccountButton: "Slett konto",
|
|
1188
1188
|
myPage: "Min side",
|
|
1189
1189
|
deleteAccount: "Slett Min NDLA",
|
|
1190
|
+
loginPitch: "Velkommen til Min NDLA! Her kan du lagre favorittressursene dine fra NDLA, organisere dem og dele dem med andre. Logg inn med din Feide-konto for å komme i gang.",
|
|
1191
|
+
loginPitchButton: "Logg inn i Min NDLA",
|
|
1190
1192
|
logout: "Logg ut av Min NDLA",
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
+
loginIngress: "Her kan du organisere fagstoffet på <b>din</b> måte! Bruk hjerteknappen til å markere dine favorittfag eller ressurser, og finne dem enkelt igjen.",
|
|
1194
|
+
loginText: "For å kunne bruke tjenesten Min NDLA må du være elev eller jobbe på en skole i et fylke som er med i NDLA-samarbeidet.",
|
|
1195
|
+
loginTextLink: "Les vår personvernerklæring her",
|
|
1193
1196
|
loginTerms: "Logg på med Feide for å få tilgang. Ved å logge på godkjenner du våre vilkår for bruk",
|
|
1194
1197
|
loginResourcePitch: "Ønsker du å favorittmerke denne ressursen?",
|
|
1195
|
-
loginWelcome: "Velkommen til NDLA!
|
|
1198
|
+
loginWelcome: "Velkommen til Min NDLA!",
|
|
1196
1199
|
welcome: "Velkommen til Min NDLA! Nå kan du lagre favorittressursene dine fra NDLA og organisere dem i mapper og med emneknagger.",
|
|
1197
1200
|
read: {
|
|
1198
1201
|
read: "Les",
|
|
@@ -1213,7 +1216,13 @@ const messages = {
|
|
|
1213
1216
|
},
|
|
1214
1217
|
recentFavourites: {
|
|
1215
1218
|
title: "Nylig lagt til i mine mapper",
|
|
1216
|
-
link: "Se alle mappene dine"
|
|
1219
|
+
link: "Se alle mappene dine",
|
|
1220
|
+
search: "Søk etter ressurser",
|
|
1221
|
+
unauthorized: "Oops. Her var det tomt! Hjertemerk noen ressurser for å vise dem her."
|
|
1222
|
+
},
|
|
1223
|
+
favouriteSubjects: {
|
|
1224
|
+
noFavorites: "Ingen favorittfag? Bruk hjerteknappen for å legge til favorittfag, så finner du dem enkelt igjen!",
|
|
1225
|
+
search: "Se alle fag"
|
|
1217
1226
|
},
|
|
1218
1227
|
recentArenaPosts: {
|
|
1219
1228
|
title: "Nye innlegg i arenaen",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ndla/ui",
|
|
3
|
-
"version": "50.11.
|
|
3
|
+
"version": "50.11.3",
|
|
4
4
|
"description": "UI component library for NDLA.",
|
|
5
5
|
"license": "GPL-3.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -31,22 +31,22 @@
|
|
|
31
31
|
"types"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@ndla/accordion": "^3.0.
|
|
35
|
-
"@ndla/button": "^12.0.
|
|
36
|
-
"@ndla/carousel": "^4.0.
|
|
34
|
+
"@ndla/accordion": "^3.0.35",
|
|
35
|
+
"@ndla/button": "^12.0.38",
|
|
36
|
+
"@ndla/carousel": "^4.0.36",
|
|
37
37
|
"@ndla/core": "^4.5.0",
|
|
38
38
|
"@ndla/dropdown-menu": "^1.0.31",
|
|
39
|
-
"@ndla/forms": "^7.0.
|
|
39
|
+
"@ndla/forms": "^7.0.7",
|
|
40
40
|
"@ndla/hooks": "^2.1.5",
|
|
41
|
-
"@ndla/icons": "^
|
|
41
|
+
"@ndla/icons": "^6.0.0",
|
|
42
42
|
"@ndla/licenses": "^7.2.5",
|
|
43
|
-
"@ndla/modal": "^5.0.
|
|
44
|
-
"@ndla/notion": "^6.0.
|
|
45
|
-
"@ndla/safelink": "^
|
|
46
|
-
"@ndla/select": "^3.3.
|
|
43
|
+
"@ndla/modal": "^5.0.35",
|
|
44
|
+
"@ndla/notion": "^6.0.36",
|
|
45
|
+
"@ndla/safelink": "^5.0.0",
|
|
46
|
+
"@ndla/select": "^3.3.10",
|
|
47
47
|
"@ndla/switch": "^1.1.37",
|
|
48
|
-
"@ndla/tabs": "^
|
|
49
|
-
"@ndla/tooltip": "^
|
|
48
|
+
"@ndla/tabs": "^4.0.0",
|
|
49
|
+
"@ndla/tooltip": "^7.0.0",
|
|
50
50
|
"@ndla/typography": "^0.4.14",
|
|
51
51
|
"@ndla/util": "^4.0.4",
|
|
52
52
|
"@radix-ui/react-popover": "^1.0.7",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"publishConfig": {
|
|
82
82
|
"access": "public"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "ae7b0eeb9ec17066999f7d2186bd31251b88ed4b"
|
|
85
85
|
}
|
|
@@ -12,7 +12,7 @@ import styled from "@emotion/styled";
|
|
|
12
12
|
import { ButtonV2 } from "@ndla/button";
|
|
13
13
|
import { breakpoints, colors, fonts, mq, spacing } from "@ndla/core";
|
|
14
14
|
import { Cross as CrossIcon } from "@ndla/icons/action";
|
|
15
|
-
import SafeLink from "@ndla/safelink";
|
|
15
|
+
import { SafeLink } from "@ndla/safelink";
|
|
16
16
|
import { Heading, Text } from "@ndla/typography";
|
|
17
17
|
import Controls from "./Controls";
|
|
18
18
|
import SpeechControl from "./SpeechControl";
|
|
@@ -10,7 +10,7 @@ import { useRef } from "react";
|
|
|
10
10
|
import { useTranslation } from "react-i18next";
|
|
11
11
|
import { IconButtonV2 } from "@ndla/button";
|
|
12
12
|
import { VolumeUp } from "@ndla/icons/common";
|
|
13
|
-
import Tooltip from "@ndla/tooltip";
|
|
13
|
+
import { Tooltip } from "@ndla/tooltip";
|
|
14
14
|
|
|
15
15
|
type Props = {
|
|
16
16
|
src: string;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
import styled from "@emotion/styled";
|
|
10
10
|
import { colors, fonts, breakpoints, mq } from "@ndla/core";
|
|
11
|
-
import SafeLink from "@ndla/safelink";
|
|
11
|
+
import { SafeLink } from "@ndla/safelink";
|
|
12
12
|
import { Image } from "..";
|
|
13
13
|
|
|
14
14
|
const BannerWrapper = styled.div`
|
|
@@ -10,7 +10,7 @@ import { useTranslation } from "react-i18next";
|
|
|
10
10
|
import { css } from "@emotion/react";
|
|
11
11
|
import styled from "@emotion/styled";
|
|
12
12
|
import { breakpoints, colors, fonts, misc, mq, spacing } from "@ndla/core";
|
|
13
|
-
import SafeLink from "@ndla/safelink";
|
|
13
|
+
import { SafeLink } from "@ndla/safelink";
|
|
14
14
|
import { HeadingLevel } from "@ndla/typography";
|
|
15
15
|
import { getPossiblyRelativeUrl } from "../utils/relativeUrl";
|
|
16
16
|
|
|
@@ -11,7 +11,7 @@ import { css } from "@emotion/react";
|
|
|
11
11
|
import styled from "@emotion/styled";
|
|
12
12
|
import { mq, spacing, breakpoints } from "@ndla/core";
|
|
13
13
|
import { ChevronRight } from "@ndla/icons/common";
|
|
14
|
-
import SafeLink from "@ndla/safelink";
|
|
14
|
+
import { SafeLink } from "@ndla/safelink";
|
|
15
15
|
|
|
16
16
|
export interface SimpleBreadcrumbItem {
|
|
17
17
|
to: string | Partial<Location>;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import styled from "@emotion/styled";
|
|
10
10
|
import { colors, fonts, spacing } from "@ndla/core";
|
|
11
11
|
import { ChevronRight } from "@ndla/icons/common";
|
|
12
|
-
import SafeLink from "@ndla/safelink";
|
|
12
|
+
import { SafeLink } from "@ndla/safelink";
|
|
13
13
|
import Breadcrumb from "./Breadcrumb";
|
|
14
14
|
import { IndexedBreadcrumbItem, SimpleBreadcrumbItem } from "./BreadcrumbItem";
|
|
15
15
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import styled from "@emotion/styled";
|
|
10
10
|
import { breakpoints, colors, fonts, mq, spacing } from "@ndla/core";
|
|
11
11
|
import { ChevronRight, Home } from "@ndla/icons/common";
|
|
12
|
-
import SafeLink from "@ndla/safelink";
|
|
12
|
+
import { SafeLink } from "@ndla/safelink";
|
|
13
13
|
import Breadcrumb from "./Breadcrumb";
|
|
14
14
|
import { IndexedBreadcrumbItem, SimpleBreadcrumbItem } from "./BreadcrumbItem";
|
|
15
15
|
|
|
@@ -10,7 +10,7 @@ import { css } from "@emotion/react";
|
|
|
10
10
|
import styled from "@emotion/styled";
|
|
11
11
|
import { breakpoints, colors, fonts, spacing, mq, misc } from "@ndla/core";
|
|
12
12
|
import { Forward } from "@ndla/icons/common";
|
|
13
|
-
import SafeLink from "@ndla/safelink";
|
|
13
|
+
import { SafeLink } from "@ndla/safelink";
|
|
14
14
|
import { HeadingLevel } from "@ndla/typography";
|
|
15
15
|
import { getPossiblyRelativeUrl } from "../utils/relativeUrl";
|
|
16
16
|
|
|
@@ -13,8 +13,8 @@ import { ButtonV2 } from "@ndla/button";
|
|
|
13
13
|
import { spacing } from "@ndla/core";
|
|
14
14
|
import { BY, CC } from "@ndla/licenses";
|
|
15
15
|
import { LicenseByline } from "@ndla/notion";
|
|
16
|
-
import SafeLink from "@ndla/safelink";
|
|
17
|
-
import Tooltip from "@ndla/tooltip";
|
|
16
|
+
import { SafeLink } from "@ndla/safelink";
|
|
17
|
+
import { Tooltip } from "@ndla/tooltip";
|
|
18
18
|
import CompetenceItem, { ListItemProp } from "./CompetenceItem";
|
|
19
19
|
|
|
20
20
|
type CompetenceProps = {
|
|
@@ -11,7 +11,7 @@ import { useTranslation } from "react-i18next";
|
|
|
11
11
|
import styled from "@emotion/styled";
|
|
12
12
|
import { colors, stackOrder } from "@ndla/core";
|
|
13
13
|
import { Link } from "@ndla/icons/common";
|
|
14
|
-
import Tooltip from "@ndla/tooltip";
|
|
14
|
+
import { Tooltip } from "@ndla/tooltip";
|
|
15
15
|
import { copyTextToClipboard } from "@ndla/util";
|
|
16
16
|
|
|
17
17
|
const ContainerDiv = styled.div`
|
|
@@ -16,7 +16,7 @@ import { IconButtonV2 } from "@ndla/button";
|
|
|
16
16
|
import { breakpoints, colors, mq, spacing, stackOrder } from "@ndla/core";
|
|
17
17
|
import { Cross } from "@ndla/icons/action";
|
|
18
18
|
import { COPYRIGHTED } from "@ndla/licenses";
|
|
19
|
-
import Tooltip from "@ndla/tooltip";
|
|
19
|
+
import { Tooltip } from "@ndla/tooltip";
|
|
20
20
|
import { ConceptMetaData } from "@ndla/types-embed";
|
|
21
21
|
import { ConceptNotionV2, ConceptNotionData, ConceptType } from "./conceptComponents";
|
|
22
22
|
import EmbedErrorPlaceholder from "./EmbedErrorPlaceholder";
|
|
@@ -11,7 +11,7 @@ import { useTranslation } from "react-i18next";
|
|
|
11
11
|
import styled from "@emotion/styled";
|
|
12
12
|
import { spacing } from "@ndla/core";
|
|
13
13
|
import { InformationOutline } from "@ndla/icons/common";
|
|
14
|
-
import SafeLink from "@ndla/safelink";
|
|
14
|
+
import { SafeLink } from "@ndla/safelink";
|
|
15
15
|
import { UuDisclaimerMetaData } from "@ndla/types-embed";
|
|
16
16
|
import { MessageBox } from "../Messages";
|
|
17
17
|
interface Props {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import { ReactNode } from "react";
|
|
10
10
|
import styled from "@emotion/styled";
|
|
11
11
|
import { colors, spacing, breakpoints } from "@ndla/core";
|
|
12
|
-
import SafeLink from "@ndla/safelink";
|
|
12
|
+
import { SafeLink } from "@ndla/safelink";
|
|
13
13
|
|
|
14
14
|
const StyledErrorMessage = styled.article`
|
|
15
15
|
text-align: center;
|
package/src/FileList/Format.tsx
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import styled from "@emotion/styled";
|
|
10
10
|
import { colors, spacing } from "@ndla/core";
|
|
11
11
|
import { Download } from "@ndla/icons/common";
|
|
12
|
-
import SafeLink from "@ndla/safelink";
|
|
12
|
+
import { SafeLink } from "@ndla/safelink";
|
|
13
13
|
import { Text } from "@ndla/typography";
|
|
14
14
|
import { FileFormat } from "./File";
|
|
15
15
|
|
|
@@ -11,7 +11,7 @@ import { useTranslation } from "react-i18next";
|
|
|
11
11
|
import styled from "@emotion/styled";
|
|
12
12
|
import { spacing, fonts, colors, mq, breakpoints } from "@ndla/core";
|
|
13
13
|
import { Launch } from "@ndla/icons/common";
|
|
14
|
-
import SafeLink from "@ndla/safelink";
|
|
14
|
+
import { SafeLink } from "@ndla/safelink";
|
|
15
15
|
import { Heading } from "@ndla/typography";
|
|
16
16
|
|
|
17
17
|
type FooterLinksProps = {
|
|
@@ -10,8 +10,8 @@ import { Fragment } from "react";
|
|
|
10
10
|
import { useTranslation } from "react-i18next";
|
|
11
11
|
import styled from "@emotion/styled";
|
|
12
12
|
import { colors, fonts, mq, breakpoints } from "@ndla/core";
|
|
13
|
-
import SafeLink from "@ndla/safelink";
|
|
14
|
-
import Tabs from "@ndla/tabs";
|
|
13
|
+
import { SafeLink } from "@ndla/safelink";
|
|
14
|
+
import { Tabs } from "@ndla/tabs";
|
|
15
15
|
import ContentLoader from "../ContentLoader";
|
|
16
16
|
import { ToggleItem } from "../Filter";
|
|
17
17
|
import { MessageBox } from "../Messages";
|
|
@@ -11,7 +11,7 @@ import { useTranslation } from "react-i18next";
|
|
|
11
11
|
import { css } from "@emotion/react";
|
|
12
12
|
import styled from "@emotion/styled";
|
|
13
13
|
import { fonts, spacing } from "@ndla/core";
|
|
14
|
-
import SafeLink from "@ndla/safelink";
|
|
14
|
+
import { SafeLink } from "@ndla/safelink";
|
|
15
15
|
import { OneColumn, LayoutItem } from "../index";
|
|
16
16
|
|
|
17
17
|
const TextWrapper = styled.div`
|
|
@@ -13,7 +13,7 @@ import styled from "@emotion/styled";
|
|
|
13
13
|
import { colors, spacing, misc, mq, breakpoints } from "@ndla/core";
|
|
14
14
|
import { useWindowSize } from "@ndla/hooks";
|
|
15
15
|
import { ArrowExpandRight, ArrowExpandLeft } from "@ndla/icons/action";
|
|
16
|
-
import Tooltip from "@ndla/tooltip";
|
|
16
|
+
import { Tooltip } from "@ndla/tooltip";
|
|
17
17
|
import LearningPathMenuAside from "./LearningPathMenuAside";
|
|
18
18
|
import LearningPathMenuContent from "./LearningPathMenuContent";
|
|
19
19
|
import LearningPathMenuIntro from "./LearningPathMenuIntro";
|
|
@@ -10,7 +10,7 @@ import { css } from "@emotion/react";
|
|
|
10
10
|
import styled from "@emotion/styled";
|
|
11
11
|
import { colors, spacing, spacingUnit, fonts, mq, breakpoints, animations, utils, stackOrder } from "@ndla/core";
|
|
12
12
|
import { LearningPathRead } from "@ndla/icons/contentType";
|
|
13
|
-
import SafeLink from "@ndla/safelink";
|
|
13
|
+
import { SafeLink } from "@ndla/safelink";
|
|
14
14
|
import { StepProps } from "./LearningPathMenu";
|
|
15
15
|
import ContentTypeBadge from "../ContentTypeBadge";
|
|
16
16
|
import constants from "../model";
|
|
@@ -12,7 +12,7 @@ import { css } from "@emotion/react";
|
|
|
12
12
|
import styled from "@emotion/styled";
|
|
13
13
|
import { animations, breakpoints, colors, mq, spacing, stackOrder } from "@ndla/core";
|
|
14
14
|
import { Back, Forward } from "@ndla/icons/common";
|
|
15
|
-
import SafeLink from "@ndla/safelink";
|
|
15
|
+
import { SafeLink } from "@ndla/safelink";
|
|
16
16
|
|
|
17
17
|
const FOOTER_HEIGHT = "78px";
|
|
18
18
|
const FOOTER_HEIGHT_MOBILE = spacing.large;
|
|
@@ -12,7 +12,7 @@ import { useMemo } from "react";
|
|
|
12
12
|
import styled from "@emotion/styled";
|
|
13
13
|
import { breakpoints, colors, spacing, mq } from "@ndla/core";
|
|
14
14
|
import { Forward, CalendarEd } from "@ndla/icons/common";
|
|
15
|
-
import SafeLink from "@ndla/safelink";
|
|
15
|
+
import { SafeLink } from "@ndla/safelink";
|
|
16
16
|
import { LinkBlockEmbedData } from "@ndla/types-embed";
|
|
17
17
|
import { Heading } from "@ndla/typography";
|
|
18
18
|
import { getPossiblyRelativeUrl } from "../utils/relativeUrl";
|
package/src/Logo/Logo.tsx
CHANGED
|
@@ -10,7 +10,7 @@ import { useMemo } from "react";
|
|
|
10
10
|
import { SerializedStyles, css } from "@emotion/react";
|
|
11
11
|
import styled from "@emotion/styled";
|
|
12
12
|
import { colors } from "@ndla/core";
|
|
13
|
-
import SafeLink from "@ndla/safelink";
|
|
13
|
+
import { SafeLink } from "@ndla/safelink";
|
|
14
14
|
import SvgLogo from "./SvgLogo";
|
|
15
15
|
|
|
16
16
|
interface Props {
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "@ndla/licenses";
|
|
19
19
|
import type { MetaType } from "@ndla/licenses";
|
|
20
20
|
import { LicenseDescription } from "@ndla/notion";
|
|
21
|
-
import SafeLink from "@ndla/safelink";
|
|
21
|
+
import { SafeLink } from "@ndla/safelink";
|
|
22
22
|
import { Text } from "@ndla/typography";
|
|
23
23
|
import { uuid } from "@ndla/util";
|
|
24
24
|
|
|
@@ -12,7 +12,7 @@ import { RefObject, useMemo, useRef } from "react";
|
|
|
12
12
|
import { useTranslation } from "react-i18next";
|
|
13
13
|
import styled from "@emotion/styled";
|
|
14
14
|
import { breakpoints, mq, spacing, spacingUnit, colors } from "@ndla/core";
|
|
15
|
-
import SafeLink from "@ndla/safelink";
|
|
15
|
+
import { SafeLink } from "@ndla/safelink";
|
|
16
16
|
import { MovieType } from "./types";
|
|
17
17
|
import { makeSrcQueryString } from "../Image";
|
|
18
18
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import { HTMLAttributes } from "react";
|
|
10
10
|
import styled from "@emotion/styled";
|
|
11
11
|
import { spacing, colors, fonts, breakpoints, misc, mq } from "@ndla/core";
|
|
12
|
-
import SafeLink from "@ndla/safelink";
|
|
12
|
+
import { SafeLink } from "@ndla/safelink";
|
|
13
13
|
import FilmContentCardTags from "./FilmContentCardTags";
|
|
14
14
|
import { MovieResourceType, MovieType } from "./types";
|
|
15
15
|
import { makeSrcQueryString } from "../Image";
|
|
@@ -10,7 +10,7 @@ import { useCallback, useMemo } from "react";
|
|
|
10
10
|
import { useTranslation } from "react-i18next";
|
|
11
11
|
import styled from "@emotion/styled";
|
|
12
12
|
import { spacing, mq, breakpoints, colors } from "@ndla/core";
|
|
13
|
-
import SafeLink from "@ndla/safelink";
|
|
13
|
+
import { SafeLink } from "@ndla/safelink";
|
|
14
14
|
import { Option, Select, SingleValue } from "@ndla/select";
|
|
15
15
|
import { StyledHeadingH2 } from "./filmStyles";
|
|
16
16
|
import { MovieResourceType } from "./types";
|
|
@@ -12,7 +12,7 @@ import { IconButtonV2 } from "@ndla/button";
|
|
|
12
12
|
import { Carousel } from "@ndla/carousel";
|
|
13
13
|
import { breakpoints, colors, misc, mq, spacing } from "@ndla/core";
|
|
14
14
|
import { ChevronLeft, ChevronRight } from "@ndla/icons/common";
|
|
15
|
-
import SafeLink from "@ndla/safelink";
|
|
15
|
+
import { SafeLink } from "@ndla/safelink";
|
|
16
16
|
import FilmContentCard from "./FilmContentCard";
|
|
17
17
|
import { MovieType } from "./types";
|
|
18
18
|
import Image from "../Image";
|
|
@@ -11,7 +11,7 @@ import { useTranslation } from "react-i18next";
|
|
|
11
11
|
import styled from "@emotion/styled";
|
|
12
12
|
import { ButtonV2 } from "@ndla/button";
|
|
13
13
|
import { breakpoints, colors, fonts, mq, spacing } from "@ndla/core";
|
|
14
|
-
import SafeLink from "@ndla/safelink";
|
|
14
|
+
import { SafeLink } from "@ndla/safelink";
|
|
15
15
|
import { Heading, HeadingLevel, Text } from "@ndla/typography";
|
|
16
16
|
import ContentTypeBadge from "../ContentTypeBadge";
|
|
17
17
|
import { contentTypes } from "../model/ContentType";
|
|
@@ -14,7 +14,7 @@ import { IconButtonV2 } from "@ndla/button";
|
|
|
14
14
|
import { colors, fonts, spacing, stackOrder } from "@ndla/core";
|
|
15
15
|
import { DropdownMenu, DropdownContent, DropdownTrigger, DropdownItem } from "@ndla/dropdown-menu";
|
|
16
16
|
import { HashTag } from "@ndla/icons/common";
|
|
17
|
-
import SafeLink,
|
|
17
|
+
import { SafeLink, SafeLinkButton } from "@ndla/safelink";
|
|
18
18
|
import { resourceEmbedTypeMapping } from "../model/ContentType";
|
|
19
19
|
import resourceTypeColor from "../utils/resourceTypeColor";
|
|
20
20
|
|
|
@@ -12,7 +12,7 @@ import { keyframes } from "@emotion/react";
|
|
|
12
12
|
import styled from "@emotion/styled";
|
|
13
13
|
import { breakpoints, colors, fonts, misc, mq, spacing } from "@ndla/core";
|
|
14
14
|
import { Additional, Core, HumanMaleBoard } from "@ndla/icons/common";
|
|
15
|
-
import SafeLink from "@ndla/safelink";
|
|
15
|
+
import { SafeLink } from "@ndla/safelink";
|
|
16
16
|
import ContentTypeBadge from "../ContentTypeBadge";
|
|
17
17
|
import * as contentTypes from "../model/ContentType";
|
|
18
18
|
import { Resource } from "../types";
|
|
@@ -13,7 +13,7 @@ import { breakpoints, colors, fonts, mq, spacing } from "@ndla/core";
|
|
|
13
13
|
import { LearningPathQuiz } from "@ndla/icons/contentType";
|
|
14
14
|
import { ModalBody, ModalHeader, ModalCloseButton, Modal, ModalTitle, ModalTrigger, ModalContent } from "@ndla/modal";
|
|
15
15
|
import { Switch } from "@ndla/switch";
|
|
16
|
-
import Tooltip from "@ndla/tooltip";
|
|
16
|
+
import { Tooltip } from "@ndla/tooltip";
|
|
17
17
|
|
|
18
18
|
interface HelpIconProps {
|
|
19
19
|
invertedStyle: boolean;
|
|
@@ -10,7 +10,7 @@ import { useTranslation } from "react-i18next";
|
|
|
10
10
|
import { css } from "@emotion/react";
|
|
11
11
|
import styled from "@emotion/styled";
|
|
12
12
|
import { spacing, mq, breakpoints } from "@ndla/core";
|
|
13
|
-
import Tooltip from "@ndla/tooltip";
|
|
13
|
+
import { Tooltip } from "@ndla/tooltip";
|
|
14
14
|
import ActiveFilterContent, { StyledActiveFilterTitle } from "./ActiveFilterContent";
|
|
15
15
|
|
|
16
16
|
interface StyledActiveFiltersProps {
|
|
@@ -10,8 +10,8 @@ import { ReactElement, useEffect, useRef, useState } from "react";
|
|
|
10
10
|
import { useTranslation } from "react-i18next";
|
|
11
11
|
import { ButtonV2 } from "@ndla/button";
|
|
12
12
|
import { Additional, ChevronDown, ChevronUp } from "@ndla/icons/common";
|
|
13
|
-
import SafeLink from "@ndla/safelink";
|
|
14
|
-
import Tooltip from "@ndla/tooltip";
|
|
13
|
+
import { SafeLink } from "@ndla/safelink";
|
|
14
|
+
import { Tooltip } from "@ndla/tooltip";
|
|
15
15
|
import {
|
|
16
16
|
highlightStyle,
|
|
17
17
|
noWidthhighlightStyle,
|
|
@@ -12,8 +12,8 @@ import styled from "@emotion/styled";
|
|
|
12
12
|
import { fonts, mq, spacing, breakpoints, colors, spacingUnit } from "@ndla/core";
|
|
13
13
|
import { Spinner } from "@ndla/icons";
|
|
14
14
|
import { ChevronRight } from "@ndla/icons/common";
|
|
15
|
-
import SafeLink from "@ndla/safelink";
|
|
16
|
-
import Tooltip from "@ndla/tooltip";
|
|
15
|
+
import { SafeLink } from "@ndla/safelink";
|
|
16
|
+
import { Tooltip } from "@ndla/tooltip";
|
|
17
17
|
import { uuid } from "@ndla/util";
|
|
18
18
|
|
|
19
19
|
interface ItemType {
|
|
@@ -11,7 +11,7 @@ import { useTranslation } from "react-i18next";
|
|
|
11
11
|
import styled from "@emotion/styled";
|
|
12
12
|
import { breakpoints, colors, fonts, misc, mq, spacing } from "@ndla/core";
|
|
13
13
|
import { ChevronDown, ChevronUp, Esc, KeyboardReturn, Search as SearchIcon, Wrench } from "@ndla/icons/common";
|
|
14
|
-
import SafeLink from "@ndla/safelink";
|
|
14
|
+
import { SafeLink } from "@ndla/safelink";
|
|
15
15
|
import ContentTypeResult from "./ContentTypeResult";
|
|
16
16
|
import { highlightStyle } from "./ContentTypeResultStyles";
|
|
17
17
|
import { ContentTypeResultType, Resource } from "../types";
|
|
@@ -12,7 +12,7 @@ import { css } from "@emotion/react";
|
|
|
12
12
|
import styled from "@emotion/styled";
|
|
13
13
|
import { ButtonV2 } from "@ndla/button";
|
|
14
14
|
import { spacing, mq, breakpoints } from "@ndla/core";
|
|
15
|
-
import Tooltip from "@ndla/tooltip";
|
|
15
|
+
import { Tooltip } from "@ndla/tooltip";
|
|
16
16
|
import ActiveFilterContent, { FilterProps, StyledActiveFilterTitle } from "./ActiveFilterContent";
|
|
17
17
|
|
|
18
18
|
type StyledActiveFiltersProps = {
|