@atlaskit/reactions 33.2.10 → 33.2.12

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,19 @@
1
1
  # @atlaskit/reactions
2
2
 
3
+ ## 33.2.12
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 33.2.11
10
+
11
+ ### Patch Changes
12
+
13
+ - [`f36f3f788a497`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f36f3f788a497) -
14
+ increase portal z-index value for reactions picker
15
+ - Updated dependencies
16
+
3
17
  ## 33.2.10
4
18
 
5
19
  ### Patch Changes
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/MockReactionsClient.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <5.4": {
11
+ ">=4.5 <5.9": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/MockReactionsClient.d.ts"
14
14
  ]
@@ -0,0 +1,105 @@
1
+ {
2
+ "extends": "../../../../tsconfig.entry-points.passionfruit.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "outDir": "../../../../../passionfruit/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-passionfruit/tsconfig.json"
28
+ },
29
+ {
30
+ "path": "../../../analytics/analytics-namespaced-context/afm-passionfruit/tsconfig.json"
31
+ },
32
+ {
33
+ "path": "../../../analytics/analytics-next/afm-passionfruit/tsconfig.json"
34
+ },
35
+ {
36
+ "path": "../../../design-system/avatar/afm-passionfruit/tsconfig.json"
37
+ },
38
+ {
39
+ "path": "../../../design-system/button/afm-passionfruit/tsconfig.json"
40
+ },
41
+ {
42
+ "path": "../../../design-system/css/afm-passionfruit/tsconfig.json"
43
+ },
44
+ {
45
+ "path": "../../emoji/afm-passionfruit/tsconfig.json"
46
+ },
47
+ {
48
+ "path": "../../../design-system/heading/afm-passionfruit/tsconfig.json"
49
+ },
50
+ {
51
+ "path": "../../../design-system/icon/afm-passionfruit/tsconfig.json"
52
+ },
53
+ {
54
+ "path": "../../../design-system/link/afm-passionfruit/tsconfig.json"
55
+ },
56
+ {
57
+ "path": "../../../design-system/modal-dialog/afm-passionfruit/tsconfig.json"
58
+ },
59
+ {
60
+ "path": "../../../design-system/motion/afm-passionfruit/tsconfig.json"
61
+ },
62
+ {
63
+ "path": "../../../platform/feature-flags/afm-passionfruit/tsconfig.json"
64
+ },
65
+ {
66
+ "path": "../../../platform/feature-flags-react/afm-passionfruit/tsconfig.json"
67
+ },
68
+ {
69
+ "path": "../../../design-system/popper/afm-passionfruit/tsconfig.json"
70
+ },
71
+ {
72
+ "path": "../../../design-system/popup/afm-passionfruit/tsconfig.json"
73
+ },
74
+ {
75
+ "path": "../../../design-system/portal/afm-passionfruit/tsconfig.json"
76
+ },
77
+ {
78
+ "path": "../../../design-system/primitives/afm-passionfruit/tsconfig.json"
79
+ },
80
+ {
81
+ "path": "../../../react-ufo/atlaskit/afm-passionfruit/tsconfig.json"
82
+ },
83
+ {
84
+ "path": "../../../design-system/spinner/afm-passionfruit/tsconfig.json"
85
+ },
86
+ {
87
+ "path": "../../../design-system/tabs/afm-passionfruit/tsconfig.json"
88
+ },
89
+ {
90
+ "path": "../../../design-system/theme/afm-passionfruit/tsconfig.json"
91
+ },
92
+ {
93
+ "path": "../../../design-system/tokens/afm-passionfruit/tsconfig.json"
94
+ },
95
+ {
96
+ "path": "../../../design-system/tooltip/afm-passionfruit/tsconfig.json"
97
+ },
98
+ {
99
+ "path": "../../../data/ufo-external/afm-passionfruit/tsconfig.json"
100
+ },
101
+ {
102
+ "path": "../../util-service-support/afm-passionfruit/tsconfig.json"
103
+ }
104
+ ]
105
+ }
@@ -0,0 +1,105 @@
1
+ {
2
+ "extends": "../../../../tsconfig.entry-points.rovo-extension.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "outDir": "../../../../../rovo-extension/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-rovo-extension/tsconfig.json"
28
+ },
29
+ {
30
+ "path": "../../../analytics/analytics-namespaced-context/afm-rovo-extension/tsconfig.json"
31
+ },
32
+ {
33
+ "path": "../../../analytics/analytics-next/afm-rovo-extension/tsconfig.json"
34
+ },
35
+ {
36
+ "path": "../../../design-system/avatar/afm-rovo-extension/tsconfig.json"
37
+ },
38
+ {
39
+ "path": "../../../design-system/button/afm-rovo-extension/tsconfig.json"
40
+ },
41
+ {
42
+ "path": "../../../design-system/css/afm-rovo-extension/tsconfig.json"
43
+ },
44
+ {
45
+ "path": "../../emoji/afm-rovo-extension/tsconfig.json"
46
+ },
47
+ {
48
+ "path": "../../../design-system/heading/afm-rovo-extension/tsconfig.json"
49
+ },
50
+ {
51
+ "path": "../../../design-system/icon/afm-rovo-extension/tsconfig.json"
52
+ },
53
+ {
54
+ "path": "../../../design-system/link/afm-rovo-extension/tsconfig.json"
55
+ },
56
+ {
57
+ "path": "../../../design-system/modal-dialog/afm-rovo-extension/tsconfig.json"
58
+ },
59
+ {
60
+ "path": "../../../design-system/motion/afm-rovo-extension/tsconfig.json"
61
+ },
62
+ {
63
+ "path": "../../../platform/feature-flags/afm-rovo-extension/tsconfig.json"
64
+ },
65
+ {
66
+ "path": "../../../platform/feature-flags-react/afm-rovo-extension/tsconfig.json"
67
+ },
68
+ {
69
+ "path": "../../../design-system/popper/afm-rovo-extension/tsconfig.json"
70
+ },
71
+ {
72
+ "path": "../../../design-system/popup/afm-rovo-extension/tsconfig.json"
73
+ },
74
+ {
75
+ "path": "../../../design-system/portal/afm-rovo-extension/tsconfig.json"
76
+ },
77
+ {
78
+ "path": "../../../design-system/primitives/afm-rovo-extension/tsconfig.json"
79
+ },
80
+ {
81
+ "path": "../../../react-ufo/atlaskit/afm-rovo-extension/tsconfig.json"
82
+ },
83
+ {
84
+ "path": "../../../design-system/spinner/afm-rovo-extension/tsconfig.json"
85
+ },
86
+ {
87
+ "path": "../../../design-system/tabs/afm-rovo-extension/tsconfig.json"
88
+ },
89
+ {
90
+ "path": "../../../design-system/theme/afm-rovo-extension/tsconfig.json"
91
+ },
92
+ {
93
+ "path": "../../../design-system/tokens/afm-rovo-extension/tsconfig.json"
94
+ },
95
+ {
96
+ "path": "../../../design-system/tooltip/afm-rovo-extension/tsconfig.json"
97
+ },
98
+ {
99
+ "path": "../../../data/ufo-external/afm-rovo-extension/tsconfig.json"
100
+ },
101
+ {
102
+ "path": "../../util-service-support/afm-rovo-extension/tsconfig.json"
103
+ }
104
+ ]
105
+ }
@@ -14,7 +14,13 @@
14
14
  "exclude": [
15
15
  "../src/**/__tests__/*",
16
16
  "../src/**/*.test.*",
17
- "../src/**/test.*"
17
+ "../src/**/test.*",
18
+ "../src/**/examples.*",
19
+ "../src/**/examples/*",
20
+ "../src/**/examples/**/*",
21
+ "../src/**/*.stories.*",
22
+ "../src/**/stories/*",
23
+ "../src/**/stories/**/*"
18
24
  ],
19
25
  "references": [
20
26
  {
@@ -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.2.9";
14
+ var packageVersion = "33.2.11";
15
15
  /**
16
16
  * TODO: move to utility package?
17
17
  * A random sampling function
@@ -321,7 +321,7 @@ var ReactionPicker = exports.ReactionPicker = /*#__PURE__*/_react.default.memo(f
321
321
  }))
322
322
  );
323
323
  }), isPopupTrayOpen && /*#__PURE__*/_react.default.createElement(_portal.default, {
324
- zIndex: _constants.layers.layer()
324
+ zIndex: _constants.layers.flag()
325
325
  }, /*#__PURE__*/_react.default.createElement(PopperWrapper, {
326
326
  settings: settings,
327
327
  popperModifiers: popperModifiers,
@@ -29,8 +29,11 @@ var _ReactionPicker = require("./ReactionPicker");
29
29
  var _ReactionPickerNew = require("./ReactionPickerNew");
30
30
  var _ReactionSummaryView = require("./ReactionSummaryView");
31
31
  var _platformFeatureFlagsReact = require("@atlaskit/platform-feature-flags-react");
32
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
32
33
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
33
- var ReactionPicker = (0, _platformFeatureFlagsReact.componentWithFG)('platform_editor_reactions_picker_fix', _ReactionPickerNew.ReactionPicker, _ReactionPicker.ReactionPicker);
34
+ var ReactionPicker = (0, _platformFeatureFlagsReact.componentWithCondition)(function () {
35
+ return (0, _platformFeatureFlags.fg)('platform_editor_reactions_picker_fix') || (0, _platformFeatureFlags.fg)('platform_editor_reactions_picker_fix_jira');
36
+ }, _ReactionPickerNew.ReactionPicker, _ReactionPicker.ReactionPicker);
34
37
  var wrapperStyle = null;
35
38
  var noFlexWrapStyles = null;
36
39
  var noContainerPositionStyles = null;
@@ -14,7 +14,10 @@ var _ufo = require("../../ufo");
14
14
  var _ReactionPicker = require("../../components/ReactionPicker");
15
15
  var _ReactionPickerNew = require("../../components/ReactionPickerNew");
16
16
  var _platformFeatureFlagsReact = require("@atlaskit/platform-feature-flags-react");
17
- var ReactionPicker = (0, _platformFeatureFlagsReact.componentWithFG)('platform_editor_reactions_picker_fix', _ReactionPickerNew.ReactionPicker, _ReactionPicker.ReactionPicker);
17
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
18
+ var ReactionPicker = (0, _platformFeatureFlagsReact.componentWithCondition)(function () {
19
+ return (0, _platformFeatureFlags.fg)('platform_editor_reactions_picker_fix') || (0, _platformFeatureFlags.fg)('platform_editor_reactions_picker_fix_jira');
20
+ }, _ReactionPickerNew.ReactionPicker, _ReactionPicker.ReactionPicker);
18
21
  /**
19
22
  * Reaction Picker component
20
23
  */
@@ -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.2.9";
4
+ const packageVersion = "33.2.11";
5
5
  /**
6
6
  * TODO: move to utility package?
7
7
  * A random sampling function
@@ -278,7 +278,7 @@ export const ReactionPicker = /*#__PURE__*/React.memo(props => {
278
278
  reactionPickerTriggerText: reactionPickerTriggerText,
279
279
  isListItem: isListItem
280
280
  }))), isPopupTrayOpen && /*#__PURE__*/React.createElement(Portal, {
281
- zIndex: layers.layer()
281
+ zIndex: layers.flag()
282
282
  }, /*#__PURE__*/React.createElement(PopperWrapper, {
283
283
  settings: settings,
284
284
  popperModifiers: popperModifiers,
@@ -16,8 +16,11 @@ import { ReactionsDialog } from './ReactionsDialog';
16
16
  import { ReactionPicker as ReactionPickerOld } from './ReactionPicker';
17
17
  import { ReactionPicker as ReactionPickerNew } from './ReactionPickerNew';
18
18
  import { ReactionSummaryView } from './ReactionSummaryView';
19
- import { componentWithFG } from '@atlaskit/platform-feature-flags-react';
20
- const ReactionPicker = componentWithFG('platform_editor_reactions_picker_fix', ReactionPickerNew, ReactionPickerOld);
19
+ import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
20
+ import { fg } from '@atlaskit/platform-feature-flags';
21
+ const ReactionPicker = componentWithCondition(() => {
22
+ return fg('platform_editor_reactions_picker_fix') || fg('platform_editor_reactions_picker_fix_jira');
23
+ }, ReactionPickerNew, ReactionPickerOld);
21
24
  const wrapperStyle = null;
22
25
  const noFlexWrapStyles = null;
23
26
  const noContainerPositionStyles = null;
@@ -4,8 +4,11 @@ import { UfoErrorBoundary } from '../../components';
4
4
  import { PickerRender } from '../../ufo';
5
5
  import { ReactionPicker as ReactionPickerOld } from '../../components/ReactionPicker';
6
6
  import { ReactionPicker as ReactionPickerNew } from '../../components/ReactionPickerNew';
7
- import { componentWithFG } from '@atlaskit/platform-feature-flags-react';
8
- const ReactionPicker = componentWithFG('platform_editor_reactions_picker_fix', ReactionPickerNew, ReactionPickerOld);
7
+ import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
8
+ import { fg } from '@atlaskit/platform-feature-flags';
9
+ const ReactionPicker = componentWithCondition(() => {
10
+ return fg('platform_editor_reactions_picker_fix') || fg('platform_editor_reactions_picker_fix_jira');
11
+ }, ReactionPickerNew, ReactionPickerOld);
9
12
  /**
10
13
  * Reaction Picker component
11
14
  */
@@ -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.2.9";
7
+ var packageVersion = "33.2.11";
8
8
  /**
9
9
  * TODO: move to utility package?
10
10
  * A random sampling function
@@ -312,7 +312,7 @@ export var ReactionPicker = /*#__PURE__*/React.memo(function (props) {
312
312
  }))
313
313
  );
314
314
  }), isPopupTrayOpen && /*#__PURE__*/React.createElement(Portal, {
315
- zIndex: layers.layer()
315
+ zIndex: layers.flag()
316
316
  }, /*#__PURE__*/React.createElement(PopperWrapper, {
317
317
  settings: settings,
318
318
  popperModifiers: popperModifiers,
@@ -18,8 +18,11 @@ import { ReactionsDialog } from './ReactionsDialog';
18
18
  import { ReactionPicker as ReactionPickerOld } from './ReactionPicker';
19
19
  import { ReactionPicker as ReactionPickerNew } from './ReactionPickerNew';
20
20
  import { ReactionSummaryView } from './ReactionSummaryView';
21
- import { componentWithFG } from '@atlaskit/platform-feature-flags-react';
22
- var ReactionPicker = componentWithFG('platform_editor_reactions_picker_fix', ReactionPickerNew, ReactionPickerOld);
21
+ import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
22
+ import { fg } from '@atlaskit/platform-feature-flags';
23
+ var ReactionPicker = componentWithCondition(function () {
24
+ return fg('platform_editor_reactions_picker_fix') || fg('platform_editor_reactions_picker_fix_jira');
25
+ }, ReactionPickerNew, ReactionPickerOld);
23
26
  var wrapperStyle = null;
24
27
  var noFlexWrapStyles = null;
25
28
  var noContainerPositionStyles = null;
@@ -6,8 +6,11 @@ import { UfoErrorBoundary } from '../../components';
6
6
  import { PickerRender } from '../../ufo';
7
7
  import { ReactionPicker as ReactionPickerOld } from '../../components/ReactionPicker';
8
8
  import { ReactionPicker as ReactionPickerNew } from '../../components/ReactionPickerNew';
9
- import { componentWithFG } from '@atlaskit/platform-feature-flags-react';
10
- var ReactionPicker = componentWithFG('platform_editor_reactions_picker_fix', ReactionPickerNew, ReactionPickerOld);
9
+ import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
10
+ import { fg } from '@atlaskit/platform-feature-flags';
11
+ var ReactionPicker = componentWithCondition(function () {
12
+ return fg('platform_editor_reactions_picker_fix') || fg('platform_editor_reactions_picker_fix_jira');
13
+ }, ReactionPickerNew, ReactionPickerOld);
11
14
  /**
12
15
  * Reaction Picker component
13
16
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/reactions",
3
- "version": "33.2.10",
3
+ "version": "33.2.12",
4
4
  "description": "Reactions component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -35,21 +35,21 @@
35
35
  "@atlaskit/analytics-namespaced-context": "^7.0.0",
36
36
  "@atlaskit/analytics-next": "^11.1.0",
37
37
  "@atlaskit/avatar": "^25.1.0",
38
- "@atlaskit/button": "^23.3.0",
38
+ "@atlaskit/button": "^23.4.0",
39
39
  "@atlaskit/css": "^0.12.0",
40
- "@atlaskit/emoji": "^69.3.0",
40
+ "@atlaskit/emoji": "^69.5.0",
41
41
  "@atlaskit/heading": "^5.2.0",
42
- "@atlaskit/icon": "^27.11.0",
42
+ "@atlaskit/icon": "^28.0.0",
43
43
  "@atlaskit/link": "^3.2.0",
44
44
  "@atlaskit/modal-dialog": "^14.3.0",
45
- "@atlaskit/motion": "^5.2.0",
45
+ "@atlaskit/motion": "^5.3.0",
46
46
  "@atlaskit/platform-feature-flags": "^1.1.0",
47
47
  "@atlaskit/platform-feature-flags-react": "^0.2.0",
48
48
  "@atlaskit/popper": "^7.1.0",
49
49
  "@atlaskit/popup": "^4.3.0",
50
50
  "@atlaskit/portal": "^5.1.0",
51
51
  "@atlaskit/primitives": "^14.11.0",
52
- "@atlaskit/react-ufo": "^4.2.0",
52
+ "@atlaskit/react-ufo": "^4.4.0",
53
53
  "@atlaskit/spinner": "^19.0.0",
54
54
  "@atlaskit/tabs": "^18.1.0",
55
55
  "@atlaskit/theme": "^19.0.0",
@@ -127,6 +127,9 @@
127
127
  "platform_editor_reactions_picker_fix": {
128
128
  "type": "boolean"
129
129
  },
130
+ "platform_editor_reactions_picker_fix_jira": {
131
+ "type": "boolean"
132
+ },
130
133
  "dst-a11y__replace-anchor-with-link__editor-collabo": {
131
134
  "type": "boolean"
132
135
  },