@atlaskit/link-create 6.8.0 → 6.8.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 (35) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/common/constants.js +1 -1
  3. package/dist/cjs/common/ui/error-boundary-ui/error-svg/index.js +1 -1
  4. package/dist/cjs/common/ui/icon/index.js +1 -1
  5. package/dist/cjs/common/ui/message/index.js +1 -1
  6. package/dist/cjs/common/utils/errors/index.js +2 -2
  7. package/dist/cjs/controllers/callback-context/main.js +3 -5
  8. package/dist/cjs/controllers/create-field/main.js +1 -1
  9. package/dist/cjs/ui/create-form/form-footer/main.js +1 -1
  10. package/dist/cjs/ui/create-form/form-loader/main.js +1 -1
  11. package/dist/cjs/ui/create-form/main.js +1 -1
  12. package/dist/cjs/ui/create-form/user-picker/main.js +2 -2
  13. package/dist/es2019/common/constants.js +1 -1
  14. package/dist/es2019/common/ui/error-boundary-ui/error-svg/index.js +1 -1
  15. package/dist/es2019/common/ui/icon/index.js +1 -1
  16. package/dist/es2019/common/ui/message/index.js +1 -1
  17. package/dist/es2019/common/utils/errors/index.js +1 -1
  18. package/dist/es2019/controllers/callback-context/main.js +2 -5
  19. package/dist/es2019/controllers/create-field/main.js +1 -1
  20. package/dist/es2019/ui/create-form/form-footer/main.js +1 -1
  21. package/dist/es2019/ui/create-form/form-loader/main.js +1 -1
  22. package/dist/es2019/ui/create-form/main.js +1 -1
  23. package/dist/es2019/ui/create-form/user-picker/main.js +1 -1
  24. package/dist/esm/common/constants.js +1 -1
  25. package/dist/esm/common/ui/error-boundary-ui/error-svg/index.js +1 -1
  26. package/dist/esm/common/ui/icon/index.js +1 -1
  27. package/dist/esm/common/ui/message/index.js +1 -1
  28. package/dist/esm/common/utils/errors/index.js +1 -1
  29. package/dist/esm/controllers/callback-context/main.js +3 -5
  30. package/dist/esm/controllers/create-field/main.js +1 -1
  31. package/dist/esm/ui/create-form/form-footer/main.js +1 -1
  32. package/dist/esm/ui/create-form/form-loader/main.js +1 -1
  33. package/dist/esm/ui/create-form/main.js +1 -1
  34. package/dist/esm/ui/create-form/user-picker/main.js +1 -1
  35. package/package.json +7 -11
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @atlaskit/link-create
2
2
 
3
+ ## 6.8.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 6.8.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [`0e4dfa5a575e5`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0e4dfa5a575e5) -
14
+ Cleanup platform_link_create_event_tracking feature gate and permanently record controlled failure
15
+ diagnostics.
16
+
3
17
  ## 6.8.0
4
18
 
5
19
  ### Minor Changes
@@ -16,7 +16,7 @@ var CREATE_FORM_MIN_HEIGHT_IN_PX = exports.CREATE_FORM_MIN_HEIGHT_IN_PX = '200';
16
16
  var LINK_CREATE_FORM_POST_CREATE_FIELD = exports.LINK_CREATE_FORM_POST_CREATE_FIELD = '__post_create__';
17
17
  var PACKAGE_DATA = exports.PACKAGE_DATA = {
18
18
  packageName: "@atlaskit/link-create" || '',
19
- packageVersion: "6.7.0" || '',
19
+ packageVersion: "6.8.1" || '',
20
20
  component: COMPONENT_NAME,
21
21
  componentName: COMPONENT_NAME
22
22
  };
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v3.0.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 v2.0.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v3.0.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 v2.0.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v3.0.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.getNetworkFields = exports.getErrorType = void 0;
8
8
  var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
9
- var _utils = require("@atlaskit/linking-common/utils");
9
+ var _getTraceId = require("@atlaskit/linking-common/utils/get-trace-id");
10
10
  var getUrlPath = function getUrlPath(url) {
11
11
  try {
12
12
  return new URL(url).pathname;
@@ -17,7 +17,7 @@ var getUrlPath = function getUrlPath(url) {
17
17
  var getNetworkFields = exports.getNetworkFields = function getNetworkFields(error) {
18
18
  if (error instanceof Response) {
19
19
  return {
20
- traceId: (0, _utils.getTraceId)(error),
20
+ traceId: (0, _getTraceId.getTraceId)(error),
21
21
  status: error.status,
22
22
  path: getUrlPath(error.url)
23
23
  };
@@ -11,7 +11,6 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
11
11
  var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
12
12
  var _react = _interopRequireWildcard(require("react"));
13
13
  var _useAnalyticsEvents2 = require("@atlaskit/analytics-next/useAnalyticsEvents");
14
- var _fg = require("@atlaskit/platform-feature-flags/fg");
15
14
  var _constants = require("../../common/constants");
16
15
  var _experienceTracker = require("../../common/ui/experience-tracker");
17
16
  var _analytics = _interopRequireDefault(require("../../common/utils/analytics/analytics.codegen"));
@@ -81,12 +80,11 @@ var LinkCreateCallbackProvider = exports.LinkCreateCallbackProvider = function L
81
80
  while (1) switch (_context2.prev = _context2.next) {
82
81
  case 0:
83
82
  _getNetworkFields = (0, _errors.getNetworkFields)(error), status = _getNetworkFields.status;
84
- createAnalyticsEvent((0, _analytics.default)('track.object.createFailed.linkCreate', _objectSpread({
85
- failureType: (0, _errors.getErrorType)(error)
86
- }, (0, _fg.fg)('platform_link_create_event_tracking') ? {
83
+ createAnalyticsEvent((0, _analytics.default)('track.object.createFailed.linkCreate', {
84
+ failureType: (0, _errors.getErrorType)(error),
87
85
  operation: (_context$operation = context === null || context === void 0 ? void 0 : context.operation) !== null && _context$operation !== void 0 ? _context$operation : null,
88
86
  status: status
89
- } : {}))).fire(_constants.ANALYTICS_CHANNEL);
87
+ })).fire(_constants.ANALYTICS_CHANNEL);
90
88
  experience === null || experience === void 0 || experience.failure(error);
91
89
  _onFailure && _onFailure(error);
92
90
  case 1:
@@ -1,4 +1,4 @@
1
- /* main.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* main.tsx generated by @compiled/babel-plugin v3.0.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 v2.0.0 */
1
+ /* main.tsx generated by @compiled/babel-plugin v3.0.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 v2.0.0 */
1
+ /* main.tsx generated by @compiled/babel-plugin v3.0.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 v2.0.0 */
1
+ /* main.tsx generated by @compiled/babel-plugin v3.0.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -8,7 +8,7 @@ exports.UserPicker = exports.TEST_ID = void 0;
8
8
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
9
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
10
10
  var _react = _interopRequireDefault(require("react"));
11
- var _smartUserPicker = _interopRequireDefault(require("@atlaskit/smart-user-picker"));
11
+ var _components = _interopRequireDefault(require("@atlaskit/smart-user-picker/components"));
12
12
  var _main = require("../../../controllers/create-field/main");
13
13
  var _excluded = ["fieldId", "isRequired"];
14
14
  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; }
@@ -40,7 +40,7 @@ var UserPicker = exports.UserPicker = function UserPicker(_ref) {
40
40
  var fieldId = _ref2.fieldId,
41
41
  isRequired = _ref2.isRequired,
42
42
  fieldProps = (0, _objectWithoutProperties2.default)(_ref2, _excluded);
43
- return /*#__PURE__*/_react.default.createElement(_smartUserPicker.default, {
43
+ return /*#__PURE__*/_react.default.createElement(_components.default, {
44
44
  defaultValue: defaultValue ? _objectSpread(_objectSpread({}, defaultValue), {}, {
45
45
  type: 'user'
46
46
  }) : undefined,
@@ -10,7 +10,7 @@ export const CREATE_FORM_MIN_HEIGHT_IN_PX = '200';
10
10
  export const LINK_CREATE_FORM_POST_CREATE_FIELD = '__post_create__';
11
11
  export const PACKAGE_DATA = {
12
12
  packageName: "@atlaskit/link-create" || '',
13
- packageVersion: "6.7.0" || '',
13
+ packageVersion: "6.8.1" || '',
14
14
  component: COMPONENT_NAME,
15
15
  componentName: COMPONENT_NAME
16
16
  };
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v3.0.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 v2.0.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v3.0.1 */
2
2
  import "./index.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v3.0.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
- import { getTraceId } from '@atlaskit/linking-common/utils';
1
+ import { getTraceId } from '@atlaskit/linking-common/utils/get-trace-id';
2
2
  const getUrlPath = url => {
3
3
  try {
4
4
  return new URL(url).pathname;
@@ -1,6 +1,5 @@
1
1
  import React, { useContext, useMemo } from 'react';
2
2
  import { useAnalyticsEvents } from '@atlaskit/analytics-next/useAnalyticsEvents';
3
- import { fg } from '@atlaskit/platform-feature-flags/fg';
4
3
  import { ANALYTICS_CHANNEL } from '../../common/constants';
5
4
  import { useExperience } from '../../common/ui/experience-tracker';
6
5
  import createEventPayload from '../../common/utils/analytics/analytics.codegen';
@@ -51,10 +50,8 @@ const LinkCreateCallbackProvider = ({
51
50
  } = getNetworkFields(error);
52
51
  createAnalyticsEvent(createEventPayload('track.object.createFailed.linkCreate', {
53
52
  failureType: getErrorType(error),
54
- ...(fg('platform_link_create_event_tracking') ? {
55
- operation: (_context$operation = context === null || context === void 0 ? void 0 : context.operation) !== null && _context$operation !== void 0 ? _context$operation : null,
56
- status
57
- } : {})
53
+ operation: (_context$operation = context === null || context === void 0 ? void 0 : context.operation) !== null && _context$operation !== void 0 ? _context$operation : null,
54
+ status
58
55
  })).fire(ANALYTICS_CHANNEL);
59
56
  experience === null || experience === void 0 ? void 0 : experience.failure(error);
60
57
  onFailure && onFailure(error);
@@ -1,4 +1,4 @@
1
- /* main.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* main.tsx generated by @compiled/babel-plugin v3.0.1 */
2
2
  import "./main.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 v2.0.0 */
1
+ /* main.tsx generated by @compiled/babel-plugin v3.0.1 */
2
2
  import "./main.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 v2.0.0 */
1
+ /* main.tsx generated by @compiled/babel-plugin v3.0.1 */
2
2
  import "./main.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 v2.0.0 */
1
+ /* main.tsx generated by @compiled/babel-plugin v3.0.1 */
2
2
  import "./main.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import SmartUserPicker from '@atlaskit/smart-user-picker';
2
+ import SmartUserPicker from '@atlaskit/smart-user-picker/components';
3
3
  import { CreateField } from '../../../controllers/create-field/main';
4
4
  export const TEST_ID = 'link-create-user-picker';
5
5
  const DEFAULT_DEBOUNCE_TIME = 400;
@@ -10,7 +10,7 @@ export var CREATE_FORM_MIN_HEIGHT_IN_PX = '200';
10
10
  export var LINK_CREATE_FORM_POST_CREATE_FIELD = '__post_create__';
11
11
  export var PACKAGE_DATA = {
12
12
  packageName: "@atlaskit/link-create" || '',
13
- packageVersion: "6.7.0" || '',
13
+ packageVersion: "6.8.1" || '',
14
14
  component: COMPONENT_NAME,
15
15
  componentName: COMPONENT_NAME
16
16
  };
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v3.0.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 v2.0.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v3.0.1 */
2
2
  import "./index.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v3.0.1 */
2
2
  import "./index.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,5 +1,5 @@
1
1
  import _typeof from "@babel/runtime/helpers/typeof";
2
- import { getTraceId } from '@atlaskit/linking-common/utils';
2
+ import { getTraceId } from '@atlaskit/linking-common/utils/get-trace-id';
3
3
  var getUrlPath = function getUrlPath(url) {
4
4
  try {
5
5
  return new URL(url).pathname;
@@ -5,7 +5,6 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
5
5
  import _regeneratorRuntime from "@babel/runtime/regenerator";
6
6
  import React, { useContext, useMemo } from 'react';
7
7
  import { useAnalyticsEvents } from '@atlaskit/analytics-next/useAnalyticsEvents';
8
- import { fg } from '@atlaskit/platform-feature-flags/fg';
9
8
  import { ANALYTICS_CHANNEL } from '../../common/constants';
10
9
  import { useExperience } from '../../common/ui/experience-tracker';
11
10
  import createEventPayload from '../../common/utils/analytics/analytics.codegen';
@@ -73,12 +72,11 @@ var LinkCreateCallbackProvider = function LinkCreateCallbackProvider(_ref) {
73
72
  while (1) switch (_context2.prev = _context2.next) {
74
73
  case 0:
75
74
  _getNetworkFields = getNetworkFields(error), status = _getNetworkFields.status;
76
- createAnalyticsEvent(createEventPayload('track.object.createFailed.linkCreate', _objectSpread({
77
- failureType: getErrorType(error)
78
- }, fg('platform_link_create_event_tracking') ? {
75
+ createAnalyticsEvent(createEventPayload('track.object.createFailed.linkCreate', {
76
+ failureType: getErrorType(error),
79
77
  operation: (_context$operation = context === null || context === void 0 ? void 0 : context.operation) !== null && _context$operation !== void 0 ? _context$operation : null,
80
78
  status: status
81
- } : {}))).fire(ANALYTICS_CHANNEL);
79
+ })).fire(ANALYTICS_CHANNEL);
82
80
  experience === null || experience === void 0 || experience.failure(error);
83
81
  _onFailure && _onFailure(error);
84
82
  case 1:
@@ -1,4 +1,4 @@
1
- /* main.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* main.tsx generated by @compiled/babel-plugin v3.0.1 */
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import "./main.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* main.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* main.tsx generated by @compiled/babel-plugin v3.0.1 */
2
2
  import "./main.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 v2.0.0 */
1
+ /* main.tsx generated by @compiled/babel-plugin v3.0.1 */
2
2
  import "./main.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 v2.0.0 */
1
+ /* main.tsx generated by @compiled/babel-plugin v3.0.1 */
2
2
  import _typeof from "@babel/runtime/helpers/typeof";
3
3
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
4
4
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
@@ -4,7 +4,7 @@ var _excluded = ["fieldId", "isRequired"];
4
4
  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; }
5
5
  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; }
6
6
  import React from 'react';
7
- import SmartUserPicker from '@atlaskit/smart-user-picker';
7
+ import SmartUserPicker from '@atlaskit/smart-user-picker/components';
8
8
  import { CreateField } from '../../../controllers/create-field/main';
9
9
  export var TEST_ID = 'link-create-user-picker';
10
10
  var DEFAULT_DEBOUNCE_TIME = 400;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-create",
3
- "version": "6.8.0",
3
+ "version": "6.8.2",
4
4
  "description": "The driver component of meta creation flow",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -33,16 +33,16 @@
33
33
  "dependencies": {
34
34
  "@atlaskit/afm-i18n-platform-linking-platform-link-create": "2.242.0",
35
35
  "@atlaskit/analytics-next": "^12.5.0",
36
- "@atlaskit/atlassian-context": "^1.1.0",
36
+ "@atlaskit/atlassian-context": "^1.2.0",
37
37
  "@atlaskit/button": "^25.3.0",
38
38
  "@atlaskit/css": "^1.1.0",
39
39
  "@atlaskit/empty-state": "^12.2.0",
40
40
  "@atlaskit/form": "^17.2.0",
41
- "@atlaskit/icon": "^37.6.0",
41
+ "@atlaskit/icon": "^37.7.0",
42
42
  "@atlaskit/icon-file-type": "^8.3.0",
43
43
  "@atlaskit/intl-messages-provider": "^4.3.0",
44
44
  "@atlaskit/link": "^5.1.0",
45
- "@atlaskit/linking-common": "^12.1.0",
45
+ "@atlaskit/linking-common": "^12.2.0",
46
46
  "@atlaskit/modal-dialog": "^16.6.0",
47
47
  "@atlaskit/object": "^2.3.0",
48
48
  "@atlaskit/platform-feature-flags": "^2.2.0",
@@ -54,7 +54,7 @@
54
54
  "@atlaskit/spinner": "^20.4.0",
55
55
  "@atlaskit/textfield": "^10.2.0",
56
56
  "@atlaskit/theme": "^28.2.0",
57
- "@atlaskit/tokens": "^16.11.0",
57
+ "@atlaskit/tokens": "^17.0.0",
58
58
  "@babel/runtime": "^7.0.0",
59
59
  "@compiled/react": "^1.0.2",
60
60
  "debounce-promise": "^3.1.2",
@@ -76,6 +76,7 @@
76
76
  "@atlassian/a11y-jest-testing": "^0.17.0",
77
77
  "@atlassian/feature-flags-test-utils": "^1.3.0",
78
78
  "@atlassian/structured-docs-types": "workspace:^",
79
+ "@atlassian/workbench": "workspace:*",
79
80
  "@testing-library/react": "^16.3.0",
80
81
  "@testing-library/user-event": "^14.4.3",
81
82
  "@types/debounce-promise": "^3.1.2",
@@ -86,12 +87,7 @@
86
87
  "wait-for-expect": "^1.2.0"
87
88
  },
88
89
  "scripts": {
89
- "codegen-analytics": "yarn run ts-analytics-codegen --command='yarn workspace @atlaskit/link-create run codegen-analytics'"
90
- },
91
- "platform-feature-flags": {
92
- "platform_link_create_event_tracking": {
93
- "type": "boolean"
94
- }
90
+ "codegen-analytics": "yarn run ts-analytics-codegen --command='afm workspace @atlaskit/link-create codegen-analytics'"
95
91
  },
96
92
  "compassUnitTestMetricSourceId": "ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:metric-source/c5751cc6-3513-4070-9deb-af31e86aed34/5ebc0bfb-9b6d-4ec0-adbe-e4d5e88ace44"
97
93
  }