@atlaskit/link-datasource 4.30.3 → 4.30.4

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,15 @@
1
1
  # @atlaskit/link-datasource
2
2
 
3
+ ## 4.30.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`06d5717d57f36`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/06d5717d57f36) -
8
+ Suppress i18n errors
9
+ - [`4dd8034863d6f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4dd8034863d6f) -
10
+ NAVX-2121 cleaning up navx-1845-sllv-autofocus-first-interactive-element
11
+ - Updated dependencies
12
+
3
13
  ## 4.30.3
4
14
 
5
15
  ### Patch Changes
@@ -17,7 +17,6 @@ var _reactIntlNext = require("react-intl-next");
17
17
  var _new = _interopRequireDefault(require("@atlaskit/button/new"));
18
18
  var _heading = _interopRequireDefault(require("@atlaskit/heading"));
19
19
  var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/core/chevron-down"));
20
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
21
20
  var _compiled = require("@atlaskit/primitives/compiled");
22
21
  var _select = require("@atlaskit/select");
23
22
  var _messages = require("./messages");
@@ -86,7 +85,7 @@ var SiteSelector = exports.SiteSelector = function SiteSelector(props) {
86
85
  });
87
86
  },
88
87
  testId: "".concat(testId, "__control"),
89
- autoFocus: (0, _platformFeatureFlags.fg)('navx-1845-sllv-autofocus-first-interactive-element')
88
+ autoFocus: true
90
89
  }), (selectedSiteOption === null || selectedSiteOption === void 0 ? void 0 : selectedSiteOption.label) || formatMessage(_messages.siteSelectorMessages.chooseSite));
91
90
  }
92
91
  })));
@@ -85,6 +85,7 @@ var JiraSearchContainer = exports.JiraSearchContainer = function JiraSearchConta
85
85
  setFilterSelections = _useState12[1];
86
86
  var modeSwitcherOptionsMap = (0, _react.useMemo)(function () {
87
87
  return {
88
+ // eslint-disable-next-line @atlassian/i18n/no-literal-string-in-object
88
89
  jql: {
89
90
  label: 'JQL',
90
91
  value: 'jql'
@@ -41,7 +41,9 @@ var JiraJQLEditor = exports.JiraJQLEditor = function JiraJQLEditor(_ref) {
41
41
  onUpdate: onChange,
42
42
  isSearching: isSearching,
43
43
  inputRef: inputRef,
44
- query: query,
44
+ query: query
45
+ // eslint-disable-next-line @atlassian/i18n/no-literal-string-in-jsx
46
+ ,
45
47
  "aria-label": "JQL Query Editor"
46
48
  });
47
49
  };
@@ -8,7 +8,6 @@ import { useIntl } from 'react-intl-next';
8
8
  import Button from '@atlaskit/button/new';
9
9
  import Heading from '@atlaskit/heading';
10
10
  import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
11
- import { fg } from '@atlaskit/platform-feature-flags';
12
11
  import { Box } from '@atlaskit/primitives/compiled';
13
12
  import { PopupSelect } from '@atlaskit/select';
14
13
  import { siteSelectorMessages } from './messages';
@@ -70,7 +69,7 @@ export const SiteSelector = props => {
70
69
  size: "small"
71
70
  }),
72
71
  testId: `${testId}__control`,
73
- autoFocus: fg('navx-1845-sllv-autofocus-first-interactive-element')
72
+ autoFocus: true
74
73
  }), (selectedSiteOption === null || selectedSiteOption === void 0 ? void 0 : selectedSiteOption.label) || formatMessage(siteSelectorMessages.chooseSite))
75
74
  })));
76
75
  };
@@ -52,6 +52,7 @@ export const JiraSearchContainer = props => {
52
52
  const [orderDirection, setOrderDirection] = useState();
53
53
  const [filterSelections, setFilterSelections] = useState({});
54
54
  const modeSwitcherOptionsMap = useMemo(() => ({
55
+ // eslint-disable-next-line @atlassian/i18n/no-literal-string-in-object
55
56
  jql: {
56
57
  label: 'JQL',
57
58
  value: 'jql'
@@ -34,7 +34,9 @@ export const JiraJQLEditor = ({
34
34
  onUpdate: onChange,
35
35
  isSearching: isSearching,
36
36
  inputRef: inputRef,
37
- query: query,
37
+ query: query
38
+ // eslint-disable-next-line @atlassian/i18n/no-literal-string-in-jsx
39
+ ,
38
40
  "aria-label": "JQL Query Editor"
39
41
  });
40
42
  };
@@ -10,7 +10,6 @@ import { useIntl } from 'react-intl-next';
10
10
  import Button from '@atlaskit/button/new';
11
11
  import Heading from '@atlaskit/heading';
12
12
  import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
13
- import { fg } from '@atlaskit/platform-feature-flags';
14
13
  import { Box } from '@atlaskit/primitives/compiled';
15
14
  import { PopupSelect } from '@atlaskit/select';
16
15
  import { siteSelectorMessages } from './messages';
@@ -77,7 +76,7 @@ export var SiteSelector = function SiteSelector(props) {
77
76
  });
78
77
  },
79
78
  testId: "".concat(testId, "__control"),
80
- autoFocus: fg('navx-1845-sllv-autofocus-first-interactive-element')
79
+ autoFocus: true
81
80
  }), (selectedSiteOption === null || selectedSiteOption === void 0 ? void 0 : selectedSiteOption.label) || formatMessage(siteSelectorMessages.chooseSite));
82
81
  }
83
82
  })));
@@ -76,6 +76,7 @@ export var JiraSearchContainer = function JiraSearchContainer(props) {
76
76
  setFilterSelections = _useState12[1];
77
77
  var modeSwitcherOptionsMap = useMemo(function () {
78
78
  return {
79
+ // eslint-disable-next-line @atlassian/i18n/no-literal-string-in-object
79
80
  jql: {
80
81
  label: 'JQL',
81
82
  value: 'jql'
@@ -33,7 +33,9 @@ export var JiraJQLEditor = function JiraJQLEditor(_ref) {
33
33
  onUpdate: onChange,
34
34
  isSearching: isSearching,
35
35
  inputRef: inputRef,
36
- query: query,
36
+ query: query
37
+ // eslint-disable-next-line @atlassian/i18n/no-literal-string-in-jsx
38
+ ,
37
39
  "aria-label": "JQL Query Editor"
38
40
  });
39
41
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-datasource",
3
- "version": "4.30.3",
3
+ "version": "4.30.4",
4
4
  "description": "UI Components to support linking platform dataset feature",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -79,7 +79,7 @@
79
79
  "@atlaskit/primitives": "^16.2.0",
80
80
  "@atlaskit/react-select": "^3.9.0",
81
81
  "@atlaskit/select": "^21.4.0",
82
- "@atlaskit/smart-card": "^43.8.0",
82
+ "@atlaskit/smart-card": "^43.9.0",
83
83
  "@atlaskit/smart-user-picker": "^8.4.0",
84
84
  "@atlaskit/spinner": "^19.0.0",
85
85
  "@atlaskit/tag": "^14.1.0",
@@ -185,9 +185,6 @@
185
185
  "navx-1895-new-logo-design": {
186
186
  "type": "boolean"
187
187
  },
188
- "navx-1845-sllv-autofocus-first-interactive-element": {
189
- "type": "boolean"
190
- },
191
188
  "platform_navx_jira_sllv_rich_text_gate": {
192
189
  "type": "boolean"
193
190
  },