@carbon/react 1.4.0-rc.0 → 1.4.0
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/es/components/Checkbox/Checkbox.Skeleton.js +5 -3
- package/es/components/FormGroup/FormGroup.js +1 -2
- package/es/components/RadioButton/RadioButton.js +1 -1
- package/lib/components/Checkbox/Checkbox.Skeleton.js +5 -3
- package/lib/components/FormGroup/FormGroup.js +1 -2
- package/lib/components/RadioButton/RadioButton.js +1 -1
- package/package.json +4 -4
|
@@ -19,10 +19,12 @@ var CheckboxSkeleton = function CheckboxSkeleton(_ref) {
|
|
|
19
19
|
|
|
20
20
|
var prefix = usePrefix();
|
|
21
21
|
return /*#__PURE__*/React__default.createElement("div", _extends({
|
|
22
|
-
className: cx("".concat(prefix, "--form-item"), "".concat(prefix, "--checkbox-wrapper"), "".concat(prefix, "--checkbox-
|
|
23
|
-
}, rest), /*#__PURE__*/React__default.createElement("
|
|
22
|
+
className: cx("".concat(prefix, "--form-item"), "".concat(prefix, "--checkbox-wrapper"), "".concat(prefix, "--checkbox-skeleton"), className)
|
|
23
|
+
}, rest), /*#__PURE__*/React__default.createElement("div", {
|
|
24
|
+
className: "".concat(prefix, "--checkbox-label")
|
|
25
|
+
}, /*#__PURE__*/React__default.createElement("span", {
|
|
24
26
|
className: "".concat(prefix, "--checkbox-label-text ").concat(prefix, "--skeleton")
|
|
25
|
-
}));
|
|
27
|
+
})));
|
|
26
28
|
};
|
|
27
29
|
|
|
28
30
|
CheckboxSkeleton.propTypes = {
|
|
@@ -147,7 +147,7 @@ _defineProperty(RadioButton, "propTypes", {
|
|
|
147
147
|
/**
|
|
148
148
|
* Specify the value of the <RadioButton>
|
|
149
149
|
*/
|
|
150
|
-
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
150
|
+
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
151
151
|
});
|
|
152
152
|
|
|
153
153
|
_defineProperty(RadioButton, "contextType", PrefixContext);
|
|
@@ -29,10 +29,12 @@ var CheckboxSkeleton = function CheckboxSkeleton(_ref) {
|
|
|
29
29
|
|
|
30
30
|
var prefix = usePrefix.usePrefix();
|
|
31
31
|
return /*#__PURE__*/React__default["default"].createElement("div", _rollupPluginBabelHelpers["extends"]({
|
|
32
|
-
className: cx__default["default"]("".concat(prefix, "--form-item"), "".concat(prefix, "--checkbox-wrapper"), "".concat(prefix, "--checkbox-
|
|
33
|
-
}, rest), /*#__PURE__*/React__default["default"].createElement("
|
|
32
|
+
className: cx__default["default"]("".concat(prefix, "--form-item"), "".concat(prefix, "--checkbox-wrapper"), "".concat(prefix, "--checkbox-skeleton"), className)
|
|
33
|
+
}, rest), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34
|
+
className: "".concat(prefix, "--checkbox-label")
|
|
35
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
34
36
|
className: "".concat(prefix, "--checkbox-label-text ").concat(prefix, "--skeleton")
|
|
35
|
-
}));
|
|
37
|
+
})));
|
|
36
38
|
};
|
|
37
39
|
|
|
38
40
|
CheckboxSkeleton.propTypes = {
|
|
@@ -157,7 +157,7 @@ _rollupPluginBabelHelpers.defineProperty(RadioButton, "propTypes", {
|
|
|
157
157
|
/**
|
|
158
158
|
* Specify the value of the <RadioButton>
|
|
159
159
|
*/
|
|
160
|
-
value: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number])
|
|
160
|
+
value: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number])
|
|
161
161
|
});
|
|
162
162
|
|
|
163
163
|
_rollupPluginBabelHelpers.defineProperty(RadioButton, "contextType", usePrefix.PrefixContext);
|
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.4.0
|
|
4
|
+
"version": "1.4.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "es/index.js",
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@babel/runtime": "^7.16.7",
|
|
46
46
|
"@carbon/feature-flags": "^0.7.0",
|
|
47
|
-
"@carbon/icons-react": "^11.
|
|
47
|
+
"@carbon/icons-react": "^11.4.0",
|
|
48
48
|
"@carbon/layout": "^11.2.0-rc.0",
|
|
49
|
-
"@carbon/styles": "^1.4.0
|
|
49
|
+
"@carbon/styles": "^1.4.0",
|
|
50
50
|
"@carbon/telemetry": "0.1.0",
|
|
51
51
|
"classnames": "2.3.1",
|
|
52
52
|
"copy-to-clipboard": "^3.3.1",
|
|
@@ -129,5 +129,5 @@
|
|
|
129
129
|
"**/*.scss",
|
|
130
130
|
"**/*.css"
|
|
131
131
|
],
|
|
132
|
-
"gitHead": "
|
|
132
|
+
"gitHead": "3536b86f990a6016dfbeac9dd118fc21c4431dcb"
|
|
133
133
|
}
|