@atlaskit/jql-editor 5.14.1 → 5.14.2
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 +6 -0
- package/dist/cjs/analytics/util.js +1 -1
- package/dist/cjs/ui/jql-editor-footer-content/jql-messages/warnings/index.js +2 -23
- package/dist/es2019/analytics/util.js +1 -1
- package/dist/es2019/ui/jql-editor-footer-content/jql-messages/warnings/index.js +2 -19
- package/dist/esm/analytics/util.js +1 -1
- package/dist/esm/ui/jql-editor-footer-content/jql-messages/warnings/index.js +2 -23
- package/package.json +6 -9
package/CHANGELOG.md
CHANGED
|
@@ -6,5 +6,5 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.useJqlEditorAnalytics = void 0;
|
|
7
7
|
var _jqlEditorCommon = require("@atlaskit/jql-editor-common");
|
|
8
8
|
var useJqlEditorAnalytics = exports.useJqlEditorAnalytics = function useJqlEditorAnalytics(analyticsSource) {
|
|
9
|
-
return (0, _jqlEditorCommon.useJqlPackageAnalytics)(analyticsSource, "@atlaskit/jql-editor", "
|
|
9
|
+
return (0, _jqlEditorCommon.useJqlPackageAnalytics)(analyticsSource, "@atlaskit/jql-editor", "0.0.0-development", _jqlEditorCommon.ANALYTICS_CHANNEL);
|
|
10
10
|
};
|
|
@@ -13,7 +13,6 @@ var _reactMagneticDi = require("react-magnetic-di");
|
|
|
13
13
|
var _form = require("@atlaskit/form");
|
|
14
14
|
var _statusWarning = _interopRequireDefault(require("@atlaskit/icon/core/status-warning"));
|
|
15
15
|
var _link = _interopRequireDefault(require("@atlaskit/link"));
|
|
16
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
17
16
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
18
17
|
var _useEditorViewHasWarnings = require("../../../../hooks/use-editor-view-has-warnings");
|
|
19
18
|
var _state = require("../../../../state");
|
|
@@ -69,17 +68,7 @@ var useFormattedWarningMessage = exports.useFormattedWarningMessage = function u
|
|
|
69
68
|
} else if (epicLinkDeprecationTerm && parentLinkDeprecationTerm) {
|
|
70
69
|
return formatWarnings(formatMessage(_messages.messages.deprecatedBothParentReplacementMessage, {
|
|
71
70
|
link: function link(chunks) {
|
|
72
|
-
return
|
|
73
|
-
href: softDeprecateEpicParentDocsLink,
|
|
74
|
-
target: "_blank",
|
|
75
|
-
rel: "noopener noreferrer",
|
|
76
|
-
onClick: function onClick(e) {
|
|
77
|
-
return e.stopPropagation();
|
|
78
|
-
}
|
|
79
|
-
}, chunks) :
|
|
80
|
-
/*#__PURE__*/
|
|
81
|
-
// eslint-disable-next-line @atlaskit/design-system/no-html-anchor
|
|
82
|
-
_react.default.createElement("a", {
|
|
71
|
+
return /*#__PURE__*/_react.default.createElement(_link.default, {
|
|
83
72
|
href: softDeprecateEpicParentDocsLink,
|
|
84
73
|
target: "_blank",
|
|
85
74
|
rel: "noopener noreferrer",
|
|
@@ -95,17 +84,7 @@ var useFormattedWarningMessage = exports.useFormattedWarningMessage = function u
|
|
|
95
84
|
} else if (epicLinkDeprecationTerm || parentLinkDeprecationTerm) {
|
|
96
85
|
return formatWarnings(formatMessage(_messages.messages.deprecatedParentReplacementMessage, {
|
|
97
86
|
link: function link(chunks) {
|
|
98
|
-
return
|
|
99
|
-
href: softDeprecateEpicParentDocsLink,
|
|
100
|
-
target: "_blank",
|
|
101
|
-
rel: "noopener noreferrer",
|
|
102
|
-
onClick: function onClick(e) {
|
|
103
|
-
return e.stopPropagation();
|
|
104
|
-
}
|
|
105
|
-
}, chunks) :
|
|
106
|
-
/*#__PURE__*/
|
|
107
|
-
// eslint-disable-next-line @atlaskit/design-system/no-html-anchor
|
|
108
|
-
_react.default.createElement("a", {
|
|
87
|
+
return /*#__PURE__*/_react.default.createElement(_link.default, {
|
|
109
88
|
href: softDeprecateEpicParentDocsLink,
|
|
110
89
|
target: "_blank",
|
|
111
90
|
rel: "noopener noreferrer",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ANALYTICS_CHANNEL, useJqlPackageAnalytics } from '@atlaskit/jql-editor-common';
|
|
2
2
|
export const useJqlEditorAnalytics = analyticsSource => {
|
|
3
|
-
return useJqlPackageAnalytics(analyticsSource, "@atlaskit/jql-editor", "
|
|
3
|
+
return useJqlPackageAnalytics(analyticsSource, "@atlaskit/jql-editor", "0.0.0-development", ANALYTICS_CHANNEL);
|
|
4
4
|
};
|
|
@@ -3,7 +3,6 @@ import { di } from 'react-magnetic-di';
|
|
|
3
3
|
import { HelperMessage } from '@atlaskit/form';
|
|
4
4
|
import StatusWarningIcon from '@atlaskit/icon/core/status-warning';
|
|
5
5
|
import Link from '@atlaskit/link';
|
|
6
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
6
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
8
7
|
import { useEditorViewHasWarnings } from '../../../../hooks/use-editor-view-has-warnings';
|
|
9
8
|
import { useExternalMessages, useHydratedDeprecations, useIntl } from '../../../../state';
|
|
@@ -51,15 +50,7 @@ export const useFormattedWarningMessage = () => {
|
|
|
51
50
|
}));
|
|
52
51
|
} else if (epicLinkDeprecationTerm && parentLinkDeprecationTerm) {
|
|
53
52
|
return formatWarnings(formatMessage(messages.deprecatedBothParentReplacementMessage, {
|
|
54
|
-
link: chunks =>
|
|
55
|
-
href: softDeprecateEpicParentDocsLink,
|
|
56
|
-
target: "_blank",
|
|
57
|
-
rel: "noopener noreferrer",
|
|
58
|
-
onClick: e => e.stopPropagation()
|
|
59
|
-
}, chunks) :
|
|
60
|
-
/*#__PURE__*/
|
|
61
|
-
// eslint-disable-next-line @atlaskit/design-system/no-html-anchor
|
|
62
|
-
React.createElement("a", {
|
|
53
|
+
link: chunks => /*#__PURE__*/React.createElement(Link, {
|
|
63
54
|
href: softDeprecateEpicParentDocsLink,
|
|
64
55
|
target: "_blank",
|
|
65
56
|
rel: "noopener noreferrer",
|
|
@@ -71,15 +62,7 @@ export const useFormattedWarningMessage = () => {
|
|
|
71
62
|
}));
|
|
72
63
|
} else if (epicLinkDeprecationTerm || parentLinkDeprecationTerm) {
|
|
73
64
|
return formatWarnings(formatMessage(messages.deprecatedParentReplacementMessage, {
|
|
74
|
-
link: chunks =>
|
|
75
|
-
href: softDeprecateEpicParentDocsLink,
|
|
76
|
-
target: "_blank",
|
|
77
|
-
rel: "noopener noreferrer",
|
|
78
|
-
onClick: e => e.stopPropagation()
|
|
79
|
-
}, chunks) :
|
|
80
|
-
/*#__PURE__*/
|
|
81
|
-
// eslint-disable-next-line @atlaskit/design-system/no-html-anchor
|
|
82
|
-
React.createElement("a", {
|
|
65
|
+
link: chunks => /*#__PURE__*/React.createElement(Link, {
|
|
83
66
|
href: softDeprecateEpicParentDocsLink,
|
|
84
67
|
target: "_blank",
|
|
85
68
|
rel: "noopener noreferrer",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ANALYTICS_CHANNEL, useJqlPackageAnalytics } from '@atlaskit/jql-editor-common';
|
|
2
2
|
export var useJqlEditorAnalytics = function useJqlEditorAnalytics(analyticsSource) {
|
|
3
|
-
return useJqlPackageAnalytics(analyticsSource, "@atlaskit/jql-editor", "
|
|
3
|
+
return useJqlPackageAnalytics(analyticsSource, "@atlaskit/jql-editor", "0.0.0-development", ANALYTICS_CHANNEL);
|
|
4
4
|
};
|
|
@@ -5,7 +5,6 @@ import { di } from 'react-magnetic-di';
|
|
|
5
5
|
import { HelperMessage } from '@atlaskit/form';
|
|
6
6
|
import StatusWarningIcon from '@atlaskit/icon/core/status-warning';
|
|
7
7
|
import Link from '@atlaskit/link';
|
|
8
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
8
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
10
9
|
import { useEditorViewHasWarnings } from '../../../../hooks/use-editor-view-has-warnings';
|
|
11
10
|
import { useExternalMessages, useHydratedDeprecations, useIntl } from '../../../../state';
|
|
@@ -60,17 +59,7 @@ export var useFormattedWarningMessage = function useFormattedWarningMessage() {
|
|
|
60
59
|
} else if (epicLinkDeprecationTerm && parentLinkDeprecationTerm) {
|
|
61
60
|
return formatWarnings(formatMessage(messages.deprecatedBothParentReplacementMessage, {
|
|
62
61
|
link: function link(chunks) {
|
|
63
|
-
return
|
|
64
|
-
href: softDeprecateEpicParentDocsLink,
|
|
65
|
-
target: "_blank",
|
|
66
|
-
rel: "noopener noreferrer",
|
|
67
|
-
onClick: function onClick(e) {
|
|
68
|
-
return e.stopPropagation();
|
|
69
|
-
}
|
|
70
|
-
}, chunks) :
|
|
71
|
-
/*#__PURE__*/
|
|
72
|
-
// eslint-disable-next-line @atlaskit/design-system/no-html-anchor
|
|
73
|
-
React.createElement("a", {
|
|
62
|
+
return /*#__PURE__*/React.createElement(Link, {
|
|
74
63
|
href: softDeprecateEpicParentDocsLink,
|
|
75
64
|
target: "_blank",
|
|
76
65
|
rel: "noopener noreferrer",
|
|
@@ -86,17 +75,7 @@ export var useFormattedWarningMessage = function useFormattedWarningMessage() {
|
|
|
86
75
|
} else if (epicLinkDeprecationTerm || parentLinkDeprecationTerm) {
|
|
87
76
|
return formatWarnings(formatMessage(messages.deprecatedParentReplacementMessage, {
|
|
88
77
|
link: function link(chunks) {
|
|
89
|
-
return
|
|
90
|
-
href: softDeprecateEpicParentDocsLink,
|
|
91
|
-
target: "_blank",
|
|
92
|
-
rel: "noopener noreferrer",
|
|
93
|
-
onClick: function onClick(e) {
|
|
94
|
-
return e.stopPropagation();
|
|
95
|
-
}
|
|
96
|
-
}, chunks) :
|
|
97
|
-
/*#__PURE__*/
|
|
98
|
-
// eslint-disable-next-line @atlaskit/design-system/no-html-anchor
|
|
99
|
-
React.createElement("a", {
|
|
78
|
+
return /*#__PURE__*/React.createElement(Link, {
|
|
100
79
|
href: softDeprecateEpicParentDocsLink,
|
|
101
80
|
target: "_blank",
|
|
102
81
|
rel: "noopener noreferrer",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/jql-editor",
|
|
3
|
-
"version": "5.14.
|
|
3
|
+
"version": "5.14.2",
|
|
4
4
|
"description": "This package allows consumers to render an advanced JQL editor component to enable autocomplete-assisted authoring and validation of JQL queries.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -36,25 +36,25 @@
|
|
|
36
36
|
"@atlaskit/analytics-gas-types": "^5.1.0",
|
|
37
37
|
"@atlaskit/analytics-next": "^11.2.0",
|
|
38
38
|
"@atlaskit/avatar": "^25.11.0",
|
|
39
|
-
"@atlaskit/button": "^23.
|
|
39
|
+
"@atlaskit/button": "^23.11.0",
|
|
40
40
|
"@atlaskit/css": "^0.19.0",
|
|
41
41
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
42
42
|
"@atlaskit/emoji": "^69.10.0",
|
|
43
43
|
"@atlaskit/form": "^15.5.0",
|
|
44
44
|
"@atlaskit/icon": "^34.0.0",
|
|
45
|
-
"@atlaskit/icon-lab": "^6.
|
|
45
|
+
"@atlaskit/icon-lab": "^6.4.0",
|
|
46
46
|
"@atlaskit/jql-ast": "^3.4.0",
|
|
47
47
|
"@atlaskit/jql-autocomplete": "^2.0.0",
|
|
48
48
|
"@atlaskit/jql-editor-common": "^3.1.0",
|
|
49
49
|
"@atlaskit/jql-parser": "^2.0.0",
|
|
50
|
-
"@atlaskit/link": "^3.
|
|
50
|
+
"@atlaskit/link": "^3.4.0",
|
|
51
51
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
52
52
|
"@atlaskit/popper": "^7.1.0",
|
|
53
53
|
"@atlaskit/primitives": "^18.1.0",
|
|
54
54
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
55
|
-
"@atlaskit/spinner": "^19.
|
|
55
|
+
"@atlaskit/spinner": "^19.1.0",
|
|
56
56
|
"@atlaskit/teams-avatar": "^2.4.0",
|
|
57
|
-
"@atlaskit/theme": "^
|
|
57
|
+
"@atlaskit/theme": "^23.0.0",
|
|
58
58
|
"@atlaskit/tokens": "^11.4.0",
|
|
59
59
|
"@atlaskit/tooltip": "^21.1.0",
|
|
60
60
|
"@atlaskit/townsquare-emoji-provider": "^1.0.0",
|
|
@@ -135,9 +135,6 @@
|
|
|
135
135
|
"add_nin_press_interactions": {
|
|
136
136
|
"type": "boolean"
|
|
137
137
|
},
|
|
138
|
-
"dst-a11y__replace-anchor-with-link__jira-platform-": {
|
|
139
|
-
"type": "boolean"
|
|
140
|
-
},
|
|
141
138
|
"should-render-to-parent-should-be-true-jira-platfo": {
|
|
142
139
|
"type": "boolean"
|
|
143
140
|
},
|