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