@m4l/styles 7.1.30-B07072025beta.2 → 7.1.30-B08072025beta.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/styles",
3
- "version": "7.1.30-B07072025beta.2",
3
+ "version": "7.1.30-B08072025beta.2",
4
4
  "license": "UNLICENSED",
5
5
  "author": "m4l team",
6
6
  "publishConfig": {
@@ -5,6 +5,7 @@ export interface CustomShadowOptions {
5
5
  z3: string;
6
6
  z4: string;
7
7
  primary?: string;
8
+ primary2?: string;
8
9
  secondary: string;
9
10
  info: string;
10
11
  success: string;
@@ -1,26 +1,27 @@
1
- import { createTheme as e, alpha as r } from "@mui/material";
2
- import { t as s } from "../theme/typographyOld.js";
3
- import { c as i, s as g } from "../theme/shadows.js";
4
- import { S as x } from "../theme/sizes/size.js";
1
+ import { createTheme as g, alpha as a } from "@mui/material";
2
+ import { t as i } from "../theme/typographyOld.js";
3
+ import { c as o, s } from "../theme/shadows.js";
4
+ import { S as y } from "../theme/sizes/size.js";
5
5
  import { g as m } from "./getPaletteByPreset.js";
6
- import { g as o } from "./getColorPresets.js";
7
- function u(t, p) {
8
- const a = e();
6
+ import { g as t } from "./getColorPresets.js";
7
+ function u(x, p) {
8
+ const r = g();
9
9
  return {
10
- ...a,
11
- ...a.typography,
12
- ...s,
13
- ...g[t],
10
+ ...r,
11
+ ...r.typography,
12
+ ...i,
13
+ ...s[x],
14
14
  customShadows: {
15
- primary: t === "light" ? `0 4px 8px -4px ${r(o(p)?.enabledLight, 0.12)},
16
- 0 2px 27px 2px ${r(o(p)?.enabledLight, 0.02)}` : `0 4px 8px -4px ${r(o(p)?.enabledDark, 0.12)},
17
- 0 2px 27px 2px ${r(o(p)?.enabledDark, 0.02)}`,
18
- ...i(t)
15
+ primary: x === "light" ? `0 4px 8px -4px ${a(t(p)?.enabledLight, 0.12)},
16
+ 0 2px 27px 2px ${a(t(p)?.enabledLight, 0.02)}` : `0 4px 8px -4px ${a(t(p)?.enabledDark, 0.12)},
17
+ 0 2px 27px 2px ${a(t(p)?.enabledDark, 0.02)}`,
18
+ primary2: x === "light" ? `0px 2px 6px 0px ${a(t(p)?.hoverOpacityLight, 0.2)}` : `0px 2px 6px 0px ${a(t(p)?.hoverOpacityDark, 0.2)}`,
19
+ ...o(x)
19
20
  },
20
21
  stretch: !0,
21
- palette: { ...a.palette, ...m(p)[t] },
22
- typography: { ...a.typography, ...s },
23
- size: x
22
+ palette: { ...r.palette, ...m(p)[x] },
23
+ typography: { ...r.typography, ...i },
24
+ size: y
24
25
  };
25
26
  }
26
27
  export {