@ndla/ui 56.0.56-alpha.0 → 56.0.57-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 +1 -2
- package/dist/styles.css +2 -6
- package/es/Embed/BrightcoveEmbed.js +8 -6
- package/es/locale/messages-en.js +6 -1
- package/es/locale/messages-nb.js +6 -1
- package/es/locale/messages-nn.js +6 -1
- package/es/locale/messages-se.js +6 -1
- package/es/locale/messages-sma.js +6 -1
- package/lib/Embed/BrightcoveEmbed.js +8 -6
- package/lib/locale/messages-en.d.ts +5 -0
- package/lib/locale/messages-en.js +6 -1
- package/lib/locale/messages-nb.d.ts +5 -0
- package/lib/locale/messages-nb.js +6 -1
- package/lib/locale/messages-nn.d.ts +5 -0
- package/lib/locale/messages-nn.js +6 -1
- package/lib/locale/messages-se.d.ts +5 -0
- package/lib/locale/messages-se.js +6 -1
- package/lib/locale/messages-sma.d.ts +5 -0
- package/lib/locale/messages-sma.js +6 -1
- package/package.json +3 -3
- package/src/Embed/BrightcoveEmbed.tsx +8 -6
- package/src/locale/messages-en.ts +5 -0
- package/src/locale/messages-nb.ts +5 -0
- package/src/locale/messages-nn.ts +5 -0
- package/src/locale/messages-se.ts +5 -0
- package/src/locale/messages-sma.ts +5 -0
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
"opacity]___[value:0",
|
|
197
197
|
"cursor]___[value:pointer",
|
|
198
198
|
"opacity]___[value:1]___[cond:&:focus, &:focus-visible, &:active",
|
|
199
|
-
"
|
|
199
|
+
"marginBlockStart]___[value:3xsmall",
|
|
200
200
|
"border]___[value:0",
|
|
201
201
|
"height]___[value:auto",
|
|
202
202
|
"textStyle]___[value:label.large",
|
|
@@ -315,7 +315,6 @@
|
|
|
315
315
|
"backgroundColor]___[value:surface.infoSubtle.hover]___[cond:_hover",
|
|
316
316
|
"gap]___[value:small",
|
|
317
317
|
"paddingInline]___[value:0",
|
|
318
|
-
"marginBlockStart]___[value:3xsmall",
|
|
319
318
|
"background]___[value:surface.brand.1.subtle]___[cond:_first",
|
|
320
319
|
"borderColor]___[value:stroke.default]___[cond:_first",
|
|
321
320
|
"fontWeight]___[value:bold]___[cond:_first<___>& p",
|
package/dist/styles.css
CHANGED
|
@@ -441,8 +441,8 @@
|
|
|
441
441
|
cursor: pointer;
|
|
442
442
|
}
|
|
443
443
|
|
|
444
|
-
.
|
|
445
|
-
margin-
|
|
444
|
+
.mbs_3xsmall {
|
|
445
|
+
margin-block-start: var(--spacing-3xsmall);
|
|
446
446
|
}
|
|
447
447
|
|
|
448
448
|
.bd_0 {
|
|
@@ -565,10 +565,6 @@
|
|
|
565
565
|
padding-inline: 0;
|
|
566
566
|
}
|
|
567
567
|
|
|
568
|
-
.mbs_3xsmall {
|
|
569
|
-
margin-block-start: var(--spacing-3xsmall);
|
|
570
|
-
}
|
|
571
|
-
|
|
572
568
|
.w_surface\.3xsmall {
|
|
573
569
|
width: var(--sizes-surface-3xsmall);
|
|
574
570
|
}
|
|
@@ -17,7 +17,7 @@ import { licenseAttributes } from "../utils/licenseAttributes";
|
|
|
17
17
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
18
18
|
const LinkedVideoButton = styled(Button, {
|
|
19
19
|
base: {
|
|
20
|
-
|
|
20
|
+
marginBlockStart: "3xsmall"
|
|
21
21
|
}
|
|
22
22
|
});
|
|
23
23
|
const BrightcoveIframe = styled("iframe", {
|
|
@@ -118,11 +118,13 @@ const BrightcoveEmbed = _ref => {
|
|
|
118
118
|
type: "video",
|
|
119
119
|
copyright: data.copyright,
|
|
120
120
|
description: parsedDescription,
|
|
121
|
-
children:
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
121
|
+
children: /*#__PURE__*/_jsx("div", {
|
|
122
|
+
children: !!linkedVideoId && /*#__PURE__*/_jsx(LinkedVideoButton, {
|
|
123
|
+
size: "small",
|
|
124
|
+
variant: "secondary",
|
|
125
|
+
onClick: () => setShowOriginalVideo(p => !p),
|
|
126
|
+
children: t(`figure.button.${!showOriginalVideo ? "original" : "alternative"}`)
|
|
127
|
+
})
|
|
126
128
|
})
|
|
127
129
|
})]
|
|
128
130
|
});
|
package/es/locale/messages-en.js
CHANGED
|
@@ -132,6 +132,7 @@ const messages = {
|
|
|
132
132
|
label: {
|
|
133
133
|
subjects: "Subjects"
|
|
134
134
|
},
|
|
135
|
+
includes: "Includes:",
|
|
135
136
|
searchField: {
|
|
136
137
|
contentTypeResultShowMoreLabel: "Show more results",
|
|
137
138
|
contentTypeResultShowLessLabel: "Show less results",
|
|
@@ -989,6 +990,9 @@ const messages = {
|
|
|
989
990
|
previewInformation: "Preview of shared folder. The folder is not available to others until you update its status to shared."
|
|
990
991
|
}
|
|
991
992
|
},
|
|
993
|
+
learningpath: {
|
|
994
|
+
title: "My learning paths"
|
|
995
|
+
},
|
|
992
996
|
arena: {
|
|
993
997
|
title: "Arena",
|
|
994
998
|
category: {
|
|
@@ -1175,7 +1179,8 @@ const messages = {
|
|
|
1175
1179
|
tags: "Tags",
|
|
1176
1180
|
subjects: "Subjects",
|
|
1177
1181
|
profile: "Profile",
|
|
1178
|
-
more: "More"
|
|
1182
|
+
more: "More",
|
|
1183
|
+
learningpath: "Learning paths"
|
|
1179
1184
|
},
|
|
1180
1185
|
tagList: "Tags",
|
|
1181
1186
|
tags: "{{count}} tag",
|
package/es/locale/messages-nb.js
CHANGED
|
@@ -132,6 +132,7 @@ const messages = {
|
|
|
132
132
|
label: {
|
|
133
133
|
subjects: "Fag:"
|
|
134
134
|
},
|
|
135
|
+
includes: "Inneholder:",
|
|
135
136
|
searchField: {
|
|
136
137
|
contentTypeResultShowMoreLabel: "Se flere resultater",
|
|
137
138
|
contentTypeResultShowLessLabel: "Se færre resultater",
|
|
@@ -989,6 +990,9 @@ const messages = {
|
|
|
989
990
|
previewInformation: "Forhåndsvisning av delt mappe. Mappa blir ikke tilgjengelig for andre før du setter den som delt."
|
|
990
991
|
}
|
|
991
992
|
},
|
|
993
|
+
learningpath: {
|
|
994
|
+
title: "Mine læringsstier"
|
|
995
|
+
},
|
|
992
996
|
arena: {
|
|
993
997
|
title: "Arena",
|
|
994
998
|
category: {
|
|
@@ -1175,7 +1179,8 @@ const messages = {
|
|
|
1175
1179
|
tags: "Emneknagger",
|
|
1176
1180
|
subjects: "Favorittfag",
|
|
1177
1181
|
profile: "Profil",
|
|
1178
|
-
more: "Mer"
|
|
1182
|
+
more: "Mer",
|
|
1183
|
+
learningpath: "Læringsstier"
|
|
1179
1184
|
},
|
|
1180
1185
|
tagList: "Emneknagger",
|
|
1181
1186
|
tags: "{{count}} emneknagg",
|
package/es/locale/messages-nn.js
CHANGED
|
@@ -132,6 +132,7 @@ const messages = {
|
|
|
132
132
|
label: {
|
|
133
133
|
subjects: "Fag:"
|
|
134
134
|
},
|
|
135
|
+
includes: "Inneheld:",
|
|
135
136
|
searchField: {
|
|
136
137
|
contentTypeResultShowMoreLabel: "Sjå fleire resultat",
|
|
137
138
|
contentTypeResultShowLessLabel: "Sjå færre resultat",
|
|
@@ -989,6 +990,9 @@ const messages = {
|
|
|
989
990
|
previewInformation: "Førehandsvising av delt mappe. Mappa blir ikkje tilgjengeleg for andre før du set ho som delt."
|
|
990
991
|
}
|
|
991
992
|
},
|
|
993
|
+
learningpath: {
|
|
994
|
+
title: "Mine læringsstiar"
|
|
995
|
+
},
|
|
992
996
|
arena: {
|
|
993
997
|
title: "Arena",
|
|
994
998
|
category: {
|
|
@@ -1175,7 +1179,8 @@ const messages = {
|
|
|
1175
1179
|
tags: "Emneknaggar",
|
|
1176
1180
|
subjects: "Favorittfag",
|
|
1177
1181
|
profile: "Profil",
|
|
1178
|
-
more: "Meir"
|
|
1182
|
+
more: "Meir",
|
|
1183
|
+
learningpath: "Læringsstiar"
|
|
1179
1184
|
},
|
|
1180
1185
|
tagList: "Emneknaggar",
|
|
1181
1186
|
tags: "{{count}} emneknagg",
|
package/es/locale/messages-se.js
CHANGED
|
@@ -132,6 +132,7 @@ const messages = {
|
|
|
132
132
|
label: {
|
|
133
133
|
subjects: "Fága:"
|
|
134
134
|
},
|
|
135
|
+
includes: "Inneholder:",
|
|
135
136
|
searchField: {
|
|
136
137
|
contentTypeResultShowMoreLabel: "Geahča eanet bohtosiid",
|
|
137
138
|
contentTypeResultShowLessLabel: "Geahča unnit bohtosiid",
|
|
@@ -989,6 +990,9 @@ const messages = {
|
|
|
989
990
|
previewInformation: "Forhåndsvisning av delt mappe. Mappa blir ikke tilgjengelig for andre før du setter den som delt."
|
|
990
991
|
}
|
|
991
992
|
},
|
|
993
|
+
learningpath: {
|
|
994
|
+
title: "Mine læringsstier"
|
|
995
|
+
},
|
|
992
996
|
arena: {
|
|
993
997
|
title: "Arena",
|
|
994
998
|
category: {
|
|
@@ -1175,7 +1179,8 @@ const messages = {
|
|
|
1175
1179
|
tags: "Emneknagger",
|
|
1176
1180
|
subjects: "Favorittfag",
|
|
1177
1181
|
profile: "Profil",
|
|
1178
|
-
more: "Mer"
|
|
1182
|
+
more: "Mer",
|
|
1183
|
+
learningpath: "Læringsstier"
|
|
1179
1184
|
},
|
|
1180
1185
|
tagList: "Emneknagger",
|
|
1181
1186
|
tags: "{{count}} emneknagg",
|
|
@@ -132,6 +132,7 @@ const messages = {
|
|
|
132
132
|
label: {
|
|
133
133
|
subjects: "Faage:"
|
|
134
134
|
},
|
|
135
|
+
includes: "Inneholder:",
|
|
135
136
|
searchField: {
|
|
136
137
|
contentTypeResultShowMoreLabel: "Gïehtjh jienebh illedahkh",
|
|
137
138
|
contentTypeResultShowLessLabel: "Gïehtjh vaenebh illedahkh",
|
|
@@ -989,6 +990,9 @@ const messages = {
|
|
|
989
990
|
previewInformation: "Forhåndsvisning av delt mappe. Mappa blir ikke tilgjengelig for andre før du setter den som delt."
|
|
990
991
|
}
|
|
991
992
|
},
|
|
993
|
+
learningpath: {
|
|
994
|
+
title: "Mine læringsstier"
|
|
995
|
+
},
|
|
992
996
|
arena: {
|
|
993
997
|
title: "Arena",
|
|
994
998
|
category: {
|
|
@@ -1175,7 +1179,8 @@ const messages = {
|
|
|
1175
1179
|
tags: "Emneknagger",
|
|
1176
1180
|
subjects: "Favorittfag",
|
|
1177
1181
|
profile: "Profil",
|
|
1178
|
-
more: "Mer"
|
|
1182
|
+
more: "Mer",
|
|
1183
|
+
learningpath: "Læringsstier"
|
|
1179
1184
|
},
|
|
1180
1185
|
tagList: "Emneknagger",
|
|
1181
1186
|
tags: "{{count}} emneknagg",
|
|
@@ -24,7 +24,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
24
24
|
|
|
25
25
|
const LinkedVideoButton = (0, _jsx2.styled)(_primitives.Button, {
|
|
26
26
|
base: {
|
|
27
|
-
|
|
27
|
+
marginBlockStart: "3xsmall"
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
30
|
const BrightcoveIframe = (0, _jsx2.styled)("iframe", {
|
|
@@ -127,11 +127,13 @@ const BrightcoveEmbed = _ref => {
|
|
|
127
127
|
type: "video",
|
|
128
128
|
copyright: data.copyright,
|
|
129
129
|
description: parsedDescription,
|
|
130
|
-
children:
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
130
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
131
|
+
children: !!linkedVideoId && /*#__PURE__*/(0, _jsxRuntime.jsx)(LinkedVideoButton, {
|
|
132
|
+
size: "small",
|
|
133
|
+
variant: "secondary",
|
|
134
|
+
onClick: () => setShowOriginalVideo(p => !p),
|
|
135
|
+
children: t(`figure.button.${!showOriginalVideo ? "original" : "alternative"}`)
|
|
136
|
+
})
|
|
135
137
|
})
|
|
136
138
|
})]
|
|
137
139
|
});
|
|
@@ -122,6 +122,7 @@ declare const messages: {
|
|
|
122
122
|
label: {
|
|
123
123
|
subjects: string;
|
|
124
124
|
};
|
|
125
|
+
includes: string;
|
|
125
126
|
searchField: {
|
|
126
127
|
contentTypeResultShowMoreLabel: string;
|
|
127
128
|
contentTypeResultShowLessLabel: string;
|
|
@@ -979,6 +980,9 @@ declare const messages: {
|
|
|
979
980
|
previewInformation: string;
|
|
980
981
|
};
|
|
981
982
|
};
|
|
983
|
+
learningpath: {
|
|
984
|
+
title: string;
|
|
985
|
+
};
|
|
982
986
|
arena: {
|
|
983
987
|
title: string;
|
|
984
988
|
category: {
|
|
@@ -1166,6 +1170,7 @@ declare const messages: {
|
|
|
1166
1170
|
subjects: string;
|
|
1167
1171
|
profile: string;
|
|
1168
1172
|
more: string;
|
|
1173
|
+
learningpath: string;
|
|
1169
1174
|
};
|
|
1170
1175
|
tagList: string;
|
|
1171
1176
|
tags: string;
|
|
@@ -139,6 +139,7 @@ const messages = {
|
|
|
139
139
|
label: {
|
|
140
140
|
subjects: "Subjects"
|
|
141
141
|
},
|
|
142
|
+
includes: "Includes:",
|
|
142
143
|
searchField: {
|
|
143
144
|
contentTypeResultShowMoreLabel: "Show more results",
|
|
144
145
|
contentTypeResultShowLessLabel: "Show less results",
|
|
@@ -996,6 +997,9 @@ const messages = {
|
|
|
996
997
|
previewInformation: "Preview of shared folder. The folder is not available to others until you update its status to shared."
|
|
997
998
|
}
|
|
998
999
|
},
|
|
1000
|
+
learningpath: {
|
|
1001
|
+
title: "My learning paths"
|
|
1002
|
+
},
|
|
999
1003
|
arena: {
|
|
1000
1004
|
title: "Arena",
|
|
1001
1005
|
category: {
|
|
@@ -1182,7 +1186,8 @@ const messages = {
|
|
|
1182
1186
|
tags: "Tags",
|
|
1183
1187
|
subjects: "Subjects",
|
|
1184
1188
|
profile: "Profile",
|
|
1185
|
-
more: "More"
|
|
1189
|
+
more: "More",
|
|
1190
|
+
learningpath: "Learning paths"
|
|
1186
1191
|
},
|
|
1187
1192
|
tagList: "Tags",
|
|
1188
1193
|
tags: "{{count}} tag",
|
|
@@ -122,6 +122,7 @@ declare const messages: {
|
|
|
122
122
|
label: {
|
|
123
123
|
subjects: string;
|
|
124
124
|
};
|
|
125
|
+
includes: string;
|
|
125
126
|
searchField: {
|
|
126
127
|
contentTypeResultShowMoreLabel: string;
|
|
127
128
|
contentTypeResultShowLessLabel: string;
|
|
@@ -979,6 +980,9 @@ declare const messages: {
|
|
|
979
980
|
previewInformation: string;
|
|
980
981
|
};
|
|
981
982
|
};
|
|
983
|
+
learningpath: {
|
|
984
|
+
title: string;
|
|
985
|
+
};
|
|
982
986
|
arena: {
|
|
983
987
|
title: string;
|
|
984
988
|
category: {
|
|
@@ -1166,6 +1170,7 @@ declare const messages: {
|
|
|
1166
1170
|
subjects: string;
|
|
1167
1171
|
profile: string;
|
|
1168
1172
|
more: string;
|
|
1173
|
+
learningpath: string;
|
|
1169
1174
|
};
|
|
1170
1175
|
tagList: string;
|
|
1171
1176
|
tags: string;
|
|
@@ -139,6 +139,7 @@ const messages = {
|
|
|
139
139
|
label: {
|
|
140
140
|
subjects: "Fag:"
|
|
141
141
|
},
|
|
142
|
+
includes: "Inneholder:",
|
|
142
143
|
searchField: {
|
|
143
144
|
contentTypeResultShowMoreLabel: "Se flere resultater",
|
|
144
145
|
contentTypeResultShowLessLabel: "Se færre resultater",
|
|
@@ -996,6 +997,9 @@ const messages = {
|
|
|
996
997
|
previewInformation: "Forhåndsvisning av delt mappe. Mappa blir ikke tilgjengelig for andre før du setter den som delt."
|
|
997
998
|
}
|
|
998
999
|
},
|
|
1000
|
+
learningpath: {
|
|
1001
|
+
title: "Mine læringsstier"
|
|
1002
|
+
},
|
|
999
1003
|
arena: {
|
|
1000
1004
|
title: "Arena",
|
|
1001
1005
|
category: {
|
|
@@ -1182,7 +1186,8 @@ const messages = {
|
|
|
1182
1186
|
tags: "Emneknagger",
|
|
1183
1187
|
subjects: "Favorittfag",
|
|
1184
1188
|
profile: "Profil",
|
|
1185
|
-
more: "Mer"
|
|
1189
|
+
more: "Mer",
|
|
1190
|
+
learningpath: "Læringsstier"
|
|
1186
1191
|
},
|
|
1187
1192
|
tagList: "Emneknagger",
|
|
1188
1193
|
tags: "{{count}} emneknagg",
|
|
@@ -122,6 +122,7 @@ declare const messages: {
|
|
|
122
122
|
label: {
|
|
123
123
|
subjects: string;
|
|
124
124
|
};
|
|
125
|
+
includes: string;
|
|
125
126
|
searchField: {
|
|
126
127
|
contentTypeResultShowMoreLabel: string;
|
|
127
128
|
contentTypeResultShowLessLabel: string;
|
|
@@ -979,6 +980,9 @@ declare const messages: {
|
|
|
979
980
|
previewInformation: string;
|
|
980
981
|
};
|
|
981
982
|
};
|
|
983
|
+
learningpath: {
|
|
984
|
+
title: string;
|
|
985
|
+
};
|
|
982
986
|
arena: {
|
|
983
987
|
title: string;
|
|
984
988
|
category: {
|
|
@@ -1166,6 +1170,7 @@ declare const messages: {
|
|
|
1166
1170
|
subjects: string;
|
|
1167
1171
|
profile: string;
|
|
1168
1172
|
more: string;
|
|
1173
|
+
learningpath: string;
|
|
1169
1174
|
};
|
|
1170
1175
|
tagList: string;
|
|
1171
1176
|
tags: string;
|
|
@@ -139,6 +139,7 @@ const messages = {
|
|
|
139
139
|
label: {
|
|
140
140
|
subjects: "Fag:"
|
|
141
141
|
},
|
|
142
|
+
includes: "Inneheld:",
|
|
142
143
|
searchField: {
|
|
143
144
|
contentTypeResultShowMoreLabel: "Sjå fleire resultat",
|
|
144
145
|
contentTypeResultShowLessLabel: "Sjå færre resultat",
|
|
@@ -996,6 +997,9 @@ const messages = {
|
|
|
996
997
|
previewInformation: "Førehandsvising av delt mappe. Mappa blir ikkje tilgjengeleg for andre før du set ho som delt."
|
|
997
998
|
}
|
|
998
999
|
},
|
|
1000
|
+
learningpath: {
|
|
1001
|
+
title: "Mine læringsstiar"
|
|
1002
|
+
},
|
|
999
1003
|
arena: {
|
|
1000
1004
|
title: "Arena",
|
|
1001
1005
|
category: {
|
|
@@ -1182,7 +1186,8 @@ const messages = {
|
|
|
1182
1186
|
tags: "Emneknaggar",
|
|
1183
1187
|
subjects: "Favorittfag",
|
|
1184
1188
|
profile: "Profil",
|
|
1185
|
-
more: "Meir"
|
|
1189
|
+
more: "Meir",
|
|
1190
|
+
learningpath: "Læringsstiar"
|
|
1186
1191
|
},
|
|
1187
1192
|
tagList: "Emneknaggar",
|
|
1188
1193
|
tags: "{{count}} emneknagg",
|
|
@@ -122,6 +122,7 @@ declare const messages: {
|
|
|
122
122
|
label: {
|
|
123
123
|
subjects: string;
|
|
124
124
|
};
|
|
125
|
+
includes: string;
|
|
125
126
|
searchField: {
|
|
126
127
|
contentTypeResultShowMoreLabel: string;
|
|
127
128
|
contentTypeResultShowLessLabel: string;
|
|
@@ -979,6 +980,9 @@ declare const messages: {
|
|
|
979
980
|
previewInformation: string;
|
|
980
981
|
};
|
|
981
982
|
};
|
|
983
|
+
learningpath: {
|
|
984
|
+
title: string;
|
|
985
|
+
};
|
|
982
986
|
arena: {
|
|
983
987
|
title: string;
|
|
984
988
|
category: {
|
|
@@ -1166,6 +1170,7 @@ declare const messages: {
|
|
|
1166
1170
|
subjects: string;
|
|
1167
1171
|
profile: string;
|
|
1168
1172
|
more: string;
|
|
1173
|
+
learningpath: string;
|
|
1169
1174
|
};
|
|
1170
1175
|
tagList: string;
|
|
1171
1176
|
tags: string;
|
|
@@ -139,6 +139,7 @@ const messages = {
|
|
|
139
139
|
label: {
|
|
140
140
|
subjects: "Fága:"
|
|
141
141
|
},
|
|
142
|
+
includes: "Inneholder:",
|
|
142
143
|
searchField: {
|
|
143
144
|
contentTypeResultShowMoreLabel: "Geahča eanet bohtosiid",
|
|
144
145
|
contentTypeResultShowLessLabel: "Geahča unnit bohtosiid",
|
|
@@ -996,6 +997,9 @@ const messages = {
|
|
|
996
997
|
previewInformation: "Forhåndsvisning av delt mappe. Mappa blir ikke tilgjengelig for andre før du setter den som delt."
|
|
997
998
|
}
|
|
998
999
|
},
|
|
1000
|
+
learningpath: {
|
|
1001
|
+
title: "Mine læringsstier"
|
|
1002
|
+
},
|
|
999
1003
|
arena: {
|
|
1000
1004
|
title: "Arena",
|
|
1001
1005
|
category: {
|
|
@@ -1182,7 +1186,8 @@ const messages = {
|
|
|
1182
1186
|
tags: "Emneknagger",
|
|
1183
1187
|
subjects: "Favorittfag",
|
|
1184
1188
|
profile: "Profil",
|
|
1185
|
-
more: "Mer"
|
|
1189
|
+
more: "Mer",
|
|
1190
|
+
learningpath: "Læringsstier"
|
|
1186
1191
|
},
|
|
1187
1192
|
tagList: "Emneknagger",
|
|
1188
1193
|
tags: "{{count}} emneknagg",
|
|
@@ -122,6 +122,7 @@ declare const messages: {
|
|
|
122
122
|
label: {
|
|
123
123
|
subjects: string;
|
|
124
124
|
};
|
|
125
|
+
includes: string;
|
|
125
126
|
searchField: {
|
|
126
127
|
contentTypeResultShowMoreLabel: string;
|
|
127
128
|
contentTypeResultShowLessLabel: string;
|
|
@@ -979,6 +980,9 @@ declare const messages: {
|
|
|
979
980
|
previewInformation: string;
|
|
980
981
|
};
|
|
981
982
|
};
|
|
983
|
+
learningpath: {
|
|
984
|
+
title: string;
|
|
985
|
+
};
|
|
982
986
|
arena: {
|
|
983
987
|
title: string;
|
|
984
988
|
category: {
|
|
@@ -1166,6 +1170,7 @@ declare const messages: {
|
|
|
1166
1170
|
subjects: string;
|
|
1167
1171
|
profile: string;
|
|
1168
1172
|
more: string;
|
|
1173
|
+
learningpath: string;
|
|
1169
1174
|
};
|
|
1170
1175
|
tagList: string;
|
|
1171
1176
|
tags: string;
|
|
@@ -139,6 +139,7 @@ const messages = {
|
|
|
139
139
|
label: {
|
|
140
140
|
subjects: "Faage:"
|
|
141
141
|
},
|
|
142
|
+
includes: "Inneholder:",
|
|
142
143
|
searchField: {
|
|
143
144
|
contentTypeResultShowMoreLabel: "Gïehtjh jienebh illedahkh",
|
|
144
145
|
contentTypeResultShowLessLabel: "Gïehtjh vaenebh illedahkh",
|
|
@@ -996,6 +997,9 @@ const messages = {
|
|
|
996
997
|
previewInformation: "Forhåndsvisning av delt mappe. Mappa blir ikke tilgjengelig for andre før du setter den som delt."
|
|
997
998
|
}
|
|
998
999
|
},
|
|
1000
|
+
learningpath: {
|
|
1001
|
+
title: "Mine læringsstier"
|
|
1002
|
+
},
|
|
999
1003
|
arena: {
|
|
1000
1004
|
title: "Arena",
|
|
1001
1005
|
category: {
|
|
@@ -1182,7 +1186,8 @@ const messages = {
|
|
|
1182
1186
|
tags: "Emneknagger",
|
|
1183
1187
|
subjects: "Favorittfag",
|
|
1184
1188
|
profile: "Profil",
|
|
1185
|
-
more: "Mer"
|
|
1189
|
+
more: "Mer",
|
|
1190
|
+
learningpath: "Læringsstier"
|
|
1186
1191
|
},
|
|
1187
1192
|
tagList: "Emneknagger",
|
|
1188
1193
|
tags: "{{count}} emneknagg",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ndla/ui",
|
|
3
|
-
"version": "56.0.
|
|
3
|
+
"version": "56.0.57-alpha.0",
|
|
4
4
|
"description": "UI component library for NDLA",
|
|
5
5
|
"license": "GPL-3.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@ndla/icons": "^8.0.32-alpha.0",
|
|
37
37
|
"@ndla/licenses": "^8.0.3-alpha.0",
|
|
38
38
|
"@ndla/primitives": "^1.0.47-alpha.0",
|
|
39
|
-
"@ndla/safelink": "^7.0.
|
|
39
|
+
"@ndla/safelink": "^7.0.48-alpha.0",
|
|
40
40
|
"@ndla/styled-system": "^0.0.24",
|
|
41
41
|
"@ndla/util": "^5.0.0-alpha.0",
|
|
42
42
|
"html-react-parser": "^5.1.8",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"access": "public"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "827fae5ecc4466c5e433a8335e232b150808cc73"
|
|
62
62
|
}
|
|
@@ -25,7 +25,7 @@ interface Props {
|
|
|
25
25
|
|
|
26
26
|
const LinkedVideoButton = styled(Button, {
|
|
27
27
|
base: {
|
|
28
|
-
|
|
28
|
+
marginBlockStart: "3xsmall",
|
|
29
29
|
},
|
|
30
30
|
});
|
|
31
31
|
|
|
@@ -117,11 +117,13 @@ const BrightcoveEmbed = ({ embed, renderContext = "article", lang }: Props) => {
|
|
|
117
117
|
/>
|
|
118
118
|
</div>
|
|
119
119
|
<EmbedByline type="video" copyright={data.copyright!} description={parsedDescription}>
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
120
|
+
<div>
|
|
121
|
+
{!!linkedVideoId && (
|
|
122
|
+
<LinkedVideoButton size="small" variant="secondary" onClick={() => setShowOriginalVideo((p) => !p)}>
|
|
123
|
+
{t(`figure.button.${!showOriginalVideo ? "original" : "alternative"}`)}
|
|
124
|
+
</LinkedVideoButton>
|
|
125
|
+
)}
|
|
126
|
+
</div>
|
|
125
127
|
</EmbedByline>
|
|
126
128
|
</Figure>
|
|
127
129
|
);
|
|
@@ -133,6 +133,7 @@ const messages = {
|
|
|
133
133
|
label: {
|
|
134
134
|
subjects: "Subjects",
|
|
135
135
|
},
|
|
136
|
+
includes: "Includes:",
|
|
136
137
|
searchField: {
|
|
137
138
|
contentTypeResultShowMoreLabel: "Show more results",
|
|
138
139
|
contentTypeResultShowLessLabel: "Show less results",
|
|
@@ -1007,6 +1008,9 @@ const messages = {
|
|
|
1007
1008
|
"Preview of shared folder. The folder is not available to others until you update its status to shared.",
|
|
1008
1009
|
},
|
|
1009
1010
|
},
|
|
1011
|
+
learningpath: {
|
|
1012
|
+
title: "My learning paths",
|
|
1013
|
+
},
|
|
1010
1014
|
arena: {
|
|
1011
1015
|
title: "Arena",
|
|
1012
1016
|
category: {
|
|
@@ -1201,6 +1205,7 @@ const messages = {
|
|
|
1201
1205
|
subjects: "Subjects",
|
|
1202
1206
|
profile: "Profile",
|
|
1203
1207
|
more: "More",
|
|
1208
|
+
learningpath: "Learning paths",
|
|
1204
1209
|
},
|
|
1205
1210
|
tagList: "Tags",
|
|
1206
1211
|
tags: "{{count}} tag",
|
|
@@ -133,6 +133,7 @@ const messages = {
|
|
|
133
133
|
label: {
|
|
134
134
|
subjects: "Fag:",
|
|
135
135
|
},
|
|
136
|
+
includes: "Inneholder:",
|
|
136
137
|
searchField: {
|
|
137
138
|
contentTypeResultShowMoreLabel: "Se flere resultater",
|
|
138
139
|
contentTypeResultShowLessLabel: "Se færre resultater",
|
|
@@ -1008,6 +1009,9 @@ const messages = {
|
|
|
1008
1009
|
"Forhåndsvisning av delt mappe. Mappa blir ikke tilgjengelig for andre før du setter den som delt.",
|
|
1009
1010
|
},
|
|
1010
1011
|
},
|
|
1012
|
+
learningpath: {
|
|
1013
|
+
title: "Mine læringsstier",
|
|
1014
|
+
},
|
|
1011
1015
|
arena: {
|
|
1012
1016
|
title: "Arena",
|
|
1013
1017
|
category: {
|
|
@@ -1203,6 +1207,7 @@ const messages = {
|
|
|
1203
1207
|
subjects: "Favorittfag",
|
|
1204
1208
|
profile: "Profil",
|
|
1205
1209
|
more: "Mer",
|
|
1210
|
+
learningpath: "Læringsstier",
|
|
1206
1211
|
},
|
|
1207
1212
|
tagList: "Emneknagger",
|
|
1208
1213
|
tags: "{{count}} emneknagg",
|
|
@@ -133,6 +133,7 @@ const messages = {
|
|
|
133
133
|
label: {
|
|
134
134
|
subjects: "Fag:",
|
|
135
135
|
},
|
|
136
|
+
includes: "Inneheld:",
|
|
136
137
|
searchField: {
|
|
137
138
|
contentTypeResultShowMoreLabel: "Sjå fleire resultat",
|
|
138
139
|
contentTypeResultShowLessLabel: "Sjå færre resultat",
|
|
@@ -1008,6 +1009,9 @@ const messages = {
|
|
|
1008
1009
|
"Førehandsvising av delt mappe. Mappa blir ikkje tilgjengeleg for andre før du set ho som delt.",
|
|
1009
1010
|
},
|
|
1010
1011
|
},
|
|
1012
|
+
learningpath: {
|
|
1013
|
+
title: "Mine læringsstiar",
|
|
1014
|
+
},
|
|
1011
1015
|
arena: {
|
|
1012
1016
|
title: "Arena",
|
|
1013
1017
|
category: {
|
|
@@ -1203,6 +1207,7 @@ const messages = {
|
|
|
1203
1207
|
subjects: "Favorittfag",
|
|
1204
1208
|
profile: "Profil",
|
|
1205
1209
|
more: "Meir",
|
|
1210
|
+
learningpath: "Læringsstiar",
|
|
1206
1211
|
},
|
|
1207
1212
|
tagList: "Emneknaggar",
|
|
1208
1213
|
tags: "{{count}} emneknagg",
|
|
@@ -133,6 +133,7 @@ const messages = {
|
|
|
133
133
|
label: {
|
|
134
134
|
subjects: "Fága:",
|
|
135
135
|
},
|
|
136
|
+
includes: "Inneholder:",
|
|
136
137
|
searchField: {
|
|
137
138
|
contentTypeResultShowMoreLabel: "Geahča eanet bohtosiid",
|
|
138
139
|
contentTypeResultShowLessLabel: "Geahča unnit bohtosiid",
|
|
@@ -1009,6 +1010,9 @@ const messages = {
|
|
|
1009
1010
|
"Forhåndsvisning av delt mappe. Mappa blir ikke tilgjengelig for andre før du setter den som delt.",
|
|
1010
1011
|
},
|
|
1011
1012
|
},
|
|
1013
|
+
learningpath: {
|
|
1014
|
+
title: "Mine læringsstier",
|
|
1015
|
+
},
|
|
1012
1016
|
arena: {
|
|
1013
1017
|
title: "Arena",
|
|
1014
1018
|
category: {
|
|
@@ -1204,6 +1208,7 @@ const messages = {
|
|
|
1204
1208
|
subjects: "Favorittfag",
|
|
1205
1209
|
profile: "Profil",
|
|
1206
1210
|
more: "Mer",
|
|
1211
|
+
learningpath: "Læringsstier",
|
|
1207
1212
|
},
|
|
1208
1213
|
tagList: "Emneknagger",
|
|
1209
1214
|
tags: "{{count}} emneknagg",
|
|
@@ -133,6 +133,7 @@ const messages = {
|
|
|
133
133
|
label: {
|
|
134
134
|
subjects: "Faage:",
|
|
135
135
|
},
|
|
136
|
+
includes: "Inneholder:",
|
|
136
137
|
searchField: {
|
|
137
138
|
contentTypeResultShowMoreLabel: "Gïehtjh jienebh illedahkh",
|
|
138
139
|
contentTypeResultShowLessLabel: "Gïehtjh vaenebh illedahkh",
|
|
@@ -1011,6 +1012,9 @@ const messages = {
|
|
|
1011
1012
|
"Forhåndsvisning av delt mappe. Mappa blir ikke tilgjengelig for andre før du setter den som delt.",
|
|
1012
1013
|
},
|
|
1013
1014
|
},
|
|
1015
|
+
learningpath: {
|
|
1016
|
+
title: "Mine læringsstier",
|
|
1017
|
+
},
|
|
1014
1018
|
arena: {
|
|
1015
1019
|
title: "Arena",
|
|
1016
1020
|
category: {
|
|
@@ -1206,6 +1210,7 @@ const messages = {
|
|
|
1206
1210
|
subjects: "Favorittfag",
|
|
1207
1211
|
profile: "Profil",
|
|
1208
1212
|
more: "Mer",
|
|
1213
|
+
learningpath: "Læringsstier",
|
|
1209
1214
|
},
|
|
1210
1215
|
tagList: "Emneknagger",
|
|
1211
1216
|
tags: "{{count}} emneknagg",
|