@atlaskit/section-message 6.4.13 → 6.4.15

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/section-message
2
2
 
3
+ ## 6.4.15
4
+
5
+ ### Patch Changes
6
+
7
+ - [#41725](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41725) [`8d838ab41ed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d838ab41ed) - Removed all remaining legacy theming logic from Badge, IconObject, Lozenge and SectionMessage. This only affects the examples and some tests in each component. No internal component logic contained legacy theming.
8
+
9
+ ## 6.4.14
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 6.4.13
4
16
 
5
17
  ### Patch Changes
@@ -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;
@@ -83,5 +83,4 @@ var appearanceMap = {
83
83
  discovery: 'color.background.discovery'
84
84
  };
85
85
  SectionMessage.displayName = 'SectionMessage';
86
- var _default = SectionMessage;
87
- exports.default = _default;
86
+ var _default = exports.default = SectionMessage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/section-message",
3
- "version": "6.4.13",
3
+ "version": "6.4.15",
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/"
@@ -37,14 +37,14 @@
37
37
  ".": "./src/index.tsx"
38
38
  },
39
39
  "dependencies": {
40
- "@atlaskit/button": "^16.10.0",
40
+ "@atlaskit/button": "^16.12.0",
41
41
  "@atlaskit/codemod-utils": "^4.2.0",
42
- "@atlaskit/ds-explorations": "^2.3.0",
42
+ "@atlaskit/ds-explorations": "^3.0.0",
43
43
  "@atlaskit/heading": "^1.4.0",
44
44
  "@atlaskit/icon": "^21.12.0",
45
- "@atlaskit/primitives": "^1.6.0",
45
+ "@atlaskit/primitives": "^1.8.0",
46
46
  "@atlaskit/theme": "^12.6.0",
47
- "@atlaskit/tokens": "^1.25.0",
47
+ "@atlaskit/tokens": "^1.28.0",
48
48
  "@babel/runtime": "^7.0.0"
49
49
  },
50
50
  "peerDependencies": {