@atlaskit/share 6.14.0 → 6.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @atlaskit/share
2
2
 
3
+ ## 6.15.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#178605](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/178605)
8
+ [`9cf699ca45a44`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9cf699ca45a44) -
9
+ The origin trace is added to the url included in the email sent to sharees upon a sharer
10
+ submitting a share from the share dialogue.
11
+
12
+ ## 6.14.1
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies
17
+
3
18
  ## 6.14.0
4
19
 
5
20
  ### Minor Changes
@@ -225,7 +225,7 @@ var ShareDialogContainerInternal = exports.ShareDialogContainerInternal = /*#__P
225
225
  (0, _defineProperty2.default)(_this, "getFormShareLink", function () {
226
226
  var rawLink = _this.getRawLink();
227
227
  // Check if origin tracing on share link is enabled
228
- if ((0, _platformFeatureFlags.fg)('page_shared_event_from_share_dialogue')) {
228
+ if ((0, _platformFeatureFlags.fg)('jira_client_side_error_handled_track_event')) {
229
229
  var originTracing = _this.getFormShareOriginTracing();
230
230
  return memoizedFormatCopyLink(originTracing, rawLink);
231
231
  }
@@ -13,7 +13,7 @@ var buildAttributes = function buildAttributes() {
13
13
  var attributes = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
14
14
  return _objectSpread({
15
15
  packageName: "@atlaskit/share",
16
- packageVersion: "6.13.0"
16
+ packageVersion: "6.14.1"
17
17
  }, attributes);
18
18
  };
19
19
  var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
@@ -185,7 +185,7 @@ export class ShareDialogContainerInternal extends React.Component {
185
185
  _defineProperty(this, "getFormShareLink", () => {
186
186
  const rawLink = this.getRawLink();
187
187
  // Check if origin tracing on share link is enabled
188
- if (fg('page_shared_event_from_share_dialogue')) {
188
+ if (fg('jira_client_side_error_handled_track_event')) {
189
189
  const originTracing = this.getFormShareOriginTracing();
190
190
  return memoizedFormatCopyLink(originTracing, rawLink);
191
191
  }
@@ -1,7 +1,7 @@
1
1
  import { isEmail, isExternalUser, isGroup, isTeam, isUser } from '@atlaskit/smart-user-picker';
2
2
  const buildAttributes = (attributes = {}) => ({
3
3
  packageName: "@atlaskit/share",
4
- packageVersion: "6.13.0",
4
+ packageVersion: "6.14.1",
5
5
  ...attributes
6
6
  });
7
7
  const createEvent = (eventType, source, action, actionSubject, actionSubjectId, attributes = {}) => ({
@@ -218,7 +218,7 @@ export var ShareDialogContainerInternal = /*#__PURE__*/function (_React$Componen
218
218
  _defineProperty(_this, "getFormShareLink", function () {
219
219
  var rawLink = _this.getRawLink();
220
220
  // Check if origin tracing on share link is enabled
221
- if (fg('page_shared_event_from_share_dialogue')) {
221
+ if (fg('jira_client_side_error_handled_track_event')) {
222
222
  var originTracing = _this.getFormShareOriginTracing();
223
223
  return memoizedFormatCopyLink(originTracing, rawLink);
224
224
  }
@@ -6,7 +6,7 @@ var buildAttributes = function buildAttributes() {
6
6
  var attributes = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
7
7
  return _objectSpread({
8
8
  packageName: "@atlaskit/share",
9
- packageVersion: "6.13.0"
9
+ packageVersion: "6.14.1"
10
10
  }, attributes);
11
11
  };
12
12
  var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/share",
3
- "version": "6.14.0",
3
+ "version": "6.15.0",
4
4
  "description": "Fabric Share Element",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -40,7 +40,7 @@
40
40
  "dependencies": {
41
41
  "@atlaskit/analytics-next": "^11.1.0",
42
42
  "@atlaskit/button": "^23.2.0",
43
- "@atlaskit/css": "^0.11.0",
43
+ "@atlaskit/css": "^0.12.0",
44
44
  "@atlaskit/dropdown-menu": "^16.1.0",
45
45
  "@atlaskit/form": "^12.0.0",
46
46
  "@atlaskit/heading": "^5.2.0",
@@ -51,7 +51,7 @@
51
51
  "@atlaskit/popper": "^7.1.0",
52
52
  "@atlaskit/popup": "^4.3.0",
53
53
  "@atlaskit/portal": "^5.1.0",
54
- "@atlaskit/primitives": "^14.9.0",
54
+ "@atlaskit/primitives": "^14.10.0",
55
55
  "@atlaskit/smart-user-picker": "^8.0.0",
56
56
  "@atlaskit/spinner": "^18.0.0",
57
57
  "@atlaskit/tabs": "^18.1.0",
@@ -79,7 +79,6 @@
79
79
  "@testing-library/react": "^13.4.0",
80
80
  "@testing-library/user-event": "^14.4.3",
81
81
  "enzyme": "^3.10.0",
82
- "enzyme-adapter-react-16": "^1.15.1",
83
82
  "react": "^18.2.0",
84
83
  "typescript": "~5.4.2"
85
84
  },
@@ -137,7 +136,7 @@
137
136
  "should-render-to-parent-should-be-true-people-and-": {
138
137
  "type": "boolean"
139
138
  },
140
- "page_shared_event_from_share_dialogue": {
139
+ "jira_client_side_error_handled_track_event": {
141
140
  "type": "boolean"
142
141
  }
143
142
  },