@atlaskit/jql-editor 5.9.2 → 5.10.0
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 +11 -0
- package/dist/cjs/analytics/util.js +1 -1
- package/dist/cjs/plugins/autocomplete/components/autocomplete-option/index.js +10 -31
- package/dist/cjs/ui/jql-editor/index.js +2 -1
- package/dist/cjs/ui/jql-editor-controls-content/base-expand-toggle/index.js +2 -8
- package/dist/cjs/ui/jql-editor-controls-content/base-syntax-help/index.js +1 -5
- package/dist/cjs/ui/jql-editor-footer-content/jql-messages/infos/index.js +0 -4
- package/dist/cjs/ui/jql-editor-footer-content/jql-messages/warnings/index.js +0 -4
- package/dist/es2019/analytics/util.js +1 -1
- package/dist/es2019/plugins/autocomplete/components/autocomplete-option/index.js +10 -31
- package/dist/es2019/ui/jql-editor/index.js +3 -1
- package/dist/es2019/ui/jql-editor-controls-content/base-expand-toggle/index.js +2 -8
- package/dist/es2019/ui/jql-editor-controls-content/base-syntax-help/index.js +1 -5
- package/dist/es2019/ui/jql-editor-footer-content/jql-messages/infos/index.js +0 -4
- package/dist/es2019/ui/jql-editor-footer-content/jql-messages/warnings/index.js +0 -4
- package/dist/esm/analytics/util.js +1 -1
- package/dist/esm/plugins/autocomplete/components/autocomplete-option/index.js +10 -31
- package/dist/esm/ui/jql-editor/index.js +3 -1
- package/dist/esm/ui/jql-editor-controls-content/base-expand-toggle/index.js +2 -8
- package/dist/esm/ui/jql-editor-controls-content/base-syntax-help/index.js +1 -5
- package/dist/esm/ui/jql-editor-footer-content/jql-messages/infos/index.js +0 -4
- package/dist/esm/ui/jql-editor-footer-content/jql-messages/warnings/index.js +0 -4
- package/package.json +7 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @atlaskit/jql-editor
|
|
2
2
|
|
|
3
|
+
## 5.10.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`762b79e21f96a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/762b79e21f96a) -
|
|
8
|
+
Migrated and cleaned up legacy iconography usage.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
3
14
|
## 5.9.2
|
|
4
15
|
|
|
5
16
|
### Patch 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", "
|
|
9
|
+
return (0, _jqlEditorCommon.useJqlPackageAnalytics)(analyticsSource, "@atlaskit/jql-editor", "0.0.0-development", _jqlEditorCommon.ANALYTICS_CHANNEL);
|
|
10
10
|
};
|
|
@@ -23,15 +23,6 @@ var _tag = _interopRequireDefault(require("@atlaskit/icon/core/tag"));
|
|
|
23
23
|
var _task = _interopRequireDefault(require("@atlaskit/icon/core/task"));
|
|
24
24
|
var _text = _interopRequireDefault(require("@atlaskit/icon/core/text"));
|
|
25
25
|
var _jqlAst = require("@atlaskit/jql-ast");
|
|
26
|
-
var _alignLeftIcon = _interopRequireDefault(require("@atlaskit/legacy-custom-icons/align-left-icon"));
|
|
27
|
-
var _arrowDownCircleIcon = _interopRequireDefault(require("@atlaskit/legacy-custom-icons/arrow-down-circle-icon"));
|
|
28
|
-
var _calendarIcon = _interopRequireDefault(require("@atlaskit/legacy-custom-icons/calendar-icon"));
|
|
29
|
-
var _clockIcon = _interopRequireDefault(require("@atlaskit/legacy-custom-icons/clock-icon"));
|
|
30
|
-
var _dataNumberIcon = _interopRequireDefault(require("@atlaskit/legacy-custom-icons/data-number-icon"));
|
|
31
|
-
var _personAvatarIcon = _interopRequireDefault(require("@atlaskit/legacy-custom-icons/person-avatar-icon"));
|
|
32
|
-
var _tagIcon = _interopRequireDefault(require("@atlaskit/legacy-custom-icons/tag-icon"));
|
|
33
|
-
var _taskIcon = _interopRequireDefault(require("@atlaskit/legacy-custom-icons/task-icon"));
|
|
34
|
-
var _textIcon = _interopRequireDefault(require("@atlaskit/legacy-custom-icons/text-icon"));
|
|
35
26
|
var _colors = require("@atlaskit/theme/colors");
|
|
36
27
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
37
28
|
var _state = require("../../../../state");
|
|
@@ -39,11 +30,8 @@ var _messages = require("./messages");
|
|
|
39
30
|
var _styled = require("./styled");
|
|
40
31
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
41
32
|
var ResizedIcon = function ResizedIcon(_ref) {
|
|
42
|
-
var Icon = _ref.Icon
|
|
43
|
-
LegacyIcon = _ref.LegacyIcon;
|
|
33
|
+
var Icon = _ref.Icon;
|
|
44
34
|
return /*#__PURE__*/_react.default.createElement(Icon, {
|
|
45
|
-
LEGACY_fallbackIcon: LegacyIcon,
|
|
46
|
-
LEGACY_size: "small",
|
|
47
35
|
label: "",
|
|
48
36
|
testId: "jql-editor-field-type-icon",
|
|
49
37
|
color: "currentColor"
|
|
@@ -58,48 +46,39 @@ var getFieldTypeIcon = function getFieldTypeIcon(type) {
|
|
|
58
46
|
switch (type) {
|
|
59
47
|
case 'Checkboxes':
|
|
60
48
|
return /*#__PURE__*/_react.default.createElement(ResizedIcon, {
|
|
61
|
-
Icon: _task.default
|
|
62
|
-
LegacyIcon: _taskIcon.default
|
|
49
|
+
Icon: _task.default
|
|
63
50
|
});
|
|
64
51
|
case 'Date':
|
|
65
52
|
return /*#__PURE__*/_react.default.createElement(ResizedIcon, {
|
|
66
|
-
Icon: _calendar.default
|
|
67
|
-
LegacyIcon: _calendarIcon.default
|
|
53
|
+
Icon: _calendar.default
|
|
68
54
|
});
|
|
69
55
|
case 'Dropdown':
|
|
70
56
|
return /*#__PURE__*/_react.default.createElement(ResizedIcon, {
|
|
71
|
-
Icon: _fieldDropdown.default
|
|
72
|
-
LegacyIcon: _arrowDownCircleIcon.default
|
|
57
|
+
Icon: _fieldDropdown.default
|
|
73
58
|
});
|
|
74
59
|
case 'Labels':
|
|
75
60
|
return /*#__PURE__*/_react.default.createElement(ResizedIcon, {
|
|
76
|
-
Icon: _tag.default
|
|
77
|
-
LegacyIcon: _tagIcon.default
|
|
61
|
+
Icon: _tag.default
|
|
78
62
|
});
|
|
79
63
|
case 'Number':
|
|
80
64
|
return /*#__PURE__*/_react.default.createElement(ResizedIcon, {
|
|
81
|
-
Icon: _dataNumber.default
|
|
82
|
-
LegacyIcon: _dataNumberIcon.default
|
|
65
|
+
Icon: _dataNumber.default
|
|
83
66
|
});
|
|
84
67
|
case 'Paragraph':
|
|
85
68
|
return /*#__PURE__*/_react.default.createElement(ResizedIcon, {
|
|
86
|
-
Icon: _alignTextLeft.default
|
|
87
|
-
LegacyIcon: _alignLeftIcon.default
|
|
69
|
+
Icon: _alignTextLeft.default
|
|
88
70
|
});
|
|
89
71
|
case 'People':
|
|
90
72
|
return /*#__PURE__*/_react.default.createElement(ResizedIcon, {
|
|
91
|
-
Icon: _personAvatar.default
|
|
92
|
-
LegacyIcon: _personAvatarIcon.default
|
|
73
|
+
Icon: _personAvatar.default
|
|
93
74
|
});
|
|
94
75
|
case 'Short text':
|
|
95
76
|
return /*#__PURE__*/_react.default.createElement(ResizedIcon, {
|
|
96
|
-
Icon: _text.default
|
|
97
|
-
LegacyIcon: _textIcon.default
|
|
77
|
+
Icon: _text.default
|
|
98
78
|
});
|
|
99
79
|
case 'Time stamp':
|
|
100
80
|
return /*#__PURE__*/_react.default.createElement(ResizedIcon, {
|
|
101
|
-
Icon: _clock.default
|
|
102
|
-
LegacyIcon: _clockIcon.default
|
|
81
|
+
Icon: _clock.default
|
|
103
82
|
});
|
|
104
83
|
default:
|
|
105
84
|
return null;
|
|
@@ -19,11 +19,12 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
19
19
|
|
|
20
20
|
// eslint-disable-next-line @atlassian/tangerine/import/no-parent-imports
|
|
21
21
|
|
|
22
|
+
var emptyArray = [];
|
|
22
23
|
var JQLEditorInner = function JQLEditorInner(_ref) {
|
|
23
24
|
var analyticsSource = _ref.analyticsSource,
|
|
24
25
|
query = _ref.query,
|
|
25
26
|
_ref$messages = _ref.messages,
|
|
26
|
-
messages = _ref$messages === void 0 ?
|
|
27
|
+
messages = _ref$messages === void 0 ? emptyArray : _ref$messages,
|
|
27
28
|
inputRef = _ref.inputRef,
|
|
28
29
|
isSearching = _ref.isSearching,
|
|
29
30
|
onEditorMounted = _ref.onEditorMounted,
|
|
@@ -10,8 +10,6 @@ var _button = _interopRequireDefault(require("@atlaskit/button"));
|
|
|
10
10
|
var _new = require("@atlaskit/button/new");
|
|
11
11
|
var _growDiagonal = _interopRequireDefault(require("@atlaskit/icon/core/grow-diagonal"));
|
|
12
12
|
var _shrinkDiagonal = _interopRequireDefault(require("@atlaskit/icon/core/shrink-diagonal"));
|
|
13
|
-
var _actualSize = _interopRequireDefault(require("@atlaskit/icon/glyph/media-services/actual-size"));
|
|
14
|
-
var _fitToPage = _interopRequireDefault(require("@atlaskit/icon/glyph/media-services/fit-to-page"));
|
|
15
13
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
16
14
|
var _colors = require("@atlaskit/theme/colors");
|
|
17
15
|
var _styled = require("./styled");
|
|
@@ -20,18 +18,14 @@ var ExpandCircleIcon = function ExpandCircleIcon(_ref) {
|
|
|
20
18
|
var isDisabled = _ref.isDisabled;
|
|
21
19
|
return /*#__PURE__*/_react.default.createElement(_growDiagonal.default, {
|
|
22
20
|
label: '',
|
|
23
|
-
|
|
24
|
-
color: isDisabled ? "var(--ds-icon-disabled, ".concat(_colors.N50, ")") : "var(--ds-icon, ".concat(_colors.N500, ")"),
|
|
25
|
-
LEGACY_fallbackIcon: _actualSize.default
|
|
21
|
+
color: isDisabled ? "var(--ds-icon-disabled, ".concat(_colors.N50, ")") : "var(--ds-icon, ".concat(_colors.N500, ")")
|
|
26
22
|
});
|
|
27
23
|
};
|
|
28
24
|
var CollapseCircleIcon = function CollapseCircleIcon(_ref2) {
|
|
29
25
|
var isDisabled = _ref2.isDisabled;
|
|
30
26
|
return /*#__PURE__*/_react.default.createElement(_shrinkDiagonal.default, {
|
|
31
27
|
label: '',
|
|
32
|
-
|
|
33
|
-
color: isDisabled ? "var(--ds-icon-disabled, ".concat(_colors.N50, ")") : "var(--ds-icon, ".concat(_colors.N500, ")"),
|
|
34
|
-
LEGACY_fallbackIcon: _fitToPage.default
|
|
28
|
+
color: isDisabled ? "var(--ds-icon-disabled, ".concat(_colors.N50, ")") : "var(--ds-icon, ".concat(_colors.N500, ")")
|
|
35
29
|
});
|
|
36
30
|
};
|
|
37
31
|
var BaseExpandToggle = exports.BaseExpandToggle = function BaseExpandToggle(_ref3) {
|
|
@@ -10,7 +10,6 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
10
10
|
var _button = _interopRequireDefault(require("@atlaskit/button"));
|
|
11
11
|
var _new = require("@atlaskit/button/new");
|
|
12
12
|
var _questionCircle = _interopRequireDefault(require("@atlaskit/icon/core/question-circle"));
|
|
13
|
-
var _question = _interopRequireDefault(require("@atlaskit/icon/glyph/question"));
|
|
14
13
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
15
14
|
var _primitives = require("@atlaskit/primitives");
|
|
16
15
|
var _colors = require("@atlaskit/theme/colors");
|
|
@@ -53,10 +52,7 @@ var BaseSyntaxHelp = exports.BaseSyntaxHelp = function BaseSyntaxHelp(_ref) {
|
|
|
53
52
|
xcss: iconStyle
|
|
54
53
|
}, /*#__PURE__*/_react.default.createElement(_questionCircle.default, {
|
|
55
54
|
label: '',
|
|
56
|
-
color: isDisabled ? "var(--ds-icon-disabled, ".concat(_colors.N0, ")") : "var(--ds-icon-inverse, ".concat(_colors.N0, ")")
|
|
57
|
-
LEGACY_size: 'small',
|
|
58
|
-
LEGACY_fallbackIcon: _question.default,
|
|
59
|
-
LEGACY_margin: "-2px"
|
|
55
|
+
color: isDisabled ? "var(--ds-icon-disabled, ".concat(_colors.N0, ")") : "var(--ds-icon-inverse, ".concat(_colors.N0, ")")
|
|
60
56
|
})),
|
|
61
57
|
onClick: onClick
|
|
62
58
|
}));
|
|
@@ -11,7 +11,6 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
11
11
|
var _reactMagneticDi = require("react-magnetic-di");
|
|
12
12
|
var _form = require("@atlaskit/form");
|
|
13
13
|
var _statusInformation = _interopRequireDefault(require("@atlaskit/icon/core/status-information"));
|
|
14
|
-
var _info = _interopRequireDefault(require("@atlaskit/icon/glyph/info"));
|
|
15
14
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
16
15
|
var colors = _interopRequireWildcard(require("@atlaskit/theme/colors"));
|
|
17
16
|
var _useEditorViewHasInfos = require("../../../../hooks/use-editor-view-has-infos");
|
|
@@ -40,9 +39,6 @@ var InfoMessages = exports.InfoMessages = function InfoMessages() {
|
|
|
40
39
|
}, /*#__PURE__*/_react.default.createElement(_statusInformation.default, {
|
|
41
40
|
label: "",
|
|
42
41
|
color: "var(--ds-icon-information, ".concat(colors.B500, ")"),
|
|
43
|
-
LEGACY_size: "small",
|
|
44
|
-
LEGACY_fallbackIcon: _info.default,
|
|
45
|
-
LEGACY_margin: "0 -4px 0 0",
|
|
46
42
|
size: "small"
|
|
47
43
|
})), infoMessage)) : null;
|
|
48
44
|
};
|
|
@@ -12,7 +12,6 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
12
12
|
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
|
-
var _warning = _interopRequireDefault(require("@atlaskit/icon/glyph/warning"));
|
|
16
15
|
var _link = _interopRequireDefault(require("@atlaskit/link"));
|
|
17
16
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
18
17
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
@@ -131,9 +130,6 @@ var WarningMessages = exports.WarningMessages = function WarningMessages() {
|
|
|
131
130
|
}, /*#__PURE__*/_react.default.createElement(_statusWarning.default, {
|
|
132
131
|
label: "",
|
|
133
132
|
color: "var(--ds-icon-warning, ".concat(colors.Y400, ")"),
|
|
134
|
-
LEGACY_size: "small",
|
|
135
|
-
LEGACY_fallbackIcon: _warning.default,
|
|
136
|
-
LEGACY_margin: "0 -4px 0 0",
|
|
137
133
|
size: "small"
|
|
138
134
|
})), warningMessage)) : null;
|
|
139
135
|
};
|
|
@@ -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
|
};
|
|
@@ -13,26 +13,14 @@ import TagIcon from '@atlaskit/icon/core/tag';
|
|
|
13
13
|
import CheckboxIcon from '@atlaskit/icon/core/task';
|
|
14
14
|
import TextIcon from '@atlaskit/icon/core/text';
|
|
15
15
|
import { normaliseJqlString } from '@atlaskit/jql-ast';
|
|
16
|
-
import LegacyAlignLeftIcon from '@atlaskit/legacy-custom-icons/align-left-icon';
|
|
17
|
-
import LegacyArrowDownIcon from '@atlaskit/legacy-custom-icons/arrow-down-circle-icon';
|
|
18
|
-
import LegacyCalendarIcon from '@atlaskit/legacy-custom-icons/calendar-icon';
|
|
19
|
-
import LegacyClockIcon from '@atlaskit/legacy-custom-icons/clock-icon';
|
|
20
|
-
import LegacyDataNumberIcon from '@atlaskit/legacy-custom-icons/data-number-icon';
|
|
21
|
-
import LegacyPersonAvatarIcon from '@atlaskit/legacy-custom-icons/person-avatar-icon';
|
|
22
|
-
import LegacyTagIcon from '@atlaskit/legacy-custom-icons/tag-icon';
|
|
23
|
-
import LegacyCheckboxIcon from '@atlaskit/legacy-custom-icons/task-icon';
|
|
24
|
-
import LegacyTextIcon from '@atlaskit/legacy-custom-icons/text-icon';
|
|
25
16
|
import { N400 } from '@atlaskit/theme/colors';
|
|
26
17
|
import Tooltip from '@atlaskit/tooltip';
|
|
27
18
|
import { useIntl } from '../../../../state';
|
|
28
19
|
import { messages } from './messages';
|
|
29
20
|
import { DeprecatedOptionContainer, FieldType, FieldTypeIcon, OptionHighlight, OptionListItem, OptionName, TooltipContent } from './styled';
|
|
30
21
|
const ResizedIcon = ({
|
|
31
|
-
Icon
|
|
32
|
-
LegacyIcon
|
|
22
|
+
Icon
|
|
33
23
|
}) => /*#__PURE__*/React.createElement(Icon, {
|
|
34
|
-
LEGACY_fallbackIcon: LegacyIcon,
|
|
35
|
-
LEGACY_size: "small",
|
|
36
24
|
label: "",
|
|
37
25
|
testId: "jql-editor-field-type-icon",
|
|
38
26
|
color: "currentColor"
|
|
@@ -46,48 +34,39 @@ const getFieldTypeIcon = type => {
|
|
|
46
34
|
switch (type) {
|
|
47
35
|
case 'Checkboxes':
|
|
48
36
|
return /*#__PURE__*/React.createElement(ResizedIcon, {
|
|
49
|
-
Icon: CheckboxIcon
|
|
50
|
-
LegacyIcon: LegacyCheckboxIcon
|
|
37
|
+
Icon: CheckboxIcon
|
|
51
38
|
});
|
|
52
39
|
case 'Date':
|
|
53
40
|
return /*#__PURE__*/React.createElement(ResizedIcon, {
|
|
54
|
-
Icon: CalendarIcon
|
|
55
|
-
LegacyIcon: LegacyCalendarIcon
|
|
41
|
+
Icon: CalendarIcon
|
|
56
42
|
});
|
|
57
43
|
case 'Dropdown':
|
|
58
44
|
return /*#__PURE__*/React.createElement(ResizedIcon, {
|
|
59
|
-
Icon: FieldDropdownIcon
|
|
60
|
-
LegacyIcon: LegacyArrowDownIcon
|
|
45
|
+
Icon: FieldDropdownIcon
|
|
61
46
|
});
|
|
62
47
|
case 'Labels':
|
|
63
48
|
return /*#__PURE__*/React.createElement(ResizedIcon, {
|
|
64
|
-
Icon: TagIcon
|
|
65
|
-
LegacyIcon: LegacyTagIcon
|
|
49
|
+
Icon: TagIcon
|
|
66
50
|
});
|
|
67
51
|
case 'Number':
|
|
68
52
|
return /*#__PURE__*/React.createElement(ResizedIcon, {
|
|
69
|
-
Icon: DataNumberIcon
|
|
70
|
-
LegacyIcon: LegacyDataNumberIcon
|
|
53
|
+
Icon: DataNumberIcon
|
|
71
54
|
});
|
|
72
55
|
case 'Paragraph':
|
|
73
56
|
return /*#__PURE__*/React.createElement(ResizedIcon, {
|
|
74
|
-
Icon: AlignTextLeftIcon
|
|
75
|
-
LegacyIcon: LegacyAlignLeftIcon
|
|
57
|
+
Icon: AlignTextLeftIcon
|
|
76
58
|
});
|
|
77
59
|
case 'People':
|
|
78
60
|
return /*#__PURE__*/React.createElement(ResizedIcon, {
|
|
79
|
-
Icon: PersonAvatarIcon
|
|
80
|
-
LegacyIcon: LegacyPersonAvatarIcon
|
|
61
|
+
Icon: PersonAvatarIcon
|
|
81
62
|
});
|
|
82
63
|
case 'Short text':
|
|
83
64
|
return /*#__PURE__*/React.createElement(ResizedIcon, {
|
|
84
|
-
Icon: TextIcon
|
|
85
|
-
LegacyIcon: LegacyTextIcon
|
|
65
|
+
Icon: TextIcon
|
|
86
66
|
});
|
|
87
67
|
case 'Time stamp':
|
|
88
68
|
return /*#__PURE__*/React.createElement(ResizedIcon, {
|
|
89
|
-
Icon: ClockIcon
|
|
90
|
-
LegacyIcon: LegacyClockIcon
|
|
69
|
+
Icon: ClockIcon
|
|
91
70
|
});
|
|
92
71
|
default:
|
|
93
72
|
return null;
|
|
@@ -5,13 +5,15 @@ import { useJqlEditorAnalytics } from '../../analytics';
|
|
|
5
5
|
import { EditorThemeContext, useEditorTheme } from '../../hooks/use-editor-theme';
|
|
6
6
|
import { EditorStateContainer } from '../../state';
|
|
7
7
|
// eslint-disable-next-line @atlassian/tangerine/import/no-parent-imports
|
|
8
|
+
|
|
8
9
|
import { JQLEditorPortalRenderer } from '../jql-editor-portal-provider';
|
|
9
10
|
// eslint-disable-next-line @atlassian/tangerine/import/no-parent-imports
|
|
10
11
|
import JQLEditorView from '../jql-editor-view';
|
|
12
|
+
const emptyArray = [];
|
|
11
13
|
const JQLEditorInner = ({
|
|
12
14
|
analyticsSource,
|
|
13
15
|
query,
|
|
14
|
-
messages =
|
|
16
|
+
messages = emptyArray,
|
|
15
17
|
inputRef,
|
|
16
18
|
isSearching,
|
|
17
19
|
onEditorMounted,
|
|
@@ -3,8 +3,6 @@ import Button from '@atlaskit/button';
|
|
|
3
3
|
import { IconButton } from '@atlaskit/button/new';
|
|
4
4
|
import GrowDiagonalIcon from '@atlaskit/icon/core/grow-diagonal';
|
|
5
5
|
import ShrinkDiagonalIcon from '@atlaskit/icon/core/shrink-diagonal';
|
|
6
|
-
import LegacyMediaServicesActualSizeIcon from '@atlaskit/icon/glyph/media-services/actual-size';
|
|
7
|
-
import LegacyMediaServicesFitToPageIcon from '@atlaskit/icon/glyph/media-services/fit-to-page';
|
|
8
6
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
7
|
import { N50, N500 } from '@atlaskit/theme/colors';
|
|
10
8
|
import { ExpandToggleContainer } from './styled';
|
|
@@ -14,17 +12,13 @@ const ExpandCircleIcon = ({
|
|
|
14
12
|
isDisabled
|
|
15
13
|
}) => /*#__PURE__*/React.createElement(GrowDiagonalIcon, {
|
|
16
14
|
label: '',
|
|
17
|
-
|
|
18
|
-
color: isDisabled ? `var(--ds-icon-disabled, ${N50})` : `var(--ds-icon, ${N500})`,
|
|
19
|
-
LEGACY_fallbackIcon: LegacyMediaServicesActualSizeIcon
|
|
15
|
+
color: isDisabled ? `var(--ds-icon-disabled, ${N50})` : `var(--ds-icon, ${N500})`
|
|
20
16
|
});
|
|
21
17
|
const CollapseCircleIcon = ({
|
|
22
18
|
isDisabled
|
|
23
19
|
}) => /*#__PURE__*/React.createElement(ShrinkDiagonalIcon, {
|
|
24
20
|
label: '',
|
|
25
|
-
|
|
26
|
-
color: isDisabled ? `var(--ds-icon-disabled, ${N50})` : `var(--ds-icon, ${N500})`,
|
|
27
|
-
LEGACY_fallbackIcon: LegacyMediaServicesFitToPageIcon
|
|
21
|
+
color: isDisabled ? `var(--ds-icon-disabled, ${N50})` : `var(--ds-icon, ${N500})`
|
|
28
22
|
});
|
|
29
23
|
export const BaseExpandToggle = ({
|
|
30
24
|
expanded,
|
|
@@ -3,7 +3,6 @@ import React from 'react';
|
|
|
3
3
|
import Button from '@atlaskit/button';
|
|
4
4
|
import { LinkIconButton } from '@atlaskit/button/new';
|
|
5
5
|
import QuestionCircleIcon from '@atlaskit/icon/core/question-circle';
|
|
6
|
-
import LegacyQuestionIcon from '@atlaskit/icon/glyph/question';
|
|
7
6
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
7
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
9
8
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
@@ -45,10 +44,7 @@ export const BaseSyntaxHelp = ({
|
|
|
45
44
|
xcss: iconStyle
|
|
46
45
|
}, /*#__PURE__*/React.createElement(QuestionCircleIcon, {
|
|
47
46
|
label: '',
|
|
48
|
-
color: isDisabled ? `var(--ds-icon-disabled, ${N0})` : `var(--ds-icon-inverse, ${N0})
|
|
49
|
-
LEGACY_size: 'small',
|
|
50
|
-
LEGACY_fallbackIcon: LegacyQuestionIcon,
|
|
51
|
-
LEGACY_margin: "-2px"
|
|
47
|
+
color: isDisabled ? `var(--ds-icon-disabled, ${N0})` : `var(--ds-icon-inverse, ${N0})`
|
|
52
48
|
})),
|
|
53
49
|
onClick: onClick
|
|
54
50
|
}));
|
|
@@ -2,7 +2,6 @@ import React from 'react';
|
|
|
2
2
|
import { di } from 'react-magnetic-di';
|
|
3
3
|
import { HelperMessage } from '@atlaskit/form';
|
|
4
4
|
import StatusInformationIcon from '@atlaskit/icon/core/status-information';
|
|
5
|
-
import LegacyInfoIcon from '@atlaskit/icon/glyph/info';
|
|
6
5
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
7
6
|
import * as colors from '@atlaskit/theme/colors';
|
|
8
7
|
import { useEditorViewHasInfos } from '../../../../hooks/use-editor-view-has-infos';
|
|
@@ -30,9 +29,6 @@ export const InfoMessages = () => {
|
|
|
30
29
|
}, /*#__PURE__*/React.createElement(StatusInformationIcon, {
|
|
31
30
|
label: "",
|
|
32
31
|
color: `var(--ds-icon-information, ${colors.B500})`,
|
|
33
|
-
LEGACY_size: "small",
|
|
34
|
-
LEGACY_fallbackIcon: LegacyInfoIcon,
|
|
35
|
-
LEGACY_margin: "0 -4px 0 0",
|
|
36
32
|
size: "small"
|
|
37
33
|
})), infoMessage)) : null;
|
|
38
34
|
};
|
|
@@ -2,7 +2,6 @@ import React, { useCallback } from 'react';
|
|
|
2
2
|
import { di } from 'react-magnetic-di';
|
|
3
3
|
import { HelperMessage } from '@atlaskit/form';
|
|
4
4
|
import StatusWarningIcon from '@atlaskit/icon/core/status-warning';
|
|
5
|
-
import LegacyWarningIcon from '@atlaskit/icon/glyph/warning';
|
|
6
5
|
import Link from '@atlaskit/link';
|
|
7
6
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
7
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
@@ -102,9 +101,6 @@ export const WarningMessages = () => {
|
|
|
102
101
|
}, /*#__PURE__*/React.createElement(StatusWarningIcon, {
|
|
103
102
|
label: "",
|
|
104
103
|
color: `var(--ds-icon-warning, ${colors.Y400})`,
|
|
105
|
-
LEGACY_size: "small",
|
|
106
|
-
LEGACY_fallbackIcon: LegacyWarningIcon,
|
|
107
|
-
LEGACY_margin: "0 -4px 0 0",
|
|
108
104
|
size: "small"
|
|
109
105
|
})), warningMessage)) : null;
|
|
110
106
|
};
|
|
@@ -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
|
};
|
|
@@ -15,26 +15,14 @@ import TagIcon from '@atlaskit/icon/core/tag';
|
|
|
15
15
|
import CheckboxIcon from '@atlaskit/icon/core/task';
|
|
16
16
|
import TextIcon from '@atlaskit/icon/core/text';
|
|
17
17
|
import { normaliseJqlString } from '@atlaskit/jql-ast';
|
|
18
|
-
import LegacyAlignLeftIcon from '@atlaskit/legacy-custom-icons/align-left-icon';
|
|
19
|
-
import LegacyArrowDownIcon from '@atlaskit/legacy-custom-icons/arrow-down-circle-icon';
|
|
20
|
-
import LegacyCalendarIcon from '@atlaskit/legacy-custom-icons/calendar-icon';
|
|
21
|
-
import LegacyClockIcon from '@atlaskit/legacy-custom-icons/clock-icon';
|
|
22
|
-
import LegacyDataNumberIcon from '@atlaskit/legacy-custom-icons/data-number-icon';
|
|
23
|
-
import LegacyPersonAvatarIcon from '@atlaskit/legacy-custom-icons/person-avatar-icon';
|
|
24
|
-
import LegacyTagIcon from '@atlaskit/legacy-custom-icons/tag-icon';
|
|
25
|
-
import LegacyCheckboxIcon from '@atlaskit/legacy-custom-icons/task-icon';
|
|
26
|
-
import LegacyTextIcon from '@atlaskit/legacy-custom-icons/text-icon';
|
|
27
18
|
import { N400 } from '@atlaskit/theme/colors';
|
|
28
19
|
import Tooltip from '@atlaskit/tooltip';
|
|
29
20
|
import { useIntl } from '../../../../state';
|
|
30
21
|
import { messages } from './messages';
|
|
31
22
|
import { DeprecatedOptionContainer, FieldType, FieldTypeIcon, OptionHighlight, OptionListItem, OptionName, TooltipContent } from './styled';
|
|
32
23
|
var ResizedIcon = function ResizedIcon(_ref) {
|
|
33
|
-
var Icon = _ref.Icon
|
|
34
|
-
LegacyIcon = _ref.LegacyIcon;
|
|
24
|
+
var Icon = _ref.Icon;
|
|
35
25
|
return /*#__PURE__*/React.createElement(Icon, {
|
|
36
|
-
LEGACY_fallbackIcon: LegacyIcon,
|
|
37
|
-
LEGACY_size: "small",
|
|
38
26
|
label: "",
|
|
39
27
|
testId: "jql-editor-field-type-icon",
|
|
40
28
|
color: "currentColor"
|
|
@@ -49,48 +37,39 @@ var getFieldTypeIcon = function getFieldTypeIcon(type) {
|
|
|
49
37
|
switch (type) {
|
|
50
38
|
case 'Checkboxes':
|
|
51
39
|
return /*#__PURE__*/React.createElement(ResizedIcon, {
|
|
52
|
-
Icon: CheckboxIcon
|
|
53
|
-
LegacyIcon: LegacyCheckboxIcon
|
|
40
|
+
Icon: CheckboxIcon
|
|
54
41
|
});
|
|
55
42
|
case 'Date':
|
|
56
43
|
return /*#__PURE__*/React.createElement(ResizedIcon, {
|
|
57
|
-
Icon: CalendarIcon
|
|
58
|
-
LegacyIcon: LegacyCalendarIcon
|
|
44
|
+
Icon: CalendarIcon
|
|
59
45
|
});
|
|
60
46
|
case 'Dropdown':
|
|
61
47
|
return /*#__PURE__*/React.createElement(ResizedIcon, {
|
|
62
|
-
Icon: FieldDropdownIcon
|
|
63
|
-
LegacyIcon: LegacyArrowDownIcon
|
|
48
|
+
Icon: FieldDropdownIcon
|
|
64
49
|
});
|
|
65
50
|
case 'Labels':
|
|
66
51
|
return /*#__PURE__*/React.createElement(ResizedIcon, {
|
|
67
|
-
Icon: TagIcon
|
|
68
|
-
LegacyIcon: LegacyTagIcon
|
|
52
|
+
Icon: TagIcon
|
|
69
53
|
});
|
|
70
54
|
case 'Number':
|
|
71
55
|
return /*#__PURE__*/React.createElement(ResizedIcon, {
|
|
72
|
-
Icon: DataNumberIcon
|
|
73
|
-
LegacyIcon: LegacyDataNumberIcon
|
|
56
|
+
Icon: DataNumberIcon
|
|
74
57
|
});
|
|
75
58
|
case 'Paragraph':
|
|
76
59
|
return /*#__PURE__*/React.createElement(ResizedIcon, {
|
|
77
|
-
Icon: AlignTextLeftIcon
|
|
78
|
-
LegacyIcon: LegacyAlignLeftIcon
|
|
60
|
+
Icon: AlignTextLeftIcon
|
|
79
61
|
});
|
|
80
62
|
case 'People':
|
|
81
63
|
return /*#__PURE__*/React.createElement(ResizedIcon, {
|
|
82
|
-
Icon: PersonAvatarIcon
|
|
83
|
-
LegacyIcon: LegacyPersonAvatarIcon
|
|
64
|
+
Icon: PersonAvatarIcon
|
|
84
65
|
});
|
|
85
66
|
case 'Short text':
|
|
86
67
|
return /*#__PURE__*/React.createElement(ResizedIcon, {
|
|
87
|
-
Icon: TextIcon
|
|
88
|
-
LegacyIcon: LegacyTextIcon
|
|
68
|
+
Icon: TextIcon
|
|
89
69
|
});
|
|
90
70
|
case 'Time stamp':
|
|
91
71
|
return /*#__PURE__*/React.createElement(ResizedIcon, {
|
|
92
|
-
Icon: ClockIcon
|
|
93
|
-
LegacyIcon: LegacyClockIcon
|
|
72
|
+
Icon: ClockIcon
|
|
94
73
|
});
|
|
95
74
|
default:
|
|
96
75
|
return null;
|
|
@@ -5,14 +5,16 @@ import { useJqlEditorAnalytics } from '../../analytics';
|
|
|
5
5
|
import { EditorThemeContext, useEditorTheme } from '../../hooks/use-editor-theme';
|
|
6
6
|
import { EditorStateContainer } from '../../state';
|
|
7
7
|
// eslint-disable-next-line @atlassian/tangerine/import/no-parent-imports
|
|
8
|
+
|
|
8
9
|
import { JQLEditorPortalRenderer } from '../jql-editor-portal-provider';
|
|
9
10
|
// eslint-disable-next-line @atlassian/tangerine/import/no-parent-imports
|
|
10
11
|
import JQLEditorView from '../jql-editor-view';
|
|
12
|
+
var emptyArray = [];
|
|
11
13
|
var JQLEditorInner = function JQLEditorInner(_ref) {
|
|
12
14
|
var analyticsSource = _ref.analyticsSource,
|
|
13
15
|
query = _ref.query,
|
|
14
16
|
_ref$messages = _ref.messages,
|
|
15
|
-
messages = _ref$messages === void 0 ?
|
|
17
|
+
messages = _ref$messages === void 0 ? emptyArray : _ref$messages,
|
|
16
18
|
inputRef = _ref.inputRef,
|
|
17
19
|
isSearching = _ref.isSearching,
|
|
18
20
|
onEditorMounted = _ref.onEditorMounted,
|
|
@@ -3,8 +3,6 @@ import Button from '@atlaskit/button';
|
|
|
3
3
|
import { IconButton } from '@atlaskit/button/new';
|
|
4
4
|
import GrowDiagonalIcon from '@atlaskit/icon/core/grow-diagonal';
|
|
5
5
|
import ShrinkDiagonalIcon from '@atlaskit/icon/core/shrink-diagonal';
|
|
6
|
-
import LegacyMediaServicesActualSizeIcon from '@atlaskit/icon/glyph/media-services/actual-size';
|
|
7
|
-
import LegacyMediaServicesFitToPageIcon from '@atlaskit/icon/glyph/media-services/fit-to-page';
|
|
8
6
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
7
|
import { N50, N500 } from '@atlaskit/theme/colors';
|
|
10
8
|
import { ExpandToggleContainer } from './styled';
|
|
@@ -14,18 +12,14 @@ var ExpandCircleIcon = function ExpandCircleIcon(_ref) {
|
|
|
14
12
|
var isDisabled = _ref.isDisabled;
|
|
15
13
|
return /*#__PURE__*/React.createElement(GrowDiagonalIcon, {
|
|
16
14
|
label: '',
|
|
17
|
-
|
|
18
|
-
color: isDisabled ? "var(--ds-icon-disabled, ".concat(N50, ")") : "var(--ds-icon, ".concat(N500, ")"),
|
|
19
|
-
LEGACY_fallbackIcon: LegacyMediaServicesActualSizeIcon
|
|
15
|
+
color: isDisabled ? "var(--ds-icon-disabled, ".concat(N50, ")") : "var(--ds-icon, ".concat(N500, ")")
|
|
20
16
|
});
|
|
21
17
|
};
|
|
22
18
|
var CollapseCircleIcon = function CollapseCircleIcon(_ref2) {
|
|
23
19
|
var isDisabled = _ref2.isDisabled;
|
|
24
20
|
return /*#__PURE__*/React.createElement(ShrinkDiagonalIcon, {
|
|
25
21
|
label: '',
|
|
26
|
-
|
|
27
|
-
color: isDisabled ? "var(--ds-icon-disabled, ".concat(N50, ")") : "var(--ds-icon, ".concat(N500, ")"),
|
|
28
|
-
LEGACY_fallbackIcon: LegacyMediaServicesFitToPageIcon
|
|
22
|
+
color: isDisabled ? "var(--ds-icon-disabled, ".concat(N50, ")") : "var(--ds-icon, ".concat(N500, ")")
|
|
29
23
|
});
|
|
30
24
|
};
|
|
31
25
|
export var BaseExpandToggle = function BaseExpandToggle(_ref3) {
|
|
@@ -3,7 +3,6 @@ import React from 'react';
|
|
|
3
3
|
import Button from '@atlaskit/button';
|
|
4
4
|
import { LinkIconButton } from '@atlaskit/button/new';
|
|
5
5
|
import QuestionCircleIcon from '@atlaskit/icon/core/question-circle';
|
|
6
|
-
import LegacyQuestionIcon from '@atlaskit/icon/glyph/question';
|
|
7
6
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
7
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
9
8
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
@@ -46,10 +45,7 @@ export var BaseSyntaxHelp = function BaseSyntaxHelp(_ref) {
|
|
|
46
45
|
xcss: iconStyle
|
|
47
46
|
}, /*#__PURE__*/React.createElement(QuestionCircleIcon, {
|
|
48
47
|
label: '',
|
|
49
|
-
color: isDisabled ? "var(--ds-icon-disabled, ".concat(N0, ")") : "var(--ds-icon-inverse, ".concat(N0, ")")
|
|
50
|
-
LEGACY_size: 'small',
|
|
51
|
-
LEGACY_fallbackIcon: LegacyQuestionIcon,
|
|
52
|
-
LEGACY_margin: "-2px"
|
|
48
|
+
color: isDisabled ? "var(--ds-icon-disabled, ".concat(N0, ")") : "var(--ds-icon-inverse, ".concat(N0, ")")
|
|
53
49
|
})),
|
|
54
50
|
onClick: onClick
|
|
55
51
|
}));
|
|
@@ -3,7 +3,6 @@ import React from 'react';
|
|
|
3
3
|
import { di } from 'react-magnetic-di';
|
|
4
4
|
import { HelperMessage } from '@atlaskit/form';
|
|
5
5
|
import StatusInformationIcon from '@atlaskit/icon/core/status-information';
|
|
6
|
-
import LegacyInfoIcon from '@atlaskit/icon/glyph/info';
|
|
7
6
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
8
7
|
import * as colors from '@atlaskit/theme/colors';
|
|
9
8
|
import { useEditorViewHasInfos } from '../../../../hooks/use-editor-view-has-infos';
|
|
@@ -31,9 +30,6 @@ export var InfoMessages = function InfoMessages() {
|
|
|
31
30
|
}, /*#__PURE__*/React.createElement(StatusInformationIcon, {
|
|
32
31
|
label: "",
|
|
33
32
|
color: "var(--ds-icon-information, ".concat(colors.B500, ")"),
|
|
34
|
-
LEGACY_size: "small",
|
|
35
|
-
LEGACY_fallbackIcon: LegacyInfoIcon,
|
|
36
|
-
LEGACY_margin: "0 -4px 0 0",
|
|
37
33
|
size: "small"
|
|
38
34
|
})), infoMessage)) : null;
|
|
39
35
|
};
|
|
@@ -4,7 +4,6 @@ import React, { useCallback } from 'react';
|
|
|
4
4
|
import { di } from 'react-magnetic-di';
|
|
5
5
|
import { HelperMessage } from '@atlaskit/form';
|
|
6
6
|
import StatusWarningIcon from '@atlaskit/icon/core/status-warning';
|
|
7
|
-
import LegacyWarningIcon from '@atlaskit/icon/glyph/warning';
|
|
8
7
|
import Link from '@atlaskit/link';
|
|
9
8
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
9
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
@@ -122,9 +121,6 @@ export var WarningMessages = function WarningMessages() {
|
|
|
122
121
|
}, /*#__PURE__*/React.createElement(StatusWarningIcon, {
|
|
123
122
|
label: "",
|
|
124
123
|
color: "var(--ds-icon-warning, ".concat(colors.Y400, ")"),
|
|
125
|
-
LEGACY_size: "small",
|
|
126
|
-
LEGACY_fallbackIcon: LegacyWarningIcon,
|
|
127
|
-
LEGACY_margin: "0 -4px 0 0",
|
|
128
124
|
size: "small"
|
|
129
125
|
})), warningMessage)) : null;
|
|
130
126
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/jql-editor",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.10.0",
|
|
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",
|
|
@@ -35,16 +35,15 @@
|
|
|
35
35
|
"@atlaskit/afm-i18n-platform-jql-jql-editor": "2.10.0",
|
|
36
36
|
"@atlaskit/analytics-gas-types": "^5.1.0",
|
|
37
37
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
38
|
-
"@atlaskit/avatar": "^25.
|
|
39
|
-
"@atlaskit/button": "^23.
|
|
40
|
-
"@atlaskit/editor-prosemirror": "7.
|
|
38
|
+
"@atlaskit/avatar": "^25.6.0",
|
|
39
|
+
"@atlaskit/button": "^23.8.0",
|
|
40
|
+
"@atlaskit/editor-prosemirror": "^7.2.0",
|
|
41
41
|
"@atlaskit/form": "^15.0.0",
|
|
42
|
-
"@atlaskit/icon": "^29.
|
|
42
|
+
"@atlaskit/icon": "^29.2.0",
|
|
43
43
|
"@atlaskit/jql-ast": "^3.3.0",
|
|
44
44
|
"@atlaskit/jql-autocomplete": "^2.0.0",
|
|
45
45
|
"@atlaskit/jql-editor-common": "^3.0.0",
|
|
46
46
|
"@atlaskit/jql-parser": "^2.0.0",
|
|
47
|
-
"@atlaskit/legacy-custom-icons": "^0.22.0",
|
|
48
47
|
"@atlaskit/link": "^3.2.0",
|
|
49
48
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
50
49
|
"@atlaskit/popper": "^7.1.0",
|
|
@@ -53,7 +52,7 @@
|
|
|
53
52
|
"@atlaskit/spinner": "^19.0.0",
|
|
54
53
|
"@atlaskit/teams-avatar": "^2.4.0",
|
|
55
54
|
"@atlaskit/theme": "^21.0.0",
|
|
56
|
-
"@atlaskit/tokens": "^8.
|
|
55
|
+
"@atlaskit/tokens": "^8.6.0",
|
|
57
56
|
"@atlaskit/tooltip": "^20.11.0",
|
|
58
57
|
"@babel/runtime": "^7.0.0",
|
|
59
58
|
"@emotion/react": "^11.7.1",
|
|
@@ -84,8 +83,7 @@
|
|
|
84
83
|
"@storybook/addon-actions": "^8.6.14",
|
|
85
84
|
"@storybook/addon-knobs": "^6.4.0",
|
|
86
85
|
"@testing-library/jest-dom": "^6.4.5",
|
|
87
|
-
"@testing-library/react": "^
|
|
88
|
-
"@testing-library/react-hooks": "^8.0.1",
|
|
86
|
+
"@testing-library/react": "^16.3.0",
|
|
89
87
|
"wait-for-expect": "^1.2.0"
|
|
90
88
|
},
|
|
91
89
|
"techstack": {
|