@atlaskit/status 4.0.9 → 4.0.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 CHANGED
@@ -1,5 +1,19 @@
1
1
  # @atlaskit/status
2
2
 
3
+ ## 4.0.11
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 4.0.10
10
+
11
+ ### Patch Changes
12
+
13
+ - [`d94df511393a9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d94df511393a9) -
14
+ Removing FG platform_editor_a11y_eslint_fix
15
+ - Updated dependencies
16
+
3
17
  ## 4.0.9
4
18
 
5
19
  ### Patch Changes
@@ -18,7 +18,6 @@ var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/ge
18
18
  var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
19
19
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
20
20
  var _lozenge = _interopRequireDefault(require("@atlaskit/lozenge"));
21
- var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
22
21
  var _analyticsNext = require("@atlaskit/analytics-next");
23
22
  var _analytics = require("./analytics");
24
23
  var _constants = require("./constants");
@@ -111,12 +110,12 @@ var StatusInternal = /*#__PURE__*/function (_PureComponent) {
111
110
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
112
111
  className: (0, _runtime.ax)([isAndroidChromium && "_d0dzdf4r _1k0l7vkz _1frxnkob", "status-lozenge-span"]),
113
112
  onClick: onClick,
114
- onKeyDown: (0, _expValEquals.expValEquals)('platform_editor_a11y_eslint_fix', 'isEnabled', true) ? onClick ? this.handleKeyDown : undefined : undefined,
113
+ onKeyDown: onClick ? this.handleKeyDown : undefined,
115
114
  onMouseEnter: this.handleMouseEnter,
116
115
  onMouseLeave: this.handleMouseLeave,
117
- onFocus: (0, _expValEquals.expValEquals)('platform_editor_a11y_eslint_fix', 'isEnabled', true) ? this.handleFocus : undefined,
118
- onBlur: (0, _expValEquals.expValEquals)('platform_editor_a11y_eslint_fix', 'isEnabled', true) ? this.handleBlur : undefined,
119
- tabIndex: (0, _expValEquals.expValEquals)('platform_editor_a11y_eslint_fix', 'isEnabled', true) ? onClick ? -1 : undefined : undefined,
116
+ onFocus: this.handleFocus,
117
+ onBlur: this.handleBlur,
118
+ tabIndex: onClick ? -1 : undefined,
120
119
  "data-node-type": "status",
121
120
  "data-color": color,
122
121
  "data-style": style,
@@ -10,7 +10,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
10
10
  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; }
11
11
  var ELEMENTS_CHANNEL = exports.ELEMENTS_CHANNEL = 'fabric-elements';
12
12
  var packageName = "@atlaskit/status";
13
- var packageVersion = "4.0.8";
13
+ var packageVersion = "4.0.10";
14
14
  var createStatusAnalyticsAndFire = exports.createStatusAnalyticsAndFire = function createStatusAnalyticsAndFire(createAnalyticsEvent) {
15
15
  return function (payload) {
16
16
  var statusPayload = _objectSpread(_objectSpread({}, payload), {}, {
@@ -5,7 +5,6 @@ import * as React from 'react';
5
5
  import { ax, ix } from "@compiled/react/runtime";
6
6
  import { PureComponent } from 'react';
7
7
  import Lozenge from '@atlaskit/lozenge';
8
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
9
8
  import { withAnalyticsEvents } from '@atlaskit/analytics-next';
10
9
  import { createStatusAnalyticsAndFire } from './analytics';
11
10
  import { ANALYTICS_HOVER_DELAY } from './constants';
@@ -91,12 +90,12 @@ class StatusInternal extends PureComponent {
91
90
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
92
91
  className: ax([isAndroidChromium && "_d0dzdf4r _1k0l7vkz _1frxnkob", "status-lozenge-span"]),
93
92
  onClick: onClick,
94
- onKeyDown: expValEquals('platform_editor_a11y_eslint_fix', 'isEnabled', true) ? onClick ? this.handleKeyDown : undefined : undefined,
93
+ onKeyDown: onClick ? this.handleKeyDown : undefined,
95
94
  onMouseEnter: this.handleMouseEnter,
96
95
  onMouseLeave: this.handleMouseLeave,
97
- onFocus: expValEquals('platform_editor_a11y_eslint_fix', 'isEnabled', true) ? this.handleFocus : undefined,
98
- onBlur: expValEquals('platform_editor_a11y_eslint_fix', 'isEnabled', true) ? this.handleBlur : undefined,
99
- tabIndex: expValEquals('platform_editor_a11y_eslint_fix', 'isEnabled', true) ? onClick ? -1 : undefined : undefined,
96
+ onFocus: this.handleFocus,
97
+ onBlur: this.handleBlur,
98
+ tabIndex: onClick ? -1 : undefined,
100
99
  "data-node-type": "status",
101
100
  "data-color": color,
102
101
  "data-style": style,
@@ -1,6 +1,6 @@
1
1
  export const ELEMENTS_CHANNEL = 'fabric-elements';
2
2
  const packageName = "@atlaskit/status";
3
- const packageVersion = "4.0.8";
3
+ const packageVersion = "4.0.10";
4
4
  export const createStatusAnalyticsAndFire = createAnalyticsEvent => payload => {
5
5
  const statusPayload = {
6
6
  ...payload,
@@ -12,7 +12,6 @@ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstruct
12
12
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
13
13
  import { PureComponent } from 'react';
14
14
  import Lozenge from '@atlaskit/lozenge';
15
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
16
15
  import { withAnalyticsEvents } from '@atlaskit/analytics-next';
17
16
  import { createStatusAnalyticsAndFire } from './analytics';
18
17
  import { ANALYTICS_HOVER_DELAY } from './constants';
@@ -102,12 +101,12 @@ var StatusInternal = /*#__PURE__*/function (_PureComponent) {
102
101
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
103
102
  className: ax([isAndroidChromium && "_d0dzdf4r _1k0l7vkz _1frxnkob", "status-lozenge-span"]),
104
103
  onClick: onClick,
105
- onKeyDown: expValEquals('platform_editor_a11y_eslint_fix', 'isEnabled', true) ? onClick ? this.handleKeyDown : undefined : undefined,
104
+ onKeyDown: onClick ? this.handleKeyDown : undefined,
106
105
  onMouseEnter: this.handleMouseEnter,
107
106
  onMouseLeave: this.handleMouseLeave,
108
- onFocus: expValEquals('platform_editor_a11y_eslint_fix', 'isEnabled', true) ? this.handleFocus : undefined,
109
- onBlur: expValEquals('platform_editor_a11y_eslint_fix', 'isEnabled', true) ? this.handleBlur : undefined,
110
- tabIndex: expValEquals('platform_editor_a11y_eslint_fix', 'isEnabled', true) ? onClick ? -1 : undefined : undefined,
107
+ onFocus: this.handleFocus,
108
+ onBlur: this.handleBlur,
109
+ tabIndex: onClick ? -1 : undefined,
111
110
  "data-node-type": "status",
112
111
  "data-color": color,
113
112
  "data-style": style,
@@ -3,7 +3,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
3
3
  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) { _defineProperty(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; }
4
4
  export var ELEMENTS_CHANNEL = 'fabric-elements';
5
5
  var packageName = "@atlaskit/status";
6
- var packageVersion = "4.0.8";
6
+ var packageVersion = "4.0.10";
7
7
  export var createStatusAnalyticsAndFire = function createStatusAnalyticsAndFire(createAnalyticsEvent) {
8
8
  return function (payload) {
9
9
  var statusPayload = _objectSpread(_objectSpread({}, payload), {}, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/status",
3
- "version": "4.0.9",
3
+ "version": "4.0.11",
4
4
  "description": "Fabric Status React Components",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -33,7 +33,7 @@
33
33
  "@atlaskit/platform-feature-flags": "^1.1.0",
34
34
  "@atlaskit/primitives": "^19.0.0",
35
35
  "@atlaskit/textfield": "^8.3.0",
36
- "@atlaskit/tmp-editor-statsig": "^71.0.0",
36
+ "@atlaskit/tmp-editor-statsig": "^73.0.0",
37
37
  "@atlaskit/tokens": "^13.0.0",
38
38
  "@babel/runtime": "^7.0.0",
39
39
  "@compiled/react": "^0.20.0"