@atlaskit/reactions 36.0.5 → 36.0.7
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/components/Counter.js +4 -2
- package/dist/es2019/analytics/index.js +1 -1
- package/dist/es2019/components/Counter.js +2 -1
- package/dist/esm/analytics/index.js +1 -1
- package/dist/esm/components/Counter.js +2 -1
- package/dist/types/components/Counter.d.ts +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -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 = "36.0.
|
|
14
|
+
var packageVersion = "36.0.6";
|
|
15
15
|
/**
|
|
16
16
|
* TODO: move to utility package?
|
|
17
17
|
* A random sampling function
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/* Counter.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
5
|
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
5
6
|
Object.defineProperty(exports, "__esModule", {
|
|
6
7
|
value: true
|
|
@@ -10,7 +11,8 @@ require("./Counter.compiled.css");
|
|
|
10
11
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
12
|
var React = _react;
|
|
12
13
|
var _runtime = require("@compiled/react/runtime");
|
|
13
|
-
var
|
|
14
|
+
var _slideIn = _interopRequireDefault(require("@atlaskit/motion/slide-in"));
|
|
15
|
+
var _exitingPersistence = _interopRequireDefault(require("@atlaskit/motion/exiting-persistence"));
|
|
14
16
|
var _utils = require("../shared/utils");
|
|
15
17
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
16
18
|
var containerStyle = null;
|
|
@@ -70,7 +72,7 @@ var Counter = exports.Counter = function Counter(_ref) {
|
|
|
70
72
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
71
73
|
className: (0, _runtime.ax)(["_11c8wadc _1reo15vq _18m915vq _syaz1rpy _kqswh2mm _ca0q1b66 _u5f3u2gc _n3td1b66 _19bvidpf _vwz4dlk8", useDarkerFont && "_syazazsu", useUpdatedStyles && "_19pkv77o", className]),
|
|
72
74
|
"data-testid": RENDER_COMPONENT_WRAPPER
|
|
73
|
-
}, /*#__PURE__*/React.createElement(
|
|
75
|
+
}, /*#__PURE__*/React.createElement(_exitingPersistence.default, null, /*#__PURE__*/React.createElement(_slideIn.default, {
|
|
74
76
|
enterFrom: isIncreasing ? 'top' : 'bottom',
|
|
75
77
|
exitTo: isIncreasing ? 'top' : 'bottom',
|
|
76
78
|
key: value,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import createAndFireEvent from '@atlaskit/analytics-next/createAndFireEvents';
|
|
3
3
|
import { UI_EVENT_TYPE, OPERATIONAL_EVENT_TYPE } from '@atlaskit/analytics-gas-types';
|
|
4
4
|
const packageName = "@atlaskit/reactions";
|
|
5
|
-
const packageVersion = "36.0.
|
|
5
|
+
const packageVersion = "36.0.6";
|
|
6
6
|
/**
|
|
7
7
|
* TODO: move to utility package?
|
|
8
8
|
* A random sampling function
|
|
@@ -3,7 +3,8 @@ import "./Counter.compiled.css";
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { useEffect, useMemo, useRef } from 'react';
|
|
6
|
-
import
|
|
6
|
+
import SlideIn from '@atlaskit/motion/slide-in';
|
|
7
|
+
import ExitingPersistence from '@atlaskit/motion/exiting-persistence';
|
|
7
8
|
import { formatLargeNumber } from '../shared/utils';
|
|
8
9
|
const containerStyle = null;
|
|
9
10
|
const counterLabelStyle = null;
|
|
@@ -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/createAndFireEvents';
|
|
6
6
|
import { UI_EVENT_TYPE, OPERATIONAL_EVENT_TYPE } from '@atlaskit/analytics-gas-types';
|
|
7
7
|
var packageName = "@atlaskit/reactions";
|
|
8
|
-
var packageVersion = "36.0.
|
|
8
|
+
var packageVersion = "36.0.6";
|
|
9
9
|
/**
|
|
10
10
|
* TODO: move to utility package?
|
|
11
11
|
* A random sampling function
|
|
@@ -3,7 +3,8 @@ import "./Counter.compiled.css";
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { useEffect, useMemo, useRef } from 'react';
|
|
6
|
-
import
|
|
6
|
+
import SlideIn from '@atlaskit/motion/slide-in';
|
|
7
|
+
import ExitingPersistence from '@atlaskit/motion/exiting-persistence';
|
|
7
8
|
import { formatLargeNumber } from '../shared/utils';
|
|
8
9
|
var containerStyle = null;
|
|
9
10
|
var counterLabelStyle = null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/reactions",
|
|
3
|
-
"version": "36.0.
|
|
3
|
+
"version": "36.0.7",
|
|
4
4
|
"description": "Reactions component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"@atlaskit/spinner": "^20.3.0",
|
|
56
56
|
"@atlaskit/tabs": "^21.1.0",
|
|
57
57
|
"@atlaskit/theme": "^28.1.0",
|
|
58
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
59
|
-
"@atlaskit/tokens": "^16.
|
|
58
|
+
"@atlaskit/tmp-editor-statsig": "^168.0.0",
|
|
59
|
+
"@atlaskit/tokens": "^16.9.0",
|
|
60
60
|
"@atlaskit/tooltip": "^24.2.0",
|
|
61
61
|
"@atlaskit/ufo": "^1.0.0",
|
|
62
62
|
"@atlaskit/util-service-support": "^7.2.0",
|