@zendeskgarden/react-notifications 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
@@ -60,7 +60,7 @@ const TYPE = ['success', 'warning', 'error', 'info'];
60
60
  const COMPONENT_ID$b = 'notifications.close';
61
61
  const StyledClose = styled__default.default.button.attrs({
62
62
  'data-garden-id': COMPONENT_ID$b,
63
- 'data-garden-version': '8.62.2'
63
+ 'data-garden-version': '8.63.0'
64
64
  }).withConfig({
65
65
  displayName: "StyledClose",
66
66
  componentId: "sc-1mr9nx1-0"
@@ -72,7 +72,7 @@ StyledClose.defaultProps = {
72
72
  const COMPONENT_ID$a = 'notifications.paragraph';
73
73
  const StyledParagraph = styled__default.default.p.attrs({
74
74
  'data-garden-id': COMPONENT_ID$a,
75
- 'data-garden-version': '8.62.2'
75
+ 'data-garden-version': '8.63.0'
76
76
  }).withConfig({
77
77
  displayName: "StyledParagraph",
78
78
  componentId: "sc-12tmd6p-0"
@@ -84,7 +84,7 @@ StyledParagraph.defaultProps = {
84
84
  const COMPONENT_ID$9 = 'notifications.title';
85
85
  const StyledTitle = styled__default.default.div.attrs({
86
86
  'data-garden-id': COMPONENT_ID$9,
87
- 'data-garden-version': '8.62.2'
87
+ 'data-garden-version': '8.63.0'
88
88
  }).withConfig({
89
89
  displayName: "StyledTitle",
90
90
  componentId: "sc-xx4jsv-0"
@@ -141,7 +141,7 @@ const COMPONENT_ID$8 = 'notifications.alert';
141
141
  const colorStyles$5 = props => styled.css(["", "{color:", ";}"], StyledTitle, props.hue && reactTheming.getColor(props.hue, 800, props.theme));
142
142
  const StyledAlert = styled__default.default(StyledBase).attrs(props => ({
143
143
  'data-garden-id': COMPONENT_ID$8,
144
- 'data-garden-version': '8.62.2',
144
+ 'data-garden-version': '8.63.0',
145
145
  role: props.role === undefined ? 'alert' : props.role
146
146
  })).withConfig({
147
147
  displayName: "StyledAlert",
@@ -188,7 +188,7 @@ const colorStyles$4 = props => {
188
188
  };
189
189
  const StyledNotification = styled__default.default(StyledBase).attrs(props => ({
190
190
  'data-garden-id': COMPONENT_ID$7,
191
- 'data-garden-version': '8.62.2',
191
+ 'data-garden-version': '8.63.0',
192
192
  role: props.role === undefined ? 'status' : props.role
193
193
  })).withConfig({
194
194
  displayName: "StyledNotification",
@@ -204,7 +204,7 @@ StyledNotification.defaultProps = {
204
204
  const COMPONENT_ID$6 = 'notifications.well';
205
205
  const StyledWell = styled__default.default(StyledBase).attrs({
206
206
  'data-garden-id': COMPONENT_ID$6,
207
- 'data-garden-version': '8.62.2'
207
+ 'data-garden-version': '8.63.0'
208
208
  }).withConfig({
209
209
  displayName: "StyledWell",
210
210
  componentId: "sc-a5831c-0"
@@ -284,7 +284,7 @@ const sizeStyles$3 = props => {
284
284
  };
285
285
  const StyledGlobalAlert = styled__default.default.div.attrs({
286
286
  'data-garden-id': COMPONENT_ID$5,
287
- 'data-garden-version': '8.62.2'
287
+ 'data-garden-version': '8.63.0'
288
288
  }).withConfig({
289
289
  displayName: "StyledGlobalAlert",
290
290
  componentId: "sc-k6rimt-0"
@@ -340,7 +340,7 @@ const sizeStyles$2 = props => {
340
340
  };
341
341
  const StyledGlobalAlertClose = styled__default.default(reactButtons.IconButton).attrs({
342
342
  'data-garden-id': COMPONENT_ID$4,
343
- 'data-garden-version': '8.62.2',
343
+ 'data-garden-version': '8.63.0',
344
344
  size: 'small'
345
345
  }).withConfig({
346
346
  displayName: "StyledGlobalAlertClose",
@@ -391,7 +391,7 @@ function sizeStyles$1(props) {
391
391
  }
392
392
  const StyledGlobalAlertButton = styled__default.default(reactButtons.Button).attrs({
393
393
  'data-garden-id': COMPONENT_ID$3,
394
- 'data-garden-version': '8.62.2',
394
+ 'data-garden-version': '8.63.0',
395
395
  focusInset: false,
396
396
  isDanger: false,
397
397
  isLink: false,
@@ -410,7 +410,7 @@ StyledGlobalAlertButton.defaultProps = {
410
410
  const COMPONENT_ID$2 = 'notifications.global-alert.content';
411
411
  const StyledGlobalAlertContent = styled__default.default.div.attrs({
412
412
  'data-garden-id': COMPONENT_ID$2,
413
- 'data-garden-version': '8.62.2'
413
+ 'data-garden-version': '8.63.0'
414
414
  }).withConfig({
415
415
  displayName: "StyledGlobalAlertContent",
416
416
  componentId: "sc-rept0u-0"
@@ -434,7 +434,7 @@ const StyledGlobalAlertIcon = styled__default.default(_ref => {
434
434
  return React__namespace.default.cloneElement(React.Children.only(children), props);
435
435
  }).attrs({
436
436
  'data-garden-id': COMPONENT_ID$1,
437
- 'data-garden-version': '8.62.2'
437
+ 'data-garden-version': '8.63.0'
438
438
  }).withConfig({
439
439
  displayName: "StyledGlobalAlertIcon",
440
440
  componentId: "sc-84ne9k-0"
@@ -462,7 +462,7 @@ const colorStyles = props => {
462
462
  };
463
463
  const StyledGlobalAlertTitle = styled__default.default.div.attrs({
464
464
  'data-garden-id': COMPONENT_ID,
465
- 'data-garden-version': '8.62.2'
465
+ 'data-garden-version': '8.63.0'
466
466
  }).withConfig({
467
467
  displayName: "StyledGlobalAlertTitle",
468
468
  componentId: "sc-10clqbo-0"
@@ -472,9 +472,7 @@ StyledGlobalAlertTitle.defaultProps = {
472
472
  };
473
473
 
474
474
  var _g$2, _circle$2;
475
-
476
475
  function _extends$5() { _extends$5 = 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$5.apply(this, arguments); }
477
-
478
476
  var SvgAlertErrorStroke = function SvgAlertErrorStroke(props) {
479
477
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
480
478
  xmlns: "http://www.w3.org/2000/svg",
@@ -482,8 +480,7 @@ var SvgAlertErrorStroke = function SvgAlertErrorStroke(props) {
482
480
  height: 16,
483
481
  focusable: "false",
484
482
  viewBox: "0 0 16 16",
485
- "aria-hidden": "true",
486
- role: "img"
483
+ "aria-hidden": "true"
487
484
  }, props), _g$2 || (_g$2 = /*#__PURE__*/React__namespace.createElement("g", {
488
485
  fill: "none",
489
486
  stroke: "currentColor"
@@ -503,9 +500,7 @@ var SvgAlertErrorStroke = function SvgAlertErrorStroke(props) {
503
500
  };
504
501
 
505
502
  var _g$1;
506
-
507
503
  function _extends$4() { _extends$4 = 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$4.apply(this, arguments); }
508
-
509
504
  var SvgCheckCircleStroke = function SvgCheckCircleStroke(props) {
510
505
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({
511
506
  xmlns: "http://www.w3.org/2000/svg",
@@ -513,8 +508,7 @@ var SvgCheckCircleStroke = function SvgCheckCircleStroke(props) {
513
508
  height: 16,
514
509
  focusable: "false",
515
510
  viewBox: "0 0 16 16",
516
- "aria-hidden": "true",
517
- role: "img"
511
+ "aria-hidden": "true"
518
512
  }, props), _g$1 || (_g$1 = /*#__PURE__*/React__namespace.createElement("g", {
519
513
  fill: "none",
520
514
  stroke: "currentColor"
@@ -530,9 +524,7 @@ var SvgCheckCircleStroke = function SvgCheckCircleStroke(props) {
530
524
  };
531
525
 
532
526
  var _path$2, _circle$1;
533
-
534
527
  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); }
535
-
536
528
  var SvgAlertWarningStroke = function SvgAlertWarningStroke(props) {
537
529
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({
538
530
  xmlns: "http://www.w3.org/2000/svg",
@@ -540,8 +532,7 @@ var SvgAlertWarningStroke = function SvgAlertWarningStroke(props) {
540
532
  height: 16,
541
533
  focusable: "false",
542
534
  viewBox: "0 0 16 16",
543
- "aria-hidden": "true",
544
- role: "img"
535
+ "aria-hidden": "true"
545
536
  }, props), _path$2 || (_path$2 = /*#__PURE__*/React__namespace.createElement("path", {
546
537
  fill: "none",
547
538
  stroke: "currentColor",
@@ -556,9 +547,7 @@ var SvgAlertWarningStroke = function SvgAlertWarningStroke(props) {
556
547
  };
557
548
 
558
549
  var _g, _circle;
559
-
560
550
  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); }
561
-
562
551
  var SvgInfoStroke = function SvgInfoStroke(props) {
563
552
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({
564
553
  xmlns: "http://www.w3.org/2000/svg",
@@ -566,8 +555,7 @@ var SvgInfoStroke = function SvgInfoStroke(props) {
566
555
  height: 16,
567
556
  focusable: "false",
568
557
  viewBox: "0 0 16 16",
569
- "aria-hidden": "true",
570
- role: "img"
558
+ "aria-hidden": "true"
571
559
  }, props), _g || (_g = /*#__PURE__*/React__namespace.createElement("g", {
572
560
  stroke: "currentColor"
573
561
  }, /*#__PURE__*/React__namespace.createElement("circle", {
@@ -647,9 +635,7 @@ Well.propTypes = {
647
635
  };
648
636
 
649
637
  var _path$1;
650
-
651
638
  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); }
652
-
653
639
  var SvgXStroke$1 = function SvgXStroke(props) {
654
640
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
655
641
  xmlns: "http://www.w3.org/2000/svg",
@@ -657,8 +643,7 @@ var SvgXStroke$1 = function SvgXStroke(props) {
657
643
  height: 12,
658
644
  focusable: "false",
659
645
  viewBox: "0 0 12 12",
660
- "aria-hidden": "true",
661
- role: "img"
646
+ "aria-hidden": "true"
662
647
  }, props), _path$1 || (_path$1 = /*#__PURE__*/React__namespace.createElement("path", {
663
648
  stroke: "currentColor",
664
649
  strokeLinecap: "round",
@@ -1052,9 +1037,7 @@ GlobalAlertButton.propTypes = {
1052
1037
  };
1053
1038
 
1054
1039
  var _path;
1055
-
1056
1040
  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); }
1057
-
1058
1041
  var SvgXStroke = function SvgXStroke(props) {
1059
1042
  return /*#__PURE__*/React__namespace.createElement("svg", _extends({
1060
1043
  xmlns: "http://www.w3.org/2000/svg",
@@ -1062,8 +1045,7 @@ var SvgXStroke = function SvgXStroke(props) {
1062
1045
  height: 16,
1063
1046
  focusable: "false",
1064
1047
  viewBox: "0 0 16 16",
1065
- "aria-hidden": "true",
1066
- role: "img"
1048
+ "aria-hidden": "true"
1067
1049
  }, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
1068
1050
  stroke: "currentColor",
1069
1051
  strokeLinecap: "round",
package/dist/index.esm.js CHANGED
@@ -35,7 +35,7 @@ const TYPE = ['success', 'warning', 'error', 'info'];
35
35
  const COMPONENT_ID$b = 'notifications.close';
36
36
  const StyledClose = styled.button.attrs({
37
37
  'data-garden-id': COMPONENT_ID$b,
38
- 'data-garden-version': '8.62.2'
38
+ 'data-garden-version': '8.63.0'
39
39
  }).withConfig({
40
40
  displayName: "StyledClose",
41
41
  componentId: "sc-1mr9nx1-0"
@@ -47,7 +47,7 @@ StyledClose.defaultProps = {
47
47
  const COMPONENT_ID$a = 'notifications.paragraph';
48
48
  const StyledParagraph = styled.p.attrs({
49
49
  'data-garden-id': COMPONENT_ID$a,
50
- 'data-garden-version': '8.62.2'
50
+ 'data-garden-version': '8.63.0'
51
51
  }).withConfig({
52
52
  displayName: "StyledParagraph",
53
53
  componentId: "sc-12tmd6p-0"
@@ -59,7 +59,7 @@ StyledParagraph.defaultProps = {
59
59
  const COMPONENT_ID$9 = 'notifications.title';
60
60
  const StyledTitle = styled.div.attrs({
61
61
  'data-garden-id': COMPONENT_ID$9,
62
- 'data-garden-version': '8.62.2'
62
+ 'data-garden-version': '8.63.0'
63
63
  }).withConfig({
64
64
  displayName: "StyledTitle",
65
65
  componentId: "sc-xx4jsv-0"
@@ -116,7 +116,7 @@ const COMPONENT_ID$8 = 'notifications.alert';
116
116
  const colorStyles$5 = props => css(["", "{color:", ";}"], StyledTitle, props.hue && getColor(props.hue, 800, props.theme));
117
117
  const StyledAlert = styled(StyledBase).attrs(props => ({
118
118
  'data-garden-id': COMPONENT_ID$8,
119
- 'data-garden-version': '8.62.2',
119
+ 'data-garden-version': '8.63.0',
120
120
  role: props.role === undefined ? 'alert' : props.role
121
121
  })).withConfig({
122
122
  displayName: "StyledAlert",
@@ -163,7 +163,7 @@ const colorStyles$4 = props => {
163
163
  };
164
164
  const StyledNotification = styled(StyledBase).attrs(props => ({
165
165
  'data-garden-id': COMPONENT_ID$7,
166
- 'data-garden-version': '8.62.2',
166
+ 'data-garden-version': '8.63.0',
167
167
  role: props.role === undefined ? 'status' : props.role
168
168
  })).withConfig({
169
169
  displayName: "StyledNotification",
@@ -179,7 +179,7 @@ StyledNotification.defaultProps = {
179
179
  const COMPONENT_ID$6 = 'notifications.well';
180
180
  const StyledWell = styled(StyledBase).attrs({
181
181
  'data-garden-id': COMPONENT_ID$6,
182
- 'data-garden-version': '8.62.2'
182
+ 'data-garden-version': '8.63.0'
183
183
  }).withConfig({
184
184
  displayName: "StyledWell",
185
185
  componentId: "sc-a5831c-0"
@@ -259,7 +259,7 @@ const sizeStyles$3 = props => {
259
259
  };
260
260
  const StyledGlobalAlert = styled.div.attrs({
261
261
  'data-garden-id': COMPONENT_ID$5,
262
- 'data-garden-version': '8.62.2'
262
+ 'data-garden-version': '8.63.0'
263
263
  }).withConfig({
264
264
  displayName: "StyledGlobalAlert",
265
265
  componentId: "sc-k6rimt-0"
@@ -315,7 +315,7 @@ const sizeStyles$2 = props => {
315
315
  };
316
316
  const StyledGlobalAlertClose = styled(IconButton).attrs({
317
317
  'data-garden-id': COMPONENT_ID$4,
318
- 'data-garden-version': '8.62.2',
318
+ 'data-garden-version': '8.63.0',
319
319
  size: 'small'
320
320
  }).withConfig({
321
321
  displayName: "StyledGlobalAlertClose",
@@ -366,7 +366,7 @@ function sizeStyles$1(props) {
366
366
  }
367
367
  const StyledGlobalAlertButton = styled(Button).attrs({
368
368
  'data-garden-id': COMPONENT_ID$3,
369
- 'data-garden-version': '8.62.2',
369
+ 'data-garden-version': '8.63.0',
370
370
  focusInset: false,
371
371
  isDanger: false,
372
372
  isLink: false,
@@ -385,7 +385,7 @@ StyledGlobalAlertButton.defaultProps = {
385
385
  const COMPONENT_ID$2 = 'notifications.global-alert.content';
386
386
  const StyledGlobalAlertContent = styled.div.attrs({
387
387
  'data-garden-id': COMPONENT_ID$2,
388
- 'data-garden-version': '8.62.2'
388
+ 'data-garden-version': '8.63.0'
389
389
  }).withConfig({
390
390
  displayName: "StyledGlobalAlertContent",
391
391
  componentId: "sc-rept0u-0"
@@ -409,7 +409,7 @@ const StyledGlobalAlertIcon = styled(_ref => {
409
409
  return React__default.cloneElement(Children.only(children), props);
410
410
  }).attrs({
411
411
  'data-garden-id': COMPONENT_ID$1,
412
- 'data-garden-version': '8.62.2'
412
+ 'data-garden-version': '8.63.0'
413
413
  }).withConfig({
414
414
  displayName: "StyledGlobalAlertIcon",
415
415
  componentId: "sc-84ne9k-0"
@@ -437,7 +437,7 @@ const colorStyles = props => {
437
437
  };
438
438
  const StyledGlobalAlertTitle = styled.div.attrs({
439
439
  'data-garden-id': COMPONENT_ID,
440
- 'data-garden-version': '8.62.2'
440
+ 'data-garden-version': '8.63.0'
441
441
  }).withConfig({
442
442
  displayName: "StyledGlobalAlertTitle",
443
443
  componentId: "sc-10clqbo-0"
@@ -447,9 +447,7 @@ StyledGlobalAlertTitle.defaultProps = {
447
447
  };
448
448
 
449
449
  var _g$2, _circle$2;
450
-
451
450
  function _extends$5() { _extends$5 = 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$5.apply(this, arguments); }
452
-
453
451
  var SvgAlertErrorStroke = function SvgAlertErrorStroke(props) {
454
452
  return /*#__PURE__*/React.createElement("svg", _extends$5({
455
453
  xmlns: "http://www.w3.org/2000/svg",
@@ -457,8 +455,7 @@ var SvgAlertErrorStroke = function SvgAlertErrorStroke(props) {
457
455
  height: 16,
458
456
  focusable: "false",
459
457
  viewBox: "0 0 16 16",
460
- "aria-hidden": "true",
461
- role: "img"
458
+ "aria-hidden": "true"
462
459
  }, props), _g$2 || (_g$2 = /*#__PURE__*/React.createElement("g", {
463
460
  fill: "none",
464
461
  stroke: "currentColor"
@@ -478,9 +475,7 @@ var SvgAlertErrorStroke = function SvgAlertErrorStroke(props) {
478
475
  };
479
476
 
480
477
  var _g$1;
481
-
482
478
  function _extends$4() { _extends$4 = 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$4.apply(this, arguments); }
483
-
484
479
  var SvgCheckCircleStroke = function SvgCheckCircleStroke(props) {
485
480
  return /*#__PURE__*/React.createElement("svg", _extends$4({
486
481
  xmlns: "http://www.w3.org/2000/svg",
@@ -488,8 +483,7 @@ var SvgCheckCircleStroke = function SvgCheckCircleStroke(props) {
488
483
  height: 16,
489
484
  focusable: "false",
490
485
  viewBox: "0 0 16 16",
491
- "aria-hidden": "true",
492
- role: "img"
486
+ "aria-hidden": "true"
493
487
  }, props), _g$1 || (_g$1 = /*#__PURE__*/React.createElement("g", {
494
488
  fill: "none",
495
489
  stroke: "currentColor"
@@ -505,9 +499,7 @@ var SvgCheckCircleStroke = function SvgCheckCircleStroke(props) {
505
499
  };
506
500
 
507
501
  var _path$2, _circle$1;
508
-
509
502
  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); }
510
-
511
503
  var SvgAlertWarningStroke = function SvgAlertWarningStroke(props) {
512
504
  return /*#__PURE__*/React.createElement("svg", _extends$3({
513
505
  xmlns: "http://www.w3.org/2000/svg",
@@ -515,8 +507,7 @@ var SvgAlertWarningStroke = function SvgAlertWarningStroke(props) {
515
507
  height: 16,
516
508
  focusable: "false",
517
509
  viewBox: "0 0 16 16",
518
- "aria-hidden": "true",
519
- role: "img"
510
+ "aria-hidden": "true"
520
511
  }, props), _path$2 || (_path$2 = /*#__PURE__*/React.createElement("path", {
521
512
  fill: "none",
522
513
  stroke: "currentColor",
@@ -531,9 +522,7 @@ var SvgAlertWarningStroke = function SvgAlertWarningStroke(props) {
531
522
  };
532
523
 
533
524
  var _g, _circle;
534
-
535
525
  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); }
536
-
537
526
  var SvgInfoStroke = function SvgInfoStroke(props) {
538
527
  return /*#__PURE__*/React.createElement("svg", _extends$2({
539
528
  xmlns: "http://www.w3.org/2000/svg",
@@ -541,8 +530,7 @@ var SvgInfoStroke = function SvgInfoStroke(props) {
541
530
  height: 16,
542
531
  focusable: "false",
543
532
  viewBox: "0 0 16 16",
544
- "aria-hidden": "true",
545
- role: "img"
533
+ "aria-hidden": "true"
546
534
  }, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
547
535
  stroke: "currentColor"
548
536
  }, /*#__PURE__*/React.createElement("circle", {
@@ -622,9 +610,7 @@ Well.propTypes = {
622
610
  };
623
611
 
624
612
  var _path$1;
625
-
626
613
  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); }
627
-
628
614
  var SvgXStroke$1 = function SvgXStroke(props) {
629
615
  return /*#__PURE__*/React.createElement("svg", _extends$1({
630
616
  xmlns: "http://www.w3.org/2000/svg",
@@ -632,8 +618,7 @@ var SvgXStroke$1 = function SvgXStroke(props) {
632
618
  height: 12,
633
619
  focusable: "false",
634
620
  viewBox: "0 0 12 12",
635
- "aria-hidden": "true",
636
- role: "img"
621
+ "aria-hidden": "true"
637
622
  }, props), _path$1 || (_path$1 = /*#__PURE__*/React.createElement("path", {
638
623
  stroke: "currentColor",
639
624
  strokeLinecap: "round",
@@ -1027,9 +1012,7 @@ GlobalAlertButton.propTypes = {
1027
1012
  };
1028
1013
 
1029
1014
  var _path;
1030
-
1031
1015
  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); }
1032
-
1033
1016
  var SvgXStroke = function SvgXStroke(props) {
1034
1017
  return /*#__PURE__*/React.createElement("svg", _extends({
1035
1018
  xmlns: "http://www.w3.org/2000/svg",
@@ -1037,8 +1020,7 @@ var SvgXStroke = function SvgXStroke(props) {
1037
1020
  height: 16,
1038
1021
  focusable: "false",
1039
1022
  viewBox: "0 0 16 16",
1040
- "aria-hidden": "true",
1041
- role: "img"
1023
+ "aria-hidden": "true"
1042
1024
  }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
1043
1025
  stroke: "currentColor",
1044
1026
  strokeLinecap: "round",
@@ -5,6 +5,10 @@
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
7
  import React from 'react';
8
+ /**
9
+ * 1. role='img' on `svg` is valid WAI-ARIA usage in this context.
10
+ * https://dequeuniversity.com/rules/axe/4.2/svg-img-alt
11
+ */
8
12
  /**
9
13
  * @extends ButtonHTMLAttributes<HTMLButtonElement>
10
14
  */
@@ -5,6 +5,6 @@
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
7
  import { IGlobalAlertProps } from '../../types';
8
- export declare type GlobalAlertContextProps = Pick<IGlobalAlertProps, 'type'>;
8
+ export type GlobalAlertContextProps = Pick<IGlobalAlertProps, 'type'>;
9
9
  export declare const GlobalAlertContext: import("react").Context<GlobalAlertContextProps>;
10
10
  export declare const useGlobalAlertContext: () => GlobalAlertContextProps;
@@ -8,7 +8,7 @@ import { Content, IToast, IToastOptions } from './useToast';
8
8
  export interface IToasterState {
9
9
  toasts: IToast[];
10
10
  }
11
- export declare type ToasterReducerAction = {
11
+ export type ToasterReducerAction = {
12
12
  type: 'ADD_TOAST';
13
13
  payload: IToast;
14
14
  } | {
@@ -14,7 +14,7 @@ export interface IToastOptions {
14
14
  /** Adjusts the placement of the toast content */
15
15
  placement: Placement;
16
16
  }
17
- export declare type Content = ({ close }: {
17
+ export type Content = ({ close }: {
18
18
  close: () => void;
19
19
  }) => ReactElement;
20
20
  export interface IToast {
@@ -8,8 +8,8 @@ import { HTMLAttributes, ButtonHTMLAttributes } from 'react';
8
8
  import { IButtonProps } from '@zendeskgarden/react-buttons';
9
9
  export declare const PLACEMENT: readonly ["top-start", "top", "top-end", "bottom-start", "bottom", "bottom-end"];
10
10
  export declare const TYPE: readonly ["success", "warning", "error", "info"];
11
- export declare type Placement = typeof PLACEMENT[number];
12
- export declare type Type = typeof TYPE[number];
11
+ export type Placement = (typeof PLACEMENT)[number];
12
+ export type Type = (typeof TYPE)[number];
13
13
  export interface IAlertProps extends HTMLAttributes<HTMLDivElement> {
14
14
  /** Applies alert type styles */
15
15
  type: Type;
@@ -4,6 +4,6 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- export declare type Hue = 'successHue' | 'warningHue' | 'dangerHue' | 'neutralHue';
7
+ export type Hue = 'successHue' | 'warningHue' | 'dangerHue' | 'neutralHue';
8
8
  export declare const NotificationsContext: import("react").Context<Hue | undefined>;
9
9
  export declare const useNotificationsContext: () => Hue | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zendeskgarden/react-notifications",
3
- "version": "8.62.2",
3
+ "version": "8.63.0",
4
4
  "description": "Notification and Well components within the Garden Design System",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Zendesk Garden <garden@zendesk.com>",
@@ -21,7 +21,7 @@
21
21
  "sideEffects": false,
22
22
  "types": "dist/typings/index.d.ts",
23
23
  "dependencies": {
24
- "@zendeskgarden/react-buttons": "^8.62.2",
24
+ "@zendeskgarden/react-buttons": "^8.63.0",
25
25
  "polished": "^4.1.1",
26
26
  "prop-types": "^15.5.7",
27
27
  "react-transition-group": "^4.4.2",
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/react-transition-group": "4.4.5",
38
- "@zendeskgarden/react-theming": "^8.62.2",
38
+ "@zendeskgarden/react-theming": "^8.63.0",
39
39
  "@zendeskgarden/svg-icons": "6.33.0"
40
40
  },
41
41
  "keywords": [
@@ -48,5 +48,5 @@
48
48
  "access": "public"
49
49
  },
50
50
  "zendeskgarden:src": "src/index.ts",
51
- "gitHead": "27a7d6c021f3360396af60d51ecbf66e9076a405"
51
+ "gitHead": "4b8715305a769881b143c7195c5b31e687422926"
52
52
  }