@panneau/core 3.0.276 → 3.0.278
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/hooks.js +3 -2
- package/package.json +3 -3
package/es/hooks.js
CHANGED
|
@@ -49,9 +49,10 @@ var useActionProps = function useActionProps(action, value) {
|
|
|
49
49
|
}).join('-');
|
|
50
50
|
}, [ids]);
|
|
51
51
|
var idLabels = useMemo(function () {
|
|
52
|
-
return isArray(values) ? values.map(function (
|
|
52
|
+
return isArray(values) ? values.map(function () {
|
|
53
|
+
var it = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
53
54
|
return "#".concat(get(it, 'id', '')).concat(labelPath !== null ? " ".concat(get(it, labelPath, '')) : '');
|
|
54
|
-
}).join(', ') : get(
|
|
55
|
+
}).join(', ') : get(values, 'id', 'no-value');
|
|
55
56
|
}, [ids]);
|
|
56
57
|
var modalKey = useMemo(function () {
|
|
57
58
|
return "".concat(action, "-").concat(idKeys);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panneau/core",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.278",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"@fortawesome/fontawesome-svg-core": "^6.5.1",
|
|
88
88
|
"@fortawesome/free-solid-svg-icons": "^6.5.1",
|
|
89
89
|
"@fortawesome/react-fontawesome": "^0.2.0",
|
|
90
|
-
"bootstrap": "^5.3.
|
|
90
|
+
"bootstrap": "^5.3.3",
|
|
91
91
|
"change-case": "^5.4.4",
|
|
92
92
|
"classnames": "^2.5.1",
|
|
93
93
|
"css-mediaquery": "^0.1.2",
|
|
@@ -110,5 +110,5 @@
|
|
|
110
110
|
"publishConfig": {
|
|
111
111
|
"access": "public"
|
|
112
112
|
},
|
|
113
|
-
"gitHead": "
|
|
113
|
+
"gitHead": "b396aa82f1fcaf936f9bde156c3168b2348fd020"
|
|
114
114
|
}
|