@atlaskit/link-datasource 4.19.2 → 4.19.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.
Files changed (24) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/cjs/ui/assets-modal/search-container/object-schema-select/index.js +36 -24
  3. package/dist/cjs/ui/common/modal/popup-select/control.js +2 -1
  4. package/dist/cjs/ui/issue-like-table/messages.js +5 -0
  5. package/dist/cjs/ui/jira-issues-modal/basic-filters/ui/async-popup-select/messages.js +5 -0
  6. package/dist/cjs/ui/table-footer/powered-by-jsm-assets/index.js +2 -3
  7. package/dist/cjs/ui/table-footer/provider-link/index.js +2 -3
  8. package/dist/es2019/ui/assets-modal/search-container/object-schema-select/index.js +8 -2
  9. package/dist/es2019/ui/common/modal/popup-select/control.js +2 -1
  10. package/dist/es2019/ui/issue-like-table/messages.js +5 -0
  11. package/dist/es2019/ui/jira-issues-modal/basic-filters/ui/async-popup-select/messages.js +5 -0
  12. package/dist/es2019/ui/table-footer/powered-by-jsm-assets/index.js +2 -3
  13. package/dist/es2019/ui/table-footer/provider-link/index.js +2 -3
  14. package/dist/esm/ui/assets-modal/search-container/object-schema-select/index.js +37 -25
  15. package/dist/esm/ui/common/modal/popup-select/control.js +2 -1
  16. package/dist/esm/ui/issue-like-table/messages.js +5 -0
  17. package/dist/esm/ui/jira-issues-modal/basic-filters/ui/async-popup-select/messages.js +5 -0
  18. package/dist/esm/ui/table-footer/powered-by-jsm-assets/index.js +2 -3
  19. package/dist/esm/ui/table-footer/provider-link/index.js +2 -3
  20. package/dist/types/ui/issue-like-table/messages.d.ts +5 -0
  21. package/dist/types/ui/jira-issues-modal/basic-filters/ui/async-popup-select/messages.d.ts +5 -0
  22. package/dist/types-ts4.5/ui/issue-like-table/messages.d.ts +5 -0
  23. package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/ui/async-popup-select/messages.d.ts +5 -0
  24. package/package.json +2 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # @atlaskit/link-datasource
2
2
 
3
+ ## 4.19.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#200297](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/200297)
8
+ [`20899a090b218`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/20899a090b218) -
9
+ Internal changes to Logo package usage
10
+ - Updated dependencies
11
+
12
+ ## 4.19.3
13
+
14
+ ### Patch Changes
15
+
16
+ - [#199487](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/199487)
17
+ [`13c28edd2823a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/13c28edd2823a) -
18
+ [ux] NAVX-1053 fixing the debounce for asset modal schema selector input
19
+ - [#199353](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/199353)
20
+ [`f2d4ca35574b8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f2d4ca35574b8) -
21
+ Internal changes to how border radius values are applied. No visual change.
22
+ - Updated dependencies
23
+
3
24
  ## 4.19.2
4
25
 
5
26
  ### Patch Changes
@@ -122,27 +122,39 @@ var AssetsObjectSchemaSelect = exports.AssetsObjectSchemaSelect = function Asset
122
122
  }
123
123
  return undefined;
124
124
  };
125
+ var debounceTimeout = (0, _react.useRef)(null);
125
126
  var handleInputChange = (0, _react.useCallback)( /*#__PURE__*/function () {
126
- var _ref4 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(newSearchTerm, actionMeta) {
127
- return _regenerator.default.wrap(function _callee2$(_context2) {
128
- while (1) switch (_context2.prev = _context2.next) {
127
+ var _ref4 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3(newSearchTerm, actionMeta) {
128
+ return _regenerator.default.wrap(function _callee3$(_context3) {
129
+ while (1) switch (_context3.prev = _context3.next) {
129
130
  case 0:
130
- if (!(actionMeta.action === 'input-change' && newSearchTerm !== searchTerm)) {
131
- _context2.next = 7;
132
- break;
131
+ if (actionMeta.action === 'input-change' && newSearchTerm !== searchTerm) {
132
+ setSearchTerm(newSearchTerm);
133
+ if (debounceTimeout.current) {
134
+ clearTimeout(debounceTimeout.current);
135
+ }
136
+ debounceTimeout.current = setTimeout( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
137
+ return _regenerator.default.wrap(function _callee2$(_context2) {
138
+ while (1) switch (_context2.prev = _context2.next) {
139
+ case 0:
140
+ _context2.t0 = setOptions;
141
+ _context2.next = 3;
142
+ return debouncedLoadOptions(newSearchTerm);
143
+ case 3:
144
+ _context2.t1 = _context2.sent;
145
+ (0, _context2.t0)(_context2.t1);
146
+ case 5:
147
+ case "end":
148
+ return _context2.stop();
149
+ }
150
+ }, _callee2);
151
+ })), SEARCH_DEBOUNCE_MS);
133
152
  }
134
- setSearchTerm(newSearchTerm);
135
- _context2.t0 = setOptions;
136
- _context2.next = 5;
137
- return debouncedLoadOptions(newSearchTerm);
138
- case 5:
139
- _context2.t1 = _context2.sent;
140
- (0, _context2.t0)(_context2.t1);
141
- case 7:
153
+ case 1:
142
154
  case "end":
143
- return _context2.stop();
155
+ return _context3.stop();
144
156
  }
145
- }, _callee2);
157
+ }, _callee3);
146
158
  }));
147
159
  return function (_x2, _x3) {
148
160
  return _ref4.apply(this, arguments);
@@ -159,11 +171,11 @@ var AssetsObjectSchemaSelect = exports.AssetsObjectSchemaSelect = function Asset
159
171
  return validateSchema(value);
160
172
  },
161
173
  testId: testId
162
- }, function (_ref5) {
163
- var _ref5$fieldProps = _ref5.fieldProps,
164
- _onChange = _ref5$fieldProps.onChange,
165
- onFocus = _ref5$fieldProps.onFocus,
166
- restFieldProps = (0, _objectWithoutProperties2.default)(_ref5$fieldProps, _excluded2);
174
+ }, function (_ref6) {
175
+ var _ref6$fieldProps = _ref6.fieldProps,
176
+ _onChange = _ref6$fieldProps.onChange,
177
+ onFocus = _ref6$fieldProps.onFocus,
178
+ restFieldProps = (0, _objectWithoutProperties2.default)(_ref6$fieldProps, _excluded2);
167
179
  return (0, _platformFeatureFlags.fg)('linking-platform-assests-schema-selector-refresh') ? /*#__PURE__*/React.createElement(_select.PopupSelect, (0, _extends2.default)({
168
180
  autoFocus: true,
169
181
  maxMenuWidth: 300,
@@ -181,10 +193,10 @@ var AssetsObjectSchemaSelect = exports.AssetsObjectSchemaSelect = function Asset
181
193
  onMenuClose: onClose
182
194
  }, restFieldProps, {
183
195
  label: formatMessage(_messages.objectSchemaSelectMessages.placeholder),
184
- target: function target(_ref6) {
196
+ target: function target(_ref7) {
185
197
  var _restFieldProps$value;
186
- var isOpen = _ref6.isOpen,
187
- triggerProps = (0, _objectWithoutProperties2.default)(_ref6, _excluded3);
198
+ var isOpen = _ref7.isOpen,
199
+ triggerProps = (0, _objectWithoutProperties2.default)(_ref7, _excluded3);
188
200
  return /*#__PURE__*/React.createElement(_new.default, (0, _extends2.default)({}, triggerProps, {
189
201
  isSelected: isOpen,
190
202
  iconAfter: function iconAfter() {
@@ -17,7 +17,8 @@ var _excluded = ["children"];
17
17
  var getPopupCustomControlStyles = function getPopupCustomControlStyles() {
18
18
  return {
19
19
  display: 'flex',
20
- borderRadius: '3px',
20
+ // eslint-disable-next-line @atlaskit/design-system/no-unsafe-design-token-usage
21
+ borderRadius: "var(--ds-border-radius-100, 3px)",
21
22
  border: "solid 1px ".concat("var(--ds-border-input, #8C8F97)"),
22
23
  minHeight: 'auto'
23
24
  };
@@ -45,5 +45,10 @@ var issueLikeTableMessages = exports.issueLikeTableMessages = (0, _reactIntlNext
45
45
  id: 'linkDataSource.issue-line-table.unwrap-text',
46
46
  description: 'Table header Dropdown item for making whole column to not wrap text',
47
47
  defaultMessage: 'Unwrap text'
48
+ },
49
+ fetchActionErrorGenericDescriptionGalaxia: {
50
+ id: 'linkDataSource.issue-line-table.fetch-action-error-generic-description-galaxia',
51
+ description: 'Generic error message description shown when fetching inline edit dropdown field fails',
52
+ defaultMessage: 'Wait a few minutes, then try again. Check your space settings or contact support if this keeps happening.'
48
53
  }
49
54
  });
@@ -50,5 +50,10 @@ var asyncPopupSelectMessages = exports.asyncPopupSelectMessages = (0, _reactIntl
50
50
  id: 'linkDataSource.basic-filter.assignee.searchPlaceholder',
51
51
  description: 'Placeholder to be displayed for assignee filter dropdown search input.',
52
52
  defaultMessage: 'Search for assignee'
53
+ },
54
+ projectLabelGalaxia: {
55
+ id: 'linkDataSource.basic-filter.project.label-galaxia',
56
+ description: 'Label to be displayed for project filter dropdown button.',
57
+ defaultMessage: 'Space'
53
58
  }
54
59
  });
@@ -12,7 +12,6 @@ var _react = _interopRequireDefault(require("react"));
12
12
  var _logo = require("@atlaskit/logo");
13
13
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
14
14
  var _compiled = require("@atlaskit/primitives/compiled");
15
- var _assets = require("@atlaskit/temp-nav-app-icons/assets");
16
15
  var _analytics = require("../../../analytics");
17
16
  var styles = {
18
17
  jsmTextStyles: "_syaz1gjq _18u012x7 _30l316c2",
@@ -43,8 +42,8 @@ var PoweredByJSMAssets = exports.PoweredByJSMAssets = function PoweredByJSMAsset
43
42
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
44
43
  alignItems: 'center'
45
44
  }
46
- }, (0, _platformFeatureFlags.fg)('assets_as_an_app_v2') ? /*#__PURE__*/_react.default.createElement(_assets.AssetsIcon, {
47
- size: "24"
45
+ }, (0, _platformFeatureFlags.fg)('assets_as_an_app_v2') ? /*#__PURE__*/_react.default.createElement(_logo.AssetsIcon, {
46
+ size: "small"
48
47
  }) : /*#__PURE__*/_react.default.createElement(_logo.JiraServiceManagementIcon, {
49
48
  size: "xxsmall",
50
49
  appearance: "brand",
@@ -13,7 +13,6 @@ var _reactIntlNext = require("react-intl-next");
13
13
  var _logo = require("@atlaskit/logo");
14
14
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
15
15
  var _compiled = require("@atlaskit/primitives/compiled");
16
- var _assets = require("@atlaskit/temp-nav-app-icons/assets");
17
16
  var _analytics = require("../../../analytics");
18
17
  var _assetsModal = require("../../assets-modal");
19
18
  var _messages = require("../messages");
@@ -31,8 +30,8 @@ var ProviderLink = exports.ProviderLink = function ProviderLink(_ref) {
31
30
  return (0, _platformFeatureFlags.fg)('assets_as_an_app_v2') ? {
32
31
  content: intl.formatMessage(_messages.footerMessages.poweredByAssets),
33
32
  extensionKey: 'jsm-cmdb-gateway',
34
- icon: /*#__PURE__*/_react.default.createElement(_assets.AssetsIcon, {
35
- size: "20"
33
+ icon: /*#__PURE__*/_react.default.createElement(_logo.AssetsIcon, {
34
+ size: "xsmall"
36
35
  }),
37
36
  interactionName: 'atlas-link',
38
37
  url: '/jira/assets'
@@ -4,7 +4,7 @@ import "./index.compiled.css";
4
4
  import { forwardRef } from 'react';
5
5
  import * as React from 'react';
6
6
  import { ax, ix } from "@compiled/react/runtime";
7
- import { useCallback, useState } from 'react';
7
+ import { useCallback, useRef, useState } from 'react';
8
8
  import debounce from 'debounce-promise';
9
9
  import { useIntl } from 'react-intl-next';
10
10
  import Button from '@atlaskit/button/new';
@@ -81,10 +81,16 @@ export const AssetsObjectSchemaSelect = ({
81
81
  }
82
82
  return undefined;
83
83
  };
84
+ const debounceTimeout = useRef(null);
84
85
  const handleInputChange = useCallback(async (newSearchTerm, actionMeta) => {
85
86
  if (actionMeta.action === 'input-change' && newSearchTerm !== searchTerm) {
86
87
  setSearchTerm(newSearchTerm);
87
- setOptions(await debouncedLoadOptions(newSearchTerm));
88
+ if (debounceTimeout.current) {
89
+ clearTimeout(debounceTimeout.current);
90
+ }
91
+ debounceTimeout.current = setTimeout(async () => {
92
+ setOptions(await debouncedLoadOptions(newSearchTerm));
93
+ }, SEARCH_DEBOUNCE_MS);
88
94
  }
89
95
  }, [debouncedLoadOptions, searchTerm]);
90
96
  const onClose = useCallback(() => {
@@ -7,7 +7,8 @@ import { Box } from '@atlaskit/primitives/compiled';
7
7
  import { components } from '@atlaskit/select';
8
8
  const getPopupCustomControlStyles = () => ({
9
9
  display: 'flex',
10
- borderRadius: '3px',
10
+ // eslint-disable-next-line @atlaskit/design-system/no-unsafe-design-token-usage
11
+ borderRadius: "var(--ds-border-radius-100, 3px)",
11
12
  border: `solid 1px ${"var(--ds-border-input, #8C8F97)"}`,
12
13
  minHeight: 'auto'
13
14
  });
@@ -39,5 +39,10 @@ export const issueLikeTableMessages = defineMessages({
39
39
  id: 'linkDataSource.issue-line-table.unwrap-text',
40
40
  description: 'Table header Dropdown item for making whole column to not wrap text',
41
41
  defaultMessage: 'Unwrap text'
42
+ },
43
+ fetchActionErrorGenericDescriptionGalaxia: {
44
+ id: 'linkDataSource.issue-line-table.fetch-action-error-generic-description-galaxia',
45
+ description: 'Generic error message description shown when fetching inline edit dropdown field fails',
46
+ defaultMessage: 'Wait a few minutes, then try again. Check your space settings or contact support if this keeps happening.'
42
47
  }
43
48
  });
@@ -44,5 +44,10 @@ export const asyncPopupSelectMessages = defineMessages({
44
44
  id: 'linkDataSource.basic-filter.assignee.searchPlaceholder',
45
45
  description: 'Placeholder to be displayed for assignee filter dropdown search input.',
46
46
  defaultMessage: 'Search for assignee'
47
+ },
48
+ projectLabelGalaxia: {
49
+ id: 'linkDataSource.basic-filter.project.label-galaxia',
50
+ description: 'Label to be displayed for project filter dropdown button.',
51
+ defaultMessage: 'Space'
47
52
  }
48
53
  });
@@ -2,10 +2,9 @@
2
2
  import "./index.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
5
- import { JiraServiceManagementIcon } from '@atlaskit/logo';
5
+ import { AssetsIcon, JiraServiceManagementIcon } from '@atlaskit/logo';
6
6
  import { fg } from '@atlaskit/platform-feature-flags';
7
7
  import { Box } from '@atlaskit/primitives/compiled';
8
- import { AssetsIcon } from '@atlaskit/temp-nav-app-icons/assets';
9
8
  import { useDatasourceAnalyticsEvents } from '../../../analytics';
10
9
  const styles = {
11
10
  jsmTextStyles: "_syaz1gjq _18u012x7 _30l316c2",
@@ -36,7 +35,7 @@ export const PoweredByJSMAssets = props => {
36
35
  alignItems: 'center'
37
36
  }
38
37
  }, fg('assets_as_an_app_v2') ? /*#__PURE__*/React.createElement(AssetsIcon, {
39
- size: "24"
38
+ size: "small"
40
39
  }) : /*#__PURE__*/React.createElement(JiraServiceManagementIcon, {
41
40
  size: "xxsmall",
42
41
  appearance: "brand",
@@ -3,10 +3,9 @@ import "./index.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React, { useMemo } from 'react';
5
5
  import { useIntl } from 'react-intl-next';
6
- import { JiraServiceManagementIcon } from '@atlaskit/logo';
6
+ import { AssetsIcon, JiraServiceManagementIcon } from '@atlaskit/logo';
7
7
  import { fg } from '@atlaskit/platform-feature-flags';
8
8
  import { Anchor, Inline } from '@atlaskit/primitives/compiled';
9
- import { AssetsIcon } from '@atlaskit/temp-nav-app-icons/assets';
10
9
  import { useDatasourceAnalyticsEvents } from '../../../analytics';
11
10
  import { ASSETS_LIST_OF_LINKS_DATASOURCE_ID } from '../../assets-modal';
12
11
  import { footerMessages } from '../messages';
@@ -26,7 +25,7 @@ export const ProviderLink = ({
26
25
  content: intl.formatMessage(footerMessages.poweredByAssets),
27
26
  extensionKey: 'jsm-cmdb-gateway',
28
27
  icon: /*#__PURE__*/React.createElement(AssetsIcon, {
29
- size: "20"
28
+ size: "xsmall"
30
29
  }),
31
30
  interactionName: 'atlas-link',
32
31
  url: '/jira/assets'
@@ -14,7 +14,7 @@ import { ax, ix } from "@compiled/react/runtime";
14
14
  import _regeneratorRuntime from "@babel/runtime/regenerator";
15
15
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
16
16
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
17
- import { useCallback, useState } from 'react';
17
+ import { useCallback, useRef, useState } from 'react';
18
18
  import debounce from 'debounce-promise';
19
19
  import { useIntl } from 'react-intl-next';
20
20
  import Button from '@atlaskit/button/new';
@@ -115,27 +115,39 @@ export var AssetsObjectSchemaSelect = function AssetsObjectSchemaSelect(_ref2) {
115
115
  }
116
116
  return undefined;
117
117
  };
118
+ var debounceTimeout = useRef(null);
118
119
  var handleInputChange = useCallback( /*#__PURE__*/function () {
119
- var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(newSearchTerm, actionMeta) {
120
- return _regeneratorRuntime.wrap(function _callee2$(_context2) {
121
- while (1) switch (_context2.prev = _context2.next) {
120
+ var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(newSearchTerm, actionMeta) {
121
+ return _regeneratorRuntime.wrap(function _callee3$(_context3) {
122
+ while (1) switch (_context3.prev = _context3.next) {
122
123
  case 0:
123
- if (!(actionMeta.action === 'input-change' && newSearchTerm !== searchTerm)) {
124
- _context2.next = 7;
125
- break;
124
+ if (actionMeta.action === 'input-change' && newSearchTerm !== searchTerm) {
125
+ setSearchTerm(newSearchTerm);
126
+ if (debounceTimeout.current) {
127
+ clearTimeout(debounceTimeout.current);
128
+ }
129
+ debounceTimeout.current = setTimeout( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
130
+ return _regeneratorRuntime.wrap(function _callee2$(_context2) {
131
+ while (1) switch (_context2.prev = _context2.next) {
132
+ case 0:
133
+ _context2.t0 = setOptions;
134
+ _context2.next = 3;
135
+ return debouncedLoadOptions(newSearchTerm);
136
+ case 3:
137
+ _context2.t1 = _context2.sent;
138
+ (0, _context2.t0)(_context2.t1);
139
+ case 5:
140
+ case "end":
141
+ return _context2.stop();
142
+ }
143
+ }, _callee2);
144
+ })), SEARCH_DEBOUNCE_MS);
126
145
  }
127
- setSearchTerm(newSearchTerm);
128
- _context2.t0 = setOptions;
129
- _context2.next = 5;
130
- return debouncedLoadOptions(newSearchTerm);
131
- case 5:
132
- _context2.t1 = _context2.sent;
133
- (0, _context2.t0)(_context2.t1);
134
- case 7:
146
+ case 1:
135
147
  case "end":
136
- return _context2.stop();
148
+ return _context3.stop();
137
149
  }
138
- }, _callee2);
150
+ }, _callee3);
139
151
  }));
140
152
  return function (_x2, _x3) {
141
153
  return _ref4.apply(this, arguments);
@@ -152,11 +164,11 @@ export var AssetsObjectSchemaSelect = function AssetsObjectSchemaSelect(_ref2) {
152
164
  return validateSchema(value);
153
165
  },
154
166
  testId: testId
155
- }, function (_ref5) {
156
- var _ref5$fieldProps = _ref5.fieldProps,
157
- _onChange = _ref5$fieldProps.onChange,
158
- onFocus = _ref5$fieldProps.onFocus,
159
- restFieldProps = _objectWithoutProperties(_ref5$fieldProps, _excluded2);
167
+ }, function (_ref6) {
168
+ var _ref6$fieldProps = _ref6.fieldProps,
169
+ _onChange = _ref6$fieldProps.onChange,
170
+ onFocus = _ref6$fieldProps.onFocus,
171
+ restFieldProps = _objectWithoutProperties(_ref6$fieldProps, _excluded2);
160
172
  return fg('linking-platform-assests-schema-selector-refresh') ? /*#__PURE__*/React.createElement(PopupSelect, _extends({
161
173
  autoFocus: true,
162
174
  maxMenuWidth: 300,
@@ -174,10 +186,10 @@ export var AssetsObjectSchemaSelect = function AssetsObjectSchemaSelect(_ref2) {
174
186
  onMenuClose: onClose
175
187
  }, restFieldProps, {
176
188
  label: formatMessage(objectSchemaSelectMessages.placeholder),
177
- target: function target(_ref6) {
189
+ target: function target(_ref7) {
178
190
  var _restFieldProps$value;
179
- var isOpen = _ref6.isOpen,
180
- triggerProps = _objectWithoutProperties(_ref6, _excluded3);
191
+ var isOpen = _ref7.isOpen,
192
+ triggerProps = _objectWithoutProperties(_ref7, _excluded3);
181
193
  return /*#__PURE__*/React.createElement(Button, _extends({}, triggerProps, {
182
194
  isSelected: isOpen,
183
195
  iconAfter: function iconAfter() {
@@ -10,7 +10,8 @@ import { components } from '@atlaskit/select';
10
10
  var getPopupCustomControlStyles = function getPopupCustomControlStyles() {
11
11
  return {
12
12
  display: 'flex',
13
- borderRadius: '3px',
13
+ // eslint-disable-next-line @atlaskit/design-system/no-unsafe-design-token-usage
14
+ borderRadius: "var(--ds-border-radius-100, 3px)",
14
15
  border: "solid 1px ".concat("var(--ds-border-input, #8C8F97)"),
15
16
  minHeight: 'auto'
16
17
  };
@@ -39,5 +39,10 @@ export var issueLikeTableMessages = defineMessages({
39
39
  id: 'linkDataSource.issue-line-table.unwrap-text',
40
40
  description: 'Table header Dropdown item for making whole column to not wrap text',
41
41
  defaultMessage: 'Unwrap text'
42
+ },
43
+ fetchActionErrorGenericDescriptionGalaxia: {
44
+ id: 'linkDataSource.issue-line-table.fetch-action-error-generic-description-galaxia',
45
+ description: 'Generic error message description shown when fetching inline edit dropdown field fails',
46
+ defaultMessage: 'Wait a few minutes, then try again. Check your space settings or contact support if this keeps happening.'
42
47
  }
43
48
  });
@@ -44,5 +44,10 @@ export var asyncPopupSelectMessages = defineMessages({
44
44
  id: 'linkDataSource.basic-filter.assignee.searchPlaceholder',
45
45
  description: 'Placeholder to be displayed for assignee filter dropdown search input.',
46
46
  defaultMessage: 'Search for assignee'
47
+ },
48
+ projectLabelGalaxia: {
49
+ id: 'linkDataSource.basic-filter.project.label-galaxia',
50
+ description: 'Label to be displayed for project filter dropdown button.',
51
+ defaultMessage: 'Space'
47
52
  }
48
53
  });
@@ -2,10 +2,9 @@
2
2
  import "./index.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
5
- import { JiraServiceManagementIcon } from '@atlaskit/logo';
5
+ import { AssetsIcon, JiraServiceManagementIcon } from '@atlaskit/logo';
6
6
  import { fg } from '@atlaskit/platform-feature-flags';
7
7
  import { Box } from '@atlaskit/primitives/compiled';
8
- import { AssetsIcon } from '@atlaskit/temp-nav-app-icons/assets';
9
8
  import { useDatasourceAnalyticsEvents } from '../../../analytics';
10
9
  var styles = {
11
10
  jsmTextStyles: "_syaz1gjq _18u012x7 _30l316c2",
@@ -37,7 +36,7 @@ export var PoweredByJSMAssets = function PoweredByJSMAssets(props) {
37
36
  alignItems: 'center'
38
37
  }
39
38
  }, fg('assets_as_an_app_v2') ? /*#__PURE__*/React.createElement(AssetsIcon, {
40
- size: "24"
39
+ size: "small"
41
40
  }) : /*#__PURE__*/React.createElement(JiraServiceManagementIcon, {
42
41
  size: "xxsmall",
43
42
  appearance: "brand",
@@ -3,10 +3,9 @@ import "./index.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React, { useMemo } from 'react';
5
5
  import { useIntl } from 'react-intl-next';
6
- import { JiraServiceManagementIcon } from '@atlaskit/logo';
6
+ import { AssetsIcon, JiraServiceManagementIcon } from '@atlaskit/logo';
7
7
  import { fg } from '@atlaskit/platform-feature-flags';
8
8
  import { Anchor, Inline } from '@atlaskit/primitives/compiled';
9
- import { AssetsIcon } from '@atlaskit/temp-nav-app-icons/assets';
10
9
  import { useDatasourceAnalyticsEvents } from '../../../analytics';
11
10
  import { ASSETS_LIST_OF_LINKS_DATASOURCE_ID } from '../../assets-modal';
12
11
  import { footerMessages } from '../messages';
@@ -24,7 +23,7 @@ export var ProviderLink = function ProviderLink(_ref) {
24
23
  content: intl.formatMessage(footerMessages.poweredByAssets),
25
24
  extensionKey: 'jsm-cmdb-gateway',
26
25
  icon: /*#__PURE__*/React.createElement(AssetsIcon, {
27
- size: "20"
26
+ size: "xsmall"
28
27
  }),
29
28
  interactionName: 'atlas-link',
30
29
  url: '/jira/assets'
@@ -39,4 +39,9 @@ export declare const issueLikeTableMessages: {
39
39
  description: string;
40
40
  defaultMessage: string;
41
41
  };
42
+ fetchActionErrorGenericDescriptionGalaxia: {
43
+ id: string;
44
+ description: string;
45
+ defaultMessage: string;
46
+ };
42
47
  };
@@ -44,4 +44,9 @@ export declare const asyncPopupSelectMessages: {
44
44
  description: string;
45
45
  defaultMessage: string;
46
46
  };
47
+ projectLabelGalaxia: {
48
+ id: string;
49
+ description: string;
50
+ defaultMessage: string;
51
+ };
47
52
  };
@@ -39,4 +39,9 @@ export declare const issueLikeTableMessages: {
39
39
  description: string;
40
40
  defaultMessage: string;
41
41
  };
42
+ fetchActionErrorGenericDescriptionGalaxia: {
43
+ id: string;
44
+ description: string;
45
+ defaultMessage: string;
46
+ };
42
47
  };
@@ -44,4 +44,9 @@ export declare const asyncPopupSelectMessages: {
44
44
  description: string;
45
45
  defaultMessage: string;
46
46
  };
47
+ projectLabelGalaxia: {
48
+ id: string;
49
+ description: string;
50
+ defaultMessage: string;
51
+ };
47
52
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-datasource",
3
- "version": "4.19.2",
3
+ "version": "4.19.4",
4
4
  "description": "UI Components to support linking platform dataset feature",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -77,11 +77,10 @@
77
77
  "@atlaskit/primitives": "^14.11.0",
78
78
  "@atlaskit/react-select": "^3.4.0",
79
79
  "@atlaskit/select": "^21.2.0",
80
- "@atlaskit/smart-card": "^40.8.0",
80
+ "@atlaskit/smart-card": "^40.9.0",
81
81
  "@atlaskit/smart-user-picker": "^8.1.0",
82
82
  "@atlaskit/spinner": "^19.0.0",
83
83
  "@atlaskit/tag": "^14.1.0",
84
- "@atlaskit/temp-nav-app-icons": "^0.10.0",
85
84
  "@atlaskit/textfield": "^8.0.0",
86
85
  "@atlaskit/theme": "^19.0.0",
87
86
  "@atlaskit/tokens": "^6.0.0",
@@ -171,9 +170,6 @@
171
170
  "assets_as_an_app_v2": {
172
171
  "type": "boolean"
173
172
  },
174
- "replace-legacy-button-in-sllv": {
175
- "type": "boolean"
176
- },
177
173
  "dst-a11y__replace-anchor-with-link__linking-platfo": {
178
174
  "type": "boolean"
179
175
  },