@zendeskgarden/react-notifications 9.0.0-next.11 → 9.0.0-next.12
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/esm/styled/StyledAlert.js +1 -1
- package/dist/esm/styled/StyledNotification.js +1 -1
- package/dist/esm/styled/StyledWell.js +1 -1
- package/dist/esm/styled/content/StyledClose.js +1 -1
- package/dist/esm/styled/content/StyledParagraph.js +1 -1
- package/dist/esm/styled/content/StyledTitle.js +1 -1
- package/dist/esm/styled/global-alert/StyledGlobalAlert.js +1 -1
- package/dist/esm/styled/global-alert/StyledGlobalAlertButton.js +3 -5
- package/dist/esm/styled/global-alert/StyledGlobalAlertClose.js +3 -5
- package/dist/esm/styled/global-alert/StyledGlobalAlertContent.js +1 -1
- package/dist/esm/styled/global-alert/StyledGlobalAlertIcon.js +1 -1
- package/dist/esm/styled/global-alert/StyledGlobalAlertTitle.js +1 -1
- package/dist/index.cjs.js +35 -39
- package/dist/typings/styled/global-alert/StyledGlobalAlertButton.d.ts +1 -2
- package/dist/typings/styled/global-alert/StyledGlobalAlertClose.d.ts +1 -2
- package/package.json +4 -4
|
@@ -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.
|
|
16
|
+
'data-garden-version': '9.0.0-next.12'
|
|
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.
|
|
50
|
+
'data-garden-version': '9.0.0-next.12'
|
|
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.
|
|
14
|
+
'data-garden-version': '9.0.0-next.12'
|
|
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.
|
|
13
|
+
'data-garden-version': '9.0.0-next.12'
|
|
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.
|
|
13
|
+
'data-garden-version': '9.0.0-next.12'
|
|
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.
|
|
13
|
+
'data-garden-version': '9.0.0-next.12'
|
|
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.
|
|
76
|
+
'data-garden-version': '9.0.0-next.12'
|
|
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 {
|
|
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-
|
|
59
|
-
'data-garden-version': '9.0.0-next.11',
|
|
57
|
+
'data-garden-version': '9.0.0-next.12',
|
|
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;", ";", ";"
|
|
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 {
|
|
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-
|
|
64
|
-
'data-garden-version': '9.0.0-next.11',
|
|
62
|
+
'data-garden-version': '9.0.0-next.12',
|
|
65
63
|
size: 'small'
|
|
66
64
|
}).withConfig({
|
|
67
65
|
displayName: "StyledGlobalAlertClose",
|
|
68
66
|
componentId: "sc-1g5s93s-0"
|
|
69
|
-
})(["", ";", ";"
|
|
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.
|
|
13
|
+
'data-garden-version': '9.0.0-next.12'
|
|
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.
|
|
20
|
+
'data-garden-version': '9.0.0-next.12'
|
|
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.
|
|
29
|
+
'data-garden-version': '9.0.0-next.12'
|
|
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$
|
|
44
|
+
const COMPONENT_ID$9 = 'notifications.close';
|
|
45
45
|
const StyledClose = styled__default.default.button.attrs({
|
|
46
|
-
'data-garden-id': COMPONENT_ID$
|
|
47
|
-
'data-garden-version': '9.0.0-next.
|
|
46
|
+
'data-garden-id': COMPONENT_ID$9,
|
|
47
|
+
'data-garden-version': '9.0.0-next.12'
|
|
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$
|
|
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$
|
|
59
|
+
const COMPONENT_ID$8 = 'notifications.paragraph';
|
|
60
60
|
const StyledParagraph = styled__default.default.p.attrs({
|
|
61
|
-
'data-garden-id': COMPONENT_ID$
|
|
62
|
-
'data-garden-version': '9.0.0-next.
|
|
61
|
+
'data-garden-id': COMPONENT_ID$8,
|
|
62
|
+
'data-garden-version': '9.0.0-next.12'
|
|
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$
|
|
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$
|
|
71
|
+
const COMPONENT_ID$7 = 'notifications.title';
|
|
72
72
|
const StyledTitle = styled__default.default.div.attrs({
|
|
73
|
-
'data-garden-id': COMPONENT_ID$
|
|
74
|
-
'data-garden-version': '9.0.0-next.
|
|
73
|
+
'data-garden-id': COMPONENT_ID$7,
|
|
74
|
+
'data-garden-version': '9.0.0-next.12'
|
|
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$
|
|
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$
|
|
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$
|
|
131
|
-
'data-garden-version': '9.0.0-next.
|
|
130
|
+
'data-garden-id': COMPONENT_ID$6,
|
|
131
|
+
'data-garden-version': '9.0.0-next.12'
|
|
132
132
|
}).withConfig({
|
|
133
133
|
displayName: "StyledAlert",
|
|
134
134
|
componentId: "sc-fyn8jp-0"
|
|
135
|
-
})(["", " ", ";"], colorStyles$5, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$
|
|
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$
|
|
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$
|
|
176
|
-
'data-garden-version': '9.0.0-next.
|
|
175
|
+
'data-garden-id': COMPONENT_ID$5,
|
|
176
|
+
'data-garden-version': '9.0.0-next.12'
|
|
177
177
|
}).withConfig({
|
|
178
178
|
displayName: "StyledNotification",
|
|
179
179
|
componentId: "sc-uf6jh-0"
|
|
180
|
-
})(["", " ", ";"], colorStyles$4, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$
|
|
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$
|
|
188
|
+
const COMPONENT_ID$4 = 'notifications.well';
|
|
189
189
|
const StyledWell = styled__default.default(StyledBase).attrs({
|
|
190
|
-
'data-garden-id': COMPONENT_ID$
|
|
191
|
-
'data-garden-version': '9.0.0-next.
|
|
190
|
+
'data-garden-id': COMPONENT_ID$4,
|
|
191
|
+
'data-garden-version': '9.0.0-next.12'
|
|
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$
|
|
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$
|
|
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$
|
|
274
|
-
'data-garden-version': '9.0.0-next.
|
|
273
|
+
'data-garden-id': COMPONENT_ID$3,
|
|
274
|
+
'data-garden-version': '9.0.0-next.12'
|
|
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$
|
|
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-
|
|
336
|
-
'data-garden-version': '9.0.0-next.11',
|
|
334
|
+
'data-garden-version': '9.0.0-next.12',
|
|
337
335
|
size: 'small'
|
|
338
336
|
}).withConfig({
|
|
339
337
|
displayName: "StyledGlobalAlertClose",
|
|
340
338
|
componentId: "sc-1g5s93s-0"
|
|
341
|
-
})(["", ";", ";"
|
|
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-
|
|
393
|
-
'data-garden-version': '9.0.0-next.11',
|
|
389
|
+
'data-garden-version': '9.0.0-next.12',
|
|
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;", ";", ";"
|
|
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.
|
|
408
|
+
'data-garden-version': '9.0.0-next.12'
|
|
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.
|
|
426
|
+
'data-garden-version': '9.0.0-next.12'
|
|
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.
|
|
454
|
+
'data-garden-version': '9.0.0-next.12'
|
|
459
455
|
}).withConfig({
|
|
460
456
|
displayName: "StyledGlobalAlertTitle",
|
|
461
457
|
componentId: "sc-10clqbo-0"
|
|
@@ -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-
|
|
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-
|
|
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.
|
|
3
|
+
"version": "9.0.0-next.12",
|
|
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": "^9.0.0-next.
|
|
24
|
+
"@zendeskgarden/react-buttons": "^9.0.0-next.12",
|
|
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.10",
|
|
38
|
-
"@zendeskgarden/react-theming": "^9.0.0-next.
|
|
38
|
+
"@zendeskgarden/react-theming": "^9.0.0-next.12",
|
|
39
39
|
"@zendeskgarden/svg-icons": "7.0.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": "
|
|
51
|
+
"gitHead": "7925ff78236795111e2953efbce549839df3a86d"
|
|
52
52
|
}
|