@atlaskit/reactions 22.7.4 → 22.7.5
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 +6 -0
- package/afm-jira/tsconfig.json +75 -0
- package/dist/cjs/analytics/index.js +1 -1
- package/dist/cjs/components/UfoErrorBoundary/UfoErrorBoundary.js +2 -1
- package/dist/es2019/analytics/index.js +1 -1
- package/dist/es2019/components/UfoErrorBoundary/UfoErrorBoundary.js +2 -1
- package/dist/esm/analytics/index.js +1 -1
- package/dist/esm/components/UfoErrorBoundary/UfoErrorBoundary.js +2 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.jira.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"target": "es5",
|
|
6
|
+
"outDir": "../../../../../tsDist/@atlaskit__reactions/app",
|
|
7
|
+
"composite": true,
|
|
8
|
+
"rootDir": "../"
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"../src/**/*.ts",
|
|
12
|
+
"../src/**/*.tsx"
|
|
13
|
+
],
|
|
14
|
+
"exclude": [
|
|
15
|
+
"../src/**/__tests__/*",
|
|
16
|
+
"../src/**/*.test.*",
|
|
17
|
+
"../src/**/test.*"
|
|
18
|
+
],
|
|
19
|
+
"references": [
|
|
20
|
+
{
|
|
21
|
+
"path": "../../../analytics/analytics-gas-types/afm-jira/tsconfig.json"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"path": "../../../analytics/analytics-namespaced-context/afm-jira/tsconfig.json"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"path": "../../../analytics/analytics-next/afm-jira/tsconfig.json"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"path": "../../../design-system/avatar/afm-jira/tsconfig.json"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"path": "../../../design-system/button/afm-jira/tsconfig.json"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"path": "../../emoji/afm-jira/tsconfig.json"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"path": "../../../design-system/icon/afm-jira/tsconfig.json"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"path": "../../../design-system/modal-dialog/afm-jira/tsconfig.json"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"path": "../../../design-system/motion/afm-jira/tsconfig.json"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"path": "../../../design-system/popper/afm-jira/tsconfig.json"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"path": "../../../design-system/primitives/afm-jira/tsconfig.json"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"path": "../../../design-system/spinner/afm-jira/tsconfig.json"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"path": "../../../design-system/tabs/afm-jira/tsconfig.json"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"path": "../../../design-system/theme/afm-jira/tsconfig.json"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"path": "../../../design-system/tokens/afm-jira/tsconfig.json"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"path": "../../../design-system/tooltip/afm-jira/tsconfig.json"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"path": "../../../data/ufo-external/afm-jira/tsconfig.json"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"path": "../../util-service-support/afm-jira/tsconfig.json"
|
|
73
|
+
}
|
|
74
|
+
]
|
|
75
|
+
}
|
|
@@ -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 = "22.7.
|
|
14
|
+
var packageVersion = "22.7.5";
|
|
15
15
|
/**
|
|
16
16
|
* TODO: move to utility package?
|
|
17
17
|
* A random sampling function
|
|
@@ -33,6 +33,7 @@ var UfoErrorBoundary = exports.UfoErrorBoundary = /*#__PURE__*/function (_React$
|
|
|
33
33
|
_step;
|
|
34
34
|
try {
|
|
35
35
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
36
|
+
var _errorInfo$componentS;
|
|
36
37
|
var exp = _step.value;
|
|
37
38
|
exp.failure({
|
|
38
39
|
metadata: {
|
|
@@ -41,7 +42,7 @@ var UfoErrorBoundary = exports.UfoErrorBoundary = /*#__PURE__*/function (_React$
|
|
|
41
42
|
error: {
|
|
42
43
|
name: error.name,
|
|
43
44
|
message: error.message,
|
|
44
|
-
infoStack: errorInfo.componentStack
|
|
45
|
+
infoStack: (_errorInfo$componentS = errorInfo.componentStack) !== null && _errorInfo$componentS !== void 0 ? _errorInfo$componentS : undefined
|
|
45
46
|
}
|
|
46
47
|
}
|
|
47
48
|
});
|
|
@@ -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 = "22.7.
|
|
4
|
+
const packageVersion = "22.7.5";
|
|
5
5
|
/**
|
|
6
6
|
* TODO: move to utility package?
|
|
7
7
|
* A random sampling function
|
|
@@ -5,6 +5,7 @@ import React from 'react';
|
|
|
5
5
|
export class UfoErrorBoundary extends React.Component {
|
|
6
6
|
componentDidCatch(error, errorInfo) {
|
|
7
7
|
for (const exp of this.props.experiences) {
|
|
8
|
+
var _errorInfo$componentS;
|
|
8
9
|
exp.failure({
|
|
9
10
|
metadata: {
|
|
10
11
|
source: 'UfoErrorBoundary',
|
|
@@ -12,7 +13,7 @@ export class UfoErrorBoundary extends React.Component {
|
|
|
12
13
|
error: {
|
|
13
14
|
name: error.name,
|
|
14
15
|
message: error.message,
|
|
15
|
-
infoStack: errorInfo.componentStack
|
|
16
|
+
infoStack: (_errorInfo$componentS = errorInfo.componentStack) !== null && _errorInfo$componentS !== void 0 ? _errorInfo$componentS : undefined
|
|
16
17
|
}
|
|
17
18
|
}
|
|
18
19
|
});
|
|
@@ -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 = "22.7.
|
|
7
|
+
var packageVersion = "22.7.5";
|
|
8
8
|
/**
|
|
9
9
|
* TODO: move to utility package?
|
|
10
10
|
* A random sampling function
|
|
@@ -26,6 +26,7 @@ export var UfoErrorBoundary = /*#__PURE__*/function (_React$Component) {
|
|
|
26
26
|
_step;
|
|
27
27
|
try {
|
|
28
28
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
29
|
+
var _errorInfo$componentS;
|
|
29
30
|
var exp = _step.value;
|
|
30
31
|
exp.failure({
|
|
31
32
|
metadata: {
|
|
@@ -34,7 +35,7 @@ export var UfoErrorBoundary = /*#__PURE__*/function (_React$Component) {
|
|
|
34
35
|
error: {
|
|
35
36
|
name: error.name,
|
|
36
37
|
message: error.message,
|
|
37
|
-
infoStack: errorInfo.componentStack
|
|
38
|
+
infoStack: (_errorInfo$componentS = errorInfo.componentStack) !== null && _errorInfo$componentS !== void 0 ? _errorInfo$componentS : undefined
|
|
38
39
|
}
|
|
39
40
|
}
|
|
40
41
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/reactions",
|
|
3
|
-
"version": "22.7.
|
|
3
|
+
"version": "22.7.5",
|
|
4
4
|
"description": "Reactions component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"@atlaskit/avatar": "^21.10.0",
|
|
40
40
|
"@atlaskit/button": "^18.0.0",
|
|
41
41
|
"@atlaskit/emoji": "^67.6.0",
|
|
42
|
-
"@atlaskit/icon": "^22.
|
|
42
|
+
"@atlaskit/icon": "^22.5.0",
|
|
43
43
|
"@atlaskit/modal-dialog": "^12.14.0",
|
|
44
44
|
"@atlaskit/motion": "^1.7.0",
|
|
45
45
|
"@atlaskit/popper": "^6.1.0",
|
|
46
|
-
"@atlaskit/primitives": "^
|
|
46
|
+
"@atlaskit/primitives": "^9.0.0",
|
|
47
47
|
"@atlaskit/spinner": "^16.2.0",
|
|
48
48
|
"@atlaskit/tabs": "^16.2.0",
|
|
49
49
|
"@atlaskit/theme": "^12.11.0",
|