@atlaskit/avatar-group 9.1.0 → 9.1.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,11 @@
1
1
  # @atlaskit/avatar-group
2
2
 
3
+ ## 9.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`bc989043572`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc989043572) - Internal changes to apply spacing tokens. This should be a no-op change.
8
+
3
9
  ## 9.1.0
4
10
 
5
11
  ### Minor Changes
@@ -17,20 +17,26 @@ var gutter = gridSize / 2;
17
17
  var listStyles = (0, _react2.css)({
18
18
  // removes default ul styles. Needs !important to override contextual styles in product.
19
19
  display: 'flex',
20
- margin: 0,
20
+ // TODO Delete this comment after verifying spacing token -> previous value `0`
21
+ margin: "var(--ds-scale-0, 0px)",
21
22
  marginRight: -gutter,
22
23
  marginLeft: -gutter,
23
- padding: 0,
24
+ // TODO Delete this comment after verifying spacing token -> previous value `0`
25
+ padding: "var(--ds-scale-0, 0px)",
24
26
  justifyContent: 'flex-start',
25
27
  flexWrap: 'wrap',
26
28
  lineHeight: 1,
27
29
  listStyleType: 'none !important'
28
30
  });
29
31
  var listItemStyles = (0, _react2.css)({
30
- margin: 0,
31
- marginBottom: gridSize,
32
- paddingRight: gutter,
33
- paddingLeft: gutter
32
+ // TODO Delete this comment after verifying spacing token -> previous value `0`
33
+ margin: "var(--ds-scale-0, 0px)",
34
+ // TODO Delete this comment after verifying spacing token -> previous value `gridSize`
35
+ marginBottom: "var(--ds-scale-100, 8px)",
36
+ // TODO Delete this comment after verifying spacing token -> previous value `gutter`
37
+ paddingRight: "var(--ds-scale-050, 4px)",
38
+ // TODO Delete this comment after verifying spacing token -> previous value `gutter`
39
+ paddingLeft: "var(--ds-scale-050, 4px)"
34
40
  });
35
41
 
36
42
  var Grid = function Grid(_ref) {
@@ -17,14 +17,17 @@ var _constants = require("@atlaskit/theme/constants");
17
17
  var gutter = _avatar.BORDER_WIDTH * 2 + (0, _constants.gridSize)() / 2;
18
18
  var listStyles = (0, _react2.css)({
19
19
  display: 'flex',
20
- margin: 0,
20
+ // TODO Delete this comment after verifying spacing token -> previous value `0`
21
+ margin: "var(--ds-scale-0, 0px)",
21
22
  marginRight: gutter,
22
- padding: 0,
23
+ // TODO Delete this comment after verifying spacing token -> previous value `0`
24
+ padding: "var(--ds-scale-0, 0px)",
23
25
  lineHeight: 1,
24
26
  listStyleType: 'none !important'
25
27
  });
26
28
  var listItemStyles = (0, _react2.css)({
27
- margin: 0,
29
+ // TODO Delete this comment after verifying spacing token -> previous value `0`
30
+ margin: "var(--ds-scale-0, 0px)",
28
31
  marginRight: -gutter
29
32
  });
30
33
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/avatar-group",
3
- "version": "9.1.0",
3
+ "version": "9.1.1",
4
4
  "sideEffects": false
5
5
  }
@@ -7,20 +7,26 @@ const gutter = gridSize / 2;
7
7
  const listStyles = css({
8
8
  // removes default ul styles. Needs !important to override contextual styles in product.
9
9
  display: 'flex',
10
- margin: 0,
10
+ // TODO Delete this comment after verifying spacing token -> previous value `0`
11
+ margin: "var(--ds-scale-0, 0px)",
11
12
  marginRight: -gutter,
12
13
  marginLeft: -gutter,
13
- padding: 0,
14
+ // TODO Delete this comment after verifying spacing token -> previous value `0`
15
+ padding: "var(--ds-scale-0, 0px)",
14
16
  justifyContent: 'flex-start',
15
17
  flexWrap: 'wrap',
16
18
  lineHeight: 1,
17
19
  listStyleType: 'none !important'
18
20
  });
19
21
  const listItemStyles = css({
20
- margin: 0,
21
- marginBottom: gridSize,
22
- paddingRight: gutter,
23
- paddingLeft: gutter
22
+ // TODO Delete this comment after verifying spacing token -> previous value `0`
23
+ margin: "var(--ds-scale-0, 0px)",
24
+ // TODO Delete this comment after verifying spacing token -> previous value `gridSize`
25
+ marginBottom: "var(--ds-scale-100, 8px)",
26
+ // TODO Delete this comment after verifying spacing token -> previous value `gutter`
27
+ paddingRight: "var(--ds-scale-050, 4px)",
28
+ // TODO Delete this comment after verifying spacing token -> previous value `gutter`
29
+ paddingLeft: "var(--ds-scale-050, 4px)"
24
30
  });
25
31
 
26
32
  const Grid = ({
@@ -6,14 +6,17 @@ import { gridSize } from '@atlaskit/theme/constants';
6
6
  const gutter = BORDER_WIDTH * 2 + gridSize() / 2;
7
7
  const listStyles = css({
8
8
  display: 'flex',
9
- margin: 0,
9
+ // TODO Delete this comment after verifying spacing token -> previous value `0`
10
+ margin: "var(--ds-scale-0, 0px)",
10
11
  marginRight: gutter,
11
- padding: 0,
12
+ // TODO Delete this comment after verifying spacing token -> previous value `0`
13
+ padding: "var(--ds-scale-0, 0px)",
12
14
  lineHeight: 1,
13
15
  listStyleType: 'none !important'
14
16
  });
15
17
  const listItemStyles = css({
16
- margin: 0,
18
+ // TODO Delete this comment after verifying spacing token -> previous value `0`
19
+ margin: "var(--ds-scale-0, 0px)",
17
20
  marginRight: -gutter
18
21
  });
19
22
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/avatar-group",
3
- "version": "9.1.0",
3
+ "version": "9.1.1",
4
4
  "sideEffects": false
5
5
  }
@@ -7,20 +7,26 @@ var gutter = gridSize / 2;
7
7
  var listStyles = css({
8
8
  // removes default ul styles. Needs !important to override contextual styles in product.
9
9
  display: 'flex',
10
- margin: 0,
10
+ // TODO Delete this comment after verifying spacing token -> previous value `0`
11
+ margin: "var(--ds-scale-0, 0px)",
11
12
  marginRight: -gutter,
12
13
  marginLeft: -gutter,
13
- padding: 0,
14
+ // TODO Delete this comment after verifying spacing token -> previous value `0`
15
+ padding: "var(--ds-scale-0, 0px)",
14
16
  justifyContent: 'flex-start',
15
17
  flexWrap: 'wrap',
16
18
  lineHeight: 1,
17
19
  listStyleType: 'none !important'
18
20
  });
19
21
  var listItemStyles = css({
20
- margin: 0,
21
- marginBottom: gridSize,
22
- paddingRight: gutter,
23
- paddingLeft: gutter
22
+ // TODO Delete this comment after verifying spacing token -> previous value `0`
23
+ margin: "var(--ds-scale-0, 0px)",
24
+ // TODO Delete this comment after verifying spacing token -> previous value `gridSize`
25
+ marginBottom: "var(--ds-scale-100, 8px)",
26
+ // TODO Delete this comment after verifying spacing token -> previous value `gutter`
27
+ paddingRight: "var(--ds-scale-050, 4px)",
28
+ // TODO Delete this comment after verifying spacing token -> previous value `gutter`
29
+ paddingLeft: "var(--ds-scale-050, 4px)"
24
30
  });
25
31
 
26
32
  var Grid = function Grid(_ref) {
@@ -6,14 +6,17 @@ import { gridSize } from '@atlaskit/theme/constants';
6
6
  var gutter = BORDER_WIDTH * 2 + gridSize() / 2;
7
7
  var listStyles = css({
8
8
  display: 'flex',
9
- margin: 0,
9
+ // TODO Delete this comment after verifying spacing token -> previous value `0`
10
+ margin: "var(--ds-scale-0, 0px)",
10
11
  marginRight: gutter,
11
- padding: 0,
12
+ // TODO Delete this comment after verifying spacing token -> previous value `0`
13
+ padding: "var(--ds-scale-0, 0px)",
12
14
  lineHeight: 1,
13
15
  listStyleType: 'none !important'
14
16
  });
15
17
  var listItemStyles = css({
16
- margin: 0,
18
+ // TODO Delete this comment after verifying spacing token -> previous value `0`
19
+ margin: "var(--ds-scale-0, 0px)",
17
20
  marginRight: -gutter
18
21
  });
19
22
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/avatar-group",
3
- "version": "9.1.0",
3
+ "version": "9.1.1",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/avatar-group",
3
- "version": "9.1.0",
3
+ "version": "9.1.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/"
@@ -15,13 +15,15 @@
15
15
  "typesVersions": {
16
16
  ">=4.0 <4.5": {
17
17
  "*": [
18
- "dist/types-ts4.0/*"
18
+ "dist/types-ts4.0/*",
19
+ "dist/types-ts4.0/index.d.ts"
19
20
  ]
20
21
  }
21
22
  },
22
23
  "sideEffects": false,
23
24
  "atlaskit:src": "src/index.tsx",
24
25
  "atlassian": {
26
+ "disableProductCI": true,
25
27
  "team": "Design System Team",
26
28
  "releaseModel": "scheduled",
27
29
  "website": {
@@ -81,6 +83,7 @@
81
83
  "design-system": "v1",
82
84
  "ui-components": "lite-mode",
83
85
  "analytics": "analytics-next",
86
+ "design-tokens": "spacing",
84
87
  "theming": "tokens",
85
88
  "deprecation": "no-deprecated-imports",
86
89
  "styling": [