@applica-software-guru/react-admin 1.5.269 → 1.5.273
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/bitbucket-pipelines.yml +1 -1
- package/dist/components/Layout/Layout.d.ts +1 -16
- package/dist/components/Layout/Layout.d.ts.map +1 -1
- package/dist/components/Layout/Navigation/NavItem.d.ts.map +1 -1
- package/dist/components/Layout/Provider.d.ts +1 -8
- package/dist/components/Layout/Provider.d.ts.map +1 -1
- package/dist/components/ra-buttons/CreateInDialogButton.d.ts.map +1 -1
- package/dist/react-admin.cjs.js +1 -1
- package/dist/react-admin.cjs.js.gz +0 -0
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +4 -2
- package/dist/react-admin.es.js.gz +0 -0
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +1 -1
- package/dist/react-admin.umd.js.gz +0 -0
- package/dist/react-admin.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Layout/Navigation/NavItem.tsx +3 -1
- package/src/components/Layout/Provider.tsx +1 -1
- package/src/components/ra-buttons/CreateInDialogButton.tsx +0 -1
package/dist/react-admin.es.js
CHANGED
|
@@ -27618,7 +27618,9 @@ function Yu({ item: e, level: t }) {
|
|
|
27618
27618
|
const n = nn(), { horizontal: r, downLg: o } = Pr(), { drawerOpen: a, openItem: s, activeItem: c, openDrawer: u } = Od();
|
|
27619
27619
|
let d = "_self";
|
|
27620
27620
|
e.target && (d = "_blank");
|
|
27621
|
-
const p = (e == null ? void 0 : e.external) !== !1 ? {
|
|
27621
|
+
const p = (e == null ? void 0 : e.external) !== !1 ? {
|
|
27622
|
+
component: Sr((E, M) => /* @__PURE__ */ m(sn, { ...E, to: e.url, target: d, ref: M }))
|
|
27623
|
+
} : { component: "a", href: e.url, target: d }, h = e.icon, g = e.icon ? /* @__PURE__ */ m(h, { style: { fontSize: a ? "1rem" : "1.25rem" } }) : !1, v = s.findIndex((E) => E === e.id) > -1, { pathname: x } = Bl();
|
|
27622
27624
|
Me(() => {
|
|
27623
27625
|
x.endsWith(e.url) && c([e.id]);
|
|
27624
27626
|
}, [x]);
|
|
@@ -28765,7 +28767,7 @@ function rae(e) {
|
|
|
28765
28767
|
const { disableFloatingButton: t, label: n = "ra.action.create", startIcon: r = /* @__PURE__ */ m(Gw, {}), ...o } = e, a = we(
|
|
28766
28768
|
(s) => {
|
|
28767
28769
|
var c;
|
|
28768
|
-
s.preventDefault(),
|
|
28770
|
+
s.preventDefault(), (c = e == null ? void 0 : e.onClick) == null || c.call(e);
|
|
28769
28771
|
},
|
|
28770
28772
|
[e]
|
|
28771
28773
|
);
|
|
Binary file
|