@m4l/components 0.1.3 → 0.1.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.
@@ -1310,6 +1310,7 @@ const WrapperInputFilter = styled("div")(({
1310
1310
  const StyledInputFilter = styled("input")(({
1311
1311
  theme
1312
1312
  }) => ({
1313
+ background: "transparent",
1313
1314
  display: "flex",
1314
1315
  justifyContent: "center",
1315
1316
  alignItems: "center",
@@ -2,7 +2,7 @@ import { forwardRef } from "react";
2
2
  import { Helmet } from "react-helmet-async";
3
3
  import { Box } from "@mui/material";
4
4
  import { useLocales } from "@m4l/graphics";
5
- import { useDomain, useEnvironment } from "@m4l/core";
5
+ import { useDomain, useModuleSkeleton } from "@m4l/core";
6
6
  import { jsxs, Fragment, jsx } from "react/jsx-runtime";
7
7
  const Page = forwardRef((props, ref) => {
8
8
  const {
@@ -15,17 +15,13 @@ const Page = forwardRef((props, ref) => {
15
15
  currentLang
16
16
  } = useLocales();
17
17
  const {
18
- name: domain_name,
19
- isLoaded
18
+ name: domain_name
20
19
  } = useDomain();
21
- const {
22
- domain_token
23
- } = useEnvironment();
24
- const finalTitle = title ? `${title} |` : "";
20
+ const isSkeleton = useModuleSkeleton();
25
21
  return /* @__PURE__ */ jsxs(Fragment, {
26
- children: [/* @__PURE__ */ jsxs(Helmet, {
22
+ children: [!isSkeleton && /* @__PURE__ */ jsxs(Helmet, {
27
23
  children: [/* @__PURE__ */ jsx("title", {
28
- children: `${finalTitle}${isLoaded ? domain_name : domain_token}`
24
+ children: `${title} | ${domain_name}`
29
25
  }), /* @__PURE__ */ jsx("html", {
30
26
  lang: currentLang.value
31
27
  }), meta]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/components",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "license": "UNLICENSED",
5
5
  "dependencies": {
6
6
  "@m4l/core": "*",