@atlaskit/avatar-group 9.8.0 → 9.9.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-group
|
|
2
2
|
|
|
3
|
+
## 9.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#116644](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/116644)
|
|
8
|
+
[`40234970169dc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/40234970169dc) -
|
|
9
|
+
[ux] DSP-19190 We are testing a new visual appearance behind a feature flag. If successful it will
|
|
10
|
+
be released at a later date.
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 9.8.0
|
|
4
17
|
|
|
5
18
|
### Minor Changes
|
|
@@ -11,6 +11,7 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
11
11
|
var _react = require("react");
|
|
12
12
|
var _react2 = require("@emotion/react");
|
|
13
13
|
var _avatar = _interopRequireWildcard(require("@atlaskit/avatar"));
|
|
14
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
14
15
|
var _colors = require("@atlaskit/theme/colors");
|
|
15
16
|
var _excluded = ["testId", "className", "ref"];
|
|
16
17
|
/**
|
|
@@ -71,7 +72,7 @@ var MoreIndicator = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
71
72
|
var _ref$appearance = _ref.appearance,
|
|
72
73
|
appearance = _ref$appearance === void 0 ? 'circle' : _ref$appearance,
|
|
73
74
|
_ref$borderColor = _ref.borderColor,
|
|
74
|
-
borderColor = _ref$borderColor === void 0 ? "var(--ds-border-inverse, ".concat(_colors.N0, ")") : _ref$borderColor,
|
|
75
|
+
borderColor = _ref$borderColor === void 0 ? (0, _platformFeatureFlags.fg)('platform.design-system-team.component-visual-refresh_t8zbo') ? "var(--ds-surface, #FFFFFF)" : "var(--ds-border-inverse, ".concat(_colors.N0, ")") : _ref$borderColor,
|
|
75
76
|
_ref$size = _ref.size,
|
|
76
77
|
size = _ref$size === void 0 ? 'medium' : _ref$size,
|
|
77
78
|
_ref$count = _ref.count,
|
|
@@ -8,6 +8,7 @@ import { forwardRef, useCallback } from 'react';
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
import { css, jsx } from '@emotion/react';
|
|
10
10
|
import Avatar, { ACTIVE_SCALE_FACTOR, BORDER_WIDTH } from '@atlaskit/avatar';
|
|
11
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
11
12
|
import { B300, B400, B50, N0, N20, N30, N500 } from '@atlaskit/theme/colors';
|
|
12
13
|
const buttonSizes = {
|
|
13
14
|
xsmall: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
@@ -58,7 +59,7 @@ const buttonStyles = css({
|
|
|
58
59
|
const MAX_DISPLAY_COUNT = 99;
|
|
59
60
|
const MoreIndicator = /*#__PURE__*/forwardRef(({
|
|
60
61
|
appearance = 'circle',
|
|
61
|
-
borderColor = `var(--ds-border-inverse, ${N0})`,
|
|
62
|
+
borderColor = fg('platform.design-system-team.component-visual-refresh_t8zbo') ? "var(--ds-surface, #FFFFFF)" : `var(--ds-border-inverse, ${N0})`,
|
|
62
63
|
size = 'medium',
|
|
63
64
|
count = 0,
|
|
64
65
|
testId,
|
|
@@ -10,6 +10,7 @@ import { forwardRef, useCallback } from 'react';
|
|
|
10
10
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
11
|
import { css, jsx } from '@emotion/react';
|
|
12
12
|
import Avatar, { ACTIVE_SCALE_FACTOR, BORDER_WIDTH } from '@atlaskit/avatar';
|
|
13
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
13
14
|
import { B300, B400, B50, N0, N20, N30, N500 } from '@atlaskit/theme/colors';
|
|
14
15
|
var buttonSizes = {
|
|
15
16
|
xsmall: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
@@ -62,7 +63,7 @@ var MoreIndicator = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
62
63
|
var _ref$appearance = _ref.appearance,
|
|
63
64
|
appearance = _ref$appearance === void 0 ? 'circle' : _ref$appearance,
|
|
64
65
|
_ref$borderColor = _ref.borderColor,
|
|
65
|
-
borderColor = _ref$borderColor === void 0 ? "var(--ds-border-inverse, ".concat(N0, ")") : _ref$borderColor,
|
|
66
|
+
borderColor = _ref$borderColor === void 0 ? fg('platform.design-system-team.component-visual-refresh_t8zbo') ? "var(--ds-surface, #FFFFFF)" : "var(--ds-border-inverse, ".concat(N0, ")") : _ref$borderColor,
|
|
66
67
|
_ref$size = _ref.size,
|
|
67
68
|
size = _ref$size === void 0 ? 'medium' : _ref$size,
|
|
68
69
|
_ref$count = _ref.count,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/avatar-group",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.9.0",
|
|
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/"
|
|
@@ -27,12 +27,13 @@
|
|
|
27
27
|
"runReact18": true
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@atlaskit/avatar": "^21.
|
|
30
|
+
"@atlaskit/avatar": "^21.11.0",
|
|
31
31
|
"@atlaskit/ds-lib": "^2.3.0",
|
|
32
|
-
"@atlaskit/menu": "^2.
|
|
33
|
-
"@atlaskit/
|
|
32
|
+
"@atlaskit/menu": "^2.6.0",
|
|
33
|
+
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
34
|
+
"@atlaskit/popup": "^1.20.0",
|
|
34
35
|
"@atlaskit/theme": "^12.11.0",
|
|
35
|
-
"@atlaskit/tokens": "^1.
|
|
36
|
+
"@atlaskit/tokens": "^1.53.0",
|
|
36
37
|
"@atlaskit/tooltip": "^18.5.0",
|
|
37
38
|
"@babel/runtime": "^7.0.0",
|
|
38
39
|
"@emotion/react": "^11.7.1",
|
|
@@ -93,5 +94,10 @@
|
|
|
93
94
|
"af:exports": {
|
|
94
95
|
".": "./src/index.tsx"
|
|
95
96
|
},
|
|
96
|
-
"homepage": "https://atlassian.design/components/avatar-group/"
|
|
97
|
+
"homepage": "https://atlassian.design/components/avatar-group/",
|
|
98
|
+
"platform-feature-flags": {
|
|
99
|
+
"platform.design-system-team.component-visual-refresh_t8zbo": {
|
|
100
|
+
"type": "boolean"
|
|
101
|
+
}
|
|
102
|
+
}
|
|
97
103
|
}
|