@atlaskit/reactions 37.2.9 → 37.2.11
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 +12 -0
- package/dist/cjs/analytics/index.js +1 -1
- package/dist/cjs/hooks/useFocusTrap.js +2 -0
- package/dist/es2019/analytics/index.js +1 -1
- package/dist/es2019/hooks/useFocusTrap.js +2 -0
- package/dist/esm/analytics/index.js +1 -1
- package/dist/esm/hooks/useFocusTrap.js +2 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -11,7 +11,7 @@ var _createAndFireEvents = _interopRequireDefault(require("@atlaskit/analytics-n
|
|
|
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 = "37.2.
|
|
14
|
+
var packageVersion = "37.2.10";
|
|
15
15
|
/**
|
|
16
16
|
* TODO: move to utility package?
|
|
17
17
|
* A random sampling function
|
|
@@ -13,6 +13,8 @@ var _focusTrap = _interopRequireDefault(require("focus-trap"));
|
|
|
13
13
|
* copied from useFocusManager in @atlaskit/popup
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
// eslint-disable-next-line @atlaskit/design-system/no-third-party-focus-traps -- existing usage from before this rule was added
|
|
17
|
+
|
|
16
18
|
var useFocusTrap = exports.useFocusTrap = function useFocusTrap(_ref) {
|
|
17
19
|
var targetRef = _ref.targetRef,
|
|
18
20
|
initialFocusRef = _ref.initialFocusRef;
|
|
@@ -2,7 +2,7 @@ import { UI_EVENT_TYPE, OPERATIONAL_EVENT_TYPE } from '@atlaskit/analytics-gas-t
|
|
|
2
2
|
// eslint-disable-next-line @typescript-eslint/consistent-type-imports
|
|
3
3
|
import createAndFireEvent from '@atlaskit/analytics-next/createAndFireEvents';
|
|
4
4
|
const packageName = "@atlaskit/reactions";
|
|
5
|
-
const packageVersion = "37.2.
|
|
5
|
+
const packageVersion = "37.2.10";
|
|
6
6
|
/**
|
|
7
7
|
* TODO: move to utility package?
|
|
8
8
|
* A random sampling function
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
* copied from useFocusManager in @atlaskit/popup
|
|
5
5
|
*/
|
|
6
6
|
import { useEffect } from 'react';
|
|
7
|
+
|
|
8
|
+
// eslint-disable-next-line @atlaskit/design-system/no-third-party-focus-traps -- existing usage from before this rule was added
|
|
7
9
|
import createFocusTrap from 'focus-trap';
|
|
8
10
|
export const useFocusTrap = ({
|
|
9
11
|
targetRef,
|
|
@@ -5,7 +5,7 @@ import { UI_EVENT_TYPE, OPERATIONAL_EVENT_TYPE } from '@atlaskit/analytics-gas-t
|
|
|
5
5
|
// eslint-disable-next-line @typescript-eslint/consistent-type-imports
|
|
6
6
|
import createAndFireEvent from '@atlaskit/analytics-next/createAndFireEvents';
|
|
7
7
|
var packageName = "@atlaskit/reactions";
|
|
8
|
-
var packageVersion = "37.2.
|
|
8
|
+
var packageVersion = "37.2.10";
|
|
9
9
|
/**
|
|
10
10
|
* TODO: move to utility package?
|
|
11
11
|
* A random sampling function
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
* copied from useFocusManager in @atlaskit/popup
|
|
5
5
|
*/
|
|
6
6
|
import { useEffect } from 'react';
|
|
7
|
+
|
|
8
|
+
// eslint-disable-next-line @atlaskit/design-system/no-third-party-focus-traps -- existing usage from before this rule was added
|
|
7
9
|
import createFocusTrap from 'focus-trap';
|
|
8
10
|
export var useFocusTrap = function useFocusTrap(_ref) {
|
|
9
11
|
var targetRef = _ref.targetRef,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/reactions",
|
|
3
|
-
"version": "37.2.
|
|
3
|
+
"version": "37.2.11",
|
|
4
4
|
"description": "Reactions component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"@atlaskit/analytics-gas-types": "^6.2.0",
|
|
38
38
|
"@atlaskit/analytics-namespaced-context": "^8.2.0",
|
|
39
39
|
"@atlaskit/analytics-next": "^12.6.0",
|
|
40
|
-
"@atlaskit/avatar": "^30.
|
|
40
|
+
"@atlaskit/avatar": "^30.1.0",
|
|
41
41
|
"@atlaskit/button": "^25.7.0",
|
|
42
42
|
"@atlaskit/css": "^1.1.0",
|
|
43
|
-
"@atlaskit/emoji": "^73.
|
|
43
|
+
"@atlaskit/emoji": "^73.4.0",
|
|
44
44
|
"@atlaskit/feature-gate-js-client": "^8.0.0",
|
|
45
45
|
"@atlaskit/heading": "^8.0.0",
|
|
46
46
|
"@atlaskit/icon": "^38.0.0",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@atlaskit/spinner": "^20.4.0",
|
|
59
59
|
"@atlaskit/tabs": "^21.3.0",
|
|
60
60
|
"@atlaskit/theme": "^28.2.0",
|
|
61
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
61
|
+
"@atlaskit/tmp-editor-statsig": "^255.0.0",
|
|
62
62
|
"@atlaskit/tokens": "^20.9.0",
|
|
63
63
|
"@atlaskit/tooltip": "^24.4.0",
|
|
64
64
|
"@atlaskit/ufo": "^2.0.0",
|