@atlaskit/reactions 33.2.13 → 33.2.15

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.15
4
+
5
+ ### Patch Changes
6
+
7
+ - [`43eef8d7fddd8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/43eef8d7fddd8) -
8
+ add reaction picker portal fix feature flag for jira
9
+ - Updated dependencies
10
+
11
+ ## 33.2.14
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 33.2.13
4
18
 
5
19
  ### Patch Changes
@@ -102,4 +102,4 @@
102
102
  "path": "../../util-service-support/afm-cc/tsconfig.json"
103
103
  }
104
104
  ]
105
- }
105
+ }
@@ -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.12";
14
+ var packageVersion = "33.2.14";
15
15
  /**
16
16
  * TODO: move to utility package?
17
17
  * A random sampling function
@@ -1,6 +1,6 @@
1
1
 
2
- ._2rko14q2{border-radius:var(--ds-border-radius-circle,2002pc)}
3
2
  ._2rko19bv{border-radius:10px}
3
+ ._2rko1twn{border-radius:var(--ds-border-radius-circle,9999px)}
4
4
  ._2rkoglpi{border-radius:var(--ds-border-radius,4px)}
5
5
  ._2rkogqwt{border-radius:var(--ds-border-radius-050,2px)}
6
6
  ._189ee4h9{border-width:var(--ds-border-width,1px)}
@@ -17,7 +17,7 @@ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
17
17
  var _compiled = require("@atlaskit/primitives/compiled");
18
18
  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); }
19
19
  var styles = {
20
- reactionButton: "_2rko14q2 _1reo15vq _18m915vq _189ee4h9 _1dqonqa1 _1h6dmuej _1e0c1txw _2lx2vrvc _4cvr1y6m _1ul914no _4t3i1tcg _bfhksm61 _syaz1gjq _1pfh1b66 _12l21b66 _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _irr3166n _1di61dty",
20
+ reactionButton: "_2rko1twn _1reo15vq _18m915vq _189ee4h9 _1dqonqa1 _1h6dmuej _1e0c1txw _2lx2vrvc _4cvr1y6m _1ul914no _4t3i1tcg _bfhksm61 _syaz1gjq _1pfh1b66 _12l21b66 _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _irr3166n _1di61dty",
21
21
  reactionStylesRefresh: "_2rkoglpi",
22
22
  reacted: "_1h6d1yqz _bfhkfg4m _irr3i1yw _1di619ru",
23
23
  opaqueBackground: "_bfhkvuon _irr3108i _1di61ji5",
@@ -1,5 +1,5 @@
1
1
  ._11c8dcr7{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
2
- ._2rko14q2{border-radius:var(--ds-border-radius-circle,2002pc)}
2
+ ._2rko1twn{border-radius:var(--ds-border-radius-circle,9999px)}
3
3
  ._2rkoglpi{border-radius:var(--ds-border-radius,4px)}
4
4
  ._qtt8glyw{list-style:none}
5
5
  ._189ee4h9{border-width:var(--ds-border-width,1px)}
@@ -17,7 +17,7 @@ var _compiled = require("@atlaskit/primitives/compiled");
17
17
  var _react = require("@compiled/react");
18
18
  var _react2 = _interopRequireDefault(require("react"));
19
19
  var styles = {
20
- trigger: "_2rko14q2 _189ee4h9 _1dqonqa1 _1ul9zwfg _4t3i1tcg _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _1e0c1txw _1bah1h6o _4cvr1h6o",
20
+ trigger: "_2rko1twn _189ee4h9 _1dqonqa1 _1ul9zwfg _4t3i1tcg _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _1e0c1txw _1bah1h6o _4cvr1h6o",
21
21
  subtleTrigger: "_1dqoglyw _1ul91tcg",
22
22
  expandedTrigger: "_1ul9146b",
23
23
  triggerStylesRefresh: "_2rkoglpi",
package/dist/cjs/index.js CHANGED
@@ -70,6 +70,7 @@ var _ufo = require("./ufo");
70
70
  var _ReactionPicker = require("./components/ReactionPicker");
71
71
  var _ReactionPickerNew = require("./components/ReactionPickerNew");
72
72
  var _platformFeatureFlagsReact = require("@atlaskit/platform-feature-flags-react");
73
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
73
74
  var _client = require("./client");
74
75
  var _Reaction = require("./components/Reaction");
75
76
  var _Reactions = require("./components/Reactions");
@@ -77,7 +78,9 @@ var _useCloseManager = require("./hooks/useCloseManager");
77
78
  var _containers = require("./containers");
78
79
  var _store = require("./store");
79
80
  var _types = require("./types");
80
- var ReactionPicker = exports.ReactionPicker = (0, _platformFeatureFlagsReact.componentWithFG)('platform_editor_reactions_picker_fix', _ReactionPickerNew.ReactionPicker, _ReactionPicker.ReactionPicker);
81
+ var ReactionPicker = exports.ReactionPicker = (0, _platformFeatureFlagsReact.componentWithCondition)(function () {
82
+ return (0, _platformFeatureFlags.fg)('platform_editor_reactions_picker_fix') || (0, _platformFeatureFlags.fg)('platform_editor_reactions_picker_fix_jira');
83
+ }, _ReactionPickerNew.ReactionPicker, _ReactionPicker.ReactionPicker);
81
84
 
82
85
  // TODO: Convert all calls for ReactionRequest to Request, RequestClient to Client and ReactionsStore to Store
83
86
 
@@ -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.12";
4
+ const packageVersion = "33.2.14";
5
5
  /**
6
6
  * TODO: move to utility package?
7
7
  * A random sampling function
@@ -1,6 +1,6 @@
1
1
 
2
- ._2rko14q2{border-radius:var(--ds-border-radius-circle,2002pc)}
3
2
  ._2rko19bv{border-radius:10px}
3
+ ._2rko1twn{border-radius:var(--ds-border-radius-circle,9999px)}
4
4
  ._2rkoglpi{border-radius:var(--ds-border-radius,4px)}
5
5
  ._2rkogqwt{border-radius:var(--ds-border-radius-050,2px)}
6
6
  ._189ee4h9{border-width:var(--ds-border-width,1px)}
@@ -8,7 +8,7 @@ import { FlashAnimation } from './FlashAnimation';
8
8
  import { fg } from '@atlaskit/platform-feature-flags';
9
9
  import { Pressable } from '@atlaskit/primitives/compiled';
10
10
  const styles = {
11
- reactionButton: "_2rko14q2 _1reo15vq _18m915vq _189ee4h9 _1dqonqa1 _1h6dmuej _1e0c1txw _2lx2vrvc _4cvr1y6m _1ul914no _4t3i1tcg _bfhksm61 _syaz1gjq _1pfh1b66 _12l21b66 _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _irr3166n _1di61dty",
11
+ reactionButton: "_2rko1twn _1reo15vq _18m915vq _189ee4h9 _1dqonqa1 _1h6dmuej _1e0c1txw _2lx2vrvc _4cvr1y6m _1ul914no _4t3i1tcg _bfhksm61 _syaz1gjq _1pfh1b66 _12l21b66 _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _irr3166n _1di61dty",
12
12
  reactionStylesRefresh: "_2rkoglpi",
13
13
  reacted: "_1h6d1yqz _bfhkfg4m _irr3i1yw _1di619ru",
14
14
  opaqueBackground: "_bfhkvuon _irr3108i _1di61ji5",
@@ -1,5 +1,5 @@
1
1
  ._11c8dcr7{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
2
- ._2rko14q2{border-radius:var(--ds-border-radius-circle,2002pc)}
2
+ ._2rko1twn{border-radius:var(--ds-border-radius-circle,9999px)}
3
3
  ._2rkoglpi{border-radius:var(--ds-border-radius,4px)}
4
4
  ._qtt8glyw{list-style:none}
5
5
  ._189ee4h9{border-width:var(--ds-border-width,1px)}
@@ -10,7 +10,7 @@ import { Box, Pressable } from '@atlaskit/primitives/compiled';
10
10
  import { cx } from '@compiled/react';
11
11
  import React from 'react';
12
12
  const styles = {
13
- trigger: "_2rko14q2 _189ee4h9 _1dqonqa1 _1ul9zwfg _4t3i1tcg _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _1e0c1txw _1bah1h6o _4cvr1h6o",
13
+ trigger: "_2rko1twn _189ee4h9 _1dqonqa1 _1ul9zwfg _4t3i1tcg _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _1e0c1txw _1bah1h6o _4cvr1h6o",
14
14
  subtleTrigger: "_1dqoglyw _1ul91tcg",
15
15
  expandedTrigger: "_1ul9146b",
16
16
  triggerStylesRefresh: "_2rkoglpi",
@@ -2,8 +2,11 @@ import { DefaultReactions, DefaultReactionsByShortName, ExtendedReactions, Exten
2
2
  import { ComponentName, ExperienceName, PickerRender, ReactionsAdd, ReactionDetailsFetch, ReactionDialogOpened, ReactionDialogSelectedReactionChanged, ReactionsRemove, ReactionsRendered, sampledReactionsRendered } from './ufo';
3
3
  import { ReactionPicker as ReactionPickerLegacy } from './components/ReactionPicker';
4
4
  import { ReactionPicker as ReactionPickerNew } from './components/ReactionPickerNew';
5
- import { componentWithFG } from '@atlaskit/platform-feature-flags-react';
6
- const ReactionPicker = componentWithFG('platform_editor_reactions_picker_fix', ReactionPickerNew, ReactionPickerLegacy);
5
+ import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
6
+ import { fg } from '@atlaskit/platform-feature-flags';
7
+ const ReactionPicker = componentWithCondition(() => {
8
+ return fg('platform_editor_reactions_picker_fix') || fg('platform_editor_reactions_picker_fix_jira');
9
+ }, ReactionPickerNew, ReactionPickerLegacy);
7
10
  export { ReactionServiceClient } from './client';
8
11
  export { Reaction } from './components/Reaction';
9
12
  export { ReactionPicker };
@@ -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.12";
7
+ var packageVersion = "33.2.14";
8
8
  /**
9
9
  * TODO: move to utility package?
10
10
  * A random sampling function
@@ -1,6 +1,6 @@
1
1
 
2
- ._2rko14q2{border-radius:var(--ds-border-radius-circle,2002pc)}
3
2
  ._2rko19bv{border-radius:10px}
3
+ ._2rko1twn{border-radius:var(--ds-border-radius-circle,9999px)}
4
4
  ._2rkoglpi{border-radius:var(--ds-border-radius,4px)}
5
5
  ._2rkogqwt{border-radius:var(--ds-border-radius-050,2px)}
6
6
  ._189ee4h9{border-width:var(--ds-border-width,1px)}
@@ -8,7 +8,7 @@ import { FlashAnimation } from './FlashAnimation';
8
8
  import { fg } from '@atlaskit/platform-feature-flags';
9
9
  import { Pressable } from '@atlaskit/primitives/compiled';
10
10
  var styles = {
11
- reactionButton: "_2rko14q2 _1reo15vq _18m915vq _189ee4h9 _1dqonqa1 _1h6dmuej _1e0c1txw _2lx2vrvc _4cvr1y6m _1ul914no _4t3i1tcg _bfhksm61 _syaz1gjq _1pfh1b66 _12l21b66 _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _irr3166n _1di61dty",
11
+ reactionButton: "_2rko1twn _1reo15vq _18m915vq _189ee4h9 _1dqonqa1 _1h6dmuej _1e0c1txw _2lx2vrvc _4cvr1y6m _1ul914no _4t3i1tcg _bfhksm61 _syaz1gjq _1pfh1b66 _12l21b66 _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _irr3166n _1di61dty",
12
12
  reactionStylesRefresh: "_2rkoglpi",
13
13
  reacted: "_1h6d1yqz _bfhkfg4m _irr3i1yw _1di619ru",
14
14
  opaqueBackground: "_bfhkvuon _irr3108i _1di61ji5",
@@ -1,5 +1,5 @@
1
1
  ._11c8dcr7{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
2
- ._2rko14q2{border-radius:var(--ds-border-radius-circle,2002pc)}
2
+ ._2rko1twn{border-radius:var(--ds-border-radius-circle,9999px)}
3
3
  ._2rkoglpi{border-radius:var(--ds-border-radius,4px)}
4
4
  ._qtt8glyw{list-style:none}
5
5
  ._189ee4h9{border-width:var(--ds-border-width,1px)}
@@ -10,7 +10,7 @@ import { Box, Pressable } from '@atlaskit/primitives/compiled';
10
10
  import { cx } from '@compiled/react';
11
11
  import React from 'react';
12
12
  var styles = {
13
- trigger: "_2rko14q2 _189ee4h9 _1dqonqa1 _1ul9zwfg _4t3i1tcg _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _1e0c1txw _1bah1h6o _4cvr1h6o",
13
+ trigger: "_2rko1twn _189ee4h9 _1dqonqa1 _1ul9zwfg _4t3i1tcg _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _1e0c1txw _1bah1h6o _4cvr1h6o",
14
14
  subtleTrigger: "_1dqoglyw _1ul91tcg",
15
15
  expandedTrigger: "_1ul9146b",
16
16
  triggerStylesRefresh: "_2rkoglpi",
package/dist/esm/index.js CHANGED
@@ -2,8 +2,11 @@ import { DefaultReactions, DefaultReactionsByShortName, ExtendedReactions, Exten
2
2
  import { ComponentName, ExperienceName, PickerRender, ReactionsAdd, ReactionDetailsFetch, ReactionDialogOpened, ReactionDialogSelectedReactionChanged, ReactionsRemove, ReactionsRendered, sampledReactionsRendered } from './ufo';
3
3
  import { ReactionPicker as ReactionPickerLegacy } from './components/ReactionPicker';
4
4
  import { ReactionPicker as ReactionPickerNew } from './components/ReactionPickerNew';
5
- import { componentWithFG } from '@atlaskit/platform-feature-flags-react';
6
- var ReactionPicker = componentWithFG('platform_editor_reactions_picker_fix', ReactionPickerNew, ReactionPickerLegacy);
5
+ import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
6
+ import { fg } from '@atlaskit/platform-feature-flags';
7
+ var ReactionPicker = componentWithCondition(function () {
8
+ return fg('platform_editor_reactions_picker_fix') || fg('platform_editor_reactions_picker_fix_jira');
9
+ }, ReactionPickerNew, ReactionPickerLegacy);
7
10
  export { ReactionServiceClient } from './client';
8
11
  export { Reaction } from './components/Reaction';
9
12
  export { ReactionPicker };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/reactions",
3
- "version": "33.2.13",
3
+ "version": "33.2.15",
4
4
  "description": "Reactions component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -39,7 +39,7 @@
39
39
  "@atlaskit/css": "^0.12.0",
40
40
  "@atlaskit/emoji": "^69.5.0",
41
41
  "@atlaskit/heading": "^5.2.0",
42
- "@atlaskit/icon": "^28.0.0",
42
+ "@atlaskit/icon": "^28.1.0",
43
43
  "@atlaskit/link": "^3.2.0",
44
44
  "@atlaskit/modal-dialog": "^14.3.0",
45
45
  "@atlaskit/motion": "^5.3.0",
@@ -48,12 +48,12 @@
48
48
  "@atlaskit/popper": "^7.1.0",
49
49
  "@atlaskit/popup": "^4.3.0",
50
50
  "@atlaskit/portal": "^5.1.0",
51
- "@atlaskit/primitives": "^14.11.0",
52
- "@atlaskit/react-ufo": "^4.4.0",
51
+ "@atlaskit/primitives": "^14.12.0",
52
+ "@atlaskit/react-ufo": "^4.5.0",
53
53
  "@atlaskit/spinner": "^19.0.0",
54
54
  "@atlaskit/tabs": "^18.1.0",
55
- "@atlaskit/theme": "^19.0.0",
56
- "@atlaskit/tokens": "^6.0.0",
55
+ "@atlaskit/theme": "^20.0.0",
56
+ "@atlaskit/tokens": "^6.1.0",
57
57
  "@atlaskit/tooltip": "^20.4.0",
58
58
  "@atlaskit/ufo": "^0.4.0",
59
59
  "@atlaskit/util-service-support": "^6.3.0",