@atlaskit/give-kudos 4.5.1 → 4.5.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlassian/give-kudos
2
2
 
3
+ ## 4.5.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`88b834ac195d1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/88b834ac195d1) -
8
+ Update the FG used to rollout the kudos zindex change
9
+
3
10
  ## 4.5.1
4
11
 
5
12
  ### Patch Changes
@@ -65,9 +65,7 @@ var GiveKudosLauncher = function GiveKudosLauncher(props) {
65
65
  isActionsEnabled = props.isActionsEnabled,
66
66
  _props$zIndex = props.zIndex,
67
67
  zIndex = _props$zIndex === void 0 ? _constants.layers.modal() : _props$zIndex;
68
-
69
- // TODO: ptc-enable-team-profilecard-package - Remove this block when cleaning up FG
70
- var zIndexNext = (0, _platformFeatureFlags.fg)('ptc-enable-team-profilecard-package') ? zIndex : _constants.layers.modal();
68
+ var zIndexNext = (0, _platformFeatureFlags.fg)('people-teams-kudos-launcher-z-index') ? zIndex : _constants.layers.modal();
71
69
  var shouldBlockTransition = (0, _react.useCallback)(function (e) {
72
70
  e.preventDefault();
73
71
  e.returnValue = intl.formatMessage(_messages.default.unsavedKudosWarning);
@@ -203,7 +201,7 @@ var GiveKudosLauncher = function GiveKudosLauncher(props) {
203
201
  if (eventData.eventType && (0, _types.isFlagEventTypeValue)(eventData.eventType)) {
204
202
  createFlagWithJsonStringifiedInput(eventData);
205
203
  }
206
- } catch (_e) {
204
+ } catch (_unused) {
207
205
  // Swallow any errors
208
206
  }
209
207
  }
@@ -48,9 +48,7 @@ const GiveKudosLauncher = props => {
48
48
  isActionsEnabled,
49
49
  zIndex = layers.modal()
50
50
  } = props;
51
-
52
- // TODO: ptc-enable-team-profilecard-package - Remove this block when cleaning up FG
53
- const zIndexNext = fg('ptc-enable-team-profilecard-package') ? zIndex : layers.modal();
51
+ const zIndexNext = fg('people-teams-kudos-launcher-z-index') ? zIndex : layers.modal();
54
52
  const shouldBlockTransition = useCallback(e => {
55
53
  e.preventDefault();
56
54
  e.returnValue = intl.formatMessage(messages.unsavedKudosWarning);
@@ -183,7 +181,7 @@ const GiveKudosLauncher = props => {
183
181
  if (eventData.eventType && isFlagEventTypeValue(eventData.eventType)) {
184
182
  createFlagWithJsonStringifiedInput(eventData);
185
183
  }
186
- } catch (_e) {
184
+ } catch {
187
185
  // Swallow any errors
188
186
  }
189
187
  }
@@ -56,9 +56,7 @@ var GiveKudosLauncher = function GiveKudosLauncher(props) {
56
56
  isActionsEnabled = props.isActionsEnabled,
57
57
  _props$zIndex = props.zIndex,
58
58
  zIndex = _props$zIndex === void 0 ? layers.modal() : _props$zIndex;
59
-
60
- // TODO: ptc-enable-team-profilecard-package - Remove this block when cleaning up FG
61
- var zIndexNext = fg('ptc-enable-team-profilecard-package') ? zIndex : layers.modal();
59
+ var zIndexNext = fg('people-teams-kudos-launcher-z-index') ? zIndex : layers.modal();
62
60
  var shouldBlockTransition = useCallback(function (e) {
63
61
  e.preventDefault();
64
62
  e.returnValue = intl.formatMessage(messages.unsavedKudosWarning);
@@ -194,7 +192,7 @@ var GiveKudosLauncher = function GiveKudosLauncher(props) {
194
192
  if (eventData.eventType && isFlagEventTypeValue(eventData.eventType)) {
195
193
  createFlagWithJsonStringifiedInput(eventData);
196
194
  }
197
- } catch (_e) {
195
+ } catch (_unused) {
198
196
  // Swallow any errors
199
197
  }
200
198
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/give-kudos",
3
- "version": "4.5.1",
3
+ "version": "4.5.2",
4
4
  "description": "Give Kudos experience ",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -44,13 +44,13 @@
44
44
  "@atlaskit/drawer": "^11.0.0",
45
45
  "@atlaskit/icon": "^29.3.0",
46
46
  "@atlaskit/intl-messages-provider": "^2.0.0",
47
- "@atlaskit/link": "^3.2.0",
47
+ "@atlaskit/link": "^3.3.0",
48
48
  "@atlaskit/modal-dialog": "^14.9.0",
49
49
  "@atlaskit/platform-feature-flags": "^1.1.0",
50
50
  "@atlaskit/portal": "^5.1.0",
51
51
  "@atlaskit/primitives": "^17.0.0",
52
52
  "@atlaskit/theme": "^21.0.0",
53
- "@atlaskit/tokens": "^9.0.0",
53
+ "@atlaskit/tokens": "^9.1.0",
54
54
  "@babel/runtime": "^7.0.0",
55
55
  "react-intl-next": "npm:react-intl@^5.18.1"
56
56
  },
@@ -103,7 +103,7 @@
103
103
  }
104
104
  },
105
105
  "platform-feature-flags": {
106
- "ptc-enable-team-profilecard-package": {
106
+ "people-teams-kudos-launcher-z-index": {
107
107
  "type": "boolean"
108
108
  }
109
109
  }