@atlaskit/link-picker 6.12.0 → 6.12.2

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 (34) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/compass.yml +5 -8
  3. package/dist/cjs/common/ui/empty-state/index.js +4 -3
  4. package/dist/cjs/services/use-plugins/index.js +1 -1
  5. package/dist/cjs/ui/link-picker/form-footer/link-picker-submit-button/index.js +1 -2
  6. package/dist/cjs/ui/link-picker/form-footer/link-picker-submit-button/utils.js +15 -26
  7. package/dist/cjs/ui/link-picker/index.js +3 -5
  8. package/dist/cjs/ui/link-picker/search-results/index.js +2 -2
  9. package/dist/cjs/ui/link-picker/search-results/link-search-list/index.js +2 -2
  10. package/dist/cjs/ui/link-picker/search-results/link-search-list/list-item/index.js +2 -2
  11. package/dist/cjs/ui/link-picker/text-input/index.js +5 -9
  12. package/dist/cjs/ui/main.js +1 -1
  13. package/dist/es2019/common/ui/empty-state/index.js +2 -1
  14. package/dist/es2019/services/use-plugins/index.js +1 -1
  15. package/dist/es2019/ui/link-picker/form-footer/link-picker-submit-button/index.js +1 -2
  16. package/dist/es2019/ui/link-picker/form-footer/link-picker-submit-button/utils.js +15 -26
  17. package/dist/es2019/ui/link-picker/index.js +2 -4
  18. package/dist/es2019/ui/link-picker/search-results/index.js +1 -1
  19. package/dist/es2019/ui/link-picker/search-results/link-search-list/index.js +1 -1
  20. package/dist/es2019/ui/link-picker/search-results/link-search-list/list-item/index.js +1 -1
  21. package/dist/es2019/ui/link-picker/text-input/index.js +3 -7
  22. package/dist/es2019/ui/main.js +1 -1
  23. package/dist/esm/common/ui/empty-state/index.js +2 -1
  24. package/dist/esm/services/use-plugins/index.js +1 -1
  25. package/dist/esm/ui/link-picker/form-footer/link-picker-submit-button/index.js +1 -2
  26. package/dist/esm/ui/link-picker/form-footer/link-picker-submit-button/utils.js +15 -26
  27. package/dist/esm/ui/link-picker/index.js +2 -4
  28. package/dist/esm/ui/link-picker/search-results/index.js +1 -1
  29. package/dist/esm/ui/link-picker/search-results/link-search-list/index.js +1 -1
  30. package/dist/esm/ui/link-picker/search-results/link-search-list/list-item/index.js +1 -1
  31. package/dist/esm/ui/link-picker/text-input/index.js +3 -7
  32. package/dist/esm/ui/main.js +1 -1
  33. package/dist/types/ui/messages-provider/lazy-messages-provider/utils/fetch-messages-for-locale.d.ts +1 -1
  34. package/package.json +7 -13
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @atlaskit/link-picker
2
2
 
3
+ ## 6.12.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`d56aad2b7c876`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d56aad2b7c876) -
8
+ Cleanup `feature_gate` `add-disable-manual-url-capability-technical`. The `disableManualUrlInsert`
9
+ prop is now always honoured: when it is `true`, the Insert button stays disabled unless a result
10
+ has been selected from the list, and the loading/error guards are always evaluated before that
11
+ check.
12
+
13
+ ## 6.12.1
14
+
15
+ ### Patch Changes
16
+
17
+ - [`cb9f9a0085ea8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cb9f9a0085ea8) -
18
+ Cleanup `feature_gate` `platform_navx_3298_message_wrapper`. Form helper and error messages are
19
+ now always rendered inside a `MessageWrapper` live region, and the Rovo link picker's display-text
20
+ helper is permanently associated with its input via `aria-describedby`.
21
+ - Updated dependencies
22
+
3
23
  ## 6.12.0
4
24
 
5
25
  ### Minor Changes
package/compass.yml CHANGED
@@ -7,7 +7,7 @@ description:
7
7
  and enhancing productivity.
8
8
  configVersion: 1
9
9
  typeId: CAPABILITY
10
- ownerId: ari:cloud:identity::team/0e6dedf8-18d1-4531-b4b9-07648a425d47 # Eng - Navigation Experiences (Darko Zoroja)
10
+ ownerId: ari:cloud:identity::team/62c5672c-3754-4ebe-8a0f-4d1c87ded5b5 # Rovo Growth - Smartlinks (Rahul Lal)
11
11
  fields:
12
12
  tier: 4
13
13
  lifecycle: Active
@@ -21,16 +21,13 @@ links:
21
21
  url: https://atlassian.signalfx.com/#/dashboard/FdExWKXA4AY?groupId=Fcva05QA4AA&configId=FpAl8Y3AwAA&startTime=-31d&endTime=Now
22
22
  - name: ''
23
23
  type: PROJECT
24
- url: https://hello.jira.atlassian.cloud/jira/software/projects/NAVX/boards/14605
25
- - name: ''
26
- type: CHAT_CHANNEL
27
- url: https://atlassian.enterprise.slack.com/archives/C09FTFN0APN # #help-fe-linking-platform
24
+ url: https://hello.jira.atlassian.cloud/jira/software/projects/ASIMO/boards/10382
28
25
  - name: ''
29
26
  type: ON_CALL
30
- url: https://hello.jira.atlassian.cloud/jira/ops/teams/0e6dedf8-18d1-4531-b4b9-07648a425d47/on-call
27
+ url: https://opsj.atlassian.net/jira/ops/teams/62c5672c-3754-4ebe-8a0f-4d1c87ded5b5/on-call
31
28
  - name: Slack Channel
32
29
  type: CHAT_CHANNEL
33
- url: https://atlassian.enterprise.slack.com/archives/CFKGAQZRV # #help-fe-linking-platform
30
+ url: https://atlassian.enterprise.slack.com/archives/C09LKUEEPGT # #rovo-growth
34
31
  - name: Link Picker
35
32
  type: REPOSITORY
36
33
  url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master/platform/packages/linking-platform/link-picker
@@ -53,7 +50,7 @@ customFields:
53
50
  - 6abcbe4f-1063-4cf7-8b32-58ebd01078da
54
51
  - name: Engineering Manager
55
52
  type: user
56
- value: ari:cloud:identity::user/712020:3eb290b3-ff87-40f2-a7ef-4ee9d0ae10bd
53
+ value: ari:cloud:identity::user/712020:297a7015-e760-4d56-aca3-30a62302ef0e # Rahul Lal
57
54
  - name: Is renovate enabled?
58
55
  type: boolean
59
56
  value: false
@@ -12,7 +12,8 @@ var React = _interopRequireWildcard(require("react"));
12
12
  var _runtime = require("@compiled/react/runtime");
13
13
  var _css = require("@atlaskit/css");
14
14
  var _heading = _interopRequireDefault(require("@atlaskit/heading/heading"));
15
- var _compiled = require("@atlaskit/primitives/compiled");
15
+ var _flex = require("@atlaskit/primitives/compiled/flex");
16
+ var _text = require("@atlaskit/primitives/compiled/text");
16
17
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
17
18
  var styles = {
18
19
  containerV2: "_ca0q1ejb _u5f3oahv _19bvoahv _n3td1jfw _y3gn1h6o",
@@ -24,7 +25,7 @@ var EmptyState = exports.EmptyState = function EmptyState(_ref) {
24
25
  description = _ref.description,
25
26
  action = _ref.action,
26
27
  renderImage = _ref.renderImage;
27
- return /*#__PURE__*/React.createElement(_compiled.Flex, {
28
+ return /*#__PURE__*/React.createElement(_flex.Flex, {
28
29
  xcss: (0, _css.cx)(styles.containerV2, styles.whiteSpaceNormal),
29
30
  testId: testId,
30
31
  direction: "column",
@@ -33,7 +34,7 @@ var EmptyState = exports.EmptyState = function EmptyState(_ref) {
33
34
  }, renderImage === null || renderImage === void 0 ? void 0 : renderImage(), /*#__PURE__*/React.createElement(_heading.default, {
34
35
  size: "small",
35
36
  as: "h2"
36
- }, header), description && /*#__PURE__*/React.createElement(_compiled.Text, {
37
+ }, header), description && /*#__PURE__*/React.createElement(_text.Text, {
37
38
  as: "p",
38
39
  color: "color.text"
39
40
  }, description), action && action);
@@ -10,7 +10,7 @@ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/
10
10
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
11
11
  var _react = require("react");
12
12
  var _useAnalyticsEvents2 = require("@atlaskit/analytics-next/useAnalyticsEvents");
13
- var _convertToError = require("@atlaskit/frontend-utilities/convert-to-error");
13
+ var _convertToError = require("@atlaskit/frontend-utilities/convertToError");
14
14
  var _analytics = require("../../common/analytics");
15
15
  var _constants = require("../../common/constants");
16
16
  var _analytics2 = _interopRequireDefault(require("../../common/utils/analytics/analytics.codegen"));
@@ -8,7 +8,6 @@ exports.messages = exports.LinkPickerSubmitButton = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
  var _reactIntl = require("react-intl");
10
10
  var _button = _interopRequireDefault(require("@atlaskit/button/default/button"));
11
- var _fg = require("@atlaskit/platform-feature-flags/fg");
12
11
  var _utils = require("./utils");
13
12
  var messages = exports.messages = (0, _reactIntl.defineMessages)({
14
13
  saveButton: {
@@ -36,7 +35,7 @@ var LinkPickerSubmitButton = exports.LinkPickerSubmitButton = function LinkPicke
36
35
  disableManualUrlInsert = _ref.disableManualUrlInsert;
37
36
  var intl = (0, _reactIntl.useIntl)();
38
37
  var insertButtonMsg = isEditing ? messages.saveButton : messages.insertButton;
39
- var isSubmitDisabled = (0, _utils.checkSubmitDisabled)(isLoading, isSubmitting, error, url, queryState, items, (0, _fg.fg)('add-disable-manual-url-capability-technical') ? disableManualUrlInsert : undefined);
38
+ var isSubmitDisabled = (0, _utils.checkSubmitDisabled)(isLoading, isSubmitting, error, url, queryState, items, disableManualUrlInsert);
40
39
  return /*#__PURE__*/_react.default.createElement(_button.default, {
41
40
  type: "submit",
42
41
  appearance: "primary",
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.checkSubmitDisabled = void 0;
7
7
  var _url = require("@atlaskit/linking-common/url");
8
- var _fg = require("@atlaskit/platform-feature-flags/fg");
9
8
  var checkSubmitDisabled = exports.checkSubmitDisabled = function checkSubmitDisabled(isLoading, isSubmitting, error, url, queryState, items, disableManualUrlInsert) {
10
9
  /*
11
10
  * Enable insert when search term is a valid url and it can be normalized
@@ -17,24 +16,22 @@ var checkSubmitDisabled = exports.checkSubmitDisabled = function checkSubmitDisa
17
16
  if (isSubmitting) {
18
17
  return true;
19
18
  }
20
- if ((0, _fg.fg)('add-disable-manual-url-capability-technical')) {
21
- /*
22
- * Check isLoading/error before disableManualUrlInsert so that stale items
23
- * from a previous search do not accidentally enable the button during an
24
- * in-flight request or an error state.
25
- */
26
- if (isLoading || error) {
27
- return true;
28
- }
19
+ /*
20
+ * Check isLoading/error before disableManualUrlInsert so that stale items
21
+ * from a previous search do not accidentally enable the button during an
22
+ * in-flight request or an error state.
23
+ */
24
+ if (isLoading || error) {
25
+ return true;
26
+ }
29
27
 
30
- /*
31
- * When disableManualUrlInsert is true, disable insert unless a result has been
32
- * selected from the list (i.e. items are present and queryState is set).
33
- * This prevents the user from manually typing a URL to bypass the restriction.
34
- */
35
- if (disableManualUrlInsert) {
36
- return !(queryState && items && items.length > 0);
37
- }
28
+ /*
29
+ * When disableManualUrlInsert is true, disable insert unless a result has been
30
+ * selected from the list (i.e. items are present and queryState is set).
31
+ * This prevents the user from manually typing a URL to bypass the restriction.
32
+ */
33
+ if (disableManualUrlInsert) {
34
+ return !(queryState && items && items.length > 0);
38
35
  }
39
36
 
40
37
  /*
@@ -55,13 +52,5 @@ var checkSubmitDisabled = exports.checkSubmitDisabled = function checkSubmitDisa
55
52
  if (queryState && (items === null || items === void 0 ? void 0 : items.length) === 0) {
56
53
  return true;
57
54
  }
58
-
59
- /*
60
- * Disable insert button when plugin is loading or for any search error.
61
- * When the gate is on, this is already handled earlier in the function.
62
- */
63
- if (!(0, _fg.fg)('add-disable-manual-url-capability-technical') && (isLoading || error)) {
64
- return true;
65
- }
66
55
  return false;
67
56
  };
@@ -22,9 +22,8 @@ var _useAnalyticsEvents2 = require("@atlaskit/analytics-next/useAnalyticsEvents"
22
22
  var _client = _interopRequireDefault(require("@atlaskit/link-provider/client"));
23
23
  var _url2 = require("@atlaskit/linking-common/url");
24
24
  var _userAgent = require("@atlaskit/linking-common/user-agent");
25
- var _fg = require("@atlaskit/platform-feature-flags/fg");
26
25
  var _compiled = require("@atlaskit/primitives/compiled");
27
- var _linkUrl = _interopRequireDefault(require("@atlaskit/smart-card/link-url"));
26
+ var _link = _interopRequireDefault(require("@atlaskit/smart-card/link"));
28
27
  var _visuallyHidden = _interopRequireDefault(require("@atlaskit/visually-hidden/visually-hidden"));
29
28
  var _analytics = require("../../common/analytics");
30
29
  var _constants = require("../../common/constants");
@@ -120,8 +119,7 @@ var LinkPicker = exports.LinkPicker = (0, _analytics.withLinkPickerAnalyticsCont
120
119
  shouldRenderNoResultsImage = _ref.shouldRenderNoResultsImage,
121
120
  alwaysShowTabs = _ref.alwaysShowTabs,
122
121
  _ref$disableManualUrl = _ref.disableManualUrlInsert,
123
- disableManualUrlInsertProp = _ref$disableManualUrl === void 0 ? false : _ref$disableManualUrl;
124
- var disableManualUrlInsert = (0, _fg.fg)('add-disable-manual-url-capability-technical') && disableManualUrlInsertProp;
122
+ disableManualUrlInsert = _ref$disableManualUrl === void 0 ? false : _ref$disableManualUrl;
125
123
  var _useAnalyticsEvents = (0, _useAnalyticsEvents2.useAnalyticsEvents)(),
126
124
  createAnalyticsEvent = _useAnalyticsEvents.createAnalyticsEvent;
127
125
  var linkInputRef = _react.default.useRef(null);
@@ -423,7 +421,7 @@ var LinkPicker = exports.LinkPicker = (0, _analytics.withLinkPickerAnalyticsCont
423
421
  var errorMessage = invalidUrl ? previewableLinksOnly && !hasPreview ? /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, (0, _extends2.default)({}, _messages.formMessages.noEmbedAvailable, {
424
422
  values: {
425
423
  a: function a(chunk) {
426
- return /*#__PURE__*/_react.default.createElement(_linkUrl.default, {
424
+ return /*#__PURE__*/_react.default.createElement(_link.default, {
427
425
  target: "_blank",
428
426
  href: "https://support.atlassian.com/platform-experiences/docs/smart-links-from-jira-and-other-products/"
429
427
  }, chunk);
@@ -12,7 +12,7 @@ var _react = _interopRequireWildcard(require("react"));
12
12
  var React = _react;
13
13
  var _runtime = require("@compiled/react/runtime");
14
14
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
15
- var _compiled = require("@atlaskit/primitives/compiled");
15
+ var _box = require("@atlaskit/primitives/compiled/box");
16
16
  var _spinner = _interopRequireDefault(require("@atlaskit/spinner/spinner"));
17
17
  var _tab = _interopRequireDefault(require("@atlaskit/tabs/tab"));
18
18
  var _tabList = _interopRequireDefault(require("@atlaskit/tabs/tab-list"));
@@ -79,7 +79,7 @@ var SearchResults = exports.SearchResults = function SearchResults(_ref) {
79
79
  testId: testIds.tabsLoadingIndicator,
80
80
  interactionName: "link-picker-tabs-loading",
81
81
  size: "medium"
82
- })), !isLoadingPlugins && isActivePlugin && !!queryState && /*#__PURE__*/React.createElement(_react.Fragment, null, tabs.length > 0 && /*#__PURE__*/React.createElement(_compiled.Box, {
82
+ })), !isLoadingPlugins && isActivePlugin && !!queryState && /*#__PURE__*/React.createElement(_react.Fragment, null, tabs.length > 0 && /*#__PURE__*/React.createElement(_box.Box, {
83
83
  xcss: styles.tabsWrapper
84
84
  }, /*#__PURE__*/React.createElement(_tabs.default, {
85
85
  id: testIds.tabList,
@@ -16,7 +16,7 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
16
16
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
17
17
  var _reactIntl = require("react-intl");
18
18
  var _fg = require("@atlaskit/platform-feature-flags/fg");
19
- var _compiled = require("@atlaskit/primitives/compiled");
19
+ var _box = require("@atlaskit/primitives/compiled/box");
20
20
  var _spinner = _interopRequireDefault(require("@atlaskit/spinner/spinner"));
21
21
  var _visuallyHidden = _interopRequireDefault(require("@atlaskit/visually-hidden/visually-hidden"));
22
22
  var _minHeightContainer = require("../../../../common/ui/min-height-container");
@@ -144,7 +144,7 @@ var LinkSearchList = exports.LinkSearchList = /*#__PURE__*/(0, _react.forwardRef
144
144
  }
145
145
  var listItemNameMaxLines = activePlugin === null || activePlugin === void 0 || (_activePlugin$uiOptio = activePlugin.uiOptions) === null || _activePlugin$uiOptio === void 0 ? void 0 : _activePlugin$uiOptio.listItemNameMaxLines;
146
146
  if (items && items.length > 0) {
147
- itemsContent = /*#__PURE__*/React.createElement(_react.Fragment, null, /*#__PURE__*/React.createElement(_compiled.Box, {
147
+ itemsContent = /*#__PURE__*/React.createElement(_react.Fragment, null, /*#__PURE__*/React.createElement(_box.Box, {
148
148
  as: "h3" // Must remain <h3> for a11y title hierarchy as per https://hello.jira.atlassian.cloud/browse/NAVX-3332
149
149
  // `.wiki-content h3` css styles in confluence override ADS/native styles here, so inline styles are needed.
150
150
  // Should use css or xcss prop when that CSS is removed/fixed by confluence
@@ -13,7 +13,7 @@ var React = _react;
13
13
  var _runtime = require("@compiled/react/runtime");
14
14
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
15
15
  var _reactIntl = require("react-intl");
16
- var _compiled = require("@atlaskit/primitives/compiled");
16
+ var _text = require("@atlaskit/primitives/compiled/text");
17
17
  var _transformTimeStamp = require("../../../transformTimeStamp");
18
18
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
19
19
  var testIds = exports.testIds = {
@@ -126,7 +126,7 @@ var LinkSearchListItem = exports.LinkSearchListItem = /*#__PURE__*/(0, _react.fo
126
126
  intl: intl
127
127
  }), /*#__PURE__*/React.createElement("div", {
128
128
  className: (0, _runtime.ax)(["_1reo15vq _18m915vq _ae4v1h6o _1bsb1osq"])
129
- }, /*#__PURE__*/React.createElement(_compiled.Text, {
129
+ }, /*#__PURE__*/React.createElement(_text.Text, {
130
130
  maxLines: nameMaxLines
131
131
  }, /*#__PURE__*/React.createElement("span", {
132
132
  "data-testid": "".concat(testIds.searchResultItem, "-title"),
@@ -18,8 +18,8 @@ var _field = _interopRequireDefault(require("@atlaskit/form/field"));
18
18
  var _helperMessage = require("@atlaskit/form/helper-message");
19
19
  var _messageWrapper = require("@atlaskit/form/message-wrapper");
20
20
  var _crossCircle = _interopRequireDefault(require("@atlaskit/icon/core/cross-circle"));
21
- var _fg = require("@atlaskit/platform-feature-flags/fg");
22
- var _compiled = require("@atlaskit/primitives/compiled");
21
+ var _box = require("@atlaskit/primitives/compiled/box");
22
+ var _pressable = require("@atlaskit/primitives/compiled/pressable");
23
23
  var _textField = _interopRequireDefault(require("@atlaskit/textfield/text-field"));
24
24
  var _Tooltip = _interopRequireDefault(require("@atlaskit/tooltip/Tooltip"));
25
25
  var _conditionalSpotlightTargetWrapper = require("./conditional-spotlight-target-wrapper");
@@ -38,7 +38,7 @@ var styles = {
38
38
  var baseFieldStyles = null;
39
39
  var newFieldStyles = null;
40
40
  var RequiredAsterisk = function RequiredAsterisk() {
41
- return /*#__PURE__*/_react.default.createElement(_compiled.Box, {
41
+ return /*#__PURE__*/_react.default.createElement(_box.Box, {
42
42
  as: "span",
43
43
  "aria-hidden": "true",
44
44
  xcss: styles.requiredIndicatorStyles
@@ -102,7 +102,7 @@ var TextInput = exports.TextInput = function TextInput(_ref) {
102
102
  }, [name, onClear]);
103
103
  var clearText = restProps.value !== '' && /*#__PURE__*/_react.default.createElement(_Tooltip.default, {
104
104
  content: clearLabel
105
- }, /*#__PURE__*/_react.default.createElement(_compiled.Pressable, {
105
+ }, /*#__PURE__*/_react.default.createElement(_pressable.Pressable, {
106
106
  xcss: styles.clearTextButton,
107
107
  onClick: handleClear,
108
108
  testId: testIds.clearUrlButton
@@ -127,11 +127,7 @@ var TextInput = exports.TextInput = function TextInput(_ref) {
127
127
  elemAfterInput: clearText,
128
128
  isInvalid: !!error,
129
129
  "aria-describedby": "".concat(restProps['aria-describedby'], " ").concat(fieldProps.id, "-error ").concat(fieldProps.id, "-helper")
130
- })), (0, _fg.fg)('platform_navx_3298_message_wrapper') ? /*#__PURE__*/_react.default.createElement(_messageWrapper.MessageWrapper, null, helperMessage && /*#__PURE__*/_react.default.createElement(_helperMessage.HelperMessage, {
131
- testId: testIds.linkHelperText
132
- }, helperMessage), error && /*#__PURE__*/_react.default.createElement(_errorMessage.ErrorMessage, {
133
- testId: testIds.urlError
134
- }, error)) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, helperMessage && /*#__PURE__*/_react.default.createElement(_helperMessage.HelperMessage, {
130
+ })), /*#__PURE__*/_react.default.createElement(_messageWrapper.MessageWrapper, null, helperMessage && /*#__PURE__*/_react.default.createElement(_helperMessage.HelperMessage, {
135
131
  testId: testIds.linkHelperText
136
132
  }, helperMessage), error && /*#__PURE__*/_react.default.createElement(_errorMessage.ErrorMessage, {
137
133
  testId: testIds.urlError
@@ -26,7 +26,7 @@ var testIds = exports.testIds = {
26
26
  };
27
27
  var PACKAGE_DATA = exports.PACKAGE_DATA = {
28
28
  packageName: "@atlaskit/link-picker" || '',
29
- packageVersion: "6.11.2" || '',
29
+ packageVersion: "6.12.1" || '',
30
30
  componentName: _constants.COMPONENT_NAME,
31
31
  source: _constants.COMPONENT_NAME
32
32
  };
@@ -4,7 +4,8 @@ import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
5
5
  import { cx } from '@atlaskit/css';
6
6
  import Heading from '@atlaskit/heading/heading';
7
- import { Flex, Text } from '@atlaskit/primitives/compiled';
7
+ import { Flex } from '@atlaskit/primitives/compiled/flex';
8
+ import { Text } from '@atlaskit/primitives/compiled/text';
8
9
  const styles = {
9
10
  containerV2: "_ca0q1ejb _u5f3oahv _19bvoahv _n3td1jfw _y3gn1h6o",
10
11
  whiteSpaceNormal: "_o5724jg8"
@@ -1,6 +1,6 @@
1
1
  import { useCallback, useEffect, useMemo, useState } from 'react';
2
2
  import { useAnalyticsEvents } from '@atlaskit/analytics-next/useAnalyticsEvents';
3
- import { convertToError } from '@atlaskit/frontend-utilities/convert-to-error';
3
+ import { convertToError } from '@atlaskit/frontend-utilities/convertToError';
4
4
  import { useLinkPickerAnalytics } from '../../common/analytics';
5
5
  import { ANALYTICS_CHANNEL, RECENT_SEARCH_LIST_SIZE } from '../../common/constants';
6
6
  import createEventPayload from '../../common/utils/analytics/analytics.codegen';
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
2
  import { defineMessages, useIntl } from 'react-intl';
3
3
  import Button from '@atlaskit/button/default/button';
4
- import { fg } from '@atlaskit/platform-feature-flags/fg';
5
4
  import { checkSubmitDisabled } from './utils';
6
5
  export const messages = defineMessages({
7
6
  saveButton: {
@@ -30,7 +29,7 @@ export const LinkPickerSubmitButton = ({
30
29
  }) => {
31
30
  const intl = useIntl();
32
31
  const insertButtonMsg = isEditing ? messages.saveButton : messages.insertButton;
33
- const isSubmitDisabled = checkSubmitDisabled(isLoading, isSubmitting, error, url, queryState, items, fg('add-disable-manual-url-capability-technical') ? disableManualUrlInsert : undefined);
32
+ const isSubmitDisabled = checkSubmitDisabled(isLoading, isSubmitting, error, url, queryState, items, disableManualUrlInsert);
34
33
  return /*#__PURE__*/React.createElement(Button, {
35
34
  type: "submit",
36
35
  appearance: "primary",
@@ -1,5 +1,4 @@
1
1
  import { normalizeUrl } from '@atlaskit/linking-common/url';
2
- import { fg } from '@atlaskit/platform-feature-flags/fg';
3
2
  export const checkSubmitDisabled = (isLoading, isSubmitting, error, url, queryState, items, disableManualUrlInsert) => {
4
3
  /*
5
4
  * Enable insert when search term is a valid url and it can be normalized
@@ -11,24 +10,22 @@ export const checkSubmitDisabled = (isLoading, isSubmitting, error, url, querySt
11
10
  if (isSubmitting) {
12
11
  return true;
13
12
  }
14
- if (fg('add-disable-manual-url-capability-technical')) {
15
- /*
16
- * Check isLoading/error before disableManualUrlInsert so that stale items
17
- * from a previous search do not accidentally enable the button during an
18
- * in-flight request or an error state.
19
- */
20
- if (isLoading || error) {
21
- return true;
22
- }
13
+ /*
14
+ * Check isLoading/error before disableManualUrlInsert so that stale items
15
+ * from a previous search do not accidentally enable the button during an
16
+ * in-flight request or an error state.
17
+ */
18
+ if (isLoading || error) {
19
+ return true;
20
+ }
23
21
 
24
- /*
25
- * When disableManualUrlInsert is true, disable insert unless a result has been
26
- * selected from the list (i.e. items are present and queryState is set).
27
- * This prevents the user from manually typing a URL to bypass the restriction.
28
- */
29
- if (disableManualUrlInsert) {
30
- return !(queryState && items && items.length > 0);
31
- }
22
+ /*
23
+ * When disableManualUrlInsert is true, disable insert unless a result has been
24
+ * selected from the list (i.e. items are present and queryState is set).
25
+ * This prevents the user from manually typing a URL to bypass the restriction.
26
+ */
27
+ if (disableManualUrlInsert) {
28
+ return !(queryState && items && items.length > 0);
32
29
  }
33
30
 
34
31
  /*
@@ -49,13 +46,5 @@ export const checkSubmitDisabled = (isLoading, isSubmitting, error, url, querySt
49
46
  if (queryState && (items === null || items === void 0 ? void 0 : items.length) === 0) {
50
47
  return true;
51
48
  }
52
-
53
- /*
54
- * Disable insert button when plugin is loading or for any search error.
55
- * When the gate is on, this is already handled earlier in the function.
56
- */
57
- if (!fg('add-disable-manual-url-capability-technical') && (isLoading || error)) {
58
- return true;
59
- }
60
49
  return false;
61
50
  };
@@ -11,9 +11,8 @@ import { useAnalyticsEvents } from '@atlaskit/analytics-next/useAnalyticsEvents'
11
11
  import CardClient from '@atlaskit/link-provider/client';
12
12
  import { isSafeUrl, normalizeUrl } from '@atlaskit/linking-common/url';
13
13
  import { browser } from '@atlaskit/linking-common/user-agent';
14
- import { fg } from '@atlaskit/platform-feature-flags/fg';
15
14
  import { Box } from '@atlaskit/primitives/compiled';
16
- import LinkUrl from '@atlaskit/smart-card/link-url';
15
+ import LinkUrl from '@atlaskit/smart-card/link';
17
16
  import VisuallyHidden from '@atlaskit/visually-hidden/visually-hidden';
18
17
  import { useLinkPickerAnalytics, withInputFieldTracking, withLinkPickerAnalyticsContext } from '../../common/analytics';
19
18
  import { ANALYTICS_CHANNEL } from '../../common/constants';
@@ -106,10 +105,9 @@ export const LinkPicker = withLinkPickerAnalyticsContext( /*#__PURE__*/memo(({
106
105
  recentSearchListSize,
107
106
  shouldRenderNoResultsImage,
108
107
  alwaysShowTabs,
109
- disableManualUrlInsert: disableManualUrlInsertProp = false
108
+ disableManualUrlInsert = false
110
109
  }) => {
111
110
  var _customMessages$linkH;
112
- const disableManualUrlInsert = fg('add-disable-manual-url-capability-technical') && disableManualUrlInsertProp;
113
111
  const {
114
112
  createAnalyticsEvent
115
113
  } = useAnalyticsEvents();
@@ -3,7 +3,7 @@ import "./index.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
5
5
  import { Fragment } from 'react';
6
- import { Box } from '@atlaskit/primitives/compiled';
6
+ import { Box } from '@atlaskit/primitives/compiled/box';
7
7
  import Spinner from '@atlaskit/spinner/spinner';
8
8
  import Tab from '@atlaskit/tabs/tab';
9
9
  import TabList from '@atlaskit/tabs/tab-list';
@@ -6,7 +6,7 @@ import { ax, ix } from "@compiled/react/runtime";
6
6
  import { forwardRef, Fragment, useCallback, useRef } from 'react';
7
7
  import { defineMessages, FormattedMessage } from 'react-intl';
8
8
  import { fg } from '@atlaskit/platform-feature-flags/fg';
9
- import { Box } from '@atlaskit/primitives/compiled';
9
+ import { Box } from '@atlaskit/primitives/compiled/box';
10
10
  import Spinner from '@atlaskit/spinner/spinner';
11
11
  import VisuallyHidden from '@atlaskit/visually-hidden/visually-hidden';
12
12
  import { MinHeightContainer } from '../../../../common/ui/min-height-container';
@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
5
5
  import { forwardRef, Fragment } from 'react';
6
6
  import { useIntl } from 'react-intl';
7
- import { Text } from '@atlaskit/primitives/compiled';
7
+ import { Text } from '@atlaskit/primitives/compiled/text';
8
8
  import { transformTimeStamp } from '../../../transformTimeStamp';
9
9
  export const testIds = {
10
10
  searchResultItem: 'link-search-list-item',
@@ -9,8 +9,8 @@ import Field from '@atlaskit/form/field';
9
9
  import { HelperMessage } from '@atlaskit/form/helper-message';
10
10
  import { MessageWrapper } from '@atlaskit/form/message-wrapper';
11
11
  import CrossCircleIcon from '@atlaskit/icon/core/cross-circle';
12
- import { fg } from '@atlaskit/platform-feature-flags/fg';
13
- import { Box, Pressable } from '@atlaskit/primitives/compiled';
12
+ import { Box } from '@atlaskit/primitives/compiled/box';
13
+ import { Pressable } from '@atlaskit/primitives/compiled/pressable';
14
14
  import Textfield from '@atlaskit/textfield/text-field';
15
15
  import Tooltip from '@atlaskit/tooltip/Tooltip';
16
16
  import { ConditionalSpotlightTargetWrapper } from './conditional-spotlight-target-wrapper';
@@ -115,11 +115,7 @@ export const TextInput = ({
115
115
  elemAfterInput: clearText,
116
116
  isInvalid: !!error,
117
117
  "aria-describedby": `${restProps['aria-describedby']} ${fieldProps.id}-error ${fieldProps.id}-helper`
118
- })), fg('platform_navx_3298_message_wrapper') ? /*#__PURE__*/React.createElement(MessageWrapper, null, helperMessage && /*#__PURE__*/React.createElement(HelperMessage, {
119
- testId: testIds.linkHelperText
120
- }, helperMessage), error && /*#__PURE__*/React.createElement(ErrorMessage, {
121
- testId: testIds.urlError
122
- }, error)) : /*#__PURE__*/React.createElement(React.Fragment, null, helperMessage && /*#__PURE__*/React.createElement(HelperMessage, {
118
+ })), /*#__PURE__*/React.createElement(MessageWrapper, null, helperMessage && /*#__PURE__*/React.createElement(HelperMessage, {
123
119
  testId: testIds.linkHelperText
124
120
  }, helperMessage), error && /*#__PURE__*/React.createElement(ErrorMessage, {
125
121
  testId: testIds.urlError
@@ -16,7 +16,7 @@ export const testIds = {
16
16
  };
17
17
  export const PACKAGE_DATA = {
18
18
  packageName: "@atlaskit/link-picker" || '',
19
- packageVersion: "6.11.2" || '',
19
+ packageVersion: "6.12.1" || '',
20
20
  componentName: COMPONENT_NAME,
21
21
  source: COMPONENT_NAME
22
22
  };
@@ -4,7 +4,8 @@ import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
5
5
  import { cx } from '@atlaskit/css';
6
6
  import Heading from '@atlaskit/heading/heading';
7
- import { Flex, Text } from '@atlaskit/primitives/compiled';
7
+ import { Flex } from '@atlaskit/primitives/compiled/flex';
8
+ import { Text } from '@atlaskit/primitives/compiled/text';
8
9
  var styles = {
9
10
  containerV2: "_ca0q1ejb _u5f3oahv _19bvoahv _n3td1jfw _y3gn1h6o",
10
11
  whiteSpaceNormal: "_o5724jg8"
@@ -3,7 +3,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
3
  import _regeneratorRuntime from "@babel/runtime/regenerator";
4
4
  import { useCallback, useEffect, useMemo, useState } from 'react';
5
5
  import { useAnalyticsEvents } from '@atlaskit/analytics-next/useAnalyticsEvents';
6
- import { convertToError } from '@atlaskit/frontend-utilities/convert-to-error';
6
+ import { convertToError } from '@atlaskit/frontend-utilities/convertToError';
7
7
  import { useLinkPickerAnalytics } from '../../common/analytics';
8
8
  import { ANALYTICS_CHANNEL, RECENT_SEARCH_LIST_SIZE } from '../../common/constants';
9
9
  import createEventPayload from '../../common/utils/analytics/analytics.codegen';
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
2
  import { defineMessages, useIntl } from 'react-intl';
3
3
  import Button from '@atlaskit/button/default/button';
4
- import { fg } from '@atlaskit/platform-feature-flags/fg';
5
4
  import { checkSubmitDisabled } from './utils';
6
5
  export var messages = defineMessages({
7
6
  saveButton: {
@@ -29,7 +28,7 @@ export var LinkPickerSubmitButton = function LinkPickerSubmitButton(_ref) {
29
28
  disableManualUrlInsert = _ref.disableManualUrlInsert;
30
29
  var intl = useIntl();
31
30
  var insertButtonMsg = isEditing ? messages.saveButton : messages.insertButton;
32
- var isSubmitDisabled = checkSubmitDisabled(isLoading, isSubmitting, error, url, queryState, items, fg('add-disable-manual-url-capability-technical') ? disableManualUrlInsert : undefined);
31
+ var isSubmitDisabled = checkSubmitDisabled(isLoading, isSubmitting, error, url, queryState, items, disableManualUrlInsert);
33
32
  return /*#__PURE__*/React.createElement(Button, {
34
33
  type: "submit",
35
34
  appearance: "primary",
@@ -1,5 +1,4 @@
1
1
  import { normalizeUrl } from '@atlaskit/linking-common/url';
2
- import { fg } from '@atlaskit/platform-feature-flags/fg';
3
2
  export var checkSubmitDisabled = function checkSubmitDisabled(isLoading, isSubmitting, error, url, queryState, items, disableManualUrlInsert) {
4
3
  /*
5
4
  * Enable insert when search term is a valid url and it can be normalized
@@ -11,24 +10,22 @@ export var checkSubmitDisabled = function checkSubmitDisabled(isLoading, isSubmi
11
10
  if (isSubmitting) {
12
11
  return true;
13
12
  }
14
- if (fg('add-disable-manual-url-capability-technical')) {
15
- /*
16
- * Check isLoading/error before disableManualUrlInsert so that stale items
17
- * from a previous search do not accidentally enable the button during an
18
- * in-flight request or an error state.
19
- */
20
- if (isLoading || error) {
21
- return true;
22
- }
13
+ /*
14
+ * Check isLoading/error before disableManualUrlInsert so that stale items
15
+ * from a previous search do not accidentally enable the button during an
16
+ * in-flight request or an error state.
17
+ */
18
+ if (isLoading || error) {
19
+ return true;
20
+ }
23
21
 
24
- /*
25
- * When disableManualUrlInsert is true, disable insert unless a result has been
26
- * selected from the list (i.e. items are present and queryState is set).
27
- * This prevents the user from manually typing a URL to bypass the restriction.
28
- */
29
- if (disableManualUrlInsert) {
30
- return !(queryState && items && items.length > 0);
31
- }
22
+ /*
23
+ * When disableManualUrlInsert is true, disable insert unless a result has been
24
+ * selected from the list (i.e. items are present and queryState is set).
25
+ * This prevents the user from manually typing a URL to bypass the restriction.
26
+ */
27
+ if (disableManualUrlInsert) {
28
+ return !(queryState && items && items.length > 0);
32
29
  }
33
30
 
34
31
  /*
@@ -49,13 +46,5 @@ export var checkSubmitDisabled = function checkSubmitDisabled(isLoading, isSubmi
49
46
  if (queryState && (items === null || items === void 0 ? void 0 : items.length) === 0) {
50
47
  return true;
51
48
  }
52
-
53
- /*
54
- * Disable insert button when plugin is loading or for any search error.
55
- * When the gate is on, this is already handled earlier in the function.
56
- */
57
- if (!fg('add-disable-manual-url-capability-technical') && (isLoading || error)) {
58
- return true;
59
- }
60
49
  return false;
61
50
  };
@@ -17,9 +17,8 @@ import { useAnalyticsEvents } from '@atlaskit/analytics-next/useAnalyticsEvents'
17
17
  import CardClient from '@atlaskit/link-provider/client';
18
18
  import { isSafeUrl, normalizeUrl } from '@atlaskit/linking-common/url';
19
19
  import { browser } from '@atlaskit/linking-common/user-agent';
20
- import { fg } from '@atlaskit/platform-feature-flags/fg';
21
20
  import { Box } from '@atlaskit/primitives/compiled';
22
- import LinkUrl from '@atlaskit/smart-card/link-url';
21
+ import LinkUrl from '@atlaskit/smart-card/link';
23
22
  import VisuallyHidden from '@atlaskit/visually-hidden/visually-hidden';
24
23
  import { useLinkPickerAnalytics, withInputFieldTracking, withLinkPickerAnalyticsContext } from '../../common/analytics';
25
24
  import { ANALYTICS_CHANNEL } from '../../common/constants';
@@ -112,8 +111,7 @@ export var LinkPicker = withLinkPickerAnalyticsContext( /*#__PURE__*/memo(functi
112
111
  shouldRenderNoResultsImage = _ref.shouldRenderNoResultsImage,
113
112
  alwaysShowTabs = _ref.alwaysShowTabs,
114
113
  _ref$disableManualUrl = _ref.disableManualUrlInsert,
115
- disableManualUrlInsertProp = _ref$disableManualUrl === void 0 ? false : _ref$disableManualUrl;
116
- var disableManualUrlInsert = fg('add-disable-manual-url-capability-technical') && disableManualUrlInsertProp;
114
+ disableManualUrlInsert = _ref$disableManualUrl === void 0 ? false : _ref$disableManualUrl;
117
115
  var _useAnalyticsEvents = useAnalyticsEvents(),
118
116
  createAnalyticsEvent = _useAnalyticsEvents.createAnalyticsEvent;
119
117
  var linkInputRef = React.useRef(null);
@@ -6,7 +6,7 @@ import { ax, ix } from "@compiled/react/runtime";
6
6
  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; }
7
7
  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; }
8
8
  import { Fragment } from 'react';
9
- import { Box } from '@atlaskit/primitives/compiled';
9
+ import { Box } from '@atlaskit/primitives/compiled/box';
10
10
  import Spinner from '@atlaskit/spinner/spinner';
11
11
  import Tab from '@atlaskit/tabs/tab';
12
12
  import TabList from '@atlaskit/tabs/tab-list';
@@ -11,7 +11,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
11
11
  import { forwardRef, Fragment, useCallback, useRef } from 'react';
12
12
  import { defineMessages, FormattedMessage } from 'react-intl';
13
13
  import { fg } from '@atlaskit/platform-feature-flags/fg';
14
- import { Box } from '@atlaskit/primitives/compiled';
14
+ import { Box } from '@atlaskit/primitives/compiled/box';
15
15
  import Spinner from '@atlaskit/spinner/spinner';
16
16
  import VisuallyHidden from '@atlaskit/visually-hidden/visually-hidden';
17
17
  import { MinHeightContainer } from '../../../../common/ui/min-height-container';
@@ -5,7 +5,7 @@ import * as React from 'react';
5
5
  import { ax, ix } from "@compiled/react/runtime";
6
6
  import { forwardRef, Fragment } from 'react';
7
7
  import { useIntl } from 'react-intl';
8
- import { Text } from '@atlaskit/primitives/compiled';
8
+ import { Text } from '@atlaskit/primitives/compiled/text';
9
9
  import { transformTimeStamp } from '../../../transformTimeStamp';
10
10
  export var testIds = {
11
11
  searchResultItem: 'link-search-list-item',
@@ -11,8 +11,8 @@ import Field from '@atlaskit/form/field';
11
11
  import { HelperMessage } from '@atlaskit/form/helper-message';
12
12
  import { MessageWrapper } from '@atlaskit/form/message-wrapper';
13
13
  import CrossCircleIcon from '@atlaskit/icon/core/cross-circle';
14
- import { fg } from '@atlaskit/platform-feature-flags/fg';
15
- import { Box, Pressable } from '@atlaskit/primitives/compiled';
14
+ import { Box } from '@atlaskit/primitives/compiled/box';
15
+ import { Pressable } from '@atlaskit/primitives/compiled/pressable';
16
16
  import Textfield from '@atlaskit/textfield/text-field';
17
17
  import Tooltip from '@atlaskit/tooltip/Tooltip';
18
18
  import { ConditionalSpotlightTargetWrapper } from './conditional-spotlight-target-wrapper';
@@ -118,11 +118,7 @@ export var TextInput = function TextInput(_ref) {
118
118
  elemAfterInput: clearText,
119
119
  isInvalid: !!error,
120
120
  "aria-describedby": "".concat(restProps['aria-describedby'], " ").concat(fieldProps.id, "-error ").concat(fieldProps.id, "-helper")
121
- })), fg('platform_navx_3298_message_wrapper') ? /*#__PURE__*/React.createElement(MessageWrapper, null, helperMessage && /*#__PURE__*/React.createElement(HelperMessage, {
122
- testId: testIds.linkHelperText
123
- }, helperMessage), error && /*#__PURE__*/React.createElement(ErrorMessage, {
124
- testId: testIds.urlError
125
- }, error)) : /*#__PURE__*/React.createElement(React.Fragment, null, helperMessage && /*#__PURE__*/React.createElement(HelperMessage, {
121
+ })), /*#__PURE__*/React.createElement(MessageWrapper, null, helperMessage && /*#__PURE__*/React.createElement(HelperMessage, {
126
122
  testId: testIds.linkHelperText
127
123
  }, helperMessage), error && /*#__PURE__*/React.createElement(ErrorMessage, {
128
124
  testId: testIds.urlError
@@ -17,7 +17,7 @@ export var testIds = {
17
17
  };
18
18
  export var PACKAGE_DATA = {
19
19
  packageName: "@atlaskit/link-picker" || '',
20
- packageVersion: "6.11.2" || '',
20
+ packageVersion: "6.12.1" || '',
21
21
  componentName: COMPONENT_NAME,
22
22
  source: COMPONENT_NAME
23
23
  };
@@ -1,2 +1,2 @@
1
- import type { I18NMessages } from '@atlaskit/intl-messages-provider/types';
1
+ import type { I18NMessages } from '@atlaskit/intl-messages-provider/common/types';
2
2
  export declare const fetchMessagesForLocale: (locale: string) => Promise<I18NMessages | undefined>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-picker",
3
- "version": "6.12.0",
3
+ "version": "6.12.2",
4
4
  "description": "Standalone link picker",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "publishConfig": {
@@ -15,7 +15,7 @@
15
15
  "importSpecifierName": "isReactCompilerActivePlatform"
16
16
  }
17
17
  },
18
- "team": "Navigation Experiences - Linking Platform",
18
+ "team": "Rovo Growth - Smartlinks",
19
19
  "i18n": true,
20
20
  "website": {
21
21
  "tags": [
@@ -37,26 +37,20 @@
37
37
  "platform_navx_fix_nested_footer_landmark": {
38
38
  "type": "boolean"
39
39
  },
40
- "platform_navx_3298_message_wrapper": {
41
- "type": "boolean"
42
- },
43
- "add-disable-manual-url-capability-technical": {
44
- "type": "boolean"
45
- },
46
40
  "navx-5378-link-picker-tab-roles": {
47
41
  "type": "boolean"
48
42
  }
49
43
  },
50
44
  "scripts": {
51
- "codegen-analytics": "yarn run ts-analytics-codegen --command='afm workspace @atlaskit/link-picker codegen-analytics'"
45
+ "codegen-analytics": "ts-analytics-codegen --command='afm workspace @atlaskit/link-picker codegen-analytics'"
52
46
  },
53
47
  "dependencies": {
54
48
  "@atlaskit/afm-i18n-platform-linking-platform-link-picker": "2.271.0",
55
- "@atlaskit/analytics-next": "^12.5.0",
49
+ "@atlaskit/analytics-next": "^12.6.0",
56
50
  "@atlaskit/atlassian-context": "^2.0.0",
57
51
  "@atlaskit/button": "^25.4.0",
58
52
  "@atlaskit/css": "^1.1.0",
59
- "@atlaskit/form": "^18.1.0",
53
+ "@atlaskit/form": "^18.2.0",
60
54
  "@atlaskit/frontend-utilities": "^5.0.0",
61
55
  "@atlaskit/heading": "^8.0.0",
62
56
  "@atlaskit/icon": "^38.0.0",
@@ -67,12 +61,12 @@
67
61
  "@atlaskit/platform-feature-flags": "^2.2.0",
68
62
  "@atlaskit/primitives": "^22.5.0",
69
63
  "@atlaskit/react-compiler-gating": "^0.2.0",
70
- "@atlaskit/smart-card": "^46.5.0",
64
+ "@atlaskit/smart-card": "^46.6.0",
71
65
  "@atlaskit/spinner": "^20.4.0",
72
66
  "@atlaskit/spotlight": "^4.2.0",
73
67
  "@atlaskit/tabs": "^21.3.0",
74
68
  "@atlaskit/textfield": "^10.2.0",
75
- "@atlaskit/tokens": "^20.3.0",
69
+ "@atlaskit/tokens": "^20.6.0",
76
70
  "@atlaskit/tooltip": "^24.4.0",
77
71
  "@atlaskit/ufo": "^2.0.0",
78
72
  "@atlaskit/visually-hidden": "^4.4.0",