@atlaskit/avatar 21.18.0 → 21.18.2

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/avatar
2
2
 
3
+ ## 21.18.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 21.18.1
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 21.18.0
4
16
 
5
17
  ### Minor Changes
@@ -22,13 +22,13 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
22
22
  * @jsx jsx
23
23
  */
24
24
  var avatarDefaultIconStyles = (0, _react2.css)({
25
- display: 'block',
25
+ display: 'flex',
26
26
  width: '100%',
27
27
  height: '100%',
28
28
  backgroundColor: "var(--ds-icon-subtle, ".concat(_colors.N90, ")")
29
29
  });
30
30
  var avatarDefaultIconVisualRefreshStyles = (0, _react2.css)({
31
- display: 'block',
31
+ display: 'flex',
32
32
  width: '100%',
33
33
  height: '100%',
34
34
  backgroundColor: "var(--ds-background-accent-gray-subtler, #DCDFE4)"
@@ -38,8 +38,6 @@ 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
42
- lineHeight: 0,
43
41
  // eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
44
42
  '& svg': {
45
43
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
@@ -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.18.0";
31
+ var packageVersion = "21.18.2";
32
32
  var getTestId = function getTestId(testId, children) {
33
33
  return !children ? {
34
34
  'data-testid': "".concat(testId, "--inner")
@@ -12,13 +12,13 @@ import { fg } from '@atlaskit/platform-feature-flags';
12
12
  import { N0, N90 } from '@atlaskit/theme/colors';
13
13
  import { AVATAR_RADIUS, AVATAR_SIZES } from './constants';
14
14
  const avatarDefaultIconStyles = css({
15
- display: 'block',
15
+ display: 'flex',
16
16
  width: '100%',
17
17
  height: '100%',
18
18
  backgroundColor: `var(--ds-icon-subtle, ${N90})`
19
19
  });
20
20
  const avatarDefaultIconVisualRefreshStyles = css({
21
- display: 'block',
21
+ display: 'flex',
22
22
  width: '100%',
23
23
  height: '100%',
24
24
  backgroundColor: "var(--ds-background-accent-gray-subtler, #DCDFE4)"
@@ -27,8 +27,6 @@ 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
31
- lineHeight: 0,
32
30
  // eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
33
31
  '& svg': {
34
32
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
@@ -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.18.0";
19
+ const packageVersion = "21.18.2";
20
20
  const getTestId = (testId, children) => !children ? {
21
21
  'data-testid': `${testId}--inner`
22
22
  } : {
@@ -16,13 +16,13 @@ import { fg } from '@atlaskit/platform-feature-flags';
16
16
  import { N0, N90 } from '@atlaskit/theme/colors';
17
17
  import { AVATAR_RADIUS, AVATAR_SIZES } from './constants';
18
18
  var avatarDefaultIconStyles = css({
19
- display: 'block',
19
+ display: 'flex',
20
20
  width: '100%',
21
21
  height: '100%',
22
22
  backgroundColor: "var(--ds-icon-subtle, ".concat(N90, ")")
23
23
  });
24
24
  var avatarDefaultIconVisualRefreshStyles = css({
25
- display: 'block',
25
+ display: 'flex',
26
26
  width: '100%',
27
27
  height: '100%',
28
28
  backgroundColor: "var(--ds-background-accent-gray-subtler, #DCDFE4)"
@@ -32,8 +32,6 @@ 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
36
- lineHeight: 0,
37
35
  // eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
38
36
  '& svg': {
39
37
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
@@ -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.18.0";
24
+ var packageVersion = "21.18.2";
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.18.0",
3
+ "version": "21.18.2",
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,10 +45,10 @@
45
45
  "@atlaskit/analytics-next": "^10.3.0",
46
46
  "@atlaskit/ds-lib": "^3.5.0",
47
47
  "@atlaskit/focus-ring": "^2.1.0",
48
- "@atlaskit/icon": "^23.5.0",
49
- "@atlaskit/platform-feature-flags": "^0.3.0",
48
+ "@atlaskit/icon": "^23.7.0",
49
+ "@atlaskit/platform-feature-flags": "^1.0.0",
50
50
  "@atlaskit/primitives": "^13.4.0",
51
- "@atlaskit/theme": "^14.1.0",
51
+ "@atlaskit/theme": "^15.0.0",
52
52
  "@atlaskit/tokens": "^3.3.0",
53
53
  "@babel/runtime": "^7.0.0",
54
54
  "@emotion/react": "^11.7.1",
@@ -61,7 +61,7 @@
61
61
  "@af/accessibility-testing": "*",
62
62
  "@af/integration-testing": "*",
63
63
  "@af/visual-regression": "*",
64
- "@atlaskit/button": "^20.4.0",
64
+ "@atlaskit/button": "^20.5.0",
65
65
  "@atlaskit/code": "^15.7.0",
66
66
  "@atlaskit/docs": "*",
67
67
  "@atlaskit/form": "^11.1.0",