@atlaskit/avatar-group 9.2.3 → 9.3.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,22 @@
1
1
  # @atlaskit/avatar-group
2
2
 
3
+ ## 9.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+
13
+ ## 9.2.4
14
+
15
+ ### Patch Changes
16
+
17
+ - [`a8a1fe824b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a8a1fe824b0) - Removed unused prop `enableTooltip` and fixed tooltip toggle in examples.
18
+ - Updated dependencies
19
+
3
20
  ## 9.2.3
4
21
 
5
22
  ### Patch Changes
@@ -21,7 +21,7 @@ var _moreIndicator = _interopRequireDefault(require("./more-indicator"));
21
21
  var _stack = _interopRequireDefault(require("./stack"));
22
22
  var _utils = require("./utils");
23
23
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
24
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
24
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } /** @jsx jsx */
25
25
  var MAX_COUNT = {
26
26
  grid: 11,
27
27
  stack: 5
@@ -9,13 +9,17 @@ var _react2 = require("@emotion/react");
9
9
  var _constants = require("@atlaskit/theme/constants");
10
10
  /** @jsx jsx */
11
11
 
12
+ // eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
13
+
12
14
  var gridSize = (0, _constants.gridSize)();
13
15
  var gutter = gridSize / 2;
14
16
  var listStyles = (0, _react2.css)({
15
17
  // removes default ul styles. Needs !important to override contextual styles in product.
16
18
  display: 'flex',
17
19
  margin: "var(--ds-space-0, 0px)",
20
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
18
21
  marginRight: -gutter,
22
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
19
23
  marginLeft: -gutter,
20
24
  padding: "var(--ds-space-0, 0px)",
21
25
  justifyContent: 'flex-start',
@@ -13,6 +13,7 @@ var _react2 = require("@emotion/react");
13
13
  var _avatar = _interopRequireWildcard(require("@atlaskit/avatar"));
14
14
  var _colors = require("@atlaskit/theme/colors");
15
15
  var _excluded = ["testId", "className", "ref"];
16
+ /** @jsx jsx */
16
17
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
17
18
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
18
19
  var FONT_SIZE = {
@@ -10,10 +10,13 @@ var _avatar = require("@atlaskit/avatar");
10
10
  var _constants = require("@atlaskit/theme/constants");
11
11
  /** @jsx jsx */
12
12
 
13
+ // eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
14
+
13
15
  var gutter = _avatar.BORDER_WIDTH * 2 + (0, _constants.gridSize)() / 2;
14
16
  var listStyles = (0, _react2.css)({
15
17
  display: 'flex',
16
18
  margin: "var(--ds-space-0, 0px)",
19
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
17
20
  marginRight: gutter,
18
21
  padding: "var(--ds-space-0, 0px)",
19
22
  lineHeight: 1,
@@ -21,6 +24,7 @@ var listStyles = (0, _react2.css)({
21
24
  });
22
25
  var listItemStyles = (0, _react2.css)({
23
26
  margin: "var(--ds-space-0, 0px)",
27
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
24
28
  marginRight: -gutter
25
29
  });
26
30
  var Stack = function Stack(_ref) {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/avatar-group",
3
- "version": "9.2.3",
3
+ "version": "9.3.0",
4
4
  "sideEffects": false
5
5
  }
@@ -1,6 +1,8 @@
1
1
  /** @jsx jsx */
2
2
  import { Children } from 'react';
3
3
  import { css, jsx } from '@emotion/react';
4
+
5
+ // eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
4
6
  import { gridSize as getGridSize } from '@atlaskit/theme/constants';
5
7
  const gridSize = getGridSize();
6
8
  const gutter = gridSize / 2;
@@ -8,7 +10,9 @@ const listStyles = css({
8
10
  // removes default ul styles. Needs !important to override contextual styles in product.
9
11
  display: 'flex',
10
12
  margin: "var(--ds-space-0, 0px)",
13
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
11
14
  marginRight: -gutter,
15
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
12
16
  marginLeft: -gutter,
13
17
  padding: "var(--ds-space-0, 0px)",
14
18
  justifyContent: 'flex-start',
@@ -2,11 +2,13 @@
2
2
  import { Children } from 'react';
3
3
  import { css, jsx } from '@emotion/react';
4
4
  import { BORDER_WIDTH } from '@atlaskit/avatar';
5
+ // eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
5
6
  import { gridSize } from '@atlaskit/theme/constants';
6
7
  const gutter = BORDER_WIDTH * 2 + gridSize() / 2;
7
8
  const listStyles = css({
8
9
  display: 'flex',
9
10
  margin: "var(--ds-space-0, 0px)",
11
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
10
12
  marginRight: gutter,
11
13
  padding: "var(--ds-space-0, 0px)",
12
14
  lineHeight: 1,
@@ -14,6 +16,7 @@ const listStyles = css({
14
16
  });
15
17
  const listItemStyles = css({
16
18
  margin: "var(--ds-space-0, 0px)",
19
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
17
20
  marginRight: -gutter
18
21
  });
19
22
  const Stack = ({
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/avatar-group",
3
- "version": "9.2.3",
3
+ "version": "9.3.0",
4
4
  "sideEffects": false
5
5
  }
@@ -1,6 +1,8 @@
1
1
  /** @jsx jsx */
2
2
  import { Children } from 'react';
3
3
  import { css, jsx } from '@emotion/react';
4
+
5
+ // eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
4
6
  import { gridSize as getGridSize } from '@atlaskit/theme/constants';
5
7
  var gridSize = getGridSize();
6
8
  var gutter = gridSize / 2;
@@ -8,7 +10,9 @@ var listStyles = css({
8
10
  // removes default ul styles. Needs !important to override contextual styles in product.
9
11
  display: 'flex',
10
12
  margin: "var(--ds-space-0, 0px)",
13
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
11
14
  marginRight: -gutter,
15
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
12
16
  marginLeft: -gutter,
13
17
  padding: "var(--ds-space-0, 0px)",
14
18
  justifyContent: 'flex-start',
@@ -2,11 +2,13 @@
2
2
  import { Children } from 'react';
3
3
  import { css, jsx } from '@emotion/react';
4
4
  import { BORDER_WIDTH } from '@atlaskit/avatar';
5
+ // eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
5
6
  import { gridSize } from '@atlaskit/theme/constants';
6
7
  var gutter = BORDER_WIDTH * 2 + gridSize() / 2;
7
8
  var listStyles = css({
8
9
  display: 'flex',
9
10
  margin: "var(--ds-space-0, 0px)",
11
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
10
12
  marginRight: gutter,
11
13
  padding: "var(--ds-space-0, 0px)",
12
14
  lineHeight: 1,
@@ -14,6 +16,7 @@ var listStyles = css({
14
16
  });
15
17
  var listItemStyles = css({
16
18
  margin: "var(--ds-space-0, 0px)",
19
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
17
20
  marginRight: -gutter
18
21
  });
19
22
  var Stack = function Stack(_ref) {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/avatar-group",
3
- "version": "9.2.3",
3
+ "version": "9.3.0",
4
4
  "sideEffects": false
5
5
  }
@@ -7,7 +7,6 @@ export declare type DeepRequired<T> = {
7
7
  };
8
8
  export declare type AvatarProps = AvatarPropTypes & {
9
9
  name: string;
10
- enableTooltip?: boolean;
11
10
  key?: string | number;
12
11
  };
13
12
  export interface AvatarGroupOverrides {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/avatar-group",
3
- "version": "9.2.3",
3
+ "version": "9.3.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/"
@@ -15,7 +15,6 @@
15
15
  "sideEffects": false,
16
16
  "atlaskit:src": "src/index.tsx",
17
17
  "atlassian": {
18
- "disableProductCI": true,
19
18
  "team": "Design System Team",
20
19
  "releaseModel": "scheduled",
21
20
  "website": {
@@ -27,12 +26,12 @@
27
26
  ".": "./src/index.tsx"
28
27
  },
29
28
  "dependencies": {
30
- "@atlaskit/avatar": "^21.1.0",
31
- "@atlaskit/menu": "^1.4.0",
32
- "@atlaskit/popup": "^1.5.0",
33
- "@atlaskit/theme": "^12.2.0",
34
- "@atlaskit/tokens": "^1.0.0",
35
- "@atlaskit/tooltip": "^17.6.0",
29
+ "@atlaskit/avatar": "^21.3.0",
30
+ "@atlaskit/menu": "^1.6.0",
31
+ "@atlaskit/popup": "^1.6.0",
32
+ "@atlaskit/theme": "^12.5.0",
33
+ "@atlaskit/tokens": "^1.3.0",
34
+ "@atlaskit/tooltip": "^17.8.0",
36
35
  "@babel/runtime": "^7.0.0",
37
36
  "@emotion/react": "^11.7.1"
38
37
  },
@@ -40,17 +39,17 @@
40
39
  "react": "^16.8.0"
41
40
  },
42
41
  "devDependencies": {
43
- "@atlaskit/analytics-next": "^8.2.0",
44
- "@atlaskit/button": "^16.5.0",
45
- "@atlaskit/code": "^14.4.0",
42
+ "@atlaskit/analytics-next": "^9.1.0",
43
+ "@atlaskit/button": "^16.7.0",
44
+ "@atlaskit/code": "^14.6.0",
46
45
  "@atlaskit/docs": "*",
47
- "@atlaskit/ds-lib": "^2.1.1",
48
- "@atlaskit/form": "^8.8.0",
49
- "@atlaskit/icon": "^21.11.0",
50
- "@atlaskit/modal-dialog": "^12.4.0",
51
- "@atlaskit/section-message": "^6.3.0",
46
+ "@atlaskit/ds-lib": "^2.2.0",
47
+ "@atlaskit/form": "^8.11.0",
48
+ "@atlaskit/icon": "^21.12.0",
49
+ "@atlaskit/modal-dialog": "^12.5.0",
50
+ "@atlaskit/section-message": "^6.4.0",
52
51
  "@atlaskit/ssr": "*",
53
- "@atlaskit/toggle": "^12.5.0",
52
+ "@atlaskit/toggle": "^12.6.0",
54
53
  "@atlaskit/visual-regression": "*",
55
54
  "@atlaskit/webdriver-runner": "*",
56
55
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
@@ -75,8 +74,10 @@
75
74
  "design-system": "v1",
76
75
  "ui-components": "lite-mode",
77
76
  "analytics": "analytics-next",
78
- "design-tokens": "spacing",
79
- "theming": "tokens",
77
+ "design-tokens": [
78
+ "color",
79
+ "spacing"
80
+ ],
80
81
  "deprecation": "no-deprecated-imports",
81
82
  "styling": [
82
83
  "emotion",
package/report.api.md CHANGED
@@ -102,7 +102,6 @@ export interface AvatarGroupProps {
102
102
  // @public (undocumented)
103
103
  export type AvatarProps = AvatarPropTypes & {
104
104
  name: string;
105
- enableTooltip?: boolean;
106
105
  key?: number | string;
107
106
  };
108
107