@ndla/ui 56.0.33-alpha.0 → 56.0.34-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.
|
@@ -196,7 +196,7 @@ const AudioPlayer = _ref => {
|
|
|
196
196
|
asChild: true,
|
|
197
197
|
textStyle: "title.medium",
|
|
198
198
|
consumeCss: true,
|
|
199
|
-
children: /*#__PURE__*/_jsx("
|
|
199
|
+
children: /*#__PURE__*/_jsx("h4", {
|
|
200
200
|
children: t("audio.textVersion.heading")
|
|
201
201
|
})
|
|
202
202
|
}), /*#__PURE__*/_jsx(TextVersionText, {
|
|
@@ -202,7 +202,7 @@ const AudioPlayer = _ref => {
|
|
|
202
202
|
asChild: true,
|
|
203
203
|
textStyle: "title.medium",
|
|
204
204
|
consumeCss: true,
|
|
205
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("
|
|
205
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("h4", {
|
|
206
206
|
children: t("audio.textVersion.heading")
|
|
207
207
|
})
|
|
208
208
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(TextVersionText, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ndla/ui",
|
|
3
|
-
"version": "56.0.
|
|
3
|
+
"version": "56.0.34-alpha.0",
|
|
4
4
|
"description": "UI component library for NDLA",
|
|
5
5
|
"license": "GPL-3.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"@ndla/core": "^5.0.2",
|
|
36
36
|
"@ndla/icons": "^8.0.23-alpha.0",
|
|
37
37
|
"@ndla/licenses": "^8.0.3-alpha.0",
|
|
38
|
-
"@ndla/primitives": "^1.0.
|
|
39
|
-
"@ndla/safelink": "^7.0.
|
|
38
|
+
"@ndla/primitives": "^1.0.31-alpha.0",
|
|
39
|
+
"@ndla/safelink": "^7.0.31-alpha.0",
|
|
40
40
|
"@ndla/styled-system": "^0.0.22",
|
|
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": "bedff84c8034cb9016d300a3d270d14a49accfff"
|
|
62
62
|
}
|
|
@@ -210,7 +210,7 @@ const AudioPlayer = ({ src, title, subtitle, speech, description, img, textVersi
|
|
|
210
210
|
{!!textVersion && (
|
|
211
211
|
<TextVersionWrapper id={textDescriptionId} hidden={!showTextVersion}>
|
|
212
212
|
<Heading asChild textStyle="title.medium" consumeCss>
|
|
213
|
-
<
|
|
213
|
+
<h4>{t("audio.textVersion.heading")}</h4>
|
|
214
214
|
</Heading>
|
|
215
215
|
<TextVersionText>{textVersion}</TextVersionText>
|
|
216
216
|
</TextVersionWrapper>
|