@m4l/components 9.4.8-BE20260108-beta.1 → 9.4.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.
@@ -1,13 +1,12 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useEnvironment, FlagsProvider, ModuleDictionaryProvider, ModuleSkeletonProvider, CommonFlags } from "@m4l/core";
3
3
  import { useLocales, useThemeSettingsStore } from "@m4l/graphics";
4
- import { S as SETTINGS_LAYOUT_DEFAULT_MODULE_ID, a as SETTINGS_LAYOUT_DEFAULT_WIDTH } from "./constants.js";
4
+ import { S as SETTINGS_LAYOUT_DEFAULT_WIDTH } from "./constants.js";
5
5
  import { useMemo } from "react";
6
6
  import { S as SettingsLayoutBase } from "./subcomponents/SettingsLayoutBase/SettingsLayoutBase.js";
7
7
  const SettingsLayout = (props) => {
8
8
  const {
9
- width = SETTINGS_LAYOUT_DEFAULT_WIDTH,
10
- moduleId = SETTINGS_LAYOUT_DEFAULT_MODULE_ID
9
+ width = SETTINGS_LAYOUT_DEFAULT_WIDTH
11
10
  } = props;
12
11
  const currentLang = useLocales().currentLocale?.localeString;
13
12
  const { host_static_assets, environment_assets } = useEnvironment();
@@ -23,7 +22,7 @@ const SettingsLayout = (props) => {
23
22
  ModuleDictionaryProvider,
24
23
  {
25
24
  isAuth: false,
26
- moduleId,
25
+ moduleId: "theme_settings",
27
26
  componentsDictionary,
28
27
  currentLang,
29
28
  children: /* @__PURE__ */ jsx(ModuleSkeletonProvider, { flags: [CommonFlags.FLAG_DICTIONARY_LOADED], children: /* @__PURE__ */ jsx(SettingsLayoutBase, { prefixPathIcon, width }) })
@@ -5,4 +5,3 @@ import { SettingsLayoutSlots } from './slots/SettingsLayoutEnum';
5
5
  export declare const SETTINGS_LAYOUT_COMPONENT_KEY = "M4LSettingsLayout";
6
6
  export declare const SETTINGS_LAYOUT_CLASSES: Record<keyof typeof SettingsLayoutSlots, string>;
7
7
  export declare const SETTINGS_LAYOUT_DEFAULT_WIDTH = 300;
8
- export declare const SETTINGS_LAYOUT_DEFAULT_MODULE_ID = "theme_settings";
@@ -3,10 +3,8 @@ import { S as SettingsLayoutSlots } from "./slots/SettingsLayoutEnum.js";
3
3
  const SETTINGS_LAYOUT_COMPONENT_KEY = "M4LSettingsLayout";
4
4
  const SETTINGS_LAYOUT_CLASSES = getComponentClasses(SETTINGS_LAYOUT_COMPONENT_KEY, SettingsLayoutSlots);
5
5
  const SETTINGS_LAYOUT_DEFAULT_WIDTH = 300;
6
- const SETTINGS_LAYOUT_DEFAULT_MODULE_ID = "theme_settings";
7
6
  export {
8
- SETTINGS_LAYOUT_DEFAULT_MODULE_ID as S,
9
- SETTINGS_LAYOUT_DEFAULT_WIDTH as a,
10
- SETTINGS_LAYOUT_COMPONENT_KEY as b,
11
- SETTINGS_LAYOUT_CLASSES as c
7
+ SETTINGS_LAYOUT_DEFAULT_WIDTH as S,
8
+ SETTINGS_LAYOUT_COMPONENT_KEY as a,
9
+ SETTINGS_LAYOUT_CLASSES as b
12
10
  };
@@ -1,6 +1,6 @@
1
1
  import { styled } from "@mui/material/styles";
2
2
  import { S as SettingsLayoutSlots } from "./SettingsLayoutEnum.js";
3
- import { b as SETTINGS_LAYOUT_COMPONENT_KEY } from "../constants.js";
3
+ import { a as SETTINGS_LAYOUT_COMPONENT_KEY } from "../constants.js";
4
4
  import { s as settingsLayoutStyles } from "../SettingsLayout.styles.js";
5
5
  import { Backdrop } from "@mui/material";
6
6
  import { I as Icon } from "../../Icon/Icon.js";
@@ -6,7 +6,7 @@ import { B as BackdropStyled, g as SettingsLayoutRootStyled, H as HeaderContaine
6
6
  import { S as SettingDirection } from "../SettingDirection/SettingDirection.js";
7
7
  import { D as DICTIONARY } from "../../dictionary.js";
8
8
  import { useThemeSettingsStore } from "@m4l/graphics";
9
- import { c as SETTINGS_LAYOUT_CLASSES } from "../../constants.js";
9
+ import { b as SETTINGS_LAYOUT_CLASSES } from "../../constants.js";
10
10
  import { I as IconButton } from "../../../mui_extended/IconButton/IconButton.js";
11
11
  import { S as SettingMode } from "../SettingMode/SettingMode.js";
12
12
  import { S as SettingColorPresets } from "../SettingColorPresets/SettingColorPresets.js";
@@ -21,10 +21,6 @@ export interface SettingsLayoutProps {
21
21
  * Identificador usado para pruebas del componente.
22
22
  */
23
23
  dataTestId?: string;
24
- /**
25
- * Identificador del módulo.
26
- */
27
- moduleId?: string;
28
24
  }
29
25
  /**
30
26
  * Tipo para las ranuras del componente.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/components",
3
- "version": "9.4.8-BE20260108-beta.1",
3
+ "version": "9.4.8",
4
4
  "license": "UNLICENSED",
5
5
  "description": "M4L Components",
6
6
  "lint-staged": {