pallote-react 0.15.17 → 0.15.18

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
@@ -1795,7 +1795,6 @@ InputLabel.propTypes = {
1795
1795
  };
1796
1796
 
1797
1797
  const Checkboxes = ({
1798
- onChange,
1799
1798
  id,
1800
1799
  label = 'Label',
1801
1800
  direction = 'portrait',
@@ -1827,14 +1826,9 @@ const Checkboxes = ({
1827
1826
  className: classnames(['input_control', 'radios', {
1828
1827
  [`radios-${direction}`]: direction
1829
1828
  }])
1830
- }, React__default.Children.map(children, child => /*#__PURE__*/React__default.isValidElement(child) ? /*#__PURE__*/React__default.cloneElement(child, {
1831
- onChange,
1832
- optional,
1833
- disabled
1834
- }) : child)));
1829
+ }, children));
1835
1830
  };
1836
1831
  Checkboxes.propTypes = {
1837
- onChange: PropTypes.func,
1838
1832
  id: PropTypes.string.isRequired,
1839
1833
  label: PropTypes.string.isRequired,
1840
1834
  direction: PropTypes.oneOf(['portrait', 'landscape']),
@@ -2338,7 +2332,6 @@ Radio.propTypes = {
2338
2332
  };
2339
2333
 
2340
2334
  const RadioButtons = ({
2341
- onChange,
2342
2335
  id,
2343
2336
  label = 'Label',
2344
2337
  direction = 'portrait',
@@ -2370,14 +2363,9 @@ const RadioButtons = ({
2370
2363
  className: classnames(['input_control', 'radios', {
2371
2364
  [`radios-${direction}`]: direction
2372
2365
  }])
2373
- }, React__default.Children.map(children, child => /*#__PURE__*/React__default.isValidElement(child) ? /*#__PURE__*/React__default.cloneElement(child, {
2374
- onChange,
2375
- optional,
2376
- disabled
2377
- }) : child)));
2366
+ }, children));
2378
2367
  };
2379
2368
  RadioButtons.propTypes = {
2380
- onChange: PropTypes.func,
2381
2369
  id: PropTypes.string.isRequired,
2382
2370
  label: PropTypes.string.isRequired,
2383
2371
  direction: PropTypes.oneOf(['portrait', 'landscape']),
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pallote-react",
3
- "version": "0.15.17",
3
+ "version": "0.15.18",
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.17",
3
+ "version": "0.15.18",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "styles": "dist/index.css",