@carbon/react 1.3.0-rc.0 → 1.3.0-rc.1
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.
|
@@ -190,6 +190,7 @@ var ComposedModal = /*#__PURE__*/React__default.forwardRef(function ComposedModa
|
|
|
190
190
|
return /*#__PURE__*/React__default.createElement("div", _extends({}, rest, {
|
|
191
191
|
role: "presentation",
|
|
192
192
|
ref: ref,
|
|
193
|
+
"aria-hidden": !open,
|
|
193
194
|
onBlur: handleBlur,
|
|
194
195
|
onClick: handleClick,
|
|
195
196
|
onKeyDown: handleKeyDown,
|
package/icons/index.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2016, 2022
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
'use strict';
|
|
9
|
+
|
|
10
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
11
|
+
|
|
12
|
+
var iconsReact = require('@carbon/icons-react');
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
Object.keys(iconsReact).forEach(function (k) {
|
|
17
|
+
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () { return iconsReact[k]; }
|
|
20
|
+
});
|
|
21
|
+
});
|
|
@@ -200,6 +200,7 @@ var ComposedModal = /*#__PURE__*/React__default["default"].forwardRef(function C
|
|
|
200
200
|
return /*#__PURE__*/React__default["default"].createElement("div", _rollupPluginBabelHelpers["extends"]({}, rest, {
|
|
201
201
|
role: "presentation",
|
|
202
202
|
ref: ref,
|
|
203
|
+
"aria-hidden": !open,
|
|
203
204
|
onBlur: handleBlur,
|
|
204
205
|
onClick: handleClick,
|
|
205
206
|
onKeyDown: handleKeyDown,
|
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.3.0-rc.
|
|
4
|
+
"version": "1.3.0-rc.1",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "es/index.js",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"lib",
|
|
17
17
|
"scss",
|
|
18
18
|
"index.scss",
|
|
19
|
-
"icons/
|
|
20
|
-
"icons/
|
|
19
|
+
"icons/index.js",
|
|
20
|
+
"icons/index.esm.js",
|
|
21
21
|
"icons/package.json"
|
|
22
22
|
],
|
|
23
23
|
"keywords": [
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
34
|
"build": "yarn clean && node tasks/build-styles.js && node tasks/build.js",
|
|
35
|
-
"clean": "rimraf es lib icons/
|
|
35
|
+
"clean": "rimraf es lib icons/index.js icons/index.esm.js storybook-static",
|
|
36
36
|
"postinstall": "carbon-telemetry collect --install",
|
|
37
37
|
"storybook": "start-storybook -p 3000"
|
|
38
38
|
},
|
|
@@ -129,5 +129,5 @@
|
|
|
129
129
|
"**/*.scss",
|
|
130
130
|
"**/*.css"
|
|
131
131
|
],
|
|
132
|
-
"gitHead": "
|
|
132
|
+
"gitHead": "8dac57d7a6f5c832675edb4d0316f247ff4230fc"
|
|
133
133
|
}
|