@atlaskit/link-datasource 6.3.0 → 6.4.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.
Files changed (26) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/cjs/ui/common/modal/popup-select/formatOptionLabel.js +1 -1
  3. package/dist/cjs/ui/issue-like-table/column-picker/index.js +4 -16
  4. package/dist/cjs/ui/table-footer/powered-by-jsm-assets/index.js +2 -6
  5. package/dist/cjs/ui/table-footer/provider-link/index.js +2 -7
  6. package/dist/es2019/ui/common/modal/popup-select/formatOptionLabel.js +1 -1
  7. package/dist/es2019/ui/issue-like-table/column-picker/index.js +4 -16
  8. package/dist/es2019/ui/table-footer/powered-by-jsm-assets/index.js +2 -6
  9. package/dist/es2019/ui/table-footer/provider-link/index.js +2 -6
  10. package/dist/esm/ui/common/modal/popup-select/formatOptionLabel.js +1 -1
  11. package/dist/esm/ui/issue-like-table/column-picker/index.js +4 -16
  12. package/dist/esm/ui/table-footer/powered-by-jsm-assets/index.js +2 -6
  13. package/dist/esm/ui/table-footer/provider-link/index.js +2 -6
  14. package/dist/types/hooks/useErrorLogger.d.ts +1 -1
  15. package/dist/types/services/cmdbService.utils.d.ts +1 -1
  16. package/dist/types/services/getAvailableSites.d.ts +1 -1
  17. package/dist/types/services/useAvailableSites.d.ts +1 -1
  18. package/dist/types/types/assets/types.d.ts +2 -2
  19. package/dist/types/ui/common/modal/search-count/index.d.ts +1 -1
  20. package/dist/types/ui/confluence-search-modal/basic-filters/filters/date-range-picker/utils.d.ts +2 -2
  21. package/dist/types/ui/issue-like-table/edit-type/index.d.ts +3 -3
  22. package/dist/types/ui/issue-like-table/render-type/index.d.ts +1 -1
  23. package/dist/types/ui/issue-like-table/utils.d.ts +3 -3
  24. package/dist/types/ui/jira-issues-modal/basic-filters/hooks/useFilterOptions.d.ts +1 -1
  25. package/dist/types/ui/jira-issues-modal/basic-filters/types.d.ts +6 -6
  26. package/package.json +14 -20
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # @atlaskit/link-datasource
2
2
 
3
+ ## 6.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`4fd26afe1912d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4fd26afe1912d) -
8
+ Update i18n NPM package versions for linking-platform,smart-experiences (Group 15)
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
14
+ ## 6.3.1
15
+
16
+ ### Patch Changes
17
+
18
+ - [`fb07a43bd5ca0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/fb07a43bd5ca0) -
19
+ Cleanup platform_sllv_a11y_modal_options_focus
20
+ - [`87d3a5aafece6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/87d3a5aafece6) -
21
+ Cleanup navx-1895-new-logo-design
22
+ - Updated dependencies
23
+
3
24
  ## 6.3.0
4
25
 
5
26
  ### Minor Changes
@@ -62,7 +62,7 @@ var AvatarOptionLabel = function AvatarOptionLabel(_ref3) {
62
62
  })) : /*#__PURE__*/_react.default.createElement(_avatar.default, {
63
63
  appearance: data.isSquare ? 'square' : 'circle',
64
64
  src: data.avatar,
65
- size: "xsmall"
65
+ size: "xxsmall"
66
66
  }), /*#__PURE__*/_react.default.createElement(_compiled.Box, {
67
67
  xcss: (0, _css.cx)(styles.commonLabelStyles, styles.avatarOptionLabelStyles)
68
68
  }, data.label));
@@ -18,7 +18,6 @@ var _reactIntl = require("react-intl");
18
18
  var _new = _interopRequireDefault(require("@atlaskit/button/new"));
19
19
  var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/core/chevron-down"));
20
20
  var _customize = _interopRequireDefault(require("@atlaskit/icon/core/customize"));
21
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
22
21
  var _compiled = require("@atlaskit/primitives/compiled");
23
22
  var _select = require("@atlaskit/select");
24
23
  var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
@@ -108,23 +107,12 @@ var ColumnPicker = exports.ColumnPicker = function ColumnPicker(_ref) {
108
107
  });
109
108
  };
110
109
  (0, _react.useEffect)(function () {
111
- if ((0, _platformFeatureFlags.fg)('platform_sllv_a11y_modal_options_focus')) {
112
- if (pickerRef !== null && pickerRef !== void 0 && pickerRef.current && allOptions.length > 0) {
113
- var _pickerRef$current;
114
- // necessary to refocus the search input after the loading state
115
- pickerRef === null || pickerRef === void 0 || (_pickerRef$current = pickerRef.current) === null || _pickerRef$current === void 0 || (_pickerRef$current = _pickerRef$current.selectRef) === null || _pickerRef$current === void 0 || (_pickerRef$current = _pickerRef$current.select) === null || _pickerRef$current === void 0 || (_pickerRef$current = _pickerRef$current.inputRef) === null || _pickerRef$current === void 0 || _pickerRef$current.focus();
116
- }
110
+ if (pickerRef !== null && pickerRef !== void 0 && pickerRef.current && allOptions.length > 0) {
111
+ var _pickerRef$current;
112
+ // necessary to refocus the search input after the loading state
113
+ pickerRef === null || pickerRef === void 0 || (_pickerRef$current = pickerRef.current) === null || _pickerRef$current === void 0 || (_pickerRef$current = _pickerRef$current.selectRef) === null || _pickerRef$current === void 0 || (_pickerRef$current = _pickerRef$current.select) === null || _pickerRef$current === void 0 || (_pickerRef$current = _pickerRef$current.inputRef) === null || _pickerRef$current === void 0 || _pickerRef$current.focus();
117
114
  }
118
115
  }, [allOptions.length]);
119
- (0, _react.useEffect)(function () {
120
- if (!(0, _platformFeatureFlags.fg)('platform_sllv_a11y_modal_options_focus')) {
121
- if (allOptions.length) {
122
- var _pickerRef$current2;
123
- // necessary to refocus the search input after the loading state
124
- pickerRef === null || pickerRef === void 0 || (_pickerRef$current2 = pickerRef.current) === null || _pickerRef$current2 === void 0 || (_pickerRef$current2 = _pickerRef$current2.selectRef) === null || _pickerRef$current2 === void 0 || (_pickerRef$current2 = _pickerRef$current2.select) === null || _pickerRef$current2 === void 0 || (_pickerRef$current2 = _pickerRef$current2.inputRef) === null || _pickerRef$current2 === void 0 || _pickerRef$current2.focus();
125
- }
126
- }
127
- }, [allOptions]);
128
116
  (0, _react.useEffect)(function () {
129
117
  if (allOptions.length) {
130
118
  if (experienceId) {
@@ -8,10 +8,8 @@ Object.defineProperty(exports, "__esModule", {
8
8
  exports.PoweredByJSMAssets = void 0;
9
9
  require("./index.compiled.css");
10
10
  var _runtime = require("@compiled/react/runtime");
11
- var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
12
11
  var _react = _interopRequireDefault(require("react"));
13
12
  var _logo = require("@atlaskit/logo");
14
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
15
13
  var _compiled = require("@atlaskit/primitives/compiled");
16
14
  var _analytics = require("../../../analytics");
17
15
  var styles = {
@@ -42,11 +40,9 @@ var PoweredByJSMAssets = exports.PoweredByJSMAssets = function PoweredByJSMAsset
42
40
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
43
41
  alignItems: 'center'
44
42
  }
45
- }, /*#__PURE__*/_react.default.createElement(_logo.AssetsIcon, (0, _extends2.default)({
43
+ }, /*#__PURE__*/_react.default.createElement(_logo.AssetsIcon, {
46
44
  size: "small"
47
- }, (0, _platformFeatureFlags.fg)('navx-1895-new-logo-design') ? {
48
- shouldUseNewLogoDesign: true
49
- } : undefined)), /*#__PURE__*/_react.default.createElement(_compiled.Box, {
45
+ }), /*#__PURE__*/_react.default.createElement(_compiled.Box, {
50
46
  xcss: styles.jsmTextStyles
51
47
  // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography, @atlaskit/ui-styling-standard/enforce-style-prop
52
48
  ,
@@ -1,7 +1,6 @@
1
1
  /* index.tsx generated by @compiled/babel-plugin v0.40.0 */
2
2
  "use strict";
3
3
 
4
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
5
4
  var _typeof = require("@babel/runtime/helpers/typeof");
6
5
  Object.defineProperty(exports, "__esModule", {
7
6
  value: true
@@ -9,11 +8,9 @@ Object.defineProperty(exports, "__esModule", {
9
8
  exports.ProviderLink = void 0;
10
9
  require("./index.compiled.css");
11
10
  var _runtime = require("@compiled/react/runtime");
12
- var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
13
11
  var _react = _interopRequireWildcard(require("react"));
14
12
  var _reactIntl = require("react-intl");
15
13
  var _logo = require("@atlaskit/logo");
16
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
17
14
  var _compiled = require("@atlaskit/primitives/compiled");
18
15
  var _analytics = require("../../../analytics");
19
16
  var _assetsModal = require("../../assets-modal");
@@ -32,11 +29,9 @@ var ProviderLink = exports.ProviderLink = function ProviderLink(_ref) {
32
29
  return {
33
30
  content: intl.formatMessage(_messages.footerMessages.poweredByAssets),
34
31
  extensionKey: 'jsm-cmdb-gateway',
35
- icon: /*#__PURE__*/_react.default.createElement(_logo.AssetsIcon, (0, _extends2.default)({
32
+ icon: /*#__PURE__*/_react.default.createElement(_logo.AssetsIcon, {
36
33
  size: "xsmall"
37
- }, (0, _platformFeatureFlags.fg)('navx-1895-new-logo-design') ? {
38
- shouldUseNewLogoDesign: true
39
- } : undefined)),
34
+ }),
40
35
  interactionName: 'atlas-link',
41
36
  url: '/jira/assets'
42
37
  };
@@ -60,7 +60,7 @@ const AvatarOptionLabel = ({
60
60
  })) : /*#__PURE__*/React.createElement(Avatar, {
61
61
  appearance: data.isSquare ? 'square' : 'circle',
62
62
  src: data.avatar,
63
- size: "xsmall"
63
+ size: "xxsmall"
64
64
  }), /*#__PURE__*/React.createElement(Box, {
65
65
  xcss: cx(styles.commonLabelStyles, styles.avatarOptionLabelStyles)
66
66
  }, data.label));
@@ -7,7 +7,6 @@ import { useIntl } from 'react-intl';
7
7
  import Button from '@atlaskit/button/new';
8
8
  import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
9
9
  import CustomizeIcon from '@atlaskit/icon/core/customize';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
10
  import { Box } from '@atlaskit/primitives/compiled';
12
11
  import { createFilter, PopupSelect } from '@atlaskit/select';
13
12
  import Tooltip from '@atlaskit/tooltip';
@@ -81,23 +80,12 @@ export const ColumnPicker = ({
81
80
  return selectValue.length === 1 && selectValue.some(selectedValue => selectedValue.value === option.value);
82
81
  };
83
82
  useEffect(() => {
84
- if (fg('platform_sllv_a11y_modal_options_focus')) {
85
- if (pickerRef !== null && pickerRef !== void 0 && pickerRef.current && allOptions.length > 0) {
86
- var _pickerRef$current, _pickerRef$current$se, _pickerRef$current$se2, _pickerRef$current$se3;
87
- // necessary to refocus the search input after the loading state
88
- pickerRef === null || pickerRef === void 0 ? void 0 : (_pickerRef$current = pickerRef.current) === null || _pickerRef$current === void 0 ? void 0 : (_pickerRef$current$se = _pickerRef$current.selectRef) === null || _pickerRef$current$se === void 0 ? void 0 : (_pickerRef$current$se2 = _pickerRef$current$se.select) === null || _pickerRef$current$se2 === void 0 ? void 0 : (_pickerRef$current$se3 = _pickerRef$current$se2.inputRef) === null || _pickerRef$current$se3 === void 0 ? void 0 : _pickerRef$current$se3.focus();
89
- }
83
+ if (pickerRef !== null && pickerRef !== void 0 && pickerRef.current && allOptions.length > 0) {
84
+ var _pickerRef$current, _pickerRef$current$se, _pickerRef$current$se2, _pickerRef$current$se3;
85
+ // necessary to refocus the search input after the loading state
86
+ pickerRef === null || pickerRef === void 0 ? void 0 : (_pickerRef$current = pickerRef.current) === null || _pickerRef$current === void 0 ? void 0 : (_pickerRef$current$se = _pickerRef$current.selectRef) === null || _pickerRef$current$se === void 0 ? void 0 : (_pickerRef$current$se2 = _pickerRef$current$se.select) === null || _pickerRef$current$se2 === void 0 ? void 0 : (_pickerRef$current$se3 = _pickerRef$current$se2.inputRef) === null || _pickerRef$current$se3 === void 0 ? void 0 : _pickerRef$current$se3.focus();
90
87
  }
91
88
  }, [allOptions.length]);
92
- useEffect(() => {
93
- if (!fg('platform_sllv_a11y_modal_options_focus')) {
94
- if (allOptions.length) {
95
- var _pickerRef$current2, _pickerRef$current2$s, _pickerRef$current2$s2, _pickerRef$current2$s3;
96
- // necessary to refocus the search input after the loading state
97
- pickerRef === null || pickerRef === void 0 ? void 0 : (_pickerRef$current2 = pickerRef.current) === null || _pickerRef$current2 === void 0 ? void 0 : (_pickerRef$current2$s = _pickerRef$current2.selectRef) === null || _pickerRef$current2$s === void 0 ? void 0 : (_pickerRef$current2$s2 = _pickerRef$current2$s.select) === null || _pickerRef$current2$s2 === void 0 ? void 0 : (_pickerRef$current2$s3 = _pickerRef$current2$s2.inputRef) === null || _pickerRef$current2$s3 === void 0 ? void 0 : _pickerRef$current2$s3.focus();
98
- }
99
- }
100
- }, [allOptions]);
101
89
  useEffect(() => {
102
90
  if (allOptions.length) {
103
91
  if (experienceId) {
@@ -1,10 +1,8 @@
1
1
  /* index.tsx generated by @compiled/babel-plugin v0.40.0 */
2
- import _extends from "@babel/runtime/helpers/extends";
3
2
  import "./index.compiled.css";
4
3
  import { ax, ix } from "@compiled/react/runtime";
5
4
  import React from 'react';
6
5
  import { AssetsIcon } from '@atlaskit/logo';
7
- import { fg } from '@atlaskit/platform-feature-flags';
8
6
  import { Box } from '@atlaskit/primitives/compiled';
9
7
  import { useDatasourceAnalyticsEvents } from '../../../analytics';
10
8
  const styles = {
@@ -34,11 +32,9 @@ export const PoweredByJSMAssets = props => {
34
32
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
35
33
  alignItems: 'center'
36
34
  }
37
- }, /*#__PURE__*/React.createElement(AssetsIcon, _extends({
35
+ }, /*#__PURE__*/React.createElement(AssetsIcon, {
38
36
  size: "small"
39
- }, fg('navx-1895-new-logo-design') ? {
40
- shouldUseNewLogoDesign: true
41
- } : undefined)), /*#__PURE__*/React.createElement(Box, {
37
+ }), /*#__PURE__*/React.createElement(Box, {
42
38
  xcss: styles.jsmTextStyles
43
39
  // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography, @atlaskit/ui-styling-standard/enforce-style-prop
44
40
  ,
@@ -1,11 +1,9 @@
1
1
  /* index.tsx generated by @compiled/babel-plugin v0.40.0 */
2
- import _extends from "@babel/runtime/helpers/extends";
3
2
  import "./index.compiled.css";
4
3
  import { ax, ix } from "@compiled/react/runtime";
5
4
  import React, { useMemo } from 'react';
6
5
  import { useIntl } from 'react-intl';
7
6
  import { AssetsIcon } from '@atlaskit/logo';
8
- import { fg } from '@atlaskit/platform-feature-flags';
9
7
  import { Anchor, Inline } from '@atlaskit/primitives/compiled';
10
8
  import { useDatasourceAnalyticsEvents } from '../../../analytics';
11
9
  import { ASSETS_LIST_OF_LINKS_DATASOURCE_ID } from '../../assets-modal';
@@ -25,11 +23,9 @@ export const ProviderLink = ({
25
23
  return {
26
24
  content: intl.formatMessage(footerMessages.poweredByAssets),
27
25
  extensionKey: 'jsm-cmdb-gateway',
28
- icon: /*#__PURE__*/React.createElement(AssetsIcon, _extends({
26
+ icon: /*#__PURE__*/React.createElement(AssetsIcon, {
29
27
  size: "xsmall"
30
- }, fg('navx-1895-new-logo-design') ? {
31
- shouldUseNewLogoDesign: true
32
- } : undefined)),
28
+ }),
33
29
  interactionName: 'atlas-link',
34
30
  url: '/jira/assets'
35
31
  };
@@ -55,7 +55,7 @@ var AvatarOptionLabel = function AvatarOptionLabel(_ref3) {
55
55
  })) : /*#__PURE__*/React.createElement(Avatar, {
56
56
  appearance: data.isSquare ? 'square' : 'circle',
57
57
  src: data.avatar,
58
- size: "xsmall"
58
+ size: "xxsmall"
59
59
  }), /*#__PURE__*/React.createElement(Box, {
60
60
  xcss: cx(styles.commonLabelStyles, styles.avatarOptionLabelStyles)
61
61
  }, data.label));
@@ -11,7 +11,6 @@ import { useIntl } from 'react-intl';
11
11
  import Button from '@atlaskit/button/new';
12
12
  import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
13
13
  import CustomizeIcon from '@atlaskit/icon/core/customize';
14
- import { fg } from '@atlaskit/platform-feature-flags';
15
14
  import { Box } from '@atlaskit/primitives/compiled';
16
15
  import { createFilter, PopupSelect } from '@atlaskit/select';
17
16
  import Tooltip from '@atlaskit/tooltip';
@@ -99,23 +98,12 @@ export var ColumnPicker = function ColumnPicker(_ref) {
99
98
  });
100
99
  };
101
100
  useEffect(function () {
102
- if (fg('platform_sllv_a11y_modal_options_focus')) {
103
- if (pickerRef !== null && pickerRef !== void 0 && pickerRef.current && allOptions.length > 0) {
104
- var _pickerRef$current;
105
- // necessary to refocus the search input after the loading state
106
- pickerRef === null || pickerRef === void 0 || (_pickerRef$current = pickerRef.current) === null || _pickerRef$current === void 0 || (_pickerRef$current = _pickerRef$current.selectRef) === null || _pickerRef$current === void 0 || (_pickerRef$current = _pickerRef$current.select) === null || _pickerRef$current === void 0 || (_pickerRef$current = _pickerRef$current.inputRef) === null || _pickerRef$current === void 0 || _pickerRef$current.focus();
107
- }
101
+ if (pickerRef !== null && pickerRef !== void 0 && pickerRef.current && allOptions.length > 0) {
102
+ var _pickerRef$current;
103
+ // necessary to refocus the search input after the loading state
104
+ pickerRef === null || pickerRef === void 0 || (_pickerRef$current = pickerRef.current) === null || _pickerRef$current === void 0 || (_pickerRef$current = _pickerRef$current.selectRef) === null || _pickerRef$current === void 0 || (_pickerRef$current = _pickerRef$current.select) === null || _pickerRef$current === void 0 || (_pickerRef$current = _pickerRef$current.inputRef) === null || _pickerRef$current === void 0 || _pickerRef$current.focus();
108
105
  }
109
106
  }, [allOptions.length]);
110
- useEffect(function () {
111
- if (!fg('platform_sllv_a11y_modal_options_focus')) {
112
- if (allOptions.length) {
113
- var _pickerRef$current2;
114
- // necessary to refocus the search input after the loading state
115
- pickerRef === null || pickerRef === void 0 || (_pickerRef$current2 = pickerRef.current) === null || _pickerRef$current2 === void 0 || (_pickerRef$current2 = _pickerRef$current2.selectRef) === null || _pickerRef$current2 === void 0 || (_pickerRef$current2 = _pickerRef$current2.select) === null || _pickerRef$current2 === void 0 || (_pickerRef$current2 = _pickerRef$current2.inputRef) === null || _pickerRef$current2 === void 0 || _pickerRef$current2.focus();
116
- }
117
- }
118
- }, [allOptions]);
119
107
  useEffect(function () {
120
108
  if (allOptions.length) {
121
109
  if (experienceId) {
@@ -1,10 +1,8 @@
1
1
  /* index.tsx generated by @compiled/babel-plugin v0.40.0 */
2
- import _extends from "@babel/runtime/helpers/extends";
3
2
  import "./index.compiled.css";
4
3
  import { ax, ix } from "@compiled/react/runtime";
5
4
  import React from 'react';
6
5
  import { AssetsIcon } from '@atlaskit/logo';
7
- import { fg } from '@atlaskit/platform-feature-flags';
8
6
  import { Box } from '@atlaskit/primitives/compiled';
9
7
  import { useDatasourceAnalyticsEvents } from '../../../analytics';
10
8
  var styles = {
@@ -35,11 +33,9 @@ export var PoweredByJSMAssets = function PoweredByJSMAssets(props) {
35
33
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
36
34
  alignItems: 'center'
37
35
  }
38
- }, /*#__PURE__*/React.createElement(AssetsIcon, _extends({
36
+ }, /*#__PURE__*/React.createElement(AssetsIcon, {
39
37
  size: "small"
40
- }, fg('navx-1895-new-logo-design') ? {
41
- shouldUseNewLogoDesign: true
42
- } : undefined)), /*#__PURE__*/React.createElement(Box, {
38
+ }), /*#__PURE__*/React.createElement(Box, {
43
39
  xcss: styles.jsmTextStyles
44
40
  // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography, @atlaskit/ui-styling-standard/enforce-style-prop
45
41
  ,
@@ -1,11 +1,9 @@
1
1
  /* index.tsx generated by @compiled/babel-plugin v0.40.0 */
2
- import _extends from "@babel/runtime/helpers/extends";
3
2
  import "./index.compiled.css";
4
3
  import { ax, ix } from "@compiled/react/runtime";
5
4
  import React, { useMemo } from 'react';
6
5
  import { useIntl } from 'react-intl';
7
6
  import { AssetsIcon } from '@atlaskit/logo';
8
- import { fg } from '@atlaskit/platform-feature-flags';
9
7
  import { Anchor, Inline } from '@atlaskit/primitives/compiled';
10
8
  import { useDatasourceAnalyticsEvents } from '../../../analytics';
11
9
  import { ASSETS_LIST_OF_LINKS_DATASOURCE_ID } from '../../assets-modal';
@@ -23,11 +21,9 @@ export var ProviderLink = function ProviderLink(_ref) {
23
21
  return {
24
22
  content: intl.formatMessage(footerMessages.poweredByAssets),
25
23
  extensionKey: 'jsm-cmdb-gateway',
26
- icon: /*#__PURE__*/React.createElement(AssetsIcon, _extends({
24
+ icon: /*#__PURE__*/React.createElement(AssetsIcon, {
27
25
  size: "xsmall"
28
- }, fg('navx-1895-new-logo-design') ? {
29
- shouldUseNewLogoDesign: true
30
- } : undefined)),
26
+ }),
31
27
  interactionName: 'atlas-link',
32
28
  url: '/jira/assets'
33
29
  };
@@ -15,6 +15,6 @@ interface UseErrorLoggerPropsActions {
15
15
  }
16
16
  export type UseErrorLoggerProps = UseErrorLoggerPropsDatasource | UseErrorLoggerPropsActions;
17
17
  declare const useErrorLogger: (loggerProps: UseErrorLoggerProps) => {
18
- captureError: (errorLocation: DatasourceOperationFailedAttributesType["errorLocation"], error: unknown) => void;
18
+ captureError: (errorLocation: DatasourceOperationFailedAttributesType['errorLocation'], error: unknown) => void;
19
19
  };
20
20
  export default useErrorLogger;
@@ -1,5 +1,5 @@
1
1
  export declare const mapFetchErrors: (error: any) => Error;
2
- export declare const getStatusCodeGroup: (error: Error) => "unknown" | "1xx" | "3xx" | "4xx" | "5xx";
2
+ export declare const getStatusCodeGroup: (error: Error) => 'unknown' | '1xx' | '3xx' | '4xx' | '5xx';
3
3
  export declare class PermissionError extends Error {
4
4
  constructor(message: string);
5
5
  }
@@ -1,2 +1,2 @@
1
1
  import type { Site } from '../common/types';
2
- export declare const getAccessibleProducts: (product: "jira" | "confluence") => Promise<Site[]>;
2
+ export declare const getAccessibleProducts: (product: 'jira' | 'confluence') => Promise<Site[]>;
@@ -1,5 +1,5 @@
1
1
  import type { Site } from '../common/types';
2
- export declare const useAvailableSites: (product: "confluence" | "jira", cloudId?: string) => {
2
+ export declare const useAvailableSites: (product: 'confluence' | 'jira', cloudId?: string) => {
3
3
  availableSites: Site[] | undefined;
4
4
  selectedSite: Site | undefined;
5
5
  };
@@ -38,8 +38,8 @@ export type AqlValidateResponse = {
38
38
  errors?: ValidationError;
39
39
  isValid: boolean;
40
40
  };
41
- export declare const objectSchemaKey: "objectSchema";
42
- export declare const aqlKey: "aql";
41
+ export declare const objectSchemaKey: 'objectSchema';
42
+ export declare const aqlKey: 'aql';
43
43
  export type SearchForm = {
44
44
  [aqlKey]: string;
45
45
  [objectSchemaKey]: ObjectSchemaOption | undefined | null;
@@ -6,6 +6,6 @@ interface TableSearchCountProps {
6
6
  testId?: string;
7
7
  url?: string;
8
8
  }
9
- export declare const AssetsItemCount: ({ searchCount, url, testId, }: Pick<TableSearchCountProps, "testId" | "url" | "searchCount">) => React.JSX.Element;
9
+ export declare const AssetsItemCount: ({ searchCount, url, testId, }: Pick<TableSearchCountProps, 'testId' | 'url' | 'searchCount'>) => React.JSX.Element;
10
10
  declare const TableSearchCount: ({ url, searchCount, styles: additionalStyles, testId, prefixTextType, }: TableSearchCountProps) => React.JSX.Element;
11
11
  export default TableSearchCount;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { type IntlShape } from 'react-intl';
3
3
  import { type DateRangeType } from '../../../../common/modal/popup-select/types';
4
- export declare const getDropdownLabel: (option: DateRangeType | undefined, formatMessage: IntlShape["formatMessage"]) => string;
5
- export declare const getCurrentOptionLabel: (formatDate: IntlShape["formatDate"], formatMessage: IntlShape["formatMessage"], value?: DateRangeType, to?: string, from?: string) => string;
4
+ export declare const getDropdownLabel: (option: DateRangeType | undefined, formatMessage: IntlShape['formatMessage']) => string;
5
+ export declare const getCurrentOptionLabel: (formatDate: IntlShape['formatDate'], formatMessage: IntlShape['formatMessage'], value?: DateRangeType, to?: string, from?: string) => string;
6
6
  export declare const useInvalidDateRange: (from?: string, to?: string) => React.JSX.Element | null;
@@ -9,7 +9,7 @@ export declare const editType: ({ defaultValue, currentValue, labelId, setEditVa
9
9
  executeFetch?: ExecuteFetch;
10
10
  labelId?: string;
11
11
  setEditValues: React.Dispatch<React.SetStateAction<DatasourceTypeWithOnlyValues>>;
12
- }) => Pick<React.ComponentProps<typeof InlineEdit>, "defaultValue" | "editView">;
13
- export declare const isEditTypeSupported: (type: DatasourceType["type"]) => boolean;
14
- export declare const isEditTypeSelectable: (type: DatasourceType["type"]) => boolean;
12
+ }) => Pick<React.ComponentProps<typeof InlineEdit>, 'defaultValue' | 'editView'>;
13
+ export declare const isEditTypeSupported: (type: DatasourceType['type']) => boolean;
14
+ export declare const isEditTypeSelectable: (type: DatasourceType['type']) => boolean;
15
15
  export declare const toValueType: <T>(typeWithValues: DatasourceTypeWithOnlyValues) => T;
@@ -1,5 +1,5 @@
1
1
  import { type IntlShape } from 'react-intl';
2
2
  import { type DatasourceType } from '@atlaskit/linking-types';
3
3
  import { type TableViewPropsRenderType } from '../types';
4
- export declare const stringifyType: ({ type, value }: DatasourceType, formatMessage: IntlShape["formatMessage"], formatDate: IntlShape["formatDate"]) => string;
4
+ export declare const stringifyType: ({ type, value }: DatasourceType, formatMessage: IntlShape['formatMessage'], formatDate: IntlShape['formatDate']) => string;
5
5
  export declare const renderType: TableViewPropsRenderType;
@@ -25,11 +25,11 @@ export declare const getColumnAction: (oldVisibleColumnKeys: string[], newVisibl
25
25
  /**
26
26
  * Remove deprecated `aria-labelledby` prop from select component props.
27
27
  */
28
- export declare const getCleanedSelectProps: (props: Omit<FieldProps<string>, "value">) => {
28
+ export declare const getCleanedSelectProps: (props: Omit<FieldProps<string>, 'value'>) => {
29
29
  name: string;
30
30
  id: string;
31
- "aria-describedby"?: string | undefined;
32
- "aria-invalid": "true" | "false";
31
+ 'aria-describedby'?: string | undefined;
32
+ 'aria-invalid': 'true' | 'false';
33
33
  onFocus: () => void;
34
34
  onBlur: () => void;
35
35
  onChange: (value: string | FormEvent<HTMLInputElement>) => void;
@@ -19,6 +19,6 @@ export interface FilterOptionsState {
19
19
  status: 'empty' | 'loading' | 'resolved' | 'rejected' | 'loadingMore';
20
20
  totalCount: number;
21
21
  }
22
- export declare const getAssigneeUnassignedFilterOption: (formatMessage: IntlShape["formatMessage"]) => AvatarLabelOption;
22
+ export declare const getAssigneeUnassignedFilterOption: (formatMessage: IntlShape['formatMessage']) => AvatarLabelOption;
23
23
  export declare const useFilterOptions: ({ filterType, site }: FilterOptionsProps) => FilterOptionsState;
24
24
  export {};
@@ -4,12 +4,12 @@ export type SelectedOptionsMap = {
4
4
  [key in BasicFilterFieldType]?: SelectOption[];
5
5
  };
6
6
  export declare const appearanceMap: {
7
- readonly BLUE_GRAY: "default";
8
- readonly MEDIUM_GRAY: "default";
9
- readonly BROWN: "default";
10
- readonly GREEN: "success";
11
- readonly YELLOW: "inprogress";
12
- readonly WARM_RED: "removed";
7
+ readonly BLUE_GRAY: 'default';
8
+ readonly MEDIUM_GRAY: 'default';
9
+ readonly BROWN: 'default';
10
+ readonly GREEN: 'success';
11
+ readonly YELLOW: 'inprogress';
12
+ readonly WARM_RED: 'removed';
13
13
  };
14
14
  export type ColorName = keyof typeof appearanceMap;
15
15
  export type Appearance = (typeof appearanceMap)[ColorName];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-datasource",
3
- "version": "6.3.0",
3
+ "version": "6.4.0",
4
4
  "description": "UI Components to support linking platform dataset feature",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -36,23 +36,23 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@atlaskit/adf-schema": "^56.1.0",
39
- "@atlaskit/afm-i18n-platform-linking-platform-link-datasource": "2.7.0",
39
+ "@atlaskit/afm-i18n-platform-linking-platform-link-datasource": "2.201.0",
40
40
  "@atlaskit/analytics-next": "^12.3.0",
41
41
  "@atlaskit/atlassian-context": "^1.1.0",
42
- "@atlaskit/avatar": "^26.2.0",
43
- "@atlaskit/avatar-group": "^13.1.0",
42
+ "@atlaskit/avatar": "^26.4.0",
43
+ "@atlaskit/avatar-group": "^13.2.0",
44
44
  "@atlaskit/badge": "^19.1.0",
45
45
  "@atlaskit/button": "^24.3.0",
46
46
  "@atlaskit/css": "^1.0.0",
47
- "@atlaskit/datetime-picker": "^18.1.0",
48
- "@atlaskit/dropdown-menu": "^17.1.0",
47
+ "@atlaskit/datetime-picker": "^18.2.0",
48
+ "@atlaskit/dropdown-menu": "^17.2.0",
49
49
  "@atlaskit/editor-prosemirror": "^8.0.0",
50
50
  "@atlaskit/empty-state": "^11.1.0",
51
51
  "@atlaskit/feature-gate-js-client": "^6.0.0",
52
52
  "@atlaskit/flag": "^18.2.0",
53
53
  "@atlaskit/form": "^16.1.0",
54
54
  "@atlaskit/heading": "^6.2.0",
55
- "@atlaskit/icon": "^37.1.0",
55
+ "@atlaskit/icon": "^37.2.0",
56
56
  "@atlaskit/image": "^4.2.0",
57
57
  "@atlaskit/inline-edit": "^16.2.0",
58
58
  "@atlaskit/intl-messages-provider": "^4.2.0",
@@ -67,27 +67,27 @@
67
67
  "@atlaskit/linking-types": "^15.0.0",
68
68
  "@atlaskit/logo": "^21.4.0",
69
69
  "@atlaskit/lozenge": "^14.1.0",
70
- "@atlaskit/modal-dialog": "^16.1.0",
70
+ "@atlaskit/modal-dialog": "^16.2.0",
71
71
  "@atlaskit/object": "^2.2.0",
72
72
  "@atlaskit/outbound-auth-flow-client": "^4.1.0",
73
73
  "@atlaskit/platform-feature-flags": "^2.1.0",
74
- "@atlaskit/popup": "^5.1.0",
74
+ "@atlaskit/popup": "^5.2.0",
75
75
  "@atlaskit/pragmatic-drag-and-drop": "^2.0.0",
76
76
  "@atlaskit/pragmatic-drag-and-drop-hitbox": "^2.0.0",
77
77
  "@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-autoscroll": "^3.0.0",
78
78
  "@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^4.1.0",
79
79
  "@atlaskit/primitives": "^22.2.0",
80
80
  "@atlaskit/react-compiler-gating": "^0.2.0",
81
- "@atlaskit/react-select": "^4.5.0",
82
- "@atlaskit/select": "^22.5.0",
83
- "@atlaskit/smart-card": "^45.13.0",
84
- "@atlaskit/smart-user-picker": "^11.2.0",
81
+ "@atlaskit/react-select": "^4.7.0",
82
+ "@atlaskit/select": "^22.6.0",
83
+ "@atlaskit/smart-card": "^45.15.0",
84
+ "@atlaskit/smart-user-picker": "^11.3.0",
85
85
  "@atlaskit/spinner": "^20.1.0",
86
86
  "@atlaskit/tag": "^15.4.0",
87
87
  "@atlaskit/textfield": "^9.1.0",
88
88
  "@atlaskit/theme": "^26.1.0",
89
89
  "@atlaskit/tokens": "^16.3.0",
90
- "@atlaskit/tooltip": "^23.1.0",
90
+ "@atlaskit/tooltip": "^23.2.0",
91
91
  "@atlaskit/ufo": "^1.0.0",
92
92
  "@atlaskit/visually-hidden": "^4.2.0",
93
93
  "@atlaskit/width-detector": "^6.2.0",
@@ -176,18 +176,12 @@
176
176
  "lp_enable_datasource-table-view_height_override": {
177
177
  "type": "boolean"
178
178
  },
179
- "navx-1895-new-logo-design": {
180
- "type": "boolean"
181
- },
182
179
  "platform_lp_sllv_jira_type_as_link": {
183
180
  "type": "boolean"
184
181
  },
185
182
  "platform_lp_jira_sllv_renderer_column_sorting": {
186
183
  "type": "boolean"
187
184
  },
188
- "platform_sllv_a11y_modal_options_focus": {
189
- "type": "boolean"
190
- },
191
185
  "linking_platform_link_datasource_unit_compliant": {
192
186
  "type": "boolean"
193
187
  },