@atlaskit/section-message 6.4.13 → 6.4.14
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
|
@@ -15,7 +15,7 @@ var _warning = _interopRequireDefault(require("@atlaskit/icon/glyph/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
|
-
var appearanceIconSchema = {
|
|
18
|
+
var appearanceIconSchema = exports.appearanceIconSchema = {
|
|
19
19
|
information: {
|
|
20
20
|
backgroundColor: "var(--ds-background-information, ".concat(_colors.B50, ")"),
|
|
21
21
|
Icon: _info.default,
|
|
@@ -42,7 +42,6 @@ var appearanceIconSchema = {
|
|
|
42
42
|
primaryIconColor: "var(--ds-icon-discovery, ".concat(_colors.P500, ")")
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
|
-
exports.appearanceIconSchema = appearanceIconSchema;
|
|
46
45
|
function getAppearanceIconStyles(appearance, icon) {
|
|
47
46
|
var appearanceIconStyles = appearanceIconSchema[appearance] || appearanceIconSchema.information;
|
|
48
47
|
var Icon = icon || appearanceIconStyles.Icon;
|
|
@@ -38,5 +38,4 @@ var SectionMessageAction = /*#__PURE__*/(0, _react.memo)(function SectionMessage
|
|
|
38
38
|
}, children) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, children);
|
|
39
39
|
});
|
|
40
40
|
SectionMessageAction.displayName = 'SectionMessageAction';
|
|
41
|
-
var _default = SectionMessageAction;
|
|
42
|
-
exports.default = _default;
|
|
41
|
+
var _default = exports.default = SectionMessageAction;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/section-message",
|
|
3
|
-
"version": "6.4.
|
|
3
|
+
"version": "6.4.14",
|
|
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/"
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@atlaskit/button": "^16.10.0",
|
|
41
41
|
"@atlaskit/codemod-utils": "^4.2.0",
|
|
42
|
-
"@atlaskit/ds-explorations": "^
|
|
42
|
+
"@atlaskit/ds-explorations": "^3.0.0",
|
|
43
43
|
"@atlaskit/heading": "^1.4.0",
|
|
44
44
|
"@atlaskit/icon": "^21.12.0",
|
|
45
45
|
"@atlaskit/primitives": "^1.6.0",
|