@atlaskit/share 4.20.2 → 4.20.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/share
2
2
 
3
+ ## 4.20.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#152459](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/152459)
8
+ [`73c8fc275247e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/73c8fc275247e) -
9
+ Move feature flag to statsig
10
+
3
11
  ## 4.20.2
4
12
 
5
13
  ### Patch Changes
@@ -181,7 +181,7 @@ var CopyLinkButton = exports.CopyLinkButton = /*#__PURE__*/function (_React$Comp
181
181
  position: "bottom-start"
182
182
  }, _this2.renderTriggerButton(triggerProps)) : _this2.renderTriggerButton(triggerProps);
183
183
  },
184
- shouldRenderToParent: (0, _platformFeatureFlags.fg)('platform.enable-appropriate-reading-order-in-share-dialog_fu49') ? true : false
184
+ shouldRenderToParent: (0, _platformFeatureFlags.fg)('enable-appropriate-reading-order-in-share-dialog')
185
185
  }));
186
186
  }
187
187
  }]);
@@ -634,7 +634,7 @@ var ShareDialogWithTriggerInternal = exports.ShareDialogWithTriggerInternal = /*
634
634
  isMenuItemSelected: isMenuItemSelected,
635
635
  dialogPlacement: dialogPlacement
636
636
  }),
637
- shouldRenderToParent: (0, _platformFeatureFlags.fg)('platform.enable-appropriate-reading-order-in-share-dialog_fu49') ? true : false
637
+ shouldRenderToParent: (0, _platformFeatureFlags.fg)('enable-appropriate-reading-order-in-share-dialog')
638
638
  }), (0, _react2.jsx)(_portal.default, {
639
639
  zIndex: (0, _utils.generateSelectZIndex)(dialogZIndex)
640
640
  }, (0, _react2.jsx)("div", {
@@ -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: "4.20.2"
16
+ packageVersion: "4.20.3"
17
17
  }, attributes);
18
18
  };
19
19
  var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
@@ -155,7 +155,7 @@ export class CopyLinkButton extends React.Component {
155
155
  content: copyTooltipText,
156
156
  position: "bottom-start"
157
157
  }, this.renderTriggerButton(triggerProps)) : this.renderTriggerButton(triggerProps),
158
- shouldRenderToParent: fg('platform.enable-appropriate-reading-order-in-share-dialog_fu49') ? true : false
158
+ shouldRenderToParent: fg('enable-appropriate-reading-order-in-share-dialog')
159
159
  }));
160
160
  }
161
161
  }
@@ -579,7 +579,7 @@ export class ShareDialogWithTriggerInternal extends React.PureComponent {
579
579
  isMenuItemSelected,
580
580
  dialogPlacement
581
581
  }),
582
- shouldRenderToParent: fg('platform.enable-appropriate-reading-order-in-share-dialog_fu49') ? true : false
582
+ shouldRenderToParent: fg('enable-appropriate-reading-order-in-share-dialog')
583
583
  }), jsx(Portal, {
584
584
  zIndex: generateSelectZIndex(dialogZIndex)
585
585
  }, jsx("div", {
@@ -1,7 +1,7 @@
1
1
  import { isEmail, isExternalUser, isTeam, isUser } from '@atlaskit/smart-user-picker';
2
2
  const buildAttributes = (attributes = {}) => ({
3
3
  packageName: "@atlaskit/share",
4
- packageVersion: "4.20.2",
4
+ packageVersion: "4.20.3",
5
5
  ...attributes
6
6
  });
7
7
  const createEvent = (eventType, source, action, actionSubject, actionSubjectId, attributes = {}) => ({
@@ -177,7 +177,7 @@ export var CopyLinkButton = /*#__PURE__*/function (_React$Component) {
177
177
  position: "bottom-start"
178
178
  }, _this2.renderTriggerButton(triggerProps)) : _this2.renderTriggerButton(triggerProps);
179
179
  },
180
- shouldRenderToParent: fg('platform.enable-appropriate-reading-order-in-share-dialog_fu49') ? true : false
180
+ shouldRenderToParent: fg('enable-appropriate-reading-order-in-share-dialog')
181
181
  }));
182
182
  }
183
183
  }]);
@@ -633,7 +633,7 @@ export var ShareDialogWithTriggerInternal = /*#__PURE__*/function (_React$PureCo
633
633
  isMenuItemSelected: isMenuItemSelected,
634
634
  dialogPlacement: dialogPlacement
635
635
  }),
636
- shouldRenderToParent: fg('platform.enable-appropriate-reading-order-in-share-dialog_fu49') ? true : false
636
+ shouldRenderToParent: fg('enable-appropriate-reading-order-in-share-dialog')
637
637
  }), jsx(Portal, {
638
638
  zIndex: generateSelectZIndex(dialogZIndex)
639
639
  }, jsx("div", {
@@ -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: "4.20.2"
9
+ packageVersion: "4.20.3"
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": "4.20.2",
3
+ "version": "4.20.3",
4
4
  "description": "Fabric Share Element",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -39,10 +39,10 @@
39
39
  "dependencies": {
40
40
  "@atlaskit/analytics-next": "^10.1.0",
41
41
  "@atlaskit/button": "^20.2.0",
42
- "@atlaskit/dropdown-menu": "^12.19.0",
42
+ "@atlaskit/dropdown-menu": "^12.20.0",
43
43
  "@atlaskit/form": "^10.5.0",
44
44
  "@atlaskit/icon": "^22.22.0",
45
- "@atlaskit/menu": "^2.12.0",
45
+ "@atlaskit/menu": "^2.13.0",
46
46
  "@atlaskit/platform-feature-flags": "^0.3.0",
47
47
  "@atlaskit/popper": "^6.3.0",
48
48
  "@atlaskit/popup": "^1.28.0",
@@ -52,7 +52,7 @@
52
52
  "@atlaskit/spinner": "^16.3.0",
53
53
  "@atlaskit/tabs": "^16.5.0",
54
54
  "@atlaskit/textarea": "^5.6.0",
55
- "@atlaskit/theme": "^13.0.0",
55
+ "@atlaskit/theme": "^13.1.0",
56
56
  "@atlaskit/tokens": "^2.0.0",
57
57
  "@atlaskit/tooltip": "^18.8.0",
58
58
  "@atlaskit/ufo": "^0.3.0",
@@ -116,7 +116,7 @@
116
116
  "./copy-link-button": "./src/components/CopyLinkButton.tsx"
117
117
  },
118
118
  "platform-feature-flags": {
119
- "platform.enable-appropriate-reading-order-in-share-dialog_fu49": {
119
+ "enable-appropriate-reading-order-in-share-dialog": {
120
120
  "type": "boolean"
121
121
  }
122
122
  }