@atlaskit/avatar-group 9.11.2 → 9.11.4
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 +15 -0
- package/dist/cjs/components/avatar-group-item.js +1 -1
- package/dist/cjs/components/grid.js +1 -0
- package/dist/cjs/components/internal/components/focus-manager.js +1 -1
- package/dist/cjs/components/more-indicator.js +1 -1
- package/dist/cjs/components/stack.js +1 -0
- package/dist/es2019/components/grid.js +1 -0
- package/dist/es2019/components/stack.js +1 -0
- package/dist/esm/components/grid.js +1 -0
- package/dist/esm/components/stack.js +1 -0
- package/package.json +5 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/avatar-group
|
|
2
2
|
|
|
3
|
+
## 9.11.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 9.11.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#134321](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/134321)
|
|
14
|
+
[`4539c88ed5ed3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4539c88ed5ed3) -
|
|
15
|
+
The avatar group container now creates a new stacking context using `isolation: isolate`. This
|
|
16
|
+
improves how it interacts with other layered elementson the page.
|
|
17
|
+
|
|
3
18
|
## 9.11.2
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -16,7 +16,7 @@ var _useRegisterItemWithFocusManager = _interopRequireDefault(require("./interna
|
|
|
16
16
|
var _excluded = ["href", "onClick"],
|
|
17
17
|
_excluded2 = ["children"];
|
|
18
18
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
19
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
19
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
20
20
|
var AvatarGroupItem = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
21
21
|
var avatar = props.avatar,
|
|
22
22
|
onAvatarClick = props.onAvatarClick,
|
|
@@ -20,6 +20,7 @@ var listStyles = (0, _react2.css)({
|
|
|
20
20
|
padding: "var(--ds-space-0, 0px)",
|
|
21
21
|
justifyContent: 'flex-start',
|
|
22
22
|
flexWrap: 'wrap',
|
|
23
|
+
isolation: 'isolate',
|
|
23
24
|
lineHeight: 1,
|
|
24
25
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
25
26
|
listStyleType: 'none !important',
|
|
@@ -11,7 +11,7 @@ var _bindEventListener = require("bind-event-listener");
|
|
|
11
11
|
var _noop = _interopRequireDefault(require("@atlaskit/ds-lib/noop"));
|
|
12
12
|
var _handleFocus = _interopRequireDefault(require("../utiles/handle-focus"));
|
|
13
13
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
14
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
14
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
*
|
|
@@ -20,7 +20,7 @@ var _excluded = ["testId", "className", "ref"];
|
|
|
20
20
|
*/
|
|
21
21
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
22
22
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
23
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
23
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
24
24
|
var buttonSizes = {
|
|
25
25
|
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)",
|
|
26
26
|
small: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
@@ -22,6 +22,7 @@ var listStyles = (0, _react2.css)({
|
|
|
22
22
|
display: 'flex',
|
|
23
23
|
margin: "var(--ds-space-0, 0px)",
|
|
24
24
|
padding: "var(--ds-space-0, 0px)",
|
|
25
|
+
isolation: 'isolate',
|
|
25
26
|
lineHeight: 1,
|
|
26
27
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
27
28
|
listStyleType: 'none !important',
|
|
@@ -13,6 +13,7 @@ const listStyles = css({
|
|
|
13
13
|
padding: "var(--ds-space-0, 0px)",
|
|
14
14
|
justifyContent: 'flex-start',
|
|
15
15
|
flexWrap: 'wrap',
|
|
16
|
+
isolation: 'isolate',
|
|
16
17
|
lineHeight: 1,
|
|
17
18
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
18
19
|
listStyleType: 'none !important',
|
|
@@ -14,6 +14,7 @@ const listStyles = css({
|
|
|
14
14
|
display: 'flex',
|
|
15
15
|
margin: "var(--ds-space-0, 0px)",
|
|
16
16
|
padding: "var(--ds-space-0, 0px)",
|
|
17
|
+
isolation: 'isolate',
|
|
17
18
|
lineHeight: 1,
|
|
18
19
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
19
20
|
listStyleType: 'none !important',
|
|
@@ -13,6 +13,7 @@ var listStyles = css({
|
|
|
13
13
|
padding: "var(--ds-space-0, 0px)",
|
|
14
14
|
justifyContent: 'flex-start',
|
|
15
15
|
flexWrap: 'wrap',
|
|
16
|
+
isolation: 'isolate',
|
|
16
17
|
lineHeight: 1,
|
|
17
18
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
18
19
|
listStyleType: 'none !important',
|
|
@@ -14,6 +14,7 @@ var listStyles = css({
|
|
|
14
14
|
display: 'flex',
|
|
15
15
|
margin: "var(--ds-space-0, 0px)",
|
|
16
16
|
padding: "var(--ds-space-0, 0px)",
|
|
17
|
+
isolation: 'isolate',
|
|
17
18
|
lineHeight: 1,
|
|
18
19
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
19
20
|
listStyleType: 'none !important',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/avatar-group",
|
|
3
|
-
"version": "9.11.
|
|
3
|
+
"version": "9.11.4",
|
|
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/"
|
|
@@ -16,10 +16,6 @@
|
|
|
16
16
|
"atlaskit:src": "src/index.tsx",
|
|
17
17
|
"atlassian": {
|
|
18
18
|
"team": "Design System Team",
|
|
19
|
-
"productPushConsumption": [
|
|
20
|
-
"jira"
|
|
21
|
-
],
|
|
22
|
-
"releaseModel": "continuous",
|
|
23
19
|
"website": {
|
|
24
20
|
"name": "Avatar group",
|
|
25
21
|
"category": "Components"
|
|
@@ -28,12 +24,12 @@
|
|
|
28
24
|
},
|
|
29
25
|
"dependencies": {
|
|
30
26
|
"@atlaskit/avatar": "^21.15.0",
|
|
31
|
-
"@atlaskit/ds-lib": "^2.
|
|
27
|
+
"@atlaskit/ds-lib": "^2.6.0",
|
|
32
28
|
"@atlaskit/menu": "^2.12.0",
|
|
33
29
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
34
|
-
"@atlaskit/popup": "^1.
|
|
30
|
+
"@atlaskit/popup": "^1.27.0",
|
|
35
31
|
"@atlaskit/theme": "^13.0.0",
|
|
36
|
-
"@atlaskit/tokens": "^
|
|
32
|
+
"@atlaskit/tokens": "^2.0.0",
|
|
37
33
|
"@atlaskit/tooltip": "^18.7.0",
|
|
38
34
|
"@babel/runtime": "^7.0.0",
|
|
39
35
|
"@emotion/react": "^11.7.1",
|
|
@@ -48,14 +44,13 @@
|
|
|
48
44
|
"@af/visual-regression": "*",
|
|
49
45
|
"@atlaskit/analytics-next": "^10.1.0",
|
|
50
46
|
"@atlaskit/ssr": "*",
|
|
51
|
-
"@atlaskit/toggle": "^13.
|
|
47
|
+
"@atlaskit/toggle": "^13.4.0",
|
|
52
48
|
"@atlaskit/visual-regression": "*",
|
|
53
49
|
"@emotion/styled": "^11.0.0",
|
|
54
50
|
"@testing-library/react": "^12.1.5",
|
|
55
51
|
"@testing-library/user-event": "^14.4.3",
|
|
56
52
|
"lodash": "^4.17.21",
|
|
57
53
|
"react-dom": "^16.8.0",
|
|
58
|
-
"react-test-renderer": "^16.8.0",
|
|
59
54
|
"typescript": "~5.4.2",
|
|
60
55
|
"wait-for-expect": "^1.2.0"
|
|
61
56
|
},
|