@ndla/ui 11.1.3 → 11.1.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/BlogPosts/BlogPost.js +4 -4
- package/es/CreatedBy/CreatedBy.js +4 -4
- package/es/Footer/FooterLinks.js +6 -6
- package/es/all.css +1 -1
- package/lib/BlogPosts/BlogPost.js +4 -4
- package/lib/CreatedBy/CreatedBy.js +4 -4
- package/lib/Footer/FooterLinks.js +6 -6
- package/lib/all.css +1 -1
- package/package.json +4 -4
- package/src/Article/component.article.scss +1 -1
- package/src/BlogPosts/BlogPost.tsx +1 -2
- package/src/CreatedBy/CreatedBy.tsx +1 -2
- package/src/Footer/FooterLinks.tsx +1 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ndla/ui",
|
|
3
|
-
"version": "11.1.
|
|
3
|
+
"version": "11.1.6",
|
|
4
4
|
"description": "UI component library for NDLA.",
|
|
5
5
|
"license": "GPL-3.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"@ndla/hooks": "^1.1.4",
|
|
38
38
|
"@ndla/icons": "^1.7.0",
|
|
39
39
|
"@ndla/licenses": "^4.1.0",
|
|
40
|
-
"@ndla/modal": "^1.2.
|
|
41
|
-
"@ndla/notion": "^3.1.
|
|
40
|
+
"@ndla/modal": "^1.2.7",
|
|
41
|
+
"@ndla/notion": "^3.1.4",
|
|
42
42
|
"@ndla/safelink": "^1.1.7",
|
|
43
43
|
"@ndla/switch": "^0.1.5",
|
|
44
44
|
"@ndla/tabs": "^1.1.5",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"publishConfig": {
|
|
82
82
|
"access": "public"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "811feece223aa492629c17c09084d851de8a1665"
|
|
85
85
|
}
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
|
|
9
9
|
import React from 'react';
|
|
10
10
|
import styled from '@emotion/styled';
|
|
11
|
-
import { LinkProps } from 'react-router-dom';
|
|
12
11
|
import { spacing, colors, fonts, breakpoints, mq, misc, spacingUnit } from '@ndla/core';
|
|
13
12
|
import { getLicenseByAbbreviation, LicenseByline } from '@ndla/licenses';
|
|
14
13
|
import { Launch as LaunchIcon } from '@ndla/icons/common';
|
|
@@ -116,7 +115,7 @@ const StyledTag = styled.div`
|
|
|
116
115
|
}
|
|
117
116
|
`;
|
|
118
117
|
|
|
119
|
-
const StyledSafeLink = styled(SafeLink)
|
|
118
|
+
const StyledSafeLink = styled(SafeLink)`
|
|
120
119
|
padding: ${spacing.xsmall} 0 ${spacing.small};
|
|
121
120
|
${fonts.sizes(22, 1.1)};
|
|
122
121
|
font-weight: ${fonts.weight.bold};
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import React from 'react';
|
|
10
|
-
import { LinkProps } from 'react-router-dom';
|
|
11
10
|
import styled from '@emotion/styled';
|
|
12
11
|
import { colors, fonts } from '@ndla/core';
|
|
13
12
|
import SafeLink from '@ndla/safelink';
|
|
@@ -30,7 +29,7 @@ const Text = styled.div`
|
|
|
30
29
|
${fonts.sizes('20px', '20px')};
|
|
31
30
|
`;
|
|
32
31
|
|
|
33
|
-
const StyledSafeLink = styled(SafeLink)
|
|
32
|
+
const StyledSafeLink = styled(SafeLink)`
|
|
34
33
|
color: ${colors.text.light};
|
|
35
34
|
`;
|
|
36
35
|
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
|
-
import { LinkProps } from 'react-router-dom';
|
|
4
3
|
import { spacing, fonts, colors, mq, breakpoints, spacingUnit } from '@ndla/core';
|
|
5
4
|
import SafeLink from '@ndla/safelink';
|
|
6
5
|
import { Forward, Launch } from '@ndla/icons/common';
|
|
@@ -57,7 +56,7 @@ const StyledNav = styled.nav`
|
|
|
57
56
|
}
|
|
58
57
|
`;
|
|
59
58
|
|
|
60
|
-
const StyledSafeLink = styled(SafeLink)
|
|
59
|
+
const StyledSafeLink = styled(SafeLink)`
|
|
61
60
|
color: #fff;
|
|
62
61
|
${fonts.sizes(16, 1.5)};
|
|
63
62
|
svg {
|