biblio-react 3.0.0-alpha212 → 3.0.0-alpha214
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 +2 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -28922,6 +28922,7 @@ const y3 = /* @__PURE__ */ a((e) => {
|
|
|
28922
28922
|
delete d.hasCreate;
|
|
28923
28923
|
const D = O.useMemo(
|
|
28924
28924
|
() => Pd.map(i, (V, ee) => {
|
|
28925
|
+
var U, ne, Q;
|
|
28925
28926
|
const H = V.props || {};
|
|
28926
28927
|
return Array.isArray(H.options) && H.options.length > 0 ? {
|
|
28927
28928
|
type: "MenuButton",
|
|
@@ -28929,11 +28930,7 @@ const y3 = /* @__PURE__ */ a((e) => {
|
|
|
28929
28930
|
options: H.options,
|
|
28930
28931
|
label: H.label || H.options[0].label,
|
|
28931
28932
|
index: ee
|
|
28932
|
-
} : (
|
|
28933
|
-
var ne;
|
|
28934
|
-
return O.isValidElement(U) && (U.type === Button || // Button directo
|
|
28935
|
-
((ne = U.type) == null ? void 0 : ne.isButton) === !0);
|
|
28936
|
-
}, "isButton"))(V) ? {
|
|
28933
|
+
} : O.isValidElement(V) && (V.type === "button" || ((U = V.type) == null ? void 0 : U.isButton) === !0 || ((ne = V.props) == null ? void 0 : ne.label) || ((Q = V.props) == null ? void 0 : Q.title)) ? {
|
|
28937
28934
|
type: "Button",
|
|
28938
28935
|
key: V.key,
|
|
28939
28936
|
title: H.title || H.label,
|