@atlaskit/avatar-group 9.5.4 → 9.6.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.
@@ -17,12 +17,17 @@ var _excluded = ["testId", "className", "ref"];
17
17
  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); }
18
18
  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 && Object.prototype.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; }
19
19
  var FONT_SIZE = {
20
- xsmall: '10px',
21
- small: '10px',
22
- medium: '11px',
23
- large: '12px',
24
- xlarge: '16px',
25
- xxlarge: '16px'
20
+ xsmall: '0.625rem',
21
+ // 10px
22
+ small: '0.625rem',
23
+ // 10px
24
+ medium: '0.6875rem',
25
+ // 11px
26
+ large: '0.75rem',
27
+ // 12px
28
+ xlarge: '1rem',
29
+ // 16px
30
+ xxlarge: '1rem' // 16px
26
31
  };
27
32
  var buttonActiveStyles = (0, _react2.css)({
28
33
  // eslint-disable-next-line @atlaskit/design-system/no-nested-styles
@@ -5,12 +5,17 @@ import { css, jsx } from '@emotion/react';
5
5
  import Avatar, { ACTIVE_SCALE_FACTOR, BORDER_WIDTH } from '@atlaskit/avatar';
6
6
  import { B300, B400, B50, N0, N20, N30, N500 } from '@atlaskit/theme/colors';
7
7
  const FONT_SIZE = {
8
- xsmall: '10px',
9
- small: '10px',
10
- medium: '11px',
11
- large: '12px',
12
- xlarge: '16px',
13
- xxlarge: '16px'
8
+ xsmall: '0.625rem',
9
+ // 10px
10
+ small: '0.625rem',
11
+ // 10px
12
+ medium: '0.6875rem',
13
+ // 11px
14
+ large: '0.75rem',
15
+ // 12px
16
+ xlarge: '1rem',
17
+ // 16px
18
+ xxlarge: '1rem' // 16px
14
19
  };
15
20
  const buttonActiveStyles = css({
16
21
  // eslint-disable-next-line @atlaskit/design-system/no-nested-styles
@@ -7,12 +7,17 @@ import { css, jsx } from '@emotion/react';
7
7
  import Avatar, { ACTIVE_SCALE_FACTOR, BORDER_WIDTH } from '@atlaskit/avatar';
8
8
  import { B300, B400, B50, N0, N20, N30, N500 } from '@atlaskit/theme/colors';
9
9
  var FONT_SIZE = {
10
- xsmall: '10px',
11
- small: '10px',
12
- medium: '11px',
13
- large: '12px',
14
- xlarge: '16px',
15
- xxlarge: '16px'
10
+ xsmall: '0.625rem',
11
+ // 10px
12
+ small: '0.625rem',
13
+ // 10px
14
+ medium: '0.6875rem',
15
+ // 11px
16
+ large: '0.75rem',
17
+ // 12px
18
+ xlarge: '1rem',
19
+ // 16px
20
+ xxlarge: '1rem' // 16px
16
21
  };
17
22
  var buttonActiveStyles = css({
18
23
  // eslint-disable-next-line @atlaskit/design-system/no-nested-styles
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { AvatarClickEventHandler, AvatarPropTypes } from '@atlaskit/avatar';
2
+ import { type AvatarClickEventHandler, type AvatarPropTypes } from '@atlaskit/avatar';
3
3
  export interface MoreIndicatorProps extends AvatarPropTypes {
4
4
  count: number;
5
5
  'aria-controls'?: string;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { AvatarClickEventHandler, AvatarPropTypes } from '@atlaskit/avatar';
2
+ import { type AvatarClickEventHandler, type AvatarPropTypes } from '@atlaskit/avatar';
3
3
  export interface MoreIndicatorProps extends AvatarPropTypes {
4
4
  count: number;
5
5
  'aria-controls'?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/avatar-group",
3
- "version": "9.5.4",
3
+ "version": "9.6.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/"
@@ -23,22 +23,23 @@
23
23
  "website": {
24
24
  "name": "Avatar group",
25
25
  "category": "Components"
26
- }
26
+ },
27
+ "runReact18": true
27
28
  },
28
29
  "dependencies": {
29
- "@atlaskit/avatar": "^21.5.0",
30
+ "@atlaskit/avatar": "^21.9.0",
30
31
  "@atlaskit/ds-lib": "^2.3.0",
31
- "@atlaskit/menu": "^2.1.0",
32
- "@atlaskit/popup": "^1.14.0",
33
- "@atlaskit/theme": "^12.7.0",
34
- "@atlaskit/tokens": "^1.43.0",
35
- "@atlaskit/tooltip": "^18.2.0",
32
+ "@atlaskit/menu": "^2.3.0",
33
+ "@atlaskit/popup": "^1.17.0",
34
+ "@atlaskit/theme": "^12.8.0",
35
+ "@atlaskit/tokens": "^1.49.0",
36
+ "@atlaskit/tooltip": "^18.4.0",
36
37
  "@babel/runtime": "^7.0.0",
37
38
  "@emotion/react": "^11.7.1",
38
39
  "bind-event-listener": "^3.0.0"
39
40
  },
40
41
  "peerDependencies": {
41
- "react": "^16.8.0"
42
+ "react": "^16.8.0 || ^17.0.0 || ~18.2.0"
42
43
  },
43
44
  "devDependencies": {
44
45
  "@af/accessibility-testing": "*",
@@ -46,6 +47,7 @@
46
47
  "@af/visual-regression": "*",
47
48
  "@atlaskit/analytics-next": "^9.3.0",
48
49
  "@atlaskit/ssr": "*",
50
+ "@atlaskit/toggle": "^13.1.0",
49
51
  "@atlaskit/visual-regression": "*",
50
52
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
51
53
  "@emotion/styled": "^11.0.0",