@panneau/filter-radios 4.0.1 → 4.0.4
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/es/index.js +12 -10
- package/package.json +4 -4
package/es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
1
2
|
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
2
|
-
import React from 'react';
|
|
3
3
|
import Radios from '@panneau/element-radios';
|
|
4
|
+
import { jsx } from 'react/jsx-runtime';
|
|
4
5
|
|
|
5
6
|
var _excluded = ["name", "value", "options", "onChange", "className"];
|
|
6
7
|
var DEFAULT_OPTIONS = [];
|
|
@@ -15,15 +16,16 @@ function RadiosFilter(_ref) {
|
|
|
15
16
|
_ref$className = _ref.className,
|
|
16
17
|
className = _ref$className === void 0 ? null : _ref$className,
|
|
17
18
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
18
|
-
return /*#__PURE__*/
|
|
19
|
-
className: className || undefined
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
19
|
+
return /*#__PURE__*/jsx("div", {
|
|
20
|
+
className: className || undefined,
|
|
21
|
+
children: /*#__PURE__*/jsx(Radios, _objectSpread(_objectSpread({}, props), {}, {
|
|
22
|
+
name: name,
|
|
23
|
+
value: value,
|
|
24
|
+
options: options,
|
|
25
|
+
onChange: onChange,
|
|
26
|
+
uncheckable: true
|
|
27
|
+
}))
|
|
28
|
+
});
|
|
27
29
|
}
|
|
28
30
|
|
|
29
31
|
export { RadiosFilter as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panneau/filter-radios",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.4",
|
|
4
4
|
"description": "Radio buttons filter",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"@babel/runtime": "^7.12.5",
|
|
60
60
|
"@fortawesome/free-solid-svg-icons": "^6.5.1",
|
|
61
61
|
"@fortawesome/react-fontawesome": "^0.2.0",
|
|
62
|
-
"@panneau/core": "^4.0.
|
|
63
|
-
"@panneau/element-radios": "^4.0.
|
|
62
|
+
"@panneau/core": "^4.0.4",
|
|
63
|
+
"@panneau/element-radios": "^4.0.4",
|
|
64
64
|
"classnames": "^2.5.1",
|
|
65
65
|
"lodash-es": "^4.17.21",
|
|
66
66
|
"prop-types": "^15.7.2",
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"publishConfig": {
|
|
70
70
|
"access": "public"
|
|
71
71
|
},
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "e854451a718c6bc7dcde2b804c9913d8ac0297ff"
|
|
73
73
|
}
|