@atlaskit/jql-editor 4.7.0 → 4.7.1
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 +8 -0
- package/dist/cjs/analytics/util.js +1 -1
- package/dist/cjs/ui/jql-editor-layout/styled.js +1 -1
- package/dist/es2019/analytics/util.js +1 -1
- package/dist/es2019/ui/jql-editor-layout/styled.js +2 -2
- package/dist/esm/analytics/util.js +1 -1
- package/dist/esm/ui/jql-editor-layout/styled.js +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/jql-editor
|
|
2
2
|
|
|
3
|
+
## 4.7.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#138353](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/138353)
|
|
8
|
+
[`1224c0d0ec5c8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1224c0d0ec5c8) -
|
|
9
|
+
[ux] Increased color contrast of fallback color for jql operator to solve accessibility violation
|
|
10
|
+
|
|
3
11
|
## 4.7.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -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", "4.7.
|
|
9
|
+
return (0, _jqlEditorCommon.useJqlPackageAnalytics)(analyticsSource, "@atlaskit/jql-editor", "4.7.1", _jqlEditorCommon.ANALYTICS_CHANNEL);
|
|
10
10
|
};
|
|
@@ -124,7 +124,7 @@ var EditorView = exports.EditorView = _styled.default.div(_templateObject2 || (_
|
|
|
124
124
|
return rowHeight * props.expandedRows + getEditorInputVerticalPadding(props.isCompact) * 2;
|
|
125
125
|
}, "var(--ds-text, ".concat(_colors.N700, ")"), function (props) {
|
|
126
126
|
return getEditorInputVerticalPadding(props.isCompact);
|
|
127
|
-
}, editorInputHorizontalPadding, "var(--ds-text-accent-purple, ".concat(_colors.P400, ")"), "var(--ds-text-accent-blue, ".concat(_colors.B300, ")"), "var(--ds-text-accent-green, ".concat(_colors.
|
|
127
|
+
}, editorInputHorizontalPadding, "var(--ds-text-accent-purple, ".concat(_colors.P400, ")"), "var(--ds-text-accent-blue, ".concat(_colors.B300, ")"), "var(--ds-text-accent-green, ".concat(_colors.G500, ")"), "var(--ds-text-danger, ".concat(_colors.R400, ")"), "var(--ds-text-subtlest, ".concat(_colors.N100, ")"), rowHeight / 10, "var(--ds-space-100, 8px)", "var(--ds-space-025, 2px)", "var(--ds-space-100, 8px)", function (props) {
|
|
128
128
|
return !props.lineNumbersVisible && // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
|
|
129
129
|
(0, _react.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t\tdisplay: none;\n\t\t\t\t"])));
|
|
130
130
|
});
|
|
@@ -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", "4.7.
|
|
3
|
+
return useJqlPackageAnalytics(analyticsSource, "@atlaskit/jql-editor", "4.7.1", ANALYTICS_CHANNEL);
|
|
4
4
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { css, keyframes } from '@emotion/react';
|
|
3
3
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
4
|
import styled from '@emotion/styled';
|
|
5
|
-
import { B200, B300,
|
|
5
|
+
import { B200, B300, G500, N0, N10, N100, N30, N700, N800, N900, P400, R400 } from '@atlaskit/theme/colors';
|
|
6
6
|
import { codeFontFamily, fontFamily, fontSize,
|
|
7
7
|
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
8
8
|
gridSize, layers } from '@atlaskit/theme/constants';
|
|
@@ -176,7 +176,7 @@ export const EditorView = styled.div`
|
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
.mark-token-operator {
|
|
179
|
-
color: ${`var(--ds-text-accent-green, ${
|
|
179
|
+
color: ${`var(--ds-text-accent-green, ${G500})`};
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
.mark-token-error {
|
|
@@ -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", "4.7.
|
|
3
|
+
return useJqlPackageAnalytics(analyticsSource, "@atlaskit/jql-editor", "4.7.1", ANALYTICS_CHANNEL);
|
|
4
4
|
};
|
|
@@ -4,7 +4,7 @@ var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
|
|
4
4
|
import { css, keyframes } from '@emotion/react';
|
|
5
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
6
|
import styled from '@emotion/styled';
|
|
7
|
-
import { B200, B300,
|
|
7
|
+
import { B200, B300, G500, N0, N10, N100, N30, N700, N800, N900, P400, R400 } from '@atlaskit/theme/colors';
|
|
8
8
|
import { codeFontFamily, fontFamily, fontSize,
|
|
9
9
|
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
10
10
|
gridSize, layers } from '@atlaskit/theme/constants';
|
|
@@ -120,7 +120,7 @@ export var EditorView = styled.div(_templateObject2 || (_templateObject2 = _tagg
|
|
|
120
120
|
return rowHeight * props.expandedRows + getEditorInputVerticalPadding(props.isCompact) * 2;
|
|
121
121
|
}, "var(--ds-text, ".concat(N700, ")"), function (props) {
|
|
122
122
|
return getEditorInputVerticalPadding(props.isCompact);
|
|
123
|
-
}, editorInputHorizontalPadding, "var(--ds-text-accent-purple, ".concat(P400, ")"), "var(--ds-text-accent-blue, ".concat(B300, ")"), "var(--ds-text-accent-green, ".concat(
|
|
123
|
+
}, editorInputHorizontalPadding, "var(--ds-text-accent-purple, ".concat(P400, ")"), "var(--ds-text-accent-blue, ".concat(B300, ")"), "var(--ds-text-accent-green, ".concat(G500, ")"), "var(--ds-text-danger, ".concat(R400, ")"), "var(--ds-text-subtlest, ".concat(N100, ")"), rowHeight / 10, "var(--ds-space-100, 8px)", "var(--ds-space-025, 2px)", "var(--ds-space-100, 8px)", function (props) {
|
|
124
124
|
return !props.lineNumbersVisible && // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
|
|
125
125
|
css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n\t\t\t\t\tdisplay: none;\n\t\t\t\t"])));
|
|
126
126
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/jql-editor",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.1",
|
|
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",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@atlaskit/button": "^20.1.0",
|
|
42
42
|
"@atlaskit/editor-prosemirror": "5.0.1",
|
|
43
43
|
"@atlaskit/form": "^10.5.0",
|
|
44
|
-
"@atlaskit/icon": "^22.
|
|
44
|
+
"@atlaskit/icon": "^22.16.0",
|
|
45
45
|
"@atlaskit/jql-ast": "^3.3.0",
|
|
46
46
|
"@atlaskit/jql-autocomplete": "^2.0.0",
|
|
47
47
|
"@atlaskit/jql-editor-common": "^2.1.0",
|