@zendeskgarden/react-notifications 9.0.0-next.11 → 9.0.0-next.13

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.
Files changed (23) hide show
  1. package/dist/esm/node_modules/@zendeskgarden/svg-icons/src/12/x-stroke.svg.js +1 -1
  2. package/dist/esm/node_modules/@zendeskgarden/svg-icons/src/16/alert-error-stroke.svg.js +1 -1
  3. package/dist/esm/node_modules/@zendeskgarden/svg-icons/src/16/alert-warning-stroke.svg.js +1 -1
  4. package/dist/esm/node_modules/@zendeskgarden/svg-icons/src/16/check-circle-stroke.svg.js +1 -1
  5. package/dist/esm/node_modules/@zendeskgarden/svg-icons/src/16/info-stroke.svg.js +1 -1
  6. package/dist/esm/node_modules/@zendeskgarden/svg-icons/src/16/x-stroke.svg.js +1 -1
  7. package/dist/esm/styled/StyledAlert.js +1 -1
  8. package/dist/esm/styled/StyledNotification.js +1 -1
  9. package/dist/esm/styled/StyledWell.js +1 -1
  10. package/dist/esm/styled/content/StyledClose.js +1 -1
  11. package/dist/esm/styled/content/StyledParagraph.js +1 -1
  12. package/dist/esm/styled/content/StyledTitle.js +1 -1
  13. package/dist/esm/styled/global-alert/StyledGlobalAlert.js +1 -1
  14. package/dist/esm/styled/global-alert/StyledGlobalAlertButton.js +3 -5
  15. package/dist/esm/styled/global-alert/StyledGlobalAlertClose.js +3 -5
  16. package/dist/esm/styled/global-alert/StyledGlobalAlertContent.js +1 -1
  17. package/dist/esm/styled/global-alert/StyledGlobalAlertIcon.js +1 -1
  18. package/dist/esm/styled/global-alert/StyledGlobalAlertTitle.js +1 -1
  19. package/dist/index.cjs.js +41 -45
  20. package/dist/typings/styled/global-alert/StyledGlobalAlertButton.d.ts +1 -2
  21. package/dist/typings/styled/global-alert/StyledGlobalAlertClose.d.ts +1 -2
  22. package/package.json +6 -7
  23. package/LICENSE.md +0 -176
@@ -7,7 +7,7 @@
7
7
  import * as React from 'react';
8
8
 
9
9
  var _path;
10
- 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); }
10
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
11
11
  var SvgXStroke = function SvgXStroke(props) {
12
12
  return /*#__PURE__*/React.createElement("svg", _extends({
13
13
  xmlns: "http://www.w3.org/2000/svg",
@@ -7,7 +7,7 @@
7
7
  import * as React from 'react';
8
8
 
9
9
  var _g, _circle;
10
- 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); }
10
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
11
11
  var SvgAlertErrorStroke = function SvgAlertErrorStroke(props) {
12
12
  return /*#__PURE__*/React.createElement("svg", _extends({
13
13
  xmlns: "http://www.w3.org/2000/svg",
@@ -7,7 +7,7 @@
7
7
  import * as React from 'react';
8
8
 
9
9
  var _path, _circle;
10
- 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); }
10
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
11
11
  var SvgAlertWarningStroke = function SvgAlertWarningStroke(props) {
12
12
  return /*#__PURE__*/React.createElement("svg", _extends({
13
13
  xmlns: "http://www.w3.org/2000/svg",
@@ -7,7 +7,7 @@
7
7
  import * as React from 'react';
8
8
 
9
9
  var _g;
10
- 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); }
10
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
11
11
  var SvgCheckCircleStroke = function SvgCheckCircleStroke(props) {
12
12
  return /*#__PURE__*/React.createElement("svg", _extends({
13
13
  xmlns: "http://www.w3.org/2000/svg",
@@ -7,7 +7,7 @@
7
7
  import * as React from 'react';
8
8
 
9
9
  var _g, _circle;
10
- 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); }
10
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
11
11
  var SvgInfoStroke = function SvgInfoStroke(props) {
12
12
  return /*#__PURE__*/React.createElement("svg", _extends({
13
13
  xmlns: "http://www.w3.org/2000/svg",
@@ -7,7 +7,7 @@
7
7
  import * as React from 'react';
8
8
 
9
9
  var _path;
10
- 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); }
10
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
11
11
  var SvgXStroke = function SvgXStroke(props) {
12
12
  return /*#__PURE__*/React.createElement("svg", _extends({
13
13
  xmlns: "http://www.w3.org/2000/svg",
@@ -13,7 +13,7 @@ const COMPONENT_ID = 'notifications.alert';
13
13
  const colorStyles = props => css(["", "{color:", ";}"], StyledTitle, props.hue && getColorV8(props.hue, 800, props.theme));
14
14
  const StyledAlert = styled(StyledBase).attrs({
15
15
  'data-garden-id': COMPONENT_ID,
16
- 'data-garden-version': '9.0.0-next.11'
16
+ 'data-garden-version': '9.0.0-next.13'
17
17
  }).withConfig({
18
18
  displayName: "StyledAlert",
19
19
  componentId: "sc-fyn8jp-0"
@@ -47,7 +47,7 @@ const colorStyles = props => {
47
47
  };
48
48
  const StyledNotification = styled(StyledBase).attrs({
49
49
  'data-garden-id': COMPONENT_ID,
50
- 'data-garden-version': '9.0.0-next.11'
50
+ 'data-garden-version': '9.0.0-next.13'
51
51
  }).withConfig({
52
52
  displayName: "StyledNotification",
53
53
  componentId: "sc-uf6jh-0"
@@ -11,7 +11,7 @@ import { StyledBase } from './StyledBase.js';
11
11
  const COMPONENT_ID = 'notifications.well';
12
12
  const StyledWell = styled(StyledBase).attrs({
13
13
  'data-garden-id': COMPONENT_ID,
14
- 'data-garden-version': '9.0.0-next.11'
14
+ 'data-garden-version': '9.0.0-next.13'
15
15
  }).withConfig({
16
16
  displayName: "StyledWell",
17
17
  componentId: "sc-a5831c-0"
@@ -10,7 +10,7 @@ import { getColorV8, focusStyles, retrieveComponentStyles, DEFAULT_THEME } from
10
10
  const COMPONENT_ID = 'notifications.close';
11
11
  const StyledClose = styled.button.attrs({
12
12
  'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.0.0-next.11'
13
+ 'data-garden-version': '9.0.0-next.13'
14
14
  }).withConfig({
15
15
  displayName: "StyledClose",
16
16
  componentId: "sc-1mr9nx1-0"
@@ -10,7 +10,7 @@ import { retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgarden/react-the
10
10
  const COMPONENT_ID = 'notifications.paragraph';
11
11
  const StyledParagraph = styled.p.attrs({
12
12
  'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.0.0-next.11'
13
+ 'data-garden-version': '9.0.0-next.13'
14
14
  }).withConfig({
15
15
  displayName: "StyledParagraph",
16
16
  componentId: "sc-12tmd6p-0"
@@ -10,7 +10,7 @@ import { getColorV8, retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgard
10
10
  const COMPONENT_ID = 'notifications.title';
11
11
  const StyledTitle = styled.div.attrs({
12
12
  'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.0.0-next.11'
13
+ 'data-garden-version': '9.0.0-next.13'
14
14
  }).withConfig({
15
15
  displayName: "StyledTitle",
16
16
  componentId: "sc-xx4jsv-0"
@@ -73,7 +73,7 @@ const sizeStyles = props => {
73
73
  };
74
74
  const StyledGlobalAlert = styled.div.attrs({
75
75
  'data-garden-id': COMPONENT_ID,
76
- 'data-garden-version': '9.0.0-next.11'
76
+ 'data-garden-version': '9.0.0-next.13'
77
77
  }).withConfig({
78
78
  displayName: "StyledGlobalAlert",
79
79
  componentId: "sc-k6rimt-0"
@@ -5,11 +5,10 @@
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
7
  import styled, { css } from 'styled-components';
8
- import { retrieveComponentStyles, DEFAULT_THEME, getColorV8, focusStyles } from '@zendeskgarden/react-theming';
8
+ import { DEFAULT_THEME, getColorV8, focusStyles } from '@zendeskgarden/react-theming';
9
9
  import { Button } from '@zendeskgarden/react-buttons';
10
10
  import { colorStyles as colorStyles$1 } from './StyledGlobalAlertClose.js';
11
11
 
12
- const COMPONENT_ID = 'notifications.global-alert.button';
13
12
  function colorStyles(props) {
14
13
  if (props.isBasic) {
15
14
  return colorStyles$1(props);
@@ -55,8 +54,7 @@ function sizeStyles(props) {
55
54
  return css(["margin:", " ", " ", " ", ";"], marginVertical, props.theme.rtl ? marginStart : 0, marginVertical, props.theme.rtl ? 0 : marginStart);
56
55
  }
57
56
  const StyledGlobalAlertButton = styled(Button).attrs({
58
- 'data-garden-id': COMPONENT_ID,
59
- 'data-garden-version': '9.0.0-next.11',
57
+ 'data-garden-version': '9.0.0-next.13',
60
58
  focusInset: false,
61
59
  isDanger: false,
62
60
  isLink: false,
@@ -67,7 +65,7 @@ const StyledGlobalAlertButton = styled(Button).attrs({
67
65
  }).withConfig({
68
66
  displayName: "StyledGlobalAlertButton",
69
67
  componentId: "sc-1txe91a-0"
70
- })(["flex-shrink:0;", ";", ";", ";"], sizeStyles, colorStyles, props => retrieveComponentStyles(COMPONENT_ID, props));
68
+ })(["flex-shrink:0;", ";", ";"], sizeStyles, colorStyles);
71
69
  StyledGlobalAlertButton.defaultProps = {
72
70
  theme: DEFAULT_THEME
73
71
  };
@@ -5,10 +5,9 @@
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
7
  import styled, { css } from 'styled-components';
8
- import { retrieveComponentStyles, DEFAULT_THEME, getColorV8, focusStyles } from '@zendeskgarden/react-theming';
8
+ import { DEFAULT_THEME, getColorV8, focusStyles } from '@zendeskgarden/react-theming';
9
9
  import { IconButton } from '@zendeskgarden/react-buttons';
10
10
 
11
- const COMPONENT_ID = 'notifications.global-alert.close';
12
11
  const colorStyles = props => {
13
12
  let hoverBackgroundColor;
14
13
  let hoverForegroundColor;
@@ -60,13 +59,12 @@ const sizeStyles = props => {
60
59
  return css(["margin:", " ", " ", " ", ";"], marginVertical, props.theme.rtl ? marginStart : marginEnd, marginVertical, props.theme.rtl ? marginEnd : marginStart);
61
60
  };
62
61
  const StyledGlobalAlertClose = styled(IconButton).attrs({
63
- 'data-garden-id': COMPONENT_ID,
64
- 'data-garden-version': '9.0.0-next.11',
62
+ 'data-garden-version': '9.0.0-next.13',
65
63
  size: 'small'
66
64
  }).withConfig({
67
65
  displayName: "StyledGlobalAlertClose",
68
66
  componentId: "sc-1g5s93s-0"
69
- })(["", ";", ";", ";"], sizeStyles, colorStyles, props => retrieveComponentStyles(COMPONENT_ID, props));
67
+ })(["", ";", ";"], sizeStyles, colorStyles);
70
68
  StyledGlobalAlertClose.defaultProps = {
71
69
  theme: DEFAULT_THEME
72
70
  };
@@ -10,7 +10,7 @@ import { retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgarden/react-the
10
10
  const COMPONENT_ID = 'notifications.global-alert.content';
11
11
  const StyledGlobalAlertContent = styled.div.attrs({
12
12
  'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.0.0-next.11'
13
+ 'data-garden-version': '9.0.0-next.13'
14
14
  }).withConfig({
15
15
  displayName: "StyledGlobalAlertContent",
16
16
  componentId: "sc-rept0u-0"
@@ -17,7 +17,7 @@ const sizeStyles = props => {
17
17
  };
18
18
  const StyledGlobalAlertIcon = styled(StyledBaseIcon).attrs({
19
19
  'data-garden-id': COMPONENT_ID,
20
- 'data-garden-version': '9.0.0-next.11'
20
+ 'data-garden-version': '9.0.0-next.13'
21
21
  }).withConfig({
22
22
  displayName: "StyledGlobalAlertIcon",
23
23
  componentId: "sc-84ne9k-0"
@@ -26,7 +26,7 @@ const colorStyles = props => {
26
26
  };
27
27
  const StyledGlobalAlertTitle = styled.div.attrs({
28
28
  'data-garden-id': COMPONENT_ID,
29
- 'data-garden-version': '9.0.0-next.11'
29
+ 'data-garden-version': '9.0.0-next.13'
30
30
  }).withConfig({
31
31
  displayName: "StyledGlobalAlertTitle",
32
32
  componentId: "sc-10clqbo-0"
package/dist/index.cjs.js CHANGED
@@ -41,41 +41,41 @@ var styled__default = /*#__PURE__*/_interopDefault(styled);
41
41
 
42
42
  const TYPE = ['success', 'warning', 'error', 'info'];
43
43
 
44
- const COMPONENT_ID$b = 'notifications.close';
44
+ const COMPONENT_ID$9 = 'notifications.close';
45
45
  const StyledClose = styled__default.default.button.attrs({
46
- 'data-garden-id': COMPONENT_ID$b,
47
- 'data-garden-version': '9.0.0-next.11'
46
+ 'data-garden-id': COMPONENT_ID$9,
47
+ 'data-garden-version': '9.0.0-next.13'
48
48
  }).withConfig({
49
49
  displayName: "StyledClose",
50
50
  componentId: "sc-1mr9nx1-0"
51
51
  })(["display:block;position:absolute;top:", "px;", ":", ";transition:background-color 0.1s ease-in-out,color 0.25s ease-in-out,box-shadow 0.1s ease-in-out;border:none;border-radius:50%;background-color:transparent;cursor:pointer;padding:0;width:", "px;height:", "px;overflow:hidden;color:", ";font-size:0;user-select:none;&::-moz-focus-inner{border:0;}&:hover{color:", ";}", " ", ";"], props => props.theme.space.base, props => props.theme.rtl ? 'left' : 'right', props => `${props.theme.space.base}px`, props => props.theme.space.base * 7, props => props.theme.space.base * 7, props => props.hue ? reactTheming.getColorV8(props.hue, props.hue === 'warningHue' ? 700 : 600, props.theme) : reactTheming.getColorV8('neutralHue', 600, props.theme), props => props.hue ? reactTheming.getColorV8(props.hue, 800, props.theme) : reactTheming.getColorV8('neutralHue', 800, props.theme), props => reactTheming.focusStyles({
52
52
  theme: props.theme,
53
53
  inset: true
54
- }), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$b, props));
54
+ }), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$9, props));
55
55
  StyledClose.defaultProps = {
56
56
  theme: reactTheming.DEFAULT_THEME
57
57
  };
58
58
 
59
- const COMPONENT_ID$a = 'notifications.paragraph';
59
+ const COMPONENT_ID$8 = 'notifications.paragraph';
60
60
  const StyledParagraph = styled__default.default.p.attrs({
61
- 'data-garden-id': COMPONENT_ID$a,
62
- 'data-garden-version': '9.0.0-next.11'
61
+ 'data-garden-id': COMPONENT_ID$8,
62
+ 'data-garden-version': '9.0.0-next.13'
63
63
  }).withConfig({
64
64
  displayName: "StyledParagraph",
65
65
  componentId: "sc-12tmd6p-0"
66
- })(["margin:", "px 0 0;", ";"], props => props.theme.space.base * 2, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$a, props));
66
+ })(["margin:", "px 0 0;", ";"], props => props.theme.space.base * 2, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$8, props));
67
67
  StyledParagraph.defaultProps = {
68
68
  theme: reactTheming.DEFAULT_THEME
69
69
  };
70
70
 
71
- const COMPONENT_ID$9 = 'notifications.title';
71
+ const COMPONENT_ID$7 = 'notifications.title';
72
72
  const StyledTitle = styled__default.default.div.attrs({
73
- 'data-garden-id': COMPONENT_ID$9,
74
- 'data-garden-version': '9.0.0-next.11'
73
+ 'data-garden-id': COMPONENT_ID$7,
74
+ 'data-garden-version': '9.0.0-next.13'
75
75
  }).withConfig({
76
76
  displayName: "StyledTitle",
77
77
  componentId: "sc-xx4jsv-0"
78
- })(["margin:0;color:", ";font-weight:", ";", ";"], props => reactTheming.getColorV8('foreground', 600 , props.theme), props => props.isRegular ? props.theme.fontWeights.regular : props.theme.fontWeights.semibold, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$9, props));
78
+ })(["margin:0;color:", ";font-weight:", ";", ";"], props => reactTheming.getColorV8('foreground', 600 , props.theme), props => props.isRegular ? props.theme.fontWeights.regular : props.theme.fontWeights.semibold, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$7, props));
79
79
  StyledTitle.defaultProps = {
80
80
  theme: reactTheming.DEFAULT_THEME
81
81
  };
@@ -124,20 +124,20 @@ StyledBase.defaultProps = {
124
124
  theme: reactTheming.DEFAULT_THEME
125
125
  };
126
126
 
127
- const COMPONENT_ID$8 = 'notifications.alert';
127
+ const COMPONENT_ID$6 = 'notifications.alert';
128
128
  const colorStyles$5 = props => styled.css(["", "{color:", ";}"], StyledTitle, props.hue && reactTheming.getColorV8(props.hue, 800, props.theme));
129
129
  const StyledAlert = styled__default.default(StyledBase).attrs({
130
- 'data-garden-id': COMPONENT_ID$8,
131
- 'data-garden-version': '9.0.0-next.11'
130
+ 'data-garden-id': COMPONENT_ID$6,
131
+ 'data-garden-version': '9.0.0-next.13'
132
132
  }).withConfig({
133
133
  displayName: "StyledAlert",
134
134
  componentId: "sc-fyn8jp-0"
135
- })(["", " ", ";"], colorStyles$5, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$8, props));
135
+ })(["", " ", ";"], colorStyles$5, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$6, props));
136
136
  StyledAlert.defaultProps = {
137
137
  theme: reactTheming.DEFAULT_THEME
138
138
  };
139
139
 
140
- const COMPONENT_ID$7 = 'notifications.notification';
140
+ const COMPONENT_ID$5 = 'notifications.notification';
141
141
  const colorStyles$4 = props => {
142
142
  const {
143
143
  type,
@@ -172,12 +172,12 @@ const colorStyles$4 = props => {
172
172
  return styled.css(["", "{color:", ";}"], StyledTitle, color);
173
173
  };
174
174
  const StyledNotification = styled__default.default(StyledBase).attrs({
175
- 'data-garden-id': COMPONENT_ID$7,
176
- 'data-garden-version': '9.0.0-next.11'
175
+ 'data-garden-id': COMPONENT_ID$5,
176
+ 'data-garden-version': '9.0.0-next.13'
177
177
  }).withConfig({
178
178
  displayName: "StyledNotification",
179
179
  componentId: "sc-uf6jh-0"
180
- })(["", " ", ";"], colorStyles$4, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$7, props));
180
+ })(["", " ", ";"], colorStyles$4, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$5, props));
181
181
  StyledNotification.propTypes = {
182
182
  type: PropTypes__default.default.oneOf(TYPE)
183
183
  };
@@ -185,14 +185,14 @@ StyledNotification.defaultProps = {
185
185
  theme: reactTheming.DEFAULT_THEME
186
186
  };
187
187
 
188
- const COMPONENT_ID$6 = 'notifications.well';
188
+ const COMPONENT_ID$4 = 'notifications.well';
189
189
  const StyledWell = styled__default.default(StyledBase).attrs({
190
- 'data-garden-id': COMPONENT_ID$6,
191
- 'data-garden-version': '9.0.0-next.11'
190
+ 'data-garden-id': COMPONENT_ID$4,
191
+ 'data-garden-version': '9.0.0-next.13'
192
192
  }).withConfig({
193
193
  displayName: "StyledWell",
194
194
  componentId: "sc-a5831c-0"
195
- })(["background-color:", ";color:", " ", ";"], props => props.isRecessed && reactTheming.getColorV8('neutralHue', 100, props.theme), props => reactTheming.getColorV8('neutralHue', 600, props.theme), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$6, props));
195
+ })(["background-color:", ";color:", " ", ";"], props => props.isRecessed && reactTheming.getColorV8('neutralHue', 100, props.theme), props => reactTheming.getColorV8('neutralHue', 600, props.theme), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$4, props));
196
196
  StyledWell.defaultProps = {
197
197
  theme: reactTheming.DEFAULT_THEME
198
198
  };
@@ -205,7 +205,7 @@ StyledIcon.defaultProps = {
205
205
  theme: reactTheming.DEFAULT_THEME
206
206
  };
207
207
 
208
- const COMPONENT_ID$5 = 'notifications.global-alert';
208
+ const COMPONENT_ID$3 = 'notifications.global-alert';
209
209
  const colorStyles$3 = props => {
210
210
  let borderColor;
211
211
  let backgroundColor;
@@ -270,17 +270,16 @@ const sizeStyles$3 = props => {
270
270
  return styled.css(["padding:", "px;min-height:", "px;line-height:", ";font-size:", ";"], padding, minHeight, lineHeight, fontSizes.md);
271
271
  };
272
272
  const StyledGlobalAlert = styled__default.default.div.attrs({
273
- 'data-garden-id': COMPONENT_ID$5,
274
- 'data-garden-version': '9.0.0-next.11'
273
+ 'data-garden-id': COMPONENT_ID$3,
274
+ 'data-garden-version': '9.0.0-next.13'
275
275
  }).withConfig({
276
276
  displayName: "StyledGlobalAlert",
277
277
  componentId: "sc-k6rimt-0"
278
- })(["display:flex;flex-wrap:nowrap;overflow:auto;overflow-x:hidden;box-sizing:border-box;direction:", ";", " ", " && a{border-radius:", ";text-decoration:underline;}", ";"], props => props.theme.rtl ? 'rtl' : 'ltr', sizeStyles$3, colorStyles$3, props => props.theme.borderRadii.sm, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$5, props));
278
+ })(["display:flex;flex-wrap:nowrap;overflow:auto;overflow-x:hidden;box-sizing:border-box;direction:", ";", " ", " && a{border-radius:", ";text-decoration:underline;}", ";"], props => props.theme.rtl ? 'rtl' : 'ltr', sizeStyles$3, colorStyles$3, props => props.theme.borderRadii.sm, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$3, props));
279
279
  StyledGlobalAlert.defaultProps = {
280
280
  theme: reactTheming.DEFAULT_THEME
281
281
  };
282
282
 
283
- const COMPONENT_ID$4 = 'notifications.global-alert.close';
284
283
  const colorStyles$2 = props => {
285
284
  let hoverBackgroundColor;
286
285
  let hoverForegroundColor;
@@ -332,18 +331,16 @@ const sizeStyles$2 = props => {
332
331
  return styled.css(["margin:", " ", " ", " ", ";"], marginVertical, props.theme.rtl ? marginStart : marginEnd, marginVertical, props.theme.rtl ? marginEnd : marginStart);
333
332
  };
334
333
  const StyledGlobalAlertClose = styled__default.default(reactButtons.IconButton).attrs({
335
- 'data-garden-id': COMPONENT_ID$4,
336
- 'data-garden-version': '9.0.0-next.11',
334
+ 'data-garden-version': '9.0.0-next.13',
337
335
  size: 'small'
338
336
  }).withConfig({
339
337
  displayName: "StyledGlobalAlertClose",
340
338
  componentId: "sc-1g5s93s-0"
341
- })(["", ";", ";", ";"], sizeStyles$2, colorStyles$2, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$4, props));
339
+ })(["", ";", ";"], sizeStyles$2, colorStyles$2);
342
340
  StyledGlobalAlertClose.defaultProps = {
343
341
  theme: reactTheming.DEFAULT_THEME
344
342
  };
345
343
 
346
- const COMPONENT_ID$3 = 'notifications.global-alert.button';
347
344
  function colorStyles$1(props) {
348
345
  if (props.isBasic) {
349
346
  return colorStyles$2(props);
@@ -389,8 +386,7 @@ function sizeStyles$1(props) {
389
386
  return styled.css(["margin:", " ", " ", " ", ";"], marginVertical, props.theme.rtl ? marginStart : 0, marginVertical, props.theme.rtl ? 0 : marginStart);
390
387
  }
391
388
  const StyledGlobalAlertButton = styled__default.default(reactButtons.Button).attrs({
392
- 'data-garden-id': COMPONENT_ID$3,
393
- 'data-garden-version': '9.0.0-next.11',
389
+ 'data-garden-version': '9.0.0-next.13',
394
390
  focusInset: false,
395
391
  isDanger: false,
396
392
  isLink: false,
@@ -401,7 +397,7 @@ const StyledGlobalAlertButton = styled__default.default(reactButtons.Button).att
401
397
  }).withConfig({
402
398
  displayName: "StyledGlobalAlertButton",
403
399
  componentId: "sc-1txe91a-0"
404
- })(["flex-shrink:0;", ";", ";", ";"], sizeStyles$1, colorStyles$1, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$3, props));
400
+ })(["flex-shrink:0;", ";", ";"], sizeStyles$1, colorStyles$1);
405
401
  StyledGlobalAlertButton.defaultProps = {
406
402
  theme: reactTheming.DEFAULT_THEME
407
403
  };
@@ -409,7 +405,7 @@ StyledGlobalAlertButton.defaultProps = {
409
405
  const COMPONENT_ID$2 = 'notifications.global-alert.content';
410
406
  const StyledGlobalAlertContent = styled__default.default.div.attrs({
411
407
  'data-garden-id': COMPONENT_ID$2,
412
- 'data-garden-version': '9.0.0-next.11'
408
+ 'data-garden-version': '9.0.0-next.13'
413
409
  }).withConfig({
414
410
  displayName: "StyledGlobalAlertContent",
415
411
  componentId: "sc-rept0u-0"
@@ -427,7 +423,7 @@ const sizeStyles = props => {
427
423
  };
428
424
  const StyledGlobalAlertIcon = styled__default.default(reactTheming.StyledBaseIcon).attrs({
429
425
  'data-garden-id': COMPONENT_ID$1,
430
- 'data-garden-version': '9.0.0-next.11'
426
+ 'data-garden-version': '9.0.0-next.13'
431
427
  }).withConfig({
432
428
  displayName: "StyledGlobalAlertIcon",
433
429
  componentId: "sc-84ne9k-0"
@@ -455,7 +451,7 @@ const colorStyles = props => {
455
451
  };
456
452
  const StyledGlobalAlertTitle = styled__default.default.div.attrs({
457
453
  'data-garden-id': COMPONENT_ID,
458
- 'data-garden-version': '9.0.0-next.11'
454
+ 'data-garden-version': '9.0.0-next.13'
459
455
  }).withConfig({
460
456
  displayName: "StyledGlobalAlertTitle",
461
457
  componentId: "sc-10clqbo-0"
@@ -465,7 +461,7 @@ StyledGlobalAlertTitle.defaultProps = {
465
461
  };
466
462
 
467
463
  var _g$2, _circle$2;
468
- 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); }
464
+ function _extends$5() { return _extends$5 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$5.apply(null, arguments); }
469
465
  var SvgAlertErrorStroke = function SvgAlertErrorStroke(props) {
470
466
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
471
467
  xmlns: "http://www.w3.org/2000/svg",
@@ -493,7 +489,7 @@ var SvgAlertErrorStroke = function SvgAlertErrorStroke(props) {
493
489
  };
494
490
 
495
491
  var _g$1;
496
- 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); }
492
+ function _extends$4() { return _extends$4 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$4.apply(null, arguments); }
497
493
  var SvgCheckCircleStroke = function SvgCheckCircleStroke(props) {
498
494
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({
499
495
  xmlns: "http://www.w3.org/2000/svg",
@@ -517,7 +513,7 @@ var SvgCheckCircleStroke = function SvgCheckCircleStroke(props) {
517
513
  };
518
514
 
519
515
  var _path$2, _circle$1;
520
- 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); }
516
+ function _extends$3() { return _extends$3 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$3.apply(null, arguments); }
521
517
  var SvgAlertWarningStroke = function SvgAlertWarningStroke(props) {
522
518
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({
523
519
  xmlns: "http://www.w3.org/2000/svg",
@@ -540,7 +536,7 @@ var SvgAlertWarningStroke = function SvgAlertWarningStroke(props) {
540
536
  };
541
537
 
542
538
  var _g, _circle;
543
- 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); }
539
+ function _extends$2() { return _extends$2 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$2.apply(null, arguments); }
544
540
  var SvgInfoStroke = function SvgInfoStroke(props) {
545
541
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({
546
542
  xmlns: "http://www.w3.org/2000/svg",
@@ -596,7 +592,7 @@ const Paragraph = React__namespace.default.forwardRef((props, ref) => React__nam
596
592
  Paragraph.displayName = 'Paragraph';
597
593
 
598
594
  var _path$1;
599
- 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); }
595
+ function _extends$1() { return _extends$1 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$1.apply(null, arguments); }
600
596
  var SvgXStroke$1 = function SvgXStroke(props) {
601
597
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
602
598
  xmlns: "http://www.w3.org/2000/svg",
@@ -1052,7 +1048,7 @@ GlobalAlertButton.propTypes = {
1052
1048
  };
1053
1049
 
1054
1050
  var _path;
1055
- 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); }
1051
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
1056
1052
  var SvgXStroke = function SvgXStroke(props) {
1057
1053
  return /*#__PURE__*/React__namespace.createElement("svg", _extends({
1058
1054
  xmlns: "http://www.w3.org/2000/svg",
@@ -21,7 +21,6 @@ export declare const StyledGlobalAlertButton: import("styled-components").Styled
21
21
  displayName: string;
22
22
  };
23
23
  }, DefaultTheme, {
24
- 'data-garden-id': string;
25
24
  'data-garden-version': string;
26
25
  focusInset: false;
27
26
  isDanger: false;
@@ -30,5 +29,5 @@ export declare const StyledGlobalAlertButton: import("styled-components").Styled
30
29
  isPill: false;
31
30
  isStretched: false;
32
31
  size: "small";
33
- } & IStyledGlobalAlertButtonProps, "size" | "isDanger" | "isStretched" | "isNeutral" | "isLink" | "isPill" | "focusInset" | "data-garden-id" | "data-garden-version">;
32
+ } & IStyledGlobalAlertButtonProps, "size" | "isDanger" | "isStretched" | "isNeutral" | "isLink" | "isPill" | "focusInset" | "data-garden-version">;
34
33
  export {};
@@ -12,8 +12,7 @@ interface IStyledGlobalAlertCloseProps {
12
12
  }
13
13
  export declare const colorStyles: (props: ThemeProps<DefaultTheme> & IStyledGlobalAlertCloseProps) => import("styled-components").FlattenSimpleInterpolation;
14
14
  export declare const StyledGlobalAlertClose: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@zendeskgarden/react-buttons").IIconButtonProps & import("react").RefAttributes<HTMLButtonElement>>, DefaultTheme, {
15
- 'data-garden-id': string;
16
15
  'data-garden-version': string;
17
16
  size: "small";
18
- } & IStyledGlobalAlertCloseProps, "size" | "data-garden-id" | "data-garden-version">;
17
+ } & IStyledGlobalAlertCloseProps, "size" | "data-garden-version">;
19
18
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zendeskgarden/react-notifications",
3
- "version": "9.0.0-next.11",
3
+ "version": "9.0.0-next.13",
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,8 +21,8 @@
21
21
  "sideEffects": false,
22
22
  "types": "dist/typings/index.d.ts",
23
23
  "dependencies": {
24
- "@zendeskgarden/react-buttons": "^9.0.0-next.11",
25
- "polished": "^4.1.1",
24
+ "@zendeskgarden/react-buttons": "^9.0.0-next.13",
25
+ "polished": "^4.3.1",
26
26
  "prop-types": "^15.5.7",
27
27
  "react-transition-group": "^4.4.2",
28
28
  "react-uid": "^2.3.1"
@@ -35,8 +35,8 @@
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/react-transition-group": "4.4.10",
38
- "@zendeskgarden/react-theming": "^9.0.0-next.11",
39
- "@zendeskgarden/svg-icons": "7.0.0"
38
+ "@zendeskgarden/react-theming": "^9.0.0-next.13",
39
+ "@zendeskgarden/svg-icons": "7.1.1"
40
40
  },
41
41
  "keywords": [
42
42
  "components",
@@ -47,6 +47,5 @@
47
47
  "publishConfig": {
48
48
  "access": "public"
49
49
  },
50
- "zendeskgarden:src": "src/index.ts",
51
- "gitHead": "0de1cc664807bd993ccd3beeb78e8fd1f3828320"
50
+ "zendeskgarden:src": "src/index.ts"
52
51
  }
package/LICENSE.md DELETED
@@ -1,176 +0,0 @@
1
- Apache License
2
- Version 2.0, January 2004
3
- http://www.apache.org/licenses/
4
-
5
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
-
7
- 1. Definitions.
8
-
9
- "License" shall mean the terms and conditions for use, reproduction,
10
- and distribution as defined by Sections 1 through 9 of this document.
11
-
12
- "Licensor" shall mean the copyright owner or entity authorized by
13
- the copyright owner that is granting the License.
14
-
15
- "Legal Entity" shall mean the union of the acting entity and all
16
- other entities that control, are controlled by, or are under common
17
- control with that entity. For the purposes of this definition,
18
- "control" means (i) the power, direct or indirect, to cause the
19
- direction or management of such entity, whether by contract or
20
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
- outstanding shares, or (iii) beneficial ownership of such entity.
22
-
23
- "You" (or "Your") shall mean an individual or Legal Entity
24
- exercising permissions granted by this License.
25
-
26
- "Source" form shall mean the preferred form for making modifications,
27
- including but not limited to software source code, documentation
28
- source, and configuration files.
29
-
30
- "Object" form shall mean any form resulting from mechanical
31
- transformation or translation of a Source form, including but
32
- not limited to compiled object code, generated documentation,
33
- and conversions to other media types.
34
-
35
- "Work" shall mean the work of authorship, whether in Source or
36
- Object form, made available under the License, as indicated by a
37
- copyright notice that is included in or attached to the work
38
- (an example is provided in the Appendix below).
39
-
40
- "Derivative Works" shall mean any work, whether in Source or Object
41
- form, that is based on (or derived from) the Work and for which the
42
- editorial revisions, annotations, elaborations, or other modifications
43
- represent, as a whole, an original work of authorship. For the purposes
44
- of this License, Derivative Works shall not include works that remain
45
- separable from, or merely link (or bind by name) to the interfaces of,
46
- the Work and Derivative Works thereof.
47
-
48
- "Contribution" shall mean any work of authorship, including
49
- the original version of the Work and any modifications or additions
50
- to that Work or Derivative Works thereof, that is intentionally
51
- submitted to Licensor for inclusion in the Work by the copyright owner
52
- or by an individual or Legal Entity authorized to submit on behalf of
53
- the copyright owner. For the purposes of this definition, "submitted"
54
- means any form of electronic, verbal, or written communication sent
55
- to the Licensor or its representatives, including but not limited to
56
- communication on electronic mailing lists, source code control systems,
57
- and issue tracking systems that are managed by, or on behalf of, the
58
- Licensor for the purpose of discussing and improving the Work, but
59
- excluding communication that is conspicuously marked or otherwise
60
- designated in writing by the copyright owner as "Not a Contribution."
61
-
62
- "Contributor" shall mean Licensor and any individual or Legal Entity
63
- on behalf of whom a Contribution has been received by Licensor and
64
- subsequently incorporated within the Work.
65
-
66
- 2. Grant of Copyright License. Subject to the terms and conditions of
67
- this License, each Contributor hereby grants to You a perpetual,
68
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
- copyright license to reproduce, prepare Derivative Works of,
70
- publicly display, publicly perform, sublicense, and distribute the
71
- Work and such Derivative Works in Source or Object form.
72
-
73
- 3. Grant of Patent License. Subject to the terms and conditions of
74
- this License, each Contributor hereby grants to You a perpetual,
75
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
- (except as stated in this section) patent license to make, have made,
77
- use, offer to sell, sell, import, and otherwise transfer the Work,
78
- where such license applies only to those patent claims licensable
79
- by such Contributor that are necessarily infringed by their
80
- Contribution(s) alone or by combination of their Contribution(s)
81
- with the Work to which such Contribution(s) was submitted. If You
82
- institute patent litigation against any entity (including a
83
- cross-claim or counterclaim in a lawsuit) alleging that the Work
84
- or a Contribution incorporated within the Work constitutes direct
85
- or contributory patent infringement, then any patent licenses
86
- granted to You under this License for that Work shall terminate
87
- as of the date such litigation is filed.
88
-
89
- 4. Redistribution. You may reproduce and distribute copies of the
90
- Work or Derivative Works thereof in any medium, with or without
91
- modifications, and in Source or Object form, provided that You
92
- meet the following conditions:
93
-
94
- (a) You must give any other recipients of the Work or
95
- Derivative Works a copy of this License; and
96
-
97
- (b) You must cause any modified files to carry prominent notices
98
- stating that You changed the files; and
99
-
100
- (c) You must retain, in the Source form of any Derivative Works
101
- that You distribute, all copyright, patent, trademark, and
102
- attribution notices from the Source form of the Work,
103
- excluding those notices that do not pertain to any part of
104
- the Derivative Works; and
105
-
106
- (d) If the Work includes a "NOTICE" text file as part of its
107
- distribution, then any Derivative Works that You distribute must
108
- include a readable copy of the attribution notices contained
109
- within such NOTICE file, excluding those notices that do not
110
- pertain to any part of the Derivative Works, in at least one
111
- of the following places: within a NOTICE text file distributed
112
- as part of the Derivative Works; within the Source form or
113
- documentation, if provided along with the Derivative Works; or,
114
- within a display generated by the Derivative Works, if and
115
- wherever such third-party notices normally appear. The contents
116
- of the NOTICE file are for informational purposes only and
117
- do not modify the License. You may add Your own attribution
118
- notices within Derivative Works that You distribute, alongside
119
- or as an addendum to the NOTICE text from the Work, provided
120
- that such additional attribution notices cannot be construed
121
- as modifying the License.
122
-
123
- You may add Your own copyright statement to Your modifications and
124
- may provide additional or different license terms and conditions
125
- for use, reproduction, or distribution of Your modifications, or
126
- for any such Derivative Works as a whole, provided Your use,
127
- reproduction, and distribution of the Work otherwise complies with
128
- the conditions stated in this License.
129
-
130
- 5. Submission of Contributions. Unless You explicitly state otherwise,
131
- any Contribution intentionally submitted for inclusion in the Work
132
- by You to the Licensor shall be under the terms and conditions of
133
- this License, without any additional terms or conditions.
134
- Notwithstanding the above, nothing herein shall supersede or modify
135
- the terms of any separate license agreement you may have executed
136
- with Licensor regarding such Contributions.
137
-
138
- 6. Trademarks. This License does not grant permission to use the trade
139
- names, trademarks, service marks, or product names of the Licensor,
140
- except as required for reasonable and customary use in describing the
141
- origin of the Work and reproducing the content of the NOTICE file.
142
-
143
- 7. Disclaimer of Warranty. Unless required by applicable law or
144
- agreed to in writing, Licensor provides the Work (and each
145
- Contributor provides its Contributions) on an "AS IS" BASIS,
146
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
- implied, including, without limitation, any warranties or conditions
148
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
- PARTICULAR PURPOSE. You are solely responsible for determining the
150
- appropriateness of using or redistributing the Work and assume any
151
- risks associated with Your exercise of permissions under this License.
152
-
153
- 8. Limitation of Liability. In no event and under no legal theory,
154
- whether in tort (including negligence), contract, or otherwise,
155
- unless required by applicable law (such as deliberate and grossly
156
- negligent acts) or agreed to in writing, shall any Contributor be
157
- liable to You for damages, including any direct, indirect, special,
158
- incidental, or consequential damages of any character arising as a
159
- result of this License or out of the use or inability to use the
160
- Work (including but not limited to damages for loss of goodwill,
161
- work stoppage, computer failure or malfunction, or any and all
162
- other commercial damages or losses), even if such Contributor
163
- has been advised of the possibility of such damages.
164
-
165
- 9. Accepting Warranty or Additional Liability. While redistributing
166
- the Work or Derivative Works thereof, You may choose to offer,
167
- and charge a fee for, acceptance of support, warranty, indemnity,
168
- or other liability obligations and/or rights consistent with this
169
- License. However, in accepting such obligations, You may act only
170
- on Your own behalf and on Your sole responsibility, not on behalf
171
- of any other Contributor, and only if You agree to indemnify,
172
- defend, and hold each Contributor harmless for any liability
173
- incurred by, or claims asserted against, such Contributor by reason
174
- of your accepting any such warranty or additional liability.
175
-
176
- END OF TERMS AND CONDITIONS