@zendeskgarden/react-notifications 8.69.3 → 8.69.4
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 +12 -12
- package/dist/index.esm.js +12 -12
- package/dist/typings/index.d.ts +3 -4
- package/package.json +4 -4
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.69.
|
|
63
|
+
'data-garden-version': '8.69.4'
|
|
64
64
|
}).withConfig({
|
|
65
65
|
displayName: "StyledClose",
|
|
66
66
|
componentId: "sc-1mr9nx1-0"
|
|
@@ -75,7 +75,7 @@ StyledClose.defaultProps = {
|
|
|
75
75
|
const COMPONENT_ID$a = 'notifications.paragraph';
|
|
76
76
|
const StyledParagraph = styled__default.default.p.attrs({
|
|
77
77
|
'data-garden-id': COMPONENT_ID$a,
|
|
78
|
-
'data-garden-version': '8.69.
|
|
78
|
+
'data-garden-version': '8.69.4'
|
|
79
79
|
}).withConfig({
|
|
80
80
|
displayName: "StyledParagraph",
|
|
81
81
|
componentId: "sc-12tmd6p-0"
|
|
@@ -87,7 +87,7 @@ StyledParagraph.defaultProps = {
|
|
|
87
87
|
const COMPONENT_ID$9 = 'notifications.title';
|
|
88
88
|
const StyledTitle = styled__default.default.div.attrs({
|
|
89
89
|
'data-garden-id': COMPONENT_ID$9,
|
|
90
|
-
'data-garden-version': '8.69.
|
|
90
|
+
'data-garden-version': '8.69.4'
|
|
91
91
|
}).withConfig({
|
|
92
92
|
displayName: "StyledTitle",
|
|
93
93
|
componentId: "sc-xx4jsv-0"
|
|
@@ -144,7 +144,7 @@ const COMPONENT_ID$8 = 'notifications.alert';
|
|
|
144
144
|
const colorStyles$5 = props => styled.css(["", "{color:", ";}"], StyledTitle, props.hue && reactTheming.getColor(props.hue, 800, props.theme));
|
|
145
145
|
const StyledAlert = styled__default.default(StyledBase).attrs(props => ({
|
|
146
146
|
'data-garden-id': COMPONENT_ID$8,
|
|
147
|
-
'data-garden-version': '8.69.
|
|
147
|
+
'data-garden-version': '8.69.4',
|
|
148
148
|
role: props.role === undefined ? 'alert' : props.role
|
|
149
149
|
})).withConfig({
|
|
150
150
|
displayName: "StyledAlert",
|
|
@@ -191,7 +191,7 @@ const colorStyles$4 = props => {
|
|
|
191
191
|
};
|
|
192
192
|
const StyledNotification = styled__default.default(StyledBase).attrs({
|
|
193
193
|
'data-garden-id': COMPONENT_ID$7,
|
|
194
|
-
'data-garden-version': '8.69.
|
|
194
|
+
'data-garden-version': '8.69.4'
|
|
195
195
|
}).withConfig({
|
|
196
196
|
displayName: "StyledNotification",
|
|
197
197
|
componentId: "sc-uf6jh-0"
|
|
@@ -206,7 +206,7 @@ StyledNotification.defaultProps = {
|
|
|
206
206
|
const COMPONENT_ID$6 = 'notifications.well';
|
|
207
207
|
const StyledWell = styled__default.default(StyledBase).attrs({
|
|
208
208
|
'data-garden-id': COMPONENT_ID$6,
|
|
209
|
-
'data-garden-version': '8.69.
|
|
209
|
+
'data-garden-version': '8.69.4'
|
|
210
210
|
}).withConfig({
|
|
211
211
|
displayName: "StyledWell",
|
|
212
212
|
componentId: "sc-a5831c-0"
|
|
@@ -293,7 +293,7 @@ const sizeStyles$3 = props => {
|
|
|
293
293
|
};
|
|
294
294
|
const StyledGlobalAlert = styled__default.default.div.attrs({
|
|
295
295
|
'data-garden-id': COMPONENT_ID$5,
|
|
296
|
-
'data-garden-version': '8.69.
|
|
296
|
+
'data-garden-version': '8.69.4'
|
|
297
297
|
}).withConfig({
|
|
298
298
|
displayName: "StyledGlobalAlert",
|
|
299
299
|
componentId: "sc-k6rimt-0"
|
|
@@ -353,7 +353,7 @@ const sizeStyles$2 = props => {
|
|
|
353
353
|
};
|
|
354
354
|
const StyledGlobalAlertClose = styled__default.default(reactButtons.IconButton).attrs({
|
|
355
355
|
'data-garden-id': COMPONENT_ID$4,
|
|
356
|
-
'data-garden-version': '8.69.
|
|
356
|
+
'data-garden-version': '8.69.4',
|
|
357
357
|
size: 'small'
|
|
358
358
|
}).withConfig({
|
|
359
359
|
displayName: "StyledGlobalAlertClose",
|
|
@@ -408,7 +408,7 @@ function sizeStyles$1(props) {
|
|
|
408
408
|
}
|
|
409
409
|
const StyledGlobalAlertButton = styled__default.default(reactButtons.Button).attrs({
|
|
410
410
|
'data-garden-id': COMPONENT_ID$3,
|
|
411
|
-
'data-garden-version': '8.69.
|
|
411
|
+
'data-garden-version': '8.69.4',
|
|
412
412
|
focusInset: false,
|
|
413
413
|
isDanger: false,
|
|
414
414
|
isLink: false,
|
|
@@ -427,7 +427,7 @@ StyledGlobalAlertButton.defaultProps = {
|
|
|
427
427
|
const COMPONENT_ID$2 = 'notifications.global-alert.content';
|
|
428
428
|
const StyledGlobalAlertContent = styled__default.default.div.attrs({
|
|
429
429
|
'data-garden-id': COMPONENT_ID$2,
|
|
430
|
-
'data-garden-version': '8.69.
|
|
430
|
+
'data-garden-version': '8.69.4'
|
|
431
431
|
}).withConfig({
|
|
432
432
|
displayName: "StyledGlobalAlertContent",
|
|
433
433
|
componentId: "sc-rept0u-0"
|
|
@@ -451,7 +451,7 @@ const StyledGlobalAlertIcon = styled__default.default(_ref => {
|
|
|
451
451
|
return React__namespace.default.cloneElement(React.Children.only(children), props);
|
|
452
452
|
}).attrs({
|
|
453
453
|
'data-garden-id': COMPONENT_ID$1,
|
|
454
|
-
'data-garden-version': '8.69.
|
|
454
|
+
'data-garden-version': '8.69.4'
|
|
455
455
|
}).withConfig({
|
|
456
456
|
displayName: "StyledGlobalAlertIcon",
|
|
457
457
|
componentId: "sc-84ne9k-0"
|
|
@@ -479,7 +479,7 @@ const colorStyles = props => {
|
|
|
479
479
|
};
|
|
480
480
|
const StyledGlobalAlertTitle = styled__default.default.div.attrs({
|
|
481
481
|
'data-garden-id': COMPONENT_ID,
|
|
482
|
-
'data-garden-version': '8.69.
|
|
482
|
+
'data-garden-version': '8.69.4'
|
|
483
483
|
}).withConfig({
|
|
484
484
|
displayName: "StyledGlobalAlertTitle",
|
|
485
485
|
componentId: "sc-10clqbo-0"
|
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.69.
|
|
38
|
+
'data-garden-version': '8.69.4'
|
|
39
39
|
}).withConfig({
|
|
40
40
|
displayName: "StyledClose",
|
|
41
41
|
componentId: "sc-1mr9nx1-0"
|
|
@@ -50,7 +50,7 @@ StyledClose.defaultProps = {
|
|
|
50
50
|
const COMPONENT_ID$a = 'notifications.paragraph';
|
|
51
51
|
const StyledParagraph = styled.p.attrs({
|
|
52
52
|
'data-garden-id': COMPONENT_ID$a,
|
|
53
|
-
'data-garden-version': '8.69.
|
|
53
|
+
'data-garden-version': '8.69.4'
|
|
54
54
|
}).withConfig({
|
|
55
55
|
displayName: "StyledParagraph",
|
|
56
56
|
componentId: "sc-12tmd6p-0"
|
|
@@ -62,7 +62,7 @@ StyledParagraph.defaultProps = {
|
|
|
62
62
|
const COMPONENT_ID$9 = 'notifications.title';
|
|
63
63
|
const StyledTitle = styled.div.attrs({
|
|
64
64
|
'data-garden-id': COMPONENT_ID$9,
|
|
65
|
-
'data-garden-version': '8.69.
|
|
65
|
+
'data-garden-version': '8.69.4'
|
|
66
66
|
}).withConfig({
|
|
67
67
|
displayName: "StyledTitle",
|
|
68
68
|
componentId: "sc-xx4jsv-0"
|
|
@@ -119,7 +119,7 @@ const COMPONENT_ID$8 = 'notifications.alert';
|
|
|
119
119
|
const colorStyles$5 = props => css(["", "{color:", ";}"], StyledTitle, props.hue && getColor(props.hue, 800, props.theme));
|
|
120
120
|
const StyledAlert = styled(StyledBase).attrs(props => ({
|
|
121
121
|
'data-garden-id': COMPONENT_ID$8,
|
|
122
|
-
'data-garden-version': '8.69.
|
|
122
|
+
'data-garden-version': '8.69.4',
|
|
123
123
|
role: props.role === undefined ? 'alert' : props.role
|
|
124
124
|
})).withConfig({
|
|
125
125
|
displayName: "StyledAlert",
|
|
@@ -166,7 +166,7 @@ const colorStyles$4 = props => {
|
|
|
166
166
|
};
|
|
167
167
|
const StyledNotification = styled(StyledBase).attrs({
|
|
168
168
|
'data-garden-id': COMPONENT_ID$7,
|
|
169
|
-
'data-garden-version': '8.69.
|
|
169
|
+
'data-garden-version': '8.69.4'
|
|
170
170
|
}).withConfig({
|
|
171
171
|
displayName: "StyledNotification",
|
|
172
172
|
componentId: "sc-uf6jh-0"
|
|
@@ -181,7 +181,7 @@ StyledNotification.defaultProps = {
|
|
|
181
181
|
const COMPONENT_ID$6 = 'notifications.well';
|
|
182
182
|
const StyledWell = styled(StyledBase).attrs({
|
|
183
183
|
'data-garden-id': COMPONENT_ID$6,
|
|
184
|
-
'data-garden-version': '8.69.
|
|
184
|
+
'data-garden-version': '8.69.4'
|
|
185
185
|
}).withConfig({
|
|
186
186
|
displayName: "StyledWell",
|
|
187
187
|
componentId: "sc-a5831c-0"
|
|
@@ -268,7 +268,7 @@ const sizeStyles$3 = props => {
|
|
|
268
268
|
};
|
|
269
269
|
const StyledGlobalAlert = styled.div.attrs({
|
|
270
270
|
'data-garden-id': COMPONENT_ID$5,
|
|
271
|
-
'data-garden-version': '8.69.
|
|
271
|
+
'data-garden-version': '8.69.4'
|
|
272
272
|
}).withConfig({
|
|
273
273
|
displayName: "StyledGlobalAlert",
|
|
274
274
|
componentId: "sc-k6rimt-0"
|
|
@@ -328,7 +328,7 @@ const sizeStyles$2 = props => {
|
|
|
328
328
|
};
|
|
329
329
|
const StyledGlobalAlertClose = styled(IconButton).attrs({
|
|
330
330
|
'data-garden-id': COMPONENT_ID$4,
|
|
331
|
-
'data-garden-version': '8.69.
|
|
331
|
+
'data-garden-version': '8.69.4',
|
|
332
332
|
size: 'small'
|
|
333
333
|
}).withConfig({
|
|
334
334
|
displayName: "StyledGlobalAlertClose",
|
|
@@ -383,7 +383,7 @@ function sizeStyles$1(props) {
|
|
|
383
383
|
}
|
|
384
384
|
const StyledGlobalAlertButton = styled(Button).attrs({
|
|
385
385
|
'data-garden-id': COMPONENT_ID$3,
|
|
386
|
-
'data-garden-version': '8.69.
|
|
386
|
+
'data-garden-version': '8.69.4',
|
|
387
387
|
focusInset: false,
|
|
388
388
|
isDanger: false,
|
|
389
389
|
isLink: false,
|
|
@@ -402,7 +402,7 @@ StyledGlobalAlertButton.defaultProps = {
|
|
|
402
402
|
const COMPONENT_ID$2 = 'notifications.global-alert.content';
|
|
403
403
|
const StyledGlobalAlertContent = styled.div.attrs({
|
|
404
404
|
'data-garden-id': COMPONENT_ID$2,
|
|
405
|
-
'data-garden-version': '8.69.
|
|
405
|
+
'data-garden-version': '8.69.4'
|
|
406
406
|
}).withConfig({
|
|
407
407
|
displayName: "StyledGlobalAlertContent",
|
|
408
408
|
componentId: "sc-rept0u-0"
|
|
@@ -426,7 +426,7 @@ const StyledGlobalAlertIcon = styled(_ref => {
|
|
|
426
426
|
return React__default.cloneElement(Children.only(children), props);
|
|
427
427
|
}).attrs({
|
|
428
428
|
'data-garden-id': COMPONENT_ID$1,
|
|
429
|
-
'data-garden-version': '8.69.
|
|
429
|
+
'data-garden-version': '8.69.4'
|
|
430
430
|
}).withConfig({
|
|
431
431
|
displayName: "StyledGlobalAlertIcon",
|
|
432
432
|
componentId: "sc-84ne9k-0"
|
|
@@ -454,7 +454,7 @@ const colorStyles = props => {
|
|
|
454
454
|
};
|
|
455
455
|
const StyledGlobalAlertTitle = styled.div.attrs({
|
|
456
456
|
'data-garden-id': COMPONENT_ID,
|
|
457
|
-
'data-garden-version': '8.69.
|
|
457
|
+
'data-garden-version': '8.69.4'
|
|
458
458
|
}).withConfig({
|
|
459
459
|
displayName: "StyledGlobalAlertTitle",
|
|
460
460
|
componentId: "sc-10clqbo-0"
|
package/dist/typings/index.d.ts
CHANGED
|
@@ -11,11 +11,10 @@ export { Close } from './elements/content/Close';
|
|
|
11
11
|
export { Paragraph } from './elements/content/Paragraph';
|
|
12
12
|
export { Title } from './elements/content/Title';
|
|
13
13
|
export { ToastProvider } from './elements/toaster/ToastProvider';
|
|
14
|
-
export { useToast
|
|
14
|
+
export { useToast, type IToastOptions, type IToast,
|
|
15
|
+
/** @deprecated can be dereferenced via IToast['content'] */
|
|
16
|
+
type Content as ToastContent } from './elements/toaster/useToast';
|
|
15
17
|
export { GlobalAlert } from './elements/global-alert/GlobalAlert';
|
|
16
18
|
export type { IAlertProps, INotificationProps, IWellProps, ITitleProps, IToastProviderProps, IGlobalAlertProps, IGlobalAlertButtonProps, IGlobalAlertTitleProps,
|
|
17
19
|
/** @deprecated can be dereferenced via IToastOptions['placement'] */
|
|
18
20
|
Placement as ToastPlacement } from './types';
|
|
19
|
-
export type { IToastOptions, IToast,
|
|
20
|
-
/** @deprecated can be dereferenced via IToast['content'] */
|
|
21
|
-
Content as ToastContent } from './elements/toaster/useToast';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zendeskgarden/react-notifications",
|
|
3
|
-
"version": "8.69.
|
|
3
|
+
"version": "8.69.4",
|
|
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.69.
|
|
24
|
+
"@zendeskgarden/react-buttons": "^8.69.4",
|
|
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.6",
|
|
38
|
-
"@zendeskgarden/react-theming": "^8.69.
|
|
38
|
+
"@zendeskgarden/react-theming": "^8.69.4",
|
|
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": "
|
|
51
|
+
"gitHead": "4911fa867a3c7e72f0c78dcea8748893c3070c17"
|
|
52
52
|
}
|