@nocios/crudify-ui 4.0.6 → 4.0.8
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 -17
- package/dist/index.mjs +2 -17
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2965,29 +2965,14 @@ var CrudifyLoginInternal = ({
|
|
|
2965
2965
|
{
|
|
2966
2966
|
src: config.logo || "/nocios-default.png",
|
|
2967
2967
|
alt: t("login.logoAlt"),
|
|
2968
|
-
style: {
|
|
2969
|
-
width: "100%",
|
|
2970
|
-
maxWidth: "150px",
|
|
2971
|
-
height: "auto"
|
|
2972
|
-
},
|
|
2968
|
+
style: { width: "100%", maxWidth: "150px", height: "auto" },
|
|
2973
2969
|
onError: (e) => {
|
|
2974
2970
|
const target = e.target;
|
|
2975
2971
|
target.src = "/nocios-default.png";
|
|
2976
2972
|
}
|
|
2977
2973
|
}
|
|
2978
2974
|
) }),
|
|
2979
|
-
config.appName && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
2980
|
-
import_material7.Typography,
|
|
2981
|
-
{
|
|
2982
|
-
variant: "h6",
|
|
2983
|
-
component: "h1",
|
|
2984
|
-
sx: {
|
|
2985
|
-
textAlign: "center",
|
|
2986
|
-
mb: 2
|
|
2987
|
-
},
|
|
2988
|
-
children: config.appName
|
|
2989
|
-
}
|
|
2990
|
-
),
|
|
2975
|
+
!config.logo && config.appName && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_material7.Typography, { variant: "h6", component: "h1", sx: { textAlign: "center", mb: 2 }, children: config.appName }),
|
|
2991
2976
|
renderCurrentForm()
|
|
2992
2977
|
] });
|
|
2993
2978
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -2892,29 +2892,14 @@ var CrudifyLoginInternal = ({
|
|
|
2892
2892
|
{
|
|
2893
2893
|
src: config.logo || "/nocios-default.png",
|
|
2894
2894
|
alt: t("login.logoAlt"),
|
|
2895
|
-
style: {
|
|
2896
|
-
width: "100%",
|
|
2897
|
-
maxWidth: "150px",
|
|
2898
|
-
height: "auto"
|
|
2899
|
-
},
|
|
2895
|
+
style: { width: "100%", maxWidth: "150px", height: "auto" },
|
|
2900
2896
|
onError: (e) => {
|
|
2901
2897
|
const target = e.target;
|
|
2902
2898
|
target.src = "/nocios-default.png";
|
|
2903
2899
|
}
|
|
2904
2900
|
}
|
|
2905
2901
|
) }),
|
|
2906
|
-
config.appName && /* @__PURE__ */ jsx11(
|
|
2907
|
-
Typography6,
|
|
2908
|
-
{
|
|
2909
|
-
variant: "h6",
|
|
2910
|
-
component: "h1",
|
|
2911
|
-
sx: {
|
|
2912
|
-
textAlign: "center",
|
|
2913
|
-
mb: 2
|
|
2914
|
-
},
|
|
2915
|
-
children: config.appName
|
|
2916
|
-
}
|
|
2917
|
-
),
|
|
2902
|
+
!config.logo && config.appName && /* @__PURE__ */ jsx11(Typography6, { variant: "h6", component: "h1", sx: { textAlign: "center", mb: 2 }, children: config.appName }),
|
|
2918
2903
|
renderCurrentForm()
|
|
2919
2904
|
] });
|
|
2920
2905
|
};
|