@atlaskit/reactions 35.4.0 → 35.4.2

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,17 @@
1
1
  # @atlaskit/reactions
2
2
 
3
+ ## 35.4.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 35.4.1
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 35.4.0
4
16
 
5
17
  ### 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.3.0";
14
+ var packageVersion = "35.4.1";
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.3.0";
5
+ const packageVersion = "35.4.1";
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.3.0";
8
+ var packageVersion = "35.4.1";
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.4.0",
3
+ "version": "35.4.2",
4
4
  "description": "Reactions component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -35,7 +35,7 @@
35
35
  "@atlaskit/analytics-namespaced-context": "^8.1.0",
36
36
  "@atlaskit/analytics-next": "^12.1.0",
37
37
  "@atlaskit/avatar": "^26.1.0",
38
- "@atlaskit/button": "^24.2.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",
@@ -48,14 +48,14 @@
48
48
  "@atlaskit/popper": "^8.2.0",
49
49
  "@atlaskit/popup": "^5.1.0",
50
50
  "@atlaskit/portal": "^6.1.0",
51
- "@atlaskit/primitives": "^20.1.0",
51
+ "@atlaskit/primitives": "^20.2.0",
52
52
  "@atlaskit/react-compiler-gating": "^0.2.0",
53
53
  "@atlaskit/react-ufo": "^7.3.0",
54
54
  "@atlaskit/spinner": "^20.1.0",
55
55
  "@atlaskit/tabs": "^20.1.0",
56
56
  "@atlaskit/theme": "^26.1.0",
57
- "@atlaskit/tmp-editor-statsig": "^114.0.0",
58
- "@atlaskit/tokens": "^15.1.0",
57
+ "@atlaskit/tmp-editor-statsig": "^116.0.0",
58
+ "@atlaskit/tokens": "^15.2.0",
59
59
  "@atlaskit/tooltip": "^23.1.0",
60
60
  "@atlaskit/ufo": "^1.0.0",
61
61
  "@atlaskit/util-service-support": "^7.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",