@zendeskgarden/react-avatars 8.62.2 → 8.63.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/dist/index.cjs.js CHANGED
@@ -53,9 +53,7 @@ function _extends$4() {
53
53
  }
54
54
 
55
55
  var _g$1;
56
-
57
56
  function _extends$3() { _extends$3 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$3.apply(this, arguments); }
58
-
59
57
  var SvgClockStroke$1 = function SvgClockStroke(props) {
60
58
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({
61
59
  xmlns: "http://www.w3.org/2000/svg",
@@ -63,8 +61,7 @@ var SvgClockStroke$1 = function SvgClockStroke(props) {
63
61
  height: 12,
64
62
  focusable: "false",
65
63
  viewBox: "0 0 12 12",
66
- "aria-hidden": "true",
67
- role: "img"
64
+ "aria-hidden": "true"
68
65
  }, props), _g$1 || (_g$1 = /*#__PURE__*/React__namespace.createElement("g", {
69
66
  fill: "none",
70
67
  stroke: "currentColor"
@@ -80,9 +77,7 @@ var SvgClockStroke$1 = function SvgClockStroke(props) {
80
77
  };
81
78
 
82
79
  var _g;
83
-
84
80
  function _extends$2() { _extends$2 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2.apply(this, arguments); }
85
-
86
81
  var SvgClockStroke = function SvgClockStroke(props) {
87
82
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({
88
83
  xmlns: "http://www.w3.org/2000/svg",
@@ -90,8 +85,7 @@ var SvgClockStroke = function SvgClockStroke(props) {
90
85
  height: 16,
91
86
  focusable: "false",
92
87
  viewBox: "0 0 16 16",
93
- "aria-hidden": "true",
94
- role: "img"
88
+ "aria-hidden": "true"
95
89
  }, props), _g || (_g = /*#__PURE__*/React__namespace.createElement("g", {
96
90
  fill: "none",
97
91
  stroke: "currentColor"
@@ -107,9 +101,7 @@ var SvgClockStroke = function SvgClockStroke(props) {
107
101
  };
108
102
 
109
103
  var _path$1;
110
-
111
104
  function _extends$1() { _extends$1 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1.apply(this, arguments); }
112
-
113
105
  var SvgArrowLeftSmStroke$1 = function SvgArrowLeftSmStroke(props) {
114
106
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
115
107
  xmlns: "http://www.w3.org/2000/svg",
@@ -117,8 +109,7 @@ var SvgArrowLeftSmStroke$1 = function SvgArrowLeftSmStroke(props) {
117
109
  height: 12,
118
110
  focusable: "false",
119
111
  viewBox: "0 0 12 12",
120
- "aria-hidden": "true",
121
- role: "img"
112
+ "aria-hidden": "true"
122
113
  }, props), _path$1 || (_path$1 = /*#__PURE__*/React__namespace.createElement("path", {
123
114
  fill: "currentColor",
124
115
  d: "M2.146 6.854a.5.5 0 0 1 0-.708l2-2a.5.5 0 1 1 .708.708L3.707 6H9.5a.5.5 0 0 1 0 1H3.707l1.147 1.146a.5.5 0 1 1-.708.708l-2-2Z"
@@ -126,9 +117,7 @@ var SvgArrowLeftSmStroke$1 = function SvgArrowLeftSmStroke(props) {
126
117
  };
127
118
 
128
119
  var _path;
129
-
130
120
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
131
-
132
121
  var SvgArrowLeftSmStroke = function SvgArrowLeftSmStroke(props) {
133
122
  return /*#__PURE__*/React__namespace.createElement("svg", _extends({
134
123
  xmlns: "http://www.w3.org/2000/svg",
@@ -136,8 +125,7 @@ var SvgArrowLeftSmStroke = function SvgArrowLeftSmStroke(props) {
136
125
  height: 16,
137
126
  focusable: "false",
138
127
  viewBox: "0 0 16 16",
139
- "aria-hidden": "true",
140
- role: "img"
128
+ "aria-hidden": "true"
141
129
  }, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
142
130
  fill: "currentColor",
143
131
  d: "M3.146 8.854a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L4.707 8H12.5a.5.5 0 0 1 0 1H4.707l2.147 2.146a.5.5 0 1 1-.708.707l-3-3Z"
@@ -150,7 +138,7 @@ const STATUS = ['available', 'away', 'transfers', 'offline'];
150
138
  const COMPONENT_ID$6 = 'avatars.text';
151
139
  const StyledText = styled__default.default.span.attrs({
152
140
  'data-garden-id': COMPONENT_ID$6,
153
- 'data-garden-version': '8.62.2'
141
+ 'data-garden-version': '8.63.0'
154
142
  }).withConfig({
155
143
  displayName: "StyledText",
156
144
  componentId: "sc-1a6hivh-0"
@@ -218,7 +206,7 @@ const colorStyles$2 = props => {
218
206
  };
219
207
  const StyledStatusIndicatorBase = styled__default.default.div.attrs({
220
208
  'data-garden-id': COMPONENT_ID$5,
221
- 'data-garden-version': '8.62.2'
209
+ 'data-garden-version': '8.63.0'
222
210
  }).withConfig({
223
211
  displayName: "StyledStatusIndicatorBase",
224
212
  componentId: "sc-1rininy-0"
@@ -257,7 +245,7 @@ const colorStyles$1 = props => {
257
245
  };
258
246
  const StyledStatusIndicator = styled__default.default(StyledStatusIndicatorBase).attrs({
259
247
  'data-garden-id': COMPONENT_ID$4,
260
- 'data-garden-version': '8.62.2'
248
+ 'data-garden-version': '8.63.0'
261
249
  }).withConfig({
262
250
  displayName: "StyledStatusIndicator",
263
251
  componentId: "sc-16t9if3-0"
@@ -333,7 +321,7 @@ const sizeStyles$1 = props => {
333
321
  };
334
322
  const StyledAvatar = styled__default.default.figure.attrs({
335
323
  'data-garden-id': COMPONENT_ID$3,
336
- 'data-garden-version': '8.62.2'
324
+ 'data-garden-version': '8.63.0'
337
325
  }).withConfig({
338
326
  displayName: "StyledAvatar",
339
327
  componentId: "sc-608m04-0"
@@ -346,7 +334,7 @@ StyledAvatar.defaultProps = {
346
334
  const COMPONENT_ID$2 = 'avatars.status-indicator.status';
347
335
  const StyledStandaloneStatus = styled__default.default.figure.attrs({
348
336
  'data-garden-id': COMPONENT_ID$2,
349
- 'data-garden-version': '8.62.2'
337
+ 'data-garden-version': '8.63.0'
350
338
  }).withConfig({
351
339
  displayName: "StyledStandaloneStatus",
352
340
  componentId: "sc-1ow4nfj-0"
@@ -362,7 +350,7 @@ function sizeStyles(props) {
362
350
  }
363
351
  const StyledStandaloneStatusCaption = styled__default.default.figcaption.attrs({
364
352
  'data-garden-id': COMPONENT_ID$1,
365
- 'data-garden-version': '8.62.2'
353
+ 'data-garden-version': '8.63.0'
366
354
  }).withConfig({
367
355
  displayName: "StyledStandaloneStatusCaption",
368
356
  componentId: "sc-aalyk1-0"
@@ -374,7 +362,7 @@ StyledStandaloneStatusCaption.defaultProps = {
374
362
  const COMPONENT_ID = 'avatars.status-indicator.indicator';
375
363
  const StyledStandaloneStatusIndicator = styled__default.default(StyledStatusIndicatorBase).attrs({
376
364
  'data-garden-id': COMPONENT_ID,
377
- 'data-garden-version': '8.62.2'
365
+ 'data-garden-version': '8.63.0'
378
366
  }).withConfig({
379
367
  displayName: "StyledStandaloneStatusIndicator",
380
368
  componentId: "sc-1xt1heq-0"
@@ -433,7 +421,7 @@ const AvatarComponent = React.forwardRef((_ref, ref) => {
433
421
  type: computedStatus,
434
422
  surfaceColor: surfaceColor,
435
423
  "aria-label": statusLabel,
436
- role: "img"
424
+ as: "figcaption"
437
425
  }, computedStatus === 'active' ? React__namespace.default.createElement("span", {
438
426
  "aria-hidden": "true"
439
427
  }, badge) : React__namespace.default.createElement(React__namespace.default.Fragment, null, computedStatus === 'away' ? React__namespace.default.createElement(ClockIcon, {
@@ -477,21 +465,23 @@ const StatusIndicator = React.forwardRef((_ref, ref) => {
477
465
  const ariaLabel = reactTheming.useText(StatusIndicator, {
478
466
  'aria-label': label
479
467
  }, 'aria-label', defaultLabel);
480
- return React__namespace.default.createElement(StyledStandaloneStatus, _extends$4({
481
- role: "status",
482
- ref: ref
483
- }, props), React__namespace.default.createElement(StyledStandaloneStatusIndicator, {
484
- role: "img",
485
- type: type,
486
- size: isCompact ? 'small' : 'medium',
487
- "aria-label": ariaLabel
488
- }, type === 'away' ? React__namespace.default.createElement(ClockIcon, {
489
- "data-icon-status": type,
490
- "aria-hidden": "true"
491
- }) : null, type === 'transfers' ? React__namespace.default.createElement(ArrowLeftIcon, {
492
- "data-icon-status": type,
493
- "aria-hidden": "true"
494
- }) : null), children && React__namespace.default.createElement(StyledStandaloneStatusCaption, null, children));
468
+ return (
469
+ React__namespace.default.createElement(StyledStandaloneStatus, _extends$4({
470
+ role: "status",
471
+ ref: ref
472
+ }, props), React__namespace.default.createElement(StyledStandaloneStatusIndicator, {
473
+ role: "img",
474
+ type: type,
475
+ size: isCompact ? 'small' : 'medium',
476
+ "aria-label": ariaLabel
477
+ }, type === 'away' ? React__namespace.default.createElement(ClockIcon, {
478
+ "data-icon-status": type,
479
+ "aria-hidden": "true"
480
+ }) : null, type === 'transfers' ? React__namespace.default.createElement(ArrowLeftIcon, {
481
+ "data-icon-status": type,
482
+ "aria-hidden": "true"
483
+ }) : null), children && React__namespace.default.createElement(StyledStandaloneStatusCaption, null, children))
484
+ );
495
485
  });
496
486
  StatusIndicator.displayName = 'StatusIndicator';
497
487
  StatusIndicator.propTypes = {
package/dist/index.esm.js CHANGED
@@ -28,9 +28,7 @@ function _extends$4() {
28
28
  }
29
29
 
30
30
  var _g$1;
31
-
32
31
  function _extends$3() { _extends$3 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$3.apply(this, arguments); }
33
-
34
32
  var SvgClockStroke$1 = function SvgClockStroke(props) {
35
33
  return /*#__PURE__*/React.createElement("svg", _extends$3({
36
34
  xmlns: "http://www.w3.org/2000/svg",
@@ -38,8 +36,7 @@ var SvgClockStroke$1 = function SvgClockStroke(props) {
38
36
  height: 12,
39
37
  focusable: "false",
40
38
  viewBox: "0 0 12 12",
41
- "aria-hidden": "true",
42
- role: "img"
39
+ "aria-hidden": "true"
43
40
  }, props), _g$1 || (_g$1 = /*#__PURE__*/React.createElement("g", {
44
41
  fill: "none",
45
42
  stroke: "currentColor"
@@ -55,9 +52,7 @@ var SvgClockStroke$1 = function SvgClockStroke(props) {
55
52
  };
56
53
 
57
54
  var _g;
58
-
59
55
  function _extends$2() { _extends$2 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2.apply(this, arguments); }
60
-
61
56
  var SvgClockStroke = function SvgClockStroke(props) {
62
57
  return /*#__PURE__*/React.createElement("svg", _extends$2({
63
58
  xmlns: "http://www.w3.org/2000/svg",
@@ -65,8 +60,7 @@ var SvgClockStroke = function SvgClockStroke(props) {
65
60
  height: 16,
66
61
  focusable: "false",
67
62
  viewBox: "0 0 16 16",
68
- "aria-hidden": "true",
69
- role: "img"
63
+ "aria-hidden": "true"
70
64
  }, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
71
65
  fill: "none",
72
66
  stroke: "currentColor"
@@ -82,9 +76,7 @@ var SvgClockStroke = function SvgClockStroke(props) {
82
76
  };
83
77
 
84
78
  var _path$1;
85
-
86
79
  function _extends$1() { _extends$1 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1.apply(this, arguments); }
87
-
88
80
  var SvgArrowLeftSmStroke$1 = function SvgArrowLeftSmStroke(props) {
89
81
  return /*#__PURE__*/React.createElement("svg", _extends$1({
90
82
  xmlns: "http://www.w3.org/2000/svg",
@@ -92,8 +84,7 @@ var SvgArrowLeftSmStroke$1 = function SvgArrowLeftSmStroke(props) {
92
84
  height: 12,
93
85
  focusable: "false",
94
86
  viewBox: "0 0 12 12",
95
- "aria-hidden": "true",
96
- role: "img"
87
+ "aria-hidden": "true"
97
88
  }, props), _path$1 || (_path$1 = /*#__PURE__*/React.createElement("path", {
98
89
  fill: "currentColor",
99
90
  d: "M2.146 6.854a.5.5 0 0 1 0-.708l2-2a.5.5 0 1 1 .708.708L3.707 6H9.5a.5.5 0 0 1 0 1H3.707l1.147 1.146a.5.5 0 1 1-.708.708l-2-2Z"
@@ -101,9 +92,7 @@ var SvgArrowLeftSmStroke$1 = function SvgArrowLeftSmStroke(props) {
101
92
  };
102
93
 
103
94
  var _path;
104
-
105
95
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
106
-
107
96
  var SvgArrowLeftSmStroke = function SvgArrowLeftSmStroke(props) {
108
97
  return /*#__PURE__*/React.createElement("svg", _extends({
109
98
  xmlns: "http://www.w3.org/2000/svg",
@@ -111,8 +100,7 @@ var SvgArrowLeftSmStroke = function SvgArrowLeftSmStroke(props) {
111
100
  height: 16,
112
101
  focusable: "false",
113
102
  viewBox: "0 0 16 16",
114
- "aria-hidden": "true",
115
- role: "img"
103
+ "aria-hidden": "true"
116
104
  }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
117
105
  fill: "currentColor",
118
106
  d: "M3.146 8.854a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L4.707 8H12.5a.5.5 0 0 1 0 1H4.707l2.147 2.146a.5.5 0 1 1-.708.707l-3-3Z"
@@ -125,7 +113,7 @@ const STATUS = ['available', 'away', 'transfers', 'offline'];
125
113
  const COMPONENT_ID$6 = 'avatars.text';
126
114
  const StyledText = styled.span.attrs({
127
115
  'data-garden-id': COMPONENT_ID$6,
128
- 'data-garden-version': '8.62.2'
116
+ 'data-garden-version': '8.63.0'
129
117
  }).withConfig({
130
118
  displayName: "StyledText",
131
119
  componentId: "sc-1a6hivh-0"
@@ -193,7 +181,7 @@ const colorStyles$2 = props => {
193
181
  };
194
182
  const StyledStatusIndicatorBase = styled.div.attrs({
195
183
  'data-garden-id': COMPONENT_ID$5,
196
- 'data-garden-version': '8.62.2'
184
+ 'data-garden-version': '8.63.0'
197
185
  }).withConfig({
198
186
  displayName: "StyledStatusIndicatorBase",
199
187
  componentId: "sc-1rininy-0"
@@ -232,7 +220,7 @@ const colorStyles$1 = props => {
232
220
  };
233
221
  const StyledStatusIndicator = styled(StyledStatusIndicatorBase).attrs({
234
222
  'data-garden-id': COMPONENT_ID$4,
235
- 'data-garden-version': '8.62.2'
223
+ 'data-garden-version': '8.63.0'
236
224
  }).withConfig({
237
225
  displayName: "StyledStatusIndicator",
238
226
  componentId: "sc-16t9if3-0"
@@ -308,7 +296,7 @@ const sizeStyles$1 = props => {
308
296
  };
309
297
  const StyledAvatar = styled.figure.attrs({
310
298
  'data-garden-id': COMPONENT_ID$3,
311
- 'data-garden-version': '8.62.2'
299
+ 'data-garden-version': '8.63.0'
312
300
  }).withConfig({
313
301
  displayName: "StyledAvatar",
314
302
  componentId: "sc-608m04-0"
@@ -321,7 +309,7 @@ StyledAvatar.defaultProps = {
321
309
  const COMPONENT_ID$2 = 'avatars.status-indicator.status';
322
310
  const StyledStandaloneStatus = styled.figure.attrs({
323
311
  'data-garden-id': COMPONENT_ID$2,
324
- 'data-garden-version': '8.62.2'
312
+ 'data-garden-version': '8.63.0'
325
313
  }).withConfig({
326
314
  displayName: "StyledStandaloneStatus",
327
315
  componentId: "sc-1ow4nfj-0"
@@ -337,7 +325,7 @@ function sizeStyles(props) {
337
325
  }
338
326
  const StyledStandaloneStatusCaption = styled.figcaption.attrs({
339
327
  'data-garden-id': COMPONENT_ID$1,
340
- 'data-garden-version': '8.62.2'
328
+ 'data-garden-version': '8.63.0'
341
329
  }).withConfig({
342
330
  displayName: "StyledStandaloneStatusCaption",
343
331
  componentId: "sc-aalyk1-0"
@@ -349,7 +337,7 @@ StyledStandaloneStatusCaption.defaultProps = {
349
337
  const COMPONENT_ID = 'avatars.status-indicator.indicator';
350
338
  const StyledStandaloneStatusIndicator = styled(StyledStatusIndicatorBase).attrs({
351
339
  'data-garden-id': COMPONENT_ID,
352
- 'data-garden-version': '8.62.2'
340
+ 'data-garden-version': '8.63.0'
353
341
  }).withConfig({
354
342
  displayName: "StyledStandaloneStatusIndicator",
355
343
  componentId: "sc-1xt1heq-0"
@@ -408,7 +396,7 @@ const AvatarComponent = forwardRef((_ref, ref) => {
408
396
  type: computedStatus,
409
397
  surfaceColor: surfaceColor,
410
398
  "aria-label": statusLabel,
411
- role: "img"
399
+ as: "figcaption"
412
400
  }, computedStatus === 'active' ? React__default.createElement("span", {
413
401
  "aria-hidden": "true"
414
402
  }, badge) : React__default.createElement(React__default.Fragment, null, computedStatus === 'away' ? React__default.createElement(ClockIcon, {
@@ -452,21 +440,23 @@ const StatusIndicator = forwardRef((_ref, ref) => {
452
440
  const ariaLabel = useText(StatusIndicator, {
453
441
  'aria-label': label
454
442
  }, 'aria-label', defaultLabel);
455
- return React__default.createElement(StyledStandaloneStatus, _extends$4({
456
- role: "status",
457
- ref: ref
458
- }, props), React__default.createElement(StyledStandaloneStatusIndicator, {
459
- role: "img",
460
- type: type,
461
- size: isCompact ? 'small' : 'medium',
462
- "aria-label": ariaLabel
463
- }, type === 'away' ? React__default.createElement(ClockIcon, {
464
- "data-icon-status": type,
465
- "aria-hidden": "true"
466
- }) : null, type === 'transfers' ? React__default.createElement(ArrowLeftIcon, {
467
- "data-icon-status": type,
468
- "aria-hidden": "true"
469
- }) : null), children && React__default.createElement(StyledStandaloneStatusCaption, null, children));
443
+ return (
444
+ React__default.createElement(StyledStandaloneStatus, _extends$4({
445
+ role: "status",
446
+ ref: ref
447
+ }, props), React__default.createElement(StyledStandaloneStatusIndicator, {
448
+ role: "img",
449
+ type: type,
450
+ size: isCompact ? 'small' : 'medium',
451
+ "aria-label": ariaLabel
452
+ }, type === 'away' ? React__default.createElement(ClockIcon, {
453
+ "data-icon-status": type,
454
+ "aria-hidden": "true"
455
+ }) : null, type === 'transfers' ? React__default.createElement(ArrowLeftIcon, {
456
+ "data-icon-status": type,
457
+ "aria-hidden": "true"
458
+ }) : null), children && React__default.createElement(StyledStandaloneStatusCaption, null, children))
459
+ );
470
460
  });
471
461
  StatusIndicator.displayName = 'StatusIndicator';
472
462
  StatusIndicator.propTypes = {
@@ -6,6 +6,12 @@
6
6
  */
7
7
  import React from 'react';
8
8
  import { IStatusIndicatorProps } from '../types';
9
+ /**
10
+ * 1. role='status' on `div` is valid WAI-ARIA usage in this context.
11
+ * https://www.w3.org/TR/wai-aria-1.1/#status
12
+ * 2. role='img' on `svg` is valid WAI-ARIA usage in this context.
13
+ * https://dequeuniversity.com/rules/axe/4.2/svg-img-alt
14
+ */
9
15
  /**
10
16
  * @extends HTMLAttributes<HTMLElement>
11
17
  */
@@ -17,9 +17,9 @@ export interface IAvatarProps extends HTMLAttributes<HTMLElement> {
17
17
  /** Applies system styling for representing objects, brands, or products */
18
18
  isSystem?: boolean;
19
19
  /** Specifies the avatar size */
20
- size?: typeof SIZE[number];
20
+ size?: (typeof SIZE)[number];
21
21
  /** Applies status styling */
22
- status?: typeof STATUS[number];
22
+ status?: (typeof STATUS)[number];
23
23
  /** Specifies the status label */
24
24
  statusLabel?: string;
25
25
  /** Sets the badge text and applies active styling */
@@ -27,7 +27,7 @@ export interface IAvatarProps extends HTMLAttributes<HTMLElement> {
27
27
  }
28
28
  export interface IStatusIndicatorProps extends HTMLAttributes<HTMLElement> {
29
29
  /** Applies status type for styling and default aria-label */
30
- type?: typeof STATUS[number];
30
+ type?: (typeof STATUS)[number];
31
31
  /** Applies compact styling */
32
32
  isCompact?: boolean;
33
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zendeskgarden/react-avatars",
3
- "version": "8.62.2",
3
+ "version": "8.63.0",
4
4
  "description": "Components relating to avatars in the Garden Design System",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Zendesk Garden <garden@zendesk.com>",
@@ -31,7 +31,7 @@
31
31
  "styled-components": "^4.2.0 || ^5.0.0"
32
32
  },
33
33
  "devDependencies": {
34
- "@zendeskgarden/react-theming": "^8.62.2",
34
+ "@zendeskgarden/react-theming": "^8.63.0",
35
35
  "@zendeskgarden/svg-icons": "6.33.0"
36
36
  },
37
37
  "keywords": [
@@ -44,5 +44,5 @@
44
44
  "access": "public"
45
45
  },
46
46
  "zendeskgarden:src": "src/index.ts",
47
- "gitHead": "27a7d6c021f3360396af60d51ecbf66e9076a405"
47
+ "gitHead": "4b8715305a769881b143c7195c5b31e687422926"
48
48
  }