@atlaskit/section-message 8.11.0 → 8.11.2
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/section-message
|
|
2
2
|
|
|
3
|
+
## 8.11.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 8.11.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`d14ea5f60b689`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d14ea5f60b689) -
|
|
14
|
+
chore: migrate platform UI & component libraries icon imports from migration paths to core
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 8.11.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
|
@@ -7,38 +7,38 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.getAppearanceIconStyles = getAppearanceIconStyles;
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
9
|
var _react = _interopRequireDefault(require("react"));
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var
|
|
10
|
+
var _statusDiscovery = _interopRequireDefault(require("@atlaskit/icon/core/status-discovery"));
|
|
11
|
+
var _statusError = _interopRequireDefault(require("@atlaskit/icon/core/status-error"));
|
|
12
|
+
var _statusInformation = _interopRequireDefault(require("@atlaskit/icon/core/status-information"));
|
|
13
|
+
var _statusSuccess = _interopRequireDefault(require("@atlaskit/icon/core/status-success"));
|
|
14
|
+
var _statusWarning = _interopRequireDefault(require("@atlaskit/icon/core/status-warning"));
|
|
15
15
|
var _colors = require("@atlaskit/theme/colors");
|
|
16
16
|
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; }
|
|
17
17
|
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; }
|
|
18
18
|
var appearanceIconSchema = {
|
|
19
19
|
information: {
|
|
20
20
|
backgroundColor: "var(--ds-background-information, ".concat(_colors.B50, ")"),
|
|
21
|
-
Icon:
|
|
21
|
+
Icon: _statusInformation.default,
|
|
22
22
|
primaryIconColor: "var(--ds-icon-information, ".concat(_colors.B500, ")")
|
|
23
23
|
},
|
|
24
24
|
warning: {
|
|
25
25
|
backgroundColor: "var(--ds-background-warning, ".concat(_colors.Y50, ")"),
|
|
26
|
-
Icon:
|
|
26
|
+
Icon: _statusWarning.default,
|
|
27
27
|
primaryIconColor: "var(--ds-icon-warning, ".concat(_colors.Y500, ")")
|
|
28
28
|
},
|
|
29
29
|
error: {
|
|
30
30
|
backgroundColor: "var(--ds-background-danger, ".concat(_colors.R50, ")"),
|
|
31
|
-
Icon:
|
|
31
|
+
Icon: _statusError.default,
|
|
32
32
|
primaryIconColor: "var(--ds-icon-danger, ".concat(_colors.R500, ")")
|
|
33
33
|
},
|
|
34
34
|
success: {
|
|
35
35
|
backgroundColor: "var(--ds-background-success, ".concat(_colors.G50, ")"),
|
|
36
|
-
Icon:
|
|
36
|
+
Icon: _statusSuccess.default,
|
|
37
37
|
primaryIconColor: "var(--ds-icon-success, ".concat(_colors.G500, ")")
|
|
38
38
|
},
|
|
39
39
|
discovery: {
|
|
40
40
|
backgroundColor: "var(--ds-background-discovery, ".concat(_colors.P50, ")"),
|
|
41
|
-
Icon:
|
|
41
|
+
Icon: _statusDiscovery.default,
|
|
42
42
|
primaryIconColor: "var(--ds-icon-discovery, ".concat(_colors.P500, ")")
|
|
43
43
|
}
|
|
44
44
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
3
|
-
import ErrorIcon from '@atlaskit/icon/core/
|
|
4
|
-
import InfoIcon from '@atlaskit/icon/core/
|
|
5
|
-
import SuccessIcon from '@atlaskit/icon/core/
|
|
6
|
-
import WarningIcon from '@atlaskit/icon/core/
|
|
2
|
+
import StatusDiscoveryIcon from '@atlaskit/icon/core/status-discovery';
|
|
3
|
+
import ErrorIcon from '@atlaskit/icon/core/status-error';
|
|
4
|
+
import InfoIcon from '@atlaskit/icon/core/status-information';
|
|
5
|
+
import SuccessIcon from '@atlaskit/icon/core/status-success';
|
|
6
|
+
import WarningIcon from '@atlaskit/icon/core/status-warning';
|
|
7
7
|
import { B50, B500, G50, G500, P50, P500, R50, R500, Y50, Y500 } from '@atlaskit/theme/colors';
|
|
8
8
|
const appearanceIconSchema = {
|
|
9
9
|
information: {
|
|
@@ -28,7 +28,7 @@ const appearanceIconSchema = {
|
|
|
28
28
|
},
|
|
29
29
|
discovery: {
|
|
30
30
|
backgroundColor: `var(--ds-background-discovery, ${P50})`,
|
|
31
|
-
Icon:
|
|
31
|
+
Icon: StatusDiscoveryIcon,
|
|
32
32
|
primaryIconColor: `var(--ds-icon-discovery, ${P500})`
|
|
33
33
|
}
|
|
34
34
|
};
|
|
@@ -2,11 +2,11 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
2
2
|
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; }
|
|
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
|
import React from 'react';
|
|
5
|
-
import
|
|
6
|
-
import ErrorIcon from '@atlaskit/icon/core/
|
|
7
|
-
import InfoIcon from '@atlaskit/icon/core/
|
|
8
|
-
import SuccessIcon from '@atlaskit/icon/core/
|
|
9
|
-
import WarningIcon from '@atlaskit/icon/core/
|
|
5
|
+
import StatusDiscoveryIcon from '@atlaskit/icon/core/status-discovery';
|
|
6
|
+
import ErrorIcon from '@atlaskit/icon/core/status-error';
|
|
7
|
+
import InfoIcon from '@atlaskit/icon/core/status-information';
|
|
8
|
+
import SuccessIcon from '@atlaskit/icon/core/status-success';
|
|
9
|
+
import WarningIcon from '@atlaskit/icon/core/status-warning';
|
|
10
10
|
import { B50, B500, G50, G500, P50, P500, R50, R500, Y50, Y500 } from '@atlaskit/theme/colors';
|
|
11
11
|
var appearanceIconSchema = {
|
|
12
12
|
information: {
|
|
@@ -31,7 +31,7 @@ var appearanceIconSchema = {
|
|
|
31
31
|
},
|
|
32
32
|
discovery: {
|
|
33
33
|
backgroundColor: "var(--ds-background-discovery, ".concat(P50, ")"),
|
|
34
|
-
Icon:
|
|
34
|
+
Icon: StatusDiscoveryIcon,
|
|
35
35
|
primaryIconColor: "var(--ds-icon-discovery, ".concat(P500, ")")
|
|
36
36
|
}
|
|
37
37
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/section-message",
|
|
3
|
-
"version": "8.11.
|
|
3
|
+
"version": "8.11.2",
|
|
4
4
|
"description": "A section message is used to alert users to a particular section of the screen.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -32,15 +32,15 @@
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@atlaskit/button": "^23.
|
|
36
|
-
"@atlaskit/css": "^0.
|
|
35
|
+
"@atlaskit/button": "^23.9.0",
|
|
36
|
+
"@atlaskit/css": "^0.19.0",
|
|
37
37
|
"@atlaskit/heading": "^5.2.0",
|
|
38
|
-
"@atlaskit/icon": "^29.
|
|
38
|
+
"@atlaskit/icon": "^29.3.0",
|
|
39
39
|
"@atlaskit/link": "^3.2.0",
|
|
40
40
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
41
|
-
"@atlaskit/primitives": "^
|
|
41
|
+
"@atlaskit/primitives": "^17.0.0",
|
|
42
42
|
"@atlaskit/theme": "^21.0.0",
|
|
43
|
-
"@atlaskit/tokens": "^
|
|
43
|
+
"@atlaskit/tokens": "^9.0.0",
|
|
44
44
|
"@babel/runtime": "^7.0.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@atlaskit/code": "^17.4.0",
|
|
55
55
|
"@atlaskit/docs": "^11.2.0",
|
|
56
56
|
"@atlaskit/ds-lib": "^5.3.0",
|
|
57
|
-
"@atlaskit/form": "^15.
|
|
57
|
+
"@atlaskit/form": "^15.1.0",
|
|
58
58
|
"@atlaskit/range": "^9.3.0",
|
|
59
59
|
"@atlassian/ssr-tests": "workspace:^",
|
|
60
60
|
"@testing-library/react": "^13.4.0",
|