@atlaskit/avatar-group 12.2.10 → 12.3.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,26 @@
|
|
|
1
1
|
# @atlaskit/avatar-group
|
|
2
2
|
|
|
3
|
+
## 12.3.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`a37090c1d91de`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a37090c1d91de) -
|
|
8
|
+
Updates the documentation to show how to use AvatarGroup with non-circular Avatars. Be aware the
|
|
9
|
+
"more" indicator does not take multiple appearances.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 12.3.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- [`e314c4cb133f7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e314c4cb133f7) -
|
|
17
|
+
[ux] Updates avatar and avatar group styles to reflect our new visual design language. These
|
|
18
|
+
changes were previously behind a feature flag and are now fully rolled out.
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies
|
|
23
|
+
|
|
3
24
|
## 12.2.10
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
|
@@ -13,7 +13,6 @@ var React = _react;
|
|
|
13
13
|
var _runtime = require("@compiled/react/runtime");
|
|
14
14
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
15
15
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
16
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
17
16
|
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); }
|
|
18
17
|
var boxShadowCssVar = '--avatar-box-shadow';
|
|
19
18
|
var styles = {
|
|
@@ -50,7 +49,7 @@ var MoreIndicator = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
50
49
|
var _ref$appearance = _ref.appearance,
|
|
51
50
|
appearance = _ref$appearance === void 0 ? 'circle' : _ref$appearance,
|
|
52
51
|
_ref$borderColor = _ref.borderColor,
|
|
53
|
-
borderColor = _ref$borderColor === void 0 ?
|
|
52
|
+
borderColor = _ref$borderColor === void 0 ? "var(--ds-surface, #FFFFFF)" : _ref$borderColor,
|
|
54
53
|
_ref$size = _ref.size,
|
|
55
54
|
size = _ref$size === void 0 ? 'medium' : _ref$size,
|
|
56
55
|
_ref$count = _ref.count,
|
|
@@ -4,7 +4,6 @@ import "./more-indicator.compiled.css";
|
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
6
|
import { forwardRef, useCallback } from 'react';
|
|
7
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
7
|
const boxShadowCssVar = '--avatar-box-shadow';
|
|
9
8
|
const styles = {
|
|
10
9
|
root: "_19itglyw _12ji1r31 _1qu2glyw _12y31o36 _1reo15vq _18m915vq _v564ieh6 _1e0c1txw _vchh1ntv _1pfhv77o _12l2v77o _6rthv77o _ahbqv77o _1q51ze3t _y4tize3t _85i5ze3t _bozgze3t _4cvr1fhb _1bah1h6o _2lx21bp4 _80omtlke _bfhkm7j4 _syaz1fxt _16qs1nhn _t9ec1aqe _1ejjglyw _mizu194a _ra3xnqa1 _1ah3yh40 _128myh40 _irr315ej _30l31fxt _1di6ip91 _9h8h1fxt _1q8w1np6 _jlxit94y",
|
|
@@ -38,8 +37,7 @@ const fontMap = {
|
|
|
38
37
|
const MAX_DISPLAY_COUNT = 99;
|
|
39
38
|
const MoreIndicator = /*#__PURE__*/forwardRef(({
|
|
40
39
|
appearance = 'circle',
|
|
41
|
-
|
|
42
|
-
borderColor = fg('platform-component-visual-refresh') ? "var(--ds-surface, #FFFFFF)" : "var(--ds-border-inverse, #FFFFFF)",
|
|
40
|
+
borderColor = "var(--ds-surface, #FFFFFF)",
|
|
43
41
|
size = 'medium',
|
|
44
42
|
count = 0,
|
|
45
43
|
testId,
|
|
@@ -5,7 +5,6 @@ import "./more-indicator.compiled.css";
|
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import { ax, ix } from "@compiled/react/runtime";
|
|
7
7
|
import { forwardRef, useCallback } from 'react';
|
|
8
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
8
|
var boxShadowCssVar = '--avatar-box-shadow';
|
|
10
9
|
var styles = {
|
|
11
10
|
root: "_19itglyw _12ji1r31 _1qu2glyw _12y31o36 _1reo15vq _18m915vq _v564ieh6 _1e0c1txw _vchh1ntv _1pfhv77o _12l2v77o _6rthv77o _ahbqv77o _1q51ze3t _y4tize3t _85i5ze3t _bozgze3t _4cvr1fhb _1bah1h6o _2lx21bp4 _80omtlke _bfhkm7j4 _syaz1fxt _16qs1nhn _t9ec1aqe _1ejjglyw _mizu194a _ra3xnqa1 _1ah3yh40 _128myh40 _irr315ej _30l31fxt _1di6ip91 _9h8h1fxt _1q8w1np6 _jlxit94y",
|
|
@@ -41,7 +40,7 @@ var MoreIndicator = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
41
40
|
var _ref$appearance = _ref.appearance,
|
|
42
41
|
appearance = _ref$appearance === void 0 ? 'circle' : _ref$appearance,
|
|
43
42
|
_ref$borderColor = _ref.borderColor,
|
|
44
|
-
borderColor = _ref$borderColor === void 0 ?
|
|
43
|
+
borderColor = _ref$borderColor === void 0 ? "var(--ds-surface, #FFFFFF)" : _ref$borderColor,
|
|
45
44
|
_ref$size = _ref.size,
|
|
46
45
|
size = _ref$size === void 0 ? 'medium' : _ref$size,
|
|
47
46
|
_ref$count = _ref.count,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/avatar-group",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.3.1",
|
|
4
4
|
"description": "An avatar group displays a number of avatars grouped together in a stack or grid.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@atlaskit/avatar": "^25.
|
|
27
|
+
"@atlaskit/avatar": "^25.4.0",
|
|
28
28
|
"@atlaskit/css": "^0.14.0",
|
|
29
29
|
"@atlaskit/ds-lib": "^5.1.0",
|
|
30
30
|
"@atlaskit/menu": "^8.4.0",
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
"@af/integration-testing": "workspace:^",
|
|
46
46
|
"@af/visual-regression": "workspace:^",
|
|
47
47
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
48
|
-
"@atlaskit/button": "^23.
|
|
48
|
+
"@atlaskit/button": "^23.5.0",
|
|
49
49
|
"@atlaskit/docs": "^11.1.0",
|
|
50
50
|
"@atlaskit/form": "^14.2.0",
|
|
51
|
-
"@atlaskit/icon": "^28.
|
|
51
|
+
"@atlaskit/icon": "^28.5.0",
|
|
52
52
|
"@atlaskit/link": "^3.2.0",
|
|
53
|
-
"@atlaskit/modal-dialog": "^14.
|
|
53
|
+
"@atlaskit/modal-dialog": "^14.5.0",
|
|
54
54
|
"@atlaskit/primitives": "^14.15.0",
|
|
55
55
|
"@atlaskit/section-message": "^8.7.0",
|
|
56
56
|
"@atlaskit/ssr": "workspace:^",
|
|
@@ -96,9 +96,6 @@
|
|
|
96
96
|
},
|
|
97
97
|
"homepage": "https://atlassian.design/components/avatar-group/",
|
|
98
98
|
"platform-feature-flags": {
|
|
99
|
-
"platform-component-visual-refresh": {
|
|
100
|
-
"type": "boolean"
|
|
101
|
-
},
|
|
102
99
|
"platform-avatar-group-spacing-fix": {
|
|
103
100
|
"type": "boolean"
|
|
104
101
|
}
|