@panneau/display-link 3.0.289 → 3.0.292
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/index.js +3 -4
- package/package.json +4 -4
package/es/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import isString from 'lodash-es/isString';
|
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { FormattedMessage } from 'react-intl';
|
|
6
|
-
import { Link as Link$
|
|
6
|
+
import { Link as Link$1 } from 'wouter';
|
|
7
7
|
|
|
8
8
|
var propTypes = {
|
|
9
9
|
item: PropTypes.shape({
|
|
@@ -46,12 +46,11 @@ var Link = function Link(_ref) {
|
|
|
46
46
|
href: value,
|
|
47
47
|
target: target || '_blank',
|
|
48
48
|
rel: "noopener noreferrer"
|
|
49
|
-
}, finalValue) : /*#__PURE__*/React.createElement(Link$
|
|
49
|
+
}, finalValue) : /*#__PURE__*/React.createElement(Link$1, {
|
|
50
50
|
href: value
|
|
51
51
|
}, finalValue);
|
|
52
52
|
};
|
|
53
53
|
Link.propTypes = propTypes;
|
|
54
54
|
Link.defaultProps = defaultProps;
|
|
55
|
-
var Link$1 = Link;
|
|
56
55
|
|
|
57
|
-
export { Link
|
|
56
|
+
export { Link as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panneau/display-link",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.292",
|
|
4
4
|
"description": "Link item value in list",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@babel/runtime": "^7.12.5",
|
|
52
|
-
"@panneau/core": "^3.0.
|
|
53
|
-
"@panneau/themes": "^3.0.
|
|
52
|
+
"@panneau/core": "^3.0.292",
|
|
53
|
+
"@panneau/themes": "^3.0.292",
|
|
54
54
|
"lodash-es": "^4.17.21",
|
|
55
55
|
"prop-types": "^15.7.2",
|
|
56
56
|
"react-intl": "^5.15.8||^6.0.0",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"publishConfig": {
|
|
60
60
|
"access": "public"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "b834b1f268c5696c66278472aa2d1644edad6a55"
|
|
63
63
|
}
|