@atlaskit/jql-editor 5.6.1 → 5.6.3

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,19 @@
1
1
  # @atlaskit/jql-editor
2
2
 
3
+ ## 5.6.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 5.6.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [`45f01e2745891`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/45f01e2745891) -
14
+ [ux] Migrate legacy icons
15
+ - Updated dependencies
16
+
3
17
  ## 5.6.1
4
18
 
5
19
  ### Patch Changes
@@ -1153,7 +1167,6 @@
1153
1167
  - [#20341](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20341)
1154
1168
  [`af6e73a1e17`](https://bitbucket.org/atlassian/atlassian-frontend/commits/af6e73a1e17) - Bumping
1155
1169
  dependencies via Renovate:
1156
-
1157
1170
  - react-loosely-lazy
1158
1171
 
1159
1172
  ## 2.5.3
@@ -1350,7 +1363,6 @@
1350
1363
  ### Minor Changes
1351
1364
 
1352
1365
  - 99dde51: Support AtlasKit-like field styling
1353
-
1354
1366
  - Now editor won't render search related elements (search button, "Enter to search" text, etc.) if
1355
1367
  `onSearch` callback isn't provided
1356
1368
  - Now editor exposes an `isCompact` prop to control spacing: `false` to match AK's default field
@@ -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", "0.0.0-development", _jqlEditorCommon.ANALYTICS_CHANNEL);
9
+ return (0, _jqlEditorCommon.useJqlPackageAnalytics)(analyticsSource, "@atlaskit/jql-editor", "5.6.2", _jqlEditorCommon.ANALYTICS_CHANNEL);
10
10
  };
@@ -16,6 +16,7 @@ var _alignTextLeft = _interopRequireDefault(require("@atlaskit/icon/core/align-t
16
16
  var _calendar = _interopRequireDefault(require("@atlaskit/icon/core/calendar"));
17
17
  var _clock = _interopRequireDefault(require("@atlaskit/icon/core/clock"));
18
18
  var _dataNumber = _interopRequireDefault(require("@atlaskit/icon/core/data-number"));
19
+ var _fieldDropdown = _interopRequireDefault(require("@atlaskit/icon/core/field-dropdown"));
19
20
  var _statusInformationEditorPanel = _interopRequireDefault(require("@atlaskit/icon/core/migration/status-information--editor-panel"));
20
21
  var _personAvatar = _interopRequireDefault(require("@atlaskit/icon/core/person-avatar"));
21
22
  var _tag = _interopRequireDefault(require("@atlaskit/icon/core/tag"));
@@ -66,11 +67,9 @@ var getFieldTypeIcon = function getFieldTypeIcon(type) {
66
67
  LegacyIcon: _calendarIcon.default
67
68
  });
68
69
  case 'Dropdown':
69
- // TODO: https://product-fabric.atlassian.net/browse/DSP-21308
70
- return /*#__PURE__*/_react.default.createElement(_arrowDownCircleIcon.default, {
71
- label: "",
72
- size: "small",
73
- testId: "jql-editor-field-type-icon"
70
+ return /*#__PURE__*/_react.default.createElement(ResizedIcon, {
71
+ Icon: _fieldDropdown.default,
72
+ LegacyIcon: _arrowDownCircleIcon.default
74
73
  });
75
74
  case 'Labels':
76
75
  return /*#__PURE__*/_react.default.createElement(ResizedIcon, {
@@ -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", "0.0.0-development", ANALYTICS_CHANNEL);
3
+ return useJqlPackageAnalytics(analyticsSource, "@atlaskit/jql-editor", "5.6.2", ANALYTICS_CHANNEL);
4
4
  };
@@ -6,6 +6,7 @@ import AlignTextLeftIcon from '@atlaskit/icon/core/align-text-left';
6
6
  import CalendarIcon from '@atlaskit/icon/core/calendar';
7
7
  import ClockIcon from '@atlaskit/icon/core/clock';
8
8
  import DataNumberIcon from '@atlaskit/icon/core/data-number';
9
+ import FieldDropdownIcon from '@atlaskit/icon/core/field-dropdown';
9
10
  import InfoIcon from '@atlaskit/icon/core/migration/status-information--editor-panel';
10
11
  import PersonAvatarIcon from '@atlaskit/icon/core/person-avatar';
11
12
  import TagIcon from '@atlaskit/icon/core/tag';
@@ -54,11 +55,9 @@ const getFieldTypeIcon = type => {
54
55
  LegacyIcon: LegacyCalendarIcon
55
56
  });
56
57
  case 'Dropdown':
57
- // TODO: https://product-fabric.atlassian.net/browse/DSP-21308
58
- return /*#__PURE__*/React.createElement(LegacyArrowDownIcon, {
59
- label: "",
60
- size: "small",
61
- testId: "jql-editor-field-type-icon"
58
+ return /*#__PURE__*/React.createElement(ResizedIcon, {
59
+ Icon: FieldDropdownIcon,
60
+ LegacyIcon: LegacyArrowDownIcon
62
61
  });
63
62
  case 'Labels':
64
63
  return /*#__PURE__*/React.createElement(ResizedIcon, {
@@ -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", "0.0.0-development", ANALYTICS_CHANNEL);
3
+ return useJqlPackageAnalytics(analyticsSource, "@atlaskit/jql-editor", "5.6.2", ANALYTICS_CHANNEL);
4
4
  };
@@ -8,6 +8,7 @@ import AlignTextLeftIcon from '@atlaskit/icon/core/align-text-left';
8
8
  import CalendarIcon from '@atlaskit/icon/core/calendar';
9
9
  import ClockIcon from '@atlaskit/icon/core/clock';
10
10
  import DataNumberIcon from '@atlaskit/icon/core/data-number';
11
+ import FieldDropdownIcon from '@atlaskit/icon/core/field-dropdown';
11
12
  import InfoIcon from '@atlaskit/icon/core/migration/status-information--editor-panel';
12
13
  import PersonAvatarIcon from '@atlaskit/icon/core/person-avatar';
13
14
  import TagIcon from '@atlaskit/icon/core/tag';
@@ -57,11 +58,9 @@ var getFieldTypeIcon = function getFieldTypeIcon(type) {
57
58
  LegacyIcon: LegacyCalendarIcon
58
59
  });
59
60
  case 'Dropdown':
60
- // TODO: https://product-fabric.atlassian.net/browse/DSP-21308
61
- return /*#__PURE__*/React.createElement(LegacyArrowDownIcon, {
62
- label: "",
63
- size: "small",
64
- testId: "jql-editor-field-type-icon"
61
+ return /*#__PURE__*/React.createElement(ResizedIcon, {
62
+ Icon: FieldDropdownIcon,
63
+ LegacyIcon: LegacyArrowDownIcon
65
64
  });
66
65
  case 'Labels':
67
66
  return /*#__PURE__*/React.createElement(ResizedIcon, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/jql-editor",
3
- "version": "5.6.1",
3
+ "version": "5.6.3",
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",
@@ -52,7 +52,7 @@
52
52
  "@atlaskit/prosemirror-history": "^0.2.0",
53
53
  "@atlaskit/spinner": "^19.0.0",
54
54
  "@atlaskit/theme": "^21.0.0",
55
- "@atlaskit/tokens": "^6.5.0",
55
+ "@atlaskit/tokens": "^7.0.0",
56
56
  "@atlaskit/tooltip": "^20.5.0",
57
57
  "@babel/runtime": "^7.0.0",
58
58
  "@emotion/react": "^11.7.1",
@@ -75,7 +75,7 @@
75
75
  },
76
76
  "devDependencies": {
77
77
  "@af/integration-testing": "workspace:^",
78
- "@atlaskit/docs": "^11.1.0",
78
+ "@atlaskit/docs": "^11.2.0",
79
79
  "@atlaskit/jql-editor-autocomplete-rest": "^3.0.0",
80
80
  "@atlassian/feature-flags-test-utils": "^0.3.0",
81
81
  "@storybook/addon-actions": "^8.6.14",