@atlaskit/avatar-group 9.3.4 → 9.3.5

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.3.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use `@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility testing.
8
+
3
9
  ## 9.3.4
4
10
 
5
11
  ### Patch Changes
@@ -17,9 +17,9 @@ var listStyles = (0, _react2.css)({
17
17
  // removes default ul styles. Needs !important to override contextual styles in product.
18
18
  display: 'flex',
19
19
  margin: "var(--ds-space-0, 0px)",
20
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
20
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
21
21
  marginRight: -gutter,
22
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
22
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
23
23
  marginLeft: -gutter,
24
24
  padding: "var(--ds-space-0, 0px)",
25
25
  justifyContent: 'flex-start',
@@ -46,7 +46,7 @@ var buttonStyles = (0, _react2.css)({
46
46
  '&&': {
47
47
  backgroundColor: "var(--ds-background-neutral, ".concat(_colors.N20, ")"),
48
48
  color: "var(--ds-text, ".concat(_colors.N500, ")"),
49
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
49
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
50
50
  fontFamily: 'inherit',
51
51
  fontWeight: "var(--ds-font-weight-medium, 500)",
52
52
  '&:hover': {
@@ -16,7 +16,7 @@ var gutter = _avatar.BORDER_WIDTH * 2 + (0, _constants.gridSize)() / 2;
16
16
  var listStyles = (0, _react2.css)({
17
17
  display: 'flex',
18
18
  margin: "var(--ds-space-0, 0px)",
19
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
19
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
20
20
  marginRight: gutter,
21
21
  padding: "var(--ds-space-0, 0px)",
22
22
  lineHeight: 1,
@@ -24,7 +24,7 @@ var listStyles = (0, _react2.css)({
24
24
  });
25
25
  var listItemStyles = (0, _react2.css)({
26
26
  margin: "var(--ds-space-0, 0px)",
27
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
27
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
28
28
  marginRight: -gutter
29
29
  });
30
30
  var Stack = function Stack(_ref) {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/avatar-group",
3
- "version": "9.3.4",
3
+ "version": "9.3.5",
4
4
  "sideEffects": false
5
5
  }
@@ -10,9 +10,9 @@ const listStyles = css({
10
10
  // removes default ul styles. Needs !important to override contextual styles in product.
11
11
  display: 'flex',
12
12
  margin: "var(--ds-space-0, 0px)",
13
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
13
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
14
14
  marginRight: -gutter,
15
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
15
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
16
16
  marginLeft: -gutter,
17
17
  padding: "var(--ds-space-0, 0px)",
18
18
  justifyContent: 'flex-start',
@@ -34,7 +34,7 @@ const buttonStyles = css({
34
34
  '&&': {
35
35
  backgroundColor: `var(--ds-background-neutral, ${N20})`,
36
36
  color: `var(--ds-text, ${N500})`,
37
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
37
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
38
38
  fontFamily: 'inherit',
39
39
  fontWeight: "var(--ds-font-weight-medium, 500)",
40
40
  '&:hover': {
@@ -8,7 +8,7 @@ const gutter = BORDER_WIDTH * 2 + gridSize() / 2;
8
8
  const listStyles = css({
9
9
  display: 'flex',
10
10
  margin: "var(--ds-space-0, 0px)",
11
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
11
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
12
12
  marginRight: gutter,
13
13
  padding: "var(--ds-space-0, 0px)",
14
14
  lineHeight: 1,
@@ -16,7 +16,7 @@ const listStyles = css({
16
16
  });
17
17
  const listItemStyles = css({
18
18
  margin: "var(--ds-space-0, 0px)",
19
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
19
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
20
20
  marginRight: -gutter
21
21
  });
22
22
  const Stack = ({
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/avatar-group",
3
- "version": "9.3.4",
3
+ "version": "9.3.5",
4
4
  "sideEffects": false
5
5
  }
@@ -10,9 +10,9 @@ var listStyles = css({
10
10
  // removes default ul styles. Needs !important to override contextual styles in product.
11
11
  display: 'flex',
12
12
  margin: "var(--ds-space-0, 0px)",
13
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
13
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
14
14
  marginRight: -gutter,
15
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
15
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
16
16
  marginLeft: -gutter,
17
17
  padding: "var(--ds-space-0, 0px)",
18
18
  justifyContent: 'flex-start',
@@ -36,7 +36,7 @@ var buttonStyles = css({
36
36
  '&&': {
37
37
  backgroundColor: "var(--ds-background-neutral, ".concat(N20, ")"),
38
38
  color: "var(--ds-text, ".concat(N500, ")"),
39
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
39
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
40
40
  fontFamily: 'inherit',
41
41
  fontWeight: "var(--ds-font-weight-medium, 500)",
42
42
  '&:hover': {
@@ -8,7 +8,7 @@ var gutter = BORDER_WIDTH * 2 + gridSize() / 2;
8
8
  var listStyles = css({
9
9
  display: 'flex',
10
10
  margin: "var(--ds-space-0, 0px)",
11
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
11
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
12
12
  marginRight: gutter,
13
13
  padding: "var(--ds-space-0, 0px)",
14
14
  lineHeight: 1,
@@ -16,7 +16,7 @@ var listStyles = css({
16
16
  });
17
17
  var listItemStyles = css({
18
18
  margin: "var(--ds-space-0, 0px)",
19
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
19
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
20
20
  marginRight: -gutter
21
21
  });
22
22
  var Stack = function Stack(_ref) {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/avatar-group",
3
- "version": "9.3.4",
3
+ "version": "9.3.5",
4
4
  "sideEffects": false
5
5
  }
@@ -86,14 +86,14 @@ export interface AvatarGroupProps {
86
86
  */
87
87
  isTooltipDisabled?: boolean;
88
88
  /**
89
- Text to be used as aria-label for the list of avatars.
90
- Screen reader announcement with default label, which is `avatar group`, is `list, avatar group, X items`.
91
-
92
- The label should describe the `AvatarGroup`'s entities, for instance:
93
- - `label="team members"`, screen reader announcement would be `list team members, X items`
94
- - `label="reviewers"` screen reader announcement would be `list reviewers, X items`
95
-
96
- When there are several AvatarGroups on the page you should use a unique label to let users distinguish different lists.
89
+ * Text to be used as aria-label for the list of avatars.
90
+ * Screen reader announcement with default label, which is `avatar group`, is `list, avatar group, X items`.
91
+ *
92
+ * The label should describe the `AvatarGroup`'s entities, for instance:
93
+ * - `label="team members"`, screen reader announcement would be `list team members, X items`
94
+ * - `label="reviewers"` screen reader announcement would be `list reviewers, X items`
95
+ *
96
+ * When there are several AvatarGroups on the page you should use a unique label to let users distinguish different lists.
97
97
  */
98
98
  label?: string;
99
99
  }
@@ -86,14 +86,14 @@ export interface AvatarGroupProps {
86
86
  */
87
87
  isTooltipDisabled?: boolean;
88
88
  /**
89
- Text to be used as aria-label for the list of avatars.
90
- Screen reader announcement with default label, which is `avatar group`, is `list, avatar group, X items`.
91
-
92
- The label should describe the `AvatarGroup`'s entities, for instance:
93
- - `label="team members"`, screen reader announcement would be `list team members, X items`
94
- - `label="reviewers"` screen reader announcement would be `list reviewers, X items`
95
-
96
- When there are several AvatarGroups on the page you should use a unique label to let users distinguish different lists.
89
+ * Text to be used as aria-label for the list of avatars.
90
+ * Screen reader announcement with default label, which is `avatar group`, is `list, avatar group, X items`.
91
+ *
92
+ * The label should describe the `AvatarGroup`'s entities, for instance:
93
+ * - `label="team members"`, screen reader announcement would be `list team members, X items`
94
+ * - `label="reviewers"` screen reader announcement would be `list reviewers, X items`
95
+ *
96
+ * When there are several AvatarGroups on the page you should use a unique label to let users distinguish different lists.
97
97
  */
98
98
  label?: string;
99
99
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/avatar-group",
3
- "version": "9.3.4",
3
+ "version": "9.3.5",
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/"
@@ -24,7 +24,7 @@
24
24
  "atlaskit:src": "src/index.tsx",
25
25
  "atlassian": {
26
26
  "team": "Design System Team",
27
- "releaseModel": "scheduled",
27
+ "releaseModel": "continuous",
28
28
  "website": {
29
29
  "name": "Avatar group",
30
30
  "category": "Components"
@@ -36,10 +36,10 @@
36
36
  "dependencies": {
37
37
  "@atlaskit/avatar": "^21.3.0",
38
38
  "@atlaskit/ds-lib": "^2.1.0",
39
- "@atlaskit/menu": "^1.7.0",
40
- "@atlaskit/popup": "^1.6.0",
39
+ "@atlaskit/menu": "^1.9.0",
40
+ "@atlaskit/popup": "^1.8.0",
41
41
  "@atlaskit/theme": "^12.5.0",
42
- "@atlaskit/tokens": "^1.5.0",
42
+ "@atlaskit/tokens": "^1.11.0",
43
43
  "@atlaskit/tooltip": "^17.8.0",
44
44
  "@babel/runtime": "^7.0.0",
45
45
  "@emotion/react": "^11.7.1",
@@ -49,23 +49,15 @@
49
49
  "react": "^16.8.0"
50
50
  },
51
51
  "devDependencies": {
52
+ "@af/accessibility-testing": "*",
52
53
  "@atlaskit/analytics-next": "^9.1.0",
53
- "@atlaskit/button": "^16.7.0",
54
- "@atlaskit/code": "^14.6.0",
55
- "@atlaskit/docs": "*",
56
54
  "@atlaskit/ds-lib": "^2.2.0",
57
- "@atlaskit/form": "^8.11.0",
58
- "@atlaskit/icon": "^21.12.0",
59
- "@atlaskit/modal-dialog": "^12.6.0",
60
- "@atlaskit/section-message": "^6.4.0",
61
55
  "@atlaskit/ssr": "*",
62
- "@atlaskit/toggle": "^12.6.0",
63
56
  "@atlaskit/visual-regression": "*",
64
57
  "@atlaskit/webdriver-runner": "*",
65
58
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
66
59
  "@emotion/styled": "^11.0.0",
67
60
  "@testing-library/react": "^12.1.5",
68
- "jest-axe": "^4.0.0",
69
61
  "lodash": "^4.17.21",
70
62
  "react-dom": "^16.8.0",
71
63
  "typescript": "~4.9.5",