@atlaskit/jql-editor 6.4.4 → 6.4.6

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
+ ## 6.4.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [`914fa81a9807b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/914fa81a9807b) -
8
+ Remove stale `add_nin_press_interactions` feature gate cleanup
9
+ - Updated dependencies
10
+
11
+ ## 6.4.5
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 6.4.4
4
18
 
5
19
  ### 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", "6.4.3", _jqlEditorCommon.ANALYTICS_CHANNEL);
9
+ return (0, _jqlEditorCommon.useJqlPackageAnalytics)(analyticsSource, "@atlaskit/jql-editor", "6.4.5", _jqlEditorCommon.ANALYTICS_CHANNEL);
10
10
  };
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
8
  exports.BaseSearch = void 0;
9
- var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
10
9
  var _react = _interopRequireWildcard(require("react"));
11
10
  var _button = require("@atlaskit/button");
12
11
  var _new = require("@atlaskit/button/new");
@@ -43,7 +42,7 @@ var BaseSearch = exports.BaseSearch = function BaseSearch(_ref) {
43
42
  }, []);
44
43
  return (0, _platformFeatureFlags.fg)('platform-component-visual-refresh') ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_primitives.Box, {
45
44
  xcss: buttonContainerStyle
46
- }, /*#__PURE__*/_react.default.createElement(_new.IconButton, (0, _extends2.default)({
45
+ }, /*#__PURE__*/_react.default.createElement(_new.IconButton, {
47
46
  label: label,
48
47
  isDisabled: isDisabled,
49
48
  testId: "jql-editor-search",
@@ -52,10 +51,9 @@ var BaseSearch = exports.BaseSearch = function BaseSearch(_ref) {
52
51
  onClick: onSearch,
53
52
  onKeyDown: preventRepeatClick,
54
53
  isLoading: isSearching,
55
- icon: _search.default
56
- }, (0, _platformFeatureFlags.fg)('add_nin_press_interactions') && {
57
- interactionName: 'jql-editor-base-search-button'
58
- })))) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_button.LoadingButton, (0, _extends2.default)({
54
+ icon: _search.default,
55
+ interactionName: "jql-editor-base-search-button"
56
+ }))) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_button.LoadingButton, {
59
57
  "aria-label": label,
60
58
  isDisabled: isDisabled,
61
59
  testId: "jql-editor-search"
@@ -72,8 +70,7 @@ var BaseSearch = exports.BaseSearch = function BaseSearch(_ref) {
72
70
  }, /*#__PURE__*/_react.default.createElement(_search.default, {
73
71
  color: "currentColor",
74
72
  label: ''
75
- }))
76
- }, (0, _platformFeatureFlags.fg)('add_nin_press_interactions') && {
77
- interactionName: 'jql-editor-base-search-button'
78
- })));
73
+ })),
74
+ interactionName: "jql-editor-base-search-button"
75
+ }));
79
76
  };
@@ -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", "6.4.3", ANALYTICS_CHANNEL);
3
+ return useJqlPackageAnalytics(analyticsSource, "@atlaskit/jql-editor", "6.4.5", ANALYTICS_CHANNEL);
4
4
  };
@@ -1,4 +1,3 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
1
  import React, { useCallback } from 'react';
3
2
  import { LoadingButton } from '@atlaskit/button';
4
3
  import { IconButton } from '@atlaskit/button/new';
@@ -34,7 +33,7 @@ export const BaseSearch = ({
34
33
  }, []);
35
34
  return fg('platform-component-visual-refresh') ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Box, {
36
35
  xcss: buttonContainerStyle
37
- }, /*#__PURE__*/React.createElement(IconButton, _extends({
36
+ }, /*#__PURE__*/React.createElement(IconButton, {
38
37
  label: label,
39
38
  isDisabled: isDisabled,
40
39
  testId: "jql-editor-search",
@@ -43,10 +42,9 @@ export const BaseSearch = ({
43
42
  onClick: onSearch,
44
43
  onKeyDown: preventRepeatClick,
45
44
  isLoading: isSearching,
46
- icon: SearchIcon
47
- }, fg('add_nin_press_interactions') && {
48
- interactionName: 'jql-editor-base-search-button'
49
- })))) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(LoadingButton, _extends({
45
+ icon: SearchIcon,
46
+ interactionName: "jql-editor-base-search-button"
47
+ }))) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(LoadingButton, {
50
48
  "aria-label": label,
51
49
  isDisabled: isDisabled,
52
50
  testId: "jql-editor-search"
@@ -63,8 +61,7 @@ export const BaseSearch = ({
63
61
  }, /*#__PURE__*/React.createElement(SearchIcon, {
64
62
  color: "currentColor",
65
63
  label: ''
66
- }))
67
- }, fg('add_nin_press_interactions') && {
68
- interactionName: 'jql-editor-base-search-button'
69
- })));
64
+ })),
65
+ interactionName: "jql-editor-base-search-button"
66
+ }));
70
67
  };
@@ -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", "6.4.3", ANALYTICS_CHANNEL);
3
+ return useJqlPackageAnalytics(analyticsSource, "@atlaskit/jql-editor", "6.4.5", ANALYTICS_CHANNEL);
4
4
  };
@@ -1,4 +1,3 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
1
  import React, { useCallback } from 'react';
3
2
  import { LoadingButton } from '@atlaskit/button';
4
3
  import { IconButton } from '@atlaskit/button/new';
@@ -33,7 +32,7 @@ export var BaseSearch = function BaseSearch(_ref) {
33
32
  }, []);
34
33
  return fg('platform-component-visual-refresh') ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Box, {
35
34
  xcss: buttonContainerStyle
36
- }, /*#__PURE__*/React.createElement(IconButton, _extends({
35
+ }, /*#__PURE__*/React.createElement(IconButton, {
37
36
  label: label,
38
37
  isDisabled: isDisabled,
39
38
  testId: "jql-editor-search",
@@ -42,10 +41,9 @@ export var BaseSearch = function BaseSearch(_ref) {
42
41
  onClick: onSearch,
43
42
  onKeyDown: preventRepeatClick,
44
43
  isLoading: isSearching,
45
- icon: SearchIcon
46
- }, fg('add_nin_press_interactions') && {
47
- interactionName: 'jql-editor-base-search-button'
48
- })))) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(LoadingButton, _extends({
44
+ icon: SearchIcon,
45
+ interactionName: "jql-editor-base-search-button"
46
+ }))) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(LoadingButton, {
49
47
  "aria-label": label,
50
48
  isDisabled: isDisabled,
51
49
  testId: "jql-editor-search"
@@ -62,8 +60,7 @@ export var BaseSearch = function BaseSearch(_ref) {
62
60
  }, /*#__PURE__*/React.createElement(SearchIcon, {
63
61
  color: "currentColor",
64
62
  label: ''
65
- }))
66
- }, fg('add_nin_press_interactions') && {
67
- interactionName: 'jql-editor-base-search-button'
68
- })));
63
+ })),
64
+ interactionName: "jql-editor-base-search-button"
65
+ }));
69
66
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/jql-editor",
3
- "version": "6.4.4",
3
+ "version": "6.4.6",
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",
@@ -49,8 +49,8 @@
49
49
  "@atlaskit/emoji": "^70.10.0",
50
50
  "@atlaskit/feature-gate-js-client": "^5.7.0",
51
51
  "@atlaskit/form": "^15.5.0",
52
- "@atlaskit/icon": "^35.0.0",
53
- "@atlaskit/icon-lab": "^6.9.0",
52
+ "@atlaskit/icon": "^35.1.0",
53
+ "@atlaskit/icon-lab": "^6.10.0",
54
54
  "@atlaskit/jql-ast": "^3.5.0",
55
55
  "@atlaskit/jql-autocomplete": "^2.1.0",
56
56
  "@atlaskit/jql-editor-common": "^3.3.0",
@@ -62,9 +62,9 @@
62
62
  "@atlaskit/prosemirror-history": "^0.2.0",
63
63
  "@atlaskit/spinner": "^19.1.0",
64
64
  "@atlaskit/teams-avatar": "^2.7.0",
65
- "@atlaskit/theme": "^24.0.0",
65
+ "@atlaskit/theme": "^25.0.0",
66
66
  "@atlaskit/tokens": "^13.0.0",
67
- "@atlaskit/tooltip": "^22.2.0",
67
+ "@atlaskit/tooltip": "^22.3.0",
68
68
  "@atlaskit/townsquare-emoji-provider": "^1.0.0",
69
69
  "@babel/runtime": "^7.0.0",
70
70
  "@emotion/react": "^11.7.1",
@@ -144,9 +144,6 @@
144
144
  "platform-component-visual-refresh": {
145
145
  "type": "boolean"
146
146
  },
147
- "add_nin_press_interactions": {
148
- "type": "boolean"
149
- },
150
147
  "jql_editor_autocomplete_use_popper": {
151
148
  "type": "boolean"
152
149
  },