pallote-react 0.15.13 → 0.15.15

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.js CHANGED
@@ -1740,9 +1740,10 @@ const Checkbox = ({
1740
1740
  checked: checked,
1741
1741
  "aria-checked": checked,
1742
1742
  disabled: disabled,
1743
- required: !(disabled || optional),
1743
+ required: !(disabled || optional)
1744
+ }, props, {
1744
1745
  onChange: onChange
1745
- }, props)), /*#__PURE__*/React__default.createElement("label", {
1746
+ })), /*#__PURE__*/React__default.createElement("label", {
1746
1747
  className: classnames('checkbox_label'),
1747
1748
  htmlFor: id
1748
1749
  }, label));
@@ -1755,6 +1756,7 @@ Checkbox.propTypes = {
1755
1756
  disabled: PropTypes.bool,
1756
1757
  optional: PropTypes.bool,
1757
1758
  dense: PropTypes.bool,
1759
+ onChange: PropTypes.func,
1758
1760
  className: PropTypes.node
1759
1761
  };
1760
1762
 
@@ -2318,9 +2320,10 @@ const Radio = ({
2318
2320
  checked: checked,
2319
2321
  "aria-checked": checked,
2320
2322
  disabled: disabled,
2321
- required: !(disabled || optional),
2323
+ required: !(disabled || optional)
2324
+ }, props, {
2322
2325
  onChange: onChange
2323
- }, props)), /*#__PURE__*/React__default.createElement("label", {
2326
+ })), /*#__PURE__*/React__default.createElement("label", {
2324
2327
  className: classnames('radio_label'),
2325
2328
  htmlFor: id
2326
2329
  }, label));
@@ -2334,6 +2337,7 @@ Radio.propTypes = {
2334
2337
  disabled: PropTypes.bool,
2335
2338
  optional: PropTypes.bool,
2336
2339
  dense: PropTypes.bool,
2340
+ onChange: PropTypes.func,
2337
2341
  className: PropTypes.node
2338
2342
  };
2339
2343
 
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pallote-react",
3
- "version": "0.15.13",
3
+ "version": "0.15.15",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "styles": "dist/index.css",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pallote-react",
3
- "version": "0.15.13",
3
+ "version": "0.15.15",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "styles": "dist/index.css",