@atlaskit/status 3.0.18 → 3.0.19
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/dist/cjs/components/Status.js +7 -3
- package/dist/cjs/components/StatusPicker.js +1 -1
- package/dist/cjs/components/internal/color-palette.js +1 -1
- package/dist/cjs/components/internal/color.compiled.css +1 -1
- package/dist/cjs/components/internal/color.js +2 -5
- package/dist/es2019/components/Status.js +7 -3
- package/dist/es2019/components/StatusPicker.js +1 -1
- package/dist/es2019/components/internal/color-palette.js +1 -1
- package/dist/es2019/components/internal/color.js +1 -1
- package/dist/esm/components/Status.js +7 -3
- package/dist/esm/components/StatusPicker.js +1 -1
- package/dist/esm/components/internal/color-palette.js +1 -1
- package/dist/esm/components/internal/color.compiled.css +1 -1
- package/dist/esm/components/internal/color.js +2 -5
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Status.tsx generated by @compiled/babel-plugin v0.
|
|
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
|
-
|
|
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,
|
|
@@ -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
|
-
.
|
|
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.
|
|
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
|
|
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.
|
|
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
|
-
|
|
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.
|
|
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.
|
|
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
|
-
/* Status.tsx generated by @compiled/babel-plugin v0.
|
|
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
|
-
|
|
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.
|
|
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.
|
|
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
|
-
.
|
|
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.
|
|
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
|
|
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.
|
|
3
|
+
"version": "3.0.19",
|
|
4
4
|
"description": "Fabric Status React Components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -28,13 +28,13 @@
|
|
|
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.
|
|
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": "^
|
|
35
|
+
"@atlaskit/primitives": "^15.0.0",
|
|
36
36
|
"@atlaskit/textfield": "^8.0.0",
|
|
37
|
-
"@atlaskit/tokens": "^6.
|
|
37
|
+
"@atlaskit/tokens": "^6.5.0",
|
|
38
38
|
"@babel/runtime": "^7.0.0",
|
|
39
39
|
"@compiled/react": "^0.18.3"
|
|
40
40
|
},
|