pallote-react 0.15.12 → 0.15.13
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 +6 -2
- package/dist/package.json +1 -1
- package/package.json +2 -2
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
|
|
@@ -2298,6 +2300,7 @@ const Radio = ({
|
|
|
2298
2300
|
disabled,
|
|
2299
2301
|
optional,
|
|
2300
2302
|
dense,
|
|
2303
|
+
onChange,
|
|
2301
2304
|
className,
|
|
2302
2305
|
...props
|
|
2303
2306
|
}) => {
|
|
@@ -2315,7 +2318,8 @@ const Radio = ({
|
|
|
2315
2318
|
checked: checked,
|
|
2316
2319
|
"aria-checked": checked,
|
|
2317
2320
|
disabled: disabled,
|
|
2318
|
-
required: !(disabled || optional)
|
|
2321
|
+
required: !(disabled || optional),
|
|
2322
|
+
onChange: onChange
|
|
2319
2323
|
}, props)), /*#__PURE__*/React__default.createElement("label", {
|
|
2320
2324
|
className: classnames('radio_label'),
|
|
2321
2325
|
htmlFor: id
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pallote-react",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.13",
|
|
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.
|
|
26
|
+
"pallote-css": "^0.9.12"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@chromatic-com/storybook": "^3.2.4",
|