@atlaskit/reactions 35.3.0 → 35.4.1

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,29 @@
1
1
  # @atlaskit/reactions
2
2
 
3
+ ## 35.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 35.4.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`cd097a2111788`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cd097a2111788) -
14
+ Republish packages depending on `@atlaskit/react-compiler-gating` so their published dependency
15
+ reference is updated to the renamed `@atlaskit/react-compiler-gating` scope.
16
+
17
+ The earlier rename of `@atlassian/react-compiler-gating` to `@atlaskit/react-compiler-gating` only
18
+ bumped the renamed package itself, so dependent packages were never republished and their
19
+ published versions still referenced the old `@atlassian/react-compiler-gating` name, which is not
20
+ available in the public npm registry. This minor bump republishes all affected packages with the
21
+ corrected dependency.
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies
26
+
3
27
  ## 35.3.0
4
28
 
5
29
  ### 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; } // eslint-disable-next-line @typescript-eslint/consistent-type-imports
13
13
  var packageName = "@atlaskit/reactions";
14
- var packageVersion = "35.2.6";
14
+ var packageVersion = "35.4.0";
15
15
  /**
16
16
  * TODO: move to utility package?
17
17
  * A random sampling function
@@ -2,7 +2,7 @@
2
2
  import { createAndFireEvent } from '@atlaskit/analytics-next';
3
3
  import { UI_EVENT_TYPE, OPERATIONAL_EVENT_TYPE } from '@atlaskit/analytics-gas-types';
4
4
  const packageName = "@atlaskit/reactions";
5
- const packageVersion = "35.2.6";
5
+ const packageVersion = "35.4.0";
6
6
  /**
7
7
  * TODO: move to utility package?
8
8
  * A random sampling function
@@ -5,7 +5,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
5
5
  import { createAndFireEvent } from '@atlaskit/analytics-next';
6
6
  import { UI_EVENT_TYPE, OPERATIONAL_EVENT_TYPE } from '@atlaskit/analytics-gas-types';
7
7
  var packageName = "@atlaskit/reactions";
8
- var packageVersion = "35.2.6";
8
+ var packageVersion = "35.4.0";
9
9
  /**
10
10
  * TODO: move to utility package?
11
11
  * A random sampling function
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/reactions",
3
- "version": "35.3.0",
3
+ "version": "35.4.1",
4
4
  "description": "Reactions component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -32,33 +32,33 @@
32
32
  "dependencies": {
33
33
  "@atlaskit/afm-i18n-platform-elements-reactions": "2.168.0",
34
34
  "@atlaskit/analytics-gas-types": "^6.0.0",
35
- "@atlaskit/analytics-namespaced-context": "^8.0.0",
36
- "@atlaskit/analytics-next": "^12.0.0",
37
- "@atlaskit/avatar": "^26.0.0",
38
- "@atlaskit/button": "^24.1.0",
35
+ "@atlaskit/analytics-namespaced-context": "^8.1.0",
36
+ "@atlaskit/analytics-next": "^12.1.0",
37
+ "@atlaskit/avatar": "^26.1.0",
38
+ "@atlaskit/button": "^24.3.0",
39
39
  "@atlaskit/css": "^1.0.0",
40
40
  "@atlaskit/emoji": "^71.6.0",
41
41
  "@atlaskit/feature-gate-js-client": "^6.0.0",
42
- "@atlaskit/heading": "^6.0.0",
43
- "@atlaskit/icon": "^36.0.0",
44
- "@atlaskit/link": "^4.0.0",
45
- "@atlaskit/modal-dialog": "^16.0.0",
46
- "@atlaskit/motion": "^7.1.0",
42
+ "@atlaskit/heading": "^6.1.0",
43
+ "@atlaskit/icon": "^36.1.0",
44
+ "@atlaskit/link": "^4.1.0",
45
+ "@atlaskit/modal-dialog": "^16.1.0",
46
+ "@atlaskit/motion": "^7.2.0",
47
47
  "@atlaskit/platform-feature-flags": "^2.0.0",
48
- "@atlaskit/popper": "^8.1.0",
49
- "@atlaskit/popup": "^5.0.0",
50
- "@atlaskit/portal": "^6.0.0",
51
- "@atlaskit/primitives": "^20.0.0",
48
+ "@atlaskit/popper": "^8.2.0",
49
+ "@atlaskit/popup": "^5.1.0",
50
+ "@atlaskit/portal": "^6.1.0",
51
+ "@atlaskit/primitives": "^20.2.0",
52
52
  "@atlaskit/react-compiler-gating": "^0.2.0",
53
- "@atlaskit/react-ufo": "^7.2.0",
54
- "@atlaskit/spinner": "^20.0.0",
55
- "@atlaskit/tabs": "^20.0.0",
56
- "@atlaskit/theme": "^26.0.0",
57
- "@atlaskit/tmp-editor-statsig": "^114.0.0",
58
- "@atlaskit/tokens": "^15.0.0",
59
- "@atlaskit/tooltip": "^23.0.0",
53
+ "@atlaskit/react-ufo": "^7.3.0",
54
+ "@atlaskit/spinner": "^20.1.0",
55
+ "@atlaskit/tabs": "^20.1.0",
56
+ "@atlaskit/theme": "^26.1.0",
57
+ "@atlaskit/tmp-editor-statsig": "^115.0.0",
58
+ "@atlaskit/tokens": "^15.2.0",
59
+ "@atlaskit/tooltip": "^23.1.0",
60
60
  "@atlaskit/ufo": "^1.0.0",
61
- "@atlaskit/util-service-support": "^7.0.0",
61
+ "@atlaskit/util-service-support": "^7.1.0",
62
62
  "@babel/runtime": "^7.0.0",
63
63
  "@compiled/react": "^0.20.0",
64
64
  "focus-trap": "^2.4.5"
@@ -71,7 +71,7 @@
71
71
  "devDependencies": {
72
72
  "@af/visual-regression": "workspace:^",
73
73
  "@atlaskit/editor-test-helpers": "workspace:^",
74
- "@atlaskit/util-data-test": "^19.0.0",
74
+ "@atlaskit/util-data-test": "^19.1.0",
75
75
  "@atlassian/a11y-jest-testing": "^0.13.0",
76
76
  "@atlassian/feature-flags-test-utils": "^1.1.0",
77
77
  "@testing-library/dom": "^10.1.0",
@@ -0,0 +1,74 @@
1
+ /**
2
+ * Structured MCP docs for `@atlaskit/reactions`.
3
+ */
4
+
5
+ import path from 'path';
6
+
7
+ import type { StructuredContentSource } from '@atlassian/structured-docs-types/types';
8
+
9
+ import packageJson from './package.json';
10
+
11
+ const packagePath = path.resolve(__dirname);
12
+
13
+ const documentation: StructuredContentSource = {
14
+ package: {
15
+ package: '@atlaskit/reactions',
16
+ packagePath,
17
+ packageJson,
18
+ overview:
19
+ 'React components for displaying and managing emoji reactions on content. It includes support for reaction pickers and reaction views with backend integration.',
20
+ },
21
+ components: [
22
+ {
23
+ name: 'ConnectedReactionPicker',
24
+ description: 'A reaction picker component pre-wired with a reactions store.',
25
+ status: 'general-availability',
26
+ import: {
27
+ name: 'ConnectedReactionPicker',
28
+ package: '@atlaskit/reactions',
29
+ type: 'named',
30
+ packagePath,
31
+ packageJson,
32
+ },
33
+ usageGuidelines: [
34
+ 'Use `ConnectedReactionPicker` to allow users to add reactions to content.',
35
+ 'Requires a `ReactionsStore` to manage reaction state.',
36
+ ],
37
+ keywords: ['reactions', 'picker', 'emoji'],
38
+ categories: ['elements'],
39
+ examples: [
40
+ {
41
+ name: 'Connected reaction picker',
42
+ description: 'Basic usage of ConnectedReactionPicker.',
43
+ source: path.resolve(packagePath, './examples/00-connected-reaction-picker.tsx'),
44
+ },
45
+ ],
46
+ },
47
+ {
48
+ name: 'ConnectedReactionsView',
49
+ description: 'A component for displaying the current reactions on a piece of content.',
50
+ status: 'general-availability',
51
+ import: {
52
+ name: 'ConnectedReactionsView',
53
+ package: '@atlaskit/reactions',
54
+ type: 'named',
55
+ packagePath,
56
+ packageJson,
57
+ },
58
+ usageGuidelines: [
59
+ 'Use `ConnectedReactionsView` to show the list of reactions and allow users to toggle their own reactions.',
60
+ ],
61
+ keywords: ['reactions', 'view', 'display'],
62
+ categories: ['elements'],
63
+ examples: [
64
+ {
65
+ name: 'Connected reactions view',
66
+ description: 'Basic usage of ConnectedReactionsView.',
67
+ source: path.resolve(packagePath, './examples/01-connected-reactions-view.tsx'),
68
+ },
69
+ ],
70
+ },
71
+ ],
72
+ };
73
+
74
+ export default documentation;
package/tsconfig.json CHANGED
@@ -1,6 +1,8 @@
1
1
  {
2
2
  "extends": "../../../tsconfig.json",
3
3
  "include": [
4
+ "./*.docs.tsx",
5
+ "./package.json",
4
6
  "./src/**/*.ts",
5
7
  "./src/**/*.tsx",
6
8
  "./docs/**/*.ts",