@neo4j-ndl/react 2.3.7 → 2.3.8
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 2.3.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#721](https://github.com/neo4j/needle/pull/721) [`1fbf942583854edb6657a368813a27e44c07bd71`](https://github.com/neo4j/needle/commit/1fbf942583854edb6657a368813a27e44c07bd71) Thanks [@konsalex](https://github.com/konsalex)! - sync external link icon and styles
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`1fbf942583854edb6657a368813a27e44c07bd71`](https://github.com/neo4j/needle/commit/1fbf942583854edb6657a368813a27e44c07bd71)]:
|
|
10
|
+
- @neo4j-ndl/base@2.3.5
|
|
11
|
+
|
|
3
12
|
## 2.3.7
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -46,7 +46,7 @@ const TextLink = react_1.default.forwardRef(function TextLink(_a, ref) {
|
|
|
46
46
|
'ndl-external-link': externalLink,
|
|
47
47
|
'ndl-disabled-text-link': disabled,
|
|
48
48
|
});
|
|
49
|
-
return ((0, jsx_runtime_1.jsxs)(Component, Object.assign({}, restProps, { className: classes, href: href, ref: ref }, (disabled && { tabIndex: -1 }), (propsTarget && { target: propsTarget }), { children: [(0, jsx_runtime_1.jsx)("div", { children: children }), externalLink && ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(icons_1.
|
|
49
|
+
return ((0, jsx_runtime_1.jsxs)(Component, Object.assign({}, restProps, { className: classes, href: href, ref: ref }, (disabled && { tabIndex: -1 }), (propsTarget && { target: propsTarget }), { children: [(0, jsx_runtime_1.jsx)("div", { children: children }), externalLink && ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(icons_1.ArrowUpRightIconOutline, { className: "ndl-external-link-icon" }) }))] })));
|
|
50
50
|
});
|
|
51
51
|
exports.default = TextLink;
|
|
52
52
|
//# sourceMappingURL=TextLink.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextLink.js","sourceRoot":"","sources":["../../../src/text-link/TextLink.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,kDAA0B;AAE1B,8DAAuD;AACvD,
|
|
1
|
+
{"version":3,"file":"TextLink.js","sourceRoot":"","sources":["../../../src/text-link/TextLink.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,kDAA0B;AAE1B,8DAAuD;AACvD,oCAAmD;AAmBnD,MAAM,QAAQ,GAAG,eAAK,CAAC,UAAU,CAAC,SAAS,QAAQ,CACjD,EASgB,EAChB,GAA0C;QAV1C,EACE,QAAQ,EACR,IAAI,EACJ,YAAY,GAAG,KAAK,EACpB,QAAQ,GAAG,KAAK,EAChB,EAAE,EACF,SAAS,EACT,MAAM,OAEQ,EADX,SAAS,cARd,6EASC,CADa;IAId,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;IAE7D,MAAM,SAAS,GAAG,EAAE,IAAI,GAAG,CAAC;IAE5B,MAAM,OAAO,GAAG,IAAA,2BAAU,EAAC,eAAe,EAAE,SAAS,EAAE;QACrD,mBAAmB,EAAE,YAAY;QACjC,wBAAwB,EAAE,QAAQ;KACnC,CAAC,CAAC;IAEH,OAAO,CACL,wBAAC,SAAS,oBACJ,SAAS,IACb,SAAS,EAAE,OAAO,EAClB,IAAI,EAAE,IAAI,EACV,GAAG,EAAE,GAAG,IACJ,CAAC,QAAQ,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,EAC9B,CAAC,WAAW,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC,eAE5C,0CAAM,QAAQ,GAAO,EACpB,YAAY,IAAI,CACf,0CACE,uBAAC,+BAAuB,IAAC,SAAS,EAAC,wBAAwB,GAAG,GAC1D,CACP,KACS,CACb,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,kBAAe,QAAQ,CAAC"}
|
|
@@ -32,7 +32,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
32
32
|
*/
|
|
33
33
|
import React from 'react';
|
|
34
34
|
import { classNames } from '../_common/defaultImports';
|
|
35
|
-
import {
|
|
35
|
+
import { ArrowUpRightIconOutline } from '../icons';
|
|
36
36
|
const TextLink = React.forwardRef(function TextLink(_a, ref) {
|
|
37
37
|
var { children, href, externalLink = false, disabled = false, as, className, target } = _a, restProps = __rest(_a, ["children", "href", "externalLink", "disabled", "as", "className", "target"]);
|
|
38
38
|
const propsTarget = target || (externalLink ? '_blank' : '');
|
|
@@ -41,7 +41,7 @@ const TextLink = React.forwardRef(function TextLink(_a, ref) {
|
|
|
41
41
|
'ndl-external-link': externalLink,
|
|
42
42
|
'ndl-disabled-text-link': disabled,
|
|
43
43
|
});
|
|
44
|
-
return (_jsxs(Component, Object.assign({}, restProps, { className: classes, href: href, ref: ref }, (disabled && { tabIndex: -1 }), (propsTarget && { target: propsTarget }), { children: [_jsx("div", { children: children }), externalLink && (_jsx("div", { children: _jsx(
|
|
44
|
+
return (_jsxs(Component, Object.assign({}, restProps, { className: classes, href: href, ref: ref }, (disabled && { tabIndex: -1 }), (propsTarget && { target: propsTarget }), { children: [_jsx("div", { children: children }), externalLink && (_jsx("div", { children: _jsx(ArrowUpRightIconOutline, { className: "ndl-external-link-icon" }) }))] })));
|
|
45
45
|
});
|
|
46
46
|
export default TextLink;
|
|
47
47
|
//# sourceMappingURL=TextLink.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextLink.js","sourceRoot":"","sources":["../../../src/text-link/T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M,QAAQ,GAAO,EACpB,YAAY,IAAI,CACf,wBACE,KAAC,uBAAuB,IAAC,SAAS,EAAC,wBAAwB,GAAG,GAC1D,CACP,KACS,CACb,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,eAAe,QAAQ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neo4j-ndl/react",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.8",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"description": "React implementation of Neo4j Design System",
|
|
6
6
|
"keywords": [
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"@floating-ui/react": "0.25.1",
|
|
94
94
|
"@heroicons/react": "2.0.13",
|
|
95
95
|
"@neo4j-cypher/react-codemirror": "^1.0.1",
|
|
96
|
-
"@neo4j-ndl/base": "^2.3.
|
|
96
|
+
"@neo4j-ndl/base": "^2.3.5",
|
|
97
97
|
"@table-nav/core": "0.0.7",
|
|
98
98
|
"@table-nav/react": "0.0.7",
|
|
99
99
|
"@tanstack/react-table": "^8.9.3",
|