pallote-react 0.15.12 → 0.15.14

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
@@ -1722,6 +1722,7 @@ const Checkbox = ({
1722
1722
  disabled,
1723
1723
  optional,
1724
1724
  dense,
1725
+ onChange,
1725
1726
  className,
1726
1727
  ...props
1727
1728
  }) => {
@@ -1739,7 +1740,8 @@ const Checkbox = ({
1739
1740
  checked: checked,
1740
1741
  "aria-checked": checked,
1741
1742
  disabled: disabled,
1742
- required: !(disabled || optional)
1743
+ required: !(disabled || optional),
1744
+ onChange: onChange
1743
1745
  }, props)), /*#__PURE__*/React__default.createElement("label", {
1744
1746
  className: classnames('checkbox_label'),
1745
1747
  htmlFor: id
@@ -1753,6 +1755,7 @@ Checkbox.propTypes = {
1753
1755
  disabled: PropTypes.bool,
1754
1756
  optional: PropTypes.bool,
1755
1757
  dense: PropTypes.bool,
1758
+ onChange: PropTypes.func,
1756
1759
  className: PropTypes.node
1757
1760
  };
1758
1761
 
@@ -2298,6 +2301,7 @@ const Radio = ({
2298
2301
  disabled,
2299
2302
  optional,
2300
2303
  dense,
2304
+ onChange,
2301
2305
  className,
2302
2306
  ...props
2303
2307
  }) => {
@@ -2315,7 +2319,8 @@ const Radio = ({
2315
2319
  checked: checked,
2316
2320
  "aria-checked": checked,
2317
2321
  disabled: disabled,
2318
- required: !(disabled || optional)
2322
+ required: !(disabled || optional),
2323
+ onChange: onChange
2319
2324
  }, props)), /*#__PURE__*/React__default.createElement("label", {
2320
2325
  className: classnames('radio_label'),
2321
2326
  htmlFor: id
@@ -2330,6 +2335,7 @@ Radio.propTypes = {
2330
2335
  disabled: PropTypes.bool,
2331
2336
  optional: PropTypes.bool,
2332
2337
  dense: PropTypes.bool,
2338
+ onChange: PropTypes.func,
2333
2339
  className: PropTypes.node
2334
2340
  };
2335
2341
 
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pallote-react",
3
- "version": "0.15.12",
3
+ "version": "0.15.14",
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.12",
3
+ "version": "0.15.14",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "styles": "dist/index.css",
@@ -23,7 +23,7 @@
23
23
  "classnames": "^2.5.1",
24
24
  "react-syntax-highlighter": "^15.6.1",
25
25
  "sass": "^1.71.1",
26
- "pallote-css": "^0.9.11"
26
+ "pallote-css": "^0.9.12"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@chromatic-com/storybook": "^3.2.4",