@atlaskit/status 3.0.18 → 3.0.20

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/status
2
2
 
3
+ ## 3.0.20
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 3.0.19
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 3.0.18
4
16
 
5
17
  ### Patch Changes
@@ -831,7 +843,6 @@
831
843
 
832
844
  Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
833
845
  [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
834
-
835
846
  - @atlaskit/docs@8.3.2
836
847
  - @atlaskit/visual-regression@0.1.9
837
848
  - @atlaskit/analytics-next@6.3.5
@@ -866,7 +877,6 @@
866
877
 
867
878
  ED-8246 Fix focus outline on status buttons when tab is used to navigate- Updated dependencies
868
879
  [edc4a4a7ae](https://bitbucket.org/atlassian/atlassian-frontend/commits/edc4a4a7ae):
869
-
870
880
  - @atlaskit/editor-test-helpers@10.4.1
871
881
 
872
882
  ## 0.9.19
@@ -986,12 +996,10 @@
986
996
  safety. Flow types are no longer provided. No behavioural changes.
987
997
 
988
998
  **Breaking changes**
989
-
990
999
  - `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
991
1000
  - `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
992
1001
 
993
1002
  **Breaking changes to TypeScript annotations**
994
-
995
1003
  - `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide
996
1004
  props as a generic type.
997
1005
  - `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide
@@ -1040,7 +1048,6 @@
1040
1048
  - [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
1041
1049
 
1042
1050
  In this PR, we are:
1043
-
1044
1051
  - Re-introducing dist build folders
1045
1052
  - Adding back cjs
1046
1053
  - Replacing es5 by cjs and es2015 by esm
@@ -1098,7 +1105,6 @@
1098
1105
  ## 0.9.0
1099
1106
 
1100
1107
  - [minor][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
1101
-
1102
1108
  - Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
1103
1109
  this package, please ensure you use at least this version of react and react-dom.
1104
1110
 
@@ -1115,20 +1121,17 @@
1115
1121
  ## 0.8.2
1116
1122
 
1117
1123
  - [patch][3f28e6443c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3f28e6443c):
1118
-
1119
1124
  - @atlaskit/analytics-next-types is deprecated. Now you can use types for @atlaskit/analytics-next
1120
1125
  supplied from itself.
1121
1126
 
1122
1127
  ## 0.8.1
1123
1128
 
1124
1129
  - [patch][351e23aeb5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/351e23aeb5):
1125
-
1126
1130
  - ED-6102: fixed inline node deletion on Android
1127
1131
 
1128
1132
  ## 0.8.0
1129
1133
 
1130
1134
  - [minor][97abf5e006](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/97abf5e006):
1131
-
1132
1135
  - Support entry points for Status and StatusPicker for selective imports
1133
1136
 
1134
1137
  ## 0.7.2
@@ -1140,19 +1143,16 @@
1140
1143
  ## 0.7.1
1141
1144
 
1142
1145
  - [patch][1bcaa1b991](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1bcaa1b991):
1143
-
1144
1146
  - Add npmignore for index.ts to prevent some jest tests from resolving that instead of index.js
1145
1147
 
1146
1148
  ## 0.7.0
1147
1149
 
1148
1150
  - [minor][b684722884](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b684722884):
1149
-
1150
1151
  - improvement of SSR tests and examples for Fabric Elements
1151
1152
 
1152
1153
  ## 0.6.0
1153
1154
 
1154
1155
  - [minor][9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
1155
-
1156
1156
  - Dropped ES5 distributables from the typescript packages
1157
1157
 
1158
1158
  ## 0.5.2
@@ -1176,25 +1176,21 @@
1176
1176
  ## 0.5.0
1177
1177
 
1178
1178
  - [minor][4072865c1c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4072865c1c):
1179
-
1180
1179
  - added SSR tests to task-decision
1181
1180
 
1182
1181
  ## 0.4.0
1183
1182
 
1184
1183
  - [minor][36bb743af0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/36bb743af0):
1185
-
1186
1184
  - added/cleaned up ssr tests
1187
1185
 
1188
1186
  ## 0.3.8
1189
1187
 
1190
1188
  - [patch][e27ba4f443](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e27ba4f443):
1191
-
1192
1189
  - added SSR tests to status
1193
1190
 
1194
1191
  ## 0.3.7
1195
1192
 
1196
1193
  - [patch][0e4dedafc1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0e4dedafc1):
1197
-
1198
1194
  - Fix incorrect dependency listings
1199
1195
 
1200
1196
  ## 0.3.6
@@ -1206,19 +1202,16 @@
1206
1202
  ## 0.3.5
1207
1203
 
1208
1204
  - [patch][1856738865](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1856738865):
1209
-
1210
1205
  - Update status picker example to be interactive
1211
1206
 
1212
1207
  ## 0.3.4
1213
1208
 
1214
1209
  - [patch][109cf449d6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/109cf449d6):
1215
-
1216
1210
  - enable noImplicitAny for status. fix related issues
1217
1211
 
1218
1212
  ## 0.3.3
1219
1213
 
1220
1214
  - [patch][9696b18dec](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9696b18dec):
1221
-
1222
1215
  - disabled automatic correction and spelling in the StatusPicker texfield (safari bug)
1223
1216
 
1224
1217
  ## 0.3.2
@@ -1231,32 +1224,26 @@
1231
1224
  ## 0.3.1
1232
1225
 
1233
1226
  - [patch][7d9ccd7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7d9ccd7):
1234
-
1235
1227
  - fixed copy/paste status from renderer to editor
1236
1228
 
1237
1229
  ## 0.3.0
1238
1230
 
1239
1231
  - [minor][00c648e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/00c648e):
1240
-
1241
1232
  - fixed typo in i18n messages and code improvements
1242
1233
 
1243
1234
  - [minor][a17bb0e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a17bb0e):
1244
-
1245
1235
  - added i18n translations
1246
1236
 
1247
1237
  - [minor][99f08a0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/99f08a0):
1248
-
1249
1238
  - added i18n support to Fabric Status
1250
1239
 
1251
1240
  ## 0.2.11
1252
1241
 
1253
1242
  - [patch][d3f3e19](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d3f3e19):
1254
-
1255
1243
  - restored StatusContainer to editor-core, avoid re-rendering on event handlers, removed unused
1256
1244
  props in the renderer
1257
1245
 
1258
1246
  - [patch][44cc61d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/44cc61d):
1259
-
1260
1247
  - added native status analytics
1261
1248
 
1262
1249
  ## 0.2.10
@@ -1271,7 +1258,6 @@
1271
1258
  ## 0.2.9
1272
1259
 
1273
1260
  - [patch][48640fb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/48640fb):
1274
-
1275
1261
  - FS-3227 - Prevent status popup focus from scrolling editor
1276
1262
 
1277
1263
  ## 0.2.8
@@ -1286,7 +1272,6 @@
1286
1272
  ## 0.2.7
1287
1273
 
1288
1274
  - [patch][3061b52](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3061b52):
1289
-
1290
1275
  - AK-5723 - adjust files in package.json to ensure correct publishing of dist/package.json
1291
1276
 
1292
1277
  ## 0.2.6
@@ -1298,20 +1283,17 @@
1298
1283
  ## 0.2.5
1299
1284
 
1300
1285
  - [patch][d518ce0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d518ce0):
1301
-
1302
1286
  - FS-3118 - Only focus status input field on initial insertion. FS-3158 - Fix focus flicker in
1303
1287
  status input field.
1304
1288
 
1305
1289
  ## 0.2.4
1306
1290
 
1307
1291
  - [patch][36c362f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/36c362f):
1308
-
1309
1292
  - FS-3174 - Fix usage of gridSize() and borderRadius()
1310
1293
 
1311
1294
  ## 0.2.3
1312
1295
 
1313
1296
  - [patch][527b954](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/527b954):
1314
-
1315
1297
  - FS-3174 - Remove usage of util-shared-styles from elements components
1316
1298
 
1317
1299
  ## 0.2.2
@@ -1,4 +1,4 @@
1
- /* Status.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* Status.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -91,8 +91,12 @@ var StatusInternal = /*#__PURE__*/function (_PureComponent) {
91
91
  return /*#__PURE__*/React.createElement("span", {
92
92
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
93
93
  className: (0, _runtime.ax)([isAndroidChromium && "_d0dzdf4r _1k0l7vkz _1frxnkob", "status-lozenge-span"]),
94
- onClick: onClick,
95
- onMouseEnter: this.handleMouseEnter,
94
+ onClick: onClick
95
+ // eslint-disable-next-line @atlassian/a11y/mouse-events-have-key-events
96
+ ,
97
+ onMouseEnter: this.handleMouseEnter
98
+ // eslint-disable-next-line @atlassian/a11y/mouse-events-have-key-events
99
+ ,
96
100
  onMouseLeave: this.handleMouseLeave,
97
101
  "data-node-type": "status",
98
102
  "data-color": color,
@@ -1,4 +1,4 @@
1
- /* StatusPicker.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* StatusPicker.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* color-palette.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* color-palette.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -24,4 +24,4 @@
24
24
  ._otyrze3t{margin-bottom:var(--ds-space-0,0)}
25
25
  ._u5f3e4h9{padding-right:var(--ds-border-width,1px)}
26
26
  ._u5f3ze3t{padding-right:var(--ds-space-0,0)}
27
- ._bfw7kzr3:hover{border:var(--_1hbmzy2)}
27
+ ._bfw77r9e:hover{border:var(--ds-border-width,1px) solid var(--ds-border,#091e4224)}
@@ -1,4 +1,4 @@
1
- /* color.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* color.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -75,10 +75,7 @@ var Color = exports.default = /*#__PURE__*/function (_PureComponent) {
75
75
  value = _this$props2.value,
76
76
  setRef = _this$props2.setRef;
77
77
  return /*#__PURE__*/React.createElement("li", {
78
- className: (0, _runtime.ax)(["_2rko12x7 _189ee4h9 _1dqonqa1 _1h6d1j28 _19pkze3t _2hwxv77o _otyrze3t _18u0v77o _1e0c1txw _4cvr1h6o _ca0qe4h9 _u5f3e4h9 _n3tde4h9 _19bve4h9 _bfw7kzr3"]),
79
- style: {
80
- "--_1hbmzy2": (0, _runtime.ix)("var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, #091E4224)"))
81
- }
78
+ className: (0, _runtime.ax)(["_2rko12x7 _189ee4h9 _1dqonqa1 _1h6d1j28 _19pkze3t _2hwxv77o _otyrze3t _18u0v77o _1e0c1txw _4cvr1h6o _ca0qe4h9 _u5f3e4h9 _n3tde4h9 _19bve4h9 _bfw77r9e"])
82
79
  }, /*#__PURE__*/React.createElement(_reactIntlNext.FormattedMessage, _i18n.messages["".concat(value, "Color")], function (labels) {
83
80
  return /*#__PURE__*/React.createElement(_compiled.Pressable, {
84
81
  xcss: styles.button,
@@ -1,4 +1,4 @@
1
- /* Status.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* Status.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import "./Status.compiled.css";
4
4
  import * as React from 'react';
@@ -67,8 +67,12 @@ class StatusInternal extends PureComponent {
67
67
  return /*#__PURE__*/React.createElement("span", {
68
68
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
69
69
  className: ax([isAndroidChromium && "_d0dzdf4r _1k0l7vkz _1frxnkob", "status-lozenge-span"]),
70
- onClick: onClick,
71
- onMouseEnter: this.handleMouseEnter,
70
+ onClick: onClick
71
+ // eslint-disable-next-line @atlassian/a11y/mouse-events-have-key-events
72
+ ,
73
+ onMouseEnter: this.handleMouseEnter
74
+ // eslint-disable-next-line @atlassian/a11y/mouse-events-have-key-events
75
+ ,
72
76
  onMouseLeave: this.handleMouseLeave,
73
77
  "data-node-type": "status",
74
78
  "data-color": color,
@@ -1,4 +1,4 @@
1
- /* StatusPicker.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* StatusPicker.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import "./StatusPicker.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* color-palette.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* color-palette.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./color-palette.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React, { useEffect, useRef, useCallback, useState } from 'react';
@@ -1,4 +1,4 @@
1
- /* color.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* color.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import "./color.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* Status.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* Status.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
3
3
  import _createClass from "@babel/runtime/helpers/createClass";
4
4
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
@@ -82,8 +82,12 @@ var StatusInternal = /*#__PURE__*/function (_PureComponent) {
82
82
  return /*#__PURE__*/React.createElement("span", {
83
83
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
84
84
  className: ax([isAndroidChromium && "_d0dzdf4r _1k0l7vkz _1frxnkob", "status-lozenge-span"]),
85
- onClick: onClick,
86
- onMouseEnter: this.handleMouseEnter,
85
+ onClick: onClick
86
+ // eslint-disable-next-line @atlassian/a11y/mouse-events-have-key-events
87
+ ,
88
+ onMouseEnter: this.handleMouseEnter
89
+ // eslint-disable-next-line @atlassian/a11y/mouse-events-have-key-events
90
+ ,
87
91
  onMouseLeave: this.handleMouseLeave,
88
92
  "data-node-type": "status",
89
93
  "data-color": color,
@@ -1,4 +1,4 @@
1
- /* StatusPicker.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* StatusPicker.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
3
3
  import _createClass from "@babel/runtime/helpers/createClass";
4
4
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
@@ -1,4 +1,4 @@
1
- /* color-palette.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* color-palette.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
3
  import "./color-palette.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -24,4 +24,4 @@
24
24
  ._otyrze3t{margin-bottom:var(--ds-space-0,0)}
25
25
  ._u5f3e4h9{padding-right:var(--ds-border-width,1px)}
26
26
  ._u5f3ze3t{padding-right:var(--ds-space-0,0)}
27
- ._bfw7kzr3:hover{border:var(--_1hbmzy2)}
27
+ ._bfw77r9e:hover{border:var(--ds-border-width,1px) solid var(--ds-border,#091e4224)}
@@ -1,4 +1,4 @@
1
- /* color.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* color.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
3
3
  import _createClass from "@babel/runtime/helpers/createClass";
4
4
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
@@ -66,10 +66,7 @@ var Color = /*#__PURE__*/function (_PureComponent) {
66
66
  value = _this$props2.value,
67
67
  setRef = _this$props2.setRef;
68
68
  return /*#__PURE__*/React.createElement("li", {
69
- className: ax(["_2rko12x7 _189ee4h9 _1dqonqa1 _1h6d1j28 _19pkze3t _2hwxv77o _otyrze3t _18u0v77o _1e0c1txw _4cvr1h6o _ca0qe4h9 _u5f3e4h9 _n3tde4h9 _19bve4h9 _bfw7kzr3"]),
70
- style: {
71
- "--_1hbmzy2": ix("var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, #091E4224)"))
72
- }
69
+ className: ax(["_2rko12x7 _189ee4h9 _1dqonqa1 _1h6d1j28 _19pkze3t _2hwxv77o _otyrze3t _18u0v77o _1e0c1txw _4cvr1h6o _ca0qe4h9 _u5f3e4h9 _n3tde4h9 _19bve4h9 _bfw77r9e"])
73
70
  }, /*#__PURE__*/React.createElement(FormattedMessage, messages["".concat(value, "Color")], function (labels) {
74
71
  return /*#__PURE__*/React.createElement(Pressable, {
75
72
  xcss: styles.button,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/status",
3
- "version": "3.0.18",
3
+ "version": "3.0.20",
4
4
  "description": "Fabric Status React Components",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -28,15 +28,15 @@
28
28
  "dependencies": {
29
29
  "@atlaskit/afm-i18n-platform-elements-status": "2.7.0",
30
30
  "@atlaskit/analytics-next": "^11.1.0",
31
- "@atlaskit/icon": "^28.2.0",
31
+ "@atlaskit/icon": "^28.5.0",
32
32
  "@atlaskit/lozenge": "^13.0.0",
33
33
  "@atlaskit/platform-feature-flags": "^1.1.0",
34
34
  "@atlaskit/platform-feature-flags-react": "^0.3.0",
35
- "@atlaskit/primitives": "^14.15.0",
35
+ "@atlaskit/primitives": "^15.0.0",
36
36
  "@atlaskit/textfield": "^8.0.0",
37
- "@atlaskit/tokens": "^6.3.0",
37
+ "@atlaskit/tokens": "^7.0.0",
38
38
  "@babel/runtime": "^7.0.0",
39
- "@compiled/react": "^0.18.3"
39
+ "@compiled/react": "^0.18.6"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "react": "^18.2.0",