@ndla/ui 3.2.4 → 3.2.5
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.
|
@@ -44,7 +44,7 @@ export var FigureLicenseByline = function FigureLicenseByline(_ref2) {
|
|
|
44
44
|
locale: locale,
|
|
45
45
|
messages: messages,
|
|
46
46
|
licenseRights: license.rights
|
|
47
|
-
}),
|
|
47
|
+
}), ___EmotionJSX("a", _extends({
|
|
48
48
|
key: "link"
|
|
49
49
|
}, classLicenses('link'), {
|
|
50
50
|
target: "_blank",
|
|
@@ -54,7 +54,7 @@ var FigureLicenseByline = function FigureLicenseByline(_ref2) {
|
|
|
54
54
|
locale: locale,
|
|
55
55
|
messages: messages,
|
|
56
56
|
licenseRights: license.rights
|
|
57
|
-
}),
|
|
57
|
+
}), (0, _core.jsx)("a", _extends({
|
|
58
58
|
key: "link"
|
|
59
59
|
}, classLicenses('link'), {
|
|
60
60
|
target: "_blank",
|
package/lib/Hero/Hero.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { ReactNode } from 'react';
|
|
|
9
9
|
export declare type HeroContentType = 'subject-material' | 'tasks-and-activities' | 'assessment-resources' | 'subject' | 'external-learning-resources' | 'source-material' | 'learning-path' | 'topic' | 'beta' | 'ndla-film' | 'ndla-film has-image';
|
|
10
10
|
interface HeroProps {
|
|
11
11
|
children?: ReactNode;
|
|
12
|
-
contentType
|
|
12
|
+
contentType?: HeroContentType;
|
|
13
13
|
}
|
|
14
14
|
export declare const Hero: ({ children, contentType }: HeroProps) => JSX.Element;
|
|
15
15
|
interface Props {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ndla/ui",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.5",
|
|
4
4
|
"description": "UI component library for NDLA.",
|
|
5
5
|
"license": "GPL-3.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -92,5 +92,5 @@
|
|
|
92
92
|
"publishConfig": {
|
|
93
93
|
"access": "public"
|
|
94
94
|
},
|
|
95
|
-
"gitHead": "
|
|
95
|
+
"gitHead": "1260279758f58ca4984d2cced6748ca4e4a01b02"
|
|
96
96
|
}
|
|
@@ -67,7 +67,7 @@ interface Props {
|
|
|
67
67
|
|
|
68
68
|
export const FigureLicenseByline = ({ messages, license, locale }: Props) => (
|
|
69
69
|
<>
|
|
70
|
-
<LicenseDescription key="byline" highlightCC locale={locale} messages={messages} licenseRights={license.rights}
|
|
70
|
+
<LicenseDescription key="byline" highlightCC locale={locale} messages={messages} licenseRights={license.rights} />
|
|
71
71
|
<a key="link" {...classLicenses('link')} target="_blank" rel="noopener noreferrer" href={license.url}>
|
|
72
72
|
{license.linkText}
|
|
73
73
|
</a>
|