pallote-react 0.15.10 → 0.15.11

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
@@ -1798,8 +1798,7 @@ const Checkboxes = ({
1798
1798
  'js-error': error,
1799
1799
  'input-disabled': disabled,
1800
1800
  'input-optional': optional
1801
- }, className]),
1802
- onChange: onChange
1801
+ }, className])
1803
1802
  }, hint || error ? {
1804
1803
  'aria-describedby': [hint ? `${id}-hint` : null, error ? `${id}-error` : null].filter(Boolean).join(' ')
1805
1804
  } : null), /*#__PURE__*/React__default.createElement(InputLabel, {
@@ -1812,6 +1811,7 @@ const Checkboxes = ({
1812
1811
  [`radios-${direction}`]: direction
1813
1812
  }])
1814
1813
  }, React__default.Children.map(children, child => /*#__PURE__*/React__default.isValidElement(child) ? /*#__PURE__*/React__default.cloneElement(child, {
1814
+ onChange,
1815
1815
  optional,
1816
1816
  disabled
1817
1817
  }) : child)));
@@ -1948,8 +1948,7 @@ const Input = ({
1948
1948
  'input-disabled': disabled,
1949
1949
  'input-optional': optional,
1950
1950
  'input-withIcon': icon
1951
- }, className]),
1952
- onChange: onChange
1951
+ }, className])
1953
1952
  }, /*#__PURE__*/React__default.createElement(InputLabel, {
1954
1953
  htmlFor: id,
1955
1954
  label: label,
@@ -1965,7 +1964,8 @@ const Input = ({
1965
1964
  id: id,
1966
1965
  placeholder: placeholder,
1967
1966
  disabled: disabled,
1968
- required: !(disabled || optional)
1967
+ required: !(disabled || optional),
1968
+ onChange: onChange
1969
1969
  }, hint || error ? {
1970
1970
  'aria-describedby': [hint ? `${id}-hint` : null, error ? `${id}-error` : null].filter(Boolean).join(' ')
1971
1971
  } : null, props)));
@@ -2324,8 +2324,7 @@ const RadioButtons = ({
2324
2324
  'js-error': error,
2325
2325
  'input-disabled': disabled,
2326
2326
  'input-optional': optional
2327
- }, className]),
2328
- onChange: onChange
2327
+ }, className])
2329
2328
  }, hint || error ? {
2330
2329
  'aria-describedby': [hint ? `${id}-hint` : null, error ? `${id}-error` : null].filter(Boolean).join(' ')
2331
2330
  } : null), /*#__PURE__*/React__default.createElement(InputLabel, {
@@ -2338,6 +2337,7 @@ const RadioButtons = ({
2338
2337
  [`radios-${direction}`]: direction
2339
2338
  }])
2340
2339
  }, React__default.Children.map(children, child => /*#__PURE__*/React__default.isValidElement(child) ? /*#__PURE__*/React__default.cloneElement(child, {
2340
+ onChange,
2341
2341
  optional,
2342
2342
  disabled
2343
2343
  }) : child)));
@@ -2400,8 +2400,7 @@ const Select = ({
2400
2400
  'input-disabled': disabled,
2401
2401
  'input-optional': optional,
2402
2402
  'input-dense': dense
2403
- }, className]),
2404
- onChange: onChange
2403
+ }, className])
2405
2404
  }, /*#__PURE__*/React__default.createElement(InputLabel, {
2406
2405
  htmlFor: id,
2407
2406
  label: label,
@@ -2413,7 +2412,8 @@ const Select = ({
2413
2412
  name: id,
2414
2413
  id: id,
2415
2414
  disabled: disabled,
2416
- required: !(disabled || optional)
2415
+ required: !(disabled || optional),
2416
+ onChange: onChange
2417
2417
  }, hint || error ? {
2418
2418
  'aria-describedby': [hint ? `${id}-hint` : null, error ? `${id}-error` : null].filter(Boolean).join(' ')
2419
2419
  } : null, props), children));
@@ -3038,8 +3038,7 @@ const Textarea = ({
3038
3038
  'js-error': error,
3039
3039
  'input-disabled': disabled,
3040
3040
  'input-optional': optional
3041
- }, className]),
3042
- onChange: onChange
3041
+ }, className])
3043
3042
  }, /*#__PURE__*/React__default.createElement(InputLabel, {
3044
3043
  htmlFor: id,
3045
3044
  label: label,
@@ -3053,7 +3052,8 @@ const Textarea = ({
3053
3052
  placeholder: placeholder,
3054
3053
  disabled: disabled,
3055
3054
  required: !(disabled || optional),
3056
- rows: 4
3055
+ rows: 4,
3056
+ onChange: onChange
3057
3057
  }, hint || error ? {
3058
3058
  'aria-describedby': [hint ? `${id}-hint` : null, error ? `${id}-error` : null].filter(Boolean).join(' ')
3059
3059
  } : null, props)));
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pallote-react",
3
- "version": "0.15.10",
3
+ "version": "0.15.11",
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.10",
3
+ "version": "0.15.11",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "styles": "dist/index.css",