@atlaskit/link-picker 1.44.1 → 1.45.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/link-picker
2
2
 
3
+ ## 1.45.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#134720](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/134720)
8
+ [`d68e52d41458c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d68e52d41458c) -
9
+ Add UFO performance monitoring support
10
+
3
11
  ## 1.44.1
4
12
 
5
13
  ### Patch Changes
@@ -78,6 +78,7 @@ var SearchResults = exports.SearchResults = function SearchResults(_ref) {
78
78
  css: spinnerContainerStyles
79
79
  }, (0, _react2.jsx)(_spinner.default, {
80
80
  testId: testIds.tabsLoadingIndicator,
81
+ interactionName: "link-picker-tabs-loading",
81
82
  size: "medium"
82
83
  })), !isLoadingPlugins && isActivePlugin && !!queryState && (0, _react2.jsx)(_react.Fragment, null, tabs.length > 0 && (0, _react2.jsx)(_primitives.Box, {
83
84
  xcss: tabsWrapperStyles
@@ -176,6 +176,7 @@ var LinkSearchList = exports.LinkSearchList = /*#__PURE__*/(0, _react.forwardRef
176
176
  css: _styled.spinnerContainerStyles
177
177
  }, (0, _react2.jsx)(_spinner.default, {
178
178
  testId: testIds.searchResultLoadingIndicator,
179
+ interactionName: "link-picker-search-list-loading",
179
180
  size: "medium"
180
181
  }));
181
182
  }
@@ -68,6 +68,7 @@ var LoaderFallback = exports.LoaderFallback = function LoaderFallback(props) {
68
68
  css: styles
69
69
  }, (0, _react.jsx)(_spinner.default, {
70
70
  testId: "link-picker.component-loading-indicator",
71
+ interactionName: props.name || 'link-picker-loading',
71
72
  size: "medium"
72
73
  }));
73
74
  };
@@ -32,7 +32,7 @@ var testIds = exports.testIds = {
32
32
  };
33
33
  var PACKAGE_DATA = exports.PACKAGE_DATA = {
34
34
  packageName: "@atlaskit/link-picker" || '',
35
- packageVersion: "1.44.1" || '',
35
+ packageVersion: "1.45.0" || '',
36
36
  componentName: _constants.COMPONENT_NAME,
37
37
  source: _constants.COMPONENT_NAME
38
38
  };
@@ -69,6 +69,7 @@ export const SearchResults = ({
69
69
  css: spinnerContainerStyles
70
70
  }, jsx(Spinner, {
71
71
  testId: testIds.tabsLoadingIndicator,
72
+ interactionName: "link-picker-tabs-loading",
72
73
  size: "medium"
73
74
  })), !isLoadingPlugins && isActivePlugin && !!queryState && jsx(Fragment, null, tabs.length > 0 && jsx(Box, {
74
75
  xcss: tabsWrapperStyles
@@ -164,6 +164,7 @@ export const LinkSearchList = /*#__PURE__*/forwardRef(({
164
164
  css: spinnerContainerStyles
165
165
  }, jsx(Spinner, {
166
166
  testId: testIds.searchResultLoadingIndicator,
167
+ interactionName: "link-picker-search-list-loading",
167
168
  size: "medium"
168
169
  }));
169
170
  }
@@ -61,6 +61,7 @@ export const LoaderFallback = props => {
61
61
  css: styles
62
62
  }, jsx(Spinner, {
63
63
  testId: "link-picker.component-loading-indicator",
64
+ interactionName: props.name || 'link-picker-loading',
64
65
  size: "medium"
65
66
  }));
66
67
  };
@@ -20,7 +20,7 @@ export const testIds = {
20
20
  };
21
21
  export const PACKAGE_DATA = {
22
22
  packageName: "@atlaskit/link-picker" || '',
23
- packageVersion: "1.44.1" || '',
23
+ packageVersion: "1.45.0" || '',
24
24
  componentName: COMPONENT_NAME,
25
25
  source: COMPONENT_NAME
26
26
  };
@@ -71,6 +71,7 @@ export var SearchResults = function SearchResults(_ref) {
71
71
  css: spinnerContainerStyles
72
72
  }, jsx(Spinner, {
73
73
  testId: testIds.tabsLoadingIndicator,
74
+ interactionName: "link-picker-tabs-loading",
74
75
  size: "medium"
75
76
  })), !isLoadingPlugins && isActivePlugin && !!queryState && jsx(Fragment, null, tabs.length > 0 && jsx(Box, {
76
77
  xcss: tabsWrapperStyles
@@ -172,6 +172,7 @@ export var LinkSearchList = /*#__PURE__*/forwardRef(function (_ref, ref) {
172
172
  css: spinnerContainerStyles
173
173
  }, jsx(Spinner, {
174
174
  testId: testIds.searchResultLoadingIndicator,
175
+ interactionName: "link-picker-search-list-loading",
175
176
  size: "medium"
176
177
  }));
177
178
  }
@@ -60,6 +60,7 @@ export var LoaderFallback = function LoaderFallback(props) {
60
60
  css: styles
61
61
  }, jsx(Spinner, {
62
62
  testId: "link-picker.component-loading-indicator",
63
+ interactionName: props.name || 'link-picker-loading',
63
64
  size: "medium"
64
65
  }));
65
66
  };
@@ -21,7 +21,7 @@ export var testIds = {
21
21
  };
22
22
  export var PACKAGE_DATA = {
23
23
  packageName: "@atlaskit/link-picker" || '',
24
- packageVersion: "1.44.1" || '',
24
+ packageVersion: "1.45.0" || '',
25
25
  componentName: COMPONENT_NAME,
26
26
  source: COMPONENT_NAME
27
27
  };
@@ -8,6 +8,7 @@ export type LoaderFallbackProps = {
8
8
  hideDisplayText?: boolean;
9
9
  isLoadingPlugins?: boolean;
10
10
  plugins?: unknown[];
11
+ name?: string;
11
12
  };
12
13
  /**
13
14
  * Loader / skeleton for the Link Picker. Takes LoaderFallbackProps (hideDisplayText, isLoadingPlugins, plugins)
@@ -8,6 +8,7 @@ export type LoaderFallbackProps = {
8
8
  hideDisplayText?: boolean;
9
9
  isLoadingPlugins?: boolean;
10
10
  plugins?: unknown[];
11
+ name?: string;
11
12
  };
12
13
  /**
13
14
  * Loader / skeleton for the Link Picker. Takes LoaderFallbackProps (hideDisplayText, isLoadingPlugins, plugins)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-picker",
3
- "version": "1.44.1",
3
+ "version": "1.45.0",
4
4
  "description": "Standalone link picker",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "publishConfig": {
@@ -90,7 +90,7 @@
90
90
  "@af/analytics-codegen": "^0.1.0",
91
91
  "@af/integration-testing": "*",
92
92
  "@af/visual-regression": "*",
93
- "@atlaskit/dropdown-menu": "^12.17.0",
93
+ "@atlaskit/dropdown-menu": "^12.18.0",
94
94
  "@atlaskit/link-provider": "^1.14.0",
95
95
  "@atlaskit/link-test-helpers": "^7.5.0",
96
96
  "@atlaskit/visual-regression": "*",