@atlaskit/avatar 21.17.6 → 21.17.7

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/avatar
2
2
 
3
+ ## 21.17.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 21.17.6
4
10
 
5
11
  ### Patch Changes
@@ -38,6 +38,7 @@ var nestedAvatarStyles = Object.entries(_constants.AVATAR_SIZES).reduce(function
38
38
  key = _ref2[0],
39
39
  size = _ref2[1];
40
40
  return _objectSpread(_objectSpread({}, styles), {}, (0, _defineProperty2.default)({}, key, (0, _react2.css)({
41
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
41
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': {
@@ -27,6 +27,7 @@ var avatarItemStyles = (0, _react2.css)({
27
27
  minWidth: 0,
28
28
  maxWidth: '100%',
29
29
  flex: '1 1 100%',
30
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
30
31
  lineHeight: '1.4',
31
32
  paddingInlineStart: "var(--ds-space-100, 8px)"
32
33
  });
@@ -28,7 +28,7 @@ var _templateObject;
28
28
  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; }
29
29
  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; }
30
30
  var packageName = "@atlaskit/avatar";
31
- var packageVersion = "21.17.6";
31
+ var packageVersion = "21.17.7";
32
32
  var getTestId = function getTestId(testId, children) {
33
33
  return !children ? {
34
34
  'data-testid': "".concat(testId, "--inner")
@@ -27,6 +27,7 @@ const nestedAvatarStyles = Object.entries(AVATAR_SIZES).reduce((styles, [key, si
27
27
  return {
28
28
  ...styles,
29
29
  [key]: css({
30
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
30
31
  lineHeight: 0,
31
32
  // eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
32
33
  '& svg': {
@@ -16,6 +16,7 @@ const avatarItemStyles = css({
16
16
  minWidth: 0,
17
17
  maxWidth: '100%',
18
18
  flex: '1 1 100%',
19
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
19
20
  lineHeight: '1.4',
20
21
  paddingInlineStart: "var(--ds-space-100, 8px)"
21
22
  });
@@ -16,7 +16,7 @@ import { PresenceWrapper } from './presence';
16
16
  import { StatusWrapper } from './status';
17
17
  import { getButtonProps, getCustomElement, getLinkProps } from './utilities';
18
18
  const packageName = "@atlaskit/avatar";
19
- const packageVersion = "21.17.6";
19
+ const packageVersion = "21.17.7";
20
20
  const getTestId = (testId, children) => !children ? {
21
21
  'data-testid': `${testId}--inner`
22
22
  } : {
@@ -32,6 +32,7 @@ var nestedAvatarStyles = Object.entries(AVATAR_SIZES).reduce(function (styles, _
32
32
  key = _ref2[0],
33
33
  size = _ref2[1];
34
34
  return _objectSpread(_objectSpread({}, styles), {}, _defineProperty({}, key, css({
35
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
35
36
  lineHeight: 0,
36
37
  // eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
37
38
  '& svg': {
@@ -21,6 +21,7 @@ var avatarItemStyles = css({
21
21
  minWidth: 0,
22
22
  maxWidth: '100%',
23
23
  flex: '1 1 100%',
24
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
24
25
  lineHeight: '1.4',
25
26
  paddingInlineStart: "var(--ds-space-100, 8px)"
26
27
  });
@@ -21,7 +21,7 @@ import { PresenceWrapper } from './presence';
21
21
  import { StatusWrapper } from './status';
22
22
  import { getButtonProps, getCustomElement, getLinkProps } from './utilities';
23
23
  var packageName = "@atlaskit/avatar";
24
- var packageVersion = "21.17.6";
24
+ var packageVersion = "21.17.7";
25
25
  var getTestId = function getTestId(testId, children) {
26
26
  return !children ? {
27
27
  'data-testid': "".concat(testId, "--inner")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/avatar",
3
- "version": "21.17.6",
3
+ "version": "21.17.7",
4
4
  "description": "An avatar is a visual representation of a user or entity.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -45,11 +45,11 @@
45
45
  "@atlaskit/analytics-next": "^10.2.0",
46
46
  "@atlaskit/ds-lib": "^3.3.0",
47
47
  "@atlaskit/focus-ring": "^2.0.0",
48
- "@atlaskit/icon": "^23.1.0",
48
+ "@atlaskit/icon": "^23.3.0",
49
49
  "@atlaskit/platform-feature-flags": "^0.3.0",
50
50
  "@atlaskit/primitives": "^13.3.0",
51
51
  "@atlaskit/theme": "^14.0.0",
52
- "@atlaskit/tokens": "^2.4.0",
52
+ "@atlaskit/tokens": "^3.0.0",
53
53
  "@babel/runtime": "^7.0.0",
54
54
  "@emotion/react": "^11.7.1",
55
55
  "@emotion/serialize": "^1.1.0"