@atlaskit/profilecard 18.1.0 → 18.1.1

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,11 @@
1
1
  # @atlaskit/profilecard
2
2
 
3
+ ## 18.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`60b1c9b0f05`](https://bitbucket.org/atlassian/atlassian-frontend/commits/60b1c9b0f05) - Upgrade profilecard to the latest major version of emotion
8
+
3
9
  ## 18.1.0
4
10
 
5
11
  ### Minor Changes
@@ -13,7 +13,7 @@ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/hel
13
13
 
14
14
  var _react = _interopRequireDefault(require("react"));
15
15
 
16
- var _core = require("@emotion/core");
16
+ var _react2 = require("@emotion/react");
17
17
 
18
18
  var _styled = _interopRequireDefault(require("@emotion/styled"));
19
19
 
@@ -44,7 +44,7 @@ exports.ProfileImage = ProfileImage;
44
44
  var ActionsFlexSpacer = _styled.default.div(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n flex: 1 0 auto;\n"])));
45
45
 
46
46
  exports.ActionsFlexSpacer = ActionsFlexSpacer;
47
- var kudosButtonAnimationTransformation = (0, _core.keyframes)(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["{\n 0% { transform: translate(-80px, -50px); }\n 100% { transform: translate(90px, -70px); }\n}"])));
47
+ var kudosButtonAnimationTransformation = (0, _react2.keyframes)(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["{\n 0% { transform: translate(-80px, -50px); }\n 100% { transform: translate(90px, -70px); }\n}"])));
48
48
 
49
49
  var KudosBlobAnimationStyle = _styled.default.div(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n display: none;\n height: 150px;\n width: 150px;\n z-index: -1;\n position: absolute;\n animation-name: ", ";\n animation-iteration-count: 1;\n animation-duration: 3s;\n background-image: radial-gradient(\n circle,\n ", " 0%,\n ", " 25%,\n transparent 50%\n );\n overflow: hidden;\n"])), kudosButtonAnimationTransformation, (0, _tokens.token)('color.background.information.pressed', '#85B8FF'), (0, _tokens.token)('color.background.discovery.pressed', '#B8ACF6'));
50
50
 
@@ -59,7 +59,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
59
59
  actionSubjectId: actionSubjectId,
60
60
  attributes: _objectSpread(_objectSpread({
61
61
  packageName: "@atlaskit/profilecard",
62
- packageVersion: "18.1.0"
62
+ packageVersion: "18.1.1"
63
63
  }, attributes), {}, {
64
64
  firedAt: Math.round((0, _performance.getPageTime)())
65
65
  })
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/profilecard",
3
- "version": "18.1.0"
3
+ "version": "18.1.1"
4
4
  }
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import { keyframes } from '@emotion/core';
3
+ import { keyframes } from '@emotion/react';
4
4
  import styled from '@emotion/styled';
5
5
  import { borderRadius, fontSizeSmall, gridSize } from '@atlaskit/theme/constants';
6
6
  import { token } from '@atlaskit/tokens';
@@ -38,7 +38,7 @@ const createEvent = (eventType, action, actionSubject, actionSubjectId, attribut
38
38
  actionSubjectId,
39
39
  attributes: {
40
40
  packageName: "@atlaskit/profilecard",
41
- packageVersion: "18.1.0",
41
+ packageVersion: "18.1.1",
42
42
  ...attributes,
43
43
  firedAt: Math.round(getPageTime())
44
44
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/profilecard",
3
- "version": "18.1.0"
3
+ "version": "18.1.1"
4
4
  }
@@ -4,7 +4,7 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
4
4
  var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22;
5
5
 
6
6
  import React from 'react';
7
- import { keyframes } from '@emotion/core';
7
+ import { keyframes } from '@emotion/react';
8
8
  import styled from '@emotion/styled';
9
9
  import { borderRadius, fontSizeSmall, gridSize } from '@atlaskit/theme/constants';
10
10
  import { token } from '@atlaskit/tokens';
@@ -48,7 +48,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
48
48
  actionSubjectId: actionSubjectId,
49
49
  attributes: _objectSpread(_objectSpread({
50
50
  packageName: "@atlaskit/profilecard",
51
- packageVersion: "18.1.0"
51
+ packageVersion: "18.1.1"
52
52
  }, attributes), {}, {
53
53
  firedAt: Math.round(getPageTime())
54
54
  })
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/profilecard",
3
- "version": "18.1.0"
3
+ "version": "18.1.1"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/profilecard",
3
- "version": "18.1.0",
3
+ "version": "18.1.1",
4
4
  "description": "A React component to display a card with user information.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -52,7 +52,7 @@
52
52
  "@atlaskit/theme": "^12.2.0",
53
53
  "@atlaskit/tokens": "^0.13.0",
54
54
  "@babel/runtime": "^7.0.0",
55
- "@emotion/core": "^10.0.9",
55
+ "@emotion/react": "^11.7.1",
56
56
  "@emotion/styled": "^11.0.0",
57
57
  "date-fns": "^2.17.0",
58
58
  "lodash": "^4.17.21",