@atlaskit/avatar-group 9.6.0 → 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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @atlaskit/avatar-group
2
2
 
3
+ ## 9.6.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#96699](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96699)
8
+ [`1809bf4e75ad`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1809bf4e75ad) -
9
+ Update font size of the 'more' indicator to be defined in rem rather than px.
10
+ - Updated dependencies
11
+
3
12
  ## 9.6.0
4
13
 
5
14
  ### Minor Changes
@@ -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.6.0",
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/"
@@ -27,13 +27,13 @@
27
27
  "runReact18": true
28
28
  },
29
29
  "dependencies": {
30
- "@atlaskit/avatar": "^21.7.0",
30
+ "@atlaskit/avatar": "^21.9.0",
31
31
  "@atlaskit/ds-lib": "^2.3.0",
32
- "@atlaskit/menu": "^2.2.0",
32
+ "@atlaskit/menu": "^2.3.0",
33
33
  "@atlaskit/popup": "^1.17.0",
34
- "@atlaskit/theme": "^12.7.0",
35
- "@atlaskit/tokens": "^1.45.0",
36
- "@atlaskit/tooltip": "^18.3.0",
34
+ "@atlaskit/theme": "^12.8.0",
35
+ "@atlaskit/tokens": "^1.49.0",
36
+ "@atlaskit/tooltip": "^18.4.0",
37
37
  "@babel/runtime": "^7.0.0",
38
38
  "@emotion/react": "^11.7.1",
39
39
  "bind-event-listener": "^3.0.0"