@atlaskit/avatar-group 12.4.11 → 12.4.13

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,19 @@
1
1
  # @atlaskit/avatar-group
2
2
 
3
+ ## 12.4.13
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 12.4.12
10
+
11
+ ### Patch Changes
12
+
13
+ - [`eb30d533bbb0f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/eb30d533bbb0f) -
14
+ Added hexagon appearance support for avatargroup view more dropdown button
15
+ - Updated dependencies
16
+
3
17
  ## 12.4.11
4
18
 
5
19
  ### Patch Changes
@@ -0,0 +1,48 @@
1
+ import path from 'path';
2
+
3
+ import type { ComponentStructuredContentSource } from '@atlassian/structured-docs-types';
4
+
5
+ const documentation: ComponentStructuredContentSource[] = [
6
+ {
7
+ name: 'AvatarGroup',
8
+ description:
9
+ 'A component for displaying multiple avatars in a group with overlap and overflow handling.',
10
+ status: 'general-availability',
11
+ import: {
12
+ name: 'AvatarGroup',
13
+ package: '@atlaskit/avatar-group',
14
+ type: 'default',
15
+ packagePath: path.resolve(__dirname),
16
+ packageJson: require('./package.json'),
17
+ },
18
+ usageGuidelines: [
19
+ 'Use for displaying multiple users or team members',
20
+ 'Consider overflow behavior for large groups',
21
+ 'Use appropriate sizing for context',
22
+ 'Provide clear user identification',
23
+ ],
24
+ contentGuidelines: [
25
+ 'Use meaningful names for users',
26
+ 'Consider group context and purpose',
27
+ 'Provide clear overflow indicators',
28
+ 'Use consistent naming patterns',
29
+ ],
30
+ accessibilityGuidelines: [
31
+ 'Provide clear labels for avatar groups',
32
+ 'Use appropriate overflow handling',
33
+ 'Ensure keyboard navigation support',
34
+ 'Provide clear user identification',
35
+ ],
36
+ examples: [
37
+ {
38
+ name: 'Avatar Group',
39
+ description: 'Avatar Group example',
40
+ source: path.resolve(__dirname, './examples/ai/avatar-group.tsx'),
41
+ },
42
+ ],
43
+ keywords: ['avatar', 'group', 'multiple', 'users', 'team', 'overlap'],
44
+ categories: ['data-display'],
45
+ },
46
+ ];
47
+
48
+ export default documentation;
@@ -18,6 +18,7 @@ var _noop = _interopRequireDefault(require("@atlaskit/ds-lib/noop"));
18
18
  var _useFocusEvent = _interopRequireDefault(require("@atlaskit/ds-lib/use-focus-event"));
19
19
  var _useId = require("@atlaskit/ds-lib/use-id");
20
20
  var _menu = require("@atlaskit/menu");
21
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
21
22
  var _popup = _interopRequireDefault(require("@atlaskit/popup"));
22
23
  var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
23
24
  var _avatarGroupItem = _interopRequireDefault(require("./avatar-group-item"));
@@ -75,6 +76,7 @@ function getOverrides(overrides) {
75
76
  var AvatarGroup = function AvatarGroup(_ref) {
76
77
  var _ref$appearance = _ref.appearance,
77
78
  appearance = _ref$appearance === void 0 ? 'stack' : _ref$appearance,
79
+ moreIndicatorAppearance = _ref.moreIndicatorAppearance,
78
80
  _ref$avatar = _ref.avatar,
79
81
  avatar = _ref$avatar === void 0 ? _avatar.default : _ref$avatar,
80
82
  borderColor = _ref.borderColor,
@@ -177,7 +179,7 @@ var AvatarGroup = function AvatarGroup(_ref) {
177
179
  ariaHasPopup = _ref3['aria-haspopup'],
178
180
  onClick = _ref3.onClick,
179
181
  props = (0, _objectWithoutProperties2.default)(_ref3, _excluded);
180
- return getOverrides(overrides).MoreIndicator.render(_moreIndicator.default, _objectSpread({
182
+ return getOverrides(overrides).MoreIndicator.render(_moreIndicator.default, _objectSpread(_objectSpread({
181
183
  buttonProps: showMoreButtonProps,
182
184
  borderColor: borderColor,
183
185
  count: total - max,
@@ -189,7 +191,9 @@ var AvatarGroup = function AvatarGroup(_ref) {
189
191
  'aria-expanded': ariaExpanded,
190
192
  'aria-haspopup': ariaHasPopup,
191
193
  onClick: onClick
192
- }, props));
194
+ }, props), (0, _platformFeatureFlags.fg)('jira-ai-agent-stack') && {
195
+ appearance: moreIndicatorAppearance
196
+ }));
193
197
  };
194
198
 
195
199
  // bail if the consumer wants to handle onClick
@@ -47,6 +47,7 @@
47
47
  ._bfhk15s3{background-color:var(--ds-background-selected,#e9f2fe)}
48
48
  ._bfhki8nm{background-color:var(--ds-background-neutral,#0515240f)}
49
49
  ._bozgze3t{padding-inline-start:var(--ds-space-0,0)}
50
+ ._mkrz1k6g{clip-path:polygon(45% 1.33975%,46.5798% .60307%,48.26352% .15192%,50% 0,51.73648% .15192%,53.4202% .60307%,55% 1.33975%,89.64102% 21.33975%,91.06889% 22.33956%,92.30146% 23.57212%,93.30127% 25%,94.03794% 26.5798%,94.48909% 28.26352%,94.64102% 30%,94.64102% 70%,94.48909% 71.73648%,94.03794% 73.4202%,93.30127% 75%,92.30146% 76.42788%,91.06889% 77.66044%,89.64102% 78.66025%,55% 98.66025%,53.4202% 99.39693%,51.73648% 99.84808%,50% 100%,48.26352% 99.84808%,46.5798% 99.39693%,45% 98.66025%,10.35898% 78.66025%,8.93111% 77.66044%,7.69854% 76.42788%,6.69873% 75%,5.96206% 73.4202%,5.51091% 71.73648%,5.35898% 70%,5.35898% 30%,5.51091% 28.26352%,5.96206% 26.5798%,6.69873% 25%,7.69854% 23.57212%,8.93111% 22.33956%,10.35898% 21.33975%)}
50
51
  ._syaz6x5g{color:var(--ds-text-selected,#1868db)}
51
52
  ._syazi7uo{color:var(--ds-text,#292a2e)}
52
53
  ._t9ec1aqe{transform:translateZ(0)}
@@ -13,13 +13,15 @@ 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");
16
17
  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); }
17
18
  var boxShadowCssVar = '--avatar-box-shadow';
18
19
  var styles = {
19
20
  root: "_19itglyw _12ji1r31 _1qu2glyw _12y31o36 _1reo15vq _18m915vq _v564ieh6 _1e0c1txw _vchh1ntv _1pfhv77o _12l2v77o _6rthv77o _ahbqv77o _1q51ze3t _y4tize3t _85i5ze3t _bozgze3t _4cvr1fhb _1bah1h6o _2lx21bp4 _80omtlke _bfhki8nm _syazi7uo _16qs1nhn _t9ec1aqe _1ejjglyw _mizu194a _ra3xnqa1 _1ah3yh40 _128myh40 _irr3plhp _30l3i7uo _1di61gdz _9h8hi7uo _1q8w1np6 _jlxit94y",
20
21
  circle: "_2rko1qll",
21
22
  active: "_bfhk15s3 _16qsdfwd _syaz6x5g _t9ec1np6 _irr3ufnl _30l36x5g _1di6nozp _9h8h6x5g",
22
- disabled: "_80om13gf _1peqs237 _1hfkvuon"
23
+ disabled: "_80om13gf _1peqs237 _1hfkvuon",
24
+ hexagon: "_mkrz1k6g"
23
25
  };
24
26
  var widthHeightMap = {
25
27
  xsmall: "_1bsb7vkz _4t3i7vkz",
@@ -85,7 +87,7 @@ var MoreIndicator = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
85
87
  "aria-haspopup": ariaHaspopup,
86
88
  "aria-label": ariaLabel,
87
89
  style: (0, _defineProperty2.default)({}, boxShadowCssVar, "0 0 0 2px ".concat(borderColor)),
88
- className: (0, _runtime.ax)([styles.root, borderRadiusMap[size], appearance === 'circle' && styles.circle, widthHeightMap[size], fontMap[size], isActive && styles.active])
90
+ className: (0, _runtime.ax)([styles.root, borderRadiusMap[size], appearance === 'circle' && styles.circle, appearance === 'hexagon' && (0, _platformFeatureFlags.fg)('jira-ai-agent-stack') && styles.hexagon, widthHeightMap[size], fontMap[size], isActive && styles.active])
89
91
  }), "+", displayCount);
90
92
  });
91
93
  MoreIndicator.displayName = 'MoreIndicator';
@@ -7,6 +7,7 @@ import noop from '@atlaskit/ds-lib/noop';
7
7
  import useFocus from '@atlaskit/ds-lib/use-focus-event';
8
8
  import { useId } from '@atlaskit/ds-lib/use-id';
9
9
  import { Section } from '@atlaskit/menu';
10
+ import { fg } from '@atlaskit/platform-feature-flags';
10
11
  import Popup from '@atlaskit/popup';
11
12
  import Tooltip from '@atlaskit/tooltip';
12
13
  import AvatarGroupItem from './avatar-group-item';
@@ -55,6 +56,7 @@ function getOverrides(overrides) {
55
56
  */
56
57
  const AvatarGroup = ({
57
58
  appearance = 'stack',
59
+ moreIndicatorAppearance,
58
60
  avatar = Avatar,
59
61
  borderColor,
60
62
  boundariesElement,
@@ -156,7 +158,10 @@ const AvatarGroup = ({
156
158
  'aria-expanded': ariaExpanded,
157
159
  'aria-haspopup': ariaHasPopup,
158
160
  onClick,
159
- ...props
161
+ ...props,
162
+ ...(fg('jira-ai-agent-stack') && {
163
+ appearance: moreIndicatorAppearance
164
+ })
160
165
  });
161
166
 
162
167
  // bail if the consumer wants to handle onClick
@@ -47,6 +47,7 @@
47
47
  ._bfhk15s3{background-color:var(--ds-background-selected,#e9f2fe)}
48
48
  ._bfhki8nm{background-color:var(--ds-background-neutral,#0515240f)}
49
49
  ._bozgze3t{padding-inline-start:var(--ds-space-0,0)}
50
+ ._mkrz1k6g{clip-path:polygon(45% 1.33975%,46.5798% .60307%,48.26352% .15192%,50% 0,51.73648% .15192%,53.4202% .60307%,55% 1.33975%,89.64102% 21.33975%,91.06889% 22.33956%,92.30146% 23.57212%,93.30127% 25%,94.03794% 26.5798%,94.48909% 28.26352%,94.64102% 30%,94.64102% 70%,94.48909% 71.73648%,94.03794% 73.4202%,93.30127% 75%,92.30146% 76.42788%,91.06889% 77.66044%,89.64102% 78.66025%,55% 98.66025%,53.4202% 99.39693%,51.73648% 99.84808%,50% 100%,48.26352% 99.84808%,46.5798% 99.39693%,45% 98.66025%,10.35898% 78.66025%,8.93111% 77.66044%,7.69854% 76.42788%,6.69873% 75%,5.96206% 73.4202%,5.51091% 71.73648%,5.35898% 70%,5.35898% 30%,5.51091% 28.26352%,5.96206% 26.5798%,6.69873% 25%,7.69854% 23.57212%,8.93111% 22.33956%,10.35898% 21.33975%)}
50
51
  ._syaz6x5g{color:var(--ds-text-selected,#1868db)}
51
52
  ._syazi7uo{color:var(--ds-text,#292a2e)}
52
53
  ._t9ec1aqe{transform:translateZ(0)}
@@ -4,12 +4,14 @@ 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';
7
8
  const boxShadowCssVar = '--avatar-box-shadow';
8
9
  const styles = {
9
10
  root: "_19itglyw _12ji1r31 _1qu2glyw _12y31o36 _1reo15vq _18m915vq _v564ieh6 _1e0c1txw _vchh1ntv _1pfhv77o _12l2v77o _6rthv77o _ahbqv77o _1q51ze3t _y4tize3t _85i5ze3t _bozgze3t _4cvr1fhb _1bah1h6o _2lx21bp4 _80omtlke _bfhki8nm _syazi7uo _16qs1nhn _t9ec1aqe _1ejjglyw _mizu194a _ra3xnqa1 _1ah3yh40 _128myh40 _irr3plhp _30l3i7uo _1di61gdz _9h8hi7uo _1q8w1np6 _jlxit94y",
10
11
  circle: "_2rko1qll",
11
12
  active: "_bfhk15s3 _16qsdfwd _syaz6x5g _t9ec1np6 _irr3ufnl _30l36x5g _1di6nozp _9h8h6x5g",
12
- disabled: "_80om13gf _1peqs237 _1hfkvuon"
13
+ disabled: "_80om13gf _1peqs237 _1hfkvuon",
14
+ hexagon: "_mkrz1k6g"
13
15
  };
14
16
  const widthHeightMap = {
15
17
  xsmall: "_1bsb7vkz _4t3i7vkz",
@@ -73,7 +75,7 @@ const MoreIndicator = /*#__PURE__*/forwardRef(({
73
75
  style: {
74
76
  [boxShadowCssVar]: `0 0 0 2px ${borderColor}`
75
77
  },
76
- className: ax([styles.root, borderRadiusMap[size], appearance === 'circle' && styles.circle, widthHeightMap[size], fontMap[size], isActive && styles.active])
78
+ className: ax([styles.root, borderRadiusMap[size], appearance === 'circle' && styles.circle, appearance === 'hexagon' && fg('jira-ai-agent-stack') && styles.hexagon, widthHeightMap[size], fontMap[size], isActive && styles.active])
77
79
  }), "+", displayCount);
78
80
  });
79
81
  MoreIndicator.displayName = 'MoreIndicator';
@@ -13,6 +13,7 @@ import noop from '@atlaskit/ds-lib/noop';
13
13
  import useFocus from '@atlaskit/ds-lib/use-focus-event';
14
14
  import { useId } from '@atlaskit/ds-lib/use-id';
15
15
  import { Section } from '@atlaskit/menu';
16
+ import { fg } from '@atlaskit/platform-feature-flags';
16
17
  import Popup from '@atlaskit/popup';
17
18
  import Tooltip from '@atlaskit/tooltip';
18
19
  import AvatarGroupItem from './avatar-group-item';
@@ -66,6 +67,7 @@ function getOverrides(overrides) {
66
67
  var AvatarGroup = function AvatarGroup(_ref) {
67
68
  var _ref$appearance = _ref.appearance,
68
69
  appearance = _ref$appearance === void 0 ? 'stack' : _ref$appearance,
70
+ moreIndicatorAppearance = _ref.moreIndicatorAppearance,
69
71
  _ref$avatar = _ref.avatar,
70
72
  avatar = _ref$avatar === void 0 ? Avatar : _ref$avatar,
71
73
  borderColor = _ref.borderColor,
@@ -168,7 +170,7 @@ var AvatarGroup = function AvatarGroup(_ref) {
168
170
  ariaHasPopup = _ref3['aria-haspopup'],
169
171
  onClick = _ref3.onClick,
170
172
  props = _objectWithoutProperties(_ref3, _excluded);
171
- return getOverrides(overrides).MoreIndicator.render(MoreIndicator, _objectSpread({
173
+ return getOverrides(overrides).MoreIndicator.render(MoreIndicator, _objectSpread(_objectSpread({
172
174
  buttonProps: showMoreButtonProps,
173
175
  borderColor: borderColor,
174
176
  count: total - max,
@@ -180,7 +182,9 @@ var AvatarGroup = function AvatarGroup(_ref) {
180
182
  'aria-expanded': ariaExpanded,
181
183
  'aria-haspopup': ariaHasPopup,
182
184
  onClick: onClick
183
- }, props));
185
+ }, props), fg('jira-ai-agent-stack') && {
186
+ appearance: moreIndicatorAppearance
187
+ }));
184
188
  };
185
189
 
186
190
  // bail if the consumer wants to handle onClick
@@ -47,6 +47,7 @@
47
47
  ._bfhk15s3{background-color:var(--ds-background-selected,#e9f2fe)}
48
48
  ._bfhki8nm{background-color:var(--ds-background-neutral,#0515240f)}
49
49
  ._bozgze3t{padding-inline-start:var(--ds-space-0,0)}
50
+ ._mkrz1k6g{clip-path:polygon(45% 1.33975%,46.5798% .60307%,48.26352% .15192%,50% 0,51.73648% .15192%,53.4202% .60307%,55% 1.33975%,89.64102% 21.33975%,91.06889% 22.33956%,92.30146% 23.57212%,93.30127% 25%,94.03794% 26.5798%,94.48909% 28.26352%,94.64102% 30%,94.64102% 70%,94.48909% 71.73648%,94.03794% 73.4202%,93.30127% 75%,92.30146% 76.42788%,91.06889% 77.66044%,89.64102% 78.66025%,55% 98.66025%,53.4202% 99.39693%,51.73648% 99.84808%,50% 100%,48.26352% 99.84808%,46.5798% 99.39693%,45% 98.66025%,10.35898% 78.66025%,8.93111% 77.66044%,7.69854% 76.42788%,6.69873% 75%,5.96206% 73.4202%,5.51091% 71.73648%,5.35898% 70%,5.35898% 30%,5.51091% 28.26352%,5.96206% 26.5798%,6.69873% 25%,7.69854% 23.57212%,8.93111% 22.33956%,10.35898% 21.33975%)}
50
51
  ._syaz6x5g{color:var(--ds-text-selected,#1868db)}
51
52
  ._syazi7uo{color:var(--ds-text,#292a2e)}
52
53
  ._t9ec1aqe{transform:translateZ(0)}
@@ -5,12 +5,14 @@ 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';
8
9
  var boxShadowCssVar = '--avatar-box-shadow';
9
10
  var styles = {
10
11
  root: "_19itglyw _12ji1r31 _1qu2glyw _12y31o36 _1reo15vq _18m915vq _v564ieh6 _1e0c1txw _vchh1ntv _1pfhv77o _12l2v77o _6rthv77o _ahbqv77o _1q51ze3t _y4tize3t _85i5ze3t _bozgze3t _4cvr1fhb _1bah1h6o _2lx21bp4 _80omtlke _bfhki8nm _syazi7uo _16qs1nhn _t9ec1aqe _1ejjglyw _mizu194a _ra3xnqa1 _1ah3yh40 _128myh40 _irr3plhp _30l3i7uo _1di61gdz _9h8hi7uo _1q8w1np6 _jlxit94y",
11
12
  circle: "_2rko1qll",
12
13
  active: "_bfhk15s3 _16qsdfwd _syaz6x5g _t9ec1np6 _irr3ufnl _30l36x5g _1di6nozp _9h8h6x5g",
13
- disabled: "_80om13gf _1peqs237 _1hfkvuon"
14
+ disabled: "_80om13gf _1peqs237 _1hfkvuon",
15
+ hexagon: "_mkrz1k6g"
14
16
  };
15
17
  var widthHeightMap = {
16
18
  xsmall: "_1bsb7vkz _4t3i7vkz",
@@ -76,7 +78,7 @@ var MoreIndicator = /*#__PURE__*/forwardRef(function (_ref, ref) {
76
78
  "aria-haspopup": ariaHaspopup,
77
79
  "aria-label": ariaLabel,
78
80
  style: _defineProperty({}, boxShadowCssVar, "0 0 0 2px ".concat(borderColor)),
79
- className: ax([styles.root, borderRadiusMap[size], appearance === 'circle' && styles.circle, widthHeightMap[size], fontMap[size], isActive && styles.active])
81
+ className: ax([styles.root, borderRadiusMap[size], appearance === 'circle' && styles.circle, appearance === 'hexagon' && fg('jira-ai-agent-stack') && styles.hexagon, widthHeightMap[size], fontMap[size], isActive && styles.active])
80
82
  }), "+", displayCount);
81
83
  });
82
84
  MoreIndicator.displayName = 'MoreIndicator';
@@ -1,5 +1,5 @@
1
1
  import React, { type ElementType, type MouseEventHandler } from 'react';
2
- import Avatar from '@atlaskit/avatar';
2
+ import Avatar, { type AppearanceType } from '@atlaskit/avatar';
3
3
  import { type PositionType } from '@atlaskit/tooltip';
4
4
  import { type AvatarGroupOverrides, type AvatarGroupSize, type AvatarProps, type onAvatarClickHandler } from './types';
5
5
  export interface AvatarGroupProps {
@@ -10,6 +10,11 @@ export interface AvatarGroupProps {
10
10
  * Defaults to "stack".
11
11
  */
12
12
  appearance?: 'grid' | 'stack';
13
+ /**
14
+ * Indicates the shape of the more indicator. Most more indicators are circular, but square more indicators
15
+ * can be used for 'container' objects.
16
+ */
17
+ moreIndicatorAppearance?: AppearanceType;
13
18
  /**
14
19
  * Component used to render each avatar.
15
20
  */
@@ -118,5 +123,5 @@ export interface AvatarGroupProps {
118
123
  * - [Code](https://atlassian.design/components/avatar-group/code)
119
124
  * - [Usage](https://atlassian.design/components/avatar-group/usage)
120
125
  */
121
- declare const AvatarGroup: ({ appearance, avatar, borderColor, boundariesElement, data, isTooltipDisabled, maxCount, onAvatarClick, onMoreClick, overrides, showMoreButtonProps, size, testId, label, moreIndicatorLabel, tooltipPosition, shouldPopupRenderToParent, }: AvatarGroupProps) => React.JSX.Element;
126
+ declare const AvatarGroup: ({ appearance, moreIndicatorAppearance, avatar, borderColor, boundariesElement, data, isTooltipDisabled, maxCount, onAvatarClick, onMoreClick, overrides, showMoreButtonProps, size, testId, label, moreIndicatorLabel, tooltipPosition, shouldPopupRenderToParent, }: AvatarGroupProps) => React.JSX.Element;
122
127
  export default AvatarGroup;
@@ -1,5 +1,5 @@
1
1
  import React, { type ElementType, type MouseEventHandler } from 'react';
2
- import Avatar from '@atlaskit/avatar';
2
+ import Avatar, { type AppearanceType } from '@atlaskit/avatar';
3
3
  import { type PositionType } from '@atlaskit/tooltip';
4
4
  import { type AvatarGroupOverrides, type AvatarGroupSize, type AvatarProps, type onAvatarClickHandler } from './types';
5
5
  export interface AvatarGroupProps {
@@ -10,6 +10,11 @@ export interface AvatarGroupProps {
10
10
  * Defaults to "stack".
11
11
  */
12
12
  appearance?: 'grid' | 'stack';
13
+ /**
14
+ * Indicates the shape of the more indicator. Most more indicators are circular, but square more indicators
15
+ * can be used for 'container' objects.
16
+ */
17
+ moreIndicatorAppearance?: AppearanceType;
13
18
  /**
14
19
  * Component used to render each avatar.
15
20
  */
@@ -118,5 +123,5 @@ export interface AvatarGroupProps {
118
123
  * - [Code](https://atlassian.design/components/avatar-group/code)
119
124
  * - [Usage](https://atlassian.design/components/avatar-group/usage)
120
125
  */
121
- declare const AvatarGroup: ({ appearance, avatar, borderColor, boundariesElement, data, isTooltipDisabled, maxCount, onAvatarClick, onMoreClick, overrides, showMoreButtonProps, size, testId, label, moreIndicatorLabel, tooltipPosition, shouldPopupRenderToParent, }: AvatarGroupProps) => React.JSX.Element;
126
+ declare const AvatarGroup: ({ appearance, moreIndicatorAppearance, avatar, borderColor, boundariesElement, data, isTooltipDisabled, maxCount, onAvatarClick, onMoreClick, overrides, showMoreButtonProps, size, testId, label, moreIndicatorLabel, tooltipPosition, shouldPopupRenderToParent, }: AvatarGroupProps) => React.JSX.Element;
122
127
  export default AvatarGroup;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/avatar-group",
3
- "version": "12.4.11",
3
+ "version": "12.4.13",
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,14 +24,14 @@
24
24
  }
25
25
  },
26
26
  "dependencies": {
27
- "@atlaskit/avatar": "^25.8.0",
27
+ "@atlaskit/avatar": "^25.10.0",
28
28
  "@atlaskit/css": "^0.19.0",
29
29
  "@atlaskit/ds-lib": "^6.0.0",
30
30
  "@atlaskit/menu": "^8.4.0",
31
31
  "@atlaskit/platform-feature-flags": "^1.1.0",
32
32
  "@atlaskit/popup": "^4.13.0",
33
33
  "@atlaskit/tokens": "^11.1.0",
34
- "@atlaskit/tooltip": "^20.14.0",
34
+ "@atlaskit/tooltip": "^21.0.0",
35
35
  "@babel/runtime": "^7.0.0",
36
36
  "@compiled/react": "^0.20.0",
37
37
  "bind-event-listener": "^3.0.0"
@@ -45,15 +45,16 @@
45
45
  "@af/visual-regression": "workspace:^",
46
46
  "@atlaskit/analytics-next": "^11.1.0",
47
47
  "@atlaskit/button": "^23.10.0",
48
- "@atlaskit/docs": "^11.6.0",
48
+ "@atlaskit/docs": "^11.7.0",
49
49
  "@atlaskit/form": "^15.4.0",
50
- "@atlaskit/icon": "^32.0.0",
50
+ "@atlaskit/icon": "^33.0.0",
51
51
  "@atlaskit/link": "^3.3.0",
52
52
  "@atlaskit/modal-dialog": "^14.11.0",
53
53
  "@atlaskit/primitives": "^18.0.0",
54
54
  "@atlaskit/section-message": "^8.12.0",
55
55
  "@atlaskit/toggle": "^15.2.0",
56
56
  "@atlassian/ssr-tests": "workspace:^",
57
+ "@atlassian/structured-docs-types": "workspace:^",
57
58
  "@testing-library/react": "^16.3.0",
58
59
  "@testing-library/user-event": "^14.4.3",
59
60
  "lodash": "^4.17.21",
@@ -96,6 +97,9 @@
96
97
  "platform-feature-flags": {
97
98
  "platform-avatar-group-spacing-fix": {
98
99
  "type": "boolean"
100
+ },
101
+ "jira-ai-agent-stack": {
102
+ "type": "boolean"
99
103
  }
100
104
  }
101
105
  }