@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.
@@ -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-label"), className)
23
- }, rest), /*#__PURE__*/React__default.createElement("span", {
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 = {
@@ -79,8 +79,7 @@ FormGroup.propTypes = {
79
79
  FormGroup.defaultProps = {
80
80
  invalid: false,
81
81
  message: false,
82
- messageText: '',
83
- hasMargin: true
82
+ messageText: ''
84
83
  };
85
84
  var FormGroup$1 = FormGroup;
86
85
 
@@ -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]).isRequired
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-label"), className)
33
- }, rest), /*#__PURE__*/React__default["default"].createElement("span", {
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 = {
@@ -89,8 +89,7 @@ FormGroup.propTypes = {
89
89
  FormGroup.defaultProps = {
90
90
  invalid: false,
91
91
  message: false,
92
- messageText: '',
93
- hasMargin: true
92
+ messageText: ''
94
93
  };
95
94
  var FormGroup$1 = FormGroup;
96
95
 
@@ -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]).isRequired
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-rc.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.3.0-rc.0",
47
+ "@carbon/icons-react": "^11.4.0",
48
48
  "@carbon/layout": "^11.2.0-rc.0",
49
- "@carbon/styles": "^1.4.0-rc.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": "b5930a4a638221e39b1dbce9c6b79e41dc340f68"
132
+ "gitHead": "3536b86f990a6016dfbeac9dd118fc21c4431dcb"
133
133
  }