@atlaskit/avatar 25.1.20 → 25.2.0

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,18 @@
1
1
  # @atlaskit/avatar
2
2
 
3
+ ## 25.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`955c510552199`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/955c510552199) -
8
+ We are testing a visual change behind a feature flag. Square avatar border radius will be updated
9
+ to be consistent with the new ADS Tile System. If this change is successful it will be available
10
+ in a later release.
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+
3
16
  ## 25.1.20
4
17
 
5
18
  ### Patch Changes
@@ -8,6 +8,7 @@
8
8
  ._2rko1qi0{border-radius:var(--ds-radius-medium,6px)}
9
9
  ._2rko1qll{border-radius:var(--ds-radius-full,50%)}
10
10
  ._2rkofajl{border-radius:var(--ds-radius-small,3px)}
11
+ ._2rkol0p1{border-radius:var(--ds-radius-tile,25%)}
11
12
  ._2rkolb4i{border-radius:var(--ds-radius-xsmall,2px)}
12
13
  ._2rkopb1k{border-radius:var(--ds-radius-xlarge,9pt)}
13
14
  ._9v7aze3t:after{inset:var(--ds-space-0,0)}
@@ -1,4 +1,4 @@
1
- /* avatar-content.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* avatar-content.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -21,6 +21,7 @@ var bgColorCssVar = '--avatar-bg-color';
21
21
  var styles = {
22
22
  root: "_19itglyw _12ji1r31 _1qu2glyw _12y31o36 _1reo15vq _18m915vq _v564ieh6 _1e0c1txw _kqswpfqs _4cvr1fhb _1bah1h6o _2lx21bp4 _80om1kw7 _6rthv77o _1pfhv77o _12l2v77o _ahbqv77o _85i5ze3t _1q51ze3t _y4tize3t _bozgze3t _t9ec1aqe _9v7aze3t _qc5o1p41 _z0ai1osq _18postnw _1hfk1j28 _aetrf705 _1peqidpf _11fnglyw _1ejjglyw _mizu194a _1ah3v77o _ra3xnqa1 _128mdkaa _4dave4h9",
23
23
  circle: "_2rko1qll _14mj1qll",
24
+ square: "_2rkol0p1",
24
25
  positionRelative: "_kqswh2mm",
25
26
  disabled: "_80om13gf _1hfkvuon _1peqs237"
26
27
  };
@@ -88,6 +89,6 @@ var AvatarContent = exports.AvatarContent = /*#__PURE__*/(0, _react.forwardRef)(
88
89
  target: target,
89
90
  rel: target === '_blank' ? 'noopener noreferrer' : undefined
90
91
  }, {
91
- className: (0, _runtime.ax)([unboundStyles.root, styles.root, borderRadiusMap[size], appearance === 'circle' && styles.circle, widthHeightMap[size], stackIndex !== undefined && styles.positionRelative, isInteractive && !isDisabled && unboundStyles.interactive, isDisabled && styles.disabled])
92
+ className: (0, _runtime.ax)([unboundStyles.root, styles.root, !(0, _platformFeatureFlags.fg)('platform_dst_avatar_tile') && borderRadiusMap[size], appearance === 'square' && (0, _platformFeatureFlags.fg)('platform_dst_avatar_tile') && styles.square, appearance === 'circle' && styles.circle, widthHeightMap[size], stackIndex !== undefined && styles.positionRelative, isInteractive && !isDisabled && unboundStyles.interactive, isDisabled && styles.disabled])
92
93
  }), children || avatarImage);
93
94
  });
@@ -1,4 +1,4 @@
1
- /* avatar-item.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* avatar-item.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* avatar.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* avatar.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -24,7 +24,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
24
24
  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
25
  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
26
  var packageName = "@atlaskit/avatar";
27
- var packageVersion = "25.1.19";
27
+ var packageVersion = "0.0.0-development";
28
28
  var containerStyles = null;
29
29
 
30
30
  // eslint-disable-next-line @repo/internal/react/consistent-types-definitions
@@ -1,4 +1,4 @@
1
- /* avatar-image.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* avatar-image.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* icon-wrapper.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* icon-wrapper.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _typeof = require("@babel/runtime/helpers/typeof");
@@ -1,4 +1,4 @@
1
- /* presence.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* presence.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -2,6 +2,7 @@
2
2
  ._2rko1qi0{border-radius:var(--ds-radius-medium,6px)}
3
3
  ._2rko1qll{border-radius:var(--ds-radius-full,50%)}
4
4
  ._2rkofajl{border-radius:var(--ds-radius-small,3px)}
5
+ ._2rkol0p1{border-radius:var(--ds-radius-tile,25%)}
5
6
  ._2rkolb4i{border-radius:var(--ds-radius-xsmall,2px)}
6
7
  ._2rkopb1k{border-radius:var(--ds-radius-xlarge,9pt)}._189e1dm9{border-width:var(--ds-border-width-selected,2px)}
7
8
  ._1dqonqa1{border-style:solid}
@@ -1,4 +1,4 @@
1
- /* skeleton.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* skeleton.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -11,10 +11,12 @@ require("./skeleton.compiled.css");
11
11
  var React = _interopRequireWildcard(require("react"));
12
12
  var _runtime = require("@compiled/react/runtime");
13
13
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
14
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
14
15
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
15
16
  var bgColorCssVar = '--avatar-skeleton-background-color';
16
17
  var styles = {
17
18
  root: "_2rko1qll _189e1dm9 _1dqonqa1 _1h6d1j28 _1e0c1o8l _bfhk1r8p _tzy4nh7s",
19
+ square: "_2rkol0p1",
18
20
  strongOpacity: "_tzy4clii"
19
21
  };
20
22
  var sizeStyles = {
@@ -49,7 +51,7 @@ var Skeleton = function Skeleton(_ref) {
49
51
  weight = _ref.weight;
50
52
  return /*#__PURE__*/React.createElement("div", {
51
53
  style: (0, _defineProperty2.default)({}, bgColorCssVar, color !== null && color !== void 0 ? color : 'currentColor'),
52
- className: (0, _runtime.ax)([styles.root, sizeStyles[size !== null && size !== void 0 ? size : 'medium'], appearance === 'square' && borderRadiusMap[size !== null && size !== void 0 ? size : 'medium'], weight === 'strong' && styles.strongOpacity])
54
+ className: (0, _runtime.ax)([styles.root, sizeStyles[size !== null && size !== void 0 ? size : 'medium'], appearance === 'square' && !(0, _platformFeatureFlags.fg)('platform_dst_avatar_tile') && borderRadiusMap[size !== null && size !== void 0 ? size : 'medium'], appearance === 'square' && (0, _platformFeatureFlags.fg)('platform_dst_avatar_tile') && styles.square, weight === 'strong' && styles.strongOpacity])
53
55
  });
54
56
  };
55
57
  var _default = exports.default = Skeleton;
@@ -1,4 +1,4 @@
1
- /* status.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* status.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -8,6 +8,7 @@
8
8
  ._2rko1qi0{border-radius:var(--ds-radius-medium,6px)}
9
9
  ._2rko1qll{border-radius:var(--ds-radius-full,50%)}
10
10
  ._2rkofajl{border-radius:var(--ds-radius-small,3px)}
11
+ ._2rkol0p1{border-radius:var(--ds-radius-tile,25%)}
11
12
  ._2rkolb4i{border-radius:var(--ds-radius-xsmall,2px)}
12
13
  ._2rkopb1k{border-radius:var(--ds-radius-xlarge,9pt)}
13
14
  ._9v7aze3t:after{inset:var(--ds-space-0,0)}
@@ -1,4 +1,4 @@
1
- /* avatar-content.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* avatar-content.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./avatar-content.compiled.css";
4
4
  import * as React from 'react';
@@ -11,6 +11,7 @@ const bgColorCssVar = '--avatar-bg-color';
11
11
  const styles = {
12
12
  root: "_19itglyw _12ji1r31 _1qu2glyw _12y31o36 _1reo15vq _18m915vq _v564ieh6 _1e0c1txw _kqswpfqs _4cvr1fhb _1bah1h6o _2lx21bp4 _80om1kw7 _6rthv77o _1pfhv77o _12l2v77o _ahbqv77o _85i5ze3t _1q51ze3t _y4tize3t _bozgze3t _t9ec1aqe _9v7aze3t _qc5o1p41 _z0ai1osq _18postnw _1hfk1j28 _aetrf705 _1peqidpf _11fnglyw _1ejjglyw _mizu194a _1ah3v77o _ra3xnqa1 _128mdkaa _4dave4h9",
13
13
  circle: "_2rko1qll _14mj1qll",
14
+ square: "_2rkol0p1",
14
15
  positionRelative: "_kqswh2mm",
15
16
  disabled: "_80om13gf _1hfkvuon _1peqs237"
16
17
  };
@@ -83,6 +84,6 @@ export const AvatarContent = /*#__PURE__*/forwardRef(({
83
84
  target,
84
85
  rel: target === '_blank' ? 'noopener noreferrer' : undefined
85
86
  }, {
86
- className: ax([unboundStyles.root, styles.root, borderRadiusMap[size], appearance === 'circle' && styles.circle, widthHeightMap[size], stackIndex !== undefined && styles.positionRelative, isInteractive && !isDisabled && unboundStyles.interactive, isDisabled && styles.disabled])
87
+ className: ax([unboundStyles.root, styles.root, !fg('platform_dst_avatar_tile') && borderRadiusMap[size], appearance === 'square' && fg('platform_dst_avatar_tile') && styles.square, appearance === 'circle' && styles.circle, widthHeightMap[size], stackIndex !== undefined && styles.positionRelative, isInteractive && !isDisabled && unboundStyles.interactive, isDisabled && styles.disabled])
87
88
  }), children || avatarImage);
88
89
  });
@@ -1,4 +1,4 @@
1
- /* avatar-item.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* avatar-item.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./avatar-item.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* avatar.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* avatar.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./avatar.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -12,7 +12,7 @@ import { PresenceWrapper } from './presence';
12
12
  import { StatusWrapper } from './status';
13
13
  import { getCustomElement } from './utilities';
14
14
  const packageName = "@atlaskit/avatar";
15
- const packageVersion = "25.1.19";
15
+ const packageVersion = "0.0.0-development";
16
16
  const containerStyles = null;
17
17
 
18
18
  // eslint-disable-next-line @repo/internal/react/consistent-types-definitions
@@ -1,4 +1,4 @@
1
- /* avatar-image.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* avatar-image.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./avatar-image.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* icon-wrapper.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* icon-wrapper.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./icon-wrapper.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* presence.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* presence.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./presence.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -2,6 +2,7 @@
2
2
  ._2rko1qi0{border-radius:var(--ds-radius-medium,6px)}
3
3
  ._2rko1qll{border-radius:var(--ds-radius-full,50%)}
4
4
  ._2rkofajl{border-radius:var(--ds-radius-small,3px)}
5
+ ._2rkol0p1{border-radius:var(--ds-radius-tile,25%)}
5
6
  ._2rkolb4i{border-radius:var(--ds-radius-xsmall,2px)}
6
7
  ._2rkopb1k{border-radius:var(--ds-radius-xlarge,9pt)}._189e1dm9{border-width:var(--ds-border-width-selected,2px)}
7
8
  ._1dqonqa1{border-style:solid}
@@ -1,10 +1,12 @@
1
- /* skeleton.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* skeleton.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./skeleton.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
5
+ import { fg } from '@atlaskit/platform-feature-flags';
5
6
  const bgColorCssVar = '--avatar-skeleton-background-color';
6
7
  const styles = {
7
8
  root: "_2rko1qll _189e1dm9 _1dqonqa1 _1h6d1j28 _1e0c1o8l _bfhk1r8p _tzy4nh7s",
9
+ square: "_2rkol0p1",
8
10
  strongOpacity: "_tzy4clii"
9
11
  };
10
12
  const sizeStyles = {
@@ -41,6 +43,6 @@ const Skeleton = ({
41
43
  style: {
42
44
  [bgColorCssVar]: color !== null && color !== void 0 ? color : 'currentColor'
43
45
  },
44
- className: ax([styles.root, sizeStyles[size !== null && size !== void 0 ? size : 'medium'], appearance === 'square' && borderRadiusMap[size !== null && size !== void 0 ? size : 'medium'], weight === 'strong' && styles.strongOpacity])
46
+ className: ax([styles.root, sizeStyles[size !== null && size !== void 0 ? size : 'medium'], appearance === 'square' && !fg('platform_dst_avatar_tile') && borderRadiusMap[size !== null && size !== void 0 ? size : 'medium'], appearance === 'square' && fg('platform_dst_avatar_tile') && styles.square, weight === 'strong' && styles.strongOpacity])
45
47
  });
46
48
  export default Skeleton;
@@ -1,4 +1,4 @@
1
- /* status.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* status.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./status.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -8,6 +8,7 @@
8
8
  ._2rko1qi0{border-radius:var(--ds-radius-medium,6px)}
9
9
  ._2rko1qll{border-radius:var(--ds-radius-full,50%)}
10
10
  ._2rkofajl{border-radius:var(--ds-radius-small,3px)}
11
+ ._2rkol0p1{border-radius:var(--ds-radius-tile,25%)}
11
12
  ._2rkolb4i{border-radius:var(--ds-radius-xsmall,2px)}
12
13
  ._2rkopb1k{border-radius:var(--ds-radius-xlarge,9pt)}
13
14
  ._9v7aze3t:after{inset:var(--ds-space-0,0)}
@@ -1,4 +1,4 @@
1
- /* avatar-content.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* avatar-content.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
4
4
  import "./avatar-content.compiled.css";
@@ -12,6 +12,7 @@ var bgColorCssVar = '--avatar-bg-color';
12
12
  var styles = {
13
13
  root: "_19itglyw _12ji1r31 _1qu2glyw _12y31o36 _1reo15vq _18m915vq _v564ieh6 _1e0c1txw _kqswpfqs _4cvr1fhb _1bah1h6o _2lx21bp4 _80om1kw7 _6rthv77o _1pfhv77o _12l2v77o _ahbqv77o _85i5ze3t _1q51ze3t _y4tize3t _bozgze3t _t9ec1aqe _9v7aze3t _qc5o1p41 _z0ai1osq _18postnw _1hfk1j28 _aetrf705 _1peqidpf _11fnglyw _1ejjglyw _mizu194a _1ah3v77o _ra3xnqa1 _128mdkaa _4dave4h9",
14
14
  circle: "_2rko1qll _14mj1qll",
15
+ square: "_2rkol0p1",
15
16
  positionRelative: "_kqswh2mm",
16
17
  disabled: "_80om13gf _1hfkvuon _1peqs237"
17
18
  };
@@ -79,6 +80,6 @@ export var AvatarContent = /*#__PURE__*/forwardRef(function (_ref, ref) {
79
80
  target: target,
80
81
  rel: target === '_blank' ? 'noopener noreferrer' : undefined
81
82
  }, {
82
- className: ax([unboundStyles.root, styles.root, borderRadiusMap[size], appearance === 'circle' && styles.circle, widthHeightMap[size], stackIndex !== undefined && styles.positionRelative, isInteractive && !isDisabled && unboundStyles.interactive, isDisabled && styles.disabled])
83
+ className: ax([unboundStyles.root, styles.root, !fg('platform_dst_avatar_tile') && borderRadiusMap[size], appearance === 'square' && fg('platform_dst_avatar_tile') && styles.square, appearance === 'circle' && styles.circle, widthHeightMap[size], stackIndex !== undefined && styles.positionRelative, isInteractive && !isDisabled && unboundStyles.interactive, isDisabled && styles.disabled])
83
84
  }), children || avatarImage);
84
85
  });
@@ -1,4 +1,4 @@
1
- /* avatar-item.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* avatar-item.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
4
4
  import "./avatar-item.compiled.css";
@@ -1,4 +1,4 @@
1
- /* avatar.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* avatar.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import "./avatar.compiled.css";
4
4
  import * as React from 'react';
@@ -15,7 +15,7 @@ import { PresenceWrapper } from './presence';
15
15
  import { StatusWrapper } from './status';
16
16
  import { getCustomElement } from './utilities';
17
17
  var packageName = "@atlaskit/avatar";
18
- var packageVersion = "25.1.19";
18
+ var packageVersion = "0.0.0-development";
19
19
  var containerStyles = null;
20
20
 
21
21
  // eslint-disable-next-line @repo/internal/react/consistent-types-definitions
@@ -1,4 +1,4 @@
1
- /* avatar-image.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* avatar-image.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
3
  import "./avatar-image.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* icon-wrapper.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* icon-wrapper.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./icon-wrapper.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* presence.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* presence.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./presence.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -2,6 +2,7 @@
2
2
  ._2rko1qi0{border-radius:var(--ds-radius-medium,6px)}
3
3
  ._2rko1qll{border-radius:var(--ds-radius-full,50%)}
4
4
  ._2rkofajl{border-radius:var(--ds-radius-small,3px)}
5
+ ._2rkol0p1{border-radius:var(--ds-radius-tile,25%)}
5
6
  ._2rkolb4i{border-radius:var(--ds-radius-xsmall,2px)}
6
7
  ._2rkopb1k{border-radius:var(--ds-radius-xlarge,9pt)}._189e1dm9{border-width:var(--ds-border-width-selected,2px)}
7
8
  ._1dqonqa1{border-style:solid}
@@ -1,11 +1,13 @@
1
- /* skeleton.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* skeleton.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import "./skeleton.compiled.css";
4
4
  import * as React from 'react';
5
5
  import { ax, ix } from "@compiled/react/runtime";
6
+ import { fg } from '@atlaskit/platform-feature-flags';
6
7
  var bgColorCssVar = '--avatar-skeleton-background-color';
7
8
  var styles = {
8
9
  root: "_2rko1qll _189e1dm9 _1dqonqa1 _1h6d1j28 _1e0c1o8l _bfhk1r8p _tzy4nh7s",
10
+ square: "_2rkol0p1",
9
11
  strongOpacity: "_tzy4clii"
10
12
  };
11
13
  var sizeStyles = {
@@ -40,7 +42,7 @@ var Skeleton = function Skeleton(_ref) {
40
42
  weight = _ref.weight;
41
43
  return /*#__PURE__*/React.createElement("div", {
42
44
  style: _defineProperty({}, bgColorCssVar, color !== null && color !== void 0 ? color : 'currentColor'),
43
- className: ax([styles.root, sizeStyles[size !== null && size !== void 0 ? size : 'medium'], appearance === 'square' && borderRadiusMap[size !== null && size !== void 0 ? size : 'medium'], weight === 'strong' && styles.strongOpacity])
45
+ className: ax([styles.root, sizeStyles[size !== null && size !== void 0 ? size : 'medium'], appearance === 'square' && !fg('platform_dst_avatar_tile') && borderRadiusMap[size !== null && size !== void 0 ? size : 'medium'], appearance === 'square' && fg('platform_dst_avatar_tile') && styles.square, weight === 'strong' && styles.strongOpacity])
44
46
  });
45
47
  };
46
48
  export default Skeleton;
@@ -1,4 +1,4 @@
1
- /* status.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* status.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./status.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/avatar",
3
- "version": "25.1.20",
3
+ "version": "25.2.0",
4
4
  "description": "An avatar is a visual representation of a user or entity.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -34,11 +34,11 @@
34
34
  "dependencies": {
35
35
  "@atlaskit/analytics-next": "^11.1.0",
36
36
  "@atlaskit/css": "^0.14.0",
37
- "@atlaskit/ds-lib": "^5.0.0",
37
+ "@atlaskit/ds-lib": "^5.1.0",
38
38
  "@atlaskit/focus-ring": "^3.0.0",
39
- "@atlaskit/icon": "^28.2.0",
39
+ "@atlaskit/icon": "^28.3.0",
40
40
  "@atlaskit/platform-feature-flags": "^1.1.0",
41
- "@atlaskit/primitives": "^14.14.0",
41
+ "@atlaskit/primitives": "^14.15.0",
42
42
  "@atlaskit/theme": "^21.0.0",
43
43
  "@atlaskit/tokens": "^6.3.0",
44
44
  "@babel/runtime": "^7.0.0",
@@ -54,7 +54,7 @@
54
54
  "@atlaskit/button": "^23.4.0",
55
55
  "@atlaskit/code": "^17.2.0",
56
56
  "@atlaskit/docs": "^11.1.0",
57
- "@atlaskit/form": "^12.7.0",
57
+ "@atlaskit/form": "^14.1.0",
58
58
  "@atlaskit/heading": "^5.2.0",
59
59
  "@atlaskit/link": "^3.2.0",
60
60
  "@atlaskit/range": "^9.2.0",
@@ -103,6 +103,9 @@
103
103
  },
104
104
  "platform-visual-refresh-icons": {
105
105
  "type": "boolean"
106
+ },
107
+ "platform_dst_avatar_tile": {
108
+ "type": "boolean"
106
109
  }
107
110
  }
108
111
  }