@atlaskit/reactions 33.2.8 → 33.2.10

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.
Files changed (35) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/cjs/analytics/index.js +1 -1
  3. package/dist/es2019/analytics/index.js +1 -1
  4. package/dist/esm/analytics/index.js +1 -1
  5. package/dist/types/components/Counter.d.ts +0 -1
  6. package/dist/types/components/EmojiButton.d.ts +0 -1
  7. package/dist/types/components/Reaction.d.ts +0 -1
  8. package/dist/types/components/ReactionButton.d.ts +0 -1
  9. package/dist/types/components/ReactionParticleEffect.d.ts +0 -1
  10. package/dist/types/components/ReactionSummaryButton.d.ts +0 -1
  11. package/dist/types/components/ReactionSummaryView.d.ts +0 -1
  12. package/dist/types/components/ReactionView.d.ts +0 -1
  13. package/dist/types/components/ReactionsDialog.d.ts +0 -1
  14. package/dist/types/components/ReactionsDialogHeader.d.ts +0 -1
  15. package/dist/types/components/ReactionsDialogTrigger.d.ts +0 -1
  16. package/dist/types/components/Selector.d.ts +0 -1
  17. package/dist/types/components/StaticReaction.d.ts +0 -1
  18. package/dist/types/index.d.ts +0 -1
  19. package/dist/types/types/reaction.d.ts +0 -1
  20. package/dist/types-ts4.5/components/Counter.d.ts +0 -1
  21. package/dist/types-ts4.5/components/EmojiButton.d.ts +0 -1
  22. package/dist/types-ts4.5/components/Reaction.d.ts +0 -1
  23. package/dist/types-ts4.5/components/ReactionButton.d.ts +0 -1
  24. package/dist/types-ts4.5/components/ReactionParticleEffect.d.ts +0 -1
  25. package/dist/types-ts4.5/components/ReactionSummaryButton.d.ts +0 -1
  26. package/dist/types-ts4.5/components/ReactionSummaryView.d.ts +0 -1
  27. package/dist/types-ts4.5/components/ReactionView.d.ts +0 -1
  28. package/dist/types-ts4.5/components/ReactionsDialog.d.ts +0 -1
  29. package/dist/types-ts4.5/components/ReactionsDialogHeader.d.ts +0 -1
  30. package/dist/types-ts4.5/components/ReactionsDialogTrigger.d.ts +0 -1
  31. package/dist/types-ts4.5/components/Selector.d.ts +0 -1
  32. package/dist/types-ts4.5/components/StaticReaction.d.ts +0 -1
  33. package/dist/types-ts4.5/index.d.ts +0 -1
  34. package/dist/types-ts4.5/types/reaction.d.ts +0 -1
  35. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @atlaskit/reactions
2
2
 
3
+ ## 33.2.10
4
+
5
+ ### Patch Changes
6
+
7
+ - [#197800](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/197800)
8
+ [`af8a1e4a36047`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/af8a1e4a36047) -
9
+ Revert platform_editor_reactions_picker_fix FG clean up
10
+ - Updated dependencies
11
+
12
+ ## 33.2.9
13
+
14
+ ### Patch Changes
15
+
16
+ - [`c171a86fa9ec4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c171a86fa9ec4) -
17
+ tidy up feature flag to ensable reactions picker with portal
18
+
3
19
  ## 33.2.8
4
20
 
5
21
  ### Patch 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.2.7";
14
+ var packageVersion = "33.2.9";
15
15
  /**
16
16
  * TODO: move to utility package?
17
17
  * A random sampling function
@@ -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.7";
4
+ const packageVersion = "33.2.9";
5
5
  /**
6
6
  * TODO: move to utility package?
7
7
  * A random sampling function
@@ -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.7";
7
+ var packageVersion = "33.2.9";
8
8
  /**
9
9
  * TODO: move to utility package?
10
10
  * A random sampling function
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type Durations } from '@atlaskit/motion';
3
2
  /**
4
3
  * Test id for component top level div
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type EmojiId, type OnEmojiEvent, type EmojiProvider } from '@atlaskit/emoji';
3
2
  export declare const RENDER_BUTTON_TESTID = "button-emoji-id";
4
3
  export interface EmojiButtonProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type EmojiProvider } from '@atlaskit/emoji';
3
2
  import { type ReactionSummary, type ReactionClick, type ReactionMouseEnter } from '../types';
4
3
  import { type ReactionFocused } from '../types/reaction';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type ReactionProps } from './Reaction';
3
2
  interface ReactionButtonProps extends Pick<ReactionProps, 'flash'> {
4
3
  onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @jsxRuntime classic
4
3
  * @jsx jsx
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type ReactionsProps } from './Reactions';
3
2
  interface ReactionSummaryButtonProps extends Pick<ReactionsProps, 'emojiProvider' | 'reactions' | 'useButtonAlignmentStyling'> {
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type Placement } from '@atlaskit/popper';
3
2
  import { type ReactionClick, type ReactionFocused, type ReactionMouseEnter, type ReactionSource } from '../types';
4
3
  import { type ReactionsProps, type OpenReactionsDialogOptions } from './Reactions';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type ReactionSummary, type ProfileCardWrapper } from '../types';
3
2
  export interface ReactionViewProps {
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type EmojiProvider } from '@atlaskit/emoji/resource';
3
2
  import { type OnCloseHandler } from '@atlaskit/modal-dialog';
4
3
  import { type ReactionSummary, type ProfileCardWrapper } from '../types';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type OnCloseHandler } from '@atlaskit/modal-dialog';
3
2
  import { type EmojiProvider } from '@atlaskit/emoji/resource';
4
3
  import { type ReactionSummary } from '../types';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface ReactionsDialogTriggerProps {
3
2
  onClick: () => void;
4
3
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type EmojiId, type OnEmojiEvent } from '@atlaskit/emoji/types';
3
2
  import { type EmojiProvider } from '@atlaskit/emoji/resource';
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type StaticReactionProps = {
3
2
  onMouseEnter?: (event: React.MouseEvent<HTMLButtonElement>) => void;
4
3
  onFocus?: (event: React.FocusEvent<HTMLButtonElement>) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ComponentName, ExperienceName } from './ufo';
3
2
  declare const ReactionPicker: import("react").FC<import("./components/ReactionPickerNew").ReactionPickerProps & import("./components/ReactionPicker").ReactionPickerProps>;
4
3
  export { ReactionServiceClient } from './client';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type User } from './User';
3
2
  /**
4
3
  * Collection of reactions as object (key is unique id from containerAri and ari combined)
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type Durations } from '@atlaskit/motion';
3
2
  /**
4
3
  * Test id for component top level div
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type EmojiId, type OnEmojiEvent, type EmojiProvider } from '@atlaskit/emoji';
3
2
  export declare const RENDER_BUTTON_TESTID = "button-emoji-id";
4
3
  export interface EmojiButtonProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type EmojiProvider } from '@atlaskit/emoji';
3
2
  import { type ReactionSummary, type ReactionClick, type ReactionMouseEnter } from '../types';
4
3
  import { type ReactionFocused } from '../types/reaction';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type ReactionProps } from './Reaction';
3
2
  interface ReactionButtonProps extends Pick<ReactionProps, 'flash'> {
4
3
  onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @jsxRuntime classic
4
3
  * @jsx jsx
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type ReactionsProps } from './Reactions';
3
2
  interface ReactionSummaryButtonProps extends Pick<ReactionsProps, 'emojiProvider' | 'reactions' | 'useButtonAlignmentStyling'> {
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type Placement } from '@atlaskit/popper';
3
2
  import { type ReactionClick, type ReactionFocused, type ReactionMouseEnter, type ReactionSource } from '../types';
4
3
  import { type ReactionsProps, type OpenReactionsDialogOptions } from './Reactions';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type ReactionSummary, type ProfileCardWrapper } from '../types';
3
2
  export interface ReactionViewProps {
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type EmojiProvider } from '@atlaskit/emoji/resource';
3
2
  import { type OnCloseHandler } from '@atlaskit/modal-dialog';
4
3
  import { type ReactionSummary, type ProfileCardWrapper } from '../types';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type OnCloseHandler } from '@atlaskit/modal-dialog';
3
2
  import { type EmojiProvider } from '@atlaskit/emoji/resource';
4
3
  import { type ReactionSummary } from '../types';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface ReactionsDialogTriggerProps {
3
2
  onClick: () => void;
4
3
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type EmojiId, type OnEmojiEvent } from '@atlaskit/emoji/types';
3
2
  import { type EmojiProvider } from '@atlaskit/emoji/resource';
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type StaticReactionProps = {
3
2
  onMouseEnter?: (event: React.MouseEvent<HTMLButtonElement>) => void;
4
3
  onFocus?: (event: React.FocusEvent<HTMLButtonElement>) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ComponentName, ExperienceName } from './ufo';
3
2
  declare const ReactionPicker: import("react").FC<import("./components/ReactionPickerNew").ReactionPickerProps & import("./components/ReactionPicker").ReactionPickerProps>;
4
3
  export { ReactionServiceClient } from './client';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type User } from './User';
3
2
  /**
4
3
  * Collection of reactions as object (key is unique id from containerAri and ari combined)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/reactions",
3
- "version": "33.2.8",
3
+ "version": "33.2.10",
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.3.0",
41
41
  "@atlaskit/heading": "^5.2.0",
42
- "@atlaskit/icon": "^27.10.0",
42
+ "@atlaskit/icon": "^27.11.0",
43
43
  "@atlaskit/link": "^3.2.0",
44
44
  "@atlaskit/modal-dialog": "^14.3.0",
45
45
  "@atlaskit/motion": "^5.2.0",
@@ -70,7 +70,7 @@
70
70
  "@af/visual-regression": "workspace:^",
71
71
  "@atlaskit/editor-test-helpers": "workspace:^",
72
72
  "@atlaskit/elements-test-helpers": "workspace:^",
73
- "@atlaskit/util-data-test": "^18.0.0",
73
+ "@atlaskit/util-data-test": "^18.1.0",
74
74
  "@atlassian/feature-flags-test-utils": "^0.3.0",
75
75
  "@testing-library/dom": "^10.1.0",
76
76
  "@testing-library/jest-dom": "^6.4.5",