@atlaskit/avatar 21.10.0 → 21.10.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/avatar
2
2
 
3
+ ## 21.10.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 21.10.0
4
10
 
5
11
  ### Minor Changes
@@ -24,10 +24,11 @@ var _templateObject;
24
24
  */
25
25
  /** @jsx jsx */
26
26
  // eslint-disable-next-line @repo/internal/fs/filename-pattern-match
27
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
27
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; }
28
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; }
29
30
  var packageName = "@atlaskit/avatar";
30
- var packageVersion = "21.10.0";
31
+ var packageVersion = "21.10.1";
31
32
 
32
33
  // eslint-disable-next-line @repo/internal/react/consistent-types-definitions
33
34
 
@@ -17,6 +17,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
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
18
  * @jsxRuntime classic
19
19
  */ /** @jsx jsx */ // eslint-disable-next-line @repo/internal/fs/filename-pattern-match
20
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
20
21
  var ICON_BACKGROUND = exports.ICON_BACKGROUND = "var(--ds-icon-inverse, ".concat(_colors.N0, ")");
21
22
  var ICON_COLOR = exports.ICON_COLOR = "var(--ds-icon-subtle, ".concat(_colors.N90, ")");
22
23
  var avatarDefaultIconStyles = (0, _react2.css)({
@@ -21,6 +21,7 @@ var _templateObject;
21
21
  */
22
22
  /** @jsx jsx */
23
23
  // eslint-disable-next-line @repo/internal/fs/filename-pattern-match
24
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
24
25
  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; }
25
26
  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; }
26
27
  var avatarItemStyles = (0, _react2.css)({
@@ -13,6 +13,8 @@ var _constants = require("./constants");
13
13
  /** @jsx jsx */
14
14
  // eslint-disable-next-line @repo/internal/fs/filename-pattern-match
15
15
 
16
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
17
+
16
18
  var iconWrapperStyles = (0, _react.css)({
17
19
  display: 'flex',
18
20
  boxSizing: 'border-box',
@@ -13,6 +13,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
13
13
  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; } /**
14
14
  * @jsxRuntime classic
15
15
  */ /** @jsx jsx */ // eslint-disable-next-line @repo/internal/fs/filename-pattern-match
16
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
16
17
  var skeletonStyles = (0, _react.css)({
17
18
  display: 'inline-block',
18
19
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
@@ -4,6 +4,8 @@
4
4
  /** @jsx jsx */
5
5
  // eslint-disable-next-line @repo/internal/fs/filename-pattern-match
6
6
  import { createElement, forwardRef, isValidElement, useCallback, useEffect, useRef } from 'react';
7
+
8
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
9
  import { ClassNames, jsx } from '@emotion/react';
8
10
  import { useUIDSeed } from 'react-uid';
9
11
  import { useAnalyticsEvents } from '@atlaskit/analytics-next';
@@ -15,7 +17,7 @@ import { PresenceWrapper } from './Presence';
15
17
  import { StatusWrapper } from './Status';
16
18
  import { getButtonProps, getCustomElement, getLinkProps } from './utilities';
17
19
  const packageName = "@atlaskit/avatar";
18
- const packageVersion = "21.10.0";
20
+ const packageVersion = "21.10.1";
19
21
 
20
22
  // eslint-disable-next-line @repo/internal/react/consistent-types-definitions
21
23
 
@@ -4,6 +4,8 @@
4
4
  /** @jsx jsx */
5
5
  // eslint-disable-next-line @repo/internal/fs/filename-pattern-match
6
6
  import { useEffect, useState } from 'react';
7
+
8
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
9
  import { css, jsx } from '@emotion/react';
8
10
  import PersonIcon from '@atlaskit/icon/glyph/person';
9
11
  import ShipIcon from '@atlaskit/icon/glyph/ship';
@@ -4,6 +4,8 @@
4
4
  /** @jsx jsx */
5
5
  // eslint-disable-next-line @repo/internal/fs/filename-pattern-match
6
6
  import { createElement, forwardRef, Fragment } from 'react';
7
+
8
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
9
  import { ClassNames, css, jsx } from '@emotion/react';
8
10
  import { getBooleanFF } from '@atlaskit/platform-feature-flags';
9
11
  import { Text } from '@atlaskit/primitives';
@@ -4,6 +4,7 @@
4
4
  /** @jsx jsx */
5
5
  // eslint-disable-next-line @repo/internal/fs/filename-pattern-match
6
6
 
7
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
8
  import { css, jsx } from '@emotion/react';
8
9
  import { N0 } from '@atlaskit/theme/colors';
9
10
  import { BORDER_WIDTH } from './constants';
@@ -4,6 +4,7 @@
4
4
  /** @jsx jsx */
5
5
  // eslint-disable-next-line @repo/internal/fs/filename-pattern-match
6
6
 
7
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
8
  import { css, jsx } from '@emotion/react';
8
9
  import { AVATAR_RADIUS, AVATAR_SIZES, BORDER_WIDTH, CSS_VAR_AVATAR_BGCOLOR } from './constants';
9
10
  const skeletonStyles = css({
@@ -9,6 +9,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
9
9
  /** @jsx jsx */
10
10
  // eslint-disable-next-line @repo/internal/fs/filename-pattern-match
11
11
  import { createElement, forwardRef, isValidElement, useCallback, useEffect, useRef } from 'react';
12
+
13
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
12
14
  import { ClassNames, jsx } from '@emotion/react';
13
15
  import { useUIDSeed } from 'react-uid';
14
16
  import { useAnalyticsEvents } from '@atlaskit/analytics-next';
@@ -20,7 +22,7 @@ import { PresenceWrapper } from './Presence';
20
22
  import { StatusWrapper } from './Status';
21
23
  import { getButtonProps, getCustomElement, getLinkProps } from './utilities';
22
24
  var packageName = "@atlaskit/avatar";
23
- var packageVersion = "21.10.0";
25
+ var packageVersion = "21.10.1";
24
26
 
25
27
  // eslint-disable-next-line @repo/internal/react/consistent-types-definitions
26
28
 
@@ -8,6 +8,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
8
8
  /** @jsx jsx */
9
9
  // eslint-disable-next-line @repo/internal/fs/filename-pattern-match
10
10
  import { useEffect, useState } from 'react';
11
+
12
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
11
13
  import { css, jsx } from '@emotion/react';
12
14
  import PersonIcon from '@atlaskit/icon/glyph/person';
13
15
  import ShipIcon from '@atlaskit/icon/glyph/ship';
@@ -9,6 +9,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
9
9
  /** @jsx jsx */
10
10
  // eslint-disable-next-line @repo/internal/fs/filename-pattern-match
11
11
  import { createElement, forwardRef, Fragment } from 'react';
12
+
13
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
12
14
  import { ClassNames, css, jsx } from '@emotion/react';
13
15
  import { getBooleanFF } from '@atlaskit/platform-feature-flags';
14
16
  import { Text } from '@atlaskit/primitives';
@@ -4,6 +4,7 @@
4
4
  /** @jsx jsx */
5
5
  // eslint-disable-next-line @repo/internal/fs/filename-pattern-match
6
6
 
7
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
8
  import { css, jsx } from '@emotion/react';
8
9
  import { N0 } from '@atlaskit/theme/colors';
9
10
  import { BORDER_WIDTH } from './constants';
@@ -8,6 +8,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
8
8
  /** @jsx jsx */
9
9
  // eslint-disable-next-line @repo/internal/fs/filename-pattern-match
10
10
 
11
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
11
12
  import { css, jsx } from '@emotion/react';
12
13
  import { AVATAR_RADIUS, AVATAR_SIZES, BORDER_WIDTH, CSS_VAR_AVATAR_BGCOLOR } from './constants';
13
14
  var skeletonStyles = css({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/avatar",
3
- "version": "21.10.0",
3
+ "version": "21.10.1",
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
  },
46
46
  "dependencies": {
47
47
  "@atlaskit/analytics-next": "^9.3.0",
48
- "@atlaskit/icon": "^22.3.0",
48
+ "@atlaskit/icon": "^22.4.0",
49
49
  "@atlaskit/platform-feature-flags": "^0.2.0",
50
- "@atlaskit/primitives": "^7.3.0",
51
- "@atlaskit/theme": "^12.9.0",
52
- "@atlaskit/tokens": "^1.50.0",
50
+ "@atlaskit/primitives": "^8.0.0",
51
+ "@atlaskit/theme": "^12.10.0",
52
+ "@atlaskit/tokens": "^1.51.0",
53
53
  "@babel/runtime": "^7.0.0",
54
54
  "@emotion/react": "^11.7.1",
55
55
  "@emotion/serialize": "^1.1.0",
@@ -63,8 +63,8 @@
63
63
  "@af/visual-regression": "*",
64
64
  "@atlaskit/ds-lib": "^2.3.0",
65
65
  "@atlaskit/ssr": "*",
66
- "@atlaskit/textfield": "^6.3.0",
67
- "@atlaskit/tooltip": "^18.4.0",
66
+ "@atlaskit/textfield": "^6.4.0",
67
+ "@atlaskit/tooltip": "^18.5.0",
68
68
  "@atlaskit/visual-regression": "*",
69
69
  "@emotion/styled": "^11.0.0",
70
70
  "@testing-library/react": "^12.1.5",