@atlaskit/link-picker 1.49.1 → 1.49.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 (58) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/cjs/common/generic-error-svg/index.js +1 -1
  3. package/dist/cjs/common/ui/empty-state/index.js +1 -1
  4. package/dist/cjs/common/ui/min-height-container/index.js +1 -1
  5. package/dist/cjs/ui/error-boundary/error-boundary-fallback/index.js +1 -1
  6. package/dist/cjs/ui/link-picker/form-footer/index.js +1 -1
  7. package/dist/cjs/ui/link-picker/index.js +5 -5
  8. package/dist/cjs/ui/link-picker/old/index.js +4 -4
  9. package/dist/cjs/ui/link-picker/search-results/index.js +1 -1
  10. package/dist/cjs/ui/link-picker/search-results/link-search-list/index.js +1 -1
  11. package/dist/cjs/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/index.js +1 -1
  12. package/dist/cjs/ui/link-picker/search-results/link-search-list/list-item/index.compiled.css +1 -1
  13. package/dist/cjs/ui/link-picker/search-results/link-search-list/list-item/index.js +2 -2
  14. package/dist/cjs/ui/link-picker/search-results/scrolling-tabs/index.js +1 -1
  15. package/dist/cjs/ui/link-picker/search-results/search-results-container/index.js +1 -1
  16. package/dist/cjs/ui/link-picker/text-input/index.js +1 -1
  17. package/dist/cjs/ui/loader-fallback/index.js +1 -1
  18. package/dist/cjs/ui/main.js +2 -2
  19. package/dist/cjs/ui/old/main.js +1 -1
  20. package/dist/es2019/common/generic-error-svg/index.js +1 -1
  21. package/dist/es2019/common/ui/empty-state/index.js +1 -1
  22. package/dist/es2019/common/ui/min-height-container/index.js +1 -1
  23. package/dist/es2019/ui/error-boundary/error-boundary-fallback/index.js +1 -1
  24. package/dist/es2019/ui/link-picker/form-footer/index.js +1 -1
  25. package/dist/es2019/ui/link-picker/index.js +4 -4
  26. package/dist/es2019/ui/link-picker/old/index.js +3 -3
  27. package/dist/es2019/ui/link-picker/search-results/index.js +1 -1
  28. package/dist/es2019/ui/link-picker/search-results/link-search-list/index.js +1 -1
  29. package/dist/es2019/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/index.js +1 -1
  30. package/dist/es2019/ui/link-picker/search-results/link-search-list/list-item/index.compiled.css +1 -1
  31. package/dist/es2019/ui/link-picker/search-results/link-search-list/list-item/index.js +2 -2
  32. package/dist/es2019/ui/link-picker/search-results/scrolling-tabs/index.js +1 -1
  33. package/dist/es2019/ui/link-picker/search-results/search-results-container/index.js +1 -1
  34. package/dist/es2019/ui/link-picker/text-input/index.js +1 -1
  35. package/dist/es2019/ui/loader-fallback/index.js +1 -1
  36. package/dist/es2019/ui/main.js +2 -2
  37. package/dist/es2019/ui/old/main.js +1 -1
  38. package/dist/esm/common/generic-error-svg/index.js +1 -1
  39. package/dist/esm/common/ui/empty-state/index.js +1 -1
  40. package/dist/esm/common/ui/min-height-container/index.js +1 -1
  41. package/dist/esm/ui/error-boundary/error-boundary-fallback/index.js +1 -1
  42. package/dist/esm/ui/link-picker/form-footer/index.js +1 -1
  43. package/dist/esm/ui/link-picker/index.js +5 -5
  44. package/dist/esm/ui/link-picker/old/index.js +4 -4
  45. package/dist/esm/ui/link-picker/search-results/index.js +1 -1
  46. package/dist/esm/ui/link-picker/search-results/link-search-list/index.js +1 -1
  47. package/dist/esm/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/index.js +1 -1
  48. package/dist/esm/ui/link-picker/search-results/link-search-list/list-item/index.compiled.css +1 -1
  49. package/dist/esm/ui/link-picker/search-results/link-search-list/list-item/index.js +2 -2
  50. package/dist/esm/ui/link-picker/search-results/scrolling-tabs/index.js +1 -1
  51. package/dist/esm/ui/link-picker/search-results/search-results-container/index.js +1 -1
  52. package/dist/esm/ui/link-picker/text-input/index.js +1 -1
  53. package/dist/esm/ui/loader-fallback/index.js +1 -1
  54. package/dist/esm/ui/main.js +2 -2
  55. package/dist/esm/ui/old/main.js +1 -1
  56. package/dist/types/common/types.d.ts +2 -6
  57. package/dist/types-ts4.5/common/types.d.ts +2 -6
  58. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # @atlaskit/link-picker
2
2
 
3
+ ## 1.49.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 1.49.3
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 1.49.2
16
+
17
+ ### Patch Changes
18
+
19
+ - [#114253](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/114253)
20
+ [`8d063440a1a02`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d063440a1a02) -
21
+ Remove the UNSAFE from the UNSAFE_moveSubmitButton prop on the link picker now that it is a
22
+ permanent prop
23
+
3
24
  ## 1.49.1
4
25
 
5
26
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  "use strict";
3
3
 
4
4
  var _typeof = require("@babel/runtime/helpers/typeof");
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -103,8 +103,8 @@ var LinkPickerNew = exports.LinkPickerNew = (0, _analytics.withLinkPickerAnalyti
103
103
  isSubmitting = _ref$isSubmitting === void 0 ? false : _ref$isSubmitting,
104
104
  _ref$adaptiveHeight = _ref.adaptiveHeight,
105
105
  adaptiveHeight = _ref$adaptiveHeight === void 0 ? false : _ref$adaptiveHeight,
106
- _ref$UNSAFE_moveSubmi = _ref.UNSAFE_moveSubmitButton,
107
- UNSAFE_moveSubmitButton = _ref$UNSAFE_moveSubmi === void 0 ? false : _ref$UNSAFE_moveSubmi;
106
+ _ref$moveSubmitButton = _ref.moveSubmitButton,
107
+ moveSubmitButton = _ref$moveSubmitButton === void 0 ? false : _ref$moveSubmitButton;
108
108
  var _useAnalyticsEvents = (0, _analyticsNext.useAnalyticsEvents)(),
109
109
  createAnalyticsEvent = _useAnalyticsEvents.createAnalyticsEvent;
110
110
  var _useReducer = (0, _react.useReducer)(reducer, _objectSpread(_objectSpread({}, initState), {}, {
@@ -372,7 +372,7 @@ var LinkPickerNew = exports.LinkPickerNew = (0, _analytics.withLinkPickerAnalyti
372
372
  readOnly: isSubmitting,
373
373
  onClear: handleClear,
374
374
  onChange: handleChangeText
375
- }), UNSAFE_moveSubmitButton && /*#__PURE__*/React.createElement(_compiled.Box, {
375
+ }), moveSubmitButton && /*#__PURE__*/React.createElement(_compiled.Box, {
376
376
  xcss: styles.fullWidthSubmitButton
377
377
  }, /*#__PURE__*/React.createElement(_linkPickerSubmitButton.LinkPickerSubmitButton, {
378
378
  isEditing: isEditing,
@@ -418,7 +418,7 @@ var LinkPickerNew = exports.LinkPickerNew = (0, _analytics.withLinkPickerAnalyti
418
418
  action: pluginAction,
419
419
  customSubmitButtonLabel: customSubmitButtonLabel,
420
420
  submitMessageId: submitMessageId,
421
- hideSubmitButton: UNSAFE_moveSubmitButton,
421
+ hideSubmitButton: moveSubmitButton,
422
422
  className: (0, _runtime.ax)([(!queryState || !(plugins !== null && plugins !== void 0 && plugins.length)) && "_19pkpxbi"])
423
423
  }));
424
424
  }));
@@ -111,8 +111,8 @@ var LinkPickerOld = exports.LinkPickerOld = (0, _analytics.withLinkPickerAnalyti
111
111
  isSubmitting = _ref$isSubmitting === void 0 ? false : _ref$isSubmitting,
112
112
  _ref$adaptiveHeight = _ref.adaptiveHeight,
113
113
  adaptiveHeight = _ref$adaptiveHeight === void 0 ? false : _ref$adaptiveHeight,
114
- _ref$UNSAFE_moveSubmi = _ref.UNSAFE_moveSubmitButton,
115
- UNSAFE_moveSubmitButton = _ref$UNSAFE_moveSubmi === void 0 ? false : _ref$UNSAFE_moveSubmi;
114
+ _ref$moveSubmitButton = _ref.moveSubmitButton,
115
+ moveSubmitButton = _ref$moveSubmitButton === void 0 ? false : _ref$moveSubmitButton;
116
116
  var _useAnalyticsEvents = (0, _analyticsNext.useAnalyticsEvents)(),
117
117
  createAnalyticsEvent = _useAnalyticsEvents.createAnalyticsEvent;
118
118
  var _useReducer = (0, _react.useReducer)(reducer, _objectSpread(_objectSpread({}, initState), {}, {
@@ -381,7 +381,7 @@ var LinkPickerOld = exports.LinkPickerOld = (0, _analytics.withLinkPickerAnalyti
381
381
  readOnly: isSubmitting,
382
382
  onClear: handleClear,
383
383
  onChange: handleChangeText
384
- }), UNSAFE_moveSubmitButton && (0, _react2.jsx)(_primitives.Box, {
384
+ }), moveSubmitButton && (0, _react2.jsx)(_primitives.Box, {
385
385
  xcss: FullWidthSubmitButtonStyles
386
386
  }, (0, _react2.jsx)(_linkPickerSubmitButton.LinkPickerSubmitButton, {
387
387
  isEditing: isEditing,
@@ -430,6 +430,6 @@ var LinkPickerOld = exports.LinkPickerOld = (0, _analytics.withLinkPickerAnalyti
430
430
  css: !queryState || !(plugins !== null && plugins !== void 0 && plugins.length) ? formFooterMargin : undefined,
431
431
  customSubmitButtonLabel: customSubmitButtonLabel,
432
432
  submitMessageId: submitMessageId,
433
- hideSubmitButton: UNSAFE_moveSubmitButton
433
+ hideSubmitButton: moveSubmitButton
434
434
  }));
435
435
  }));
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  "use strict";
3
3
 
4
4
  var _typeof = require("@babel/runtime/helpers/typeof");
@@ -23,7 +23,7 @@
23
23
  ._syazct01{color:var(--_khvm95)}
24
24
  ._syazpsu8{color:var(--_vrm7dk)}
25
25
  ._u5f3kq6n{padding-right:var(--_1kucder)}
26
- ._1a3b18uv:focus{text-decoration-color:initial}
26
+ ._1a3b1r31:focus{text-decoration-color:currentColor}
27
27
  ._1hvw1o36:focus{outline-width:medium}
28
28
  ._49pcglyw:focus{outline-style:none}
29
29
  ._4fprglyw:focus{text-decoration-line:none}
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -133,7 +133,7 @@ var LinkSearchListItemNew = exports.LinkSearchListItemNew = /*#__PURE__*/(0, _re
133
133
  onFocus: onFocus,
134
134
  tabIndex: tabIndex,
135
135
  ref: ref,
136
- className: (0, _runtime.ax)(["_19pkidpf _2hwxidpf _otyridpf _18u0idpf _1e0c1txw _ca0qu2gc _n3tdu2gc _19bvrvlv _u5f3kq6n _80omtlke", !selected && "_irr38iyy _1dbz1f4r", selected && "_bfhk1kxl _16qs1f4r", "_nt751r31 _49pcglyw _1hvw1o36 _1a3b18uv _4fprglyw _5goinqa1 _7ehif7x9"]),
136
+ className: (0, _runtime.ax)(["_19pkidpf _2hwxidpf _otyridpf _18u0idpf _1e0c1txw _ca0qu2gc _n3tdu2gc _19bvrvlv _u5f3kq6n _80omtlke", !selected && "_irr38iyy _1dbz1f4r", selected && "_bfhk1kxl _16qs1f4r", "_nt751r31 _49pcglyw _1hvw1o36 _1a3b1r31 _4fprglyw _5goinqa1 _7ehif7x9"]),
137
137
  style: {
138
138
  "--_u7ouzj": (0, _runtime.ix)("clamp( ".concat("var(--ds-space-100, 8px)", ", var(--link-picker-padding-left), 100% )")),
139
139
  "--_1kucder": (0, _runtime.ix)("clamp( ".concat("var(--ds-space-100, 8px)", ", var(--link-picker-padding-right), 100% )")),
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  "use strict";
3
3
 
4
4
  var _typeof = require("@babel/runtime/helpers/typeof");
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* main.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* main.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -28,7 +28,7 @@ var testIds = exports.testIds = {
28
28
  };
29
29
  var PACKAGE_DATA = exports.PACKAGE_DATA = {
30
30
  packageName: "@atlaskit/link-picker" || '',
31
- packageVersion: "1.49.1" || '',
31
+ packageVersion: "1.49.4" || '',
32
32
  componentName: _constants.COMPONENT_NAME,
33
33
  source: _constants.COMPONENT_NAME
34
34
  };
@@ -33,7 +33,7 @@ var testIds = exports.testIds = {
33
33
  };
34
34
  var PACKAGE_DATA = exports.PACKAGE_DATA = {
35
35
  packageName: "@atlaskit/link-picker" || '',
36
- packageVersion: "1.49.1" || '',
36
+ packageVersion: "1.49.4" || '',
37
37
  componentName: _constants.COMPONENT_NAME,
38
38
  source: _constants.COMPONENT_NAME
39
39
  };
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./index.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import "./index.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./index.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import "./index.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./index.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./index.compiled.css";
4
4
  import * as React from 'react';
@@ -94,7 +94,7 @@ export const LinkPickerNew = withLinkPickerAnalyticsContext( /*#__PURE__*/memo((
94
94
  customMessages,
95
95
  isSubmitting = false,
96
96
  adaptiveHeight = false,
97
- UNSAFE_moveSubmitButton = false
97
+ moveSubmitButton = false
98
98
  }) => {
99
99
  const {
100
100
  createAnalyticsEvent
@@ -366,7 +366,7 @@ export const LinkPickerNew = withLinkPickerAnalyticsContext( /*#__PURE__*/memo((
366
366
  readOnly: isSubmitting,
367
367
  onClear: handleClear,
368
368
  onChange: handleChangeText
369
- }), UNSAFE_moveSubmitButton && /*#__PURE__*/React.createElement(Box, {
369
+ }), moveSubmitButton && /*#__PURE__*/React.createElement(Box, {
370
370
  xcss: styles.fullWidthSubmitButton
371
371
  }, /*#__PURE__*/React.createElement(LinkPickerSubmitButton, {
372
372
  isEditing: isEditing,
@@ -412,7 +412,7 @@ export const LinkPickerNew = withLinkPickerAnalyticsContext( /*#__PURE__*/memo((
412
412
  action: pluginAction,
413
413
  customSubmitButtonLabel: customSubmitButtonLabel,
414
414
  submitMessageId: submitMessageId,
415
- hideSubmitButton: UNSAFE_moveSubmitButton,
415
+ hideSubmitButton: moveSubmitButton,
416
416
  className: ax([(!queryState || !(plugins !== null && plugins !== void 0 && plugins.length)) && "_19pkpxbi"])
417
417
  }));
418
418
  }));
@@ -109,7 +109,7 @@ export const LinkPickerOld = withLinkPickerAnalyticsContext( /*#__PURE__*/memo((
109
109
  customMessages,
110
110
  isSubmitting = false,
111
111
  adaptiveHeight = false,
112
- UNSAFE_moveSubmitButton = false
112
+ moveSubmitButton = false
113
113
  }) => {
114
114
  const {
115
115
  createAnalyticsEvent
@@ -382,7 +382,7 @@ export const LinkPickerOld = withLinkPickerAnalyticsContext( /*#__PURE__*/memo((
382
382
  readOnly: isSubmitting,
383
383
  onClear: handleClear,
384
384
  onChange: handleChangeText
385
- }), UNSAFE_moveSubmitButton && jsx(Box, {
385
+ }), moveSubmitButton && jsx(Box, {
386
386
  xcss: FullWidthSubmitButtonStyles
387
387
  }, jsx(LinkPickerSubmitButton, {
388
388
  isEditing: isEditing,
@@ -431,6 +431,6 @@ export const LinkPickerOld = withLinkPickerAnalyticsContext( /*#__PURE__*/memo((
431
431
  css: !queryState || !(plugins !== null && plugins !== void 0 && plugins.length) ? formFooterMargin : undefined,
432
432
  customSubmitButtonLabel: customSubmitButtonLabel,
433
433
  submitMessageId: submitMessageId,
434
- hideSubmitButton: UNSAFE_moveSubmitButton
434
+ hideSubmitButton: moveSubmitButton
435
435
  }));
436
436
  }));
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import "./index.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./index.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import "./index.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -23,7 +23,7 @@
23
23
  ._syaz14xw{color:var(--ds-text,#5e6c84)}
24
24
  ._syaz1wmz{color:var(--ds-text-subtlest,#6b778c)}
25
25
  ._u5f3fxbg{padding-right:clamp(var(--ds-space-100,8px),var(--link-picker-padding-right),100%)}
26
- ._1a3b18uv:focus{text-decoration-color:initial}
26
+ ._1a3b1r31:focus{text-decoration-color:currentColor}
27
27
  ._1hvw1o36:focus{outline-width:medium}
28
28
  ._49pcglyw:focus{outline-style:none}
29
29
  ._4fprglyw:focus{text-decoration-line:none}
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./index.compiled.css";
4
4
  import * as React from 'react';
@@ -110,7 +110,7 @@ export const LinkSearchListItemNew = /*#__PURE__*/forwardRef(({
110
110
  onFocus: onFocus,
111
111
  tabIndex: tabIndex,
112
112
  ref: ref,
113
- className: ax(["_19pkidpf _2hwxidpf _otyridpf _18u0idpf _1e0c1txw _ca0qu2gc _n3tdu2gc _19bvsy6a _u5f3fxbg _80omtlke", !selected && "_irr31dko _1dbz1l95", selected && "_bfhk29zg _16qs1l95", "_nt751r31 _49pcglyw _1hvw1o36 _1a3b18uv _4fprglyw _5goinqa1 _7ehi1tx3"])
113
+ className: ax(["_19pkidpf _2hwxidpf _otyridpf _18u0idpf _1e0c1txw _ca0qu2gc _n3tdu2gc _19bvsy6a _u5f3fxbg _80omtlke", !selected && "_irr31dko _1dbz1l95", selected && "_bfhk29zg _16qs1l95", "_nt751r31 _49pcglyw _1hvw1o36 _1a3b1r31 _4fprglyw _5goinqa1 _7ehi1tx3"])
114
114
  }, /*#__PURE__*/React.createElement(ListItemIcon, {
115
115
  item: item,
116
116
  intl: intl
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./index.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import "./index.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./index.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import "./index.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* main.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* main.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./main.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -17,7 +17,7 @@ export const testIds = {
17
17
  };
18
18
  export const PACKAGE_DATA = {
19
19
  packageName: "@atlaskit/link-picker" || '',
20
- packageVersion: "1.49.1" || '',
20
+ packageVersion: "1.49.4" || '',
21
21
  componentName: COMPONENT_NAME,
22
22
  source: COMPONENT_NAME
23
23
  };
@@ -21,7 +21,7 @@ export const testIds = {
21
21
  };
22
22
  export const PACKAGE_DATA = {
23
23
  packageName: "@atlaskit/link-picker" || '',
24
- packageVersion: "1.49.1" || '',
24
+ packageVersion: "1.49.4" || '',
25
25
  componentName: COMPONENT_NAME,
26
26
  source: COMPONENT_NAME
27
27
  };
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./index.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import "./index.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
4
4
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import "./index.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
4
  var _excluded = ["isLoading", "isSubmitting", "error", "url", "queryState", "items", "isEditing", "onCancel", "action", "customSubmitButtonLabel", "submitMessageId", "hideSubmitButton", "className"];
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
4
4
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
@@ -93,8 +93,8 @@ export var LinkPickerNew = withLinkPickerAnalyticsContext( /*#__PURE__*/memo(fun
93
93
  isSubmitting = _ref$isSubmitting === void 0 ? false : _ref$isSubmitting,
94
94
  _ref$adaptiveHeight = _ref.adaptiveHeight,
95
95
  adaptiveHeight = _ref$adaptiveHeight === void 0 ? false : _ref$adaptiveHeight,
96
- _ref$UNSAFE_moveSubmi = _ref.UNSAFE_moveSubmitButton,
97
- UNSAFE_moveSubmitButton = _ref$UNSAFE_moveSubmi === void 0 ? false : _ref$UNSAFE_moveSubmi;
96
+ _ref$moveSubmitButton = _ref.moveSubmitButton,
97
+ moveSubmitButton = _ref$moveSubmitButton === void 0 ? false : _ref$moveSubmitButton;
98
98
  var _useAnalyticsEvents = useAnalyticsEvents(),
99
99
  createAnalyticsEvent = _useAnalyticsEvents.createAnalyticsEvent;
100
100
  var _useReducer = useReducer(reducer, _objectSpread(_objectSpread({}, initState), {}, {
@@ -362,7 +362,7 @@ export var LinkPickerNew = withLinkPickerAnalyticsContext( /*#__PURE__*/memo(fun
362
362
  readOnly: isSubmitting,
363
363
  onClear: handleClear,
364
364
  onChange: handleChangeText
365
- }), UNSAFE_moveSubmitButton && /*#__PURE__*/React.createElement(Box, {
365
+ }), moveSubmitButton && /*#__PURE__*/React.createElement(Box, {
366
366
  xcss: styles.fullWidthSubmitButton
367
367
  }, /*#__PURE__*/React.createElement(LinkPickerSubmitButton, {
368
368
  isEditing: isEditing,
@@ -408,7 +408,7 @@ export var LinkPickerNew = withLinkPickerAnalyticsContext( /*#__PURE__*/memo(fun
408
408
  action: pluginAction,
409
409
  customSubmitButtonLabel: customSubmitButtonLabel,
410
410
  submitMessageId: submitMessageId,
411
- hideSubmitButton: UNSAFE_moveSubmitButton,
411
+ hideSubmitButton: moveSubmitButton,
412
412
  className: ax([(!queryState || !(plugins !== null && plugins !== void 0 && plugins.length)) && "_19pkpxbi"])
413
413
  }));
414
414
  }));
@@ -108,8 +108,8 @@ export var LinkPickerOld = withLinkPickerAnalyticsContext( /*#__PURE__*/memo(fun
108
108
  isSubmitting = _ref$isSubmitting === void 0 ? false : _ref$isSubmitting,
109
109
  _ref$adaptiveHeight = _ref.adaptiveHeight,
110
110
  adaptiveHeight = _ref$adaptiveHeight === void 0 ? false : _ref$adaptiveHeight,
111
- _ref$UNSAFE_moveSubmi = _ref.UNSAFE_moveSubmitButton,
112
- UNSAFE_moveSubmitButton = _ref$UNSAFE_moveSubmi === void 0 ? false : _ref$UNSAFE_moveSubmi;
111
+ _ref$moveSubmitButton = _ref.moveSubmitButton,
112
+ moveSubmitButton = _ref$moveSubmitButton === void 0 ? false : _ref$moveSubmitButton;
113
113
  var _useAnalyticsEvents = useAnalyticsEvents(),
114
114
  createAnalyticsEvent = _useAnalyticsEvents.createAnalyticsEvent;
115
115
  var _useReducer = useReducer(reducer, _objectSpread(_objectSpread({}, initState), {}, {
@@ -378,7 +378,7 @@ export var LinkPickerOld = withLinkPickerAnalyticsContext( /*#__PURE__*/memo(fun
378
378
  readOnly: isSubmitting,
379
379
  onClear: handleClear,
380
380
  onChange: handleChangeText
381
- }), UNSAFE_moveSubmitButton && jsx(Box, {
381
+ }), moveSubmitButton && jsx(Box, {
382
382
  xcss: FullWidthSubmitButtonStyles
383
383
  }, jsx(LinkPickerSubmitButton, {
384
384
  isEditing: isEditing,
@@ -427,6 +427,6 @@ export var LinkPickerOld = withLinkPickerAnalyticsContext( /*#__PURE__*/memo(fun
427
427
  css: !queryState || !(plugins !== null && plugins !== void 0 && plugins.length) ? formFooterMargin : undefined,
428
428
  customSubmitButtonLabel: customSubmitButtonLabel,
429
429
  submitMessageId: submitMessageId,
430
- hideSubmitButton: UNSAFE_moveSubmitButton
430
+ hideSubmitButton: moveSubmitButton
431
431
  }));
432
432
  }));
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import "./index.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
4
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import "./index.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -23,7 +23,7 @@
23
23
  ._syazct01{color:var(--_khvm95)}
24
24
  ._syazpsu8{color:var(--_vrm7dk)}
25
25
  ._u5f3kq6n{padding-right:var(--_1kucder)}
26
- ._1a3b18uv:focus{text-decoration-color:initial}
26
+ ._1a3b1r31:focus{text-decoration-color:currentColor}
27
27
  ._1hvw1o36:focus{outline-width:medium}
28
28
  ._49pcglyw:focus{outline-style:none}
29
29
  ._4fprglyw:focus{text-decoration-line:none}
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
4
4
  import "./index.compiled.css";
@@ -123,7 +123,7 @@ export var LinkSearchListItemNew = /*#__PURE__*/forwardRef(function (_ref2, ref)
123
123
  onFocus: onFocus,
124
124
  tabIndex: tabIndex,
125
125
  ref: ref,
126
- className: ax(["_19pkidpf _2hwxidpf _otyridpf _18u0idpf _1e0c1txw _ca0qu2gc _n3tdu2gc _19bvrvlv _u5f3kq6n _80omtlke", !selected && "_irr38iyy _1dbz1f4r", selected && "_bfhk1kxl _16qs1f4r", "_nt751r31 _49pcglyw _1hvw1o36 _1a3b18uv _4fprglyw _5goinqa1 _7ehif7x9"]),
126
+ className: ax(["_19pkidpf _2hwxidpf _otyridpf _18u0idpf _1e0c1txw _ca0qu2gc _n3tdu2gc _19bvrvlv _u5f3kq6n _80omtlke", !selected && "_irr38iyy _1dbz1f4r", selected && "_bfhk1kxl _16qs1f4r", "_nt751r31 _49pcglyw _1hvw1o36 _1a3b1r31 _4fprglyw _5goinqa1 _7ehif7x9"]),
127
127
  style: {
128
128
  "--_u7ouzj": ix("clamp( ".concat("var(--ds-space-100, 8px)", ", var(--link-picker-padding-left), 100% )")),
129
129
  "--_1kucder": ix("clamp( ".concat("var(--ds-space-100, 8px)", ", var(--link-picker-padding-right), 100% )")),
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
4
4
  import "./index.compiled.css";
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import "./index.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
4
  var _excluded = ["name", "label", "autoFocus", "onRedo", "onUndo", "onKeyDown", "onClear", "clearLabel", "error", "spotlightTargetName"];
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import "./index.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* main.tsx generated by @compiled/babel-plugin v0.36.0 */
1
+ /* main.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import _extends from "@babel/runtime/helpers/extends";
4
4
  import "./main.compiled.css";
@@ -18,7 +18,7 @@ export var testIds = {
18
18
  };
19
19
  export var PACKAGE_DATA = {
20
20
  packageName: "@atlaskit/link-picker" || '',
21
- packageVersion: "1.49.1" || '',
21
+ packageVersion: "1.49.4" || '',
22
22
  componentName: COMPONENT_NAME,
23
23
  source: COMPONENT_NAME
24
24
  };
@@ -22,7 +22,7 @@ export var testIds = {
22
22
  };
23
23
  export var PACKAGE_DATA = {
24
24
  packageName: "@atlaskit/link-picker" || '',
25
- packageVersion: "1.49.1" || '',
25
+ packageVersion: "1.49.4" || '',
26
26
  componentName: COMPONENT_NAME,
27
27
  source: COMPONENT_NAME
28
28
  };
@@ -149,12 +149,8 @@ export interface LinkPickerProps {
149
149
  featureFlags?: Record<string, unknown>;
150
150
  /** Controls showing a "submission in-progres" UX */
151
151
  isSubmitting?: boolean;
152
- /**
153
- * Do not utilize this! This is a temporary prop that is being used for a specific experiment.
154
- * This prop controls where the submit button appears. When true the submit button will move below the input field and be full width
155
- * @internal
156
- * */
157
- UNSAFE_moveSubmitButton?: boolean;
152
+ /** This prop controls where the submit button appears. When true the submit button will move below the input field and be full width */
153
+ moveSubmitButton?: boolean;
158
154
  }
159
155
  type CustomLinkPickerMessages = {
160
156
  /** Label for the link input field */
@@ -152,12 +152,8 @@ export interface LinkPickerProps {
152
152
  featureFlags?: Record<string, unknown>;
153
153
  /** Controls showing a "submission in-progres" UX */
154
154
  isSubmitting?: boolean;
155
- /**
156
- * Do not utilize this! This is a temporary prop that is being used for a specific experiment.
157
- * This prop controls where the submit button appears. When true the submit button will move below the input field and be full width
158
- * @internal
159
- * */
160
- UNSAFE_moveSubmitButton?: boolean;
155
+ /** This prop controls where the submit button appears. When true the submit button will move below the input field and be full width */
156
+ moveSubmitButton?: boolean;
161
157
  }
162
158
  type CustomLinkPickerMessages = {
163
159
  /** Label for the link input field */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-picker",
3
- "version": "1.49.1",
3
+ "version": "1.49.4",
4
4
  "description": "Standalone link picker",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "publishConfig": {
@@ -57,14 +57,14 @@
57
57
  "@atlaskit/heading": "^4.1.0",
58
58
  "@atlaskit/icon": "^23.9.0",
59
59
  "@atlaskit/intl-messages-provider": "^1.1.0",
60
- "@atlaskit/linking-common": "^6.3.0",
60
+ "@atlaskit/linking-common": "^7.0.0",
61
61
  "@atlaskit/onboarding": "^12.3.0",
62
- "@atlaskit/platform-feature-flags": "^1.0.0",
62
+ "@atlaskit/platform-feature-flags": "^1.1.0",
63
63
  "@atlaskit/primitives": "^13.5.0",
64
64
  "@atlaskit/spinner": "^17.1.0",
65
65
  "@atlaskit/tabs": "^17.2.0",
66
66
  "@atlaskit/textfield": "^6.8.0",
67
- "@atlaskit/theme": "^15.0.0",
67
+ "@atlaskit/theme": "^16.0.0",
68
68
  "@atlaskit/tokens": "^3.3.0",
69
69
  "@atlaskit/tooltip": "^19.1.0",
70
70
  "@atlaskit/ufo": "^0.3.0",