@ndla/safelink 4.1.9 → 4.1.10
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/lib/SafeLink.d.ts
CHANGED
|
@@ -16,5 +16,5 @@ type Props = {
|
|
|
16
16
|
disabled?: boolean;
|
|
17
17
|
};
|
|
18
18
|
export type SafeLinkProps = Props & LinkProps & HTMLAttributes<HTMLElement>;
|
|
19
|
-
declare const SafeLink: React.ForwardRefExoticComponent<
|
|
19
|
+
declare const SafeLink: React.ForwardRefExoticComponent<Omit<SafeLinkProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
20
20
|
export default SafeLink;
|
package/lib/SafeLinkButton.d.ts
CHANGED
|
@@ -13,5 +13,5 @@ interface Props extends SafeLinkProps, ButtonStyleProps {
|
|
|
13
13
|
to: string;
|
|
14
14
|
className?: string;
|
|
15
15
|
}
|
|
16
|
-
declare const SafeLinkButton: React.ForwardRefExoticComponent<
|
|
16
|
+
declare const SafeLinkButton: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
17
17
|
export default SafeLinkButton;
|
|
@@ -13,5 +13,5 @@ interface Props extends SafeLinkProps, ButtonStyleProps {
|
|
|
13
13
|
to: string;
|
|
14
14
|
className?: string;
|
|
15
15
|
}
|
|
16
|
-
declare const SafeLinkIconButton: React.ForwardRefExoticComponent<
|
|
16
|
+
declare const SafeLinkIconButton: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
17
17
|
export default SafeLinkIconButton;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ndla/safelink",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.10",
|
|
4
4
|
"description": "SafeLink component for NDLA",
|
|
5
5
|
"license": "GPL-3.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"es"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@ndla/button": "^10.1.
|
|
30
|
-
"@ndla/icons": "^3.0.
|
|
29
|
+
"@ndla/button": "^10.1.10",
|
|
30
|
+
"@ndla/icons": "^3.0.6"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"@emotion/react": "^11.10.4",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "7a418d51a890d239ba9a2fb1eb8058141cb41c4b"
|
|
42
42
|
}
|