@atlaskit/reactions 33.6.0 → 33.6.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,26 @@
1
1
  # @atlaskit/reactions
2
2
 
3
+ ## 33.6.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`93b3e16465a92`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/93b3e16465a92) -
8
+ Clean up feature gate platform_reaction_full_picker_hover
9
+
10
+ ## 33.6.2
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+
16
+ ## 33.6.1
17
+
18
+ ### Patch Changes
19
+
20
+ - [`fcf19235f6097`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/fcf19235f6097) -
21
+ Clean up feature flag.
22
+ - Updated dependencies
23
+
3
24
  ## 33.6.0
4
25
 
5
26
  ### Minor Changes
@@ -11,7 +11,7 @@ var _analyticsGasTypes = require("@atlaskit/analytics-gas-types");
11
11
  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; }
12
12
  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) { (0, _defineProperty2.default)(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; }
13
13
  var packageName = "@atlaskit/reactions";
14
- var packageVersion = "33.5.0";
14
+ var packageVersion = "0.0.0-development";
15
15
  /**
16
16
  * TODO: move to utility package?
17
17
  * A random sampling function
@@ -337,7 +337,7 @@ var ReactionPicker = exports.ReactionPicker = /*#__PURE__*/_react.default.memo(f
337
337
  onClose: onClose,
338
338
  triggerRef: triggerRef,
339
339
  zIndex: (0, _platformFeatureFlags.fg)('platform_reactions_custom_popper_zindex') ? reactionPickerPopperZIndex || _constants.layers.flag() : _constants.layers.layer()
340
- }, settings.showFullPicker || hoverableReactionPicker && isHoverableReactionPickerEmojiPickerOpen ? (0, _platformFeatureFlags.fg)('platform_reaction_full_picker_hover') ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
340
+ }, settings.showFullPicker || hoverableReactionPicker && isHoverableReactionPickerEmojiPickerOpen ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
341
341
  xcss: additionalStyles.selectorContainer,
342
342
  onMouseEnter: handlePopupMouseEnter,
343
343
  onMouseLeave: handlePopupMouseLeave
@@ -345,11 +345,7 @@ var ReactionPicker = exports.ReactionPicker = /*#__PURE__*/_react.default.memo(f
345
345
  emojiProvider: emojiProvider,
346
346
  onSelection: onEmojiSelected,
347
347
  size: emojiPickerSize
348
- })) : /*#__PURE__*/_react.default.createElement(_picker.EmojiPicker, {
349
- emojiProvider: emojiProvider,
350
- onSelection: onEmojiSelected,
351
- size: emojiPickerSize
352
- }) : /*#__PURE__*/_react.default.createElement(_compiled.Box, {
348
+ })) : /*#__PURE__*/_react.default.createElement(_compiled.Box, {
353
349
  xcss: additionalStyles.selectorContainer,
354
350
  onMouseEnter: handlePopupMouseEnter,
355
351
  onMouseLeave: handlePopupMouseLeave
@@ -15,7 +15,6 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
15
15
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
16
16
  var _popup = _interopRequireDefault(require("@atlaskit/popup"));
17
17
  var _picker = require("@atlaskit/emoji/picker");
18
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
19
18
  var _useDelayedState3 = require("../hooks/useDelayedState");
20
19
  var _Reaction = require("./Reaction");
21
20
  var _Trigger = require("./Trigger");
@@ -249,7 +248,6 @@ var ReactionSummaryView = exports.ReactionSummaryView = function ReactionSummary
249
248
  summaryButtonIconAfter: summaryButtonIconAfter,
250
249
  summaryViewParticleEffectEmojiId: summaryViewParticleEffectEmojiId
251
250
  }));
252
- },
253
- shouldRenderToParent: !hoverableSummaryView && (0, _platformFeatureFlags.fg)('should-render-to-parent-should-be-true-editor-coll')
251
+ }
254
252
  });
255
253
  };
@@ -96,9 +96,7 @@ var ReactionsDialog = exports.ReactionsDialog = function ReactionsDialog(_ref) {
96
96
  return /*#__PURE__*/React.createElement(_modalDialog.default, {
97
97
  onClose: handleCloseReactionsDialog,
98
98
  height: 600,
99
- testId: RENDER_MODAL_TESTID
100
- // eslint-disable-next-line @atlassian/a11y/no-autofocus
101
- ,
99
+ testId: RENDER_MODAL_TESTID,
102
100
  autoFocus: (0, _platformFeatureFlags.fg)('platform-a11y-remove-autofocus-prop') ? true : false
103
101
  }, /*#__PURE__*/React.createElement(_tabs.default, {
104
102
  id: "reactions-dialog-tabs",
@@ -1,7 +1,7 @@
1
1
  import { createAndFireEvent } from '@atlaskit/analytics-next';
2
2
  import { UI_EVENT_TYPE, OPERATIONAL_EVENT_TYPE } from '@atlaskit/analytics-gas-types';
3
3
  const packageName = "@atlaskit/reactions";
4
- const packageVersion = "33.5.0";
4
+ const packageVersion = "0.0.0-development";
5
5
  /**
6
6
  * TODO: move to utility package?
7
7
  * A random sampling function
@@ -292,7 +292,7 @@ export const ReactionPicker = /*#__PURE__*/React.memo(props => {
292
292
  onClose: onClose,
293
293
  triggerRef: triggerRef,
294
294
  zIndex: fg('platform_reactions_custom_popper_zindex') ? reactionPickerPopperZIndex || layers.flag() : layers.layer()
295
- }, settings.showFullPicker || hoverableReactionPicker && isHoverableReactionPickerEmojiPickerOpen ? fg('platform_reaction_full_picker_hover') ? /*#__PURE__*/React.createElement(Box, {
295
+ }, settings.showFullPicker || hoverableReactionPicker && isHoverableReactionPickerEmojiPickerOpen ? /*#__PURE__*/React.createElement(Box, {
296
296
  xcss: additionalStyles.selectorContainer,
297
297
  onMouseEnter: handlePopupMouseEnter,
298
298
  onMouseLeave: handlePopupMouseLeave
@@ -300,11 +300,7 @@ export const ReactionPicker = /*#__PURE__*/React.memo(props => {
300
300
  emojiProvider: emojiProvider,
301
301
  onSelection: onEmojiSelected,
302
302
  size: emojiPickerSize
303
- })) : /*#__PURE__*/React.createElement(EmojiPicker, {
304
- emojiProvider: emojiProvider,
305
- onSelection: onEmojiSelected,
306
- size: emojiPickerSize
307
- }) : /*#__PURE__*/React.createElement(Box, {
303
+ })) : /*#__PURE__*/React.createElement(Box, {
308
304
  xcss: additionalStyles.selectorContainer,
309
305
  onMouseEnter: handlePopupMouseEnter,
310
306
  onMouseLeave: handlePopupMouseLeave
@@ -6,7 +6,6 @@ import { ax, ix } from "@compiled/react/runtime";
6
6
  import { useCallback, useState } from 'react';
7
7
  import Popup from '@atlaskit/popup';
8
8
  import { EmojiPicker } from '@atlaskit/emoji/picker';
9
- import { fg } from '@atlaskit/platform-feature-flags';
10
9
  import { useDelayedState } from '../hooks/useDelayedState';
11
10
  import { Reaction } from './Reaction';
12
11
  import { Trigger as EmojiPickerTrigger } from './Trigger';
@@ -211,7 +210,6 @@ export const ReactionSummaryView = ({
211
210
  summaryGetOptimisticImageURL: summaryGetOptimisticImageURL,
212
211
  summaryButtonIconAfter: summaryButtonIconAfter,
213
212
  summaryViewParticleEffectEmojiId: summaryViewParticleEffectEmojiId
214
- })),
215
- shouldRenderToParent: !hoverableSummaryView && fg('should-render-to-parent-should-be-true-editor-coll')
213
+ }))
216
214
  });
217
215
  };
@@ -71,9 +71,7 @@ export const ReactionsDialog = ({
71
71
  return /*#__PURE__*/React.createElement(Modal, {
72
72
  onClose: handleCloseReactionsDialog,
73
73
  height: 600,
74
- testId: RENDER_MODAL_TESTID
75
- // eslint-disable-next-line @atlassian/a11y/no-autofocus
76
- ,
74
+ testId: RENDER_MODAL_TESTID,
77
75
  autoFocus: fg('platform-a11y-remove-autofocus-prop') ? true : false
78
76
  }, /*#__PURE__*/React.createElement(Tabs, {
79
77
  id: "reactions-dialog-tabs",
@@ -4,7 +4,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
4
4
  import { createAndFireEvent } from '@atlaskit/analytics-next';
5
5
  import { UI_EVENT_TYPE, OPERATIONAL_EVENT_TYPE } from '@atlaskit/analytics-gas-types';
6
6
  var packageName = "@atlaskit/reactions";
7
- var packageVersion = "33.5.0";
7
+ var packageVersion = "0.0.0-development";
8
8
  /**
9
9
  * TODO: move to utility package?
10
10
  * A random sampling function
@@ -328,7 +328,7 @@ export var ReactionPicker = /*#__PURE__*/React.memo(function (props) {
328
328
  onClose: onClose,
329
329
  triggerRef: triggerRef,
330
330
  zIndex: fg('platform_reactions_custom_popper_zindex') ? reactionPickerPopperZIndex || layers.flag() : layers.layer()
331
- }, settings.showFullPicker || hoverableReactionPicker && isHoverableReactionPickerEmojiPickerOpen ? fg('platform_reaction_full_picker_hover') ? /*#__PURE__*/React.createElement(Box, {
331
+ }, settings.showFullPicker || hoverableReactionPicker && isHoverableReactionPickerEmojiPickerOpen ? /*#__PURE__*/React.createElement(Box, {
332
332
  xcss: additionalStyles.selectorContainer,
333
333
  onMouseEnter: handlePopupMouseEnter,
334
334
  onMouseLeave: handlePopupMouseLeave
@@ -336,11 +336,7 @@ export var ReactionPicker = /*#__PURE__*/React.memo(function (props) {
336
336
  emojiProvider: emojiProvider,
337
337
  onSelection: onEmojiSelected,
338
338
  size: emojiPickerSize
339
- })) : /*#__PURE__*/React.createElement(EmojiPicker, {
340
- emojiProvider: emojiProvider,
341
- onSelection: onEmojiSelected,
342
- size: emojiPickerSize
343
- }) : /*#__PURE__*/React.createElement(Box, {
339
+ })) : /*#__PURE__*/React.createElement(Box, {
344
340
  xcss: additionalStyles.selectorContainer,
345
341
  onMouseEnter: handlePopupMouseEnter,
346
342
  onMouseLeave: handlePopupMouseLeave
@@ -7,7 +7,6 @@ import { ax, ix } from "@compiled/react/runtime";
7
7
  import { useCallback, useState } from 'react';
8
8
  import Popup from '@atlaskit/popup';
9
9
  import { EmojiPicker } from '@atlaskit/emoji/picker';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
10
  import { useDelayedState } from '../hooks/useDelayedState';
12
11
  import { Reaction } from './Reaction';
13
12
  import { Trigger as EmojiPickerTrigger } from './Trigger';
@@ -240,7 +239,6 @@ export var ReactionSummaryView = function ReactionSummaryView(_ref) {
240
239
  summaryButtonIconAfter: summaryButtonIconAfter,
241
240
  summaryViewParticleEffectEmojiId: summaryViewParticleEffectEmojiId
242
241
  }));
243
- },
244
- shouldRenderToParent: !hoverableSummaryView && fg('should-render-to-parent-should-be-true-editor-coll')
242
+ }
245
243
  });
246
244
  };
@@ -87,9 +87,7 @@ export var ReactionsDialog = function ReactionsDialog(_ref) {
87
87
  return /*#__PURE__*/React.createElement(Modal, {
88
88
  onClose: handleCloseReactionsDialog,
89
89
  height: 600,
90
- testId: RENDER_MODAL_TESTID
91
- // eslint-disable-next-line @atlassian/a11y/no-autofocus
92
- ,
90
+ testId: RENDER_MODAL_TESTID,
93
91
  autoFocus: fg('platform-a11y-remove-autofocus-prop') ? true : false
94
92
  }, /*#__PURE__*/React.createElement(Tabs, {
95
93
  id: "reactions-dialog-tabs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/reactions",
3
- "version": "33.6.0",
3
+ "version": "33.6.3",
4
4
  "description": "Reactions component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -45,17 +45,17 @@
45
45
  "@atlaskit/modal-dialog": "^14.6.0",
46
46
  "@atlaskit/motion": "^5.3.0",
47
47
  "@atlaskit/platform-feature-flags": "^1.1.0",
48
- "@atlaskit/platform-feature-flags-react": "^0.3.0",
48
+ "@atlaskit/platform-feature-flags-react": "^0.4.0",
49
49
  "@atlaskit/popper": "^7.1.0",
50
- "@atlaskit/popup": "^4.4.0",
50
+ "@atlaskit/popup": "^4.6.0",
51
51
  "@atlaskit/portal": "^5.1.0",
52
- "@atlaskit/primitives": "^16.0.0",
53
- "@atlaskit/react-ufo": "^4.12.0",
52
+ "@atlaskit/primitives": "^16.1.0",
53
+ "@atlaskit/react-ufo": "^4.14.0",
54
54
  "@atlaskit/spinner": "^19.0.0",
55
55
  "@atlaskit/tabs": "^18.2.0",
56
56
  "@atlaskit/theme": "^21.0.0",
57
- "@atlaskit/tokens": "^7.0.0",
58
- "@atlaskit/tooltip": "^20.6.0",
57
+ "@atlaskit/tokens": "^7.1.0",
58
+ "@atlaskit/tooltip": "^20.7.0",
59
59
  "@atlaskit/ufo": "^0.4.0",
60
60
  "@atlaskit/util-service-support": "^6.3.0",
61
61
  "@babel/runtime": "^7.0.0",
@@ -127,9 +127,6 @@
127
127
  "dst-a11y__replace-anchor-with-link__editor-collabo": {
128
128
  "type": "boolean"
129
129
  },
130
- "should-render-to-parent-should-be-true-editor-coll": {
131
- "type": "boolean"
132
- },
133
130
  "platform_optimistic_reaction_emoji": {
134
131
  "type": "boolean"
135
132
  },
@@ -139,9 +136,6 @@
139
136
  "platform-a11y-remove-autofocus-prop": {
140
137
  "type": "boolean"
141
138
  },
142
- "platform_reaction_full_picker_hover": {
143
- "type": "boolean"
144
- },
145
139
  "platform_reactions_custom_popper_zindex": {
146
140
  "type": "boolean"
147
141
  },
@@ -1,105 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.post-office.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../post-office/tsDist/@atlaskit__reactions/app",
7
- "rootDir": "../",
8
- "composite": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*",
18
- "../src/**/examples.*",
19
- "../src/**/examples/*",
20
- "../src/**/examples/**/*",
21
- "../src/**/*.stories.*",
22
- "../src/**/stories/*",
23
- "../src/**/stories/**/*"
24
- ],
25
- "references": [
26
- {
27
- "path": "../../../analytics/analytics-gas-types/afm-post-office/tsconfig.json"
28
- },
29
- {
30
- "path": "../../../analytics/analytics-namespaced-context/afm-post-office/tsconfig.json"
31
- },
32
- {
33
- "path": "../../../analytics/analytics-next/afm-post-office/tsconfig.json"
34
- },
35
- {
36
- "path": "../../../design-system/avatar/afm-post-office/tsconfig.json"
37
- },
38
- {
39
- "path": "../../../design-system/button/afm-post-office/tsconfig.json"
40
- },
41
- {
42
- "path": "../../../design-system/css/afm-post-office/tsconfig.json"
43
- },
44
- {
45
- "path": "../../emoji/afm-post-office/tsconfig.json"
46
- },
47
- {
48
- "path": "../../../design-system/heading/afm-post-office/tsconfig.json"
49
- },
50
- {
51
- "path": "../../../design-system/icon/afm-post-office/tsconfig.json"
52
- },
53
- {
54
- "path": "../../../design-system/link/afm-post-office/tsconfig.json"
55
- },
56
- {
57
- "path": "../../../design-system/modal-dialog/afm-post-office/tsconfig.json"
58
- },
59
- {
60
- "path": "../../../design-system/motion/afm-post-office/tsconfig.json"
61
- },
62
- {
63
- "path": "../../../platform/feature-flags/afm-post-office/tsconfig.json"
64
- },
65
- {
66
- "path": "../../../platform/feature-flags-react/afm-post-office/tsconfig.json"
67
- },
68
- {
69
- "path": "../../../design-system/popper/afm-post-office/tsconfig.json"
70
- },
71
- {
72
- "path": "../../../design-system/popup/afm-post-office/tsconfig.json"
73
- },
74
- {
75
- "path": "../../../design-system/portal/afm-post-office/tsconfig.json"
76
- },
77
- {
78
- "path": "../../../design-system/primitives/afm-post-office/tsconfig.json"
79
- },
80
- {
81
- "path": "../../../react-ufo/atlaskit/afm-post-office/tsconfig.json"
82
- },
83
- {
84
- "path": "../../../design-system/spinner/afm-post-office/tsconfig.json"
85
- },
86
- {
87
- "path": "../../../design-system/tabs/afm-post-office/tsconfig.json"
88
- },
89
- {
90
- "path": "../../../design-system/theme/afm-post-office/tsconfig.json"
91
- },
92
- {
93
- "path": "../../../design-system/tokens/afm-post-office/tsconfig.json"
94
- },
95
- {
96
- "path": "../../../design-system/tooltip/afm-post-office/tsconfig.json"
97
- },
98
- {
99
- "path": "../../../data/ufo-external/afm-post-office/tsconfig.json"
100
- },
101
- {
102
- "path": "../../util-service-support/afm-post-office/tsconfig.json"
103
- }
104
- ]
105
- }
@@ -1,105 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.townsquare.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../townsquare/tsDist/@atlaskit__reactions/app",
7
- "rootDir": "../",
8
- "composite": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*",
18
- "../src/**/examples.*",
19
- "../src/**/examples/*",
20
- "../src/**/examples/**/*",
21
- "../src/**/*.stories.*",
22
- "../src/**/stories/*",
23
- "../src/**/stories/**/*"
24
- ],
25
- "references": [
26
- {
27
- "path": "../../../analytics/analytics-gas-types/afm-townsquare/tsconfig.json"
28
- },
29
- {
30
- "path": "../../../analytics/analytics-namespaced-context/afm-townsquare/tsconfig.json"
31
- },
32
- {
33
- "path": "../../../analytics/analytics-next/afm-townsquare/tsconfig.json"
34
- },
35
- {
36
- "path": "../../../design-system/avatar/afm-townsquare/tsconfig.json"
37
- },
38
- {
39
- "path": "../../../design-system/button/afm-townsquare/tsconfig.json"
40
- },
41
- {
42
- "path": "../../../design-system/css/afm-townsquare/tsconfig.json"
43
- },
44
- {
45
- "path": "../../emoji/afm-townsquare/tsconfig.json"
46
- },
47
- {
48
- "path": "../../../design-system/heading/afm-townsquare/tsconfig.json"
49
- },
50
- {
51
- "path": "../../../design-system/icon/afm-townsquare/tsconfig.json"
52
- },
53
- {
54
- "path": "../../../design-system/link/afm-townsquare/tsconfig.json"
55
- },
56
- {
57
- "path": "../../../design-system/modal-dialog/afm-townsquare/tsconfig.json"
58
- },
59
- {
60
- "path": "../../../design-system/motion/afm-townsquare/tsconfig.json"
61
- },
62
- {
63
- "path": "../../../platform/feature-flags/afm-townsquare/tsconfig.json"
64
- },
65
- {
66
- "path": "../../../platform/feature-flags-react/afm-townsquare/tsconfig.json"
67
- },
68
- {
69
- "path": "../../../design-system/popper/afm-townsquare/tsconfig.json"
70
- },
71
- {
72
- "path": "../../../design-system/popup/afm-townsquare/tsconfig.json"
73
- },
74
- {
75
- "path": "../../../design-system/portal/afm-townsquare/tsconfig.json"
76
- },
77
- {
78
- "path": "../../../design-system/primitives/afm-townsquare/tsconfig.json"
79
- },
80
- {
81
- "path": "../../../react-ufo/atlaskit/afm-townsquare/tsconfig.json"
82
- },
83
- {
84
- "path": "../../../design-system/spinner/afm-townsquare/tsconfig.json"
85
- },
86
- {
87
- "path": "../../../design-system/tabs/afm-townsquare/tsconfig.json"
88
- },
89
- {
90
- "path": "../../../design-system/theme/afm-townsquare/tsconfig.json"
91
- },
92
- {
93
- "path": "../../../design-system/tokens/afm-townsquare/tsconfig.json"
94
- },
95
- {
96
- "path": "../../../design-system/tooltip/afm-townsquare/tsconfig.json"
97
- },
98
- {
99
- "path": "../../../data/ufo-external/afm-townsquare/tsconfig.json"
100
- },
101
- {
102
- "path": "../../util-service-support/afm-townsquare/tsconfig.json"
103
- }
104
- ]
105
- }