@atlaskit/avatar 21.17.0 → 21.17.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 +9 -0
- package/dist/cjs/Avatar.js +1 -1
- package/dist/cjs/AvatarImage.js +1 -0
- package/dist/es2019/Avatar.js +1 -1
- package/dist/es2019/AvatarImage.js +1 -0
- package/dist/esm/Avatar.js +1 -1
- package/dist/esm/AvatarImage.js +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/avatar
|
|
2
2
|
|
|
3
|
+
## 21.17.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#157335](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/157335)
|
|
8
|
+
[`51a41686c7949`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/51a41686c7949) -
|
|
9
|
+
Fixes lineheight issue for xxxsmall avatars which was throwing off the positioning of the fallback
|
|
10
|
+
icon
|
|
11
|
+
|
|
3
12
|
## 21.17.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
package/dist/cjs/Avatar.js
CHANGED
|
@@ -30,7 +30,7 @@ var _templateObject;
|
|
|
30
30
|
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; }
|
|
31
31
|
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; }
|
|
32
32
|
var packageName = "@atlaskit/avatar";
|
|
33
|
-
var packageVersion = "21.17.
|
|
33
|
+
var packageVersion = "21.17.1";
|
|
34
34
|
var getTestId = function getTestId(testId, children) {
|
|
35
35
|
return !children ? {
|
|
36
36
|
'data-testid': "".concat(testId, "--inner")
|
package/dist/cjs/AvatarImage.js
CHANGED
|
@@ -39,6 +39,7 @@ var nestedAvatarStyles = Object.entries(_constants.AVATAR_SIZES).reduce(function
|
|
|
39
39
|
key = _ref2[0],
|
|
40
40
|
size = _ref2[1];
|
|
41
41
|
return _objectSpread(_objectSpread({}, styles), {}, (0, _defineProperty2.default)({}, key, (0, _react2.css)({
|
|
42
|
+
lineHeight: 0,
|
|
42
43
|
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
43
44
|
'& svg': {
|
|
44
45
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
package/dist/es2019/Avatar.js
CHANGED
|
@@ -19,7 +19,7 @@ import { PresenceWrapper } from './Presence';
|
|
|
19
19
|
import { StatusWrapper } from './Status';
|
|
20
20
|
import { getButtonProps, getCustomElement, getLinkProps } from './utilities';
|
|
21
21
|
const packageName = "@atlaskit/avatar";
|
|
22
|
-
const packageVersion = "21.17.
|
|
22
|
+
const packageVersion = "21.17.1";
|
|
23
23
|
const getTestId = (testId, children) => !children ? {
|
|
24
24
|
'data-testid': `${testId}--inner`
|
|
25
25
|
} : {
|
|
@@ -30,6 +30,7 @@ const nestedAvatarStyles = Object.entries(AVATAR_SIZES).reduce((styles, [key, si
|
|
|
30
30
|
return {
|
|
31
31
|
...styles,
|
|
32
32
|
[key]: css({
|
|
33
|
+
lineHeight: 0,
|
|
33
34
|
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
34
35
|
'& svg': {
|
|
35
36
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
package/dist/esm/Avatar.js
CHANGED
|
@@ -24,7 +24,7 @@ import { PresenceWrapper } from './Presence';
|
|
|
24
24
|
import { StatusWrapper } from './Status';
|
|
25
25
|
import { getButtonProps, getCustomElement, getLinkProps } from './utilities';
|
|
26
26
|
var packageName = "@atlaskit/avatar";
|
|
27
|
-
var packageVersion = "21.17.
|
|
27
|
+
var packageVersion = "21.17.1";
|
|
28
28
|
var getTestId = function getTestId(testId, children) {
|
|
29
29
|
return !children ? {
|
|
30
30
|
'data-testid': "".concat(testId, "--inner")
|
package/dist/esm/AvatarImage.js
CHANGED
|
@@ -35,6 +35,7 @@ var nestedAvatarStyles = Object.entries(AVATAR_SIZES).reduce(function (styles, _
|
|
|
35
35
|
key = _ref2[0],
|
|
36
36
|
size = _ref2[1];
|
|
37
37
|
return _objectSpread(_objectSpread({}, styles), {}, _defineProperty({}, key, css({
|
|
38
|
+
lineHeight: 0,
|
|
38
39
|
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
39
40
|
'& svg': {
|
|
40
41
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|