@carbon/react 1.41.1 → 1.41.2
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/.playwright/INTERNAL_AVT_REPORT_DO_NOT_USE.json +630 -630
- package/es/components/FileUploader/FileUploaderDropContainer.d.ts +1 -1
- package/es/components/Notification/Notification.d.ts +8 -8
- package/lib/components/FileUploader/FileUploaderDropContainer.d.ts +1 -1
- package/lib/components/Notification/Notification.d.ts +8 -8
- package/package.json +4 -4
|
@@ -28,7 +28,7 @@ export interface FileUploaderDropContainerProps extends Omit<ReactAttr<HTMLButto
|
|
|
28
28
|
* Provide the label text to be read by screen readers when interacting with
|
|
29
29
|
* this control
|
|
30
30
|
*/
|
|
31
|
-
labelText
|
|
31
|
+
labelText?: string;
|
|
32
32
|
/**
|
|
33
33
|
* Specify if the component should accept multiple files to upload
|
|
34
34
|
*/
|
|
@@ -151,7 +151,7 @@ export interface ToastNotificationProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
151
151
|
/**
|
|
152
152
|
* Specify what state the notification represents
|
|
153
153
|
*/
|
|
154
|
-
kind
|
|
154
|
+
kind?: 'error' | 'info' | 'info-square' | 'success' | 'warning' | 'warning-alt';
|
|
155
155
|
/**
|
|
156
156
|
* Specify whether you are using the low contrast variant of the ToastNotification.
|
|
157
157
|
*/
|
|
@@ -163,12 +163,12 @@ export interface ToastNotificationProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
163
163
|
/**
|
|
164
164
|
* Provide a function that is called when the close button is clicked
|
|
165
165
|
*/
|
|
166
|
-
onCloseButtonClick(event: MouseEvent): void;
|
|
166
|
+
onCloseButtonClick?(event: MouseEvent): void;
|
|
167
167
|
/**
|
|
168
168
|
* By default, this value is "status". You can also provide an alternate
|
|
169
169
|
* role if it makes sense from the accessibility-side
|
|
170
170
|
*/
|
|
171
|
-
role
|
|
171
|
+
role?: 'alert' | 'log' | 'status';
|
|
172
172
|
/**
|
|
173
173
|
* Provide a description for "status" icon that can be read by screen readers
|
|
174
174
|
*/
|
|
@@ -277,7 +277,7 @@ export interface InlineNotificationProps extends HTMLAttributes<HTMLDivElement>
|
|
|
277
277
|
/**
|
|
278
278
|
* Specify what state the notification represents
|
|
279
279
|
*/
|
|
280
|
-
kind
|
|
280
|
+
kind?: 'error' | 'info' | 'info-square' | 'success' | 'warning' | 'warning-alt';
|
|
281
281
|
/**
|
|
282
282
|
* Specify whether you are using the low contrast variant of the InlineNotification.
|
|
283
283
|
*/
|
|
@@ -289,12 +289,12 @@ export interface InlineNotificationProps extends HTMLAttributes<HTMLDivElement>
|
|
|
289
289
|
/**
|
|
290
290
|
* Provide a function that is called when the close button is clicked
|
|
291
291
|
*/
|
|
292
|
-
onCloseButtonClick(event: MouseEvent): void;
|
|
292
|
+
onCloseButtonClick?(event: MouseEvent): void;
|
|
293
293
|
/**
|
|
294
294
|
* By default, this value is "status". You can also provide an alternate
|
|
295
295
|
* role if it makes sense from the accessibility-side.
|
|
296
296
|
*/
|
|
297
|
-
role
|
|
297
|
+
role?: 'alert' | 'log' | 'status';
|
|
298
298
|
/**
|
|
299
299
|
* Provide a description for "status" icon that can be read by screen readers
|
|
300
300
|
*/
|
|
@@ -399,7 +399,7 @@ export interface ActionableNotificationProps extends HTMLAttributes<HTMLDivEleme
|
|
|
399
399
|
/**
|
|
400
400
|
* Specify what state the notification represents
|
|
401
401
|
*/
|
|
402
|
-
kind
|
|
402
|
+
kind?: 'error' | 'info' | 'info-square' | 'success' | 'warning' | 'warning-alt';
|
|
403
403
|
/**
|
|
404
404
|
* Specify whether you are using the low contrast variant of the ActionableNotification.
|
|
405
405
|
*/
|
|
@@ -416,7 +416,7 @@ export interface ActionableNotificationProps extends HTMLAttributes<HTMLDivEleme
|
|
|
416
416
|
/**
|
|
417
417
|
* Provide a function that is called when the close button is clicked
|
|
418
418
|
*/
|
|
419
|
-
onCloseButtonClick(event: MouseEvent): void;
|
|
419
|
+
onCloseButtonClick?(event: MouseEvent): void;
|
|
420
420
|
/**
|
|
421
421
|
* By default, this value is "alertdialog". You can also provide an alternate
|
|
422
422
|
* role if it makes sense from from an accessibility perspective.
|
|
@@ -28,7 +28,7 @@ export interface FileUploaderDropContainerProps extends Omit<ReactAttr<HTMLButto
|
|
|
28
28
|
* Provide the label text to be read by screen readers when interacting with
|
|
29
29
|
* this control
|
|
30
30
|
*/
|
|
31
|
-
labelText
|
|
31
|
+
labelText?: string;
|
|
32
32
|
/**
|
|
33
33
|
* Specify if the component should accept multiple files to upload
|
|
34
34
|
*/
|
|
@@ -151,7 +151,7 @@ export interface ToastNotificationProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
151
151
|
/**
|
|
152
152
|
* Specify what state the notification represents
|
|
153
153
|
*/
|
|
154
|
-
kind
|
|
154
|
+
kind?: 'error' | 'info' | 'info-square' | 'success' | 'warning' | 'warning-alt';
|
|
155
155
|
/**
|
|
156
156
|
* Specify whether you are using the low contrast variant of the ToastNotification.
|
|
157
157
|
*/
|
|
@@ -163,12 +163,12 @@ export interface ToastNotificationProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
163
163
|
/**
|
|
164
164
|
* Provide a function that is called when the close button is clicked
|
|
165
165
|
*/
|
|
166
|
-
onCloseButtonClick(event: MouseEvent): void;
|
|
166
|
+
onCloseButtonClick?(event: MouseEvent): void;
|
|
167
167
|
/**
|
|
168
168
|
* By default, this value is "status". You can also provide an alternate
|
|
169
169
|
* role if it makes sense from the accessibility-side
|
|
170
170
|
*/
|
|
171
|
-
role
|
|
171
|
+
role?: 'alert' | 'log' | 'status';
|
|
172
172
|
/**
|
|
173
173
|
* Provide a description for "status" icon that can be read by screen readers
|
|
174
174
|
*/
|
|
@@ -277,7 +277,7 @@ export interface InlineNotificationProps extends HTMLAttributes<HTMLDivElement>
|
|
|
277
277
|
/**
|
|
278
278
|
* Specify what state the notification represents
|
|
279
279
|
*/
|
|
280
|
-
kind
|
|
280
|
+
kind?: 'error' | 'info' | 'info-square' | 'success' | 'warning' | 'warning-alt';
|
|
281
281
|
/**
|
|
282
282
|
* Specify whether you are using the low contrast variant of the InlineNotification.
|
|
283
283
|
*/
|
|
@@ -289,12 +289,12 @@ export interface InlineNotificationProps extends HTMLAttributes<HTMLDivElement>
|
|
|
289
289
|
/**
|
|
290
290
|
* Provide a function that is called when the close button is clicked
|
|
291
291
|
*/
|
|
292
|
-
onCloseButtonClick(event: MouseEvent): void;
|
|
292
|
+
onCloseButtonClick?(event: MouseEvent): void;
|
|
293
293
|
/**
|
|
294
294
|
* By default, this value is "status". You can also provide an alternate
|
|
295
295
|
* role if it makes sense from the accessibility-side.
|
|
296
296
|
*/
|
|
297
|
-
role
|
|
297
|
+
role?: 'alert' | 'log' | 'status';
|
|
298
298
|
/**
|
|
299
299
|
* Provide a description for "status" icon that can be read by screen readers
|
|
300
300
|
*/
|
|
@@ -399,7 +399,7 @@ export interface ActionableNotificationProps extends HTMLAttributes<HTMLDivEleme
|
|
|
399
399
|
/**
|
|
400
400
|
* Specify what state the notification represents
|
|
401
401
|
*/
|
|
402
|
-
kind
|
|
402
|
+
kind?: 'error' | 'info' | 'info-square' | 'success' | 'warning' | 'warning-alt';
|
|
403
403
|
/**
|
|
404
404
|
* Specify whether you are using the low contrast variant of the ActionableNotification.
|
|
405
405
|
*/
|
|
@@ -416,7 +416,7 @@ export interface ActionableNotificationProps extends HTMLAttributes<HTMLDivEleme
|
|
|
416
416
|
/**
|
|
417
417
|
* Provide a function that is called when the close button is clicked
|
|
418
418
|
*/
|
|
419
|
-
onCloseButtonClick(event: MouseEvent): void;
|
|
419
|
+
onCloseButtonClick?(event: MouseEvent): void;
|
|
420
420
|
/**
|
|
421
421
|
* By default, this value is "alertdialog". You can also provide an alternate
|
|
422
422
|
* role if it makes sense from from an accessibility perspective.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/react",
|
|
3
3
|
"description": "React components for the Carbon Design System",
|
|
4
|
-
"version": "1.41.
|
|
4
|
+
"version": "1.41.2",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "es/index.js",
|
|
@@ -47,9 +47,9 @@
|
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@babel/runtime": "^7.18.3",
|
|
49
49
|
"@carbon/feature-flags": "^0.16.0",
|
|
50
|
-
"@carbon/icons-react": "^11.29.
|
|
50
|
+
"@carbon/icons-react": "^11.29.2",
|
|
51
51
|
"@carbon/layout": "^11.20.1",
|
|
52
|
-
"@carbon/styles": "^1.41.
|
|
52
|
+
"@carbon/styles": "^1.41.2",
|
|
53
53
|
"@carbon/telemetry": "0.1.0",
|
|
54
54
|
"classnames": "2.3.2",
|
|
55
55
|
"copy-to-clipboard": "^3.3.1",
|
|
@@ -139,5 +139,5 @@
|
|
|
139
139
|
"**/*.scss",
|
|
140
140
|
"**/*.css"
|
|
141
141
|
],
|
|
142
|
-
"gitHead": "
|
|
142
|
+
"gitHead": "a4709f9f15fd713e910528118e5192faf5a48985"
|
|
143
143
|
}
|